le>>>=oe&7;oe-=oe&7;while(oe<32){if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}if((le&65535)!==(le>>>16^65535)){e.msg="invalid stored block lengths";t.mode=Q;break}t.length=le&65535;le=0;oe=0;t.mode=N;if(r===d){breake};caseN:t.mode=L;caseL:ue=t.length;if(ue){if(ue>ie){ue=ie}if(ue>se){ue=se}if(ue===0){breake}a.arraySet(re,ee,te,ue,ae);ie-=ue;te+=ue;se-=ue;ae+=ue;t.length-=ue;break}t.mode=O;break;caseM:while(oe<14){if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}t.nlen=(le&31)+257;le>>>=5;oe-=5;t.ndist=(le&31)+1;le>>>=5;oe-=5;t.ncode=(le&15)+4;le>>>=4;oe-=4;if(t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols";t.mode=Q;break}t.have=0;t.mode=U;caseU:while(t.have<t.ncode){while(oe<3){if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}t.lens[Ie[t.have++]]=le&7;le>>>=3;oe-=3}while(t.have<19){t.lens[Ie[t.have++]]=0}t.lencode=t.lendyn;t.lenbits=7;Te={bits:t.lenbits};Ce=l(o,t.lens,0,19,t.lencode,0,t.work,Te);t.lenbits=Te.bits;if(Ce){e.msg="invalid code lengths set";t.mode=Q;break}t.have=0;t.mode=H;caseH:while(t.have<t.nlen+t.ndist){for(;;){be=t.lencode[le&(1<<t.lenbits)-1];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(me<=oe){break}if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}if(Ee<16){le>>>=me;oe-=me;t.lens[t.have++]=Ee}else{if(Ee===16){xe=me+2;while(oe<xe){if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}le>>>=me;oe-=me;if(t.have===0){e.msg="invalid bit length repeat";t.mode=Q;break}Be=t.lens[t.have-1];ue=3+(le&3);le>>>=2;oe-=2}elseif(Ee===17){xe=me+3;while(oe<xe){if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}le>>>=me;oe-=me;Be=0;ue=3+(le&7);le>>>=3;oe-=3}else{xe=me+7;while(oe<xe){if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}le>>>=me;oe-=me;Be=0;ue=11+(le&127);le>>>=7;oe-=7}if(t.have+ue>t.nlen+t.ndist){e.msg="invalid bit length repeat";t.mode=Q;break}while(ue--){t.lens[t.have++]=Be}}}if(t.mode===Q){break}if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block";t.mode=Q;break}t.lenbits=9;Te={bits:t.lenbits};Ce=l(f,t.lens,0,t.nlen,t.lencode,0,t.work,Te);t.lenbits=Te.bits;if(Ce){e.msg="invalid literal/lengths set";t.mode=Q;break}t.distbits=6;t.distcode=t.distdyn;Te={bits:t.distbits};Ce=l(c,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,Te);t.distbits=Te.bits;if(Ce){e.msg="invalid distances set";t.mode=Q;break}t.mode=W;if(r===d){breake};caseW:t.mode=z;casez:if(ie>=6&&se>=258){e.next_out=ae;e.avail_out=se;e.next_in=te;e.avail_in=ie;t.hold=le;t.bits=oe;s(e,ce);ae=e.next_out;re=e.output;se=e.avail_out;te=e.next_in;ee=e.input;ie=e.avail_in;le=t.hold;oe=t.bits;if(t.mode===O){t.back=-1}break}t.back=0;for(;;){be=t.lencode[le&(1<<t.lenbits)-1];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(me<=oe){break}if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}if(ge&&(ge&240)===0){ke=me;we=ge;Se=Ee;for(;;){be=t.lencode[Se+((le&(1<<ke+we)-1)>>ke)];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(ke+me<=oe){break}if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}le>>>=ke;oe-=ke;t.back+=ke}le>>>=me;oe-=me;t.back+=me;t.length=Ee;if(ge===0){t.mode=K;break}if(ge&32){t.back=-1;t.mode=O;break}if(ge&64){e.msg="invalid literal/length code";t.mode=Q;break}t.extra=ge&15;t.mode=V;caseV:if(t.extra){xe=t.extra;while(oe<xe){if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}t.length+=le&(1<<t.extra)-1;le>>>=t.extra;oe-=t.extra;t.back+=t.extra}t.was=t.length;t.mode=X;caseX:for(;;){be=t.distcode[le&(1<<t.distbits)-1];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(me<=oe){break}if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}if((ge&240)===0){ke=me;we=ge;Se=Ee;for(;;){be=t.distcode[Se+((le&(1<<ke+we)-1)>>ke)];me=be>>>24;ge=be>>>16&255;Ee=be&65535;if(ke+me<=oe){break}if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}le>>>=ke;oe-=ke;t.back+=ke}le>>>=me;oe-=me;t.back+=me;if(ge&64){e.msg="invalid distance code";t.mode=Q;break}t.offset=Ee;t.extra=ge&15;t.mode=G;caseG:if(t.extra){xe=t.extra;while(oe<xe){if(ie===0){breake}ie--;le+=ee[te++]<<oe;oe+=8}t.offset+=le&(1<<t.extra)-1;le>>>=t.extra;oe-=t.extra;t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back";t.mode=Q;break}t.mode=j;casej:if(se===0){breake}ue=ce-se;if(t.offset>ue){ue=t.offset-ue;if(ue>t.whave)
returnm(s.substr(0,s.length-f.length))+f}if(u=s.match(/^([#0]+)\.([#0]+)$/)){f=""+l.toFixed(Math.min(u[2].length,10)).replace(/([^0])0+$/,"$1");g=f.indexOf(".");varA=s.indexOf(".")-g,y=s.length-f.length-A;returnm(s.substr(0,A)+f+s.substr(s.length-y))}if(u=s.match(/^00,000\.([#0]*0)$/)){returnl<0?"-"+I(e,s,-l):T(""+l).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?a(0,3-e.length):"")+e})+"."+a(0,u[1].length)}switch(s){case"###,###":;case"##,###":;case"#,###":varR=T(""+k);returnR!=="0"?w+R:"";default:if(s.match(/\.[0#?]*$/))returnI(e,s.slice(0,s.lastIndexOf(".")),l)+m(s.slice(s.lastIndexOf(".")));}thrownewError("unsupported format |"+s+"|")}returnfunctionA(e,r,t){return(t|0)===t?I(e,r,t):S(e,r,t)}}();functionI(e){varr=[];vart=false;for(vara=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case34:t=!t;break;case95:;case42:;case92:++a;break;case59:r[r.length]=e.substr(n,a-n);n=a+1;}r[r.length]=e.substr(n);if(t===true)thrownewError("Format |"+e+"| unterminated string ");returnr}e._split=I;varA=/\[[HhMmSs]*\]/;functiony(e){varr=0,t="",a="";while(r<e.length){switch(t=e.charAt(r)){case"G":if(c(e,r))r+=6;r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;)++r;++r;break;case"\\":r+=2;break;case"_":r+=2;break;case"@":++r;break;case"B":;case"b":if(e.charAt(r+1)==="1"||e.charAt(r+1)==="2")returntrue;case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":;case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":returntrue;case"A":;case"a":if(e.substr(r,3).toUpperCase()==="A/P")returntrue;if(e.substr(r,5).toUpperCase()==="AM/PM")returntrue;++r;break;case"[":a=t;while(e.charAt(r++)!=="]"&&r<e.length)a+=e.charAt(r);if(a.match(A))returntrue;break;case".":;case"0":;case"#":while(r<e.length&&("0#?.,E+-%".indexOf(t=e.charAt(++r))>-1||t=="\\"&&e.charAt(r+1)=="-"&&"0#".indexOf(e.charAt(r+2))>-1)){}break;case"?":while(e.charAt(++r)===t){}break;case"*":++r;if(e.charAt(r)==" "||e.charAt(r)=="*")++r;break;case"(":;case")":++r;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":while(r<e.length&&"0123456789".indexOf(e.charAt(++r))>-1){}break;case" ":++r;break;default:++r;break;}}returnfalse}e.is_date=y;functionR(e,r,t,a){varn=[],i="",s=0,l="",o="t",f,u,h;vard="H";while(s<e.length){switch(l=e.charAt(s)){case"G":if(!c(e,s))thrownewError("unrecognized character "+l+" in "+e);n[n.length]={t:"G",v:"General"};s+=7;break;case'"':for(i="";(h=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(h);n[n.length]={t:"t",v:i};++s;break;case"\\":varv=e.charAt(++s),p=v==="("||v===")"?v:"t";n[n.length]={t:p,v:v};++s;break;case"_":n[n.length]={t:"t",v:" "};s+=2;break;case"@":n[n.length]={t:"T",v:r};++s;break;case"B":;case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(f==null){f=b(r,t,e.charAt(s+1)==="2");if(f==null)return""}n[n.length]={t:"X",v:e.substr(s,2)};o=l;s+=2;break};case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":l=l.toLowerCase();case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":if(r<0)return"";if(f==null){f=b(r,t);if(f==null)return""}i=l;while(++s<e.length&&e.charAt(s).toLowerCase()===l)i+=l;if(l==="m"&&o.toLowerCase()==="h")l="M";if(l==="h")l=d;n[n.length]={t:l,v:i};o=l;break;case"A":;case"a":varm={t:l,v:l};if(f==null)f=b(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(f!=null)m.v=f.H>=12?"P":"A";m.t="T";d="h";s+=3}elseif(e.substr(s,5).toUpperCase()==="AM/PM"){if(f!=null)m.v=f.H>=12?"PM":"AM";m.t="T";s+=5;d="h"}else{m.t="t";++s}if(f==null&&m.t==="T")return"";n[n.length]=m;o=l;break;case"[":i=l;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(A)){if(f==null){f=b(r,t);if(f==null)return""}n[n.length]={t:"Z",v:i.toLowerCase()};o=i.charAt(1)}elseif(i.indexOf("$")>-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!y(e))n[n.length]={t:"t",v:i}}break;case".":if(f!=null){i=l;while(++s<e.length&&(l=e.charAt(s))==="0")i+=l;n[n.length]={t:"s",v:i};break};case"0":;case"#":i=l;while(++s<e.length&&"0#?.,E+-%".indexOf(l=e.charAt(s))>-1||l=="\\"&&e.charAt(s+
}functionMe(e){returnI(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}functionUe(e,r,t){return"<"+e+(x(t)?Me(t):"")+(x(r)?(r.match(Ne)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}functionHe(e,r){try{returne.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throwt}return""}functionWe(e){switch(typeofe){case"string":returnUe("vt:lpwstr",e);case"number":returnUe((e|0)==e?"vt:i4":"vt:r8",String(e));case"boolean":returnUe("vt:bool",e?"true":"false");}if(einstanceofDate)returnUe("vt:filetime",He(e));thrownewError("Unable to serialize "+e)}varze={dc:"http://purl.org/dc/elements/1.1/",dcterms:"http://purl.org/dc/terms/",dcmitype:"http://purl.org/dc/dcmitype/",mx:"http://schemas.microsoft.com/office/mac/excel/2008/main",r:"http://schemas.openxmlformats.org/officeDocument/2006/relationships",sjs:"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties",vt:"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes",xsi:"http://www.w3.org/2001/XMLSchema-instance",xsd:"http://www.w3.org/2001/XMLSchema"};ze.main=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"];varVe={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};functionXe(e,r){vart=1-2*(e[r+7]>>>7);vara=((e[r+7]&127)<<4)+(e[r+6]>>>4&15);varn=e[r+6]&15;for(vari=5;i>=0;--i)n=n*256+e[r+i];if(a==2047)returnn==0?t*Infinity:NaN;if(a==0)a=-1022;else{a-=1023;n+=Math.pow(2,52)}returnt*Math.pow(2,a-52)*n}functionGe(e,r,t){vara=(r<0||1/r==-Infinity?1:0)<<7,n=0,i=0;vars=a?-r:r;if(!isFinite(s)){n=2047;i=isNaN(r)?26985:0}elseif(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i<Math.pow(2,52))){n=-1022}else{i-=Math.pow(2,52);n+=1023}}for(varl=0;l<=5;++l,i/=256)e[t+l]=i&255;e[t+6]=(n&15)<<4|i&15;e[t+7]=n>>4|a}varje=function(e){varr=[];for(vart=0;t<e[0].length;++t){r.push.apply(r,e[0][t])}returnr};varKe=je;varYe=function(e,r,t){vara=[];for(varn=r;n<t;n+=2)a.push(String.fromCharCode(hr(e,n)));returna.join("").replace(m,"")};var$e=Ye;varZe=function(e,r,t){vara=[];for(varn=r;n<r+t;++n)a.push(("0"+e[n].toString(16)).slice(-2));returna.join("")};varQe=Ze;varJe=function(e,r,t){vara=[];for(varn=r;n<t;n++)a.push(String.fromCharCode(ur(e,n)));returna.join("")};varqe=Je;varer=function(e,r){vart=vr(e,r);returnt>0?Je(e,r+4,r+4+t-1):""};varrr=er;vartr=function(e,r){vart=2*vr(e,r);returnt>0?Je(e,r+4,r+4+t-1):""};varar=tr;varnr,ir;nr=ir=functionib(e,r){vart=vr(e,r);returnt>0?Ye(e,r+4,r+4+t):""};varsr=function(e,r){vart=vr(e,r);returnt>0?Je(e,r+4,r+4+t):""};varlr=sr;varor,fr;or=fr=function(e,r){returnXe(e,r)};varcr=functionsb(e){returnArray.isArray(e)};if(d){Ye=function(e,r,t){if(!Buffer.isBuffer(e))return$e(e,r,t);returne.toString("utf16le",r,t).replace(m,"")};Ze=function(e,r,t){returnBuffer.isBuffer(e)?e.toString("hex",r,r+t):Qe(e,r,t)};er=functionlb(e,r){if(!Buffer.isBuffer(e))returnrr(e,r);vart=e.readUInt32LE(r);returnt>0?e.toString("utf8",r+4,r+4+t-1):""};tr=functionob(e,r){if(!Buffer.isBuffer(e))returnar(e,r);vart=2*e.readUInt32LE(r);returne.toString("utf16le",r+4,r+4+t-1)};nr=functionfb(e,r){if(!Buffer.isBuffer(e))returnir(e,r);vart=e.readUInt32LE(r);returne.toString("utf16le",r+4,r+4+t)};sr=functioncb(e,r){if(!Buffer.isBuffer(e))returnlr(e,r);vart=e.readUInt32LE(r);returne.toString("utf8",r+4,r+4+t)};Je=functionub(e,r,t){returnBuffer.isBuffer(e)?e.toString("utf8",r,t):Je(e,r,t)};je=function(e){returne[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):Ke(e)};b=function(e){returnBuffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)};or=functionhb(e,r){if(Buffer.isBuffer(e))returne.readDoubleLE(r);returnfr(e,r)};
ze.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/metadata/core-properties";ha.CORE_PROPS="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties";varTa=function(){vare=newArray(_a.length);for(varr=0;r<_a.length;++r){vart=_a[r];vara="(?:"+t[0].substr(0,t[0].indexOf(":"))+":)"+t[0].substr(t[0].indexOf(":")+1);e[r]=newRegExp("<"+a+"[^>]*>([\\s\\S]*?)</"+a+">")}returne}();functionxa(e){varr={};e=_e(e);for(vart=0;t<_a.length;++t){vara=_a[t],n=e.match(Ta[t]);if(n!=null&&n.length>0)r[a[1]]=n[1];if(a[2]==="date"&&r[a[1]])r[a[1]]=H(r[a[1]])}returnr}varIa=Ue("cp:coreProperties",null,{"xmlns:cp":ze.CORE_PROPS,"xmlns:dc":ze.dc,"xmlns:dcterms":ze.dcterms,"xmlns:dcmitype":ze.dcmitype,"xmlns:xsi":ze.xsi});functionAa(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;a[a.length]=t?Ue(e,r,t):Le(e,r)}functionya(e,r){vart=r||{};vara=[se,Ia],n={};if(!e&&!t.Props)returna.join("");if(e){if(e.CreatedDate!=null)Aa("dcterms:created",typeofe.CreatedDate==="string"?e.CreatedDate:He(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)Aa("dcterms:modified",typeofe.ModifiedDate==="string"?e.ModifiedDate:He(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(vari=0;i!=_a.length;++i){vars=_a[i];varl=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(l===true)l="1";elseif(l===false)l="0";elseif(typeofl=="number")l=String(l);if(l!=null)Aa(s[0],l,null,a,n)}if(a.length>2){a[a.length]="</cp:coreProperties>";a[1]=a[1].replace("/>",">")}returna.join("")}varRa=[["Application","Application","string"],["AppVersion","AppVersion","string"],["Company","Company","string"],["DocSecurity","DocSecurity","string"],["Manager","Manager","string"],["HyperlinksChanged","HyperlinksChanged","bool"],["SharedDoc","SharedDoc","bool"],["LinksUpToDate","LinksUpToDate","bool"],["ScaleCrop","ScaleCrop","bool"],["HeadingPairs","HeadingPairs","raw"],["TitlesOfParts","TitlesOfParts","raw"]];ze.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties";ha.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";functionDa(e,r,t){vara={};if(!r)r={};e=_e(e);Ra.forEach(function(t){switch(t[2]){case"string":r[t[1]]=(e.match(ye(t[0]))||[])[1];break;case"bool":r[t[1]]=(e.match(ye(t[0]))||[])[1]==="true";break;case"raw":varn=e.match(newRegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)</"+t[0]+">"));if(n&&n.length>0)a[t[1]]=n[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts){varn=Pe(a.HeadingPairs,t);vari=Pe(a.TitlesOfParts,t).map(function(e){returne.v});vars=0,l=0;if(i.length>0)for(varo=0;o!==n.length;o+=2){l=+n[o+1].v;switch(n[o].v){case"Worksheets":;case"工作表":;case"Листы":;case"أوراق العمل":;case"ワークシート":;case"גליונות עבודה":;case"Arbeitsblätter":;case"Çalışma Sayfaları":;case"Feuilles de calcul":;case"Fogli di lavoro":;case"Folhas de cálculo":;case"Planilhas":;case"Regneark":;case"Werkbladen":r.Worksheets=l;r.SheetNames=i.slice(s,s+l);break;case"Named Ranges":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":r.NamedRanges=l;r.DefinedNames=i.slice(s,s+l);break;case"Charts":;case"Diagramme":r.Chartsheets=l;r.ChartNames=i.slice(s,s+l);break;}s+=l}}returnr}varOa=Ue("Properties",null,{xmlns:ze.EXT_PROPS,"xmlns:vt":ze.vt});functionFa(e,r){vart=[],a={},n=Ue;if(!e)e={};e.Application="SheetJS";t[t.length]=se;t[t.length]=Oa;Ra.forEach(function(r){if(e[r[1]]===undefined)return;vara;switch(r[2]){case"string":a=String(e[r[1]]);break;case"bool":a=e[r[1]]?"true":"false";break;}if(a!==undefined)t[t.length]=n(r[0],a)});t[t.length]=n("HeadingPairs",n("vt:vector",n("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+n("vt:variant",n("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));t[t.length]=n("TitlesOfParts",n("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+ge(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(t.length>2){t[t.length]="</Properties>";t[1]=t[1].replace("/>",">")}returnt.join("")}ze.CUS
varv=0,p;for(;i!==t.length;++i){v=0;varb=t[i].trim();varm=b.replace(/;;/g,"").split(";").map(function(e){returne.replace(/\u0001/g,";")});varg=m[0],k;if(b.length>0)switch(g){case"ID":break;case"E":break;case"B":break;case"O":break;case"P":if(m[1].charAt(0)=="P")o.push(b.substr(3).replace(/;;/g,";"));break;case"C":for(s=1;s<m.length;++s)switch(m[s].charAt(0)){case"X":n=parseInt(m[s].substr(1))-1;break;case"Y":a=parseInt(m[s].substr(1))-1;n=0;for(p=l.length;p<=a;++p)l[p]=[];break;case"K":k=m[s].substr(1);if(k.charAt(0)==='"')k=k.substr(1,k.length-2);elseif(k==="TRUE")k=true;elseif(k==="FALSE")k=false;elseif(!isNaN(G(k))){k=G(k);if(f!==null&&E.is_date(f))k=N(k)}elseif(!isNaN(j(k).getDate())){k=H(k)}l[a][n]=k;f=null;break;case"E":varw=uf(m[s].substr(1),{r:a,c:n});l[a][n]=[l[a][n],w];break;default:if(r&&r.WTF)thrownewError("SYLK bad record "+b);}break;case"F":varS=0;for(s=1;s<m.length;++s)switch(m[s].charAt(0)){case"X":n=parseInt(m[s].substr(1))-1;++S;break;case"Y":a=parseInt(m[s].substr(1))-1;for(p=l.length;p<=a;++p)l[p]=[];break;case"M":v=parseInt(m[s].substr(1))/20;break;case"F":break;case"P":f=o[parseInt(m[s].substr(1))];break;case"S":break;case"D":break;case"N":break;case"W":d=m[s].substr(1).split(" ");for(p=parseInt(d[0],10);p<=parseInt(d[1],10);++p){v=parseInt(d[2],10);h[p-1]=v===0?{hidden:true}:{wch:v};Il(h[p-1])}break;case"C":n=parseInt(m[s].substr(1))-1;if(!h[n])h[n]={};break;case"R":a=parseInt(m[s].substr(1))-1;if(!u[a])u[a]={};if(v>0){u[a].hpt=v;u[a].hpx=Dl(v)}elseif(v===0)u[a].hidden=true;break;default:if(r&&r.WTF)thrownewError("SYLK bad record "+b);}if(S<1)f=null;break;default:if(r&&r.WTF)thrownewError("SYLK bad record "+b);}}if(u.length>0)c["!rows"]=u;if(h.length>0)c["!cols"]=h;return[l,c]}functiont(r,t){vara=e(r,t);varn=a[0],i=a[1];vars=nt(n,t);I(i).forEach(function(e){s[e]=i[e]});returns}functiona(e,r){returnat(t(e,r),r)}functionn(e,r,t,a,n){vari="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":i+=e.v||0;if(e.f&&!e.F)i+=";E"+df(e.f,{r:t,c:a});break;case"b":i+=e.v?"TRUE":"FALSE";break;case"e":i+=e.w||e.v;break;case"d":i+='"'+(e.w||e.v)+'"';break;case"s":i+='"'+e.v.replace(/"/g,"")+'"';break;}returni}functioni(e,r){r.forEach(function(r,t){vara="F;W"+(t+1)+" "+(t+1)+" ";if(r.hidden)a+="0";else{if(typeofr.width=="number")r.wpx=kl(r.width);if(typeofr.wpx=="number")r.wch=wl(r.wpx);if(typeofr.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}functions(e,r){r.forEach(function(r,t){vara="F;";if(r.hidden)a+="M0;";elseif(r.hpt)a+="M"+20*r.hpt+";";elseif(r.hpx)a+="M"+20*Rl(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}functionl(e,r){vart=["ID;PWXL;N;E"],a=[];varl=et(e["!ref"]),o;varf=Array.isArray(e);varc="\r\n";t.push("P;PGeneral");t.push("F;P0;DG0G8;M255");if(e["!cols"])i(t,e["!cols"]);if(e["!rows"])s(t,e["!rows"]);t.push("B;Y"+(l.e.r-l.s.r+1)+";X"+(l.e.c-l.s.c+1)+";D"+[l.s.c,l.s.r,l.e.c,l.e.r].join(" "));for(varu=l.s.r;u<=l.e.r;++u){for(varh=l.s.c;h<=l.e.c;++h){vard=$r({r:u,c:h});o=f?(e[u]||[])[h]:e[d];if(!o||o.v==null&&(!o.f||o.F))continue;a.push(n(o,e,u,h,r))}}returnt.join(c)+c+a.join(c)+c+"E"+c}return{to_workbook:a,to_sheet:t,from_sheet:l}}();varks=function(){functione(e,t){switch(t.type){case"base64":returnr(h.decode(e),t);case"binary":returnr(e,t);case"buffer":returnr(e.toString("binary"),t);case"array":returnr(W(e),t);}thrownewError("Unrecognized type "+t.type)}functionr(e,r){vart=e.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){if(t[i].trim()==="BOT"){s[++a]=[];n=0;continue}if(a<0)continue;varl=t[i].trim().split(",");varo=l[0],f=l[1];++i;varc=t[i].trim();switch(+o){case-1:if(c==="BOT"){s[++a]=[];n=0;continue}elseif(c!=="EOD")thrownewError("Unrecognized DIF special command "+c);break;case0:if(c==="TRUE")s[a][n]=true;elseif(c==="FALSE")s[a][n]=false;elseif(!isNaN(G(f)))s[a][n]=G(f);elseif(!isNaN(j(f).getDate()))s[a][n]=H(f);elses[a][n]=f;++n;break;case1:c=c.substr(1,c.length-2);s[a][n++]=c!==""?c:null;break;}if(c==="EOD")break}returns}functiont(r,t){returnnt(e(r,t),t)}functiona(e,r){returnat(t(e,r),r)}varn
r._W(4,e.Hidden);r._W(4,e.iTabID);Bt(e.strRelID,r);lt(e.name.substr(0,31),r);returnr.length>r.l?r.slice(0,r.l):r}function_d(e,r){vart={};vara=e._R(4);t.defaultThemeVersion=e._R(4);varn=r>8?st(e):"";if(n.length>0)t.codeName=n;t.autoCompressPictures=!!(a&65536);t.backupFile=!!(a&64);t.checkCompatibility=!!(a&4096);t.date1904=!!(a&1);t.filterPrivacy=!!(a&8);t.hidePivotFieldList=!!(a&1024);t.promptedSolutions=!!(a&16);t.publishItems=!!(a&2048);t.refreshAllConnections=!!(a&262144);t.saveExternalLinkValues=!!(a&128);t.showBorderUnselectedTables=!!(a&4);t.showInkAnnotation=!!(a&32);t.showObjects=["all","placeholders","none"][a>>13&3];t.showPivotChartFilter=!!(a&32768);t.updateLinks=["userSet","never","always"][a>>8&3];returnt}functionTd(e,r){if(!r)r=Ar(72);vart=0;if(e){if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);mt("ThisWorkbook",r);returnr.slice(0,r.l)}functionxd(e,r){vart={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;returnt}functionId(e,r,t){vara=e.l+r;varn=e._R(4);vari=e._R(1);vars=e._R(4);varl=kt(e);varo=bu(e,0,t);varf=gt(e);e.l=a;varc={Name:l,Ptg:o,Comment:f};if(s<268435455)c.Sheet=s;returnc}functionAd(e,r){vart={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};vara=false,n;if(!r)r={};r.biff=12;vari=[];vars=[];s.SheetNames=[];yr(e,functionl(e,n,o){switch(o){case156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case153:t.WBProps=e;break;case39:e.Ref=su(e.Ptg,null,null,s,r);deletee.Ptg;i.push(e);break;case1036:break;case357:;case358:;case355:;case667:;case362:;case361:break;case2071:;case534:;case677:;case158:;case157:;case610:;case2050:;case155:;case548:;case676:;case128:;case665:;case2128:;case2125:;case549:;case2053:;case596:;case2076:;case2075:;case2082:;case397:;case154:;case1117:;case553:;case2091:break;case35:a=true;break;case36:a=false;break;case37:break;case38:break;case16:break;default:if((n||"").indexOf("Begin")>0){}elseif((n||"").indexOf("End")>0){}elseif(!a||r.WTF)thrownewError("Unexpected record "+o+" "+n);}},r);dd(t);t.Names=i;returnt}functionyd(e,r,t){Dr(e,"BrtBeginBundleShs");for(vara=0;a!=r.SheetNames.length;++a){varn=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[a]&&r.Workbook.Sheets[a].Hidden||0;vari={Hidden:n,iTabID:a+1,strRelID:"rId"+(a+1),name:r.SheetNames[a]};Dr(e,"BrtBundleSh",Cd(i))}Dr(e,"BrtEndBundleShs")}functionRd(e,t){if(!t)t=Ar(127);for(vara=0;a!=4;++a)t._W(4,0);lt("SheetJS",t);lt(r.version,t);lt(r.version,t);lt("7262",t);t.length=t.l;returnt.length>t.l?t.slice(0,t.l):t}functionDd(e,r){if(!r)r=Ar(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);vart=120;r._W(1,t);returnr.length>r.l?r.slice(0,r.l):r}functionOd(e,r,t){if(!r.Workbook||!r.Workbook.Sheets)return;vara=r.Workbook.Sheets;varn=0,i=-1,s=-1;for(;n<a.length;++n){if(!a[n]||!a[n].Hidden&&i==-1)i=n;elseif(a[n].Hidden==1&&s==-1)s=n}if(s>i)return;Dr(e,"BrtBeginBookViews");Dr(e,"BrtBookView",Dd(i));Dr(e,"BrtEndBookViews")}functionFd(e,r){if(!r)r=Ar(26);r._W(4,0);r._W(4,1);r._W(4,0);Rt(0,r);r._W(-4,1023);r._W(1,51);r._W(1,0);returnr}functionPd(e,r){if(!r)r=Ar(1);r._W(1,0);returnr}functionNd(e,r){vart=Rr();Dr(t,"BrtBeginBook");Dr(t,"BrtFileVersion",Rd());Dr(t,"BrtWbProp",Td(e.Workbook&&e.Workbook.WBProps||null));Od(t,e,r);yd(t,e,r);Dr(t,"BrtEndBook");returnt.end()}functionLd(e,r,t){if(r.slice(-4)===".bin")returnAd(e,t);returnkd(e,t)}functionMd(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")returnWh(e,t,a,n,i,s);returnWu(e,t,a,n,i,s)}functionUd(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")returnnd(e,t,a,n,i,s);returntd(e,t,a,n,i,s)}functionHd(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")returnff(e,t,a,n,i,s);returncf(e,t,a,n,i,s)}functionWd(e,r,t,a,n,i,s){if(r.slice(-4)===".bin")returnlf(e,t,a,n,i,s);returnof(e,t,a,n,i,s)}functionzd(e,r,t,a){if(r.slice(-4)===".bin")returnlo(e,t,a);returnVl(e,t,a)}functionVd(e,r,t){returnIo(e,t)}functionXd(e,r,t){if(r.slice(-4)===".bin")returnLs(e,t);returnOs(e,t)}functionGd(e,r,t){if(r.slice(-4)===".bin")returnaf(e,t);returnZo(e,t)}functionjd(e,r,t){if(r.slice(-
if(re.Name=="_xlnm._FilterDatabase"&&re.itab>0)if(re.rgce&&re.rgce[0]&&re.rgce[0][0]&&re.rgce[0][0][0]=="PtgArea3d")K[re.itab-1]={ref:qr(re.rgce[0][0][1][2])};break;case"ExternCount":F.ExternCount=re;break;case"ExternSheet":if(z.length==0){z[0]=[];z[0].XTI=[]}z[z.length-1].XTI=z[z.length-1].XTI.concat(re);z.XTI=z.XTI.concat(re);break;case"NameCmt":if(F.biff<8)break;if(Y!=null)Y.Comment=re[1];break;case"Protect":i["!protect"]=re;break;case"Password":if(re!==0&&F.WTF)console.error("Password verifier: "+re);break;case"Prot4Rev":;case"Prot4RevPass":break;case"BoundSheet8":{s[re.pos]=re;F.snames.push(re.name)}break;case"EOF":{if(--X)break;if(o.e){if(o.e.r>0&&o.e.c>0){o.e.r--;o.e.c--;i["!ref"]=qr(o);o.e.r++;o.e.c++}if(P.length>0)i["!merges"]=P;if(N.length>0)i["!objects"]=N;if(L.length>0)i["!cols"]=L;if(M.length>0)i["!rows"]=M;A.Sheets.push(y)}if(h==="")d=i;elsea[h]=i;i=r.dense?[]:{}}break;case"BOF":{if(F.biff===8)switch(Z){case9:F.biff=2;break;case521:F.biff=3;break;case1033:F.biff=4;break;default:switch(re.BIFFVer){case1280:F.biff=5;break;case1536:F.biff=8;break;case2:F.biff=2;break;case7:F.biff=2;break;};}if(X++)break;T=true;i=r.dense?[]:{};if(F.biff<5){if(h==="")h="Sheet1";o={s:{r:0,c:0},e:{r:0,c:0}};varae={pos:e.l-Q,name:h};s[ae.pos]=ae;F.snames.push(h)}elseh=(s[$]||{name:""}).name;if(re.dt==32)i["!type"]="chart";P=[];N=[];B=[];F.arrayf=B;L=[];M=[];U=H=0;W=false;y={Hidden:(s[$]||{hs:0}).hs,name:h}}break;case"Number":;case"BIFF2NUM":;case"BIFF2INT":{if(i["!type"]=="chart")if(r.dense?(i[re.r]||[])[re.c]:i[$r({c:re.c,r:re.r})])++re.c;C={ixfe:re.ixfe,XF:x[re.ixfe]||{},v:re.val,t:"n"};if(G>0)C.z=j[C.ixfe>>8&31];Iv(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"BoolErr":{C={ixfe:re.ixfe,XF:x[re.ixfe],v:re.val,t:re.t};if(G>0)C.z=j[C.ixfe>>8&31];Iv(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"RK":{C={ixfe:re.ixfe,XF:x[re.ixfe],v:re.rknum,t:"n"};if(G>0)C.z=j[C.ixfe>>8&31];Iv(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"MulRk":{for(varne=re.c;ne<=re.C;++ne){varie=re.rkrec[ne-re.c][0];C={ixfe:ie,XF:x[ie],v:re.rkrec[ne-re.c][1],t:"n"};if(G>0)C.z=j[C.ixfe>>8&31];Iv(C,r,t.opts.Date1904);O({c:ne,r:re.r},C,r)}}break;case"Formula":{if(re.val=="String"){f=re;break}C=Av(re.val,re.cell.ixfe,re.tt);C.XF=x[C.ixfe];if(r.cellFormula){varse=re.formula;if(se&&se[0]&&se[0][0]&&se[0][0][0]=="PtgExp"){varle=se[0][0][1][0],oe=se[0][0][1][1];varfe=$r({r:le,c:oe});if(S[fe])C.f=""+su(re.formula,o,re.cell,z,F);elseC.F=((r.dense?(i[le]||[])[oe]:i[fe])||{}).F}elseC.f=""+su(re.formula,o,re.cell,z,F)}if(G>0)C.z=j[C.ixfe>>8&31];Iv(C,r,t.opts.Date1904);O(re.cell,C,r);f=re}break;case"String":{if(f){f.val=re;C=Av(re,f.cell.ixfe,"s");C.XF=x[C.ixfe];if(r.cellFormula){C.f=""+su(f.formula,o,f.cell,z,F)}if(G>0)C.z=j[C.ixfe>>8&31];Iv(C,r,t.opts.Date1904);O(f.cell,C,r);f=null}elsethrownewError("String record expects Formula")}break;case"Array":{B.push(re);varce=$r(re[0].s);b=r.dense?(i[re[0].s.r]||[])[re[0].s.c]:i[ce];if(r.cellFormula&&b){if(!f)break;if(!ce||!b)break;b.f=""+su(re[1],o,re[0],z,F);b.F=qr(re[0])}}break;case"ShrFmla":{if(!T)break;if(!r.cellFormula)break;if(p){if(!f)break;S[$r(f.cell)]=re[0];b=r.dense?(i[f.cell.r]||[])[f.cell.c]:i[$r(f.cell)];(b||{}).f=""+su(re[0],o,v,z,F)}}break;case"LabelSst":C=Av(u[re.isst].t,re.ixfe,"s");C.XF=x[C.ixfe];if(G>0)C.z=j[C.ixfe>>8&31];Iv(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r);break;case"Blank":if(r.sheetStubs){C={ixfe:re.ixfe,XF:x[re.ixfe],t:"z"};if(G>0)C.z=j[C.ixfe>>8&31];Iv(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r)}break;case"MulBlank":if(r.sheetStubs){for(varue=re.c;ue<=re.C;++ue){varhe=re.ixfe[ue-re.c];C={ixfe:he,XF:x[he],t:"z"};if(G>0)C.z=j[C.ixfe>>8&31];Iv(C,r,t.opts.Date1904);O({c:ue,r:re.r},C,r)}}break;case"RString":;case"Label":;case"BIFF2STR":C=Av(re.val,re.ixfe,"s");C.XF=x[C.ixfe];if(G>0)C.z=j[C.ixfe>>8&31];Iv(C,r,t.opts.Date1904);O({c:re.c,r:re.r},C,r);break;case"Dimensions":{if(X===1)o=re}break;case"SST":{u=re}break;case"Format":{E.load(re[1],re[0])}break;case"BIFF2FORMAT":{j[G++]=re;for(varde=0;de<G+163;++de)if(E._table[de]==re)break;if(de>=163)E.load(re,