varJSZip=function(data,options){this.files={};this.root="";if(data){this.load(data,options)}};JSZip.signature={LOCAL_FILE_HEADER:"PK",CENTRAL_FILE_HEADER:"PK",CENTRAL_DIRECTORY_END:"PK",ZIP64_CENTRAL_DIRECTORY_LOCATOR:"PK",ZIP64_CENTRAL_DIRECTORY_END:"PK",DATA_DESCRIPTOR:"PK\b"};JSZip.defaults={base64:false,binary:false,dir:false,date:null,compression:null};JSZip.support={arraybuffer:function(){returntypeofArrayBuffer!=="undefined"&&typeofUint8Array!=="undefined"}(),nodebuffer:function(){returntypeofBuffer!=="undefined"}(),uint8array:function(){returntypeofUint8Array!=="undefined"}(),blob:function(){if(typeofArrayBuffer==="undefined"){returnfalse}varbuffer=newArrayBuffer(0);try{returnnewBlob([buffer],{type:"application/zip"}).size===0}catch(e){}try{varBlobBuilder=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder;varbuilder=newBlobBuilder;builder.append(buffer);returnbuilder.getBlob("application/zip").size===0}catch(e){}returnfalse}()};JSZip.prototype=function(){vartextEncoder,textDecoder;if(JSZip.support.uint8array&&typeofTextEncoder==="function"&&typeofTextDecoder==="function"){textEncoder=newTextEncoder("utf-8");textDecoder=newTextDecoder("utf-8")}vargetRawData=function(file){if(file._datainstanceofJSZip.CompressedObject){file._data=file._data.getContent();file.options.binary=true;file.options.base64=false;if(JSZip.utils.getTypeOf(file._data)==="uint8array"){varcopy=file._data;file._data=newUint8Array(copy.length);if(copy.length!==0){file._data.set(copy,0)}}}returnfile._data};vargetBinaryData=function(file){varresult=getRawData(file),type=JSZip.utils.getTypeOf(result);if(type==="string"){if(!file.options.binary){if(textEncoder){returntextEncoder.encode(result)}if(JSZip.support.nodebuffer){returnnewBuffer(result,"utf-8")}}returnfile.asBinary()}returnresult};vardataToString=function(asUTF8){varresult=getRawData(this);if(result===null||typeofresult==="undefined"){return""}if(this.options.base64){result=JSZip.base64.decode(result)}if(asUTF8&&this.options.binary){result=JSZip.prototype.utf8decode(result)}else{result=JSZip.utils.transformTo("string",result)}if(!asUTF8&&!this.options.binary){result=JSZip.prototype.utf8encode(result)}returnresult};varZipObject=function(name,data,options){this.name=name;this._data=data;this.options=options};ZipObject.prototype={asText:function(){returndataToString.call(this,true)},asBinary:function(){returndataToString.call(this,false)},asNodeBuffer:function(){varresult=getBinaryData(this);returnJSZip.utils.transformTo("nodebuffer",result)},asUint8Array:function(){varresult=getBinaryData(this);returnJSZip.utils.transformTo("uint8array",result)},asArrayBuffer:function(){returnthis.asUint8Array().buffer}};vardecToHex=function(dec,bytes){varhex="",i;for(i=0;i<bytes;i++){hex+=String.fromCharCode(dec&255);dec=dec>>>8}returnhex};varextend=function(){varresult={},i,attr;for(i=0;i<arguments.length;i++){for(attrinarguments[i]){if(arguments[i].hasOwnProperty(attr)&&typeofresult[attr]==="undefined"){result[attr]=arguments[i][attr]}}}returnresult};varprepareFileAttrs=function(o){o=o||{};if(o.base64===true&&o.binary==null){o.binary=true}o=extend(o,JSZip.defaults);o.date=o.date||newDate;if(o.compression!==null)o.compression=o.compression.toUpperCase();returno};varfileAdd=function(name,data,o){varparent=parentFolder(name),dataType=JSZip.utils.getTypeOf(data);if(parent){folderAdd.call(this,parent)}o=prepareFileAttrs(o);if(o.dir||data===null||typeofdata==="undefined"){o.base64=false;o.binary=false;data=null}elseif(dataType==="string"){if(o.binary&&!o.base64){if(o.optimizedBinaryString!==true){data=JSZip.utils.string2binary(data)}}}else{o.base64=false;o.binary=true;if(!dataType&&!(datainstanceofJSZip.CompressedObject)){thrownewError("The data of '"+name+"' is in an unsupported format !")}if(dataType==="arraybuffer"){data=JSZip.utils.transformTo("uint8array",data)}}varobject=newZipObject(name,data,o);this.files[name]=object;returnobject};varparentFolder=function(path){if(path.slice(-1)=="/"
}else{JSZip.compressions["DEFLATE"].compress=compress;JSZip.compressions["DEFLATE"].compressInputType=USE_TYPEDARRAY?"uint8array":"array"}})();(function(){"use strict";if(!JSZip){throw"JSZip not defined"}varcontext={};(function(){(function(){"use strict";varl=void0,p=this;functionq(c,d){vara=c.split("."),b=p;!(a[0]inb)&&b.execScript&&b.execScript("var "+a[0]);for(vare;a.length&&(e=a.shift());)!a.length&&d!==l?b[e]=d:b=b[e]?b[e]:b[e]={}}varr="undefined"!==typeofUint8Array&&"undefined"!==typeofUint16Array&&"undefined"!==typeofUint32Array;functionu(c){vard=c.length,a=0,b=Number.POSITIVE_INFINITY,e,f,g,h,k,m,s,n,t;for(n=0;n<d;++n)c[n]>a&&(a=c[n]),c[n]<b&&(b=c[n]);e=1<<a;f=new(r?Uint32Array:Array)(e);g=1;h=0;for(k=2;g<=a;){for(n=0;n<d;++n)if(c[n]===g){m=0;s=h;for(t=0;t<g;++t)m=m<<1|s&1,s>>=1;for(t=m;t<e;t+=k)f[t]=g<<16|n;++h}++g;h<<=1;k<<=1}return[f,a,b]}functionv(c,d){this.g=[];this.h=32768;this.c=this.f=this.d=this.k=0;this.input=r?newUint8Array(c):c;this.l=!1;this.i=w;this.p=!1;if(d||!(d={}))d.index&&(this.d=d.index),d.bufferSize&&(this.h=d.bufferSize),d.bufferType&&(this.i=d.bufferType),d.resize&&(this.p=d.resize);switch(this.i){casex:this.a=32768;this.b=new(r?Uint8Array:Array)(32768+this.h+258);break;casew:this.a=0;this.b=new(r?Uint8Array:Array)(this.h);this.e=this.u;this.m=this.r;this.j=this.s;break;default:throwError("invalid inflate mode")}}varx=0,w=1;v.prototype.t=function(){for(;!this.l;){varc=y(this,3);c&1&&(this.l=!0);c>>>=1;switch(c){case0:vard=this.input,a=this.d,b=this.b,e=this.a,f=l,g=l,h=l,k=b.length,m=l;this.c=this.f=0;f=d[a++];if(f===l)throwError("invalid uncompressed block header: LEN (first byte)");g=f;f=d[a++];if(f===l)throwError("invalid uncompressed block header: LEN (second byte)");g|=f<<8;f=d[a++];if(f===l)throwError("invalid uncompressed block header: NLEN (first byte)");h=f;f=d[a++];if(f===l)throwError("invalid uncompressed block header: NLEN (second byte)");h|=f<<8;if(g===~h)throwError("invalid uncompressed block header: length verify");if(a+g>d.length)throwError("input buffer is broken");switch(this.i){casex:for(;e+g>b.length;){m=k-e;g-=m;if(r)b.set(d.subarray(a,a+m),e),e+=m,a+=m;elsefor(;m--;)b[e++]=d[a++];this.a=e;b=this.e();e=this.a}break;casew:for(;e+g>b.length;)b=this.e({o:2});break;default:throwError("invalid inflate mode")}if(r)b.set(d.subarray(a,a+g),e),e+=g,a+=g;elsefor(;g--;)b[e++]=d[a++];this.d=a;this.a=e;this.b=b;break;case1:this.j(z,A);break;case2:B(this);break;default:throwError("unknown BTYPE: "+c)}}returnthis.m()};varC=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],D=r?newUint16Array(C):C,E=[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,258,258],F=r?newUint16Array(E):E,G=[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,0,0],H=r?newUint8Array(G):G,I=[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],J=r?newUint16Array(I):I,K=[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],L=r?newUint8Array(K):K,M=new(r?Uint8Array:Array)(288),N,O;N=0;for(O=M.length;N<O;++N)M[N]=143>=N?8:255>=N?9:279>=N?7:8;varz=u(M),P=new(r?Uint8Array:Array)(30),Q,R;Q=0;for(R=P.length;Q<R;++Q)P[Q]=5;varA=u(P);functiony(c,d){for(vara=c.f,b=c.c,e=c.input,f=c.d,g;b<d;){g=e[f++];if(g===l)throwError("input buffer is broken");a|=g<<b;b+=8}g=a&(1<<d)-1;c.f=a>>>d;c.c=b-d;c.d=f;returng}functionS(c,d){for(vara=c.f,b=c.c,e=c.input,f=c.d,g=d[0],h=d[1],k,m,s;b<h;){k=e[f++];if(k===l)break;a|=k<<b;b+=8}m=g[a&(1<<h)-1];s=m>>>16;c.f=a>>s;c.c=b-s;c.d=f;returnm&65535}functionB(c){functiond(a,c,b){vard,f,e,g;for(g=0;g<a;)switch(d=S(this,c),d){case16:for(e=3+y(this,2);e--;)b[g++]=f;break;case17:for(e=3+y(this,3);e--;)b[g++]=0;f=0;break;case18:for(e=11+y(this,7);e--;)b[g++]=0;f=0;break;default:f=b[g++]=d}returnb}vara=y(c,5)+257,b=y(c,5)+1,e=y(c,4)+4,f=new(r?Uint8Array:Array)(D.length),g,h,k,m;for(m=0;m<e;++m)f[D[m]]=y(c,3);g=u(f);h=new(r?Uint8Array:Array)(a);k=new(r?Uint8Array:Array)(b);c.j(u(d.call(c,a,g,h)),u(d.call(c,b,g,k)))}v.prototype.j=
ff=frac(aval,Math.pow(10,rr)-1,true);returnsign+(ff[0]||(ff[1]?"":"0"))+" "+(ff[1]?pad(ff[1],rr," ")+r[2]+"/"+r[3]+rpad(ff[2],rr," "):fill(" ",2*rr+1+r[2].length+r[3].length))}if(r=fmt.match(/^[#0]+$/)){o=""+Math.round(val);if(fmt.length<=o.length)returno;returnfmt.substr(0,fmt.length-o.length).replace(/#/g,"")+o}if(r=fmt.match(/^([#0]+)\.([#0]+)$/)){o=""+val.toFixed(Math.min(r[2].length,10)).replace(/([^0])0+$/,"$1");rr=o.indexOf(".");varlres=fmt.indexOf(".")-rr,rres=fmt.length-o.length-lres;returnfmt.substr(0,lres).replace(/#/g,"")+o+fmt.substr(fmt.length-rres).replace(/#/g,"")}if(r=fmt.match(/^00,000\.([#0]*0)$/)){rr=val==Math.floor(val)?0:Math.round((val-Math.floor(val))*Math.pow(10,r[1].length));returnval<0?"-"+write_num(type,fmt,-val):commaify(String(Math.floor(val))).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function($$){return"00,"+($$.length<3?pad(0,3-$$.length):"")+$$})+"."+pad(rr,r[1].length,0)}switch(fmt){case"#,###":varx=commaify(String(Math.round(aval)));returnx!=="0"?sign+x:"";default:}thrownewError("unsupported format |"+fmt+"|")};functionsplit_fmt(fmt){varout=[];varin_str=-1;for(vari=0,j=0;i<fmt.length;++i){if(in_str!=-1){if(fmt[i]=='"')in_str=-1;continue}if(fmt[i]=="_"||fmt[i]=="*"||fmt[i]=="\\"){++i;continue}if(fmt[i]=='"'){in_str=i;continue}if(fmt[i]!=";")continue;out.push(fmt.slice(j,i));j=i+1}out.push(fmt.slice(j));if(in_str!=-1)thrownewError("Format |"+fmt+"| unterminated string at "+in_str);returnout}SSF._split=split_fmt;functioneval_fmt(fmt,v,opts,flen){varout=[],o="",i=0,c="",lst="t",q,dt,j;fixopts(opts=opts||{});varhr="H";while(i<fmt.length){switch(c=fmt[i]){case"G":if(fmt.substr(i,7).toLowerCase()!=="general")thrownewError("unrecognized character "+fmt[i]+" in "+fmt);out.push({t:"G",v:"General"});i+=7;break;case'"':for(o="";fmt[++i]!=='"'&&i<fmt.length;)o+=fmt[i];out.push({t:"t",v:o});++i;break;case"\\":varw=fmt[++i],t="()".indexOf(w)===-1?"t":w;out.push({t:t,v:w});++i;break;case"_":out.push({t:"t",v:" "});i+=2;break;case"@":out.push({t:"T",v:v});++i;break;case"B":case"b":if(fmt[i+1]==="1"||fmt[i+1]==="2"){if(!dt)dt=parse_date_code(v,opts,fmt[i+1]==="2");q={t:"X",v:fmt.substr(i,2)};out.push(q);lst=c;i+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":c=c.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(v<0)return"";if(!dt)dt=parse_date_code(v,opts);if(!dt)return"";o=fmt[i];while((fmt[++i]||"").toLowerCase()===c)o+=c;if(c==="m"&&lst.toLowerCase()==="h")c="M";if(c==="h")c=hr;o=o.toLowerCase();q={t:c,v:o};out.push(q);lst=c;break;case"A":if(!dt)dt=parse_date_code(v,opts);if(!dt)return"";q={t:c,v:"A"};if(fmt.substr(i,3)==="A/P"){q.v=dt.H>=12?"P":"A";q.t="T";hr="h";i+=3}elseif(fmt.substr(i,5)==="AM/PM"){q.v=dt.H>=12?"PM":"AM";q.t="T";i+=5;hr="h"}else{q.t="t";i++}out.push(q);lst=c;break;case"[":o=c;while(fmt[i++]!=="]"&&i<fmt.length)o+=fmt[i];if(o.substr(-1)!=="]")throw'unterminated "[" block: |'+o+"|";if(o.match(/\[[HhMmSs]*\]/)){if(!dt)dt=parse_date_code(v,opts);if(!dt)return"";out.push({t:"Z",v:o.toLowerCase()})}else{o=""}break;case".":if(dt){o=c;while((c=fmt[++i])==="0")o+=c;out.push({t:"s",v:o});break}case"0":case"#":o=c;while("0#?.,E+-%".indexOf(c=fmt[++i])>-1||c=="\\"&&fmt[i+1]=="-"&&"0#".indexOf(fmt[i+2])>-1)o+=c;out.push({t:"n",v:o});break;case"?":o=fmt[i];while(fmt[++i]===c)o+=c;q={t:c,v:o};out.push(q);lst=c;break;case"*":++i;if(fmt[i]==" "||fmt[i]=="*")++i;break;case"(":case")":out.push({t:flen===1?"t":c,v:c});++i;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":o=fmt[i];while("0123456789".indexOf(fmt[++i])>-1)o+=fmt[i];out.push({t:"D",v:o});break;case" ":out.push({t:c,v:c});++i;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxz".indexOf(c)===-1)throw"unrecognized character "+fmt[i]+" in "+fmt;out.push({t:"t",v:c});++i;break}}varbt=0,ss0=0,ssm;for(i=out.length-1,lst="t";i>=0;--i){switch(out[i].t){case"h":case"H":out[i].t=hr;lst="h";if(bt<1)bt=1;break;case"s":if(ssm=out[i].v.match(/\.0+$/))ss0=Math.max(ss0,ssm[0].length-1);if(bt<3)bt=3;case"d":case"y":case"M":case"e":lst=out[i].t;break;case"m":if(l
if(refguess.s.c>val[0].c)refguess.s.c=val[0].c;if(refguess.e.r<row.r)refguess.e.r=row.r;if(refguess.e.c<val[0].c)refguess.e.c=val[0].c;break;case"BrtBeginMergeCells":break;case"BrtEndMergeCells":break;case"BrtMergeCell":mergecells.push(val);break;case"BrtHLink":varrel=rels["!id"][val.relId];if(rel){val.Target=rel.Target;if(val.loc)val.Target+="#"+val.loc;val.Rel=rel}for(R=val.rfx.s.r;R<=val.rfx.e.r;++R)for(C=val.rfx.s.c;C<=val.rfx.e.c;++C){addr=encode_cell({c:C,r:R});if(!s[addr])s[addr]={t:"str",v:undefined};s[addr].l=val}break;case"BrtArrFmla":break;case"BrtShrFmla":break;case"BrtBeginSheet":break;case"BrtWsProp":break;case"BrtSheetCalcProp":break;case"BrtBeginWsViews":break;case"BrtBeginWsView":break;case"BrtPane":break;case"BrtSel":break;case"BrtEndWsView":break;case"BrtEndWsViews":break;case"BrtACBegin":break;case"BrtRwDescent":break;case"BrtACEnd":break;case"BrtWsFmtInfoEx14":break;case"BrtWsFmtInfo":break;case"BrtBeginColInfos":break;case"BrtColInfo":break;case"BrtEndColInfos":break;case"BrtBeginSheetData":break;case"BrtEndSheetData":break;case"BrtSheetProtection":break;case"BrtPrintOptions":break;case"BrtMargins":break;case"BrtPageSetup":break;case"BrtFRTBegin":pass=true;break;case"BrtFRTEnd":pass=false;break;case"BrtEndSheet":break;case"BrtDrawing":break;case"BrtLegacyDrawing":break;case"BrtLegacyDrawingHF":break;case"BrtPhoneticInfo":break;case"BrtBeginHeaderFooter":break;case"BrtEndHeaderFooter":break;case"BrtBrk":break;case"BrtBeginRwBrk":break;case"BrtEndRwBrk":break;case"BrtBeginColBrk":break;case"BrtEndColBrk":break;case"BrtBeginUserShViews":break;case"BrtBeginUserShView":break;case"BrtEndUserShView":break;case"BrtEndUserShViews":break;case"BrtBkHim":break;case"BrtBeginOleObjects":break;case"BrtOleObject":break;case"BrtEndOleObjects":break;case"BrtBeginListParts":break;case"BrtListPart":break;case"BrtEndListParts":break;case"BrtBeginSortState":break;case"BrtBeginSortCond":break;case"BrtEndSortCond":break;case"BrtEndSortState":break;case"BrtBeginConditionalFormatting":break;case"BrtEndConditionalFormatting":break;case"BrtBeginCFRule":break;case"BrtEndCFRule":break;case"BrtBeginDVals":break;case"BrtDVal":break;case"BrtEndDVals":break;case"BrtRangeProtection":break;case"BrtBeginDCon":break;case"BrtEndDCon":break;case"BrtBeginDRefs":break;case"BrtDRef":break;case"BrtEndDRefs":break;case"BrtBeginActiveXControls":break;case"BrtActiveX":break;case"BrtEndActiveXControls":break;case"BrtBeginAFilter":break;case"BrtEndAFilter":break;case"BrtBeginFilterColumn":break;case"BrtBeginFilters":break;case"BrtFilter":break;case"BrtEndFilters":break;case"BrtEndFilterColumn":break;case"BrtDynamicFilter":break;case"BrtTop10Filter":break;case"BrtBeginCustomFilters":break;case"BrtCustomFilter":break;case"BrtEndCustomFilters":break;case"BrtBeginCellWatches":break;case"BrtCellWatch":break;case"BrtEndCellWatches":break;case"BrtTable":break;case"BrtBeginCellIgnoreECs":break;case"BrtCellIgnoreEC":break;case"BrtEndCellIgnoreECs":break;default:if(!pass||opts.WTF)thrownewError("Unexpected record "+R.n)}},opts);if(!s["!ref"]&&(refguess.s.r<1e6||ref.e.r>0||ref.e.c>0||ref.s.r>0||ref.s.c>0))s["!ref"]=encode_range(ref);if(opts.sheetRows&&s["!ref"]){vartmpref=decode_range(s["!ref"]);if(opts.sheetRows<+tmpref.e.r){tmpref.e.r=opts.sheetRows-1;if(tmpref.e.r>refguess.e.r)tmpref.e.r=refguess.e.r;if(tmpref.e.r<tmpref.s.r)tmpref.s.r=tmpref.e.r;if(tmpref.e.c>refguess.e.c)tmpref.e.c=refguess.e.c;if(tmpref.e.c<tmpref.s.c)tmpref.s.c=tmpref.e.c;s["!fullref"]=s["!ref"];s["!ref"]=encode_range(tmpref)}}if(mergecells.length>0)s["!merges"]=mergecells;returns};varwrite_ws_bin=function(wb,opts,rels){};varWBPropsDef={allowRefreshQuery:"0",autoCompressPictures:"1",backupFile:"0",checkCompatibility:"0",codeName:"",date1904:"0",dateCompatibility:"1",filterPrivacy:"0",hidePivotFieldList:"0",promptedSolutions:"0",publishItems:"0",refreshAllConnections:false,saveExternalLinkValues:"1",showBorderUnselectedTables:"1",showInkAnnotation:"1",showObjects:"all",showPivotChartFilter:"0"};varWBViewDef={activeTab:"0",autoFilterDateGrouping:"1",firstSheet:"0",minimized:"0"