continue}n=e.charCodeAt(t++);if(a>191&&a<224){s=(a&31)<<6;s|=n&63;r+=String.fromCharCode(s);continue}i=e.charCodeAt(t++);if(a<240){r+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(t++);f=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(f>>>10&1023));r+=String.fromCharCode(56320+(f&1023))}returnr};varQe=function(e){varr=[],t=0,a=0,n=0;while(t<e.length){a=e.charCodeAt(t++);switch(true){casea<128:r.push(String.fromCharCode(a));break;casea<2048:r.push(String.fromCharCode(192+(a>>6)));r.push(String.fromCharCode(128+(a&63)));break;casea>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}returnr.join("")};if(E){varJe=functionHm(e){varr=Buffer.alloc(2*e.length),t,a,n=1,i=0,s=0,f;for(a=0;a<e.length;a+=n){n=1;if((f=e.charCodeAt(a))<128)t=f;elseif(f<224){t=(f&31)*64+(e.charCodeAt(a+1)&63);n=2}elseif(f<240){t=(f&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(f&7)*262144+(e.charCodeAt(a+1)&63)*4096+(e.charCodeAt(a+2)&63)*64+(e.charCodeAt(a+3)&63);t-=65536;s=55296+(t>>>10&1023);t=56320+(t&1023)}if(s!==0){r[i++]=s&255;r[i++]=s>>>8;s=0}r[i++]=t%256;r[i++]=t>>>8}returnr.slice(0,i).toString("ucs2")};varZe="foo bar bazâð£";if(Ye(Ze)==Je(Ze))Ye=Je;varqe=functionWm(e){returnk(e,"binary").toString("utf8")};if(Ye(Ze)==qe(Ze))Ye=qe;Qe=function(e){returnk(e,"utf8").toString("binary")}}varer=function(){vare={};returnfunctionr(t,a){varn=t+"|"+(a||"");if(e[n])returne[n];returne[n]=newRegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",a||"")}}();varrr=function(){vare=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[newRegExp("&"+e[0]+";","ig"),e[1]]});returnfunctionr(t){vara=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,"");for(varn=0;n<e.length;++n)a=a.replace(e[n][0],e[n][1]);returna}}();vartr=function(){vare={};returnfunctionr(t){if(e[t]!==undefined)returne[t];returne[t]=newRegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}();varar=/<\/?(?:vt:)?variant>/g,nr=/<(?:vt:)([^>]*)>([\s\S]*)</;functionir(e,r){vart=Oe(e);vara=e.match(tr(t.baseType))||[];varn=[];if(a.length!=t.size){if(r.WTF)thrownewError("unexpected vector length "+a.length+" != "+t.size);returnn}a.forEach(function(e){varr=e.replace(ar,"").match(nr);if(r)n.push({v:Ye(r[2]),t:r[1]})});returnn}varsr=/(^\s|\s$|\n)/;functionfr(e,r){return"<"+e+(r.match(sr)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}functionlr(e){returnK(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}functionor(e,r,t){return"<"+e+(t!=null?lr(t):"")+(r!=null?(r.match(sr)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}functioncr(e,r){try{returne.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throwt}return""}functionur(e,r){switch(typeofe){case"string":vart=or("vt:lpwstr",We(e));if(r)t=t.replace(/"/g,"_x0022_");returnt;case"number":returnor((e|0)==e?"vt:i4":"vt:r8",We(String(e)));case"boolean":returnor("vt:bool",e?"true":"false");}if(einstanceofDate)returnor("vt:filetime",cr(e));thrownewError("Unable to serialize "+e)}varhr={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/XMLSche
r.calcchain=r.calcchains.length>0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;deleter.calcchains;returnr}varMa=or("Types",null,{xmlns:hr.CT,"xmlns:xsd":hr.xsd,"xmlns:xsi":hr.xsi});varLa=[["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels",Oa.rels[0]]].map(function(e){returnor("Default",null,{Extension:e[0],ContentType:e[1]})});functionUa(e,r){vart=[],a;t[t.length]=ye;t[t.length]=Ma;t=t.concat(La);varn=function(n){if(e[n]&&e[n].length>0){a=e[n][0];t[t.length]=or("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:Da[n][r.bookType||"xlsx"]})}};vari=function(a){(e[a]||[]).forEach(function(e){t[t.length]=or("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:Da[a][r.bookType||"xlsx"]})})};vars=function(r){(e[r]||[]).forEach(function(e){t[t.length]=or("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:Oa[r][0]})})};n("workbooks");i("sheets");i("charts");s("themes");["strs","styles"].forEach(n);["coreprops","extprops","custprops"].forEach(s);s("vba");s("comments");s("drawings");if(t.length>2){t[t.length]="</Types>";t[1]=t[1].replace("/>",">")}returnt.join("")}varHa={WB:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",SHEET:"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument",HLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",VML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing",XPATH:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath",XMISS:"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing",XLINK:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink",CXML:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXml",CXMLP:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/customXmlProps",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};functionWa(e){varr=e.lastIndexOf("/");returne.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}functionVa(e,r){vart={"!id":{}};if(!e)returnt;if(r.charAt(0)!=="/"){r="/"+r}vara={};(e.match(Re)||[]).forEach(function(e){varn=Oe(e);if(n[0]==="<Relationship"){vari={};i.Type=n.Type;i.Target=n.Target;i.Id=n.Id;i.TargetMode=n.TargetMode;vars=n.TargetMode==="External"?n.Target:Ae(n.Target,r);t[s]=i;a[n.Id]=i}});t["!id"]=a;returnt}hr.RELS="http://schemas.openxmlformats.org/package/2006/relationships";varXa=or("Relationships",null,{xmlns:hr.RELS});functionGa(e){varr=[ye,Xa];K(e["!id"]).forEach(function(t){r[r.length]=or("Relationship",null,e["!id"][t])});if(r.length>2){r[r.length]="</Relationships>";r[1]=r[1].replace("/>",">")}returnr.join("")}varza=[Ha.HLINK,Ha.XPATH,Ha.XMISS];functionja(e,r,t,a,n,i){if(!n)n={};if(!e["!id"])e["!id"]={};if(r<0)for(r=1;e["!id"]["rId"+r];++r){}n.Id="rId"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;elseif(za.indexOf(n.Type)>-1)n.TargetMode="External";if(e["!id"][n.Id])thrownewError("Cannot rewrite rId "+r);e["!id"][n.Id]=n;e[("/"+n.Target).replace("//","/")]=n;returnr}var$a="application/vnd.oasis.opendocument.spreadsheet";functionKa(e,r){vart=_p(e);vara;varn;while(a=xp.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=Oe(a[0],false);if(n.path=="/"&&n.type!==$a)thrownewError("This OpenDocument is not a spreadsheet");break;case"encryption-data":;case"algorithm":;case"start-key-generation":;case"key-derivation":thrownewError("Unsupported ODS Encryption");default:if(r&&r.WTF)throwa;}}functionYa(e){varr=[ye];r.push('<manifest:manifestxmlns:manifest="urn:oasis:names:
break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=rt(E[1][1],s,n);f.push(at(c,i));break;case"PtgRefN":c=t?rt(E[1][1],t,n):E[1][1];f.push(at(c,i));break;case"PtgRef3d":u=E[1][1];c=rt(E[1][2],s,n);v=Vu(a,u,n);vark=v;f.push(v+"!"+at(c,i));break;case"PtgFunc":;case"PtgFuncVar":varw=E[1][0],S=E[1][1];if(!w)w=0;w&=127;varB=w==0?[]:f.slice(-w);f.length-=w;if(S==="User")S=B.shift();f.push(S+"("+B.join(",")+")");break;case"PtgBool":f.push(E[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(E[1]);break;case"PtgNum":f.push(String(E[1]));break;case"PtgStr":f.push('"'+E[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(E[1]);break;case"PtgAreaN":d=tt(E[1][1],t?{s:t}:s,n);f.push(nt(d,n));break;case"PtgArea":d=tt(E[1][1],s,n);f.push(nt(d,n));break;case"PtgArea3d":u=E[1][1];d=E[1][2];v=Vu(a,u,n);f.push(v+"!"+nt(d,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":;case"PtgAttrSemi":break;case"PtgName":h=E[1][2];varC=(a.names||[])[h-1]||(a[0]||[])[h];varT=C?C.Name:"SH33TJSNAME"+String(h);if(Tinsh)T=sh[T];f.push(T);break;case"PtgNameX":var_=E[1][1];h=E[1][2];varx;if(n.biff<=5){if(_<0)_=-_;if(a[_])x=a[_][h]}else{varA="";if(((a[_]||[])[0]||[])[0]==14849){}elseif(((a[_]||[])[0]||[])[0]==1025){if(a[_][h]&&a[_][h].itab>0){A=a.SheetNames[a[_][h].itab-1]+"!"}}elseA=a.SheetNames[h-1]+"!";if(a[_]&&a[_][h])A+=a[_][h].Name;elseif(a[0]&&a[0][h])A+=a[0][h].Name;else{vary=(Wu(a,_,n)||"").split(";;");if(y[h-1])A=y[h-1];elseA+="SH33TJSERRX"}f.push(A);break}if(!x)x={Name:"SH33TJSERRY"};f.push(x.Name);break;case"PtgParen":varI="(",R=")";if(p>=0){b="";switch(e[0][p][1][0]){case2:I=ue(" ",e[0][p][1][1])+I;break;case3:I=ue("\r",e[0][p][1][1])+I;break;case4:R=ue(" ",e[0][p][1][1])+R;break;case5:R=ue("\r",e[0][p][1][1])+R;break;default:if(n.WTF)thrownewError("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}f.push(I+f.pop()+R);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:E[1][1],r:E[1][0]};varF={c:t.c,r:t.r};if(a.sharedf[mt(c)]){varD=a.sharedf[mt(c)];f.push(Xu(D,s,F,a,n))}else{varO=false;for(l=0;l!=a.arrayf.length;++l){o=a.arrayf[l];if(c.c<o[0].s.c||c.c>o[0].e.c)continue;if(c.r<o[0].s.r||c.r>o[0].e.r)continue;f.push(Xu(o[1],s,F,a,n));O=true;break}if(!O)f.push(E[1])}break;case"PtgArray":f.push("{"+Mu(E[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=m;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+E[1].idx+"[#"+E[1].rt+"]");break;case"PtgMemAreaN":;case"PtgMemNoMemN":;case"PtgAttrNoop":;case"PtgSheet":;case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":;case"PtgElfColS":;case"PtgElfColSV":;case"PtgElfColV":;case"PtgElfLel":;case"PtgElfRadical":;case"PtgElfRadicalLel":;case"PtgElfRadicalS":;case"PtgElfRw":;case"PtgElfRwV":thrownewError("Unsupported ELFs");case"PtgSxName":thrownewError("Unrecognized Formula Token: "+String(E));default:thrownewError("Unrecognized Formula Token: "+String(E));}varP=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&P.indexOf(e[0][m][0])==-1){E=e[0][p];varN=true;switch(E[1][0]){case4:N=false;case0:b=ue(" ",E[1][1]);break;case5:N=false;case1:b=ue("\r",E[1][1]);break;default:b="";if(n.WTF)thrownewError("Unexpected PtgAttrSpaceType "+E[1][0]);}f.push((N?b:"")+f.pop()+(N?"":b));p=-1}}if(f.length>1&&n.WTF)thrownewError("bad formula stack");returnf[0]}functionGu(e,r,t){vara=e.l+r,n=t.biff==2?1:2;vari,s=e._R(n);if(s==65535)return[[],Qr(e,r-2)];varf=Nu(e,s,t);if(r!==s+n)i=Pu(e,r-s-n,f,t);e.l=a;return[f,i]}functionzu(e,r,t){vara=e.l+r,n=t.biff==2?1:2;vari,s=e._R(n);if(s==65535)return[[],Qr(e,r-2)];varf=Nu(e,s,t);if(r!==s+n)i=Pu(e,r-s-n,f,t);e.l=a;return[f,i]}functionju(e,r,t,a){varn=e.l+r;vari=Nu(e,a,t);vars;if(n!==e.l)s=Pu(e,n-e.l,i,t);return[i,s]}function$u(e,r,t){vara=e.l+r;varn,i=e._R(2);vars=Nu(e,
}functionXh(e,r){vart=["<cols>"],a;for(varn=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=or("col",null,ph(n,a))}t[t.length]="</cols>";returnt.join("")}functionGh(e){varr={ref:(e.match(/ref="([^"]*)"/)||[])[1]};returnr}functionzh(e,r,t,a){varn=typeofe.ref=="string"?e.ref:Et(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];vari=t.Workbook.Names;vars=gt(n);if(s.s.r==s.e.r){s.e.r=gt(r["!ref"]).e.r;n=Et(s)}for(varf=0;f<i.length;++f){varl=i[f];if(l.Name!="_xlnm._FilterDatabase")continue;if(l.Sheet!=a)continue;l.Ref="'"+t.SheetNames[a]+"'!"+n;break}if(f==i.length)i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+n});returnor("autoFilter",null,{ref:n})}varjh=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function$h(e,r){if(!r.Views)r.Views=[{}];(e.match(jh)||[]).forEach(function(e,t){vara=Oe(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(Ke(a.rightToLeft))r.Views[t].RTL=true})}functionKh(e,r,t,a){varn={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";returnor("sheetViews",or("sheetView",null,n),{})}functionYh(e,r,t,a){if(e.v===undefined&&typeofe.f!=="string"||e.t==="z")return"";varn="";vari=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=Ia[e.v];break;case"d":if(a&&a.cellDates)n=le(e.v,-1).toISOString();else{e=ce(e);e.t="n";n=""+(e.v=ee(le(e.v)))}if(typeofe.z==="undefined")e.z=D._table[14];break;default:n=e.v;break;}varf=fr("v",We(n)),l={r:r};varo=mh(a.cellXfs,e,a);if(o!==0)l.s=o;switch(e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.t="e";break;case"z":break;default:if(e.v==null){deletee.t;break}if(e.v.length>32767)thrownewError("Text length must not exceed 32767 characters");if(a&&a.bookSST){f=fr("v",""+vh(a.Strings,e.v,a.revStrings));l.t="s";break}l.t="str";break;}if(e.t!=i){e.t=i;e.v=s}if(typeofe.f=="string"&&e.f){varc=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;f=or("f",We(e.f),c)+(e.v!=null?f:"")}if(e.l)t["!links"].push([r,e.l]);if(e.c)t["!comments"].push([r,e.c]);returnor("c",f,l)}varQh=function(){vare=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;vart=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;varn=/ref=["']([^"']*)["']/;vari=er("v"),s=er("f");returnfunctionf(l,o,c,u,h,d){varv=0,p="",b=[],m=[],g=0,E=0,k=0,w="",S;varB,C=0,T=0;var_,x;varA=0,y=0;varI=Array.isArray(d.CellXf),R;varF=[];varO=[];varP=Array.isArray(o);varN=[],M={},L=false;varU=!!c.sheetStubs;for(varH=l.split(r),W=0,V=H.length;W!=V;++W){p=H[W].trim();varX=p.length;if(X===0)continue;varG=0;e:for(v=0;v<X;++v)switch(p[v]){case">":if(p[v-1]!="/"){++v;breake}if(c&&c.cellStyles){B=Oe(p.slice(G,v),true);C=B.r!=null?parseInt(B.r,10):C+1;T=-1;if(c.sheetRows&&c.sheetRows<C)continue;M={};L=false;if(B.ht){L=true;M.hpt=parseFloat(B.ht);M.hpx=Al(M.hpt)}if(B.hidden=="1"){L=true;M.hidden=true}if(B.outlineLevel!=null){L=true;M.level=+B.outlineLevel}if(L)N[C-1]=M}break;case"<":G=v;break;}if(G>=v)break;B=Oe(p.slice(G,v),true);C=B.r!=null?parseInt(B.r,10):C+1;T=-1;if(c.sheetRows&&c.sheetRows<C)continue;if(u.s.r>C-1)u.s.r=C-1;if(u.e.r<C-1)u.e.r=C-1;if(c&&c.cellStyles){M={};L=false;if(B.ht){L=true;M.hpt=parseFloat(B.ht);M.hpx=Al(M.hpt)}if(B.hidden=="1"){L=true;M.hidden=true}if(B.outlineLevel!=null){L=true;M.level=+B.outlineLevel}if(L)N[C-1]=M}b=p.slice(v).split(e);for(varz=0;z!=b.length;++z)if(b[z].trim().charAt(0)!="<")break;b=b.slice(z);for(v=0;v!=b.length;++v){p=b[v].trim();if(p.length===0)continue;m=p.match(t);g=v;E=0;k=0;p="<c "+(p.slice(0,1)=="<"?">":"")+p;if(m!=null&&m.length===2){g=0;w=m[1];for(E=0;E!=w.length;++E){if((k=w.charCodeAt(E)-64)<1||k>26)break;g=26*g+k}--g;T=g}else++T;for(E=0;E!=p.length;++E)if(p.charCodeAt(E)===62)break;++E;B=Oe(p.slice(0,E),true);if(!B.r)B.r=mt({r:C-1,c:T});w=p.slice(E);S={t:""};if((m=w.match(i))!=null&&m[1]!=="")S.v=Le(m[1]);if(c.cellFormula){if((m=w.match(s))!=null&&m[1]!==""){S.f=Le(Ye(m[1])).replace(/\r\n/g,"\n");if(!c.xlfn)S.f=dc(S.f);i
};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case1:s.state="hidden";break;case2:s.state="veryHidden";break;}r[r.length]=or("sheet",null,s)}r[r.length]="</sheets>";if(t){r[r.length]="<definedNames>";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){vart={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=or("definedName",We(e.Ref),t)});r[r.length]="</definedNames>"}if(r.length>2){r[r.length]="</workbook>";r[1]=r[1].replace("/>",">")}returnr.join("")}functionWv(e,r){vart={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=Gt(e,r-8);t.name=xt(e);returnt}functionVv(e,r){if(!r)r=Jr(127);r._W(4,e.Hidden);r._W(4,e.iTabID);zt(e.strRelID,r);At(e.name.slice(0,31),r);returnr.length>r.l?r.slice(0,r.l):r}functionXv(e,r){vart={};vara=e._R(4);t.defaultThemeVersion=e._R(4);varn=r>8?xt(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}functionGv(e,r){if(!r)r=Jr(72);vart=0;if(e){if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);Ht(e&&e.CodeName||"ThisWorkbook",r);returnr.slice(0,r.l)}functionzv(e,r){vart={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;returnt}functionjv(e,r,t){vara=e.l+r;e.l+=4;e.l+=1;varn=e._R(4);vari=Xt(e);vars=rh(e,0,t);varf=Wt(e);e.l=a;varl={Name:i,Ptg:s};if(n<268435455)l.Sheet=n;if(f)l.Comment=f;returnl}function$v(e,r){vart={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};vara=[];varn=false;if(!r)r={};r.biff=12;vari=[];vars=[[]];s.SheetNames=[];s.XTI=[];qp[16]={n:"BrtFRTArchID$",f:zv};Zr(e,functionf(e,l,o){switch(o){case156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case153:t.WBProps=e;break;case39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=Xu(e.Ptg,null,null,s,r);deleter.SID;deletee.Ptg;i.push(e);break;case1036:break;case357:;case358:;case355:;case667:if(!s[0].length)s[0]=[o,e];elses.push([o,e]);s[s.length-1].XTI=[];break;case362:if(s.length===0){s[0]=[];s[0].XTI=[]}s[s.length-1].XTI=s[s.length-1].XTI.concat(e);s.XTI=s.XTI.concat(e);break;case361:break;case2071:;case158:;case143:;case664:;case353:break;case3072:;case3073:;case534:;case677:;case157:;case610:;case2050:;case155:;case548:;case676:;case128:;case665:;case2128:;case2125:;case549:;case2053:;case596:;case2076:;case2075:;case2082:;case397:;case154:;case1117:;case553:;case2091:break;case35:a.push(l);n=true;break;case36:a.pop();n=false;break;case37:a.push(l);n=true;break;case38:a.pop();n=false;break;case16:break;default:if((l||"").indexOf("Begin")>0){}elseif((l||"").indexOf("End")>0){}elseif(!n||r.WTF&&a[a.length-1]!="BrtACBegin"&&a[a.length-1]!="BrtFRTBegin")thrownewError("Unexpected record "+o+" "+l);}},r);Rv(t);t.Names=i;t.supbooks=s;returnt}functionKv(e,r){et(e,"BrtBeginBundleShs");for(vart=0;t!=r.SheetNames.length;++t){vara=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;varn={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};et(e,"BrtBundleSh",Vv(n))}et(e,"BrtEndBundleShs")}functionYv(r,t){if(!t)t=Jr(127);for(vara=0;a!=4;++a)t._W(4,0);At("SheetJS",t);At(e.version,t);At(e.version,t);At("7262",t);returnt.length>t.l?t.slice(0,t.l):t}functionQv(e,r){if(!r)r=Jr(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}functionJv(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;vart=r.Workbook.Sheets;vara=0,n=-1,i=-1;for(;a<t.length;++a){if(!t[a]||!t[a].Hidden&&n==-1)n=a;elseif(t[a].Hidden==1&&i==-1)i=a}if(i>n)return;et(e,
}elsee.w=D._general(e.v)}elsee.w=D.format(a,e.v,{date1904:!!t,dateNF:r&&r.dateNF})}catch(n){if(r.WTF)thrown}if(r.cellDates&&a&&e.t=="n"&&D.is_date(D._table[a]||String(a))){vari=D.parse_date_code(e.v);if(i){e.t="d";e.v=newDate(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}functionjp(e,r,t){return{v:e,ixfe:r,t:t}}function$p(e,r){vart={opts:{}};vara={};if(b!=null&&r.dense==null)r.dense=b;varn=r.dense?[]:{};vari={};vars={};varf=null;varo=[];varc="";varu={};varh,d="",v,p,m,g;varE={};vark=[];varw;varS;varB=true;varC=[];varT=[];var_={Sheets:[],WBProps:{date1904:false},Views:[{}]},x={};varA=functionEe(e){if(e<8)returnya[e];if(e<64)returnT[e-8]||ya[e];returnya[e]};vary=functionke(e,r,t){vara=r.XF.data;if(!a||!a.patternType||!t||!t.cellStyles)return;r.s={};r.s.patternType=a.patternType;varn;if(n=ul(A(a.icvFore))){r.s.fgColor={rgb:n}}if(n=ul(A(a.icvBack))){r.s.bgColor={rgb:n}}};varI=functionwe(e,r,t){if(X>1)return;if(t.sheetRows&&e.r>=t.sheetRows)B=false;if(!B)return;if(t.cellStyles&&r.XF&&r.XF.data)y(e,r,t);deleter.ixfe;deleter.XF;h=e;d=mt(e);if(!s||!s.s||!s.e)s={s:{r:0,c:0},e:{r:0,c:0}};if(e.r<s.s.r)s.s.r=e.r;if(e.c<s.s.c)s.s.c=e.c;if(e.r+1>s.e.r)s.e.r=e.r+1;if(e.c+1>s.e.c)s.e.c=e.c+1;if(t.cellFormula&&r.f){for(vara=0;a<k.length;++a){if(k[a][0].s.c>e.c||k[a][0].s.r>e.r)continue;if(k[a][0].e.c<e.c||k[a][0].e.r<e.r)continue;r.F=Et(k[a][0]);if(k[a][0].s.c!=e.c||k[a][0].s.r!=e.r)deleter.f;if(r.f)r.f=""+Xu(k[a][1],s,e,W,R);break}}{if(t.dense){if(!n[e.r])n[e.r]=[];n[e.r][e.c]=r}elsen[d]=r}};varR={enc:false,sbcch:0,snames:[],sharedf:E,arrayf:k,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};if(r.password)R.password=r.password;varF;varO=[];varP=[];varN=[],M=[];varL=0,U=0;varH=false;varW=[];W.SheetNames=R.snames;W.sharedf=R.sharedf;W.arrayf=R.arrayf;W.names=[];W.XTI=[];varV="";varX=0;varG=0,z=[];varj=[];var$;R.codepage=1200;l(1200);varY=false;while(e.l<e.length-1){varQ=e.l;varJ=e._R(2);if(J===0&&V==="EOF")break;varZ=e.l===e.length?0:e._R(2);varq=rb[J];if(q&&q.f){if(r.bookSheets){if(V==="BoundSheet8"&&q.n!=="BoundSheet8")break}V=q.n;if(q.r===2||q.r==12){varee=e._R(2);Z-=2;if(!R.enc&&ee!==J&&((ee&255)<<8|ee>>8)!==J)thrownewError("rt mismatch: "+ee+"!="+J);if(q.r==12){e.l+=10;Z-=10}}varre={};if(q.n==="EOF")re=q.f(e,Z,R);elsere=Gp(q,e,Z,R);varte=q.n;if(X==0&&te!="BOF")continue;switch(te){case"Date1904":t.opts.Date1904=_.WBProps.date1904=re;break;case"WriteProtect":t.opts.WriteProtect=true;break;case"FilePass":if(!R.enc)e.l=0;R.enc=re;if(!r.password)thrownewError("File is password-protected");if(re.valid==null)thrownewError("Encryption scheme unsupported");if(!re.valid)thrownewError("Password is incorrect");break;case"WriteAccess":R.lastuser=re;break;case"FileSharing":break;case"CodePage":varae=Number(re);switch(ae){case21010:ae=1200;break;case32768:ae=1e4;break;case32769:ae=1252;break;}l(R.codepage=ae);Y=true;break;case"RRTabId":R.rrtabid=re;break;case"WinProtect":R.winlocked=re;break;case"Template":break;case"BookBool":break;case"UsesELFs":break;case"MTRSettings":break;case"RefreshAll":;case"CalcCount":;case"CalcDelta":;case"CalcIter":;case"CalcMode":;case"CalcPrecision":;case"CalcSaveRecalc":t.opts[te]=re;break;case"CalcRefMode":R.CalcRefMode=re;break;case"Uncalced":break;case"ForceFullCalculation":t.opts.FullCalc=re;break;case"WsBool":if(re.fDialog)n["!type"]="dialog";if(!re.fBelow)(n["!outline"]||(n["!outline"]={})).above=true;if(!re.fRight)(n["!outline"]||(n["!outline"]={})).left=true;break;case"XF":C.push(re);break;case"ExtSST":break;case"BookExt":break;case"RichTextStream":break;case"BkHim":break;case"SupBook":W.push([re]);W[W.length-1].XTI=[];break;case"ExternName":W[W.length-1].push(re);break;case"Index":break;case"Lbl":$={Name:re.Name,Ref:Xu(re.rgce,s,null,W,R)};if(re.itab>0)$.Sheet=re.itab-1;W.names.push($);if(!W[0]){W[0]=[];W[0].XTI=[]}W[W.length-1].push(re);if(re.Name=="_xlnm._FilterDatabase"&&re.itab>0)if(re.rgce&&re.rgce[0]&&re.rgce[0][0]&&re.rgce[0][0][0]=="PtgArea3d")j[re.itab-1]={ref:Et(re.rgce[0][0][1][2])};b
if(N<10)for(K=0;K<N;++K)if(y>0)P[_+K]={level:y};x=-1;break;case"covered-table-cell":if(E[1]!=="/")++x;if(i.sheetStubs){if(i.dense){if(!g[_])g[_]=[];g[_][x]={t:"z"}}elseg[mt({r:_,c:x})]={t:"z"}}S="";T=[];break;case"table-cell":;case"数据":if(E[0].charAt(E[0].length-2)==="/"){++x;w=Oe(E[0],false);M=parseInt(w["number-columns-repeated"]||"1",10);k={t:"z",v:null};if(w.formula&&i.cellFormula!=false)k.f=fh(Le(w.formula));if((w["数据类型"]||w["value-type"])=="string"){k.t="s";k.v=Le(w["string-value"]||"");if(i.dense){if(!g[_])g[_]=[];g[_][x]=k}else{g[mt({r:_,c:x})]=k}}x+=M-1}elseif(E[1]!=="/"){++x;M=1;varY=N?_+N-1:_;if(x>A.e.c)A.e.c=x;if(x<A.s.c)A.s.c=x;if(_<A.s.r)A.s.r=_;if(Y>A.e.r)A.e.r=Y;w=Oe(E[0],false);V=[];X={};k={t:w["数据类型"]||w["value-type"],v:null};if(i.cellFormula){if(w.formula)w.formula=Le(w.formula);if(w["number-matrix-columns-spanned"]&&w["number-matrix-rows-spanned"]){D=parseInt(w["number-matrix-rows-spanned"],10)||0;O=parseInt(w["number-matrix-columns-spanned"],10)||0;F={s:{r:_,c:x},e:{r:_+D-1,c:x+O-1}};k.F=Et(F);L.push([F,k.F])}if(w.formula)k.f=fh(w.formula);elsefor(K=0;K<L.length;++K)if(_>=L[K][0].s.r&&_<=L[K][0].e.r)if(x>=L[K][0].s.c&&x<=L[K][0].e.c)k.F=L[K][1]}if(w["number-columns-spanned"]||w["number-rows-spanned"]){D=parseInt(w["number-rows-spanned"],10)||0;O=parseInt(w["number-columns-spanned"],10)||0;F={s:{r:_,c:x},e:{r:_+D-1,c:x+O-1}};R.push(F)}if(w["number-columns-repeated"])M=parseInt(w["number-columns-repeated"],10);switch(k.t){case"boolean":k.t="b";k.v=Ke(w["boolean-value"]);break;case"float":k.t="n";k.v=parseFloat(w.value);break;case"percentage":k.t="n";k.v=parseFloat(w.value);break;case"currency":k.t="n";k.v=parseFloat(w.value);break;case"date":k.t="d";k.v=le(w["date-value"]);if(!i.cellDates){k.t="n";k.v=ee(k.v)}k.z="m/d/yy";break;case"time":k.t="n";k.v=ie(w["time-value"])/86400;if(i.cellDates){k.t="d";k.v=ne(k.v)}k.z="HH:MM:SS";break;case"number":k.t="n";k.v=parseFloat(w["数据数值"]);break;default:if(k.t==="string"||k.t==="text"||!k.t){k.t="s";if(w["string-value"]!=null){S=Le(w["string-value"]);T=[]}}elsethrownewError("Unsupported value type "+k.t);}}else{j=false;if(k.t==="s"){k.v=S||"";if(T.length)k.R=T;j=B==0}if(H.Target)k.l=H;if(V.length>0){k.c=V;V=[]}if(S&&i.cellText!==false)k.w=S;if(j){k.t="z";deletek.v}if(!j||i.sheetStubs){if(!(i.sheetRows&&i.sheetRows<=_)){for(varQ=0;Q<N;++Q){M=parseInt(w["number-columns-repeated"]||"1",10);if(i.dense){if(!g[_+Q])g[_+Q]=[];g[_+Q][x]=Q==0?k:ce(k);while(--M>0)g[_+Q][x+M]=ce(k)}else{g[mt({r:_+Q,c:x})]=k;while(--M>0)g[mt({r:_+Q,c:x+M})]=ce(k)}if(A.e.c<=x)A.e.c=x}}}M=parseInt(w["number-columns-repeated"]||"1",10);x+=M-1;M=0;k={};S="";T=[]}H={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(E[1]==="/"){if((l=f.pop())[0]!==E[3])throw"Bad state: "+l}elseif(E[0].charAt(E[0].length-2)!=="/")f.push([E[3],true]);break;case"annotation":if(E[1]==="/"){if((l=f.pop())[0]!==E[3])throw"Bad state: "+l;X.t=S;if(T.length)X.R=T;X.a=G;V.push(X)}elseif(E[0].charAt(E[0].length-2)!=="/"){f.push([E[3],false])}G="";z=0;S="";B=0;T=[];break;case"creator":if(E[1]==="/"){G=s.slice(z,E.index)}elsez=E.index+E[0].length;break;case"meta":;case"元数据":;case"settings":;case"config-item-set":;case"config-item-map-indexed":;case"config-item-map-entry":;case"config-item-map-named":;case"shapes":;case"frame":;case"text-box":;case"image":;case"data-pilot-tables":;case"list-style":;case"form":;case"dde-links":;case"event-listeners":;case"chart":if(E[1]==="/"){if((l=f.pop())[0]!==E[3])throw"Bad state: "+l}elseif(E[0].charAt(E[0].length-2)!=="/")f.push([E[3],false]);S="";B=0;T=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":;case"percentage-style":;case"date-style":;case"time-style":if(E[1]==="/"){I[c.name]=u;if((l=f.pop())[0]!==E[3])throw"Bad state: "+l}elseif(E[0].charAt(E[0].length-2)!=="/"){u="";c=Oe(E[0],false);f.push([E[3],true])}break;case"script":break;case"librari
if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}if(t.type=="array"){t.type="binary";vara=mm(e,t);t.type="array";return_(a)}switch(t.bookType||"xlsb"){case"xml":;case"xlml":returnvm(Vp(e,t),t);case"slk":;case"sylk":returnvm(Lb(e,t),t);case"htm":;case"html":returnvm(Nb(e,t),t);case"txt":returnpm(Vb(e,t),t);case"csv":returnvm(Mb(e,t),t,"\ufeff");case"dif":returnvm(Ub(e,t),t);case"dbf":returnbm(Xb(e,t),t);case"prn":returnvm(Hb(e,t),t);case"rtf":returnvm(Wb(e,t),t);case"eth":returnvm(Gb(e,t),t);case"fods":returnvm(Db(e,t),t);case"biff2":if(!t.biff)t.biff=2;case"biff3":if(!t.biff)t.biff=3;case"biff4":if(!t.biff)t.biff=4;returnbm(wb(e,t),t);case"biff5":if(!t.biff)t.biff=5;case"biff8":;case"xla":;case"xls":if(!t.biff)t.biff=8;returndm(e,t);case"xlsx":;case"xlsm":;case"xlam":;case"xlsb":;case"ods":returnhm(e,t);default:thrownewError("Unrecognized bookType |"+t.bookType+"|");}}functiongm(e){if(e.bookType)return;varr={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"};vart=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();if(t.match(/^\.[a-z]+$/))e.bookType=t.slice(1);e.bookType=r[e.bookType]||e.bookType}functionEm(e,r,t){vara=t||{};a.type="file";a.file=r;gm(a);returnmm(e,a)}functionkm(e,r,t,a){varn=t||{};n.type="file";n.file=e;gm(n);n.type="buffer";vari=a;if(!(iinstanceofFunction))i=t;returnX.writeFile(e,mm(r,n),i)}functionwm(e,r,t,a,n,i,s,f){varl=lt(t);varo=f.defval,c=f.raw||!Object.prototype.hasOwnProperty.call(f,"raw");varu=true;varh=n===1?[]:{};if(n!==1){if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:t,enumerable:false})}catch(d){h.__rowNum__=t}elseh.__rowNum__=t}if(!s||e[t])for(varv=r.s.c;v<=r.e.c;++v){varp=s?e[t][v]:e[a[v]+l];if(p===undefined||p.t===undefined){if(o===undefined)continue;if(i[v]!=null){h[i[v]]=o}continue}varb=p.v;switch(p.t){case"z":if(b==null)break;continue;case"e":b=b==0?null:void0;break;case"s":;case"d":;case"b":;case"n":break;default:thrownewError("unrecognized type "+p.t);}if(i[v]!=null){if(b==null){if(p.t=="e"&&b===null)h[i[v]]=null;elseif(o!==undefined)h[i[v]]=o;elseif(c&&b===null)h[i[v]]=null;elsecontinue}else{h[i[v]]=c||f.rawNumbers&&p.t=="n"?b:St(p,b,f)}if(b!=null)u=false}}return{row:h,isempty:u}}functionSm(e,r){if(e==null||e["!ref"]==null)return[];vart={t:"n",v:0},a=0,n=1,i=[],s=0,f="";varl={s:{r:0,c:0},e:{r:0,c:0}};varo=r||{};varc=o.range!=null?o.range:e["!ref"];if(o.header===1)a=1;elseif(o.header==="A")a=2;elseif(Array.isArray(o.header))a=3;elseif(o.header==null)a=0;switch(typeofc){case"string":l=kt(c);break;case"number":l=kt(e["!ref"]);l.s.r=c;break;default:l=c;}if(a>0)n=0;varu=lt(l.s.r);varh=[];vard=[];varv=0,p=0;varb=Array.isArray(e);varm=l.s.r,g=0,E=0;if(b&&!e[m])e[m]=[];for(g=l.s.c;g<=l.e.c;++g){h[g]=ht(g);t=b?e[m][g]:e[h[g]+u];switch(a){case1:i[g]=g-l.s.c;break;case2:i[g]=h[g];break;case3:i[g]=o.header[g-l.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};f=s=St(t,null,o);p=0;for(E=0;E<i.length;++E)if(i[E]==f)f=s+"_"+++p;i[g]=f;}}for(m=l.s.r+n;m<=l.e.r;++m){vark=wm(e,l,m,h,a,i,b,o);if(k.isempty===false||(a===1?o.blankrows!==false:!!o.blankrows))d[v++]=k.row}d.length=v;returnd}varBm=/"/g;functionCm(e,r,t,a,n,i,s,f){varl=true;varo=[],c="",u=lt(t);for(varh=r.s.c;h<=r.e.c;++h){if(!a[h])continue;vard=f.dense?(e[t]||[])[h]:e[a[h]+u];if(d==null)c="";elseif(d.v!=null){l=false;c=""+(f.rawNumbers&&d.t=="n"?d.v:St(d,null,f));for(varv=0,p=0;v!==c.length;++v)if((p=c.charCodeAt(v))===n||p===i||p===34||f.forceQuotes){c='"'+c.replace(Bm,'""')+'"';break}if(c=="ID")c='"ID"'}elseif(d.f!=null&&!d.F){l=false;c="="+d.f;if(c.indexOf(",")>=0)c='"'+c.replace(Bm,'""')+'"'}elsec="";o.push(c)}if(f.blankrows===false&&l)returnnull;returno.join(s)}functionTm(e,r){vart=[];vara=r==null?{}:r;if(e==null||e["!ref"]==null)return"";varn=kt(e["!ref"]);vari=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);varf=a.RS!==undefined?a.RS:"\n",l=f.charCodeAt(0);varo=newRegExp((i=="|"?"\\|":i)+"+$");varc="",u=[];a.dense=Array.isArray(e);varh=a.skipHidden&&e["!cols"]||[];vard=a.skipHidden&&e["!rows"]||[];for(va