sheetjs/dist/xlsx.min.js

14 lines
363 KiB
JavaScript
Raw Normal View History

/* xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
var DO_NOT_EXPORT_CODEPAGE=true;var DO_NOT_EXPORT_JSZIP=true;var XLSX={};(function e(r){r.version="0.11.17";var t=1200,a=1252;if(typeof module!=="undefined"&&typeof require!=="undefined"){if(typeof cptable==="undefined")global.cptable=undefined}var n=[874,932,936,949,950];for(var i=0;i<=8;++i)n.push(1250+i);var s={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969};var l=function(e){if(n.indexOf(e)==-1)return;a=s[0]=e};function f(){l(1252)}var c=function(e){t=e;l(e)};function o(){c(1200);f()}function u(e){var r=[];for(var t=0,a=e.length;t<a;++t)r[t]=e.charCodeAt(t);return r}function h(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join("")}function d(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join("")}var v=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return h(e.substr(2));if(r==254&&t==255)return d(e.substr(2));if(r==65279)return e.substr(1);return e};var p=function yb(e){return String.fromCharCode(e)};if(typeof cptable!=="undefined"){c=function(e){t=e};v=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return cptable.utils.decode(1200,u(e.substr(2)))}return e};p=function Nb(e){if(t===1200)return String.fromCharCode(e);return cptable.utils.decode(t,[e&255,e>>8])[0]}}var b=null;var m=true;var g=function Mb(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(r){var t="";var a=0,n=0,i=0,s=0,l=0,f=0,c=0;for(var o=0;o<r.length;){a=r.charCodeAt(o++);n=r.charCodeAt(o++);i=r.charCodeAt(o++);s=a>>2;l=(a&3)<<4|n>>4;f=(n&15)<<2|i>>6;c=i&63;if(isNaN(n)){f=c=64}else if(isNaN(i)){c=64}t+=e.charAt(s)+e.charAt(l)+e.charAt(f)+e.charAt(c)}return t},decode:function r(t){var a="";var n=0,i=0,s=0;var l=0,f=0,c=0,o=0;t=t.replace(/[^A-Za-z0-9\+\/\=]/g,"");for(var u=0;u<t.length;){l=e.indexOf(t.charAt(u++));f=e.indexOf(t.charAt(u++));c=e.indexOf(t.charAt(u++));o=e.indexOf(t.charAt(u++));n=l<<2|f>>4;i=(f&15)<<4|c>>2;s=(c&3)<<6|o;a+=String.fromCharCode(n);if(c!==64){a+=String.fromCharCode(i)}if(o!==64){a+=String.fromCharCode(s)}}return a}}}();var E=typeof Buffer!=="undefined"&&typeof process!=="undefined"&&typeof process.versions!=="undefined"&&process.versions.node;function S(e){return new(E?Buffer:Array)(e)}function k(e){if(E)return new Buffer(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})}function w(e){if(typeof ArrayBuffer==="undefined")return k(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function B(e){if(Array.isArray(e))return e.map(Ov).join("");var r=[];for(var t=0;t<e.length;++t)r[t]=Ov(e[t]);return r.join("")}var C=function(e){return[].concat.apply([],e)};var T=/\u0000/g,I=/[\u0001-\u0006]/g;var x={};var A=function Lb(e){e.version="0.10.0";function r(e){var r="",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function t(e,r){var t="";while(t.length<r)t+=e;return t}function a(e,r){var a=""+e;return a.length>=r?a:t("0",r-a.length)+a}function n(e,r){var a=""+e;return a.length>=r?a:t(" ",r-a.length)+a}function i(e,r){var a=""+e;return a.length>=r?a:a+t(" ",r-a.length)}function s(e,r){var a=""+Math.round(e);return a.length>=r?a:t("0",r-a.length)+a}function l(e,r){var a=""+e;return a.length>=r?a:t("0",r-a.length)+a}var f=Math.pow(2,32);function c(e,r){if(e>f||e<-f)return s(e,r);var t=Math.round(e);return l(t,r)}function o(e,r){r=r||0;return e.length>=7+r&&(e.charCodeAt(r)|32)===103&&(e.charCodeAt(r+1)|32)===101&&(e.charCodeAt(r+2)|32)===110&&(e.charCodeAt(r+3)|32)===101&&(e.charCodeAt(r+4)|32)===114&&(e.charCodeAt(r+5)|32)===97&&(e.charCodeAt(r+6)|32)===108}var u=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]];var h=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May
}else if(g.size>=4096){g.storage="fat";if(r[g.start]===undefined)r[g.start]=d(t,g.start,r.fat_addrs,r.ssz);r[g.start].name=g.name;g.content=r[g.start].data.slice(0,g.size);Pr(g.content,0)}else{g.storage="minifat";if(f!==_&&g.start!==_&&r[f]){g.content=u(g,r[f].data,(r[l]||{}).data);Pr(g.content,0)}}i[p]=g;s.push(g)}}function b(e,r){return new Date((Br(e,r+4)/1e7*Math.pow(2,32)+Br(e,r)/1e7-11644473600)*1e3)}function m(e,r){i();return s(n.readFileSync(e),r)}function E(e,r){switch(r&&r.type||"base64"){case"file":return m(e,r);case"base64":return s(k(g.decode(e)),r);case"binary":return s(k(e),r);}return s(e,r)}function S(e,r){var t=r||{},a=t.root||"Root Entry";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");if(e.FullPaths.length===0){e.FullPaths[0]=a+"/";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;w(e)}function w(e){var r="Sh33tJ5";if(P.find(e,"/"+r))return;var t=Nr(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);B(e)}function B(e,n){S(e);var i=false,s=false;for(var l=e.FullPaths.length-1;l>=0;--l){var f=e.FileIndex[l];switch(f.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(f.R*f.L*f.C))i=true;if(f.R>-1&&f.L>-1&&f.R==f.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var c=new Date(1987,1,19),o=0;var u=[];for(l=0;l<e.FullPaths.length;++l){if(e.FileIndex[l].type===0)continue;u.push([e.FullPaths[l],e.FileIndex[l]])}for(l=0;l<u.length;++l){var h=t(u[l][0]);s=false;for(o=0;o<u.length;++o)if(u[o][0]===h)s=true;if(!s)u.push([h,{name:a(h).replace("/",""),type:1,clsid:O,ct:c,mt:c,content:null}])}u.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(l=0;l<u.length;++l){e.FullPaths[l]=u[l][0];e.FileIndex[l]=u[l][1]}for(l=0;l<u.length;++l){var d=e.FileIndex[l];var v=e.FullPaths[l];d.name=a(v).replace("/","");d.L=d.R=d.C=-(d.color=1);d.size=d.content?d.content.length:0;d.start=0;d.clsid=d.clsid||O;if(l===0){d.C=u.length>1?1:-1;d.size=0;d.type=5}else if(v.slice(-1)=="/"){for(o=l+1;o<u.length;++o)if(t(e.FullPaths[o])==v)break;d.C=o>=u.length?-1:o;for(o=l+1;o<u.length;++o)if(t(e.FullPaths[o])==t(v))break;d.R=o>=u.length?-1:o;d.type=1}else{if(t(e.FullPaths[l+1]||"")==t(v))d.R=l+1;d.type=2}}}function x(e,r){B(e);var t=function(e){var r=0,t=0;for(var a=0;a<e.FileIndex.length;++a){var n=e.FileIndex[a];if(!n.content)continue;var i=n.content.length;if(i===0){}else if(i<4096)r+=i+63>>6;else t+=i+511>>9}var s=e.FullPaths.length+3>>2;var l=r+7>>3;var f=r+127>>7;var c=l+t+s+f;var o=c+127>>7;var u=o<=109?0:Math.ceil((o-109)/127);while(c+o+u+127>>7>o)u=++o<=109?0:Math.ceil((o-109)/127);var h=[1,u,o,f,s,t,r,0];e.FileIndex[0].size=r<<6;h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3);return h}(e);var a=Nr(t[7]<<9);var n=0,i=0;{for(n=0;n<8;++n)a._W(1,D[n]);for(n=0;n<8;++n)a._W(2,0);a._W(2,62);a._W(2,3);a._W(2,65534);a._W(2,9);a._W(2,6);for(n=0;n<3;++n)a._W(2,0);a._W(4,0);a._W(4,t[2]);a._W(4,t[0]+t[1]+t[2]+t[3]-1);a._W(4,0);a._W(4,1<<12);a._W(4,t[3]?t[0]+t[1]+t[2]-1:_);a._W(4,t[3]);a._W(-4,t[1]?t[0]-1:_);a._W(4,t[1]);for(n=0;n<109;++n)a._W(-4,n<t[2]?t[1]+n:-1)}if(t[1]){for(i=0;i<t[1];++i){for(;n<236+i*127;++n)a._W(-4,n<t[2]?t[1]+n:-1);a._W(-4,i===t[1]-1?_:i+1)}}var s=function(e){for(i+=e;n<i-1;++n)a._W(-4,n+1);if(e){++n;a._W(-4,_)}};i=n=0;for(i+=t[1];n<i;++n)a._W(-4,y.DIFSECT);for(i+=t[2];n<i;++n)a._W(-4,y.FATSECT);s(t[3]);s(t[4]);var l=0,f=0;var c=e.FileIndex[0];for(;l<e.FileIndex.length;++l){c=e.FileIndex[l];if(!c.content)continue;f=c.content.length;if(f<4096)continue;c.start=i;s(f+511>>9)}s(t[6]+7>>3);while(a.l&511)a._W(-4,y.ENDOFCHAIN);i=n=0;for(l=0;l<e.FileIndex.length;++l){c=e.FileIndex[l];if(!c.content)continue;f=c.content.length;if(!f||f>=4096)continue;c.start=i;s(f+63>>6)}while(a.l&511)a._W(-4,y.ENDOFCHAIN);for(n=0;n<t[4]<<2;++n){var o=e.FullPaths[n];if(!o||o.length===0){for(l=0;l<17;++l)a._W(4,0);for(l=0;l<3;++l)a._W(4,-
return r}function vt(e){var r=e._R(4);return r===0?"":e._R(r,"dbcs")}function pt(e,r){var t=false;if(r==null){t=true;r=Nr(4+2*e.length)}r._W(4,e.length);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}function bt(e,r){return{ich:e._R(2),ifnt:e._R(2)}}function mt(e,r){if(!r)r=Nr(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function gt(e,r){var t=e.l;var a=e._R(1);var n=vt(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var l=e._R(4);for(var f=0;f!=l;++f)i.push(bt(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function Et(e,r){var t=false;if(r==null){t=true;r=Nr(15+4*e.t.length)}r._W(1,0);pt(e.t,r);return t?r.slice(0,r.l):r}var St=gt;function kt(e,r){var t=false;if(r==null){t=true;r=Nr(23+4*e.t.length)}r._W(1,1);pt(e.t,r);r._W(4,1);mt({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function wt(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16;var a=e._R(1);return{c:r,iStyleRef:t}}function Bt(e,r){if(r==null)r=Nr(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var Ct=vt;var Tt=pt;function It(e){var r=e._R(4);return r===0||r===4294967295?"":e._R(r,"dbcs")}function xt(e,r){var t=false;if(r==null){t=true;r=Nr(127)}r._W(4,e.length>0?e.length:4294967295);if(e.length>0)r._W(0,e,"dbcs");return t?r.slice(0,r.l):r}var At=vt;var Rt=pt;var _t=It;var Ft=xt;function Dt(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;r[0]&=252;var n=a===0?mr([0,0,0,0,r[0],r[1],r[2],r[3]],0):Cr(r,0)>>2;return t?n/100:n}function Ot(e,r){if(r==null)r=Nr(4);var t=0,a=0,n=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29){a=1}else if(n==(n|0)&&n>=-(1<<29)&&n<1<<29){a=1;t=1}if(a)r._W(-4,((t?n:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function Pt(e){var r={s:{},e:{}};r.s.r=e._R(4);r.e.r=e._R(4);r.s.c=e._R(4);r.e.c=e._R(4);return r}function yt(e,r){if(!r)r=Nr(16);r._W(4,e.s.r);r._W(4,e.e.r);r._W(4,e.s.c);r._W(4,e.e.c);return r}var Nt=Pt;var Mt=yt;function Lt(e,r){return e._R(8,"f")}function Ut(e,r){return(r||Nr(8))._W(8,e,"f")}var Wt={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var Vt=L(Wt);function Ht(e,r){var t={};var a=e._R(1);var n=a&1;var i=a>>>1;var s=e._R(1);var l=e._R(2,"i");var f=e._R(1);var c=e._R(1);var o=e._R(1);var u=e._R(1);switch(i){case 0:t.auto=1;break;case 1:t.index=s;var h=va[s];if(h)t.rgb=Dl(h);break;case 2:t.rgb=Dl([f,c,o]);break;case 3:t.theme=s;break;}if(l!=0)t.tint=l>0?l/32767:l/32768;return t}function Xt(e,r){if(!r)r=Nr(8);if(!e||e.auto){r._W(4,0);r._W(4,0);return r}if(e.index){r._W(1,2);r._W(1,e.index)}else if(e.theme){r._W(1,6);r._W(1,e.theme)}else{r._W(1,5);r._W(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r._W(2,t);if(!e.rgb){r._W(2,0);r._W(1,0);r._W(1,0)}else{var a=e.rgb||"FFFFFF";r._W(1,parseInt(a.substr(0,2),16));r._W(1,parseInt(a.substr(2,2),16));r._W(1,parseInt(a.substr(4,2),16));r._W(1,255)}return r}function Gt(e,r,t){var a=e._R(1);e.l++;var n={fItalic:a&2,fStrikeout:a&8,fOutline:a&16,fShadow:a&32,fCondense:a&64,fExtend:a&128};return n}function zt(e,r){if(!r)r=Nr(2);var t=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);r._W(1,t);r._W(1,0);return r}function jt(e,r){var t={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"};var a=e._R(4);switch(a){case 0:return"";case 4294967295:;case 4294967294:return t[e._R(4)]||"";}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));e.l-=4;return e._R(0,r==1?"lpstr":"lpwstr")}function Kt(e){return jt(e,1)}function Yt(e){return jt(e,2)}var $t=2;var Qt=3;var Jt=11;var Zt=12;var qt=19;var ea=21;var ra=30;var ta=64;var aa=71;var na=4096;var ia=80;var sa=81;var la=[ia,sa];var fa={1:{n:"CodePage",t:$t},2:{n:"Category",t:ia},3:{n:"PresentationFormat",t:ia},4:{n:"ByteCount",t:Qt},5:{n:"LineCount",t:Qt},6:{n:"ParagraphCount",t:Qt},7:{n:"SlideCount",t:Qt},8:{n:"NoteCount",t:Qt},9:{n:"HiddenCount",t:Qt},10:{n:"MultimediaClipCount",t:Qt},11:{n:"Scale",t:Jt},12:{n:"HeadingPair",t:na|Zt},13:{n:"DocParts",t:na|ra},14:{n:"Manager",t:ia},15:{n:"Company",t:ia},16:{n:"LinksDirty",t:Jt},17:{n:"CharacterCount",t:Qt},19:{n:"SharedDoc",
if(a===0){e.l++;return""}return e._R(a,t.biff==4?"cpstr":"sbcs-cont")}function yn(e,r,t){if(!t)t=Nr(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,"utf16le");return t}function Nn(e,r,t){var a=e._R(1);e.l++;var n=e._R(2);e.l+=2;return[a,n]}function Mn(e){var r=e._R(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e._R(16)==="795881f43b1d7f48af2c825dc4852763")a=true;e.l=t}var n=e._R((a?r-24:r)>>1,"utf16le").replace(T,"");if(a)e.l+=24;return n}function Ln(e,r){var t=e._R(2);var a=e._R(0,"lpstr-ansi");var n=e._R(2);if(e._R(2)!=57005)throw new Error("Bad FileMoniker");var i=e._R(4);if(i===0)return a.replace(/\\/g,"/");var s=e._R(4);if(e._R(2)!=3)throw new Error("Bad FileMoniker");var l=e._R(s>>1,"utf16le").replace(T,"");return l}function Un(e,r){var t=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return Mn(e,r);case"0303000000000000c000000000000046":return Ln(e,r);default:throw new Error("Unsupported Moniker "+t);}}function Wn(e,r){var t=e._R(4);var a=t>0?e._R(t,"utf16le").replace(T,""):"";return a}function Vn(e,r){var t=e.l+r;var a=e._R(4);if(a!==2)throw new Error("Unrecognized streamVersion: "+a);var n=e._R(2);e.l+=2;var i,s,l,f,c="",o,u;if(n&16)i=Wn(e,t-e.l);if(n&128)s=Wn(e,t-e.l);if((n&257)===257)l=Wn(e,t-e.l);if((n&257)===1)f=Un(e,t-e.l);if(n&8)c=Wn(e,t-e.l);if(n&32)o=e._R(16);if(n&64)u=rn(e);e.l=t;var h=s||l||f||"";if(h&&c)h+="#"+c;if(!h)h="#"+c;return{Target:h}}function Hn(e){var r=Nr(512),t=0;var a=e.Target;var n=a.indexOf("#")>-1?31:23;switch(a.charAt(0)){case"#":n=28;break;case".":n&=~2;break;}r._W(4,2);r._W(4,n);var i=[8,6815827,6619237,4849780,83];for(t=0;t<i.length;++t)r._W(4,i[t]);if(n==28){a=a.slice(1);r._W(4,a.length+1);for(t=0;t<a.length;++t)r._W(2,a.charCodeAt(t));r._W(2,0)}else if(n&2){i="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(t=0;t<i.length;++t)r._W(1,parseInt(i[t],16));r._W(4,2*(a.length+1));for(t=0;t<a.length;++t)r._W(2,a.charCodeAt(t));r._W(2,0)}else{i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" ");for(t=0;t<i.length;++t)r._W(1,parseInt(i[t],16));var s=0;while(a.slice(s*3,s*3+3)=="../"||a.slice(s*3,s*3+3)=="..\\")++s;r._W(2,s);r._W(4,a.length+1);for(t=0;t<a.length;++t)r._W(1,a.charCodeAt(t)&255);r._W(1,0);r._W(2,65535);r._W(2,57005);for(t=0;t<6;++t)r._W(4,0)}return r.slice(0,r.l)}function Xn(e,r){var t=e._R(1),a=e._R(1),n=e._R(1),i=e._R(1);return[t,a,n,i]}function Gn(e,r){var t=Xn(e,r);t[3]=0;return t}function zn(e,r){var t=e._R(2);var a=e._R(2);var n=e._R(2);return{r:t,c:a,ixfe:n}}function jn(e,r,t,a){if(!a)a=Nr(6);a._W(2,e);a._W(2,r);a._W(2,t||0);return a}function Kn(e){var r=e._R(2);var t=e._R(2);e.l+=8;return{type:r,flags:t}}function Yn(e,r,t){return r===0?"":Pn(e,r,t)}function $n(e,r,t){var a=t.biff>8?4:2;var n=e._R(a),i=e._R(a,"i"),s=e._R(a,"i");return[n,i,s]}function Qn(e,r){var t=e._R(2);var a=Dt(e);return[t,a]}function Jn(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=_n(e,r,t);var i=e._R(2);a-=e.l;if(i!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+i);e.l+=i;return n}function Zn(e,r){var t=e._R(2);var a=e._R(2);var n=e._R(2);var i=e._R(2);return{s:{c:n,r:t},e:{c:i,r:a}}}function qn(e,r){if(!r)r=Nr(8);r._W(2,e.s.r);r._W(2,e.e.r);r._W(2,e.s.c);r._W(2,e.e.c);return r}function ei(e,r){var t=e._R(2);var a=e._R(2);var n=e._R(1);var i=e._R(1);return{s:{c:n,r:t},e:{c:i,r:a}}}var ri=ei;function ti(e,r){e.l+=4;var t=e._R(2);var a=e._R(2);var n=e._R(2);e.l+=12;return[a,t,n]}function ai(e,r){var t={};e.l+=4;e.l+=16;t.fSharedNote=e._R(2);e.l+=4;return t}function ni(e,r){var t={};e.l+=4;e.cf=e._R(2);return t}function ii(e,r){e.l+=2;e.l+=e._R(2)}var si={0:ii,4:ii,5:ii,6:ii,7:ni,8:ii,9:ii,10:ii,11:ii,12:ii,13:ai,14:ii,15:ii,16:ii,17:ii,18:ii,19:ii,20:ii,21:ti};function li(e,r,t){var a=e.l+r;var n=[];while(e.l<a){var i=e._R(2);e.l-=2;try{n.push(si[i](e,a-e.l))}catch(s){e.l=a;return n}}if(e.l!=a)e.l=a;return n}function fi(e,r){var t={BIFFVer:0,dt:0};t.BIFFVer=e._R(2);r-=2;if(r>=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e._R(r);return t}function
if(r.charAt(0)=='"'&&r.charAt(r.length-1)=='"')r=r.slice(1,-1).replace(/""/g,'"');if(r.length===0)a.t="z";else if(t.raw){a.t="s";a.v=r}else if(r.trim().length===0){a.t="s";a.v=r}else if(r.charCodeAt(0)==61){if(r.charCodeAt(1)==34&&r.charCodeAt(r.length-1)==34){a.t="s";a.v=r.slice(2,-1).replace(/""/g,'"')}else if(Mc(r)){a.t="n";a.f=r.substr(1)}else{a.t="s";a.v=r}}else if(r=="TRUE"){a.t="b";a.v=true}else if(r=="FALSE"){a.t="b";a.v=false}else if(!isNaN(c=J(r))){a.t="n";if(t.cellText!==false)a.w=r;a.v=c}else if(!isNaN(Z(r).getDate())||p&&r.match(p)){a.z=t.dateNF||x._table[14];var n=0;if(p&&r.match(p)){r=D(r,t.dateNF,r.match(p)||[]);n=1}if(t.cellDates){a.t="d";a.v=K(r,n)}else{a.t="n";a.v=H(K(r,n))}if(t.cellText!==false)a.w=x.format(a.z,a.v instanceof Date?H(a.v):a.v);if(!t.cellNF)delete a.z}else{a.t="s";a.v=r}if(a.t=="z"){}else if(t.dense){if(!i[l])i[l]=[];i[l][f]=a}else i[tt({c:f,r:l})]=a;o=u+1;if(s.e.c<f)s.e.c=f;if(s.e.r<l)s.e.r=l;if(v==h)++f;else{f=0;++l}}for(;u<e.length;++u)switch(v=e.charCodeAt(u)){case 34:d=!d;break;case h:;case 10:;case 13:if(!d)m();break;default:break;}if(u-o>0)m();i["!ref"]=st(s);return i}function s(e,t){if(e.slice(0,4)=="sep=")return i(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return i(e,t);return ht(r(e,t),t)}function l(e,r){var t="",a=r.type=="string"?[0,0,0,0]:lb(e,r);switch(r.type){case"base64":t=g.decode(e);break;case"binary":t=e;break;case"buffer":t=e.toString("binary");break;case"array":t=Y(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type);}if(a[0]==239&&a[1]==187&&a[2]==191)t=De(t.slice(3));else if((r.type=="binary"||r.type=="buffer")&&typeof cptable!=="undefined"&&r.codepage)t=cptable.utils.decode(r.codepage,cptable.utils.encode(1252,t));if(t.slice(0,19)=="socialcalc:version:")return Vs.to_sheet(r.type=="string"?t:De(t),r);return s(t,r)}function f(e,r){return ot(l(e,r),r)}function c(e,r){var t=[];var a=lt(e["!ref"]),n;var i=Array.isArray(e);for(var s=a.s.r;s<=a.e.r;++s){var l=[];for(var f=a.s.c;f<=a.e.c;++f){var c=tt({r:s,c:f});n=i?(e[s]||[])[f]:e[c];if(!n||n.v==null){l.push(" ");continue}var o=(n.w||(ct(n),n.w)||"").substr(0,10);while(o.length<10)o+=" ";l.push(o+(f===0?" ":""))}t.push(l.join(""))}return t.join("\n")}return{to_workbook:f,to_sheet:l,from_sheet:c}}();function Xs(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=Us.to_workbook(e,t);t.WTF=a;return n}catch(i){t.WTF=a;if(!i.message.match(/SYLK bad record ID/)&&a)throw i;return Hs.to_workbook(e,r)}}var Gs=function(){function e(e,r,t){if(!e)return;Pr(e,e.l||0);var a=t.Enum||E;while(e.l<e.length){var n=e._R(2);var i=a[n]||a[255];var s=e._R(2);var l=e.l+s;var f=(i.f||yr)(e,s,t);e.l=l;if(r(f,i.n,n))return}}function r(e,r){switch(r.type){case"base64":return t(k(g.decode(e)),r);case"binary":return t(k(e),r);case"buffer":;case"array":return t(e,r);}throw"Unsupported type "+r.type}function t(r,t){if(!r)return r;var a=t||{};if(b!=null&&a.dense==null)a.dense=b;var n=a.dense?[]:{},i="Sheet1",s=0;var l={},f=[i];var c={s:{r:0,c:0},e:{r:0,c:0}};if(r[2]==2)a.Enum=E;else if(r[2]==26)a.Enum=S;else if(r[2]==14){a.Enum=S;a.qpro=true;r.l=0}else throw new Error("Unrecognized LOTUS BOF "+r[2]);e(r,function(e,t,o){if(r[2]==2)switch(o){case 0:a.vers=e;if(e>=4096)a.qpro=true;break;case 6:c=e;break;case 15:if(!a.qpro)e[1].v=e[1].v.substr(1);case 13:;case 14:;case 16:;case 51:if(o==14&&(e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=a.dateNF||x._table[14];if(a.cellDates){e[1].t="d";e[1].v=X(e[1].v)}}if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[tt(e[0])]=e[1];break;}else switch(o){case 22:e[1].v=e[1].v.substr(1);case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>s){n["!ref"]=st(c);l[i]=n;n=a.dense?[]:{};c={s:{r:0,c:0},e:{r:0,c:0}};s=e[3];i="Sheet"+(s+1);f.push(i)}if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[tt(e[0])]=e[1];if(c.e.c<e[0].c)c.e.c=e[0].c;if(c.e.r<e[0].r)c.e.r=e[0].r;break;default:break;}},a);n["!ref"]=st(c);l[i]=n;return{SheetNames:f,Sheets:l}}function a(e,r){var t={s:{c:0,r:0},e:{c:0,r:0}};t.s.c=e._R(2);t.s.r=e._R(2);t.
}break;case 1025:break;case 45:break;case 46:break;case 47:if(i[i.length-1]=="BrtBeginCellXFs"){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(n);break;case 38:i.pop();break;default:if((n||"").indexOf("Begin")>0)i.push(n);else if((n||"").indexOf("End")>0)i.pop();else if(!s||t.WTF)throw new Error("Unexpected record "+f+" "+n);}});return a}function Rf(e,r){if(!r)return;var t=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var a=e[0];a<=e[1];++a)if(r[a]!=null)++t});if(t==0)return;Ur(e,"BrtBeginFmts",dt(t));[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(r[a]!=null)Ur(e,"BrtFmt",vf(a,r[a]))});Ur(e,"BrtEndFmts")}function _f(e,r){var t=1;if(t==0)return;Ur(e,"BrtBeginFonts",dt(t));Ur(e,"BrtFont",bf({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));Ur(e,"BrtEndFonts")}function Ff(e,r){var t=2;if(t==0)return;Ur(e,"BrtBeginFills",dt(t));Ur(e,"BrtFill",Sf({patternType:"none"}));Ur(e,"BrtFill",Sf({patternType:"gray125"}));Ur(e,"BrtEndFills")}function Df(e,r){var t=1;if(t==0)return;Ur(e,"BrtBeginBorders",dt(t));Ur(e,"BrtBorder",Tf({}));Ur(e,"BrtEndBorders")}function Of(e,r){var t=1;Ur(e,"BrtBeginCellStyleXFs",dt(t));Ur(e,"BrtXF",wf({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));Ur(e,"BrtEndCellStyleXFs")}function Pf(e,r){Ur(e,"BrtBeginCellXFs",dt(r.length));r.forEach(function(r){Ur(e,"BrtXF",wf(r,0))});Ur(e,"BrtEndCellXFs")}function yf(e,r){var t=1;Ur(e,"BrtBeginStyles",dt(1));Ur(e,"BrtStyle",If({xfId:0,builtinId:0,name:"Normal"}));Ur(e,"BrtEndStyles")}function Nf(e,r){var t=0;Ur(e,"BrtBeginDXFs",dt(t));Ur(e,"BrtEndDXFs")}function Mf(e,r){var t=0;Ur(e,"BrtBeginTableStyles",xf(t,"TableStyleMedium9","PivotStyleMedium4"));Ur(e,"BrtEndTableStyles")}function Lf(e,r){return}function Uf(e,r){var t=Lr();Ur(t,"BrtBeginStyleSheet");Rf(t,e.SSF);_f(t,e);Ff(t,e);Df(t,e);Of(t,e);Pf(t,r.cellXfs);yf(t,e);Nf(t,e);Mf(t,e);Lf(t,e);Ur(t,"BrtEndStyleSheet");return t.end()}Ba.THEME="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme";function Wf(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(ve)||[]).forEach(function(e){var n=me(e);switch(n[0]){case"<a:clrScheme":;case"</a:clrScheme>":break;case"<a:srgbClr":a.rgb=n.val;break;case"<a:sysClr":a.rgb=n.lastClr;break;case"<a:dk1>":;case"</a:dk1>":;case"<a:lt1>":;case"</a:lt1>":;case"<a:dk2>":;case"</a:dk2>":;case"<a:lt2>":;case"</a:lt2>":;case"<a:accent1>":;case"</a:accent1>":;case"<a:accent2>":;case"</a:accent2>":;case"<a:accent3>":;case"</a:accent3>":;case"<a:accent4>":;case"</a:accent4>":;case"<a:accent5>":;case"</a:accent5>":;case"<a:accent6>":;case"</a:accent6>":;case"<a:hlink>":;case"</a:hlink>":;case"<a:folHlink>":;case"</a:folHlink>":if(n[0].charAt(1)==="/"){r.themeElements.clrScheme.push(a);a={}}else{a.name=n[0].substring(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function Vf(e,r,t){}function Hf(e,r,t){}var Xf=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/;var Gf=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/;var zf=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function jf(e,r,t){r.themeElements={};var a;[["clrScheme",Xf,Wf],["fontScheme",Gf,Vf],["fmtScheme",zf,Hf]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var Kf=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Yf(e,r){if(!e||e.length===0)return Yf($f());var t;var a={};if(!(t=e.match(Kf)))throw new Error("themeElements not found in theme");jf(t[0],a,r);return a}function $f(e,r){if(r&&r.themeXLSX)return r.themeXLSX;var t=[he];t[t.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">';t[t.length]="<a:themeElements>";t[t.length]='<a:clrScheme name="Office">';t[t.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>';t[t.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>';t[t.length]='<a:dk2><a:srgbClr val="1F497D
throw"Unsupported "+t[s][0];default:break;}}r=n-e.l;if(r!==0)i.push(yr(e,r));return i}function Bu(e,r,t){var a=e.l+r;var n,i,s=[];while(a!=e.l){r=a-e.l;i=e[e.l];n=gu[i];if(i===24||i===25){i=e[e.l+1];n=(i===24?Su:ku)[i]}if(!n||!n.f){yr(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function Cu(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t],n=[];for(var i=0;i<a.length;++i){var s=a[i];if(s)switch(s[0]){case 2:n.push('"'+s[1].replace(/"/g,'""')+'"');break;default:n.push(s[1]);}else n.push("")}r.push(n.join(","))}return r.join(";")}var Tu={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function Iu(e){if(!e)throw new Error("empty sheet name");if(e.indexOf(" ")>-1)return"'"+e+"'";return e}function xu(e,r,t){if(!e)return"SH33TJSERR0";if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[r];if(t.biff>8&&!e.XTI[r])return e.SheetNames[r];if(t.biff<8){if(r>1e4)r-=65536;if(r<0)r=-r;return r==0?"":e.XTI[r-1]}if(!a)return"SH33TJSERR1";var n="";if(t.biff>8)switch(e[a[0]][0]){case 357:n=a[1]==-1?"#REF":e.SheetNames[a[1]];return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:if(t.SID!=null)return e.SheetNames[t.SID];return"SH33TJSSAME"+e[a[0]][0];case 355:;default:return"SH33TJSSRC"+e[a[0]][0];}switch(e[a[0]][0][0]){case 1025:n=a[1]==-1?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3";return a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return"SH33TJSERR8";default:if(!e[a[0]][0][3])return"SH33TJSERR2";n=a[1]==-1?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4";return a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]];}}function Au(e,r,t){return Iu(xu(e,r,t))}function Ru(e,r,t,a,n){var i={s:{c:0,r:0},e:{c:0,r:0}};var s=[],l,f,c,o,u=0,h=0,d,v="";if(!e[0]||!e[0][0])return"";var p=-1,b="";for(var m=0,g=e[0].length;m<g;++m){var E=e[0][m];switch(E[0]){case"PtgUminus":s.push("-"+s.pop());break;case"PtgUplus":s.push("+"+s.pop());break;case"PtgPercent":s.push(s.pop()+"%");break;case"PtgAdd":;case"PtgConcat":;case"PtgDiv":;case"PtgEq":;case"PtgGe":;case"PtgGt":;case"PtgLe":;case"PtgLt":;case"PtgMul":;case"PtgNe":;case"PtgPower":;case"PtgSub":l=s.pop();f=s.pop();if(p>=0){switch(e[0][p][1][0]){case 0:b=Q(" ",e[0][p][1][1]);break;case 1:b=Q("\r",e[0][p][1][1]);break;default:b="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}f=f+b;p=-1}s.push(f+Tu[E[0]]+l);break;case"PtgIsect":l=s.pop();f=s.pop();s.push(f+" "+l);break;case"PtgUnion":l=s.pop();f=s.pop();s.push(f+","+l);break;case"PtgRange":l=s.pop();f=s.pop();s.push(f+":"+l);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=E[1][0];o=Wr(E[1][1],i,n);s.push(Hr(o));break;case"PtgRefN":c=E[1][0];o=t?Wr(E[1][1],t,n):E[1][1];s.push(Hr(o));break;case"PtgRef3d":c=E[1][0];u=E[1][1];o=Wr(E[1][2],i,n);v=Au(a,u,n);var S=v;s.push(v+"!"+Hr(o));break;case"PtgFunc":;case"PtgFuncVar":var k=E[1][0],w=E[1][1];if(!k)k=0;var B=k==0?[]:s.slice(-k);s.length-=k;if(w==="User")w=B.shift();s.push(w+"("+B.join(",")+")");break;case"PtgBool":s.push(E[1]?"TRUE":"FALSE");break;case"PtgInt":s.push(E[1]);break;case"PtgNum":s.push(String(E[1]));break;case"PtgStr":s.push('"'+E[1]+'"');break;case"PtgErr":s.push(E[1]);break;case"PtgAreaN":c=E[1][0];d=Vr(E[1][1],t?{s:t}:i,n);s.push(Xr(d,n));break;case"PtgArea":c=E[1][0];d=Vr(E[1][1],i,n);s.push(Xr(d,n));break;case"PtgArea3d":c=E[1][0];u=E[1][1];d=E[1][2];v=Au(a,u,n);s.push(v+"!"+Xr(d,n));break;case"PtgAttrSum":s.push("SUM("+s.pop()+")");break;case"PtgAttrSemi":break;case"PtgName":h=E[1][2];var C=(a.names||[])[h-1]||(a[0]||[])[h];var T=C?C.Name:"SH33TJSNAME"+String(h);if(T in zu)T=zu[T];s.push(T);break;case"PtgNameX":var I=E[1][1];h=E[1][2];var x;if(n.biff<=5){if(I<0)I=-I;if(a[I])x=a[I][h]}else{var A="";if(((a[I]||[])[0]||[])[0]==14849){}else if(((a[I]||[])[0]||[])[0]==1025){if(a[I][h]&&a[I][h].itab>0){A=a.SheetNames[a[I][h].itab-1]+"!"}}else A=a.SheetNames[h-1]+"!";if(a[I]&&a[I][h])A+=a[I][h].Name;else if(a[0]&&a[0][h])A+=a[0][h].Name;else A+="SH33TJSERRX";s.push(A);break}if(!x)x={Name:"SH33TJSERRY"};s.push(x.Name);break;case"PtgParen":var R=
}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var l=lt(i.ref);for(var f=l.s.r;f<=l.e.r;++f)for(var c=l.s.c;c<=l.e.c;++c){var o=tt({c:c,r:f});if(a){if(!e[f])e[f]=[];if(!e[f][c])e[f][c]={t:"z",v:undefined};e[f][c].l=i}else{if(!e[o])e[o]={t:"z",v:undefined};e[o].l=i}}}}function gh(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Eh(e){eh(e);return je("pageMargins",null,e)}function Sh(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=me(r[a],true);if(n.hidden)n.hidden=Fe(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;jl(n.width)}Yl(n);while(i<=s)e[i++]=$(n)}}function kh(e,r){var t=["<cols>"],a,n;for(var i=0;i!=r.length;++i){if(!(a=r[i]))continue;t[t.length]=je("col",null,qu(i,a))}t[t.length]="</cols>";return t.join("")}function wh(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function Bh(e){return je("autoFilter",null,{ref:e.ref})}var Ch=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/>/;function Th(e,r){(e.match(Ch)||[]).forEach(function(e){var t=me(e);if(Fe(t.rightToLeft)){if(!r.Views)r.Views=[{}];if(!r.Views[0])r.Views[0]={};r.Views[0].RTL=true}})}function Ih(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return je("sheetViews",je("sheetView",null,n),{})}function xh(e,r,t,a,n,i){if(e.v===undefined&&e.f===undefined||e.t==="z")return"";var s="";var l=e.t,f=e.v;switch(e.t){case"b":s=e.v?"1":"0";break;case"n":s=""+e.v;break;case"e":s=Wt[e.v];break;case"d":if(a.cellDates)s=K(e.v,-1).toISOString();else{e=$(e);e.t="n";s=""+(e.v=H(K(e.v)))}if(typeof e.z==="undefined")e.z=x._table[14];break;default:s=e.v;break;}var c=Ge("v",Ce(s)),o={r:r};var u=rh(a.cellXfs,e,a);if(u!==0)o.s=u;switch(e.t){case"n":break;case"d":o.t="d";break;case"b":o.t="b";break;case"e":o.t="e";break;default:if(e.v==null){delete e.t;break}if(a.bookSST){c=Ge("v",""+Zu(a.Strings,e.v));o.t="s";break}o.t="str";break;}if(e.t!=l){e.t=l;e.v=f}if(e.f){var h=e.F&&e.F.substr(0,r.length)==r?{t:"array",ref:e.F}:null;c=je("f",Ce(e.f),h)+(e.v!=null?c:"")}if(e.l)t["!links"].push([r,e.l]);if(e.c)t["!comments"].push([r,e.c]);return je("c",c,o)}var Ah=function(){var e=/<(?:\w+:)?c[ >]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=Me("v"),s=Me("f");return function l(f,c,o,u,h,d){var v=0,p="",b=[],m=[],g=0,E=0,S=0,k="",w;var B,C=0,T=0;var I,A;var R=0,_=0;var F=Array.isArray(d.CellXf),D;var O=[];var P=[];var y=Array.isArray(c);var N=[],M={},L=false;for(var U=f.split(r),W=0,V=U.length;W!=V;++W){p=U[W].trim();var G=p.length;if(G===0)continue;for(v=0;v<G;++v)if(p.charCodeAt(v)===62)break;++v;B=me(p.substr(0,v),true);C=B.r!=null?parseInt(B.r,10):C+1;T=-1;if(o.sheetRows&&o.sheetRows<C)continue;if(u.s.r>C-1)u.s.r=C-1;if(u.e.r<C-1)u.e.r=C-1;if(o&&o.cellStyles){M={};L=false;if(B.ht){L=true;M.hpt=parseFloat(B.ht);M.hpx=Zl(M.hpt)}if(B.hidden=="1"){L=true;M.hidden=true}if(B.outlineLevel!=null){L=true;M.level=+B.outlineLevel}if(L)N[C-1]=M}b=p.substr(v).split(e);for(v=0;v!=b.length;++v){p=b[v].trim();if(p.length===0)continue;m=p.match(t);g=v;E=0;S=0;p="<c "+(p.substr(0,1)=="<"?">":"")+p;if(m!=null&&m.length===2){g=0;k=m[1];for(E=0;E!=k.length;++E){if((S=k.charCodeAt(E)-64)<1||S>26)break;g=26*g+S}--g;T=g}else++T;for(E=0;E!=p.length;++E)if(p.charCodeAt(E)===62)break;++E;B=me(p.substr(0,E),true);if(!B.r)B.r=tt({r:C-1,c:T});k=p.substr(E);w={t:""};if((m=k.match(i))!=null&&m[1]!=="")w.v=ke(m[1]);if(o.cellFormula){if((m=k.match(s))!=null&&m[1]!==""){w.f=Lc(ke(De(m[1])));if(m[0].indexOf('t="array"')>-1){w.F=(k.match(n)||[])[1];if(w.F.indexOf(":")>-1)O.push([lt(w.F),w.F])}else if(m[0].indexOf('t="shared"')>-1){A=me(m[0]);P[parseInt(A.si,10)]=[A,Lc(ke(De(m[1])))]}}else if(m=k.match(/<f[^>]*\/>/)){A=me(m[0]);if(P[A.si])w.f=Nc(P[A.si][1],P[A.si][0].ref,B.r)}var z=rt(B.r);for(E=0;E<O.length;++E)if(z.r>=O[E][0].s.r&&z.r<=O[E][0].e.r)if(z.c>=O[E][0].s.c&&z.c<=O[E][0].e.c)w.F=O[E]
r._W(4,e);var t=120;r._W(1,t);return r.length>r.l?r.slice(0,r.l):r}function ov(e,r,t){if(!r.Workbook||!r.Workbook.Sheets)return;var a=r.Workbook.Sheets;var n=0,i=-1,s=-1;for(;n<a.length;++n){if(!a[n]||!a[n].Hidden&&i==-1)i=n;else if(a[n].Hidden==1&&s==-1)s=n}if(s>i)return;Ur(e,"BrtBeginBookViews");Ur(e,"BrtBookView",cv(i));Ur(e,"BrtEndBookViews")}function uv(e,r){if(!r)r=Nr(26);r._W(4,0);r._W(4,1);r._W(4,0);Ut(0,r);r._W(-4,1023);r._W(1,51);r._W(1,0);return r}function hv(e,r){if(!r)r=Nr(1);r._W(1,0);return r}function dv(e,r){var t=Lr();Ur(t,"BrtBeginBook");Ur(t,"BrtFileVersion",fv());Ur(t,"BrtWbProp",av(e.Workbook&&e.Workbook.WBProps||null));ov(t,e,r);lv(t,e,r);Ur(t,"BrtEndBook");return t.end()}function vv(e,r,t){if(r.slice(-4)===".bin")return sv(e,t);return Jd(e,t)}function pv(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return md(e,a,t,n,i,s,l);return dh(e,a,t,n,i,s,l)}function bv(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return yd(e,a,t,n,i,s,l);return Dd(e,a,t,n,i,s,l)}function mv(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return _c(e,a,t,n,i,s,l);return Fc(e,a,t,n,i,s,l)}function gv(e,r,t,a,n,i,s,l){if(r.slice(-4)===".bin")return Ac(e,a,t,n,i,s,l);return Rc(e,a,t,n,i,s,l)}function Ev(e,r,t,a){if(r.slice(-4)===".bin")return Af(e,t,a);return of(e,t,a)}function Sv(e,r,t){return Yf(e,t)}function kv(e,r,t){if(r.slice(-4)===".bin")return al(e,t);return qs(e,t)}function wv(e,r,t){if(r.slice(-4)===".bin")return Bc(e,t);return bc(e,t)}function Bv(e,r,t){if(r.slice(-4)===".bin")return lc(e,r,t);return nc(e,r,t)}function Cv(e,r,t){if(r.slice(-4)===".bin")return oc(e,r,t);return cc(e,r,t)}function Tv(e,r,t){return(r.slice(-4)===".bin"?dv:qd)(e,t)}function Iv(e,r,t,a,n){return(r.slice(-4)===".bin"?Ad:Fh)(e,t,a,n)}function xv(e,r,t,a,n){return(r.slice(-4)===".bin"?Nd:Od)(e,t,a,n)}function Av(e,r,t){return(r.slice(-4)===".bin"?Uf:hf)(e,t)}function Rv(e,r,t){return(r.slice(-4)===".bin"?sl:rl)(e,t)}function _v(e,r,t){return(r.slice(-4)===".bin"?Cc:gc)(e,t)}var Fv=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var Dv=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;var Ov=function(e){return String.fromCharCode(e)};function Pv(e,r){var t=e.split(/\s+/);var a=[];if(!r)a[0]=t[0];if(t.length===1)return a;var n=e.match(Fv),i,s,l,f;if(n)for(f=0;f!=n.length;++f){i=n[f].match(Dv);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].substr(1,i[2].length-2);else{if(i[1].substr(0,6)==="xmlns:")l="xmlns"+i[1].substr(6);else l=i[1].substr(s+1);a[l]=i[2].substr(1,i[2].length-2)}}return a}function yv(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(Fv),n,i,s,l;if(a)for(l=0;l!=a.length;++l){n=a[l].match(Dv);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].substr(1,n[2].length-2);else{if(n[1].substr(0,6)==="xmlns:")s="xmlns"+n[1].substr(6);else s=n[1].substr(i+1);t[s]=n[2].substr(1,n[2].length-2)}}return t}function Nv(e,r){var t=R[e]||ke(e);if(t==="General")return x._general(r);return x.format(t,r)}function Mv(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=Fe(a);break;case"i2":;case"int":n=parseInt(a,10);break;case"r4":;case"float":n=parseFloat(a);break;case"date":;case"dateTime.tz":n=K(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:throw new Error("bad custprop:"+t[0]);}e[ke(r)]=n}function Lv(e,r,t){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||Wt[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=x._general_int(e.v);else e.w=x._general_num(e.v)}else e.w=x._general(e.v)}else e.w=Nv(r||"General",e.v)}catch(a){if(t.WTF)throw a}try{var n=R[r]||r||"General";if(t.cellNF)e.z=n;if(t.cellDates&&e.t=="n"&&x.is_date(n)){var i=x.parse_date_code(e.v);if(i){e.t="d";e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}catch(a){if(t.WTF)throw a}}function Uv(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=ql[a.Pattern]||a.Pattern}}e[r.ID]=r}function Wv(e,r,t,a,n,i,s,l,f,c){var o="General",u=a.StyleID,h={};c=c||{};var d=[];var v=0;if(u===undefined&&l)u=l.StyleID;if(u===undefined&&s)u=s.StyleID;while(i[u]!==undefin
k={ixfe:re.ixfe,XF:C[re.ixfe]||{},v:re.val,t:"n"};if(G>0)k.z=z[k.ixfe>>8&31];lp(k,r,t.opts.Date1904);F({c:re.c,r:re.r},k,r)}break;case"BoolErr":{k={ixfe:re.ixfe,XF:C[re.ixfe],v:re.val,t:re.t};if(G>0)k.z=z[k.ixfe>>8&31];lp(k,r,t.opts.Date1904);F({c:re.c,r:re.r},k,r)}break;case"RK":{k={ixfe:re.ixfe,XF:C[re.ixfe],v:re.rknum,t:"n"};if(G>0)k.z=z[k.ixfe>>8&31];lp(k,r,t.opts.Date1904);F({c:re.c,r:re.r},k,r)}break;case"MulRk":{for(var ne=re.c;ne<=re.C;++ne){var ie=re.rkrec[ne-re.c][0];k={ixfe:ie,XF:C[ie],v:re.rkrec[ne-re.c][1],t:"n"};if(G>0)k.z=z[k.ixfe>>8&31];lp(k,r,t.opts.Date1904);F({c:ne,r:re.r},k,r)}}break;case"Formula":{if(re.val=="String"){l=re;break}k=fp(re.val,re.cell.ixfe,re.tt);k.XF=C[k.ixfe];if(r.cellFormula){var se=re.formula;if(se&&se[0]&&se[0][0]&&se[0][0][0]=="PtgExp"){var le=se[0][0][1][0],fe=se[0][0][1][1];var ce=tt({r:le,c:fe});if(E[ce])k.f=""+Ru(re.formula,s,re.cell,V,D);else k.F=((r.dense?(n[le]||[])[fe]:n[ce])||{}).F}else k.f=""+Ru(re.formula,s,re.cell,V,D)}if(G>0)k.z=z[k.ixfe>>8&31];lp(k,r,t.opts.Date1904);F(re.cell,k,r);l=re}break;case"String":{if(l){l.val=re;k=fp(re,l.cell.ixfe,"s");k.XF=C[k.ixfe];if(r.cellFormula){k.f=""+Ru(l.formula,s,l.cell,V,D)}if(G>0)k.z=z[k.ixfe>>8&31];lp(k,r,t.opts.Date1904);F(l.cell,k,r);l=null}else throw new Error("String record expects Formula")}break;case"Array":{S.push(re);var oe=tt(re[0].s);v=r.dense?(n[re[0].s.r]||[])[re[0].s.c]:n[oe];if(r.cellFormula&&v){if(!l)break;if(!oe||!v)break;v.f=""+Ru(re[1],s,re[0],V,D);v.F=st(re[0])}}break;case"ShrFmla":{if(!B)break;if(!r.cellFormula)break;if(d){if(!l)break;E[tt(l.cell)]=re[0];v=r.dense?(n[l.cell.r]||[])[l.cell.c]:n[tt(l.cell)];(v||{}).f=""+Ru(re[0],s,h,V,D)}}break;case"LabelSst":k=fp(f[re.isst].t,re.ixfe,"s");k.XF=C[k.ixfe];if(G>0)k.z=z[k.ixfe>>8&31];lp(k,r,t.opts.Date1904);F({c:re.c,r:re.r},k,r);break;case"Blank":if(r.sheetStubs){k={ixfe:re.ixfe,XF:C[re.ixfe],t:"z"};if(G>0)k.z=z[k.ixfe>>8&31];lp(k,r,t.opts.Date1904);F({c:re.c,r:re.r},k,r)}break;case"MulBlank":if(r.sheetStubs){for(var ue=re.c;ue<=re.C;++ue){var he=re.ixfe[ue-re.c];k={ixfe:he,XF:C[he],t:"z"};if(G>0)k.z=z[k.ixfe>>8&31];lp(k,r,t.opts.Date1904);F({c:ue,r:re.r},k,r)}}break;case"RString":;case"Label":;case"BIFF2STR":k=fp(re.val,re.ixfe,"s");k.XF=C[k.ixfe];if(G>0)k.z=z[k.ixfe>>8&31];lp(k,r,t.opts.Date1904);F({c:re.c,r:re.r},k,r);break;case"Dimensions":{if(X===1)s=re}break;case"SST":{f=re}break;case"Format":{if(D.biff==4){z[G++]=re[1];for(var de=0;de<G+163;++de)if(x._table[de]==re[1])break;if(de>=163)x.load(re[1],G+163)}else x.load(re[1],re[0])}break;case"BIFF2FORMAT":{z[G++]=re;for(var ve=0;ve<G+163;++ve)if(x._table[ve]==re)break;if(ve>=163)x.load(re,G+163)}break;case"MergeCells":P=P.concat(re);break;case"Obj":y[re.cmo[0]]=D.lastobj=re;break;case"TxO":D.lastobj.TxO=re;break;case"ImData":D.lastobj.ImData=re;break;case"HLink":{for(g=re[0].s.r;g<=re[0].e.r;++g)for(m=re[0].s.c;m<=re[0].e.c;++m){v=r.dense?(n[g]||[])[m]:n[tt({c:m,r:g})];if(v)v.l=re[1]}}break;case"HLinkTooltip":{for(g=re[0].s.r;g<=re[0].e.r;++g)for(m=re[0].s.c;m<=re[0].e.c;++m){v=r.dense?(n[g]||[])[m]:n[tt({c:m,r:g})];if(v)v.l.Tooltip=re[1]}}break;case"Note":{if(D.biff<=5&&D.biff>=2)break;v=r.dense?(n[re[0].r]||[])[re[0].c]:n[tt(re[0])];var pe=y[re[2]];if(!v)break;if(!v.c)v.c=[];p={a:re[1],t:pe.TxO.t};v.c.push(p)}break;default:switch(q.n){case"ClrtClient":break;case"XFExt":ac(C[re.ixfe],re.ext);break;case"DefColWidth":L=re;break;case"DefaultRowHeight":U=re[1];break;case"ColInfo":{if(!D.cellStyles)break;while(re.e>=re.s){N[re.e--]={width:re.w/256};if(!W){W=true;jl(re.w/256)}Yl(N[re.e+1])}}break;case"Row":{var be={};if(re.level!=null){M[re.r]=be;be.level=re.level}if(re.hidden){M[re.r]=be;be.hidden=true}if(re.hpt){M[re.r]=be;be.hpt=re.hpt;be.hpx=Zl(re.hpt)}}break;case"LeftMargin":;case"RightMargin":;case"TopMargin":;case"BottomMargin":if(!n["!margins"])eh(n["!margins"]={});n["!margins"][te.slice(0,-6).toLowerCase()]=re;break;case"Setup":if(!n["!margins"])eh(n["!margins"]={});n["!margins"].header=re.header;n["!margins"].footer=re.footer;break;case"Window2":if(re.RTL)I.Views[0].RTL=true;break;case"Header":break;ca
},2090:{n:"BrtEndTimelineEx"},2091:{n:"BrtWorkBookPr15"},2092:{n:"BrtPCDH15"},2093:{n:"BrtBeginTimelineStyle"},2094:{n:"BrtEndTimelineStyle"},2095:{n:"BrtTimelineStyleElement"},2096:{n:"BrtBeginTimelineStylesheetExt15"},2097:{n:"BrtEndTimelineStylesheetExt15"},2098:{n:"BrtBeginTimelineStyles"},2099:{n:"BrtEndTimelineStyles"},2100:{n:"BrtBeginTimelineStyleElements"},2101:{n:"BrtEndTimelineStyleElements"},2102:{n:"BrtDxf15"},2103:{n:"BrtBeginDxfs15"},2104:{n:"brtEndDxfs15"},2105:{n:"BrtSlicerCacheHideItemsWithNoData"},2106:{n:"BrtBeginItemUniqueNames"},2107:{n:"BrtEndItemUniqueNames"},2108:{n:"BrtItemUniqueName"},2109:{n:"BrtBeginExtConn15"},2110:{n:"BrtEndExtConn15"},2111:{n:"BrtBeginOledbPr15"},2112:{n:"BrtEndOledbPr15"},2113:{n:"BrtBeginDataFeedPr15"},2114:{n:"BrtEndDataFeedPr15"},2115:{n:"BrtTextPr15"},2116:{n:"BrtRangePr15"},2117:{n:"BrtDbCommand15"},2118:{n:"BrtBeginDbTables15"},2119:{n:"BrtEndDbTables15"},2120:{n:"BrtDbTable15"},2121:{n:"BrtBeginDataModel"},2122:{n:"BrtEndDataModel"},2123:{n:"BrtBeginModelTables"},2124:{n:"BrtEndModelTables"},2125:{n:"BrtModelTable"},2126:{n:"BrtBeginModelRelationships"},2127:{n:"BrtEndModelRelationships"},2128:{n:"BrtModelRelationship"},2129:{n:"BrtBeginECTxtWiz15"},2130:{n:"BrtEndECTxtWiz15"},2131:{n:"BrtBeginECTWFldInfoLst15"},2132:{n:"BrtEndECTWFldInfoLst15"},2133:{n:"BrtBeginECTWFldInfo15"},2134:{n:"BrtFieldListActiveItem"},2135:{n:"BrtPivotCacheIdVersion"},2136:{n:"BrtSXDI15"},65535:{n:""}};var vp=N(dp,"n");var pp={3:{n:"BIFF2NUM",f:Fs},4:{n:"BIFF2STR",f:_s},6:{n:"Formula",f:yu},9:{n:"BOF",f:fi},10:{n:"EOF",f:Sn},12:{n:"CalcCount",f:Tn},13:{n:"CalcMode",f:Tn},14:{n:"CalcPrecision",f:Bn},15:{n:"CalcRefMode",f:Bn},16:{n:"CalcDelta",f:Lt},17:{n:"CalcIter",f:Bn},18:{n:"Protect",f:Bn},19:{n:"Password",f:Tn},20:{n:"Header",f:Ki},21:{n:"Footer",f:Ki},23:{n:"ExternSheet",f:Zi},24:{n:"Lbl",f:Ji},25:{n:"WinProtect",f:Bn},26:{n:"VerticalPageBreaks"},27:{n:"HorizontalPageBreaks"},28:{n:"Note",f:is},29:{n:"Selection"},34:{n:"Date1904",f:Bn},35:{n:"ExternName",f:$i},38:{n:"LeftMargin",f:Lt},39:{n:"RightMargin",f:Lt},40:{n:"TopMargin",f:Lt},41:{n:"BottomMargin",f:Lt},42:{n:"PrintRowCol",f:Bn},43:{n:"PrintGrid",f:Bn},47:{n:"FilePass",f:Rl},49:{n:"Font",f:Ii},51:{n:"PrintSize",f:Tn},60:{n:"Continue"},61:{n:"Window1",f:wi},64:{n:"Backup",f:Bn},65:{n:"Pane"},66:{n:"CodePage",f:Tn},77:{n:"Pls"},80:{n:"DCon"},81:{n:"DConRef"},82:{n:"DConName"},85:{n:"DefColWidth",f:Tn},89:{n:"XCT"},90:{n:"CRN"},91:{n:"FileSharing"},92:{n:"WriteAccess",f:ui},93:{n:"Obj",f:fs},94:{n:"Uncalced"},95:{n:"CalcSaveRecalc",f:Bn},96:{n:"Template"},97:{n:"Intl"},99:{n:"ObjProtect",f:Bn},125:{n:"ColInfo",f:ks},128:{n:"Guts",f:Vi},129:{n:"WsBool",f:di},130:{n:"GridSet",f:Tn},131:{n:"HCenter",f:Bn},132:{n:"VCenter",f:Bn},133:{n:"BoundSheet8",f:vi},134:{n:"WriteProtect"},140:{n:"Country",f:bs},141:{n:"HideObj",f:Tn},144:{n:"Sort"},146:{n:"Palette",f:Es},151:{n:"Sync"},152:{n:"LPr"},153:{n:"DxGCol"},154:{n:"FnGroupName"},155:{n:"FilterMode"},156:{n:"BuiltInFnGroupCount",f:Tn},157:{n:"AutoFilterInfo"},158:{n:"AutoFilter"},160:{n:"Scl",f:Is},161:{n:"Setup",f:ws},174:{n:"ScenMan"},175:{n:"SCENARIO"},176:{n:"SxView"},177:{n:"Sxvd"},178:{n:"SXVI"},180:{n:"SxIvd"},181:{n:"SXLI"},182:{n:"SXPI"},184:{n:"DocRoute"},185:{n:"RecipName"},189:{n:"MulRk",f:yi},190:{n:"MulBlank",f:Ni},193:{n:"Mms",f:Sn},197:{n:"SXDI"},198:{n:"SXDB"},199:{n:"SXFDB"},200:{n:"SXDBB"},201:{n:"SXNum"},202:{n:"SxBool",f:Bn},203:{n:"SxErr"},204:{n:"SXInt"},205:{n:"SXString"},206:{n:"SXDtr"},207:{n:"SxNil"},208:{n:"SXTbl"},209:{n:"SXTBRGIITM"},210:{n:"SxTbpg"},211:{n:"ObProj"},213:{n:"SXStreamID"},215:{n:"DBCell"},216:{n:"SXRng"},217:{n:"SxIsxoper"},218:{n:"BookBool",f:Tn},220:{n:"DbOrParamQry"},221:{n:"ScenarioProtect",f:Bn},222:{n:"OleObjectSize"},224:{n:"XF",f:Wi},225:{n:"InterfaceHdr",f:oi},226:{n:"InterfaceEnd",f:Sn},227:{n:"SXVS"},229:{n:"MergeCells",f:ss},233:{n:"BkHim"},235:{n:"MsoDrawingGroup"},236:{n:"MsoDrawing"},237:{n:"MsoDrawingSelection"},239:{n:"PhoneticInfo"},240:{n:"SxRule"},241:{n:"SXEx"},242:{n:"SxFilt"},244:{n:"SxDXF"},245:{n:"SxItm"},246:{n:"SxN
e.push(" </office:automatic-styles>\n")};return function i(e,r){var t=[he];var i=ze({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:meta":"urn:oasis:names:tc:opendocument:xmlns:meta:1.0","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:presentation":"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:chart":"urn:oasis:names:tc:opendocument:xmlns:chart:1.0","xmlns:dr3d":"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0","xmlns:math":"http://www.w3.org/1998/Math/MathML","xmlns:form":"urn:oasis:names:tc:opendocument:xmlns:form:1.0","xmlns:script":"urn:oasis:names:tc:opendocument:xmlns:script:1.0","xmlns:ooo":"http://openoffice.org/2004/office","xmlns:ooow":"http://openoffice.org/2004/writer","xmlns:oooc":"http://openoffice.org/2004/calc","xmlns:dom":"http://www.w3.org/2001/xml-events","xmlns:xforms":"http://www.w3.org/2002/xforms","xmlns:xsd":"http://www.w3.org/2001/XMLSchema","xmlns:xsi":"http://www.w3.org/2001/XMLSchema-instance","xmlns:sheet":"urn:oasis:names:tc:opendocument:sh33tjs:1.0","xmlns:rpt":"http://openoffice.org/2005/report","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","xmlns:xhtml":"http://www.w3.org/1999/xhtml","xmlns:grddl":"http://www.w3.org/2003/g/data-view#","xmlns:tableooo":"http://openoffice.org/2009/table","xmlns:drawooo":"http://openoffice.org/2010/draw","xmlns:calcext":"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0","xmlns:loext":"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0","xmlns:field":"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0","xmlns:formx":"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0","xmlns:css3t":"http://www.w3.org/TR/css3-text/","office:version":"1.2"});var s=ze({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});if(r.bookType=="fods")t.push("<office:document"+i+s+">\n");else t.push("<office:document-content"+i+">\n");n(t);t.push(" <office:body>\n");t.push(" <office:spreadsheet>\n");for(var l=0;l!=e.SheetNames.length;++l)t.push(a(e.Sheets[e.SheetNames[l]],e,l,r));t.push(" </office:spreadsheet>\n");t.push(" </office:body>\n");if(r.bookType=="fods")t.push("</office:document>");else t.push("</office:document-content>");return t.join("")}}();function Lp(e,r){if(r.bookType=="fods")return Mp(e,r);var t=new ce;var a="";var n=[];var i=[];a="mimetype";t.file(a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";t.file(a,Mp(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";t.file(a,Np(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";t.file(a,ya(e,r));n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";t.file(a,Pa(i,r));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";t.file(a,Fa(n,r));return t}function Up(e,r){if(!r)return 0;var t=e.SheetNames.indexOf(r);if(t==-1)throw new Error("Sheet not found: "+r);return t}function Wp(e){return function r(t,a){var n=Up(t,a.sheet);return e.from_sheet(t.Sheets[t.SheetNames[n]],a,t)}}var Vp=Wp(_p);var Hp=Wp({from_sheet:Rb});var Xp=Wp(Us);var Gp=Wp(Ws);var zp=Wp(Hs);var jp=Wp(_l);var Kp=Wp({from_sheet:_b});var Yp=Wp(Ls);var $p=Wp(Vs);function Qp(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]==="n")t[n[0]]=Number(t[n[0]])}}}var Jp=Qp([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["book