r.push(String.fromCharCode(128+(a&63)));}}returnr.join("")};if(w){varqe=functionql(e){varr=Buffer.alloc(2*e.length),t,a,n=1,i=0,s=0,l;for(a=0;a<e.length;a+=n){n=1;if((l=e.charCodeAt(a))<128)t=l;elseif(l<224){t=(l&31)*64+(e.charCodeAt(a+1)&63);n=2}elseif(l<240){t=(l&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(l&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(Je(Ze)==qe(Ze))Je=qe;varQe=functionZl(e){returnk(e,"binary").toString("utf8")};if(Je(Ze)==Qe(Ze))Je=Qe;Ke=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=Re(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:Je(r[2]),t:r[1]})});returnn}varsr=/(^\s|\s$|\n)/;functionlr(e,r){return"<"+e+(r.match(sr)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}functionor(e){returnY(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}functioncr(e,r,t){return"<"+e+(t!=null?or(t):"")+(r!=null?(r.match(sr)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}functionfr(e,r){try{returne.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throwt}return""}functionur(e,r){switch(typeofe){case"string":vart=cr("vt:lpwstr",$e(e));if(r)t=t.replace(/"/g,"_x0022_");returnt;case"number":returncr((e|0)==e?"vt:i4":"vt:r8",$e(String(e)));case"boolean":returncr("vt:bool",e?"true":"false");}if(einstanceofDate)returncr("vt:filetime",fr(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/XMLSchema"};hr.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"];vardr={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"};functionpr(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}functionmr(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.floo
hr.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/extended-properties";aa.EXT_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties";varga=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];functionba(e,r,t,a){varn=[];if(typeofe=="string")n=ir(e,a);elsefor(vari=0;i<e.length;++i)n=n.concat(e[i].map(function(e){return{v:e}}));vars=typeofr=="string"?ir(r,a).map(function(e){returne.v}):r;varl=0,o=0;if(s.length>0)for(varc=0;c!==n.length;c+=2){o=+n[c+1].v;switch(n[c].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"Hojas de cálculo":;case"Werkbladen":t.Worksheets=o;t.SheetNames=s.slice(l,l+o);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=o;t.DefinedNames=s.slice(l,l+o);break;case"Charts":;case"Diagramme":t.Chartsheets=o;t.ChartNames=s.slice(l,l+o);break;}l+=o}}functionwa(e,r,t){vara={};if(!r)r={};e=Je(e);va.forEach(function(t){varn=(e.match(er(t[0]))||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=Be(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":vari=e.match(newRegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)</"+t[0]+">"));if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)ba(a.HeadingPairs,a.TitlesOfParts,r,t);returnr}varka=cr("Properties",null,{xmlns:hr.EXT_PROPS,"xmlns:vt":hr.vt});functionya(e){varr=[],t=cr;if(!e)e={};e.Application="SheetJS";r[r.length]=Te;r[r.length]=ka;va.forEach(function(a){if(e[a[1]]===undefined)return;varn;switch(a[2]){case"string":n=$e(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+$e(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}returnr.join("")}hr.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/custom-properties";aa.CUST_PROPS="http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties";varxa=/<[^>]+>[^<]*/g;functionSa(e,r){vart={},a="";varn=e.match(xa);if(n)for(vari=0;i!=n.length;++i){vars=n[i],l=Re(s);switch(l[0]){case"<?xml":break;case"<Properties":break;case"<property":a=Be(l.name);break;case"</property>":a=null;break;default:if(s.indexOf("<vt:")===0){varo=s.split(">");varc=o[0].slice(4),f=o[1];switch(c){case"lpstr":;case"bstr":;case"lpwstr":t[a]=Be(f);break;case"bool":t[a]=Ye(f);break;case"i1":;case"i2":;case"i4":;case"i8":;case"int":;case"uint":t[a]=parseInt(f,10);break;case"r4":;case"r8":;case"decimal":t[a]=parseFloat(f);break;case"filetime":;case"date":t[a]=oe(f);break;case"cy":;case"error":t[a]=Be(f);break;default:if(c.slice(-1)=="/")break;if(r.WTF&&typeofconsole!=="undefined")console.warn("Unexpected",s,c,o);}}elseif(s.slice(0,2)==="</"){}elseif(r.WTF)thrownewError(s);}}returnt}var_a=cr("Properties",null,{xmlns:hr.CUST_PROPS,"xmlns:vt":hr.vt});functionCa(e){varr=[Te,_a];if(!e)returnr.join("");vart=1;Y(e).forEach(functiona(n){++t;r[r.length]=cr("property",ur(e[n],true),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:$e(n)})});if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}returnr.join("")}varAa=function(){vare={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,
if(t.theme)n.fgColor.theme=parseInt(t.theme,10);if(t.tint)n.fgColor.tint=parseFloat(t.tint);if(t.rgb!=null)n.fgColor.rgb=t.rgb.slice(-6);break;case"<fgColor/>":;case"</fgColor>":break;case"<stop":;case"<stop/>":break;case"</stop>":break;case"<color":;case"<color/>":break;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)thrownewError("unrecognized "+t[0]+" in fills")};}})}functionpn(e,r,t,a){r.Fonts=[];varn={};vars=false;(e[0].match(De)||[]).forEach(function(e){varl=Re(e);switch(Pe(l[0])){case"<fonts":;case"<fonts>":;case"</fonts>":break;case"<font":;case"<font>":break;case"</font>":;case"<font/>":r.Fonts.push(n);n={};break;case"<name":if(l.val)n.name=Je(l.val);break;case"<name/>":;case"</name>":break;case"<b":n.bold=l.val?Ye(l.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=l.val?Ye(l.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(l.val){case"none":n.underline=0;break;case"single":n.underline=1;break;case"double":n.underline=2;break;case"singleAccounting":n.underline=33;break;case"doubleAccounting":n.underline=34;break;}break;case"<u/>":n.underline=1;break;case"<strike":n.strike=l.val?Ye(l.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=l.val?Ye(l.val):1;break;case"<outline/>":n.outline=1;break;case"<shadow":n.shadow=l.val?Ye(l.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=l.val?Ye(l.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=l.val?Ye(l.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":if(l.val)n.sz=+l.val;break;case"<sz/>":;case"</sz>":break;case"<vertAlign":if(l.val)n.vertAlign=l.val;break;case"<vertAlign/>":;case"</vertAlign>":break;case"<family":if(l.val)n.family=parseInt(l.val,10);break;case"<family/>":;case"</family>":break;case"<scheme":if(l.val)n.scheme=l.val;break;case"<scheme/>":;case"</scheme>":break;case"<charset":if(l.val=="1")break;l.codepage=i[parseInt(l.val,10)];break;case"<color":if(!n.color)n.color={};if(l.auto)n.color.auto=Ye(l.auto);if(l.rgb)n.color.rgb=l.rgb.slice(-6);elseif(l.indexed){n.color.index=parseInt(l.indexed,10);varo=Vt[n.color.index];if(n.color.index==81)o=Vt[1];if(!o)o=Vt[1];n.color.rgb=o[0].toString(16)+o[1].toString(16)+o[2].toString(16)}elseif(l.theme){n.color.theme=parseInt(l.theme,10);if(l.tint)n.color.tint=parseFloat(l.tint);if(l.theme&&t.themeElements&&t.themeElements.clrScheme){n.color.rgb=Ja(t.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)}}break;case"<color/>":;case"</color>":break;case"<AlternateContent":s=true;break;case"</AlternateContent>":s=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":s=true;break;case"</ext>":s=false;break;default:if(a&&a.WTF){if(!s)thrownewError("unrecognized "+l[0]+" in fonts")};}})}functionmn(e,r,t){r.NumberFmt=[];vara=Y(N._table);for(varn=0;n<a.length;++n)r.NumberFmt[a[n]]=N._table[a[n]];vari=e[0].match(De);if(!i)return;for(n=0;n<i.length;++n){vars=Re(i[n]);switch(Pe(s[0])){case"<numFmts":;case"</numFmts>":;case"<numFmts/>":;case"<numFmts>":break;case"<numFmt":{varl=Be(Je(s.formatCode)),o=parseInt(s.numFmtId,10);r.NumberFmt[o]=l;if(o>0){if(o>392){for(o=392;o>60;--o)if(r.NumberFmt[o]==null)break;r.NumberFmt[o]=l}N.load(l,o)}}break;case"</numFmt>":break;default:if(t.WTF)thrownewError("unrecognized "+s[0]+" in numFmts");}}}functionvn(e){varr=["<numFmts>"];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(vara=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=cr("numFmt",null,{numFmtId:a,formatCode:$e(e[a])})});if(r.length===1)return"";r[r.length]="</numFmts>";r[0]=cr("numFmts",null,{count:r.length-2}).replace("/>",">");returnr.join("")}vargn=["numFmtId","fillId","fontId","borderId","xfId"];varbn=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];functionwn(e,r,t){r.CellXf=[];vara;varn=false;(e[0].match(De)||[]).forEach(function(e){vari=Re(e),s=0;switch(Pe(i[0])){case"<cellXfs":;case"<cellXfs>":;case"<cellXfs
if(n.outlineLevel)n.level=+n.outlineLevel||0;deleten.min;deleten.max;n.width=+n.width;if(!t&&n.width){t=true;nn(n.width)}sn(n);while(i<=s)e[i++]=fe(n)}}functionLi(e,r){vart=["<cols>"],a;for(varn=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=cr("col",null,ci(n,a))}t[t.length]="</cols>";returnt.join("")}functionBi(e){varr={ref:(e.match(/ref="([^"]*)"/)||[])[1]};returnr}functionzi(e,r,t,a){varn=typeofe.ref=="string"?e.ref:gt(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];vari=t.Workbook.Names;vars=vt(n);if(s.s.r==s.e.r){s.e.r=vt(r["!ref"]).e.r;n=gt(s)}for(varl=0;l<i.length;++l){varo=i[l];if(o.Name!="_xlnm._FilterDatabase")continue;if(o.Sheet!=a)continue;o.Ref="'"+t.SheetNames[a]+"'!"+n;break}if(l==i.length)i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+n});returncr("autoFilter",null,{ref:n})}varWi=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function$i(e,r){if(!r.Views)r.Views=[{}];(e.match(Wi)||[]).forEach(function(e,t){vara=Re(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(Ye(a.rightToLeft))r.Views[t].RTL=true})}functionUi(e,r,t,a){varn={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";returncr("sheetViews",cr("sheetView",null,n),{})}functionji(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=Gt[e.v];break;case"d":if(a&&a.cellDates)n=oe(e.v,-1).toISOString();else{e=fe(e);e.t="n";n=""+(e.v=ee(oe(e.v)))}if(typeofe.z==="undefined")e.z=N._table[14];break;default:n=e.v;break;}varl=lr("v",$e(n)),o={r:r};varc=ui(a.cellXfs,e,a);if(c!==0)o.s=c;switch(e.t){case"n":break;case"d":o.t="d";break;case"b":o.t="b";break;case"e":o.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){l=lr("v",""+oi(a.Strings,e.v,a.revStrings));o.t="s";break}o.t="str";break;}if(e.t!=i){e.t=i;e.v=s}if(typeofe.f=="string"&&e.f){varf=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;l=cr("f",$e(e.f),f)+(e.v!=null?l:"")}if(e.l)t["!links"].push([r,e.l]);if(e.c)t["!comments"].push([r,e.c]);returncr("c",l,o)}varHi=function(){vare=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;vart=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;varn=/ref=["']([^"']*)["']/;vari=er("v"),s=er("f");returnfunctionl(o,c,f,u,h,d){varp=0,m="",v=[],g=[],b=0,w=0,k=0,y="",x;varS,_=0,C=0;varA,E;varF=0,T=0;varO=Array.isArray(d.CellXf),D;varM=[];varR=[];varP=Array.isArray(c);varI=[],L={},B=false;varz=!!f.sheetStubs;for(varW=o.split(r),$=0,U=W.length;$!=U;++$){m=W[$].trim();varj=m.length;if(j===0)continue;varH=0;e:for(p=0;p<j;++p)switch(m[p]){case">":if(m[p-1]!="/"){++p;breake}if(f&&f.cellStyles){S=Re(m.slice(H,p),true);_=S.r!=null?parseInt(S.r,10):_+1;C=-1;if(f.sheetRows&&f.sheetRows<_)continue;L={};B=false;if(S.ht){B=true;L.hpt=parseFloat(S.ht);L.hpx=fn(L.hpt)}if(S.hidden=="1"){B=true;L.hidden=true}if(S.outlineLevel!=null){B=true;L.level=+S.outlineLevel}if(B)I[_-1]=L}break;case"<":H=p;break;}if(H>=p)break;S=Re(m.slice(H,p),true);_=S.r!=null?parseInt(S.r,10):_+1;C=-1;if(f.sheetRows&&f.sheetRows<_)continue;if(u.s.r>_-1)u.s.r=_-1;if(u.e.r<_-1)u.e.r=_-1;if(f&&f.cellStyles){L={};B=false;if(S.ht){B=true;L.hpt=parseFloat(S.ht);L.hpx=fn(L.hpt)}if(S.hidden=="1"){B=true;L.hidden=true}if(S.outlineLevel!=null){B=true;L.level=+S.outlineLevel}if(B)I[_-1]=L}v=m.slice(p).split(e);for(varX=0;X!=v.length;++X)if(v[X].trim().charAt(0)!="<")break;v=v.slice(X);for(p=0;p!=v.length;++p){m=v[p].trim();if(m.length===0)continue;g=m.match(t);b=p;w=0;k=0;m="<c "+(m.slice(0,1)=="<"?">":"")+m;if(g!=null&&g.length===2){b=0;y=g[1];for(w=0;w!=y.length;++w){if((k=y.charCodeAt(w)-64)<1||k>26)break;b=26*b+k}--b;C=b}else++C;for(w=0;w!=m.length;++w)if(m.charCodeAt(w)===62)break;++w;S=Re(m.slice(0,w),true);if(!S.r)S.r=mt({r:_-1,c:C});y=m.slice(w);x={t:""};if((g=y.matc
u+=s.slice(h,w.index);break;}elseh=w.index+w[0].length;break;case"named-range":c=Re(w[0],false);$=ods_to_csf_3D(c["cell-range-address"]);varq={Name:c.name,Ref:$[0]+"!"+$[1]};if(G)q.Sheet=g.length;z.Names.push(q);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":;case"文本串":if(["master-styles"].indexOf(l[l.length-1][0])>-1)break;if(w[1]==="/"&&(!y||!y["string-value"])){varZ=e(s.slice(S,w.index),_);x=(x.length>0?x+"\n":"")+Z[0]}else{_=Re(w[0],false);S=w.index+w[0].length}break;case"s":break;case"database-range":if(w[1]==="/")break;try{$=ods_to_csf_3D(Re(w[0])["target-range-address"]);m[$[0]]["!autofilter"]={ref:$[1]}}catch(Q){}break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":;case"sender-lastname":;case"sender-initials":;case"sender-title":;case"sender-position":;case"sender-email":;case"sender-phone-private":;case"sender-fax":;case"sender-company":;case"sender-phone-work":;case"sender-street":;case"sender-city":;case"sender-postal-code":;case"sender-country":;case"sender-state-or-province":;case"author-name":;case"author-initials":;case"chapter":;case"file-name":;case"template-name":;case"sheet-name":break;case"event-listener":break;case"initial-creator":;case"creation-date":;case"print-date":;case"generator":;case"document-statistic":;case"user-defined":;case"editing-duration":;case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":;case"source-cell-range":;case"source-service":;case"data-pilot-field":;case"data-pilot-level":;case"data-pilot-subtotals":;case"data-pilot-subtotal":;case"data-pilot-members":;case"data-pilot-member":;case"data-pilot-display-info":;case"data-pilot-sort-info":;case"data-pilot-layout-info":;case"data-pilot-field-reference":;case"data-pilot-groups":;case"data-pilot-group":;case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":;case"dde-connection-decl":;case"dde-link":;case"dde-source":break;case"properties":break;case"property":break;case"a":if(w[1]!=="/"){W=Re(w[0],false);if(!W.href)break;W.Target=Be(W.href);deleteW.href;if(W.Target.charAt(0)=="#"&&W.Target.indexOf(".")>-1){$=ods_to_csf_3D(W.Target.slice(1));W.Target="#"+$[0]+"!"+$[1]}elseif(W.Target.match(/^\.\.[\\\/]/))W.Target=W.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(w[2]){case"dc:":;case"calcext:":;case"loext:":;case"ooo:":;case"chartooo:":;case"draw:":;case"style:":;case"chart:":;case"form:":;case"uof:":;case"表:":;case"字:":break;default:if(i.WTF)thrownewError(w);};}varre={Sheets:m,SheetNames:g,Workbook:z};if(i.bookSheets)deletere.Sheets;returnre}}();functionUs(e,r){r=r||{};vart=!!we(e,"objectdata");if(t)parse_manifest(ye(e,"META-INF/manifest.xml"),r);vara=xe(e,"content.xml");if(!a)thrownewError("Missing content.xml in "+(t?"ODS":"UOF")+" file");varn
for(varf=n.s.r;f<=n.e.r;++f){i=st(f);for(l=n.s.c;l<=n.e.c;++l){r=s[l]+i;t=c?(e[f]||[])[l]:e[r];a="";if(t===undefined)continue;elseif(t.F!=null){r=t.F;if(!t.f)continue;a=t.f;if(r.indexOf(":")==-1)r=r+":"+r}if(t.f!=null)a=t.f;elseif(t.t=="z")continue;elseif(t.t=="n"&&t.v!=null)a=""+t.v;elseif(t.t=="b")a=t.v?"TRUE":"FALSE";elseif(t.w!==undefined)a="'"+t.w;elseif(t.v===undefined)continue;elseif(t.t=="s")a="'"+t.v;elsea=""+t.v;o[o.length]=r+"="+a}}returno}function$l(e,r,t){vara=t||{};varn=+!a.skipHeader;vari=e||{};vars=0,l=0;if(i&&a.origin!=null){if(typeofa.origin=="number")s=a.origin;else{varo=typeofa.origin=="string"?pt(a.origin):a.origin;s=o.r;l=o.c}}varc;varf={s:{c:0,r:0},e:{c:l,r:s+r.length-1+n}};if(i["!ref"]){varu=bt(i["!ref"]);f.e.c=Math.max(f.e.c,u.e.c);f.e.r=Math.max(f.e.r,u.e.r);if(s==-1){s=u.e.r+1;f.e.r=s+r.length-1+n}}else{if(s==-1){s=0;f.e.r=r.length-1+n}}varh=a.header||[],d=0;r.forEach(function(e,r){Y(e).forEach(function(t){if((d=h.indexOf(t))==-1)h[d=h.length]=t;varo=e[t];varf="z";varu="";varp=mt({c:l+d,r:s+r+n});c=jl.sheet_get_cell(i,p);if(o&&typeofo==="object"&&!(oinstanceofDate)){i[p]=o}else{if(typeofo=="number")f="n";elseif(typeofo=="boolean")f="b";elseif(typeofo=="string")f="s";elseif(oinstanceofDate){f="d";if(!a.cellDates){f="n";o=ee(o)}u=a.dateNF||N._table[14]}elseif(o===null&&a.nullError){f="e";o=0}if(!c)i[p]=c={t:f,v:o};else{c.t=f;c.v=o;deletec.w;deletec.R;if(u)c.z=u}if(u)c.z=u}})});f.e.c=Math.max(f.e.c,l+h.length-1);varp=st(s);if(n)for(d=0;d<h.length;++d)i[ft(d+l)+p]={t:"s",v:h[d]};i["!ref"]=gt(f);returni}functionUl(e,r){return$l(null,e,r)}varjl={encode_col:ft,encode_row:st,encode_cell:mt,encode_range:gt,decode_col:ct,decode_row:it,split_cell:dt,decode_cell:pt,decode_range:vt,format_cell:kt,get_formulae:Wl,make_csv:Bl,make_json:Pl,make_formulae:Wl,sheet_add_aoa:xt,sheet_add_json:$l,sheet_add_dom:Is,aoa_to_sheet:St,json_to_sheet:Ul,table_to_sheet:Ls,table_to_book:Bs,sheet_to_csv:Bl,sheet_to_txt:zl,sheet_to_json:Pl,sheet_to_html:Ps.from_sheet,sheet_to_formulae:Wl,sheet_to_row_object_array:Pl};(function(e){e.consts=e.consts||{};functionr(r){r.forEach(function(r){e.consts[r[0]]=r[1]})}functiont(e,r,t){returne[r]!=null?e[r]:e[r]=t}functiona(e,r,t){if(typeofr=="string"){if(Array.isArray(e)){varn=pt(r);if(!e[n.r])e[n.r]=[];returne[n.r][n.c]||(e[n.r][n.c]={t:"z"})}returne[r]||(e[r]={t:"z"})}if(typeofr!="number")returna(e,mt(r));returna(e,mt({r:r,c:t||0}))}e.sheet_get_cell=a;functionn(e,r){if(typeofr=="number"){if(r>=0&&e.SheetNames.length>r)returnr;thrownewError("Cannot find sheet # "+r)}elseif(typeofr=="string"){vart=e.SheetNames.indexOf(r);if(t>-1)returnt;thrownewError("Cannot find sheet name |"+r+"|")}elsethrownewError("Cannot find sheet |"+r+"|")}e.book_new=function(){return{SheetNames:[],Sheets:{}}};e.book_append_sheet=function(e,r,t){if(!t)for(vara=1;a<=65535;++a,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+a)==-1)break;if(!t||e.SheetNames.length>=65535)thrownewError("Too many worksheets");us(t);if(e.SheetNames.indexOf(t)>=0)thrownewError("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r};e.book_set_sheet_visibility=function(e,r,a){t(e,"Workbook",{});t(e.Workbook,"Sheets",[]);vari=n(e,r);t(e.Workbook.Sheets,i,{});switch(a){case0:;case1:;case2:break;default:thrownewError("Bad sheet visibility setting "+a);}e.Workbook.Sheets[i].Hidden=a};r([["SHEET_VISIBLE",0],["SHEET_HIDDEN",1],["SHEET_VERY_HIDDEN",2]]);e.cell_set_number_format=function(e,r){e.z=r;returne};e.cell_set_hyperlink=function(e,r,t){if(!r){deletee.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}returne};e.cell_set_internal_link=function(r,t,a){returne.cell_set_hyperlink(r,"#"+t,a)};e.cell_add_comment=function(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})};e.sheet_set_array_formula=function(e,r,t){varn=typeofr!="string"?r:bt(r);vari=typeofr=="string"?r:gt(r);for(vars=n.s.r;s<=n.e.r;++s)for(varl=n.s.c;l<=n.e.c;++l){varo=a(e,s,l);o.t="n";o.F=i;deleteo.v;if(s==n.s.r&&l==n.s.c)o.f=t}returne};returne})(jl);if(typeofparse_x