>>=3){case 16:s=3+K(e,t),t+=2,p=g[g.length-1];while(s-- >0)g.push(p);break;case 17:s=3+Y(e,t),t+=3;while(s-- >0)g.push(0);break;case 18:s=11+q(e,t),t+=7;while(s-- >0)g.push(0);break;default:g.push(p),o>>0,l=0,o=0;while(0==(1&n))if(n=Y(e,r),r+=3,n>>>1!=0)for(n>>1==1?(l=9,o=5):(r=xe(e,r),l=ke,o=_e);;){!t&&i>>1==1?ve[c]:Se[c];if(r+=15&f,f>>>=4,0===(f>>>8&255))a[s++]=f;else{if(256==f)break;f-=257;var h=f<8?0:f-4>>2;h>5&&(h=0);var u=s+H[f];h>0&&(u+=Q(e,r,h),r+=h),c=Q(e,r,o),f=n>>>1==1?Te[c]:Ae[c],r+=15&f,f>>>=4;var p=f<4?0:f-2>>1,d=G[f];p>0&&(d+=Q(e,r,p),r+=p),!t&&i>>3]|e[1+(r>>>3)]<<8;if(r+=32,m>0){!t&&i0)a[s++]=e[r>>>3],r+=8}}return t?[a,r+7>>>3]:[a.slice(0,s),r+7>>>3]}function Ce(e,t){var r=e.slice(e.l||0),n=Oe(r,t);return e.l+=n[1],n[0]}function Re(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function Ie(e,t){var r=e;un(r,0);var n=[],a=[],s={FileIndex:n,FullPaths:a};S(s,{root:t.root});var i=r.length-4;while((80!=r[i]||75!=r[i+1]||5!=r[i+2]||6!=r[i+3])&&i>=0)--i;r.l=i+4,r.l+=4;var o=r.read_shift(2);r.l+=6;var c=r.read_shift(4);for(r.l=c,i=0;i0)if(r=r.slice(0,r.length-1),r=r.slice(0,r.lastIndexOf("/")+1),s.slice(0,r.length)==r)break;var i=(n[1]||"").match(/boundary="(.*?)"/);if(!i)throw new Error("MAD cannot find boundary");var l="--"+(i[1]||""),o=[],c=[],f={FileIndex:o,FullPaths:c};S(f);var h,u=0;for(a=0;a=32&&p<128&&++h;var m=h>=4*u/5;a.push(n),a.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+i),a.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),a.push("Content-Type: "+Le(l,i)),a.push(""),a.push(m?Fe(f):Me(f))}return a.push(n+"--\r\n"),a.join("\r\n")}function Ge(e){var t={};return S(t,e),t}function Ve(e,t,r,n){var s=n&&n.unsafe;s||S(e);var i=!s&&Ot.find(e,t);if(!i){var l=e.FullPaths[0];t.slice(0,l.length)==l?l=t:("/"!=l.slice(-1)&&(l+="/"),l=(l+t).replace("//","/")),i={name:a(t),type:2},e.FileIndex.push(i),e.FullPaths.push(l),s||Ot.utils.cfb_gc(e)}return i.content=r,i.size=r?r.length:0,n&&(n.CLSID&&(i.clsid=n.CLSID),n.mt&&(i.mt=n.mt),n.ct&&(i.ct=n.ct)),i}function je(e,t){S(e);var r=Ot.find(e,t);if(r)for(var n=0;n0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):t<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==jt.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],s=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(s=new Date(s.getTime()-60*s.getTimezoneOffset()*1e3)),s}function Xt(e,t){if(ae&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return Tr(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return Tr(Y(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return Tr(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return Tr(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"","‚":"","ƒ":"","„":"","…":"
","†":"","‡":"","ˆ":"","‰":"","Š":"","‹":"","Œ":"","Ž":"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"","š":"","›":"","œ":"","ž":"","Ÿ":""};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return r[e]||e}))}catch(s){}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function Kt(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Kt(e[r]));return t}function Yt(e,t){var r="";while(r.length3&&-1==Jt.indexOf(i))return r}else if(i.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||s>1)&&101!=n?t:e.match(/[^-0-9:,\/\\]/)?r:t}function Qt(e,t,r){if(e.FullPaths){var n;if("string"==typeof r)return n=ae?se(r):pe(r),Ot.utils.cfb_add(e,t,n);Ot.utils.cfb_add(e,t,r)}else e.file(t,r)}function er(){return Ot.utils.cfb_new()}var tr='\r\n';var rr={""":'"',"'":"'",">":">","<":"<","&":"&"},nr=Pt(rr),ar=/[&<>'"]/g,sr=/[\u0000-\u0008\u000b-\u001f]/g;function ir(e){var t=e+"";return t.replace(ar,(function(e){return nr[e]})).replace(sr,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function lr(e){return ir(e).replace(/ /g,"_x0020_")}var or=/[\u0000-\u001f]/g;function cr(e){var t=e+"";return t.replace(ar,(function(e){return nr[e]})).replace(/\n/g,"
").replace(or,(function(e){return""+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}function fr(e){var t=e+"";return t.replace(ar,(function(e){return nr[e]})).replace(or,(function(e){return""+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}function hr(e){return e.replace(/(\r\n|[\r\n])/g,"
")}function ur(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function pr(e){var t="",r=0,n=0,a=0,s=0,i=0,l=0;while(r191&&n<224?(i=(31&n)<<6,i|=63&a,t+=String.fromCharCode(i)):(s=e.charCodeAt(r++),n<240?t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&s):(i=e.charCodeAt(r++),l=((7&n)<<18|(63&a)<<12|(63&s)<<6|63&i)-65536,t+=String.fromCharCode(55296+(l>>>10&1023)),t+=String.fromCharCode(56320+(1023&l)))));return t}function dr(e){var t,r,n,a=ie(2*e.length),s=1,i=0,l=0;for(r=0;r>>10&1023),t=56320+(1023&t)),0!==l&&(a[i++]=255&l,a[i++]=l>>>8,l=0),a[i++]=t%256,a[i++]=t>>>8;return a.slice(0,i).toString("ucs2")}function mr(e){return se(e,"binary").toString("utf8")}var gr="foo bar bazâð£",vr=ae&&(mr(gr)==pr(gr)&&mr||dr(gr)==pr(gr)&&dr)||pr,Tr=ae?function(e){return se(e,"utf8").toString("binary")}:function(e){var t=[],r=0,n=0,a=0;while(r>6))),t.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")},br=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var r=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+/g,"\n").replace(/<[^>]*>/g,""),n=0;n"+t+""+e+">"}function Sr(e){return Nt(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function Ar(e,t,r){return"<"+e+(null!=r?Sr(r):"")+(null!=t?(t.match(wr)?' xml:space="preserve"':"")+">"+t+""+e:"/")+">"}function yr(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function kr(e,t){switch(typeof e){case"string":var r=Ar("vt:lpwstr",ir(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return Ar((0|e)==e?"vt:i4":"vt:r8",ir(String(e)));case"boolean":return Ar("vt:bool",e?"true":"false")}if(e instanceof Date)return Ar("vt:filetime",yr(e));throw new Error("Unable to serialize "+e)}var _r={CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/metadata/core-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties",CT:"http://schemas.openxmlformats.org/package/2006/content-types",RELS:"http://schemas.openxmlformats.org/package/2006/relationships",TCMNT:"http://schemas.microsoft.com/office/spreadsheetml/2018/threadedcomments",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"},xr=["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"],Or={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"};function Cr(e,t){for(var r=1-2*(e[t+7]>>>7),n=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],s=5;s>=0;--s)a=256*a+e[t+s];return 2047==n?0==a?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}function Rr(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,s=0,i=n?-t:t;isFinite(i)?0==i?a=s=0:(a=Math.floor(Math.log(i)/Math.LN2),s=i*Math.pow(2,52-a),a<=-1023&&(!isFinite(s)||s>4|n}var Ir=function(e){for(var t=[],r=10240,n=0;n0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:se(e)}))):Ir(e)}:Ir,Dr=function(e,t,r){for(var n=[],a=t;a0?Ur(e,t+4,t+4+r-1):""},Wr=Br,Hr=function(e,t){var r=rn(e,t);return r>0?Ur(e,t+4,t+4+r-1):""},Gr=Hr,Vr=function(e,t){var r=2*rn(e,t);return r>0?Ur(e,t+4,t+4+r-1):""},jr=Vr,zr=function(e,t){var r=rn(e,t);return r>0?Pr(e,t+4,t+4+r):""},$r=zr,Xr=function(e,t){var r=rn(e,t);return r>0?Ur(e,t+4,t+4+r):""},Kr=Xr,Yr=function(e,t){return Cr(e,t)},Zr=Yr,Jr=function(e){return Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array};function qr(){Pr=function(e,t,r){return Z.utils.decode(1200,e.slice(t,r)).replace(de,"")},Ur=function(e,t,r){return Z.utils.decode(65001,e.slice(t,r))},Wr=function(e,t){var r=rn(e,t);return r>0?Z.utils.decode(H,e.slice(t+4,t+4+r-1)):""},Gr=function(e,t){var r=rn(e,t);return r>0?Z.utils.decode(W,e.slice(t+4,t+4+r-1)):""},jr=function(e,t){var r=2*rn(e,t);return r>0?Z.utils.decode(1200,e.slice(t+4,t+4+r-1)):""},$r=function(e,t){var r=rn(e,t);return r>0?Z.utils.decode(1200,e.slice(t+4,t+4+r)):""},Kr=function(e,t){var r=rn(e,t);return r>0?Z.utils.decode(65001,e.slice(t+4,t+4+r)):""}}ae&&(Wr=function(e,t){if(!Buffer.isBuffer(e))return Br(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},Gr=function(e,t){if(!Buffer.isBuffer(e))return Hr(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},jr=function(e,t){if(!Buffer.isBuffer(e))return Vr(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},$r=function(e,t){if(!Buffer.isBuffer(e))return zr(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},Kr=function(e,t){if(!Buffer.isBuffer(e))return Xr(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},Zr=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):Yr(e,t)},Jr=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array}),"undefined"!==typeof Z&&qr();var Qr=function(e,t){return e[t]},en=function(e,t){return 256*e[t+1]+e[t]},tn=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},rn=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},nn=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},an=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function sn(e,t){var r,n,a,s,i,l,o="",c=[];switch(t){case"dbcs":if(l=this.l,ae&&Buffer.isBuffer(this))o=this.slice(this.l,this.l+2*e).toString("utf16le");else for(i=0;i0?nn:an)(this,this.l),this.l+=4,r):(n=rn(this,this.l),this.l+=4,n);case 8:case-8:if("f"===t)return n=8==e?Zr(this,this.l):Zr([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0),this.l+=8,n;e=8;case 16:o=Mr(this,this.l,e);break}}return this.l+=e,o}var ln=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},on=function(e,t,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},cn=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function fn(e,t,r){var n=0,a=0;if("dbcs"===r){for(a=0;a!=t.length;++a)cn(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if("sbcs"===r){if("undefined"!==typeof Z&&874==H)for(a=0;a!=t.length;++a){var s=Z.utils.encode(H,t.charAt(a));this[this.l+a]=s[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=255&t.charCodeAt(a);n=t.length}else{if("hex"===r){for(;a>8}while(this.l>>=8,this[this.l+1]=255&t;break;case 3:n=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:n=4,ln(this,t,this.l);break;case 8:if(n=8,"f"===r){Rr(this,t,this.l);break}case 16:break;case-4:n=4,on(this,t,this.l);break}}return this.l+=n,this}function hn(e,t){var r=Mr(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function un(e,t){e.l=t,e.read_shift=sn,e.chk=hn,e.write_shift=fn}function pn(e,t){e.l+=t}function dn(e){var t=ie(e);return un(t,0),t}function mn(){var e=[],t=ae?256:2048,r=function(e){var t=dn(e);return un(t,0),t},n=r(t),a=function(){n&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},s=function(e){return n&&e=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var i=e.next(a);s<=127?i.write_shift(1,s):(i.write_shift(1,128+(127&s)),i.write_shift(1,s>>7));for(var l=0;4!=l;++l){if(!(n>=128)){i.write_shift(1,n);break}i.write_shift(1,128+(127&n)),n>>=7}n>0&&Jr(r)&&e.push(r)}}function vn(e,t,r){var n=Kt(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){while(n.c>=256)n.c-=256;while(n.r>=65536)n.r-=65536}return n}function Tn(e,t,r){var n=Kt(e);return n.s=vn(n.s,t.s,r),n.e=vn(n.e,t.s,r),n}function bn(e,t){if(e.cRel&&e.c<0){e=Kt(e);while(e.c<0)e.c+=t>8?16384:256}if(e.rRel&&e.r<0){e=Kt(e);while(e.r<0)e.r+=t>8?1048576:t>5?65536:16384}var r=In(e);return e.cRel||null==e.cRel||(r=xn(r)),e.rRel||null==e.rRel||(r=An(r)),r}function wn(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?bn(e.s,t.biff)+":"+bn(e.e,t.biff):(e.s.rRel?"":"$")+Sn(e.s.r)+":"+(e.e.rRel?"":"$")+Sn(e.e.r):(e.s.cRel?"":"$")+_n(e.s.c)+":"+(e.e.cRel?"":"$")+_n(e.e.c)}function En(e){return parseInt(yn(e),10)-1}function Sn(e){return""+(e+1)}function An(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function yn(e){return e.replace(/\$(\d+)$/,"$1")}function kn(e){for(var t=On(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function _n(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function xn(e){return e.replace(/^([A-Z])/,"$$$1")}function On(e){return e.replace(/^\$([A-Z])/,"$1")}function Cn(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Rn(e){for(var t=0,r=0,n=0;n=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function In(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function Nn(e){var t=e.indexOf(":");return-1==t?{s:Rn(e),e:Rn(e)}:{s:Rn(e.slice(0,t)),e:Rn(e.slice(t+1))}}function Dn(e,t){return"undefined"===typeof t||"number"===typeof t?Dn(e.s,e.e):("string"!==typeof e&&(e=In(e)),"string"!==typeof t&&(t=In(t)),e==t?e:e+":"+t)}function Pn(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,s=e.length;for(r=0;n26)break;r=26*r+a}for(t.s.c=--r,r=0;n9)break;r=10*r+a}if(t.s.r=--r,n===s||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=s;++n){if((a=e.charCodeAt(n)-64)<1||a>26)break;r=26*r+a}for(t.e.c=--r,r=0;n!=s;++n){if((a=e.charCodeAt(n)-48)<0||a>9)break;r=10*r+a}return t.e.r=--r,t}function Ln(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=wt(e.z,r?Ut(t):t)}catch(n){}try{return e.w=wt((e.XF||{}).numFmtId||(r?14:0),r?Ut(t):t)}catch(n){return""+t}}function Mn(e,t,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?Pa[e.v]||e.v:Ln(e,void 0==t?e.v:t))}function Fn(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Un(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense;null!=Q&&null==a&&(a=Q);var s=e||(a?[]:{}),i=0,l=0;if(s&&null!=n.origin){if("number"==typeof n.origin)i=n.origin;else{var o="string"==typeof n.origin?Rn(n.origin):n.origin;i=o.r,l=o.c}s["!ref"]||(s["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var f=Pn(s["!ref"]);c.s.c=f.s.c,c.s.r=f.s.r,c.e.c=Math.max(c.e.c,f.e.c),c.e.r=Math.max(c.e.r,f.e.r),-1==i&&(c.e.r=i=f.e.r+1)}for(var h=0;h!=t.length;++h)if(t[h]){if(!Array.isArray(t[h]))throw new Error("aoa_to_sheet expects an array of arrays");for(var u=0;u!=t[h].length;++u)if("undefined"!==typeof t[h][u]){var p={v:t[h][u]},d=i+h,m=l+u;if(c.s.r>d&&(c.s.r=d),c.s.c>m&&(c.s.c=m),c.e.r0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function jn(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function zn(e,t){return t||(t=dn(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0),t}function $n(e,t){var r=e.l,n=e.read_shift(1),a=Gn(e),s=[],i={t:a,h:a};if(0!==(1&n)){for(var l=e.read_shift(4),o=0;o!=l;++o)s.push(jn(e));i.r=s}else i.r=[{ich:0,ifnt:0}];return e.l=r+t,i}function Xn(e,t){var r=!1;return null==t&&(r=!0,t=dn(15+4*e.t.length)),t.write_shift(1,0),Vn(e.t,t),r?t.slice(0,t.l):t}var Kn=$n;function Yn(e,t){var r=!1;return null==t&&(r=!0,t=dn(23+4*e.t.length)),t.write_shift(1,1),Vn(e.t,t),t.write_shift(4,1),zn({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function Zn(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function Jn(e,t){return null==t&&(t=dn(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function qn(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function Qn(e,t){return null==t&&(t=dn(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var ea=Gn,ta=Vn;function ra(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function na(e,t){var r=!1;return null==t&&(r=!0,t=dn(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var aa=Gn,sa=ra,ia=na;function la(e){var t=e.slice(e.l,e.l+4),r=1&t[0],n=2&t[0];e.l+=4;var a=0===n?Zr([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):nn(t,0)>>2;return r?a/100:a}function oa(e,t){null==t&&(t=dn(4));var r=0,n=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?n=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),!n)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((r?a:e)<<2)+(r+2))}function ca(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function fa(e,t){return t||(t=dn(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var ha=ca,ua=fa;function pa(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function da(e,t){return(t||dn(8)).write_shift(8,e,"f")}function ma(e){var t={},r=e.read_shift(1),n=r>>>1,a=e.read_shift(1),s=e.read_shift(2,"i"),i=e.read_shift(1),l=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=a;var c=Da[a];c&&(t.rgb=mi(c));break;case 2:t.rgb=mi([i,l,o]);break;case 3:t.theme=a;break}return 0!=s&&(t.tint=s>0?s/32767:s/32768),t}function ga(e,t){if(t||(t=dn(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),e.rgb&&null==e.theme){var n=e.rgb||"FFFFFF";"number"==typeof n&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}function va(e){var t=e.read_shift(1);e.l++;var r={fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t};return r}function Ta(e,t){t||(t=dn(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}var ba=2,wa=3,Ea=11,Sa=19,Aa=64,ya=65,ka=71,_a=4108,xa=4126,Oa=80,Ca={1:{n:"CodePage",t:ba},2:{n:"Category",t:Oa},3:{n:"PresentationFormat",t:Oa},4:{n:"ByteCount",t:wa},5:{n:"LineCount",t:wa},6:{n:"ParagraphCount",t:wa},7:{n:"SlideCount",t:wa},8:{n:"NoteCount",t:wa},9:{n:"HiddenCount",t:wa},10:{n:"MultimediaClipCount",t:wa},11:{n:"ScaleCrop",t:Ea},12:{n:"HeadingPairs",t:_a},13:{n:"TitlesOfParts",t:xa},14:{n:"Manager",t:Oa},15:{n:"Company",t:Oa},16:{n:"LinksUpToDate",t:Ea},17:{n:"CharacterCount",t:wa},19:{n:"SharedDoc",t:Ea},22:{n:"HyperlinksChanged",t:Ea},23:{n:"AppVersion",t:wa,p:"version"},24:{n:"DigSig",t:ya},26:{n:"ContentType",t:Oa},27:{n:"ContentStatus",t:Oa},28:{n:"Language",t:Oa},29:{n:"Version",t:Oa},255:{},2147483648:{n:"Locale",t:Sa},2147483651:{n:"Behavior",t:Sa},1919054434:{}},Ra={1:{n:"CodePage",t:ba},2:{n:"Title",t:Oa},3:{n:"Subject",t:Oa},4:{n:"Author",t:Oa},5:{n:"Keywords",t:Oa},6:{n:"Comments",t:Oa},7:{n:"Template",t:Oa},8:{n:"LastAuthor",t:Oa},9:{n:"RevNumber",t:Oa},10:{n:"EditTime",t:Aa},11:{n:"LastPrinted",t:Aa},12:{n:"CreatedDate",t:Aa},13:{n:"ModifiedDate",t:Aa},14:{n:"PageCount",t:wa},15:{n:"WordCount",t:wa},16:{n:"CharCount",t:wa},17:{n:"Thumbnail",t:ka},18:{n:"Application",t:Oa},19:{n:"DocSecurity",t:wa},255:{},2147483648:{n:"Locale",t:Sa},2147483651:{n:"Behavior",t:Sa},1919054434:{}};function Ia(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var Na=Ia([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Da=Kt(Na),Pa={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},La={"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml":"workbooks","application/vnd.ms-excel.sheet.macroEnabled.main+xml":"workbooks","application/vnd.ms-excel.sheet.binary.macroEnabled.main":"workbooks","application/vnd.ms-excel.addin.macroEnabled.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml":"workbooks","application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml":"sheets","application/vnd.ms-excel.worksheet":"sheets","application/vnd.ms-excel.binIndexWs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml":"charts","application/vnd.ms-excel.chartsheet":"charts","application/vnd.ms-excel.macrosheet+xml":"macros","application/vnd.ms-excel.macrosheet":"macros","application/vnd.ms-excel.intlmacrosheet":"TODO","application/vnd.ms-excel.binIndexMs":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml":"dialogs","application/vnd.ms-excel.dialogsheet":"dialogs","application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml":"strs","application/vnd.ms-excel.sharedStrings":"strs","application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml":"styles","application/vnd.ms-excel.styles":"styles","application/vnd.openxmlformats-package.core-properties+xml":"coreprops","application/vnd.openxmlformats-officedocument.custom-properties+xml":"custprops","application/vnd.openxmlformats-officedocument.extended-properties+xml":"extprops","application/vnd.openxmlformats-officedocument.customXmlProperties+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml":"comments","application/vnd.ms-excel.comments":"comments","application/vnd.ms-excel.threadedcomments+xml":"threadedcomments","application/vnd.ms-excel.person+xml":"people","application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml":"metadata","application/vnd.ms-excel.sheetMetadata":"metadata","application/vnd.ms-excel.pivotTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.chart+xml":"TODO","application/vnd.ms-office.chartcolorstyle+xml":"TODO","application/vnd.ms-office.chartstyle+xml":"TODO","application/vnd.ms-office.chartex+xml":"TODO","application/vnd.ms-excel.calcChain":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml":"calcchains","application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings":"TODO","application/vnd.ms-office.activeX":"TODO","application/vnd.ms-office.activeX+xml":"TODO","application/vnd.ms-excel.attachedToolbars":"TODO","application/vnd.ms-excel.connections":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml":"TODO","application/vnd.ms-excel.externalLink":"links","application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml":"links","application/vnd.ms-excel.pivotCacheDefinition":"TODO","application/vnd.ms-excel.pivotCacheRecords":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml":"TODO","application/vnd.ms-excel.queryTable":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml":"TODO","application/vnd.ms-excel.userNames":"TODO","application/vnd.ms-excel.revisionHeaders":"TODO","application/vnd.ms-excel.revisionLog":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml":"TODO","application/vnd.ms-excel.tableSingleCells":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml":"TODO","application/vnd.ms-excel.slicer":"TODO","application/vnd.ms-excel.slicerCache":"TODO","application/vnd.ms-excel.slicer+xml":"TODO","application/vnd.ms-excel.slicerCache+xml":"TODO","application/vnd.ms-excel.wsSortMap":"TODO","application/vnd.ms-excel.table":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml":"TODO","application/vnd.openxmlformats-officedocument.theme+xml":"themes","application/vnd.openxmlformats-officedocument.themeOverride+xml":"TODO","application/vnd.ms-excel.Timeline+xml":"TODO","application/vnd.ms-excel.TimelineCache+xml":"TODO","application/vnd.ms-office.vbaProject":"vba","application/vnd.ms-office.vbaProjectSignature":"TODO","application/vnd.ms-office.volatileDependencies":"TODO","application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml":"TODO","application/vnd.ms-excel.controlproperties+xml":"TODO","application/vnd.openxmlformats-officedocument.model+data":"TODO","application/vnd.ms-excel.Survey+xml":"TODO","application/vnd.openxmlformats-officedocument.drawing+xml":"drawings","application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml":"TODO","application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml":"TODO","application/vnd.openxmlformats-officedocument.vmlDrawing":"TODO","application/vnd.openxmlformats-package.relationships+xml":"rels","application/vnd.openxmlformats-officedocument.oleObject":"TODO","image/png":"TODO",sheet:"js"},Ma={workbooks:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml",xlsm:"application/vnd.ms-excel.sheet.macroEnabled.main+xml",xlsb:"application/vnd.ms-excel.sheet.binary.macroEnabled.main",xlam:"application/vnd.ms-excel.addin.macroEnabled.main+xml",xltx:"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml"},strs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml",xlsb:"application/vnd.ms-excel.sharedStrings"},comments:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml",xlsb:"application/vnd.ms-excel.comments"},sheets:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml",xlsb:"application/vnd.ms-excel.worksheet"},charts:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml",xlsb:"application/vnd.ms-excel.chartsheet"},dialogs:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml",xlsb:"application/vnd.ms-excel.dialogsheet"},macros:{xlsx:"application/vnd.ms-excel.macrosheet+xml",xlsb:"application/vnd.ms-excel.macrosheet"},metadata:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml",xlsb:"application/vnd.ms-excel.sheetMetadata"},styles:{xlsx:"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml",xlsb:"application/vnd.ms-excel.styles"}};function Fa(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Ua(e,t){var r,n=Mt(La),a=[];a[a.length]=tr,a[a.length]=Ar("Types",null,{xmlns:_r.CT,"xmlns:xsd":_r.xsd,"xmlns:xsi":_r.xsi}),a=a.concat([["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","application/vnd.openxmlformats-package.relationships+xml"]].map((function(e){return Ar("Default",null,{Extension:e[0],ContentType:e[1]})})));var s=function(n){e[n]&&e[n].length>0&&(r=e[n][0],a[a.length]=Ar("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:Ma[n][t.bookType]||Ma[n]["xlsx"]}))},i=function(r){(e[r]||[]).forEach((function(e){a[a.length]=Ar("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Ma[r][t.bookType]||Ma[r]["xlsx"]})}))},l=function(t){(e[t]||[]).forEach((function(e){a[a.length]=Ar("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:n[t][0]})}))};return s("workbooks"),i("sheets"),i("charts"),l("themes"),["strs","styles"].forEach(s),["coreprops","extprops","custprops"].forEach(l),l("vba"),l("comments"),l("threadedcomments"),l("drawings"),i("metadata"),l("people"),a.length>2&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}var Ba={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",CMNT:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments",CORE_PROPS:"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",EXT_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",CUST_PROPS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties",SST:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings",STY:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",THEME:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",CHART:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart",CHARTEX:"http://schemas.microsoft.com/office/2014/relationships/chartEx",CS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet",WS:["http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet","http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet"],DS:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet",MS:"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet",IMG:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",DRAW:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing",XLMETA:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sheetMetadata",TCMNT:"http://schemas.microsoft.com/office/2017/10/relationships/threadedComment",PEOPLE:"http://schemas.microsoft.com/office/2017/10/relationships/person",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function Wa(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function Ha(e){var t=[tr,Ar("Relationships",null,{xmlns:_r.RELS})];return Nt(e["!id"]).forEach((function(r){t[t.length]=Ar("Relationship",null,e["!id"][r])})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function Ga(e,t,r,n,a,s){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,s?a.TargetMode=s:[Ba.HLINK,Ba.XPATH,Ba.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function Va(e){var t=[tr];t.push('\n'),t.push(' \n');for(var r=0;r\n');return t.push(""),t.join("")}function ja(e,t,r){return[' \n',' \n'," \n"].join("")}function za(e,t){return[' \n',' \n'," \n"].join("")}function $a(e){var t=[tr];t.push('\n');for(var r=0;r!=e.length;++r)t.push(ja(e[r][0],e[r][1])),t.push(za("",e[r][0]));return t.push(ja("","Document","pkg")),t.push(""),t.join("")}function Xa(){return'SheetJS '+B.version+""}var Ka=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function Ya(e,t,r,n,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=ir(t),n[n.length]=r?Ar(e,t,r):Er(e,t))}function Za(e,t){var r=t||{},n=[tr,Ar("cp:coreProperties",null,{"xmlns:cp":_r.CORE_PROPS,"xmlns:dc":_r.dc,"xmlns:dcterms":_r.dcterms,"xmlns:dcmitype":_r.dcmitype,"xmlns:xsi":_r.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(null!=e.CreatedDate&&Ya("dcterms:created","string"===typeof e.CreatedDate?e.CreatedDate:yr(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),null!=e.ModifiedDate&&Ya("dcterms:modified","string"===typeof e.ModifiedDate?e.ModifiedDate:yr(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var s=0;s!=Ka.length;++s){var i=Ka[s],l=r.Props&&null!=r.Props[i[1]]?r.Props[i[1]]:e?e[i[1]]:null;!0===l?l="1":!1===l?l="0":"number"==typeof l&&(l=String(l)),null!=l&&Ya(i[0],l,null,n,a)}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var Ja=[["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"]],qa=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Qa(e){var t=[],r=Ar;return e||(e={}),e.Application="SheetJS",t[t.length]=tr,t[t.length]=Ar("Properties",null,{xmlns:_r.EXT_PROPS,"xmlns:vt":_r.vt}),Ja.forEach((function(n){if(void 0!==e[n[1]]){var a;switch(n[2]){case"string":a=ir(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false";break}void 0!==a&&(t[t.length]=r(n[0],a))}})),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","Worksheets")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map((function(e){return""+ir(e)+""})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function es(e){var t=[tr,Ar("Properties",null,{xmlns:_r.CUST_PROPS,"xmlns:vt":_r.vt})];if(!e)return t.join("");var r=1;return Nt(e).forEach((function(n){++r,t[t.length]=Ar("property",kr(e[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:ir(n)})})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var ts={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function rs(e,t){var r=[];return Nt(ts).map((function(e){for(var t=0;t'+a.join("")+""+n+">"}function as(e){var t="string"==typeof e?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,n=r%Math.pow(2,32),a=(r-n)/Math.pow(2,32);n*=1e7,a*=1e7;var s=n/Math.pow(2,32)|0;s>0&&(n%=Math.pow(2,32),a+=s);var i=dn(8);return i.write_shift(4,n),i.write_shift(4,a),i}function ss(e,t){var r=dn(4),n=dn(4);switch(r.write_shift(4,80==e?31:e),e){case 3:n.write_shift(-4,t);break;case 5:n=dn(8),n.write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=as(t);break;case 31:case 80:n=dn(4+2*(t.length+1)+(t.length%2?0:2)),n.write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");while(n.l!=n.length)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return ue([r,n])}var is=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function ls(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function os(e,t,r){var n=dn(8),a=[],s=[],i=8,l=0,o=dn(8),c=dn(8);if(o.write_shift(4,2),o.write_shift(4,1200),c.write_shift(4,1),s.push(o),a.push(c),i+=8+o.length,!t){c=dn(8),c.write_shift(4,0),a.unshift(c);var f=[dn(4)];for(f[0].write_shift(4,e.length),l=0;l-1||qa.indexOf(e[l][0])>-1)&&null!=e[l][1]){var u=e[l][1],p=0;if(t){p=+t[e[l][0]];var d=r[p];if("version"==d.p&&"string"==typeof u){var m=u.split(".");u=(+m[0]<<16)+(+m[1]||0)}o=ss(d.t,u)}else{var g=ls(u);-1==g&&(g=31,u=String(u)),o=ss(g,u)}s.push(o),c=dn(8),c.write_shift(4,t?p:2+l),a.push(c),i+=8+o.length}var v=8*(s.length+1);for(l=0;l=12?2:1),a="sbcs-cont",s=W;if(r&&r.biff>=8&&(W=1200),r&&8!=r.biff)12==r.biff&&(a="wstr");else{var i=e.read_shift(1);i&&(a="dbcs-cont")}r.biff>=2&&r.biff<=5&&(a="cpstr");var l=n?e.read_shift(n,a):"";return W=s,l}function vs(e){var t=e.t||"",r=1,n=dn(3+(r>1?2:0));n.write_shift(2,t.length),n.write_shift(1,1|(r>1?8:0)),r>1&&n.write_shift(2,r);var a=dn(2*t.length);a.write_shift(2*t.length,t,"utf16le");var s=[n,a];return ue(s)}function Ts(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var a=e.read_shift(1);return n=0===a?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont"),n}function bs(e,t,r){var n=e.read_shift(r&&2==r.biff?1:2);return 0===n?(e.l++,""):Ts(e,n,r)}function ws(e,t,r){if(r.biff>5)return bs(e,t,r);var n=e.read_shift(1);return 0===n?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Es(e,t,r){return r||(r=dn(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Ss(e,t){t||(t=dn(6+2*e.length)),t.write_shift(4,1+e.length);for(var r=0;r-1?31:23;switch(n.charAt(0)){case"#":s=28;break;case".":s&=-3;break}t.write_shift(4,2),t.write_shift(4,s);var i=[8,6815827,6619237,4849780,83];for(r=0;r-1?n.slice(0,a):n;for(t.write_shift(4,2*(l.length+1)),r=0;r-1?n.slice(a+1):"",t)}else{for(i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r8?4:2,a=e.read_shift(n),s=e.read_shift(n,"i"),i=e.read_shift(n,"i");return[a,s,i]}function _s(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2);return{s:{c:n,r:t},e:{c:a,r:r}}}function xs(e,t){return t||(t=dn(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function Os(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var s=dn(a);return s.write_shift(2,n),s.write_shift(2,t),a>4&&s.write_shift(2,29282),a>6&&s.write_shift(2,1997),a>8&&(s.write_shift(2,49161),s.write_shift(2,1),s.write_shift(2,1798),s.write_shift(2,0)),s}function Cs(e,t){var r=!t||8==t.biff,n=dn(r?112:54);n.write_shift(8==t.biff?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));while(n.l=8?2:1,n=dn(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function Is(e,t){var r=dn(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var n=[],a=0;an.l?n.slice(0,n.l):n;return null==s.l&&(s.l=s.length),s}function Us(e,t){var r=8!=t.biff&&t.biff?2:4,n=dn(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function Bs(e,t,r,n){var a=r&&5==r.biff;n||(n=dn(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var s=0;return e.numFmtId>0&&a&&(s|=1024),n.write_shift(4,s),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function Ws(e){var t=dn(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}function Hs(e,t,r,n,a,s){var i=dn(8);return ys(e,t,n,i),ms(r,s,i),i}function Gs(e,t,r,n){var a=dn(14);return ys(e,t,n,a),da(r,a),a}function Vs(e,t,r){if(r.biff<8)return js(e,t,r);var n=[],a=e.l+t,s=e.read_shift(r.biff>8?4:2);while(0!==s--)n.push(ks(e,r.biff>8?12:6,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function js(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=gs(e,t,r);return 3==n.charCodeAt(0)?n.slice(1):n}function zs(e){var t=dn(2+8*e.length);t.write_shift(2,e.length);for(var r=0;r=12?4:2,a=e.read_shift(n),s=e.read_shift(n),i=e.read_shift(n),l=e.read_shift(n),o=e.read_shift(2);2==n&&(e.l+=2);var c={s:a,e:s,w:i,ixfe:l,flags:o};return(r.biff>=5||!r.biff)&&(c.level=o>>8&7),c}function Zs(e,t){var r=dn(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,256*e.width),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function Js(e){for(var t=dn(2*e),r=0;r1048576&&(c=1e6),2!=s&&(f=a.read_shift(2));var h=a.read_shift(2),u=r.codepage||1252;2!=s&&(a.l+=16,a.read_shift(1),0!==a[a.l]&&(u=e[a[a.l]]),a.l+=1,a.l+=2),o&&(a.l+=36);var p=[],d={},m=Math.min(a.length,2==s?521:f-10-(l?264:0)),g=o?32:11;while(a.l0)if(42!==a[a.l])for(++a.l,n[++v]=[],T=0,T=0;T!=p.length;++T){var b=a.slice(a.l,a.l+p[T].len);a.l+=p[T].len,un(b,0);var w=Z.utils.decode(u,b);switch(p[T].type){case"C":w.trim().length&&(n[v][T]=w.replace(/\s+$/,""));break;case"D":8===w.length?n[v][T]=new Date(+w.slice(0,4),+w.slice(4,6)-1,+w.slice(6,8)):n[v][T]=w;break;case"F":n[v][T]=parseFloat(w.trim());break;case"+":case"I":n[v][T]=o?2147483648^b.read_shift(-4,"i"):b.read_shift(4,"i");break;case"L":switch(w.trim().toUpperCase()){case"Y":case"T":n[v][T]=!0;break;case"N":case"F":n[v][T]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+w+"|")}break;case"M":if(!i)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[v][T]="##MEMO##"+(o?parseInt(w.trim(),10):b.read_shift(4));break;case"N":w=w.replace(/\u0000/g,"").trim(),w&&"."!=w&&(n[v][T]=+w||0);break;case"@":n[v][T]=new Date(b.read_shift(-8,"f")-621356832e5);break;case"T":n[v][T]=new Date(864e5*(b.read_shift(4)-2440588)+b.read_shift(4));break;case"Y":n[v][T]=b.read_shift(4,"i")/1e4+b.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":n[v][T]=-b.read_shift(-8,"f");break;case"B":if(l&&8==p[T].len){n[v][T]=b.read_shift(8,"f");break}case"G":case"P":b.l+=p[T].len;break;case"0":if("_NullFlags"===p[T].name)break;default:throw new Error("DBF Unsupported data type "+p[T].type)}}else a.l+=h;if(2!=s&&a.l=0&&X(+n.codepage),"string"==n.type)throw new Error("Cannot write DBF to JS string");var a=mn(),i=Qu(e,{header:1,raw:!0,cellDates:!0}),l=i[0],o=i.slice(1),c=e["!cols"]||[],f=0,h=0,u=0,p=1;for(f=0;f250&&(w=250),b=((c[f]||{}).DBF||{}).type,"C"==b&&c[f].DBF.len>w&&(w=c[f].DBF.len),"B"==T&&"N"==b&&(T="N",v[f]=c[f].DBF.dec,w=c[f].DBF.len),g[f]="C"==T||"N"==b?w:s[T]||0,p+=g[f],m[f]=T}else m[f]="?"}var S=a.next(32);for(S.write_shift(4,318902576),S.write_shift(4,o.length),S.write_shift(2,296+32*u),S.write_shift(2,p),f=0;f<4;++f)S.write_shift(4,0);for(S.write_shift(4,0|(+t[H]||3)<<8),f=0,h=0;f":190,"?":191,"{":223},t=new RegExp("N("+Nt(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(t,r){var n=e[r];return"number"==typeof n?q(n):n},n=function(e,t,r){var n=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?e:q(n)};function a(e,t){switch(t.type){case"base64":return s(ne(e),t);case"binary":return s(e,t);case"buffer":return s(ae&&Buffer.isBuffer(e)?e.toString("binary"):fe(e),t);case"array":return s(Xt(e),t)}throw new Error("Unrecognized type "+t.type)}function s(e,a){var s,i=e.split(/[\n\r]+/),l=-1,o=-1,c=0,f=0,h=[],u=[],p=null,d={},m=[],g=[],v=[],T=0;for(+a.codepage>=0&&X(+a.codepage);c!==i.length;++c){T=0;var b,w=i[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),E=w.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),S=E[0];if(w.length>0)switch(S){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":"P"==E[1].charAt(0)&&u.push(w.slice(3).replace(/;;/g,";"));break;case"C":var A=!1,y=!1,k=!1,_=!1,x=-1,O=-1;for(f=1;f-1&&h[x][O];if(!R||!R[1])throw new Error("SYLK shared formula cannot find base");h[l][o][1]=xl(R[1],{r:l-x,c:o-O})}break;case"F":var I=0;for(f=1;f0?(m[l].hpt=T,m[l].hpx=ki(T)):0===T&&(m[l].hidden=!0);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+w)}I<1&&(p=null);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+w)}}return m.length>0&&(d["!rows"]=m),g.length>0&&(d["!cols"]=g),a&&a.sheetRows&&(h=h.slice(0,a.sheetRows)),[h,d]}function i(e,t){var r=a(e,t),n=r[0],s=r[1],i=Bn(n,t);return Nt(s).forEach((function(e){i[e]=s[e]})),i}function l(e,t){return Fn(i(e,t),t)}function o(e,t,r,n){var a="C;Y"+(r+1)+";X"+(n+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+_l(e.f,{r:r,c:n}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return a}function c(e,t){t.forEach((function(t,r){var n="F;W"+(r+1)+" "+(r+1)+" ";t.hidden?n+="0":("number"!=typeof t.width||t.wpx||(t.wpx=Ti(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=bi(t.wpx)),"number"==typeof t.wch&&(n+=Math.round(t.wch)))," "!=n.charAt(n.length-1)&&e.push(n)}))}function f(e,t){t.forEach((function(t,r){var n="F;";t.hidden?n+="M0;":t.hpt?n+="M"+20*t.hpt+";":t.hpx&&(n+="M"+20*yi(t.hpx)+";"),n.length>2&&e.push(n+"R"+(r+1))}))}function h(e,t){var r,n=["ID;PWXL;N;E"],a=[],s=Pn(e["!ref"]),i=Array.isArray(e),l="\r\n";n.push("P;PGeneral"),n.push("F;P0;DG0G8;M255"),e["!cols"]&&c(n,e["!cols"]),e["!rows"]&&f(n,e["!rows"]),n.push("B;Y"+(s.e.r-s.s.r+1)+";X"+(s.e.c-s.s.c+1)+";D"+[s.s.c,s.s.r,s.e.c,s.e.r].join(" "));for(var h=s.s.r;h<=s.e.r;++h)for(var u=s.s.c;u<=s.e.c;++u){var p=In({r:h,c:u});r=i?(e[h]||[])[u]:e[p],r&&(null!=r.v||r.f&&!r.F)&&a.push(o(r,e,h,u,t))}return n.join(l)+l+a.join(l)+l+"E"+l}return e["|"]=254,{to_workbook:l,to_sheet:i,from_sheet:h}}(),ri=function(){function e(e,r){switch(r.type){case"base64":return t(ne(e),r);case"binary":return t(e,r);case"buffer":return t(ae&&Buffer.isBuffer(e)?e.toString("binary"):fe(e),r);case"array":return t(Xt(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){for(var r=e.split("\n"),n=-1,a=-1,s=0,i=[];s!==r.length;++s)if("BOT"!==r[s].trim()){if(!(n<0)){var l=r[s].trim().split(","),o=l[0],c=l[1];++s;var f=r[s]||"";while(1&(f.match(/["]/g)||[]).length&&s=0&&0===s[i].length)--i;for(var l=10,o=0,c=0;c<=i;++c)o=s[c].indexOf(" "),-1==o?o=s[c].length:o++,l=Math.max(l,o);for(c=0;c<=i;++c){a[c]=[];var f=0;for(e(s[c].slice(0,l).trim(),a,c,f,n),f=1;f<=(s[c].length-l)/10+1;++f)e(s[c].slice(l+10*(f-1),l+10*f).trim(),a,c,f,n)}return n.sheetRows&&(a=a.slice(0,n.sheetRows)),a}var r={44:",",9:"\t",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function a(e){for(var t={},a=!1,s=0,i=0;s0&&v(),s["!ref"]=Dn(i),s}function i(e,r){return r&&r.PRN?r.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?s(e,r):Bn(t(e,r),r):s(e,r)}function l(e,t){var r="",n="string"==t.type?[0,0,0,0]:Vu(e,t);switch(t.type){case"base64":r=ne(e);break;case"binary":r=e;break;case"buffer":r=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!==typeof Z?Z.utils.decode(t.codepage,e):ae&&Buffer.isBuffer(e)?e.toString("binary"):fe(e);break;case"array":r=Xt(e);break;case"string":r=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]?r=vr(r.slice(3)):"string"!=t.type&&"buffer"!=t.type&&65001==t.codepage?r=vr(r):"binary"==t.type&&"undefined"!==typeof Z&&t.codepage&&(r=Z.utils.decode(t.codepage,Z.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?ni.to_sheet("string"==t.type?r:vr(r),t):i(r,t)}function o(e,t){return Fn(l(e,t),t)}function c(e){for(var t,r=[],n=Pn(e["!ref"]),a=Array.isArray(e),s=n.s.r;s<=n.e.r;++s){for(var i=[],l=n.s.c;l<=n.e.c;++l){var o=In({r:s,c:l});if(t=a?(e[s]||[])[l]:e[o],t&&null!=t.v){var c=(t.w||(Mn(t),t.w)||"").slice(0,10);while(c.length<10)c+=" ";i.push(c+(0===l?" ":""))}else i.push(" ")}r.push(i.join(""))}return r.join("\n")}return{to_workbook:o,to_sheet:l,from_sheet:c}}();var si=function(){function e(e,t,r){if(e){un(e,e.l||0);var n=r.Enum||M;while(e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])n.Enum=M,e(t,(function(e,t,r){switch(r){case 0:n.vers=e,e>=4096&&(n.qpro=!0);break;case 6:h=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:n.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==r&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=n.dateNF||Oe[14],n.cellDates&&(e[1].t="d",e[1].v=Gt(e[1].v))),n.qpro&&e[3]>l&&(a["!ref"]=Dn(h),o[s]=a,c.push(s),a=n.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},l=e[3],s=i||"Sheet"+(l+1),i="");var f=n.dense?(a[e[0].r]||[])[e[0].c]:a[In(e[0])];if(f){f.t=e[1].t,f.v=e[1].v,null!=e[1].z&&(f.z=e[1].z),null!=e[1].f&&(f.f=e[1].f);break}n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[In(e[0])]=e[1];break;default:}}),n);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);n.Enum=F,14==t[2]&&(n.qpro=!0,t.l=0),e(t,(function(e,t,r){switch(r){case 204:s=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>l&&(a["!ref"]=Dn(h),o[s]=a,c.push(s),a=n.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},l=e[3],s="Sheet"+(l+1)),u>0&&e[0].r>=u)break;n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[In(e[0])]=e[1],h.e.c=0&&X(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var n=mn(),a=Pn(e["!ref"]),i=Array.isArray(e),l=[];Wh(n,0,s(1030)),Wh(n,6,o(a));for(var c=Math.min(a.e.r,8191),f=a.s.r;f<=c;++f)for(var u=Sn(f),d=a.s.c;d<=a.e.c;++d){f===a.s.r&&(l[d]=_n(d));var g=l[d]+u,v=i?(e[f]||[])[d]:e[g];if(v&&"z"!=v.t)if("n"==v.t)(0|v.v)==v.v&&v.v>=-32768&&v.v<=32767?Wh(n,13,p(f,d,v.v)):Wh(n,14,m(f,d,v.v));else{var T=Mn(v);Wh(n,15,h(f,d,T.slice(0,239)))}}return Wh(n,1),n.end()}function a(e,t){var r=t||{};if(+r.codepage>=0&&X(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var n=mn();Wh(n,0,i(e));for(var a=0,s=0;a8191&&(r=8191),t.write_shift(2,r),t.write_shift(1,a),t.write_shift(1,n),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}function l(e,t,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(n.s.c=e.read_shift(1),e.l++,n.s.r=e.read_shift(2),n.e.c=e.read_shift(1),e.l++,n.e.r=e.read_shift(2),n):(n.s.c=e.read_shift(2),n.s.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),n.e.c=e.read_shift(2),n.e.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}function o(e){var t=dn(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}function c(e,t,r){var n=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(n[0].c=e.read_shift(1),n[3]=e.read_shift(1),n[0].r=e.read_shift(2),e.l+=2):(n[2]=e.read_shift(1),n[0].c=e.read_shift(2),n[0].r=e.read_shift(2)),n}function f(e,t,r){var n=e.l+t,a=c(e,t,r);if(a[1].t="s",20768==r.vers){e.l++;var s=e.read_shift(1);return a[1].v=e.read_shift(s,"utf8"),a}return r.qpro&&e.l++,a[1].v=e.read_shift(n-e.l,"cstr"),a}function h(e,t,r){var n=dn(7+r.length);n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(1,39);for(var a=0;a=128?95:s)}return n.write_shift(1,0),n}function u(e,t,r){var n=c(e,t,r);return n[1].v=e.read_shift(2,"i"),n}function p(e,t,r){var n=dn(7);return n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(2,r,"i"),n}function d(e,t,r){var n=c(e,t,r);return n[1].v=e.read_shift(8,"f"),n}function m(e,t,r){var n=dn(13);return n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(8,r,"f"),n}function g(e,t,r){var n=e.l+t,a=c(e,t,r);if(a[1].v=e.read_shift(8,"f"),r.qpro)e.l=n;else{var s=e.read_shift(2);w(e.slice(e.l,e.l+s),a),e.l+=s}return a}function v(e,t,r){var n=32768&t;return t&=-32769,t=(n?e:0)+(t>=8192?t-16384:t),(n?"":"$")+(r?_n(t):Sn(t))}var T={51:["FALSE",0],52:["TRUE",0],70:["LEN",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],111:["T",1]},b=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function w(e,t){un(e,0);var r=[],n=0,a="",s="",i="",l="";while(e.lr.length)return void console.error("WK1 bad formula parse 0x"+o.toString(16)+":|"+r.join("|")+"|");var u=r.slice(-n);r.length-=n,r.push(T[o][0]+"("+u.join(",")+")")}}}1==r.length?t[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}function E(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function S(e,t){var r=E(e,t);return r[1].t="s",r[1].v=e.read_shift(t-4,"cstr"),r}function A(e,t,r,n){var a=dn(6+n.length);a.write_shift(2,e),a.write_shift(1,r),a.write_shift(1,t),a.write_shift(1,39);for(var s=0;s=128?95:i)}return a.write_shift(1,0),a}function y(e,t){var r=E(e,t);r[1].v=e.read_shift(2);var n=r[1].v>>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64;break}return r[1].v=n,r}function k(e,t){var r=E(e,t),n=e.read_shift(4),a=e.read_shift(4),s=e.read_shift(2);if(65535==s)return 0===n&&3221225472===a?(r[1].t="e",r[1].v=15):0===n&&3489660928===a?(r[1].t="e",r[1].v=42):r[1].v=0,r;var i=32768&s;return s=(32767&s)-16446,r[1].v=(1-2*i)*(a*Math.pow(2,s+32)+n*Math.pow(2,s)),r}function _(e,t,r,n){var a=dn(14);if(a.write_shift(2,e),a.write_shift(1,r),a.write_shift(1,t),0==n)return a.write_shift(4,0),a.write_shift(4,0),a.write_shift(2,65535),a;var s=0,i=0,l=0,o=0;return n<0&&(s=1,n=-n),i=0|Math.log2(n),n/=Math.pow(2,i-31),o=n>>>0,0==(2147483648&o)&&(n/=2,++i,o=n>>>0),n-=o,o|=2147483648,o>>>=0,n*=Math.pow(2,32),l=n>>>0,a.write_shift(4,l),a.write_shift(4,o),i+=16383+(s?32768:0),a.write_shift(2,i),a}function x(e,t){var r=k(e,14);return e.l+=t-14,r}function O(e,t){var r=E(e,t),n=e.read_shift(4);return r[1].v=n>>6,r}function C(e,t){var r=E(e,t),n=e.read_shift(8,"f");return r[1].v=n,r}function R(e,t){var r=C(e,14);return e.l+=t-10,r}function I(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function N(e,t){var r=e[e.l++];r>t-1&&(r=t-1);var n="";while(n.length127?95:a}return r[r.l++]=0,r}var M={0:{n:"BOF",f:ps},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:l},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:u},14:{n:"NUMBER",f:d},15:{n:"LABEL",f:f},16:{n:"FORMULA",f:g},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:f},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:I},222:{n:"SHEETNAMELP",f:N},65535:{n:""}},F={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:S},23:{n:"NUMBER17",f:k},24:{n:"NUMBER18",f:y},25:{n:"FORMULA19",f:x},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:P},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:O},38:{n:"??"},39:{n:"NUMBER27",f:C},40:{n:"FORMULA28",f:R},142:{n:"??"},147:{n:"??"},150:{n:"??"},151:{n:"??"},152:{n:"??"},153:{n:"??"},154:{n:"??"},155:{n:"??"},156:{n:"??"},163:{n:"??"},174:{n:"??"},175:{n:"??"},176:{n:"??"},177:{n:"??"},184:{n:"??"},185:{n:"??"},186:{n:"??"},187:{n:"??"},188:{n:"??"},195:{n:"??"},201:{n:"??"},204:{n:"SHEETNAMECS",f:I},205:{n:"??"},206:{n:"??"},207:{n:"??"},208:{n:"??"},256:{n:"??"},259:{n:"??"},260:{n:"??"},261:{n:"??"},262:{n:"??"},263:{n:"??"},265:{n:"??"},266:{n:"??"},267:{n:"??"},268:{n:"??"},270:{n:"??"},271:{n:"??"},384:{n:"??"},389:{n:"??"},390:{n:"??"},393:{n:"??"},396:{n:"??"},512:{n:"??"},514:{n:"??"},513:{n:"??"},516:{n:"??"},517:{n:"??"},640:{n:"??"},641:{n:"??"},642:{n:"??"},643:{n:"??"},644:{n:"??"},645:{n:"??"},646:{n:"??"},647:{n:"??"},648:{n:"??"},658:{n:"??"},659:{n:"??"},660:{n:"??"},661:{n:"??"},662:{n:"??"},665:{n:"??"},666:{n:"??"},768:{n:"??"},772:{n:"??"},1537:{n:"SHEETINFOQP",f:D},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:a,to_workbook:t}}();var ii=/^\s|\s$|[\t\n\r]/;function li(e,t){if(!t.bookSST)return"";var r=[tr];r[r.length]=Ar("sst",null,{xmlns:xr[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(null!=e[n]){var a=e[n],s="";a.r?s+=a.r:(s+=""+ir(a.t)+""),s+="",r[r.length]=s}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}function oi(e){return[e.read_shift(4),e.read_shift(4)]}function ci(e,t){return t||(t=dn(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var fi=Xn;function hi(e){var t=mn();gn(t,159,ci(e));for(var r=0;r=0;--r)n=t[r],a=0===(16384&l)?0:1,s=l<<1&32767,i=a|s,l=i^n;return 52811^l}var di=function(){function e(e,r){switch(r.type){case"base64":return t(ne(e),r);case"binary":return t(e,r);case"buffer":return t(ae&&Buffer.isBuffer(e)?e.toString("binary"):fe(e),r);case"array":return t(Xt(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=t||{},n=r.dense?[]:{},a=e.match(/\\trowd.*?\\row\b/g);if(!a.length)throw new Error("RTF missing table");var s={s:{c:0,r:0},e:{c:0,r:a.length-1}};return a.forEach((function(e,t){Array.isArray(n)&&(n[t]=[]);var r,a=/\\\w+\b/g,i=0,l=-1;while(r=a.exec(e)){switch(r[0]){case"\\cell":var o=e.slice(i,a.lastIndex-r[0].length);if(" "==o[0]&&(o=o.slice(1)),++l,o.length){var c={v:o,t:"s"};Array.isArray(n)?n[t][l]=c:n[In({r:t,c:l})]=c}break}i=a.lastIndex}l>s.e.c&&(s.e.c=l)})),n["!ref"]=Dn(s),n}function r(t,r){return Fn(e(t,r),r)}function n(e){for(var t,r=["{\\rtf1\\ansi"],n=Pn(e["!ref"]),a=Array.isArray(e),s=n.s.r;s<=n.e.r;++s){r.push("\\trowd\\trautofit1");for(var i=n.s.c;i<=n.e.c;++i)r.push("\\cellx"+(i+1));for(r.push("\\pard\\intbl"),i=n.s.c;i<=n.e.c;++i){var l=In({r:s,c:i});t=a?(e[s]||[])[i]:e[l],t&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(Mn(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:n}}();function mi(e){for(var t=0,r=1;3!=t;++t)r=256*r+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}var gi=6,vi=gi;function Ti(e){return Math.floor((e+Math.round(128/vi)/256)*vi)}function bi(e){return Math.floor((e-5)/vi*100+.5)/100}function wi(e){return Math.round((e*vi+5)/vi*256)/256}function Ei(e){e.width?(e.wpx=Ti(e.width),e.wch=bi(e.wpx),e.MDW=vi):e.wpx?(e.wch=bi(e.wpx),e.width=wi(e.wch),e.MDW=vi):"number"==typeof e.wch&&(e.width=wi(e.wch),e.wpx=Ti(e.width),e.MDW=vi),e.customWidth&&delete e.customWidth}var Si=96,Ai=Si;function yi(e){return 96*e/Ai}function ki(e){return e*Ai/96}function _i(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&(t[t.length]=Ar("numFmt",null,{numFmtId:n,formatCode:ir(e[n])}))})),1===t.length?"":(t[t.length]="",t[0]=Ar("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function xi(e){var t=[];return t[t.length]=Ar("cellXfs",null),e.forEach((function(e){t[t.length]=Ar("xf",null,e)})),t[t.length]="",2===t.length?"":(t[0]=Ar("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function Oi(e,t){var r,n=[tr,Ar("styleSheet",null,{xmlns:xr[0],"xmlns:vt":_r.vt})];return e.SSF&&null!=(r=_i(e.SSF))&&(n[n.length]=r),n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',(r=xi(t.cellXfs))&&(n[n.length]=r),n[n.length]='',n[n.length]='',n[n.length]='',n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}function Ci(e,t){var r=e.read_shift(2),n=Gn(e,t-2);return[r,n]}function Ri(e,t,r){r||(r=dn(6+4*t.length)),r.write_shift(2,e),Vn(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function Ii(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=va(e,2,r);a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1);var s=e.read_shift(2);switch(700===s&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var i=e.read_shift(1);0!=i&&(n.underline=i);var l=e.read_shift(1);l>0&&(n.family=l);var o=e.read_shift(1);switch(o>0&&(n.charset=o),e.l++,n.color=ma(e,8),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=Gn(e,t-21),n}function Ni(e,t){t||(t=dn(153)),t.write_shift(2,20*e.sz),Ta(e,t),t.write_shift(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),ga(e.color,t);var n=0;return"major"==e.scheme&&(n=1),"minor"==e.scheme&&(n=2),t.write_shift(1,n),Vn(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Di,Pi=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],Li=pn;function Mi(e,t){t||(t=dn(84)),Di||(Di=Pt(Pi));var r=Di[e.patternType];null==r&&(r=40),t.write_shift(4,r);var n=0;if(40!=r)for(ga({auto:1},t),ga({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Fi(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}function Ui(e,t,r){r||(r=dn(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Bi(e,t){return t||(t=dn(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var Wi=pn;function Hi(e,t){return t||(t=dn(51)),t.write_shift(1,0),Bi(null,t),Bi(null,t),Bi(null,t),Bi(null,t),Bi(null,t),t.length>t.l?t.slice(0,t.l):t}function Gi(e,t){return t||(t=dn(52)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,+e.builtinId),t.write_shift(1,0),na(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function Vi(e,t,r){var n=dn(2052);return n.write_shift(4,e),na(t,n),na(r,n),n.length>n.l?n.slice(0,n.l):n}function ji(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var n=e[0];n<=e[1];++n)null!=t[n]&&++r})),0!=r&&(gn(e,615,Hn(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&gn(e,44,Ri(n,t[n]))})),gn(e,616))}}function zi(e){var t=1;0!=t&&(gn(e,611,Hn(t)),gn(e,43,Ni({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),gn(e,612))}function $i(e){var t=2;0!=t&&(gn(e,603,Hn(t)),gn(e,45,Mi({patternType:"none"})),gn(e,45,Mi({patternType:"gray125"})),gn(e,604))}function Xi(e){var t=1;0!=t&&(gn(e,613,Hn(t)),gn(e,46,Hi({})),gn(e,614))}function Ki(e){var t=1;gn(e,626,Hn(t)),gn(e,47,Ui({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),gn(e,627)}function Yi(e,t){gn(e,617,Hn(t.length)),t.forEach((function(t){gn(e,47,Ui(t,0))})),gn(e,618)}function Zi(e){var t=1;gn(e,619,Hn(t)),gn(e,48,Gi({xfId:0,builtinId:0,name:"Normal"})),gn(e,620)}function Ji(e){var t=0;gn(e,505,Hn(t)),gn(e,506)}function qi(e){var t=0;gn(e,508,Vi(t,"TableStyleMedium9","PivotStyleMedium4")),gn(e,509)}function Qi(){}function el(e,t){var r=mn();return gn(r,278),ji(r,e.SSF),zi(r,e),$i(r,e),Xi(r,e),Ki(r,e),Yi(r,t.cellXfs),Zi(r,e),Ji(r,e),qi(r,e),Qi(r,e),gn(r,279),r.end()}function tl(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[tr];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.join("")}function rl(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Gn(e,t-8)}}function nl(e){var t=dn(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),Vn(e.name,t),t.slice(0,t.l)}function al(e){var t=[],r=e.read_shift(4);while(r-- >0)t.push([e.read_shift(4),e.read_shift(4)]);return t}function sl(e){var t=dn(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'),e.join("")}function hl(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=In(r);var n=e.read_shift(1);return 2&n&&(t.l="1"),8&n&&(t.a="1"),t}var ul=1024;function pl(e,t){var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[Ar("xml",null,{"xmlns:v":Or.v,"xmlns:o":Or.o,"xmlns:x":Or.x,"xmlns:mv":Or.mv}).replace(/\/>/,">"),Ar("o:shapelayout",Ar("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Ar("v:shapetype",[Ar("v:stroke",null,{joinstyle:"miter"}),Ar("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];while(ul<1e3*e)ul+=1e3;return t.forEach((function(e){var t=Rn(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?Ar("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,s=Ar("v:fill",n,r),i={on:"t",obscured:"t"};++ul,a=a.concat(["",s,Ar("v:shadow",null,i),Ar("v:path",null,{"o:connecttype":"none"}),'','',"","",Er("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Er("x:AutoFill","False"),Er("x:Row",String(t.r)),Er("x:Column",String(t.c)),e[1].hidden?"":"","",""])})),a.push(""),a.join("")}function dl(e){var t=[tr,Ar("comments",null,{xmlns:xr[0]})],r=[];return t.push(""),e.forEach((function(e){e[1].forEach((function(e){var n=ir(e.a);-1==r.indexOf(n)&&(r.push(n),t.push(""+n+"")),e.T&&e.ID&&-1==r.indexOf("tc="+e.ID)&&(r.push("tc="+e.ID),t.push("tc="+e.ID+""))}))})),0==r.length&&(r.push("SheetJ5"),t.push("SheetJ5")),t.push(""),t.push(""),e.forEach((function(e){var n=0,a=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?n=r.indexOf("tc="+e[1][0].ID):e[1].forEach((function(e){e.a&&(n=r.indexOf(ir(e.a))),a.push(e.t||"")})),t.push(''),a.length<=1)t.push(Er("t",ir(a[0]||"")));else{for(var s="Comment:\n "+a[0]+"\n",i=1;i")})),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function ml(e,t,r){var n=[tr,Ar("ThreadedComments",null,{xmlns:_r.TCMNT}).replace(/[\/]>/,">")];return e.forEach((function(e){var a="";(e[1]||[]).forEach((function(s,i){if(s.T){s.a&&-1==t.indexOf(s.a)&&t.push(s.a);var l={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==i?a=l.id:l.parentId=a,s.ID=l.id,s.a&&(l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push(Ar("threadedComment",Er("text",s.t||""),l))}else delete s.ID}))})),n.push(""),n.join("")}function gl(e){var t=[tr,Ar("personList",null,{xmlns:_r.TCMNT,"xmlns:x":xr[0]}).replace(/[\/]>/,">")];return e.forEach((function(e,r){t.push(Ar("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+r).slice(-12)+"}",userId:e,providerId:"None"}))})),t.push(""),t.join("")}function vl(e){var t={};t.iauthor=e.read_shift(4);var r=ha(e,16);return t.rfx=r.s,t.ref=In(r.s),e.l+=16,t}function Tl(e,t){return null==t&&(t=dn(36)),t.write_shift(4,e[1].iauthor),ua(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var bl=Gn;function wl(e){return Vn(e.slice(0,54))}function El(e){var t=mn(),r=[];return gn(t,628),gn(t,630),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),gn(t,632,wl(e.a)))}))})),gn(t,631),gn(t,633),e.forEach((function(e){e[1].forEach((function(n){n.iauthor=r.indexOf(n.a);var a={s:Rn(e[0]),e:Rn(e[0])};gn(t,635,Tl([a,n])),n.t&&n.t.length>0&&gn(t,637,Yn(n)),gn(t,636),delete n.iauthor}))})),gn(t,634),gn(t,629),t.end()}function Sl(e,t){t.FullPaths.forEach((function(r,n){if(0!=n){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&Ot.utils.cfb_add(e,a,t.FileIndex[n].content)}}))}var Al=["xlsb","xlsm","xlam","biff8","xla"];var yl=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(e,r,n,a){var s=!1,i=!1;0==n.length?i=!0:"["==n.charAt(0)&&(i=!0,n=n.slice(1,-1)),0==a.length?s=!0:"["==a.charAt(0)&&(s=!0,a=a.slice(1,-1));var l=n.length>0?0|parseInt(n,10):0,o=a.length>0?0|parseInt(a,10):0;return s?o+=t.c:--o,i?l+=t.r:--l,r+(s?"":"$")+_n(o)+(i?"":"$")+Sn(l)}return function(n,a){return t=a,n.replace(e,r)}}(),kl=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\d{4}|104[0-7]\d{3}|1048[0-4]\d{2}|10485[0-6]\d|104857[0-6]|[1-9]\d{0,5})(?![_.\(A-Za-z0-9])/g,_l=function(){return function(e,t){return e.replace(kl,(function(e,r,n,a,s,i){var l=kn(a)-(n?0:t.c),o=En(i)-(s?0:t.r),c=0==o?"":s?o+1:"["+o+"]",f=0==l?"":n?l+1:"["+l+"]";return r+"R"+c+"C"+f}))}}();function xl(e,t){return e.replace(kl,(function(e,r,n,a,s,i){return r+("$"==n?n+a:_n(kn(a)+t.c))+("$"==s?s+i:Sn(En(i)+t.r))}))}function Ol(e){return 1!=e.length}function Cl(e){e.l+=1}function Rl(e,t){var r=e.read_shift(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function Il(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return Nl(e,t,r);12==r.biff&&(n=4)}var a=e.read_shift(n),s=e.read_shift(n),i=Rl(e,2),l=Rl(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:s,c:l[0],cRel:l[1],rRel:l[2]}}}function Nl(e){var t=Rl(e,2),r=Rl(e,2),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function Dl(e,t,r){if(r.biff<8)return Nl(e,t,r);var n=e.read_shift(12==r.biff?4:2),a=e.read_shift(12==r.biff?4:2),s=Rl(e,2),i=Rl(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:i[0],cRel:i[1],rRel:i[2]}}}function Pl(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return Ll(e,t,r);var n=e.read_shift(r&&12==r.biff?4:2),a=Rl(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function Ll(e){var t=Rl(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function Ml(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function Fl(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return Ul(e,t,r);var a=e.read_shift(n>=12?4:2),s=e.read_shift(2),i=(16384&s)>>14,l=(32768&s)>>15;if(s&=16383,1==l)while(a>524287)a-=1048576;if(1==i)while(s>8191)s-=16384;return{r:a,c:s,cRel:i,rRel:l}}function Ul(e){var t=e.read_shift(2),r=e.read_shift(1),n=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==n&&t>=8192&&(t-=16384),1==a&&r>=128&&(r-=256),{r:t,c:r,cRel:a,rRel:n}}function Bl(e,t,r){var n=(96&e[e.l++])>>5,a=Il(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,a]}function Wl(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2,"i"),s=8;if(r)switch(r.biff){case 5:e.l+=12,s=6;break;case 12:s=12;break}var i=Il(e,s,r);return[n,a,i]}function Hl(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function Gl(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),s=8;if(r)switch(r.biff){case 5:e.l+=12,s=6;break;case 12:s=12;break}return e.l+=s,[n,a]}function Vl(e,t,r){var n=(96&e[e.l++])>>5,a=Dl(e,t-1,r);return[n,a]}function jl(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[n]}function zl(e){var t=1&e[e.l+1],r=1;return e.l+=4,[t,r]}function $l(e,t,r){e.l+=2;for(var n=e.read_shift(r&&2==r.biff?1:2),a=[],s=0;s<=n;++s)a.push(e.read_shift(r&&2==r.biff?1:2));return a}function Xl(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}function Kl(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}function Yl(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}function Zl(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[n]}function Jl(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function ql(e){return e.read_shift(2),Jl(e,2)}function Ql(e){return e.read_shift(2),Jl(e,2)}function eo(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=Pl(e,0,r);return[n,a]}function to(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=Fl(e,0,r);return[n,a]}function ro(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(2);r&&5==r.biff&&(e.l+=12);var s=Pl(e,0,r);return[n,a,s]}function no(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[dc[a],pc[a],n]}function ao(e,t,r){var n=e[e.l++],a=e.read_shift(1),s=r&&r.biff<=3?[88==n?-1:0,e.read_shift(1)]:so(e);return[a,(0===s[0]?pc:uc)[s[1]]]}function so(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}function io(e,t,r){e.l+=r&&2==r.biff?3:4}function lo(e,t,r){if(e.l++,r&&12==r.biff)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),a=e.read_shift(r&&2==r.biff?1:2);return[n,a]}function oo(e){return e.l++,Pa[e.read_shift(1)]}function co(e){return e.l++,e.read_shift(2)}function fo(e){return e.l++,0!==e.read_shift(1)}function ho(e){return e.l++,pa(e,8)}function uo(e,t,r){return e.l++,gs(e,t-1,r)}function po(e,t){var r=[e.read_shift(1)];if(12==t)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=hs(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=Pa[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=pa(e,8);break;case 2:r[1]=ws(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function mo(e,t,r){for(var n=e.read_shift(12==r.biff?4:2),a=[],s=0;s!=n;++s)a.push((12==r.biff?ha:_s)(e,8));return a}function go(e,t,r){var n=0,a=0;12==r.biff?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,0==--a&&(a=256));for(var s=0,i=[];s!=n&&(i[s]=[]);++s)for(var l=0;l!=a;++l)i[s][l]=po(e,r.biff);return i}function vo(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,s=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,s]}function To(e,t,r){if(5==r.biff)return bo(e,t,r);var n=e.read_shift(1)>>>5&3,a=e.read_shift(2),s=e.read_shift(4);return[n,a,s]}function bo(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function wo(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&2==r.biff?3:4;var a=e.read_shift(r&&2==r.biff?1:2);return[n,a]}function Eo(e,t,r){var n=e.read_shift(1)>>>5&3,a=e.read_shift(r&&2==r.biff?1:2);return[n,a]}function So(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}function Ao(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),s=4;if(r)switch(r.biff){case 5:s=15;break;case 12:s=6;break}return e.l+=s,[n,a]}var yo=pn,ko=pn,_o=pn;function xo(e,t,r){return e.l+=2,[Ml(e,4,r)]}function Oo(e){return e.l+=6,[]}var Co=xo,Ro=Oo,Io=Oo,No=xo;function Do(e){return e.l+=2,[ps(e),1&e.read_shift(2)]}var Po=xo,Lo=Do,Mo=Oo,Fo=xo,Uo=xo,Bo=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Wo(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),s=e.read_shift(2),i=Bo[r>>2&31];return{ixti:t,coltype:3&r,rt:i,idx:n,c:a,C:s}}function Ho(e){return e.l+=2,[e.read_shift(4)]}function Go(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}function Vo(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}function jo(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function zo(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function $o(e){return e.l+=4,[0,0]}var Xo={1:{n:"PtgExp",f:lo},2:{n:"PtgTbl",f:_o},3:{n:"PtgAdd",f:Cl},4:{n:"PtgSub",f:Cl},5:{n:"PtgMul",f:Cl},6:{n:"PtgDiv",f:Cl},7:{n:"PtgPower",f:Cl},8:{n:"PtgConcat",f:Cl},9:{n:"PtgLt",f:Cl},10:{n:"PtgLe",f:Cl},11:{n:"PtgEq",f:Cl},12:{n:"PtgGe",f:Cl},13:{n:"PtgGt",f:Cl},14:{n:"PtgNe",f:Cl},15:{n:"PtgIsect",f:Cl},16:{n:"PtgUnion",f:Cl},17:{n:"PtgRange",f:Cl},18:{n:"PtgUplus",f:Cl},19:{n:"PtgUminus",f:Cl},20:{n:"PtgPercent",f:Cl},21:{n:"PtgParen",f:Cl},22:{n:"PtgMissArg",f:Cl},23:{n:"PtgStr",f:uo},26:{n:"PtgSheet",f:Go},27:{n:"PtgEndSheet",f:Vo},28:{n:"PtgErr",f:oo},29:{n:"PtgBool",f:fo},30:{n:"PtgInt",f:co},31:{n:"PtgNum",f:ho},32:{n:"PtgArray",f:jl},33:{n:"PtgFunc",f:no},34:{n:"PtgFuncVar",f:ao},35:{n:"PtgName",f:vo},36:{n:"PtgRef",f:eo},37:{n:"PtgArea",f:Bl},38:{n:"PtgMemArea",f:wo},39:{n:"PtgMemErr",f:yo},40:{n:"PtgMemNoMem",f:ko},41:{n:"PtgMemFunc",f:Eo},42:{n:"PtgRefErr",f:So},43:{n:"PtgAreaErr",f:Hl},44:{n:"PtgRefN",f:to},45:{n:"PtgAreaN",f:Vl},46:{n:"PtgMemAreaN",f:jo},47:{n:"PtgMemNoMemN",f:zo},57:{n:"PtgNameX",f:To},58:{n:"PtgRef3d",f:ro},59:{n:"PtgArea3d",f:Wl},60:{n:"PtgRefErr3d",f:Ao},61:{n:"PtgAreaErr3d",f:Gl},255:{}},Ko={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61},Yo={1:{n:"PtgElfLel",f:Do},2:{n:"PtgElfRw",f:Fo},3:{n:"PtgElfCol",f:Co},6:{n:"PtgElfRwV",f:Uo},7:{n:"PtgElfColV",f:No},10:{n:"PtgElfRadical",f:Po},11:{n:"PtgElfRadicalS",f:Mo},13:{n:"PtgElfColS",f:Ro},15:{n:"PtgElfColSV",f:Io},16:{n:"PtgElfRadicalLel",f:Lo},25:{n:"PtgList",f:Wo},29:{n:"PtgSxName",f:Ho},255:{}},Zo={0:{n:"PtgAttrNoop",f:$o},1:{n:"PtgAttrSemi",f:Zl},2:{n:"PtgAttrIf",f:Kl},4:{n:"PtgAttrChoose",f:$l},8:{n:"PtgAttrGoto",f:Xl},16:{n:"PtgAttrSum",f:io},32:{n:"PtgAttrBaxcel",f:zl},33:{n:"PtgAttrBaxcel",f:zl},64:{n:"PtgAttrSpace",f:ql},65:{n:"PtgAttrSpaceSemi",f:Ql},128:{n:"PtgAttrIfError",f:Yl},255:{}};function Jo(e,t,r,n){if(n.biff<8)return pn(e,t);for(var a=e.l+t,s=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=go(e,0,n),s.push(r[i][1]);break;case"PtgMemArea":r[i][2]=mo(e,r[i][1],n),s.push(r[i][2]);break;case"PtgExp":n&&12==n.biff&&(r[i][1][1]=e.read_shift(4),s.push(r[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[i][0];default:break}return t=a-e.l,0!==t&&s.push(pn(e,t)),s}function qo(e,t,r){var n,a,s=e.l+t,i=[];while(s!=e.l)t=s-e.l,a=e[e.l],n=Xo[a]||Xo[Ko[a]],24!==a&&25!==a||(n=(24===a?Yo:Zo)[e[e.l+1]]),n&&n.f?i.push([n.n,n.f(e,t,r)]):pn(e,t);return i}function Qo(e){for(var t=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function tc(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function rc(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=-1==n[1]?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=-1==n[1]?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[n[0]][0][3]?(a=-1==n[1]?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function nc(e,t,r){var n=rc(e,t,r);return"#REF"==n?n:tc(n,r)}function ac(e,t,r,n,a){var s,i,l,o,c=a&&a.biff||8,f={s:{c:0,r:0},e:{c:0,r:0}},h=[],u=0,p=0,d="";if(!e[0]||!e[0][0])return"";for(var m=-1,g="",v=0,T=e[0].length;v=0){switch(e[0][m][1][0]){case 0:g=Yt(" ",e[0][m][1][1]);break;case 1:g=Yt("\r",e[0][m][1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}i+=g,m=-1}h.push(i+ec[b[0]]+s);break;case"PtgIsect":s=h.pop(),i=h.pop(),h.push(i+" "+s);break;case"PtgUnion":s=h.pop(),i=h.pop(),h.push(i+","+s);break;case"PtgRange":s=h.pop(),i=h.pop(),h.push(i+":"+s);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":l=vn(b[1][1],f,a),h.push(bn(l,c));break;case"PtgRefN":l=r?vn(b[1][1],r,a):b[1][1],h.push(bn(l,c));break;case"PtgRef3d":u=b[1][1],l=vn(b[1][2],f,a),d=nc(n,u,a);h.push(d+"!"+bn(l,c));break;case"PtgFunc":case"PtgFuncVar":var w=b[1][0],E=b[1][1];w||(w=0),w&=127;var S=0==w?[]:h.slice(-w);h.length-=w,"User"===E&&(E=S.shift()),h.push(E+"("+S.join(",")+")");break;case"PtgBool":h.push(b[1]?"TRUE":"FALSE");break;case"PtgInt":h.push(b[1]);break;case"PtgNum":h.push(String(b[1]));break;case"PtgStr":h.push('"'+b[1].replace(/"/g,'""')+'"');break;case"PtgErr":h.push(b[1]);break;case"PtgAreaN":o=Tn(b[1][1],r?{s:r}:f,a),h.push(wn(o,a));break;case"PtgArea":o=Tn(b[1][1],f,a),h.push(wn(o,a));break;case"PtgArea3d":u=b[1][1],o=b[1][2],d=nc(n,u,a),h.push(d+"!"+wn(o,a));break;case"PtgAttrSum":h.push("SUM("+h.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":p=b[1][2];var A=(n.names||[])[p-1]||(n[0]||[])[p],y=A?A.Name:"SH33TJSNAME"+String(p);y&&"_xlfn."==y.slice(0,6)&&!a.xlfn&&(y=y.slice(6)),h.push(y);break;case"PtgNameX":var k,_=b[1][1];if(p=b[1][2],!(a.biff<=5)){var x="";if(14849==((n[_]||[])[0]||[])[0]||(1025==((n[_]||[])[0]||[])[0]?n[_][p]&&n[_][p].itab>0&&(x=n.SheetNames[n[_][p].itab-1]+"!"):x=n.SheetNames[p-1]+"!"),n[_]&&n[_][p])x+=n[_][p].Name;else if(n[0]&&n[0][p])x+=n[0][p].Name;else{var O=(rc(n,_,a)||"").split(";;");O[p-1]?x=O[p-1]:x+="SH33TJSERRX"}h.push(x);break}_<0&&(_=-_),n[_]&&(k=n[_][p]),k||(k={Name:"SH33TJSERRY"}),h.push(k.Name);break;case"PtgParen":var C="(",R=")";if(m>=0){switch(g="",e[0][m][1][0]){case 2:C=Yt(" ",e[0][m][1][1])+C;break;case 3:C=Yt("\r",e[0][m][1][1])+C;break;case 4:R=Yt(" ",e[0][m][1][1])+R;break;case 5:R=Yt("\r",e[0][m][1][1])+R;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}h.push(C+h.pop()+R);break;case"PtgRefErr":h.push("#REF!");break;case"PtgRefErr3d":h.push("#REF!");break;case"PtgExp":l={c:b[1][1],r:b[1][0]};var I={c:r.c,r:r.r};if(n.sharedf[In(l)]){var N=n.sharedf[In(l)];h.push(ac(N,f,I,n,a))}else{var D=!1;for(s=0;s!=n.arrayf.length;++s)if(i=n.arrayf[s],!(l.ci[0].e.c)&&!(l.ri[0].e.r)){h.push(ac(i[1],f,I,n,a)),D=!0;break}D||h.push(b[1])}break;case"PtgArray":h.push("{"+Qo(b[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=v;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":h.push("");break;case"PtgAreaErr":h.push("#REF!");break;case"PtgAreaErr3d":h.push("#REF!");break;case"PtgList":h.push("Table"+b[1].idx+"[#"+b[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":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(b));default:throw new Error("Unrecognized Formula Token: "+String(b))}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(3!=a.biff&&m>=0&&-1==P.indexOf(e[0][v][0])){b=e[0][m];var L=!0;switch(b[1][0]){case 4:L=!1;case 0:g=Yt(" ",b[1][1]);break;case 5:L=!1;case 1:g=Yt("\r",b[1][1]);break;default:if(g="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+b[1][0])}h.push((L?g:"")+h.pop()+(L?"":g)),m=-1}}if(h.length>1&&a.WTF)throw new Error("bad formula stack");return h[0]}function sc(e){if(null==e){var t=dn(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}return da("number"==typeof e?e:0)}function ic(e,t,r,n,a){var s=ys(t,r,a),i=sc(e.v),l=dn(6),o=33;l.write_shift(2,o),l.write_shift(4,0);for(var c=dn(e.bf.length),f=0;f0?Jo(e,s,a,r):null;return[a,i]}var oc=lc,cc=lc,fc=lc,hc=lc,uc={0:"BEEP",1:"OPEN",2:"OPEN.LINKS",3:"CLOSE.ALL",4:"SAVE",5:"SAVE.AS",6:"FILE.DELETE",7:"PAGE.SETUP",8:"PRINT",9:"PRINTER.SETUP",10:"QUIT",11:"NEW.WINDOW",12:"ARRANGE.ALL",13:"WINDOW.SIZE",14:"WINDOW.MOVE",15:"FULL",16:"CLOSE",17:"RUN",22:"SET.PRINT.AREA",23:"SET.PRINT.TITLES",24:"SET.PAGE.BREAK",25:"REMOVE.PAGE.BREAK",26:"FONT",27:"DISPLAY",28:"PROTECT.DOCUMENT",29:"PRECISION",30:"A1.R1C1",31:"CALCULATE.NOW",32:"CALCULATION",34:"DATA.FIND",35:"EXTRACT",36:"DATA.DELETE",37:"SET.DATABASE",38:"SET.CRITERIA",39:"SORT",40:"DATA.SERIES",41:"TABLE",42:"FORMAT.NUMBER",43:"ALIGNMENT",44:"STYLE",45:"BORDER",46:"CELL.PROTECTION",47:"COLUMN.WIDTH",48:"UNDO",49:"CUT",50:"COPY",51:"PASTE",52:"CLEAR",53:"PASTE.SPECIAL",54:"EDIT.DELETE",55:"INSERT",56:"FILL.RIGHT",57:"FILL.DOWN",61:"DEFINE.NAME",62:"CREATE.NAMES",63:"FORMULA.GOTO",64:"FORMULA.FIND",65:"SELECT.LAST.CELL",66:"SHOW.ACTIVE.CELL",67:"GALLERY.AREA",68:"GALLERY.BAR",69:"GALLERY.COLUMN",70:"GALLERY.LINE",71:"GALLERY.PIE",72:"GALLERY.SCATTER",73:"COMBINATION",74:"PREFERRED",75:"ADD.OVERLAY",76:"GRIDLINES",77:"SET.PREFERRED",78:"AXES",79:"LEGEND",80:"ATTACH.TEXT",81:"ADD.ARROW",82:"SELECT.CHART",83:"SELECT.PLOT.AREA",84:"PATTERNS",85:"MAIN.CHART",86:"OVERLAY",87:"SCALE",88:"FORMAT.LEGEND",89:"FORMAT.TEXT",90:"EDIT.REPEAT",91:"PARSE",92:"JUSTIFY",93:"HIDE",94:"UNHIDE",95:"WORKSPACE",96:"FORMULA",97:"FORMULA.FILL",98:"FORMULA.ARRAY",99:"DATA.FIND.NEXT",100:"DATA.FIND.PREV",101:"FORMULA.FIND.NEXT",102:"FORMULA.FIND.PREV",103:"ACTIVATE",104:"ACTIVATE.NEXT",105:"ACTIVATE.PREV",106:"UNLOCKED.NEXT",107:"UNLOCKED.PREV",108:"COPY.PICTURE",109:"SELECT",110:"DELETE.NAME",111:"DELETE.FORMAT",112:"VLINE",113:"HLINE",114:"VPAGE",115:"HPAGE",116:"VSCROLL",117:"HSCROLL",118:"ALERT",119:"NEW",120:"CANCEL.COPY",121:"SHOW.CLIPBOARD",122:"MESSAGE",124:"PASTE.LINK",125:"APP.ACTIVATE",126:"DELETE.ARROW",127:"ROW.HEIGHT",128:"FORMAT.MOVE",129:"FORMAT.SIZE",130:"FORMULA.REPLACE",131:"SEND.KEYS",132:"SELECT.SPECIAL",133:"APPLY.NAMES",134:"REPLACE.FONT",135:"FREEZE.PANES",136:"SHOW.INFO",137:"SPLIT",138:"ON.WINDOW",139:"ON.DATA",140:"DISABLE.INPUT",142:"OUTLINE",143:"LIST.NAMES",144:"FILE.CLOSE",145:"SAVE.WORKBOOK",146:"DATA.FORM",147:"COPY.CHART",148:"ON.TIME",149:"WAIT",150:"FORMAT.FONT",151:"FILL.UP",152:"FILL.LEFT",153:"DELETE.OVERLAY",155:"SHORT.MENUS",159:"SET.UPDATE.STATUS",161:"COLOR.PALETTE",162:"DELETE.STYLE",163:"WINDOW.RESTORE",164:"WINDOW.MAXIMIZE",166:"CHANGE.LINK",167:"CALCULATE.DOCUMENT",168:"ON.KEY",169:"APP.RESTORE",170:"APP.MOVE",171:"APP.SIZE",172:"APP.MINIMIZE",173:"APP.MAXIMIZE",174:"BRING.TO.FRONT",175:"SEND.TO.BACK",185:"MAIN.CHART.TYPE",186:"OVERLAY.CHART.TYPE",187:"SELECT.END",188:"OPEN.MAIL",189:"SEND.MAIL",190:"STANDARD.FONT",191:"CONSOLIDATE",192:"SORT.SPECIAL",193:"GALLERY.3D.AREA",194:"GALLERY.3D.COLUMN",195:"GALLERY.3D.LINE",196:"GALLERY.3D.PIE",197:"VIEW.3D",198:"GOAL.SEEK",199:"WORKGROUP",200:"FILL.GROUP",201:"UPDATE.LINK",202:"PROMOTE",203:"DEMOTE",204:"SHOW.DETAIL",206:"UNGROUP",207:"OBJECT.PROPERTIES",208:"SAVE.NEW.OBJECT",209:"SHARE",210:"SHARE.NAME",211:"DUPLICATE",212:"APPLY.STYLE",213:"ASSIGN.TO.OBJECT",214:"OBJECT.PROTECTION",215:"HIDE.OBJECT",216:"SET.EXTRACT",217:"CREATE.PUBLISHER",218:"SUBSCRIBE.TO",219:"ATTRIBUTES",220:"SHOW.TOOLBAR",222:"PRINT.PREVIEW",223:"EDIT.COLOR",224:"SHOW.LEVELS",225:"FORMAT.MAIN",226:"FORMAT.OVERLAY",227:"ON.RECALC",228:"EDIT.SERIES",229:"DEFINE.STYLE",240:"LINE.PRINT",243:"ENTER.DATA",249:"GALLERY.RADAR",250:"MERGE.STYLES",251:"EDITION.OPTIONS",252:"PASTE.PICTURE",253:"PASTE.PICTURE.LINK",254:"SPELLING",256:"ZOOM",259:"INSERT.OBJECT",260:"WINDOW.MINIMIZE",265:"SOUND.NOTE",266:"SOUND.PLAY",267:"FORMAT.SHAPE",268:"EXTEND.POLYGON",269:"FORMAT.AUTO",272:"GALLERY.3D.BAR",273:"GALLERY.3D.SURFACE",274:"FILL.AUTO",276:"CUSTOMIZE.TOOLBAR",277:"ADD.TOOL",278:"EDIT.OBJECT",279:"ON.DOUBLECLICK",280:"ON.ENTRY",281:"WORKBOOK.ADD",282:"WORKBOOK.MOVE",283:"WORKBOOK.COPY",284:"WORKBOOK.OPTIONS",285:"SAVE.WORKSPACE",288:"CHART.WIZARD",289:"DELETE.TOOL",290:"MOVE.TOOL",291:"WORKBOOK.SELECT",292:"WORKBOOK.ACTIVATE",293:"ASSIGN.TO.TOOL",295:"COPY.TOOL",296:"RESET.TOOL",297:"CONSTRAIN.NUMERIC",298:"PASTE.TOOL",302:"WORKBOOK.NEW",305:"SCENARIO.CELLS",306:"SCENARIO.DELETE",307:"SCENARIO.ADD",308:"SCENARIO.EDIT",309:"SCENARIO.SHOW",310:"SCENARIO.SHOW.NEXT",311:"SCENARIO.SUMMARY",312:"PIVOT.TABLE.WIZARD",313:"PIVOT.FIELD.PROPERTIES",314:"PIVOT.FIELD",315:"PIVOT.ITEM",316:"PIVOT.ADD.FIELDS",318:"OPTIONS.CALCULATION",319:"OPTIONS.EDIT",320:"OPTIONS.VIEW",321:"ADDIN.MANAGER",322:"MENU.EDITOR",323:"ATTACH.TOOLBARS",324:"VBAActivate",325:"OPTIONS.CHART",328:"VBA.INSERT.FILE",330:"VBA.PROCEDURE.DEFINITION",336:"ROUTING.SLIP",338:"ROUTE.DOCUMENT",339:"MAIL.LOGON",342:"INSERT.PICTURE",343:"EDIT.TOOL",344:"GALLERY.DOUGHNUT",350:"CHART.TREND",352:"PIVOT.ITEM.PROPERTIES",354:"WORKBOOK.INSERT",355:"OPTIONS.TRANSITION",356:"OPTIONS.GENERAL",370:"FILTER.ADVANCED",373:"MAIL.ADD.MAILER",374:"MAIL.DELETE.MAILER",375:"MAIL.REPLY",376:"MAIL.REPLY.ALL",377:"MAIL.FORWARD",378:"MAIL.NEXT.LETTER",379:"DATA.LABEL",380:"INSERT.TITLE",381:"FONT.PROPERTIES",382:"MACRO.OPTIONS",383:"WORKBOOK.HIDE",384:"WORKBOOK.UNHIDE",385:"WORKBOOK.DELETE",386:"WORKBOOK.NAME",388:"GALLERY.CUSTOM",390:"ADD.CHART.AUTOFORMAT",391:"DELETE.CHART.AUTOFORMAT",392:"CHART.ADD.DATA",393:"AUTO.OUTLINE",394:"TAB.ORDER",395:"SHOW.DIALOG",396:"SELECT.ALL",397:"UNGROUP.SHEETS",398:"SUBTOTAL.CREATE",399:"SUBTOTAL.REMOVE",400:"RENAME.OBJECT",412:"WORKBOOK.SCROLL",413:"WORKBOOK.NEXT",414:"WORKBOOK.PREV",415:"WORKBOOK.TAB.SPLIT",416:"FULL.SCREEN",417:"WORKBOOK.PROTECT",420:"SCROLLBAR.PROPERTIES",421:"PIVOT.SHOW.PAGES",422:"TEXT.TO.COLUMNS",423:"FORMAT.CHARTTYPE",424:"LINK.FORMAT",425:"TRACER.DISPLAY",430:"TRACER.NAVIGATE",431:"TRACER.CLEAR",432:"TRACER.ERROR",433:"PIVOT.FIELD.GROUP",434:"PIVOT.FIELD.UNGROUP",435:"CHECKBOX.PROPERTIES",436:"LABEL.PROPERTIES",437:"LISTBOX.PROPERTIES",438:"EDITBOX.PROPERTIES",439:"PIVOT.REFRESH",440:"LINK.COMBO",441:"OPEN.TEXT",442:"HIDE.DIALOG",443:"SET.DIALOG.FOCUS",444:"ENABLE.OBJECT",445:"PUSHBUTTON.PROPERTIES",446:"SET.DIALOG.DEFAULT",447:"FILTER",448:"FILTER.SHOW.ALL",449:"CLEAR.OUTLINE",450:"FUNCTION.WIZARD",451:"ADD.LIST.ITEM",452:"SET.LIST.ITEM",453:"REMOVE.LIST.ITEM",454:"SELECT.LIST.ITEM",455:"SET.CONTROL.VALUE",456:"SAVE.COPY.AS",458:"OPTIONS.LISTS.ADD",459:"OPTIONS.LISTS.DELETE",460:"SERIES.AXES",461:"SERIES.X",462:"SERIES.Y",463:"ERRORBAR.X",464:"ERRORBAR.Y",465:"FORMAT.CHART",466:"SERIES.ORDER",467:"MAIL.LOGOFF",468:"CLEAR.ROUTING.SLIP",469:"APP.ACTIVATE.MICROSOFT",470:"MAIL.EDIT.MAILER",471:"ON.SHEET",472:"STANDARD.WIDTH",473:"SCENARIO.MERGE",474:"SUMMARY.INFO",475:"FIND.FILE",476:"ACTIVE.CELL.FONT",477:"ENABLE.TIPWIZARD",478:"VBA.MAKE.ADDIN",480:"INSERTDATATABLE",481:"WORKGROUP.OPTIONS",482:"MAIL.SEND.MAILER",485:"AUTOCORRECT",489:"POST.DOCUMENT",491:"PICKLIST",493:"VIEW.SHOW",494:"VIEW.DEFINE",495:"VIEW.DELETE",509:"SHEET.BACKGROUND",510:"INSERT.MAP.OBJECT",511:"OPTIONS.MENONO",517:"MSOCHECKS",518:"NORMAL",519:"LAYOUT",520:"RM.PRINT.AREA",521:"CLEAR.PRINT.AREA",522:"ADD.PRINT.AREA",523:"MOVE.BRK",545:"HIDECURR.NOTE",546:"HIDEALL.NOTES",547:"DELETE.NOTE",548:"TRAVERSE.NOTES",549:"ACTIVATE.NOTES",620:"PROTECT.REVISIONS",621:"UNPROTECT.REVISIONS",647:"OPTIONS.ME",653:"WEB.PUBLISH",667:"NEWWEBQUERY",673:"PIVOT.TABLE.CHART",753:"OPTIONS.SAVE",755:"OPTIONS.SPELL",808:"HIDEALL.INKANNOTS"},pc={0:"COUNT",1:"IF",2:"ISNA",3:"ISERROR",4:"SUM",5:"AVERAGE",6:"MIN",7:"MAX",8:"ROW",9:"COLUMN",10:"NA",11:"NPV",12:"STDEV",13:"DOLLAR",14:"FIXED",15:"SIN",16:"COS",17:"TAN",18:"ATAN",19:"PI",20:"SQRT",21:"EXP",22:"LN",23:"LOG10",24:"ABS",25:"INT",26:"SIGN",27:"ROUND",28:"LOOKUP",29:"INDEX",30:"REPT",31:"MID",32:"LEN",33:"VALUE",34:"TRUE",35:"FALSE",36:"AND",37:"OR",38:"NOT",39:"MOD",40:"DCOUNT",41:"DSUM",42:"DAVERAGE",43:"DMIN",44:"DMAX",45:"DSTDEV",46:"VAR",47:"DVAR",48:"TEXT",49:"LINEST",50:"TREND",51:"LOGEST",52:"GROWTH",53:"GOTO",54:"HALT",55:"RETURN",56:"PV",57:"FV",58:"NPER",59:"PMT",60:"RATE",61:"MIRR",62:"IRR",63:"RAND",64:"MATCH",65:"DATE",66:"TIME",67:"DAY",68:"MONTH",69:"YEAR",70:"WEEKDAY",71:"HOUR",72:"MINUTE",73:"SECOND",74:"NOW",75:"AREAS",76:"ROWS",77:"COLUMNS",78:"OFFSET",79:"ABSREF",80:"RELREF",81:"ARGUMENT",82:"SEARCH",83:"TRANSPOSE",84:"ERROR",85:"STEP",86:"TYPE",87:"ECHO",88:"SET.NAME",89:"CALLER",90:"DEREF",91:"WINDOWS",92:"SERIES",93:"DOCUMENTS",94:"ACTIVE.CELL",95:"SELECTION",96:"RESULT",97:"ATAN2",98:"ASIN",99:"ACOS",100:"CHOOSE",101:"HLOOKUP",102:"VLOOKUP",103:"LINKS",104:"INPUT",105:"ISREF",106:"GET.FORMULA",107:"GET.NAME",108:"SET.VALUE",109:"LOG",110:"EXEC",111:"CHAR",112:"LOWER",113:"UPPER",114:"PROPER",115:"LEFT",116:"RIGHT",117:"EXACT",118:"TRIM",119:"REPLACE",120:"SUBSTITUTE",121:"CODE",122:"NAMES",123:"DIRECTORY",124:"FIND",125:"CELL",126:"ISERR",127:"ISTEXT",128:"ISNUMBER",129:"ISBLANK",130:"T",131:"N",132:"FOPEN",133:"FCLOSE",134:"FSIZE",135:"FREADLN",136:"FREAD",137:"FWRITELN",138:"FWRITE",139:"FPOS",140:"DATEVALUE",141:"TIMEVALUE",142:"SLN",143:"SYD",144:"DDB",145:"GET.DEF",146:"REFTEXT",147:"TEXTREF",148:"INDIRECT",149:"REGISTER",150:"CALL",151:"ADD.BAR",152:"ADD.MENU",153:"ADD.COMMAND",154:"ENABLE.COMMAND",155:"CHECK.COMMAND",156:"RENAME.COMMAND",157:"SHOW.BAR",158:"DELETE.MENU",159:"DELETE.COMMAND",160:"GET.CHART.ITEM",161:"DIALOG.BOX",162:"CLEAN",163:"MDETERM",164:"MINVERSE",165:"MMULT",166:"FILES",167:"IPMT",168:"PPMT",169:"COUNTA",170:"CANCEL.KEY",171:"FOR",172:"WHILE",173:"BREAK",174:"NEXT",175:"INITIATE",176:"REQUEST",177:"POKE",178:"EXECUTE",179:"TERMINATE",180:"RESTART",181:"HELP",182:"GET.BAR",183:"PRODUCT",184:"FACT",185:"GET.CELL",186:"GET.WORKSPACE",187:"GET.WINDOW",188:"GET.DOCUMENT",189:"DPRODUCT",190:"ISNONTEXT",191:"GET.NOTE",192:"NOTE",193:"STDEVP",194:"VARP",195:"DSTDEVP",196:"DVARP",197:"TRUNC",198:"ISLOGICAL",199:"DCOUNTA",200:"DELETE.BAR",201:"UNREGISTER",204:"USDOLLAR",205:"FINDB",206:"SEARCHB",207:"REPLACEB",208:"LEFTB",209:"RIGHTB",210:"MIDB",211:"LENB",212:"ROUNDUP",213:"ROUNDDOWN",214:"ASC",215:"DBCS",216:"RANK",219:"ADDRESS",220:"DAYS360",221:"TODAY",222:"VDB",223:"ELSE",224:"ELSE.IF",225:"END.IF",226:"FOR.CELL",227:"MEDIAN",228:"SUMPRODUCT",229:"SINH",230:"COSH",231:"TANH",232:"ASINH",233:"ACOSH",234:"ATANH",235:"DGET",236:"CREATE.OBJECT",237:"VOLATILE",238:"LAST.ERROR",239:"CUSTOM.UNDO",240:"CUSTOM.REPEAT",241:"FORMULA.CONVERT",242:"GET.LINK.INFO",243:"TEXT.BOX",244:"INFO",245:"GROUP",246:"GET.OBJECT",247:"DB",248:"PAUSE",251:"RESUME",252:"FREQUENCY",253:"ADD.TOOLBAR",254:"DELETE.TOOLBAR",255:"User",256:"RESET.TOOLBAR",257:"EVALUATE",258:"GET.TOOLBAR",259:"GET.TOOL",260:"SPELLING.CHECK",261:"ERROR.TYPE",262:"APP.TITLE",263:"WINDOW.TITLE",264:"SAVE.TOOLBAR",265:"ENABLE.TOOL",266:"PRESS.TOOL",267:"REGISTER.ID",268:"GET.WORKBOOK",269:"AVEDEV",270:"BETADIST",271:"GAMMALN",272:"BETAINV",273:"BINOMDIST",274:"CHIDIST",275:"CHIINV",276:"COMBIN",277:"CONFIDENCE",278:"CRITBINOM",279:"EVEN",280:"EXPONDIST",281:"FDIST",282:"FINV",283:"FISHER",284:"FISHERINV",285:"FLOOR",286:"GAMMADIST",287:"GAMMAINV",288:"CEILING",289:"HYPGEOMDIST",290:"LOGNORMDIST",291:"LOGINV",292:"NEGBINOMDIST",293:"NORMDIST",294:"NORMSDIST",295:"NORMINV",296:"NORMSINV",297:"STANDARDIZE",298:"ODD",299:"PERMUT",300:"POISSON",301:"TDIST",302:"WEIBULL",303:"SUMXMY2",304:"SUMX2MY2",305:"SUMX2PY2",306:"CHITEST",307:"CORREL",308:"COVAR",309:"FORECAST",310:"FTEST",311:"INTERCEPT",312:"PEARSON",313:"RSQ",314:"STEYX",315:"SLOPE",316:"TTEST",317:"PROB",318:"DEVSQ",319:"GEOMEAN",320:"HARMEAN",321:"SUMSQ",322:"KURT",323:"SKEW",324:"ZTEST",325:"LARGE",326:"SMALL",327:"QUARTILE",328:"PERCENTILE",329:"PERCENTRANK",330:"MODE",331:"TRIMMEAN",332:"TINV",334:"MOVIE.COMMAND",335:"GET.MOVIE",336:"CONCATENATE",337:"POWER",338:"PIVOT.ADD.DATA",339:"GET.PIVOT.TABLE",340:"GET.PIVOT.FIELD",341:"GET.PIVOT.ITEM",342:"RADIANS",343:"DEGREES",344:"SUBTOTAL",345:"SUMIF",346:"COUNTIF",347:"COUNTBLANK",348:"SCENARIO.GET",349:"OPTIONS.LISTS.GET",350:"ISPMT",351:"DATEDIF",352:"DATESTRING",353:"NUMBERSTRING",354:"ROMAN",355:"OPEN.DIALOG",356:"SAVE.DIALOG",357:"VIEW.GET",358:"GETPIVOTDATA",359:"HYPERLINK",360:"PHONETIC",361:"AVERAGEA",362:"MAXA",363:"MINA",364:"STDEVPA",365:"VARPA",366:"STDEVA",367:"VARA",368:"BAHTTEXT",369:"THAIDAYOFWEEK",370:"THAIDIGIT",371:"THAIMONTHOFYEAR",372:"THAINUMSOUND",373:"THAINUMSTRING",374:"THAISTRINGLENGTH",375:"ISTHAIDIGIT",376:"ROUNDBAHTDOWN",377:"ROUNDBAHTUP",378:"THAIYEAR",379:"RTD",380:"CUBEVALUE",381:"CUBEMEMBER",382:"CUBEMEMBERPROPERTY",383:"CUBERANKEDMEMBER",384:"HEX2BIN",385:"HEX2DEC",386:"HEX2OCT",387:"DEC2BIN",388:"DEC2HEX",389:"DEC2OCT",390:"OCT2BIN",391:"OCT2HEX",392:"OCT2DEC",393:"BIN2DEC",394:"BIN2OCT",395:"BIN2HEX",396:"IMSUB",397:"IMDIV",398:"IMPOWER",399:"IMABS",400:"IMSQRT",401:"IMLN",402:"IMLOG2",403:"IMLOG10",404:"IMSIN",405:"IMCOS",406:"IMEXP",407:"IMARGUMENT",408:"IMCONJUGATE",409:"IMAGINARY",410:"IMREAL",411:"COMPLEX",412:"IMSUM",413:"IMPRODUCT",414:"SERIESSUM",415:"FACTDOUBLE",416:"SQRTPI",417:"QUOTIENT",418:"DELTA",419:"GESTEP",420:"ISEVEN",421:"ISODD",422:"MROUND",423:"ERF",424:"ERFC",425:"BESSELJ",426:"BESSELK",427:"BESSELY",428:"BESSELI",429:"XIRR",430:"XNPV",431:"PRICEMAT",432:"YIELDMAT",433:"INTRATE",434:"RECEIVED",435:"DISC",436:"PRICEDISC",437:"YIELDDISC",438:"TBILLEQ",439:"TBILLPRICE",440:"TBILLYIELD",441:"PRICE",442:"YIELD",443:"DOLLARDE",444:"DOLLARFR",445:"NOMINAL",446:"EFFECT",447:"CUMPRINC",448:"CUMIPMT",449:"EDATE",450:"EOMONTH",451:"YEARFRAC",452:"COUPDAYBS",453:"COUPDAYS",454:"COUPDAYSNC",455:"COUPNCD",456:"COUPNUM",457:"COUPPCD",458:"DURATION",459:"MDURATION",460:"ODDLPRICE",461:"ODDLYIELD",462:"ODDFPRICE",463:"ODDFYIELD",464:"RANDBETWEEN",465:"WEEKNUM",466:"AMORDEGRC",467:"AMORLINC",468:"CONVERT",724:"SHEETJS",469:"ACCRINT",470:"ACCRINTM",471:"WORKDAY",472:"NETWORKDAYS",473:"GCD",474:"MULTINOMIAL",475:"LCM",476:"FVSCHEDULE",477:"CUBEKPIMEMBER",478:"CUBESET",479:"CUBESETCOUNT",480:"IFERROR",481:"COUNTIFS",482:"SUMIFS",483:"AVERAGEIF",484:"AVERAGEIFS"},dc={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function mc(e){var t="of:="+e.replace(kl,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function gc(e){return e.replace(/\./,"!")}var vc="undefined"!==typeof Map;function Tc(e,t,r){var n=0,a=e.length;if(r){if(vc?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var s=vc?r.get(t):r[t];n-1?(r.width=wi(n),r.customWidth=1):null!=t.width&&(r.width=t.width),t.hidden&&(r.hidden=!0),null!=t.level&&(r.outlineLevel=r.level=t.level),r}function wc(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function Ec(e,t,r){var n=r.revssf[null!=t.z?t.z:"General"],a=60,s=e.length;if(null==n&&r.ssf)for(;a<392;++a)if(null==r.ssf[a]){Et(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}for(a=0;a!=s;++a)if(e[a].numFmtId===n)return a;return e[s]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},s}function Sc(e,t,r){if(e&&e["!ref"]){var n=Pn(e["!ref"]);if(n.e.c',r=0;r!=e.length;++r)t+='';return t+""}function yc(e,t,r,n,a){var s=!1,i={},l=null;if("xlsx"!==n.bookType&&t.vbaraw){var o=t.SheetNames[r];try{t.Workbook&&(o=t.Workbook.Sheets[r].CodeName||o)}catch(f){}s=!0,i.codeName=Tr(ir(o))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),l=(l||"")+Ar("outlinePr",null,c)}(s||l)&&(a[a.length]=Ar("sheetPr",l,i))}var kc=["objects","scenarios","selectLockedCells","selectUnlockedCells"],_c=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function xc(e){var t={sheet:1};return kc.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),_c.forEach((function(r){null==e[r]||e[r]||(t[r]="0")})),e.password&&(t.password=pi(e.password).toString(16).toUpperCase()),Ar("sheetProtection",null,t)}function Oc(e){return wc(e),Ar("pageMargins",null,e)}function Cc(e,t){for(var r,n=[""],a=0;a!=t.length;++a)(r=t[a])&&(n[n.length]=Ar("col",null,bc(a,r)));return n[n.length]="",n.join("")}function Rc(e,t,r,n){var a="string"==typeof e.ref?e.ref:Dn(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,i=Nn(a);i.s.r==i.e.r&&(i.e.r=Nn(t["!ref"]).e.r,a=Dn(i));for(var l=0;l32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){l=Er("v",""+Tc(n.Strings,e.v,n.revStrings)),o.t="s";break}o.t="str";break}if(e.t!=s&&(e.t=s,e.v=i),"string"==typeof e.f&&e.f){var f=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;l=Ar("f",ir(e.f),f)+(null!=e.v?l:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(o.cm=1),Ar("c",l,o)}function Dc(e,t,r,n){var a,s,i=[],l=[],o=Pn(e["!ref"]),c="",f="",h=[],u=0,p=0,d=e["!rows"],m=Array.isArray(e),g={r:f},v=-1;for(p=o.s.c;p<=o.e.c;++p)h[p]=_n(p);for(u=o.s.r;u<=o.e.r;++u){for(l=[],f=Sn(u),p=o.s.c;p<=o.e.c;++p){a=h[p]+f;var T=m?(e[u]||[])[p]:e[a];void 0!==T&&(null!=(c=Nc(T,a,e,t,r,n))&&l.push(c))}(l.length>0||d&&d[u])&&(g={r:f},d&&d[u]&&(s=d[u],s.hidden&&(g.hidden=1),v=-1,s.hpx?v=yi(s.hpx):s.hpt&&(v=s.hpt),v>-1&&(g.ht=v,g.customHeight=1),s.level&&(g.outlineLevel=s.level)),i[i.length]=Ar("row",l.join(""),g))}if(d)for(;u-1&&(g.ht=v,g.customHeight=1),s.level&&(g.outlineLevel=s.level),i[i.length]=Ar("row","",g));return i.join("")}function Pc(e,t,r,n){var a=[tr,Ar("worksheet",null,{xmlns:xr[0],"xmlns:r":_r.r})],s=r.SheetNames[e],i=0,l="",o=r.Sheets[s];null==o&&(o={});var c=o["!ref"]||"A1",f=Pn(c);if(f.e.c>16383||f.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383),f.e.r=Math.min(f.e.c,1048575),c=Dn(f)}n||(n={}),o["!comments"]=[];var h=[];yc(o,r,e,t,a),a[a.length]=Ar("dimension",null,{ref:c}),a[a.length]=Ic(o,t,e,r),t.sheetFormat&&(a[a.length]=Ar("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=o["!cols"]&&o["!cols"].length>0&&(a[a.length]=Cc(o,o["!cols"])),a[i=a.length]="",o["!links"]=[],null!=o["!ref"]&&(l=Dc(o,t,e,r,n),l.length>0&&(a[a.length]=l)),a.length>i+1&&(a[a.length]="",a[i]=a[i].replace("/>",">")),o["!protect"]&&(a[a.length]=xc(o["!protect"])),null!=o["!autofilter"]&&(a[a.length]=Rc(o["!autofilter"],o,r,e)),null!=o["!merges"]&&o["!merges"].length>0&&(a[a.length]=Ac(o["!merges"]));var u,p=-1,d=-1;return o["!links"].length>0&&(a[a.length]="",o["!links"].forEach((function(e){e[1].Target&&(u={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(d=Ga(n,-1,ir(e[1].Target).replace(/#.*$/,""),Ba.HLINK),u["r:id"]="rId"+d),(p=e[1].Target.indexOf("#"))>-1&&(u.location=ir(e[1].Target.slice(p+1))),e[1].Tooltip&&(u.tooltip=ir(e[1].Tooltip)),a[a.length]=Ar("hyperlink",null,u))})),a[a.length]=""),delete o["!links"],null!=o["!margins"]&&(a[a.length]=Oc(o["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(a[a.length]=Er("ignoredErrors",Ar("ignoredError",null,{numberStoredAsText:1,sqref:c}))),h.length>0&&(d=Ga(n,-1,"../drawings/drawing"+(e+1)+".xml",Ba.DRAW),a[a.length]=Ar("drawing",null,{"r:id":"rId"+d}),o["!drawing"]=h),o["!comments"].length>0&&(d=Ga(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Ba.VML),a[a.length]=Ar("legacyDrawing",null,{"r:id":"rId"+d}),o["!legacy"]=d),a.length>1&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}function Lc(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var s=e.read_shift(1);return e.l=n,7&s&&(r.level=7&s),16&s&&(r.hidden=!0),32&s&&(r.hpt=a/20),r}function Mc(e,t,r){var n=dn(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var s=320;a.hpx?s=20*yi(a.hpx):a.hpt&&(s=20*a.hpt),n.write_shift(2,s),n.write_shift(1,0);var i=0;a.level&&(i|=a.level),a.hidden&&(i|=16),(a.hpx||a.hpt)&&(i|=32),n.write_shift(1,i),n.write_shift(1,0);var l=0,o=n.l;n.l+=4;for(var c={r:e,c:0},f=0;f<16;++f)if(!(t.s.c>f+1<<10||t.e.cn.l?n.slice(0,n.l):n}function Fc(e,t,r,n){var a=Mc(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&gn(e,0,a)}var Uc=ha,Bc=ua;function Wc(){}function Hc(e,t){var r={},n=e[e.l];return++e.l,r.above=!(64&n),r.left=!(128&n),e.l+=18,r.name=ea(e,t-19),r}function Gc(e,t,r){null==r&&(r=dn(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return ga({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),ta(e,r),r.slice(0,r.l)}function Vc(e){var t=Zn(e);return[t]}function jc(e,t,r){return null==r&&(r=dn(8)),Jn(t,r)}function zc(e){var t=qn(e);return[t]}function $c(e,t,r){return null==r&&(r=dn(4)),Qn(t,r)}function Xc(e){var t=Zn(e),r=e.read_shift(1);return[t,r,"b"]}function Kc(e,t,r){return null==r&&(r=dn(9)),Jn(t,r),r.write_shift(1,e.v?1:0),r}function Yc(e){var t=qn(e),r=e.read_shift(1);return[t,r,"b"]}function Zc(e,t,r){return null==r&&(r=dn(5)),Qn(t,r),r.write_shift(1,e.v?1:0),r}function Jc(e){var t=Zn(e),r=e.read_shift(1);return[t,r,"e"]}function qc(e,t,r){return null==r&&(r=dn(9)),Jn(t,r),r.write_shift(1,e.v),r}function Qc(e){var t=qn(e),r=e.read_shift(1);return[t,r,"e"]}function ef(e,t,r){return null==r&&(r=dn(8)),Qn(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function tf(e){var t=Zn(e),r=e.read_shift(4);return[t,r,"s"]}function rf(e,t,r){return null==r&&(r=dn(12)),Jn(t,r),r.write_shift(4,t.v),r}function nf(e){var t=qn(e),r=e.read_shift(4);return[t,r,"s"]}function af(e,t,r){return null==r&&(r=dn(8)),Qn(t,r),r.write_shift(4,t.v),r}function sf(e){var t=Zn(e),r=pa(e);return[t,r,"n"]}function lf(e,t,r){return null==r&&(r=dn(16)),Jn(t,r),da(e.v,r),r}function of(e){var t=qn(e),r=pa(e);return[t,r,"n"]}function cf(e,t,r){return null==r&&(r=dn(12)),Qn(t,r),da(e.v,r),r}function ff(e){var t=Zn(e),r=la(e);return[t,r,"n"]}function hf(e,t,r){return null==r&&(r=dn(12)),Jn(t,r),oa(e.v,r),r}function uf(e){var t=qn(e),r=la(e);return[t,r,"n"]}function pf(e,t,r){return null==r&&(r=dn(8)),Qn(t,r),oa(e.v,r),r}function df(e){var t=Zn(e),r=$n(e);return[t,r,"is"]}function mf(e){var t=Zn(e),r=Gn(e);return[t,r,"str"]}function gf(e,t,r){return null==r&&(r=dn(12+4*e.v.length)),Jn(t,r),Vn(e.v,r),r.length>r.l?r.slice(0,r.l):r}function vf(e){var t=qn(e),r=Gn(e);return[t,r,"str"]}function Tf(e,t,r){return null==r&&(r=dn(8+4*e.v.length)),Qn(t,r),Vn(e.v,r),r.length>r.l?r.slice(0,r.l):r}function bf(e,t,r){var n=e.l+t,a=Zn(e);a.r=r["!row"];var s=e.read_shift(1),i=[a,s,"b"];if(r.cellFormula){e.l+=2;var l=cc(e,n-e.l,r);i[3]=ac(l,null,a,r.supbooks,r)}else e.l=n;return i}function wf(e,t,r){var n=e.l+t,a=Zn(e);a.r=r["!row"];var s=e.read_shift(1),i=[a,s,"e"];if(r.cellFormula){e.l+=2;var l=cc(e,n-e.l,r);i[3]=ac(l,null,a,r.supbooks,r)}else e.l=n;return i}function Ef(e,t,r){var n=e.l+t,a=Zn(e);a.r=r["!row"];var s=pa(e),i=[a,s,"n"];if(r.cellFormula){e.l+=2;var l=cc(e,n-e.l,r);i[3]=ac(l,null,a,r.supbooks,r)}else e.l=n;return i}function Sf(e,t,r){var n=e.l+t,a=Zn(e);a.r=r["!row"];var s=Gn(e),i=[a,s,"str"];if(r.cellFormula){e.l+=2;var l=cc(e,n-e.l,r);i[3]=ac(l,null,a,r.supbooks,r)}else e.l=n;return i}var Af=ha,yf=ua;function kf(e,t){return null==t&&(t=dn(4)),t.write_shift(4,e),t}function _f(e,t){var r=e.l+t,n=ha(e,16),a=ra(e),s=Gn(e),i=Gn(e),l=Gn(e);e.l=r;var o={rfx:n,relId:a,loc:s,display:l};return i&&(o.Tooltip=i),o}function xf(e,t){var r=dn(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));ua({s:Rn(e[0]),e:Rn(e[0])},r),ia("rId"+t,r);var n=e[1].Target.indexOf("#"),a=-1==n?"":e[1].Target.slice(n+1);return Vn(a||"",r),Vn(e[1].Tooltip||"",r),Vn("",r),r.slice(0,r.l)}function Of(){}function Cf(e,t,r){var n=e.l+t,a=ca(e,16),s=e.read_shift(1),i=[a];if(i[2]=s,r.cellFormula){var l=oc(e,n-e.l,r);i[1]=l}else e.l=n;return i}function Rf(e,t,r){var n=e.l+t,a=ha(e,16),s=[a];if(r.cellFormula){var i=hc(e,n-e.l,r);s[1]=i,e.l=n}else e.l=n;return s}function If(e,t,r){null==r&&(r=dn(18));var n=bc(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,256*(n.width||10)),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof n.width&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}var Nf=["left","right","top","bottom","header","footer"];function Df(e){var t={};return Nf.forEach((function(r){t[r]=pa(e,8)})),t}function Pf(e,t){return null==t&&(t=dn(48)),wc(e),Nf.forEach((function(r){da(e[r],t)})),t}function Lf(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}function Mf(e,t,r){null==r&&(r=dn(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function Ff(e){var t=dn(24);return t.write_shift(4,4),t.write_shift(4,1),ua(e,t),t}function Uf(e,t){return null==t&&(t=dn(66)),t.write_shift(2,e.password?pi(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(r){r[1]?t.write_shift(4,null==e[r[0]]||e[r[0]]?0:1):t.write_shift(4,null!=e[r[0]]&&e[r[0]]?0:1)})),t}function Bf(){}function Wf(){}function Hf(e,t,r,n,a,s,i){if(void 0===t.v)return!1;var l="";switch(t.t){case"b":l=t.v?"1":"0";break;case"d":t=Kt(t),t.z=t.z||Oe[14],t.v=Ut($t(t.v)),t.t="n";break;case"n":case"e":l=""+t.v;break;default:l=t.v;break}var o={r:r,c:n};switch(o.s=Ec(a.cellXfs,t,a),t.l&&s["!links"].push([In(o),t.l]),t.c&&s["!comments"].push([In(o),t.c]),t.t){case"s":case"str":return a.bookSST?(l=Tc(a.Strings,t.v,a.revStrings),o.t="s",o.v=l,i?gn(e,18,af(t,o)):gn(e,7,rf(t,o))):(o.t="str",i?gn(e,17,Tf(t,o)):gn(e,6,gf(t,o))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?gn(e,13,pf(t,o)):gn(e,2,hf(t,o)):i?gn(e,16,cf(t,o)):gn(e,5,lf(t,o)),!0;case"b":return o.t="b",i?gn(e,15,Zc(t,o)):gn(e,4,Kc(t,o)),!0;case"e":return o.t="e",i?gn(e,14,ef(t,o)):gn(e,3,qc(t,o)),!0}return i?gn(e,12,$c(t,o)):gn(e,1,jc(t,o)),!0}function Gf(e,t,r,n){var a,s=Pn(t["!ref"]||"A1"),i="",l=[];gn(e,145);var o=Array.isArray(t),c=s.e.r;t["!rows"]&&(c=Math.max(s.e.r,t["!rows"].length-1));for(var f=s.s.r;f<=c;++f){i=Sn(f),Fc(e,t,s,f);var h=!1;if(f<=s.e.r)for(var u=s.s.c;u<=s.e.c;++u){f===s.s.r&&(l[u]=_n(u)),a=l[u]+i;var p=o?(t[f]||[])[u]:t[a];p?h=Hf(e,p,f,u,n,t,h):h=!1}}gn(e,146)}function Vf(e,t){t&&t["!merges"]&&(gn(e,177,kf(t["!merges"].length)),t["!merges"].forEach((function(t){gn(e,176,yf(t))})),gn(e,178))}function jf(e,t){t&&t["!cols"]&&(gn(e,390),t["!cols"].forEach((function(t,r){t&&gn(e,60,If(r,t))})),gn(e,391))}function zf(e,t){t&&t["!ref"]&&(gn(e,648),gn(e,649,Ff(Pn(t["!ref"]))),gn(e,650))}function $f(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var n=Ga(r,-1,t[1].Target.replace(/#.*$/,""),Ba.HLINK);gn(e,494,xf(t,n))}})),delete t["!links"]}function Xf(e,t,r,n){if(t["!comments"].length>0){var a=Ga(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Ba.VML);gn(e,551,ia("rId"+a)),t["!legacy"]=a}}function Kf(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],s="string"===typeof a.ref?a.ref:Dn(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,l=Nn(s);l.s.r==l.e.r&&(l.e.r=Nn(t["!ref"]).e.r,s=Dn(l));for(var o=0;o16383||o.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383),o.e.r=Math.min(o.e.c,1048575)}return i["!links"]=[],i["!comments"]=[],gn(a,129),(r.vbaraw||i["!outline"])&&gn(a,147,Gc(l,i["!outline"])),gn(a,148,Bc(o)),Yf(a,i,r.Workbook),Zf(a,i),jf(a,i,e,t,r),Gf(a,i,e,t,r),Jf(a,i),Kf(a,i,r,e),Vf(a,i),$f(a,i,n),i["!margins"]&&gn(a,476,Pf(i["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||zf(a,i),Xf(a,i,e,n),gn(a,130),a.end()}function Qf(e,t){e.l+=10;var r=Gn(e,t-10);return{name:r}}var eh=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];function th(e){return e.Workbook&&e.Workbook.WBProps&&ur(e.Workbook.WBProps.date1904)?"true":"false"}var rh="][*?/\\".split("");function nh(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return rh.forEach((function(n){if(-1!=e.indexOf(n)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}function ah(e,t,r){e.forEach((function(n,a){nh(n);for(var s=0;s22)throw new Error("Bad Code Name: Worksheet"+i)}}))}function sh(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];ah(e.SheetNames,t,!!e.vbaraw);for(var r=0;r0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(eh.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(n[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=Ar("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],s=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="",s=0;s!=e.SheetNames.length;++s){if(!a[s])break;if(!a[s].Hidden)break}s==e.SheetNames.length&&(s=0),t[t.length]='',t[t.length]=""}for(t[t.length]="",s=0;s!=e.SheetNames.length;++s){var i={name:ir(e.SheetNames[s].slice(0,31))};if(i.sheetId=""+(s+1),i["r:id"]="rId"+(s+1),a[s])switch(a[s].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden";break}t[t.length]=Ar("sheet",null,i)}return t[t.length]="",r&&(t[t.length]="",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var r={name:e.Name};e.Comment&&(r.comment=e.Comment),null!=e.Sheet&&(r.localSheetId=""+e.Sheet),e.Hidden&&(r.hidden="1"),e.Ref&&(t[t.length]=Ar("definedName",ir(e.Ref),r))})),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function lh(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=sa(e,t-8),r.name=Gn(e),r}function oh(e,t){return t||(t=dn(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),ia(e.strRelID,t),Vn(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function ch(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?Gn(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}function fh(e,t){t||(t=dn(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),ta(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function hh(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),s=aa(e),i=fc(e,0,r),l=ra(e);e.l=n;var o={Name:s,Ptg:i};return a<268435455&&(o.Sheet=a),l&&(o.Comment=l),o}function uh(e,t){gn(e,143);for(var r=0;r!=t.SheetNames.length;++r){var n=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,a={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};gn(e,156,oh(a))}gn(e,144)}function ph(e,t){t||(t=dn(127));for(var r=0;4!=r;++r)t.write_shift(4,0);return Vn("SheetJS",t),Vn(B.version,t),Vn(B.version,t),Vn("7262",t),t.length>t.l?t.slice(0,t.l):t}function dh(e,t){t||(t=dn(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function mh(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r=t.Workbook.Sheets,n=0,a=-1,s=-1;na||(gn(e,135),gn(e,158,dh(a)),gn(e,136))}}function gh(e,t){var r=mn();return gn(r,131),gn(r,128,ph()),gn(r,153,fh(e.Workbook&&e.Workbook.WBProps||null)),mh(r,e,t),uh(r,e,t),gn(r,132),r.end()}function vh(e,t,r){return(".bin"===t.slice(-4)?gh:ih)(e,r)}function Th(e,t,r,n,a){return(".bin"===t.slice(-4)?qf:Pc)(e,r,n,a)}function bh(e,t,r){return(".bin"===t.slice(-4)?el:Oi)(e,r)}function wh(e,t,r){return(".bin"===t.slice(-4)?hi:li)(e,r)}function Eh(e,t,r){return(".bin"===t.slice(-4)?El:dl)(e,r)}function Sh(e){return(".bin"===e.slice(-4)?cl:fl)()}function Ah(e,t){var r=[];return e.Props&&r.push(rs(e.Props,t)),e.Custprops&&r.push(ns(e.Props,e.Custprops,t)),r.join("")}function yh(){return""}function kh(e,t){var r=[''];return t.cellXfs.forEach((function(e,t){var n=[];n.push(Ar("NumberFormat",null,{"ss:Format":ir(Oe[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};r.push(Ar("Style",n.join(""),a))})),Ar("Styles",r.join(""))}function _h(e){return Ar("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+_l(e.Ref,{r:0,c:0})})}function xh(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n"),e["!margins"].header&&a.push(Ar("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(Ar("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(Ar("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(Ar("Visible",1==n.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var s=0;s")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push(""),e["!protect"]&&(a.push(Er("ProtectContents","True")),e["!protect"].objects&&a.push(Er("ProtectObjects","True")),e["!protect"].scenarios&&a.push(Er("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(Er("EnableSelection","UnlockedCells")):a.push(Er("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&a.push("<"+t[1]+"/>")}))),0==a.length?"":Ar("WorksheetOptions",a.join(""),{xmlns:Or.x})}function Rh(e){return e.map((function(e){var t=hr(e.t||""),r=Ar("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return Ar("Comment",r,{"ss:Author":e.a})})).join("")}function Ih(e,t,r,n,a,s,i){if(!e||void 0==e.v&&void 0==e.f)return"";var l={};if(e.f&&(l["ss:Formula"]="="+ir(_l(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var o=Rn(e.F.slice(t.length+1));l["ss:ArrayRange"]="RC:R"+(o.r==i.r?"":"["+(o.r-i.r)+"]")+"C"+(o.c==i.c?"":"["+(o.c-i.c)+"]")}if(e.l&&e.l.Target&&(l["ss:HRef"]=ir(e.l.Target),e.l.Tooltip&&(l["x:HRefScreenTip"]=ir(e.l.Tooltip))),r["!merges"])for(var c=r["!merges"],f=0;f!=c.length;++f)c[f].s.c==i.c&&c[f].s.r==i.r&&(c[f].e.c>c[f].s.c&&(l["ss:MergeAcross"]=c[f].e.c-c[f].s.c),c[f].e.r>c[f].s.r&&(l["ss:MergeDown"]=c[f].e.r-c[f].s.r));var h="",u="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":h="Number",u=String(e.v);break;case"b":h="Boolean",u=e.v?"1":"0";break;case"e":h="Error",u=Pa[e.v];break;case"d":h="DateTime",u=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||Oe[14]);break;case"s":h="String",u=fr(e.v||"");break}var p=Ec(n.cellXfs,e,n);l["ss:StyleID"]="s"+(21+p),l["ss:Index"]=i.c+1;var d=null!=e.v?u:"",m="z"==e.t?"":''+d+"";return(e.c||[]).length>0&&(m+=Rh(e.c)),Ar("Cell",m,l)}function Nh(e,t){var r='"}function Dh(e,t,r,n){if(!e["!ref"])return"";var a=Pn(e["!ref"]),s=e["!merges"]||[],i=0,l=[];e["!cols"]&&e["!cols"].forEach((function(e,t){Ei(e);var r=!!e.width,n=bc(t,e),a={"ss:Index":t+1};r&&(a["ss:Width"]=Ti(n.width)),e.hidden&&(a["ss:Hidden"]="1"),l.push(Ar("Column",null,a))}));for(var o=Array.isArray(e),c=a.s.r;c<=a.e.r;++c){for(var f=[Nh(c,(e["!rows"]||[])[c])],h=a.s.c;h<=a.e.c;++h){var u=!1;for(i=0;i!=s.length;++i)if(!(s[i].s.c>h)&&!(s[i].s.r>c)&&!(s[i].e.c"),f.length>2&&l.push(f.join(""))}return l.join("")}function Ph(e,t,r){var n=[],a=r.SheetNames[e],s=r.Sheets[a],i=s?Oh(s,t,e,r):"";return i.length>0&&n.push(""+i+""),i=s?Dh(s,t,e,r):"",i.length>0&&n.push(""),n.push(Ch(s,t,e,r)),n.join("")}function Lh(e,t){t||(t={}),e.SSF||(e.SSF=Kt(Oe)),e.SSF&&(At(),St(e.SSF),t.revssf=Lt(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Ec(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Ah(e,t)),r.push(yh(e,t)),r.push(""),r.push("");for(var n=0;n-1||qa.indexOf(s[i][0])>-1||null!=s[i][1]&&c.push(s[i]);a.length&&Ot.utils.cfb_add(t,"/SummaryInformation",cs(a,Mh.SI,o,Ra)),(n.length||c.length)&&Ot.utils.cfb_add(t,"/DocumentSummaryInformation",cs(n,Mh.DSI,l,Ca,c.length?c:null,Mh.UDI))}function Uh(e,t){var r=t||{},n=Ot.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Ot.utils.cfb_add(n,a,au(e,r)),8==r.biff&&(e.Props||e.Custprops)&&Fh(e,n),8==r.biff&&e.vbaraw&&Sl(n,Ot.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),n}var Bh={0:{f:Lc},1:{f:Vc},2:{f:ff},3:{f:Jc},4:{f:Xc},5:{f:sf},6:{f:mf},7:{f:tf},8:{f:Sf},9:{f:Ef},10:{f:bf},11:{f:wf},12:{f:zc},13:{f:uf},14:{f:Qc},15:{f:Yc},16:{f:of},17:{f:vf},18:{f:nf},19:{f:$n},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:hh},40:{},42:{},43:{f:Ii},44:{f:Ci},45:{f:Li},46:{f:Wi},47:{f:Fi},48:{},49:{f:Wn},50:{},51:{f:al},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Ys},62:{f:df},63:{f:hl},64:{f:Bf},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:pn,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Lf},138:{T:-1},139:{T:1},140:{T:-1},141:{T:1},142:{T:-1},143:{T:1},144:{T:-1},145:{T:1},146:{T:-1},147:{f:Hc},148:{f:Uc,p:16},151:{f:Of},152:{},153:{f:ch},154:{},155:{},156:{f:lh},157:{},158:{},159:{T:1,f:oi},160:{T:-1},161:{T:1,f:ha},162:{T:-1},163:{T:1},164:{T:-1},165:{T:1},166:{T:-1},167:{},168:{},169:{},170:{},171:{},172:{T:1},173:{T:-1},174:{},175:{},176:{f:Af},177:{T:1},178:{T:-1},179:{T:1},180:{T:-1},181:{T:1},182:{T:-1},183:{T:1},184:{T:-1},185:{T:1},186:{T:-1},187:{T:1},188:{T:-1},189:{T:1},190:{T:-1},191:{T:1},192:{T:-1},193:{T:1},194:{T:-1},195:{T:1},196:{T:-1},197:{T:1},198:{T:-1},199:{T:1},200:{T:-1},201:{T:1},202:{T:-1},203:{T:1},204:{T:-1},205:{T:1},206:{T:-1},207:{T:1},208:{T:-1},209:{T:1},210:{T:-1},211:{T:1},212:{T:-1},213:{T:1},214:{T:-1},215:{T:1},216:{T:-1},217:{T:1},218:{T:-1},219:{T:1},220:{T:-1},221:{T:1},222:{T:-1},223:{T:1},224:{T:-1},225:{T:1},226:{T:-1},227:{T:1},228:{T:-1},229:{T:1},230:{T:-1},231:{T:1},232:{T:-1},233:{T:1},234:{T:-1},235:{T:1},236:{T:-1},237:{T:1},238:{T:-1},239:{T:1},240:{T:-1},241:{T:1},242:{T:-1},243:{T:1},244:{T:-1},245:{T:1},246:{T:-1},247:{T:1},248:{T:-1},249:{T:1},250:{T:-1},251:{T:1},252:{T:-1},253:{T:1},254:{T:-1},255:{T:1},256:{T:-1},257:{T:1},258:{T:-1},259:{T:1},260:{T:-1},261:{T:1},262:{T:-1},263:{T:1},264:{T:-1},265:{T:1},266:{T:-1},267:{T:1},268:{T:-1},269:{T:1},270:{T:-1},271:{T:1},272:{T:-1},273:{T:1},274:{T:-1},275:{T:1},276:{T:-1},277:{},278:{T:1},279:{T:-1},280:{T:1},281:{T:-1},282:{T:1},283:{T:1},284:{T:-1},285:{T:1},286:{T:-1},287:{T:1},288:{T:-1},289:{T:1},290:{T:-1},291:{T:1},292:{T:-1},293:{T:1},294:{T:-1},295:{T:1},296:{T:-1},297:{T:1},298:{T:-1},299:{T:1},300:{T:-1},301:{T:1},302:{T:-1},303:{T:1},304:{T:-1},305:{T:1},306:{T:-1},307:{T:1},308:{T:-1},309:{T:1},310:{T:-1},311:{T:1},312:{T:-1},313:{T:-1},314:{T:1},315:{T:-1},316:{T:1},317:{T:-1},318:{T:1},319:{T:-1},320:{T:1},321:{T:-1},322:{T:1},323:{T:-1},324:{T:1},325:{T:-1},326:{T:1},327:{T:-1},328:{T:1},329:{T:-1},330:{T:1},331:{T:-1},332:{T:1},333:{T:-1},334:{T:1},335:{f:rl},336:{T:-1},337:{f:ll,T:1},338:{T:-1},339:{T:1},340:{T:-1},341:{T:1},342:{T:-1},343:{T:1},344:{T:-1},345:{T:1},346:{T:-1},347:{T:1},348:{T:-1},349:{T:1},350:{T:-1},351:{},352:{},353:{T:1},354:{T:-1},355:{f:sa},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Vs},363:{},364:{},366:{},367:{},368:{},369:{},370:{},371:{},372:{T:1},373:{T:-1},374:{T:1},375:{T:-1},376:{T:1},377:{T:-1},378:{T:1},379:{T:-1},380:{T:1},381:{T:-1},382:{T:1},383:{T:-1},384:{T:1},385:{T:-1},386:{T:1},387:{T:-1},388:{T:1},389:{T:-1},390:{T:1},391:{T:-1},392:{T:1},393:{T:-1},394:{T:1},395:{T:-1},396:{},397:{},398:{},399:{},400:{},401:{T:1},403:{},404:{},405:{},406:{},407:{},408:{},409:{},410:{},411:{},412:{},413:{},414:{},415:{},416:{},417:{},418:{},419:{},420:{},421:{},422:{T:1},423:{T:1},424:{T:-1},425:{T:-1},426:{f:Cf},427:{f:Rf},428:{},429:{T:1},430:{T:-1},431:{T:1},432:{T:-1},433:{T:1},434:{T:-1},435:{T:1},436:{T:-1},437:{T:1},438:{T:-1},439:{T:1},440:{T:-1},441:{T:1},442:{T:-1},443:{T:1},444:{T:-1},445:{T:1},446:{T:-1},447:{T:1},448:{T:-1},449:{T:1},450:{T:-1},451:{T:1},452:{T:-1},453:{T:1},454:{T:-1},455:{T:1},456:{T:-1},457:{T:1},458:{T:-1},459:{T:1},460:{T:-1},461:{T:1},462:{T:-1},463:{T:1},464:{T:-1},465:{T:1},466:{T:-1},467:{T:1},468:{T:-1},469:{T:1},470:{T:-1},471:{},472:{},473:{T:1},474:{T:-1},475:{},476:{f:Df},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Wc},486:{T:1},487:{T:-1},488:{T:1},489:{T:-1},490:{T:1},491:{T:-1},492:{T:1},493:{T:-1},494:{f:_f},495:{T:1},496:{T:-1},497:{T:1},498:{T:-1},499:{},500:{T:1},501:{T:-1},502:{T:1},503:{T:-1},504:{},505:{T:1},506:{T:-1},507:{},508:{T:1},509:{T:-1},510:{T:1},511:{T:-1},512:{},513:{},514:{T:1},515:{T:-1},516:{T:1},517:{T:-1},518:{T:1},519:{T:-1},520:{T:1},521:{T:-1},522:{},523:{},524:{},525:{},526:{},527:{},528:{T:1},529:{T:-1},530:{T:1},531:{T:-1},532:{T:1},533:{T:-1},534:{},535:{},536:{},537:{},538:{T:1},539:{T:-1},540:{T:1},541:{T:-1},542:{T:1},548:{},549:{},550:{f:sa},551:{},552:{},553:{},554:{T:1},555:{T:-1},556:{T:1},557:{T:-1},558:{T:1},559:{T:-1},560:{T:1},561:{T:-1},562:{},564:{},565:{T:1},566:{T:-1},569:{T:1},570:{T:-1},572:{},573:{T:1},574:{T:-1},577:{},578:{},579:{},580:{},581:{},582:{},583:{},584:{},585:{},586:{},587:{},588:{T:-1},589:{},590:{T:1},591:{T:-1},592:{T:1},593:{T:-1},594:{T:1},595:{T:-1},596:{},597:{T:1},598:{T:-1},599:{T:1},600:{T:-1},601:{T:1},602:{T:-1},603:{T:1},604:{T:-1},605:{T:1},606:{T:-1},607:{},608:{T:1},609:{T:-1},610:{},611:{T:1},612:{T:-1},613:{T:1},614:{T:-1},615:{T:1},616:{T:-1},617:{T:1},618:{T:-1},619:{T:1},620:{T:-1},625:{},626:{T:1},627:{T:-1},628:{T:1},629:{T:-1},630:{T:1},631:{T:-1},632:{f:bl},633:{T:1},634:{T:-1},635:{T:1,f:vl},636:{T:-1},637:{f:Kn},638:{T:1},639:{},640:{T:-1},641:{T:1},642:{T:-1},643:{T:1},644:{},645:{T:-1},646:{T:1},648:{T:1},649:{},650:{T:-1},651:{f:Qf},652:{},653:{T:1},654:{T:-1},655:{T:1},656:{T:-1},657:{T:1},658:{T:-1},659:{},660:{T:1},661:{},662:{T:-1},663:{},664:{T:1},665:{},666:{T:-1},667:{},668:{},669:{},671:{T:1},672:{T:-1},673:{T:1},674:{T:-1},675:{},676:{},677:{},678:{},679:{},680:{},681:{},1024:{},1025:{},1026:{T:1},1027:{T:-1},1028:{T:1},1029:{T:-1},1030:{},1031:{T:1},1032:{T:-1},1033:{T:1},1034:{T:-1},1035:{},1036:{},1037:{},1038:{T:1},1039:{T:-1},1040:{},1041:{T:1},1042:{T:-1},1043:{},1044:{},1045:{},1046:{T:1},1047:{T:-1},1048:{T:1},1049:{T:-1},1050:{},1051:{T:1},1052:{T:1},1053:{f:Wf},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function Wh(e,t,r,n){var a=t;if(!isNaN(a)){var s=n||(r||[]).length||0,i=e.next(4);i.write_shift(2,a),i.write_shift(2,s),s>0&&Jr(r)&&e.push(r)}}function Hh(e,t,r,n){var a=n||(r||[]).length||0;if(a<=8224)return Wh(e,t,r,a);var s=t;if(!isNaN(s)){var i=r.parts||[],l=0,o=0,c=0;while(c+(i[l]||8224)<=8224)c+=i[l]||8224,l++;var f=e.next(4);f.write_shift(2,s),f.write_shift(2,c),e.push(r.slice(o,o+c)),o+=c;while(o=0&&a<65536?Wh(e,2,Qs(r,n,a)):Wh(e,3,qs(r,n,a)));case"b":case"e":return void Wh(e,5,Vh(r,n,t.v,t.t));case"s":case"str":return void Wh(e,4,jh(r,n,(t.v||"").slice(0,255)))}Wh(e,1,Gh(null,r,n))}function $h(e,t,r,n){var a,s=Array.isArray(t),i=Pn(t["!ref"]||"A1"),l="",o=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),a=Dn(i)}for(var c=i.s.r;c<=i.e.r;++c){l=Sn(c);for(var f=i.s.c;f<=i.e.c;++f){c===i.s.r&&(o[f]=_n(f)),a=o[f]+l;var h=s?(t[c]||[])[f]:t[a];h&&zh(e,h,c,f,n)}}}function Xh(e,t){var r=t||{};null!=Q&&null==r.dense&&(r.dense=Q);for(var n=mn(),a=0,s=0;s255||p.e.r>=d){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");p.e.c=Math.min(p.e.c,255),p.e.r=Math.min(p.e.c,d-1)}Wh(a,2057,Os(r,16,t)),Wh(a,13,ds(1)),Wh(a,12,ds(100)),Wh(a,15,us(!0)),Wh(a,17,us(!1)),Wh(a,16,da(.001)),Wh(a,95,us(!0)),Wh(a,42,us(!1)),Wh(a,43,us(!1)),Wh(a,130,ds(1)),Wh(a,128,Ws([0,0])),Wh(a,131,us(!1)),Wh(a,132,us(!1)),f&&Qh(a,i["!cols"]),Wh(a,512,Us(p,t)),f&&(i["!links"]=[]);for(var m=p.s.r;m<=p.e.r;++m){h=Sn(m);for(var g=p.s.c;g<=p.e.c;++g){m===p.s.r&&(u[g]=_n(g)),n=u[g]+h;var v=c?(i[m]||[])[g]:i[n];v&&(eu(a,v,m,g,t),f&&v.l&&i["!links"].push([n,v.l]))}}var T=o.CodeName||o.name||s;return f&&Wh(a,574,Ds((l.Views||[])[0])),f&&(i["!merges"]||[]).length&&Wh(a,229,zs(i["!merges"])),f&&qh(a,i),Wh(a,442,Es(T,t)),f&&Zh(a,i),Wh(a,10),a.end()}function ru(e,t,r){var n=mn(),a=(e||{}).Workbook||{},s=a.Sheets||[],i=a.WBProps||{},l=8==r.biff,o=5==r.biff;if(Wh(n,2057,Os(e,5,r)),"xla"==r.bookType&&Wh(n,135),Wh(n,225,l?ds(1200):null),Wh(n,193,fs(2)),o&&Wh(n,191),o&&Wh(n,192),Wh(n,226),Wh(n,92,Cs("SheetJS",r)),Wh(n,66,ds(l?1200:1252)),l&&Wh(n,353,ds(0)),l&&Wh(n,448),Wh(n,317,Js(e.SheetNames.length)),l&&e.vbaraw&&Wh(n,211),l&&e.vbaraw){var c=i.CodeName||"ThisWorkbook";Wh(n,442,Es(c,r))}Wh(n,156,ds(17)),Wh(n,25,us(!1)),Wh(n,18,us(!1)),Wh(n,19,ds(0)),l&&Wh(n,431,us(!1)),l&&Wh(n,444,ds(0)),Wh(n,61,Ns(r)),Wh(n,64,us(!1)),Wh(n,141,ds(0)),Wh(n,34,us("true"==th(e))),Wh(n,14,us(!0)),l&&Wh(n,439,us(!1)),Wh(n,218,ds(0)),Kh(n,e,r),Yh(n,e.SSF,r),Jh(n,r),l&&Wh(n,352,us(!1));var f=n.end(),h=mn();l&&Wh(h,140,Ks()),l&&r.Strings&&Hh(h,252,Is(r.Strings,r)),Wh(h,10);var u=h.end(),p=mn(),d=0,m=0;for(m=0;m255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var s=t||{};switch(s.biff||2){case 8:case 5:return nu(e,t);case 4:case 3:case 2:return Xh(e,t)}throw new Error("invalid type "+s.bookType+" for BIFF")}function su(e,t,r,n){for(var a=e["!merges"]||[],s=[],i=t.s.c;i<=t.e.c;++i){for(var l=0,o=0,c=0;c