sheetjs_sheetjs/dist/xlsx.core.min.js
2022-03-15 23:23:39 -04:00

16 lines
420 KiB
JavaScript
Generated
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
var XLSX={};function make_xlsx_lib(e){e.version="0.18.4";var r=1200,t=1252;var a;if(typeof cptable!=="undefined")a=cptable;else if(typeof module!=="undefined"&&typeof require!=="undefined"){a=undefined}var n=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4];var i={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 s=function(e){if(n.indexOf(e)==-1)return;t=i[0]=e};function f(){s(1252)}var c=function(e){r=e;s(e)};function l(){c(1200);f()}function o(e){var r=[];for(var t=0,a=e.length;t<a;++t)r[t]=e.charCodeAt(t);return r}function u(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 h(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 d=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return u(e.slice(2));if(r==254&&t==255)return h(e.slice(2));if(r==65279)return e.slice(1);return e};var v=function Tg(e){return String.fromCharCode(e)};var p=function Eg(e){return String.fromCharCode(e)};if(typeof a!=="undefined"){c=function(e){r=e;s(e)};d=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return a.utils.decode(1200,o(e.slice(2)))}return e};v=function Sg(e){if(r===1200)return String.fromCharCode(e);return a.utils.decode(r,[e&255,e>>8])[0]};p=function yg(e){return a.utils.decode(t,[e])[0]}}var m=null;var b=true;var g=function(){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";return{encode:function(r){var t="";var a=0,n=0,i=0,s=0,f=0,c=0,l=0;for(var o=0;o<r.length;){a=r.charCodeAt(o++);s=a>>2;n=r.charCodeAt(o++);f=(a&3)<<4|n>>4;i=r.charCodeAt(o++);c=(n&15)<<2|i>>6;l=i&63;if(isNaN(n)){c=l=64}else if(isNaN(i)){l=64}t+=e.charAt(s)+e.charAt(f)+e.charAt(c)+e.charAt(l)}return t},decode:function(r){var t="";var a=0,n=0,i=0,s=0,f=0,c=0,l=0;r=r.replace(/[^\w\+\/\=]/g,"");for(var o=0;o<r.length;){s=e.indexOf(r.charAt(o++));f=e.indexOf(r.charAt(o++));a=s<<2|f>>4;t+=String.fromCharCode(a);c=e.indexOf(r.charAt(o++));n=(f&15)<<4|c>>2;if(c!==64){t+=String.fromCharCode(n)}l=e.indexOf(r.charAt(o++));i=(c&3)<<6|l;if(l!==64){t+=String.fromCharCode(i)}}return t}}}();var w=typeof Buffer!=="undefined"&&typeof undefined!=="undefined"&&typeof{}!=="undefined"&&!!{}.node;var k=function(){};if(typeof Buffer!=="undefined"){var T=!Buffer.from;if(!T)try{Buffer.from("foo","utf8")}catch(E){T=true}k=T?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer);if(!Buffer.alloc)Buffer.alloc=function(e){return new Buffer(e)};if(!Buffer.allocUnsafe)Buffer.allocUnsafe=function(e){return new Buffer(e)}}function S(e){return w?Buffer.alloc(e):typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}function y(e){return w?Buffer.allocUnsafe(e):typeof Uint8Array!="undefined"?new Uint8Array(e):new Array(e)}var _=function _g(e){if(w)return k(e,"binary");return e.split("").map(function(e){return e.charCodeAt(0)&255})};function x(e){if(typeof ArrayBuffer==="undefined")return _(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 A(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join("");var r=[];for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function C(e){if(typeof Uint8Array==="undefined")throw new Error("Unsupported");return new Uint8Array(e)}function R(e){if(typeof ArrayBuffer=="undefined")throw new Error("Unsupported");if(e instanceof ArrayBuffer)return R(new Uint8Array(e));var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=e[t];return r}function O(e){var r=[],t=0,a=e.length+250;var n=S(e.length+255);for(var i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s<128)n[t++]=s;else if(s<2048){n[t++]=192|s>>6&31;n[t++]=128|s&63}else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;n[t++]=240|s>>8&7;n[t++]=128|s>>2&63;n[t++]=128|f>>6&15|(s&3)<<4;n[t++]=128|f&63}else{n[t++]=224|s>>12&15;n[t++]=128|s>>6&63;n[t++]=128|s&63}if(t>a){r.push(n.slice(0,t));t=0;n=S(65535);a=65530}}r.push(n.slice(0,t));return I(r)}var I=function(e){if(typeof Uint8Array!=="undefined"){var r=0,t=0;for(r=0;r<e.length;++r)t+=e[r].length;var a=new Uint8Array(t);var n=0;for(r=0,t=0;r<e.length;t+=n,++r){n=e[r].length;if(e[r]instanceof Uint8Array)a.set(e[r],t);else if(typeof e[r]=="string"){throw"wtf"}else a.set(new Uint8Array(e[r]),t)}return a}return[].concat.apply([],e.map(function(e){return Array.isArray(e)?e:[].slice.call(e)}))};var N=/\u0000/g,F=/[\u0001-\u0006]/g;var D={};function P(e){e.version="0.11.2";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 f(e,r){var a=""+e;return a.length>=r?a:t("0",r-a.length)+a}var c=Math.pow(2,32);function l(e,r){if(e>c||e<-c)return s(e,r);var t=Math.round(e);return f(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"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function d(e){e[0]="General";e[1]="0";e[2]="0.00";e[3]="#,##0";e[4]="#,##0.00";e[9]="0%";e[10]="0.00%";e[11]="0.00E+00";e[12]="# ?/?";e[13]="# ??/??";e[14]="m/d/yy";e[15]="d-mmm-yy";e[16]="d-mmm";e[17]="mmm-yy";e[18]="h:mm AM/PM";e[19]="h:mm:ss AM/PM";e[20]="h:mm";e[21]="h:mm:ss";e[22]="m/d/yy h:mm";e[37]="#,##0 ;(#,##0)";e[38]="#,##0 ;[Red](#,##0)";e[39]="#,##0.00;(#,##0.00)";e[40]="#,##0.00;[Red](#,##0.00)";e[45]="mm:ss";e[46]="[h]:mm:ss";e[47]="mmss.0";e[48]="##0.0E+0";e[49]="@";e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "'}var v={};d(v);var p=[];var m=0;for(m=5;m<=8;++m)p[m]=32+m;for(m=23;m<=26;++m)p[m]=0;for(m=27;m<=31;++m)p[m]=14;for(m=50;m<=58;++m)p[m]=14;for(m=59;m<=62;++m)p[m]=m-58;for(m=67;m<=68;++m)p[m]=m-58;for(m=72;m<=75;++m)p[m]=m-58;for(m=67;m<=68;++m)p[m]=m-57;for(m=76;m<=78;++m)p[m]=m-56;for(m=79;m<=81;++m)p[m]=m-34;var b={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function g(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var c=1,l=0,o=0;var u=Math.floor(n);while(l<r){u=Math.floor(n);f=u*s+i;o=u*l+c;if(n-u<5e-8)break;n=1/(n-u);i=s;s=f;c=l;l=o}if(o>r){if(l>r){o=c;f=i}else{o=l;f=s}}if(!t)return[0,a*f,o];var h=Math.floor(a*f/o);return[h,a*f-h*o,o]}function w(e,r,t){if(e>2958465||e<0)return null;var a=e|0,n=Math.floor(86400*(e-a)),i=0;var s=[];var f={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6)f.u=0;if(r&&r.date1904)a+=1462;if(f.u>.9999){f.u=0;if(++n==86400){f.T=n=0;++a;++f.D}}if(a===60){s=t?[1317,10,29]:[1900,2,29];i=3}else if(a===0){s=t?[1317,8,29]:[1900,1,0];i=6}else{if(a>60)--a;var c=new Date(1900,0,1);c.setDate(c.getDate()+a-1);s=[c.getFullYear(),c.getMonth()+1,c.getDate()];i=c.getDay();if(a<60)i=(i+6)%7;if(t)i=A(c,s)}f.y=s[0];f.m=s[1];f.d=s[2];f.S=n%60;n=Math.floor(n/60);f.M=n%60;n=Math.floor(n/60);f.H=n;f.q=i;return f}e.parse_date_code=w;var k=new Date(1899,11,31,0,0,0);var T=k.getTime();var E=new Date(1900,2,1,0,0,0);function S(e,r){var t=e.getTime();if(r)t-=1461*24*60*60*1e3;else if(e>=E)t+=24*60*60*1e3;return(t-(T+(e.getTimezoneOffset()-k.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function y(e){return e.toString(10)}e._general_int=y;var _=function H(){var e=/(?:\.0*|(\.\d*[1-9])0+)$/;function r(r){return r.indexOf(".")==-1?r:r.replace(e,"$1")}var t=/(?:\.0*|(\.\d*[1-9])0+)[Ee]/;var a=/(E[+-])(\d)$/;function n(e){if(e.indexOf("E")==-1)return e;return e.replace(t,"$1E").replace(a,"$10$2")}function i(e){var t=e<0?12:11;var a=r(e.toFixed(12));if(a.length<=t)return a;a=e.toPrecision(10);if(a.length<=t)return a;return e.toExponential(5)}function s(e){var t=r(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function f(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),a;if(t>=-4&&t<=-1)a=e.toPrecision(10+t);else if(Math.abs(t)<=9)a=i(e);else if(t===10)a=e.toFixed(10).substr(0,12);else a=s(e);return r(n(a.toUpperCase()))}return f}();e._general_num=_;function x(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):_(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return B(14,S(e,r&&r.date1904),r);}throw new Error("unsupported value in General format: "+e)}e._general=x;function A(e,r){r[0]-=581;var t=e.getDay();if(e<60)t=(t+6)%7;return t}function C(e,r,t,n){var i="",s=0,f=0,c=t.y,l,o=0;switch(e){case 98:c=t.y+543;case 121:switch(r.length){case 1:;case 2:l=c%100;o=2;break;default:l=c%1e4;o=4;break;}break;case 109:switch(r.length){case 1:;case 2:l=t.m;o=r.length;break;case 3:return h[t.m-1][1];case 5:return h[t.m-1][0];default:return h[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:l=t.d;o=r.length;break;case 3:return u[t.q][0];default:return u[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:l=1+(t.H+11)%12;o=r.length;break;default:throw"bad hour format: "+r;}break;case 72:switch(r.length){case 1:;case 2:l=t.H;o=r.length;break;default:throw"bad hour format: "+r;}break;case 77:switch(r.length){case 1:;case 2:l=t.M;o=r.length;break;default:throw"bad minute format: "+r;}break;case 115:if(r!="s"&&r!="ss"&&r!=".0"&&r!=".00"&&r!=".000")throw"bad second format: "+r;if(t.u===0&&(r=="s"||r=="ss"))return a(t.S,r.length);if(n>=2)f=n===3?1e3:100;else f=n===1?10:1;s=Math.round(f*(t.S+t.u));if(s>=60*f)s=0;if(r==="s")return s===0?"0":""+s/f;i=a(s,2+n);if(r==="ss")return i.substr(0,2);return"."+i.substr(2,r.length-1);case 90:switch(r){case"[h]":;case"[hh]":l=t.D*24+t.H;break;case"[m]":;case"[mm]":l=(t.D*24+t.H)*60+t.M;break;case"[s]":;case"[ss]":l=((t.D*24+t.H)*60+t.M)*60+Math.round(t.S+t.u);break;default:throw"bad abstime format: "+r;}o=r.length===3?1:2;break;case 101:l=c;o=1;break;}var d=o>0?a(l,o):"";return d}function R(e){var r=3;if(e.length<=r)return e;var t=e.length%r,a=e.substr(0,t);for(;t!=e.length;t+=r)a+=(a.length>0?",":"")+e.substr(t,r);return a}var O=function z(){var e=/%/g;function s(r,a,n){var i=a.replace(e,""),s=a.length-i.length;return O(r,i,n*Math.pow(10,2*s))+t("%",s)}function f(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return O(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function c(e,r){var t;var a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";else if(r<0)return"-"+c(e,-r);var n=e.indexOf(".");if(n===-1)n=e.indexOf("E");var i=Math.floor(Math.log(r)*Math.LOG10E)%n;if(i<0)i+=n;t=(r/Math.pow(10,i)).toPrecision(a+1+(n+i)%n);if(t.indexOf("e")===-1){var s=Math.floor(Math.log(r)*Math.LOG10E);if(t.indexOf(".")===-1)t=t.charAt(0)+"."+t.substr(1)+"E+"+(s-t.length+i);else t+="E+"+(s-i);while(t.substr(0,2)==="0."){t=t.charAt(0)+t.substr(2,n)+"."+t.substr(2+n);t=t.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.")}t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,r,t,a){return r+t+a.substr(0,(n+i)%n)+"."+a.substr(i)+"E"})}else t=r.toExponential(a);if(e.match(/E\+00$/)&&t.match(/e[+-]\d$/))t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1);if(e.match(/E\-/)&&t.match(/e\+/))t=t.replace(/e\+/,"e");return t.replace("e","E")}var o=/# (\?+)( ?)\/( ?)(\d+)/;function u(e,r,i){var s=parseInt(e[4],10),f=Math.round(r*s),c=Math.floor(f/s);var l=f-c*s,o=s;return i+(c===0?"":""+c)+" "+(l===0?t(" ",e[1].length+1+e[4].length):n(l,e[1].length)+e[2]+"/"+e[3]+a(o,e[4].length))}function h(e,r,a){return a+(r===0?"":""+r)+t(" ",e[1].length+2+e[4].length)}var d=/^#*0*\.([0#]+)/;var v=/\).*[0#]/;var p=/\(###\) ###\\?-####/;function m(e){var r="",t;for(var a=0;a!=e.length;++a)switch(t=e.charCodeAt(a)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t);}return r}function b(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function w(e,r){var t=e-Math.floor(e),a=Math.pow(10,r);if(r<(""+Math.round(t*a)).length)return 0;return Math.round(t*a)}function k(e,r){if(r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function T(e){if(e<2147483647&&e>-2147483648)return""+(e>=0?e|0:e-1|0);return""+Math.floor(e)}function E(e,h,S){if(e.charCodeAt(0)===40&&!h.match(v)){var y=h.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(S>=0)return E("n",y,S);return"("+E("n",y,-S)+")"}if(h.charCodeAt(h.length-1)===44)return f(e,h,S);if(h.indexOf("%")!==-1)return s(e,h,S);if(h.indexOf("E")!==-1)return c(h,S);if(h.charCodeAt(0)===36)return"$"+E(e,h.substr(h.charAt(1)==" "?2:1),S);var _;var x,A,C,I=Math.abs(S),N=S<0?"-":"";if(h.match(/^00+$/))return N+l(I,h.length);if(h.match(/^[#?]+$/)){_=l(S,0);if(_==="0")_="";return _.length>h.length?_:m(h.substr(0,h.length-_.length))+_}if(x=h.match(o))return u(x,I,N);if(h.match(/^#+0+$/))return N+l(I,h.length-h.indexOf("0"));if(x=h.match(d)){_=b(S,x[1].length).replace(/^([^\.]+)$/,"$1."+m(x[1])).replace(/\.$/,"."+m(x[1])).replace(/\.(\d*)$/,function(e,r){return"."+r+t("0",m(x[1]).length-r.length)});return h.indexOf("0.")!==-1?_:_.replace(/^0\./,".")}h=h.replace(/^#+([0.])/,"$1");if(x=h.match(/^(0*)\.(#*)$/)){return N+b(I,x[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,x[1].length?"0.":".")}if(x=h.match(/^#{1,3},##0(\.?)$/))return N+R(l(I,0));if(x=h.match(/^#,##0\.([#0]*0)$/)){return S<0?"-"+E(e,h,-S):R(""+(Math.floor(S)+k(S,x[1].length)))+"."+a(w(S,x[1].length),x[1].length)}if(x=h.match(/^#,#*,#0/))return E(e,h.replace(/^#,#*,/,""),S);if(x=h.match(/^([0#]+)(\\?-([0#]+))+$/)){_=r(E(e,h.replace(/[\\-]/g,""),S));A=0;return r(r(h.replace(/\\/g,"")).replace(/[0#]/g,function(e){return A<_.length?_.charAt(A++):e==="0"?"0":""}))}if(h.match(p)){_=E(e,"##########",S);return"("+_.substr(0,3)+") "+_.substr(3,3)+"-"+_.substr(6)}var F="";if(x=h.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){A=Math.min(x[4].length,7);C=g(I,Math.pow(10,A)-1,false);_=""+N;F=O("n",x[1],C[1]);if(F.charAt(F.length-1)==" ")F=F.substr(0,F.length-1)+"0";_+=F+x[2]+"/"+x[3];F=i(C[2],A);if(F.length<x[4].length)F=m(x[4].substr(x[4].length-F.length))+F;_+=F;return _}if(x=h.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){A=Math.min(Math.max(x[1].length,x[4].length),7);C=g(I,Math.pow(10,A)-1,true);return N+(C[0]||(C[1]?"":"0"))+" "+(C[1]?n(C[1],A)+x[2]+"/"+x[3]+i(C[2],A):t(" ",2*A+1+x[2].length+x[3].length))}if(x=h.match(/^[#0?]+$/)){_=l(S,0);if(h.length<=_.length)return _;return m(h.substr(0,h.length-_.length))+_}if(x=h.match(/^([#0?]+)\.([#0]+)$/)){_=""+S.toFixed(Math.min(x[2].length,10)).replace(/([^0])0+$/,"$1");A=_.indexOf(".");var D=h.indexOf(".")-A,P=h.length-_.length-D;return m(h.substr(0,D)+_+h.substr(h.length-P))}if(x=h.match(/^00,000\.([#0]*0)$/)){A=w(S,x[1].length);return S<0?"-"+E(e,h,-S):R(T(S)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?a(0,3-e.length):"")+e})+"."+a(A,x[1].length)}switch(h){case"###,##0.00":return E(e,"#,##0.00",S);case"###,###":;case"##,###":;case"#,###":var L=R(l(I,0));return L!=="0"?N+L:"";case"###,###.00":return E(e,"###,##0.00",S).replace(/^0\./,".");case"#,###.00":return E(e,"#,##0.00",S).replace(/^0\./,".");default:;}throw new Error("unsupported format |"+h+"|")}function S(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return O(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function y(r,a,n){var i=a.replace(e,""),s=a.length-i.length;return O(r,i,n*Math.pow(10,2*s))+t("%",s)}function _(e,r){var t;var a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";else if(r<0)return"-"+_(e,-r);var n=e.indexOf(".");if(n===-1)n=e.indexOf("E");var i=Math.floor(Math.log(r)*Math.LOG10E)%n;if(i<0)i+=n;t=(r/Math.pow(10,i)).toPrecision(a+1+(n+i)%n);if(!t.match(/[Ee]/)){var s=Math.floor(Math.log(r)*Math.LOG10E);if(t.indexOf(".")===-1)t=t.charAt(0)+"."+t.substr(1)+"E+"+(s-t.length+i);else t+="E+"+(s-i);t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(e,r,t,a){return r+t+a.substr(0,(n+i)%n)+"."+a.substr(i)+"E"})}else t=r.toExponential(a);if(e.match(/E\+00$/)&&t.match(/e[+-]\d$/))t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1);if(e.match(/E\-/)&&t.match(/e\+/))t=t.replace(/e\+/,"e");return t.replace("e","E")}function x(e,s,f){if(e.charCodeAt(0)===40&&!s.match(v)){var c=s.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");if(f>=0)return x("n",c,f);return"("+x("n",c,-f)+")"}if(s.charCodeAt(s.length-1)===44)return S(e,s,f);if(s.indexOf("%")!==-1)return y(e,s,f);if(s.indexOf("E")!==-1)return _(s,f);if(s.charCodeAt(0)===36)return"$"+x(e,s.substr(s.charAt(1)==" "?2:1),f);var l;var u,b,w,k=Math.abs(f),T=f<0?"-":"";if(s.match(/^00+$/))return T+a(k,s.length);if(s.match(/^[#?]+$/)){l=""+f;if(f===0)l="";return l.length>s.length?l:m(s.substr(0,s.length-l.length))+l}if(u=s.match(o))return h(u,k,T);if(s.match(/^#+0+$/))return T+a(k,s.length-s.indexOf("0"));if(u=s.match(d)){l=(""+f).replace(/^([^\.]+)$/,"$1."+m(u[1])).replace(/\.$/,"."+m(u[1]));l=l.replace(/\.(\d*)$/,function(e,r){return"."+r+t("0",m(u[1]).length-r.length)});return s.indexOf("0.")!==-1?l:l.replace(/^0\./,".")}s=s.replace(/^#+([0.])/,"$1");if(u=s.match(/^(0*)\.(#*)$/)){return T+(""+k).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,u[1].length?"0.":".")}if(u=s.match(/^#{1,3},##0(\.?)$/))return T+R(""+k);if(u=s.match(/^#,##0\.([#0]*0)$/)){return f<0?"-"+x(e,s,-f):R(""+f)+"."+t("0",u[1].length)}if(u=s.match(/^#,#*,#0/))return x(e,s.replace(/^#,#*,/,""),f);if(u=s.match(/^([0#]+)(\\?-([0#]+))+$/)){l=r(x(e,s.replace(/[\\-]/g,""),f));b=0;return r(r(s.replace(/\\/g,"")).replace(/[0#]/g,function(e){return b<l.length?l.charAt(b++):e==="0"?"0":""}))}if(s.match(p)){l=x(e,"##########",f);return"("+l.substr(0,3)+") "+l.substr(3,3)+"-"+l.substr(6)}var E="";if(u=s.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/)){b=Math.min(u[4].length,7);w=g(k,Math.pow(10,b)-1,false);l=""+T;E=O("n",u[1],w[1]);if(E.charAt(E.length-1)==" ")E=E.substr(0,E.length-1)+"0";l+=E+u[2]+"/"+u[3];E=i(w[2],b);if(E.length<u[4].length)E=m(u[4].substr(u[4].length-E.length))+E;l+=E;return l}if(u=s.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/)){b=Math.min(Math.max(u[1].length,u[4].length),7);w=g(k,Math.pow(10,b)-1,true);return T+(w[0]||(w[1]?"":"0"))+" "+(w[1]?n(w[1],b)+u[2]+"/"+u[3]+i(w[2],b):t(" ",2*b+1+u[2].length+u[3].length))}if(u=s.match(/^[#0?]+$/)){l=""+f;if(s.length<=l.length)return l;return m(s.substr(0,s.length-l.length))+l}if(u=s.match(/^([#0]+)\.([#0]+)$/)){l=""+f.toFixed(Math.min(u[2].length,10)).replace(/([^0])0+$/,"$1");b=l.indexOf(".");var A=s.indexOf(".")-b,C=s.length-l.length-A;return m(s.substr(0,A)+l+s.substr(s.length-C))}if(u=s.match(/^00,000\.([#0]*0)$/)){return f<0?"-"+x(e,s,-f):R(""+f).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(e){return"00,"+(e.length<3?a(0,3-e.length):"")+e})+"."+a(0,u[1].length)}switch(s){case"###,###":;case"##,###":;case"#,###":var I=R(""+k);return I!=="0"?T+I:"";default:if(s.match(/\.[0#?]*$/))return x(e,s.slice(0,s.lastIndexOf(".")),f)+m(s.slice(s.lastIndexOf(".")));}throw new Error("unsupported format |"+s+"|")}return function A(e,r,t){return(t|0)===t?x(e,r,t):E(e,r,t)}}();function I(e){var r=[];var t=false;for(var a=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case 34:t=!t;break;case 95:;case 42:;case 92:++a;break;case 59:r[r.length]=e.substr(n,a-n);n=a+1;}r[r.length]=e.substr(n);if(t===true)throw new Error("Format |"+e+"| unterminated string ");return r}e._split=I;var N=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function F(e){var r=0,t="",a="";while(r<e.length){switch(t=e.charAt(r)){case"G":if(o(e,r))r+=6;r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;){}++r;break;case"\\":r+=2;break;case"_":r+=2;break;case"@":++r;break;case"B":;case"b":if(e.charAt(r+1)==="1"||e.charAt(r+1)==="2")return true;case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":;case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":return true;case"A":;case"a":;case"上":if(e.substr(r,3).toUpperCase()==="A/P")return true;if(e.substr(r,5).toUpperCase()==="AM/PM")return true;if(e.substr(r,5).toUpperCase()==="上午/下午")return true;++r;break;case"[":a=t;while(e.charAt(r++)!=="]"&&r<e.length)a+=e.charAt(r);if(a.match(N))return true;break;case".":;case"0":;case"#":while(r<e.length&&("0#?.,E+-%".indexOf(t=e.charAt(++r))>-1||t=="\\"&&e.charAt(r+1)=="-"&&"0#".indexOf(e.charAt(r+2))>-1)){}break;case"?":while(e.charAt(++r)===t){}break;case"*":++r;if(e.charAt(r)==" "||e.charAt(r)=="*")++r;break;case"(":;case")":++r;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":while(r<e.length&&"0123456789".indexOf(e.charAt(++r))>-1){}break;case" ":++r;break;default:++r;break;}}return false}e.is_date=F;function D(e,r,t,a){var n=[],i="",s=0,f="",c="t",l,u,h;var d="H";while(s<e.length){switch(f=e.charAt(s)){case"G":if(!o(e,s))throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"G",v:"General"};s+=7;break;case'"':for(i="";(h=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(h);n[n.length]={t:"t",v:i};++s;break;case"\\":var v=e.charAt(++s),p=v==="("||v===")"?v:"t";n[n.length]={t:p,v:v};++s;break;case"_":n[n.length]={t:"t",v:" "};s+=2;break;case"@":n[n.length]={t:"T",v:r};++s;break;case"B":;case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(l==null){l=w(r,t,e.charAt(s+1)==="2");if(l==null)return""}n[n.length]={t:"X",v:e.substr(s,2)};c=f;s+=2;break};case"M":;case"D":;case"Y":;case"H":;case"S":;case"E":f=f.toLowerCase();case"m":;case"d":;case"y":;case"h":;case"s":;case"e":;case"g":if(r<0)return"";if(l==null){l=w(r,t);if(l==null)return""}i=f;while(++s<e.length&&e.charAt(s).toLowerCase()===f)i+=f;if(f==="m"&&c.toLowerCase()==="h")f="M";if(f==="h")f=d;n[n.length]={t:f,v:i};c=f;break;case"A":;case"a":;case"上":var m={t:f,v:f};if(l==null)l=w(r,t);if(e.substr(s,3).toUpperCase()==="A/P"){if(l!=null)m.v=l.H>=12?"P":"A";m.t="T";d="h";s+=3}else if(e.substr(s,5).toUpperCase()==="AM/PM"){if(l!=null)m.v=l.H>=12?"PM":"AM";m.t="T";s+=5;d="h"}else if(e.substr(s,5).toUpperCase()==="上午/下午"){if(l!=null)m.v=l.H>=12?"下午":"上午";m.t="T";s+=5;d="h"}else{m.t="t";++s}if(l==null&&m.t==="T")return"";n[n.length]=m;c=f;break;case"[":i=f;while(e.charAt(s++)!=="]"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(N)){if(l==null){l=w(r,t);if(l==null)return""}n[n.length]={t:"Z",v:i.toLowerCase()};c=i.charAt(1)}else if(i.indexOf("$")>-1){i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$";if(!F(e))n[n.length]={t:"t",v:i}}break;case".":if(l!=null){i=f;while(++s<e.length&&(f=e.charAt(s))==="0")i+=f;n[n.length]={t:"s",v:i};break};case"0":;case"#":i=f;while(++s<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(s))>-1)i+=f;n[n.length]={t:"n",v:i};break;case"?":i=f;while(e.charAt(++s)===f)i+=f;n[n.length]={t:f,v:i};c=f;break;case"*":++s;if(e.charAt(s)==" "||e.charAt(s)=="*")++s;break;case"(":;case")":n[n.length]={t:a===1?"t":f,v:f};++s;break;case"1":;case"2":;case"3":;case"4":;case"5":;case"6":;case"7":;case"8":;case"9":i=f;while(s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1)i+=e.charAt(s);n[n.length]={t:"D",v:i};break;case" ":n[n.length]={t:f,v:f};++s;break;case"$":n[n.length]={t:"t",v:"$"};++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);n[n.length]={t:"t",v:f};++s;break;}}var b=0,g=0,k;for(s=n.length-1,c="t";s>=0;--s){switch(n[s].t){case"h":;case"H":n[s].t=d;c="h";if(b<1)b=1;break;case"s":if(k=n[s].v.match(/\.0+$/))g=Math.max(g,k[0].length-1);if(b<3)b=3;case"d":;case"y":;case"M":;case"e":c=n[s].t;break;case"m":if(c==="s"){n[s].t="M";if(b<2)b=2}break;case"X":break;case"Z":if(b<1&&n[s].v.match(/[Hh]/))b=1;if(b<2&&n[s].v.match(/[Mm]/))b=2;if(b<3&&n[s].v.match(/[Ss]/))b=3;}}switch(b){case 0:break;case 1:if(l.u>=.5){l.u=0;++l.S}if(l.S>=60){l.S=0;++l.M}if(l.M>=60){l.M=0;++l.H}break;case 2:if(l.u>=.5){l.u=0;++l.S}if(l.S>=60){l.S=0;++l.M}break;}var T="",E;for(s=0;s<n.length;++s){switch(n[s].t){case"t":;case"T":;case" ":;case"D":break;case"X":n[s].v="";n[s].t=";";break;case"d":;case"m":;case"y":;case"h":;case"H":;case"M":;case"s":;case"e":;case"b":;case"Z":n[s].v=C(n[s].t.charCodeAt(0),n[s].v,l,g);n[s].t="t";break;case"n":;case"?":E=s+1;while(n[E]!=null&&((f=n[E].t)==="?"||f==="D"||(f===" "||f==="t")&&n[E+1]!=null&&(n[E+1].t==="?"||n[E+1].t==="t"&&n[E+1].v==="/")||n[s].t==="("&&(f===" "||f==="n"||f===")")||f==="t"&&(n[E].v==="/"||n[E].v===" "&&n[E+1]!=null&&n[E+1].t=="?"))){n[s].v+=n[E].v;n[E]={v:"",t:";"};++E}T+=n[s].v;s=E-1;break;case"G":n[s].t="t";n[s].v=x(r,t);break;}}var S="",y,_;if(T.length>0){if(T.charCodeAt(0)==40){y=r<0&&T.charCodeAt(0)===45?-r:r;_=O("n",T,y)}else{y=r<0&&a>1?-r:r;_=O("n",T,y);if(y<0&&n[0]&&n[0].t=="t"){_=_.substr(1);n[0].v="-"+n[0].v}}E=_.length-1;var A=n.length;for(s=0;s<n.length;++s)if(n[s]!=null&&n[s].t!="t"&&n[s].v.indexOf(".")>-1){A=s;break}var R=n.length;if(A===n.length&&_.indexOf("E")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;if(E>=n[s].v.length-1){E-=n[s].v.length;n[s].v=_.substr(E+1,n[s].v.length)}else if(E<0)n[s].v="";else{n[s].v=_.substr(0,E+1);E=-1}n[s].t="t";R=s}if(E>=0&&R<n.length)n[R].v=_.substr(0,E+1)+n[R].v}else if(A!==n.length&&_.indexOf("E")===-1){E=_.indexOf(".")-1;for(s=A;s>=0;--s){if(n[s]==null||"n?".indexOf(n[s].t)===-1)continue;u=n[s].v.indexOf(".")>-1&&s===A?n[s].v.indexOf(".")-1:n[s].v.length-1;S=n[s].v.substr(u+1);for(;u>=0;--u){if(E>=0&&(n[s].v.charAt(u)==="0"||n[s].v.charAt(u)==="#"))S=_.charAt(E--)+S}n[s].v=S;n[s].t="t";R=s}if(E>=0&&R<n.length)n[R].v=_.substr(0,E+1)+n[R].v;E=_.indexOf(".")+1;for(s=A;s<n.length;++s){if(n[s]==null||"n?(".indexOf(n[s].t)===-1&&s!==A)continue;u=n[s].v.indexOf(".")>-1&&s===A?n[s].v.indexOf(".")+1:0;S=n[s].v.substr(0,u);for(;u<n[s].v.length;++u){if(E<_.length)S+=_.charAt(E++)}n[s].v=S;n[s].t="t";R=s}}}for(s=0;s<n.length;++s)if(n[s]!=null&&"n?".indexOf(n[s].t)>-1){y=a>1&&r<0&&s>0&&n[s-1].v==="-"?-r:r;n[s].v=O(n[s].t,n[s].v,y);n[s].t="t"}var I="";for(s=0;s!==n.length;++s)if(n[s]!=null)I+=n[s].v;return I}e._eval=D;var P=/\[[=<>]/;var L=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function M(e,r){if(r==null)return false;var t=parseFloat(r[2]);switch(r[1]){case"=":if(e==t)return true;break;case">":if(e>t)return true;break;case"<":if(e<t)return true;break;case"<>":if(e!=t)return true;break;case">=":if(e>=t)return true;break;case"<=":if(e<=t)return true;break;}return false}function U(e,r){var t=I(e);var a=t.length,n=t[a-1].indexOf("@");if(a<4&&n>-1)--a;if(t.length>4)throw new Error("cannot find right format for |"+t.join("|")+"|");if(typeof r!=="number")return[4,t.length===4||n>-1?t[t.length-1]:"@"];switch(t.length){case 1:t=n>-1?["General","General","General",t[0]]:[t[0],t[0],t[0],"@"];break;case 2:t=n>-1?[t[0],t[0],t[0],t[1]]:[t[0],t[1],t[0],"@"];break;case 3:t=n>-1?[t[0],t[1],t[0],t[2]]:[t[0],t[1],t[2],"@"];break;case 4:break;}var i=r>0?t[0]:r<0?t[1]:t[2];if(t[0].indexOf("[")===-1&&t[1].indexOf("[")===-1)return[a,i];if(t[0].match(P)!=null||t[1].match(P)!=null){var s=t[0].match(L);var f=t[1].match(L);return M(r,s)?[a,t[0]]:M(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function B(e,r,t){if(t==null)t={};var a="";switch(typeof e){case"string":if(e=="m/d/yy"&&t.dateNF)a=t.dateNF;else a=e;break;case"number":if(e==14&&t.dateNF)a=t.dateNF;else a=(t.table!=null?t.table:v)[e];if(a==null)a=t.table&&t.table[p[e]]||v[p[e]];if(a==null)a=b[e]||"General";break;}if(o(a,0))return x(r,t);if(r instanceof Date)r=S(r,t.date1904);var n=U(a,r);if(o(n[1]))return x(r,t);if(r===true)r="TRUE";else if(r===false)r="FALSE";else if(r===""||r==null)return"";return D(n[1],r,t,n[0])}function W(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(v[t]==undefined){if(r<0)r=t;continue}if(v[t]==e){r=t;break}}if(r<0)r=391}v[r]=e;return r}e.load=W;e._table=v;e.get_table=function V(){return v};e.load_table=function G(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)W(e[r],r)};e.init_table=d;e.format=B}P(D);var L={"General Number":"General","General Date":D._table[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":D._table[15],"Short Date":D._table[14],"Long Time":D._table[19],"Medium Time":D._table[18],"Short Time":D._table[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:D._table[2],Standard:D._table[4],Percent:D._table[10],Scientific:D._table[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var M={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"};var U=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function B(e){var r=typeof e=="number"?D._table[e]:e;r=r.replace(U,"(\\d+)");return new RegExp("^"+r+"$")}function W(e,r,t){var a=-1,n=-1,i=-1,s=-1,f=-1,c=-1;(r.match(U)||[]).forEach(function(e,r){var l=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=l;break;case"d":i=l;break;case"h":s=l;break;case"s":c=l;break;case"m":if(s>=0)f=l;else n=l;break;}});if(c>=0&&f==-1&&n>=0){f=n;n=-1}var l=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);if(l.length==7)l="0"+l;if(l.length==8)l="20"+l;var o=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(c>=0?c:0)).slice(-2);if(s==-1&&f==-1&&c==-1)return l;if(a==-1&&n==-1&&i==-1)return o;return l+"T"+o}var H=function(){var e={};e.version="1.2.0";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!=="undefined"?new Int32Array(r):r}var t=r();function a(e){var r=0,t=0,a=0,n=typeof Int32Array!=="undefined"?new Int32Array(4096):new Array(4096);for(a=0;a!=256;++a)n[a]=e[a];for(a=0;a!=256;++a){t=e[a];for(r=256+a;r<4096;r+=256)t=n[r]=t>>>8^e[t&255]}var i=[];for(a=1;a!=16;++a)i[a-1]=typeof Int32Array!=="undefined"?n.subarray(a*256,a*256+256):n.slice(a*256,a*256+256);
return i}var n=a(t);var i=n[0],s=n[1],f=n[2],c=n[3],l=n[4];var o=n[5],u=n[6],h=n[7],d=n[8],v=n[9];var p=n[10],m=n[11],b=n[12],g=n[13],w=n[14];function k(e,r){var a=r^-1;for(var n=0,i=e.length;n<i;)a=a>>>8^t[(a^e.charCodeAt(n++))&255];return~a}function T(e,r){var a=r^-1,n=e.length-15,k=0;for(;k<n;)a=w[e[k++]^a&255]^g[e[k++]^a>>8&255]^b[e[k++]^a>>16&255]^m[e[k++]^a>>>24]^p[e[k++]]^v[e[k++]]^d[e[k++]]^h[e[k++]]^u[e[k++]]^o[e[k++]]^l[e[k++]]^c[e[k++]]^f[e[k++]]^s[e[k++]]^i[e[k++]]^t[e[k++]];n+=15;while(k<n)a=a>>>8^t[(a^e[k++])&255];return~a}function E(e,r){var a=r^-1;for(var n=0,i=e.length,s=0,f=0;n<i;){s=e.charCodeAt(n++);if(s<128){a=a>>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;f=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|f>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|f&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return~a}e.table=t;e.bstr=k;e.buf=T;e.str=E;return e}();var z=function xg(){var e={};e.version="1.2.1";function r(e,r){var t=e.split("/"),a=r.split("/");for(var n=0,i=0,s=Math.min(t.length,a.length);n<s;++n){if(i=t[n].length-a[n].length)return i;if(t[n]!=a[n])return t[n]<a[n]?-1:1}return t.length-a.length}function t(e){if(e.charAt(e.length-1)=="/")return e.slice(0,-1).indexOf("/")===-1?e:t(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(0,r+1)}function a(e){if(e.charAt(e.length-1)=="/")return a(e.slice(0,-1));var r=e.lastIndexOf("/");return r===-1?e:e.slice(r+1)}function n(e,r){if(typeof r==="string")r=new Date(r);var t=r.getHours();t=t<<6|r.getMinutes();t=t<<5|r.getSeconds()>>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var f=r&63;r>>>=6;a.setHours(r);a.setMinutes(f);a.setSeconds(s<<1);return a}function s(e){et(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;}e.l=i;r[a]=s}return r}var f;function c(){return f||(f=undefined)}function l(e,r){if(e[0]==80&&e[1]==75)return Ne(e,r);if((e[0]|32)==109&&(e[1]|32)==105)return He(e,r);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var t=3;var a=512;var n=0;var i=0;var s=0;var f=0;var c=0;var l=[];var v=e.slice(0,512);et(v,0);var m=o(v);t=m[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(m[1]==0)return Ne(e,r);default:throw new Error("Major Version: Expected 3 or 4 saw "+t);}if(a!==512){v=e.slice(0,a);et(v,28)}var g=e.slice(0,a);u(v,t);var w=v._R(4,"i");if(t===3&&w!==0)throw new Error("# Directory Sectors: Expected 0 saw "+w);v.l+=4;s=v._R(4,"i");v.l+=4;v.chk("00100000","Mini Stream Cutoff Size: ");f=v._R(4,"i");n=v._R(4,"i");c=v._R(4,"i");i=v._R(4,"i");for(var k=-1,E=0;E<109;++E){k=v._R(4,"i");if(k<0)break;l[E]=k}var S=h(e,a);p(c,i,S,a,l);var y=b(S,s,l,a);y[s].name="!Directory";if(n>0&&f!==M)y[f].name="!MiniFAT";y[l[0]].name="!FAT";y.fat_addrs=l;y.ssz=a;var _={},x=[],A=[],C=[];T(s,y,S,x,n,_,A,f);d(A,C,x);x.shift();var R={FileIndex:A,FullPaths:C};if(r&&r.raw)R.raw={header:g,sectors:S};return R}function o(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(U,"Header Signature: ");e.l+=16;var r=e._R(2,"u");return[e._R(2,"u"),r]}function u(e,r){var t=9;e.l+=2;switch(t=e._R(2)){case 9:if(r!=3)throw new Error("Sector Shift: Expected 9 saw "+t);break;case 12:if(r!=4)throw new Error("Sector Shift: Expected 12 saw "+t);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+t);}e.chk("0600","Mini Sector Shift: ");e.chk("000000000000","Reserved: ")}function h(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n<t;++n)a[n-1]=e.slice(n*r,(n+1)*r);a[t-1]=e.slice(t*r);return a}function d(e,r,t){var a=0,n=0,i=0,s=0,f=0,c=t.length;var l=[],o=[];for(;a<c;++a){l[a]=o[a]=a;r[a]=t[a]}for(;f<o.length;++f){a=o[f];n=e[a].L;i=e[a].R;s=e[a].C;if(l[a]===a){if(n!==-1&&l[n]!==n)l[a]=l[n];if(i!==-1&&l[i]!==i)l[a]=l[i]}if(s!==-1)l[s]=a;if(n!==-1&&a!=l[a]){l[n]=l[a];if(o.lastIndexOf(n)<f)o.push(n)}if(i!==-1&&a!=l[a]){l[i]=l[a];if(o.lastIndexOf(i)<f)o.push(i)}}for(a=1;a<c;++a)if(l[a]===a){if(i!==-1&&l[i]!==i)l[a]=l[i];else if(n!==-1&&l[n]!==n)l[a]=l[n]}for(a=1;a<c;++a){if(e[a].type===0)continue;f=a;if(f!=l[f])do{f=l[f];r[a]=r[f]+"/"+r[a]}while(f!==0&&-1!==l[f]&&f!=l[f]);l[a]=-1}r[0]+="/";for(a=1;a<c;++a){if(e[a].type!==2)r[a]+="/"}}function v(e,r,t){var a=e.start,n=e.size;var i=[];var s=a;while(t&&n>0&&s>=0){i.push(r.slice(s*L,s*L+L));n-=L;s=Xr(t,s*4)}if(i.length===0)return tt(0);return I(i).slice(0,e.size)}function p(e,r,t,a,n){var i=M;if(e===M){if(r!==0)throw new Error("DIFAT chain shorter than expected")}else if(e!==-1){var s=t[e],f=(a>>>2)-1;if(!s)return;for(var c=0;c<f;++c){if((i=Xr(s,c*4))===M)break;n.push(i)}p(Xr(s,a-4),r-1,t,a,n)}}function m(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var f=a-1,c=0,l=0;for(c=r;c>=0;){n[c]=true;i[i.length]=c;s.push(e[c]);var o=t[Math.floor(c*4/a)];l=c*4&f;if(a<4+l)throw new Error("FAT boundary crossed: "+c+" 4 "+a);if(!e[o])break;c=Xr(e[o],l)}return{nodes:i,data:kr([s])}}function b(e,r,t,a){var n=e.length,i=[];var s=[],f=[],c=[];var l=a-1,o=0,u=0,h=0,d=0;for(o=0;o<n;++o){f=[];h=o+r;if(h>=n)h-=n;if(s[h])continue;c=[];var v=[];for(u=h;u>=0;){v[u]=true;s[u]=true;f[f.length]=u;c.push(e[u]);var p=t[Math.floor(u*4/a)];d=u*4&l;if(a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[p])break;u=Xr(e[p],d);if(v[u])break}i[h]={nodes:f,data:kr([c])}}return i}function T(e,r,t,a,n,i,s,f){var c=0,l=a.length?2:0;var o=r[e].data;var u=0,h=0,d;for(;u<o.length;u+=128){var p=o.slice(u,u+128);et(p,64);h=p._R(2);d=Er(p,0,h-l);a.push(d);var b={name:d,type:p._R(1),color:p._R(1),L:p._R(4,"i"),R:p._R(4,"i"),C:p._R(4,"i"),clsid:p._R(16),state:p._R(4,"i"),start:0,size:0};var g=p._R(2)+p._R(2)+p._R(2)+p._R(2);if(g!==0)b.ct=E(p,p.l-8);var w=p._R(2)+p._R(2)+p._R(2)+p._R(2);if(w!==0)b.mt=E(p,p.l-8);b.start=p._R(4,"i");b.size=p._R(4,"i");if(b.size<0&&b.start<0){b.size=b.type=0;b.start=M;b.name=""}if(b.type===5){c=b.start;if(n>0&&c!==M)r[c].name="!StreamData"}else if(b.size>=4096){b.storage="fat";if(r[b.start]===undefined)r[b.start]=m(t,b.start,r.fat_addrs,r.ssz);r[b.start].name=b.name;b.content=r[b.start].data.slice(0,b.size)}else{b.storage="minifat";if(b.size<0)b.size=0;else if(c!==M&&b.start!==M&&r[c]){b.content=v(b,r[c].data,(r[f]||{}).data)}}if(b.content)et(b.content,0);i[d]=b;s.push(b)}}function E(e,r){return new Date((jr(e,r+4)/1e7*Math.pow(2,32)+jr(e,r)/1e7-11644473600)*1e3)}function x(e,r){c();return l(f.readFileSync(e),r)}function A(e,r){var t=r&&r.type;if(!t){if(w&&Buffer.isBuffer(e))t="buffer"}switch(t||"base64"){case"file":return x(e,r);case"base64":return l(_(g.decode(e)),r);case"binary":return l(_(e),r);}return l(e,r)}function C(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;R(e)}function R(e){var r="Sh33tJ5";if(z.find(e,"/"+r))return;var t=tt(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);O(e)}function O(e,n){C(e);var i=false,s=false;for(var f=e.FullPaths.length-1;f>=0;--f){var c=e.FileIndex[f];switch(c.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(c.R*c.L*c.C))i=true;if(c.R>-1&&c.L>-1&&c.R==c.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var l=new Date(1987,1,19),o=0;var u=Object.create?Object.create(null):{};var h=[];for(f=0;f<e.FullPaths.length;++f){u[e.FullPaths[f]]=true;if(e.FileIndex[f].type===0)continue;h.push([e.FullPaths[f],e.FileIndex[f]])}for(f=0;f<h.length;++f){var d=t(h[f][0]);s=u[d];if(!s){h.push([d,{name:a(d).replace("/",""),type:1,clsid:W,ct:l,mt:l,content:null}]);u[d]=true}}h.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(f=0;f<h.length;++f){e.FullPaths[f]=h[f][0];e.FileIndex[f]=h[f][1]}for(f=0;f<h.length;++f){var v=e.FileIndex[f];var p=e.FullPaths[f];v.name=a(p).replace("/","");v.L=v.R=v.C=-(v.color=1);v.size=v.content?v.content.length:0;v.start=0;v.clsid=v.clsid||W;if(f===0){v.C=h.length>1?1:-1;v.size=0;v.type=5}else if(p.slice(-1)=="/"){for(o=f+1;o<h.length;++o)if(t(e.FullPaths[o])==p)break;v.C=o>=h.length?-1:o;for(o=f+1;o<h.length;++o)if(t(e.FullPaths[o])==t(p))break;v.R=o>=h.length?-1:o;v.type=1}else{if(t(e.FullPaths[f+1]||"")==t(p))v.R=f+1;v.type=2}}}function D(e,r){var t=r||{};if(t.fileType=="mad")return ze(e,t);O(e);switch(t.fileType){case"zip":return De(e,t);}var a=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){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var f=r+7>>3;var c=r+127>>7;var l=f+t+s+c;var o=l+127>>7;var u=o<=109?0:Math.ceil((o-109)/127);while(l+o+u+127>>7>o)u=++o<=109?0:Math.ceil((o-109)/127);var h=[1,u,o,c,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 n=tt(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,B[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:M);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:M);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i<a[2]?a[1]+i:-1)}if(a[1]){for(s=0;s<a[1];++s){for(;i<236+s*127;++i)n._W(-4,i<a[2]?a[1]+i:-1);n._W(-4,s===a[1]-1?M:s+1)}}var f=function(e){for(s+=e;i<s-1;++i)n._W(-4,i+1);if(e){++i;n._W(-4,M)}};s=i=0;for(s+=a[1];i<s;++i)n._W(-4,V.DIFSECT);for(s+=a[2];i<s;++i)n._W(-4,V.FATSECT);f(a[3]);f(a[4]);var c=0,l=0;var o=e.FileIndex[0];for(;c<e.FileIndex.length;++c){o=e.FileIndex[c];if(!o.content)continue;l=o.content.length;if(l<4096)continue;o.start=s;f(l+511>>9)}f(a[6]+7>>3);while(n.l&511)n._W(-4,V.ENDOFCHAIN);s=i=0;for(c=0;c<e.FileIndex.length;++c){o=e.FileIndex[c];if(!o.content)continue;l=o.content.length;if(!l||l>=4096)continue;o.start=s;f(l+63>>6)}while(n.l&511)n._W(-4,V.ENDOFCHAIN);for(i=0;i<a[4]<<2;++i){var u=e.FullPaths[i];if(!u||u.length===0){for(c=0;c<17;++c)n._W(4,0);for(c=0;c<3;++c)n._W(4,-1);for(c=0;c<12;++c)n._W(4,0);continue}o=e.FileIndex[i];if(i===0)o.start=o.size?o.start-1:M;var h=i===0&&t.root||o.name;l=2*(h.length+1);n._W(64,h,"utf16le");n._W(2,l);n._W(1,o.type);n._W(1,o.color);n._W(-4,o.L);n._W(-4,o.R);n._W(-4,o.C);if(!o.clsid)for(c=0;c<4;++c)n._W(4,0);else n._W(16,o.clsid,"hex");n._W(4,o.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,o.start);n._W(4,o.size);n._W(4,0)}for(i=1;i<e.FileIndex.length;++i){o=e.FileIndex[i];if(o.size>=4096){n.l=o.start+1<<9;if(w&&Buffer.isBuffer(o.content)){o.content.copy(n,n.l,0,o.size);n.l+=o.size+511&-512}else{for(c=0;c<o.size;++c)n._W(1,o.content[c]);for(;c&511;++c)n._W(1,0)}}}for(i=1;i<e.FileIndex.length;++i){o=e.FileIndex[i];if(o.size>0&&o.size<4096){if(w&&Buffer.isBuffer(o.content)){o.content.copy(n,n.l,0,o.size);n.l+=o.size+63&-64}else{for(c=0;c<o.size;++c)n._W(1,o.content[c]);for(;c&63;++c)n._W(1,0)}}}if(w){n.l=n.length}else{while(n.l<n.length)n._W(1,0)}return n}function P(e,r){var t=e.FullPaths.map(function(e){return e.toUpperCase()});var a=t.map(function(e){var r=e.split("/");return r[r.length-(e.slice(-1)=="/"?2:1)]});var n=false;if(r.charCodeAt(0)===47){n=true;r=t[0].slice(0,-1)+r}else n=r.indexOf("/")!==-1;var i=r.toUpperCase();var s=n===true?t.indexOf(i):a.indexOf(i);if(s!==-1)return e.FileIndex[s];var f=!i.match(F);i=i.replace(N,"");if(f)i=i.replace(F,"!");for(s=0;s<t.length;++s){if((f?t[s].replace(F,"!"):t[s]).replace(N,"")==i)return e.FileIndex[s];if((f?a[s].replace(F,"!"):a[s]).replace(N,"")==i)return e.FileIndex[s]}return null}var L=64;var M=-2;var U="d0cf11e0a1b11ae1";var B=[208,207,17,224,161,177,26,225];var W="00000000000000000000000000000000";var V={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:M,FREESECT:-1,HEADER_SIGNATURE:U,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:W,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function G(e,r,t){c();var a=D(e,t);f.writeFileSync(r,a)}function j(e){var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function X(e,r){var t=D(e,r);switch(r&&r.type||"buffer"){case"file":c();f.writeFileSync(r.filename,t);return t;case"binary":return typeof t=="string"?t:j(t);case"base64":return g.encode(typeof t=="string"?t:j(t));case"buffer":if(w)return Buffer.isBuffer(t)?t:k(t);case"array":return typeof t=="string"?_(t):t;}return t}var $;function Y(e){try{var r=e.InflateRaw;var t=new r;t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag);if(t.bytesRead)$=e;else throw new Error("zlib does not expose bytesRead")}catch(a){console.error("cannot use native zlib: "+(a.message||a))}}function K(e,r){if(!$)return Oe(e,r);var t=$.InflateRaw;var a=new t;var n=a._processChunk(e.slice(e.l),a._finishFlushFlag);e.l+=a.bytesRead;return n}function J(e){return $?$.deflateRawSync(e):Ee(e)}var q=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var Z=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258];var Q=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function ee(e){var r=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(r>>16|r>>8|r)&255}var re=typeof Uint8Array!=="undefined";var te=re?new Uint8Array(1<<8):[];for(var ae=0;ae<1<<8;++ae)te[ae]=ee(ae);function ne(e,r){var t=te[e&255];if(r<=8)return t>>>8-r;t=t<<8|te[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|te[e>>16&255];return t>>>24-r}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function fe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function ce(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function le(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function oe(e,r,t){var a=r&7,n=r>>>3,i=(1<<t)-1;var s=e[n]>>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function ue(e,r,t){var a=r&7,n=r>>>3;if(a<=5)e[n]|=(t&7)<<a;else{e[n]|=t<<a&255;e[n+1]=(t&7)>>8-a}return r+3}function he(e,r,t){var a=r&7,n=r>>>3;t=(t&1)<<a;e[n]|=t;return r+1}function de(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t;return r+8}function ve(e,r,t){var a=r&7,n=r>>>3;t<<=a;e[n]|=t&255;t>>>=8;e[n+1]=t&255;e[n+2]=t>>>8;return r+16}function pe(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(w){var i=y(a);if(e.copy)e.copy(i);else for(;n<e.length;++n)i[n]=e[n];return i}else if(re){var s=new Uint8Array(a);if(s.set)s.set(e);else for(;n<t;++n)s[n]=e[n];return s}e.length=a;return e}function me(e){var r=new Array(e);for(var t=0;t<e;++t)r[t]=0;return r}function be(e,r,t){var a=1,n=0,i=0,s=0,f=0,c=e.length;var l=re?new Uint16Array(32):me(32);for(i=0;i<32;++i)l[i]=0;for(i=c;i<t;++i)e[i]=0;c=e.length;var o=re?new Uint16Array(c):me(c);for(i=0;i<c;++i){l[n=e[i]]++;if(a<n)a=n;o[i]=0}l[0]=0;for(i=1;i<=a;++i)l[i+16]=f=f+l[i-1]<<1;for(i=0;i<c;++i){f=e[i];if(f!=0)o[i]=l[f+16]++}var u=0;for(i=0;i<c;++i){u=e[i];if(u!=0){f=ne(o[i],a)>>a-u;for(s=(1<<a+4-u)-1;s>=0;--s)r[f|s<<u]=u&15|i<<4}}return a}var ge=re?new Uint16Array(512):me(512);var we=re?new Uint16Array(32):me(32);if(!re){for(var ke=0;ke<512;++ke)ge[ke]=0;for(ke=0;ke<32;++ke)we[ke]=0}(function(){var e=[];var r=0;for(;r<32;r++)e.push(5);be(e,we,32);var t=[];r=0;for(;r<=143;r++)t.push(8);for(;r<=255;r++)t.push(9);for(;r<=279;r++)t.push(7);for(;r<=287;r++)t.push(8);be(t,ge,288)})();var Te=function Ye(){var e=re?new Uint8Array(32768):[];var r=0,t=0;for(;r<Q.length-1;++r){for(;t<Q[r+1];++t)e[t]=r}for(;t<32768;++t)e[t]=29;var a=re?new Uint8Array(259):[];for(r=0,t=0;r<Z.length-1;++r){for(;t<Z[r+1];++t)a[t]=r}function n(e,r){var t=0;while(t<e.length){var a=Math.min(65535,e.length-t);var n=t+a==e.length;r._W(1,+n);r._W(2,a);r._W(2,~a&65535);while(a-- >0)r[r.l++]=e[t++]}return r.l}function i(r,t){var n=0;var i=0;var s=re?new Uint16Array(32768):[];while(i<r.length){var f=Math.min(65535,r.length-i);if(f<10){n=ue(t,n,+!!(i+f==r.length));if(n&7)n+=8-(n&7);t.l=n/8|0;t._W(2,f);t._W(2,~f&65535);while(f-- >0)t[t.l++]=r[i++];n=t.l*8;continue}n=ue(t,n,+!!(i+f==r.length)+2);var c=0;while(f-- >0){var l=r[i];c=(c<<5^l)&32767;var o=-1,u=0;if(o=s[c]){o|=i&~32767;if(o>i)o-=32768;if(o<i)while(r[o+u]==r[i+u]&&u<250)++u}if(u>2){l=a[u];if(l<=22)n=de(t,n,te[l+1]>>1)-1;else{de(t,n,3);n+=5;de(t,n,te[l-23]>>5);n+=3}var h=l<8?0:l-4>>2;if(h>0){ve(t,n,u-Z[l]);n+=h}l=e[i-o];n=de(t,n,te[l]>>3);n-=3;var d=l<4?0:l-2>>1;if(d>0){ve(t,n,i-o-Q[l]);n+=d}for(var v=0;v<u;++v){s[c]=i&32767;c=(c<<5^r[i])&32767;++i}f-=u-1}else{if(l<=143)l=l+48;else n=he(t,n,1);n=de(t,n,te[l]);s[c]=i&32767;++i}}n=de(t,n,0)-1}t.l=(n+7)/8|0;return t.l}return function s(e,r){if(e.length<8)return n(e,r);return i(e,r)}}();function Ee(e){var r=tt(50+Math.floor(e.length*1.1));var t=Te(e,r);return r.slice(0,t)}var Se=re?new Uint16Array(32768):me(32768);var ye=re?new Uint16Array(32768):me(32768);var _e=re?new Uint16Array(128):me(128);var xe=1,Ae=1;function Ce(e,r){var t=ce(e,r)+257;r+=5;var a=ce(e,r)+1;r+=5;var n=fe(e,r)+4;r+=4;var i=0;var s=re?new Uint8Array(19):me(19);var f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var c=1;var l=re?new Uint8Array(8):me(8);var o=re?new Uint8Array(8):me(8);var u=s.length;for(var h=0;h<n;++h){s[q[h]]=i=se(e,r);if(c<i)c=i;l[i]++;r+=3}var d=0;l[0]=0;for(h=1;h<=c;++h)o[h]=d=d+l[h-1]<<1;for(h=0;h<u;++h)if((d=s[h])!=0)f[h]=o[d]++;var v=0;for(h=0;h<u;++h){v=s[h];if(v!=0){d=te[f[h]]>>8-v;for(var p=(1<<7-v)-1;p>=0;--p)_e[d|p<<v]=v&7|h<<3}}var m=[];c=1;for(;m.length<t+a;){d=_e[le(e,r)];r+=d&7;switch(d>>>=3){case 16:i=3+ie(e,r);r+=2;d=m[m.length-1];while(i-- >0)m.push(d);break;case 17:i=3+se(e,r);r+=3;while(i-- >0)m.push(0);break;case 18:i=11+le(e,r);r+=7;while(i-- >0)m.push(0);break;default:m.push(d);if(c<d)c=d;break;}}var b=m.slice(0,t),g=m.slice(t);for(h=t;h<286;++h)b[h]=0;for(h=a;h<30;++h)g[h]=0;xe=be(b,Se,286);Ae=be(g,ye,30);return r}function Re(e,r){if(e[0]==3&&!(e[1]&3)){return[S(r),2]}var t=0;var a=0;var n=y(r?r:1<<18);var i=0;var s=n.length>>>0;var f=0,c=0;while((a&1)==0){a=se(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var l=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(l>0){if(!r&&s<i+l){n=pe(n,i+l);s=n.length}while(l-- >0){n[i++]=e[t>>>3];t+=8}}continue}else if(a>>1==1){f=9;c=5}else{t=Ce(e,t);f=xe;c=Ae}for(;;){if(!r&&s<i+32767){n=pe(n,i+32767);s=n.length}var o=oe(e,t,f);var u=a>>>1==1?ge[o]:Se[o];t+=u&15;u>>>=4;if((u>>>8&255)===0)n[i++]=u;else if(u==256)break;else{u-=257;var h=u<8?0:u-4>>2;if(h>5)h=0;var d=i+Z[u];if(h>0){d+=oe(e,t,h);t+=h}o=oe(e,t,c);u=a>>>1==1?we[o]:ye[o];t+=u&15;u>>>=4;var v=u<4?0:u-2>>1;var p=Q[u];if(v>0){p+=oe(e,t,v);t+=v}if(!r&&s<d){n=pe(n,d+100);s=n.length}while(i<d){n[i]=n[i-p];++i}}}}if(r)return[n,t+7>>>3];return[n.slice(0,i),t+7>>>3]}function Oe(e,r){var t=e.slice(e.l||0);var a=Re(t,r);e.l+=a[1];return a[0]}function Ie(e,r){if(e){if(typeof console!=="undefined")console.error(r)}else throw new Error(r)}function Ne(e,r){var t=e;et(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};C(i,{root:r.root});var f=t.length-4;while((t[f]!=80||t[f+1]!=75||t[f+2]!=5||t[f+3]!=6)&&f>=0)--f;t.l=f+4;t.l+=4;var c=t._R(2);t.l+=6;var l=t._R(4);t.l=l;for(f=0;f<c;++f){t.l+=20;var o=t._R(4);var u=t._R(4);var h=t._R(2);var d=t._R(2);var v=t._R(2);t.l+=8;var p=t._R(4);var m=s(t.slice(t.l+h,t.l+h+d));t.l+=h+d+v;var b=t.l;t.l=p+4;Fe(t,o,u,i,m);t.l=b}return i}function Fe(e,r,t,a,n){e.l+=2;var f=e._R(2);var c=e._R(2);var l=i(e);if(f&8257)throw new Error("Unsupported ZIP encryption");var o=e._R(4);var u=e._R(4);var h=e._R(4);var d=e._R(2);var v=e._R(2);var p="";for(var m=0;m<d;++m)p+=String.fromCharCode(e[e.l++]);if(v){var b=s(e.slice(e.l,e.l+v));if((b[21589]||{}).mt)l=b[21589].mt;if(((n||{})[21589]||{}).mt)l=n[21589].mt}e.l+=v;var g=e.slice(e.l,e.l+u);switch(c){case 8:g=K(e,h);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+c);}var w=false;if(f&8){o=e._R(4);if(o==134695760){o=e._R(4);w=true}u=e._R(4);h=e._R(4)}if(u!=r)Ie(w,"Bad compressed size: "+r+" != "+u);if(h!=t)Ie(w,"Bad uncompressed size: "+t+" != "+h);Ge(a,p,g,{unsafe:true,mt:l})}function De(e,r){var t=r||{};var a=[],i=[];var s=tt(1);var f=t.compression?8:0,c=0;var l=false;if(l)c|=8;var o=0,u=0;var h=0,d=0;var v=e.FullPaths[0],p=v,m=e.FileIndex[0];var b=[];var g=0;for(o=1;o<e.FullPaths.length;++o){p=e.FullPaths[o].slice(v.length);m=e.FileIndex[o];if(!m.size||!m.content||p=="Sh33tJ5")continue;var w=h;var k=tt(p.length);for(u=0;u<p.length;++u)k._W(1,p.charCodeAt(u)&127);k=k.slice(0,k.l);b[d]=H.buf(m.content,0);var T=m.content;if(f==8)T=J(T);s=tt(30);s._W(4,67324752);s._W(2,20);s._W(2,c);s._W(2,f);if(m.mt)n(s,m.mt);else s._W(4,0);s._W(-4,c&8?0:b[d]);s._W(4,c&8?0:T.length);s._W(4,c&8?0:m.content.length);s._W(2,k.length);s._W(2,0);h+=s.length;a.push(s);h+=k.length;a.push(k);h+=T.length;a.push(T);if(c&8){s=tt(12);s._W(-4,b[d]);s._W(4,T.length);s._W(4,m.content.length);h+=s.l;a.push(s)}s=tt(46);s._W(4,33639248);s._W(2,0);s._W(2,20);s._W(2,c);s._W(2,f);s._W(4,0);s._W(-4,b[d]);s._W(4,T.length);s._W(4,m.content.length);s._W(2,k.length);s._W(2,0);s._W(2,0);s._W(2,0);s._W(2,0);s._W(4,0);s._W(4,w);g+=s.l;i.push(s);g+=k.length;i.push(k);++d}s=tt(22);s._W(4,101010256);s._W(2,0);s._W(2,0);s._W(2,d);s._W(2,d);s._W(4,g);s._W(4,h);s._W(2,0);return I([I(a),I(i),s])}var Pe={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Le(e,r){if(e.ctype)return e.ctype;var t=e.name||"",a=t.match(/\.([^\.]+)$/);if(a&&Pe[a[1]])return Pe[a[1]];if(r){a=(t=r).match(/[\.\\]([^\.\\])+$/);if(a&&Pe[a[1]])return Pe[a[1]]}return"application/octet-stream"}function Me(e){var r=g.encode(e);var t=[];for(var a=0;a<r.length;a+=76)t.push(r.slice(a,a+76));return t.join("\r\n")+"\r\n"}function Ue(e){var r=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(e){var r=e.charCodeAt(0).toString(16).toUpperCase();return"="+(r.length==1?"0"+r:r)});r=r.replace(/ $/gm,"=20").replace(/\t$/gm,"=09");if(r.charAt(0)=="\n")r="=0D"+r.slice(1);r=r.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A");var t=[],a=r.split("\r\n");for(var n=0;n<a.length;++n){var i=a[n];if(i.length==0){t.push("");continue}for(var s=0;s<i.length;){var f=76;var c=i.slice(s,s+f);if(c.charAt(f-1)=="=")f--;else if(c.charAt(f-2)=="=")f-=2;else if(c.charAt(f-3)=="=")f-=3;c=i.slice(s,s+f);s+=f;if(s<i.length)c+="=";t.push(c)}}return t.join("\r\n")}function Be(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t];while(t<=e.length&&a.charAt(a.length-1)=="=")a=a.slice(0,a.length-1)+e[++t];r.push(a)}for(var n=0;n<r.length;++n)r[n]=r[n].replace(/[=][0-9A-Fa-f]{2}/g,function(e){return String.fromCharCode(parseInt(e.slice(1),16))});return _(r.join("\r\n"))}function We(e,r,t){var a="",n="",i="",s;var f=0;for(;f<10;++f){var c=r[f];if(!c||c.match(/^\s*$/))break;var l=c.match(/^(.*?):\s*([^\s].*)$/);if(l)switch(l[1].toLowerCase()){case"content-location":a=l[2].trim();break;case"content-type":i=l[2].trim();break;case"content-transfer-encoding":n=l[2].trim();break;}}++f;switch(n.toLowerCase()){case"base64":s=_(g.decode(r.slice(f).join("")));break;case"quoted-printable":s=Be(r.slice(f));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+n);}var o=Ge(e,a.slice(t.length),s,{unsafe:true});if(i)o.ctype=i}function He(e,r){if(j(e.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var t=r&&r.root||"";var a=(w&&Buffer.isBuffer(e)?e.toString("binary"):j(e)).split("\r\n");var n=0,i="";for(n=0;n<a.length;++n){i=a[n];if(!/^Content-Location:/i.test(i))continue;i=i.slice(i.indexOf("file"));if(!t)t=i.slice(0,i.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)continue;while(t.length>0){t=t.slice(0,t.length-1);t=t.slice(0,t.lastIndexOf("/")+1);if(i.slice(0,t.length)==t)break}}var s=(a[1]||"").match(/boundary="(.*?)"/);if(!s)throw new Error("MAD cannot find boundary");var f="--"+(s[1]||"");var c=[],l=[];var o={FileIndex:c,FullPaths:l};C(o);var u,h=0;for(n=0;n<a.length;++n){var d=a[n];if(d!==f&&d!==f+"--")continue;if(h++)We(o,a.slice(u,n),t);u=n}return o}function ze(e,r){var t=r||{};var a=t.boundary||"SheetJS";a="------="+a;var n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+a.slice(2)+'"',"","",""];var i=e.FullPaths[0],s=i,f=e.FileIndex[0];for(var c=1;c<e.FullPaths.length;++c){s=e.FullPaths[c].slice(i.length);f=e.FileIndex[c];if(!f.size||!f.content||s=="Sh33tJ5")continue;s=s.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"});var l=f.content;var o=w&&Buffer.isBuffer(l)?l.toString("binary"):j(l);var u=0,h=Math.min(1024,o.length),d=0;for(var v=0;v<=h;++v)if((d=o.charCodeAt(v))>=32&&d<128)++u;var p=u>=h*4/5;n.push(a);n.push("Content-Location: "+(t.root||"file:///C:/SheetJS/")+s);n.push("Content-Transfer-Encoding: "+(p?"quoted-printable":"base64"));n.push("Content-Type: "+Le(f,s));n.push("");n.push(p?Ue(o):Me(o))}n.push(a+"--\r\n");return n.join("\r\n")}function Ve(e){var r={};C(r,e);return r}function Ge(e,r,t,n){var i=n&&n.unsafe;if(!i)C(e);var s=!i&&z.find(e,r);if(!s){var f=e.FullPaths[0];if(r.slice(0,f.length)==f)f=r;else{if(f.slice(-1)!="/")f+="/";f=(f+r).replace("//","/")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(f);if(!i)z.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function je(e,r){C(e);var t=z.find(e,r);if(t)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==t){e.FileIndex.splice(a,1);e.FullPaths.splice(a,1);return true}return false}function Xe(e,r,t){C(e);var n=z.find(e,r);if(n)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==n){e.FileIndex[i].name=a(t);e.FullPaths[i]=t;return true}return false}function $e(e){O(e,true)}e.find=P;e.read=A;e.parse=l;e.write=X;e.writeFile=G;e.utils={cfb_new:Ve,cfb_add:Ge,cfb_del:je,cfb_mov:Xe,cfb_gc:$e,ReadShift:Yr,CheckField:Qr,prep_blob:et,bconcat:I,use_zlib:Y,_deflateRaw:Ee,_inflateRaw:Oe,consts:V};return e}();var V;if(typeof require!=="undefined")try{V=undefined}catch(E){}function G(e){if(typeof e==="string")return x(e);if(Array.isArray(e))return C(e);return e}function j(e,r,t){if(typeof V!=="undefined"&&V.writeFileSync)return t?V.writeFileSync(e,r,t):V.writeFileSync(e,r);if(typeof Deno!=="undefined"){if(t&&typeof r=="string")switch(t){case"utf8":r=new TextEncoder(t).encode(r);break;case"binary":r=x(r);break;default:throw new Error("Unsupported encoding "+t);}return Deno.writeFileSync(e,r)}var a=t=="utf8"?qe(r):r;if(typeof IE_SaveFile!=="undefined")return IE_SaveFile(a,e);if(typeof Blob!=="undefined"){var n=new Blob([G(a)],{type:"application/octet-stream"});if(typeof navigator!=="undefined"&&navigator.msSaveBlob)return navigator.msSaveBlob(n,e);if(typeof saveAs!=="undefined")return saveAs(n,e);if(typeof URL!=="undefined"&&typeof document!=="undefined"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(n);if(typeof chrome==="object"&&typeof(chrome.downloads||{}).download=="function"){if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return chrome.downloads.download({url:i,filename:e,saveAs:true})}var s=document.createElement("a");if(s.download!=null){s.download=e;s.href=i;document.body.appendChild(s);s.click();document.body.removeChild(s);if(URL.revokeObjectURL&&typeof setTimeout!=="undefined")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return i}}}if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var f=File(e);f.open("w");f.encoding="binary";if(Array.isArray(r))r=A(r);f.write(r);f.close();return r}catch(c){if(!c.message||!c.message.match(/onstruct/))throw c}throw new Error("cannot save file "+e)}function X(e){if(typeof V!=="undefined")return V.readFileSync(e);if(typeof Deno!=="undefined")return Deno.readFileSync(e);if(typeof $!=="undefined"&&typeof File!=="undefined"&&typeof Folder!=="undefined")try{var r=File(e);r.open("r");r.encoding="binary";var t=r.read();r.close();return t}catch(a){if(!a.message||!a.message.match(/onstruct/))throw a}throw new Error("Cannot access file "+e)}function Y(e){var r=Object.keys(e),t=[];for(var a=0;a<r.length;++a)if(Object.prototype.hasOwnProperty.call(e,r[a]))t.push(r[a]);return t}function K(e,r){var t=[],a=Y(e);for(var n=0;n!==a.length;++n)if(t[e[a[n]][r]]==null)t[e[a[n]][r]]=a[n];return t}function J(e){var r=[],t=Y(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=t[a];return r}function q(e){var r=[],t=Y(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=parseInt(t[a],10);return r}function Z(e){var r=[],t=Y(e);for(var a=0;a!==t.length;++a){if(r[e[t[a]]]==null)r[e[t[a]]]=[];r[e[t[a]]].push(t[a])}return r}var Q=new Date(1899,11,30,0,0,0);function ee(e,r){var t=e.getTime();if(r)t-=1462*24*60*60*1e3;var a=Q.getTime()+(e.getTimezoneOffset()-Q.getTimezoneOffset())*6e4;return(t-a)/(24*60*60*1e3)}var re=new Date;var te=Q.getTime()+(re.getTimezoneOffset()-Q.getTimezoneOffset())*6e4;var ae=re.getTimezoneOffset();function ne(e){var r=new Date;r.setTime(e*24*60*60*1e3+te);if(r.getTimezoneOffset()!==ae){r.setTime(r.getTime()+(r.getTimezoneOffset()-ae)*6e4)}return r}function ie(e){var r=0,t=0,a=false;var n=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!n)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var i=1;i!=n.length;++i){if(!n[i])continue;t=1;if(i>3)a=true;switch(n[i].slice(n[i].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[i].slice(n[i].length-1));case"D":t*=24;case"H":t*=60;case"M":if(!a)throw new Error("Unsupported ISO Duration Field: M");else t*=60;case"S":break;}r+=t*parseInt(n[i],10)}return r}var se=new Date("2017-02-19T19:06:09.000Z");if(isNaN(se.getFullYear()))se=new Date("2/19/17");var fe=se.getFullYear()==2017;function ce(e,r){var t=new Date(e);if(fe){if(r>0)t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3);else if(r<0)t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3);
return t}if(e instanceof Date)return e;if(se.getFullYear()==1917&&!isNaN(t.getFullYear())){var a=t.getFullYear();if(e.indexOf(""+a)>-1)return t;t.setFullYear(t.getFullYear()+100);return t}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"];var i=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);if(e.indexOf("Z")>-1)i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3);return i}function le(e,r){if(w&&Buffer.isBuffer(e)){if(r){if(e[0]==255&&e[1]==254)return e.slice(2).toString("utf16le");if(e[1]==254&&e[2]==255)return h(e.slice(2).toString("binary"))}return e.toString("binary")}var t=[];for(var a=0;a!=e.length;++a)t.push(String.fromCharCode(e[a]));return t.join("")}function oe(e){if(typeof JSON!="undefined"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))r[t]=oe(e[t]);return r}function ue(e,r){var t="";while(t.length<r)t+=e;return t}function he(e){var r=Number(e);if(!isNaN(r))return isFinite(r)?r:NaN;if(!/\d/.test(e))return r;var t=1;var a=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){t*=100;return""});if(!isNaN(r=Number(a)))return r/t;a=a.replace(/[(](.*)[)]/,function(e,r){t=-t;return r});if(!isNaN(r=Number(a)))return r/t;return r}var de=["january","february","march","april","may","june","july","august","september","october","november","december"];function ve(e){var r=new Date(e),t=new Date(NaN);var a=r.getYear(),n=r.getMonth(),i=r.getDate();if(isNaN(i))return t;var s=e.toLowerCase();if(s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){s=s.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,"");if(s.length>3&&de.indexOf(s)==-1)return t}else if(s.match(/[a-z]/))return t;if(a<0||a>8099)return t;if((n>0||i>1)&&a!=101)return r;if(e.match(/[^-0-9:,\/\\]/))return t;return r}var pe="abacaba".split(/(:?b)/i).length==5;function me(e,r,t){if(pe||typeof r=="string")return e.split(r);var a=e.split(r),n=[a[0]];for(var i=1;i<a.length;++i){n.push(t);n.push(a[i])}return n}function be(e){if(!e)return null;if(e.content&&e.type)return le(e.content,true);if(e.data)return d(e.data);if(e.asNodeBuffer&&w)return d(e.asNodeBuffer().toString("binary"));if(e.asBinary)return d(e.asBinary());if(e._data&&e._data.getContent)return d(le(Array.prototype.slice.call(e._data.getContent(),0)));return null}function ge(e){if(!e)return null;if(e.data)return o(e.data);if(e.asNodeBuffer&&w)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r=="string")return o(r);return Array.prototype.slice.call(r)}if(e.content&&e.type)return e.content;return null}function we(e){return e&&e.name.slice(-4)===".bin"?ge(e):be(e)}function ke(e,r){var t=e.FullPaths||Y(e.files);var a=r.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/");for(var i=0;i<t.length;++i){var s=t[i].replace(/^Root Entry[\/]/,"").toLowerCase();if(a==s||n==s)return e.files?e.files[t[i]]:e.FileIndex[i]}return null}function Te(e,r){var t=ke(e,r);if(t==null)throw new Error("Cannot find file "+r+" in zip");return t}function Ee(e,r,t){if(!t)return we(Te(e,r));if(!r)return null;try{return Ee(e,r)}catch(a){return null}}function Se(e,r,t){if(!t)return be(Te(e,r));if(!r)return null;try{return Se(e,r)}catch(a){return null}}function ye(e,r,t){if(!t)return ge(Te(e,r));if(!r)return null;try{return ye(e,r)}catch(a){return null}}function _e(e){var r=e.FullPaths||Y(e.files),t=[];for(var a=0;a<r.length;++a)if(r[a].slice(-1)!="/")t.push(r[a].replace(/^Root Entry[\/]/,""));return t.sort()}function xe(e,r,t){if(e.FullPaths){if(typeof t=="string"){var a;if(w)a=k(t);else a=O(t);return z.utils.cfb_add(e,r,a)}z.utils.cfb_add(e,r,t)}else e.file(r,t)}function Ae(){return z.utils.cfb_new()}function Ce(e,r){switch(r.type){case"base64":return z.read(e,{type:"base64"});case"binary":return z.read(e,{type:"binary"});case"buffer":;case"array":return z.read(e,{type:"buffer"});}throw new Error("Unrecognized type "+r.type)}function Re(e,r){if(e.charAt(0)=="/")return e.slice(1);var t=r.split("/");if(r.slice(-1)!="/")t.pop();var a=e.split("/");while(a.length!==0){var n=a.shift();if(n==="..")t.pop();else if(n!==".")t.push(n)}return t.join("/")}var Oe='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n';var Ie=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g;var Ne=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm;if(!Oe.match(Ne))Ne=/<[^>]*>/g;var Fe=/<\w*:/,De=/<(\/?)\w+:/;function Pe(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(Ie),f=0,c="",l=0,o="",u="",h=1;if(s)for(l=0;l!=s.length;++l){u=s[l];for(i=0;i!=u.length;++i)if(u.charCodeAt(i)===61)break;o=u.slice(0,i).trim();while(u.charCodeAt(i+1)==32)++i;h=(n=u.charCodeAt(i+1))==34||n==39?1:0;c=u.slice(i+1+h,u.length-h);for(f=0;f!=o.length;++f)if(o.charCodeAt(f)===58)break;if(f===o.length){if(o.indexOf("_")>0)o=o.slice(0,o.indexOf("_"));a[o]=c;if(!t)a[o.toLowerCase()]=c}else{var d=(f===5&&o.slice(0,5)==="xmlns"?"xmlns":"")+o.slice(f+1);if(a[d]&&o.slice(f-3,f)=="ext")continue;a[d]=c;if(!t)a[d.toLowerCase()]=c}}return a}function Le(e){return e.replace(De,"<$1")}var Me={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"};var Ue=J(Me);var Be=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,r=/_x([\da-fA-F]{4})_/gi;return function t(a){var n=a+"",i=n.indexOf("<![CDATA[");if(i==-1)return n.replace(e,function(e,r){return Me[e]||String.fromCharCode(parseInt(r,e.indexOf("x")>-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf("]]>");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}}();var We=/[&<>'"]/g,He=/[\u0000-\u0008\u000b-\u001f]/g;function ze(e){var r=e+"";return r.replace(We,function(e){return Ue[e]}).replace(He,function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Ve(e){return ze(e).replace(/ /g,"_x0020_")}var Ge=/[\u0000-\u001f]/g;function je(e){var r=e+"";return r.replace(We,function(e){return Ue[e]}).replace(/\n/g,"<br/>").replace(Ge,function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"})}function Xe(e){var r=e+"";return r.replace(We,function(e){return Ue[e]}).replace(Ge,function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"})}var $e=function(){var e=/&#(\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();function Ye(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")}function Ke(e){switch(e){case 1:;case true:;case"1":;case"true":;case"TRUE":return true;default:return false;}}var Je=function Ag(e){var r="",t=0,a=0,n=0,i=0,s=0,f=0;while(t<e.length){a=e.charCodeAt(t++);if(a<128){r+=String.fromCharCode(a);continue}n=e.charCodeAt(t++);if(a>191&&a<224){s=(a&31)<<6;s|=n&63;r+=String.fromCharCode(s);continue}i=e.charCodeAt(t++);if(a<240){r+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(t++);f=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(f>>>10&1023));r+=String.fromCharCode(56320+(f&1023))}return r};var qe=function(e){var r=[],t=0,a=0,n=0;while(t<e.length){a=e.charCodeAt(t++);switch(true){case a<128:r.push(String.fromCharCode(a));break;case a<2048:r.push(String.fromCharCode(192+(a>>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}return r.join("")};if(w){var Ze=function Cg(e){var r=Buffer.alloc(2*e.length),t,a,n=1,i=0,s=0,f;for(a=0;a<e.length;a+=n){n=1;if((f=e.charCodeAt(a))<128)t=f;else if(f<224){t=(f&31)*64+(e.charCodeAt(a+1)&63);n=2}else if(f<240){t=(f&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(f&7)*262144+(e.charCodeAt(a+1)&63)*4096+(e.charCodeAt(a+2)&63)*64+(e.charCodeAt(a+3)&63);t-=65536;s=55296+(t>>>10&1023);t=56320+(t&1023)}if(s!==0){r[i++]=s&255;r[i++]=s>>>8;s=0}r[i++]=t%256;r[i++]=t>>>8}return r.slice(0,i).toString("ucs2")};var Qe="foo bar baz☃🍣";if(Je(Qe)==Ze(Qe))Je=Ze;var er=function Rg(e){return k(e,"binary").toString("utf8")};if(Je(Qe)==er(Qe))Je=er;qe=function(e){return k(e,"utf8").toString("binary")}}var rr=function(){var e={};return function r(t,a){var n=t+"|"+(a||"");if(e[n])return e[n];return e[n]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",a||"")}}();var tr=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]});return function r(t){var a=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,"");for(var n=0;n<e.length;++n)a=a.replace(e[n][0],e[n][1]);return a}}();var ar=function(){var e={};return function r(t){if(e[t]!==undefined)return e[t];return e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}();var nr=/<\/?(?:vt:)?variant>/g,ir=/<(?:vt:)([^>]*)>([\s\S]*)</;function sr(e,r){var t=Pe(e);var a=e.match(ar(t.baseType))||[];var n=[];if(a.length!=t.size){if(r.WTF)throw new Error("unexpected vector length "+a.length+" != "+t.size);return n}a.forEach(function(e){var r=e.replace(nr,"").match(ir);if(r)n.push({v:Je(r[2]),t:r[1]})});return n}var fr=/(^\s|\s$|\n)/;function cr(e,r){return"<"+e+(r.match(fr)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}function lr(e){return Y(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function or(e,r,t){return"<"+e+(t!=null?lr(t):"")+(r!=null?(r.match(fr)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function ur(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function hr(e,r){switch(typeof e){case"string":var t=or("vt:lpwstr",ze(e));if(r)t=t.replace(/&quot;/g,"_x0022_");return t;case"number":return or((e|0)==e?"vt:i4":"vt:r8",ze(String(e)));case"boolean":return or("vt:bool",e?"true":"false");}if(e instanceof Date)return or("vt:filetime",ur(e));throw new Error("Unable to serialize "+e)}function dr(e){if(w&&Buffer.isBuffer(e))return e.toString("utf8");if(typeof e==="string")return e;if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array)return Je(A(R(e)));throw new Error("Bad input format: expected Buffer or string")}var vr=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm;var pr={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"};var mr=["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"];var br={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 gr(e,r){var t=1-2*(e[r+7]>>>7);var a=((e[r+7]&127)<<4)+(e[r+6]>>>4&15);var n=e[r+6]&15;for(var i=5;i>=0;--i)n=n*256+e[r+i];if(a==2047)return n==0?t*Infinity:NaN;if(a==0)a=-1022;else{a-=1023;n+=Math.pow(2,52)}return t*Math.pow(2,a-52)*n}function wr(e,r,t){var a=(r<0||1/r==-Infinity?1:0)<<7,n=0,i=0;var s=a?-r:r;if(!isFinite(s)){n=2047;i=isNaN(r)?26985:0}else if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i<Math.pow(2,52))){n=-1022}else{i-=Math.pow(2,52);n+=1023}}for(var f=0;f<=5;++f,i/=256)e[t+f]=i&255;e[t+6]=(n&15)<<4|i&15;e[t+7]=n>>4|a}var kr=function(e){var r=[],t=10240;for(var a=0;a<e[0].length;++a)if(e[0][a])for(var n=0,i=e[0][a].length;n<i;n+=t)r.push.apply(r,e[0][a].slice(n,n+t));return r};var Tr=kr;var Er=function(e,r,t){var a=[];for(var n=r;n<t;n+=2)a.push(String.fromCharCode(Vr(e,n)));return a.join("").replace(N,"")};var Sr=Er;var yr=function(e,r,t){var a=[];for(var n=r;n<r+t;++n)a.push(("0"+e[n].toString(16)).slice(-2));return a.join("")};var _r=yr;var xr=function(e,r,t){var a=[];for(var n=r;n<t;n++)a.push(String.fromCharCode(zr(e,n)));return a.join("")};var Ar=xr;var Cr=function(e,r){var t=jr(e,r);return t>0?xr(e,r+4,r+4+t-1):""};var Rr=Cr;var Or=function(e,r){var t=jr(e,r);return t>0?xr(e,r+4,r+4+t-1):""};var Ir=Or;var Nr=function(e,r){var t=2*jr(e,r);return t>0?xr(e,r+4,r+4+t-1):""};var Fr=Nr;var Dr,Pr;Dr=Pr=function Og(e,r){var t=jr(e,r);return t>0?Er(e,r+4,r+4+t):""};var Lr=function(e,r){var t=jr(e,r);return t>0?xr(e,r+4,r+4+t):""};var Mr=Lr;var Ur,Br;Ur=Br=function(e,r){return gr(e,r)};var Wr=function Ig(e){return Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array};if(w){Er=function(e,r,t){if(!Buffer.isBuffer(e))return Sr(e,r,t);return e.toString("utf16le",r,t).replace(N,"")};yr=function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):_r(e,r,t)};Cr=function Ng(e,r){if(!Buffer.isBuffer(e))return Rr(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};Or=function Fg(e,r){if(!Buffer.isBuffer(e))return Ir(e,r);var t=e.readUInt32LE(r);return t>0?e.toString("utf8",r+4,r+4+t-1):""};Nr=function Dg(e,r){if(!Buffer.isBuffer(e))return Fr(e,r);var t=2*e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t-1)};Dr=function Pg(e,r){if(!Buffer.isBuffer(e))return Pr(e,r);var t=e.readUInt32LE(r);return e.toString("utf16le",r+4,r+4+t)};Lr=function Lg(e,r){if(!Buffer.isBuffer(e))return Mr(e,r);var t=e.readUInt32LE(r);return e.toString("utf8",r+4,r+4+t)};xr=function Mg(e,r,t){return Buffer.isBuffer(e)?e.toString("utf8",r,t):Ar(e,r,t)};kr=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(e){return Buffer.isBuffer(e)?e:k(e)})):Tr(e)};I=function(e){return Buffer.concat(e.map(function(e){return Buffer.isBuffer(e)?e:k(e)}))};Ur=function Ug(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return Br(e,r)};Wr=function Bg(e){return Buffer.isBuffer(e)||Array.isArray(e)||typeof Uint8Array!=="undefined"&&e instanceof Uint8Array}}function Hr(){Er=function(e,r,t){return a.utils.decode(1200,e.slice(r,t)).replace(N,"")};xr=function(e,r,t){return a.utils.decode(65001,e.slice(r,t))};Cr=function(e,r){var n=jr(e,r);return n>0?a.utils.decode(t,e.slice(r+4,r+4+n-1)):""};Or=function(e,t){var n=jr(e,t);return n>0?a.utils.decode(r,e.slice(t+4,t+4+n-1)):""};Nr=function(e,r){var t=2*jr(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t-1)):""};Dr=function(e,r){var t=jr(e,r);return t>0?a.utils.decode(1200,e.slice(r+4,r+4+t)):""};Lr=function(e,r){var t=jr(e,r);return t>0?a.utils.decode(65001,e.slice(r+4,r+4+t)):""}}if(typeof a!=="undefined")Hr();var zr=function(e,r){return e[r]};var Vr=function(e,r){return e[r+1]*(1<<8)+e[r]};var Gr=function(e,r){var t=e[r+1]*(1<<8)+e[r];return t<32768?t:(65535-t+1)*-1};var jr=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var Xr=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var $r=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function Yr(e,t){var n="",i,s,f=[],c,l,o,u;switch(t){case"dbcs":u=this.l;if(w&&Buffer.isBuffer(this))n=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o<e;++o){n+=String.fromCharCode(Vr(this,u));u+=2}e*=2;break;case"utf8":n=xr(this,this.l,this.l+e);break;case"utf16le":e*=2;n=Er(this,this.l,this.l+e);break;case"wstr":if(typeof a!=="undefined")n=a.utils.decode(r,this.slice(this.l,this.l+2*e));else return Yr.call(this,e,"dbcs");e=2*e;break;case"lpstr-ansi":n=Cr(this,this.l);e=4+jr(this,this.l);break;case"lpstr-cp":n=Or(this,this.l);e=4+jr(this,this.l);break;case"lpwstr":n=Nr(this,this.l);e=4+2*jr(this,this.l);break;case"lpp4":e=4+jr(this,this.l);n=Dr(this,this.l);if(e&2)e+=2;break;case"8lpp4":e=4+jr(this,this.l);n=Lr(this,this.l);if(e&3)e+=4-(e&3);break;case"cstr":e=0;n="";while((c=zr(this,this.l+e++))!==0)f.push(v(c));n=f.join("");break;case"_wstr":e=0;n="";while((c=Vr(this,this.l+e))!==0){f.push(v(c));e+=2}e+=2;n=f.join("");break;case"dbcs-cont":n="";u=this.l;for(o=0;o<e;++o){if(this.lens&&this.lens.indexOf(u)!==-1){c=zr(this,u);this.l=u+1;l=Yr.call(this,e-o,c?"dbcs-cont":"sbcs-cont");return f.join("")+l}f.push(v(Vr(this,u)));u+=2}n=f.join("");e*=2;break;case"cpstr":if(typeof a!=="undefined"){n=a.utils.decode(r,this.slice(this.l,this.l+e));break};case"sbcs-cont":n="";u=this.l;for(o=0;o!=e;++o){if(this.lens&&this.lens.indexOf(u)!==-1){c=zr(this,u);this.l=u+1;l=Yr.call(this,e-o,c?"dbcs-cont":"sbcs-cont");return f.join("")+l}f.push(v(zr(this,u)));u+=1}n=f.join("");break;default:switch(e){case 1:i=zr(this,this.l);this.l++;return i;case 2:i=(t==="i"?Gr:Vr)(this,this.l);this.l+=2;return i;case 4:;case-4:if(t==="i"||(this[this.l+3]&128)===0){i=(e>0?Xr:$r)(this,this.l);this.l+=4;return i}else{s=jr(this,this.l);this.l+=4}return s;case 8:;case-8:if(t==="f"){if(e==8)s=Ur(this,this.l);else s=Ur([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;return s}else e=8;case 16:n=yr(this,this.l,e);break;};}this.l+=e;return n}var Kr=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255;e[t+2]=r>>>16&255;e[t+3]=r>>>24&255};var Jr=function(e,r,t){e[t]=r&255;e[t+1]=r>>8&255;e[t+2]=r>>16&255;e[t+3]=r>>24&255};var qr=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function Zr(e,r,n){var i=0,s=0;if(n==="dbcs"){for(s=0;s!=r.length;++s)qr(this,r.charCodeAt(s),this.l+2*s);i=2*r.length}else if(n==="sbcs"){if(typeof a!=="undefined"&&t==874){for(s=0;s!=r.length;++s){var f=a.utils.encode(t,r.charAt(s));this[this.l+s]=f[0]}}else{r=r.replace(/[^\x00-\x7F]/g,"_");for(s=0;s!=r.length;++s)this[this.l+s]=r.charCodeAt(s)&255}i=r.length}else if(n==="hex"){for(;s<e;++s){this[this.l++]=parseInt(r.slice(2*s,2*s+2),16)||0}return this}else if(n==="utf16le"){var c=Math.min(this.l+e,this.length);for(s=0;s<Math.min(r.length,e);++s){var l=r.charCodeAt(s);this[this.l++]=l&255;this[this.l++]=l>>8}while(this.l<c)this[this.l++]=0;return this}else switch(e){case 1:i=1;this[this.l]=r&255;break;case 2:i=2;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;break;case 3:i=3;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;r>>>=8;this[this.l+2]=r&255;break;case 4:i=4;Kr(this,r,this.l);break;case 8:i=8;if(n==="f"){wr(this,r,this.l);break};case 16:break;case-4:i=4;Jr(this,r,this.l);break;}this.l+=i;return this}function Qr(e,r){var t=yr(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function et(e,r){e.l=r;e._R=Yr;e.chk=Qr;e._W=Zr}function rt(e,r){e.l+=r}function tt(e){var r=S(e);et(r,0);return r}function at(e,r,t){if(!e)return;var a,n,i;et(e,e.l||0);var s=e.length,f=0,c=0;while(e.l<s){f=e._R(1);if(f&128)f=(f&127)+((e._R(1)&127)<<7);var l=fm[f]||fm[65535];a=e._R(1);i=a&127;for(n=1;n<4&&a&128;++n)i+=((a=e._R(1))&127)<<7*n;c=e.l+i;var o=l.f&&l.f(e,i,t);e.l=c;if(r(o,l,f))return}}function nt(){var e=[],r=w?256:2048;var t=function c(e){var r=tt(e);et(r,0);return r};var a=t(r);var n=function l(){if(!a)return;if(a.length>a.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a);a=null};var i=function o(e){if(a&&e<a.length-a.l)return a;n();return a=t(Math.max(e+1,r))};var s=function u(){n();return I(e)};var f=function h(e){n();a=e;if(a.l==null)a.l=a.length;i(r)};return{next:i,push:f,end:s,_bufs:e}}function it(e,r,t,a){var n=+r,i;if(isNaN(n))return;if(!a)a=fm[n].p||(t||[]).length||0;i=1+(n>=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&Wr(t))e.push(t)}function st(e,r,t){var a=oe(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)a.r+=r.r}if(!t||t.biff<12){while(a.c>=256)a.c-=256;while(a.r>=65536)a.r-=65536}return a}function ft(e,r,t){var a=oe(e);a.s=st(a.s,r.s,t);a.e=st(a.e,r.s,t);return a}function ct(e,r){if(e.cRel&&e.c<0){e=oe(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=oe(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=kt(e);if(!e.cRel&&e.cRel!=null)t=mt(t);if(!e.rRel&&e.rRel!=null)t=ht(t);return t}function lt(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?"":"$")+pt(e.s.c)+":"+(e.e.cRel?"":"$")+pt(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?"":"$")+ut(e.s.r)+":"+(e.e.rRel?"":"$")+ut(e.e.r)}}return ct(e.s,r.biff)+":"+ct(e.e,r.biff)}function ot(e){return parseInt(dt(e),10)-1}function ut(e){return""+(e+1)}function ht(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function dt(e){return e.replace(/\$(\d+)$/,"$1")}function vt(e){var r=bt(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function pt(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function mt(e){return e.replace(/^([A-Z])/,"$$$1")}function bt(e){return e.replace(/^\$([A-Z])/,"$1")}function gt(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function wt(e){var r=0,t=0;for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);if(n>=48&&n<=57)r=10*r+(n-48);else if(n>=65&&n<=90)t=26*t+(n-64)}return{c:t-1,r:r-1}}function kt(e){var r=e.c+1;var t="";for(;r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function Tt(e){var r=e.indexOf(":");if(r==-1)return{s:wt(e),e:wt(e)};return{s:wt(e.slice(0,r)),e:wt(e.slice(r+1))}}function Et(e,r){if(typeof r==="undefined"||typeof r==="number"){return Et(e.s,e.e)}if(typeof e!=="string")e=kt(e);if(typeof r!=="string")r=kt(r);return e==r?e:e+":"+r}function St(e){var r={s:{c:0,r:0},e:{c:0,r:0}};var t=0,a=0,n=0;var i=e.length;for(t=0;a<i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.s.c=--t;for(t=0;a<i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.s.r=--t;if(a===i||n!=10){r.e.c=r.s.c;r.e.r=r.s.r;return r}++a;for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.e.c=--t;for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.e.r=--t;return r}function yt(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=D.format(e.z,t?ee(r):r)}catch(a){}try{return e.w=D.format((e.XF||{}).numFmtId||(t?14:0),t?ee(r):r)}catch(a){return""+r}}function _t(e,r,t){if(e==null||e.t==null||e.t=="z")return"";if(e.w!==undefined)return e.w;if(e.t=="d"&&!e.z&&t&&t.dateNF)e.z=t.dateNF;if(e.t=="e")return Ia[e.v]||e.v;if(r==undefined)return yt(e,e.v);return yt(e,r)}function xt(e,r){var t=r&&r.sheet?r.sheet:"Sheet1";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function At(e,r,t){var a=t||{};var n=e?Array.isArray(e):a.dense;if(m!=null&&n==null)n=m;var i=e||(n?[]:{});var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var c=typeof a.origin=="string"?wt(a.origin):a.origin;s=c.r;f=c.c}if(!i["!ref"])i["!ref"]="A1:A1"}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var o=St(i["!ref"]);l.s.c=o.s.c;l.s.r=o.s.r;l.e.c=Math.max(l.e.c,o.e.c);l.e.r=Math.max(l.e.r,o.e.r);if(s==-1)l.e.r=s=o.e.r+1}for(var u=0;u!=r.length;++u){if(!r[u])continue;if(!Array.isArray(r[u]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=r[u].length;++h){if(typeof r[u][h]==="undefined")continue;var d={v:r[u][h]};var v=s+u,p=f+h;if(l.s.r>v)l.s.r=v;if(l.s.c>p)l.s.c=p;if(l.e.r<v)l.e.r=v;if(l.e.c<p)l.e.c=p;if(r[u][h]&&typeof r[u][h]==="object"&&!Array.isArray(r[u][h])&&!(r[u][h]instanceof Date))d=r[u][h];else{if(Array.isArray(d.v)){d.f=r[u][h][1];d.v=d.v[0]}if(d.v===null){if(d.f)d.t="n";else if(a.nullError){d.t="e";d.v=0}else if(!a.sheetStubs)continue;else d.t="z"}else if(typeof d.v==="number")d.t="n";else if(typeof d.v==="boolean")d.t="b";else if(d.v instanceof Date){d.z=a.dateNF||D._table[14];if(a.cellDates){d.t="d";d.w=D.format(d.z,ee(d.v))}else{d.t="n";d.v=ee(d.v);d.w=D.format(d.z,d.v)}}else d.t="s"}if(n){if(!i[v])i[v]=[];if(i[v][p]&&i[v][p].z)d.z=i[v][p].z;i[v][p]=d}else{var b=kt({c:p,r:v});if(i[b]&&i[b].z)d.z=i[b].z;i[b]=d}}}if(l.s.c<1e7)i["!ref"]=Et(l);return i}function Ct(e,r){return At(null,e,r)}function Rt(e){return e._R(4,"i")}function Ot(e,r){if(!r)r=tt(4);r._W(4,e);return r}function It(e){var r=e._R(4);return r===0?"":e._R(r,"dbcs")}function Nt(e,r){var t=false;if(r==null){t=true;r=tt(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 Ft(e){return{ich:e._R(2),ifnt:e._R(2)}}function Dt(e,r){if(!r)r=tt(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function Pt(e,r){var t=e.l;var a=e._R(1);var n=It(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e._R(4);for(var c=0;c!=f;++c)i.push(Ft(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function Lt(e,r){var t=false;if(r==null){t=true;r=tt(15+4*e.t.length)}r._W(1,0);Nt(e.t,r);return t?r.slice(0,r.l):r}var Mt=Pt;function Ut(e,r){var t=false;if(r==null){t=true;r=tt(23+4*e.t.length)}r._W(1,1);Nt(e.t,r);r._W(4,1);Dt({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function Bt(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16;e.l++;return{c:r,iStyleRef:t}}function Wt(e,r){if(r==null)r=tt(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}function Ht(e){var r=e._R(2);r+=e._R(1)<<16;e.l++;return{c:-1,iStyleRef:r}}function zt(e,r){if(r==null)r=tt(4);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var Vt=It;var Gt=Nt;function jt(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=tt(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 $t=It;var Yt=jt;var Kt=Xt;function Jt(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;var n=a===0?Ur([0,0,0,0,r[0]&252,r[1],r[2],r[3]],0):Xr(r,0)>>2;return t?n/100:n}function qt(e,r){if(r==null)r=tt(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 Zt(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 Qt(e,r){if(!r)r=tt(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 ea=Zt;var ra=Qt;function ta(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e._R(8,"f")}function aa(e,r){return(r||tt(8))._W(8,e,"f")}function na(e){var r={};var t=e._R(1);var a=t>>>1;var n=e._R(1);var i=e._R(2,"i");var s=e._R(1);var f=e._R(1);var c=e._R(1);e.l++;switch(a){case 0:r.auto=1;break;case 1:r.index=n;var l=Oa[n];if(l)r.rgb=cc(l);break;case 2:r.rgb=cc([s,f,c]);break;case 3:r.theme=n;break;}if(i!=0)r.tint=i>0?i/32767:i/32768;return r}function ia(e,r){if(!r)r=tt(8);if(!e||e.auto){r._W(4,0);r._W(4,0);return r}if(e.index!=null){r._W(1,2);r._W(1,e.index)}else if(e.theme!=null){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||e.theme!=null){r._W(2,0);r._W(1,0);r._W(1,0)}else{var a=e.rgb||"FFFFFF";if(typeof a=="number")a=("000000"+a.toString(16)).slice(-6);r._W(1,parseInt(a.slice(0,2),16));r._W(1,parseInt(a.slice(2,4),16));r._W(1,parseInt(a.slice(4,6),16));r._W(1,255)}return r}function sa(e){var r=e._R(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function fa(e,r){if(!r)r=tt(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 ca(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 la(e){return ca(e,1)}function oa(e){return ca(e,2)}var ua=2;var ha=3;var da=11;var va=12;var pa=19;var ma=30;var ba=64;var ga=65;var wa=71;var ka=4096;var Ta=80;var Ea=81;var Sa=[Ta,Ea];var ya={1:{n:"CodePage",t:ua},2:{n:"Category",t:Ta},3:{n:"PresentationFormat",t:Ta},4:{n:"ByteCount",t:ha},5:{n:"LineCount",t:ha},6:{n:"ParagraphCount",t:ha},7:{n:"SlideCount",t:ha},8:{n:"NoteCount",t:ha},9:{n:"HiddenCount",t:ha},10:{n:"MultimediaClipCount",t:ha},11:{n:"ScaleCrop",t:da},12:{n:"HeadingPairs",t:ka|va},13:{n:"TitlesOfParts",t:ka|ma},14:{n:"Manager",t:Ta},15:{n:"Company",t:Ta},16:{n:"LinksUpToDate",t:da},17:{n:"CharacterCount",t:ha},19:{n:"SharedDoc",t:da},22:{n:"HyperlinksChanged",t:da},23:{n:"AppVersion",t:ha,p:"version"},24:{n:"DigSig",t:ga},26:{n:"ContentType",t:Ta},27:{n:"ContentStatus",t:Ta},28:{n:"Language",t:Ta},29:{n:"Version",t:Ta},255:{},2147483648:{n:"Locale",t:pa},2147483651:{n:"Behavior",t:pa},1919054434:{}};var _a={1:{n:"CodePage",t:ua},2:{n:"Title",t:Ta},3:{n:"Subject",t:Ta},4:{n:"Author",t:Ta},5:{n:"Keywords",t:Ta},6:{n:"Comments",t:Ta},7:{n:"Template",t:Ta},8:{n:"LastAuthor",t:Ta},9:{n:"RevNumber",t:Ta},10:{n:"EditTime",t:ba},11:{n:"LastPrinted",t:ba},12:{n:"CreatedDate",t:ba},13:{n:"ModifiedDate",t:ba},14:{n:"PageCount",t:ha},15:{n:"WordCount",t:ha},16:{n:"CharCount",t:ha},17:{n:"Thumbnail",t:wa},18:{n:"Application",t:Ta},19:{n:"DocSecurity",t:ha},255:{},2147483648:{n:"Locale",t:pa},2147483651:{n:"Behavior",t:pa},1919054434:{}};var xa={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"};var Aa=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function Ca(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var Ra=Ca([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]);
var Oa=oe(Ra);var Ia={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"};var Na=q(Ia);var Fa={"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"};var Da={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 Pa(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function La(e){var r=Pa();if(!e||!e.match)return r;var t={};(e.match(Ne)||[]).forEach(function(e){var a=Pe(e);switch(a[0].replace(Fe,"<")){case"<?xml":break;case"<Types":r.xmlns=a["xmlns"+(a[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":t[a.Extension]=a.ContentType;break;case"<Override":if(r[Fa[a.ContentType]]!==undefined)r[Fa[a.ContentType]].push(a.PartName);break;}});if(r.xmlns!==pr.CT)throw new Error("Unknown Namespace: "+r.xmlns);r.calcchain=r.calcchains.length>0?r.calcchains[0]:"";r.sst=r.strs.length>0?r.strs[0]:"";r.style=r.styles.length>0?r.styles[0]:"";r.defaults=t;delete r.calcchains;return r}var Ma=or("Types",null,{xmlns:pr.CT,"xmlns:xsd":pr.xsd,"xmlns:xsi":pr.xsi});function Ua(e,r){var t=Z(Fa);var a=[],n;a[a.length]=Oe;a[a.length]=Ma;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 or("Default",null,{Extension:e[0],ContentType:e[1]})}));var i=function(t){if(e[t]&&e[t].length>0){n=e[t][0];a[a.length]=or("Override",null,{PartName:(n[0]=="/"?"":"/")+n,ContentType:Da[t][r.bookType]||Da[t]["xlsx"]})}};var s=function(t){(e[t]||[]).forEach(function(e){a[a.length]=or("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:Da[t][r.bookType]||Da[t]["xlsx"]})})};var f=function(r){(e[r]||[]).forEach(function(e){a[a.length]=or("Override",null,{PartName:(e[0]=="/"?"":"/")+e,ContentType:t[r][0]})})};i("workbooks");s("sheets");s("charts");f("themes");["strs","styles"].forEach(i);["coreprops","extprops","custprops"].forEach(f);f("vba");f("comments");f("threadedcomments");f("drawings");s("metadata");f("people");if(a.length>2){a[a.length]="</Types>";a[1]=a[1].replace("/>",">")}return 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 r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function Ha(e,r){var t={"!id":{}};if(!e)return t;if(r.charAt(0)!=="/"){r="/"+r}var a={};(e.match(Ne)||[]).forEach(function(e){var n=Pe(e);if(n[0]==="<Relationship"){var i={};i.Type=n.Type;i.Target=n.Target;i.Id=n.Id;if(n.TargetMode)i.TargetMode=n.TargetMode;var s=n.TargetMode==="External"?n.Target:Re(n.Target,r);t[s]=i;a[n.Id]=i}});t["!id"]=a;return t}var za=or("Relationships",null,{xmlns:pr.RELS});function Va(e){var r=[Oe,za];Y(e["!id"]).forEach(function(t){r[r.length]=or("Relationship",null,e["!id"][t])});if(r.length>2){r[r.length]="</Relationships>";r[1]=r[1].replace("/>",">")}return r.join("")}var Ga=[Ba.HLINK,Ba.XPATH,Ba.XMISS];function ja(e,r,t,a,n,i){if(!n)n={};if(!e["!id"])e["!id"]={};if(!e["!idx"])e["!idx"]=1;if(r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r){}e["!idx"]=r+1;n.Id="rId"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;else if(Ga.indexOf(n.Type)>-1)n.TargetMode="External";if(e["!id"][n.Id])throw new Error("Cannot rewrite rId "+r);e["!id"][n.Id]=n;e[("/"+n.Target).replace("//","/")]=n;return r}var Xa="application/vnd.oasis.opendocument.spreadsheet";function $a(e,r){var t=dr(e);var a;var n;while(a=vr.exec(t))switch(a[3]){case"manifest":break;case"file-entry":n=Pe(a[0],false);if(n.path=="/"&&n.type!==Xa)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":;case"algorithm":;case"start-key-generation":;case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(r&&r.WTF)throw a;}}function Ya(e){var r=[Oe];r.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n');r.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');for(var t=0;t<e.length;++t)r.push(' <manifest:file-entry manifest:full-path="'+e[t][0]+'" manifest:media-type="'+e[t][1]+'"/>\n');r.push("</manifest:manifest>");return r.join("")}function Ka(e,r,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(t||"odf")+"#"+r+'"/>\n'," </rdf:Description>\n"].join("")}function Ja(e,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+r+'"/>\n'," </rdf:Description>\n"].join("")}function qa(e){var r=[Oe];r.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var t=0;t!=e.length;++t){r.push(Ka(e[t][0],e[t][1]));r.push(Ja("",e[t][0]))}r.push(Ka("","Document","pkg"));r.push("</rdf:RDF>");return r.join("")}function Za(){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>Sheet'+"JS "+e.version+"</meta:generator></office:meta></office:document-meta>"}var Qa=[["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"]];var en=function(){var e=new Array(Qa.length);for(var r=0;r<Qa.length;++r){var t=Qa[r];var a="(?:"+t[0].slice(0,t[0].indexOf(":"))+":)"+t[0].slice(t[0].indexOf(":")+1);e[r]=new RegExp("<"+a+"[^>]*>([\\s\\S]*?)</"+a+">")}return e}();function rn(e){var r={};e=Je(e);for(var t=0;t<Qa.length;++t){var a=Qa[t],n=e.match(en[t]);if(n!=null&&n.length>0)r[a[1]]=Be(n[1]);if(a[2]==="date"&&r[a[1]])r[a[1]]=ce(r[a[1]])}return r}function tn(e,r,t,a,n){if(n[e]!=null||r==null||r==="")return;n[e]=r;r=ze(r);a[a.length]=t?or(e,r,t):cr(e,r)}function an(e,r){var t=r||{};var a=[Oe,or("cp:coreProperties",null,{"xmlns:cp":pr.CORE_PROPS,"xmlns:dc":pr.dc,"xmlns:dcterms":pr.dcterms,"xmlns:dcmitype":pr.dcmitype,"xmlns:xsi":pr.xsi})],n={};if(!e&&!t.Props)return a.join("");if(e){if(e.CreatedDate!=null)tn("dcterms:created",typeof e.CreatedDate==="string"?e.CreatedDate:ur(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n);if(e.ModifiedDate!=null)tn("dcterms:modified",typeof e.ModifiedDate==="string"?e.ModifiedDate:ur(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n)}for(var i=0;i!=Qa.length;++i){var s=Qa[i];var f=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(f===true)f="1";else if(f===false)f="0";else if(typeof f=="number")f=String(f);if(f!=null)tn(s[0],f,null,a,n)}if(a.length>2){a[a.length]="</cp:coreProperties>";a[1]=a[1].replace("/>",">")}return a.join("")}var nn=[["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"]];var sn=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function fn(e,r,t,a){var n=[];if(typeof e=="string")n=sr(e,a);else for(var i=0;i<e.length;++i)n=n.concat(e[i].map(function(e){return{v:e}}));var s=typeof r=="string"?sr(r,a).map(function(e){return e.v}):r;var f=0,c=0;if(s.length>0)for(var l=0;l!==n.length;l+=2){c=+n[l+1].v;switch(n[l].v){case"Worksheets":;case"工作表":;case"Листы":;case"أوراق العمل":;case"ワークシート":;case"גליונות עבודה":;case"Arbeitsblätter":;case"Çalışma Sayfaları":;case"Feuilles de calcul":;case"Fogli di lavoro":;case"Folhas de cálculo":;case"Planilhas":;case"Regneark":;case"Hojas de cálculo":;case"Werkbladen":t.Worksheets=c;t.SheetNames=s.slice(f,f+c);break;case"Named Ranges":;case"Rangos con nombre":;case"名前付き一覧":;case"Benannte Bereiche":;case"Navngivne områder":t.NamedRanges=c;t.DefinedNames=s.slice(f,f+c);break;case"Charts":;case"Diagramme":t.Chartsheets=c;t.ChartNames=s.slice(f,f+c);break;}f+=c}}function cn(e,r,t){var a={};if(!r)r={};e=Je(e);nn.forEach(function(t){var n=(e.match(rr(t[0]))||[])[1];switch(t[2]){case"string":if(n)r[t[1]]=Be(n);break;case"bool":r[t[1]]=n==="true";break;case"raw":var i=e.match(new RegExp("<"+t[0]+"[^>]*>([\\s\\S]*?)</"+t[0]+">"));if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)fn(a.HeadingPairs,a.TitlesOfParts,r,t);return r}function ln(e){var r=[],t=or;if(!e)e={};e.Application="SheetJS";r[r.length]=Oe;r[r.length]=or("Properties",null,{xmlns:pr.EXT_PROPS,"xmlns:vt":pr.vt});nn.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case"string":n=ze(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"}));r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(e){return"<vt:lpstr>"+ze(e)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"}));if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var on=/<[^>]+>[^<]*/g;function un(e,r){var t={},a="";var n=e.match(on);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=Pe(s);switch(f[0]){case"<?xml":break;case"<Properties":break;case"<property":a=Be(f.name);break;case"</property>":a=null;break;default:if(s.indexOf("<vt:")===0){var c=s.split(">");var l=c[0].slice(4),o=c[1];switch(l){case"lpstr":;case"bstr":;case"lpwstr":t[a]=Be(o);break;case"bool":t[a]=Ke(o);break;case"i1":;case"i2":;case"i4":;case"i8":;case"int":;case"uint":t[a]=parseInt(o,10);break;case"r4":;case"r8":;case"decimal":t[a]=parseFloat(o);break;case"filetime":;case"date":t[a]=ce(o);break;case"cy":;case"error":t[a]=Be(o);break;default:if(l.slice(-1)=="/")break;if(r.WTF&&typeof console!=="undefined")console.warn("Unexpected",s,l,c);}}else if(s.slice(0,2)==="</"){}else if(r.WTF)throw new Error(s);}}return t}function hn(e){var r=[Oe,or("Properties",null,{xmlns:pr.CUST_PROPS,"xmlns:vt":pr.vt})];if(!e)return r.join("");var t=1;Y(e).forEach(function a(n){++t;r[r.length]=or("property",hr(e[n],true),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:ze(n)})});if(r.length>2){r[r.length]="</Properties>";r[1]=r[1].replace("/>",">")}return r.join("")}var dn={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"};var vn;function pn(e,r,t){if(!vn)vn=J(dn);r=vn[r]||r;e[r]=t}function mn(e,r){var t=[];Y(dn).map(function(e){for(var r=0;r<Qa.length;++r)if(Qa[r][1]==e)return Qa[r];for(r=0;r<nn.length;++r)if(nn[r][1]==e)return nn[r];throw e}).forEach(function(a){if(e[a[1]]==null)return;var n=r&&r.Props&&r.Props[a[1]]!=null?r.Props[a[1]]:e[a[1]];switch(a[2]){case"date":n=new Date(n).toISOString().replace(/\.\d*Z/,"Z");break;}if(typeof n=="number")n=String(n);else if(n===true||n===false){n=n?"1":"0"}else if(n instanceof Date)n=new Date(n).toISOString().replace(/\.\d*Z/,"");t.push(cr(dn[a[1]]||a[1],n))});return or("DocumentProperties",t.join(""),{xmlns:br.o})}function bn(e,r){var t=["Worksheets","SheetNames"];var a="CustomDocumentProperties";var n=[];if(e)Y(e).forEach(function(r){if(!Object.prototype.hasOwnProperty.call(e,r))return;for(var a=0;a<Qa.length;++a)if(r==Qa[a][1])return;for(a=0;a<nn.length;++a)if(r==nn[a][1])return;for(a=0;a<t.length;++a)if(r==t[a])return;var i=e[r];var s="string";if(typeof i=="number"){s="float";i=String(i)}else if(i===true||i===false){s="boolean";i=i?"1":"0"}else i=String(i);n.push(or(Ve(r),i,{"dt:dt":s}))});if(r)Y(r).forEach(function(t){if(!Object.prototype.hasOwnProperty.call(r,t))return;if(e&&Object.prototype.hasOwnProperty.call(e,t))return;var a=r[t];var i="string";if(typeof a=="number"){i="float";a=String(a)}else if(a===true||a===false){i="boolean";a=a?"1":"0"}else if(a instanceof Date){i="dateTime.tz";a=a.toISOString()}else a=String(a);n.push(or(Ve(t),a,{"dt:dt":i}))});return"<"+a+' xmlns="'+br.o+'">'+n.join("")+"</"+a+">"}function gn(e){var r=e._R(4),t=e._R(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\.000/,"")}function wn(e){var r=typeof e=="string"?new Date(Date.parse(e)):e;var t=r.getTime()/1e3+11644473600;var a=t%Math.pow(2,32),n=(t-a)/Math.pow(2,32);a*=1e7;n*=1e7;var i=a/Math.pow(2,32)|0;if(i>0){a=a%Math.pow(2,32);n+=i}var s=tt(8);s._W(4,a);s._W(4,n);return s}function kn(e,r,t){var a=e.l;var n=e._R(0,"lpstr-cp");if(t)while(e.l-a&3)++e.l;return n}function Tn(e,r,t){var a=e._R(0,"lpwstr");if(t)e.l+=4-(a.length+1&3)&3;return a}function En(e,r,t){if(r===31)return Tn(e);return kn(e,r,t)}function Sn(e,r,t){return En(e,r,t===false?0:4)}function yn(e,r){if(!r)throw new Error("VtUnalignedString must have positive length");return En(e,r,0)}function _n(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a){var n=e.l;t[a]=e._R(0,"lpwstr").replace(N,"");if(e.l-n&2)e.l+=2}return t}function xn(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a)t[a]=e._R(0,"lpstr-cp").replace(N,"");return t}function An(e){var r=e.l;var t=Nn(e,Ea);if(e[e.l]==0&&e[e.l+1]==0&&e.l-r&2)e.l+=2;var a=Nn(e,ha);return[t,a]}function Cn(e){var r=e._R(4);var t=[];for(var a=0;a<r/2;++a)t.push(An(e));return t}function Rn(e,r){var t=e._R(4);var a={};for(var n=0;n!=t;++n){var i=e._R(4);var s=e._R(4);a[i]=e._R(s,r===1200?"utf16le":"utf8").replace(N,"").replace(F,"!");if(r===1200&&s%2)e.l+=2}if(e.l&3)e.l=e.l>>2+1<<2;return a}function On(e){var r=e._R(4);var t=e.slice(e.l,e.l+r);e.l+=r;if((r&3)>0)e.l+=4-(r&3)&3;return t}function In(e){var r={};r.Size=e._R(4);e.l+=r.Size+3-(r.Size-1)%4;return r}function Nn(e,r,t){var a=e._R(2),n,i=t||{};e.l+=2;if(r!==va)if(a!==r&&Sa.indexOf(r)===-1&&!((r&65534)==4126&&(a&65534)==4126))throw new Error("Expected type "+r+" saw "+a);switch(r===va?a:r){case 2:n=e._R(2,"i");if(!i.raw)e.l+=2;return n;case 3:n=e._R(4,"i");return n;case 11:return e._R(4)!==0;case 19:n=e._R(4);return n;case 30:return kn(e,a,4).replace(N,"");case 31:return Tn(e);case 64:return gn(e);case 65:return On(e);case 71:return In(e);case 80:return Sn(e,a,!i.raw).replace(N,"");case 81:return yn(e,a).replace(N,"");case 4108:return Cn(e);case 4126:;case 4127:return a==4127?_n(e):xn(e);default:throw new Error("TypedPropertyValue unrecognized type "+r+" "+a);}}function Fn(e,r){var t=tt(4),a=tt(4);t._W(4,e==80?31:e);switch(e){case 3:a._W(-4,r);break;case 5:a=tt(8);a._W(8,r,"f");break;case 11:a._W(4,r?1:0);break;case 64:a=wn(r);break;case 31:;case 80:a=tt(4+2*(r.length+1)+(r.length%2?0:2));a._W(4,r.length+1);a._W(0,r,"dbcs");while(a.l!=a.length)a._W(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r);}return I([t,a])}function Dn(e,r){var t=e.l;var a=e._R(4);var n=e._R(4);var i=[],s=0;var f=0;var l=-1,o={};for(s=0;s!=n;++s){var u=e._R(4);var h=e._R(4);i[s]=[u,h+t]}i.sort(function(e,r){return e[1]-r[1]});var d={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var v=true;if(s>0&&r)switch(r[i[s-1][0]].t){case 2:if(e.l+2===i[s][1]){e.l+=2;v=false}break;case 80:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;case 4108:if(e.l<=i[s][1]){e.l=i[s][1];v=false}break;}if((!r||s==0)&&e.l<=i[s][1]){v=false;e.l=i[s][1]}if(v)throw new Error("Read Error: Expected address "+i[s][1]+" at "+e.l+" :"+s)}if(r){var p=r[i[s][0]];d[p.n]=Nn(e,p.t,{raw:true});if(p.p==="version")d[p.n]=String(d[p.n]>>16)+"."+("0000"+String(d[p.n]&65535)).slice(-4);if(p.n=="CodePage")switch(d[p.n]){case 0:d[p.n]=1252;case 874:;case 932:;case 936:;case 949:;case 950:;case 1250:;case 1251:;case 1253:;case 1254:;case 1255:;case 1256:;case 1257:;case 1258:;case 1e4:;case 1200:;case 1201:;case 1252:;case 65e3:;case-536:;case 65001:;case-535:c(f=d[p.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[p.n]);}}else{if(i[s][0]===1){f=d.CodePage=Nn(e,ua);c(f);if(l!==-1){var m=e.l;e.l=i[l][1];o=Rn(e,f);e.l=m}}else if(i[s][0]===0){if(f===0){l=s;e.l=i[s+1][1];continue}o=Rn(e,f)}else{var b=o[i[s][0]];var g;switch(e[e.l]){case 65:e.l+=4;g=On(e);break;case 30:e.l+=4;g=Sn(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4;g=Sn(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4;g=e._R(4,"i");break;case 19:e.l+=4;g=e._R(4);break;case 5:e.l+=4;g=e._R(8,"f");break;case 11:e.l+=4;g=Vn(e,4);break;case 64:e.l+=4;g=ce(gn(e));break;default:throw new Error("unparsed value: "+e[e.l]);}d[b]=g}}}e.l=t+a;return d}var Pn=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Ln(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break;}return-1}function Mn(e,r,t){var a=tt(8),n=[],i=[];var s=8,f=0;var c=tt(8),l=tt(8);c._W(4,2);c._W(4,1200);l._W(4,1);i.push(c);n.push(l);s+=8+c.length;if(!r){l=tt(8);l._W(4,0);n.unshift(l);var o=[tt(4)];o[0]._W(4,e.length);for(f=0;f<e.length;++f){var u=e[f][0];c=tt(4+4+2*(u.length+1)+(u.length%2?0:2));c._W(4,f+2);c._W(4,u.length+1);c._W(0,u,"dbcs");while(c.l!=c.length)c._W(1,0);o.push(c)}c=I(o);i.unshift(c);s+=8+c.length}for(f=0;f<e.length;++f){if(r&&!r[e[f][0]])continue;if(Pn.indexOf(e[f][0])>-1||sn.indexOf(e[f][0])>-1)continue;if(e[f][1]==null)continue;var h=e[f][1],d=0;if(r){d=+r[e[f][0]];var v=t[d];if(v.p=="version"&&typeof h=="string"){var p=h.split(".");h=(+p[0]<<16)+(+p[1]||0)}c=Fn(v.t,h)}else{var m=Ln(h);if(m==-1){m=31;h=String(h)}c=Fn(m,h)}i.push(c);l=tt(8);l._W(4,!r?2+f:d);n.push(l);s+=8+c.length}var b=8*(i.length+1);for(f=0;f<i.length;++f){n[f]._W(4,b);b+=i[f].length}a._W(4,s);a._W(4,i.length);return I([a].concat(n).concat(i))}function Un(e,r,t){var a=e.content;if(!a)return{};et(a,0);var n,i,s,f,c=0;a.chk("feff","Byte Order: ");a._R(2);var l=a._R(4);var o=a._R(16);if(o!==z.utils.consts.HEADER_CLSID&&o!==t)throw new Error("Bad PropertySet CLSID "+o);n=a._R(4);if(n!==1&&n!==2)throw new Error("Unrecognized #Sets: "+n);i=a._R(16);f=a._R(4);if(n===1&&f!==a.l)throw new Error("Length mismatch: "+f+" !== "+a.l);else if(n===2){s=a._R(16);c=a._R(4)}var u=Dn(a,r);var h={SystemIdentifier:l};for(var d in u)h[d]=u[d];h.FMTID=i;if(n===1)return h;if(c-a.l==2)a.l+=2;if(a.l!==c)throw new Error("Length mismatch 2: "+a.l+" !== "+c);var v;try{v=Dn(a,null)}catch(p){}for(d in v)h[d]=v[d];h.FMTID=[i,s];return h}function Bn(e,r,t,a,n,i){var s=tt(n?68:48);var f=[s];s._W(2,65534);s._W(2,0);s._W(4,842412599);s._W(16,z.utils.consts.HEADER_CLSID,"hex");s._W(4,n?2:1);s._W(16,r,"hex");s._W(4,n?68:48);var c=Mn(e,t,a);f.push(c);if(n){var l=Mn(n,null,null);s._W(16,i,"hex");s._W(4,68+c.length);f.push(l)}return I(f)}function Wn(e,r){e._R(r);return null}function Hn(e,r){if(!r)r=tt(e);for(var t=0;t<e;++t)r._W(1,0);return r}function zn(e,r,t){var a=[],n=e.l+r;while(e.l<n)a.push(t(e,n-e.l));if(n!==e.l)throw new Error("Slurp error");return a}function Vn(e,r){return e._R(r)===1}function Gn(e,r){if(!r)r=tt(2);r._W(2,+!!e);return r}function jn(e){return e._R(2,"u")}function Xn(e,r){if(!r)r=tt(2);r._W(2,e);return r}function $n(e,r){return zn(e,r,jn)}function Yn(e){var r=e._R(1),t=e._R(1);return t===1?r:r===1}function Kn(e,r,t){if(!t)t=tt(2);t._W(1,r=="e"?+e:+!!e);t._W(1,r=="e"?1:0);return t}function Jn(e,t,a){var n=e._R(a&&a.biff>=12?2:1);var i="sbcs-cont";var s=r;if(a&&a.biff>=8)r=1200;if(!a||a.biff==8){var f=e._R(1);if(f){i="dbcs-cont"}}else if(a.biff==12){i="wstr"}if(a.biff>=2&&a.biff<=5)i="cpstr";var c=n?e._R(n,i):"";r=s;return c}function qn(e){var t=r;r=1200;var a=e._R(2),n=e._R(1);var i=n&4,s=n&8;var f=1+(n&1);var c=0,l;var o={};if(s)c=e._R(2);if(i)l=e._R(4);var u=f==2?"dbcs-cont":"sbcs-cont";var h=a===0?"":e._R(a,u);if(s)e.l+=4*c;if(i)e.l+=l;o.t=h;if(!s){o.raw="<t>"+o.t+"</t>";o.r=o.t}r=t;return o}function Zn(e){var r=e.t||"",t=1;var a=tt(3+(t>1?2:0));a._W(2,r.length);a._W(1,(t>1?8:0)|1);if(t>1)a._W(2,t);var n=tt(2*r.length);n._W(2*r.length,r,"utf16le");var i=[a,n];return I(i)}function Qn(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e._R(r,"cpstr");if(t.biff>=12)return e._R(r,"dbcs-cont")}var n=e._R(1);if(n===0){a=e._R(r,"sbcs-cont")}else{a=e._R(r,"dbcs-cont")}return a}function ei(e,r,t){var a=e._R(t&&t.biff==2?1:2);if(a===0){e.l++;return""}return Qn(e,a,t)}function ri(e,r,t){if(t.biff>5)return ei(e,r,t);var a=e._R(1);if(a===0){e.l++;return""}return e._R(a,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function ti(e,r,t){if(!t)t=tt(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,"utf16le");return t}function ai(e){var r=e._R(1);e.l++;var t=e._R(2);e.l+=2;return[r,t]}function ni(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(N,"");if(a)e.l+=24;return n}function ii(e){var r=e._R(2);var t="";while(r-- >0)t+="../";var a=e._R(0,"lpstr-ansi");e.l+=2;if(e._R(2)!=57005)throw new Error("Bad FileMoniker");var n=e._R(4);if(n===0)return t+a.replace(/\\/g,"/");var i=e._R(4);if(e._R(2)!=3)throw new Error("Bad FileMoniker");var s=e._R(i>>1,"utf16le").replace(N,"");return t+s}function si(e,r){var t=e._R(16);r-=16;switch(t){case"e0c9ea79f9bace118c8200aa004ba90b":return ni(e,r);case"0303000000000000c000000000000046":return ii(e,r);default:throw new Error("Unsupported Moniker "+t);}}function fi(e){var r=e._R(4);var t=r>0?e._R(r,"utf16le").replace(N,""):"";return t}function ci(e,r){if(!r)r=tt(6+e.length*2);r._W(4,1+e.length);for(var t=0;t<e.length;++t)r._W(2,e.charCodeAt(t));r._W(2,0);return r}function li(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,f,c,l="",o,u;if(n&16)i=fi(e,t-e.l);if(n&128)s=fi(e,t-e.l);if((n&257)===257)f=fi(e,t-e.l);if((n&257)===1)c=si(e,t-e.l);if(n&8)l=fi(e,t-e.l);if(n&32)o=e._R(16);if(n&64)u=gn(e);e.l=t;var h=s||f||c||"";if(h&&l)h+="#"+l;if(!h)h="#"+l;if(n&2&&h.charAt(0)=="/"&&h.charAt(1)!="/")h="file://"+h;var d={Target:h};if(o)d.guid=o;if(u)d.time=u;if(i)d.Tooltip=i;return d}function oi(e){var r=tt(512),t=0;var a=e.Target;if(a.slice(0,7)=="file://")a=a.slice(7);var n=a.indexOf("#");var i=n>-1?31:23;switch(a.charAt(0)){case"#":i=28;break;case".":i&=~2;break;}r._W(4,2);r._W(4,i);var s=[8,6815827,6619237,4849780,83];for(t=0;t<s.length;++t)r._W(4,s[t]);if(i==28){a=a.slice(1);ci(a,r)}else if(i&2){s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(t=0;t<s.length;++t)r._W(1,parseInt(s[t],16));var f=n>-1?a.slice(0,n):a;r._W(4,2*(f.length+1));for(t=0;t<f.length;++t)r._W(2,f.charCodeAt(t));r._W(2,0);if(i&8)ci(n>-1?a.slice(n+1):"",r)}else{s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" ");for(t=0;t<s.length;++t)r._W(1,parseInt(s[t],16));var c=0;while(a.slice(c*3,c*3+3)=="../"||a.slice(c*3,c*3+3)=="..\\")++c;r._W(2,c);r._W(4,a.length-3*c+1);for(t=0;t<a.length-3*c;++t)r._W(1,a.charCodeAt(t+3*c)&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 ui(e){var r=e._R(1),t=e._R(1),a=e._R(1),n=e._R(1);return[r,t,a,n]}function hi(e,r){var t=ui(e,r);t[3]=0;return t}function di(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);return{r:r,c:t,ixfe:a}}function vi(e,r,t,a){if(!a)a=tt(6);a._W(2,e);a._W(2,r);a._W(2,t||0);return a}function pi(e){var r=e._R(2);var t=e._R(2);e.l+=8;return{type:r,flags:t}}function mi(e,r,t){return r===0?"":ri(e,r,t)}function bi(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 gi(e){var r=e._R(2);var t=Jt(e);return[r,t]}function wi(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=Jn(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 ki(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);var n=e._R(2);return{s:{c:a,r:r},e:{c:n,r:t}}}function Ti(e,r){if(!r)r=tt(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){var r=e._R(2);var t=e._R(2);var a=e._R(1);var n=e._R(1);return{s:{c:a,r:r},e:{c:n,r:t}}}var Si=Ei;function yi(e){e.l+=4;var r=e._R(2);var t=e._R(2);var a=e._R(2);e.l+=12;return[t,r,a]}function _i(e){var r={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;return r}function xi(e){var r={};e.l+=4;e.cf=e._R(2);return r}function Ai(e){e.l+=2;e.l+=e._R(2)}var Ci={0:Ai,4:Ai,5:Ai,6:Ai,7:xi,8:Ai,9:Ai,10:Ai,11:Ai,12:Ai,13:_i,14:Ai,15:Ai,16:Ai,17:Ai,18:Ai,19:Ai,20:Ai,21:yi};function Ri(e,r){var t=e.l+r;var a=[];while(e.l<t){var n=e._R(2);e.l-=2;try{a.push(Ci[n](e,t-e.l))}catch(i){e.l=t;return a}}if(e.l!=t)e.l=t;return a}function Oi(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 1024:;case 768:;case 512:;case 2:;case 7:break;default:if(r>6)throw new Error("Unexpected BIFF Ver "+t.BIFFVer);}e._R(r);return t}function Ii(e,r,t){var a=1536,n=16;switch(t.bookType){case"biff8":break;case"biff5":a=1280;n=8;break;case"biff4":a=4;n=6;break;case"biff3":a=3;n=6;break;case"biff2":a=2;n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version");}var i=tt(n);i._W(2,a);i._W(2,r);if(n>4)i._W(2,29282);if(n>6)i._W(2,1997);if(n>8){i._W(2,49161);i._W(2,1);i._W(2,1798);i._W(2,0)}return i}function Ni(e,r){if(r===0)return 1200;if(e._R(2)!==1200){}return 1200}function Fi(e,r,t){if(t.enc){e.l+=r;return""}var a=e.l;var n=ri(e,0,t);e._R(r+a-e.l);return n}function Di(e,r){var t=!r||r.biff==8;var a=tt(t?112:54);a._W(r.biff==8?2:1,7);if(t)a._W(1,0);a._W(4,859007059);a._W(4,5458548|(t?0:536870912));while(a.l<a.length)a._W(1,t?0:32);return a}function Pi(e,r,t){var a=t&&t.biff==8||r==2?e._R(2):(e.l+=r,0);return{fDialog:a&16,fBelow:a&64,fRight:a&128}}function Li(e,r,t){var a=e._R(4);var n=e._R(1)&3;var i=e._R(1);switch(i){case 0:i="Worksheet";break;case 1:i="Macrosheet";break;case 2:i="Chartsheet";break;case 6:i="VBAModule";break;}var s=Jn(e,0,t);if(s.length===0)s="Sheet1";return{pos:a,hs:n,dt:i,name:s}}function Mi(e,r){var t=!r||r.biff>=8?2:1;var a=tt(8+t*e.name.length);a._W(4,e.pos);a._W(1,e.hs||0);a._W(1,e.dt);a._W(1,e.name.length);if(r.biff>=8)a._W(1,1);a._W(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);n.l=a.l;return n}function Ui(e,r){var t=e.l+r;var a=e._R(4);var n=e._R(4);var i=[];for(var s=0;s!=n&&e.l<t;++s){i.push(qn(e))}i.Count=a;i.Unique=n;return i}function Bi(e,r){var t=tt(8);t._W(4,e.Count);t._W(4,e.Unique);var a=[];for(var n=0;n<e.length;++n)a[n]=Zn(e[n],r);var i=I([t].concat(a));i.parts=[t.length].concat(a.map(function(e){return e.length}));return i}function Wi(e,r){var t={};t.dsst=e._R(2);e.l+=r-2;return t}function Hi(e){var r={};r.r=e._R(2);r.c=e._R(2);r.cnt=e._R(2)-r.c;var t=e._R(2);e.l+=4;var a=e._R(1);e.l+=3;if(a&7)r.level=a&7;if(a&32)r.hidden=true;if(a&64)r.hpt=t/20;return r}function zi(e){var r=pi(e);if(r.type!=2211)throw new Error("Invalid Future Record "+r.type);var t=e._R(4);return t!==0}function Vi(e){e._R(2);return e._R(4)}function Gi(e,r,t){var a=0;if(!(t&&t.biff==2)){a=e._R(2)}var n=e._R(2);if(t&&t.biff==2){a=1-(n>>15);n&=32767}var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function ji(e){var r=e._R(2),t=e._R(2),a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2),f=e._R(2);var c=e._R(2),l=e._R(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:c,TabRatio:l}}function Xi(){var e=tt(18);e._W(2,0);e._W(2,0);e._W(2,29280);e._W(2,17600);e._W(2,56);e._W(2,0);e._W(2,0);e._W(2,1);e._W(2,500);return e}function $i(e,r,t){if(t&&t.biff>=2&&t.biff<5)return{};var a=e._R(2);return{RTL:a&64}}function Yi(e){var r=tt(18),t=1718;if(e&&e.RTL)t|=64;r._W(2,t);r._W(4,0);r._W(4,64);r._W(4,0);r._W(4,0);return r}function Ki(){}function Ji(e,r,t){var a={dyHeight:e._R(2),fl:e._R(2)};switch(t&&t.biff||8){case 2:break;case 3:;case 4:e.l+=2;break;default:e.l+=10;break;}a.name=Jn(e,0,t);return a}function qi(e,r){var t=e.name||"Arial";var a=r&&r.biff==5,n=a?15+t.length:16+2*t.length;var i=tt(n);i._W(2,(e.sz||12)*20);i._W(4,0);i._W(2,400);i._W(4,0);i._W(2,0);i._W(1,t.length);if(!a)i._W(1,1);i._W((a?1:2)*t.length,t,a?"sbcs":"utf16le");return i}function Zi(e){var r=di(e);r.isst=e._R(4);return r}function Qi(e,r,t,a){var n=tt(10);vi(e,r,a,n);n._W(4,t);return n}function es(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=e.l+r;var n=di(e,6);if(t.biff==2)e.l++;var i=ei(e,a-e.l,t);n.val=i;return n}function rs(e,r,t,a,n){var i=!n||n.biff==8;var s=tt(6+2+ +i+(1+i)*t.length);vi(e,r,a,s);s._W(2,t.length);if(i)s._W(1,1);s._W((1+i)*t.length,t,i?"utf16le":"sbcs");return s}function ts(e,r,t){var a=e._R(2);var n=ri(e,0,t);return[a,n]}function as(e,r,t,a){var n=t&&t.biff==5;if(!a)a=tt(n?3+r.length:5+2*r.length);a._W(2,e);a._W(n?1:2,r.length);if(!n)a._W(1,1);a._W((n?1:2)*r.length,r,n?"sbcs":"utf16le");var i=a.length>a.l?a.slice(0,a.l):a;if(i.l==null)i.l=i.length;return i}var ns=ri;function is(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e._R(n),s=e._R(n);var f=e._R(2),c=e._R(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:c}}}function ss(e,r){var t=r.biff==8||!r.biff?4:2;var a=tt(2*t+6);a._W(t,e.s.r);a._W(t,e.e.r+1);a._W(2,e.s.c);a._W(2,e.e.c+1);a._W(2,0);return a}function fs(e){var r=e._R(2),t=e._R(2);var a=gi(e);return{r:r,c:t,ixfe:a[0],rknum:a[1]}}function cs(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(gi(e));if(e.l!==t)throw new Error("MulRK read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulRK length mismatch");return{r:a,c:n,C:s,rkrec:i}}function ls(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(e._R(2));if(e.l!==t)throw new Error("MulBlank read error");var s=e._R(2);if(i.length!=s-n+1)throw new Error("MulBlank length mismatch");return{r:a,c:n,C:s,ixfe:i}}function os(e,r,t,a){var n={};var i=e._R(4),s=e._R(4);var f=e._R(4),c=e._R(2);n.patternType=Aa[f>>26];if(!a.cellStyles)return n;n.alc=i&7;n.fWrap=i>>3&1;n.alcV=i>>4&7;n.fJustLast=i>>7&1;n.trot=i>>8&255;n.cIndent=i>>16&15;n.fShrinkToFit=i>>20&1;n.iReadOrder=i>>22&2;n.fAtrNum=i>>26&1;n.fAtrFnt=i>>27&1;n.fAtrAlc=i>>28&1;n.fAtrBdr=i>>29&1;n.fAtrPat=i>>30&1;n.fAtrProt=i>>31&1;n.dgLeft=s&15;n.dgRight=s>>4&15;n.dgTop=s>>8&15;n.dgBottom=s>>12&15;n.icvLeft=s>>16&127;n.icvRight=s>>23&127;n.grbitDiag=s>>30&3;n.icvTop=f&127;n.icvBottom=f>>7&127;n.icvDiag=f>>14&127;n.dgDiag=f>>21&15;n.icvFore=c&127;n.icvBack=c>>7&127;n.fsxButton=c>>14&1;return n}function us(e,r,t){var a={};a.ifnt=e._R(2);a.numFmtId=e._R(2);a.flags=e._R(2);a.fStyle=a.flags>>2&1;r-=6;a.data=os(e,r,a.fStyle,t);return a}function hs(e,r,t,a){var n=t&&t.biff==5;if(!a)a=tt(n?16:20);a._W(2,0);if(e.style){a._W(2,e.numFmtId||0);a._W(2,65524)}else{a._W(2,e.numFmtId||0);a._W(2,r<<4)}var i=0;if(e.numFmtId>0&&n)i|=1024;a._W(4,i);a._W(4,0);if(!n)a._W(4,0);a._W(2,0);return a}function ds(e){e.l+=4;var r=[e._R(2),e._R(2)];if(r[0]!==0)r[0]--;if(r[1]!==0)r[1]--;if(r[0]>7||r[1]>7)throw new Error("Bad Gutters: "+r.join("|"));return r}function vs(e){var r=tt(8);r._W(4,0);r._W(2,e[0]?e[0]+1:0);r._W(2,e[1]?e[1]+1:0);return r}function ps(e,r,t){var a=di(e,6);if(t.biff==2||r==9)++e.l;var n=Yn(e,2);a.val=n;a.t=n===true||n===false?"b":"e";return a}function ms(e,r,t,a,n,i){var s=tt(8);vi(e,r,a,s);Kn(t,i,s);return s}function bs(e,r,t){if(t.biffguess&&t.biff==2)t.biff=5;var a=di(e,6);var n=ta(e,8);a.val=n;return a}function gs(e,r,t,a){var n=tt(14);vi(e,r,a,n);aa(t,n);return n}var ws=mi;function ks(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(2);t.sbcch=i;if(i==1025||i==14849)return[i,n];if(i<1||i>255)throw new Error("Unexpected SupBook type: "+i);var s=Qn(e,i);var f=[];while(a>e.l)f.push(ei(e));return[i,n,s,f]}function Ts(e,r,t){var a=e._R(2);var n;var i={fBuiltIn:a&1,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};if(t.sbcch===14849)n=wi(e,r-2,t);i.body=n||e._R(r-2);if(typeof n==="string")i.Name=n;return i}var Es=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Ss(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(1);var s=e._R(1);var f=e._R(t&&t.biff==2?1:2);var c=0;if(!t||t.biff>=5){if(t.biff!=5)e.l+=2;c=e._R(2);if(t.biff==5)e.l+=2;e.l+=4}var l=Qn(e,s,t);if(n&32)l=Es[l.charCodeAt(0)];var o=a-e.l;if(t&&t.biff==2)--o;var u=a==e.l||f===0||!(o>0)?[]:th(e,o,t,f);return{chKey:i,Name:l,itab:c,rgce:u}}function ys(e,r,t){if(t.biff<8)return _s(e,r,t);var a=[],n=e.l+r,i=e._R(t.biff>8?4:2);while(i--!==0)a.push(bi(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function _s(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=Jn(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function xs(e,r,t){if(t.biff<8){e.l+=r;return}var a=e._R(2);var n=e._R(2);var i=Qn(e,a,t);var s=Qn(e,n,t);return[i,s]}function As(e,r,t){var a=Ei(e,6);e.l++;var n=e._R(1);r-=8;return[ah(e,r,t),n,a]}function Cs(e,r,t){var a=Si(e,6);switch(t.biff){case 2:e.l++;r-=7;break;case 3:;case 4:e.l+=2;r-=8;break;default:e.l+=6;r-=12;}return[a,eh(e,r,t,a)]}function Rs(e){var r=e._R(4)!==0;var t=e._R(4)!==0;var a=e._R(4);return[r,t,a]}function Os(e,r,t){if(t.biff<8)return;var a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2);var f=ri(e,0,t);if(t.biff<8)e._R(1);return[{r:a,c:n},f,s,i]}function Is(e,r,t){return Os(e,r,t)}function Ns(e,r){var t=[];var a=e._R(2);while(a--)t.push(ki(e,r));return t}function Fs(e){var r=tt(2+e.length*8);r._W(2,e.length);for(var t=0;t<e.length;++t)Ti(e[t],r);return r}function Ds(e,r,t){if(t&&t.biff<8)return Ls(e,r,t);var a=yi(e,22);var n=Ri(e,r-22,a[1]);return{cmo:a,ft:n}}var Ps={8:function(e,r){var t=e.l+r;e.l+=10;var a=e._R(2);e.l+=4;e.l+=2;e.l+=2;e.l+=2;e.l+=4;var n=e._R(1);e.l+=n;e.l=t;return{fmt:a}}};function Ls(e,r,t){e.l+=4;var a=e._R(2);var n=e._R(2);var i=e._R(2);e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=6;r-=36;var s=[];s.push((Ps[a]||rt)(e,r,t));return{cmo:[n,a,i],ft:s}}function Ms(e,r,t){var a=e.l;var n="";try{e.l+=4;var i=(t.lastobj||{cmo:[0,0]}).cmo[1];var s;if([0,5,7,11,12,14].indexOf(i)==-1)e.l+=6;else s=ai(e,6,t);var f=e._R(2);e._R(2);jn(e,2);var c=e._R(2);e.l+=c;for(var l=1;l<e.lens.length-1;++l){if(e.l-a!=e.lens[l])throw new Error("TxO: bad continue record");var o=e[e.l];var u=Qn(e,e.lens[l+1]-e.lens[l]-1);n+=u;if(n.length>=(o?f:2*f))break}if(n.length!==f&&n.length!==f*2){throw new Error("cchText: "+f+" != "+n.length)}e.l=a+r;return{t:n}}catch(h){e.l=a+r;return{t:n}}}function Us(e,r){var t=ki(e,8);e.l+=16;var a=li(e,r-24);return[t,a]}function Bs(e){var r=tt(24);var t=wt(e[0]);r._W(2,t.r);r._W(2,t.r);r._W(2,t.c);r._W(2,t.c);var a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" ");for(var n=0;n<16;++n)r._W(1,parseInt(a[n],16));return I([r,oi(e[1])])}function Ws(e,r){e._R(2);var t=ki(e,8);var a=e._R((r-10)/2,"dbcs-cont");a=a.replace(N,"");return[t,a]}function Hs(e){var r=e[1].Tooltip;var t=tt(10+2*(r.length+1));t._W(2,2048);var a=wt(e[0]);t._W(2,a.r);t._W(2,a.r);t._W(2,a.c);t._W(2,a.c);for(var n=0;n<r.length;++n)t._W(2,r.charCodeAt(n));t._W(2,0);return t}function zs(e){var r=[0,0],t;t=e._R(2);r[0]=xa[t]||t;t=e._R(2);r[1]=xa[t]||t;return r}function Vs(e){if(!e)e=tt(4);e._W(2,1);e._W(2,1);return e}function Gs(e){var r=e._R(2);var t=[];while(r-- >0)t.push(hi(e,8));return t}function js(e){var r=e._R(2);var t=[];while(r-- >0)t.push(hi(e,8));return t}function Xs(e){e.l+=2;var r={cxfs:0,crc:0};r.cxfs=e._R(2);r.crc=e._R(4);return r}function $s(e,r,t){if(!t.cellStyles)return rt(e,r);var a=t&&t.biff>=12?4:2;var n=e._R(a);var i=e._R(a);var s=e._R(a);var f=e._R(a);var c=e._R(2);if(a==2)e.l+=2;var l={s:n,e:i,w:s,ixfe:f,flags:c};if(t.biff>=5||!t.biff)l.level=c>>8&7;return l}function Ys(e,r){var t=tt(12);t._W(2,r);t._W(2,r);t._W(2,e.width*256);t._W(2,0);var a=0;if(e.hidden)a|=1;t._W(1,a);a=e.level||0;t._W(1,a);t._W(2,0);return t}function Ks(e,r){var t={};if(r<32)return t;e.l+=16;t.header=ta(e,8);t.footer=ta(e,8);e.l+=2;return t}function Js(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e._R(1);e.l+=3;if(n&16)a.area=true;return a}function qs(e){var r=tt(2*e);for(var t=0;t<e;++t)r._W(2,t+1);return r}var Zs=di;var Qs=$n;var ef=ei;function rf(e){var r=e._R(2);var t=e._R(2);var a=e._R(4);var n={fmt:r,env:t,len:a,data:e.slice(e.l,e.l+a)};e.l+=a;return n}function tf(e,r,t){if(t.biffguess&&t.biff==5)t.biff=2;var a=di(e,6);++e.l;var n=ri(e,r-7,t);a.t="str";a.val=n;return a}function af(e){var r=di(e,6);++e.l;var t=ta(e,8);r.t="n";r.val=t;return r}function nf(e,r,t){var a=tt(15);um(a,e,r);a._W(8,t,"f");return a}function sf(e){var r=di(e,6);++e.l;var t=e._R(2);r.t="n";r.val=t;return r}function ff(e,r,t){var a=tt(9);um(a,e,r);a._W(2,t);return a}function cf(e){var r=e._R(1);if(r===0){e.l++;return""}return e._R(r,"sbcs-cont")}function lf(e,r){e.l+=6;e.l+=2;e.l+=1;e.l+=3;e.l+=1;e.l+=r-13}function of(e,r,t){var a=e.l+r;var n=di(e,6);var i=e._R(2);var s=Qn(e,i,t);e.l=a;n.t="str";n.val=s;return n}var uf=[2,3,48,49,131,139,140,245];var hf=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,108:863,134:737,135:852,136:857,204:1257,255:16969};var r=J({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function n(r,t){var n=[];var i=S(1);switch(t.type){case"base64":i=_(g.decode(r));break;case"binary":i=_(r);break;case"buffer":;case"array":i=r;break;}et(i,0);var s=i._R(1);var f=!!(s&136);var c=false,l=false;switch(s){case 2:break;case 3:break;case 48:c=true;f=true;break;case 49:c=true;f=true;break;case 131:break;case 139:break;case 140:l=true;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+s.toString(16));}var o=0,u=521;if(s==2)o=i._R(2);i.l+=3;if(s!=2)o=i._R(4);if(o>1048576)o=1e6;if(s!=2)u=i._R(2);var h=i._R(2);var d=t.codepage||1252;if(s!=2){i.l+=16;i._R(1);if(i[i.l]!==0)d=e[i[i.l]];i.l+=1;i.l+=2}if(l)i.l+=36;var v=[],p={};var m=Math.min(i.length,s==2?521:u-10-(c?264:0));var b=l?32:11;while(i.l<m&&i[i.l]!=13){p={};p.name=a.utils.decode(d,i.slice(i.l,i.l+b)).replace(/[\u0000\r\n].*$/g,"");i.l+=b;p.type=String.fromCharCode(i._R(1));if(s!=2&&!l)p.offset=i._R(4);p.len=i._R(1);if(s==2)p.offset=i._R(2);p.dec=i._R(1);if(p.name.length)v.push(p);if(s!=2)i.l+=l?13:14;switch(p.type){case"B":if((!c||p.len!=8)&&t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"G":;case"P":if(t.WTF)console.log("Skipping "+p.name+":"+p.type);break;case"+":;case"0":;case"@":;case"C":;case"D":;case"F":;case"I":;case"L":;case"M":;case"N":;case"O":;case"T":;case"Y":break;default:throw new Error("Unknown Field Type: "+p.type);}}if(i[i.l]!==13)i.l=u-1;if(i._R(1)!==13)throw new Error("DBF Terminator not found "+i.l+" "+i[i.l]);i.l=u;var w=0,k=0;n[0]=[];for(k=0;k!=v.length;++k)n[0][k]=v[k].name;while(o-- >0){if(i[i.l]===42){i.l+=h;continue}++i.l;n[++w]=[];k=0;for(k=0;k!=v.length;++k){var T=i.slice(i.l,i.l+v[k].len);i.l+=v[k].len;et(T,0);var E=a.utils.decode(d,T);switch(v[k].type){case"C":if(E.trim().length)n[w][k]=E.replace(/\s+$/,"");break;case"D":if(E.length===8)n[w][k]=new Date(+E.slice(0,4),+E.slice(4,6)-1,+E.slice(6,8));else n[w][k]=E;break;case"F":n[w][k]=parseFloat(E.trim());break;case"+":;case"I":n[w][k]=l?T._R(-4,"i")^2147483648:T._R(4,"i");break;case"L":switch(E.trim().toUpperCase()){case"Y":;case"T":n[w][k]=true;break;case"N":;case"F":n[w][k]=false;break;case"":;case"?":break;default:throw new Error("DBF Unrecognized L:|"+E+"|");}break;case"M":if(!f)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));n[w][k]="##MEMO##"+(l?parseInt(E.trim(),10):T._R(4));break;case"N":E=E.replace(/\u0000/g,"").trim();if(E&&E!=".")n[w][k]=+E||0;break;case"@":n[w][k]=new Date(T._R(-8,"f")-621356832e5);break;case"T":n[w][k]=new Date((T._R(4)-2440588)*864e5+T._R(4));break;case"Y":n[w][k]=T._R(4,"i")/1e4+T._R(4,"i")/1e4*Math.pow(2,32);break;case"O":n[w][k]=-T._R(-8,"f");break;case"B":if(c&&v[k].len==8){n[w][k]=T._R(8,"f");break};case"G":;case"P":T.l+=v[k].len;break;case"0":if(v[k].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+v[k].type);}}}if(s!=2)if(i.l<i.length&&i[i.l++]!=26)throw new Error("DBF EOF Marker missing "+(i.l-1)+" of "+i.length+" "+i[i.l-1].toString(16));if(t&&t.sheetRows)n=n.slice(0,t.sheetRows);t.DBF=v;return n}function i(e,r){var t=r||{};if(!t.dateNF)t.dateNF="yyyymmdd";var a=Ct(n(e,t),t);a["!cols"]=t.DBF.map(function(e){return{wch:e.len,DBF:e}});delete t.DBF;return a}function s(e,r){try{return xt(i(e,r),r)}catch(t){if(r&&r.WTF)throw t}return{SheetNames:[],Sheets:{}}}var f={B:8,C:250,L:1,D:8,"?":0,"":0};function l(e,a){var n=a||{};if(+n.codepage>=0)c(+n.codepage);if(n.type=="string")throw new Error("Cannot write DBF to JS string");var i=nt();var s=Kb(e,{header:1,raw:true,cellDates:true});var l=s[0],o=s.slice(1),u=e["!cols"]||[];var h=0,d=0,v=0,p=1;for(h=0;h<l.length;++h){if(((u[h]||{}).DBF||{}).name){l[h]=u[h].DBF.name;++v;continue}if(l[h]==null)continue;++v;if(typeof l[h]==="number")l[h]=l[h].toString(10);if(typeof l[h]!=="string")throw new Error("DBF Invalid column name "+l[h]+" |"+typeof l[h]+"|");if(l.indexOf(l[h])!==h)for(d=0;d<1024;++d)if(l.indexOf(l[h]+"_"+d)==-1){l[h]+="_"+d;break}}var m=St(e["!ref"]);var b=[];var g=[];var w=[];for(h=0;h<=m.e.c-m.s.c;++h){var k="",T="",E=0;var S=[];for(d=0;d<o.length;++d){if(o[d][h]!=null)S.push(o[d][h])}if(S.length==0||l[h]==null){b[h]="?";continue}for(d=0;d<S.length;++d){switch(typeof S[d]){case"number":T="B";break;case"string":T="C";break;case"boolean":T="L";break;case"object":T=S[d]instanceof Date?"D":"C";break;default:T="C";}E=Math.max(E,String(S[d]).length);k=k&&k!=T?"C":T}if(E>250)E=250;T=((u[h]||{}).DBF||{}).type;if(T=="C"){if(u[h].DBF.len>E)E=u[h].DBF.len}if(k=="B"&&T=="N"){k="N";w[h]=u[h].DBF.dec;E=u[h].DBF.len}g[h]=k=="C"||T=="N"?E:f[k]||0;p+=g[h];b[h]=k}var y=i.next(32);y._W(4,318902576);y._W(4,o.length);y._W(2,296+32*v);y._W(2,p);for(h=0;h<4;++h)y._W(4,0);y._W(4,0|(+r[t]||3)<<8);for(h=0,d=0;h<l.length;++h){if(l[h]==null)continue;var _=i.next(32);var x=(l[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);_._W(1,x,"sbcs");_._W(1,b[h]=="?"?"C":b[h],"sbcs");_._W(4,d);_._W(1,g[h]||f[b[h]]||0);_._W(1,w[h]||0);_._W(1,2);_._W(4,0);_._W(1,0);_._W(4,0);_._W(4,0);d+=g[h]||f[b[h]]||0}var A=i.next(264);A._W(4,13);for(h=0;h<65;++h)A._W(4,0);for(h=0;h<o.length;++h){var C=i.next(p);C._W(1,0);for(d=0;d<l.length;++d){if(l[d]==null)continue;switch(b[d]){case"L":C._W(1,o[h][d]==null?63:o[h][d]?84:70);break;case"B":C._W(8,o[h][d]||0,"f");break;case"N":var R="0";if(typeof o[h][d]=="number")R=o[h][d].toFixed(w[d]||0);for(v=0;v<g[d]-R.length;++v)C._W(1,32);C._W(1,R,"sbcs");break;case"D":if(!o[h][d])C._W(8,"00000000","sbcs");else{C._W(4,("0000"+o[h][d].getFullYear()).slice(-4),"sbcs");C._W(2,("00"+(o[h][d].getMonth()+1)).slice(-2),"sbcs");C._W(2,("00"+o[h][d].getDate()).slice(-2),"sbcs")}break;case"C":var O=String(o[h][d]!=null?o[h][d]:"").slice(0,g[d]);C._W(1,O,"sbcs");for(v=0;v<g[d]-O.length;++v)C._W(1,32);break;}}}i.next(1)._W(1,26);return i.end()}return{to_workbook:s,to_sheet:i,from_sheet:l}}();var df=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223};var r=new RegExp("N("+Y(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm");var t=function(r,t){var a=e[t];return typeof a=="number"?p(a):a};var n=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:p(a)};e["|"]=254;function i(e,r){switch(r.type){case"base64":return s(g.decode(e),r);case"binary":return s(e,r);case"buffer":return s(w&&Buffer.isBuffer(e)?e.toString("binary"):A(e),r);case"array":return s(le(e),r);}throw new Error("Unrecognized type "+r.type)}function s(e,i){var s=e.split(/[\n\r]+/),f=-1,l=-1,o=0,u=0,h=[];var d=[];var v=null;var p={},m=[],b=[],g=[];var w=0,k;if(+i.codepage>=0)c(+i.codepage);for(;o!==s.length;++o){w=0;var T=s[o].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(r,t);var E=T.replace(/;;/g,"\0").split(";").map(function(e){return e.replace(/\u0000/g,";")});var S=E[0],y;if(T.length>0)switch(S){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":if(E[1].charAt(0)=="P")d.push(T.slice(3).replace(/;;/g,";"));break;case"C":var _=false,x=false,A=false,C=false,R=-1,O=-1;for(u=1;u<E.length;++u)switch(E[u].charAt(0)){case"A":break;case"X":l=parseInt(E[u].slice(1))-1;x=true;break;case"Y":f=parseInt(E[u].slice(1))-1;if(!x)l=0;for(k=h.length;k<=f;++k)h[k]=[];break;case"K":y=E[u].slice(1);if(y.charAt(0)==='"')y=y.slice(1,y.length-1);else if(y==="TRUE")y=true;else if(y==="FALSE")y=false;else if(!isNaN(he(y))){y=he(y);if(v!==null&&D.is_date(v))y=ne(y)}else if(!isNaN(ve(y).getDate())){y=ce(y)}if(typeof a!=="undefined"&&typeof y=="string"&&(i||{}).type!="string"&&(i||{}).codepage)y=a.utils.decode(i.codepage,y);_=true;break;case"E":C=true;var I=bo(E[u].slice(1),{r:f,c:l});h[f][l]=[h[f][l],I];break;case"S":A=true;h[f][l]=[h[f][l],"S5S"];break;case"G":break;case"R":R=parseInt(E[u].slice(1))-1;break;case"C":O=parseInt(E[u].slice(1))-1;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+T);}if(_){if(h[f][l]&&h[f][l].length==2)h[f][l][0]=y;else h[f][l]=y;v=null}if(A){if(C)throw new Error("SYLK shared formula cannot have own formula");var N=R>-1&&h[R][O];if(!N||!N[1])throw new Error("SYLK shared formula cannot find base");h[f][l][1]=ko(N[1],{r:f-R,c:l-O})}break;case"F":var F=0;for(u=1;u<E.length;++u)switch(E[u].charAt(0)){case"X":l=parseInt(E[u].slice(1))-1;++F;break;case"Y":f=parseInt(E[u].slice(1))-1;for(k=h.length;k<=f;++k)h[k]=[];break;case"M":w=parseInt(E[u].slice(1))/20;break;case"F":break;case"G":break;case"P":v=d[parseInt(E[u].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":g=E[u].slice(1).split(" ");for(k=parseInt(g[0],10);k<=parseInt(g[1],10);++k){w=parseInt(g[2],10);b[k-1]=w===0?{hidden:true}:{wch:w};Tc(b[k-1])}break;case"C":l=parseInt(E[u].slice(1))-1;if(!b[l])b[l]={};break;case"R":f=parseInt(E[u].slice(1))-1;if(!m[f])m[f]={};if(w>0){m[f].hpt=w;m[f].hpx=_c(w)}else if(w===0)m[f].hidden=true;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+T);}if(F<1)v=null;break;default:if(i&&i.WTF)throw new Error("SYLK bad record "+T);}}if(m.length>0)p["!rows"]=m;if(b.length>0)p["!cols"]=b;if(i&&i.sheetRows)h=h.slice(0,i.sheetRows);return[h,p]}function f(e,r){var t=i(e,r);var a=t[0],n=t[1];var s=Ct(a,r);Y(n).forEach(function(e){s[e]=n[e]});return s}function l(e,r){return xt(f(e,r),r)}function o(e,r,t,a){var n="C;Y"+(t+1)+";X"+(a+1)+";K";switch(e.t){case"n":n+=e.v||0;if(e.f&&!e.F)n+=";E"+wo(e.f,{r:t,c:a});break;case"b":n+=e.v?"TRUE":"FALSE";break;case"e":n+=e.w||e.v;break;case"d":n+='"'+(e.w||e.v)+'"';break;case"s":n+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"';break;}return n}function u(e,r){r.forEach(function(r,t){var a="F;W"+(t+1)+" "+(t+1)+" ";if(r.hidden)a+="0";else{if(typeof r.width=="number"&&!r.wpx)r.wpx=mc(r.width);if(typeof r.wpx=="number"&&!r.wch)r.wch=bc(r.wpx);if(typeof r.wch=="number")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=" ")e.push(a)})}function h(e,r){r.forEach(function(r,t){var a="F;";if(r.hidden)a+="M0;";else if(r.hpt)a+="M"+20*r.hpt+";";else if(r.hpx)a+="M"+20*yc(r.hpx)+";";if(a.length>2)e.push(a+"R"+(t+1))})}function d(e,r){var t=["ID;PWXL;N;E"],a=[];var n=St(e["!ref"]),i;var s=Array.isArray(e);var f="\r\n";t.push("P;PGeneral");t.push("F;P0;DG0G8;M255");if(e["!cols"])u(t,e["!cols"]);if(e["!rows"])h(t,e["!rows"]);t.push("B;Y"+(n.e.r-n.s.r+1)+";X"+(n.e.c-n.s.c+1)+";D"+[n.s.c,n.s.r,n.e.c,n.e.r].join(" "));for(var c=n.s.r;c<=n.e.r;++c){for(var l=n.s.c;l<=n.e.c;++l){var d=kt({r:c,c:l});i=s?(e[c]||[])[l]:e[d];if(!i||i.v==null&&(!i.f||i.F))continue;a.push(o(i,e,c,l,r))}}return t.join(f)+f+a.join(f)+f+"E"+f}return{to_workbook:l,to_sheet:f,from_sheet:d}}();var vf=function(){function e(e,t){switch(t.type){case"base64":return r(g.decode(e),t);case"binary":return r(e,t);case"buffer":return r(w&&Buffer.isBuffer(e)?e.toString("binary"):A(e),t);case"array":return r(le(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e,r){var t=e.split("\n"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){if(t[i].trim()==="BOT"){s[++a]=[];n=0;continue}if(a<0)continue;var f=t[i].trim().split(",");var c=f[0],l=f[1];++i;var o=t[i]||"";while((o.match(/["]/g)||[]).length&1&&i<t.length-1)o+="\n"+t[++i];o=o.trim();switch(+c){case-1:if(o==="BOT"){s[++a]=[];n=0;continue}else if(o!=="EOD")throw new Error("Unrecognized DIF special command "+o);break;case 0:if(o==="TRUE")s[a][n]=true;else if(o==="FALSE")s[a][n]=false;else if(!isNaN(he(l)))s[a][n]=he(l);else if(!isNaN(ve(l).getDate()))s[a][n]=ce(l);else s[a][n]=l;++n;break;case 1:o=o.slice(1,o.length-1);o=o.replace(/""/g,'"');if(b&&o&&o.match(/^=".*"$/))o=o.slice(2,-1);s[a][n++]=o!==""?o:null;break;}if(o==="EOD")break}if(r&&r.sheetRows)s=s.slice(0,r.sheetRows);return s}function t(r,t){return Ct(e(r,t),t)}function a(e,r){return xt(t(e,r),r)}var n=function(){var e=function t(e,r,a,n,i){e.push(r);e.push(a+","+n);
e.push('"'+i.replace(/"/g,'""')+'"')};var r=function a(e,r,t,n){e.push(r+","+t);e.push(r==1?'"'+n.replace(/"/g,'""')+'"':n)};return function n(t){var a=[];var n=St(t["!ref"]),i;var s=Array.isArray(t);e(a,"TABLE",0,1,"sheetjs");e(a,"VECTORS",0,n.e.r-n.s.r+1,"");e(a,"TUPLES",0,n.e.c-n.s.c+1,"");e(a,"DATA",0,0,"");for(var f=n.s.r;f<=n.e.r;++f){r(a,-1,0,"BOT");for(var c=n.s.c;c<=n.e.c;++c){var l=kt({r:f,c:c});i=s?(t[f]||[])[c]:t[l];if(!i){r(a,1,0,"");continue}switch(i.t){case"n":var o=b?i.w:i.v;if(!o&&i.v!=null)o=i.v;if(o==null){if(b&&i.f&&!i.F)r(a,1,0,"="+i.f);else r(a,1,0,"")}else r(a,0,o,"V");break;case"b":r(a,0,i.v?1:0,i.v?"TRUE":"FALSE");break;case"s":r(a,1,0,!b||isNaN(i.v)?i.v:'="'+i.v+'"');break;case"d":if(!i.w)i.w=D.format(i.z||D._table[14],ee(ce(i.v)));if(b)r(a,0,i.w,"V");else r(a,1,0,i.w);break;default:r(a,1,0,"");}}}r(a,-1,0,"EOD");var u="\r\n";var h=a.join(u);return h}}();return{to_workbook:a,to_sheet:t,from_sheet:n}}();var pf=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function r(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(r,t){var a=r.split("\n"),n=-1,i=-1,s=0,f=[];for(;s!==a.length;++s){var c=a[s].trim().split(":");if(c[0]!=="cell")continue;var l=wt(c[1]);if(f.length<=l.r)for(n=f.length;n<=l.r;++n)if(!f[n])f[n]=[];n=l.r;i=l.c;switch(c[2]){case"t":f[n][i]=e(c[3]);break;case"v":f[n][i]=+c[3];break;case"vtf":var o=c[c.length-1];case"vtc":switch(c[3]){case"nl":f[n][i]=+c[4]?true:false;break;default:f[n][i]=+c[4];break;}if(c[2]=="vtf")f[n][i]=[f[n][i],o];}}if(t&&t.sheetRows)f=f.slice(0,t.sheetRows);return f}function a(e,r){return Ct(t(e,r),r)}function n(e,r){return xt(a(e,r),r)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n");var s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n";var f=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n");var c="--SocialCalcSpreadsheetControlSave--";function l(e){if(!e||!e["!ref"])return"";var t=[],a=[],n,i="";var s=Tt(e["!ref"]);var f=Array.isArray(e);for(var c=s.s.r;c<=s.e.r;++c){for(var l=s.s.c;l<=s.e.c;++l){i=kt({r:c,c:l});n=f?(e[c]||[])[l]:e[i];if(!n||n.v==null||n.t==="z")continue;a=["cell",i,"t"];switch(n.t){case"s":;case"str":a.push(r(n.v));break;case"n":if(!n.f){a[2]="v";a[3]=n.v}else{a[2]="vtf";a[3]="n";a[4]=n.v;a[5]=r(n.f)}break;case"b":a[2]="vt"+(n.f?"f":"c");a[3]="nl";a[4]=n.v?"1":"0";a[5]=r(n.f||(n.v?"TRUE":"FALSE"));break;case"d":var o=ee(ce(n.v));a[2]="vtc";a[3]="nd";a[4]=""+o;a[5]=n.w||D.format(n.z||D._table[14],o);break;case"e":continue;}t.push(a.join(":"))}}t.push("sheet:c:"+(s.e.c-s.s.c+1)+":r:"+(s.e.r-s.s.r+1)+":tvf:1");t.push("valueformat:1:text-wiki");return t.join("\n")}function o(e){return[i,s,f,s,l(e),c].join("\n")}return{to_workbook:n,to_sheet:a,from_sheet:o}}();var mf=function(){function e(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e===""){}else if(e==="TRUE")r[t][a]=true;else if(e==="FALSE")r[t][a]=false;else if(!isNaN(he(e)))r[t][a]=he(e);else if(!isNaN(ve(e).getDate()))r[t][a]=ce(e);else r[t][a]=e}function r(r,t){var a=t||{};var n=[];if(!r||r.length===0)return n;var i=r.split(/[\r\n]/);var s=i.length-1;while(s>=0&&i[s].length===0)--s;var f=10,c=0;var l=0;for(;l<=s;++l){c=i[l].indexOf(" ");if(c==-1)c=i[l].length;else c++;f=Math.max(f,c)}for(l=0;l<=s;++l){n[l]=[];var o=0;e(i[l].slice(0,f).trim(),n,l,o,a);for(o=1;o<=(i[l].length-f)/10+1;++o)e(i[l].slice(f+(o-1)*10,f+o*10).trim(),n,l,o,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:",",9:"\t",59:";",124:"|"};var n={44:3,9:2,59:1,124:0};function i(e){var r={},a=false,i=0,s=0;for(;i<e.length;++i){if((s=e.charCodeAt(i))==34)a=!a;else if(!a&&s in t)r[s]=(r[s]||0)+1}s=[];for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}if(!s.length){r=n;for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}}s.sort(function(e,r){return e[0]-r[0]||n[e[1]]-n[r[1]]});return t[s.pop()[1]]||44}function s(e,r){var t=r||{};var a="";if(m!=null&&t.dense==null)t.dense=m;var n=t.dense?[]:{};var s={s:{c:0,r:0},e:{c:0,r:0}};if(e.slice(0,4)=="sep="){if(e.charCodeAt(5)==13&&e.charCodeAt(6)==10){a=e.charAt(4);e=e.slice(7)}else if(e.charCodeAt(5)==13||e.charCodeAt(5)==10){a=e.charAt(4);e=e.slice(6)}else a=i(e.slice(0,1024))}else if(t&&t.FS)a=t.FS;else a=i(e.slice(0,1024));var f=0,c=0,l=0;var o=0,u=0,h=a.charCodeAt(0),d=false,v=0,p=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var b=t.dateNF!=null?B(t.dateNF):null;function g(){var r=e.slice(o,u);var a={};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(Eo(r)){a.t="n";a.f=r.slice(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(l=he(r))){a.t="n";if(t.cellText!==false)a.w=r;a.v=l}else if(!isNaN(ve(r).getDate())||b&&r.match(b)){a.z=t.dateNF||D._table[14];var i=0;if(b&&r.match(b)){r=W(r,t.dateNF,r.match(b)||[]);i=1}if(t.cellDates){a.t="d";a.v=ce(r,i)}else{a.t="n";a.v=ee(ce(r,i))}if(t.cellText!==false)a.w=D.format(a.z,a.v instanceof Date?ee(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(!n[f])n[f]=[];n[f][c]=a}else n[kt({c:c,r:f})]=a;o=u+1;p=e.charCodeAt(o);if(s.e.c<c)s.e.c=c;if(s.e.r<f)s.e.r=f;if(v==h)++c;else{c=0;++f;if(t.sheetRows&&t.sheetRows<=f)return true}}e:for(;u<e.length;++u)switch(v=e.charCodeAt(u)){case 34:if(p===34)d=!d;break;case h:;case 10:;case 13:if(!d&&g())break e;break;default:break;}if(u-o>0)g();n["!ref"]=Et(s);return n}function f(e,t){if(!(t&&t.PRN))return s(e,t);if(t.FS)return s(e,t);if(e.slice(0,4)=="sep=")return s(e,t);if(e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0)return s(e,t);return Ct(r(e,t),t)}function c(e,r){var t="",n=r.type=="string"?[0,0,0,0]:yb(e,r);switch(r.type){case"base64":t=g.decode(e);break;case"binary":t=e;break;case"buffer":if(r.codepage==65001)t=e.toString("utf8");else if(r.codepage&&typeof a!=="undefined")t=a.utils.decode(r.codepage,e);else t=w&&Buffer.isBuffer(e)?e.toString("binary"):A(e);break;case"array":t=le(e);break;case"string":t=e;break;default:throw new Error("Unrecognized type "+r.type);}if(n[0]==239&&n[1]==187&&n[2]==191)t=Je(t.slice(3));else if(r.type!="string"&&r.type!="buffer"&&r.codepage==65001)t=Je(t);else if(r.type=="binary"&&typeof a!=="undefined"&&r.codepage)t=a.utils.decode(r.codepage,a.utils.encode(28591,t));if(t.slice(0,19)=="socialcalc:version:")return pf.to_sheet(r.type=="string"?t:Je(t),r);return f(t,r)}function l(e,r){return xt(c(e,r),r)}function o(e){var r=[];var t=St(e["!ref"]),a;var n=Array.isArray(e);for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var f=t.s.c;f<=t.e.c;++f){var c=kt({r:i,c:f});a=n?(e[i]||[])[f]:e[c];if(!a||a.v==null){s.push(" ");continue}var l=(a.w||(_t(a),a.w)||"").slice(0,10);while(l.length<10)l+=" ";s.push(l+(f===0?" ":""))}r.push(s.join(""))}return r.join("\n")}return{to_workbook:l,to_sheet:c,from_sheet:o}}();function bf(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=df.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 mf.to_workbook(e,r)}}var gf=function(){function e(e,r,t){if(!e)return;et(e,e.l||0);var a=t.Enum||H;while(e.l<e.length){var n=e._R(2);var i=a[n]||a[65535];var s=e._R(2);var f=e.l+s;var c=i.f&&i.f(e,s,t);e.l=f;if(r(c,i,n))return}}function r(e,r){switch(r.type){case"base64":return t(_(g.decode(e)),r);case"binary":return t(_(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(m!=null&&a.dense==null)a.dense=m;var n=a.dense?[]:{},i="Sheet1",s="",f=0;var c={},l=[],o=[];var u={s:{r:0,c:0},e:{r:0,c:0}};var h=a.sheetRows||0;if(r[2]==0){if(r[3]==8||r[3]==9){if(r.length>=16&&r[14]==5&&r[15]===108)throw new Error("Unsupported Works 3 for Mac file")}}if(r[2]==2){a.Enum=H;e(r,function(e,r,t){switch(t){case 0:a.vers=e;if(e>=4096)a.qpro=true;break;case 6:u=e;break;case 204:if(e)s=e;break;case 222:s=e;break;case 15:;case 51:if(!a.qpro)e[1].v=e[1].v.slice(1);case 13:;case 14:;case 16:if(t==14&&(e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=a.dateNF||D._table[14];if(a.cellDates){e[1].t="d";e[1].v=ne(e[1].v)}}if(a.qpro){if(e[3]>f){n["!ref"]=Et(u);c[i]=n;l.push(i);n=a.dense?[]:{};u={s:{r:0,c:0},e:{r:0,c:0}};f=e[3];i=s||"Sheet"+(f+1);s=""}}var o=a.dense?(n[e[0].r]||[])[e[0].c]:n[kt(e[0])];if(o){o.t=e[1].t;o.v=e[1].v;if(e[1].z!=null)o.z=e[1].z;if(e[1].f!=null)o.f=e[1].f;break}if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[kt(e[0])]=e[1];break;default:;}},a)}else if(r[2]==26||r[2]==14){a.Enum=z;if(r[2]==14){a.qpro=true;r.l=0}e(r,function(e,r,t){switch(t){case 204:i=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]>f){n["!ref"]=Et(u);c[i]=n;l.push(i);n=a.dense?[]:{};u={s:{r:0,c:0},e:{r:0,c:0}};f=e[3];i="Sheet"+(f+1)}if(h>0&&e[0].r>=h)break;if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[kt(e[0])]=e[1];if(u.e.c<e[0].c)u.e.c=e[0].c;if(u.e.r<e[0].r)u.e.r=e[0].r;break;case 27:if(e[14e3])o[e[14e3][0]]=e[14e3][1];break;case 1537:o[e[0]]=e[1];if(e[0]==f)i=e[1];break;default:break;}},a)}else throw new Error("Unrecognized LOTUS BOF "+r[2]);n["!ref"]=Et(u);c[s||i]=n;l.push(s||i);if(!o.length)return{SheetNames:l,Sheets:c};var d={},v=[];for(var p=0;p<o.length;++p)if(c[l[p]]){v.push(o[p]||l[p]);d[o[p]]=c[o[p]]||c[l[p]]}else{v.push(o[p]);d[o[p]]={"!ref":"A1"}}return{SheetNames:v,Sheets:d}}function a(e,r){var t=r||{};if(+t.codepage>=0)c(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK1 to JS string");var a=nt();var n=St(e["!ref"]);var s=Array.isArray(e);var f=[];lm(a,0,i(1030));lm(a,6,l(n));var o=Math.min(n.e.r,8191);for(var u=n.s.r;u<=o;++u){var d=ut(u);for(var p=n.s.c;p<=n.e.c;++p){if(u===n.s.r)f[p]=pt(p);var m=f[p]+d;var g=s?(e[u]||[])[p]:e[m];if(!g||g.t=="z")continue;if(g.t=="n"){if((g.v|0)==g.v&&g.v>=-32768&&g.v<=32767)lm(a,13,v(u,p,g.v));else lm(a,14,b(u,p,g.v))}else{var w=_t(g);lm(a,15,h(u,p,w.slice(0,239)))}}}lm(a,1);return a.end()}function n(e,r){var t=r||{};if(+t.codepage>=0)c(+t.codepage);if(t.type=="string")throw new Error("Cannot write WK3 to JS string");var a=nt();lm(a,0,s(e));for(var n=0,i=0;n<e.SheetNames.length;++n)if((e.Sheets[e.SheetNames[n]]||{})["!ref"])lm(a,27,W(e.SheetNames[n],i++));var f=0;for(n=0;n<e.SheetNames.length;++n){var l=e.Sheets[e.SheetNames[n]];if(!l||!l["!ref"])continue;var o=St(l["!ref"]);var u=Array.isArray(l);var h=[];var d=Math.min(o.e.r,8191);for(var v=o.s.r;v<=d;++v){var p=ut(v);for(var m=o.s.c;m<=o.e.c;++m){if(v===o.s.r)h[m]=pt(m);var b=h[m]+p;var g=u?(l[v]||[])[m]:l[b];if(!g||g.t=="z")continue;if(g.t=="n"){lm(a,23,O(v,m,f,g.v))}else{var w=_t(g);lm(a,22,A(v,m,f,w.slice(0,239)))}}}++f}lm(a,1);return a.end()}function i(e){var r=tt(2);r._W(2,e);return r}function s(e){var r=tt(26);r._W(2,4096);r._W(2,4);r._W(4,0);var t=0,a=0,n=0;for(var i=0;i<e.SheetNames.length;++i){var s=e.SheetNames[i];var f=e.Sheets[s];if(!f||!f["!ref"])continue;++n;var c=Tt(f["!ref"]);if(t<c.e.r)t=c.e.r;if(a<c.e.c)a=c.e.c}if(t>8191)t=8191;r._W(2,t);r._W(1,n);r._W(1,a);r._W(2,0);r._W(2,0);r._W(1,1);r._W(1,2);r._W(4,0);r._W(4,0);return r}function f(e,r,t){var a={s:{c:0,r:0},e:{c:0,r:0}};if(r==8&&t.qpro){a.s.c=e._R(1);e.l++;a.s.r=e._R(2);a.e.c=e._R(1);e.l++;a.e.r=e._R(2);return a}a.s.c=e._R(2);a.s.r=e._R(2);if(r==12&&t.qpro)e.l+=2;a.e.c=e._R(2);a.e.r=e._R(2);if(r==12&&t.qpro)e.l+=2;if(a.s.c==65535)a.s.c=a.e.c=a.s.r=a.e.r=0;return a}function l(e){var r=tt(8);r._W(2,e.s.c);r._W(2,e.s.r);r._W(2,e.e.c);r._W(2,e.e.r);return r}function o(e,r,t){var a=[{c:0,r:0},{t:"n",v:0},0,0];if(t.qpro&&t.vers!=20768){a[0].c=e._R(1);a[3]=e._R(1);a[0].r=e._R(2);e.l+=2}else{a[2]=e._R(1);a[0].c=e._R(2);a[0].r=e._R(2)}return a}function u(e,r,t){var a=e.l+r;var n=o(e,r,t);n[1].t="s";if(t.vers==20768){e.l++;var i=e._R(1);n[1].v=e._R(i,"utf8");return n}if(t.qpro)e.l++;n[1].v=e._R(a-e.l,"cstr");return n}function h(e,r,t){var a=tt(7+t.length);a._W(1,255);a._W(2,r);a._W(2,e);a._W(1,39);for(var n=0;n<a.length;++n){var i=t.charCodeAt(n);a._W(1,i>=128?95:i)}a._W(1,0);return a}function d(e,r,t){var a=o(e,r,t);a[1].v=e._R(2,"i");return a}function v(e,r,t){var a=tt(7);a._W(1,255);a._W(2,r);a._W(2,e);a._W(2,t,"i");return a}function p(e,r,t){var a=o(e,r,t);a[1].v=e._R(8,"f");return a}function b(e,r,t){var a=tt(13);a._W(1,255);a._W(2,r);a._W(2,e);a._W(8,t,"f");return a}function w(e,r,t){var a=e.l+r;var n=o(e,r,t);n[1].v=e._R(8,"f");if(t.qpro)e.l=a;else{var i=e._R(2);S(e.slice(e.l,e.l+i),n);e.l+=i}return n}function k(e,r,t){var a=r&32768;r&=~32768;r=(a?e:0)+(r>=8192?r-16384:r);return(a?"":"$")+(t?pt(r):ut(r))}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]};var E=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function S(e,r){et(e,0);var t=[],a=0,n="",i="",s="",f="";while(e.l<e.length){var c=e[e.l++];switch(c){case 0:t.push(e._R(8,"f"));break;case 1:{i=k(r[0].c,e._R(2),true);n=k(r[0].r,e._R(2),false);t.push(i+n)}break;case 2:{var l=k(r[0].c,e._R(2),true);var o=k(r[0].r,e._R(2),false);i=k(r[0].c,e._R(2),true);n=k(r[0].r,e._R(2),false);t.push(l+o+":"+i+n)}break;case 3:if(e.l<e.length){console.error("WK1 premature formula end");return}break;case 4:t.push("("+t.pop()+")");break;case 5:t.push(e._R(2));break;case 6:{var u="";while(c=e[e.l++])u+=String.fromCharCode(c);t.push('"'+u.replace(/"/g,'""')+'"')}break;case 8:t.push("-"+t.pop());break;case 23:t.push("+"+t.pop());break;case 22:t.push("NOT("+t.pop()+")");break;case 20:;case 21:{f=t.pop();s=t.pop();t.push(["AND","OR"][c-20]+"("+s+","+f+")")}break;default:if(c<32&&E[c]){f=t.pop();s=t.pop();t.push(s+E[c]+f)}else if(T[c]){a=T[c][1];if(a==69)a=e[e.l++];if(a>t.length){console.error("WK1 bad formula parse 0x"+c.toString(16)+":|"+t.join("|")+"|");return}var h=t.slice(-a);t.length-=a;t.push(T[c][0]+"("+h.join(",")+")")}else if(c<=7)return console.error("WK1 invalid opcode "+c.toString(16));else if(c<=24)return console.error("WK1 unsupported op "+c.toString(16));else if(c<=30)return console.error("WK1 invalid opcode "+c.toString(16));else if(c<=115)return console.error("WK1 unsupported function opcode "+c.toString(16));else return console.error("WK1 unrecognized opcode "+c.toString(16));}}if(t.length==1)r[1].f=""+t[0];else console.error("WK1 bad formula parse |"+t.join("|")+"|")}function y(e){var r=[{c:0,r:0},{t:"n",v:0},0];r[0].r=e._R(2);r[3]=e[e.l++];r[0].c=e[e.l++];return r}function x(e,r){var t=y(e,r);t[1].t="s";t[1].v=e._R(r-4,"cstr");return t}function A(e,r,t,a){var n=tt(6+a.length);n._W(2,e);n._W(1,t);n._W(1,r);n._W(1,39);for(var i=0;i<a.length;++i){var s=a.charCodeAt(i);n._W(1,s>=128?95:s)}n._W(1,0);return n}function C(e,r){var t=y(e,r);t[1].v=e._R(2);var a=t[1].v>>1;if(t[1].v&1){switch(a&7){case 0:a=(a>>3)*5e3;break;case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 3:a=(a>>3)/200;break;case 4:a=(a>>3)/2e3;break;case 5:a=(a>>3)/2e4;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;}}t[1].v=a;return t}function R(e,r){var t=y(e,r);var a=e._R(4);var n=e._R(4);var i=e._R(2);if(i==65535){if(a===0&&n===3221225472){t[1].t="e";t[1].v=15}else if(a===0&&n===3489660928){t[1].t="e";t[1].v=42}else t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(1-s*2)*(n*Math.pow(2,i+32)+a*Math.pow(2,i));return t}function O(e,r,t,a){var n=tt(14);n._W(2,e);n._W(1,t);n._W(1,r);if(a==0){n._W(4,0);n._W(4,0);n._W(2,65535);return n}var i=0,s=0,f=0,c=0;if(a<0){i=1;a=-a}s=Math.log2(a)|0;a/=Math.pow(2,s-31);c=a>>>0;if((c&2147483648)==0){a/=2;++s;c=a>>>0}a-=c;c|=2147483648;c>>>=0;a*=Math.pow(2,32);f=a>>>0;n._W(4,f);n._W(4,c);s+=16383+(i?32768:0);n._W(2,s);return n}function I(e,r){var t=R(e,14);e.l+=r-14;return t}function N(e,r){var t=y(e,r);var a=e._R(4);t[1].v=a>>6;return t}function F(e,r){var t=y(e,r);var a=e._R(8,"f");t[1].v=a;return t}function P(e,r){var t=F(e,14);e.l+=r-10;return t}function L(e,r){return e[e.l+r-1]==0?e._R(r,"cstr"):""}function M(e,r){var t=e[e.l++];if(t>r-1)t=r-1;var a="";while(a.length<t)a+=String.fromCharCode(e[e.l++]);return a}function U(e,r,t){if(!t.qpro||r<21)return;var a=e._R(1);e.l+=17;e.l+=1;e.l+=2;var n=e._R(r-21,"cstr");return[a,n]}function B(e,r){var t={},a=e.l+r;while(e.l<a){var n=e._R(2);if(n==14e3){t[n]=[0,""];t[n][0]=e._R(2);while(e[e.l]){t[n][1]+=String.fromCharCode(e[e.l]);e.l++}e.l++}}return t}function W(e,r){var t=tt(5+e.length);t._W(2,14e3);t._W(2,r);for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);t[t.l++]=n>127?95:n}t[t.l++]=0;return t}var H={0:{n:"BOF",f:jn},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:f},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:d},14:{n:"NUMBER",f:p},15:{n:"LABEL",f:u},16:{n:"FORMULA",f:w},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:u},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:L},222:{n:"SHEETNAMELP",f:M},65535:{n:""}};var z={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:x},23:{n:"NUMBER17",f:R},24:{n:"NUMBER18",f:C},25:{n:"FORMULA19",f:I},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:B},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:N},38:{n:"??"},39:{n:"NUMBER27",f:F},40:{n:"FORMULA28",f:P},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:L},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:U},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:a,book_to_wk3:n,to_workbook:r}}();function wf(e){var r={},t=e.match(Ne),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=Pe(t[a]);switch(s[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!s.val)break;case"<shadow>":;case"<shadow/>":r.shadow=1;break;case"</shadow>":break;case"<charset":if(s.val=="1")break;r.cp=i[parseInt(s.val,10)];break;case"<outline":if(!s.val)break;case"<outline>":;case"<outline/>":r.outline=1;break;case"</outline>":break;case"<rFont":r.name=s.val;break;case"<sz":r.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike>":;case"<strike/>":r.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;switch(s.val){case"double":r.uval="double";break;case"singleAccounting":r.uval="single-accounting";break;case"doubleAccounting":r.uval="double-accounting";break;};case"<u>":;case"<u/>":r.u=1;break;case"</u>":break;case"<b":if(s.val=="0")break;case"<b>":;case"<b/>":r.b=1;break;case"</b>":break;case"<i":if(s.val=="0")break;case"<i>":;case"<i/>":r.i=1;break;case"</i>":break;case"<color":if(s.rgb)r.color=s.rgb.slice(2,8);break;case"<color>":;case"<color/>":;case"</color>":break;case"<family":r.family=s.val;break;case"<family>":;case"<family/>":;case"</family>":break;case"<vertAlign":r.valign=s.val;break;case"<vertAlign>":;case"<vertAlign/>":;case"</vertAlign>":break;case"<scheme":break;case"<scheme>":;case"<scheme/>":;case"</scheme>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error("Unrecognized rich format "+s[0]);}}return r}var kf=function(){var e=rr("t"),r=rr("rPr");function t(t){var a=t.match(e);if(!a)return{t:"s",v:""};var n={t:"s",v:Be(a[1])};var i=t.match(r);if(i)n.s=wf(i[1]);return n}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function i(e){return e.replace(a,"").split(n).map(t).filter(function(e){return e.v})}}();var Tf=function Wg(){var e=/(\r\n|\n)/g;function r(e,r,t){var a=[];if(e.u)a.push("text-decoration: underline;");if(e.uval)a.push("text-underline-style:"+e.uval+";");if(e.sz)a.push("font-size:"+e.sz+"pt;");if(e.outline)a.push("text-effect: outline;");if(e.shadow)a.push("text-shadow: auto;");r.push('<span style="'+a.join("")+'">');if(e.b){r.push("<b>");t.push("</b>")}if(e.i){r.push("<i>");t.push("</i>")}if(e.strike){r.push("<s>");t.push("</s>")}var n=e.valign||"";if(n=="superscript"||n=="super")n="sup";else if(n=="subscript")n="sub";if(n!=""){r.push("<"+n+">");t.push("</"+n+">")}t.push("</span>");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return"";if(t.s)r(t.s,a[0],a[2]);return a[0].join("")+a[1].replace(e,"<br/>")+a[2].join("")}return function a(e){return e.map(t).join("")}}();var Ef=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Sf=/<(?:\w+:)?r>/;var yf=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function _f(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return{t:""};if(e.match(/^\s*<(?:\w+:)?t[^>]*>/)){a.t=Be(Je(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||""));a.r=Je(e);if(t)a.h=je(a.t)}else if(e.match(Sf)){a.r=Je(e);a.t=Be(Je((e.replace(yf,"").match(Ef)||[]).join("").replace(Ne,"")));if(t)a.h=Tf(kf(a.r))}return a}var xf=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/;var Af=/<(?:\w+:)?(?:si|sstItem)>/g;var Cf=/<\/(?:\w+:)?(?:si|sstItem)>/;function Rf(e,r){var t=[],a="";if(!e)return t;var n=e.match(xf);if(n){a=n[2].replace(Af,"").split(Cf);for(var i=0;i!=a.length;++i){var s=_f(a[i].trim(),r);if(s!=null)t[t.length]=s}n=Pe(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}var Of=/^\s|\s$|[\t\n\r]/;function If(e,r){if(!r.bookSST)return"";var t=[Oe];t[t.length]=or("sst",null,{xmlns:mr[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a){if(e[a]==null)continue;var n=e[a];var i="<si>";if(n.r)i+=n.r;else{i+="<t";if(!n.t)n.t="";if(n.t.match(Of))i+=' xml:space="preserve"';i+=">"+ze(n.t)+"</t>"}i+="</si>";t[t.length]=i}if(t.length>2){t[t.length]="</sst>";t[1]=t[1].replace("/>",">")}return t.join("")}function Nf(e){return[e._R(4),e._R(4)]}function Ff(e,r){var t=[];var a=false;at(e,function n(e,i,s){switch(s){case 159:t.Count=e[0];t.Unique=e[1];break;case 19:t.push(e);break;case 160:return true;case 35:a=true;break;case 36:a=false;break;default:if(i.T){}if(!a||r.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return t}function Df(e,r){if(!r)r=tt(8);r._W(4,e.Count);r._W(4,e.Unique);return r}var Pf=Lt;function Lf(e){var r=nt();it(r,159,Df(e));for(var t=0;t<e.length;++t)it(r,19,Pf(e[t]));it(r,160);return r.end()}function Mf(e){if(typeof a!=="undefined")return a.utils.encode(t,e);var r=[],n=e.split("");for(var i=0;i<n.length;++i)r[i]=n[i].charCodeAt(0);return r}function Uf(e,r){var t={};t.Major=e._R(2);t.Minor=e._R(2);if(r>=4)e.l+=r-4;return t}function Bf(e){var r={};r.id=e._R(0,"lpp4");r.R=Uf(e,4);r.U=Uf(e,4);r.W=Uf(e,4);return r}function Wf(e){var r=e._R(4);var t=e.l+r-4;var a={};var n=e._R(4);var i=[];while(n-- >0)i.push({t:e._R(4),v:e._R(0,"lpp4")});a.name=e._R(0,"lpp4");a.comps=i;if(e.l!=t)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+t);return a}function Hf(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(Wf(e));return r}function zf(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(e._R(0,"lpp4"));return r}function Vf(e){var r={};e._R(4);e.l+=4;r.id=e._R(0,"lpp4");r.name=e._R(0,"lpp4");r.R=Uf(e,4);r.U=Uf(e,4);r.W=Uf(e,4);return r}function Gf(e){var r=Vf(e);r.ename=e._R(0,"8lpp4");r.blksz=e._R(4);r.cmode=e._R(4);if(e._R(4)!=4)throw new Error("Bad !Primary record");return r}function jf(e,r){var t=e.l+r;var a={};a.Flags=e._R(4)&63;e.l+=4;a.AlgID=e._R(4);var n=false;switch(a.AlgID){case 26126:;case 26127:;case 26128:n=a.Flags==36;break;case 26625:n=a.Flags==4;break;case 0:n=a.Flags==16||a.Flags==4||a.Flags==36;break;default:throw"Unrecognized encryption algorithm: "+a.AlgID;}if(!n)throw new Error("Encryption Flags/AlgID mismatch");a.AlgIDHash=e._R(4);a.KeySize=e._R(4);a.ProviderType=e._R(4);e.l+=8;a.CSPName=e._R(t-e.l>>1,"utf16le");e.l=t;return a}function Xf(e,r){var t={},a=e.l+r;e.l+=4;t.Salt=e.slice(e.l,e.l+16);e.l+=16;t.Verifier=e.slice(e.l,e.l+16);e.l+=16;e._R(4);t.VerifierHash=e.slice(e.l,a);e.l=a;return t}function $f(e){var r=Uf(e);switch(r.Minor){case 2:return[r.Minor,Yf(e,r)];case 3:return[r.Minor,Kf(e,r)];case 4:return[r.Minor,Jf(e,r)];}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+r.Minor)}function Yf(e){var r=e._R(4);if((r&63)!=36)throw new Error("EncryptionInfo mismatch");var t=e._R(4);var a=jf(e,t);var n=Xf(e,e.length-e.l);return{t:"Std",h:a,v:n}}function Kf(){throw new Error("File is password-protected: ECMA-376 Extensible")}function Jf(e){var r=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var t=e._R(e.length-e.l,"utf8");var a={};t.replace(Ne,function n(e){var t=Pe(e);switch(Le(t[0])){case"<?xml":break;case"<encryption":;case"</encryption>":break;case"<keyData":r.forEach(function(e){a[e]=t[e]});break;case"<dataIntegrity":a.encryptedHmacKey=t.encryptedHmacKey;a.encryptedHmacValue=t.encryptedHmacValue;break;case"<keyEncryptors>":;case"<keyEncryptors":a.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":a.uri=t.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":a.encs.push(t);break;default:throw t[0];}});return a}function qf(e,r){var t={};var a=t.EncryptionVersionInfo=Uf(e,4);r-=4;if(a.Minor!=2)throw new Error("unrecognized minor version code: "+a.Minor);if(a.Major>4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);t.Flags=e._R(4);r-=4;var n=e._R(4);r-=4;t.EncryptionHeader=jf(e,n);r-=n;t.EncryptionVerifier=Xf(e,r);return t}function Zf(e){var r={};var t=r.EncryptionVersionInfo=Uf(e,4);if(t.Major!=1||t.Minor!=1)throw"unrecognized version code "+t.Major+" : "+t.Minor;r.Salt=e._R(16);r.EncryptedVerifier=e._R(16);r.EncryptedVerifierHash=e._R(16);return r}function Qf(e){var r=0,t;var a=Mf(e);var n=a.length+1,i,s;var f,c,l;t=S(n);t[0]=a.length;for(i=1;i!=n;++i)t[i]=a[i-1];for(i=n-1;i>=0;--i){s=t[i];f=(r&16384)===0?0:1;c=r<<1&32767;l=f|c;r=l^s}return r^52811}var ec=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0];var r=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163];var t=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628];var a=function(e){return(e/2|e*128)&255};var n=function(e,r){return a(e^r)};var i=function(e){var a=r[e.length-1];var n=104;for(var i=e.length-1;i>=0;--i){var s=e[i];for(var f=0;f!=7;++f){if(s&64)a^=t[n];s*=2;--n}}return a};return function(r){var t=Mf(r);var a=i(t);var s=t.length;var f=S(16);for(var c=0;c!=16;++c)f[c]=0;var l,o,u;if((s&1)===1){l=a>>8;f[s]=n(e[0],l);--s;l=a&255;o=t[t.length-1];f[s]=n(o,l)}while(s>0){--s;l=a>>8;f[s]=n(t[s],l);--s;l=a&255;f[s]=n(t[s],l)}s=15;u=15-t.length;while(u>0){l=a>>8;f[s]=n(e[u],l);--s;--u;l=a&255;f[s]=n(t[s],l);--s;--u}return f}}();var rc=function(e,r,t,a,n){if(!n)n=r;if(!a)a=ec(e);var i,s;for(i=0;i!=r.length;++i){s=r[i];s^=a[t];s=(s>>5|s<<3)&255;n[i]=s;++t}return[n,t,a]};var tc=function(e){var r=0,t=ec(e);return function(e){var a=rc("",e,r,t);r=a[1];return a[0]}};function ac(e,r,t,a){var n={key:jn(e),verificationBytes:jn(e)};if(t.password)n.verifier=Qf(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu=tc(t.password);return n}function nc(e,r,t){var a=t||{};a.Info=e._R(2);e.l-=2;if(a.Info===1)a.Data=Zf(e,r);else a.Data=qf(e,r);return a}function ic(e,r,t){var a={Type:t.biff>=8?e._R(2):0};if(a.Type)nc(e,r-2,a);else ac(e,t.biff>=8?r:r-2,t,a);return a}var sc=function(){function e(e,t){switch(t.type){case"base64":return r(g.decode(e),t);case"binary":return r(e,t);case"buffer":return r(w&&Buffer.isBuffer(e)?e.toString("binary"):A(e),t);case"array":return r(le(e),t);}throw new Error("Unrecognized type "+t.type)}function r(e,r){var t=r||{};var a=t.dense?[]:{};var n=e.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var i={s:{c:0,r:0},e:{c:0,r:n.length-1}};n.forEach(function(e,r){if(Array.isArray(a))a[r]=[];var t=/\\\w+\b/g;var n=0;var s;var f=-1;while(s=t.exec(e)){switch(s[0]){case"\\cell":var c=e.slice(n,t.lastIndex-s[0].length);if(c[0]==" ")c=c.slice(1);++f;if(c.length){var l={v:c,t:"s"};if(Array.isArray(a))a[r][f]=l;else a[kt({r:r,c:f})]=l}break;}n=t.lastIndex}if(f>i.e.c)i.e.c=f});a["!ref"]=Et(i);return a}function t(r,t){return xt(e(r,t),t)}function a(e){var r=["{\\rtf1\\ansi"];var t=St(e["!ref"]),a;var n=Array.isArray(e);for(var i=t.s.r;i<=t.e.r;++i){r.push("\\trowd\\trautofit1");
for(var s=t.s.c;s<=t.e.c;++s)r.push("\\cellx"+(s+1));r.push("\\pard\\intbl");for(s=t.s.c;s<=t.e.c;++s){var f=kt({r:i,c:s});a=n?(e[i]||[])[s]:e[f];if(!a||a.v==null&&(!a.f||a.F))continue;r.push(" "+(a.w||(_t(a),a.w)));r.push("\\cell")}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}return{to_workbook:t,to_sheet:e,from_sheet:a}}();function fc(e){var r=e.slice(e[0]==="#"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function cc(e){for(var r=0,t=1;r!=3;++r)t=t*256+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().slice(1)}function lc(e){var r=e[0]/255,t=e[1]/255,a=e[2]/255;var n=Math.max(r,t,a),i=Math.min(r,t,a),s=n-i;if(s===0)return[0,0,r];var f=0,c=0,l=n+i;c=s/(l>1?2-l:l);switch(n){case r:f=((t-a)/s+6)%6;break;case t:f=(a-r)/s+2;break;case a:f=(r-t)/s+4;break;}return[f/6,c,l/2]}function oc(e){var r=e[0],t=e[1],a=e[2];var n=t*2*(a<.5?a:1-a),i=a-n/2;var s=[i,i,i],f=6*r;var c;if(t!==0)switch(f|0){case 0:;case 6:c=n*f;s[0]+=n;s[1]+=c;break;case 1:c=n*(2-f);s[0]+=c;s[1]+=n;break;case 2:c=n*(f-2);s[1]+=n;s[2]+=c;break;case 3:c=n*(4-f);s[1]+=c;s[2]+=n;break;case 4:c=n*(f-4);s[2]+=n;s[0]+=c;break;case 5:c=n*(6-f);s[2]+=c;s[0]+=n;break;}for(var l=0;l!=3;++l)s[l]=Math.round(s[l]*255);return s}function uc(e,r){if(r===0)return e;var t=lc(fc(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return cc(oc(t))}var hc=6,dc=15,vc=1,pc=hc;function mc(e){return Math.floor((e+Math.round(128/pc)/256)*pc)}function bc(e){return Math.floor((e-5)/pc*100+.5)/100}function gc(e){return Math.round((e*pc+5)/pc*256)/256}function wc(e){return gc(bc(mc(e)))}function kc(e){var r=Math.abs(e-wc(e)),t=pc;if(r>.005)for(pc=vc;pc<dc;++pc)if(Math.abs(e-wc(e))<=r){r=Math.abs(e-wc(e));t=pc}pc=t}function Tc(e){if(e.width){e.wpx=mc(e.width);e.wch=bc(e.wpx);e.MDW=pc}else if(e.wpx){e.wch=bc(e.wpx);e.width=gc(e.wch);e.MDW=pc}else if(typeof e.wch=="number"){e.width=gc(e.wch);e.wpx=mc(e.width);e.MDW=pc}if(e.customWidth)delete e.customWidth}var Ec=96,Sc=Ec;function yc(e){return e*96/Sc}function _c(e){return e*Sc/96}var xc={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Ac(e,r,t,a){r.Borders=[];var n={};var i=false;(e[0].match(Ne)||[]).forEach(function(e){var t=Pe(e);switch(Le(t[0])){case"<borders":;case"<borders>":;case"</borders>":break;case"<border":;case"<border>":;case"<border/>":n={};if(t.diagonalUp)n.diagonalUp=Ke(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=Ke(t.diagonalDown);r.Borders.push(n);break;case"</border>":break;case"<left/>":break;case"<left":;case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":;case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":;case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":;case"<bottom>":break;case"</bottom>":break;case"<diagonal":;case"<diagonal>":;case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":;case"<horizontal>":;case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":;case"<vertical>":;case"<vertical/>":break;case"</vertical>":break;case"<start":;case"<start>":;case"<start/>":break;case"</start>":break;case"<end":;case"<end>":;case"<end/>":break;case"</end>":break;case"<color":;case"<color>":break;case"<color/>":;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in borders")};}})}function Cc(e,r,t,a){r.Fills=[];var n={};var i=false;(e[0].match(Ne)||[]).forEach(function(e){var t=Pe(e);switch(Le(t[0])){case"<fills":;case"<fills>":;case"</fills>":break;case"<fill>":;case"<fill":;case"<fill/>":n={};r.Fills.push(n);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":;case"</gradientFill>":r.Fills.push(n);n={};break;case"<patternFill":;case"<patternFill>":if(t.patternType)n.patternType=t.patternType;break;case"<patternFill/>":;case"</patternFill>":break;case"<bgColor":if(!n.bgColor)n.bgColor={};if(t.indexed)n.bgColor.indexed=parseInt(t.indexed,10);if(t.theme)n.bgColor.theme=parseInt(t.theme,10);if(t.tint)n.bgColor.tint=parseFloat(t.tint);if(t.rgb)n.bgColor.rgb=t.rgb.slice(-6);break;case"<bgColor/>":;case"</bgColor>":break;case"<fgColor":if(!n.fgColor)n.fgColor={};if(t.theme)n.fgColor.theme=parseInt(t.theme,10);if(t.tint)n.fgColor.tint=parseFloat(t.tint);if(t.rgb!=null)n.fgColor.rgb=t.rgb.slice(-6);break;case"<fgColor/>":;case"</fgColor>":break;case"<stop":;case"<stop/>":break;case"</stop>":break;case"<color":;case"<color/>":break;case"</color>":break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":i=true;break;case"</ext>":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error("unrecognized "+t[0]+" in fills")};}})}function Rc(e,r,t,a){r.Fonts=[];var n={};var s=false;(e[0].match(Ne)||[]).forEach(function(e){var f=Pe(e);switch(Le(f[0])){case"<fonts":;case"<fonts>":;case"</fonts>":break;case"<font":;case"<font>":break;case"</font>":;case"<font/>":r.Fonts.push(n);n={};break;case"<name":if(f.val)n.name=Je(f.val);break;case"<name/>":;case"</name>":break;case"<b":n.bold=f.val?Ke(f.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=f.val?Ke(f.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(f.val){case"none":n.underline=0;break;case"single":n.underline=1;break;case"double":n.underline=2;break;case"singleAccounting":n.underline=33;break;case"doubleAccounting":n.underline=34;break;}break;case"<u/>":n.underline=1;break;case"<strike":n.strike=f.val?Ke(f.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=f.val?Ke(f.val):1;break;case"<outline/>":n.outline=1;break;case"<shadow":n.shadow=f.val?Ke(f.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=f.val?Ke(f.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=f.val?Ke(f.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":if(f.val)n.sz=+f.val;break;case"<sz/>":;case"</sz>":break;case"<vertAlign":if(f.val)n.vertAlign=f.val;break;case"<vertAlign/>":;case"</vertAlign>":break;case"<family":if(f.val)n.family=parseInt(f.val,10);break;case"<family/>":;case"</family>":break;case"<scheme":if(f.val)n.scheme=f.val;break;case"<scheme/>":;case"</scheme>":break;case"<charset":if(f.val=="1")break;f.codepage=i[parseInt(f.val,10)];break;case"<color":if(!n.color)n.color={};if(f.auto)n.color.auto=Ke(f.auto);if(f.rgb)n.color.rgb=f.rgb.slice(-6);else if(f.indexed){n.color.index=parseInt(f.indexed,10);var c=Oa[n.color.index];if(n.color.index==81)c=Oa[1];if(!c)c=Oa[1];n.color.rgb=c[0].toString(16)+c[1].toString(16)+c[2].toString(16)}else if(f.theme){n.color.theme=parseInt(f.theme,10);if(f.tint)n.color.tint=parseFloat(f.tint);if(f.theme&&t.themeElements&&t.themeElements.clrScheme){n.color.rgb=uc(t.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)}}break;case"<color/>":;case"</color>":break;case"<AlternateContent":s=true;break;case"</AlternateContent>":s=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":s=true;break;case"</ext>":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error("unrecognized "+f[0]+" in fonts")};}})}function Oc(e,r,t){r.NumberFmt=[];var a=Y(D._table);for(var n=0;n<a.length;++n)r.NumberFmt[a[n]]=D._table[a[n]];var i=e[0].match(Ne);if(!i)return;for(n=0;n<i.length;++n){var s=Pe(i[n]);switch(Le(s[0])){case"<numFmts":;case"</numFmts>":;case"<numFmts/>":;case"<numFmts>":break;case"<numFmt":{var f=Be(Je(s.formatCode)),c=parseInt(s.numFmtId,10);r.NumberFmt[c]=f;if(c>0){if(c>392){for(c=392;c>60;--c)if(r.NumberFmt[c]==null)break;r.NumberFmt[c]=f}D.load(f,c)}}break;case"</numFmt>":break;default:if(t.WTF)throw new Error("unrecognized "+s[0]+" in numFmts");}}}function Ic(e){var r=["<numFmts>"];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=or("numFmt",null,{numFmtId:a,formatCode:ze(e[a])})});if(r.length===1)return"";r[r.length]="</numFmts>";r[0]=or("numFmts",null,{count:r.length-2}).replace("/>",">");return r.join("")}var Nc=["numFmtId","fillId","fontId","borderId","xfId"];var Fc=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Dc(e,r,t){r.CellXf=[];var a;var n=false;(e[0].match(Ne)||[]).forEach(function(e){var i=Pe(e),s=0;switch(Le(i[0])){case"<cellXfs":;case"<cellXfs>":;case"<cellXfs/>":;case"</cellXfs>":break;case"<xf":;case"<xf/>":a=i;delete a[0];for(s=0;s<Nc.length;++s)if(a[Nc[s]])a[Nc[s]]=parseInt(a[Nc[s]],10);for(s=0;s<Fc.length;++s)if(a[Fc[s]])a[Fc[s]]=Ke(a[Fc[s]]);if(r.NumberFmt&&a.numFmtId>392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case"</xf>":break;case"<alignment":;case"<alignment/>":var f={};if(i.vertical)f.vertical=i.vertical;if(i.horizontal)f.horizontal=i.horizontal;if(i.textRotation!=null)f.textRotation=i.textRotation;if(i.indent)f.indent=i.indent;if(i.wrapText)f.wrapText=Ke(i.wrapText);a.alignment=f;break;case"</alignment>":break;case"<protection":break;case"</protection>":;case"<protection/>":break;case"<AlternateContent":n=true;break;case"</AlternateContent>":n=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error("unrecognized "+i[0]+" in cellXfs")};}})}function Pc(e){var r=[];r[r.length]=or("cellXfs",null);e.forEach(function(e){r[r.length]=or("xf",null,e)});r[r.length]="</cellXfs>";if(r.length===2)return"";r[0]=or("cellXfs",null,{count:r.length-2}).replace("/>",">");return r.join("")}var Lc=function Hg(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/;var r=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/;var t=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/;var a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/;var n=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function i(s,f,c){var l={};if(!s)return l;s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");var o;if(o=s.match(e))Oc(o,l,c);if(o=s.match(a))Rc(o,l,f,c);if(o=s.match(t))Cc(o,l,f,c);if(o=s.match(n))Ac(o,l,f,c);if(o=s.match(r))Dc(o,l,c);return l}}();function Mc(e,r){var t=[Oe,or("styleSheet",null,{xmlns:mr[0],"xmlns:vt":pr.vt})],a;if(e.SSF&&(a=Ic(e.SSF))!=null)t[t.length]=a;t[t.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>';t[t.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>';t[t.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>';t[t.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>';if(a=Pc(r.cellXfs))t[t.length]=a;t[t.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>';t[t.length]='<dxfs count="0"/>';t[t.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>';if(t.length>2){t[t.length]="</styleSheet>";t[1]=t[1].replace("/>",">")}return t.join("")}function Uc(e,r){var t=e._R(2);var a=It(e,r-2);return[t,a]}function Bc(e,r,t){if(!t)t=tt(6+4*r.length);t._W(2,e);Nt(r,t);var a=t.length>t.l?t.slice(0,t.l):t;if(t.l==null)t.l=t.length;return a}function Wc(e,r,t){var a={};a.sz=e._R(2)/20;var n=sa(e,2,t);if(n.fItalic)a.italic=1;if(n.fCondense)a.condense=1;if(n.fExtend)a.extend=1;if(n.fShadow)a.shadow=1;if(n.fOutline)a.outline=1;if(n.fStrikeout)a.strike=1;var i=e._R(2);if(i===700)a.bold=1;switch(e._R(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break;}var s=e._R(1);if(s!=0)a.underline=s;var f=e._R(1);if(f>0)a.family=f;var c=e._R(1);if(c>0)a.charset=c;e.l++;a.color=na(e,8);switch(e._R(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break;}a.name=It(e,r-21);return a}function Hc(e,r){if(!r)r=tt(25+4*32);r._W(2,e.sz*20);fa(e,r);r._W(2,e.bold?700:400);var t=0;if(e.vertAlign=="superscript")t=1;else if(e.vertAlign=="subscript")t=2;r._W(2,t);r._W(1,e.underline||0);r._W(1,e.family||0);r._W(1,e.charset||0);r._W(1,0);ia(e.color,r);var a=0;if(e.scheme=="major")a=1;if(e.scheme=="minor")a=2;r._W(1,a);Nt(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var zc=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];var Vc;var Gc=rt;function jc(e,r){if(!r)r=tt(4*3+8*7+16*1);if(!Vc)Vc=J(zc);var t=Vc[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){ia({auto:1},r);ia({auto:1},r);for(;a<12;++a)r._W(4,0)}else{for(;a<4;++a)r._W(4,0);for(;a<12;++a)r._W(4,0)}return r.length>r.l?r.slice(0,r.l):r}function Xc(e,r){var t=e.l+r;var a=e._R(2);var n=e._R(2);e.l=t;return{ixfe:a,numFmtId:n}}function $c(e,r,t){if(!t)t=tt(16);t._W(2,r||0);t._W(2,e.numFmtId||0);t._W(2,0);t._W(2,0);t._W(2,0);t._W(1,0);t._W(1,0);var a=0;t._W(1,a);t._W(1,0);t._W(1,0);t._W(1,0);return t}function Yc(e,r){if(!r)r=tt(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var Kc=rt;function Jc(e,r){if(!r)r=tt(51);r._W(1,0);Yc(null,r);Yc(null,r);Yc(null,r);Yc(null,r);Yc(null,r);return r.length>r.l?r.slice(0,r.l):r}function qc(e,r){if(!r)r=tt(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);Xt(e.name||"",r);return r.length>r.l?r.slice(0,r.l):r}function Zc(e,r,t){var a=tt(4+256*2*4);a._W(4,e);Xt(r,a);Xt(t,a);return a.length>a.l?a.slice(0,a.l):a}function Qc(e,r,t){var a={};a.NumberFmt=[];for(var n in D._table)a.NumberFmt[n]=D._table[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;at(e,function f(e,n,c){switch(c){case 44:a.NumberFmt[e[0]]=e[1];D.load(e[1],e[0]);break;case 43:a.Fonts.push(e);if(e.color.theme!=null&&r&&r.themeElements&&r.themeElements.clrScheme){e.color.rgb=uc(r.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0)}break;case 1025:break;case 45:break;case 46:break;case 47:if(i[i.length-1]==617){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:;case 3072:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(c);s=true;break;case 38:i.pop();s=false;break;default:if(n.T>0)i.push(c);else if(n.T<0)i.pop();else if(!s||t.WTF&&i[i.length-1]!=37)throw new Error("Unexpected record 0x"+c.toString(16));}});return a}function el(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;it(e,615,Ot(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)it(e,44,Bc(a,r[a]))});it(e,616)}function rl(e){var r=1;if(r==0)return;it(e,611,Ot(r));it(e,43,Hc({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"}));it(e,612)}function tl(e){var r=2;if(r==0)return;it(e,603,Ot(r));it(e,45,jc({patternType:"none"}));it(e,45,jc({patternType:"gray125"}));it(e,604)}function al(e){var r=1;if(r==0)return;it(e,613,Ot(r));it(e,46,Jc({}));it(e,614)}function nl(e){var r=1;it(e,626,Ot(r));it(e,47,$c({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));it(e,627)}function il(e,r){it(e,617,Ot(r.length));r.forEach(function(r){it(e,47,$c(r,0))});it(e,618)}function sl(e){var r=1;it(e,619,Ot(r));it(e,48,qc({xfId:0,builtinId:0,name:"Normal"}));it(e,620)}function fl(e){var r=0;it(e,505,Ot(r));it(e,506)}function cl(e){var r=0;it(e,508,Zc(r,"TableStyleMedium9","PivotStyleMedium4"));it(e,509)}function ll(){return}function ol(e,r){var t=nt();it(t,278);el(t,e.SSF);rl(t,e);tl(t,e);al(t,e);nl(t,e);il(t,r.cellXfs);sl(t,e);fl(t,e);cl(t,e);ll(t,e);it(t,279);return t.end()}var ul=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function hl(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(Ne)||[]).forEach(function(e){var n=Pe(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[ul.indexOf(n[0])]=a;a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme");}})}function dl(){}function vl(){}var pl=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/;var ml=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/;var bl=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function gl(e,r,t){r.themeElements={};var a;[["clrScheme",pl,hl],["fontScheme",ml,dl],["fmtScheme",bl,vl]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,r,t)})}var wl=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function kl(e,r){if(!e||e.length===0)e=Tl();var t;var a={};if(!(t=e.match(wl)))throw new Error("themeElements not found in theme");gl(t[0],a,r);a.raw=e;return a}function Tl(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[Oe];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"/></a:dk2>';t[t.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>';t[t.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>';t[t.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>';t[t.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>';t[t.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>';t[t.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>';t[t.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>';t[t.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>';t[t.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>';t[t.length]="</a:clrScheme>";t[t.length]='<a:fontScheme name="Office">';t[t.length]="<a:majorFont>";t[t.length]='<a:latin typeface="Cambria"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface=" Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Times New Roman"/>';t[t.length]='<a:font script="Hebr" typeface="Times New Roman"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="MoolBoran"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Times New Roman"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:majorFont>";t[t.length]="<a:minorFont>";t[t.length]='<a:latin typeface="Calibri"/>';t[t.length]='<a:ea typeface=""/>';t[t.length]='<a:cs typeface=""/>';t[t.length]='<a:font script="Jpan" typeface=" Pゴシック"/>';t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>';t[t.length]='<a:font script="Hans" typeface="宋体"/>';t[t.length]='<a:font script="Hant" typeface="新細明體"/>';t[t.length]='<a:font script="Arab" typeface="Arial"/>';t[t.length]='<a:font script="Hebr" typeface="Arial"/>';t[t.length]='<a:font script="Thai" typeface="Tahoma"/>';t[t.length]='<a:font script="Ethi" typeface="Nyala"/>';t[t.length]='<a:font script="Beng" typeface="Vrinda"/>';t[t.length]='<a:font script="Gujr" typeface="Shruti"/>';t[t.length]='<a:font script="Khmr" typeface="DaunPenh"/>';t[t.length]='<a:font script="Knda" typeface="Tunga"/>';t[t.length]='<a:font script="Guru" typeface="Raavi"/>';t[t.length]='<a:font script="Cans" typeface="Euphemia"/>';t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>';t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>';t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>';t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>';t[t.length]='<a:font script="Deva" typeface="Mangal"/>';t[t.length]='<a:font script="Telu" typeface="Gautami"/>';t[t.length]='<a:font script="Taml" typeface="Latha"/>';t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>';t[t.length]='<a:font script="Orya" typeface="Kalinga"/>';t[t.length]='<a:font script="Mlym" typeface="Kartika"/>';t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>';t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>';t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>';t[t.length]='<a:font script="Viet" typeface="Arial"/>';t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>';t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>';t[t.length]="</a:minorFont>";t[t.length]="</a:fontScheme>";t[t.length]='<a:fmtScheme name="Office">';t[t.length]="<a:fillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="1"/>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:lin ang="16200000" scaled="0"/>';t[t.length]="</a:gradFill>";t[t.length]="</a:fillStyleLst>";t[t.length]="<a:lnStyleLst>";t[t.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>';t[t.length]="</a:lnStyleLst>";t[t.length]="<a:effectStyleLst>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]="</a:effectStyle>";t[t.length]="<a:effectStyle>";t[t.length]="<a:effectLst>";t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>';t[t.length]="</a:effectLst>";t[t.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>';t[t.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>';t[t.length]="</a:effectStyle>";t[t.length]="</a:effectStyleLst>";t[t.length]="<a:bgFillStyleLst>";t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]='<a:gradFill rotWithShape="1">';t[t.length]="<a:gsLst>";t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>';t[t.length]="</a:gsLst>";t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>';t[t.length]="</a:gradFill>";t[t.length]="</a:bgFillStyleLst>";t[t.length]="</a:fmtScheme>";t[t.length]="</a:themeElements>";t[t.length]="<a:objectDefaults>";t[t.length]="<a:spDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>';t[t.length]="</a:spDef>";t[t.length]="<a:lnDef>";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>';t[t.length]="</a:lnDef>";t[t.length]="</a:objectDefaults>";t[t.length]="<a:extraClrSchemeLst/>";t[t.length]="</a:theme>";return t.join("")}function El(e,r,t){var a=e.l+r;var n=e._R(4);if(n===124226)return;if(!t.cellStyles){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=Ce(i,{type:"array"})}catch(f){return}var c=Se(s,"theme/theme/theme1.xml",true);if(!c)return;return kl(c,t)}function Sl(e){return e._R(4)}function yl(e){var r={};r.xclrType=e._R(2);r.nTintShade=e._R(2);switch(r.xclrType){case 0:e.l+=4;break;case 1:r.xclrValue=_l(e,4);break;case 2:r.xclrValue=ui(e,4);break;case 3:r.xclrValue=Sl(e,4);break;case 4:e.l+=4;break;}e.l+=8;return r}function _l(e,r){return rt(e,r)}function xl(e,r){return rt(e,r)}function Al(e){var r=e._R(2);var t=e._R(2)-4;var a=[r];switch(r){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:a[1]=yl(e,t);break;case 6:a[1]=xl(e,t);break;case 14:;case 15:a[1]=e._R(t===1?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+r+" "+t);}return a}function Cl(e,r){var t=e.l+r;e.l+=2;var a=e._R(2);e.l+=2;var n=e._R(2);var i=[];while(n-- >0)i.push(Al(e,t-e.l));return{ixfe:a,ext:i}}function Rl(e,r){r.forEach(function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break;}})}function Ol(e,r){return{flags:e._R(4),version:e._R(4),name:It(e,r-8)}}function Il(e){var r=tt(12+2*e.name.length);r._W(4,e.flags);r._W(4,e.version);Nt(e.name,r);return r.slice(0,r.l)}function Nl(e){var r=[];var t=e._R(4);while(t-- >0)r.push([e._R(4),e._R(4)]);return r}function Fl(e){var r=tt(4+8*e.length);r._W(4,e.length);for(var t=0;t<e.length;++t){r._W(4,e[t][0]);r._W(4,e[t][1])}return r}function Dl(e,r){var t=tt(8+2*r.length);t._W(4,e);Nt(r,t);return t.slice(0,t.l)}function Pl(e){e.l+=4;return e._R(4)!=0}function Ll(e,r){var t=tt(8);t._W(4,e);t._W(4,r?1:0);return t}function Ml(e,r,t){var a={Types:[],Cell:[],Value:[]};var n=t||{};var i=[];var s=false;var f=2;at(e,function(e,r,t){switch(t){case 335:a.Types.push({name:e.name});break;case 51:e.forEach(function(e){if(f==1)a.Cell.push({type:a.Types[e[0]-1].name,index:e[1]});else if(f==0)a.Value.push({type:a.Types[e[0]-1].name,index:e[1]})});break;case 337:f=e?1:0;break;case 338:f=2;break;case 35:i.push(t);s=true;break;case 36:i.pop();s=false;break;default:if(r.T){}else if(!s||n.WTF&&i[i.length-1]!=35)throw new Error("Unexpected record 0x"+t.toString(16));}});return a}function Ul(){var e=nt();it(e,332);it(e,334,Ot(1));it(e,335,Il({name:"XLDAPR",version:12e4,flags:3496657072}));it(e,336);it(e,339,Dl(1,"XLDAPR"));it(e,52);it(e,35,Ot(514));it(e,4096,Ot(0));it(e,4097,Xn(1));it(e,36);it(e,53);it(e,340);it(e,337,Ll(1,true));it(e,51,Fl([[1,0]]));it(e,338);it(e,333);return e.end()}function Bl(e,r,t){var a={Types:[],Cell:[],Value:[]};if(!e)return a;var n=false;var i=2;e.replace(Ne,function(e){var r=Pe(e);switch(Le(r[0])){case"<?xml":break;case"<metadata":;case"</metadata>":break;case"<metadataTypes":;case"</metadataTypes>":break;case"<metadataType":a.Types.push({name:r.name});break;case"</metadataType>":break;case"<futureMetadata":break;case"</futureMetadata>":break;case"<bk>":break;case"</bk>":break;case"<rc":if(i==1)a.Cell.push({type:a.Types[r.t-1].name,index:+r.v});else if(i==0)a.Value.push({type:a.Types[r.t-1].name,index:+r.v});break;case"</rc>":break;case"<cellMetadata":i=1;break;case"</cellMetadata>":i=2;break;case"<valueMetadata":i=0;break;case"</valueMetadata>":i=2;break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":n=true;break;case"</ext>":n=false;break;default:if(!n&&t.WTF)throw new Error("unrecognized "+r[0]+" in metadata");}return e});return a}function Wl(){var e=[Oe];e.push('<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>');
return e.join("")}function Hl(e){var r=[];if(!e)return r;var t=1;(e.match(Ne)||[]).forEach(function(e){var a=Pe(e);switch(a[0]){case"<?xml":break;case"<calcChain":;case"<calcChain>":;case"</calcChain>":break;case"<c":delete a[0];if(a.i)t=a.i;else a.i=t;r.push(a);break;}});return r}function zl(e){var r={};r.i=e._R(4);var t={};t.r=e._R(4);t.c=e._R(4);r.r=kt(t);var a=e._R(1);if(a&2)r.l="1";if(a&8)r.a="1";return r}function Vl(e,r,t){var a=[];var n=false;at(e,function i(e,r,s){switch(s){case 63:a.push(e);break;default:if(r.T){}else if(!n||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16));}});return a}function Gl(){}function jl(e,r,t,a){if(!e)return e;var n=a||{};var i=false,s=false;at(e,function f(e,r,t){if(s)return;switch(t){case 359:;case 363:;case 364:;case 366:;case 367:;case 368:;case 369:;case 370:;case 371:;case 472:;case 577:;case 578:;case 579:;case 580:;case 581:;case 582:;case 583:;case 584:;case 585:;case 586:;case 587:break;case 35:i=true;break;case 36:i=false;break;default:if(r.T){}else if(!i||n.WTF)throw new Error("Unexpected record 0x"+t.toString(16));}},n)}function Xl(e,r){if(!e)return"??";var t=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return r["!id"][t].Target}var $l=1024;function Yl(e,r){var t=[21600,21600];var a=["m0,0l0",t[1],t[0],t[1],t[0],"0xe"].join(",");var n=[or("xml",null,{"xmlns:v":br.v,"xmlns:o":br.o,"xmlns:x":br.x,"xmlns:mv":br.mv}).replace(/\/>/,">"),or("o:shapelayout",or("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),or("v:shapetype",[or("v:stroke",null,{joinstyle:"miter"}),or("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:t.join(","),path:a})];while($l<e*1e3)$l+=1e3;r.forEach(function(e){var r=wt(e[0]);var t={color2:"#BEFF82",type:"gradient"};if(t.type=="gradient")t.angle="-180";var a=t.type=="gradient"?or("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null;var i=or("v:fill",a,t);var s={on:"t",obscured:"t"};++$l;n=n.concat(["<v:shape"+lr({id:"_x0000_s"+$l,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",i,or("v:shadow",null,s),or("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",cr("x:Anchor",[r.c+1,0,r.r+1,0,r.c+3,20,r.r+5,20].join(",")),cr("x:AutoFill","False"),cr("x:Row",String(r.r)),cr("x:Column",String(r.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])});n.push("</xml>");return n.join("")}function Kl(e,r,t,a){var n=Array.isArray(e);var i;r.forEach(function(r){var s=wt(r.ref);if(n){if(!e[s.r])e[s.r]=[];i=e[s.r][s.c]}else i=e[r.ref];if(!i){i={t:"z"};if(n)e[s.r][s.c]=i;else e[r.ref]=i;var f=St(e["!ref"]||"BDWGO1000001:A1");if(f.s.r>s.r)f.s.r=s.r;if(f.e.r<s.r)f.e.r=s.r;if(f.s.c>s.c)f.s.c=s.c;if(f.e.c<s.c)f.e.c=s.c;var c=Et(f);if(c!==e["!ref"])e["!ref"]=c}if(!i.c)i.c=[];var l={a:r.author,t:r.t,r:r.r,T:t};if(r.h)l.h=r.h;for(var o=i.c.length-1;o>=0;--o){if(!t&&i.c[o].T)return;if(t&&!i.c[o].T)i.c.splice(o,1)}if(t&&a)for(o=0;o<a.length;++o){if(l.a==a[o].id){l.a=a[o].name||l.a;break}}i.c.push(l)})}function Jl(e,r){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var t=[];var a=[];var n=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);if(n&&n[1])n[1].split(/<\/\w*:?author>/).forEach(function(e){if(e===""||e.trim()==="")return;var r=e.match(/<(?:\w+:)?author[^>]*>(.*)/);if(r)t.push(r[1])});var i=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);if(i&&i[1])i[1].split(/<\/\w*:?comment>/).forEach(function(e){if(e===""||e.trim()==="")return;var n=e.match(/<(?:\w+:)?comment[^>]*>/);if(!n)return;var i=Pe(n[0]);var s={author:i.authorId&&t[i.authorId]||"sheetjsghost",ref:i.ref,guid:i.guid};var f=wt(i.ref);if(r.sheetRows&&r.sheetRows<=f.r)return;var c=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/);var l=!!c&&!!c[1]&&_f(c[1])||{r:"",t:"",h:""};s.r=l.r;if(l.r=="<t></t>")l.t=l.h="";s.t=(l.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n");if(r.cellHTML)s.h=l.h;a.push(s)});return a}function ql(e){var r=[Oe,or("comments",null,{xmlns:mr[0]})];var t=[];r.push("<authors>");e.forEach(function(e){e[1].forEach(function(e){var a=ze(e.a);if(t.indexOf(a)==-1){t.push(a);r.push("<author>"+a+"</author>")}if(e.T&&e.ID&&t.indexOf("tc="+e.ID)==-1){t.push("tc="+e.ID);r.push("<author>"+"tc="+e.ID+"</author>")}})});if(t.length==0){t.push("SheetJ5");r.push("<author>SheetJ5</author>")}r.push("</authors>");r.push("<commentList>");e.forEach(function(e){var a=0,n=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID)a=t.indexOf("tc="+e[1][0].ID);else e[1].forEach(function(e){if(e.a)a=t.indexOf(ze(e.a));n.push(e.t||"")});r.push('<comment ref="'+e[0]+'" authorId="'+a+'"><text>');if(n.length<=1)r.push(cr("t",ze(n[0]||"")));else{var i="Comment:\n "+n[0]+"\n";for(var s=1;s<n.length;++s)i+="Reply:\n "+n[s]+"\n";r.push(cr("t",ze(i)))}r.push("</text></comment>")});r.push("</commentList>");if(r.length>2){r[r.length]="</comments>";r[1]=r[1].replace("/>",">")}return r.join("")}function Zl(e,r){var t=[];var a=false,n={},i=0;e.replace(Ne,function s(f,c){var l=Pe(f);switch(Le(l[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":n={author:l.personId,guid:l.id,ref:l.ref,T:1};break;case"</threadedComment>":if(n.t!=null)t.push(n);break;case"<text>":;case"<text":i=c+f.length;break;case"</text>":n.t=e.slice(i,c).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":;case"<mentions>":a=true;break;case"</mentions>":a=false;break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+l[0]+" in threaded comments");}return f});return t}function Ql(e,r,t){var a=[Oe,or("ThreadedComments",null,{xmlns:pr.TCMNT}).replace(/[\/]>/,">")];e.forEach(function(e){var n="";(e[1]||[]).forEach(function(i,s){if(!i.T){delete i.ID;return}if(i.a&&r.indexOf(i.a)==-1)r.push(i.a);var f={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};if(s==0)n=f.id;else f.parentId=n;i.ID=f.id;if(i.a)f.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(i.a)).slice(-12)+"}";a.push(or("threadedComment",cr("text",i.t||""),f))})});a.push("</ThreadedComments>");return a.join("")}function eo(e,r){var t=[];var a=false;e.replace(Ne,function n(e){var n=Pe(e);switch(Le(n[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":t.push({name:n.displayname,id:n.id});break;case"</person>":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;default:if(!a&&r.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments");}return e});return t}function ro(e){var r=[Oe,or("personList",null,{xmlns:pr.TCMNT,"xmlns:x":mr[0]}).replace(/[\/]>/,">")];e.forEach(function(e,t){r.push(or("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+t).slice(-12)+"}",userId:e,providerId:"None"}))});r.push("</personList>");return r.join("")}function to(e){var r={};r.iauthor=e._R(4);var t=ea(e,16);r.rfx=t.s;r.ref=kt(t.s);e.l+=16;return r}function ao(e,r){if(r==null)r=tt(36);r._W(4,e[1].iauthor);ra(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);return r}var no=It;function io(e){return Nt(e.slice(0,54))}function so(e,r){var t=[];var a=[];var n={};var i=false;at(e,function s(e,f,c){switch(c){case 632:a.push(e);break;case 635:n=e;break;case 637:n.t=e.t;n.h=e.h;n.r=e.r;break;case 636:n.author=a[n.iauthor];delete n.iauthor;if(r.sheetRows&&n.rfx&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t="";delete n.rfx;t.push(n);break;case 3072:break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if(f.T){}else if(!i||r.WTF)throw new Error("Unexpected record 0x"+c.toString(16));}});return t}function fo(e){var r=nt();var t=[];it(r,628);it(r,630);e.forEach(function(e){e[1].forEach(function(e){if(t.indexOf(e.a)>-1)return;t.push(e.a.slice(0,54));it(r,632,io(e.a))})});it(r,631);it(r,633);e.forEach(function(e){e[1].forEach(function(a){a.iauthor=t.indexOf(a.a);var n={s:wt(e[0]),e:wt(e[0])};it(r,635,ao([n,a]));if(a.t&&a.t.length>0)it(r,637,Ut(a));it(r,636);delete a.iauthor})});it(r,634);it(r,629);return r.end()}var co="application/vnd.ms-office.vbaProject";function lo(e){var r=z.utils.cfb_new({root:"R"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)==="/"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");z.utils.cfb_add(r,n,e.FileIndex[a].content)});return z.write(r)}function oo(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");if(n.slice(-1)!=="/")z.utils.cfb_add(e,n,r.FileIndex[a].content)})}var uo=["xlsb","xlsm","xlam","biff8","xla"];function ho(){return{"!type":"dialog"}}function vo(){return{"!type":"dialog"}}function po(){return{"!type":"macro"}}function mo(){return{"!type":"macro"}}var bo=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)=="["){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)=="["){i=true;n=n.slice(1,-1)}var f=a.length>0?parseInt(a,10)|0:0,c=n.length>0?parseInt(n,10)|0:0;if(i)c+=r.c;else--c;if(s)f+=r.r;else--f;return t+(i?"":"$")+pt(c)+(s?"":"$")+ut(f)}return function a(n,i){r=i;return n.replace(e,t)}}();var go=/(^|[^._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;var wo=function(){return function e(r,t){return r.replace(go,function(e,r,a,n,i,s){var f=vt(n)-(a?0:t.c);var c=ot(s)-(i?0:t.r);var l=c==0?"":!i?"["+c+"]":c+1;var o=f==0?"":!a?"["+f+"]":f+1;return r+"R"+l+"C"+o})}}();function ko(e,r){return e.replace(go,function(e,t,a,n,i,s){return t+(a=="$"?a+n:pt(vt(n)+r.c))+(i=="$"?i+s:ut(ot(s)+r.r))})}function To(e,r,t){var a=Tt(r),n=a.s,i=wt(t);var s={r:i.r-n.r,c:i.c-n.c};return ko(e,s)}function Eo(e){if(e.length==1)return false;return true}function So(e){return e.replace(/_xlfn\./g,"")}function yo(e){e.l+=1;return}function _o(e,r){var t=e._R(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function xo(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return Ao(e,r,t);else if(t.biff==12)a=4}var n=e._R(a),i=e._R(a);var s=_o(e,2);var f=_o(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function Ao(e){var r=_o(e,2),t=_o(e,2);var a=e._R(1);var n=e._R(1);return{s:{r:r[0],c:a,cRel:r[1],rRel:r[2]},e:{r:t[0],c:n,cRel:t[1],rRel:t[2]}}}function Co(e,r,t){if(t.biff<8)return Ao(e,r,t);var a=e._R(t.biff==12?4:2),n=e._R(t.biff==12?4:2);var i=_o(e,2);var s=_o(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function Ro(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return Oo(e,r,t);var a=e._R(t&&t.biff==12?4:2);var n=_o(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function Oo(e){var r=_o(e,2);var t=e._R(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function Io(e){var r=e._R(2);var t=e._R(2);return{r:r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function No(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return Fo(e,r,t);var n=e._R(a>=12?4:2);var i=e._R(2);var s=(i&16384)>>14,f=(i&32768)>>15;i&=16383;if(f==1)while(n>524287)n-=1048576;if(s==1)while(i>8191)i=i-16384;return{r:n,c:i,cRel:s,rRel:f}}function Fo(e){var r=e._R(2);var t=e._R(1);var a=(r&32768)>>15,n=(r&16384)>>14;r&=16383;if(a==1&&r>=8192)r=r-16384;if(n==1&&t>=128)t=t-256;return{r:r,c:t,cRel:n,rRel:a}}function Do(e,r,t){var a=(e[e.l++]&96)>>5;var n=xo(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function Po(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2,"i");var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break;}var s=xo(e,i,t);return[a,n,s]}function Lo(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:t.biff<8?6:8;return[a]}function Mo(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break;}e.l+=i;return[a,n]}function Uo(e,r,t){var a=(e[e.l++]&96)>>5;var n=Co(e,r-1,t);return[a,n]}function Bo(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function Wo(e){var r=e[e.l+1]&1;var t=1;e.l+=4;return[r,t]}function Ho(e,r,t){e.l+=2;var a=e._R(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e._R(t&&t.biff==2?1:2));return n}function zo(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Vo(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Go(e){var r=e[e.l+1]&255?1:0;e.l+=2;return[r,e._R(2)]}function jo(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function Xo(e){var r=e._R(1),t=e._R(1);return[r,t]}function $o(e){e._R(2);return Xo(e,2)}function Yo(e){e._R(2);return Xo(e,2)}function Ko(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=Ro(e,0,t);return[a,n]}function Jo(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=No(e,0,t);return[a,n]}function qo(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(2);if(t&&t.biff==5)e.l+=12;var i=Ro(e,0,t);return[a,n,i]}function Zo(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(t&&t.biff<=3?1:2);return[ph[n],vh[n],a]}function Qo(e,r,t){var a=e[e.l++];var n=e._R(1),i=t&&t.biff<=3?[a==88?-1:0,e._R(1)]:eu(e);return[n,(i[0]===0?vh:dh)[i[1]]]}function eu(e){return[e[e.l+1]>>7,e._R(2)&32767]}function ru(e,r,t){e.l+=t&&t.biff==2?3:4;return}function tu(e,r,t){e.l++;if(t&&t.biff==12)return[e._R(4,"i"),0];var a=e._R(2);var n=e._R(t&&t.biff==2?1:2);return[a,n]}function au(e){e.l++;return Ia[e._R(1)]}function nu(e){e.l++;return e._R(2)}function iu(e){e.l++;return e._R(1)!==0}function su(e){e.l++;return ta(e,8)}function fu(e,r,t){e.l++;return Jn(e,r-1,t)}function cu(e,r){var t=[e._R(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break;}switch(t[0]){case 4:t[1]=Vn(e,1)?"TRUE":"FALSE";if(r!=12)e.l+=7;break;case 37:;case 16:t[1]=Ia[e[e.l]];e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=ta(e,8);break;case 2:t[1]=ri(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0]);}return t}function lu(e,r,t){var a=e._R(t.biff==12?4:2);var n=[];for(var i=0;i!=a;++i)n.push((t.biff==12?ea:ki)(e,8));return n}function ou(e,r,t){var a=0,n=0;if(t.biff==12){a=e._R(4);n=e._R(4)}else{n=1+e._R(1);a=1+e._R(2)}if(t.biff>=2&&t.biff<8){--a;if(--n==0)n=256}for(var i=0,s=[];i!=a&&(s[i]=[]);++i)for(var f=0;f!=n;++f)s[i][f]=cu(e,t.biff);return s}function uu(e,r,t){var a=e._R(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e._R(n);switch(t.biff){case 2:e.l+=5;break;case 3:;case 4:e.l+=8;break;case 5:e.l+=12;break;}return[a,0,i]}function hu(e,r,t){if(t.biff==5)return du(e,r,t);var a=e._R(1)>>>5&3;var n=e._R(2);var i=e._R(4);return[a,n,i]}function du(e){var r=e._R(1)>>>5&3;var t=e._R(2,"i");e.l+=8;var a=e._R(2);e.l+=12;return[r,t,a]}function vu(e,r,t){var a=e._R(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function pu(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function mu(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff<8)e.l--;if(t.biff==12)e.l+=2;return[a]}function bu(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=4;if(t)switch(t.biff){case 5:i=15;break;case 12:i=6;break;}e.l+=i;return[a,n]}var gu=rt;var wu=rt;var ku=rt;function Tu(e,r,t){e.l+=2;return[Io(e,4,t)]}function Eu(e){e.l+=6;return[]}var Su=Tu;var yu=Eu;var _u=Eu;var xu=Tu;function Au(e){e.l+=2;return[jn(e),e._R(2)&1]}var Cu=Tu;var Ru=Au;var Ou=Eu;var Iu=Tu;var Nu=Tu;var Fu=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Du(e){e.l+=2;var r=e._R(2);var t=e._R(2);var a=e._R(4);var n=e._R(2);var i=e._R(2);var s=Fu[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:a,c:n,C:i}}function Pu(e){e.l+=2;return[e._R(4)]}function Lu(e,r,t){e.l+=5;e.l+=2;e.l+=t.biff==2?1:4;return["PTGSHEET"]}function Mu(e,r,t){e.l+=t.biff==2?4:5;return["PTGENDSHEET"]}function Uu(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Bu(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Wu(e){e.l+=4;return[0,0]}var Hu={1:{n:"PtgExp",f:tu},2:{n:"PtgTbl",f:ku},3:{n:"PtgAdd",f:yo},4:{n:"PtgSub",f:yo},5:{n:"PtgMul",f:yo},6:{n:"PtgDiv",f:yo},7:{n:"PtgPower",f:yo},8:{n:"PtgConcat",f:yo},9:{n:"PtgLt",f:yo},10:{n:"PtgLe",f:yo},11:{n:"PtgEq",f:yo},12:{n:"PtgGe",f:yo},13:{n:"PtgGt",f:yo},14:{n:"PtgNe",f:yo},15:{n:"PtgIsect",f:yo},16:{n:"PtgUnion",f:yo},17:{n:"PtgRange",f:yo},18:{n:"PtgUplus",f:yo},19:{n:"PtgUminus",f:yo},20:{n:"PtgPercent",f:yo},21:{n:"PtgParen",f:yo},22:{n:"PtgMissArg",f:yo},23:{n:"PtgStr",f:fu},26:{n:"PtgSheet",f:Lu},27:{n:"PtgEndSheet",f:Mu},28:{n:"PtgErr",f:au},29:{n:"PtgBool",f:iu},30:{n:"PtgInt",f:nu},31:{n:"PtgNum",f:su},32:{n:"PtgArray",f:Bo},33:{n:"PtgFunc",f:Zo},34:{n:"PtgFuncVar",f:Qo},35:{n:"PtgName",f:uu},36:{n:"PtgRef",f:Ko},37:{n:"PtgArea",f:Do},38:{n:"PtgMemArea",f:vu},39:{n:"PtgMemErr",f:gu},40:{n:"PtgMemNoMem",f:wu},41:{n:"PtgMemFunc",f:pu},42:{n:"PtgRefErr",f:mu},43:{n:"PtgAreaErr",f:Lo},44:{n:"PtgRefN",f:Jo},45:{n:"PtgAreaN",f:Uo},46:{n:"PtgMemAreaN",f:Uu},47:{n:"PtgMemNoMemN",f:Bu},57:{n:"PtgNameX",f:hu},58:{n:"PtgRef3d",f:qo},59:{n:"PtgArea3d",f:Po},60:{n:"PtgRefErr3d",f:bu},61:{n:"PtgAreaErr3d",f:Mo},255:{}};var zu={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};var Vu={1:{n:"PtgElfLel",f:Au},2:{n:"PtgElfRw",f:Iu},3:{n:"PtgElfCol",f:Su},6:{n:"PtgElfRwV",f:Nu},7:{n:"PtgElfColV",f:xu},10:{n:"PtgElfRadical",f:Cu},11:{n:"PtgElfRadicalS",f:Ou},13:{n:"PtgElfColS",f:yu},15:{n:"PtgElfColSV",f:_u},16:{n:"PtgElfRadicalLel",f:Ru},25:{n:"PtgList",f:Du},29:{n:"PtgSxName",f:Pu},255:{}};var Gu={0:{n:"PtgAttrNoop",f:Wu},1:{n:"PtgAttrSemi",f:jo},2:{n:"PtgAttrIf",f:Vo},4:{n:"PtgAttrChoose",f:Ho},8:{n:"PtgAttrGoto",f:zo},16:{n:"PtgAttrSum",f:ru},32:{n:"PtgAttrBaxcel",f:Wo},33:{n:"PtgAttrBaxcel",f:Wo},64:{n:"PtgAttrSpace",f:$o},65:{n:"PtgAttrSpaceSemi",f:Yo},128:{n:"PtgAttrIfError",f:Go},255:{}};function ju(e,r,t,a){if(a.biff<8)return rt(e,r);var n=e.l+r;var i=[];for(var s=0;s!==t.length;++s){switch(t[s][0]){case"PtgArray":t[s][1]=ou(e,0,a);i.push(t[s][1]);break;case"PtgMemArea":t[s][2]=lu(e,t[s][1],a);i.push(t[s][2]);break;case"PtgExp":if(a&&a.biff==12){t[s][1][1]=e._R(4);i.push(t[s][1])}break;case"PtgList":;case"PtgElfRadicalS":;case"PtgElfColS":;case"PtgElfColSV":throw"Unsupported "+t[s][0];default:break;}}r=n-e.l;if(r!==0)i.push(rt(e,r));return i}function Xu(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=Hu[i]||Hu[zu[i]];if(i===24||i===25)n=(i===24?Vu:Gu)[e[e.l+1]];if(!n||!n.f){rt(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function $u(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 Yu={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};var Ku=new RegExp(/[^\w\u4E00-\u9FFF\u3040-\u30FF]/);function Ju(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");if(Ku.test(e))return"'"+e+"'";return e}function qu(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var a=e.XTI[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 e[a[0]].slice(1).map(function(e){return e.Name}).join(";;");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 Zu(e,r,t){var a=qu(e,r,t);return a=="#REF"?a:Ju(a,t)}function Qu(e,r,t,a,n){var i=n&&n.biff||8;var s={s:{c:0,r:0},e:{c:0,r:0}};var f=[],c,l,o,u=0,h=0,d,v="";if(!e[0]||!e[0][0])return"";var p=-1,m="";for(var b=0,g=e[0].length;b<g;++b){var w=e[0][b];switch(w[0]){case"PtgUminus":f.push("-"+f.pop());break;case"PtgUplus":f.push("+"+f.pop());break;case"PtgPercent":f.push(f.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":c=f.pop();l=f.pop();if(p>=0){switch(e[0][p][1][0]){case 0:m=ue(" ",e[0][p][1][1]);break;case 1:m=ue("\r",e[0][p][1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}l=l+m;p=-1}f.push(l+Yu[w[0]]+c);break;case"PtgIsect":c=f.pop();l=f.pop();f.push(l+" "+c);break;case"PtgUnion":c=f.pop();l=f.pop();f.push(l+","+c);break;case"PtgRange":c=f.pop();l=f.pop();f.push(l+":"+c);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":o=st(w[1][1],s,n);f.push(ct(o,i));break;case"PtgRefN":o=t?st(w[1][1],t,n):w[1][1];f.push(ct(o,i));break;case"PtgRef3d":u=w[1][1];o=st(w[1][2],s,n);v=Zu(a,u,n);var k=v;f.push(v+"!"+ct(o,i));break;case"PtgFunc":;case"PtgFuncVar":var T=w[1][0],E=w[1][1];if(!T)T=0;T&=127;var S=T==0?[]:f.slice(-T);f.length-=T;if(E==="User")E=S.shift();f.push(E+"("+S.join(",")+")");break;case"PtgBool":f.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(w[1]);break;case"PtgNum":f.push(String(w[1]));break;case"PtgStr":f.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(w[1]);break;case"PtgAreaN":d=ft(w[1][1],t?{s:t}:s,n);f.push(lt(d,n));break;case"PtgArea":d=ft(w[1][1],s,n);f.push(lt(d,n));break;case"PtgArea3d":u=w[1][1];d=w[1][2];v=Zu(a,u,n);f.push(v+"!"+lt(d,n));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":;case"PtgAttrSemi":break;case"PtgName":h=w[1][2];var y=(a.names||[])[h-1]||(a[0]||[])[h];var _=y?y.Name:"SH33TJSNAME"+String(h);if(_&&_.slice(0,6)=="_xlfn."&&!n.xlfn)_=_.slice(6);f.push(_);break;case"PtgNameX":var x=w[1][1];h=w[1][2];var A;if(n.biff<=5){if(x<0)x=-x;if(a[x])A=a[x][h]}else{var C="";if(((a[x]||[])[0]||[])[0]==14849){}else if(((a[x]||[])[0]||[])[0]==1025){if(a[x][h]&&a[x][h].itab>0){C=a.SheetNames[a[x][h].itab-1]+"!"}}else C=a.SheetNames[h-1]+"!";if(a[x]&&a[x][h])C+=a[x][h].Name;else if(a[0]&&a[0][h])C+=a[0][h].Name;else{var R=(qu(a,x,n)||"").split(";;");if(R[h-1])C=R[h-1];else C+="SH33TJSERRX"}f.push(C);break}if(!A)A={Name:"SH33TJSERRY"};f.push(A.Name);break;case"PtgParen":var O="(",I=")";if(p>=0){m="";switch(e[0][p][1][0]){case 2:O=ue(" ",e[0][p][1][1])+O;break;case 3:O=ue("\r",e[0][p][1][1])+O;break;case 4:I=ue(" ",e[0][p][1][1])+I;break;case 5:I=ue("\r",e[0][p][1][1])+I;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][p][1][0]);}p=-1}f.push(O+f.pop()+I);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":o={c:w[1][1],r:w[1][0]};var N={c:t.c,r:t.r};if(a.sharedf[kt(o)]){var F=a.sharedf[kt(o)];f.push(Qu(F,s,N,a,n))}else{var D=false;for(c=0;c!=a.arrayf.length;++c){l=a.arrayf[c];if(o.c<l[0].s.c||o.c>l[0].e.c)continue;if(o.r<l[0].s.r||o.r>l[0].e.r)continue;f.push(Qu(l[1],s,N,a,n));D=true;break}if(!D)f.push(w[1])}break;case"PtgArray":f.push("{"+$u(w[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":;case"PtgAttrSpaceSemi":p=b;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":f.push("");break;case"PtgAreaErr":f.push("#REF!");break;case"PtgAreaErr3d":f.push("#REF!");break;case"PtgList":f.push("Table"+w[1].idx+"[#"+w[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(w));default:throw new Error("Unrecognized Formula Token: "+String(w));}var P=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(n.biff!=3)if(p>=0&&P.indexOf(e[0][b][0])==-1){w=e[0][p];var L=true;switch(w[1][0]){case 4:L=false;case 0:m=ue(" ",w[1][1]);break;case 5:L=false;case 1:m=ue("\r",w[1][1]);break;default:m="";if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0]);}f.push((L?m:"")+f.pop()+(L?"":m));p=-1}}if(f.length>1&&n.WTF)throw new Error("bad formula stack");return f[0]}function eh(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],rt(e,r-2)];var f=Xu(e,s,t);if(r!==s+n)i=ju(e,r-s-n,f,t);e.l=a;return[f,i]}function rh(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],rt(e,r-2)];var f=Xu(e,s,t);if(r!==s+n)i=ju(e,r-s-n,f,t);e.l=a;return[f,i]}function th(e,r,t,a){var n=e.l+r;var i=Xu(e,a,t);var s;if(n!==e.l)s=ju(e,n-e.l,i,t);return[i,s]}function ah(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=Xu(e,i,t);if(i==65535)return[[],rt(e,r-2)];if(r!==i+2)n=ju(e,a-i-2,s,t);return[s,n]}function nh(e){var r;if(Vr(e,e.l+6)!==65535)return[ta(e),"n"];switch(e[e.l]){case 0:e.l+=8;return["String","s"];case 1:r=e[e.l+2]===1;e.l+=8;return[r,"b"];case 2:r=e[e.l+2];e.l+=8;return[r,"e"];case 3:e.l+=8;return["","s"];}return[]}function ih(e){if(e==null){var r=tt(8);r._W(1,3);r._W(1,0);r._W(2,0);r._W(2,0);r._W(2,65535);return r}else if(typeof e=="number")return aa(e);return aa(0)}function sh(e,r,t){var a=e.l+r;var n=di(e,6);if(t.biff==2)++e.l;var i=nh(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}var f=rh(e,a-e.l,t);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function fh(e,r,t,a,n){var i=vi(r,t,n);var s=ih(e.v);var f=tt(6);var c=1|32;f._W(2,c);f._W(4,0);var l=tt(e.bf.length);for(var o=0;o<e.bf.length;++o)l[o]=e.bf[o];var u=I([i,s,f,l]);return u}function ch(e,r,t){var a=e._R(4);var n=Xu(e,a,t);var i=e._R(4);var s=i>0?ju(e,i,n,t):null;return[n,s]}var lh=ch;var oh=ch;var uh=ch;var hh=ch;var dh={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"};var vh={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"};var ph={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 mh(e){if(e.slice(0,3)=="of:")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(1)}e=e.replace(/COM\.MICROSOFT\./g,"");e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,function(e,r){return r.replace(/\./g,"")});e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1");return e.replace(/[;~]/g,",").replace(/\|/g,";")}function bh(e){var r="of:="+e.replace(go,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function gh(e){var r=e.split(":");var t=r[0].split(".")[0];return[t,r[0].split(".")[1]+(r.length>1?":"+(r[1].split(".")[1]||r[1].split(".")[0]):"")]}function wh(e){return e.replace(/\./,"!")}var kh={};var Th={};var Eh=typeof Map!=="undefined";function Sh(e,r,t){var a=0,n=e.length;if(t){if(Eh?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=Eh?t.get(r):t[r];for(;a<i.length;++a){if(e[i[a]].t===r){e.Count++;return i[a]}}}}else for(;a<n;++a){if(e[a].t===r){e.Count++;return a}}e[n]={t:r};e.Count++;e.Unique++;if(t){if(Eh){if(!t.has(r))t.set(r,[]);t.get(r).push(n)}else{if(!Object.prototype.hasOwnProperty.call(t,r))t[r]=[];t[r].push(n)}}return n}function yh(e,r){var t={min:e+1,max:e+1};var a=-1;if(r.MDW)pc=r.MDW;if(r.width!=null)t.customWidth=1;else if(r.wpx!=null)a=bc(r.wpx);else if(r.wch!=null)a=r.wch;if(a>-1){t.width=gc(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;if(r.level!=null){t.outlineLevel=t.level=r.level}return t}function _h(e,r){if(!e)return;var t=[.7,.7,.75,.75,.3,.3];if(r=="xlml")t=[1,1,1,1,.5,.5];if(e.left==null)e.left=t[0];if(e.right==null)e.right=t[1];if(e.top==null)e.top=t[2];if(e.bottom==null)e.bottom=t[3];if(e.header==null)e.header=t[4];if(e.footer==null)e.footer=t[5]}function xh(e,r,t){var a=t.revssf[r.z!=null?r.z:"General"];var n=60,i=e.length;if(a==null&&t.ssf){for(;n<392;++n)if(t.ssf[n]==null){D.load(r.z,n);t.ssf[n]=r.z;t.revssf[r.z]=a=n;break}}for(n=0;n!=i;++n)if(e[n].numFmtId===a)return n;e[i]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1};return i}function Ah(e,r,t,a,n,i){try{if(a.cellNF)e.z=D._table[r]}catch(s){if(a.WTF)throw s}if(e.t==="z"&&!a.cellStyles)return;if(e.t==="d"&&typeof e.v==="string")e.v=ce(e.v);if((!a||a.cellText!==false)&&e.t!=="z")try{if(D._table[r]==null)D.load(M[r]||"General",r);if(e.t==="e")e.w=e.w||Ia[e.v];else if(r===0){if(e.t==="n"){if((e.v|0)===e.v)e.w=D._general_int(e.v);else e.w=D._general_num(e.v)}else if(e.t==="d"){var f=ee(e.v);if((f|0)===f)e.w=D._general_int(f);else e.w=D._general_num(f)}else if(e.v===undefined)return"";else e.w=D._general(e.v,Th)}else if(e.t==="d")e.w=D.format(r,ee(e.v),Th);else e.w=D.format(r,e.v,Th)}catch(s){if(a.WTF)throw s}if(!a.cellStyles)return;if(t!=null)try{e.s=i.Fills[t];if(e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb){e.s.fgColor.rgb=uc(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0);if(a.WTF)e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb}if(e.s.bgColor&&e.s.bgColor.theme){e.s.bgColor.rgb=uc(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0);if(a.WTF)e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb}}catch(s){if(a.WTF&&i.Fills)throw s}}function Ch(e,r,t){if(e&&e["!ref"]){var a=St(e["!ref"]);if(a.e.c<a.s.c||a.e.r<a.s.r)throw new Error("Bad range ("+t+"): "+e["!ref"])}}function Rh(e,r){var t=St(r);if(t.s.r<=t.e.r&&t.s.c<=t.e.c&&t.s.r>=0&&t.s.c>=0)e["!ref"]=Et(t)}var Oh=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g;var Ih=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/;var Nh=/<(?:\w:)?hyperlink [^>]*>/gm;var Fh=/"(\w*:\w*)"/;var Dh=/<(?:\w:)?col\b[^>]*[\/]?>/g;var Ph=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g;var Lh=/<(?:\w:)?pageMargins[^>]*\/>/g;var Mh=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/;var Uh=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/;var Bh=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Wh(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={"!id":{}};if(m!=null&&r.dense==null)r.dense=m;var f=r.dense?[]:{};var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};var l="",o="";var u=e.match(Ih);if(u){l=e.slice(0,u.index);o=e.slice(u.index+u[0].length)}else l=o=e;var h=l.match(Mh);if(h)zh(h[0],f,n,t);else if(h=l.match(Uh))Vh(h[0],h[1]||"",f,n,t,s,i);var d=(l.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var v=l.slice(d,d+50).match(Fh);if(v)Rh(f,v[1])}var p=l.match(Bh);if(p&&p[1])td(p[1],n);var b=[];if(r.cellStyles){var g=l.match(Dh);if(g)qh(b,g)}if(u)id(u[1],f,r,c,i,s);var w=o.match(Ph);if(w)f["!autofilter"]=Qh(w[0]);var k=[];var T=o.match(Oh);if(T)for(d=0;d!=T.length;++d)k[d]=St(T[d].slice(T[d].indexOf('"')+1));var E=o.match(Nh);if(E)Yh(f,E,a);var S=o.match(Lh);if(S)f["!margins"]=Kh(Pe(S[0]));if(!f["!ref"]&&c.e.c>=c.s.c&&c.e.r>=c.s.r)f["!ref"]=Et(c);if(r.sheetRows>0&&f["!ref"]){var y=St(f["!ref"]);if(r.sheetRows<=+y.e.r){y.e.r=r.sheetRows-1;if(y.e.r>c.e.r)y.e.r=c.e.r;if(y.e.r<y.s.r)y.s.r=y.e.r;if(y.e.c>c.e.c)y.e.c=c.e.c;if(y.e.c<y.s.c)y.s.c=y.e.c;f["!fullref"]=f["!ref"];f["!ref"]=Et(y)}}if(b.length>0)f["!cols"]=b;if(k.length>0)f["!merges"]=k;return f}function Hh(e){if(e.length===0)return"";var r='<mergeCells count="'+e.length+'">';for(var t=0;t!=e.length;++t)r+='<mergeCell ref="'+Et(e[t])+'"/>';return r+"</mergeCells>"}function zh(e,r,t,a){var n=Pe(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=Be(Je(n.codeName))}function Vh(e,r,t,a,n){zh(e.slice(0,e.indexOf(">")),t,a,n)}function Gh(e,r,t,a,n){var i=false;var s={},f=null;if(a.bookType!=="xlsx"&&r.vbaraw){var c=r.SheetNames[t];try{if(r.Workbook)c=r.Workbook.Sheets[t].CodeName||c}catch(l){}i=true;s.codeName=qe(ze(c))}if(e&&e["!outline"]){var o={summaryBelow:1,summaryRight:1};if(e["!outline"].above)o.summaryBelow=0;if(e["!outline"].left)o.summaryRight=0;f=(f||"")+or("outlinePr",null,o)}if(!i&&!f)return;n[n.length]=or("sheetPr",f,s)}var jh=["objects","scenarios","selectLockedCells","selectUnlockedCells"];var Xh=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function $h(e){var r={sheet:1};jh.forEach(function(t){if(e[t]!=null&&e[t])r[t]="1"});Xh.forEach(function(t){if(e[t]!=null&&!e[t])r[t]="0"});if(e.password)r.password=Qf(e.password).toString(16).toUpperCase();return or("sheetProtection",null,r)}function Yh(e,r,t){var a=Array.isArray(e);for(var n=0;n!=r.length;++n){var i=Pe(Je(r[n]),true);if(!i.ref)return;var s=((t||{})["!id"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+="#"+Be(i.location)}else{i.Target="#"+Be(i.location);s={Target:i.Target,TargetMode:"Internal"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=St(i.ref);for(var c=f.s.r;c<=f.e.r;++c)for(var l=f.s.c;l<=f.e.c;++l){var o=kt({c:l,r:c});if(a){if(!e[c])e[c]=[];if(!e[c][l])e[c][l]={t:"z",v:undefined};e[c][l].l=i}else{if(!e[o])e[o]={t:"z",v:undefined};e[o].l=i}}}}function Kh(e){var r={};["left","right","top","bottom","header","footer"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Jh(e){_h(e);return or("pageMargins",null,e)}function qh(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=Pe(r[a],true);if(n.hidden)n.hidden=Ke(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;if(n.outlineLevel)n.level=+n.outlineLevel||0;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;kc(n.width)}Tc(n);while(i<=s)e[i++]=oe(n)}}function Zh(e,r){var t=["<cols>"],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=or("col",null,yh(n,a))}t[t.length]="</cols>";return t.join("")}function Qh(e){var r={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return r}function ed(e,r,t,a){var n=typeof e.ref=="string"?e.ref:Et(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=Tt(n);if(s.s.r==s.e.r){s.e.r=Tt(r["!ref"]).e.r;n=Et(s)}for(var f=0;f<i.length;++f){var c=i[f];if(c.Name!="_xlnm._FilterDatabase")continue;if(c.Sheet!=a)continue;c.Ref="'"+t.SheetNames[a]+"'!"+n;break}if(f==i.length)i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+n});return or("autoFilter",null,{ref:n})}var rd=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function td(e,r){if(!r.Views)r.Views=[{}];(e.match(rd)||[]).forEach(function(e,t){var a=Pe(e);if(!r.Views[t])r.Views[t]={};if(+a.zoomScale)r.Views[t].zoom=+a.zoomScale;if(Ke(a.rightToLeft))r.Views[t].RTL=true})}function ad(e,r,t,a){var n={workbookViewId:"0"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0";return or("sheetViews",or("sheetView",null,n),{})}function nd(e,r,t,a){if(e.c)t["!comments"].push([r,e.c]);if(e.v===undefined&&typeof e.f!=="string"||e.t==="z"&&!e.f)return"";var n="";var i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=Ia[e.v];break;case"d":if(a&&a.cellDates)n=ce(e.v,-1).toISOString();else{e=oe(e);e.t="n";n=""+(e.v=ee(ce(e.v)))}if(typeof e.z==="undefined")e.z=D._table[14];break;default:n=e.v;break;}var f=cr("v",ze(n)),c={r:r};var l=xh(a.cellXfs,e,a);if(l!==0)c.s=l;switch(e.t){case"n":break;case"d":c.t="d";break;case"b":c.t="b";break;case"e":c.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){f=cr("v",""+Sh(a.Strings,e.v,a.revStrings));c.t="s";break}c.t="str";break;}if(e.t!=i){e.t=i;e.v=s}if(typeof e.f=="string"&&e.f){var o=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;f=or("f",ze(e.f),o)+(e.v!=null?f:"")}if(e.l)t["!links"].push([r,e.l]);if(e.D)c.cm=1;return or("c",f,c)}var id=function(){var e=/<(?:\w+:)?c[ \/>]/,r=/<\/(?:\w+:)?row>/;var t=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/;var n=/ref=["']([^"']*)["']/;var i=rr("v"),s=rr("f");return function f(c,l,o,u,h,d){var v=0,p="",m=[],b=[],g=0,w=0,k=0,T="",E;var S,y=0,_=0;var x,A;var C=0,R=0;var O=Array.isArray(d.CellXf),I;var N=[];var F=[];var P=Array.isArray(l);var L=[],M={},U=false;var B=!!o.sheetStubs;for(var W=c.split(r),H=0,z=W.length;H!=z;++H){p=W[H].trim();var V=p.length;if(V===0)continue;var G=0;e:for(v=0;v<V;++v)switch(p[v]){case">":if(p[v-1]!="/"){++v;break e}if(o&&o.cellStyles){S=Pe(p.slice(G,v),true);y=S.r!=null?parseInt(S.r,10):y+1;_=-1;if(o.sheetRows&&o.sheetRows<y)continue;M={};U=false;if(S.ht){U=true;M.hpt=parseFloat(S.ht);M.hpx=_c(M.hpt)}if(S.hidden=="1"){U=true;M.hidden=true}if(S.outlineLevel!=null){U=true;M.level=+S.outlineLevel}if(U)L[y-1]=M}break;case"<":G=v;break;}if(G>=v)break;S=Pe(p.slice(G,v),true);y=S.r!=null?parseInt(S.r,10):y+1;_=-1;if(o.sheetRows&&o.sheetRows<y)continue;if(u.s.r>y-1)u.s.r=y-1;if(u.e.r<y-1)u.e.r=y-1;if(o&&o.cellStyles){M={};U=false;if(S.ht){U=true;M.hpt=parseFloat(S.ht);M.hpx=_c(M.hpt)}if(S.hidden=="1"){U=true;M.hidden=true}if(S.outlineLevel!=null){U=true;M.level=+S.outlineLevel}if(U)L[y-1]=M}m=p.slice(v).split(e);for(var j=0;j!=m.length;++j)if(m[j].trim().charAt(0)!="<")break;m=m.slice(j);for(v=0;v!=m.length;++v){p=m[v].trim();if(p.length===0)continue;b=p.match(t);g=v;w=0;k=0;p="<c "+(p.slice(0,1)=="<"?">":"")+p;if(b!=null&&b.length===2){g=0;T=b[1];for(w=0;w!=T.length;++w){if((k=T.charCodeAt(w)-64)<1||k>26)break;g=26*g+k}--g;_=g}else++_;for(w=0;w!=p.length;++w)if(p.charCodeAt(w)===62)break;++w;S=Pe(p.slice(0,w),true);if(!S.r)S.r=kt({r:y-1,c:_});T=p.slice(w);E={t:""};if((b=T.match(i))!=null&&b[1]!=="")E.v=Be(b[1]);if(o.cellFormula){if((b=T.match(s))!=null&&b[1]!==""){E.f=Be(Je(b[1])).replace(/\r\n/g,"\n");if(!o.xlfn)E.f=So(E.f);if(b[0].indexOf('t="array"')>-1){E.F=(T.match(n)||[])[1];if(E.F.indexOf(":")>-1)N.push([St(E.F),E.F])}else if(b[0].indexOf('t="shared"')>-1){A=Pe(b[0]);var X=Be(Je(b[1]));if(!o.xlfn)X=So(X);F[parseInt(A.si,10)]=[A,X,S.r]}}else if(b=T.match(/<f[^>]*\/>/)){A=Pe(b[0]);if(F[A.si])E.f=To(F[A.si][1],F[A.si][2],S.r)}var $=wt(S.r);for(w=0;w<N.length;++w)if($.r>=N[w][0].s.r&&$.r<=N[w][0].e.r)if($.c>=N[w][0].s.c&&$.c<=N[w][0].e.c)E.F=N[w][1]}if(S.t==null&&E.v===undefined){if(E.f||E.F){E.v=0;E.t="n"}else if(!B)continue;else E.t="z"}else E.t=S.t||"n";if(u.s.c>_)u.s.c=_;if(u.e.c<_)u.e.c=_;switch(E.t){case"n":if(E.v==""||E.v==null){if(!B)continue;E.t="z"}else E.v=parseFloat(E.v);break;case"s":if(typeof E.v=="undefined"){if(!B)continue;E.t="z"}else{x=kh[parseInt(E.v,10)];E.v=x.t;E.r=x.r;if(o.cellHTML)E.h=x.h}break;case"str":E.t="s";E.v=E.v!=null?Je(E.v):"";if(o.cellHTML)E.h=je(E.v);break;case"inlineStr":b=T.match(a);E.t="s";if(b!=null&&(x=_f(b[1]))){E.v=x.t;if(o.cellHTML)E.h=x.h}else E.v="";break;case"b":E.v=Ke(E.v);break;case"d":if(o.cellDates)E.v=ce(E.v,1);else{E.v=ee(ce(E.v,1));E.t="n"}break;case"e":if(!o||o.cellText!==false)E.w=E.v;E.v=Na[E.v];break;}C=R=0;I=null;if(O&&S.s!==undefined){I=d.CellXf[S.s];if(I!=null){if(I.numFmtId!=null)C=I.numFmtId;if(o.cellStyles){if(I.fillId!=null)R=I.fillId}}}Ah(E,C,R,o,h,d);if(o.cellDates&&O&&E.t=="n"&&D.is_date(D._table[C])){E.t="d";E.v=ne(E.v)}if(S.cm&&o.xlmeta){var Y=(o.xlmeta.Cell||[])[+S.cm-1];if(Y&&Y.type=="XLDAPR")E.D=true}if(P){var K=wt(S.r);if(!l[K.r])l[K.r]=[];l[K.r][K.c]=E}else l[S.r]=E}}if(L.length>0)l["!rows"]=L}}();function sd(e,r,t,a){var n=[],i=[],s=St(e["!ref"]),f="",c,l="",o=[],u=0,h=0,d=e["!rows"];var v=Array.isArray(e);var p={r:l},m,b=-1;for(h=s.s.c;h<=s.e.c;++h)o[h]=pt(h);for(u=s.s.r;u<=s.e.r;++u){i=[];l=ut(u);for(h=s.s.c;h<=s.e.c;++h){c=o[h]+l;var g=v?(e[u]||[])[h]:e[c];if(g===undefined)continue;if((f=nd(g,c,e,r,t,a))!=null)i.push(f)}if(i.length>0||d&&d[u]){p={r:l};if(d&&d[u]){m=d[u];if(m.hidden)p.hidden=1;b=-1;if(m.hpx)b=yc(m.hpx);else if(m.hpt)b=m.hpt;if(b>-1){p.ht=b;p.customHeight=1}if(m.level){p.outlineLevel=m.level}}n[n.length]=or("row",i.join(""),p)}}if(d)for(;u<d.length;++u){if(d&&d[u]){p={r:u+1};m=d[u];if(m.hidden)p.hidden=1;b=-1;if(m.hpx)b=yc(m.hpx);else if(m.hpt)b=m.hpt;if(b>-1){p.ht=b;p.customHeight=1}if(m.level){p.outlineLevel=m.level}n[n.length]=or("row","",p)}}return n.join("")}function fd(e,r,t,a){var n=[Oe,or("worksheet",null,{xmlns:mr[0],"xmlns:r":pr.r})];var i=t.SheetNames[e],s=0,f="";var c=t.Sheets[i];if(c==null)c={};var l=c["!ref"]||"A1";var o=St(l);if(o.e.c>16383||o.e.r>1048575){if(r.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383);o.e.r=Math.min(o.e.c,1048575);l=Et(o)}if(!a)a={};c["!comments"]=[];var u=[];Gh(c,t,e,r,n);n[n.length]=or("dimension",null,{ref:l});n[n.length]=ad(c,r,e,t);if(r.sheetFormat)n[n.length]=or("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"});if(c["!cols"]!=null&&c["!cols"].length>0)n[n.length]=Zh(c,c["!cols"]);n[s=n.length]="<sheetData/>";c["!links"]=[];if(c["!ref"]!=null){f=sd(c,r,e,t,a);if(f.length>0)n[n.length]=f}if(n.length>s+1){n[n.length]="</sheetData>";n[s]=n[s].replace("/>",">")}if(c["!protect"])n[n.length]=$h(c["!protect"]);if(c["!autofilter"]!=null)n[n.length]=ed(c["!autofilter"],c,t,e);if(c["!merges"]!=null&&c["!merges"].length>0)n[n.length]=Hh(c["!merges"]);var h=-1,d,v=-1;if(c["!links"].length>0){n[n.length]="<hyperlinks>";c["!links"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!="#"){v=ja(a,-1,ze(e[1].Target).replace(/#.*$/,""),Ba.HLINK);d["r:id"]="rId"+v}if((h=e[1].Target.indexOf("#"))>-1)d.location=ze(e[1].Target.slice(h+1));if(e[1].Tooltip)d.tooltip=ze(e[1].Tooltip);n[n.length]=or("hyperlink",null,d)});n[n.length]="</hyperlinks>"}delete c["!links"];if(c["!margins"]!=null)n[n.length]=Jh(c["!margins"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=cr("ignoredErrors",or("ignoredError",null,{numberStoredAsText:1,sqref:l}));if(u.length>0){v=ja(a,-1,"../drawings/drawing"+(e+1)+".xml",Ba.DRAW);n[n.length]=or("drawing",null,{"r:id":"rId"+v});c["!drawing"]=u}if(c["!comments"].length>0){v=ja(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Ba.VML);n[n.length]=or("legacyDrawing",null,{"r:id":"rId"+v});c["!legacy"]=v}if(n.length>1){n[n.length]="</worksheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function cd(e,r){var t={};var a=e.l+r;t.r=e._R(4);e.l+=4;var n=e._R(2);e.l+=1;var i=e._R(1);e.l=a;if(i&7)t.level=i&7;if(i&16)t.hidden=true;if(i&32)t.hpt=n/20;return t}function ld(e,r,t){var a=tt(17+8*16);var n=(t["!rows"]||[])[e]||{};a._W(4,e);a._W(4,0);var i=320;if(n.hpx)i=yc(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a._W(2,i);a._W(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a._W(1,s);a._W(1,0);var f=0,c=a.l;a.l+=4;var l={r:e,c:0};for(var o=0;o<16;++o){if(r.s.c>o+1<<10||r.e.c<o<<10)continue;var u=-1,h=-1;for(var d=o<<10;d<o+1<<10;++d){l.c=d;var v=Array.isArray(t)?(t[l.r]||[])[l.c]:t[kt(l)];if(v){if(u<0)u=d;h=d}}if(u<0)continue;++f;a._W(4,u);a._W(4,h)}var p=a.l;a.l=c;a._W(4,f);a.l=p;return a.length>a.l?a.slice(0,a.l):a}function od(e,r,t,a){var n=ld(a,t,r);if(n.length>17||(r["!rows"]||[])[a])it(e,0,n)}var ud=ea;var hd=ra;function dd(){}function vd(e,r){var t={};var a=e[e.l];++e.l;t.above=!(a&64);t.left=!(a&128);e.l+=18;t.name=Vt(e,r-19);return t}function pd(e,r,t){if(t==null)t=tt(84+4*e.length);var a=192;if(r){if(r.above)a&=~64;if(r.left)a&=~128}t._W(1,a);for(var n=1;n<3;++n)t._W(1,0);ia({auto:1},t);t._W(-4,-1);t._W(-4,-1);Gt(e,t);return t.slice(0,t.l)}function md(e){var r=Bt(e);return[r]}function bd(e,r,t){if(t==null)t=tt(8);return Wt(r,t)}function gd(e){var r=Ht(e);return[r]}function wd(e,r,t){if(t==null)t=tt(4);return zt(r,t)}function kd(e){var r=Bt(e);var t=e._R(1);return[r,t,"b"]}function Td(e,r,t){if(t==null)t=tt(9);Wt(r,t);t._W(1,e.v?1:0);return t}function Ed(e){var r=Ht(e);var t=e._R(1);return[r,t,"b"]}function Sd(e,r,t){if(t==null)t=tt(5);zt(r,t);t._W(1,e.v?1:0);return t}function yd(e){var r=Bt(e);var t=e._R(1);return[r,t,"e"]}function _d(e,r,t){if(t==null)t=tt(9);Wt(r,t);t._W(1,e.v);return t}function xd(e){var r=Ht(e);var t=e._R(1);return[r,t,"e"]}function Ad(e,r,t){if(t==null)t=tt(8);zt(r,t);t._W(1,e.v);t._W(2,0);t._W(1,0);return t}function Cd(e){var r=Bt(e);var t=e._R(4);return[r,t,"s"]}function Rd(e,r,t){if(t==null)t=tt(12);Wt(r,t);t._W(4,r.v);return t}function Od(e){var r=Ht(e);var t=e._R(4);return[r,t,"s"]}function Id(e,r,t){if(t==null)t=tt(8);zt(r,t);t._W(4,r.v);return t}function Nd(e){var r=Bt(e);var t=ta(e);return[r,t,"n"]}function Fd(e,r,t){if(t==null)t=tt(16);Wt(r,t);aa(e.v,t);return t}function Dd(e){var r=Ht(e);var t=ta(e);return[r,t,"n"]}function Pd(e,r,t){if(t==null)t=tt(12);zt(r,t);aa(e.v,t);return t}function Ld(e){var r=Bt(e);var t=Jt(e);return[r,t,"n"]}function Md(e,r,t){if(t==null)t=tt(12);Wt(r,t);qt(e.v,t);return t}function Ud(e){var r=Ht(e);var t=Jt(e);return[r,t,"n"]}function Bd(e,r,t){if(t==null)t=tt(8);zt(r,t);qt(e.v,t);return t}function Wd(e){var r=Bt(e);var t=Pt(e);return[r,t,"is"]}function Hd(e){var r=Bt(e);var t=It(e);return[r,t,"str"]}function zd(e,r,t){if(t==null)t=tt(12+4*e.v.length);Wt(r,t);Nt(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function Vd(e){var r=Ht(e);var t=It(e);return[r,t,"str"]}function Gd(e,r,t){if(t==null)t=tt(8+4*e.v.length);zt(r,t);Nt(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function jd(e,r,t){var a=e.l+r;var n=Bt(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"b"];if(t.cellFormula){e.l+=2;var f=oh(e,a-e.l,t);s[3]=Qu(f,null,n,t.supbooks,t)}else e.l=a;return s}function Xd(e,r,t){var a=e.l+r;var n=Bt(e);n.r=t["!row"];var i=e._R(1);var s=[n,i,"e"];if(t.cellFormula){e.l+=2;var f=oh(e,a-e.l,t);s[3]=Qu(f,null,n,t.supbooks,t)}else e.l=a;return s}function $d(e,r,t){var a=e.l+r;var n=Bt(e);n.r=t["!row"];var i=ta(e);var s=[n,i,"n"];if(t.cellFormula){e.l+=2;var f=oh(e,a-e.l,t);s[3]=Qu(f,null,n,t.supbooks,t)}else e.l=a;return s}function Yd(e,r,t){var a=e.l+r;var n=Bt(e);n.r=t["!row"];var i=It(e);var s=[n,i,"str"];if(t.cellFormula){e.l+=2;var f=oh(e,a-e.l,t);s[3]=Qu(f,null,n,t.supbooks,t)}else e.l=a;return s}var Kd=ea;var Jd=ra;function qd(e,r){if(r==null)r=tt(4);r._W(4,e);return r}function Zd(e,r){var t=e.l+r;var a=ea(e,16);var n=jt(e);var i=It(e);var s=It(e);var f=It(e);e.l=t;var c={rfx:a,relId:n,loc:i,display:f};if(s)c.Tooltip=s;return c}function Qd(e,r){var t=tt(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));ra({s:wt(e[0]),e:wt(e[0])},t);Kt("rId"+r,t);var a=e[1].Target.indexOf("#");var n=a==-1?"":e[1].Target.slice(a+1);Nt(n||"",t);Nt(e[1].Tooltip||"",t);Nt("",t);return t.slice(0,t.l)}function ev(){}function rv(e,r,t){var a=e.l+r;var n=Zt(e,16);var i=e._R(1);var s=[n];s[2]=i;if(t.cellFormula){var f=lh(e,a-e.l,t);s[1]=f}else e.l=a;return s}function tv(e,r,t){var a=e.l+r;var n=ea(e,16);var i=[n];if(t.cellFormula){var s=hh(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function av(e,r,t){if(t==null)t=tt(18);var a=yh(e,r);t._W(-4,e);t._W(-4,e);t._W(4,(a.width||10)*256);t._W(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width=="number")n|=2;if(r.level)n|=r.level<<8;t._W(2,n);return t}var nv=["left","right","top","bottom","header","footer"];function iv(e){var r={};nv.forEach(function(t){r[t]=ta(e,8)});return r}function sv(e,r){if(r==null)r=tt(6*8);
_h(e);nv.forEach(function(t){aa(e[t],r)});return r}function fv(e){var r=e._R(2);e.l+=28;return{RTL:r&32}}function cv(e,r,t){if(t==null)t=tt(30);var a=924;if((((r||{}).Views||[])[0]||{}).RTL)a|=32;t._W(2,a);t._W(4,0);t._W(4,0);t._W(4,0);t._W(1,0);t._W(1,0);t._W(2,0);t._W(2,100);t._W(2,0);t._W(2,0);t._W(2,0);t._W(4,0);return t}function lv(e){var r=tt(24);r._W(4,4);r._W(4,1);ra(e,r);return r}function ov(e,r){if(r==null)r=tt(16*4+2);r._W(2,e.password?Qf(e.password):0);r._W(4,1);[["objects",false],["scenarios",false],["formatCells",true],["formatColumns",true],["formatRows",true],["insertColumns",true],["insertRows",true],["insertHyperlinks",true],["deleteColumns",true],["deleteRows",true],["selectLockedCells",false],["sort",true],["autoFilter",true],["pivotTables",true],["selectUnlockedCells",false]].forEach(function(t){if(t[1])r._W(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r._W(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function uv(){}function hv(){}function dv(e,r,t,a,n,i,s){if(!e)return e;var f=r||{};if(!a)a={"!id":{}};if(m!=null&&f.dense==null)f.dense=m;var c=f.dense?[]:{};var l;var o={s:{r:2e6,c:2e6},e:{r:0,c:0}};var u=[];var h=false,d=false;var v,p,b,g,w,k,T,E,S;var y=[];f.biff=12;f["!row"]=0;var _=0,x=false;var A=[];var C={};var R=f.supbooks||n.supbooks||[[]];R.sharedf=C;R.arrayf=A;R.SheetNames=n.SheetNames||n.Sheets.map(function(e){return e.name});if(!f.supbooks){f.supbooks=R;if(n.Names)for(var O=0;O<n.Names.length;++O)R[0][O+1]=n.Names[O]}var I=[],N=[];var F=false;fm[16]={n:"BrtShortReal",f:Dd};var P,L;at(e,function U(e,r,m){if(d)return;switch(m){case 148:l=e;break;case 0:v=e;if(f.sheetRows&&f.sheetRows<=v.r)d=true;E=ut(g=v.r);f["!row"]=v.r;if(e.hidden||e.hpt||e.level!=null){if(e.hpt)e.hpx=_c(e.hpt);N[e.r]=e}break;case 2:;case 3:;case 4:;case 5:;case 6:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:;case 14:;case 15:;case 16:;case 17:;case 18:;case 62:p={t:e[2]};switch(e[2]){case"n":p.v=e[1];break;case"s":T=kh[e[1]];p.v=T.t;p.r=T.r;break;case"b":p.v=e[1]?true:false;break;case"e":p.v=e[1];if(f.cellText!==false)p.w=Ia[p.v];break;case"str":p.t="s";p.v=e[1];break;case"is":p.t="s";p.v=e[1].t;break;}if(b=s.CellXf[e[0].iStyleRef])Ah(p,b.numFmtId,null,f,i,s);w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!c[g])c[g]=[];c[g][w]=p}else c[pt(w)+E]=p;if(f.cellFormula){x=false;for(_=0;_<A.length;++_){var O=A[_];if(v.r>=O[0].s.r&&v.r<=O[0].e.r)if(w>=O[0].s.c&&w<=O[0].e.c){p.F=Et(O[0]);x=true}}if(!x&&e.length>3)p.f=e[3]}if(o.s.r>v.r)o.s.r=v.r;if(o.s.c>w)o.s.c=w;if(o.e.r<v.r)o.e.r=v.r;if(o.e.c<w)o.e.c=w;if(f.cellDates&&b&&p.t=="n"&&D.is_date(D._table[b.numFmtId])){var M=D.parse_date_code(p.v);if(M){p.t="d";p.v=new Date(M.y,M.m-1,M.d,M.H,M.M,M.S,M.u)}}if(P){if(P.type=="XLDAPR")p.D=true;P=void 0}if(L)L=void 0;break;case 1:;case 12:if(!f.sheetStubs||h)break;p={t:"z",v:void 0};w=e[0].c==-1?w+1:e[0].c;if(f.dense){if(!c[g])c[g]=[];c[g][w]=p}else c[pt(w)+E]=p;if(o.s.r>v.r)o.s.r=v.r;if(o.s.c>w)o.s.c=w;if(o.e.r<v.r)o.e.r=v.r;if(o.e.c<w)o.e.c=w;if(P){if(P.type=="XLDAPR")p.D=true;P=void 0}if(L)L=void 0;break;case 176:y.push(e);break;case 49:{P=((f.xlmeta||{}).Cell||[])[e-1]}break;case 494:var U=a["!id"][e.relId];if(U){e.Target=U.Target;if(e.loc)e.Target+="#"+e.loc;e.Rel=U}else if(e.relId==""){e.Target="#"+e.loc}for(g=e.rfx.s.r;g<=e.rfx.e.r;++g)for(w=e.rfx.s.c;w<=e.rfx.e.c;++w){if(f.dense){if(!c[g])c[g]=[];if(!c[g][w])c[g][w]={t:"z",v:undefined};c[g][w].l=e}else{k=kt({c:w,r:g});if(!c[k])c[k]={t:"z",v:undefined};c[k].l=e}}break;case 426:if(!f.cellFormula)break;A.push(e);S=f.dense?c[g][w]:c[pt(w)+E];S.f=Qu(e[1],o,{r:v.r,c:w},R,f);S.F=Et(e[0]);break;case 427:if(!f.cellFormula)break;C[kt(e[0].s)]=e[1];S=f.dense?c[g][w]:c[pt(w)+E];S.f=Qu(e[1],o,{r:v.r,c:w},R,f);break;case 60:if(!f.cellStyles)break;while(e.e>=e.s){I[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level};if(!F){F=true;kc(e.w/256)}Tc(I[e.e+1])}break;case 161:c["!autofilter"]={ref:Et(e)};break;case 476:c["!margins"]=e;break;case 147:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;if(e.above||e.left)c["!outline"]={above:e.above,left:e.left};break;case 137:if(!n.Views)n.Views=[{}];if(!n.Views[0])n.Views[0]={};if(e.RTL)n.Views[0].RTL=true;break;case 485:break;case 64:;case 1053:break;case 151:break;case 152:;case 175:;case 644:;case 625:;case 562:;case 396:;case 1112:;case 1146:;case 471:;case 1050:;case 649:;case 1105:;case 589:;case 607:;case 564:;case 1055:;case 168:;case 174:;case 1180:;case 499:;case 507:;case 550:;case 171:;case 167:;case 1177:;case 169:;case 1181:;case 551:;case 552:;case 661:;case 639:;case 478:;case 537:;case 477:;case 536:;case 1103:;case 680:;case 1104:;case 1024:;case 663:;case 535:;case 678:;case 504:;case 1043:;case 428:;case 170:;case 3072:;case 50:;case 2070:;case 1045:break;case 35:h=true;break;case 36:h=false;break;case 37:u.push(m);h=true;break;case 38:u.pop();h=false;break;default:if(r.T){}else if(!h||f.WTF)throw new Error("Unexpected record 0x"+m.toString(16));}},f);delete f.supbooks;delete f["!row"];if(!c["!ref"]&&(o.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0)))c["!ref"]=Et(l||o);if(f.sheetRows&&c["!ref"]){var M=St(c["!ref"]);if(f.sheetRows<=+M.e.r){M.e.r=f.sheetRows-1;if(M.e.r>o.e.r)M.e.r=o.e.r;if(M.e.r<M.s.r)M.s.r=M.e.r;if(M.e.c>o.e.c)M.e.c=o.e.c;if(M.e.c<M.s.c)M.s.c=M.e.c;c["!fullref"]=c["!ref"];c["!ref"]=Et(M)}}if(y.length>0)c["!merges"]=y;if(I.length>0)c["!cols"]=I;if(N.length>0)c["!rows"]=N;return c}function vv(e,r,t,a,n,i,s){if(r.v===undefined)return false;var f="";switch(r.t){case"b":f=r.v?"1":"0";break;case"d":r=oe(r);r.z=r.z||D._table[14];r.v=ee(ce(r.v));r.t="n";break;case"n":;case"e":f=""+r.v;break;default:f=r.v;break;}var c={r:t,c:a};c.s=xh(n.cellXfs,r,n);if(r.l)i["!links"].push([kt(c),r.l]);if(r.c)i["!comments"].push([kt(c),r.c]);switch(r.t){case"s":;case"str":if(n.bookSST){f=Sh(n.Strings,r.v,n.revStrings);c.t="s";c.v=f;if(s)it(e,18,Id(r,c));else it(e,7,Rd(r,c))}else{c.t="str";if(s)it(e,17,Gd(r,c));else it(e,6,zd(r,c))}return true;case"n":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3){if(s)it(e,13,Bd(r,c));else it(e,2,Md(r,c))}else{if(s)it(e,16,Pd(r,c));else it(e,5,Fd(r,c))}return true;case"b":c.t="b";if(s)it(e,15,Sd(r,c));else it(e,4,Td(r,c));return true;case"e":c.t="e";if(s)it(e,14,Ad(r,c));else it(e,3,_d(r,c));return true;}if(s)it(e,12,wd(r,c));else it(e,1,bd(r,c));return true}function pv(e,r,t,a){var n=St(r["!ref"]||"A1"),i,s="",f=[];it(e,145);var c=Array.isArray(r);var l=n.e.r;if(r["!rows"])l=Math.max(n.e.r,r["!rows"].length-1);for(var o=n.s.r;o<=l;++o){s=ut(o);od(e,r,n,o);var u=false;if(o<=n.e.r)for(var h=n.s.c;h<=n.e.c;++h){if(o===n.s.r)f[h]=pt(h);i=f[h]+s;var d=c?(r[o]||[])[h]:r[i];if(!d){u=false;continue}u=vv(e,d,o,h,a,r,u)}}it(e,146)}function mv(e,r){if(!r||!r["!merges"])return;it(e,177,qd(r["!merges"].length));r["!merges"].forEach(function(r){it(e,176,Jd(r))});it(e,178)}function bv(e,r){if(!r||!r["!cols"])return;it(e,390);r["!cols"].forEach(function(r,t){if(r)it(e,60,av(t,r))});it(e,391)}function gv(e,r){if(!r||!r["!ref"])return;it(e,648);it(e,649,lv(St(r["!ref"])));it(e,650)}function wv(e,r,t){r["!links"].forEach(function(r){if(!r[1].Target)return;var a=ja(t,-1,r[1].Target.replace(/#.*$/,""),Ba.HLINK);it(e,494,Qd(r,a))});delete r["!links"]}function kv(e,r,t,a){if(r["!comments"].length>0){var n=ja(a,-1,"../drawings/vmlDrawing"+(t+1)+".vml",Ba.VML);it(e,551,Kt("rId"+n));r["!legacy"]=n}}function Tv(e,r,t,a){if(!r["!autofilter"])return;var n=r["!autofilter"];var i=typeof n.ref==="string"?n.ref:Et(n.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var s=t.Workbook.Names;var f=Tt(i);if(f.s.r==f.e.r){f.e.r=Tt(r["!ref"]).e.r;i=Et(f)}for(var c=0;c<s.length;++c){var l=s[c];if(l.Name!="_xlnm._FilterDatabase")continue;if(l.Sheet!=a)continue;l.Ref="'"+t.SheetNames[a]+"'!"+i;break}if(c==s.length)s.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+t.SheetNames[a]+"'!"+i});it(e,161,ra(St(i)));it(e,162)}function Ev(e,r,t){it(e,133);{it(e,137,cv(r,t));it(e,138)}it(e,134)}function Sv(){}function yv(e,r){if(!r["!protect"])return;it(e,535,ov(r["!protect"]))}function _v(e,r,t,a){var n=nt();var i=t.SheetNames[e],s=t.Sheets[i]||{};var f=i;try{if(t&&t.Workbook)f=t.Workbook.Sheets[e].CodeName||f}catch(c){}var l=St(s["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383);l.e.r=Math.min(l.e.c,1048575)}s["!links"]=[];s["!comments"]=[];it(n,129);if(t.vbaraw||s["!outline"])it(n,147,pd(f,s["!outline"]));it(n,148,hd(l));Ev(n,s,t.Workbook);Sv(n,s);bv(n,s,e,r,t);pv(n,s,e,r,t);yv(n,s);Tv(n,s,t,e);mv(n,s);wv(n,s,a);if(s["!margins"])it(n,476,sv(s["!margins"]));if(!r||r.ignoreEC||r.ignoreEC==void 0)gv(n,s);kv(n,s,e,a);it(n,130);return n.end()}function xv(e){var r=[];var t=e.match(/^<c:numCache>/);var a;(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=Be((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach(function(e){a=e.replace(/<.*?>/g,"")});return[r,n,a]}function Av(e,r,t,a,n,i){var s=i||{"!type":"chart"};if(!e)return i;var f=0,c=0,l="A";var o={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach(function(e){var r=xv(e);o.s.r=o.s.c=0;o.e.c=f;l=pt(f);r[0].forEach(function(e,t){s[l+ut(t)]={t:"n",v:e,z:r[1]};c=t});if(o.e.r<c)o.e.r=c;++f});if(f>0)s["!ref"]=Et(o);return s}function Cv(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s;var f=e.match(Mh);if(f)zh(f[0],i,n,t);if(s=e.match(/drawing r:id="(.*?)"/))i["!rel"]=s[1];if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function Rv(e,r,t,a){var n=[Oe,or("chartsheet",null,{xmlns:mr[0],"xmlns:r":pr.r})];n[n.length]=or("drawing",null,{"r:id":"rId1"});ja(a,-1,"../drawings/drawing"+(e+1)+".xml",Ba.DRAW);if(n.length>2){n[n.length]="</chartsheet>";n[1]=n[1].replace("/>",">")}return n.join("")}function Ov(e,r){e.l+=10;var t=It(e,r-10);return{name:t}}function Iv(e,r,t,a,n){if(!e)return e;if(!a)a={"!id":{}};var i={"!type":"chart","!drawel":null,"!rel":""};var s=[];var f=false;at(e,function c(e,a,l){switch(l){case 550:i["!rel"]=e;break;case 651:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 562:;case 652:;case 669:;case 679:;case 551:;case 552:;case 476:;case 3072:break;case 35:f=true;break;case 36:f=false;break;case 37:s.push(l);break;case 38:s.pop();break;default:if(a.T>0)s.push(l);else if(a.T<0)s.pop();else if(!f||r.WTF)throw new Error("Unexpected record 0x"+l.toString(16));}},r);if(a["!id"][i["!rel"]])i["!drawel"]=a["!id"][i["!rel"]];return i}function Nv(){var e=nt();it(e,129);it(e,130);return e.end()}var Fv=[["allowRefreshQuery",false,"bool"],["autoCompressPictures",true,"bool"],["backupFile",false,"bool"],["checkCompatibility",false,"bool"],["CodeName",""],["date1904",false,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",false,"bool"],["hidePivotFieldList",false,"bool"],["promptedSolutions",false,"bool"],["publishItems",false,"bool"],["refreshAllConnections",false,"bool"],["saveExternalLinkValues",true,"bool"],["showBorderUnselectedTables",true,"bool"],["showInkAnnotation",true,"bool"],["showObjects","all"],["showPivotChartFilter",false,"bool"],["updateLinks","userSet"]];var Dv=[["activeTab",0,"int"],["autoFilterDateGrouping",true,"bool"],["firstSheet",0,"int"],["minimized",false,"bool"],["showHorizontalScroll",true,"bool"],["showSheetTabs",true,"bool"],["showVerticalScroll",true,"bool"],["tabRatio",600,"int"],["visibility","visible"]];var Pv=[];var Lv=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Mv(e,r){for(var t=0;t!=e.length;++t){var a=e[t];for(var n=0;n!=r.length;++n){var i=r[n];if(a[i[0]]==null)a[i[0]]=i[1];else switch(i[2]){case"bool":if(typeof a[i[0]]=="string")a[i[0]]=Ke(a[i[0]]);break;case"int":if(typeof a[i[0]]=="string")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function Uv(e,r){for(var t=0;t!=r.length;++t){var a=r[t];if(e[a[0]]==null)e[a[0]]=a[1];else switch(a[2]){case"bool":if(typeof e[a[0]]=="string")e[a[0]]=Ke(e[a[0]]);break;case"int":if(typeof e[a[0]]=="string")e[a[0]]=parseInt(e[a[0]],10);break;}}}function Bv(e){Uv(e.WBProps,Fv);Uv(e.CalcPr,Lv);Mv(e.WBView,Dv);Mv(e.Sheets,Pv);Th.date1904=Ke(e.WBProps.date1904)}function Wv(e){if(!e.Workbook)return"false";if(!e.Workbook.WBProps)return"false";return Ke(e.Workbook.WBProps.date1904)?"true":"false"}var Hv="][*?/\\".split("");function zv(e,r){if(e.length>31){if(r)return false;throw new Error("Sheet names cannot exceed 31 chars")}var t=true;Hv.forEach(function(a){if(e.indexOf(a)==-1)return;if(!r)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");t=false});return t}function Vv(e,r,t){e.forEach(function(a,n){zv(a);for(var i=0;i<n;++i)if(a==e[i])throw new Error("Duplicate Sheet Name: "+a);if(t){var s=r&&r[n]&&r[n].CodeName||a;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function Gv(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];Vv(e.SheetNames,r,!!e.vbaraw);for(var t=0;t<e.SheetNames.length;++t)Ch(e.Sheets[e.SheetNames[t]],e.SheetNames[t],t)}var jv=/<\w+:workbook/;function Xv(e,r){if(!e)throw new Error("Could not find file");var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""};var a=false,n="xmlns";var i={},s=0;e.replace(Ne,function f(c,l){var o=Pe(c);switch(Le(o[0])){case"<?xml":break;case"<workbook":if(c.match(jv))n="xmlns"+c.match(/<(\w+):/)[1];t.xmlns=o[n];break;case"</workbook>":break;case"<fileVersion":delete o[0];t.AppVersion=o;break;case"<fileVersion/>":;case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":;case"<workbookPr/>":Fv.forEach(function(e){if(o[e[0]]==null)return;switch(e[2]){case"bool":t.WBProps[e[0]]=Ke(o[e[0]]);break;case"int":t.WBProps[e[0]]=parseInt(o[e[0]],10);break;default:t.WBProps[e[0]]=o[e[0]];}});if(o.codeName)t.WBProps.CodeName=Je(o.codeName);break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":;case"<bookViews>":;case"</bookViews>":break;case"<workbookView":;case"<workbookView/>":delete o[0];t.WBView.push(o);break;case"</workbookView>":break;case"<sheets":;case"<sheets>":;case"</sheets>":break;case"<sheet":switch(o.state){case"hidden":o.Hidden=1;break;case"veryHidden":o.Hidden=2;break;default:o.Hidden=0;}delete o.state;o.name=Be(Je(o.name));delete o[0];t.Sheets.push(o);break;case"</sheet>":break;case"<functionGroups":;case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":;case"</externalReferences>":;case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":;case"<definedNames":a=true;break;case"</definedNames>":a=false;break;case"<definedName":{i={};i.Name=Je(o.name);if(o.comment)i.Comment=o.comment;if(o.localSheetId)i.Sheet=+o.localSheetId;if(Ke(o.hidden||"0"))i.Hidden=true;s=l+c.length}break;case"</definedName>":{i.Ref=Be(Je(e.slice(s,l)));t.Names.push(i)}break;case"<definedName/>":break;case"<calcPr":delete o[0];t.CalcPr=o;break;case"<calcPr/>":delete o[0];t.CalcPr=o;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":;case"</customWorkbookViews>":;case"<customWorkbookViews":break;case"<customWorkbookView":;case"</customWorkbookView>":break;case"<pivotCaches>":;case"</pivotCaches>":;case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":;case"<smartTagPr/>":break;case"<smartTagTypes":;case"<smartTagTypes>":;case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":;case"<webPublishing/>":break;case"<fileRecoveryPr":;case"<fileRecoveryPr/>":break;case"<webPublishObjects>":;case"<webPublishObjects":;case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":;case"<extLst>":;case"</extLst>":;case"<extLst/>":break;case"<ext":a=true;break;case"</ext>":a=false;break;case"<ArchID":break;case"<AlternateContent":;case"<AlternateContent>":a=true;break;case"</AlternateContent>":a=false;break;case"<revisionPtr":break;default:if(!a&&r.WTF)throw new Error("unrecognized "+o[0]+" in workbook");}return c});if(mr.indexOf(t.xmlns)===-1)throw new Error("Unknown Namespace: "+t.xmlns);Bv(t);return t}function $v(e){var r=[Oe];r[r.length]=or("workbook",null,{xmlns:mr[0],"xmlns:r":pr.r});var t=e.Workbook&&(e.Workbook.Names||[]).length>0;var a={codeName:"ThisWorkbook"};if(e.Workbook&&e.Workbook.WBProps){Fv.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=or("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;if(n&&n[0]&&!!n[0].Hidden){r[r.length]="<bookViews>";for(i=0;i!=e.SheetNames.length;++i){if(!n[i])break;if(!n[i].Hidden)break}if(i==e.SheetNames.length)i=0;r[r.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>';r[r.length]="</bookViews>"}r[r.length]="<sheets>";for(i=0;i!=e.SheetNames.length;++i){var s={name:ze(e.SheetNames[i].slice(0,31))};s.sheetId=""+(i+1);s["r:id"]="rId"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break;}r[r.length]=or("sheet",null,s)}r[r.length]="</sheets>";if(t){r[r.length]="<definedNames>";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=""+e.Sheet;if(e.Hidden)t.hidden="1";if(!e.Ref)return;r[r.length]=or("definedName",ze(e.Ref),t)});r[r.length]="</definedNames>"}if(r.length>2){r[r.length]="</workbook>";r[1]=r[1].replace("/>",">")}return r.join("")}function Yv(e,r){var t={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=Yt(e,r-8);t.name=It(e);return t}function Kv(e,r){if(!r)r=tt(127);r._W(4,e.Hidden);r._W(4,e.iTabID);Kt(e.strRelID,r);Nt(e.name.slice(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function Jv(e,r){var t={};var a=e._R(4);t.defaultThemeVersion=e._R(4);var n=r>8?It(e):"";if(n.length>0)t.CodeName=n;t.autoCompressPictures=!!(a&65536);t.backupFile=!!(a&64);t.checkCompatibility=!!(a&4096);t.date1904=!!(a&1);t.filterPrivacy=!!(a&8);t.hidePivotFieldList=!!(a&1024);t.promptedSolutions=!!(a&16);t.publishItems=!!(a&2048);t.refreshAllConnections=!!(a&262144);t.saveExternalLinkValues=!!(a&128);t.showBorderUnselectedTables=!!(a&4);t.showInkAnnotation=!!(a&32);t.showObjects=["all","placeholders","none"][a>>13&3];t.showPivotChartFilter=!!(a&32768);t.updateLinks=["userSet","never","always"][a>>8&3];return t}function qv(e,r){if(!r)r=tt(72);var t=0;if(e){if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);Gt(e&&e.CodeName||"ThisWorkbook",r);return r.slice(0,r.l)}function Zv(e,r){var t={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;return t}function Qv(e,r,t){var a=e.l+r;e.l+=4;e.l+=1;var n=e._R(4);var i=$t(e);var s=uh(e,0,t);var f=jt(e);e.l=a;var c={Name:i,Ptg:s};if(n<268435455)c.Sheet=n;if(f)c.Comment=f;return c}function ep(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""};var a=[];var n=false;if(!r)r={};r.biff=12;var i=[];var s=[[]];s.SheetNames=[];s.XTI=[];fm[16]={n:"BrtFRTArchID$",f:Zv};at(e,function f(e,c,l){switch(l){case 156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=Qu(e.Ptg,null,null,s,r);delete r.SID;delete e.Ptg;i.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:if(!s[0].length)s[0]=[l,e];else s.push([l,e]);s[s.length-1].XTI=[];break;case 362:if(s.length===0){s[0]=[];s[0].XTI=[]}s[s.length-1].XTI=s[s.length-1].XTI.concat(e);s.XTI=s.XTI.concat(e);break;case 361:break;case 2071:;case 158:;case 143:;case 664:;case 353:break;case 3072:;case 3073:;case 534:;case 677:;case 157:;case 610:;case 2050:;case 155:;case 548:;case 676:;case 128:;case 665:;case 2128:;case 2125:;case 549:;case 2053:;case 596:;case 2076:;case 2075:;case 2082:;case 397:;case 154:;case 1117:;case 553:;case 2091:break;case 35:a.push(l);n=true;break;case 36:a.pop();n=false;break;case 37:a.push(l);n=true;break;case 38:a.pop();n=false;break;case 16:break;default:if(c.T){}else if(!n||r.WTF&&a[a.length-1]!=37&&a[a.length-1]!=35)throw new Error("Unexpected record 0x"+l.toString(16));}},r);Bv(t);t.Names=i;t.supbooks=s;return t}function rp(e,r){it(e,143);for(var t=0;t!=r.SheetNames.length;++t){var a=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;var n={Hidden:a,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};it(e,156,Kv(n))}it(e,144)}function tp(r,t){if(!t)t=tt(127);for(var a=0;a!=4;++a)t._W(4,0);Nt("SheetJS",t);Nt(e.version,t);Nt(e.version,t);Nt("7262",t);return t.length>t.l?t.slice(0,t.l):t}function ap(e,r){if(!r)r=tt(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);var t=120;r._W(1,t);return r.length>r.l?r.slice(0,r.l):r}function np(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;var t=r.Workbook.Sheets;var a=0,n=-1,i=-1;for(;a<t.length;++a){if(!t[a]||!t[a].Hidden&&n==-1)n=a;else if(t[a].Hidden==1&&i==-1)i=a}if(i>n)return;it(e,135);it(e,158,ap(n));it(e,136)}function ip(e,r){var t=nt();it(t,131);it(t,128,tp());it(t,153,qv(e.Workbook&&e.Workbook.WBProps||null));np(t,e,r);rp(t,e,r);it(t,132);return t.end()}function sp(e,r,t){if(r.slice(-4)===".bin")return ep(e,t);return Xv(e,t)}function fp(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return dv(e,a,t,n,i,s,f);return Wh(e,a,t,n,i,s,f)}function cp(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return Iv(e,a,t,n,i,s,f);return Cv(e,a,t,n,i,s,f)}function lp(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return po(e,a,t,n,i,s,f);return mo(e,a,t,n,i,s,f)}function op(e,r,t,a,n,i,s,f){if(r.slice(-4)===".bin")return ho(e,a,t,n,i,s,f);return vo(e,a,t,n,i,s,f)}function up(e,r,t,a){if(r.slice(-4)===".bin")return Qc(e,t,a);return Lc(e,t,a)}function hp(e,r,t){return kl(e,t)}function dp(e,r,t){if(r.slice(-4)===".bin")return Ff(e,t);return Rf(e,t)}function vp(e,r,t){if(r.slice(-4)===".bin")return so(e,t);return Jl(e,t)}function pp(e,r,t){if(r.slice(-4)===".bin")return Vl(e,r,t);return Hl(e,r,t)}function mp(e,r,t,a){if(t.slice(-4)===".bin")return jl(e,r,t,a);return Gl(e,r,t,a)}function bp(e,r,t){if(r.slice(-4)===".bin")return Ml(e,r,t);return Bl(e,r,t)}function gp(e,r,t){return(r.slice(-4)===".bin"?ip:$v)(e,t)}function wp(e,r,t,a,n){return(r.slice(-4)===".bin"?_v:fd)(e,t,a,n)}function kp(e,r,t,a,n){return(r.slice(-4)===".bin"?Nv:Rv)(e,t,a,n)}function Tp(e,r,t){return(r.slice(-4)===".bin"?ol:Mc)(e,t)}function Ep(e,r,t){return(r.slice(-4)===".bin"?Lf:If)(e,t)}function Sp(e,r,t){return(r.slice(-4)===".bin"?fo:ql)(e,t)}function yp(e){return(e.slice(-4)===".bin"?Ul:Wl)()}var _p=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g;var xp=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Ap(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(_p),i,s,f,c;if(n)for(c=0;c!=n.length;++c){i=n[c].match(xp);if((s=i[1].indexOf(":"))===-1)a[i[1]]=i[2].slice(1,i[2].length-1);else{if(i[1].slice(0,6)==="xmlns:")f="xmlns"+i[1].slice(6);else f=i[1].slice(s+1);a[f]=i[2].slice(1,i[2].length-1)}}return a}function Cp(e){var r=e.split(/\s+/);var t={};if(r.length===1)return t;var a=e.match(_p),n,i,s,f;if(a)for(f=0;f!=a.length;++f){n=a[f].match(xp);if((i=n[1].indexOf(":"))===-1)t[n[1]]=n[2].slice(1,n[2].length-1);else{if(n[1].slice(0,6)==="xmlns:")s="xmlns"+n[1].slice(6);else s=n[1].slice(i+1);t[s]=n[2].slice(1,n[2].length-1)}}return t}function Rp(e,r){var t=L[e]||Be(e);if(t==="General")return D._general(r);return D.format(t,r)}function Op(e,r,t,a){var n=a;switch((t[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=Ke(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=ce(a);break;case"i8":;case"string":;case"fixed":;case"uuid":;case"bin.base64":break;default:throw new Error("bad custprop:"+t[0]);}e[Be(r)]=n}function Ip(e,r,t){if(e.t==="z")return;if(!t||t.cellText!==false)try{if(e.t==="e"){e.w=e.w||Ia[e.v]}else if(r==="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=D._general_int(e.v);else e.w=D._general_num(e.v)}else e.w=D._general(e.v)}else e.w=Rp(r||"General",e.v)}catch(a){if(t.WTF)throw a}try{var n=L[r]||r||"General";if(t.cellNF)e.z=n;if(t.cellDates&&e.t=="n"&&D.is_date(n)){var i=D.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 Np(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=xc[a.Pattern]||a.Pattern}}e[r.ID]=r}function Fp(e,r,t,a,n,i,s,f,c,l){var o="General",u=a.StyleID,h={};l=l||{};var d=[];var v=0;if(u===undefined&&f)u=f.StyleID;if(u===undefined&&s)u=s.StyleID;while(i[u]!==undefined){if(i[u].nf)o=i[u].nf;if(i[u].Interior)d.push(i[u].Interior);if(!i[u].Parent)break;u=i[u].Parent}switch(t.Type){case"Boolean":a.t="b";a.v=Ke(e);break;case"String":a.t="s";a.r=$e(Be(e));a.v=e.indexOf("<")>-1?Be(r||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":if(e.slice(-1)!="Z")e+="Z";a.v=(ce(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3);if(a.v!==a.v)a.v=Be(e);else if(a.v<60)a.v=a.v-1;if(!o||o=="General")o="yyyy-mm-dd";case"Number":if(a.v===undefined)a.v=+e;if(!a.t)a.t="n";break;case"Error":a.t="e";a.v=Na[e];if(l.cellText!==false)a.w=e;break;default:if(e==""&&r==""){a.t="z"}else{a.t="s";a.v=$e(r||e)}break;}Ip(a,o,l);if(l.cellFormula!==false){if(a.Formula){var p=Be(a.Formula);if(p.charCodeAt(0)==61)p=p.slice(1);a.f=bo(p,n);delete a.Formula;if(a.ArrayRange=="RC")a.F=bo("RC:RC",n);else if(a.ArrayRange){a.F=bo(a.ArrayRange,n);c.push([St(a.F),a.F])}}else{for(v=0;v<c.length;++v)if(n.r>=c[v][0].s.r&&n.r<=c[v][0].e.r)if(n.c>=c[v][0].s.c&&n.c<=c[v][0].e.c)a.F=c[v][1]}}if(l.cellStyles){d.forEach(function(e){if(!h.patternType&&e.patternType)h.patternType=e.patternType});a.s=h}if(a.StyleID!==undefined)a.ixfe=a.StyleID}function Dp(e){e.t=e.v||"";e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n");e.v=e.w=e.ixfe=undefined}function Pp(e,r){var t=r||{};P(D);var n=d(dr(e));if(t.type=="binary"||t.type=="array"||t.type=="base64"){if(typeof a!=="undefined")n=a.utils.decode(65001,o(n));else n=Je(n)}var i=n.slice(0,1024).toLowerCase(),s=false;i=i.replace(/".*?"/g,"");if((i.indexOf(">")&1023)>Math.min(i.indexOf(",")&1023,i.indexOf(";")&1023)){var f=oe(t);f.type="string";return mf.to_workbook(n,f)}if(i.indexOf("<?xml")==-1)["html","table","head","meta","script","style","div"].forEach(function(e){if(i.indexOf("<"+e)>=0)s=true});if(s)return Cm.to_workbook(n,t);var c;var l=[],u;if(m!=null&&t.dense==null)t.dense=m;var h={},v=[],p=t.dense?[]:{},b="";var g={},w={};var k=Ap('<Data ss:Type="String">'),T=0;var E=0,S=0;var y={s:{r:2e6,c:2e6},e:{r:0,c:0}};var _={},x={};var A="",C=0;var R=[];var O={},I={},N=0,F=[];var M=[],U={};var B=[],W,H=false;var z=[];var V=[],G={},j=0,X=0;var $={Sheets:[],WBProps:{date1904:false}},Y={};vr.lastIndex=0;n=n.replace(/<!--([\s\S]*?)-->/gm,"");var K="";while(c=vr.exec(n))switch(c[3]=(K=c[3]).toLowerCase()){case"data":if(K=="data"){if(c[1]==="/"){if((u=l.pop())[0]!==c[3])throw new Error("Bad state: "+u.join("|"))}else if(c[0].charAt(c[0].length-2)!=="/")l.push([c[3],true]);break}if(l[l.length-1][1])break;if(c[1]==="/")Fp(n.slice(T,c.index),A,k,l[l.length-1][0]=="comment"?U:g,{c:E,r:S},_,B[E],w,z,t);else{A="";k=Ap(c[0]);T=c.index+c[0].length}break;case"cell":if(c[1]==="/"){if(M.length>0)g.c=M;if((!t.sheetRows||t.sheetRows>S)&&g.v!==undefined){if(t.dense){if(!p[S])p[S]=[];p[S][E]=g}else p[pt(E)+ut(S)]=g}if(g.HRef){g.l={Target:Be(g.HRef)};if(g.HRefScreenTip)g.l.Tooltip=g.HRefScreenTip;delete g.HRef;delete g.HRefScreenTip}if(g.MergeAcross||g.MergeDown){j=E+(parseInt(g.MergeAcross,10)|0);X=S+(parseInt(g.MergeDown,10)|0);R.push({s:{c:E,r:S},e:{c:j,r:X}})}if(!t.sheetStubs){if(g.MergeAcross)E=j+1;else++E}else if(g.MergeAcross||g.MergeDown){for(var J=E;J<=j;++J){for(var q=S;q<=X;++q){if(J>E||q>S){if(t.dense){if(!p[q])p[q]=[];p[q][J]={t:"z"}}else p[pt(J)+ut(q)]={t:"z"}}}}E=j+1}else++E}else{g=Cp(c[0]);if(g.Index)E=+g.Index-1;if(E<y.s.c)y.s.c=E;if(E>y.e.c)y.e.c=E;if(c[0].slice(-2)==="/>")++E;M=[]}break;case"row":if(c[1]==="/"||c[0].slice(-2)==="/>"){if(S<y.s.r)y.s.r=S;if(S>y.e.r)y.e.r=S;if(c[0].slice(-2)==="/>"){w=Ap(c[0]);if(w.Index)S=+w.Index-1}E=0;++S}else{w=Ap(c[0]);if(w.Index)S=+w.Index-1;G={};if(w.AutoFitHeight=="0"||w.Height){G.hpx=parseInt(w.Height,10);G.hpt=yc(G.hpx);V[S]=G}if(w.Hidden=="1"){G.hidden=true;V[S]=G}}break;case"worksheet":if(c[1]==="/"){if((u=l.pop())[0]!==c[3])throw new Error("Bad state: "+u.join("|"));v.push(b);if(y.s.r<=y.e.r&&y.s.c<=y.e.c){p["!ref"]=Et(y);if(t.sheetRows&&t.sheetRows<=y.e.r){p["!fullref"]=p["!ref"];y.e.r=t.sheetRows-1;p["!ref"]=Et(y)}}if(R.length)p["!merges"]=R;if(B.length>0)p["!cols"]=B;if(V.length>0)p["!rows"]=V;h[b]=p}else{y={s:{r:2e6,c:2e6},e:{r:0,c:0}};S=E=0;l.push([c[3],false]);u=Ap(c[0]);b=Be(u.Name);p=t.dense?[]:{};R=[];z=[];V=[];Y={name:b,Hidden:0};$.Sheets.push(Y)}break;case"table":if(c[1]==="/"){if((u=l.pop())[0]!==c[3])throw new Error("Bad state: "+u.join("|"))}else if(c[0].slice(-2)=="/>")break;else{l.push([c[3],false]);B=[];H=false}break;case"style":if(c[1]==="/")Np(_,x,t);else x=Ap(c[0]);break;case"numberformat":x.nf=Be(Ap(c[0]).Format||"General");if(L[x.nf])x.nf=L[x.nf];for(var Z=0;Z!=392;++Z)if(D._table[Z]==x.nf)break;if(Z==392)for(Z=57;Z!=392;++Z)if(D._table[Z]==null){D.load(x.nf,Z);break}break;case"column":if(l[l.length-1][0]!=="table")break;W=Ap(c[0]);if(W.Hidden){W.hidden=true;delete W.Hidden}if(W.Width)W.wpx=parseInt(W.Width,10);if(!H&&W.wpx>10){H=true;pc=hc;for(var Q=0;Q<B.length;++Q)if(B[Q])Tc(B[Q])}if(H)Tc(W);B[W.Index-1||B.length]=W;for(var ee=0;ee<+W.Span;++ee)B[B.length]=oe(W);break;case"namedrange":if(c[1]==="/")break;if(!$.Names)$.Names=[];var re=Pe(c[0]);var te={Name:re.Name,Ref:bo(re.RefersTo.slice(1),{r:0,c:0})};if($.Sheets.length>0)te.Sheet=$.Sheets.length-1;$.Names.push(te);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if(c[0].slice(-2)==="/>")break;else if(c[1]==="/")A+=n.slice(C,c.index);else C=c.index+c[0].length;break;case"interior":if(!t.cellStyles)break;x.Interior=Ap(c[0]);break;case"protection":break;case"author":;case"title":;case"description":;case"created":;case"keywords":;case"subject":;case"category":;case"company":;case"lastauthor":;case"lastsaved":;case"lastprinted":;case"version":;case"revision":;case"totaltime":;case"hyperlinkbase":;case"manager":;case"contentstatus":;case"identifier":;case"language":;case"appname":if(c[0].slice(-2)==="/>")break;else if(c[1]==="/")pn(O,K,n.slice(N,c.index));else N=c.index+c[0].length;break;case"paragraphs":break;case"styles":;case"workbook":if(c[1]==="/"){if((u=l.pop())[0]!==c[3])throw new Error("Bad state: "+u.join("|"))}else l.push([c[3],false]);break;case"comment":if(c[1]==="/"){if((u=l.pop())[0]!==c[3])throw new Error("Bad state: "+u.join("|"));Dp(U);M.push(U)}else{l.push([c[3],false]);u=Ap(c[0]);U={a:u.Author}}break;case"autofilter":if(c[1]==="/"){if((u=l.pop())[0]!==c[3])throw new Error("Bad state: "+u.join("|"))}else if(c[0].charAt(c[0].length-2)!=="/"){var ae=Ap(c[0]);p["!autofilter"]={ref:bo(ae.Range).replace(/\$/g,"")
};l.push([c[3],true])}break;case"name":break;case"datavalidation":if(c[1]==="/"){if((u=l.pop())[0]!==c[3])throw new Error("Bad state: "+u.join("|"))}else{if(c[0].charAt(c[0].length-2)!=="/")l.push([c[3],true])}break;case"pixelsperinch":break;case"componentoptions":;case"documentproperties":;case"customdocumentproperties":;case"officedocumentsettings":;case"pivottable":;case"pivotcache":;case"names":;case"mapinfo":;case"pagebreaks":;case"querytable":;case"sorting":;case"schema":;case"conditionalformatting":;case"smarttagtype":;case"smarttags":;case"excelworkbook":;case"workbookoptions":;case"worksheetoptions":if(c[1]==="/"){if((u=l.pop())[0]!==c[3])throw new Error("Bad state: "+u.join("|"))}else if(c[0].charAt(c[0].length-2)!=="/")l.push([c[3],true]);break;case"null":break;default:if(l.length==0&&c[3]=="document")return Um(n,t);if(l.length==0&&c[3]=="uof")return Um(n,t);var ne=true;switch(l[l.length-1][0]){case"officedocumentsettings":switch(c[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:ne=false;}break;case"componentoptions":switch(c[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:ne=false;}break;case"excelworkbook":switch(c[3]){case"date1904":$.WBProps.date1904=true;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:ne=false;}break;case"workbookoptions":switch(c[3]){case"owcversion":break;case"height":break;case"width":break;default:ne=false;}break;case"worksheetoptions":switch(c[3]){case"visible":if(c[0].slice(-2)==="/>"){}else if(c[1]==="/")switch(n.slice(N,c.index)){case"SheetHidden":Y.Hidden=1;break;case"SheetVeryHidden":Y.Hidden=2;break;}else N=c.index+c[0].length;break;case"header":if(!p["!margins"])_h(p["!margins"]={},"xlml");if(!isNaN(+Pe(c[0]).Margin))p["!margins"].header=+Pe(c[0]).Margin;break;case"footer":if(!p["!margins"])_h(p["!margins"]={},"xlml");if(!isNaN(+Pe(c[0]).Margin))p["!margins"].footer=+Pe(c[0]).Margin;break;case"pagemargins":var ie=Pe(c[0]);if(!p["!margins"])_h(p["!margins"]={},"xlml");if(!isNaN(+ie.Top))p["!margins"].top=+ie.Top;if(!isNaN(+ie.Left))p["!margins"].left=+ie.Left;if(!isNaN(+ie.Right))p["!margins"].right=+ie.Right;if(!isNaN(+ie.Bottom))p["!margins"].bottom=+ie.Bottom;break;case"displayrighttoleft":if(!$.Views)$.Views=[];if(!$.Views[0])$.Views[0]={};$.Views[0].RTL=true;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":;case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":if(!p["!outline"])p["!outline"]={};p["!outline"].above=true;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":if(!p["!outline"])p["!outline"]={};p["!outline"].left=true;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:ne=false;}break;case"pivottable":;case"pivotcache":switch(c[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:ne=false;}break;case"pagebreaks":switch(c[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:ne=false;}break;case"autofilter":switch(c[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:ne=false;}break;case"querytable":switch(c[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:ne=false;}break;case"datavalidation":switch(c[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:ne=false;}break;case"sorting":;case"conditionalformatting":switch(c[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:ne=false;}break;case"mapinfo":;case"schema":;case"data":switch(c[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":;case"element":;case"complextype":;case"datatype":;case"all":;case"attribute":;case"extends":break;case"row":break;default:ne=false;}break;case"smarttags":break;default:ne=false;break;}if(ne)break;if(c[3].match(/!\[CDATA/))break;if(!l[l.length-1][1])throw"Unrecognized tag: "+c[3]+"|"+l.join("|");if(l[l.length-1][0]==="customdocumentproperties"){if(c[0].slice(-2)==="/>")break;else if(c[1]==="/")Op(I,K,F,n.slice(N,c.index));else{F=c;N=c.index+c[0].length}break}if(t.WTF)throw"Unrecognized tag: "+c[3]+"|"+l.join("|");}var se={};if(!t.bookSheets&&!t.bookProps)se.Sheets=h;se.SheetNames=v;se.Workbook=$;se.SSF=D.get_table();se.Props=O;se.Custprops=I;return se}function Lp(e,r){db(r=r||{});switch(r.type||"base64"){case"base64":return Pp(g.decode(e),r);case"binary":;case"buffer":;case"file":return Pp(e,r);case"array":return Pp(A(e),r);}}function Mp(e,r){var t=[];if(e.Props)t.push(mn(e.Props,r));if(e.Custprops)t.push(bn(e.Props,e.Custprops,r));return t.join("")}function Up(){return""}function Bp(e,r){var t=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];r.cellXfs.forEach(function(e,r){var a=[];a.push(or("NumberFormat",null,{"ss:Format":ze(D._table[e.numFmtId])}));var n={"ss:ID":"s"+(21+r)};t.push(or("Style",a.join(""),n))});return or("Styles",t.join(""))}function Wp(e){return or("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+wo(e.Ref,{r:0,c:0})})}function Hp(e){if(!((e||{}).Workbook||{}).Names)return"";var r=e.Workbook.Names;var t=[];for(var a=0;a<r.length;++a){var n=r[a];if(n.Sheet!=null)continue;if(n.Name.match(/^_xlfn\./))continue;t.push(Wp(n))}return or("Names",t.join(""))}function zp(e,r,t,a){if(!e)return"";if(!((a||{}).Workbook||{}).Names)return"";var n=a.Workbook.Names;var i=[];for(var s=0;s<n.length;++s){var f=n[s];if(f.Sheet!=t)continue;if(f.Name.match(/^_xlfn\./))continue;i.push(Wp(f))}return i.join("")}function Vp(e,r,t,a){if(!e)return"";var n=[];if(e["!margins"]){n.push("<PageSetup>");if(e["!margins"].header)n.push(or("Header",null,{"x:Margin":e["!margins"].header}));if(e["!margins"].footer)n.push(or("Footer",null,{"x:Margin":e["!margins"].footer}));n.push(or("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"}));n.push("</PageSetup>")}if(a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t]){if(a.Workbook.Sheets[t].Hidden)n.push(or("Visible",a.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<t;++i)if(a.Workbook.Sheets[i]&&!a.Workbook.Sheets[i].Hidden)break;if(i==t)n.push("<Selected/>")}}if(((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL)n.push("<DisplayRightToLeft/>");if(e["!protect"]){n.push(cr("ProtectContents","True"));if(e["!protect"].objects)n.push(cr("ProtectObjects","True"));if(e["!protect"].scenarios)n.push(cr("ProtectScenarios","True"));if(e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells)n.push(cr("EnableSelection","NoSelection"));else if(e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells)n.push(cr("EnableSelection","UnlockedCells"));[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(r){if(e["!protect"][r[0]])n.push("<"+r[1]+"/>")})}if(n.length==0)return"";return or("WorksheetOptions",n.join(""),{xmlns:br.x})}function Gp(e){return e.map(function(e){var r=Ye(e.t||"");var t=or("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return or("Comment",t,{"ss:Author":e.a})}).join("")}function jp(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return"";var f={};if(e.f)f["ss:Formula"]="="+ze(wo(e.f,s));if(e.F&&e.F.slice(0,r.length)==r){var c=wt(e.F.slice(r.length+1));f["ss:ArrayRange"]="RC:R"+(c.r==s.r?"":"["+(c.r-s.r)+"]")+"C"+(c.c==s.c?"":"["+(c.c-s.c)+"]")}if(e.l&&e.l.Target){f["ss:HRef"]=ze(e.l.Target);if(e.l.Tooltip)f["x:HRefScreenTip"]=ze(e.l.Tooltip)}if(t["!merges"]){var l=t["!merges"];for(var o=0;o!=l.length;++o){if(l[o].s.c!=s.c||l[o].s.r!=s.r)continue;if(l[o].e.c>l[o].s.c)f["ss:MergeAcross"]=l[o].e.c-l[o].s.c;if(l[o].e.r>l[o].s.r)f["ss:MergeDown"]=l[o].e.r-l[o].s.r}}var u="",h="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":u="Number";h=String(e.v);break;case"b":u="Boolean";h=e.v?"1":"0";break;case"e":u="Error";h=Ia[e.v];break;case"d":u="DateTime";h=new Date(e.v).toISOString();if(e.z==null)e.z=e.z||D._table[14];break;case"s":u="String";h=Xe(e.v||"");break;}var d=xh(a.cellXfs,e,a);f["ss:StyleID"]="s"+(21+d);f["ss:Index"]=s.c+1;var v=e.v!=null?h:"";var p=e.t=="z"?"":'<Data ss:Type="'+u+'">'+v+"</Data>";if((e.c||[]).length>0)p+=Gp(e.c);return or("Cell",p,f)}function Xp(e,r){var t='<Row ss:Index="'+(e+1)+'"';if(r){if(r.hpt&&!r.hpx)r.hpx=_c(r.hpt);if(r.hpx)t+=' ss:AutoFitHeight="0" ss:Height="'+r.hpx+'"';if(r.hidden)t+=' ss:Hidden="1"'}return t+">"}function $p(e,r,t,a){if(!e["!ref"])return"";var n=St(e["!ref"]);var i=e["!merges"]||[],s=0;var f=[];if(e["!cols"])e["!cols"].forEach(function(e,r){Tc(e);var t=!!e.width;var a=yh(r,e);var n={"ss:Index":r+1};if(t)n["ss:Width"]=mc(a.width);if(e.hidden)n["ss:Hidden"]="1";f.push(or("Column",null,n))});var c=Array.isArray(e);for(var l=n.s.r;l<=n.e.r;++l){var o=[Xp(l,(e["!rows"]||[])[l])];for(var u=n.s.c;u<=n.e.c;++u){var h=false;for(s=0;s!=i.length;++s){if(i[s].s.c>u)continue;if(i[s].s.r>l)continue;if(i[s].e.c<u)continue;if(i[s].e.r<l)continue;if(i[s].s.c!=u||i[s].s.r!=l)h=true;break}if(h)continue;var d={r:l,c:u};var v=kt(d),p=c?(e[l]||[])[u]:e[v];o.push(jp(p,v,e,r,t,a,d))}o.push("</Row>");if(o.length>2)f.push(o.join(""))}return f.join("")}function Yp(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?zp(i,r,e,t):"";if(s.length>0)a.push("<Names>"+s+"</Names>");s=i?$p(i,r,e,t):"";if(s.length>0)a.push("<Table>"+s+"</Table>");a.push(Vp(i,r,e,t));return a.join("")}function Kp(e,r){if(!r)r={};if(!e.SSF)e.SSF=D.get_table();if(e.SSF){P(D);D.load_table(e.SSF);r.revssf=q(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF;r.cellXfs=[];xh(r.cellXfs,{},{revssf:{General:0}})}var t=[];t.push(Mp(e,r));t.push(Up(e,r));t.push("");t.push("");for(var a=0;a<e.SheetNames.length;++a)t.push(or("Worksheet",Yp(a,r,e),{"ss:Name":ze(e.SheetNames[a])}));t[2]=Bp(e,r);t[3]=Hp(e,r);return Oe+or("Workbook",t.join(""),{xmlns:br.ss,"xmlns:o":br.o,"xmlns:x":br.x,"xmlns:ss":br.ss,"xmlns:dt":br.dt,"xmlns:html":br.html})}function Jp(e){var r={};var t=e.content;t.l=28;r.AnsiUserType=t._R(0,"lpstr-ansi");r.AnsiClipboardFormat=la(t);if(t.length-t.l<=4)return r;var a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved1=t._R(0,"lpstr-ansi");if(t.length-t.l<=4)return r;a=t._R(4);if(a!==1907505652)return r;r.UnicodeClipboardFormat=oa(t);a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved2=t._R(0,"lpwstr")}var qp=[60,1084,2066,2165,2175];function Zp(e,r,t,a,n){var i=a;var s=[];var f=t.slice(t.l,t.l+i);if(n&&n.enc&&n.enc.insitu&&f.length>0)switch(e){case 9:;case 521:;case 1033:;case 2057:;case 47:;case 405:;case 225:;case 406:;case 312:;case 404:;case 10:break;case 133:break;default:n.enc.insitu(f);}s.push(f);t.l+=i;var c=Vr(t,t.l),l=cm[c];var o=0;while(l!=null&&qp.indexOf(c)>-1){i=Vr(t,t.l+2);o=t.l+4;if(c==2066)o+=4;else if(c==2165||c==2175){o+=12}f=t.slice(o,t.l+4+i);s.push(f);t.l+=4+i;l=cm[c=Vr(t,t.l)]}var u=I(s);et(u,0);var h=0;u.lens=[];for(var d=0;d<s.length;++d){u.lens.push(h);h+=s[d].length}if(u.length<a)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+u.length+" < "+a;return r.f(u,u.length,n)}function Qp(e,r,t){if(e.t==="z")return;if(!e.XF)return;var a=0;try{a=e.z||e.XF.numFmtId||0;if(r.cellNF)e.z=D._table[a]}catch(n){if(r.WTF)throw n}if(!r||r.cellText!==false)try{if(e.t==="e"){e.w=e.w||Ia[e.v]}else if(a===0||a=="General"){if(e.t==="n"){if((e.v|0)===e.v)e.w=D._general_int(e.v);else e.w=D._general_num(e.v)}else e.w=D._general(e.v)}else e.w=D.format(a,e.v,{date1904:!!t,dateNF:r&&r.dateNF})}catch(n){if(r.WTF)throw n}if(r.cellDates&&a&&e.t=="n"&&D.is_date(D._table[a]||String(a))){var i=D.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)}}}function em(e,r,t){return{v:e,ixfe:r,t:t}}function rm(e,r){var t={opts:{}};var a={};if(m!=null&&r.dense==null)r.dense=m;var n=r.dense?[]:{};var i={};var s={};var f=null;var l=[];var o="";var u={};var h,d="",v,p,b,g;var w={};var k=[];var T;var E;var S=[];var y=[];var _={Sheets:[],WBProps:{date1904:false},Views:[{}]},x={};var A=function pe(e){if(e<8)return Oa[e];if(e<64)return y[e-8]||Oa[e];return Oa[e]};var C=function me(e,r,t){var a=r.XF.data;if(!a||!a.patternType||!t||!t.cellStyles)return;r.s={};r.s.patternType=a.patternType;var n;if(n=cc(A(a.icvFore))){r.s.fgColor={rgb:n}}if(n=cc(A(a.icvBack))){r.s.bgColor={rgb:n}}};var R=function be(e,r,t){if(W>1)return;if(t.sheetRows&&e.r>=t.sheetRows)return;if(t.cellStyles&&r.XF&&r.XF.data)C(e,r,t);delete r.ixfe;delete r.XF;h=e;d=kt(e);if(!s||!s.s||!s.e)s={s:{r:0,c:0},e:{r:0,c:0}};if(e.r<s.s.r)s.s.r=e.r;if(e.c<s.s.c)s.s.c=e.c;if(e.r+1>s.e.r)s.e.r=e.r+1;if(e.c+1>s.e.c)s.e.c=e.c+1;if(t.cellFormula&&r.f){for(var a=0;a<k.length;++a){if(k[a][0].s.c>e.c||k[a][0].s.r>e.r)continue;if(k[a][0].e.c<e.c||k[a][0].e.r<e.r)continue;r.F=Et(k[a][0]);if(k[a][0].s.c!=e.c||k[a][0].s.r!=e.r)delete r.f;if(r.f)r.f=""+Qu(k[a][1],s,e,U,O);break}}{if(t.dense){if(!n[e.r])n[e.r]=[];n[e.r][e.c]=r}else n[d]=r}};var O={enc:false,sbcch:0,snames:[],sharedf:w,arrayf:k,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};if(r.password)O.password=r.password;var I;var N=[];var F=[];var P=[],L=[];var M=false;var U=[];U.SheetNames=O.snames;U.sharedf=O.sharedf;U.arrayf=O.arrayf;U.names=[];U.XTI=[];var B=0;var W=0;var H=0,z=[];var V=[];var G;O.codepage=1200;c(1200);var j=false;while(e.l<e.length-1){var X=e.l;var $=e._R(2);if($===0&&B===10)break;var K=e.l===e.length?0:e._R(2);var J=cm[$];if(J&&J.f){if(r.bookSheets){if(B===133&&$!==133)break}B=$;if(J.r===2||J.r==12){var q=e._R(2);K-=2;if(!O.enc&&q!==$&&((q&255)<<8|q>>8)!==$)throw new Error("rt mismatch: "+q+"!="+$);if(J.r==12){e.l+=10;K-=10}}var Z={};if($===10)Z=J.f(e,K,O);else Z=Zp($,J,e,K,O);if(W==0&&[9,521,1033,2057].indexOf(B)===-1)continue;switch($){case 34:t.opts.Date1904=_.WBProps.date1904=Z;break;case 134:t.opts.WriteProtect=true;break;case 47:if(!O.enc)e.l=0;O.enc=Z;if(!r.password)throw new Error("File is password-protected");if(Z.valid==null)throw new Error("Encryption scheme unsupported");if(!Z.valid)throw new Error("Password is incorrect");break;case 92:O.lastuser=Z;break;case 66:var Q=Number(Z);switch(Q){case 21010:Q=1200;break;case 32768:Q=1e4;break;case 32769:Q=1252;break;}c(O.codepage=Q);j=true;break;case 317:O.rrtabid=Z;break;case 25:O.winlocked=Z;break;case 439:t.opts["RefreshAll"]=Z;break;case 12:t.opts["CalcCount"]=Z;break;case 16:t.opts["CalcDelta"]=Z;break;case 17:t.opts["CalcIter"]=Z;break;case 13:t.opts["CalcMode"]=Z;break;case 14:t.opts["CalcPrecision"]=Z;break;case 95:t.opts["CalcSaveRecalc"]=Z;break;case 15:O.CalcRefMode=Z;break;case 2211:t.opts.FullCalc=Z;break;case 129:if(Z.fDialog)n["!type"]="dialog";if(!Z.fBelow)(n["!outline"]||(n["!outline"]={})).above=true;if(!Z.fRight)(n["!outline"]||(n["!outline"]={})).left=true;break;case 224:S.push(Z);break;case 430:U.push([Z]);U[U.length-1].XTI=[];break;case 35:;case 547:U[U.length-1].push(Z);break;case 24:;case 536:G={Name:Z.Name,Ref:Qu(Z.rgce,s,null,U,O)};if(Z.itab>0)G.Sheet=Z.itab-1;U.names.push(G);if(!U[0]){U[0]=[];U[0].XTI=[]}U[U.length-1].push(Z);if(Z.Name=="_xlnm._FilterDatabase"&&Z.itab>0)if(Z.rgce&&Z.rgce[0]&&Z.rgce[0][0]&&Z.rgce[0][0][0]=="PtgArea3d")V[Z.itab-1]={ref:Et(Z.rgce[0][0][1][2])};break;case 22:O.ExternCount=Z;break;case 23:if(U.length==0){U[0]=[];U[0].XTI=[]}U[U.length-1].XTI=U[U.length-1].XTI.concat(Z);U.XTI=U.XTI.concat(Z);break;case 2196:if(O.biff<8)break;if(G!=null)G.Comment=Z[1];break;case 18:n["!protect"]=Z;break;case 19:if(Z!==0&&O.WTF)console.error("Password verifier: "+Z);break;case 133:{i[Z.pos]=Z;O.snames.push(Z.name)}break;case 10:{if(--W)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;n["!ref"]=Et(s);if(r.sheetRows&&r.sheetRows<=s.e.r){var ee=s.e.r;s.e.r=r.sheetRows-1;n["!fullref"]=n["!ref"];n["!ref"]=Et(s);s.e.r=ee}s.e.r++;s.e.c++}if(N.length>0)n["!merges"]=N;if(F.length>0)n["!objects"]=F;if(P.length>0)n["!cols"]=P;if(L.length>0)n["!rows"]=L;_.Sheets.push(x)}if(o==="")u=n;else a[o]=n;n=r.dense?[]:{}}break;case 9:;case 521:;case 1033:;case 2057:{if(O.biff===8)O.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[Z.BIFFVer]||8;O.biffguess=Z.BIFFVer==0;if(Z.BIFFVer==0&&Z.dt==4096){O.biff=5;j=true;c(O.codepage=28591)}if(O.biff==8&&Z.BIFFVer==0&&Z.dt==16)O.biff=2;if(W++)break;n=r.dense?[]:{};if(O.biff<8&&!j){j=true;c(O.codepage=r.codepage||1252)}if(O.biff<5||Z.BIFFVer==0&&Z.dt==4096){if(o==="")o="Sheet1";s={s:{r:0,c:0},e:{r:0,c:0}};var re={pos:e.l-K,name:o};i[re.pos]=re;O.snames.push(o)}else o=(i[X]||{name:""}).name;if(Z.dt==32)n["!type"]="chart";if(Z.dt==64)n["!type"]="macro";N=[];F=[];O.arrayf=k=[];P=[];L=[];M=false;x={Hidden:(i[X]||{hs:0}).hs,name:o}}break;case 515:;case 3:;case 2:{if(n["!type"]=="chart")if(r.dense?(n[Z.r]||[])[Z.c]:n[kt({c:Z.c,r:Z.r})])++Z.c;T={ixfe:Z.ixfe,XF:S[Z.ixfe]||{},v:Z.val,t:"n"};if(H>0)T.z=z[T.ixfe>>8&63];Qp(T,r,t.opts.Date1904);R({c:Z.c,r:Z.r},T,r)}break;case 5:;case 517:{T={ixfe:Z.ixfe,XF:S[Z.ixfe],v:Z.val,t:Z.t};if(H>0)T.z=z[T.ixfe>>8&63];Qp(T,r,t.opts.Date1904);R({c:Z.c,r:Z.r},T,r)}break;case 638:{T={ixfe:Z.ixfe,XF:S[Z.ixfe],v:Z.rknum,t:"n"};if(H>0)T.z=z[T.ixfe>>8&63];Qp(T,r,t.opts.Date1904);R({c:Z.c,r:Z.r},T,r)}break;case 189:{for(var te=Z.c;te<=Z.C;++te){var ae=Z.rkrec[te-Z.c][0];T={ixfe:ae,XF:S[ae],v:Z.rkrec[te-Z.c][1],t:"n"};if(H>0)T.z=z[T.ixfe>>8&63];Qp(T,r,t.opts.Date1904);R({c:te,r:Z.r},T,r)}}break;case 6:;case 518:;case 1030:{if(Z.val=="String"){f=Z;break}T=em(Z.val,Z.cell.ixfe,Z.tt);T.XF=S[T.ixfe];if(r.cellFormula){var ne=Z.formula;if(ne&&ne[0]&&ne[0][0]&&ne[0][0][0]=="PtgExp"){var ie=ne[0][0][1][0],se=ne[0][0][1][1];var fe=kt({r:ie,c:se});if(w[fe])T.f=""+Qu(Z.formula,s,Z.cell,U,O);else T.F=((r.dense?(n[ie]||[])[se]:n[fe])||{}).F}else T.f=""+Qu(Z.formula,s,Z.cell,U,O)}if(H>0)T.z=z[T.ixfe>>8&63];Qp(T,r,t.opts.Date1904);R(Z.cell,T,r);f=Z}break;case 7:;case 519:{if(f){f.val=Z;T=em(Z,f.cell.ixfe,"s");T.XF=S[T.ixfe];if(r.cellFormula){T.f=""+Qu(f.formula,s,f.cell,U,O)}if(H>0)T.z=z[T.ixfe>>8&63];Qp(T,r,t.opts.Date1904);R(f.cell,T,r);f=null}else throw new Error("String record expects Formula")}break;case 33:;case 545:{k.push(Z);var ce=kt(Z[0].s);v=r.dense?(n[Z[0].s.r]||[])[Z[0].s.c]:n[ce];if(r.cellFormula&&v){if(!f)break;if(!ce||!v)break;v.f=""+Qu(Z[1],s,Z[0],U,O);v.F=Et(Z[0])}}break;case 1212:{if(!r.cellFormula)break;if(d){if(!f)break;w[kt(f.cell)]=Z[0];v=r.dense?(n[f.cell.r]||[])[f.cell.c]:n[kt(f.cell)];(v||{}).f=""+Qu(Z[0],s,h,U,O)}}break;case 253:T=em(l[Z.isst].t,Z.ixfe,"s");if(l[Z.isst].h)T.h=l[Z.isst].h;T.XF=S[T.ixfe];if(H>0)T.z=z[T.ixfe>>8&63];Qp(T,r,t.opts.Date1904);R({c:Z.c,r:Z.r},T,r);break;case 513:if(r.sheetStubs){T={ixfe:Z.ixfe,XF:S[Z.ixfe],t:"z"};if(H>0)T.z=z[T.ixfe>>8&63];Qp(T,r,t.opts.Date1904);R({c:Z.c,r:Z.r},T,r)}break;case 190:if(r.sheetStubs){for(var le=Z.c;le<=Z.C;++le){var oe=Z.ixfe[le-Z.c];T={ixfe:oe,XF:S[oe],t:"z"};if(H>0)T.z=z[T.ixfe>>8&63];Qp(T,r,t.opts.Date1904);R({c:le,r:Z.r},T,r)}}break;case 214:;case 516:;case 4:T=em(Z.val,Z.ixfe,"s");T.XF=S[T.ixfe];if(H>0)T.z=z[T.ixfe>>8&63];Qp(T,r,t.opts.Date1904);R({c:Z.c,r:Z.r},T,r);break;case 0:;case 512:{if(W===1)s=Z}break;case 252:{l=Z}break;case 1054:{if(O.biff==4){z[H++]=Z[1];for(var ue=0;ue<H+163;++ue)if(D._table[ue]==Z[1])break;if(ue>=163)D.load(Z[1],H+163)}else D.load(Z[1],Z[0])}break;case 30:{z[H++]=Z;for(var he=0;he<H+163;++he)if(D._table[he]==Z)break;if(he>=163)D.load(Z,H+163)}break;case 229:N=N.concat(Z);break;case 93:F[Z.cmo[0]]=O.lastobj=Z;break;case 438:O.lastobj.TxO=Z;break;case 127:O.lastobj.ImData=Z;break;case 440:{for(g=Z[0].s.r;g<=Z[0].e.r;++g)for(b=Z[0].s.c;b<=Z[0].e.c;++b){v=r.dense?(n[g]||[])[b]:n[kt({c:b,r:g})];if(v)v.l=Z[1]}}break;case 2048:{for(g=Z[0].s.r;g<=Z[0].e.r;++g)for(b=Z[0].s.c;b<=Z[0].e.c;++b){v=r.dense?(n[g]||[])[b]:n[kt({c:b,r:g})];if(v&&v.l)v.l.Tooltip=Z[1]}}break;case 28:{if(O.biff<=5&&O.biff>=2)break;v=r.dense?(n[Z[0].r]||[])[Z[0].c]:n[kt(Z[0])];var de=F[Z[2]];if(!v){if(r.dense){if(!n[Z[0].r])n[Z[0].r]=[];v=n[Z[0].r][Z[0].c]={t:"z"}}else{v=n[kt(Z[0])]={t:"z"}}s.e.r=Math.max(s.e.r,Z[0].r);s.s.r=Math.min(s.s.r,Z[0].r);s.e.c=Math.max(s.e.c,Z[0].c);s.s.c=Math.min(s.s.c,Z[0].c)}if(!v.c)v.c=[];p={a:Z[1],t:de.TxO.t};v.c.push(p)}break;case 2173:Rl(S[Z.ixfe],Z.ext);break;case 125:{if(!O.cellStyles)break;while(Z.e>=Z.s){P[Z.e--]={width:Z.w/256,level:Z.level||0,hidden:!!(Z.flags&1)};if(!M){M=true;kc(Z.w/256)}Tc(P[Z.e+1])}}break;case 520:{var ve={};if(Z.level!=null){L[Z.r]=ve;ve.level=Z.level}if(Z.hidden){L[Z.r]=ve;ve.hidden=true}if(Z.hpt){L[Z.r]=ve;ve.hpt=Z.hpt;ve.hpx=_c(Z.hpt)}}break;case 38:;case 39:;case 40:;case 41:if(!n["!margins"])_h(n["!margins"]={});n["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[$]]=Z;break;case 161:if(!n["!margins"])_h(n["!margins"]={});n["!margins"].header=Z.header;n["!margins"].footer=Z.footer;break;case 574:if(Z.RTL)_.Views[0].RTL=true;break;case 146:y=Z;break;case 2198:I=Z;break;case 140:E=Z;break;case 442:{if(!o)_.WBProps.CodeName=Z||"ThisWorkbook";else x.CodeName=Z||x.name}break;case 85:;case 549:;case 94:;case 431:;case 444:;case 91:;case 255:;case 2147:;case 2214:;case 233:;case 96:;case 218:;case 352:;case 2202:;case 11:;case 523:;case 4188:;case 29:;case 20:;case 21:;case 131:;case 132:;case 77:;case 171:;case 148:;case 215:;case 450:;case 176:;case 177:;case 178:;case 256:;case 180:;case 205:;case 151:;case 135:;case 197:;case 181:;case 241:;case 2050:;case 2152:;case 2151:;case 2161:;case 2162:;case 2168:;case 2167:;case 449:;case 153:;case 4192:;case 4200:;case 4198:;case 49:;case 2172:;case 659:;case 2194:;case 221:;case 99:;case 2169:;case 566:;case 2190:;case 2191:;case 2192:;case 213:;case 227:;case 81:;case 2148:;case 437:;case 82:;case 182:;case 251:;case 247:;case 240:;case 242:;case 245:;case 244:;case 174:;case 80:;case 2156:;case 42:;case 43:;case 51:;case 89:;case 90:;case 160:;case 2146:;case 445:;case 211:;case 2199:;case 2059:;case 239:;case 222:;case 2189:;case 446:;case 434:;case 4177:;case 4099:;case 4109:;case 2166:;case 220:;case 2051:;case 2058:;case 2052:;case 4174:;case 432:;case 433:;case 2170:;case 2171:;case 448:;case 4097:;case 225:;case 193:;case 226:;case 353:;case 156:break;case 61:;case 141:;case 130:;case 128:;case 425:;case 426:;case 427:;case 65:;case 4195:;case 4147:;case 4148:;case 2130:;case 2131:;case 4146:;case 4122:;case 4125:;case 4129:;case 4126:;case 4166:;case 2205:;case 2215:;case 4130:;case 4124:;case 2206:;case 2207:;case 4103:;case 4106:;case 4098:;case 4154:;case 4191:;case 4116:;case 2128:;case 4149:;case 4196:;case 4118:;case 4170:;case 4171:;case 4102:;case 4165:;case 4134:;case 4128:;case 4194:;case 4189:;case 4164:;case 4132:;case 4133:;case 2134:;case 2155:;case 4117:;case 4163:;case 4121:;case 4123:;case 4107:;case 4105:;case 2132:;case 2133:;case 4176:;case 4135:;case 4197:;case 4108:;case 2135:;case 4120:;case 4119:;case 4159:;case 4161:;case 4175:;case 4127:;case 2064:;case 2136:;case 2137:;case 4168:;case 2213:;case 2249:;case 2250:;case 2251:;case 429:;case 2055:;case 2054:;case 2053:;case 155:;case 158:;case 157:;case 2174:;case 2164:;case 144:;case 2197:;case 2212:;case 236:;case 235:;case 237:;case 2049:;case 2240:;case 2204:;case 2150:;case 2187:;case 27:;case 26:;case 64:;case 2203:;case 2188:;case 60:;case 2175:;case 2138:;case 2129:;case 234:;case 4158:;case 4160:;case 4157:;case"Intl":;case"CoordList":;case"SerAuxErrBar":;case 69:;case 31:;case 50:;case 67:;case 579:;case 1091:;case 68:;case 86:;case 8:;case 62:;case 175:;case 4156:;case 2154:;case 441:;case 4193:;case 4199:;case 2067:;case 149:;case 154:;case 194:;case 152:;case 2241:;case 2242:;case 319:;case 1048:;case 191:;case 192:;case 52:;case 2262:break;default:if(r.WTF)throw"Unrecognized Record 0x"+$.toString(16);}}else e.l+=K}t.SheetNames=Y(i).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return i[e].name});if(!r.bookSheets)t.Sheets=a;if(!t.SheetNames.length&&u["!ref"]){t.SheetNames.push("Sheet1");if(t.Sheets)t.Sheets["Sheet1"]=u}else t.Preamble=u;if(t.Sheets)V.forEach(function(e,r){t.Sheets[t.SheetNames[r]]["!autofilter"]=e});t.Strings=l;t.SSF=D.get_table();if(O.enc)t.Encryption=O.enc;if(I)t.Themes=I;t.Metadata={};if(E!==undefined)t.Metadata.Country=E;if(U.names.length>0)_.Names=U.names;t.Workbook=_;return t}var tm={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function am(e,r,t){var a=z.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=Un(a,ya,tm.DSI);for(var i in n)r[i]=n[i]}catch(s){if(t.WTF)throw s}var f=z.find(e,"/!SummaryInformation");if(f&&f.size>0)try{var c=Un(f,_a,tm.SI);for(var l in c)if(r[l]==null)r[l]=c[l]}catch(s){if(t.WTF)throw s}if(r.HeadingPairs&&r.TitlesOfParts){fn(r.HeadingPairs,r.TitlesOfParts,r,t);delete r.HeadingPairs;delete r.TitlesOfParts}}function nm(e,r){var t=[],a=[],n=[];var i=0,s;var f=K(ya,"n");var c=K(_a,"n");if(e.Props){s=Y(e.Props);for(i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(f,s[i])?t:Object.prototype.hasOwnProperty.call(c,s[i])?a:n).push([s[i],e.Props[s[i]]])}if(e.Custprops){s=Y(e.Custprops);for(i=0;i<s.length;++i)if(!Object.prototype.hasOwnProperty.call(e.Props||{},s[i]))(Object.prototype.hasOwnProperty.call(f,s[i])?t:Object.prototype.hasOwnProperty.call(c,s[i])?a:n).push([s[i],e.Custprops[s[i]]])}var l=[];for(i=0;i<n.length;++i){if(Pn.indexOf(n[i][0])>-1||sn.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;l.push(n[i])}if(a.length)z.utils.cfb_add(r,"/SummaryInformation",Bn(a,tm.SI,c,_a));if(t.length||l.length)z.utils.cfb_add(r,"/DocumentSummaryInformation",Bn(t,tm.DSI,f,ya,l.length?l:null,tm.UDI))}function im(e,r){if(!r)r={};db(r);l();if(r.codepage)s(r.codepage);var t,a;if(e.FullPaths){if(z.find(e,"/encryption"))throw new Error("File is password-protected");t=z.find(e,"!CompObj");a=z.find(e,"/Workbook")||z.find(e,"/Book")}else{switch(r.type){case"base64":e=_(g.decode(e));break;case"binary":e=_(e);break;case"buffer":break;case"array":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}et(e,0);a={content:e}}var n;var i;if(t)Jp(t);if(r.bookProps&&!r.bookSheets)n={};else{
var f=w?"buffer":"array";if(a&&a.content)n=rm(a.content,r);else if((i=z.find(e,"PerfectOffice_MAIN"))&&i.content)n=gf.to_workbook(i.content,(r.type=f,r));else if((i=z.find(e,"NativeContent_MAIN"))&&i.content)n=gf.to_workbook(i.content,(r.type=f,r));else if((i=z.find(e,"MN0"))&&i.content)throw new Error("Unsupported Works 4 for Mac file");else throw new Error("Cannot find Workbook stream");if(r.bookVBA&&e.FullPaths&&z.find(e,"/_VBA_PROJECT_CUR/VBA/dir"))n.vbaraw=lo(e)}var c={};if(e.FullPaths)am(e,c,r);n.Props=n.Custprops=c;if(r.bookFiles)n.cfb=e;return n}function sm(e,r){var t=r||{};var a=z.utils.cfb_new({root:"R"});var n="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":if(!t.bookType)t.bookType="xla";case"biff8":n="/Workbook";t.biff=8;break;case"biff5":n="/Book";t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB");}z.utils.cfb_add(a,n,Am(e,t));if(t.biff==8&&(e.Props||e.Custprops))nm(e,a);if(t.biff==8&&e.vbaraw)oo(a,z.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"}));return a}var fm={0:{f:cd},1:{f:md},2:{f:Ld},3:{f:yd},4:{f:kd},5:{f:Nd},6:{f:Hd},7:{f:Cd},8:{f:Yd},9:{f:$d},10:{f:jd},11:{f:Xd},12:{f:gd},13:{f:Ud},14:{f:xd},15:{f:Ed},16:{f:Dd},17:{f:Vd},18:{f:Od},19:{f:Pt},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:Qv},40:{},42:{},43:{f:Wc},44:{f:Uc},45:{f:Gc},46:{f:Kc},47:{f:Xc},48:{},49:{f:Rt},50:{},51:{f:Nl},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:$s},62:{f:Wd},63:{f:zl},64:{f:uv},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:rt,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:fv},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:vd},148:{f:ud,p:16},151:{f:ev},152:{},153:{f:Jv},154:{},155:{},156:{f:Yv},157:{},158:{},159:{T:1,f:Nf},160:{T:-1},161:{T:1,f:ea},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:Kd},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:Ol},336:{T:-1},337:{f:Pl,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:Yt},357:{},358:{},359:{},360:{T:1},361:{},362:{f:ys},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:rv},427:{f:tv},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:iv},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:dd},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:Zd},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:Yt},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:no},633:{T:1},634:{T:-1},635:{T:1,f:to},636:{T:-1},637:{f:Mt},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:Ov},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:hv},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:""}};var cm={6:{f:sh},10:{f:Wn},12:{f:jn},13:{f:jn},14:{f:Vn},15:{f:Vn},16:{f:ta},17:{f:Vn},18:{f:Vn},19:{f:jn},20:{f:ws},21:{f:ws},23:{f:ys},24:{f:Ss},25:{f:Vn},26:{},27:{},28:{f:Is},29:{},34:{f:Vn},35:{f:Ts},38:{f:ta},39:{f:ta},40:{f:ta},41:{f:ta},42:{f:Vn},43:{f:Vn},47:{f:ic},49:{f:Ji},51:{f:jn},60:{},61:{f:ji},64:{f:Vn},65:{f:Ki},66:{f:jn},77:{},80:{},81:{},82:{},85:{f:jn},89:{},90:{},91:{},92:{f:Fi},93:{f:Ds},94:{},95:{f:Vn},96:{},97:{},99:{f:Vn},125:{f:$s},128:{f:ds},129:{f:Pi},130:{f:jn},131:{f:Vn},132:{f:Vn},133:{f:Li},134:{},140:{f:zs},141:{f:jn},144:{},146:{f:js},151:{},152:{},153:{},154:{},155:{},156:{f:jn},157:{},158:{},160:{f:Qs},161:{f:Ks},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:cs},190:{f:ls},193:{f:Wn},197:{},198:{},199:{},200:{},201:{},202:{f:Vn},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:jn},220:{},221:{f:Vn},222:{},224:{f:us},225:{f:Ni},226:{f:Wn},227:{},229:{f:Ns},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:Ui},253:{f:Zi},255:{f:Wi},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:$n},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:Vn},353:{f:Wn},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:ks},431:{f:Vn},432:{},433:{},434:{},437:{},438:{f:Ms},439:{f:Vn},440:{f:Us},441:{},442:{f:ei},443:{},444:{f:jn},445:{},446:{},448:{f:Wn},449:{f:Vi,r:2},450:{f:Wn},512:{f:is},513:{f:Zs},515:{f:bs},516:{f:es},517:{f:ps},519:{f:ef},520:{f:Hi},523:{},545:{f:Cs},549:{f:Gi},566:{},574:{f:$i},638:{f:fs},659:{},1048:{},1054:{f:ts},1084:{},1212:{f:As},2048:{f:Ws},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Oi},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:Wn},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:Xs,r:12},2173:{f:Cl,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:Vn,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:xs,r:12},2197:{},2198:{f:El,r:12},2199:{},2200:{},2201:{},2202:{f:Rs,r:12},2203:{f:Wn},2204:{},2205:{},2206:{},2207:{},2211:{f:zi},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:jn},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:Js},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:Gs},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:is},1:{},2:{f:sf},3:{f:af},4:{f:tf},5:{f:ps},7:{f:cf},8:{},9:{f:Oi},11:{},22:{f:jn},30:{f:ns},31:{},32:{},33:{f:Cs},36:{},37:{f:Gi},50:{f:lf},62:{},52:{},67:{},68:{f:jn},69:{},86:{},126:{},127:{f:rf},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:of},223:{},234:{},354:{},421:{},518:{f:sh},521:{f:Oi},536:{f:Ss},547:{f:Ts},561:{},579:{},1030:{f:sh},1033:{f:Oi},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function lm(e,r,t,a){var n=r;if(isNaN(n))return;var i=a||(t||[]).length||0;var s=e.next(4);s._W(2,n);s._W(2,i);if(i>0&&Wr(t))e.push(t)}function om(e,r,t,a){var n=a||(t||[]).length||0;if(n<=8224)return lm(e,r,t,n);var i=r;if(isNaN(i))return;var s=t.parts||[],f=0;var c=0,l=0;while(l+(s[f]||8224)<=8224){l+=s[f]||8224;f++}var o=e.next(4);o._W(2,i);o._W(2,l);e.push(t.slice(c,c+l));c+=l;while(c<n){o=e.next(4);o._W(2,60);l=0;while(l+(s[f]||8224)<=8224){l+=s[f]||8224;f++}o._W(2,l);e.push(t.slice(c,c+l));c+=l}}function um(e,r,t){if(!e)e=tt(7);e._W(2,r);e._W(2,t);e._W(2,0);e._W(1,0);return e}function hm(e,r,t,a){var n=tt(9);um(n,e,r);Kn(t,a||"b",n);return n}function dm(e,r,t){var a=tt(8+2*t.length);um(a,e,r);a._W(1,t.length);a._W(t.length,t,"sbcs");return a.l<a.length?a.slice(0,a.l):a}function vm(e,r,t,a){if(r.v!=null)switch(r.t){case"d":;case"n":var n=r.t=="d"?ee(ce(r.v)):r.v;if(n==(n|0)&&n>=0&&n<65536)lm(e,2,ff(t,a,n));else lm(e,3,nf(t,a,n));return;case"b":;case"e":lm(e,5,hm(t,a,r.v,r.t));return;case"s":;case"str":lm(e,4,dm(t,a,(r.v||"").slice(0,255)));return;}lm(e,1,um(null,t,a))}function pm(e,r,t,a){var n=Array.isArray(r);var i=St(r["!ref"]||"A1"),s,f="",c=[];if(i.e.c>255||i.e.r>16383){if(a.WTF)throw new Error("Range "+(r["!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);s=Et(i)}for(var l=i.s.r;l<=i.e.r;++l){f=ut(l);for(var o=i.s.c;o<=i.e.c;++o){if(l===i.s.r)c[o]=pt(o);s=c[o]+f;var u=n?(r[l]||[])[o]:r[s];if(!u)continue;vm(e,u,l,o,a)}}}function mm(e,r){var t=r||{};if(m!=null&&t.dense==null)t.dense=m;var a=nt();var n=0;for(var i=0;i<e.SheetNames.length;++i)if(e.SheetNames[i]==t.sheet)n=i;if(n==0&&!!t.sheet&&e.SheetNames[0]!=t.sheet)throw new Error("Sheet not found: "+t.sheet);lm(a,t.biff==4?1033:t.biff==3?521:9,Ii(e,16,t));pm(a,e.Sheets[e.SheetNames[n]],n,t,e);lm(a,10);return a.end()}function bm(e,r,t){lm(e,49,qi({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},t))}function gm(e,r,t){if(!r)return;[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)if(r[n]!=null)lm(e,1054,as(n,r[n],t))})}function wm(e,r){var t=tt(19);t._W(4,2151);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,1);t._W(4,0);lm(e,2151,t);t=tt(39);t._W(4,2152);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,0);t._W(4,0);t._W(2,1);t._W(4,4);t._W(2,0);Ti(St(r["!ref"]||"A1"),t);t._W(4,4);lm(e,2152,t)}function km(e,r){for(var t=0;t<16;++t)lm(e,224,hs({numFmtId:0,style:true},0,r));r.cellXfs.forEach(function(t){lm(e,224,hs(t,0,r))})}function Tm(e,r){for(var t=0;t<r["!links"].length;++t){var a=r["!links"][t];lm(e,440,Bs(a));if(a[1].Tooltip)lm(e,2048,Hs(a))}delete r["!links"]}function Em(e,r){if(!r)return;var t=0;r.forEach(function(r,a){if(++t<=256&&r){lm(e,125,Ys(yh(a,r),a))}})}function Sm(e,r,t,a,n){var i=16+xh(n.cellXfs,r,n);if(r.v==null&&!r.bf){lm(e,513,vi(t,a,i));return}if(r.bf)lm(e,6,fh(r,t,a,n,i));else switch(r.t){case"d":;case"n":var s=r.t=="d"?ee(ce(r.v)):r.v;lm(e,515,gs(t,a,s,i,n));break;case"b":;case"e":lm(e,517,ms(t,a,r.v,i,n,r.t));break;case"s":;case"str":if(n.bookSST){var f=Sh(n.Strings,r.v,n.revStrings);lm(e,253,Qi(t,a,f,i,n))}else lm(e,516,rs(t,a,(r.v||"").slice(0,255),i,n));break;default:lm(e,513,vi(t,a,i));}}function ym(e,r,t){var a=nt();var n=t.SheetNames[e],i=t.Sheets[n]||{};var s=(t||{}).Workbook||{};var f=(s.Sheets||[])[e]||{};var c=Array.isArray(i);var l=r.biff==8;var o,u="",h=[];var d=St(i["!ref"]||"A1");var v=l?65536:16384;if(d.e.c>255||d.e.r>=v){if(r.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255);d.e.r=Math.min(d.e.c,v-1)}lm(a,2057,Ii(t,16,r));lm(a,13,Xn(1));lm(a,12,Xn(100));lm(a,15,Gn(true));lm(a,17,Gn(false));lm(a,16,aa(.001));lm(a,95,Gn(true));lm(a,42,Gn(false));lm(a,43,Gn(false));lm(a,130,Xn(1));lm(a,128,vs([0,0]));lm(a,131,Gn(false));lm(a,132,Gn(false));if(l)Em(a,i["!cols"]);lm(a,512,ss(d,r));if(l)i["!links"]=[];for(var p=d.s.r;p<=d.e.r;++p){u=ut(p);for(var m=d.s.c;m<=d.e.c;++m){if(p===d.s.r)h[m]=pt(m);o=h[m]+u;var b=c?(i[p]||[])[m]:i[o];if(!b)continue;Sm(a,b,p,m,r);if(l&&b.l)i["!links"].push([o,b.l])}}var g=f.CodeName||f.name||n;if(l)lm(a,574,Yi((s.Views||[])[0]));if(l&&(i["!merges"]||[]).length)lm(a,229,Fs(i["!merges"]));if(l)Tm(a,i);lm(a,442,ti(g,r));if(l)wm(a,i);lm(a,10);return a.end()}function _m(e,r,t){var a=nt();var n=(e||{}).Workbook||{};var i=n.Sheets||[];var s=n.WBProps||{};var f=t.biff==8,c=t.biff==5;lm(a,2057,Ii(e,5,t));if(t.bookType=="xla")lm(a,135);lm(a,225,f?Xn(1200):null);lm(a,193,Hn(2));if(c)lm(a,191);if(c)lm(a,192);lm(a,226);lm(a,92,Di("SheetJS",t));lm(a,66,Xn(f?1200:1252));if(f)lm(a,353,Xn(0));if(f)lm(a,448);lm(a,317,qs(e.SheetNames.length));if(f&&e.vbaraw)lm(a,211);if(f&&e.vbaraw){var l=s.CodeName||"ThisWorkbook";lm(a,442,ti(l,t))}lm(a,156,Xn(17));lm(a,25,Gn(false));lm(a,18,Gn(false));lm(a,19,Xn(0));if(f)lm(a,431,Gn(false));if(f)lm(a,444,Xn(0));lm(a,61,Xi(t));lm(a,64,Gn(false));lm(a,141,Xn(0));lm(a,34,Gn(Wv(e)=="true"));lm(a,14,Gn(true));if(f)lm(a,439,Gn(false));lm(a,218,Xn(0));bm(a,e,t);gm(a,e.SSF,t);km(a,t);if(f)lm(a,352,Gn(false));var o=a.end();var u=nt();if(f)lm(u,140,Vs());if(f&&t.Strings)om(u,252,Bi(t.Strings,t));lm(u,10);var h=u.end();var d=nt();var v=0,p=0;for(p=0;p<e.SheetNames.length;++p)v+=(f?12:11)+(f?2:1)*e.SheetNames[p].length;var m=o.length+v+h.length;for(p=0;p<e.SheetNames.length;++p){var b=i[p]||{};lm(d,133,Mi({pos:m,hs:b.Hidden||0,dt:0,name:e.SheetNames[p]},t));m+=r[p].length}var g=d.end();if(v!=g.length)throw new Error("BS8 "+v+" != "+g.length);var w=[];if(o.length)w.push(o);if(g.length)w.push(g);if(h.length)w.push(h);return I(w)}function xm(e,r){var t=r||{};var a=[];if(e&&!e.SSF){e.SSF=D.get_table()}if(e&&e.SSF){P(D);D.load_table(e.SSF);t.revssf=q(e.SSF);t.revssf[e.SSF[65535]]=0;t.ssf=e.SSF}t.Strings=[];t.Strings.Count=0;t.Strings.Unique=0;vb(t);t.cellXfs=[];xh(t.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};for(var n=0;n<e.SheetNames.length;++n)a[a.length]=ym(n,t,e);a.unshift(_m(e,a,t));return I(a)}function Am(e,r){for(var t=0;t<=e.SheetNames.length;++t){var a=e.Sheets[e.SheetNames[t]];if(!a||!a["!ref"])continue;var n=Tt(a["!ref"]);if(n.e.c>255){if(typeof console!="undefined"&&console.error)console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255). Data may be lost.")}}var i=r||{};switch(i.biff||2){case 8:;case 5:return xm(e,r);case 4:;case 3:;case 2:return mm(e,r);}throw new Error("invalid type "+i.bookType+" for BIFF")}var Cm=function(){function e(e,r){var t=r||{};if(m!=null&&t.dense==null)t.dense=m;var a=t.dense?[]:{};e=e.replace(/<!--.*?-->/g,"");var n=e.match(/<table/i);if(!n)throw new Error("Invalid HTML: could not find <table>");var i=e.match(/<\/table/i);var s=n.index,f=i&&i.index||e.length;var c=me(e.slice(s,f),/(:?<tr[^>]*>)/i,"<tr>");var l=-1,o=0,u=0,h=0;var d={s:{r:1e7,c:1e7},e:{r:0,c:0}};var v=[];for(s=0;s<c.length;++s){var p=c[s].trim();var b=p.slice(0,3).toLowerCase();if(b=="<tr"){++l;if(t.sheetRows&&t.sheetRows<=l){--l;break}o=0;continue}if(b!="<td"&&b!="<th")continue;var g=p.split(/<\/t[dh]>/i);for(f=0;f<g.length;++f){var w=g[f].trim();if(!w.match(/<t[dh]/i))continue;var k=w,T=0;while(k.charAt(0)=="<"&&(T=k.indexOf(">"))>-1)k=k.slice(T+1);for(var E=0;E<v.length;++E){var S=v[E];if(S.s.c==o&&S.s.r<l&&l<=S.e.r){o=S.e.c+1;E=-1}}var y=Pe(w.slice(0,w.indexOf(">")));h=y.colspan?+y.colspan:1;if((u=+y.rowspan)>1||h>1)v.push({s:{r:l,c:o},e:{r:l+(u||1)-1,c:o+h-1}});var _=y.t||y["data-t"]||"";if(!k.length){o+=h;continue}k=tr(k);if(d.s.r>l)d.s.r=l;if(d.e.r<l)d.e.r=l;if(d.s.c>o)d.s.c=o;if(d.e.c<o)d.e.c=o;if(!k.length){o+=h;continue}var x={t:"s",v:k};if(t.raw||!k.trim().length||_=="s"){}else if(k==="TRUE")x={t:"b",v:true};else if(k==="FALSE")x={t:"b",v:false};else if(!isNaN(he(k)))x={t:"n",v:he(k)};else if(!isNaN(ve(k).getDate())){x={t:"d",v:ce(k)};if(!t.cellDates)x={t:"n",v:ee(x.v)};x.z=t.dateNF||D._table[14]}if(t.dense){if(!a[l])a[l]=[];a[l][o]=x}else a[kt({r:l,c:o})]=x;o+=h}}a["!ref"]=Et(d);if(v.length)a["!merges"]=v;return a}function r(r,t){var a=r.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!a||a.length==0)throw new Error("Invalid HTML: could not find <table>");if(a.length==1)return xt(e(a[0],t),t);var n=ig();a.forEach(function(r,a){sg(n,e(r,t),"Sheet"+(a+1))});return n}function t(e,r,t,a){var n=e["!merges"]||[];var i=[];for(var s=r.s.c;s<=r.e.c;++s){var f=0,c=0;for(var l=0;l<n.length;++l){if(n[l].s.r>t||n[l].s.c>s)continue;if(n[l].e.r<t||n[l].e.c<s)continue;if(n[l].s.r<t||n[l].s.c<s){f=-1;break}f=n[l].e.r-n[l].s.r+1;c=n[l].e.c-n[l].s.c+1;break}if(f<0)continue;var o=kt({r:t,c:s});var u=a.dense?(e[t]||[])[s]:e[o];var h=u&&u.v!=null&&(u.h||je(u.w||(_t(u),u.w)||""))||"";var d={};if(f>1)d.rowspan=f;if(c>1)d.colspan=c;if(a.editable)h='<span contenteditable="true">'+h+"</span>";else if(u){d["data-t"]=u&&u.t||"z";if(u.v!=null)d["data-v"]=u.v;if(u.z!=null)d["data-z"]=u.z;if(u.l&&(u.l.Target||"#").charAt(0)!="#")h='<a href="'+u.l.Target+'">'+h+"</a>"}d.id=(a.id||"sjs")+"-"+o;i.push(or("td",h,d))}var v="<tr>";return v+i.join("")+"</tr>"}function a(e,r,t){var a=[];return a.join("")+"<table"+(t&&t.id?' id="'+t.id+'"':"")+">"}var n='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>';var i="</body></html>";function s(e,r){var s=r||{};var f=s.header!=null?s.header:n;var c=s.footer!=null?s.footer:i;var l=[f];var o=Tt(e["!ref"]);s.dense=Array.isArray(e);l.push(a(e,o,s));for(var u=o.s.r;u<=o.e.r;++u)l.push(t(e,o,u,s));l.push("</table>"+c);return l.join("")}return{to_workbook:r,to_sheet:e,_row:t,BEGIN:n,END:i,_preamble:a,from_sheet:s}}();function Rm(e,r,t){var a=t||{};if(m!=null)a.dense=m;var n=0,i=0;if(a.origin!=null){if(typeof a.origin=="number")n=a.origin;else{var s=typeof a.origin=="string"?wt(a.origin):a.origin;n=s.r;i=s.c}}var f=r.getElementsByTagName("tr");var c=Math.min(a.sheetRows||1e7,f.length);var l={s:{r:0,c:0},e:{r:n,c:i}};if(e["!ref"]){var o=Tt(e["!ref"]);l.s.r=Math.min(l.s.r,o.s.r);l.s.c=Math.min(l.s.c,o.s.c);l.e.r=Math.max(l.e.r,o.e.r);l.e.c=Math.max(l.e.c,o.e.c);if(n==-1)l.e.r=n=o.e.r+1}var u=[],h=0;var d=e["!rows"]||(e["!rows"]=[]);var v=0,p=0,b=0,g=0,w=0,k=0;if(!e["!cols"])e["!cols"]=[];for(;v<f.length&&p<c;++v){var T=f[v];if(Nm(T)){if(a.display)continue;d[p]={hidden:true}}var E=T.children;for(b=g=0;b<E.length;++b){var S=E[b];if(a.display&&Nm(S))continue;var y=S.hasAttribute("data-v")?S.getAttribute("data-v"):S.hasAttribute("v")?S.getAttribute("v"):tr(S.innerHTML);var _=S.getAttribute("data-z")||S.getAttribute("z");for(h=0;h<u.length;++h){var x=u[h];if(x.s.c==g+i&&x.s.r<p+n&&p+n<=x.e.r){g=x.e.c+1-i;h=-1}}k=+S.getAttribute("colspan")||1;if((w=+S.getAttribute("rowspan")||1)>1||k>1)u.push({s:{r:p+n,c:g+i},e:{r:p+n+(w||1)-1,c:g+i+(k||1)-1}});var A={t:"s",v:y};var C=S.getAttribute("data-t")||S.getAttribute("t")||"";if(y!=null){if(y.length==0)A.t=C||"z";else if(a.raw||y.trim().length==0||C=="s"){}else if(y==="TRUE")A={t:"b",v:true};else if(y==="FALSE")A={t:"b",v:false};else if(!isNaN(he(y)))A={t:"n",v:he(y)};else if(!isNaN(ve(y).getDate())){A={t:"d",v:ce(y)};if(!a.cellDates)A={t:"n",v:ee(A.v)};A.z=a.dateNF||D._table[14]}}if(A.z===undefined&&_!=null)A.z=_;var R="",O=S.getElementsByTagName("A");if(O&&O.length)for(var I=0;I<O.length;++I)if(O[I].hasAttribute("href")){R=O[I].getAttribute("href");if(R.charAt(0)!="#")break}if(R&&R.charAt(0)!="#")A.l={Target:R};if(a.dense){if(!e[p+n])e[p+n]=[];e[p+n][g+i]=A}else e[kt({c:g+i,r:p+n})]=A;if(l.e.c<g+i)l.e.c=g+i;g+=k}++p}if(u.length)e["!merges"]=(e["!merges"]||[]).concat(u);l.e.r=Math.max(l.e.r,p-1+n);e["!ref"]=Et(l);if(p>=c)e["!fullref"]=Et((l.e.r=f.length-v+p-1+n,l));return e}function Om(e,r){var t=r||{};var a=t.dense?[]:{};return Rm(a,e,r)}function Im(e,r){return xt(Om(e,r),r)}function Nm(e){var r="";var t=Fm(e);if(t)r=t(e).getPropertyValue("display");if(!r)r=e.style&&e.style.display;return r==="none"}function Fm(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle==="function")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle==="function")return getComputedStyle;return null}function Dm(e){var r=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,function(e,r){return Array(parseInt(r,10)+1).join(" ")}).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n");var t=Be(r.replace(/<[^>]*>/g,""));return[t]}var Pm={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function Lm(e,r){var t=r||{};if(m!=null&&t.dense==null)t.dense=m;var a=dr(e);var n=[],i;var s;var f={name:""},c="",l=0;var o;var u;var h={},d=[];var v=t.dense?[]:{};var p,b;var g={value:""};var w="",k=0,T;var E=[];var S=-1,y=-1,_={s:{r:1e6,c:1e7},e:{r:0,c:0}};var x=0;var A={};var C=[],R={},O=0,I=0;var N=[],F=1,D=1;var P=[];var L={Names:[]};var M={};var U=["",""];var B=[],W={};var H="",z=0;var V=false,G=false;var j=0;vr.lastIndex=0;a=a.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");while(p=vr.exec(a))switch(p[3]=p[3].replace(/_.*$/,"")){case"table":;case"工作表":if(p[1]==="/"){if(_.e.c>=_.s.c&&_.e.r>=_.s.r)v["!ref"]=Et(_);else v["!ref"]="A1:A1";if(t.sheetRows>0&&t.sheetRows<=_.e.r){v["!fullref"]=v["!ref"];_.e.r=t.sheetRows-1;v["!ref"]=Et(_)}if(C.length)v["!merges"]=C;if(N.length)v["!rows"]=N;o.name=o["名称"]||o.name;if(typeof JSON!=="undefined")JSON.stringify(o);d.push(o.name);h[o.name]=v;G=false}else if(p[0].charAt(p[0].length-2)!=="/"){o=Pe(p[0],false);S=y=-1;_.s.r=_.s.c=1e7;_.e.r=_.e.c=0;v=t.dense?[]:{};C=[];N=[];G=true}break;case"table-row-group":if(p[1]==="/")--x;else++x;break;case"table-row":;case"行":if(p[1]==="/"){S+=F;F=1;break}u=Pe(p[0],false);if(u["行号"])S=u["行号"]-1;else if(S==-1)S=0;F=+u["number-rows-repeated"]||1;if(F<10)for(j=0;j<F;++j)if(x>0)N[S+j]={level:x};y=-1;break;case"covered-table-cell":if(p[1]!=="/")++y;if(t.sheetStubs){if(t.dense){if(!v[S])v[S]=[];v[S][y]={t:"z"}}else v[kt({r:S,c:y})]={t:"z"}}w="";E=[];break;case"table-cell":;case"数据":if(p[0].charAt(p[0].length-2)==="/"){++y;g=Pe(p[0],false);D=parseInt(g["number-columns-repeated"]||"1",10);b={t:"z",v:null};if(g.formula&&t.cellFormula!=false)b.f=mh(Be(g.formula));if((g["数据类型"]||g["value-type"])=="string"){b.t="s";b.v=Be(g["string-value"]||"");if(t.dense){if(!v[S])v[S]=[];v[S][y]=b}else{v[kt({r:S,c:y})]=b}}y+=D-1}else if(p[1]!=="/"){++y;w="";k=0;E=[];D=1;var X=F?S+F-1:S;if(y>_.e.c)_.e.c=y;if(y<_.s.c)_.s.c=y;if(S<_.s.r)_.s.r=S;if(X>_.e.r)_.e.r=X;g=Pe(p[0],false);B=[];W={};b={t:g["数据类型"]||g["value-type"],v:null};if(t.cellFormula){if(g.formula)g.formula=Be(g.formula);if(g["number-matrix-columns-spanned"]&&g["number-matrix-rows-spanned"]){O=parseInt(g["number-matrix-rows-spanned"],10)||0;I=parseInt(g["number-matrix-columns-spanned"],10)||0;R={s:{r:S,c:y},e:{r:S+O-1,c:y+I-1}};b.F=Et(R);P.push([R,b.F])}if(g.formula)b.f=mh(g.formula);else for(j=0;j<P.length;++j)if(S>=P[j][0].s.r&&S<=P[j][0].e.r)if(y>=P[j][0].s.c&&y<=P[j][0].e.c)b.F=P[j][1]}if(g["number-columns-spanned"]||g["number-rows-spanned"]){O=parseInt(g["number-rows-spanned"],10)||0;I=parseInt(g["number-columns-spanned"],10)||0;R={s:{r:S,c:y},e:{r:S+O-1,c:y+I-1}};C.push(R)}if(g["number-columns-repeated"])D=parseInt(g["number-columns-repeated"],10);switch(b.t){case"boolean":b.t="b";b.v=Ke(g["boolean-value"]);break;case"float":b.t="n";b.v=parseFloat(g.value);break;case"percentage":b.t="n";b.v=parseFloat(g.value);break;case"currency":b.t="n";b.v=parseFloat(g.value);break;case"date":b.t="d";b.v=ce(g["date-value"]);if(!t.cellDates){b.t="n";b.v=ee(b.v)}b.z="m/d/yy";break;case"time":b.t="n";b.v=ie(g["time-value"])/86400;if(t.cellDates){b.t="d";b.v=ne(b.v)}b.z="HH:MM:SS";break;case"number":b.t="n";b.v=parseFloat(g["数据数值"]);break;default:if(b.t==="string"||b.t==="text"||!b.t){b.t="s";if(g["string-value"]!=null){w=Be(g["string-value"]);E=[]}}else throw new Error("Unsupported value type "+b.t);}}else{V=false;if(b.t==="s"){b.v=w||"";if(E.length)b.R=E;V=k==0}if(M.Target)b.l=M;if(B.length>0){b.c=B;B=[]}if(w&&t.cellText!==false)b.w=w;if(V){b.t="z";delete b.v}if(!V||t.sheetStubs){if(!(t.sheetRows&&t.sheetRows<=S)){for(var $=0;$<F;++$){D=parseInt(g["number-columns-repeated"]||"1",10);if(t.dense){if(!v[S+$])v[S+$]=[];v[S+$][y]=$==0?b:oe(b);while(--D>0)v[S+$][y+D]=oe(b)}else{v[kt({r:S+$,c:y})]=b;while(--D>0)v[kt({r:S+$,c:y+D})]=oe(b)}if(_.e.c<=y)_.e.c=y}}}D=parseInt(g["number-columns-repeated"]||"1",10);y+=D-1;D=0;b={};w="";E=[]}M={};break;case"document":;case"document-content":;case"电子表格文档":;case"spreadsheet":;case"主体":;case"scripts":;case"styles":;case"font-face-decls":;case"master-styles":if(p[1]==="/"){if((i=n.pop())[0]!==p[3])throw"Bad state: "+i}else if(p[0].charAt(p[0].length-2)!=="/")n.push([p[3],true]);break;case"annotation":if(p[1]==="/"){if((i=n.pop())[0]!==p[3])throw"Bad state: "+i;W.t=w;if(E.length)W.R=E;W.a=H;B.push(W)}else if(p[0].charAt(p[0].length-2)!=="/"){n.push([p[3],false])}H="";z=0;w="";k=0;E=[];break;case"creator":if(p[1]==="/"){H=a.slice(z,p.index)}else z=p.index+p[0].length;break;case"meta":;case"元数据":;case"settings":;case"config-item-set":;case"config-item-map-indexed":;case"config-item-map-entry":;case"config-item-map-named":;case"shapes":;case"frame":;case"text-box":;case"image":;case"data-pilot-tables":;case"list-style":;case"form":;case"dde-links":;case"event-listeners":;case"chart":if(p[1]==="/"){if((i=n.pop())[0]!==p[3])throw"Bad state: "+i}else if(p[0].charAt(p[0].length-2)!=="/")n.push([p[3],false]);w="";k=0;E=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":;case"percentage-style":;case"date-style":;case"time-style":if(p[1]==="/"){A[f.name]=c;if((i=n.pop())[0]!==p[3])throw"Bad state: "+i}else if(p[0].charAt(p[0].length-2)!=="/"){c="";f=Pe(p[0],false);n.push([p[3],true])}break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":;case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(n[n.length-1][0]){case"time-style":;case"date-style":s=Pe(p[0],false);c+=Pm[p[3]][s.style==="long"?1:0];break;}break;case"fraction":break;case"day":;case"month":;case"year":;case"era":;case"day-of-week":;case"week-of-year":;case"quarter":;case"hours":;case"minutes":;case"seconds":;case"am-pm":switch(n[n.length-1][0]){case"time-style":;case"date-style":s=Pe(p[0],false);
c+=Pm[p[3]][s.style==="long"?1:0];break;}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if(p[0].slice(-2)==="/>")break;else if(p[1]==="/")switch(n[n.length-1][0]){case"number-style":;case"date-style":;case"time-style":c+=a.slice(l,p.index);break;}else l=p.index+p[0].length;break;case"named-range":s=Pe(p[0],false);U=gh(s["cell-range-address"]);var Y={Name:s.name,Ref:U[0]+"!"+U[1]};if(G)Y.Sheet=d.length;L.Names.push(Y);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":;case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":;case"文本串":if(["master-styles"].indexOf(n[n.length-1][0])>-1)break;if(p[1]==="/"&&(!g||!g["string-value"])){var K=Dm(a.slice(k,p.index),T);w=(w.length>0?w+"\n":"")+K[0]}else{T=Pe(p[0],false);k=p.index+p[0].length}break;case"s":break;case"database-range":if(p[1]==="/")break;try{U=gh(Pe(p[0])["target-range-address"]);h[U[0]]["!autofilter"]={ref:U[1]}}catch(J){}break;case"date":break;case"object":break;case"title":;case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":;case"sender-lastname":;case"sender-initials":;case"sender-title":;case"sender-position":;case"sender-email":;case"sender-phone-private":;case"sender-fax":;case"sender-company":;case"sender-phone-work":;case"sender-street":;case"sender-city":;case"sender-postal-code":;case"sender-country":;case"sender-state-or-province":;case"author-name":;case"author-initials":;case"chapter":;case"file-name":;case"template-name":;case"sheet-name":break;case"event-listener":break;case"initial-creator":;case"creation-date":;case"print-date":;case"generator":;case"document-statistic":;case"user-defined":;case"editing-duration":;case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":;case"source-cell-range":;case"source-service":;case"data-pilot-field":;case"data-pilot-level":;case"data-pilot-subtotals":;case"data-pilot-subtotal":;case"data-pilot-members":;case"data-pilot-member":;case"data-pilot-display-info":;case"data-pilot-sort-info":;case"data-pilot-layout-info":;case"data-pilot-field-reference":;case"data-pilot-groups":;case"data-pilot-group":;case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":;case"dde-connection-decl":;case"dde-link":;case"dde-source":break;case"properties":break;case"property":break;case"a":if(p[1]!=="/"){M=Pe(p[0],false);if(!M.href)break;M.Target=Be(M.href);delete M.href;if(M.Target.charAt(0)=="#"&&M.Target.indexOf(".")>-1){U=gh(M.Target.slice(1));M.Target="#"+U[0]+"!"+U[1]}else if(M.Target.match(/^\.\.[\\\/]/))M.Target=M.Target.slice(3)}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(p[2]){case"dc:":;case"calcext:":;case"loext:":;case"ooo:":;case"chartooo:":;case"draw:":;case"style:":;case"chart:":;case"form:":;case"uof:":;case"表:":;case"字:":break;default:if(t.WTF)throw new Error(p);};}var q={Sheets:h,SheetNames:d,Workbook:L};if(t.bookSheets)delete q.Sheets;return q}function Mm(e,r){r=r||{};if(ke(e,"META-INF/manifest.xml"))$a(Ee(e,"META-INF/manifest.xml"),r);var t=Se(e,"content.xml");if(!t)throw new Error("Missing content.xml in ODS / UOF file");var a=Lm(Je(t),r);if(ke(e,"meta.xml"))a.Props=rn(Ee(e,"meta.xml"));return a}function Um(e,r){return Lm(e,r)}var Bm=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join("");var r="<office:document-styles "+lr({"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:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function t(){return Oe+r}}();var Wm=function(){var e=function(e){return ze(e).replace(/ +/g,function(e){return'<text:s text:c="'+e.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")};var r=" <table:table-cell />\n";var t=" <table:covered-table-cell/>\n";var a=function(a,n,i){var s=[];s.push(' <table:table table:name="'+ze(n.SheetNames[i])+'" table:style-name="ta1">\n');var f=0,c=0,l=Tt(a["!ref"]||"A1");var o=a["!merges"]||[],u=0;var h=Array.isArray(a);if(a["!cols"]){for(c=0;c<=l.e.c;++c)s.push(" <table:table-column"+(a["!cols"][c]?' table:style-name="co'+a["!cols"][c].ods+'"':"")+"></table:table-column>\n")}var d="",v=a["!rows"]||[];for(f=0;f<l.s.r;++f){d=v[f]?' table:style-name="ro'+v[f].ods+'"':"";s.push(" <table:table-row"+d+"></table:table-row>\n")}for(;f<=l.e.r;++f){d=v[f]?' table:style-name="ro'+v[f].ods+'"':"";s.push(" <table:table-row"+d+">\n");for(c=0;c<l.s.c;++c)s.push(r);for(;c<=l.e.c;++c){var p=false,m={},b="";for(u=0;u!=o.length;++u){if(o[u].s.c>c)continue;if(o[u].s.r>f)continue;if(o[u].e.c<c)continue;if(o[u].e.r<f)continue;if(o[u].s.c!=c||o[u].s.r!=f)p=true;m["table:number-columns-spanned"]=o[u].e.c-o[u].s.c+1;m["table:number-rows-spanned"]=o[u].e.r-o[u].s.r+1;break}if(p){s.push(t);continue}var g=kt({r:f,c:c}),w=h?(a[f]||[])[c]:a[g];if(w&&w.f){m["table:formula"]=ze(bh(w.f));if(w.F){if(w.F.slice(0,g.length)==g){var k=Tt(w.F);m["table:number-matrix-columns-spanned"]=k.e.c-k.s.c+1;m["table:number-matrix-rows-spanned"]=k.e.r-k.s.r+1}}}if(!w){s.push(r);continue}switch(w.t){case"b":b=w.v?"TRUE":"FALSE";m["office:value-type"]="boolean";m["office:boolean-value"]=w.v?"true":"false";break;case"n":b=w.w||String(w.v||0);m["office:value-type"]="float";m["office:value"]=w.v||0;break;case"s":;case"str":b=w.v==null?"":w.v;m["office:value-type"]="string";break;case"d":b=w.w||ce(w.v).toISOString();m["office:value-type"]="date";m["office:date-value"]=ce(w.v).toISOString();m["table:style-name"]="ce1";break;default:s.push(r);continue;}var T=e(b);if(w.l&&w.l.Target){var E=w.l.Target;E=E.charAt(0)=="#"?"#"+wh(E.slice(1)):E;if(E.charAt(0)!="#"&&!E.match(/^\w+:/))E="../"+E;T=or("text:a",T,{"xlink:href":E.replace(/&/g,"&amp;")})}s.push(" "+or("table:table-cell",or("text:p",T,{}),m)+"\n")}s.push(" </table:table-row>\n")}s.push(" </table:table>\n");return s.join("")};var n=function(e,r){e.push(" <office:automatic-styles>\n");e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n');e.push(' <number:month number:style="long"/>\n');e.push(" <number:text>/</number:text>\n");e.push(' <number:day number:style="long"/>\n');e.push(" <number:text>/</number:text>\n");e.push(" <number:year/>\n");e.push(" </number:date-style>\n");var t=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!cols"]){for(var a=0;a<r["!cols"].length;++a)if(r["!cols"][a]){var n=r["!cols"][a];if(n.width==null&&n.wpx==null&&n.wch==null)continue;Tc(n);n.ods=t;var i=r["!cols"][a].wpx+"px";e.push(' <style:style style:name="co'+t+'" style:family="table-column">\n');e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+i+'"/>\n');e.push(" </style:style>\n");++t}}});var a=0;r.SheetNames.map(function(e){return r.Sheets[e]}).forEach(function(r){if(!r)return;if(r["!rows"]){for(var t=0;t<r["!rows"].length;++t)if(r["!rows"][t]){r["!rows"][t].ods=a;var n=r["!rows"][t].hpx+"px";e.push(' <style:style style:name="ro'+a+'" style:family="table-row">\n');e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+n+'"/>\n');e.push(" </style:style>\n");++a}}});e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n');e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n');e.push(" </style:style>\n");e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n');e.push(" </office:automatic-styles>\n")};return function i(e,r){var t=[Oe];var i=lr({"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=lr({"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");t.push(Za().replace(/office:document-meta/g,"office:meta"))}else t.push("<office:document-content"+i+">\n");n(t,e);t.push(" <office:body>\n");t.push(" <office:spreadsheet>\n");for(var f=0;f!=e.SheetNames.length;++f)t.push(a(e.Sheets[e.SheetNames[f]],e,f,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 Hm(e,r){if(r.bookType=="fods")return Wm(e,r);var t=Ae();var a="";var n=[];var i=[];a="mimetype";xe(t,a,"application/vnd.oasis.opendocument.spreadsheet");a="content.xml";xe(t,a,Wm(e,r));n.push([a,"text/xml"]);i.push([a,"ContentFile"]);a="styles.xml";xe(t,a,Bm(e,r));n.push([a,"text/xml"]);i.push([a,"StylesFile"]);a="meta.xml";xe(t,a,Oe+Za());n.push([a,"text/xml"]);i.push([a,"MetadataFile"]);a="manifest.rdf";xe(t,a,qa(i));n.push([a,"application/rdf+xml"]);a="META-INF/manifest.xml";xe(t,a,Ya(n));return t}var zm=function(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)};var Vm=function(e){return typeof TextDecoder!="undefined"?(new TextDecoder).decode(e):Je(A(e))};var Gm=function(e){var r=e.reduce(function(e,r){return e+r.length},0);var t=new Uint8Array(r);var a=0;e.forEach(function(e){t.set(e,a);a+=e.length});return t};var jm=function(e){e-=e>>1&1431655765;e=(e&858993459)+(e>>2&858993459);return(e+(e>>4)&252645135)*16843009>>>24};var Xm=function(e,r){var t=(e[r+15]&127)<<7|e[r+14]>>1;var a=e[r+14]&1;for(var n=r+13;n>=r;--n)a=a*256+e[n];return(e[r+15]&128?-a:a)*Math.pow(10,t-6176)};function $m(e,r){var t=r?r[0]:0;var a=e[t]&127;e:if(e[t++]>=128){a|=(e[t]&127)<<7;if(e[t++]<128)break e;a|=(e[t]&127)<<14;if(e[t++]<128)break e;a|=(e[t]&127)<<21;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,28);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,35);++t;if(e[t++]<128)break e;a+=(e[t]&127)*Math.pow(2,42);++t;if(e[t++]<128)break e}if(r)r[0]=t;return a}function Ym(e){var r=0,t=e[r]&127;e:if(e[r++]>=128){t|=(e[r]&127)<<7;if(e[r++]<128)break e;t|=(e[r]&127)<<14;if(e[r++]<128)break e;t|=(e[r]&127)<<21;if(e[r++]<128)break e;t|=(e[r]&127)<<28}return t}function Km(e){var r=[],t=[0];while(t[0]<e.length){var a=t[0];var n=$m(e,t);var i=n&7;n=Math.floor(n/8);var s=0;var f;if(n==0)break;switch(i){case 0:{var c=t[0];while(e[t[0]++]>=128);f=e.slice(c,t[0])}break;case 5:s=4;f=e.slice(t[0],t[0]+s);t[0]+=s;break;case 1:s=8;f=e.slice(t[0],t[0]+s);t[0]+=s;break;case 2:s=$m(e,t);f=e.slice(t[0],t[0]+s);t[0]+=s;break;case 3:;case 4:;default:throw new Error("PB Type ".concat(i," for Field ").concat(n," at offset ").concat(a));}var l={offset:a,data:f,type:i};if(r[n]==null)r[n]=[l];else r[n].push(l)}return r}function Jm(e,r){if(!e)return[];return e.map(function(e){var t;try{return r(e.data)}catch(a){var n=(t=a.message)==null?void 0:t.match(/at offset (\d+)/);if(n)a.message=a.message.replace(/at offset (\d+)/,"at offset "+(+n[1]+e.offset));throw a}})}function qm(e){var r=[],t=[0];while(t[0]<e.length){var a=$m(e,t);var n=Km(e.slice(t[0],t[0]+a));t[0]+=a;var i={id:Ym(n[1][0].data),messages:[]};n[2].forEach(function(r){var a=Km(r.data);var n=Ym(a[3][0].data);i.messages.push({meta:a,data:e.slice(t[0],t[0]+n)});t[0]+=n});r.push(i)}return r}function Zm(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));var t=[0];var a=$m(r,t);var n=[];while(t[0]<r.length){var i=r[t[0]]&3;if(i==0){var s=r[t[0]++]>>2;if(s<60)++s;else{var f=s-59;s=r[t[0]];if(f>1)s|=r[t[0]+1]<<8;if(f>2)s|=r[t[0]+2]<<16;if(f>3)s|=r[t[0]+3]<<24;s>>>=0;s++;t[0]+=f}n.push(r.slice(t[0],t[0]+s));t[0]+=s;continue}else{var c=0,l=0;if(i==1){l=(r[t[0]]>>2&7)+4;c=(r[t[0]++]&224)<<3;c|=r[t[0]++]}else{l=(r[t[0]++]>>2)+1;if(i==2){c=r[t[0]]|r[t[0]+1]<<8;t[0]+=2}else{c=(r[t[0]]|r[t[0]+1]<<8|r[t[0]+2]<<16|r[t[0]+3]<<24)>>>0;t[0]+=4}}n=[Gm(n)];if(c==0)throw new Error("Invalid offset 0");if(c>n[0].length)throw new Error("Invalid offset beyond length");if(l>=c){n.push(n[0].slice(-c));l-=c;while(l>=n[n.length-1].length){n.push(n[n.length-1]);l-=n[n.length-1].length}}n.push(n[0].slice(-c,-c+l))}}var o=Gm(n);if(o.length!=a)throw new Error("Unexpected length: ".concat(o.length," != ").concat(a));return o}function Qm(e){var r=[];var t=0;while(t<e.length){var a=e[t++];var n=e[t]|e[t+1]<<8|e[t+2]<<16;t+=3;r.push(Zm(a,e.slice(t,t+n)));t+=n}if(t!==e.length)throw new Error("data is not a valid framed stream!");return Gm(r)}function eb(e,r,t){var a=zm(e);var n=e[e[0]==4?1:2];var i=a.getUint32(4,true);var s=12+jm(i&3470)*4;var f=-1,c=-1,l=NaN,o=new Date(2001,0,1);if(i&512){f=a.getUint32(s,true);s+=4}s+=jm(i&12288)*4;if(i&16){c=a.getUint32(s,true);s+=4}if(i&32){l=a.getFloat64(s,true);s+=8}if(i&64){o.setTime(o.getTime()+a.getFloat64(s,true)*1e3);s+=8}var u;switch(n){case 0:break;case 2:u={t:"n",v:l};break;case 3:u={t:"s",v:r[c]};break;case 5:u={t:"d",v:o};break;case 6:u={t:"b",v:l>0};break;case 7:u={t:"n",v:l};break;case 8:u={t:"e",v:0};break;case 9:{if(f>-1)u={t:"s",v:t[f]};else if(c>-1)u={t:"s",v:r[c]};else if(!isNaN(l))u={t:"n",v:l};else throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)));}return u}function rb(e,r,t){var a=zm(e);var n=e[1];var i=a.getUint32(8,true);var s=12;var f=-1,c=-1,l=NaN,o=NaN,u=new Date(2001,0,1);if(i&1){l=Xm(e,s);s+=16}if(i&2){o=a.getFloat64(s,true);s+=8}if(i&4){u.setTime(u.getTime()+a.getFloat64(s,true)*1e3);s+=8}if(i&8){c=a.getUint32(s,true);s+=4}if(i&16){f=a.getUint32(s,true);s+=4}var h;switch(n){case 0:break;case 2:h={t:"n",v:l};break;case 3:h={t:"s",v:r[c]};break;case 5:h={t:"d",v:u};break;case 6:h={t:"b",v:o>0};break;case 7:h={t:"n",v:o};break;case 8:h={t:"e",v:0};break;case 9:{if(f>-1)h={t:"s",v:t[f]};else throw new Error("Unsupported cell type ".concat(n," : ").concat(i&31," : ").concat(e.slice(0,4)))}break;case 10:h={t:"n",v:l};break;default:throw new Error("Unsupported cell type ".concat(n," : ").concat(i&31," : ").concat(e.slice(0,4)));}return h}function tb(e,r,t){switch(e[0]){case 3:;case 4:return eb(e,r,t);case 5:return rb(e,r,t);default:throw new Error("Unsupported payload version ".concat(e[0]));}}function ab(e){var r=Km(e);return $m(r[1][0].data)}function nb(e,r){var t=Km(r.data);var a=Ym(t[1][0].data);var n=t[3];var i=[];(n||[]).forEach(function(r){var t=Km(r.data);var n=Ym(t[1][0].data)>>>0;switch(a){case 1:i[n]=Vm(t[3][0].data);break;case 8:{var s=e[ab(t[9][0].data)][0];var f=Km(s.data);var c=e[ab(f[1][0].data)][0];var l=Ym(c.meta[1][0].data);if(l!=2001)throw new Error("2000 unexpected reference to ".concat(l));var o=Km(c.data);i[n]=o[3].map(function(e){return Vm(e.data)}).join("")}break;}});return i}function ib(e){var r,t,a,n,i,s,f,c,l,o;var u=Km(e);var h=Ym(u[1][0].data)>>>0;var d=(t=(r=u[3])==null?void 0:r[0])==null?void 0:t.data;var v=((n=(a=u[4])==null?void 0:a[0])==null?void 0:n.data)&&zm(u[4][0].data);var p=(s=(i=u[6])==null?void 0:i[0])==null?void 0:s.data;var m=((c=(f=u[7])==null?void 0:f[0])==null?void 0:c.data)&&zm(u[7][0].data);var b=((o=(l=u[8])==null?void 0:l[0])==null?void 0:o.data)&&Ym(u[8][0].data)>0||false;var g=b?4:1;var w=[];var k=0;for(var T=0;T<v.byteLength/2;++T){if(p&&m){k=m.getUint16(T*2,true)*g;if(k<p.length){w[T]=p.subarray(k,m.getUint16(T*2+2,true)*g);continue}}if(d&&v){k=v.getUint16(T*2,true)*g;if(k<d.length)w[T]=d.subarray(k,v.getUint16(T*2+2,true)*g)}}return{R:h,cells:w}}function sb(e,r){var t=Km(r.data);var a=Jm(t[5],ib);return a.reduce(function(e,r){if(!e[r.R])e[r.R]=[];r.cells.forEach(function(t,a){if(e[r.R][a])throw new Error("Duplicate cell r=".concat(r.R," c=").concat(a));e[r.R][a]=t});return e},[])}function fb(e,r,t){var a;var n=Km(r.data);var i={s:{r:0,c:0},e:{r:0,c:0}};i.e.r=(Ym(n[6][0].data)>>>0)-1;if(i.e.r<0)throw new Error("Invalid row varint ".concat(n[6][0].data));i.e.c=(Ym(n[7][0].data)>>>0)-1;if(i.e.c<0)throw new Error("Invalid col varint ".concat(n[7][0].data));t["!ref"]=Et(i);{var s=Km(n[4][0].data);var f=nb(e,e[ab(s[4][0].data)][0]);var c=((a=s[17])==null?void 0:a[0])?nb(e,e[ab(s[17][0].data)][0]):[];{var l=Km(s[3][0].data);var o=[];l[1].forEach(function(r){var t=Km(r.data);var a=e[ab(t[2][0].data)][0];var n=Ym(a.meta[1][0].data);if(n!=6002)throw new Error("6001 unexpected reference to ".concat(n));o.push({id:Ym(t[1][0].data),ref:sb(e,a)})});o.forEach(function(e){e.ref.forEach(function(e,r){e.forEach(function(e,a){var n=kt({r:r,c:a});var i=tb(e,f,c);if(i)t[n]=i})})})}}}function cb(e,r){var t=Km(r.data);var a={"!ref":"A1"};var n=e[ab(t[2][0].data)];var i=Ym(n[0].meta[1][0].data);if(i!=6001)throw new Error("6000 unexpected reference to ".concat(i));fb(e,n[0],a);return a}function lb(e,r){var t;var a=Km(r.data);var n={name:((t=a[1])==null?void 0:t[0])?Vm(a[1][0].data):"",sheets:[]};var i=Jm(a[2],ab);i.forEach(function(r){e[r].forEach(function(r){var t=Ym(r.meta[1][0].data);if(t==6e3)n.sheets.push(cb(e,r))})});return n}function ob(e,r){var t=ig();var a=Km(r.data);var n=Jm(a[1],ab);n.forEach(function(r){e[r].forEach(function(r){var a=Ym(r.meta[1][0].data);if(a==2){var n=lb(e,r);n.sheets.forEach(function(e){sg(t,e,n.name)})}})});if(t.SheetNames.length==0)throw new Error("Empty NUMBERS file");return t}function ub(e){var r=[];e.FullPaths.forEach(function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")});e.FileIndex.forEach(function(e){if(!e.name.match(/\.iwa$/))return;var t;try{t=Qm(e.content)}catch(a){return console.log("?? "+e.content.length+" "+(a.message||a))}var n;try{n=qm(t)}catch(a){return console.log("## "+(a.message||a))}n.forEach(function(e){r[+e.id]=e.messages})});if(!r.length)throw new Error("File has no messages");var t;r.forEach(function(e){e.forEach(function(e){var r=Ym(e.meta[1][0].data)>>>0;if(r==1){if(!t)t=e;else throw new Error("Document has multiple roots")}})});if(!t)throw new Error("Cannot find Document root");return ob(r,t)}function hb(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]])}}}function db(e){hb([["cellNF",false],["cellHTML",true],["cellFormula",true],["cellStyles",false],["cellText",true],["cellDates",false],["sheetStubs",false],["sheetRows",0,"n"],["bookDeps",false],["bookSheets",false],["bookProps",false],["bookFiles",false],["bookVBA",false],["password",""],["WTF",false]])(e)}function vb(e){hb([["cellDates",false],["bookSST",false],["bookType","xlsx"],["compression",false],["WTF",false]])(e)}function pb(e){if(Ba.WS.indexOf(e)>-1)return"sheet";if(Ba.CS&&e==Ba.CS)return"chart";if(Ba.DS&&e==Ba.DS)return"dialog";if(Ba.MS&&e==Ba.MS)return"macro";return e&&e.length?e:"sheet"}function mb(e,r){if(!e)return 0;try{e=r.map(function a(r){if(!r.id)r.id=r.strRelID;return[r.name,e["!id"][r.id].Target,pb(e["!id"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function bb(e,r,t,a,n,i,s,f,c,l,o,u){try{i[a]=Ha(Se(e,t,true),r);var h=Ee(e,r);var d;switch(f){case"sheet":d=fp(h,r,n,c,i[a],l,o,u);break;case"chart":d=cp(h,r,n,c,i[a],l,o,u);if(!d||!d["!drawel"])break;var v=Re(d["!drawel"].Target,r);var p=Wa(v);var m=Xl(Se(e,v,true),Ha(Se(e,p,true),v));var b=Re(m,v);var g=Wa(b);d=Av(Se(e,b,true),b,c,Ha(Se(e,g,true),b),l,d);break;case"macro":d=lp(h,r,n,c,i[a],l,o,u);break;case"dialog":d=op(h,r,n,c,i[a],l,o,u);break;default:throw new Error("Unrecognized sheet type "+f);}s[a]=d;var w=[];if(i&&i[a])Y(i[a]).forEach(function(t){var n="";if(i[a][t].Type==Ba.CMNT){n=Re(i[a][t].Target,r);var s=vp(Ee(e,n,true),n,c);if(!s||!s.length)return;Kl(d,s,false)}if(i[a][t].Type==Ba.TCMNT){n=Re(i[a][t].Target,r);w=w.concat(Zl(Ee(e,n,true),c))}});if(w&&w.length)Kl(d,w,true,c.people||[])}catch(k){if(c.WTF)throw k}}function gb(e){return e.charAt(0)=="/"?e.slice(1):e}function wb(e,r){P(D);r=r||{};db(r);if(ke(e,"META-INF/manifest.xml"))return Mm(e,r);if(ke(e,"objectdata.xml"))return Mm(e,r);if(ke(e,"Index/Document.iwa")){if(typeof Uint8Array=="undefined")throw new Error("NUMBERS file parsing requires Uint8Array support");if(typeof ub!="undefined"){if(e.FileIndex)return ub(e);var t=z.utils.cfb_new();_e(e).forEach(function(r){xe(t,r,ye(e,r))});return ub(t)}throw new Error("Unsupported NUMBERS file")}if(!ke(e,"[Content_Types].xml")){if(ke(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(ke(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var a=_e(e);var n=La(Se(e,"[Content_Types].xml"));var i=false;var s,f;if(n.workbooks.length===0){f="xl/workbook.xml";if(Ee(e,f,true))n.workbooks.push(f)}if(n.workbooks.length===0){f="xl/workbook.bin";if(!Ee(e,f,true))throw new Error("Could not find workbook");n.workbooks.push(f);i=true}if(n.workbooks[0].slice(-3)=="bin")i=true;var c={};var l={};if(!r.bookSheets&&!r.bookProps){kh=[];if(n.sst)try{kh=dp(Ee(e,gb(n.sst)),n.sst,r)}catch(o){if(r.WTF)throw o}if(r.cellStyles&&n.themes.length)c=hp(Se(e,n.themes[0].replace(/^\//,""),true)||"",n.themes[0],r);if(n.style)l=up(Ee(e,gb(n.style)),n.style,c,r)}n.links.map(function(t){try{var a=Ha(Se(e,Wa(gb(t))),t);return mp(Ee(e,gb(t)),a,t,r)}catch(n){}});var u=sp(Ee(e,gb(n.workbooks[0])),n.workbooks[0],r);var h={},d="";if(n.coreprops.length){d=Ee(e,gb(n.coreprops[0]),true);if(d)h=rn(d);if(n.extprops.length!==0){d=Ee(e,gb(n.extprops[0]),true);if(d)cn(d,h,r)}}var v={};if(!r.bookSheets||r.bookProps){if(n.custprops.length!==0){d=Se(e,gb(n.custprops[0]),true);if(d)v=un(d,r)}}var p={};if(r.bookSheets||r.bookProps){if(u.Sheets)s=u.Sheets.map(function I(e){return e.name});else if(h.Worksheets&&h.SheetNames.length>0)s=h.SheetNames;if(r.bookProps){p.Props=h;p.Custprops=v}if(r.bookSheets&&typeof s!=="undefined")p.SheetNames=s;if(r.bookSheets?p.SheetNames:r.bookProps)return p}s={};var m={};if(r.bookDeps&&n.calcchain)m=pp(Ee(e,gb(n.calcchain)),n.calcchain,r);var b=0;var g={};var w,k;{var T=u.Sheets;h.Worksheets=T.length;h.SheetNames=[];for(var E=0;E!=T.length;++E){h.SheetNames[E]=T[E].name}}var S=i?"bin":"xml";var y=n.workbooks[0].lastIndexOf("/");var _=(n.workbooks[0].slice(0,y+1)+"_rels/"+n.workbooks[0].slice(y+1)+".rels").replace(/^\//,"");if(!ke(e,_))_="xl/_rels/workbook."+S+".rels";var x=Ha(Se(e,_,true),_.replace(/_rels.*/,"s5s"));if((n.metadata||[]).length>=1){r.xlmeta=bp(Ee(e,gb(n.metadata[0])),n.metadata[0],r)}if((n.people||[]).length>=1){r.people=eo(Ee(e,gb(n.people[0])),r)}if(x)x=mb(x,u.Sheets);var A=Ee(e,"xl/worksheets/sheet.xml",true)?1:0;e:for(b=0;b!=h.Worksheets;++b){var C="sheet";if(x&&x[b]){w="xl/"+x[b][1].replace(/[\/]?xl\//,"");if(!ke(e,w))w=x[b][1];if(!ke(e,w))w=_.replace(/_rels\/.*$/,"")+x[b][1];C=x[b][2]}else{w="xl/worksheets/sheet"+(b+1-A)+"."+S;w=w.replace(/sheet0\./,"sheet.")}k=w.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels");if(r&&r.sheets!=null)switch(typeof r.sheets){case"number":if(b!=r.sheets)continue e;break;case"string":if(h.SheetNames[b].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var R=false;for(var O=0;O!=r.sheets.length;++O){if(typeof r.sheets[O]=="number"&&r.sheets[O]==b)R=1;if(typeof r.sheets[O]=="string"&&r.sheets[O].toLowerCase()==h.SheetNames[b].toLowerCase())R=1}if(!R)continue e};}bb(e,w,k,h.SheetNames[b],b,g,s,C,r,u,c,l)}p={Directory:n,Workbook:u,Props:h,Custprops:v,Deps:m,Sheets:s,SheetNames:h.SheetNames,Strings:kh,Styles:l,Themes:c,SSF:D.get_table()};if(r&&r.bookFiles){if(e.files){p.keys=a;p.files=e.files}else{p.keys=[];p.files={};e.FullPaths.forEach(function(r,t){r=r.replace(/^Root Entry[\/]/,"");p.keys.push(r);p.files[r]=e.FileIndex[t]})}}if(r&&r.bookVBA){if(n.vba.length>0)p.vbaraw=Ee(e,gb(n.vba[0]),true);else if(n.defaults&&n.defaults.bin===co)p.vbaraw=Ee(e,"xl/vbaProject.bin",true)}return p}function kb(e,r){var t=r||{};var a="Workbook",n=z.find(e,a);try{a="/!DataSpaces/Version";n=z.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Bf(n.content);a="/!DataSpaces/DataSpaceMap";n=z.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=Hf(n.content);if(i.length!==1||i[0].comps.length!==1||i[0].comps[0].t!==0||i[0].name!=="StrongEncryptionDataSpace"||i[0].comps[0].v!=="EncryptedPackage")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace";n=z.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=zf(n.content);if(s.length!=1||s[0]!="StrongEncryptionTransform")throw new Error("ECMA-376 Encrypted file bad "+a);a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary";n=z.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);Gf(n.content)}catch(f){}a="/EncryptionInfo";n=z.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var c=$f(n.content);a="/EncryptedPackage";n=z.find(e,a);if(!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(c[0]==4&&typeof decrypt_agile!=="undefined")return decrypt_agile(c[1],n.content,t.password||"",t);if(c[0]==2&&typeof decrypt_std76!=="undefined")return decrypt_std76(c[1],n.content,t.password||"",t);throw new Error("File is password-protected")}function Tb(e,r){if(r.bookType=="ods")return Hm(e,r);if(r.bookType=="xlsb")return Eb(e,r);return Sb(e,r)}function Eb(e,r){$l=1024;if(e&&!e.SSF){e.SSF=D.get_table()}if(e&&e.SSF){P(D);D.load_table(e.SSF);r.revssf=q(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;if(Eh)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t=r.bookType=="xlsb"?"bin":"xml";var a=uo.indexOf(r.bookType)>-1;var n=Pa();vb(r=r||{});var i=Ae();var s="",f=0;r.cellXfs=[];xh(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";xe(i,s,an(e.Props,r));n.coreprops.push(s);ja(r.rels,2,s,Ba.CORE_PROPS);s="docProps/app.xml";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{var c=[];for(var l=0;l<e.SheetNames.length;++l)if((e.Workbook.Sheets[l]||{}).Hidden!=2)c.push(e.SheetNames[l]);e.Props.SheetNames=c}e.Props.Worksheets=e.Props.SheetNames.length;xe(i,s,ln(e.Props,r));n.extprops.push(s);ja(r.rels,3,s,Ba.EXT_PROPS);if(e.Custprops!==e.Props&&Y(e.Custprops||{}).length>0){s="docProps/custom.xml";xe(i,s,hn(e.Custprops,r));n.custprops.push(s);ja(r.rels,4,s,Ba.CUST_PROPS)}for(f=1;f<=e.SheetNames.length;++f){var o={"!id":{}};var u=e.Sheets[e.SheetNames[f-1]];var h=(u||{})["!type"]||"sheet";switch(h){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;xe(i,s,wp(f-1,s,r,e,o));n.sheets.push(s);ja(r.wbrels,-1,"worksheets/sheet"+f+"."+t,Ba.WS[0]);}if(u){var d=u["!comments"];var v=false;var p="";if(d&&d.length>0){p="xl/comments"+f+"."+t;xe(i,p,Sp(d,p,r));n.comments.push(p);ja(o,-1,"../comments"+f+"."+t,Ba.CMNT);v=true}if(u["!legacy"]){if(v)xe(i,"xl/drawings/vmlDrawing"+f+".vml",Yl(f,u["!comments"]))}delete u["!comments"];delete u["!legacy"]}if(o["!id"].rId1)xe(i,Wa(s),Va(o))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;xe(i,s,Ep(r.Strings,s,r));n.strs.push(s);ja(r.wbrels,-1,"sharedStrings."+t,Ba.SST)}s="xl/workbook."+t;xe(i,s,gp(e,s,r));n.workbooks.push(s);ja(r.rels,1,s,Ba.WB);s="xl/theme/theme1.xml";xe(i,s,Tl(e.Themes,r));n.themes.push(s);ja(r.wbrels,-1,"theme/theme1.xml",Ba.THEME);s="xl/styles."+t;xe(i,s,Tp(e,s,r));n.styles.push(s);ja(r.wbrels,-1,"styles."+t,Ba.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";xe(i,s,e.vbaraw);n.vba.push(s);ja(r.wbrels,-1,"vbaProject.bin",Ba.VBA)}s="xl/metadata."+t;xe(i,s,yp(s));n.metadata.push(s);ja(r.wbrels,-1,"metadata."+t,Ba.XLMETA);xe(i,"[Content_Types].xml",Ua(n,r));xe(i,"_rels/.rels",Va(r.rels));xe(i,"xl/_rels/workbook."+t+".rels",Va(r.wbrels));delete r.revssf;delete r.ssf;return i}function Sb(e,r){$l=1024;if(e&&!e.SSF){e.SSF=D.get_table()}if(e&&e.SSF){P(D);D.load_table(e.SSF);r.revssf=q(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;if(Eh)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t="xml";var a=uo.indexOf(r.bookType)>-1;
var n=Pa();vb(r=r||{});var i=Ae();var s="",f=0;r.cellXfs=[];xh(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s="docProps/core.xml";xe(i,s,an(e.Props,r));n.coreprops.push(s);ja(r.rels,2,s,Ba.CORE_PROPS);s="docProps/app.xml";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{var c=[];for(var l=0;l<e.SheetNames.length;++l)if((e.Workbook.Sheets[l]||{}).Hidden!=2)c.push(e.SheetNames[l]);e.Props.SheetNames=c}e.Props.Worksheets=e.Props.SheetNames.length;xe(i,s,ln(e.Props,r));n.extprops.push(s);ja(r.rels,3,s,Ba.EXT_PROPS);if(e.Custprops!==e.Props&&Y(e.Custprops||{}).length>0){s="docProps/custom.xml";xe(i,s,hn(e.Custprops,r));n.custprops.push(s);ja(r.rels,4,s,Ba.CUST_PROPS)}var o=["SheetJ5"];r.tcid=0;for(f=1;f<=e.SheetNames.length;++f){var u={"!id":{}};var h=e.Sheets[e.SheetNames[f-1]];var d=(h||{})["!type"]||"sheet";switch(d){case"chart":;default:s="xl/worksheets/sheet"+f+"."+t;xe(i,s,fd(f-1,r,e,u));n.sheets.push(s);ja(r.wbrels,-1,"worksheets/sheet"+f+"."+t,Ba.WS[0]);}if(h){var v=h["!comments"];var p=false;var m="";if(v&&v.length>0){var b=false;v.forEach(function(e){e[1].forEach(function(e){if(e.T==true)b=true})});if(b){m="xl/threadedComments/threadedComment"+f+"."+t;xe(i,m,Ql(v,o,r));n.threadedcomments.push(m);ja(u,-1,"../threadedComments/threadedComment"+f+"."+t,Ba.TCMNT)}m="xl/comments"+f+"."+t;xe(i,m,ql(v,r));n.comments.push(m);ja(u,-1,"../comments"+f+"."+t,Ba.CMNT);p=true}if(h["!legacy"]){if(p)xe(i,"xl/drawings/vmlDrawing"+f+".vml",Yl(f,h["!comments"]))}delete h["!comments"];delete h["!legacy"]}if(u["!id"].rId1)xe(i,Wa(s),Va(u))}if(r.Strings!=null&&r.Strings.length>0){s="xl/sharedStrings."+t;xe(i,s,If(r.Strings,r));n.strs.push(s);ja(r.wbrels,-1,"sharedStrings."+t,Ba.SST)}s="xl/workbook."+t;xe(i,s,$v(e,r));n.workbooks.push(s);ja(r.rels,1,s,Ba.WB);s="xl/theme/theme1.xml";xe(i,s,Tl(e.Themes,r));n.themes.push(s);ja(r.wbrels,-1,"theme/theme1.xml",Ba.THEME);s="xl/styles."+t;xe(i,s,Mc(e,r));n.styles.push(s);ja(r.wbrels,-1,"styles."+t,Ba.STY);if(e.vbaraw&&a){s="xl/vbaProject.bin";xe(i,s,e.vbaraw);n.vba.push(s);ja(r.wbrels,-1,"vbaProject.bin",Ba.VBA)}s="xl/metadata."+t;xe(i,s,Wl());n.metadata.push(s);ja(r.wbrels,-1,"metadata."+t,Ba.XLMETA);if(o.length>1){s="xl/persons/person.xml";xe(i,s,ro(o,r));n.people.push(s);ja(r.wbrels,-1,"persons/person.xml",Ba.PEOPLE)}xe(i,"[Content_Types].xml",Ua(n,r));xe(i,"_rels/.rels",Va(r.rels));xe(i,"xl/_rels/workbook."+t+".rels",Va(r.wbrels));delete r.revssf;delete r.ssf;return i}function yb(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=g.decode(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function _b(e,r){if(z.find(e,"EncryptedPackage"))return kb(e,r);return im(e,r)}function xb(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=w&&Buffer.isBuffer(e)?"buffer":"base64";t=Ce(a,n);return wb(t,n)}function Ab(e,r){var t=0;e:while(t<e.length)switch(e.charCodeAt(t)){case 10:;case 13:;case 32:++t;break;case 60:return Lp(e.slice(t),r);default:break e;}return mf.to_workbook(e,r)}function Cb(e,r){var t="",a=yb(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=le(e);break;default:throw new Error("Unrecognized type "+r.type);}if(a[0]==239&&a[1]==187&&a[2]==191)t=Je(t);r.type="binary";return Ab(t,r)}function Rb(e,r){var t=e;if(r.type=="base64")t=g.decode(t);t=a.utils.decode(1200,t.slice(2),"str");r.type="binary";return Ab(t,r)}function Ob(e){return!e.match(/[^\x00-\x7F]/)?e:qe(e)}function Ib(e,r,t,a){if(a){t.type="string";return mf.to_workbook(e,t)}return mf.to_workbook(r,t)}function Nb(e,r){l();var t=r||{};if(typeof ArrayBuffer!=="undefined"&&e instanceof ArrayBuffer)return Nb(new Uint8Array(e),(t=oe(t),t.type="array",t));if(typeof Uint8Array!=="undefined"&&e instanceof Uint8Array&&!t.type)t.type=typeof Deno!=="undefined"?"buffer":"array";var a=e,n=[0,0,0,0],i=false;if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}Th={};if(t.dateNF)Th.dateNF=t.dateNF;if(!t.type)t.type=w&&Buffer.isBuffer(e)?"buffer":"base64";if(t.type=="file"){t.type=w?"buffer":"binary";a=X(e);if(typeof Uint8Array!=="undefined"&&!w)t.type="array"}if(t.type=="string"){i=true;t.type="binary";t.codepage=65001;a=Ob(e)}if(t.type=="array"&&typeof Uint8Array!=="undefined"&&e instanceof Uint8Array&&typeof ArrayBuffer!=="undefined"){var s=new ArrayBuffer(3),f=new Uint8Array(s);f.foo="bar";if(!f.foo){t=oe(t);t.type="array";return Nb(R(a),t)}}switch((n=yb(a,t))[0]){case 208:if(n[1]===207&&n[2]===17&&n[3]===224&&n[4]===161&&n[5]===177&&n[6]===26&&n[7]===225)return _b(z.read(a,t),t);break;case 9:if(n[1]<=8)return im(a,t);break;case 60:return Lp(a,t);case 73:if(n[1]===73&&n[2]===42&&n[3]===0)throw new Error("TIFF Image File is not a spreadsheet");if(n[1]===68)return bf(a,t);break;case 84:if(n[1]===65&&n[2]===66&&n[3]===76)return vf.to_workbook(a,t);break;case 80:return n[1]===75&&n[2]<9&&n[3]<9?xb(a,t):Ib(e,a,t,i);case 239:return n[3]===60?Lp(a,t):Ib(e,a,t,i);case 255:if(n[1]===254){return Rb(a,t)}else if(n[1]===0&&n[2]===2&&n[3]===0)return gf.to_workbook(a,t);break;case 0:if(n[1]===0){if(n[2]>=2&&n[3]===0)return gf.to_workbook(a,t);if(n[2]===0&&(n[3]===8||n[3]===9))return gf.to_workbook(a,t)}break;case 3:;case 131:;case 139:;case 140:return hf.to_workbook(a,t);case 123:if(n[1]===92&&n[2]===114&&n[3]===116)return sc.to_workbook(a,t);break;case 10:;case 13:;case 32:return Cb(a,t);case 137:if(n[1]===80&&n[2]===78&&n[3]===71)throw new Error("PNG Image File is not a spreadsheet");break;}if(uf.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31)return hf.to_workbook(a,t);return Ib(e,a,t,i)}function Fb(e,r){var t=r||{};t.type="file";return Nb(e,t)}function Db(e,r){switch(r.type){case"base64":;case"binary":break;case"buffer":;case"array":r.type="";break;case"file":return j(r.file,z.write(e,{type:w?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type);}return z.write(e,r)}function Pb(e,r){var t=oe(r||{});var a=Tb(e,t);return Mb(a,t)}function Lb(e,r){var t=oe(r||{});var a=Sb(e,t);return Mb(a,t)}function Mb(e,r){var t={};var a=w?"nodebuffer":typeof Uint8Array!=="undefined"?"array":"string";if(r.compression)t.compression="DEFLATE";if(r.password)t.type=a;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":;case"file":t.type=a;break;default:throw new Error("Unrecognized type "+r.type);}var n=e.FullPaths?z.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno!=="undefined"){if(typeof n=="string"){if(r.type=="binary"||r.type=="base64")return n;n=new Uint8Array(x(n))}}if(r.password&&typeof encrypt_agile!=="undefined")return Db(encrypt_agile(n,r.password),r);if(r.type==="file")return j(r.file,n);return r.type=="string"?Je(n):n}function Ub(e,r){var t=r||{};var a=sm(e,t);return Db(a,t)}function Bb(e,r,t){if(!t)t="";var a=t+e;switch(r.type){case"base64":return g.encode(qe(a));case"binary":return qe(a);case"string":return e;case"file":return j(r.file,a,"utf8");case"buffer":{if(w)return k(a,"utf8");else if(typeof TextEncoder!=="undefined")return(new TextEncoder).encode(a);else return Bb(a,{type:"binary"}).split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Wb(e,r){switch(r.type){case"base64":return g.encode(e);case"binary":return e;case"string":return e;case"file":return j(r.file,e,"binary");case"buffer":{if(w)return k(e,"binary");else return e.split("").map(function(e){return e.charCodeAt(0)})};}throw new Error("Unrecognized type "+r.type)}function Hb(e,r){switch(r.type){case"string":;case"base64":;case"binary":var t="";for(var a=0;a<e.length;++a)t+=String.fromCharCode(e[a]);return r.type=="base64"?g.encode(t):r.type=="string"?Je(t):t;case"file":return j(r.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+r.type);}}function zb(e,r){l();Gv(e);var t=oe(r||{});if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}if(t.type=="array"){t.type="binary";var a=zb(e,t);t.type="array";return x(a)}return Lb(e,t)}function Vb(e,r){l();Gv(e);var t=oe(r||{});if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}if(t.type=="array"){t.type="binary";var a=Vb(e,t);t.type="array";return x(a)}var n=0;if(t.sheet){if(typeof t.sheet=="number")n=t.sheet;else n=e.SheetNames.indexOf(t.sheet);if(!e.SheetNames[n])throw new Error("Sheet not found: "+t.sheet+" : "+typeof t.sheet)}switch(t.bookType||"xlsb"){case"xml":;case"xlml":return Bb(Kp(e,t),t);case"slk":;case"sylk":return Bb(df.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"htm":;case"html":return Bb(Cm.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"txt":return Wb(Qb(e.Sheets[e.SheetNames[n]],t),t);case"csv":return Bb(Zb(e.Sheets[e.SheetNames[n]],t),t,"\ufeff");case"dif":return Bb(vf.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"dbf":return Hb(hf.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"prn":return Bb(mf.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"rtf":return Bb(sc.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"eth":return Bb(pf.from_sheet(e.Sheets[e.SheetNames[n]],t),t);case"fods":return Bb(Hm(e,t),t);case"wk1":return Hb(gf.sheet_to_wk1(e.Sheets[e.SheetNames[n]],t),t);case"wk3":return Hb(gf.book_to_wk3(e,t),t);case"biff2":if(!t.biff)t.biff=2;case"biff3":if(!t.biff)t.biff=3;case"biff4":if(!t.biff)t.biff=4;return Hb(Am(e,t),t);case"biff5":if(!t.biff)t.biff=5;case"biff8":;case"xla":;case"xls":if(!t.biff)t.biff=8;return Ub(e,t);case"xlsx":;case"xlsm":;case"xlam":;case"xlsb":;case"ods":return Pb(e,t);default:throw new Error("Unrecognized bookType |"+t.bookType+"|");}}function Gb(e){if(e.bookType)return;var r={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"};var t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();if(t.match(/^\.[a-z]+$/))e.bookType=t.slice(1);e.bookType=r[e.bookType]||e.bookType}function jb(e,r,t){var a=t||{};a.type="file";a.file=r;Gb(a);return Vb(e,a)}function Xb(e,r,t){var a=t||{};a.type="file";a.file=r;Gb(a);return zb(e,a)}function $b(e,r,t,a){var n=t||{};n.type="file";n.file=e;Gb(n);n.type="buffer";var i=a;if(!(i instanceof Function))i=t;return V.writeFile(e,Vb(r,n),i)}function Yb(e,r,t,a,n,i,s,f){var c=ut(t);var l=f.defval,o=f.raw||!Object.prototype.hasOwnProperty.call(f,"raw");var u=true;var h=n===1?[]:{};if(n!==1){if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:t,enumerable:false})}catch(d){h.__rowNum__=t}else h.__rowNum__=t}if(!s||e[t])for(var v=r.s.c;v<=r.e.c;++v){var p=s?e[t][v]:e[a[v]+c];if(p===undefined||p.t===undefined){if(l===undefined)continue;if(i[v]!=null){h[i[v]]=l}continue}var m=p.v;switch(p.t){case"z":if(m==null)break;continue;case"e":m=m==0?null:void 0;break;case"s":;case"d":;case"b":;case"n":break;default:throw new Error("unrecognized type "+p.t);}if(i[v]!=null){if(m==null){if(p.t=="e"&&m===null)h[i[v]]=null;else if(l!==undefined)h[i[v]]=l;else if(o&&m===null)h[i[v]]=null;else continue}else{h[i[v]]=o||f.rawNumbers&&p.t=="n"?m:_t(p,m,f)}if(m!=null)u=false}}return{row:h,isempty:u}}function Kb(e,r){if(e==null||e["!ref"]==null)return[];var t={t:"n",v:0},a=0,n=1,i=[],s=0,f="";var c={s:{r:0,c:0},e:{r:0,c:0}};var l=r||{};var o=l.range!=null?l.range:e["!ref"];if(l.header===1)a=1;else if(l.header==="A")a=2;else if(Array.isArray(l.header))a=3;else if(l.header==null)a=0;switch(typeof o){case"string":c=St(o);break;case"number":c=St(e["!ref"]);c.s.r=o;break;default:c=o;}if(a>0)n=0;var u=ut(c.s.r);var h=[];var d=[];var v=0,p=0;var m=Array.isArray(e);var b=c.s.r,g=0;var w={};if(m&&!e[b])e[b]=[];var k=l.skipHidden&&e["!cols"]||[];var T=l.skipHidden&&e["!rows"]||[];for(g=c.s.c;g<=c.e.c;++g){if((k[g]||{}).hidden)continue;h[g]=pt(g);t=m?e[b][g]:e[h[g]+u];switch(a){case 1:i[g]=g-c.s.c;break;case 2:i[g]=h[g];break;case 3:i[g]=l.header[g-c.s.c];break;default:if(t==null)t={w:"__EMPTY",t:"s"};f=s=_t(t,null,l);p=w[s]||0;if(!p)w[s]=1;else{do{f=s+"_"+p++}while(w[f]);w[s]=p;w[f]=1}i[g]=f;}}for(b=c.s.r+n;b<=c.e.r;++b){if((T[b]||{}).hidden)continue;var E=Yb(e,c,b,h,a,i,m,l);if(E.isempty===false||(a===1?l.blankrows!==false:!!l.blankrows))d[v++]=E.row}d.length=v;return d}var Jb=/"/g;function qb(e,r,t,a,n,i,s,f){var c=true;var l=[],o="",u=ut(t);for(var h=r.s.c;h<=r.e.c;++h){if(!a[h])continue;var d=f.dense?(e[t]||[])[h]:e[a[h]+u];if(d==null)o="";else if(d.v!=null){c=false;o=""+(f.rawNumbers&&d.t=="n"?d.v:_t(d,null,f));for(var v=0,p=0;v!==o.length;++v)if((p=o.charCodeAt(v))===n||p===i||p===34||f.forceQuotes){o='"'+o.replace(Jb,'""')+'"';break}if(o=="ID")o='"ID"'}else if(d.f!=null&&!d.F){c=false;o="="+d.f;if(o.indexOf(",")>=0)o='"'+o.replace(Jb,'""')+'"'}else o="";l.push(o)}if(f.blankrows===false&&c)return null;return l.join(s)}function Zb(e,r){var t=[];var a=r==null?{}:r;if(e==null||e["!ref"]==null)return"";var n=St(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",c=f.charCodeAt(0);var l=new RegExp((i=="|"?"\\|":i)+"+$");var o="",u=[];a.dense=Array.isArray(e);var h=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var v=n.s.c;v<=n.e.c;++v)if(!(h[v]||{}).hidden)u[v]=pt(v);var p=0;for(var m=n.s.r;m<=n.e.r;++m){if((d[m]||{}).hidden)continue;o=qb(e,n,m,u,s,c,i,a);if(o==null){continue}if(a.strip)o=o.replace(l,"");if(o||a.blankrows!==false)t.push((p++?f:"")+o)}delete a.dense;return t.join("")}function Qb(e,r){if(!r)r={};r.FS="\t";r.RS="\n";var t=Zb(e,r);if(typeof a=="undefined"||r.type=="string")return t;var n=a.utils.encode(1200,t,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function eg(e){var r="",t,a="";if(e==null||e["!ref"]==null)return[];var n=St(e["!ref"]),i="",s=[],f;var c=[];var l=Array.isArray(e);for(f=n.s.c;f<=n.e.c;++f)s[f]=pt(f);for(var o=n.s.r;o<=n.e.r;++o){i=ut(o);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=l?(e[o]||[])[f]:e[r];a="";if(t===undefined)continue;else if(t.F!=null){r=t.F;if(!t.f)continue;a=t.f;if(r.indexOf(":")==-1)r=r+":"+r}if(t.f!=null)a=t.f;else if(t.t=="z")continue;else if(t.t=="n"&&t.v!=null)a=""+t.v;else if(t.t=="b")a=t.v?"TRUE":"FALSE";else if(t.w!==undefined)a="'"+t.w;else if(t.v===undefined)continue;else if(t.t=="s")a="'"+t.v;else a=""+t.v;c[c.length]=r+"="+a}}return c}function rg(e,r,t){var a=t||{};var n=+!a.skipHeader;var i=e||{};var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin=="number")s=a.origin;else{var c=typeof a.origin=="string"?wt(a.origin):a.origin;s=c.r;f=c.c}}var l;var o={s:{c:0,r:0},e:{c:f,r:s+r.length-1+n}};if(i["!ref"]){var u=St(i["!ref"]);o.e.c=Math.max(o.e.c,u.e.c);o.e.r=Math.max(o.e.r,u.e.r);if(s==-1){s=u.e.r+1;o.e.r=s+r.length-1+n}}else{if(s==-1){s=0;o.e.r=r.length-1+n}}var h=a.header||[],d=0;r.forEach(function(e,r){Y(e).forEach(function(t){if((d=h.indexOf(t))==-1)h[d=h.length]=t;var c=e[t];var o="z";var u="";var v=kt({c:f+d,r:s+r+n});l=ag(i,v);if(c&&typeof c==="object"&&!(c instanceof Date)){i[v]=c}else{if(typeof c=="number")o="n";else if(typeof c=="boolean")o="b";else if(typeof c=="string")o="s";else if(c instanceof Date){o="d";if(!a.cellDates){o="n";c=ee(c)}u=a.dateNF||D._table[14]}else if(c===null&&a.nullError){o="e";c=0}if(!l)i[v]=l={t:o,v:c};else{l.t=o;l.v=c;delete l.w;delete l.R;if(u)l.z=u}if(u)l.z=u}})});o.e.c=Math.max(o.e.c,f+h.length-1);var v=ut(s);if(n)for(d=0;d<h.length;++d)i[pt(d+f)+v]={t:"s",v:h[d]};i["!ref"]=Et(o);return i}function tg(e,r){return rg(null,e,r)}function ag(e,r,t){if(typeof r=="string"){if(Array.isArray(e)){var a=wt(r);if(!e[a.r])e[a.r]=[];return e[a.r][a.c]||(e[a.r][a.c]={t:"z"})}return e[r]||(e[r]={t:"z"})}if(typeof r!="number")return ag(e,kt(r));return ag(e,kt({r:r,c:t||0}))}function ng(e,r){if(typeof r=="number"){if(r>=0&&e.SheetNames.length>r)return r;throw new Error("Cannot find sheet # "+r)}else if(typeof r=="string"){var t=e.SheetNames.indexOf(r);if(t>-1)return t;throw new Error("Cannot find sheet name |"+r+"|")}else throw new Error("Cannot find sheet |"+r+"|")}function ig(){return{SheetNames:[],Sheets:{}}}function sg(e,r,t){if(!t)for(var a=1;a<=65535;++a,t=undefined)if(e.SheetNames.indexOf(t="Sheet"+a)==-1)break;if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");zv(t);if(e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");e.SheetNames.push(t);e.Sheets[t]=r}function fg(e,r,t){if(!e.Workbook)e.Workbook={};if(!e.Workbook.Sheets)e.Workbook.Sheets=[];var a=ng(e,r);if(!e.Workbook.Sheets[a])e.Workbook.Sheets[a]={};switch(t){case 0:;case 1:;case 2:break;default:throw new Error("Bad sheet visibility setting "+t);}e.Workbook.Sheets[a].Hidden=t}function cg(e,r){e.z=r;return e}function lg(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e}function og(e,r,t){return lg(e,"#"+r,t)}function ug(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||"SheetJS"})}function hg(e,r,t,a){var n=typeof r!="string"?r:St(r);var i=typeof r=="string"?r:Et(r);for(var s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var c=ag(e,s,f);c.t="n";c.F=i;delete c.v;if(s==n.s.r&&f==n.s.c){c.f=t;if(a)c.D=true}}return e}var dg={encode_col:pt,encode_row:ut,encode_cell:kt,encode_range:Et,decode_col:vt,decode_row:ot,split_cell:gt,decode_cell:wt,decode_range:Tt,format_cell:_t,sheet_add_aoa:At,sheet_add_json:rg,sheet_add_dom:Rm,aoa_to_sheet:Ct,json_to_sheet:tg,table_to_sheet:Om,table_to_book:Im,sheet_to_csv:Zb,sheet_to_txt:Qb,sheet_to_json:Kb,sheet_to_html:Cm.from_sheet,sheet_to_formulae:eg,sheet_to_row_object_array:Kb,sheet_get_cell:ag,book_new:ig,book_append_sheet:sg,book_set_sheet_visibility:fg,cell_set_number_format:cg,cell_set_hyperlink:lg,cell_set_internal_link:og,cell_add_comment:ug,sheet_set_array_formula:hg,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};var vg;function pg(e){vg=e}function mg(e,r){var t=vg();var a=r==null?{}:r;if(e==null||e["!ref"]==null){t.push(null);return t}var n=St(e["!ref"]);var i=a.FS!==undefined?a.FS:",",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:"\n",c=f.charCodeAt(0);var l=new RegExp((i=="|"?"\\|":i)+"+$");var o="",u=[];a.dense=Array.isArray(e);var h=a.skipHidden&&e["!cols"]||[];var d=a.skipHidden&&e["!rows"]||[];for(var v=n.s.c;v<=n.e.c;++v)if(!(h[v]||{}).hidden)u[v]=pt(v);var p=n.s.r;var m=false,b=0;t._read=function(){if(!m){m=true;return t.push("\ufeff")}while(p<=n.e.r){++p;if((d[p-1]||{}).hidden)continue;o=qb(e,n,p-1,u,s,c,i,a);if(o!=null){if(a.strip)o=o.replace(l,"");if(o||a.blankrows!==false)return t.push((b++?f:"")+o)}}return t.push(null)};return t}function bg(e,r){var t=vg();var a=r||{};var n=a.header!=null?a.header:Cm.BEGIN;var i=a.footer!=null?a.footer:Cm.END;t.push(n);var s=Tt(e["!ref"]);a.dense=Array.isArray(e);t.push(Cm._preamble(e,s,a));var f=s.s.r;var c=false;t._read=function(){if(f>s.e.r){if(!c){c=true;t.push("</table>"+i)}return t.push(null)}while(f<=s.e.r){t.push(Cm._row(e,s,f,a));++f;break}};return t}function gg(e,r){var t=vg({objectMode:true});if(e==null||e["!ref"]==null){t.push(null);return t}var a={t:"n",v:0},n=0,i=1,s=[],f=0,c="";var l={s:{r:0,c:0},e:{r:0,c:0}};var o=r||{};var u=o.range!=null?o.range:e["!ref"];if(o.header===1)n=1;else if(o.header==="A")n=2;else if(Array.isArray(o.header))n=3;switch(typeof u){case"string":l=St(u);break;case"number":l=St(e["!ref"]);l.s.r=u;break;default:l=u;}if(n>0)i=0;var h=ut(l.s.r);var d=[];var v=0;var p=Array.isArray(e);var m=l.s.r,b=0;var g={};if(p&&!e[m])e[m]=[];var w=o.skipHidden&&e["!cols"]||[];var k=o.skipHidden&&e["!rows"]||[];for(b=l.s.c;b<=l.e.c;++b){if((w[b]||{}).hidden)continue;d[b]=pt(b);a=p?e[m][b]:e[d[b]+h];switch(n){case 1:s[b]=b-l.s.c;break;case 2:s[b]=d[b];break;case 3:s[b]=o.header[b-l.s.c];break;default:if(a==null)a={w:"__EMPTY",t:"s"};c=f=_t(a,null,o);v=g[f]||0;if(!v)g[f]=1;else{do{c=f+"_"+v++}while(g[c]);g[f]=v;g[c]=1}s[b]=c;}}m=l.s.r+i;t._read=function(){while(m<=l.e.r){if((k[m-1]||{}).hidden)continue;var r=Yb(e,l,m,d,n,s,p,o);++m;if(r.isempty===false||(n===1?o.blankrows!==false:!!o.blankrows)){t.push(r.row);return}}return t.push(null)};return t}var wg={to_json:gg,to_html:bg,to_csv:mg,set_readable:pg};if(typeof im!=="undefined")e.parse_xlscfb=im;e.parse_zip=wb;e.read=Nb;e.readFile=Fb;e.readFileSync=Fb;e.write=Vb;e.writeFile=jb;e.writeFileSync=jb;e.writeFileAsync=$b;e.utils=dg;e.writeXLSX=zb;e.writeFileXLSX=Xb;e.SSF=D;if(typeof wg!=="undefined")e.stream=wg;if(typeof z!=="undefined")e.CFB=z;if(typeof require!=="undefined"){var kg=undefined;if((kg||{}).Readable)pg(kg.Readable)}}if(typeof exports!=="undefined")make_xlsx_lib(exports);else if(typeof module!=="undefined"&&module.exports)make_xlsx_lib(module.exports);else if(typeof define==="function"&&define.amd)define("xlsx",function(){if(!XLSX.version)make_xlsx_lib(XLSX);return XLSX});else make_xlsx_lib(XLSX);if(typeof window!=="undefined"&&!window.XLSX)try{window.XLSX=XLSX}catch(e){}