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