diff --git a/ICIMOD_land_cover_nepal_dist/_file/image.a194dd55.png b/ICIMOD_land_cover_nepal_dist/_file/image.a194dd55.png new file mode 100644 index 0000000..cf74034 Binary files /dev/null and b/ICIMOD_land_cover_nepal_dist/_file/image.a194dd55.png differ diff --git a/ICIMOD_land_cover_nepal_dist/_file/observable.1af93621.png b/ICIMOD_land_cover_nepal_dist/_file/observable.1af93621.png new file mode 100644 index 0000000..cff4f44 Binary files /dev/null and b/ICIMOD_land_cover_nepal_dist/_file/observable.1af93621.png differ diff --git a/ICIMOD_land_cover_nepal_dist/_npm/@petamoriken/float16@3.8.7/_esm.js b/ICIMOD_land_cover_nepal_dist/_npm/@petamoriken/float16@3.8.7/_esm.js new file mode 100644 index 0000000..4104cf9 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/@petamoriken/float16@3.8.7/_esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/@petamoriken/float16@3.8.7/src/index.mjs + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +const t="This constructor is not a subclass of Float16Array",n="The constructor property value is not an object",r="Attempting to access detached ArrayBuffer",e="Cannot convert undefined or null to object",o="Cannot mix BigInt and other types, use explicit conversions",i="@@iterator property is not callable",s="Reduce of empty array with no initial value",u="Offset is out of bounds";function c(t){return(n,...r)=>h(t,n,r)}function f(t,n){return c(y(t,n).get)}const{apply:h,construct:l,defineProperty:a,get:w,getOwnPropertyDescriptor:y,getPrototypeOf:p,has:d,ownKeys:g,set:v,setPrototypeOf:b}=Reflect,A=Proxy,{EPSILON:_,MAX_SAFE_INTEGER:x,isFinite:E,isNaN:T}=Number,{iterator:m,species:O,toStringTag:S,for:P}=Symbol,j=Object,{create:B,defineProperty:L,freeze:R,is:F}=j,I=j.prototype,N=I.__lookupGetter__?c(I.__lookupGetter__):(t,n)=>{if(null==t)throw Bt(e);let r=j(t);do{const t=y(r,n);if(void 0!==t)return U(t,"get")?t.get:void 0}while(null!==(r=p(r)))},U=j.hasOwn||c(I.hasOwnProperty),k=Array,M=k.isArray,D=k.prototype,W=c(D.join),G=c(D.push),C=c(D.toLocaleString),V=D[m],Y=c(V),{abs:z,trunc:K}=Math,X=ArrayBuffer,q=X.isView,H=X.prototype,J=c(H.slice),Q=f(H,"byteLength"),Z="undefined"!=typeof SharedArrayBuffer?SharedArrayBuffer:null,$=Z&&f(Z.prototype,"byteLength"),tt=p(Uint8Array),nt=tt.from,rt=tt.prototype,et=rt[m],ot=c(rt.keys),it=c(rt.values),st=c(rt.entries),ut=c(rt.set),ct=c(rt.reverse),ft=c(rt.fill),ht=c(rt.copyWithin),lt=c(rt.sort),at=c(rt.slice),wt=c(rt.subarray),yt=f(rt,"buffer"),pt=f(rt,"byteOffset"),dt=f(rt,"length"),gt=f(rt,S),vt=Uint8Array,bt=Uint16Array,At=(...t)=>h(nt,bt,t),_t=Uint32Array,xt=Float32Array,Et=p([][m]()),Tt=c(Et.next),mt=c(function*(){}().next),Ot=p(Et),St=DataView.prototype,Pt=c(St.getUint16),jt=c(St.setUint16),Bt=TypeError,Lt=RangeError,Rt=WeakSet,Ft=Rt.prototype,It=c(Ft.add),Nt=c(Ft.has),Ut=WeakMap,kt=Ut.prototype,Mt=c(kt.get),Dt=c(kt.has),Wt=c(kt.set),Gt=new Ut,Ct=B(null,{next:{value:function(){const t=Mt(Gt,this);return Tt(t)}},[m]:{value:function(){return this}}});function Vt(t){if(t[m]===V&&Et.next===Tt)return t;const n=B(Ct);return Wt(Gt,n,Y(t)),n}const Yt=new Ut,zt=B(Ot,{next:{value:function(){const t=Mt(Yt,this);return mt(t)},writable:!0,configurable:!0}});for(const t of g(Et))"next"!==t&&L(zt,t,y(Et,t));function Kt(t){const n=B(zt);return Wt(Yt,n,t),n}function Xt(t){return null!==t&&"object"==typeof t||"function"==typeof t}function qt(t){return null!==t&&"object"==typeof t}function Ht(t){return void 0!==gt(t)}function Jt(t){const n=gt(t);return"BigInt64Array"===n||"BigUint64Array"===n}function Qt(t){if(null===Z)return!1;try{return $(t),!0}catch(t){return!1}}function Zt(t){return function(t){try{return!M(t)&&(Q(t),!0)}catch(t){return!1}}(t)||Qt(t)}function $t(t){return!!M(t)&&(t[m]===V&&Et.next===Tt)}function tn(t){if("string"!=typeof t)return!1;const n=+t;return t===n+""&&(!!E(n)&&n===K(n))}const nn=P("__Float16Array__");const rn=1/_;const en=6103515625e-14,on=65504,sn=.0009765625,un=sn*en,cn=sn*rn;function fn(t){const n=+t;if(!E(n)||0===n)return n;const r=n>0?1:-1,e=z(n);if(eon||T(i)?r*(1/0):r*i}const hn=new X(4),ln=new xt(hn),an=new _t(hn),wn=new bt(512),yn=new vt(512);for(let t=0;t<256;++t){const n=t-127;n<-24?(wn[t]=0,wn[256|t]=32768,yn[t]=24,yn[256|t]=24):n<-14?(wn[t]=1024>>-n-14,wn[256|t]=1024>>-n-14|32768,yn[t]=-n-1,yn[256|t]=-n-1):n<=15?(wn[t]=n+15<<10,wn[256|t]=n+15<<10|32768,yn[t]=13,yn[256|t]=13):n<128?(wn[t]=31744,wn[256|t]=64512,yn[t]=24,yn[256|t]=24):(wn[t]=31744,wn[256|t]=64512,yn[t]=13,yn[256|t]=13)}function pn(t){ln[0]=fn(t);const n=an[0],r=n>>23&511;return wn[r]+((8388607&n)>>yn[r])}const dn=new _t(2048);for(let t=1;t<1024;++t){let n=t<<13,r=0;for(;0==(8388608&n);)n<<=1,r-=8388608;n&=-8388609,r+=947912704,dn[t]=n|r}for(let t=1024;t<2048;++t)dn[t]=939524096+(t-1024<<13);const gn=new _t(64);for(let t=1;t<31;++t)gn[t]=t<<23;gn[31]=1199570944,gn[32]=2147483648;for(let t=33;t<63;++t)gn[t]=2147483648+(t-32<<23);gn[63]=3347054592;const vn=new bt(64);for(let t=1;t<64;++t)32!==t&&(vn[t]=1024);function bn(t){const n=t>>10;return an[0]=dn[vn[n]+(1023&t)]+gn[n],ln[0]}function An(t){const n=+t;return T(n)||0===n?0:K(n)}function _n(t){const n=An(t);return n<0?0:nn)return 1;if(0===t&&0===n){const r=F(t,0),e=F(n,0);if(!r&&e)return-1;if(r&&!e)return 1}return 0}const mn=new Ut;function On(t){return Dt(mn,t)||!q(t)&&function(t){if(!qt(t))return!1;const r=p(t);if(!qt(r))return!1;const e=r.constructor;if(void 0===e)return!1;if(!Xt(e))throw Bt(n);return d(e,nn)}(t)}function Sn(t){if(!On(t))throw Bt("This is not a Float16Array object")}function Pn(t,n){const r=On(t),e=Ht(t);if(!r&&!e)throw Bt("Species constructor didn't return TypedArray object");if("number"==typeof n){let e;if(r){const n=jn(t);e=dt(n)}else e=dt(t);if(etn(n)&&U(t,n)?bn(w(t,n)):Nt(Ln,N(t,n))?w(t,n):w(t,n,r),set:(t,n,r,e)=>tn(n)&&U(t,n)?v(t,n,pn(r)):v(t,n,r,e),getOwnPropertyDescriptor(t,n){if(tn(n)&&U(t,n)){const r=y(t,n);return r.value=bn(r.value),r}return y(t,n)},defineProperty:(t,n,r)=>tn(n)&&U(t,n)&&U(r,"value")?(r.value=pn(r.value),a(t,n,r)):a(t,n,r)});class Fn{constructor(t,n,e){let s;if(On(t))s=l(bt,[jn(t)],new.target);else if(Xt(t)&&!Zt(t)){let n,e;if(Ht(t)){n=t,e=dt(t);if(En(yt(t)))throw Bt(r);if(Jt(t))throw Bt(o);const i=new X(2*e);s=l(bt,[i],new.target)}else{const r=t[m];if(null!=r&&"function"!=typeof r)throw Bt(i);null!=r?$t(t)?(n=t,e=t.length):(n=[...t],e=n.length):(n=t,e=_n(n.length)),s=l(bt,[e],new.target)}for(let t=0;t=0?e:r+e;if(!(o<0||o>=r))return bn(n[o])}with(t,n){Sn(this);const r=jn(this),e=dt(r),o=An(t),i=o>=0?o:e+o,s=+n;if(i<0||i>=e)throw Lt(u);const c=new bt(yt(r),pt(r),dt(r)),f=new Fn(yt(at(c)));return jn(f)[i]=pn(s),f}map(t,...n){Sn(this);const r=jn(this),e=dt(r),o=n[0],i=xn(r,Fn);if(i===Fn){const n=new Fn(e),i=jn(n);for(let n=0;n=0;--n)o=t(o,bn(r[n]),n,this);return o}forEach(t,...n){Sn(this);const r=jn(this),e=dt(r),o=n[0];for(let n=0;n=0;--n){const e=bn(r[n]);if(h(t,o,[e,n,this]))return e}}findLastIndex(t,...n){Sn(this);const r=jn(this),e=dt(r),o=n[0];for(let n=e-1;n>=0;--n){const e=bn(r[n]);if(h(t,o,[e,n,this]))return n}return-1}every(t,...n){Sn(this);const r=jn(this),e=dt(r),o=n[0];for(let n=0;nc)throw Lt(u);for(let t=0;tr(bn(t),bn(n)))),this}toSorted(t){Sn(this);const n=jn(this);if(void 0!==t&&"function"!=typeof t)throw new Bt("The comparison function must be either a function or undefined");const r=void 0!==t?t:Tn,e=new bt(yt(n),pt(n),dt(n)),o=new Fn(yt(at(e))),i=jn(o);return lt(i,((t,n)=>r(bn(t),bn(n)))),o}slice(t,n){Sn(this);const e=jn(this),o=xn(e,Fn);if(o===Fn){const r=new bt(yt(e),pt(e),dt(e));return new Fn(yt(at(r,t,n)))}const i=dt(e),s=An(t),u=void 0===n?i:An(n);let c,f;c=s===-1/0?0:s<0?i+s>0?i+s:0:i0?i+u:0:i0?f-c:0,l=new o(h);if(Pn(l,h),0===h)return l;if(En(yt(e)))throw Bt(r);let a=0;for(;c=1?An(n[0]):e-1;if(o===-1/0)return-1;o>=0?o=o=0;--n)if(U(r,n)&&bn(r[n])===t)return n;return-1}includes(t,...n){Sn(this);const r=jn(this),e=dt(r);let o=An(n[0]);if(o===1/0)return!1;o<0&&(o+=e,o<0&&(o=0));const i=T(t);for(let n=o;n>24)/500+a,l=a-(t[e+2]<<24>>24)/200;h=.95047*(h*h*h>.008856?h*h*h:(h-16/116)/7.787),a=1*(a*a*a>.008856?a*a*a:(a-16/116)/7.787),l=1.08883*(l*l*l>.008856?l*l*l:(l-16/116)/7.787),n=3.2406*h+-1.5372*a+-.4986*l,o=-.9689*h+1.8758*a+.0415*l,s=.0557*h+-.204*a+1.057*l,n=n>.0031308?1.055*n**(1/2.4)-.055:12.92*n,o=o>.0031308?1.055*o**(1/2.4)-.055:12.92*o,s=s>.0031308?1.055*s**(1/2.4)-.055:12.92*s,i[r]=255*Math.max(0,Math.min(1,n)),i[r+1]=255*Math.max(0,Math.min(1,o)),i[r+2]=255*Math.max(0,Math.min(1,s))}return i}var A=Object.freeze({__proto__:null,fromWhiteIsZero:d,fromBlackIsZero:w,fromPalette:y,fromCMYK:m,fromYCbCr:b,fromCIELab:S});const T=new Map;function E(t,e){Array.isArray(t)||(t=[t]),t.forEach((t=>T.set(t,e)))}async function I(t){const e=T.get(t.Compression);if(!e)throw new Error(`Unknown compression method identifier: ${t.Compression}`);return new(await e())(t)}function P(t,e,r,i=1){return new(Object.getPrototypeOf(t).constructor)(e*r*i)}function R(t,e,r){return(1-r)*t+r*e}function D(t,e,r,i,n,o="nearest"){switch(o.toLowerCase()){case"nearest":return function(t,e,r,i,n){const o=e/i,s=r/n;return t.map((t=>{const a=P(t,i,n);for(let h=0;h{const a=P(t,i,n);for(let h=0;himport("./dist-module/compression/raw.js._esm.js").then((t=>t.default)))),E(5,(()=>import("./dist-module/compression/lzw.js._esm.js").then((t=>t.default)))),E(6,(()=>{throw new Error("old style JPEG compression is not supported.")})),E(7,(()=>import("./dist-module/compression/jpeg.js._esm.js").then((t=>t.default)))),E([8,32946],(()=>import("./dist-module/compression/deflate.js._esm.js").then((t=>t.default)))),E(32773,(()=>import("./dist-module/compression/packbits.js._esm.js").then((t=>t.default)))),E(34887,(()=>import("./dist-module/compression/lerc.js._esm.js").then((async t=>(await t.zstd.init(),t))).then((t=>t.default)))),E(50001,(()=>import("./dist-module/compression/webimage.js._esm.js").then((t=>t.default))));class C{constructor(t,e,r,i,n,o){this.fileDirectory=t,this.geoKeys=e,this.dataView=r,this.littleEndian=i,this.tiles=n?{}:null,this.isTiled=!t.StripOffsets;const s=t.PlanarConfiguration;if(this.planarConfiguration=void 0===s?1:s,1!==this.planarConfiguration&&2!==this.planarConfiguration)throw new Error("Invalid planar configuration.");this.source=o}getFileDirectory(){return this.fileDirectory}getGeoKeys(){return this.geoKeys}getWidth(){return this.fileDirectory.ImageWidth}getHeight(){return this.fileDirectory.ImageLength}getSamplesPerPixel(){return void 0!==this.fileDirectory.SamplesPerPixel?this.fileDirectory.SamplesPerPixel:1}getTileWidth(){return this.isTiled?this.fileDirectory.TileWidth:this.getWidth()}getTileHeight(){return this.isTiled?this.fileDirectory.TileLength:void 0!==this.fileDirectory.RowsPerStrip?Math.min(this.fileDirectory.RowsPerStrip,this.getHeight()):this.getHeight()}getBlockWidth(){return this.getTileWidth()}getBlockHeight(t){return this.isTiled||(t+1)*this.getTileHeight()<=this.getHeight()?this.getTileHeight():this.getHeight()-t*this.getTileHeight()}getBytesPerPixel(){let t=0;for(let e=0;e=this.fileDirectory.BitsPerSample.length)throw new RangeError(`Sample index ${t} is out of range.`);return Math.ceil(this.fileDirectory.BitsPerSample[t]/8)}getReaderForSample(e){const r=this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[e]:1,i=this.fileDirectory.BitsPerSample[e];switch(r){case 1:if(i<=8)return DataView.prototype.getUint8;if(i<=16)return DataView.prototype.getUint16;if(i<=32)return DataView.prototype.getUint32;break;case 2:if(i<=8)return DataView.prototype.getInt8;if(i<=16)return DataView.prototype.getInt16;if(i<=32)return DataView.prototype.getInt32;break;case 3:switch(i){case 16:return function(e,r){return t(this,e,r)};case 32:return DataView.prototype.getFloat32;case 64:return DataView.prototype.getFloat64}}throw Error("Unsupported data format/bitsPerSample")}getSampleFormat(t=0){return this.fileDirectory.SampleFormat?this.fileDirectory.SampleFormat[t]:1}getBitsPerSample(t=0){return this.fileDirectory.BitsPerSample[t]}getArrayForSample(t,e){return v(this.getSampleFormat(t),this.getBitsPerSample(t),e)}async getTileOrStrip(t,e,r,i,n){const o=Math.ceil(this.getWidth()/this.getTileWidth()),s=Math.ceil(this.getHeight()/this.getTileHeight());let a;const{tiles:h}=this;let l,f;1===this.planarConfiguration?a=e*o+t:2===this.planarConfiguration&&(a=r*o*s+e*o+t),this.isTiled?(l=this.fileDirectory.TileOffsets[a],f=this.fileDirectory.TileByteCounts[a]):(l=this.fileDirectory.StripOffsets[a],f=this.fileDirectory.StripByteCounts[a]);const c=(await this.source.fetch([{offset:l,length:f}],n))[0];let u;return null!==h&&h[a]?u=h[a]:(u=(async()=>{let t=await i.decode(this.fileDirectory,c);const r=this.getSampleFormat(),n=this.getBitsPerSample();return function(t,e){return(1!==t&&2!==t||!(e<=32)||e%8!=0)&&(3!==t||16!==e&&32!==e&&64!==e)}(r,n)&&(t=function(t,e,r,i,n,o,s){const a=new DataView(t),h=2===r?1:i,l=v(e,n,2===r?s*o:s*o*i),f=parseInt("1".repeat(n),2);if(1===e){let t;t=1===r?i*n:n;let e=o*t;0!=(7&e)&&(e=e+7&-8);for(let t=0;t>8-n-g&f;else if(g+n<=16)l[c]=a.getUint16(u)>>16-n-g&f;else if(g+n<=24){const t=a.getUint16(u)<<8|a.getUint8(u+2);l[c]=t>>24-n-g&f}else l[c]=a.getUint32(u)>>32-n-g&f}}}}return l.buffer}(t,r,this.planarConfiguration,this.getSamplesPerPixel(),n,this.getTileWidth(),this.getBlockHeight(e))),t})(),null!==h&&(h[a]=u)),{x:t,y:e,sample:r,data:await u}}async _readRaster(t,e,r,i,n,o,s,a,h){const l=this.getTileWidth(),f=this.getTileHeight(),c=this.getWidth(),u=this.getHeight(),g=Math.max(Math.floor(t[0]/l),0),p=Math.min(Math.ceil(t[2]/l),Math.ceil(c/l)),d=Math.max(Math.floor(t[1]/f),0),w=Math.min(Math.ceil(t[3]/f),Math.ceil(u/f)),y=t[2]-t[0];let m=this.getBytesPerPixel();const b=[],S=[];for(let t=0;t{const o=n.data,s=new DataView(o),a=this.getBlockHeight(n.y),h=n.y*f,g=n.x*l,d=h+a,w=(n.x+1)*l,A=S[p],E=Math.min(a,a-(d-t[3]),u-h),I=Math.min(l,l-(w-t[2]),c-g);for(let n=Math.max(0,t[1]-h);nl[2]||l[1]>l[3])throw new Error("Invalid subsets");const f=(l[2]-l[0])*(l[3]-l[1]),c=this.getSamplesPerPixel();if(e&&e.length){for(let t=0;t=c)return Promise.reject(new RangeError(`Invalid sample index '${e[t]}'.`))}else for(let t=0;th[2]||h[1]>h[3])throw new Error("Invalid subsets");const l=this.fileDirectory.PhotometricInterpretation;if(l===f.RGB){let h=[0,1,2];if(this.fileDirectory.ExtraSamples!==c.Unspecified&&s){h=[];for(let t=0;tvoid 0===e(t,"sample"))):o.filter((r=>Number(e(r,"sample"))===t));for(let t=0;t[o+t*e+i*r,l+s*e+a*r])),c=f.map((t=>t[0])),u=f.map((t=>t[1]));return[Math.min(...c),Math.min(...u),Math.max(...c),Math.max(...u)]}{const t=this.getOrigin(),i=this.getResolution(),n=t[0],o=t[1],s=n+i[0]*r,a=o+i[1]*e;return[Math.min(n,s),Math.min(o,a),Math.max(n,s),Math.max(o,a)]}}}class M{constructor(t){this._dataView=new DataView(t)}get buffer(){return this._dataView.buffer}getUint64(t,e){const r=this.getUint32(t,e),i=this.getUint32(t+4,e);let n;if(e){if(n=r+2**32*i,!Number.isSafeInteger(n))throw new Error(`${n} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return n}if(n=2**32*r+i,!Number.isSafeInteger(n))throw new Error(`${n} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return n}getInt64(t,e){let r=0;const i=(128&this._dataView.getUint8(t+(e?7:0)))>0;let n=!0;for(let o=0;o<8;o++){let s=this._dataView.getUint8(t+(e?o:7-o));i&&(n?0!==s&&(s=255&~(s-1),n=!1):s=255&~s),r+=s*256**o}return i&&(r=-r),r}getUint8(t,e){return this._dataView.getUint8(t,e)}getInt8(t,e){return this._dataView.getInt8(t,e)}getUint16(t,e){return this._dataView.getUint16(t,e)}getInt16(t,e){return this._dataView.getInt16(t,e)}getUint32(t,e){return this._dataView.getUint32(t,e)}getInt32(t,e){return this._dataView.getInt32(t,e)}getFloat16(e,r){return t(this._dataView,e,r)}getFloat32(t,e){return this._dataView.getFloat32(t,e)}getFloat64(t,e){return this._dataView.getFloat64(t,e)}}class _{constructor(t,e,r,i){this._dataView=new DataView(t),this._sliceOffset=e,this._littleEndian=r,this._bigTiff=i}get sliceOffset(){return this._sliceOffset}get sliceTop(){return this._sliceOffset+this.buffer.byteLength}get littleEndian(){return this._littleEndian}get bigTiff(){return this._bigTiff}get buffer(){return this._dataView.buffer}covers(t,e){return this.sliceOffset<=t&&this.sliceTop>=t+e}readUint8(t){return this._dataView.getUint8(t-this._sliceOffset,this._littleEndian)}readInt8(t){return this._dataView.getInt8(t-this._sliceOffset,this._littleEndian)}readUint16(t){return this._dataView.getUint16(t-this._sliceOffset,this._littleEndian)}readInt16(t){return this._dataView.getInt16(t-this._sliceOffset,this._littleEndian)}readUint32(t){return this._dataView.getUint32(t-this._sliceOffset,this._littleEndian)}readInt32(t){return this._dataView.getInt32(t-this._sliceOffset,this._littleEndian)}readFloat32(t){return this._dataView.getFloat32(t-this._sliceOffset,this._littleEndian)}readFloat64(t){return this._dataView.getFloat64(t-this._sliceOffset,this._littleEndian)}readUint64(t){const e=this.readUint32(t),r=this.readUint32(t+4);let i;if(this._littleEndian){if(i=e+2**32*r,!Number.isSafeInteger(i))throw new Error(`${i} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return i}if(i=2**32*e+r,!Number.isSafeInteger(i))throw new Error(`${i} exceeds MAX_SAFE_INTEGER. Precision may be lost. Please report if you get this message to https://github.com/geotiffjs/geotiff.js/issues`);return i}readInt64(t){let e=0;const r=(128&this._dataView.getUint8(t+(this._littleEndian?7:0)))>0;let i=!0;for(let n=0;n<8;n++){let o=this._dataView.getUint8(t+(this._littleEndian?n:7-n));r&&(i?0!==o&&(o=255&~(o-1),i=!1):o=255&~o),e+=o*256**n}return r&&(e=-e),e}readOffset(t){return this._bigTiff?this.readUint64(t):this.readUint32(t)}}const G="undefined"!=typeof navigator&&navigator.hardwareConcurrency||2;class k{constructor(t=G,e){this.workers=null,this._awaitingDecoder=null,this.size=t,this.messageId=0,t&&(this._awaitingDecoder=e?Promise.resolve(e):new Promise((t=>{import("./dist-module/worker/decoder.js._esm.js").then((e=>{t(e.create)}))})),this._awaitingDecoder.then((e=>{this._awaitingDecoder=null,this.workers=[];for(let r=0;rr.decode(t,e))):new Promise((r=>{const i=this.workers.find((t=>t.idle))||this.workers[Math.floor(Math.random()*this.size)];i.idle=!1;const n=this.messageId++,o=t=>{t.data.id===n&&(i.idle=!0,r(t.data.decoded),i.worker.removeEventListener("message",o))};i.worker.addEventListener("message",o),i.worker.postMessage({fileDirectory:t,buffer:e,id:n},[e])}))}destroy(){this.workers&&(this.workers.forEach((t=>{t.worker.terminate()})),this.workers=null)}}const F="\r\n\r\n";function B(t){if(void 0!==Object.fromEntries)return Object.fromEntries(t);const e={};for(const[r,i]of t)e[r.toLowerCase()]=i;return e}function L(t){return B(t.split("\r\n").map((t=>{const e=t.split(":").map((t=>t.trim()));return e[0]=e[0].toLowerCase(),e})))}function x(t){let e,r,i;return t&&([,e,r,i]=t.match(/bytes (\d+)-(\d+)\/(\d+)/),e=parseInt(e,10),r=parseInt(r,10),i=parseInt(i,10)),{start:e,end:r,total:i}}class N{async fetch(t,e=void 0){return Promise.all(t.map((t=>this.fetchSlice(t,e))))}async fetchSlice(t){throw new Error(`fetching of slice ${t} not possible, not implemented`)}get fileSize(){return null}async close(){}}function K(t,e){for(const r in e)e.hasOwnProperty(r)&&(t[r]=e[r])}function Y(t,e){if(t.length{this.evictedBlocks.set(t,e)}}),this.evictedBlocks=new Map,this.blockRequests=new Map,this.blockIdsToFetch=new Set,this.abortedBlockIds=new Set}get fileSize(){return this.source.fileSize}async fetch(t,e){const r=[],i=[],n=[];this.evictedBlocks.clear();for(const{offset:e,length:o}of t){let t=e+o;const{fileSize:s}=this;null!==s&&(t=Math.min(t,s));for(let o=Math.floor(e/this.blockSize)*this.blockSize;osetTimeout(e,t)))}(),this.fetchBlocks(e);const o=[];for(const t of i)this.blockRequests.has(t)&&o.push(this.blockRequests.get(t));await Promise.allSettled(r),await Promise.allSettled(o);const s=[],a=n.filter((t=>this.abortedBlockIds.has(t)||!this.blockCache.has(t)));if(a.forEach((t=>this.blockIdsToFetch.add(t))),a.length>0&&e&&!e.aborted){this.fetchBlocks(null);for(const t of a){const e=this.blockRequests.get(t);if(!e)throw new Error(`Block ${t} is not in the block requests`);s.push(e)}await Promise.allSettled(s)}if(e&&e.aborted)throw new z("Request was aborted");const h=n.map((t=>this.blockCache.get(t)||this.evictedBlocks.get(t))),l=h.filter((t=>!t));if(l.length)throw new q(l,"Request failed");const f=new Map(function(t,e){const r=Array.isArray(t)?t:Array.from(t),i=Array.isArray(e)?e:Array.from(e);return r.map(((t,e)=>[t,i[e]]))}(n,h));return this.readSliceData(t,f)}fetchBlocks(t){if(this.blockIdsToFetch.size>0){const e=this.groupBlocks(this.blockIdsToFetch),r=this.source.fetch(e,t);for(let i=0;i{try{const t=(await r)[i],n=e*this.blockSize,o=n-t.offset,s=Math.min(o+this.blockSize,t.data.byteLength),a=t.data.slice(o,s),h=new W(n,a.byteLength,a,e);this.blockCache.set(e,h),this.abortedBlockIds.delete(e)}catch(r){if("AbortError"!==r.name)throw r;r.signal=t,this.blockCache.delete(e),this.abortedBlockIds.add(e)}finally{this.blockRequests.delete(e)}})())}this.blockIdsToFetch.clear()}}groupBlocks(t){const e=Array.from(t).sort(((t,e)=>t-e));if(0===e.length)return[];let r=[],i=null;const n=[];for(const t of e)null===i||i+1===t?(r.push(t),i=t):(n.push(new $(r[0]*this.blockSize,r.length*this.blockSize,r)),r=[t],i=t);return n.push(new $(r[0]*this.blockSize,r.length*this.blockSize,r)),n}readSliceData(t,e){return t.map((t=>{let r=t.offset+t.length;null!==this.fileSize&&(r=Math.min(this.fileSize,r));const i=Math.floor(t.offset/this.blockSize),n=Math.floor(r/this.blockSize),o=new ArrayBuffer(t.length),s=new Uint8Array(o);for(let o=i;o<=n;++o){const i=e.get(o),n=i.offset-t.offset;let a,h=0,l=0;n<0?h=-n:n>0&&(l=n),a=i.top-r<0?i.length-h:r-i.offset-h;const f=new Uint8Array(i.data,h,a);s.set(f,l)}return o}))}}class Z{get ok(){return this.status>=200&&this.status<=299}get status(){throw new Error("not implemented")}getHeader(t){throw new Error("not implemented")}async getData(){throw new Error("not implemented")}}class J{constructor(t){this.url=t}async request({headers:t,signal:e}={}){throw new Error("request is not implemented")}}class Q extends Z{constructor(t){super(),this.response=t}get status(){return this.response.status}getHeader(t){return this.response.headers.get(t)}async getData(){return this.response.arrayBuffer?await this.response.arrayBuffer():(await this.response.buffer()).buffer}}class tt extends J{constructor(t,e){super(t),this.credentials=e}async request({headers:t,signal:e}={}){const r=await fetch(this.url,{headers:t,credentials:this.credentials,signal:e});return new Q(r)}}class et extends Z{constructor(t,e){super(),this.xhr=t,this.data=e}get status(){return this.xhr.status}getHeader(t){return this.xhr.getResponseHeader(t)}async getData(){return this.data}}class rt extends J{constructRequest(t,e){return new Promise(((r,i)=>{const n=new XMLHttpRequest;n.open("GET",this.url),n.responseType="arraybuffer";for(const[e,r]of Object.entries(t))n.setRequestHeader(e,r);n.onload=()=>{const t=n.response;r(new et(n,t))},n.onerror=i,n.onabort=()=>i(new z("Request aborted")),n.send(),e&&(e.aborted&&n.abort(),e.addEventListener("abort",(()=>n.abort())))}))}async request({headers:t,signal:e}={}){return await this.constructRequest(t,e)}}var it="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},nt=[],ot=[],st="undefined"!=typeof Uint8Array?Uint8Array:Array,at=!1;function ht(){at=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)nt[e]=t[e],ot[t.charCodeAt(e)]=e;ot["-".charCodeAt(0)]=62,ot["_".charCodeAt(0)]=63}function lt(t,e,r){for(var i,n,o=[],s=e;s>18&63]+nt[n>>12&63]+nt[n>>6&63]+nt[63&n]);return o.join("")}function ft(t){var e;at||ht();for(var r=t.length,i=r%3,n="",o=[],s=16383,a=0,h=r-i;ah?h:a+s));return 1===i?(e=t[r-1],n+=nt[e>>2],n+=nt[e<<4&63],n+="=="):2===i&&(e=(t[r-2]<<8)+t[r-1],n+=nt[e>>10],n+=nt[e>>4&63],n+=nt[e<<2&63],n+="="),o.push(n),o.join("")}function ct(t,e,r,i,n){var o,s,a=8*n-i-1,h=(1<>1,f=-7,c=r?n-1:0,u=r?-1:1,g=t[e+c];for(c+=u,o=g&(1<<-f)-1,g>>=-f,f+=a;f>0;o=256*o+t[e+c],c+=u,f-=8);for(s=o&(1<<-f)-1,o>>=-f,f+=i;f>0;s=256*s+t[e+c],c+=u,f-=8);if(0===o)o=1-l;else{if(o===h)return s?NaN:1/0*(g?-1:1);s+=Math.pow(2,i),o-=l}return(g?-1:1)*s*Math.pow(2,o-i)}function ut(t,e,r,i,n,o){var s,a,h,l=8*o-n-1,f=(1<>1,u=23===n?Math.pow(2,-24)-Math.pow(2,-77):0,g=i?0:o-1,p=i?1:-1,d=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(h=Math.pow(2,-s))<1&&(s--,h*=2),(e+=s+c>=1?u/h:u*Math.pow(2,1-c))*h>=2&&(s++,h/=2),s+c>=f?(a=0,s=f):s+c>=1?(a=(e*h-1)*Math.pow(2,n),s+=c):(a=e*Math.pow(2,c-1)*Math.pow(2,n),s=0));n>=8;t[r+g]=255&a,g+=p,a/=256,n-=8);for(s=s<0;t[r+g]=255&s,g+=p,s/=256,l-=8);t[r+g-p]|=128*d}var gt={}.toString,pt=Array.isArray||function(t){return"[object Array]"==gt.call(t)};function dt(){return yt.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function wt(t,e){if(dt()=dt())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+dt().toString(16)+" bytes");return 0|t}function Et(t){return!(null==t||!t._isBuffer)}function It(t,e){if(Et(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var i=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return Zt(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return Jt(t).length;default:if(i)return Zt(t).length;e=(""+e).toLowerCase(),i=!0}}function Pt(t,e,r){var i=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return Nt(this,e,r);case"utf8":case"utf-8":return Ft(this,e,r);case"ascii":return Lt(this,e,r);case"latin1":case"binary":return xt(this,e,r);case"base64":return kt(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Kt(this,e,r);default:if(i)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),i=!0}}function Rt(t,e,r){var i=t[e];t[e]=t[r],t[r]=i}function Dt(t,e,r,i,n){if(0===t.length)return-1;if("string"==typeof r?(i=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=n?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(n)return-1;r=t.length-1}else if(r<0){if(!n)return-1;r=0}if("string"==typeof e&&(e=yt.from(e,i)),Et(e))return 0===e.length?-1:Ut(t,e,r,i,n);if("number"==typeof e)return e&=255,yt.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?n?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):Ut(t,[e],r,i,n);throw new TypeError("val must be string, number or Buffer")}function Ut(t,e,r,i,n){var o,s=1,a=t.length,h=e.length;if(void 0!==i&&("ucs2"===(i=String(i).toLowerCase())||"ucs-2"===i||"utf16le"===i||"utf-16le"===i)){if(t.length<2||e.length<2)return-1;s=2,a/=2,h/=2,r/=2}function l(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(n){var f=-1;for(o=r;oa&&(r=a-h),o=r;o>=0;o--){for(var c=!0,u=0;un&&(i=n):i=n;var o=e.length;if(o%2!=0)throw new TypeError("Invalid hex string");i>o/2&&(i=o/2);for(var s=0;s>8,n=r%256,o.push(n),o.push(i);return o}(e,t.length-r),t,r,i)}function kt(t,e,r){return 0===e&&r===t.length?ft(t):ft(t.slice(e,r))}function Ft(t,e,r){r=Math.min(t.length,r);for(var i=[],n=e;n239?4:l>223?3:l>191?2:1;if(n+c<=r)switch(c){case 1:l<128&&(f=l);break;case 2:128==(192&(o=t[n+1]))&&(h=(31&l)<<6|63&o)>127&&(f=h);break;case 3:o=t[n+1],s=t[n+2],128==(192&o)&&128==(192&s)&&(h=(15&l)<<12|(63&o)<<6|63&s)>2047&&(h<55296||h>57343)&&(f=h);break;case 4:o=t[n+1],s=t[n+2],a=t[n+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(h=(15&l)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&h<1114112&&(f=h)}null===f?(f=65533,c=1):f>65535&&(f-=65536,i.push(f>>>10&1023|55296),f=56320|1023&f),i.push(f),n+=c}return function(t){var e=t.length;if(e<=Bt)return String.fromCharCode.apply(String,t);var r="",i=0;for(;i0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),""},yt.prototype.compare=function(t,e,r,i,n){if(!Et(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===i&&(i=0),void 0===n&&(n=this.length),e<0||r>t.length||i<0||n>this.length)throw new RangeError("out of range index");if(i>=n&&e>=r)return 0;if(i>=n)return-1;if(e>=r)return 1;if(this===t)return 0;for(var o=(n>>>=0)-(i>>>=0),s=(r>>>=0)-(e>>>=0),a=Math.min(o,s),h=this.slice(i,n),l=t.slice(e,r),f=0;fn)&&(r=n),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");i||(i="utf8");for(var o=!1;;)switch(i){case"hex":return Ot(this,t,e,r);case"utf8":case"utf-8":return vt(this,t,e,r);case"ascii":return Ct(this,t,e,r);case"latin1":case"binary":return Mt(this,t,e,r);case"base64":return _t(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return Gt(this,t,e,r);default:if(o)throw new TypeError("Unknown encoding: "+i);i=(""+i).toLowerCase(),o=!0}},yt.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var Bt=4096;function Lt(t,e,r){var i="";r=Math.min(t.length,r);for(var n=e;ni)&&(r=i);for(var n="",o=e;or)throw new RangeError("Trying to access beyond buffer length")}function jt(t,e,r,i,n,o){if(!Et(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>n||et.length)throw new RangeError("Index out of range")}function Vt(t,e,r,i){e<0&&(e=65535+e+1);for(var n=0,o=Math.min(t.length-r,2);n>>8*(i?n:1-n)}function zt(t,e,r,i){e<0&&(e=4294967295+e+1);for(var n=0,o=Math.min(t.length-r,4);n>>8*(i?n:3-n)&255}function Ht(t,e,r,i,n,o){if(r+i>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function qt(t,e,r,i,n){return n||Ht(t,0,r,4),ut(t,e,r,i,23,4),r+4}function Wt(t,e,r,i,n){return n||Ht(t,0,r,8),ut(t,e,r,i,52,8),r+8}yt.prototype.slice=function(t,e){var r,i=this.length;if((t=~~t)<0?(t+=i)<0&&(t=0):t>i&&(t=i),(e=void 0===e?i:~~e)<0?(e+=i)<0&&(e=0):e>i&&(e=i),e0&&(n*=256);)i+=this[t+--e]*n;return i},yt.prototype.readUInt8=function(t,e){return e||Yt(t,1,this.length),this[t]},yt.prototype.readUInt16LE=function(t,e){return e||Yt(t,2,this.length),this[t]|this[t+1]<<8},yt.prototype.readUInt16BE=function(t,e){return e||Yt(t,2,this.length),this[t]<<8|this[t+1]},yt.prototype.readUInt32LE=function(t,e){return e||Yt(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},yt.prototype.readUInt32BE=function(t,e){return e||Yt(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},yt.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||Yt(t,e,this.length);for(var i=this[t],n=1,o=0;++o=(n*=128)&&(i-=Math.pow(2,8*e)),i},yt.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||Yt(t,e,this.length);for(var i=e,n=1,o=this[t+--i];i>0&&(n*=256);)o+=this[t+--i]*n;return o>=(n*=128)&&(o-=Math.pow(2,8*e)),o},yt.prototype.readInt8=function(t,e){return e||Yt(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},yt.prototype.readInt16LE=function(t,e){e||Yt(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},yt.prototype.readInt16BE=function(t,e){e||Yt(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},yt.prototype.readInt32LE=function(t,e){return e||Yt(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},yt.prototype.readInt32BE=function(t,e){return e||Yt(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},yt.prototype.readFloatLE=function(t,e){return e||Yt(t,4,this.length),ct(this,t,!0,23,4)},yt.prototype.readFloatBE=function(t,e){return e||Yt(t,4,this.length),ct(this,t,!1,23,4)},yt.prototype.readDoubleLE=function(t,e){return e||Yt(t,8,this.length),ct(this,t,!0,52,8)},yt.prototype.readDoubleBE=function(t,e){return e||Yt(t,8,this.length),ct(this,t,!1,52,8)},yt.prototype.writeUIntLE=function(t,e,r,i){(t=+t,e|=0,r|=0,i)||jt(this,t,e,r,Math.pow(2,8*r)-1,0);var n=1,o=0;for(this[e]=255&t;++o=0&&(o*=256);)this[e+n]=t/o&255;return e+r},yt.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||jt(this,t,e,1,255,0),yt.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},yt.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||jt(this,t,e,2,65535,0),yt.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Vt(this,t,e,!0),e+2},yt.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||jt(this,t,e,2,65535,0),yt.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Vt(this,t,e,!1),e+2},yt.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||jt(this,t,e,4,4294967295,0),yt.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):zt(this,t,e,!0),e+4},yt.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||jt(this,t,e,4,4294967295,0),yt.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):zt(this,t,e,!1),e+4},yt.prototype.writeIntLE=function(t,e,r,i){if(t=+t,e|=0,!i){var n=Math.pow(2,8*r-1);jt(this,t,e,r,n-1,-n)}var o=0,s=1,a=0;for(this[e]=255&t;++o>0)-a&255;return e+r},yt.prototype.writeIntBE=function(t,e,r,i){if(t=+t,e|=0,!i){var n=Math.pow(2,8*r-1);jt(this,t,e,r,n-1,-n)}var o=r-1,s=1,a=0;for(this[e+o]=255&t;--o>=0&&(s*=256);)t<0&&0===a&&0!==this[e+o+1]&&(a=1),this[e+o]=(t/s>>0)-a&255;return e+r},yt.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||jt(this,t,e,1,127,-128),yt.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},yt.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||jt(this,t,e,2,32767,-32768),yt.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):Vt(this,t,e,!0),e+2},yt.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||jt(this,t,e,2,32767,-32768),yt.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):Vt(this,t,e,!1),e+2},yt.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||jt(this,t,e,4,2147483647,-2147483648),yt.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):zt(this,t,e,!0),e+4},yt.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||jt(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),yt.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):zt(this,t,e,!1),e+4},yt.prototype.writeFloatLE=function(t,e,r){return qt(this,t,e,!0,r)},yt.prototype.writeFloatBE=function(t,e,r){return qt(this,t,e,!1,r)},yt.prototype.writeDoubleLE=function(t,e,r){return Wt(this,t,e,!0,r)},yt.prototype.writeDoubleBE=function(t,e,r){return Wt(this,t,e,!1,r)},yt.prototype.copy=function(t,e,r,i){if(r||(r=0),i||0===i||(i=this.length),e>=t.length&&(e=t.length),e||(e=0),i>0&&i=this.length)throw new RangeError("sourceStart out of bounds");if(i<0)throw new RangeError("sourceEnd out of bounds");i>this.length&&(i=this.length),t.length-e=0;--n)t[n+e]=this[n+r];else if(o<1e3||!yt.TYPED_ARRAY_SUPPORT)for(n=0;n>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(o=e;o55295&&r<57344){if(!n){if(r>56319){(e-=3)>-1&&o.push(239,191,189);continue}if(s+1===i){(e-=3)>-1&&o.push(239,191,189);continue}n=r;continue}if(r<56320){(e-=3)>-1&&o.push(239,191,189),n=r;continue}r=65536+(n-55296<<10|r-56320)}else n&&(e-=3)>-1&&o.push(239,191,189);if(n=null,r<128){if((e-=1)<0)break;o.push(r)}else if(r<2048){if((e-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function Jt(t){return function(t){var e,r,i,n,o,s;at||ht();var a=t.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===t[a-2]?2:"="===t[a-1]?1:0,s=new st(3*a/4-o),i=o>0?a-4:a;var h=0;for(e=0,r=0;e>16&255,s[h++]=n>>8&255,s[h++]=255&n;return 2===o?(n=ot[t.charCodeAt(e)]<<2|ot[t.charCodeAt(e+1)]>>4,s[h++]=255&n):1===o&&(n=ot[t.charCodeAt(e)]<<10|ot[t.charCodeAt(e+1)]<<4|ot[t.charCodeAt(e+2)]>>2,s[h++]=n>>8&255,s[h++]=255&n),s}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace($t,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function Qt(t,e,r,i){for(var n=0;n=e.length||n>=t.length);++n)e[n+r]=t[n];return n}function te(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}var ee={};class re extends Z{constructor(t,e){super(),this.response=t,this.dataPromise=e}get status(){return this.response.statusCode}getHeader(t){return this.response.headers[t]}async getData(){return await this.dataPromise}}class ie extends J{constructor(t){super(t),this.parsedUrl=ee.parse(this.url),this.httpApi=(this.parsedUrl.protocol,ee)}constructRequest(t,e){return new Promise(((r,i)=>{const n=this.httpApi.get({...this.parsedUrl,headers:t},(t=>{const e=new Promise((e=>{const r=[];t.on("data",(t=>{r.push(t)})),t.on("end",(()=>{const t=yt.concat(r).buffer;e(t)})),t.on("error",i)}));r(new re(t,e))}));n.on("error",i),e&&(e.aborted&&n.destroy(new z("Request aborted")),e.addEventListener("abort",(()=>n.destroy(new z("Request aborted")))))}))}async request({headers:t,signal:e}={}){return await this.constructRequest(t,e)}}class ne extends N{constructor(t,e,r,i){super(),this.client=t,this.headers=e,this.maxRanges=r,this.allowFullFile=i,this._fileSize=null}async fetch(t,e){return this.maxRanges>=t.length?this.fetchSlices(t,e):(this.maxRanges>0&&t.length,Promise.all(t.map((t=>this.fetchSlice(t,e)))))}async fetchSlices(t,e){const r=await this.client.request({headers:{...this.headers,Range:`bytes=${t.map((({offset:t,length:e})=>`${t}-${t+e}`)).join(",")}`},signal:e});if(r.ok){if(206===r.status){const{type:i,params:n}=function(t){const[e,...r]=t.split(";").map((t=>t.trim()));return{type:e,params:B(r.map((t=>t.split("="))))}}(r.getHeader("content-type"));if("multipart/byteranges"===i){const t=function(t,e){let r=null;const i=new TextDecoder("ascii"),n=[],o=`--${e}`,s=`${o}--`;for(let e=0;e<10;++e)i.decode(new Uint8Array(t,e,o.length))===o&&(r=e);if(null===r)throw new Error("Could not find initial boundary");for(;r1){const r=await Promise.all(t.slice(1).map((t=>this.fetchSlice(t,e))));return l.concat(r)}return l}{if(!this.allowFullFile)throw new Error("Server responded with full file");const t=await r.getData();return this._fileSize=t.byteLength,[{data:t,offset:0,length:t.byteLength}]}}throw new Error("Error fetching data.")}async fetchSlice(t,e){const{offset:r,length:i}=t,n=await this.client.request({headers:{...this.headers,Range:`bytes=${r}-${r+i}`},signal:e});if(n.ok){if(206===n.status){const t=await n.getData(),{total:e}=x(n.getHeader("content-range"));return this._fileSize=e||null,{data:t,offset:r,length:i}}{if(!this.allowFullFile)throw new Error("Server responded with full file");const t=await n.getData();return this._fileSize=t.byteLength,{data:t,offset:0,length:t.byteLength}}}throw new Error("Error fetching data.")}get fileSize(){return this._fileSize}}function oe(t,{blockSize:e,cacheSize:r}){return null===e?t:new X(t,{blockSize:e,cacheSize:r})}function se(t,{forceXHR:e=!1,...r}={}){return"function"!=typeof fetch||e?"undefined"!=typeof XMLHttpRequest?function(t,{headers:e={},maxRanges:r=0,allowFullFile:i=!1,...n}={}){const o=new rt(t);return oe(new ne(o,e,r,i),n)}(t,r):function(t,{headers:e={},maxRanges:r=0,allowFullFile:i=!1,...n}={}){const o=new ie(t);return oe(new ne(o,e,r,i),n)}(t,r):function(t,{headers:e={},credentials:r,maxRanges:i=0,allowFullFile:n=!1,...o}={}){const s=new tt(t,r);return oe(new ne(s,e,i,n),o)}(t,r)}class ae extends N{constructor(t){super(),this.arrayBuffer=t}fetchSlice(t,e){if(e&&e.aborted)throw new z("Request aborted");return this.arrayBuffer.slice(t.offset,t.offset+t.length)}}class he extends N{constructor(t){super(),this.file=t}async fetchSlice(t,e){return new Promise(((r,i)=>{const n=this.file.slice(t.offset,t.offset+t.length),o=new FileReader;o.onload=t=>r(t.target.result),o.onerror=i,o.onabort=i,o.readAsArrayBuffer(n),e&&e.addEventListener("abort",(()=>o.abort()))}))}}class le extends N{constructor(t){super(),this.path=t,this.openRequest=function(t,e,r){return new Promise(((i,n)=>{ee.open(t,e,r,((t,e)=>{t?n(t):i(e)}))}))}(t,"r")}async fetchSlice(t){const e=await this.openRequest,{buffer:r}=await function(...t){return new Promise(((e,r)=>{ee.read(...t,((t,i,n)=>{t?r(t):e({bytesRead:i,buffer:n})}))}))}(e,yt.alloc(t.length),0,t.length,t.offset);return r.buffer}async close(){const t=await this.openRequest;await function(t){return new Promise(((e,r)=>{ee.close(t,(t=>{t?r(t):e()}))}))}(t)}}const fe=j(n),ce=j(u),ue={};K(ue,fe),K(ue,ce);const ge=j(h),pe=1e3,de={nextZero:(t,e)=>{let r=e;for(;0!==t[r];)r++;return r},readUshort:(t,e)=>t[e]<<8|t[e+1],readShort:(t,e)=>{const r=de.ui8;return r[0]=t[e+1],r[1]=t[e+0],de.i16[0]},readInt:(t,e)=>{const r=de.ui8;return r[0]=t[e+3],r[1]=t[e+2],r[2]=t[e+1],r[3]=t[e+0],de.i32[0]},readUint:(t,e)=>{const r=de.ui8;return r[0]=t[e+3],r[1]=t[e+2],r[2]=t[e+1],r[3]=t[e+0],de.ui32[0]},readASCII:(t,e,r)=>r.map((r=>String.fromCharCode(t[e+r]))).join(""),readFloat:(t,e)=>{const r=de.ui8;return V(4,(i=>{r[i]=t[e+3-i]})),de.fl32[0]},readDouble:(t,e)=>{const r=de.ui8;return V(8,(i=>{r[i]=t[e+7-i]})),de.fl64[0]},writeUshort:(t,e,r)=>{t[e]=r>>8&255,t[e+1]=255&r},writeUint:(t,e,r)=>{t[e]=r>>24&255,t[e+1]=r>>16&255,t[e+2]=r>>8&255,t[e+3]=r>>0&255},writeASCII:(t,e,r)=>{V(r.length,(i=>{t[e+i]=r.charCodeAt(i)}))},ui8:new Uint8Array(8)};de.fl64=new Float64Array(de.ui8.buffer),de.writeDouble=(t,e,r)=>{de.fl64[0]=r,V(8,(r=>{t[e+r]=de.ui8[7-r]}))};const we=t=>{const e=new Uint8Array(pe);let r=4;const i=de;e[0]=77,e[1]=77,e[3]=42;let n=8;if(i.writeUint(e,r,n),r+=4,t.forEach(((r,o)=>{const a=((t,e,r,i)=>{let n=r;const o=Object.keys(i).filter((t=>null!=t&&"undefined"!==t));t.writeUshort(e,n,o.length),n+=2;let a=n+12*o.length+4;for(const r of o){let o=null;"number"==typeof r?o=r:"string"==typeof r&&(o=parseInt(r,10));const h=s[o],l=ge[h];if(null==h||void 0===h||void 0===h)throw new Error(`unknown type of tag: ${o}`);let f=i[r];if(void 0===f)throw new Error(`failed to get value for key ${r}`);"ASCII"===h&&"string"==typeof f&&!1===Y(f,"\0")&&(f+="\0");const c=f.length;t.writeUshort(e,n,o),n+=2,t.writeUshort(e,n,l),n+=2,t.writeUint(e,n,c),n+=4;let u=[-1,1,1,2,4,8,0,0,0,0,0,0,8][l]*c,g=n;u>4&&(t.writeUint(e,n,a),g=a),"ASCII"===h?t.writeASCII(e,g,f):"SHORT"===h?V(c,(r=>{t.writeUshort(e,g+2*r,f[r])})):"LONG"===h?V(c,(r=>{t.writeUint(e,g+4*r,f[r])})):"RATIONAL"===h?V(c,(r=>{t.writeUint(e,g+8*r,Math.round(1e4*f[r])),t.writeUint(e,g+8*r+4,1e4)})):"DOUBLE"===h&&V(c,(r=>{t.writeDouble(e,g+8*r,f[r])})),u>4&&(u+=1&u,a+=u),n+=4}return[n,a]})(i,e,n,r);n=a[1],o{if(null==r)throw new Error(`you passed into encodeImage a width of type ${r}`);if(null==e)throw new Error(`you passed into encodeImage a width of type ${e}`);const n={256:[e],257:[r],273:[pe],278:[r],305:"geotiff.js"};if(i)for(const t in i)i.hasOwnProperty(t)&&(n[t]=i[t]);const o=new Uint8Array(we([n])),s=new Uint8Array(t),a=n[277],h=new Uint8Array(pe+e*r*a);return V(o.length,(t=>{h[t]=o[t]})),function(t,e){const{length:r}=t;for(let i=0;i{h[pe+e]=t})),h.buffer},me=t=>{const e={};for(const r in t)"StripOffsets"!==r&&(ue[r]||console.error(r,"not in name2code:",Object.keys(ue)),e[ue[r]]=t[r]);return e},be=t=>Array.isArray(t)?t:[t],Se=[["Compression",1],["PlanarConfiguration",1],["ExtraSamples",0]];class Ae{log(){}debug(){}info(){}warn(){}error(){}time(){}timeEnd(){}}function Te(t=new Ae){}function Ee(t,e){let r=t.length-e,i=0;do{for(let r=e;r>0;r--)t[i+e]+=t[i],i++;r-=e}while(r>0)}function Ie(t,e,r){let i=0,n=t.length;const o=n/r;for(;n>e;){for(let r=e;r>0;--r)t[i+e]+=t[i],++i;n-=e}const s=t.slice();for(let e=0;e=t.byteLength);++o){let i;if(2===e){switch(n[0]){case 8:i=new Uint8Array(t,o*a*r*s,a*r*s);break;case 16:i=new Uint16Array(t,o*a*r*s,a*r*s/2);break;case 32:i=new Uint32Array(t,o*a*r*s,a*r*s/4);break;default:throw new Error(`Predictor 2 not allowed with ${n[0]} bits per sample.`)}Ee(i,a)}else 3===e&&(i=new Uint8Array(t,o*a*r*s,a*r*s),Ie(i,a,s))}return t}(r,i,e?t.TileWidth:t.ImageWidth,e?t.TileLength:t.RowsPerStrip||t.ImageLength,t.BitsPerSample,t.PlanarConfiguration)}return r}}function Re(t){switch(t){case l.BYTE:case l.ASCII:case l.SBYTE:case l.UNDEFINED:return 1;case l.SHORT:case l.SSHORT:return 2;case l.LONG:case l.SLONG:case l.FLOAT:case l.IFD:return 4;case l.RATIONAL:case l.SRATIONAL:case l.DOUBLE:case l.LONG8:case l.SLONG8:case l.IFD8:return 8;default:throw new RangeError(`Invalid field type: ${t}`)}}function De(t,e,r,i){let n=null,o=null;const s=Re(e);switch(e){case l.BYTE:case l.ASCII:case l.UNDEFINED:n=new Uint8Array(r),o=t.readUint8;break;case l.SBYTE:n=new Int8Array(r),o=t.readInt8;break;case l.SHORT:n=new Uint16Array(r),o=t.readUint16;break;case l.SSHORT:n=new Int16Array(r),o=t.readInt16;break;case l.LONG:case l.IFD:n=new Uint32Array(r),o=t.readUint32;break;case l.SLONG:n=new Int32Array(r),o=t.readInt32;break;case l.LONG8:case l.IFD8:n=new Array(r),o=t.readUint64;break;case l.SLONG8:n=new Array(r),o=t.readInt64;break;case l.RATIONAL:n=new Uint32Array(2*r),o=t.readUint32;break;case l.SRATIONAL:n=new Int32Array(2*r),o=t.readInt32;break;case l.FLOAT:n=new Float32Array(r),o=t.readFloat32;break;case l.DOUBLE:n=new Float64Array(r),o=t.readFloat64;break;default:throw new RangeError(`Invalid field type: ${e}`)}if(e!==l.RATIONAL&&e!==l.SRATIONAL)for(let e=0;et.getWidth()-e.getWidth()));for(let e=0;ei||o&&o>s)break}}let c=e;if(s){const[t,e]=a.getOrigin(),[r,i]=h.getResolution(a);c=[Math.round((s[0]-t)/r),Math.round((s[1]-e)/i),Math.round((s[2]-t)/r),Math.round((s[3]-e)/i)],c=[Math.min(c[0],c[2]),Math.min(c[1],c[3]),Math.max(c[0],c[2]),Math.max(c[1],c[3])]}return h.readRasters({...t,window:c})}}class Ce extends ve{constructor(t,e,r,i,n={}){super(),this.source=t,this.littleEndian=e,this.bigTiff=r,this.firstIFDOffset=i,this.cache=n.cache||!1,this.ifdRequests=[],this.ghostValues=null}async getSlice(t,e){const r=this.bigTiff?4048:1024;return new _((await this.source.fetch([{offset:t,length:void 0!==e?e:r}]))[0],t,this.littleEndian,this.bigTiff)}async parseFileDirectoryAt(t){const e=this.bigTiff?20:12,r=this.bigTiff?8:2;let i=await this.getSlice(t);const o=this.bigTiff?i.readUint64(t):i.readUint16(t),s=o*e+(this.bigTiff?16:6);i.covers(t,s)||(i=await this.getSlice(t,s));const h={};let f=t+(this.bigTiff?8:2);for(let t=0;t{const e=await this.ifdRequests[t-1];if(0===e.nextIFDByteOffset)throw new Oe(t);return this.parseFileDirectoryAt(e.nextIFDByteOffset)})(),this.ifdRequests[t]}async getImage(t=0){const e=await this.requestIFD(t);return new C(e.fileDirectory,e.geoKeyDirectory,this.dataView,this.littleEndian,this.cache,this.source)}async getImageCount(){let t=0,e=!0;for(;e;)try{await this.requestIFD(t),++t}catch(t){if(!(t instanceof Oe))throw t;e=!1}return t}async getGhostValues(){const t=this.bigTiff?16:8;if(this.ghostValues)return this.ghostValues;const e="GDAL_STRUCTURAL_METADATA_SIZE=";let r=await this.getSlice(t,130);if(e===De(r,l.ASCII,30,t)){const e=De(r,l.ASCII,130,t).split("\n")[0],i=Number(e.split("=")[1].split(" ")[0])+e.length;i>130&&(r=await this.getSlice(t,i));const n=De(r,l.ASCII,i,t);this.ghostValues={},n.split("\n").filter((t=>t.length>0)).map((t=>t.split("="))).forEach((([t,e])=>{this.ghostValues[t]=e}))}return this.ghostValues}static async fromSource(t,e,r){const i=(await t.fetch([{offset:0,length:1024}],r))[0],n=new M(i),o=n.getUint16(0,0);let s;if(18761===o)s=!0;else{if(19789!==o)throw new TypeError("Invalid byte order value.");s=!1}const a=n.getUint16(2,s);let h;if(42===a)h=!1;else{if(43!==a)throw new TypeError("Invalid magic number.");h=!0;if(8!==n.getUint16(4,s))throw new Error("Unsupported offset byte-size.")}const l=h?n.getUint64(8,s):n.getUint32(4,s);return new Ce(t,s,h,l,e)}close(){return"function"==typeof this.source.close&&this.source.close()}}class Me extends ve{constructor(t,e){super(),this.mainFile=t,this.overviewFiles=e,this.imageFiles=[t].concat(e),this.fileDirectoriesPerFile=null,this.fileDirectoriesPerFileParsing=null,this.imageCount=null}async parseFileDirectoriesPerFile(){const t=[this.mainFile.parseFileDirectoryAt(this.mainFile.firstIFDOffset)].concat(this.overviewFiles.map((t=>t.parseFileDirectoryAt(t.firstIFDOffset))));return this.fileDirectoriesPerFile=await Promise.all(t),this.fileDirectoriesPerFile}async getImage(t=0){await this.getImageCount(),await this.parseFileDirectoriesPerFile();let e=0,r=0;for(let i=0;it.getImageCount())));return this.imageCounts=await Promise.all(t),this.imageCount=this.imageCounts.reduce(((t,e)=>t+e),0),this.imageCount}}async function _e(t,e={},r){return Ce.fromSource(se(t,e),r)}async function Ge(t,e={},r){return Ce.fromSource(function(t,{headers:e={},maxRanges:r=0,allowFullFile:i=!1,...n}={}){return oe(new ne(t,e,r,i),n)}(t,e),r)}async function ke(t,e){return Ce.fromSource(function(t){return new ae(t)}(t),e)}async function Fe(t,e){return Ce.fromSource(function(t){return new le(t)}(t),e)}async function Be(t,e){return Ce.fromSource(new he(t),e)}async function Le(t,e=[],r={},i){const n=await Ce.fromSource(se(t,r),i),o=await Promise.all(e.map((t=>Ce.fromSource(se(t,r)))));return new Me(n,o)}function xe(t,e){return function(t,e){let r,i,n,o;"number"==typeof t[0]?(r=e.height||e.ImageLength,n=e.width||e.ImageWidth,i=t.length/(r*n),o=t):(i=t.length,r=t[0].length,n=t[0][0].length,o=[],V(r,(e=>{V(n,(r=>{V(i,(i=>{o.push(t[i][e][r])}))}))}))),e.ImageLength=r,delete e.height,e.ImageWidth=n,delete e.width,e.BitsPerSample||(e.BitsPerSample=V(i,(()=>8))),Se.forEach((t=>{const r=t[0];if(!e[r]){const i=t[1];e[r]=i}})),e.PhotometricInterpretation||(e.PhotometricInterpretation=3===e.BitsPerSample.length?2:1),e.SamplesPerPixel||(e.SamplesPerPixel=[i]),e.StripByteCounts||(e.StripByteCounts=[i*r*n]),e.ModelPixelScale||(e.ModelPixelScale=[360/n,180/r,0]),e.SampleFormat||(e.SampleFormat=V(i,(()=>1))),e.hasOwnProperty("GeographicTypeGeoKey")||e.hasOwnProperty("ProjectedCSTypeGeoKey")||(e.GeographicTypeGeoKey=4326,e.ModelTiepoint=[0,0,0,-180,90,0],e.GeogCitationGeoKey="WGS 84",e.GTModelTypeGeoKey=2);const a=Object.keys(e).filter((t=>Y(t,"GeoKey"))).sort(((t,e)=>ue[t]-ue[e]));if(!e.GeoAsciiParams){let t="";a.forEach((r=>{const i=Number(ue[r]);"ASCII"===s[i]&&(t+=`${e[r].toString()}\0`)})),t.length>0&&(e.GeoAsciiParams=t)}if(!e.GeoKeyDirectory){const t=[1,1,0,a.length];a.forEach((r=>{const i=Number(ue[r]);let n,o,a;t.push(i),"SHORT"===s[i]?(n=1,o=0,a=e[r]):"GeogCitationGeoKey"===r?(n=e.GeoAsciiParams.length,o=Number(ue.GeoAsciiParams),a=0):console.log(`[geotiff.js] couldn't get TIFFTagLocation for ${r}`),t.push(o),t.push(n),t.push(a)})),e.GeoKeyDirectory=t}for(const t of a)e.hasOwnProperty(t)&&delete e[t];["Compression","ExtraSamples","GeographicTypeGeoKey","GTModelTypeGeoKey","GTRasterTypeGeoKey","ImageLength","ImageWidth","Orientation","PhotometricInterpretation","ProjectedCSTypeGeoKey","PlanarConfiguration","ResolutionUnit","SamplesPerPixel","XPosition","YPosition","RowsPerStrip"].forEach((t=>{e[t]&&(e[t]=be(e[t]))}));const h=me(e);return ye(o,n,r,h)}(t,e)}export{J as BaseClient,Pe as BaseDecoder,Z as BaseResponse,Ce as GeoTIFF,C as GeoTIFFImage,Me as MultiGeoTIFF,k as Pool,E as addDecoder,Ce as default,ke as fromArrayBuffer,Be as fromBlob,Ge as fromCustomClient,Fe as fromFile,_e as fromUrl,Le as fromUrls,I as getDecoder,p as globals,A as rgb,Te as setLogger,xe as writeArrayBuffer}; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/deflate.js._esm.js b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/deflate.js._esm.js new file mode 100644 index 0000000..5928e19 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/deflate.js._esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/geotiff@2.1.3/dist-module/compression/deflate.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import{inflate as e}from"../../../pako@2.1.0/_esm.js";function t(e,t){let r=e.length-t,n=0;do{for(let r=t;r>0;r--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function r(e,t,r){let n=0,o=e.length;const i=o/r;for(;o>t;){for(let r=t;r>0;--r)e[n+t]+=e[n],++n;o-=t}const l=e.slice();for(let t=0;t=e.byteLength);++a){let i;if(2===n){switch(l[0]){case 8:i=new Uint8Array(e,a*c*o*s,c*o*s);break;case 16:i=new Uint16Array(e,a*c*o*s,c*o*s/2);break;case 32:i=new Uint32Array(e,a*c*o*s,c*o*s/4);break;default:throw new Error(`Predictor 2 not allowed with ${l[0]} bits per sample.`)}t(i,c)}else 3===n&&(i=new Uint8Array(e,a*c*o*s,c*o*s),r(i,c,s))}return e}(o,i,n?e.TileWidth:e.ImageWidth,n?e.TileLength:e.RowsPerStrip||e.ImageLength,e.BitsPerSample,e.PlanarConfiguration)}return o}}class o extends n{decodeBlock(t){return e(new Uint8Array(t)).buffer}}export{o as default}; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/jpeg.js._esm.js b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/jpeg.js._esm.js new file mode 100644 index 0000000..56cda0c --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/jpeg.js._esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/geotiff@2.1.3/dist-module/compression/jpeg.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function e(e,n){let t=e.length-n,r=0;do{for(let t=n;t>0;t--)e[r+n]+=e[r],r++;t-=n}while(t>0)}function n(e,n,t){let r=0,s=e.length;const o=s/t;for(;s>n;){for(let t=n;t>0;--t)e[r+n]+=e[r],++r;s-=n}const a=e.slice();for(let n=0;n=t.byteLength);++i){let o;if(2===r){switch(a[0]){case 8:o=new Uint8Array(t,i*l*s*c,l*s*c);break;case 16:o=new Uint16Array(t,i*l*s*c,l*s*c/2);break;case 32:o=new Uint32Array(t,i*l*s*c,l*s*c/4);break;default:throw new Error(`Predictor 2 not allowed with ${a[0]} bits per sample.`)}e(o,l)}else 3===r&&(o=new Uint8Array(t,i*l*s*c,l*s*c),n(o,l,c))}return t}(s,o,r?t.TileWidth:t.ImageWidth,r?t.TileLength:t.RowsPerStrip||t.ImageLength,t.BitsPerSample,t.PlanarConfiguration)}return s}}const r=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),s=4017,o=799,a=3406,i=2276,c=1567,l=3784,f=5793,h=2896;function u(e,n){let t=0;const r=[];let s=16;for(;s>0&&!e[s-1];)--s;r.push({children:[],index:0});let o,a=r[0];for(let i=0;i0;)a=r.pop();for(a.index++,r.push(a);r.length<=i;)r.push(o={children:[],index:0}),a.children[a.index]=o.children,a=o;t++}i+10)return b--,d>>b&1;if(d=e[m++],255===d){const n=e[m++];if(n)throw new Error(`unexpected marker: ${(d<<8|n).toString(16)}`)}return b=7,d>>>7}function w(e){let n,t=e;for(;null!==(n=p());){if(t=t[n],"number"==typeof t)return t;if("object"!=typeof t)throw new Error("invalid huffman sequence")}return null}function k(e){let n=e,t=0;for(;n>0;){const e=p();if(null===e)return;t=t<<1|e,--n}return t}function g(e){const n=k(e);return n>=1<0)return void y--;let t=a;const s=i;for(;t<=s;){const s=w(e.huffmanTableAC),o=15&s,a=s>>4;if(0===o){if(a<15){y=k(a)+(1<>4,0===t)o<15?(y=k(o)+(1<>4;if(0===s){if(a<15)break;o+=16}else o+=a,n[r[o]]=g(s),o++}};let q,z,O=0;z=1===x?s[0].blocksPerLine*s[0].blocksPerColumn:f*t.mcusPerColumn;const M=o||z;for(;O=65488&&q<=65495))break;m+=2}return m-u}function d(e,n){const t=[],{blocksPerLine:r,blocksPerColumn:u}=n,m=r<<3,d=new Int32Array(64),b=new Uint8Array(64);function p(e,t,r){const u=n.quantizationTable;let m,d,b,p,w,k,g,y,P;const T=r;let A;for(A=0;A<64;A++)T[A]=e[A]*u[A];for(A=0;A<8;++A){const e=8*A;0!==T[1+e]||0!==T[2+e]||0!==T[3+e]||0!==T[4+e]||0!==T[5+e]||0!==T[6+e]||0!==T[7+e]?(m=f*T[0+e]+128>>8,d=f*T[4+e]+128>>8,b=T[2+e],p=T[6+e],w=h*(T[1+e]-T[7+e])+128>>8,y=h*(T[1+e]+T[7+e])+128>>8,k=T[3+e]<<4,g=T[5+e]<<4,P=m-d+1>>1,m=m+d+1>>1,d=P,P=b*l+p*c+128>>8,b=b*c-p*l+128>>8,p=P,P=w-g+1>>1,w=w+g+1>>1,g=P,P=y+k+1>>1,k=y-k+1>>1,y=P,P=m-p+1>>1,m=m+p+1>>1,p=P,P=d-b+1>>1,d=d+b+1>>1,b=P,P=w*i+y*a+2048>>12,w=w*a-y*i+2048>>12,y=P,P=k*o+g*s+2048>>12,k=k*s-g*o+2048>>12,g=P,T[0+e]=m+y,T[7+e]=m-y,T[1+e]=d+g,T[6+e]=d-g,T[2+e]=b+k,T[5+e]=b-k,T[3+e]=p+w,T[4+e]=p-w):(P=f*T[0+e]+512>>10,T[0+e]=P,T[1+e]=P,T[2+e]=P,T[3+e]=P,T[4+e]=P,T[5+e]=P,T[6+e]=P,T[7+e]=P)}for(A=0;A<8;++A){const e=A;0!==T[8+e]||0!==T[16+e]||0!==T[24+e]||0!==T[32+e]||0!==T[40+e]||0!==T[48+e]||0!==T[56+e]?(m=f*T[0+e]+2048>>12,d=f*T[32+e]+2048>>12,b=T[16+e],p=T[48+e],w=h*(T[8+e]-T[56+e])+2048>>12,y=h*(T[8+e]+T[56+e])+2048>>12,k=T[24+e],g=T[40+e],P=m-d+1>>1,m=m+d+1>>1,d=P,P=b*l+p*c+2048>>12,b=b*c-p*l+2048>>12,p=P,P=w-g+1>>1,w=w+g+1>>1,g=P,P=y+k+1>>1,k=y-k+1>>1,y=P,P=m-p+1>>1,m=m+p+1>>1,p=P,P=d-b+1>>1,d=d+b+1>>1,b=P,P=w*i+y*a+2048>>12,w=w*a-y*i+2048>>12,y=P,P=k*o+g*s+2048>>12,k=k*s-g*o+2048>>12,g=P,T[0+e]=m+y,T[56+e]=m-y,T[8+e]=d+g,T[48+e]=d-g,T[16+e]=b+k,T[40+e]=b-k,T[24+e]=p+w,T[32+e]=p-w):(P=f*r[A+0]+8192>>14,T[0+e]=P,T[8+e]=P,T[16+e]=P,T[24+e]=P,T[32+e]=P,T[40+e]=P,T[48+e]=P,T[56+e]=P)}for(A=0;A<64;++A){const e=128+(T[A]+8>>4);t[A]=e<0?0:e>255?255:e}}for(let e=0;e>4==0)for(let t=0;t<64;t++){o[r[t]]=e[n++]}else{if(s>>4!=1)throw new Error("DQT: invalid table spec");for(let e=0;e<64;e++){o[r[e]]=t()}}this.quantizationTables[15&s]=o}break}case 65472:case 65473:case 65474:{t();const r={extended:65473===a,progressive:65474===a,precision:e[n++],scanLines:t(),samplesPerLine:t(),components:{},componentsOrder:[]},s=e[n++];let i;for(let t=0;t>4,s=15&e[n+1],o=e[n+2];r.componentsOrder.push(i),r.components[i]={h:t,v:s,quantizationIdx:o},n+=3}o(r),this.frames.push(r);break}case 65476:{const r=t();for(let t=2;t>4==0?this.huffmanTablesDC[15&r]=u(s,a):this.huffmanTablesAC[15&r]=u(s,a)}break}case 65501:t(),this.resetInterval=t();break;case 65498:{t();const r=e[n++],s=[],o=this.frames[0];for(let t=0;t>4],t.huffmanTableAC=this.huffmanTablesAC[15&r],s.push(t)}const a=e[n++],i=e[n++],c=e[n++],l=m(e,n,o,s,this.resetInterval,a,i,c>>4,15&c);n+=l;break}case 65535:255!==e[n]&&n--;break;default:if(255===e[n-3]&&e[n-2]>=192&&e[n-2]<=254){n-=3;break}throw new Error(`unknown JPEG marker ${a.toString(16)}`)}a=t()}}getResult(){const{frames:e}=this;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(let e=0;e0;t--)e[n+r]+=e[n],n++;t-=r}while(t>0)}function o(e,r,t){let n=0,o=e.length;const i=o/t;for(;o>r;){for(let t=r;t>0;--t)e[n+r]+=e[n],++n;o-=r}const s=e.slice();for(let r=0;r=e.byteLength);++a){let i;if(2===r){switch(s[0]){case 8:i=new Uint8Array(e,a*d*t*l,d*t*l);break;case 16:i=new Uint16Array(e,a*d*t*l,d*t*l/2);break;case 32:i=new Uint32Array(e,a*d*t*l,d*t*l/4);break;default:throw new Error(`Predictor 2 not allowed with ${s[0]} bits per sample.`)}n(i,d)}else 3===r&&(i=new Uint8Array(e,a*d*t*l,d*t*l),o(i,d,l))}return e}(t,i,r?e.TileWidth:e.ImageWidth,r?e.TileLength:e.RowsPerStrip||e.ImageLength,e.BitsPerSample,e.PlanarConfiguration)}return t}}const s=1,a=0,l=1,d=2,c=new t;class f extends i{constructor(e){super(),this.planarConfiguration=void 0!==e.PlanarConfiguration?e.PlanarConfiguration:1,this.samplesPerPixel=void 0!==e.SamplesPerPixel?e.SamplesPerPixel:1,this.addCompression=e.LercParameters[s]}decodeBlock(t){switch(this.addCompression){case a:break;case l:t=e(new Uint8Array(t)).buffer;break;case d:t=c.decode(new Uint8Array(t)).buffer;break;default:throw new Error(`Unsupported LERC additional compression method identifier: ${this.addCompression}`)}return r.decode(t,{returnPixelInterleavedDims:1===this.planarConfiguration}).pixels[0].buffer}}export{f as default,c as zstd}; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/lzw.js._esm.js b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/lzw.js._esm.js new file mode 100644 index 0000000..021118c --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/lzw.js._esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/geotiff@2.1.3/dist-module/compression/lzw.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function e(e,t){let n=e.length-t,r=0;do{for(let n=t;n>0;n--)e[r+t]+=e[r],r++;n-=t}while(n>0)}function t(e,t,n){let r=0,o=e.length;const i=o/n;for(;o>t;){for(let n=t;n>0;--n)e[r+t]+=e[r],++r;o-=t}const l=e.slice();for(let t=0;t=n.byteLength);++s){let i;if(2===r){switch(l[0]){case 8:i=new Uint8Array(n,s*f*o*c,f*o*c);break;case 16:i=new Uint16Array(n,s*f*o*c,f*o*c/2);break;case 32:i=new Uint32Array(n,s*f*o*c,f*o*c/4);break;default:throw new Error(`Predictor 2 not allowed with ${l[0]} bits per sample.`)}e(i,f)}else 3===r&&(i=new Uint8Array(n,s*f*o*c,f*o*c),t(i,f,c))}return n}(o,i,r?n.TileWidth:n.ImageWidth,r?n.TileLength:n.RowsPerStrip||n.ImageLength,n.BitsPerSample,n.PlanarConfiguration)}return o}}const r=257;function o(e,t){for(let n=t.length-1;n>=0;n--)e.push(t[n]);return e}function i(e){const t=new Uint16Array(4093),n=new Uint8Array(4093);for(let e=0;e<=257;e++)t[e]=4096,n[e]=e;let i=258,l=9,s=0;function c(){i=258,l=9}function f(e){const t=function(e,t,n){const o=t%8,i=Math.floor(t/8),l=8-o,s=t+n-8*(i+1);let c=8*(i+2)-(t+n);const f=8*(i+2)-t;if(c=Math.max(0,c),i>=e.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),r;let a=e[i]&2**(8-o)-1;a<<=n-l;let h=a;if(i+1>>c;t<<=Math.max(0,n-f),h+=t}if(s>8&&i+2>>r}return h}(e,s,l);return s+=l,t}function a(e,r){return n[i]=r,t[i]=e,i++,i-1}function h(e){const r=[];for(let o=e;4096!==o;o=t[o])r.push(n[o]);return r}const u=[];c();const d=new Uint8Array(e);let w,g=f(d);for(;g!==r;){if(256===g){for(c(),g=f(d);256===g;)g=f(d);if(g===r)break;if(g>256)throw new Error(`corrupted code at scanline ${g}`);o(u,h(g)),w=g}else if(g=2**l&&(12===l?w=void 0:l++),g=f(d)}return new Uint8Array(u)}class l extends n{decodeBlock(e){return i(e).buffer}}export{l as default}; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/packbits.js._esm.js b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/packbits.js._esm.js new file mode 100644 index 0000000..0ce0f36 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/packbits.js._esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/geotiff@2.1.3/dist-module/compression/packbits.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function e(e,t){let r=e.length-t,n=0;do{for(let r=t;r>0;r--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function t(e,t,r){let n=0,o=e.length;const i=o/r;for(;o>t;){for(let r=t;r>0;--r)e[n+t]+=e[n],++n;o-=t}const l=e.slice();for(let t=0;t=r.byteLength);++s){let i;if(2===n){switch(l[0]){case 8:i=new Uint8Array(r,s*c*o*a,c*o*a);break;case 16:i=new Uint16Array(r,s*c*o*a,c*o*a/2);break;case 32:i=new Uint32Array(r,s*c*o*a,c*o*a/4);break;default:throw new Error(`Predictor 2 not allowed with ${l[0]} bits per sample.`)}e(i,c)}else 3===n&&(i=new Uint8Array(r,s*c*o*a,c*o*a),t(i,c,a))}return r}(o,i,n?r.TileWidth:r.ImageWidth,n?r.TileLength:r.RowsPerStrip||r.ImageLength,r.BitsPerSample,r.PlanarConfiguration)}return o}}class n extends r{decodeBlock(e){const t=new DataView(e),r=[];for(let n=0;n0;r--)e[n+t]+=e[n],n++;r-=t}while(r>0)}function t(e,t,r){let n=0,o=e.length;const i=o/r;for(;o>t;){for(let r=t;r>0;--r)e[n+t]+=e[n],++n;o-=t}const l=e.slice();for(let t=0;t=r.byteLength);++s){let i;if(2===n){switch(l[0]){case 8:i=new Uint8Array(r,s*c*o*a,c*o*a);break;case 16:i=new Uint16Array(r,s*c*o*a,c*o*a/2);break;case 32:i=new Uint32Array(r,s*c*o*a,c*o*a/4);break;default:throw new Error(`Predictor 2 not allowed with ${l[0]} bits per sample.`)}e(i,c)}else 3===n&&(i=new Uint8Array(r,s*c*o*a,c*o*a),t(i,c,a))}return r}(o,i,n?r.TileWidth:r.ImageWidth,n?r.TileLength:r.RowsPerStrip||r.ImageLength,r.BitsPerSample,r.PlanarConfiguration)}return o}}class n extends r{decodeBlock(e){return e}}export{n as default}; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/webimage.js._esm.js b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/webimage.js._esm.js new file mode 100644 index 0000000..29eb8f2 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/compression/webimage.js._esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/geotiff@2.1.3/dist-module/compression/webimage.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function e(e,t){let n=e.length-t,r=0;do{for(let n=t;n>0;n--)e[r+t]+=e[r],r++;n-=t}while(n>0)}function t(e,t,n){let r=0,a=e.length;const o=a/n;for(;a>t;){for(let n=t;n>0;--n)e[r+t]+=e[r],++r;a-=t}const i=e.slice();for(let t=0;t=n.byteLength);++s){let o;if(2===r){switch(i[0]){case 8:o=new Uint8Array(n,s*d*a*c,d*a*c);break;case 16:o=new Uint16Array(n,s*d*a*c,d*a*c/2);break;case 32:o=new Uint32Array(n,s*d*a*c,d*a*c/4);break;default:throw new Error(`Predictor 2 not allowed with ${i[0]} bits per sample.`)}e(o,d)}else 3===r&&(o=new Uint8Array(n,s*d*a*c,d*a*c),t(o,d,c))}return n}(a,o,r?n.TileWidth:n.ImageWidth,r?n.TileLength:n.RowsPerStrip||n.ImageLength,n.BitsPerSample,n.PlanarConfiguration)}return a}}class r extends n{constructor(){if(super(),"undefined"==typeof createImageBitmap)throw new Error("Cannot decode WebImage as `createImageBitmap` is not available");if("undefined"==typeof document&&"undefined"==typeof OffscreenCanvas)throw new Error("Cannot decode WebImage as neither `document` nor `OffscreenCanvas` is not available")}async decode(e,t){const n=new Blob([t]),r=await createImageBitmap(n);let a;"undefined"!=typeof document?(a=document.createElement("canvas"),a.width=r.width,a.height=r.height):a=new OffscreenCanvas(r.width,r.height);const o=a.getContext("2d");return o.drawImage(r,0,0),o.getImageData(0,0,r.width,r.height).data.buffer}}export{r as default}; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/worker/decoder.js._esm.js b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/worker/decoder.js._esm.js new file mode 100644 index 0000000..6c3f941 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/geotiff@2.1.3/dist-module/worker/decoder.js._esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/geotiff@2.1.3/dist-module/worker/decoder.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +import A from"../../../web-worker@1.3.0/_esm.js";var e="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},t=[],r=[],i="undefined"!=typeof Uint8Array?Uint8Array:Array,n=!1;function o(){n=!0;for(var A="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",e=0;e<64;++e)t[e]=A[e],r[A.charCodeAt(e)]=e;r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63}function a(A,e,r){for(var i,n,o=[],a=e;a>18&63]+t[n>>12&63]+t[n>>6&63]+t[63&n]);return o.join("")}function g(A){var e;n||o();for(var r=A.length,i=r%3,g="",I=[],B=16383,s=0,C=r-i;sC?C:s+B));return 1===i?(e=A[r-1],g+=t[e>>2],g+=t[e<<4&63],g+="=="):2===i&&(e=(A[r-2]<<8)+A[r-1],g+=t[e>>10],g+=t[e>>4&63],g+=t[e<<2&63],g+="="),I.push(g),I.join("")}function I(A,e,t,r,i){var n,o,a=8*i-r-1,g=(1<>1,B=-7,s=t?i-1:0,C=t?-1:1,Q=A[e+s];for(s+=C,n=Q&(1<<-B)-1,Q>>=-B,B+=a;B>0;n=256*n+A[e+s],s+=C,B-=8);for(o=n&(1<<-B)-1,n>>=-B,B+=r;B>0;o=256*o+A[e+s],s+=C,B-=8);if(0===n)n=1-I;else{if(n===g)return o?NaN:1/0*(Q?-1:1);o+=Math.pow(2,r),n-=I}return(Q?-1:1)*o*Math.pow(2,n-r)}function B(A,e,t,r,i,n){var o,a,g,I=8*n-i-1,B=(1<>1,C=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,Q=r?0:n-1,E=r?1:-1,f=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(a=isNaN(e)?1:0,o=B):(o=Math.floor(Math.log(e)/Math.LN2),e*(g=Math.pow(2,-o))<1&&(o--,g*=2),(e+=o+s>=1?C/g:C*Math.pow(2,1-s))*g>=2&&(o++,g/=2),o+s>=B?(a=0,o=B):o+s>=1?(a=(e*g-1)*Math.pow(2,i),o+=s):(a=e*Math.pow(2,s-1)*Math.pow(2,i),o=0));i>=8;A[t+Q]=255&a,Q+=E,a/=256,i-=8);for(o=o<0;A[t+Q]=255&o,Q+=E,o/=256,I-=8);A[t+Q-E]|=128*f}var s={}.toString,C=Array.isArray||function(A){return"[object Array]"==s.call(A)};function Q(){return f.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function E(A,e){if(Q()=Q())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+Q().toString(16)+" bytes");return 0|A}function d(A){return!(null==A||!A._isBuffer)}function y(A,e){if(d(A))return A.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(A)||A instanceof ArrayBuffer))return A.byteLength;"string"!=typeof A&&(A=""+A);var t=A.length;if(0===t)return 0;for(var r=!1;;)switch(e){case"ascii":case"latin1":case"binary":return t;case"utf8":case"utf-8":case void 0:return j(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*t;case"hex":return t>>>1;case"base64":return Z(A).length;default:if(r)return j(A).length;e=(""+e).toLowerCase(),r=!0}}function p(A,e,t){var r=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===t||t>this.length)&&(t=this.length),t<=0)return"";if((t>>>=0)<=(e>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":return J(this,e,t);case"utf8":case"utf-8":return b(this,e,t);case"ascii":return x(this,e,t);case"latin1":case"binary":return N(this,e,t);case"base64":return L(this,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return q(this,e,t);default:if(r)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),r=!0}}function D(A,e,t){var r=A[e];A[e]=A[t],A[t]=r}function m(A,e,t,r,i){if(0===A.length)return-1;if("string"==typeof t?(r=t,t=0):t>2147483647?t=2147483647:t<-2147483648&&(t=-2147483648),t=+t,isNaN(t)&&(t=i?0:A.length-1),t<0&&(t=A.length+t),t>=A.length){if(i)return-1;t=A.length-1}else if(t<0){if(!i)return-1;t=0}if("string"==typeof e&&(e=f.from(e,r)),d(e))return 0===e.length?-1:k(A,e,t,r,i);if("number"==typeof e)return e&=255,f.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(A,e,t):Uint8Array.prototype.lastIndexOf.call(A,e,t):k(A,[e],t,r,i);throw new TypeError("val must be string, number or Buffer")}function k(A,e,t,r,i){var n,o=1,a=A.length,g=e.length;if(void 0!==r&&("ucs2"===(r=String(r).toLowerCase())||"ucs-2"===r||"utf16le"===r||"utf-16le"===r)){if(A.length<2||e.length<2)return-1;o=2,a/=2,g/=2,t/=2}function I(A,e){return 1===o?A[e]:A.readUInt16BE(e*o)}if(i){var B=-1;for(n=t;na&&(t=a-g),n=t;n>=0;n--){for(var s=!0,C=0;Ci&&(r=i):r=i;var n=e.length;if(n%2!=0)throw new TypeError("Invalid hex string");r>n/2&&(r=n/2);for(var o=0;o>8,i=t%256,n.push(i),n.push(r);return n}(e,A.length-t),A,t,r)}function L(A,e,t){return 0===e&&t===A.length?g(A):g(A.slice(e,t))}function b(A,e,t){t=Math.min(A.length,t);for(var r=[],i=e;i239?4:I>223?3:I>191?2:1;if(i+s<=t)switch(s){case 1:I<128&&(B=I);break;case 2:128==(192&(n=A[i+1]))&&(g=(31&I)<<6|63&n)>127&&(B=g);break;case 3:n=A[i+1],o=A[i+2],128==(192&n)&&128==(192&o)&&(g=(15&I)<<12|(63&n)<<6|63&o)>2047&&(g<55296||g>57343)&&(B=g);break;case 4:n=A[i+1],o=A[i+2],a=A[i+3],128==(192&n)&&128==(192&o)&&128==(192&a)&&(g=(15&I)<<18|(63&n)<<12|(63&o)<<6|63&a)>65535&&g<1114112&&(B=g)}null===B?(B=65533,s=1):B>65535&&(B-=65536,r.push(B>>>10&1023|55296),B=56320|1023&B),r.push(B),i+=s}return function(A){var e=A.length;if(e<=M)return String.fromCharCode.apply(String,A);var t="",r=0;for(;r0&&(A=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(A+=" ... ")),""},f.prototype.compare=function(A,e,t,r,i){if(!d(A))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===t&&(t=A?A.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),e<0||t>A.length||r<0||i>this.length)throw new RangeError("out of range index");if(r>=i&&e>=t)return 0;if(r>=i)return-1;if(e>=t)return 1;if(this===A)return 0;for(var n=(i>>>=0)-(r>>>=0),o=(t>>>=0)-(e>>>=0),a=Math.min(n,o),g=this.slice(r,i),I=A.slice(e,t),B=0;Bi)&&(t=i),A.length>0&&(t<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");r||(r="utf8");for(var n=!1;;)switch(r){case"hex":return G(this,A,e,t);case"utf8":case"utf-8":return v(this,A,e,t);case"ascii":return S(this,A,e,t);case"latin1":case"binary":return R(this,A,e,t);case"base64":return F(this,A,e,t);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return U(this,A,e,t);default:if(n)throw new TypeError("Unknown encoding: "+r);r=(""+r).toLowerCase(),n=!0}},f.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var M=4096;function x(A,e,t){var r="";t=Math.min(A.length,t);for(var i=e;ir)&&(t=r);for(var i="",n=e;nt)throw new RangeError("Trying to access beyond buffer length")}function H(A,e,t,r,i,n){if(!d(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||eA.length)throw new RangeError("Index out of range")}function P(A,e,t,r){e<0&&(e=65535+e+1);for(var i=0,n=Math.min(A.length-t,2);i>>8*(r?i:1-i)}function K(A,e,t,r){e<0&&(e=4294967295+e+1);for(var i=0,n=Math.min(A.length-t,4);i>>8*(r?i:3-i)&255}function T(A,e,t,r,i,n){if(t+r>A.length)throw new RangeError("Index out of range");if(t<0)throw new RangeError("Index out of range")}function O(A,e,t,r,i){return i||T(A,0,t,4),B(A,e,t,r,23,4),t+4}function _(A,e,t,r,i){return i||T(A,0,t,8),B(A,e,t,r,52,8),t+8}f.prototype.slice=function(A,e){var t,r=this.length;if((A=~~A)<0?(A+=r)<0&&(A=0):A>r&&(A=r),(e=void 0===e?r:~~e)<0?(e+=r)<0&&(e=0):e>r&&(e=r),e0&&(i*=256);)r+=this[A+--e]*i;return r},f.prototype.readUInt8=function(A,e){return e||Y(A,1,this.length),this[A]},f.prototype.readUInt16LE=function(A,e){return e||Y(A,2,this.length),this[A]|this[A+1]<<8},f.prototype.readUInt16BE=function(A,e){return e||Y(A,2,this.length),this[A]<<8|this[A+1]},f.prototype.readUInt32LE=function(A,e){return e||Y(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},f.prototype.readUInt32BE=function(A,e){return e||Y(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},f.prototype.readIntLE=function(A,e,t){A|=0,e|=0,t||Y(A,e,this.length);for(var r=this[A],i=1,n=0;++n=(i*=128)&&(r-=Math.pow(2,8*e)),r},f.prototype.readIntBE=function(A,e,t){A|=0,e|=0,t||Y(A,e,this.length);for(var r=e,i=1,n=this[A+--r];r>0&&(i*=256);)n+=this[A+--r]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*e)),n},f.prototype.readInt8=function(A,e){return e||Y(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},f.prototype.readInt16LE=function(A,e){e||Y(A,2,this.length);var t=this[A]|this[A+1]<<8;return 32768&t?4294901760|t:t},f.prototype.readInt16BE=function(A,e){e||Y(A,2,this.length);var t=this[A+1]|this[A]<<8;return 32768&t?4294901760|t:t},f.prototype.readInt32LE=function(A,e){return e||Y(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},f.prototype.readInt32BE=function(A,e){return e||Y(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},f.prototype.readFloatLE=function(A,e){return e||Y(A,4,this.length),I(this,A,!0,23,4)},f.prototype.readFloatBE=function(A,e){return e||Y(A,4,this.length),I(this,A,!1,23,4)},f.prototype.readDoubleLE=function(A,e){return e||Y(A,8,this.length),I(this,A,!0,52,8)},f.prototype.readDoubleBE=function(A,e){return e||Y(A,8,this.length),I(this,A,!1,52,8)},f.prototype.writeUIntLE=function(A,e,t,r){(A=+A,e|=0,t|=0,r)||H(this,A,e,t,Math.pow(2,8*t)-1,0);var i=1,n=0;for(this[e]=255&A;++n=0&&(n*=256);)this[e+i]=A/n&255;return e+t},f.prototype.writeUInt8=function(A,e,t){return A=+A,e|=0,t||H(this,A,e,1,255,0),f.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[e]=255&A,e+1},f.prototype.writeUInt16LE=function(A,e,t){return A=+A,e|=0,t||H(this,A,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):P(this,A,e,!0),e+2},f.prototype.writeUInt16BE=function(A,e,t){return A=+A,e|=0,t||H(this,A,e,2,65535,0),f.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):P(this,A,e,!1),e+2},f.prototype.writeUInt32LE=function(A,e,t){return A=+A,e|=0,t||H(this,A,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e+3]=A>>>24,this[e+2]=A>>>16,this[e+1]=A>>>8,this[e]=255&A):K(this,A,e,!0),e+4},f.prototype.writeUInt32BE=function(A,e,t){return A=+A,e|=0,t||H(this,A,e,4,4294967295,0),f.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):K(this,A,e,!1),e+4},f.prototype.writeIntLE=function(A,e,t,r){if(A=+A,e|=0,!r){var i=Math.pow(2,8*t-1);H(this,A,e,t,i-1,-i)}var n=0,o=1,a=0;for(this[e]=255&A;++n>0)-a&255;return e+t},f.prototype.writeIntBE=function(A,e,t,r){if(A=+A,e|=0,!r){var i=Math.pow(2,8*t-1);H(this,A,e,t,i-1,-i)}var n=t-1,o=1,a=0;for(this[e+n]=255&A;--n>=0&&(o*=256);)A<0&&0===a&&0!==this[e+n+1]&&(a=1),this[e+n]=(A/o>>0)-a&255;return e+t},f.prototype.writeInt8=function(A,e,t){return A=+A,e|=0,t||H(this,A,e,1,127,-128),f.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[e]=255&A,e+1},f.prototype.writeInt16LE=function(A,e,t){return A=+A,e|=0,t||H(this,A,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8):P(this,A,e,!0),e+2},f.prototype.writeInt16BE=function(A,e,t){return A=+A,e|=0,t||H(this,A,e,2,32767,-32768),f.TYPED_ARRAY_SUPPORT?(this[e]=A>>>8,this[e+1]=255&A):P(this,A,e,!1),e+2},f.prototype.writeInt32LE=function(A,e,t){return A=+A,e|=0,t||H(this,A,e,4,2147483647,-2147483648),f.TYPED_ARRAY_SUPPORT?(this[e]=255&A,this[e+1]=A>>>8,this[e+2]=A>>>16,this[e+3]=A>>>24):K(this,A,e,!0),e+4},f.prototype.writeInt32BE=function(A,e,t){return A=+A,e|=0,t||H(this,A,e,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),f.TYPED_ARRAY_SUPPORT?(this[e]=A>>>24,this[e+1]=A>>>16,this[e+2]=A>>>8,this[e+3]=255&A):K(this,A,e,!1),e+4},f.prototype.writeFloatLE=function(A,e,t){return O(this,A,e,!0,t)},f.prototype.writeFloatBE=function(A,e,t){return O(this,A,e,!1,t)},f.prototype.writeDoubleLE=function(A,e,t){return _(this,A,e,!0,t)},f.prototype.writeDoubleBE=function(A,e,t){return _(this,A,e,!1,t)},f.prototype.copy=function(A,e,t,r){if(t||(t=0),r||0===r||(r=this.length),e>=A.length&&(e=A.length),e||(e=0),r>0&&r=this.length)throw new RangeError("sourceStart out of bounds");if(r<0)throw new RangeError("sourceEnd out of bounds");r>this.length&&(r=this.length),A.length-e=0;--i)A[i+e]=this[i+t];else if(n<1e3||!f.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,t=void 0===t?this.length:t>>>0,A||(A=0),"number"==typeof A)for(n=e;n55295&&t<57344){if(!i){if(t>56319){(e-=3)>-1&&n.push(239,191,189);continue}if(o+1===r){(e-=3)>-1&&n.push(239,191,189);continue}i=t;continue}if(t<56320){(e-=3)>-1&&n.push(239,191,189),i=t;continue}t=65536+(i-55296<<10|t-56320)}else i&&(e-=3)>-1&&n.push(239,191,189);if(i=null,t<128){if((e-=1)<0)break;n.push(t)}else if(t<2048){if((e-=2)<0)break;n.push(t>>6|192,63&t|128)}else if(t<65536){if((e-=3)<0)break;n.push(t>>12|224,t>>6&63|128,63&t|128)}else{if(!(t<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;n.push(t>>18|240,t>>12&63|128,t>>6&63|128,63&t|128)}}return n}function Z(A){return function(A){var e,t,a,g,I,B;n||o();var s=A.length;if(s%4>0)throw new Error("Invalid string. Length must be a multiple of 4");I="="===A[s-2]?2:"="===A[s-1]?1:0,B=new i(3*s/4-I),a=I>0?s-4:s;var C=0;for(e=0,t=0;e>16&255,B[C++]=g>>8&255,B[C++]=255&g;return 2===I?(g=r[A.charCodeAt(e)]<<2|r[A.charCodeAt(e+1)]>>4,B[C++]=255&g):1===I&&(g=r[A.charCodeAt(e)]<<10|r[A.charCodeAt(e+1)]<<4|r[A.charCodeAt(e+2)]>>2,B[C++]=g>>8&255,B[C++]=255&g),B}(function(A){if((A=function(A){return A.trim?A.trim():A.replace(/^\s+|\s+$/g,"")}(A).replace(V,"")).length<2)return"";for(;A.length%4!=0;)A+="=";return A}(A))}function W(A,e,t,r){for(var i=0;i=e.length||i>=A.length);++i)e[i+t]=A[i];return i}function z(A){return!!A.constructor&&"function"==typeof A.constructor.isBuffer&&A.constructor.isBuffer(A)}function $(){const e='function A(A,e,t,i,r,I,g){try{var n=A[I](g),a=n.value}catch(A){return void t(A)}n.done?e(a):Promise.resolve(a).then(i,r)}function e(e){return function(){var t=this,i=arguments;return new Promise((function(r,I){var g=e.apply(t,i);function n(e){A(g,r,I,n,a,"next",e)}function a(e){A(g,r,I,n,a,"throw",e)}n(void 0)}))}}function t(A){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},t(A)}var i={exports:{}};!function(A){var e=function(A){var e,i=Object.prototype,r=i.hasOwnProperty,I="function"==typeof Symbol?Symbol:{},g=I.iterator||"@@iterator",n=I.asyncIterator||"@@asyncIterator",a=I.toStringTag||"@@toStringTag";function o(A,e,t){return Object.defineProperty(A,e,{value:t,enumerable:!0,configurable:!0,writable:!0}),A[e]}try{o({},"")}catch(A){o=function(A,e,t){return A[e]=t}}function B(A,e,t,i){var r=e&&e.prototype instanceof h?e:h,I=Object.create(r.prototype),g=new S(i||[]);return I._invoke=function(A,e,t){var i=Q;return function(r,I){if(i===s)throw new Error("Generator is already running");if(i===f){if("throw"===r)throw I;return R()}for(t.method=r,t.arg=I;;){var g=t.delegate;if(g){var n=m(g,t);if(n){if(n===c)continue;return n}}if("next"===t.method)t.sent=t._sent=t.arg;else if("throw"===t.method){if(i===Q)throw i=f,t.arg;t.dispatchException(t.arg)}else"return"===t.method&&t.abrupt("return",t.arg);i=s;var a=C(A,e,t);if("normal"===a.type){if(i=t.done?f:E,a.arg===c)continue;return{value:a.arg,done:t.done}}"throw"===a.type&&(i=f,t.method="throw",t.arg=a.arg)}}}(A,t,g),I}function C(A,e,t){try{return{type:"normal",arg:A.call(e,t)}}catch(A){return{type:"throw",arg:A}}}A.wrap=B;var Q="suspendedStart",E="suspendedYield",s="executing",f="completed",c={};function h(){}function l(){}function u(){}var w={};o(w,g,(function(){return this}));var d=Object.getPrototypeOf,D=d&&d(d(v([])));D&&D!==i&&r.call(D,g)&&(w=D);var y=u.prototype=h.prototype=Object.create(w);function k(A){["next","throw","return"].forEach((function(e){o(A,e,(function(A){return this._invoke(e,A)}))}))}function p(A,e){function i(I,g,n,a){var o=C(A[I],A,g);if("throw"!==o.type){var B=o.arg,Q=B.value;return Q&&"object"===t(Q)&&r.call(Q,"__await")?e.resolve(Q.__await).then((function(A){i("next",A,n,a)}),(function(A){i("throw",A,n,a)})):e.resolve(Q).then((function(A){B.value=A,n(B)}),(function(A){return i("throw",A,n,a)}))}a(o.arg)}var I;this._invoke=function(A,t){function r(){return new e((function(e,r){i(A,t,e,r)}))}return I=I?I.then(r,r):r()}}function m(A,t){var i=A.iterator[t.method];if(i===e){if(t.delegate=null,"throw"===t.method){if(A.iterator.return&&(t.method="return",t.arg=e,m(A,t),"throw"===t.method))return c;t.method="throw",t.arg=new TypeError("The iterator does not provide a \'throw\' method")}return c}var r=C(i,A.iterator,t.arg);if("throw"===r.type)return t.method="throw",t.arg=r.arg,t.delegate=null,c;var I=r.arg;return I?I.done?(t[A.resultName]=I.value,t.next=A.nextLoc,"return"!==t.method&&(t.method="next",t.arg=e),t.delegate=null,c):I:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,c)}function G(A){var e={tryLoc:A[0]};1 in A&&(e.catchLoc=A[1]),2 in A&&(e.finallyLoc=A[2],e.afterLoc=A[3]),this.tryEntries.push(e)}function F(A){var e=A.completion||{};e.type="normal",delete e.arg,A.completion=e}function S(A){this.tryEntries=[{tryLoc:"root"}],A.forEach(G,this),this.reset(!0)}function v(A){if(A){var t=A[g];if(t)return t.call(A);if("function"==typeof A.next)return A;if(!isNaN(A.length)){var i=-1,I=function t(){for(;++i=0;--I){var g=this.tryEntries[I],n=g.completion;if("root"===g.tryLoc)return i("end");if(g.tryLoc<=this.prev){var a=r.call(g,"catchLoc"),o=r.call(g,"finallyLoc");if(a&&o){if(this.prev=0;--t){var i=this.tryEntries[t];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--e){var t=this.tryEntries[e];if(t.finallyLoc===A)return this.complete(t.completion,t.afterLoc),F(t),c}},catch:function(A){for(var e=this.tryEntries.length-1;e>=0;--e){var t=this.tryEntries[e];if(t.tryLoc===A){var i=t.completion;if("throw"===i.type){var r=i.arg;F(t)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(A,t,i){return this.delegate={iterator:v(A),resultName:t,nextLoc:i},"next"===this.method&&(this.arg=e),c}},A}(A.exports);try{regeneratorRuntime=e}catch(A){"object"===("undefined"==typeof globalThis?"undefined":t(globalThis))?globalThis.regeneratorRuntime=e:Function("r","regeneratorRuntime = r")(e)}}(i);var r=i.exports,I=new Map;function g(A,e){Array.isArray(A)||(A=[A]),A.forEach((function(A){return I.set(A,e)}))}function n(A){return a.apply(this,arguments)}function a(){return(a=e(r.mark((function A(e){var t,i;return r.wrap((function(A){for(;;)switch(A.prev=A.next){case 0:if(t=I.get(e.Compression)){A.next=3;break}throw new Error("Unknown compression method identifier: ".concat(e.Compression));case 3:return A.next=5,t();case 5:return i=A.sent,A.abrupt("return",new i(e));case 7:case"end":return A.stop()}}),A)})))).apply(this,arguments)}g([void 0,1],(function(){return Promise.resolve().then((function(){return y})).then((function(A){return A.default}))})),g(5,(function(){return Promise.resolve().then((function(){return F})).then((function(A){return A.default}))})),g(6,(function(){throw new Error("old style JPEG compression is not supported.")})),g(7,(function(){return Promise.resolve().then((function(){return N})).then((function(A){return A.default}))})),g([8,32946],(function(){return Promise.resolve().then((function(){return OA})).then((function(A){return A.default}))})),g(32773,(function(){return Promise.resolve().then((function(){return _A})).then((function(A){return A.default}))})),g(34887,(function(){return Promise.resolve().then((function(){return le})).then(function(){var A=e(r.mark((function A(e){return r.wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,e.zstd.init();case 2:return A.abrupt("return",e);case 3:case"end":return A.stop()}}),A)})));return function(e){return A.apply(this,arguments)}}()).then((function(A){return A.default}))})),g(50001,(function(){return Promise.resolve().then((function(){return de})).then((function(A){return A.default}))}));var o=globalThis;function B(A,e){if(!(A instanceof e))throw new TypeError("Cannot call a class as a function")}function C(A,e){for(var t=0;t0;r--)A[i+e]+=A[i],i++;t-=e}while(t>0)}function l(A,e,t){for(var i=0,r=A.length,I=r/t;r>e;){for(var g=e;g>0;--g)A[i+e]+=A[i],++i;r-=e}for(var n=A.slice(),a=0;a=A.byteLength);++o){var B=void 0;if(2===e){switch(r[0]){case 8:B=new Uint8Array(A,o*a*t*n,a*t*n);break;case 16:B=new Uint16Array(A,o*a*t*n,a*t*n/2);break;case 32:B=new Uint32Array(A,o*a*t*n,a*t*n/4);break;default:throw new Error("Predictor 2 not allowed with ".concat(r[0]," bits per sample."))}h(B,a)}else 3===e&&l(B=new Uint8Array(A,o*a*t*n,a*t*n),a,n)}return A}o.addEventListener("message",function(){var A=e(r.mark((function A(e){var t,i,I,g,a,B;return r.wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return t=e.data,i=t.id,I=t.fileDirectory,g=t.buffer,A.next=3,n(I);case 3:return a=A.sent,A.next=6,a.decode(I,g);case 6:B=A.sent,o.postMessage({decoded:B,id:i},[B]);case 8:case"end":return A.stop()}}),A)})));return function(e){return A.apply(this,arguments)}}());var w=function(){function A(){B(this,A)}var t;return Q(A,[{key:"decode",value:(t=e(r.mark((function A(e,t){var i,I,g,n,a;return r.wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return A.next=2,this.decodeBlock(t);case 2:if(i=A.sent,1===(I=e.Predictor||1)){A.next=9;break}return g=!e.StripOffsets,n=g?e.TileWidth:e.ImageWidth,a=g?e.TileLength:e.RowsPerStrip||e.ImageLength,A.abrupt("return",u(i,I,n,a,e.BitsPerSample,e.PlanarConfiguration));case 9:return A.abrupt("return",i);case 10:case"end":return A.stop()}}),A,this)}))),function(A,e){return t.apply(this,arguments)})}]),A}();function d(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var D=function(A){s(t,w);var e=d(t);function t(){return B(this,t),e.apply(this,arguments)}return Q(t,[{key:"decodeBlock",value:function(A){return A}}]),t}(),y=Object.freeze({__proto__:null,default:D});function k(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}function p(A,e){for(var t=e.length-1;t>=0;t--)A.push(e[t]);return A}function m(A){for(var e=new Uint16Array(4093),t=new Uint8Array(4093),i=0;i<=257;i++)e[i]=4096,t[i]=i;var r=258,I=9,g=0;function n(){r=258,I=9}function a(A){var e=function(A,e,t){var i=e%8,r=Math.floor(e/8),I=8-i,g=e+t-8*(r+1),n=8*(r+2)-(e+t),a=8*(r+2)-e;if(n=Math.max(0,n),r>=A.length)return console.warn("ran off the end of the buffer before finding EOI_CODE (end on input code)"),257;var o=A[r]&Math.pow(2,8-i)-1,B=o<<=t-I;if(r+1>>n;B+=C<<=Math.max(0,t-a)}if(g>8&&r+2>>Q}return B}(A,g,I);return g+=I,e}function o(A,i){return t[r]=i,e[r]=A,++r-1}function B(A){for(var i=[],r=A;4096!==r;r=e[r])i.push(t[r]);return i}var C=[];n();for(var Q,E=new Uint8Array(A),s=a(E);257!==s;){if(256===s){for(n(),s=a(E);256===s;)s=a(E);if(257===s)break;if(s>256)throw new Error("corrupted code at scanline ".concat(s));p(C,B(s)),Q=s}else if(s=Math.pow(2,I)&&(12===I?Q=void 0:I++),s=a(E)}return new Uint8Array(C)}var G=function(A){s(t,w);var e=k(t);function t(){return B(this,t),e.apply(this,arguments)}return Q(t,[{key:"decodeBlock",value:function(A){return m(A).buffer}}]),t}(),F=Object.freeze({__proto__:null,default:G});function S(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var v=new Int32Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]);function R(A,e){for(var t=0,i=[],r=16;r>0&&!A[r-1];)--r;i.push({children:[],index:0});for(var I,g=i[0],n=0;n0;)g=i.pop();for(g.index++,i.push(g);i.length<=n;)i.push(I={children:[],index:0}),g.children[g.index]=I.children,g=I;t++}n+10)return f--,s>>f&1;if(255===(s=A[E++])){var e=A[E++];if(e)throw new Error("unexpected marker: ".concat((s<<8|e).toString(16)))}return f=7,s>>>7}function h(A){for(var e,i=A;null!==(e=c());){if("number"==typeof(i=i[e]))return i;if("object"!==t(i))throw new Error("invalid huffman sequence")}return null}function l(A){for(var e=A,t=0;e>0;){var i=c();if(null===i)return;t=t<<1|i,--e}return t}function u(A){var e=l(A);return e>=1<0)w--;else for(var t=g,i=n;t<=i;){var r=h(A.huffmanTableAC),I=15&r,a=r>>4;if(0===I){if(a<15){w=l(a)+(1<>4,0===C)r<15?(w=l(r)+(1<>4;if(0===g){if(n<15)break;r+=16}else e[v[r+=n]]=u(g),r++}};var L,b,M=0;b=1===U?r[0].blocksPerLine*r[0].blocksPerColumn:B*i.mcusPerColumn;for(var N=I||b;M=65488&&L<=65495))break;E+=2}return E-Q}function L(A,e){var t=[],i=e.blocksPerLine,r=e.blocksPerColumn,I=i<<3,g=new Int32Array(64),n=new Uint8Array(64);function a(A,t,i){var r,I,g,n,a,o,B,C,Q,E,s=e.quantizationTable,f=i;for(E=0;E<64;E++)f[E]=A[E]*s[E];for(E=0;E<8;++E){var c=8*E;0!==f[1+c]||0!==f[2+c]||0!==f[3+c]||0!==f[4+c]||0!==f[5+c]||0!==f[6+c]||0!==f[7+c]?(r=5793*f[0+c]+128>>8,I=5793*f[4+c]+128>>8,g=f[2+c],n=f[6+c],a=2896*(f[1+c]-f[7+c])+128>>8,C=2896*(f[1+c]+f[7+c])+128>>8,o=f[3+c]<<4,Q=r-I+1>>1,r=r+I+1>>1,I=Q,Q=3784*g+1567*n+128>>8,g=1567*g-3784*n+128>>8,n=Q,Q=a-(B=f[5+c]<<4)+1>>1,a=a+B+1>>1,B=Q,Q=C+o+1>>1,o=C-o+1>>1,C=Q,Q=r-n+1>>1,r=r+n+1>>1,n=Q,Q=I-g+1>>1,I=I+g+1>>1,g=Q,Q=2276*a+3406*C+2048>>12,a=3406*a-2276*C+2048>>12,C=Q,Q=799*o+4017*B+2048>>12,o=4017*o-799*B+2048>>12,B=Q,f[0+c]=r+C,f[7+c]=r-C,f[1+c]=I+B,f[6+c]=I-B,f[2+c]=g+o,f[5+c]=g-o,f[3+c]=n+a,f[4+c]=n-a):(Q=5793*f[0+c]+512>>10,f[0+c]=Q,f[1+c]=Q,f[2+c]=Q,f[3+c]=Q,f[4+c]=Q,f[5+c]=Q,f[6+c]=Q,f[7+c]=Q)}for(E=0;E<8;++E){var h=E;0!==f[8+h]||0!==f[16+h]||0!==f[24+h]||0!==f[32+h]||0!==f[40+h]||0!==f[48+h]||0!==f[56+h]?(r=5793*f[0+h]+2048>>12,I=5793*f[32+h]+2048>>12,g=f[16+h],n=f[48+h],a=2896*(f[8+h]-f[56+h])+2048>>12,C=2896*(f[8+h]+f[56+h])+2048>>12,o=f[24+h],Q=r-I+1>>1,r=r+I+1>>1,I=Q,Q=3784*g+1567*n+2048>>12,g=1567*g-3784*n+2048>>12,n=Q,Q=a-(B=f[40+h])+1>>1,a=a+B+1>>1,B=Q,Q=C+o+1>>1,o=C-o+1>>1,C=Q,Q=r-n+1>>1,r=r+n+1>>1,n=Q,Q=I-g+1>>1,I=I+g+1>>1,g=Q,Q=2276*a+3406*C+2048>>12,a=3406*a-2276*C+2048>>12,C=Q,Q=799*o+4017*B+2048>>12,o=4017*o-799*B+2048>>12,B=Q,f[0+h]=r+C,f[56+h]=r-C,f[8+h]=I+B,f[48+h]=I-B,f[16+h]=g+o,f[40+h]=g-o,f[24+h]=n+a,f[32+h]=n-a):(Q=5793*i[E+0]+8192>>14,f[0+h]=Q,f[8+h]=Q,f[16+h]=Q,f[24+h]=Q,f[32+h]=Q,f[40+h]=Q,f[48+h]=Q,f[56+h]=Q)}for(E=0;E<64;++E){var l=128+(f[E]+8>>4);t[E]=l<0?0:l>255?255:l}}for(var o=0;o>4==0)for(var C=0;C<64;C++){B[v[C]]=A[e++]}else{if(o>>4!=1)throw new Error("DQT: invalid table spec");for(var Q=0;Q<64;Q++){B[v[Q]]=t()}}this.quantizationTables[15&o]=B}break;case 65472:case 65473:case 65474:t();for(var E={extended:65473===g,progressive:65474===g,precision:A[e++],scanLines:t(),samplesPerLine:t(),components:{},componentsOrder:[]},s=A[e++],f=void 0,c=0;c>4,l=15&A[e+1],u=A[e+2];E.componentsOrder.push(f),E.components[f]={h:h,v:l,quantizationIdx:u},e+=3}i(E),this.frames.push(E);break;case 65476:for(var w=t(),d=2;d>4==0?this.huffmanTablesDC[15&D]=R(y,m):this.huffmanTablesAC[15&D]=R(y,m)}break;case 65501:t(),this.resetInterval=t();break;case 65498:t();for(var F=A[e++],S=[],L=this.frames[0],b=0;b>4],M.huffmanTableAC=this.huffmanTablesAC[15&N],S.push(M)}var x=A[e++],J=A[e++],q=A[e++],Y=U(A,e,L,S,this.resetInterval,x,J,q>>4,15&q);e+=Y;break;case 65535:255!==A[e]&&e--;break;default:if(255===A[e-3]&&A[e-2]>=192&&A[e-2]<=254){e-=3;break}throw new Error("unknown JPEG marker ".concat(g.toString(16)))}g=t()}}},{key:"getResult",value:function(){var A=this.frames;if(0===this.frames.length)throw new Error("no frames were decoded");this.frames.length>1&&console.warn("more than one frame is not supported");for(var e=0;e=0;)A[e]=0}x(new Array(576)),x(new Array(60)),x(new Array(512)),x(new Array(256)),x(new Array(29)),x(new Array(30));var J=function(A,e,t,i){for(var r=65535&A|0,I=A>>>16&65535|0,g=0;0!==t;){t-=g=t>2e3?2e3:t;do{I=I+(r=r+e[i++]|0)|0}while(--g);r%=65521,I%=65521}return r|I<<16|0},q=new Uint32Array(function(){for(var A,e=[],t=0;t<256;t++){A=t;for(var i=0;i<8;i++)A=1&A?3988292384^A>>>1:A>>>1;e[t]=A}return e}()),Y=function(A,e,t,i){var r=q,I=i+t;A^=-1;for(var g=i;g>>8^r[255&(A^e[g])];return-1^A},K={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},H={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8},O=function(A,e){return Object.prototype.hasOwnProperty.call(A,e)},P=function(A){for(var e=Array.prototype.slice.call(arguments,1);e.length;){var i=e.shift();if(i){if("object"!==t(i))throw new TypeError(i+"must be non-object");for(var r in i)O(i,r)&&(A[r]=i[r])}}return A},T=function(A){for(var e=0,t=0,i=A.length;t=252?6:X>=248?5:X>=240?4:X>=224?3:X>=192?2:1;_[254]=_[254]=1;var Z=function(A){if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(A);var e,t,i,r,I,g=A.length,n=0;for(r=0;r>>6,e[I++]=128|63&t):t<65536?(e[I++]=224|t>>>12,e[I++]=128|t>>>6&63,e[I++]=128|63&t):(e[I++]=240|t>>>18,e[I++]=128|t>>>12&63,e[I++]=128|t>>>6&63,e[I++]=128|63&t);return e},j=function(A,e){var t,i,r=e||A.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(A.subarray(0,e));var I=new Array(2*r);for(i=0,t=0;t4)I[i++]=65533,t+=n-1;else{for(g&=2===n?31:3===n?15:7;n>1&&t1?I[i++]=65533:g<65536?I[i++]=g:(g-=65536,I[i++]=55296|g>>10&1023,I[i++]=56320|1023&g)}}}return function(A,e){if(e<65534&&A.subarray&&V)return String.fromCharCode.apply(null,A.length===e?A:A.subarray(0,e));for(var t="",i=0;iA.length&&(e=A.length);for(var t=e-1;t>=0&&128==(192&A[t]);)t--;return t<0||0===t?e:t+_[A[t]]>e?t:e};var z=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0},$=function(A,e){var t,i,r,I,g,n,a,o,B,C,Q,E,s,f,c,h,l,u,w,d,D,y,k,p,m=A.state;t=A.next_in,k=A.input,i=t+(A.avail_in-5),r=A.next_out,p=A.output,I=r-(e-A.avail_out),g=r+(A.avail_out-257),n=m.dmax,a=m.wsize,o=m.whave,B=m.wnext,C=m.window,Q=m.hold,E=m.bits,s=m.lencode,f=m.distcode,c=(1<>>=u=l>>>24,E-=u,0===(u=l>>>16&255))p[r++]=65535&l;else{if(!(16&u)){if(0==(64&u)){l=s[(65535&l)+(Q&(1<>>=u,E-=u),E<15&&(Q+=k[t++]<>>=u=l>>>24,E-=u,!(16&(u=l>>>16&255))){if(0==(64&u)){l=f[(65535&l)+(Q&(1<n){A.msg="invalid distance too far back",m.mode=30;break A}if(Q>>>=u,E-=u,d>(u=r-I)){if((u=d-u)>o&&m.sane){A.msg="invalid distance too far back",m.mode=30;break A}if(D=0,y=C,0===B){if(D+=a-u,u2;)p[r++]=y[D++],p[r++]=y[D++],p[r++]=y[D++],w-=3;w&&(p[r++]=y[D++],w>1&&(p[r++]=y[D++]))}else{D=r-d;do{p[r++]=p[D++],p[r++]=p[D++],p[r++]=p[D++],w-=3}while(w>2);w&&(p[r++]=p[D++],w>1&&(p[r++]=p[D++]))}break}}break}}while(t>3,Q&=(1<<(E-=w<<3))-1,A.next_in=t,A.next_out=r,A.avail_in=t=1&&0===v[d];d--);if(D>d&&(D=d),0===d)return r[I++]=20971520,r[I++]=20971520,n.bits=1,0;for(w=1;w0&&(0===A||1!==d))return-1;for(R[1]=0,l=1;l<15;l++)R[l+1]=R[l]+v[l];for(u=0;u852||2===A&&m>592)return 1;for(;;){s=l-k,g[u]E?(f=U[L+g[u]],c=F[S+g[u]]):(f=96,c=0),a=1<>k)+(o-=a)]=s<<24|f<<16|c|0}while(0!==o);for(a=1<>=1;if(0!==a?(G&=a-1,G+=a):G=0,u++,0==--v[l]){if(l===d)break;l=e[t+g[u]]}if(l>D&&(G&C)!==B){for(0===k&&(k=D),Q+=w,p=1<<(y=l-k);y+k852||2===A&&m>592)return 1;r[B=G&C]=D<<24|y<<16|Q-I|0}}return 0!==G&&(r[Q+G]=l-k<<24|64<<16|0),n.bits=D,0},IA=H.Z_FINISH,gA=H.Z_BLOCK,nA=H.Z_TREES,aA=H.Z_OK,oA=H.Z_STREAM_END,BA=H.Z_NEED_DICT,CA=H.Z_STREAM_ERROR,QA=H.Z_DATA_ERROR,EA=H.Z_MEM_ERROR,sA=H.Z_BUF_ERROR,fA=H.Z_DEFLATED,cA=function(A){return(A>>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24)};function hA(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}var lA,uA,wA=function(A){if(!A||!A.state)return CA;var e=A.state;return A.total_in=A.total_out=e.total=0,A.msg="",e.wrap&&(A.adler=1&e.wrap),e.mode=1,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,aA},dA=function(A){if(!A||!A.state)return CA;var e=A.state;return e.wsize=0,e.whave=0,e.wnext=0,wA(A)},DA=function(A,e){var t;if(!A||!A.state)return CA;var i=A.state;return e<0?(t=0,e=-e):(t=1+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?CA:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=t,i.wbits=e,dA(A))},yA=function(A,e){if(!A)return CA;var t=new hA;A.state=t,t.window=null;var i=DA(A,e);return i!==aA&&(A.state=null),i},kA=!0,pA=function(A){if(kA){lA=new Int32Array(512),uA=new Int32Array(32);for(var e=0;e<144;)A.lens[e++]=8;for(;e<256;)A.lens[e++]=9;for(;e<280;)A.lens[e++]=7;for(;e<288;)A.lens[e++]=8;for(rA(1,A.lens,0,288,lA,0,A.work,{bits:9}),e=0;e<32;)A.lens[e++]=5;rA(2,A.lens,0,32,uA,0,A.work,{bits:5}),kA=!1}A.lencode=lA,A.lenbits=9,A.distcode=uA,A.distbits=5},mA=function(A,e,t,i){var r,I=A.state;return null===I.window&&(I.wsize=1<=I.wsize?(I.window.set(e.subarray(t-I.wsize,t),0),I.wnext=0,I.whave=I.wsize):((r=I.wsize-I.wnext)>i&&(r=i),I.window.set(e.subarray(t-i,t-i+r),I.wnext),(i-=r)?(I.window.set(e.subarray(t-i,t),0),I.wnext=i,I.whave=I.wsize):(I.wnext+=r,I.wnext===I.wsize&&(I.wnext=0),I.whave>>8&255,t.check=Y(t.check,G,2,0),o=0,B=0,t.mode=2;break}if(t.flags=0,t.head&&(t.head.done=!1),!(1&t.wrap)||(((255&o)<<8)+(o>>8))%31){A.msg="incorrect header check",t.mode=30;break}if((15&o)!==fA){A.msg="unknown compression method",t.mode=30;break}if(B-=4,D=8+(15&(o>>>=4)),0===t.wbits)t.wbits=D;else if(D>t.wbits){A.msg="invalid window size",t.mode=30;break}t.dmax=1<>8&1),512&t.flags&&(G[0]=255&o,G[1]=o>>>8&255,t.check=Y(t.check,G,2,0)),o=0,B=0,t.mode=3;case 3:for(;B<32;){if(0===n)break A;n--,o+=i[I++]<>>8&255,G[2]=o>>>16&255,G[3]=o>>>24&255,t.check=Y(t.check,G,4,0)),o=0,B=0,t.mode=4;case 4:for(;B<16;){if(0===n)break A;n--,o+=i[I++]<>8),512&t.flags&&(G[0]=255&o,G[1]=o>>>8&255,t.check=Y(t.check,G,2,0)),o=0,B=0,t.mode=5;case 5:if(1024&t.flags){for(;B<16;){if(0===n)break A;n--,o+=i[I++]<>>8&255,t.check=Y(t.check,G,2,0)),o=0,B=0}else t.head&&(t.head.extra=null);t.mode=6;case 6:if(1024&t.flags&&((E=t.length)>n&&(E=n),E&&(t.head&&(D=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(i.subarray(I,I+E),D)),512&t.flags&&(t.check=Y(t.check,i,E,I)),n-=E,I+=E,t.length-=E),t.length))break A;t.length=0,t.mode=7;case 7:if(2048&t.flags){if(0===n)break A;E=0;do{D=i[I+E++],t.head&&D&&t.length<65536&&(t.head.name+=String.fromCharCode(D))}while(D&&E>9&1,t.head.done=!0),A.adler=t.check=0,t.mode=12;break;case 10:for(;B<32;){if(0===n)break A;n--,o+=i[I++]<>>=7&B,B-=7&B,t.mode=27;break}for(;B<3;){if(0===n)break A;n--,o+=i[I++]<>>=1)){case 0:t.mode=14;break;case 1:if(pA(t),t.mode=20,e===nA){o>>>=2,B-=2;break A}break;case 2:t.mode=17;break;case 3:A.msg="invalid block type",t.mode=30}o>>>=2,B-=2;break;case 14:for(o>>>=7&B,B-=7&B;B<32;){if(0===n)break A;n--,o+=i[I++]<>>16^65535)){A.msg="invalid stored block lengths",t.mode=30;break}if(t.length=65535&o,o=0,B=0,t.mode=15,e===nA)break A;case 15:t.mode=16;case 16:if(E=t.length){if(E>n&&(E=n),E>a&&(E=a),0===E)break A;r.set(i.subarray(I,I+E),g),n-=E,I+=E,a-=E,g+=E,t.length-=E;break}t.mode=12;break;case 17:for(;B<14;){if(0===n)break A;n--,o+=i[I++]<>>=5,B-=5,t.ndist=1+(31&o),o>>>=5,B-=5,t.ncode=4+(15&o),o>>>=4,B-=4,t.nlen>286||t.ndist>30){A.msg="too many length or distance symbols",t.mode=30;break}t.have=0,t.mode=18;case 18:for(;t.have>>=3,B-=3}for(;t.have<19;)t.lens[F[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,k={bits:t.lenbits},y=rA(0,t.lens,0,19,t.lencode,0,t.work,k),t.lenbits=k.bits,y){A.msg="invalid code lengths set",t.mode=30;break}t.have=0,t.mode=19;case 19:for(;t.have>>16&255,l=65535&m,!((c=m>>>24)<=B);){if(0===n)break A;n--,o+=i[I++]<>>=c,B-=c,t.lens[t.have++]=l;else{if(16===l){for(p=c+2;B>>=c,B-=c,0===t.have){A.msg="invalid bit length repeat",t.mode=30;break}D=t.lens[t.have-1],E=3+(3&o),o>>>=2,B-=2}else if(17===l){for(p=c+3;B>>=c)),o>>>=3,B-=3}else{for(p=c+7;B>>=c)),o>>>=7,B-=7}if(t.have+E>t.nlen+t.ndist){A.msg="invalid bit length repeat",t.mode=30;break}for(;E--;)t.lens[t.have++]=D}}if(30===t.mode)break;if(0===t.lens[256]){A.msg="invalid code -- missing end-of-block",t.mode=30;break}if(t.lenbits=9,k={bits:t.lenbits},y=rA(1,t.lens,0,t.nlen,t.lencode,0,t.work,k),t.lenbits=k.bits,y){A.msg="invalid literal/lengths set",t.mode=30;break}if(t.distbits=6,t.distcode=t.distdyn,k={bits:t.distbits},y=rA(2,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,k),t.distbits=k.bits,y){A.msg="invalid distances set",t.mode=30;break}if(t.mode=20,e===nA)break A;case 20:t.mode=21;case 21:if(n>=6&&a>=258){A.next_out=g,A.avail_out=a,A.next_in=I,A.avail_in=n,t.hold=o,t.bits=B,$(A,Q),g=A.next_out,r=A.output,a=A.avail_out,I=A.next_in,i=A.input,n=A.avail_in,o=t.hold,B=t.bits,12===t.mode&&(t.back=-1);break}for(t.back=0;h=(m=t.lencode[o&(1<>>16&255,l=65535&m,!((c=m>>>24)<=B);){if(0===n)break A;n--,o+=i[I++]<>u)])>>>16&255,l=65535&m,!(u+(c=m>>>24)<=B);){if(0===n)break A;n--,o+=i[I++]<>>=u,B-=u,t.back+=u}if(o>>>=c,B-=c,t.back+=c,t.length=l,0===h){t.mode=26;break}if(32&h){t.back=-1,t.mode=12;break}if(64&h){A.msg="invalid literal/length code",t.mode=30;break}t.extra=15&h,t.mode=22;case 22:if(t.extra){for(p=t.extra;B>>=t.extra,B-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=23;case 23:for(;h=(m=t.distcode[o&(1<>>16&255,l=65535&m,!((c=m>>>24)<=B);){if(0===n)break A;n--,o+=i[I++]<>u)])>>>16&255,l=65535&m,!(u+(c=m>>>24)<=B);){if(0===n)break A;n--,o+=i[I++]<>>=u,B-=u,t.back+=u}if(o>>>=c,B-=c,t.back+=c,64&h){A.msg="invalid distance code",t.mode=30;break}t.offset=l,t.extra=15&h,t.mode=24;case 24:if(t.extra){for(p=t.extra;B>>=t.extra,B-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){A.msg="invalid distance too far back",t.mode=30;break}t.mode=25;case 25:if(0===a)break A;if(E=Q-a,t.offset>E){if((E=t.offset-E)>t.whave&&t.sane){A.msg="invalid distance too far back",t.mode=30;break}E>t.wnext?(E-=t.wnext,s=t.wsize-E):s=t.wnext-E,E>t.length&&(E=t.length),f=t.window}else f=r,s=g-t.offset,E=t.length;E>a&&(E=a),a-=E,t.length-=E;do{r[g++]=f[s++]}while(--E);0===t.length&&(t.mode=21);break;case 26:if(0===a)break A;r[g++]=t.length,a--,t.mode=21;break;case 27:if(t.wrap){for(;B<32;){if(0===n)break A;n--,o|=i[I++]<=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||A&&A.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new z,this.strm.avail_out=0;var t=GA.inflateInit2(this.strm,e.windowBits);if(t!==UA)throw new Error(K[t]);if(this.header=new FA,GA.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Z(e.dictionary):"[object ArrayBuffer]"===SA.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(t=GA.inflateSetDictionary(this.strm,e.dictionary))!==UA))throw new Error(K[t])}function qA(A,e){var t=new JA(e);if(t.push(A),t.err)throw t.msg||K[t.err];return t.result}JA.prototype.push=function(A,e){var t,i,r,I=this.strm,g=this.options.chunkSize,n=this.options.dictionary;if(this.ended)return!1;for(i=e===~~e?e:!0===e?RA:vA,"[object ArrayBuffer]"===SA.call(A)?I.input=new Uint8Array(A):I.input=A,I.next_in=0,I.avail_in=I.input.length;;){for(0===I.avail_out&&(I.output=new Uint8Array(g),I.next_out=0,I.avail_out=g),(t=GA.inflate(I,i))===bA&&n&&((t=GA.inflateSetDictionary(I,n))===UA?t=GA.inflate(I,i):t===NA&&(t=bA));I.avail_in>0&&t===LA&&I.state.wrap>0&&0!==A[I.next_in];)GA.inflateReset(I),t=GA.inflate(I,i);switch(t){case MA:case NA:case bA:case xA:return this.onEnd(t),this.ended=!0,!1}if(r=I.avail_out,I.next_out&&(0===I.avail_out||t===LA))if("string"===this.options.to){var a=W(I.output,I.next_out),o=I.next_out-a,B=j(I.output,a);I.next_out=o,I.avail_out=g-o,o&&I.output.set(I.output.subarray(a,a+o),0),this.onData(B)}else this.onData(I.output.length===I.next_out?I.output:I.output.subarray(0,I.next_out));if(t!==UA||0!==r){if(t===LA)return t=GA.inflateEnd(this.strm),this.onEnd(t),this.ended=!0,!0;if(0===I.avail_in)break}}return!0},JA.prototype.onData=function(A){this.chunks.push(A)},JA.prototype.onEnd=function(A){A===UA&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=T(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg};var YA={Inflate:JA,inflate:qA,inflateRaw:function(A,e){return(e=e||{}).raw=!0,qA(A,e)},ungzip:qA,constants:H}.inflate;function KA(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var HA=function(A){s(t,w);var e=KA(t);function t(){return B(this,t),e.apply(this,arguments)}return Q(t,[{key:"decodeBlock",value:function(A){return YA(new Uint8Array(A)).buffer}}]),t}(),OA=Object.freeze({__proto__:null,default:HA});function PA(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var TA,VA=function(A){s(t,w);var e=PA(t);function t(){return B(this,t),e.apply(this,arguments)}return Q(t,[{key:"decodeBlock",value:function(A){for(var e=new DataView(A),t=[],i=0;i>3],m<<=7&G),c=0;c>3]),128&m?(a&&(a[G]=1),f=f>(g=S.encoding<2?y[k++]:p)?g:f,n[G++]=g):(a&&(a[G]=0),n[G++]=i),m<<=1;G+=F}else if(S.encoding<2)for(h=0;h(g=y[k++])?g:f,n[G++]=g;G+=F}else for(f=f>p?p:f,h=0;h0){var g=new Uint8Array(Math.ceil(i.width*i.height/8)),n=(I=new DataView(A,e,i.mask.numBytes)).getInt16(0,!0),a=2,o=0;do{if(n>0)for(;n--;)g[o++]=I.getUint8(a++);else{var B=I.getUint8(a++);for(n=-n;n--;)g[o++]=B}n=I.getInt16(a,!0),a+=2}while(a0?1:0),s=Q+(i.height%Q>0?1:0);i.pixels.blocks=new Array(E*s);for(var f=0,c=0;c3)throw"Invalid block encoding ("+w.encoding+")";if(2!==w.encoding){if(0!==d&&2!==d){if(d>>=6,w.offsetType=d,2===d)w.offset=I.getInt8(1),l++;else if(1===d)w.offset=I.getInt16(1,!0),l+=2;else{if(0!==d)throw"Invalid block offset type";w.offset=I.getFloat32(1,!0),l+=4}if(1===w.encoding)if(d=I.getUint8(l),l++,w.bitsPerPixel=63&d,d>>=6,w.numValidPixelsType=d,2===d)w.numValidPixels=I.getUint8(l),l++;else if(1===d)w.numValidPixels=I.getUint16(l,!0),l+=2;else{if(0!==d)throw"Invalid valid pixel count type";w.numValidPixels=I.getUint32(l,!0),l+=4}}var D;if(e+=l,3!==w.encoding)if(0===w.encoding){var y=(i.pixels.numBytes-1)/4;if(y!==Math.floor(y))throw"uncompressed block has invalid length";D=new ArrayBuffer(4*y),new Uint8Array(D).set(new Uint8Array(A,e,4*y));var k=new Float32Array(D);w.rawData=k,e+=4*y}else if(1===w.encoding){var p=Math.ceil(w.numValidPixels*w.bitsPerPixel/8),m=Math.ceil(p/4);D=new ArrayBuffer(4*m),new Uint8Array(D).set(new Uint8Array(A,e,p)),w.stuffedData=new Uint32Array(D),e+=p}}else e++}return i.eofOffset=e,i},I=function(A,e,t,i,r,I,g){var n,a,o,B=(1<=e)a=o>>>Q-e&B,Q-=e;else{var f=e-Q;a=(o&B)<>>(Q=32-f)}I[n]=a=t?(o=B>>>f-t&E,f-=t):(o=(B&E)<<(C=t-f)&E,o+=(B=A[s++])>>>(f=32-C)),e[a]=r[o];else for(Q=Math.ceil((n-I)/g),a=0;a=t?(o=B>>>f-t&E,f-=t):(o=(B&E)<<(C=t-f)&E,o+=(B=A[s++])>>>(f=32-C)),e[a]=o=e?(Q=g>>>C-e&n,C-=e):(Q=(g&n)<<(B=e-C)&n,Q+=(g=A[a++])>>>(C=32-B)),E[o]=Q=t?(o=B>>>f&Q,s-=t,f+=t):(o=B>>>f&Q,s=32-(C=t-s),o|=((B=A[E++])&(1<=t?(o=B>>>f&Q,s-=t,f+=t):(o=B>>>f&Q,s=32-(C=t-s),o|=((B=A[E++])&(1<=e?(Q=g>>>E&n,C-=e,E+=e):(Q=g>>>E&n,C=32-(B=e-C),Q|=((g=A[a++])&(1<=t?(I=g>>>B-t&a,B-=t):(I=(g&a)<<(n=t-B)&a,I+=(g=A[o++])>>>(B=32-n)),e[r]=I;return e},C=function(A,e,t,i){var r,I,g,n,a=(1<=t?(I=g>>>C&a,B-=t,C+=t):(I=g>>>C&a,B=32-(n=t-B),I|=((g=A[o++])&(1<=359?359:r;r-=g;do{e+=A[I++]<<8,t+=e+=A[I++]}while(--g);e=(65535&e)+(e>>>16),t=(65535&t)+(t>>>16)}return 1&i&&(t+=e+=A[I]<<8),((t=(65535&t)+(t>>>16))<<16|(e=(65535&e)+(e>>>16)))>>>0},readHeaderInfo:function(A,e){var t=e.ptr,i=new Uint8Array(A,t,6),r={};if(r.fileIdentifierString=String.fromCharCode.apply(null,i),0!==r.fileIdentifierString.lastIndexOf("Lerc2",0))throw"Unexpected file identifier string (expect Lerc2 ): "+r.fileIdentifierString;t+=6;var I,g=new DataView(A,t,8),n=g.getInt32(0,!0);if(r.fileVersion=n,t+=4,n>=3&&(r.checksum=g.getUint32(4,!0),t+=4),g=new DataView(A,t,12),r.height=g.getUint32(0,!0),r.width=g.getUint32(4,!0),t+=8,n>=4?(r.numDims=g.getUint32(8,!0),t+=4):r.numDims=1,g=new DataView(A,t,40),r.numValidPixel=g.getUint32(0,!0),r.microBlockSize=g.getInt32(4,!0),r.blobSize=g.getInt32(8,!0),r.imageType=g.getInt32(12,!0),r.maxZError=g.getFloat64(16,!0),r.zMin=g.getFloat64(24,!0),r.zMax=g.getFloat64(32,!0),t+=40,e.headerInfo=r,e.ptr=t,n>=3&&(I=n>=4?52:48,this.computeChecksumFletcher32(new Uint8Array(A,t-I,r.blobSize-14))!==r.checksum))throw"Checksum failed.";return!0},checkMinMaxRanges:function(A,e){var t=e.headerInfo,i=this.getDataTypeArray(t.imageType),r=t.numDims*this.getDataTypeSize(t.imageType),I=this.readSubArray(A,e.ptr,i,r),g=this.readSubArray(A,e.ptr+r,i,r);e.ptr+=2*r;var n,a=!0;for(n=0;n0){t=new Uint8Array(Math.ceil(g/8));var B=(a=new DataView(A,r,o.numBytes)).getInt16(0,!0),C=2,Q=0,E=0;do{if(B>0)for(;B--;)t[Q++]=a.getUint8(C++);else for(E=a.getUint8(C++),B=-B;B--;)t[Q++]=E;B=a.getInt16(C,!0),C+=2}while(C>3],s<<=7&f):s=t[f>>3],128&s&&(i[f]=1);e.pixels.resultMask=i,o.bitset=t,r+=o.numBytes}return e.ptr=r,e.mask=o,!0},readDataOneSweep:function(A,e,t,i){var r,I=e.ptr,g=e.headerInfo,n=g.numDims,a=g.width*g.height,o=g.imageType,B=g.numValidPixel*Q.getDataTypeSize(o)*n,C=e.pixels.resultMask;if(t===Uint8Array)r=new Uint8Array(A,I,B);else{var E=new ArrayBuffer(B);new Uint8Array(E).set(new Uint8Array(A,I,B)),r=new t(E)}if(r.length===a*n)e.pixels.resultPixels=i?Q.swapDimensionOrder(r,a,n,t,!0):r;else{e.pixels.resultPixels=new t(a*n);var s=0,f=0,c=0,h=0;if(n>1){if(i){for(f=0;f=g)return!1;var n=new Uint32Array(g-I);Q.decodeBits(A,e,n);var a,o,B,C,s=[];for(a=I;a0&&(s[o].second=l<>>32-C,32-w>=C?32===(w+=C)&&(w=0,l=u[++d]):(w+=C-32,l=u[++d],s[o].second|=l>>>32-w));var D=0,y=0,k=new E;for(a=0;a=t?t:D;var p,m,G,F,S,v=[];for(a=I;a0)if(p=[C,o],C<=y)for(m=s[o].second<=0;F--)m>>>F&1?(S.right||(S.right=new E),S=S.right):(S.left||(S.left=new E),S=S.left),0!==F||S.val||(S.val=p[1]);return{decodeLut:v,numBitsLUTQick:y,numBitsLUT:D,tree:k,stuffedData:u,srcPtr:d,bitPos:w}},readHuffman:function(A,e,t,i){var r,I,g,n,a,o,B,C,E,s=e.headerInfo.numDims,f=e.headerInfo.height,c=e.headerInfo.width,h=c*f,l=this.readHuffmanTree(A,e),u=l.decodeLut,w=l.tree,d=l.stuffedData,D=l.srcPtr,y=l.bitPos,k=l.numBitsLUTQick,p=l.numBitsLUT,m=0===e.headerInfo.imageType?128:0,G=e.pixels.resultMask,F=0;y>0&&(D++,y=0);var S,v=d[D],R=1===e.encodeMode,U=new t(h*s),L=U;if(s<2||R){for(S=0;S1&&(L=new t(U.buffer,h*S,h),F=0),e.headerInfo.numValidPixel===c*f)for(C=0,o=0;o>>32-k,32-y>>64-y-k),u[a])I=u[a][1],y+=u[a][0];else for(a=n=v<>>32-p,32-y>>64-y-p),r=w,E=0;E>>p-E-1&1?r.right:r.left).left&&!r.right){I=r.val,y=y+E+1;break}y>=32&&(y-=32,v=d[++D]),g=I-m,R?(g+=B>0?F:o>0?L[C-c]:F,g&=255,L[C]=g,F=g):L[C]=g}else for(C=0,o=0;o>>32-k,32-y>>64-y-k),u[a])I=u[a][1],y+=u[a][0];else for(a=n=v<>>32-p,32-y>>64-y-p),r=w,E=0;E>>p-E-1&1?r.right:r.left).left&&!r.right){I=r.val,y=y+E+1;break}y>=32&&(y-=32,v=d[++D]),g=I-m,R?(B>0&&G[C-1]?g+=F:o>0&&G[C-c]?g+=L[C-c]:g+=F,g&=255,L[C]=g,F=g):L[C]=g}}else for(C=0,o=0;o>>32-k,32-y>>64-y-k),u[a])I=u[a][1],y+=u[a][0];else for(a=n=v<>>32-p,32-y>>64-y-p),r=w,E=0;E>>p-E-1&1?r.right:r.left).left&&!r.right){I=r.val,y=y+E+1;break}y>=32&&(y-=32,v=d[++D]),g=I-m,L[C]=g}e.ptr=e.ptr+4*(D+1)+(y>0?4:0),e.pixels.resultPixels=U,s>1&&!i&&(e.pixels.resultPixels=Q.swapDimensionOrder(U,h,s,t))},decodeBits:function(A,e,t,i,r){var I=e.headerInfo,Q=I.fileVersion,E=0,s=A.byteLength-e.ptr>=5?5:A.byteLength-e.ptr,f=new DataView(A,e.ptr,s),c=f.getUint8(0);E++;var h=c>>6,l=0===h?4:3-h,u=(32&c)>0,w=31&c,d=0;if(1===l)d=f.getUint8(E),E++;else if(2===l)d=f.getUint16(E,!0),E+=2;else{if(4!==l)throw"Invalid valid pixel count type";d=f.getUint32(E,!0),E+=4}var D,y,k,p,m,G,F,S,v,R=2*I.maxZError,U=I.numDims>1?I.maxValues[r]:I.zMax;if(u){for(e.counter.lut++,S=f.getUint8(E),E++,p=Math.ceil((S-1)*w/8),m=Math.ceil(p/4),y=new ArrayBuffer(4*m),k=new Uint8Array(y),e.ptr+=E,k.set(new Uint8Array(A,e.ptr,p)),F=new Uint32Array(y),e.ptr+=p,v=0;S-1>>>v;)v++;p=Math.ceil(d*v/8),m=Math.ceil(p/4),y=new ArrayBuffer(4*m),(k=new Uint8Array(y)).set(new Uint8Array(A,e.ptr,p)),D=new Uint32Array(y),e.ptr+=p,G=Q>=3?o(F,w,S-1,i,R,U):n(F,w,S-1,i,R,U),Q>=3?a(D,t,v,d,G):g(D,t,v,d,G)}else e.counter.bitstuffer++,v=w,e.ptr+=E,v>0&&(p=Math.ceil(d*v/8),m=Math.ceil(p/4),y=new ArrayBuffer(4*m),(k=new Uint8Array(y)).set(new Uint8Array(A,e.ptr,p)),D=new Uint32Array(y),e.ptr+=p,Q>=3?null==i?C(D,t,v,d):a(D,t,v,d,!1,i,R,U):null==i?B(D,t,v,d):g(D,t,v,d,!1,i,R,U))},readTiles:function(A,e,t,i){var r=e.headerInfo,I=r.width,g=r.height,n=I*g,a=r.microBlockSize,o=r.imageType,B=Q.getDataTypeSize(o),C=Math.ceil(I/a),E=Math.ceil(g/a);e.pixels.numBlocksY=E,e.pixels.numBlocksX=C,e.pixels.ptr=0;var s,f,c,h,l,u,w,d,D,y,k=0,p=0,m=0,G=0,F=0,S=0,v=0,R=0,U=0,L=0,b=0,M=0,N=0,x=0,J=0,q=new t(a*a),Y=g%a||a,K=I%a||a,H=r.numDims,O=e.pixels.resultMask,P=e.pixels.resultPixels,T=r.fileVersion>=5?14:15,V=r.zMax;for(m=0;m1?(y=P,L=m*I*a+G*a,P=new t(e.pixels.resultPixels.buffer,n*d*B,n),V=r.maxValues[d]):y=null,v=A.byteLength-e.ptr,f={},J=0,R=(s=new DataView(A,e.ptr,Math.min(10,v))).getUint8(0),J++,D=r.fileVersion>=5?4&R:0,U=R>>6&255,(R>>2&T)!=(G*a>>3&T))throw"integrity issue";if(D&&0===d)throw"integrity issue";if((l=3&R)>3)throw e.ptr+=J,"Invalid block encoding ("+l+")";if(2!==l)if(0===l){if(D)throw"integrity issue";if(e.counter.uncompressed++,e.ptr+=J,M=(M=F*S*B)<(N=A.byteLength-e.ptr)?M:N,c=new ArrayBuffer(M%B==0?M:M+B-M%B),new Uint8Array(c).set(new Uint8Array(A,e.ptr,M)),h=new t(c),x=0,O)for(k=0;k1&&!i&&(e.pixels.resultPixels=Q.swapDimensionOrder(e.pixels.resultPixels,n,H,t))},formatFileInfo:function(A){return{fileIdentifierString:A.headerInfo.fileIdentifierString,fileVersion:A.headerInfo.fileVersion,imageType:A.headerInfo.imageType,height:A.headerInfo.height,width:A.headerInfo.width,numValidPixel:A.headerInfo.numValidPixel,microBlockSize:A.headerInfo.microBlockSize,blobSize:A.headerInfo.blobSize,maxZError:A.headerInfo.maxZError,pixelType:Q.getPixelType(A.headerInfo.imageType),eofOffset:A.eofOffset,mask:A.mask?{numBytes:A.mask.numBytes}:null,pixels:{numBlocksX:A.pixels.numBlocksX,numBlocksY:A.pixels.numBlocksY,maxValue:A.headerInfo.zMax,minValue:A.headerInfo.zMin,noDataValue:A.noDataValue}}},constructConstantSurface:function(A,e){var t=A.headerInfo.zMax,i=A.headerInfo.zMin,r=A.headerInfo.maxValues,I=A.headerInfo.numDims,g=A.headerInfo.height*A.headerInfo.width,n=0,a=0,o=0,B=A.pixels.resultMask,C=A.pixels.resultPixels;if(B)if(I>1){if(e)for(n=0;n1&&i!==t)if(e)for(n=0;n=-128&&e<=127;break;case 1:t=e>=0&&e<=255;break;case 2:t=e>=-32768&&e<=32767;break;case 3:t=e>=0&&e<=65536;break;case 4:t=e>=-2147483648&&e<=2147483647;break;case 5:t=e>=0&&e<=4294967296;break;case 6:t=e>=-34027999387901484e22&&e<=34027999387901484e22;break;case 7:t=e>=-17976931348623157e292&&e<=17976931348623157e292;break;default:t=!1}return t},getDataTypeSize:function(A){var e=0;switch(A){case 0:case 1:e=1;break;case 2:case 3:e=2;break;case 4:case 5:case 6:e=4;break;case 7:e=8;break;default:e=A}return e},getDataTypeUsed:function(A,e){var t=A;switch(A){case 2:case 4:t=A-e;break;case 3:case 5:t=A-2*e;break;case 6:t=0===e?A:1===e?2:1;break;case 7:t=0===e?A:A-2*e+1;break;default:t=A}return t},getOnePixel:function(A,e,t,i){var r=0;switch(t){case 0:r=i.getInt8(e);break;case 1:r=i.getUint8(e);break;case 2:r=i.getInt16(e,!0);break;case 3:r=i.getUint16(e,!0);break;case 4:r=i.getInt32(e,!0);break;case 5:r=i.getUInt32(e,!0);break;case 6:r=i.getFloat32(e,!0);break;case 7:r=i.getFloat64(e,!0);break;default:throw"the decoder does not understand this pixel type"}return r},swapDimensionOrder:function(A,e,t,i,r){var I=0,g=0,n=0,a=0,o=A;if(t>1)if(o=new i(e*t),r)for(I=0;I5)throw"unsupported lerc version 2."+g;Q.readMask(A,r),I.numValidPixel===I.width*I.height||r.pixels.resultMask||(r.pixels.resultMask=e.maskData);var a=I.width*I.height;r.pixels.resultPixels=new n(a*I.numDims),r.counter={onesweep:0,uncompressed:0,lut:0,bitstuffer:0,constant:0,constantoffset:0};var o,B=!e.returnPixelInterleavedDims;if(0!==I.numValidPixel)if(I.zMax===I.zMin)Q.constructConstantSurface(r,B);else if(g>=4&&Q.checkMinMaxRanges(A,r))Q.constructConstantSurface(r,B);else{var C=new DataView(A,r.ptr,2),E=C.getUint8(0);if(r.ptr++,E)Q.readDataOneSweep(A,r,n,B);else if(g>1&&I.imageType<=1&&Math.abs(I.maxZError-.5)<1e-5){var s=C.getUint8(1);if(r.ptr++,r.encodeMode=s,s>2||g<4&&s>1)throw"Invalid Huffman flag "+s;s?Q.readHuffman(A,r,n,B):Q.readTiles(A,r,n,B)}else Q.readTiles(A,r,n,B)}r.eofOffset=r.ptr,e.inputOffset?(o=r.headerInfo.blobSize+e.inputOffset-r.ptr,Math.abs(o)>=1&&(r.eofOffset=e.inputOffset+r.headerInfo.blobSize)):(o=r.headerInfo.blobSize-r.ptr,Math.abs(o)>=1&&(r.eofOffset=r.headerInfo.blobSize));var f={width:I.width,height:I.height,pixelData:r.pixels.resultPixels,minValue:I.zMin,maxValue:I.zMax,validPixelCount:I.numValidPixel,dimCount:I.numDims,dimStats:{minValues:I.minValues,maxValues:I.maxValues},maskData:r.pixels.resultMask};if(r.pixels.resultMask&&Q.isValidPixelValue(I.imageType,t)){var c=r.pixels.resultMask;for(i=0;i1&&(o&&f.push(o),d.fileInfo.mask&&d.fileInfo.mask.numBytes>0&&w++),E++,u.pixels.push(d.pixelData),u.statistics.push({minValue:d.minValue,maxValue:d.maxValue,noDataValue:d.noDataValue,dimStats:d.dimStats})}if(i>1&&w>1){for(Q=u.width*u.height,u.bandMasks=f,(o=new Uint8Array(Q)).set(f[0]),B=1;B1&&void 0!==arguments[1]?arguments[1]:0;if(!jA)throw new Error("ZSTDDecoder: Await .init() before decoding.");var t=A.byteLength,i=jA.exports.malloc(t);WA.set(A,i),e=e||Number(jA.exports.ZSTD_findDecompressedSize(i,t));var r=jA.exports.malloc(e),I=jA.exports.ZSTD_decompress(r,e,i,t),g=WA.slice(r,r+I);return jA.exports.free(i),jA.exports.free(r),g}}]),A}(),ee="AGFzbQEAAAABpQEVYAF/AX9gAn9/AGADf39/AX9gBX9/f39/AX9gAX8AYAJ/fwF/YAR/f39/AX9gA39/fwBgBn9/f39/fwF/YAd/f39/f39/AX9gAn9/AX5gAn5+AX5gAABgBX9/f39/AGAGf39/f39/AGAIf39/f39/f38AYAl/f39/f39/f38AYAABf2AIf39/f39/f38Bf2ANf39/f39/f39/f39/fwF/YAF/AX4CJwEDZW52H2Vtc2NyaXB0ZW5fbm90aWZ5X21lbW9yeV9ncm93dGgABANpaAEFAAAFAgEFCwACAQABAgIFBQcAAwABDgsBAQcAEhMHAAUBDAQEAAANBwQCAg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hBANAIAMgASgCADYCACABQQRqIQEgA0EEaiEDIARBfGoiBEEDSw0ACyACQQNxIQILIAJFDQADQCADIAEtAAA6AAAgA0EBaiEDIAFBAWohASACQX9qIgINAAsLIAAL8wICAn8BfgJAIAJFDQAgACACaiIDQX9qIAE6AAAgACABOgAAIAJBA0kNACADQX5qIAE6AAAgACABOgABIANBfWogAToAACAAIAE6AAIgAkEHSQ0AIANBfGogAToAACAAIAE6AAMgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIEayICQSBJDQAgAa0iBUIghiAFhCEFIAMgBGohAQNAIAEgBTcDGCABIAU3AxAgASAFNwMIIAEgBTcDACABQSBqIQEgAkFgaiICQR9LDQALCyAACy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAIajYCACADCy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAFajYCACADCx8AIAAgASACKAIEEAg2AgAgARAEGiAAIAJBCGo2AgQLCAAgAGdBH3MLugUBDX8jAEEQayIKJAACfyAEQQNNBEAgCkEANgIMIApBDGogAyAEEAsaIAAgASACIApBDGpBBBAVIgBBbCAAEAMbIAAgACAESxsMAQsgAEEAIAEoAgBBAXRBAmoQECENQVQgAygAACIGQQ9xIgBBCksNABogAiAAQQVqNgIAIAMgBGoiAkF8aiEMIAJBeWohDiACQXtqIRAgAEEGaiELQQQhBSAGQQR2IQRBICAAdCIAQQFyIQkgASgCACEPQQAhAiADIQYCQANAIAlBAkggAiAPS3JFBEAgAiEHAkAgCARAA0AgBEH//wNxQf//A0YEQCAHQRhqIQcgB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EAgACEBDAQLIARBAUcgACACa0EPSnINASAAIQMgAiEEA0AgAyAEEAwgBEEIaiEEIANBCGoiAyABSQ0ACwwCCwNAIAAgAhAHIAJBEGohAiAAQRBqIgAgAUkNAAsMAwsgACEDIAIhBANAIAMgBBAHIARBEGohBCADQRBqIgMgAUkNAAsLIAIgASAAa2ohAgsDQCABIAVPDQEgASACLQAAOgAAIAFBAWohASACQQFqIQIMAAALAAsLQQECfyAAIAAoArjgASIDNgLE4AEgACgCvOABIQQgACABNgK84AEgACABIAJqNgK44AEgACABIAQgA2tqNgLA4AELpgEBAX8gACAAKALs4QEQFjYCyOABIABCADcD+OABIABCADcDuOABIABBwOABakIANwMAIABBqNAAaiIBQYyAgOAANgIAIABBADYCmOIBIABCADcDiOEBIABCAzcDgOEBIABBrNABakHgEikCADcCACAAQbTQAWpB6BIoAgA2AgAgACABNgIMIAAgAEGYIGo2AgggACAAQaAwajYCBCAAIABBEGo2AgALYQEBf0G4fyEDAkAgAUEDSQ0AIAIgABAhIgFBA3YiADYCCCACIAFBAXE2AgQgAiABQQF2QQNxIgM2AgACQCADQX9qIgFBAksNAAJAIAFBAWsOAgEAAgtBbA8LIAAhAwsgAwsMACAAIAEgAkEAEC4LiAQCA38CfiADEBYhBCAAQQBBKBAQIQAgBCACSwRAIAQPCyABRQRAQX8PCwJAAkAgA0EBRg0AIAEoAAAiBkGo6r5pRg0AQXYhAyAGQXBxQdDUtMIBRw0BQQghAyACQQhJDQEgAEEAQSgQECEAIAEoAAQhASAAQQE2AhQgACABrTcDAEEADwsgASACIAMQLyIDIAJLDQAgACADNgIYQXIhAyABIARqIgVBf2otAAAiAkEIcQ0AIAJBIHEiBkUEQEFwIQMgBS0AACIFQacBSw0BIAVBB3GtQgEgBUEDdkEKaq2GIgdCA4h+IAd8IQggBEEBaiEECyACQQZ2IQMgAkECdiEFAkAgAkEDcUF/aiICQQJLBEBBACECDAELAkACQAJAIAJBAWsOAgECAAsgASAEai0AACECIARBAWohBAwCCyABIARq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iAPIA4gESAQEB4hCwwBCyACIARqIQggBCAKEAcgAkERTwRAIARBEGohAgNAIAIgCkEQaiIKEAcgAkEQaiICIAhJDQALCyAIIAlrIQIgByATNgJcIAkgCCAOa0sEQCAJIAggEWtLBEBBbCELDAILIBAgAiAOayICaiIKIANqIBBNBEAgCCAKIAMQDxoMAgsgCCAKQQAgAmsQDyEIIAcgAiADaiIDNgJkIAggAmshCCAOIQILIAlBEE8EQCADIAhqIQMDQCAIIAIQByACQRBqIQIgCEEQaiIIIANJDQALDAELAkAgCUEHTQRAIAggAi0AADoAACAIIAItAAE6AAEgCCACLQACOgACIAggAi0AAzoAAyAIQQRqIAIgCUECdCIDQcAeaigCAGoiAhAXIAIgA0HgHmooAgBrIQIgBygCZCEDDAELIAggAhAMCyADQQlJDQAgAyAIaiEDIAhBCGoiCCACQQhqIgJrQQ9MBEADQCAIIAIQDCACQQhqIQIgCEEIaiIIIANJDQAMAgALAAsDQCAIIAIQByACQRBqIQIgCEEQaiIIIANJDQALCyAHQRhqEAQaIAsgDCALEAMiAhshDCAEIAQgC2ogAhshBCAFQX9qIgUNAAsgDBADDQFBbCEMIAdBGGoQBEECSQ0BQQAhCANAIAhBA0cEQCAAIAhBAnQiAmpBrNABaiACIAdqKAJENgIAIAhBAWohCAwBCwsgBygCXCEIC0G6fyEMIA8gCGsiACANIARrSw0AIAQEfyAEIAggABALIABqBUEACyABayEMCyAHQfAAaiQAIAwLkRcCFn8FfiMAQdABayIHJAAgByAAKALw4QEiCDYCvAEgASACaiESIAggACgCgOIBaiETAkACQCAFRQRAIAEhAwwBCyAAKALE4AEhESAAKALA4AEhFSAAKAK84AEhDyAAQQE2AozhAUEAIQgDQCAIQQNHBEAgByAIQQJ0IgJqIAAgAmpBrNABaigCADYCVCAIQQFqIQgMAQsLIAcgETYCZCAHIA82AmAgByABIA9rNgJoQWwhECAHQShqIAMgBBAGEAMNASAFQQQgBUEESBshFyAHQTxqIAdBKGogACgCABATIAdBxABqIAdBKGogACgCCB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GgwCCyADQQRqIQMLIAQoAighAiAEKQMYIQcgAEEANgIEIAAgAyABazYCACAAIAIgBmytIAcgB0J/URs3AwgLIARBQGskAAslAQF/IwBBEGsiAiQAIAIgACABEFEgAigCACEAIAJBEGokACAAC30BBH8jAEGQBGsiBCQAIARB/wE2AggCQCAEQRBqIARBCGogBEEMaiABIAIQFSIGEAMEQCAGIQUMAQtBVCEFIAQoAgwiB0EGSw0AIAMgBEEQaiAEKAIIIAcQQSIFEAMNACAAIAEgBmogAiAGayADEDwhBQsgBEGQBGokACAFC4cBAgJ/An5BABAWIQMCQANAIAEgA08EQAJAIAAoAABBcHFB0NS0wgFGBEAgACABECIiAhADRQ0BQn4PCyAAIAEQVSIEQn1WDQMgBCAFfCIFIARUIQJCfiEEIAINAyAAIAEQUiICEAMNAwsgASACayEBIAAgAmohAAwBCwtCfiAFIAEbIQQLIAQLPwIBfwF+IwBBMGsiAiQAAn5CfiACQQhqIAAgARAtDQAaQgAgAigCHEEBRg0AGiACKQMICyEDIAJBMGokACADC40BAQJ/IwBBMGsiASQAAkAgAEUNACAAKAKI4gENACABIABB/OEBaigCADYCKCABIAApAvThATcDICAAEDAgACgCqOIBIQIgASABKAIoNgIYIAEgASkDIDcDECACIAFBEGoQGyAAQQA2AqjiASABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALKgECfyMAQRBrIgAkACAAQQA2AgggAEIANwMAIAAQWCEBIABBEGokACABC4cBAQN/IwBBEGsiAiQAAkAgACgCAEUgACgCBEVzDQAgAiAAKAIINgIIIAIgACkCADcDAAJ/IAIoAgAiAQRAIAIoAghBqOMJIAERBQAMAQtBqOMJECgLIgFFDQAgASAAKQIANwL04QEgAUH84QFqIAAoAgg2AgAgARBZIAEhAwsgAkEQaiQAIAMLywEBAn8jAEEgayIBJAAgAEGBgIDAADYCtOIBIABBADYCiOIBIABBADYC7OEBIABCADcDkOIBIABBADYCpOMJIABBADYC3OIBIABCADcCzOIBIABBADYCvOIBIABBADYCxOABIABCADcCnOIBIABBpOIBakIANwIAIABBrOIBakEANgIAIAFCADcCECABQgA3AhggASABKQMYNwMIIAEgASkDEDcDACABKAIIQQh2QQFxIQIgAEEANgLg4gEgACACNgKM4gEgAUEgaiQAC3YBA38jAEEwayIBJAAgAARAIAEgAEHE0AFqIgIoAgA2AiggASAAKQK80AE3AyAgACgCACEDIAEgAigCADYCGCABIAApArzQATcDECADIAFBEGoQGyABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALzAEBAX8gACABKAK00AE2ApjiASAAIAEoAgQiAjYCwOABIAAgAjYCvOABIAAgAiABKAIIaiICNgK44AEgACACNgLE4AEgASgCuNABBEAgAEKBgICAEDcDiOEBIAAgAUGk0ABqNgIMIAAgAUGUIGo2AgggACABQZwwajYCBCAAIAFBDGo2AgAgAEGs0AFqIAFBqNABaigCADYCACAAQbDQAWogAUGs0AFqKAIANgIAIABBtNABaiABQbDQAWooAgA2AgAPCyAAQgA3A4jhAQs7ACACRQRAQbp/DwsgBEUEQEFsDwsgAiAEEGAEQCAAIAEgAiADIAQgBRBhDwsgACABIAIgAyAEIAUQZQtGAQF/IwBBEGsiBSQAIAVBCGogBBAOAn8gBS0ACQRAIAAgASACIAMgBBAyDAELIAAgASACIAMgBBA0CyEAIAVBEGokACAACzQAIAAgAyAEIAUQNiIFEAMEQCAFDwsgBSAESQR/IAEgAiADIAVqIAQgBWsgABA1BUG4fwsLRgEBfyMAQRBrIgUkACAFQQhqIAQQDgJ/IAUtAAkEQCAAIAEgAiADIAQQYgwBCyAAIAEgAiADIAQQNQshACAFQRBqJAAgAAtZAQF/QQ8hAiABIABJBEAgAUEEdCAAbiECCyAAQQh2IgEgAkEYbCIAQYwIaigCAGwgAEGICGooAgBqIgJBA3YgAmogAEGACGooAgAgAEGECGooAgAgAWxqSQs3ACAAIAMgBCAFQYAQEDMiBRADBEAgBQ8LIAUgBEkEfyABIAIgAyAFaiAEIAVrIAAQMgVBuH8LC78DAQN/IwBBIGsiBSQA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ikAAAAAAAIGLwAAAAAAAwY7AAAAAAAEBlMAAAAAAAcGgwAAAAAACQYDAgAAEAAABAQAAAAAAAAEBQAAACAAAAUGAAAAAAAABQcAAAAgAAAFCQAAAAAAAAUKAAAAAAAABgwAAAAAAAAGDwAAAAAAAAYSAAAAAAAABhUAAAAAAAAGGAAAAAAAAAYbAAAAAAAABh4AAAAAAAAGIQAAAAAAAQYjAAAAAAABBicAAAAAAAIGKwAAAAAAAwYzAAAAAAAEBkMAAAAAAAUGYwAAAAAACAYDAQAAIAAABAQAAAAwAAAEBAAAABAAAAQFAAAAIAAABQcAAAAgAAAFCAAAACAAAAUKAAAAIAAABQsAAAAAAAAGDgAAAAAAAAYRAAAAAAAABhQAAAAAAAAGFwAAAAAAAAYaAAAAAAAABh0AAAAAAAAGIAAAAAAAEAYDAAEAAAAPBgOAAAAAAA4GA0AAAAAADQYDIAAAAAAMBgMQAAAAAAsGAwgAAAAACgYDBABBpB0L2QEBAAAAAwAAAAcAAAAPAAAAHwAAAD8AAAB/AAAA/wAAAP8BAAD/AwAA/wcAAP8PAAD/HwAA/z8AAP9/AAD//wAA//8BAP//AwD//wcA//8PAP//HwD//z8A//9/AP///wD///8B////A////wf///8P////H////z////9/AAAAAAEAAAACAAAABAAAAAAAAAACAAAABAAAAAgAAAAAAAAAAQAAAAIAAAABAAAABAAAAAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAcAAAAIAAAACQAAAAoAAAALAEGgIAsDwBBQ",te={315:"Artist",258:"BitsPerSample",265:"CellLength",264:"CellWidth",320:"ColorMap",259:"Compression",33432:"Copyright",306:"DateTime",338:"ExtraSamples",266:"FillOrder",289:"FreeByteCounts",288:"FreeOffsets",291:"GrayResponseCurve",290:"GrayResponseUnit",316:"HostComputer",270:"ImageDescription",257:"ImageLength",256:"ImageWidth",271:"Make",281:"MaxSampleValue",280:"MinSampleValue",272:"Model",254:"NewSubfileType",274:"Orientation",262:"PhotometricInterpretation",284:"PlanarConfiguration",296:"ResolutionUnit",278:"RowsPerStrip",277:"SamplesPerPixel",305:"Software",279:"StripByteCounts",273:"StripOffsets",255:"SubfileType",263:"Threshholding",282:"XResolution",283:"YResolution",326:"BadFaxLines",327:"CleanFaxData",343:"ClipPath",328:"ConsecutiveBadFaxLines",433:"Decode",434:"DefaultImageColor",269:"DocumentName",336:"DotRange",321:"HalftoneHints",346:"Indexed",347:"JPEGTables",285:"PageName",297:"PageNumber",317:"Predictor",319:"PrimaryChromaticities",532:"ReferenceBlackWhite",339:"SampleFormat",340:"SMinSampleValue",341:"SMaxSampleValue",559:"StripRowCounts",330:"SubIFDs",292:"T4Options",293:"T6Options",325:"TileByteCounts",323:"TileLength",324:"TileOffsets",322:"TileWidth",301:"TransferFunction",318:"WhitePoint",344:"XClipPathUnits",286:"XPosition",529:"YCbCrCoefficients",531:"YCbCrPositioning",530:"YCbCrSubSampling",345:"YClipPathUnits",287:"YPosition",37378:"ApertureValue",40961:"ColorSpace",36868:"DateTimeDigitized",36867:"DateTimeOriginal",34665:"Exif IFD",36864:"ExifVersion",33434:"ExposureTime",41728:"FileSource",37385:"Flash",40960:"FlashpixVersion",33437:"FNumber",42016:"ImageUniqueID",37384:"LightSource",37500:"MakerNote",37377:"ShutterSpeedValue",37510:"UserComment",33723:"IPTC",34675:"ICC Profile",700:"XMP",42112:"GDAL_METADATA",42113:"GDAL_NODATA",34377:"Photoshop",33550:"ModelPixelScale",33922:"ModelTiepoint",34264:"ModelTransformation",34735:"GeoKeyDirectory",34736:"GeoDoubleParams",34737:"GeoAsciiParams",50674:"LercParameters"},ie={};for(var re in te)te.hasOwnProperty(re)&&(ie[te[re]]=parseInt(re,10));ie.BitsPerSample,ie.ExtraSamples,ie.SampleFormat,ie.StripByteCounts,ie.StripOffsets,ie.StripRowCounts,ie.TileByteCounts,ie.TileOffsets,ie.SubIFDs;var Ie={1:"BYTE",2:"ASCII",3:"SHORT",4:"LONG",5:"RATIONAL",6:"SBYTE",7:"UNDEFINED",8:"SSHORT",9:"SLONG",10:"SRATIONAL",11:"FLOAT",12:"DOUBLE",13:"IFD",16:"LONG8",17:"SLONG8",18:"IFD8"},ge={};for(var ne in Ie)Ie.hasOwnProperty(ne)&&(ge[Ie[ne]]=parseInt(ne,10));var ae=1,oe=0,Be=1,Ce=2,Qe={1024:"GTModelTypeGeoKey",1025:"GTRasterTypeGeoKey",1026:"GTCitationGeoKey",2048:"GeographicTypeGeoKey",2049:"GeogCitationGeoKey",2050:"GeogGeodeticDatumGeoKey",2051:"GeogPrimeMeridianGeoKey",2052:"GeogLinearUnitsGeoKey",2053:"GeogLinearUnitSizeGeoKey",2054:"GeogAngularUnitsGeoKey",2055:"GeogAngularUnitSizeGeoKey",2056:"GeogEllipsoidGeoKey",2057:"GeogSemiMajorAxisGeoKey",2058:"GeogSemiMinorAxisGeoKey",2059:"GeogInvFlatteningGeoKey",2060:"GeogAzimuthUnitsGeoKey",2061:"GeogPrimeMeridianLongGeoKey",2062:"GeogTOWGS84GeoKey",3072:"ProjectedCSTypeGeoKey",3073:"PCSCitationGeoKey",3074:"ProjectionGeoKey",3075:"ProjCoordTransGeoKey",3076:"ProjLinearUnitsGeoKey",3077:"ProjLinearUnitSizeGeoKey",3078:"ProjStdParallel1GeoKey",3079:"ProjStdParallel2GeoKey",3080:"ProjNatOriginLongGeoKey",3081:"ProjNatOriginLatGeoKey",3082:"ProjFalseEastingGeoKey",3083:"ProjFalseNorthingGeoKey",3084:"ProjFalseOriginLongGeoKey",3085:"ProjFalseOriginLatGeoKey",3086:"ProjFalseOriginEastingGeoKey",3087:"ProjFalseOriginNorthingGeoKey",3088:"ProjCenterLongGeoKey",3089:"ProjCenterLatGeoKey",3090:"ProjCenterEastingGeoKey",3091:"ProjCenterNorthingGeoKey",3092:"ProjScaleAtNatOriginGeoKey",3093:"ProjScaleAtCenterGeoKey",3094:"ProjAzimuthAngleGeoKey",3095:"ProjStraightVertPoleLongGeoKey",3096:"ProjRectifiedGridAngleGeoKey",4096:"VerticalCSTypeGeoKey",4097:"VerticalCitationGeoKey",4098:"VerticalDatumGeoKey",4099:"VerticalUnitsGeoKey"},Ee={};for(var se in Qe)Qe.hasOwnProperty(se)&&(Ee[Qe[se]]=parseInt(se,10));function fe(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var ce=new Ae,he=function(A){s(t,w);var e=fe(t);function t(A){var i;return B(this,t),(i=e.call(this)).planarConfiguration=void 0!==A.PlanarConfiguration?A.PlanarConfiguration:1,i.samplesPerPixel=void 0!==A.SamplesPerPixel?A.SamplesPerPixel:1,i.addCompression=A.LercParameters[ae],i}return Q(t,[{key:"decodeBlock",value:function(A){switch(this.addCompression){case oe:break;case Be:A=YA(new Uint8Array(A)).buffer;break;case Ce:A=ce.decode(new Uint8Array(A)).buffer;break;default:throw new Error("Unsupported LERC additional compression method identifier: ".concat(this.addCompression))}return zA.decode(A,{returnPixelInterleavedDims:1===this.planarConfiguration}).pixels[0].buffer}}]),t}(),le=Object.freeze({__proto__:null,zstd:ce,default:he});function ue(A){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(A){return!1}}();return function(){var t,i=c(A);if(e){var r=c(this).constructor;t=Reflect.construct(i,arguments,r)}else t=i.apply(this,arguments);return f(this,t)}}var we=function(A){s(I,w);var t,i=ue(I);function I(){var A;if(B(this,I),A=i.call(this),"undefined"==typeof createImageBitmap)throw new Error("Cannot decode WebImage as `createImageBitmap` is not available");if("undefined"==typeof document&&"undefined"==typeof OffscreenCanvas)throw new Error("Cannot decode WebImage as neither `document` nor `OffscreenCanvas` is not available");return A}return Q(I,[{key:"decode",value:(t=e(r.mark((function A(e,t){var i,I,g,n;return r.wrap((function(A){for(;;)switch(A.prev=A.next){case 0:return i=new Blob([t]),A.next=3,createImageBitmap(i);case 3:return I=A.sent,"undefined"!=typeof document?((g=document.createElement("canvas")).width=I.width,g.height=I.height):g=new OffscreenCanvas(I.width,I.height),(n=g.getContext("2d")).drawImage(I,0,0),A.abrupt("return",n.getImageData(0,0,I.width,I.height).data.buffer);case 8:case"end":return A.stop()}}),A)}))),function(A,e){return t.apply(this,arguments)})}]),I}(),de=Object.freeze({__proto__:null,default:we});';return new A(void 0!==f?"data:application/javascript;base64,"+f.from(e,"binary").toString("base64"):URL.createObjectURL(new Blob([e],{type:"application/javascript"})))}export{$ as create};export default null; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/htl@0.3.1/_esm.js b/ICIMOD_land_cover_nepal_dist/_npm/htl@0.3.1/_esm.js new file mode 100644 index 0000000..ec995d5 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/htl@0.3.1/_esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/htl@0.3.1/src/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function e(e){const t=document.createElement("template");return t.innerHTML=e,document.importNode(t.content,!0)}function t(e){const t=document.createElementNS("http://www.w3.org/2000/svg","g");return t.innerHTML=e,t}const r=Object.assign(oe(e,(e=>{if(null===e.firstChild)return null;if(e.firstChild===e.lastChild)return e.removeChild(e.firstChild);const t=document.createElement("span");return t.appendChild(e),t})),{fragment:oe(e,(e=>e))}),n=Object.assign(oe(t,(e=>null===e.firstChild?null:e.firstChild===e.lastChild?e.removeChild(e.firstChild):e)),{fragment:oe(t,(e=>{const t=document.createDocumentFragment();for(;e.firstChild;)t.appendChild(e.firstChild);return t}))}),a=9,s=10,i=12,o=13,c=32,l=65,f=90,u=97,d=122,p=60,k=62,b=47,h=45,g=33,m=61,w=34,C=39,x=63,v=1,y=2,A=3,N=4,L=5,T=6,S=7,U=8,$=9,E=10,M=11,B=12,O=13,P=14,R=15,j=16,q=17,H=18,X=19,D=20,F=21,W=22,Y=23,I=24,z=25,V=26,Z=27,G=28,J=29,K=128,Q=1,_=8,ee=1,te="http://www.w3.org/2000/svg",re="http://www.w3.org/1999/xlink",ne="http://www.w3.org/XML/1998/namespace",ae="http://www.w3.org/2000/xmlns/",se=new Map(["attributeName","attributeType","baseFrequency","baseProfile","calcMode","clipPathUnits","diffuseConstant","edgeMode","filterUnits","glyphRef","gradientTransform","gradientUnits","kernelMatrix","kernelUnitLength","keyPoints","keySplines","keyTimes","lengthAdjust","limitingConeAngle","markerHeight","markerUnits","markerWidth","maskContentUnits","maskUnits","numOctaves","pathLength","patternContentUnits","patternTransform","patternUnits","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","refX","refY","repeatCount","repeatDur","requiredExtensions","requiredFeatures","specularConstant","specularExponent","spreadMethod","startOffset","stdDeviation","stitchTiles","surfaceScale","systemLanguage","tableValues","targetX","targetY","textLength","viewBox","viewTarget","xChannelSelector","yChannelSelector","zoomAndPan"].map((e=>[e.toLowerCase(),e]))),ie=new Map([["xlink:actuate",re],["xlink:arcrole",re],["xlink:href",re],["xlink:role",re],["xlink:show",re],["xlink:title",re],["xlink:type",re],["xml:lang",ne],["xml:space",ne],["xmlns",ae],["xmlns:xlink",ae]]);function oe(e,t){return function({raw:r}){let n,a,s,i,o=v,c="",l=0;for(let e=0,t=arguments.length;e0){const n=arguments[e];switch(o){case V:if(null!=n){const e=`${n}`;if(pe(a))c+=e.replace(/[<]/g,ce);else{if(new RegExp(`/]`,"i").test(c.slice(-a.length-2)+e))throw new Error("unsafe raw text");c+=e}}break;case v:null==n||(n instanceof Node||"string"!=typeof n&&n[Symbol.iterator]||/(?:^|>)$/.test(r[e-1])&&/^(?:<|$)/.test(t)?(c+="\x3c!--::"+e+"--\x3e",l|=K):c+=`${n}`.replace(/[<&]/g,ce));break;case $:{let a;if(o=B,/^[\s>]/.test(t)){if(null==n||!1===n){c=c.slice(0,s-r[e-1].length);break}if(!0===n||""==(a=`${n}`)){c+="''";break}if("style"===r[e-1].slice(s,i)&&ue(n)||"function"==typeof n){c+="::"+e,l|=Q;break}}if(void 0===a&&(a=`${n}`),""===a)throw new Error("unsafe unquoted empty string");c+=a.replace(/^['"]|[\s>&]/g,ce);break}case B:c+=`${n}`.replace(/[\s>&]/g,ce);break;case M:c+=`${n}`.replace(/['&]/g,ce);break;case E:c+=`${n}`.replace(/["&]/g,ce);break;case T:if(ue(n)){c+="::"+e+"=''",l|=Q;break}throw new Error("invalid binding");case q:break;default:throw new Error("invalid binding")}}for(let e=0,r=t.length;e=0;--n)a=t.insertBefore(r[n],a);else for(const n of r)null!=n&&t.insertBefore(n instanceof Node?n:document.createTextNode(n),e);else t.insertBefore(document.createTextNode(r),e);d.push(e)}}}for(const e of d)e.parentNode.removeChild(e);return t(f)}}function ce(e){return`&#${e.charCodeAt(0).toString()};`}function le(e){return l<=e&&e<=f||u<=e&&e<=d}function fe(e){return e===a||e===s||e===i||e===c||e===o}function ue(e){return e&&e.toString===Object.prototype.toString}function de(e){return"script"===e||"style"===e||pe(e)}function pe(e){return"textarea"===e||"title"===e}function ke(e,t,r){return e.slice(t,r).toLowerCase()}function be(e,t,r){e.namespaceURI===te&&(t=t.toLowerCase(),t=se.get(t)||t,ie.has(t))?e.setAttributeNS(ie.get(t),t,r):e.setAttribute(t,r)}function he(e,t){e.namespaceURI===te&&(t=t.toLowerCase(),t=se.get(t)||t,ie.has(t))?e.removeAttributeNS(ie.get(t),t):e.removeAttribute(t)}function ge(e,t){for(const r in t){const n=t[r];r.startsWith("--")?e.setProperty(r,n):e[r]=n}}export{r as html,n as svg};export default null; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/isoformat@0.2.1/_esm.js b/ICIMOD_land_cover_nepal_dist/_npm/isoformat@0.2.1/_esm.js new file mode 100644 index 0000000..f35d603 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/isoformat@0.2.1/_esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/isoformat@0.2.1/src/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +function t(t,n){if(t instanceof Date||(t=new Date(+t)),isNaN(t))return"function"==typeof n?n(t):n;const o=t.getUTCHours(),d=t.getUTCMinutes(),r=t.getUTCSeconds(),u=t.getUTCMilliseconds();return`${$=t.getUTCFullYear(),$<0?`-${e(-$,6)}`:$>9999?`+${e($,6)}`:e($,4)}-${e(t.getUTCMonth()+1,2)}-${e(t.getUTCDate(),2)}${o||d||r||u?`T${e(o,2)}:${e(d,2)}${r||u?`:${e(r,2)}${u?`.${e(u,3)}`:""}`:""}Z`:""}`;var $}function e(t,e){return`${t}`.padStart(e,"0")}const n=/^(?:[-+]\d{2})?\d{4}(?:-\d{2}(?:-\d{2})?)?(?:T\d{2}:\d{2}(?::\d{2}(?:\.\d{3})?)?(?:Z|[-+]\d{2}:?\d{2})?)?$/;function o(t,e){return n.test(t+="")?new Date(t):"function"==typeof e?e(t):e}export{t as format,o as parse};export default null; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/jszip@3.10.1/_esm.js b/ICIMOD_land_cover_nepal_dist/_npm/jszip@3.10.1/_esm.js new file mode 100644 index 0000000..a1dd929 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/jszip@3.10.1/_esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/jszip@3.10.1/dist/jszip.min.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var t="undefined"!=typeof global?global:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{},e=[],r=[],n="undefined"!=typeof Uint8Array?Uint8Array:Array,i=!1;function a(){i=!0;for(var t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0;n<64;++n)e[n]=t[n],r[t.charCodeAt(n)]=n;r["-".charCodeAt(0)]=62,r["_".charCodeAt(0)]=63}function s(t,r,n){for(var i,a,s=[],o=r;o>18&63]+e[a>>12&63]+e[a>>6&63]+e[63&a]);return s.join("")}function o(t){var r;i||a();for(var n=t.length,o=n%3,h="",u=[],f=16383,l=0,c=n-o;lc?c:l+f));return 1===o?(r=t[n-1],h+=e[r>>2],h+=e[r<<4&63],h+="=="):2===o&&(r=(t[n-2]<<8)+t[n-1],h+=e[r>>10],h+=e[r>>4&63],h+=e[r<<2&63],h+="="),u.push(h),u.join("")}function h(t,e,r,n,i){var a,s,o=8*i-n-1,h=(1<>1,f=-7,l=r?i-1:0,c=r?-1:1,d=t[e+l];for(l+=c,a=d&(1<<-f)-1,d>>=-f,f+=o;f>0;a=256*a+t[e+l],l+=c,f-=8);for(s=a&(1<<-f)-1,a>>=-f,f+=n;f>0;s=256*s+t[e+l],l+=c,f-=8);if(0===a)a=1-u;else{if(a===h)return s?NaN:1/0*(d?-1:1);s+=Math.pow(2,n),a-=u}return(d?-1:1)*s*Math.pow(2,a-n)}function u(t,e,r,n,i,a){var s,o,h,u=8*a-i-1,f=(1<>1,c=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=n?0:a-1,p=n?1:-1,m=e<0||0===e&&1/e<0?1:0;for(e=Math.abs(e),isNaN(e)||e===1/0?(o=isNaN(e)?1:0,s=f):(s=Math.floor(Math.log(e)/Math.LN2),e*(h=Math.pow(2,-s))<1&&(s--,h*=2),(e+=s+l>=1?c/h:c*Math.pow(2,1-l))*h>=2&&(s++,h/=2),s+l>=f?(o=0,s=f):s+l>=1?(o=(e*h-1)*Math.pow(2,i),s+=l):(o=e*Math.pow(2,l-1)*Math.pow(2,i),s=0));i>=8;t[r+d]=255&o,d+=p,o/=256,i-=8);for(s=s<0;t[r+d]=255&s,d+=p,s/=256,u-=8);t[r+d-p]|=128*m}var f={}.toString,l=Array.isArray||function(t){return"[object Array]"==f.call(t)};function c(){return p.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function d(t,e){if(c()=c())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+c().toString(16)+" bytes");return 0|t}function w(t){return!(null==t||!t._isBuffer)}function b(t,e){if(w(t))return t.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(t)||t instanceof ArrayBuffer))return t.byteLength;"string"!=typeof t&&(t=""+t);var r=t.length;if(0===r)return 0;for(var n=!1;;)switch(e){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return X(t).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return V(t).length;default:if(n)return X(t).length;e=(""+e).toLowerCase(),n=!0}}function k(t,e,r){var n=!1;if((void 0===e||e<0)&&(e=0),e>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(e>>>=0))return"";for(t||(t="utf8");;)switch(t){case"hex":return F(this,e,r);case"utf8":case"utf-8":return B(this,e,r);case"ascii":return D(this,e,r);case"latin1":case"binary":return U(this,e,r);case"base64":return O(this,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return N(this,e,r);default:if(n)throw new TypeError("Unknown encoding: "+t);t=(t+"").toLowerCase(),n=!0}}function E(t,e,r){var n=t[e];t[e]=t[r],t[r]=n}function x(t,e,r,n,i){if(0===t.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:t.length-1),r<0&&(r=t.length+r),r>=t.length){if(i)return-1;r=t.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof e&&(e=p.from(e,n)),w(e))return 0===e.length?-1:A(t,e,r,n,i);if("number"==typeof e)return e&=255,p.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(t,e,r):Uint8Array.prototype.lastIndexOf.call(t,e,r):A(t,[e],r,n,i);throw new TypeError("val must be string, number or Buffer")}function A(t,e,r,n,i){var a,s=1,o=t.length,h=e.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(t.length<2||e.length<2)return-1;s=2,o/=2,h/=2,r/=2}function u(t,e){return 1===s?t[e]:t.readUInt16BE(e*s)}if(i){var f=-1;for(a=r;ao&&(r=o-h),a=r;a>=0;a--){for(var l=!0,c=0;ci&&(n=i):n=i;var a=e.length;if(a%2!=0)throw new TypeError("Invalid hex string");n>a/2&&(n=a/2);for(var s=0;s>8,i=r%256,a.push(i),a.push(n);return a}(e,t.length-r),t,r,n)}function O(t,e,r){return 0===e&&r===t.length?o(t):o(t.slice(e,r))}function B(t,e,r){r=Math.min(t.length,r);for(var n=[],i=e;i239?4:u>223?3:u>191?2:1;if(i+l<=r)switch(l){case 1:u<128&&(f=u);break;case 2:128==(192&(a=t[i+1]))&&(h=(31&u)<<6|63&a)>127&&(f=h);break;case 3:a=t[i+1],s=t[i+2],128==(192&a)&&128==(192&s)&&(h=(15&u)<<12|(63&a)<<6|63&s)>2047&&(h<55296||h>57343)&&(f=h);break;case 4:a=t[i+1],s=t[i+2],o=t[i+3],128==(192&a)&&128==(192&s)&&128==(192&o)&&(h=(15&u)<<18|(63&a)<<12|(63&s)<<6|63&o)>65535&&h<1114112&&(f=h)}null===f?(f=65533,l=1):f>65535&&(f-=65536,n.push(f>>>10&1023|55296),f=56320|1023&f),n.push(f),i+=l}return function(t){var e=t.length;if(e<=P)return String.fromCharCode.apply(String,t);var r="",n=0;for(;n0&&(t=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(t+=" ... ")),""},p.prototype.compare=function(t,e,r,n,i){if(!w(t))throw new TypeError("Argument must be a Buffer");if(void 0===e&&(e=0),void 0===r&&(r=t?t.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),e<0||r>t.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&e>=r)return 0;if(n>=i)return-1;if(e>=r)return 1;if(this===t)return 0;for(var a=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(e>>>=0),o=Math.min(a,s),h=this.slice(n,i),u=t.slice(e,r),f=0;fi)&&(r=i),t.length>0&&(r<0||e<0)||e>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var a=!1;;)switch(n){case"hex":return S(this,t,e,r);case"utf8":case"utf-8":return C(this,t,e,r);case"ascii":return z(this,t,e,r);case"latin1":case"binary":return R(this,t,e,r);case"base64":return I(this,t,e,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return T(this,t,e,r);default:if(a)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),a=!0}},p.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var P=4096;function D(t,e,r){var n="";r=Math.min(t.length,r);for(var i=e;in)&&(r=n);for(var i="",a=e;ar)throw new RangeError("Trying to access beyond buffer length")}function j(t,e,r,n,i,a){if(!w(t))throw new TypeError('"buffer" argument must be a Buffer instance');if(e>i||et.length)throw new RangeError("Index out of range")}function M(t,e,r,n){e<0&&(e=65535+e+1);for(var i=0,a=Math.min(t.length-r,2);i>>8*(n?i:1-i)}function Z(t,e,r,n){e<0&&(e=4294967295+e+1);for(var i=0,a=Math.min(t.length-r,4);i>>8*(n?i:3-i)&255}function W(t,e,r,n,i,a){if(r+n>t.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function Y(t,e,r,n,i){return i||W(t,0,r,4),u(t,e,r,n,23,4),r+4}function H(t,e,r,n,i){return i||W(t,0,r,8),u(t,e,r,n,52,8),r+8}p.prototype.slice=function(t,e){var r,n=this.length;if((t=~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),(e=void 0===e?n:~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),e0&&(i*=256);)n+=this[t+--e]*i;return n},p.prototype.readUInt8=function(t,e){return e||L(t,1,this.length),this[t]},p.prototype.readUInt16LE=function(t,e){return e||L(t,2,this.length),this[t]|this[t+1]<<8},p.prototype.readUInt16BE=function(t,e){return e||L(t,2,this.length),this[t]<<8|this[t+1]},p.prototype.readUInt32LE=function(t,e){return e||L(t,4,this.length),(this[t]|this[t+1]<<8|this[t+2]<<16)+16777216*this[t+3]},p.prototype.readUInt32BE=function(t,e){return e||L(t,4,this.length),16777216*this[t]+(this[t+1]<<16|this[t+2]<<8|this[t+3])},p.prototype.readIntLE=function(t,e,r){t|=0,e|=0,r||L(t,e,this.length);for(var n=this[t],i=1,a=0;++a=(i*=128)&&(n-=Math.pow(2,8*e)),n},p.prototype.readIntBE=function(t,e,r){t|=0,e|=0,r||L(t,e,this.length);for(var n=e,i=1,a=this[t+--n];n>0&&(i*=256);)a+=this[t+--n]*i;return a>=(i*=128)&&(a-=Math.pow(2,8*e)),a},p.prototype.readInt8=function(t,e){return e||L(t,1,this.length),128&this[t]?-1*(255-this[t]+1):this[t]},p.prototype.readInt16LE=function(t,e){e||L(t,2,this.length);var r=this[t]|this[t+1]<<8;return 32768&r?4294901760|r:r},p.prototype.readInt16BE=function(t,e){e||L(t,2,this.length);var r=this[t+1]|this[t]<<8;return 32768&r?4294901760|r:r},p.prototype.readInt32LE=function(t,e){return e||L(t,4,this.length),this[t]|this[t+1]<<8|this[t+2]<<16|this[t+3]<<24},p.prototype.readInt32BE=function(t,e){return e||L(t,4,this.length),this[t]<<24|this[t+1]<<16|this[t+2]<<8|this[t+3]},p.prototype.readFloatLE=function(t,e){return e||L(t,4,this.length),h(this,t,!0,23,4)},p.prototype.readFloatBE=function(t,e){return e||L(t,4,this.length),h(this,t,!1,23,4)},p.prototype.readDoubleLE=function(t,e){return e||L(t,8,this.length),h(this,t,!0,52,8)},p.prototype.readDoubleBE=function(t,e){return e||L(t,8,this.length),h(this,t,!1,52,8)},p.prototype.writeUIntLE=function(t,e,r,n){(t=+t,e|=0,r|=0,n)||j(this,t,e,r,Math.pow(2,8*r)-1,0);var i=1,a=0;for(this[e]=255&t;++a=0&&(a*=256);)this[e+i]=t/a&255;return e+r},p.prototype.writeUInt8=function(t,e,r){return t=+t,e|=0,r||j(this,t,e,1,255,0),p.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),this[e]=255&t,e+1},p.prototype.writeUInt16LE=function(t,e,r){return t=+t,e|=0,r||j(this,t,e,2,65535,0),p.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},p.prototype.writeUInt16BE=function(t,e,r){return t=+t,e|=0,r||j(this,t,e,2,65535,0),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},p.prototype.writeUInt32LE=function(t,e,r){return t=+t,e|=0,r||j(this,t,e,4,4294967295,0),p.TYPED_ARRAY_SUPPORT?(this[e+3]=t>>>24,this[e+2]=t>>>16,this[e+1]=t>>>8,this[e]=255&t):Z(this,t,e,!0),e+4},p.prototype.writeUInt32BE=function(t,e,r){return t=+t,e|=0,r||j(this,t,e,4,4294967295,0),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Z(this,t,e,!1),e+4},p.prototype.writeIntLE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);j(this,t,e,r,i-1,-i)}var a=0,s=1,o=0;for(this[e]=255&t;++a>0)-o&255;return e+r},p.prototype.writeIntBE=function(t,e,r,n){if(t=+t,e|=0,!n){var i=Math.pow(2,8*r-1);j(this,t,e,r,i-1,-i)}var a=r-1,s=1,o=0;for(this[e+a]=255&t;--a>=0&&(s*=256);)t<0&&0===o&&0!==this[e+a+1]&&(o=1),this[e+a]=(t/s>>0)-o&255;return e+r},p.prototype.writeInt8=function(t,e,r){return t=+t,e|=0,r||j(this,t,e,1,127,-128),p.TYPED_ARRAY_SUPPORT||(t=Math.floor(t)),t<0&&(t=255+t+1),this[e]=255&t,e+1},p.prototype.writeInt16LE=function(t,e,r){return t=+t,e|=0,r||j(this,t,e,2,32767,-32768),p.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8):M(this,t,e,!0),e+2},p.prototype.writeInt16BE=function(t,e,r){return t=+t,e|=0,r||j(this,t,e,2,32767,-32768),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>8,this[e+1]=255&t):M(this,t,e,!1),e+2},p.prototype.writeInt32LE=function(t,e,r){return t=+t,e|=0,r||j(this,t,e,4,2147483647,-2147483648),p.TYPED_ARRAY_SUPPORT?(this[e]=255&t,this[e+1]=t>>>8,this[e+2]=t>>>16,this[e+3]=t>>>24):Z(this,t,e,!0),e+4},p.prototype.writeInt32BE=function(t,e,r){return t=+t,e|=0,r||j(this,t,e,4,2147483647,-2147483648),t<0&&(t=4294967295+t+1),p.TYPED_ARRAY_SUPPORT?(this[e]=t>>>24,this[e+1]=t>>>16,this[e+2]=t>>>8,this[e+3]=255&t):Z(this,t,e,!1),e+4},p.prototype.writeFloatLE=function(t,e,r){return Y(this,t,e,!0,r)},p.prototype.writeFloatBE=function(t,e,r){return Y(this,t,e,!1,r)},p.prototype.writeDoubleLE=function(t,e,r){return H(this,t,e,!0,r)},p.prototype.writeDoubleBE=function(t,e,r){return H(this,t,e,!1,r)},p.prototype.copy=function(t,e,r,n){if(r||(r=0),n||0===n||(n=this.length),e>=t.length&&(e=t.length),e||(e=0),n>0&&n=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),t.length-e=0;--i)t[i+e]=this[i+r];else if(a<1e3||!p.TYPED_ARRAY_SUPPORT)for(i=0;i>>=0,r=void 0===r?this.length:r>>>0,t||(t=0),"number"==typeof t)for(a=e;a55295&&r<57344){if(!i){if(r>56319){(e-=3)>-1&&a.push(239,191,189);continue}if(s+1===n){(e-=3)>-1&&a.push(239,191,189);continue}i=r;continue}if(r<56320){(e-=3)>-1&&a.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(e-=3)>-1&&a.push(239,191,189);if(i=null,r<128){if((e-=1)<0)break;a.push(r)}else if(r<2048){if((e-=2)<0)break;a.push(r>>6|192,63&r|128)}else if(r<65536){if((e-=3)<0)break;a.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((e-=4)<0)break;a.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return a}function V(t){return function(t){var e,s,o,h,u,f;i||a();var l=t.length;if(l%4>0)throw new Error("Invalid string. Length must be a multiple of 4");u="="===t[l-2]?2:"="===t[l-1]?1:0,f=new n(3*l/4-u),o=u>0?l-4:l;var c=0;for(e=0,s=0;e>16&255,f[c++]=h>>8&255,f[c++]=255&h;return 2===u?(h=r[t.charCodeAt(e)]<<2|r[t.charCodeAt(e+1)]>>4,f[c++]=255&h):1===u&&(h=r[t.charCodeAt(e)]<<10|r[t.charCodeAt(e+1)]<<4|r[t.charCodeAt(e+2)]>>2,f[c++]=h>>8&255,f[c++]=255&h),f}(function(t){if((t=function(t){return t.trim?t.trim():t.replace(/^\s+|\s+$/g,"")}(t).replace(G,"")).length<2)return"";for(;t.length%4!=0;)t+="=";return t}(t))}function q(t,e,r,n){for(var i=0;i=e.length||i>=t.length);++i)e[i+r]=t[i];return i}function J(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)}function $(){throw new Error("setTimeout has not been defined")}function Q(){throw new Error("clearTimeout has not been defined")}var tt=$,et=Q;function rt(t){if(tt===setTimeout)return setTimeout(t,0);if((tt===$||!tt)&&setTimeout)return tt=setTimeout,setTimeout(t,0);try{return tt(t,0)}catch(e){try{return tt.call(null,t,0)}catch(e){return tt.call(this,t,0)}}}"function"==typeof t.setTimeout&&(tt=setTimeout),"function"==typeof t.clearTimeout&&(et=clearTimeout);var nt,it=[],at=!1,st=-1;function ot(){at&&nt&&(at=!1,nt.length?it=nt.concat(it):st=-1,it.length&&ht())}function ht(){if(!at){var t=rt(ot);at=!0;for(var e=it.length;e;){for(nt=it,it=[];++st1)for(var r=1;r>2,o=(3&e)<<4|r>>4,h=1>6:64,u=2>4,r=(15&s)<<4|(o=a.indexOf(t.charAt(u++)))>>2,n=(3&o)<<6|(h=a.indexOf(t.charAt(u++))),c[f++]=e,64!==o&&(c[f++]=r),64!==h&&(c[f++]=n);return c}},{"./support":30,"./utils":32}],2:[function(t,e,r){var n=t("./external"),i=t("./stream/DataWorker"),a=t("./stream/Crc32Probe"),s=t("./stream/DataLengthProbe");function o(t,e,r,n,i){this.compressedSize=t,this.uncompressedSize=e,this.crc32=r,this.compression=n,this.compressedContent=i}o.prototype={getContentWorker:function(){var t=new i(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new s("data_length")),e=this;return t.on("end",(function(){if(this.streamInfo.data_length!==e.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),t},getCompressedWorker:function(){return new i(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(t,e,r){return t.pipe(new a).pipe(new s("uncompressedSize")).pipe(e.compressWorker(r)).pipe(new s("compressedSize")).withStreamInfo("compression",e)},e.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(t,e,r){var n=t("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new n("STORE compression")},uncompressWorker:function(){return new n("STORE decompression")}},r.DEFLATE=t("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(t,e,r){var n=t("./utils"),i=function(){for(var t,e=[],r=0;r<256;r++){t=r;for(var n=0;n<8;n++)t=1&t?3988292384^t>>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e){return void 0!==t&&t.length?"string"!==n.getTypeOf(t)?function(t,e,r,n){var a=i,s=n+r;t^=-1;for(var o=n;o>>8^a[255&(t^e[o])];return-1^t}(0|e,t,t.length,0):function(t,e,r,n){var a=i,s=n+r;t^=-1;for(var o=n;o>>8^a[255&(t^e.charCodeAt(o))];return-1^t}(0|e,t,t.length,0):0}},{"./utils":32}],5:[function(t,e,r){r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(t,e,r){var n=null;n="undefined"!=typeof Promise?Promise:t("lie"),e.exports={Promise:n}},{lie:37}],7:[function(t,e,r){var n="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,i=t("pako"),a=t("./utils"),s=t("./stream/GenericWorker"),o=n?"uint8array":"array";function h(t,e){s.call(this,"FlateWorker/"+t),this._pako=null,this._pakoAction=t,this._pakoOptions=e,this.meta={}}r.magic="\b\0",a.inherits(h,s),h.prototype.processChunk=function(t){this.meta=t.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(o,t.data),!1)},h.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},h.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},h.prototype._createPako=function(){this._pako=new i[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var t=this;this._pako.onData=function(e){t.push({data:e,meta:t.meta})}},r.compressWorker=function(t){return new h("Deflate",t)},r.uncompressWorker=function(){return new h("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(t,e,r){function n(t,e){var r,n="";for(r=0;r>>=8;return n}function i(t,e,r,i,s,f){var l,c,d=t.file,p=t.compression,m=f!==o.utf8encode,g=a.transformTo("string",f(d.name)),_=a.transformTo("string",o.utf8encode(d.name)),y=d.comment,v=a.transformTo("string",f(y)),w=a.transformTo("string",o.utf8encode(y)),b=_.length!==d.name.length,k=w.length!==y.length,E="",x="",A="",S=d.dir,C=d.date,z={crc32:0,compressedSize:0,uncompressedSize:0};e&&!r||(z.crc32=t.crc32,z.compressedSize=t.compressedSize,z.uncompressedSize=t.uncompressedSize);var R=0;e&&(R|=8),m||!b&&!k||(R|=2048);var I=0,T=0;S&&(I|=16),"UNIX"===s?(T=798,I|=function(t,e){var r=t;return t||(r=e?16893:33204),(65535&r)<<16}(d.unixPermissions,S)):(T=20,I|=function(t){return 63&(t||0)}(d.dosPermissions)),l=C.getUTCHours(),l<<=6,l|=C.getUTCMinutes(),l<<=5,l|=C.getUTCSeconds()/2,c=C.getUTCFullYear()-1980,c<<=4,c|=C.getUTCMonth()+1,c<<=5,c|=C.getUTCDate(),b&&(x=n(1,1)+n(h(g),4)+_,E+="up"+n(x.length,2)+x),k&&(A=n(1,1)+n(h(v),4)+w,E+="uc"+n(A.length,2)+A);var O="";return O+="\n\0",O+=n(R,2),O+=p.magic,O+=n(l,2),O+=n(c,2),O+=n(z.crc32,4),O+=n(z.compressedSize,4),O+=n(z.uncompressedSize,4),O+=n(g.length,2),O+=n(E.length,2),{fileRecord:u.LOCAL_FILE_HEADER+O+g+E,dirRecord:u.CENTRAL_FILE_HEADER+n(T,2)+O+n(v.length,2)+"\0\0\0\0"+n(I,4)+n(i,4)+g+E+v}}var a=t("../utils"),s=t("../stream/GenericWorker"),o=t("../utf8"),h=t("../crc32"),u=t("../signature");function f(t,e,r,n){s.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=e,this.zipPlatform=r,this.encodeFileName=n,this.streamFiles=t,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}a.inherits(f,s),f.prototype.push=function(t){var e=t.meta.percent||0,r=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(t):(this.bytesWritten+=t.data.length,s.prototype.push.call(this,{data:t.data,meta:{currentFile:this.currentFile,percent:r?(e+100*(r-n-1))/r:100}}))},f.prototype.openedSource=function(t){this.currentSourceOffset=this.bytesWritten,this.currentFile=t.file.name;var e=this.streamFiles&&!t.file.dir;if(e){var r=i(t,e,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(t){this.accumulate=!1;var e=this.streamFiles&&!t.file.dir,r=i(t,e,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),e)this.push({data:function(t){return u.DATA_DESCRIPTOR+n(t.crc32,4)+n(t.compressedSize,4)+n(t.uncompressedSize,4)}(t),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var t=this.bytesWritten,e=0;e=this.index;e--)r=(r<<8)+this.byteAt(e);return this.index+=t,r},readString:function(t){return n.transformTo("string",this.readData(t))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var t=this.readInt(4);return new Date(Date.UTC(1980+(t>>25&127),(t>>21&15)-1,t>>16&31,t>>11&31,t>>5&63,(31&t)<<1))}},e.exports=i},{"../utils":32}],19:[function(t,e,r){var n=t("./Uint8ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(t,e,r){var n=t("./DataReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},i.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},i.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},i.prototype.readData=function(t){this.checkOffset(t);var e=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./DataReader":18}],21:[function(t,e,r){var n=t("./ArrayReader");function i(t){n.call(this,t)}t("../utils").inherits(i,n),i.prototype.readData=function(t){if(this.checkOffset(t),0===t)return new Uint8Array(0);var e=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,e},e.exports=i},{"../utils":32,"./ArrayReader":17}],22:[function(t,e,r){var n=t("../utils"),i=t("../support"),a=t("./ArrayReader"),s=t("./StringReader"),o=t("./NodeBufferReader"),h=t("./Uint8ArrayReader");e.exports=function(t){var e=n.getTypeOf(t);return n.checkSupport(e),"string"!==e||i.uint8array?"nodebuffer"===e?new o(t):i.uint8array?new h(n.transformTo("uint8array",t)):new a(n.transformTo("array",t)):new s(t)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(t,e,r){r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(t,e,r){var n=t("./GenericWorker"),i=t("../utils");function a(t){n.call(this,"ConvertWorker to "+t),this.destType=t}i.inherits(a,n),a.prototype.processChunk=function(t){this.push({data:i.transformTo(this.destType,t.data),meta:t.meta})},e.exports=a},{"../utils":32,"./GenericWorker":28}],25:[function(t,e,r){var n=t("./GenericWorker"),i=t("../crc32");function a(){n.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}t("../utils").inherits(a,n),a.prototype.processChunk=function(t){this.streamInfo.crc32=i(t.data,this.streamInfo.crc32||0),this.push(t)},e.exports=a},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(t,e,r){var n=t("../utils"),i=t("./GenericWorker");function a(t){i.call(this,"DataLengthProbe for "+t),this.propName=t,this.withStreamInfo(t,0)}n.inherits(a,i),a.prototype.processChunk=function(t){if(t){var e=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=e+t.data.length}i.prototype.processChunk.call(this,t)},e.exports=a},{"../utils":32,"./GenericWorker":28}],27:[function(t,e,r){var n=t("../utils"),i=t("./GenericWorker");function a(t){i.call(this,"DataWorker");var e=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,t.then((function(t){e.dataIsReady=!0,e.data=t,e.max=t&&t.length||0,e.type=n.getTypeOf(t),e.isPaused||e._tickAndRepeat()}),(function(t){e.error(t)}))}n.inherits(a,i),a.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this.data=null},a.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,n.delay(this._tickAndRepeat,[],this)),!0)},a.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(n.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},a.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var t=null,e=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":t=this.data.substring(this.index,e);break;case"uint8array":t=this.data.subarray(this.index,e);break;case"array":case"nodebuffer":t=this.data.slice(this.index,e)}return this.index=e,this.push({data:t,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=a},{"../utils":32,"./GenericWorker":28}],28:[function(t,e,r){function n(t){this.name=t||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}n.prototype={push:function(t){this.emit("data",t)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(t){this.emit("error",t)}return!0},error:function(t){return!this.isFinished&&(this.isPaused?this.generatedError=t:(this.isFinished=!0,this.emit("error",t),this.previous&&this.previous.error(t),this.cleanUp()),!0)},on:function(t,e){return this._listeners[t].push(e),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(t,e){if(this._listeners[t])for(var r=0;r "+t:t}},e.exports=n},{}],29:[function(t,e,r){var n=t("../utils"),i=t("./ConvertWorker"),a=t("./GenericWorker"),s=t("../base64"),o=t("../support"),h=t("../external"),u=null;if(o.nodestream)try{u=t("../nodejs/NodejsStreamOutputAdapter")}catch(t){}function f(t,e){return new h.Promise((function(r,i){var a=[],o=t._internalType,h=t._outputType,u=t._mimeType;t.on("data",(function(t,r){a.push(t),e&&e(r)})).on("error",(function(t){a=[],i(t)})).on("end",(function(){try{var t=function(t,e,r){switch(t){case"blob":return n.newBlob(n.transformTo("arraybuffer",e),r);case"base64":return s.encode(e);default:return n.transformTo(t,e)}}(h,function(t,e){var r,n=0,i=null,a=0;for(r=0;r>>6:(r<65536?e[s++]=224|r>>>12:(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63),e[s++]=128|r>>>6&63),e[s++]=128|63&r);return e}(t)},r.utf8decode=function(t){return i.nodebuffer?n.transformTo("nodebuffer",t).toString("utf-8"):function(t){var e,r,i,a,s=t.length,h=new Array(2*s);for(e=r=0;e>10&1023,h[r++]=56320|1023&i)}return h.length!==r&&(h.subarray?h=h.subarray(0,r):h.length=r),n.applyFromCharCode(h)}(t=n.transformTo(i.uint8array?"uint8array":"array",t))},n.inherits(u,s),u.prototype.processChunk=function(t){var e=n.transformTo(i.uint8array?"uint8array":"array",t.data);if(this.leftOver&&this.leftOver.length){if(i.uint8array){var a=e;(e=new Uint8Array(a.length+this.leftOver.length)).set(this.leftOver,0),e.set(a,this.leftOver.length)}else e=this.leftOver.concat(e);this.leftOver=null}var s=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0||0===r?e:r+o[t[r]]>e?r:e}(e),h=e;s!==e.length&&(i.uint8array?(h=e.subarray(0,s),this.leftOver=e.subarray(s,e.length)):(h=e.slice(0,s),this.leftOver=e.slice(s,e.length))),this.push({data:r.utf8decode(h),meta:t.meta})},u.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=u,n.inherits(f,s),f.prototype.processChunk=function(t){this.push({data:r.utf8encode(t.data),meta:t.meta})},r.Utf8EncodeWorker=f},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(t,e,r){var n=t("./support"),i=t("./base64"),a=t("./nodejsUtils"),s=t("./external");function o(t){return t}function h(t,e){for(var r=0;r>8;this.dir=!!(16&this.externalFileAttributes),0==t&&(this.dosPermissions=63&this.externalFileAttributes),3==t&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var t=n(this.extraFields[1].value);this.uncompressedSize===i.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===i.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===i.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===i.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(t){var e,r,n,i=t.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});t.index+4>>6:(r<65536?e[s++]=224|r>>>12:(e[s++]=240|r>>>18,e[s++]=128|r>>>12&63),e[s++]=128|r>>>6&63),e[s++]=128|63&r);return e},r.buf2binstring=function(t){return h(t,t.length)},r.binstring2buf=function(t){for(var e=new n.Buf8(t.length),r=0,i=e.length;r>10&1023,u[n++]=56320|1023&i)}return h(u,n)},r.utf8border=function(t,e){var r;for((e=e||t.length)>t.length&&(e=t.length),r=e-1;0<=r&&128==(192&t[r]);)r--;return r<0||0===r?e:r+s[t[r]]>e?r:e}},{"./common":41}],43:[function(t,e,r){e.exports=function(t,e,r,n){for(var i=65535&t|0,a=t>>>16&65535|0,s=0;0!==r;){for(r-=s=2e3>>1:t>>>1;e[r]=t}return e}();e.exports=function(t,e,r,i){var a=n,s=i+r;t^=-1;for(var o=i;o>>8^a[255&(t^e[o])];return-1^t}},{}],46:[function(t,e,r){var n,i=t("../utils/common"),a=t("./trees"),s=t("./adler32"),o=t("./crc32"),h=t("./messages"),u=0,f=4,l=0,c=-2,d=-1,p=4,m=2,g=8,_=9,y=286,v=30,w=19,b=2*y+1,k=15,E=3,x=258,A=x+E+1,S=42,C=113,z=1,R=2,I=3,T=4;function O(t,e){return t.msg=h[e],e}function B(t){return(t<<1)-(4t.avail_out&&(r=t.avail_out),0!==r&&(i.arraySet(t.output,e.pending_buf,e.pending_out,r,t.next_out),t.next_out+=r,e.pending_out+=r,t.total_out+=r,t.avail_out-=r,e.pending-=r,0===e.pending&&(e.pending_out=0))}function U(t,e){a._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,D(t.strm)}function F(t,e){t.pending_buf[t.pending++]=e}function N(t,e){t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e}function L(t,e){var r,n,i=t.max_chain_length,a=t.strstart,s=t.prev_length,o=t.nice_match,h=t.strstart>t.w_size-A?t.strstart-(t.w_size-A):0,u=t.window,f=t.w_mask,l=t.prev,c=t.strstart+x,d=u[a+s-1],p=u[a+s];t.prev_length>=t.good_match&&(i>>=2),o>t.lookahead&&(o=t.lookahead);do{if(u[(r=e)+s]===p&&u[r+s-1]===d&&u[r]===u[a]&&u[++r]===u[a+1]){a+=2,r++;do{}while(u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&u[++a]===u[++r]&&ah&&0!=--i);return s<=t.lookahead?s:t.lookahead}function j(t){var e,r,n,a,h,u,f,l,c,d,p=t.w_size;do{if(a=t.window_size-t.lookahead-t.strstart,t.strstart>=p+(p-A)){for(i.arraySet(t.window,t.window,p,p,0),t.match_start-=p,t.strstart-=p,t.block_start-=p,e=r=t.hash_size;n=t.head[--e],t.head[e]=p<=n?n-p:0,--r;);for(e=r=p;n=t.prev[--e],t.prev[e]=p<=n?n-p:0,--r;);a+=p}if(0===t.strm.avail_in)break;if(u=t.strm,f=t.window,l=t.strstart+t.lookahead,d=void 0,(c=a)<(d=u.avail_in)&&(d=c),r=0===d?0:(u.avail_in-=d,i.arraySet(f,u.input,u.next_in,d,l),1===u.state.wrap?u.adler=s(u.adler,f,d,l):2===u.state.wrap&&(u.adler=o(u.adler,f,d,l)),u.next_in+=d,u.total_in+=d,d),t.lookahead+=r,t.lookahead+t.insert>=E)for(h=t.strstart-t.insert,t.ins_h=t.window[h],t.ins_h=(t.ins_h<=E&&(t.ins_h=(t.ins_h<=E)if(n=a._tr_tally(t,t.strstart-t.match_start,t.match_length-E),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=E){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<=E&&(t.ins_h=(t.ins_h<=E&&t.match_length<=t.prev_length){for(i=t.strstart+t.lookahead-E,n=a._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-E),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=i&&(t.ins_h=(t.ins_h<t.pending_buf_size-5&&(r=t.pending_buf_size-5);;){if(t.lookahead<=1){if(j(t),0===t.lookahead&&e===u)return z;if(0===t.lookahead)break}t.strstart+=t.lookahead,t.lookahead=0;var n=t.block_start+r;if((0===t.strstart||t.strstart>=n)&&(t.lookahead=t.strstart-n,t.strstart=n,U(t,!1),0===t.strm.avail_out))return z;if(t.strstart-t.block_start>=t.w_size-A&&(U(t,!1),0===t.strm.avail_out))return z}return t.insert=0,e===f?(U(t,!0),0===t.strm.avail_out?I:T):(t.strstart>t.block_start&&(U(t,!1),t.strm.avail_out),z)})),new W(4,4,8,4,M),new W(4,5,16,8,M),new W(4,6,32,32,M),new W(4,4,16,16,Z),new W(8,16,32,32,Z),new W(8,16,128,128,Z),new W(8,32,128,256,Z),new W(32,128,258,1024,Z),new W(32,258,258,4096,Z)],r.deflateInit=function(t,e){return K(t,e,g,15,8,0)},r.deflateInit2=K,r.deflateReset=G,r.deflateResetKeep=H,r.deflateSetHeader=function(t,e){return t&&t.state?2!==t.state.wrap?c:(t.state.gzhead=e,l):c},r.deflate=function(t,e){var r,i,s,h;if(!t||!t.state||5>8&255),F(i,i.gzhead.time>>16&255),F(i,i.gzhead.time>>24&255),F(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),F(i,255&i.gzhead.os),i.gzhead.extra&&i.gzhead.extra.length&&(F(i,255&i.gzhead.extra.length),F(i,i.gzhead.extra.length>>8&255)),i.gzhead.hcrc&&(t.adler=o(t.adler,i.pending_buf,i.pending,0)),i.gzindex=0,i.status=69):(F(i,0),F(i,0),F(i,0),F(i,0),F(i,0),F(i,9===i.level?2:2<=i.strategy||i.level<2?4:0),F(i,3),i.status=C);else{var d=g+(i.w_bits-8<<4)<<8;d|=(2<=i.strategy||i.level<2?0:i.level<6?1:6===i.level?2:3)<<6,0!==i.strstart&&(d|=32),d+=31-d%31,i.status=C,N(i,d),0!==i.strstart&&(N(i,t.adler>>>16),N(i,65535&t.adler)),t.adler=1}if(69===i.status)if(i.gzhead.extra){for(s=i.pending;i.gzindex<(65535&i.gzhead.extra.length)&&(i.pending!==i.pending_buf_size||(i.gzhead.hcrc&&i.pending>s&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),D(t),s=i.pending,i.pending!==i.pending_buf_size));)F(i,255&i.gzhead.extra[i.gzindex]),i.gzindex++;i.gzhead.hcrc&&i.pending>s&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),i.gzindex===i.gzhead.extra.length&&(i.gzindex=0,i.status=73)}else i.status=73;if(73===i.status)if(i.gzhead.name){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),D(t),s=i.pending,i.pending===i.pending_buf_size)){h=1;break}h=i.gzindexs&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),0===h&&(i.gzindex=0,i.status=91)}else i.status=91;if(91===i.status)if(i.gzhead.comment){s=i.pending;do{if(i.pending===i.pending_buf_size&&(i.gzhead.hcrc&&i.pending>s&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),D(t),s=i.pending,i.pending===i.pending_buf_size)){h=1;break}h=i.gzindexs&&(t.adler=o(t.adler,i.pending_buf,i.pending-s,s)),0===h&&(i.status=103)}else i.status=103;if(103===i.status&&(i.gzhead.hcrc?(i.pending+2>i.pending_buf_size&&D(t),i.pending+2<=i.pending_buf_size&&(F(i,255&t.adler),F(i,t.adler>>8&255),t.adler=0,i.status=C)):i.status=C),0!==i.pending){if(D(t),0===t.avail_out)return i.last_flush=-1,l}else if(0===t.avail_in&&B(e)<=B(r)&&e!==f)return O(t,-5);if(666===i.status&&0!==t.avail_in)return O(t,-5);if(0!==t.avail_in||0!==i.lookahead||e!==u&&666!==i.status){var p=2===i.strategy?function(t,e){for(var r;;){if(0===t.lookahead&&(j(t),0===t.lookahead)){if(e===u)return z;break}if(t.match_length=0,r=a._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,r&&(U(t,!1),0===t.strm.avail_out))return z}return t.insert=0,e===f?(U(t,!0),0===t.strm.avail_out?I:T):t.last_lit&&(U(t,!1),0===t.strm.avail_out)?z:R}(i,e):3===i.strategy?function(t,e){for(var r,n,i,s,o=t.window;;){if(t.lookahead<=x){if(j(t),t.lookahead<=x&&e===u)return z;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=E&&0t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=E?(r=a._tr_tally(t,1,t.match_length-E),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(r=a._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),r&&(U(t,!1),0===t.strm.avail_out))return z}return t.insert=0,e===f?(U(t,!0),0===t.strm.avail_out?I:T):t.last_lit&&(U(t,!1),0===t.strm.avail_out)?z:R}(i,e):n[i.level].func(i,e);if(p!==I&&p!==T||(i.status=666),p===z||p===I)return 0===t.avail_out&&(i.last_flush=-1),l;if(p===R&&(1===e?a._tr_align(i):5!==e&&(a._tr_stored_block(i,0,0,!1),3===e&&(P(i.head),0===i.lookahead&&(i.strstart=0,i.block_start=0,i.insert=0))),D(t),0===t.avail_out))return i.last_flush=-1,l}return e!==f?l:i.wrap<=0?1:(2===i.wrap?(F(i,255&t.adler),F(i,t.adler>>8&255),F(i,t.adler>>16&255),F(i,t.adler>>24&255),F(i,255&t.total_in),F(i,t.total_in>>8&255),F(i,t.total_in>>16&255),F(i,t.total_in>>24&255)):(N(i,t.adler>>>16),N(i,65535&t.adler)),D(t),0=r.w_size&&(0===o&&(P(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new i.Buf8(r.w_size),i.arraySet(d,e,p-r.w_size,r.w_size,0),e=d,p=r.w_size),h=t.avail_in,u=t.next_in,f=t.input,t.avail_in=p,t.next_in=0,t.input=e,j(r);r.lookahead>=E;){for(n=r.strstart,a=r.lookahead-(E-1);r.ins_h=(r.ins_h<>>=w=v>>>24,p-=w,0==(w=v>>>16&255))S[a++]=65535&v;else{if(!(16&w)){if(0==(64&w)){v=m[(65535&v)+(d&(1<>>=w,p-=w),p<15&&(d+=A[n++]<>>=w=v>>>24,p-=w,!(16&(w=v>>>16&255))){if(0==(64&w)){v=g[(65535&v)+(d&(1<>>=w,p-=w,(w=a-s)>3,d&=(1<<(p-=b<<3))-1,t.next_in=n,t.next_out=a,t.avail_in=n>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24)}function g(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new n.Buf16(320),this.work=new n.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function _(t){var e;return t&&t.state?(e=t.state,t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=c,e.last=0,e.havedict=0,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new n.Buf32(d),e.distcode=e.distdyn=new n.Buf32(p),e.sane=1,e.back=-1,f):l}function y(t){var e;return t&&t.state?((e=t.state).wsize=0,e.whave=0,e.wnext=0,_(t)):l}function v(t,e){var r,n;return t&&t.state?(n=t.state,e<0?(r=0,e=-e):(r=1+(e>>4),e<48&&(e&=15)),e&&(e<8||15=s.wsize?(n.arraySet(s.window,e,r-s.wsize,s.wsize,0),s.wnext=0,s.whave=s.wsize):(i<(a=s.wsize-s.wnext)&&(a=i),n.arraySet(s.window,e,r-i,a,s.wnext),(i-=a)?(n.arraySet(s.window,e,r-i,i,0),s.wnext=i,s.whave=s.wsize):(s.wnext+=a,s.wnext===s.wsize&&(s.wnext=0),s.whave>>8&255,r.check=a(r.check,j,2,0),b=w=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&w)<<8)+(w>>8))%31){t.msg="incorrect header check",r.mode=30;break}if(8!=(15&w)){t.msg="unknown compression method",r.mode=30;break}if(b-=4,D=8+(15&(w>>>=4)),0===r.wbits)r.wbits=D;else if(D>r.wbits){t.msg="invalid window size",r.mode=30;break}r.dmax=1<>8&1),512&r.flags&&(j[0]=255&w,j[1]=w>>>8&255,r.check=a(r.check,j,2,0)),b=w=0,r.mode=3;case 3:for(;b<32;){if(0===y)break t;y--,w+=d[g++]<>>8&255,j[2]=w>>>16&255,j[3]=w>>>24&255,r.check=a(r.check,j,4,0)),b=w=0,r.mode=4;case 4:for(;b<16;){if(0===y)break t;y--,w+=d[g++]<>8),512&r.flags&&(j[0]=255&w,j[1]=w>>>8&255,r.check=a(r.check,j,2,0)),b=w=0,r.mode=5;case 5:if(1024&r.flags){for(;b<16;){if(0===y)break t;y--,w+=d[g++]<>>8&255,r.check=a(r.check,j,2,0)),b=w=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(y<(S=r.length)&&(S=y),S&&(r.head&&(D=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),n.arraySet(r.head.extra,d,g,S,D)),512&r.flags&&(r.check=a(r.check,d,S,g)),y-=S,g+=S,r.length-=S),r.length))break t;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===y)break t;for(S=0;D=d[g+S++],r.head&&D&&r.length<65536&&(r.head.name+=String.fromCharCode(D)),D&&S>9&1,r.head.done=!0),t.adler=r.check=0,r.mode=12;break;case 10:for(;b<32;){if(0===y)break t;y--,w+=d[g++]<>>=7&b,b-=7&b,r.mode=27;break}for(;b<3;){if(0===y)break t;y--,w+=d[g++]<>>=1)){case 0:r.mode=14;break;case 1:if(x(r),r.mode=20,6!==e)break;w>>>=2,b-=2;break t;case 2:r.mode=17;break;case 3:t.msg="invalid block type",r.mode=30}w>>>=2,b-=2;break;case 14:for(w>>>=7&b,b-=7&b;b<32;){if(0===y)break t;y--,w+=d[g++]<>>16^65535)){t.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&w,b=w=0,r.mode=15,6===e)break t;case 15:r.mode=16;case 16:if(S=r.length){if(y>>=5,b-=5,r.ndist=1+(31&w),w>>>=5,b-=5,r.ncode=4+(15&w),w>>>=4,b-=4,286>>=3,b-=3}for(;r.have<19;)r.lens[M[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,F={bits:r.lenbits},U=o(0,r.lens,0,19,r.lencode,0,r.work,F),r.lenbits=F.bits,U){t.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have>>16&255,T=65535&L,!((R=L>>>24)<=b);){if(0===y)break t;y--,w+=d[g++]<>>=R,b-=R,r.lens[r.have++]=T;else{if(16===T){for(N=R+2;b>>=R,b-=R,0===r.have){t.msg="invalid bit length repeat",r.mode=30;break}D=r.lens[r.have-1],S=3+(3&w),w>>>=2,b-=2}else if(17===T){for(N=R+3;b>>=R)),w>>>=3,b-=3}else{for(N=R+7;b>>=R)),w>>>=7,b-=7}if(r.have+S>r.nlen+r.ndist){t.msg="invalid bit length repeat",r.mode=30;break}for(;S--;)r.lens[r.have++]=D}}if(30===r.mode)break;if(0===r.lens[256]){t.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,F={bits:r.lenbits},U=o(h,r.lens,0,r.nlen,r.lencode,0,r.work,F),r.lenbits=F.bits,U){t.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,F={bits:r.distbits},U=o(u,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,F),r.distbits=F.bits,U){t.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===e)break t;case 20:r.mode=21;case 21:if(6<=y&&258<=v){t.next_out=_,t.avail_out=v,t.next_in=g,t.avail_in=y,r.hold=w,r.bits=b,s(t,E),_=t.next_out,p=t.output,v=t.avail_out,g=t.next_in,d=t.input,y=t.avail_in,w=r.hold,b=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;I=(L=r.lencode[w&(1<>>16&255,T=65535&L,!((R=L>>>24)<=b);){if(0===y)break t;y--,w+=d[g++]<>O)])>>>16&255,T=65535&L,!(O+(R=L>>>24)<=b);){if(0===y)break t;y--,w+=d[g++]<>>=O,b-=O,r.back+=O}if(w>>>=R,b-=R,r.back+=R,r.length=T,0===I){r.mode=26;break}if(32&I){r.back=-1,r.mode=12;break}if(64&I){t.msg="invalid literal/length code",r.mode=30;break}r.extra=15&I,r.mode=22;case 22:if(r.extra){for(N=r.extra;b>>=r.extra,b-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;I=(L=r.distcode[w&(1<>>16&255,T=65535&L,!((R=L>>>24)<=b);){if(0===y)break t;y--,w+=d[g++]<>O)])>>>16&255,T=65535&L,!(O+(R=L>>>24)<=b);){if(0===y)break t;y--,w+=d[g++]<>>=O,b-=O,r.back+=O}if(w>>>=R,b-=R,r.back+=R,64&I){t.msg="invalid distance code",r.mode=30;break}r.offset=T,r.extra=15&I,r.mode=24;case 24:if(r.extra){for(N=r.extra;b>>=r.extra,b-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){t.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===v)break t;if(S=E-v,r.offset>S){if((S=r.offset-S)>r.whave&&r.sane){t.msg="invalid distance too far back",r.mode=30;break}C=S>r.wnext?(S-=r.wnext,r.wsize-S):r.wnext-S,S>r.length&&(S=r.length),z=r.window}else z=p,C=_-r.offset,S=r.length;for(vy?(w=F[N+l[x]],B[P+l[x]]):(w=96,0),d=1<>R)+(p-=d)]=v<<24|w<<16|b|0,0!==p;);for(d=1<>=1;if(0!==d?(O&=d-1,O+=d):O=0,x++,0==--D[E]){if(E===S)break;E=e[r+l[x]]}if(C>>7)]}function F(t,e){t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255}function N(t,e,r){t.bi_valid>m-r?(t.bi_buf|=e<>m-t.bi_valid,t.bi_valid+=r-m):(t.bi_buf|=e<>>=1,r<<=1,0<--e;);return r>>>1}function M(t,e,r){var n,i,a=new Array(p+1),s=0;for(n=1;n<=p;n++)a[n]=s=s+r[n-1]<<1;for(i=0;i<=e;i++){var o=t[2*i+1];0!==o&&(t[2*i]=j(a[o]++,o))}}function Z(t){var e;for(e=0;e>1;1<=r;r--)H(t,a,r);for(i=h;r=t.heap[1],t.heap[1]=t.heap[t.heap_len--],H(t,a,1),n=t.heap[1],t.heap[--t.heap_max]=r,t.heap[--t.heap_max]=n,a[2*i]=a[2*r]+a[2*n],t.depth[i]=(t.depth[r]>=t.depth[n]?t.depth[r]:t.depth[n])+1,a[2*r+1]=a[2*n+1]=i,t.heap[1]=i++,H(t,a,1),2<=t.heap_len;);t.heap[--t.heap_max]=t.heap[1],function(t,e){var r,n,i,a,s,o,h=e.dyn_tree,u=e.max_code,f=e.stat_desc.static_tree,l=e.stat_desc.has_stree,c=e.stat_desc.extra_bits,m=e.stat_desc.extra_base,g=e.stat_desc.max_length,_=0;for(a=0;a<=p;a++)t.bl_count[a]=0;for(h[2*t.heap[t.heap_max]+1]=0,r=t.heap_max+1;r>=7;n>>=1)if(1&r&&0!==t.dyn_ltree[2*e])return i;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return a;for(e=32;e>>3,(o=t.static_len+3+7>>>3)<=s&&(s=o)):s=o=r+5,r+4<=s&&-1!==e?J(t,e,r,n):4===t.strategy||o===s?(N(t,2+(n?1:0),3),G(t,A,S)):(N(t,4+(n?1:0),3),function(t,e,r,n){var i;for(N(t,e-257,5),N(t,r-1,5),N(t,n-4,4),i=0;i>>8&255,t.pending_buf[t.d_buf+2*t.last_lit+1]=255&e,t.pending_buf[t.l_buf+t.last_lit]=255&r,t.last_lit++,0===e?t.dyn_ltree[2*r]++:(t.matches++,e--,t.dyn_ltree[2*(z[r]+u+1)]++,t.dyn_dtree[2*U(e)]++),t.last_lit===t.lit_bufsize-1},r._tr_align=function(t){N(t,2,3),L(t,_,A),function(t){16===t.bi_valid?(F(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):8<=t.bi_valid&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)}(t)}},{"../utils/common":41}],53:[function(t,e,r){e.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(t,e,r){(function(t){!function(t,e){if(!t.setImmediate){var r,n,i,a,s=1,o={},h=!1,u=t.document,f=Object.getPrototypeOf&&Object.getPrototypeOf(t);f=f&&f.setTimeout?f:t,r="[object process]"==={}.toString.call(t.process)?function(t){bt.nextTick((function(){c(t)}))}:function(){if(t.postMessage&&!t.importScripts){var e=!0,r=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=r,e}}()?(a="setImmediate$"+Math.random()+"$",t.addEventListener?t.addEventListener("message",d,!1):t.attachEvent("onmessage",d),function(e){t.postMessage(a+e,"*")}):t.MessageChannel?((i=new MessageChannel).port1.onmessage=function(t){c(t.data)},function(t){i.port2.postMessage(t)}):u&&"onreadystatechange"in u.createElement("script")?(n=u.documentElement,function(t){var e=u.createElement("script");e.onreadystatechange=function(){c(t),e.onreadystatechange=null,n.removeChild(e),e=null},n.appendChild(e)}):function(t){setTimeout(c,0,t)},f.setImmediate=function(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n>3],M<<=7&D),g=0;g>3]),128&M?(f&&(f[D]=1),p=p>(n=B.encoding<2?U[I++]:V)?n:p,l[D++]=n):(f&&(f[D]=0),l[D++]=i),M<<=1;D+=A}else if(B.encoding<2)for(x=0;x(n=U[I++])?n:p,l[D++]=n;D+=A}else for(p=p>V?V:p,x=0;x0){var s=new Uint8Array(Math.ceil(i.width*i.height/8)),l=(n=new DataView(e,t,i.mask.numBytes)).getInt16(0,!0),f=2,o=0;do{if(l>0)for(;l--;)s[o++]=n.getUint8(f++);else{var u=n.getUint8(f++);for(l=-l;l--;)s[o++]=u}l=n.getInt16(f,!0),f+=2}while(f0?1:0),m=h+(i.height%h>0?1:0);i.pixels.blocks=new Array(d*m);for(var p=0,g=0;g3)throw"Invalid block encoding ("+y.encoding+")";if(2!==y.encoding){if(0!==v&&2!==v){if(v>>=6,y.offsetType=v,2===v)y.offset=n.getInt8(1),w++;else if(1===v)y.offset=n.getInt16(1,!0),w+=2;else{if(0!==v)throw"Invalid block offset type";y.offset=n.getFloat32(1,!0),w+=4}if(1===y.encoding)if(v=n.getUint8(w),w++,y.bitsPerPixel=63&v,v>>=6,y.numValidPixelsType=v,2===v)y.numValidPixels=n.getUint8(w),w++;else if(1===v)y.numValidPixels=n.getUint16(w,!0),w+=2;else{if(0!==v)throw"Invalid valid pixel count type";y.numValidPixels=n.getUint32(w,!0),w+=4}}var b;if(t+=w,3!==y.encoding)if(0===y.encoding){var U=(i.pixels.numBytes-1)/4;if(U!==Math.floor(U))throw"uncompressed block has invalid length";b=new ArrayBuffer(4*U),new Uint8Array(b).set(new Uint8Array(e,t,4*U));var I=new Float32Array(b);y.rawData=I,t+=4*U}else if(1===y.encoding){var V=Math.ceil(y.numValidPixels*y.bitsPerPixel/8),M=Math.ceil(V/4);b=new ArrayBuffer(4*M),new Uint8Array(b).set(new Uint8Array(e,t,V)),y.stuffedData=new Uint32Array(b),t+=V}}else t++}return i.eofOffset=t,i},s=function(e,t,r,i,a,n,s){var l,f,o,u=(1<=t)f=o>>>h-t&u,h-=t;else{var p=t-h;f=(o&u)<>>(h=32-p)}n[l]=f=r?(o=u>>>p-r&d,p-=r):(o=(u&d)<<(c=r-p)&d,o+=(u=e[m++])>>>(p=32-c)),t[f]=a[o];else for(h=Math.ceil((l-n)/s),f=0;f=r?(o=u>>>p-r&d,p-=r):(o=(u&d)<<(c=r-p)&d,o+=(u=e[m++])>>>(p=32-c)),t[f]=o=t?(h=s>>>c-t&l,c-=t):(h=(s&l)<<(u=t-c)&l,h+=(s=e[f++])>>>(c=32-u)),d[o]=h=r?(o=u>>>p&h,m-=r,p+=r):(o=u>>>p&h,m=32-(c=r-m),o|=((u=e[d++])&(1<=r?(o=u>>>p&h,m-=r,p+=r):(o=u>>>p&h,m=32-(c=r-m),o|=((u=e[d++])&(1<=t?(h=s>>>d&l,c-=t,d+=t):(h=s>>>d&l,c=32-(u=t-c),h|=((s=e[f++])&(1<=r?(n=s>>>u-r&f,u-=r):(n=(s&f)<<(l=r-u)&f,n+=(s=e[o++])>>>(u=32-l)),t[a]=n;return t},h=function(e,t,r,i){var a,n,s,l,f=(1<=r?(n=s>>>c&f,u-=r,c+=r):(n=s>>>c&f,u=32-(l=r-u),n|=((s=e[o++])&(1<=359?359:a;a-=s;do{t+=e[n++]<<8,r+=t+=e[n++]}while(--s);t=(65535&t)+(t>>>16),r=(65535&r)+(r>>>16)}return 1&i&&(r+=t+=e[n]<<8),((r=(65535&r)+(r>>>16))<<16|(t=(65535&t)+(t>>>16)))>>>0},readHeaderInfo:function(e,t){var r=t.ptr,i=new Uint8Array(e,r,6),a={};if(a.fileIdentifierString=String.fromCharCode.apply(null,i),0!==a.fileIdentifierString.lastIndexOf("Lerc2",0))throw"Unexpected file identifier string (expect Lerc2 ): "+a.fileIdentifierString;r+=6;var n,s=new DataView(e,r,8),l=s.getInt32(0,!0);if(a.fileVersion=l,r+=4,l>=3&&(a.checksum=s.getUint32(4,!0),r+=4),s=new DataView(e,r,12),a.height=s.getUint32(0,!0),a.width=s.getUint32(4,!0),r+=8,l>=4?(a.numDims=s.getUint32(8,!0),r+=4):a.numDims=1,s=new DataView(e,r,40),a.numValidPixel=s.getUint32(0,!0),a.microBlockSize=s.getInt32(4,!0),a.blobSize=s.getInt32(8,!0),a.imageType=s.getInt32(12,!0),a.maxZError=s.getFloat64(16,!0),a.zMin=s.getFloat64(24,!0),a.zMax=s.getFloat64(32,!0),r+=40,t.headerInfo=a,t.ptr=r,l>=3&&(n=l>=4?52:48,this.computeChecksumFletcher32(new Uint8Array(e,r-n,a.blobSize-14))!==a.checksum))throw"Checksum failed.";return!0},checkMinMaxRanges:function(e,t){var r=t.headerInfo,i=this.getDataTypeArray(r.imageType),a=r.numDims*this.getDataTypeSize(r.imageType),n=this.readSubArray(e,t.ptr,i,a),s=this.readSubArray(e,t.ptr+a,i,a);t.ptr+=2*a;var l,f=!0;for(l=0;l0){r=new Uint8Array(Math.ceil(s/8));var u=(f=new DataView(e,a,o.numBytes)).getInt16(0,!0),c=2,h=0,d=0;do{if(u>0)for(;u--;)r[h++]=f.getUint8(c++);else for(d=f.getUint8(c++),u=-u;u--;)r[h++]=d;u=f.getInt16(c,!0),c+=2}while(c>3],m<<=7&p):m=r[p>>3],128&m&&(i[p]=1);t.pixels.resultMask=i,o.bitset=r,a+=o.numBytes}return t.ptr=a,t.mask=o,!0},readDataOneSweep:function(e,t,r,i){var a,n=t.ptr,s=t.headerInfo,l=s.numDims,f=s.width*s.height,o=s.imageType,u=s.numValidPixel*d.getDataTypeSize(o)*l,c=t.pixels.resultMask;if(r===Uint8Array)a=new Uint8Array(e,n,u);else{var h=new ArrayBuffer(u);new Uint8Array(h).set(new Uint8Array(e,n,u)),a=new r(h)}if(a.length===f*l)t.pixels.resultPixels=i?d.swapDimensionOrder(a,f,l,r,!0):a;else{t.pixels.resultPixels=new r(f*l);var m=0,p=0,g=0,x=0;if(l>1){if(i){for(p=0;p=s)return!1;var l=new Uint32Array(s-n);d.decodeBits(e,t,l);var f,o,u,c,h=[];for(f=n;f0&&(h[o].second=w<>>32-c,32-y>=c?32===(y+=c)&&(y=0,w=k[++v]):(y+=c-32,w=k[++v],h[o].second|=w>>>32-y));var b=0,U=0,I=new m;for(f=0;f=r?r:b;var V,M,D,A,B,P=[];for(f=n;f0)if(V=[c,o],c<=U)for(M=h[o].second<=0;A--)M>>>A&1?(B.right||(B.right=new m),B=B.right):(B.left||(B.left=new m),B=B.left),0!==A||B.val||(B.val=V[1]);return{decodeLut:P,numBitsLUTQick:U,numBitsLUT:b,tree:I,stuffedData:k,srcPtr:v,bitPos:y}},readHuffman:function(e,t,r,i){var a,n,s,l,f,o,u,c,h,m=t.headerInfo.numDims,p=t.headerInfo.height,g=t.headerInfo.width,x=g*p,w=this.readHuffmanTree(e,t),k=w.decodeLut,y=w.tree,v=w.stuffedData,b=w.srcPtr,U=w.bitPos,I=w.numBitsLUTQick,V=w.numBitsLUT,M=0===t.headerInfo.imageType?128:0,D=t.pixels.resultMask,A=0;U>0&&(b++,U=0);var B,P=v[b],T=1===t.encodeMode,S=new r(x*m),z=S;if(m<2||T){for(B=0;B1&&(z=new r(S.buffer,x*B,x),A=0),t.headerInfo.numValidPixel===g*p)for(c=0,o=0;o>>32-I,32-U>>64-U-I),k[f])n=k[f][1],U+=k[f][0];else for(f=l=P<>>32-V,32-U>>64-U-V),a=y,h=0;h>>V-h-1&1?a.right:a.left).left&&!a.right){n=a.val,U=U+h+1;break}U>=32&&(U-=32,P=v[++b]),s=n-M,T?(s+=u>0?A:o>0?z[c-g]:A,s&=255,z[c]=s,A=s):z[c]=s}else for(c=0,o=0;o>>32-I,32-U>>64-U-I),k[f])n=k[f][1],U+=k[f][0];else for(f=l=P<>>32-V,32-U>>64-U-V),a=y,h=0;h>>V-h-1&1?a.right:a.left).left&&!a.right){n=a.val,U=U+h+1;break}U>=32&&(U-=32,P=v[++b]),s=n-M,T?(u>0&&D[c-1]?s+=A:o>0&&D[c-g]?s+=z[c-g]:s+=A,s&=255,z[c]=s,A=s):z[c]=s}}else for(c=0,o=0;o>>32-I,32-U>>64-U-I),k[f])n=k[f][1],U+=k[f][0];else for(f=l=P<>>32-V,32-U>>64-U-V),a=y,h=0;h>>V-h-1&1?a.right:a.left).left&&!a.right){n=a.val,U=U+h+1;break}U>=32&&(U-=32,P=v[++b]),s=n-M,z[c]=s}t.ptr=t.ptr+4*(b+1)+(U>0?4:0),t.pixels.resultPixels=S,m>1&&!i&&(t.pixels.resultPixels=d.swapDimensionOrder(S,x,m,r))},decodeBits:function(e,t,r,i,a){var n=t.headerInfo,s=n.fileVersion,d=0,m=e.byteLength-t.ptr>=5?5:e.byteLength-t.ptr,p=new DataView(e,t.ptr,m),g=p.getUint8(0);d++;var x=g>>6,w=0===x?4:3-x,k=(32&g)>0,y=31&g,v=0;if(1===w)v=p.getUint8(d),d++;else if(2===w)v=p.getUint16(d,!0),d+=2;else{if(4!==w)throw"Invalid valid pixel count type";v=p.getUint32(d,!0),d+=4}var b,U,I,V,M,D,A,B,P,T=2*n.maxZError,S=n.numDims>1?n.maxValues[a]:n.zMax;if(k){for(t.counter.lut++,B=p.getUint8(d),d++,V=Math.ceil((B-1)*y/8),M=Math.ceil(V/4),U=new ArrayBuffer(4*M),I=new Uint8Array(U),t.ptr+=d,I.set(new Uint8Array(e,t.ptr,V)),A=new Uint32Array(U),t.ptr+=V,P=0;B-1>>>P;)P++;V=Math.ceil(v*P/8),M=Math.ceil(V/4),U=new ArrayBuffer(4*M),(I=new Uint8Array(U)).set(new Uint8Array(e,t.ptr,V)),b=new Uint32Array(U),t.ptr+=V,D=s>=3?u(A,y,B-1,i,T,S):f(A,y,B-1,i,T,S),s>=3?o(b,r,P,v,D):l(b,r,P,v,D)}else t.counter.bitstuffer++,P=y,t.ptr+=d,P>0&&(V=Math.ceil(v*P/8),M=Math.ceil(V/4),U=new ArrayBuffer(4*M),(I=new Uint8Array(U)).set(new Uint8Array(e,t.ptr,V)),b=new Uint32Array(U),t.ptr+=V,s>=3?null==i?h(b,r,P,v):o(b,r,P,v,!1,i,T,S):null==i?c(b,r,P,v):l(b,r,P,v,!1,i,T,S))},readTiles:function(e,t,r,i){var a=t.headerInfo,n=a.width,s=a.height,l=n*s,f=a.microBlockSize,o=a.imageType,u=d.getDataTypeSize(o),c=Math.ceil(n/f),h=Math.ceil(s/f);t.pixels.numBlocksY=h,t.pixels.numBlocksX=c,t.pixels.ptr=0;var m,p,g,x,w,k,y,v,b,U,I=0,V=0,M=0,D=0,A=0,B=0,P=0,T=0,S=0,z=0,F=0,O=0,L=0,C=0,X=0,E=new r(f*f),Y=s%f||f,H=n%f||f,Z=a.numDims,_=t.pixels.resultMask,N=t.pixels.resultPixels,R=a.fileVersion>=5?14:15,Q=a.zMax;for(M=0;M1?(U=N,z=M*n*f+D*f,N=new r(t.pixels.resultPixels.buffer,l*v*u,l),Q=a.maxValues[v]):U=null,P=e.byteLength-t.ptr,p={},X=0,T=(m=new DataView(e,t.ptr,Math.min(10,P))).getUint8(0),X++,b=a.fileVersion>=5?4&T:0,S=T>>6&255,(T>>2&R)!=(D*f>>3&R))throw"integrity issue";if(b&&0===v)throw"integrity issue";if((w=3&T)>3)throw t.ptr+=X,"Invalid block encoding ("+w+")";if(2!==w)if(0===w){if(b)throw"integrity issue";if(t.counter.uncompressed++,t.ptr+=X,O=(O=A*B*u)<(L=e.byteLength-t.ptr)?O:L,g=new ArrayBuffer(O%u==0?O:O+u-O%u),new Uint8Array(g).set(new Uint8Array(e,t.ptr,O)),x=new r(g),C=0,_)for(I=0;I1&&!i&&(t.pixels.resultPixels=d.swapDimensionOrder(t.pixels.resultPixels,l,Z,r))},formatFileInfo:function(e){return{fileIdentifierString:e.headerInfo.fileIdentifierString,fileVersion:e.headerInfo.fileVersion,imageType:e.headerInfo.imageType,height:e.headerInfo.height,width:e.headerInfo.width,numValidPixel:e.headerInfo.numValidPixel,microBlockSize:e.headerInfo.microBlockSize,blobSize:e.headerInfo.blobSize,maxZError:e.headerInfo.maxZError,pixelType:d.getPixelType(e.headerInfo.imageType),eofOffset:e.eofOffset,mask:e.mask?{numBytes:e.mask.numBytes}:null,pixels:{numBlocksX:e.pixels.numBlocksX,numBlocksY:e.pixels.numBlocksY,maxValue:e.headerInfo.zMax,minValue:e.headerInfo.zMin,noDataValue:e.noDataValue}}},constructConstantSurface:function(e,t){var r=e.headerInfo.zMax,i=e.headerInfo.zMin,a=e.headerInfo.maxValues,n=e.headerInfo.numDims,s=e.headerInfo.height*e.headerInfo.width,l=0,f=0,o=0,u=e.pixels.resultMask,c=e.pixels.resultPixels;if(u)if(n>1){if(t)for(l=0;l1&&i!==r)if(t)for(l=0;l=-128&&t<=127;break;case 1:r=t>=0&&t<=255;break;case 2:r=t>=-32768&&t<=32767;break;case 3:r=t>=0&&t<=65536;break;case 4:r=t>=-2147483648&&t<=2147483647;break;case 5:r=t>=0&&t<=4294967296;break;case 6:r=t>=-34027999387901484e22&&t<=34027999387901484e22;break;case 7:r=t>=-17976931348623157e292&&t<=17976931348623157e292;break;default:r=!1}return r},getDataTypeSize:function(e){var t=0;switch(e){case 0:case 1:t=1;break;case 2:case 3:t=2;break;case 4:case 5:case 6:t=4;break;case 7:t=8;break;default:t=e}return t},getDataTypeUsed:function(e,t){var r=e;switch(e){case 2:case 4:r=e-t;break;case 3:case 5:r=e-2*t;break;case 6:r=0===t?e:1===t?2:1;break;case 7:r=0===t?e:e-2*t+1;break;default:r=e}return r},getOnePixel:function(e,t,r,i){var a=0;switch(r){case 0:a=i.getInt8(t);break;case 1:a=i.getUint8(t);break;case 2:a=i.getInt16(t,!0);break;case 3:a=i.getUint16(t,!0);break;case 4:a=i.getInt32(t,!0);break;case 5:a=i.getUInt32(t,!0);break;case 6:a=i.getFloat32(t,!0);break;case 7:a=i.getFloat64(t,!0);break;default:throw"the decoder does not understand this pixel type"}return a},swapDimensionOrder:function(e,t,r,i,a){var n=0,s=0,l=0,f=0,o=e;if(r>1)if(o=new i(t*r),a)for(n=0;n5)throw"unsupported lerc version 2."+s;d.readMask(e,a),n.numValidPixel===n.width*n.height||a.pixels.resultMask||(a.pixels.resultMask=t.maskData);var f=n.width*n.height;a.pixels.resultPixels=new l(f*n.numDims),a.counter={onesweep:0,uncompressed:0,lut:0,bitstuffer:0,constant:0,constantoffset:0};var o,u=!t.returnPixelInterleavedDims;if(0!==n.numValidPixel)if(n.zMax===n.zMin)d.constructConstantSurface(a,u);else if(s>=4&&d.checkMinMaxRanges(e,a))d.constructConstantSurface(a,u);else{var c=new DataView(e,a.ptr,2),h=c.getUint8(0);if(a.ptr++,h)d.readDataOneSweep(e,a,l,u);else if(s>1&&n.imageType<=1&&Math.abs(n.maxZError-.5)<1e-5){var m=c.getUint8(1);if(a.ptr++,a.encodeMode=m,m>2||s<4&&m>1)throw"Invalid Huffman flag "+m;m?d.readHuffman(e,a,l,u):d.readTiles(e,a,l,u)}else d.readTiles(e,a,l,u)}a.eofOffset=a.ptr,t.inputOffset?(o=a.headerInfo.blobSize+t.inputOffset-a.ptr,Math.abs(o)>=1&&(a.eofOffset=t.inputOffset+a.headerInfo.blobSize)):(o=a.headerInfo.blobSize-a.ptr,Math.abs(o)>=1&&(a.eofOffset=a.headerInfo.blobSize));var p={width:n.width,height:n.height,pixelData:a.pixels.resultPixels,minValue:n.zMin,maxValue:n.zMax,validPixelCount:n.numValidPixel,dimCount:n.numDims,dimStats:{minValues:n.minValues,maxValues:n.maxValues},maskData:a.pixels.resultMask};if(a.pixels.resultMask&&d.isValidPixelValue(n.imageType,r)){var g=a.pixels.resultMask;for(i=0;i1&&(o&&p.push(o),v.fileInfo.mask&&v.fileInfo.mask.numBytes>0&&y++),d++,g.pixels.push(v.pixelData),g.statistics.push({minValue:v.minValue,maxValue:v.maxValue,noDataValue:v.noDataValue,dimStats:v.dimStats})}if(i>1&&y>1){for(h=g.width*g.height,g.bandMasks=p,(o=new Uint8Array(h)).set(p[0]),u=1;u=0;)t[e]=0}const e=256,a=286,i=30,n=15,s=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),r=new Uint8Array([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13]),l=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),o=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),h=new Array(576);t(h);const d=new Array(60);t(d);const _=new Array(512);t(_);const f=new Array(256);t(f);const c=new Array(29);t(c);const u=new Array(i);function w(t,e,a,i,n){this.static_tree=t,this.extra_bits=e,this.extra_base=a,this.elems=i,this.max_length=n,this.has_stree=t&&t.length}let m,b,g;function p(t,e){this.dyn_tree=t,this.max_code=0,this.stat_desc=e}t(u);const k=t=>t<256?_[t]:_[256+(t>>>7)],v=(t,e)=>{t.pending_buf[t.pending++]=255&e,t.pending_buf[t.pending++]=e>>>8&255},y=(t,e,a)=>{t.bi_valid>16-a?(t.bi_buf|=e<>16-t.bi_valid,t.bi_valid+=a-16):(t.bi_buf|=e<{y(t,a[2*e],a[2*e+1])},z=(t,e)=>{let a=0;do{a|=1&t,t>>>=1,a<<=1}while(--e>0);return a>>>1},A=(t,e,a)=>{const i=new Array(16);let s,r,l=0;for(s=1;s<=n;s++)l=l+a[s-1]<<1,i[s]=l;for(r=0;r<=e;r++){let e=t[2*r+1];0!==e&&(t[2*r]=z(i[e]++,e))}},E=t=>{let e;for(e=0;e{t.bi_valid>8?v(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},Z=(t,e,a,i)=>{const n=2*e,s=2*a;return t[n]{const i=t.heap[a];let n=a<<1;for(;n<=t.heap_len&&(n{let n,l,o,h,d=0;if(0!==t.sym_next)do{n=255&t.pending_buf[t.sym_buf+d++],n+=(255&t.pending_buf[t.sym_buf+d++])<<8,l=t.pending_buf[t.sym_buf+d++],0===n?x(t,l,a):(o=f[l],x(t,o+e+1,a),h=s[o],0!==h&&(l-=c[o],y(t,l,h)),n--,o=k(n),x(t,o,i),h=r[o],0!==h&&(n-=u[o],y(t,n,h)))}while(d{const a=e.dyn_tree,i=e.stat_desc.static_tree,s=e.stat_desc.has_stree,r=e.stat_desc.elems;let l,o,h,d=-1;for(t.heap_len=0,t.heap_max=573,l=0;l>1;l>=1;l--)U(t,a,l);h=r;do{l=t.heap[1],t.heap[1]=t.heap[t.heap_len--],U(t,a,1),o=t.heap[1],t.heap[--t.heap_max]=l,t.heap[--t.heap_max]=o,a[2*h]=a[2*l]+a[2*o],t.depth[h]=(t.depth[l]>=t.depth[o]?t.depth[l]:t.depth[o])+1,a[2*l+1]=a[2*o+1]=h,t.heap[1]=h++,U(t,a,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,e)=>{const a=e.dyn_tree,i=e.max_code,s=e.stat_desc.static_tree,r=e.stat_desc.has_stree,l=e.stat_desc.extra_bits,o=e.stat_desc.extra_base,h=e.stat_desc.max_length;let d,_,f,c,u,w,m=0;for(c=0;c<=n;c++)t.bl_count[c]=0;for(a[2*t.heap[t.heap_max]+1]=0,d=t.heap_max+1;d<573;d++)_=t.heap[d],c=a[2*a[2*_+1]+1]+1,c>h&&(c=h,m++),a[2*_+1]=c,_>i||(t.bl_count[c]++,u=0,_>=o&&(u=l[_-o]),w=a[2*_],t.opt_len+=w*(c+u),r&&(t.static_len+=w*(s[2*_+1]+u)));if(0!==m){do{for(c=h-1;0===t.bl_count[c];)c--;t.bl_count[c]--,t.bl_count[c+1]+=2,t.bl_count[h]--,m-=2}while(m>0);for(c=h;0!==c;c--)for(_=t.bl_count[c];0!==_;)f=t.heap[--d],f>i||(a[2*f+1]!==c&&(t.opt_len+=(c-a[2*f+1])*a[2*f],a[2*f+1]=c),_--)}})(t,e),A(a,d,t.bl_count)},T=(t,e,a)=>{let i,n,s=-1,r=e[1],l=0,o=7,h=4;for(0===r&&(o=138,h=3),e[2*(a+1)+1]=65535,i=0;i<=a;i++)n=r,r=e[2*(i+1)+1],++l{let i,n,s=-1,r=e[1],l=0,o=7,h=4;for(0===r&&(o=138,h=3),i=0;i<=a;i++)if(n=r,r=e[2*(i+1)+1],!(++l{y(t,0+(i?1:0),3),R(t),v(t,a),v(t,~a),a&&t.pending_buf.set(t.window.subarray(e,e+a),t.pending),t.pending+=a};var L=(t,a,i,n)=>{let s,r,l=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let a,i=4093624447;for(a=0;a<=31;a++,i>>>=1)if(1&i&&0!==t.dyn_ltree[2*a])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(a=32;a{let e;for(T(t,t.dyn_ltree,t.l_desc.max_code),T(t,t.dyn_dtree,t.d_desc.max_code),D(t,t.bl_desc),e=18;e>=3&&0===t.bl_tree[2*o[e]+1];e--);return t.opt_len+=3*(e+1)+5+5+4,e})(t),s=t.opt_len+3+7>>>3,r=t.static_len+3+7>>>3,r<=s&&(s=r)):s=r=i+5,i+4<=s&&-1!==a?F(t,a,i,n):4===t.strategy||r===s?(y(t,2+(n?1:0),3),S(t,h,d)):(y(t,4+(n?1:0),3),((t,e,a,i)=>{let n;for(y(t,e-257,5),y(t,a-1,5),y(t,i-4,4),n=0;n{I||((()=>{let t,e,o,p,k;const v=new Array(16);for(o=0,p=0;p<28;p++)for(c[p]=o,t=0;t<1<>=7;p(t.pending_buf[t.sym_buf+t.sym_next++]=a,t.pending_buf[t.sym_buf+t.sym_next++]=a>>8,t.pending_buf[t.sym_buf+t.sym_next++]=i,0===a?t.dyn_ltree[2*i]++:(t.matches++,a--,t.dyn_ltree[2*(f[i]+e+1)]++,t.dyn_dtree[2*k(a)]++),t.sym_next===t.sym_end),_tr_align:t=>{y(t,2,3),x(t,256,h),(t=>{16===t.bi_valid?(v(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}};var B=(t,e,a,i)=>{let n=65535&t|0,s=t>>>16&65535|0,r=0;for(;0!==a;){r=a>2e3?2e3:a,a-=r;do{n=n+e[i++]|0,s=s+n|0}while(--r);n%=65521,s%=65521}return n|s<<16|0};const C=new Uint32Array((()=>{let t,e=[];for(var a=0;a<256;a++){t=a;for(var i=0;i<8;i++)t=1&t?3988292384^t>>>1:t>>>1;e[a]=t}return e})());var H=(t,e,a,i)=>{const n=C,s=i+a;t^=-1;for(let a=i;a>>8^n[255&(t^e[a])];return-1^t},M={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},j={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:K,_tr_stored_block:P,_tr_flush_block:Y,_tr_tally:G,_tr_align:X}=N,{Z_NO_FLUSH:W,Z_PARTIAL_FLUSH:q,Z_FULL_FLUSH:J,Z_FINISH:Q,Z_BLOCK:V,Z_OK:$,Z_STREAM_END:tt,Z_STREAM_ERROR:et,Z_DATA_ERROR:at,Z_BUF_ERROR:it,Z_DEFAULT_COMPRESSION:nt,Z_FILTERED:st,Z_HUFFMAN_ONLY:rt,Z_RLE:lt,Z_FIXED:ot,Z_DEFAULT_STRATEGY:ht,Z_UNKNOWN:dt,Z_DEFLATED:_t}=j,ft=258,ct=262,ut=42,wt=113,mt=666,bt=(t,e)=>(t.msg=M[e],e),gt=t=>2*t-(t>4?9:0),pt=t=>{let e=t.length;for(;--e>=0;)t[e]=0},kt=t=>{let e,a,i,n=t.w_size;e=t.hash_size,i=e;do{a=t.head[--i],t.head[i]=a>=n?a-n:0}while(--e);e=n,i=e;do{a=t.prev[--i],t.prev[i]=a>=n?a-n:0}while(--e)};let vt=(t,e,a)=>(e<{const e=t.state;let a=e.pending;a>t.avail_out&&(a=t.avail_out),0!==a&&(t.output.set(e.pending_buf.subarray(e.pending_out,e.pending_out+a),t.next_out),t.next_out+=a,e.pending_out+=a,t.total_out+=a,t.avail_out-=a,e.pending-=a,0===e.pending&&(e.pending_out=0))},xt=(t,e)=>{Y(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,e),t.block_start=t.strstart,yt(t.strm)},zt=(t,e)=>{t.pending_buf[t.pending++]=e},At=(t,e)=>{t.pending_buf[t.pending++]=e>>>8&255,t.pending_buf[t.pending++]=255&e},Et=(t,e,a,i)=>{let n=t.avail_in;return n>i&&(n=i),0===n?0:(t.avail_in-=n,e.set(t.input.subarray(t.next_in,t.next_in+n),a),1===t.state.wrap?t.adler=B(t.adler,e,n,a):2===t.state.wrap&&(t.adler=H(t.adler,e,n,a)),t.next_in+=n,t.total_in+=n,n)},Rt=(t,e)=>{let a,i,n=t.max_chain_length,s=t.strstart,r=t.prev_length,l=t.nice_match;const o=t.strstart>t.w_size-ct?t.strstart-(t.w_size-ct):0,h=t.window,d=t.w_mask,_=t.prev,f=t.strstart+ft;let c=h[s+r-1],u=h[s+r];t.prev_length>=t.good_match&&(n>>=2),l>t.lookahead&&(l=t.lookahead);do{if(a=e,h[a+r]===u&&h[a+r-1]===c&&h[a]===h[s]&&h[++a]===h[s+1]){s+=2,a++;do{}while(h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&h[++s]===h[++a]&&sr){if(t.match_start=e,r=i,i>=l)break;c=h[s+r-1],u=h[s+r]}}}while((e=_[e&d])>o&&0!=--n);return r<=t.lookahead?r:t.lookahead},Zt=t=>{const e=t.w_size;let a,i,n;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=e+(e-ct)&&(t.window.set(t.window.subarray(e,e+e-i),0),t.match_start-=e,t.strstart-=e,t.block_start-=e,t.insert>t.strstart&&(t.insert=t.strstart),kt(t),i+=e),0===t.strm.avail_in)break;if(a=Et(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=a,t.lookahead+t.insert>=3)for(n=t.strstart-t.insert,t.ins_h=t.window[n],t.ins_h=vt(t,t.ins_h,t.window[n+1]);t.insert&&(t.ins_h=vt(t,t.ins_h,t.window[n+3-1]),t.prev[n&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=n,n++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead{let a,i,n,s=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r=0,l=t.strm.avail_in;do{if(a=65535,n=t.bi_valid+42>>3,t.strm.avail_outi+t.strm.avail_in&&(a=i+t.strm.avail_in),a>n&&(a=n),a>8,t.pending_buf[t.pending-2]=~a,t.pending_buf[t.pending-1]=~a>>8,yt(t.strm),i&&(i>a&&(i=a),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,a-=i),a&&(Et(t.strm,t.strm.output,t.strm.next_out,a),t.strm.next_out+=a,t.strm.avail_out-=a,t.strm.total_out+=a)}while(0===r);return l-=t.strm.avail_in,l&&(l>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=l&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-l,t.strm.next_in),t.strstart),t.strstart+=l,t.insert+=l>t.w_size-t.insert?t.w_size-t.insert:l),t.block_start=t.strstart),t.high_watern&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,n+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),n>t.strm.avail_in&&(n=t.strm.avail_in),n&&(Et(t.strm,t.window,t.strstart,n),t.strstart+=n,t.insert+=n>t.w_size-t.insert?t.w_size-t.insert:n),t.high_water>3,n=t.pending_buf_size-n>65535?65535:t.pending_buf_size-n,s=n>t.w_size?t.w_size:n,i=t.strstart-t.block_start,(i>=s||(i||e===Q)&&e!==W&&0===t.strm.avail_in&&i<=n)&&(a=i>n?n:i,r=e===Q&&0===t.strm.avail_in&&a===i?1:0,P(t,t.block_start,a,r),t.block_start+=a,yt(t.strm)),r?3:1)},St=(t,e)=>{let a,i;for(;;){if(t.lookahead=3&&(t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==a&&t.strstart-a<=t.w_size-ct&&(t.match_length=Rt(t,a)),t.match_length>=3)if(i=G(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=vt(t,t.ins_h,t.window[t.strstart+1]);else i=G(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(xt(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,e===Q?(xt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(xt(t,!1),0===t.strm.avail_out)?1:2},Dt=(t,e)=>{let a,i,n;for(;;){if(t.lookahead=3&&(t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==a&&t.prev_length4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){n=t.strstart+t.lookahead-3,i=G(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=n&&(t.ins_h=vt(t,t.ins_h,t.window[t.strstart+3-1]),a=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,i&&(xt(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(i=G(t,0,t.window[t.strstart-1]),i&&xt(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=G(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,e===Q?(xt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(xt(t,!1),0===t.strm.avail_out)?1:2};function Tt(t,e,a,i,n){this.good_length=t,this.max_lazy=e,this.nice_length=a,this.max_chain=i,this.func=n}const Ot=[new Tt(0,0,0,0,Ut),new Tt(4,4,8,4,St),new Tt(4,5,16,8,St),new Tt(4,6,32,32,St),new Tt(4,4,16,16,Dt),new Tt(8,16,32,32,Dt),new Tt(8,16,128,128,Dt),new Tt(8,32,128,256,Dt),new Tt(32,128,258,1024,Dt),new Tt(32,258,258,4096,Dt)];function It(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=_t,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),pt(this.dyn_ltree),pt(this.dyn_dtree),pt(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),pt(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),pt(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Ft=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.status!==ut&&57!==e.status&&69!==e.status&&73!==e.status&&91!==e.status&&103!==e.status&&e.status!==wt&&e.status!==mt?1:0},Lt=t=>{if(Ft(t))return bt(t,et);t.total_in=t.total_out=0,t.data_type=dt;const e=t.state;return e.pending=0,e.pending_out=0,e.wrap<0&&(e.wrap=-e.wrap),e.status=2===e.wrap?57:e.wrap?ut:wt,t.adler=2===e.wrap?0:1,e.last_flush=-2,K(e),$},Nt=t=>{const e=Lt(t);var a;return e===$&&((a=t.state).window_size=2*a.w_size,pt(a.head),a.max_lazy_match=Ot[a.level].max_lazy,a.good_match=Ot[a.level].good_length,a.nice_match=Ot[a.level].nice_length,a.max_chain_length=Ot[a.level].max_chain,a.strstart=0,a.block_start=0,a.lookahead=0,a.insert=0,a.match_length=a.prev_length=2,a.match_available=0,a.ins_h=0),e},Bt=(t,e,a,i,n,s)=>{if(!t)return et;let r=1;if(e===nt&&(e=6),i<0?(r=0,i=-i):i>15&&(r=2,i-=16),n<1||n>9||a!==_t||i<8||i>15||e<0||e>9||s<0||s>ot||8===i&&1!==r)return bt(t,et);8===i&&(i=9);const l=new It;return t.state=l,l.strm=t,l.status=ut,l.wrap=r,l.gzhead=null,l.w_bits=i,l.w_size=1<Bt(t,e,_t,15,8,ht),deflateInit2:Bt,deflateReset:Nt,deflateResetKeep:Lt,deflateSetHeader:(t,e)=>Ft(t)||2!==t.state.wrap?et:(t.state.gzhead=e,$),deflate:(t,e)=>{if(Ft(t)||e>V||e<0)return t?bt(t,et):et;const a=t.state;if(!t.output||0!==t.avail_in&&!t.input||a.status===mt&&e!==Q)return bt(t,0===t.avail_out?it:et);const i=a.last_flush;if(a.last_flush=e,0!==a.pending){if(yt(t),0===t.avail_out)return a.last_flush=-1,$}else if(0===t.avail_in&>(e)<=gt(i)&&e!==Q)return bt(t,it);if(a.status===mt&&0!==t.avail_in)return bt(t,it);if(a.status===ut&&0===a.wrap&&(a.status=wt),a.status===ut){let e=_t+(a.w_bits-8<<4)<<8,i=-1;if(i=a.strategy>=rt||a.level<2?0:a.level<6?1:6===a.level?2:3,e|=i<<6,0!==a.strstart&&(e|=32),e+=31-e%31,At(a,e),0!==a.strstart&&(At(a,t.adler>>>16),At(a,65535&t.adler)),t.adler=1,a.status=wt,yt(t),0!==a.pending)return a.last_flush=-1,$}if(57===a.status)if(t.adler=0,zt(a,31),zt(a,139),zt(a,8),a.gzhead)zt(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),zt(a,255&a.gzhead.time),zt(a,a.gzhead.time>>8&255),zt(a,a.gzhead.time>>16&255),zt(a,a.gzhead.time>>24&255),zt(a,9===a.level?2:a.strategy>=rt||a.level<2?4:0),zt(a,255&a.gzhead.os),a.gzhead.extra&&a.gzhead.extra.length&&(zt(a,255&a.gzhead.extra.length),zt(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(t.adler=H(t.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=69;else if(zt(a,0),zt(a,0),zt(a,0),zt(a,0),zt(a,0),zt(a,9===a.level?2:a.strategy>=rt||a.level<2?4:0),zt(a,3),a.status=wt,yt(t),0!==a.pending)return a.last_flush=-1,$;if(69===a.status){if(a.gzhead.extra){let e=a.pending,i=(65535&a.gzhead.extra.length)-a.gzindex;for(;a.pending+i>a.pending_buf_size;){let n=a.pending_buf_size-a.pending;if(a.pending_buf.set(a.gzhead.extra.subarray(a.gzindex,a.gzindex+n),a.pending),a.pending=a.pending_buf_size,a.gzhead.hcrc&&a.pending>e&&(t.adler=H(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex+=n,yt(t),0!==a.pending)return a.last_flush=-1,$;e=0,i-=n}let n=new Uint8Array(a.gzhead.extra);a.pending_buf.set(n.subarray(a.gzindex,a.gzindex+i),a.pending),a.pending+=i,a.gzhead.hcrc&&a.pending>e&&(t.adler=H(t.adler,a.pending_buf,a.pending-e,e)),a.gzindex=0}a.status=73}if(73===a.status){if(a.gzhead.name){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=H(t.adler,a.pending_buf,a.pending-i,i)),yt(t),0!==a.pending)return a.last_flush=-1,$;i=0}e=a.gzindexi&&(t.adler=H(t.adler,a.pending_buf,a.pending-i,i)),a.gzindex=0}a.status=91}if(91===a.status){if(a.gzhead.comment){let e,i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i&&(t.adler=H(t.adler,a.pending_buf,a.pending-i,i)),yt(t),0!==a.pending)return a.last_flush=-1,$;i=0}e=a.gzindexi&&(t.adler=H(t.adler,a.pending_buf,a.pending-i,i))}a.status=103}if(103===a.status){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size&&(yt(t),0!==a.pending))return a.last_flush=-1,$;zt(a,255&t.adler),zt(a,t.adler>>8&255),t.adler=0}if(a.status=wt,yt(t),0!==a.pending)return a.last_flush=-1,$}if(0!==t.avail_in||0!==a.lookahead||e!==W&&a.status!==mt){let i=0===a.level?Ut(a,e):a.strategy===rt?((t,e)=>{let a;for(;;){if(0===t.lookahead&&(Zt(t),0===t.lookahead)){if(e===W)return 1;break}if(t.match_length=0,a=G(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,a&&(xt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===Q?(xt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(xt(t,!1),0===t.strm.avail_out)?1:2})(a,e):a.strategy===lt?((t,e)=>{let a,i,n,s;const r=t.window;for(;;){if(t.lookahead<=ft){if(Zt(t),t.lookahead<=ft&&e===W)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(n=t.strstart-1,i=r[n],i===r[++n]&&i===r[++n]&&i===r[++n])){s=t.strstart+ft;do{}while(i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&i===r[++n]&&nt.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(a=G(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(a=G(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),a&&(xt(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,e===Q?(xt(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(xt(t,!1),0===t.strm.avail_out)?1:2})(a,e):Ot[a.level].func(a,e);if(3!==i&&4!==i||(a.status=mt),1===i||3===i)return 0===t.avail_out&&(a.last_flush=-1),$;if(2===i&&(e===q?X(a):e!==V&&(P(a,0,0,!1),e===J&&(pt(a.head),0===a.lookahead&&(a.strstart=0,a.block_start=0,a.insert=0))),yt(t),0===t.avail_out))return a.last_flush=-1,$}return e!==Q?$:a.wrap<=0?tt:(2===a.wrap?(zt(a,255&t.adler),zt(a,t.adler>>8&255),zt(a,t.adler>>16&255),zt(a,t.adler>>24&255),zt(a,255&t.total_in),zt(a,t.total_in>>8&255),zt(a,t.total_in>>16&255),zt(a,t.total_in>>24&255)):(At(a,t.adler>>>16),At(a,65535&t.adler)),yt(t),a.wrap>0&&(a.wrap=-a.wrap),0!==a.pending?$:tt)},deflateEnd:t=>{if(Ft(t))return et;const e=t.state.status;return t.state=null,e===wt?bt(t,at):$},deflateSetDictionary:(t,e)=>{let a=e.length;if(Ft(t))return et;const i=t.state,n=i.wrap;if(2===n||1===n&&i.status!==ut||i.lookahead)return et;if(1===n&&(t.adler=B(t.adler,e,a,0)),i.wrap=0,a>=i.w_size){0===n&&(pt(i.head),i.strstart=0,i.block_start=0,i.insert=0);let t=new Uint8Array(i.w_size);t.set(e.subarray(a-i.w_size,a),0),e=t,a=i.w_size}const s=t.avail_in,r=t.next_in,l=t.input;for(t.avail_in=a,t.next_in=0,t.input=e,Zt(i);i.lookahead>=3;){let t=i.strstart,e=i.lookahead-2;do{i.ins_h=vt(i,i.ins_h,i.window[t+3-1]),i.prev[t&i.w_mask]=i.head[i.ins_h],i.head[i.ins_h]=t,t++}while(--e);i.strstart=t,i.lookahead=2,Zt(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=2,i.match_available=0,t.next_in=r,t.input=l,t.avail_in=s,i.wrap=n,$},deflateInfo:"pako deflate (from Nodeca project)"};const Ht=(t,e)=>Object.prototype.hasOwnProperty.call(t,e);var Mt={assign:function(t){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const a=e.shift();if(a){if("object"!=typeof a)throw new TypeError(a+"must be non-object");for(const e in a)Ht(a,e)&&(t[e]=a[e])}}return t},flattenChunks:t=>{let e=0;for(let a=0,i=t.length;a=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;Kt[254]=Kt[254]=1;var Pt={string2buf:t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let e,a,i,n,s,r=t.length,l=0;for(n=0;n>>6,e[s++]=128|63&a):a<65536?(e[s++]=224|a>>>12,e[s++]=128|a>>>6&63,e[s++]=128|63&a):(e[s++]=240|a>>>18,e[s++]=128|a>>>12&63,e[s++]=128|a>>>6&63,e[s++]=128|63&a);return e},buf2string:(t,e)=>{const a=e||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,e));let i,n;const s=new Array(2*a);for(n=0,i=0;i4)s[n++]=65533,i+=r-1;else{for(e&=2===r?31:3===r?15:7;r>1&&i1?s[n++]=65533:e<65536?s[n++]=e:(e-=65536,s[n++]=55296|e>>10&1023,s[n++]=56320|1023&e)}}return((t,e)=>{if(e<65534&&t.subarray&&jt)return String.fromCharCode.apply(null,t.length===e?t:t.subarray(0,e));let a="";for(let i=0;i{(e=e||t.length)>t.length&&(e=t.length);let a=e-1;for(;a>=0&&128==(192&t[a]);)a--;return a<0||0===a?e:a+Kt[t[a]]>e?a:e}};var Yt=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const Gt=Object.prototype.toString,{Z_NO_FLUSH:Xt,Z_SYNC_FLUSH:Wt,Z_FULL_FLUSH:qt,Z_FINISH:Jt,Z_OK:Qt,Z_STREAM_END:Vt,Z_DEFAULT_COMPRESSION:$t,Z_DEFAULT_STRATEGY:te,Z_DEFLATED:ee}=j;function ae(t){this.options=Mt.assign({level:$t,method:ee,chunkSize:16384,windowBits:15,memLevel:8,strategy:te},t||{});let e=this.options;e.raw&&e.windowBits>0?e.windowBits=-e.windowBits:e.gzip&&e.windowBits>0&&e.windowBits<16&&(e.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Yt,this.strm.avail_out=0;let a=Ct.deflateInit2(this.strm,e.level,e.method,e.windowBits,e.memLevel,e.strategy);if(a!==Qt)throw new Error(M[a]);if(e.header&&Ct.deflateSetHeader(this.strm,e.header),e.dictionary){let t;if(t="string"==typeof e.dictionary?Pt.string2buf(e.dictionary):"[object ArrayBuffer]"===Gt.call(e.dictionary)?new Uint8Array(e.dictionary):e.dictionary,a=Ct.deflateSetDictionary(this.strm,t),a!==Qt)throw new Error(M[a]);this._dict_set=!0}}function ie(t,e){const a=new ae(e);if(a.push(t,!0),a.err)throw a.msg||M[a.err];return a.result}ae.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize;let n,s;if(this.ended)return!1;for(s=e===~~e?e:!0===e?Jt:Xt,"string"==typeof t?a.input=Pt.string2buf(t):"[object ArrayBuffer]"===Gt.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;)if(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),(s===Wt||s===qt)&&a.avail_out<=6)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else{if(n=Ct.deflate(a,s),n===Vt)return a.next_out>0&&this.onData(a.output.subarray(0,a.next_out)),n=Ct.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===Qt;if(0!==a.avail_out){if(s>0&&a.next_out>0)this.onData(a.output.subarray(0,a.next_out)),a.avail_out=0;else if(0===a.avail_in)break}else this.onData(a.output)}return!0},ae.prototype.onData=function(t){this.chunks.push(t)},ae.prototype.onEnd=function(t){t===Qt&&(this.result=Mt.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var ne={Deflate:ae,deflate:ie,deflateRaw:function(t,e){return(e=e||{}).raw=!0,ie(t,e)},gzip:function(t,e){return(e=e||{}).gzip=!0,ie(t,e)},constants:j};const se=16209;var re=function(t,e){let a,i,n,s,r,l,o,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z,A;const E=t.state;a=t.next_in,z=t.input,i=a+(t.avail_in-5),n=t.next_out,A=t.output,s=n-(e-t.avail_out),r=n+(t.avail_out-257),l=E.dmax,o=E.wsize,h=E.whave,d=E.wnext,_=E.window,f=E.hold,c=E.bits,u=E.lencode,w=E.distcode,m=(1<>>24,f>>>=p,c-=p,p=g>>>16&255,0===p)A[n++]=65535&g;else{if(!(16&p)){if(0==(64&p)){g=u[(65535&g)+(f&(1<>>=p,c-=p),c<15&&(f+=z[a++]<>>24,f>>>=p,c-=p,p=g>>>16&255,!(16&p)){if(0==(64&p)){g=w[(65535&g)+(f&(1<l){t.msg="invalid distance too far back",E.mode=se;break t}if(f>>>=p,c-=p,p=n-s,v>p){if(p=v-p,p>h&&E.sane){t.msg="invalid distance too far back",E.mode=se;break t}if(y=0,x=_,0===d){if(y+=o-p,p2;)A[n++]=x[y++],A[n++]=x[y++],A[n++]=x[y++],k-=3;k&&(A[n++]=x[y++],k>1&&(A[n++]=x[y++]))}else{y=n-v;do{A[n++]=A[y++],A[n++]=A[y++],A[n++]=A[y++],k-=3}while(k>2);k&&(A[n++]=A[y++],k>1&&(A[n++]=A[y++]))}break}}break}}while(a>3,a-=k,c-=k<<3,f&=(1<{const o=l.bits;let h,d,_,f,c,u,w=0,m=0,b=0,g=0,p=0,k=0,v=0,y=0,x=0,z=0,A=null;const E=new Uint16Array(16),R=new Uint16Array(16);let Z,U,S,D=null;for(w=0;w<=le;w++)E[w]=0;for(m=0;m=1&&0===E[g];g--);if(p>g&&(p=g),0===g)return n[s++]=20971520,n[s++]=20971520,l.bits=1,0;for(b=1;b0&&(0===t||1!==g))return-1;for(R[1]=0,w=1;w852||2===t&&x>592)return 1;for(;;){Z=w-v,r[m]+1=u?(U=D[r[m]-u],S=A[r[m]-u]):(U=96,S=0),h=1<>v)+d]=Z<<24|U<<16|S|0}while(0!==d);for(h=1<>=1;if(0!==h?(z&=h-1,z+=h):z=0,m++,0==--E[w]){if(w===g)break;w=e[a+r[m]]}if(w>p&&(z&f)!==_){for(0===v&&(v=p),c+=b,k=w-v,y=1<852||2===t&&x>592)return 1;_=z&f,n[_]=p<<24|k<<16|c-s|0}}return 0!==z&&(n[c+z]=w-v<<24|64<<16|0),l.bits=p,0};const{Z_FINISH:ce,Z_BLOCK:ue,Z_TREES:we,Z_OK:me,Z_STREAM_END:be,Z_NEED_DICT:ge,Z_STREAM_ERROR:pe,Z_DATA_ERROR:ke,Z_MEM_ERROR:ve,Z_BUF_ERROR:ye,Z_DEFLATED:xe}=j,ze=16180,Ae=16190,Ee=16191,Re=16192,Ze=16194,Ue=16199,Se=16200,De=16206,Te=16209,Oe=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function Ie(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Fe=t=>{if(!t)return 1;const e=t.state;return!e||e.strm!==t||e.mode16211?1:0},Le=t=>{if(Fe(t))return pe;const e=t.state;return t.total_in=t.total_out=e.total=0,t.msg="",e.wrap&&(t.adler=1&e.wrap),e.mode=ze,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(852),e.distcode=e.distdyn=new Int32Array(592),e.sane=1,e.back=-1,me},Ne=t=>{if(Fe(t))return pe;const e=t.state;return e.wsize=0,e.whave=0,e.wnext=0,Le(t)},Be=(t,e)=>{let a;if(Fe(t))return pe;const i=t.state;return e<0?(a=0,e=-e):(a=5+(e>>4),e<48&&(e&=15)),e&&(e<8||e>15)?pe:(null!==i.window&&i.wbits!==e&&(i.window=null),i.wrap=a,i.wbits=e,Ne(t))},Ce=(t,e)=>{if(!t)return pe;const a=new Ie;t.state=a,a.strm=t,a.window=null,a.mode=ze;const i=Be(t,e);return i!==me&&(t.state=null),i};let He,Me,je=!0;const Ke=t=>{if(je){He=new Int32Array(512),Me=new Int32Array(32);let e=0;for(;e<144;)t.lens[e++]=8;for(;e<256;)t.lens[e++]=9;for(;e<280;)t.lens[e++]=7;for(;e<288;)t.lens[e++]=8;for(fe(1,t.lens,0,288,He,0,t.work,{bits:9}),e=0;e<32;)t.lens[e++]=5;fe(2,t.lens,0,32,Me,0,t.work,{bits:5}),je=!1}t.lencode=He,t.lenbits=9,t.distcode=Me,t.distbits=5},Pe=(t,e,a,i)=>{let n;const s=t.state;return null===s.window&&(s.wsize=1<=s.wsize?(s.window.set(e.subarray(a-s.wsize,a),0),s.wnext=0,s.whave=s.wsize):(n=s.wsize-s.wnext,n>i&&(n=i),s.window.set(e.subarray(a-i,a-i+n),s.wnext),(i-=n)?(s.window.set(e.subarray(a-i,a),0),s.wnext=i,s.whave=s.wsize):(s.wnext+=n,s.wnext===s.wsize&&(s.wnext=0),s.whaveCe(t,15),inflateInit2:Ce,inflate:(t,e)=>{let a,i,n,s,r,l,o,h,d,_,f,c,u,w,m,b,g,p,k,v,y,x,z=0;const A=new Uint8Array(4);let E,R;const Z=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Fe(t)||!t.output||!t.input&&0!==t.avail_in)return pe;a=t.state,a.mode===Ee&&(a.mode=Re),r=t.next_out,n=t.output,o=t.avail_out,s=t.next_in,i=t.input,l=t.avail_in,h=a.hold,d=a.bits,_=l,f=o,x=me;t:for(;;)switch(a.mode){case ze:if(0===a.wrap){a.mode=Re;break}for(;d<16;){if(0===l)break t;l--,h+=i[s++]<>>8&255,a.check=H(a.check,A,2,0),h=0,d=0,a.mode=16181;break}if(a.head&&(a.head.done=!1),!(1&a.wrap)||(((255&h)<<8)+(h>>8))%31){t.msg="incorrect header check",a.mode=Te;break}if((15&h)!==xe){t.msg="unknown compression method",a.mode=Te;break}if(h>>>=4,d-=4,y=8+(15&h),0===a.wbits&&(a.wbits=y),y>15||y>a.wbits){t.msg="invalid window size",a.mode=Te;break}a.dmax=1<>8&1),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=H(a.check,A,2,0)),h=0,d=0,a.mode=16182;case 16182:for(;d<32;){if(0===l)break t;l--,h+=i[s++]<>>8&255,A[2]=h>>>16&255,A[3]=h>>>24&255,a.check=H(a.check,A,4,0)),h=0,d=0,a.mode=16183;case 16183:for(;d<16;){if(0===l)break t;l--,h+=i[s++]<>8),512&a.flags&&4&a.wrap&&(A[0]=255&h,A[1]=h>>>8&255,a.check=H(a.check,A,2,0)),h=0,d=0,a.mode=16184;case 16184:if(1024&a.flags){for(;d<16;){if(0===l)break t;l--,h+=i[s++]<>>8&255,a.check=H(a.check,A,2,0)),h=0,d=0}else a.head&&(a.head.extra=null);a.mode=16185;case 16185:if(1024&a.flags&&(c=a.length,c>l&&(c=l),c&&(a.head&&(y=a.head.extra_len-a.length,a.head.extra||(a.head.extra=new Uint8Array(a.head.extra_len)),a.head.extra.set(i.subarray(s,s+c),y)),512&a.flags&&4&a.wrap&&(a.check=H(a.check,i,c,s)),l-=c,s+=c,a.length-=c),a.length))break t;a.length=0,a.mode=16186;case 16186:if(2048&a.flags){if(0===l)break t;c=0;do{y=i[s+c++],a.head&&y&&a.length<65536&&(a.head.name+=String.fromCharCode(y))}while(y&&c>9&1,a.head.done=!0),t.adler=a.check=0,a.mode=Ee;break;case 16189:for(;d<32;){if(0===l)break t;l--,h+=i[s++]<>>=7&d,d-=7&d,a.mode=De;break}for(;d<3;){if(0===l)break t;l--,h+=i[s++]<>>=1,d-=1,3&h){case 0:a.mode=16193;break;case 1:if(Ke(a),a.mode=Ue,e===we){h>>>=2,d-=2;break t}break;case 2:a.mode=16196;break;case 3:t.msg="invalid block type",a.mode=Te}h>>>=2,d-=2;break;case 16193:for(h>>>=7&d,d-=7&d;d<32;){if(0===l)break t;l--,h+=i[s++]<>>16^65535)){t.msg="invalid stored block lengths",a.mode=Te;break}if(a.length=65535&h,h=0,d=0,a.mode=Ze,e===we)break t;case Ze:a.mode=16195;case 16195:if(c=a.length,c){if(c>l&&(c=l),c>o&&(c=o),0===c)break t;n.set(i.subarray(s,s+c),r),l-=c,s+=c,o-=c,r+=c,a.length-=c;break}a.mode=Ee;break;case 16196:for(;d<14;){if(0===l)break t;l--,h+=i[s++]<>>=5,d-=5,a.ndist=1+(31&h),h>>>=5,d-=5,a.ncode=4+(15&h),h>>>=4,d-=4,a.nlen>286||a.ndist>30){t.msg="too many length or distance symbols",a.mode=Te;break}a.have=0,a.mode=16197;case 16197:for(;a.have>>=3,d-=3}for(;a.have<19;)a.lens[Z[a.have++]]=0;if(a.lencode=a.lendyn,a.lenbits=7,E={bits:a.lenbits},x=fe(0,a.lens,0,19,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid code lengths set",a.mode=Te;break}a.have=0,a.mode=16198;case 16198:for(;a.have>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===l)break t;l--,h+=i[s++]<>>=m,d-=m,a.lens[a.have++]=g;else{if(16===g){for(R=m+2;d>>=m,d-=m,0===a.have){t.msg="invalid bit length repeat",a.mode=Te;break}y=a.lens[a.have-1],c=3+(3&h),h>>>=2,d-=2}else if(17===g){for(R=m+3;d>>=m,d-=m,y=0,c=3+(7&h),h>>>=3,d-=3}else{for(R=m+7;d>>=m,d-=m,y=0,c=11+(127&h),h>>>=7,d-=7}if(a.have+c>a.nlen+a.ndist){t.msg="invalid bit length repeat",a.mode=Te;break}for(;c--;)a.lens[a.have++]=y}}if(a.mode===Te)break;if(0===a.lens[256]){t.msg="invalid code -- missing end-of-block",a.mode=Te;break}if(a.lenbits=9,E={bits:a.lenbits},x=fe(1,a.lens,0,a.nlen,a.lencode,0,a.work,E),a.lenbits=E.bits,x){t.msg="invalid literal/lengths set",a.mode=Te;break}if(a.distbits=6,a.distcode=a.distdyn,E={bits:a.distbits},x=fe(2,a.lens,a.nlen,a.ndist,a.distcode,0,a.work,E),a.distbits=E.bits,x){t.msg="invalid distances set",a.mode=Te;break}if(a.mode=Ue,e===we)break t;case Ue:a.mode=Se;case Se:if(l>=6&&o>=258){t.next_out=r,t.avail_out=o,t.next_in=s,t.avail_in=l,a.hold=h,a.bits=d,re(t,f),r=t.next_out,n=t.output,o=t.avail_out,s=t.next_in,i=t.input,l=t.avail_in,h=a.hold,d=a.bits,a.mode===Ee&&(a.back=-1);break}for(a.back=0;z=a.lencode[h&(1<>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===l)break t;l--,h+=i[s++]<>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===l)break t;l--,h+=i[s++]<>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,a.length=g,0===b){a.mode=16205;break}if(32&b){a.back=-1,a.mode=Ee;break}if(64&b){t.msg="invalid literal/length code",a.mode=Te;break}a.extra=15&b,a.mode=16201;case 16201:if(a.extra){for(R=a.extra;d>>=a.extra,d-=a.extra,a.back+=a.extra}a.was=a.length,a.mode=16202;case 16202:for(;z=a.distcode[h&(1<>>24,b=z>>>16&255,g=65535&z,!(m<=d);){if(0===l)break t;l--,h+=i[s++]<>p)],m=z>>>24,b=z>>>16&255,g=65535&z,!(p+m<=d);){if(0===l)break t;l--,h+=i[s++]<>>=p,d-=p,a.back+=p}if(h>>>=m,d-=m,a.back+=m,64&b){t.msg="invalid distance code",a.mode=Te;break}a.offset=g,a.extra=15&b,a.mode=16203;case 16203:if(a.extra){for(R=a.extra;d>>=a.extra,d-=a.extra,a.back+=a.extra}if(a.offset>a.dmax){t.msg="invalid distance too far back",a.mode=Te;break}a.mode=16204;case 16204:if(0===o)break t;if(c=f-o,a.offset>c){if(c=a.offset-c,c>a.whave&&a.sane){t.msg="invalid distance too far back",a.mode=Te;break}c>a.wnext?(c-=a.wnext,u=a.wsize-c):u=a.wnext-c,c>a.length&&(c=a.length),w=a.window}else w=n,u=r-a.offset,c=a.length;c>o&&(c=o),o-=c,a.length-=c;do{n[r++]=w[u++]}while(--c);0===a.length&&(a.mode=Se);break;case 16205:if(0===o)break t;n[r++]=a.length,o--,a.mode=Se;break;case De:if(a.wrap){for(;d<32;){if(0===l)break t;l--,h|=i[s++]<{if(Fe(t))return pe;let e=t.state;return e.window&&(e.window=null),t.state=null,me},inflateGetHeader:(t,e)=>{if(Fe(t))return pe;const a=t.state;return 0==(2&a.wrap)?pe:(a.head=e,e.done=!1,me)},inflateSetDictionary:(t,e)=>{const a=e.length;let i,n,s;return Fe(t)?pe:(i=t.state,0!==i.wrap&&i.mode!==Ae?pe:i.mode===Ae&&(n=1,n=B(n,e,a,0),n!==i.check)?ke:(s=Pe(t,e,a,a),s?(i.mode=16210,ve):(i.havedict=1,me)))},inflateInfo:"pako inflate (from Nodeca project)"};var Ge=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const Xe=Object.prototype.toString,{Z_NO_FLUSH:We,Z_FINISH:qe,Z_OK:Je,Z_STREAM_END:Qe,Z_NEED_DICT:Ve,Z_STREAM_ERROR:$e,Z_DATA_ERROR:ta,Z_MEM_ERROR:ea}=j;function aa(t){this.options=Mt.assign({chunkSize:65536,windowBits:15,to:""},t||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,0===e.windowBits&&(e.windowBits=-15)),!(e.windowBits>=0&&e.windowBits<16)||t&&t.windowBits||(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&0==(15&e.windowBits)&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Yt,this.strm.avail_out=0;let a=Ye.inflateInit2(this.strm,e.windowBits);if(a!==Je)throw new Error(M[a]);if(this.header=new Ge,Ye.inflateGetHeader(this.strm,this.header),e.dictionary&&("string"==typeof e.dictionary?e.dictionary=Pt.string2buf(e.dictionary):"[object ArrayBuffer]"===Xe.call(e.dictionary)&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(a=Ye.inflateSetDictionary(this.strm,e.dictionary),a!==Je)))throw new Error(M[a])}function ia(t,e){const a=new aa(e);if(a.push(t),a.err)throw a.msg||M[a.err];return a.result}aa.prototype.push=function(t,e){const a=this.strm,i=this.options.chunkSize,n=this.options.dictionary;let s,r,l;if(this.ended)return!1;for(r=e===~~e?e:!0===e?qe:We,"[object ArrayBuffer]"===Xe.call(t)?a.input=new Uint8Array(t):a.input=t,a.next_in=0,a.avail_in=a.input.length;;){for(0===a.avail_out&&(a.output=new Uint8Array(i),a.next_out=0,a.avail_out=i),s=Ye.inflate(a,r),s===Ve&&n&&(s=Ye.inflateSetDictionary(a,n),s===Je?s=Ye.inflate(a,r):s===ta&&(s=Ve));a.avail_in>0&&s===Qe&&a.state.wrap>0&&0!==t[a.next_in];)Ye.inflateReset(a),s=Ye.inflate(a,r);switch(s){case $e:case ta:case Ve:case ea:return this.onEnd(s),this.ended=!0,!1}if(l=a.avail_out,a.next_out&&(0===a.avail_out||s===Qe))if("string"===this.options.to){let t=Pt.utf8border(a.output,a.next_out),e=a.next_out-t,n=Pt.buf2string(a.output,t);a.next_out=e,a.avail_out=i-e,e&&a.output.set(a.output.subarray(t,t+e),0),this.onData(n)}else this.onData(a.output.length===a.next_out?a.output:a.output.subarray(0,a.next_out));if(s!==Je||0!==l){if(s===Qe)return s=Ye.inflateEnd(this.strm),this.onEnd(s),this.ended=!0,!0;if(0===a.avail_in)break}}return!0},aa.prototype.onData=function(t){this.chunks.push(t)},aa.prototype.onEnd=function(t){t===Je&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=Mt.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var na={Inflate:aa,inflate:ia,inflateRaw:function(t,e){return(e=e||{}).raw=!0,ia(t,e)},ungzip:ia,constants:j};const{Deflate:sa,deflate:ra,deflateRaw:la,gzip:oa}=ne,{Inflate:ha,inflate:da,inflateRaw:_a,ungzip:fa}=na;var ca=sa,ua=ra,wa=la,ma=oa,ba=ha,ga=da,pa=_a,ka=fa,va=j,ya={Deflate:ca,deflate:ua,deflateRaw:wa,gzip:ma,Inflate:ba,inflate:ga,inflateRaw:pa,ungzip:ka,constants:va};export{ca as Deflate,ba as Inflate,va as constants,ya as default,ua as deflate,wa as deflateRaw,ma as gzip,ga as inflate,pa as inflateRaw,ka as ungzip}; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/quick-lru@6.1.2/_esm.js b/ICIMOD_land_cover_nepal_dist/_npm/quick-lru@6.1.2/_esm.js new file mode 100644 index 0000000..1fce025 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/quick-lru@6.1.2/_esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/quick-lru@6.1.2/index.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +class e extends Map{constructor(e={}){if(super(),!(e.maxSize&&e.maxSize>0))throw new TypeError("`maxSize` must be a number greater than 0");if("number"==typeof e.maxAge&&0===e.maxAge)throw new TypeError("`maxAge` must be a number greater than 0");this.maxSize=e.maxSize,this.maxAge=e.maxAge||Number.POSITIVE_INFINITY,this.onEviction=e.onEviction,this.cache=new Map,this.oldCache=new Map,this._size=0}_emitEvictions(e){if("function"==typeof this.onEviction)for(const[t,i]of e)this.onEviction(t,i.value)}_deleteIfExpired(e,t){return"number"==typeof t.expiry&&t.expiry<=Date.now()&&("function"==typeof this.onEviction&&this.onEviction(e,t.value),this.delete(e))}_getOrDeleteIfExpired(e,t){if(!1===this._deleteIfExpired(e,t))return t.value}_getItemValue(e,t){return t.expiry?this._getOrDeleteIfExpired(e,t):t.value}_peek(e,t){const i=t.get(e);return this._getItemValue(e,i)}_set(e,t){this.cache.set(e,t),this._size++,this._size>=this.maxSize&&(this._size=0,this._emitEvictions(this.oldCache),this.oldCache=this.cache,this.cache=new Map)}_moveToRecent(e,t){this.oldCache.delete(e),this._set(e,t)}*_entriesAscending(){for(const e of this.oldCache){const[t,i]=e;if(!this.cache.has(t)){!1===this._deleteIfExpired(t,i)&&(yield e)}}for(const e of this.cache){const[t,i]=e;!1===this._deleteIfExpired(t,i)&&(yield e)}}get(e){if(this.cache.has(e)){const t=this.cache.get(e);return this._getItemValue(e,t)}if(this.oldCache.has(e)){const t=this.oldCache.get(e);if(!1===this._deleteIfExpired(e,t))return this._moveToRecent(e,t),t.value}}set(e,t,{maxAge:i=this.maxAge}={}){const s="number"==typeof i&&i!==Number.POSITIVE_INFINITY?Date.now()+i:void 0;return this.cache.has(e)?this.cache.set(e,{value:t,expiry:s}):this._set(e,{value:t,expiry:s}),this}has(e){return this.cache.has(e)?!this._deleteIfExpired(e,this.cache.get(e)):!!this.oldCache.has(e)&&!this._deleteIfExpired(e,this.oldCache.get(e))}peek(e){return this.cache.has(e)?this._peek(e,this.cache):this.oldCache.has(e)?this._peek(e,this.oldCache):void 0}delete(e){const t=this.cache.delete(e);return t&&this._size--,this.oldCache.delete(e)||t}clear(){this.cache.clear(),this.oldCache.clear(),this._size=0}resize(e){if(!(e&&e>0))throw new TypeError("`maxSize` must be a number greater than 0");const t=[...this._entriesAscending()],i=t.length-e;i<0?(this.cache=new Map(t),this.oldCache=new Map,this._size=t.length):(i>0&&this._emitEvictions(t.slice(0,i)),this.oldCache=new Map(t.slice(i)),this.cache=new Map,this._size=0),this.maxSize=e}*keys(){for(const[e]of this)yield e}*values(){for(const[,e]of this)yield e}*[Symbol.iterator](){for(const e of this.cache){const[t,i]=e;!1===this._deleteIfExpired(t,i)&&(yield[t,i.value])}for(const e of this.oldCache){const[t,i]=e;if(!this.cache.has(t)){!1===this._deleteIfExpired(t,i)&&(yield[t,i.value])}}}*entriesDescending(){let e=[...this.cache];for(let t=e.length-1;t>=0;--t){const i=e[t],[s,h]=i;!1===this._deleteIfExpired(s,h)&&(yield[s,h.value])}e=[...this.oldCache];for(let t=e.length-1;t>=0;--t){const i=e[t],[s,h]=i;if(!this.cache.has(s)){!1===this._deleteIfExpired(s,h)&&(yield[s,h.value])}}}*entriesAscending(){for(const[e,t]of this._entriesAscending())yield[e,t.value]}get size(){if(!this._size)return this.oldCache.size;let e=0;for(const t of this.oldCache.keys())this.cache.has(t)||e++;return Math.min(this._size+e,this.maxSize)}entries(){return this.entriesAscending()}forEach(e,t=this){for(const[i,s]of this.entriesAscending())e.call(t,s,i,this)}get[Symbol.toStringTag](){return JSON.stringify([...this.entriesAscending()])}}export{e as default}; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/web-worker@1.3.0/_esm.js b/ICIMOD_land_cover_nepal_dist/_npm/web-worker@1.3.0/_esm.js new file mode 100644 index 0000000..c0ab121 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/web-worker@1.3.0/_esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/web-worker@1.3.0/browser.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var r=Worker;export{r as default}; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/xml-utils@1.10.1/find-tags-by-name.js._esm.js b/ICIMOD_land_cover_nepal_dist/_npm/xml-utils@1.10.1/find-tags-by-name.js._esm.js new file mode 100644 index 0000000..ce26a49 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/xml-utils@1.10.1/find-tags-by-name.js._esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/xml-utils@1.10.1/find-tags-by-name.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var e={exports:{}},t={exports:{}},n={exports:{}};function s(e,t,n){const s=new RegExp(t).exec(e.slice(n));return s?n+s.index:-1}n.exports=s,n.exports.default=s;var o={exports:{}};function r(e,t,n){const s=new RegExp(t).exec(e.slice(n));return s?n+s.index+s[0].length-1:-1}o.exports=r,o.exports.default=r;var l={exports:{}};function x(e,t){const n=new RegExp(t,"g"),s=e.match(n);return s?s.length:0}l.exports=x,l.exports.default=x;const c=n.exports,u=o.exports,i=l.exports;function a(e,t,n){const s=n&&n.debug||!1,o=!(n&&!1===typeof n.nested),r=n&&n.startIndex||0;s&&console.log("[xml-utils] starting findTagByName with",t," and ",n);const l=c(e,`<${t}[ \n>/]`,r);if(s&&console.log("[xml-utils] start:",l),-1===l)return;const x=e.slice(l+t.length);let a=u(x,"^[^<]*[ /]>",0);const p=-1!==a&&"/"===x[a-1];if(s&&console.log("[xml-utils] selfClosing:",p),!1===p)if(o){let e=0,n=1,s=0;for(;-1!==(a=u(x,"[ /]"+t+">",e));){const o=x.substring(e,a+1);if(n+=i(o,"<"+t+"[ \n\t>]"),s+=i(o,""),s>=n)break;e=a}}else a=u(x,"[ /]"+t+">",0);const d=l+t.length+a+1;if(s&&console.log("[xml-utils] end:",d),-1===d)return;const f=e.slice(l,d);let g;return g=p?null:f.slice(f.indexOf(">")+1,f.lastIndexOf("<")),{inner:g,outer:f,start:l,end:d}}t.exports=a,t.exports.default=a;const p=t.exports;function d(e,t,n){const s=[],o=n&&n.debug||!1,r=!n||"boolean"!=typeof n.nested||n.nested;let l,x=n&&n.startIndex||0;for(;l=p(e,t,{debug:o,startIndex:x});)x=r?l.start+1+t.length:l.end,s.push(l);return o&&console.log("findTagsByName found",s.length,"tags"),s}e.exports=d,e.exports.default=d;var f=e.exports;export{f as default}; diff --git a/ICIMOD_land_cover_nepal_dist/_npm/xml-utils@1.10.1/get-attribute.js._esm.js b/ICIMOD_land_cover_nepal_dist/_npm/xml-utils@1.10.1/get-attribute.js._esm.js new file mode 100644 index 0000000..e2b79e4 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_npm/xml-utils@1.10.1/get-attribute.js._esm.js @@ -0,0 +1,7 @@ +/** + * Bundled by jsDelivr using Rollup v2.79.1 and Terser v5.19.2. + * Original file: /npm/xml-utils@1.10.1/get-attribute.js + * + * Do NOT use SRI with dynamically generated files! More information: https://www.jsdelivr.com/using-sri-with-dynamic-files + */ +var t={exports:{}};function e(t,e,o){const l=o&&o.debug||!1;l&&console.log("[xml-utils] getting "+e+" in "+t);const n="object"==typeof t?t.outer:t,s=n.slice(0,n.indexOf(">")+1),c=['"',"'"];for(let t=0;t>18&63]+I[C>>12&63]+I[C>>6&63]+I[63&C]);return E.join("")}function i(A){var g;Q||C();for(var B=A.length,i=B%3,o="",t=[],r=16383,n=0,e=B-i;ne?e:n+r));return 1===i?(g=A[B-1],o+=I[g>>2],o+=I[g<<4&63],o+="=="):2===i&&(g=(A[B-2]<<8)+A[B-1],o+=I[g>>10],o+=I[g>>4&63],o+=I[g<<2&63],o+="="),t.push(o),t.join("")}function o(A,I,g,B,Q){var C,E,i=8*Q-B-1,o=(1<>1,r=-7,n=g?Q-1:0,e=g?-1:1,h=A[I+n];for(n+=e,C=h&(1<<-r)-1,h>>=-r,r+=i;r>0;C=256*C+A[I+n],n+=e,r-=8);for(E=C&(1<<-r)-1,C>>=-r,r+=B;r>0;E=256*E+A[I+n],n+=e,r-=8);if(0===C)C=1-t;else{if(C===o)return E?NaN:1/0*(h?-1:1);E+=Math.pow(2,B),C-=t}return(h?-1:1)*E*Math.pow(2,C-B)}function t(A,I,g,B,Q,C){var E,i,o,t=8*C-Q-1,r=(1<>1,e=23===Q?Math.pow(2,-24)-Math.pow(2,-77):0,h=B?0:C-1,a=B?1:-1,s=I<0||0===I&&1/I<0?1:0;for(I=Math.abs(I),isNaN(I)||I===1/0?(i=isNaN(I)?1:0,E=r):(E=Math.floor(Math.log(I)/Math.LN2),I*(o=Math.pow(2,-E))<1&&(E--,o*=2),(I+=E+n>=1?e/o:e*Math.pow(2,1-n))*o>=2&&(E++,o/=2),E+n>=r?(i=0,E=r):E+n>=1?(i=(I*o-1)*Math.pow(2,Q),E+=n):(i=I*Math.pow(2,n-1)*Math.pow(2,Q),E=0));Q>=8;A[g+h]=255&i,h+=a,i/=256,Q-=8);for(E=E<0;A[g+h]=255&E,h+=a,E/=256,t-=8);A[g+h-a]|=128*s}var r={}.toString,n=Array.isArray||function(A){return"[object Array]"==r.call(A)};function e(){return a.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function h(A,I){if(e()=e())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+e().toString(16)+" bytes");return 0|A}function y(A){return!(null==A||!A._isBuffer)}function F(A,I){if(y(A))return A.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(A)||A instanceof ArrayBuffer))return A.byteLength;"string"!=typeof A&&(A=""+A);var g=A.length;if(0===g)return 0;for(var B=!1;;)switch(I){case"ascii":case"latin1":case"binary":return g;case"utf8":case"utf-8":case void 0:return W(A).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*g;case"hex":return g>>>1;case"base64":return Z(A).length;default:if(B)return W(A).length;I=(""+I).toLowerCase(),B=!0}}function R(A,I,g){var B=!1;if((void 0===I||I<0)&&(I=0),I>this.length)return"";if((void 0===g||g>this.length)&&(g=this.length),g<=0)return"";if((g>>>=0)<=(I>>>=0))return"";for(A||(A="utf8");;)switch(A){case"hex":return H(this,I,g);case"utf8":case"utf-8":return Y(this,I,g);case"ascii":return d(this,I,g);case"latin1":case"binary":return l(this,I,g);case"base64":return q(this,I,g);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return K(this,I,g);default:if(B)throw new TypeError("Unknown encoding: "+A);A=(A+"").toLowerCase(),B=!0}}function c(A,I,g){var B=A[I];A[I]=A[g],A[g]=B}function u(A,I,g,B,Q){if(0===A.length)return-1;if("string"==typeof g?(B=g,g=0):g>2147483647?g=2147483647:g<-2147483648&&(g=-2147483648),g=+g,isNaN(g)&&(g=Q?0:A.length-1),g<0&&(g=A.length+g),g>=A.length){if(Q)return-1;g=A.length-1}else if(g<0){if(!Q)return-1;g=0}if("string"==typeof I&&(I=a.from(I,B)),y(I))return 0===I.length?-1:S(A,I,g,B,Q);if("number"==typeof I)return I&=255,a.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?Q?Uint8Array.prototype.indexOf.call(A,I,g):Uint8Array.prototype.lastIndexOf.call(A,I,g):S(A,[I],g,B,Q);throw new TypeError("val must be string, number or Buffer")}function S(A,I,g,B,Q){var C,E=1,i=A.length,o=I.length;if(void 0!==B&&("ucs2"===(B=String(B).toLowerCase())||"ucs-2"===B||"utf16le"===B||"utf-16le"===B)){if(A.length<2||I.length<2)return-1;E=2,i/=2,o/=2,g/=2}function t(A,I){return 1===E?A[I]:A.readUInt16BE(I*E)}if(Q){var r=-1;for(C=g;Ci&&(g=i-o),C=g;C>=0;C--){for(var n=!0,e=0;eQ&&(B=Q):B=Q;var C=I.length;if(C%2!=0)throw new TypeError("Invalid hex string");B>C/2&&(B=C/2);for(var E=0;E>8,Q=g%256,C.push(Q),C.push(B);return C}(I,A.length-g),A,g,B)}function q(A,I,g){return 0===I&&g===A.length?i(A):i(A.slice(I,g))}function Y(A,I,g){g=Math.min(A.length,g);for(var B=[],Q=I;Q239?4:t>223?3:t>191?2:1;if(Q+n<=g)switch(n){case 1:t<128&&(r=t);break;case 2:128==(192&(C=A[Q+1]))&&(o=(31&t)<<6|63&C)>127&&(r=o);break;case 3:C=A[Q+1],E=A[Q+2],128==(192&C)&&128==(192&E)&&(o=(15&t)<<12|(63&C)<<6|63&E)>2047&&(o<55296||o>57343)&&(r=o);break;case 4:C=A[Q+1],E=A[Q+2],i=A[Q+3],128==(192&C)&&128==(192&E)&&128==(192&i)&&(o=(15&t)<<18|(63&C)<<12|(63&E)<<6|63&i)>65535&&o<1114112&&(r=o)}null===r?(r=65533,n=1):r>65535&&(r-=65536,B.push(r>>>10&1023|55296),r=56320|1023&r),B.push(r),Q+=n}return function(A){var I=A.length;if(I<=p)return String.fromCharCode.apply(String,A);var g="",B=0;for(;B0&&(A=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(A+=" ... ")),""},a.prototype.compare=function(A,I,g,B,Q){if(!y(A))throw new TypeError("Argument must be a Buffer");if(void 0===I&&(I=0),void 0===g&&(g=A?A.length:0),void 0===B&&(B=0),void 0===Q&&(Q=this.length),I<0||g>A.length||B<0||Q>this.length)throw new RangeError("out of range index");if(B>=Q&&I>=g)return 0;if(B>=Q)return-1;if(I>=g)return 1;if(this===A)return 0;for(var C=(Q>>>=0)-(B>>>=0),E=(g>>>=0)-(I>>>=0),i=Math.min(C,E),o=this.slice(B,Q),t=A.slice(I,g),r=0;rQ)&&(g=Q),A.length>0&&(g<0||I<0)||I>this.length)throw new RangeError("Attempt to write outside buffer bounds");B||(B="utf8");for(var C=!1;;)switch(B){case"hex":return L(this,A,I,g);case"utf8":case"utf-8":return U(this,A,I,g);case"ascii":return N(this,A,I,g);case"latin1":case"binary":return k(this,A,I,g);case"base64":return J(this,A,I,g);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return M(this,A,I,g);default:if(C)throw new TypeError("Unknown encoding: "+B);B=(""+B).toLowerCase(),C=!0}},a.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var p=4096;function d(A,I,g){var B="";g=Math.min(A.length,g);for(var Q=I;QB)&&(g=B);for(var Q="",C=I;Cg)throw new RangeError("Trying to access beyond buffer length")}function m(A,I,g,B,Q,C){if(!y(A))throw new TypeError('"buffer" argument must be a Buffer instance');if(I>Q||IA.length)throw new RangeError("Index out of range")}function x(A,I,g,B){I<0&&(I=65535+I+1);for(var Q=0,C=Math.min(A.length-g,2);Q>>8*(B?Q:1-Q)}function b(A,I,g,B){I<0&&(I=4294967295+I+1);for(var Q=0,C=Math.min(A.length-g,4);Q>>8*(B?Q:3-Q)&255}function v(A,I,g,B,Q,C){if(g+B>A.length)throw new RangeError("Index out of range");if(g<0)throw new RangeError("Index out of range")}function T(A,I,g,B,Q){return Q||v(A,0,g,4),t(A,I,g,B,23,4),g+4}function P(A,I,g,B,Q){return Q||v(A,0,g,8),t(A,I,g,B,52,8),g+8}a.prototype.slice=function(A,I){var g,B=this.length;if((A=~~A)<0?(A+=B)<0&&(A=0):A>B&&(A=B),(I=void 0===I?B:~~I)<0?(I+=B)<0&&(I=0):I>B&&(I=B),I0&&(Q*=256);)B+=this[A+--I]*Q;return B},a.prototype.readUInt8=function(A,I){return I||O(A,1,this.length),this[A]},a.prototype.readUInt16LE=function(A,I){return I||O(A,2,this.length),this[A]|this[A+1]<<8},a.prototype.readUInt16BE=function(A,I){return I||O(A,2,this.length),this[A]<<8|this[A+1]},a.prototype.readUInt32LE=function(A,I){return I||O(A,4,this.length),(this[A]|this[A+1]<<8|this[A+2]<<16)+16777216*this[A+3]},a.prototype.readUInt32BE=function(A,I){return I||O(A,4,this.length),16777216*this[A]+(this[A+1]<<16|this[A+2]<<8|this[A+3])},a.prototype.readIntLE=function(A,I,g){A|=0,I|=0,g||O(A,I,this.length);for(var B=this[A],Q=1,C=0;++C=(Q*=128)&&(B-=Math.pow(2,8*I)),B},a.prototype.readIntBE=function(A,I,g){A|=0,I|=0,g||O(A,I,this.length);for(var B=I,Q=1,C=this[A+--B];B>0&&(Q*=256);)C+=this[A+--B]*Q;return C>=(Q*=128)&&(C-=Math.pow(2,8*I)),C},a.prototype.readInt8=function(A,I){return I||O(A,1,this.length),128&this[A]?-1*(255-this[A]+1):this[A]},a.prototype.readInt16LE=function(A,I){I||O(A,2,this.length);var g=this[A]|this[A+1]<<8;return 32768&g?4294901760|g:g},a.prototype.readInt16BE=function(A,I){I||O(A,2,this.length);var g=this[A+1]|this[A]<<8;return 32768&g?4294901760|g:g},a.prototype.readInt32LE=function(A,I){return I||O(A,4,this.length),this[A]|this[A+1]<<8|this[A+2]<<16|this[A+3]<<24},a.prototype.readInt32BE=function(A,I){return I||O(A,4,this.length),this[A]<<24|this[A+1]<<16|this[A+2]<<8|this[A+3]},a.prototype.readFloatLE=function(A,I){return I||O(A,4,this.length),o(this,A,!0,23,4)},a.prototype.readFloatBE=function(A,I){return I||O(A,4,this.length),o(this,A,!1,23,4)},a.prototype.readDoubleLE=function(A,I){return I||O(A,8,this.length),o(this,A,!0,52,8)},a.prototype.readDoubleBE=function(A,I){return I||O(A,8,this.length),o(this,A,!1,52,8)},a.prototype.writeUIntLE=function(A,I,g,B){(A=+A,I|=0,g|=0,B)||m(this,A,I,g,Math.pow(2,8*g)-1,0);var Q=1,C=0;for(this[I]=255&A;++C=0&&(C*=256);)this[I+Q]=A/C&255;return I+g},a.prototype.writeUInt8=function(A,I,g){return A=+A,I|=0,g||m(this,A,I,1,255,0),a.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),this[I]=255&A,I+1},a.prototype.writeUInt16LE=function(A,I,g){return A=+A,I|=0,g||m(this,A,I,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[I]=255&A,this[I+1]=A>>>8):x(this,A,I,!0),I+2},a.prototype.writeUInt16BE=function(A,I,g){return A=+A,I|=0,g||m(this,A,I,2,65535,0),a.TYPED_ARRAY_SUPPORT?(this[I]=A>>>8,this[I+1]=255&A):x(this,A,I,!1),I+2},a.prototype.writeUInt32LE=function(A,I,g){return A=+A,I|=0,g||m(this,A,I,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[I+3]=A>>>24,this[I+2]=A>>>16,this[I+1]=A>>>8,this[I]=255&A):b(this,A,I,!0),I+4},a.prototype.writeUInt32BE=function(A,I,g){return A=+A,I|=0,g||m(this,A,I,4,4294967295,0),a.TYPED_ARRAY_SUPPORT?(this[I]=A>>>24,this[I+1]=A>>>16,this[I+2]=A>>>8,this[I+3]=255&A):b(this,A,I,!1),I+4},a.prototype.writeIntLE=function(A,I,g,B){if(A=+A,I|=0,!B){var Q=Math.pow(2,8*g-1);m(this,A,I,g,Q-1,-Q)}var C=0,E=1,i=0;for(this[I]=255&A;++C>0)-i&255;return I+g},a.prototype.writeIntBE=function(A,I,g,B){if(A=+A,I|=0,!B){var Q=Math.pow(2,8*g-1);m(this,A,I,g,Q-1,-Q)}var C=g-1,E=1,i=0;for(this[I+C]=255&A;--C>=0&&(E*=256);)A<0&&0===i&&0!==this[I+C+1]&&(i=1),this[I+C]=(A/E>>0)-i&255;return I+g},a.prototype.writeInt8=function(A,I,g){return A=+A,I|=0,g||m(this,A,I,1,127,-128),a.TYPED_ARRAY_SUPPORT||(A=Math.floor(A)),A<0&&(A=255+A+1),this[I]=255&A,I+1},a.prototype.writeInt16LE=function(A,I,g){return A=+A,I|=0,g||m(this,A,I,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[I]=255&A,this[I+1]=A>>>8):x(this,A,I,!0),I+2},a.prototype.writeInt16BE=function(A,I,g){return A=+A,I|=0,g||m(this,A,I,2,32767,-32768),a.TYPED_ARRAY_SUPPORT?(this[I]=A>>>8,this[I+1]=255&A):x(this,A,I,!1),I+2},a.prototype.writeInt32LE=function(A,I,g){return A=+A,I|=0,g||m(this,A,I,4,2147483647,-2147483648),a.TYPED_ARRAY_SUPPORT?(this[I]=255&A,this[I+1]=A>>>8,this[I+2]=A>>>16,this[I+3]=A>>>24):b(this,A,I,!0),I+4},a.prototype.writeInt32BE=function(A,I,g){return A=+A,I|=0,g||m(this,A,I,4,2147483647,-2147483648),A<0&&(A=4294967295+A+1),a.TYPED_ARRAY_SUPPORT?(this[I]=A>>>24,this[I+1]=A>>>16,this[I+2]=A>>>8,this[I+3]=255&A):b(this,A,I,!1),I+4},a.prototype.writeFloatLE=function(A,I,g){return T(this,A,I,!0,g)},a.prototype.writeFloatBE=function(A,I,g){return T(this,A,I,!1,g)},a.prototype.writeDoubleLE=function(A,I,g){return P(this,A,I,!0,g)},a.prototype.writeDoubleBE=function(A,I,g){return P(this,A,I,!1,g)},a.prototype.copy=function(A,I,g,B){if(g||(g=0),B||0===B||(B=this.length),I>=A.length&&(I=A.length),I||(I=0),B>0&&B=this.length)throw new RangeError("sourceStart out of bounds");if(B<0)throw new RangeError("sourceEnd out of bounds");B>this.length&&(B=this.length),A.length-I=0;--Q)A[Q+I]=this[Q+g];else if(C<1e3||!a.TYPED_ARRAY_SUPPORT)for(Q=0;Q>>=0,g=void 0===g?this.length:g>>>0,A||(A=0),"number"==typeof A)for(C=I;C55295&&g<57344){if(!Q){if(g>56319){(I-=3)>-1&&C.push(239,191,189);continue}if(E+1===B){(I-=3)>-1&&C.push(239,191,189);continue}Q=g;continue}if(g<56320){(I-=3)>-1&&C.push(239,191,189),Q=g;continue}g=65536+(Q-55296<<10|g-56320)}else Q&&(I-=3)>-1&&C.push(239,191,189);if(Q=null,g<128){if((I-=1)<0)break;C.push(g)}else if(g<2048){if((I-=2)<0)break;C.push(g>>6|192,63&g|128)}else if(g<65536){if((I-=3)<0)break;C.push(g>>12|224,g>>6&63|128,63&g|128)}else{if(!(g<1114112))throw new Error("Invalid code point");if((I-=4)<0)break;C.push(g>>18|240,g>>12&63|128,g>>6&63|128,63&g|128)}}return C}function Z(A){return function(A){var I,E,i,o,t,r;Q||C();var n=A.length;if(n%4>0)throw new Error("Invalid string. Length must be a multiple of 4");t="="===A[n-2]?2:"="===A[n-1]?1:0,r=new B(3*n/4-t),i=t>0?n-4:n;var e=0;for(I=0,E=0;I>16&255,r[e++]=o>>8&255,r[e++]=255&o;return 2===t?(o=g[A.charCodeAt(I)]<<2|g[A.charCodeAt(I+1)]>>4,r[e++]=255&o):1===t&&(o=g[A.charCodeAt(I)]<<10|g[A.charCodeAt(I+1)]<<4|g[A.charCodeAt(I+2)]>>2,r[e++]=o>>8&255,r[e++]=255&o),r}(function(A){if((A=function(A){return A.trim?A.trim():A.replace(/^\s+|\s+$/g,"")}(A).replace(V,"")).length<2)return"";for(;A.length%4!=0;)A+="=";return A}(A))}function j(A,I,g,B){for(var Q=0;Q=I.length||Q>=A.length);++Q)I[Q+g]=A[Q];return Q}function _(A){return!!A.constructor&&"function"==typeof A.constructor.isBuffer&&A.constructor.isBuffer(A)}let z,$,AA;const IA={env:{emscripten_notify_memory_growth:function(A){AA=new Uint8Array($.exports.memory.buffer)}}};class gA{init(){return z||(z="undefined"!=typeof fetch?fetch("data:application/wasm;base64,"+BA).then((A=>A.arrayBuffer())).then((A=>WebAssembly.instantiate(A,IA))).then(this._init):WebAssembly.instantiate(a.from(BA,"base64"),IA).then(this._init),z)}_init(A){$=A.instance,IA.env.emscripten_notify_memory_growth(0)}decode(A,I=0){if(!$)throw new Error("ZSTDDecoder: Await .init() before decoding.");const g=A.byteLength,B=$.exports.malloc(g);AA.set(A,B),I=I||Number($.exports.ZSTD_findDecompressedSize(B,g));const Q=$.exports.malloc(I),C=$.exports.ZSTD_decompress(Q,I,B,g),E=AA.slice(Q,Q+C);return $.exports.free(B),$.exports.free(Q),E}}const BA="AGFzbQEAAAABpQEVYAF/AX9gAn9/AGADf39/AX9gBX9/f39/AX9gAX8AYAJ/fwF/YAR/f39/AX9gA39/fwBgBn9/f39/fwF/YAd/f39/f39/AX9gAn9/AX5gAn5+AX5gAABgBX9/f39/AGAGf39/f39/AGAIf39/f39/f38AYAl/f39/f39/f38AYAABf2AIf39/f39/f38Bf2ANf39/f39/f39/f39/fwF/YAF/AX4CJwEDZW52H2Vtc2NyaXB0ZW5fbm90aWZ5X21lbW9yeV9ncm93dGgABANpaAEFAAAFAgEFCwACAQABAgIFBQcAAwABDgsBAQcAEhMHAAUBDAQEAAANBwQCAgYCBAgDAwMDBgEACQkHBgICAAYGAgQUBwYGAwIGAAMCAQgBBwUGCgoEEQAEBAEIAwgDBQgDEA8IAAcABAUBcAECAgUEAQCAAgYJAX8BQaCgwAILB2AHBm1lbW9yeQIABm1hbGxvYwAoBGZyZWUAJgxaU1REX2lzRXJyb3IAaBlaU1REX2ZpbmREZWNvbXByZXNzZWRTaXplAFQPWlNURF9kZWNvbXByZXNzAEoGX3N0YXJ0ACQJBwEAQQELASQKussBaA8AIAAgACgCBCABajYCBAsZACAAKAIAIAAoAgRBH3F0QQAgAWtBH3F2CwgAIABBiH9LC34BBH9BAyEBIAAoAgQiA0EgTQRAIAAoAggiASAAKAIQTwRAIAAQDQ8LIAAoAgwiAiABRgRAQQFBAiADQSBJGw8LIAAgASABIAJrIANBA3YiBCABIARrIAJJIgEbIgJrIgQ2AgggACADIAJBA3RrNgIEIAAgBCgAADYCAAsgAQsUAQF/IAAgARACIQIgACABEAEgAgv3AQECfyACRQRAIABCADcCACAAQQA2AhAgAEIANwIIQbh/DwsgACABNgIMIAAgAUEEajYCECACQQRPBEAgACABIAJqIgFBfGoiAzYCCCAAIAMoAA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cSIAIAJHBEAgACACaxAdQX9GDQMLAkBBhCAoAgAiAUUEQEGAICAANgIADAELIAAgATYCBAtBhCAgADYCACAAIANBAXRBAXI2AgAMAQsgAEUNAQsgAEEIaiEBCyABC7kDAQJ/IAAgA2ohBQJAIANBB0wEQANAIAAgBU8NAiAAIAItAAA6AAAgAEEBaiEAIAJBAWohAgwAAAsACyAEQQFGBEACQCAAIAJrIgZBB00EQCAAIAItAAA6AAAgACACLQABOgABIAAgAi0AAjoAAiAAIAItAAM6AAMgAEEEaiACIAZBAnQiBkHAHmooAgBqIgIQFyACIAZB4B5qKAIAayECDAELIAAgAhAMCyACQQhqIQIgAEEIaiEACwJAAkACQAJAIAUgAU0EQCAAIANqIQEgBEEBRyAAIAJrQQ9Kcg0BA0AgACACEAwgAkEIaiECIABBCGoiACABSQ0ACwwFCyAAIAFLBEAgACEBDAQLIARBAUcgACACa0EPSnINASAAIQMgAiEEA0AgAyAEEAwgBEEIaiEEIANBCGoiAyABSQ0ACwwCCwNAIAAgAhAHIAJBEGohAiAAQRBqIgAgAUkNAAsMAwsgACEDIAIhBANAIAMgBBAHIARBEGohBCADQRBqIgMgAUkNAAsLIAIgASAAa2ohAgsDQCABIAVPDQEgASACLQAAOgAAIAFBAWohASACQQFqIQIMAAALAAsLQQECfyAAIAAoArjgASIDNgLE4AEgACgCvOABIQQgACABNgK84AEgACABIAJqNgK44AEgACABIAQgA2tqNgLA4AELpgEBAX8gACAAKALs4QEQFjYCyOABIABCADcD+OABIABCADcDuOABIABBwOABakIANwMAIABBqNAAaiIBQYyAgOAANgIAIABBADYCmOIBIABCADcDiOEBIABCAzcDgOEBIABBrNABakHgEikCADcCACAAQbTQAWpB6BIoAgA2AgAgACABNgIMIAAgAEGYIGo2AgggACAAQaAwajYCBCAAIABBEGo2AgALYQEBf0G4fyEDAkAgAUEDSQ0AIAIgABAhIgFBA3YiADYCCCACIAFBAXE2AgQgAiABQQF2QQNxIgM2AgACQCADQX9qIgFBAksNAAJAIAFBAW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BADsAACAFQShqIAQtAAIQASAELQADIQQgAyANaiIDIAYgBUEQaiAIEAJBAnRqIg0vAQA7AAAgBUEQaiANLQACEAEgACALaiEAIAcgCmohByAEIAlqIQQgAyANLQADaiEDIAVB2ABqEA0gBUFAaxANciAFQShqEA1yIAVBEGoQDXJFIQsMAQsLIAQgDksgByACS3INAEFsIQsgACAMSw0BIAxBfWohCQNAQQAgACAJSSAFQdgAahAEGwRAIAAgBiAFQdgAaiAIEAJBAnRqIgovAQA7AAAgBUHYAGogCi0AAhABIAAgCi0AA2oiACAGIAVB2ABqIAgQAkECdGoiCi8BADsAACAFQdgAaiAKLQACEAEgACAKLQADaiEADAEFIAxBfmohCgNAIAVB2ABqEAQgACAKS3JFBEAgACAGIAVB2ABqIAgQAkECdGoiCS8BADsAACAFQdgAaiAJLQACEAEgACAJLQADaiEADAELCwNAIAAgCk0EQCAAIAYgBUHYAGogCBACQQJ0aiIJLwEAOwAAIAVB2ABqIAktAAIQASAAIAktAANqIQAMAQsLAkAgACAMTw0AIAAgBiAFQdgAaiAIEAIiAEECdGoiDC0AADoAACAMLQADQQFGBEAgBUHYAGogDC0AAhABDAELIAUoAlxBH0sNACAFQdgAaiAGIABBAnRqLQACEAEgBSgCXEEhSQ0AIAVBIDYCXAsgAkF9aiEMA0BBACAHIAxJIAVBQGsQBBsEQCAHIAYgBUFAayAIEAJBAnRqIgAvAQA7AAAgBUFAayAALQACEAEgByAALQADaiIAIAYgBUFAayAIEAJBAnRqIgcvAQA7AAAgBUFAayAHLQACEAEgACAHLQADaiEHDAEFIAJBfmohDANAIAVBQGsQBCAHIAxLckUEQCAHIAYgBUFAayAIEAJBAnRqIgAvAQA7AAAgBUFAayAALQACEAEgByAALQADaiEHDAELCwNAIAcgDE0EQCAHIAYgBUFAayAIEAJBAnRqIgAvAQA7AAAgBUFAayAALQACEAEgByAALQADaiEHDAELCwJAIAcgAk8NACAHIAYgBUFAayAIEAIiAEECdGoiAi0AADoAACACLQADQQFGBEAgBUFAay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QIhAiAEQQhqDAILIAMgBUsNBSABIARBCGogBEEYahASOgABIAFBAmohA0EDIQIgBEEYahAEQQNHDQALIARBEGoLIQUgAyAFIARBGGoQEjoAACABIAJqIABrIQIMAwsgAyAEQRBqIARBGGoQEjoAAiADIARBCGogBEEYahASOgADIANBBGohAwwAAAsACyAEQRhqIAEgAhAGIgIQAw0AIARBEGogBEEYaiADEBwgBEEIaiAEQRhqIAMQHCAAIQMDQAJAIARBGGoQBCADIAZPckUEQCADIARBEGogBEEYahAROgAAIAMgBEEIaiAEQRhqEBE6AAEgBEEYahAERQ0BIANBAmohAwsgBUF+aiEFAn8DQEG6fyECIAMiASAFSw0EIAEgBEEQaiAEQRhqEBE6AAAgAUEBaiEDIARBGGoQBEEDRgRAQQIhAiAEQQhqDAILIAMgBUsNBCABIARBCGogBEEYahAROgABIAFBAmohA0EDIQIgBEEYahAEQQNHDQALIARBEGoLIQUgAyAFIARBGGoQEToAACABIAJqIABrIQIMAgsgAyAEQRBqIARBGGoQEToAAiADIARBCGogBEEYahAROgADIANBBGohAwwAAAsACyAEQTBqJAAgAgtpAQF/An8CQAJAIAJBB00NACABKAAAQbfIwuF+Rw0AIAAgASgABDYCmOIBQWIgAEEQaiABIAIQPiIDEAMNAhogAEKBgICAEDcDiOEBIAAgASADaiACIANrECoMAQsgACABIAIQKgtBAAsLrQMBBn8jAEGAAWsiAyQAQWIhCAJAIAJBCUkNACAAQZjQAGogAUEIaiIEIAJBeGogAEGY0AAQMyIFEAMiBg0AIANBHzYCfCADIANB/ABqIANB+ABqIAQgBCAFaiAGGyIEIAEgAmoiAiAEaxAVIgUQAw0AIAMoAnwiBkEfSw0AIAMoAngiB0EJTw0AIABBiCBqIAMgBkGAC0GADCAHEBggA0E0NgJ8IAMgA0H8AGogA0H4AGogBCAFaiIEIAIgBGsQFSIFEAMNACADKAJ8IgZBNEsNACADKAJ4IgdBCk8NACAAQZAwaiADIAZBgA1B4A4gBxAYIANBIzYCfCADIANB/ABqIANB+ABqI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BCwsgBiADNgIMIAYgBDYCCEG4fyEHIAQNASAIIAFrIQcMAQsgBiADNgIMIAYgBDYCCAsgBkEQaiQAIAcLRgECfyABIAAoArjgASICRwRAIAAgAjYCxOABIAAgATYCuOABIAAoArzgASEDIAAgATYCvOABIAAgASADIAJrajYCwOABCwutAgIEfwF+IwBBQGoiBCQAAkACQCACQQhJDQAgASgAAEFwcUHQ1LTCAUcNACABIAIQIiEBIABCADcDCCAAQQA2AgQgACABNgIADAELIARBGGogASACEC0iAxADBEAgACADEBoMAQsgAwRAIABBuH8QGgwBCyACIAQoAjAiA2shAiABIANqIQMDQAJAIAAgAyACIARBCGoQLCIFEAMEfyAFBSACIAVBA2oiBU8NAUG4fwsQGgwCCyAGQQFqIQYgAiAFayECIAMgBWohAyAEKAIMRQ0ACyAEKAI4BEAgAkEDTQRAIABBuH8QGgwCCyADQQRqIQMLIAQoAighAiAEKQMYIQcgAEEANgIEIAAgAyABazYCACAAIAIgBmytIAcgB0J/URs3AwgLIARBQGskAAslAQF/IwBBEGsiAiQAIAIgACABEFEgAigCACEAIAJBEGokACAAC30BBH8jAEGQBGsiBCQAIARB/wE2AggCQCAEQRBqIARBCGogBEEMaiABIAIQFSIGEAMEQCAGIQUMAQtBVCEFIAQoAgwiB0EGSw0AIAMgBEEQaiAEKAIIIAcQQSIFEAMNACAAIAEgBmogAiAGayADEDwhBQsgBEGQBGokACAFC4cBAgJ/An5BABAWIQMCQANAIAEgA08EQAJAIAAoAABBcHFB0NS0wgFGBEAgACABECIiAhADRQ0BQn4PCyAAIAEQVSIEQn1WDQMgBCAFfCIFIARUIQJCfiEEIAINAyAAIAEQUiICEAMNAwsgASACayEBIAAgAmohAAwBCwtCfiAFIAEbIQQLIAQLPwIBfwF+IwBBMGsiAiQAAn5CfiACQQhqIAAgARAtDQAaQgAgAigCHEEBRg0AGiACKQMICyEDIAJBMGokACADC40BAQJ/IwBBMGsiASQAAkAgAEUNACAAKAKI4gENACABIABB/OEBaigCADYCKCABIAApAvThATcDICAAEDAgACgCqOIBIQIgASABKAIoNgIYIAEgASkDIDcDECACIAFBEGoQGyAAQQA2AqjiASABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALKgECfyMAQRBrIgAkACAAQQA2AgggAEIANwMAIAAQWCEBIABBEGokACABC4cBAQN/IwBBEGsiAiQAAkAgACgCAEUgACgCBEVzDQAgAiAAKAIINgIIIAIgACkCADcDAAJ/IAIoAgAiAQRAIAIoAghBqOMJIAERBQAMAQtBqOMJECgLIgFFDQAgASAAKQIANwL04QEgAUH84QFqIAAoAgg2AgAgARBZIAEhAwsgAkEQaiQAIAMLywEBAn8jAEEgayIBJAAgAEGBgIDAADYCtOIBIABBADYCiOIBIABBADYC7OEBIABCADcDkOIBIABBADYCpOMJIABBADYC3OIBIABCADcCzOIBIABBADYCvOIBIABBADYCxOABIABCADcCnOIBIABBpOIBakIANwIAIABBrOIBakEANgIAIAFCADcCECABQgA3AhggASABKQMYNwMIIAEgASkDEDcDACABKAIIQQh2QQFxIQIgAEEANgLg4gEgACACNgKM4gEgAUEgaiQAC3YBA38jAEEwayIBJAAgAARAIAEgAEHE0AFqIgIoAgA2AiggASAAKQK80AE3AyAgACgCACEDIAEgAigCADYCGCABIAApArzQATcDECADIAFBEGoQGyABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALzAEBAX8gACABKAK00AE2ApjiASAAIAEoAgQiAjYCwOABIAAgAjYCvOABIAAgAiABKAIIaiICNgK44AEgACACNgLE4AEgASgCuNABBEAgAEKBgICAEDcDiOEBIAAgAUGk0ABqNgIMIAAgAUGUIGo2AgggACABQZwwajYCBCAAIAFBDGo2AgAgAEGs0AFqIAFBqNABaigCADYCACAAQbDQAWogAUGs0AFqKAIANgIAIABBtNABaiABQbDQAWooAgA2AgAPCyAAQgA3A4jhAQs7ACACRQRAQbp/DwsgBEUEQEFsDwsgAiAEEGAEQCAAIAEgAiADIAQgBRBhDwsgACABIAIgAyAEIAUQZQtGAQF/IwB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wcA//8PAP//HwD//z8A//9/AP///wD///8B////A////wf///8P////H////z////9/AAAAAAEAAAACAAAABAAAAAAAAAACAAAABAAAAAgAAAAAAAAAAQAAAAIAAAABAAAABAAAAAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAcAAAAIAAAACQAAAAoAAAALAEGgIAsDwBBQ";export{gA as ZSTDDecoder};export default null; diff --git a/ICIMOD_land_cover_nepal_dist/_observablehq/client.js b/ICIMOD_land_cover_nepal_dist/_observablehq/client.js new file mode 100644 index 0000000..58ba101 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_observablehq/client.js @@ -0,0 +1 @@ +var ne=Object.defineProperty;var r=(e,t)=>ne(e,"name",{value:t,configurable:!0});import{Inspector as E,Runtime as se}from"./runtime.js";import{Generators as y,resize as ae,FileAttachment as ie,Mutable as le}from"./stdlib.js";var ce=Object.defineProperty,B=r((e,t)=>ce(e,"name",{value:t,configurable:!0}),"o$3");const N=document.createElement("template");N.innerHTML='',D();function D(){for(const e of document.querySelectorAll("pre:not([data-copy=none])")){const t=e.parentNode;if(t.classList.contains("observablehq-pre-container"))continue;const o=t.insertBefore(document.createElement("div"),e);o.className="observablehq-pre-container",Object.assign(o.dataset,e.dataset),o.appendChild(N.content.cloneNode(!0).firstChild).addEventListener("click",O),o.appendChild(e)}}r(D,"r$1"),B(D,"enableCopyButtons");async function O({currentTarget:e}){await navigator.clipboard.writeText(e.nextElementSibling.textContent.trim());const[t]=e.getAnimations({subtree:!0});t&&(t.currentTime=0),e.classList.add("observablehq-pre-copied"),e.addEventListener("animationend",()=>e.classList.remove("observablehq-pre-copied"),{once:!0})}r(O,"c$3"),B(O,"copy");var de=Object.defineProperty,A=r((e,t)=>de(e,"name",{value:t,configurable:!0}),"s$3");const m=document.querySelector("#observablehq-sidebar-toggle");if(m){let e=m.indeterminate;m.onclick=()=>{const o=matchMedia("(min-width: calc(640px + 6rem + 272px))").matches;e?(m.checked=!o,e=!1):m.checked===o&&(e=!0),m.indeterminate=e,e?sessionStorage.removeItem("observablehq-sidebar"):sessionStorage.setItem("observablehq-sidebar",m.checked)},addEventListener("keypress",o=>{o.code==="KeyB"&&(o.metaKey||o.altKey)&&!o.ctrlKey&&(o.target===document.body||o.target===m||o.target?.closest("#observablehq-sidebar"))&&(m.click(),o.preventDefault())});const t=`Toggle sidebar ${/Mac|iPhone/.test(navigator.platform)?/Firefox/.test(navigator.userAgent)?"\u2325":"\u2318":"Alt-"}B`;for(const o of document.querySelectorAll("#observablehq-sidebar-toggle, label[for='observablehq-sidebar-toggle']"))o.title=t}function R(e){e.detail>1&&e.preventDefault()}r(R,"l$4"),A(R,"preventDoubleClick");function I(){sessionStorage.setItem(`observablehq-sidebar:${this.firstElementChild.textContent}`,this.open)}r(I,"i$3"),A(I,"persistOpen");for(const e of document.querySelectorAll("#observablehq-sidebar summary"))e.onmousedown=R,e.parentElement.ontoggle=I;var pe=Object.defineProperty,P=r((e,t)=>pe(e,"name",{value:t,configurable:!0}),"l$3");const _=document.querySelector("#observablehq-toc");if(_){const e=_.appendChild(document.createElement("div"));e.classList.add("observablehq-secondary-link-highlight");const t=document.querySelector("#observablehq-main"),o=Array.from(t.querySelectorAll(_.dataset.selector)).reverse(),s=_.querySelectorAll(".observablehq-secondary-link"),q=P(()=>{for(const a of s)a.classList.remove("observablehq-secondary-link-active");if(location.hash)for(const a of o){const u=encodeURI(`#${a.id}`);if(u===location.hash){const f=a.getBoundingClientRect().top;if(0=innerHeight*.5)continue;const u=a.querySelector("a[href]")?.hash;for(const f of s)if(f.querySelector("a[href]")?.hash===u)return f.classList.add("observablehq-secondary-link-active"),f;break}},"relink"),C=P(()=>{const a=q();e.style.cssText=a?`top: ${a.offsetTop}px; height: ${a.offsetHeight}px;`:""},"intersected"),v=new IntersectionObserver(C,{rootMargin:"0px 0px -50% 0px"});for(const a of o)v.observe(a)}var me=Object.defineProperty,T=r((e,t)=>me(e,"name",{value:t,configurable:!0}),"n$1");function M(e){const t=new E(document.createElement("div"));return t.fulfilled(e),t._node.firstChild}r(M,"i$2"),T(M,"inspect");function z(e){const t=new E(document.createElement("div"));t.rejected(e);const o=t._node.firstChild;return o.classList.add("observablehq--error"),o}r(z,"s$1"),T(z,"inspectError");var ue=Object.defineProperty,n=r((e,t)=>ue(e,"name",{value:t,configurable:!0}),"o$1");const fe=n(()=>import("../_npm/lodash@4.17.21/_esm.js").then(e=>e.default),"_"),be=n(()=>import("../_npm/arquero@5.4.0/_esm.js"),"aq"),he=n(()=>import("../_npm/apache-arrow@16.1.0/_esm.js"),"Arrow"),ve=n(()=>import("../_npm/d3@7.9.0/_esm.js"),"d3"),ge=n(()=>import("./stdlib/dot.js").then(e=>e.default),"dot"),ye=n(()=>import("../_npm/@duckdb/duckdb-wasm@1.28.0/_esm.js"),"duckdb"),$e=n(()=>import("./stdlib/duckdb.js").then(e=>e.DuckDBClient),"DuckDBClient"),qe=n(()=>import("../_npm/echarts@5.5.0/dist/echarts.esm.min.js._esm.js"),"echarts"),we=n(()=>import("../_npm/htl@0.3.1/_esm.js"),"htl"),_e=n(()=>import("../_npm/htl@0.3.1/_esm.js").then(e=>e.html),"html"),ke=n(()=>import("../_npm/htl@0.3.1/_esm.js").then(e=>e.svg),"svg"),xe=n(()=>import("./stdlib/inputs.js"),"Inputs"),Ce=n(()=>import("../_npm/leaflet@1.9.4/_esm.js"),"L"),Le=n(()=>import("../_npm/mapbox-gl@3.4.0/_esm.js").then(e=>e.default),"mapboxgl"),Se=n(()=>import("./stdlib/mermaid.js").then(e=>e.default),"mermaid"),je=n(()=>import("../_npm/@observablehq/plot@0.6.15/_esm.js"),"Plot"),Ee=n(()=>import("../_npm/react@18.3.1/_esm.js"),"React"),Be=n(()=>import("../_npm/react-dom@18.3.1/_esm.js"),"ReactDOM"),Ne=n(()=>import("./stdlib/duckdb.js").then(e=>e.sql),"sql"),De=n(()=>import("./stdlib/sqlite.js").then(e=>e.default),"SQLite"),Oe=n(()=>import("./stdlib/sqlite.js").then(e=>e.SQLiteDatabaseClient),"SQLiteDatabaseClient"),Ae=n(()=>import("./stdlib/tex.js").then(e=>e.default),"tex"),Re=n(()=>import("../_npm/topojson-client@3.1.0/_esm.js"),"topojson"),Ie=n(()=>import("./stdlib/vgplot.js").then(e=>e.default()),"vg"),Pe=n(()=>import("./stdlib/vega-lite.js").then(e=>e.default),"vl");var Te=Object.freeze({__proto__:null,Arrow:he,DuckDBClient:$e,Inputs:xe,L:Ce,Plot:je,React:Ee,ReactDOM:Be,SQLite:De,SQLiteDatabaseClient:Oe,_:fe,aq:be,d3:ve,dot:ge,duckdb:ye,echarts:qe,htl:we,html:_e,mapboxgl:Le,mermaid:Se,sql:Ne,svg:ke,tex:Ae,topojson:Re,vg:Ie,vl:Pe}),Me=Object.defineProperty,l=r((e,t)=>Me(e,"name",{value:t,configurable:!0}),"e");const ze=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/aapl.csv"),!0),"aapl"),Qe=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/alphabet.csv"),!0),"alphabet"),He=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/cars.csv"),!0),"cars"),Ve=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/citywages.csv"),!0),"citywages"),Ke=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/diamonds.csv"),!0),"diamonds"),Fe=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/flare.csv"),!0),"flare"),Ge=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/industries.csv"),!0),"industries"),Je=l(()=>Q(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/miserables.json")),"miserables"),Ue=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/olympians.csv"),!0),"olympians"),We=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/penguins.csv"),!0),"penguins"),Ze=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/pizza.csv"),!0),"pizza"),Xe=l(()=>c(import.meta.resolve("../_npm/@observablehq/sample-datasets@1.0.1/weather.csv"),!0),"weather");async function Q(e){const t=await fetch(e);if(!t.ok)throw new Error(`unable to fetch ${e}: status ${t.status}`);return t.json()}r(Q,"w"),l(Q,"json");async function H(e){const t=await fetch(e);if(!t.ok)throw new Error(`unable to fetch ${e}: status ${t.status}`);return t.text()}r(H,"y"),l(H,"text");async function c(e,t){const[o,s]=await Promise.all([H(e),import("../_npm/d3-dsv@3.0.1/_esm.js")]);return s.csvParse(o,t&&s.autoType)}r(c,"t"),l(c,"csv");var Ye=Object.freeze({__proto__:null,aapl:ze,alphabet:Qe,cars:He,citywages:Ve,diamonds:Ke,flare:Fe,industries:Ge,miserables:Je,olympians:Ue,penguins:We,pizza:Ze,weather:Xe}),et=Object.defineProperty,i=r((e,t)=>et(e,"name",{value:t,configurable:!0}),"o");const tt={now:()=>y.now(),width:()=>y.width(document.querySelector("main")),dark:()=>y.dark(),resize:()=>ae,FileAttachment:()=>ie,Generators:()=>y,Mutable:()=>le,...Te,...Ye},ot=new se(tt),V=ot.module(),j=new Map,k=X(document.body);function K(e){const{id:t,mode:o,inputs:s=[],outputs:q=[],body:C}=e,v=[];j.set(t,{cell:e,variables:v});const a=k.get(t),u=te(a);a._nodes=[],u&&a._nodes.push(u);const f=i(()=>G(a,u),"pending"),g=i(b=>J(a,b),"rejected"),p=V.variable({_node:a.parentNode,pending:f,rejected:g},{shadow:{}});if(s.includes("display")||s.includes("view")){let b=-1;const L=o==="jsx"?F:$,oe=o==="inline"?W:o==="jsx"?U:Z,S=new p.constructor(2,p._module);if(S.define(s.filter(d=>d!=="display"&&d!=="view"),()=>{let d=p._version;return w=>{if(db&&L(a),b=d,oe(a,w),w}}),p._shadow.set("display",S),s.includes("view")){const d=new p.constructor(2,p._module,null,{shadow:{}});d._shadow.set("display",S),d.define(["display"],w=>re=>y.input(w(re))),p._shadow.set("view",d)}}p.define(q.length?`cell ${t}`:null,s,C),v.push(p);for(const b of q)v.push(V.variable(!0).define(b,[`cell ${t}`],L=>L[b]))}r(K,"F"),i(K,"define");function F(){}r(F,"O"),i(F,"noop");function $(e){for(const t of e._nodes)t.remove();e._nodes.length=0}r($,"p"),i($,"clear");function G(e,t){e._error&&(e._error=!1,$(e),t&&h(e,t))}r(G,"q"),i(G,"reset");function J(e,t){console.error(t),e._error=!0,$(e),h(e,z(t))}r(J,"C"),i(J,"reject");function U(e,t){return(e._root??=import("../_npm/react-dom@18.3.1/client._esm.js").then(({createRoot:o})=>{const s=document.createElement("DIV");return[s,o(s)]})).then(([o,s])=>{o.parentNode||(e._nodes.push(o),e.parentNode.insertBefore(o,e)),s.render(t)})}r(U,"H"),i(U,"displayJsx");function h(e,t){if(t.nodeType===11){let o;for(;o=t.firstChild;)e._nodes.push(o),e.parentNode.insertBefore(o,e)}else e._nodes.push(t),e.parentNode.insertBefore(t,e)}r(h,"l"),i(h,"displayNode");function W(e,t){if(x(t))h(e,t);else if(typeof t=="string"||!t?.[Symbol.iterator])h(e,document.createTextNode(t));else for(const o of t)h(e,x(o)?o:document.createTextNode(o))}r(W,"J"),i(W,"displayInline");function Z(e,t){h(e,x(t)?t:M(t))}r(Z,"Q"),i(Z,"displayBlock");function rt(e){$(k.get(e)),j.get(e).variables.forEach(t=>t.delete()),j.delete(e)}r(rt,"K"),i(rt,"undefine");function x(e){return e instanceof Node&&e instanceof e.constructor}r(x,"b"),i(x,"isNode");function X(e){const t=new Map,o=document.createNodeIterator(e,128,null);let s;for(;s=o.nextNode();)Y(s)&&t.set(s.data.slice(1,-1),s);return t}r(X,"B"),i(X,"findRoots");function Y(e){return e.nodeType===8&&/^:[0-9a-f]{8}(?:-\d+)?:$/.test(e.data)}r(Y,"P"),i(Y,"isRoot");function ee(e){return e.nodeType===1&&e.tagName==="OBSERVABLEHQ-LOADING"}r(ee,"U"),i(ee,"isLoading");function te(e){const t=e.previousSibling;return t&&ee(t)?t:null}r(te,"x"),i(te,"findLoading");function nt(e,t){t==null?k.delete(e):k.set(e,t)}r(nt,"W"),i(nt,"registerRoot");export{K as define}; diff --git a/ICIMOD_land_cover_nepal_dist/_observablehq/runtime.js b/ICIMOD_land_cover_nepal_dist/_observablehq/runtime.js new file mode 100644 index 0000000..5b2dbbd --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_observablehq/runtime.js @@ -0,0 +1,7 @@ +var Ft=Object.defineProperty;var r=(e,t)=>Ft(e,"name",{value:t,configurable:!0});var B,H;import{FileAttachments as Rt,Library as Ut}from"./stdlib.js";var zt=Object.defineProperty,Bt=r((e,t)=>zt(e,"name",{value:t,configurable:!0}),"c$7");function A(e,t,n){n=n||{};var i=e.ownerDocument,l=i.defaultView.CustomEvent;typeof l=="function"?l=new l(t,{detail:n}):(l=i.createEvent("Event"),l.initEvent(t,!1,!1),l.detail=n),e.dispatchEvent(l)}r(A,"o$c"),Bt(A,"dispatch");var Ht=Object.defineProperty,be=r((e,t)=>Ht(e,"name",{value:t,configurable:!0}),"r$7");function ee(e){return Array.isArray(e)||e instanceof Int8Array||e instanceof Int16Array||e instanceof Int32Array||e instanceof Uint8Array||e instanceof Uint8ClampedArray||e instanceof Uint16Array||e instanceof Uint32Array||e instanceof Float32Array||e instanceof Float64Array}r(ee,"o$b"),be(ee,"isarray");function te(e){return e===(e|0)+""}r(te,"s$4"),be(te,"isindex");var Vt=Object.defineProperty,Yt=r((e,t)=>Vt(e,"name",{value:t,configurable:!0}),"n$8");function g(e){const t=document.createElement("span");return t.className="observablehq--cellname",t.textContent=`${e} = `,t}r(g,"c$6"),Yt(g,"inspectName");var Gt=Object.defineProperty,Jt=r((e,t)=>Gt(e,"name",{value:t,configurable:!0}),"t$8");const Kt=Symbol.prototype.toString;function j(e){return Kt.call(e)}r(j,"e$6"),Jt(j,"formatSymbol");var Zt=Object.defineProperty,ne=r((e,t)=>Zt(e,"name",{value:t,configurable:!0}),"n$6");const{getOwnPropertySymbols:Xt,prototype:{hasOwnProperty:Qt}}=Object,{toStringTag:Wt}=Symbol,ve={},k=Xt;function L(e,t){return Qt.call(e,t)}r(L,"i$5"),ne(L,"isown");function V(e){return e[Wt]||e.constructor&&e.constructor.name||"Object"}r(V,"l$1"),ne(V,"tagof");function _(e,t){try{const n=e[t];return n&&n.constructor,n}catch{return ve}}r(_,"y$2"),ne(_,"valueof");var en=Object.defineProperty,tn=r((e,t)=>en(e,"name",{value:t,configurable:!0}),"i$4");const nn=[{symbol:"@@__IMMUTABLE_INDEXED__@@",name:"Indexed",modifier:!0},{symbol:"@@__IMMUTABLE_KEYED__@@",name:"Keyed",modifier:!0},{symbol:"@@__IMMUTABLE_LIST__@@",name:"List",arrayish:!0},{symbol:"@@__IMMUTABLE_MAP__@@",name:"Map"},{symbol:"@@__IMMUTABLE_ORDERED__@@",name:"Ordered",modifier:!0,prefix:!0},{symbol:"@@__IMMUTABLE_RECORD__@@",name:"Record"},{symbol:"@@__IMMUTABLE_SET__@@",name:"Set",arrayish:!0,setish:!0},{symbol:"@@__IMMUTABLE_STACK__@@",name:"Stack",arrayish:!0}];function re(e){try{let t=nn.filter(({symbol:o})=>e[o]===!0);if(!t.length)return;const n=t.find(o=>!o.modifier),i=n.name==="Map"&&t.find(o=>o.modifier&&o.prefix),l=t.some(o=>o.arrayish),a=t.some(o=>o.setish);return{name:`${i?i.name:""}${n.name}`,symbols:t,arrayish:l&&!a,setish:a}}catch{return null}}r(re,"y$1"),tn(re,"immutableName");var rn=Object.defineProperty,b=r((e,t)=>rn(e,"name",{value:t,configurable:!0}),"i$3");const{getPrototypeOf:ie,getOwnPropertyDescriptors:on}=Object,ye=ie({});function oe(e,t,n,i){let l=ee(e),a,o,s,u;e instanceof Map?e instanceof e.constructor?(a=`Map(${e.size})`,o=ge):(a="Map()",o=P):e instanceof Set?e instanceof e.constructor?(a=`Set(${e.size})`,o=$e):(a="Set()",o=P):l?(a=`${e.constructor.name}(${e.length})`,o=Ce):(u=re(e))?(a=`Immutable.${u.name}${u.name==="Record"?"":`(${e.size})`}`,l=u.arrayish,o=u.arrayish?Ee:u.setish?we:Se):i?(a=V(e),o=xe):(a=V(e),o=P);const c=document.createElement("span");c.className="observablehq--expanded",n&&c.appendChild(g(n));const p=c.appendChild(document.createElement("a"));p.innerHTML=` + + `,p.appendChild(document.createTextNode(`${a}${l?" [":" {"}`)),p.addEventListener("mouseup",function(d){d.stopPropagation(),D(c,Y(e,null,n,i))}),o=o(e);for(let d=0;!(s=o.next()).done&&d<20;++d)c.appendChild(s.value);if(!s.done){const d=c.appendChild(document.createElement("a"));d.className="observablehq--field",d.style.display="block",d.appendChild(document.createTextNode(" \u2026 more")),d.addEventListener("mouseup",function(S){S.stopPropagation(),c.insertBefore(s.value,c.lastChild.previousSibling);for(let O=0;!(s=o.next()).done&&O<19;++O)c.insertBefore(s.value,c.lastChild.previousSibling);s.done&&c.removeChild(c.lastChild.previousSibling),A(c,"load")})}return c.appendChild(document.createTextNode(l?"]":"}")),c}r(oe,"F$2"),b(oe,"inspectExpanded");function*ge(e){for(const[t,n]of e)yield Ne(t,n);yield*P(e)}r(ge,"A$3"),b(ge,"iterateMap");function*$e(e){for(const t of e)yield se(t);yield*P(e)}r($e,"B$1"),b($e,"iterateSet");function*we(e){for(const t of e)yield se(t)}r(we,"D$5"),b(we,"iterateImSet");function*Ce(e){for(let t=0,n=e.length;t ")),n.appendChild(h(t)),n}r(Ne,"J$1"),b(Ne,"formatMapField");function se(e){const t=document.createElement("div");return t.className="observablehq--field",t.appendChild(document.createTextNode(" ")),t.appendChild(h(e)),t}r(se,"k$2"),b(se,"formatSetField");var an=Object.defineProperty,v=r((e,t)=>an(e,"name",{value:t,configurable:!0}),"a$3");function le(e){const t=window.getSelection();return t.type==="Range"&&(t.containsNode(e,!0)||t.anchorNode.isSelfOrDescendant(e)||t.focusNode.isSelfOrDescendant(e))}r(le,"$$3"),v(le,"hasSelection");function Y(e,t,n,i){let l=ee(e),a,o,s,u;if(e instanceof Map?e instanceof e.constructor?(a=`Map(${e.size})`,o=Oe):(a="Map()",o=q):e instanceof Set?e instanceof e.constructor?(a=`Set(${e.size})`,o=je):(a="Set()",o=q):l?(a=`${e.constructor.name}(${e.length})`,o=Me):(u=re(e))?(a=`Immutable.${u.name}${u.name==="Record"?"":`(${e.size})`}`,l=u.arrayish,o=u.arrayish?qe:u.setish?Pe:Te):(a=V(e),o=q),t){const d=document.createElement("span");return d.className="observablehq--shallow",n&&d.appendChild(g(n)),d.appendChild(document.createTextNode(a)),d.addEventListener("mouseup",function(S){le(d)||(S.stopPropagation(),D(d,Y(e)))}),d}const c=document.createElement("span");c.className="observablehq--collapsed",n&&c.appendChild(g(n));const p=c.appendChild(document.createElement("a"));p.innerHTML=` + + `,p.appendChild(document.createTextNode(`${a}${l?" [":" {"}`)),c.addEventListener("mouseup",function(d){le(c)||(d.stopPropagation(),D(c,oe(e,null,n,i)))},!0),o=o(e);for(let d=0;!(s=o.next()).done&&d<20;++d)d>0&&c.appendChild(document.createTextNode(", ")),c.appendChild(s.value);return s.done||c.appendChild(document.createTextNode(", \u2026")),c.appendChild(document.createTextNode(l?"]":"}")),c}r(Y,"q$1"),v(Y,"inspectCollapsed");function*Oe(e){for(const[t,n]of e)yield Ae(t,n);yield*q(e)}r(Oe,"D$4"),v(Oe,"iterateMap");function*je(e){for(const t of e)yield h(t,!0);yield*q(e)}r(je,"F$1"),v(je,"iterateSet");function*Pe(e){for(const t of e)yield h(t,!0)}r(Pe,"I$2"),v(Pe,"iterateImSet");function*qe(e){let t=-1,n=0;for(const i=e.size;nt+1&&(yield I(n-t-1)),yield h(e.get(n),!0),t=n;n>t+1&&(yield I(n-t-1))}r(qe,"L$3"),v(qe,"iterateImArray");function*Me(e){let t=-1,n=0;for(const i=e.length;nt+1&&(yield I(n-t-1)),yield h(_(e,n),!0),t=n);n>t+1&&(yield I(n-t-1));for(const i in e)!te(i)&&L(e,i)&&(yield M(i,_(e,i),"observablehq--key"));for(const i of k(e))yield M(j(i),_(e,i),"observablehq--symbol")}r(Me,"O$3"),v(Me,"iterateArray");function*q(e){for(const t in e)L(e,t)&&(yield M(t,_(e,t),"observablehq--key"));for(const t of k(e))yield M(j(t),_(e,t),"observablehq--symbol")}r(q,"u$2"),v(q,"iterateObject");function*Te(e){for(const[t,n]of e)yield M(t,n,"observablehq--key")}r(Te,"A$2"),v(Te,"iterateImObject");function I(e){const t=document.createElement("span");return t.className="observablehq--empty",t.textContent=e===1?"empty":`empty \xD7 ${e}`,t}r(I,"h$3"),v(I,"formatEmpty");function M(e,t,n){const i=document.createDocumentFragment(),l=i.appendChild(document.createElement("span"));return l.className=n,l.textContent=e,i.appendChild(document.createTextNode(": ")),i.appendChild(h(t,!0)),i}r(M,"m$1"),v(M,"formatField");function Ae(e,t){const n=document.createDocumentFragment();return n.appendChild(h(e,!0)),n.appendChild(document.createTextNode(" => ")),n.appendChild(h(t,!0)),n}r(Ae,"P$2"),v(Ae,"formatMapField");var sn=Object.defineProperty,ce=r((e,t)=>sn(e,"name",{value:t,configurable:!0}),"i$2");function ke(e,t){if(e instanceof Date||(e=new Date(+e)),isNaN(e))return typeof t=="function"?t(e):t;const n=e.getUTCHours(),i=e.getUTCMinutes(),l=e.getUTCSeconds(),a=e.getUTCMilliseconds();return`${Le(e.getUTCFullYear())}-${w(e.getUTCMonth()+1,2)}-${w(e.getUTCDate(),2)}${n||i||l||a?`T${w(n,2)}:${w(i,2)}${l||a?`:${w(l,2)}${a?`.${w(a,3)}`:""}`:""}Z`:""}`}r(ke,"c$4"),ce(ke,"format");function Le(e){return e<0?`-${w(-e,6)}`:e>9999?`+${w(e,6)}`:w(e,4)}r(Le,"f$6"),ce(Le,"formatYear");function w(e,t){return`${e}`.padStart(t,"0")}r(w,"t$7"),ce(w,"pad");var ln=Object.defineProperty,cn=r((e,t)=>ln(e,"name",{value:t,configurable:!0}),"t$6");const un=/^(?:[-+]\d{2})?\d{4}(?:-\d{2}(?:-\d{2})?)?(?:T\d{2}:\d{2}(?::\d{2}(?:\.\d{3})?)?(?:Z|[-+]\d{2}:?\d{2})?)?$/;function dn(e,t){return un.test(e+="")?new Date(e):typeof t=="function"?t(e):t}r(dn,"r$5"),cn(dn,"parse");var fn=Object.defineProperty,pn=r((e,t)=>fn(e,"name",{value:t,configurable:!0}),"r$4");function Ie(e){return ke(e,"Invalid Date")}r(Ie,"f$5"),pn(Ie,"formatDate");var mn=Object.defineProperty,hn=r((e,t)=>mn(e,"name",{value:t,configurable:!0}),"t$5"),_n=Error.prototype.toString;function De(e){return e.stack||_n.call(e)}r(De,"e$4"),hn(De,"formatError");var bn=Object.defineProperty,vn=r((e,t)=>bn(e,"name",{value:t,configurable:!0}),"r$3"),yn=RegExp.prototype.toString;function Fe(e){return yn.call(e)}r(Fe,"g$1"),vn(Fe,"formatRegExp");var gn=Object.defineProperty,G=r((e,t)=>gn(e,"name",{value:t,configurable:!0}),"s$1");const ue=20;function Re(e,t,n,i){if(t===!1){if(fe(e,/["\n]/g)<=fe(e,/`|\${/g)){const c=document.createElement("span");i&&c.appendChild(g(i));const p=c.appendChild(document.createElement("span"));return p.className="observablehq--string",p.textContent=JSON.stringify(e),c}const o=e.split(` +`);if(o.length>ue&&!n){const c=document.createElement("div");i&&c.appendChild(g(i));const p=c.appendChild(document.createElement("span"));p.className="observablehq--string",p.textContent="`"+de(o.slice(0,ue).join(` +`));const d=c.appendChild(document.createElement("span")),S=o.length-ue;return d.textContent=`Show ${S} truncated line${S>1?"s":""}`,d.className="observablehq--string-expand",d.addEventListener("mouseup",function(O){O.stopPropagation(),D(c,h(e,t,!0,i))}),c}const s=document.createElement("span");i&&s.appendChild(g(i));const u=s.appendChild(document.createElement("span"));return u.className=`observablehq--string${n?" observablehq--expanded":""}`,u.textContent="`"+de(e)+"`",s}const l=document.createElement("span");i&&l.appendChild(g(i));const a=l.appendChild(document.createElement("span"));return a.className="observablehq--string",a.textContent=JSON.stringify(e.length>100?`${e.slice(0,50)}\u2026${e.slice(-49)}`:e),l}r(Re,"g"),G(Re,"formatString");function de(e){return e.replace(/[\\`\x00-\x09\x0b-\x19]|\${/g,Ue)}r(de,"h$2"),G(de,"templatify");function Ue(e){var t=e.charCodeAt(0);switch(t){case 8:return"\\b";case 9:return"\\t";case 11:return"\\v";case 12:return"\\f";case 13:return"\\r"}return t<16?"\\x0"+t.toString(16):t<32?"\\x"+t.toString(16):"\\"+e}r(Ue,"$$2"),G(Ue,"templatifyChar");function fe(e,t){for(var n=0;t.exec(e);)++n;return n}r(fe,"C$2"),G(fe,"count");var $n=Object.defineProperty,ze=r((e,t)=>$n(e,"name",{value:t,configurable:!0}),"a$1"),wn=Function.prototype.toString,Cn={prefix:"async \u0192"},En={prefix:"async \u0192*"},Be={prefix:"class"},xn={prefix:"\u0192"},Sn={prefix:"\u0192*"};function He(e,t){var n,i,l=wn.call(e);switch(e.constructor&&e.constructor.name){case"AsyncFunction":n=Cn;break;case"AsyncGeneratorFunction":n=En;break;case"GeneratorFunction":n=Sn;break;default:n=/^class\b/.test(l)?Be:xn;break}return n===Be?T(n,"",t):(i=/^(?:async\s*)?(\w+)\s*=>/.exec(l))?T(n,"("+i[1]+")",t):(i=/^(?:async\s*)?\(\s*(\w+(?:\s*,\s*\w+)*)?\s*\)/.exec(l))?T(n,i[1]?"("+i[1].replace(/\s*,\s*/g,", ")+")":"()",t):(i=/^(?:async\s*)?function(?:\s*\*)?(?:\s*\w+)?\s*\(\s*(\w+(?:\s*,\s*\w+)*)?\s*\)/.exec(l))?T(n,i[1]?"("+i[1].replace(/\s*,\s*/g,", ")+")":"()",t):T(n,"(\u2026)",t)}r(He,"y"),ze(He,"inspectFunction");function T(e,t,n){var i=document.createElement("span");i.className="observablehq--function",n&&i.appendChild(g(n));var l=i.appendChild(document.createElement("span"));return l.className="observablehq--keyword",l.textContent=e.prefix,i.appendChild(document.createTextNode(t)),i}r(T,"c$3"),ze(T,"formatFunction");var Nn=Object.defineProperty,Ve=r((e,t)=>Nn(e,"name",{value:t,configurable:!0}),"c$2");const{prototype:{toString:On}}=Object;function h(e,t,n,i,l){let a=typeof e;switch(a){case"boolean":case"undefined":{e+="";break}case"number":{e=e===0&&1/e<0?"-0":e+"";break}case"bigint":{e=e+"n";break}case"symbol":{e=j(e);break}case"function":return He(e,i);case"string":return Re(e,t,n,i);default:{if(e===null){a=null,e="null";break}if(e instanceof Date){a="date",e=Ie(e);break}if(e===ve){a="forbidden",e="[forbidden]";break}switch(On.call(e)){case"[object RegExp]":{a="regexp",e=Fe(e);break}case"[object Error]":case"[object DOMException]":{a="error",e=De(e);break}default:return(n?oe:Y)(e,t,i,l)}break}}const o=document.createElement("span");i&&o.appendChild(g(i));const s=o.appendChild(document.createElement("span"));return s.className=`observablehq--${a}`,s.textContent=e,o}r(h,"$$1"),Ve(h,"inspect");function D(e,t){e.classList.contains("observablehq--inspect")&&t.classList.add("observablehq--inspect"),e.parentNode.replaceChild(t,e),A(t,"load")}r(D,"z$2"),Ve(D,"replace");var jn=Object.defineProperty,Ye=r((e,t)=>jn(e,"name",{value:t,configurable:!0}),"n$2");const Pn=/\s+\(\d+:\d+\)$/m,Ge=(B=class{constructor(t){if(!t)throw new Error("invalid node");this._node=t,t.classList.add("observablehq")}pending(){const{_node:t}=this;t.classList.remove("observablehq--error"),t.classList.add("observablehq--running")}fulfilled(t,n){const{_node:i}=this;if((!Je(t)||t.parentNode&&t.parentNode!==i)&&(t=h(t,!1,i.firstChild&&i.firstChild.classList&&i.firstChild.classList.contains("observablehq--expanded"),n),t.classList.add("observablehq--inspect")),i.classList.remove("observablehq--running","observablehq--error"),i.firstChild!==t)if(i.firstChild){for(;i.lastChild!==i.firstChild;)i.removeChild(i.lastChild);i.replaceChild(t,i.firstChild)}else i.appendChild(t);A(i,"update")}rejected(t,n){const{_node:i}=this;for(i.classList.remove("observablehq--running"),i.classList.add("observablehq--error");i.lastChild;)i.removeChild(i.lastChild);var l=document.createElement("div");l.className="observablehq--inspect",n&&l.appendChild(g(n)),l.appendChild(document.createTextNode((t+"").replace(Pn,""))),i.appendChild(l),A(i,"error",{error:t})}},r(B,"o"),B);Ye(Ge,"Inspector");let pe=Ge;pe.into=function(e){if(typeof e=="string"&&(e=document.querySelector(e),e==null))throw new Error("container not found");return function(){return new pe(e.appendChild(document.createElement("div")))}};function Je(e){return(e instanceof Element||e instanceof Text)&&e instanceof e.constructor}r(Je,"p$2"),Ye(Je,"isnode");var qn=Object.defineProperty,Mn=r((e,t)=>qn(e,"name",{value:t,configurable:!0}),"o$4");const Ke=(H=class extends Error{constructor(t,n){super(t),this.input=n}},r(H,"e"),H);Mn(Ke,"RuntimeError");let C=Ke;C.prototype.name="RuntimeError";var Tn=Object.defineProperty,An=r((e,t)=>Tn(e,"name",{value:t,configurable:!0}),"t$4");function Ze(e){return e&&typeof e.next=="function"&&typeof e.return=="function"}r(Ze,"f$1"),An(Ze,"generatorish");var kn=Object.defineProperty,Ln=r((e,t)=>kn(e,"name",{value:t,configurable:!0}),"t$3");function J(e){return()=>e}r(J,"e$2"),Ln(J,"constant");var In=Object.defineProperty,Dn=r((e,t)=>In(e,"name",{value:t,configurable:!0}),"n$1");function F(e){return e}r(F,"o$3"),Dn(F,"identity");var Fn=Object.defineProperty,Rn=r((e,t)=>Fn(e,"name",{value:t,configurable:!0}),"t$2");function Xe(e){return()=>{throw e}}r(Xe,"h$1"),Rn(Xe,"rethrow");const Un=Array.prototype,zn=Un.map;var Bn=Object.defineProperty,Hn=r((e,t)=>Bn(e,"name",{value:t,configurable:!0}),"o$1");function E(){}r(E,"e"),Hn(E,"noop");var Vn=Object.defineProperty,m=r((e,t)=>Vn(e,"name",{value:t,configurable:!0}),"r");const me=1,R=2,K=3,U=Symbol("no-observer");function N(e,t,n,i){n||(n=U),Object.defineProperties(this,{_observer:{value:n,writable:!0},_definition:{value:Z,writable:!0},_duplicate:{value:void 0,writable:!0},_duplicates:{value:void 0,writable:!0},_indegree:{value:NaN,writable:!0},_inputs:{value:[],writable:!0},_invalidate:{value:E,writable:!0},_module:{value:t},_name:{value:null,writable:!0},_outputs:{value:new Set,writable:!0},_promise:{value:Promise.resolve(void 0),writable:!0},_reachable:{value:n!==U,writable:!0},_rejector:{value:tt(this)},_shadow:{value:Qe(t,i)},_type:{value:e},_value:{value:void 0,writable:!0},_version:{value:0,writable:!0}})}r(N,"h"),m(N,"Variable"),Object.defineProperties(N.prototype,{_pending:{value:at,writable:!0,configurable:!0},_fulfilled:{value:st,writable:!0,configurable:!0},_rejected:{value:lt,writable:!0,configurable:!0},_resolve:{value:rt,writable:!0,configurable:!0},define:{value:nt,writable:!0,configurable:!0},delete:{value:ot,writable:!0,configurable:!0},import:{value:it,writable:!0,configurable:!0}});function Qe(e,t){return t?.shadow?new Map(Object.entries(t.shadow).map(([n,i])=>[n,new N(R,e).define([],i)])):null}r(Qe,"x$2"),m(Qe,"initShadow");function We(e){e._module._runtime._dirty.add(e),e._outputs.add(this)}r(We,"S$1"),m(We,"variable_attach");function et(e){e._module._runtime._dirty.add(e),e._outputs.delete(this)}r(et,"j"),m(et,"variable_detach");function Z(){throw Z}r(Z,"f"),m(Z,"variable_undefined");function x(){throw x}r(x,"b"),m(x,"variable_stale");function tt(e){return t=>{throw t===x?t:t===Z?new C(`${e._name} is not defined`,e._name):t instanceof Error&&t.message?new C(t.message,e._name):new C(`${e._name} could not be resolved`,e._name)}}r(tt,"O$2"),m(tt,"variable_rejector");function he(e){return()=>{throw new C(`${e} is defined more than once`)}}r(he,"w$1"),m(he,"variable_duplicate");function nt(e,t,n){switch(arguments.length){case 1:{n=e,e=t=null;break}case 2:{n=t,typeof e=="string"?t=null:(t=e,e=null);break}}return X.call(this,e==null?null:String(e),t==null?[]:zn.call(t,this._resolve,this),typeof n=="function"?n:J(n))}r(nt,"P$1"),m(nt,"variable_define");function rt(e){return this._shadow?.get(e)??this._module._resolve(e)}r(rt,"I$1"),m(rt,"variable_resolve");function X(e,t,n){const i=this._module._scope,l=this._module._runtime;if(this._inputs.forEach(et,this),t.forEach(We,this),this._inputs=t,this._definition=n,this._value=void 0,n===E?l._variables.delete(this):l._variables.add(this),e!==this._name||i.get(e)!==this){let a,o;if(this._name)if(this._outputs.size)i.delete(this._name),o=this._module._resolve(this._name),o._outputs=this._outputs,this._outputs=new Set,o._outputs.forEach(function(s){s._inputs[s._inputs.indexOf(this)]=o},this),o._outputs.forEach(l._updates.add,l._updates),l._dirty.add(o).add(this),i.set(this._name,o);else if((o=i.get(this._name))===this)i.delete(this._name);else if(o._type===K)o._duplicates.delete(this),this._duplicate=void 0,o._duplicates.size===1&&(o=o._duplicates.keys().next().value,a=i.get(this._name),o._outputs=a._outputs,a._outputs=new Set,o._outputs.forEach(function(s){s._inputs[s._inputs.indexOf(a)]=o}),o._definition=o._duplicate,o._duplicate=void 0,l._dirty.add(a).add(o),l._updates.add(o),i.set(this._name,o));else throw new Error;if(this._outputs.size)throw new Error;e&&((o=i.get(e))?o._type===K?(this._definition=he(e),this._duplicate=n,o._duplicates.add(this)):o._type===R?(this._outputs=o._outputs,o._outputs=new Set,this._outputs.forEach(function(s){s._inputs[s._inputs.indexOf(o)]=this},this),l._dirty.add(o).add(this),i.set(e,this)):(o._duplicate=o._definition,this._duplicate=n,a=new N(K,this._module),a._name=e,a._definition=this._definition=o._definition=he(e),a._outputs=o._outputs,o._outputs=new Set,a._outputs.forEach(function(s){s._inputs[s._inputs.indexOf(o)]=a}),a._duplicates=new Set([this,o]),l._dirty.add(o).add(a),l._updates.add(o).add(a),i.set(e,a)):i.set(e,this)),this._name=e}return this._version>0&&++this._version,l._updates.add(this),l._compute(),this}r(X,"c"),m(X,"variable_defineImpl");function it(e,t,n){return arguments.length<3&&(n=t,t=e),X.call(this,String(t),[n._resolve(String(e))],F)}r(it,"T$1"),m(it,"variable_import");function ot(){return X.call(this,null,[],E)}r(ot,"k$1"),m(ot,"variable_delete");function at(){this._observer.pending&&this._observer.pending()}r(at,"z$1"),m(at,"variable_pending");function st(e){this._observer.fulfilled&&this._observer.fulfilled(e,this._name)}r(st,"L$2"),m(st,"variable_fulfilled");function lt(e){this._observer.rejected&&this._observer.rejected(e,this._name)}r(lt,"M$2"),m(lt,"variable_rejected");var Yn=Object.defineProperty,y=r((e,t)=>Yn(e,"name",{value:t,configurable:!0}),"n");const ct=Symbol("variable"),ut=Symbol("invalidation"),dt=Symbol("visibility");function z(e,t=[]){Object.defineProperties(this,{_runtime:{value:e},_scope:{value:new Map},_builtins:{value:new Map([["@variable",ct],["invalidation",ut],["visibility",dt],...t])},_source:{value:null,writable:!0}})}r(z,"M$1"),y(z,"Module"),Object.defineProperties(z.prototype,{_resolve:{value:vt,writable:!0,configurable:!0},redefine:{value:ft,writable:!0,configurable:!0},define:{value:pt,writable:!0,configurable:!0},derive:{value:bt,writable:!0,configurable:!0},import:{value:mt,writable:!0,configurable:!0},value:{value:_t,writable:!0,configurable:!0},variable:{value:ht,writable:!0,configurable:!0},builtin:{value:yt,writable:!0,configurable:!0}});function ft(e){const t=this._scope.get(e);if(!t)throw new C(`${e} is not defined`);if(t._type===K)throw new C(`${e} is defined more than once`);return t.define.apply(t,arguments)}r(ft,"O$1"),y(ft,"module_redefine");function pt(){const e=new N(me,this);return e.define.apply(e,arguments)}r(pt,"V$1"),y(pt,"module_define");function mt(){const e=new N(me,this);return e.import.apply(e,arguments)}r(mt,"Y$1"),y(mt,"module_import");function ht(e,t){return new N(me,this,e,t)}r(ht,"$"),y(ht,"module_variable");async function _t(e){let t=this._scope.get(e);if(!t)throw new C(`${e} is not defined`);if(t._observer===U){t=this.variable(!0).define([e],F);try{return await Q(this._runtime,t)}finally{t.delete()}}else return Q(this._runtime,t)}r(_t,"A$1"),y(_t,"module_value");async function Q(e,t){await e._compute();try{return await t._promise}catch(n){if(n===x)return Q(e,t);throw n}}r(Q,"p"),y(Q,"module_revalue");function bt(e,t){const n=new Map,i=new Set,l=[];function a(s){let u=n.get(s);return u||(u=new z(s._runtime,s._builtins),u._source=s,n.set(s,u),l.push([u,s]),i.add(s),u)}r(a,"v"),y(a,"alias");const o=a(this);for(const s of e){const{alias:u,name:c}=typeof s=="object"?s:{name:s};o.import(c,u??c,t)}for(const s of i)for(const[u,c]of s._scope)if(c._definition===F){if(s===this&&o._scope.has(u))continue;const p=c._inputs[0]._module;p._source&&a(p)}for(const[s,u]of l)for(const[c,p]of u._scope){const d=s._scope.get(c);if(!(d&&d._type!==R))if(p._definition===F){const S=p._inputs[0],O=S._module;s.import(S._name,c,n.get(O)||O)}else s.define(c,p._inputs.map(gt),p._definition)}return o}r(bt,"C$1"),y(bt,"module_derive");function vt(e){let t=this._scope.get(e),n;if(!t)if(t=new N(R,this),this._builtins.has(e))t.define(e,J(this._builtins.get(e)));else if(this._runtime._builtin._scope.has(e))t.import(e,this._runtime._builtin);else{try{n=this._runtime._global(e)}catch(i){return t.define(e,Xe(i))}n===void 0?this._scope.set(t._name=e,t):t.define(e,J(n))}return t}r(vt,"R$1"),y(vt,"module_resolve");function yt(e,t){this._builtins.set(e,t)}r(yt,"D$1"),y(yt,"module_builtin");function gt(e){return e._name}r(gt,"N"),y(gt,"variable_name");var Gn=Object.defineProperty,f=r((e,t)=>Gn(e,"name",{value:t,configurable:!0}),"o");const Jn=typeof requestAnimationFrame=="function"?requestAnimationFrame:typeof setImmediate=="function"?setImmediate:e=>setTimeout(e,0);function _e(e=new Ut,t=Dt){const n=this.module();if(Object.defineProperties(this,{_dirty:{value:new Set},_updates:{value:new Set},_precomputes:{value:[],writable:!0},_computing:{value:null,writable:!0},_init:{value:null,writable:!0},_modules:{value:new Map},_variables:{value:new Set},_disposed:{value:!1,writable:!0},_builtin:{value:n},_global:{value:t}}),e)for(const i in e)new N(R,n).define(i,[],e[i])}r(_e,"k"),f(_e,"Runtime"),Object.defineProperties(_e.prototype,{_precompute:{value:Ct,writable:!0,configurable:!0},_compute:{value:Et,writable:!0,configurable:!0},_computeSoon:{value:xt,writable:!0,configurable:!0},_computeNow:{value:St,writable:!0,configurable:!0},dispose:{value:$t,writable:!0,configurable:!0},module:{value:wt,writable:!0,configurable:!0},fileAttachments:{value:Rt,writable:!0,configurable:!0}});function $t(){this._computing=Promise.resolve(),this._disposed=!0,this._variables.forEach(e=>{e._invalidate(),e._version=NaN})}r($t,"q"),f($t,"runtime_dispose");function wt(e,t=E){let n;if(e===void 0)return(n=this._init)?(this._init=null,n):new z(this);if(n=this._modules.get(e),n)return n;this._init=n=new z(this),this._modules.set(e,n);try{e(this,t)}finally{this._init=null}return n}r(wt,"A"),f(wt,"runtime_module");function Ct(e){this._precomputes.push(e),this._compute()}r(Ct,"O"),f(Ct,"runtime_precompute");function Et(){return this._computing||(this._computing=this._computeSoon())}r(Et,"T"),f(Et,"runtime_compute");function xt(){return new Promise(Jn).then(()=>this._disposed?void 0:this._computeNow())}r(xt,"F"),f(xt,"runtime_computeSoon");async function St(){let e=[],t,n,i=this._precomputes;if(i.length){this._precomputes=[];for(const a of i)a();await Nt(3)}t=new Set(this._dirty),t.forEach(function(a){a._inputs.forEach(t.add,t);const o=It(a);o>a._reachable?this._updates.add(a):o{});return t}r(Nt,"x"),f(Nt,"runtime_defer");function Ot(e){const t=new Set(e._inputs);for(const n of t){if(n===e)return!0;n._inputs.forEach(t.add,t)}return!1}r(Ot,"L"),f(Ot,"variable_circular");function jt(e){++e._indegree}r(jt,"R"),f(jt,"variable_increment");function Pt(e){--e._indegree}r(Pt,"V"),f(Pt,"variable_decrement");function qt(e){return e._promise.catch(e._rejector)}r(qt,"z"),f(qt,"variable_value");function W(e){return new Promise(function(t){e._invalidate=t})}r(W,"d"),f(W,"variable_invalidator");function Mt(e,t){let n=typeof IntersectionObserver=="function"&&t._observer&&t._observer._node,i=!n,l=E,a=E,o,s;return n&&(s=new IntersectionObserver(([u])=>(i=u.isIntersecting)&&(o=null,l())),s.observe(n),e.then(()=>(s.disconnect(),s=null,a()))),function(u){return i?Promise.resolve(u):s?(o||(o=new Promise((c,p)=>(l=c,a=p))),o.then(()=>u)):Promise.reject()}}r(Mt,"C"),f(Mt,"variable_intersector");function Tt(e){e._invalidate(),e._invalidate=E,e._pending();const t=e._value,n=++e._version;let i=null;const l=e._promise=(e._inputs.length?Promise.all(e._inputs.map(qt)).then(a):new Promise(s=>s(e._definition.call(t)))).then(o);function a(s){if(e._version!==n)throw x;for(let u=0,c=s.length;u{e._value=s,e._fulfilled(s)},s=>{s===x||e._version!==n||(e._value=void 0,e._rejected(s))})}r(Tt,"Y"),f(Tt,"variable_compute");function At(e,t,n){const i=e._module._runtime;let l;function a(u){return new Promise(c=>c(n.next(l))).then(({done:c,value:p})=>c?void 0:Promise.resolve(p).then(u))}r(a,"r"),f(a,"compute");function o(){const u=a(c=>{if(e._version!==t)throw x;return l=c,s(c,u).then(()=>i._precompute(o)),e._fulfilled(c),c});u.catch(c=>{c===x||e._version!==t||(s(void 0,u),e._rejected(c))})}r(o,"_"),f(o,"recompute");function s(u,c){return e._value=u,e._promise=c,e._outputs.forEach(i._updates.add,i._updates),i._compute()}return r(s,"i"),f(s,"postcompute"),a(u=>{if(e._version!==t)throw x;return l=u,i._precompute(o),u})}r(At,"B"),f(At,"variable_generate");function kt(e,t){e._invalidate(),e._invalidate=E,e._pending(),++e._version,e._indegree=NaN,(e._promise=Promise.reject(t)).catch(E),e._value=void 0,e._rejected(t)}r(kt,"D"),f(kt,"variable_error");function Lt(e){return function(){e.return()}}r(Lt,"G"),f(Lt,"variable_return");function It(e){if(e._observer!==U)return!0;const t=new Set(e._outputs);for(const n of t){if(n._observer!==U)return!0;n._outputs.forEach(t.add,t)}return!1}r(It,"H"),f(It,"variable_reachable");function Dt(e){return globalThis[e]}r(Dt,"J"),f(Dt,"window_global");export{pe as Inspector,_e as Runtime,C as RuntimeError}; diff --git a/ICIMOD_land_cover_nepal_dist/_observablehq/stdlib.js b/ICIMOD_land_cover_nepal_dist/_observablehq/stdlib.js new file mode 100644 index 0000000..c6e61d5 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_observablehq/stdlib.js @@ -0,0 +1 @@ +var T=Object.defineProperty;var i=(t,e)=>T(t,"name",{value:e,configurable:!0});var f,m,d,D=Object.defineProperty,u=i((t,e)=>D(t,"name",{value:e,configurable:!0}),"o$3");const h=new Map;function P(t,e){const r=new URL(t,location).href;if(e==null)h.delete(r);else{const{path:n,mimeType:a,lastModified:o}=e,s=new b(new URL(n,location).href,t.split("/").pop(),a,o);h.set(r,s)}}i(P,"y"),u(P,"registerFile");function v(t,e=location){if(new.target!==void 0)throw new TypeError("FileAttachment is not a constructor");const r=h.get(new URL(t,e).href);if(!r)throw new Error(`File not found: ${t}`);return r}i(v,"p$1"),u(v,"FileAttachment");async function c(t){const e=await fetch(await t.url());if(!e.ok)throw new Error(`Unable to load file: ${t.name}`);return e}i(c,"i$5"),u(c,"remote_fetch");const O=(f=class{constructor(e,r="application/octet-stream",n){Object.defineProperties(this,{name:{value:`${e}`,enumerable:!0},mimeType:{value:`${r}`,enumerable:!0},lastModified:{value:+n,enumerable:!0}})}async blob(){return(await c(this)).blob()}async arrayBuffer(){return(await c(this)).arrayBuffer()}async text(e){return e===void 0?(await c(this)).text():new TextDecoder(e).decode(await this.arrayBuffer())}async json(){return(await c(this)).json()}async stream(){return(await c(this)).body}async dsv({delimiter:e=",",array:r=!1,typed:n=!1}={}){const[a,o]=await Promise.all([this.text(),import("../_npm/d3-dsv@3.0.1/_esm.js")]),s=o.dsvFormat(e);return(r?s.parseRows:s.parse)(a,n&&o.autoType)}async csv(e){return this.dsv({...e,delimiter:","})}async tsv(e){return this.dsv({...e,delimiter:" "})}async image(e){const r=await this.url();return new Promise((n,a)=>{const o=new Image;new URL(r,document.baseURI).origin!==new URL(location).origin&&(o.crossOrigin="anonymous"),Object.assign(o,e),o.onload=()=>n(o),o.onerror=()=>a(new Error(`Unable to load file: ${this.name}`)),o.src=r})}async arrow(){const[e,r]=await Promise.all([import("../_npm/apache-arrow@16.1.0/_esm.js"),c(this)]);return e.tableFromIPC(r)}async parquet(){const[e,r,n]=await Promise.all([import("../_npm/apache-arrow@16.1.0/_esm.js"),import("../_npm/parquet-wasm@0.6.1/_esm.js").then(async a=>(await a.default(import.meta.resolve("../_npm/parquet-wasm@0.6.1/esm/parquet_wasm_bg.wasm")),a)),this.arrayBuffer()]);return e.tableFromIPC(r.readParquet(new Uint8Array(n)).intoIPCStream())}async sqlite(){const[{SQLiteDatabaseClient:e},r]=await Promise.all([import("./stdlib/sqlite.js"),this.arrayBuffer()]);return e.open(r)}async zip(){const[{ZipArchive:e},r]=await Promise.all([import("./stdlib/zip.js"),this.arrayBuffer()]);return e.from(r)}async xml(e="application/xml"){return new DOMParser().parseFromString(await this.text(),e)}async html(){return this.xml("text/html")}async xlsx(){const[{Workbook:e},r]=await Promise.all([import("./stdlib/xlsx.js"),this.arrayBuffer()]);return e.load(r)}},i(f,"m"),f);u(O,"AbstractFile");let j=O;const x=(m=class extends j{constructor(e,r,n,a){super(r,n,a),Object.defineProperty(this,"href",{value:e})}async url(){return this.href}},i(m,"w"),m);u(x,"FileAttachmentImpl");let b=x;Object.defineProperty(b,"name",{value:"FileAttachment"}),v.prototype=b.prototype;var _=Object.defineProperty,S=i((t,e)=>_(t,"name",{value:e,configurable:!0}),"r$2");async function*l(t){let e,r,n=!1;const a=t(o=>(r=o,e?(e(o),e=null):n=!0,o));if(a!=null&&typeof a!="function")throw new Error(typeof a.then=="function"?"async initializers are not supported":"initializer returned something, but not a dispose function");try{for(;;)yield n?(n=!1,r):new Promise(o=>e=o)}finally{a?.()}}i(l,"u"),S(l,"observe");var G=Object.defineProperty,F=i((t,e)=>G(t,"name",{value:e,configurable:!0}),"o$2");function A(){return l(t=>{let e;const r=matchMedia("(prefers-color-scheme: dark)"),n=F(()=>{const a=getComputedStyle(document.body).getPropertyValue("color-scheme")==="dark";e!==a&&t(e=a)},"changed");return n(),r.addEventListener("change",n),()=>r.removeEventListener("change",n)})}i(A,"m"),F(A,"dark");var N=Object.defineProperty,y=i((t,e)=>N(t,"name",{value:e,configurable:!0}),"e$2");function E(t){return l(e=>{const r=L(t);let n=w(t);const a=y(()=>e(w(t)),"inputted");return t.addEventListener(r,a),n!==void 0&&e(n),()=>t.removeEventListener(r,a)})}i(E,"o$1"),y(E,"input");function w(t){switch(t.type){case"range":case"number":return t.valueAsNumber;case"date":return t.valueAsDate;case"checkbox":return t.checked;case"file":return t.multiple?t.files:t.files[0];case"select-multiple":return Array.from(t.selectedOptions,e=>e.value);default:return t.value}}i(w,"a"),y(w,"valueof");function L(t){switch(t.type){case"button":case"submit":case"checkbox":return"click";case"file":return"change";default:return"input"}}i(L,"f$2"),y(L,"eventof");var Q=Object.defineProperty,V=i((t,e)=>Q(t,"name",{value:e,configurable:!0}),"e$1");async function*k(){for(;;)yield Date.now()}i(k,"i$3"),V(k,"now");var W=Object.defineProperty,Z=i((t,e)=>W(t,"name",{value:e,configurable:!0}),"r$1");async function*R(t){let e;const r=[],n=t(a=>(r.push(a),e&&(e(r.shift()),e=null),a));if(n!=null&&typeof n!="function")throw new Error(typeof n.then=="function"?"async initializers are not supported":"initializer returned something, but not a dispose function");try{for(;;)yield r.length?r.shift():new Promise(a=>e=a)}finally{n?.()}}i(R,"l$1"),Z(R,"queue");var H=Object.defineProperty,J=i((t,e)=>H(t,"name",{value:e,configurable:!0}),"i$2");function z(t,e){return l(r=>{let n;const a=new ResizeObserver(([o])=>{const s=o.contentRect.width;s!==n&&r(n=s)});return a.observe(t,e),()=>a.disconnect()})}i(z,"d$1"),J(z,"width");var K=Object.freeze({__proto__:null,dark:A,input:E,now:k,observe:l,queue:R,width:z}),X=Object.defineProperty,Y=i((t,e)=>X(t,"name",{value:e,configurable:!0}),"r");function U(t){let e;return Object.defineProperty(l(r=>{e=r,t!==void 0&&e(t)}),"value",{get:()=>t,set:r=>void e(t=r)})}i(U,"f$1"),Y(U,"Mutable");var ee=Object.defineProperty,q=i((t,e)=>ee(t,"name",{value:e,configurable:!0}),"l");function B(t,e){const r=document.createElement("div");r.style.position="relative",t.length!==1&&(r.style.height="100%");let n=0,a=0;const o=new ResizeObserver(async([s])=>{const{width:g,height:I}=s.contentRect,$=++n,p=g>0?await t(g,I):null;if(!(a>$)){for(a=$;r.lastChild;)r.lastChild.remove();p!=null&&(t.length!==1&&C(p)&&(p.style.position="absolute"),r.append(p))}});return o.observe(r),e?.then(()=>o.disconnect()),r}i(B,"p"),q(B,"resize");function C(t){return typeof t=="object"&&t.nodeType===1}i(C,"f"),q(C,"isElement");var te=Object.defineProperty,re=i((t,e)=>te(t,"name",{value:e,configurable:!0}),"o");const M=(d=class{},i(d,"e"),d);re(M,"Library");let ne=M;const ae=void 0;export{j as AbstractFile,v as FileAttachment,ae as FileAttachments,K as Generators,ne as Library,U as Mutable,P as registerFile,B as resize}; diff --git a/ICIMOD_land_cover_nepal_dist/_observablehq/stdlib/inputs.css b/ICIMOD_land_cover_nepal_dist/_observablehq/stdlib/inputs.css new file mode 100644 index 0000000..bcfe960 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_observablehq/stdlib/inputs.css @@ -0,0 +1 @@ +.inputs-3a86ea{--length1: 3.25px;--length2: 6.5px;--length3: 13px;--label-width: 120px;--input-width: 240px;font:13px/1.2 var(--sans-serif)}form.inputs-3a86ea{display:flex;align-items:center;flex-wrap:wrap;min-height:25.5px;margin:var(--length3) 0}form.inputs-3a86ea>label{width:100%;padding-bottom:3px}form.inputs-3a86ea-toggle{flex-wrap:nowrap}form.inputs-3a86ea-toggle>label{align-self:start;padding:5px 0 4px;margin-right:var(--length2)}form.inputs-3a86ea-toggle>label,form.inputs-3a86ea-toggle .inputs-3a86ea-input{width:initial}@media only screen and (min-width: 30em){form.inputs-3a86ea{flex-wrap:nowrap;width:calc(var(--input-width) + var(--label-width));max-width:100%;margin:initial}form.inputs-3a86ea>label{flex-shrink:0;align-self:start;padding:5px 0 4px;width:var(--label-width);margin-right:var(--length2)}}.inputs-3a86ea button,.inputs-3a86ea input,.inputs-3a86ea select,.inputs-3a86ea table,.inputs-3a86ea textarea{color:inherit;font:inherit;box-sizing:border-box}.inputs-3a86ea button,.inputs-3a86ea input{line-height:normal}.inputs-3a86ea button{margin:0}.inputs-3a86ea button+button{margin-left:var(--length1)}.inputs-3a86ea-textarea{--input-width: 520px}.inputs-3a86ea-textarea>div{width:100%;text-align:right}.inputs-3a86ea-textarea>div textarea{display:block;width:100%;margin:0;padding:4px;min-height:calc(2.5em + 8px);max-height:calc(14em + 8px);resize:vertical}.inputs-3a86ea-textarea>div button{margin:4px 0 0}.inputs-3a86ea input[type=radio],.inputs-3a86ea input[type=checkbox]{margin-right:var(--length2)}.inputs-3a86ea-input{display:flex;align-items:center;width:100%}.inputs-3a86ea-input>input,.inputs-3a86ea-input>button,.inputs-3a86ea-input>output{width:inherit;min-width:0}.inputs-3a86ea-input>button,.inputs-3a86ea-input>output,.inputs-3a86ea-input>input[type=number]{flex-shrink:2.5}.inputs-3a86ea-input>output{white-space:pre;margin-left:var(--length2)}.inputs-3a86ea-input>button{margin-left:var(--length1)}.inputs-3a86ea-input>input[type=number]{font-variant-numeric:tabular-nums;flex-shrink:1.5;text-overflow:ellipsis}.inputs-3a86ea-input>input[type=color]~output{font-family:ui-monospace,var(--monospace)}.inputs-3a86ea-input:not(:only-child)>input[type=color]~output{flex-shrink:1}.inputs-3a86ea-input>input[type=range]{margin:0;margin-left:var(--length2)}.inputs-3a86ea-input>input[type=date],.inputs-3a86ea-input>input[type=datetime-local]{height:22px}form.inputs-3a86ea-checkbox{width:auto;max-width:640px}.inputs-3a86ea-checkbox div label{display:inline-flex;align-items:center;margin-right:var(--length3)}form.inputs-3a86ea-table{display:block;overflow-y:auto;width:100%}.inputs-3a86ea-table table{max-width:initial;min-height:33px;margin:0;border-collapse:separate;border-spacing:0;font-variant-numeric:tabular-nums}.inputs-3a86ea-table tr:not(:last-child) td,.inputs-3a86ea-table tr:not(:last-child) th{border-bottom:solid 1px var(--theme-foreground-faintest)}.inputs-3a86ea-table thead tr td,.inputs-3a86ea-table thead tr th{border-bottom:solid 1px var(--theme-foreground-fainter)}.inputs-3a86ea-table thead th span{display:inline-block;width:.5em;margin-left:-.5em}.inputs-3a86ea-table td,.inputs-3a86ea-table th{white-space:nowrap;text-overflow:ellipsis;overflow:hidden;padding:3px 6.5px 3px 0}.inputs-3a86ea-table tr>:not(:first-of-type){padding-left:var(--length2)}.inputs-3a86ea-table tr>:last-of-type{padding-right:var(--length3)}.inputs-3a86ea-table tr>:first-of-type{text-overflow:unset;width:19px}.inputs-3a86ea-table tr>:first-of-type input{opacity:0;margin:0 3px 1px 4px}.inputs-3a86ea-table tr:hover>:first-of-type input:enabled,.inputs-3a86ea-table tr>:first-of-type input:focus,.inputs-3a86ea-table tr>:first-of-type input:checked,.inputs-3a86ea-table tr>:first-of-type input[type=checkbox]:indeterminate{opacity:inherit}.inputs-3a86ea-table thead tr{border-bottom:none}.inputs-3a86ea-table thead th{position:sticky;top:0;background:var(--theme-background);cursor:ns-resize}.inputs-3a86ea-table tbody tr:first-child td{padding-top:4px} diff --git a/ICIMOD_land_cover_nepal_dist/_observablehq/stdlib/inputs.js b/ICIMOD_land_cover_nepal_dist/_observablehq/stdlib/inputs.js new file mode 100644 index 0000000..69020e1 --- /dev/null +++ b/ICIMOD_land_cover_nepal_dist/_observablehq/stdlib/inputs.js @@ -0,0 +1,100 @@ +var nn=Object.defineProperty;var a=(e,t)=>nn(e,"name",{value:t,configurable:!0});var ve,pe,me;import{html as m}from"../../_npm/htl@0.3.1/_esm.js";import{AbstractFile as rn}from"../stdlib.js";var an=Object.defineProperty,it=a((e,t)=>an(e,"name",{value:t,configurable:!0}),"t$6");function B(e){return e==null?null:typeof e=="number"?`${e}px`:`${e}`}a(B,"r$8"),it(B,"length");function I(e){return{"--input-width":B(e)}}a(I,"l$6"),it(I,"maybeWidth");var on=Object.defineProperty,Te=a((e,t)=>on(e,"name",{value:t,configurable:!0}),"e$1");const De={bubbles:!0};function Q(e){e.preventDefault()}a(Q,"c$5"),Te(Q,"preventDefault");function ue({currentTarget:e}){(e.form||e).dispatchEvent(new Event("input",De))}a(ue,"o$9"),Te(ue,"dispatchInput");function ze(e){return e.checkValidity()}a(ze,"r$7"),Te(ze,"checkValidity");var ln=Object.defineProperty,un=a((e,t)=>ln(e,"name",{value:t,configurable:!0}),"n$6");function L(e){return e}a(L,"o$8"),un(L,"identity");var sn=Object.defineProperty,cn=a((e,t)=>sn(e,"name",{value:t,configurable:!0}),"n$5");let fn=0;function se(){return`inputs-3a86ea-${++fn}`}a(se,"o$7"),cn(se,"newId");var dn=Object.defineProperty,vn=a((e,t)=>dn(e,"name",{value:t,configurable:!0}),"o$6");function D(e,t){if(e)return e=m`