Mars3D-screen_web/dist/assets/js/annexDowload-1faf63f6.js
2023-10-10 09:36:22 +08:00

13 lines
98 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{a3 as dt,a6 as Ot}from"./index-ccab2584.js";import{c as wt}from"./_commonjs-dynamic-modules-d7dd40bd.js";var zt={exports:{}};/*!
JSZip v3.10.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/main/LICENSE.markdown.
JSZip uses the library pako released under the MIT license :
https://github.com/nodeca/pako/blob/main/LICENSE
*/(function(pt,mt){(function(b){pt.exports=b()})(function(){return function b(T,w,l){function o(p,g){if(!w[p]){if(!T[p]){var _=typeof wt=="function"&&wt;if(!g&&_)return _(p,!0);if(n)return n(p,!0);var m=new Error("Cannot find module '"+p+"'");throw m.code="MODULE_NOT_FOUND",m}var i=w[p]={exports:{}};T[p][0].call(i.exports,function(c){var r=T[p][1][c];return o(r||c)},i,i.exports,b,T,w,l)}return w[p].exports}for(var n=typeof wt=="function"&&wt,h=0;h<l.length;h++)o(l[h]);return o}({1:[function(b,T,w){var l=b("./utils"),o=b("./support"),n="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";w.encode=function(h){for(var p,g,_,m,i,c,r,u=[],a=0,d=h.length,y=d,S=l.getTypeOf(h)!=="string";a<h.length;)y=d-a,_=S?(p=h[a++],g=a<d?h[a++]:0,a<d?h[a++]:0):(p=h.charCodeAt(a++),g=a<d?h.charCodeAt(a++):0,a<d?h.charCodeAt(a++):0),m=p>>2,i=(3&p)<<4|g>>4,c=1<y?(15&g)<<2|_>>6:64,r=2<y?63&_:64,u.push(n.charAt(m)+n.charAt(i)+n.charAt(c)+n.charAt(r));return u.join("")},w.decode=function(h){var p,g,_,m,i,c,r=0,u=0,a="data:";if(h.substr(0,a.length)===a)throw new Error("Invalid base64 input, it looks like a data url.");var d,y=3*(h=h.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(h.charAt(h.length-1)===n.charAt(64)&&y--,h.charAt(h.length-2)===n.charAt(64)&&y--,y%1!=0)throw new Error("Invalid base64 input, bad content length.");for(d=o.uint8array?new Uint8Array(0|y):new Array(0|y);r<h.length;)p=n.indexOf(h.charAt(r++))<<2|(m=n.indexOf(h.charAt(r++)))>>4,g=(15&m)<<4|(i=n.indexOf(h.charAt(r++)))>>2,_=(3&i)<<6|(c=n.indexOf(h.charAt(r++))),d[u++]=p,i!==64&&(d[u++]=g),c!==64&&(d[u++]=_);return d}},{"./support":30,"./utils":32}],2:[function(b,T,w){var l=b("./external"),o=b("./stream/DataWorker"),n=b("./stream/Crc32Probe"),h=b("./stream/DataLengthProbe");function p(g,_,m,i,c){this.compressedSize=g,this.uncompressedSize=_,this.crc32=m,this.compression=i,this.compressedContent=c}p.prototype={getContentWorker:function(){var g=new o(l.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new h("data_length")),_=this;return g.on("end",function(){if(this.streamInfo.data_length!==_.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),g},getCompressedWorker:function(){return new o(l.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},p.createWorkerFrom=function(g,_,m){return g.pipe(new n).pipe(new h("uncompressedSize")).pipe(_.compressWorker(m)).pipe(new h("compressedSize")).withStreamInfo("compression",_)},T.exports=p},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(b,T,w){var l=b("./stream/GenericWorker");w.STORE={magic:"\0\0",compressWorker:function(){return new l("STORE compression")},uncompressWorker:function(){return new l("STORE decompression")}},w.DEFLATE=b("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(b,T,w){var l=b("./utils"),o=function(){for(var n,h=[],p=0;p<256;p++){n=p;for(var g=0;g<8;g++)n=1&n?3988292384^n>>>1:n>>>1;h[p]=n}return h}();T.exports=function(n,h){return n!==void 0&&n.length?l.getTypeOf(n)!=="string"?function(p,g,_,m){var i=o,c=m+_;p^=-1;for(var r=m;r<c;r++)p=p>>>8^i[255&(p^g[r])];return-1^p}(0|h,n,n.length,0):function(p,g,_,m){var i=o,c=m+_;p^=-1;for(var r=m;r<c;r++)p=p>>>8^i[255&(p^g.charCodeAt(r))];return-1^p}(0|h,n,n.length,0):0}},{"./utils":32}],5:[function(b,T,w){w.base64=!1,w.binary=!1,w.dir=!1,w.createFolders=!0,w.date=null,w.compression=null,w.compressionOptions=null,w.comment=null,w.unixPermissions=null,w.dosPermissions=null},{}],6:[function(b,T,w){var l=null;l=typeof Promise<"u"?Promise:b("lie"),T.exports={Promise:l}},{lie:37}],7:[function(b,T,w){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",o=b("pako"),n=b("./utils"),h=b("./stream/GenericWorker"),p=l?"uint8array":"array";function g(_,m){h.call(this,"FlateWorker/"+_),this._pako=null,this._pakoAction=_,this._pakoOptions=m,this.meta={}}w.magic="\b\0",n.inherits(g,h),g.prototype.processChunk=function(_){this.meta=_.meta,this._pako===null&&this._createPako(),this._pako.push(n.transformTo(p,_.data),!1)},g.prototype.flush=function(){h.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},g.prototype.cleanUp=function(){h.prototype.cleanUp.call(this),this._pako=null},g.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var _=this;this._pako.onData=function(m){_.push({data:m,meta:_.meta})}},w.compressWorker=function(_){return new g("Deflate",_)},w.uncompressWorker=function(){return new g("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(b,T,w){function l(i,c){var r,u="";for(r=0;r<c;r++)u+=String.fromCharCode(255&i),i>>>=8;return u}function o(i,c,r,u,a,d){var y,S,x=i.file,F=i.compression,O=d!==p.utf8encode,P=n.transformTo("string",d(x.name)),I=n.transformTo("string",p.utf8encode(x.name)),M=x.comment,V=n.transformTo("string",d(M)),v=n.transformTo("string",p.utf8encode(M)),B=I.length!==x.name.length,e=v.length!==M.length,D="",J="",L="",$=x.dir,j=x.date,q={crc32:0,compressedSize:0,uncompressedSize:0};c&&!r||(q.crc32=i.crc32,q.compressedSize=i.compressedSize,q.uncompressedSize=i.uncompressedSize);var A=0;c&&(A|=8),O||!B&&!e||(A|=2048);var E=0,X=0;$&&(E|=16),a==="UNIX"?(X=798,E|=function(H,nt){var ot=H;return H||(ot=nt?16893:33204),(65535&ot)<<16}(x.unixPermissions,$)):(X=20,E|=function(H){return 63&(H||0)}(x.dosPermissions)),y=j.getUTCHours(),y<<=6,y|=j.getUTCMinutes(),y<<=5,y|=j.getUTCSeconds()/2,S=j.getUTCFullYear()-1980,S<<=4,S|=j.getUTCMonth()+1,S<<=5,S|=j.getUTCDate(),B&&(J=l(1,1)+l(g(P),4)+I,D+="up"+l(J.length,2)+J),e&&(L=l(1,1)+l(g(V),4)+v,D+="uc"+l(L.length,2)+L);var G="";return G+=`
\0`,G+=l(A,2),G+=F.magic,G+=l(y,2),G+=l(S,2),G+=l(q.crc32,4),G+=l(q.compressedSize,4),G+=l(q.uncompressedSize,4),G+=l(P.length,2),G+=l(D.length,2),{fileRecord:_.LOCAL_FILE_HEADER+G+P+D,dirRecord:_.CENTRAL_FILE_HEADER+l(X,2)+G+l(V.length,2)+"\0\0\0\0"+l(E,4)+l(u,4)+P+D+V}}var n=b("../utils"),h=b("../stream/GenericWorker"),p=b("../utf8"),g=b("../crc32"),_=b("../signature");function m(i,c,r,u){h.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=c,this.zipPlatform=r,this.encodeFileName=u,this.streamFiles=i,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}n.inherits(m,h),m.prototype.push=function(i){var c=i.meta.percent||0,r=this.entriesCount,u=this._sources.length;this.accumulate?this.contentBuffer.push(i):(this.bytesWritten+=i.data.length,h.prototype.push.call(this,{data:i.data,meta:{currentFile:this.currentFile,percent:r?(c+100*(r-u-1))/r:100}}))},m.prototype.openedSource=function(i){this.currentSourceOffset=this.bytesWritten,this.currentFile=i.file.name;var c=this.streamFiles&&!i.file.dir;if(c){var r=o(i,c,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(i){this.accumulate=!1;var c=this.streamFiles&&!i.file.dir,r=o(i,c,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),c)this.push({data:function(u){return _.DATA_DESCRIPTOR+l(u.crc32,4)+l(u.compressedSize,4)+l(u.uncompressedSize,4)}(i),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},m.prototype.flush=function(){for(var i=this.bytesWritten,c=0;c<this.dirRecords.length;c++)this.push({data:this.dirRecords[c],meta:{percent:100}});var r=this.bytesWritten-i,u=function(a,d,y,S,x){var F=n.transformTo("string",x(S));return _.CENTRAL_DIRECTORY_END+"\0\0\0\0"+l(a,2)+l(a,2)+l(d,4)+l(y,4)+l(F.length,2)+F}(this.dirRecords.length,r,i,this.zipComment,this.encodeFileName);this.push({data:u,meta:{percent:100}})},m.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},m.prototype.registerPrevious=function(i){this._sources.push(i);var c=this;return i.on("data",function(r){c.processChunk(r)}),i.on("end",function(){c.closedSource(c.previous.streamInfo),c._sources.length?c.prepareNextSource():c.end()}),i.on("error",function(r){c.error(r)}),this},m.prototype.resume=function(){return!!h.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},m.prototype.error=function(i){var c=this._sources;if(!h.prototype.error.call(this,i))return!1;for(var r=0;r<c.length;r++)try{c[r].error(i)}catch{}return!0},m.prototype.lock=function(){h.prototype.lock.call(this);for(var i=this._sources,c=0;c<i.length;c++)i[c].lock()},T.exports=m},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(b,T,w){var l=b("../compressions"),o=b("./ZipFileWorker");w.generateWorker=function(n,h,p){var g=new o(h.streamFiles,p,h.platform,h.encodeFileName),_=0;try{n.forEach(function(m,i){_++;var c=function(d,y){var S=d||y,x=l[S];if(!x)throw new Error(S+" is not a valid compression method !");return x}(i.options.compression,h.compression),r=i.options.compressionOptions||h.compressionOptions||{},u=i.dir,a=i.date;i._compressWorker(c,r).withStreamInfo("file",{name:m,dir:u,date:a,comment:i.comment||"",unixPermissions:i.unixPermissions,dosPermissions:i.dosPermissions}).pipe(g)}),g.entriesCount=_}catch(m){g.error(m)}return g}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(b,T,w){function l(){if(!(this instanceof l))return new l;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 o=new l;for(var n in this)typeof this[n]!="function"&&(o[n]=this[n]);return o}}(l.prototype=b("./object")).loadAsync=b("./load"),l.support=b("./support"),l.defaults=b("./defaults"),l.version="3.10.1",l.loadAsync=function(o,n){return new l().loadAsync(o,n)},l.external=b("./external"),T.exports=l},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(b,T,w){var l=b("./utils"),o=b("./external"),n=b("./utf8"),h=b("./zipEntries"),p=b("./stream/Crc32Probe"),g=b("./nodejsUtils");function _(m){return new o.Promise(function(i,c){var r=m.decompressed.getContentWorker().pipe(new p);r.on("error",function(u){c(u)}).on("end",function(){r.streamInfo.crc32!==m.decompressed.crc32?c(new Error("Corrupted zip : CRC32 mismatch")):i()}).resume()})}T.exports=function(m,i){var c=this;return i=l.extend(i||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:n.utf8decode}),g.isNode&&g.isStream(m)?o.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):l.prepareContent("the loaded zip file",m,!0,i.optimizedBinaryString,i.base64).then(function(r){var u=new h(i);return u.load(r),u}).then(function(r){var u=[o.Promise.resolve(r)],a=r.files;if(i.checkCRC32)for(var d=0;d<a.length;d++)u.push(_(a[d]));return o.Promise.all(u)}).then(function(r){for(var u=r.shift(),a=u.files,d=0;d<a.length;d++){var y=a[d],S=y.fileNameStr,x=l.resolve(y.fileNameStr);c.file(x,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}),y.dir||(c.file(x).unsafeOriginalName=S)}return u.zipComment.length&&(c.comment=u.zipComment),c})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(b,T,w){var l=b("../utils"),o=b("../stream/GenericWorker");function n(h,p){o.call(this,"Nodejs stream input adapter for "+h),this._upstreamEnded=!1,this._bindStream(p)}l.inherits(n,o),n.prototype._bindStream=function(h){var p=this;(this._stream=h).pause(),h.on("data",function(g){p.push({data:g,meta:{percent:0}})}).on("error",function(g){p.isPaused?this.generatedError=g:p.error(g)}).on("end",function(){p.isPaused?p._upstreamEnded=!0:p.end()})},n.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},T.exports=n},{"../stream/GenericWorker":28,"../utils":32}],13:[function(b,T,w){var l=b("readable-stream").Readable;function o(n,h,p){l.call(this,h),this._helper=n;var g=this;n.on("data",function(_,m){g.push(_)||g._helper.pause(),p&&p(m)}).on("error",function(_){g.emit("error",_)}).on("end",function(){g.push(null)})}b("../utils").inherits(o,l),o.prototype._read=function(){this._helper.resume()},T.exports=o},{"../utils":32,"readable-stream":16}],14:[function(b,T,w){T.exports={isNode:typeof Buffer<"u",newBufferFrom:function(l,o){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(l,o);if(typeof l=="number")throw new Error('The "data" argument must not be a number');return new Buffer(l,o)},allocBuffer:function(l){if(Buffer.alloc)return Buffer.alloc(l);var o=new Buffer(l);return o.fill(0),o},isBuffer:function(l){return Buffer.isBuffer(l)},isStream:function(l){return l&&typeof l.on=="function"&&typeof l.pause=="function"&&typeof l.resume=="function"}}},{}],15:[function(b,T,w){function l(x,F,O){var P,I=n.getTypeOf(F),M=n.extend(O||{},g);M.date=M.date||new Date,M.compression!==null&&(M.compression=M.compression.toUpperCase()),typeof M.unixPermissions=="string"&&(M.unixPermissions=parseInt(M.unixPermissions,8)),M.unixPermissions&&16384&M.unixPermissions&&(M.dir=!0),M.dosPermissions&&16&M.dosPermissions&&(M.dir=!0),M.dir&&(x=a(x)),M.createFolders&&(P=u(x))&&d.call(this,P,!0);var V=I==="string"&&M.binary===!1&&M.base64===!1;O&&O.binary!==void 0||(M.binary=!V),(F instanceof _&&F.uncompressedSize===0||M.dir||!F||F.length===0)&&(M.base64=!1,M.binary=!0,F="",M.compression="STORE",I="string");var v=null;v=F instanceof _||F instanceof h?F:c.isNode&&c.isStream(F)?new r(x,F):n.prepareContent(x,F,M.binary,M.optimizedBinaryString,M.base64);var B=new m(x,v,M);this.files[x]=B}var o=b("./utf8"),n=b("./utils"),h=b("./stream/GenericWorker"),p=b("./stream/StreamHelper"),g=b("./defaults"),_=b("./compressedObject"),m=b("./zipObject"),i=b("./generate"),c=b("./nodejsUtils"),r=b("./nodejs/NodejsStreamInputAdapter"),u=function(x){x.slice(-1)==="/"&&(x=x.substring(0,x.length-1));var F=x.lastIndexOf("/");return 0<F?x.substring(0,F):""},a=function(x){return x.slice(-1)!=="/"&&(x+="/"),x},d=function(x,F){return F=F!==void 0?F:g.createFolders,x=a(x),this.files[x]||l.call(this,x,null,{dir:!0,createFolders:F}),this.files[x]};function y(x){return Object.prototype.toString.call(x)==="[object RegExp]"}var S={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(x){var F,O,P;for(F in this.files)P=this.files[F],(O=F.slice(this.root.length,F.length))&&F.slice(0,this.root.length)===this.root&&x(O,P)},filter:function(x){var F=[];return this.forEach(function(O,P){x(O,P)&&F.push(P)}),F},file:function(x,F,O){if(arguments.length!==1)return x=this.root+x,l.call(this,x,F,O),this;if(y(x)){var P=x;return this.filter(function(M,V){return!V.dir&&P.test(M)})}var I=this.files[this.root+x];return I&&!I.dir?I:null},folder:function(x){if(!x)return this;if(y(x))return this.filter(function(I,M){return M.dir&&x.test(I)});var F=this.root+x,O=d.call(this,F),P=this.clone();return P.root=O.name,P},remove:function(x){x=this.root+x;var F=this.files[x];if(F||(x.slice(-1)!=="/"&&(x+="/"),F=this.files[x]),F&&!F.dir)delete this.files[x];else for(var O=this.filter(function(I,M){return M.name.slice(0,x.length)===x}),P=0;P<O.length;P++)delete this.files[O[P].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(x){var F,O={};try{if((O=n.extend(x||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:o.utf8encode})).type=O.type.toLowerCase(),O.compression=O.compression.toUpperCase(),O.type==="binarystring"&&(O.type="string"),!O.type)throw new Error("No output type specified.");n.checkSupport(O.type),O.platform!=="darwin"&&O.platform!=="freebsd"&&O.platform!=="linux"&&O.platform!=="sunos"||(O.platform="UNIX"),O.platform==="win32"&&(O.platform="DOS");var P=O.comment||this.comment||"";F=i.generateWorker(this,O,P)}catch(I){(F=new h("error")).error(I)}return new p(F,O.type||"string",O.mimeType)},generateAsync:function(x,F){return this.generateInternalStream(x).accumulate(F)},generateNodeStream:function(x,F){return(x=x||{}).type||(x.type="nodebuffer"),this.generateInternalStream(x).toNodejsStream(F)}};T.exports=S},{"./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(b,T,w){T.exports=b("stream")},{stream:void 0}],17:[function(b,T,w){var l=b("./DataReader");function o(n){l.call(this,n);for(var h=0;h<this.data.length;h++)n[h]=255&n[h]}b("../utils").inherits(o,l),o.prototype.byteAt=function(n){return this.data[this.zero+n]},o.prototype.lastIndexOfSignature=function(n){for(var h=n.charCodeAt(0),p=n.charCodeAt(1),g=n.charCodeAt(2),_=n.charCodeAt(3),m=this.length-4;0<=m;--m)if(this.data[m]===h&&this.data[m+1]===p&&this.data[m+2]===g&&this.data[m+3]===_)return m-this.zero;return-1},o.prototype.readAndCheckSignature=function(n){var h=n.charCodeAt(0),p=n.charCodeAt(1),g=n.charCodeAt(2),_=n.charCodeAt(3),m=this.readData(4);return h===m[0]&&p===m[1]&&g===m[2]&&_===m[3]},o.prototype.readData=function(n){if(this.checkOffset(n),n===0)return[];var h=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},T.exports=o},{"../utils":32,"./DataReader":18}],18:[function(b,T,w){var l=b("../utils");function o(n){this.data=n,this.length=n.length,this.index=0,this.zero=0}o.prototype={checkOffset:function(n){this.checkIndex(this.index+n)},checkIndex:function(n){if(this.length<this.zero+n||n<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+n+"). Corrupted zip ?")},setIndex:function(n){this.checkIndex(n),this.index=n},skip:function(n){this.setIndex(this.index+n)},byteAt:function(){},readInt:function(n){var h,p=0;for(this.checkOffset(n),h=this.index+n-1;h>=this.index;h--)p=(p<<8)+this.byteAt(h);return this.index+=n,p},readString:function(n){return l.transformTo("string",this.readData(n))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var n=this.readInt(4);return new Date(Date.UTC(1980+(n>>25&127),(n>>21&15)-1,n>>16&31,n>>11&31,n>>5&63,(31&n)<<1))}},T.exports=o},{"../utils":32}],19:[function(b,T,w){var l=b("./Uint8ArrayReader");function o(n){l.call(this,n)}b("../utils").inherits(o,l),o.prototype.readData=function(n){this.checkOffset(n);var h=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},T.exports=o},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(b,T,w){var l=b("./DataReader");function o(n){l.call(this,n)}b("../utils").inherits(o,l),o.prototype.byteAt=function(n){return this.data.charCodeAt(this.zero+n)},o.prototype.lastIndexOfSignature=function(n){return this.data.lastIndexOf(n)-this.zero},o.prototype.readAndCheckSignature=function(n){return n===this.readData(4)},o.prototype.readData=function(n){this.checkOffset(n);var h=this.data.slice(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},T.exports=o},{"../utils":32,"./DataReader":18}],21:[function(b,T,w){var l=b("./ArrayReader");function o(n){l.call(this,n)}b("../utils").inherits(o,l),o.prototype.readData=function(n){if(this.checkOffset(n),n===0)return new Uint8Array(0);var h=this.data.subarray(this.zero+this.index,this.zero+this.index+n);return this.index+=n,h},T.exports=o},{"../utils":32,"./ArrayReader":17}],22:[function(b,T,w){var l=b("../utils"),o=b("../support"),n=b("./ArrayReader"),h=b("./StringReader"),p=b("./NodeBufferReader"),g=b("./Uint8ArrayReader");T.exports=function(_){var m=l.getTypeOf(_);return l.checkSupport(m),m!=="string"||o.uint8array?m==="nodebuffer"?new p(_):o.uint8array?new g(l.transformTo("uint8array",_)):new n(l.transformTo("array",_)):new h(_)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(b,T,w){w.LOCAL_FILE_HEADER="PK",w.CENTRAL_FILE_HEADER="PK",w.CENTRAL_DIRECTORY_END="PK",w.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",w.ZIP64_CENTRAL_DIRECTORY_END="PK",w.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(b,T,w){var l=b("./GenericWorker"),o=b("../utils");function n(h){l.call(this,"ConvertWorker to "+h),this.destType=h}o.inherits(n,l),n.prototype.processChunk=function(h){this.push({data:o.transformTo(this.destType,h.data),meta:h.meta})},T.exports=n},{"../utils":32,"./GenericWorker":28}],25:[function(b,T,w){var l=b("./GenericWorker"),o=b("../crc32");function n(){l.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}b("../utils").inherits(n,l),n.prototype.processChunk=function(h){this.streamInfo.crc32=o(h.data,this.streamInfo.crc32||0),this.push(h)},T.exports=n},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(b,T,w){var l=b("../utils"),o=b("./GenericWorker");function n(h){o.call(this,"DataLengthProbe for "+h),this.propName=h,this.withStreamInfo(h,0)}l.inherits(n,o),n.prototype.processChunk=function(h){if(h){var p=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=p+h.data.length}o.prototype.processChunk.call(this,h)},T.exports=n},{"../utils":32,"./GenericWorker":28}],27:[function(b,T,w){var l=b("../utils"),o=b("./GenericWorker");function n(h){o.call(this,"DataWorker");var p=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,h.then(function(g){p.dataIsReady=!0,p.data=g,p.max=g&&g.length||0,p.type=l.getTypeOf(g),p.isPaused||p._tickAndRepeat()},function(g){p.error(g)})}l.inherits(n,o),n.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},n.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,l.delay(this._tickAndRepeat,[],this)),!0)},n.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(l.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},n.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var h=null,p=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":h=this.data.substring(this.index,p);break;case"uint8array":h=this.data.subarray(this.index,p);break;case"array":case"nodebuffer":h=this.data.slice(this.index,p)}return this.index=p,this.push({data:h,meta:{percent:this.max?this.index/this.max*100:0}})},T.exports=n},{"../utils":32,"./GenericWorker":28}],28:[function(b,T,w){function l(o){this.name=o||"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}l.prototype={push:function(o){this.emit("data",o)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(o){this.emit("error",o)}return!0},error:function(o){return!this.isFinished&&(this.isPaused?this.generatedError=o:(this.isFinished=!0,this.emit("error",o),this.previous&&this.previous.error(o),this.cleanUp()),!0)},on:function(o,n){return this._listeners[o].push(n),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(o,n){if(this._listeners[o])for(var h=0;h<this._listeners[o].length;h++)this._listeners[o][h].call(this,n)},pipe:function(o){return o.registerPrevious(this)},registerPrevious:function(o){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=o.streamInfo,this.mergeStreamInfo(),this.previous=o;var n=this;return o.on("data",function(h){n.processChunk(h)}),o.on("end",function(){n.end()}),o.on("error",function(h){n.error(h)}),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 o=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),o=!0),this.previous&&this.previous.resume(),!o},flush:function(){},processChunk:function(o){this.push(o)},withStreamInfo:function(o,n){return this.extraStreamInfo[o]=n,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var o in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,o)&&(this.streamInfo[o]=this.extraStreamInfo[o])},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 o="Worker "+this.name;return this.previous?this.previous+" -> "+o:o}},T.exports=l},{}],29:[function(b,T,w){var l=b("../utils"),o=b("./ConvertWorker"),n=b("./GenericWorker"),h=b("../base64"),p=b("../support"),g=b("../external"),_=null;if(p.nodestream)try{_=b("../nodejs/NodejsStreamOutputAdapter")}catch{}function m(c,r){return new g.Promise(function(u,a){var d=[],y=c._internalType,S=c._outputType,x=c._mimeType;c.on("data",function(F,O){d.push(F),r&&r(O)}).on("error",function(F){d=[],a(F)}).on("end",function(){try{var F=function(O,P,I){switch(O){case"blob":return l.newBlob(l.transformTo("arraybuffer",P),I);case"base64":return h.encode(P);default:return l.transformTo(O,P)}}(S,function(O,P){var I,M=0,V=null,v=0;for(I=0;I<P.length;I++)v+=P[I].length;switch(O){case"string":return P.join("");case"array":return Array.prototype.concat.apply([],P);case"uint8array":for(V=new Uint8Array(v),I=0;I<P.length;I++)V.set(P[I],M),M+=P[I].length;return V;case"nodebuffer":return Buffer.concat(P);default:throw new Error("concat : unsupported type '"+O+"'")}}(y,d),x);u(F)}catch(O){a(O)}d=[]}).resume()})}function i(c,r,u){var a=r;switch(r){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=r,this._mimeType=u,l.checkSupport(a),this._worker=c.pipe(new o(a)),c.lock()}catch(d){this._worker=new n("error"),this._worker.error(d)}}i.prototype={accumulate:function(c){return m(this,c)},on:function(c,r){var u=this;return c==="data"?this._worker.on(c,function(a){r.call(u,a.data,a.meta)}):this._worker.on(c,function(){l.delay(r,arguments,u)}),this},resume:function(){return l.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(c){if(l.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new _(this,{objectMode:this._outputType!=="nodebuffer"},c)}},T.exports=i},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(b,T,w){if(w.base64=!0,w.array=!0,w.string=!0,w.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",w.nodebuffer=typeof Buffer<"u",w.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")w.blob=!1;else{var l=new ArrayBuffer(0);try{w.blob=new Blob([l],{type:"application/zip"}).size===0}catch{try{var o=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);o.append(l),w.blob=o.getBlob("application/zip").size===0}catch{w.blob=!1}}}try{w.nodestream=!!b("readable-stream").Readable}catch{w.nodestream=!1}},{"readable-stream":16}],31:[function(b,T,w){for(var l=b("./utils"),o=b("./support"),n=b("./nodejsUtils"),h=b("./stream/GenericWorker"),p=new Array(256),g=0;g<256;g++)p[g]=252<=g?6:248<=g?5:240<=g?4:224<=g?3:192<=g?2:1;p[254]=p[254]=1;function _(){h.call(this,"utf-8 decode"),this.leftOver=null}function m(){h.call(this,"utf-8 encode")}w.utf8encode=function(i){return o.nodebuffer?n.newBufferFrom(i,"utf-8"):function(c){var r,u,a,d,y,S=c.length,x=0;for(d=0;d<S;d++)(64512&(u=c.charCodeAt(d)))==55296&&d+1<S&&(64512&(a=c.charCodeAt(d+1)))==56320&&(u=65536+(u-55296<<10)+(a-56320),d++),x+=u<128?1:u<2048?2:u<65536?3:4;for(r=o.uint8array?new Uint8Array(x):new Array(x),d=y=0;y<x;d++)(64512&(u=c.charCodeAt(d)))==55296&&d+1<S&&(64512&(a=c.charCodeAt(d+1)))==56320&&(u=65536+(u-55296<<10)+(a-56320),d++),u<128?r[y++]=u:(u<2048?r[y++]=192|u>>>6:(u<65536?r[y++]=224|u>>>12:(r[y++]=240|u>>>18,r[y++]=128|u>>>12&63),r[y++]=128|u>>>6&63),r[y++]=128|63&u);return r}(i)},w.utf8decode=function(i){return o.nodebuffer?l.transformTo("nodebuffer",i).toString("utf-8"):function(c){var r,u,a,d,y=c.length,S=new Array(2*y);for(r=u=0;r<y;)if((a=c[r++])<128)S[u++]=a;else if(4<(d=p[a]))S[u++]=65533,r+=d-1;else{for(a&=d===2?31:d===3?15:7;1<d&&r<y;)a=a<<6|63&c[r++],d--;1<d?S[u++]=65533:a<65536?S[u++]=a:(a-=65536,S[u++]=55296|a>>10&1023,S[u++]=56320|1023&a)}return S.length!==u&&(S.subarray?S=S.subarray(0,u):S.length=u),l.applyFromCharCode(S)}(i=l.transformTo(o.uint8array?"uint8array":"array",i))},l.inherits(_,h),_.prototype.processChunk=function(i){var c=l.transformTo(o.uint8array?"uint8array":"array",i.data);if(this.leftOver&&this.leftOver.length){if(o.uint8array){var r=c;(c=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),c.set(r,this.leftOver.length)}else c=this.leftOver.concat(c);this.leftOver=null}var u=function(d,y){var S;for((y=y||d.length)>d.length&&(y=d.length),S=y-1;0<=S&&(192&d[S])==128;)S--;return S<0||S===0?y:S+p[d[S]]>y?S:y}(c),a=c;u!==c.length&&(o.uint8array?(a=c.subarray(0,u),this.leftOver=c.subarray(u,c.length)):(a=c.slice(0,u),this.leftOver=c.slice(u,c.length))),this.push({data:w.utf8decode(a),meta:i.meta})},_.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:w.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},w.Utf8DecodeWorker=_,l.inherits(m,h),m.prototype.processChunk=function(i){this.push({data:w.utf8encode(i.data),meta:i.meta})},w.Utf8EncodeWorker=m},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(b,T,w){var l=b("./support"),o=b("./base64"),n=b("./nodejsUtils"),h=b("./external");function p(r){return r}function g(r,u){for(var a=0;a<r.length;++a)u[a]=255&r.charCodeAt(a);return u}b("setimmediate"),w.newBlob=function(r,u){w.checkSupport("blob");try{return new Blob([r],{type:u})}catch{try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return a.append(r),a.getBlob(u)}catch{throw new Error("Bug : can't construct the Blob.")}}};var _={stringifyByChunk:function(r,u,a){var d=[],y=0,S=r.length;if(S<=a)return String.fromCharCode.apply(null,r);for(;y<S;)u==="array"||u==="nodebuffer"?d.push(String.fromCharCode.apply(null,r.slice(y,Math.min(y+a,S)))):d.push(String.fromCharCode.apply(null,r.subarray(y,Math.min(y+a,S)))),y+=a;return d.join("")},stringifyByChar:function(r){for(var u="",a=0;a<r.length;a++)u+=String.fromCharCode(r[a]);return u},applyCanBeUsed:{uint8array:function(){try{return l.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch{return!1}}(),nodebuffer:function(){try{return l.nodebuffer&&String.fromCharCode.apply(null,n.allocBuffer(1)).length===1}catch{return!1}}()}};function m(r){var u=65536,a=w.getTypeOf(r),d=!0;if(a==="uint8array"?d=_.applyCanBeUsed.uint8array:a==="nodebuffer"&&(d=_.applyCanBeUsed.nodebuffer),d)for(;1<u;)try{return _.stringifyByChunk(r,a,u)}catch{u=Math.floor(u/2)}return _.stringifyByChar(r)}function i(r,u){for(var a=0;a<r.length;a++)u[a]=r[a];return u}w.applyFromCharCode=m;var c={};c.string={string:p,array:function(r){return g(r,new Array(r.length))},arraybuffer:function(r){return c.string.uint8array(r).buffer},uint8array:function(r){return g(r,new Uint8Array(r.length))},nodebuffer:function(r){return g(r,n.allocBuffer(r.length))}},c.array={string:m,array:p,arraybuffer:function(r){return new Uint8Array(r).buffer},uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return n.newBufferFrom(r)}},c.arraybuffer={string:function(r){return m(new Uint8Array(r))},array:function(r){return i(new Uint8Array(r),new Array(r.byteLength))},arraybuffer:p,uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return n.newBufferFrom(new Uint8Array(r))}},c.uint8array={string:m,array:function(r){return i(r,new Array(r.length))},arraybuffer:function(r){return r.buffer},uint8array:p,nodebuffer:function(r){return n.newBufferFrom(r)}},c.nodebuffer={string:m,array:function(r){return i(r,new Array(r.length))},arraybuffer:function(r){return c.nodebuffer.uint8array(r).buffer},uint8array:function(r){return i(r,new Uint8Array(r.length))},nodebuffer:p},w.transformTo=function(r,u){if(u=u||"",!r)return u;w.checkSupport(r);var a=w.getTypeOf(u);return c[a][r](u)},w.resolve=function(r){for(var u=r.split("/"),a=[],d=0;d<u.length;d++){var y=u[d];y==="."||y===""&&d!==0&&d!==u.length-1||(y===".."?a.pop():a.push(y))}return a.join("/")},w.getTypeOf=function(r){return typeof r=="string"?"string":Object.prototype.toString.call(r)==="[object Array]"?"array":l.nodebuffer&&n.isBuffer(r)?"nodebuffer":l.uint8array&&r instanceof Uint8Array?"uint8array":l.arraybuffer&&r instanceof ArrayBuffer?"arraybuffer":void 0},w.checkSupport=function(r){if(!l[r.toLowerCase()])throw new Error(r+" is not supported by this platform")},w.MAX_VALUE_16BITS=65535,w.MAX_VALUE_32BITS=-1,w.pretty=function(r){var u,a,d="";for(a=0;a<(r||"").length;a++)d+="\\x"+((u=r.charCodeAt(a))<16?"0":"")+u.toString(16).toUpperCase();return d},w.delay=function(r,u,a){setImmediate(function(){r.apply(a||null,u||[])})},w.inherits=function(r,u){function a(){}a.prototype=u.prototype,r.prototype=new a},w.extend=function(){var r,u,a={};for(r=0;r<arguments.length;r++)for(u in arguments[r])Object.prototype.hasOwnProperty.call(arguments[r],u)&&a[u]===void 0&&(a[u]=arguments[r][u]);return a},w.prepareContent=function(r,u,a,d,y){return h.Promise.resolve(u).then(function(S){return l.blob&&(S instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(S))!==-1)&&typeof FileReader<"u"?new h.Promise(function(x,F){var O=new FileReader;O.onload=function(P){x(P.target.result)},O.onerror=function(P){F(P.target.error)},O.readAsArrayBuffer(S)}):S}).then(function(S){var x=w.getTypeOf(S);return x?(x==="arraybuffer"?S=w.transformTo("uint8array",S):x==="string"&&(y?S=o.decode(S):a&&d!==!0&&(S=function(F){return g(F,l.uint8array?new Uint8Array(F.length):new Array(F.length))}(S))),S):h.Promise.reject(new Error("Can't read the data of '"+r+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))})}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(b,T,w){var l=b("./reader/readerFor"),o=b("./utils"),n=b("./signature"),h=b("./zipEntry"),p=b("./support");function g(_){this.files=[],this.loadOptions=_}g.prototype={checkSignature:function(_){if(!this.reader.readAndCheckSignature(_)){this.reader.index-=4;var m=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+o.pretty(m)+", expected "+o.pretty(_)+")")}},isSignature:function(_,m){var i=this.reader.index;this.reader.setIndex(_);var c=this.reader.readString(4)===m;return this.reader.setIndex(i),c},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 _=this.reader.readData(this.zipCommentLength),m=p.uint8array?"uint8array":"array",i=o.transformTo(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,i,c=this.zip64EndOfCentralSize-44;0<c;)_=this.reader.readInt(2),m=this.reader.readInt(4),i=this.reader.readData(m),this.zip64ExtensibleData[_]={id:_,length:m,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;for(_=0;_<this.files.length;_++)m=this.files[_],this.reader.setIndex(m.localHeaderOffset),this.checkSignature(n.LOCAL_FILE_HEADER),m.readLocalPart(this.reader),m.handleUTF8(),m.processAttributes()},readCentralDir:function(){var _;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(n.CENTRAL_FILE_HEADER);)(_=new h({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(_);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 _=this.reader.lastIndexOfSignature(n.CENTRAL_DIRECTORY_END);if(_<0)throw this.isSignature(0,n.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(_);var m=_;if(this.checkSignature(n.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(_=this.reader.lastIndexOfSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(_),this.checkSignature(n.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,n.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(n.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(n.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var i=this.centralDirOffset+this.centralDirSize;this.zip64&&(i+=20,i+=12+this.zip64EndOfCentralSize);var c=m-i;if(0<c)this.isSignature(m,n.CENTRAL_FILE_HEADER)||(this.reader.zero=c);else if(c<0)throw new Error("Corrupted zip: missing "+Math.abs(c)+" bytes.")},prepareReader:function(_){this.reader=l(_)},load:function(_){this.prepareReader(_),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},T.exports=g},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(b,T,w){var l=b("./reader/readerFor"),o=b("./utils"),n=b("./compressedObject"),h=b("./crc32"),p=b("./utf8"),g=b("./compressions"),_=b("./support");function m(i,c){this.options=i,this.loadOptions=c}m.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(i){var c,r;if(i.skip(22),this.fileNameLength=i.readInt(2),r=i.readInt(2),this.fileName=i.readData(this.fileNameLength),i.skip(r),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((c=function(u){for(var a in g)if(Object.prototype.hasOwnProperty.call(g,a)&&g[a].magic===u)return g[a];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+o.pretty(this.compressionMethod)+" unknown (inner file : "+o.transformTo("string",this.fileName)+")");this.decompressed=new n(this.compressedSize,this.uncompressedSize,this.crc32,c,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 c=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(c),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(){if(this.extraFields[1]){var i=l(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=i.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=i.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=i.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=i.readInt(4))}},readExtraFields:function(i){var c,r,u,a=i.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});i.index+4<a;)c=i.readInt(2),r=i.readInt(2),u=i.readData(r),this.extraFields[c]={id:c,length:r,value:u};i.setIndex(a)},handleUTF8:function(){var i=_.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=p.utf8decode(this.fileName),this.fileCommentStr=p.utf8decode(this.fileComment);else{var c=this.findExtraFieldUnicodePath();if(c!==null)this.fileNameStr=c;else{var r=o.transformTo(i,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var u=this.findExtraFieldUnicodeComment();if(u!==null)this.fileCommentStr=u;else{var a=o.transformTo(i,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var i=this.extraFields[28789];if(i){var c=l(i.value);return c.readInt(1)!==1||h(this.fileName)!==c.readInt(4)?null:p.utf8decode(c.readData(i.length-5))}return null},findExtraFieldUnicodeComment:function(){var i=this.extraFields[25461];if(i){var c=l(i.value);return c.readInt(1)!==1||h(this.fileComment)!==c.readInt(4)?null:p.utf8decode(c.readData(i.length-5))}return null}},T.exports=m},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(b,T,w){function l(c,r,u){this.name=c,this.dir=u.dir,this.date=u.date,this.comment=u.comment,this.unixPermissions=u.unixPermissions,this.dosPermissions=u.dosPermissions,this._data=r,this._dataBinary=u.binary,this.options={compression:u.compression,compressionOptions:u.compressionOptions}}var o=b("./stream/StreamHelper"),n=b("./stream/DataWorker"),h=b("./utf8"),p=b("./compressedObject"),g=b("./stream/GenericWorker");l.prototype={internalStream:function(c){var r=null,u="string";try{if(!c)throw new Error("No output type specified.");var a=(u=c.toLowerCase())==="string"||u==="text";u!=="binarystring"&&u!=="text"||(u="string"),r=this._decompressWorker();var d=!this._dataBinary;d&&!a&&(r=r.pipe(new h.Utf8EncodeWorker)),!d&&a&&(r=r.pipe(new h.Utf8DecodeWorker))}catch(y){(r=new g("error")).error(y)}return new o(r,u,"")},async:function(c,r){return this.internalStream(c).accumulate(r)},nodeStream:function(c,r){return this.internalStream(c||"nodebuffer").toNodejsStream(r)},_compressWorker:function(c,r){if(this._data instanceof p&&this._data.compression.magic===c.magic)return this._data.getCompressedWorker();var u=this._decompressWorker();return this._dataBinary||(u=u.pipe(new h.Utf8EncodeWorker)),p.createWorkerFrom(u,c,r)},_decompressWorker:function(){return this._data instanceof p?this._data.getContentWorker():this._data instanceof g?this._data:new n(this._data)}};for(var _=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],m=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},i=0;i<_.length;i++)l.prototype[_[i]]=m;T.exports=l},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(b,T,w){(function(l){var o,n,h=l.MutationObserver||l.WebKitMutationObserver;if(h){var p=0,g=new h(c),_=l.document.createTextNode("");g.observe(_,{characterData:!0}),o=function(){_.data=p=++p%2}}else if(l.setImmediate||l.MessageChannel===void 0)o="document"in l&&"onreadystatechange"in l.document.createElement("script")?function(){var r=l.document.createElement("script");r.onreadystatechange=function(){c(),r.onreadystatechange=null,r.parentNode.removeChild(r),r=null},l.document.documentElement.appendChild(r)}:function(){setTimeout(c,0)};else{var m=new l.MessageChannel;m.port1.onmessage=c,o=function(){m.port2.postMessage(0)}}var i=[];function c(){var r,u;n=!0;for(var a=i.length;a;){for(u=i,i=[],r=-1;++r<a;)u[r]();a=i.length}n=!1}T.exports=function(r){i.push(r)!==1||n||o()}}).call(this,typeof dt<"u"?dt:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(b,T,w){var l=b("immediate");function o(){}var n={},h=["REJECTED"],p=["FULFILLED"],g=["PENDING"];function _(a){if(typeof a!="function")throw new TypeError("resolver must be a function");this.state=g,this.queue=[],this.outcome=void 0,a!==o&&r(this,a)}function m(a,d,y){this.promise=a,typeof d=="function"&&(this.onFulfilled=d,this.callFulfilled=this.otherCallFulfilled),typeof y=="function"&&(this.onRejected=y,this.callRejected=this.otherCallRejected)}function i(a,d,y){l(function(){var S;try{S=d(y)}catch(x){return n.reject(a,x)}S===a?n.reject(a,new TypeError("Cannot resolve promise with itself")):n.resolve(a,S)})}function c(a){var d=a&&a.then;if(a&&(typeof a=="object"||typeof a=="function")&&typeof d=="function")return function(){d.apply(a,arguments)}}function r(a,d){var y=!1;function S(O){y||(y=!0,n.reject(a,O))}function x(O){y||(y=!0,n.resolve(a,O))}var F=u(function(){d(x,S)});F.status==="error"&&S(F.value)}function u(a,d){var y={};try{y.value=a(d),y.status="success"}catch(S){y.status="error",y.value=S}return y}(T.exports=_).prototype.finally=function(a){if(typeof a!="function")return this;var d=this.constructor;return this.then(function(y){return d.resolve(a()).then(function(){return y})},function(y){return d.resolve(a()).then(function(){throw y})})},_.prototype.catch=function(a){return this.then(null,a)},_.prototype.then=function(a,d){if(typeof a!="function"&&this.state===p||typeof d!="function"&&this.state===h)return this;var y=new this.constructor(o);return this.state!==g?i(y,this.state===p?a:d,this.outcome):this.queue.push(new m(y,a,d)),y},m.prototype.callFulfilled=function(a){n.resolve(this.promise,a)},m.prototype.otherCallFulfilled=function(a){i(this.promise,this.onFulfilled,a)},m.prototype.callRejected=function(a){n.reject(this.promise,a)},m.prototype.otherCallRejected=function(a){i(this.promise,this.onRejected,a)},n.resolve=function(a,d){var y=u(c,d);if(y.status==="error")return n.reject(a,y.value);var S=y.value;if(S)r(a,S);else{a.state=p,a.outcome=d;for(var x=-1,F=a.queue.length;++x<F;)a.queue[x].callFulfilled(d)}return a},n.reject=function(a,d){a.state=h,a.outcome=d;for(var y=-1,S=a.queue.length;++y<S;)a.queue[y].callRejected(d);return a},_.resolve=function(a){return a instanceof this?a:n.resolve(new this(o),a)},_.reject=function(a){var d=new this(o);return n.reject(d,a)},_.all=function(a){var d=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=a.length,S=!1;if(!y)return this.resolve([]);for(var x=new Array(y),F=0,O=-1,P=new this(o);++O<y;)I(a[O],O);return P;function I(M,V){d.resolve(M).then(function(v){x[V]=v,++F!==y||S||(S=!0,n.resolve(P,x))},function(v){S||(S=!0,n.reject(P,v))})}},_.race=function(a){var d=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var y=a.length,S=!1;if(!y)return this.resolve([]);for(var x=-1,F=new this(o);++x<y;)O=a[x],d.resolve(O).then(function(P){S||(S=!0,n.resolve(F,P))},function(P){S||(S=!0,n.reject(F,P))});var O;return F}},{immediate:36}],38:[function(b,T,w){var l={};(0,b("./lib/utils/common").assign)(l,b("./lib/deflate"),b("./lib/inflate"),b("./lib/zlib/constants")),T.exports=l},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(b,T,w){var l=b("./zlib/deflate"),o=b("./utils/common"),n=b("./utils/strings"),h=b("./zlib/messages"),p=b("./zlib/zstream"),g=Object.prototype.toString,_=0,m=-1,i=0,c=8;function r(a){if(!(this instanceof r))return new r(a);this.options=o.assign({level:m,method:c,chunkSize:16384,windowBits:15,memLevel:8,strategy:i,to:""},a||{});var d=this.options;d.raw&&0<d.windowBits?d.windowBits=-d.windowBits:d.gzip&&0<d.windowBits&&d.windowBits<16&&(d.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new p,this.strm.avail_out=0;var y=l.deflateInit2(this.strm,d.level,d.method,d.windowBits,d.memLevel,d.strategy);if(y!==_)throw new Error(h[y]);if(d.header&&l.deflateSetHeader(this.strm,d.header),d.dictionary){var S;if(S=typeof d.dictionary=="string"?n.string2buf(d.dictionary):g.call(d.dictionary)==="[object ArrayBuffer]"?new Uint8Array(d.dictionary):d.dictionary,(y=l.deflateSetDictionary(this.strm,S))!==_)throw new Error(h[y]);this._dict_set=!0}}function u(a,d){var y=new r(d);if(y.push(a,!0),y.err)throw y.msg||h[y.err];return y.result}r.prototype.push=function(a,d){var y,S,x=this.strm,F=this.options.chunkSize;if(this.ended)return!1;S=d===~~d?d:d===!0?4:0,typeof a=="string"?x.input=n.string2buf(a):g.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 o.Buf8(F),x.next_out=0,x.avail_out=F),(y=l.deflate(x,S))!==1&&y!==_)return this.onEnd(y),!(this.ended=!0);x.avail_out!==0&&(x.avail_in!==0||S!==4&&S!==2)||(this.options.to==="string"?this.onData(n.buf2binstring(o.shrinkBuf(x.output,x.next_out))):this.onData(o.shrinkBuf(x.output,x.next_out)))}while((0<x.avail_in||x.avail_out===0)&&y!==1);return S===4?(y=l.deflateEnd(this.strm),this.onEnd(y),this.ended=!0,y===_):S!==2||(this.onEnd(_),!(x.avail_out=0))},r.prototype.onData=function(a){this.chunks.push(a)},r.prototype.onEnd=function(a){a===_&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},w.Deflate=r,w.deflate=u,w.deflateRaw=function(a,d){return(d=d||{}).raw=!0,u(a,d)},w.gzip=function(a,d){return(d=d||{}).gzip=!0,u(a,d)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(b,T,w){var l=b("./zlib/inflate"),o=b("./utils/common"),n=b("./utils/strings"),h=b("./zlib/constants"),p=b("./zlib/messages"),g=b("./zlib/zstream"),_=b("./zlib/gzheader"),m=Object.prototype.toString;function i(r){if(!(this instanceof i))return new i(r);this.options=o.assign({chunkSize:16384,windowBits:0,to:""},r||{});var u=this.options;u.raw&&0<=u.windowBits&&u.windowBits<16&&(u.windowBits=-u.windowBits,u.windowBits===0&&(u.windowBits=-15)),!(0<=u.windowBits&&u.windowBits<16)||r&&r.windowBits||(u.windowBits+=32),15<u.windowBits&&u.windowBits<48&&(15&u.windowBits)==0&&(u.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new g,this.strm.avail_out=0;var a=l.inflateInit2(this.strm,u.windowBits);if(a!==h.Z_OK)throw new Error(p[a]);this.header=new _,l.inflateGetHeader(this.strm,this.header)}function c(r,u){var a=new i(u);if(a.push(r,!0),a.err)throw a.msg||p[a.err];return a.result}i.prototype.push=function(r,u){var a,d,y,S,x,F,O=this.strm,P=this.options.chunkSize,I=this.options.dictionary,M=!1;if(this.ended)return!1;d=u===~~u?u:u===!0?h.Z_FINISH:h.Z_NO_FLUSH,typeof r=="string"?O.input=n.binstring2buf(r):m.call(r)==="[object ArrayBuffer]"?O.input=new Uint8Array(r):O.input=r,O.next_in=0,O.avail_in=O.input.length;do{if(O.avail_out===0&&(O.output=new o.Buf8(P),O.next_out=0,O.avail_out=P),(a=l.inflate(O,h.Z_NO_FLUSH))===h.Z_NEED_DICT&&I&&(F=typeof I=="string"?n.string2buf(I):m.call(I)==="[object ArrayBuffer]"?new Uint8Array(I):I,a=l.inflateSetDictionary(this.strm,F)),a===h.Z_BUF_ERROR&&M===!0&&(a=h.Z_OK,M=!1),a!==h.Z_STREAM_END&&a!==h.Z_OK)return this.onEnd(a),!(this.ended=!0);O.next_out&&(O.avail_out!==0&&a!==h.Z_STREAM_END&&(O.avail_in!==0||d!==h.Z_FINISH&&d!==h.Z_SYNC_FLUSH)||(this.options.to==="string"?(y=n.utf8border(O.output,O.next_out),S=O.next_out-y,x=n.buf2string(O.output,y),O.next_out=S,O.avail_out=P-S,S&&o.arraySet(O.output,O.output,y,S,0),this.onData(x)):this.onData(o.shrinkBuf(O.output,O.next_out)))),O.avail_in===0&&O.avail_out===0&&(M=!0)}while((0<O.avail_in||O.avail_out===0)&&a!==h.Z_STREAM_END);return a===h.Z_STREAM_END&&(d=h.Z_FINISH),d===h.Z_FINISH?(a=l.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===h.Z_OK):d!==h.Z_SYNC_FLUSH||(this.onEnd(h.Z_OK),!(O.avail_out=0))},i.prototype.onData=function(r){this.chunks.push(r)},i.prototype.onEnd=function(r){r===h.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=o.flattenChunks(this.chunks)),this.chunks=[],this.err=r,this.msg=this.strm.msg},w.Inflate=i,w.inflate=c,w.inflateRaw=function(r,u){return(u=u||{}).raw=!0,c(r,u)},w.ungzip=c},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(b,T,w){var l=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";w.assign=function(h){for(var p=Array.prototype.slice.call(arguments,1);p.length;){var g=p.shift();if(g){if(typeof g!="object")throw new TypeError(g+"must be non-object");for(var _ in g)g.hasOwnProperty(_)&&(h[_]=g[_])}}return h},w.shrinkBuf=function(h,p){return h.length===p?h:h.subarray?h.subarray(0,p):(h.length=p,h)};var o={arraySet:function(h,p,g,_,m){if(p.subarray&&h.subarray)h.set(p.subarray(g,g+_),m);else for(var i=0;i<_;i++)h[m+i]=p[g+i]},flattenChunks:function(h){var p,g,_,m,i,c;for(p=_=0,g=h.length;p<g;p++)_+=h[p].length;for(c=new Uint8Array(_),p=m=0,g=h.length;p<g;p++)i=h[p],c.set(i,m),m+=i.length;return c}},n={arraySet:function(h,p,g,_,m){for(var i=0;i<_;i++)h[m+i]=p[g+i]},flattenChunks:function(h){return[].concat.apply([],h)}};w.setTyped=function(h){h?(w.Buf8=Uint8Array,w.Buf16=Uint16Array,w.Buf32=Int32Array,w.assign(w,o)):(w.Buf8=Array,w.Buf16=Array,w.Buf32=Array,w.assign(w,n))},w.setTyped(l)},{}],42:[function(b,T,w){var l=b("./common"),o=!0,n=!0;try{String.fromCharCode.apply(null,[0])}catch{o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{n=!1}for(var h=new l.Buf8(256),p=0;p<256;p++)h[p]=252<=p?6:248<=p?5:240<=p?4:224<=p?3:192<=p?2:1;function g(_,m){if(m<65537&&(_.subarray&&n||!_.subarray&&o))return String.fromCharCode.apply(null,l.shrinkBuf(_,m));for(var i="",c=0;c<m;c++)i+=String.fromCharCode(_[c]);return i}h[254]=h[254]=1,w.string2buf=function(_){var m,i,c,r,u,a=_.length,d=0;for(r=0;r<a;r++)(64512&(i=_.charCodeAt(r)))==55296&&r+1<a&&(64512&(c=_.charCodeAt(r+1)))==56320&&(i=65536+(i-55296<<10)+(c-56320),r++),d+=i<128?1:i<2048?2:i<65536?3:4;for(m=new l.Buf8(d),r=u=0;u<d;r++)(64512&(i=_.charCodeAt(r)))==55296&&r+1<a&&(64512&(c=_.charCodeAt(r+1)))==56320&&(i=65536+(i-55296<<10)+(c-56320),r++),i<128?m[u++]=i:(i<2048?m[u++]=192|i>>>6:(i<65536?m[u++]=224|i>>>12:(m[u++]=240|i>>>18,m[u++]=128|i>>>12&63),m[u++]=128|i>>>6&63),m[u++]=128|63&i);return m},w.buf2binstring=function(_){return g(_,_.length)},w.binstring2buf=function(_){for(var m=new l.Buf8(_.length),i=0,c=m.length;i<c;i++)m[i]=_.charCodeAt(i);return m},w.buf2string=function(_,m){var i,c,r,u,a=m||_.length,d=new Array(2*a);for(i=c=0;i<a;)if((r=_[i++])<128)d[c++]=r;else if(4<(u=h[r]))d[c++]=65533,i+=u-1;else{for(r&=u===2?31:u===3?15:7;1<u&&i<a;)r=r<<6|63&_[i++],u--;1<u?d[c++]=65533:r<65536?d[c++]=r:(r-=65536,d[c++]=55296|r>>10&1023,d[c++]=56320|1023&r)}return g(d,c)},w.utf8border=function(_,m){var i;for((m=m||_.length)>_.length&&(m=_.length),i=m-1;0<=i&&(192&_[i])==128;)i--;return i<0||i===0?m:i+h[_[i]]>m?i:m}},{"./common":41}],43:[function(b,T,w){T.exports=function(l,o,n,h){for(var p=65535&l|0,g=l>>>16&65535|0,_=0;n!==0;){for(n-=_=2e3<n?2e3:n;g=g+(p=p+o[h++]|0)|0,--_;);p%=65521,g%=65521}return p|g<<16|0}},{}],44:[function(b,T,w){T.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(b,T,w){var l=function(){for(var o,n=[],h=0;h<256;h++){o=h;for(var p=0;p<8;p++)o=1&o?3988292384^o>>>1:o>>>1;n[h]=o}return n}();T.exports=function(o,n,h,p){var g=l,_=p+h;o^=-1;for(var m=p;m<_;m++)o=o>>>8^g[255&(o^n[m])];return-1^o}},{}],46:[function(b,T,w){var l,o=b("../utils/common"),n=b("./trees"),h=b("./adler32"),p=b("./crc32"),g=b("./messages"),_=0,m=4,i=0,c=-2,r=-1,u=4,a=2,d=8,y=9,S=286,x=30,F=19,O=2*S+1,P=15,I=3,M=258,V=M+I+1,v=42,B=113,e=1,D=2,J=3,L=4;function $(t,R){return t.msg=g[R],R}function j(t){return(t<<1)-(4<t?9:0)}function q(t){for(var R=t.length;0<=--R;)t[R]=0}function A(t){var R=t.state,C=R.pending;C>t.avail_out&&(C=t.avail_out),C!==0&&(o.arraySet(t.output,R.pending_buf,R.pending_out,C,t.next_out),t.next_out+=C,R.pending_out+=C,t.total_out+=C,t.avail_out-=C,R.pending-=C,R.pending===0&&(R.pending_out=0))}function E(t,R){n._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,R),t.block_start=t.strstart,A(t.strm)}function X(t,R){t.pending_buf[t.pending++]=R}function G(t,R){t.pending_buf[t.pending++]=R>>>8&255,t.pending_buf[t.pending++]=255&R}function H(t,R){var C,f,s=t.max_chain_length,k=t.strstart,U=t.prev_length,N=t.nice_match,z=t.strstart>t.w_size-V?t.strstart-(t.w_size-V):0,Z=t.window,K=t.w_mask,W=t.prev,Y=t.strstart+M,rt=Z[k+U-1],tt=Z[k+U];t.prev_length>=t.good_match&&(s>>=2),N>t.lookahead&&(N=t.lookahead);do if(Z[(C=R)+U]===tt&&Z[C+U-1]===rt&&Z[C]===Z[k]&&Z[++C]===Z[k+1]){k+=2,C++;do;while(Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&Z[++k]===Z[++C]&&k<Y);if(f=M-(Y-k),k=Y-M,U<f){if(t.match_start=R,N<=(U=f))break;rt=Z[k+U-1],tt=Z[k+U]}}while((R=W[R&K])>z&&--s!=0);return U<=t.lookahead?U:t.lookahead}function nt(t){var R,C,f,s,k,U,N,z,Z,K,W=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=W+(W-V)){for(o.arraySet(t.window,t.window,W,W,0),t.match_start-=W,t.strstart-=W,t.block_start-=W,R=C=t.hash_size;f=t.head[--R],t.head[R]=W<=f?f-W:0,--C;);for(R=C=W;f=t.prev[--R],t.prev[R]=W<=f?f-W:0,--C;);s+=W}if(t.strm.avail_in===0)break;if(U=t.strm,N=t.window,z=t.strstart+t.lookahead,Z=s,K=void 0,K=U.avail_in,Z<K&&(K=Z),C=K===0?0:(U.avail_in-=K,o.arraySet(N,U.input,U.next_in,K,z),U.state.wrap===1?U.adler=h(U.adler,N,K,z):U.state.wrap===2&&(U.adler=p(U.adler,N,K,z)),U.next_in+=K,U.total_in+=K,K),t.lookahead+=C,t.lookahead+t.insert>=I)for(k=t.strstart-t.insert,t.ins_h=t.window[k],t.ins_h=(t.ins_h<<t.hash_shift^t.window[k+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[k+I-1])&t.hash_mask,t.prev[k&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=k,k++,t.insert--,!(t.lookahead+t.insert<I)););}while(t.lookahead<V&&t.strm.avail_in!==0)}function ot(t,R){for(var C,f;;){if(t.lookahead<V){if(nt(t),t.lookahead<V&&R===_)return e;if(t.lookahead===0)break}if(C=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,C=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),C!==0&&t.strstart-C<=t.w_size-V&&(t.match_length=H(t,C)),t.match_length>=I)if(f=n._tr_tally(t,t.strstart-t.match_start,t.match_length-I),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=I){for(t.match_length--;t.strstart++,t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,C=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart,--t.match_length!=0;);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+1])&t.hash_mask;else f=n._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(f&&(E(t,!1),t.strm.avail_out===0))return e}return t.insert=t.strstart<I-1?t.strstart:I-1,R===m?(E(t,!0),t.strm.avail_out===0?J:L):t.last_lit&&(E(t,!1),t.strm.avail_out===0)?e:D}function Q(t,R){for(var C,f,s;;){if(t.lookahead<V){if(nt(t),t.lookahead<V&&R===_)return e;if(t.lookahead===0)break}if(C=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,C=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=I-1,C!==0&&t.prev_length<t.max_lazy_match&&t.strstart-C<=t.w_size-V&&(t.match_length=H(t,C),t.match_length<=5&&(t.strategy===1||t.match_length===I&&4096<t.strstart-t.match_start)&&(t.match_length=I-1)),t.prev_length>=I&&t.match_length<=t.prev_length){for(s=t.strstart+t.lookahead-I,f=n._tr_tally(t,t.strstart-1-t.prev_match,t.prev_length-I),t.lookahead-=t.prev_length-1,t.prev_length-=2;++t.strstart<=s&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,C=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),--t.prev_length!=0;);if(t.match_available=0,t.match_length=I-1,t.strstart++,f&&(E(t,!1),t.strm.avail_out===0))return e}else if(t.match_available){if((f=n._tr_tally(t,0,t.window[t.strstart-1]))&&E(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return e}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(f=n._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<I-1?t.strstart:I-1,R===m?(E(t,!0),t.strm.avail_out===0?J:L):t.last_lit&&(E(t,!1),t.strm.avail_out===0)?e:D}function et(t,R,C,f,s){this.good_length=t,this.max_lazy=R,this.nice_length=C,this.max_chain=f,this.func=s}function st(){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=d,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 o.Buf16(2*O),this.dyn_dtree=new o.Buf16(2*(2*x+1)),this.bl_tree=new o.Buf16(2*(2*F+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 o.Buf16(P+1),this.heap=new o.Buf16(2*S+1),q(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new o.Buf16(2*S+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 it(t){var R;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=a,(R=t.state).pending=0,R.pending_out=0,R.wrap<0&&(R.wrap=-R.wrap),R.status=R.wrap?v:B,t.adler=R.wrap===2?0:1,R.last_flush=_,n._tr_init(R),i):$(t,c)}function lt(t){var R=it(t);return R===i&&function(C){C.window_size=2*C.w_size,q(C.head),C.max_lazy_match=l[C.level].max_lazy,C.good_match=l[C.level].good_length,C.nice_match=l[C.level].nice_length,C.max_chain_length=l[C.level].max_chain,C.strstart=0,C.block_start=0,C.lookahead=0,C.insert=0,C.match_length=C.prev_length=I-1,C.match_available=0,C.ins_h=0}(t.state),R}function ut(t,R,C,f,s,k){if(!t)return c;var U=1;if(R===r&&(R=6),f<0?(U=0,f=-f):15<f&&(U=2,f-=16),s<1||y<s||C!==d||f<8||15<f||R<0||9<R||k<0||u<k)return $(t,c);f===8&&(f=9);var N=new st;return(t.state=N).strm=t,N.wrap=U,N.gzhead=null,N.w_bits=f,N.w_size=1<<N.w_bits,N.w_mask=N.w_size-1,N.hash_bits=s+7,N.hash_size=1<<N.hash_bits,N.hash_mask=N.hash_size-1,N.hash_shift=~~((N.hash_bits+I-1)/I),N.window=new o.Buf8(2*N.w_size),N.head=new o.Buf16(N.hash_size),N.prev=new o.Buf16(N.w_size),N.lit_bufsize=1<<s+6,N.pending_buf_size=4*N.lit_bufsize,N.pending_buf=new o.Buf8(N.pending_buf_size),N.d_buf=1*N.lit_bufsize,N.l_buf=3*N.lit_bufsize,N.level=R,N.strategy=k,N.method=C,lt(t)}l=[new et(0,0,0,0,function(t,R){var C=65535;for(C>t.pending_buf_size-5&&(C=t.pending_buf_size-5);;){if(t.lookahead<=1){if(nt(t),t.lookahead===0&&R===_)return e;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var f=t.block_start+C;if((t.strstart===0||t.strstart>=f)&&(t.lookahead=t.strstart-f,t.strstart=f,E(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-V&&(E(t,!1),t.strm.avail_out===0))return e}return t.insert=0,R===m?(E(t,!0),t.strm.avail_out===0?J:L):(t.strstart>t.block_start&&(E(t,!1),t.strm.avail_out),e)}),new et(4,4,8,4,ot),new et(4,5,16,8,ot),new et(4,6,32,32,ot),new et(4,4,16,16,Q),new et(8,16,32,32,Q),new et(8,16,128,128,Q),new et(8,32,128,256,Q),new et(32,128,258,1024,Q),new et(32,258,258,4096,Q)],w.deflateInit=function(t,R){return ut(t,R,d,15,8,0)},w.deflateInit2=ut,w.deflateReset=lt,w.deflateResetKeep=it,w.deflateSetHeader=function(t,R){return t&&t.state?t.state.wrap!==2?c:(t.state.gzhead=R,i):c},w.deflate=function(t,R){var C,f,s,k;if(!t||!t.state||5<R||R<0)return t?$(t,c):c;if(f=t.state,!t.output||!t.input&&t.avail_in!==0||f.status===666&&R!==m)return $(t,t.avail_out===0?-5:c);if(f.strm=t,C=f.last_flush,f.last_flush=R,f.status===v)if(f.wrap===2)t.adler=0,X(f,31),X(f,139),X(f,8),f.gzhead?(X(f,(f.gzhead.text?1:0)+(f.gzhead.hcrc?2:0)+(f.gzhead.extra?4:0)+(f.gzhead.name?8:0)+(f.gzhead.comment?16:0)),X(f,255&f.gzhead.time),X(f,f.gzhead.time>>8&255),X(f,f.gzhead.time>>16&255),X(f,f.gzhead.time>>24&255),X(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),X(f,255&f.gzhead.os),f.gzhead.extra&&f.gzhead.extra.length&&(X(f,255&f.gzhead.extra.length),X(f,f.gzhead.extra.length>>8&255)),f.gzhead.hcrc&&(t.adler=p(t.adler,f.pending_buf,f.pending,0)),f.gzindex=0,f.status=69):(X(f,0),X(f,0),X(f,0),X(f,0),X(f,0),X(f,f.level===9?2:2<=f.strategy||f.level<2?4:0),X(f,3),f.status=B);else{var U=d+(f.w_bits-8<<4)<<8;U|=(2<=f.strategy||f.level<2?0:f.level<6?1:f.level===6?2:3)<<6,f.strstart!==0&&(U|=32),U+=31-U%31,f.status=B,G(f,U),f.strstart!==0&&(G(f,t.adler>>>16),G(f,65535&t.adler)),t.adler=1}if(f.status===69)if(f.gzhead.extra){for(s=f.pending;f.gzindex<(65535&f.gzhead.extra.length)&&(f.pending!==f.pending_buf_size||(f.gzhead.hcrc&&f.pending>s&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),A(t),s=f.pending,f.pending!==f.pending_buf_size));)X(f,255&f.gzhead.extra[f.gzindex]),f.gzindex++;f.gzhead.hcrc&&f.pending>s&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),f.gzindex===f.gzhead.extra.length&&(f.gzindex=0,f.status=73)}else f.status=73;if(f.status===73)if(f.gzhead.name){s=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>s&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),A(t),s=f.pending,f.pending===f.pending_buf_size)){k=1;break}k=f.gzindex<f.gzhead.name.length?255&f.gzhead.name.charCodeAt(f.gzindex++):0,X(f,k)}while(k!==0);f.gzhead.hcrc&&f.pending>s&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),k===0&&(f.gzindex=0,f.status=91)}else f.status=91;if(f.status===91)if(f.gzhead.comment){s=f.pending;do{if(f.pending===f.pending_buf_size&&(f.gzhead.hcrc&&f.pending>s&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),A(t),s=f.pending,f.pending===f.pending_buf_size)){k=1;break}k=f.gzindex<f.gzhead.comment.length?255&f.gzhead.comment.charCodeAt(f.gzindex++):0,X(f,k)}while(k!==0);f.gzhead.hcrc&&f.pending>s&&(t.adler=p(t.adler,f.pending_buf,f.pending-s,s)),k===0&&(f.status=103)}else f.status=103;if(f.status===103&&(f.gzhead.hcrc?(f.pending+2>f.pending_buf_size&&A(t),f.pending+2<=f.pending_buf_size&&(X(f,255&t.adler),X(f,t.adler>>8&255),t.adler=0,f.status=B)):f.status=B),f.pending!==0){if(A(t),t.avail_out===0)return f.last_flush=-1,i}else if(t.avail_in===0&&j(R)<=j(C)&&R!==m)return $(t,-5);if(f.status===666&&t.avail_in!==0)return $(t,-5);if(t.avail_in!==0||f.lookahead!==0||R!==_&&f.status!==666){var N=f.strategy===2?function(z,Z){for(var K;;){if(z.lookahead===0&&(nt(z),z.lookahead===0)){if(Z===_)return e;break}if(z.match_length=0,K=n._tr_tally(z,0,z.window[z.strstart]),z.lookahead--,z.strstart++,K&&(E(z,!1),z.strm.avail_out===0))return e}return z.insert=0,Z===m?(E(z,!0),z.strm.avail_out===0?J:L):z.last_lit&&(E(z,!1),z.strm.avail_out===0)?e:D}(f,R):f.strategy===3?function(z,Z){for(var K,W,Y,rt,tt=z.window;;){if(z.lookahead<=M){if(nt(z),z.lookahead<=M&&Z===_)return e;if(z.lookahead===0)break}if(z.match_length=0,z.lookahead>=I&&0<z.strstart&&(W=tt[Y=z.strstart-1])===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]){rt=z.strstart+M;do;while(W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&W===tt[++Y]&&Y<rt);z.match_length=M-(rt-Y),z.match_length>z.lookahead&&(z.match_length=z.lookahead)}if(z.match_length>=I?(K=n._tr_tally(z,1,z.match_length-I),z.lookahead-=z.match_length,z.strstart+=z.match_length,z.match_length=0):(K=n._tr_tally(z,0,z.window[z.strstart]),z.lookahead--,z.strstart++),K&&(E(z,!1),z.strm.avail_out===0))return e}return z.insert=0,Z===m?(E(z,!0),z.strm.avail_out===0?J:L):z.last_lit&&(E(z,!1),z.strm.avail_out===0)?e:D}(f,R):l[f.level].func(f,R);if(N!==J&&N!==L||(f.status=666),N===e||N===J)return t.avail_out===0&&(f.last_flush=-1),i;if(N===D&&(R===1?n._tr_align(f):R!==5&&(n._tr_stored_block(f,0,0,!1),R===3&&(q(f.head),f.lookahead===0&&(f.strstart=0,f.block_start=0,f.insert=0))),A(t),t.avail_out===0))return f.last_flush=-1,i}return R!==m?i:f.wrap<=0?1:(f.wrap===2?(X(f,255&t.adler),X(f,t.adler>>8&255),X(f,t.adler>>16&255),X(f,t.adler>>24&255),X(f,255&t.total_in),X(f,t.total_in>>8&255),X(f,t.total_in>>16&255),X(f,t.total_in>>24&255)):(G(f,t.adler>>>16),G(f,65535&t.adler)),A(t),0<f.wrap&&(f.wrap=-f.wrap),f.pending!==0?i:1)},w.deflateEnd=function(t){var R;return t&&t.state?(R=t.state.status)!==v&&R!==69&&R!==73&&R!==91&&R!==103&&R!==B&&R!==666?$(t,c):(t.state=null,R===B?$(t,-3):i):c},w.deflateSetDictionary=function(t,R){var C,f,s,k,U,N,z,Z,K=R.length;if(!t||!t.state||(k=(C=t.state).wrap)===2||k===1&&C.status!==v||C.lookahead)return c;for(k===1&&(t.adler=h(t.adler,R,K,0)),C.wrap=0,K>=C.w_size&&(k===0&&(q(C.head),C.strstart=0,C.block_start=0,C.insert=0),Z=new o.Buf8(C.w_size),o.arraySet(Z,R,K-C.w_size,C.w_size,0),R=Z,K=C.w_size),U=t.avail_in,N=t.next_in,z=t.input,t.avail_in=K,t.next_in=0,t.input=R,nt(C);C.lookahead>=I;){for(f=C.strstart,s=C.lookahead-(I-1);C.ins_h=(C.ins_h<<C.hash_shift^C.window[f+I-1])&C.hash_mask,C.prev[f&C.w_mask]=C.head[C.ins_h],C.head[C.ins_h]=f,f++,--s;);C.strstart=f,C.lookahead=I-1,nt(C)}return C.strstart+=C.lookahead,C.block_start=C.strstart,C.insert=C.lookahead,C.lookahead=0,C.match_length=C.prev_length=I-1,C.match_available=0,t.next_in=N,t.input=z,t.avail_in=U,C.wrap=k,i},w.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(b,T,w){T.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(b,T,w){T.exports=function(l,o){var n,h,p,g,_,m,i,c,r,u,a,d,y,S,x,F,O,P,I,M,V,v,B,e,D;n=l.state,h=l.next_in,e=l.input,p=h+(l.avail_in-5),g=l.next_out,D=l.output,_=g-(o-l.avail_out),m=g+(l.avail_out-257),i=n.dmax,c=n.wsize,r=n.whave,u=n.wnext,a=n.window,d=n.hold,y=n.bits,S=n.lencode,x=n.distcode,F=(1<<n.lenbits)-1,O=(1<<n.distbits)-1;t:do{y<15&&(d+=e[h++]<<y,y+=8,d+=e[h++]<<y,y+=8),P=S[d&F];e:for(;;){if(d>>>=I=P>>>24,y-=I,(I=P>>>16&255)===0)D[g++]=65535&P;else{if(!(16&I)){if((64&I)==0){P=S[(65535&P)+(d&(1<<I)-1)];continue e}if(32&I){n.mode=12;break t}l.msg="invalid literal/length code",n.mode=30;break t}M=65535&P,(I&=15)&&(y<I&&(d+=e[h++]<<y,y+=8),M+=d&(1<<I)-1,d>>>=I,y-=I),y<15&&(d+=e[h++]<<y,y+=8,d+=e[h++]<<y,y+=8),P=x[d&O];r:for(;;){if(d>>>=I=P>>>24,y-=I,!(16&(I=P>>>16&255))){if((64&I)==0){P=x[(65535&P)+(d&(1<<I)-1)];continue r}l.msg="invalid distance code",n.mode=30;break t}if(V=65535&P,y<(I&=15)&&(d+=e[h++]<<y,(y+=8)<I&&(d+=e[h++]<<y,y+=8)),i<(V+=d&(1<<I)-1)){l.msg="invalid distance too far back",n.mode=30;break t}if(d>>>=I,y-=I,(I=g-_)<V){if(r<(I=V-I)&&n.sane){l.msg="invalid distance too far back",n.mode=30;break t}if(B=a,(v=0)===u){if(v+=c-I,I<M){for(M-=I;D[g++]=a[v++],--I;);v=g-V,B=D}}else if(u<I){if(v+=c+u-I,(I-=u)<M){for(M-=I;D[g++]=a[v++],--I;);if(v=0,u<M){for(M-=I=u;D[g++]=a[v++],--I;);v=g-V,B=D}}}else if(v+=u-I,I<M){for(M-=I;D[g++]=a[v++],--I;);v=g-V,B=D}for(;2<M;)D[g++]=B[v++],D[g++]=B[v++],D[g++]=B[v++],M-=3;M&&(D[g++]=B[v++],1<M&&(D[g++]=B[v++]))}else{for(v=g-V;D[g++]=D[v++],D[g++]=D[v++],D[g++]=D[v++],2<(M-=3););M&&(D[g++]=D[v++],1<M&&(D[g++]=D[v++]))}break}}break}}while(h<p&&g<m);h-=M=y>>3,d&=(1<<(y-=M<<3))-1,l.next_in=h,l.next_out=g,l.avail_in=h<p?p-h+5:5-(h-p),l.avail_out=g<m?m-g+257:257-(g-m),n.hold=d,n.bits=y}},{}],49:[function(b,T,w){var l=b("../utils/common"),o=b("./adler32"),n=b("./crc32"),h=b("./inffast"),p=b("./inftrees"),g=1,_=2,m=0,i=-2,c=1,r=852,u=592;function a(v){return(v>>>24&255)+(v>>>8&65280)+((65280&v)<<8)+((255&v)<<24)}function d(){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 l.Buf16(320),this.work=new l.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function y(v){var B;return v&&v.state?(B=v.state,v.total_in=v.total_out=B.total=0,v.msg="",B.wrap&&(v.adler=1&B.wrap),B.mode=c,B.last=0,B.havedict=0,B.dmax=32768,B.head=null,B.hold=0,B.bits=0,B.lencode=B.lendyn=new l.Buf32(r),B.distcode=B.distdyn=new l.Buf32(u),B.sane=1,B.back=-1,m):i}function S(v){var B;return v&&v.state?((B=v.state).wsize=0,B.whave=0,B.wnext=0,y(v)):i}function x(v,B){var e,D;return v&&v.state?(D=v.state,B<0?(e=0,B=-B):(e=1+(B>>4),B<48&&(B&=15)),B&&(B<8||15<B)?i:(D.window!==null&&D.wbits!==B&&(D.window=null),D.wrap=e,D.wbits=B,S(v))):i}function F(v,B){var e,D;return v?(D=new d,(v.state=D).window=null,(e=x(v,B))!==m&&(v.state=null),e):i}var O,P,I=!0;function M(v){if(I){var B;for(O=new l.Buf32(512),P=new l.Buf32(32),B=0;B<144;)v.lens[B++]=8;for(;B<256;)v.lens[B++]=9;for(;B<280;)v.lens[B++]=7;for(;B<288;)v.lens[B++]=8;for(p(g,v.lens,0,288,O,0,v.work,{bits:9}),B=0;B<32;)v.lens[B++]=5;p(_,v.lens,0,32,P,0,v.work,{bits:5}),I=!1}v.lencode=O,v.lenbits=9,v.distcode=P,v.distbits=5}function V(v,B,e,D){var J,L=v.state;return L.window===null&&(L.wsize=1<<L.wbits,L.wnext=0,L.whave=0,L.window=new l.Buf8(L.wsize)),D>=L.wsize?(l.arraySet(L.window,B,e-L.wsize,L.wsize,0),L.wnext=0,L.whave=L.wsize):(D<(J=L.wsize-L.wnext)&&(J=D),l.arraySet(L.window,B,e-D,J,L.wnext),(D-=J)?(l.arraySet(L.window,B,e-D,D,0),L.wnext=D,L.whave=L.wsize):(L.wnext+=J,L.wnext===L.wsize&&(L.wnext=0),L.whave<L.wsize&&(L.whave+=J))),0}w.inflateReset=S,w.inflateReset2=x,w.inflateResetKeep=y,w.inflateInit=function(v){return F(v,15)},w.inflateInit2=F,w.inflate=function(v,B){var e,D,J,L,$,j,q,A,E,X,G,H,nt,ot,Q,et,st,it,lt,ut,t,R,C,f,s=0,k=new l.Buf8(4),U=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!v||!v.state||!v.output||!v.input&&v.avail_in!==0)return i;(e=v.state).mode===12&&(e.mode=13),$=v.next_out,J=v.output,q=v.avail_out,L=v.next_in,D=v.input,j=v.avail_in,A=e.hold,E=e.bits,X=j,G=q,R=m;t:for(;;)switch(e.mode){case c:if(e.wrap===0){e.mode=13;break}for(;E<16;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}if(2&e.wrap&&A===35615){k[e.check=0]=255&A,k[1]=A>>>8&255,e.check=n(e.check,k,2,0),E=A=0,e.mode=2;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&A)<<8)+(A>>8))%31){v.msg="incorrect header check",e.mode=30;break}if((15&A)!=8){v.msg="unknown compression method",e.mode=30;break}if(E-=4,t=8+(15&(A>>>=4)),e.wbits===0)e.wbits=t;else if(t>e.wbits){v.msg="invalid window size",e.mode=30;break}e.dmax=1<<t,v.adler=e.check=1,e.mode=512&A?10:12,E=A=0;break;case 2:for(;E<16;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}if(e.flags=A,(255&e.flags)!=8){v.msg="unknown compression method",e.mode=30;break}if(57344&e.flags){v.msg="unknown header flags set",e.mode=30;break}e.head&&(e.head.text=A>>8&1),512&e.flags&&(k[0]=255&A,k[1]=A>>>8&255,e.check=n(e.check,k,2,0)),E=A=0,e.mode=3;case 3:for(;E<32;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}e.head&&(e.head.time=A),512&e.flags&&(k[0]=255&A,k[1]=A>>>8&255,k[2]=A>>>16&255,k[3]=A>>>24&255,e.check=n(e.check,k,4,0)),E=A=0,e.mode=4;case 4:for(;E<16;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}e.head&&(e.head.xflags=255&A,e.head.os=A>>8),512&e.flags&&(k[0]=255&A,k[1]=A>>>8&255,e.check=n(e.check,k,2,0)),E=A=0,e.mode=5;case 5:if(1024&e.flags){for(;E<16;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}e.length=A,e.head&&(e.head.extra_len=A),512&e.flags&&(k[0]=255&A,k[1]=A>>>8&255,e.check=n(e.check,k,2,0)),E=A=0}else e.head&&(e.head.extra=null);e.mode=6;case 6:if(1024&e.flags&&(j<(H=e.length)&&(H=j),H&&(e.head&&(t=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),l.arraySet(e.head.extra,D,L,H,t)),512&e.flags&&(e.check=n(e.check,D,H,L)),j-=H,L+=H,e.length-=H),e.length))break t;e.length=0,e.mode=7;case 7:if(2048&e.flags){if(j===0)break t;for(H=0;t=D[L+H++],e.head&&t&&e.length<65536&&(e.head.name+=String.fromCharCode(t)),t&&H<j;);if(512&e.flags&&(e.check=n(e.check,D,H,L)),j-=H,L+=H,t)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=8;case 8:if(4096&e.flags){if(j===0)break t;for(H=0;t=D[L+H++],e.head&&t&&e.length<65536&&(e.head.comment+=String.fromCharCode(t)),t&&H<j;);if(512&e.flags&&(e.check=n(e.check,D,H,L)),j-=H,L+=H,t)break t}else e.head&&(e.head.comment=null);e.mode=9;case 9:if(512&e.flags){for(;E<16;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}if(A!==(65535&e.check)){v.msg="header crc mismatch",e.mode=30;break}E=A=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),v.adler=e.check=0,e.mode=12;break;case 10:for(;E<32;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}v.adler=e.check=a(A),E=A=0,e.mode=11;case 11:if(e.havedict===0)return v.next_out=$,v.avail_out=q,v.next_in=L,v.avail_in=j,e.hold=A,e.bits=E,2;v.adler=e.check=1,e.mode=12;case 12:if(B===5||B===6)break t;case 13:if(e.last){A>>>=7&E,E-=7&E,e.mode=27;break}for(;E<3;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}switch(e.last=1&A,E-=1,3&(A>>>=1)){case 0:e.mode=14;break;case 1:if(M(e),e.mode=20,B!==6)break;A>>>=2,E-=2;break t;case 2:e.mode=17;break;case 3:v.msg="invalid block type",e.mode=30}A>>>=2,E-=2;break;case 14:for(A>>>=7&E,E-=7&E;E<32;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}if((65535&A)!=(A>>>16^65535)){v.msg="invalid stored block lengths",e.mode=30;break}if(e.length=65535&A,E=A=0,e.mode=15,B===6)break t;case 15:e.mode=16;case 16:if(H=e.length){if(j<H&&(H=j),q<H&&(H=q),H===0)break t;l.arraySet(J,D,L,H,$),j-=H,L+=H,q-=H,$+=H,e.length-=H;break}e.mode=12;break;case 17:for(;E<14;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}if(e.nlen=257+(31&A),A>>>=5,E-=5,e.ndist=1+(31&A),A>>>=5,E-=5,e.ncode=4+(15&A),A>>>=4,E-=4,286<e.nlen||30<e.ndist){v.msg="too many length or distance symbols",e.mode=30;break}e.have=0,e.mode=18;case 18:for(;e.have<e.ncode;){for(;E<3;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}e.lens[U[e.have++]]=7&A,A>>>=3,E-=3}for(;e.have<19;)e.lens[U[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,C={bits:e.lenbits},R=p(0,e.lens,0,19,e.lencode,0,e.work,C),e.lenbits=C.bits,R){v.msg="invalid code lengths set",e.mode=30;break}e.have=0,e.mode=19;case 19:for(;e.have<e.nlen+e.ndist;){for(;et=(s=e.lencode[A&(1<<e.lenbits)-1])>>>16&255,st=65535&s,!((Q=s>>>24)<=E);){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}if(st<16)A>>>=Q,E-=Q,e.lens[e.have++]=st;else{if(st===16){for(f=Q+2;E<f;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}if(A>>>=Q,E-=Q,e.have===0){v.msg="invalid bit length repeat",e.mode=30;break}t=e.lens[e.have-1],H=3+(3&A),A>>>=2,E-=2}else if(st===17){for(f=Q+3;E<f;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}E-=Q,t=0,H=3+(7&(A>>>=Q)),A>>>=3,E-=3}else{for(f=Q+7;E<f;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}E-=Q,t=0,H=11+(127&(A>>>=Q)),A>>>=7,E-=7}if(e.have+H>e.nlen+e.ndist){v.msg="invalid bit length repeat",e.mode=30;break}for(;H--;)e.lens[e.have++]=t}}if(e.mode===30)break;if(e.lens[256]===0){v.msg="invalid code -- missing end-of-block",e.mode=30;break}if(e.lenbits=9,C={bits:e.lenbits},R=p(g,e.lens,0,e.nlen,e.lencode,0,e.work,C),e.lenbits=C.bits,R){v.msg="invalid literal/lengths set",e.mode=30;break}if(e.distbits=6,e.distcode=e.distdyn,C={bits:e.distbits},R=p(_,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,C),e.distbits=C.bits,R){v.msg="invalid distances set",e.mode=30;break}if(e.mode=20,B===6)break t;case 20:e.mode=21;case 21:if(6<=j&&258<=q){v.next_out=$,v.avail_out=q,v.next_in=L,v.avail_in=j,e.hold=A,e.bits=E,h(v,G),$=v.next_out,J=v.output,q=v.avail_out,L=v.next_in,D=v.input,j=v.avail_in,A=e.hold,E=e.bits,e.mode===12&&(e.back=-1);break}for(e.back=0;et=(s=e.lencode[A&(1<<e.lenbits)-1])>>>16&255,st=65535&s,!((Q=s>>>24)<=E);){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}if(et&&(240&et)==0){for(it=Q,lt=et,ut=st;et=(s=e.lencode[ut+((A&(1<<it+lt)-1)>>it)])>>>16&255,st=65535&s,!(it+(Q=s>>>24)<=E);){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}A>>>=it,E-=it,e.back+=it}if(A>>>=Q,E-=Q,e.back+=Q,e.length=st,et===0){e.mode=26;break}if(32&et){e.back=-1,e.mode=12;break}if(64&et){v.msg="invalid literal/length code",e.mode=30;break}e.extra=15&et,e.mode=22;case 22:if(e.extra){for(f=e.extra;E<f;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}e.length+=A&(1<<e.extra)-1,A>>>=e.extra,E-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=23;case 23:for(;et=(s=e.distcode[A&(1<<e.distbits)-1])>>>16&255,st=65535&s,!((Q=s>>>24)<=E);){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}if((240&et)==0){for(it=Q,lt=et,ut=st;et=(s=e.distcode[ut+((A&(1<<it+lt)-1)>>it)])>>>16&255,st=65535&s,!(it+(Q=s>>>24)<=E);){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}A>>>=it,E-=it,e.back+=it}if(A>>>=Q,E-=Q,e.back+=Q,64&et){v.msg="invalid distance code",e.mode=30;break}e.offset=st,e.extra=15&et,e.mode=24;case 24:if(e.extra){for(f=e.extra;E<f;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}e.offset+=A&(1<<e.extra)-1,A>>>=e.extra,E-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){v.msg="invalid distance too far back",e.mode=30;break}e.mode=25;case 25:if(q===0)break t;if(H=G-q,e.offset>H){if((H=e.offset-H)>e.whave&&e.sane){v.msg="invalid distance too far back",e.mode=30;break}nt=H>e.wnext?(H-=e.wnext,e.wsize-H):e.wnext-H,H>e.length&&(H=e.length),ot=e.window}else ot=J,nt=$-e.offset,H=e.length;for(q<H&&(H=q),q-=H,e.length-=H;J[$++]=ot[nt++],--H;);e.length===0&&(e.mode=21);break;case 26:if(q===0)break t;J[$++]=e.length,q--,e.mode=21;break;case 27:if(e.wrap){for(;E<32;){if(j===0)break t;j--,A|=D[L++]<<E,E+=8}if(G-=q,v.total_out+=G,e.total+=G,G&&(v.adler=e.check=e.flags?n(e.check,J,G,$-G):o(e.check,J,G,$-G)),G=q,(e.flags?A:a(A))!==e.check){v.msg="incorrect data check",e.mode=30;break}E=A=0}e.mode=28;case 28:if(e.wrap&&e.flags){for(;E<32;){if(j===0)break t;j--,A+=D[L++]<<E,E+=8}if(A!==(4294967295&e.total)){v.msg="incorrect length check",e.mode=30;break}E=A=0}e.mode=29;case 29:R=1;break t;case 30:R=-3;break t;case 31:return-4;case 32:default:return i}return v.next_out=$,v.avail_out=q,v.next_in=L,v.avail_in=j,e.hold=A,e.bits=E,(e.wsize||G!==v.avail_out&&e.mode<30&&(e.mode<27||B!==4))&&V(v,v.output,v.next_out,G-v.avail_out)?(e.mode=31,-4):(X-=v.avail_in,G-=v.avail_out,v.total_in+=X,v.total_out+=G,e.total+=G,e.wrap&&G&&(v.adler=e.check=e.flags?n(e.check,J,G,v.next_out-G):o(e.check,J,G,v.next_out-G)),v.data_type=e.bits+(e.last?64:0)+(e.mode===12?128:0)+(e.mode===20||e.mode===15?256:0),(X==0&&G===0||B===4)&&R===m&&(R=-5),R)},w.inflateEnd=function(v){if(!v||!v.state)return i;var B=v.state;return B.window&&(B.window=null),v.state=null,m},w.inflateGetHeader=function(v,B){var e;return v&&v.state?(2&(e=v.state).wrap)==0?i:((e.head=B).done=!1,m):i},w.inflateSetDictionary=function(v,B){var e,D=B.length;return v&&v.state?(e=v.state).wrap!==0&&e.mode!==11?i:e.mode===11&&o(1,B,D,0)!==e.check?-3:V(v,B,D,D)?(e.mode=31,-4):(e.havedict=1,m):i},w.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(b,T,w){var l=b("../utils/common"),o=[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],n=[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],h=[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],p=[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];T.exports=function(g,_,m,i,c,r,u,a){var d,y,S,x,F,O,P,I,M,V=a.bits,v=0,B=0,e=0,D=0,J=0,L=0,$=0,j=0,q=0,A=0,E=null,X=0,G=new l.Buf16(16),H=new l.Buf16(16),nt=null,ot=0;for(v=0;v<=15;v++)G[v]=0;for(B=0;B<i;B++)G[_[m+B]]++;for(J=V,D=15;1<=D&&G[D]===0;D--);if(D<J&&(J=D),D===0)return c[r++]=20971520,c[r++]=20971520,a.bits=1,0;for(e=1;e<D&&G[e]===0;e++);for(J<e&&(J=e),v=j=1;v<=15;v++)if(j<<=1,(j-=G[v])<0)return-1;if(0<j&&(g===0||D!==1))return-1;for(H[1]=0,v=1;v<15;v++)H[v+1]=H[v]+G[v];for(B=0;B<i;B++)_[m+B]!==0&&(u[H[_[m+B]]++]=B);if(O=g===0?(E=nt=u,19):g===1?(E=o,X-=257,nt=n,ot-=257,256):(E=h,nt=p,-1),v=e,F=r,$=B=A=0,S=-1,x=(q=1<<(L=J))-1,g===1&&852<q||g===2&&592<q)return 1;for(;;){for(P=v-$,M=u[B]<O?(I=0,u[B]):u[B]>O?(I=nt[ot+u[B]],E[X+u[B]]):(I=96,0),d=1<<v-$,e=y=1<<L;c[F+(A>>$)+(y-=d)]=P<<24|I<<16|M|0,y!==0;);for(d=1<<v-1;A&d;)d>>=1;if(d!==0?(A&=d-1,A+=d):A=0,B++,--G[v]==0){if(v===D)break;v=_[m+u[B]]}if(J<v&&(A&x)!==S){for($===0&&($=J),F+=e,j=1<<(L=v-$);L+$<D&&!((j-=G[L+$])<=0);)L++,j<<=1;if(q+=1<<L,g===1&&852<q||g===2&&592<q)return 1;c[S=A&x]=J<<24|L<<16|F-r|0}}return A!==0&&(c[F+A]=v-$<<24|64<<16|0),a.bits=J,0}},{"../utils/common":41}],51:[function(b,T,w){T.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(b,T,w){var l=b("../utils/common"),o=0,n=1;function h(s){for(var k=s.length;0<=--k;)s[k]=0}var p=0,g=29,_=256,m=_+1+g,i=30,c=19,r=2*m+1,u=15,a=16,d=7,y=256,S=16,x=17,F=18,O=[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],P=[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],I=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],M=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],V=new Array(2*(m+2));h(V);var v=new Array(2*i);h(v);var B=new Array(512);h(B);var e=new Array(256);h(e);var D=new Array(g);h(D);var J,L,$,j=new Array(i);function q(s,k,U,N,z){this.static_tree=s,this.extra_bits=k,this.extra_base=U,this.elems=N,this.max_length=z,this.has_stree=s&&s.length}function A(s,k){this.dyn_tree=s,this.max_code=0,this.stat_desc=k}function E(s){return s<256?B[s]:B[256+(s>>>7)]}function X(s,k){s.pending_buf[s.pending++]=255&k,s.pending_buf[s.pending++]=k>>>8&255}function G(s,k,U){s.bi_valid>a-U?(s.bi_buf|=k<<s.bi_valid&65535,X(s,s.bi_buf),s.bi_buf=k>>a-s.bi_valid,s.bi_valid+=U-a):(s.bi_buf|=k<<s.bi_valid&65535,s.bi_valid+=U)}function H(s,k,U){G(s,U[2*k],U[2*k+1])}function nt(s,k){for(var U=0;U|=1&s,s>>>=1,U<<=1,0<--k;);return U>>>1}function ot(s,k,U){var N,z,Z=new Array(u+1),K=0;for(N=1;N<=u;N++)Z[N]=K=K+U[N-1]<<1;for(z=0;z<=k;z++){var W=s[2*z+1];W!==0&&(s[2*z]=nt(Z[W]++,W))}}function Q(s){var k;for(k=0;k<m;k++)s.dyn_ltree[2*k]=0;for(k=0;k<i;k++)s.dyn_dtree[2*k]=0;for(k=0;k<c;k++)s.bl_tree[2*k]=0;s.dyn_ltree[2*y]=1,s.opt_len=s.static_len=0,s.last_lit=s.matches=0}function et(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 st(s,k,U,N){var z=2*k,Z=2*U;return s[z]<s[Z]||s[z]===s[Z]&&N[k]<=N[U]}function it(s,k,U){for(var N=s.heap[U],z=U<<1;z<=s.heap_len&&(z<s.heap_len&&st(k,s.heap[z+1],s.heap[z],s.depth)&&z++,!st(k,N,s.heap[z],s.depth));)s.heap[U]=s.heap[z],U=z,z<<=1;s.heap[U]=N}function lt(s,k,U){var N,z,Z,K,W=0;if(s.last_lit!==0)for(;N=s.pending_buf[s.d_buf+2*W]<<8|s.pending_buf[s.d_buf+2*W+1],z=s.pending_buf[s.l_buf+W],W++,N===0?H(s,z,k):(H(s,(Z=e[z])+_+1,k),(K=O[Z])!==0&&G(s,z-=D[Z],K),H(s,Z=E(--N),U),(K=P[Z])!==0&&G(s,N-=j[Z],K)),W<s.last_lit;);H(s,y,k)}function ut(s,k){var U,N,z,Z=k.dyn_tree,K=k.stat_desc.static_tree,W=k.stat_desc.has_stree,Y=k.stat_desc.elems,rt=-1;for(s.heap_len=0,s.heap_max=r,U=0;U<Y;U++)Z[2*U]!==0?(s.heap[++s.heap_len]=rt=U,s.depth[U]=0):Z[2*U+1]=0;for(;s.heap_len<2;)Z[2*(z=s.heap[++s.heap_len]=rt<2?++rt:0)]=1,s.depth[z]=0,s.opt_len--,W&&(s.static_len-=K[2*z+1]);for(k.max_code=rt,U=s.heap_len>>1;1<=U;U--)it(s,Z,U);for(z=Y;U=s.heap[1],s.heap[1]=s.heap[s.heap_len--],it(s,Z,1),N=s.heap[1],s.heap[--s.heap_max]=U,s.heap[--s.heap_max]=N,Z[2*z]=Z[2*U]+Z[2*N],s.depth[z]=(s.depth[U]>=s.depth[N]?s.depth[U]:s.depth[N])+1,Z[2*U+1]=Z[2*N+1]=z,s.heap[1]=z++,it(s,Z,1),2<=s.heap_len;);s.heap[--s.heap_max]=s.heap[1],function(tt,ht){var _t,ft,gt,at,bt,kt,ct=ht.dyn_tree,xt=ht.max_code,At=ht.stat_desc.static_tree,Ct=ht.stat_desc.has_stree,It=ht.stat_desc.extra_bits,St=ht.stat_desc.extra_base,vt=ht.stat_desc.max_length,yt=0;for(at=0;at<=u;at++)tt.bl_count[at]=0;for(ct[2*tt.heap[tt.heap_max]+1]=0,_t=tt.heap_max+1;_t<r;_t++)vt<(at=ct[2*ct[2*(ft=tt.heap[_t])+1]+1]+1)&&(at=vt,yt++),ct[2*ft+1]=at,xt<ft||(tt.bl_count[at]++,bt=0,St<=ft&&(bt=It[ft-St]),kt=ct[2*ft],tt.opt_len+=kt*(at+bt),Ct&&(tt.static_len+=kt*(At[2*ft+1]+bt)));if(yt!==0){do{for(at=vt-1;tt.bl_count[at]===0;)at--;tt.bl_count[at]--,tt.bl_count[at+1]+=2,tt.bl_count[vt]--,yt-=2}while(0<yt);for(at=vt;at!==0;at--)for(ft=tt.bl_count[at];ft!==0;)xt<(gt=tt.heap[--_t])||(ct[2*gt+1]!==at&&(tt.opt_len+=(at-ct[2*gt+1])*ct[2*gt],ct[2*gt+1]=at),ft--)}}(s,k),ot(Z,rt,s.bl_count)}function t(s,k,U){var N,z,Z=-1,K=k[1],W=0,Y=7,rt=4;for(K===0&&(Y=138,rt=3),k[2*(U+1)+1]=65535,N=0;N<=U;N++)z=K,K=k[2*(N+1)+1],++W<Y&&z===K||(W<rt?s.bl_tree[2*z]+=W:z!==0?(z!==Z&&s.bl_tree[2*z]++,s.bl_tree[2*S]++):W<=10?s.bl_tree[2*x]++:s.bl_tree[2*F]++,Z=z,rt=(W=0)===K?(Y=138,3):z===K?(Y=6,3):(Y=7,4))}function R(s,k,U){var N,z,Z=-1,K=k[1],W=0,Y=7,rt=4;for(K===0&&(Y=138,rt=3),N=0;N<=U;N++)if(z=K,K=k[2*(N+1)+1],!(++W<Y&&z===K)){if(W<rt)for(;H(s,z,s.bl_tree),--W!=0;);else z!==0?(z!==Z&&(H(s,z,s.bl_tree),W--),H(s,S,s.bl_tree),G(s,W-3,2)):W<=10?(H(s,x,s.bl_tree),G(s,W-3,3)):(H(s,F,s.bl_tree),G(s,W-11,7));Z=z,rt=(W=0)===K?(Y=138,3):z===K?(Y=6,3):(Y=7,4)}}h(j);var C=!1;function f(s,k,U,N){G(s,(p<<1)+(N?1:0),3),function(z,Z,K,W){et(z),W&&(X(z,K),X(z,~K)),l.arraySet(z.pending_buf,z.window,Z,K,z.pending),z.pending+=K}(s,k,U,!0)}w._tr_init=function(s){C||(function(){var k,U,N,z,Z,K=new Array(u+1);for(z=N=0;z<g-1;z++)for(D[z]=N,k=0;k<1<<O[z];k++)e[N++]=z;for(e[N-1]=z,z=Z=0;z<16;z++)for(j[z]=Z,k=0;k<1<<P[z];k++)B[Z++]=z;for(Z>>=7;z<i;z++)for(j[z]=Z<<7,k=0;k<1<<P[z]-7;k++)B[256+Z++]=z;for(U=0;U<=u;U++)K[U]=0;for(k=0;k<=143;)V[2*k+1]=8,k++,K[8]++;for(;k<=255;)V[2*k+1]=9,k++,K[9]++;for(;k<=279;)V[2*k+1]=7,k++,K[7]++;for(;k<=287;)V[2*k+1]=8,k++,K[8]++;for(ot(V,m+1,K),k=0;k<i;k++)v[2*k+1]=5,v[2*k]=nt(k,5);J=new q(V,O,_+1,m,u),L=new q(v,P,0,i,u),$=new q(new Array(0),I,0,c,d)}(),C=!0),s.l_desc=new A(s.dyn_ltree,J),s.d_desc=new A(s.dyn_dtree,L),s.bl_desc=new A(s.bl_tree,$),s.bi_buf=0,s.bi_valid=0,Q(s)},w._tr_stored_block=f,w._tr_flush_block=function(s,k,U,N){var z,Z,K=0;0<s.level?(s.strm.data_type===2&&(s.strm.data_type=function(W){var Y,rt=4093624447;for(Y=0;Y<=31;Y++,rt>>>=1)if(1&rt&&W.dyn_ltree[2*Y]!==0)return o;if(W.dyn_ltree[18]!==0||W.dyn_ltree[20]!==0||W.dyn_ltree[26]!==0)return n;for(Y=32;Y<_;Y++)if(W.dyn_ltree[2*Y]!==0)return n;return o}(s)),ut(s,s.l_desc),ut(s,s.d_desc),K=function(W){var Y;for(t(W,W.dyn_ltree,W.l_desc.max_code),t(W,W.dyn_dtree,W.d_desc.max_code),ut(W,W.bl_desc),Y=c-1;3<=Y&&W.bl_tree[2*M[Y]+1]===0;Y--);return W.opt_len+=3*(Y+1)+5+5+4,Y}(s),z=s.opt_len+3+7>>>3,(Z=s.static_len+3+7>>>3)<=z&&(z=Z)):z=Z=U+5,U+4<=z&&k!==-1?f(s,k,U,N):s.strategy===4||Z===z?(G(s,2+(N?1:0),3),lt(s,V,v)):(G(s,4+(N?1:0),3),function(W,Y,rt,tt){var ht;for(G(W,Y-257,5),G(W,rt-1,5),G(W,tt-4,4),ht=0;ht<tt;ht++)G(W,W.bl_tree[2*M[ht]+1],3);R(W,W.dyn_ltree,Y-1),R(W,W.dyn_dtree,rt-1)}(s,s.l_desc.max_code+1,s.d_desc.max_code+1,K+1),lt(s,s.dyn_ltree,s.dyn_dtree)),Q(s),N&&et(s)},w._tr_tally=function(s,k,U){return s.pending_buf[s.d_buf+2*s.last_lit]=k>>>8&255,s.pending_buf[s.d_buf+2*s.last_lit+1]=255&k,s.pending_buf[s.l_buf+s.last_lit]=255&U,s.last_lit++,k===0?s.dyn_ltree[2*U]++:(s.matches++,k--,s.dyn_ltree[2*(e[U]+_+1)]++,s.dyn_dtree[2*E(k)]++),s.last_lit===s.lit_bufsize-1},w._tr_align=function(s){G(s,2,3),H(s,y,V),function(k){k.bi_valid===16?(X(k,k.bi_buf),k.bi_buf=0,k.bi_valid=0):8<=k.bi_valid&&(k.pending_buf[k.pending++]=255&k.bi_buf,k.bi_buf>>=8,k.bi_valid-=8)}(s)}},{"../utils/common":41}],53:[function(b,T,w){T.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(b,T,w){(function(l){(function(o,n){if(!o.setImmediate){var h,p,g,_,m=1,i={},c=!1,r=o.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(o);u=u&&u.setTimeout?u:o,h={}.toString.call(o.process)==="[object process]"?function(S){process.nextTick(function(){d(S)})}:function(){if(o.postMessage&&!o.importScripts){var S=!0,x=o.onmessage;return o.onmessage=function(){S=!1},o.postMessage("","*"),o.onmessage=x,S}}()?(_="setImmediate$"+Math.random()+"$",o.addEventListener?o.addEventListener("message",y,!1):o.attachEvent("onmessage",y),function(S){o.postMessage(_+S,"*")}):o.MessageChannel?((g=new MessageChannel).port1.onmessage=function(S){d(S.data)},function(S){g.port2.postMessage(S)}):r&&"onreadystatechange"in r.createElement("script")?(p=r.documentElement,function(S){var x=r.createElement("script");x.onreadystatechange=function(){d(S),x.onreadystatechange=null,p.removeChild(x),x=null},p.appendChild(x)}):function(S){setTimeout(d,0,S)},u.setImmediate=function(S){typeof S!="function"&&(S=new Function(""+S));for(var x=new Array(arguments.length-1),F=0;F<x.length;F++)x[F]=arguments[F+1];var O={callback:S,args:x};return i[m]=O,h(m),m++},u.clearImmediate=a}function a(S){delete i[S]}function d(S){if(c)setTimeout(d,0,S);else{var x=i[S];if(x){c=!0;try{(function(F){var O=F.callback,P=F.args;switch(P.length){case 0:O();break;case 1:O(P[0]);break;case 2:O(P[0],P[1]);break;case 3:O(P[0],P[1],P[2]);break;default:O.apply(n,P)}})(x)}finally{a(S),c=!1}}}}function y(S){S.source===o&&typeof S.data=="string"&&S.data.indexOf(_)===0&&d(+S.data.slice(_.length))}})(typeof self>"u"?l===void 0?this:l:self)}).call(this,typeof dt<"u"?dt:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(zt);const Bt=zt.exports;var Et={exports:{}};(function(pt,mt){(function(b,T){T()})(dt,function(){function b(p,g){return typeof g>"u"?g={autoBom:!1}:typeof g!="object"&&(console.warn("Deprecated: Expected third argument to be a object"),g={autoBom:!g}),g.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(p.type)?new Blob(["\uFEFF",p],{type:p.type}):p}function T(p,g,_){var m=new XMLHttpRequest;m.open("GET",p),m.responseType="blob",m.onload=function(){h(m.response,g,_)},m.onerror=function(){console.error("could not download file")},m.send()}function w(p){var g=new XMLHttpRequest;g.open("HEAD",p,!1);try{g.send()}catch{}return 200<=g.status&&299>=g.status}function l(p){try{p.dispatchEvent(new MouseEvent("click"))}catch{var g=document.createEvent("MouseEvents");g.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),p.dispatchEvent(g)}}var o=typeof window=="object"&&window.window===window?window:typeof self=="object"&&self.self===self?self:typeof dt=="object"&&dt.global===dt?dt:void 0,n=o.navigator&&/Macintosh/.test(navigator.userAgent)&&/AppleWebKit/.test(navigator.userAgent)&&!/Safari/.test(navigator.userAgent),h=o.saveAs||(typeof window!="object"||window!==o?function(){}:"download"in HTMLAnchorElement.prototype&&!n?function(p,g,_){var m=o.URL||o.webkitURL,i=document.createElement("a");g=g||p.name||"download",i.download=g,i.rel="noopener",typeof p=="string"?(i.href=p,i.origin===location.origin?l(i):w(i.href)?T(p,g,_):l(i,i.target="_blank")):(i.href=m.createObjectURL(p),setTimeout(function(){m.revokeObjectURL(i.href)},4e4),setTimeout(function(){l(i)},0))}:"msSaveOrOpenBlob"in navigator?function(p,g,_){if(g=g||p.name||"download",typeof p!="string")navigator.msSaveOrOpenBlob(b(p,_),g);else if(w(p))T(p,g,_);else{var m=document.createElement("a");m.href=p,m.target="_blank",setTimeout(function(){l(m)})}}:function(p,g,_,m){if(m=m||open("","_blank"),m&&(m.document.title=m.document.body.innerText="downloading..."),typeof p=="string")return T(p,g,_);var i=p.type==="application/octet-stream",c=/constructor/i.test(o.HTMLElement)||o.safari,r=/CriOS\/[\d]+/.test(navigator.userAgent);if((r||i&&c||n)&&typeof FileReader<"u"){var u=new FileReader;u.onloadend=function(){var y=u.result;y=r?y:y.replace(/^data:[^;]*;/,"data:attachment/file;"),m?m.location.href=y:location=y,m=null},u.readAsDataURL(p)}else{var a=o.URL||o.webkitURL,d=a.createObjectURL(p);m?m.location=d:location.href=d,m=null,setTimeout(function(){a.revokeObjectURL(d)},4e4)}});o.saveAs=h.saveAs=h,pt.exports=h})})(Et);const Rt=Et.exports,Tt=pt=>new Promise((mt,b)=>{Ot({method:"get",url:pt,responseType:"blob"}).then(T=>{mt(T.data)}).catch(T=>{b(T.toString())})}),Ut=pt=>{const mt=pt,b=new Bt,T=[];mt.forEach((w,l)=>{const o=Tt(w.fileUrl).then(n=>{const h=l+1+w.fileName;b.file(h,n,{binary:!0})});T.push(o)}),Promise.all(T).then(()=>{b.generateAsync({type:"blob"}).then(w=>{Rt.saveAs(w,"\u9644\u4EF6.zip")})})};export{Ut as D};