!function(e){if("object"==typeofexports&&"undefined"!=typeofmodule)module.exports=e();elseif("function"==typeofdefine&&define.amd)define([],e);else{("undefined"!=typeofwindow?window:"undefined"!=typeofglobal?global:"undefined"!=typeofself?self:this).JSZip=e()}}(function(){returnfunctions(a,o,h){functionu(r,e){if(!o[r]){if(!a[r]){vart="function"==typeofrequire&&require;if(!e&&t)returnt(r,!0);if(l)returnl(r,!0);varn=newError("Cannot find module '"+r+"'");thrown.code="MODULE_NOT_FOUND",n}vari=o[r]={exports:{}};a[r][0].call(i.exports,function(e){vart=a[r][1][e];returnu(t||e)},i,i.exports,s,a,o,h)}returno[r].exports}for(varl="function"==typeofrequire&&require,e=0;e<h.length;e++)u(h[e]);returnu}({1:[function(e,t,r){"use strict";vard=e("./utils"),c=e("./support"),p="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(vart,r,n,i,s,a,o,h=[],u=0,l=e.length,f=l,c="string"!==d.getTypeOf(e);u<e.length;)f=l-u,n=c?(t=e[u++],r=u<l?e[u++]:0,u<l?e[u++]:0):(t=e.charCodeAt(u++),r=u<l?e.charCodeAt(u++):0,u<l?e.charCodeAt(u++):0),i=t>>2,s=(3&t)<<4|r>>4,a=1<f?(15&r)<<2|n>>6:64,o=2<f?63&n:64,h.push(p.charAt(i)+p.charAt(s)+p.charAt(a)+p.charAt(o));returnh.join("")},r.decode=function(e){vart,r,n,i,s,a,o=0,h=0,u="data:";if(e.substr(0,u.length)===u)thrownewError("Invalid base64 input, it looks like a data url.");varl,f=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===p.charAt(64)&&f--,e.charAt(e.length-2)===p.charAt(64)&&f--,f%1!=0)thrownewError("Invalid base64 input, bad content length.");for(l=c.uint8array?newUint8Array(0|f):newArray(0|f);o<e.length;)t=p.indexOf(e.charAt(o++))<<2|(i=p.indexOf(e.charAt(o++)))>>4,r=(15&i)<<4|(s=p.indexOf(e.charAt(o++)))>>2,n=(3&s)<<6|(a=p.indexOf(e.charAt(o++))),l[h++]=t,64!==s&&(l[h++]=r),64!==a&&(l[h++]=n);returnl}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";varn=e("./external"),i=e("./stream/DataWorker"),s=e("./stream/Crc32Probe"),a=e("./stream/DataLengthProbe");functiono(e,t,r,n,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=n,this.compressedContent=i}o.prototype={getContentWorker:function(){vare=newi(n.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(newa("data_length")),t=this;returne.on("end",function(){if(this.streamInfo.data_length!==t.uncompressedSize)thrownewError("Bug : uncompressed data size mismatch")}),e},getCompressedWorker:function(){returnnewi(n.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(e,t,r){returne.pipe(news).pipe(newa("uncompressedSize")).pipe(t.compressWorker(r)).pipe(newa("compressedSize")).withStreamInfo("compression",t)},t.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";varn=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){returnnewn("STORE compression")},uncompressWorker:function(){returnnewn("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";varn=e("./utils");varo=function(){for(vare,t=[],r=0;r<256;r++){e=r;for(varn=0;n<8;n++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}returnt}();t.exports=function(e,t){returnvoid0!==e&&e.length?"string"!==n.getTypeOf(e)?function(e,t,r,n){vari=o,s=n+r;e^=-1;for(vara=n;a<s;a++)e=e>>>8^i[255&(e^t[a])];return-1^e}(0|t,e,e.length,0):function(e,t,r,n){vari=o,s=n+r;e^=-1;for(vara=n;a<s;a++)e=e>>>8^i[255&(e^t.charCodeAt(a))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";varn=null;n="undefined"!=typeofProm