1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495 |
- import{r as Ss,a as O0,b as As,c as Fs,d as ys,s as Cs,e as Os}from"./index-0IJo4v3k.js";import{a as Ta}from"./baseUrl-Djp-_xTD.js";import{d as Jn,r as wr,a as Ea,o as Se,c as Ce,b as de,w as De,F as Hr,e as sn,u as ue,T as wa,f as Sa,g as K,S as Aa,h as fr,B as Nr,C as k0,t as xe,i as _r,j as fn,I as Xn,s as $n,k as ks,n as Ds,L as Fa,l as D0,D as I0,m as Is,P as Rs,p as Ns,q as an,v as ya,x as jt,y as R0,z as Ps,A as Ls,E as Bs,G as N0}from"./index-cnJriAAq.js";/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var ln={};ln.version="0.18.5";var Ca=1252,Ms=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],Oa=function(e){Ms.indexOf(e)!=-1&&(Ca=e)};function Us(){Oa(1252)}var Pt=function(e){Oa(e)};function bs(){Pt(1200),Us()}var Jt=function(t){return String.fromCharCode(t)},P0=function(t){return String.fromCharCode(t)},Zr,Vr="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function Lt(e){for(var t="",r=0,n=0,a=0,i=0,s=0,f=0,l=0,o=0;o<e.length;)r=e.charCodeAt(o++),i=r>>2,n=e.charCodeAt(o++),s=(r&3)<<4|n>>4,a=e.charCodeAt(o++),f=(n&15)<<2|a>>6,l=a&63,isNaN(n)?f=l=64:isNaN(a)&&(l=64),t+=Vr.charAt(i)+Vr.charAt(s)+Vr.charAt(f)+Vr.charAt(l);return t}function Mr(e){var t="",r=0,n=0,a=0,i=0,s=0,f=0,l=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var o=0;o<e.length;)i=Vr.indexOf(e.charAt(o++)),s=Vr.indexOf(e.charAt(o++)),r=i<<2|s>>4,t+=String.fromCharCode(r),f=Vr.indexOf(e.charAt(o++)),n=(s&15)<<4|f>>2,f!==64&&(t+=String.fromCharCode(n)),l=Vr.indexOf(e.charAt(o++)),a=(f&3)<<6|l,l!==64&&(t+=String.fromCharCode(a));return t}var ge=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),br=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 et(e){return ge?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function L0(e){return ge?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var Sr=function(t){return ge?br(t,"binary"):t.split("").map(function(r){return r.charCodeAt(0)&255})};function wn(e){if(typeof ArrayBuffer>"u")return Sr(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 Ht(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 Ws(e){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(e)}var ze=ge?function(e){return Buffer.concat(e.map(function(t){return Buffer.isBuffer(t)?t:br(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 Hs(e){for(var t=[],r=0,n=e.length+250,a=et(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=et(65535),n=65530)}return t.push(a.slice(0,r)),ze(t)}var Ot=/\u0000/g,Zt=/[\u0001-\u0006]/g;function pt(e){for(var t="",r=e.length-1;r>=0;)t+=e.charAt(r--);return t}function Ar(e,t){var r=""+e;return r.length>=t?r:Re("0",t-r.length)+r}function Zn(e,t){var r=""+e;return r.length>=t?r:Re(" ",t-r.length)+r}function on(e,t){var r=""+e;return r.length>=t?r:r+Re(" ",t-r.length)}function Vs(e,t){var r=""+Math.round(e);return r.length>=t?r:Re("0",t-r.length)+r}function Gs(e,t){var r=""+e;return r.length>=t?r:Re("0",t-r.length)+r}var B0=Math.pow(2,32);function ot(e,t){if(e>B0||e<-B0)return Vs(e,t);var r=Math.round(e);return Gs(r,t)}function cn(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 M0=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],Ln=[["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 Xs(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]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var Ne={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:'"上午/下午 "hh"時"mm"分"ss"秒 "'},U0={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},$s={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 hn(e,t,r){for(var n=e<0?-1:1,a=e*n,i=0,s=1,f=0,l=1,o=0,c=0,d=Math.floor(a);o<t&&(d=Math.floor(a),f=d*s+i,c=d*o+l,!(a-d<5e-8));)a=1/(a-d),i=s,s=f,l=o,o=c;if(c>t&&(o>t?(c=l,f=i):(c=o,f=s)),!r)return[0,n*f,c];var p=Math.floor(n*f/c);return[p,n*f-p*c,c]}function qt(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 l=new Date(1900,0,1);l.setDate(l.getDate()+n-1),s=[l.getFullYear(),l.getMonth()+1,l.getDate()],i=l.getDay(),n<60&&(i=(i+6)%7),r&&(i=qs(l,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 ka=new Date(1899,11,31,0,0,0),zs=ka.getTime(),Ks=new Date(1900,2,1,0,0,0);function Da(e,t){var r=e.getTime();return t?r-=1461*24*60*60*1e3:e>=Ks&&(r+=24*60*60*1e3),(r-(zs+(e.getTimezoneOffset()-ka.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function qn(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function Ys(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function js(e){var t=e<0?12:11,r=qn(e.toFixed(12));return r.length<=t||(r=e.toPrecision(10),r.length<=t)?r:e.toExponential(5)}function Js(e){var t=qn(e.toFixed(11));return t.length>(e<0?12:11)||t==="0"||t==="-0"?e.toPrecision(6):t}function Zs(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=js(e):t===10?r=e.toFixed(10).substr(0,12):r=Js(e),qn(Ys(r.toUpperCase()))}function zn(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):Zs(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return Xr(14,Da(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function qs(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function Qs(e,t,r,n){var a="",i=0,s=0,f=r.y,l,o=0;switch(e){case 98:f=r.y+543;case 121:switch(t.length){case 1:case 2:l=f%100,o=2;break;default:l=f%1e4,o=4;break}break;case 109:switch(t.length){case 1:case 2:l=r.m,o=t.length;break;case 3:return Ln[r.m-1][1];case 5:return Ln[r.m-1][0];default:return Ln[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:l=r.d,o=t.length;break;case 3:return M0[r.q][0];default:return M0[r.q][1]}break;case 104:switch(t.length){case 1:case 2:l=1+(r.H+11)%12,o=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:l=r.H,o=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:l=r.M,o=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")?Ar(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=Ar(i,2+n),t==="ss"?a.substr(0,2):"."+a.substr(2,t.length-1)));case 90:switch(t){case"[h]":case"[hh]":l=r.D*24+r.H;break;case"[m]":case"[mm]":l=(r.D*24+r.H)*60+r.M;break;case"[s]":case"[ss]":l=((r.D*24+r.H)*60+r.M)*60+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}o=t.length===3?1:2;break;case 101:l=f,o=1;break}var c=o>0?Ar(l,o):"";return c}function Gr(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 Ia=/%/g;function ef(e,t,r){var n=t.replace(Ia,""),a=t.length-n.length;return Pr(e,n,r*Math.pow(10,2*a))+Re("%",a)}function rf(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Pr(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function Ra(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"-"+Ra(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,l,o,c){return l+o+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 Na=/# (\?+)( ?)\/( ?)(\d+)/;function tf(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?Re(" ",e[1].length+1+e[4].length):Zn(s,e[1].length)+e[2]+"/"+e[3]+Ar(f,e[4].length))}function nf(e,t,r){return r+(t===0?"":""+t)+Re(" ",e[1].length+2+e[4].length)}var Pa=/^#*0*\.([0#]+)/,La=/\).*[0#]/,Ba=/\(###\) ###\\?-####/;function er(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 b0(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function W0(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 af(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function sf(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function dr(e,t,r){if(e.charCodeAt(0)===40&&!t.match(La)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?dr("n",n,r):"("+dr("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return rf(e,t,r);if(t.indexOf("%")!==-1)return ef(e,t,r);if(t.indexOf("E")!==-1)return Ra(t,r);if(t.charCodeAt(0)===36)return"$"+dr(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,f,l=Math.abs(r),o=r<0?"-":"";if(t.match(/^00+$/))return o+ot(l,t.length);if(t.match(/^[#?]+$/))return a=ot(r,0),a==="0"&&(a=""),a.length>t.length?a:er(t.substr(0,t.length-a.length))+a;if(i=t.match(Na))return tf(i,l,o);if(t.match(/^#+0+$/))return o+ot(l,t.length-t.indexOf("0"));if(i=t.match(Pa))return a=b0(r,i[1].length).replace(/^([^\.]+)$/,"$1."+er(i[1])).replace(/\.$/,"."+er(i[1])).replace(/\.(\d*)$/,function(_,h){return"."+h+Re("0",er(i[1]).length-h.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return o+b0(l,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 o+Gr(ot(l,0));if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+dr(e,t,-r):Gr(""+(Math.floor(r)+af(r,i[1].length)))+"."+Ar(W0(r,i[1].length),i[1].length);if(i=t.match(/^#,#*,#0/))return dr(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=pt(dr(e,t.replace(/[\\-]/g,""),r)),s=0,pt(pt(t.replace(/\\/g,"")).replace(/[0#]/g,function(_){return s<a.length?a.charAt(s++):_==="0"?"0":""}));if(t.match(Ba))return a=dr(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=hn(l,Math.pow(10,s)-1,!1),a=""+o,c=Pr("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=on(f[2],s),c.length<i[4].length&&(c=er(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=hn(l,Math.pow(10,s)-1,!0),o+(f[0]||(f[1]?"":"0"))+" "+(f[1]?Zn(f[1],s)+i[2]+"/"+i[3]+on(f[2],s):Re(" ",2*s+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=ot(r,0),t.length<=a.length?a:er(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 d=t.indexOf(".")-s,p=t.length-a.length-d;return er(t.substr(0,d)+a+t.substr(t.length-p))}if(i=t.match(/^00,000\.([#0]*0)$/))return s=W0(r,i[1].length),r<0?"-"+dr(e,t,-r):Gr(sf(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(_){return"00,"+(_.length<3?Ar(0,3-_.length):"")+_})+"."+Ar(s,i[1].length);switch(t){case"###,##0.00":return dr(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var u=Gr(ot(l,0));return u!=="0"?o+u:"";case"###,###.00":return dr(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return dr(e,"#,##0.00",r).replace(/^0\./,".")}throw new Error("unsupported format |"+t+"|")}function ff(e,t,r){for(var n=t.length-1;t.charCodeAt(n-1)===44;)--n;return Pr(e,t.substr(0,n),r/Math.pow(10,3*(t.length-n)))}function lf(e,t,r){var n=t.replace(Ia,""),a=t.length-n.length;return Pr(e,n,r*Math.pow(10,2*a))+Re("%",a)}function Ma(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"-"+Ma(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,l,o,c){return l+o+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 Cr(e,t,r){if(e.charCodeAt(0)===40&&!t.match(La)){var n=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Cr("n",n,r):"("+Cr("n",n,-r)+")"}if(t.charCodeAt(t.length-1)===44)return ff(e,t,r);if(t.indexOf("%")!==-1)return lf(e,t,r);if(t.indexOf("E")!==-1)return Ma(t,r);if(t.charCodeAt(0)===36)return"$"+Cr(e,t.substr(t.charAt(1)==" "?2:1),r);var a,i,s,f,l=Math.abs(r),o=r<0?"-":"";if(t.match(/^00+$/))return o+Ar(l,t.length);if(t.match(/^[#?]+$/))return a=""+r,r===0&&(a=""),a.length>t.length?a:er(t.substr(0,t.length-a.length))+a;if(i=t.match(Na))return nf(i,l,o);if(t.match(/^#+0+$/))return o+Ar(l,t.length-t.indexOf("0"));if(i=t.match(Pa))return a=(""+r).replace(/^([^\.]+)$/,"$1."+er(i[1])).replace(/\.$/,"."+er(i[1])),a=a.replace(/\.(\d*)$/,function(_,h){return"."+h+Re("0",er(i[1]).length-h.length)}),t.indexOf("0.")!==-1?a:a.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),i=t.match(/^(0*)\.(#*)$/))return o+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,i[1].length?"0.":".");if(i=t.match(/^#{1,3},##0(\.?)$/))return o+Gr(""+l);if(i=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Cr(e,t,-r):Gr(""+r)+"."+Re("0",i[1].length);if(i=t.match(/^#,#*,#0/))return Cr(e,t.replace(/^#,#*,/,""),r);if(i=t.match(/^([0#]+)(\\?-([0#]+))+$/))return a=pt(Cr(e,t.replace(/[\\-]/g,""),r)),s=0,pt(pt(t.replace(/\\/g,"")).replace(/[0#]/g,function(_){return s<a.length?a.charAt(s++):_==="0"?"0":""}));if(t.match(Ba))return a=Cr(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=hn(l,Math.pow(10,s)-1,!1),a=""+o,c=Pr("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=on(f[2],s),c.length<i[4].length&&(c=er(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=hn(l,Math.pow(10,s)-1,!0),o+(f[0]||(f[1]?"":"0"))+" "+(f[1]?Zn(f[1],s)+i[2]+"/"+i[3]+on(f[2],s):Re(" ",2*s+1+i[2].length+i[3].length));if(i=t.match(/^[#0?]+$/))return a=""+r,t.length<=a.length?a:er(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 d=t.indexOf(".")-s,p=t.length-a.length-d;return er(t.substr(0,d)+a+t.substr(t.length-p))}if(i=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+Cr(e,t,-r):Gr(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(_){return"00,"+(_.length<3?Ar(0,3-_.length):"")+_})+"."+Ar(0,i[1].length);switch(t){case"###,###":case"##,###":case"#,###":var u=Gr(""+l);return u!=="0"?o+u:"";default:if(t.match(/\.[0#?]*$/))return Cr(e,t.slice(0,t.lastIndexOf(".")),r)+er(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Pr(e,t,r){return(r|0)===r?Cr(e,t,r):dr(e,t,r)}function of(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 Ua=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function ba(e){for(var t=0,r="",n="";t<e.length;)switch(r=e.charAt(t)){case"G":cn(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"上":if(e.substr(t,3).toUpperCase()==="A/P"||e.substr(t,5).toUpperCase()==="AM/PM"||e.substr(t,5).toUpperCase()==="上午/下午")return!0;++t;break;case"[":for(n=r;e.charAt(t++)!=="]"&&t<e.length;)n+=e.charAt(t);if(n.match(Ua))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 cf(e,t,r,n){for(var a=[],i="",s=0,f="",l="t",o,c,d,p="H";s<e.length;)switch(f=e.charAt(s)){case"G":if(!cn(e,s))throw new Error("unrecognized character "+f+" in "+e);a[a.length]={t:"G",v:"General"},s+=7;break;case'"':for(i="";(d=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(d);a[a.length]={t:"t",v:i},++s;break;case"\\":var u=e.charAt(++s),_=u==="("||u===")"?u:"t";a[a.length]={t:_,v:u},++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(o==null&&(o=qt(t,r,e.charAt(s+1)==="2"),o==null))return"";a[a.length]={t:"X",v:e.substr(s,2)},l=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||o==null&&(o=qt(t,r),o==null))return"";for(i=f;++s<e.length&&e.charAt(s).toLowerCase()===f;)i+=f;f==="m"&&l.toLowerCase()==="h"&&(f="M"),f==="h"&&(f=p),a[a.length]={t:f,v:i},l=f;break;case"A":case"a":case"上":var h={t:f,v:f};if(o==null&&(o=qt(t,r)),e.substr(s,3).toUpperCase()==="A/P"?(o!=null&&(h.v=o.H>=12?"P":"A"),h.t="T",p="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(o!=null&&(h.v=o.H>=12?"PM":"AM"),h.t="T",s+=5,p="h"):e.substr(s,5).toUpperCase()==="上午/下午"?(o!=null&&(h.v=o.H>=12?"下午":"上午"),h.t="T",s+=5,p="h"):(h.t="t",++s),o==null&&h.t==="T")return"";a[a.length]=h,l=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(Ua)){if(o==null&&(o=qt(t,r),o==null))return"";a[a.length]={t:"Z",v:i.toLowerCase()},l=i.charAt(1)}else i.indexOf("$")>-1&&(i=(i.match(/\$([^-\[\]]*)/)||[])[1]||"$",ba(e)||(a[a.length]={t:"t",v:i}));break;case".":if(o!=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},l=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(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f)===-1)throw new Error("unrecognized character "+f+" in "+e);a[a.length]={t:"t",v:f},++s;break}var m=0,k=0,R;for(s=a.length-1,l="t";s>=0;--s)switch(a[s].t){case"h":case"H":a[s].t=p,l="h",m<1&&(m=1);break;case"s":(R=a[s].v.match(/\.0+$/))&&(k=Math.max(k,R[0].length-1)),m<3&&(m=3);case"d":case"y":case"M":case"e":l=a[s].t;break;case"m":l==="s"&&(a[s].t="M",m<2&&(m=2));break;case"X":break;case"Z":m<1&&a[s].v.match(/[Hh]/)&&(m=1),m<2&&a[s].v.match(/[Mm]/)&&(m=2),m<3&&a[s].v.match(/[Ss]/)&&(m=3)}switch(m){case 0:break;case 1:o.u>=.5&&(o.u=0,++o.S),o.S>=60&&(o.S=0,++o.M),o.M>=60&&(o.M=0,++o.H);break;case 2:o.u>=.5&&(o.u=0,++o.S),o.S>=60&&(o.S=0,++o.M);break}var O="",U;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=Qs(a[s].t.charCodeAt(0),a[s].v,o,k),a[s].t="t";break;case"n":case"?":for(U=s+1;a[U]!=null&&((f=a[U].t)==="?"||f==="D"||(f===" "||f==="t")&&a[U+1]!=null&&(a[U+1].t==="?"||a[U+1].t==="t"&&a[U+1].v==="/")||a[s].t==="("&&(f===" "||f==="n"||f===")")||f==="t"&&(a[U].v==="/"||a[U].v===" "&&a[U+1]!=null&&a[U+1].t=="?"));)a[s].v+=a[U].v,a[U]={v:"",t:";"},++U;O+=a[s].v,s=U-1;break;case"G":a[s].t="t",a[s].v=zn(t,r);break}var j="",ee,I;if(O.length>0){O.charCodeAt(0)==40?(ee=t<0&&O.charCodeAt(0)===45?-t:t,I=Pr("n",O,ee)):(ee=t<0&&n>1?-t:t,I=Pr("n",O,ee),ee<0&&a[0]&&a[0].t=="t"&&(I=I.substr(1),a[0].v="-"+a[0].v)),U=I.length-1;var V=a.length;for(s=0;s<a.length;++s)if(a[s]!=null&&a[s].t!="t"&&a[s].v.indexOf(".")>-1){V=s;break}var y=a.length;if(V===a.length&&I.indexOf("E")===-1){for(s=a.length-1;s>=0;--s)a[s]==null||"n?".indexOf(a[s].t)===-1||(U>=a[s].v.length-1?(U-=a[s].v.length,a[s].v=I.substr(U+1,a[s].v.length)):U<0?a[s].v="":(a[s].v=I.substr(0,U+1),U=-1),a[s].t="t",y=s);U>=0&&y<a.length&&(a[y].v=I.substr(0,U+1)+a[y].v)}else if(V!==a.length&&I.indexOf("E")===-1){for(U=I.indexOf(".")-1,s=V;s>=0;--s)if(!(a[s]==null||"n?".indexOf(a[s].t)===-1)){for(c=a[s].v.indexOf(".")>-1&&s===V?a[s].v.indexOf(".")-1:a[s].v.length-1,j=a[s].v.substr(c+1);c>=0;--c)U>=0&&(a[s].v.charAt(c)==="0"||a[s].v.charAt(c)==="#")&&(j=I.charAt(U--)+j);a[s].v=j,a[s].t="t",y=s}for(U>=0&&y<a.length&&(a[y].v=I.substr(0,U+1)+a[y].v),U=I.indexOf(".")+1,s=V;s<a.length;++s)if(!(a[s]==null||"n?(".indexOf(a[s].t)===-1&&s!==V)){for(c=a[s].v.indexOf(".")>-1&&s===V?a[s].v.indexOf(".")+1:0,j=a[s].v.substr(0,c);c<a[s].v.length;++c)U<I.length&&(j+=I.charAt(U++));a[s].v=j,a[s].t="t",y=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=Pr(a[s].t,a[s].v,ee),a[s].t="t");var S="";for(s=0;s!==a.length;++s)a[s]!=null&&(S+=a[s].v);return S}var H0=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function V0(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 hf(e,t){var r=of(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(H0),f=r[1].match(H0);return V0(t,s)?[n,r[0]]:V0(t,f)?[n,r[1]]:[n,r[s!=null&&f!=null?2:1]]}return[n,i]}function Xr(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:Ne)[e],n==null&&(n=r.table&&r.table[U0[e]]||Ne[U0[e]]),n==null&&(n=$s[e]||"General");break}if(cn(n,0))return zn(t,r);t instanceof Date&&(t=Da(t,r.date1904));var a=hf(n,t);if(cn(a[1]))return zn(t,r);if(t===!0)t="TRUE";else if(t===!1)t="FALSE";else if(t===""||t==null)return"";return cf(a[1],t,r,a[0])}function Wa(e,t){if(typeof t!="number"){t=+t||-1;for(var r=0;r<392;++r){if(Ne[r]==null){t<0&&(t=r);continue}if(Ne[r]==e){t=r;break}}t<0&&(t=391)}return Ne[t]=e,t}function Sn(e){for(var t=0;t!=392;++t)e[t]!==void 0&&Wa(e[t],t)}function An(){Ne=Xs()}var Ha=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function uf(e){var t=typeof e=="number"?Ne[e]:e;return t=t.replace(Ha,"(\\d+)"),new RegExp("^"+t+"$")}function xf(e,t,r){var n=-1,a=-1,i=-1,s=-1,f=-1,l=-1;(t.match(Ha)||[]).forEach(function(d,p){var u=parseInt(r[p+1],10);switch(d.toLowerCase().charAt(0)){case"y":n=u;break;case"d":i=u;break;case"h":s=u;break;case"s":l=u;break;case"m":s>=0?f=u:a=u;break}}),l>=0&&f==-1&&a>=0&&(f=a,a=-1);var o=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);o.length==7&&(o="0"+o),o.length==8&&(o="20"+o);var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return s==-1&&f==-1&&l==-1?o:n==-1&&a==-1&&i==-1?c:o+"T"+c}var pf=function(){var e={};e.version="1.2.0";function t(){for(var I=0,V=new Array(256),y=0;y!=256;++y)I=y,I=I&1?-306674912^I>>>1:I>>>1,I=I&1?-306674912^I>>>1:I>>>1,I=I&1?-306674912^I>>>1:I>>>1,I=I&1?-306674912^I>>>1:I>>>1,I=I&1?-306674912^I>>>1:I>>>1,I=I&1?-306674912^I>>>1:I>>>1,I=I&1?-306674912^I>>>1:I>>>1,I=I&1?-306674912^I>>>1:I>>>1,V[y]=I;return typeof Int32Array<"u"?new Int32Array(V):V}var r=t();function n(I){var V=0,y=0,S=0,D=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(S=0;S!=256;++S)D[S]=I[S];for(S=0;S!=256;++S)for(y=I[S],V=256+S;V<4096;V+=256)y=D[V]=y>>>8^I[y&255];var H=[];for(S=1;S!=16;++S)H[S-1]=typeof Int32Array<"u"?D.subarray(S*256,S*256+256):D.slice(S*256,S*256+256);return H}var a=n(r),i=a[0],s=a[1],f=a[2],l=a[3],o=a[4],c=a[5],d=a[6],p=a[7],u=a[8],_=a[9],h=a[10],m=a[11],k=a[12],R=a[13],O=a[14];function U(I,V){for(var y=V^-1,S=0,D=I.length;S<D;)y=y>>>8^r[(y^I.charCodeAt(S++))&255];return~y}function j(I,V){for(var y=V^-1,S=I.length-15,D=0;D<S;)y=O[I[D++]^y&255]^R[I[D++]^y>>8&255]^k[I[D++]^y>>16&255]^m[I[D++]^y>>>24]^h[I[D++]]^_[I[D++]]^u[I[D++]]^p[I[D++]]^d[I[D++]]^c[I[D++]]^o[I[D++]]^l[I[D++]]^f[I[D++]]^s[I[D++]]^i[I[D++]]^r[I[D++]];for(S+=15;D<S;)y=y>>>8^r[(y^I[D++])&255];return~y}function ee(I,V){for(var y=V^-1,S=0,D=I.length,H=0,q=0;S<D;)H=I.charCodeAt(S++),H<128?y=y>>>8^r[(y^H)&255]:H<2048?(y=y>>>8^r[(y^(192|H>>6&31))&255],y=y>>>8^r[(y^(128|H&63))&255]):H>=55296&&H<57344?(H=(H&1023)+64,q=I.charCodeAt(S++)&1023,y=y>>>8^r[(y^(240|H>>8&7))&255],y=y>>>8^r[(y^(128|H>>2&63))&255],y=y>>>8^r[(y^(128|q>>6&15|(H&3)<<4))&255],y=y>>>8^r[(y^(128|q&63))&255]):(y=y>>>8^r[(y^(224|H>>12&15))&255],y=y>>>8^r[(y^(128|H>>6&63))&255],y=y>>>8^r[(y^(128|H&63))&255]);return~y}return e.table=r,e.bstr=U,e.buf=j,e.str=ee,e}(),Ae=function(){var t={};t.version="1.2.1";function r(x,T){for(var v=x.split("/"),g=T.split("/"),E=0,w=0,P=Math.min(v.length,g.length);E<P;++E){if(w=v[E].length-g[E].length)return w;if(v[E]!=g[E])return v[E]<g[E]?-1:1}return v.length-g.length}function n(x){if(x.charAt(x.length-1)=="/")return x.slice(0,-1).indexOf("/")===-1?x:n(x.slice(0,-1));var T=x.lastIndexOf("/");return T===-1?x:x.slice(0,T+1)}function a(x){if(x.charAt(x.length-1)=="/")return a(x.slice(0,-1));var T=x.lastIndexOf("/");return T===-1?x:x.slice(T+1)}function i(x,T){typeof T=="string"&&(T=new Date(T));var v=T.getHours();v=v<<6|T.getMinutes(),v=v<<5|T.getSeconds()>>>1,x.write_shift(2,v);var g=T.getFullYear()-1980;g=g<<4|T.getMonth()+1,g=g<<5|T.getDate(),x.write_shift(2,g)}function s(x){var T=x.read_shift(2)&65535,v=x.read_shift(2)&65535,g=new Date,E=v&31;v>>>=5;var w=v&15;v>>>=4,g.setMilliseconds(0),g.setFullYear(v+1980),g.setMonth(w-1),g.setDate(E);var P=T&31;T>>>=5;var W=T&63;return T>>>=6,g.setHours(T),g.setMinutes(W),g.setSeconds(P<<1),g}function f(x){or(x,0);for(var T={},v=0;x.l<=x.length-4;){var g=x.read_shift(2),E=x.read_shift(2),w=x.l+E,P={};switch(g){case 21589:v=x.read_shift(1),v&1&&(P.mtime=x.read_shift(4)),E>5&&(v&2&&(P.atime=x.read_shift(4)),v&4&&(P.ctime=x.read_shift(4))),P.mtime&&(P.mt=new Date(P.mtime*1e3));break}x.l=w,T[g]=P}return T}var l;function o(){return l||(l={})}function c(x,T){if(x[0]==80&&x[1]==75)return C0(x,T);if((x[0]|32)==109&&(x[1]|32)==105)return gs(x,T);if(x.length<512)throw new Error("CFB file size "+x.length+" < 512");var v=3,g=512,E=0,w=0,P=0,W=0,N=0,L=[],B=x.slice(0,512);or(B,0);var z=d(B);switch(v=z[0],v){case 3:g=512;break;case 4:g=4096;break;case 0:if(z[1]==0)return C0(x,T);default:throw new Error("Major Version: Expected 3 or 4 saw "+v)}g!==512&&(B=x.slice(0,g),or(B,28));var Q=x.slice(0,g);p(B,v);var ne=B.read_shift(4,"i");if(v===3&&ne!==0)throw new Error("# Directory Sectors: Expected 0 saw "+ne);B.l+=4,P=B.read_shift(4,"i"),B.l+=4,B.chk("00100000","Mini Stream Cutoff Size: "),W=B.read_shift(4,"i"),E=B.read_shift(4,"i"),N=B.read_shift(4,"i"),w=B.read_shift(4,"i");for(var Y=-1,te=0;te<109&&(Y=B.read_shift(4,"i"),!(Y<0));++te)L[te]=Y;var ce=u(x,g);m(N,w,ce,g,L);var Oe=R(ce,P,L,g);Oe[P].name="!Directory",E>0&&W!==q&&(Oe[W].name="!MiniFAT"),Oe[L[0]].name="!FAT",Oe.fat_addrs=L,Oe.ssz=g;var ke={},Je=[],St=[],At=[];O(P,Oe,ce,Je,E,ke,St,W),_(St,At,Je),Je.shift();var Ft={FileIndex:St,FullPaths:At};return T&&T.raw&&(Ft.raw={header:Q,sectors:ce}),Ft}function d(x){if(x[x.l]==80&&x[x.l+1]==75)return[0,0];x.chk(le,"Header Signature: "),x.l+=16;var T=x.read_shift(2,"u");return[x.read_shift(2,"u"),T]}function p(x,T){var v=9;switch(x.l+=2,v=x.read_shift(2)){case 9:if(T!=3)throw new Error("Sector Shift: Expected 9 saw "+v);break;case 12:if(T!=4)throw new Error("Sector Shift: Expected 12 saw "+v);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+v)}x.chk("0600","Mini Sector Shift: "),x.chk("000000000000","Reserved: ")}function u(x,T){for(var v=Math.ceil(x.length/T)-1,g=[],E=1;E<v;++E)g[E-1]=x.slice(E*T,(E+1)*T);return g[v-1]=x.slice(v*T),g}function _(x,T,v){for(var g=0,E=0,w=0,P=0,W=0,N=v.length,L=[],B=[];g<N;++g)L[g]=B[g]=g,T[g]=v[g];for(;W<B.length;++W)g=B[W],E=x[g].L,w=x[g].R,P=x[g].C,L[g]===g&&(E!==-1&&L[E]!==E&&(L[g]=L[E]),w!==-1&&L[w]!==w&&(L[g]=L[w])),P!==-1&&(L[P]=g),E!==-1&&g!=L[g]&&(L[E]=L[g],B.lastIndexOf(E)<W&&B.push(E)),w!==-1&&g!=L[g]&&(L[w]=L[g],B.lastIndexOf(w)<W&&B.push(w));for(g=1;g<N;++g)L[g]===g&&(w!==-1&&L[w]!==w?L[g]=L[w]:E!==-1&&L[E]!==E&&(L[g]=L[E]));for(g=1;g<N;++g)if(x[g].type!==0){if(W=g,W!=L[W])do W=L[W],T[g]=T[W]+"/"+T[g];while(W!==0&&L[W]!==-1&&W!=L[W]);L[g]=-1}for(T[0]+="/",g=1;g<N;++g)x[g].type!==2&&(T[g]+="/")}function h(x,T,v){for(var g=x.start,E=x.size,w=[],P=g;v&&E>0&&P>=0;)w.push(T.slice(P*H,P*H+H)),E-=H,P=qr(v,P*4);return w.length===0?b(0):ze(w).slice(0,x.size)}function m(x,T,v,g,E){var w=q;if(x===q){if(T!==0)throw new Error("DIFAT chain shorter than expected")}else if(x!==-1){var P=v[x],W=(g>>>2)-1;if(!P)return;for(var N=0;N<W&&(w=qr(P,N*4))!==q;++N)E.push(w);m(qr(P,g-4),T-1,v,g,E)}}function k(x,T,v,g,E){var w=[],P=[];E||(E=[]);var W=g-1,N=0,L=0;for(N=T;N>=0;){E[N]=!0,w[w.length]=N,P.push(x[N]);var B=v[Math.floor(N*4/g)];if(L=N*4&W,g<4+L)throw new Error("FAT boundary crossed: "+N+" 4 "+g);if(!x[B])break;N=qr(x[B],L)}return{nodes:w,data:J0([P])}}function R(x,T,v,g){var E=x.length,w=[],P=[],W=[],N=[],L=g-1,B=0,z=0,Q=0,ne=0;for(B=0;B<E;++B)if(W=[],Q=B+T,Q>=E&&(Q-=E),!P[Q]){N=[];var Y=[];for(z=Q;z>=0;){Y[z]=!0,P[z]=!0,W[W.length]=z,N.push(x[z]);var te=v[Math.floor(z*4/g)];if(ne=z*4&L,g<4+ne)throw new Error("FAT boundary crossed: "+z+" 4 "+g);if(!x[te]||(z=qr(x[te],ne),Y[z]))break}w[Q]={nodes:W,data:J0([N])}}return w}function O(x,T,v,g,E,w,P,W){for(var N=0,L=g.length?2:0,B=T[x].data,z=0,Q=0,ne;z<B.length;z+=128){var Y=B.slice(z,z+128);or(Y,64),Q=Y.read_shift(2),ne=n0(Y,0,Q-L),g.push(ne);var te={name:ne,type:Y.read_shift(1),color:Y.read_shift(1),L:Y.read_shift(4,"i"),R:Y.read_shift(4,"i"),C:Y.read_shift(4,"i"),clsid:Y.read_shift(16),state:Y.read_shift(4,"i"),start:0,size:0},ce=Y.read_shift(2)+Y.read_shift(2)+Y.read_shift(2)+Y.read_shift(2);ce!==0&&(te.ct=U(Y,Y.l-8));var Oe=Y.read_shift(2)+Y.read_shift(2)+Y.read_shift(2)+Y.read_shift(2);Oe!==0&&(te.mt=U(Y,Y.l-8)),te.start=Y.read_shift(4,"i"),te.size=Y.read_shift(4,"i"),te.size<0&&te.start<0&&(te.size=te.type=0,te.start=q,te.name=""),te.type===5?(N=te.start,E>0&&N!==q&&(T[N].name="!StreamData")):te.size>=4096?(te.storage="fat",T[te.start]===void 0&&(T[te.start]=k(v,te.start,T.fat_addrs,T.ssz)),T[te.start].name=te.name,te.content=T[te.start].data.slice(0,te.size)):(te.storage="minifat",te.size<0?te.size=0:N!==q&&te.start!==q&&T[N]&&(te.content=h(te,T[N].data,(T[W]||{}).data))),te.content&&or(te.content,0),w[ne]=te,P.push(te)}}function U(x,T){return new Date((hr(x,T+4)/1e7*Math.pow(2,32)+hr(x,T)/1e7-11644473600)*1e3)}function j(x,T){return o(),c(l.readFileSync(x),T)}function ee(x,T){var v=T&&T.type;switch(v||ge&&Buffer.isBuffer(x)&&(v="buffer"),v||"base64"){case"file":return j(x,T);case"base64":return c(Sr(Mr(x)),T);case"binary":return c(Sr(x),T)}return c(x,T)}function I(x,T){var v=T||{},g=v.root||"Root Entry";if(x.FullPaths||(x.FullPaths=[]),x.FileIndex||(x.FileIndex=[]),x.FullPaths.length!==x.FileIndex.length)throw new Error("inconsistent CFB structure");x.FullPaths.length===0&&(x.FullPaths[0]=g+"/",x.FileIndex[0]={name:g,type:5}),v.CLSID&&(x.FileIndex[0].clsid=v.CLSID),V(x)}function V(x){var T="Sh33tJ5";if(!Ae.find(x,"/"+T)){var v=b(4);v[0]=55,v[1]=v[3]=50,v[2]=54,x.FileIndex.push({name:T,type:2,content:v,size:4,L:69,R:69,C:69}),x.FullPaths.push(x.FullPaths[0]+T),y(x)}}function y(x,T){I(x);for(var v=!1,g=!1,E=x.FullPaths.length-1;E>=0;--E){var w=x.FileIndex[E];switch(w.type){case 0:g?v=!0:(x.FileIndex.pop(),x.FullPaths.pop());break;case 1:case 2:case 5:g=!0,isNaN(w.R*w.L*w.C)&&(v=!0),w.R>-1&&w.L>-1&&w.R==w.L&&(v=!0);break;default:v=!0;break}}if(!(!v&&!T)){var P=new Date(1987,1,19),W=0,N=Object.create?Object.create(null):{},L=[];for(E=0;E<x.FullPaths.length;++E)N[x.FullPaths[E]]=!0,x.FileIndex[E].type!==0&&L.push([x.FullPaths[E],x.FileIndex[E]]);for(E=0;E<L.length;++E){var B=n(L[E][0]);g=N[B],g||(L.push([B,{name:a(B).replace("/",""),type:1,clsid:Le,ct:P,mt:P,content:null}]),N[B]=!0)}for(L.sort(function(ne,Y){return r(ne[0],Y[0])}),x.FullPaths=[],x.FileIndex=[],E=0;E<L.length;++E)x.FullPaths[E]=L[E][0],x.FileIndex[E]=L[E][1];for(E=0;E<L.length;++E){var z=x.FileIndex[E],Q=x.FullPaths[E];if(z.name=a(Q).replace("/",""),z.L=z.R=z.C=-(z.color=1),z.size=z.content?z.content.length:0,z.start=0,z.clsid=z.clsid||Le,E===0)z.C=L.length>1?1:-1,z.size=0,z.type=5;else if(Q.slice(-1)=="/"){for(W=E+1;W<L.length&&n(x.FullPaths[W])!=Q;++W);for(z.C=W>=L.length?-1:W,W=E+1;W<L.length&&n(x.FullPaths[W])!=n(Q);++W);z.R=W>=L.length?-1:W,z.type=1}else n(x.FullPaths[E+1]||"")==n(Q)&&(z.R=E+1),z.type=2}}}function S(x,T){var v=T||{};if(v.fileType=="mad")return ms(x,v);switch(y(x),v.fileType){case"zip":return hs(x,v)}var g=function(ne){for(var Y=0,te=0,ce=0;ce<ne.FileIndex.length;++ce){var Oe=ne.FileIndex[ce];if(Oe.content){var ke=Oe.content.length;ke>0&&(ke<4096?Y+=ke+63>>6:te+=ke+511>>9)}}for(var Je=ne.FullPaths.length+3>>2,St=Y+7>>3,At=Y+127>>7,Ft=St+te+Je+At,Jr=Ft+127>>7,Pn=Jr<=109?0:Math.ceil((Jr-109)/127);Ft+Jr+Pn+127>>7>Jr;)Pn=++Jr<=109?0:Math.ceil((Jr-109)/127);var Rr=[1,Pn,Jr,At,Je,te,Y,0];return ne.FileIndex[0].size=Y<<6,Rr[7]=(ne.FileIndex[0].start=Rr[0]+Rr[1]+Rr[2]+Rr[3]+Rr[4]+Rr[5])+(Rr[6]+7>>3),Rr}(x),E=b(g[7]<<9),w=0,P=0;{for(w=0;w<8;++w)E.write_shift(1,oe[w]);for(w=0;w<8;++w)E.write_shift(2,0);for(E.write_shift(2,62),E.write_shift(2,3),E.write_shift(2,65534),E.write_shift(2,9),E.write_shift(2,6),w=0;w<3;++w)E.write_shift(2,0);for(E.write_shift(4,0),E.write_shift(4,g[2]),E.write_shift(4,g[0]+g[1]+g[2]+g[3]-1),E.write_shift(4,0),E.write_shift(4,4096),E.write_shift(4,g[3]?g[0]+g[1]+g[2]-1:q),E.write_shift(4,g[3]),E.write_shift(-4,g[1]?g[0]-1:q),E.write_shift(4,g[1]),w=0;w<109;++w)E.write_shift(-4,w<g[2]?g[1]+w:-1)}if(g[1])for(P=0;P<g[1];++P){for(;w<236+P*127;++w)E.write_shift(-4,w<g[2]?g[1]+w:-1);E.write_shift(-4,P===g[1]-1?q:P+1)}var W=function(ne){for(P+=ne;w<P-1;++w)E.write_shift(-4,w+1);ne&&(++w,E.write_shift(-4,q))};for(P=w=0,P+=g[1];w<P;++w)E.write_shift(-4,Pe.DIFSECT);for(P+=g[2];w<P;++w)E.write_shift(-4,Pe.FATSECT);W(g[3]),W(g[4]);for(var N=0,L=0,B=x.FileIndex[0];N<x.FileIndex.length;++N)B=x.FileIndex[N],B.content&&(L=B.content.length,!(L<4096)&&(B.start=P,W(L+511>>9)));for(W(g[6]+7>>3);E.l&511;)E.write_shift(-4,Pe.ENDOFCHAIN);for(P=w=0,N=0;N<x.FileIndex.length;++N)B=x.FileIndex[N],B.content&&(L=B.content.length,!(!L||L>=4096)&&(B.start=P,W(L+63>>6)));for(;E.l&511;)E.write_shift(-4,Pe.ENDOFCHAIN);for(w=0;w<g[4]<<2;++w){var z=x.FullPaths[w];if(!z||z.length===0){for(N=0;N<17;++N)E.write_shift(4,0);for(N=0;N<3;++N)E.write_shift(4,-1);for(N=0;N<12;++N)E.write_shift(4,0);continue}B=x.FileIndex[w],w===0&&(B.start=B.size?B.start-1:q);var Q=w===0&&v.root||B.name;if(L=2*(Q.length+1),E.write_shift(64,Q,"utf16le"),E.write_shift(2,L),E.write_shift(1,B.type),E.write_shift(1,B.color),E.write_shift(-4,B.L),E.write_shift(-4,B.R),E.write_shift(-4,B.C),B.clsid)E.write_shift(16,B.clsid,"hex");else for(N=0;N<4;++N)E.write_shift(4,0);E.write_shift(4,B.state||0),E.write_shift(4,0),E.write_shift(4,0),E.write_shift(4,0),E.write_shift(4,0),E.write_shift(4,B.start),E.write_shift(4,B.size),E.write_shift(4,0)}for(w=1;w<x.FileIndex.length;++w)if(B=x.FileIndex[w],B.size>=4096)if(E.l=B.start+1<<9,ge&&Buffer.isBuffer(B.content))B.content.copy(E,E.l,0,B.size),E.l+=B.size+511&-512;else{for(N=0;N<B.size;++N)E.write_shift(1,B.content[N]);for(;N&511;++N)E.write_shift(1,0)}for(w=1;w<x.FileIndex.length;++w)if(B=x.FileIndex[w],B.size>0&&B.size<4096)if(ge&&Buffer.isBuffer(B.content))B.content.copy(E,E.l,0,B.size),E.l+=B.size+63&-64;else{for(N=0;N<B.size;++N)E.write_shift(1,B.content[N]);for(;N&63;++N)E.write_shift(1,0)}if(ge)E.l=E.length;else for(;E.l<E.length;)E.write_shift(1,0);return E}function D(x,T){var v=x.FullPaths.map(function(N){return N.toUpperCase()}),g=v.map(function(N){var L=N.split("/");return L[L.length-(N.slice(-1)=="/"?2:1)]}),E=!1;T.charCodeAt(0)===47?(E=!0,T=v[0].slice(0,-1)+T):E=T.indexOf("/")!==-1;var w=T.toUpperCase(),P=E===!0?v.indexOf(w):g.indexOf(w);if(P!==-1)return x.FileIndex[P];var W=!w.match(Zt);for(w=w.replace(Ot,""),W&&(w=w.replace(Zt,"!")),P=0;P<v.length;++P)if((W?v[P].replace(Zt,"!"):v[P]).replace(Ot,"")==w||(W?g[P].replace(Zt,"!"):g[P]).replace(Ot,"")==w)return x.FileIndex[P];return null}var H=64,q=-2,le="d0cf11e0a1b11ae1",oe=[208,207,17,224,161,177,26,225],Le="00000000000000000000000000000000",Pe={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:q,FREESECT:-1,HEADER_SIGNATURE:le,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:Le,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function mr(x,T,v){o();var g=S(x,v);l.writeFileSync(T,g)}function We(x){for(var T=new Array(x.length),v=0;v<x.length;++v)T[v]=String.fromCharCode(x[v]);return T.join("")}function xr(x,T){var v=S(x,T);switch(T&&T.type||"buffer"){case"file":return o(),l.writeFileSync(T.filename,v),v;case"binary":return typeof v=="string"?v:We(v);case"base64":return Lt(typeof v=="string"?v:We(v));case"buffer":if(ge)return Buffer.isBuffer(v)?v:br(v);case"array":return typeof v=="string"?Sr(v):v}return v}var sr;function A(x){try{var T=x.InflateRaw,v=new T;if(v._processChunk(new Uint8Array([3,0]),v._finishFlushFlag),v.bytesRead)sr=x;else throw new Error("zlib does not expose bytesRead")}catch(g){console.error("cannot use native zlib: "+(g.message||g))}}function M(x,T){if(!sr)return F0(x,T);var v=sr.InflateRaw,g=new v,E=g._processChunk(x.slice(x.l),g._finishFlushFlag);return x.l+=g.bytesRead,E}function C(x){return sr?sr.deflateRawSync(x):_0(x)}var F=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],X=[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],se=[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 fe(x){var T=(x<<1|x<<11)&139536|(x<<5|x<<15)&558144;return(T>>16|T>>8|T)&255}for(var ie=typeof Uint8Array<"u",re=ie?new Uint8Array(256):[],Fe=0;Fe<256;++Fe)re[Fe]=fe(Fe);function pe(x,T){var v=re[x&255];return T<=8?v>>>8-T:(v=v<<8|re[x>>8&255],T<=16?v>>>16-T:(v=v<<8|re[x>>16&255],v>>>24-T))}function Qe(x,T){var v=T&7,g=T>>>3;return(x[g]|(v<=6?0:x[g+1]<<8))>>>v&3}function me(x,T){var v=T&7,g=T>>>3;return(x[g]|(v<=5?0:x[g+1]<<8))>>>v&7}function Dr(x,T){var v=T&7,g=T>>>3;return(x[g]|(v<=4?0:x[g+1]<<8))>>>v&15}function Ie(x,T){var v=T&7,g=T>>>3;return(x[g]|(v<=3?0:x[g+1]<<8))>>>v&31}function ae(x,T){var v=T&7,g=T>>>3;return(x[g]|(v<=1?0:x[g+1]<<8))>>>v&127}function pr(x,T,v){var g=T&7,E=T>>>3,w=(1<<v)-1,P=x[E]>>>g;return v<8-g||(P|=x[E+1]<<8-g,v<16-g)||(P|=x[E+2]<<16-g,v<24-g)||(P|=x[E+3]<<24-g),P&w}function Ir(x,T,v){var g=T&7,E=T>>>3;return g<=5?x[E]|=(v&7)<<g:(x[E]|=v<<g&255,x[E+1]=(v&7)>>8-g),T+3}function Yr(x,T,v){var g=T&7,E=T>>>3;return v=(v&1)<<g,x[E]|=v,T+1}function lt(x,T,v){var g=T&7,E=T>>>3;return v<<=g,x[E]|=v&255,v>>>=8,x[E+1]=v,T+8}function m0(x,T,v){var g=T&7,E=T>>>3;return v<<=g,x[E]|=v&255,v>>>=8,x[E+1]=v&255,x[E+2]=v>>>8,T+16}function Dn(x,T){var v=x.length,g=2*v>T?2*v:T+5,E=0;if(v>=T)return x;if(ge){var w=L0(g);if(x.copy)x.copy(w);else for(;E<x.length;++E)w[E]=x[E];return w}else if(ie){var P=new Uint8Array(g);if(P.set)P.set(x);else for(;E<v;++E)P[E]=x[E];return P}return x.length=g,x}function yr(x){for(var T=new Array(x),v=0;v<x;++v)T[v]=0;return T}function Kt(x,T,v){var g=1,E=0,w=0,P=0,W=0,N=x.length,L=ie?new Uint16Array(32):yr(32);for(w=0;w<32;++w)L[w]=0;for(w=N;w<v;++w)x[w]=0;N=x.length;var B=ie?new Uint16Array(N):yr(N);for(w=0;w<N;++w)L[E=x[w]]++,g<E&&(g=E),B[w]=0;for(L[0]=0,w=1;w<=g;++w)L[w+16]=W=W+L[w-1]<<1;for(w=0;w<N;++w)W=x[w],W!=0&&(B[w]=L[W+16]++);var z=0;for(w=0;w<N;++w)if(z=x[w],z!=0)for(W=pe(B[w],g)>>g-z,P=(1<<g+4-z)-1;P>=0;--P)T[W|P<<z]=z&15|w<<4;return g}var In=ie?new Uint16Array(512):yr(512),Rn=ie?new Uint16Array(32):yr(32);if(!ie){for(var jr=0;jr<512;++jr)In[jr]=0;for(jr=0;jr<32;++jr)Rn[jr]=0}(function(){for(var x=[],T=0;T<32;T++)x.push(5);Kt(x,Rn,32);var v=[];for(T=0;T<=143;T++)v.push(8);for(;T<=255;T++)v.push(9);for(;T<=279;T++)v.push(7);for(;T<=287;T++)v.push(8);Kt(v,In,288)})();var fs=function(){for(var T=ie?new Uint8Array(32768):[],v=0,g=0;v<se.length-1;++v)for(;g<se[v+1];++g)T[g]=v;for(;g<32768;++g)T[g]=29;var E=ie?new Uint8Array(259):[];for(v=0,g=0;v<X.length-1;++v)for(;g<X[v+1];++g)E[g]=v;function w(W,N){for(var L=0;L<W.length;){var B=Math.min(65535,W.length-L),z=L+B==W.length;for(N.write_shift(1,+z),N.write_shift(2,B),N.write_shift(2,~B&65535);B-- >0;)N[N.l++]=W[L++]}return N.l}function P(W,N){for(var L=0,B=0,z=ie?new Uint16Array(32768):[];B<W.length;){var Q=Math.min(65535,W.length-B);if(Q<10){for(L=Ir(N,L,+(B+Q==W.length)),L&7&&(L+=8-(L&7)),N.l=L/8|0,N.write_shift(2,Q),N.write_shift(2,~Q&65535);Q-- >0;)N[N.l++]=W[B++];L=N.l*8;continue}L=Ir(N,L,+(B+Q==W.length)+2);for(var ne=0;Q-- >0;){var Y=W[B];ne=(ne<<5^Y)&32767;var te=-1,ce=0;if((te=z[ne])&&(te|=B&-32768,te>B&&(te-=32768),te<B))for(;W[te+ce]==W[B+ce]&&ce<250;)++ce;if(ce>2){Y=E[ce],Y<=22?L=lt(N,L,re[Y+1]>>1)-1:(lt(N,L,3),L+=5,lt(N,L,re[Y-23]>>5),L+=3);var Oe=Y<8?0:Y-4>>2;Oe>0&&(m0(N,L,ce-X[Y]),L+=Oe),Y=T[B-te],L=lt(N,L,re[Y]>>3),L-=3;var ke=Y<4?0:Y-2>>1;ke>0&&(m0(N,L,B-te-se[Y]),L+=ke);for(var Je=0;Je<ce;++Je)z[ne]=B&32767,ne=(ne<<5^W[B])&32767,++B;Q-=ce-1}else Y<=143?Y=Y+48:L=Yr(N,L,1),L=lt(N,L,re[Y]),z[ne]=B&32767,++B}L=lt(N,L,0)-1}return N.l=(L+7)/8|0,N.l}return function(N,L){return N.length<8?w(N,L):P(N,L)}}();function _0(x){var T=b(50+Math.floor(x.length*1.1)),v=fs(x,T);return T.slice(0,v)}var T0=ie?new Uint16Array(32768):yr(32768),E0=ie?new Uint16Array(32768):yr(32768),w0=ie?new Uint16Array(128):yr(128),S0=1,A0=1;function ls(x,T){var v=Ie(x,T)+257;T+=5;var g=Ie(x,T)+1;T+=5;var E=Dr(x,T)+4;T+=4;for(var w=0,P=ie?new Uint8Array(19):yr(19),W=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],N=1,L=ie?new Uint8Array(8):yr(8),B=ie?new Uint8Array(8):yr(8),z=P.length,Q=0;Q<E;++Q)P[F[Q]]=w=me(x,T),N<w&&(N=w),L[w]++,T+=3;var ne=0;for(L[0]=0,Q=1;Q<=N;++Q)B[Q]=ne=ne+L[Q-1]<<1;for(Q=0;Q<z;++Q)(ne=P[Q])!=0&&(W[Q]=B[ne]++);var Y=0;for(Q=0;Q<z;++Q)if(Y=P[Q],Y!=0){ne=re[W[Q]]>>8-Y;for(var te=(1<<7-Y)-1;te>=0;--te)w0[ne|te<<Y]=Y&7|Q<<3}var ce=[];for(N=1;ce.length<v+g;)switch(ne=w0[ae(x,T)],T+=ne&7,ne>>>=3){case 16:for(w=3+Qe(x,T),T+=2,ne=ce[ce.length-1];w-- >0;)ce.push(ne);break;case 17:for(w=3+me(x,T),T+=3;w-- >0;)ce.push(0);break;case 18:for(w=11+ae(x,T),T+=7;w-- >0;)ce.push(0);break;default:ce.push(ne),N<ne&&(N=ne);break}var Oe=ce.slice(0,v),ke=ce.slice(v);for(Q=v;Q<286;++Q)Oe[Q]=0;for(Q=g;Q<30;++Q)ke[Q]=0;return S0=Kt(Oe,T0,286),A0=Kt(ke,E0,30),T}function os(x,T){if(x[0]==3&&!(x[1]&3))return[et(T),2];for(var v=0,g=0,E=L0(T||1<<18),w=0,P=E.length>>>0,W=0,N=0;!(g&1);){if(g=me(x,v),v+=3,g>>>1)g>>1==1?(W=9,N=5):(v=ls(x,v),W=S0,N=A0);else{v&7&&(v+=8-(v&7));var L=x[v>>>3]|x[(v>>>3)+1]<<8;if(v+=32,L>0)for(!T&&P<w+L&&(E=Dn(E,w+L),P=E.length);L-- >0;)E[w++]=x[v>>>3],v+=8;continue}for(;;){!T&&P<w+32767&&(E=Dn(E,w+32767),P=E.length);var B=pr(x,v,W),z=g>>>1==1?In[B]:T0[B];if(v+=z&15,z>>>=4,!(z>>>8&255))E[w++]=z;else{if(z==256)break;z-=257;var Q=z<8?0:z-4>>2;Q>5&&(Q=0);var ne=w+X[z];Q>0&&(ne+=pr(x,v,Q),v+=Q),B=pr(x,v,N),z=g>>>1==1?Rn[B]:E0[B],v+=z&15,z>>>=4;var Y=z<4?0:z-2>>1,te=se[z];for(Y>0&&(te+=pr(x,v,Y),v+=Y),!T&&P<ne&&(E=Dn(E,ne+100),P=E.length);w<ne;)E[w]=E[w-te],++w}}}return T?[E,v+7>>>3]:[E.slice(0,w),v+7>>>3]}function F0(x,T){var v=x.slice(x.l||0),g=os(v,T);return x.l+=g[1],g[0]}function y0(x,T){if(x)typeof console<"u"&&console.error(T);else throw new Error(T)}function C0(x,T){var v=x;or(v,0);var g=[],E=[],w={FileIndex:g,FullPaths:E};I(w,{root:T.root});for(var P=v.length-4;(v[P]!=80||v[P+1]!=75||v[P+2]!=5||v[P+3]!=6)&&P>=0;)--P;v.l=P+4,v.l+=4;var W=v.read_shift(2);v.l+=6;var N=v.read_shift(4);for(v.l=N,P=0;P<W;++P){v.l+=20;var L=v.read_shift(4),B=v.read_shift(4),z=v.read_shift(2),Q=v.read_shift(2),ne=v.read_shift(2);v.l+=8;var Y=v.read_shift(4),te=f(v.slice(v.l+z,v.l+z+Q));v.l+=z+Q+ne;var ce=v.l;v.l=Y+4,cs(v,L,B,w,te),v.l=ce}return w}function cs(x,T,v,g,E){x.l+=2;var w=x.read_shift(2),P=x.read_shift(2),W=s(x);if(w&8257)throw new Error("Unsupported ZIP encryption");for(var N=x.read_shift(4),L=x.read_shift(4),B=x.read_shift(4),z=x.read_shift(2),Q=x.read_shift(2),ne="",Y=0;Y<z;++Y)ne+=String.fromCharCode(x[x.l++]);if(Q){var te=f(x.slice(x.l,x.l+Q));(te[21589]||{}).mt&&(W=te[21589].mt),((E||{})[21589]||{}).mt&&(W=E[21589].mt)}x.l+=Q;var ce=x.slice(x.l,x.l+L);switch(P){case 8:ce=M(x,B);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+P)}var Oe=!1;w&8&&(N=x.read_shift(4),N==134695760&&(N=x.read_shift(4),Oe=!0),L=x.read_shift(4),B=x.read_shift(4)),L!=T&&y0(Oe,"Bad compressed size: "+T+" != "+L),B!=v&&y0(Oe,"Bad uncompressed size: "+v+" != "+B),Nn(g,ne,ce,{unsafe:!0,mt:W})}function hs(x,T){var v=T||{},g=[],E=[],w=b(1),P=v.compression?8:0,W=0,N=0,L=0,B=0,z=0,Q=x.FullPaths[0],ne=Q,Y=x.FileIndex[0],te=[],ce=0;for(N=1;N<x.FullPaths.length;++N)if(ne=x.FullPaths[N].slice(Q.length),Y=x.FileIndex[N],!(!Y.size||!Y.content||ne=="Sh33tJ5")){var Oe=B,ke=b(ne.length);for(L=0;L<ne.length;++L)ke.write_shift(1,ne.charCodeAt(L)&127);ke=ke.slice(0,ke.l),te[z]=pf.buf(Y.content,0);var Je=Y.content;P==8&&(Je=C(Je)),w=b(30),w.write_shift(4,67324752),w.write_shift(2,20),w.write_shift(2,W),w.write_shift(2,P),Y.mt?i(w,Y.mt):w.write_shift(4,0),w.write_shift(-4,te[z]),w.write_shift(4,Je.length),w.write_shift(4,Y.content.length),w.write_shift(2,ke.length),w.write_shift(2,0),B+=w.length,g.push(w),B+=ke.length,g.push(ke),B+=Je.length,g.push(Je),w=b(46),w.write_shift(4,33639248),w.write_shift(2,0),w.write_shift(2,20),w.write_shift(2,W),w.write_shift(2,P),w.write_shift(4,0),w.write_shift(-4,te[z]),w.write_shift(4,Je.length),w.write_shift(4,Y.content.length),w.write_shift(2,ke.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,Oe),ce+=w.l,E.push(w),ce+=ke.length,E.push(ke),++z}return w=b(22),w.write_shift(4,101010256),w.write_shift(2,0),w.write_shift(2,0),w.write_shift(2,z),w.write_shift(2,z),w.write_shift(4,ce),w.write_shift(4,B),w.write_shift(2,0),ze([ze(g),ze(E),w])}var Yt={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 us(x,T){if(x.ctype)return x.ctype;var v=x.name||"",g=v.match(/\.([^\.]+)$/);return g&&Yt[g[1]]||T&&(g=(v=T).match(/[\.\\]([^\.\\])+$/),g&&Yt[g[1]])?Yt[g[1]]:"application/octet-stream"}function xs(x){for(var T=Lt(x),v=[],g=0;g<T.length;g+=76)v.push(T.slice(g,g+76));return v.join(`\r
- `)+`\r
- `}function ps(x){var T=x.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(L){var B=L.charCodeAt(0).toString(16).toUpperCase();return"="+(B.length==1?"0"+B:B)});T=T.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),T.charAt(0)==`
- `&&(T="=0D"+T.slice(1)),T=T.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
- =0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var v=[],g=T.split(`\r
- `),E=0;E<g.length;++E){var w=g[E];if(w.length==0){v.push("");continue}for(var P=0;P<w.length;){var W=76,N=w.slice(P,P+W);N.charAt(W-1)=="="?W--:N.charAt(W-2)=="="?W-=2:N.charAt(W-3)=="="&&(W-=3),N=w.slice(P,P+W),P+=W,P<w.length&&(N+="="),v.push(N)}}return v.join(`\r
- `)}function ds(x){for(var T=[],v=0;v<x.length;++v){for(var g=x[v];v<=x.length&&g.charAt(g.length-1)=="=";)g=g.slice(0,g.length-1)+x[++v];T.push(g)}for(var E=0;E<T.length;++E)T[E]=T[E].replace(/[=][0-9A-Fa-f]{2}/g,function(w){return String.fromCharCode(parseInt(w.slice(1),16))});return Sr(T.join(`\r
- `))}function vs(x,T,v){for(var g="",E="",w="",P,W=0;W<10;++W){var N=T[W];if(!N||N.match(/^\s*$/))break;var L=N.match(/^(.*?):\s*([^\s].*)$/);if(L)switch(L[1].toLowerCase()){case"content-location":g=L[2].trim();break;case"content-type":w=L[2].trim();break;case"content-transfer-encoding":E=L[2].trim();break}}switch(++W,E.toLowerCase()){case"base64":P=Sr(Mr(T.slice(W).join("")));break;case"quoted-printable":P=ds(T.slice(W));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+E)}var B=Nn(x,g.slice(v.length),P,{unsafe:!0});w&&(B.ctype=w)}function gs(x,T){if(We(x.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var v=T&&T.root||"",g=(ge&&Buffer.isBuffer(x)?x.toString("binary"):We(x)).split(`\r
- `),E=0,w="";for(E=0;E<g.length;++E)if(w=g[E],!!/^Content-Location:/i.test(w)&&(w=w.slice(w.indexOf("file")),v||(v=w.slice(0,w.lastIndexOf("/")+1)),w.slice(0,v.length)!=v))for(;v.length>0&&(v=v.slice(0,v.length-1),v=v.slice(0,v.lastIndexOf("/")+1),w.slice(0,v.length)!=v););var P=(g[1]||"").match(/boundary="(.*?)"/);if(!P)throw new Error("MAD cannot find boundary");var W="--"+(P[1]||""),N=[],L=[],B={FileIndex:N,FullPaths:L};I(B);var z,Q=0;for(E=0;E<g.length;++E){var ne=g[E];ne!==W&&ne!==W+"--"||(Q++&&vs(B,g.slice(z,E),v),z=E)}return B}function ms(x,T){var v=T||{},g=v.boundary||"SheetJS";g="------="+g;for(var E=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+g.slice(2)+'"',"","",""],w=x.FullPaths[0],P=w,W=x.FileIndex[0],N=1;N<x.FullPaths.length;++N)if(P=x.FullPaths[N].slice(w.length),W=x.FileIndex[N],!(!W.size||!W.content||P=="Sh33tJ5")){P=P.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(ce){return"_x"+ce.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(ce){return"_u"+ce.charCodeAt(0).toString(16)+"_"});for(var L=W.content,B=ge&&Buffer.isBuffer(L)?L.toString("binary"):We(L),z=0,Q=Math.min(1024,B.length),ne=0,Y=0;Y<=Q;++Y)(ne=B.charCodeAt(Y))>=32&&ne<128&&++z;var te=z>=Q*4/5;E.push(g),E.push("Content-Location: "+(v.root||"file:///C:/SheetJS/")+P),E.push("Content-Transfer-Encoding: "+(te?"quoted-printable":"base64")),E.push("Content-Type: "+us(W,P)),E.push(""),E.push(te?ps(B):xs(B))}return E.push(g+`--\r
- `),E.join(`\r
- `)}function _s(x){var T={};return I(T,x),T}function Nn(x,T,v,g){var E=g&&g.unsafe;E||I(x);var w=!E&&Ae.find(x,T);if(!w){var P=x.FullPaths[0];T.slice(0,P.length)==P?P=T:(P.slice(-1)!="/"&&(P+="/"),P=(P+T).replace("//","/")),w={name:a(T),type:2},x.FileIndex.push(w),x.FullPaths.push(P),E||Ae.utils.cfb_gc(x)}return w.content=v,w.size=v?v.length:0,g&&(g.CLSID&&(w.clsid=g.CLSID),g.mt&&(w.mt=g.mt),g.ct&&(w.ct=g.ct)),w}function Ts(x,T){I(x);var v=Ae.find(x,T);if(v){for(var g=0;g<x.FileIndex.length;++g)if(x.FileIndex[g]==v)return x.FileIndex.splice(g,1),x.FullPaths.splice(g,1),!0}return!1}function Es(x,T,v){I(x);var g=Ae.find(x,T);if(g){for(var E=0;E<x.FileIndex.length;++E)if(x.FileIndex[E]==g)return x.FileIndex[E].name=a(v),x.FullPaths[E]=v,!0}return!1}function ws(x){y(x,!0)}return t.find=D,t.read=ee,t.parse=c,t.write=xr,t.writeFile=mr,t.utils={cfb_new:_s,cfb_add:Nn,cfb_del:Ts,cfb_mov:Es,cfb_gc:ws,ReadShift:Dt,CheckField:ii,prep_blob:or,bconcat:ze,use_zlib:A,_deflateRaw:_0,_inflateRaw:F0,consts:Pe},t}();function df(e){return typeof e=="string"?wn(e):Array.isArray(e)?Ws(e):e}function Vt(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=wn(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var n=r=="utf8"?Mt(t):t;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var a=new Blob([df(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=Ht(t)),f.write(t),f.close(),t}catch(l){if(!l.message||!l.message.match(/onstruct/))throw l}throw new Error("cannot save file "+e)}function je(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 G0(e,t){for(var r=[],n=je(e),a=0;a!==n.length;++a)r[e[n[a]][t]]==null&&(r[e[n[a]][t]]=n[a]);return r}function Qn(e){for(var t=[],r=je(e),n=0;n!==r.length;++n)t[e[r[n]]]=r[n];return t}function Fn(e){for(var t=[],r=je(e),n=0;n!==r.length;++n)t[e[r[n]]]=parseInt(r[n],10);return t}function vf(e){for(var t=[],r=je(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 un=new Date(1899,11,30,0,0,0);function ar(e,t){var r=e.getTime(),n=un.getTime()+(e.getTimezoneOffset()-un.getTimezoneOffset())*6e4;return(r-n)/(24*60*60*1e3)}var Va=new Date,gf=un.getTime()+(Va.getTimezoneOffset()-un.getTimezoneOffset())*6e4,X0=Va.getTimezoneOffset();function Ga(e){var t=new Date;return t.setTime(e*24*60*60*1e3+gf),t.getTimezoneOffset()!==X0&&t.setTime(t.getTime()+(t.getTimezoneOffset()-X0)*6e4),t}var $0=new Date("2017-02-19T19:06:09.000Z"),Xa=isNaN($0.getFullYear())?new Date("2/19/17"):$0,mf=Xa.getFullYear()==2017;function tr(e,t){var r=new Date(e);if(mf)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(Xa.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 yn(e,t){if(ge&&Buffer.isBuffer(e))return e.toString("binary");if(typeof TextDecoder<"u")try{var r={"€":"","‚":"",ƒ:"","„":"","…":"
","†":"","‡":"","ˆ":"","‰":"",Š:"","‹":"",Œ:"",Ž:"","‘":"","’":"","“":"","”":"","•":"","–":"","—":"","˜":"","™":"",š:"","›":"",œ:"",ž:"",Ÿ:""};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 ir(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]=ir(e[r]));return t}function Re(e,t){for(var r="";r.length<t;)r+=e;return r}function Lr(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 _f=["january","february","march","april","may","june","july","august","september","october","november","december"];function Bt(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&&_f.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 he(e,t,r){if(e.FullPaths){if(typeof r=="string"){var n;return ge?n=br(r):n=Hs(r),Ae.utils.cfb_add(e,t,n)}Ae.utils.cfb_add(e,t,r)}else e.file(t,r)}function e0(){return Ae.utils.cfb_new()}var Ue=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
- `,Tf={""":'"',"'":"'",">":">","<":"<","&":"&"},r0=Qn(Tf),t0=/[&<>'"]/g,Ef=/[\u0000-\u0008\u000b-\u001f]/g;function Ee(e){var t=e+"";return t.replace(t0,function(r){return r0[r]}).replace(Ef,function(r){return"_x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+"_"})}function z0(e){return Ee(e).replace(/ /g,"_x0020_")}var $a=/[\u0000-\u001f]/g;function wf(e){var t=e+"";return t.replace(t0,function(r){return r0[r]}).replace(/\n/g,"<br/>").replace($a,function(r){return"&#x"+("000"+r.charCodeAt(0).toString(16)).slice(-4)+";"})}function Sf(e){var t=e+"";return t.replace(t0,function(r){return r0[r]}).replace($a,function(r){return"&#x"+r.charCodeAt(0).toString(16).toUpperCase()+";"})}function Af(e){return e.replace(/(\r\n|[\r\n])/g," ")}function Ff(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function Bn(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 K0(e){var t=et(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 Y0(e){return br(e,"binary").toString("utf8")}var Qt="foo bar bazâð£",kt=ge&&(Y0(Qt)==Bn(Qt)&&Y0||K0(Qt)==Bn(Qt)&&K0)||Bn,Mt=ge?function(e){return br(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("")},yf=function(){var e=[["nbsp"," "],["middot","·"],["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}}(),za=/(^\s|\s$|\n)/;function Ke(e,t){return"<"+e+(t.match(za)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function Ut(e){return je(e).map(function(t){return" "+t+'="'+e[t]+'"'}).join("")}function J(e,t,r){return"<"+e+(r!=null?Ut(r):"")+(t!=null?(t.match(za)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function Kn(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function Cf(e,t){switch(typeof e){case"string":var r=J("vt:lpwstr",Ee(e));return r=r.replace(/"/g,"_x0022_"),r;case"number":return J((e|0)==e?"vt:i4":"vt:r8",Ee(String(e)));case"boolean":return J("vt:bool",e?"true":"false")}if(e instanceof Date)return J("vt:filetime",Kn(e));throw new Error("Unable to serialize "+e)}var He={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"},_t=["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"],cr={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 Of(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 kf(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 j0=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},J0=ge?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(t){return Buffer.isBuffer(t)?t:br(t)})):j0(e)}:j0,Z0=function(e,t,r){for(var n=[],a=t;a<r;a+=2)n.push(String.fromCharCode(Ct(e,a)));return n.join("").replace(Ot,"")},n0=ge?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(Ot,""):Z0(e,t,r)}:Z0,q0=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("")},Ka=ge?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):q0(e,t,r)}:q0,Q0=function(e,t,r){for(var n=[],a=t;a<r;a++)n.push(String.fromCharCode(ut(e,a)));return n.join("")},Gt=ge?function(t,r,n){return Buffer.isBuffer(t)?t.toString("utf8",r,n):Q0(t,r,n)}:Q0,Ya=function(e,t){var r=hr(e,t);return r>0?Gt(e,t+4,t+4+r-1):""},ja=Ya,Ja=function(e,t){var r=hr(e,t);return r>0?Gt(e,t+4,t+4+r-1):""},Za=Ja,qa=function(e,t){var r=2*hr(e,t);return r>0?Gt(e,t+4,t+4+r-1):""},Qa=qa,ei=function(t,r){var n=hr(t,r);return n>0?n0(t,r+4,r+4+n):""},ri=ei,ti=function(e,t){var r=hr(e,t);return r>0?Gt(e,t+4,t+4+r):""},ni=ti,ai=function(e,t){return Of(e,t)},xn=ai,a0=function(t){return Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array};ge&&(ja=function(t,r){if(!Buffer.isBuffer(t))return Ya(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Za=function(t,r){if(!Buffer.isBuffer(t))return Ja(t,r);var n=t.readUInt32LE(r);return n>0?t.toString("utf8",r+4,r+4+n-1):""},Qa=function(t,r){if(!Buffer.isBuffer(t))return qa(t,r);var n=2*t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n-1)},ri=function(t,r){if(!Buffer.isBuffer(t))return ei(t,r);var n=t.readUInt32LE(r);return t.toString("utf16le",r+4,r+4+n)},ni=function(t,r){if(!Buffer.isBuffer(t))return ti(t,r);var n=t.readUInt32LE(r);return t.toString("utf8",r+4,r+4+n)},xn=function(t,r){return Buffer.isBuffer(t)?t.readDoubleLE(r):ai(t,r)},a0=function(t){return Buffer.isBuffer(t)||Array.isArray(t)||typeof Uint8Array<"u"&&t instanceof Uint8Array});var ut=function(e,t){return e[t]},Ct=function(e,t){return e[t+1]*256+e[t]},Df=function(e,t){var r=e[t+1]*256+e[t];return r<32768?r:(65535-r+1)*-1},hr=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},qr=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},If=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Dt(e,t){var r="",n,a,i=[],s,f,l,o;switch(t){case"dbcs":if(o=this.l,ge&&Buffer.isBuffer(this))r=this.slice(this.l,this.l+2*e).toString("utf16le");else for(l=0;l<e;++l)r+=String.fromCharCode(Ct(this,o)),o+=2;e*=2;break;case"utf8":r=Gt(this,this.l,this.l+e);break;case"utf16le":e*=2,r=n0(this,this.l,this.l+e);break;case"wstr":return Dt.call(this,e,"dbcs");case"lpstr-ansi":r=ja(this,this.l),e=4+hr(this,this.l);break;case"lpstr-cp":r=Za(this,this.l),e=4+hr(this,this.l);break;case"lpwstr":r=Qa(this,this.l),e=4+2*hr(this,this.l);break;case"lpp4":e=4+hr(this,this.l),r=ri(this,this.l),e&2&&(e+=2);break;case"8lpp4":e=4+hr(this,this.l),r=ni(this,this.l),e&3&&(e+=4-(e&3));break;case"cstr":for(e=0,r="";(s=ut(this,this.l+e++))!==0;)i.push(Jt(s));r=i.join("");break;case"_wstr":for(e=0,r="";(s=Ct(this,this.l+e))!==0;)i.push(Jt(s)),e+=2;e+=2,r=i.join("");break;case"dbcs-cont":for(r="",o=this.l,l=0;l<e;++l){if(this.lens&&this.lens.indexOf(o)!==-1)return s=ut(this,o),this.l=o+1,f=Dt.call(this,e-l,s?"dbcs-cont":"sbcs-cont"),i.join("")+f;i.push(Jt(Ct(this,o))),o+=2}r=i.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(r="",o=this.l,l=0;l!=e;++l){if(this.lens&&this.lens.indexOf(o)!==-1)return s=ut(this,o),this.l=o+1,f=Dt.call(this,e-l,s?"dbcs-cont":"sbcs-cont"),i.join("")+f;i.push(Jt(ut(this,o))),o+=1}r=i.join("");break;default:switch(e){case 1:return n=ut(this,this.l),this.l++,n;case 2:return n=(t==="i"?Df:Ct)(this,this.l),this.l+=2,n;case 4:case-4:return t==="i"||!(this[this.l+3]&128)?(n=(e>0?qr:If)(this,this.l),this.l+=4,n):(a=hr(this,this.l),this.l+=4,a);case 8:case-8:if(t==="f")return e==8?a=xn(this,this.l):a=xn([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=Ka(this,this.l,e);break}}return this.l+=e,r}var Rf=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},Nf=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},Pf=function(e,t,r){e[r]=t&255,e[r+1]=t>>>8&255};function Lf(e,t,r){var n=0,a=0;if(r==="dbcs"){for(a=0;a!=t.length;++a)Pf(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,Rf(this,t,this.l);break;case 8:if(n=8,r==="f"){kf(this,t,this.l);break}case 16:break;case-4:n=4,Nf(this,t,this.l);break}return this.l+=n,this}function ii(e,t){var r=Ka(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function or(e,t){e.l=t,e.read_shift=Dt,e.chk=ii,e.write_shift=Lf}function kr(e,t){e.l+=t}function b(e){var t=et(e);return or(t,0),t}function nr(){var e=[],t=ge?256:2048,r=function(o){var c=b(o);return or(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(o){return n&&o<n.length-n.l?n:(a(),n=r(Math.max(o+1,t)))},s=function(){return a(),ze(e)},f=function(o){a(),n=o,n.l==null&&(n.l=n.length),i(t)};return{next:i,push:f,end:s,_bufs:e}}function G(e,t,r,n){var a=+t,i;if(!isNaN(a)){n||(n=ku[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&&a0(r)&&e.push(r)}}function It(e,t,r){var n=ir(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 ea(e,t,r){var n=ir(e);return n.s=It(n.s,t.s,r),n.e=It(n.e,t.s,r),n}function Rt(e,t){if(e.cRel&&e.c<0)for(e=ir(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=ir(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=we(e);return!e.cRel&&e.cRel!=null&&(r=Uf(r)),!e.rRel&&e.rRel!=null&&(r=Bf(r)),r}function Mn(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?"":"$")+Ze(e.s.c)+":"+(e.e.cRel?"":"$")+Ze(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(t.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+Ye(e.s.r)+":"+(e.e.rRel?"":"$")+Ye(e.e.r):Rt(e.s,t.biff)+":"+Rt(e.e,t.biff)}function i0(e){return parseInt(Mf(e),10)-1}function Ye(e){return""+(e+1)}function Bf(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Mf(e){return e.replace(/\$(\d+)$/,"$1")}function s0(e){for(var t=bf(e),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function Ze(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 Uf(e){return e.replace(/^([A-Z])/,"$$$1")}function bf(e){return e.replace(/^\$([A-Z])/,"$1")}function Wf(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Ve(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 we(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 ur(e){var t=e.indexOf(":");return t==-1?{s:Ve(e),e:Ve(e)}:{s:Ve(e.slice(0,t)),e:Ve(e.slice(t+1))}}function Me(e,t){return typeof t>"u"||typeof t=="number"?Me(e.s,e.e):(typeof e!="string"&&(e=we(e)),typeof t!="string"&&(t=we(t)),e==t?e:e+":"+t)}function ye(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 ra(e,t){var r=e.t=="d"&&t instanceof Date;if(e.z!=null)try{return e.w=Xr(e.z,r?ar(t):t)}catch{}try{return e.w=Xr((e.XF||{}).numFmtId||(r?14:0),r?ar(t):t)}catch{return""+t}}function Ur(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"?Xt[e.v]||e.v:t==null?ra(e,e.v):ra(e,t))}function nt(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function si(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 l=typeof n.origin=="string"?Ve(n.origin):n.origin;s=l.r,f=l.c}i["!ref"]||(i["!ref"]="A1:A1")}var o={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=ye(i["!ref"]);o.s.c=c.s.c,o.s.r=c.s.r,o.e.c=Math.max(o.e.c,c.e.c),o.e.r=Math.max(o.e.r,c.e.r),s==-1&&(o.e.r=s=c.e.r+1)}for(var d=0;d!=t.length;++d)if(t[d]){if(!Array.isArray(t[d]))throw new Error("aoa_to_sheet expects an array of arrays");for(var p=0;p!=t[d].length;++p)if(!(typeof t[d][p]>"u")){var u={v:t[d][p]},_=s+d,h=f+p;if(o.s.r>_&&(o.s.r=_),o.s.c>h&&(o.s.c=h),o.e.r<_&&(o.e.r=_),o.e.c<h&&(o.e.c=h),t[d][p]&&typeof t[d][p]=="object"&&!Array.isArray(t[d][p])&&!(t[d][p]instanceof Date))u=t[d][p];else if(Array.isArray(u.v)&&(u.f=t[d][p][1],u.v=u.v[0]),u.v===null)if(u.f)u.t="n";else if(n.nullError)u.t="e",u.v=0;else if(n.sheetStubs)u.t="z";else continue;else typeof u.v=="number"?u.t="n":typeof u.v=="boolean"?u.t="b":u.v instanceof Date?(u.z=n.dateNF||Ne[14],n.cellDates?(u.t="d",u.w=Xr(u.z,ar(u.v))):(u.t="n",u.v=ar(u.v),u.w=Xr(u.z,u.v))):u.t="s";if(a)i[_]||(i[_]=[]),i[_][h]&&i[_][h].z&&(u.z=i[_][h].z),i[_][h]=u;else{var m=we({c:h,r:_});i[m]&&i[m].z&&(u.z=i[m].z),i[m]=u}}}return o.s.c<1e7&&(i["!ref"]=Me(o)),i}function Tt(e,t){return si(null,e,t)}function Hf(e){return e.read_shift(4,"i")}function Fr(e,t){return t||(t=b(4)),t.write_shift(4,e),t}function qe(e){var t=e.read_shift(4);return t===0?"":e.read_shift(t,"dbcs")}function Ge(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 Vf(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Gf(e,t){return t||(t=b(4)),t.write_shift(2,0),t.write_shift(2,0),t}function f0(e,t){var r=e.l,n=e.read_shift(1),a=qe(e),i=[],s={t:a,h:a};if(n&1){for(var f=e.read_shift(4),l=0;l!=f;++l)i.push(Vf(e));s.r=i}else s.r=[{ich:0,ifnt:0}];return e.l=r+t,s}function Xf(e,t){var r=!1;return t==null&&(r=!0,t=b(15+4*e.t.length)),t.write_shift(1,0),Ge(e.t,t),r?t.slice(0,t.l):t}var $f=f0;function zf(e,t){var r=!1;return t==null&&(r=!0,t=b(23+4*e.t.length)),t.write_shift(1,1),Ge(e.t,t),t.write_shift(4,1),Gf({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function gr(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 at(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 it(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function st(e,t){return t==null&&(t=b(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var Kf=qe,fi=Ge;function l0(e){var t=e.read_shift(4);return t===0||t===4294967295?"":e.read_shift(t,"dbcs")}function pn(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 Yf=qe,Yn=l0,o0=pn;function li(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?xn([0,0,0,0,t[0]&252,t[1],t[2],t[3]],0):qr(t,0)>>2;return r?a/100:a}function oi(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 ci(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 jf(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 ft=ci,Et=jf;function wt(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function rt(e,t){return(t||b(8)).write_shift(8,e,"f")}function Jf(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),l=e.read_shift(1);switch(e.l++,n){case 0:t.auto=1;break;case 1:t.index=a;var o=il[a];o&&(t.rgb=ua(o));break;case 2:t.rgb=ua([s,f,l]);break;case 3:t.theme=a;break}return i!=0&&(t.tint=i>0?i/32767:i/32768),t}function dn(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 Zf(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 qf(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 hi=2,lr=3,en=11,vn=19,rn=64,Qf=65,el=71,rl=4108,tl=4126,$e=80,ta={1:{n:"CodePage",t:hi},2:{n:"Category",t:$e},3:{n:"PresentationFormat",t:$e},4:{n:"ByteCount",t:lr},5:{n:"LineCount",t:lr},6:{n:"ParagraphCount",t:lr},7:{n:"SlideCount",t:lr},8:{n:"NoteCount",t:lr},9:{n:"HiddenCount",t:lr},10:{n:"MultimediaClipCount",t:lr},11:{n:"ScaleCrop",t:en},12:{n:"HeadingPairs",t:rl},13:{n:"TitlesOfParts",t:tl},14:{n:"Manager",t:$e},15:{n:"Company",t:$e},16:{n:"LinksUpToDate",t:en},17:{n:"CharacterCount",t:lr},19:{n:"SharedDoc",t:en},22:{n:"HyperlinksChanged",t:en},23:{n:"AppVersion",t:lr,p:"version"},24:{n:"DigSig",t:Qf},26:{n:"ContentType",t:$e},27:{n:"ContentStatus",t:$e},28:{n:"Language",t:$e},29:{n:"Version",t:$e},255:{},2147483648:{n:"Locale",t:vn},2147483651:{n:"Behavior",t:vn},1919054434:{}},na={1:{n:"CodePage",t:hi},2:{n:"Title",t:$e},3:{n:"Subject",t:$e},4:{n:"Author",t:$e},5:{n:"Keywords",t:$e},6:{n:"Comments",t:$e},7:{n:"Template",t:$e},8:{n:"LastAuthor",t:$e},9:{n:"RevNumber",t:$e},10:{n:"EditTime",t:rn},11:{n:"LastPrinted",t:rn},12:{n:"CreatedDate",t:rn},13:{n:"ModifiedDate",t:rn},14:{n:"PageCount",t:lr},15:{n:"WordCount",t:lr},16:{n:"CharCount",t:lr},17:{n:"Thumbnail",t:el},18:{n:"Application",t:$e},19:{n:"DocSecurity",t:lr},255:{},2147483648:{n:"Locale",t:vn},2147483651:{n:"Behavior",t:vn},1919054434:{}};function nl(e){return e.map(function(t){return[t>>16&255,t>>8&255,t&255]})}var al=nl([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]),il=ir(al),Xt={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},sl={"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"},tn={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 ui(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function xi(e,t){var r=vf(sl),n=[],a;n[n.length]=Ue,n[n.length]=J("Types",null,{xmlns:He.CT,"xmlns:xsd":He.xsd,"xmlns:xsi":He.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(l){return J("Default",null,{Extension:l[0],ContentType:l[1]})}));var i=function(l){e[l]&&e[l].length>0&&(a=e[l][0],n[n.length]=J("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:tn[l][t.bookType]||tn[l].xlsx}))},s=function(l){(e[l]||[]).forEach(function(o){n[n.length]=J("Override",null,{PartName:(o[0]=="/"?"":"/")+o,ContentType:tn[l][t.bookType]||tn[l].xlsx})})},f=function(l){(e[l]||[]).forEach(function(o){n[n.length]=J("Override",null,{PartName:(o[0]=="/"?"":"/")+o,ContentType:r[l][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 ve={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 pi(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function dt(e){var t=[Ue,J("Relationships",null,{xmlns:He.RELS})];return je(e["!id"]).forEach(function(r){t[t.length]=J("Relationship",null,e["!id"][r])}),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function Te(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,[ve.HLINK,ve.XPATH,ve.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 fl(e){var t=[Ue];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 aa(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 ll(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 ol(e){var t=[Ue];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(aa(e[r][0],e[r][1])),t.push(ll("",e[r][0]));return t.push(aa("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function di(){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 '+ln.version+"</meta:generator></office:meta></office:document-meta>"}var Qr=[["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 Un(e,t,r,n,a){a[e]!=null||t==null||t===""||(a[e]=t,t=Ee(t),n[n.length]=r?J(e,t,r):Ke(e,t))}function vi(e,t){var r=t||{},n=[Ue,J("cp:coreProperties",null,{"xmlns:cp":He.CORE_PROPS,"xmlns:dc":He.dc,"xmlns:dcterms":He.dcterms,"xmlns:dcmitype":He.dcmitype,"xmlns:xsi":He.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(e.CreatedDate!=null&&Un("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:Kn(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),e.ModifiedDate!=null&&Un("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:Kn(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var i=0;i!=Qr.length;++i){var s=Qr[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&&Un(s[0],f,null,n,a)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var vt=[["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"]],gi=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function mi(e){var t=[],r=J;return e||(e={}),e.Application="SheetJS",t[t.length]=Ue,t[t.length]=J("Properties",null,{xmlns:He.EXT_PROPS,"xmlns:vt":He.vt}),vt.forEach(function(n){if(e[n[1]]!==void 0){var a;switch(n[2]){case"string":a=Ee(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>"+Ee(n)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}function _i(e){var t=[Ue,J("Properties",null,{xmlns:He.CUST_PROPS,"xmlns:vt":He.vt})];if(!e)return t.join("");var r=1;return je(e).forEach(function(a){++r,t[t.length]=J("property",Cf(e[a]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:Ee(a)})}),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var ia={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 cl(e,t){var r=[];return je(ia).map(function(n){for(var a=0;a<Qr.length;++a)if(Qr[a][1]==n)return Qr[a];for(a=0;a<vt.length;++a)if(vt[a][1]==n)return vt[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(Ke(ia[n[1]]||n[1],a))}}),J("DocumentProperties",r.join(""),{xmlns:cr.o})}function hl(e,t){var r=["Worksheets","SheetNames"],n="CustomDocumentProperties",a=[];return e&&je(e).forEach(function(i){if(Object.prototype.hasOwnProperty.call(e,i)){for(var s=0;s<Qr.length;++s)if(i==Qr[s][1])return;for(s=0;s<vt.length;++s)if(i==vt[s][1])return;for(s=0;s<r.length;++s)if(i==r[s])return;var f=e[i],l="string";typeof f=="number"?(l="float",f=String(f)):f===!0||f===!1?(l="boolean",f=f?"1":"0"):f=String(f),a.push(J(z0(i),f,{"dt:dt":l}))}}),t&&je(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(J(z0(i),s,{"dt:dt":f}))}}),"<"+n+' xmlns="'+cr.o+'">'+a.join("")+"</"+n+">"}function ul(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 sa(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=ul(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 ze([r,n])}var Ti=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function xl(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 fa(e,t,r){var n=b(8),a=[],i=[],s=8,f=0,l=b(8),o=b(8);if(l.write_shift(4,2),l.write_shift(4,1200),o.write_shift(4,1),i.push(l),a.push(o),s+=8+l.length,!t){o=b(8),o.write_shift(4,0),a.unshift(o);var c=[b(4)];for(c[0].write_shift(4,e.length),f=0;f<e.length;++f){var d=e[f][0];for(l=b(8+2*(d.length+1)+(d.length%2?0:2)),l.write_shift(4,f+2),l.write_shift(4,d.length+1),l.write_shift(0,d,"dbcs");l.l!=l.length;)l.write_shift(1,0);c.push(l)}l=ze(c),i.unshift(l),s+=8+l.length}for(f=0;f<e.length;++f)if(!(t&&!t[e[f][0]])&&!(Ti.indexOf(e[f][0])>-1||gi.indexOf(e[f][0])>-1)&&e[f][1]!=null){var p=e[f][1],u=0;if(t){u=+t[e[f][0]];var _=r[u];if(_.p=="version"&&typeof p=="string"){var h=p.split(".");p=(+h[0]<<16)+(+h[1]||0)}l=sa(_.t,p)}else{var m=xl(p);m==-1&&(m=31,p=String(p)),l=sa(m,p)}i.push(l),o=b(8),o.write_shift(4,t?u:2+f),a.push(o),s+=8+l.length}var k=8*(i.length+1);for(f=0;f<i.length;++f)a[f].write_shift(4,k),k+=i[f].length;return n.write_shift(4,s),n.write_shift(4,i.length),ze([n].concat(a).concat(i))}function la(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,Ae.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 l=fa(e,r,n);if(f.push(l),a){var o=fa(a,null,null);s.write_shift(16,i,"hex"),s.write_shift(4,68+l.length),f.push(o)}return ze(f)}function pl(e,t){t||(t=b(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}function dl(e,t){return e.read_shift(t)===1}function rr(e,t){return t||(t=b(2)),t.write_shift(2,+!!e),t}function Ei(e){return e.read_shift(2,"u")}function vr(e,t){return t||(t=b(2)),t.write_shift(2,e),t}function wi(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 Si(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 vl(e){var t=e.t||"",r=b(3);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 ze(a)}function gl(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 ml(e,t,r){var n=e.read_shift(r&&r.biff==2?1:2);return n===0?(e.l++,""):gl(e,n,r)}function _l(e,t,r){if(r.biff>5)return ml(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 Ai(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 oa(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 Tl(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),oa(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&&oa(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 l=0;n.slice(l*3,l*3+3)=="../"||n.slice(l*3,l*3+3)=="..\\";)++l;for(t.write_shift(2,l),t.write_shift(4,n.length-3*l+1),r=0;r<n.length-3*l;++r)t.write_shift(1,n.charCodeAt(r+3*l)&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 tt(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 El(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 wl(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 Fi(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 c0(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 Sl(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 Al(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 Fl(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]=vl(e[a]);var i=ze([r].concat(n));return i.parts=[r.length].concat(n.map(function(s){return s.length})),i}function yl(){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 Cl(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 Ol(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 kl(e,t,r,n){var a=b(10);return tt(e,t,n,a),a.write_shift(4,r),a}function Dl(e,t,r,n,a){var i=!a||a.biff==8,s=b(8+ +i+(1+i)*r.length);return tt(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 Il(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 Rl(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 ca(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 Nl(e){var t=b(8);return t.write_shift(4,0),t.write_shift(2,0),t.write_shift(2,0),t}function Pl(e,t,r,n,a,i){var s=b(8);return tt(e,t,n,s),wi(r,i,s),s}function Ll(e,t,r,n){var a=b(14);return tt(e,t,n,a),rt(r,a),a}function Bl(e,t,r){if(r.biff<8)return Ml(e,t,r);for(var n=[],a=e.l+t,i=e.read_shift(r.biff>8?4:2);i--!==0;)n.push(El(e,r.biff>8?12:6,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function Ml(e,t,r){e[e.l+1]==3&&e[e.l]++;var n=Si(e,t,r);return n.charCodeAt(0)==3?n.slice(1):n}function Ul(e){var t=b(2+e.length*8);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)Fi(e[r],t);return t}function bl(e){var t=b(24),r=Ve(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 ze([t,Tl(e[1])])}function Wl(e){var t=e[1].Tooltip,r=b(10+2*(t.length+1));r.write_shift(2,2048);var n=Ve(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 Hl(e){return e||(e=b(4)),e.write_shift(2,1),e.write_shift(2,1),e}function Vl(e,t,r){if(!r.cellStyles)return kr(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),l=e.read_shift(2);n==2&&(e.l+=2);var o={s:a,e:i,w:s,ixfe:f,flags:l};return(r.biff>=5||!r.biff)&&(o.level=l>>8&7),o}function Gl(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 Xl(e){for(var t=b(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}function $l(e,t,r){var n=b(15);return zt(n,e,t),n.write_shift(8,r,"f"),n}function zl(e,t,r){var n=b(9);return zt(n,e,t),n.write_shift(2,r),n}var Kl=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=Qn({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,l){var o=[],c=et(1);switch(l.type){case"base64":c=Sr(Mr(f));break;case"binary":c=Sr(f);break;case"buffer":case"array":c=f;break}or(c,0);var d=c.read_shift(1),p=!!(d&136),u=!1,_=!1;switch(d){case 2:break;case 3:break;case 48:u=!0,p=!0;break;case 49:u=!0,p=!0;break;case 131:break;case 139:break;case 140:_=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+d.toString(16))}var h=0,m=521;d==2&&(h=c.read_shift(2)),c.l+=3,d!=2&&(h=c.read_shift(4)),h>1048576&&(h=1e6),d!=2&&(m=c.read_shift(2));var k=c.read_shift(2),R=l.codepage||1252;d!=2&&(c.l+=16,c.read_shift(1),c[c.l]!==0&&(R=e[c[c.l]]),c.l+=1,c.l+=2),_&&(c.l+=36);for(var O=[],U={},j=Math.min(c.length,d==2?521:m-10-(u?264:0)),ee=_?32:11;c.l<j&&c[c.l]!=13;)switch(U={},U.name=Zr.utils.decode(R,c.slice(c.l,c.l+ee)).replace(/[\u0000\r\n].*$/g,""),c.l+=ee,U.type=String.fromCharCode(c.read_shift(1)),d!=2&&!_&&(U.offset=c.read_shift(4)),U.len=c.read_shift(1),d==2&&(U.offset=c.read_shift(2)),U.dec=c.read_shift(1),U.name.length&&O.push(U),d!=2&&(c.l+=_?13:14),U.type){case"B":(!u||U.len!=8)&&l.WTF&&console.log("Skipping "+U.name+":"+U.type);break;case"G":case"P":l.WTF&&console.log("Skipping "+U.name+":"+U.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: "+U.type)}if(c[c.l]!==13&&(c.l=m-1),c.read_shift(1)!==13)throw new Error("DBF Terminator not found "+c.l+" "+c[c.l]);c.l=m;var I=0,V=0;for(o[0]=[],V=0;V!=O.length;++V)o[0][V]=O[V].name;for(;h-- >0;){if(c[c.l]===42){c.l+=k;continue}for(++c.l,o[++I]=[],V=0,V=0;V!=O.length;++V){var y=c.slice(c.l,c.l+O[V].len);c.l+=O[V].len,or(y,0);var S=Zr.utils.decode(R,y);switch(O[V].type){case"C":S.trim().length&&(o[I][V]=S.replace(/\s+$/,""));break;case"D":S.length===8?o[I][V]=new Date(+S.slice(0,4),+S.slice(4,6)-1,+S.slice(6,8)):o[I][V]=S;break;case"F":o[I][V]=parseFloat(S.trim());break;case"+":case"I":o[I][V]=_?y.read_shift(-4,"i")^2147483648:y.read_shift(4,"i");break;case"L":switch(S.trim().toUpperCase()){case"Y":case"T":o[I][V]=!0;break;case"N":case"F":o[I][V]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+S+"|")}break;case"M":if(!p)throw new Error("DBF Unexpected MEMO for type "+d.toString(16));o[I][V]="##MEMO##"+(_?parseInt(S.trim(),10):y.read_shift(4));break;case"N":S=S.replace(/\u0000/g,"").trim(),S&&S!="."&&(o[I][V]=+S||0);break;case"@":o[I][V]=new Date(y.read_shift(-8,"f")-621356832e5);break;case"T":o[I][V]=new Date((y.read_shift(4)-2440588)*864e5+y.read_shift(4));break;case"Y":o[I][V]=y.read_shift(4,"i")/1e4+y.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":o[I][V]=-y.read_shift(-8,"f");break;case"B":if(u&&O[V].len==8){o[I][V]=y.read_shift(8,"f");break}case"G":case"P":y.l+=O[V].len;break;case"0":if(O[V].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+O[V].type)}}}if(d!=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 l&&l.sheetRows&&(o=o.slice(0,l.sheetRows)),l.DBF=O,o}function n(f,l){var o=l||{};o.dateNF||(o.dateNF="yyyymmdd");var c=Tt(r(f,o),o);return c["!cols"]=o.DBF.map(function(d){return{wch:d.len,DBF:d}}),delete o.DBF,c}function a(f,l){try{return nt(n(f,l),l)}catch(o){if(l&&l.WTF)throw o}return{SheetNames:[],Sheets:{}}}var i={B:8,C:250,L:1,D:8,"?":0,"":0};function s(f,l){var o=l||{};if(+o.codepage>=0&&Pt(+o.codepage),o.type=="string")throw new Error("Cannot write DBF to JS string");var c=nr(),d=En(f,{header:1,raw:!0,cellDates:!0}),p=d[0],u=d.slice(1),_=f["!cols"]||[],h=0,m=0,k=0,R=1;for(h=0;h<p.length;++h){if(((_[h]||{}).DBF||{}).name){p[h]=_[h].DBF.name,++k;continue}if(p[h]!=null){if(++k,typeof p[h]=="number"&&(p[h]=p[h].toString(10)),typeof p[h]!="string")throw new Error("DBF Invalid column name "+p[h]+" |"+typeof p[h]+"|");if(p.indexOf(p[h])!==h){for(m=0;m<1024;++m)if(p.indexOf(p[h]+"_"+m)==-1){p[h]+="_"+m;break}}}}var O=ye(f["!ref"]),U=[],j=[],ee=[];for(h=0;h<=O.e.c-O.s.c;++h){var I="",V="",y=0,S=[];for(m=0;m<u.length;++m)u[m][h]!=null&&S.push(u[m][h]);if(S.length==0||p[h]==null){U[h]="?";continue}for(m=0;m<S.length;++m){switch(typeof S[m]){case"number":V="B";break;case"string":V="C";break;case"boolean":V="L";break;case"object":V=S[m]instanceof Date?"D":"C";break;default:V="C"}y=Math.max(y,String(S[m]).length),I=I&&I!=V?"C":V}y>250&&(y=250),V=((_[h]||{}).DBF||{}).type,V=="C"&&_[h].DBF.len>y&&(y=_[h].DBF.len),I=="B"&&V=="N"&&(I="N",ee[h]=_[h].DBF.dec,y=_[h].DBF.len),j[h]=I=="C"||V=="N"?y:i[I]||0,R+=j[h],U[h]=I}var D=c.next(32);for(D.write_shift(4,318902576),D.write_shift(4,u.length),D.write_shift(2,296+32*k),D.write_shift(2,R),h=0;h<4;++h)D.write_shift(4,0);for(D.write_shift(4,0|(+t[Ca]||3)<<8),h=0,m=0;h<p.length;++h)if(p[h]!=null){var H=c.next(32),q=(p[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);H.write_shift(1,q,"sbcs"),H.write_shift(1,U[h]=="?"?"C":U[h],"sbcs"),H.write_shift(4,m),H.write_shift(1,j[h]||i[U[h]]||0),H.write_shift(1,ee[h]||0),H.write_shift(1,2),H.write_shift(4,0),H.write_shift(1,0),H.write_shift(4,0),H.write_shift(4,0),m+=j[h]||i[U[h]]||0}var le=c.next(264);for(le.write_shift(4,13),h=0;h<65;++h)le.write_shift(4,0);for(h=0;h<u.length;++h){var oe=c.next(R);for(oe.write_shift(1,0),m=0;m<p.length;++m)if(p[m]!=null)switch(U[m]){case"L":oe.write_shift(1,u[h][m]==null?63:u[h][m]?84:70);break;case"B":oe.write_shift(8,u[h][m]||0,"f");break;case"N":var Le="0";for(typeof u[h][m]=="number"&&(Le=u[h][m].toFixed(ee[m]||0)),k=0;k<j[m]-Le.length;++k)oe.write_shift(1,32);oe.write_shift(1,Le,"sbcs");break;case"D":u[h][m]?(oe.write_shift(4,("0000"+u[h][m].getFullYear()).slice(-4),"sbcs"),oe.write_shift(2,("00"+(u[h][m].getMonth()+1)).slice(-2),"sbcs"),oe.write_shift(2,("00"+u[h][m].getDate()).slice(-2),"sbcs")):oe.write_shift(8,"00000000","sbcs");break;case"C":var Pe=String(u[h][m]!=null?u[h][m]:"").slice(0,j[m]);for(oe.write_shift(1,Pe,"sbcs"),k=0;k<j[m]-Pe.length;++k)oe.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}}(),Yl=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},t=new RegExp("\x1BN("+je(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(p,u){var _=e[u];return typeof _=="number"?P0(_):_},n=function(p,u,_){var h=u.charCodeAt(0)-32<<4|_.charCodeAt(0)-48;return h==59?p:P0(h)};e["|"]=254;function a(p,u){switch(u.type){case"base64":return i(Mr(p),u);case"binary":return i(p,u);case"buffer":return i(ge&&Buffer.isBuffer(p)?p.toString("binary"):Ht(p),u);case"array":return i(yn(p),u)}throw new Error("Unrecognized type "+u.type)}function i(p,u){var _=p.split(/[\n\r]+/),h=-1,m=-1,k=0,R=0,O=[],U=[],j=null,ee={},I=[],V=[],y=[],S=0,D;for(+u.codepage>=0&&Pt(+u.codepage);k!==_.length;++k){S=0;var H=_[k].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),q=H.replace(/;;/g,"\0").split(";").map(function(F){return F.replace(/\u0000/g,";")}),le=q[0],oe;if(H.length>0)switch(le){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":q[1].charAt(0)=="P"&&U.push(H.slice(3).replace(/;;/g,";"));break;case"C":var Le=!1,Pe=!1,mr=!1,We=!1,xr=-1,sr=-1;for(R=1;R<q.length;++R)switch(q[R].charAt(0)){case"A":break;case"X":m=parseInt(q[R].slice(1))-1,Pe=!0;break;case"Y":for(h=parseInt(q[R].slice(1))-1,Pe||(m=0),D=O.length;D<=h;++D)O[D]=[];break;case"K":oe=q[R].slice(1),oe.charAt(0)==='"'?oe=oe.slice(1,oe.length-1):oe==="TRUE"?oe=!0:oe==="FALSE"?oe=!1:isNaN(Lr(oe))?isNaN(Bt(oe).getDate())||(oe=tr(oe)):(oe=Lr(oe),j!==null&&ba(j)&&(oe=Ga(oe))),Le=!0;break;case"E":We=!0;var A=Ko(q[R].slice(1),{r:h,c:m});O[h][m]=[O[h][m],A];break;case"S":mr=!0,O[h][m]=[O[h][m],"S5S"];break;case"G":break;case"R":xr=parseInt(q[R].slice(1))-1;break;case"C":sr=parseInt(q[R].slice(1))-1;break;default:if(u&&u.WTF)throw new Error("SYLK bad record "+H)}if(Le&&(O[h][m]&&O[h][m].length==2?O[h][m][0]=oe:O[h][m]=oe,j=null),mr){if(We)throw new Error("SYLK shared formula cannot have own formula");var M=xr>-1&&O[xr][sr];if(!M||!M[1])throw new Error("SYLK shared formula cannot find base");O[h][m][1]=Yo(M[1],{r:h-xr,c:m-sr})}break;case"F":var C=0;for(R=1;R<q.length;++R)switch(q[R].charAt(0)){case"X":m=parseInt(q[R].slice(1))-1,++C;break;case"Y":for(h=parseInt(q[R].slice(1))-1,D=O.length;D<=h;++D)O[D]=[];break;case"M":S=parseInt(q[R].slice(1))/20;break;case"F":break;case"G":break;case"P":j=U[parseInt(q[R].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(y=q[R].slice(1).split(" "),D=parseInt(y[0],10);D<=parseInt(y[1],10);++D)S=parseInt(y[2],10),V[D-1]=S===0?{hidden:!0}:{wch:S},h0(V[D-1]);break;case"C":m=parseInt(q[R].slice(1))-1,V[m]||(V[m]={});break;case"R":h=parseInt(q[R].slice(1))-1,I[h]||(I[h]={}),S>0?(I[h].hpt=S,I[h].hpx=Di(S)):S===0&&(I[h].hidden=!0);break;default:if(u&&u.WTF)throw new Error("SYLK bad record "+H)}C<1&&(j=null);break;default:if(u&&u.WTF)throw new Error("SYLK bad record "+H)}}return I.length>0&&(ee["!rows"]=I),V.length>0&&(ee["!cols"]=V),u&&u.sheetRows&&(O=O.slice(0,u.sheetRows)),[O,ee]}function s(p,u){var _=a(p,u),h=_[0],m=_[1],k=Tt(h,u);return je(m).forEach(function(R){k[R]=m[R]}),k}function f(p,u){return nt(s(p,u),u)}function l(p,u,_,h){var m="C;Y"+(_+1)+";X"+(h+1)+";K";switch(p.t){case"n":m+=p.v||0,p.f&&!p.F&&(m+=";E"+x0(p.f,{r:_,c:h}));break;case"b":m+=p.v?"TRUE":"FALSE";break;case"e":m+=p.w||p.v;break;case"d":m+='"'+(p.w||p.v)+'"';break;case"s":m+='"'+p.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return m}function o(p,u){u.forEach(function(_,h){var m="F;W"+(h+1)+" "+(h+1)+" ";_.hidden?m+="0":(typeof _.width=="number"&&!_.wpx&&(_.wpx=gn(_.width)),typeof _.wpx=="number"&&!_.wch&&(_.wch=mn(_.wpx)),typeof _.wch=="number"&&(m+=Math.round(_.wch))),m.charAt(m.length-1)!=" "&&p.push(m)})}function c(p,u){u.forEach(function(_,h){var m="F;";_.hidden?m+="M0;":_.hpt?m+="M"+20*_.hpt+";":_.hpx&&(m+="M"+20*_n(_.hpx)+";"),m.length>2&&p.push(m+"R"+(h+1))})}function d(p,u){var _=["ID;PWXL;N;E"],h=[],m=ye(p["!ref"]),k,R=Array.isArray(p),O=`\r
- `;_.push("P;PGeneral"),_.push("F;P0;DG0G8;M255"),p["!cols"]&&o(_,p["!cols"]),p["!rows"]&&c(_,p["!rows"]),_.push("B;Y"+(m.e.r-m.s.r+1)+";X"+(m.e.c-m.s.c+1)+";D"+[m.s.c,m.s.r,m.e.c,m.e.r].join(" "));for(var U=m.s.r;U<=m.e.r;++U)for(var j=m.s.c;j<=m.e.c;++j){var ee=we({r:U,c:j});k=R?(p[U]||[])[j]:p[ee],!(!k||k.v==null&&(!k.f||k.F))&&h.push(l(k,p,U,j))}return _.join(O)+O+h.join(O)+O+"E"+O}return{to_workbook:f,to_sheet:s,from_sheet:d}}(),jl=function(){function e(i,s){switch(s.type){case"base64":return t(Mr(i),s);case"binary":return t(i,s);case"buffer":return t(ge&&Buffer.isBuffer(i)?i.toString("binary"):Ht(i),s);case"array":return t(yn(i),s)}throw new Error("Unrecognized type "+s.type)}function t(i,s){for(var f=i.split(`
- `),l=-1,o=-1,c=0,d=[];c!==f.length;++c){if(f[c].trim()==="BOT"){d[++l]=[],o=0;continue}if(!(l<0)){var p=f[c].trim().split(","),u=p[0],_=p[1];++c;for(var h=f[c]||"";(h.match(/["]/g)||[]).length&1&&c<f.length-1;)h+=`
- `+f[++c];switch(h=h.trim(),+u){case-1:if(h==="BOT"){d[++l]=[],o=0;continue}else if(h!=="EOD")throw new Error("Unrecognized DIF special command "+h);break;case 0:h==="TRUE"?d[l][o]=!0:h==="FALSE"?d[l][o]=!1:isNaN(Lr(_))?isNaN(Bt(_).getDate())?d[l][o]=_:d[l][o]=tr(_):d[l][o]=Lr(_),++o;break;case 1:h=h.slice(1,h.length-1),h=h.replace(/""/g,'"'),h&&h.match(/^=".*"$/)&&(h=h.slice(2,-1)),d[l][o++]=h!==""?h:null;break}if(h==="EOD")break}}return s&&s.sheetRows&&(d=d.slice(0,s.sheetRows)),d}function r(i,s){return Tt(e(i,s),s)}function n(i,s){return nt(r(i,s),s)}var a=function(){var i=function(l,o,c,d,p){l.push(o),l.push(c+","+d),l.push('"'+p.replace(/"/g,'""')+'"')},s=function(l,o,c,d){l.push(o+","+c),l.push(o==1?'"'+d.replace(/"/g,'""')+'"':d)};return function(l){var o=[],c=ye(l["!ref"]),d,p=Array.isArray(l);i(o,"TABLE",0,1,"sheetjs"),i(o,"VECTORS",0,c.e.r-c.s.r+1,""),i(o,"TUPLES",0,c.e.c-c.s.c+1,""),i(o,"DATA",0,0,"");for(var u=c.s.r;u<=c.e.r;++u){s(o,-1,0,"BOT");for(var _=c.s.c;_<=c.e.c;++_){var h=we({r:u,c:_});if(d=p?(l[u]||[])[_]:l[h],!d){s(o,1,0,"");continue}switch(d.t){case"n":var m=d.w;!m&&d.v!=null&&(m=d.v),m==null?d.f&&!d.F?s(o,1,0,"="+d.f):s(o,1,0,""):s(o,0,m,"V");break;case"b":s(o,0,d.v?1:0,d.v?"TRUE":"FALSE");break;case"s":s(o,1,0,isNaN(d.v)?d.v:'="'+d.v+'"');break;case"d":d.w||(d.w=Xr(d.z||Ne[14],ar(tr(d.v)))),s(o,0,d.w,"V");break;default:s(o,1,0,"")}}}s(o,-1,0,"EOD");var k=`\r
- `,R=o.join(k);return R}}();return{to_workbook:n,to_sheet:r,from_sheet:a}}(),yi=function(){function e(d){return d.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
- `)}function t(d){return d.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(d,p){for(var u=d.split(`
- `),_=-1,h=-1,m=0,k=[];m!==u.length;++m){var R=u[m].trim().split(":");if(R[0]==="cell"){var O=Ve(R[1]);if(k.length<=O.r)for(_=k.length;_<=O.r;++_)k[_]||(k[_]=[]);switch(_=O.r,h=O.c,R[2]){case"t":k[_][h]=e(R[3]);break;case"v":k[_][h]=+R[3];break;case"vtf":var U=R[R.length-1];case"vtc":switch(R[3]){case"nl":k[_][h]=!!+R[4];break;default:k[_][h]=+R[4];break}R[2]=="vtf"&&(k[_][h]=[k[_][h],U])}}}return p&&p.sheetRows&&(k=k.slice(0,p.sheetRows)),k}function n(d,p){return Tt(r(d,p),p)}function a(d,p){return nt(n(d,p),p)}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(`
- `),l="--SocialCalcSpreadsheetControlSave--";function o(d){if(!d||!d["!ref"])return"";for(var p=[],u=[],_,h="",m=ur(d["!ref"]),k=Array.isArray(d),R=m.s.r;R<=m.e.r;++R)for(var O=m.s.c;O<=m.e.c;++O)if(h=we({r:R,c:O}),_=k?(d[R]||[])[O]:d[h],!(!_||_.v==null||_.t==="z")){switch(u=["cell",h,"t"],_.t){case"s":case"str":u.push(t(_.v));break;case"n":_.f?(u[2]="vtf",u[3]="n",u[4]=_.v,u[5]=t(_.f)):(u[2]="v",u[3]=_.v);break;case"b":u[2]="vt"+(_.f?"f":"c"),u[3]="nl",u[4]=_.v?"1":"0",u[5]=t(_.f||(_.v?"TRUE":"FALSE"));break;case"d":var U=ar(tr(_.v));u[2]="vtc",u[3]="nd",u[4]=""+U,u[5]=_.w||Xr(_.z||Ne[14],U);break;case"e":continue}p.push(u.join(":"))}return p.push("sheet:c:"+(m.e.c-m.s.c+1)+":r:"+(m.e.r-m.s.r+1)+":tvf:1"),p.push("valueformat:1:text-wiki"),p.join(`
- `)}function c(d){return[i,s,f,s,o(d),l].join(`
- `)}return{to_workbook:a,to_sheet:n,from_sheet:c}}(),Jl=function(){function e(c,d,p,u,_){_.raw?d[p][u]=c:c===""||(c==="TRUE"?d[p][u]=!0:c==="FALSE"?d[p][u]=!1:isNaN(Lr(c))?isNaN(Bt(c).getDate())?d[p][u]=c:d[p][u]=tr(c):d[p][u]=Lr(c))}function t(c,d){var p=d||{},u=[];if(!c||c.length===0)return u;for(var _=c.split(/[\r\n]/),h=_.length-1;h>=0&&_[h].length===0;)--h;for(var m=10,k=0,R=0;R<=h;++R)k=_[R].indexOf(" "),k==-1?k=_[R].length:k++,m=Math.max(m,k);for(R=0;R<=h;++R){u[R]=[];var O=0;for(e(_[R].slice(0,m).trim(),u,R,O,p),O=1;O<=(_[R].length-m)/10+1;++O)e(_[R].slice(m+(O-1)*10,m+O*10).trim(),u,R,O,p)}return p.sheetRows&&(u=u.slice(0,p.sheetRows)),u}var r={44:",",9:" ",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function a(c){for(var d={},p=!1,u=0,_=0;u<c.length;++u)(_=c.charCodeAt(u))==34?p=!p:!p&&_ in r&&(d[_]=(d[_]||0)+1);_=[];for(u in d)Object.prototype.hasOwnProperty.call(d,u)&&_.push([d[u],u]);if(!_.length){d=n;for(u in d)Object.prototype.hasOwnProperty.call(d,u)&&_.push([d[u],u])}return _.sort(function(h,m){return h[0]-m[0]||n[h[1]]-n[m[1]]}),r[_.pop()[1]]||44}function i(c,d){var p=d||{},u="",_=p.dense?[]:{},h={s:{c:0,r:0},e:{c:0,r:0}};c.slice(0,4)=="sep="?c.charCodeAt(5)==13&&c.charCodeAt(6)==10?(u=c.charAt(4),c=c.slice(7)):c.charCodeAt(5)==13||c.charCodeAt(5)==10?(u=c.charAt(4),c=c.slice(6)):u=a(c.slice(0,1024)):p&&p.FS?u=p.FS:u=a(c.slice(0,1024));var m=0,k=0,R=0,O=0,U=0,j=u.charCodeAt(0),ee=!1,I=0,V=c.charCodeAt(0);c=c.replace(/\r\n/mg,`
- `);var y=p.dateNF!=null?uf(p.dateNF):null;function S(){var D=c.slice(O,U),H={};if(D.charAt(0)=='"'&&D.charAt(D.length-1)=='"'&&(D=D.slice(1,-1).replace(/""/g,'"')),D.length===0)H.t="z";else if(p.raw)H.t="s",H.v=D;else if(D.trim().length===0)H.t="s",H.v=D;else if(D.charCodeAt(0)==61)D.charCodeAt(1)==34&&D.charCodeAt(D.length-1)==34?(H.t="s",H.v=D.slice(2,-1).replace(/""/g,'"')):jo(D)?(H.t="n",H.f=D.slice(1)):(H.t="s",H.v=D);else if(D=="TRUE")H.t="b",H.v=!0;else if(D=="FALSE")H.t="b",H.v=!1;else if(!isNaN(R=Lr(D)))H.t="n",p.cellText!==!1&&(H.w=D),H.v=R;else if(!isNaN(Bt(D).getDate())||y&&D.match(y)){H.z=p.dateNF||Ne[14];var q=0;y&&D.match(y)&&(D=xf(D,p.dateNF,D.match(y)||[]),q=1),p.cellDates?(H.t="d",H.v=tr(D,q)):(H.t="n",H.v=ar(tr(D,q))),p.cellText!==!1&&(H.w=Xr(H.z,H.v instanceof Date?ar(H.v):H.v)),p.cellNF||delete H.z}else H.t="s",H.v=D;if(H.t=="z"||(p.dense?(_[m]||(_[m]=[]),_[m][k]=H):_[we({c:k,r:m})]=H),O=U+1,V=c.charCodeAt(O),h.e.c<k&&(h.e.c=k),h.e.r<m&&(h.e.r=m),I==j)++k;else if(k=0,++m,p.sheetRows&&p.sheetRows<=m)return!0}e:for(;U<c.length;++U)switch(I=c.charCodeAt(U)){case 34:V===34&&(ee=!ee);break;case j:case 10:case 13:if(!ee&&S())break e;break}return U-O>0&&S(),_["!ref"]=Me(h),_}function s(c,d){return!(d&&d.PRN)||d.FS||c.slice(0,4)=="sep="||c.indexOf(" ")>=0||c.indexOf(",")>=0||c.indexOf(";")>=0?i(c,d):Tt(t(c,d),d)}function f(c,d){var p="",u=d.type=="string"?[0,0,0,0]:ox(c,d);switch(d.type){case"base64":p=Mr(c);break;case"binary":p=c;break;case"buffer":d.codepage==65001?p=c.toString("utf8"):d.codepage&&typeof Zr<"u"?p=Zr.utils.decode(d.codepage,c):p=ge&&Buffer.isBuffer(c)?c.toString("binary"):Ht(c);break;case"array":p=yn(c);break;case"string":p=c;break;default:throw new Error("Unrecognized type "+d.type)}return u[0]==239&&u[1]==187&&u[2]==191?p=kt(p.slice(3)):d.type!="string"&&d.type!="buffer"&&d.codepage==65001?p=kt(p):d.type=="binary"&&typeof Zr<"u"&&d.codepage&&(p=Zr.utils.decode(d.codepage,Zr.utils.encode(28591,p))),p.slice(0,19)=="socialcalc:version:"?yi.to_sheet(d.type=="string"?p:kt(p),d):s(p,d)}function l(c,d){return nt(f(c,d),d)}function o(c){for(var d=[],p=ye(c["!ref"]),u,_=Array.isArray(c),h=p.s.r;h<=p.e.r;++h){for(var m=[],k=p.s.c;k<=p.e.c;++k){var R=we({r:h,c:k});if(u=_?(c[h]||[])[k]:c[R],!u||u.v==null){m.push(" ");continue}for(var O=(u.w||(Ur(u),u.w)||"").slice(0,10);O.length<10;)O+=" ";m.push(O+(k===0?" ":""))}d.push(m.join(""))}return d.join(`
- `)}return{to_workbook:l,to_sheet:f,from_sheet:o}}(),ha=function(){function e(A,M,C){if(A){or(A,A.l||0);for(var F=C.Enum||xr;A.l<A.length;){var X=A.read_shift(2),se=F[X]||F[65535],fe=A.read_shift(2),ie=A.l+fe,re=se.f&&se.f(A,fe,C);if(A.l=ie,M(re,se,X))return}}}function t(A,M){switch(M.type){case"base64":return r(Sr(Mr(A)),M);case"binary":return r(Sr(A),M);case"buffer":case"array":return r(A,M)}throw"Unsupported type "+M.type}function r(A,M){if(!A)return A;var C=M||{},F=C.dense?[]:{},X="Sheet1",se="",fe=0,ie={},re=[],Fe=[],pe={s:{r:0,c:0},e:{r:0,c:0}},Qe=C.sheetRows||0;if(A[2]==0&&(A[3]==8||A[3]==9)&&A.length>=16&&A[14]==5&&A[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(A[2]==2)C.Enum=xr,e(A,function(ae,pr,Ir){switch(Ir){case 0:C.vers=ae,ae>=4096&&(C.qpro=!0);break;case 6:pe=ae;break;case 204:ae&&(se=ae);break;case 222:se=ae;break;case 15:case 51:C.qpro||(ae[1].v=ae[1].v.slice(1));case 13:case 14:case 16:Ir==14&&(ae[2]&112)==112&&(ae[2]&15)>1&&(ae[2]&15)<15&&(ae[1].z=C.dateNF||Ne[14],C.cellDates&&(ae[1].t="d",ae[1].v=Ga(ae[1].v))),C.qpro&&ae[3]>fe&&(F["!ref"]=Me(pe),ie[X]=F,re.push(X),F=C.dense?[]:{},pe={s:{r:0,c:0},e:{r:0,c:0}},fe=ae[3],X=se||"Sheet"+(fe+1),se="");var Yr=C.dense?(F[ae[0].r]||[])[ae[0].c]:F[we(ae[0])];if(Yr){Yr.t=ae[1].t,Yr.v=ae[1].v,ae[1].z!=null&&(Yr.z=ae[1].z),ae[1].f!=null&&(Yr.f=ae[1].f);break}C.dense?(F[ae[0].r]||(F[ae[0].r]=[]),F[ae[0].r][ae[0].c]=ae[1]):F[we(ae[0])]=ae[1];break}},C);else if(A[2]==26||A[2]==14)C.Enum=sr,A[2]==14&&(C.qpro=!0,A.l=0),e(A,function(ae,pr,Ir){switch(Ir){case 204:X=ae;break;case 22:ae[1].v=ae[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(ae[3]>fe&&(F["!ref"]=Me(pe),ie[X]=F,re.push(X),F=C.dense?[]:{},pe={s:{r:0,c:0},e:{r:0,c:0}},fe=ae[3],X="Sheet"+(fe+1)),Qe>0&&ae[0].r>=Qe)break;C.dense?(F[ae[0].r]||(F[ae[0].r]=[]),F[ae[0].r][ae[0].c]=ae[1]):F[we(ae[0])]=ae[1],pe.e.c<ae[0].c&&(pe.e.c=ae[0].c),pe.e.r<ae[0].r&&(pe.e.r=ae[0].r);break;case 27:ae[14e3]&&(Fe[ae[14e3][0]]=ae[14e3][1]);break;case 1537:Fe[ae[0]]=ae[1],ae[0]==fe&&(X=ae[1]);break}},C);else throw new Error("Unrecognized LOTUS BOF "+A[2]);if(F["!ref"]=Me(pe),ie[se||X]=F,re.push(se||X),!Fe.length)return{SheetNames:re,Sheets:ie};for(var me={},Dr=[],Ie=0;Ie<Fe.length;++Ie)ie[re[Ie]]?(Dr.push(Fe[Ie]||re[Ie]),me[Fe[Ie]]=ie[Fe[Ie]]||ie[re[Ie]]):(Dr.push(Fe[Ie]),me[Fe[Ie]]={"!ref":"A1"});return{SheetNames:Dr,Sheets:me}}function n(A,M){var C=M||{};if(+C.codepage>=0&&Pt(+C.codepage),C.type=="string")throw new Error("Cannot write WK1 to JS string");var F=nr(),X=ye(A["!ref"]),se=Array.isArray(A),fe=[];Z(F,0,i(1030)),Z(F,6,l(X));for(var ie=Math.min(X.e.r,8191),re=X.s.r;re<=ie;++re)for(var Fe=Ye(re),pe=X.s.c;pe<=X.e.c;++pe){re===X.s.r&&(fe[pe]=Ze(pe));var Qe=fe[pe]+Fe,me=se?(A[re]||[])[pe]:A[Qe];if(!(!me||me.t=="z"))if(me.t=="n")(me.v|0)==me.v&&me.v>=-32768&&me.v<=32767?Z(F,13,u(re,pe,me.v)):Z(F,14,h(re,pe,me.v));else{var Dr=Ur(me);Z(F,15,d(re,pe,Dr.slice(0,239)))}}return Z(F,1),F.end()}function a(A,M){var C=M||{};if(+C.codepage>=0&&Pt(+C.codepage),C.type=="string")throw new Error("Cannot write WK3 to JS string");var F=nr();Z(F,0,s(A));for(var X=0,se=0;X<A.SheetNames.length;++X)(A.Sheets[A.SheetNames[X]]||{})["!ref"]&&Z(F,27,We(A.SheetNames[X],se++));var fe=0;for(X=0;X<A.SheetNames.length;++X){var ie=A.Sheets[A.SheetNames[X]];if(!(!ie||!ie["!ref"])){for(var re=ye(ie["!ref"]),Fe=Array.isArray(ie),pe=[],Qe=Math.min(re.e.r,8191),me=re.s.r;me<=Qe;++me)for(var Dr=Ye(me),Ie=re.s.c;Ie<=re.e.c;++Ie){me===re.s.r&&(pe[Ie]=Ze(Ie));var ae=pe[Ie]+Dr,pr=Fe?(ie[me]||[])[Ie]:ie[ae];if(!(!pr||pr.t=="z"))if(pr.t=="n")Z(F,23,S(me,Ie,fe,pr.v));else{var Ir=Ur(pr);Z(F,22,I(me,Ie,fe,Ir.slice(0,239)))}}++fe}}return Z(F,1),F.end()}function i(A){var M=b(2);return M.write_shift(2,A),M}function s(A){var M=b(26);M.write_shift(2,4096),M.write_shift(2,4),M.write_shift(4,0);for(var C=0,F=0,X=0,se=0;se<A.SheetNames.length;++se){var fe=A.SheetNames[se],ie=A.Sheets[fe];if(!(!ie||!ie["!ref"])){++X;var re=ur(ie["!ref"]);C<re.e.r&&(C=re.e.r),F<re.e.c&&(F=re.e.c)}}return C>8191&&(C=8191),M.write_shift(2,C),M.write_shift(1,X),M.write_shift(1,F),M.write_shift(2,0),M.write_shift(2,0),M.write_shift(1,1),M.write_shift(1,2),M.write_shift(4,0),M.write_shift(4,0),M}function f(A,M,C){var F={s:{c:0,r:0},e:{c:0,r:0}};return M==8&&C.qpro?(F.s.c=A.read_shift(1),A.l++,F.s.r=A.read_shift(2),F.e.c=A.read_shift(1),A.l++,F.e.r=A.read_shift(2),F):(F.s.c=A.read_shift(2),F.s.r=A.read_shift(2),M==12&&C.qpro&&(A.l+=2),F.e.c=A.read_shift(2),F.e.r=A.read_shift(2),M==12&&C.qpro&&(A.l+=2),F.s.c==65535&&(F.s.c=F.e.c=F.s.r=F.e.r=0),F)}function l(A){var M=b(8);return M.write_shift(2,A.s.c),M.write_shift(2,A.s.r),M.write_shift(2,A.e.c),M.write_shift(2,A.e.r),M}function o(A,M,C){var F=[{c:0,r:0},{t:"n",v:0},0,0];return C.qpro&&C.vers!=20768?(F[0].c=A.read_shift(1),F[3]=A.read_shift(1),F[0].r=A.read_shift(2),A.l+=2):(F[2]=A.read_shift(1),F[0].c=A.read_shift(2),F[0].r=A.read_shift(2)),F}function c(A,M,C){var F=A.l+M,X=o(A,M,C);if(X[1].t="s",C.vers==20768){A.l++;var se=A.read_shift(1);return X[1].v=A.read_shift(se,"utf8"),X}return C.qpro&&A.l++,X[1].v=A.read_shift(F-A.l,"cstr"),X}function d(A,M,C){var F=b(7+C.length);F.write_shift(1,255),F.write_shift(2,M),F.write_shift(2,A),F.write_shift(1,39);for(var X=0;X<F.length;++X){var se=C.charCodeAt(X);F.write_shift(1,se>=128?95:se)}return F.write_shift(1,0),F}function p(A,M,C){var F=o(A,M,C);return F[1].v=A.read_shift(2,"i"),F}function u(A,M,C){var F=b(7);return F.write_shift(1,255),F.write_shift(2,M),F.write_shift(2,A),F.write_shift(2,C,"i"),F}function _(A,M,C){var F=o(A,M,C);return F[1].v=A.read_shift(8,"f"),F}function h(A,M,C){var F=b(13);return F.write_shift(1,255),F.write_shift(2,M),F.write_shift(2,A),F.write_shift(8,C,"f"),F}function m(A,M,C){var F=A.l+M,X=o(A,M,C);if(X[1].v=A.read_shift(8,"f"),C.qpro)A.l=F;else{var se=A.read_shift(2);U(A.slice(A.l,A.l+se),X),A.l+=se}return X}function k(A,M,C){var F=M&32768;return M&=-32769,M=(F?A:0)+(M>=8192?M-16384:M),(F?"":"$")+(C?Ze(M):Ye(M))}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]},O=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function U(A,M){or(A,0);for(var C=[],F=0,X="",se="",fe="",ie="";A.l<A.length;){var re=A[A.l++];switch(re){case 0:C.push(A.read_shift(8,"f"));break;case 1:se=k(M[0].c,A.read_shift(2),!0),X=k(M[0].r,A.read_shift(2),!1),C.push(se+X);break;case 2:{var Fe=k(M[0].c,A.read_shift(2),!0),pe=k(M[0].r,A.read_shift(2),!1);se=k(M[0].c,A.read_shift(2),!0),X=k(M[0].r,A.read_shift(2),!1),C.push(Fe+pe+":"+se+X)}break;case 3:if(A.l<A.length){console.error("WK1 premature formula end");return}break;case 4:C.push("("+C.pop()+")");break;case 5:C.push(A.read_shift(2));break;case 6:{for(var Qe="";re=A[A.l++];)Qe+=String.fromCharCode(re);C.push('"'+Qe.replace(/"/g,'""')+'"')}break;case 8:C.push("-"+C.pop());break;case 23:C.push("+"+C.pop());break;case 22:C.push("NOT("+C.pop()+")");break;case 20:case 21:ie=C.pop(),fe=C.pop(),C.push(["AND","OR"][re-20]+"("+fe+","+ie+")");break;default:if(re<32&&O[re])ie=C.pop(),fe=C.pop(),C.push(fe+O[re]+ie);else if(R[re]){if(F=R[re][1],F==69&&(F=A[A.l++]),F>C.length){console.error("WK1 bad formula parse 0x"+re.toString(16)+":|"+C.join("|")+"|");return}var me=C.slice(-F);C.length-=F,C.push(R[re][0]+"("+me.join(",")+")")}else return re<=7?console.error("WK1 invalid opcode "+re.toString(16)):re<=24?console.error("WK1 unsupported op "+re.toString(16)):re<=30?console.error("WK1 invalid opcode "+re.toString(16)):re<=115?console.error("WK1 unsupported function opcode "+re.toString(16)):console.error("WK1 unrecognized opcode "+re.toString(16))}}C.length==1?M[1].f=""+C[0]:console.error("WK1 bad formula parse |"+C.join("|")+"|")}function j(A){var M=[{c:0,r:0},{t:"n",v:0},0];return M[0].r=A.read_shift(2),M[3]=A[A.l++],M[0].c=A[A.l++],M}function ee(A,M){var C=j(A);return C[1].t="s",C[1].v=A.read_shift(M-4,"cstr"),C}function I(A,M,C,F){var X=b(6+F.length);X.write_shift(2,A),X.write_shift(1,C),X.write_shift(1,M),X.write_shift(1,39);for(var se=0;se<F.length;++se){var fe=F.charCodeAt(se);X.write_shift(1,fe>=128?95:fe)}return X.write_shift(1,0),X}function V(A,M){var C=j(A);C[1].v=A.read_shift(2);var F=C[1].v>>1;if(C[1].v&1)switch(F&7){case 0:F=(F>>3)*5e3;break;case 1:F=(F>>3)*500;break;case 2:F=(F>>3)/20;break;case 3:F=(F>>3)/200;break;case 4:F=(F>>3)/2e3;break;case 5:F=(F>>3)/2e4;break;case 6:F=(F>>3)/16;break;case 7:F=(F>>3)/64;break}return C[1].v=F,C}function y(A,M){var C=j(A),F=A.read_shift(4),X=A.read_shift(4),se=A.read_shift(2);if(se==65535)return F===0&&X===3221225472?(C[1].t="e",C[1].v=15):F===0&&X===3489660928?(C[1].t="e",C[1].v=42):C[1].v=0,C;var fe=se&32768;return se=(se&32767)-16446,C[1].v=(1-fe*2)*(X*Math.pow(2,se+32)+F*Math.pow(2,se)),C}function S(A,M,C,F){var X=b(14);if(X.write_shift(2,A),X.write_shift(1,C),X.write_shift(1,M),F==0)return X.write_shift(4,0),X.write_shift(4,0),X.write_shift(2,65535),X;var se=0,fe=0,ie=0,re=0;return F<0&&(se=1,F=-F),fe=Math.log2(F)|0,F/=Math.pow(2,fe-31),re=F>>>0,re&2147483648||(F/=2,++fe,re=F>>>0),F-=re,re|=2147483648,re>>>=0,F*=Math.pow(2,32),ie=F>>>0,X.write_shift(4,ie),X.write_shift(4,re),fe+=16383+(se?32768:0),X.write_shift(2,fe),X}function D(A,M){var C=y(A);return A.l+=M-14,C}function H(A,M){var C=j(A),F=A.read_shift(4);return C[1].v=F>>6,C}function q(A,M){var C=j(A),F=A.read_shift(8,"f");return C[1].v=F,C}function le(A,M){var C=q(A);return A.l+=M-10,C}function oe(A,M){return A[A.l+M-1]==0?A.read_shift(M,"cstr"):""}function Le(A,M){var C=A[A.l++];C>M-1&&(C=M-1);for(var F="";F.length<C;)F+=String.fromCharCode(A[A.l++]);return F}function Pe(A,M,C){if(!(!C.qpro||M<21)){var F=A.read_shift(1);A.l+=17,A.l+=1,A.l+=2;var X=A.read_shift(M-21,"cstr");return[F,X]}}function mr(A,M){for(var C={},F=A.l+M;A.l<F;){var X=A.read_shift(2);if(X==14e3){for(C[X]=[0,""],C[X][0]=A.read_shift(2);A[A.l];)C[X][1]+=String.fromCharCode(A[A.l]),A.l++;A.l++}}return C}function We(A,M){var C=b(5+A.length);C.write_shift(2,14e3),C.write_shift(2,M);for(var F=0;F<A.length;++F){var X=A.charCodeAt(F);C[C.l++]=X>127?95:X}return C[C.l++]=0,C}var xr={0:{n:"BOF",f:Ei},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:p},14:{n:"NUMBER",f:_},15:{n:"LABEL",f:c},16:{n:"FORMULA",f:m},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:oe},222:{n:"SHEETNAMELP",f:Le},65535:{n:""}},sr={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:y},24:{n:"NUMBER18",f:V},25:{n:"FORMULA19",f:D},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:mr},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:H},38:{n:"??"},39:{n:"NUMBER27",f:q},40:{n:"FORMULA28",f:le},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:oe},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:Pe},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}}(),Zl=/^\s|\s$|[\t\n\r]/;function Ci(e,t){if(!t.bookSST)return"";var r=[Ue];r[r.length]=J("sst",null,{xmlns:_t[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(Zl)&&(i+=' xml:space="preserve"'),i+=">"+Ee(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 ql(e){return[e.read_shift(4),e.read_shift(4)]}function Ql(e,t){return t||(t=b(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var eo=Xf;function ro(e){var t=nr();G(t,159,Ql(e));for(var r=0;r<e.length;++r)G(t,19,eo(e[r]));return G(t,160),t.end()}function to(e){for(var t=[],r=e.split(""),n=0;n<r.length;++n)t[n]=r[n].charCodeAt(0);return t}function Oi(e){var t=0,r,n=to(e),a=n.length+1,i,s,f,l,o;for(r=et(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?1:0,l=t<<1&32767,o=f|l,t=o^s;return t^52811}var no=function(){function e(a,i){switch(i.type){case"base64":return t(Mr(a),i);case"binary":return t(a,i);case"buffer":return t(ge&&Buffer.isBuffer(a)?a.toString("binary"):Ht(a),i);case"array":return t(yn(a),i)}throw new Error("Unrecognized type "+i.type)}function t(a,i){var s=i||{},f=s.dense?[]:{},l=a.match(/\\trowd.*?\\row\b/g);if(!l.length)throw new Error("RTF missing table");var o={s:{c:0,r:0},e:{c:0,r:l.length-1}};return l.forEach(function(c,d){Array.isArray(f)&&(f[d]=[]);for(var p=/\\\w+\b/g,u=0,_,h=-1;_=p.exec(c);){switch(_[0]){case"\\cell":var m=c.slice(u,p.lastIndex-_[0].length);if(m[0]==" "&&(m=m.slice(1)),++h,m.length){var k={v:m,t:"s"};Array.isArray(f)?f[d][h]=k:f[we({r:d,c:h})]=k}break}u=p.lastIndex}h>o.e.c&&(o.e.c=h)}),f["!ref"]=Me(o),f}function r(a,i){return nt(e(a,i),i)}function n(a){for(var i=["{\\rtf1\\ansi"],s=ye(a["!ref"]),f,l=Array.isArray(a),o=s.s.r;o<=s.e.r;++o){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 d=we({r:o,c});f=l?(a[o]||[])[c]:a[d],!(!f||f.v==null&&(!f.f||f.F))&&(i.push(" "+(f.w||(Ur(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 ua(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 ao=6,Br=ao;function gn(e){return Math.floor((e+Math.round(128/Br)/256)*Br)}function mn(e){return Math.floor((e-5)/Br*100+.5)/100}function jn(e){return Math.round((e*Br+5)/Br*256)/256}function h0(e){e.width?(e.wpx=gn(e.width),e.wch=mn(e.wpx),e.MDW=Br):e.wpx?(e.wch=mn(e.wpx),e.width=jn(e.wch),e.MDW=Br):typeof e.wch=="number"&&(e.width=jn(e.wch),e.wpx=gn(e.width),e.MDW=Br),e.customWidth&&delete e.customWidth}var io=96,ki=io;function _n(e){return e*96/ki}function Di(e){return e*ki/96}function so(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]=J("numFmt",null,{numFmtId:n,formatCode:Ee(e[n])}))}),t.length===1?"":(t[t.length]="</numFmts>",t[0]=J("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function fo(e){var t=[];return t[t.length]=J("cellXfs",null),e.forEach(function(r){t[t.length]=J("xf",null,r)}),t[t.length]="</cellXfs>",t.length===2?"":(t[0]=J("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}function Ii(e,t){var r=[Ue,J("styleSheet",null,{xmlns:_t[0],"xmlns:vt":He.vt})],n;return e.SSF&&(n=so(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=fo(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 lo(e,t){var r=e.read_shift(2),n=qe(e);return[r,n]}function oo(e,t,r){r||(r=b(6+4*t.length)),r.write_shift(2,e),Ge(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return r.l==null&&(r.l=r.length),n}function co(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=Zf(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 l=e.read_shift(1);switch(l>0&&(n.charset=l),e.l++,n.color=Jf(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=qe(e),n}function ho(e,t){t||(t=b(25+4*32)),t.write_shift(2,e.sz*20),qf(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),dn(e.color,t);var n=0;return e.scheme=="major"&&(n=1),e.scheme=="minor"&&(n=2),t.write_shift(1,n),Ge(e.name,t),t.length>t.l?t.slice(0,t.l):t}var uo=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],bn,xo=kr;function xa(e,t){t||(t=b(4*3+8*7+16*1)),bn||(bn=Qn(uo));var r=bn[e.patternType];r==null&&(r=40),t.write_shift(4,r);var n=0;if(r!=40)for(dn({auto:1},t),dn({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 po(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 Ri(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 yt(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 vo=kr;function go(e,t){return t||(t=b(51)),t.write_shift(1,0),yt(null,t),yt(null,t),yt(null,t),yt(null,t),yt(null,t),t.length>t.l?t.slice(0,t.l):t}function mo(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),pn(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function _o(e,t,r){var n=b(2052);return n.write_shift(4,e),pn(t,n),pn(r,n),n.length>n.l?n.slice(0,n.l):n}function To(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&&(G(e,615,Fr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var a=n[0];a<=n[1];++a)t[a]!=null&&G(e,44,oo(a,t[a]))}),G(e,616))}}function Eo(e){var t=1;G(e,611,Fr(t)),G(e,43,ho({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),G(e,612)}function wo(e){var t=2;G(e,603,Fr(t)),G(e,45,xa({patternType:"none"})),G(e,45,xa({patternType:"gray125"})),G(e,604)}function So(e){var t=1;G(e,613,Fr(t)),G(e,46,go()),G(e,614)}function Ao(e){var t=1;G(e,626,Fr(t)),G(e,47,Ri({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),G(e,627)}function Fo(e,t){G(e,617,Fr(t.length)),t.forEach(function(r){G(e,47,Ri(r,0))}),G(e,618)}function yo(e){var t=1;G(e,619,Fr(t)),G(e,48,mo({xfId:0,builtinId:0,name:"Normal"})),G(e,620)}function Co(e){var t=0;G(e,505,Fr(t)),G(e,506)}function Oo(e){var t=0;G(e,508,_o(t,"TableStyleMedium9","PivotStyleMedium4")),G(e,509)}function ko(e,t){var r=nr();return G(r,278),To(r,e.SSF),Eo(r),wo(r),So(r),Ao(r),Fo(r,t.cellXfs),yo(r),Co(r),Oo(r),G(r,279),r.end()}function Ni(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var r=[Ue];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="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',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="MS Pゴシック"/>',r[r.length]='<a:font script="Hang" typeface="맑은 고딕"/>',r[r.length]='<a:font script="Hans" typeface="宋体"/>',r[r.length]='<a:font script="Hant" typeface="新細明體"/>',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 Do(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:qe(e)}}function Io(e){var t=b(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),Ge(e.name,t),t.slice(0,t.l)}function Ro(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}function No(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 Po(e,t){var r=b(8+2*t.length);return r.write_shift(4,e),Ge(t,r),r.slice(0,r.l)}function Lo(e){return e.l+=4,e.read_shift(4)!=0}function Bo(e,t){var r=b(8);return r.write_shift(4,e),r.write_shift(4,1),r}function Mo(){var e=nr();return G(e,332),G(e,334,Fr(1)),G(e,335,Io({name:"XLDAPR",version:12e4,flags:3496657072})),G(e,336),G(e,339,Po(1,"XLDAPR")),G(e,52),G(e,35,Fr(514)),G(e,4096,Fr(0)),G(e,4097,vr(1)),G(e,36),G(e,53),G(e,340),G(e,337,Bo(1)),G(e,51,No([[1,0]])),G(e,338),G(e,333),e.end()}function Pi(){var e=[Ue];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 Uo(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=we(r);var n=e.read_shift(1);return n&2&&(t.l="1"),n&8&&(t.a="1"),t}var xt=1024;function Li(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[J("xml",null,{"xmlns:v":cr.v,"xmlns:o":cr.o,"xmlns:x":cr.x,"xmlns:mv":cr.mv}).replace(/\/>/,">"),J("o:shapelayout",J("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),J("v:shapetype",[J("v:stroke",null,{joinstyle:"miter"}),J("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];xt<e*1e3;)xt+=1e3;return t.forEach(function(i){var s=Ve(i[0]),f={color2:"#BEFF82",type:"gradient"};f.type=="gradient"&&(f.angle="-180");var l=f.type=="gradient"?J("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,o=J("v:fill",l,f),c={on:"t",obscured:"t"};++xt,a=a.concat(["<v:shape"+Ut({id:"_x0000_s"+xt,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"})+">",o,J("v:shadow",null,c),J("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Ke("x:Anchor",[s.c+1,0,s.r+1,0,s.c+3,20,s.r+5,20].join(",")),Ke("x:AutoFill","False"),Ke("x:Row",String(s.r)),Ke("x:Column",String(s.c)),i[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])}),a.push("</xml>"),a.join("")}function Bi(e){var t=[Ue,J("comments",null,{xmlns:_t[0]})],r=[];return t.push("<authors>"),e.forEach(function(n){n[1].forEach(function(a){var i=Ee(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(l){l.a&&(a=r.indexOf(Ee(l.a))),i.push(l.t||"")}),t.push('<comment ref="'+n[0]+'" authorId="'+a+'"><text>'),i.length<=1)t.push(Ke("t",Ee(i[0]||"")));else{for(var s=`Comment:
- `+i[0]+`
- `,f=1;f<i.length;++f)s+=`Reply:
- `+i[f]+`
- `;t.push(Ke("t",Ee(s)))}t.push("</text></comment>")}),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function bo(e,t,r){var n=[Ue,J("ThreadedComments",null,{xmlns:He.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 l={ref:a[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};f==0?i=l.id:l.parentId=i,s.ID=l.id,s.a&&(l.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),n.push(J("threadedComment",Ke("text",s.t||""),l))})}),n.push("</ThreadedComments>"),n.join("")}function Wo(e){var t=[Ue,J("personList",null,{xmlns:He.TCMNT,"xmlns:x":_t[0]}).replace(/[\/]>/,">")];return e.forEach(function(r,n){t.push(J("person",null,{displayName:r,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:r,providerId:"None"}))}),t.push("</personList>"),t.join("")}function Ho(e){var t={};t.iauthor=e.read_shift(4);var r=ft(e);return t.rfx=r.s,t.ref=we(r.s),e.l+=16,t}function Vo(e,t){return t==null&&(t=b(36)),t.write_shift(4,e[1].iauthor),Et(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 Go=qe;function Xo(e){return Ge(e.slice(0,54))}function $o(e){var t=nr(),r=[];return G(t,628),G(t,630),e.forEach(function(n){n[1].forEach(function(a){r.indexOf(a.a)>-1||(r.push(a.a.slice(0,54)),G(t,632,Xo(a.a)))})}),G(t,631),G(t,633),e.forEach(function(n){n[1].forEach(function(a){a.iauthor=r.indexOf(a.a);var i={s:Ve(n[0]),e:Ve(n[0])};G(t,635,Vo([i,a])),a.t&&a.t.length>0&&G(t,637,zf(a)),G(t,636),delete a.iauthor})}),G(t,634),G(t,629),t.end()}function zo(e,t){t.FullPaths.forEach(function(r,n){if(n!=0){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");a.slice(-1)!=="/"&&Ae.utils.cfb_add(e,a,t.FileIndex[n].content)}})}var Mi=["xlsb","xlsm","xlam","biff8","xla"],Ko=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,l=!1;i.length==0?l=!0:i.charAt(0)=="["&&(l=!0,i=i.slice(1,-1)),s.length==0?f=!0:s.charAt(0)=="["&&(f=!0,s=s.slice(1,-1));var o=i.length>0?parseInt(i,10)|0:0,c=s.length>0?parseInt(s,10)|0:0;return f?c+=t.c:--c,l?o+=t.r:--o,a+(f?"":"$")+Ze(c)+(l?"":"$")+Ye(o)}return function(a,i){return t=i,a.replace(e,r)}}(),u0=/(^|[^._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,x0=function(){return function(t,r){return t.replace(u0,function(n,a,i,s,f,l){var o=s0(s)-(i?0:r.c),c=i0(l)-(f?0:r.r),d=c==0?"":f?c+1:"["+c+"]",p=o==0?"":i?o+1:"["+o+"]";return a+"R"+d+"C"+p})}}();function Yo(e,t){return e.replace(u0,function(r,n,a,i,s,f){return n+(a=="$"?a+i:Ze(s0(i)+t.c))+(s=="$"?s+f:Ye(i0(f)+t.r))})}function jo(e){return e.length!=1}function Be(e){e.l+=1}function $r(e,t){var r=e.read_shift(2);return[r&16383,r>>14&1,r>>15&1]}function Ui(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return bi(e);r.biff==12&&(n=4)}var a=e.read_shift(n),i=e.read_shift(n),s=$r(e),f=$r(e);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 bi(e){var t=$r(e),r=$r(e),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 Jo(e,t,r){if(r.biff<8)return bi(e);var n=e.read_shift(r.biff==12?4:2),a=e.read_shift(r.biff==12?4:2),i=$r(e),s=$r(e);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 Wi(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return Zo(e);var n=e.read_shift(r&&r.biff==12?4:2),a=$r(e);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function Zo(e){var t=$r(e),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function qo(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 Qo(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return ec(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 ec(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 rc(e,t,r){var n=(e[e.l++]&96)>>5,a=Ui(e,r.biff>=2&&r.biff<=5?6:8,r);return[n,a]}function tc(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=Ui(e,i,r);return[n,a,s]}function nc(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 ac(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 ic(e,t,r){var n=(e[e.l++]&96)>>5,a=Jo(e,t-1,r);return[n,a]}function sc(e,t,r){var n=(e[e.l++]&96)>>5;return e.l+=r.biff==2?6:r.biff==12?14:7,[n]}function pa(e){var t=e[e.l+1]&1,r=1;return e.l+=4,[t,r]}function fc(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 lc(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 oc(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 cc(e){var t=e[e.l+1]&255?1:0;return e.l+=2,[t,e.read_shift(2)]}function hc(e,t,r){var n=e[e.l+1]&255?1:0;return e.l+=r&&r.biff==2?3:4,[n]}function Hi(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function uc(e){return e.read_shift(2),Hi(e)}function xc(e){return e.read_shift(2),Hi(e)}function pc(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=Wi(e,0,r);return[n,a]}function dc(e,t,r){var n=(e[e.l]&96)>>5;e.l+=1;var a=Qo(e,0,r);return[n,a]}function vc(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=Wi(e,0,r);return[n,a,i]}function gc(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[g1[a],Xi[a],n]}function mc(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)]:_c(e);return[a,(i[0]===0?Xi:v1)[i[1]]]}function _c(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function Tc(e,t,r){e.l+=r&&r.biff==2?3:4}function Ec(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 wc(e){return e.l++,Xt[e.read_shift(1)]}function Sc(e){return e.l++,e.read_shift(2)}function Ac(e){return e.l++,e.read_shift(1)!==0}function Fc(e){return e.l++,wt(e)}function yc(e,t,r){return e.l++,Si(e,t-1,r)}function Cc(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]=dl(e,1)?"TRUE":"FALSE",t!=12&&(e.l+=7);break;case 37:case 16:r[1]=Xt[e[e.l]],e.l+=t==12?4:8;break;case 0:e.l+=8;break;case 1:r[1]=wt(e);break;case 2:r[1]=_l(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function Oc(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?ft:wl)(e));return a}function kc(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]=Cc(e,r.biff);return s}function Dc(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 Ic(e,t,r){if(r.biff==5)return Rc(e);var n=e.read_shift(1)>>>5&3,a=e.read_shift(2),i=e.read_shift(4);return[n,a,i]}function Rc(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 Nc(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 Pc(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 Lc(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 Bc(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 Mc=kr,Uc=kr,bc=kr;function $t(e,t,r){return e.l+=2,[qo(e)]}function p0(e){return e.l+=6,[]}var Wc=$t,Hc=p0,Vc=p0,Gc=$t;function Vi(e){return e.l+=2,[Ei(e),e.read_shift(2)&1]}var Xc=$t,$c=Vi,zc=p0,Kc=$t,Yc=$t,jc=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Jc(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=jc[r>>2&31];return{ixti:t,coltype:r&3,rt:s,idx:n,c:a,C:i}}function Zc(e){return e.l+=2,[e.read_shift(4)]}function qc(e,t,r){return e.l+=5,e.l+=2,e.l+=r.biff==2?1:4,["PTGSHEET"]}function Qc(e,t,r){return e.l+=r.biff==2?4:5,["PTGENDSHEET"]}function e1(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function r1(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function t1(e){return e.l+=4,[0,0]}var da={1:{n:"PtgExp",f:Ec},2:{n:"PtgTbl",f:bc},3:{n:"PtgAdd",f:Be},4:{n:"PtgSub",f:Be},5:{n:"PtgMul",f:Be},6:{n:"PtgDiv",f:Be},7:{n:"PtgPower",f:Be},8:{n:"PtgConcat",f:Be},9:{n:"PtgLt",f:Be},10:{n:"PtgLe",f:Be},11:{n:"PtgEq",f:Be},12:{n:"PtgGe",f:Be},13:{n:"PtgGt",f:Be},14:{n:"PtgNe",f:Be},15:{n:"PtgIsect",f:Be},16:{n:"PtgUnion",f:Be},17:{n:"PtgRange",f:Be},18:{n:"PtgUplus",f:Be},19:{n:"PtgUminus",f:Be},20:{n:"PtgPercent",f:Be},21:{n:"PtgParen",f:Be},22:{n:"PtgMissArg",f:Be},23:{n:"PtgStr",f:yc},26:{n:"PtgSheet",f:qc},27:{n:"PtgEndSheet",f:Qc},28:{n:"PtgErr",f:wc},29:{n:"PtgBool",f:Ac},30:{n:"PtgInt",f:Sc},31:{n:"PtgNum",f:Fc},32:{n:"PtgArray",f:sc},33:{n:"PtgFunc",f:gc},34:{n:"PtgFuncVar",f:mc},35:{n:"PtgName",f:Dc},36:{n:"PtgRef",f:pc},37:{n:"PtgArea",f:rc},38:{n:"PtgMemArea",f:Nc},39:{n:"PtgMemErr",f:Mc},40:{n:"PtgMemNoMem",f:Uc},41:{n:"PtgMemFunc",f:Pc},42:{n:"PtgRefErr",f:Lc},43:{n:"PtgAreaErr",f:nc},44:{n:"PtgRefN",f:dc},45:{n:"PtgAreaN",f:ic},46:{n:"PtgMemAreaN",f:e1},47:{n:"PtgMemNoMemN",f:r1},57:{n:"PtgNameX",f:Ic},58:{n:"PtgRef3d",f:vc},59:{n:"PtgArea3d",f:tc},60:{n:"PtgRefErr3d",f:Bc},61:{n:"PtgAreaErr3d",f:ac},255:{}},n1={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},a1={1:{n:"PtgElfLel",f:Vi},2:{n:"PtgElfRw",f:Kc},3:{n:"PtgElfCol",f:Wc},6:{n:"PtgElfRwV",f:Yc},7:{n:"PtgElfColV",f:Gc},10:{n:"PtgElfRadical",f:Xc},11:{n:"PtgElfRadicalS",f:zc},13:{n:"PtgElfColS",f:Hc},15:{n:"PtgElfColSV",f:Vc},16:{n:"PtgElfRadicalLel",f:$c},25:{n:"PtgList",f:Jc},29:{n:"PtgSxName",f:Zc},255:{}},i1={0:{n:"PtgAttrNoop",f:t1},1:{n:"PtgAttrSemi",f:hc},2:{n:"PtgAttrIf",f:oc},4:{n:"PtgAttrChoose",f:fc},8:{n:"PtgAttrGoto",f:lc},16:{n:"PtgAttrSum",f:Tc},32:{n:"PtgAttrBaxcel",f:pa},33:{n:"PtgAttrBaxcel",f:pa},64:{n:"PtgAttrSpace",f:uc},65:{n:"PtgAttrSpaceSemi",f:xc},128:{n:"PtgAttrIfError",f:cc},255:{}};function s1(e,t,r,n){if(n.biff<8)return kr(e,t);for(var a=e.l+t,i=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=kc(e,0,n),i.push(r[s][1]);break;case"PtgMemArea":r[s][2]=Oc(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(kr(e,t)),i}function f1(e,t,r){for(var n=e.l+t,a,i,s=[];n!=e.l;)t=n-e.l,i=e[e.l],a=da[i]||da[n1[i]],(i===24||i===25)&&(a=(i===24?a1:i1)[e[e.l+1]]),!a||!a.f?kr(e,t):s.push([a.n,a.f(e,t,r)]);return s}function l1(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 o1={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function c1(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 Gi(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 va(e,t,r){var n=Gi(e,t,r);return n=="#REF"?n:c1(n,r)}function mt(e,t,r,n,a){var i=a&&a.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},f=[],l,o,c,d=0,p=0,u,_="";if(!e[0]||!e[0][0])return"";for(var h=-1,m="",k=0,R=e[0].length;k<R;++k){var O=e[0][k];switch(O[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(l=f.pop(),o=f.pop(),h>=0){switch(e[0][h][1][0]){case 0:m=Re(" ",e[0][h][1][1]);break;case 1:m=Re("\r",e[0][h][1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][h][1][0])}o=o+m,h=-1}f.push(o+o1[O[0]]+l);break;case"PtgIsect":l=f.pop(),o=f.pop(),f.push(o+" "+l);break;case"PtgUnion":l=f.pop(),o=f.pop(),f.push(o+","+l);break;case"PtgRange":l=f.pop(),o=f.pop(),f.push(o+":"+l);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":c=It(O[1][1],s,a),f.push(Rt(c,i));break;case"PtgRefN":c=r?It(O[1][1],r,a):O[1][1],f.push(Rt(c,i));break;case"PtgRef3d":d=O[1][1],c=It(O[1][2],s,a),_=va(n,d,a),f.push(_+"!"+Rt(c,i));break;case"PtgFunc":case"PtgFuncVar":var U=O[1][0],j=O[1][1];U||(U=0),U&=127;var ee=U==0?[]:f.slice(-U);f.length-=U,j==="User"&&(j=ee.shift()),f.push(j+"("+ee.join(",")+")");break;case"PtgBool":f.push(O[1]?"TRUE":"FALSE");break;case"PtgInt":f.push(O[1]);break;case"PtgNum":f.push(String(O[1]));break;case"PtgStr":f.push('"'+O[1].replace(/"/g,'""')+'"');break;case"PtgErr":f.push(O[1]);break;case"PtgAreaN":u=ea(O[1][1],r?{s:r}:s,a),f.push(Mn(u,a));break;case"PtgArea":u=ea(O[1][1],s,a),f.push(Mn(u,a));break;case"PtgArea3d":d=O[1][1],u=O[1][2],_=va(n,d,a),f.push(_+"!"+Mn(u,a));break;case"PtgAttrSum":f.push("SUM("+f.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":p=O[1][2];var I=(n.names||[])[p-1]||(n[0]||[])[p],V=I?I.Name:"SH33TJSNAME"+String(p);V&&V.slice(0,6)=="_xlfn."&&!a.xlfn&&(V=V.slice(6)),f.push(V);break;case"PtgNameX":var y=O[1][1];p=O[1][2];var S;if(a.biff<=5)y<0&&(y=-y),n[y]&&(S=n[y][p]);else{var D="";if(((n[y]||[])[0]||[])[0]==14849||(((n[y]||[])[0]||[])[0]==1025?n[y][p]&&n[y][p].itab>0&&(D=n.SheetNames[n[y][p].itab-1]+"!"):D=n.SheetNames[p-1]+"!"),n[y]&&n[y][p])D+=n[y][p].Name;else if(n[0]&&n[0][p])D+=n[0][p].Name;else{var H=(Gi(n,y,a)||"").split(";;");H[p-1]?D=H[p-1]:D+="SH33TJSERRX"}f.push(D);break}S||(S={Name:"SH33TJSERRY"}),f.push(S.Name);break;case"PtgParen":var q="(",le=")";if(h>=0){switch(m="",e[0][h][1][0]){case 2:q=Re(" ",e[0][h][1][1])+q;break;case 3:q=Re("\r",e[0][h][1][1])+q;break;case 4:le=Re(" ",e[0][h][1][1])+le;break;case 5:le=Re("\r",e[0][h][1][1])+le;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][h][1][0])}h=-1}f.push(q+f.pop()+le);break;case"PtgRefErr":f.push("#REF!");break;case"PtgRefErr3d":f.push("#REF!");break;case"PtgExp":c={c:O[1][1],r:O[1][0]};var oe={c:r.c,r:r.r};if(n.sharedf[we(c)]){var Le=n.sharedf[we(c)];f.push(mt(Le,s,oe,n,a))}else{var Pe=!1;for(l=0;l!=n.arrayf.length;++l)if(o=n.arrayf[l],!(c.c<o[0].s.c||c.c>o[0].e.c)&&!(c.r<o[0].s.r||c.r>o[0].e.r)){f.push(mt(o[1],s,oe,n,a)),Pe=!0;break}Pe||f.push(O[1])}break;case"PtgArray":f.push("{"+l1(O[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":h=k;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"+O[1].idx+"[#"+O[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(O));default:throw new Error("Unrecognized Formula Token: "+String(O))}var mr=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(a.biff!=3&&h>=0&&mr.indexOf(e[0][k][0])==-1){O=e[0][h];var We=!0;switch(O[1][0]){case 4:We=!1;case 0:m=Re(" ",O[1][1]);break;case 5:We=!1;case 1:m=Re("\r",O[1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+O[1][0])}f.push((We?m:"")+f.pop()+(We?"":m)),h=-1}}if(f.length>1&&a.WTF)throw new Error("bad formula stack");return f[0]}function h1(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 rt(e);return rt(0)}function u1(e,t,r,n,a){var i=tt(t,r,a),s=h1(e.v),f=b(6),l=33;f.write_shift(2,l),f.write_shift(4,0);for(var o=b(e.bf.length),c=0;c<e.bf.length;++c)o[c]=e.bf[c];var d=ze([i,s,f,o]);return d}function Cn(e,t,r){var n=e.read_shift(4),a=f1(e,n,r),i=e.read_shift(4),s=i>0?s1(e,i,a,r):null;return[a,s]}var x1=Cn,On=Cn,p1=Cn,d1=Cn,v1={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"},Xi={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"},g1={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 m1(e){var t="of:="+e.replace(u0,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function _1(e){return e.replace(/\./,"!")}var Nt=typeof Map<"u";function d0(e,t,r){var n=0,a=e.length;if(r){if(Nt?r.has(t):Object.prototype.hasOwnProperty.call(r,t)){for(var i=Nt?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&&(Nt?(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 kn(e,t){var r={min:e+1,max:e+1},n=-1;return t.MDW&&(Br=t.MDW),t.width!=null?r.customWidth=1:t.wpx!=null?n=mn(t.wpx):t.wch!=null&&(n=t.wch),n>-1?(r.width=jn(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 $i(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];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 Kr(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){Wa(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 T1(e,t,r){if(e&&e["!ref"]){var n=ye(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function E1(e){if(e.length===0)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+Me(e[r])+'"/>';return t+"</mergeCells>"}function w1(e,t,r,n,a){var i=!1,s={},f=null;if(n.bookType!=="xlsx"&&t.vbaraw){var l=t.SheetNames[r];try{t.Workbook&&(l=t.Workbook.Sheets[r].CodeName||l)}catch{}i=!0,s.codeName=Mt(Ee(l))}if(e&&e["!outline"]){var o={summaryBelow:1,summaryRight:1};e["!outline"].above&&(o.summaryBelow=0),e["!outline"].left&&(o.summaryRight=0),f=(f||"")+J("outlinePr",null,o)}!i&&!f||(a[a.length]=J("sheetPr",f,s))}var S1=["objects","scenarios","selectLockedCells","selectUnlockedCells"],A1=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function F1(e){var t={sheet:1};return S1.forEach(function(r){e[r]!=null&&e[r]&&(t[r]="1")}),A1.forEach(function(r){e[r]!=null&&!e[r]&&(t[r]="0")}),e.password&&(t.password=Oi(e.password).toString(16).toUpperCase()),J("sheetProtection",null,t)}function y1(e){return $i(e),J("pageMargins",null,e)}function C1(e,t){for(var r=["<cols>"],n,a=0;a!=t.length;++a)(n=t[a])&&(r[r.length]=J("col",null,kn(a,n)));return r[r.length]="</cols>",r.join("")}function O1(e,t,r,n){var a=typeof e.ref=="string"?e.ref:Me(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=ur(a);s.s.r==s.e.r&&(s.e.r=ur(t["!ref"]).e.r,a=Me(s));for(var f=0;f<i.length;++f){var l=i[f];if(l.Name=="_xlnm._FilterDatabase"&&l.Sheet==n){l.Ref="'"+r.SheetNames[n]+"'!"+a;break}}return f==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+a}),J("autoFilter",null,{ref:a})}function k1(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),J("sheetViews",J("sheetView",null,a),{})}function D1(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=Xt[e.v];break;case"d":n&&n.cellDates?a=tr(e.v,-1).toISOString():(e=ir(e),e.t="n",a=""+(e.v=ar(tr(e.v)))),typeof e.z>"u"&&(e.z=Ne[14]);break;default:a=e.v;break}var f=Ke("v",Ee(a)),l={r:t},o=Kr(n.cellXfs,e,n);switch(o!==0&&(l.s=o),e.t){case"n":break;case"d":l.t="d";break;case"b":l.t="b";break;case"e":l.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=Ke("v",""+d0(n.Strings,e.v,n.revStrings)),l.t="s";break}l.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=J("f",Ee(e.f),c)+(e.v!=null?f:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(l.cm=1),J("c",f,l)}function I1(e,t,r,n){var a=[],i=[],s=ye(e["!ref"]),f="",l,o="",c=[],d=0,p=0,u=e["!rows"],_=Array.isArray(e),h={r:o},m,k=-1;for(p=s.s.c;p<=s.e.c;++p)c[p]=Ze(p);for(d=s.s.r;d<=s.e.r;++d){for(i=[],o=Ye(d),p=s.s.c;p<=s.e.c;++p){l=c[p]+o;var R=_?(e[d]||[])[p]:e[l];R!==void 0&&(f=D1(R,l,e,t))!=null&&i.push(f)}(i.length>0||u&&u[d])&&(h={r:o},u&&u[d]&&(m=u[d],m.hidden&&(h.hidden=1),k=-1,m.hpx?k=_n(m.hpx):m.hpt&&(k=m.hpt),k>-1&&(h.ht=k,h.customHeight=1),m.level&&(h.outlineLevel=m.level)),a[a.length]=J("row",i.join(""),h))}if(u)for(;d<u.length;++d)u&&u[d]&&(h={r:d+1},m=u[d],m.hidden&&(h.hidden=1),k=-1,m.hpx?k=_n(m.hpx):m.hpt&&(k=m.hpt),k>-1&&(h.ht=k,h.customHeight=1),m.level&&(h.outlineLevel=m.level),a[a.length]=J("row","",h));return a.join("")}function zi(e,t,r,n){var a=[Ue,J("worksheet",null,{xmlns:_t[0],"xmlns:r":He.r})],i=r.SheetNames[e],s=0,f="",l=r.Sheets[i];l==null&&(l={});var o=l["!ref"]||"A1",c=ye(o);if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+o+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),o=Me(c)}n||(n={}),l["!comments"]=[];var d=[];w1(l,r,e,t,a),a[a.length]=J("dimension",null,{ref:o}),a[a.length]=k1(l,t,e,r),t.sheetFormat&&(a[a.length]=J("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),l["!cols"]!=null&&l["!cols"].length>0&&(a[a.length]=C1(l,l["!cols"])),a[s=a.length]="<sheetData/>",l["!links"]=[],l["!ref"]!=null&&(f=I1(l,t),f.length>0&&(a[a.length]=f)),a.length>s+1&&(a[a.length]="</sheetData>",a[s]=a[s].replace("/>",">")),l["!protect"]&&(a[a.length]=F1(l["!protect"])),l["!autofilter"]!=null&&(a[a.length]=O1(l["!autofilter"],l,r,e)),l["!merges"]!=null&&l["!merges"].length>0&&(a[a.length]=E1(l["!merges"]));var p=-1,u,_=-1;return l["!links"].length>0&&(a[a.length]="<hyperlinks>",l["!links"].forEach(function(h){h[1].Target&&(u={ref:h[0]},h[1].Target.charAt(0)!="#"&&(_=Te(n,-1,Ee(h[1].Target).replace(/#.*$/,""),ve.HLINK),u["r:id"]="rId"+_),(p=h[1].Target.indexOf("#"))>-1&&(u.location=Ee(h[1].Target.slice(p+1))),h[1].Tooltip&&(u.tooltip=Ee(h[1].Tooltip)),a[a.length]=J("hyperlink",null,u))}),a[a.length]="</hyperlinks>"),delete l["!links"],l["!margins"]!=null&&(a[a.length]=y1(l["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&(a[a.length]=Ke("ignoredErrors",J("ignoredError",null,{numberStoredAsText:1,sqref:o}))),d.length>0&&(_=Te(n,-1,"../drawings/drawing"+(e+1)+".xml",ve.DRAW),a[a.length]=J("drawing",null,{"r:id":"rId"+_}),l["!drawing"]=d),l["!comments"].length>0&&(_=Te(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",ve.VML),a[a.length]=J("legacyDrawing",null,{"r:id":"rId"+_}),l["!legacy"]=_),a.length>1&&(a[a.length]="</worksheet>",a[1]=a[1].replace("/>",">")),a.join("")}function R1(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 N1(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=_n(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,l=n.l;n.l+=4;for(var o={r:e,c:0},c=0;c<16;++c)if(!(t.s.c>c+1<<10||t.e.c<c<<10)){for(var d=-1,p=-1,u=c<<10;u<c+1<<10;++u){o.c=u;var _=Array.isArray(r)?(r[o.r]||[])[o.c]:r[we(o)];_&&(d<0&&(d=u),p=u)}d<0||(++f,n.write_shift(4,d),n.write_shift(4,p))}var h=n.l;return n.l=l,n.write_shift(4,f),n.l=h,n.length>n.l?n.slice(0,n.l):n}function P1(e,t,r,n){var a=N1(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&G(e,0,a)}var L1=ft,B1=Et;function M1(){}function U1(e,t){var r={},n=e[e.l];return++e.l,r.above=!(n&64),r.left=!(n&128),e.l+=18,r.name=Kf(e),r}function b1(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 dn({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),fi(e,r),r.slice(0,r.l)}function W1(e){var t=gr(e);return[t]}function H1(e,t,r){return r==null&&(r=b(8)),at(t,r)}function V1(e){var t=it(e);return[t]}function G1(e,t,r){return r==null&&(r=b(4)),st(t,r)}function X1(e){var t=gr(e),r=e.read_shift(1);return[t,r,"b"]}function $1(e,t,r){return r==null&&(r=b(9)),at(t,r),r.write_shift(1,e.v?1:0),r}function z1(e){var t=it(e),r=e.read_shift(1);return[t,r,"b"]}function K1(e,t,r){return r==null&&(r=b(5)),st(t,r),r.write_shift(1,e.v?1:0),r}function Y1(e){var t=gr(e),r=e.read_shift(1);return[t,r,"e"]}function j1(e,t,r){return r==null&&(r=b(9)),at(t,r),r.write_shift(1,e.v),r}function J1(e){var t=it(e),r=e.read_shift(1);return[t,r,"e"]}function Z1(e,t,r){return r==null&&(r=b(8)),st(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function q1(e){var t=gr(e),r=e.read_shift(4);return[t,r,"s"]}function Q1(e,t,r){return r==null&&(r=b(12)),at(t,r),r.write_shift(4,t.v),r}function eh(e){var t=it(e),r=e.read_shift(4);return[t,r,"s"]}function rh(e,t,r){return r==null&&(r=b(8)),st(t,r),r.write_shift(4,t.v),r}function th(e){var t=gr(e),r=wt(e);return[t,r,"n"]}function nh(e,t,r){return r==null&&(r=b(16)),at(t,r),rt(e.v,r),r}function ah(e){var t=it(e),r=wt(e);return[t,r,"n"]}function ih(e,t,r){return r==null&&(r=b(12)),st(t,r),rt(e.v,r),r}function sh(e){var t=gr(e),r=li(e);return[t,r,"n"]}function fh(e,t,r){return r==null&&(r=b(12)),at(t,r),oi(e.v,r),r}function lh(e){var t=it(e),r=li(e);return[t,r,"n"]}function oh(e,t,r){return r==null&&(r=b(8)),st(t,r),oi(e.v,r),r}function ch(e){var t=gr(e),r=f0(e);return[t,r,"is"]}function hh(e){var t=gr(e),r=qe(e);return[t,r,"str"]}function uh(e,t,r){return r==null&&(r=b(12+4*e.v.length)),at(t,r),Ge(e.v,r),r.length>r.l?r.slice(0,r.l):r}function xh(e){var t=it(e),r=qe(e);return[t,r,"str"]}function ph(e,t,r){return r==null&&(r=b(8+4*e.v.length)),st(t,r),Ge(e.v,r),r.length>r.l?r.slice(0,r.l):r}function dh(e,t,r){var n=e.l+t,a=gr(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"b"];if(r.cellFormula){e.l+=2;var f=On(e,n-e.l,r);s[3]=mt(f,null,a,r.supbooks,r)}else e.l=n;return s}function vh(e,t,r){var n=e.l+t,a=gr(e);a.r=r["!row"];var i=e.read_shift(1),s=[a,i,"e"];if(r.cellFormula){e.l+=2;var f=On(e,n-e.l,r);s[3]=mt(f,null,a,r.supbooks,r)}else e.l=n;return s}function gh(e,t,r){var n=e.l+t,a=gr(e);a.r=r["!row"];var i=wt(e),s=[a,i,"n"];if(r.cellFormula){e.l+=2;var f=On(e,n-e.l,r);s[3]=mt(f,null,a,r.supbooks,r)}else e.l=n;return s}function mh(e,t,r){var n=e.l+t,a=gr(e);a.r=r["!row"];var i=qe(e),s=[a,i,"str"];if(r.cellFormula){e.l+=2;var f=On(e,n-e.l,r);s[3]=mt(f,null,a,r.supbooks,r)}else e.l=n;return s}var _h=ft,Th=Et;function Eh(e,t){return t==null&&(t=b(4)),t.write_shift(4,e),t}function wh(e,t){var r=e.l+t,n=ft(e),a=l0(e),i=qe(e),s=qe(e),f=qe(e);e.l=r;var l={rfx:n,relId:a,loc:i,display:f};return s&&(l.Tooltip=s),l}function Sh(e,t){var r=b(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Et({s:Ve(e[0]),e:Ve(e[0])},r),o0("rId"+t,r);var n=e[1].Target.indexOf("#"),a=n==-1?"":e[1].Target.slice(n+1);return Ge(a||"",r),Ge(e[1].Tooltip||"",r),Ge("",r),r.slice(0,r.l)}function Ah(){}function Fh(e,t,r){var n=e.l+t,a=ci(e),i=e.read_shift(1),s=[a];if(s[2]=i,r.cellFormula){var f=x1(e,n-e.l,r);s[1]=f}else e.l=n;return s}function yh(e,t,r){var n=e.l+t,a=ft(e),i=[a];if(r.cellFormula){var s=d1(e,n-e.l,r);i[1]=s,e.l=n}else e.l=n;return i}function Ch(e,t,r){r==null&&(r=b(18));var n=kn(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 Ki=["left","right","top","bottom","header","footer"];function Oh(e){var t={};return Ki.forEach(function(r){t[r]=wt(e)}),t}function kh(e,t){return t==null&&(t=b(6*8)),$i(e),Ki.forEach(function(r){rt(e[r],t)}),t}function Dh(e){var t=e.read_shift(2);return e.l+=28,{RTL:t&32}}function Ih(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 Rh(e){var t=b(24);return t.write_shift(4,4),t.write_shift(4,1),Et(e,t),t}function Nh(e,t){return t==null&&(t=b(16*4+2)),t.write_shift(2,e.password?Oi(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 Ph(){}function Lh(){}function Bh(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=ir(t),t.z=t.z||Ne[14],t.v=ar(tr(t.v)),t.t="n";break;case"n":case"e":f=""+t.v;break;default:f=t.v;break}var l={r,c:n};switch(l.s=Kr(a.cellXfs,t,a),t.l&&i["!links"].push([we(l),t.l]),t.c&&i["!comments"].push([we(l),t.c]),t.t){case"s":case"str":return a.bookSST?(f=d0(a.Strings,t.v,a.revStrings),l.t="s",l.v=f,s?G(e,18,rh(t,l)):G(e,7,Q1(t,l))):(l.t="str",s?G(e,17,ph(t,l)):G(e,6,uh(t,l))),!0;case"n":return t.v==(t.v|0)&&t.v>-1e3&&t.v<1e3?s?G(e,13,oh(t,l)):G(e,2,fh(t,l)):s?G(e,16,ih(t,l)):G(e,5,nh(t,l)),!0;case"b":return l.t="b",s?G(e,15,K1(t,l)):G(e,4,$1(t,l)),!0;case"e":return l.t="e",s?G(e,14,Z1(t,l)):G(e,3,j1(t,l)),!0}return s?G(e,12,G1(t,l)):G(e,1,H1(t,l)),!0}function Mh(e,t,r,n){var a=ye(t["!ref"]||"A1"),i,s="",f=[];G(e,145);var l=Array.isArray(t),o=a.e.r;t["!rows"]&&(o=Math.max(a.e.r,t["!rows"].length-1));for(var c=a.s.r;c<=o;++c){s=Ye(c),P1(e,t,a,c);var d=!1;if(c<=a.e.r)for(var p=a.s.c;p<=a.e.c;++p){c===a.s.r&&(f[p]=Ze(p)),i=f[p]+s;var u=l?(t[c]||[])[p]:t[i];if(!u){d=!1;continue}d=Bh(e,u,c,p,n,t,d)}}G(e,146)}function Uh(e,t){!t||!t["!merges"]||(G(e,177,Eh(t["!merges"].length)),t["!merges"].forEach(function(r){G(e,176,Th(r))}),G(e,178))}function bh(e,t){!t||!t["!cols"]||(G(e,390),t["!cols"].forEach(function(r,n){r&&G(e,60,Ch(n,r))}),G(e,391))}function Wh(e,t){!t||!t["!ref"]||(G(e,648),G(e,649,Rh(ye(t["!ref"]))),G(e,650))}function Hh(e,t,r){t["!links"].forEach(function(n){if(n[1].Target){var a=Te(r,-1,n[1].Target.replace(/#.*$/,""),ve.HLINK);G(e,494,Sh(n,a))}}),delete t["!links"]}function Vh(e,t,r,n){if(t["!comments"].length>0){var a=Te(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",ve.VML);G(e,551,o0("rId"+a)),t["!legacy"]=a}}function Gh(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],i=typeof a.ref=="string"?a.ref:Me(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,f=ur(i);f.s.r==f.e.r&&(f.e.r=ur(t["!ref"]).e.r,i=Me(f));for(var l=0;l<s.length;++l){var o=s[l];if(o.Name=="_xlnm._FilterDatabase"&&o.Sheet==n){o.Ref="'"+r.SheetNames[n]+"'!"+i;break}}l==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+r.SheetNames[n]+"'!"+i}),G(e,161,Et(ye(i))),G(e,162)}}function Xh(e,t,r){G(e,133),G(e,137,Ih(t,r)),G(e,138),G(e,134)}function $h(e,t){t["!protect"]&&G(e,535,Nh(t["!protect"]))}function zh(e,t,r,n){var a=nr(),i=r.SheetNames[e],s=r.Sheets[i]||{},f=i;try{r&&r.Workbook&&(f=r.Workbook.Sheets[e].CodeName||f)}catch{}var l=ye(s["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(t.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");l.e.c=Math.min(l.e.c,16383),l.e.r=Math.min(l.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],G(a,129),(r.vbaraw||s["!outline"])&&G(a,147,b1(f,s["!outline"])),G(a,148,B1(l)),Xh(a,s,r.Workbook),bh(a,s),Mh(a,s,e,t),$h(a,s),Gh(a,s,r,e),Uh(a,s),Hh(a,s,n),s["!margins"]&&G(a,476,kh(s["!margins"])),(!t||t.ignoreEC||t.ignoreEC==null)&&Wh(a,s),Vh(a,s,e,n),G(a,130),a.end()}function Kh(e,t){e.l+=10;var r=qe(e);return{name:r}}var Yh=[["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 jh(e){return!e.Workbook||!e.Workbook.WBProps?"false":Ff(e.Workbook.WBProps.date1904)?"true":"false"}var Jh="][*?/\\".split("");function Yi(e,t){if(e.length>31)throw new Error("Sheet names cannot exceed 31 chars");var r=!0;return Jh.forEach(function(n){if(e.indexOf(n)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")}),r}function Zh(e,t,r){e.forEach(function(n,a){Yi(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 qh(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||[];Zh(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)T1(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}function ji(e){var t=[Ue];t[t.length]=J("workbook",null,{xmlns:_t[0],"xmlns:r":He.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Yh.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]=J("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:Ee(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]=J("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 l={name:f.Name};f.Comment&&(l.comment=f.Comment),f.Sheet!=null&&(l.localSheetId=""+f.Sheet),f.Hidden&&(l.hidden="1"),f.Ref&&(t[t.length]=J("definedName",Ee(f.Ref),l))}),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function Qh(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=Yn(e),r.name=qe(e),r}function eu(e,t){return t||(t=b(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),o0(e.strRelID,t),Ge(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function ru(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?qe(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 tu(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),fi(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function nu(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),i=Yf(e),s=p1(e,0,r),f=l0(e);e.l=n;var l={Name:i,Ptg:s};return a<268435455&&(l.Sheet=a),f&&(l.Comment=f),l}function au(e,t){G(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]};G(e,156,eu(a))}G(e,144)}function iu(e,t){t||(t=b(127));for(var r=0;r!=4;++r)t.write_shift(4,0);return Ge("SheetJS",t),Ge(ln.version,t),Ge(ln.version,t),Ge("7262",t),t.length>t.l?t.slice(0,t.l):t}function su(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 fu(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||(G(e,135),G(e,158,su(a)),G(e,136))}}function lu(e,t){var r=nr();return G(r,131),G(r,128,iu()),G(r,153,tu(e.Workbook&&e.Workbook.WBProps||null)),fu(r,e),au(r,e),G(r,132),r.end()}function ou(e,t,r){return(t.slice(-4)===".bin"?lu:ji)(e)}function cu(e,t,r,n,a){return(t.slice(-4)===".bin"?zh:zi)(e,r,n,a)}function hu(e,t,r){return(t.slice(-4)===".bin"?ko:Ii)(e,r)}function uu(e,t,r){return(t.slice(-4)===".bin"?ro:Ci)(e,r)}function xu(e,t,r){return(t.slice(-4)===".bin"?$o:Bi)(e)}function pu(e){return(e.slice(-4)===".bin"?Mo:Pi)()}function du(e,t){var r=[];return e.Props&&r.push(cl(e.Props,t)),e.Custprops&&r.push(hl(e.Props,e.Custprops)),r.join("")}function vu(){return""}function gu(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach(function(n,a){var i=[];i.push(J("NumberFormat",null,{"ss:Format":Ee(Ne[n.numFmtId])}));var s={"ss:ID":"s"+(21+a)};r.push(J("Style",i.join(""),s))}),J("Styles",r.join(""))}function Ji(e){return J("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+x0(e.Ref,{r:0,c:0})})}function mu(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(Ji(a)))}return J("Names",r.join(""))}function _u(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(Ji(f)))}return i.join("")}function Tu(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push("<PageSetup>"),e["!margins"].header&&a.push(J("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(J("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(J("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(J("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(Ke("ProtectContents","True")),e["!protect"].objects&&a.push(Ke("ProtectObjects","True")),e["!protect"].scenarios&&a.push(Ke("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?a.push(Ke("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&a.push(Ke("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?"":J("WorksheetOptions",a.join(""),{xmlns:cr.x})}function Eu(e){return e.map(function(t){var r=Af(t.t||""),n=J("ss:Data",r,{xmlns:"http://www.w3.org/TR/REC-html40"});return J("Comment",n,{"ss:Author":t.a})}).join("")}function wu(e,t,r,n,a,i,s){if(!e||e.v==null&&e.f==null)return"";var f={};if(e.f&&(f["ss:Formula"]="="+Ee(x0(e.f,s))),e.F&&e.F.slice(0,t.length)==t){var l=Ve(e.F.slice(t.length+1));f["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target&&(f["ss:HRef"]=Ee(e.l.Target),e.l.Tooltip&&(f["x:HRefScreenTip"]=Ee(e.l.Tooltip))),r["!merges"])for(var o=r["!merges"],c=0;c!=o.length;++c)o[c].s.c!=s.c||o[c].s.r!=s.r||(o[c].e.c>o[c].s.c&&(f["ss:MergeAcross"]=o[c].e.c-o[c].s.c),o[c].e.r>o[c].s.r&&(f["ss:MergeDown"]=o[c].e.r-o[c].s.r));var d="",p="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":d="Number",p=String(e.v);break;case"b":d="Boolean",p=e.v?"1":"0";break;case"e":d="Error",p=Xt[e.v];break;case"d":d="DateTime",p=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||Ne[14]);break;case"s":d="String",p=Sf(e.v||"");break}var u=Kr(n.cellXfs,e,n);f["ss:StyleID"]="s"+(21+u),f["ss:Index"]=s.c+1;var _=e.v!=null?p:"",h=e.t=="z"?"":'<Data ss:Type="'+d+'">'+_+"</Data>";return(e.c||[]).length>0&&(h+=Eu(e.c)),J("Cell",h,f)}function Su(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=Di(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function Au(e,t,r,n){if(!e["!ref"])return"";var a=ye(e["!ref"]),i=e["!merges"]||[],s=0,f=[];e["!cols"]&&e["!cols"].forEach(function(m,k){h0(m);var R=!!m.width,O=kn(k,m),U={"ss:Index":k+1};R&&(U["ss:Width"]=gn(O.width)),m.hidden&&(U["ss:Hidden"]="1"),f.push(J("Column",null,U))});for(var l=Array.isArray(e),o=a.s.r;o<=a.e.r;++o){for(var c=[Su(o,(e["!rows"]||[])[o])],d=a.s.c;d<=a.e.c;++d){var p=!1;for(s=0;s!=i.length;++s)if(!(i[s].s.c>d)&&!(i[s].s.r>o)&&!(i[s].e.c<d)&&!(i[s].e.r<o)){(i[s].s.c!=d||i[s].s.r!=o)&&(p=!0);break}if(!p){var u={r:o,c:d},_=we(u),h=l?(e[o]||[])[d]:e[_];c.push(wu(h,_,e,t,r,n,u))}}c.push("</Row>"),c.length>2&&f.push(c.join(""))}return f.join("")}function Fu(e,t,r){var n=[],a=r.SheetNames[e],i=r.Sheets[a],s=i?_u(i,t,e,r):"";return s.length>0&&n.push("<Names>"+s+"</Names>"),s=i?Au(i,t,e,r):"",s.length>0&&n.push("<Table>"+s+"</Table>"),n.push(Tu(i,t,e,r)),n.join("")}function yu(e,t){t||(t={}),e.SSF||(e.SSF=ir(Ne)),e.SSF&&(An(),Sn(e.SSF),t.revssf=Fn(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Kr(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(du(e,t)),r.push(vu()),r.push(""),r.push("");for(var n=0;n<e.SheetNames.length;++n)r.push(J("Worksheet",Fu(n,t,e),{"ss:Name":Ee(e.SheetNames[n])}));return r[2]=gu(e,t),r[3]=mu(e),Ue+J("Workbook",r.join(""),{xmlns:cr.ss,"xmlns:o":cr.o,"xmlns:x":cr.x,"xmlns:ss":cr.ss,"xmlns:dt":cr.dt,"xmlns:html":cr.html})}var Wn={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function Cu(e,t){var r=[],n=[],a=[],i=0,s,f=G0(ta,"n"),l=G0(na,"n");if(e.Props)for(s=je(e.Props),i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(f,s[i])?r:Object.prototype.hasOwnProperty.call(l,s[i])?n:a).push([s[i],e.Props[s[i]]]);if(e.Custprops)for(s=je(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(l,s[i])?n:a).push([s[i],e.Custprops[s[i]]]);var o=[];for(i=0;i<a.length;++i)Ti.indexOf(a[i][0])>-1||gi.indexOf(a[i][0])>-1||a[i][1]!=null&&o.push(a[i]);n.length&&Ae.utils.cfb_add(t,"/SummaryInformation",la(n,Wn.SI,l,na)),(r.length||o.length)&&Ae.utils.cfb_add(t,"/DocumentSummaryInformation",la(r,Wn.DSI,f,ta,o.length?o:null,Wn.UDI))}function Ou(e,t){var r=t||{},n=Ae.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 Ae.utils.cfb_add(n,a,Zi(e,r)),r.biff==8&&(e.Props||e.Custprops)&&Cu(e,n),r.biff==8&&e.vbaraw&&zo(n,Ae.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var ku={0:{f:R1},1:{f:W1},2:{f:sh},3:{f:Y1},4:{f:X1},5:{f:th},6:{f:hh},7:{f:q1},8:{f:mh},9:{f:gh},10:{f:dh},11:{f:vh},12:{f:V1},13:{f:lh},14:{f:J1},15:{f:z1},16:{f:ah},17:{f:xh},18:{f:eh},19:{f:f0},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:nu},40:{},42:{},43:{f:co},44:{f:lo},45:{f:xo},46:{f:vo},47:{f:po},48:{},49:{f:Hf},50:{},51:{f:Ro},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Vl},62:{f:ch},63:{f:Uo},64:{f:Ph},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:kr,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:Dh},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:U1},148:{f:L1,p:16},151:{f:Ah},152:{},153:{f:ru},154:{},155:{},156:{f:Qh},157:{},158:{},159:{T:1,f:ql},160:{T:-1},161:{T:1,f:ft},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:_h},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:Do},336:{T:-1},337:{f:Lo,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:Yn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Bl},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:Fh},427:{f:yh},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:Oh},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:M1},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:wh},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:Yn},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:Go},633:{T:1},634:{T:-1},635:{T:1,f:Ho},636:{T:-1},637:{f:$f},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:Kh},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:Lh},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 Z(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&&a0(r)&&e.push(r)}}function Du(e,t,r,n){var a=(r||[]).length||0;if(a<=8224)return Z(e,t,r,a);var i=t;if(!isNaN(i)){for(var s=r.parts||[],f=0,l=0,o=0;o+(s[f]||8224)<=8224;)o+=s[f]||8224,f++;var c=e.next(4);for(c.write_shift(2,i),c.write_shift(2,o),e.push(r.slice(l,l+o)),l+=o;l<a;){for(c=e.next(4),c.write_shift(2,60),o=0;o+(s[f]||8224)<=8224;)o+=s[f]||8224,f++;c.write_shift(2,o),e.push(r.slice(l,l+o)),l+=o}}}function zt(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 Iu(e,t,r,n){var a=b(9);return zt(a,e,t),wi(r,n||"b",a),a}function Ru(e,t,r){var n=b(8+2*r.length);return zt(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 Nu(e,t,r,n){if(t.v!=null)switch(t.t){case"d":case"n":var a=t.t=="d"?ar(tr(t.v)):t.v;a==(a|0)&&a>=0&&a<65536?Z(e,2,zl(r,n,a)):Z(e,3,$l(r,n,a));return;case"b":case"e":Z(e,5,Iu(r,n,t.v,t.t));return;case"s":case"str":Z(e,4,Ru(r,n,(t.v||"").slice(0,255)));return}Z(e,1,zt(null,r,n))}function Pu(e,t,r,n){var a=Array.isArray(t),i=ye(t["!ref"]||"A1"),s,f="",l=[];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=Me(i)}for(var o=i.s.r;o<=i.e.r;++o){f=Ye(o);for(var c=i.s.c;c<=i.e.c;++c){o===i.s.r&&(l[c]=Ze(c)),s=l[c]+f;var d=a?(t[o]||[])[c]:t[s];d&&Nu(e,d,o,c)}}}function Lu(e,t){for(var r=t||{},n=nr(),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 Z(n,r.biff==4?1033:r.biff==3?521:9,c0(e,16,r)),Pu(n,e.Sheets[e.SheetNames[a]],a,r),Z(n,10),n.end()}function Bu(e,t,r){Z(e,49,Ol({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function Mu(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&&Z(e,1054,Il(a,t[a],r))})}function Uu(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),Z(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),Fi(ye(t["!ref"]||"A1"),r),r.write_shift(4,4),Z(e,2152,r)}function bu(e,t){for(var r=0;r<16;++r)Z(e,224,ca({numFmtId:0,style:!0},0,t));t.cellXfs.forEach(function(n){Z(e,224,ca(n,0,t))})}function Wu(e,t){for(var r=0;r<t["!links"].length;++r){var n=t["!links"][r];Z(e,440,bl(n)),n[1].Tooltip&&Z(e,2048,Wl(n))}delete t["!links"]}function Hu(e,t){if(t){var r=0;t.forEach(function(n,a){++r<=256&&n&&Z(e,125,Gl(kn(a,n),a))})}}function Vu(e,t,r,n,a){var i=16+Kr(a.cellXfs,t,a);if(t.v==null&&!t.bf){Z(e,513,tt(r,n,i));return}if(t.bf)Z(e,6,u1(t,r,n,a,i));else switch(t.t){case"d":case"n":var s=t.t=="d"?ar(tr(t.v)):t.v;Z(e,515,Ll(r,n,s,i));break;case"b":case"e":Z(e,517,Pl(r,n,t.v,i,a,t.t));break;case"s":case"str":if(a.bookSST){var f=d0(a.Strings,t.v,a.revStrings);Z(e,253,kl(r,n,f,i))}else Z(e,516,Dl(r,n,(t.v||"").slice(0,255),i,a));break;default:Z(e,513,tt(r,n,i))}}function Gu(e,t,r){var n=nr(),a=r.SheetNames[e],i=r.Sheets[a]||{},s=(r||{}).Workbook||{},f=(s.Sheets||[])[e]||{},l=Array.isArray(i),o=t.biff==8,c,d="",p=[],u=ye(i["!ref"]||"A1"),_=o?65536:16384;if(u.e.c>255||u.e.r>=_){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");u.e.c=Math.min(u.e.c,255),u.e.r=Math.min(u.e.c,_-1)}Z(n,2057,c0(r,16,t)),Z(n,13,vr(1)),Z(n,12,vr(100)),Z(n,15,rr(!0)),Z(n,17,rr(!1)),Z(n,16,rt(.001)),Z(n,95,rr(!0)),Z(n,42,rr(!1)),Z(n,43,rr(!1)),Z(n,130,vr(1)),Z(n,128,Nl()),Z(n,131,rr(!1)),Z(n,132,rr(!1)),o&&Hu(n,i["!cols"]),Z(n,512,Rl(u,t)),o&&(i["!links"]=[]);for(var h=u.s.r;h<=u.e.r;++h){d=Ye(h);for(var m=u.s.c;m<=u.e.c;++m){h===u.s.r&&(p[m]=Ze(m)),c=p[m]+d;var k=l?(i[h]||[])[m]:i[c];k&&(Vu(n,k,h,m,t),o&&k.l&&i["!links"].push([c,k.l]))}}var R=f.CodeName||f.name||a;return o&&Z(n,574,Cl((s.Views||[])[0])),o&&(i["!merges"]||[]).length&&Z(n,229,Ul(i["!merges"])),o&&Wu(n,i),Z(n,442,Ai(R)),o&&Uu(n,i),Z(n,10),n.end()}function Xu(e,t,r){var n=nr(),a=(e||{}).Workbook||{},i=a.Sheets||[],s=a.WBProps||{},f=r.biff==8,l=r.biff==5;if(Z(n,2057,c0(e,5,r)),r.bookType=="xla"&&Z(n,135),Z(n,225,f?vr(1200):null),Z(n,193,pl(2)),l&&Z(n,191),l&&Z(n,192),Z(n,226),Z(n,92,Sl("SheetJS",r)),Z(n,66,vr(f?1200:1252)),f&&Z(n,353,vr(0)),f&&Z(n,448),Z(n,317,Xl(e.SheetNames.length)),f&&e.vbaraw&&Z(n,211),f&&e.vbaraw){var o=s.CodeName||"ThisWorkbook";Z(n,442,Ai(o))}Z(n,156,vr(17)),Z(n,25,rr(!1)),Z(n,18,rr(!1)),Z(n,19,vr(0)),f&&Z(n,431,rr(!1)),f&&Z(n,444,vr(0)),Z(n,61,yl()),Z(n,64,rr(!1)),Z(n,141,vr(0)),Z(n,34,rr(jh(e)=="true")),Z(n,14,rr(!0)),f&&Z(n,439,rr(!1)),Z(n,218,vr(0)),Bu(n,e,r),Mu(n,e.SSF,r),bu(n,r),f&&Z(n,352,rr(!1));var c=n.end(),d=nr();f&&Z(d,140,Hl()),f&&r.Strings&&Du(d,252,Fl(r.Strings)),Z(d,10);var p=d.end(),u=nr(),_=0,h=0;for(h=0;h<e.SheetNames.length;++h)_+=(f?12:11)+(f?2:1)*e.SheetNames[h].length;var m=c.length+_+p.length;for(h=0;h<e.SheetNames.length;++h){var k=i[h]||{};Z(u,133,Al({pos:m,hs:k.Hidden||0,dt:0,name:e.SheetNames[h]},r)),m+=t[h].length}var R=u.end();if(_!=R.length)throw new Error("BS8 "+_+" != "+R.length);var O=[];return c.length&&O.push(c),R.length&&O.push(R),p.length&&O.push(p),ze(O)}function $u(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=ir(Ne)),e&&e.SSF&&(An(),Sn(e.SSF),r.revssf=Fn(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,v0(r),r.cellXfs=[],Kr(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;a<e.SheetNames.length;++a)n[n.length]=Gu(a,r,e);return n.unshift(Xu(e,n,r)),ze(n)}function Zi(e,t){for(var r=0;r<=e.SheetNames.length;++r){var n=e.Sheets[e.SheetNames[r]];if(!(!n||!n["!ref"])){var a=ur(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 $u(e,t);case 4:case 3:case 2:return Lu(e,t)}throw new Error("invalid type "+i.bookType+" for BIFF")}function zu(e,t,r,n){for(var a=e["!merges"]||[],i=[],s=t.s.c;s<=t.e.c;++s){for(var f=0,l=0,o=0;o<a.length;++o)if(!(a[o].s.r>r||a[o].s.c>s)&&!(a[o].e.r<r||a[o].e.c<s)){if(a[o].s.r<r||a[o].s.c<s){f=-1;break}f=a[o].e.r-a[o].s.r+1,l=a[o].e.c-a[o].s.c+1;break}if(!(f<0)){var c=we({r,c:s}),d=n.dense?(e[r]||[])[s]:e[c],p=d&&d.v!=null&&(d.h||wf(d.w||(Ur(d),d.w)||""))||"",u={};f>1&&(u.rowspan=f),l>1&&(u.colspan=l),n.editable?p='<span contenteditable="true">'+p+"</span>":d&&(u["data-t"]=d&&d.t||"z",d.v!=null&&(u["data-v"]=d.v),d.z!=null&&(u["data-z"]=d.z),d.l&&(d.l.Target||"#").charAt(0)!="#"&&(p='<a href="'+d.l.Target+'">'+p+"</a>")),u.id=(n.id||"sjs")+"-"+c,i.push(J("td",p,u))}}var _="<tr>";return _+i.join("")+"</tr>"}var Ku='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',Yu="</body></html>";function ju(e,t,r){var n=[];return n.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function qi(e,t){var r=t||{},n=r.header!=null?r.header:Ku,a=r.footer!=null?r.footer:Yu,i=[n],s=ur(e["!ref"]);r.dense=Array.isArray(e),i.push(ju(e,s,r));for(var f=s.s.r;f<=s.e.r;++f)i.push(zu(e,s,f,r));return i.push("</table>"+a),i.join("")}function Qi(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"?Ve(n.origin):n.origin;a=s.r,i=s.c}var f=t.getElementsByTagName("tr"),l=Math.min(n.sheetRows||1e7,f.length),o={s:{r:0,c:0},e:{r:a,c:i}};if(e["!ref"]){var c=ur(e["!ref"]);o.s.r=Math.min(o.s.r,c.s.r),o.s.c=Math.min(o.s.c,c.s.c),o.e.r=Math.max(o.e.r,c.e.r),o.e.c=Math.max(o.e.c,c.e.c),a==-1&&(o.e.r=a=c.e.r+1)}var d=[],p=0,u=e["!rows"]||(e["!rows"]=[]),_=0,h=0,m=0,k=0,R=0,O=0;for(e["!cols"]||(e["!cols"]=[]);_<f.length&&h<l;++_){var U=f[_];if(ga(U)){if(n.display)continue;u[h]={hidden:!0}}var j=U.children;for(m=k=0;m<j.length;++m){var ee=j[m];if(!(n.display&&ga(ee))){var I=ee.hasAttribute("data-v")?ee.getAttribute("data-v"):ee.hasAttribute("v")?ee.getAttribute("v"):yf(ee.innerHTML),V=ee.getAttribute("data-z")||ee.getAttribute("z");for(p=0;p<d.length;++p){var y=d[p];y.s.c==k+i&&y.s.r<h+a&&h+a<=y.e.r&&(k=y.e.c+1-i,p=-1)}O=+ee.getAttribute("colspan")||1,((R=+ee.getAttribute("rowspan")||1)>1||O>1)&&d.push({s:{r:h+a,c:k+i},e:{r:h+a+(R||1)-1,c:k+i+(O||1)-1}});var S={t:"s",v:I},D=ee.getAttribute("data-t")||ee.getAttribute("t")||"";I!=null&&(I.length==0?S.t=D||"z":n.raw||I.trim().length==0||D=="s"||(I==="TRUE"?S={t:"b",v:!0}:I==="FALSE"?S={t:"b",v:!1}:isNaN(Lr(I))?isNaN(Bt(I).getDate())||(S={t:"d",v:tr(I)},n.cellDates||(S={t:"n",v:ar(S.v)}),S.z=n.dateNF||Ne[14]):S={t:"n",v:Lr(I)})),S.z===void 0&&V!=null&&(S.z=V);var H="",q=ee.getElementsByTagName("A");if(q&&q.length)for(var le=0;le<q.length&&!(q[le].hasAttribute("href")&&(H=q[le].getAttribute("href"),H.charAt(0)!="#"));++le);H&&H.charAt(0)!="#"&&(S.l={Target:H}),n.dense?(e[h+a]||(e[h+a]=[]),e[h+a][k+i]=S):e[we({c:k+i,r:h+a})]=S,o.e.c<k+i&&(o.e.c=k+i),k+=O}}++h}return d.length&&(e["!merges"]=(e["!merges"]||[]).concat(d)),o.e.r=Math.max(o.e.r,h-1+a),e["!ref"]=Me(o),h>=l&&(e["!fullref"]=Me((o.e.r=f.length-_+h-1+a,o))),e}function es(e,t){var r=t||{},n=r.dense?[]:{};return Qi(n,e,t)}function Ju(e,t){return nt(es(e,t),t)}function ga(e){var t="",r=Zu(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),t==="none"}function Zu(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var qu=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 "+Ut({"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 Ue+t}}(),ma=function(){var e=function(i){return Ee(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 l=[];l.push(' <table:table table:name="'+Ee(s.SheetNames[f])+`" table:style-name="ta1">
- `);var o=0,c=0,d=ur(i["!ref"]||"A1"),p=i["!merges"]||[],u=0,_=Array.isArray(i);if(i["!cols"])for(c=0;c<=d.e.c;++c)l.push(" <table:table-column"+(i["!cols"][c]?' table:style-name="co'+i["!cols"][c].ods+'"':"")+`></table:table-column>
- `);var h="",m=i["!rows"]||[];for(o=0;o<d.s.r;++o)h=m[o]?' table:style-name="ro'+m[o].ods+'"':"",l.push(" <table:table-row"+h+`></table:table-row>
- `);for(;o<=d.e.r;++o){for(h=m[o]?' table:style-name="ro'+m[o].ods+'"':"",l.push(" <table:table-row"+h+`>
- `),c=0;c<d.s.c;++c)l.push(t);for(;c<=d.e.c;++c){var k=!1,R={},O="";for(u=0;u!=p.length;++u)if(!(p[u].s.c>c)&&!(p[u].s.r>o)&&!(p[u].e.c<c)&&!(p[u].e.r<o)){(p[u].s.c!=c||p[u].s.r!=o)&&(k=!0),R["table:number-columns-spanned"]=p[u].e.c-p[u].s.c+1,R["table:number-rows-spanned"]=p[u].e.r-p[u].s.r+1;break}if(k){l.push(r);continue}var U=we({r:o,c}),j=_?(i[o]||[])[c]:i[U];if(j&&j.f&&(R["table:formula"]=Ee(m1(j.f)),j.F&&j.F.slice(0,U.length)==U)){var ee=ur(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){l.push(t);continue}switch(j.t){case"b":O=j.v?"TRUE":"FALSE",R["office:value-type"]="boolean",R["office:boolean-value"]=j.v?"true":"false";break;case"n":O=j.w||String(j.v||0),R["office:value-type"]="float",R["office:value"]=j.v||0;break;case"s":case"str":O=j.v==null?"":j.v,R["office:value-type"]="string";break;case"d":O=j.w||tr(j.v).toISOString(),R["office:value-type"]="date",R["office:date-value"]=tr(j.v).toISOString(),R["table:style-name"]="ce1";break;default:l.push(t);continue}var I=e(O);if(j.l&&j.l.Target){var V=j.l.Target;V=V.charAt(0)=="#"?"#"+_1(V.slice(1)):V,V.charAt(0)!="#"&&!V.match(/^\w+:/)&&(V="../"+V),I=J("text:a",I,{"xlink:href":V.replace(/&/g,"&")})}l.push(" "+J("table:table-cell",J("text:p",I,{}),R)+`
- `)}l.push(` </table:table-row>
- `)}return l.push(` </table:table>
- `),l.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(o){return s.Sheets[o]}).forEach(function(o){if(o&&o["!cols"]){for(var c=0;c<o["!cols"].length;++c)if(o["!cols"][c]){var d=o["!cols"][c];if(d.width==null&&d.wpx==null&&d.wch==null)continue;h0(d),d.ods=f;var p=o["!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="'+p+`"/>
- `),i.push(` </style:style>
- `),++f}}});var l=0;s.SheetNames.map(function(o){return s.Sheets[o]}).forEach(function(o){if(o&&o["!rows"]){for(var c=0;c<o["!rows"].length;++c)if(o["!rows"][c]){o["!rows"][c].ods=l;var d=o["!rows"][c].hpx+"px";i.push(' <style:style style:name="ro'+l+`" style:family="table-row">
- `),i.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+d+`"/>
- `),i.push(` </style:style>
- `),++l}}}),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 l=[Ue],o=Ut({"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=Ut({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});f.bookType=="fods"?(l.push("<office:document"+o+c+`>
- `),l.push(di().replace(/office:document-meta/g,"office:meta"))):l.push("<office:document-content"+o+`>
- `),a(l,s),l.push(` <office:body>
- `),l.push(` <office:spreadsheet>
- `);for(var d=0;d!=s.SheetNames.length;++d)l.push(n(s.Sheets[s.SheetNames[d]],s,d));return l.push(` </office:spreadsheet>
- `),l.push(` </office:body>
- `),f.bookType=="fods"?l.push("</office:document>"):l.push("</office:document-content>"),l.join("")}}();function rs(e,t){if(t.bookType=="fods")return ma(e,t);var r=e0(),n="",a=[],i=[];return n="mimetype",he(r,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",he(r,n,ma(e,t)),a.push([n,"text/xml"]),i.push([n,"ContentFile"]),n="styles.xml",he(r,n,qu(e,t)),a.push([n,"text/xml"]),i.push([n,"StylesFile"]),n="meta.xml",he(r,n,Ue+di()),a.push([n,"text/xml"]),i.push([n,"MetadataFile"]),n="manifest.rdf",he(r,n,ol(i)),a.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",he(r,n,fl(a)),r}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function Tn(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Qu(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):Sr(Mt(e))}function ex(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 zr(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 rx(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 bt(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 _e(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 gt(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 be(e){for(var t=[],r=[0];r[0]<e.length;){var n=r[0],a=bt(e,r),i=a&7;a=Math.floor(a/8);var s=0,f;if(a==0)break;switch(i){case 0:{for(var l=r[0];e[r[0]++]>=128;);f=e.slice(l,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=bt(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 o={data:f,type:i};t[a]==null?t[a]=[o]:t[a].push(o)}return t}function Xe(e){var t=[];return e.forEach(function(r,n){r.forEach(function(a){a.data&&(t.push(_e(n*8+a.type)),a.type==2&&t.push(_e(a.data.length)),t.push(a.data))})}),zr(t)}function Tr(e){for(var t,r=[],n=[0];n[0]<e.length;){var a=bt(e,n),i=be(e.slice(n[0],n[0]+a));n[0]+=a;var s={id:gt(i[1][0].data),messages:[]};i[2].forEach(function(f){var l=be(f.data),o=gt(l[3][0].data);s.messages.push({meta:l,data:e.slice(n[0],n[0]+o)}),n[0]+=o}),(t=i[3])!=null&&t[0]&&(s.merge=gt(i[3][0].data)>>>0>0),r.push(s)}return r}function ct(e){var t=[];return e.forEach(function(r){var n=[];n[1]=[{data:_e(r.id),type:0}],n[2]=[],r.merge!=null&&(n[3]=[{data:_e(+!!r.merge),type:0}]);var a=[];r.messages.forEach(function(s){a.push(s.data),s.meta[3]=[{type:0,data:_e(s.data.length)}],n[2].push({data:Xe(s.meta),type:2})});var i=Xe(n);t.push(_e(i.length)),t.push(i),a.forEach(function(s){return t.push(s)})}),zr(t)}function tx(e,t){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=bt(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 l=0,o=0;if(i==1?(o=(t[r[0]]>>2&7)+4,l=(t[r[0]++]&224)<<3,l|=t[r[0]++]):(o=(t[r[0]++]>>2)+1,i==2?(l=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(l=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[zr(a)],l==0)throw new Error("Invalid offset 0");if(l>a[0].length)throw new Error("Invalid offset beyond length");if(o>=l)for(a.push(a[0].slice(-l)),o-=l;o>=a[a.length-1].length;)a.push(a[a.length-1]),o-=a[a.length-1].length;a.push(a[0].slice(-l,-l+o))}}var c=zr(a);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}function Er(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(tx(n,e.slice(r,r+a))),r+=a}if(r!==e.length)throw new Error("data is not a valid framed stream!");return zr(t)}function ht(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=_e(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 zr(t)}function Hn(e,t){var r=new Uint8Array(32),n=Tn(r),a=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,rx(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 Vn(e,t){var r=new Uint8Array(32),n=Tn(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 Wr(e){var t=be(e);return bt(t[1][0].data)}function nx(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)&>(e[8][0].data)>0||!1;if(f)throw"Math only works with normal offsets";for(var l=0,o=Tn(e[7][0].data),c=0,d=[],p=Tn(e[4][0].data),u=0,_=[],h=0;h<t.length;++h){if(t[h]==null){o.setUint16(h*2,65535,!0),p.setUint16(h*2,65535);continue}o.setUint16(h*2,c,!0),p.setUint16(h*2,u,!0);var m,k;switch(typeof t[h]){case"string":m=Hn({t:"s",v:t[h]},r),k=Vn({t:"s",v:t[h]},r);break;case"number":m=Hn({t:"n",v:t[h]},r),k=Vn({t:"n",v:t[h]},r);break;case"boolean":m=Hn({t:"b",v:t[h]},r),k=Vn({t:"b",v:t[h]},r);break;default:throw new Error("Unsupported value "+t[h])}d.push(m),c+=m.length,_.push(k),u+=k.length,++l}for(e[2][0].data=_e(l);h<e[7][0].data.length/2;++h)o.setUint16(h*2,65535,!0),p.setUint16(h*2,65535,!0);return e[6][0].data=zr(d),e[3][0].data=zr(_),l}function ax(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=ur(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(Me(n)));var i=En(r,{range:n,header:1}),s=["~Sh33tJ5~"];i.forEach(function(M){return M.forEach(function(C){typeof C=="string"&&s.push(C)})});var f={},l=[],o=Ae.read(t.numbers,{type:"base64"});o.FileIndex.map(function(M,C){return[M,o.FullPaths[C]]}).forEach(function(M){var C=M[0],F=M[1];if(C.type==2&&C.name.match(/\.iwa/)){var X=C.content,se=Er(X),fe=Tr(se);fe.forEach(function(ie){l.push(ie.id),f[ie.id]={deps:[],location:F,type:gt(ie.messages[0].meta[1][0].data)}})}}),l.sort(function(M,C){return M-C});var c=l.filter(function(M){return M>1}).map(function(M){return[M,_e(M)]});o.FileIndex.map(function(M,C){return[M,o.FullPaths[C]]}).forEach(function(M){var C=M[0];if(M[1],!!C.name.match(/\.iwa/)){var F=Tr(Er(C.content));F.forEach(function(X){X.messages.forEach(function(se){c.forEach(function(fe){X.messages.some(function(ie){return gt(ie.meta[1][0].data)!=11006&&ex(ie.data,fe[1])})&&f[fe[0]].deps.push(X.id)})})})}});for(var d=Ae.find(o,f[1].location),p=Tr(Er(d.content)),u,_=0;_<p.length;++_){var h=p[_];h.id==1&&(u=h)}var m=Wr(be(u.messages[0].data)[1][0].data);for(d=Ae.find(o,f[m].location),p=Tr(Er(d.content)),_=0;_<p.length;++_)h=p[_],h.id==m&&(u=h);for(m=Wr(be(u.messages[0].data)[2][0].data),d=Ae.find(o,f[m].location),p=Tr(Er(d.content)),_=0;_<p.length;++_)h=p[_],h.id==m&&(u=h);for(m=Wr(be(u.messages[0].data)[2][0].data),d=Ae.find(o,f[m].location),p=Tr(Er(d.content)),_=0;_<p.length;++_)h=p[_],h.id==m&&(u=h);var k=be(u.messages[0].data);{k[6][0].data=_e(n.e.r+1),k[7][0].data=_e(n.e.c+1);var R=Wr(k[46][0].data),O=Ae.find(o,f[R].location),U=Tr(Er(O.content));{for(var j=0;j<U.length&&U[j].id!=R;++j);if(U[j].id!=R)throw"Bad ColumnRowUIDMapArchive";var ee=be(U[j].messages[0].data);ee[1]=[],ee[2]=[],ee[3]=[];for(var I=0;I<=n.e.c;++I){var V=[];V[1]=V[2]=[{type:0,data:_e(I+420690)}],ee[1].push({type:2,data:Xe(V)}),ee[2].push({type:0,data:_e(I)}),ee[3].push({type:0,data:_e(I)})}ee[4]=[],ee[5]=[],ee[6]=[];for(var y=0;y<=n.e.r;++y)V=[],V[1]=V[2]=[{type:0,data:_e(y+726270)}],ee[4].push({type:2,data:Xe(V)}),ee[5].push({type:0,data:_e(y)}),ee[6].push({type:0,data:_e(y)});U[j].messages[0].data=Xe(ee)}O.content=ht(ct(U)),O.size=O.content.length,delete k[46];var S=be(k[4][0].data);{S[7][0].data=_e(n.e.r+1);var D=be(S[1][0].data),H=Wr(D[2][0].data);O=Ae.find(o,f[H].location),U=Tr(Er(O.content));{if(U[0].id!=H)throw"Bad HeaderStorageBucket";var q=be(U[0].messages[0].data);for(y=0;y<i.length;++y){var le=be(q[2][0].data);le[1][0].data=_e(y),le[4][0].data=_e(i[y].length),q[2][y]={type:q[2][0].type,data:Xe(le)}}U[0].messages[0].data=Xe(q)}O.content=ht(ct(U)),O.size=O.content.length;var oe=Wr(S[2][0].data);O=Ae.find(o,f[oe].location),U=Tr(Er(O.content));{if(U[0].id!=oe)throw"Bad HeaderStorageBucket";for(q=be(U[0].messages[0].data),I=0;I<=n.e.c;++I)le=be(q[2][0].data),le[1][0].data=_e(I),le[4][0].data=_e(n.e.r+1),q[2][I]={type:q[2][0].type,data:Xe(le)};U[0].messages[0].data=Xe(q)}O.content=ht(ct(U)),O.size=O.content.length;var Le=Wr(S[4][0].data);(function(){for(var M=Ae.find(o,f[Le].location),C=Tr(Er(M.content)),F,X=0;X<C.length;++X){var se=C[X];se.id==Le&&(F=se)}var fe=be(F.messages[0].data);{fe[3]=[];var ie=[];s.forEach(function(pe,Qe){ie[1]=[{type:0,data:_e(Qe)}],ie[2]=[{type:0,data:_e(1)}],ie[3]=[{type:2,data:Qu(pe)}],fe[3].push({type:2,data:Xe(ie)})})}F.messages[0].data=Xe(fe);var re=ct(C),Fe=ht(re);M.content=Fe,M.size=M.content.length})();var Pe=be(S[3][0].data);{var mr=Pe[1][0];delete Pe[2];var We=be(mr.data);{var xr=Wr(We[2][0].data);(function(){for(var M=Ae.find(o,f[xr].location),C=Tr(Er(M.content)),F,X=0;X<C.length;++X){var se=C[X];se.id==xr&&(F=se)}var fe=be(F.messages[0].data);{delete fe[6],delete Pe[7];var ie=new Uint8Array(fe[5][0].data);fe[5]=[];for(var re=0,Fe=0;Fe<=n.e.r;++Fe){var pe=be(ie);re+=nx(pe,i[Fe],s),pe[1][0].data=_e(Fe),fe[5].push({data:Xe(pe),type:2})}fe[1]=[{type:0,data:_e(n.e.c+1)}],fe[2]=[{type:0,data:_e(n.e.r+1)}],fe[3]=[{type:0,data:_e(re)}],fe[4]=[{type:0,data:_e(n.e.r+1)}]}F.messages[0].data=Xe(fe);var Qe=ct(C),me=ht(Qe);M.content=me,M.size=M.content.length})()}mr.data=Xe(We)}S[3][0].data=Xe(Pe)}k[4][0].data=Xe(S)}u.messages[0].data=Xe(k);var sr=ct(p),A=ht(sr);return d.content=A,d.size=d.content.length,o}function ix(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 v0(e){ix([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function sx(e,t){return t.bookType=="ods"?rs(e,t):t.bookType=="numbers"?ax(e,t):t.bookType=="xlsb"?fx(e,t):lx(e,t)}function fx(e,t){xt=1024,e&&!e.SSF&&(e.SSF=ir(Ne)),e&&e.SSF&&(An(),Sn(e.SSF),t.revssf=Fn(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,Nt?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r=t.bookType=="xlsb"?"bin":"xml",n=Mi.indexOf(t.bookType)>-1,a=ui();v0(t=t||{});var i=e0(),s="",f=0;if(t.cellXfs=[],Kr(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",he(i,s,vi(e.Props,t)),a.coreprops.push(s),Te(t.rels,2,s,ve.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 l=[],o=0;o<e.SheetNames.length;++o)(e.Workbook.Sheets[o]||{}).Hidden!=2&&l.push(e.SheetNames[o]);e.Props.SheetNames=l}for(e.Props.Worksheets=e.Props.SheetNames.length,he(i,s,mi(e.Props)),a.extprops.push(s),Te(t.rels,3,s,ve.EXT_PROPS),e.Custprops!==e.Props&&je(e.Custprops||{}).length>0&&(s="docProps/custom.xml",he(i,s,_i(e.Custprops)),a.custprops.push(s),Te(t.rels,4,s,ve.CUST_PROPS)),f=1;f<=e.SheetNames.length;++f){var c={"!id":{}},d=e.Sheets[e.SheetNames[f-1]],p=(d||{})["!type"]||"sheet";switch(p){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,he(i,s,cu(f-1,s,t,e,c)),a.sheets.push(s),Te(t.wbrels,-1,"worksheets/sheet"+f+"."+r,ve.WS[0])}if(d){var u=d["!comments"],_=!1,h="";u&&u.length>0&&(h="xl/comments"+f+"."+r,he(i,h,xu(u,h)),a.comments.push(h),Te(c,-1,"../comments"+f+"."+r,ve.CMNT),_=!0),d["!legacy"]&&_&&he(i,"xl/drawings/vmlDrawing"+f+".vml",Li(f,d["!comments"])),delete d["!comments"],delete d["!legacy"]}c["!id"].rId1&&he(i,pi(s),dt(c))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,he(i,s,uu(t.Strings,s,t)),a.strs.push(s),Te(t.wbrels,-1,"sharedStrings."+r,ve.SST)),s="xl/workbook."+r,he(i,s,ou(e,s)),a.workbooks.push(s),Te(t.rels,1,s,ve.WB),s="xl/theme/theme1.xml",he(i,s,Ni(e.Themes,t)),a.themes.push(s),Te(t.wbrels,-1,"theme/theme1.xml",ve.THEME),s="xl/styles."+r,he(i,s,hu(e,s,t)),a.styles.push(s),Te(t.wbrels,-1,"styles."+r,ve.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",he(i,s,e.vbaraw),a.vba.push(s),Te(t.wbrels,-1,"vbaProject.bin",ve.VBA)),s="xl/metadata."+r,he(i,s,pu(s)),a.metadata.push(s),Te(t.wbrels,-1,"metadata."+r,ve.XLMETA),he(i,"[Content_Types].xml",xi(a,t)),he(i,"_rels/.rels",dt(t.rels)),he(i,"xl/_rels/workbook."+r+".rels",dt(t.wbrels)),delete t.revssf,delete t.ssf,i}function lx(e,t){xt=1024,e&&!e.SSF&&(e.SSF=ir(Ne)),e&&e.SSF&&(An(),Sn(e.SSF),t.revssf=Fn(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,Nt?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=Mi.indexOf(t.bookType)>-1,a=ui();v0(t=t||{});var i=e0(),s="",f=0;if(t.cellXfs=[],Kr(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",he(i,s,vi(e.Props,t)),a.coreprops.push(s),Te(t.rels,2,s,ve.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 l=[],o=0;o<e.SheetNames.length;++o)(e.Workbook.Sheets[o]||{}).Hidden!=2&&l.push(e.SheetNames[o]);e.Props.SheetNames=l}e.Props.Worksheets=e.Props.SheetNames.length,he(i,s,mi(e.Props)),a.extprops.push(s),Te(t.rels,3,s,ve.EXT_PROPS),e.Custprops!==e.Props&&je(e.Custprops||{}).length>0&&(s="docProps/custom.xml",he(i,s,_i(e.Custprops)),a.custprops.push(s),Te(t.rels,4,s,ve.CUST_PROPS));var c=["SheetJ5"];for(t.tcid=0,f=1;f<=e.SheetNames.length;++f){var d={"!id":{}},p=e.Sheets[e.SheetNames[f-1]],u=(p||{})["!type"]||"sheet";switch(u){case"chart":default:s="xl/worksheets/sheet"+f+"."+r,he(i,s,zi(f-1,t,e,d)),a.sheets.push(s),Te(t.wbrels,-1,"worksheets/sheet"+f+"."+r,ve.WS[0])}if(p){var _=p["!comments"],h=!1,m="";if(_&&_.length>0){var k=!1;_.forEach(function(R){R[1].forEach(function(O){O.T==!0&&(k=!0)})}),k&&(m="xl/threadedComments/threadedComment"+f+"."+r,he(i,m,bo(_,c,t)),a.threadedcomments.push(m),Te(d,-1,"../threadedComments/threadedComment"+f+"."+r,ve.TCMNT)),m="xl/comments"+f+"."+r,he(i,m,Bi(_)),a.comments.push(m),Te(d,-1,"../comments"+f+"."+r,ve.CMNT),h=!0}p["!legacy"]&&h&&he(i,"xl/drawings/vmlDrawing"+f+".vml",Li(f,p["!comments"])),delete p["!comments"],delete p["!legacy"]}d["!id"].rId1&&he(i,pi(s),dt(d))}return t.Strings!=null&&t.Strings.length>0&&(s="xl/sharedStrings."+r,he(i,s,Ci(t.Strings,t)),a.strs.push(s),Te(t.wbrels,-1,"sharedStrings."+r,ve.SST)),s="xl/workbook."+r,he(i,s,ji(e)),a.workbooks.push(s),Te(t.rels,1,s,ve.WB),s="xl/theme/theme1.xml",he(i,s,Ni(e.Themes,t)),a.themes.push(s),Te(t.wbrels,-1,"theme/theme1.xml",ve.THEME),s="xl/styles."+r,he(i,s,Ii(e,t)),a.styles.push(s),Te(t.wbrels,-1,"styles."+r,ve.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",he(i,s,e.vbaraw),a.vba.push(s),Te(t.wbrels,-1,"vbaProject.bin",ve.VBA)),s="xl/metadata."+r,he(i,s,Pi()),a.metadata.push(s),Te(t.wbrels,-1,"metadata."+r,ve.XLMETA),c.length>1&&(s="xl/persons/person.xml",he(i,s,Wo(c)),a.people.push(s),Te(t.wbrels,-1,"persons/person.xml",ve.PEOPLE)),he(i,"[Content_Types].xml",xi(a,t)),he(i,"_rels/.rels",dt(t.rels)),he(i,"xl/_rels/workbook."+r+".rels",dt(t.wbrels)),delete t.revssf,delete t.ssf,i}function ox(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=Mr(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 ts(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return Vt(t.file,Ae.write(e,{type:ge?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Ae.write(e,t)}function cx(e,t){var r=ir(t||{}),n=sx(e,r);return hx(n,r)}function hx(e,t){var r={},n=ge?"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?Ae.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(wn(a))}return t.password&&typeof encrypt_agile<"u"?ts(encrypt_agile(a,t.password),t):t.type==="file"?Vt(t.file,a):t.type=="string"?kt(a):a}function ux(e,t){var r=t||{},n=Ou(e,r);return ts(n,r)}function Or(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return Lt(Mt(n));case"binary":return Mt(n);case"string":return e;case"file":return Vt(t.file,n,"utf8");case"buffer":return ge?br(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):Or(n,{type:"binary"}).split("").map(function(a){return a.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function xx(e,t){switch(t.type){case"base64":return Lt(e);case"binary":return e;case"string":return e;case"file":return Vt(t.file,e,"binary");case"buffer":return ge?br(e,"binary"):e.split("").map(function(r){return r.charCodeAt(0)})}throw new Error("Unrecognized type "+t.type)}function nn(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"?Lt(r):t.type=="string"?kt(r):r;case"file":return Vt(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function ns(e,t){bs(),qh(e);var r=ir(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),r.type=="array"){r.type="binary";var n=ns(e,r);return r.type="array",wn(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 Or(yu(e,r),r);case"slk":case"sylk":return Or(Yl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"htm":case"html":return Or(qi(e.Sheets[e.SheetNames[a]],r),r);case"txt":return xx(as(e.Sheets[e.SheetNames[a]],r),r);case"csv":return Or(g0(e.Sheets[e.SheetNames[a]],r),r,"\uFEFF");case"dif":return Or(jl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"dbf":return nn(Kl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"prn":return Or(Jl.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"rtf":return Or(no.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"eth":return Or(yi.from_sheet(e.Sheets[e.SheetNames[a]],r),r);case"fods":return Or(rs(e,r),r);case"wk1":return nn(ha.sheet_to_wk1(e.Sheets[e.SheetNames[a]],r),r);case"wk3":return nn(ha.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),nn(Zi(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),ux(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return cx(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function px(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 dx(e,t,r){var n=r||{};return n.type="file",n.file=t,px(n),ns(e,n)}function vx(e,t,r,n,a,i,s,f){var l=Ye(r),o=f.defval,c=f.raw||!Object.prototype.hasOwnProperty.call(f,"raw"),d=!0,p=a===1?[]:{};if(a!==1)if(Object.defineProperty)try{Object.defineProperty(p,"__rowNum__",{value:r,enumerable:!1})}catch{p.__rowNum__=r}else p.__rowNum__=r;if(!s||e[r])for(var u=t.s.c;u<=t.e.c;++u){var _=s?e[r][u]:e[n[u]+l];if(_===void 0||_.t===void 0){if(o===void 0)continue;i[u]!=null&&(p[i[u]]=o);continue}var h=_.v;switch(_.t){case"z":if(h==null)break;continue;case"e":h=h==0?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+_.t)}if(i[u]!=null){if(h==null)if(_.t=="e"&&h===null)p[i[u]]=null;else if(o!==void 0)p[i[u]]=o;else if(c&&h===null)p[i[u]]=null;else continue;else p[i[u]]=c&&(_.t!=="n"||_.t==="n"&&f.rawNumbers!==!1)?h:Ur(_,h,f);h!=null&&(d=!1)}}return{row:p,isempty:d}}function En(e,t){if(e==null||e["!ref"]==null)return[];var r={t:"n",v:0},n=0,a=1,i=[],s=0,f="",l={s:{r:0,c:0},e:{r:0,c:0}},o=t||{},c=o.range!=null?o.range:e["!ref"];switch(o.header===1?n=1:o.header==="A"?n=2:Array.isArray(o.header)?n=3:o.header==null&&(n=0),typeof c){case"string":l=ye(c);break;case"number":l=ye(e["!ref"]),l.s.r=c;break;default:l=c}n>0&&(a=0);var d=Ye(l.s.r),p=[],u=[],_=0,h=0,m=Array.isArray(e),k=l.s.r,R=0,O={};m&&!e[k]&&(e[k]=[]);var U=o.skipHidden&&e["!cols"]||[],j=o.skipHidden&&e["!rows"]||[];for(R=l.s.c;R<=l.e.c;++R)if(!(U[R]||{}).hidden)switch(p[R]=Ze(R),r=m?e[k][R]:e[p[R]+d],n){case 1:i[R]=R-l.s.c;break;case 2:i[R]=p[R];break;case 3:i[R]=o.header[R-l.s.c];break;default:if(r==null&&(r={w:"__EMPTY",t:"s"}),f=s=Ur(r,null,o),h=O[s]||0,!h)O[s]=1;else{do f=s+"_"+h++;while(O[f]);O[s]=h,O[f]=1}i[R]=f}for(k=l.s.r+a;k<=l.e.r;++k)if(!(j[k]||{}).hidden){var ee=vx(e,l,k,p,n,i,m,o);(ee.isempty===!1||(n===1?o.blankrows!==!1:o.blankrows))&&(u[_++]=ee.row)}return u.length=_,u}var _a=/"/g;function gx(e,t,r,n,a,i,s,f){for(var l=!0,o=[],c="",d=Ye(r),p=t.s.c;p<=t.e.c;++p)if(n[p]){var u=f.dense?(e[r]||[])[p]:e[n[p]+d];if(u==null)c="";else if(u.v!=null){l=!1,c=""+(f.rawNumbers&&u.t=="n"?u.v:Ur(u,null,f));for(var _=0,h=0;_!==c.length;++_)if((h=c.charCodeAt(_))===a||h===i||h===34||f.forceQuotes){c='"'+c.replace(_a,'""')+'"';break}c=="ID"&&(c='"ID"')}else u.f!=null&&!u.F?(l=!1,c="="+u.f,c.indexOf(",")>=0&&(c='"'+c.replace(_a,'""')+'"')):c="";o.push(c)}return f.blankrows===!1&&l?null:o.join(s)}function g0(e,t){var r=[],n=t??{};if(e==null||e["!ref"]==null)return"";var a=ye(e["!ref"]),i=n.FS!==void 0?n.FS:",",s=i.charCodeAt(0),f=n.RS!==void 0?n.RS:`
- `,l=f.charCodeAt(0),o=new RegExp((i=="|"?"\\|":i)+"+$"),c="",d=[];n.dense=Array.isArray(e);for(var p=n.skipHidden&&e["!cols"]||[],u=n.skipHidden&&e["!rows"]||[],_=a.s.c;_<=a.e.c;++_)(p[_]||{}).hidden||(d[_]=Ze(_));for(var h=0,m=a.s.r;m<=a.e.r;++m)(u[m]||{}).hidden||(c=gx(e,a,m,d,s,l,i,n),c!=null&&(n.strip&&(c=c.replace(o,"")),(c||n.blankrows!==!1)&&r.push((h++?f:"")+c)));return delete n.dense,r.join("")}function as(e,t){t||(t={}),t.FS=" ",t.RS=`
- `;var r=g0(e,t);return r}function mx(e){var t="",r,n="";if(e==null||e["!ref"]==null)return[];var a=ye(e["!ref"]),i="",s=[],f,l=[],o=Array.isArray(e);for(f=a.s.c;f<=a.e.c;++f)s[f]=Ze(f);for(var c=a.s.r;c<=a.e.r;++c)for(i=Ye(c),f=a.s.c;f<=a.e.c;++f)if(t=s[f]+i,r=o?(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}}l[l.length]=t+"="+n}return l}function is(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 l=typeof n.origin=="string"?Ve(n.origin):n.origin;s=l.r,f=l.c}var o,c={s:{c:0,r:0},e:{c:f,r:s+t.length-1+a}};if(i["!ref"]){var d=ye(i["!ref"]);c.e.c=Math.max(c.e.c,d.e.c),c.e.r=Math.max(c.e.r,d.e.r),s==-1&&(s=d.e.r+1,c.e.r=s+t.length-1+a)}else s==-1&&(s=0,c.e.r=t.length-1+a);var p=n.header||[],u=0;t.forEach(function(h,m){je(h).forEach(function(k){(u=p.indexOf(k))==-1&&(p[u=p.length]=k);var R=h[k],O="z",U="",j=we({c:f+u,r:s+m+a});o=Wt(i,j),R&&typeof R=="object"&&!(R instanceof Date)?i[j]=R:(typeof R=="number"?O="n":typeof R=="boolean"?O="b":typeof R=="string"?O="s":R instanceof Date?(O="d",n.cellDates||(O="n",R=ar(R)),U=n.dateNF||Ne[14]):R===null&&n.nullError&&(O="e",R=0),o?(o.t=O,o.v=R,delete o.w,delete o.R,U&&(o.z=U)):i[j]=o={t:O,v:R},U&&(o.z=U))})}),c.e.c=Math.max(c.e.c,f+p.length-1);var _=Ye(s);if(a)for(u=0;u<p.length;++u)i[Ze(u+f)+_]={t:"s",v:p[u]};return i["!ref"]=Me(c),i}function _x(e,t){return is(null,e,t)}function Wt(e,t,r){if(typeof t=="string"){if(Array.isArray(e)){var n=Ve(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"?Wt(e,we(t)):Wt(e,we({r:t,c:r||0}))}function Tx(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 Ex(){return{SheetNames:[],Sheets:{}}}function wx(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(Yi(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 Sx(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=Tx(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 Ax(e,t){return e.z=t,e}function ss(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Fx(e,t,r){return ss(e,"#"+t,r)}function yx(e,t,r){e.c||(e.c=[]),e.c.push({t,a:r||"SheetJS"})}function Cx(e,t,r,n){for(var a=typeof t!="string"?t:ye(t),i=typeof t=="string"?t:Me(t),s=a.s.r;s<=a.e.r;++s)for(var f=a.s.c;f<=a.e.c;++f){var l=Wt(e,s,f);l.t="n",l.F=i,delete l.v,s==a.s.r&&f==a.s.c&&(l.f=r,n&&(l.D=!0))}return e}var Gn={encode_col:Ze,encode_row:Ye,encode_cell:we,encode_range:Me,decode_col:s0,decode_row:i0,split_cell:Wf,decode_cell:Ve,decode_range:ur,format_cell:Ur,sheet_add_aoa:si,sheet_add_json:is,sheet_add_dom:Qi,aoa_to_sheet:Tt,json_to_sheet:_x,table_to_sheet:es,table_to_book:Ju,sheet_to_csv:g0,sheet_to_txt:as,sheet_to_json:En,sheet_to_html:qi,sheet_to_formulae:mx,sheet_to_row_object_array:En,sheet_get_cell:Wt,book_new:Ex,book_append_sheet:wx,book_set_sheet_visibility:Sx,cell_set_number_format:Ax,cell_set_hyperlink:ss,cell_set_internal_link:Fx,cell_add_comment:yx,sheet_set_array_formula:Cx,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const Ox={class:"bg-[#f5f5f5] w-full",style:{height:"calc(100vh - 50px)",overflow:"auto"}},kx={class:"w-full flex bg-[#fff] fixed top-[43px] left-0 items-center",style:{"z-index":"1000","border-bottom":"1px solid #f5f5f5"}},Dx={key:0,class:"w-full h-[30px] bg-white fixed top-[98px] left-0 flex items-center justify-between",style:{"font-size":"14px","border-bottom":"1px solid #f5f5f5","z-index":"1000"}},Ix={class:"p-[15px] flex items-start"},Rx={class:"float-right items-start w-full"},Nx={class:"flex flex-col ml-[10px]",style:{"line-height":"22px"}},Px={class:"color-[#0f0f0f] flex items-start"},Lx={class:"font-[16px] font-700 py-[5px]"},Bx={class:"flex flex-col color-[#34495e] font-500",style:{"font-size":"13px"}},Mx={class:"flex"},Ux={class:"flex"},bx={class:"flex"},Wx={class:"flex"},Hx={class:"flex"},Vx={class:"flex"},Gx={class:"flex"},Xx={class:"flex"},$x={key:2,class:"flex"},zx={key:3,class:"flex"},Kx={key:4,class:"flex"},Yx={key:5},jx={class:"flex ml-[10px] float-right mt-[-25px]"},Jx={class:"flex"},Zx={key:0,class:"w-full flex justify-center my-[10px]"},qx={key:1,class:"flex flex-col ml-[10px] p-[10px]",style:{"line-height":"22px"}},Qx={class:"color-[#0f0f0f] flex items-start"},e2={class:"font-[16px] font-700 py-[5px]"},r2={class:"flex flex-col color-[#34495e] font-500",style:{"font-size":"13px"}},t2={class:"flex"},n2={class:"flex"},a2={class:"flex"},i2={class:"w-[85px] text-right pr-[5px]"},s2={class:"flex"},f2={class:"w-[85px] text-right pr-[5px]"},l2={key:0,class:"flex"},o2={class:"w-[85px] text-right pr-[5px]"},c2={class:"flex"},h2={key:1,class:"text-center w-full my-[10px] color-red"},u2={key:2,class:"text-center w-full flex"},x2={key:0,class:"flex"},p2=Jn({__name:"seek-product",setup(e){const t=Ta.CancelToken,r=wr([]),n=wr([]),a=Ea({taxs:[],skuOrName:"",showPicker:!1,isIndeterminate:!1,isCheckAll:!1,finished:!1,loading:!1,approvalLoading:!1,isInit:!0,status:0,total:0,page:0}),i=wr(""),s=wr(!1),f=wr(!1),l=wr({}),o=wr([]),c=[{value:"0",label:"待审核",type:"warning"},{value:"1",label:"审核通过",type:"success"},{value:"2",label:"审核驳回",type:"danger"},{value:"",label:"全部"}];let d=null;async function p(y,S){(a.isInit||S)&&an({message:"加载中...",forbidClick:!0}),y||(a.page+=1),S&&(o.value=[],a.page=1),a.loading=!0,d=t.source();const{code:D,data:H}=await Ss({tax_status:y?"":a.status,page:y?1:a.page,skuOrName:a.skuOrName,bidNo:y||"",platform_id:76,is_combind:0},d.token);if(a.loading=!1,D==0){if(y){const q=o.value.findIndex(le=>le.bidNo===y);String(a.status)===""?o.value[q]=H.list[0]:o.value.splice(q,1)}else o.value=[...o.value,...H.list],a.finished=H.list.length<10;ee(),a.total=H.count}(a.isInit||S)&&(ya(),a.isInit=!1)}function u(){d&&d.cancel(),a.skuOrName="",a.isCheckAll=!1,a.isIndeterminate=!1,r.value=[],n.value=[],a.page=0,a.finished=!1,a.loading=!1,o.value=[],p()}async function _(){if(i.value.trim().length===0){s.value=!0,jt("请输入驳回原因!");return}an({message:"审核中...",forbidClick:!0});const{code:y}=await O0({status:"2",out_tax:"",out_tax_id:"",goodCombind:[],remark:i.value,bidNo:l.value.bidNo});y==0&&(R0("审核成功"),s.value=!1,f.value=!1,p(l.value.bidNo))}async function h(y={}){try{a.approvalLoading=!0,l.value.isOk=!0,l.value.isLegalerOk=!0,f.value=!0,l.value=y;const{in_info:S}=y;if(S.merge_code){const D=await As({companyNo:y.companyNo,output_status:"1",cat_code:S.merge_code});if(D.code==0)if(D.data.list.length===0){a.approvalLoading=!1,l.value.isOk=!1;return}else{const{merge_code:H}=D.data.list[0];if(H!==S.merge_code){a.approvalLoading=!1,l.value.isOk=!1;return}else{l.value.isOk=!0;const q=await Fs({companyNo:y.companyNo}),le=await ys({code:y.supplierNo});if((q.data||{}).legaler_type!=(le.data||{}).legaler_type){const oe=D.data.list[0];a.taxs=oe.tax.map(Le=>({text:Le,value:Le})),a.taxs.length>1||a.taxs.length===0?(l.value.isLegalerOk=!1,l.value.isOk=!0,l.value.tax=""):a.taxs.length===1&&(l.value.isLegalerOk=!1,l.value.isOk=!0,l.value.tax=String(a.taxs[0]).replace("%",""))}else l.value.isLegalerOk=!0}}else{a.approvalLoading=!1,l.value.isOk=!1;return}}else{a.approvalLoading=!1,l.value.isOk=!1;return}a.approvalLoading=!1}catch{a.approvalLoading=!1}}function m(){s.value=!0,i.value=""}function k(){l.value.isOk=!0,l.value.isLegalerOk=!0}function R(){if(!l.value.tax){jt("请选择销项税目!");return}Cs({title:"提示",message:"是否确认通过?"}).then(async()=>{an({message:"审核中...",forbidClick:!0});const y={status:"1",out_tax:l.value.tax,out_tax_id:l.value.in_info.id,remark:"",bidNo:l.value.bidNo,goodCombind:[]};y.out_tax.indexOf("%")===-1&&(y.out_tax+="%");const{code:S}=await O0(y);S==0&&(console.log("joined"),R0("审核成功"),f.value=!1,s.value=!1,p(l.value.bidNo))})}function O({selectedOptions:y}){l.value.tax=y[0].value,a.showPicker=!1}function U(y){const S=n.value.findIndex(({id:D})=>y.id===D);S===-1?(n.value.push(y),r.value.push(y.id)):(n.value.splice(S,1),r.value.splice(S,1)),ee()}function j(){if(n.value.length===0){jt("至少选择一条数据!");return}if(!n.value.every(le=>le.tax_status=="0"||le.tax_status=="2")){jt("只能导出状态为待审核或审核驳回的数据");return}let S=[];n.value[0].tax_status=="0"?S=n.value.map(le=>({SKU编号:le.spuCode,商品名称:le.good_name,类目编码:le.in_info.merge_code,类目名称:le.in_info.cat_name,进项税率:le.tax+"%",工艺材质:le.cost_desc})):S=n.value.map(le=>({SKU编号:le.spuCode,商品名称:le.good_name,类目编码:le.in_info.merge_code,类目名称:le.in_info.cat_name,进项税率:le.tax+"%",工艺材质:le.cost_desc,财务审核人:le.tax_exam_uname,财务审核时间:le.tax_exam_time,财务驳回原因:le.tax_exam_remark}));const H=Gn.book_new(),q=Gn.json_to_sheet(S);Gn.book_append_sheet(H,q,"sheet"),dx(H,"咨询商品类目信息.xlsx",{bookType:"xlsx"})}function ee(){if(n.value.length===o.value.length&&o.value.length!==0){a.isIndeterminate=!1,a.isCheckAll=!0;return}if(n.value.length===0){a.isIndeterminate=!1,a.isCheckAll=!1;return}if(n.value.length!==0){a.isIndeterminate=!0,a.isCheckAll=!1;return}}function I(){n.value.length!==o.value.length?(n.value=o.value.map(y=>({...y})),r.value=o.value.map(y=>y.id)):(n.value=[],r.value=[]),ee()}const V=y=>y.tax_status=="0";return(y,S)=>(Se(),Ce("div",Ox,[de(ue(Sa),{style:{"z-index":"1000"},class:"w-full fixed top-0 left-0",active:a.status,"onUpdate:active":S[0]||(S[0]=D=>a.status=D),onChange:u},{default:De(()=>[(Se(),Ce(Hr,null,sn(c,D=>de(ue(wa),{title:D.label,key:D.value,name:D.value},null,8,["title","name"])),64))]),_:1},8,["active"]),K("div",kx,[de(ue(Aa),{class:"flex-1",modelValue:a.skuOrName,"onUpdate:modelValue":S[1]||(S[1]=D=>a.skuOrName=D),placeholder:"SKU编号/商品名称",onClear:S[2]||(S[2]=D=>p("",!0))},null,8,["modelValue"]),de(ue(Nr),{class:"mr-[15px] ml-[-10px]",type:"warning",size:"small",onClick:S[3]||(S[3]=D=>p("",!0))},{default:De(()=>S[15]||(S[15]=[fr("搜索")])),_:1})]),(a.status==0||a.status==2)&&a.status!=""?(Se(),Ce("div",Dx,[de(ue(k0),{class:"ml-[15px]",shape:"square",size:"small",style:{"font-size":"12px"},modelValue:a.isCheckAll,indeterminate:a.isIndeterminate,onClick:I,disabled:o.value.length===0},{default:De(()=>S[16]||(S[16]=[fr(" 全选 ")])),_:1},8,["modelValue","indeterminate","disabled"]),K("div",null,"选中 "+xe(n.value.length)+" 条 , 显示 "+xe(o.value.length)+" / "+xe(a.total)+" 条",1),de(ue(Nr),{class:"mr-[15px] h-[22px]",size:"small",disabled:o.value.length===0,onClick:j,type:"primary"},{default:De(()=>S[17]||(S[17]=[fr("导出")])),_:1},8,["disabled"])])):_r("",!0),de(ue(Fa),{class:Ds(`w-full ${(a.status==0||a.status==2)&&a.status!=""?"mt-[120px]":"mt-[90px]"}`),loading:a.loading,"onUpdate:loading":S[4]||(S[4]=D=>a.loading=D),finished:a.finished,"finished-text":"没有更多了",onLoad:p},{default:De(()=>[(Se(!0),Ce(Hr,null,sn(o.value,D=>{var H;return Se(),Ce("div",{show:!0,class:"bg-[#fff] my-[3px] border-[#f5f5f5]",key:D.id},[K("div",Ix,[a.status==0||a.status==2?(Se(),fn(ue(k0),{key:0,shape:"square",class:"w-[24px] mt-[5px] mr-[5px]",modelValue:r.value.includes(D.id),onClick:()=>U(D)},null,8,["modelValue","onClick"])):_r("",!0),K("div",Rx,[K("div",Nx,[K("div",Px,[de(ue(Xn),{style:{height:"28px",width:"28px","min-height":"28px","min-width":"28px","margin-right":"10px","border-radius":"2px",border:"1px solid #dcdfe6",overflow:"hidden"},onClick:q=>ue($n)({images:[D.good_img],closeable:!0}),src:D.good_img},null,8,["onClick","src"]),K("p",Lx,xe(D.good_name),1)]),K("div",Bx,[K("div",Mx,[S[18]||(S[18]=K("p",{class:"w-[65px] text-right pr-[5px]"},"审核状态:",-1)),K("p",null,xe(((H=c.find(({value:q})=>D.tax_status==q))==null?void 0:H.label)||"--"),1)]),K("div",Ux,[S[19]||(S[19]=K("p",{class:"w-[65px] text-right pr-[5px]"},"SKU编号:",-1)),K("p",null,xe(D.spuCode),1)]),D.tax_status!=1?(Se(),Ce(Hr,{key:0},[K("div",bx,[S[20]||(S[20]=K("p",{class:"w-[65px] text-right pr-[5px]"},"类目编码:",-1)),K("p",null,xe(D.in_info.merge_code),1)]),K("div",Wx,[S[21]||(S[21]=K("p",{class:"w-[65px] text-right pr-[5px]"},"类目名称:",-1)),K("p",null,xe(D.in_info.cat_name),1)])],64)):(Se(),Ce(Hr,{key:1},[K("div",Hx,[S[22]||(S[22]=K("p",{class:"w-[65px] text-right pr-[5px]"},"类目编码:",-1)),K("p",null,xe(D.out_info.merge_code),1)]),K("div",Vx,[S[23]||(S[23]=K("p",{class:"w-[65px] text-right pr-[5px]"},"类目名称:",-1)),K("p",null,xe(D.out_info.cat_name),1)]),K("div",Gx,[S[24]||(S[24]=K("p",{class:"w-[65px] text-right pr-[5px]"},"销项税率:",-1)),K("p",null,xe(String(D.out_tax).includes("%")?D.out_tax:D.out_tax+"%"),1)])],64)),K("div",Xx,[S[25]||(S[25]=K("p",{class:"w-[65px] text-right pr-[5px]"},"工艺材质:",-1)),K("p",null,xe(D.cost_desc),1)]),D.tax_exam_time?(Se(),Ce("div",$x,[S[26]||(S[26]=K("p",{class:"w-[65px] text-right pr-[5px]"},"审核时间:",-1)),K("p",null,xe(D.tax_exam_time),1)])):_r("",!0),D.tax_status=="2"?(Se(),Ce("div",zx,[S[27]||(S[27]=K("p",{class:"w-[65px] text-right pr-[5px]"},"驳回人员:",-1)),K("p",null,xe(D.tax_exam_uname),1)])):_r("",!0),D.tax_status=="2"?(Se(),Ce("div",Kx,[S[28]||(S[28]=K("p",{class:"w-[65px] text-right pr-[5px]"},"驳回原因:",-1)),K("p",null,xe(D.tax_exam_remark),1)])):_r("",!0),V(D)?(Se(),Ce("div",Yx,[S[31]||(S[31]=K("p",{class:"w-[65px] text-right pr-[5px]",style:{"white-space":"nowrap","line-height":"25px"}},"审核结果: ",-1)),K("div",jx,[de(ue(Nr),{round:"",class:"mr-[10px] px-[15px] h-[25px]",type:"warning",plain:"",onClick:q=>{s.value=!0,l.value=D},size:"small"},{default:De(()=>S[29]||(S[29]=[fr("审核不通过")])),_:2},1032,["onClick"]),de(ue(Nr),{class:"px-[15px] h-[25px]",round:"",type:"warning",size:"small",onClick:q=>h(D)},{default:De(()=>S[30]||(S[30]=[fr("提交审核结果")])),_:2},1032,["onClick"])])])):_r("",!0)])])])])])}),128)),de(ue(ks))]),_:1},8,["class","loading","finished"]),de(ue(I0),{show:s.value,"onUpdate:show":S[7]||(S[7]=D=>s.value=D),title:"驳回原因",onClose:S[8]||(S[8]=D=>i.value="")},{footer:De(()=>[K("div",Jx,[de(ue(Nr),{class:"flex-1",onClick:S[6]||(S[6]=D=>{s.value=!1,i.value=""}),style:{"border-radius":"0px"}},{default:De(()=>S[32]||(S[32]=[fr("取消")])),_:1}),de(ue(Nr),{class:"flex-1",type:"warning",onClick:_,style:{"border-radius":"0px"}},{default:De(()=>S[33]||(S[33]=[fr("提交")])),_:1})])]),default:De(()=>[de(ue(D0),{modelValue:i.value,"onUpdate:modelValue":S[5]||(S[5]=D=>i.value=D),placeholder:"驳回原因",type:"textarea",rows:"3"},null,8,["modelValue"])]),_:1},8,["show"]),de(ue(I0),{show:f.value,"onUpdate:show":S[12]||(S[12]=D=>f.value=D),title:"提交审核结果",closeOnClickOverlay:!0,onClose:k},{footer:De(()=>[a.approvalLoading?_r("",!0):(Se(),Ce("div",x2,[de(ue(Nr),{class:"flex-1",onClick:m,style:{"border-radius":"0px"}},{default:De(()=>S[39]||(S[39]=[fr("驳回")])),_:1}),l.value.isOk?(Se(),fn(ue(Nr),{key:0,style:{"border-radius":"0px"},onClick:R,class:"flex-1",type:"warning"},{default:De(()=>S[40]||(S[40]=[fr("通过")])),_:1})):_r("",!0)]))]),default:De(()=>{var D;return[a.approvalLoading?(Se(),Ce("div",Zx,[de(ue(Is),{size:"24px",color:"#ed6a0c",vertical:""},{default:De(()=>S[34]||(S[34]=[fr("加载中...")])),_:1})])):(Se(),Ce("div",qx,[K("div",Qx,[de(ue(Xn),{style:{height:"28px",width:"28px","min-height":"28px","min-width":"28px","margin-right":"10px","border-radius":"2px",border:"1px solid #dcdfe6",overflow:"hidden"},onClick:S[9]||(S[9]=H=>ue($n)([l.value.good_img])),src:l.value.good_img},null,8,["src"]),K("p",e2,xe(l.value.good_name),1)]),K("div",r2,[K("div",t2,[S[35]||(S[35]=K("p",{class:"w-[85px] text-right pr-[5px]"},"审核状态:",-1)),K("p",null,xe(((D=c.find(({value:H})=>l.value.tax_status==H))==null?void 0:D.label)||"--"),1)]),K("div",n2,[S[36]||(S[36]=K("p",{class:"w-[85px] text-right pr-[5px]"},"SKU编号:",-1)),K("p",null,xe(l.value.spuCode),1)]),K("div",a2,[K("p",i2,xe(l.value.isOk?"类目编码:":"预计类目编码:"),1),K("p",null,xe(l.value.in_info.merge_code),1)]),K("div",s2,[K("p",f2,xe(l.value.isOk?"类目名称:":"预计类目名称:"),1),K("p",null,xe(l.value.in_info.cat_name),1)]),l.value.isLegalerOk?(Se(),Ce("div",l2,[K("p",o2,xe(l.value.isOk?"进项税率:":"预计进项税率:"),1),K("p",null,xe(l.value.tax)+"%",1)])):_r("",!0),K("div",c2,[S[37]||(S[37]=K("p",{class:"w-[85px] text-right pr-[5px]"},"工艺材质:",-1)),K("p",null,xe(l.value.cost_desc),1)]),l.value.isOk?_r("",!0):(Se(),Ce("p",h2,"当前业务公司销项没有该类目,请驳回")),!l.value.isLegalerOk&&l.value.isOk?(Se(),Ce("p",u2,[S[38]||(S[38]=K("p",{class:"w-[125px] text-right pr-[5px]"},"销项税率:",-1)),de(ue(D0),{modelValue:l.value.tax,"onUpdate:modelValue":S[10]||(S[10]=H=>l.value.tax=H),"is-link":"",readonly:"",placeholder:"点击选择税率",style:{padding:"0"},onClick:S[11]||(S[11]=H=>a.showPicker=!0)},null,8,["modelValue"])])):_r("",!0)])]))]}),_:1},8,["show"]),de(ue(Ns),{show:a.showPicker,"onUpdate:show":S[14]||(S[14]=D=>a.showPicker=D),title:"选择销项税率",round:"",position:"bottom"},{default:De(()=>[de(ue(Rs),{columns:a.taxs,onCancel:S[13]||(S[13]=D=>a.showPicker=!1),onConfirm:O},null,8,["columns"])]),_:1},8,["show"])]))}}),d2={class:"bg-[#f5f5f5] w-full",style:{height:"calc(100vh - 50px)",overflow:"auto"}},v2={class:"w-full flex bg-[#fff] fixed top-[43px] left-0 items-center",style:{"z-index":"1000","border-bottom":"1px solid #f5f5f5"}},g2={class:"p-[15px] flex items-start"},m2={class:"float-right items-start w-full"},_2={class:"flex flex-col ml-[10px]",style:{"line-height":"22px"}},T2={class:"color-[#0f0f0f] flex items-start"},E2={class:"font-[16px] font-700 py-[5px]"},w2={class:"flex flex-col color-[#34495e] font-500",style:{"font-size":"13px"}},S2={class:"flex"},A2={class:"flex"},F2={class:"flex"},y2={class:"flex"},C2={class:"flex"},O2={class:"flex"},k2={class:"flex"},D2={class:"flex"},I2=Jn({__name:"cost-product",setup(e){const t=Ta.CancelToken,r=wr([]),n=wr([]),a=Ea({skuOrName:"",isIndeterminate:!1,isCheckAll:!1,finished:!1,loading:!1,isInit:!0,status:0,total:0,page:0}),i=wr([]),s=[{value:"9",label:"待审核",type:"primary"},{value:"10",label:"审核驳回",type:"danger"},{value:"1",label:"审核通过",type:"danger"},{value:"other",label:"其他",type:"warning"},{value:"",label:"全部"}],f={9:"9",10:"10",1:"1",other:["0","2","3","4","5","10","6","7","8"]},l=[{value:"0",label:"新建待审核",type:"primary"},{value:"9",label:"待审核",type:"primary"},{value:"1",label:"审核通过",type:"success"},{value:"2",label:"基础修改待审核",type:"primary"},{value:"3",label:"成本修改待审核",type:"primary"},{value:"4",label:"基础修改驳回",type:"danger"},{value:"5",label:"成本修改驳回",type:"danger"},{value:"10",label:"审核驳回",type:"danger"},{value:"6",label:"新建审核驳回",type:"danger"},{value:"7",label:"复制商品待编辑",type:"primary"},{value:"8",label:"竞价商品待编辑",type:"primary"}];let o=null;async function c(p,u){(a.isInit||u)&&an({message:"加载中...",forbidClick:!0}),p||(a.page+=1),u&&(i.value=[],a.page=1),a.loading=!0,o=t.source();const{code:_,data:h}=await Os({page:p?1:a.page,spucode:a.skuOrName,bidNo:p||"",status:f[a.status],companyNo:["GS2304031312553746","GS2302231323386950","GS2302231124114965","GS2401181650538135","GS2302231125079621"]},o.token);if(a.loading=!1,_==0){if(p){const m=i.value.findIndex(k=>k.bidNo===p);i.value[m]=h.list[0]}else i.value=[...i.value,...h.list],a.finished=h.list.length<10;a.total=h.count}(a.isInit||u)&&(ya(),a.isInit=!1)}function d(){o&&o.cancel(),a.skuOrName="",a.isCheckAll=!1,a.isIndeterminate=!1,r.value=[],n.value=[],a.page=0,a.finished=!1,a.loading=!1,i.value=[],c()}return(p,u)=>{const _=Ps("BackTop");return Se(),Ce("div",d2,[de(ue(Sa),{style:{"z-index":"1000"},class:"w-full fixed top-0 left-0",active:a.status,"onUpdate:active":u[0]||(u[0]=h=>a.status=h),onChange:d},{default:De(()=>[(Se(),Ce(Hr,null,sn(s,h=>de(ue(wa),{title:h.label,key:h.value,name:h.value},null,8,["title","name"])),64))]),_:1},8,["active"]),K("div",v2,[de(ue(Aa),{class:"flex-1",modelValue:a.skuOrName,"onUpdate:modelValue":u[1]||(u[1]=h=>a.skuOrName=h),placeholder:"SKU编号",onClear:u[2]||(u[2]=h=>c("",!0))},null,8,["modelValue"]),de(ue(Nr),{class:"mr-[15px] ml-[-10px]",type:"warning",size:"small",onClick:u[3]||(u[3]=h=>c("",!0))},{default:De(()=>u[5]||(u[5]=[fr("搜索")])),_:1})]),de(ue(Fa),{class:"mt-[95px] w-full",loading:a.loading,"onUpdate:loading":u[4]||(u[4]=h=>a.loading=h),finished:a.finished,"finished-text":"没有更多了",onLoad:c},{default:De(()=>[(Se(!0),Ce(Hr,null,sn(i.value,h=>{var m;return Se(),Ce("div",{show:!0,class:"bg-[#fff] my-[3px] border-[#f5f5f5]",key:h.id},[K("div",g2,[K("div",m2,[K("div",_2,[K("div",T2,[de(ue(Xn),{style:{height:"28px",width:"28px","min-height":"28px","min-width":"28px","margin-right":"10px","border-radius":"2px",border:"1px solid #dcdfe6",overflow:"hidden"},onClick:k=>ue($n)({images:[h.good_thumb_img],closeable:!0}),src:h.good_thumb_img},null,8,["onClick","src"]),K("p",E2,xe(h.good_name),1)]),K("div",w2,[K("div",S2,[u[6]||(u[6]=K("p",{class:"w-[65px] text-right pr-[5px]"},"审核状态:",-1)),K("p",null,xe(((m=l.find(({value:k})=>h.status==k))==null?void 0:m.label)||"--"),1)]),K("div",A2,[u[7]||(u[7]=K("p",{class:"w-[65px] text-right pr-[5px]"},"SKU编号:",-1)),K("p",null,xe(h.spuCode),1)]),h.status!="1"?(Se(),Ce(Hr,{key:0},[K("div",F2,[u[8]||(u[8]=K("p",{class:"w-[65px] text-right pr-[5px]"},"类目编码:",-1)),K("p",null,xe(h.in_tax_merge_code),1)]),K("div",y2,[u[9]||(u[9]=K("p",{class:"w-[65px] text-right pr-[5px]"},"类目名称:",-1)),K("p",null,xe(h.in_tax_name),1)])],64)):(Se(),Ce(Hr,{key:1},[K("div",C2,[u[10]||(u[10]=K("p",{class:"w-[65px] text-right pr-[5px]"},"类目编码:",-1)),K("p",null,xe(h.out_tax_merge_code),1)]),K("div",O2,[u[11]||(u[11]=K("p",{class:"w-[65px] text-right pr-[5px]"},"类目名称:",-1)),K("p",null,xe(h.out_tax_name),1)]),K("div",k2,[u[12]||(u[12]=K("p",{class:"w-[65px] text-right pr-[5px]"},"销项税率:",-1)),K("p",null,xe(String(h.out_tax).includes("%")?h.out_tax:h.out_tax+"%"),1)])],64)),K("div",D2,[u[13]||(u[13]=K("p",{class:"w-[65px] text-right pr-[5px]"},"工艺材质:",-1)),K("p",null,xe(h.cost_desc),1)])])])])])])}),128)),de(_)]),_:1},8,["loading","finished"])])}}}),R2={class:"flex"},B2=Jn({__name:"index",setup(e){const t=wr("seek"),r=Ls();return t.value=r.query.path||"seek",(n,a)=>(Se(),Ce("div",R2,[t.value==="seek"?(Se(),fn(p2,{key:0})):(Se(),fn(I2,{key:1})),de(ue(Bs),{modelValue:t.value,"onUpdate:modelValue":a[0]||(a[0]=i=>t.value=i)},{default:De(()=>[de(ue(N0),{name:"seek",style:{"font-size":"16px"}},{default:De(()=>a[1]||(a[1]=[fr("咨询商品")])),_:1}),de(ue(N0),{name:"cost",style:{"font-size":"16px"}},{default:De(()=>a[2]||(a[2]=[fr("成本商品")])),_:1})]),_:1},8,["modelValue"])]))}});export{B2 as default};
|