1234567891011 |
- import{H as it,d as Ot,e as Mt,f as tt,w as pt,bb as St,db as xt,bc as Ht,b as Gt,r as Rt,k as Ft,j as It,dc as Vt,F as Nt,x as Yt,V as Pt,P as bt,E as Qt,_ as qt,dd as Xt}from"./index-efb66432-1734950731618.js";import{T as Kt}from"./index-b40f8126-1734950731618.js";import{F as Ut}from"./index-1071cbc8-1734950731618.js";const Je=E=>it.post("/edu-app/lessonCourseware/page",{data:E}),$e=E=>it.get("/edu-app/lessonCourseware/detail/"+E.id,{params:E}),tr=E=>it.post("/edu-app/lessonCourseware/remove",{requestType:"form",data:E}),er=E=>it.post("/edu-app/lessonPreTraining/page",{data:E}),rr=E=>it.post("/edu-app/lessonPreTraining/delete?ids="+E.ids,{data:E}),nr=E=>it.post("/edu-app/classGroup/page",{data:E}),ir=E=>it.post("/edu-app/lessonTraining/add",{data:E}),ar=E=>it.post("/edu-app/courseSchedule/start",{data:E}),sr=E=>it.post("/edu-app/teacherKnowledgeMaterial/tagUseCourseware",{requestType:"form",data:E}),or=E=>it.post("/edu-app/courseSchedule/update",{data:E}),lr=E=>it.get("/edu-app/musicPracticeRecord/detail/"+E.id,{params:E}),ur=E=>it.post("/edu-app/lessonPreTrainingV2/save",{data:E}),cr=E=>it.get("/edu-app/lessonPreTrainingV2/detail/"+E.id),hr=E=>it.post("/edu-app/teacherChapterLessonCourseware/list",{data:E}),dr=E=>it.post("/edu-app/teacherChapterLessonCourseware/updateCoursewareInfo",{data:E}),fr=E=>it.post("/edu-app/teacherChapterLessonCourseware/queryOpenCoursewareByPage",{data:E}),pr=E=>it.post("/edu-app/teacherChapterLessonCourseware/addByOpenCourseware",{data:E}),mr=E=>it.post("/edu-app/teacherChapterLessonCourseware/add",{data:E}),gr=E=>it.post("/edu-app/teacherChapterLessonCourseware/remove?id="+E.id,{requestType:"form"}),_r=E=>it.post("/edu-app/teacherChapterLessonCourseware/update",{data:E}),vr=E=>it.get("/edu-app/teacherChapterLessonCourseware/detail/"+E),br=E=>it.post("/edu-app/teacherChapterLessonCourseware/coursewareToTeacherCourseware",{data:{id:E}}),wr=E=>it.get("/edu-app/material/detail/"+E),yr=()=>it.get("/edu-app/lessonCourseware/teacherCategory"),Ar=E=>it.post("/edu-app/courseSchedule/check",{data:E}),Jt="_isActive_2g7hm_19",$t="_isError_2g7hm_38",te="_cardDrag_2g7hm_45",ee="_course_2g7hm_51",re="_showAddBtn_2g7hm_55",ne="_addBtn_2g7hm_59",ie="_cover_2g7hm_65",ae="_audioPlayTypeSection_2g7hm_83",se="_audioPlayTypeSmall_2g7hm_90",oe="_iconType_2g7hm_90",le="_iconPlay_2g7hm_100",ue="_iconSing_2g7hm_108",ce="_footer_2g7hm_116",he="_title_2g7hm_121",de="_titleType_2g7hm_125",fe="_titleContent_2g7hm_130",pe="_btnGroup_2g7hm_138",me="_btnItem_2g7hm_148",ge="_iconCollect_2g7hm_151",_e="_isCollect_2g7hm_160",ve="_iconDiv_2g7hm_163",be="_iconSelected_2g7hm_166",we="_addBtnDisabled_2g7hm_188",ye="_offShelfBg_2g7hm_199",Ae="_offShelfTips_2g7hm_213",ke="_offShelfBtn_2g7hm_220",q={"card-section-content":"_card-section-content_2g7hm_1",isActive:Jt,"card-section":"_card-section_2g7hm_1",isError:$t,cardDrag:te,course:ee,showAddBtn:re,addBtn:ne,cover:ie,audioPlayTypeSection:ae,audioPlayTypeSmall:se,iconType:oe,iconPlay:le,iconSing:ue,footer:ce,title:he,titleType:de,titleContent:fe,btnGroup:pe,btnItem:me,iconCollect:ge,isCollect:_e,iconDiv:ve,iconSelected:be,addBtnDisabled:we,offShelfBg:ye,offShelfTips:Ae,offShelfBtn:ke},Ce="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAAAAXNSR0IArs4c6QAABKRJREFUSEulVk1oXFUU/k5mEmoktmRh0iipEKiLFKRopxGqTdKkolQaMQklggqCulNX7a4IRbvVVZdCoQtbTVZFERQ6mTQZJxZFai0qWpk0xdoflZjE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qtLMzIxIwFLMs1zpG6ajECOKxRtCBdwKhMLQlhUcfv190qXEUS5pe3v00zQJUI4caoadWdrEDF7rE61Ul/1jhetR8RFYFhabBOaa1jFXZT6/wItZrUqOJLpegAAAABJRU5ErkJggg==",Ie="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAAAwFBMVEX///8AAAD////9/f3///////////////////8FBQVMTEz19fUJCQkqKio4ODhBQUGSkpLIyMj///////////////////////////////////////////////////////////8dHR0aGhoRERFycnLc3Nzv7+/q6uoWFhYiIiIwMDBHR0dbW1t5eXmDg4ONjY2JiYmtra23t7e+vr67u7vExMTf39/l5eVVVVVpaWlnZ2d3d3enp6fPz8/T09MAAACM0PN4AAAAP3RSTlPMABzMyLSTQwX+7c789PLv39XBwL2mpImAem1pZ1tKMCj4+Prm0s/P+fbz7urk4uDg2tjX19XR0Ovn5+Tb1NN/7vKiAAAC0UlEQVRYw7WY6XrqIBCGp8SYRK3GXatV61brUtfW7rn/uzpAHk06A1aD5/vjw8z4BsiEAeBGK9Zp1at2JZWq2NV6q8P0kRqI6zRsQLIbjnsBpNcsg1LlZu9MSDcNJ5TungFhGEEx7A+I207Bn0q13VMQVoOzVGN6iFOCM1VydJB7uED3asgdXKQ7CpGMpBRAY7loRBjiQAI5vyGslARSYnGIW4NEqrkxSBsSqh1BWCopJMWOkDQkVvoA6aq83/7n0N9ZIGXt/OGn/w0KdQVE2RHLfwqk+sMxwHjYD1tPvkW7EkJ6xDG6DY562O36Uet2BFg9CWlic3EQaDUoAlJTQFy8nj72ZfR8tXx/OPbnfbmaS3b/Ea+77g3QhM+I2IyMtZY50cgtLUkPPST5OaSBbC8icnFobbwg8DaH1kL4XtAfGhyC68ucx02jt/A1GHxFb23KnXNcj26AAdKEx8Vnz7Lic86dE0Bi0EGWvZhG0EpM9R7ZOtASP+hZBT2kgPop1II6ndfTEDqzdajiLBHprYeIzwFnShVI8c/xvLB0DEt4sdGGCjaJ72atg6zF94ONFSDr0QJlJcnmBVmZKGTE47yRmjHyuHNEIRXAyvPAmRoy46480OHYxLYJdLOyFp4N0Imtqgc+eaX214l6uqpQVwTnxDvIYnNWvLcchXNEC6j8gGtmoRSZCasPVC3ogEIfIr6Q/dWPgrB9ABVHMGViyn/kx5FlnJdcZSozuShRjadyZS0ev2252k45lcqOlkekrHyy92zJjj17smfR+PDy6ICakgkLzRZgG5ahjJoBTlQyqMLHB/l8EHYK1Cq7seJFtY2Vvv4WNGqiMoqVHXohwhtmQaceKuhUP2+i7rz9gFZpurWg2q9W+1P+7jU3OebbLfONn/kW9NqbYfNtufkBwfyoYn5oMj++mR8kr3akNT9cmx/zzS8czK8+/ucljPl10D+nrmo4jdGd2gAAAABJRU5ErkJggg==",Oe="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAMAAAAPzWOAAAABXFBMVEX///8AAAD/////////////////////////////////////3+b/////////////////////////////////////pLb/8PP/9/n/usj/09v/+/3/NF3/nbH/p7n/bIr/lqz/rr//5uv/0dr/X4D/lKn/V3j/jaT/boz/QGj/Xn//ssL/iKD/gZz/ydT/o7b/s8L/wc7/QWj/LFf/N1//gZr/THD/aYf/jKT/ZYT/Vnj/WXz/vsv/PGP/TXH/WXr/V3j/fpj/YID/ZYT/UXT/OWH/dJD/cI3/a4n/YoL/XX7/SG3/bov/aYf/Z4X/W3z/Sm//RGr/KVT/Qmj/M1z/MFr/hp7/fJb/dpL/PmX/Nl//g5z/eZT/T3P/QGf/IE3/gJr/co7/Rmz/U3b/JlL/Ik//i6L/VXf/G0n/LVj/GEf/kaf/iKH/JFH/HUv/jaT/epX/K1f/////9/n/t8ZcHWQ1AAAAPHRSTlPMABzIwbSlk2hDBdW9iYB6bVtKMCjn0s7d3M379O/q5d7W1fv6+fj29vHs6Ofh3t3a+/j39vb08PDw7ejaLmX2AAADo0lEQVRYw7WY91MaQRTHvznggAMkAoo1lvTeOy0QCE3RAwHFgthQY9T4/8/k3cJZdu8snPnM8AMM7zN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Y4udLCmOkpXEbwNosc6+WW9cLPegl628Ww9bLceoNgvVWx3jRZb9+sN5K31tJab66tt/nWXzhYf/XxP1/CWH8d9A98BgCf4ervbgAAAABJRU5ErkJggg==",Te="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAFAAAABQCAMAAAC5zwKfAAAAolBMVEX///8AAADDw8P///8KCgrAwMD///////////////////////+9vb0UFBTPz8////+jo6Pj4+P///////////////////////////////////////////////////////////////////////9dXV1tbW20tLTg4OD///8EBAQhISE7OztBQUHR0dH09PT///////9WVlbd3d24uLjf398AAAAW31+oAAAANXRSTlPMANaz/NbBqD4XBwXX+tTJ29C9uLWrnpaOfnVzW1dUQjgzEA/p5tnRd/728e/TziB269HX0Sblvg8AAAKFSURBVFjDrNTXjsIwEIXhs5iNUyD03ptA3FC0fv9X29k1YCCJhyT+byJF8SePIg2+7K2Xs/NAinaj0RZycJ4t18wBGxj6E4lEcuKHhcDVyENG3miVF4zmAtbEPMoBhtMO2DrT8FPQF/go4X8EBkN83DDgwYWHHHkLBozGyNk4soGbPnLX32SDQQ8F6gVZ4KmLQnVP6WBAXkExSAM3PRSut0mCUR8l6kcJcIxSjd/BBUq2eAUDDyXzghdwiNINn0EfXPsWuHwDhgJMO6V2YBLhA5yC6UdR7B2ndzDqgOlbURUwdaIbOIcbEPMbKFyBQoMruAKx+gdH7sDRHxh67kAvJNCHOxA+gROX4IRA6RKUX1jDJUjc0ilI3AzWWu9gC7aIO6Q7+tz1qI7xMxjTi6veZ3ukRNzAtq225NRjA8Z1em4t+4w4mXa/+7a6KC1qUHvqAmCvqLQ7SggkqzwmrGpRg9qrxuaLZAJtG4iaFpuKamqvBgtIXCMbNKJmjZcNNhhQiybyGJAZ2YjGY0YWDGhE41l/iuRAI5LHghIDBjQieSxI3IEFqd/mzF2FYRiGoiFdSkuIoWsLJRgT4weFov//tWpqFsmy4Q45s7jrfSgQ8506BD/TyxZk3LK4qUOQ5d624MAFy21YwU20gEKMawk6YopkAaJJ1cjnuSWY+SBWwaQUG03EZDcruExMkmxUMfpAHQTJ6LUo4snES1FEDUurN/VWMSzpcS6kSCoxBTXO6YGzllmh1Hbg5EgM4XE/QjuEp1ErRrncjOIzyhVdzeDlEV1v0QUcPhGgRwz0zIIegtBTFXpMQ8994EESPZmCR1307AwexrHT/RmeC//3x368P3b7/fEDSTl9kuoIVp8AAAAASUVORK5CYII=",De="_audioContainer_681d4_1",Re="_cover_681d4_6",Fe="_imgHover_681d4_24",Ne="_previewAudio_681d4_29",Pe="_previewAudioHover_681d4_58",Ue="_imgAnimated_681d4_63",Et={audioContainer:De,cover:Re,imgHover:Fe,previewAudio:Ne,previewAudioHover:Pe,imgAnimated:Ue},Me=Ot({name:"audio-player",props:{cover:{type:String,default:"https://oss.dayaedu.com/ktqy/1698420034679a22d3f7a.png"},content:{type:String,default:""},previewDisabled:{type:Boolean,default:!0}},setup(E){const dt=Mt({status:!1});return()=>tt("div",{class:[Et.audioContainer,dt.status?Et.imgAnimated:""]},[tt(pt,{class:[Et.cover,dt.status?Et.imgHover:""],lazy:!0,previewDisabled:!0,objectFit:"cover",src:E.cover},null)])}}),je="_audioContainer_681d4_1",Le="_cover_681d4_6",We="_imgHover_681d4_24",Ze="_previewAudio_681d4_29",He="_previewAudioHover_681d4_58",Ge="_imgAnimated_681d4_63",zt={audioContainer:je,cover:Le,imgHover:We,previewAudio:Ze,previewAudioHover:He,imgAnimated:Ge},Ve=Ot({name:"audio-player",props:{cover:{type:String,default:""},content:{type:String,default:""},previewDisabled:{type:Boolean,default:!0}},setup(E){const dt=Mt({status:!1});return()=>tt("div",{class:[zt.audioContainer,dt.status?zt.imgAnimated:""]},[tt(pt,{class:[zt.cover,dt.status?zt.imgHover:""],lazy:!0,previewDisabled:!0,objectFit:"cover",src:E.cover},null)])}});var jt={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(E,dt){(function(v){E.exports=v()})(function(){return function v(P,y,c){function l(_,b){if(!y[_]){if(!P[_]){var h=typeof xt=="function"&&xt;if(!b&&h)return h(_,!0);if(i)return i(_,!0);var m=new Error("Cannot find module '"+_+"'");throw m.code="MODULE_NOT_FOUND",m}var n=y[_]={exports:{}};P[_][0].call(n.exports,function(f){var r=P[_][1][f];return l(r||f)},n,n.exports,v,P,y,c)}return y[_].exports}for(var i=typeof xt=="function"&&xt,u=0;u<c.length;u++)l(c[u]);return l}({1:[function(v,P,y){var c=v("./utils"),l=v("./support"),i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";y.encode=function(u){for(var _,b,h,m,n,f,r,o=[],a=0,p=u.length,w=p,C=c.getTypeOf(u)!=="string";a<u.length;)w=p-a,h=C?(_=u[a++],b=a<p?u[a++]:0,a<p?u[a++]:0):(_=u.charCodeAt(a++),b=a<p?u.charCodeAt(a++):0,a<p?u.charCodeAt(a++):0),m=_>>2,n=(3&_)<<4|b>>4,f=1<w?(15&b)<<2|h>>6:64,r=2<w?63&h:64,o.push(i.charAt(m)+i.charAt(n)+i.charAt(f)+i.charAt(r));return o.join("")},y.decode=function(u){var _,b,h,m,n,f,r=0,o=0,a="data:";if(u.substr(0,a.length)===a)throw new Error("Invalid base64 input, it looks like a data url.");var p,w=3*(u=u.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(u.charAt(u.length-1)===i.charAt(64)&&w--,u.charAt(u.length-2)===i.charAt(64)&&w--,w%1!=0)throw new Error("Invalid base64 input, bad content length.");for(p=l.uint8array?new Uint8Array(0|w):new Array(0|w);r<u.length;)_=i.indexOf(u.charAt(r++))<<2|(m=i.indexOf(u.charAt(r++)))>>4,b=(15&m)<<4|(n=i.indexOf(u.charAt(r++)))>>2,h=(3&n)<<6|(f=i.indexOf(u.charAt(r++))),p[o++]=_,n!==64&&(p[o++]=b),f!==64&&(p[o++]=h);return p}},{"./support":30,"./utils":32}],2:[function(v,P,y){var c=v("./external"),l=v("./stream/DataWorker"),i=v("./stream/Crc32Probe"),u=v("./stream/DataLengthProbe");function _(b,h,m,n,f){this.compressedSize=b,this.uncompressedSize=h,this.crc32=m,this.compression=n,this.compressedContent=f}_.prototype={getContentWorker:function(){var b=new l(c.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new u("data_length")),h=this;return b.on("end",function(){if(this.streamInfo.data_length!==h.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")}),b},getCompressedWorker:function(){return new l(c.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},_.createWorkerFrom=function(b,h,m){return b.pipe(new i).pipe(new u("uncompressedSize")).pipe(h.compressWorker(m)).pipe(new u("compressedSize")).withStreamInfo("compression",h)},P.exports=_},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(v,P,y){var c=v("./stream/GenericWorker");y.STORE={magic:"\0\0",compressWorker:function(){return new c("STORE compression")},uncompressWorker:function(){return new c("STORE decompression")}},y.DEFLATE=v("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(v,P,y){var c=v("./utils"),l=function(){for(var i,u=[],_=0;_<256;_++){i=_;for(var b=0;b<8;b++)i=1&i?3988292384^i>>>1:i>>>1;u[_]=i}return u}();P.exports=function(i,u){return i!==void 0&&i.length?c.getTypeOf(i)!=="string"?function(_,b,h,m){var n=l,f=m+h;_^=-1;for(var r=m;r<f;r++)_=_>>>8^n[255&(_^b[r])];return-1^_}(0|u,i,i.length,0):function(_,b,h,m){var n=l,f=m+h;_^=-1;for(var r=m;r<f;r++)_=_>>>8^n[255&(_^b.charCodeAt(r))];return-1^_}(0|u,i,i.length,0):0}},{"./utils":32}],5:[function(v,P,y){y.base64=!1,y.binary=!1,y.dir=!1,y.createFolders=!0,y.date=null,y.compression=null,y.compressionOptions=null,y.comment=null,y.unixPermissions=null,y.dosPermissions=null},{}],6:[function(v,P,y){var c=null;c=typeof Promise<"u"?Promise:v("lie"),P.exports={Promise:c}},{lie:37}],7:[function(v,P,y){var c=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Uint32Array<"u",l=v("pako"),i=v("./utils"),u=v("./stream/GenericWorker"),_=c?"uint8array":"array";function b(h,m){u.call(this,"FlateWorker/"+h),this._pako=null,this._pakoAction=h,this._pakoOptions=m,this.meta={}}y.magic="\b\0",i.inherits(b,u),b.prototype.processChunk=function(h){this.meta=h.meta,this._pako===null&&this._createPako(),this._pako.push(i.transformTo(_,h.data),!1)},b.prototype.flush=function(){u.prototype.flush.call(this),this._pako===null&&this._createPako(),this._pako.push([],!0)},b.prototype.cleanUp=function(){u.prototype.cleanUp.call(this),this._pako=null},b.prototype._createPako=function(){this._pako=new l[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var h=this;this._pako.onData=function(m){h.push({data:m,meta:h.meta})}},y.compressWorker=function(h){return new b("Deflate",h)},y.uncompressWorker=function(){return new b("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(v,P,y){function c(n,f){var r,o="";for(r=0;r<f;r++)o+=String.fromCharCode(255&n),n>>>=8;return o}function l(n,f,r,o,a,p){var w,C,k=n.file,F=n.compression,O=p!==_.utf8encode,j=i.transformTo("string",p(k.name)),I=i.transformTo("string",_.utf8encode(k.name)),H=k.comment,K=i.transformTo("string",p(H)),g=i.transformTo("string",_.utf8encode(H)),T=I.length!==k.name.length,e=g.length!==H.length,R="",$="",M="",et=k.dir,L=k.date,J={crc32:0,compressedSize:0,uncompressedSize:0};f&&!r||(J.crc32=n.crc32,J.compressedSize=n.compressedSize,J.uncompressedSize=n.uncompressedSize);var z=0;f&&(z|=8),O||!T&&!e||(z|=2048);var x=0,X=0;et&&(x|=16),a==="UNIX"?(X=798,x|=function(G,ot){var ht=G;return G||(ht=ot?16893:33204),(65535&ht)<<16}(k.unixPermissions,et)):(X=20,x|=function(G){return 63&(G||0)}(k.dosPermissions)),w=L.getUTCHours(),w<<=6,w|=L.getUTCMinutes(),w<<=5,w|=L.getUTCSeconds()/2,C=L.getUTCFullYear()-1980,C<<=4,C|=L.getUTCMonth()+1,C<<=5,C|=L.getUTCDate(),T&&($=c(1,1)+c(b(j),4)+I,R+="up"+c($.length,2)+$),e&&(M=c(1,1)+c(b(K),4)+g,R+="uc"+c(M.length,2)+M);var V="";return V+="\n\0",V+=c(z,2),V+=F.magic,V+=c(w,2),V+=c(C,2),V+=c(J.crc32,4),V+=c(J.compressedSize,4),V+=c(J.uncompressedSize,4),V+=c(j.length,2),V+=c(R.length,2),{fileRecord:h.LOCAL_FILE_HEADER+V+j+R,dirRecord:h.CENTRAL_FILE_HEADER+c(X,2)+V+c(K.length,2)+"\0\0\0\0"+c(x,4)+c(o,4)+j+R+K}}var i=v("../utils"),u=v("../stream/GenericWorker"),_=v("../utf8"),b=v("../crc32"),h=v("../signature");function m(n,f,r,o){u.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=f,this.zipPlatform=r,this.encodeFileName=o,this.streamFiles=n,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}i.inherits(m,u),m.prototype.push=function(n){var f=n.meta.percent||0,r=this.entriesCount,o=this._sources.length;this.accumulate?this.contentBuffer.push(n):(this.bytesWritten+=n.data.length,u.prototype.push.call(this,{data:n.data,meta:{currentFile:this.currentFile,percent:r?(f+100*(r-o-1))/r:100}}))},m.prototype.openedSource=function(n){this.currentSourceOffset=this.bytesWritten,this.currentFile=n.file.name;var f=this.streamFiles&&!n.file.dir;if(f){var r=l(n,f,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},m.prototype.closedSource=function(n){this.accumulate=!1;var f=this.streamFiles&&!n.file.dir,r=l(n,f,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),f)this.push({data:function(o){return h.DATA_DESCRIPTOR+c(o.crc32,4)+c(o.compressedSize,4)+c(o.uncompressedSize,4)}(n),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 n=this.bytesWritten,f=0;f<this.dirRecords.length;f++)this.push({data:this.dirRecords[f],meta:{percent:100}});var r=this.bytesWritten-n,o=function(a,p,w,C,k){var F=i.transformTo("string",k(C));return h.CENTRAL_DIRECTORY_END+"\0\0\0\0"+c(a,2)+c(a,2)+c(p,4)+c(w,4)+c(F.length,2)+F}(this.dirRecords.length,r,n,this.zipComment,this.encodeFileName);this.push({data:o,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(n){this._sources.push(n);var f=this;return n.on("data",function(r){f.processChunk(r)}),n.on("end",function(){f.closedSource(f.previous.streamInfo),f._sources.length?f.prepareNextSource():f.end()}),n.on("error",function(r){f.error(r)}),this},m.prototype.resume=function(){return!!u.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},m.prototype.error=function(n){var f=this._sources;if(!u.prototype.error.call(this,n))return!1;for(var r=0;r<f.length;r++)try{f[r].error(n)}catch(o){}return!0},m.prototype.lock=function(){u.prototype.lock.call(this);for(var n=this._sources,f=0;f<n.length;f++)n[f].lock()},P.exports=m},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(v,P,y){var c=v("../compressions"),l=v("./ZipFileWorker");y.generateWorker=function(i,u,_){var b=new l(u.streamFiles,_,u.platform,u.encodeFileName),h=0;try{i.forEach(function(m,n){h++;var f=function(p,w){var C=p||w,k=c[C];if(!k)throw new Error(C+" is not a valid compression method !");return k}(n.options.compression,u.compression),r=n.options.compressionOptions||u.compressionOptions||{},o=n.dir,a=n.date;n._compressWorker(f,r).withStreamInfo("file",{name:m,dir:o,date:a,comment:n.comment||"",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(b)}),b.entriesCount=h}catch(m){b.error(m)}return b}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(v,P,y){function c(){if(!(this instanceof c))return new c;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 l=new c;for(var i in this)typeof this[i]!="function"&&(l[i]=this[i]);return l}}(c.prototype=v("./object")).loadAsync=v("./load"),c.support=v("./support"),c.defaults=v("./defaults"),c.version="3.10.1",c.loadAsync=function(l,i){return new c().loadAsync(l,i)},c.external=v("./external"),P.exports=c},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(v,P,y){var c=v("./utils"),l=v("./external"),i=v("./utf8"),u=v("./zipEntries"),_=v("./stream/Crc32Probe"),b=v("./nodejsUtils");function h(m){return new l.Promise(function(n,f){var r=m.decompressed.getContentWorker().pipe(new _);r.on("error",function(o){f(o)}).on("end",function(){r.streamInfo.crc32!==m.decompressed.crc32?f(new Error("Corrupted zip : CRC32 mismatch")):n()}).resume()})}P.exports=function(m,n){var f=this;return n=c.extend(n||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:i.utf8decode}),b.isNode&&b.isStream(m)?l.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):c.prepareContent("the loaded zip file",m,!0,n.optimizedBinaryString,n.base64).then(function(r){var o=new u(n);return o.load(r),o}).then(function(r){var o=[l.Promise.resolve(r)],a=r.files;if(n.checkCRC32)for(var p=0;p<a.length;p++)o.push(h(a[p]));return l.Promise.all(o)}).then(function(r){for(var o=r.shift(),a=o.files,p=0;p<a.length;p++){var w=a[p],C=w.fileNameStr,k=c.resolve(w.fileNameStr);f.file(k,w.decompressed,{binary:!0,optimizedBinaryString:!0,date:w.date,dir:w.dir,comment:w.fileCommentStr.length?w.fileCommentStr:null,unixPermissions:w.unixPermissions,dosPermissions:w.dosPermissions,createFolders:n.createFolders}),w.dir||(f.file(k).unsafeOriginalName=C)}return o.zipComment.length&&(f.comment=o.zipComment),f})}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(v,P,y){var c=v("../utils"),l=v("../stream/GenericWorker");function i(u,_){l.call(this,"Nodejs stream input adapter for "+u),this._upstreamEnded=!1,this._bindStream(_)}c.inherits(i,l),i.prototype._bindStream=function(u){var _=this;(this._stream=u).pause(),u.on("data",function(b){_.push({data:b,meta:{percent:0}})}).on("error",function(b){_.isPaused?this.generatedError=b:_.error(b)}).on("end",function(){_.isPaused?_._upstreamEnded=!0:_.end()})},i.prototype.pause=function(){return!!l.prototype.pause.call(this)&&(this._stream.pause(),!0)},i.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},P.exports=i},{"../stream/GenericWorker":28,"../utils":32}],13:[function(v,P,y){var c=v("readable-stream").Readable;function l(i,u,_){c.call(this,u),this._helper=i;var b=this;i.on("data",function(h,m){b.push(h)||b._helper.pause(),_&&_(m)}).on("error",function(h){b.emit("error",h)}).on("end",function(){b.push(null)})}v("../utils").inherits(l,c),l.prototype._read=function(){this._helper.resume()},P.exports=l},{"../utils":32,"readable-stream":16}],14:[function(v,P,y){P.exports={isNode:typeof Buffer<"u",newBufferFrom:function(c,l){if(Buffer.from&&Buffer.from!==Uint8Array.from)return Buffer.from(c,l);if(typeof c=="number")throw new Error('The "data" argument must not be a number');return new Buffer(c,l)},allocBuffer:function(c){if(Buffer.alloc)return Buffer.alloc(c);var l=new Buffer(c);return l.fill(0),l},isBuffer:function(c){return Buffer.isBuffer(c)},isStream:function(c){return c&&typeof c.on=="function"&&typeof c.pause=="function"&&typeof c.resume=="function"}}},{}],15:[function(v,P,y){function c(k,F,O){var j,I=i.getTypeOf(F),H=i.extend(O||{},b);H.date=H.date||new Date,H.compression!==null&&(H.compression=H.compression.toUpperCase()),typeof H.unixPermissions=="string"&&(H.unixPermissions=parseInt(H.unixPermissions,8)),H.unixPermissions&&16384&H.unixPermissions&&(H.dir=!0),H.dosPermissions&&16&H.dosPermissions&&(H.dir=!0),H.dir&&(k=a(k)),H.createFolders&&(j=o(k))&&p.call(this,j,!0);var K=I==="string"&&H.binary===!1&&H.base64===!1;O&&O.binary!==void 0||(H.binary=!K),(F instanceof h&&F.uncompressedSize===0||H.dir||!F||F.length===0)&&(H.base64=!1,H.binary=!0,F="",H.compression="STORE",I="string");var g=null;g=F instanceof h||F instanceof u?F:f.isNode&&f.isStream(F)?new r(k,F):i.prepareContent(k,F,H.binary,H.optimizedBinaryString,H.base64);var T=new m(k,g,H);this.files[k]=T}var l=v("./utf8"),i=v("./utils"),u=v("./stream/GenericWorker"),_=v("./stream/StreamHelper"),b=v("./defaults"),h=v("./compressedObject"),m=v("./zipObject"),n=v("./generate"),f=v("./nodejsUtils"),r=v("./nodejs/NodejsStreamInputAdapter"),o=function(k){k.slice(-1)==="/"&&(k=k.substring(0,k.length-1));var F=k.lastIndexOf("/");return 0<F?k.substring(0,F):""},a=function(k){return k.slice(-1)!=="/"&&(k+="/"),k},p=function(k,F){return F=F!==void 0?F:b.createFolders,k=a(k),this.files[k]||c.call(this,k,null,{dir:!0,createFolders:F}),this.files[k]};function w(k){return Object.prototype.toString.call(k)==="[object RegExp]"}var C={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(k){var F,O,j;for(F in this.files)j=this.files[F],(O=F.slice(this.root.length,F.length))&&F.slice(0,this.root.length)===this.root&&k(O,j)},filter:function(k){var F=[];return this.forEach(function(O,j){k(O,j)&&F.push(j)}),F},file:function(k,F,O){if(arguments.length!==1)return k=this.root+k,c.call(this,k,F,O),this;if(w(k)){var j=k;return this.filter(function(H,K){return!K.dir&&j.test(H)})}var I=this.files[this.root+k];return I&&!I.dir?I:null},folder:function(k){if(!k)return this;if(w(k))return this.filter(function(I,H){return H.dir&&k.test(I)});var F=this.root+k,O=p.call(this,F),j=this.clone();return j.root=O.name,j},remove:function(k){k=this.root+k;var F=this.files[k];if(F||(k.slice(-1)!=="/"&&(k+="/"),F=this.files[k]),F&&!F.dir)delete this.files[k];else for(var O=this.filter(function(I,H){return H.name.slice(0,k.length)===k}),j=0;j<O.length;j++)delete this.files[O[j].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(k){var F,O={};try{if((O=i.extend(k||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:l.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.");i.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 j=O.comment||this.comment||"";F=n.generateWorker(this,O,j)}catch(I){(F=new u("error")).error(I)}return new _(F,O.type||"string",O.mimeType)},generateAsync:function(k,F){return this.generateInternalStream(k).accumulate(F)},generateNodeStream:function(k,F){return(k=k||{}).type||(k.type="nodebuffer"),this.generateInternalStream(k).toNodejsStream(F)}};P.exports=C},{"./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(v,P,y){P.exports=v("stream")},{stream:void 0}],17:[function(v,P,y){var c=v("./DataReader");function l(i){c.call(this,i);for(var u=0;u<this.data.length;u++)i[u]=255&i[u]}v("../utils").inherits(l,c),l.prototype.byteAt=function(i){return this.data[this.zero+i]},l.prototype.lastIndexOfSignature=function(i){for(var u=i.charCodeAt(0),_=i.charCodeAt(1),b=i.charCodeAt(2),h=i.charCodeAt(3),m=this.length-4;0<=m;--m)if(this.data[m]===u&&this.data[m+1]===_&&this.data[m+2]===b&&this.data[m+3]===h)return m-this.zero;return-1},l.prototype.readAndCheckSignature=function(i){var u=i.charCodeAt(0),_=i.charCodeAt(1),b=i.charCodeAt(2),h=i.charCodeAt(3),m=this.readData(4);return u===m[0]&&_===m[1]&&b===m[2]&&h===m[3]},l.prototype.readData=function(i){if(this.checkOffset(i),i===0)return[];var u=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},P.exports=l},{"../utils":32,"./DataReader":18}],18:[function(v,P,y){var c=v("../utils");function l(i){this.data=i,this.length=i.length,this.index=0,this.zero=0}l.prototype={checkOffset:function(i){this.checkIndex(this.index+i)},checkIndex:function(i){if(this.length<this.zero+i||i<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+i+"). Corrupted zip ?")},setIndex:function(i){this.checkIndex(i),this.index=i},skip:function(i){this.setIndex(this.index+i)},byteAt:function(){},readInt:function(i){var u,_=0;for(this.checkOffset(i),u=this.index+i-1;u>=this.index;u--)_=(_<<8)+this.byteAt(u);return this.index+=i,_},readString:function(i){return c.transformTo("string",this.readData(i))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var i=this.readInt(4);return new Date(Date.UTC(1980+(i>>25&127),(i>>21&15)-1,i>>16&31,i>>11&31,i>>5&63,(31&i)<<1))}},P.exports=l},{"../utils":32}],19:[function(v,P,y){var c=v("./Uint8ArrayReader");function l(i){c.call(this,i)}v("../utils").inherits(l,c),l.prototype.readData=function(i){this.checkOffset(i);var u=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},P.exports=l},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(v,P,y){var c=v("./DataReader");function l(i){c.call(this,i)}v("../utils").inherits(l,c),l.prototype.byteAt=function(i){return this.data.charCodeAt(this.zero+i)},l.prototype.lastIndexOfSignature=function(i){return this.data.lastIndexOf(i)-this.zero},l.prototype.readAndCheckSignature=function(i){return i===this.readData(4)},l.prototype.readData=function(i){this.checkOffset(i);var u=this.data.slice(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},P.exports=l},{"../utils":32,"./DataReader":18}],21:[function(v,P,y){var c=v("./ArrayReader");function l(i){c.call(this,i)}v("../utils").inherits(l,c),l.prototype.readData=function(i){if(this.checkOffset(i),i===0)return new Uint8Array(0);var u=this.data.subarray(this.zero+this.index,this.zero+this.index+i);return this.index+=i,u},P.exports=l},{"../utils":32,"./ArrayReader":17}],22:[function(v,P,y){var c=v("../utils"),l=v("../support"),i=v("./ArrayReader"),u=v("./StringReader"),_=v("./NodeBufferReader"),b=v("./Uint8ArrayReader");P.exports=function(h){var m=c.getTypeOf(h);return c.checkSupport(m),m!=="string"||l.uint8array?m==="nodebuffer"?new _(h):l.uint8array?new b(c.transformTo("uint8array",h)):new i(c.transformTo("array",h)):new u(h)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(v,P,y){y.LOCAL_FILE_HEADER="PK",y.CENTRAL_FILE_HEADER="PK",y.CENTRAL_DIRECTORY_END="PK",y.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK\x07",y.ZIP64_CENTRAL_DIRECTORY_END="PK",y.DATA_DESCRIPTOR="PK\x07\b"},{}],24:[function(v,P,y){var c=v("./GenericWorker"),l=v("../utils");function i(u){c.call(this,"ConvertWorker to "+u),this.destType=u}l.inherits(i,c),i.prototype.processChunk=function(u){this.push({data:l.transformTo(this.destType,u.data),meta:u.meta})},P.exports=i},{"../utils":32,"./GenericWorker":28}],25:[function(v,P,y){var c=v("./GenericWorker"),l=v("../crc32");function i(){c.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}v("../utils").inherits(i,c),i.prototype.processChunk=function(u){this.streamInfo.crc32=l(u.data,this.streamInfo.crc32||0),this.push(u)},P.exports=i},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(v,P,y){var c=v("../utils"),l=v("./GenericWorker");function i(u){l.call(this,"DataLengthProbe for "+u),this.propName=u,this.withStreamInfo(u,0)}c.inherits(i,l),i.prototype.processChunk=function(u){if(u){var _=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=_+u.data.length}l.prototype.processChunk.call(this,u)},P.exports=i},{"../utils":32,"./GenericWorker":28}],27:[function(v,P,y){var c=v("../utils"),l=v("./GenericWorker");function i(u){l.call(this,"DataWorker");var _=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,u.then(function(b){_.dataIsReady=!0,_.data=b,_.max=b&&b.length||0,_.type=c.getTypeOf(b),_.isPaused||_._tickAndRepeat()},function(b){_.error(b)})}c.inherits(i,l),i.prototype.cleanUp=function(){l.prototype.cleanUp.call(this),this.data=null},i.prototype.resume=function(){return!!l.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,c.delay(this._tickAndRepeat,[],this)),!0)},i.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(c.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},i.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var u=null,_=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":u=this.data.substring(this.index,_);break;case"uint8array":u=this.data.subarray(this.index,_);break;case"array":case"nodebuffer":u=this.data.slice(this.index,_)}return this.index=_,this.push({data:u,meta:{percent:this.max?this.index/this.max*100:0}})},P.exports=i},{"../utils":32,"./GenericWorker":28}],28:[function(v,P,y){function c(l){this.name=l||"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}c.prototype={push:function(l){this.emit("data",l)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(l){this.emit("error",l)}return!0},error:function(l){return!this.isFinished&&(this.isPaused?this.generatedError=l:(this.isFinished=!0,this.emit("error",l),this.previous&&this.previous.error(l),this.cleanUp()),!0)},on:function(l,i){return this._listeners[l].push(i),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(l,i){if(this._listeners[l])for(var u=0;u<this._listeners[l].length;u++)this._listeners[l][u].call(this,i)},pipe:function(l){return l.registerPrevious(this)},registerPrevious:function(l){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=l.streamInfo,this.mergeStreamInfo(),this.previous=l;var i=this;return l.on("data",function(u){i.processChunk(u)}),l.on("end",function(){i.end()}),l.on("error",function(u){i.error(u)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var l=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),l=!0),this.previous&&this.previous.resume(),!l},flush:function(){},processChunk:function(l){this.push(l)},withStreamInfo:function(l,i){return this.extraStreamInfo[l]=i,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var l in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,l)&&(this.streamInfo[l]=this.extraStreamInfo[l])},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 l="Worker "+this.name;return this.previous?this.previous+" -> "+l:l}},P.exports=c},{}],29:[function(v,P,y){var c=v("../utils"),l=v("./ConvertWorker"),i=v("./GenericWorker"),u=v("../base64"),_=v("../support"),b=v("../external"),h=null;if(_.nodestream)try{h=v("../nodejs/NodejsStreamOutputAdapter")}catch(f){}function m(f,r){return new b.Promise(function(o,a){var p=[],w=f._internalType,C=f._outputType,k=f._mimeType;f.on("data",function(F,O){p.push(F),r&&r(O)}).on("error",function(F){p=[],a(F)}).on("end",function(){try{var F=function(O,j,I){switch(O){case"blob":return c.newBlob(c.transformTo("arraybuffer",j),I);case"base64":return u.encode(j);default:return c.transformTo(O,j)}}(C,function(O,j){var I,H=0,K=null,g=0;for(I=0;I<j.length;I++)g+=j[I].length;switch(O){case"string":return j.join("");case"array":return Array.prototype.concat.apply([],j);case"uint8array":for(K=new Uint8Array(g),I=0;I<j.length;I++)K.set(j[I],H),H+=j[I].length;return K;case"nodebuffer":return Buffer.concat(j);default:throw new Error("concat : unsupported type '"+O+"'")}}(w,p),k);o(F)}catch(O){a(O)}p=[]}).resume()})}function n(f,r,o){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=o,c.checkSupport(a),this._worker=f.pipe(new l(a)),f.lock()}catch(p){this._worker=new i("error"),this._worker.error(p)}}n.prototype={accumulate:function(f){return m(this,f)},on:function(f,r){var o=this;return f==="data"?this._worker.on(f,function(a){r.call(o,a.data,a.meta)}):this._worker.on(f,function(){c.delay(r,arguments,o)}),this},resume:function(){return c.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(f){if(c.checkSupport("nodestream"),this._outputType!=="nodebuffer")throw new Error(this._outputType+" is not supported by this method");return new h(this,{objectMode:this._outputType!=="nodebuffer"},f)}},P.exports=n},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(v,P,y){if(y.base64=!0,y.array=!0,y.string=!0,y.arraybuffer=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",y.nodebuffer=typeof Buffer<"u",y.uint8array=typeof Uint8Array<"u",typeof ArrayBuffer>"u")y.blob=!1;else{var c=new ArrayBuffer(0);try{y.blob=new Blob([c],{type:"application/zip"}).size===0}catch(i){try{var l=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);l.append(c),y.blob=l.getBlob("application/zip").size===0}catch(u){y.blob=!1}}}try{y.nodestream=!!v("readable-stream").Readable}catch(i){y.nodestream=!1}},{"readable-stream":16}],31:[function(v,P,y){for(var c=v("./utils"),l=v("./support"),i=v("./nodejsUtils"),u=v("./stream/GenericWorker"),_=new Array(256),b=0;b<256;b++)_[b]=252<=b?6:248<=b?5:240<=b?4:224<=b?3:192<=b?2:1;_[254]=_[254]=1;function h(){u.call(this,"utf-8 decode"),this.leftOver=null}function m(){u.call(this,"utf-8 encode")}y.utf8encode=function(n){return l.nodebuffer?i.newBufferFrom(n,"utf-8"):function(f){var r,o,a,p,w,C=f.length,k=0;for(p=0;p<C;p++)(64512&(o=f.charCodeAt(p)))==55296&&p+1<C&&(64512&(a=f.charCodeAt(p+1)))==56320&&(o=65536+(o-55296<<10)+(a-56320),p++),k+=o<128?1:o<2048?2:o<65536?3:4;for(r=l.uint8array?new Uint8Array(k):new Array(k),p=w=0;w<k;p++)(64512&(o=f.charCodeAt(p)))==55296&&p+1<C&&(64512&(a=f.charCodeAt(p+1)))==56320&&(o=65536+(o-55296<<10)+(a-56320),p++),o<128?r[w++]=o:(o<2048?r[w++]=192|o>>>6:(o<65536?r[w++]=224|o>>>12:(r[w++]=240|o>>>18,r[w++]=128|o>>>12&63),r[w++]=128|o>>>6&63),r[w++]=128|63&o);return r}(n)},y.utf8decode=function(n){return l.nodebuffer?c.transformTo("nodebuffer",n).toString("utf-8"):function(f){var r,o,a,p,w=f.length,C=new Array(2*w);for(r=o=0;r<w;)if((a=f[r++])<128)C[o++]=a;else if(4<(p=_[a]))C[o++]=65533,r+=p-1;else{for(a&=p===2?31:p===3?15:7;1<p&&r<w;)a=a<<6|63&f[r++],p--;1<p?C[o++]=65533:a<65536?C[o++]=a:(a-=65536,C[o++]=55296|a>>10&1023,C[o++]=56320|1023&a)}return C.length!==o&&(C.subarray?C=C.subarray(0,o):C.length=o),c.applyFromCharCode(C)}(n=c.transformTo(l.uint8array?"uint8array":"array",n))},c.inherits(h,u),h.prototype.processChunk=function(n){var f=c.transformTo(l.uint8array?"uint8array":"array",n.data);if(this.leftOver&&this.leftOver.length){if(l.uint8array){var r=f;(f=new Uint8Array(r.length+this.leftOver.length)).set(this.leftOver,0),f.set(r,this.leftOver.length)}else f=this.leftOver.concat(f);this.leftOver=null}var o=function(p,w){var C;for((w=w||p.length)>p.length&&(w=p.length),C=w-1;0<=C&&(192&p[C])==128;)C--;return C<0||C===0?w:C+_[p[C]]>w?C:w}(f),a=f;o!==f.length&&(l.uint8array?(a=f.subarray(0,o),this.leftOver=f.subarray(o,f.length)):(a=f.slice(0,o),this.leftOver=f.slice(o,f.length))),this.push({data:y.utf8decode(a),meta:n.meta})},h.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:y.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},y.Utf8DecodeWorker=h,c.inherits(m,u),m.prototype.processChunk=function(n){this.push({data:y.utf8encode(n.data),meta:n.meta})},y.Utf8EncodeWorker=m},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(v,P,y){var c=v("./support"),l=v("./base64"),i=v("./nodejsUtils"),u=v("./external");function _(r){return r}function b(r,o){for(var a=0;a<r.length;++a)o[a]=255&r.charCodeAt(a);return o}v("setimmediate"),y.newBlob=function(r,o){y.checkSupport("blob");try{return new Blob([r],{type:o})}catch(p){try{var a=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return a.append(r),a.getBlob(o)}catch(w){throw new Error("Bug : can't construct the Blob.")}}};var h={stringifyByChunk:function(r,o,a){var p=[],w=0,C=r.length;if(C<=a)return String.fromCharCode.apply(null,r);for(;w<C;)o==="array"||o==="nodebuffer"?p.push(String.fromCharCode.apply(null,r.slice(w,Math.min(w+a,C)))):p.push(String.fromCharCode.apply(null,r.subarray(w,Math.min(w+a,C)))),w+=a;return p.join("")},stringifyByChar:function(r){for(var o="",a=0;a<r.length;a++)o+=String.fromCharCode(r[a]);return o},applyCanBeUsed:{uint8array:function(){try{return c.uint8array&&String.fromCharCode.apply(null,new Uint8Array(1)).length===1}catch(r){return!1}}(),nodebuffer:function(){try{return c.nodebuffer&&String.fromCharCode.apply(null,i.allocBuffer(1)).length===1}catch(r){return!1}}()}};function m(r){var o=65536,a=y.getTypeOf(r),p=!0;if(a==="uint8array"?p=h.applyCanBeUsed.uint8array:a==="nodebuffer"&&(p=h.applyCanBeUsed.nodebuffer),p)for(;1<o;)try{return h.stringifyByChunk(r,a,o)}catch(w){o=Math.floor(o/2)}return h.stringifyByChar(r)}function n(r,o){for(var a=0;a<r.length;a++)o[a]=r[a];return o}y.applyFromCharCode=m;var f={};f.string={string:_,array:function(r){return b(r,new Array(r.length))},arraybuffer:function(r){return f.string.uint8array(r).buffer},uint8array:function(r){return b(r,new Uint8Array(r.length))},nodebuffer:function(r){return b(r,i.allocBuffer(r.length))}},f.array={string:m,array:_,arraybuffer:function(r){return new Uint8Array(r).buffer},uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return i.newBufferFrom(r)}},f.arraybuffer={string:function(r){return m(new Uint8Array(r))},array:function(r){return n(new Uint8Array(r),new Array(r.byteLength))},arraybuffer:_,uint8array:function(r){return new Uint8Array(r)},nodebuffer:function(r){return i.newBufferFrom(new Uint8Array(r))}},f.uint8array={string:m,array:function(r){return n(r,new Array(r.length))},arraybuffer:function(r){return r.buffer},uint8array:_,nodebuffer:function(r){return i.newBufferFrom(r)}},f.nodebuffer={string:m,array:function(r){return n(r,new Array(r.length))},arraybuffer:function(r){return f.nodebuffer.uint8array(r).buffer},uint8array:function(r){return n(r,new Uint8Array(r.length))},nodebuffer:_},y.transformTo=function(r,o){if(o=o||"",!r)return o;y.checkSupport(r);var a=y.getTypeOf(o);return f[a][r](o)},y.resolve=function(r){for(var o=r.split("/"),a=[],p=0;p<o.length;p++){var w=o[p];w==="."||w===""&&p!==0&&p!==o.length-1||(w===".."?a.pop():a.push(w))}return a.join("/")},y.getTypeOf=function(r){return typeof r=="string"?"string":Object.prototype.toString.call(r)==="[object Array]"?"array":c.nodebuffer&&i.isBuffer(r)?"nodebuffer":c.uint8array&&r instanceof Uint8Array?"uint8array":c.arraybuffer&&r instanceof ArrayBuffer?"arraybuffer":void 0},y.checkSupport=function(r){if(!c[r.toLowerCase()])throw new Error(r+" is not supported by this platform")},y.MAX_VALUE_16BITS=65535,y.MAX_VALUE_32BITS=-1,y.pretty=function(r){var o,a,p="";for(a=0;a<(r||"").length;a++)p+="\\x"+((o=r.charCodeAt(a))<16?"0":"")+o.toString(16).toUpperCase();return p},y.delay=function(r,o,a){setImmediate(function(){r.apply(a||null,o||[])})},y.inherits=function(r,o){function a(){}a.prototype=o.prototype,r.prototype=new a},y.extend=function(){var r,o,a={};for(r=0;r<arguments.length;r++)for(o in arguments[r])Object.prototype.hasOwnProperty.call(arguments[r],o)&&a[o]===void 0&&(a[o]=arguments[r][o]);return a},y.prepareContent=function(r,o,a,p,w){return u.Promise.resolve(o).then(function(C){return c.blob&&(C instanceof Blob||["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(C))!==-1)&&typeof FileReader<"u"?new u.Promise(function(k,F){var O=new FileReader;O.onload=function(j){k(j.target.result)},O.onerror=function(j){F(j.target.error)},O.readAsArrayBuffer(C)}):C}).then(function(C){var k=y.getTypeOf(C);return k?(k==="arraybuffer"?C=y.transformTo("uint8array",C):k==="string"&&(w?C=l.decode(C):a&&p!==!0&&(C=function(F){return b(F,c.uint8array?new Uint8Array(F.length):new Array(F.length))}(C))),C):u.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(v,P,y){var c=v("./reader/readerFor"),l=v("./utils"),i=v("./signature"),u=v("./zipEntry"),_=v("./support");function b(h){this.files=[],this.loadOptions=h}b.prototype={checkSignature:function(h){if(!this.reader.readAndCheckSignature(h)){this.reader.index-=4;var m=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+l.pretty(m)+", expected "+l.pretty(h)+")")}},isSignature:function(h,m){var n=this.reader.index;this.reader.setIndex(h);var f=this.reader.readString(4)===m;return this.reader.setIndex(n),f},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 h=this.reader.readData(this.zipCommentLength),m=_.uint8array?"uint8array":"array",n=l.transformTo(m,h);this.zipComment=this.loadOptions.decodeFileName(n)},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 h,m,n,f=this.zip64EndOfCentralSize-44;0<f;)h=this.reader.readInt(2),m=this.reader.readInt(4),n=this.reader.readData(m),this.zip64ExtensibleData[h]={id:h,length:m,value:n}},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 h,m;for(h=0;h<this.files.length;h++)m=this.files[h],this.reader.setIndex(m.localHeaderOffset),this.checkSignature(i.LOCAL_FILE_HEADER),m.readLocalPart(this.reader),m.handleUTF8(),m.processAttributes()},readCentralDir:function(){var h;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(i.CENTRAL_FILE_HEADER);)(h=new u({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(h);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 h=this.reader.lastIndexOfSignature(i.CENTRAL_DIRECTORY_END);if(h<0)throw this.isSignature(0,i.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(h);var m=h;if(this.checkSignature(i.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===l.MAX_VALUE_16BITS||this.diskWithCentralDirStart===l.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===l.MAX_VALUE_16BITS||this.centralDirRecords===l.MAX_VALUE_16BITS||this.centralDirSize===l.MAX_VALUE_32BITS||this.centralDirOffset===l.MAX_VALUE_32BITS){if(this.zip64=!0,(h=this.reader.lastIndexOfSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(h),this.checkSignature(i.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,i.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(i.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(i.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var f=m-n;if(0<f)this.isSignature(m,i.CENTRAL_FILE_HEADER)||(this.reader.zero=f);else if(f<0)throw new Error("Corrupted zip: missing "+Math.abs(f)+" bytes.")},prepareReader:function(h){this.reader=c(h)},load:function(h){this.prepareReader(h),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},P.exports=b},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(v,P,y){var c=v("./reader/readerFor"),l=v("./utils"),i=v("./compressedObject"),u=v("./crc32"),_=v("./utf8"),b=v("./compressions"),h=v("./support");function m(n,f){this.options=n,this.loadOptions=f}m.prototype={isEncrypted:function(){return(1&this.bitFlag)==1},useUTF8:function(){return(2048&this.bitFlag)==2048},readLocalPart:function(n){var f,r;if(n.skip(22),this.fileNameLength=n.readInt(2),r=n.readInt(2),this.fileName=n.readData(this.fileNameLength),n.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((f=function(o){for(var a in b)if(Object.prototype.hasOwnProperty.call(b,a)&&b[a].magic===o)return b[a];return null}(this.compressionMethod))===null)throw new Error("Corrupted zip : compression "+l.pretty(this.compressionMethod)+" unknown (inner file : "+l.transformTo("string",this.fileName)+")");this.decompressed=new i(this.compressedSize,this.uncompressedSize,this.crc32,f,n.readData(this.compressedSize))},readCentralPart:function(n){this.versionMadeBy=n.readInt(2),n.skip(2),this.bitFlag=n.readInt(2),this.compressionMethod=n.readString(2),this.date=n.readDate(),this.crc32=n.readInt(4),this.compressedSize=n.readInt(4),this.uncompressedSize=n.readInt(4);var f=n.readInt(2);if(this.extraFieldsLength=n.readInt(2),this.fileCommentLength=n.readInt(2),this.diskNumberStart=n.readInt(2),this.internalFileAttributes=n.readInt(2),this.externalFileAttributes=n.readInt(4),this.localHeaderOffset=n.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");n.skip(f),this.readExtraFields(n),this.parseZIP64ExtraField(n),this.fileComment=n.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var n=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),n==0&&(this.dosPermissions=63&this.externalFileAttributes),n==3&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||this.fileNameStr.slice(-1)!=="/"||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var n=c(this.extraFields[1].value);this.uncompressedSize===l.MAX_VALUE_32BITS&&(this.uncompressedSize=n.readInt(8)),this.compressedSize===l.MAX_VALUE_32BITS&&(this.compressedSize=n.readInt(8)),this.localHeaderOffset===l.MAX_VALUE_32BITS&&(this.localHeaderOffset=n.readInt(8)),this.diskNumberStart===l.MAX_VALUE_32BITS&&(this.diskNumberStart=n.readInt(4))}},readExtraFields:function(n){var f,r,o,a=n.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});n.index+4<a;)f=n.readInt(2),r=n.readInt(2),o=n.readData(r),this.extraFields[f]={id:f,length:r,value:o};n.setIndex(a)},handleUTF8:function(){var n=h.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=_.utf8decode(this.fileName),this.fileCommentStr=_.utf8decode(this.fileComment);else{var f=this.findExtraFieldUnicodePath();if(f!==null)this.fileNameStr=f;else{var r=l.transformTo(n,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var o=this.findExtraFieldUnicodeComment();if(o!==null)this.fileCommentStr=o;else{var a=l.transformTo(n,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(a)}}},findExtraFieldUnicodePath:function(){var n=this.extraFields[28789];if(n){var f=c(n.value);return f.readInt(1)!==1||u(this.fileName)!==f.readInt(4)?null:_.utf8decode(f.readData(n.length-5))}return null},findExtraFieldUnicodeComment:function(){var n=this.extraFields[25461];if(n){var f=c(n.value);return f.readInt(1)!==1||u(this.fileComment)!==f.readInt(4)?null:_.utf8decode(f.readData(n.length-5))}return null}},P.exports=m},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(v,P,y){function c(f,r,o){this.name=f,this.dir=o.dir,this.date=o.date,this.comment=o.comment,this.unixPermissions=o.unixPermissions,this.dosPermissions=o.dosPermissions,this._data=r,this._dataBinary=o.binary,this.options={compression:o.compression,compressionOptions:o.compressionOptions}}var l=v("./stream/StreamHelper"),i=v("./stream/DataWorker"),u=v("./utf8"),_=v("./compressedObject"),b=v("./stream/GenericWorker");c.prototype={internalStream:function(f){var r=null,o="string";try{if(!f)throw new Error("No output type specified.");var a=(o=f.toLowerCase())==="string"||o==="text";o!=="binarystring"&&o!=="text"||(o="string"),r=this._decompressWorker();var p=!this._dataBinary;p&&!a&&(r=r.pipe(new u.Utf8EncodeWorker)),!p&&a&&(r=r.pipe(new u.Utf8DecodeWorker))}catch(w){(r=new b("error")).error(w)}return new l(r,o,"")},async:function(f,r){return this.internalStream(f).accumulate(r)},nodeStream:function(f,r){return this.internalStream(f||"nodebuffer").toNodejsStream(r)},_compressWorker:function(f,r){if(this._data instanceof _&&this._data.compression.magic===f.magic)return this._data.getCompressedWorker();var o=this._decompressWorker();return this._dataBinary||(o=o.pipe(new u.Utf8EncodeWorker)),_.createWorkerFrom(o,f,r)},_decompressWorker:function(){return this._data instanceof _?this._data.getContentWorker():this._data instanceof b?this._data:new i(this._data)}};for(var h=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],m=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},n=0;n<h.length;n++)c.prototype[h[n]]=m;P.exports=c},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(v,P,y){(function(c){var l,i,u=c.MutationObserver||c.WebKitMutationObserver;if(u){var _=0,b=new u(f),h=c.document.createTextNode("");b.observe(h,{characterData:!0}),l=function(){h.data=_=++_%2}}else if(c.setImmediate||c.MessageChannel===void 0)l="document"in c&&"onreadystatechange"in c.document.createElement("script")?function(){var r=c.document.createElement("script");r.onreadystatechange=function(){f(),r.onreadystatechange=null,r.parentNode.removeChild(r),r=null},c.document.documentElement.appendChild(r)}:function(){setTimeout(f,0)};else{var m=new c.MessageChannel;m.port1.onmessage=f,l=function(){m.port2.postMessage(0)}}var n=[];function f(){var r,o;i=!0;for(var a=n.length;a;){for(o=n,n=[],r=-1;++r<a;)o[r]();a=n.length}i=!1}P.exports=function(r){n.push(r)!==1||i||l()}}).call(this,typeof St<"u"?St:typeof self<"u"?self:typeof window<"u"?window:{})},{}],37:[function(v,P,y){var c=v("immediate");function l(){}var i={},u=["REJECTED"],_=["FULFILLED"],b=["PENDING"];function h(a){if(typeof a!="function")throw new TypeError("resolver must be a function");this.state=b,this.queue=[],this.outcome=void 0,a!==l&&r(this,a)}function m(a,p,w){this.promise=a,typeof p=="function"&&(this.onFulfilled=p,this.callFulfilled=this.otherCallFulfilled),typeof w=="function"&&(this.onRejected=w,this.callRejected=this.otherCallRejected)}function n(a,p,w){c(function(){var C;try{C=p(w)}catch(k){return i.reject(a,k)}C===a?i.reject(a,new TypeError("Cannot resolve promise with itself")):i.resolve(a,C)})}function f(a){var p=a&&a.then;if(a&&(typeof a=="object"||typeof a=="function")&&typeof p=="function")return function(){p.apply(a,arguments)}}function r(a,p){var w=!1;function C(O){w||(w=!0,i.reject(a,O))}function k(O){w||(w=!0,i.resolve(a,O))}var F=o(function(){p(k,C)});F.status==="error"&&C(F.value)}function o(a,p){var w={};try{w.value=a(p),w.status="success"}catch(C){w.status="error",w.value=C}return w}(P.exports=h).prototype.finally=function(a){if(typeof a!="function")return this;var p=this.constructor;return this.then(function(w){return p.resolve(a()).then(function(){return w})},function(w){return p.resolve(a()).then(function(){throw w})})},h.prototype.catch=function(a){return this.then(null,a)},h.prototype.then=function(a,p){if(typeof a!="function"&&this.state===_||typeof p!="function"&&this.state===u)return this;var w=new this.constructor(l);return this.state!==b?n(w,this.state===_?a:p,this.outcome):this.queue.push(new m(w,a,p)),w},m.prototype.callFulfilled=function(a){i.resolve(this.promise,a)},m.prototype.otherCallFulfilled=function(a){n(this.promise,this.onFulfilled,a)},m.prototype.callRejected=function(a){i.reject(this.promise,a)},m.prototype.otherCallRejected=function(a){n(this.promise,this.onRejected,a)},i.resolve=function(a,p){var w=o(f,p);if(w.status==="error")return i.reject(a,w.value);var C=w.value;if(C)r(a,C);else{a.state=_,a.outcome=p;for(var k=-1,F=a.queue.length;++k<F;)a.queue[k].callFulfilled(p)}return a},i.reject=function(a,p){a.state=u,a.outcome=p;for(var w=-1,C=a.queue.length;++w<C;)a.queue[w].callRejected(p);return a},h.resolve=function(a){return a instanceof this?a:i.resolve(new this(l),a)},h.reject=function(a){var p=new this(l);return i.reject(p,a)},h.all=function(a){var p=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var w=a.length,C=!1;if(!w)return this.resolve([]);for(var k=new Array(w),F=0,O=-1,j=new this(l);++O<w;)I(a[O],O);return j;function I(H,K){p.resolve(H).then(function(g){k[K]=g,++F!==w||C||(C=!0,i.resolve(j,k))},function(g){C||(C=!0,i.reject(j,g))})}},h.race=function(a){var p=this;if(Object.prototype.toString.call(a)!=="[object Array]")return this.reject(new TypeError("must be an array"));var w=a.length,C=!1;if(!w)return this.resolve([]);for(var k=-1,F=new this(l);++k<w;)O=a[k],p.resolve(O).then(function(j){C||(C=!0,i.resolve(F,j))},function(j){C||(C=!0,i.reject(F,j))});var O;return F}},{immediate:36}],38:[function(v,P,y){var c={};(0,v("./lib/utils/common").assign)(c,v("./lib/deflate"),v("./lib/inflate"),v("./lib/zlib/constants")),P.exports=c},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(v,P,y){var c=v("./zlib/deflate"),l=v("./utils/common"),i=v("./utils/strings"),u=v("./zlib/messages"),_=v("./zlib/zstream"),b=Object.prototype.toString,h=0,m=-1,n=0,f=8;function r(a){if(!(this instanceof r))return new r(a);this.options=l.assign({level:m,method:f,chunkSize:16384,windowBits:15,memLevel:8,strategy:n,to:""},a||{});var p=this.options;p.raw&&0<p.windowBits?p.windowBits=-p.windowBits:p.gzip&&0<p.windowBits&&p.windowBits<16&&(p.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new _,this.strm.avail_out=0;var w=c.deflateInit2(this.strm,p.level,p.method,p.windowBits,p.memLevel,p.strategy);if(w!==h)throw new Error(u[w]);if(p.header&&c.deflateSetHeader(this.strm,p.header),p.dictionary){var C;if(C=typeof p.dictionary=="string"?i.string2buf(p.dictionary):b.call(p.dictionary)==="[object ArrayBuffer]"?new Uint8Array(p.dictionary):p.dictionary,(w=c.deflateSetDictionary(this.strm,C))!==h)throw new Error(u[w]);this._dict_set=!0}}function o(a,p){var w=new r(p);if(w.push(a,!0),w.err)throw w.msg||u[w.err];return w.result}r.prototype.push=function(a,p){var w,C,k=this.strm,F=this.options.chunkSize;if(this.ended)return!1;C=p===~~p?p:p===!0?4:0,typeof a=="string"?k.input=i.string2buf(a):b.call(a)==="[object ArrayBuffer]"?k.input=new Uint8Array(a):k.input=a,k.next_in=0,k.avail_in=k.input.length;do{if(k.avail_out===0&&(k.output=new l.Buf8(F),k.next_out=0,k.avail_out=F),(w=c.deflate(k,C))!==1&&w!==h)return this.onEnd(w),!(this.ended=!0);k.avail_out!==0&&(k.avail_in!==0||C!==4&&C!==2)||(this.options.to==="string"?this.onData(i.buf2binstring(l.shrinkBuf(k.output,k.next_out))):this.onData(l.shrinkBuf(k.output,k.next_out)))}while((0<k.avail_in||k.avail_out===0)&&w!==1);return C===4?(w=c.deflateEnd(this.strm),this.onEnd(w),this.ended=!0,w===h):C!==2||(this.onEnd(h),!(k.avail_out=0))},r.prototype.onData=function(a){this.chunks.push(a)},r.prototype.onEnd=function(a){a===h&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=a,this.msg=this.strm.msg},y.Deflate=r,y.deflate=o,y.deflateRaw=function(a,p){return(p=p||{}).raw=!0,o(a,p)},y.gzip=function(a,p){return(p=p||{}).gzip=!0,o(a,p)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(v,P,y){var c=v("./zlib/inflate"),l=v("./utils/common"),i=v("./utils/strings"),u=v("./zlib/constants"),_=v("./zlib/messages"),b=v("./zlib/zstream"),h=v("./zlib/gzheader"),m=Object.prototype.toString;function n(r){if(!(this instanceof n))return new n(r);this.options=l.assign({chunkSize:16384,windowBits:0,to:""},r||{});var o=this.options;o.raw&&0<=o.windowBits&&o.windowBits<16&&(o.windowBits=-o.windowBits,o.windowBits===0&&(o.windowBits=-15)),!(0<=o.windowBits&&o.windowBits<16)||r&&r.windowBits||(o.windowBits+=32),15<o.windowBits&&o.windowBits<48&&!(15&o.windowBits)&&(o.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new b,this.strm.avail_out=0;var a=c.inflateInit2(this.strm,o.windowBits);if(a!==u.Z_OK)throw new Error(_[a]);this.header=new h,c.inflateGetHeader(this.strm,this.header)}function f(r,o){var a=new n(o);if(a.push(r,!0),a.err)throw a.msg||_[a.err];return a.result}n.prototype.push=function(r,o){var a,p,w,C,k,F,O=this.strm,j=this.options.chunkSize,I=this.options.dictionary,H=!1;if(this.ended)return!1;p=o===~~o?o:o===!0?u.Z_FINISH:u.Z_NO_FLUSH,typeof r=="string"?O.input=i.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 l.Buf8(j),O.next_out=0,O.avail_out=j),(a=c.inflate(O,u.Z_NO_FLUSH))===u.Z_NEED_DICT&&I&&(F=typeof I=="string"?i.string2buf(I):m.call(I)==="[object ArrayBuffer]"?new Uint8Array(I):I,a=c.inflateSetDictionary(this.strm,F)),a===u.Z_BUF_ERROR&&H===!0&&(a=u.Z_OK,H=!1),a!==u.Z_STREAM_END&&a!==u.Z_OK)return this.onEnd(a),!(this.ended=!0);O.next_out&&(O.avail_out!==0&&a!==u.Z_STREAM_END&&(O.avail_in!==0||p!==u.Z_FINISH&&p!==u.Z_SYNC_FLUSH)||(this.options.to==="string"?(w=i.utf8border(O.output,O.next_out),C=O.next_out-w,k=i.buf2string(O.output,w),O.next_out=C,O.avail_out=j-C,C&&l.arraySet(O.output,O.output,w,C,0),this.onData(k)):this.onData(l.shrinkBuf(O.output,O.next_out)))),O.avail_in===0&&O.avail_out===0&&(H=!0)}while((0<O.avail_in||O.avail_out===0)&&a!==u.Z_STREAM_END);return a===u.Z_STREAM_END&&(p=u.Z_FINISH),p===u.Z_FINISH?(a=c.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,a===u.Z_OK):p!==u.Z_SYNC_FLUSH||(this.onEnd(u.Z_OK),!(O.avail_out=0))},n.prototype.onData=function(r){this.chunks.push(r)},n.prototype.onEnd=function(r){r===u.Z_OK&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=l.flattenChunks(this.chunks)),this.chunks=[],this.err=r,this.msg=this.strm.msg},y.Inflate=n,y.inflate=f,y.inflateRaw=function(r,o){return(o=o||{}).raw=!0,f(r,o)},y.ungzip=f},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(v,P,y){var c=typeof Uint8Array<"u"&&typeof Uint16Array<"u"&&typeof Int32Array<"u";y.assign=function(u){for(var _=Array.prototype.slice.call(arguments,1);_.length;){var b=_.shift();if(b){if(typeof b!="object")throw new TypeError(b+"must be non-object");for(var h in b)b.hasOwnProperty(h)&&(u[h]=b[h])}}return u},y.shrinkBuf=function(u,_){return u.length===_?u:u.subarray?u.subarray(0,_):(u.length=_,u)};var l={arraySet:function(u,_,b,h,m){if(_.subarray&&u.subarray)u.set(_.subarray(b,b+h),m);else for(var n=0;n<h;n++)u[m+n]=_[b+n]},flattenChunks:function(u){var _,b,h,m,n,f;for(_=h=0,b=u.length;_<b;_++)h+=u[_].length;for(f=new Uint8Array(h),_=m=0,b=u.length;_<b;_++)n=u[_],f.set(n,m),m+=n.length;return f}},i={arraySet:function(u,_,b,h,m){for(var n=0;n<h;n++)u[m+n]=_[b+n]},flattenChunks:function(u){return[].concat.apply([],u)}};y.setTyped=function(u){u?(y.Buf8=Uint8Array,y.Buf16=Uint16Array,y.Buf32=Int32Array,y.assign(y,l)):(y.Buf8=Array,y.Buf16=Array,y.Buf32=Array,y.assign(y,i))},y.setTyped(c)},{}],42:[function(v,P,y){var c=v("./common"),l=!0,i=!0;try{String.fromCharCode.apply(null,[0])}catch(h){l=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(h){i=!1}for(var u=new c.Buf8(256),_=0;_<256;_++)u[_]=252<=_?6:248<=_?5:240<=_?4:224<=_?3:192<=_?2:1;function b(h,m){if(m<65537&&(h.subarray&&i||!h.subarray&&l))return String.fromCharCode.apply(null,c.shrinkBuf(h,m));for(var n="",f=0;f<m;f++)n+=String.fromCharCode(h[f]);return n}u[254]=u[254]=1,y.string2buf=function(h){var m,n,f,r,o,a=h.length,p=0;for(r=0;r<a;r++)(64512&(n=h.charCodeAt(r)))==55296&&r+1<a&&(64512&(f=h.charCodeAt(r+1)))==56320&&(n=65536+(n-55296<<10)+(f-56320),r++),p+=n<128?1:n<2048?2:n<65536?3:4;for(m=new c.Buf8(p),r=o=0;o<p;r++)(64512&(n=h.charCodeAt(r)))==55296&&r+1<a&&(64512&(f=h.charCodeAt(r+1)))==56320&&(n=65536+(n-55296<<10)+(f-56320),r++),n<128?m[o++]=n:(n<2048?m[o++]=192|n>>>6:(n<65536?m[o++]=224|n>>>12:(m[o++]=240|n>>>18,m[o++]=128|n>>>12&63),m[o++]=128|n>>>6&63),m[o++]=128|63&n);return m},y.buf2binstring=function(h){return b(h,h.length)},y.binstring2buf=function(h){for(var m=new c.Buf8(h.length),n=0,f=m.length;n<f;n++)m[n]=h.charCodeAt(n);return m},y.buf2string=function(h,m){var n,f,r,o,a=m||h.length,p=new Array(2*a);for(n=f=0;n<a;)if((r=h[n++])<128)p[f++]=r;else if(4<(o=u[r]))p[f++]=65533,n+=o-1;else{for(r&=o===2?31:o===3?15:7;1<o&&n<a;)r=r<<6|63&h[n++],o--;1<o?p[f++]=65533:r<65536?p[f++]=r:(r-=65536,p[f++]=55296|r>>10&1023,p[f++]=56320|1023&r)}return b(p,f)},y.utf8border=function(h,m){var n;for((m=m||h.length)>h.length&&(m=h.length),n=m-1;0<=n&&(192&h[n])==128;)n--;return n<0||n===0?m:n+u[h[n]]>m?n:m}},{"./common":41}],43:[function(v,P,y){P.exports=function(c,l,i,u){for(var _=65535&c|0,b=c>>>16&65535|0,h=0;i!==0;){for(i-=h=2e3<i?2e3:i;b=b+(_=_+l[u++]|0)|0,--h;);_%=65521,b%=65521}return _|b<<16|0}},{}],44:[function(v,P,y){P.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(v,P,y){var c=function(){for(var l,i=[],u=0;u<256;u++){l=u;for(var _=0;_<8;_++)l=1&l?3988292384^l>>>1:l>>>1;i[u]=l}return i}();P.exports=function(l,i,u,_){var b=c,h=_+u;l^=-1;for(var m=_;m<h;m++)l=l>>>8^b[255&(l^i[m])];return-1^l}},{}],46:[function(v,P,y){var c,l=v("../utils/common"),i=v("./trees"),u=v("./adler32"),_=v("./crc32"),b=v("./messages"),h=0,m=4,n=0,f=-2,r=-1,o=4,a=2,p=8,w=9,C=286,k=30,F=19,O=2*C+1,j=15,I=3,H=258,K=H+I+1,g=42,T=113,e=1,R=2,$=3,M=4;function et(t,D){return t.msg=b[D],D}function L(t){return(t<<1)-(4<t?9:0)}function J(t){for(var D=t.length;0<=--D;)t[D]=0}function z(t){var D=t.state,B=D.pending;B>t.avail_out&&(B=t.avail_out),B!==0&&(l.arraySet(t.output,D.pending_buf,D.pending_out,B,t.next_out),t.next_out+=B,D.pending_out+=B,t.total_out+=B,t.avail_out-=B,D.pending-=B,D.pending===0&&(D.pending_out=0))}function x(t,D){i._tr_flush_block(t,0<=t.block_start?t.block_start:-1,t.strstart-t.block_start,D),t.block_start=t.strstart,z(t.strm)}function X(t,D){t.pending_buf[t.pending++]=D}function V(t,D){t.pending_buf[t.pending++]=D>>>8&255,t.pending_buf[t.pending++]=255&D}function G(t,D){var B,d,s=t.max_chain_length,A=t.strstart,N=t.prev_length,U=t.nice_match,S=t.strstart>t.w_size-K?t.strstart-(t.w_size-K):0,W=t.window,Y=t.w_mask,Z=t.prev,Q=t.strstart+H,st=W[A+N-1],nt=W[A+N];t.prev_length>=t.good_match&&(s>>=2),U>t.lookahead&&(U=t.lookahead);do if(W[(B=D)+N]===nt&&W[B+N-1]===st&&W[B]===W[A]&&W[++B]===W[A+1]){A+=2,B++;do;while(W[++A]===W[++B]&&W[++A]===W[++B]&&W[++A]===W[++B]&&W[++A]===W[++B]&&W[++A]===W[++B]&&W[++A]===W[++B]&&W[++A]===W[++B]&&W[++A]===W[++B]&&A<Q);if(d=H-(Q-A),A=Q-H,N<d){if(t.match_start=D,U<=(N=d))break;st=W[A+N-1],nt=W[A+N]}}while((D=Z[D&Y])>S&&--s!=0);return N<=t.lookahead?N:t.lookahead}function ot(t){var D,B,d,s,A,N,U,S,W,Y,Z=t.w_size;do{if(s=t.window_size-t.lookahead-t.strstart,t.strstart>=Z+(Z-K)){for(l.arraySet(t.window,t.window,Z,Z,0),t.match_start-=Z,t.strstart-=Z,t.block_start-=Z,D=B=t.hash_size;d=t.head[--D],t.head[D]=Z<=d?d-Z:0,--B;);for(D=B=Z;d=t.prev[--D],t.prev[D]=Z<=d?d-Z:0,--B;);s+=Z}if(t.strm.avail_in===0)break;if(N=t.strm,U=t.window,S=t.strstart+t.lookahead,W=s,Y=void 0,Y=N.avail_in,W<Y&&(Y=W),B=Y===0?0:(N.avail_in-=Y,l.arraySet(U,N.input,N.next_in,Y,S),N.state.wrap===1?N.adler=u(N.adler,U,Y,S):N.state.wrap===2&&(N.adler=_(N.adler,U,Y,S)),N.next_in+=Y,N.total_in+=Y,Y),t.lookahead+=B,t.lookahead+t.insert>=I)for(A=t.strstart-t.insert,t.ins_h=t.window[A],t.ins_h=(t.ins_h<<t.hash_shift^t.window[A+1])&t.hash_mask;t.insert&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[A+I-1])&t.hash_mask,t.prev[A&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=A,A++,t.insert--,!(t.lookahead+t.insert<I)););}while(t.lookahead<K&&t.strm.avail_in!==0)}function ht(t,D){for(var B,d;;){if(t.lookahead<K){if(ot(t),t.lookahead<K&&D===h)return e;if(t.lookahead===0)break}if(B=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,B=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),B!==0&&t.strstart-B<=t.w_size-K&&(t.match_length=G(t,B)),t.match_length>=I)if(d=i._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,B=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 d=i._tr_tally(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(d&&(x(t,!1),t.strm.avail_out===0))return e}return t.insert=t.strstart<I-1?t.strstart:I-1,D===m?(x(t,!0),t.strm.avail_out===0?$:M):t.last_lit&&(x(t,!1),t.strm.avail_out===0)?e:R}function rt(t,D){for(var B,d,s;;){if(t.lookahead<K){if(ot(t),t.lookahead<K&&D===h)return e;if(t.lookahead===0)break}if(B=0,t.lookahead>=I&&(t.ins_h=(t.ins_h<<t.hash_shift^t.window[t.strstart+I-1])&t.hash_mask,B=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,B!==0&&t.prev_length<t.max_lazy_match&&t.strstart-B<=t.w_size-K&&(t.match_length=G(t,B),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,d=i._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,B=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++,d&&(x(t,!1),t.strm.avail_out===0))return e}else if(t.match_available){if((d=i._tr_tally(t,0,t.window[t.strstart-1]))&&x(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&&(d=i._tr_tally(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<I-1?t.strstart:I-1,D===m?(x(t,!0),t.strm.avail_out===0?$:M):t.last_lit&&(x(t,!1),t.strm.avail_out===0)?e:R}function at(t,D,B,d,s){this.good_length=t,this.max_lazy=D,this.nice_length=B,this.max_chain=d,this.func=s}function ct(){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=p,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 l.Buf16(2*O),this.dyn_dtree=new l.Buf16(2*(2*k+1)),this.bl_tree=new l.Buf16(2*(2*F+1)),J(this.dyn_ltree),J(this.dyn_dtree),J(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new l.Buf16(j+1),this.heap=new l.Buf16(2*C+1),J(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new l.Buf16(2*C+1),J(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 lt(t){var D;return t&&t.state?(t.total_in=t.total_out=0,t.data_type=a,(D=t.state).pending=0,D.pending_out=0,D.wrap<0&&(D.wrap=-D.wrap),D.status=D.wrap?g:T,t.adler=D.wrap===2?0:1,D.last_flush=h,i._tr_init(D),n):et(t,f)}function gt(t){var D=lt(t);return D===n&&function(B){B.window_size=2*B.w_size,J(B.head),B.max_lazy_match=c[B.level].max_lazy,B.good_match=c[B.level].good_length,B.nice_match=c[B.level].nice_length,B.max_chain_length=c[B.level].max_chain,B.strstart=0,B.block_start=0,B.lookahead=0,B.insert=0,B.match_length=B.prev_length=I-1,B.match_available=0,B.ins_h=0}(t.state),D}function mt(t,D,B,d,s,A){if(!t)return f;var N=1;if(D===r&&(D=6),d<0?(N=0,d=-d):15<d&&(N=2,d-=16),s<1||w<s||B!==p||d<8||15<d||D<0||9<D||A<0||o<A)return et(t,f);d===8&&(d=9);var U=new ct;return(t.state=U).strm=t,U.wrap=N,U.gzhead=null,U.w_bits=d,U.w_size=1<<U.w_bits,U.w_mask=U.w_size-1,U.hash_bits=s+7,U.hash_size=1<<U.hash_bits,U.hash_mask=U.hash_size-1,U.hash_shift=~~((U.hash_bits+I-1)/I),U.window=new l.Buf8(2*U.w_size),U.head=new l.Buf16(U.hash_size),U.prev=new l.Buf16(U.w_size),U.lit_bufsize=1<<s+6,U.pending_buf_size=4*U.lit_bufsize,U.pending_buf=new l.Buf8(U.pending_buf_size),U.d_buf=1*U.lit_bufsize,U.l_buf=3*U.lit_bufsize,U.level=D,U.strategy=A,U.method=B,gt(t)}c=[new at(0,0,0,0,function(t,D){var B=65535;for(B>t.pending_buf_size-5&&(B=t.pending_buf_size-5);;){if(t.lookahead<=1){if(ot(t),t.lookahead===0&&D===h)return e;if(t.lookahead===0)break}t.strstart+=t.lookahead,t.lookahead=0;var d=t.block_start+B;if((t.strstart===0||t.strstart>=d)&&(t.lookahead=t.strstart-d,t.strstart=d,x(t,!1),t.strm.avail_out===0)||t.strstart-t.block_start>=t.w_size-K&&(x(t,!1),t.strm.avail_out===0))return e}return t.insert=0,D===m?(x(t,!0),t.strm.avail_out===0?$:M):(t.strstart>t.block_start&&(x(t,!1),t.strm.avail_out),e)}),new at(4,4,8,4,ht),new at(4,5,16,8,ht),new at(4,6,32,32,ht),new at(4,4,16,16,rt),new at(8,16,32,32,rt),new at(8,16,128,128,rt),new at(8,32,128,256,rt),new at(32,128,258,1024,rt),new at(32,258,258,4096,rt)],y.deflateInit=function(t,D){return mt(t,D,p,15,8,0)},y.deflateInit2=mt,y.deflateReset=gt,y.deflateResetKeep=lt,y.deflateSetHeader=function(t,D){return t&&t.state?t.state.wrap!==2?f:(t.state.gzhead=D,n):f},y.deflate=function(t,D){var B,d,s,A;if(!t||!t.state||5<D||D<0)return t?et(t,f):f;if(d=t.state,!t.output||!t.input&&t.avail_in!==0||d.status===666&&D!==m)return et(t,t.avail_out===0?-5:f);if(d.strm=t,B=d.last_flush,d.last_flush=D,d.status===g)if(d.wrap===2)t.adler=0,X(d,31),X(d,139),X(d,8),d.gzhead?(X(d,(d.gzhead.text?1:0)+(d.gzhead.hcrc?2:0)+(d.gzhead.extra?4:0)+(d.gzhead.name?8:0)+(d.gzhead.comment?16:0)),X(d,255&d.gzhead.time),X(d,d.gzhead.time>>8&255),X(d,d.gzhead.time>>16&255),X(d,d.gzhead.time>>24&255),X(d,d.level===9?2:2<=d.strategy||d.level<2?4:0),X(d,255&d.gzhead.os),d.gzhead.extra&&d.gzhead.extra.length&&(X(d,255&d.gzhead.extra.length),X(d,d.gzhead.extra.length>>8&255)),d.gzhead.hcrc&&(t.adler=_(t.adler,d.pending_buf,d.pending,0)),d.gzindex=0,d.status=69):(X(d,0),X(d,0),X(d,0),X(d,0),X(d,0),X(d,d.level===9?2:2<=d.strategy||d.level<2?4:0),X(d,3),d.status=T);else{var N=p+(d.w_bits-8<<4)<<8;N|=(2<=d.strategy||d.level<2?0:d.level<6?1:d.level===6?2:3)<<6,d.strstart!==0&&(N|=32),N+=31-N%31,d.status=T,V(d,N),d.strstart!==0&&(V(d,t.adler>>>16),V(d,65535&t.adler)),t.adler=1}if(d.status===69)if(d.gzhead.extra){for(s=d.pending;d.gzindex<(65535&d.gzhead.extra.length)&&(d.pending!==d.pending_buf_size||(d.gzhead.hcrc&&d.pending>s&&(t.adler=_(t.adler,d.pending_buf,d.pending-s,s)),z(t),s=d.pending,d.pending!==d.pending_buf_size));)X(d,255&d.gzhead.extra[d.gzindex]),d.gzindex++;d.gzhead.hcrc&&d.pending>s&&(t.adler=_(t.adler,d.pending_buf,d.pending-s,s)),d.gzindex===d.gzhead.extra.length&&(d.gzindex=0,d.status=73)}else d.status=73;if(d.status===73)if(d.gzhead.name){s=d.pending;do{if(d.pending===d.pending_buf_size&&(d.gzhead.hcrc&&d.pending>s&&(t.adler=_(t.adler,d.pending_buf,d.pending-s,s)),z(t),s=d.pending,d.pending===d.pending_buf_size)){A=1;break}A=d.gzindex<d.gzhead.name.length?255&d.gzhead.name.charCodeAt(d.gzindex++):0,X(d,A)}while(A!==0);d.gzhead.hcrc&&d.pending>s&&(t.adler=_(t.adler,d.pending_buf,d.pending-s,s)),A===0&&(d.gzindex=0,d.status=91)}else d.status=91;if(d.status===91)if(d.gzhead.comment){s=d.pending;do{if(d.pending===d.pending_buf_size&&(d.gzhead.hcrc&&d.pending>s&&(t.adler=_(t.adler,d.pending_buf,d.pending-s,s)),z(t),s=d.pending,d.pending===d.pending_buf_size)){A=1;break}A=d.gzindex<d.gzhead.comment.length?255&d.gzhead.comment.charCodeAt(d.gzindex++):0,X(d,A)}while(A!==0);d.gzhead.hcrc&&d.pending>s&&(t.adler=_(t.adler,d.pending_buf,d.pending-s,s)),A===0&&(d.status=103)}else d.status=103;if(d.status===103&&(d.gzhead.hcrc?(d.pending+2>d.pending_buf_size&&z(t),d.pending+2<=d.pending_buf_size&&(X(d,255&t.adler),X(d,t.adler>>8&255),t.adler=0,d.status=T)):d.status=T),d.pending!==0){if(z(t),t.avail_out===0)return d.last_flush=-1,n}else if(t.avail_in===0&&L(D)<=L(B)&&D!==m)return et(t,-5);if(d.status===666&&t.avail_in!==0)return et(t,-5);if(t.avail_in!==0||d.lookahead!==0||D!==h&&d.status!==666){var U=d.strategy===2?function(S,W){for(var Y;;){if(S.lookahead===0&&(ot(S),S.lookahead===0)){if(W===h)return e;break}if(S.match_length=0,Y=i._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++,Y&&(x(S,!1),S.strm.avail_out===0))return e}return S.insert=0,W===m?(x(S,!0),S.strm.avail_out===0?$:M):S.last_lit&&(x(S,!1),S.strm.avail_out===0)?e:R}(d,D):d.strategy===3?function(S,W){for(var Y,Z,Q,st,nt=S.window;;){if(S.lookahead<=H){if(ot(S),S.lookahead<=H&&W===h)return e;if(S.lookahead===0)break}if(S.match_length=0,S.lookahead>=I&&0<S.strstart&&(Z=nt[Q=S.strstart-1])===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]){st=S.strstart+H;do;while(Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Z===nt[++Q]&&Q<st);S.match_length=H-(st-Q),S.match_length>S.lookahead&&(S.match_length=S.lookahead)}if(S.match_length>=I?(Y=i._tr_tally(S,1,S.match_length-I),S.lookahead-=S.match_length,S.strstart+=S.match_length,S.match_length=0):(Y=i._tr_tally(S,0,S.window[S.strstart]),S.lookahead--,S.strstart++),Y&&(x(S,!1),S.strm.avail_out===0))return e}return S.insert=0,W===m?(x(S,!0),S.strm.avail_out===0?$:M):S.last_lit&&(x(S,!1),S.strm.avail_out===0)?e:R}(d,D):c[d.level].func(d,D);if(U!==$&&U!==M||(d.status=666),U===e||U===$)return t.avail_out===0&&(d.last_flush=-1),n;if(U===R&&(D===1?i._tr_align(d):D!==5&&(i._tr_stored_block(d,0,0,!1),D===3&&(J(d.head),d.lookahead===0&&(d.strstart=0,d.block_start=0,d.insert=0))),z(t),t.avail_out===0))return d.last_flush=-1,n}return D!==m?n:d.wrap<=0?1:(d.wrap===2?(X(d,255&t.adler),X(d,t.adler>>8&255),X(d,t.adler>>16&255),X(d,t.adler>>24&255),X(d,255&t.total_in),X(d,t.total_in>>8&255),X(d,t.total_in>>16&255),X(d,t.total_in>>24&255)):(V(d,t.adler>>>16),V(d,65535&t.adler)),z(t),0<d.wrap&&(d.wrap=-d.wrap),d.pending!==0?n:1)},y.deflateEnd=function(t){var D;return t&&t.state?(D=t.state.status)!==g&&D!==69&&D!==73&&D!==91&&D!==103&&D!==T&&D!==666?et(t,f):(t.state=null,D===T?et(t,-3):n):f},y.deflateSetDictionary=function(t,D){var B,d,s,A,N,U,S,W,Y=D.length;if(!t||!t.state||(A=(B=t.state).wrap)===2||A===1&&B.status!==g||B.lookahead)return f;for(A===1&&(t.adler=u(t.adler,D,Y,0)),B.wrap=0,Y>=B.w_size&&(A===0&&(J(B.head),B.strstart=0,B.block_start=0,B.insert=0),W=new l.Buf8(B.w_size),l.arraySet(W,D,Y-B.w_size,B.w_size,0),D=W,Y=B.w_size),N=t.avail_in,U=t.next_in,S=t.input,t.avail_in=Y,t.next_in=0,t.input=D,ot(B);B.lookahead>=I;){for(d=B.strstart,s=B.lookahead-(I-1);B.ins_h=(B.ins_h<<B.hash_shift^B.window[d+I-1])&B.hash_mask,B.prev[d&B.w_mask]=B.head[B.ins_h],B.head[B.ins_h]=d,d++,--s;);B.strstart=d,B.lookahead=I-1,ot(B)}return B.strstart+=B.lookahead,B.block_start=B.strstart,B.insert=B.lookahead,B.lookahead=0,B.match_length=B.prev_length=I-1,B.match_available=0,t.next_in=U,t.input=S,t.avail_in=N,B.wrap=A,n},y.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(v,P,y){P.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(v,P,y){P.exports=function(c,l){var i,u,_,b,h,m,n,f,r,o,a,p,w,C,k,F,O,j,I,H,K,g,T,e,R;i=c.state,u=c.next_in,e=c.input,_=u+(c.avail_in-5),b=c.next_out,R=c.output,h=b-(l-c.avail_out),m=b+(c.avail_out-257),n=i.dmax,f=i.wsize,r=i.whave,o=i.wnext,a=i.window,p=i.hold,w=i.bits,C=i.lencode,k=i.distcode,F=(1<<i.lenbits)-1,O=(1<<i.distbits)-1;t:do{w<15&&(p+=e[u++]<<w,w+=8,p+=e[u++]<<w,w+=8),j=C[p&F];e:for(;;){if(p>>>=I=j>>>24,w-=I,(I=j>>>16&255)===0)R[b++]=65535&j;else{if(!(16&I)){if(!(64&I)){j=C[(65535&j)+(p&(1<<I)-1)];continue e}if(32&I){i.mode=12;break t}c.msg="invalid literal/length code",i.mode=30;break t}H=65535&j,(I&=15)&&(w<I&&(p+=e[u++]<<w,w+=8),H+=p&(1<<I)-1,p>>>=I,w-=I),w<15&&(p+=e[u++]<<w,w+=8,p+=e[u++]<<w,w+=8),j=k[p&O];r:for(;;){if(p>>>=I=j>>>24,w-=I,!(16&(I=j>>>16&255))){if(!(64&I)){j=k[(65535&j)+(p&(1<<I)-1)];continue r}c.msg="invalid distance code",i.mode=30;break t}if(K=65535&j,w<(I&=15)&&(p+=e[u++]<<w,(w+=8)<I&&(p+=e[u++]<<w,w+=8)),n<(K+=p&(1<<I)-1)){c.msg="invalid distance too far back",i.mode=30;break t}if(p>>>=I,w-=I,(I=b-h)<K){if(r<(I=K-I)&&i.sane){c.msg="invalid distance too far back",i.mode=30;break t}if(T=a,(g=0)===o){if(g+=f-I,I<H){for(H-=I;R[b++]=a[g++],--I;);g=b-K,T=R}}else if(o<I){if(g+=f+o-I,(I-=o)<H){for(H-=I;R[b++]=a[g++],--I;);if(g=0,o<H){for(H-=I=o;R[b++]=a[g++],--I;);g=b-K,T=R}}}else if(g+=o-I,I<H){for(H-=I;R[b++]=a[g++],--I;);g=b-K,T=R}for(;2<H;)R[b++]=T[g++],R[b++]=T[g++],R[b++]=T[g++],H-=3;H&&(R[b++]=T[g++],1<H&&(R[b++]=T[g++]))}else{for(g=b-K;R[b++]=R[g++],R[b++]=R[g++],R[b++]=R[g++],2<(H-=3););H&&(R[b++]=R[g++],1<H&&(R[b++]=R[g++]))}break}}break}}while(u<_&&b<m);u-=H=w>>3,p&=(1<<(w-=H<<3))-1,c.next_in=u,c.next_out=b,c.avail_in=u<_?_-u+5:5-(u-_),c.avail_out=b<m?m-b+257:257-(b-m),i.hold=p,i.bits=w}},{}],49:[function(v,P,y){var c=v("../utils/common"),l=v("./adler32"),i=v("./crc32"),u=v("./inffast"),_=v("./inftrees"),b=1,h=2,m=0,n=-2,f=1,r=852,o=592;function a(g){return(g>>>24&255)+(g>>>8&65280)+((65280&g)<<8)+((255&g)<<24)}function p(){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 c.Buf16(320),this.work=new c.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function w(g){var T;return g&&g.state?(T=g.state,g.total_in=g.total_out=T.total=0,g.msg="",T.wrap&&(g.adler=1&T.wrap),T.mode=f,T.last=0,T.havedict=0,T.dmax=32768,T.head=null,T.hold=0,T.bits=0,T.lencode=T.lendyn=new c.Buf32(r),T.distcode=T.distdyn=new c.Buf32(o),T.sane=1,T.back=-1,m):n}function C(g){var T;return g&&g.state?((T=g.state).wsize=0,T.whave=0,T.wnext=0,w(g)):n}function k(g,T){var e,R;return g&&g.state?(R=g.state,T<0?(e=0,T=-T):(e=1+(T>>4),T<48&&(T&=15)),T&&(T<8||15<T)?n:(R.window!==null&&R.wbits!==T&&(R.window=null),R.wrap=e,R.wbits=T,C(g))):n}function F(g,T){var e,R;return g?(R=new p,(g.state=R).window=null,(e=k(g,T))!==m&&(g.state=null),e):n}var O,j,I=!0;function H(g){if(I){var T;for(O=new c.Buf32(512),j=new c.Buf32(32),T=0;T<144;)g.lens[T++]=8;for(;T<256;)g.lens[T++]=9;for(;T<280;)g.lens[T++]=7;for(;T<288;)g.lens[T++]=8;for(_(b,g.lens,0,288,O,0,g.work,{bits:9}),T=0;T<32;)g.lens[T++]=5;_(h,g.lens,0,32,j,0,g.work,{bits:5}),I=!1}g.lencode=O,g.lenbits=9,g.distcode=j,g.distbits=5}function K(g,T,e,R){var $,M=g.state;return M.window===null&&(M.wsize=1<<M.wbits,M.wnext=0,M.whave=0,M.window=new c.Buf8(M.wsize)),R>=M.wsize?(c.arraySet(M.window,T,e-M.wsize,M.wsize,0),M.wnext=0,M.whave=M.wsize):(R<($=M.wsize-M.wnext)&&($=R),c.arraySet(M.window,T,e-R,$,M.wnext),(R-=$)?(c.arraySet(M.window,T,e-R,R,0),M.wnext=R,M.whave=M.wsize):(M.wnext+=$,M.wnext===M.wsize&&(M.wnext=0),M.whave<M.wsize&&(M.whave+=$))),0}y.inflateReset=C,y.inflateReset2=k,y.inflateResetKeep=w,y.inflateInit=function(g){return F(g,15)},y.inflateInit2=F,y.inflate=function(g,T){var e,R,$,M,et,L,J,z,x,X,V,G,ot,ht,rt,at,ct,lt,gt,mt,t,D,B,d,s=0,A=new c.Buf8(4),N=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!g||!g.state||!g.output||!g.input&&g.avail_in!==0)return n;(e=g.state).mode===12&&(e.mode=13),et=g.next_out,$=g.output,J=g.avail_out,M=g.next_in,R=g.input,L=g.avail_in,z=e.hold,x=e.bits,X=L,V=J,D=m;t:for(;;)switch(e.mode){case f:if(e.wrap===0){e.mode=13;break}for(;x<16;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}if(2&e.wrap&&z===35615){A[e.check=0]=255&z,A[1]=z>>>8&255,e.check=i(e.check,A,2,0),x=z=0,e.mode=2;break}if(e.flags=0,e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&z)<<8)+(z>>8))%31){g.msg="incorrect header check",e.mode=30;break}if((15&z)!=8){g.msg="unknown compression method",e.mode=30;break}if(x-=4,t=8+(15&(z>>>=4)),e.wbits===0)e.wbits=t;else if(t>e.wbits){g.msg="invalid window size",e.mode=30;break}e.dmax=1<<t,g.adler=e.check=1,e.mode=512&z?10:12,x=z=0;break;case 2:for(;x<16;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}if(e.flags=z,(255&e.flags)!=8){g.msg="unknown compression method",e.mode=30;break}if(57344&e.flags){g.msg="unknown header flags set",e.mode=30;break}e.head&&(e.head.text=z>>8&1),512&e.flags&&(A[0]=255&z,A[1]=z>>>8&255,e.check=i(e.check,A,2,0)),x=z=0,e.mode=3;case 3:for(;x<32;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}e.head&&(e.head.time=z),512&e.flags&&(A[0]=255&z,A[1]=z>>>8&255,A[2]=z>>>16&255,A[3]=z>>>24&255,e.check=i(e.check,A,4,0)),x=z=0,e.mode=4;case 4:for(;x<16;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}e.head&&(e.head.xflags=255&z,e.head.os=z>>8),512&e.flags&&(A[0]=255&z,A[1]=z>>>8&255,e.check=i(e.check,A,2,0)),x=z=0,e.mode=5;case 5:if(1024&e.flags){for(;x<16;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}e.length=z,e.head&&(e.head.extra_len=z),512&e.flags&&(A[0]=255&z,A[1]=z>>>8&255,e.check=i(e.check,A,2,0)),x=z=0}else e.head&&(e.head.extra=null);e.mode=6;case 6:if(1024&e.flags&&(L<(G=e.length)&&(G=L),G&&(e.head&&(t=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Array(e.head.extra_len)),c.arraySet(e.head.extra,R,M,G,t)),512&e.flags&&(e.check=i(e.check,R,G,M)),L-=G,M+=G,e.length-=G),e.length))break t;e.length=0,e.mode=7;case 7:if(2048&e.flags){if(L===0)break t;for(G=0;t=R[M+G++],e.head&&t&&e.length<65536&&(e.head.name+=String.fromCharCode(t)),t&&G<L;);if(512&e.flags&&(e.check=i(e.check,R,G,M)),L-=G,M+=G,t)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=8;case 8:if(4096&e.flags){if(L===0)break t;for(G=0;t=R[M+G++],e.head&&t&&e.length<65536&&(e.head.comment+=String.fromCharCode(t)),t&&G<L;);if(512&e.flags&&(e.check=i(e.check,R,G,M)),L-=G,M+=G,t)break t}else e.head&&(e.head.comment=null);e.mode=9;case 9:if(512&e.flags){for(;x<16;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}if(z!==(65535&e.check)){g.msg="header crc mismatch",e.mode=30;break}x=z=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),g.adler=e.check=0,e.mode=12;break;case 10:for(;x<32;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}g.adler=e.check=a(z),x=z=0,e.mode=11;case 11:if(e.havedict===0)return g.next_out=et,g.avail_out=J,g.next_in=M,g.avail_in=L,e.hold=z,e.bits=x,2;g.adler=e.check=1,e.mode=12;case 12:if(T===5||T===6)break t;case 13:if(e.last){z>>>=7&x,x-=7&x,e.mode=27;break}for(;x<3;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}switch(e.last=1&z,x-=1,3&(z>>>=1)){case 0:e.mode=14;break;case 1:if(H(e),e.mode=20,T!==6)break;z>>>=2,x-=2;break t;case 2:e.mode=17;break;case 3:g.msg="invalid block type",e.mode=30}z>>>=2,x-=2;break;case 14:for(z>>>=7&x,x-=7&x;x<32;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}if((65535&z)!=(z>>>16^65535)){g.msg="invalid stored block lengths",e.mode=30;break}if(e.length=65535&z,x=z=0,e.mode=15,T===6)break t;case 15:e.mode=16;case 16:if(G=e.length){if(L<G&&(G=L),J<G&&(G=J),G===0)break t;c.arraySet($,R,M,G,et),L-=G,M+=G,J-=G,et+=G,e.length-=G;break}e.mode=12;break;case 17:for(;x<14;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}if(e.nlen=257+(31&z),z>>>=5,x-=5,e.ndist=1+(31&z),z>>>=5,x-=5,e.ncode=4+(15&z),z>>>=4,x-=4,286<e.nlen||30<e.ndist){g.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(;x<3;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}e.lens[N[e.have++]]=7&z,z>>>=3,x-=3}for(;e.have<19;)e.lens[N[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,B={bits:e.lenbits},D=_(0,e.lens,0,19,e.lencode,0,e.work,B),e.lenbits=B.bits,D){g.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(;at=(s=e.lencode[z&(1<<e.lenbits)-1])>>>16&255,ct=65535&s,!((rt=s>>>24)<=x);){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}if(ct<16)z>>>=rt,x-=rt,e.lens[e.have++]=ct;else{if(ct===16){for(d=rt+2;x<d;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}if(z>>>=rt,x-=rt,e.have===0){g.msg="invalid bit length repeat",e.mode=30;break}t=e.lens[e.have-1],G=3+(3&z),z>>>=2,x-=2}else if(ct===17){for(d=rt+3;x<d;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}x-=rt,t=0,G=3+(7&(z>>>=rt)),z>>>=3,x-=3}else{for(d=rt+7;x<d;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}x-=rt,t=0,G=11+(127&(z>>>=rt)),z>>>=7,x-=7}if(e.have+G>e.nlen+e.ndist){g.msg="invalid bit length repeat",e.mode=30;break}for(;G--;)e.lens[e.have++]=t}}if(e.mode===30)break;if(e.lens[256]===0){g.msg="invalid code -- missing end-of-block",e.mode=30;break}if(e.lenbits=9,B={bits:e.lenbits},D=_(b,e.lens,0,e.nlen,e.lencode,0,e.work,B),e.lenbits=B.bits,D){g.msg="invalid literal/lengths set",e.mode=30;break}if(e.distbits=6,e.distcode=e.distdyn,B={bits:e.distbits},D=_(h,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,B),e.distbits=B.bits,D){g.msg="invalid distances set",e.mode=30;break}if(e.mode=20,T===6)break t;case 20:e.mode=21;case 21:if(6<=L&&258<=J){g.next_out=et,g.avail_out=J,g.next_in=M,g.avail_in=L,e.hold=z,e.bits=x,u(g,V),et=g.next_out,$=g.output,J=g.avail_out,M=g.next_in,R=g.input,L=g.avail_in,z=e.hold,x=e.bits,e.mode===12&&(e.back=-1);break}for(e.back=0;at=(s=e.lencode[z&(1<<e.lenbits)-1])>>>16&255,ct=65535&s,!((rt=s>>>24)<=x);){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}if(at&&!(240&at)){for(lt=rt,gt=at,mt=ct;at=(s=e.lencode[mt+((z&(1<<lt+gt)-1)>>lt)])>>>16&255,ct=65535&s,!(lt+(rt=s>>>24)<=x);){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}z>>>=lt,x-=lt,e.back+=lt}if(z>>>=rt,x-=rt,e.back+=rt,e.length=ct,at===0){e.mode=26;break}if(32&at){e.back=-1,e.mode=12;break}if(64&at){g.msg="invalid literal/length code",e.mode=30;break}e.extra=15&at,e.mode=22;case 22:if(e.extra){for(d=e.extra;x<d;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}e.length+=z&(1<<e.extra)-1,z>>>=e.extra,x-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=23;case 23:for(;at=(s=e.distcode[z&(1<<e.distbits)-1])>>>16&255,ct=65535&s,!((rt=s>>>24)<=x);){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}if(!(240&at)){for(lt=rt,gt=at,mt=ct;at=(s=e.distcode[mt+((z&(1<<lt+gt)-1)>>lt)])>>>16&255,ct=65535&s,!(lt+(rt=s>>>24)<=x);){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}z>>>=lt,x-=lt,e.back+=lt}if(z>>>=rt,x-=rt,e.back+=rt,64&at){g.msg="invalid distance code",e.mode=30;break}e.offset=ct,e.extra=15&at,e.mode=24;case 24:if(e.extra){for(d=e.extra;x<d;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}e.offset+=z&(1<<e.extra)-1,z>>>=e.extra,x-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){g.msg="invalid distance too far back",e.mode=30;break}e.mode=25;case 25:if(J===0)break t;if(G=V-J,e.offset>G){if((G=e.offset-G)>e.whave&&e.sane){g.msg="invalid distance too far back",e.mode=30;break}ot=G>e.wnext?(G-=e.wnext,e.wsize-G):e.wnext-G,G>e.length&&(G=e.length),ht=e.window}else ht=$,ot=et-e.offset,G=e.length;for(J<G&&(G=J),J-=G,e.length-=G;$[et++]=ht[ot++],--G;);e.length===0&&(e.mode=21);break;case 26:if(J===0)break t;$[et++]=e.length,J--,e.mode=21;break;case 27:if(e.wrap){for(;x<32;){if(L===0)break t;L--,z|=R[M++]<<x,x+=8}if(V-=J,g.total_out+=V,e.total+=V,V&&(g.adler=e.check=e.flags?i(e.check,$,V,et-V):l(e.check,$,V,et-V)),V=J,(e.flags?z:a(z))!==e.check){g.msg="incorrect data check",e.mode=30;break}x=z=0}e.mode=28;case 28:if(e.wrap&&e.flags){for(;x<32;){if(L===0)break t;L--,z+=R[M++]<<x,x+=8}if(z!==(4294967295&e.total)){g.msg="incorrect length check",e.mode=30;break}x=z=0}e.mode=29;case 29:D=1;break t;case 30:D=-3;break t;case 31:return-4;case 32:default:return n}return g.next_out=et,g.avail_out=J,g.next_in=M,g.avail_in=L,e.hold=z,e.bits=x,(e.wsize||V!==g.avail_out&&e.mode<30&&(e.mode<27||T!==4))&&K(g,g.output,g.next_out,V-g.avail_out)?(e.mode=31,-4):(X-=g.avail_in,V-=g.avail_out,g.total_in+=X,g.total_out+=V,e.total+=V,e.wrap&&V&&(g.adler=e.check=e.flags?i(e.check,$,V,g.next_out-V):l(e.check,$,V,g.next_out-V)),g.data_type=e.bits+(e.last?64:0)+(e.mode===12?128:0)+(e.mode===20||e.mode===15?256:0),(X==0&&V===0||T===4)&&D===m&&(D=-5),D)},y.inflateEnd=function(g){if(!g||!g.state)return n;var T=g.state;return T.window&&(T.window=null),g.state=null,m},y.inflateGetHeader=function(g,T){var e;return g&&g.state&&2&(e=g.state).wrap?((e.head=T).done=!1,m):n},y.inflateSetDictionary=function(g,T){var e,R=T.length;return g&&g.state?(e=g.state).wrap!==0&&e.mode!==11?n:e.mode===11&&l(1,T,R,0)!==e.check?-3:K(g,T,R,R)?(e.mode=31,-4):(e.havedict=1,m):n},y.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(v,P,y){var c=v("../utils/common"),l=[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],i=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],u=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],_=[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];P.exports=function(b,h,m,n,f,r,o,a){var p,w,C,k,F,O,j,I,H,K=a.bits,g=0,T=0,e=0,R=0,$=0,M=0,et=0,L=0,J=0,z=0,x=null,X=0,V=new c.Buf16(16),G=new c.Buf16(16),ot=null,ht=0;for(g=0;g<=15;g++)V[g]=0;for(T=0;T<n;T++)V[h[m+T]]++;for($=K,R=15;1<=R&&V[R]===0;R--);if(R<$&&($=R),R===0)return f[r++]=20971520,f[r++]=20971520,a.bits=1,0;for(e=1;e<R&&V[e]===0;e++);for($<e&&($=e),g=L=1;g<=15;g++)if(L<<=1,(L-=V[g])<0)return-1;if(0<L&&(b===0||R!==1))return-1;for(G[1]=0,g=1;g<15;g++)G[g+1]=G[g]+V[g];for(T=0;T<n;T++)h[m+T]!==0&&(o[G[h[m+T]]++]=T);if(O=b===0?(x=ot=o,19):b===1?(x=l,X-=257,ot=i,ht-=257,256):(x=u,ot=_,-1),g=e,F=r,et=T=z=0,C=-1,k=(J=1<<(M=$))-1,b===1&&852<J||b===2&&592<J)return 1;for(;;){for(j=g-et,H=o[T]<O?(I=0,o[T]):o[T]>O?(I=ot[ht+o[T]],x[X+o[T]]):(I=96,0),p=1<<g-et,e=w=1<<M;f[F+(z>>et)+(w-=p)]=j<<24|I<<16|H|0,w!==0;);for(p=1<<g-1;z&p;)p>>=1;if(p!==0?(z&=p-1,z+=p):z=0,T++,--V[g]==0){if(g===R)break;g=h[m+o[T]]}if($<g&&(z&k)!==C){for(et===0&&(et=$),F+=e,L=1<<(M=g-et);M+et<R&&!((L-=V[M+et])<=0);)M++,L<<=1;if(J+=1<<M,b===1&&852<J||b===2&&592<J)return 1;f[C=z&k]=$<<24|M<<16|F-r|0}}return z!==0&&(f[F+z]=g-et<<24|64<<16|0),a.bits=$,0}},{"../utils/common":41}],51:[function(v,P,y){P.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(v,P,y){var c=v("../utils/common"),l=0,i=1;function u(s){for(var A=s.length;0<=--A;)s[A]=0}var _=0,b=29,h=256,m=h+1+b,n=30,f=19,r=2*m+1,o=15,a=16,p=7,w=256,C=16,k=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],j=[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],H=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],K=new Array(2*(m+2));u(K);var g=new Array(2*n);u(g);var T=new Array(512);u(T);var e=new Array(256);u(e);var R=new Array(b);u(R);var $,M,et,L=new Array(n);function J(s,A,N,U,S){this.static_tree=s,this.extra_bits=A,this.extra_base=N,this.elems=U,this.max_length=S,this.has_stree=s&&s.length}function z(s,A){this.dyn_tree=s,this.max_code=0,this.stat_desc=A}function x(s){return s<256?T[s]:T[256+(s>>>7)]}function X(s,A){s.pending_buf[s.pending++]=255&A,s.pending_buf[s.pending++]=A>>>8&255}function V(s,A,N){s.bi_valid>a-N?(s.bi_buf|=A<<s.bi_valid&65535,X(s,s.bi_buf),s.bi_buf=A>>a-s.bi_valid,s.bi_valid+=N-a):(s.bi_buf|=A<<s.bi_valid&65535,s.bi_valid+=N)}function G(s,A,N){V(s,N[2*A],N[2*A+1])}function ot(s,A){for(var N=0;N|=1&s,s>>>=1,N<<=1,0<--A;);return N>>>1}function ht(s,A,N){var U,S,W=new Array(o+1),Y=0;for(U=1;U<=o;U++)W[U]=Y=Y+N[U-1]<<1;for(S=0;S<=A;S++){var Z=s[2*S+1];Z!==0&&(s[2*S]=ot(W[Z]++,Z))}}function rt(s){var A;for(A=0;A<m;A++)s.dyn_ltree[2*A]=0;for(A=0;A<n;A++)s.dyn_dtree[2*A]=0;for(A=0;A<f;A++)s.bl_tree[2*A]=0;s.dyn_ltree[2*w]=1,s.opt_len=s.static_len=0,s.last_lit=s.matches=0}function at(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 ct(s,A,N,U){var S=2*A,W=2*N;return s[S]<s[W]||s[S]===s[W]&&U[A]<=U[N]}function lt(s,A,N){for(var U=s.heap[N],S=N<<1;S<=s.heap_len&&(S<s.heap_len&&ct(A,s.heap[S+1],s.heap[S],s.depth)&&S++,!ct(A,U,s.heap[S],s.depth));)s.heap[N]=s.heap[S],N=S,S<<=1;s.heap[N]=U}function gt(s,A,N){var U,S,W,Y,Z=0;if(s.last_lit!==0)for(;U=s.pending_buf[s.d_buf+2*Z]<<8|s.pending_buf[s.d_buf+2*Z+1],S=s.pending_buf[s.l_buf+Z],Z++,U===0?G(s,S,A):(G(s,(W=e[S])+h+1,A),(Y=O[W])!==0&&V(s,S-=R[W],Y),G(s,W=x(--U),N),(Y=j[W])!==0&&V(s,U-=L[W],Y)),Z<s.last_lit;);G(s,w,A)}function mt(s,A){var N,U,S,W=A.dyn_tree,Y=A.stat_desc.static_tree,Z=A.stat_desc.has_stree,Q=A.stat_desc.elems,st=-1;for(s.heap_len=0,s.heap_max=r,N=0;N<Q;N++)W[2*N]!==0?(s.heap[++s.heap_len]=st=N,s.depth[N]=0):W[2*N+1]=0;for(;s.heap_len<2;)W[2*(S=s.heap[++s.heap_len]=st<2?++st:0)]=1,s.depth[S]=0,s.opt_len--,Z&&(s.static_len-=Y[2*S+1]);for(A.max_code=st,N=s.heap_len>>1;1<=N;N--)lt(s,W,N);for(S=Q;N=s.heap[1],s.heap[1]=s.heap[s.heap_len--],lt(s,W,1),U=s.heap[1],s.heap[--s.heap_max]=N,s.heap[--s.heap_max]=U,W[2*S]=W[2*N]+W[2*U],s.depth[S]=(s.depth[N]>=s.depth[U]?s.depth[N]:s.depth[U])+1,W[2*N+1]=W[2*U+1]=S,s.heap[1]=S++,lt(s,W,1),2<=s.heap_len;);s.heap[--s.heap_max]=s.heap[1],function(nt,ft){var wt,_t,yt,ut,kt,Bt,vt=ft.dyn_tree,Tt=ft.max_code,Lt=ft.stat_desc.static_tree,Wt=ft.stat_desc.has_stree,Zt=ft.stat_desc.extra_bits,Dt=ft.stat_desc.extra_base,At=ft.stat_desc.max_length,Ct=0;for(ut=0;ut<=o;ut++)nt.bl_count[ut]=0;for(vt[2*nt.heap[nt.heap_max]+1]=0,wt=nt.heap_max+1;wt<r;wt++)At<(ut=vt[2*vt[2*(_t=nt.heap[wt])+1]+1]+1)&&(ut=At,Ct++),vt[2*_t+1]=ut,Tt<_t||(nt.bl_count[ut]++,kt=0,Dt<=_t&&(kt=Zt[_t-Dt]),Bt=vt[2*_t],nt.opt_len+=Bt*(ut+kt),Wt&&(nt.static_len+=Bt*(Lt[2*_t+1]+kt)));if(Ct!==0){do{for(ut=At-1;nt.bl_count[ut]===0;)ut--;nt.bl_count[ut]--,nt.bl_count[ut+1]+=2,nt.bl_count[At]--,Ct-=2}while(0<Ct);for(ut=At;ut!==0;ut--)for(_t=nt.bl_count[ut];_t!==0;)Tt<(yt=nt.heap[--wt])||(vt[2*yt+1]!==ut&&(nt.opt_len+=(ut-vt[2*yt+1])*vt[2*yt],vt[2*yt+1]=ut),_t--)}}(s,A),ht(W,st,s.bl_count)}function t(s,A,N){var U,S,W=-1,Y=A[1],Z=0,Q=7,st=4;for(Y===0&&(Q=138,st=3),A[2*(N+1)+1]=65535,U=0;U<=N;U++)S=Y,Y=A[2*(U+1)+1],++Z<Q&&S===Y||(Z<st?s.bl_tree[2*S]+=Z:S!==0?(S!==W&&s.bl_tree[2*S]++,s.bl_tree[2*C]++):Z<=10?s.bl_tree[2*k]++:s.bl_tree[2*F]++,W=S,st=(Z=0)===Y?(Q=138,3):S===Y?(Q=6,3):(Q=7,4))}function D(s,A,N){var U,S,W=-1,Y=A[1],Z=0,Q=7,st=4;for(Y===0&&(Q=138,st=3),U=0;U<=N;U++)if(S=Y,Y=A[2*(U+1)+1],!(++Z<Q&&S===Y)){if(Z<st)for(;G(s,S,s.bl_tree),--Z!=0;);else S!==0?(S!==W&&(G(s,S,s.bl_tree),Z--),G(s,C,s.bl_tree),V(s,Z-3,2)):Z<=10?(G(s,k,s.bl_tree),V(s,Z-3,3)):(G(s,F,s.bl_tree),V(s,Z-11,7));W=S,st=(Z=0)===Y?(Q=138,3):S===Y?(Q=6,3):(Q=7,4)}}u(L);var B=!1;function d(s,A,N,U){V(s,(_<<1)+(U?1:0),3),function(S,W,Y,Z){at(S),Z&&(X(S,Y),X(S,~Y)),c.arraySet(S.pending_buf,S.window,W,Y,S.pending),S.pending+=Y}(s,A,N,!0)}y._tr_init=function(s){B||(function(){var A,N,U,S,W,Y=new Array(o+1);for(S=U=0;S<b-1;S++)for(R[S]=U,A=0;A<1<<O[S];A++)e[U++]=S;for(e[U-1]=S,S=W=0;S<16;S++)for(L[S]=W,A=0;A<1<<j[S];A++)T[W++]=S;for(W>>=7;S<n;S++)for(L[S]=W<<7,A=0;A<1<<j[S]-7;A++)T[256+W++]=S;for(N=0;N<=o;N++)Y[N]=0;for(A=0;A<=143;)K[2*A+1]=8,A++,Y[8]++;for(;A<=255;)K[2*A+1]=9,A++,Y[9]++;for(;A<=279;)K[2*A+1]=7,A++,Y[7]++;for(;A<=287;)K[2*A+1]=8,A++,Y[8]++;for(ht(K,m+1,Y),A=0;A<n;A++)g[2*A+1]=5,g[2*A]=ot(A,5);$=new J(K,O,h+1,m,o),M=new J(g,j,0,n,o),et=new J(new Array(0),I,0,f,p)}(),B=!0),s.l_desc=new z(s.dyn_ltree,$),s.d_desc=new z(s.dyn_dtree,M),s.bl_desc=new z(s.bl_tree,et),s.bi_buf=0,s.bi_valid=0,rt(s)},y._tr_stored_block=d,y._tr_flush_block=function(s,A,N,U){var S,W,Y=0;0<s.level?(s.strm.data_type===2&&(s.strm.data_type=function(Z){var Q,st=4093624447;for(Q=0;Q<=31;Q++,st>>>=1)if(1&st&&Z.dyn_ltree[2*Q]!==0)return l;if(Z.dyn_ltree[18]!==0||Z.dyn_ltree[20]!==0||Z.dyn_ltree[26]!==0)return i;for(Q=32;Q<h;Q++)if(Z.dyn_ltree[2*Q]!==0)return i;return l}(s)),mt(s,s.l_desc),mt(s,s.d_desc),Y=function(Z){var Q;for(t(Z,Z.dyn_ltree,Z.l_desc.max_code),t(Z,Z.dyn_dtree,Z.d_desc.max_code),mt(Z,Z.bl_desc),Q=f-1;3<=Q&&Z.bl_tree[2*H[Q]+1]===0;Q--);return Z.opt_len+=3*(Q+1)+5+5+4,Q}(s),S=s.opt_len+3+7>>>3,(W=s.static_len+3+7>>>3)<=S&&(S=W)):S=W=N+5,N+4<=S&&A!==-1?d(s,A,N,U):s.strategy===4||W===S?(V(s,2+(U?1:0),3),gt(s,K,g)):(V(s,4+(U?1:0),3),function(Z,Q,st,nt){var ft;for(V(Z,Q-257,5),V(Z,st-1,5),V(Z,nt-4,4),ft=0;ft<nt;ft++)V(Z,Z.bl_tree[2*H[ft]+1],3);D(Z,Z.dyn_ltree,Q-1),D(Z,Z.dyn_dtree,st-1)}(s,s.l_desc.max_code+1,s.d_desc.max_code+1,Y+1),gt(s,s.dyn_ltree,s.dyn_dtree)),rt(s),U&&at(s)},y._tr_tally=function(s,A,N){return s.pending_buf[s.d_buf+2*s.last_lit]=A>>>8&255,s.pending_buf[s.d_buf+2*s.last_lit+1]=255&A,s.pending_buf[s.l_buf+s.last_lit]=255&N,s.last_lit++,A===0?s.dyn_ltree[2*N]++:(s.matches++,A--,s.dyn_ltree[2*(e[N]+h+1)]++,s.dyn_dtree[2*x(A)]++),s.last_lit===s.lit_bufsize-1},y._tr_align=function(s){V(s,2,3),G(s,w,K),function(A){A.bi_valid===16?(X(A,A.bi_buf),A.bi_buf=0,A.bi_valid=0):8<=A.bi_valid&&(A.pending_buf[A.pending++]=255&A.bi_buf,A.bi_buf>>=8,A.bi_valid-=8)}(s)}},{"../utils/common":41}],53:[function(v,P,y){P.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(v,P,y){(function(c){(function(l,i){if(!l.setImmediate){var u,_,b,h,m=1,n={},f=!1,r=l.document,o=Object.getPrototypeOf&&Object.getPrototypeOf(l);o=o&&o.setTimeout?o:l,u={}.toString.call(l.process)==="[object process]"?function(C){process.nextTick(function(){p(C)})}:function(){if(l.postMessage&&!l.importScripts){var C=!0,k=l.onmessage;return l.onmessage=function(){C=!1},l.postMessage("","*"),l.onmessage=k,C}}()?(h="setImmediate$"+Math.random()+"$",l.addEventListener?l.addEventListener("message",w,!1):l.attachEvent("onmessage",w),function(C){l.postMessage(h+C,"*")}):l.MessageChannel?((b=new MessageChannel).port1.onmessage=function(C){p(C.data)},function(C){b.port2.postMessage(C)}):r&&"onreadystatechange"in r.createElement("script")?(_=r.documentElement,function(C){var k=r.createElement("script");k.onreadystatechange=function(){p(C),k.onreadystatechange=null,_.removeChild(k),k=null},_.appendChild(k)}):function(C){setTimeout(p,0,C)},o.setImmediate=function(C){typeof C!="function"&&(C=new Function(""+C));for(var k=new Array(arguments.length-1),F=0;F<k.length;F++)k[F]=arguments[F+1];var O={callback:C,args:k};return n[m]=O,u(m),m++},o.clearImmediate=a}function a(C){delete n[C]}function p(C){if(f)setTimeout(p,0,C);else{var k=n[C];if(k){f=!0;try{(function(F){var O=F.callback,j=F.args;switch(j.length){case 0:O();break;case 1:O(j[0]);break;case 2:O(j[0],j[1]);break;case 3:O(j[0],j[1],j[2]);break;default:O.apply(i,j)}})(k)}finally{a(C),f=!1}}}}function w(C){C.source===l&&typeof C.data=="string"&&C.data.indexOf(h)===0&&p(+C.data.slice(h.length))}})(typeof self>"u"?c===void 0?this:c:self)}).call(this,typeof St<"u"?St:typeof self<"u"?self:typeof window<"u"?window:{})},{}]},{},[10])(10)})})(jt);var Ye=jt.exports;const Qe=Ht(Ye),kr=Ot({name:"card-type",props:{isActive:{type:Boolean,default:!1},draggable:{type:Boolean,default:!1},isCollect:{type:Boolean,default:!0},isShowCollect:{type:Boolean,default:!0},isShowAdd:{type:Boolean,default:!1},isShowAddDisabled:{type:Boolean,default:!1},disabledMouseHover:{type:Boolean,default:!0},isPreview:{type:Boolean,default:!0},item:{type:Object,default:()=>({})},offShelf:{type:Boolean,default:!1},isDownload:{type:Boolean,default:!1},audioPlayTypeSize:{type:String,deafult:"default"},isError:{type:Boolean,default:!1}},emits:["click","collect","add","offShelf"],setup(E,{emit:dt}){const v=Gt(),P=Rt(!1),y=Rt(!1),c=h=>{let m=Be;switch(h){case"IMG":m=Ce;break;case"VIDEO":m=Se;break;case"SONG":m=xe;break;case"MUSIC":m=Ee;break;case"PPT":m=ze;break}return m},l=h=>new Promise((m,n)=>{const f=new XMLHttpRequest;f.open("GET",h,!0),f.responseType="blob",f.onload=r=>{r.target.status==200?m(r.target.response):n(r)},f.send()}),i=(h,m)=>{const n=new Qe,f=[];for(const r in h){const o=l(h[r].url).then(a=>{n.file(h[r].name,a,{binary:!0})});f.push(o)}Promise.all(f).then(()=>{n.generateAsync({type:"blob"}).then(r=>{Ut.saveAs(r,m?m+Date.now()+".zip":"文件夹".concat(Date.now(),".zip"))})}).catch(()=>{v.error("下载失败")}),y.value=!1},u=(h,m)=>{fetch(m).then(n=>n.blob()).then(n=>{Ut.saveAs(n,h),setTimeout(()=>{y.value=!1},100)}).catch(()=>{v.error("下载失败")}),y.value=!1},_=h=>{const m=h.split("?"),n=/\/([^\\/]+)$/,f=m[0].match(n);return f?f[1]:""},b=async h=>{var r;h.stopPropagation(),h.preventDefault();const m=E.item;if(!m.content){v.error("下载失败");return}if(y.value)return!1;y.value=!0;const n=(r=m.content)==null?void 0:r.split("."),f=m.title+"."+n[(n==null?void 0:n.length)-1];if(m.type==="MUSIC"){const{data:o}=await Xt(m.content),a=[];o.xmlFileUrl&&a.push({url:o.xmlFileUrl,name:_(o.xmlFileUrl)}),o.background&&o.background.length>0&&o.background.forEach(p=>{a.push({url:p.audioFileUrl,name:_(p.audioFileUrl)})}),i(a,m.title)}else u(f,m.content)};return()=>tt("div",{onClick:()=>dt("click",E.item),key:E.item.id,draggable:E.draggable?!E.item.exist:!1,class:[q["card-section"],E.isError?q.isError:"","card-section-container",E.draggable?E.item.exist?"":q.cardDrag:""],onMouseenter:()=>{P.value=!0},onMouseleave:()=>{P.value=!1},onDragstart:h=>{h.dataTransfer.setData("text",JSON.stringify(E.item))}},[E.offShelf&&tt("div",{class:q.offShelfBg},[tt("p",{class:q.offShelfTips},[Ft("该资源已被下架")]),tt(It,{type:"primary",class:q.offShelfBtn,onClick:h=>{h.stopPropagation(),dt("offShelf")}},{default:()=>[Ft("确认")]})]),tt(Vt,{class:[q["card-section-content"],E.isShowAdd?"":q.course,E.isActive?q.isActive:"",E.item.exist?q.showAddBtn:""],style:{cursor:"pointer"}},{cover:()=>tt(Nt,null,[E.item.type==="IMG"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:E.disabledMouseHover,objectFit:"cover",src:E.item.coverImg,previewSrc:E.item.content,renderToolbar:({nodes:h})=>[h.prev,h.next,h.rotateCounterclockwise,h.rotateClockwise,h.resizeToOriginalSize,h.zoomOut,h.close]},null),E.item.type==="MUSIC"&&tt(Nt,null,[tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"contain",src:E.item.coverImg},null),tt(Yt,{class:[q.audioPlayTypeSection,E.audioPlayTypeSize==="small"?q.audioPlayTypeSmall:""]},{default:()=>{var h,m;return[((h=E.item.audioPlayTypeArray)==null?void 0:h.includes("SING"))&&tt(Pt,{trigger:"hover",showArrow:!1},{trigger:()=>tt("span",{class:[q.iconType,q.iconSing]},null),default:"演唱场景"}),((m=E.item.audioPlayTypeArray)==null?void 0:m.includes("PLAY"))&&tt(Pt,{trigger:"hover",showArrow:!1},{trigger:()=>tt("span",{class:[q.iconType,q.iconPlay]},null),default:"演奏场景"})]}})]),E.item.type==="SONG"&&tt(Me,{content:E.item.content,cover:E.item.coverImg,previewDisabled:E.disabledMouseHover},null),E.item.type==="VIDEO"&&tt(Ve,{cover:E.item.coverImg,content:E.item.content,previewDisabled:E.disabledMouseHover},null),E.item.type==="PPT"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:E.item.coverImg||bt.PPT_DEFAULT_COVER},null),E.item.type==="RHYTHM"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:E.item.coverImg||bt.RHYTHM_DEFAULT_COVER},null),E.item.type==="LISTEN"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:E.item.coverImg},null),E.item.type==="THEORY"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:E.item.coverImg||bt.THEORY_DEFAULT_COVER},null),E.item.type==="MUSIC_WIKI"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:E.item.coverImg||bt.MUSIC_DEFAULT_COVER},null),E.item.type==="INSTRUMENT"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:E.item.coverImg||bt.INSTRUMENT_DEFAULT_COVER},null),E.item.type==="MUSICIAN"&&tt(pt,{class:[q.cover,q.image],lazy:!0,previewDisabled:!0,objectFit:"cover",src:E.item.coverImg||bt.MUSICIAN_DEFAULT_COVER},null)]),footer:()=>tt("div",{class:q.footer},[tt("div",{class:[q.title,"footerTitle"]},[tt(pt,{class:[q.titleType],src:c(E.item.type),objectFit:"cover"},null),tt("span",{class:[q.titleContent,"titleContent"]},[tt(Kt,{isAnimation:P.value,text:E.item.title},null)])]),tt("div",{class:q.btnGroup},[E.isDownload&&tt("div",{class:q.btnItem,onClick:b},[tt(Qt,{show:y.value,size:"small"},{default:()=>[tt("img",{src:Te,key:"3",class:[q.iconCollect]},null)]})]),E.isShowCollect&&tt("div",{class:[q.iconCollect,q.btnItem],onClick:h=>{h.stopPropagation(),h.preventDefault(),E.isCollect&&dt("collect",E.item)}},[tt(qt,{name:"favitor",mode:"out-in"},{default:()=>[E.item.isCollect?tt("img",{src:Oe,key:"1",class:[q.iconCollect,E.isCollect?q.isCollect:""]},null):tt("img",{src:Ie,key:"2",class:[q.iconCollect,E.isCollect?q.isCollect:""]},null)]})])]),E.item.isSelected&&tt("span",{class:q.iconSelected},null),E.isShowAdd&&(E.item.exist?tt(It,{type:"primary",class:[q.addBtn,E.item.exist?q.addBtnDisabled:""],disabled:E.item.exist||E.isShowAddDisabled,onClick:h=>{h.stopPropagation(),h.preventDefault(),dt("add",E.item)}},{default:()=>[E.item.exist?"已添加":"添加"]}):!E.isShowAddDisabled&&tt(It,{type:"primary",class:[q.addBtn,E.item.exist?q.addBtnDisabled:""],disabled:E.item.exist||E.isShowAddDisabled,onClick:h=>{h.stopPropagation(),h.preventDefault(),dt("add",E.item)}},{default:()=>[E.item.exist?"已添加":"添加"]}))])})])}}),Cr=E=>it.post("/edu-app/material/queryPage",{data:E}),Sr=E=>it.post("/edu-app/material/favorite",{data:E}),xr=E=>it.post("/edu-app/material/remove",{requestType:"form",data:E}),Er=E=>it.post("/edu-app/lessonCourseware/save",{data:E}),zr=E=>it.post("/edu-app/material/save",{data:E}),Br=E=>it.post("/edu-app/material/updateAll",{data:E}),Ir=E=>it.post("/edu-app/material/removeMusic",{data:E});export{Ce as A,ze as B,kr as C,Ee as D,xe as E,Se as F,Er as G,cr as H,rr as I,ur as J,or as K,lr as L,tr as a,yr as b,$e as c,vr as d,wr as e,_r as f,mr as g,fr as h,hr as i,gr as j,pr as k,Je as l,ar as m,Ar as n,dr as o,br as p,nr as q,er as r,ir as s,sr as t,Cr as u,Sr as v,Ir as w,Br as x,xr as y,zr as z};
|