1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2024-05-28 23:41:32 +00:00
8bitworkshop/gen/jszip.min-SSIOTNUA.js

15 lines
94 KiB
JavaScript
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

import{b as _e,c as Ee}from"./chunk-5XVCUSSZ.js";var Ae=Ee((xe,ye)=>{(function(_){typeof xe=="object"&&typeof ye!="undefined"?ye.exports=_():typeof define=="function"&&define.amd?define([],_):(typeof window!="undefined"?window:typeof global!="undefined"?global:typeof self!="undefined"?self:this).JSZip=_()})(function(){return function _(U,k,h){function f(b,v){if(!k[b]){if(!U[b]){var m=typeof _e=="function"&&_e;if(!v&&m)return m(b,!0);if(t)return t(b,!0);var g=new Error("Cannot find module '"+b+"'");throw g.code="MODULE_NOT_FOUND",g}var i=k[b]={exports:{}};U[b][0].call(i.exports,function(d){var c=U[b][1][d];return f(c||d)},i,i.exports,_,U,k,h)}return k[b].exports}for(var t=typeof _e=="function"&&_e,u=0;u<h.length;u++)f(h[u]);return f}({1:[function(_,U,k){"use strict";var h=_("./utils"),f=_("./support"),t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";k.encode=function(u){for(var b,v,m,g,i,d,c,n=[],a=0,l=u.length,y=l,O=h.getTypeOf(u)!=="string";a<u.length;)y=l-a,m=O?(b=u[a++],v=a<l?u[a++]:0,a<l?u[a++]:0):(b=u.charCodeAt(a++),v=a<l?u.charCodeAt(a++):0,a<l?u.charCodeAt(a++):0),g=b>>2,i=(3&b)<<4|v>>4,d=1<y?(15&v)<<2|m>>6:64,c=2<y?63&m:64,n.push(t.charAt(g)+t.charAt(i)+t.charAt(d)+t.charAt(c));return n.join("")},k.decode=function(u){var b,v,m,g,i,d,c=0,n=0,a="data:";if(u.substr(0,a.length)===a)throw new Error("Invalid base64 input, it looks like a data url.");var l,y=3*(u=u.replace(/[^A-Za-z0-9\+\/\=]/g,"")).length/4;if(u.charAt(u.length-1)===t.charAt(64)&&y--,u.charAt(u.length-2)===t.charAt(64)&&y--,y%1!=0)throw new Error("Invalid base64 input, bad content length.");for(l=f.uint8array?new Uint8Array(0|y):new Array(0|y);c<u.length;)b=t.indexOf(u.charAt(c++))<<2|(g=t.indexOf(u.charAt(c++)))>>4,v=(15&g)<<4|(i=t.indexOf(u.charAt(c++)))>>2,m=(3&i)<<6|(d=t.indexOf(u.charAt(c++))),l[n++]=b,i!==64&&(l[n++]=v),d!==64&&(l[n++]=m);return l}},{"./support":30,"./utils":32}],2:[function(_,U,k){"use strict";var h=_("./external"),f=_("./stream/DataWorker"),t=_("./stream/Crc32Probe"),u=_("./stream/DataLengthProbe");function b(v,m,g,i,d){this.compressedSize=v,this.uncompressedSize=m,this.crc32=g,this.compression=i,this.compressedContent=d}b.prototype={getContentWorker:function(){var v=new f(h.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),m=this;return v.on("end",function(){if(this.streamInfo.data_length!==m.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),v},getCompressedWorker:function(){return new f(h.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},b.createWorkerFrom=function(v,m,g){return v.pipe(new t).pipe(new u("uncompressedSize")).pipe(m.compressWorker(g)).pipe(new u("compressedSize")).withStreamInfo("compression",m)},U.exports=b},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(_,U,k){"use strict";var h=_("./stream/GenericWorker");k.STORE={magic:"\0\0",compressWorker:function(f){return new h("STORE compression")},uncompressWorker:function(){return new h("STORE decompression")}},k.DEFLATE=_("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(_,U,k){"use strict";var h=_("./utils"),f=function(){for(var t,u=[],b=0;b<256;b++){t=b;for(var v=0;v<8;v++)t=1&t?3988292384^t>>>1:t>>>1;u[b]=t}return u}();U.exports=function(t,u){return t!==void 0&&t.length?h.getTypeOf(t)!=="string"?function(b,v,m,g){var i=f,d=g+m;b^=-1;for(var c=g;c<d;c++)b=b>>>8^i[255&(b^v[c])];return-1^b}(0|u,t,t.length,0):function(b,v,m,g){var i=f,d=g+m;b^=-1;for(var c=g;c<d;c++)b=b>>>8^i[255&(b^v.charCodeAt(c))];return-1^b}(0|u,t,t.length,0):0}},{"./utils":32}],5:[function(_,U,k){"use strict";k.base64=!1,k.binary=!1,k.dir=!1,k.createFolders=!0,k.date=null,k.compression=null,k.compressionOptions=null,k.comment=null,k.unixPermissions=null,k.dosPermissions=null},{}],6:[function(_,U,k){"use strict";var h=null;h=typeof Promise!="undefined"?Promise:_("lie"),U.exports={Promise:h}},{lie:37}],7:[function(_,U,k){"use strict";var h=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Uint32Array!="undefined",f=_("pako"),t=_("./utils"),u=_("./stream/GenericWorker"),b=h?"uint8array":"array";function v(m,g){u.call(this,"FlateWorker/"+m),this._pako=null,this._pakoAction=m,this._pakoOptions=g,this.meta={}}k.magic="\b\0",t.inherits(v,u),v.prototype.processChunk=function(m){this.meta=m.meta,this._pako===null&&this._createPako(),this._pako.push(t.transformTo(b,m.data),!1)},v.prototype.flush=function(){u.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},v.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this._pako=null},v.prototype._createPako=function(){this._pako=new f[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var m=this;this._pako.onData=function(g){m.push({data:g,meta:m.meta})}},k.compressWorker=function(m){return new v("Deflate",m)},k.uncompressWorker=function(){return new v("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(_,U,k){"use strict";function h(i,d){var c,n="";for(c=0;c<d;c++)n+=String.fromCharCode(255&i),i>>>=8;return n}function f(i,d,c,n,a,l){var y,O,x=i.file,N=i.compression,R=l!==b.utf8encode,M=t.transformTo("string",l(x.name)),A=t.transformTo("string",b.utf8encode(x.name)),W=x.comment,V=t.transformTo("string",l(W)),p=t.transformTo("string",b.utf8encode(W)),I=A.length!==x.name.length,r=p.length!==W.length,T="",J="",P="",Q=x.dir,L=x.date,q={crc32:0,compressedSize:0,uncompressedSize:0};d&&!c||(q.crc32=i.crc32,q.compressedSize=i.compressedSize,q.uncompressedSize=i.uncompressedSize);var C=0;d&&(C|=8),R||!I&&!r||(C|=2048);var z=0,X=0;Q&&(z|=16),a==="UNIX"?(X=798,z|=function(H,ne){var oe=H;return H||(oe=ne?16893:33204),(65535&oe)<<16}(x.unixPermissions,Q)):(X=20,z|=function(H){return 63&(H||0)}(x.dosPermissions)),y=L.getUTCHours(),y<<=6,y|=L.getUTCMinutes(),y<<=5,y|=L.getUTCSeconds()/2,O=L.getUTCFullYear()-1980,O<<=4,O|=L.getUTCMonth()+1,O<<=5,O|=L.getUTCDate(),I&&(J=h(1,1)+h(v(M),4)+A,T+="up"+h(J.length,2)+J),r&&(P=h(1,1)+h(v(V),4)+p,T+="uc"+h(P.length,2)+P);var G="";return G+=`
\0`,G+=h(C,2),G+=N.magic,G+=h(y,2),G+=h(O,2),G+=h(q.crc32,4),G+=h(q.compressedSize,4),G+=h(q.uncompressedSize,4),G+=h(M.length,2),G+=h(T.length,2),{fileRecord:m.LOCAL_FILE_HEADER+G+M+T,dirRecord:m.CENTRAL_FILE_HEADER+h(X,2)+G+h(V.length,2)+"\0\0\0\0"+h(z,4)+h(n,4)+M+T+V}}var t=_("../utils"),u=_("../stream/GenericWorker"),b=_("../utf8"),v=_("../crc32"),m=_("../signature");function g(i,d,c,n){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=d,this.zipPlatform=c,this.encodeFileName=n,this.streamFiles=i,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}t.inherits(g,u),g.prototype.push=function(i){var d=i.meta.percent||0,c=this.entriesCount,n=this._sources.length;this.accumulate?this.contentBuffer.push(i):(this.bytesWritten+=i.data.length,u.prototype.push.call(this,{data:i.data,meta:{currentFile:this.currentFile,percent:c?(d+100*(c-n-1))/c:100}}))},g.prototype.openedSource=function(i){this.currentSourceOffset=this.bytesWritten,this.currentFile=i.file.name;var d=this.streamFiles&&!i.file.dir;if(d){var c=f(i,d,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:c.fileRecord,meta:{percent:0}})}else this.accumulate=!0},g.prototype.closedSource=function(i){this.accumulate=!1;var d=this.streamFiles&&!i.file.dir,c=f(i,d,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(c.dirRecord),d)this.push({data:function(n){return m.DATA_DESCRIPTOR+h(n.crc32,4)+h(n.compressedSize,4)+h(n.uncompressedSize,4)}(i),meta:{percent:100}});else for(this.push({data:c.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},g.prototype.flush=function(){for(var i=this.bytesWritten,d=0;d<this.dirRecords.length;d++)this.push({data:this.dirRecords[d],meta:{percent:100}});var c=this.bytesWritten-i,n=function(a,l,y,O,x){var N=t.transformTo("string",x(O));return m.CENTRAL_DIRECTORY_END+"\0\0\0\0"+h(a,2)+h(a,2)+h(l,4)+h(y,4)+h(N.length,2)+N}(this.dirRecords.length,c,i,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},g.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},g.prototype.registerPrevious=function(i){this._sources.push(i);var d=this;return i.on("data",function(c){d.processChunk(c)}),i.on("end",function(){d.closedSource(d.previous.streamInfo),d._sources.length?d.prepareNextSource():d.end()}),i.on("error",function(c){d.error(c)}),this},g.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},g.prototype.error=function(i){var d=this._sources;if(!u.prototype.error.call(this,i))return!1;for(var c=0;c<d.length;c++)try{d[c].error(i)}catch(n){}return!0},g.prototype.lock=function(){u.prototype.lock.call(this);for(var i=this._sources,d=0;d<i.length;d++)i[d].lock()},U.exports=g},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(_,U,k){"use strict";var h=_("../compressions"),f=_("./ZipFileWorker");k.generateWorker=function(t,u,b){var v=new f(u.streamFiles,b,u.platform,u.encodeFileName),m=0;try{t.forEach(function(g,i){m++;var d=function(l,y){var O=l||y,x=h[O];if(!x)throw new Error(O+" is not a valid compression method !");return x}(i.options.compression,u.compression),c=i.options.compressionOptions||u.compressionOptions||{},n=i.dir,a=i.date;i._compressWorker(d,c).withStreamInfo("file",{name:g,dir:n,date:a,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(v)}),v.entriesCount=m}catch(g){v.error(g)}return v}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(_,U,k){"use strict";function h(){if(!(this instanceof h))return new h;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var f=new h;for(var t in this)typeof this[t]!="function"&&(f[t]=this[t]);return f}}(h.prototype=_("./object")).loadAsync=_("./load"),h.support=_("./support"),h.defaults=_("./defaults"),h.version="3.7.1",h.loadAsync=function(f,t){return new h().loadAsync(f,t)},h.external=_("./external"),U.exports=h},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(_,U,k){"use strict";var h=_("./utils"),f=_("./external"),t=_("./utf8"),u=_("./zipEntries"),b=_("./stream/Crc32Probe"),v=_("./nodejsUtils");function m(g){return new f.Promise(function(i,d){var c=g.decompressed.getContentWorker().pipe(new b);c.on("error",function(n){d(n)}).on("end",function(){c.streamInfo.crc32!==g.decompressed.crc32?d(new Error("Corrupted zip : CRC32 mismatch")):i()}).resume()})}U.exports=function(g,i){var d=this;return i=h.extend(i||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:t.utf8decode}),v.isNode&&v.isStream(g)?f.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):h.prepareContent("the loaded zip file",g,!0,i.optimizedBinaryString,i.base64).then(function(c){var n=new u(i);return n.load(c),n}).then(function(c){var n=[f.Promise.resolve(c)],a=c.files;if(i.checkCRC32)for(var l=0;l<a.length;l++)n.push(m(a[l]));return f.Promise.all(n)}).then(function(c){for(var n=c.shift(),a=n.files,l=0;l<a.length;l++){var y=a[l];d.file(y.fileNameStr,y.decompressed,{binary:!0,optimizedBinaryString:!0,date:y.date,dir:y.dir,comment:y.fileCommentStr.length?y.fileCommentStr:null,unixPermissions:y.unixPermissions,dosPermissions:y.dosPermissions,createFolders:i.createFolders})}return n.zipComment.length&&(d.comment=n.zipComment),d})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(_,U,k){"use strict";var h=_("../utils"),f=_("../stream/GenericWorker");function t(u,b){f.call(this,"Nodejs stream input adapter for "+u),this._upstreamEnded=!1,this._bindStream(b)}h.inherits(t,f),t.prototype._bindStream=function(u){var b=this;(this._stream=u).pause(),u.on("data",function(v){b.push({data:v,meta:{percent:0}})}).on("error",function(v){b.isPaused?this.generatedError=v:b.error(v)}).on("end",function(){b.isPaused?b._upstreamEnded=!0:b.end()})},t.prototype.pause=function(){return!!f.prototype.pause.call(this)&&(this._stream.pause(),!0)},t.prototype.resume=function(){return!!f.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},U.exports=t},{"../stream/GenericWorker":28,"../utils":32}],13:[function(_,U,k){"use strict";var h=_("readable-stream").Readable;function f(t,u,b){h.call(this,u),this._helper=t;var v=this;t.on("data",function(m,g){v.push(m)||v._helper.pause(),b&&b(g)}).on("error",function(m){v.emit("error",m)}).on("end",function(){v.push(null)})}_("../utils").inherits(f,h),f.prototype._read=function(){this._helper.resume()},U.exports=f},{"../utils":32,"readable-stream":16}],14:[function(_,U,k){"use strict";U.exports={isNode:typeof Buffer!="undefined",newBufferFrom:function(h,f){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(h,f);if(typeof h=="number")throw new Error('The "data" argument must not be a number');return new Buffer(h,f)},allocBuffer:function(h){if(Buffer.alloc)return Buffer.alloc(h);var f=new Buffer(h);return f.fill(0),f},isBuffer:function(h){return Buffer.isBuffer(h)},isStream:function(h){return h&&typeof h.on=="function"&&typeof h.pause=="function"&&typeof h.resume=="function"}}},{}],15:[function(_,U,k){"use strict";function h(x,N,R){var M,A=t.getTypeOf(N),W=t.extend(R||{},v);W.date=W.date||new Date,W.compression!==null&&(W.compression=W.compression.toUpperCase()),typeof W.unixPermissions=="string"&&(W.unixPermissions=parseInt(W.unixPermissions,8)),W.unixPermissions&&16384&W.unixPermissions&&(W.dir=!0),W.dosPermissions&&16&W.dosPermissions&&(W.dir=!0),W.dir&&(x=a(x)),W.createFolders&&(M=n(x))&&l.call(this,M,!0);var V=A==="string"&&W.binary===!1&&W.base64===!1;R&&R.binary!==void 0||(W.binary=!V),(N instanceof m&&N.uncompressedSize===0||W.dir||!N||N.length===0)&&(W.base64=!1,W.binary=!0,N="",W.compression="STORE",A="string");var p=null;p=N instanceof m||N instanceof u?N:d.isNode&&d.isStream(N)?new c(x,N):t.prepareContent(x,N,W.binary,W.optimizedBinaryString,W.base64);var I=new g(x,p,W);this.files[x]=I}var f=_("./utf8"),t=_("./utils"),u=_("./stream/GenericWorker"),b=_("./stream/StreamHelper"),v=_("./defaults"),m=_("./compressedObject"),g=_("./zipObject"),i=_("./generate"),d=_("./nodejsUtils"),c=_("./nodejs/NodejsStreamInputAdapter"),n=function(x){x.slice(-1)==="/"&&(x=x.substring(0,x.length-1));var N=x.lastIndexOf("/");return 0<N?x.substring(0,N):""},a=function(x){return x.slice(-1)!=="/"&&(x+="/"),x},l=function(x,N){return N=N!==void 0?N:v.createFolders,x=a(x),this.files[x]||h.call(this,x,null,{dir:!0,createFolders:N}),this.files[x]};function y(x){return Object.prototype.toString.call(x)==="[object RegExp]"}var O={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(x){var N,R,M;for(N in this.files)M=this.files[N],(R=N.slice(this.root.length,N.length))&&N.slice(0,this.root.length)===this.root&&x(R,M)},filter:function(x){var N=[];return this.forEach(function(R,M){x(R,M)&&N.push(M)}),N},file:function(x,N,R){if(arguments.length!==1)return x=this.root+x,h.call(this,x,N,R),this;if(y(x)){var M=x;return this.filter(function(W,V){return!V.dir&&M.test(W)})}var A=this.files[this.root+x];return A&&!A.dir?A:null},folder:function(x){if(!x)return this;if(y(x))return this.filter(function(A,W){return W.dir&&x.test(A)});var N=this.root+x,R=l.call(this,N),M=this.clone();return M.root=R.name,M},remove:function(x){x=this.root+x;var N=this.files[x];if(N||(x.slice(-1)!=="/"&&(x+="/"),N=this.files[x]),N&&!N.dir)delete this.files[x];else for(var R=this.filter(function(A,W){return W.name.slice(0,x.length)===x}),M=0;M<R.length;M++)delete this.files[R[M].name];return this},generate:function(x){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(x){var N,R={};try{if((R=t.extend(x||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:f.utf8encode})).type=R.type.toLowerCase(),R.compression=R.compression.toUpperCase(),R.type==="binarystring"&&(R.type="string"),!R.type)throw new Error("No output type specified.");t.checkSupport(R.type),R.platform!=="darwin"&&R.platform!=="freebsd"&&R.platform!=="linux"&&R.platform!=="sunos"||(R.platform="UNIX"),R.platform==="win32"&&(R.platform="DOS");var M=R.comment||this.comment||"";N=i.generateWorker(this,R,M)}catch(A){(N=new u("error")).error(A)}return new b(N,R.type||"string",R.mimeType)},generateAsync:function(x,N){return this.generateInternalStream(x).accumulate(N)},generateNodeStream:function(x,N){return(x=x||{}).type||(x.type="nodebuffer"),this.generateInternalStream(x).toNodejsStream(N)}};U.exports=O},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(_,U,k){U.exports=_("stream")},{stream:void 0}],17:[function(_,U,k){"use strict";var h=_("./DataReader");function f(t){h.call(this,t);for(var u=0;u<this.data.length;u++)t[u]=255&t[u]}_("../utils").inherits(f,h),f.prototype.byteAt=function(t){return this.data[this.zero+t]},f.prototype.lastIndexOfSignature=function(t){for(var u=t.charCodeAt(0),b=t.charCodeAt(1),v=t.charCodeAt(2),m=t.charCodeAt(3),g=this.length-4;0<=g;--g)if(this.data[g]===u&&this.data[g+1]===b&&this.data[g+2]===v&&this.data[g+3]===m)return g-this.zero;return-1},f.prototype.readAndCheckSignature=function(t){var u=t.charCodeAt(0),b=t.charCodeAt(1),v=t.charCodeAt(2),m=t.charCodeAt(3),g=this.readData(4);return u===g[0]&&b===g[1]&&v===g[2]&&m===g[3]},f.prototype.readData=function(t){if(this.checkOffset(t),t===0)return[];var u=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,u},U.exports=f},{"../utils":32,"./DataReader":18}],18:[function(_,U,k){"use strict";var h=_("../utils");function f(t){this.data=t,this.length=t.length,this.index=0,this.zero=0}f.prototype={checkOffset:function(t){this.checkIndex(this.index+t)},checkIndex:function(t){if(this.length<this.zero+t||t<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+t+"). Corrupted zip ?")},setIndex:function(t){this.checkIndex(t),this.index=t},skip:function(t){this.setIndex(this.index+t)},byteAt:function(t){},readInt:function(t){var u,b=0;for(this.checkOffset(t),u=this.index+t-1;u>=this.index;u--)b=(b<<8)+this.byteAt(u);return this.index+=t,b},readString:function(t){return h.transformTo("string",this.readData(t))},readData:function(t){},lastIndexOfSignature:function(t){},readAndCheckSignature:function(t){},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))}},U.exports=f},{"../utils":32}],19:[function(_,U,k){"use strict";var h=_("./Uint8ArrayReader");function f(t){h.call(this,t)}_("../utils").inherits(f,h),f.prototype.readData=function(t){this.checkOffset(t);var u=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,u},U.exports=f},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(_,U,k){"use strict";var h=_("./DataReader");function f(t){h.call(this,t)}_("../utils").inherits(f,h),f.prototype.byteAt=function(t){return this.data.charCodeAt(this.zero+t)},f.prototype.lastIndexOfSignature=function(t){return this.data.lastIndexOf(t)-this.zero},f.prototype.readAndCheckSignature=function(t){return t===this.readData(4)},f.prototype.readData=function(t){this.checkOffset(t);var u=this.data.slice(this.zero+this.index,this.zero+this.index+t);return this.index+=t,u},U.exports=f},{"../utils":32,"./DataReader":18}],21:[function(_,U,k){"use strict";var h=_("./ArrayReader");function f(t){h.call(this,t)}_("../utils").inherits(f,h),f.prototype.readData=function(t){if(this.checkOffset(t),t===0)return new Uint8Array(0);var u=this.data.subarray(this.zero+this.index,this.zero+this.index+t);return this.index+=t,u},U.exports=f},{"../utils":32,"./ArrayReader":17}],22:[function(_,U,k){"use strict";var h=_("../utils"),f=_("../support"),t=_("./ArrayReader"),u=_("./StringReader"),b=_("./NodeBufferReader"),v=_("./Uint8ArrayReader");U.exports=function(m){var g=h.getTypeOf(m);return h.checkSupport(g),g!=="string"||f.uint8array?g==="nodebuffer"?new b(m):f.uint8array?new v(h.transformTo("uint8array",m)):new t(h.transformTo("array",m)):new u(m)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(_,U,k){"use strict";k.LOCAL_FILE_HEADER="PK",k.CENTRAL_FILE_HEADER="PK",k.CENTRAL_DIRECTORY_END="PK",k.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",k.ZIP64_CENTRAL_DIRECTORY_END="PK",k.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(_,U,k){"use strict";var h=_("./GenericWorker"),f=_("../utils");function t(u){h.call(this,"ConvertWorker to "+u),this.destType=u}f.inherits(t,h),t.prototype.processChunk=function(u){this.push({data:f.transformTo(this.destType,u.data),meta:u.meta})},U.exports=t},{"../utils":32,"./GenericWorker":28}],25:[function(_,U,k){"use strict";var h=_("./GenericWorker"),f=_("../crc32");function t(){h.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}_("../utils").inherits(t,h),t.prototype.processChunk=function(u){this.streamInfo.crc32=f(u.data,this.streamInfo.crc32||0),this.push(u)},U.exports=t},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(_,U,k){"use strict";var h=_("../utils"),f=_("./GenericWorker");function t(u){f.call(this,"DataLengthProbe for "+u),this.propName=u,this.withStreamInfo(u,0)}h.inherits(t,f),t.prototype.processChunk=function(u){if(u){var b=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=b+u.data.length}f.prototype.processChunk.call(this,u)},U.exports=t},{"../utils":32,"./GenericWorker":28}],27:[function(_,U,k){"use strict";var h=_("../utils"),f=_("./GenericWorker");function t(u){f.call(this,"DataWorker");var b=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,u.then(function(v){b.dataIsReady=!0,b.data=v,b.max=v&&v.length||0,b.type=h.getTypeOf(v),b.isPaused||b._tickAndRepeat()},function(v){b.error(v)})}h.inherits(t,f),t.prototype.cleanUp=function(){f.prototype.cleanUp.call(this),this.data=null},t.prototype.resume=function(){return!!f.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,h.delay(this._tickAndRepeat,[],this)),!0)},t.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(h.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},t.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var u=null,b=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":u=this.data.substring(this.index,b);break;case"uint8array":u=this.data.subarray(this.index,b);break;case"array":case"nodebuffer":u=this.data.slice(this.index,b)}return this.index=b,this.push({data:u,meta:{percent:this.max?this.index/this.max*100:0}})},U.exports=t},{"../utils":32,"./GenericWorker":28}],28:[function(_,U,k){"use strict";function h(f){this.name=f||"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}h.prototype={push:function(f){this.emit("data",f)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(f){this.emit("error",f)}return!0},error:function(f){return!this.isFinished&&(this.isPaused?this.generatedError=f:(this.isFinished=!0,this.emit("error",f),this.previous&&this.previous.error(f),this.cleanUp()),!0)},on:function(f,t){return this._listeners[f].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(f,t){if(this._listeners[f])for(var u=0;u<this._listeners[f].length;u++)this._listeners[f][u].call(this,t)},pipe:function(f){return f.registerPrevious(this)},registerPrevious:function(f){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=f.streamInfo,this.mergeStreamInfo(),this.previous=f;var t=this;return f.on("data",function(u){t.processChunk(u)}),f.on("end",function(){t.end()}),f.on("error",function(u){t.error(u)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var f=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),f=!0),this.previous&&this.previous.resume(),!f},flush:function(){},processChunk:function(f){this.push(f)},withStreamInfo:function(f,t){return this.extraStreamInfo[f]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var f in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(f)&&(this.streamInfo[f]=this.extraStreamInfo[f])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var f="Worker "+this.name;return this.previous?this.previous+" -> "+f:f}},U.exports=h},{}],29:[function(_,U,k){"use strict";var h=_("../utils"),f=_("./ConvertWorker"),t=_("./GenericWorker"),u=_("../base64"),b=_("../support"),v=_("../external"),m=null;if(b.nodestream)try{m=_("../nodejs/NodejsStreamOutputAdapter")}catch(d){}function g(d,c){return new v.Promise(function(n,a){var l=[],y=d._internalType,O=d._outputType,x=d._mimeType;d.on("data",function(N,R){l.push(N),c&&c(R)}).on("error",function(N){l=[],a(N)}).on("end",function(){try{var N=function(R,M,A){switch(R){case"blob":return h.newBlob(h.transformTo("arraybuffer",M),A);case"base64":return u.encode(M);default:return h.transformTo(R,M)}}(O,function(R,M){var A,W=0,V=null,p=0;for(A=0;A<M.length;A++)p+=M[A].length;switch(R){case"string":return M.join("");case"array":return Array.prototype.concat.apply([],M);case"uint8array":for(V=new Uint8Array(p),A=0;A<M.length;A++)V.set(M[A],W),W+=M[A].length;return V;case"nodebuffer":return Buffer.concat(M);default:throw new Error("concat : unsupported type '"+R+"'")}}(y,l),x);n(N)}catch(R){a(R)}l=[]}).resume()})}function i(d,c,n){var a=c;switch(c){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=c,this._mimeType=n,h.checkSupport(a),this._worker=d.pipe(new f(a)),d.lock()}catch(l){this._worker=new t("error"),this._worker.error(l)}}i.prototype={accumulate:function(d){return g(this,d)},on:function(d,c){var n=this;return d==="data"?this._worker.on(d,function(a){c.call(n,a.data,a.meta)}):this._worker.on(d,function(){h.delay(c,arguments,n)}),this},resume:function(){return h.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(d){if(h.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new m(this,{objectMode:this._outputType!=="nodebuffer"},d)}},U.exports=i},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(_,U,k){"use strict";if(k.base64=!0,k.array=!0,k.string=!0,k.arraybuffer=typeof ArrayBuffer!="undefined"&&typeof Uint8Array!="undefined",k.nodebuffer=typeof Buffer!="undefined",k.uint8array=typeof Uint8Array!="undefined",typeof ArrayBuffer=="undefined")k.blob=!1;else{var h=new ArrayBuffer(0);try{k.blob=new Blob([h],{type:"application/zip"}).size===0}catch(t){try{var f=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);f.append(h),k.blob=f.getBlob("application/zip").size===0}catch(u){k.blob=!1}}}try{k.nodestream=!!_("readable-stream").Readable}catch(t){k.nodestream=!1}},{"readable-stream":16}],31:[function(_,U,k){"use strict";for(var h=_("./utils"),f=_("./support"),t=_("./nodejsUtils"),u=_("./stream/GenericWorker"),b=new Array(256),v=0;v<256;v++)b[v]=252<=v?6:248<=v?5:240<=v?4:224<=v?3:192<=v?2:1;b[254]=b[254]=1;function m(){u.call(this,"utf-8 decode"),this.leftOver=null}function g(){u.call(this,"utf-8 encode")}k.utf8encode=function(i){return f.nodebuffer?t.newBufferFrom(i,"utf-8"):function(d){var c,n,a,l,y,O=d.length,x=0;for(l=0;l<O;l++)(64512&(n=d.charCodeAt(l)))==55296&&l+1<O&&(64512&(a=d.charCodeAt(l+1)))==56320&&(n=65536+(n-55296<<10)+(a-56320),l++),x+=n<128?1:n<2048?2:n<65536?3:4;for(c=f.uint8array?new Uint8Array(x):new Array(x),l=y=0;y<x;l++)(64512&(n=d.charCodeAt(l)))==55296&&l+1<O&&(64512&(a=d.charCodeAt(l+1)))==56320&&(n=65536+(n-55296<<10)+(a-56320),l++),n<128?c[y++]=n:(n<2048?c[y++]=192|n>>>6:(n<65536?c[y++]=224|n>>>12:(c[y++]=240|n>>>18,c[y++]=128|n>>>12&63),c[y++]=128|n>>>6&63),c[y++]=128|63&n);return c}(i)},k.utf8decode=function(i){return f.nodebuffer?h.transformTo("nodebuffer",i).toString("utf-8"):function(d){var c,n,a,l,y=d.length,O=new Array(2*y);for(c=n=0;c<y;)if((a=d[c++])<128)O[n++]=a;else if(4<(l=b[a]))O[n++]=65533,c+=l-1;else{for(a&=l===2?31:l===3?15:7;1<l&&c<y;)a=a<<6|63&d[c++],l--;1<l?O[n++]=65533:a<65536?O[n++]=a:(a-=65536,O[n++]=55296|a>>10&1023,O[n++]=56320|1023&a)}return O.length!==n&&(O.subarray?O=O.subarray(0,n):O.length=n),h.applyFromCharCode(O)}(i=h.transformTo(f.uint8array?"uint8array":"array",i))},h.inherits(m,u),m.prototype.processChunk=function(i){var d=h.transformTo(f.uint8array?"uint8array":"array",i.data);if(this.leftOver&&this.leftOver.length){if(f.uint8array){var c=d;(d=new Uint8Array(c.length+this.leftOver.length)).set(this.leftOver,0),d.set(c,this.leftOver.length)}else d=this.leftOver.concat(d);this.leftOver=null}var n=function(l,y){var O;for((y=y||l.length)>l.length&&(y=l.length),O=y-1;0<=O&&(192&l[O])==128;)O--;return O<0||O===0?y:O+b[l[O]]>y?O:y}(d),a=d;n!==d.length&&(f.uint8array?(a=d.subarray(0,n),this.leftOver=d.subarray(n,d.length)):(a=d.slice(0,n),this.leftOver=d.slice(n,d.length))),this.push({data:k.utf8decode(a),meta:i.meta})},m.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:k.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},k.Utf8DecodeWorker=m,h.inherits(g,u),g.prototype.processChunk=function(i){this.push({data:k.utf8encode(i.data),meta:i.meta})},k.Utf8EncodeWorker=g},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(_,U,k){"use strict";var h=_("./support"),f=_("./base64"),t=_("./nodejsUtils"),u=_("set-immediate-shim"),b=_("./external");function v(n){return n}function m(n,a){for(var l=0;l<n.length;++l)a[l]=255&n.charCodeAt(l);return a}k.newBlob=function(n,a){k.checkSupport("blob");try{return new Blob([n],{type:a})}catch(y){try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return l.append(n),l.getBlob(a)}catch(O){throw new Error("Bug : can't construct the Blob.")}}};var g={stringifyByChunk:function(n,a,l){var y=[],O=0,x=n.length;if(x<=l)return String.fromCharCode.apply(null,n);for(;O<x;)a==="array"||a==="nodebuffer"?y.push(String.fromCharCode.apply(null,n.slice(O,Math.min(O+l,x)))):y.push(String.fromCharCode.apply(null,n.subarray(O,Math.min(O+l,x)))),O+=l;return y.join("")},stringifyByChar:function(n){for(var a="",l=0;l<n.length;l++)a+=String.fromCharCode(n[l]);return a},applyCanBeUsed:{uint8array:function(){try{return h.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(n){return!1}}(),nodebuffer:function(){try{return h.nodebuffer&&String.fromCharCode.apply(null,t.allocBuffer(1)).length===1}catch(n){return!1}}()}};function i(n){var a=65536,l=k.getTypeOf(n),y=!0;if(l==="uint8array"?y=g.applyCanBeUsed.uint8array:l==="nodebuffer"&&(y=g.applyCanBeUsed.nodebuffer),y)for(;1<a;)try{return g.stringifyByChunk(n,l,a)}catch(O){a=Math.floor(a/2)}return g.stringifyByChar(n)}function d(n,a){for(var l=0;l<n.length;l++)a[l]=n[l];return a}k.applyFromCharCode=i;var c={};c.string={string:v,array:function(n){return m(n,new Array(n.length))},arraybuffer:function(n){return c.string.uint8array(n).buffer},uint8array:function(n){return m(n,new Uint8Array(n.length))},nodebuffer:function(n){return m(n,t.allocBuffer(n.length))}},c.array={string:i,array:v,arraybuffer:function(n){return new Uint8Array(n).buffer},uint8array:function(n){return new Uint8Array(n)},nodebuffer:function(n){return t.newBufferFrom(n)}},c.arraybuffer={string:function(n){return i(new Uint8Array(n))},array:function(n){return d(new Uint8Array(n),new Array(n.byteLength))},arraybuffer:v,uint8array:function(n){return new Uint8Array(n)},nodebuffer:function(n){return t.newBufferFrom(new Uint8Array(n))}},c.uint8array={string:i,array:function(n){return d(n,new Array(n.length))},arraybuffer:function(n){return n.buffer},uint8array:v,nodebuffer:function(n){return t.newBufferFrom(n)}},c.nodebuffer={string:i,array:function(n){return d(n,new Array(n.length))},arraybuffer:function(n){return c.nodebuffer.uint8array(n).buffer},uint8array:function(n){return d(n,new Uint8Array(n.length))},nodebuffer:v},k.transformTo=function(n,a){if(a=a||"",!n)return a;k.checkSupport(n);var l=k.getTypeOf(a);return c[l][n](a)},k.getTypeOf=function(n){return typeof n=="string"?"string":Object.prototype.toString.call(n)==="[object Array]"?"array":h.nodebuffer&&t.isBuffer(n)?"nodebuffer":h.uint8array&&n instanceof Uint8Array?"uint8array":h.arraybuffer&&n instanceof ArrayBuffer?"arraybuffer":void 0},k.checkSupport=function(n){if(!h[n.toLowerCase()])throw new Error(n+" is not supported by this platform")},k.MAX_VALUE_16BITS=65535,k.MAX_VALUE_32BITS=-1,k.pretty=function(n){var a,l,y="";for(l=0;l<(n||"").length;l++)y+="\\x"+((a=n.charCodeAt(l))<16?"0":"")+a.toString(16).toUpperCase();return y},k.delay=function(n,a,l){u(function(){n.apply(l||null,a||[])})},k.inherits=function(n,a){function l(){}l.prototype=a.prototype,n.prototype=new l},k.extend=function(){var n,a,l={};for(n=0;n<arguments.length;n++)for(a in arguments[n])arguments[n].hasOwnProperty(a)&&l[a]===void 0&&(l[a]=arguments[n][a]);return l},k.prepareContent=function(n,a,l,y,O){return b.Promise.resolve(a).then(function(x){return h.blob&&(x instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(x))!==-1)&&typeof FileReader!="undefined"?new b.Promise(function(N,R){var M=new FileReader;M.onload=function(A){N(A.target.result)},M.onerror=function(A){R(A.target.error)},M.readAsArrayBuffer(x)}):x}).then(function(x){var N=k.getTypeOf(x);return N?(N==="arraybuffer"?x=k.transformTo("uint8array",x):N==="string"&&(O?x=f.decode(x):l&&y!==!0&&(x=function(R){return m(R,h.uint8array?new Uint8Array(R.length):new Array(R.length))}(x))),x):b.Promise.reject(new Error("Can't read the data of '"+n+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,"set-immediate-shim":54}],33:[function(_,U,k){"use strict";var h=_("./reader/readerFor"),f=_("./utils"),t=_("./signature"),u=_("./zipEntry"),b=(_("./utf8"),_("./support"));function v(m){this.files=[],this.loadOptions=m}v.prototype={checkSignature:function(m){if(!this.reader.readAndCheckSignature(m)){this.reader.index-=4;var g=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+f.pretty(g)+", expected "+f.pretty(m)+")")}},isSignature:function(m,g){var i=this.reader.index;this.reader.setIndex(m);var d=this.reader.readString(4)===g;return this.reader.setIndex(i),d},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var m=this.reader.readData(this.zipCommentLength),g=b.uint8array?"uint8array":"array",i=f.transformTo(g,m);this.zipComment=this.loadOptions.decodeFileName(i)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var m,g,i,d=this.zip64EndOfCentralSize-44;0<d;)m=this.reader.readInt(2),g=this.reader.readInt(4),i=this.reader.readData(g),this.zip64ExtensibleData[m]={id:m,length:g,value:i}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var m,g;for(m=0;m<this.files.length;m++)g=this.files[m],this.reader.setIndex(g.localHeaderOffset),this.checkSignature(t.LOCAL_FILE_HEADER),g.readLocalPart(this.reader),g.handleUTF8(),g.processAttributes()},readCentralDir:function(){var m;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(t.CENTRAL_FILE_HEADER);)(m=new u({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(m);if(this.centralDirRecords!==this.files.length&&this.centralDirRecords!==0&&this.files.length===0)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var m=this.reader.lastIndexOfSignature(t.CENTRAL_DIRECTORY_END);if(m<0)throw this.isSignature(0,t.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(m);var g=m;if(this.checkSignature(t.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===f.MAX_VALUE_16BITS||this.diskWithCentralDirStart===f.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===f.MAX_VALUE_16BITS||this.centralDirRecords===f.MAX_VALUE_16BITS||this.centralDirSize===f.MAX_VALUE_32BITS||this.centralDirOffset===f.MAX_VALUE_32BITS){if(this.zip64=!0,(m=this.reader.lastIndexOfSignature(t.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(m),this.checkSignature(t.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,t.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(t.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(t.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var d=g-i;if(0<d)this.isSignature(g,t.CENTRAL_FILE_HEADER)||(this.reader.zero=d);else if(d<0)throw new Error("Corrupted zip: missing "+Math.abs(d)+" bytes.")},prepareReader:function(m){this.reader=h(m)},load:function(m){this.prepareReader(m),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},U.exports=v},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utf8":31,"./utils":32,"./zipEntry":34}],34:[function(_,U,k){"use strict";var h=_("./reader/readerFor"),f=_("./utils"),t=_("./compressedObject"),u=_("./crc32"),b=_("./utf8"),v=_("./compressions"),m=_("./support");function g(i,d){this.options=i,this.loadOptions=d}g.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(i){var d,c;if(i.skip(22),this.fileNameLength=i.readInt(2),c=i.readInt(2),this.fileName=i.readData(this.fileNameLength),i.skip(c),this.compressedSize===-1||this.uncompressedSize===-1)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if((d=function(n){for(var a in v)if(v.hasOwnProperty(a)&&v[a].magic===n)return v[a];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+f.pretty(this.compressionMethod)+" unknown (inner file : "+f.transformTo("string",this.fileName)+")");this.decompressed=new t(this.compressedSize,this.uncompressedSize,this.crc32,d,i.readData(this.compressedSize))},readCentralPart:function(i){this.versionMadeBy=i.readInt(2),i.skip(2),this.bitFlag=i.readInt(2),this.compressionMethod=i.readString(2),this.date=i.readDate(),this.crc32=i.readInt(4),this.compressedSize=i.readInt(4),this.uncompressedSize=i.readInt(4);var d=i.readInt(2);if(this.extraFieldsLength=i.readInt(2),this.fileCommentLength=i.readInt(2),this.diskNumberStart=i.readInt(2),this.internalFileAttributes=i.readInt(2),this.externalFileAttributes=i.readInt(4),this.localHeaderOffset=i.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");i.skip(d),this.readExtraFields(i),this.parseZIP64ExtraField(i),this.fileComment=i.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var i=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),i==0&&(this.dosPermissions=63&this.externalFileAttributes),i==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(i){if(this.extraFields[1]){var d=h(this.extraFields[1].value);this.uncompressedSize===f.MAX_VALUE_32BITS&&(this.uncompressedSize=d.readInt(8)),this.compressedSize===f.MAX_VALUE_32BITS&&(this.compressedSize=d.readInt(8)),this.localHeaderOffset===f.MAX_VALUE_32BITS&&(this.localHeaderOffset=d.readInt(8)),this.diskNumberStart===f.MAX_VALUE_32BITS&&(this.diskNumberStart=d.readInt(4))}},readExtraFields:function(i){var d,c,n,a=i.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});i.index+4<a;)d=i.readInt(2),c=i.readInt(2),n=i.readData(c),this.extraFields[d]={id:d,length:c,value:n};i.setIndex(a)},handleUTF8:function(){var i=m.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=b.utf8decode(this.fileName),this.fileCommentStr=b.utf8decode(this.fileComment);else{var d=this.findExtraFieldUnicodePath();if(d!==null)this.fileNameStr=d;else{var c=f.transformTo(i,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(c)}var n=this.findExtraFieldUnicodeComment();if(n!==null)this.fileCommentStr=n;else{var a=f.transformTo(i,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var i=this.extraFields[28789];if(i){var d=h(i.value);return d.readInt(1)!==1||u(this.fileName)!==d.readInt(4)?null:b.utf8decode(d.readData(i.length-5))}return null},findExtraFieldUnicodeComment:function(){var i=this.extraFields[25461];if(i){var d=h(i.value);return d.readInt(1)!==1||u(this.fileComment)!==d.readInt(4)?null:b.utf8decode(d.readData(i.length-5))}return null}},U.exports=g},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(_,U,k){"use strict";function h(d,c,n){this.name=d,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=c,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}}var f=_("./stream/StreamHelper"),t=_("./stream/DataWorker"),u=_("./utf8"),b=_("./compressedObject"),v=_("./stream/GenericWorker");h.prototype={internalStream:function(d){var c=null,n="string";try{if(!d)throw new Error("No output type specified.");var a=(n=d.toLowerCase())==="string"||n==="text";n!=="binarystring"&&n!=="text"||(n="string"),c=this._decompressWorker();var l=!this._dataBinary;l&&!a&&(c=c.pipe(new u.Utf8EncodeWorker)),!l&&a&&(c=c.pipe(new u.Utf8DecodeWorker))}catch(y){(c=new v("error")).error(y)}return new f(c,n,"")},async:function(d,c){return this.internalStream(d).accumulate(c)},nodeStream:function(d,c){return this.internalStream(d||"nodebuffer").toNodejsStream(c)},_compressWorker:function(d,c){if(this._data instanceof b&&this._data.compression.magic===d.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new u.Utf8EncodeWorker)),b.createWorkerFrom(n,d,c)},_decompressWorker:function(){return this._data instanceof b?this._data.getContentWorker():this._data instanceof v?this._data:new t(this._data)}};for(var m=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],g=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},i=0;i<m.length;i++)h.prototype[m[i]]=g;U.exports=h},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(_,U,k){(function(h){"use strict";var f,t,u=h.MutationObserver||h.WebKitMutationObserver;if(u){var b=0,v=new u(d),m=h.document.createTextNode("");v.observe(m,{characterData:!0}),f=function(){m.data=b=++b%2}}else if(h.setImmediate||h.MessageChannel===void 0)f="document"in h&&"onreadystatechange"in h.document.createElement("script")?function(){var c=h.document.createElement("script");c.onreadystatechange=function(){d(),c.onreadystatechange=null,c.parentNode.removeChild(c),c=null},h.document.documentElement.appendChild(c)}:function(){setTimeout(d,0)};else{var g=new h.MessageChannel;g.port1.onmessage=d,f=function(){g.port2.postMessage(0)}}var i=[];function d(){var c,n;t=!0;for(var a=i.length;a;){for(n=i,i=[],c=-1;++c<a;)n[c]();a=i.length}t=!1}U.exports=function(c){i.push(c)!==1||t||f()}}).call(this,typeof global!="undefined"?global:typeof self!="undefined"?self:typeof window!="undefined"?window:{})},{}],37:[function(_,U,k){"use strict";var h=_("immediate");function f(){}var t={},u=["REJECTED"],b=["FULFILLED"],v=["PENDING"];function m(a){if(typeof a!="function")throw new TypeError("resolver must be a function");this.state=v,this.queue=[],this.outcome=void 0,a!==f&&c(this,a)}function g(a,l,y){this.promise=a,typeof l=="function"&&(this.onFulfilled=l,this.callFulfilled=this.otherCallFulfilled),typeof y=="function"&&(this.onRejected=y,this.callRejected=this.otherCallRejected)}function i(a,l,y){h(function(){var O;try{O=l(y)}catch(x){return t.reject(a,x)}O===a?t.reject(a,new TypeError("Cannot resolve promise with itself")):t.resolve(a,O)})}function d(a){var l=a&&a.then;if(a&&(typeof a=="object"||typeof a=="function")&&typeof l=="function")return function(){l.apply(a,arguments)}}function c(a,l){var y=!1;function O(R){y||(y=!0,t.reject(a,R))}function x(R){y||(y=!0,t.resolve(a,R))}var N=n(function(){l(x,O)});N.status==="error"&&O(N.value)}function n(a,l){var y={};try{y.value=a(l),y.status="success"}catch(O){y.status="error",y.value=O}return y}(U.exports=m).prototype.finally=function(a){if(typeof a!="function")return this;var l=this.constructor;return this.then(function(y){return l.resolve(a()).then(function(){return y})},function(y){return l.resolve(a()).then(function(){throw y})})},m.prototype.catch=function(a){return this.then(null,a)},m.prototype.then=function(a,l){if(typeof a!="function"&&this.state===b||typeof l!="function"&&this.state===u)return this;var y=new this.constructor(f);return this.state!==v?i(y,this.state===b?a:l,this.outcome):this.queue.push(new g(y,a,l)),y},g.prototype.callFulfilled=function(a){t.resolve(this.promise,a)},g.prototype.otherCallFulfilled=function(a){i(this.promise,this.onFulfilled,a)},g.prototype.callRejected=function(a){t.reject(this.promise,a)},g.prototype.otherCallRejected=function(a){i(this.promise,this.onRejected,a)},t.resolve=function(a,l){var y=n(d,l);if(y.status==="error")return t.reject(a,y.value);var O=y.value;if(O)c(a,O);else{a.state=b,a.outcome=l;for(var x=-1,N=a.queue.length;++x<N;)a.queue[x].callFulfilled(l)}return a},t.reject=function(a,l){a.state=u,a.outcome=l;for(var y=-1,O=a.queue.length;++y<O;)a.queue[y].callRejected(l);return a},m.resolve=function(a){return a instanceof this?a:t.resolve(new this(f),a)},m.reject=function(a){var l=new this(f);return t.reject(l,a)},m.all=function(a){var l=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=a.length,O=!1;if(!y)return this.resolve([]);for(var x=new Array(y),N=0,R=-1,M=new this(f);++R<y;)A(a[R],R);return M;function A(W,V){l.resolve(W).then(function(p){x[V]=p,++N!==y||O||(O=!0,t.resolve(M,x))},function(p){O||(O=!0,t.reject(M,p))})}},m.race=function(a){var l=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=a.length,O=!1;if(!y)return this.resolve([]);for(var x=-1,N=new this(f);++x<y;)R=a[x],l.resolve(R).then(function(M){O||(O=!0,t.resolve(N,M))},function(M){O||(O=!0,t.reject(N,M))});var R;return N}},{immediate:36}],38:[function(_,U,k){"use strict";var h={};(0,_("./lib/utils/common").assign)(h,_("./lib/deflate"),_("./lib/inflate"),_("./lib/zlib/constants")),U.exports=h},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(_,U,k){"use strict";var h=_("./zlib/deflate"),f=_("./utils/common"),t=_("./utils/strings"),u=_("./zlib/messages"),b=_("./zlib/zstream"),v=Object.prototype.toString,m=0,g=-1,i=0,d=8;function c(a){if(!(this instanceof c))return new c(a);this.options=f.assign({level:g,method:d,chunkSize:16384,windowBits:15,memLevel:8,strategy:i,to:""},a||{});var l=this.options;l.raw&&0<l.windowBits?l.windowBits=-l.windowBits:l.gzip&&0<l.windowBits&&l.windowBits<16&&(l.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new b,this.strm.avail_out=0;var y=h.deflateInit2(this.strm,l.level,l.method,l.windowBits,l.memLevel,l.strategy);if(y!==m)throw new Error(u[y]);if(l.header&&h.deflateSetHeader(this.strm,l.header),l.dictionary){var O;if(O=typeof l.dictionary=="string"?t.string2buf(l.dictionary):v.call(l.dictionary)==="[object ArrayBuffer]"?new Uint8Array(l.dictionary):l.dictionary,(y=h.deflateSetDictionary(this.strm,O))!==m)throw new Error(u[y]);this._dict_set=!0}}function n(a,l){var y=new c(l);if(y.push(a,!0),y.err)throw y.msg||u[y.err];return y.result}c.prototype.push=function(a,l){var y,O,x=this.strm,N=this.options.chunkSize;if(this.ended)return!1;O=l===~~l?l:l===!0?4:0,typeof a=="string"?x.input=t.string2buf(a):v.call(a)==="[object ArrayBuffer]"?x.input=new Uint8Array(a):x.input=a,x.next_in=0,x.avail_in=x.input.length;do{if(x.avail_out===0&&(x.output=new f.Buf8(N),x.next_out=0,x.avail_out=N),(y=h.deflate(x,O))!==1&&y!==m)return this.onEnd(y),!(this.ended=!0);x.avail_out!==0&&(x.avail_in!==0||O!==4&&O!==2)||(this.options.to==="string"?this.onData(t.buf2binstring(f.shrinkBuf(x.output,x.next_out))):this.onData(f.shrinkBuf(x.output,x.next_out)))}while((0<x.avail_in||x.avail_out===0)&&y!==1);return O===4?(y=h.deflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===m):O!==2||(this.onEnd(m),!(x.avail_out=0))},c.prototype.onData=function(a){this.chunks.push(a)},c.prototype.onEnd=function(a){a===m&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=f.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},k.Deflate=c,k.deflate=n,k.deflateRaw=function(a,l){return(l=l||{}).raw=!0,n(a,l)},k.gzip=function(a,l){return(l=l||{}).gzip=!0,n(a,l)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(_,U,k){"use strict";var h=_("./zlib/inflate"),f=_("./utils/common"),t=_("./utils/strings"),u=_("./zlib/constants"),b=_("./zlib/messages"),v=_("./zlib/zstream"),m=_("./zlib/gzheader"),g=Object.prototype.toString;function i(c){if(!(this instanceof i))return new i(c);this.options=f.assign({chunkSize:16384,windowBits:0,to:""},c||{});var n=this.options;n.raw&&0<=n.windowBits&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),!(0<=n.windowBits&&n.windowBits<16)||c&&c.windowBits||(n.windowBits+=32),15<n.windowBits&&n.windowBits<48&&(15&n.windowBits)==0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new v,this.strm.avail_out=0;var a=h.inflateInit2(this.strm,n.windowBits);if(a!==u.Z_OK)throw new Error(b[a]);this.header=new m,h.inflateGetHeader(this.strm,this.header)}function d(c,n){var a=new i(n);if(a.push(c,!0),a.err)throw a.msg||b[a.err];return a.result}i.prototype.push=function(c,n){var a,l,y,O,x,N,R=this.strm,M=this.options.chunkSize,A=this.options.dictionary,W=!1;if(this.ended)return!1;l=n===~~n?n:n===!0?u.Z_FINISH:u.Z_NO_FLUSH,typeof c=="string"?R.input=t.binstring2buf(c):g.call(c)==="[object ArrayBuffer]"?R.input=new Uint8Array(c):R.input=c,R.next_in=0,R.avail_in=R.input.length;do{if(R.avail_out===0&&(R.output=new f.Buf8(M),R.next_out=0,R.avail_out=M),(a=h.inflate(R,u.Z_NO_FLUSH))===u.Z_NEED_DICT&&A&&(N=typeof A=="string"?t.string2buf(A):g.call(A)==="[object ArrayBuffer]"?new Uint8Array(A):A,a=h.inflateSetDictionary(this.strm,N)),a===u.Z_BUF_ERROR&&W===!0&&(a=u.Z_OK,W=!1),a!==u.Z_STREAM_END&&a!==u.Z_OK)return this.onEnd(a),!(this.ended=!0);R.next_out&&(R.avail_out!==0&&a!==u.Z_STREAM_END&&(R.avail_in!==0||l!==u.Z_FINISH&&l!==u.Z_SYNC_FLUSH)||(this.options.to==="string"?(y=t.utf8border(R.output,R.next_out),O=R.next_out-y,x=t.buf2string(R.output,y),R.next_out=O,R.avail_out=M-O,O&&f.arraySet(R.output,R.output,y,O,0),this.onData(x)):this.onData(f.shrinkBuf(R.output,R.next_out)))),R.avail_in===0&&R.avail_out===0&&(W=!0)}while((0<R.avail_in||R.avail_out===0)&&a!==u.Z_STREAM_END);return a===u.Z_STREAM_END&&(l=u.Z_FINISH),l===u.Z_FINISH?(a=h.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===u.Z_OK):l!==u.Z_SYNC_FLUSH||(this.onEnd(u.Z_OK),!(R.avail_out=0))},i.prototype.onData=function(c){this.chunks.push(c)},i.prototype.onEnd=function(c){c===u.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=f.flattenChunks(this.chunks)),this.chunks=[],this.err=c,this.msg=this.strm.msg},k.Inflate=i,k.inflate=d,k.inflateRaw=function(c,n){return(n=n||{}).raw=!0,d(c,n)},k.ungzip=d},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(_,U,k){"use strict";var h=typeof Uint8Array!="undefined"&&typeof Uint16Array!="undefined"&&typeof Int32Array!="undefined";k.assign=function(u){for(var b=Array.prototype.slice.call(arguments,1);b.length;){var v=b.shift();if(v){if(typeof v!="object")throw new TypeError(v+"must be non-object");for(var m in v)v.hasOwnProperty(m)&&(u[m]=v[m])}}return u},k.shrinkBuf=function(u,b){return u.length===b?u:u.subarray?u.subarray(0,b):(u.length=b,u)};var f={arraySet:function(u,b,v,m,g){if(b.subarray&&u.subarray)u.set(b.subarray(v,v+m),g);else for(var i=0;i<m;i++)u[g+i]=b[v+i]},flattenChunks:function(u){var b,v,m,g,i,d;for(b=m=0,v=u.length;b<v;b++)m+=u[b].length;for(d=new Uint8Array(m),b=g=0,v=u.length;b<v;b++)i=u[b],d.set(i,g),g+=i.length;return d}},t={arraySet:function(u,b,v,m,g){for(var i=0;i<m;i++)u[g+i]=b[v+i]},flattenChunks:function(u){return[].concat.apply([],u)}};k.setTyped=function(u){u?(k.Buf8=Uint8Array,k.Buf16=Uint16Array,k.Buf32=Int32Array,k.assign(k,f)):(k.Buf8=Array,k.Buf16=Array,k.Buf32=Array,k.assign(k,t))},k.setTyped(h)},{}],42:[function(_,U,k){"use strict";var h=_("./common"),f=!0,t=!0;try{String.fromCharCode.apply(null,[0])}catch(m){f=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(m){t=!1}for(var u=new h.Buf8(256),b=0;b<256;b++)u[b]=252<=b?6:248<=b?5:240<=b?4:224<=b?3:192<=b?2:1;function v(m,g){if(g<65537&&(m.subarray&&t||!m.subarray&&f))return String.fromCharCode.apply(null,h.shrinkBuf(m,g));for(var i="",d=0;d<g;d++)i+=String.fromCharCode(m[d]);return i}u[254]=u[254]=1,k.string2buf=function(m){var g,i,d,c,n,a=m.length,l=0;for(c=0;c<a;c++)(64512&(i=m.charCodeAt(c)))==55296&&c+1<a&&(64512&(d=m.charCodeAt(c+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),c++),l+=i<128?1:i<2048?2:i<65536?3:4;for(g=new h.Buf8(l),c=n=0;n<l;c++)(64512&(i=m.charCodeAt(c)))==55296&&c+1<a&&(64512&(d=m.charCodeAt(c+1)))==56320&&(i=65536+(i-55296<<10)+(d-56320),c++),i<128?g[n++]=i:(i<2048?g[n++]=192|i>>>6:(i<65536?g[n++]=224|i>>>12:(g[n++]=240|i>>>18,g[n++]=128|i>>>12&63),g[n++]=128|i>>>6&63),g[n++]=128|63&i);return g},k.buf2binstring=function(m){return v(m,m.length)},k.binstring2buf=function(m){for(var g=new h.Buf8(m.length),i=0,d=g.length;i<d;i++)g[i]=m.charCodeAt(i);return g},k.buf2string=function(m,g){var i,d,c,n,a=g||m.length,l=new Array(2*a);for(i=d=0;i<a;)if((c=m[i++])<128)l[d++]=c;else if(4<(n=u[c]))l[d++]=65533,i+=n-1;else{for(c&=n===2?31:n===3?15:7;1<n&&i<a;)c=c<<6|63&m[i++],n--;1<n?l[d++]=65533:c<65536?l[d++]=c:(c-=65536,l[d++]=55296|c>>10&1023,l[d++]=56320|1023&c)}return v(l,d)},k.utf8border=function(m,g){var i;for((g=g||m.length)>m.length&&(g=m.length),i=g-1;0<=i&&(192&m[i])==128;)i--;return i<0||i===0?g:i+u[m[i]]>g?i:g}},{"./common":41}],43:[function(_,U,k){"use strict";U.exports=function(h,f,t,u){for(var b=65535&h|0,v=h>>>16&65535|0,m=0;t!==0;){for(t-=m=2e3<t?2e3:t;v=v+(b=b+f[u++]|0)|0,--m;);b%=65521,v%=65521}return b|v<<16|0}},{}],44:[function(_,U,k){"use strict";U.exports={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_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}},{}],45:[function(_,U,k){"use strict";var h=function(){for(var f,t=[],u=0;u<256;u++){f=u;for(var b=0;b<8;b++)f=1&f?3988292384^f>>>1:f>>>1;t[u]=f}return t}();U.exports=function(f,t,u,b){var v=h,m=b+u;f^=-1;for(var g=b;g<m;g++)f=f>>>8^v[255&(f^t[g])];return-1^f}},{}],46:[function(_,U,k){"use strict";var h,f=_("../utils/common"),t=_("./trees"),u=_("./adler32"),b=_("./crc32"),v=_("./messages"),m=0,g=4,i=0,d=-2,c=-1,n=4,a=2,l=8,y=9,O=286,x=30,N=19,R=2*O+1,M=15,A=3,W=258,V=W+A+1,p=42,I=113,r=1,T=2,J=3,P=4;function Q(e,B){return e.msg=v[B],B}function L(e){return(e<<1)-(4<e?9:0)}function q(e){for(var B=e.length;0<=--B;)e[B]=0}function C(e){var B=e.state,E=B.pending;E>e.avail_out&&(E=e.avail_out),E!==0&&(f.arraySet(e.output,B.pending_buf,B.pending_out,E,e.next_out),e.next_out+=E,B.pending_out+=E,e.total_out+=E,e.avail_out-=E,B.pending-=E,B.pending===0&&(B.pending_out=0))}function z(e,B){t._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,B),e.block_start=e.strstart,C(e.strm)}function X(e,B){e.pending_buf[e.pending++]=B}function G(e,B){e.pending_buf[e.pending++]=B>>>8&255,e.pending_buf[e.pending++]=255&B}function H(e,B){var E,o,s=e.max_chain_length,w=e.strstart,D=e.prev_length,F=e.nice_match,S=e.strstart>e.w_size-V?e.strstart-(e.w_size-V):0,j=e.window,K=e.w_mask,Z=e.prev,Y=e.strstart+W,te=j[w+D-1],ee=j[w+D];e.prev_length>=e.good_match&&(s>>=2),F>e.lookahead&&(F=e.lookahead);do if(j[(E=B)+D]===ee&&j[E+D-1]===te&&j[E]===j[w]&&j[++E]===j[w+1]){w+=2,E++;do;while(j[++w]===j[++E]&&j[++w]===j[++E]&&j[++w]===j[++E]&&j[++w]===j[++E]&&j[++w]===j[++E]&&j[++w]===j[++E]&&j[++w]===j[++E]&&j[++w]===j[++E]&&w<Y);if(o=W-(Y-w),w=Y-W,D<o){if(e.match_start=B,F<=(D=o))break;te=j[w+D-1],ee=j[w+D]}}while((B=Z[B&K])>S&&--s!=0);return D<=e.lookahead?D:e.lookahead}function ne(e){var B,E,o,s,w,D,F,S,j,K,Z=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=Z+(Z-V)){for(f.arraySet(e.window,e.window,Z,Z,0),e.match_start-=Z,e.strstart-=Z,e.block_start-=Z,B=E=e.hash_size;o=e.head[--B],e.head[B]=Z<=o?o-Z:0,--E;);for(B=E=Z;o=e.prev[--B],e.prev[B]=Z<=o?o-Z:0,--E;);s+=Z}if(e.strm.avail_in===0)break;if(D=e.strm,F=e.window,S=e.strstart+e.lookahead,j=s,K=void 0,K=D.avail_in,j<K&&(K=j),E=K===0?0:(D.avail_in-=K,f.arraySet(F,D.input,D.next_in,K,S),D.state.wrap===1?D.adler=u(D.adler,F,K,S):D.state.wrap===2&&(D.adler=b(D.adler,F,K,S)),D.next_in+=K,D.total_in+=K,K),e.lookahead+=E,e.lookahead+e.insert>=A)for(w=e.strstart-e.insert,e.ins_h=e.window[w],e.ins_h=(e.ins_h<<e.hash_shift^e.window[w+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[w+A-1])&e.hash_mask,e.prev[w&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=w,w++,e.insert--,!(e.lookahead+e.insert<A)););}while(e.lookahead<V&&e.strm.avail_in!==0)}function oe(e,B){for(var E,o;;){if(e.lookahead<V){if(ne(e),e.lookahead<V&&B===m)return r;if(e.lookahead===0)break}if(E=0,e.lookahead>=A&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,E=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),E!==0&&e.strstart-E<=e.w_size-V&&(e.match_length=H(e,E)),e.match_length>=A)if(o=t._tr_tally(e,e.strstart-e.match_start,e.match_length-A),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=A){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,E=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,--e.match_length!=0;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else o=t._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(o&&(z(e,!1),e.strm.avail_out===0))return r}return e.insert=e.strstart<A-1?e.strstart:A-1,B===g?(z(e,!0),e.strm.avail_out===0?J:P):e.last_lit&&(z(e,!1),e.strm.avail_out===0)?r:T}function $(e,B){for(var E,o,s;;){if(e.lookahead<V){if(ne(e),e.lookahead<V&&B===m)return r;if(e.lookahead===0)break}if(E=0,e.lookahead>=A&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,E=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=A-1,E!==0&&e.prev_length<e.max_lazy_match&&e.strstart-E<=e.w_size-V&&(e.match_length=H(e,E),e.match_length<=5&&(e.strategy===1||e.match_length===A&&4096<e.strstart-e.match_start)&&(e.match_length=A-1)),e.prev_length>=A&&e.match_length<=e.prev_length){for(s=e.strstart+e.lookahead-A,o=t._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-A),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=s&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+A-1])&e.hash_mask,E=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),--e.prev_length!=0;);if(e.match_available=0,e.match_length=A-1,e.strstart++,o&&(z(e,!1),e.strm.avail_out===0))return r}else if(e.match_available){if((o=t._tr_tally(e,0,e.window[e.strstart-1]))&&z(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return r}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(o=t._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<A-1?e.strstart:A-1,B===g?(z(e,!0),e.strm.avail_out===0?J:P):e.last_lit&&(z(e,!1),e.strm.avail_out===0)?r:T}function re(e,B,E,o,s){this.good_length=e,this.max_lazy=B,this.nice_length=E,this.max_chain=o,this.func=s}function ae(){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=l,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 f.Buf16(2*R),this.dyn_dtree=new f.Buf16(2*(2*x+1)),this.bl_tree=new f.Buf16(2*(2*N+1)),q(this.dyn_ltree),q(this.dyn_dtree),q(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new f.Buf16(M+1),this.heap=new f.Buf16(2*O+1),q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new f.Buf16(2*O+1),q(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function ie(e){var B;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=a,(B=e.state).pending=0,B.pending_out=0,B.wrap<0&&(B.wrap=-B.wrap),B.status=B.wrap?p:I,e.adler=B.wrap===2?0:1,B.last_flush=m,t._tr_init(B),i):Q(e,d)}function le(e){var B=ie(e);return B===i&&function(E){E.window_size=2*E.w_size,q(E.head),E.max_lazy_match=h[E.level].max_lazy,E.good_match=h[E.level].good_length,E.nice_match=h[E.level].nice_length,E.max_chain_length=h[E.level].max_chain,E.strstart=0,E.block_start=0,E.lookahead=0,E.insert=0,E.match_length=E.prev_length=A-1,E.match_available=0,E.ins_h=0}(e.state),B}function ue(e,B,E,o,s,w){if(!e)return d;var D=1;if(B===c&&(B=6),o<0?(D=0,o=-o):15<o&&(D=2,o-=16),s<1||y<s||E!==l||o<8||15<o||B<0||9<B||w<0||n<w)return Q(e,d);o===8&&(o=9);var F=new ae;return(e.state=F).strm=e,F.wrap=D,F.gzhead=null,F.w_bits=o,F.w_size=1<<F.w_bits,F.w_mask=F.w_size-1,F.hash_bits=s+7,F.hash_size=1<<F.hash_bits,F.hash_mask=F.hash_size-1,F.hash_shift=~~((F.hash_bits+A-1)/A),F.window=new f.Buf8(2*F.w_size),F.head=new f.Buf16(F.hash_size),F.prev=new f.Buf16(F.w_size),F.lit_bufsize=1<<s+6,F.pending_buf_size=4*F.lit_bufsize,F.pending_buf=new f.Buf8(F.pending_buf_size),F.d_buf=1*F.lit_bufsize,F.l_buf=3*F.lit_bufsize,F.level=B,F.strategy=w,F.method=E,le(e)}h=[new re(0,0,0,0,function(e,B){var E=65535;for(E>e.pending_buf_size-5&&(E=e.pending_buf_size-5);;){if(e.lookahead<=1){if(ne(e),e.lookahead===0&&B===m)return r;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var o=e.block_start+E;if((e.strstart===0||e.strstart>=o)&&(e.lookahead=e.strstart-o,e.strstart=o,z(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-V&&(z(e,!1),e.strm.avail_out===0))return r}return e.insert=0,B===g?(z(e,!0),e.strm.avail_out===0?J:P):(e.strstart>e.block_start&&(z(e,!1),e.strm.avail_out),r)}),new re(4,4,8,4,oe),new re(4,5,16,8,oe),new re(4,6,32,32,oe),new re(4,4,16,16,$),new re(8,16,32,32,$),new re(8,16,128,128,$),new re(8,32,128,256,$),new re(32,128,258,1024,$),new re(32,258,258,4096,$)],k.deflateInit=function(e,B){return ue(e,B,l,15,8,0)},k.deflateInit2=ue,k.deflateReset=le,k.deflateResetKeep=ie,k.deflateSetHeader=function(e,B){return e&&e.state?e.state.wrap!==2?d:(e.state.gzhead=B,i):d},k.deflate=function(e,B){var E,o,s,w;if(!e||!e.state||5<B||B<0)return e?Q(e,d):d;if(o=e.state,!e.output||!e.input&&e.avail_in!==0||o.status===666&&B!==g)return Q(e,e.avail_out===0?-5:d);if(o.strm=e,E=o.last_flush,o.last_flush=B,o.status===p)if(o.wrap===2)e.adler=0,X(o,31),X(o,139),X(o,8),o.gzhead?(X(o,(o.gzhead.text?1:0)+(o.gzhead.hcrc?2:0)+(o.gzhead.extra?4:0)+(o.gzhead.name?8:0)+(o.gzhead.comment?16:0)),X(o,255&o.gzhead.time),X(o,o.gzhead.time>>8&255),X(o,o.gzhead.time>>16&255),X(o,o.gzhead.time>>24&255),X(o,o.level===9?2:2<=o.strategy||o.level<2?4:0),X(o,255&o.gzhead.os),o.gzhead.extra&&o.gzhead.extra.length&&(X(o,255&o.gzhead.extra.length),X(o,o.gzhead.extra.length>>8&255)),o.gzhead.hcrc&&(e.adler=b(e.adler,o.pending_buf,o.pending,0)),o.gzindex=0,o.status=69):(X(o,0),X(o,0),X(o,0),X(o,0),X(o,0),X(o,o.level===9?2:2<=o.strategy||o.level<2?4:0),X(o,3),o.status=I);else{var D=l+(o.w_bits-8<<4)<<8;D|=(2<=o.strategy||o.level<2?0:o.level<6?1:o.level===6?2:3)<<6,o.strstart!==0&&(D|=32),D+=31-D%31,o.status=I,G(o,D),o.strstart!==0&&(G(o,e.adler>>>16),G(o,65535&e.adler)),e.adler=1}if(o.status===69)if(o.gzhead.extra){for(s=o.pending;o.gzindex<(65535&o.gzhead.extra.length)&&(o.pending!==o.pending_buf_size||(o.gzhead.hcrc&&o.pending>s&&(e.adler=b(e.adler,o.pending_buf,o.pending-s,s)),C(e),s=o.pending,o.pending!==o.pending_buf_size));)X(o,255&o.gzhead.extra[o.gzindex]),o.gzindex++;o.gzhead.hcrc&&o.pending>s&&(e.adler=b(e.adler,o.pending_buf,o.pending-s,s)),o.gzindex===o.gzhead.extra.length&&(o.gzindex=0,o.status=73)}else o.status=73;if(o.status===73)if(o.gzhead.name){s=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>s&&(e.adler=b(e.adler,o.pending_buf,o.pending-s,s)),C(e),s=o.pending,o.pending===o.pending_buf_size)){w=1;break}w=o.gzindex<o.gzhead.name.length?255&o.gzhead.name.charCodeAt(o.gzindex++):0,X(o,w)}while(w!==0);o.gzhead.hcrc&&o.pending>s&&(e.adler=b(e.adler,o.pending_buf,o.pending-s,s)),w===0&&(o.gzindex=0,o.status=91)}else o.status=91;if(o.status===91)if(o.gzhead.comment){s=o.pending;do{if(o.pending===o.pending_buf_size&&(o.gzhead.hcrc&&o.pending>s&&(e.adler=b(e.adler,o.pending_buf,o.pending-s,s)),C(e),s=o.pending,o.pending===o.pending_buf_size)){w=1;break}w=o.gzindex<o.gzhead.comment.length?255&o.gzhead.comment.charCodeAt(o.gzindex++):0,X(o,w)}while(w!==0);o.gzhead.hcrc&&o.pending>s&&(e.adler=b(e.adler,o.pending_buf,o.pending-s,s)),w===0&&(o.status=103)}else o.status=103;if(o.status===103&&(o.gzhead.hcrc?(o.pending+2>o.pending_buf_size&&C(e),o.pending+2<=o.pending_buf_size&&(X(o,255&e.adler),X(o,e.adler>>8&255),e.adler=0,o.status=I)):o.status=I),o.pending!==0){if(C(e),e.avail_out===0)return o.last_flush=-1,i}else if(e.avail_in===0&&L(B)<=L(E)&&B!==g)return Q(e,-5);if(o.status===666&&e.avail_in!==0)return Q(e,-5);if(e.avail_in!==0||o.lookahead!==0||B!==m&&o.status!==666){var F=o.strategy===2?function(S,j){for(var K;;){if(S.lookahead===0&&(ne(S),S.lookahead===0)){if(j===m)return r;break}if(S.match_length=0,K=t._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++,K&&(z(S,!1),S.strm.avail_out===0))return r}return S.insert=0,j===g?(z(S,!0),S.strm.avail_out===0?J:P):S.last_lit&&(z(S,!1),S.strm.avail_out===0)?r:T}(o,B):o.strategy===3?function(S,j){for(var K,Z,Y,te,ee=S.window;;){if(S.lookahead<=W){if(ne(S),S.lookahead<=W&&j===m)return r;if(S.lookahead===0)break}if(S.match_length=0,S.lookahead>=A&&0<S.strstart&&(Z=ee[Y=S.strstart-1])===ee[++Y]&&Z===ee[++Y]&&Z===ee[++Y]){te=S.strstart+W;do;while(Z===ee[++Y]&&Z===ee[++Y]&&Z===ee[++Y]&&Z===ee[++Y]&&Z===ee[++Y]&&Z===ee[++Y]&&Z===ee[++Y]&&Z===ee[++Y]&&Y<te);S.match_length=W-(te-Y),S.match_length>S.lookahead&&(S.match_length=S.lookahead)}if(S.match_length>=A?(K=t._tr_tally(S,1,S.match_length-A),S.lookahead-=S.match_length,S.strstart+=S.match_length,S.match_length=0):(K=t._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++),K&&(z(S,!1),S.strm.avail_out===0))return r}return S.insert=0,j===g?(z(S,!0),S.strm.avail_out===0?J:P):S.last_lit&&(z(S,!1),S.strm.avail_out===0)?r:T}(o,B):h[o.level].func(o,B);if(F!==J&&F!==P||(o.status=666),F===r||F===J)return e.avail_out===0&&(o.last_flush=-1),i;if(F===T&&(B===1?t._tr_align(o):B!==5&&(t._tr_stored_block(o,0,0,!1),B===3&&(q(o.head),o.lookahead===0&&(o.strstart=0,o.block_start=0,o.insert=0))),C(e),e.avail_out===0))return o.last_flush=-1,i}return B!==g?i:o.wrap<=0?1:(o.wrap===2?(X(o,255&e.adler),X(o,e.adler>>8&255),X(o,e.adler>>16&255),X(o,e.adler>>24&255),X(o,255&e.total_in),X(o,e.total_in>>8&255),X(o,e.total_in>>16&255),X(o,e.total_in>>24&255)):(G(o,e.adler>>>16),G(o,65535&e.adler)),C(e),0<o.wrap&&(o.wrap=-o.wrap),o.pending!==0?i:1)},k.deflateEnd=function(e){var B;return e&&e.state?(B=e.state.status)!==p&&B!==69&&B!==73&&B!==91&&B!==103&&B!==I&&B!==666?Q(e,d):(e.state=null,B===I?Q(e,-3):i):d},k.deflateSetDictionary=function(e,B){var E,o,s,w,D,F,S,j,K=B.length;if(!e||!e.state||(w=(E=e.state).wrap)===2||w===1&&E.status!==p||E.lookahead)return d;for(w===1&&(e.adler=u(e.adler,B,K,0)),E.wrap=0,K>=E.w_size&&(w===0&&(q(E.head),E.strstart=0,E.block_start=0,E.insert=0),j=new f.Buf8(E.w_size),f.arraySet(j,B,K-E.w_size,E.w_size,0),B=j,K=E.w_size),D=e.avail_in,F=e.next_in,S=e.input,e.avail_in=K,e.next_in=0,e.input=B,ne(E);E.lookahead>=A;){for(o=E.strstart,s=E.lookahead-(A-1);E.ins_h=(E.ins_h<<E.hash_shift^E.window[o+A-1])&E.hash_mask,E.prev[o&E.w_mask]=E.head[E.ins_h],E.head[E.ins_h]=o,o++,--s;);E.strstart=o,E.lookahead=A-1,ne(E)}return E.strstart+=E.lookahead,E.block_start=E.strstart,E.insert=E.lookahead,E.lookahead=0,E.match_length=E.prev_length=A-1,E.match_available=0,e.next_in=F,e.input=S,e.avail_in=D,E.wrap=w,i},k.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(_,U,k){"use strict";U.exports=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}},{}],48:[function(_,U,k){"use strict";U.exports=function(h,f){var t,u,b,v,m,g,i,d,c,n,a,l,y,O,x,N,R,M,A,W,V,p,I,r,T;t=h.state,u=h.next_in,r=h.input,b=u+(h.avail_in-5),v=h.next_out,T=h.output,m=v-(f-h.avail_out),g=v+(h.avail_out-257),i=t.dmax,d=t.wsize,c=t.whave,n=t.wnext,a=t.window,l=t.hold,y=t.bits,O=t.lencode,x=t.distcode,N=(1<<t.lenbits)-1,R=(1<<t.distbits)-1;e:do{y<15&&(l+=r[u++]<<y,y+=8,l+=r[u++]<<y,y+=8),M=O[l&N];r:for(;;){if(l>>>=A=M>>>24,y-=A,(A=M>>>16&255)==0)T[v++]=65535&M;else{if(!(16&A)){if((64&A)==0){M=O[(65535&M)+(l&(1<<A)-1)];continue r}if(32&A){t.mode=12;break e}h.msg="invalid literal/length code",t.mode=30;break e}W=65535&M,(A&=15)&&(y<A&&(l+=r[u++]<<y,y+=8),W+=l&(1<<A)-1,l>>>=A,y-=A),y<15&&(l+=r[u++]<<y,y+=8,l+=r[u++]<<y,y+=8),M=x[l&R];t:for(;;){if(l>>>=A=M>>>24,y-=A,!(16&(A=M>>>16&255))){if((64&A)==0){M=x[(65535&M)+(l&(1<<A)-1)];continue t}h.msg="invalid distance code",t.mode=30;break e}if(V=65535&M,y<(A&=15)&&(l+=r[u++]<<y,(y+=8)<A&&(l+=r[u++]<<y,y+=8)),i<(V+=l&(1<<A)-1)){h.msg="invalid distance too far back",t.mode=30;break e}if(l>>>=A,y-=A,(A=v-m)<V){if(c<(A=V-A)&&t.sane){h.msg="invalid distance too far back",t.mode=30;break e}if(I=a,(p=0)===n){if(p+=d-A,A<W){for(W-=A;T[v++]=a[p++],--A;);p=v-V,I=T}}else if(n<A){if(p+=d+n-A,(A-=n)<W){for(W-=A;T[v++]=a[p++],--A;);if(p=0,n<W){for(W-=A=n;T[v++]=a[p++],--A;);p=v-V,I=T}}}else if(p+=n-A,A<W){for(W-=A;T[v++]=a[p++],--A;);p=v-V,I=T}for(;2<W;)T[v++]=I[p++],T[v++]=I[p++],T[v++]=I[p++],W-=3;W&&(T[v++]=I[p++],1<W&&(T[v++]=I[p++]))}else{for(p=v-V;T[v++]=T[p++],T[v++]=T[p++],T[v++]=T[p++],2<(W-=3););W&&(T[v++]=T[p++],1<W&&(T[v++]=T[p++]))}break}}break}}while(u<b&&v<g);u-=W=y>>3,l&=(1<<(y-=W<<3))-1,h.next_in=u,h.next_out=v,h.avail_in=u<b?b-u+5:5-(u-b),h.avail_out=v<g?g-v+257:257-(v-g),t.hold=l,t.bits=y}},{}],49:[function(_,U,k){"use strict";var h=_("../utils/common"),f=_("./adler32"),t=_("./crc32"),u=_("./inffast"),b=_("./inftrees"),v=1,m=2,g=0,i=-2,d=1,c=852,n=592;function a(p){return(p>>>24&255)+(p>>>8&65280)+((65280&p)<<8)+((255&p)<<24)}function l(){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 h.Buf16(320),this.work=new h.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(p){var I;return p&&p.state?(I=p.state,p.total_in=p.total_out=I.total=0,p.msg="",I.wrap&&(p.adler=1&I.wrap),I.mode=d,I.last=0,I.havedict=0,I.dmax=32768,I.head=null,I.hold=0,I.bits=0,I.lencode=I.lendyn=new h.Buf32(c),I.distcode=I.distdyn=new h.Buf32(n),I.sane=1,I.back=-1,g):i}function O(p){var I;return p&&p.state?((I=p.state).wsize=0,I.whave=0,I.wnext=0,y(p)):i}function x(p,I){var r,T;return p&&p.state?(T=p.state,I<0?(r=0,I=-I):(r=1+(I>>4),I<48&&(I&=15)),I&&(I<8||15<I)?i:(T.window!==null&&T.wbits!==I&&(T.window=null),T.wrap=r,T.wbits=I,O(p))):i}function N(p,I){var r,T;return p?(T=new l,(p.state=T).window=null,(r=x(p,I))!==g&&(p.state=null),r):i}var R,M,A=!0;function W(p){if(A){var I;for(R=new h.Buf32(512),M=new h.Buf32(32),I=0;I<144;)p.lens[I++]=8;for(;I<256;)p.lens[I++]=9;for(;I<280;)p.lens[I++]=7;for(;I<288;)p.lens[I++]=8;for(b(v,p.lens,0,288,R,0,p.work,{bits:9}),I=0;I<32;)p.lens[I++]=5;b(m,p.lens,0,32,M,0,p.work,{bits:5}),A=!1}p.lencode=R,p.lenbits=9,p.distcode=M,p.distbits=5}function V(p,I,r,T){var J,P=p.state;return P.window===null&&(P.wsize=1<<P.wbits,P.wnext=0,P.whave=0,P.window=new h.Buf8(P.wsize)),T>=P.wsize?(h.arraySet(P.window,I,r-P.wsize,P.wsize,0),P.wnext=0,P.whave=P.wsize):(T<(J=P.wsize-P.wnext)&&(J=T),h.arraySet(P.window,I,r-T,J,P.wnext),(T-=J)?(h.arraySet(P.window,I,r-T,T,0),P.wnext=T,P.whave=P.wsize):(P.wnext+=J,P.wnext===P.wsize&&(P.wnext=0),P.whave<P.wsize&&(P.whave+=J))),0}k.inflateReset=O,k.inflateReset2=x,k.inflateResetKeep=y,k.inflateInit=function(p){return N(p,15)},k.inflateInit2=N,k.inflate=function(p,I){var r,T,J,P,Q,L,q,C,z,X,G,H,ne,oe,$,re,ae,ie,le,ue,e,B,E,o,s=0,w=new h.Buf8(4),D=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!p||!p.state||!p.output||!p.input&&p.avail_in!==0)return i;(r=p.state).mode===12&&(r.mode=13),Q=p.next_out,J=p.output,q=p.avail_out,P=p.next_in,T=p.input,L=p.avail_in,C=r.hold,z=r.bits,X=L,G=q,B=g;e:for(;;)switch(r.mode){case d:if(r.wrap===0){r.mode=13;break}for(;z<16;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}if(2&r.wrap&&C===35615){w[r.check=0]=255&C,w[1]=C>>>8&255,r.check=t(r.check,w,2,0),z=C=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&C)<<8)+(C>>8))%31){p.msg="incorrect header check",r.mode=30;break}if((15&C)!=8){p.msg="unknown compression method",r.mode=30;break}if(z-=4,e=8+(15&(C>>>=4)),r.wbits===0)r.wbits=e;else if(e>r.wbits){p.msg="invalid window size",r.mode=30;break}r.dmax=1<<e,p.adler=r.check=1,r.mode=512&C?10:12,z=C=0;break;case 2:for(;z<16;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}if(r.flags=C,(255&r.flags)!=8){p.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){p.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=C>>8&1),512&r.flags&&(w[0]=255&C,w[1]=C>>>8&255,r.check=t(r.check,w,2,0)),z=C=0,r.mode=3;case 3:for(;z<32;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}r.head&&(r.head.time=C),512&r.flags&&(w[0]=255&C,w[1]=C>>>8&255,w[2]=C>>>16&255,w[3]=C>>>24&255,r.check=t(r.check,w,4,0)),z=C=0,r.mode=4;case 4:for(;z<16;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}r.head&&(r.head.xflags=255&C,r.head.os=C>>8),512&r.flags&&(w[0]=255&C,w[1]=C>>>8&255,r.check=t(r.check,w,2,0)),z=C=0,r.mode=5;case 5:if(1024&r.flags){for(;z<16;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}r.length=C,r.head&&(r.head.extra_len=C),512&r.flags&&(w[0]=255&C,w[1]=C>>>8&255,r.check=t(r.check,w,2,0)),z=C=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(L<(H=r.length)&&(H=L),H&&(r.head&&(e=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),h.arraySet(r.head.extra,T,P,H,e)),512&r.flags&&(r.check=t(r.check,T,H,P)),L-=H,P+=H,r.length-=H),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(L===0)break e;for(H=0;e=T[P+H++],r.head&&e&&r.length<65536&&(r.head.name+=String.fromCharCode(e)),e&&H<L;);if(512&r.flags&&(r.check=t(r.check,T,H,P)),L-=H,P+=H,e)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(L===0)break e;for(H=0;e=T[P+H++],r.head&&e&&r.length<65536&&(r.head.comment+=String.fromCharCode(e)),e&&H<L;);if(512&r.flags&&(r.check=t(r.check,T,H,P)),L-=H,P+=H,e)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;z<16;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}if(C!==(65535&r.check)){p.msg="header crc mismatch",r.mode=30;break}z=C=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),p.adler=r.check=0,r.mode=12;break;case 10:for(;z<32;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}p.adler=r.check=a(C),z=C=0,r.mode=11;case 11:if(r.havedict===0)return p.next_out=Q,p.avail_out=q,p.next_in=P,p.avail_in=L,r.hold=C,r.bits=z,2;p.adler=r.check=1,r.mode=12;case 12:if(I===5||I===6)break e;case 13:if(r.last){C>>>=7&z,z-=7&z,r.mode=27;break}for(;z<3;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}switch(r.last=1&C,z-=1,3&(C>>>=1)){case 0:r.mode=14;break;case 1:if(W(r),r.mode=20,I!==6)break;C>>>=2,z-=2;break e;case 2:r.mode=17;break;case 3:p.msg="invalid block type",r.mode=30}C>>>=2,z-=2;break;case 14:for(C>>>=7&z,z-=7&z;z<32;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}if((65535&C)!=(C>>>16^65535)){p.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&C,z=C=0,r.mode=15,I===6)break e;case 15:r.mode=16;case 16:if(H=r.length){if(L<H&&(H=L),q<H&&(H=q),H===0)break e;h.arraySet(J,T,P,H,Q),L-=H,P+=H,q-=H,Q+=H,r.length-=H;break}r.mode=12;break;case 17:for(;z<14;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}if(r.nlen=257+(31&C),C>>>=5,z-=5,r.ndist=1+(31&C),C>>>=5,z-=5,r.ncode=4+(15&C),C>>>=4,z-=4,286<r.nlen||30<r.ndist){p.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;z<3;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}r.lens[D[r.have++]]=7&C,C>>>=3,z-=3}for(;r.have<19;)r.lens[D[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,E={bits:r.lenbits},B=b(0,r.lens,0,19,r.lencode,0,r.work,E),r.lenbits=E.bits,B){p.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;re=(s=r.lencode[C&(1<<r.lenbits)-1])>>>16&255,ae=65535&s,!(($=s>>>24)<=z);){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}if(ae<16)C>>>=$,z-=$,r.lens[r.have++]=ae;else{if(ae===16){for(o=$+2;z<o;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}if(C>>>=$,z-=$,r.have===0){p.msg="invalid bit length repeat",r.mode=30;break}e=r.lens[r.have-1],H=3+(3&C),C>>>=2,z-=2}else if(ae===17){for(o=$+3;z<o;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}z-=$,e=0,H=3+(7&(C>>>=$)),C>>>=3,z-=3}else{for(o=$+7;z<o;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}z-=$,e=0,H=11+(127&(C>>>=$)),C>>>=7,z-=7}if(r.have+H>r.nlen+r.ndist){p.msg="invalid bit length repeat",r.mode=30;break}for(;H--;)r.lens[r.have++]=e}}if(r.mode===30)break;if(r.lens[256]===0){p.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,E={bits:r.lenbits},B=b(v,r.lens,0,r.nlen,r.lencode,0,r.work,E),r.lenbits=E.bits,B){p.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,E={bits:r.distbits},B=b(m,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,E),r.distbits=E.bits,B){p.msg="invalid distances set",r.mode=30;break}if(r.mode=20,I===6)break e;case 20:r.mode=21;case 21:if(6<=L&&258<=q){p.next_out=Q,p.avail_out=q,p.next_in=P,p.avail_in=L,r.hold=C,r.bits=z,u(p,G),Q=p.next_out,J=p.output,q=p.avail_out,P=p.next_in,T=p.input,L=p.avail_in,C=r.hold,z=r.bits,r.mode===12&&(r.back=-1);break}for(r.back=0;re=(s=r.lencode[C&(1<<r.lenbits)-1])>>>16&255,ae=65535&s,!(($=s>>>24)<=z);){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}if(re&&(240&re)==0){for(ie=$,le=re,ue=ae;re=(s=r.lencode[ue+((C&(1<<ie+le)-1)>>ie)])>>>16&255,ae=65535&s,!(ie+($=s>>>24)<=z);){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}C>>>=ie,z-=ie,r.back+=ie}if(C>>>=$,z-=$,r.back+=$,r.length=ae,re===0){r.mode=26;break}if(32&re){r.back=-1,r.mode=12;break}if(64&re){p.msg="invalid literal/length code",r.mode=30;break}r.extra=15&re,r.mode=22;case 22:if(r.extra){for(o=r.extra;z<o;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}r.length+=C&(1<<r.extra)-1,C>>>=r.extra,z-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;re=(s=r.distcode[C&(1<<r.distbits)-1])>>>16&255,ae=65535&s,!(($=s>>>24)<=z);){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}if((240&re)==0){for(ie=$,le=re,ue=ae;re=(s=r.distcode[ue+((C&(1<<ie+le)-1)>>ie)])>>>16&255,ae=65535&s,!(ie+($=s>>>24)<=z);){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}C>>>=ie,z-=ie,r.back+=ie}if(C>>>=$,z-=$,r.back+=$,64&re){p.msg="invalid distance code",r.mode=30;break}r.offset=ae,r.extra=15&re,r.mode=24;case 24:if(r.extra){for(o=r.extra;z<o;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}r.offset+=C&(1<<r.extra)-1,C>>>=r.extra,z-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){p.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(q===0)break e;if(H=G-q,r.offset>H){if((H=r.offset-H)>r.whave&&r.sane){p.msg="invalid distance too far back",r.mode=30;break}ne=H>r.wnext?(H-=r.wnext,r.wsize-H):r.wnext-H,H>r.length&&(H=r.length),oe=r.window}else oe=J,ne=Q-r.offset,H=r.length;for(q<H&&(H=q),q-=H,r.length-=H;J[Q++]=oe[ne++],--H;);r.length===0&&(r.mode=21);break;case 26:if(q===0)break e;J[Q++]=r.length,q--,r.mode=21;break;case 27:if(r.wrap){for(;z<32;){if(L===0)break e;L--,C|=T[P++]<<z,z+=8}if(G-=q,p.total_out+=G,r.total+=G,G&&(p.adler=r.check=r.flags?t(r.check,J,G,Q-G):f(r.check,J,G,Q-G)),G=q,(r.flags?C:a(C))!==r.check){p.msg="incorrect data check",r.mode=30;break}z=C=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;z<32;){if(L===0)break e;L--,C+=T[P++]<<z,z+=8}if(C!==(4294967295&r.total)){p.msg="incorrect length check",r.mode=30;break}z=C=0}r.mode=29;case 29:B=1;break e;case 30:B=-3;break e;case 31:return-4;case 32:default:return i}return p.next_out=Q,p.avail_out=q,p.next_in=P,p.avail_in=L,r.hold=C,r.bits=z,(r.wsize||G!==p.avail_out&&r.mode<30&&(r.mode<27||I!==4))&&V(p,p.output,p.next_out,G-p.avail_out)?(r.mode=31,-4):(X-=p.avail_in,G-=p.avail_out,p.total_in+=X,p.total_out+=G,r.total+=G,r.wrap&&G&&(p.adler=r.check=r.flags?t(r.check,J,G,p.next_out-G):f(r.check,J,G,p.next_out-G)),p.data_type=r.bits+(r.last?64:0)+(r.mode===12?128:0)+(r.mode===20||r.mode===15?256:0),(X==0&&G===0||I===4)&&B===g&&(B=-5),B)},k.inflateEnd=function(p){if(!p||!p.state)return i;var I=p.state;return I.window&&(I.window=null),p.state=null,g},k.inflateGetHeader=function(p,I){var r;return p&&p.state?(2&(r=p.state).wrap)==0?i:((r.head=I).done=!1,g):i},k.inflateSetDictionary=function(p,I){var r,T=I.length;return p&&p.state?(r=p.state).wrap!==0&&r.mode!==11?i:r.mode===11&&f(1,I,T,0)!==r.check?-3:V(p,I,T,T)?(r.mode=31,-4):(r.havedict=1,g):i},k.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(_,U,k){"use strict";var h=_("../utils/common"),f=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],t=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],u=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],b=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];U.exports=function(v,m,g,i,d,c,n,a){var l,y,O,x,N,R,M,A,W,V=a.bits,p=0,I=0,r=0,T=0,J=0,P=0,Q=0,L=0,q=0,C=0,z=null,X=0,G=new h.Buf16(16),H=new h.Buf16(16),ne=null,oe=0;for(p=0;p<=15;p++)G[p]=0;for(I=0;I<i;I++)G[m[g+I]]++;for(J=V,T=15;1<=T&&G[T]===0;T--);if(T<J&&(J=T),T===0)return d[c++]=20971520,d[c++]=20971520,a.bits=1,0;for(r=1;r<T&&G[r]===0;r++);for(J<r&&(J=r),p=L=1;p<=15;p++)if(L<<=1,(L-=G[p])<0)return-1;if(0<L&&(v===0||T!==1))return-1;for(H[1]=0,p=1;p<15;p++)H[p+1]=H[p]+G[p];for(I=0;I<i;I++)m[g+I]!==0&&(n[H[m[g+I]]++]=I);if(R=v===0?(z=ne=n,19):v===1?(z=f,X-=257,ne=t,oe-=257,256):(z=u,ne=b,-1),p=r,N=c,Q=I=C=0,O=-1,x=(q=1<<(P=J))-1,v===1&&852<q||v===2&&592<q)return 1;for(;;){for(M=p-Q,W=n[I]<R?(A=0,n[I]):n[I]>R?(A=ne[oe+n[I]],z[X+n[I]]):(A=96,0),l=1<<p-Q,r=y=1<<P;d[N+(C>>Q)+(y-=l)]=M<<24|A<<16|W|0,y!==0;);for(l=1<<p-1;C&l;)l>>=1;if(l!==0?(C&=l-1,C+=l):C=0,I++,--G[p]==0){if(p===T)break;p=m[g+n[I]]}if(J<p&&(C&x)!==O){for(Q===0&&(Q=J),N+=r,L=1<<(P=p-Q);P+Q<T&&!((L-=G[P+Q])<=0);)P++,L<<=1;if(q+=1<<P,v===1&&852<q||v===2&&592<q)return 1;d[O=C&x]=J<<24|P<<16|N-c|0}}return C!==0&&(d[N+C]=p-Q<<24|64<<16|0),a.bits=J,0}},{"../utils/common":41}],51:[function(_,U,k){"use strict";U.exports={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"}},{}],52:[function(_,U,k){"use strict";var h=_("../utils/common"),f=0,t=1;function u(s){for(var w=s.length;0<=--w;)s[w]=0}var b=0,v=29,m=256,g=m+1+v,i=30,d=19,c=2*g+1,n=15,a=16,l=7,y=256,O=16,x=17,N=18,R=[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],M=[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],A=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],W=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],V=new Array(2*(g+2));u(V);var p=new Array(2*i);u(p);var I=new Array(512);u(I);var r=new Array(256);u(r);var T=new Array(v);u(T);var J,P,Q,L=new Array(i);function q(s,w,D,F,S){this.static_tree=s,this.extra_bits=w,this.extra_base=D,this.elems=F,this.max_length=S,this.has_stree=s&&s.length}function C(s,w){this.dyn_tree=s,this.max_code=0,this.stat_desc=w}function z(s){return s<256?I[s]:I[256+(s>>>7)]}function X(s,w){s.pending_buf[s.pending++]=255&w,s.pending_buf[s.pending++]=w>>>8&255}function G(s,w,D){s.bi_valid>a-D?(s.bi_buf|=w<<s.bi_valid&65535,X(s,s.bi_buf),s.bi_buf=w>>a-s.bi_valid,s.bi_valid+=D-a):(s.bi_buf|=w<<s.bi_valid&65535,s.bi_valid+=D)}function H(s,w,D){G(s,D[2*w],D[2*w+1])}function ne(s,w){for(var D=0;D|=1&s,s>>>=1,D<<=1,0<--w;);return D>>>1}function oe(s,w,D){var F,S,j=new Array(n+1),K=0;for(F=1;F<=n;F++)j[F]=K=K+D[F-1]<<1;for(S=0;S<=w;S++){var Z=s[2*S+1];Z!==0&&(s[2*S]=ne(j[Z]++,Z))}}function $(s){var w;for(w=0;w<g;w++)s.dyn_ltree[2*w]=0;for(w=0;w<i;w++)s.dyn_dtree[2*w]=0;for(w=0;w<d;w++)s.bl_tree[2*w]=0;s.dyn_ltree[2*y]=1,s.opt_len=s.static_len=0,s.last_lit=s.matches=0}function re(s){8<s.bi_valid?X(s,s.bi_buf):0<s.bi_valid&&(s.pending_buf[s.pending++]=s.bi_buf),s.bi_buf=0,s.bi_valid=0}function ae(s,w,D,F){var S=2*w,j=2*D;return s[S]<s[j]||s[S]===s[j]&&F[w]<=F[D]}function ie(s,w,D){for(var F=s.heap[D],S=D<<1;S<=s.heap_len&&(S<s.heap_len&&ae(w,s.heap[S+1],s.heap[S],s.depth)&&S++,!ae(w,F,s.heap[S],s.depth));)s.heap[D]=s.heap[S],D=S,S<<=1;s.heap[D]=F}function le(s,w,D){var F,S,j,K,Z=0;if(s.last_lit!==0)for(;F=s.pending_buf[s.d_buf+2*Z]<<8|s.pending_buf[s.d_buf+2*Z+1],S=s.pending_buf[s.l_buf+Z],Z++,F===0?H(s,S,w):(H(s,(j=r[S])+m+1,w),(K=R[j])!==0&&G(s,S-=T[j],K),H(s,j=z(--F),D),(K=M[j])!==0&&G(s,F-=L[j],K)),Z<s.last_lit;);H(s,y,w)}function ue(s,w){var D,F,S,j=w.dyn_tree,K=w.stat_desc.static_tree,Z=w.stat_desc.has_stree,Y=w.stat_desc.elems,te=-1;for(s.heap_len=0,s.heap_max=c,D=0;D<Y;D++)j[2*D]!==0?(s.heap[++s.heap_len]=te=D,s.depth[D]=0):j[2*D+1]=0;for(;s.heap_len<2;)j[2*(S=s.heap[++s.heap_len]=te<2?++te:0)]=1,s.depth[S]=0,s.opt_len--,Z&&(s.static_len-=K[2*S+1]);for(w.max_code=te,D=s.heap_len>>1;1<=D;D--)ie(s,j,D);for(S=Y;D=s.heap[1],s.heap[1]=s.heap[s.heap_len--],ie(s,j,1),F=s.heap[1],s.heap[--s.heap_max]=D,s.heap[--s.heap_max]=F,j[2*S]=j[2*D]+j[2*F],s.depth[S]=(s.depth[D]>=s.depth[F]?s.depth[D]:s.depth[F])+1,j[2*D+1]=j[2*F+1]=S,s.heap[1]=S++,ie(s,j,1),2<=s.heap_len;);s.heap[--s.heap_max]=s.heap[1],function(ee,he){var ce,fe,pe,se,ge,ve,de=he.dyn_tree,we=he.max_code,Se=he.stat_desc.static_tree,ze=he.stat_desc.has_stree,Ce=he.stat_desc.extra_bits,ke=he.stat_desc.extra_base,me=he.stat_desc.max_length,be=0;for(se=0;se<=n;se++)ee.bl_count[se]=0;for(de[2*ee.heap[ee.heap_max]+1]=0,ce=ee.heap_max+1;ce<c;ce++)me<(se=de[2*de[2*(fe=ee.heap[ce])+1]+1]+1)&&(se=me,be++),de[2*fe+1]=se,we<fe||(ee.bl_count[se]++,ge=0,ke<=fe&&(ge=Ce[fe-ke]),ve=de[2*fe],ee.opt_len+=ve*(se+ge),ze&&(ee.static_len+=ve*(Se[2*fe+1]+ge)));if(be!==0){do{for(se=me-1;ee.bl_count[se]===0;)se--;ee.bl_count[se]--,ee.bl_count[se+1]+=2,ee.bl_count[me]--,be-=2}while(0<be);for(se=me;se!==0;se--)for(fe=ee.bl_count[se];fe!==0;)we<(pe=ee.heap[--ce])||(de[2*pe+1]!==se&&(ee.opt_len+=(se-de[2*pe+1])*de[2*pe],de[2*pe+1]=se),fe--)}}(s,w),oe(j,te,s.bl_count)}function e(s,w,D){var F,S,j=-1,K=w[1],Z=0,Y=7,te=4;for(K===0&&(Y=138,te=3),w[2*(D+1)+1]=65535,F=0;F<=D;F++)S=K,K=w[2*(F+1)+1],++Z<Y&&S===K||(Z<te?s.bl_tree[2*S]+=Z:S!==0?(S!==j&&s.bl_tree[2*S]++,s.bl_tree[2*O]++):Z<=10?s.bl_tree[2*x]++:s.bl_tree[2*N]++,j=S,te=(Z=0)===K?(Y=138,3):S===K?(Y=6,3):(Y=7,4))}function B(s,w,D){var F,S,j=-1,K=w[1],Z=0,Y=7,te=4;for(K===0&&(Y=138,te=3),F=0;F<=D;F++)if(S=K,K=w[2*(F+1)+1],!(++Z<Y&&S===K)){if(Z<te)for(;H(s,S,s.bl_tree),--Z!=0;);else S!==0?(S!==j&&(H(s,S,s.bl_tree),Z--),H(s,O,s.bl_tree),G(s,Z-3,2)):Z<=10?(H(s,x,s.bl_tree),G(s,Z-3,3)):(H(s,N,s.bl_tree),G(s,Z-11,7));j=S,te=(Z=0)===K?(Y=138,3):S===K?(Y=6,3):(Y=7,4)}}u(L);var E=!1;function o(s,w,D,F){G(s,(b<<1)+(F?1:0),3),function(S,j,K,Z){re(S),Z&&(X(S,K),X(S,~K)),h.arraySet(S.pending_buf,S.window,j,K,S.pending),S.pending+=K}(s,w,D,!0)}k._tr_init=function(s){E||(function(){var w,D,F,S,j,K=new Array(n+1);for(S=F=0;S<v-1;S++)for(T[S]=F,w=0;w<1<<R[S];w++)r[F++]=S;for(r[F-1]=S,S=j=0;S<16;S++)for(L[S]=j,w=0;w<1<<M[S];w++)I[j++]=S;for(j>>=7;S<i;S++)for(L[S]=j<<7,w=0;w<1<<M[S]-7;w++)I[256+j++]=S;for(D=0;D<=n;D++)K[D]=0;for(w=0;w<=143;)V[2*w+1]=8,w++,K[8]++;for(;w<=255;)V[2*w+1]=9,w++,K[9]++;for(;w<=279;)V[2*w+1]=7,w++,K[7]++;for(;w<=287;)V[2*w+1]=8,w++,K[8]++;for(oe(V,g+1,K),w=0;w<i;w++)p[2*w+1]=5,p[2*w]=ne(w,5);J=new q(V,R,m+1,g,n),P=new q(p,M,0,i,n),Q=new q(new Array(0),A,0,d,l)}(),E=!0),s.l_desc=new C(s.dyn_ltree,J),s.d_desc=new C(s.dyn_dtree,P),s.bl_desc=new C(s.bl_tree,Q),s.bi_buf=0,s.bi_valid=0,$(s)},k._tr_stored_block=o,k._tr_flush_block=function(s,w,D,F){var S,j,K=0;0<s.level?(s.strm.data_type===2&&(s.strm.data_type=function(Z){var Y,te=4093624447;for(Y=0;Y<=31;Y++,te>>>=1)if(1&te&&Z.dyn_ltree[2*Y]!==0)return f;if(Z.dyn_ltree[18]!==0||Z.dyn_ltree[20]!==0||Z.dyn_ltree[26]!==0)return t;for(Y=32;Y<m;Y++)if(Z.dyn_ltree[2*Y]!==0)return t;return f}(s)),ue(s,s.l_desc),ue(s,s.d_desc),K=function(Z){var Y;for(e(Z,Z.dyn_ltree,Z.l_desc.max_code),e(Z,Z.dyn_dtree,Z.d_desc.max_code),ue(Z,Z.bl_desc),Y=d-1;3<=Y&&Z.bl_tree[2*W[Y]+1]===0;Y--);return Z.opt_len+=3*(Y+1)+5+5+4,Y}(s),S=s.opt_len+3+7>>>3,(j=s.static_len+3+7>>>3)<=S&&(S=j)):S=j=D+5,D+4<=S&&w!==-1?o(s,w,D,F):s.strategy===4||j===S?(G(s,2+(F?1:0),3),le(s,V,p)):(G(s,4+(F?1:0),3),function(Z,Y,te,ee){var he;for(G(Z,Y-257,5),G(Z,te-1,5),G(Z,ee-4,4),he=0;he<ee;he++)G(Z,Z.bl_tree[2*W[he]+1],3);B(Z,Z.dyn_ltree,Y-1),B(Z,Z.dyn_dtree,te-1)}(s,s.l_desc.max_code+1,s.d_desc.max_code+1,K+1),le(s,s.dyn_ltree,s.dyn_dtree)),$(s),F&&re(s)},k._tr_tally=function(s,w,D){return s.pending_buf[s.d_buf+2*s.last_lit]=w>>>8&255,s.pending_buf[s.d_buf+2*s.last_lit+1]=255&w,s.pending_buf[s.l_buf+s.last_lit]=255&D,s.last_lit++,w===0?s.dyn_ltree[2*D]++:(s.matches++,w--,s.dyn_ltree[2*(r[D]+m+1)]++,s.dyn_dtree[2*z(w)]++),s.last_lit===s.lit_bufsize-1},k._tr_align=function(s){G(s,2,3),H(s,y,V),function(w){w.bi_valid===16?(X(w,w.bi_buf),w.bi_buf=0,w.bi_valid=0):8<=w.bi_valid&&(w.pending_buf[w.pending++]=255&w.bi_buf,w.bi_buf>>=8,w.bi_valid-=8)}(s)}},{"../utils/common":41}],53:[function(_,U,k){"use strict";U.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(_,U,k){"use strict";U.exports=typeof setImmediate=="function"?setImmediate:function(){var h=[].slice.apply(arguments);h.splice(1,0,0),setTimeout.apply(null,h)}},{}]},{},[10])(10)})});export default Ae();
/*!
JSZip v3.7.1 - A JavaScript class for generating and reading zip files
<http://stuartk.com/jszip>
(c) 2009-2016 Stuart Knightley <stuart [at] stuartk.com>
Dual licenced under the MIT license or GPLv3. See https://raw.github.com/Stuk/jszip/master/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/master/LICENSE
*/
//# sourceMappingURL=jszip.min-SSIOTNUA.js.map