Agriculture-front-end/dist/assets/xlsx.86b9426e.js
2023-06-06 10:46:36 +08:00

96 lines
279 KiB
JavaScript
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.

/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Kt={};Kt.version="0.18.5";var $n=1252,Xi=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],jn=function(e){Xi.indexOf(e)!=-1&&($n=e)};function Ki(){jn(1252)}var St=function(e){jn(e)};function zi(){St(1200),Ki()}function Yi(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var Bt=function(t){return String.fromCharCode(t)},ln=function(t){return String.fromCharCode(t)},Wr,Ir="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function At(e){for(var t="",r=0,n=0,a=0,i=0,s=0,f=0,o=0,l=0;l<e.length;)r=e.charCodeAt(l++),i=r>>2,n=e.charCodeAt(l++),s=(r&3)<<4|n>>4,a=e.charCodeAt(l++),f=(n&15)<<2|a>>6,o=a&63,isNaN(n)?f=o=64:isNaN(a)&&(o=64),t+=Ir.charAt(i)+Ir.charAt(s)+Ir.charAt(f)+Ir.charAt(o);return t}function Cr(e){var t="",r=0,n=0,a=0,i=0,s=0,f=0,o=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l<e.length;)i=Ir.indexOf(e.charAt(l++)),s=Ir.indexOf(e.charAt(l++)),r=i<<2|s>>4,t+=String.fromCharCode(r),f=Ir.indexOf(e.charAt(l++)),n=(s&15)<<4|f>>2,f!==64&&(t+=String.fromCharCode(n)),o=Ir.indexOf(e.charAt(l++)),a=(f&3)<<6|o,o!==64&&(t+=String.fromCharCode(a));return t}var ue=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),Dr=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(t,r){return r?new Buffer(t,r):new Buffer(t)}:Buffer.from.bind(Buffer)}return function(){}}();function Vr(e){return ue?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function on(e){return ue?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var xr=function(t){return ue?Dr(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function i0(e){if(typeof ArrayBuffer>"u")return xr(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n!=e.length;++n)r[n]=e.charCodeAt(n)&255;return t}function Dt(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function $i(e){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(e)}var be=ue?function(e){return Buffer.concat(e.map(function(t){return Buffer.isBuffer(t)?t:Dr(t)}))}:function(e){if(typeof Uint8Array<"u"){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),a=0;for(t=0,r=0;t<e.length;r+=a,++t)if(a=e[t].length,e[t]instanceof Uint8Array)n.set(e[t],r);else{if(typeof e[t]=="string")throw"wtf";n.set(new Uint8Array(e[t]),r)}return n}return[].concat.apply([],e.map(function(i){return Array.isArray(i)?i:[].slice.call(i)}))};function ji(e){for(var t=[],r=0,n=e.length+250,a=Vr(e.length+255),i=0;i<e.length;++i){var s=e.charCodeAt(i);if(s<128)a[r++]=s;else if(s<2048)a[r++]=192|s>>6&31,a[r++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var f=e.charCodeAt(++i)&1023;a[r++]=240|s>>8&7,a[r++]=128|s>>2&63,a[r++]=128|f>>6&15|(s&3)<<4,a[r++]=128|f&63}else a[r++]=224|s>>12&15,a[r++]=128|s>>6&63,a[r++]=128|s&63;r>n&&(t.push(a.slice(0,r)),r=0,a=Vr(65535),n=65530)}return t.push(a.slice(0,r)),be(t)}var mt=/\u0000/g,Ut=/[\u0001-\u0006]/g;function nt(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function vr(e,t){var r=""+e;return r.length>=t?r:Fe("0",t-r.length)+r}function R0(e,t){var r=""+e;return r.length>=t?r:Fe(" ",t-r.length)+r}function zt(e,t){var r=""+e;return r.length>=t?r:r+Fe(" ",t-r.length)}function Ji(e,t){var r=""+Math.round(e);return r.length>=t?r:Fe("0",t-r.length)+r}function Zi(e,t){var r=""+e;return r.length>=t?r:Fe("0",t-r.length)+r}var cn=Math.pow(2,32);function qr(e,t){if(e>cn||e<-cn)return Ji(e,t);var r=Math.round(e);return Zi(r,t)}function Yt(e,t){return t=t||0,e.length>=7+t&&(e.charCodeAt(t)|32)===103&&(e.charCodeAt(t+1)|32)===101&&(e.charCodeAt(t+2)|32)===110&&(e.charCodeAt(t+3)|32)===101&&(e.charCodeAt(t+4)|32)===114&&(e.charCodeAt(t+5)|32)===97&&(e.charCodeAt(t+6)|32)===108}var hn=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],g0=[["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 qi(e){return e||(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]='"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "',e}var ye={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"\u4E0A\u5348/\u4E0B\u5348 "hh"\u6642"mm"\u5206"ss"\u79D2 "'},un={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},Qi={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 $t(e,t,r){for(var n=e<0?-1:1,a=e*n,i=0,s=1,f=0,o=1,l=0,c=0,p=Math.floor(a);l<t&&(p=Math.floor(a),f=p*s+i,c=p*l+o,!(a-p<5e-8));)a=1/(a-p),i=s,s=f,o=l,l=c;if(c>t&&(l>t?(c=o,f=i):(c=l,f=s)),!r)return[0,n*f,c];var x=Math.floor(n*f/c);return[x,n*f-x*c,c]}function bt(e,t,r){if(e>2958465||e<0)return null;var n=e|0,a=Math.floor(86400*(e-n)),i=0,s=[],f={D:n,T:a,u:86400*(e-n)-a,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6&&(f.u=0),t&&t.date1904&&(n+=1462),f.u>.9999&&(f.u=0,++a==86400&&(f.T=a=0,++n,++f.D)),n===60)s=r?[1317,10,29]:[1900,2,29],i=3;else if(n===0)s=r?[1317,8,29]:[1900,1,0],i=6;else{n>60&&--n;var o=new Date(1900,0,1);o.setDate(o.getDate()+n-1),s=[o.getFullYear(),o.getMonth()+1,o.getDate()],i=o.getDay(),n<60&&(i=(i+6)%7),r&&(i=ss(o,s))}return f.y=s[0],f.m=s[1],f.d=s[2],f.S=a%60,a=Math.floor(a/60),f.M=a%60,a=Math.floor(a/60),f.H=a,f.q=i,f}var Jn=new Date(1899,11,31,0,0,0),es=Jn.getTime(),rs=new Date(1900,2,1,0,0,0);function Zn(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=rs&&(r+=24*60*60*1e3),(r-(es+(e.getTimezoneOffset()-Jn.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function I0(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function ts(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function ns(e){var t=e<0?12:11,r=I0(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function as(e){var t=I0(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function is(e){var t=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),r;return t>=-4&&t<=-1?r=e.toPrecision(10+t):Math.abs(t)<=9?r=ns(e):t===10?r=e.toFixed(10).substr(0,12):r=as(e),I0(ts(r.toUpperCase()))}function y0(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):is(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return kr(14,Zn(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function ss(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function fs(e,t,r,n){var a="",i=0,s=0,f=r.y,o,l=0;switch(e){case 98:f=r.y+543;case 121:switch(t.length){case 1:case 2:o=f%100,l=2;break;default:o=f%1e4,l=4;break}break;case 109:switch(t.length){case 1:case 2:o=r.m,l=t.length;break;case 3:return g0[r.m-1][1];case 5:return g0[r.m-1][0];default:return g0[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:o=r.d,l=t.length;break;case 3:return hn[r.q][0];default:return hn[r.q][1]}break;case 104:switch(t.length){case 1:case 2:o=1+(r.H+11)%12,l=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:o=r.H,l=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:o=r.M,l=t.length;break;default:throw"bad minute format: "+t}break;case 115:if(t!="s"&&t!="ss"&&t!=".0"&&t!=".00"&&t!=".000")throw"bad second format: "+t;return r.u===0&&(t=="s"||t=="ss")?vr(r.S,t.length):(n>=2?s=n===3?1e3:100:s=n===1?10:1,i=Math.round(s*(r.S+r.u)),i>=60*s&&(i=0),t==="s"?i===0?"0":""+i/s:(a=vr(i,2+n),t==="ss"?a.substr(0,2):"."+a.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":o=r.D*24+r.H;break;case"[m]":case"[mm]":o=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":o=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}l=t.length===3?1:2;break;case 101:o=f,l=1;break}var c=l>0?vr(o,l):"";return c}function Nr(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,n=e.substr(0,r);r!=e.length;r+=t)n+=(n.length>0?",":"")+e.substr(r,t);return n}var qn=/%/g;function ls(e,t,r){var n=t.replace(qn,""),a=t.length-n.length;return Ar(e,n,r*Math.pow(10,2*a))+Fe("%",a)}function os(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Ar(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function Qn(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+Qn(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),r.indexOf("e")===-1){var s=Math.floor(Math.log(t)*Math.LOG10E);for(r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i);r.substr(0,2)==="0.";)r=r.charAt(0)+r.substr(2,a)+"."+r.substr(2+a),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,o,l,c){return o+l+c.substr(0,(a+i)%a)+"."+c.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}var ea=/# (\?+)( ?)\/( ?)(\d+)/;function cs(e,t,r){var n=parseInt(e[4],10),a=Math.round(t*n),i=Math.floor(a/n),s=a-i*n,f=n;return r+(i===0?"":""+i)+" "+(s===0?Fe(" ",e[1].length+1+e[4].length):R0(s,e[1].length)+e[2]+"/"+e[3]+vr(f,e[4].length))}function hs(e,t,r){return r+(t===0?"":""+t)+Fe(" ",e[1].length+2+e[4].length)}var ra=/^#*0*\.([0#]+)/,ta=/\).*[0#]/,na=/\(###\) ###\\?-####/;function Ye(e){for(var t="",r,n=0;n!=e.length;++n)switch(r=e.charCodeAt(n)){case 35:break;case 63:t+=" ";break;case 48:t+="0";break;default:t+=String.fromCharCode(r)}return t}function xn(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function vn(e,t){var r=e-Math.floor(e),n=Math.pow(10,t);return t<(""+Math.round(r*n)).length?0:Math.round(r*n)}function us(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function xs(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function fr(e,t,r){if(e.charCodeAt(0)===40&&!t.match(ta)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?fr("n",n,r):"("+fr("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return os(e,t,r);if(t.indexOf("%")!==-1)return ls(e,t,r);if(t.indexOf("E")!==-1)return Qn(t,r);if(t.charCodeAt(0)===36)return"$"+fr(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,f,o=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+qr(o,t.length);if(t.match(/^[#?]+$/))return a=qr(r,0),a==="0"&&(a=""),a.length>t.length?a:Ye(t.substr(0,t.length-a.length))+a;if(i=t.match(ea))return cs(i,o,l);if(t.match(/^#+0+$/))return l+qr(o,t.length-t.indexOf("0"));if(i=t.match(ra))return a=xn(r,i[1].length).replace(/^([^\.]+)$/,"$1."+Ye(i[1])).replace(/\.$/,"."+Ye(i[1])).replace(/\.(\d*)$/,function(E,u){return"."+u+Fe("0",Ye(i[1]).length-u.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return l+xn(o,i[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return l+Nr(qr(o,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+fr(e,t,-r):Nr(""+(Math.floor(r)+us(r,i[1].length)))+"."+vr(vn(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return fr(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=nt(fr(e,t.replace(/[\\-]/g,""),r)),s=0,nt(nt(t.replace(/\\/g,"")).replace(/[0#]/g,function(E){return s<a.length?a.charAt(s++):E==="0"?"0":""}));if(t.match(na))return a=fr(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var c="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(i[4].length,7),f=$t(o,Math.pow(10,s)-1,!1),a=""+l,c=Ar("n",i[1],f[1]),c.charAt(c.length-1)==" "&&(c=c.substr(0,c.length-1)+"0"),a+=c+i[2]+"/"+i[3],c=zt(f[2],s),c.length<i[4].length&&(c=Ye(i[4].substr(i[4].length-c.length))+c),a+=c,a;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(i[1].length,i[4].length),7),f=$t(o,Math.pow(10,s)-1,!0),l+(f[0]||(f[1]?"":"0"))+" "+(f[1]?R0(f[1],s)+i[2]+"/"+i[3]+zt(f[2],s):Fe(" ",2*s+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=qr(r,0),t.length<=a.length?a:Ye(t.substr(0,t.length-a.length))+a;if(i=t.match(/^([#0?]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),s=a.indexOf(".");var p=t.indexOf(".")-s,x=t.length-a.length-p;return Ye(t.substr(0,p)+a+t.substr(t.length-x))}if(i=t.match(/^00,000\.([#0]*0)$/))return s=vn(r,i[1].length),r<0?"-"+fr(e,t,-r):Nr(xs(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(E){return"00,"+(E.length<3?vr(0,3-E.length):"")+E})+"."+vr(s,i[1].length);switch(t){case"###,##0.00":return fr(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var v=Nr(qr(o,0));return v!=="0"?l+v:"";case"###,###.00":return fr(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return fr(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function vs(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Ar(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function ps(e,t,r){var n=t.replace(qn,""),a=t.length-n.length;return Ar(e,n,r*Math.pow(10,2*a))+Fe("%",a)}function aa(e,t){var r,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(t==0)return"0.0E+0";if(t<0)return"-"+aa(e,-t);var a=e.indexOf(".");a===-1&&(a=e.indexOf("E"));var i=Math.floor(Math.log(t)*Math.LOG10E)%a;if(i<0&&(i+=a),r=(t/Math.pow(10,i)).toPrecision(n+1+(a+i)%a),!r.match(/[Ee]/)){var s=Math.floor(Math.log(t)*Math.LOG10E);r.indexOf(".")===-1?r=r.charAt(0)+"."+r.substr(1)+"E+"+(s-r.length+i):r+="E+"+(s-i),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(f,o,l,c){return o+l+c.substr(0,(a+i)%a)+"."+c.substr(i)+"E"})}else r=t.toExponential(n);return e.match(/E\+00$/)&&r.match(/e[+-]\d$/)&&(r=r.substr(0,r.length-1)+"0"+r.charAt(r.length-1)),e.match(/E\-/)&&r.match(/e\+/)&&(r=r.replace(/e\+/,"e")),r.replace("e","E")}function mr(e,t,r){if(e.charCodeAt(0)===40&&!t.match(ta)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?mr("n",n,r):"("+mr("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return vs(e,t,r);if(t.indexOf("%")!==-1)return ps(e,t,r);if(t.indexOf("E")!==-1)return aa(t,r);if(t.charCodeAt(0)===36)return"$"+mr(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,f,o=Math.abs(r),l=r<0?"-":"";if(t.match(/^00+$/))return l+vr(o,t.length);if(t.match(/^[#?]+$/))return a=""+r,r===0&&(a=""),a.length>t.length?a:Ye(t.substr(0,t.length-a.length))+a;if(i=t.match(ea))return hs(i,o,l);if(t.match(/^#+0+$/))return l+vr(o,t.length-t.indexOf("0"));if(i=t.match(ra))return a=(""+r).replace(/^([^\.]+)$/,"$1."+Ye(i[1])).replace(/\.$/,"."+Ye(i[1])),a=a.replace(/\.(\d*)$/,function(E,u){return"."+u+Fe("0",Ye(i[1]).length-u.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return l+(""+o).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return l+Nr(""+o);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+mr(e,t,-r):Nr(""+r)+"."+Fe("0",i[1].length);if(i=t.match(/^#,#*,#0/))return mr(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=nt(mr(e,t.replace(/[\\-]/g,""),r)),s=0,nt(nt(t.replace(/\\/g,"")).replace(/[0#]/g,function(E){return s<a.length?a.charAt(s++):E==="0"?"0":""}));if(t.match(na))return a=mr(e,"##########",r),"("+a.substr(0,3)+") "+a.substr(3,3)+"-"+a.substr(6);var c="";if(i=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(i[4].length,7),f=$t(o,Math.pow(10,s)-1,!1),a=""+l,c=Ar("n",i[1],f[1]),c.charAt(c.length-1)==" "&&(c=c.substr(0,c.length-1)+"0"),a+=c+i[2]+"/"+i[3],c=zt(f[2],s),c.length<i[4].length&&(c=Ye(i[4].substr(i[4].length-c.length))+c),a+=c,a;if(i=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(i[1].length,i[4].length),7),f=$t(o,Math.pow(10,s)-1,!0),l+(f[0]||(f[1]?"":"0"))+" "+(f[1]?R0(f[1],s)+i[2]+"/"+i[3]+zt(f[2],s):Fe(" ",2*s+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:Ye(t.substr(0,t.length-a.length))+a;if(i=t.match(/^([#0]+)\.([#0]+)$/)){a=""+r.toFixed(Math.min(i[2].length,10)).replace(/([^0])0+$/,"$1"),s=a.indexOf(".");var p=t.indexOf(".")-s,x=t.length-a.length-p;return Ye(t.substr(0,p)+a+t.substr(t.length-x))}if(i=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+mr(e,t,-r):Nr(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(E){return"00,"+(E.length<3?vr(0,3-E.length):"")+E})+"."+vr(0,i[1].length);switch(t){case"###,###":case"##,###":case"#,###":var v=Nr(""+o);return v!=="0"?l+v:"";default:if(t.match(/\.[0#?]*$/))return mr(e,t.slice(0,t.lastIndexOf(".")),r)+Ye(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Ar(e,t,r){return(r|0)===r?mr(e,t,r):fr(e,t,r)}function ds(e){for(var t=[],r=!1,n=0,a=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:r=!r;break;case 95:case 42:case 92:++n;break;case 59:t[t.length]=e.substr(a,n-a),a=n+1}if(t[t.length]=e.substr(a),r===!0)throw new Error("Format |"+e+"| unterminated string ");return t}var ia=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function sa(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":Yt(e,t)&&(t+=6),t++;break;case'"':for(;e.charCodeAt(++t)!==34&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if(e.charAt(t+1)==="1"||e.charAt(t+1)==="2")return!0;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!0;case"A":case"a":case"\u4E0A":if(e.substr(t,3).toUpperCase()==="A/P"||e.substr(t,5).toUpperCase()==="AM/PM"||e.substr(t,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348")return!0;++t;break;case"[":for(n=r;e.charAt(t++)!=="]"&&t<e.length;)n+=e.charAt(t);if(n.match(ia))return!0;break;case".":case"0":case"#":for(;t<e.length&&("0#?.,E+-%".indexOf(r=e.charAt(++t))>-1||r=="\\"&&e.charAt(t+1)=="-"&&"0#".indexOf(e.charAt(t+2))>-1););break;case"?":for(;e.charAt(++t)===r;);break;case"*":++t,(e.charAt(t)==" "||e.charAt(t)=="*")&&++t;break;case"(":case")":++t;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1;);break;case" ":++t;break;default:++t;break}return!1}function ms(e,t,r,n){for(var a=[],i="",s=0,f="",o="t",l,c,p,x="H";s<e.length;)switch(f=e.charAt(s)){case"G":if(!Yt(e,s))throw new Error("unrecognized character "+f+" in "+e);a[a.length]={t:"G",v:"General"},s+=7;break;case'"':for(i="";(p=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(p);a[a.length]={t:"t",v:i},++s;break;case"\\":var v=e.charAt(++s),E=v==="("||v===")"?v:"t";a[a.length]={t:E,v},++s;break;case"_":a[a.length]={t:"t",v:" "},s+=2;break;case"@":a[a.length]={t:"T",v:t},++s;break;case"B":case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(l==null&&(l=bt(t,r,e.charAt(s+1)==="2"),l==null))return"";a[a.length]={t:"X",v:e.substr(s,2)},o=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(t<0||l==null&&(l=bt(t,r),l==null))return"";for(i=f;++s<e.length&&e.charAt(s).toLowerCase()===f;)i+=f;f==="m"&&o.toLowerCase()==="h"&&(f="M"),f==="h"&&(f=x),a[a.length]={t:f,v:i},o=f;break;case"A":case"a":case"\u4E0A":var u={t:f,v:f};if(l==null&&(l=bt(t,r)),e.substr(s,3).toUpperCase()==="A/P"?(l!=null&&(u.v=l.H>=12?"P":"A"),u.t="T",x="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(l!=null&&(u.v=l.H>=12?"PM":"AM"),u.t="T",s+=5,x="h"):e.substr(s,5).toUpperCase()==="\u4E0A\u5348/\u4E0B\u5348"?(l!=null&&(u.v=l.H>=12?"\u4E0B\u5348":"\u4E0A\u5348"),u.t="T",s+=5,x="h"):(u.t="t",++s),l==null&&u.t==="T")return"";a[a.length]=u,o=f;break;case"[":for(i=f;e.charAt(s++)!=="]"&&s<e.length;)i+=e.charAt(s);if(i.slice(-1)!=="]")throw'unterminated "[" block: |'+i+"|";if(i.match(ia)){if(l==null&&(l=bt(t,r),l==null))return"";a[a.length]={t:"Z",v:i.toLowerCase()},o=i.charAt(1)}else i.indexOf("$")>-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",sa(e)||(a[a.length]={t:"t",v:i}));break;case".":if(l!=null){for(i=f;++s<e.length&&(f=e.charAt(s))==="0";)i+=f;a[a.length]={t:"s",v:i};break}case"0":case"#":for(i=f;++s<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(s))>-1;)i+=f;a[a.length]={t:"n",v:i};break;case"?":for(i=f;e.charAt(++s)===f;)i+=f;a[a.length]={t:f,v:i},o=f;break;case"*":++s,(e.charAt(s)==" "||e.charAt(s)=="*")&&++s;break;case"(":case")":a[a.length]={t:n===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":for(i=f;s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1;)i+=e.charAt(s);a[a.length]={t:"D",v:i};break;case" ":a[a.length]={t:f,v:f},++s;break;case"$":a[a.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=\u20ACacfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);a[a.length]={t:"t",v:f},++s;break}var _=0,O=0,R;for(s=a.length-1,o="t";s>=0;--s)switch(a[s].t){case"h":case"H":a[s].t=x,o="h",_<1&&(_=1);break;case"s":(R=a[s].v.match(/\.0+$/))&&(O=Math.max(O,R[0].length-1)),_<3&&(_=3);case"d":case"y":case"M":case"e":o=a[s].t;break;case"m":o==="s"&&(a[s].t="M",_<2&&(_=2));break;case"X":break;case"Z":_<1&&a[s].v.match(/[Hh]/)&&(_=1),_<2&&a[s].v.match(/[Mm]/)&&(_=2),_<3&&a[s].v.match(/[Ss]/)&&(_=3)}switch(_){case 0:break;case 1:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H);break;case 2:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M);break}var y="",M;for(s=0;s<a.length;++s)switch(a[s].t){case"t":case"T":case" ":case"D":break;case"X":a[s].v="",a[s].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":a[s].v=fs(a[s].t.charCodeAt(0),a[s].v,l,O),a[s].t="t";break;case"n":case"?":for(M=s+1;a[M]!=null&&((f=a[M].t)==="?"||f==="D"||(f===" "||f==="t")&&a[M+1]!=null&&(a[M+1].t==="?"||a[M+1].t==="t"&&a[M+1].v==="/")||a[s].t==="("&&(f===" "||f==="n"||f===")")||f==="t"&&(a[M].v==="/"||a[M].v===" "&&a[M+1]!=null&&a[M+1].t=="?"));)a[s].v+=a[M].v,a[M]={v:"",t:";"},++M;y+=a[s].v,s=M-1;break;case"G":a[s].t="t",a[s].v=y0(t,r);break}var j="",ee,C;if(y.length>0){y.charCodeAt(0)==40?(ee=t<0&&y.charCodeAt(0)===45?-t:t,C=Ar("n",y,ee)):(ee=t<0&&n>1?-t:t,C=Ar("n",y,ee),ee<0&&a[0]&&a[0].t=="t"&&(C=C.substr(1),a[0].v="-"+a[0].v)),M=C.length-1;var b=a.length;for(s=0;s<a.length;++s)if(a[s]!=null&&a[s].t!="t"&&a[s].v.indexOf(".")>-1){b=s;break}var L=a.length;if(b===a.length&&C.indexOf("E")===-1){for(s=a.length-1;s>=0;--s)a[s]==null||"n?".indexOf(a[s].t)===-1||(M>=a[s].v.length-1?(M-=a[s].v.length,a[s].v=C.substr(M+1,a[s].v.length)):M<0?a[s].v="":(a[s].v=C.substr(0,M+1),M=-1),a[s].t="t",L=s);M>=0&&L<a.length&&(a[L].v=C.substr(0,M+1)+a[L].v)}else if(b!==a.length&&C.indexOf("E")===-1){for(M=C.indexOf(".")-1,s=b;s>=0;--s)if(!(a[s]==null||"n?".indexOf(a[s].t)===-1)){for(c=a[s].v.indexOf(".")>-1&&s===b?a[s].v.indexOf(".")-1:a[s].v.length-1,j=a[s].v.substr(c+1);c>=0;--c)M>=0&&(a[s].v.charAt(c)==="0"||a[s].v.charAt(c)==="#")&&(j=C.charAt(M--)+j);a[s].v=j,a[s].t="t",L=s}for(M>=0&&L<a.length&&(a[L].v=C.substr(0,M+1)+a[L].v),M=C.indexOf(".")+1,s=b;s<a.length;++s)if(!(a[s]==null||"n?(".indexOf(a[s].t)===-1&&s!==b)){for(c=a[s].v.indexOf(".")>-1&&s===b?a[s].v.indexOf(".")+1:0,j=a[s].v.substr(0,c);c<a[s].v.length;++c)M<C.length&&(j+=C.charAt(M++));a[s].v=j,a[s].t="t",L=s}}}for(s=0;s<a.length;++s)a[s]!=null&&"n?".indexOf(a[s].t)>-1&&(ee=n>1&&t<0&&s>0&&a[s-1].v==="-"?-t:t,a[s].v=Ar(a[s].t,a[s].v,ee),a[s].t="t");var G="";for(s=0;s!==a.length;++s)a[s]!=null&&(G+=a[s].v);return G}var pn=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function dn(e,t){if(t==null)return!1;var r=parseFloat(t[2]);switch(t[1]){case"=":if(e==r)return!0;break;case">":if(e>r)return!0;break;case"<":if(e<r)return!0;break;case"<>":if(e!=r)return!0;break;case">=":if(e>=r)return!0;break;case"<=":if(e<=r)return!0;break}return!1}function gs(e,t){var r=ds(e),n=r.length,a=r[n-1].indexOf("@");if(n<4&&a>-1&&--n,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if(typeof t!="number")return[4,r.length===4||a>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=a>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=a>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=a>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break}var i=t>0?r[0]:t<0?r[1]:r[2];if(r[0].indexOf("[")===-1&&r[1].indexOf("[")===-1)return[n,i];if(r[0].match(/\[[=<>]/)!=null||r[1].match(/\[[=<>]/)!=null){var s=r[0].match(pn),f=r[1].match(pn);return dn(t,s)?[n,r[0]]:dn(t,f)?[n,r[1]]:[n,r[s!=null&&f!=null?2:1]]}return[n,i]}function kr(e,t,r){r==null&&(r={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&r.dateNF?n=r.dateNF:n=e;break;case"number":e==14&&r.dateNF?n=r.dateNF:n=(r.table!=null?r.table:ye)[e],n==null&&(n=r.table&&r.table[un[e]]||ye[un[e]]),n==null&&(n=Qi[e]||"General");break}if(Yt(n,0))return y0(t,r);t instanceof Date&&(t=Zn(t,r.date1904));var a=gs(n,t);if(Yt(a[1]))return y0(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return ms(a[1],t,r,a[0])}function fa(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(ye[r]==null){t<0&&(t=r);continue}if(ye[r]==e){t=r;break}}t<0&&(t=391)}return ye[t]=e,t}function s0(e){for(var t=0;t!=392;++t)e[t]!==void 0&&fa(e[t],t)}function f0(){ye=qi()}var la=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function _s(e){var t=typeof e=="number"?ye[e]:e;return t=t.replace(la,"(\\d+)"),new RegExp("^"+t+"$")}function Ts(e,t,r){var n=-1,a=-1,i=-1,s=-1,f=-1,o=-1;(t.match(la)||[]).forEach(function(p,x){var v=parseInt(r[x+1],10);switch(p.toLowerCase().charAt(0)){case"y":n=v;break;case"d":i=v;break;case"h":s=v;break;case"s":o=v;break;case"m":s>=0?f=v:a=v;break}}),o>=0&&f==-1&&a>=0&&(f=a,a=-1);var l=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);l.length==7&&(l="0"+l),l.length==8&&(l="20"+l);var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2);return s==-1&&f==-1&&o==-1?l:n==-1&&a==-1&&i==-1?c:l+"T"+c}var Es=function(){var e={};e.version="1.2.0";function t(){for(var C=0,b=new Array(256),L=0;L!=256;++L)C=L,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,C=C&1?-306674912^C>>>1:C>>>1,b[L]=C;return typeof Int32Array<"u"?new Int32Array(b):b}var r=t();function n(C){var b=0,L=0,G=0,V=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(G=0;G!=256;++G)V[G]=C[G];for(G=0;G!=256;++G)for(L=C[G],b=256+G;b<4096;b+=256)L=V[b]=L>>>8^C[L&255];var K=[];for(G=1;G!=16;++G)K[G-1]=typeof Int32Array<"u"?V.subarray(G*256,G*256+256):V.slice(G*256,G*256+256);return K}var a=n(r),i=a[0],s=a[1],f=a[2],o=a[3],l=a[4],c=a[5],p=a[6],x=a[7],v=a[8],E=a[9],u=a[10],_=a[11],O=a[12],R=a[13],y=a[14];function M(C,b){for(var L=b^-1,G=0,V=C.length;G<V;)L=L>>>8^r[(L^C.charCodeAt(G++))&255];return~L}function j(C,b){for(var L=b^-1,G=C.length-15,V=0;V<G;)L=y[C[V++]^L&255]^R[C[V++]^L>>8&255]^O[C[V++]^L>>16&255]^_[C[V++]^L>>>24]^u[C[V++]]^E[C[V++]]^v[C[V++]]^x[C[V++]]^p[C[V++]]^c[C[V++]]^l[C[V++]]^o[C[V++]]^f[C[V++]]^s[C[V++]]^i[C[V++]]^r[C[V++]];for(G+=15;V<G;)L=L>>>8^r[(L^C[V++])&255];return~L}function ee(C,b){for(var L=b^-1,G=0,V=C.length,K=0,re=0;G<V;)K=C.charCodeAt(G++),K<128?L=L>>>8^r[(L^K)&255]:K<2048?(L=L>>>8^r[(L^(192|K>>6&31))&255],L=L>>>8^r[(L^(128|K&63))&255]):K>=55296&&K<57344?(K=(K&1023)+64,re=C.charCodeAt(G++)&1023,L=L>>>8^r[(L^(240|K>>8&7))&255],L=L>>>8^r[(L^(128|K>>2&63))&255],L=L>>>8^r[(L^(128|re>>6&15|(K&3)<<4))&255],L=L>>>8^r[(L^(128|re&63))&255]):(L=L>>>8^r[(L^(224|K>>12&15))&255],L=L>>>8^r[(L^(128|K>>6&63))&255],L=L>>>8^r[(L^(128|K&63))&255]);return~L}return e.table=r,e.bstr=M,e.buf=j,e.str=ee,e}(),_e=function(){var t={};t.version="1.2.1";function r(h,g){for(var d=h.split("/"),m=g.split("/"),T=0,w=0,I=Math.min(d.length,m.length);T<I;++T){if(w=d[T].length-m[T].length)return w;if(d[T]!=m[T])return d[T]<m[T]?-1:1}return d.length-m.length}function n(h){if(h.charAt(h.length-1)=="/")return h.slice(0,-1).indexOf("/")===-1?h:n(h.slice(0,-1));var g=h.lastIndexOf("/");return g===-1?h:h.slice(0,g+1)}function a(h){if(h.charAt(h.length-1)=="/")return a(h.slice(0,-1));var g=h.lastIndexOf("/");return g===-1?h:h.slice(g+1)}function i(h,g){typeof g=="string"&&(g=new Date(g));var d=g.getHours();d=d<<6|g.getMinutes(),d=d<<5|g.getSeconds()>>>1,h.write_shift(2,d);var m=g.getFullYear()-1980;m=m<<4|g.getMonth()+1,m=m<<5|g.getDate(),h.write_shift(2,m)}function s(h){var g=h.read_shift(2)&65535,d=h.read_shift(2)&65535,m=new Date,T=d&31;d>>>=5;var w=d&15;d>>>=4,m.setMilliseconds(0),m.setFullYear(d+1980),m.setMonth(w-1),m.setDate(T);var I=g&31;g>>>=5;var U=g&63;return g>>>=6,m.setHours(g),m.setMinutes(U),m.setSeconds(I<<1),m}function f(h){rr(h,0);for(var g={},d=0;h.l<=h.length-4;){var m=h.read_shift(2),T=h.read_shift(2),w=h.l+T,I={};switch(m){case 21589:d=h.read_shift(1),d&1&&(I.mtime=h.read_shift(4)),T>5&&(d&2&&(I.atime=h.read_shift(4)),d&4&&(I.ctime=h.read_shift(4))),I.mtime&&(I.mt=new Date(I.mtime*1e3));break}h.l=w,g[m]=I}return g}var o;function l(){return o||(o={})}function c(h,g){if(h[0]==80&&h[1]==75)return fn(h,g);if((h[0]|32)==109&&(h[1]|32)==105)return Ui(h,g);if(h.length<512)throw new Error("CFB file size "+h.length+" < 512");var d=3,m=512,T=0,w=0,I=0,U=0,D=0,N=[],k=h.slice(0,512);rr(k,0);var X=p(k);switch(d=X[0],d){case 3:m=512;break;case 4:m=4096;break;case 0:if(X[1]==0)return fn(h,g);default:throw new Error("Major Version: Expected 3 or 4 saw "+d)}m!==512&&(k=h.slice(0,m),rr(k,28));var Z=h.slice(0,m);x(k,d);var te=k.read_shift(4,"i");if(d===3&&te!==0)throw new Error("# Directory Sectors: Expected 0 saw "+te);k.l+=4,I=k.read_shift(4,"i"),k.l+=4,k.chk("00100000","Mini Stream Cutoff Size: "),U=k.read_shift(4,"i"),T=k.read_shift(4,"i"),D=k.read_shift(4,"i"),w=k.read_shift(4,"i");for(var z=-1,Q=0;Q<109&&(z=k.read_shift(4,"i"),!(z<0));++Q)N[Q]=z;var fe=v(h,m);_(D,w,fe,m,N);var we=R(fe,I,N,m);we[I].name="!Directory",T>0&&U!==re&&(we[U].name="!MiniFAT"),we[N[0]].name="!FAT",we.fat_addrs=N,we.ssz=m;var Se={},Ve=[],ut=[],xt=[];y(I,we,fe,Ve,T,Se,ut,U),E(ut,xt,Ve),Ve.shift();var vt={FileIndex:ut,FullPaths:xt};return g&&g.raw&&(vt.raw={header:Z,sectors:fe}),vt}function p(h){if(h[h.l]==80&&h[h.l+1]==75)return[0,0];h.chk(ge,"Header Signature: "),h.l+=16;var g=h.read_shift(2,"u");return[h.read_shift(2,"u"),g]}function x(h,g){var d=9;switch(h.l+=2,d=h.read_shift(2)){case 9:if(g!=3)throw new Error("Sector Shift: Expected 9 saw "+d);break;case 12:if(g!=4)throw new Error("Sector Shift: Expected 12 saw "+d);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+d)}h.chk("0600","Mini Sector Shift: "),h.chk("000000000000","Reserved: ")}function v(h,g){for(var d=Math.ceil(h.length/g)-1,m=[],T=1;T<d;++T)m[T-1]=h.slice(T*g,(T+1)*g);return m[d-1]=h.slice(d*g),m}function E(h,g,d){for(var m=0,T=0,w=0,I=0,U=0,D=d.length,N=[],k=[];m<D;++m)N[m]=k[m]=m,g[m]=d[m];for(;U<k.length;++U)m=k[U],T=h[m].L,w=h[m].R,I=h[m].C,N[m]===m&&(T!==-1&&N[T]!==T&&(N[m]=N[T]),w!==-1&&N[w]!==w&&(N[m]=N[w])),I!==-1&&(N[I]=m),T!==-1&&m!=N[m]&&(N[T]=N[m],k.lastIndexOf(T)<U&&k.push(T)),w!==-1&&m!=N[m]&&(N[w]=N[m],k.lastIndexOf(w)<U&&k.push(w));for(m=1;m<D;++m)N[m]===m&&(w!==-1&&N[w]!==w?N[m]=N[w]:T!==-1&&N[T]!==T&&(N[m]=N[T]));for(m=1;m<D;++m)if(h[m].type!==0){if(U=m,U!=N[U])do U=N[U],g[m]=g[U]+"/"+g[m];while(U!==0&&N[U]!==-1&&U!=N[U]);N[m]=-1}for(g[0]+="/",m=1;m<D;++m)h[m].type!==2&&(g[m]+="/")}function u(h,g,d){for(var m=h.start,T=h.size,w=[],I=m;d&&T>0&&I>=0;)w.push(g.slice(I*K,I*K+K)),T-=K,I=Hr(d,I*4);return w.length===0?B(0):be(w).slice(0,h.size)}function _(h,g,d,m,T){var w=re;if(h===re){if(g!==0)throw new Error("DIFAT chain shorter than expected")}else if(h!==-1){var I=d[h],U=(m>>>2)-1;if(!I)return;for(var D=0;D<U&&(w=Hr(I,D*4))!==re;++D)T.push(w);_(Hr(I,m-4),g-1,d,m,T)}}function O(h,g,d,m,T){var w=[],I=[];T||(T=[]);var U=m-1,D=0,N=0;for(D=g;D>=0;){T[D]=!0,w[w.length]=D,I.push(h[D]);var k=d[Math.floor(D*4/m)];if(N=D*4&U,m<4+N)throw new Error("FAT boundary crossed: "+D+" 4 "+m);if(!h[k])break;D=Hr(h[k],N)}return{nodes:w,data:An([I])}}function R(h,g,d,m){var T=h.length,w=[],I=[],U=[],D=[],N=m-1,k=0,X=0,Z=0,te=0;for(k=0;k<T;++k)if(U=[],Z=k+g,Z>=T&&(Z-=T),!I[Z]){D=[];var z=[];for(X=Z;X>=0;){z[X]=!0,I[X]=!0,U[U.length]=X,D.push(h[X]);var Q=d[Math.floor(X*4/m)];if(te=X*4&N,m<4+te)throw new Error("FAT boundary crossed: "+X+" 4 "+m);if(!h[Q]||(X=Hr(h[Q],te),z[X]))break}w[Z]={nodes:U,data:An([D])}}return w}function y(h,g,d,m,T,w,I,U){for(var D=0,N=m.length?2:0,k=g[h].data,X=0,Z=0,te;X<k.length;X+=128){var z=k.slice(X,X+128);rr(z,64),Z=z.read_shift(2),te=M0(z,0,Z-N),m.push(te);var Q={name:te,type:z.read_shift(1),color:z.read_shift(1),L:z.read_shift(4,"i"),R:z.read_shift(4,"i"),C:z.read_shift(4,"i"),clsid:z.read_shift(16),state:z.read_shift(4,"i"),start:0,size:0},fe=z.read_shift(2)+z.read_shift(2)+z.read_shift(2)+z.read_shift(2);fe!==0&&(Q.ct=M(z,z.l-8));var we=z.read_shift(2)+z.read_shift(2)+z.read_shift(2)+z.read_shift(2);we!==0&&(Q.mt=M(z,z.l-8)),Q.start=z.read_shift(4,"i"),Q.size=z.read_shift(4,"i"),Q.size<0&&Q.start<0&&(Q.size=Q.type=0,Q.start=re,Q.name=""),Q.type===5?(D=Q.start,T>0&&D!==re&&(g[D].name="!StreamData")):Q.size>=4096?(Q.storage="fat",g[Q.start]===void 0&&(g[Q.start]=O(d,Q.start,g.fat_addrs,g.ssz)),g[Q.start].name=Q.name,Q.content=g[Q.start].data.slice(0,Q.size)):(Q.storage="minifat",Q.size<0?Q.size=0:D!==re&&Q.start!==re&&g[D]&&(Q.content=u(Q,g[D].data,(g[U]||{}).data))),Q.content&&rr(Q.content,0),w[te]=Q,I.push(Q)}}function M(h,g){return new Date((nr(h,g+4)/1e7*Math.pow(2,32)+nr(h,g)/1e7-11644473600)*1e3)}function j(h,g){return l(),c(o.readFileSync(h),g)}function ee(h,g){var d=g&&g.type;switch(d||ue&&Buffer.isBuffer(h)&&(d="buffer"),d||"base64"){case"file":return j(h,g);case"base64":return c(xr(Cr(h)),g);case"binary":return c(xr(h),g)}return c(h,g)}function C(h,g){var d=g||{},m=d.root||"Root Entry";if(h.FullPaths||(h.FullPaths=[]),h.FileIndex||(h.FileIndex=[]),h.FullPaths.length!==h.FileIndex.length)throw new Error("inconsistent CFB structure");h.FullPaths.length===0&&(h.FullPaths[0]=m+"/",h.FileIndex[0]={name:m,type:5}),d.CLSID&&(h.FileIndex[0].clsid=d.CLSID),b(h)}function b(h){var g="Sh33tJ5";if(!_e.find(h,"/"+g)){var d=B(4);d[0]=55,d[1]=d[3]=50,d[2]=54,h.FileIndex.push({name:g,type:2,content:d,size:4,L:69,R:69,C:69}),h.FullPaths.push(h.FullPaths[0]+g),L(h)}}function L(h,g){C(h);for(var d=!1,m=!1,T=h.FullPaths.length-1;T>=0;--T){var w=h.FileIndex[T];switch(w.type){case 0:m?d=!0:(h.FileIndex.pop(),h.FullPaths.pop());break;case 1:case 2:case 5:m=!0,isNaN(w.R*w.L*w.C)&&(d=!0),w.R>-1&&w.L>-1&&w.R==w.L&&(d=!0);break;default:d=!0;break}}if(!(!d&&!g)){var I=new Date(1987,1,19),U=0,D=Object.create?Object.create(null):{},N=[];for(T=0;T<h.FullPaths.length;++T)D[h.FullPaths[T]]=!0,h.FileIndex[T].type!==0&&N.push([h.FullPaths[T],h.FileIndex[T]]);for(T=0;T<N.length;++T){var k=n(N[T][0]);m=D[k],m||(N.push([k,{name:a(k).replace("/",""),type:1,clsid:Me,ct:I,mt:I,content:null}]),D[k]=!0)}for(N.sort(function(te,z){return r(te[0],z[0])}),h.FullPaths=[],h.FileIndex=[],T=0;T<N.length;++T)h.FullPaths[T]=N[T][0],h.FileIndex[T]=N[T][1];for(T=0;T<N.length;++T){var X=h.FileIndex[T],Z=h.FullPaths[T];if(X.name=a(Z).replace("/",""),X.L=X.R=X.C=-(X.color=1),X.size=X.content?X.content.length:0,X.start=0,X.clsid=X.clsid||Me,T===0)X.C=N.length>1?1:-1,X.size=0,X.type=5;else if(Z.slice(-1)=="/"){for(U=T+1;U<N.length&&n(h.FullPaths[U])!=Z;++U);for(X.C=U>=N.length?-1:U,U=T+1;U<N.length&&n(h.FullPaths[U])!=n(Z);++U);X.R=U>=N.length?-1:U,X.type=1}else n(h.FullPaths[T+1]||"")==n(Z)&&(X.R=T+1),X.type=2}}}function G(h,g){var d=g||{};if(d.fileType=="mad")return bi(h,d);switch(L(h),d.fileType){case"zip":return Ni(h,d)}var m=function(te){for(var z=0,Q=0,fe=0;fe<te.FileIndex.length;++fe){var we=te.FileIndex[fe];if(!!we.content){var Se=we.content.length;Se>0&&(Se<4096?z+=Se+63>>6:Q+=Se+511>>9)}}for(var Ve=te.FullPaths.length+3>>2,ut=z+7>>3,xt=z+127>>7,vt=ut+Q+Ve+xt,br=vt+127>>7,m0=br<=109?0:Math.ceil((br-109)/127);vt+br+m0+127>>7>br;)m0=++br<=109?0:Math.ceil((br-109)/127);var wr=[1,m0,br,xt,Ve,Q,z,0];return te.FileIndex[0].size=z<<6,wr[7]=(te.FileIndex[0].start=wr[0]+wr[1]+wr[2]+wr[3]+wr[4]+wr[5])+(wr[6]+7>>3),wr}(h),T=B(m[7]<<9),w=0,I=0;{for(w=0;w<8;++w)T.write_shift(1,le[w]);for(w=0;w<8;++w)T.write_shift(2,0);for(T.write_shift(2,62),T.write_shift(2,3),T.write_shift(2,65534),T.write_shift(2,9),T.write_shift(2,6),w=0;w<3;++w)T.write_shift(2,0);for(T.write_shift(4,0),T.write_shift(4,m[2]),T.write_shift(4,m[0]+m[1]+m[2]+m[3]-1),T.write_shift(4,0),T.write_shift(4,1<<12),T.write_shift(4,m[3]?m[0]+m[1]+m[2]-1:re),T.write_shift(4,m[3]),T.write_shift(-4,m[1]?m[0]-1:re),T.write_shift(4,m[1]),w=0;w<109;++w)T.write_shift(-4,w<m[2]?m[1]+w:-1)}if(m[1])for(I=0;I<m[1];++I){for(;w<236+I*127;++w)T.write_shift(-4,w<m[2]?m[1]+w:-1);T.write_shift(-4,I===m[1]-1?re:I+1)}var U=function(te){for(I+=te;w<I-1;++w)T.write_shift(-4,w+1);te&&(++w,T.write_shift(-4,re))};for(I=w=0,I+=m[1];w<I;++w)T.write_shift(-4,Ce.DIFSECT);for(I+=m[2];w<I;++w)T.write_shift(-4,Ce.FATSECT);U(m[3]),U(m[4]);for(var D=0,N=0,k=h.FileIndex[0];D<h.FileIndex.length;++D)k=h.FileIndex[D],k.content&&(N=k.content.length,!(N<4096)&&(k.start=I,U(N+511>>9)));for(U(m[6]+7>>3);T.l&511;)T.write_shift(-4,Ce.ENDOFCHAIN);for(I=w=0,D=0;D<h.FileIndex.length;++D)k=h.FileIndex[D],k.content&&(N=k.content.length,!(!N||N>=4096)&&(k.start=I,U(N+63>>6)));for(;T.l&511;)T.write_shift(-4,Ce.ENDOFCHAIN);for(w=0;w<m[4]<<2;++w){var X=h.FullPaths[w];if(!X||X.length===0){for(D=0;D<17;++D)T.write_shift(4,0);for(D=0;D<3;++D)T.write_shift(4,-1);for(D=0;D<12;++D)T.write_shift(4,0);continue}k=h.FileIndex[w],w===0&&(k.start=k.size?k.start-1:re);var Z=w===0&&d.root||k.name;if(N=2*(Z.length+1),T.write_shift(64,Z,"utf16le"),T.write_shift(2,N),T.write_shift(1,k.type),T.write_shift(1,k.color),T.write_shift(-4,k.L),T.write_shift(-4,k.R),T.write_shift(-4,k.C),k.clsid)T.write_shift(16,k.clsid,"hex");else for(D=0;D<4;++D)T.write_shift(4,0);T.write_shift(4,k.state||0),T.write_shift(4,0),T.write_shift(4,0),T.write_shift(4,0),T.write_shift(4,0),T.write_shift(4,k.start),T.write_shift(4,k.size),T.write_shift(4,0)}for(w=1;w<h.FileIndex.length;++w)if(k=h.FileIndex[w],k.size>=4096)if(T.l=k.start+1<<9,ue&&Buffer.isBuffer(k.content))k.content.copy(T,T.l,0,k.size),T.l+=k.size+511&-512;else{for(D=0;D<k.size;++D)T.write_shift(1,k.content[D]);for(;D&511;++D)T.write_shift(1,0)}for(w=1;w<h.FileIndex.length;++w)if(k=h.FileIndex[w],k.size>0&&k.size<4096)if(ue&&Buffer.isBuffer(k.content))k.content.copy(T,T.l,0,k.size),T.l+=k.size+63&-64;else{for(D=0;D<k.size;++D)T.write_shift(1,k.content[D]);for(;D&63;++D)T.write_shift(1,0)}if(ue)T.l=T.length;else for(;T.l<T.length;)T.write_shift(1,0);return T}function V(h,g){var d=h.FullPaths.map(function(D){return D.toUpperCase()}),m=d.map(function(D){var N=D.split("/");return N[N.length-(D.slice(-1)=="/"?2:1)]}),T=!1;g.charCodeAt(0)===47?(T=!0,g=d[0].slice(0,-1)+g):T=g.indexOf("/")!==-1;var w=g.toUpperCase(),I=T===!0?d.indexOf(w):m.indexOf(w);if(I!==-1)return h.FileIndex[I];var U=!w.match(Ut);for(w=w.replace(mt,""),U&&(w=w.replace(Ut,"!")),I=0;I<d.length;++I)if((U?d[I].replace(Ut,"!"):d[I]).replace(mt,"")==w||(U?m[I].replace(Ut,"!"):m[I]).replace(mt,"")==w)return h.FileIndex[I];return null}var K=64,re=-2,ge="d0cf11e0a1b11ae1",le=[208,207,17,224,161,177,26,225],Me="00000000000000000000000000000000",Ce={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:re,FREESECT:-1,HEADER_SIGNATURE:ge,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:Me,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function cr(h,g,d){l();var m=G(h,d);o.writeFileSync(g,m)}function Ne(h){for(var g=new Array(h.length),d=0;d<h.length;++d)g[d]=String.fromCharCode(h[d]);return g.join("")}function ir(h,g){var d=G(h,g);switch(g&&g.type||"buffer"){case"file":return l(),o.writeFileSync(g.filename,d),d;case"binary":return typeof d=="string"?d:Ne(d);case"base64":return At(typeof d=="string"?d:Ne(d));case"buffer":if(ue)return Buffer.isBuffer(d)?d:Dr(d);case"array":return typeof d=="string"?xr(d):d}return d}var Qe;function S(h){try{var g=h.InflateRaw,d=new g;if(d._processChunk(new Uint8Array([3,0]),d._finishFlushFlag),d.bytesRead)Qe=h;else throw new Error("zlib does not expose bytesRead")}catch(m){console.error("cannot use native zlib: "+(m.message||m))}}function P(h,g){if(!Qe)return an(h,g);var d=Qe.InflateRaw,m=new d,T=m._processChunk(h.slice(h.l),m._finishFlushFlag);return h.l+=m.bytesRead,T}function F(h){return Qe?Qe.deflateRawSync(h):q0(h)}var A=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],H=[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],ie=[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 se(h){var g=(h<<1|h<<11)&139536|(h<<5|h<<15)&558144;return(g>>16|g>>8|g)&255}for(var ae=typeof Uint8Array<"u",q=ae?new Uint8Array(1<<8):[],Te=0;Te<1<<8;++Te)q[Te]=se(Te);function ce(h,g){var d=q[h&255];return g<=8?d>>>8-g:(d=d<<8|q[h>>8&255],g<=16?d>>>16-g:(d=d<<8|q[h>>16&255],d>>>24-g))}function ze(h,g){var d=g&7,m=g>>>3;return(h[m]|(d<=6?0:h[m+1]<<8))>>>d&3}function xe(h,g){var d=g&7,m=g>>>3;return(h[m]|(d<=5?0:h[m+1]<<8))>>>d&7}function Tr(h,g){var d=g&7,m=g>>>3;return(h[m]|(d<=4?0:h[m+1]<<8))>>>d&15}function Ae(h,g){var d=g&7,m=g>>>3;return(h[m]|(d<=3?0:h[m+1]<<8))>>>d&31}function ne(h,g){var d=g&7,m=g>>>3;return(h[m]|(d<=1?0:h[m+1]<<8))>>>d&127}function sr(h,g,d){var m=g&7,T=g>>>3,w=(1<<d)-1,I=h[T]>>>m;return d<8-m||(I|=h[T+1]<<8-m,d<16-m)||(I|=h[T+2]<<16-m,d<24-m)||(I|=h[T+3]<<24-m),I&w}function Er(h,g,d){var m=g&7,T=g>>>3;return m<=5?h[T]|=(d&7)<<m:(h[T]|=d<<m&255,h[T+1]=(d&7)>>8-m),g+3}function Br(h,g,d){var m=g&7,T=g>>>3;return d=(d&1)<<m,h[T]|=d,g+1}function Zr(h,g,d){var m=g&7,T=g>>>3;return d<<=m,h[T]|=d&255,d>>>=8,h[T+1]=d,g+8}function Z0(h,g,d){var m=g&7,T=g>>>3;return d<<=m,h[T]|=d&255,d>>>=8,h[T+1]=d&255,h[T+2]=d>>>8,g+16}function x0(h,g){var d=h.length,m=2*d>g?2*d:g+5,T=0;if(d>=g)return h;if(ue){var w=on(m);if(h.copy)h.copy(w);else for(;T<h.length;++T)w[T]=h[T];return w}else if(ae){var I=new Uint8Array(m);if(I.set)I.set(h);else for(;T<d;++T)I[T]=h[T];return I}return h.length=m,h}function dr(h){for(var g=new Array(h),d=0;d<h;++d)g[d]=0;return g}function Lt(h,g,d){var m=1,T=0,w=0,I=0,U=0,D=h.length,N=ae?new Uint16Array(32):dr(32);for(w=0;w<32;++w)N[w]=0;for(w=D;w<d;++w)h[w]=0;D=h.length;var k=ae?new Uint16Array(D):dr(D);for(w=0;w<D;++w)N[T=h[w]]++,m<T&&(m=T),k[w]=0;for(N[0]=0,w=1;w<=m;++w)N[w+16]=U=U+N[w-1]<<1;for(w=0;w<D;++w)U=h[w],U!=0&&(k[w]=N[U+16]++);var X=0;for(w=0;w<D;++w)if(X=h[w],X!=0)for(U=ce(k[w],m)>>m-X,I=(1<<m+4-X)-1;I>=0;--I)g[U|I<<X]=X&15|w<<4;return m}var v0=ae?new Uint16Array(512):dr(512),p0=ae?new Uint16Array(32):dr(32);if(!ae){for(var Ur=0;Ur<512;++Ur)v0[Ur]=0;for(Ur=0;Ur<32;++Ur)p0[Ur]=0}(function(){for(var h=[],g=0;g<32;g++)h.push(5);Lt(h,p0,32);var d=[];for(g=0;g<=143;g++)d.push(8);for(;g<=255;g++)d.push(9);for(;g<=279;g++)d.push(7);for(;g<=287;g++)d.push(8);Lt(d,v0,288)})();var Oi=function(){for(var g=ae?new Uint8Array(32768):[],d=0,m=0;d<ie.length-1;++d)for(;m<ie[d+1];++m)g[m]=d;for(;m<32768;++m)g[m]=29;var T=ae?new Uint8Array(259):[];for(d=0,m=0;d<H.length-1;++d)for(;m<H[d+1];++m)T[m]=d;function w(U,D){for(var N=0;N<U.length;){var k=Math.min(65535,U.length-N),X=N+k==U.length;for(D.write_shift(1,+X),D.write_shift(2,k),D.write_shift(2,~k&65535);k-- >0;)D[D.l++]=U[N++]}return D.l}function I(U,D){for(var N=0,k=0,X=ae?new Uint16Array(32768):[];k<U.length;){var Z=Math.min(65535,U.length-k);if(Z<10){for(N=Er(D,N,+(k+Z==U.length)),N&7&&(N+=8-(N&7)),D.l=N/8|0,D.write_shift(2,Z),D.write_shift(2,~Z&65535);Z-- >0;)D[D.l++]=U[k++];N=D.l*8;continue}N=Er(D,N,+(k+Z==U.length)+2);for(var te=0;Z-- >0;){var z=U[k];te=(te<<5^z)&32767;var Q=-1,fe=0;if((Q=X[te])&&(Q|=k&-32768,Q>k&&(Q-=32768),Q<k))for(;U[Q+fe]==U[k+fe]&&fe<250;)++fe;if(fe>2){z=T[fe],z<=22?N=Zr(D,N,q[z+1]>>1)-1:(Zr(D,N,3),N+=5,Zr(D,N,q[z-23]>>5),N+=3);var we=z<8?0:z-4>>2;we>0&&(Z0(D,N,fe-H[z]),N+=we),z=g[k-Q],N=Zr(D,N,q[z]>>3),N-=3;var Se=z<4?0:z-2>>1;Se>0&&(Z0(D,N,k-Q-ie[z]),N+=Se);for(var Ve=0;Ve<fe;++Ve)X[te]=k&32767,te=(te<<5^U[k])&32767,++k;Z-=fe-1}else z<=143?z=z+48:N=Br(D,N,1),N=Zr(D,N,q[z]),X[te]=k&32767,++k}N=Zr(D,N,0)-1}return D.l=(N+7)/8|0,D.l}return function(D,N){return D.length<8?w(D,N):I(D,N)}}();function q0(h){var g=B(50+Math.floor(h.length*1.1)),d=Oi(h,g);return g.slice(0,d)}var Q0=ae?new Uint16Array(32768):dr(32768),en=ae?new Uint16Array(32768):dr(32768),rn=ae?new Uint16Array(128):dr(128),tn=1,nn=1;function Di(h,g){var d=Ae(h,g)+257;g+=5;var m=Ae(h,g)+1;g+=5;var T=Tr(h,g)+4;g+=4;for(var w=0,I=ae?new Uint8Array(19):dr(19),U=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],D=1,N=ae?new Uint8Array(8):dr(8),k=ae?new Uint8Array(8):dr(8),X=I.length,Z=0;Z<T;++Z)I[A[Z]]=w=xe(h,g),D<w&&(D=w),N[w]++,g+=3;var te=0;for(N[0]=0,Z=1;Z<=D;++Z)k[Z]=te=te+N[Z-1]<<1;for(Z=0;Z<X;++Z)(te=I[Z])!=0&&(U[Z]=k[te]++);var z=0;for(Z=0;Z<X;++Z)if(z=I[Z],z!=0){te=q[U[Z]]>>8-z;for(var Q=(1<<7-z)-1;Q>=0;--Q)rn[te|Q<<z]=z&7|Z<<3}var fe=[];for(D=1;fe.length<d+m;)switch(te=rn[ne(h,g)],g+=te&7,te>>>=3){case 16:for(w=3+ze(h,g),g+=2,te=fe[fe.length-1];w-- >0;)fe.push(te);break;case 17:for(w=3+xe(h,g),g+=3;w-- >0;)fe.push(0);break;case 18:for(w=11+ne(h,g),g+=7;w-- >0;)fe.push(0);break;default:fe.push(te),D<te&&(D=te);break}var we=fe.slice(0,d),Se=fe.slice(d);for(Z=d;Z<286;++Z)we[Z]=0;for(Z=m;Z<30;++Z)Se[Z]=0;return tn=Lt(we,Q0,286),nn=Lt(Se,en,30),g}function Ri(h,g){if(h[0]==3&&!(h[1]&3))return[Vr(g),2];for(var d=0,m=0,T=on(g||1<<18),w=0,I=T.length>>>0,U=0,D=0;(m&1)==0;){if(m=xe(h,d),d+=3,m>>>1==0){d&7&&(d+=8-(d&7));var N=h[d>>>3]|h[(d>>>3)+1]<<8;if(d+=32,N>0)for(!g&&I<w+N&&(T=x0(T,w+N),I=T.length);N-- >0;)T[w++]=h[d>>>3],d+=8;continue}else m>>1==1?(U=9,D=5):(d=Di(h,d),U=tn,D=nn);for(;;){!g&&I<w+32767&&(T=x0(T,w+32767),I=T.length);var k=sr(h,d,U),X=m>>>1==1?v0[k]:Q0[k];if(d+=X&15,X>>>=4,(X>>>8&255)===0)T[w++]=X;else{if(X==256)break;X-=257;var Z=X<8?0:X-4>>2;Z>5&&(Z=0);var te=w+H[X];Z>0&&(te+=sr(h,d,Z),d+=Z),k=sr(h,d,D),X=m>>>1==1?p0[k]:en[k],d+=X&15,X>>>=4;var z=X<4?0:X-2>>1,Q=ie[X];for(z>0&&(Q+=sr(h,d,z),d+=z),!g&&I<te&&(T=x0(T,te+100),I=T.length);w<te;)T[w]=T[w-Q],++w}}}return g?[T,d+7>>>3]:[T.slice(0,w),d+7>>>3]}function an(h,g){var d=h.slice(h.l||0),m=Ri(d,g);return h.l+=m[1],m[0]}function sn(h,g){if(h)typeof console<"u"&&console.error(g);else throw new Error(g)}function fn(h,g){var d=h;rr(d,0);var m=[],T=[],w={FileIndex:m,FullPaths:T};C(w,{root:g.root});for(var I=d.length-4;(d[I]!=80||d[I+1]!=75||d[I+2]!=5||d[I+3]!=6)&&I>=0;)--I;d.l=I+4,d.l+=4;var U=d.read_shift(2);d.l+=6;var D=d.read_shift(4);for(d.l=D,I=0;I<U;++I){d.l+=20;var N=d.read_shift(4),k=d.read_shift(4),X=d.read_shift(2),Z=d.read_shift(2),te=d.read_shift(2);d.l+=8;var z=d.read_shift(4),Q=f(d.slice(d.l+X,d.l+X+Z));d.l+=X+Z+te;var fe=d.l;d.l=z+4,Ii(d,N,k,w,Q),d.l=fe}return w}function Ii(h,g,d,m,T){h.l+=2;var w=h.read_shift(2),I=h.read_shift(2),U=s(h);if(w&8257)throw new Error("Unsupported ZIP encryption");for(var D=h.read_shift(4),N=h.read_shift(4),k=h.read_shift(4),X=h.read_shift(2),Z=h.read_shift(2),te="",z=0;z<X;++z)te+=String.fromCharCode(h[h.l++]);if(Z){var Q=f(h.slice(h.l,h.l+Z));(Q[21589]||{}).mt&&(U=Q[21589].mt),((T||{})[21589]||{}).mt&&(U=T[21589].mt)}h.l+=Z;var fe=h.slice(h.l,h.l+N);switch(I){case 8:fe=P(h,k);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+I)}var we=!1;w&8&&(D=h.read_shift(4),D==134695760&&(D=h.read_shift(4),we=!0),N=h.read_shift(4),k=h.read_shift(4)),N!=g&&sn(we,"Bad compressed size: "+g+" != "+N),k!=d&&sn(we,"Bad uncompressed size: "+d+" != "+k),d0(m,te,fe,{unsafe:!0,mt:U})}function Ni(h,g){var d=g||{},m=[],T=[],w=B(1),I=d.compression?8:0,U=0,D=0,N=0,k=0,X=0,Z=h.FullPaths[0],te=Z,z=h.FileIndex[0],Q=[],fe=0;for(D=1;D<h.FullPaths.length;++D)if(te=h.FullPaths[D].slice(Z.length),z=h.FileIndex[D],!(!z.size||!z.content||te=="Sh33tJ5")){var we=k,Se=B(te.length);for(N=0;N<te.length;++N)Se.write_shift(1,te.charCodeAt(N)&127);Se=Se.slice(0,Se.l),Q[X]=Es.buf(z.content,0);var Ve=z.content;I==8&&(Ve=F(Ve)),w=B(30),w.write_shift(4,67324752),w.write_shift(2,20),w.write_shift(2,U),w.write_shift(2,I),z.mt?i(w,z.mt):w.write_shift(4,0),w.write_shift(-4,Q[X]),w.write_shift(4,Ve.length),w.write_shift(4,z.content.length),w.write_shift(2,Se.length),w.write_shift(2,0),k+=w.length,m.push(w),k+=Se.length,m.push(Se),k+=Ve.length,m.push(Ve),w=B(46),w.write_shift(4,33639248),w.write_shift(2,0),w.write_shift(2,20),w.write_shift(2,U),w.write_shift(2,I),w.write_shift(4,0),w.write_shift(-4,Q[X]),w.write_shift(4,Ve.length),w.write_shift(4,z.content.length),w.write_shift(2,Se.length),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(4,0),w.write_shift(4,we),fe+=w.l,T.push(w),fe+=Se.length,T.push(Se),++X}return w=B(22),w.write_shift(4,101010256),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(2,X),w.write_shift(2,X),w.write_shift(4,fe),w.write_shift(4,k),w.write_shift(2,0),be([be(m),be(T),w])}var Mt={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 ki(h,g){if(h.ctype)return h.ctype;var d=h.name||"",m=d.match(/\.([^\.]+)$/);return m&&Mt[m[1]]||g&&(m=(d=g).match(/[\.\\]([^\.\\])+$/),m&&Mt[m[1]])?Mt[m[1]]:"application/octet-stream"}function Pi(h){for(var g=At(h),d=[],m=0;m<g.length;m+=76)d.push(g.slice(m,m+76));return d.join(`\r
`)+`\r
`}function Li(h){var g=h.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(N){var k=N.charCodeAt(0).toString(16).toUpperCase();return"="+(k.length==1?"0"+k:k)});g=g.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),g.charAt(0)==`
`&&(g="=0D"+g.slice(1)),g=g.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var d=[],m=g.split(`\r
`),T=0;T<m.length;++T){var w=m[T];if(w.length==0){d.push("");continue}for(var I=0;I<w.length;){var U=76,D=w.slice(I,I+U);D.charAt(U-1)=="="?U--:D.charAt(U-2)=="="?U-=2:D.charAt(U-3)=="="&&(U-=3),D=w.slice(I,I+U),I+=U,I<w.length&&(D+="="),d.push(D)}}return d.join(`\r
`)}function Mi(h){for(var g=[],d=0;d<h.length;++d){for(var m=h[d];d<=h.length&&m.charAt(m.length-1)=="=";)m=m.slice(0,m.length-1)+h[++d];g.push(m)}for(var T=0;T<g.length;++T)g[T]=g[T].replace(/[=][0-9A-Fa-f]{2}/g,function(w){return String.fromCharCode(parseInt(w.slice(1),16))});return xr(g.join(`\r
`))}function Bi(h,g,d){for(var m="",T="",w="",I,U=0;U<10;++U){var D=g[U];if(!D||D.match(/^\s*$/))break;var N=D.match(/^(.*?):\s*([^\s].*)$/);if(N)switch(N[1].toLowerCase()){case"content-location":m=N[2].trim();break;case"content-type":w=N[2].trim();break;case"content-transfer-encoding":T=N[2].trim();break}}switch(++U,T.toLowerCase()){case"base64":I=xr(Cr(g.slice(U).join("")));break;case"quoted-printable":I=Mi(g.slice(U));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+T)}var k=d0(h,m.slice(d.length),I,{unsafe:!0});w&&(k.ctype=w)}function Ui(h,g){if(Ne(h.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var d=g&&g.root||"",m=(ue&&Buffer.isBuffer(h)?h.toString("binary"):Ne(h)).split(`\r
`),T=0,w="";for(T=0;T<m.length;++T)if(w=m[T],!!/^Content-Location:/i.test(w)&&(w=w.slice(w.indexOf("file")),d||(d=w.slice(0,w.lastIndexOf("/")+1)),w.slice(0,d.length)!=d))for(;d.length>0&&(d=d.slice(0,d.length-1),d=d.slice(0,d.lastIndexOf("/")+1),w.slice(0,d.length)!=d););var I=(m[1]||"").match(/boundary="(.*?)"/);if(!I)throw new Error("MAD cannot find boundary");var U="--"+(I[1]||""),D=[],N=[],k={FileIndex:D,FullPaths:N};C(k);var X,Z=0;for(T=0;T<m.length;++T){var te=m[T];te!==U&&te!==U+"--"||(Z++&&Bi(k,m.slice(X,T),d),X=T)}return k}function bi(h,g){var d=g||{},m=d.boundary||"SheetJS";m="------="+m;for(var T=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+m.slice(2)+'"',"","",""],w=h.FullPaths[0],I=w,U=h.FileIndex[0],D=1;D<h.FullPaths.length;++D)if(I=h.FullPaths[D].slice(w.length),U=h.FileIndex[D],!(!U.size||!U.content||I=="Sh33tJ5")){I=I.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(fe){return"_x"+fe.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(fe){return"_u"+fe.charCodeAt(0).toString(16)+"_"});for(var N=U.content,k=ue&&Buffer.isBuffer(N)?N.toString("binary"):Ne(N),X=0,Z=Math.min(1024,k.length),te=0,z=0;z<=Z;++z)(te=k.charCodeAt(z))>=32&&te<128&&++X;var Q=X>=Z*4/5;T.push(m),T.push("Content-Location: "+(d.root||"file:///C:/SheetJS/")+I),T.push("Content-Transfer-Encoding: "+(Q?"quoted-printable":"base64")),T.push("Content-Type: "+ki(U,I)),T.push(""),T.push(Q?Li(k):Pi(k))}return T.push(m+`--\r
`),T.join(`\r
`)}function Wi(h){var g={};return C(g,h),g}function d0(h,g,d,m){var T=m&&m.unsafe;T||C(h);var w=!T&&_e.find(h,g);if(!w){var I=h.FullPaths[0];g.slice(0,I.length)==I?I=g:(I.slice(-1)!="/"&&(I+="/"),I=(I+g).replace("//","/")),w={name:a(g),type:2},h.FileIndex.push(w),h.FullPaths.push(I),T||_e.utils.cfb_gc(h)}return w.content=d,w.size=d?d.length:0,m&&(m.CLSID&&(w.clsid=m.CLSID),m.mt&&(w.mt=m.mt),m.ct&&(w.ct=m.ct)),w}function Hi(h,g){C(h);var d=_e.find(h,g);if(d){for(var m=0;m<h.FileIndex.length;++m)if(h.FileIndex[m]==d)return h.FileIndex.splice(m,1),h.FullPaths.splice(m,1),!0}return!1}function Gi(h,g,d){C(h);var m=_e.find(h,g);if(m){for(var T=0;T<h.FileIndex.length;++T)if(h.FileIndex[T]==m)return h.FileIndex[T].name=a(d),h.FullPaths[T]=d,!0}return!1}function Vi(h){L(h,!0)}return t.find=V,t.read=ee,t.parse=c,t.write=ir,t.writeFile=cr,t.utils={cfb_new:Wi,cfb_add:d0,cfb_del:Hi,cfb_mov:Gi,cfb_gc:Vi,ReadShift:_t,CheckField:ya,prep_blob:rr,bconcat:be,use_zlib:S,_deflateRaw:q0,_inflateRaw:an,consts:Ce},t}();function ws(e){return typeof e=="string"?i0(e):Array.isArray(e)?$i(e):e}function Rt(e,t,r){if(typeof Deno<"u"){if(r&&typeof t=="string")switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=i0(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n=r=="utf8"?Sr(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var a=new Blob([ws(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(a,e);if(typeof saveAs<"u")return saveAs(a,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(a);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),chrome.downloads.download({url:i,filename:e,saveAs:!0});var s=document.createElement("a");if(s.download!=null)return s.download=e,s.href=i,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(i)},6e4),i}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var f=File(e);return f.open("w"),f.encoding="binary",Array.isArray(t)&&(t=Dt(t)),f.write(t),f.close(),t}catch(o){if(!o.message||!o.message.match(/onstruct/))throw o}throw new Error("cannot save file "+e)}function Ge(e){for(var t=Object.keys(e),r=[],n=0;n<t.length;++n)Object.prototype.hasOwnProperty.call(e,t[n])&&r.push(t[n]);return r}function mn(e,t){for(var r=[],n=Ge(e),a=0;a!==n.length;++a)r[e[n[a]][t]]==null&&(r[e[n[a]][t]]=n[a]);return r}function N0(e){for(var t=[],r=Ge(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function l0(e){for(var t=[],r=Ge(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}function Ss(e){for(var t=[],r=Ge(e),n=0;n!==r.length;++n)t[e[r[n]]]==null&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}var jt=new Date(1899,11,30,0,0,0);function Ze(e,t){var r=e.getTime();t&&(r-=1462*24*60*60*1e3);var n=jt.getTime()+(e.getTimezoneOffset()-jt.getTimezoneOffset())*6e4;return(r-n)/(24*60*60*1e3)}var oa=new Date,As=jt.getTime()+(oa.getTimezoneOffset()-jt.getTimezoneOffset())*6e4,gn=oa.getTimezoneOffset();function ca(e){var t=new Date;return t.setTime(e*24*60*60*1e3+As),t.getTimezoneOffset()!==gn&&t.setTime(t.getTime()+(t.getTimezoneOffset()-gn)*6e4),t}var _n=new Date("2017-02-19T19:06:09.000Z"),ha=isNaN(_n.getFullYear())?new Date("2/19/17"):_n,Fs=ha.getFullYear()==2017;function je(e,t){var r=new Date(e);if(Fs)return t>0?r.setTime(r.getTime()+r.getTimezoneOffset()*60*1e3):t<0&&r.setTime(r.getTime()-r.getTimezoneOffset()*60*1e3),r;if(e instanceof Date)return e;if(ha.getFullYear()==1917&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3)),i}function o0(e,t){if(ue&&Buffer.isBuffer(e)){if(t){if(e[0]==255&&e[1]==254)return Sr(e.slice(2).toString("utf16le"));if(e[1]==254&&e[2]==255)return Sr(Yi(e.slice(2).toString("binary")))}return e.toString("binary")}if(typeof TextDecoder<"u")try{if(t){if(e[0]==255&&e[1]==254)return Sr(new TextDecoder("utf-16le").decode(e.slice(2)));if(e[0]==254&&e[1]==255)return Sr(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"\u20AC":"\x80","\u201A":"\x82",\u0192:"\x83","\u201E":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02C6":"\x88","\u2030":"\x89",\u0160:"\x8A","\u2039":"\x8B",\u0152:"\x8C",\u017D:"\x8E","\u2018":"\x91","\u2019":"\x92","\u201C":"\x93","\u201D":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02DC":"\x98","\u2122":"\x99",\u0161:"\x9A","\u203A":"\x9B",\u0153:"\x9C",\u017E:"\x9E",\u0178:"\x9F"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(i){return r[i]||i})}catch{}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function qe(e){if(typeof JSON<"u"&&!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 t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=qe(e[r]));return t}function Fe(e,t){for(var r="";r.length<t;)r+=e;return r}function Fr(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return r*=100,""});return!isNaN(t=Number(n))||(n=n.replace(/[(](.*)[)]/,function(a,i){return r=-r,i}),!isNaN(t=Number(n)))?t/r:t}var ys=["january","february","march","april","may","june","july","august","september","october","november","december"];function Ft(e){var t=new Date(e),r=new Date(NaN),n=t.getYear(),a=t.getMonth(),i=t.getDate();if(isNaN(i))return r;var s=e.toLowerCase();if(s.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(s=s.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),s.length>3&&ys.indexOf(s)==-1)return r}else if(s.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||i>1)&&n!=101?t:e.match(/[^-0-9:,\/\\]/)?r:t}function oe(e,t,r){if(e.FullPaths){if(typeof r=="string"){var n;return ue?n=Dr(r):n=ji(r),_e.utils.cfb_add(e,t,n)}_e.utils.cfb_add(e,t,r)}else e.file(t,r)}function k0(){return _e.utils.cfb_new()}var Re=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
`,Cs={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},P0=N0(Cs),L0=/[&<>'"]/g,Os=/[\u0000-\u0008\u000b-\u001f]/g;function de(e){var t=e+"";return t.replace(L0,function(r){return P0[r]}).replace(Os,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function Tn(e){return de(e).replace(/ /g,"_x0020_")}var ua=/[\u0000-\u001f]/g;function Ds(e){var t=e+"";return t.replace(L0,function(r){return P0[r]}).replace(/\n/g,"<br/>").replace(ua,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function Rs(e){var t=e+"";return t.replace(L0,function(r){return P0[r]}).replace(ua,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}function Is(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")}function Ns(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function _0(e){for(var t="",r=0,n=0,a=0,i=0,s=0,f=0;r<e.length;){if(n=e.charCodeAt(r++),n<128){t+=String.fromCharCode(n);continue}if(a=e.charCodeAt(r++),n>191&&n<224){s=(n&31)<<6,s|=a&63,t+=String.fromCharCode(s);continue}if(i=e.charCodeAt(r++),n<240){t+=String.fromCharCode((n&15)<<12|(a&63)<<6|i&63);continue}s=e.charCodeAt(r++),f=((n&7)<<18|(a&63)<<12|(i&63)<<6|s&63)-65536,t+=String.fromCharCode(55296+(f>>>10&1023)),t+=String.fromCharCode(56320+(f&1023))}return t}function En(e){var t=Vr(2*e.length),r,n,a=1,i=0,s=0,f;for(n=0;n<e.length;n+=a)a=1,(f=e.charCodeAt(n))<128?r=f:f<224?(r=(f&31)*64+(e.charCodeAt(n+1)&63),a=2):f<240?(r=(f&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),a=3):(a=4,r=(f&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+3)&63),r-=65536,s=55296+(r>>>10&1023),r=56320+(r&1023)),s!==0&&(t[i++]=s&255,t[i++]=s>>>8,s=0),t[i++]=r%256,t[i++]=r>>>8;return t.slice(0,i).toString("ucs2")}function wn(e){return Dr(e,"binary").toString("utf8")}var Wt="foo bar baz\xE2\x98\x83\xF0\x9F\x8D\xA3",gt=ue&&(wn(Wt)==_0(Wt)&&wn||En(Wt)==_0(Wt)&&En)||_0,Sr=ue?function(e){return Dr(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r<e.length;)switch(n=e.charCodeAt(r++),!0){case n<128:t.push(String.fromCharCode(n));break;case n<2048:t.push(String.fromCharCode(192+(n>>6))),t.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(a&63)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(n&63)))}return t.join("")},ks=function(){var e=[["nbsp"," "],["middot","\xB7"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(t){return[new RegExp("&"+t[0]+";","ig"),t[1]]});return function(r){for(var n=r.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,`
`).replace(/<[^>]*>/g,""),a=0;a<e.length;++a)n=n.replace(e[a][0],e[a][1]);return n}}(),xa=/(^\s|\s$|\n)/;function We(e,t){return"<"+e+(t.match(xa)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function yt(e){return Ge(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function Y(e,t,r){return"<"+e+(r!=null?yt(r):"")+(t!=null?(t.match(xa)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function C0(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function Ps(e,t){switch(typeof e){case"string":var r=Y("vt:lpwstr",de(e));return t&&(r=r.replace(/&quot;/g,"_x0022_")),r;case"number":return Y((e|0)==e?"vt:i4":"vt:r8",de(String(e)));case"boolean":return Y("vt:bool",e?"true":"false")}if(e instanceof Date)return Y("vt:filetime",C0(e));throw new Error("Unable to serialize "+e)}var ke={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"},lt=["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"],tr={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 Ls(e,t){for(var r=1-2*(e[t+7]>>>7),n=((e[t+7]&127)<<4)+(e[t+6]>>>4&15),a=e[t+6]&15,i=5;i>=0;--i)a=a*256+e[t+i];return n==2047?a==0?r*(1/0):NaN:(n==0?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}function Ms(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,i=0,s=n?-t:t;isFinite(s)?s==0?a=i=0:(a=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-a),a<=-1023&&(!isFinite(i)||i<Math.pow(2,52))?a=-1022:(i-=Math.pow(2,52),a+=1023)):(a=2047,i=isNaN(t)?26985:0);for(var f=0;f<=5;++f,i/=256)e[r+f]=i&255;e[r+6]=(a&15)<<4|i&15,e[r+7]=a>>4|n}var Sn=function(e){for(var t=[],r=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var a=0,i=e[0][n].length;a<i;a+=r)t.push.apply(t,e[0][n].slice(a,a+r));return t},An=ue?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:Dr(t)})):Sn(e)}:Sn,Fn=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(dt(e,a)));return n.join("").replace(mt,"")},M0=ue?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(mt,""):Fn(e,t,r)}:Fn,yn=function(e,t,r){for(var n=[],a=t;a<t+r;++a)n.push(("0"+e[a].toString(16)).slice(-2));return n.join("")},va=ue?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):yn(e,t,r)}:yn,Cn=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(rt(e,a)));return n.join("")},It=ue?function(t,r,n){return Buffer.isBuffer(t)?t.toString("utf8",r,n):Cn(t,r,n)}:Cn,pa=function(e,t){var r=nr(e,t);return r>0?It(e,t+4,t+4+r-1):""},da=pa,ma=function(e,t){var r=nr(e,t);return r>0?It(e,t+4,t+4+r-1):""},ga=ma,_a=function(e,t){var r=2*nr(e,t);return r>0?It(e,t+4,t+4+r-1):""},Ta=_a,Ea=function(t,r){var n=nr(t,r);return n>0?M0(t,r+4,r+4+n):""},wa=Ea,Sa=function(e,t){var r=nr(e,t);return r>0?It(e,t+4,t+4+r):""},Aa=Sa,Fa=function(e,t){return Ls(e,t)},Jt=Fa,B0=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};ue&&(da=function(t,r){if(!Buffer.isBuffer(t))return pa(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},ga=function(t,r){if(!Buffer.isBuffer(t))return ma(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Ta=function(t,r){if(!Buffer.isBuffer(t))return _a(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},wa=function(t,r){if(!Buffer.isBuffer(t))return Ea(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},Aa=function(t,r){if(!Buffer.isBuffer(t))return Sa(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},Jt=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):Fa(t,r)},B0=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var rt=function(e,t){return e[t]},dt=function(e,t){return e[t+1]*(1<<8)+e[t]},Bs=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},nr=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Hr=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},Us=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function _t(e,t){var r="",n,a,i=[],s,f,o,l;switch(t){case"dbcs":if(l=this.l,ue&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o<e;++o)r+=String.fromCharCode(dt(this,l)),l+=2;e*=2;break;case"utf8":r=It(this,this.l,this.l+e);break;case"utf16le":e*=2,r=M0(this,this.l,this.l+e);break;case"wstr":return _t.call(this,e,"dbcs");case"lpstr-ansi":r=da(this,this.l),e=4+nr(this,this.l);break;case"lpstr-cp":r=ga(this,this.l),e=4+nr(this,this.l);break;case"lpwstr":r=Ta(this,this.l),e=4+2*nr(this,this.l);break;case"lpp4":e=4+nr(this,this.l),r=wa(this,this.l),e&2&&(e+=2);break;case"8lpp4":e=4+nr(this,this.l),r=Aa(this,this.l),e&3&&(e+=4-(e&3));break;case"cstr":for(e=0,r="";(s=rt(this,this.l+e++))!==0;)i.push(Bt(s));r=i.join("");break;case"_wstr":for(e=0,r="";(s=dt(this,this.l+e))!==0;)i.push(Bt(s)),e+=2;e+=2,r=i.join("");break;case"dbcs-cont":for(r="",l=this.l,o=0;o<e;++o){if(this.lens&&this.lens.indexOf(l)!==-1)return s=rt(this,l),this.l=l+1,f=_t.call(this,e-o,s?"dbcs-cont":"sbcs-cont"),i.join("")+f;i.push(Bt(dt(this,l))),l+=2}r=i.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(r="",l=this.l,o=0;o!=e;++o){if(this.lens&&this.lens.indexOf(l)!==-1)return s=rt(this,l),this.l=l+1,f=_t.call(this,e-o,s?"dbcs-cont":"sbcs-cont"),i.join("")+f;i.push(Bt(rt(this,l))),l+=1}r=i.join("");break;default:switch(e){case 1:return n=rt(this,this.l),this.l++,n;case 2:return n=(t==="i"?Bs:dt)(this,this.l),this.l+=2,n;case 4:case-4:return t==="i"||(this[this.l+3]&128)===0?(n=(e>0?Hr:Us)(this,this.l),this.l+=4,n):(a=nr(this,this.l),this.l+=4,a);case 8:case-8:if(t==="f")return e==8?a=Jt(this,this.l):a=Jt([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,a;e=8;case 16:r=va(this,this.l,e);break}}return this.l+=e,r}var bs=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},Ws=function(e,t,r){e[r]=t&255,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},Hs=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function Gs(e,t,r){var n=0,a=0;if(r==="dbcs"){for(a=0;a!=t.length;++a)Hs(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if(r==="sbcs"){for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=t.charCodeAt(a)&255;n=t.length}else if(r==="hex"){for(;a<e;++a)this[this.l++]=parseInt(t.slice(2*a,2*a+2),16)||0;return this}else if(r==="utf16le"){var i=Math.min(this.l+e,this.length);for(a=0;a<Math.min(t.length,e);++a){var s=t.charCodeAt(a);this[this.l++]=s&255,this[this.l++]=s>>8}for(;this.l<i;)this[this.l++]=0;return this}else switch(e){case 1:n=1,this[this.l]=t&255;break;case 2:n=2,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255;break;case 3:n=3,this[this.l]=t&255,t>>>=8,this[this.l+1]=t&255,t>>>=8,this[this.l+2]=t&255;break;case 4:n=4,bs(this,t,this.l);break;case 8:if(n=8,r==="f"){Ms(this,t,this.l);break}case 16:break;case-4:n=4,Ws(this,t,this.l);break}return this.l+=n,this}function ya(e,t){var r=va(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function rr(e,t){e.l=t,e.read_shift=_t,e.chk=ya,e.write_shift=Gs}function _r(e,t){e.l+=t}function B(e){var t=Vr(e);return rr(t,0),t}function Je(){var e=[],t=ue?256:2048,r=function(l){var c=B(l);return rr(c,0),c},n=r(t),a=function(){!n||(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n),n=null)},i=function(l){return n&&l<n.length-n.l?n:(a(),n=r(Math.max(l+1,t)))},s=function(){return a(),be(e)},f=function(l){a(),n=l,n.l==null&&(n.l=n.length),i(t)};return{next:i,push:f,end:s,_bufs:e}}function W(e,t,r,n){var a=+t,i;if(!isNaN(a)){n||(n=Bh[a].p||(r||[]).length||0),i=1+(a>=128?1:0)+1,n>=128&&++i,n>=16384&&++i,n>=2097152&&++i;var s=e.next(i);a<=127?s.write_shift(1,a):(s.write_shift(1,(a&127)+128),s.write_shift(1,a>>7));for(var f=0;f!=4;++f)if(n>=128)s.write_shift(1,(n&127)+128),n>>=7;else{s.write_shift(1,n);break}n>0&&B0(r)&&e.push(r)}}function Tt(e,t,r){var n=qe(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function On(e,t,r){var n=qe(e);return n.s=Tt(n.s,t.s,r),n.e=Tt(n.e,t.s,r),n}function Et(e,t){if(e.cRel&&e.c<0)for(e=qe(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=qe(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=me(e);return!e.cRel&&e.cRel!=null&&(r=Ks(r)),!e.rRel&&e.rRel!=null&&(r=Vs(r)),r}function T0(e,t){return e.s.r==0&&!e.s.rRel&&e.e.r==(t.biff>=12?1048575:t.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+Xe(e.s.c)+":"+(e.e.cRel?"":"$")+Xe(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+He(e.s.r)+":"+(e.e.rRel?"":"$")+He(e.e.r):Et(e.s,t.biff)+":"+Et(e.e,t.biff)}function U0(e){return parseInt(Xs(e),10)-1}function He(e){return""+(e+1)}function Vs(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Xs(e){return e.replace(/\$(\d+)$/,"$1")}function b0(e){for(var t=zs(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Xe(e){if(e<0)throw new Error("invalid column "+e);var t="";for(++e;e;e=Math.floor((e-1)/26))t=String.fromCharCode((e-1)%26+65)+t;return t}function Ks(e){return e.replace(/^([A-Z])/,"$$$1")}function zs(e){return e.replace(/^\$([A-Z])/,"$1")}function Ys(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Pe(e){for(var t=0,r=0,n=0;n<e.length;++n){var a=e.charCodeAt(n);a>=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function me(e){for(var t=e.c+1,r="";t;t=(t-1)/26|0)r=String.fromCharCode((t-1)%26+65)+r;return r+(e.r+1)}function ar(e){var t=e.indexOf(":");return t==-1?{s:Pe(e),e:Pe(e)}:{s:Pe(e.slice(0,t)),e:Pe(e.slice(t+1))}}function De(e,t){return typeof t>"u"||typeof t=="number"?De(e.s,e.e):(typeof e!="string"&&(e=me(e)),typeof t!="string"&&(t=me(t)),e==t?e:e+":"+t)}function Ee(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,i=e.length;for(r=0;n<i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.s.c=--r,r=0;n<i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;if(t.s.r=--r,n===i||a!=10)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function Dn(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=kr(e.z,r?Ze(t):t)}catch{}try{return e.w=kr((e.XF||{}).numFmtId||(r?14:0),r?Ze(t):t)}catch{return""+t}}function Or(e,t,r){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),e.t=="e"?Nt[e.v]||e.v:t==null?Dn(e,e.v):Dn(e,t))}function zr(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Ca(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense,i=e||(a?[]:{}),s=0,f=0;if(i&&n.origin!=null){if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?Pe(n.origin):n.origin;s=o.r,f=o.c}i["!ref"]||(i["!ref"]="A1:A1")}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=Ee(i["!ref"]);l.s.c=c.s.c,l.s.r=c.s.r,l.e.c=Math.max(l.e.c,c.e.c),l.e.r=Math.max(l.e.r,c.e.r),s==-1&&(l.e.r=s=c.e.r+1)}for(var p=0;p!=t.length;++p)if(!!t[p]){if(!Array.isArray(t[p]))throw new Error("aoa_to_sheet expects an array of arrays");for(var x=0;x!=t[p].length;++x)if(!(typeof t[p][x]>"u")){var v={v:t[p][x]},E=s+p,u=f+x;if(l.s.r>E&&(l.s.r=E),l.s.c>u&&(l.s.c=u),l.e.r<E&&(l.e.r=E),l.e.c<u&&(l.e.c=u),t[p][x]&&typeof t[p][x]=="object"&&!Array.isArray(t[p][x])&&!(t[p][x]instanceof Date))v=t[p][x];else if(Array.isArray(v.v)&&(v.f=t[p][x][1],v.v=v.v[0]),v.v===null)if(v.f)v.t="n";else if(n.nullError)v.t="e",v.v=0;else if(n.sheetStubs)v.t="z";else continue;else typeof v.v=="number"?v.t="n":typeof v.v=="boolean"?v.t="b":v.v instanceof Date?(v.z=n.dateNF||ye[14],n.cellDates?(v.t="d",v.w=kr(v.z,Ze(v.v))):(v.t="n",v.v=Ze(v.v),v.w=kr(v.z,v.v))):v.t="s";if(a)i[E]||(i[E]=[]),i[E][u]&&i[E][u].z&&(v.z=i[E][u].z),i[E][u]=v;else{var _=me({c:u,r:E});i[_]&&i[_].z&&(v.z=i[_].z),i[_]=v}}}return l.s.c<1e7&&(i["!ref"]=De(l)),i}function ot(e,t){return Ca(null,e,t)}function $s(e){return e.read_shift(4,"i")}function pr(e,t){return t||(t=B(4)),t.write_shift(4,e),t}function Ke(e){var t=e.read_shift(4);return t===0?"":e.read_shift(t,"dbcs")}function Le(e,t){var r=!1;return t==null&&(r=!0,t=B(4+2*e.length)),t.write_shift(4,e.length),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function js(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Js(e,t){return t||(t=B(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0),t}function W0(e,t){var r=e.l,n=e.read_shift(1),a=Ke(e),i=[],s={t:a,h:a};if((n&1)!==0){for(var f=e.read_shift(4),o=0;o!=f;++o)i.push(js(e));s.r=i}else s.r=[{ich:0,ifnt:0}];return e.l=r+t,s}function Zs(e,t){var r=!1;return t==null&&(r=!0,t=B(15+4*e.t.length)),t.write_shift(1,0),Le(e.t,t),r?t.slice(0,t.l):t}var qs=W0;function Qs(e,t){var r=!1;return t==null&&(r=!0,t=B(23+4*e.t.length)),t.write_shift(1,1),Le(e.t,t),t.write_shift(4,1),Js({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function or(e){var t=e.read_shift(4),r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:t,iStyleRef:r}}function Yr(e,t){return t==null&&(t=B(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function $r(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function jr(e,t){return t==null&&(t=B(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var ef=Ke,Oa=Le;function H0(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function Zt(e,t){var r=!1;return t==null&&(r=!0,t=B(127)),t.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}var rf=Ke,O0=H0,G0=Zt;function Da(e){var t=e.slice(e.l,e.l+4),r=t[0]&1,n=t[0]&2;e.l+=4;var a=n===0?Jt([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):Hr(t,0)>>2;return r?a/100:a}function Ra(e,t){t==null&&(t=B(4));var r=0,n=0,a=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29?n=1:a==(a|0)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),n)t.write_shift(-4,((r?a:e)<<2)+(r+2));else throw new Error("unsupported RkNumber "+e)}function Ia(e){var t={s:{},e:{}};return t.s.r=e.read_shift(4),t.e.r=e.read_shift(4),t.s.c=e.read_shift(4),t.e.c=e.read_shift(4),t}function tf(e,t){return t||(t=B(16)),t.write_shift(4,e.s.r),t.write_shift(4,e.e.r),t.write_shift(4,e.s.c),t.write_shift(4,e.e.c),t}var Jr=Ia,ct=tf;function ht(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Xr(e,t){return(t||B(8)).write_shift(8,e,"f")}function nf(e){var t={},r=e.read_shift(1),n=r>>>1,a=e.read_shift(1),i=e.read_shift(2,"i"),s=e.read_shift(1),f=e.read_shift(1),o=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=a;var l=xf[a];l&&(t.rgb=Wn(l));break;case 2:t.rgb=Wn([s,f,o]);break;case 3:t.theme=a;break}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function qt(e,t){if(t||(t=B(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;e.index!=null?(t.write_shift(1,2),t.write_shift(1,e.index)):e.theme!=null?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),!e.rgb||e.theme!=null)t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);else{var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}return t}function af(e){var t=e.read_shift(1);e.l++;var r={fBold:t&1,fItalic:t&2,fUnderline:t&4,fStrikeout:t&8,fOutline:t&16,fShadow:t&32,fCondense:t&64,fExtend:t&128};return r}function sf(e,t){t||(t=B(2));var r=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return t.write_shift(1,r),t.write_shift(1,0),t}var Na=2,er=3,Ht=11,Qt=19,Gt=64,ff=65,lf=71,of=4108,cf=4126,Ue=80,Rn={1:{n:"CodePage",t:Na},2:{n:"Category",t:Ue},3:{n:"PresentationFormat",t:Ue},4:{n:"ByteCount",t:er},5:{n:"LineCount",t:er},6:{n:"ParagraphCount",t:er},7:{n:"SlideCount",t:er},8:{n:"NoteCount",t:er},9:{n:"HiddenCount",t:er},10:{n:"MultimediaClipCount",t:er},11:{n:"ScaleCrop",t:Ht},12:{n:"HeadingPairs",t:of},13:{n:"TitlesOfParts",t:cf},14:{n:"Manager",t:Ue},15:{n:"Company",t:Ue},16:{n:"LinksUpToDate",t:Ht},17:{n:"CharacterCount",t:er},19:{n:"SharedDoc",t:Ht},22:{n:"HyperlinksChanged",t:Ht},23:{n:"AppVersion",t:er,p:"version"},24:{n:"DigSig",t:ff},26:{n:"ContentType",t:Ue},27:{n:"ContentStatus",t:Ue},28:{n:"Language",t:Ue},29:{n:"Version",t:Ue},255:{},2147483648:{n:"Locale",t:Qt},2147483651:{n:"Behavior",t:Qt},1919054434:{}},In={1:{n:"CodePage",t:Na},2:{n:"Title",t:Ue},3:{n:"Subject",t:Ue},4:{n:"Author",t:Ue},5:{n:"Keywords",t:Ue},6:{n:"Comments",t:Ue},7:{n:"Template",t:Ue},8:{n:"LastAuthor",t:Ue},9:{n:"RevNumber",t:Ue},10:{n:"EditTime",t:Gt},11:{n:"LastPrinted",t:Gt},12:{n:"CreatedDate",t:Gt},13:{n:"ModifiedDate",t:Gt},14:{n:"PageCount",t:er},15:{n:"WordCount",t:er},16:{n:"CharCount",t:er},17:{n:"Thumbnail",t:lf},18:{n:"Application",t:Ue},19:{n:"DocSecurity",t:er},255:{},2147483648:{n:"Locale",t:Qt},2147483651:{n:"Behavior",t:Qt},1919054434:{}};function hf(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var uf=hf([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]),xf=qe(uf),Nt={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},vf={"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"},Vt={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 ka(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function Pa(e,t){var r=Ss(vf),n=[],a;n[n.length]=Re,n[n.length]=Y("Types",null,{xmlns:ke.CT,"xmlns:xsd":ke.xsd,"xmlns:xsi":ke.xsi}),n=n.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(o){return Y("Default",null,{Extension:o[0],ContentType:o[1]})}));var i=function(o){e[o]&&e[o].length>0&&(a=e[o][0],n[n.length]=Y("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:Vt[o][t.bookType]||Vt[o].xlsx}))},s=function(o){(e[o]||[]).forEach(function(l){n[n.length]=Y("Override",null,{PartName:(l[0]=="/"?"":"/")+l,ContentType:Vt[o][t.bookType]||Vt[o].xlsx})})},f=function(o){(e[o]||[]).forEach(function(l){n[n.length]=Y("Override",null,{PartName:(l[0]=="/"?"":"/")+l,ContentType:r[o][0]})})};return 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"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}var he={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 La(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function at(e){var t=[Re,Y("Relationships",null,{xmlns:ke.RELS})];return Ge(e["!id"]).forEach(function(r){t[t.length]=Y("Relationship",null,e["!id"][r])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function pe(e,t,r,n,a,i){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,i?a.TargetMode=i:[he.HLINK,he.XPATH,he.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function pf(e){var t=[Re];t.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">
`),t.push(` <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
`);for(var r=0;r<e.length;++r)t.push(' <manifest:file-entry manifest:full-path="'+e[r][0]+'" manifest:media-type="'+e[r][1]+`"/>
`);return t.push("</manifest:manifest>"),t.join("")}function Nn(e,t,r){return[' <rdf:Description rdf:about="'+e+`">
`,' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+`"/>
`,` </rdf:Description>
`].join("")}function df(e,t){return[' <rdf:Description rdf:about="'+e+`">
`,' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+`"/>
`,` </rdf:Description>
`].join("")}function mf(e){var t=[Re];t.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
`);for(var r=0;r!=e.length;++r)t.push(Nn(e[r][0],e[r][1])),t.push(df("",e[r][0]));return t.push(Nn("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function Ma(){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>SheetJS '+Kt.version+"</meta:generator></office:meta></office:document-meta>"}var Gr=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function E0(e,t,r,n,a){a[e]!=null||t==null||t===""||(a[e]=t,t=de(t),n[n.length]=r?Y(e,t,r):We(e,t))}function Ba(e,t){var r=t||{},n=[Re,Y("cp:coreProperties",null,{"xmlns:cp":ke.CORE_PROPS,"xmlns:dc":ke.dc,"xmlns:dcterms":ke.dcterms,"xmlns:dcmitype":ke.dcmitype,"xmlns:xsi":ke.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(e.CreatedDate!=null&&E0("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:C0(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),e.ModifiedDate!=null&&E0("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:C0(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var i=0;i!=Gr.length;++i){var s=Gr[i],f=r.Props&&r.Props[s[1]]!=null?r.Props[s[1]]:e?e[s[1]]:null;f===!0?f="1":f===!1?f="0":typeof f=="number"&&(f=String(f)),f!=null&&E0(s[0],f,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var it=[["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"]],Ua=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function ba(e){var t=[],r=Y;return e||(e={}),e.Application="SheetJS",t[t.length]=Re,t[t.length]=Y("Properties",null,{xmlns:ke.EXT_PROPS,"xmlns:vt":ke.vt}),it.forEach(function(n){if(e[n[1]]!==void 0){var a;switch(n[2]){case"string":a=de(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false";break}a!==void 0&&(t[t.length]=r(n[0],a))}}),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+r("vt:variant",r("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),t[t.length]=r("TitlesOfParts",r("vt:vector",e.SheetNames.map(function(n){return"<vt:lpstr>"+de(n)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function Wa(e){var t=[Re,Y("Properties",null,{xmlns:ke.CUST_PROPS,"xmlns:vt":ke.vt})];if(!e)return t.join("");var r=1;return Ge(e).forEach(function(a){++r,t[t.length]=Y("property",Ps(e[a],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:de(a)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var kn={Title:"Title",Subject:"Subject",Author:"Author",Keywords:"Keywords",Comments:"Description",LastAuthor:"LastAuthor",RevNumber:"Revision",Application:"AppName",LastPrinted:"LastPrinted",CreatedDate:"Created",ModifiedDate:"LastSaved",Category:"Category",Manager:"Manager",Company:"Company",AppVersion:"Version",ContentStatus:"ContentStatus",Identifier:"Identifier",Language:"Language"};function gf(e,t){var r=[];return Ge(kn).map(function(n){for(var a=0;a<Gr.length;++a)if(Gr[a][1]==n)return Gr[a];for(a=0;a<it.length;++a)if(it[a][1]==n)return it[a];throw n}).forEach(function(n){if(e[n[1]]!=null){var a=t&&t.Props&&t.Props[n[1]]!=null?t.Props[n[1]]:e[n[1]];switch(n[2]){case"date":a=new Date(a).toISOString().replace(/\.\d*Z/,"Z");break}typeof a=="number"?a=String(a):a===!0||a===!1?a=a?"1":"0":a instanceof Date&&(a=new Date(a).toISOString().replace(/\.\d*Z/,"")),r.push(We(kn[n[1]]||n[1],a))}}),Y("DocumentProperties",r.join(""),{xmlns:tr.o})}function _f(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&Ge(e).forEach(function(i){if(!!Object.prototype.hasOwnProperty.call(e,i)){for(var s=0;s<Gr.length;++s)if(i==Gr[s][1])return;for(s=0;s<it.length;++s)if(i==it[s][1])return;for(s=0;s<r.length;++s)if(i==r[s])return;var f=e[i],o="string";typeof f=="number"?(o="float",f=String(f)):f===!0||f===!1?(o="boolean",f=f?"1":"0"):f=String(f),a.push(Y(Tn(i),f,{"dt:dt":o}))}}),t&&Ge(t).forEach(function(i){if(!!Object.prototype.hasOwnProperty.call(t,i)&&!(e&&Object.prototype.hasOwnProperty.call(e,i))){var s=t[i],f="string";typeof s=="number"?(f="float",s=String(s)):s===!0||s===!1?(f="boolean",s=s?"1":"0"):s instanceof Date?(f="dateTime.tz",s=s.toISOString()):s=String(s),a.push(Y(Tn(i),s,{"dt:dt":f}))}}),"<"+n+' xmlns="'+tr.o+'">'+a.join("")+"</"+n+">"}function Tf(e){var t=typeof e=="string"?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,n=r%Math.pow(2,32),a=(r-n)/Math.pow(2,32);n*=1e7,a*=1e7;var i=n/Math.pow(2,32)|0;i>0&&(n=n%Math.pow(2,32),a+=i);var s=B(8);return s.write_shift(4,n),s.write_shift(4,a),s}function Pn(e,t){var r=B(4),n=B(4);switch(r.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,t);break;case 5:n=B(8),n.write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=Tf(t);break;case 31:case 80:for(n=B(4+2*(t.length+1)+(t.length%2?0:2)),n.write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return be([r,n])}var Ha=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Ef(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 Ln(e,t,r){var n=B(8),a=[],i=[],s=8,f=0,o=B(8),l=B(8);if(o.write_shift(4,2),o.write_shift(4,1200),l.write_shift(4,1),i.push(o),a.push(l),s+=8+o.length,!t){l=B(8),l.write_shift(4,0),a.unshift(l);var c=[B(4)];for(c[0].write_shift(4,e.length),f=0;f<e.length;++f){var p=e[f][0];for(o=B(4+4+2*(p.length+1)+(p.length%2?0:2)),o.write_shift(4,f+2),o.write_shift(4,p.length+1),o.write_shift(0,p,"dbcs");o.l!=o.length;)o.write_shift(1,0);c.push(o)}o=be(c),i.unshift(o),s+=8+o.length}for(f=0;f<e.length;++f)if(!(t&&!t[e[f][0]])&&!(Ha.indexOf(e[f][0])>-1||Ua.indexOf(e[f][0])>-1)&&e[f][1]!=null){var x=e[f][1],v=0;if(t){v=+t[e[f][0]];var E=r[v];if(E.p=="version"&&typeof x=="string"){var u=x.split(".");x=(+u[0]<<16)+(+u[1]||0)}o=Pn(E.t,x)}else{var _=Ef(x);_==-1&&(_=31,x=String(x)),o=Pn(_,x)}i.push(o),l=B(8),l.write_shift(4,t?v:2+f),a.push(l),s+=8+o.length}var O=8*(i.length+1);for(f=0;f<i.length;++f)a[f].write_shift(4,O),O+=i[f].length;return n.write_shift(4,s),n.write_shift(4,i.length),be([n].concat(a).concat(i))}function Mn(e,t,r,n,a,i){var s=B(a?68:48),f=[s];s.write_shift(2,65534),s.write_shift(2,0),s.write_shift(4,842412599),s.write_shift(16,_e.utils.consts.HEADER_CLSID,"hex"),s.write_shift(4,a?2:1),s.write_shift(16,t,"hex"),s.write_shift(4,a?68:48);var o=Ln(e,r,n);if(f.push(o),a){var l=Ln(a,null,null);s.write_shift(16,i,"hex"),s.write_shift(4,68+o.length),f.push(l)}return be(f)}function wf(e,t){t||(t=B(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}function Sf(e,t){return e.read_shift(t)===1}function $e(e,t){return t||(t=B(2)),t.write_shift(2,+!!e),t}function Ga(e){return e.read_shift(2,"u")}function lr(e,t){return t||(t=B(2)),t.write_shift(2,e),t}function Va(e,t,r){return r||(r=B(2)),r.write_shift(1,t=="e"?+e:+!!e),r.write_shift(1,t=="e"?1:0),r}function Xa(e,t,r){var n=e.read_shift(r&&r.biff>=12?2:1),a="sbcs-cont";if(r&&r.biff>=8,!r||r.biff==8){var i=e.read_shift(1);i&&(a="dbcs-cont")}else r.biff==12&&(a="wstr");r.biff>=2&&r.biff<=5&&(a="cpstr");var s=n?e.read_shift(n,a):"";return s}function Af(e){var t=e.t||"",r=B(3+0);r.write_shift(2,t.length),r.write_shift(1,1);var n=B(2*t.length);n.write_shift(2*t.length,t,"utf16le");var a=[r,n];return be(a)}function Ff(e,t,r){var n;if(r){if(r.biff>=2&&r.biff<=5)return e.read_shift(t,"cpstr");if(r.biff>=12)return e.read_shift(t,"dbcs-cont")}var a=e.read_shift(1);return a===0?n=e.read_shift(t,"sbcs-cont"):n=e.read_shift(t,"dbcs-cont"),n}function yf(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):Ff(e,n,r)}function Cf(e,t,r){if(r.biff>5)return yf(e,t,r);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Ka(e,t,r){return r||(r=B(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Bn(e,t){t||(t=B(6+e.length*2)),t.write_shift(4,1+e.length);for(var r=0;r<e.length;++r)t.write_shift(2,e.charCodeAt(r));return t.write_shift(2,0),t}function Of(e){var t=B(512),r=0,n=e.Target;n.slice(0,7)=="file://"&&(n=n.slice(7));var a=n.indexOf("#"),i=a>-1?31:23;switch(n.charAt(0)){case"#":i=28;break;case".":i&=-3;break}t.write_shift(4,2),t.write_shift(4,i);var s=[8,6815827,6619237,4849780,83];for(r=0;r<s.length;++r)t.write_shift(4,s[r]);if(i==28)n=n.slice(1),Bn(n,t);else if(i&2){for(s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<s.length;++r)t.write_shift(1,parseInt(s[r],16));var f=a>-1?n.slice(0,a):n;for(t.write_shift(4,2*(f.length+1)),r=0;r<f.length;++r)t.write_shift(2,f.charCodeAt(r));t.write_shift(2,0),i&8&&Bn(a>-1?n.slice(a+1):"",t)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<s.length;++r)t.write_shift(1,parseInt(s[r],16));for(var o=0;n.slice(o*3,o*3+3)=="../"||n.slice(o*3,o*3+3)=="..\\";)++o;for(t.write_shift(2,o),t.write_shift(4,n.length-3*o+1),r=0;r<n.length-3*o;++r)t.write_shift(1,n.charCodeAt(r+3*o)&255);for(t.write_shift(1,0),t.write_shift(2,65535),t.write_shift(2,57005),r=0;r<6;++r)t.write_shift(4,0)}return t.slice(0,t.l)}function Kr(e,t,r,n){return n||(n=B(6)),n.write_shift(2,e),n.write_shift(2,t),n.write_shift(2,r||0),n}function Df(e,t,r){var n=r.biff>8?4:2,a=e.read_shift(n),i=e.read_shift(n,"i"),s=e.read_shift(n,"i");return[a,i,s]}function Rf(e){var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(2),a=e.read_shift(2);return{s:{c:n,r:t},e:{c:a,r}}}function za(e,t){return t||(t=B(8)),t.write_shift(2,e.s.r),t.write_shift(2,e.e.r),t.write_shift(2,e.s.c),t.write_shift(2,e.e.c),t}function V0(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var i=B(a);return i.write_shift(2,n),i.write_shift(2,t),a>4&&i.write_shift(2,29282),a>6&&i.write_shift(2,1997),a>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function If(e,t){var r=!t||t.biff==8,n=B(r?112:54);for(n.write_shift(t.biff==8?2:1,7),r&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(r?0:536870912));n.l<n.length;)n.write_shift(1,r?0:32);return n}function Nf(e,t){var r=!t||t.biff>=8?2:1,n=B(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function kf(e,t){var r=B(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var n=[],a=0;a<e.length;++a)n[a]=Af(e[a]);var i=be([r].concat(n));return i.parts=[r.length].concat(n.map(function(s){return s.length})),i}function Pf(){var e=B(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function Lf(e){var t=B(18),r=1718;return e&&e.RTL&&(r|=64),t.write_shift(2,r),t.write_shift(4,0),t.write_shift(4,64),t.write_shift(4,0),t.write_shift(4,0),t}function Mf(e,t){var r=e.name||"Arial",n=t&&t.biff==5,a=n?15+r.length:16+2*r.length,i=B(a);return i.write_shift(2,(e.sz||12)*20),i.write_shift(4,0),i.write_shift(2,400),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(1,r.length),n||i.write_shift(1,1),i.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),i}function Bf(e,t,r,n){var a=B(10);return Kr(e,t,n,a),a.write_shift(4,r),a}function Uf(e,t,r,n,a){var i=!a||a.biff==8,s=B(6+2+ +i+(1+i)*r.length);return Kr(e,t,n,s),s.write_shift(2,r.length),i&&s.write_shift(1,1),s.write_shift((1+i)*r.length,r,i?"utf16le":"sbcs"),s}function bf(e,t,r,n){var a=r&&r.biff==5;n||(n=B(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var i=n.length>n.l?n.slice(0,n.l):n;return i.l==null&&(i.l=i.length),i}function Wf(e,t){var r=t.biff==8||!t.biff?4:2,n=B(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function Un(e,t,r,n){var a=r&&r.biff==5;n||(n=B(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var i=0;return e.numFmtId>0&&a&&(i|=1024),n.write_shift(4,i),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function Hf(e){var t=B(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}function Gf(e,t,r,n,a,i){var s=B(8);return Kr(e,t,n,s),Va(r,i,s),s}function Vf(e,t,r,n){var a=B(14);return Kr(e,t,n,a),Xr(r,a),a}function Xf(e,t,r){if(r.biff<8)return Kf(e,t,r);for(var n=[],a=e.l+t,i=e.read_shift(r.biff>8?4:2);i--!==0;)n.push(Df(e,r.biff>8?12:6,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function Kf(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=Xa(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function zf(e){var t=B(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)za(e[r],t);return t}function Yf(e){var t=B(24),r=Pe(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(n[a],16));return be([t,Of(e[1])])}function $f(e){var t=e[1].Tooltip,r=B(10+2*(t.length+1));r.write_shift(2,2048);var n=Pe(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a<t.length;++a)r.write_shift(2,t.charCodeAt(a));return r.write_shift(2,0),r}function jf(e){return e||(e=B(4)),e.write_shift(2,1),e.write_shift(2,1),e}function Jf(e,t,r){if(!r.cellStyles)return _r(e,t);var n=r&&r.biff>=12?4:2,a=e.read_shift(n),i=e.read_shift(n),s=e.read_shift(n),f=e.read_shift(n),o=e.read_shift(2);n==2&&(e.l+=2);var l={s:a,e:i,w:s,ixfe:f,flags:o};return(r.biff>=5||!r.biff)&&(l.level=o>>8&7),l}function Zf(e,t){var r=B(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,e.width*256),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}function qf(e){for(var t=B(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}function Qf(e,t,r){var n=B(15);return Pt(n,e,t),n.write_shift(8,r,"f"),n}function el(e,t,r){var n=B(9);return Pt(n,e,t),n.write_shift(2,r),n}var rl=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},t=N0({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 r(f,o){var l=[],c=Vr(1);switch(o.type){case"base64":c=xr(Cr(f));break;case"binary":c=xr(f);break;case"buffer":case"array":c=f;break}rr(c,0);var p=c.read_shift(1),x=!!(p&136),v=!1,E=!1;switch(p){case 2:break;case 3:break;case 48:v=!0,x=!0;break;case 49:v=!0,x=!0;break;case 131:break;case 139:break;case 140:E=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+p.toString(16))}var u=0,_=521;p==2&&(u=c.read_shift(2)),c.l+=3,p!=2&&(u=c.read_shift(4)),u>1048576&&(u=1e6),p!=2&&(_=c.read_shift(2));var O=c.read_shift(2),R=o.codepage||1252;p!=2&&(c.l+=16,c.read_shift(1),c[c.l]!==0&&(R=e[c[c.l]]),c.l+=1,c.l+=2),E&&(c.l+=36);for(var y=[],M={},j=Math.min(c.length,p==2?521:_-10-(v?264:0)),ee=E?32:11;c.l<j&&c[c.l]!=13;)switch(M={},M.name=Wr.utils.decode(R,c.slice(c.l,c.l+ee)).replace(/[\u0000\r\n].*$/g,""),c.l+=ee,M.type=String.fromCharCode(c.read_shift(1)),p!=2&&!E&&(M.offset=c.read_shift(4)),M.len=c.read_shift(1),p==2&&(M.offset=c.read_shift(2)),M.dec=c.read_shift(1),M.name.length&&y.push(M),p!=2&&(c.l+=E?13:14),M.type){case"B":(!v||M.len!=8)&&o.WTF&&console.log("Skipping "+M.name+":"+M.type);break;case"G":case"P":o.WTF&&console.log("Skipping "+M.name+":"+M.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: "+M.type)}if(c[c.l]!==13&&(c.l=_-1),c.read_shift(1)!==13)throw new Error("DBF Terminator not found "+c.l+" "+c[c.l]);c.l=_;var C=0,b=0;for(l[0]=[],b=0;b!=y.length;++b)l[0][b]=y[b].name;for(;u-- >0;){if(c[c.l]===42){c.l+=O;continue}for(++c.l,l[++C]=[],b=0,b=0;b!=y.length;++b){var L=c.slice(c.l,c.l+y[b].len);c.l+=y[b].len,rr(L,0);var G=Wr.utils.decode(R,L);switch(y[b].type){case"C":G.trim().length&&(l[C][b]=G.replace(/\s+$/,""));break;case"D":G.length===8?l[C][b]=new Date(+G.slice(0,4),+G.slice(4,6)-1,+G.slice(6,8)):l[C][b]=G;break;case"F":l[C][b]=parseFloat(G.trim());break;case"+":case"I":l[C][b]=E?L.read_shift(-4,"i")^2147483648:L.read_shift(4,"i");break;case"L":switch(G.trim().toUpperCase()){case"Y":case"T":l[C][b]=!0;break;case"N":case"F":l[C][b]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+G+"|")}break;case"M":if(!x)throw new Error("DBF Unexpected MEMO for type "+p.toString(16));l[C][b]="##MEMO##"+(E?parseInt(G.trim(),10):L.read_shift(4));break;case"N":G=G.replace(/\u0000/g,"").trim(),G&&G!="."&&(l[C][b]=+G||0);break;case"@":l[C][b]=new Date(L.read_shift(-8,"f")-621356832e5);break;case"T":l[C][b]=new Date((L.read_shift(4)-2440588)*864e5+L.read_shift(4));break;case"Y":l[C][b]=L.read_shift(4,"i")/1e4+L.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":l[C][b]=-L.read_shift(-8,"f");break;case"B":if(v&&y[b].len==8){l[C][b]=L.read_shift(8,"f");break}case"G":case"P":L.l+=y[b].len;break;case"0":if(y[b].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+y[b].type)}}}if(p!=2&&c.l<c.length&&c[c.l++]!=26)throw new Error("DBF EOF Marker missing "+(c.l-1)+" of "+c.length+" "+c[c.l-1].toString(16));return o&&o.sheetRows&&(l=l.slice(0,o.sheetRows)),o.DBF=y,l}function n(f,o){var l=o||{};l.dateNF||(l.dateNF="yyyymmdd");var c=ot(r(f,l),l);return c["!cols"]=l.DBF.map(function(p){return{wch:p.len,DBF:p}}),delete l.DBF,c}function a(f,o){try{return zr(n(f,o),o)}catch(l){if(o&&o.WTF)throw l}return{SheetNames:[],Sheets:{}}}var i={B:8,C:250,L:1,D:8,"?":0,"":0};function s(f,o){var l=o||{};if(+l.codepage>=0&&St(+l.codepage),l.type=="string")throw new Error("Cannot write DBF to JS string");var c=Je(),p=a0(f,{header:1,raw:!0,cellDates:!0}),x=p[0],v=p.slice(1),E=f["!cols"]||[],u=0,_=0,O=0,R=1;for(u=0;u<x.length;++u){if(((E[u]||{}).DBF||{}).name){x[u]=E[u].DBF.name,++O;continue}if(x[u]!=null){if(++O,typeof x[u]=="number"&&(x[u]=x[u].toString(10)),typeof x[u]!="string")throw new Error("DBF Invalid column name "+x[u]+" |"+typeof x[u]+"|");if(x.indexOf(x[u])!==u){for(_=0;_<1024;++_)if(x.indexOf(x[u]+"_"+_)==-1){x[u]+="_"+_;break}}}}var y=Ee(f["!ref"]),M=[],j=[],ee=[];for(u=0;u<=y.e.c-y.s.c;++u){var C="",b="",L=0,G=[];for(_=0;_<v.length;++_)v[_][u]!=null&&G.push(v[_][u]);if(G.length==0||x[u]==null){M[u]="?";continue}for(_=0;_<G.length;++_){switch(typeof G[_]){case"number":b="B";break;case"string":b="C";break;case"boolean":b="L";break;case"object":b=G[_]instanceof Date?"D":"C";break;default:b="C"}L=Math.max(L,String(G[_]).length),C=C&&C!=b?"C":b}L>250&&(L=250),b=((E[u]||{}).DBF||{}).type,b=="C"&&E[u].DBF.len>L&&(L=E[u].DBF.len),C=="B"&&b=="N"&&(C="N",ee[u]=E[u].DBF.dec,L=E[u].DBF.len),j[u]=C=="C"||b=="N"?L:i[C]||0,R+=j[u],M[u]=C}var V=c.next(32);for(V.write_shift(4,318902576),V.write_shift(4,v.length),V.write_shift(2,296+32*O),V.write_shift(2,R),u=0;u<4;++u)V.write_shift(4,0);for(V.write_shift(4,0|(+t[$n]||3)<<8),u=0,_=0;u<x.length;++u)if(x[u]!=null){var K=c.next(32),re=(x[u].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);K.write_shift(1,re,"sbcs"),K.write_shift(1,M[u]=="?"?"C":M[u],"sbcs"),K.write_shift(4,_),K.write_shift(1,j[u]||i[M[u]]||0),K.write_shift(1,ee[u]||0),K.write_shift(1,2),K.write_shift(4,0),K.write_shift(1,0),K.write_shift(4,0),K.write_shift(4,0),_+=j[u]||i[M[u]]||0}var ge=c.next(264);for(ge.write_shift(4,13),u=0;u<65;++u)ge.write_shift(4,0);for(u=0;u<v.length;++u){var le=c.next(R);for(le.write_shift(1,0),_=0;_<x.length;++_)if(x[_]!=null)switch(M[_]){case"L":le.write_shift(1,v[u][_]==null?63:v[u][_]?84:70);break;case"B":le.write_shift(8,v[u][_]||0,"f");break;case"N":var Me="0";for(typeof v[u][_]=="number"&&(Me=v[u][_].toFixed(ee[_]||0)),O=0;O<j[_]-Me.length;++O)le.write_shift(1,32);le.write_shift(1,Me,"sbcs");break;case"D":v[u][_]?(le.write_shift(4,("0000"+v[u][_].getFullYear()).slice(-4),"sbcs"),le.write_shift(2,("00"+(v[u][_].getMonth()+1)).slice(-2),"sbcs"),le.write_shift(2,("00"+v[u][_].getDate()).slice(-2),"sbcs")):le.write_shift(8,"00000000","sbcs");break;case"C":var Ce=String(v[u][_]!=null?v[u][_]:"").slice(0,j[_]);for(le.write_shift(1,Ce,"sbcs"),O=0;O<j[_]-Ce.length;++O)le.write_shift(1,32);break}}return c.next(1).write_shift(1,26),c.end()}return{to_workbook:a,to_sheet:n,from_sheet:s}}(),tl=function(){var e={AA:"\xC0",BA:"\xC1",CA:"\xC2",DA:195,HA:"\xC4",JA:197,AE:"\xC8",BE:"\xC9",CE:"\xCA",HE:"\xCB",AI:"\xCC",BI:"\xCD",CI:"\xCE",HI:"\xCF",AO:"\xD2",BO:"\xD3",CO:"\xD4",DO:213,HO:"\xD6",AU:"\xD9",BU:"\xDA",CU:"\xDB",HU:"\xDC",Aa:"\xE0",Ba:"\xE1",Ca:"\xE2",Da:227,Ha:"\xE4",Ja:229,Ae:"\xE8",Be:"\xE9",Ce:"\xEA",He:"\xEB",Ai:"\xEC",Bi:"\xED",Ci:"\xEE",Hi:"\xEF",Ao:"\xF2",Bo:"\xF3",Co:"\xF4",Do:245,Ho:"\xF6",Au:"\xF9",Bu:"\xFA",Cu:"\xFB",Hu:"\xFC",KC:"\xC7",Kc:"\xE7",q:"\xE6",z:"\u0153",a:"\xC6",j:"\u0152",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},t=new RegExp("\x1BN("+Ge(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(x,v){var E=e[v];return typeof E=="number"?ln(E):E},n=function(x,v,E){var u=v.charCodeAt(0)-32<<4|E.charCodeAt(0)-48;return u==59?x:ln(u)};e["|"]=254;function a(x,v){switch(v.type){case"base64":return i(Cr(x),v);case"binary":return i(x,v);case"buffer":return i(ue&&Buffer.isBuffer(x)?x.toString("binary"):Dt(x),v);case"array":return i(o0(x),v)}throw new Error("Unrecognized type "+v.type)}function i(x,v){var E=x.split(/[\n\r]+/),u=-1,_=-1,O=0,R=0,y=[],M=[],j=null,ee={},C=[],b=[],L=[],G=0,V;for(+v.codepage>=0&&St(+v.codepage);O!==E.length;++O){G=0;var K=E[O].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),re=K.replace(/;;/g,"\0").split(";").map(function(A){return A.replace(/\u0000/g,";")}),ge=re[0],le;if(K.length>0)switch(ge){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":re[1].charAt(0)=="P"&&M.push(K.slice(3).replace(/;;/g,";"));break;case"C":var Me=!1,Ce=!1,cr=!1,Ne=!1,ir=-1,Qe=-1;for(R=1;R<re.length;++R)switch(re[R].charAt(0)){case"A":break;case"X":_=parseInt(re[R].slice(1))-1,Ce=!0;break;case"Y":for(u=parseInt(re[R].slice(1))-1,Ce||(_=0),V=y.length;V<=u;++V)y[V]=[];break;case"K":le=re[R].slice(1),le.charAt(0)==='"'?le=le.slice(1,le.length-1):le==="TRUE"?le=!0:le==="FALSE"?le=!1:isNaN(Fr(le))?isNaN(Ft(le).getDate())||(le=je(le)):(le=Fr(le),j!==null&&sa(j)&&(le=ca(le))),Me=!0;break;case"E":Ne=!0;var S=eo(re[R].slice(1),{r:u,c:_});y[u][_]=[y[u][_],S];break;case"S":cr=!0,y[u][_]=[y[u][_],"S5S"];break;case"G":break;case"R":ir=parseInt(re[R].slice(1))-1;break;case"C":Qe=parseInt(re[R].slice(1))-1;break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+K)}if(Me&&(y[u][_]&&y[u][_].length==2?y[u][_][0]=le:y[u][_]=le,j=null),cr){if(Ne)throw new Error("SYLK shared formula cannot have own formula");var P=ir>-1&&y[ir][Qe];if(!P||!P[1])throw new Error("SYLK shared formula cannot find base");y[u][_][1]=ro(P[1],{r:u-ir,c:_-Qe})}break;case"F":var F=0;for(R=1;R<re.length;++R)switch(re[R].charAt(0)){case"X":_=parseInt(re[R].slice(1))-1,++F;break;case"Y":for(u=parseInt(re[R].slice(1))-1,V=y.length;V<=u;++V)y[V]=[];break;case"M":G=parseInt(re[R].slice(1))/20;break;case"F":break;case"G":break;case"P":j=M[parseInt(re[R].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(L=re[R].slice(1).split(" "),V=parseInt(L[0],10);V<=parseInt(L[1],10);++V)G=parseInt(L[2],10),b[V-1]=G===0?{hidden:!0}:{wch:G},X0(b[V-1]);break;case"C":_=parseInt(re[R].slice(1))-1,b[_]||(b[_]={});break;case"R":u=parseInt(re[R].slice(1))-1,C[u]||(C[u]={}),G>0?(C[u].hpt=G,C[u].hpx=Za(G)):G===0&&(C[u].hidden=!0);break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+K)}F<1&&(j=null);break;default:if(v&&v.WTF)throw new Error("SYLK bad record "+K)}}return C.length>0&&(ee["!rows"]=C),b.length>0&&(ee["!cols"]=b),v&&v.sheetRows&&(y=y.slice(0,v.sheetRows)),[y,ee]}function s(x,v){var E=a(x,v),u=E[0],_=E[1],O=ot(u,v);return Ge(_).forEach(function(R){O[R]=_[R]}),O}function f(x,v){return zr(s(x,v),v)}function o(x,v,E,u){var _="C;Y"+(E+1)+";X"+(u+1)+";K";switch(x.t){case"n":_+=x.v||0,x.f&&!x.F&&(_+=";E"+z0(x.f,{r:E,c:u}));break;case"b":_+=x.v?"TRUE":"FALSE";break;case"e":_+=x.w||x.v;break;case"d":_+='"'+(x.w||x.v)+'"';break;case"s":_+='"'+x.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return _}function l(x,v){v.forEach(function(E,u){var _="F;W"+(u+1)+" "+(u+1)+" ";E.hidden?_+="0":(typeof E.width=="number"&&!E.wpx&&(E.wpx=e0(E.width)),typeof E.wpx=="number"&&!E.wch&&(E.wch=r0(E.wpx)),typeof E.wch=="number"&&(_+=Math.round(E.wch))),_.charAt(_.length-1)!=" "&&x.push(_)})}function c(x,v){v.forEach(function(E,u){var _="F;";E.hidden?_+="M0;":E.hpt?_+="M"+20*E.hpt+";":E.hpx&&(_+="M"+20*t0(E.hpx)+";"),_.length>2&&x.push(_+"R"+(u+1))})}function p(x,v){var E=["ID;PWXL;N;E"],u=[],_=Ee(x["!ref"]),O,R=Array.isArray(x),y=`\r
`;E.push("P;PGeneral"),E.push("F;P0;DG0G8;M255"),x["!cols"]&&l(E,x["!cols"]),x["!rows"]&&c(E,x["!rows"]),E.push("B;Y"+(_.e.r-_.s.r+1)+";X"+(_.e.c-_.s.c+1)+";D"+[_.s.c,_.s.r,_.e.c,_.e.r].join(" "));for(var M=_.s.r;M<=_.e.r;++M)for(var j=_.s.c;j<=_.e.c;++j){var ee=me({r:M,c:j});O=R?(x[M]||[])[j]:x[ee],!(!O||O.v==null&&(!O.f||O.F))&&u.push(o(O,x,M,j))}return E.join(y)+y+u.join(y)+y+"E"+y}return{to_workbook:f,to_sheet:s,from_sheet:p}}(),nl=function(){function e(i,s){switch(s.type){case"base64":return t(Cr(i),s);case"binary":return t(i,s);case"buffer":return t(ue&&Buffer.isBuffer(i)?i.toString("binary"):Dt(i),s);case"array":return t(o0(i),s)}throw new Error("Unrecognized type "+s.type)}function t(i,s){for(var f=i.split(`
`),o=-1,l=-1,c=0,p=[];c!==f.length;++c){if(f[c].trim()==="BOT"){p[++o]=[],l=0;continue}if(!(o<0)){var x=f[c].trim().split(","),v=x[0],E=x[1];++c;for(var u=f[c]||"";(u.match(/["]/g)||[]).length&1&&c<f.length-1;)u+=`
`+f[++c];switch(u=u.trim(),+v){case-1:if(u==="BOT"){p[++o]=[],l=0;continue}else if(u!=="EOD")throw new Error("Unrecognized DIF special command "+u);break;case 0:u==="TRUE"?p[o][l]=!0:u==="FALSE"?p[o][l]=!1:isNaN(Fr(E))?isNaN(Ft(E).getDate())?p[o][l]=E:p[o][l]=je(E):p[o][l]=Fr(E),++l;break;case 1:u=u.slice(1,u.length-1),u=u.replace(/""/g,'"'),u&&u.match(/^=".*"$/)&&(u=u.slice(2,-1)),p[o][l++]=u!==""?u:null;break}if(u==="EOD")break}}return s&&s.sheetRows&&(p=p.slice(0,s.sheetRows)),p}function r(i,s){return ot(e(i,s),s)}function n(i,s){return zr(r(i,s),s)}var a=function(){var i=function(o,l,c,p,x){o.push(l),o.push(c+","+p),o.push('"'+x.replace(/"/g,'""')+'"')},s=function(o,l,c,p){o.push(l+","+c),o.push(l==1?'"'+p.replace(/"/g,'""')+'"':p)};return function(o){var l=[],c=Ee(o["!ref"]),p,x=Array.isArray(o);i(l,"TABLE",0,1,"sheetjs"),i(l,"VECTORS",0,c.e.r-c.s.r+1,""),i(l,"TUPLES",0,c.e.c-c.s.c+1,""),i(l,"DATA",0,0,"");for(var v=c.s.r;v<=c.e.r;++v){s(l,-1,0,"BOT");for(var E=c.s.c;E<=c.e.c;++E){var u=me({r:v,c:E});if(p=x?(o[v]||[])[E]:o[u],!p){s(l,1,0,"");continue}switch(p.t){case"n":var _=p.w;!_&&p.v!=null&&(_=p.v),_==null?p.f&&!p.F?s(l,1,0,"="+p.f):s(l,1,0,""):s(l,0,_,"V");break;case"b":s(l,0,p.v?1:0,p.v?"TRUE":"FALSE");break;case"s":s(l,1,0,isNaN(p.v)?p.v:'="'+p.v+'"');break;case"d":p.w||(p.w=kr(p.z||ye[14],Ze(je(p.v)))),s(l,0,p.w,"V");break;default:s(l,1,0,"")}}}s(l,-1,0,"EOD");var O=`\r
`,R=l.join(O);return R}}();return{to_workbook:n,to_sheet:r,from_sheet:a}}(),Ya=function(){function e(p){return p.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
`)}function t(p){return p.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(p,x){for(var v=p.split(`
`),E=-1,u=-1,_=0,O=[];_!==v.length;++_){var R=v[_].trim().split(":");if(R[0]==="cell"){var y=Pe(R[1]);if(O.length<=y.r)for(E=O.length;E<=y.r;++E)O[E]||(O[E]=[]);switch(E=y.r,u=y.c,R[2]){case"t":O[E][u]=e(R[3]);break;case"v":O[E][u]=+R[3];break;case"vtf":var M=R[R.length-1];case"vtc":switch(R[3]){case"nl":O[E][u]=!!+R[4];break;default:O[E][u]=+R[4];break}R[2]=="vtf"&&(O[E][u]=[O[E][u],M])}}}return x&&x.sheetRows&&(O=O.slice(0,x.sheetRows)),O}function n(p,x){return ot(r(p,x),x)}function a(p,x){return zr(n(p,x),x)}var i=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
`),s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
`)+`
`,f=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
`),o="--SocialCalcSpreadsheetControlSave--";function l(p){if(!p||!p["!ref"])return"";for(var x=[],v=[],E,u="",_=ar(p["!ref"]),O=Array.isArray(p),R=_.s.r;R<=_.e.r;++R)for(var y=_.s.c;y<=_.e.c;++y)if(u=me({r:R,c:y}),E=O?(p[R]||[])[y]:p[u],!(!E||E.v==null||E.t==="z")){switch(v=["cell",u,"t"],E.t){case"s":case"str":v.push(t(E.v));break;case"n":E.f?(v[2]="vtf",v[3]="n",v[4]=E.v,v[5]=t(E.f)):(v[2]="v",v[3]=E.v);break;case"b":v[2]="vt"+(E.f?"f":"c"),v[3]="nl",v[4]=E.v?"1":"0",v[5]=t(E.f||(E.v?"TRUE":"FALSE"));break;case"d":var M=Ze(je(E.v));v[2]="vtc",v[3]="nd",v[4]=""+M,v[5]=E.w||kr(E.z||ye[14],M);break;case"e":continue}x.push(v.join(":"))}return x.push("sheet:c:"+(_.e.c-_.s.c+1)+":r:"+(_.e.r-_.s.r+1)+":tvf:1"),x.push("valueformat:1:text-wiki"),x.join(`
`)}function c(p){return[i,s,f,s,l(p),o].join(`
`)}return{to_workbook:a,to_sheet:n,from_sheet:c}}(),al=function(){function e(c,p,x,v,E){E.raw?p[x][v]=c:c===""||(c==="TRUE"?p[x][v]=!0:c==="FALSE"?p[x][v]=!1:isNaN(Fr(c))?isNaN(Ft(c).getDate())?p[x][v]=c:p[x][v]=je(c):p[x][v]=Fr(c))}function t(c,p){var x=p||{},v=[];if(!c||c.length===0)return v;for(var E=c.split(/[\r\n]/),u=E.length-1;u>=0&&E[u].length===0;)--u;for(var _=10,O=0,R=0;R<=u;++R)O=E[R].indexOf(" "),O==-1?O=E[R].length:O++,_=Math.max(_,O);for(R=0;R<=u;++R){v[R]=[];var y=0;for(e(E[R].slice(0,_).trim(),v,R,y,x),y=1;y<=(E[R].length-_)/10+1;++y)e(E[R].slice(_+(y-1)*10,_+y*10).trim(),v,R,y,x)}return x.sheetRows&&(v=v.slice(0,x.sheetRows)),v}var r={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function a(c){for(var p={},x=!1,v=0,E=0;v<c.length;++v)(E=c.charCodeAt(v))==34?x=!x:!x&&E in r&&(p[E]=(p[E]||0)+1);E=[];for(v in p)Object.prototype.hasOwnProperty.call(p,v)&&E.push([p[v],v]);if(!E.length){p=n;for(v in p)Object.prototype.hasOwnProperty.call(p,v)&&E.push([p[v],v])}return E.sort(function(u,_){return u[0]-_[0]||n[u[1]]-n[_[1]]}),r[E.pop()[1]]||44}function i(c,p){var x=p||{},v="",E=x.dense?[]:{},u={s:{c:0,r:0},e:{c:0,r:0}};c.slice(0,4)=="sep="?c.charCodeAt(5)==13&&c.charCodeAt(6)==10?(v=c.charAt(4),c=c.slice(7)):c.charCodeAt(5)==13||c.charCodeAt(5)==10?(v=c.charAt(4),c=c.slice(6)):v=a(c.slice(0,1024)):x&&x.FS?v=x.FS:v=a(c.slice(0,1024));var _=0,O=0,R=0,y=0,M=0,j=v.charCodeAt(0),ee=!1,C=0,b=c.charCodeAt(0);c=c.replace(/\r\n/mg,`
`);var L=x.dateNF!=null?_s(x.dateNF):null;function G(){var V=c.slice(y,M),K={};if(V.charAt(0)=='"'&&V.charAt(V.length-1)=='"'&&(V=V.slice(1,-1).replace(/""/g,'"')),V.length===0)K.t="z";else if(x.raw)K.t="s",K.v=V;else if(V.trim().length===0)K.t="s",K.v=V;else if(V.charCodeAt(0)==61)V.charCodeAt(1)==34&&V.charCodeAt(V.length-1)==34?(K.t="s",K.v=V.slice(2,-1).replace(/""/g,'"')):to(V)?(K.t="n",K.f=V.slice(1)):(K.t="s",K.v=V);else if(V=="TRUE")K.t="b",K.v=!0;else if(V=="FALSE")K.t="b",K.v=!1;else if(!isNaN(R=Fr(V)))K.t="n",x.cellText!==!1&&(K.w=V),K.v=R;else if(!isNaN(Ft(V).getDate())||L&&V.match(L)){K.z=x.dateNF||ye[14];var re=0;L&&V.match(L)&&(V=Ts(V,x.dateNF,V.match(L)||[]),re=1),x.cellDates?(K.t="d",K.v=je(V,re)):(K.t="n",K.v=Ze(je(V,re))),x.cellText!==!1&&(K.w=kr(K.z,K.v instanceof Date?Ze(K.v):K.v)),x.cellNF||delete K.z}else K.t="s",K.v=V;if(K.t=="z"||(x.dense?(E[_]||(E[_]=[]),E[_][O]=K):E[me({c:O,r:_})]=K),y=M+1,b=c.charCodeAt(y),u.e.c<O&&(u.e.c=O),u.e.r<_&&(u.e.r=_),C==j)++O;else if(O=0,++_,x.sheetRows&&x.sheetRows<=_)return!0}e:for(;M<c.length;++M)switch(C=c.charCodeAt(M)){case 34:b===34&&(ee=!ee);break;case j:case 10:case 13:if(!ee&&G())break e;break}return M-y>0&&G(),E["!ref"]=De(u),E}function s(c,p){return!(p&&p.PRN)||p.FS||c.slice(0,4)=="sep="||c.indexOf(" ")>=0||c.indexOf(",")>=0||c.indexOf(";")>=0?i(c,p):ot(t(c,p),p)}function f(c,p){var x="",v=p.type=="string"?[0,0,0,0]:mu(c,p);switch(p.type){case"base64":x=Cr(c);break;case"binary":x=c;break;case"buffer":p.codepage==65001?x=c.toString("utf8"):p.codepage&&typeof Wr<"u"?x=Wr.utils.decode(p.codepage,c):x=ue&&Buffer.isBuffer(c)?c.toString("binary"):Dt(c);break;case"array":x=o0(c);break;case"string":x=c;break;default:throw new Error("Unrecognized type "+p.type)}return v[0]==239&&v[1]==187&&v[2]==191?x=gt(x.slice(3)):p.type!="string"&&p.type!="buffer"&&p.codepage==65001?x=gt(x):p.type=="binary"&&typeof Wr<"u"&&p.codepage&&(x=Wr.utils.decode(p.codepage,Wr.utils.encode(28591,x))),x.slice(0,19)=="socialcalc:version:"?Ya.to_sheet(p.type=="string"?x:gt(x),p):s(x,p)}function o(c,p){return zr(f(c,p),p)}function l(c){for(var p=[],x=Ee(c["!ref"]),v,E=Array.isArray(c),u=x.s.r;u<=x.e.r;++u){for(var _=[],O=x.s.c;O<=x.e.c;++O){var R=me({r:u,c:O});if(v=E?(c[u]||[])[O]:c[R],!v||v.v==null){_.push(" ");continue}for(var y=(v.w||(Or(v),v.w)||"").slice(0,10);y.length<10;)y+=" ";_.push(y+(O===0?" ":""))}p.push(_.join(""))}return p.join(`
`)}return{to_workbook:o,to_sheet:f,from_sheet:l}}(),bn=function(){function e(S,P,F){if(!!S){rr(S,S.l||0);for(var A=F.Enum||ir;S.l<S.length;){var H=S.read_shift(2),ie=A[H]||A[65535],se=S.read_shift(2),ae=S.l+se,q=ie.f&&ie.f(S,se,F);if(S.l=ae,P(q,ie,H))return}}}function t(S,P){switch(P.type){case"base64":return r(xr(Cr(S)),P);case"binary":return r(xr(S),P);case"buffer":case"array":return r(S,P)}throw"Unsupported type "+P.type}function r(S,P){if(!S)return S;var F=P||{},A=F.dense?[]:{},H="Sheet1",ie="",se=0,ae={},q=[],Te=[],ce={s:{r:0,c:0},e:{r:0,c:0}},ze=F.sheetRows||0;if(S[2]==0&&(S[3]==8||S[3]==9)&&S.length>=16&&S[14]==5&&S[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(S[2]==2)F.Enum=ir,e(S,function(ne,sr,Er){switch(Er){case 0:F.vers=ne,ne>=4096&&(F.qpro=!0);break;case 6:ce=ne;break;case 204:ne&&(ie=ne);break;case 222:ie=ne;break;case 15:case 51:F.qpro||(ne[1].v=ne[1].v.slice(1));case 13:case 14:case 16:Er==14&&(ne[2]&112)==112&&(ne[2]&15)>1&&(ne[2]&15)<15&&(ne[1].z=F.dateNF||ye[14],F.cellDates&&(ne[1].t="d",ne[1].v=ca(ne[1].v))),F.qpro&&ne[3]>se&&(A["!ref"]=De(ce),ae[H]=A,q.push(H),A=F.dense?[]:{},ce={s:{r:0,c:0},e:{r:0,c:0}},se=ne[3],H=ie||"Sheet"+(se+1),ie="");var Br=F.dense?(A[ne[0].r]||[])[ne[0].c]:A[me(ne[0])];if(Br){Br.t=ne[1].t,Br.v=ne[1].v,ne[1].z!=null&&(Br.z=ne[1].z),ne[1].f!=null&&(Br.f=ne[1].f);break}F.dense?(A[ne[0].r]||(A[ne[0].r]=[]),A[ne[0].r][ne[0].c]=ne[1]):A[me(ne[0])]=ne[1];break}},F);else if(S[2]==26||S[2]==14)F.Enum=Qe,S[2]==14&&(F.qpro=!0,S.l=0),e(S,function(ne,sr,Er){switch(Er){case 204:H=ne;break;case 22:ne[1].v=ne[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(ne[3]>se&&(A["!ref"]=De(ce),ae[H]=A,q.push(H),A=F.dense?[]:{},ce={s:{r:0,c:0},e:{r:0,c:0}},se=ne[3],H="Sheet"+(se+1)),ze>0&&ne[0].r>=ze)break;F.dense?(A[ne[0].r]||(A[ne[0].r]=[]),A[ne[0].r][ne[0].c]=ne[1]):A[me(ne[0])]=ne[1],ce.e.c<ne[0].c&&(ce.e.c=ne[0].c),ce.e.r<ne[0].r&&(ce.e.r=ne[0].r);break;case 27:ne[14e3]&&(Te[ne[14e3][0]]=ne[14e3][1]);break;case 1537:Te[ne[0]]=ne[1],ne[0]==se&&(H=ne[1]);break}},F);else throw new Error("Unrecognized LOTUS BOF "+S[2]);if(A["!ref"]=De(ce),ae[ie||H]=A,q.push(ie||H),!Te.length)return{SheetNames:q,Sheets:ae};for(var xe={},Tr=[],Ae=0;Ae<Te.length;++Ae)ae[q[Ae]]?(Tr.push(Te[Ae]||q[Ae]),xe[Te[Ae]]=ae[Te[Ae]]||ae[q[Ae]]):(Tr.push(Te[Ae]),xe[Te[Ae]]={"!ref":"A1"});return{SheetNames:Tr,Sheets:xe}}function n(S,P){var F=P||{};if(+F.codepage>=0&&St(+F.codepage),F.type=="string")throw new Error("Cannot write WK1 to JS string");var A=Je(),H=Ee(S["!ref"]),ie=Array.isArray(S),se=[];J(A,0,i(1030)),J(A,6,o(H));for(var ae=Math.min(H.e.r,8191),q=H.s.r;q<=ae;++q)for(var Te=He(q),ce=H.s.c;ce<=H.e.c;++ce){q===H.s.r&&(se[ce]=Xe(ce));var ze=se[ce]+Te,xe=ie?(S[q]||[])[ce]:S[ze];if(!(!xe||xe.t=="z"))if(xe.t=="n")(xe.v|0)==xe.v&&xe.v>=-32768&&xe.v<=32767?J(A,13,v(q,ce,xe.v)):J(A,14,u(q,ce,xe.v));else{var Tr=Or(xe);J(A,15,p(q,ce,Tr.slice(0,239)))}}return J(A,1),A.end()}function a(S,P){var F=P||{};if(+F.codepage>=0&&St(+F.codepage),F.type=="string")throw new Error("Cannot write WK3 to JS string");var A=Je();J(A,0,s(S));for(var H=0,ie=0;H<S.SheetNames.length;++H)(S.Sheets[S.SheetNames[H]]||{})["!ref"]&&J(A,27,Ne(S.SheetNames[H],ie++));var se=0;for(H=0;H<S.SheetNames.length;++H){var ae=S.Sheets[S.SheetNames[H]];if(!(!ae||!ae["!ref"])){for(var q=Ee(ae["!ref"]),Te=Array.isArray(ae),ce=[],ze=Math.min(q.e.r,8191),xe=q.s.r;xe<=ze;++xe)for(var Tr=He(xe),Ae=q.s.c;Ae<=q.e.c;++Ae){xe===q.s.r&&(ce[Ae]=Xe(Ae));var ne=ce[Ae]+Tr,sr=Te?(ae[xe]||[])[Ae]:ae[ne];if(!(!sr||sr.t=="z"))if(sr.t=="n")J(A,23,G(xe,Ae,se,sr.v));else{var Er=Or(sr);J(A,22,C(xe,Ae,se,Er.slice(0,239)))}}++se}}return J(A,1),A.end()}function i(S){var P=B(2);return P.write_shift(2,S),P}function s(S){var P=B(26);P.write_shift(2,4096),P.write_shift(2,4),P.write_shift(4,0);for(var F=0,A=0,H=0,ie=0;ie<S.SheetNames.length;++ie){var se=S.SheetNames[ie],ae=S.Sheets[se];if(!(!ae||!ae["!ref"])){++H;var q=ar(ae["!ref"]);F<q.e.r&&(F=q.e.r),A<q.e.c&&(A=q.e.c)}}return F>8191&&(F=8191),P.write_shift(2,F),P.write_shift(1,H),P.write_shift(1,A),P.write_shift(2,0),P.write_shift(2,0),P.write_shift(1,1),P.write_shift(1,2),P.write_shift(4,0),P.write_shift(4,0),P}function f(S,P,F){var A={s:{c:0,r:0},e:{c:0,r:0}};return P==8&&F.qpro?(A.s.c=S.read_shift(1),S.l++,A.s.r=S.read_shift(2),A.e.c=S.read_shift(1),S.l++,A.e.r=S.read_shift(2),A):(A.s.c=S.read_shift(2),A.s.r=S.read_shift(2),P==12&&F.qpro&&(S.l+=2),A.e.c=S.read_shift(2),A.e.r=S.read_shift(2),P==12&&F.qpro&&(S.l+=2),A.s.c==65535&&(A.s.c=A.e.c=A.s.r=A.e.r=0),A)}function o(S){var P=B(8);return P.write_shift(2,S.s.c),P.write_shift(2,S.s.r),P.write_shift(2,S.e.c),P.write_shift(2,S.e.r),P}function l(S,P,F){var A=[{c:0,r:0},{t:"n",v:0},0,0];return F.qpro&&F.vers!=20768?(A[0].c=S.read_shift(1),A[3]=S.read_shift(1),A[0].r=S.read_shift(2),S.l+=2):(A[2]=S.read_shift(1),A[0].c=S.read_shift(2),A[0].r=S.read_shift(2)),A}function c(S,P,F){var A=S.l+P,H=l(S,P,F);if(H[1].t="s",F.vers==20768){S.l++;var ie=S.read_shift(1);return H[1].v=S.read_shift(ie,"utf8"),H}return F.qpro&&S.l++,H[1].v=S.read_shift(A-S.l,"cstr"),H}function p(S,P,F){var A=B(7+F.length);A.write_shift(1,255),A.write_shift(2,P),A.write_shift(2,S),A.write_shift(1,39);for(var H=0;H<A.length;++H){var ie=F.charCodeAt(H);A.write_shift(1,ie>=128?95:ie)}return A.write_shift(1,0),A}function x(S,P,F){var A=l(S,P,F);return A[1].v=S.read_shift(2,"i"),A}function v(S,P,F){var A=B(7);return A.write_shift(1,255),A.write_shift(2,P),A.write_shift(2,S),A.write_shift(2,F,"i"),A}function E(S,P,F){var A=l(S,P,F);return A[1].v=S.read_shift(8,"f"),A}function u(S,P,F){var A=B(13);return A.write_shift(1,255),A.write_shift(2,P),A.write_shift(2,S),A.write_shift(8,F,"f"),A}function _(S,P,F){var A=S.l+P,H=l(S,P,F);if(H[1].v=S.read_shift(8,"f"),F.qpro)S.l=A;else{var ie=S.read_shift(2);M(S.slice(S.l,S.l+ie),H),S.l+=ie}return H}function O(S,P,F){var A=P&32768;return P&=-32769,P=(A?S:0)+(P>=8192?P-16384:P),(A?"":"$")+(F?Xe(P):He(P))}var R={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]},y=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function M(S,P){rr(S,0);for(var F=[],A=0,H="",ie="",se="",ae="";S.l<S.length;){var q=S[S.l++];switch(q){case 0:F.push(S.read_shift(8,"f"));break;case 1:ie=O(P[0].c,S.read_shift(2),!0),H=O(P[0].r,S.read_shift(2),!1),F.push(ie+H);break;case 2:{var Te=O(P[0].c,S.read_shift(2),!0),ce=O(P[0].r,S.read_shift(2),!1);ie=O(P[0].c,S.read_shift(2),!0),H=O(P[0].r,S.read_shift(2),!1),F.push(Te+ce+":"+ie+H)}break;case 3:if(S.l<S.length){console.error("WK1 premature formula end");return}break;case 4:F.push("("+F.pop()+")");break;case 5:F.push(S.read_shift(2));break;case 6:{for(var ze="";q=S[S.l++];)ze+=String.fromCharCode(q);F.push('"'+ze.replace(/"/g,'""')+'"')}break;case 8:F.push("-"+F.pop());break;case 23:F.push("+"+F.pop());break;case 22:F.push("NOT("+F.pop()+")");break;case 20:case 21:ae=F.pop(),se=F.pop(),F.push(["AND","OR"][q-20]+"("+se+","+ae+")");break;default:if(q<32&&y[q])ae=F.pop(),se=F.pop(),F.push(se+y[q]+ae);else if(R[q]){if(A=R[q][1],A==69&&(A=S[S.l++]),A>F.length){console.error("WK1 bad formula parse 0x"+q.toString(16)+":|"+F.join("|")+"|");return}var xe=F.slice(-A);F.length-=A,F.push(R[q][0]+"("+xe.join(",")+")")}else return q<=7?console.error("WK1 invalid opcode "+q.toString(16)):q<=24?console.error("WK1 unsupported op "+q.toString(16)):q<=30?console.error("WK1 invalid opcode "+q.toString(16)):q<=115?console.error("WK1 unsupported function opcode "+q.toString(16)):console.error("WK1 unrecognized opcode "+q.toString(16))}}F.length==1?P[1].f=""+F[0]:console.error("WK1 bad formula parse |"+F.join("|")+"|")}function j(S){var P=[{c:0,r:0},{t:"n",v:0},0];return P[0].r=S.read_shift(2),P[3]=S[S.l++],P[0].c=S[S.l++],P}function ee(S,P){var F=j(S);return F[1].t="s",F[1].v=S.read_shift(P-4,"cstr"),F}function C(S,P,F,A){var H=B(6+A.length);H.write_shift(2,S),H.write_shift(1,F),H.write_shift(1,P),H.write_shift(1,39);for(var ie=0;ie<A.length;++ie){var se=A.charCodeAt(ie);H.write_shift(1,se>=128?95:se)}return H.write_shift(1,0),H}function b(S,P){var F=j(S);F[1].v=S.read_shift(2);var A=F[1].v>>1;if(F[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}return F[1].v=A,F}function L(S,P){var F=j(S),A=S.read_shift(4),H=S.read_shift(4),ie=S.read_shift(2);if(ie==65535)return A===0&&H===3221225472?(F[1].t="e",F[1].v=15):A===0&&H===3489660928?(F[1].t="e",F[1].v=42):F[1].v=0,F;var se=ie&32768;return ie=(ie&32767)-16446,F[1].v=(1-se*2)*(H*Math.pow(2,ie+32)+A*Math.pow(2,ie)),F}function G(S,P,F,A){var H=B(14);if(H.write_shift(2,S),H.write_shift(1,F),H.write_shift(1,P),A==0)return H.write_shift(4,0),H.write_shift(4,0),H.write_shift(2,65535),H;var ie=0,se=0,ae=0,q=0;return A<0&&(ie=1,A=-A),se=Math.log2(A)|0,A/=Math.pow(2,se-31),q=A>>>0,(q&2147483648)==0&&(A/=2,++se,q=A>>>0),A-=q,q|=2147483648,q>>>=0,A*=Math.pow(2,32),ae=A>>>0,H.write_shift(4,ae),H.write_shift(4,q),se+=16383+(ie?32768:0),H.write_shift(2,se),H}function V(S,P){var F=L(S);return S.l+=P-14,F}function K(S,P){var F=j(S),A=S.read_shift(4);return F[1].v=A>>6,F}function re(S,P){var F=j(S),A=S.read_shift(8,"f");return F[1].v=A,F}function ge(S,P){var F=re(S);return S.l+=P-10,F}function le(S,P){return S[S.l+P-1]==0?S.read_shift(P,"cstr"):""}function Me(S,P){var F=S[S.l++];F>P-1&&(F=P-1);for(var A="";A.length<F;)A+=String.fromCharCode(S[S.l++]);return A}function Ce(S,P,F){if(!(!F.qpro||P<21)){var A=S.read_shift(1);S.l+=17,S.l+=1,S.l+=2;var H=S.read_shift(P-21,"cstr");return[A,H]}}function cr(S,P){for(var F={},A=S.l+P;S.l<A;){var H=S.read_shift(2);if(H==14e3){for(F[H]=[0,""],F[H][0]=S.read_shift(2);S[S.l];)F[H][1]+=String.fromCharCode(S[S.l]),S.l++;S.l++}}return F}function Ne(S,P){var F=B(5+S.length);F.write_shift(2,14e3),F.write_shift(2,P);for(var A=0;A<S.length;++A){var H=S.charCodeAt(A);F[F.l++]=H>127?95:H}return F[F.l++]=0,F}var ir={0:{n:"BOF",f:Ga},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:x},14:{n:"NUMBER",f:E},15:{n:"LABEL",f:c},16:{n:"FORMULA",f:_},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:c},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:le},222:{n:"SHEETNAMELP",f:Me},65535:{n:""}},Qe={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:ee},23:{n:"NUMBER17",f:L},24:{n:"NUMBER18",f:b},25:{n:"FORMULA19",f:V},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:cr},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:K},38:{n:"??"},39:{n:"NUMBER27",f:re},40:{n:"FORMULA28",f:ge},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:le},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:Ce},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:n,book_to_wk3:a,to_workbook:t}}(),il=/^\s|\s$|[\t\n\r]/;function $a(e,t){if(!t.bookSST)return"";var r=[Re];r[r.length]=Y("sst",null,{xmlns:lt[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var a=e[n],i="<si>";a.r?i+=a.r:(i+="<t",a.t||(a.t=""),a.t.match(il)&&(i+=' xml:space="preserve"'),i+=">"+de(a.t)+"</t>"),i+="</si>",r[r.length]=i}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function sl(e){return[e.read_shift(4),e.read_shift(4)]}function fl(e,t){return t||(t=B(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var ll=Zs;function ol(e){var t=Je();W(t,159,fl(e));for(var r=0;r<e.length;++r)W(t,19,ll(e[r]));return W(t,160),t.end()}function cl(e){for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function ja(e){var t=0,r,n=cl(e),a=n.length+1,i,s,f,o,l;for(r=Vr(a),r[0]=n.length,i=1;i!=a;++i)r[i]=n[i-1];for(i=a-1;i>=0;--i)s=r[i],f=(t&16384)===0?0:1,o=t<<1&32767,l=f|o,t=l^s;return t^52811}var hl=function(){function e(a,i){switch(i.type){case"base64":return t(Cr(a),i);case"binary":return t(a,i);case"buffer":return t(ue&&Buffer.isBuffer(a)?a.toString("binary"):Dt(a),i);case"array":return t(o0(a),i)}throw new Error("Unrecognized type "+i.type)}function t(a,i){var s=i||{},f=s.dense?[]:{},o=a.match(/\\trowd.*?\\row\b/g);if(!o.length)throw new Error("RTF missing table");var l={s:{c:0,r:0},e:{c:0,r:o.length-1}};return o.forEach(function(c,p){Array.isArray(f)&&(f[p]=[]);for(var x=/\\\w+\b/g,v=0,E,u=-1;E=x.exec(c);){switch(E[0]){case"\\cell":var _=c.slice(v,x.lastIndex-E[0].length);if(_[0]==" "&&(_=_.slice(1)),++u,_.length){var O={v:_,t:"s"};Array.isArray(f)?f[p][u]=O:f[me({r:p,c:u})]=O}break}v=x.lastIndex}u>l.e.c&&(l.e.c=u)}),f["!ref"]=De(l),f}function r(a,i){return zr(e(a,i),i)}function n(a){for(var i=["{\\rtf1\\ansi"],s=Ee(a["!ref"]),f,o=Array.isArray(a),l=s.s.r;l<=s.e.r;++l){i.push("\\trowd\\trautofit1");for(var c=s.s.c;c<=s.e.c;++c)i.push("\\cellx"+(c+1));for(i.push("\\pard\\intbl"),c=s.s.c;c<=s.e.c;++c){var p=me({r:l,c});f=o?(a[l]||[])[c]:a[p],!(!f||f.v==null&&(!f.f||f.F))&&(i.push(" "+(f.w||(Or(f),f.w))),i.push("\\cell"))}i.push("\\pard\\intbl\\row")}return i.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:n}}();function Wn(e){for(var t=0,r=1;t!=3;++t)r=r*256+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}var ul=6,yr=ul;function e0(e){return Math.floor((e+Math.round(128/yr)/256)*yr)}function r0(e){return Math.floor((e-5)/yr*100+.5)/100}function D0(e){return Math.round((e*yr+5)/yr*256)/256}function X0(e){e.width?(e.wpx=e0(e.width),e.wch=r0(e.wpx),e.MDW=yr):e.wpx?(e.wch=r0(e.wpx),e.width=D0(e.wch),e.MDW=yr):typeof e.wch=="number"&&(e.width=D0(e.wch),e.wpx=e0(e.width),e.MDW=yr),e.customWidth&&delete e.customWidth}var xl=96,Ja=xl;function t0(e){return e*96/Ja}function Za(e){return e*Ja/96}function vl(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(r){for(var n=r[0];n<=r[1];++n)e[n]!=null&&(t[t.length]=Y("numFmt",null,{numFmtId:n,formatCode:de(e[n])}))}),t.length===1?"":(t[t.length]="</numFmts>",t[0]=Y("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function pl(e){var t=[];return t[t.length]=Y("cellXfs",null),e.forEach(function(r){t[t.length]=Y("xf",null,r)}),t[t.length]="</cellXfs>",t.length===2?"":(t[0]=Y("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function qa(e,t){var r=[Re,Y("styleSheet",null,{xmlns:lt[0],"xmlns:vt":ke.vt})],n;return e.SSF&&(n=vl(e.SSF))!=null&&(r[r.length]=n),r[r.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',r[r.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',r[r.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',r[r.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=pl(t.cellXfs))&&(r[r.length]=n),r[r.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',r[r.length]='<dxfs count="0"/>',r[r.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',r.length>2&&(r[r.length]="</styleSheet>",r[1]=r[1].replace("/>",">")),r.join("")}function dl(e,t){var r=e.read_shift(2),n=Ke(e);return[r,n]}function ml(e,t,r){r||(r=B(6+4*t.length)),r.write_shift(2,e),Le(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),n}function gl(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=af(e);a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1);var i=e.read_shift(2);switch(i===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var s=e.read_shift(1);s!=0&&(n.underline=s);var f=e.read_shift(1);f>0&&(n.family=f);var o=e.read_shift(1);switch(o>0&&(n.charset=o),e.l++,n.color=nf(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=Ke(e),n}function _l(e,t){t||(t=B(25+4*32)),t.write_shift(2,e.sz*20),sf(e,t),t.write_shift(2,e.bold?700:400);var r=0;e.vertAlign=="superscript"?r=1:e.vertAlign=="subscript"&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),qt(e.color,t);var n=0;return e.scheme=="major"&&(n=1),e.scheme=="minor"&&(n=2),t.write_shift(1,n),Le(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Tl=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],w0,El=_r;function Hn(e,t){t||(t=B(4*3+8*7+16*1)),w0||(w0=N0(Tl));var r=w0[e.patternType];r==null&&(r=40),t.write_shift(4,r);var n=0;if(r!=40)for(qt({auto:1},t),qt({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function wl(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}function Qa(e,t,r){r||(r=B(16)),r.write_shift(2,t||0),r.write_shift(2,e.numFmtId||0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);var n=0;return r.write_shift(1,n),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function pt(e,t){return t||(t=B(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var Sl=_r;function Al(e,t){return t||(t=B(51)),t.write_shift(1,0),pt(null,t),pt(null,t),pt(null,t),pt(null,t),pt(null,t),t.length>t.l?t.slice(0,t.l):t}function Fl(e,t){return t||(t=B(12+4*10)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,+e.builtinId),t.write_shift(1,0),Zt(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function yl(e,t,r){var n=B(2052);return n.write_shift(4,e),Zt(t,n),Zt(r,n),n.length>n.l?n.slice(0,n.l):n}function Cl(e,t){if(!!t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&++r}),r!=0&&(W(e,615,pr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&W(e,44,ml(a,t[a]))}),W(e,616))}}function Ol(e){var t=1;W(e,611,pr(t)),W(e,43,_l({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),W(e,612)}function Dl(e){var t=2;W(e,603,pr(t)),W(e,45,Hn({patternType:"none"})),W(e,45,Hn({patternType:"gray125"})),W(e,604)}function Rl(e){var t=1;W(e,613,pr(t)),W(e,46,Al()),W(e,614)}function Il(e){var t=1;W(e,626,pr(t)),W(e,47,Qa({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),W(e,627)}function Nl(e,t){W(e,617,pr(t.length)),t.forEach(function(r){W(e,47,Qa(r,0))}),W(e,618)}function kl(e){var t=1;W(e,619,pr(t)),W(e,48,Fl({xfId:0,builtinId:0,name:"Normal"})),W(e,620)}function Pl(e){var t=0;W(e,505,pr(t)),W(e,506)}function Ll(e){var t=0;W(e,508,yl(t,"TableStyleMedium9","PivotStyleMedium4")),W(e,509)}function Ml(e,t){var r=Je();return W(r,278),Cl(r,e.SSF),Ol(r),Dl(r),Rl(r),Il(r),Nl(r,t.cellXfs),kl(r),Pl(r),Ll(r),W(r,279),r.end()}function ei(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[Re];return r[r.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',r[r.length]="<a:themeElements>",r[r.length]='<a:clrScheme name="Office">',r[r.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',r[r.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',r[r.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',r[r.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',r[r.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',r[r.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',r[r.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',r[r.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',r[r.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',r[r.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',r[r.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',r[r.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',r[r.length]="</a:clrScheme>",r[r.length]='<a:fontScheme name="Office">',r[r.length]="<a:majorFont>",r[r.length]='<a:latin typeface="Cambria"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/>',r[r.length]='<a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/>',r[r.length]='<a:font script="Hans" typeface="\u5B8B\u4F53"/>',r[r.length]='<a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/>',r[r.length]='<a:font script="Arab" typeface="Times New Roman"/>',r[r.length]='<a:font script="Hebr" typeface="Times New Roman"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="MoolBoran"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Times New Roman"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:majorFont>",r[r.length]="<a:minorFont>",r[r.length]='<a:latin typeface="Calibri"/>',r[r.length]='<a:ea typeface=""/>',r[r.length]='<a:cs typeface=""/>',r[r.length]='<a:font script="Jpan" typeface="\uFF2D\uFF33 \uFF30\u30B4\u30B7\u30C3\u30AF"/>',r[r.length]='<a:font script="Hang" typeface="\uB9D1\uC740 \uACE0\uB515"/>',r[r.length]='<a:font script="Hans" typeface="\u5B8B\u4F53"/>',r[r.length]='<a:font script="Hant" typeface="\u65B0\u7D30\u660E\u9AD4"/>',r[r.length]='<a:font script="Arab" typeface="Arial"/>',r[r.length]='<a:font script="Hebr" typeface="Arial"/>',r[r.length]='<a:font script="Thai" typeface="Tahoma"/>',r[r.length]='<a:font script="Ethi" typeface="Nyala"/>',r[r.length]='<a:font script="Beng" typeface="Vrinda"/>',r[r.length]='<a:font script="Gujr" typeface="Shruti"/>',r[r.length]='<a:font script="Khmr" typeface="DaunPenh"/>',r[r.length]='<a:font script="Knda" typeface="Tunga"/>',r[r.length]='<a:font script="Guru" typeface="Raavi"/>',r[r.length]='<a:font script="Cans" typeface="Euphemia"/>',r[r.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',r[r.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',r[r.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',r[r.length]='<a:font script="Thaa" typeface="MV Boli"/>',r[r.length]='<a:font script="Deva" typeface="Mangal"/>',r[r.length]='<a:font script="Telu" typeface="Gautami"/>',r[r.length]='<a:font script="Taml" typeface="Latha"/>',r[r.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',r[r.length]='<a:font script="Orya" typeface="Kalinga"/>',r[r.length]='<a:font script="Mlym" typeface="Kartika"/>',r[r.length]='<a:font script="Laoo" typeface="DokChampa"/>',r[r.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',r[r.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',r[r.length]='<a:font script="Viet" typeface="Arial"/>',r[r.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',r[r.length]='<a:font script="Geor" typeface="Sylfaen"/>',r[r.length]="</a:minorFont>",r[r.length]="</a:fontScheme>",r[r.length]='<a:fmtScheme name="Office">',r[r.length]="<a:fillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="1"/>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.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>',r[r.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>',r[r.length]="</a:gsLst>",r[r.length]='<a:lin ang="16200000" scaled="0"/>',r[r.length]="</a:gradFill>",r[r.length]="</a:fillStyleLst>",r[r.length]="<a:lnStyleLst>",r[r.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>',r[r.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>',r[r.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>',r[r.length]="</a:lnStyleLst>",r[r.length]="<a:effectStyleLst>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.length]="</a:effectStyle>",r[r.length]="<a:effectStyle>",r[r.length]="<a:effectLst>",r[r.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',r[r.length]="</a:effectLst>",r[r.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>',r[r.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',r[r.length]="</a:effectStyle>",r[r.length]="</a:effectStyleLst>",r[r.length]="<a:bgFillStyleLst>",r[r.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',r[r.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>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]='<a:gradFill rotWithShape="1">',r[r.length]="<a:gsLst>",r[r.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',r[r.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',r[r.length]="</a:gsLst>",r[r.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',r[r.length]="</a:gradFill>",r[r.length]="</a:bgFillStyleLst>",r[r.length]="</a:fmtScheme>",r[r.length]="</a:themeElements>",r[r.length]="<a:objectDefaults>",r[r.length]="<a:spDef>",r[r.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>',r[r.length]="</a:spDef>",r[r.length]="<a:lnDef>",r[r.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>',r[r.length]="</a:lnDef>",r[r.length]="</a:objectDefaults>",r[r.length]="<a:extraClrSchemeLst/>",r[r.length]="</a:theme>",r.join("")}function Bl(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Ke(e)}}function Ul(e){var t=B(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),Le(e.name,t),t.slice(0,t.l)}function bl(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function Wl(e){var t=B(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r<e.length;++r)t.write_shift(4,e[r][0]),t.write_shift(4,e[r][1]);return t}function Hl(e,t){var r=B(8+2*t.length);return r.write_shift(4,e),Le(t,r),r.slice(0,r.l)}function Gl(e){return e.l+=4,e.read_shift(4)!=0}function Vl(e,t){var r=B(8);return r.write_shift(4,e),r.write_shift(4,t?1:0),r}function Xl(){var e=Je();return W(e,332),W(e,334,pr(1)),W(e,335,Ul({name:"XLDAPR",version:12e4,flags:3496657072})),W(e,336),W(e,339,Hl(1,"XLDAPR")),W(e,52),W(e,35,pr(514)),W(e,4096,pr(0)),W(e,4097,lr(1)),W(e,36),W(e,53),W(e,340),W(e,337,Vl(1,!0)),W(e,51,Wl([[1,0]])),W(e,338),W(e,333),e.end()}function ri(){var e=[Re];return 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">
<metadataTypes count="1">
<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"/>
</metadataTypes>
<futureMetadata name="XLDAPR" count="1">
<bk>
<extLst>
<ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
<xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
</ext>
</extLst>
</bk>
</futureMetadata>
<cellMetadata count="1">
<bk>
<rc t="1" v="0"/>
</bk>
</cellMetadata>
</metadata>`),e.join("")}function Kl(e){var t={};t.i=e.read_shift(4);var r={};r.r=e.read_shift(4),r.c=e.read_shift(4),t.r=me(r);var n=e.read_shift(1);return n&2&&(t.l="1"),n&8&&(t.a="1"),t}var tt=1024;function ti(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[Y("xml",null,{"xmlns:v":tr.v,"xmlns:o":tr.o,"xmlns:x":tr.x,"xmlns:mv":tr.mv}).replace(/\/>/,">"),Y("o:shapelayout",Y("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Y("v:shapetype",[Y("v:stroke",null,{joinstyle:"miter"}),Y("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];tt<e*1e3;)tt+=1e3;return t.forEach(function(i){var s=Pe(i[0]),f={color2:"#BEFF82",type:"gradient"};f.type=="gradient"&&(f.angle="-180");var o=f.type=="gradient"?Y("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,l=Y("v:fill",o,f),c={on:"t",obscured:"t"};++tt,a=a.concat(["<v:shape"+yt({id:"_x0000_s"+tt,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(i[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",l,Y("v:shadow",null,c),Y("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",We("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),We("x:AutoFill","False"),We("x:Row",String(s.r)),We("x:Column",String(s.c)),i[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),a.push("</xml>"),a.join("")}function ni(e){var t=[Re,Y("comments",null,{xmlns:lt[0]})],r=[];return t.push("<authors>"),e.forEach(function(n){n[1].forEach(function(a){var i=de(a.a);r.indexOf(i)==-1&&(r.push(i),t.push("<author>"+i+"</author>")),a.T&&a.ID&&r.indexOf("tc="+a.ID)==-1&&(r.push("tc="+a.ID),t.push("<author>tc="+a.ID+"</author>"))})}),r.length==0&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach(function(n){var a=0,i=[];if(n[1][0]&&n[1][0].T&&n[1][0].ID?a=r.indexOf("tc="+n[1][0].ID):n[1].forEach(function(o){o.a&&(a=r.indexOf(de(o.a))),i.push(o.t||"")}),t.push('<comment ref="'+n[0]+'" authorId="'+a+'"><text>'),i.length<=1)t.push(We("t",de(i[0]||"")));else{for(var s=`Comment:
`+i[0]+`
`,f=1;f<i.length;++f)s+=`Reply:
`+i[f]+`
`;t.push(We("t",de(s)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function zl(e,t,r){var n=[Re,Y("ThreadedComments",null,{xmlns:ke.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(a){var i="";(a[1]||[]).forEach(function(s,f){if(!s.T){delete s.ID;return}s.a&&t.indexOf(s.a)==-1&&t.push(s.a);var o={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};f==0?i=o.id:o.parentId=i,s.ID=o.id,s.a&&(o.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push(Y("threadedComment",We("text",s.t||""),o))})}),n.push("</ThreadedComments>"),n.join("")}function Yl(e){var t=[Re,Y("personList",null,{xmlns:ke.TCMNT,"xmlns:x":lt[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(Y("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push("</personList>"),t.join("")}function $l(e){var t={};t.iauthor=e.read_shift(4);var r=Jr(e);return t.rfx=r.s,t.ref=me(r.s),e.l+=16,t}function jl(e,t){return t==null&&(t=B(36)),t.write_shift(4,e[1].iauthor),ct(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}var Jl=Ke;function Zl(e){return Le(e.slice(0,54))}function ql(e){var t=Je(),r=[];return W(t,628),W(t,630),e.forEach(function(n){n[1].forEach(function(a){r.indexOf(a.a)>-1||(r.push(a.a.slice(0,54)),W(t,632,Zl(a.a)))})}),W(t,631),W(t,633),e.forEach(function(n){n[1].forEach(function(a){a.iauthor=r.indexOf(a.a);var i={s:Pe(n[0]),e:Pe(n[0])};W(t,635,jl([i,a])),a.t&&a.t.length>0&&W(t,637,Qs(a)),W(t,636),delete a.iauthor})}),W(t,634),W(t,629),t.end()}function Ql(e,t){t.FullPaths.forEach(function(r,n){if(n!=0){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");a.slice(-1)!=="/"&&_e.utils.cfb_add(e,a,t.FileIndex[n].content)}})}var ai=["xlsb","xlsm","xlam","biff8","xla"],eo=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(n,a,i,s){var f=!1,o=!1;i.length==0?o=!0:i.charAt(0)=="["&&(o=!0,i=i.slice(1,-1)),s.length==0?f=!0:s.charAt(0)=="["&&(f=!0,s=s.slice(1,-1));var l=i.length>0?parseInt(i,10)|0:0,c=s.length>0?parseInt(s,10)|0:0;return f?c+=t.c:--c,o?l+=t.r:--l,a+(f?"":"$")+Xe(c)+(o?"":"$")+He(l)}return function(a,i){return t=i,a.replace(e,r)}}(),K0=/(^|[^._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,z0=function(){return function(t,r){return t.replace(K0,function(n,a,i,s,f,o){var l=b0(s)-(i?0:r.c),c=U0(o)-(f?0:r.r),p=c==0?"":f?c+1:"["+c+"]",x=l==0?"":i?l+1:"["+l+"]";return a+"R"+p+"C"+x})}}();function ro(e,t){return e.replace(K0,function(r,n,a,i,s,f){return n+(a=="$"?a+i:Xe(b0(i)+t.c))+(s=="$"?s+f:He(U0(f)+t.r))})}function to(e){return e.length!=1}function Oe(e){e.l+=1}function Pr(e,t){var r=e.read_shift(t==1?1:2);return[r&16383,r>>14&1,r>>15&1]}function ii(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return si(e);r.biff==12&&(n=4)}var a=e.read_shift(n),i=e.read_shift(n),s=Pr(e,2),f=Pr(e,2);return{s:{r:a,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function si(e){var t=Pr(e,2),r=Pr(e,2),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function no(e,t,r){if(r.biff<8)return si(e);var n=e.read_shift(r.biff==12?4:2),a=e.read_shift(r.biff==12?4:2),i=Pr(e,2),s=Pr(e,2);return{s:{r:n,c:i[0],cRel:i[1],rRel:i[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}function fi(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return ao(e);var n=e.read_shift(r&&r.biff==12?4:2),a=Pr(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function ao(e){var t=Pr(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function io(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:r&255,fQuoted:!!(r&16384),cRel:r>>15,rRel:r>>15}}function so(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return fo(e);var a=e.read_shift(n>=12?4:2),i=e.read_shift(2),s=(i&16384)>>14,f=(i&32768)>>15;if(i&=16383,f==1)for(;a>524287;)a-=1048576;if(s==1)for(;i>8191;)i=i-16384;return{r:a,c:i,cRel:s,rRel:f}}function fo(e){var t=e.read_shift(2),r=e.read_shift(1),n=(t&32768)>>15,a=(t&16384)>>14;return t&=16383,n==1&&t>=8192&&(t=t-16384),a==1&&r>=128&&(r=r-256),{r:t,c:r,cRel:a,rRel:n}}function lo(e,t,r){var n=(e[e.l++]&96)>>5,a=ii(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,a]}function oo(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2,"i"),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}var s=ii(e,i,r);return[n,a,s]}function co(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}function ho(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12;break}return e.l+=i,[n,a]}function uo(e,t,r){var n=(e[e.l++]&96)>>5,a=no(e,t-1,r);return[n,a]}function xo(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[n]}function Gn(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function vo(e,t,r){e.l+=2;for(var n=e.read_shift(r&&r.biff==2?1:2),a=[],i=0;i<=n;++i)a.push(e.read_shift(r&&r.biff==2?1:2));return a}function po(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function mo(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(r&&r.biff==2?1:2)]}function go(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function _o(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[n]}function li(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function To(e){return e.read_shift(2),li(e)}function Eo(e){return e.read_shift(2),li(e)}function wo(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=fi(e,0,r);return[n,a]}function So(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=so(e,0,r);return[n,a]}function Ao(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(2);r&&r.biff==5&&(e.l+=12);var i=fi(e,0,r);return[n,a,i]}function Fo(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[Fc[a],hi[a],n]}function yo(e,t,r){var n=e[e.l++],a=e.read_shift(1),i=r&&r.biff<=3?[n==88?-1:0,e.read_shift(1)]:Co(e);return[a,(i[0]===0?hi:Ac)[i[1]]]}function Co(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function Oo(e,t,r){e.l+=r&&r.biff==2?3:4}function Do(e,t,r){if(e.l++,r&&r.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function Ro(e){return e.l++,Nt[e.read_shift(1)]}function Io(e){return e.l++,e.read_shift(2)}function No(e){return e.l++,e.read_shift(1)!==0}function ko(e){return e.l++,ht(e)}function Po(e,t,r){return e.l++,Xa(e,t-1,r)}function Lo(e,t){var r=[e.read_shift(1)];if(t==12)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=Sf(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=Nt[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=ht(e);break;case 2:r[1]=Cf(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Mo(e,t,r){for(var n=e.read_shift(r.biff==12?4:2),a=[],i=0;i!=n;++i)a.push((r.biff==12?Jr:Rf)(e));return a}function Bo(e,t,r){var n=0,a=0;r.biff==12?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,--a==0&&(a=256));for(var i=0,s=[];i!=n&&(s[i]=[]);++i)for(var f=0;f!=a;++f)s[i][f]=Lo(e,r.biff);return s}function Uo(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,i=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,i]}function bo(e,t,r){if(r.biff==5)return Wo(e);var n=e.read_shift(1)>>>5&3,a=e.read_shift(2),i=e.read_shift(4);return[n,a,i]}function Wo(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}function Ho(e,t,r){var n=e.read_shift(1)>>>5&3;e.l+=r&&r.biff==2?3:4;var a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function Go(e,t,r){var n=e.read_shift(1)>>>5&3,a=e.read_shift(r&&r.biff==2?1:2);return[n,a]}function Vo(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,r.biff==12&&(e.l+=2),[n]}function Xo(e,t,r){var n=(e[e.l++]&96)>>5,a=e.read_shift(2),i=4;if(r)switch(r.biff){case 5:i=15;break;case 12:i=6;break}return e.l+=i,[n,a]}var Ko=_r,zo=_r,Yo=_r;function kt(e,t,r){return e.l+=2,[io(e)]}function Y0(e){return e.l+=6,[]}var $o=kt,jo=Y0,Jo=Y0,Zo=kt;function oi(e){return e.l+=2,[Ga(e),e.read_shift(2)&1]}var qo=kt,Qo=oi,ec=Y0,rc=kt,tc=kt,nc=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function ac(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),i=e.read_shift(2),s=nc[r>>2&31];return{ixti:t,coltype:r&3,rt:s,idx:n,c:a,C:i}}function ic(e){return e.l+=2,[e.read_shift(4)]}function sc(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function fc(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function lc(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function oc(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function cc(e){return e.l+=4,[0,0]}var Vn={1:{n:"PtgExp",f:Do},2:{n:"PtgTbl",f:Yo},3:{n:"PtgAdd",f:Oe},4:{n:"PtgSub",f:Oe},5:{n:"PtgMul",f:Oe},6:{n:"PtgDiv",f:Oe},7:{n:"PtgPower",f:Oe},8:{n:"PtgConcat",f:Oe},9:{n:"PtgLt",f:Oe},10:{n:"PtgLe",f:Oe},11:{n:"PtgEq",f:Oe},12:{n:"PtgGe",f:Oe},13:{n:"PtgGt",f:Oe},14:{n:"PtgNe",f:Oe},15:{n:"PtgIsect",f:Oe},16:{n:"PtgUnion",f:Oe},17:{n:"PtgRange",f:Oe},18:{n:"PtgUplus",f:Oe},19:{n:"PtgUminus",f:Oe},20:{n:"PtgPercent",f:Oe},21:{n:"PtgParen",f:Oe},22:{n:"PtgMissArg",f:Oe},23:{n:"PtgStr",f:Po},26:{n:"PtgSheet",f:sc},27:{n:"PtgEndSheet",f:fc},28:{n:"PtgErr",f:Ro},29:{n:"PtgBool",f:No},30:{n:"PtgInt",f:Io},31:{n:"PtgNum",f:ko},32:{n:"PtgArray",f:xo},33:{n:"PtgFunc",f:Fo},34:{n:"PtgFuncVar",f:yo},35:{n:"PtgName",f:Uo},36:{n:"PtgRef",f:wo},37:{n:"PtgArea",f:lo},38:{n:"PtgMemArea",f:Ho},39:{n:"PtgMemErr",f:Ko},40:{n:"PtgMemNoMem",f:zo},41:{n:"PtgMemFunc",f:Go},42:{n:"PtgRefErr",f:Vo},43:{n:"PtgAreaErr",f:co},44:{n:"PtgRefN",f:So},45:{n:"PtgAreaN",f:uo},46:{n:"PtgMemAreaN",f:lc},47:{n:"PtgMemNoMemN",f:oc},57:{n:"PtgNameX",f:bo},58:{n:"PtgRef3d",f:Ao},59:{n:"PtgArea3d",f:oo},60:{n:"PtgRefErr3d",f:Xo},61:{n:"PtgAreaErr3d",f:ho},255:{}},hc={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},uc={1:{n:"PtgElfLel",f:oi},2:{n:"PtgElfRw",f:rc},3:{n:"PtgElfCol",f:$o},6:{n:"PtgElfRwV",f:tc},7:{n:"PtgElfColV",f:Zo},10:{n:"PtgElfRadical",f:qo},11:{n:"PtgElfRadicalS",f:ec},13:{n:"PtgElfColS",f:jo},15:{n:"PtgElfColSV",f:Jo},16:{n:"PtgElfRadicalLel",f:Qo},25:{n:"PtgList",f:ac},29:{n:"PtgSxName",f:ic},255:{}},xc={0:{n:"PtgAttrNoop",f:cc},1:{n:"PtgAttrSemi",f:_o},2:{n:"PtgAttrIf",f:mo},4:{n:"PtgAttrChoose",f:vo},8:{n:"PtgAttrGoto",f:po},16:{n:"PtgAttrSum",f:Oo},32:{n:"PtgAttrBaxcel",f:Gn},33:{n:"PtgAttrBaxcel",f:Gn},64:{n:"PtgAttrSpace",f:To},65:{n:"PtgAttrSpaceSemi",f:Eo},128:{n:"PtgAttrIfError",f:go},255:{}};function vc(e,t,r,n){if(n.biff<8)return _r(e,t);for(var a=e.l+t,i=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=Bo(e,0,n),i.push(r[s][1]);break;case"PtgMemArea":r[s][2]=Mo(e,r[s][1],n),i.push(r[s][2]);break;case"PtgExp":n&&n.biff==12&&(r[s][1][1]=e.read_shift(4),i.push(r[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[s][0]}return t=a-e.l,t!==0&&i.push(_r(e,t)),i}function pc(e,t,r){for(var n=e.l+t,a,i,s=[];n!=e.l;)t=n-e.l,i=e[e.l],a=Vn[i]||Vn[hc[i]],(i===24||i===25)&&(a=(i===24?uc:xc)[e[e.l+1]]),!a||!a.f?_r(e,t):s.push([a.n,a.f(e,t,r)]);return s}function dc(e){for(var t=[],r=0;r<e.length;++r){for(var n=e[r],a=[],i=0;i<n.length;++i){var s=n[i];if(s)switch(s[0]){case 2:a.push('"'+s[1].replace(/"/g,'""')+'"');break;default:a.push(s[1])}else a.push("")}t.push(a.join(","))}return t.join(";")}var mc={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function gc(e,t){if(!e&&!(t&&t.biff<=5&&t.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e+"'":e}function ci(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),t==0?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return r.SID!=null?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(i){return i.Name}).join(";;");default:return e[n[0]][0][3]?(a=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Xn(e,t,r){var n=ci(e,t,r);return n=="#REF"?n:gc(n,r)}function ft(e,t,r,n,a){var i=a&&a.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},f=[],o,l,c,p=0,x=0,v,E="";if(!e[0]||!e[0][0])return"";for(var u=-1,_="",O=0,R=e[0].length;O<R;++O){var y=e[0][O];switch(y[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":if(o=f.pop(),l=f.pop(),u>=0){switch(e[0][u][1][0]){case 0:_=Fe(" ",e[0][u][1][1]);break;case 1:_=Fe("\r",e[0][u][1][1]);break;default:if(_="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][u][1][0])}l=l+_,u=-1}f.push(l+mc[y[0]]+o);break;case"PtgIsect":o=f.pop(),l=f.pop(),f.push(l+" "+o);break;case"PtgUnion":o=f.pop(),l=f.pop(),f.push(l+","+o);break;case"PtgRange":o=f.pop(),l=f.pop(),f.push(l+":"+o);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=Tt(y[1][1],s,a),f.push(Et(c,i));break;case"PtgRefN":c=r?Tt(y[1][1],r,a):y[1][1],f.push(Et(c,i));break;case"PtgRef3d":p=y[1][1],c=Tt(y[1][2],s,a),E=Xn(n,p,a),f.push(E+"!"+Et(c,i));break;case"PtgFunc":case"PtgFuncVar":var M=y[1][0],j=y[1][1];M||(M=0),M&=127;var ee=M==0?[]:f.slice(-M);f.length-=M,j==="User"&&(j=ee.shift()),f.push(j+"("+ee.join(",")+")");break;case"PtgBool":f.push(y[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(y[1]);break;case"PtgNum":f.push(String(y[1]));break;case"PtgStr":f.push('"'+y[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(y[1]);break;case"PtgAreaN":v=On(y[1][1],r?{s:r}:s,a),f.push(T0(v,a));break;case"PtgArea":v=On(y[1][1],s,a),f.push(T0(v,a));break;case"PtgArea3d":p=y[1][1],v=y[1][2],E=Xn(n,p,a),f.push(E+"!"+T0(v,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":x=y[1][2];var C=(n.names||[])[x-1]||(n[0]||[])[x],b=C?C.Name:"SH33TJSNAME"+String(x);b&&b.slice(0,6)=="_xlfn."&&!a.xlfn&&(b=b.slice(6)),f.push(b);break;case"PtgNameX":var L=y[1][1];x=y[1][2];var G;if(a.biff<=5)L<0&&(L=-L),n[L]&&(G=n[L][x]);else{var V="";if(((n[L]||[])[0]||[])[0]==14849||(((n[L]||[])[0]||[])[0]==1025?n[L][x]&&n[L][x].itab>0&&(V=n.SheetNames[n[L][x].itab-1]+"!"):V=n.SheetNames[x-1]+"!"),n[L]&&n[L][x])V+=n[L][x].Name;else if(n[0]&&n[0][x])V+=n[0][x].Name;else{var K=(ci(n,L,a)||"").split(";;");K[x-1]?V=K[x-1]:V+="SH33TJSERRX"}f.push(V);break}G||(G={Name:"SH33TJSERRY"}),f.push(G.Name);break;case"PtgParen":var re="(",ge=")";if(u>=0){switch(_="",e[0][u][1][0]){case 2:re=Fe(" ",e[0][u][1][1])+re;break;case 3:re=Fe("\r",e[0][u][1][1])+re;break;case 4:ge=Fe(" ",e[0][u][1][1])+ge;break;case 5:ge=Fe("\r",e[0][u][1][1])+ge;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][u][1][0])}u=-1}f.push(re+f.pop()+ge);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:y[1][1],r:y[1][0]};var le={c:r.c,r:r.r};if(n.sharedf[me(c)]){var Me=n.sharedf[me(c)];f.push(ft(Me,s,le,n,a))}else{var Ce=!1;for(o=0;o!=n.arrayf.length;++o)if(l=n.arrayf[o],!(c.c<l[0].s.c||c.c>l[0].e.c)&&!(c.r<l[0].s.r||c.r>l[0].e.r)){f.push(ft(l[1],s,le,n,a)),Ce=!0;break}Ce||f.push(y[1])}break;case"PtgArray":f.push("{"+dc(y[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":u=O;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"+y[1].idx+"[#"+y[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(y));default:throw new Error("Unrecognized Formula Token: "+String(y))}var cr=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(a.biff!=3&&u>=0&&cr.indexOf(e[0][O][0])==-1){y=e[0][u];var Ne=!0;switch(y[1][0]){case 4:Ne=!1;case 0:_=Fe(" ",y[1][1]);break;case 5:Ne=!1;case 1:_=Fe("\r",y[1][1]);break;default:if(_="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+y[1][0])}f.push((Ne?_:"")+f.pop()+(Ne?"":_)),u=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function _c(e){if(e==null){var t=B(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}else if(typeof e=="number")return Xr(e);return Xr(0)}function Tc(e,t,r,n,a){var i=Kr(t,r,a),s=_c(e.v),f=B(6),o=33;f.write_shift(2,o),f.write_shift(4,0);for(var l=B(e.bf.length),c=0;c<e.bf.length;++c)l[c]=e.bf[c];var p=be([i,s,f,l]);return p}function c0(e,t,r){var n=e.read_shift(4),a=pc(e,n,r),i=e.read_shift(4),s=i>0?vc(e,i,a,r):null;return[a,s]}var Ec=c0,h0=c0,wc=c0,Sc=c0,Ac={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"},hi={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"},Fc={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 yc(e){var t="of:="+e.replace(K0,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function Cc(e){return e.replace(/\./,"!")}var wt=typeof Map<"u";function $0(e,t,r){var n=0,a=e.length;if(r){if(wt?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=wt?r.get(t):r[t];n<i.length;++n)if(e[i[n]].t===t)return e.Count++,i[n]}}else for(;n<a;++n)if(e[n].t===t)return e.Count++,n;return e[a]={t},e.Count++,e.Unique++,r&&(wt?(r.has(t)||r.set(t,[]),r.get(t).push(a)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(a))),a}function u0(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(yr=t.MDW),t.width!=null?r.customWidth=1:t.wpx!=null?n=r0(t.wpx):t.wch!=null&&(n=t.wch),n>-1?(r.width=D0(n),r.customWidth=1):t.width!=null&&(r.width=t.width),t.hidden&&(r.hidden=!0),t.level!=null&&(r.outlineLevel=r.level=t.level),r}function ui(e,t){if(!!e){var r=[.7,.7,.75,.75,.3,.3];t=="xlml"&&(r=[1,1,1,1,.5,.5]),e.left==null&&(e.left=r[0]),e.right==null&&(e.right=r[1]),e.top==null&&(e.top=r[2]),e.bottom==null&&(e.bottom=r[3]),e.header==null&&(e.header=r[4]),e.footer==null&&(e.footer=r[5])}}function Mr(e,t,r){var n=r.revssf[t.z!=null?t.z:"General"],a=60,i=e.length;if(n==null&&r.ssf){for(;a<392;++a)if(r.ssf[a]==null){fa(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}}for(a=0;a!=i;++a)if(e[a].numFmtId===n)return a;return e[i]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function Oc(e,t,r){if(e&&e["!ref"]){var n=Ee(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function Dc(e){if(e.length===0)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+De(e[r])+'"/>';return t+"</mergeCells>"}function Rc(e,t,r,n,a){var i=!1,s={},f=null;if(n.bookType!=="xlsx"&&t.vbaraw){var o=t.SheetNames[r];try{t.Workbook&&(o=t.Workbook.Sheets[r].CodeName||o)}catch{}i=!0,s.codeName=Sr(de(o))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),f=(f||"")+Y("outlinePr",null,l)}!i&&!f||(a[a.length]=Y("sheetPr",f,s))}var Ic=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Nc=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function kc(e){var t={sheet:1};return Ic.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),Nc.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=ja(e.password).toString(16).toUpperCase()),Y("sheetProtection",null,t)}function Pc(e){return ui(e),Y("pageMargins",null,e)}function Lc(e,t){for(var r=["<cols>"],n,a=0;a!=t.length;++a)!(n=t[a])||(r[r.length]=Y("col",null,u0(a,n)));return r[r.length]="</cols>",r.join("")}function Mc(e,t,r,n){var a=typeof e.ref=="string"?e.ref:De(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=ar(a);s.s.r==s.e.r&&(s.e.r=ar(t["!ref"]).e.r,a=De(s));for(var f=0;f<i.length;++f){var o=i[f];if(o.Name=="_xlnm._FilterDatabase"&&o.Sheet==n){o.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return f==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),Y("autoFilter",null,{ref:a})}function Bc(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),Y("sheetViews",Y("sheetView",null,a),{})}function Uc(e,t,r,n){if(e.c&&r["!comments"].push([t,e.c]),e.v===void 0&&typeof e.f!="string"||e.t==="z"&&!e.f)return"";var a="",i=e.t,s=e.v;if(e.t!=="z")switch(e.t){case"b":a=e.v?"1":"0";break;case"n":a=""+e.v;break;case"e":a=Nt[e.v];break;case"d":n&&n.cellDates?a=je(e.v,-1).toISOString():(e=qe(e),e.t="n",a=""+(e.v=Ze(je(e.v)))),typeof e.z>"u"&&(e.z=ye[14]);break;default:a=e.v;break}var f=We("v",de(a)),o={r:t},l=Mr(n.cellXfs,e,n);switch(l!==0&&(o.s=l),e.t){case"n":break;case"d":o.t="d";break;case"b":o.t="b";break;case"e":o.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){f=We("v",""+$0(n.Strings,e.v,n.revStrings)),o.t="s";break}o.t="str";break}if(e.t!=i&&(e.t=i,e.v=s),typeof e.f=="string"&&e.f){var c=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;f=Y("f",de(e.f),c)+(e.v!=null?f:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(o.cm=1),Y("c",f,o)}function bc(e,t,r,n){var a=[],i=[],s=Ee(e["!ref"]),f="",o,l="",c=[],p=0,x=0,v=e["!rows"],E=Array.isArray(e),u={r:l},_,O=-1;for(x=s.s.c;x<=s.e.c;++x)c[x]=Xe(x);for(p=s.s.r;p<=s.e.r;++p){for(i=[],l=He(p),x=s.s.c;x<=s.e.c;++x){o=c[x]+l;var R=E?(e[p]||[])[x]:e[o];R!==void 0&&(f=Uc(R,o,e,t))!=null&&i.push(f)}(i.length>0||v&&v[p])&&(u={r:l},v&&v[p]&&(_=v[p],_.hidden&&(u.hidden=1),O=-1,_.hpx?O=t0(_.hpx):_.hpt&&(O=_.hpt),O>-1&&(u.ht=O,u.customHeight=1),_.level&&(u.outlineLevel=_.level)),a[a.length]=Y("row",i.join(""),u))}if(v)for(;p<v.length;++p)v&&v[p]&&(u={r:p+1},_=v[p],_.hidden&&(u.hidden=1),O=-1,_.hpx?O=t0(_.hpx):_.hpt&&(O=_.hpt),O>-1&&(u.ht=O,u.customHeight=1),_.level&&(u.outlineLevel=_.level),a[a.length]=Y("row","",u));return a.join("")}function xi(e,t,r,n){var a=[Re,Y("worksheet",null,{xmlns:lt[0],"xmlns:r":ke.r})],i=r.SheetNames[e],s=0,f="",o=r.Sheets[i];o==null&&(o={});var l=o["!ref"]||"A1",c=Ee(l);if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),l=De(c)}n||(n={}),o["!comments"]=[];var p=[];Rc(o,r,e,t,a),a[a.length]=Y("dimension",null,{ref:l}),a[a.length]=Bc(o,t,e,r),t.sheetFormat&&(a[a.length]=Y("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),o["!cols"]!=null&&o["!cols"].length>0&&(a[a.length]=Lc(o,o["!cols"])),a[s=a.length]="<sheetData/>",o["!links"]=[],o["!ref"]!=null&&(f=bc(o,t),f.length>0&&(a[a.length]=f)),a.length>s+1&&(a[a.length]="</sheetData>",a[s]=a[s].replace("/>",">")),o["!protect"]&&(a[a.length]=kc(o["!protect"])),o["!autofilter"]!=null&&(a[a.length]=Mc(o["!autofilter"],o,r,e)),o["!merges"]!=null&&o["!merges"].length>0&&(a[a.length]=Dc(o["!merges"]));var x=-1,v,E=-1;return o["!links"].length>0&&(a[a.length]="<hyperlinks>",o["!links"].forEach(function(u){!u[1].Target||(v={ref:u[0]},u[1].Target.charAt(0)!="#"&&(E=pe(n,-1,de(u[1].Target).replace(/#.*$/,""),he.HLINK),v["r:id"]="rId"+E),(x=u[1].Target.indexOf("#"))>-1&&(v.location=de(u[1].Target.slice(x+1))),u[1].Tooltip&&(v.tooltip=de(u[1].Tooltip)),a[a.length]=Y("hyperlink",null,v))}),a[a.length]="</hyperlinks>"),delete o["!links"],o["!margins"]!=null&&(a[a.length]=Pc(o["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(a[a.length]=We("ignoredErrors",Y("ignoredError",null,{numberStoredAsText:1,sqref:l}))),p.length>0&&(E=pe(n,-1,"../drawings/drawing"+(e+1)+".xml",he.DRAW),a[a.length]=Y("drawing",null,{"r:id":"rId"+E}),o["!drawing"]=p),o["!comments"].length>0&&(E=pe(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",he.VML),a[a.length]=Y("legacyDrawing",null,{"r:id":"rId"+E}),o["!legacy"]=E),a.length>1&&(a[a.length]="</worksheet>",a[1]=a[1].replace("/>",">")),a.join("")}function Wc(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=n,i&7&&(r.level=i&7),i&16&&(r.hidden=!0),i&32&&(r.hpt=a/20),r}function Hc(e,t,r){var n=B(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var i=320;a.hpx?i=t0(a.hpx)*20:a.hpt&&(i=a.hpt*20),n.write_shift(2,i),n.write_shift(1,0);var s=0;a.level&&(s|=a.level),a.hidden&&(s|=16),(a.hpx||a.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var f=0,o=n.l;n.l+=4;for(var l={r:e,c:0},c=0;c<16;++c)if(!(t.s.c>c+1<<10||t.e.c<c<<10)){for(var p=-1,x=-1,v=c<<10;v<c+1<<10;++v){l.c=v;var E=Array.isArray(r)?(r[l.r]||[])[l.c]:r[me(l)];E&&(p<0&&(p=v),x=v)}p<0||(++f,n.write_shift(4,p),n.write_shift(4,x))}var u=n.l;return n.l=o,n.write_shift(4,f),n.l=u,n.length>n.l?n.slice(0,n.l):n}function Gc(e,t,r,n){var a=Hc(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&W(e,0,a)}var Vc=Jr,Xc=ct;function Kc(){}function zc(e,t){var r={},n=e[e.l];return++e.l,r.above=!(n&64),r.left=!(n&128),e.l+=18,r.name=ef(e),r}function Yc(e,t,r){r==null&&(r=B(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return qt({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),Oa(e,r),r.slice(0,r.l)}function $c(e){var t=or(e);return[t]}function jc(e,t,r){return r==null&&(r=B(8)),Yr(t,r)}function Jc(e){var t=$r(e);return[t]}function Zc(e,t,r){return r==null&&(r=B(4)),jr(t,r)}function qc(e){var t=or(e),r=e.read_shift(1);return[t,r,"b"]}function Qc(e,t,r){return r==null&&(r=B(9)),Yr(t,r),r.write_shift(1,e.v?1:0),r}function e1(e){var t=$r(e),r=e.read_shift(1);return[t,r,"b"]}function r1(e,t,r){return r==null&&(r=B(5)),jr(t,r),r.write_shift(1,e.v?1:0),r}function t1(e){var t=or(e),r=e.read_shift(1);return[t,r,"e"]}function n1(e,t,r){return r==null&&(r=B(9)),Yr(t,r),r.write_shift(1,e.v),r}function a1(e){var t=$r(e),r=e.read_shift(1);return[t,r,"e"]}function i1(e,t,r){return r==null&&(r=B(8)),jr(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function s1(e){var t=or(e),r=e.read_shift(4);return[t,r,"s"]}function f1(e,t,r){return r==null&&(r=B(12)),Yr(t,r),r.write_shift(4,t.v),r}function l1(e){var t=$r(e),r=e.read_shift(4);return[t,r,"s"]}function o1(e,t,r){return r==null&&(r=B(8)),jr(t,r),r.write_shift(4,t.v),r}function c1(e){var t=or(e),r=ht(e);return[t,r,"n"]}function h1(e,t,r){return r==null&&(r=B(16)),Yr(t,r),Xr(e.v,r),r}function u1(e){var t=$r(e),r=ht(e);return[t,r,"n"]}function x1(e,t,r){return r==null&&(r=B(12)),jr(t,r),Xr(e.v,r),r}function v1(e){var t=or(e),r=Da(e);return[t,r,"n"]}function p1(e,t,r){return r==null&&(r=B(12)),Yr(t,r),Ra(e.v,r),r}function d1(e){var t=$r(e),r=Da(e);return[t,r,"n"]}function m1(e,t,r){return r==null&&(r=B(8)),jr(t,r),Ra(e.v,r),r}function g1(e){var t=or(e),r=W0(e);return[t,r,"is"]}function _1(e){var t=or(e),r=Ke(e);return[t,r,"str"]}function T1(e,t,r){return r==null&&(r=B(12+4*e.v.length)),Yr(t,r),Le(e.v,r),r.length>r.l?r.slice(0,r.l):r}function E1(e){var t=$r(e),r=Ke(e);return[t,r,"str"]}function w1(e,t,r){return r==null&&(r=B(8+4*e.v.length)),jr(t,r),Le(e.v,r),r.length>r.l?r.slice(0,r.l):r}function S1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"b"];if(r.cellFormula){e.l+=2;var f=h0(e,n-e.l,r);s[3]=ft(f,null,a,r.supbooks,r)}else e.l=n;return s}function A1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"e"];if(r.cellFormula){e.l+=2;var f=h0(e,n-e.l,r);s[3]=ft(f,null,a,r.supbooks,r)}else e.l=n;return s}function F1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=ht(e),s=[a,i,"n"];if(r.cellFormula){e.l+=2;var f=h0(e,n-e.l,r);s[3]=ft(f,null,a,r.supbooks,r)}else e.l=n;return s}function y1(e,t,r){var n=e.l+t,a=or(e);a.r=r["!row"];var i=Ke(e),s=[a,i,"str"];if(r.cellFormula){e.l+=2;var f=h0(e,n-e.l,r);s[3]=ft(f,null,a,r.supbooks,r)}else e.l=n;return s}var C1=Jr,O1=ct;function D1(e,t){return t==null&&(t=B(4)),t.write_shift(4,e),t}function R1(e,t){var r=e.l+t,n=Jr(e),a=H0(e),i=Ke(e),s=Ke(e),f=Ke(e);e.l=r;var o={rfx:n,relId:a,loc:i,display:f};return s&&(o.Tooltip=s),o}function I1(e,t){var r=B(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));ct({s:Pe(e[0]),e:Pe(e[0])},r),G0("rId"+t,r);var n=e[1].Target.indexOf("#"),a=n==-1?"":e[1].Target.slice(n+1);return Le(a||"",r),Le(e[1].Tooltip||"",r),Le("",r),r.slice(0,r.l)}function N1(){}function k1(e,t,r){var n=e.l+t,a=Ia(e),i=e.read_shift(1),s=[a];if(s[2]=i,r.cellFormula){var f=Ec(e,n-e.l,r);s[1]=f}else e.l=n;return s}function P1(e,t,r){var n=e.l+t,a=Jr(e),i=[a];if(r.cellFormula){var s=Sc(e,n-e.l,r);i[1]=s,e.l=n}else e.l=n;return i}function L1(e,t,r){r==null&&(r=B(18));var n=u0(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,(n.width||10)*256),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),typeof n.width=="number"&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}var vi=["left","right","top","bottom","header","footer"];function M1(e){var t={};return vi.forEach(function(r){t[r]=ht(e)}),t}function B1(e,t){return t==null&&(t=B(6*8)),ui(e),vi.forEach(function(r){Xr(e[r],t)}),t}function U1(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function b1(e,t,r){r==null&&(r=B(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}function W1(e){var t=B(24);return t.write_shift(4,4),t.write_shift(4,1),ct(e,t),t}function H1(e,t){return t==null&&(t=B(16*4+2)),t.write_shift(2,e.password?ja(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach(function(r){r[1]?t.write_shift(4,e[r[0]]!=null&&!e[r[0]]?1:0):t.write_shift(4,e[r[0]]!=null&&e[r[0]]?0:1)}),t}function G1(){}function V1(){}function X1(e,t,r,n,a,i,s){if(t.v===void 0)return!1;var f="";switch(t.t){case"b":f=t.v?"1":"0";break;case"d":t=qe(t),t.z=t.z||ye[14],t.v=Ze(je(t.v)),t.t="n";break;case"n":case"e":f=""+t.v;break;default:f=t.v;break}var o={r,c:n};switch(o.s=Mr(a.cellXfs,t,a),t.l&&i["!links"].push([me(o),t.l]),t.c&&i["!comments"].push([me(o),t.c]),t.t){case"s":case"str":return a.bookSST?(f=$0(a.Strings,t.v,a.revStrings),o.t="s",o.v=f,s?W(e,18,o1(t,o)):W(e,7,f1(t,o))):(o.t="str",s?W(e,17,w1(t,o)):W(e,6,T1(t,o))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?s?W(e,13,m1(t,o)):W(e,2,p1(t,o)):s?W(e,16,x1(t,o)):W(e,5,h1(t,o)),!0;case"b":return o.t="b",s?W(e,15,r1(t,o)):W(e,4,Qc(t,o)),!0;case"e":return o.t="e",s?W(e,14,i1(t,o)):W(e,3,n1(t,o)),!0}return s?W(e,12,Zc(t,o)):W(e,1,jc(t,o)),!0}function K1(e,t,r,n){var a=Ee(t["!ref"]||"A1"),i,s="",f=[];W(e,145);var o=Array.isArray(t),l=a.e.r;t["!rows"]&&(l=Math.max(a.e.r,t["!rows"].length-1));for(var c=a.s.r;c<=l;++c){s=He(c),Gc(e,t,a,c);var p=!1;if(c<=a.e.r)for(var x=a.s.c;x<=a.e.c;++x){c===a.s.r&&(f[x]=Xe(x)),i=f[x]+s;var v=o?(t[c]||[])[x]:t[i];if(!v){p=!1;continue}p=X1(e,v,c,x,n,t,p)}}W(e,146)}function z1(e,t){!t||!t["!merges"]||(W(e,177,D1(t["!merges"].length)),t["!merges"].forEach(function(r){W(e,176,O1(r))}),W(e,178))}function Y1(e,t){!t||!t["!cols"]||(W(e,390),t["!cols"].forEach(function(r,n){r&&W(e,60,L1(n,r))}),W(e,391))}function $1(e,t){!t||!t["!ref"]||(W(e,648),W(e,649,W1(Ee(t["!ref"]))),W(e,650))}function j1(e,t,r){t["!links"].forEach(function(n){if(!!n[1].Target){var a=pe(r,-1,n[1].Target.replace(/#.*$/,""),he.HLINK);W(e,494,I1(n,a))}}),delete t["!links"]}function J1(e,t,r,n){if(t["!comments"].length>0){var a=pe(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",he.VML);W(e,551,G0("rId"+a)),t["!legacy"]=a}}function Z1(e,t,r,n){if(!!t["!autofilter"]){var a=t["!autofilter"],i=typeof a.ref=="string"?a.ref:De(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,f=ar(i);f.s.r==f.e.r&&(f.e.r=ar(t["!ref"]).e.r,i=De(f));for(var o=0;o<s.length;++o){var l=s[o];if(l.Name=="_xlnm._FilterDatabase"&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+i;break}}o==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+i}),W(e,161,ct(Ee(i))),W(e,162)}}function q1(e,t,r){W(e,133),W(e,137,b1(t,r)),W(e,138),W(e,134)}function Q1(e,t){!t["!protect"]||W(e,535,H1(t["!protect"]))}function eh(e,t,r,n){var a=Je(),i=r.SheetNames[e],s=r.Sheets[i]||{},f=i;try{r&&r.Workbook&&(f=r.Workbook.Sheets[e].CodeName||f)}catch{}var o=Ee(s["!ref"]||"A1");if(o.e.c>16383||o.e.r>1048575){if(t.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");o.e.c=Math.min(o.e.c,16383),o.e.r=Math.min(o.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],W(a,129),(r.vbaraw||s["!outline"])&&W(a,147,Yc(f,s["!outline"])),W(a,148,Xc(o)),q1(a,s,r.Workbook),Y1(a,s),K1(a,s,e,t),Q1(a,s),Z1(a,s,r,e),z1(a,s),j1(a,s,n),s["!margins"]&&W(a,476,B1(s["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&$1(a,s),J1(a,s,e,n),W(a,130),a.end()}function rh(e,t){e.l+=10;var r=Ke(e);return{name:r}}var th=[["allowRefreshQuery",!1,"bool"],["autoCompressPictures",!0,"bool"],["backupFile",!1,"bool"],["checkCompatibility",!1,"bool"],["CodeName",""],["date1904",!1,"bool"],["defaultThemeVersion",0,"int"],["filterPrivacy",!1,"bool"],["hidePivotFieldList",!1,"bool"],["promptedSolutions",!1,"bool"],["publishItems",!1,"bool"],["refreshAllConnections",!1,"bool"],["saveExternalLinkValues",!0,"bool"],["showBorderUnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];function nh(e){return!e.Workbook||!e.Workbook.WBProps?"false":Ns(e.Workbook.WBProps.date1904)?"true":"false"}var ah="][*?/\\".split("");function pi(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return ah.forEach(function(n){if(e.indexOf(n)!=-1){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}}),r}function ih(e,t,r){e.forEach(function(n,a){pi(n);for(var i=0;i<a;++i)if(n==e[i])throw new Error("Duplicate Sheet Name: "+n);if(r){var s=t&&t[a]&&t[a].CodeName||n;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function sh(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t=e.Workbook&&e.Workbook.Sheets||[];ih(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)Oc(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}function di(e){var t=[Re];t[t.length]=Y("workbook",null,{xmlns:lt[0],"xmlns:r":ke.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(th.forEach(function(f){e.Workbook.WBProps[f[0]]!=null&&e.Workbook.WBProps[f[0]]!=f[1]&&(n[f[0]]=e.Workbook.WBProps[f[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=Y("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],i=0;if(a&&a[0]&&!!a[0].Hidden){for(t[t.length]="<bookViews>",i=0;i!=e.SheetNames.length&&!(!a[i]||!a[i].Hidden);++i);i==e.SheetNames.length&&(i=0),t[t.length]='<workbookView firstSheet="'+i+'" activeTab="'+i+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",i=0;i!=e.SheetNames.length;++i){var s={name:de(e.SheetNames[i].slice(0,31))};if(s.sheetId=""+(i+1),s["r:id"]="rId"+(i+1),a[i])switch(a[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}t[t.length]=Y("sheet",null,s)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(f){var o={name:f.Name};f.Comment&&(o.comment=f.Comment),f.Sheet!=null&&(o.localSheetId=""+f.Sheet),f.Hidden&&(o.hidden="1"),f.Ref&&(t[t.length]=Y("definedName",de(f.Ref),o))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function fh(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=O0(e),r.name=Ke(e),r}function lh(e,t){return t||(t=B(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),G0(e.strRelID,t),Le(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function oh(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?Ke(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(n&65536),r.backupFile=!!(n&64),r.checkCompatibility=!!(n&4096),r.date1904=!!(n&1),r.filterPrivacy=!!(n&8),r.hidePivotFieldList=!!(n&1024),r.promptedSolutions=!!(n&16),r.publishItems=!!(n&2048),r.refreshAllConnections=!!(n&262144),r.saveExternalLinkValues=!!(n&128),r.showBorderUnselectedTables=!!(n&4),r.showInkAnnotation=!!(n&32),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(n&32768),r.updateLinks=["userSet","never","always"][n>>8&3],r}function ch(e,t){t||(t=B(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),Oa(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function hh(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),i=rf(e),s=wc(e,0,r),f=H0(e);e.l=n;var o={Name:i,Ptg:s};return a<268435455&&(o.Sheet=a),f&&(o.Comment=f),o}function uh(e,t){W(e,143);for(var r=0;r!=t.SheetNames.length;++r){var n=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,a={Hidden:n,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};W(e,156,lh(a))}W(e,144)}function xh(e,t){t||(t=B(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return Le("SheetJS",t),Le(Kt.version,t),Le(Kt.version,t),Le("7262",t),t.length>t.l?t.slice(0,t.l):t}function vh(e,t){t||(t=B(29)),t.write_shift(-4,0),t.write_shift(-4,460),t.write_shift(4,28800),t.write_shift(4,17600),t.write_shift(4,500),t.write_shift(4,e),t.write_shift(4,e);var r=120;return t.write_shift(1,r),t.length>t.l?t.slice(0,t.l):t}function ph(e,t){if(!(!t.Workbook||!t.Workbook.Sheets)){for(var r=t.Workbook.Sheets,n=0,a=-1,i=-1;n<r.length;++n)!r[n]||!r[n].Hidden&&a==-1?a=n:r[n].Hidden==1&&i==-1&&(i=n);i>a||(W(e,135),W(e,158,vh(a)),W(e,136))}}function dh(e,t){var r=Je();return W(r,131),W(r,128,xh()),W(r,153,ch(e.Workbook&&e.Workbook.WBProps||null)),ph(r,e),uh(r,e),W(r,132),r.end()}function mh(e,t,r){return(t.slice(-4)===".bin"?dh:di)(e)}function gh(e,t,r,n,a){return(t.slice(-4)===".bin"?eh:xi)(e,r,n,a)}function _h(e,t,r){return(t.slice(-4)===".bin"?Ml:qa)(e,r)}function Th(e,t,r){return(t.slice(-4)===".bin"?ol:$a)(e,r)}function Eh(e,t,r){return(t.slice(-4)===".bin"?ql:ni)(e)}function wh(e){return(e.slice(-4)===".bin"?Xl:ri)()}function Sh(e,t){var r=[];return e.Props&&r.push(gf(e.Props,t)),e.Custprops&&r.push(_f(e.Props,e.Custprops)),r.join("")}function Ah(){return""}function Fh(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach(function(n,a){var i=[];i.push(Y("NumberFormat",null,{"ss:Format":de(ye[n.numFmtId])}));var s={"ss:ID":"s"+(21+a)};r.push(Y("Style",i.join(""),s))}),Y("Styles",r.join(""))}function mi(e){return Y("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+z0(e.Ref,{r:0,c:0})})}function yh(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n<t.length;++n){var a=t[n];a.Sheet==null&&(a.Name.match(/^_xlfn\./)||r.push(mi(a)))}return Y("Names",r.join(""))}function Ch(e,t,r,n){if(!e||!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,i=[],s=0;s<a.length;++s){var f=a[s];f.Sheet==r&&(f.Name.match(/^_xlfn\./)||i.push(mi(f)))}return i.join("")}function Oh(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(Y("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(Y("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(Y("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(Y("Visible",n.Workbook.Sheets[r].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i<r&&!(n.Workbook.Sheets[i]&&!n.Workbook.Sheets[i].Hidden);++i);i==r&&a.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push("<DisplayRightToLeft/>"),e["!protect"]&&(a.push(We("ProtectContents","True")),e["!protect"].objects&&a.push(We("ProtectObjects","True")),e["!protect"].scenarios&&a.push(We("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?a.push(We("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&a.push(We("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(s){e["!protect"][s[0]]&&a.push("<"+s[1]+"/>")})),a.length==0?"":Y("WorksheetOptions",a.join(""),{xmlns:tr.x})}function Dh(e){return e.map(function(t){var r=Is(t.t||""),n=Y("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return Y("Comment",n,{"ss:Author":t.a})}).join("")}function Rh(e,t,r,n,a,i,s){if(!e||e.v==null&&e.f==null)return"";var f={};if(e.f&&(f["ss:Formula"]="="+de(z0(e.f,s))),e.F&&e.F.slice(0,t.length)==t){var o=Pe(e.F.slice(t.length+1));f["ss:ArrayRange"]="RC:R"+(o.r==s.r?"":"["+(o.r-s.r)+"]")+"C"+(o.c==s.c?"":"["+(o.c-s.c)+"]")}if(e.l&&e.l.Target&&(f["ss:HRef"]=de(e.l.Target),e.l.Tooltip&&(f["x:HRefScreenTip"]=de(e.l.Tooltip))),r["!merges"])for(var l=r["!merges"],c=0;c!=l.length;++c)l[c].s.c!=s.c||l[c].s.r!=s.r||(l[c].e.c>l[c].s.c&&(f["ss:MergeAcross"]=l[c].e.c-l[c].s.c),l[c].e.r>l[c].s.r&&(f["ss:MergeDown"]=l[c].e.r-l[c].s.r));var p="",x="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":p="Number",x=String(e.v);break;case"b":p="Boolean",x=e.v?"1":"0";break;case"e":p="Error",x=Nt[e.v];break;case"d":p="DateTime",x=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||ye[14]);break;case"s":p="String",x=Rs(e.v||"");break}var v=Mr(n.cellXfs,e,n);f["ss:StyleID"]="s"+(21+v),f["ss:Index"]=s.c+1;var E=e.v!=null?x:"",u=e.t=="z"?"":'<Data ss:Type="'+p+'">'+E+"</Data>";return(e.c||[]).length>0&&(u+=Dh(e.c)),Y("Cell",u,f)}function Ih(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=Za(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function Nh(e,t,r,n){if(!e["!ref"])return"";var a=Ee(e["!ref"]),i=e["!merges"]||[],s=0,f=[];e["!cols"]&&e["!cols"].forEach(function(_,O){X0(_);var R=!!_.width,y=u0(O,_),M={"ss:Index":O+1};R&&(M["ss:Width"]=e0(y.width)),_.hidden&&(M["ss:Hidden"]="1"),f.push(Y("Column",null,M))});for(var o=Array.isArray(e),l=a.s.r;l<=a.e.r;++l){for(var c=[Ih(l,(e["!rows"]||[])[l])],p=a.s.c;p<=a.e.c;++p){var x=!1;for(s=0;s!=i.length;++s)if(!(i[s].s.c>p)&&!(i[s].s.r>l)&&!(i[s].e.c<p)&&!(i[s].e.r<l)){(i[s].s.c!=p||i[s].s.r!=l)&&(x=!0);break}if(!x){var v={r:l,c:p},E=me(v),u=o?(e[l]||[])[p]:e[E];c.push(Rh(u,E,e,t,r,n,v))}}c.push("</Row>"),c.length>2&&f.push(c.join(""))}return f.join("")}function kh(e,t,r){var n=[],a=r.SheetNames[e],i=r.Sheets[a],s=i?Ch(i,t,e,r):"";return s.length>0&&n.push("<Names>"+s+"</Names>"),s=i?Nh(i,t,e,r):"",s.length>0&&n.push("<Table>"+s+"</Table>"),n.push(Oh(i,t,e,r)),n.join("")}function Ph(e,t){t||(t={}),e.SSF||(e.SSF=qe(ye)),e.SSF&&(f0(),s0(e.SSF),t.revssf=l0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Mr(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Sh(e,t)),r.push(Ah()),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(Y("Worksheet",kh(n,t,e),{"ss:Name":de(e.SheetNames[n])}));return r[2]=Fh(e,t),r[3]=yh(e),Re+Y("Workbook",r.join(""),{xmlns:tr.ss,"xmlns:o":tr.o,"xmlns:x":tr.x,"xmlns:ss":tr.ss,"xmlns:dt":tr.dt,"xmlns:html":tr.html})}var S0={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Lh(e,t){var r=[],n=[],a=[],i=0,s,f=mn(Rn,"n"),o=mn(In,"n");if(e.Props)for(s=Ge(e.Props),i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(f,s[i])?r:Object.prototype.hasOwnProperty.call(o,s[i])?n:a).push([s[i],e.Props[s[i]]]);if(e.Custprops)for(s=Ge(e.Custprops),i=0;i<s.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},s[i])||(Object.prototype.hasOwnProperty.call(f,s[i])?r:Object.prototype.hasOwnProperty.call(o,s[i])?n:a).push([s[i],e.Custprops[s[i]]]);var l=[];for(i=0;i<a.length;++i)Ha.indexOf(a[i][0])>-1||Ua.indexOf(a[i][0])>-1||a[i][1]!=null&&l.push(a[i]);n.length&&_e.utils.cfb_add(t,"/SummaryInformation",Mn(n,S0.SI,o,In)),(r.length||l.length)&&_e.utils.cfb_add(t,"/DocumentSummaryInformation",Mn(r,S0.DSI,f,Rn,l.length?l:null,S0.UDI))}function Mh(e,t){var r=t||{},n=_e.utils.cfb_new({root:"R"}),a="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":a="/Workbook",r.biff=8;break;case"biff5":a="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return _e.utils.cfb_add(n,a,gi(e,r)),r.biff==8&&(e.Props||e.Custprops)&&Lh(e,n),r.biff==8&&e.vbaraw&&Ql(n,_e.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var Bh={0:{f:Wc},1:{f:$c},2:{f:v1},3:{f:t1},4:{f:qc},5:{f:c1},6:{f:_1},7:{f:s1},8:{f:y1},9:{f:F1},10:{f:S1},11:{f:A1},12:{f:Jc},13:{f:d1},14:{f:a1},15:{f:e1},16:{f:u1},17:{f:E1},18:{f:l1},19:{f:W0},20:{},21:{},22:{},23:{},24:{},25:{},26:{},27:{},28:{},29:{},30:{},31:{},32:{},33:{},34:{},35:{T:1},36:{T:-1},37:{T:1},38:{T:-1},39:{f:hh},40:{},42:{},43:{f:gl},44:{f:dl},45:{f:El},46:{f:Sl},47:{f:wl},48:{},49:{f:$s},50:{},51:{f:bl},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Jf},62:{f:g1},63:{f:Kl},64:{f:G1},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:_r,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:U1},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:zc},148:{f:Vc,p:16},151:{f:N1},152:{},153:{f:oh},154:{},155:{},156:{f:fh},157:{},158:{},159:{T:1,f:sl},160:{T:-1},161:{T:1,f:Jr},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:C1},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:Bl},336:{T:-1},337:{f:Gl,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:O0},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Xf},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:k1},427:{f:P1},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:M1},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Kc},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:R1},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:O0},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:Jl},633:{T:1},634:{T:-1},635:{T:1,f:$l},636:{T:-1},637:{f:qs},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:rh},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:V1},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function J(e,t,r,n){var a=t;if(!isNaN(a)){var i=n||(r||[]).length||0,s=e.next(4);s.write_shift(2,a),s.write_shift(2,i),i>0&&B0(r)&&e.push(r)}}function Uh(e,t,r,n){var a=n||(r||[]).length||0;if(a<=8224)return J(e,t,r,a);var i=t;if(!isNaN(i)){for(var s=r.parts||[],f=0,o=0,l=0;l+(s[f]||8224)<=8224;)l+=s[f]||8224,f++;var c=e.next(4);for(c.write_shift(2,i),c.write_shift(2,l),e.push(r.slice(o,o+l)),o+=l;o<a;){for(c=e.next(4),c.write_shift(2,60),l=0;l+(s[f]||8224)<=8224;)l+=s[f]||8224,f++;c.write_shift(2,l),e.push(r.slice(o,o+l)),o+=l}}}function Pt(e,t,r){return e||(e=B(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function bh(e,t,r,n){var a=B(9);return Pt(a,e,t),Va(r,n||"b",a),a}function Wh(e,t,r){var n=B(8+2*r.length);return Pt(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l<n.length?n.slice(0,n.l):n}function Hh(e,t,r,n){if(t.v!=null)switch(t.t){case"d":case"n":var a=t.t=="d"?Ze(je(t.v)):t.v;a==(a|0)&&a>=0&&a<65536?J(e,2,el(r,n,a)):J(e,3,Qf(r,n,a));return;case"b":case"e":J(e,5,bh(r,n,t.v,t.t));return;case"s":case"str":J(e,4,Wh(r,n,(t.v||"").slice(0,255)));return}J(e,1,Pt(null,r,n))}function Gh(e,t,r,n){var a=Array.isArray(t),i=Ee(t["!ref"]||"A1"),s,f="",o=[];if(i.e.c>255||i.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");i.e.c=Math.min(i.e.c,255),i.e.r=Math.min(i.e.c,16383),s=De(i)}for(var l=i.s.r;l<=i.e.r;++l){f=He(l);for(var c=i.s.c;c<=i.e.c;++c){l===i.s.r&&(o[c]=Xe(c)),s=o[c]+f;var p=a?(t[l]||[])[c]:t[s];!p||Hh(e,p,l,c)}}}function Vh(e,t){for(var r=t||{},n=Je(),a=0,i=0;i<e.SheetNames.length;++i)e.SheetNames[i]==r.sheet&&(a=i);if(a==0&&!!r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return J(n,r.biff==4?1033:r.biff==3?521:9,V0(e,16,r)),Gh(n,e.Sheets[e.SheetNames[a]],a,r),J(n,10),n.end()}function Xh(e,t,r){J(e,49,Mf({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function Kh(e,t,r){!t||[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&J(e,1054,bf(a,t[a],r))})}function zh(e,t){var r=B(19);r.write_shift(4,2151),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,1),r.write_shift(4,0),J(e,2151,r),r=B(39),r.write_shift(4,2152),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(2,3),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(2,1),r.write_shift(4,4),r.write_shift(2,0),za(Ee(t["!ref"]||"A1"),r),r.write_shift(4,4),J(e,2152,r)}function Yh(e,t){for(var r=0;r<16;++r)J(e,224,Un({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(n){J(e,224,Un(n,0,t))})}function $h(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];J(e,440,Yf(n)),n[1].Tooltip&&J(e,2048,$f(n))}delete t["!links"]}function jh(e,t){if(!!t){var r=0;t.forEach(function(n,a){++r<=256&&n&&J(e,125,Zf(u0(a,n),a))})}}function Jh(e,t,r,n,a){var i=16+Mr(a.cellXfs,t,a);if(t.v==null&&!t.bf){J(e,513,Kr(r,n,i));return}if(t.bf)J(e,6,Tc(t,r,n,a,i));else switch(t.t){case"d":case"n":var s=t.t=="d"?Ze(je(t.v)):t.v;J(e,515,Vf(r,n,s,i));break;case"b":case"e":J(e,517,Gf(r,n,t.v,i,a,t.t));break;case"s":case"str":if(a.bookSST){var f=$0(a.Strings,t.v,a.revStrings);J(e,253,Bf(r,n,f,i))}else J(e,516,Uf(r,n,(t.v||"").slice(0,255),i,a));break;default:J(e,513,Kr(r,n,i))}}function Zh(e,t,r){var n=Je(),a=r.SheetNames[e],i=r.Sheets[a]||{},s=(r||{}).Workbook||{},f=(s.Sheets||[])[e]||{},o=Array.isArray(i),l=t.biff==8,c,p="",x=[],v=Ee(i["!ref"]||"A1"),E=l?65536:16384;if(v.e.c>255||v.e.r>=E){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");v.e.c=Math.min(v.e.c,255),v.e.r=Math.min(v.e.c,E-1)}J(n,2057,V0(r,16,t)),J(n,13,lr(1)),J(n,12,lr(100)),J(n,15,$e(!0)),J(n,17,$e(!1)),J(n,16,Xr(.001)),J(n,95,$e(!0)),J(n,42,$e(!1)),J(n,43,$e(!1)),J(n,130,lr(1)),J(n,128,Hf([0,0])),J(n,131,$e(!1)),J(n,132,$e(!1)),l&&jh(n,i["!cols"]),J(n,512,Wf(v,t)),l&&(i["!links"]=[]);for(var u=v.s.r;u<=v.e.r;++u){p=He(u);for(var _=v.s.c;_<=v.e.c;++_){u===v.s.r&&(x[_]=Xe(_)),c=x[_]+p;var O=o?(i[u]||[])[_]:i[c];!O||(Jh(n,O,u,_,t),l&&O.l&&i["!links"].push([c,O.l]))}}var R=f.CodeName||f.name||a;return l&&J(n,574,Lf((s.Views||[])[0])),l&&(i["!merges"]||[]).length&&J(n,229,zf(i["!merges"])),l&&$h(n,i),J(n,442,Ka(R)),l&&zh(n,i),J(n,10),n.end()}function qh(e,t,r){var n=Je(),a=(e||{}).Workbook||{},i=a.Sheets||[],s=a.WBProps||{},f=r.biff==8,o=r.biff==5;if(J(n,2057,V0(e,5,r)),r.bookType=="xla"&&J(n,135),J(n,225,f?lr(1200):null),J(n,193,wf(2)),o&&J(n,191),o&&J(n,192),J(n,226),J(n,92,If("SheetJS",r)),J(n,66,lr(f?1200:1252)),f&&J(n,353,lr(0)),f&&J(n,448),J(n,317,qf(e.SheetNames.length)),f&&e.vbaraw&&J(n,211),f&&e.vbaraw){var l=s.CodeName||"ThisWorkbook";J(n,442,Ka(l))}J(n,156,lr(17)),J(n,25,$e(!1)),J(n,18,$e(!1)),J(n,19,lr(0)),f&&J(n,431,$e(!1)),f&&J(n,444,lr(0)),J(n,61,Pf()),J(n,64,$e(!1)),J(n,141,lr(0)),J(n,34,$e(nh(e)=="true")),J(n,14,$e(!0)),f&&J(n,439,$e(!1)),J(n,218,lr(0)),Xh(n,e,r),Kh(n,e.SSF,r),Yh(n,r),f&&J(n,352,$e(!1));var c=n.end(),p=Je();f&&J(p,140,jf()),f&&r.Strings&&Uh(p,252,kf(r.Strings)),J(p,10);var x=p.end(),v=Je(),E=0,u=0;for(u=0;u<e.SheetNames.length;++u)E+=(f?12:11)+(f?2:1)*e.SheetNames[u].length;var _=c.length+E+x.length;for(u=0;u<e.SheetNames.length;++u){var O=i[u]||{};J(v,133,Nf({pos:_,hs:O.Hidden||0,dt:0,name:e.SheetNames[u]},r)),_+=t[u].length}var R=v.end();if(E!=R.length)throw new Error("BS8 "+E+" != "+R.length);var y=[];return c.length&&y.push(c),R.length&&y.push(R),x.length&&y.push(x),be(y)}function Qh(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=qe(ye)),e&&e.SSF&&(f0(),s0(e.SSF),r.revssf=l0(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,j0(r),r.cellXfs=[],Mr(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=Zh(a,r,e);return n.unshift(qh(e,n,r)),be(n)}function gi(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(!(!n||!n["!ref"])){var a=ar(n["!ref"]);a.e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var i=t||{};switch(i.biff||2){case 8:case 5:return Qh(e,t);case 4:case 3:case 2:return Vh(e,t)}throw new Error("invalid type "+i.bookType+" for BIFF")}function eu(e,t,r,n){for(var a=e["!merges"]||[],i=[],s=t.s.c;s<=t.e.c;++s){for(var f=0,o=0,l=0;l<a.length;++l)if(!(a[l].s.r>r||a[l].s.c>s)&&!(a[l].e.r<r||a[l].e.c<s)){if(a[l].s.r<r||a[l].s.c<s){f=-1;break}f=a[l].e.r-a[l].s.r+1,o=a[l].e.c-a[l].s.c+1;break}if(!(f<0)){var c=me({r,c:s}),p=n.dense?(e[r]||[])[s]:e[c],x=p&&p.v!=null&&(p.h||Ds(p.w||(Or(p),p.w)||""))||"",v={};f>1&&(v.rowspan=f),o>1&&(v.colspan=o),n.editable?x='<span contenteditable="true">'+x+"</span>":p&&(v["data-t"]=p&&p.t||"z",p.v!=null&&(v["data-v"]=p.v),p.z!=null&&(v["data-z"]=p.z),p.l&&(p.l.Target||"#").charAt(0)!="#"&&(x='<a href="'+p.l.Target+'">'+x+"</a>")),v.id=(n.id||"sjs")+"-"+c,i.push(Y("td",x,v))}}var E="<tr>";return E+i.join("")+"</tr>"}var ru='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',tu="</body></html>";function nu(e,t,r){var n=[];return n.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function _i(e,t){var r=t||{},n=r.header!=null?r.header:ru,a=r.footer!=null?r.footer:tu,i=[n],s=ar(e["!ref"]);r.dense=Array.isArray(e),i.push(nu(e,s,r));for(var f=s.s.r;f<=s.e.r;++f)i.push(eu(e,s,f,r));return i.push("</table>"+a),i.join("")}function Ti(e,t,r){var n=r||{},a=0,i=0;if(n.origin!=null)if(typeof n.origin=="number")a=n.origin;else{var s=typeof n.origin=="string"?Pe(n.origin):n.origin;a=s.r,i=s.c}var f=t.getElementsByTagName("tr"),o=Math.min(n.sheetRows||1e7,f.length),l={s:{r:0,c:0},e:{r:a,c:i}};if(e["!ref"]){var c=ar(e["!ref"]);l.s.r=Math.min(l.s.r,c.s.r),l.s.c=Math.min(l.s.c,c.s.c),l.e.r=Math.max(l.e.r,c.e.r),l.e.c=Math.max(l.e.c,c.e.c),a==-1&&(l.e.r=a=c.e.r+1)}var p=[],x=0,v=e["!rows"]||(e["!rows"]=[]),E=0,u=0,_=0,O=0,R=0,y=0;for(e["!cols"]||(e["!cols"]=[]);E<f.length&&u<o;++E){var M=f[E];if(Kn(M)){if(n.display)continue;v[u]={hidden:!0}}var j=M.children;for(_=O=0;_<j.length;++_){var ee=j[_];if(!(n.display&&Kn(ee))){var C=ee.hasAttribute("data-v")?ee.getAttribute("data-v"):ee.hasAttribute("v")?ee.getAttribute("v"):ks(ee.innerHTML),b=ee.getAttribute("data-z")||ee.getAttribute("z");for(x=0;x<p.length;++x){var L=p[x];L.s.c==O+i&&L.s.r<u+a&&u+a<=L.e.r&&(O=L.e.c+1-i,x=-1)}y=+ee.getAttribute("colspan")||1,((R=+ee.getAttribute("rowspan")||1)>1||y>1)&&p.push({s:{r:u+a,c:O+i},e:{r:u+a+(R||1)-1,c:O+i+(y||1)-1}});var G={t:"s",v:C},V=ee.getAttribute("data-t")||ee.getAttribute("t")||"";C!=null&&(C.length==0?G.t=V||"z":n.raw||C.trim().length==0||V=="s"||(C==="TRUE"?G={t:"b",v:!0}:C==="FALSE"?G={t:"b",v:!1}:isNaN(Fr(C))?isNaN(Ft(C).getDate())||(G={t:"d",v:je(C)},n.cellDates||(G={t:"n",v:Ze(G.v)}),G.z=n.dateNF||ye[14]):G={t:"n",v:Fr(C)})),G.z===void 0&&b!=null&&(G.z=b);var K="",re=ee.getElementsByTagName("A");if(re&&re.length)for(var ge=0;ge<re.length&&!(re[ge].hasAttribute("href")&&(K=re[ge].getAttribute("href"),K.charAt(0)!="#"));++ge);K&&K.charAt(0)!="#"&&(G.l={Target:K}),n.dense?(e[u+a]||(e[u+a]=[]),e[u+a][O+i]=G):e[me({c:O+i,r:u+a})]=G,l.e.c<O+i&&(l.e.c=O+i),O+=y}}++u}return p.length&&(e["!merges"]=(e["!merges"]||[]).concat(p)),l.e.r=Math.max(l.e.r,u-1+a),e["!ref"]=De(l),u>=o&&(e["!fullref"]=De((l.e.r=f.length-E+u-1+a,l))),e}function Ei(e,t){var r=t||{},n=r.dense?[]:{};return Ti(n,e,t)}function au(e,t){return zr(Ei(e,t),t)}function Kn(e){var t="",r=iu(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function iu(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var su=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(""),t="<office:document-styles "+yt({"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(){return Re+t}}(),zn=function(){var e=function(i){return de(i).replace(/ +/g,function(s){return'<text:s text:c="'+s.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=` <table:table-cell />
`,r=` <table:covered-table-cell/>
`,n=function(i,s,f){var o=[];o.push(' <table:table table:name="'+de(s.SheetNames[f])+`" table:style-name="ta1">
`);var l=0,c=0,p=ar(i["!ref"]||"A1"),x=i["!merges"]||[],v=0,E=Array.isArray(i);if(i["!cols"])for(c=0;c<=p.e.c;++c)o.push(" <table:table-column"+(i["!cols"][c]?' table:style-name="co'+i["!cols"][c].ods+'"':"")+`></table:table-column>
`);var u="",_=i["!rows"]||[];for(l=0;l<p.s.r;++l)u=_[l]?' table:style-name="ro'+_[l].ods+'"':"",o.push(" <table:table-row"+u+`></table:table-row>
`);for(;l<=p.e.r;++l){for(u=_[l]?' table:style-name="ro'+_[l].ods+'"':"",o.push(" <table:table-row"+u+`>
`),c=0;c<p.s.c;++c)o.push(t);for(;c<=p.e.c;++c){var O=!1,R={},y="";for(v=0;v!=x.length;++v)if(!(x[v].s.c>c)&&!(x[v].s.r>l)&&!(x[v].e.c<c)&&!(x[v].e.r<l)){(x[v].s.c!=c||x[v].s.r!=l)&&(O=!0),R["table:number-columns-spanned"]=x[v].e.c-x[v].s.c+1,R["table:number-rows-spanned"]=x[v].e.r-x[v].s.r+1;break}if(O){o.push(r);continue}var M=me({r:l,c}),j=E?(i[l]||[])[c]:i[M];if(j&&j.f&&(R["table:formula"]=de(yc(j.f)),j.F&&j.F.slice(0,M.length)==M)){var ee=ar(j.F);R["table:number-matrix-columns-spanned"]=ee.e.c-ee.s.c+1,R["table:number-matrix-rows-spanned"]=ee.e.r-ee.s.r+1}if(!j){o.push(t);continue}switch(j.t){case"b":y=j.v?"TRUE":"FALSE",R["office:value-type"]="boolean",R["office:boolean-value"]=j.v?"true":"false";break;case"n":y=j.w||String(j.v||0),R["office:value-type"]="float",R["office:value"]=j.v||0;break;case"s":case"str":y=j.v==null?"":j.v,R["office:value-type"]="string";break;case"d":y=j.w||je(j.v).toISOString(),R["office:value-type"]="date",R["office:date-value"]=je(j.v).toISOString(),R["table:style-name"]="ce1";break;default:o.push(t);continue}var C=e(y);if(j.l&&j.l.Target){var b=j.l.Target;b=b.charAt(0)=="#"?"#"+Cc(b.slice(1)):b,b.charAt(0)!="#"&&!b.match(/^\w+:/)&&(b="../"+b),C=Y("text:a",C,{"xlink:href":b.replace(/&/g,"&amp;")})}o.push(" "+Y("table:table-cell",Y("text:p",C,{}),R)+`
`)}o.push(` </table:table-row>
`)}return o.push(` </table:table>
`),o.join("")},a=function(i,s){i.push(` <office:automatic-styles>
`),i.push(` <number:date-style style:name="N37" number:automatic-order="true">
`),i.push(` <number:month number:style="long"/>
`),i.push(` <number:text>/</number:text>
`),i.push(` <number:day number:style="long"/>
`),i.push(` <number:text>/</number:text>
`),i.push(` <number:year/>
`),i.push(` </number:date-style>
`);var f=0;s.SheetNames.map(function(l){return s.Sheets[l]}).forEach(function(l){if(!!l&&l["!cols"]){for(var c=0;c<l["!cols"].length;++c)if(l["!cols"][c]){var p=l["!cols"][c];if(p.width==null&&p.wpx==null&&p.wch==null)continue;X0(p),p.ods=f;var x=l["!cols"][c].wpx+"px";i.push(' <style:style style:name="co'+f+`" style:family="table-column">
`),i.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+x+`"/>
`),i.push(` </style:style>
`),++f}}});var o=0;s.SheetNames.map(function(l){return s.Sheets[l]}).forEach(function(l){if(!!l&&l["!rows"]){for(var c=0;c<l["!rows"].length;++c)if(l["!rows"][c]){l["!rows"][c].ods=o;var p=l["!rows"][c].hpx+"px";i.push(' <style:style style:name="ro'+o+`" style:family="table-row">
`),i.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+p+`"/>
`),i.push(` </style:style>
`),++o}}}),i.push(` <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">
`),i.push(` <style:table-properties table:display="true" style:writing-mode="lr-tb"/>
`),i.push(` </style:style>
`),i.push(` <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
`),i.push(` </office:automatic-styles>
`)};return function(s,f){var o=[Re],l=yt({"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"}),c=yt({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});f.bookType=="fods"?(o.push("<office:document"+l+c+`>
`),o.push(Ma().replace(/office:document-meta/g,"office:meta"))):o.push("<office:document-content"+l+`>
`),a(o,s),o.push(` <office:body>
`),o.push(` <office:spreadsheet>
`);for(var p=0;p!=s.SheetNames.length;++p)o.push(n(s.Sheets[s.SheetNames[p]],s,p));return o.push(` </office:spreadsheet>
`),o.push(` </office:body>
`),f.bookType=="fods"?o.push("</office:document>"):o.push("</office:document-content>"),o.join("")}}();function wi(e,t){if(t.bookType=="fods")return zn(e,t);var r=k0(),n="",a=[],i=[];return n="mimetype",oe(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",oe(r,n,zn(e,t)),a.push([n,"text/xml"]),i.push([n,"ContentFile"]),n="styles.xml",oe(r,n,su(e,t)),a.push([n,"text/xml"]),i.push([n,"StylesFile"]),n="meta.xml",oe(r,n,Re+Ma()),a.push([n,"text/xml"]),i.push([n,"MetadataFile"]),n="manifest.rdf",oe(r,n,mf(i)),a.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",oe(r,n,pf(a)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function n0(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function fu(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):xr(Sr(e))}function lu(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n<t.length;++n)if(e[r+n]!=t[n])continue e;return!0}return!1}function Lr(e){var t=e.reduce(function(a,i){return a+i.length},0),r=new Uint8Array(t),n=0;return e.forEach(function(a){r.set(a,n),n+=a.length}),r}function ou(e,t,r){var n=Math.floor(r==0?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(n&127)<<1;for(var i=0;a>=1;++i,a/=256)e[t+i]=a&255;e[t+15]|=r>=0?0:128}function Ct(e,t){var r=t?t[0]:0,n=e[r]&127;e:if(e[r++]>=128&&(n|=(e[r]&127)<<7,e[r++]<128||(n|=(e[r]&127)<<14,e[r++]<128)||(n|=(e[r]&127)<<21,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,28),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,35),++r,e[r++]<128)||(n+=(e[r]&127)*Math.pow(2,42),++r,e[r++]<128)))break e;return t&&(t[0]=r),n}function ve(e){var t=new Uint8Array(7);t[0]=e&127;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383||(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)||(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)||(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)||(t[r-1]|=128,t[r]=e/65536>>>21&127,++r,e<=4398046511103))break e;t[r-1]|=128,t[r]=e/16777216>>>21&127,++r}return t.slice(0,r)}function st(e){var t=0,r=e[t]&127;e:if(e[t++]>=128){if(r|=(e[t]&127)<<7,e[t++]<128||(r|=(e[t]&127)<<14,e[t++]<128)||(r|=(e[t]&127)<<21,e[t++]<128))break e;r|=(e[t]&127)<<28}return r}function Ie(e){for(var t=[],r=[0];r[0]<e.length;){var n=r[0],a=Ct(e,r),i=a&7;a=Math.floor(a/8);var s=0,f;if(a==0)break;switch(i){case 0:{for(var o=r[0];e[r[0]++]>=128;);f=e.slice(o,r[0])}break;case 5:s=4,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 1:s=8,f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 2:s=Ct(e,r),f=e.slice(r[0],r[0]+s),r[0]+=s;break;case 3:case 4:default:throw new Error("PB Type ".concat(i," for Field ").concat(a," at offset ").concat(n))}var l={data:f,type:i};t[a]==null?t[a]=[l]:t[a].push(l)}return t}function Be(e){var t=[];return e.forEach(function(r,n){r.forEach(function(a){!a.data||(t.push(ve(n*8+a.type)),a.type==2&&t.push(ve(a.data.length)),t.push(a.data))})}),Lr(t)}function hr(e){for(var t,r=[],n=[0];n[0]<e.length;){var a=Ct(e,n),i=Ie(e.slice(n[0],n[0]+a));n[0]+=a;var s={id:st(i[1][0].data),messages:[]};i[2].forEach(function(f){var o=Ie(f.data),l=st(o[3][0].data);s.messages.push({meta:o,data:e.slice(n[0],n[0]+l)}),n[0]+=l}),(t=i[3])!=null&&t[0]&&(s.merge=st(i[3][0].data)>>>0>0),r.push(s)}return r}function Qr(e){var t=[];return e.forEach(function(r){var n=[];n[1]=[{data:ve(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:ve(+!!r.merge),type:0}]);var a=[];r.messages.forEach(function(s){a.push(s.data),s.meta[3]=[{type:0,data:ve(s.data.length)}],n[2].push({data:Be(s.meta),type:2})});var i=Be(n);t.push(ve(i.length)),t.push(i),a.forEach(function(s){return t.push(s)})}),Lr(t)}function cu(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=Ct(t,r),a=[];r[0]<t.length;){var i=t[r[0]]&3;if(i==0){var s=t[r[0]++]>>2;if(s<60)++s;else{var f=s-59;s=t[r[0]],f>1&&(s|=t[r[0]+1]<<8),f>2&&(s|=t[r[0]+2]<<16),f>3&&(s|=t[r[0]+3]<<24),s>>>=0,s++,r[0]+=f}a.push(t.slice(r[0],r[0]+s)),r[0]+=s;continue}else{var o=0,l=0;if(i==1?(l=(t[r[0]]>>2&7)+4,o=(t[r[0]++]&224)<<3,o|=t[r[0]++]):(l=(t[r[0]++]>>2)+1,i==2?(o=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(o=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Lr(a)],o==0)throw new Error("Invalid offset 0");if(o>a[0].length)throw new Error("Invalid offset beyond length");if(l>=o)for(a.push(a[0].slice(-o)),l-=o;l>=a[a.length-1].length;)a.push(a[a.length-1]),l-=a[a.length-1].length;a.push(a[0].slice(-o,-o+l))}}var c=Lr(a);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}function ur(e){for(var t=[],r=0;r<e.length;){var n=e[r++],a=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(cu(n,e.slice(r,r+a))),r+=a}if(r!==e.length)throw new Error("data is not a valid framed stream!");return Lr(t)}function et(e){for(var t=[],r=0;r<e.length;){var n=Math.min(e.length-r,268435455),a=new Uint8Array(4);t.push(a);var i=ve(n),s=i.length;t.push(i),n<=60?(s++,t.push(new Uint8Array([n-1<<2]))):n<=256?(s+=2,t.push(new Uint8Array([240,n-1&255]))):n<=65536?(s+=3,t.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(s+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),s+=n,a[0]=0,a[1]=s&255,a[2]=s>>8&255,a[3]=s>>16&255,r+=n}return Lr(t)}function A0(e,t){var r=new Uint8Array(32),n=n0(r),a=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,ou(r,a,e.v),i|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),i|=2,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,i,!0),r.slice(0,a)}function F0(e,t){var r=new Uint8Array(32),n=n0(r),a=12,i=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),i|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),i|=32,a+=8;break;case"s":if(t.indexOf(e.v)==-1)throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,i,!0),r.slice(0,a)}function Rr(e){var t=Ie(e);return Ct(t[1][0].data)}function hu(e,t,r){var n,a,i,s;if(!((n=e[6])!=null&&n[0])||!((a=e[7])!=null&&a[0]))throw"Mutation only works on post-BNC storages!";var f=((s=(i=e[8])==null?void 0:i[0])==null?void 0:s.data)&&st(e[8][0].data)>0||!1;if(f)throw"Math only works with normal offsets";for(var o=0,l=n0(e[7][0].data),c=0,p=[],x=n0(e[4][0].data),v=0,E=[],u=0;u<t.length;++u){if(t[u]==null){l.setUint16(u*2,65535,!0),x.setUint16(u*2,65535);continue}l.setUint16(u*2,c,!0),x.setUint16(u*2,v,!0);var _,O;switch(typeof t[u]){case"string":_=A0({t:"s",v:t[u]},r),O=F0({t:"s",v:t[u]},r);break;case"number":_=A0({t:"n",v:t[u]},r),O=F0({t:"n",v:t[u]},r);break;case"boolean":_=A0({t:"b",v:t[u]},r),O=F0({t:"b",v:t[u]},r);break;default:throw new Error("Unsupported value "+t[u])}p.push(_),c+=_.length,E.push(O),v+=O.length,++o}for(e[2][0].data=ve(o);u<e[7][0].data.length/2;++u)l.setUint16(u*2,65535,!0),x.setUint16(u*2,65535,!0);return e[6][0].data=Lr(p),e[3][0].data=Lr(E),o}function uu(e,t){if(!t||!t.numbers)throw new Error("Must pass a `numbers` option -- check the README");var r=e.Sheets[e.SheetNames[0]];e.SheetNames.length>1&&console.error("The Numbers writer currently writes only the first table");var n=ar(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(De(n)));var i=a0(r,{range:n,header:1}),s=["~Sh33tJ5~"];i.forEach(function(P){return P.forEach(function(F){typeof F=="string"&&s.push(F)})});var f={},o=[],l=_e.read(t.numbers,{type:"base64"});l.FileIndex.map(function(P,F){return[P,l.FullPaths[F]]}).forEach(function(P){var F=P[0],A=P[1];if(F.type==2&&!!F.name.match(/\.iwa/)){var H=F.content,ie=ur(H),se=hr(ie);se.forEach(function(ae){o.push(ae.id),f[ae.id]={deps:[],location:A,type:st(ae.messages[0].meta[1][0].data)}})}}),o.sort(function(P,F){return P-F});var c=o.filter(function(P){return P>1}).map(function(P){return[P,ve(P)]});l.FileIndex.map(function(P,F){return[P,l.FullPaths[F]]}).forEach(function(P){var F=P[0];if(P[1],!!F.name.match(/\.iwa/)){var A=hr(ur(F.content));A.forEach(function(H){H.messages.forEach(function(ie){c.forEach(function(se){H.messages.some(function(ae){return st(ae.meta[1][0].data)!=11006&&lu(ae.data,se[1])})&&f[se[0]].deps.push(H.id)})})})}});for(var p=_e.find(l,f[1].location),x=hr(ur(p.content)),v,E=0;E<x.length;++E){var u=x[E];u.id==1&&(v=u)}var _=Rr(Ie(v.messages[0].data)[1][0].data);for(p=_e.find(l,f[_].location),x=hr(ur(p.content)),E=0;E<x.length;++E)u=x[E],u.id==_&&(v=u);for(_=Rr(Ie(v.messages[0].data)[2][0].data),p=_e.find(l,f[_].location),x=hr(ur(p.content)),E=0;E<x.length;++E)u=x[E],u.id==_&&(v=u);for(_=Rr(Ie(v.messages[0].data)[2][0].data),p=_e.find(l,f[_].location),x=hr(ur(p.content)),E=0;E<x.length;++E)u=x[E],u.id==_&&(v=u);var O=Ie(v.messages[0].data);{O[6][0].data=ve(n.e.r+1),O[7][0].data=ve(n.e.c+1);var R=Rr(O[46][0].data),y=_e.find(l,f[R].location),M=hr(ur(y.content));{for(var j=0;j<M.length&&M[j].id!=R;++j);if(M[j].id!=R)throw"Bad ColumnRowUIDMapArchive";var ee=Ie(M[j].messages[0].data);ee[1]=[],ee[2]=[],ee[3]=[];for(var C=0;C<=n.e.c;++C){var b=[];b[1]=b[2]=[{type:0,data:ve(C+420690)}],ee[1].push({type:2,data:Be(b)}),ee[2].push({type:0,data:ve(C)}),ee[3].push({type:0,data:ve(C)})}ee[4]=[],ee[5]=[],ee[6]=[];for(var L=0;L<=n.e.r;++L)b=[],b[1]=b[2]=[{type:0,data:ve(L+726270)}],ee[4].push({type:2,data:Be(b)}),ee[5].push({type:0,data:ve(L)}),ee[6].push({type:0,data:ve(L)});M[j].messages[0].data=Be(ee)}y.content=et(Qr(M)),y.size=y.content.length,delete O[46];var G=Ie(O[4][0].data);{G[7][0].data=ve(n.e.r+1);var V=Ie(G[1][0].data),K=Rr(V[2][0].data);y=_e.find(l,f[K].location),M=hr(ur(y.content));{if(M[0].id!=K)throw"Bad HeaderStorageBucket";var re=Ie(M[0].messages[0].data);for(L=0;L<i.length;++L){var ge=Ie(re[2][0].data);ge[1][0].data=ve(L),ge[4][0].data=ve(i[L].length),re[2][L]={type:re[2][0].type,data:Be(ge)}}M[0].messages[0].data=Be(re)}y.content=et(Qr(M)),y.size=y.content.length;var le=Rr(G[2][0].data);y=_e.find(l,f[le].location),M=hr(ur(y.content));{if(M[0].id!=le)throw"Bad HeaderStorageBucket";for(re=Ie(M[0].messages[0].data),C=0;C<=n.e.c;++C)ge=Ie(re[2][0].data),ge[1][0].data=ve(C),ge[4][0].data=ve(n.e.r+1),re[2][C]={type:re[2][0].type,data:Be(ge)};M[0].messages[0].data=Be(re)}y.content=et(Qr(M)),y.size=y.content.length;var Me=Rr(G[4][0].data);(function(){for(var P=_e.find(l,f[Me].location),F=hr(ur(P.content)),A,H=0;H<F.length;++H){var ie=F[H];ie.id==Me&&(A=ie)}var se=Ie(A.messages[0].data);{se[3]=[];var ae=[];s.forEach(function(ce,ze){ae[1]=[{type:0,data:ve(ze)}],ae[2]=[{type:0,data:ve(1)}],ae[3]=[{type:2,data:fu(ce)}],se[3].push({type:2,data:Be(ae)})})}A.messages[0].data=Be(se);var q=Qr(F),Te=et(q);P.content=Te,P.size=P.content.length})();var Ce=Ie(G[3][0].data);{var cr=Ce[1][0];delete Ce[2];var Ne=Ie(cr.data);{var ir=Rr(Ne[2][0].data);(function(){for(var P=_e.find(l,f[ir].location),F=hr(ur(P.content)),A,H=0;H<F.length;++H){var ie=F[H];ie.id==ir&&(A=ie)}var se=Ie(A.messages[0].data);{delete se[6],delete Ce[7];var ae=new Uint8Array(se[5][0].data);se[5]=[];for(var q=0,Te=0;Te<=n.e.r;++Te){var ce=Ie(ae);q+=hu(ce,i[Te],s),ce[1][0].data=ve(Te),se[5].push({data:Be(ce),type:2})}se[1]=[{type:0,data:ve(n.e.c+1)}],se[2]=[{type:0,data:ve(n.e.r+1)}],se[3]=[{type:0,data:ve(q)}],se[4]=[{type:0,data:ve(n.e.r+1)}]}A.messages[0].data=Be(se);var ze=Qr(F),xe=et(ze);P.content=xe,P.size=P.content.length})()}cr.data=Be(Ne)}G[3][0].data=Be(Ce)}O[4][0].data=Be(G)}v.messages[0].data=Be(O);var Qe=Qr(x),S=et(Qe);return p.content=S,p.size=p.content.length,l}function xu(e){return function(r){for(var n=0;n!=e.length;++n){var a=e[n];r[a[0]]===void 0&&(r[a[0]]=a[1]),a[2]==="n"&&(r[a[0]]=Number(r[a[0]]))}}}function j0(e){xu([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function vu(e,t){return t.bookType=="ods"?wi(e,t):t.bookType=="numbers"?uu(e,t):t.bookType=="xlsb"?pu(e,t):du(e,t)}function pu(e,t){tt=1024,e&&!e.SSF&&(e.SSF=qe(ye)),e&&e.SSF&&(f0(),s0(e.SSF),t.revssf=l0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,wt?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",n=ai.indexOf(t.bookType)>-1,a=ka();j0(t=t||{});var i=k0(),s="",f=0;if(t.cellXfs=[],Mr(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",oe(i,s,Ba(e.Props,t)),a.coreprops.push(s),pe(t.rels,2,s,he.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],l=0;l<e.SheetNames.length;++l)(e.Workbook.Sheets[l]||{}).Hidden!=2&&o.push(e.SheetNames[l]);e.Props.SheetNames=o}for(e.Props.Worksheets=e.Props.SheetNames.length,oe(i,s,ba(e.Props)),a.extprops.push(s),pe(t.rels,3,s,he.EXT_PROPS),e.Custprops!==e.Props&&Ge(e.Custprops||{}).length>0&&(s="docProps/custom.xml",oe(i,s,Wa(e.Custprops)),a.custprops.push(s),pe(t.rels,4,s,he.CUST_PROPS)),f=1;f<=e.SheetNames.length;++f){var c={"!id":{}},p=e.Sheets[e.SheetNames[f-1]],x=(p||{})["!type"]||"sheet";switch(x){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,oe(i,s,gh(f-1,s,t,e,c)),a.sheets.push(s),pe(t.wbrels,-1,"worksheets/sheet"+f+"."+r,he.WS[0])}if(p){var v=p["!comments"],E=!1,u="";v&&v.length>0&&(u="xl/comments"+f+"."+r,oe(i,u,Eh(v,u)),a.comments.push(u),pe(c,-1,"../comments"+f+"."+r,he.CMNT),E=!0),p["!legacy"]&&E&&oe(i,"xl/drawings/vmlDrawing"+f+".vml",ti(f,p["!comments"])),delete p["!comments"],delete p["!legacy"]}c["!id"].rId1&&oe(i,La(s),at(c))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,oe(i,s,Th(t.Strings,s,t)),a.strs.push(s),pe(t.wbrels,-1,"sharedStrings."+r,he.SST)),s="xl/workbook."+r,oe(i,s,mh(e,s)),a.workbooks.push(s),pe(t.rels,1,s,he.WB),s="xl/theme/theme1.xml",oe(i,s,ei(e.Themes,t)),a.themes.push(s),pe(t.wbrels,-1,"theme/theme1.xml",he.THEME),s="xl/styles."+r,oe(i,s,_h(e,s,t)),a.styles.push(s),pe(t.wbrels,-1,"styles."+r,he.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",oe(i,s,e.vbaraw),a.vba.push(s),pe(t.wbrels,-1,"vbaProject.bin",he.VBA)),s="xl/metadata."+r,oe(i,s,wh(s)),a.metadata.push(s),pe(t.wbrels,-1,"metadata."+r,he.XLMETA),oe(i,"[Content_Types].xml",Pa(a,t)),oe(i,"_rels/.rels",at(t.rels)),oe(i,"xl/_rels/workbook."+r+".rels",at(t.wbrels)),delete t.revssf,delete t.ssf,i}function du(e,t){tt=1024,e&&!e.SSF&&(e.SSF=qe(ye)),e&&e.SSF&&(f0(),s0(e.SSF),t.revssf=l0(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),t.rels={},t.wbrels={},t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,wt?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=ai.indexOf(t.bookType)>-1,a=ka();j0(t=t||{});var i=k0(),s="",f=0;if(t.cellXfs=[],Mr(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",oe(i,s,Ba(e.Props,t)),a.coreprops.push(s),pe(t.rels,2,s,he.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var o=[],l=0;l<e.SheetNames.length;++l)(e.Workbook.Sheets[l]||{}).Hidden!=2&&o.push(e.SheetNames[l]);e.Props.SheetNames=o}e.Props.Worksheets=e.Props.SheetNames.length,oe(i,s,ba(e.Props)),a.extprops.push(s),pe(t.rels,3,s,he.EXT_PROPS),e.Custprops!==e.Props&&Ge(e.Custprops||{}).length>0&&(s="docProps/custom.xml",oe(i,s,Wa(e.Custprops)),a.custprops.push(s),pe(t.rels,4,s,he.CUST_PROPS));var c=["SheetJ5"];for(t.tcid=0,f=1;f<=e.SheetNames.length;++f){var p={"!id":{}},x=e.Sheets[e.SheetNames[f-1]],v=(x||{})["!type"]||"sheet";switch(v){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,oe(i,s,xi(f-1,t,e,p)),a.sheets.push(s),pe(t.wbrels,-1,"worksheets/sheet"+f+"."+r,he.WS[0])}if(x){var E=x["!comments"],u=!1,_="";if(E&&E.length>0){var O=!1;E.forEach(function(R){R[1].forEach(function(y){y.T==!0&&(O=!0)})}),O&&(_="xl/threadedComments/threadedComment"+f+"."+r,oe(i,_,zl(E,c,t)),a.threadedcomments.push(_),pe(p,-1,"../threadedComments/threadedComment"+f+"."+r,he.TCMNT)),_="xl/comments"+f+"."+r,oe(i,_,ni(E)),a.comments.push(_),pe(p,-1,"../comments"+f+"."+r,he.CMNT),u=!0}x["!legacy"]&&u&&oe(i,"xl/drawings/vmlDrawing"+f+".vml",ti(f,x["!comments"])),delete x["!comments"],delete x["!legacy"]}p["!id"].rId1&&oe(i,La(s),at(p))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,oe(i,s,$a(t.Strings,t)),a.strs.push(s),pe(t.wbrels,-1,"sharedStrings."+r,he.SST)),s="xl/workbook."+r,oe(i,s,di(e)),a.workbooks.push(s),pe(t.rels,1,s,he.WB),s="xl/theme/theme1.xml",oe(i,s,ei(e.Themes,t)),a.themes.push(s),pe(t.wbrels,-1,"theme/theme1.xml",he.THEME),s="xl/styles."+r,oe(i,s,qa(e,t)),a.styles.push(s),pe(t.wbrels,-1,"styles."+r,he.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",oe(i,s,e.vbaraw),a.vba.push(s),pe(t.wbrels,-1,"vbaProject.bin",he.VBA)),s="xl/metadata."+r,oe(i,s,ri()),a.metadata.push(s),pe(t.wbrels,-1,"metadata."+r,he.XLMETA),c.length>1&&(s="xl/persons/person.xml",oe(i,s,Yl(c)),a.people.push(s),pe(t.wbrels,-1,"persons/person.xml",he.PEOPLE)),oe(i,"[Content_Types].xml",Pa(a,t)),oe(i,"_rels/.rels",at(t.rels)),oe(i,"xl/_rels/workbook."+r+".rels",at(t.wbrels)),delete t.revssf,delete t.ssf,i}function mu(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=Cr(e.slice(0,12));break;case"binary":r=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 "+(t&&t.type||"undefined"))}return[r.charCodeAt(0),r.charCodeAt(1),r.charCodeAt(2),r.charCodeAt(3),r.charCodeAt(4),r.charCodeAt(5),r.charCodeAt(6),r.charCodeAt(7)]}function Si(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Rt(t.file,_e.write(e,{type:ue?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return _e.write(e,t)}function gu(e,t){var r=qe(t||{}),n=vu(e,r);return _u(n,r)}function _u(e,t){var r={},n=ue?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?_e.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if(typeof Deno<"u"&&typeof a=="string"){if(t.type=="binary"||t.type=="base64")return a;a=new Uint8Array(i0(a))}return t.password&&typeof encrypt_agile<"u"?Si(encrypt_agile(a,t.password),t):t.type==="file"?Rt(t.file,a):t.type=="string"?gt(a):a}function Tu(e,t){var r=t||{},n=Mh(e,r);return Si(n,r)}function gr(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return At(Sr(n));case"binary":return Sr(n);case"string":return e;case"file":return Rt(t.file,n,"utf8");case"buffer":return ue?Dr(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):gr(n,{type:"binary"}).split("").map(function(a){return a.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Eu(e,t){switch(t.type){case"base64":return At(e);case"binary":return e;case"string":return e;case"file":return Rt(t.file,e,"binary");case"buffer":return ue?Dr(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function Xt(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n<e.length;++n)r+=String.fromCharCode(e[n]);return t.type=="base64"?At(r):t.type=="string"?gt(r):r;case"file":return Rt(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function Ai(e,t){zi(),sh(e);var r=qe(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=Ai(e,r);return r.type="array",i0(n)}var a=0;if(r.sheet&&(typeof r.sheet=="number"?a=r.sheet:a=e.SheetNames.indexOf(r.sheet),!e.SheetNames[a]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return gr(Ph(e,r),r);case"slk":case"sylk":return gr(tl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"htm":case"html":return gr(_i(e.Sheets[e.SheetNames[a]],r),r);case"txt":return Eu(Fi(e.Sheets[e.SheetNames[a]],r),r);case"csv":return gr(J0(e.Sheets[e.SheetNames[a]],r),r,"\uFEFF");case"dif":return gr(nl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"dbf":return Xt(rl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"prn":return gr(al.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"rtf":return gr(hl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"eth":return gr(Ya.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"fods":return gr(wi(e,r),r);case"wk1":return Xt(bn.sheet_to_wk1(e.Sheets[e.SheetNames[a]],r),r);case"wk3":return Xt(bn.book_to_wk3(e,r),r);case"biff2":r.biff||(r.biff=2);case"biff3":r.biff||(r.biff=3);case"biff4":return r.biff||(r.biff=4),Xt(gi(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),Tu(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return gu(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function wu(e){if(!e.bookType){var t={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},r=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();r.match(/^\.[a-z]+$/)&&(e.bookType=r.slice(1)),e.bookType=t[e.bookType]||e.bookType}}function Lu(e,t,r){var n=r||{};return n.type="file",n.file=t,wu(n),Ai(e,n)}function Su(e,t,r,n,a,i,s,f){var o=He(r),l=f.defval,c=f.raw||!Object.prototype.hasOwnProperty.call(f,"raw"),p=!0,x=a===1?[]:{};if(a!==1)if(Object.defineProperty)try{Object.defineProperty(x,"__rowNum__",{value:r,enumerable:!1})}catch{x.__rowNum__=r}else x.__rowNum__=r;if(!s||e[r])for(var v=t.s.c;v<=t.e.c;++v){var E=s?e[r][v]:e[n[v]+o];if(E===void 0||E.t===void 0){if(l===void 0)continue;i[v]!=null&&(x[i[v]]=l);continue}var u=E.v;switch(E.t){case"z":if(u==null)break;continue;case"e":u=u==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+E.t)}if(i[v]!=null){if(u==null)if(E.t=="e"&&u===null)x[i[v]]=null;else if(l!==void 0)x[i[v]]=l;else if(c&&u===null)x[i[v]]=null;else continue;else x[i[v]]=c&&(E.t!=="n"||E.t==="n"&&f.rawNumbers!==!1)?u:Or(E,u,f);u!=null&&(p=!1)}}return{row:x,isempty:p}}function a0(e,t){if(e==null||e["!ref"]==null)return[];var r={t:"n",v:0},n=0,a=1,i=[],s=0,f="",o={s:{r:0,c:0},e:{r:0,c:0}},l=t||{},c=l.range!=null?l.range:e["!ref"];switch(l.header===1?n=1:l.header==="A"?n=2:Array.isArray(l.header)?n=3:l.header==null&&(n=0),typeof c){case"string":o=Ee(c);break;case"number":o=Ee(e["!ref"]),o.s.r=c;break;default:o=c}n>0&&(a=0);var p=He(o.s.r),x=[],v=[],E=0,u=0,_=Array.isArray(e),O=o.s.r,R=0,y={};_&&!e[O]&&(e[O]=[]);var M=l.skipHidden&&e["!cols"]||[],j=l.skipHidden&&e["!rows"]||[];for(R=o.s.c;R<=o.e.c;++R)if(!(M[R]||{}).hidden)switch(x[R]=Xe(R),r=_?e[O][R]:e[x[R]+p],n){case 1:i[R]=R-o.s.c;break;case 2:i[R]=x[R];break;case 3:i[R]=l.header[R-o.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),f=s=Or(r,null,l),u=y[s]||0,!u)y[s]=1;else{do f=s+"_"+u++;while(y[f]);y[s]=u,y[f]=1}i[R]=f}for(O=o.s.r+a;O<=o.e.r;++O)if(!(j[O]||{}).hidden){var ee=Su(e,o,O,x,n,i,_,l);(ee.isempty===!1||(n===1?l.blankrows!==!1:!!l.blankrows))&&(v[E++]=ee.row)}return v.length=E,v}var Yn=/"/g;function Au(e,t,r,n,a,i,s,f){for(var o=!0,l=[],c="",p=He(r),x=t.s.c;x<=t.e.c;++x)if(!!n[x]){var v=f.dense?(e[r]||[])[x]:e[n[x]+p];if(v==null)c="";else if(v.v!=null){o=!1,c=""+(f.rawNumbers&&v.t=="n"?v.v:Or(v,null,f));for(var E=0,u=0;E!==c.length;++E)if((u=c.charCodeAt(E))===a||u===i||u===34||f.forceQuotes){c='"'+c.replace(Yn,'""')+'"';break}c=="ID"&&(c='"ID"')}else v.f!=null&&!v.F?(o=!1,c="="+v.f,c.indexOf(",")>=0&&(c='"'+c.replace(Yn,'""')+'"')):c="";l.push(c)}return f.blankrows===!1&&o?null:l.join(s)}function J0(e,t){var r=[],n=t==null?{}:t;if(e==null||e["!ref"]==null)return"";var a=Ee(e["!ref"]),i=n.FS!==void 0?n.FS:",",s=i.charCodeAt(0),f=n.RS!==void 0?n.RS:`
`,o=f.charCodeAt(0),l=new RegExp((i=="|"?"\\|":i)+"+$"),c="",p=[];n.dense=Array.isArray(e);for(var x=n.skipHidden&&e["!cols"]||[],v=n.skipHidden&&e["!rows"]||[],E=a.s.c;E<=a.e.c;++E)(x[E]||{}).hidden||(p[E]=Xe(E));for(var u=0,_=a.s.r;_<=a.e.r;++_)(v[_]||{}).hidden||(c=Au(e,a,_,p,s,o,i,n),c!=null&&(n.strip&&(c=c.replace(l,"")),(c||n.blankrows!==!1)&&r.push((u++?f:"")+c)));return delete n.dense,r.join("")}function Fi(e,t){t||(t={}),t.FS=" ",t.RS=`
`;var r=J0(e,t);return r}function Fu(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var a=Ee(e["!ref"]),i="",s=[],f,o=[],l=Array.isArray(e);for(f=a.s.c;f<=a.e.c;++f)s[f]=Xe(f);for(var c=a.s.r;c<=a.e.r;++c)for(i=He(c),f=a.s.c;f<=a.e.c;++f)if(t=s[f]+i,r=l?(e[c]||[])[f]:e[t],n="",r!==void 0){if(r.F!=null){if(t=r.F,!r.f)continue;n=r.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(r.f!=null)n=r.f;else{if(r.t=="z")continue;if(r.t=="n"&&r.v!=null)n=""+r.v;else if(r.t=="b")n=r.v?"TRUE":"FALSE";else if(r.w!==void 0)n="'"+r.w;else{if(r.v===void 0)continue;r.t=="s"?n="'"+r.v:n=""+r.v}}o[o.length]=t+"="+n}return o}function yi(e,t,r){var n=r||{},a=+!n.skipHeader,i=e||{},s=0,f=0;if(i&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var o=typeof n.origin=="string"?Pe(n.origin):n.origin;s=o.r,f=o.c}var l,c={s:{c:0,r:0},e:{c:f,r:s+t.length-1+a}};if(i["!ref"]){var p=Ee(i["!ref"]);c.e.c=Math.max(c.e.c,p.e.c),c.e.r=Math.max(c.e.r,p.e.r),s==-1&&(s=p.e.r+1,c.e.r=s+t.length-1+a)}else s==-1&&(s=0,c.e.r=t.length-1+a);var x=n.header||[],v=0;t.forEach(function(u,_){Ge(u).forEach(function(O){(v=x.indexOf(O))==-1&&(x[v=x.length]=O);var R=u[O],y="z",M="",j=me({c:f+v,r:s+_+a});l=Ot(i,j),R&&typeof R=="object"&&!(R instanceof Date)?i[j]=R:(typeof R=="number"?y="n":typeof R=="boolean"?y="b":typeof R=="string"?y="s":R instanceof Date?(y="d",n.cellDates||(y="n",R=Ze(R)),M=n.dateNF||ye[14]):R===null&&n.nullError&&(y="e",R=0),l?(l.t=y,l.v=R,delete l.w,delete l.R,M&&(l.z=M)):i[j]=l={t:y,v:R},M&&(l.z=M))})}),c.e.c=Math.max(c.e.c,f+x.length-1);var E=He(s);if(a)for(v=0;v<x.length;++v)i[Xe(v+f)+E]={t:"s",v:x[v]};return i["!ref"]=De(c),i}function yu(e,t){return yi(null,e,t)}function Ot(e,t,r){if(typeof t=="string"){if(Array.isArray(e)){var n=Pe(t);return e[n.r]||(e[n.r]=[]),e[n.r][n.c]||(e[n.r][n.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return typeof t!="number"?Ot(e,me(t)):Ot(e,me({r:t,c:r||0}))}function Cu(e,t){if(typeof t=="number"){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}else if(typeof t=="string"){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}else throw new Error("Cannot find sheet |"+t+"|")}function Ou(){return{SheetNames:[],Sheets:{}}}function Du(e,t,r,n){var a=1;if(!r)for(;a<=65535&&e.SheetNames.indexOf(r="Sheet"+a)!=-1;++a,r=void 0);if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);a=i&&+i[2]||0;var s=i&&i[1]||r;for(++a;a<=65535&&e.SheetNames.indexOf(r=s+a)!=-1;++a);}if(pi(r),e.SheetNames.indexOf(r)>=0)throw new Error("Worksheet with name |"+r+"| already exists!");return e.SheetNames.push(r),e.Sheets[r]=t,r}function Ru(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=Cu(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r}function Iu(e,t){return e.z=t,e}function Ci(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Nu(e,t,r){return Ci(e,"#"+t,r)}function ku(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function Pu(e,t,r,n){for(var a=typeof t!="string"?t:Ee(t),i=typeof t=="string"?t:De(t),s=a.s.r;s<=a.e.r;++s)for(var f=a.s.c;f<=a.e.c;++f){var o=Ot(e,s,f);o.t="n",o.F=i,delete o.v,s==a.s.r&&f==a.s.c&&(o.f=r,n&&(o.D=!0))}return e}var Mu={encode_col:Xe,encode_row:He,encode_cell:me,encode_range:De,decode_col:b0,decode_row:U0,split_cell:Ys,decode_cell:Pe,decode_range:ar,format_cell:Or,sheet_add_aoa:Ca,sheet_add_json:yi,sheet_add_dom:Ti,aoa_to_sheet:ot,json_to_sheet:yu,table_to_sheet:Ei,table_to_book:au,sheet_to_csv:J0,sheet_to_txt:Fi,sheet_to_json:a0,sheet_to_html:_i,sheet_to_formulae:Fu,sheet_to_row_object_array:a0,sheet_get_cell:Ot,book_new:Ou,book_append_sheet:Du,book_set_sheet_visibility:Ru,cell_set_number_format:Iu,cell_set_hyperlink:Ci,cell_set_internal_link:Nu,cell_add_comment:ku,sheet_set_array_formula:Pu,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};export{Mu as u,Lu as w};