chunk-455b9d9f.88165bd5.js 644 KB

1234
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-455b9d9f"],{"04d1":function(e,t,r){var a=r("342f"),n=a.match(/firefox\/(\d+)/i);e.exports=!!n&&+n[1]},"0b25":function(e,t,r){var a=r("5926"),n=r("50c4"),s=RangeError;e.exports=function(e){if(void 0===e)return 0;var t=a(e),r=n(t);if(t!==r)throw s("Wrong length or index");return r}},"0eb6":function(e,t,r){"use strict";var a=r("23e7"),n=r("7c37"),s=r("d066"),i=r("d039"),o=r("7c73"),l=r("5c6c"),c=r("9bf2").f,f=r("cb2d"),u=r("edd0"),h=r("1a2d"),d=r("19aa"),p=r("825a"),m=r("aa1f"),b=r("e391"),g=r("cf98"),v=r("0d26"),w=r("69f3"),y=r("83ab"),k=r("c430"),T="DOMException",_="DATA_CLONE_ERR",E=s("Error"),S=s(T)||function(){try{var e=s("MessageChannel")||n("worker_threads").MessageChannel;(new e).port1.postMessage(new WeakMap)}catch(t){if(t.name==_&&25==t.code)return t.constructor}}(),A=S&&S.prototype,x=E.prototype,C=w.set,R=w.getterFor(T),P="stack"in E(T),O=function(e){return h(g,e)&&g[e].m?g[e].c:0},N=function(){d(this,I);var e=arguments.length,t=b(e<1?void 0:arguments[0]),r=b(e<2?void 0:arguments[1],"Error"),a=O(r);if(C(this,{type:T,name:r,message:t,code:a}),y||(this.name=r,this.message=t,this.code=a),P){var n=E(t);n.name=T,c(this,"stack",l(1,v(n.stack,1)))}},I=N.prototype=o(x),D=function(e){return{enumerable:!0,configurable:!0,get:e}},F=function(e){return D((function(){return R(this)[e]}))};y&&(u(I,"code",F("code")),u(I,"message",F("message")),u(I,"name",F("name"))),c(I,"constructor",l(1,N));var M=i((function(){return!(new S instanceof E)})),L=M||i((function(){return x.toString!==m||"2: 1"!==String(new S(1,2))})),B=M||i((function(){return 25!==new S(1,"DataCloneError").code})),U=M||25!==S[_]||25!==A[_],z=k?L||B||U:M;a({global:!0,constructor:!0,forced:z},{DOMException:z?N:S});var W=s(T),H=W.prototype;for(var j in L&&(k||S===W)&&f(H,"toString",m),B&&y&&S===W&&u(H,"code",D((function(){return O(p(this).name)}))),g)if(h(g,j)){var V=g[j],G=V.s,$=l(6,V.c);h(W,G)||c(W,G,$),h(H,G)||c(H,G,$)}},1448:function(e,t,r){var a=r("dfb9"),n=r("b6b7");e.exports=function(e,t){return a(n(e),t)}},"145e":function(e,t,r){"use strict";var a=r("7b0b"),n=r("23cb"),s=r("07fa"),i=r("083a"),o=Math.min;e.exports=[].copyWithin||function(e,t){var r=a(this),l=s(r),c=n(e,l),f=n(t,l),u=arguments.length>2?arguments[2]:void 0,h=o((void 0===u?l:n(u,l))-f,l-c),d=1;f<c&&c<f+h&&(d=-1,f+=h-1,c+=h-1);while(h-- >0)f in r?r[c]=r[f]:i(r,c),c+=d,f+=d;return r}},"170b":function(e,t,r){"use strict";var a=r("ebb5"),n=r("50c4"),s=r("23cb"),i=r("b6b7"),o=a.aTypedArray,l=a.exportTypedArrayMethod;l("subarray",(function(e,t){var r=o(this),a=r.length,l=s(e,a),c=i(r);return new c(r.buffer,r.byteOffset+l*r.BYTES_PER_ELEMENT,n((void 0===t?a:s(t,a))-l))}))},"182d":function(e,t,r){var a=r("f8cd"),n=RangeError;e.exports=function(e,t){var r=a(e);if(r%t)throw n("Wrong offset");return r}},"1b3b":function(e,t,r){"use strict";var a=r("df7e"),n=r("ebb5"),s=n.aTypedArray,i=n.exportTypedArrayMethod,o=n.getTypedArrayConstructor;i("toReversed",(function(){return a(s(this),o(this))}))},"1d02":function(e,t,r){"use strict";var a=r("ebb5"),n=r("a258").findLastIndex,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("findLastIndex",(function(e){return n(s(this),e,arguments.length>1?arguments[1]:void 0)}))},"219c":function(e,t,r){"use strict";var a=r("da84"),n=r("e330"),s=r("d039"),i=r("59ed"),o=r("addb"),l=r("ebb5"),c=r("04d1"),f=r("d998"),u=r("2d00"),h=r("512ce"),d=l.aTypedArray,p=l.exportTypedArrayMethod,m=a.Uint16Array,b=m&&n(m.prototype.sort),g=!!b&&!(s((function(){b(new m(2),null)}))&&s((function(){b(new m(2),{})}))),v=!!b&&!s((function(){if(u)return u<74;if(c)return c<67;if(f)return!0;if(h)return h<602;var e,t,r=new m(516),a=Array(516);for(e=0;e<516;e++)t=e%4,r[e]=515-e,a[e]=e-2*t+3;for(b(r,(function(e,t){return(e/4|0)-(t/4|0)})),e=0;e<516;e++)if(r[e]!==a[e])return!0})),w=function(e){return function(t,r){return void 0!==e?+e(t,r)||0:r!==r?-1:t!==t?1:0===t&&0===r?1/t>0&&1/r<0?1:-1:t>r}};p("sort",(function(e){return void 0!==e&&i(e),v?b(this,e):o(d(this),w(e))}),!v||g)},"25a1":function(e,t,r){"use strict";var a=r("ebb5"),n=r("d58f").right,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("reduceRight",(function(e){var t=arguments.length;return n(s(this),e,t,t>1?arguments[1]:void 0)}))},"25ca":function(e,t,r){"use strict";r.r(t),r.d(t,"set_cptable",(function(){return w})),r.d(t,"set_fs",(function(){return tt})),r.d(t,"version",(function(){return Gw})),r.d(t,"parse_xlscfb",(function(){return dg})),r.d(t,"parse_zip",(function(){return Vv})),r.d(t,"read",(function(){return aw})),r.d(t,"readFile",(function(){return nw})),r.d(t,"readFileSync",(function(){return nw})),r.d(t,"write",(function(){return pw})),r.d(t,"writeFile",(function(){return bw})),r.d(t,"writeFileSync",(function(){return bw})),r.d(t,"writeFileAsync",(function(){return vw})),r.d(t,"writeXLSX",(function(){return dw})),r.d(t,"writeFileXLSX",(function(){return gw})),r.d(t,"utils",(function(){return Uw})),r.d(t,"stream",(function(){return Vw})),r.d(t,"SSF",(function(){return Xe})),r.d(t,"CFB",(function(){return Qe}));
  2. /*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
  3. var a={version:"0.18.5"},n=1200,s=1252,i=[874,932,936,949,950,1250,1251,1252,1253,1254,1255,1256,1257,1258,1e4],o={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969},l=function(e){-1!=i.indexOf(e)&&(s=o[0]=e)};function c(){l(1252)}var f=function(e){n=e,l(e)};function u(){f(1200),c()}function h(e){for(var t=[],r=0,a=e.length;r<a;++r)t[r]=e.charCodeAt(r);return t}function d(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r)+(e.charCodeAt(2*r+1)<<8));return t.join("")}function p(e){for(var t=[],r=0;r<e.length>>1;++r)t[r]=String.fromCharCode(e.charCodeAt(2*r+1)+(e.charCodeAt(2*r)<<8));return t.join("")}var m,b=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1);return 255==t&&254==r?d(e.slice(2)):254==t&&255==r?p(e.slice(2)):65279==t?e.slice(1):e},g=function(e){return String.fromCharCode(e)},v=function(e){return String.fromCharCode(e)};function w(e){m=e,f=function(e){n=e,l(e)},b=function(e){return 255===e.charCodeAt(0)&&254===e.charCodeAt(1)?m.utils.decode(1200,h(e.slice(2))):e},g=function(e){return 1200===n?String.fromCharCode(e):m.utils.decode(n,[255&e,e>>8])[0]},v=function(e){return m.utils.decode(s,[e])[0]},ta()}var y=null,k=!0,T="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function _(e){for(var t="",r=0,a=0,n=0,s=0,i=0,o=0,l=0,c=0;c<e.length;)r=e.charCodeAt(c++),s=r>>2,a=e.charCodeAt(c++),i=(3&r)<<4|a>>4,n=e.charCodeAt(c++),o=(15&a)<<2|n>>6,l=63&n,isNaN(a)?o=l=64:isNaN(n)&&(l=64),t+=T.charAt(s)+T.charAt(i)+T.charAt(o)+T.charAt(l);return t}function E(e){var t="",r=0,a=0,n=0,s=0,i=0,o=0,l=0;e=e.replace(/[^\w\+\/\=]/g,"");for(var c=0;c<e.length;)s=T.indexOf(e.charAt(c++)),i=T.indexOf(e.charAt(c++)),r=s<<2|i>>4,t+=String.fromCharCode(r),o=T.indexOf(e.charAt(c++)),a=(15&i)<<4|o>>2,64!==o&&(t+=String.fromCharCode(a)),l=T.indexOf(e.charAt(c++)),n=(3&o)<<6|l,64!==l&&(t+=String.fromCharCode(n));return t}var S=function(){return"undefined"!==typeof Buffer&&"undefined"!==typeof process&&"undefined"!==typeof process.versions&&!!process.versions.node}(),A=function(){if("undefined"!==typeof Buffer){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch(t){e=!0}return e?function(e,t){return t?new Buffer(e,t):new Buffer(e)}:Buffer.from.bind(Buffer)}return function(){}}();function x(e){return S?Buffer.alloc?Buffer.alloc(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}function C(e){return S?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):"undefined"!=typeof Uint8Array?new Uint8Array(e):new Array(e)}var R=function(e){return S?A(e,"binary"):e.split("").map((function(e){return 255&e.charCodeAt(0)}))};function P(e){if("undefined"===typeof ArrayBuffer)return R(e);for(var t=new ArrayBuffer(e.length),r=new Uint8Array(t),a=0;a!=e.length;++a)r[a]=255&e.charCodeAt(a);return t}function O(e){if(Array.isArray(e))return e.map((function(e){return String.fromCharCode(e)})).join("");for(var t=[],r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function N(e){if("undefined"===typeof Uint8Array)throw new Error("Unsupported");return new Uint8Array(e)}function I(e){if("undefined"==typeof ArrayBuffer)throw new Error("Unsupported");if(e instanceof ArrayBuffer)return I(new Uint8Array(e));for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=e[r];return t}var D=S?function(e){return Buffer.concat(e.map((function(e){return Buffer.isBuffer(e)?e:A(e)})))}:function(e){if("undefined"!==typeof Uint8Array){var t=0,r=0;for(t=0;t<e.length;++t)r+=e[t].length;var a=new Uint8Array(r),n=0;for(t=0,r=0;t<e.length;r+=n,++t)if(n=e[t].length,e[t]instanceof Uint8Array)a.set(e[t],r);else{if("string"==typeof e[t])throw"wtf";a.set(new Uint8Array(e[t]),r)}return a}return[].concat.apply([],e.map((function(e){return Array.isArray(e)?e:[].slice.call(e)})))};function F(e){for(var t=[],r=0,a=e.length+250,n=x(e.length+255),s=0;s<e.length;++s){var i=e.charCodeAt(s);if(i<128)n[r++]=i;else if(i<2048)n[r++]=192|i>>6&31,n[r++]=128|63&i;else if(i>=55296&&i<57344){i=64+(1023&i);var o=1023&e.charCodeAt(++s);n[r++]=240|i>>8&7,n[r++]=128|i>>2&63,n[r++]=128|o>>6&15|(3&i)<<4,n[r++]=128|63&o}else n[r++]=224|i>>12&15,n[r++]=128|i>>6&63,n[r++]=128|63&i;r>a&&(t.push(n.slice(0,r)),r=0,n=x(65535),a=65530)}return t.push(n.slice(0,r)),D(t)}var M=/\u0000/g,L=/[\u0001-\u0006]/g;function B(e){var t="",r=e.length-1;while(r>=0)t+=e.charAt(r--);return t}function U(e,t){var r=""+e;return r.length>=t?r:_t("0",t-r.length)+r}function z(e,t){var r=""+e;return r.length>=t?r:_t(" ",t-r.length)+r}function W(e,t){var r=""+e;return r.length>=t?r:r+_t(" ",t-r.length)}function H(e,t){var r=""+Math.round(e);return r.length>=t?r:_t("0",t-r.length)+r}function j(e,t){var r=""+e;return r.length>=t?r:_t("0",t-r.length)+r}var V=Math.pow(2,32);function G(e,t){if(e>V||e<-V)return H(e,t);var r=Math.round(e);return j(r,t)}function X(e,t){return t=t||0,e.length>=7+t&&103===(32|e.charCodeAt(t))&&101===(32|e.charCodeAt(t+1))&&110===(32|e.charCodeAt(t+2))&&101===(32|e.charCodeAt(t+3))&&114===(32|e.charCodeAt(t+4))&&97===(32|e.charCodeAt(t+5))&&108===(32|e.charCodeAt(t+6))}var Y=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],K=[["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 Z(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 q={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"秒 "'},J={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},Q={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 ee(e,t,r){var a=e<0?-1:1,n=e*a,s=0,i=1,o=0,l=1,c=0,f=0,u=Math.floor(n);while(c<t){if(u=Math.floor(n),o=u*i+s,f=u*c+l,n-u<5e-8)break;n=1/(n-u),s=i,i=o,l=c,c=f}if(f>t&&(c>t?(f=l,o=s):(f=c,o=i)),!r)return[0,a*o,f];var h=Math.floor(a*o/f);return[h,a*o-h*f,f]}function te(e,t,r){if(e>2958465||e<0)return null;var a=0|e,n=Math.floor(86400*(e-a)),s=0,i=[],o={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),t&&t.date1904&&(a+=1462),o.u>.9999&&(o.u=0,86400==++n&&(o.T=n=0,++a,++o.D)),60===a)i=r?[1317,10,29]:[1900,2,29],s=3;else if(0===a)i=r?[1317,8,29]:[1900,1,0],s=6;else{a>60&&--a;var l=new Date(1900,0,1);l.setDate(l.getDate()+a-1),i=[l.getFullYear(),l.getMonth()+1,l.getDate()],s=l.getDay(),a<60&&(s=(s+6)%7),r&&(s=he(l,i))}return o.y=i[0],o.m=i[1],o.d=i[2],o.S=n%60,n=Math.floor(n/60),o.M=n%60,n=Math.floor(n/60),o.H=n,o.q=s,o}var re=new Date(1899,11,31,0,0,0),ae=re.getTime(),ne=new Date(1900,2,1,0,0,0);function se(e,t){var r=e.getTime();return t?r-=1262304e5:e>=ne&&(r+=864e5),(r-(ae+6e4*(e.getTimezoneOffset()-re.getTimezoneOffset())))/864e5}function ie(e){return-1==e.indexOf(".")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function oe(e){return-1==e.indexOf("E")?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function le(e){var t=e<0?12:11,r=ie(e.toFixed(12));return r.length<=t?r:(r=e.toPrecision(10),r.length<=t?r:e.toExponential(5))}function ce(e){var t=ie(e.toFixed(11));return t.length>(e<0?12:11)||"0"===t||"-0"===t?e.toPrecision(6):t}function fe(e){var t,r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E);return t=r>=-4&&r<=-1?e.toPrecision(10+r):Math.abs(r)<=9?le(e):10===r?e.toFixed(10).substr(0,12):ce(e),ie(oe(t.toUpperCase()))}function ue(e,t){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(0|e)===e?e.toString(10):fe(e);case"undefined":return"";case"object":if(null==e)return"";if(e instanceof Date)return je(14,se(e,t&&t.date1904),t)}throw new Error("unsupported value in General format: "+e)}function he(e,t){t[0]-=581;var r=e.getDay();return e<60&&(r=(r+6)%7),r}function de(e,t,r,a){var n,s="",i=0,o=0,l=r.y,c=0;switch(e){case 98:l=r.y+543;case 121:switch(t.length){case 1:case 2:n=l%100,c=2;break;default:n=l%1e4,c=4;break}break;case 109:switch(t.length){case 1:case 2:n=r.m,c=t.length;break;case 3:return K[r.m-1][1];case 5:return K[r.m-1][0];default:return K[r.m-1][2]}break;case 100:switch(t.length){case 1:case 2:n=r.d,c=t.length;break;case 3:return Y[r.q][0];default:return Y[r.q][1]}break;case 104:switch(t.length){case 1:case 2:n=1+(r.H+11)%12,c=t.length;break;default:throw"bad hour format: "+t}break;case 72:switch(t.length){case 1:case 2:n=r.H,c=t.length;break;default:throw"bad hour format: "+t}break;case 77:switch(t.length){case 1:case 2:n=r.M,c=t.length;break;default:throw"bad minute format: "+t}break;case 115:if("s"!=t&&"ss"!=t&&".0"!=t&&".00"!=t&&".000"!=t)throw"bad second format: "+t;return 0!==r.u||"s"!=t&&"ss"!=t?(o=a>=2?3===a?1e3:100:1===a?10:1,i=Math.round(o*(r.S+r.u)),i>=60*o&&(i=0),"s"===t?0===i?"0":""+i/o:(s=U(i,2+a),"ss"===t?s.substr(0,2):"."+s.substr(2,t.length-1))):U(r.S,t.length);case 90:switch(t){case"[h]":case"[hh]":n=24*r.D+r.H;break;case"[m]":case"[mm]":n=60*(24*r.D+r.H)+r.M;break;case"[s]":case"[ss]":n=60*(60*(24*r.D+r.H)+r.M)+Math.round(r.S+r.u);break;default:throw"bad abstime format: "+t}c=3===t.length?1:2;break;case 101:n=l,c=1;break}var f=c>0?U(n,c):"";return f}function pe(e){var t=3;if(e.length<=t)return e;for(var r=e.length%t,a=e.substr(0,r);r!=e.length;r+=t)a+=(a.length>0?",":"")+e.substr(r,t);return a}var me=/%/g;function be(e,t,r){var a=t.replace(me,""),n=t.length-a.length;return Fe(e,a,r*Math.pow(10,2*n))+_t("%",n)}function ge(e,t,r){var a=t.length-1;while(44===t.charCodeAt(a-1))--a;return Fe(e,t.substr(0,a),r/Math.pow(10,3*(t.length-a)))}function ve(e,t){var r,a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+ve(e,-t);var n=e.indexOf(".");-1===n&&(n=e.indexOf("E"));var s=Math.floor(Math.log(t)*Math.LOG10E)%n;if(s<0&&(s+=n),r=(t/Math.pow(10,s)).toPrecision(a+1+(n+s)%n),-1===r.indexOf("e")){var i=Math.floor(Math.log(t)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(i-r.length+s):r+="E+"+(i-s);while("0."===r.substr(0,2))r=r.charAt(0)+r.substr(2,n)+"."+r.substr(2+n),r=r.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,a){return t+r+a.substr(0,(n+s)%n)+"."+a.substr(s)+"E"}))}else r=t.toExponential(a);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 we=/# (\?+)( ?)\/( ?)(\d+)/;function ye(e,t,r){var a=parseInt(e[4],10),n=Math.round(t*a),s=Math.floor(n/a),i=n-s*a,o=a;return r+(0===s?"":""+s)+" "+(0===i?_t(" ",e[1].length+1+e[4].length):z(i,e[1].length)+e[2]+"/"+e[3]+U(o,e[4].length))}function ke(e,t,r){return r+(0===t?"":""+t)+_t(" ",e[1].length+2+e[4].length)}var Te=/^#*0*\.([0#]+)/,_e=/\).*[0#]/,Ee=/\(###\) ###\\?-####/;function Se(e){for(var t,r="",a=0;a!=e.length;++a)switch(t=e.charCodeAt(a)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function Ae(e,t){var r=Math.pow(10,t);return""+Math.round(e*r)/r}function xe(e,t){var r=e-Math.floor(e),a=Math.pow(10,t);return t<(""+Math.round(r*a)).length?0:Math.round(r*a)}function Ce(e,t){return t<(""+Math.round((e-Math.floor(e))*Math.pow(10,t))).length?1:0}function Re(e){return e<2147483647&&e>-2147483648?""+(e>=0?0|e:e-1|0):""+Math.floor(e)}function Pe(e,t,r){if(40===e.charCodeAt(0)&&!t.match(_e)){var a=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?Pe("n",a,r):"("+Pe("n",a,-r)+")"}if(44===t.charCodeAt(t.length-1))return ge(e,t,r);if(-1!==t.indexOf("%"))return be(e,t,r);if(-1!==t.indexOf("E"))return ve(t,r);if(36===t.charCodeAt(0))return"$"+Pe(e,t.substr(" "==t.charAt(1)?2:1),r);var n,s,i,o,l=Math.abs(r),c=r<0?"-":"";if(t.match(/^00+$/))return c+G(l,t.length);if(t.match(/^[#?]+$/))return n=G(r,0),"0"===n&&(n=""),n.length>t.length?n:Se(t.substr(0,t.length-n.length))+n;if(s=t.match(we))return ye(s,l,c);if(t.match(/^#+0+$/))return c+G(l,t.length-t.indexOf("0"));if(s=t.match(Te))return n=Ae(r,s[1].length).replace(/^([^\.]+)$/,"$1."+Se(s[1])).replace(/\.$/,"."+Se(s[1])).replace(/\.(\d*)$/,(function(e,t){return"."+t+_t("0",Se(s[1]).length-t.length)})),-1!==t.indexOf("0.")?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return c+Ae(l,s[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=t.match(/^#{1,3},##0(\.?)$/))return c+pe(G(l,0));if(s=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+Pe(e,t,-r):pe(""+(Math.floor(r)+Ce(r,s[1].length)))+"."+U(xe(r,s[1].length),s[1].length);if(s=t.match(/^#,#*,#0/))return Pe(e,t.replace(/^#,#*,/,""),r);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=B(Pe(e,t.replace(/[\\-]/g,""),r)),i=0,B(B(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i<n.length?n.charAt(i++):"0"===e?"0":""})));if(t.match(Ee))return n=Pe(e,"##########",r),"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6);var f="";if(s=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(s[4].length,7),o=ee(l,Math.pow(10,i)-1,!1),n=""+c,f=Fe("n",s[1],o[1])," "==f.charAt(f.length-1)&&(f=f.substr(0,f.length-1)+"0"),n+=f+s[2]+"/"+s[3],f=W(o[2],i),f.length<s[4].length&&(f=Se(s[4].substr(s[4].length-f.length))+f),n+=f,n;if(s=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(s[1].length,s[4].length),7),o=ee(l,Math.pow(10,i)-1,!0),c+(o[0]||(o[1]?"":"0"))+" "+(o[1]?z(o[1],i)+s[2]+"/"+s[3]+W(o[2],i):_t(" ",2*i+1+s[2].length+s[3].length));if(s=t.match(/^[#0?]+$/))return n=G(r,0),t.length<=n.length?n:Se(t.substr(0,t.length-n.length))+n;if(s=t.match(/^([#0?]+)\.([#0]+)$/)){n=""+r.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),i=n.indexOf(".");var u=t.indexOf(".")-i,h=t.length-n.length-u;return Se(t.substr(0,u)+n+t.substr(t.length-h))}if(s=t.match(/^00,000\.([#0]*0)$/))return i=xe(r,s[1].length),r<0?"-"+Pe(e,t,-r):pe(Re(r)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?U(0,3-e.length):"")+e}))+"."+U(i,s[1].length);switch(t){case"###,##0.00":return Pe(e,"#,##0.00",r);case"###,###":case"##,###":case"#,###":var d=pe(G(l,0));return"0"!==d?c+d:"";case"###,###.00":return Pe(e,"###,##0.00",r).replace(/^0\./,".");case"#,###.00":return Pe(e,"#,##0.00",r).replace(/^0\./,".");default:}throw new Error("unsupported format |"+t+"|")}function Oe(e,t,r){var a=t.length-1;while(44===t.charCodeAt(a-1))--a;return Fe(e,t.substr(0,a),r/Math.pow(10,3*(t.length-a)))}function Ne(e,t,r){var a=t.replace(me,""),n=t.length-a.length;return Fe(e,a,r*Math.pow(10,2*n))+_t("%",n)}function Ie(e,t){var r,a=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(0==t)return"0.0E+0";if(t<0)return"-"+Ie(e,-t);var n=e.indexOf(".");-1===n&&(n=e.indexOf("E"));var s=Math.floor(Math.log(t)*Math.LOG10E)%n;if(s<0&&(s+=n),r=(t/Math.pow(10,s)).toPrecision(a+1+(n+s)%n),!r.match(/[Ee]/)){var i=Math.floor(Math.log(t)*Math.LOG10E);-1===r.indexOf(".")?r=r.charAt(0)+"."+r.substr(1)+"E+"+(i-r.length+s):r+="E+"+(i-s),r=r.replace(/\+-/,"-")}r=r.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,(function(e,t,r,a){return t+r+a.substr(0,(n+s)%n)+"."+a.substr(s)+"E"}))}else r=t.toExponential(a);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 De(e,t,r){if(40===e.charCodeAt(0)&&!t.match(_e)){var a=t.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return r>=0?De("n",a,r):"("+De("n",a,-r)+")"}if(44===t.charCodeAt(t.length-1))return Oe(e,t,r);if(-1!==t.indexOf("%"))return Ne(e,t,r);if(-1!==t.indexOf("E"))return Ie(t,r);if(36===t.charCodeAt(0))return"$"+De(e,t.substr(" "==t.charAt(1)?2:1),r);var n,s,i,o,l=Math.abs(r),c=r<0?"-":"";if(t.match(/^00+$/))return c+U(l,t.length);if(t.match(/^[#?]+$/))return n=""+r,0===r&&(n=""),n.length>t.length?n:Se(t.substr(0,t.length-n.length))+n;if(s=t.match(we))return ke(s,l,c);if(t.match(/^#+0+$/))return c+U(l,t.length-t.indexOf("0"));if(s=t.match(Te))return n=(""+r).replace(/^([^\.]+)$/,"$1."+Se(s[1])).replace(/\.$/,"."+Se(s[1])),n=n.replace(/\.(\d*)$/,(function(e,t){return"."+t+_t("0",Se(s[1]).length-t.length)})),-1!==t.indexOf("0.")?n:n.replace(/^0\./,".");if(t=t.replace(/^#+([0.])/,"$1"),s=t.match(/^(0*)\.(#*)$/))return c+(""+l).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,s[1].length?"0.":".");if(s=t.match(/^#{1,3},##0(\.?)$/))return c+pe(""+l);if(s=t.match(/^#,##0\.([#0]*0)$/))return r<0?"-"+De(e,t,-r):pe(""+r)+"."+_t("0",s[1].length);if(s=t.match(/^#,#*,#0/))return De(e,t.replace(/^#,#*,/,""),r);if(s=t.match(/^([0#]+)(\\?-([0#]+))+$/))return n=B(De(e,t.replace(/[\\-]/g,""),r)),i=0,B(B(t.replace(/\\/g,"")).replace(/[0#]/g,(function(e){return i<n.length?n.charAt(i++):"0"===e?"0":""})));if(t.match(Ee))return n=De(e,"##########",r),"("+n.substr(0,3)+") "+n.substr(3,3)+"-"+n.substr(6);var f="";if(s=t.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(s[4].length,7),o=ee(l,Math.pow(10,i)-1,!1),n=""+c,f=Fe("n",s[1],o[1])," "==f.charAt(f.length-1)&&(f=f.substr(0,f.length-1)+"0"),n+=f+s[2]+"/"+s[3],f=W(o[2],i),f.length<s[4].length&&(f=Se(s[4].substr(s[4].length-f.length))+f),n+=f,n;if(s=t.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return i=Math.min(Math.max(s[1].length,s[4].length),7),o=ee(l,Math.pow(10,i)-1,!0),c+(o[0]||(o[1]?"":"0"))+" "+(o[1]?z(o[1],i)+s[2]+"/"+s[3]+W(o[2],i):_t(" ",2*i+1+s[2].length+s[3].length));if(s=t.match(/^[#0?]+$/))return n=""+r,t.length<=n.length?n:Se(t.substr(0,t.length-n.length))+n;if(s=t.match(/^([#0]+)\.([#0]+)$/)){n=""+r.toFixed(Math.min(s[2].length,10)).replace(/([^0])0+$/,"$1"),i=n.indexOf(".");var u=t.indexOf(".")-i,h=t.length-n.length-u;return Se(t.substr(0,u)+n+t.substr(t.length-h))}if(s=t.match(/^00,000\.([#0]*0)$/))return r<0?"-"+De(e,t,-r):pe(""+r).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,(function(e){return"00,"+(e.length<3?U(0,3-e.length):"")+e}))+"."+U(0,s[1].length);switch(t){case"###,###":case"##,###":case"#,###":var d=pe(""+l);return"0"!==d?c+d:"";default:if(t.match(/\.[0#?]*$/))return De(e,t.slice(0,t.lastIndexOf(".")),r)+Se(t.slice(t.lastIndexOf(".")))}throw new Error("unsupported format |"+t+"|")}function Fe(e,t,r){return(0|r)===r?De(e,t,r):Pe(e,t,r)}function Me(e){for(var t=[],r=!1,a=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case 34:r=!r;break;case 95:case 42:case 92:++a;break;case 59:t[t.length]=e.substr(n,a-n),n=a+1}if(t[t.length]=e.substr(n),!0===r)throw new Error("Format |"+e+"| unterminated string ");return t}var Le=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function Be(e){var t=0,r="",a="";while(t<e.length)switch(r=e.charAt(t)){case"G":X(e,t)&&(t+=6),t++;break;case'"':for(;34!==e.charCodeAt(++t)&&t<e.length;);++t;break;case"\\":t+=2;break;case"_":t+=2;break;case"@":++t;break;case"B":case"b":if("1"===e.charAt(t+1)||"2"===e.charAt(t+1))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("A/P"===e.substr(t,3).toUpperCase())return!0;if("AM/PM"===e.substr(t,5).toUpperCase())return!0;if("上午/下午"===e.substr(t,5).toUpperCase())return!0;++t;break;case"[":a=r;while("]"!==e.charAt(t++)&&t<e.length)a+=e.charAt(t);if(a.match(Le))return!0;break;case".":case"0":case"#":while(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"?":while(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":while(t<e.length&&"0123456789".indexOf(e.charAt(++t))>-1);break;case" ":++t;break;default:++t;break}return!1}function Ue(e,t,r,a){var n,s,i,o=[],l="",c=0,f="",u="t",h="H";while(c<e.length)switch(f=e.charAt(c)){case"G":if(!X(e,c))throw new Error("unrecognized character "+f+" in "+e);o[o.length]={t:"G",v:"General"},c+=7;break;case'"':for(l="";34!==(i=e.charCodeAt(++c))&&c<e.length;)l+=String.fromCharCode(i);o[o.length]={t:"t",v:l},++c;break;case"\\":var d=e.charAt(++c),p="("===d||")"===d?d:"t";o[o.length]={t:p,v:d},++c;break;case"_":o[o.length]={t:"t",v:" "},c+=2;break;case"@":o[o.length]={t:"T",v:t},++c;break;case"B":case"b":if("1"===e.charAt(c+1)||"2"===e.charAt(c+1)){if(null==n&&(n=te(t,r,"2"===e.charAt(c+1)),null==n))return"";o[o.length]={t:"X",v:e.substr(c,2)},u=f,c+=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)return"";if(null==n&&(n=te(t,r),null==n))return"";l=f;while(++c<e.length&&e.charAt(c).toLowerCase()===f)l+=f;"m"===f&&"h"===u.toLowerCase()&&(f="M"),"h"===f&&(f=h),o[o.length]={t:f,v:l},u=f;break;case"A":case"a":case"上":var m={t:f,v:f};if(null==n&&(n=te(t,r)),"A/P"===e.substr(c,3).toUpperCase()?(null!=n&&(m.v=n.H>=12?"P":"A"),m.t="T",h="h",c+=3):"AM/PM"===e.substr(c,5).toUpperCase()?(null!=n&&(m.v=n.H>=12?"PM":"AM"),m.t="T",c+=5,h="h"):"上午/下午"===e.substr(c,5).toUpperCase()?(null!=n&&(m.v=n.H>=12?"下午":"上午"),m.t="T",c+=5,h="h"):(m.t="t",++c),null==n&&"T"===m.t)return"";o[o.length]=m,u=f;break;case"[":l=f;while("]"!==e.charAt(c++)&&c<e.length)l+=e.charAt(c);if("]"!==l.slice(-1))throw'unterminated "[" block: |'+l+"|";if(l.match(Le)){if(null==n&&(n=te(t,r),null==n))return"";o[o.length]={t:"Z",v:l.toLowerCase()},u=l.charAt(1)}else l.indexOf("$")>-1&&(l=(l.match(/\$([^-\[\]]*)/)||[])[1]||"$",Be(e)||(o[o.length]={t:"t",v:l}));break;case".":if(null!=n){l=f;while(++c<e.length&&"0"===(f=e.charAt(c)))l+=f;o[o.length]={t:"s",v:l};break}case"0":case"#":l=f;while(++c<e.length&&"0#?.,E+-%".indexOf(f=e.charAt(c))>-1)l+=f;o[o.length]={t:"n",v:l};break;case"?":l=f;while(e.charAt(++c)===f)l+=f;o[o.length]={t:f,v:l},u=f;break;case"*":++c," "!=e.charAt(c)&&"*"!=e.charAt(c)||++c;break;case"(":case")":o[o.length]={t:1===a?"t":f,v:f},++c;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":l=f;while(c<e.length&&"0123456789".indexOf(e.charAt(++c))>-1)l+=e.charAt(c);o[o.length]={t:"D",v:l};break;case" ":o[o.length]={t:f,v:f},++c;break;case"$":o[o.length]={t:"t",v:"$"},++c;break;default:if(-1===",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(f))throw new Error("unrecognized character "+f+" in "+e);o[o.length]={t:"t",v:f},++c;break}var b,g=0,v=0;for(c=o.length-1,u="t";c>=0;--c)switch(o[c].t){case"h":case"H":o[c].t=h,u="h",g<1&&(g=1);break;case"s":(b=o[c].v.match(/\.0+$/))&&(v=Math.max(v,b[0].length-1)),g<3&&(g=3);case"d":case"y":case"M":case"e":u=o[c].t;break;case"m":"s"===u&&(o[c].t="M",g<2&&(g=2));break;case"X":break;case"Z":g<1&&o[c].v.match(/[Hh]/)&&(g=1),g<2&&o[c].v.match(/[Mm]/)&&(g=2),g<3&&o[c].v.match(/[Ss]/)&&(g=3)}switch(g){case 0:break;case 1:n.u>=.5&&(n.u=0,++n.S),n.S>=60&&(n.S=0,++n.M),n.M>=60&&(n.M=0,++n.H);break;case 2:n.u>=.5&&(n.u=0,++n.S),n.S>=60&&(n.S=0,++n.M);break}var w,y="";for(c=0;c<o.length;++c)switch(o[c].t){case"t":case"T":case" ":case"D":break;case"X":o[c].v="",o[c].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":o[c].v=de(o[c].t.charCodeAt(0),o[c].v,n,v),o[c].t="t";break;case"n":case"?":w=c+1;while(null!=o[w]&&("?"===(f=o[w].t)||"D"===f||(" "===f||"t"===f)&&null!=o[w+1]&&("?"===o[w+1].t||"t"===o[w+1].t&&"/"===o[w+1].v)||"("===o[c].t&&(" "===f||"n"===f||")"===f)||"t"===f&&("/"===o[w].v||" "===o[w].v&&null!=o[w+1]&&"?"==o[w+1].t)))o[c].v+=o[w].v,o[w]={v:"",t:";"},++w;y+=o[c].v,c=w-1;break;case"G":o[c].t="t",o[c].v=ue(t,r);break}var k,T,_="";if(y.length>0){40==y.charCodeAt(0)?(k=t<0&&45===y.charCodeAt(0)?-t:t,T=Fe("n",y,k)):(k=t<0&&a>1?-t:t,T=Fe("n",y,k),k<0&&o[0]&&"t"==o[0].t&&(T=T.substr(1),o[0].v="-"+o[0].v)),w=T.length-1;var E=o.length;for(c=0;c<o.length;++c)if(null!=o[c]&&"t"!=o[c].t&&o[c].v.indexOf(".")>-1){E=c;break}var S=o.length;if(E===o.length&&-1===T.indexOf("E")){for(c=o.length-1;c>=0;--c)null!=o[c]&&-1!=="n?".indexOf(o[c].t)&&(w>=o[c].v.length-1?(w-=o[c].v.length,o[c].v=T.substr(w+1,o[c].v.length)):w<0?o[c].v="":(o[c].v=T.substr(0,w+1),w=-1),o[c].t="t",S=c);w>=0&&S<o.length&&(o[S].v=T.substr(0,w+1)+o[S].v)}else if(E!==o.length&&-1===T.indexOf("E")){for(w=T.indexOf(".")-1,c=E;c>=0;--c)if(null!=o[c]&&-1!=="n?".indexOf(o[c].t)){for(s=o[c].v.indexOf(".")>-1&&c===E?o[c].v.indexOf(".")-1:o[c].v.length-1,_=o[c].v.substr(s+1);s>=0;--s)w>=0&&("0"===o[c].v.charAt(s)||"#"===o[c].v.charAt(s))&&(_=T.charAt(w--)+_);o[c].v=_,o[c].t="t",S=c}for(w>=0&&S<o.length&&(o[S].v=T.substr(0,w+1)+o[S].v),w=T.indexOf(".")+1,c=E;c<o.length;++c)if(null!=o[c]&&(-1!=="n?(".indexOf(o[c].t)||c===E)){for(s=o[c].v.indexOf(".")>-1&&c===E?o[c].v.indexOf(".")+1:0,_=o[c].v.substr(0,s);s<o[c].v.length;++s)w<T.length&&(_+=T.charAt(w++));o[c].v=_,o[c].t="t",S=c}}}for(c=0;c<o.length;++c)null!=o[c]&&"n?".indexOf(o[c].t)>-1&&(k=a>1&&t<0&&c>0&&"-"===o[c-1].v?-t:t,o[c].v=Fe(o[c].t,o[c].v,k),o[c].t="t");var A="";for(c=0;c!==o.length;++c)null!=o[c]&&(A+=o[c].v);return A}var ze=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function We(e,t){if(null==t)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 He(e,t){var r=Me(e),a=r.length,n=r[a-1].indexOf("@");if(a<4&&n>-1&&--a,r.length>4)throw new Error("cannot find right format for |"+r.join("|")+"|");if("number"!==typeof t)return[4,4===r.length||n>-1?r[r.length-1]:"@"];switch(r.length){case 1:r=n>-1?["General","General","General",r[0]]:[r[0],r[0],r[0],"@"];break;case 2:r=n>-1?[r[0],r[0],r[0],r[1]]:[r[0],r[1],r[0],"@"];break;case 3:r=n>-1?[r[0],r[1],r[0],r[2]]:[r[0],r[1],r[2],"@"];break;case 4:break}var s=t>0?r[0]:t<0?r[1]:r[2];if(-1===r[0].indexOf("[")&&-1===r[1].indexOf("["))return[a,s];if(null!=r[0].match(/\[[=<>]/)||null!=r[1].match(/\[[=<>]/)){var i=r[0].match(ze),o=r[1].match(ze);return We(t,i)?[a,r[0]]:We(t,o)?[a,r[1]]:[a,r[null!=i&&null!=o?2:1]]}return[a,s]}function je(e,t,r){null==r&&(r={});var a="";switch(typeof e){case"string":a="m/d/yy"==e&&r.dateNF?r.dateNF:e;break;case"number":a=14==e&&r.dateNF?r.dateNF:(null!=r.table?r.table:q)[e],null==a&&(a=r.table&&r.table[J[e]]||q[J[e]]),null==a&&(a=Q[e]||"General");break}if(X(a,0))return ue(t,r);t instanceof Date&&(t=se(t,r.date1904));var n=He(a,t);if(X(n[1]))return ue(t,r);if(!0===t)t="TRUE";else if(!1===t)t="FALSE";else if(""===t||null==t)return"";return Ue(n[1],t,r,n[0])}function Ve(e,t){if("number"!=typeof t){t=+t||-1;for(var r=0;r<392;++r)if(void 0!=q[r]){if(q[r]==e){t=r;break}}else t<0&&(t=r);t<0&&(t=391)}return q[t]=e,t}function Ge(e){for(var t=0;392!=t;++t)void 0!==e[t]&&Ve(e[t],t)}function $e(){q=Z()}var Xe={format:je,load:Ve,_table:q,load_table:Ge,parse_date_code:te,is_date:Be,get_table:function(){return Xe._table=q}},Ye={5:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',23:"General",24:"General",25:"General",26:"General",27:"m/d/yy",28:"m/d/yy",29:"m/d/yy",30:"m/d/yy",31:"m/d/yy",32:"h:mm:ss",33:"h:mm:ss",34:"h:mm:ss",35:"h:mm:ss",36:"m/d/yy",41:'_(* #,##0_);_(* (#,##0);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* (#,##0);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* (#,##0.00);_("$"* "-"??_);_(@_)',50:"m/d/yy",51:"m/d/yy",52:"m/d/yy",53:"m/d/yy",54:"m/d/yy",55:"m/d/yy",56:"m/d/yy",57:"m/d/yy",58:"m/d/yy",59:"0",60:"0.00",61:"#,##0",62:"#,##0.00",63:'"$"#,##0_);\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',67:"0%",68:"0.00%",69:"# ?/?",70:"# ??/??",71:"m/d/yy",72:"m/d/yy",73:"d-mmm-yy",74:"d-mmm",75:"mmm-yy",76:"h:mm",77:"h:mm:ss",78:"m/d/yy h:mm",79:"mm:ss",80:"[h]:mm:ss",81:"mmss.0"},Ke=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function Ze(e){var t="number"==typeof e?q[e]:e;return t=t.replace(Ke,"(\\d+)"),new RegExp("^"+t+"$")}function qe(e,t,r){var a=-1,n=-1,s=-1,i=-1,o=-1,l=-1;(t.match(Ke)||[]).forEach((function(e,t){var c=parseInt(r[t+1],10);switch(e.toLowerCase().charAt(0)){case"y":a=c;break;case"d":s=c;break;case"h":i=c;break;case"s":l=c;break;case"m":i>=0?o=c:n=c;break}})),l>=0&&-1==o&&n>=0&&(o=n,n=-1);var c=(""+(a>=0?a:(new Date).getFullYear())).slice(-4)+"-"+("00"+(n>=1?n:1)).slice(-2)+"-"+("00"+(s>=1?s:1)).slice(-2);7==c.length&&(c="0"+c),8==c.length&&(c="20"+c);var f=("00"+(i>=0?i:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==i&&-1==o&&-1==l?c:-1==a&&-1==n&&-1==s?f:c+"T"+f}var Je=function(){var e={};function t(){for(var e=0,t=new Array(256),r=0;256!=r;++r)e=r,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,e=1&e?-306674912^e>>>1:e>>>1,t[r]=e;return"undefined"!==typeof Int32Array?new Int32Array(t):t}e.version="1.2.0";var r=t();function a(e){var t=0,r=0,a=0,n="undefined"!==typeof Int32Array?new Int32Array(4096):new Array(4096);for(a=0;256!=a;++a)n[a]=e[a];for(a=0;256!=a;++a)for(r=e[a],t=256+a;t<4096;t+=256)r=n[t]=r>>>8^e[255&r];var s=[];for(a=1;16!=a;++a)s[a-1]="undefined"!==typeof Int32Array?n.subarray(256*a,256*a+256):n.slice(256*a,256*a+256);return s}var n=a(r),s=n[0],i=n[1],o=n[2],l=n[3],c=n[4],f=n[5],u=n[6],h=n[7],d=n[8],p=n[9],m=n[10],b=n[11],g=n[12],v=n[13],w=n[14];function y(e,t){for(var a=-1^t,n=0,s=e.length;n<s;)a=a>>>8^r[255&(a^e.charCodeAt(n++))];return~a}function k(e,t){for(var a=-1^t,n=e.length-15,y=0;y<n;)a=w[e[y++]^255&a]^v[e[y++]^a>>8&255]^g[e[y++]^a>>16&255]^b[e[y++]^a>>>24]^m[e[y++]]^p[e[y++]]^d[e[y++]]^h[e[y++]]^u[e[y++]]^f[e[y++]]^c[e[y++]]^l[e[y++]]^o[e[y++]]^i[e[y++]]^s[e[y++]]^r[e[y++]];n+=15;while(y<n)a=a>>>8^r[255&(a^e[y++])];return~a}function T(e,t){for(var a=-1^t,n=0,s=e.length,i=0,o=0;n<s;)i=e.charCodeAt(n++),i<128?a=a>>>8^r[255&(a^i)]:i<2048?(a=a>>>8^r[255&(a^(192|i>>6&31))],a=a>>>8^r[255&(a^(128|63&i))]):i>=55296&&i<57344?(i=64+(1023&i),o=1023&e.charCodeAt(n++),a=a>>>8^r[255&(a^(240|i>>8&7))],a=a>>>8^r[255&(a^(128|i>>2&63))],a=a>>>8^r[255&(a^(128|o>>6&15|(3&i)<<4))],a=a>>>8^r[255&(a^(128|63&o))]):(a=a>>>8^r[255&(a^(224|i>>12&15))],a=a>>>8^r[255&(a^(128|i>>6&63))],a=a>>>8^r[255&(a^(128|63&i))]);return~a}return e.table=r,e.bstr=y,e.buf=k,e.str=T,e}(),Qe=function(){var e,t={};function r(e,t){for(var r=e.split("/"),a=t.split("/"),n=0,s=0,i=Math.min(r.length,a.length);n<i;++n){if(s=r[n].length-a[n].length)return s;if(r[n]!=a[n])return r[n]<a[n]?-1:1}return r.length-a.length}function a(e){if("/"==e.charAt(e.length-1))return-1===e.slice(0,-1).indexOf("/")?e:a(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(0,t+1)}function n(e){if("/"==e.charAt(e.length-1))return n(e.slice(0,-1));var t=e.lastIndexOf("/");return-1===t?e:e.slice(t+1)}function s(e,t){"string"===typeof t&&(t=new Date(t));var r=t.getHours();r=r<<6|t.getMinutes(),r=r<<5|t.getSeconds()>>>1,e.write_shift(2,r);var a=t.getFullYear()-1980;a=a<<4|t.getMonth()+1,a=a<<5|t.getDate(),e.write_shift(2,a)}function i(e){var t=65535&e.read_shift(2),r=65535&e.read_shift(2),a=new Date,n=31&r;r>>>=5;var s=15&r;r>>>=4,a.setMilliseconds(0),a.setFullYear(r+1980),a.setMonth(s-1),a.setDate(n);var i=31&t;t>>>=5;var o=63&t;return t>>>=6,a.setHours(t),a.setMinutes(o),a.setSeconds(i<<1),a}function o(e){pa(e,0);var t={},r=0;while(e.l<=e.length-4){var a=e.read_shift(2),n=e.read_shift(2),s=e.l+n,i={};switch(a){case 21589:r=e.read_shift(1),1&r&&(i.mtime=e.read_shift(4)),n>5&&(2&r&&(i.atime=e.read_shift(4)),4&r&&(i.ctime=e.read_shift(4))),i.mtime&&(i.mt=new Date(1e3*i.mtime));break}e.l=s,t[a]=i}return t}function l(){return e||(e={})}function c(e,t){if(80==e[0]&&75==e[1])return Oe(e,t);if(109==(32|e[0])&&105==(32|e[1]))return ze(e,t);if(e.length<512)throw new Error("CFB file size "+e.length+" < 512");var r=3,a=512,n=0,s=0,i=0,o=0,l=0,c=[],p=e.slice(0,512);pa(p,0);var b=f(p);switch(r=b[0],r){case 3:a=512;break;case 4:a=4096;break;case 0:if(0==b[1])return Oe(e,t);default:throw new Error("Major Version: Expected 3 or 4 saw "+r)}512!==a&&(p=e.slice(0,a),pa(p,28));var w=e.slice(0,a);u(p,r);var y=p.read_shift(4,"i");if(3===r&&0!==y)throw new Error("# Directory Sectors: Expected 0 saw "+y);p.l+=4,i=p.read_shift(4,"i"),p.l+=4,p.chk("00100000","Mini Stream Cutoff Size: "),o=p.read_shift(4,"i"),n=p.read_shift(4,"i"),l=p.read_shift(4,"i"),s=p.read_shift(4,"i");for(var k=-1,T=0;T<109;++T){if(k=p.read_shift(4,"i"),k<0)break;c[T]=k}var _=h(e,a);m(l,s,_,a,c);var E=g(_,i,c,a);E[i].name="!Directory",n>0&&o!==U&&(E[o].name="!MiniFAT"),E[c[0]].name="!FAT",E.fat_addrs=c,E.ssz=a;var S={},A=[],x=[],C=[];v(i,E,_,A,n,S,x,o),d(x,C,A),A.shift();var R={FileIndex:x,FullPaths:C};return t&&t.raw&&(R.raw={header:w,sectors:_}),R}function f(e){if(80==e[e.l]&&75==e[e.l+1])return[0,0];e.chk(z,"Header Signature: "),e.l+=16;var t=e.read_shift(2,"u");return[e.read_shift(2,"u"),t]}function u(e,t){var r=9;switch(e.l+=2,r=e.read_shift(2)){case 9:if(3!=t)throw new Error("Sector Shift: Expected 9 saw "+r);break;case 12:if(4!=t)throw new Error("Sector Shift: Expected 12 saw "+r);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+r)}e.chk("0600","Mini Sector Shift: "),e.chk("000000000000","Reserved: ")}function h(e,t){for(var r=Math.ceil(e.length/t)-1,a=[],n=1;n<r;++n)a[n-1]=e.slice(n*t,(n+1)*t);return a[r-1]=e.slice(r*t),a}function d(e,t,r){for(var a=0,n=0,s=0,i=0,o=0,l=r.length,c=[],f=[];a<l;++a)c[a]=f[a]=a,t[a]=r[a];for(;o<f.length;++o)a=f[o],n=e[a].L,s=e[a].R,i=e[a].C,c[a]===a&&(-1!==n&&c[n]!==n&&(c[a]=c[n]),-1!==s&&c[s]!==s&&(c[a]=c[s])),-1!==i&&(c[i]=a),-1!==n&&a!=c[a]&&(c[n]=c[a],f.lastIndexOf(n)<o&&f.push(n)),-1!==s&&a!=c[a]&&(c[s]=c[a],f.lastIndexOf(s)<o&&f.push(s));for(a=1;a<l;++a)c[a]===a&&(-1!==s&&c[s]!==s?c[a]=c[s]:-1!==n&&c[n]!==n&&(c[a]=c[n]));for(a=1;a<l;++a)if(0!==e[a].type){if(o=a,o!=c[o])do{o=c[o],t[a]=t[o]+"/"+t[a]}while(0!==o&&-1!==c[o]&&o!=c[o]);c[a]=-1}for(t[0]+="/",a=1;a<l;++a)2!==e[a].type&&(t[a]+="/")}function p(e,t,r){var a=e.start,n=e.size,s=[],i=a;while(r&&n>0&&i>=0)s.push(t.slice(i*B,i*B+B)),n-=B,i=ia(r,4*i);return 0===s.length?ba(0):D(s).slice(0,e.size)}function m(e,t,r,a,n){var s=U;if(e===U){if(0!==t)throw new Error("DIFAT chain shorter than expected")}else if(-1!==e){var i=r[e],o=(a>>>2)-1;if(!i)return;for(var l=0;l<o;++l){if((s=ia(i,4*l))===U)break;n.push(s)}m(ia(i,a-4),t-1,r,a,n)}}function b(e,t,r,a,n){var s=[],i=[];n||(n=[]);var o=a-1,l=0,c=0;for(l=t;l>=0;){n[l]=!0,s[s.length]=l,i.push(e[l]);var f=r[Math.floor(4*l/a)];if(c=4*l&o,a<4+c)throw new Error("FAT boundary crossed: "+l+" 4 "+a);if(!e[f])break;l=ia(e[f],c)}return{nodes:s,data:Fr([i])}}function g(e,t,r,a){var n=e.length,s=[],i=[],o=[],l=[],c=a-1,f=0,u=0,h=0,d=0;for(f=0;f<n;++f)if(o=[],h=f+t,h>=n&&(h-=n),!i[h]){l=[];var p=[];for(u=h;u>=0;){p[u]=!0,i[u]=!0,o[o.length]=u,l.push(e[u]);var m=r[Math.floor(4*u/a)];if(d=4*u&c,a<4+d)throw new Error("FAT boundary crossed: "+u+" 4 "+a);if(!e[m])break;if(u=ia(e[m],d),p[u])break}s[h]={nodes:o,data:Fr([l])}}return s}function v(e,t,r,a,n,s,i,o){for(var l,c=0,f=a.length?2:0,u=t[e].data,h=0,d=0;h<u.length;h+=128){var m=u.slice(h,h+128);pa(m,64),d=m.read_shift(2),l=Lr(m,0,d-f),a.push(l);var g={name:l,type:m.read_shift(1),color:m.read_shift(1),L:m.read_shift(4,"i"),R:m.read_shift(4,"i"),C:m.read_shift(4,"i"),clsid:m.read_shift(16),state:m.read_shift(4,"i"),start:0,size:0},v=m.read_shift(2)+m.read_shift(2)+m.read_shift(2)+m.read_shift(2);0!==v&&(g.ct=w(m,m.l-8));var y=m.read_shift(2)+m.read_shift(2)+m.read_shift(2)+m.read_shift(2);0!==y&&(g.mt=w(m,m.l-8)),g.start=m.read_shift(4,"i"),g.size=m.read_shift(4,"i"),g.size<0&&g.start<0&&(g.size=g.type=0,g.start=U,g.name=""),5===g.type?(c=g.start,n>0&&c!==U&&(t[c].name="!StreamData")):g.size>=4096?(g.storage="fat",void 0===t[g.start]&&(t[g.start]=b(r,g.start,t.fat_addrs,t.ssz)),t[g.start].name=g.name,g.content=t[g.start].data.slice(0,g.size)):(g.storage="minifat",g.size<0?g.size=0:c!==U&&g.start!==U&&t[c]&&(g.content=p(g,t[c].data,(t[o]||{}).data))),g.content&&pa(g.content,0),s[l]=g,i.push(g)}}function w(e,t){return new Date(1e3*(sa(e,t+4)/1e7*Math.pow(2,32)+sa(e,t)/1e7-11644473600))}function y(t,r){return l(),c(e.readFileSync(t),r)}function k(e,t){var r=t&&t.type;switch(r||S&&Buffer.isBuffer(e)&&(r="buffer"),r||"base64"){case"file":return y(e,t);case"base64":return c(R(E(e)),t);case"binary":return c(R(e),t)}return c(e,t)}function T(e,t){var r=t||{},a=r.root||"Root Entry";if(e.FullPaths||(e.FullPaths=[]),e.FileIndex||(e.FileIndex=[]),e.FullPaths.length!==e.FileIndex.length)throw new Error("inconsistent CFB structure");0===e.FullPaths.length&&(e.FullPaths[0]=a+"/",e.FileIndex[0]={name:a,type:5}),r.CLSID&&(e.FileIndex[0].clsid=r.CLSID),P(e)}function P(e){var t="Sh33tJ5";if(!Qe.find(e,"/"+t)){var r=ba(4);r[0]=55,r[1]=r[3]=50,r[2]=54,e.FileIndex.push({name:t,type:2,content:r,size:4,L:69,R:69,C:69}),e.FullPaths.push(e.FullPaths[0]+t),O(e)}}function O(e,t){T(e);for(var s=!1,i=!1,o=e.FullPaths.length-1;o>=0;--o){var l=e.FileIndex[o];switch(l.type){case 0:i?s=!0:(e.FileIndex.pop(),e.FullPaths.pop());break;case 1:case 2:case 5:i=!0,isNaN(l.R*l.L*l.C)&&(s=!0),l.R>-1&&l.L>-1&&l.R==l.L&&(s=!0);break;default:s=!0;break}}if(s||t){var c=new Date(1987,1,19),f=0,u=Object.create?Object.create(null):{},h=[];for(o=0;o<e.FullPaths.length;++o)u[e.FullPaths[o]]=!0,0!==e.FileIndex[o].type&&h.push([e.FullPaths[o],e.FileIndex[o]]);for(o=0;o<h.length;++o){var d=a(h[o][0]);i=u[d],i||(h.push([d,{name:n(d).replace("/",""),type:1,clsid:H,ct:c,mt:c,content:null}]),u[d]=!0)}for(h.sort((function(e,t){return r(e[0],t[0])})),e.FullPaths=[],e.FileIndex=[],o=0;o<h.length;++o)e.FullPaths[o]=h[o][0],e.FileIndex[o]=h[o][1];for(o=0;o<h.length;++o){var p=e.FileIndex[o],m=e.FullPaths[o];if(p.name=n(m).replace("/",""),p.L=p.R=p.C=-(p.color=1),p.size=p.content?p.content.length:0,p.start=0,p.clsid=p.clsid||H,0===o)p.C=h.length>1?1:-1,p.size=0,p.type=5;else if("/"==m.slice(-1)){for(f=o+1;f<h.length;++f)if(a(e.FullPaths[f])==m)break;for(p.C=f>=h.length?-1:f,f=o+1;f<h.length;++f)if(a(e.FullPaths[f])==a(m))break;p.R=f>=h.length?-1:f,p.type=1}else a(e.FullPaths[o+1]||"")==a(m)&&(p.R=o+1),p.type=2}}}function N(e,t){var r=t||{};if("mad"==r.fileType)return We(e,r);switch(O(e),r.fileType){case"zip":return Ie(e,r)}var a=function(e){for(var t=0,r=0,a=0;a<e.FileIndex.length;++a){var n=e.FileIndex[a];if(n.content){var s=n.content.length;s>0&&(s<4096?t+=s+63>>6:r+=s+511>>9)}}var i=e.FullPaths.length+3>>2,o=t+7>>3,l=t+127>>7,c=o+r+i+l,f=c+127>>7,u=f<=109?0:Math.ceil((f-109)/127);while(c+f+u+127>>7>f)u=++f<=109?0:Math.ceil((f-109)/127);var h=[1,u,f,l,i,r,t,0];return e.FileIndex[0].size=t<<6,h[7]=(e.FileIndex[0].start=h[0]+h[1]+h[2]+h[3]+h[4]+h[5])+(h[6]+7>>3),h}(e),n=ba(a[7]<<9),s=0,i=0;for(s=0;s<8;++s)n.write_shift(1,W[s]);for(s=0;s<8;++s)n.write_shift(2,0);for(n.write_shift(2,62),n.write_shift(2,3),n.write_shift(2,65534),n.write_shift(2,9),n.write_shift(2,6),s=0;s<3;++s)n.write_shift(2,0);for(n.write_shift(4,0),n.write_shift(4,a[2]),n.write_shift(4,a[0]+a[1]+a[2]+a[3]-1),n.write_shift(4,0),n.write_shift(4,4096),n.write_shift(4,a[3]?a[0]+a[1]+a[2]-1:U),n.write_shift(4,a[3]),n.write_shift(-4,a[1]?a[0]-1:U),n.write_shift(4,a[1]),s=0;s<109;++s)n.write_shift(-4,s<a[2]?a[1]+s:-1);if(a[1])for(i=0;i<a[1];++i){for(;s<236+127*i;++s)n.write_shift(-4,s<a[2]?a[1]+s:-1);n.write_shift(-4,i===a[1]-1?U:i+1)}var o=function(e){for(i+=e;s<i-1;++s)n.write_shift(-4,s+1);e&&(++s,n.write_shift(-4,U))};for(i=s=0,i+=a[1];s<i;++s)n.write_shift(-4,j.DIFSECT);for(i+=a[2];s<i;++s)n.write_shift(-4,j.FATSECT);o(a[3]),o(a[4]);for(var l=0,c=0,f=e.FileIndex[0];l<e.FileIndex.length;++l)f=e.FileIndex[l],f.content&&(c=f.content.length,c<4096||(f.start=i,o(c+511>>9)));o(a[6]+7>>3);while(511&n.l)n.write_shift(-4,j.ENDOFCHAIN);for(i=s=0,l=0;l<e.FileIndex.length;++l)f=e.FileIndex[l],f.content&&(c=f.content.length,!c||c>=4096||(f.start=i,o(c+63>>6)));while(511&n.l)n.write_shift(-4,j.ENDOFCHAIN);for(s=0;s<a[4]<<2;++s){var u=e.FullPaths[s];if(u&&0!==u.length){f=e.FileIndex[s],0===s&&(f.start=f.size?f.start-1:U);var h=0===s&&r.root||f.name;if(c=2*(h.length+1),n.write_shift(64,h,"utf16le"),n.write_shift(2,c),n.write_shift(1,f.type),n.write_shift(1,f.color),n.write_shift(-4,f.L),n.write_shift(-4,f.R),n.write_shift(-4,f.C),f.clsid)n.write_shift(16,f.clsid,"hex");else for(l=0;l<4;++l)n.write_shift(4,0);n.write_shift(4,f.state||0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,0),n.write_shift(4,f.start),n.write_shift(4,f.size),n.write_shift(4,0)}else{for(l=0;l<17;++l)n.write_shift(4,0);for(l=0;l<3;++l)n.write_shift(4,-1);for(l=0;l<12;++l)n.write_shift(4,0)}}for(s=1;s<e.FileIndex.length;++s)if(f=e.FileIndex[s],f.size>=4096)if(n.l=f.start+1<<9,S&&Buffer.isBuffer(f.content))f.content.copy(n,n.l,0,f.size),n.l+=f.size+511&-512;else{for(l=0;l<f.size;++l)n.write_shift(1,f.content[l]);for(;511&l;++l)n.write_shift(1,0)}for(s=1;s<e.FileIndex.length;++s)if(f=e.FileIndex[s],f.size>0&&f.size<4096)if(S&&Buffer.isBuffer(f.content))f.content.copy(n,n.l,0,f.size),n.l+=f.size+63&-64;else{for(l=0;l<f.size;++l)n.write_shift(1,f.content[l]);for(;63&l;++l)n.write_shift(1,0)}if(S)n.l=n.length;else while(n.l<n.length)n.write_shift(1,0);return n}function I(e,t){var r=e.FullPaths.map((function(e){return e.toUpperCase()})),a=r.map((function(e){var t=e.split("/");return t[t.length-("/"==e.slice(-1)?2:1)]})),n=!1;47===t.charCodeAt(0)?(n=!0,t=r[0].slice(0,-1)+t):n=-1!==t.indexOf("/");var s=t.toUpperCase(),i=!0===n?r.indexOf(s):a.indexOf(s);if(-1!==i)return e.FileIndex[i];var o=!s.match(L);for(s=s.replace(M,""),o&&(s=s.replace(L,"!")),i=0;i<r.length;++i){if((o?r[i].replace(L,"!"):r[i]).replace(M,"")==s)return e.FileIndex[i];if((o?a[i].replace(L,"!"):a[i]).replace(M,"")==s)return e.FileIndex[i]}return null}t.version="1.2.1";var F,B=64,U=-2,z="d0cf11e0a1b11ae1",W=[208,207,17,224,161,177,26,225],H="00000000000000000000000000000000",j={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:U,FREESECT:-1,HEADER_SIGNATURE:z,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:H,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function V(t,r,a){l();var n=N(t,a);e.writeFileSync(r,n)}function G(e){for(var t=new Array(e.length),r=0;r<e.length;++r)t[r]=String.fromCharCode(e[r]);return t.join("")}function $(t,r){var a=N(t,r);switch(r&&r.type||"buffer"){case"file":return l(),e.writeFileSync(r.filename,a),a;case"binary":return"string"==typeof a?a:G(a);case"base64":return _("string"==typeof a?a:G(a));case"buffer":if(S)return Buffer.isBuffer(a)?a:A(a);case"array":return"string"==typeof a?R(a):a}return a}function X(e){try{var t=e.InflateRaw,r=new t;if(r._processChunk(new Uint8Array([3,0]),r._finishFlushFlag),!r.bytesRead)throw new Error("zlib does not expose bytesRead");F=e}catch(a){console.error("cannot use native zlib: "+(a.message||a))}}function Y(e,t){if(!F)return Re(e,t);var r=F.InflateRaw,a=new r,n=a._processChunk(e.slice(e.l),a._finishFlushFlag);return e.l+=a.bytesRead,n}function K(e){return F?F.deflateRawSync(e):ke(e)}var Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],q=[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],J=[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 Q(e){var t=139536&(e<<1|e<<11)|558144&(e<<5|e<<15);return 255&(t>>16|t>>8|t)}for(var ee="undefined"!==typeof Uint8Array,te=ee?new Uint8Array(256):[],re=0;re<256;++re)te[re]=Q(re);function ae(e,t){var r=te[255&e];return t<=8?r>>>8-t:(r=r<<8|te[e>>8&255],t<=16?r>>>16-t:(r=r<<8|te[e>>16&255],r>>>24-t))}function ne(e,t){var r=7&t,a=t>>>3;return(e[a]|(r<=6?0:e[a+1]<<8))>>>r&3}function se(e,t){var r=7&t,a=t>>>3;return(e[a]|(r<=5?0:e[a+1]<<8))>>>r&7}function ie(e,t){var r=7&t,a=t>>>3;return(e[a]|(r<=4?0:e[a+1]<<8))>>>r&15}function oe(e,t){var r=7&t,a=t>>>3;return(e[a]|(r<=3?0:e[a+1]<<8))>>>r&31}function le(e,t){var r=7&t,a=t>>>3;return(e[a]|(r<=1?0:e[a+1]<<8))>>>r&127}function ce(e,t,r){var a=7&t,n=t>>>3,s=(1<<r)-1,i=e[n]>>>a;return r<8-a?i&s:(i|=e[n+1]<<8-a,r<16-a?i&s:(i|=e[n+2]<<16-a,r<24-a||(i|=e[n+3]<<24-a),i&s))}function fe(e,t,r){var a=7&t,n=t>>>3;return a<=5?e[n]|=(7&r)<<a:(e[n]|=r<<a&255,e[n+1]=(7&r)>>8-a),t+3}function ue(e,t,r){var a=7&t,n=t>>>3;return r=(1&r)<<a,e[n]|=r,t+1}function he(e,t,r){var a=7&t,n=t>>>3;return r<<=a,e[n]|=255&r,r>>>=8,e[n+1]=r,t+8}function de(e,t,r){var a=7&t,n=t>>>3;return r<<=a,e[n]|=255&r,r>>>=8,e[n+1]=255&r,e[n+2]=r>>>8,t+16}function pe(e,t){var r=e.length,a=2*r>t?2*r:t+5,n=0;if(r>=t)return e;if(S){var s=C(a);if(e.copy)e.copy(s);else for(;n<e.length;++n)s[n]=e[n];return s}if(ee){var i=new Uint8Array(a);if(i.set)i.set(e);else for(;n<r;++n)i[n]=e[n];return i}return e.length=a,e}function me(e){for(var t=new Array(e),r=0;r<e;++r)t[r]=0;return t}function be(e,t,r){var a=1,n=0,s=0,i=0,o=0,l=e.length,c=ee?new Uint16Array(32):me(32);for(s=0;s<32;++s)c[s]=0;for(s=l;s<r;++s)e[s]=0;l=e.length;var f=ee?new Uint16Array(l):me(l);for(s=0;s<l;++s)c[n=e[s]]++,a<n&&(a=n),f[s]=0;for(c[0]=0,s=1;s<=a;++s)c[s+16]=o=o+c[s-1]<<1;for(s=0;s<l;++s)o=e[s],0!=o&&(f[s]=c[o+16]++);var u=0;for(s=0;s<l;++s)if(u=e[s],0!=u)for(o=ae(f[s],a)>>a-u,i=(1<<a+4-u)-1;i>=0;--i)t[o|i<<u]=15&u|s<<4;return a}var ge=ee?new Uint16Array(512):me(512),ve=ee?new Uint16Array(32):me(32);if(!ee){for(var we=0;we<512;++we)ge[we]=0;for(we=0;we<32;++we)ve[we]=0}(function(){for(var e=[],t=0;t<32;t++)e.push(5);be(e,ve,32);var r=[];for(t=0;t<=143;t++)r.push(8);for(;t<=255;t++)r.push(9);for(;t<=279;t++)r.push(7);for(;t<=287;t++)r.push(8);be(r,ge,288)})();var ye=function(){for(var e=ee?new Uint8Array(32768):[],t=0,r=0;t<J.length-1;++t)for(;r<J[t+1];++r)e[r]=t;for(;r<32768;++r)e[r]=29;var a=ee?new Uint8Array(259):[];for(t=0,r=0;t<q.length-1;++t)for(;r<q[t+1];++r)a[r]=t;function n(e,t){var r=0;while(r<e.length){var a=Math.min(65535,e.length-r),n=r+a==e.length;t.write_shift(1,+n),t.write_shift(2,a),t.write_shift(2,65535&~a);while(a-- >0)t[t.l++]=e[r++]}return t.l}function s(t,r){var n=0,s=0,i=ee?new Uint16Array(32768):[];while(s<t.length){var o=Math.min(65535,t.length-s);if(o<10){n=fe(r,n,+!(s+o!=t.length)),7&n&&(n+=8-(7&n)),r.l=n/8|0,r.write_shift(2,o),r.write_shift(2,65535&~o);while(o-- >0)r[r.l++]=t[s++];n=8*r.l}else{n=fe(r,n,+!(s+o!=t.length)+2);var l=0;while(o-- >0){var c=t[s];l=32767&(l<<5^c);var f=-1,u=0;if((f=i[l])&&(f|=-32768&s,f>s&&(f-=32768),f<s))while(t[f+u]==t[s+u]&&u<250)++u;if(u>2){c=a[u],c<=22?n=he(r,n,te[c+1]>>1)-1:(he(r,n,3),n+=5,he(r,n,te[c-23]>>5),n+=3);var h=c<8?0:c-4>>2;h>0&&(de(r,n,u-q[c]),n+=h),c=e[s-f],n=he(r,n,te[c]>>3),n-=3;var d=c<4?0:c-2>>1;d>0&&(de(r,n,s-f-J[c]),n+=d);for(var p=0;p<u;++p)i[l]=32767&s,l=32767&(l<<5^t[s]),++s;o-=u-1}else c<=143?c+=48:n=ue(r,n,1),n=he(r,n,te[c]),i[l]=32767&s,++s}n=he(r,n,0)-1}}return r.l=(n+7)/8|0,r.l}return function(e,t){return e.length<8?n(e,t):s(e,t)}}();function ke(e){var t=ba(50+Math.floor(1.1*e.length)),r=ye(e,t);return t.slice(0,r)}var Te=ee?new Uint16Array(32768):me(32768),_e=ee?new Uint16Array(32768):me(32768),Ee=ee?new Uint16Array(128):me(128),Se=1,Ae=1;function xe(e,t){var r=oe(e,t)+257;t+=5;var a=oe(e,t)+1;t+=5;var n=ie(e,t)+4;t+=4;for(var s=0,i=ee?new Uint8Array(19):me(19),o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],l=1,c=ee?new Uint8Array(8):me(8),f=ee?new Uint8Array(8):me(8),u=i.length,h=0;h<n;++h)i[Z[h]]=s=se(e,t),l<s&&(l=s),c[s]++,t+=3;var d=0;for(c[0]=0,h=1;h<=l;++h)f[h]=d=d+c[h-1]<<1;for(h=0;h<u;++h)0!=(d=i[h])&&(o[h]=f[d]++);var p=0;for(h=0;h<u;++h)if(p=i[h],0!=p){d=te[o[h]]>>8-p;for(var m=(1<<7-p)-1;m>=0;--m)Ee[d|m<<p]=7&p|h<<3}var b=[];for(l=1;b.length<r+a;)switch(d=Ee[le(e,t)],t+=7&d,d>>>=3){case 16:s=3+ne(e,t),t+=2,d=b[b.length-1];while(s-- >0)b.push(d);break;case 17:s=3+se(e,t),t+=3;while(s-- >0)b.push(0);break;case 18:s=11+le(e,t),t+=7;while(s-- >0)b.push(0);break;default:b.push(d),l<d&&(l=d);break}var g=b.slice(0,r),v=b.slice(r);for(h=r;h<286;++h)g[h]=0;for(h=a;h<30;++h)v[h]=0;return Se=be(g,Te,286),Ae=be(v,_e,30),t}function Ce(e,t){if(3==e[0]&&!(3&e[1]))return[x(t),2];var r=0,a=0,n=C(t||1<<18),s=0,i=n.length>>>0,o=0,l=0;while(0==(1&a))if(a=se(e,r),r+=3,a>>>1!=0)for(a>>1==1?(o=9,l=5):(r=xe(e,r),o=Se,l=Ae);;){!t&&i<s+32767&&(n=pe(n,s+32767),i=n.length);var c=ce(e,r,o),f=a>>>1==1?ge[c]:Te[c];if(r+=15&f,f>>>=4,0===(f>>>8&255))n[s++]=f;else{if(256==f)break;f-=257;var u=f<8?0:f-4>>2;u>5&&(u=0);var h=s+q[f];u>0&&(h+=ce(e,r,u),r+=u),c=ce(e,r,l),f=a>>>1==1?ve[c]:_e[c],r+=15&f,f>>>=4;var d=f<4?0:f-2>>1,p=J[f];d>0&&(p+=ce(e,r,d),r+=d),!t&&i<h&&(n=pe(n,h+100),i=n.length);while(s<h)n[s]=n[s-p],++s}}else{7&r&&(r+=8-(7&r));var m=e[r>>>3]|e[1+(r>>>3)]<<8;if(r+=32,m>0){!t&&i<s+m&&(n=pe(n,s+m),i=n.length);while(m-- >0)n[s++]=e[r>>>3],r+=8}}return t?[n,r+7>>>3]:[n.slice(0,s),r+7>>>3]}function Re(e,t){var r=e.slice(e.l||0),a=Ce(r,t);return e.l+=a[1],a[0]}function Pe(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function Oe(e,t){var r=e;pa(r,0);var a=[],n=[],s={FileIndex:a,FullPaths:n};T(s,{root:t.root});var i=r.length-4;while((80!=r[i]||75!=r[i+1]||5!=r[i+2]||6!=r[i+3])&&i>=0)--i;r.l=i+4,r.l+=4;var l=r.read_shift(2);r.l+=6;var c=r.read_shift(4);for(r.l=c,i=0;i<l;++i){r.l+=20;var f=r.read_shift(4),u=r.read_shift(4),h=r.read_shift(2),d=r.read_shift(2),p=r.read_shift(2);r.l+=8;var m=r.read_shift(4),b=o(r.slice(r.l+h,r.l+h+d));r.l+=h+d+p;var g=r.l;r.l=m+4,Ne(r,f,u,s,b),r.l=g}return s}function Ne(e,t,r,a,n){e.l+=2;var s=e.read_shift(2),l=e.read_shift(2),c=i(e);if(8257&s)throw new Error("Unsupported ZIP encryption");for(var f=e.read_shift(4),u=e.read_shift(4),h=e.read_shift(4),d=e.read_shift(2),p=e.read_shift(2),m="",b=0;b<d;++b)m+=String.fromCharCode(e[e.l++]);if(p){var g=o(e.slice(e.l,e.l+p));(g[21589]||{}).mt&&(c=g[21589].mt),((n||{})[21589]||{}).mt&&(c=n[21589].mt)}e.l+=p;var v=e.slice(e.l,e.l+u);switch(l){case 8:v=Y(e,h);break;case 0:break;default:throw new Error("Unsupported ZIP Compression method "+l)}var w=!1;8&s&&(f=e.read_shift(4),134695760==f&&(f=e.read_shift(4),w=!0),u=e.read_shift(4),h=e.read_shift(4)),u!=t&&Pe(w,"Bad compressed size: "+t+" != "+u),h!=r&&Pe(w,"Bad uncompressed size: "+r+" != "+h),je(a,m,v,{unsafe:!0,mt:c})}function Ie(e,t){var r=t||{},a=[],n=[],i=ba(1),o=r.compression?8:0,l=0,c=!1;c&&(l|=8);var f=0,u=0,h=0,d=0,p=e.FullPaths[0],m=p,b=e.FileIndex[0],g=[],v=0;for(f=1;f<e.FullPaths.length;++f)if(m=e.FullPaths[f].slice(p.length),b=e.FileIndex[f],b.size&&b.content&&"Sh33tJ5"!=m){var w=h,y=ba(m.length);for(u=0;u<m.length;++u)y.write_shift(1,127&m.charCodeAt(u));y=y.slice(0,y.l),g[d]=Je.buf(b.content,0);var k=b.content;8==o&&(k=K(k)),i=ba(30),i.write_shift(4,67324752),i.write_shift(2,20),i.write_shift(2,l),i.write_shift(2,o),b.mt?s(i,b.mt):i.write_shift(4,0),i.write_shift(-4,8&l?0:g[d]),i.write_shift(4,8&l?0:k.length),i.write_shift(4,8&l?0:b.content.length),i.write_shift(2,y.length),i.write_shift(2,0),h+=i.length,a.push(i),h+=y.length,a.push(y),h+=k.length,a.push(k),8&l&&(i=ba(12),i.write_shift(-4,g[d]),i.write_shift(4,k.length),i.write_shift(4,b.content.length),h+=i.l,a.push(i)),i=ba(46),i.write_shift(4,33639248),i.write_shift(2,0),i.write_shift(2,20),i.write_shift(2,l),i.write_shift(2,o),i.write_shift(4,0),i.write_shift(-4,g[d]),i.write_shift(4,k.length),i.write_shift(4,b.content.length),i.write_shift(2,y.length),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(4,0),i.write_shift(4,w),v+=i.l,n.push(i),v+=y.length,n.push(y),++d}return i=ba(22),i.write_shift(4,101010256),i.write_shift(2,0),i.write_shift(2,0),i.write_shift(2,d),i.write_shift(2,d),i.write_shift(4,v),i.write_shift(4,h),i.write_shift(2,0),D([D(a),D(n),i])}var De={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 Fe(e,t){if(e.ctype)return e.ctype;var r=e.name||"",a=r.match(/\.([^\.]+)$/);return a&&De[a[1]]||t&&(a=(r=t).match(/[\.\\]([^\.\\])+$/),a&&De[a[1]])?De[a[1]]:"application/octet-stream"}function Me(e){for(var t=_(e),r=[],a=0;a<t.length;a+=76)r.push(t.slice(a,a+76));return r.join("\r\n")+"\r\n"}function Le(e){var t=e.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,(function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return"="+(1==t.length?"0"+t:t)}));t=t.replace(/ $/gm,"=20").replace(/\t$/gm,"=09"),"\n"==t.charAt(0)&&(t="=0D"+t.slice(1)),t=t.replace(/\r(?!\n)/gm,"=0D").replace(/\n\n/gm,"\n=0A").replace(/([^\r\n])\n/gm,"$1=0A");for(var r=[],a=t.split("\r\n"),n=0;n<a.length;++n){var s=a[n];if(0!=s.length)for(var i=0;i<s.length;){var o=76,l=s.slice(i,i+o);"="==l.charAt(o-1)?o--:"="==l.charAt(o-2)?o-=2:"="==l.charAt(o-3)&&(o-=3),l=s.slice(i,i+o),i+=o,i<s.length&&(l+="="),r.push(l)}else r.push("")}return r.join("\r\n")}function Be(e){for(var t=[],r=0;r<e.length;++r){var a=e[r];while(r<=e.length&&"="==a.charAt(a.length-1))a=a.slice(0,a.length-1)+e[++r];t.push(a)}for(var n=0;n<t.length;++n)t[n]=t[n].replace(/[=][0-9A-Fa-f]{2}/g,(function(e){return String.fromCharCode(parseInt(e.slice(1),16))}));return R(t.join("\r\n"))}function Ue(e,t,r){for(var a,n="",s="",i="",o=0;o<10;++o){var l=t[o];if(!l||l.match(/^\s*$/))break;var c=l.match(/^(.*?):\s*([^\s].*)$/);if(c)switch(c[1].toLowerCase()){case"content-location":n=c[2].trim();break;case"content-type":i=c[2].trim();break;case"content-transfer-encoding":s=c[2].trim();break}}switch(++o,s.toLowerCase()){case"base64":a=R(E(t.slice(o).join("")));break;case"quoted-printable":a=Be(t.slice(o));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+s)}var f=je(e,n.slice(r.length),a,{unsafe:!0});i&&(f.ctype=i)}function ze(e,t){if("mime-version:"!=G(e.slice(0,13)).toLowerCase())throw new Error("Unsupported MAD header");var r=t&&t.root||"",a=(S&&Buffer.isBuffer(e)?e.toString("binary"):G(e)).split("\r\n"),n=0,s="";for(n=0;n<a.length;++n)if(s=a[n],/^Content-Location:/i.test(s)&&(s=s.slice(s.indexOf("file")),r||(r=s.slice(0,s.lastIndexOf("/")+1)),s.slice(0,r.length)!=r))while(r.length>0)if(r=r.slice(0,r.length-1),r=r.slice(0,r.lastIndexOf("/")+1),s.slice(0,r.length)==r)break;var i=(a[1]||"").match(/boundary="(.*?)"/);if(!i)throw new Error("MAD cannot find boundary");var o="--"+(i[1]||""),l=[],c=[],f={FileIndex:l,FullPaths:c};T(f);var u,h=0;for(n=0;n<a.length;++n){var d=a[n];d!==o&&d!==o+"--"||(h++&&Ue(f,a.slice(u,n),r),u=n)}return f}function We(e,t){var r=t||{},a=r.boundary||"SheetJS";a="------="+a;for(var n=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+a.slice(2)+'"',"","",""],s=e.FullPaths[0],i=s,o=e.FileIndex[0],l=1;l<e.FullPaths.length;++l)if(i=e.FullPaths[l].slice(s.length),o=e.FileIndex[l],o.size&&o.content&&"Sh33tJ5"!=i){i=i.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,(function(e){return"_x"+e.charCodeAt(0).toString(16)+"_"})).replace(/[\u0080-\uFFFF]/g,(function(e){return"_u"+e.charCodeAt(0).toString(16)+"_"}));for(var c=o.content,f=S&&Buffer.isBuffer(c)?c.toString("binary"):G(c),u=0,h=Math.min(1024,f.length),d=0,p=0;p<=h;++p)(d=f.charCodeAt(p))>=32&&d<128&&++u;var m=u>=4*h/5;n.push(a),n.push("Content-Location: "+(r.root||"file:///C:/SheetJS/")+i),n.push("Content-Transfer-Encoding: "+(m?"quoted-printable":"base64")),n.push("Content-Type: "+Fe(o,i)),n.push(""),n.push(m?Le(f):Me(f))}return n.push(a+"--\r\n"),n.join("\r\n")}function He(e){var t={};return T(t,e),t}function je(e,t,r,a){var s=a&&a.unsafe;s||T(e);var i=!s&&Qe.find(e,t);if(!i){var o=e.FullPaths[0];t.slice(0,o.length)==o?o=t:("/"!=o.slice(-1)&&(o+="/"),o=(o+t).replace("//","/")),i={name:n(t),type:2},e.FileIndex.push(i),e.FullPaths.push(o),s||Qe.utils.cfb_gc(e)}return i.content=r,i.size=r?r.length:0,a&&(a.CLSID&&(i.clsid=a.CLSID),a.mt&&(i.mt=a.mt),a.ct&&(i.ct=a.ct)),i}function Ve(e,t){T(e);var r=Qe.find(e,t);if(r)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==r)return e.FileIndex.splice(a,1),e.FullPaths.splice(a,1),!0;return!1}function Ge(e,t,r){T(e);var a=Qe.find(e,t);if(a)for(var s=0;s<e.FileIndex.length;++s)if(e.FileIndex[s]==a)return e.FileIndex[s].name=n(r),e.FullPaths[s]=r,!0;return!1}function $e(e){O(e,!0)}return t.find=I,t.read=k,t.parse=c,t.write=$,t.writeFile=V,t.utils={cfb_new:He,cfb_add:je,cfb_del:Ve,cfb_mov:Ge,cfb_gc:$e,ReadShift:la,CheckField:da,prep_blob:pa,bconcat:D,use_zlib:X,_deflateRaw:ke,_inflateRaw:Re,consts:j},t}();let et=void 0;function tt(e){et=e}function rt(e){return"string"===typeof e?P(e):Array.isArray(e)?N(e):e}function at(e,t,r){if("undefined"!==typeof et&&et.writeFileSync)return r?et.writeFileSync(e,t,r):et.writeFileSync(e,t);if("undefined"!==typeof Deno){if(r&&"string"==typeof t)switch(r){case"utf8":t=new TextEncoder(r).encode(t);break;case"binary":t=P(t);break;default:throw new Error("Unsupported encoding "+r)}return Deno.writeFileSync(e,t)}var a="utf8"==r?pr(t):t;if("undefined"!==typeof IE_SaveFile)return IE_SaveFile(a,e);if("undefined"!==typeof Blob){var n=new Blob([rt(a)],{type:"application/octet-stream"});if("undefined"!==typeof navigator&&navigator.msSaveBlob)return navigator.msSaveBlob(n,e);if("undefined"!==typeof saveAs)return saveAs(n,e);if("undefined"!==typeof URL&&"undefined"!==typeof document&&document.createElement&&URL.createObjectURL){var s=URL.createObjectURL(n);if("object"===typeof chrome&&"function"==typeof(chrome.downloads||{}).download)return URL.revokeObjectURL&&"undefined"!==typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(s)}),6e4),chrome.downloads.download({url:s,filename:e,saveAs:!0});var i=document.createElement("a");if(null!=i.download)return i.download=e,i.href=s,document.body.appendChild(i),i.click(),document.body.removeChild(i),URL.revokeObjectURL&&"undefined"!==typeof setTimeout&&setTimeout((function(){URL.revokeObjectURL(s)}),6e4),s}}if("undefined"!==typeof $&&"undefined"!==typeof File&&"undefined"!==typeof Folder)try{var o=File(e);return o.open("w"),o.encoding="binary",Array.isArray(t)&&(t=O(t)),o.write(t),o.close(),t}catch(l){if(!l.message||!l.message.match(/onstruct/))throw l}throw new Error("cannot save file "+e)}function nt(e){if("undefined"!==typeof et)return et.readFileSync(e);if("undefined"!==typeof Deno)return Deno.readFileSync(e);if("undefined"!==typeof $&&"undefined"!==typeof File&&"undefined"!==typeof Folder)try{var t=File(e);t.open("r"),t.encoding="binary";var r=t.read();return t.close(),r}catch(a){if(!a.message||!a.message.match(/onstruct/))throw a}throw new Error("Cannot access file "+e)}function st(e){for(var t=Object.keys(e),r=[],a=0;a<t.length;++a)Object.prototype.hasOwnProperty.call(e,t[a])&&r.push(t[a]);return r}function it(e,t){for(var r=[],a=st(e),n=0;n!==a.length;++n)null==r[e[a[n]][t]]&&(r[e[a[n]][t]]=a[n]);return r}function ot(e){for(var t=[],r=st(e),a=0;a!==r.length;++a)t[e[r[a]]]=r[a];return t}function lt(e){for(var t=[],r=st(e),a=0;a!==r.length;++a)t[e[r[a]]]=parseInt(r[a],10);return t}function ct(e){for(var t=[],r=st(e),a=0;a!==r.length;++a)null==t[e[r[a]]]&&(t[e[r[a]]]=[]),t[e[r[a]]].push(r[a]);return t}var ft=new Date(1899,11,30,0,0,0);function ut(e,t){var r=e.getTime();t&&(r-=1263168e5);var a=ft.getTime()+6e4*(e.getTimezoneOffset()-ft.getTimezoneOffset());return(r-a)/864e5}var ht=new Date,dt=ft.getTime()+6e4*(ht.getTimezoneOffset()-ft.getTimezoneOffset()),pt=ht.getTimezoneOffset();function mt(e){var t=new Date;return t.setTime(24*e*60*60*1e3+dt),t.getTimezoneOffset()!==pt&&t.setTime(t.getTime()+6e4*(t.getTimezoneOffset()-pt)),t}function bt(e){var t=0,r=0,a=!1,n=e.match(/P([0-9\.]+Y)?([0-9\.]+M)?([0-9\.]+D)?T([0-9\.]+H)?([0-9\.]+M)?([0-9\.]+S)?/);if(!n)throw new Error("|"+e+"| is not an ISO8601 Duration");for(var s=1;s!=n.length;++s)if(n[s]){switch(r=1,s>3&&(a=!0),n[s].slice(n[s].length-1)){case"Y":throw new Error("Unsupported ISO Duration Field: "+n[s].slice(n[s].length-1));case"D":r*=24;case"H":r*=60;case"M":if(!a)throw new Error("Unsupported ISO Duration Field: M");r*=60;case"S":break}t+=r*parseInt(n[s],10)}return t}var gt=new Date("2017-02-19T19:06:09.000Z"),vt=isNaN(gt.getFullYear())?new Date("2/19/17"):gt,wt=2017==vt.getFullYear();function yt(e,t){var r=new Date(e);if(wt)return t>0?r.setTime(r.getTime()+60*r.getTimezoneOffset()*1e3):t<0&&r.setTime(r.getTime()-60*r.getTimezoneOffset()*1e3),r;if(e instanceof Date)return e;if(1917==vt.getFullYear()&&!isNaN(r.getFullYear())){var a=r.getFullYear();return e.indexOf(""+a)>-1||r.setFullYear(r.getFullYear()+100),r}var n=e.match(/\d+/g)||["2017","2","19","0","0","0"],s=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);return e.indexOf("Z")>-1&&(s=new Date(s.getTime()-60*s.getTimezoneOffset()*1e3)),s}function kt(e,t){if(S&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return pr(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return pr(p(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return pr(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return pr(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"€":"€","‚":"‚","ƒ":"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰","Š":"Š","‹":"‹","Œ":"Œ","Ž":"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™","š":"š","›":"›","œ":"œ","ž":"ž","Ÿ":"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,(function(e){return r[e]||e}))}catch(s){}for(var a=[],n=0;n!=e.length;++n)a.push(String.fromCharCode(e[n]));return a.join("")}function Tt(e){if("undefined"!=typeof JSON&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if("object"!=typeof e||null==e)return e;if(e instanceof Date)return new Date(e.getTime());var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=Tt(e[r]));return t}function _t(e,t){var r="";while(r.length<t)r+=e;return r}function Et(e){var t=Number(e);if(!isNaN(t))return isFinite(t)?t:NaN;if(!/\d/.test(e))return t;var r=1,a=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,(function(){return r*=100,""}));return isNaN(t=Number(a))?(a=a.replace(/[(](.*)[)]/,(function(e,t){return r=-r,t})),isNaN(t=Number(a))?t:t/r):t/r}var St=["january","february","march","april","may","june","july","august","september","october","november","december"];function At(e){var t=new Date(e),r=new Date(NaN),a=t.getYear(),n=t.getMonth(),s=t.getDate();if(isNaN(s))return r;var i=e.toLowerCase();if(i.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(i=i.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),i.length>3&&-1==St.indexOf(i))return r}else if(i.match(/[a-z]/))return r;return a<0||a>8099?r:(n>0||s>1)&&101!=a?t:e.match(/[^-0-9:,\/\\]/)?r:t}var xt=function(){var e=5=="abacaba".split(/(:?b)/i).length;return function(t,r,a){if(e||"string"==typeof r)return t.split(r);for(var n=t.split(r),s=[n[0]],i=1;i<n.length;++i)s.push(a),s.push(n[i]);return s}}();function Ct(e){return e?e.content&&e.type?kt(e.content,!0):e.data?b(e.data):e.asNodeBuffer&&S?b(e.asNodeBuffer().toString("binary")):e.asBinary?b(e.asBinary()):e._data&&e._data.getContent?b(kt(Array.prototype.slice.call(e._data.getContent(),0))):null:null}function Rt(e){if(!e)return null;if(e.data)return h(e.data);if(e.asNodeBuffer&&S)return e.asNodeBuffer();if(e._data&&e._data.getContent){var t=e._data.getContent();return"string"==typeof t?h(t):Array.prototype.slice.call(t)}return e.content&&e.type?e.content:null}function Pt(e){return e&&".bin"===e.name.slice(-4)?Rt(e):Ct(e)}function Ot(e,t){for(var r=e.FullPaths||st(e.files),a=t.toLowerCase().replace(/[\/]/g,"\\"),n=a.replace(/\\/g,"/"),s=0;s<r.length;++s){var i=r[s].replace(/^Root Entry[\/]/,"").toLowerCase();if(a==i||n==i)return e.files?e.files[r[s]]:e.FileIndex[s]}return null}function Nt(e,t){var r=Ot(e,t);if(null==r)throw new Error("Cannot find file "+t+" in zip");return r}function It(e,t,r){if(!r)return Pt(Nt(e,t));if(!t)return null;try{return It(e,t)}catch(a){return null}}function Dt(e,t,r){if(!r)return Ct(Nt(e,t));if(!t)return null;try{return Dt(e,t)}catch(a){return null}}function Ft(e,t,r){if(!r)return Rt(Nt(e,t));if(!t)return null;try{return Ft(e,t)}catch(a){return null}}function Mt(e){for(var t=e.FullPaths||st(e.files),r=[],a=0;a<t.length;++a)"/"!=t[a].slice(-1)&&r.push(t[a].replace(/^Root Entry[\/]/,""));return r.sort()}function Lt(e,t,r){if(e.FullPaths){var a;if("string"==typeof r)return a=S?A(r):F(r),Qe.utils.cfb_add(e,t,a);Qe.utils.cfb_add(e,t,r)}else e.file(t,r)}function Bt(){return Qe.utils.cfb_new()}function Ut(e,t){switch(t.type){case"base64":return Qe.read(e,{type:"base64"});case"binary":return Qe.read(e,{type:"binary"});case"buffer":case"array":return Qe.read(e,{type:"buffer"})}throw new Error("Unrecognized type "+t.type)}function zt(e,t){if("/"==e.charAt(0))return e.slice(1);var r=t.split("/");"/"!=t.slice(-1)&&r.pop();var a=e.split("/");while(0!==a.length){var n=a.shift();".."===n?r.pop():"."!==n&&r.push(n)}return r.join("/")}var Wt='<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r\n',Ht=/([^"\s?>\/]+)\s*=\s*((?:")([^"]*)(?:")|(?:')([^']*)(?:')|([^'">\s]+))/g,jt=/<[\/\?]?[a-zA-Z0-9:_-]+(?:\s+[^"\s?>\/]+\s*=\s*(?:"[^"]*"|'[^']*'|[^'">\s=]+))*\s*[\/\?]?>/gm,Vt=/<[^>]*>/g,Gt=Wt.match(jt)?jt:Vt,$t=/<\w*:/,Xt=/<(\/?)\w+:/;function Yt(e,t,r){for(var a={},n=0,s=0;n!==e.length;++n)if(32===(s=e.charCodeAt(n))||10===s||13===s)break;if(t||(a[0]=e.slice(0,n)),n===e.length)return a;var i=e.match(Ht),o=0,l="",c=0,f="",u="",h=1;if(i)for(c=0;c!=i.length;++c){for(u=i[c],s=0;s!=u.length;++s)if(61===u.charCodeAt(s))break;f=u.slice(0,s).trim();while(32==u.charCodeAt(s+1))++s;for(h=34==(n=u.charCodeAt(s+1))||39==n?1:0,l=u.slice(s+1+h,u.length-h),o=0;o!=f.length;++o)if(58===f.charCodeAt(o))break;if(o===f.length)f.indexOf("_")>0&&(f=f.slice(0,f.indexOf("_"))),a[f]=l,r||(a[f.toLowerCase()]=l);else{var d=(5===o&&"xmlns"===f.slice(0,5)?"xmlns":"")+f.slice(o+1);if(a[d]&&"ext"==f.slice(o-3,o))continue;a[d]=l,r||(a[d.toLowerCase()]=l)}}return a}function Kt(e){return e.replace(Xt,"<$1")}var Zt={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},qt=ot(Zt),Jt=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\da-fA-F]+));/gi,t=/_x([\da-fA-F]{4})_/gi;return function r(a){var n=a+"",s=n.indexOf("<![CDATA[");if(-1==s)return n.replace(e,(function(e,t){return Zt[e]||String.fromCharCode(parseInt(t,e.indexOf("x")>-1?16:10))||e})).replace(t,(function(e,t){return String.fromCharCode(parseInt(t,16))}));var i=n.indexOf("]]>");return r(n.slice(0,s))+n.slice(s+9,i)+r(n.slice(i+3))}}(),Qt=/[&<>'"]/g,er=/[\u0000-\u0008\u000b-\u001f]/g;function tr(e){var t=e+"";return t.replace(Qt,(function(e){return qt[e]})).replace(er,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function rr(e){return tr(e).replace(/ /g,"_x0020_")}var ar=/[\u0000-\u001f]/g;function nr(e){var t=e+"";return t.replace(Qt,(function(e){return qt[e]})).replace(/\n/g,"<br/>").replace(ar,(function(e){return"&#x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}function sr(e){var t=e+"";return t.replace(Qt,(function(e){return qt[e]})).replace(ar,(function(e){return"&#x"+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}var ir=function(){var e=/&#(\d+);/g;function t(e,t){return String.fromCharCode(parseInt(t,10))}return function(r){return r.replace(e,t)}}();function or(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")}function lr(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function cr(e){var t="",r=0,a=0,n=0,s=0,i=0,o=0;while(r<e.length)a=e.charCodeAt(r++),a<128?t+=String.fromCharCode(a):(n=e.charCodeAt(r++),a>191&&a<224?(i=(31&a)<<6,i|=63&n,t+=String.fromCharCode(i)):(s=e.charCodeAt(r++),a<240?t+=String.fromCharCode((15&a)<<12|(63&n)<<6|63&s):(i=e.charCodeAt(r++),o=((7&a)<<18|(63&n)<<12|(63&s)<<6|63&i)-65536,t+=String.fromCharCode(55296+(o>>>10&1023)),t+=String.fromCharCode(56320+(1023&o)))));return t}function fr(e){var t,r,a,n=x(2*e.length),s=1,i=0,o=0;for(r=0;r<e.length;r+=s)s=1,(a=e.charCodeAt(r))<128?t=a:a<224?(t=64*(31&a)+(63&e.charCodeAt(r+1)),s=2):a<240?(t=4096*(15&a)+64*(63&e.charCodeAt(r+1))+(63&e.charCodeAt(r+2)),s=3):(s=4,t=262144*(7&a)+4096*(63&e.charCodeAt(r+1))+64*(63&e.charCodeAt(r+2))+(63&e.charCodeAt(r+3)),t-=65536,o=55296+(t>>>10&1023),t=56320+(1023&t)),0!==o&&(n[i++]=255&o,n[i++]=o>>>8,o=0),n[i++]=t%256,n[i++]=t>>>8;return n.slice(0,i).toString("ucs2")}function ur(e){return A(e,"binary").toString("utf8")}var hr="foo bar baz☃🍣",dr=S&&(ur(hr)==cr(hr)&&ur||fr(hr)==cr(hr)&&fr)||cr,pr=S?function(e){return A(e,"utf8").toString("binary")}:function(e){var t=[],r=0,a=0,n=0;while(r<e.length)switch(a=e.charCodeAt(r++),!0){case a<128:t.push(String.fromCharCode(a));break;case a<2048:t.push(String.fromCharCode(192+(a>>6))),t.push(String.fromCharCode(128+(63&a)));break;case a>=55296&&a<57344:a-=55296,n=e.charCodeAt(r++)-56320+(a<<10),t.push(String.fromCharCode(240+(n>>18&7))),t.push(String.fromCharCode(144+(n>>12&63))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)));break;default:t.push(String.fromCharCode(224+(a>>12))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)))}return t.join("")},mr=function(){var e={};return function(t,r){var a=t+"|"+(r||"");return e[a]?e[a]:e[a]=new RegExp("<(?:\\w+:)?"+t+'(?: xml:space="preserve")?(?:[^>]*)>([\\s\\S]*?)</(?:\\w+:)?'+t+">",r||"")}}(),br=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map((function(e){return[new RegExp("&"+e[0]+";","ig"),e[1]]}));return function(t){for(var r=t.replace(/^[\t\n\r ]+/,"").replace(/[\t\n\r ]+$/,"").replace(/>\s+/g,">").replace(/\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,"\n").replace(/<[^>]*>/g,""),a=0;a<e.length;++a)r=r.replace(e[a][0],e[a][1]);return r}}(),gr=function(){var e={};return function(t){return void 0!==e[t]?e[t]:e[t]=new RegExp("<(?:vt:)?"+t+">([\\s\\S]*?)</(?:vt:)?"+t+">","g")}}(),vr=/<\/?(?:vt:)?variant>/g,wr=/<(?:vt:)([^>]*)>([\s\S]*)</;function yr(e,t){var r=Yt(e),a=e.match(gr(r.baseType))||[],n=[];if(a.length!=r.size){if(t.WTF)throw new Error("unexpected vector length "+a.length+" != "+r.size);return n}return a.forEach((function(e){var t=e.replace(vr,"").match(wr);t&&n.push({v:dr(t[2]),t:t[1]})})),n}var kr=/(^\s|\s$|\n)/;function Tr(e,t){return"<"+e+(t.match(kr)?' xml:space="preserve"':"")+">"+t+"</"+e+">"}function _r(e){return st(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function Er(e,t,r){return"<"+e+(null!=r?_r(r):"")+(null!=t?(t.match(kr)?' xml:space="preserve"':"")+">"+t+"</"+e:"/")+">"}function Sr(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}function Ar(e,t){switch(typeof e){case"string":var r=Er("vt:lpwstr",tr(e));return t&&(r=r.replace(/&quot;/g,"_x0022_")),r;case"number":return Er((0|e)==e?"vt:i4":"vt:r8",tr(String(e)));case"boolean":return Er("vt:bool",e?"true":"false")}if(e instanceof Date)return Er("vt:filetime",Sr(e));throw new Error("Unable to serialize "+e)}function xr(e){if(S&&Buffer.isBuffer(e))return e.toString("utf8");if("string"===typeof e)return e;if("undefined"!==typeof Uint8Array&&e instanceof Uint8Array)return dr(O(I(e)));throw new Error("Bad input format: expected Buffer or string")}var Cr=/<(\/?)([^\s?><!\/:]*:|)([^\s?<>:\/]+)(?:[\s?:\/][^>]*)?>/gm,Rr={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"},Pr=["http://schemas.openxmlformats.org/spreadsheetml/2006/main","http://purl.oclc.org/ooxml/spreadsheetml/main","http://schemas.microsoft.com/office/excel/2006/main","http://schemas.microsoft.com/office/excel/2006/2"],Or={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function Nr(e,t){for(var r=1-2*(e[t+7]>>>7),a=((127&e[t+7])<<4)+(e[t+6]>>>4&15),n=15&e[t+6],s=5;s>=0;--s)n=256*n+e[t+s];return 2047==a?0==n?r*(1/0):NaN:(0==a?a=-1022:(a-=1023,n+=Math.pow(2,52)),r*Math.pow(2,a-52)*n)}function Ir(e,t,r){var a=(t<0||1/t==-1/0?1:0)<<7,n=0,s=0,i=a?-t:t;isFinite(i)?0==i?n=s=0:(n=Math.floor(Math.log(i)/Math.LN2),s=i*Math.pow(2,52-n),n<=-1023&&(!isFinite(s)||s<Math.pow(2,52))?n=-1022:(s-=Math.pow(2,52),n+=1023)):(n=2047,s=isNaN(t)?26985:0);for(var o=0;o<=5;++o,s/=256)e[r+o]=255&s;e[r+6]=(15&n)<<4|15&s,e[r+7]=n>>4|a}var Dr=function(e){for(var t=[],r=10240,a=0;a<e[0].length;++a)if(e[0][a])for(var n=0,s=e[0][a].length;n<s;n+=r)t.push.apply(t,e[0][a].slice(n,n+r));return t},Fr=S?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:A(e)}))):Dr(e)}:Dr,Mr=function(e,t,r){for(var a=[],n=t;n<r;n+=2)a.push(String.fromCharCode(aa(e,n)));return a.join("").replace(M,"")},Lr=S?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf16le",t,r).replace(M,""):Mr(e,t,r)}:Mr,Br=function(e,t,r){for(var a=[],n=t;n<t+r;++n)a.push(("0"+e[n].toString(16)).slice(-2));return a.join("")},Ur=S?function(e,t,r){return Buffer.isBuffer(e)?e.toString("hex",t,t+r):Br(e,t,r)}:Br,zr=function(e,t,r){for(var a=[],n=t;n<r;n++)a.push(String.fromCharCode(ra(e,n)));return a.join("")},Wr=S?function(e,t,r){return Buffer.isBuffer(e)?e.toString("utf8",t,r):zr(e,t,r)}:zr,Hr=function(e,t){var r=sa(e,t);return r>0?Wr(e,t+4,t+4+r-1):""},jr=Hr,Vr=function(e,t){var r=sa(e,t);return r>0?Wr(e,t+4,t+4+r-1):""},Gr=Vr,$r=function(e,t){var r=2*sa(e,t);return r>0?Wr(e,t+4,t+4+r-1):""},Xr=$r,Yr=function(e,t){var r=sa(e,t);return r>0?Lr(e,t+4,t+4+r):""},Kr=Yr,Zr=function(e,t){var r=sa(e,t);return r>0?Wr(e,t+4,t+4+r):""},qr=Zr,Jr=function(e,t){return Nr(e,t)},Qr=Jr,ea=function(e){return Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array};function ta(){Lr=function(e,t,r){return m.utils.decode(1200,e.slice(t,r)).replace(M,"")},Wr=function(e,t,r){return m.utils.decode(65001,e.slice(t,r))},jr=function(e,t){var r=sa(e,t);return r>0?m.utils.decode(s,e.slice(t+4,t+4+r-1)):""},Gr=function(e,t){var r=sa(e,t);return r>0?m.utils.decode(n,e.slice(t+4,t+4+r-1)):""},Xr=function(e,t){var r=2*sa(e,t);return r>0?m.utils.decode(1200,e.slice(t+4,t+4+r-1)):""},Kr=function(e,t){var r=sa(e,t);return r>0?m.utils.decode(1200,e.slice(t+4,t+4+r)):""},qr=function(e,t){var r=sa(e,t);return r>0?m.utils.decode(65001,e.slice(t+4,t+4+r)):""}}S&&(jr=function(e,t){if(!Buffer.isBuffer(e))return Hr(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},Gr=function(e,t){if(!Buffer.isBuffer(e))return Vr(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},Xr=function(e,t){if(!Buffer.isBuffer(e))return $r(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},Kr=function(e,t){if(!Buffer.isBuffer(e))return Yr(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},qr=function(e,t){if(!Buffer.isBuffer(e))return Zr(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},Qr=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):Jr(e,t)},ea=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array}),"undefined"!==typeof m&&ta();var ra=function(e,t){return e[t]},aa=function(e,t){return 256*e[t+1]+e[t]},na=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},sa=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},ia=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},oa=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function la(e,t){var r,a,s,i,o,l,c="",f=[];switch(t){case"dbcs":if(l=this.l,S&&Buffer.isBuffer(this))c=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o<e;++o)c+=String.fromCharCode(aa(this,l)),l+=2;e*=2;break;case"utf8":c=Wr(this,this.l,this.l+e);break;case"utf16le":e*=2,c=Lr(this,this.l,this.l+e);break;case"wstr":if("undefined"===typeof m)return la.call(this,e,"dbcs");c=m.utils.decode(n,this.slice(this.l,this.l+2*e)),e*=2;break;case"lpstr-ansi":c=jr(this,this.l),e=4+sa(this,this.l);break;case"lpstr-cp":c=Gr(this,this.l),e=4+sa(this,this.l);break;case"lpwstr":c=Xr(this,this.l),e=4+2*sa(this,this.l);break;case"lpp4":e=4+sa(this,this.l),c=Kr(this,this.l),2&e&&(e+=2);break;case"8lpp4":e=4+sa(this,this.l),c=qr(this,this.l),3&e&&(e+=4-(3&e));break;case"cstr":e=0,c="";while(0!==(s=ra(this,this.l+e++)))f.push(g(s));c=f.join("");break;case"_wstr":e=0,c="";while(0!==(s=aa(this,this.l+e)))f.push(g(s)),e+=2;e+=2,c=f.join("");break;case"dbcs-cont":for(c="",l=this.l,o=0;o<e;++o){if(this.lens&&-1!==this.lens.indexOf(l))return s=ra(this,l),this.l=l+1,i=la.call(this,e-o,s?"dbcs-cont":"sbcs-cont"),f.join("")+i;f.push(g(aa(this,l))),l+=2}c=f.join(""),e*=2;break;case"cpstr":if("undefined"!==typeof m){c=m.utils.decode(n,this.slice(this.l,this.l+e));break}case"sbcs-cont":for(c="",l=this.l,o=0;o!=e;++o){if(this.lens&&-1!==this.lens.indexOf(l))return s=ra(this,l),this.l=l+1,i=la.call(this,e-o,s?"dbcs-cont":"sbcs-cont"),f.join("")+i;f.push(g(ra(this,l))),l+=1}c=f.join("");break;default:switch(e){case 1:return r=ra(this,this.l),this.l++,r;case 2:return r=("i"===t?na:aa)(this,this.l),this.l+=2,r;case 4:case-4:return"i"===t||0===(128&this[this.l+3])?(r=(e>0?ia:oa)(this,this.l),this.l+=4,r):(a=sa(this,this.l),this.l+=4,a);case 8:case-8:if("f"===t)return a=8==e?Qr(this,this.l):Qr([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:c=Ur(this,this.l,e);break}}return this.l+=e,c}var ca=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255,e[r+2]=t>>>16&255,e[r+3]=t>>>24&255},fa=function(e,t,r){e[r]=255&t,e[r+1]=t>>8&255,e[r+2]=t>>16&255,e[r+3]=t>>24&255},ua=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function ha(e,t,r){var a=0,n=0;if("dbcs"===r){for(n=0;n!=t.length;++n)ua(this,t.charCodeAt(n),this.l+2*n);a=2*t.length}else if("sbcs"===r){if("undefined"!==typeof m&&874==s)for(n=0;n!=t.length;++n){var i=m.utils.encode(s,t.charAt(n));this[this.l+n]=i[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),n=0;n!=t.length;++n)this[this.l+n]=255&t.charCodeAt(n);a=t.length}else{if("hex"===r){for(;n<e;++n)this[this.l++]=parseInt(t.slice(2*n,2*n+2),16)||0;return this}if("utf16le"===r){var o=Math.min(this.l+e,this.length);for(n=0;n<Math.min(t.length,e);++n){var l=t.charCodeAt(n);this[this.l++]=255&l,this[this.l++]=l>>8}while(this.l<o)this[this.l++]=0;return this}switch(e){case 1:a=1,this[this.l]=255&t;break;case 2:a=2,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t;break;case 3:a=3,this[this.l]=255&t,t>>>=8,this[this.l+1]=255&t,t>>>=8,this[this.l+2]=255&t;break;case 4:a=4,ca(this,t,this.l);break;case 8:if(a=8,"f"===r){Ir(this,t,this.l);break}case 16:break;case-4:a=4,fa(this,t,this.l);break}}return this.l+=a,this}function da(e,t){var r=Ur(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function pa(e,t){e.l=t,e.read_shift=la,e.chk=da,e.write_shift=ha}function ma(e,t){e.l+=t}function ba(e){var t=x(e);return pa(t,0),t}function ga(e,t,r){if(e){var a,n,s;pa(e,e.l||0);var i=e.length,o=0,l=0;while(e.l<i){o=e.read_shift(1),128&o&&(o=(127&o)+((127&e.read_shift(1))<<7));var c=mg[o]||mg[65535];for(a=e.read_shift(1),s=127&a,n=1;n<4&&128&a;++n)s+=(127&(a=e.read_shift(1)))<<7*n;l=e.l+s;var f=c.f&&c.f(e,s,r);if(e.l=l,t(f,c,o))return}}}function va(){var e=[],t=S?256:2048,r=function(e){var t=ba(e);return pa(t,0),t},a=r(t),n=function(){a&&(a.length>a.l&&(a=a.slice(0,a.l),a.l=a.length),a.length>0&&e.push(a),a=null)},s=function(e){return a&&e<a.length-a.l?a:(n(),a=r(Math.max(e+1,t)))},i=function(){return n(),D(e)},o=function(e){n(),a=e,null==a.l&&(a.l=a.length),s(t)};return{next:s,push:o,end:i,_bufs:e}}function wa(e,t,r,a){var n,s=+t;if(!isNaN(s)){a||(a=mg[s].p||(r||[]).length||0),n=1+(s>=128?1:0)+1,a>=128&&++n,a>=16384&&++n,a>=2097152&&++n;var i=e.next(n);s<=127?i.write_shift(1,s):(i.write_shift(1,128+(127&s)),i.write_shift(1,s>>7));for(var o=0;4!=o;++o){if(!(a>=128)){i.write_shift(1,a);break}i.write_shift(1,128+(127&a)),a>>=7}a>0&&ea(r)&&e.push(r)}}function ya(e,t,r){var a=Tt(e);if(t.s?(a.cRel&&(a.c+=t.s.c),a.rRel&&(a.r+=t.s.r)):(a.cRel&&(a.c+=t.c),a.rRel&&(a.r+=t.r)),!r||r.biff<12){while(a.c>=256)a.c-=256;while(a.r>=65536)a.r-=65536}return a}function ka(e,t,r){var a=Tt(e);return a.s=ya(a.s,t.s,r),a.e=ya(a.e,t.s,r),a}function Ta(e,t){if(e.cRel&&e.c<0){e=Tt(e);while(e.c<0)e.c+=t>8?16384:256}if(e.rRel&&e.r<0){e=Tt(e);while(e.r<0)e.r+=t>8?1048576:t>5?65536:16384}var r=Da(e);return e.cRel||null==e.cRel||(r=Pa(r)),e.rRel||null==e.rRel||(r=Aa(r)),r}function _a(e,t){return 0!=e.s.r||e.s.rRel||e.e.r!=(t.biff>=12?1048575:t.biff>=8?65536:16384)||e.e.rRel?0!=e.s.c||e.s.cRel||e.e.c!=(t.biff>=12?16383:255)||e.e.cRel?Ta(e.s,t.biff)+":"+Ta(e.e,t.biff):(e.s.rRel?"":"$")+Sa(e.s.r)+":"+(e.e.rRel?"":"$")+Sa(e.e.r):(e.s.cRel?"":"$")+Ra(e.s.c)+":"+(e.e.cRel?"":"$")+Ra(e.e.c)}function Ea(e){return parseInt(xa(e),10)-1}function Sa(e){return""+(e+1)}function Aa(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function xa(e){return e.replace(/\$(\d+)$/,"$1")}function Ca(e){for(var t=Oa(e),r=0,a=0;a!==t.length;++a)r=26*r+t.charCodeAt(a)-64;return r-1}function Ra(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 Pa(e){return e.replace(/^([A-Z])/,"$$$1")}function Oa(e){return e.replace(/^\$([A-Z])/,"$1")}function Na(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Ia(e){for(var t=0,r=0,a=0;a<e.length;++a){var n=e.charCodeAt(a);n>=48&&n<=57?t=10*t+(n-48):n>=65&&n<=90&&(r=26*r+(n-64))}return{c:r-1,r:t-1}}function Da(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 Fa(e){var t=e.indexOf(":");return-1==t?{s:Ia(e),e:Ia(e)}:{s:Ia(e.slice(0,t)),e:Ia(e.slice(t+1))}}function Ma(e,t){return"undefined"===typeof t||"number"===typeof t?Ma(e.s,e.e):("string"!==typeof e&&(e=Da(e)),"string"!==typeof t&&(t=Da(t)),e==t?e:e+":"+t)}function La(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,a=0,n=0,s=e.length;for(r=0;a<s;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;r=26*r+n}for(t.s.c=--r,r=0;a<s;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;r=10*r+n}if(t.s.r=--r,a===s||10!=n)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++a,r=0;a!=s;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;r=26*r+n}for(t.e.c=--r,r=0;a!=s;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;r=10*r+n}return t.e.r=--r,t}function Ba(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=je(e.z,r?ut(t):t)}catch(a){}try{return e.w=je((e.XF||{}).numFmtId||(r?14:0),r?ut(t):t)}catch(a){return""+t}}function Ua(e,t,r){return null==e||null==e.t||"z"==e.t?"":void 0!==e.w?e.w:("d"==e.t&&!e.z&&r&&r.dateNF&&(e.z=r.dateNF),"e"==e.t?$n[e.v]||e.v:Ba(e,void 0==t?e.v:t))}function za(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",a={};return a[r]=e,{SheetNames:[r],Sheets:a}}function Wa(e,t,r){var a=r||{},n=e?Array.isArray(e):a.dense;null!=y&&null==n&&(n=y);var s=e||(n?[]:{}),i=0,o=0;if(s&&null!=a.origin){if("number"==typeof a.origin)i=a.origin;else{var l="string"==typeof a.origin?Ia(a.origin):a.origin;i=l.r,o=l.c}s["!ref"]||(s["!ref"]="A1:A1")}var c={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(s["!ref"]){var f=La(s["!ref"]);c.s.c=f.s.c,c.s.r=f.s.r,c.e.c=Math.max(c.e.c,f.e.c),c.e.r=Math.max(c.e.r,f.e.r),-1==i&&(c.e.r=i=f.e.r+1)}for(var u=0;u!=t.length;++u)if(t[u]){if(!Array.isArray(t[u]))throw new Error("aoa_to_sheet expects an array of arrays");for(var h=0;h!=t[u].length;++h)if("undefined"!==typeof t[u][h]){var d={v:t[u][h]},p=i+u,m=o+h;if(c.s.r>p&&(c.s.r=p),c.s.c>m&&(c.s.c=m),c.e.r<p&&(c.e.r=p),c.e.c<m&&(c.e.c=m),!t[u][h]||"object"!==typeof t[u][h]||Array.isArray(t[u][h])||t[u][h]instanceof Date)if(Array.isArray(d.v)&&(d.f=t[u][h][1],d.v=d.v[0]),null===d.v)if(d.f)d.t="n";else if(a.nullError)d.t="e",d.v=0;else{if(!a.sheetStubs)continue;d.t="z"}else"number"===typeof d.v?d.t="n":"boolean"===typeof d.v?d.t="b":d.v instanceof Date?(d.z=a.dateNF||q[14],a.cellDates?(d.t="d",d.w=je(d.z,ut(d.v))):(d.t="n",d.v=ut(d.v),d.w=je(d.z,d.v))):d.t="s";else d=t[u][h];if(n)s[p]||(s[p]=[]),s[p][m]&&s[p][m].z&&(d.z=s[p][m].z),s[p][m]=d;else{var b=Da({c:m,r:p});s[b]&&s[b].z&&(d.z=s[b].z),s[b]=d}}}return c.s.c<1e7&&(s["!ref"]=Ma(c)),s}function Ha(e,t){return Wa(null,e,t)}function ja(e){return e.read_shift(4,"i")}function Va(e,t){return t||(t=ba(4)),t.write_shift(4,e),t}function Ga(e){var t=e.read_shift(4);return 0===t?"":e.read_shift(t,"dbcs")}function $a(e,t){var r=!1;return null==t&&(r=!0,t=ba(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 Xa(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Ya(e,t){return t||(t=ba(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0),t}function Ka(e,t){var r=e.l,a=e.read_shift(1),n=Ga(e),s=[],i={t:n,h:n};if(0!==(1&a)){for(var o=e.read_shift(4),l=0;l!=o;++l)s.push(Xa(e));i.r=s}else i.r=[{ich:0,ifnt:0}];return e.l=r+t,i}function Za(e,t){var r=!1;return null==t&&(r=!0,t=ba(15+4*e.t.length)),t.write_shift(1,0),$a(e.t,t),r?t.slice(0,t.l):t}var qa=Ka;function Ja(e,t){var r=!1;return null==t&&(r=!0,t=ba(23+4*e.t.length)),t.write_shift(1,1),$a(e.t,t),t.write_shift(4,1),Ya({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function Qa(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 en(e,t){return null==t&&(t=ba(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function tn(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function rn(e,t){return null==t&&(t=ba(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var an=Ga,nn=$a;function sn(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function on(e,t){var r=!1;return null==t&&(r=!0,t=ba(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 ln=Ga,cn=sn,fn=on;function un(e){var t=e.slice(e.l,e.l+4),r=1&t[0],a=2&t[0];e.l+=4;var n=0===a?Qr([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):ia(t,0)>>2;return r?n/100:n}function hn(e,t){null==t&&(t=ba(4));var r=0,a=0,n=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?a=1:n==(0|n)&&n>=-(1<<29)&&n<1<<29&&(a=1,r=1),!a)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((r?n:e)<<2)+(r+2))}function dn(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 pn(e,t){return t||(t=ba(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 mn=dn,bn=pn;function gn(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function vn(e,t){return(t||ba(8)).write_shift(8,e,"f")}function wn(e){var t={},r=e.read_shift(1),a=r>>>1,n=e.read_shift(1),s=e.read_shift(2,"i"),i=e.read_shift(1),o=e.read_shift(1),l=e.read_shift(1);switch(e.l++,a){case 0:t.auto=1;break;case 1:t.index=n;var c=Gn[n];c&&(t.rgb=wc(c));break;case 2:t.rgb=wc([i,o,l]);break;case 3:t.theme=n;break}return 0!=s&&(t.tint=s>0?s/32767:s/32768),t}function yn(e,t){if(t||(t=ba(8)),!e||e.auto)return t.write_shift(4,0),t.write_shift(4,0),t;null!=e.index?(t.write_shift(1,2),t.write_shift(1,e.index)):null!=e.theme?(t.write_shift(1,6),t.write_shift(1,e.theme)):(t.write_shift(1,5),t.write_shift(1,0));var r=e.tint||0;if(r>0?r*=32767:r<0&&(r*=32768),t.write_shift(2,r),e.rgb&&null==e.theme){var a=e.rgb||"FFFFFF";"number"==typeof a&&(a=("000000"+a.toString(16)).slice(-6)),t.write_shift(1,parseInt(a.slice(0,2),16)),t.write_shift(1,parseInt(a.slice(2,4),16)),t.write_shift(1,parseInt(a.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}function kn(e){var t=e.read_shift(1);e.l++;var r={fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t};return r}function Tn(e,t){t||(t=ba(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}function _n(e,t){var r={2:"BITMAP",3:"METAFILEPICT",8:"DIB",14:"ENHMETAFILE"},a=e.read_shift(4);switch(a){case 0:return"";case 4294967295:case 4294967294:return r[e.read_shift(4)]||""}if(a>400)throw new Error("Unsupported Clipboard: "+a.toString(16));return e.l-=4,e.read_shift(0,1==t?"lpstr":"lpwstr")}function En(e){return _n(e,1)}function Sn(e){return _n(e,2)}var An=2,xn=3,Cn=11,Rn=12,Pn=19,On=64,Nn=65,In=71,Dn=4108,Fn=4126,Mn=80,Ln=81,Bn=[Mn,Ln],Un={1:{n:"CodePage",t:An},2:{n:"Category",t:Mn},3:{n:"PresentationFormat",t:Mn},4:{n:"ByteCount",t:xn},5:{n:"LineCount",t:xn},6:{n:"ParagraphCount",t:xn},7:{n:"SlideCount",t:xn},8:{n:"NoteCount",t:xn},9:{n:"HiddenCount",t:xn},10:{n:"MultimediaClipCount",t:xn},11:{n:"ScaleCrop",t:Cn},12:{n:"HeadingPairs",t:Dn},13:{n:"TitlesOfParts",t:Fn},14:{n:"Manager",t:Mn},15:{n:"Company",t:Mn},16:{n:"LinksUpToDate",t:Cn},17:{n:"CharacterCount",t:xn},19:{n:"SharedDoc",t:Cn},22:{n:"HyperlinksChanged",t:Cn},23:{n:"AppVersion",t:xn,p:"version"},24:{n:"DigSig",t:Nn},26:{n:"ContentType",t:Mn},27:{n:"ContentStatus",t:Mn},28:{n:"Language",t:Mn},29:{n:"Version",t:Mn},255:{},2147483648:{n:"Locale",t:Pn},2147483651:{n:"Behavior",t:Pn},1919054434:{}},zn={1:{n:"CodePage",t:An},2:{n:"Title",t:Mn},3:{n:"Subject",t:Mn},4:{n:"Author",t:Mn},5:{n:"Keywords",t:Mn},6:{n:"Comments",t:Mn},7:{n:"Template",t:Mn},8:{n:"LastAuthor",t:Mn},9:{n:"RevNumber",t:Mn},10:{n:"EditTime",t:On},11:{n:"LastPrinted",t:On},12:{n:"CreatedDate",t:On},13:{n:"ModifiedDate",t:On},14:{n:"PageCount",t:xn},15:{n:"WordCount",t:xn},16:{n:"CharCount",t:xn},17:{n:"Thumbnail",t:In},18:{n:"Application",t:Mn},19:{n:"DocSecurity",t:xn},255:{},2147483648:{n:"Locale",t:Pn},2147483651:{n:"Behavior",t:Pn},1919054434:{}},Wn={1:"US",2:"CA",3:"",7:"RU",20:"EG",30:"GR",31:"NL",32:"BE",33:"FR",34:"ES",36:"HU",39:"IT",41:"CH",43:"AT",44:"GB",45:"DK",46:"SE",47:"NO",48:"PL",49:"DE",52:"MX",55:"BR",61:"AU",64:"NZ",66:"TH",81:"JP",82:"KR",84:"VN",86:"CN",90:"TR",105:"JS",213:"DZ",216:"MA",218:"LY",351:"PT",354:"IS",358:"FI",420:"CZ",886:"TW",961:"LB",962:"JO",963:"SY",964:"IQ",965:"KW",966:"SA",971:"AE",972:"IL",974:"QA",981:"IR",65535:"US"},Hn=[null,"solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"];function jn(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var Vn=jn([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]),Gn=Tt(Vn),$n={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},Xn={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},Yn={"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"},Kn={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 Zn(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function qn(e){var t=Zn();if(!e||!e.match)return t;var r={};if((e.match(Gt)||[]).forEach((function(e){var a=Yt(e);switch(a[0].replace($t,"<")){case"<?xml":break;case"<Types":t.xmlns=a["xmlns"+(a[0].match(/<(\w+):/)||["",""])[1]];break;case"<Default":r[a.Extension]=a.ContentType;break;case"<Override":void 0!==t[Yn[a.ContentType]]&&t[Yn[a.ContentType]].push(a.PartName);break}})),t.xmlns!==Rr.CT)throw new Error("Unknown Namespace: "+t.xmlns);return t.calcchain=t.calcchains.length>0?t.calcchains[0]:"",t.sst=t.strs.length>0?t.strs[0]:"",t.style=t.styles.length>0?t.styles[0]:"",t.defaults=r,delete t.calcchains,t}function Jn(e,t){var r,a=ct(Yn),n=[];n[n.length]=Wt,n[n.length]=Er("Types",null,{xmlns:Rr.CT,"xmlns:xsd":Rr.xsd,"xmlns:xsi":Rr.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(e){return Er("Default",null,{Extension:e[0],ContentType:e[1]})})));var s=function(a){e[a]&&e[a].length>0&&(r=e[a][0],n[n.length]=Er("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:Kn[a][t.bookType]||Kn[a]["xlsx"]}))},i=function(r){(e[r]||[]).forEach((function(e){n[n.length]=Er("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:Kn[r][t.bookType]||Kn[r]["xlsx"]})}))},o=function(t){(e[t]||[]).forEach((function(e){n[n.length]=Er("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:a[t][0]})}))};return s("workbooks"),i("sheets"),i("charts"),o("themes"),["strs","styles"].forEach(s),["coreprops","extprops","custprops"].forEach(o),o("vba"),o("comments"),o("threadedcomments"),o("drawings"),i("metadata"),o("people"),n.length>2&&(n[n.length]="</Types>",n[1]=n[1].replace("/>",">")),n.join("")}var Qn={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 es(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function ts(e,t){var r={"!id":{}};if(!e)return r;"/"!==t.charAt(0)&&(t="/"+t);var a={};return(e.match(Gt)||[]).forEach((function(e){var n=Yt(e);if("<Relationship"===n[0]){var s={};s.Type=n.Type,s.Target=n.Target,s.Id=n.Id,n.TargetMode&&(s.TargetMode=n.TargetMode);var i="External"===n.TargetMode?n.Target:zt(n.Target,t);r[i]=s,a[n.Id]=s}})),r["!id"]=a,r}function rs(e){var t=[Wt,Er("Relationships",null,{xmlns:Rr.RELS})];return st(e["!id"]).forEach((function(r){t[t.length]=Er("Relationship",null,e["!id"][r])})),t.length>2&&(t[t.length]="</Relationships>",t[1]=t[1].replace("/>",">")),t.join("")}function as(e,t,r,a,n,s){if(n||(n={}),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,n.Id="rId"+t,n.Type=a,n.Target=r,s?n.TargetMode=s:[Qn.HLINK,Qn.XPATH,Qn.XMISS].indexOf(n.Type)>-1&&(n.TargetMode="External"),e["!id"][n.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][n.Id]=n,e[("/"+n.Target).replace("//","/")]=n,t}var ns="application/vnd.oasis.opendocument.spreadsheet";function ss(e,t){var r,a,n=xr(e);while(r=Cr.exec(n))switch(r[3]){case"manifest":break;case"file-entry":if(a=Yt(r[0],!1),"/"==a.path&&a.type!==ns)throw new Error("This OpenDocument is not a spreadsheet");break;case"encryption-data":case"algorithm":case"start-key-generation":case"key-derivation":throw new Error("Unsupported ODS Encryption");default:if(t&&t.WTF)throw r}}function is(e){var t=[Wt];t.push('<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">\n'),t.push(' <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>\n');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]+'"/>\n');return t.push("</manifest:manifest>"),t.join("")}function os(e,t,r){return[' <rdf:Description rdf:about="'+e+'">\n',' <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(r||"odf")+"#"+t+'"/>\n'," </rdf:Description>\n"].join("")}function ls(e,t){return[' <rdf:Description rdf:about="'+e+'">\n',' <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+t+'"/>\n'," </rdf:Description>\n"].join("")}function cs(e){var t=[Wt];t.push('<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">\n');for(var r=0;r!=e.length;++r)t.push(os(e[r][0],e[r][1])),t.push(ls("",e[r][0]));return t.push(os("","Document","pkg")),t.push("</rdf:RDF>"),t.join("")}function fs(){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 '+a.version+"</meta:generator></office:meta></office:document-meta>"}var us=[["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"]],hs=function(){for(var e=new Array(us.length),t=0;t<us.length;++t){var r=us[t],a="(?:"+r[0].slice(0,r[0].indexOf(":"))+":)"+r[0].slice(r[0].indexOf(":")+1);e[t]=new RegExp("<"+a+"[^>]*>([\\s\\S]*?)</"+a+">")}return e}();function ds(e){var t={};e=dr(e);for(var r=0;r<us.length;++r){var a=us[r],n=e.match(hs[r]);null!=n&&n.length>0&&(t[a[1]]=Jt(n[1])),"date"===a[2]&&t[a[1]]&&(t[a[1]]=yt(t[a[1]]))}return t}function ps(e,t,r,a,n){null==n[e]&&null!=t&&""!==t&&(n[e]=t,t=tr(t),a[a.length]=r?Er(e,t,r):Tr(e,t))}function ms(e,t){var r=t||{},a=[Wt,Er("cp:coreProperties",null,{"xmlns:cp":Rr.CORE_PROPS,"xmlns:dc":Rr.dc,"xmlns:dcterms":Rr.dcterms,"xmlns:dcmitype":Rr.dcmitype,"xmlns:xsi":Rr.xsi})],n={};if(!e&&!r.Props)return a.join("");e&&(null!=e.CreatedDate&&ps("dcterms:created","string"===typeof e.CreatedDate?e.CreatedDate:Sr(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n),null!=e.ModifiedDate&&ps("dcterms:modified","string"===typeof e.ModifiedDate?e.ModifiedDate:Sr(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},a,n));for(var s=0;s!=us.length;++s){var i=us[s],o=r.Props&&null!=r.Props[i[1]]?r.Props[i[1]]:e?e[i[1]]:null;!0===o?o="1":!1===o?o="0":"number"==typeof o&&(o=String(o)),null!=o&&ps(i[0],o,null,a,n)}return a.length>2&&(a[a.length]="</cp:coreProperties>",a[1]=a[1].replace("/>",">")),a.join("")}var bs=[["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"]],gs=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function vs(e,t,r,a){var n=[];if("string"==typeof e)n=yr(e,a);else for(var s=0;s<e.length;++s)n=n.concat(e[s].map((function(e){return{v:e}})));var i="string"==typeof t?yr(t,a).map((function(e){return e.v})):t,o=0,l=0;if(i.length>0)for(var c=0;c!==n.length;c+=2){switch(l=+n[c+1].v,n[c].v){case"Worksheets":case"工作表":case"Листы":case"أوراق العمل":case"ワークシート":case"גליונות עבודה":case"Arbeitsblätter":case"Çalışma Sayfaları":case"Feuilles de calcul":case"Fogli di lavoro":case"Folhas de cálculo":case"Planilhas":case"Regneark":case"Hojas de cálculo":case"Werkbladen":r.Worksheets=l,r.SheetNames=i.slice(o,o+l);break;case"Named Ranges":case"Rangos con nombre":case"名前付き一覧":case"Benannte Bereiche":case"Navngivne områder":r.NamedRanges=l,r.DefinedNames=i.slice(o,o+l);break;case"Charts":case"Diagramme":r.Chartsheets=l,r.ChartNames=i.slice(o,o+l);break}o+=l}}function ws(e,t,r){var a={};return t||(t={}),e=dr(e),bs.forEach((function(r){var n=(e.match(mr(r[0]))||[])[1];switch(r[2]){case"string":n&&(t[r[1]]=Jt(n));break;case"bool":t[r[1]]="true"===n;break;case"raw":var s=e.match(new RegExp("<"+r[0]+"[^>]*>([\\s\\S]*?)</"+r[0]+">"));s&&s.length>0&&(a[r[1]]=s[1]);break}})),a.HeadingPairs&&a.TitlesOfParts&&vs(a.HeadingPairs,a.TitlesOfParts,t,r),t}function ys(e){var t=[],r=Er;return e||(e={}),e.Application="SheetJS",t[t.length]=Wt,t[t.length]=Er("Properties",null,{xmlns:Rr.EXT_PROPS,"xmlns:vt":Rr.vt}),bs.forEach((function(a){if(void 0!==e[a[1]]){var n;switch(a[2]){case"string":n=tr(String(e[a[1]]));break;case"bool":n=e[a[1]]?"true":"false";break}void 0!==n&&(t[t.length]=r(a[0],n))}})),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(e){return"<vt:lpstr>"+tr(e)+"</vt:lpstr>"})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var ks=/<[^>]+>[^<]*/g;function Ts(e,t){var r={},a="",n=e.match(ks);if(n)for(var s=0;s!=n.length;++s){var i=n[s],o=Yt(i);switch(o[0]){case"<?xml":break;case"<Properties":break;case"<property":a=Jt(o.name);break;case"</property>":a=null;break;default:if(0===i.indexOf("<vt:")){var l=i.split(">"),c=l[0].slice(4),f=l[1];switch(c){case"lpstr":case"bstr":case"lpwstr":r[a]=Jt(f);break;case"bool":r[a]=lr(f);break;case"i1":case"i2":case"i4":case"i8":case"int":case"uint":r[a]=parseInt(f,10);break;case"r4":case"r8":case"decimal":r[a]=parseFloat(f);break;case"filetime":case"date":r[a]=yt(f);break;case"cy":case"error":r[a]=Jt(f);break;default:if("/"==c.slice(-1))break;t.WTF&&"undefined"!==typeof console&&console.warn("Unexpected",i,c,l)}}else if("</"===i.slice(0,2));else if(t.WTF)throw new Error(i)}}return r}function _s(e){var t=[Wt,Er("Properties",null,{xmlns:Rr.CUST_PROPS,"xmlns:vt":Rr.vt})];if(!e)return t.join("");var r=1;return st(e).forEach((function(a){++r,t[t.length]=Er("property",Ar(e[a],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:tr(a)})})),t.length>2&&(t[t.length]="</Properties>",t[1]=t[1].replace("/>",">")),t.join("")}var Es,Ss={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 As(e,t,r){Es||(Es=ot(Ss)),t=Es[t]||t,e[t]=r}function xs(e,t){var r=[];return st(Ss).map((function(e){for(var t=0;t<us.length;++t)if(us[t][1]==e)return us[t];for(t=0;t<bs.length;++t)if(bs[t][1]==e)return bs[t];throw e})).forEach((function(a){if(null!=e[a[1]]){var n=t&&t.Props&&null!=t.Props[a[1]]?t.Props[a[1]]:e[a[1]];switch(a[2]){case"date":n=new Date(n).toISOString().replace(/\.\d*Z/,"Z");break}"number"==typeof n?n=String(n):!0===n||!1===n?n=n?"1":"0":n instanceof Date&&(n=new Date(n).toISOString().replace(/\.\d*Z/,"")),r.push(Tr(Ss[a[1]]||a[1],n))}})),Er("DocumentProperties",r.join(""),{xmlns:Or.o})}function Cs(e,t){var r=["Worksheets","SheetNames"],a="CustomDocumentProperties",n=[];return e&&st(e).forEach((function(t){if(Object.prototype.hasOwnProperty.call(e,t)){for(var a=0;a<us.length;++a)if(t==us[a][1])return;for(a=0;a<bs.length;++a)if(t==bs[a][1])return;for(a=0;a<r.length;++a)if(t==r[a])return;var s=e[t],i="string";"number"==typeof s?(i="float",s=String(s)):!0===s||!1===s?(i="boolean",s=s?"1":"0"):s=String(s),n.push(Er(rr(t),s,{"dt:dt":i}))}})),t&&st(t).forEach((function(r){if(Object.prototype.hasOwnProperty.call(t,r)&&(!e||!Object.prototype.hasOwnProperty.call(e,r))){var a=t[r],s="string";"number"==typeof a?(s="float",a=String(a)):!0===a||!1===a?(s="boolean",a=a?"1":"0"):a instanceof Date?(s="dateTime.tz",a=a.toISOString()):a=String(a),n.push(Er(rr(r),a,{"dt:dt":s}))}})),"<"+a+' xmlns="'+Or.o+'">'+n.join("")+"</"+a+">"}function Rs(e){var t=e.read_shift(4),r=e.read_shift(4);return new Date(1e3*(r/1e7*Math.pow(2,32)+t/1e7-11644473600)).toISOString().replace(/\.000/,"")}function Ps(e){var t="string"==typeof e?new Date(Date.parse(e)):e,r=t.getTime()/1e3+11644473600,a=r%Math.pow(2,32),n=(r-a)/Math.pow(2,32);a*=1e7,n*=1e7;var s=a/Math.pow(2,32)|0;s>0&&(a%=Math.pow(2,32),n+=s);var i=ba(8);return i.write_shift(4,a),i.write_shift(4,n),i}function Os(e,t,r){var a=e.l,n=e.read_shift(0,"lpstr-cp");if(r)while(e.l-a&3)++e.l;return n}function Ns(e,t,r){var a=e.read_shift(0,"lpwstr");return r&&(e.l+=4-(a.length+1&3)&3),a}function Is(e,t,r){return 31===t?Ns(e):Os(e,t,r)}function Ds(e,t,r){return Is(e,t,!1===r?0:4)}function Fs(e,t){if(!t)throw new Error("VtUnalignedString must have positive length");return Is(e,t,0)}function Ms(e){for(var t=e.read_shift(4),r=[],a=0;a!=t;++a){var n=e.l;r[a]=e.read_shift(0,"lpwstr").replace(M,""),e.l-n&2&&(e.l+=2)}return r}function Ls(e){for(var t=e.read_shift(4),r=[],a=0;a!=t;++a)r[a]=e.read_shift(0,"lpstr-cp").replace(M,"");return r}function Bs(e){var t=e.l,r=js(e,Ln);0==e[e.l]&&0==e[e.l+1]&&e.l-t&2&&(e.l+=2);var a=js(e,xn);return[r,a]}function Us(e){for(var t=e.read_shift(4),r=[],a=0;a<t/2;++a)r.push(Bs(e));return r}function zs(e,t){for(var r=e.read_shift(4),a={},n=0;n!=r;++n){var s=e.read_shift(4),i=e.read_shift(4);a[s]=e.read_shift(i,1200===t?"utf16le":"utf8").replace(M,"").replace(L,"!"),1200===t&&i%2&&(e.l+=2)}return 3&e.l&&(e.l=e.l>>3<<2),a}function Ws(e){var t=e.read_shift(4),r=e.slice(e.l,e.l+t);return e.l+=t,(3&t)>0&&(e.l+=4-(3&t)&3),r}function Hs(e){var t={};return t.Size=e.read_shift(4),e.l+=t.Size+3-(t.Size-1)%4,t}function js(e,t,r){var a,n=e.read_shift(2),s=r||{};if(e.l+=2,t!==Rn&&n!==t&&-1===Bn.indexOf(t)&&(4126!=(65534&t)||4126!=(65534&n)))throw new Error("Expected type "+t+" saw "+n);switch(t===Rn?n:t){case 2:return a=e.read_shift(2,"i"),s.raw||(e.l+=2),a;case 3:return a=e.read_shift(4,"i"),a;case 11:return 0!==e.read_shift(4);case 19:return a=e.read_shift(4),a;case 30:return Os(e,n,4).replace(M,"");case 31:return Ns(e);case 64:return Rs(e);case 65:return Ws(e);case 71:return Hs(e);case 80:return Ds(e,n,!s.raw).replace(M,"");case 81:return Fs(e,n).replace(M,"");case 4108:return Us(e);case 4126:case 4127:return 4127==n?Ms(e):Ls(e);default:throw new Error("TypedPropertyValue unrecognized type "+t+" "+n)}}function Vs(e,t){var r=ba(4),a=ba(4);switch(r.write_shift(4,80==e?31:e),e){case 3:a.write_shift(-4,t);break;case 5:a=ba(8),a.write_shift(8,t,"f");break;case 11:a.write_shift(4,t?1:0);break;case 64:a=Ps(t);break;case 31:case 80:a=ba(4+2*(t.length+1)+(t.length%2?0:2)),a.write_shift(4,t.length+1),a.write_shift(0,t,"dbcs");while(a.l!=a.length)a.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return D([r,a])}function Gs(e,t){var r=e.l,a=e.read_shift(4),n=e.read_shift(4),s=[],i=0,o=0,l=-1,c={};for(i=0;i!=n;++i){var u=e.read_shift(4),h=e.read_shift(4);s[i]=[u,h+r]}s.sort((function(e,t){return e[1]-t[1]}));var d={};for(i=0;i!=n;++i){if(e.l!==s[i][1]){var p=!0;if(i>0&&t)switch(t[s[i-1][0]].t){case 2:e.l+2===s[i][1]&&(e.l+=2,p=!1);break;case 80:e.l<=s[i][1]&&(e.l=s[i][1],p=!1);break;case 4108:e.l<=s[i][1]&&(e.l=s[i][1],p=!1);break}if((!t||0==i)&&e.l<=s[i][1]&&(p=!1,e.l=s[i][1]),p)throw new Error("Read Error: Expected address "+s[i][1]+" at "+e.l+" :"+i)}if(t){var m=t[s[i][0]];if(d[m.n]=js(e,m.t,{raw:!0}),"version"===m.p&&(d[m.n]=String(d[m.n]>>16)+"."+("0000"+String(65535&d[m.n])).slice(-4)),"CodePage"==m.n)switch(d[m.n]){case 0:d[m.n]=1252;case 874:case 932:case 936:case 949:case 950:case 1250:case 1251:case 1253:case 1254:case 1255:case 1256:case 1257:case 1258:case 1e4:case 1200:case 1201:case 1252:case 65e3:case-536:case 65001:case-535:f(o=d[m.n]>>>0&65535);break;default:throw new Error("Unsupported CodePage: "+d[m.n])}}else if(1===s[i][0]){if(o=d.CodePage=js(e,An),f(o),-1!==l){var b=e.l;e.l=s[l][1],c=zs(e,o),e.l=b}}else if(0===s[i][0]){if(0===o){l=i,e.l=s[i+1][1];continue}c=zs(e,o)}else{var g,v=c[s[i][0]];switch(e[e.l]){case 65:e.l+=4,g=Ws(e);break;case 30:e.l+=4,g=Ds(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 31:e.l+=4,g=Ds(e,e[e.l-4]).replace(/\u0000+$/,"");break;case 3:e.l+=4,g=e.read_shift(4,"i");break;case 19:e.l+=4,g=e.read_shift(4);break;case 5:e.l+=4,g=e.read_shift(8,"f");break;case 11:e.l+=4,g=ei(e,4);break;case 64:e.l+=4,g=yt(Rs(e));break;default:throw new Error("unparsed value: "+e[e.l])}d[v]=g}}return e.l=r+a,d}var $s=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Xs(e){switch(typeof e){case"boolean":return 11;case"number":return(0|e)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function Ys(e,t,r){var a=ba(8),n=[],s=[],i=8,o=0,l=ba(8),c=ba(8);if(l.write_shift(4,2),l.write_shift(4,1200),c.write_shift(4,1),s.push(l),n.push(c),i+=8+l.length,!t){c=ba(8),c.write_shift(4,0),n.unshift(c);var f=[ba(4)];for(f[0].write_shift(4,e.length),o=0;o<e.length;++o){var u=e[o][0];l=ba(8+2*(u.length+1)+(u.length%2?0:2)),l.write_shift(4,o+2),l.write_shift(4,u.length+1),l.write_shift(0,u,"dbcs");while(l.l!=l.length)l.write_shift(1,0);f.push(l)}l=D(f),s.unshift(l),i+=8+l.length}for(o=0;o<e.length;++o)if((!t||t[e[o][0]])&&!($s.indexOf(e[o][0])>-1||gs.indexOf(e[o][0])>-1)&&null!=e[o][1]){var h=e[o][1],d=0;if(t){d=+t[e[o][0]];var p=r[d];if("version"==p.p&&"string"==typeof h){var m=h.split(".");h=(+m[0]<<16)+(+m[1]||0)}l=Vs(p.t,h)}else{var b=Xs(h);-1==b&&(b=31,h=String(h)),l=Vs(b,h)}s.push(l),c=ba(8),c.write_shift(4,t?d:2+o),n.push(c),i+=8+l.length}var g=8*(s.length+1);for(o=0;o<s.length;++o)n[o].write_shift(4,g),g+=s[o].length;return a.write_shift(4,i),a.write_shift(4,s.length),D([a].concat(n).concat(s))}function Ks(e,t,r){var a=e.content;if(!a)return{};pa(a,0);var n,s,i,o,l=0;a.chk("feff","Byte Order: "),a.read_shift(2);var c=a.read_shift(4),f=a.read_shift(16);if(f!==Qe.utils.consts.HEADER_CLSID&&f!==r)throw new Error("Bad PropertySet CLSID "+f);if(n=a.read_shift(4),1!==n&&2!==n)throw new Error("Unrecognized #Sets: "+n);if(s=a.read_shift(16),o=a.read_shift(4),1===n&&o!==a.l)throw new Error("Length mismatch: "+o+" !== "+a.l);2===n&&(i=a.read_shift(16),l=a.read_shift(4));var u,h=Gs(a,t),d={SystemIdentifier:c};for(var p in h)d[p]=h[p];if(d.FMTID=s,1===n)return d;if(l-a.l==2&&(a.l+=2),a.l!==l)throw new Error("Length mismatch 2: "+a.l+" !== "+l);try{u=Gs(a,null)}catch(m){}for(p in u)d[p]=u[p];return d.FMTID=[s,i],d}function Zs(e,t,r,a,n,s){var i=ba(n?68:48),o=[i];i.write_shift(2,65534),i.write_shift(2,0),i.write_shift(4,842412599),i.write_shift(16,Qe.utils.consts.HEADER_CLSID,"hex"),i.write_shift(4,n?2:1),i.write_shift(16,t,"hex"),i.write_shift(4,n?68:48);var l=Ys(e,r,a);if(o.push(l),n){var c=Ys(n,null,null);i.write_shift(16,s,"hex"),i.write_shift(4,68+l.length),o.push(c)}return D(o)}function qs(e,t){return e.read_shift(t),null}function Js(e,t){t||(t=ba(e));for(var r=0;r<e;++r)t.write_shift(1,0);return t}function Qs(e,t,r){var a=[],n=e.l+t;while(e.l<n)a.push(r(e,n-e.l));if(n!==e.l)throw new Error("Slurp error");return a}function ei(e,t){return 1===e.read_shift(t)}function ti(e,t){return t||(t=ba(2)),t.write_shift(2,+!!e),t}function ri(e){return e.read_shift(2,"u")}function ai(e,t){return t||(t=ba(2)),t.write_shift(2,e),t}function ni(e,t){return Qs(e,t,ri)}function si(e){var t=e.read_shift(1),r=e.read_shift(1);return 1===r?t:1===t}function ii(e,t,r){return r||(r=ba(2)),r.write_shift(1,"e"==t?+e:+!!e),r.write_shift(1,"e"==t?1:0),r}function oi(e,t,r){var a=e.read_shift(r&&r.biff>=12?2:1),s="sbcs-cont",i=n;if(r&&r.biff>=8&&(n=1200),r&&8!=r.biff)12==r.biff&&(s="wstr");else{var o=e.read_shift(1);o&&(s="dbcs-cont")}r.biff>=2&&r.biff<=5&&(s="cpstr");var l=a?e.read_shift(a,s):"";return n=i,l}function li(e){var t=n;n=1200;var r,a=e.read_shift(2),s=e.read_shift(1),i=4&s,o=8&s,l=1+(1&s),c=0,f={};o&&(c=e.read_shift(2)),i&&(r=e.read_shift(4));var u=2==l?"dbcs-cont":"sbcs-cont",h=0===a?"":e.read_shift(a,u);return o&&(e.l+=4*c),i&&(e.l+=r),f.t=h,o||(f.raw="<t>"+f.t+"</t>",f.r=f.t),n=t,f}function ci(e){var t=e.t||"",r=1,a=ba(3+(r>1?2:0));a.write_shift(2,t.length),a.write_shift(1,1|(r>1?8:0)),r>1&&a.write_shift(2,r);var n=ba(2*t.length);n.write_shift(2*t.length,t,"utf16le");var s=[a,n];return D(s)}function fi(e,t,r){var a;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 n=e.read_shift(1);return a=0===n?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont"),a}function ui(e,t,r){var a=e.read_shift(r&&2==r.biff?1:2);return 0===a?(e.l++,""):fi(e,a,r)}function hi(e,t,r){if(r.biff>5)return ui(e,t,r);var a=e.read_shift(1);return 0===a?(e.l++,""):e.read_shift(a,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function di(e,t,r){return r||(r=ba(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function pi(e){var t=e.read_shift(1);e.l++;var r=e.read_shift(2);return e.l+=2,[t,r]}function mi(e){var t=e.read_shift(4),r=e.l,a=!1;t>24&&(e.l+=t-24,"795881f43b1d7f48af2c825dc4852763"===e.read_shift(16)&&(a=!0),e.l=r);var n=e.read_shift((a?t-24:t)>>1,"utf16le").replace(M,"");return a&&(e.l+=24),n}function bi(e){var t=e.read_shift(2),r="";while(t-- >0)r+="../";var a=e.read_shift(0,"lpstr-ansi");if(e.l+=2,57005!=e.read_shift(2))throw new Error("Bad FileMoniker");var n=e.read_shift(4);if(0===n)return r+a.replace(/\\/g,"/");var s=e.read_shift(4);if(3!=e.read_shift(2))throw new Error("Bad FileMoniker");var i=e.read_shift(s>>1,"utf16le").replace(M,"");return r+i}function gi(e,t){var r=e.read_shift(16);switch(t-=16,r){case"e0c9ea79f9bace118c8200aa004ba90b":return mi(e,t);case"0303000000000000c000000000000046":return bi(e,t);default:throw new Error("Unsupported Moniker "+r)}}function vi(e){var t=e.read_shift(4),r=t>0?e.read_shift(t,"utf16le").replace(M,""):"";return r}function wi(e,t){t||(t=ba(6+2*e.length)),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 yi(e,t){var r=e.l+t,a=e.read_shift(4);if(2!==a)throw new Error("Unrecognized streamVersion: "+a);var n=e.read_shift(2);e.l+=2;var s,i,o,l,c,f,u="";16&n&&(s=vi(e,r-e.l)),128&n&&(i=vi(e,r-e.l)),257===(257&n)&&(o=vi(e,r-e.l)),1===(257&n)&&(l=gi(e,r-e.l)),8&n&&(u=vi(e,r-e.l)),32&n&&(c=e.read_shift(16)),64&n&&(f=Rs(e)),e.l=r;var h=i||o||l||"";h&&u&&(h+="#"+u),h||(h="#"+u),2&n&&"/"==h.charAt(0)&&"/"!=h.charAt(1)&&(h="file://"+h);var d={Target:h};return c&&(d.guid=c),f&&(d.time=f),s&&(d.Tooltip=s),d}function ki(e){var t=ba(512),r=0,a=e.Target;"file://"==a.slice(0,7)&&(a=a.slice(7));var n=a.indexOf("#"),s=n>-1?31:23;switch(a.charAt(0)){case"#":s=28;break;case".":s&=-3;break}t.write_shift(4,2),t.write_shift(4,s);var i=[8,6815827,6619237,4849780,83];for(r=0;r<i.length;++r)t.write_shift(4,i[r]);if(28==s)a=a.slice(1),wi(a,t);else if(2&s){for(i="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),r=0;r<i.length;++r)t.write_shift(1,parseInt(i[r],16));var o=n>-1?a.slice(0,n):a;for(t.write_shift(4,2*(o.length+1)),r=0;r<o.length;++r)t.write_shift(2,o.charCodeAt(r));t.write_shift(2,0),8&s&&wi(n>-1?a.slice(n+1):"",t)}else{for(i="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r<i.length;++r)t.write_shift(1,parseInt(i[r],16));var l=0;while("../"==a.slice(3*l,3*l+3)||"..\\"==a.slice(3*l,3*l+3))++l;for(t.write_shift(2,l),t.write_shift(4,a.length-3*l+1),r=0;r<a.length-3*l;++r)t.write_shift(1,255&a.charCodeAt(r+3*l));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 Ti(e){var t=e.read_shift(1),r=e.read_shift(1),a=e.read_shift(1),n=e.read_shift(1);return[t,r,a,n]}function _i(e,t){var r=Ti(e,t);return r[3]=0,r}function Ei(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2);return{r:t,c:r,ixfe:a}}function Si(e,t,r,a){return a||(a=ba(6)),a.write_shift(2,e),a.write_shift(2,t),a.write_shift(2,r||0),a}function Ai(e){var t=e.read_shift(2),r=e.read_shift(2);return e.l+=8,{type:t,flags:r}}function xi(e,t,r){return 0===t?"":hi(e,t,r)}function Ci(e,t,r){var a=r.biff>8?4:2,n=e.read_shift(a),s=e.read_shift(a,"i"),i=e.read_shift(a,"i");return[n,s,i]}function Ri(e){var t=e.read_shift(2),r=un(e);return[t,r]}function Pi(e,t,r){e.l+=4,t-=4;var a=e.l+t,n=oi(e,t,r),s=e.read_shift(2);if(a-=e.l,s!==a)throw new Error("Malformed AddinUdf: padding = "+a+" != "+s);return e.l+=s,n}function Oi(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2);return{s:{c:a,r:t},e:{c:n,r:r}}}function Ni(e,t){return t||(t=ba(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 Ii(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(1),n=e.read_shift(1);return{s:{c:a,r:t},e:{c:n,r:r}}}var Di=Ii;function Fi(e){e.l+=4;var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2);return e.l+=12,[r,t,a]}function Mi(e){var t={};return e.l+=4,e.l+=16,t.fSharedNote=e.read_shift(2),e.l+=4,t}function Li(e){var t={};return e.l+=4,e.cf=e.read_shift(2),t}function Bi(e){e.l+=2,e.l+=e.read_shift(2)}var Ui={0:Bi,4:Bi,5:Bi,6:Bi,7:Li,8:Bi,9:Bi,10:Bi,11:Bi,12:Bi,13:Mi,14:Bi,15:Bi,16:Bi,17:Bi,18:Bi,19:Bi,20:Bi,21:Fi};function zi(e,t){var r=e.l+t,a=[];while(e.l<r){var n=e.read_shift(2);e.l-=2;try{a.push(Ui[n](e,r-e.l))}catch(s){return e.l=r,a}}return e.l!=r&&(e.l=r),a}function Wi(e,t){var r={BIFFVer:0,dt:0};switch(r.BIFFVer=e.read_shift(2),t-=2,t>=2&&(r.dt=e.read_shift(2),e.l-=2),r.BIFFVer){case 1536:case 1280:case 1024:case 768:case 512:case 2:case 7:break;default:if(t>6)throw new Error("Unexpected BIFF Ver "+r.BIFFVer)}return e.read_shift(t),r}function Hi(e,t,r){var a=1536,n=16;switch(r.bookType){case"biff8":break;case"biff5":a=1280,n=8;break;case"biff4":a=4,n=6;break;case"biff3":a=3,n=6;break;case"biff2":a=2,n=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var s=ba(n);return s.write_shift(2,a),s.write_shift(2,t),n>4&&s.write_shift(2,29282),n>6&&s.write_shift(2,1997),n>8&&(s.write_shift(2,49161),s.write_shift(2,1),s.write_shift(2,1798),s.write_shift(2,0)),s}function ji(e,t){return 0===t||e.read_shift(2),1200}function Vi(e,t,r){if(r.enc)return e.l+=t,"";var a=e.l,n=hi(e,0,r);return e.read_shift(t+a-e.l),n}function Gi(e,t){var r=!t||8==t.biff,a=ba(r?112:54);a.write_shift(8==t.biff?2:1,7),r&&a.write_shift(1,0),a.write_shift(4,859007059),a.write_shift(4,5458548|(r?0:536870912));while(a.l<a.length)a.write_shift(1,r?0:32);return a}function $i(e,t,r){var a=r&&8==r.biff||2==t?e.read_shift(2):(e.l+=t,0);return{fDialog:16&a,fBelow:64&a,fRight:128&a}}function Xi(e,t,r){var a=e.read_shift(4),n=3&e.read_shift(1),s=e.read_shift(1);switch(s){case 0:s="Worksheet";break;case 1:s="Macrosheet";break;case 2:s="Chartsheet";break;case 6:s="VBAModule";break}var i=oi(e,0,r);return 0===i.length&&(i="Sheet1"),{pos:a,hs:n,dt:s,name:i}}function Yi(e,t){var r=!t||t.biff>=8?2:1,a=ba(8+r*e.name.length);a.write_shift(4,e.pos),a.write_shift(1,e.hs||0),a.write_shift(1,e.dt),a.write_shift(1,e.name.length),t.biff>=8&&a.write_shift(1,1),a.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var n=a.slice(0,a.l);return n.l=a.l,n}function Ki(e,t){for(var r=e.l+t,a=e.read_shift(4),n=e.read_shift(4),s=[],i=0;i!=n&&e.l<r;++i)s.push(li(e));return s.Count=a,s.Unique=n,s}function Zi(e,t){var r=ba(8);r.write_shift(4,e.Count),r.write_shift(4,e.Unique);for(var a=[],n=0;n<e.length;++n)a[n]=ci(e[n],t);var s=D([r].concat(a));return s.parts=[r.length].concat(a.map((function(e){return e.length}))),s}function qi(e,t){var r={};return r.dsst=e.read_shift(2),e.l+=t-2,r}function Ji(e){var t={};t.r=e.read_shift(2),t.c=e.read_shift(2),t.cnt=e.read_shift(2)-t.c;var r=e.read_shift(2);e.l+=4;var a=e.read_shift(1);return e.l+=3,7&a&&(t.level=7&a),32&a&&(t.hidden=!0),64&a&&(t.hpt=r/20),t}function Qi(e){var t=Ai(e);if(2211!=t.type)throw new Error("Invalid Future Record "+t.type);var r=e.read_shift(4);return 0!==r}function eo(e){return e.read_shift(2),e.read_shift(4)}function to(e,t,r){var a=0;r&&2==r.biff||(a=e.read_shift(2));var n=e.read_shift(2);r&&2==r.biff&&(a=1-(n>>15),n&=32767);var s={Unsynced:1&a,DyZero:(2&a)>>1,ExAsc:(4&a)>>2,ExDsc:(8&a)>>3};return[s,n]}function ro(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(2),n=e.read_shift(2),s=e.read_shift(2),i=e.read_shift(2),o=e.read_shift(2),l=e.read_shift(2),c=e.read_shift(2);return{Pos:[t,r],Dim:[a,n],Flags:s,CurTab:i,FirstTab:o,Selected:l,TabRatio:c}}function ao(){var e=ba(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 no(e,t,r){if(r&&r.biff>=2&&r.biff<5)return{};var a=e.read_shift(2);return{RTL:64&a}}function so(e){var t=ba(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 io(){}function oo(e,t,r){var a={dyHeight:e.read_shift(2),fl:e.read_shift(2)};switch(r&&r.biff||8){case 2:break;case 3:case 4:e.l+=2;break;default:e.l+=10;break}return a.name=oi(e,0,r),a}function lo(e,t){var r=e.name||"Arial",a=t&&5==t.biff,n=a?15+r.length:16+2*r.length,s=ba(n);return s.write_shift(2,20*(e.sz||12)),s.write_shift(4,0),s.write_shift(2,400),s.write_shift(4,0),s.write_shift(2,0),s.write_shift(1,r.length),a||s.write_shift(1,1),s.write_shift((a?1:2)*r.length,r,a?"sbcs":"utf16le"),s}function co(e){var t=Ei(e);return t.isst=e.read_shift(4),t}function fo(e,t,r,a){var n=ba(10);return Si(e,t,a,n),n.write_shift(4,r),n}function uo(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5);var a=e.l+t,n=Ei(e,6);2==r.biff&&e.l++;var s=ui(e,a-e.l,r);return n.val=s,n}function ho(e,t,r,a,n){var s=!n||8==n.biff,i=ba(+s+8+(1+s)*r.length);return Si(e,t,a,i),i.write_shift(2,r.length),s&&i.write_shift(1,1),i.write_shift((1+s)*r.length,r,s?"utf16le":"sbcs"),i}function po(e,t,r){var a=e.read_shift(2),n=hi(e,0,r);return[a,n]}function mo(e,t,r,a){var n=r&&5==r.biff;a||(a=ba(n?3+t.length:5+2*t.length)),a.write_shift(2,e),a.write_shift(n?1:2,t.length),n||a.write_shift(1,1),a.write_shift((n?1:2)*t.length,t,n?"sbcs":"utf16le");var s=a.length>a.l?a.slice(0,a.l):a;return null==s.l&&(s.l=s.length),s}var bo=hi;function go(e,t,r){var a=e.l+t,n=8!=r.biff&&r.biff?2:4,s=e.read_shift(n),i=e.read_shift(n),o=e.read_shift(2),l=e.read_shift(2);return e.l=a,{s:{r:s,c:o},e:{r:i,c:l}}}function vo(e,t){var r=8!=t.biff&&t.biff?2:4,a=ba(2*r+6);return a.write_shift(r,e.s.r),a.write_shift(r,e.e.r+1),a.write_shift(2,e.s.c),a.write_shift(2,e.e.c+1),a.write_shift(2,0),a}function wo(e){var t=e.read_shift(2),r=e.read_shift(2),a=Ri(e);return{r:t,c:r,ixfe:a[0],rknum:a[1]}}function yo(e,t){var r=e.l+t-2,a=e.read_shift(2),n=e.read_shift(2),s=[];while(e.l<r)s.push(Ri(e));if(e.l!==r)throw new Error("MulRK read error");var i=e.read_shift(2);if(s.length!=i-n+1)throw new Error("MulRK length mismatch");return{r:a,c:n,C:i,rkrec:s}}function ko(e,t){var r=e.l+t-2,a=e.read_shift(2),n=e.read_shift(2),s=[];while(e.l<r)s.push(e.read_shift(2));if(e.l!==r)throw new Error("MulBlank read error");var i=e.read_shift(2);if(s.length!=i-n+1)throw new Error("MulBlank length mismatch");return{r:a,c:n,C:i,ixfe:s}}function To(e,t,r,a){var n={},s=e.read_shift(4),i=e.read_shift(4),o=e.read_shift(4),l=e.read_shift(2);return n.patternType=Hn[o>>26],a.cellStyles?(n.alc=7&s,n.fWrap=s>>3&1,n.alcV=s>>4&7,n.fJustLast=s>>7&1,n.trot=s>>8&255,n.cIndent=s>>16&15,n.fShrinkToFit=s>>20&1,n.iReadOrder=s>>22&2,n.fAtrNum=s>>26&1,n.fAtrFnt=s>>27&1,n.fAtrAlc=s>>28&1,n.fAtrBdr=s>>29&1,n.fAtrPat=s>>30&1,n.fAtrProt=s>>31&1,n.dgLeft=15&i,n.dgRight=i>>4&15,n.dgTop=i>>8&15,n.dgBottom=i>>12&15,n.icvLeft=i>>16&127,n.icvRight=i>>23&127,n.grbitDiag=i>>30&3,n.icvTop=127&o,n.icvBottom=o>>7&127,n.icvDiag=o>>14&127,n.dgDiag=o>>21&15,n.icvFore=127&l,n.icvBack=l>>7&127,n.fsxButton=l>>14&1,n):n}function _o(e,t,r){var a={};return a.ifnt=e.read_shift(2),a.numFmtId=e.read_shift(2),a.flags=e.read_shift(2),a.fStyle=a.flags>>2&1,t-=6,a.data=To(e,t,a.fStyle,r),a}function Eo(e,t,r,a){var n=r&&5==r.biff;a||(a=ba(n?16:20)),a.write_shift(2,0),e.style?(a.write_shift(2,e.numFmtId||0),a.write_shift(2,65524)):(a.write_shift(2,e.numFmtId||0),a.write_shift(2,t<<4));var s=0;return e.numFmtId>0&&n&&(s|=1024),a.write_shift(4,s),a.write_shift(4,0),n||a.write_shift(4,0),a.write_shift(2,0),a}function So(e){e.l+=4;var t=[e.read_shift(2),e.read_shift(2)];if(0!==t[0]&&t[0]--,0!==t[1]&&t[1]--,t[0]>7||t[1]>7)throw new Error("Bad Gutters: "+t.join("|"));return t}function Ao(e){var t=ba(8);return t.write_shift(4,0),t.write_shift(2,e[0]?e[0]+1:0),t.write_shift(2,e[1]?e[1]+1:0),t}function xo(e,t,r){var a=Ei(e,6);2!=r.biff&&9!=t||++e.l;var n=si(e,2);return a.val=n,a.t=!0===n||!1===n?"b":"e",a}function Co(e,t,r,a,n,s){var i=ba(8);return Si(e,t,a,i),ii(r,s,i),i}function Ro(e,t,r){r.biffguess&&2==r.biff&&(r.biff=5);var a=Ei(e,6),n=gn(e,8);return a.val=n,a}function Po(e,t,r,a){var n=ba(14);return Si(e,t,a,n),vn(r,n),n}var Oo=xi;function No(e,t,r){var a=e.l+t,n=e.read_shift(2),s=e.read_shift(2);if(r.sbcch=s,1025==s||14849==s)return[s,n];if(s<1||s>255)throw new Error("Unexpected SupBook type: "+s);var i=fi(e,s),o=[];while(a>e.l)o.push(ui(e));return[s,n,i,o]}function Io(e,t,r){var a,n=e.read_shift(2),s={fBuiltIn:1&n,fWantAdvise:n>>>1&1,fWantPict:n>>>2&1,fOle:n>>>3&1,fOleLink:n>>>4&1,cf:n>>>5&1023,fIcon:n>>>15&1};return 14849===r.sbcch&&(a=Pi(e,t-2,r)),s.body=a||e.read_shift(t-2),"string"===typeof a&&(s.Name=a),s}var Do=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"];function Fo(e,t,r){var a=e.l+t,n=e.read_shift(2),s=e.read_shift(1),i=e.read_shift(1),o=e.read_shift(r&&2==r.biff?1:2),l=0;(!r||r.biff>=5)&&(5!=r.biff&&(e.l+=2),l=e.read_shift(2),5==r.biff&&(e.l+=2),e.l+=4);var c=fi(e,i,r);32&n&&(c=Do[c.charCodeAt(0)]);var f=a-e.l;r&&2==r.biff&&--f;var u=a!=e.l&&0!==o&&f>0?hd(e,f,r,o):[];return{chKey:s,Name:c,itab:l,rgce:u}}function Mo(e,t,r){if(r.biff<8)return Lo(e,t,r);var a=[],n=e.l+t,s=e.read_shift(r.biff>8?4:2);while(0!==s--)a.push(Ci(e,r.biff>8?12:6,r));if(e.l!=n)throw new Error("Bad ExternSheet: "+e.l+" != "+n);return a}function Lo(e,t,r){3==e[e.l+1]&&e[e.l]++;var a=oi(e,t,r);return 3==a.charCodeAt(0)?a.slice(1):a}function Bo(e,t,r){if(!(r.biff<8)){var a=e.read_shift(2),n=e.read_shift(2),s=fi(e,a,r),i=fi(e,n,r);return[s,i]}e.l+=t}function Uo(e,t,r){var a=Ii(e,6);e.l++;var n=e.read_shift(1);return t-=8,[dd(e,t,r),n,a]}function zo(e,t,r){var a=Di(e,6);switch(r.biff){case 2:e.l++,t-=7;break;case 3:case 4:e.l+=2,t-=8;break;default:e.l+=6,t-=12}return[a,fd(e,t,r,a)]}function Wo(e){var t=0!==e.read_shift(4),r=0!==e.read_shift(4),a=e.read_shift(4);return[t,r,a]}function Ho(e,t,r){if(!(r.biff<8)){var a=e.read_shift(2),n=e.read_shift(2),s=e.read_shift(2),i=e.read_shift(2),o=hi(e,0,r);return r.biff<8&&e.read_shift(1),[{r:a,c:n},o,i,s]}}function jo(e,t,r){return Ho(e,t,r)}function Vo(e,t){var r=[],a=e.read_shift(2);while(a--)r.push(Oi(e,t));return r}function Go(e){var t=ba(2+8*e.length);t.write_shift(2,e.length);for(var r=0;r<e.length;++r)Ni(e[r],t);return t}function $o(e,t,r){if(r&&r.biff<8)return Yo(e,t,r);var a=Fi(e,22),n=zi(e,t-22,a[1]);return{cmo:a,ft:n}}var Xo={8:function(e,t){var r=e.l+t;e.l+=10;var a=e.read_shift(2);e.l+=4,e.l+=2,e.l+=2,e.l+=2,e.l+=4;var n=e.read_shift(1);return e.l+=n,e.l=r,{fmt:a}}};function Yo(e,t,r){e.l+=4;var a=e.read_shift(2),n=e.read_shift(2),s=e.read_shift(2);e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=2,e.l+=6,t-=36;var i=[];return i.push((Xo[a]||ma)(e,t,r)),{cmo:[n,a,s],ft:i}}function Ko(e,t,r){var a=e.l,n="";try{e.l+=4;var s=(r.lastobj||{cmo:[0,0]}).cmo[1];-1==[0,5,7,11,12,14].indexOf(s)?e.l+=6:pi(e,6,r);var i=e.read_shift(2);e.read_shift(2),ri(e,2);var o=e.read_shift(2);e.l+=o;for(var l=1;l<e.lens.length-1;++l){if(e.l-a!=e.lens[l])throw new Error("TxO: bad continue record");var c=e[e.l],f=fi(e,e.lens[l+1]-e.lens[l]-1);if(n+=f,n.length>=(c?i:2*i))break}if(n.length!==i&&n.length!==2*i)throw new Error("cchText: "+i+" != "+n.length);return e.l=a+t,{t:n}}catch(u){return e.l=a+t,{t:n}}}function Zo(e,t){var r=Oi(e,8);e.l+=16;var a=yi(e,t-24);return[r,a]}function qo(e){var t=ba(24),r=Ia(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 a="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),n=0;n<16;++n)t.write_shift(1,parseInt(a[n],16));return D([t,ki(e[1])])}function Jo(e,t){e.read_shift(2);var r=Oi(e,8),a=e.read_shift((t-10)/2,"dbcs-cont");return a=a.replace(M,""),[r,a]}function Qo(e){var t=e[1].Tooltip,r=ba(10+2*(t.length+1));r.write_shift(2,2048);var a=Ia(e[0]);r.write_shift(2,a.r),r.write_shift(2,a.r),r.write_shift(2,a.c),r.write_shift(2,a.c);for(var n=0;n<t.length;++n)r.write_shift(2,t.charCodeAt(n));return r.write_shift(2,0),r}function el(e){var t,r=[0,0];return t=e.read_shift(2),r[0]=Wn[t]||t,t=e.read_shift(2),r[1]=Wn[t]||t,r}function tl(e){return e||(e=ba(4)),e.write_shift(2,1),e.write_shift(2,1),e}function rl(e){var t=e.read_shift(2),r=[];while(t-- >0)r.push(_i(e,8));return r}function al(e){var t=e.read_shift(2),r=[];while(t-- >0)r.push(_i(e,8));return r}function nl(e){e.l+=2;var t={cxfs:0,crc:0};return t.cxfs=e.read_shift(2),t.crc=e.read_shift(4),t}function sl(e,t,r){if(!r.cellStyles)return ma(e,t);var a=r&&r.biff>=12?4:2,n=e.read_shift(a),s=e.read_shift(a),i=e.read_shift(a),o=e.read_shift(a),l=e.read_shift(2);2==a&&(e.l+=2);var c={s:n,e:s,w:i,ixfe:o,flags:l};return(r.biff>=5||!r.biff)&&(c.level=l>>8&7),c}function il(e,t){var r=ba(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,256*e.width),r.write_shift(2,0);var a=0;return e.hidden&&(a|=1),r.write_shift(1,a),a=e.level||0,r.write_shift(1,a),r.write_shift(2,0),r}function ol(e,t){var r={};return t<32||(e.l+=16,r.header=gn(e,8),r.footer=gn(e,8),e.l+=2),r}function ll(e,t,r){var a={area:!1};if(5!=r.biff)return e.l+=t,a;var n=e.read_shift(1);return e.l+=3,16&n&&(a.area=!0),a}function cl(e){for(var t=ba(2*e),r=0;r<e;++r)t.write_shift(2,r+1);return t}var fl=Ei,ul=ni,hl=ui;function dl(e){var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(4),n={fmt:t,env:r,len:a,data:e.slice(e.l,e.l+a)};return e.l+=a,n}function pl(e,t,r){r.biffguess&&5==r.biff&&(r.biff=2);var a=Ei(e,6);++e.l;var n=hi(e,t-7,r);return a.t="str",a.val=n,a}function ml(e){var t=Ei(e,6);++e.l;var r=gn(e,8);return t.t="n",t.val=r,t}function bl(e,t,r){var a=ba(15);return wg(a,e,t),a.write_shift(8,r,"f"),a}function gl(e){var t=Ei(e,6);++e.l;var r=e.read_shift(2);return t.t="n",t.val=r,t}function vl(e,t,r){var a=ba(9);return wg(a,e,t),a.write_shift(2,r),a}function wl(e){var t=e.read_shift(1);return 0===t?(e.l++,""):e.read_shift(t,"sbcs-cont")}function yl(e,t){e.l+=6,e.l+=2,e.l+=1,e.l+=3,e.l+=1,e.l+=t-13}function kl(e,t,r){var a=e.l+t,n=Ei(e,6),s=e.read_shift(2),i=fi(e,s,r);return e.l=a,n.t="str",n.val=i,n}var Tl=[2,3,48,49,131,139,140,245],_l=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=ot({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(t,r){var a=[],n=x(1);switch(r.type){case"base64":n=R(E(t));break;case"binary":n=R(t);break;case"buffer":case"array":n=t;break}pa(n,0);var s=n.read_shift(1),i=!!(136&s),o=!1,l=!1;switch(s){case 2:break;case 3:break;case 48:o=!0,i=!0;break;case 49:o=!0,i=!0;break;case 131:break;case 139:break;case 140:l=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+s.toString(16))}var c=0,f=521;2==s&&(c=n.read_shift(2)),n.l+=3,2!=s&&(c=n.read_shift(4)),c>1048576&&(c=1e6),2!=s&&(f=n.read_shift(2));var u=n.read_shift(2),h=r.codepage||1252;2!=s&&(n.l+=16,n.read_shift(1),0!==n[n.l]&&(h=e[n[n.l]]),n.l+=1,n.l+=2),l&&(n.l+=36);var d=[],p={},b=Math.min(n.length,2==s?521:f-10-(o?264:0)),g=l?32:11;while(n.l<b&&13!=n[n.l])switch(p={},p.name=m.utils.decode(h,n.slice(n.l,n.l+g)).replace(/[\u0000\r\n].*$/g,""),n.l+=g,p.type=String.fromCharCode(n.read_shift(1)),2==s||l||(p.offset=n.read_shift(4)),p.len=n.read_shift(1),2==s&&(p.offset=n.read_shift(2)),p.dec=n.read_shift(1),p.name.length&&d.push(p),2!=s&&(n.l+=l?13:14),p.type){case"B":o&&8==p.len||!r.WTF||console.log("Skipping "+p.name+":"+p.type);break;case"G":case"P":r.WTF&&console.log("Skipping "+p.name+":"+p.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+p.type)}if(13!==n[n.l]&&(n.l=f-1),13!==n.read_shift(1))throw new Error("DBF Terminator not found "+n.l+" "+n[n.l]);n.l=f;var v=0,w=0;for(a[0]=[],w=0;w!=d.length;++w)a[0][w]=d[w].name;while(c-- >0)if(42!==n[n.l])for(++n.l,a[++v]=[],w=0,w=0;w!=d.length;++w){var y=n.slice(n.l,n.l+d[w].len);n.l+=d[w].len,pa(y,0);var k=m.utils.decode(h,y);switch(d[w].type){case"C":k.trim().length&&(a[v][w]=k.replace(/\s+$/,""));break;case"D":8===k.length?a[v][w]=new Date(+k.slice(0,4),+k.slice(4,6)-1,+k.slice(6,8)):a[v][w]=k;break;case"F":a[v][w]=parseFloat(k.trim());break;case"+":case"I":a[v][w]=l?2147483648^y.read_shift(-4,"i"):y.read_shift(4,"i");break;case"L":switch(k.trim().toUpperCase()){case"Y":case"T":a[v][w]=!0;break;case"N":case"F":a[v][w]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+k+"|")}break;case"M":if(!i)throw new Error("DBF Unexpected MEMO for type "+s.toString(16));a[v][w]="##MEMO##"+(l?parseInt(k.trim(),10):y.read_shift(4));break;case"N":k=k.replace(/\u0000/g,"").trim(),k&&"."!=k&&(a[v][w]=+k||0);break;case"@":a[v][w]=new Date(y.read_shift(-8,"f")-621356832e5);break;case"T":a[v][w]=new Date(864e5*(y.read_shift(4)-2440588)+y.read_shift(4));break;case"Y":a[v][w]=y.read_shift(4,"i")/1e4+y.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":a[v][w]=-y.read_shift(-8,"f");break;case"B":if(o&&8==d[w].len){a[v][w]=y.read_shift(8,"f");break}case"G":case"P":y.l+=d[w].len;break;case"0":if("_NullFlags"===d[w].name)break;default:throw new Error("DBF Unsupported data type "+d[w].type)}}else n.l+=u;if(2!=s&&n.l<n.length&&26!=n[n.l++])throw new Error("DBF EOF Marker missing "+(n.l-1)+" of "+n.length+" "+n[n.l-1].toString(16));return r&&r.sheetRows&&(a=a.slice(0,r.sheetRows)),r.DBF=d,a}function a(e,t){var a=t||{};a.dateNF||(a.dateNF="yyyymmdd");var n=Ha(r(e,a),a);return n["!cols"]=a.DBF.map((function(e){return{wch:e.len,DBF:e}})),delete a.DBF,n}function n(e,t){try{return za(a(e,t),t)}catch(r){if(t&&t.WTF)throw r}return{SheetNames:[],Sheets:{}}}var i={B:8,C:250,L:1,D:8,"?":0,"":0};function o(e,r){var a=r||{};if(+a.codepage>=0&&f(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var n=va(),o=yw(e,{header:1,raw:!0,cellDates:!0}),l=o[0],c=o.slice(1),u=e["!cols"]||[],h=0,d=0,p=0,m=1;for(h=0;h<l.length;++h)if(((u[h]||{}).DBF||{}).name)l[h]=u[h].DBF.name,++p;else if(null!=l[h]){if(++p,"number"===typeof l[h]&&(l[h]=l[h].toString(10)),"string"!==typeof l[h])throw new Error("DBF Invalid column name "+l[h]+" |"+typeof l[h]+"|");if(l.indexOf(l[h])!==h)for(d=0;d<1024;++d)if(-1==l.indexOf(l[h]+"_"+d)){l[h]+="_"+d;break}}var b=La(e["!ref"]),g=[],v=[],w=[];for(h=0;h<=b.e.c-b.s.c;++h){var y="",k="",T=0,_=[];for(d=0;d<c.length;++d)null!=c[d][h]&&_.push(c[d][h]);if(0!=_.length&&null!=l[h]){for(d=0;d<_.length;++d){switch(typeof _[d]){case"number":k="B";break;case"string":k="C";break;case"boolean":k="L";break;case"object":k=_[d]instanceof Date?"D":"C";break;default:k="C"}T=Math.max(T,String(_[d]).length),y=y&&y!=k?"C":k}T>250&&(T=250),k=((u[h]||{}).DBF||{}).type,"C"==k&&u[h].DBF.len>T&&(T=u[h].DBF.len),"B"==y&&"N"==k&&(y="N",w[h]=u[h].DBF.dec,T=u[h].DBF.len),v[h]="C"==y||"N"==k?T:i[y]||0,m+=v[h],g[h]=y}else g[h]="?"}var E=n.next(32);for(E.write_shift(4,318902576),E.write_shift(4,c.length),E.write_shift(2,296+32*p),E.write_shift(2,m),h=0;h<4;++h)E.write_shift(4,0);for(E.write_shift(4,0|(+t[s]||3)<<8),h=0,d=0;h<l.length;++h)if(null!=l[h]){var S=n.next(32),A=(l[h].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);S.write_shift(1,A,"sbcs"),S.write_shift(1,"?"==g[h]?"C":g[h],"sbcs"),S.write_shift(4,d),S.write_shift(1,v[h]||i[g[h]]||0),S.write_shift(1,w[h]||0),S.write_shift(1,2),S.write_shift(4,0),S.write_shift(1,0),S.write_shift(4,0),S.write_shift(4,0),d+=v[h]||i[g[h]]||0}var x=n.next(264);for(x.write_shift(4,13),h=0;h<65;++h)x.write_shift(4,0);for(h=0;h<c.length;++h){var C=n.next(m);for(C.write_shift(1,0),d=0;d<l.length;++d)if(null!=l[d])switch(g[d]){case"L":C.write_shift(1,null==c[h][d]?63:c[h][d]?84:70);break;case"B":C.write_shift(8,c[h][d]||0,"f");break;case"N":var R="0";for("number"==typeof c[h][d]&&(R=c[h][d].toFixed(w[d]||0)),p=0;p<v[d]-R.length;++p)C.write_shift(1,32);C.write_shift(1,R,"sbcs");break;case"D":c[h][d]?(C.write_shift(4,("0000"+c[h][d].getFullYear()).slice(-4),"sbcs"),C.write_shift(2,("00"+(c[h][d].getMonth()+1)).slice(-2),"sbcs"),C.write_shift(2,("00"+c[h][d].getDate()).slice(-2),"sbcs")):C.write_shift(8,"00000000","sbcs");break;case"C":var P=String(null!=c[h][d]?c[h][d]:"").slice(0,v[d]);for(C.write_shift(1,P,"sbcs"),p=0;p<v[d]-P.length;++p)C.write_shift(1,32);break}}return n.next(1).write_shift(1,26),n.end()}return{to_workbook:n,to_sheet:a,from_sheet:o}}(),El=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("N("+st(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(t,r){var a=e[r];return"number"==typeof a?v(a):a},a=function(e,t,r){var a=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==a?e:v(a)};function n(e,t){switch(t.type){case"base64":return s(E(e),t);case"binary":return s(e,t);case"buffer":return s(S&&Buffer.isBuffer(e)?e.toString("binary"):O(e),t);case"array":return s(kt(e),t)}throw new Error("Unrecognized type "+t.type)}function s(e,n){var s,i=e.split(/[\n\r]+/),o=-1,l=-1,c=0,u=0,h=[],d=[],p=null,b={},g=[],v=[],w=[],y=0;for(+n.codepage>=0&&f(+n.codepage);c!==i.length;++c){y=0;var k,T=i[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,a).replace(t,r),_=T.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),E=_[0];if(T.length>0)switch(E){case"ID":break;case"E":break;case"B":break;case"O":break;case"W":break;case"P":"P"==_[1].charAt(0)&&d.push(T.slice(3).replace(/;;/g,";"));break;case"C":var S=!1,A=!1,x=!1,C=!1,R=-1,P=-1;for(u=1;u<_.length;++u)switch(_[u].charAt(0)){case"A":break;case"X":l=parseInt(_[u].slice(1))-1,A=!0;break;case"Y":for(o=parseInt(_[u].slice(1))-1,A||(l=0),s=h.length;s<=o;++s)h[s]=[];break;case"K":k=_[u].slice(1),'"'===k.charAt(0)?k=k.slice(1,k.length-1):"TRUE"===k?k=!0:"FALSE"===k?k=!1:isNaN(Et(k))?isNaN(At(k).getDate())||(k=yt(k)):(k=Et(k),null!==p&&Be(p)&&(k=mt(k))),"undefined"!==typeof m&&"string"==typeof k&&"string"!=(n||{}).type&&(n||{}).codepage&&(k=m.utils.decode(n.codepage,k)),S=!0;break;case"E":C=!0;var O=Cu(_[u].slice(1),{r:o,c:l});h[o][l]=[h[o][l],O];break;case"S":x=!0,h[o][l]=[h[o][l],"S5S"];break;case"G":break;case"R":R=parseInt(_[u].slice(1))-1;break;case"C":P=parseInt(_[u].slice(1))-1;break;default:if(n&&n.WTF)throw new Error("SYLK bad record "+T)}if(S&&(h[o][l]&&2==h[o][l].length?h[o][l][0]=k:h[o][l]=k,p=null),x){if(C)throw new Error("SYLK shared formula cannot have own formula");var N=R>-1&&h[R][P];if(!N||!N[1])throw new Error("SYLK shared formula cannot find base");h[o][l][1]=Ou(N[1],{r:o-R,c:l-P})}break;case"F":var I=0;for(u=1;u<_.length;++u)switch(_[u].charAt(0)){case"X":l=parseInt(_[u].slice(1))-1,++I;break;case"Y":for(o=parseInt(_[u].slice(1))-1,s=h.length;s<=o;++s)h[s]=[];break;case"M":y=parseInt(_[u].slice(1))/20;break;case"F":break;case"G":break;case"P":p=d[parseInt(_[u].slice(1))];break;case"S":break;case"D":break;case"N":break;case"W":for(w=_[u].slice(1).split(" "),s=parseInt(w[0],10);s<=parseInt(w[1],10);++s)y=parseInt(w[2],10),v[s-1]=0===y?{hidden:!0}:{wch:y},Nc(v[s-1]);break;case"C":l=parseInt(_[u].slice(1))-1,v[l]||(v[l]={});break;case"R":o=parseInt(_[u].slice(1))-1,g[o]||(g[o]={}),y>0?(g[o].hpt=y,g[o].hpx=Mc(y)):0===y&&(g[o].hidden=!0);break;default:if(n&&n.WTF)throw new Error("SYLK bad record "+T)}I<1&&(p=null);break;default:if(n&&n.WTF)throw new Error("SYLK bad record "+T)}}return g.length>0&&(b["!rows"]=g),v.length>0&&(b["!cols"]=v),n&&n.sheetRows&&(h=h.slice(0,n.sheetRows)),[h,b]}function i(e,t){var r=n(e,t),a=r[0],s=r[1],i=Ha(a,t);return st(s).forEach((function(e){i[e]=s[e]})),i}function o(e,t){return za(i(e,t),t)}function l(e,t,r,a){var n="C;Y"+(r+1)+";X"+(a+1)+";K";switch(e.t){case"n":n+=e.v||0,e.f&&!e.F&&(n+=";E"+Pu(e.f,{r:r,c:a}));break;case"b":n+=e.v?"TRUE":"FALSE";break;case"e":n+=e.w||e.v;break;case"d":n+='"'+(e.w||e.v)+'"';break;case"s":n+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"';break}return n}function c(e,t){t.forEach((function(t,r){var a="F;W"+(r+1)+" "+(r+1)+" ";t.hidden?a+="0":("number"!=typeof t.width||t.wpx||(t.wpx=xc(t.width)),"number"!=typeof t.wpx||t.wch||(t.wch=Cc(t.wpx)),"number"==typeof t.wch&&(a+=Math.round(t.wch)))," "!=a.charAt(a.length-1)&&e.push(a)}))}function u(e,t){t.forEach((function(t,r){var a="F;";t.hidden?a+="M0;":t.hpt?a+="M"+20*t.hpt+";":t.hpx&&(a+="M"+20*Fc(t.hpx)+";"),a.length>2&&e.push(a+"R"+(r+1))}))}function h(e,t){var r,a=["ID;PWXL;N;E"],n=[],s=La(e["!ref"]),i=Array.isArray(e),o="\r\n";a.push("P;PGeneral"),a.push("F;P0;DG0G8;M255"),e["!cols"]&&c(a,e["!cols"]),e["!rows"]&&u(a,e["!rows"]),a.push("B;Y"+(s.e.r-s.s.r+1)+";X"+(s.e.c-s.s.c+1)+";D"+[s.s.c,s.s.r,s.e.c,s.e.r].join(" "));for(var f=s.s.r;f<=s.e.r;++f)for(var h=s.s.c;h<=s.e.c;++h){var d=Da({r:f,c:h});r=i?(e[f]||[])[h]:e[d],r&&(null!=r.v||r.f&&!r.F)&&n.push(l(r,e,f,h,t))}return a.join(o)+o+n.join(o)+o+"E"+o}return e["|"]=254,{to_workbook:o,to_sheet:i,from_sheet:h}}(),Sl=function(){function e(e,r){switch(r.type){case"base64":return t(E(e),r);case"binary":return t(e,r);case"buffer":return t(S&&Buffer.isBuffer(e)?e.toString("binary"):O(e),r);case"array":return t(kt(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){for(var r=e.split("\n"),a=-1,n=-1,s=0,i=[];s!==r.length;++s)if("BOT"!==r[s].trim()){if(!(a<0)){var o=r[s].trim().split(","),l=o[0],c=o[1];++s;var f=r[s]||"";while(1&(f.match(/["]/g)||[]).length&&s<r.length-1)f+="\n"+r[++s];switch(f=f.trim(),+l){case-1:if("BOT"===f){i[++a]=[],n=0;continue}if("EOD"!==f)throw new Error("Unrecognized DIF special command "+f);break;case 0:"TRUE"===f?i[a][n]=!0:"FALSE"===f?i[a][n]=!1:isNaN(Et(c))?isNaN(At(c).getDate())?i[a][n]=c:i[a][n]=yt(c):i[a][n]=Et(c),++n;break;case 1:f=f.slice(1,f.length-1),f=f.replace(/""/g,'"'),k&&f&&f.match(/^=".*"$/)&&(f=f.slice(2,-1)),i[a][n++]=""!==f?f:null;break}if("EOD"===f)break}}else i[++a]=[],n=0;return t&&t.sheetRows&&(i=i.slice(0,t.sheetRows)),i}function r(t,r){return Ha(e(t,r),r)}function a(e,t){return za(r(e,t),t)}var n=function(){var e=function(e,t,r,a,n){e.push(t),e.push(r+","+a),e.push('"'+n.replace(/"/g,'""')+'"')},t=function(e,t,r,a){e.push(t+","+r),e.push(1==t?'"'+a.replace(/"/g,'""')+'"':a)};return function(r){var a,n=[],s=La(r["!ref"]),i=Array.isArray(r);e(n,"TABLE",0,1,"sheetjs"),e(n,"VECTORS",0,s.e.r-s.s.r+1,""),e(n,"TUPLES",0,s.e.c-s.s.c+1,""),e(n,"DATA",0,0,"");for(var o=s.s.r;o<=s.e.r;++o){t(n,-1,0,"BOT");for(var l=s.s.c;l<=s.e.c;++l){var c=Da({r:o,c:l});if(a=i?(r[o]||[])[l]:r[c],a)switch(a.t){case"n":var f=k?a.w:a.v;f||null==a.v||(f=a.v),null==f?k&&a.f&&!a.F?t(n,1,0,"="+a.f):t(n,1,0,""):t(n,0,f,"V");break;case"b":t(n,0,a.v?1:0,a.v?"TRUE":"FALSE");break;case"s":t(n,1,0,!k||isNaN(a.v)?a.v:'="'+a.v+'"');break;case"d":a.w||(a.w=je(a.z||q[14],ut(yt(a.v)))),k?t(n,0,a.w,"V"):t(n,1,0,a.w);break;default:t(n,1,0,"")}else t(n,1,0,"")}}t(n,-1,0,"EOD");var u="\r\n",h=n.join(u);return h}}();return{to_workbook:a,to_sheet:r,from_sheet:n}}(),Al=function(){function e(e){return e.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,"\n")}function t(e){return e.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function r(t,r){for(var a=t.split("\n"),n=-1,s=-1,i=0,o=[];i!==a.length;++i){var l=a[i].trim().split(":");if("cell"===l[0]){var c=Ia(l[1]);if(o.length<=c.r)for(n=o.length;n<=c.r;++n)o[n]||(o[n]=[]);switch(n=c.r,s=c.c,l[2]){case"t":o[n][s]=e(l[3]);break;case"v":o[n][s]=+l[3];break;case"vtf":var f=l[l.length-1];case"vtc":switch(l[3]){case"nl":o[n][s]=!!+l[4];break;default:o[n][s]=+l[4];break}"vtf"==l[2]&&(o[n][s]=[o[n][s],f])}}}return r&&r.sheetRows&&(o=o.slice(0,r.sheetRows)),o}function a(e,t){return Ha(r(e,t),t)}function n(e,t){return za(a(e,t),t)}var s=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join("\n"),i=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join("\n")+"\n",o=["# SocialCalc Spreadsheet Control Save","part:sheet"].join("\n"),l="--SocialCalcSpreadsheetControlSave--";function c(e){if(!e||!e["!ref"])return"";for(var r,a=[],n=[],s="",i=Fa(e["!ref"]),o=Array.isArray(e),l=i.s.r;l<=i.e.r;++l)for(var c=i.s.c;c<=i.e.c;++c)if(s=Da({r:l,c:c}),r=o?(e[l]||[])[c]:e[s],r&&null!=r.v&&"z"!==r.t){switch(n=["cell",s,"t"],r.t){case"s":case"str":n.push(t(r.v));break;case"n":r.f?(n[2]="vtf",n[3]="n",n[4]=r.v,n[5]=t(r.f)):(n[2]="v",n[3]=r.v);break;case"b":n[2]="vt"+(r.f?"f":"c"),n[3]="nl",n[4]=r.v?"1":"0",n[5]=t(r.f||(r.v?"TRUE":"FALSE"));break;case"d":var f=ut(yt(r.v));n[2]="vtc",n[3]="nd",n[4]=""+f,n[5]=r.w||je(r.z||q[14],f);break;case"e":continue}a.push(n.join(":"))}return a.push("sheet:c:"+(i.e.c-i.s.c+1)+":r:"+(i.e.r-i.s.r+1)+":tvf:1"),a.push("valueformat:1:text-wiki"),a.join("\n")}function f(e){return[s,i,o,i,c(e),l].join("\n")}return{to_workbook:n,to_sheet:a,from_sheet:f}}(),xl=function(){function e(e,t,r,a,n){n.raw?t[r][a]=e:""===e||("TRUE"===e?t[r][a]=!0:"FALSE"===e?t[r][a]=!1:isNaN(Et(e))?isNaN(At(e).getDate())?t[r][a]=e:t[r][a]=yt(e):t[r][a]=Et(e))}function t(t,r){var a=r||{},n=[];if(!t||0===t.length)return n;var s=t.split(/[\r\n]/),i=s.length-1;while(i>=0&&0===s[i].length)--i;for(var o=10,l=0,c=0;c<=i;++c)l=s[c].indexOf(" "),-1==l?l=s[c].length:l++,o=Math.max(o,l);for(c=0;c<=i;++c){n[c]=[];var f=0;for(e(s[c].slice(0,o).trim(),n,c,f,a),f=1;f<=(s[c].length-o)/10+1;++f)e(s[c].slice(o+10*(f-1),o+10*f).trim(),n,c,f,a)}return a.sheetRows&&(n=n.slice(0,a.sheetRows)),n}var r={44:",",9:"\t",59:";",124:"|"},a={44:3,9:2,59:1,124:0};function n(e){for(var t={},n=!1,s=0,i=0;s<e.length;++s)34==(i=e.charCodeAt(s))?n=!n:!n&&i in r&&(t[i]=(t[i]||0)+1);for(s in i=[],t)Object.prototype.hasOwnProperty.call(t,s)&&i.push([t[s],s]);if(!i.length)for(s in t=a,t)Object.prototype.hasOwnProperty.call(t,s)&&i.push([t[s],s]);return i.sort((function(e,t){return e[0]-t[0]||a[e[1]]-a[t[1]]})),r[i.pop()[1]]||44}function s(e,t){var r=t||{},a="";null!=y&&null==r.dense&&(r.dense=y);var s=r.dense?[]:{},i={s:{c:0,r:0},e:{c:0,r:0}};"sep="==e.slice(0,4)?13==e.charCodeAt(5)&&10==e.charCodeAt(6)?(a=e.charAt(4),e=e.slice(7)):13==e.charCodeAt(5)||10==e.charCodeAt(5)?(a=e.charAt(4),e=e.slice(6)):a=n(e.slice(0,1024)):a=r&&r.FS?r.FS:n(e.slice(0,1024));var o=0,l=0,c=0,f=0,u=0,h=a.charCodeAt(0),d=!1,p=0,m=e.charCodeAt(0);e=e.replace(/\r\n/gm,"\n");var b=null!=r.dateNF?Ze(r.dateNF):null;function g(){var t=e.slice(f,u),a={};if('"'==t.charAt(0)&&'"'==t.charAt(t.length-1)&&(t=t.slice(1,-1).replace(/""/g,'"')),0===t.length)a.t="z";else if(r.raw)a.t="s",a.v=t;else if(0===t.trim().length)a.t="s",a.v=t;else if(61==t.charCodeAt(0))34==t.charCodeAt(1)&&34==t.charCodeAt(t.length-1)?(a.t="s",a.v=t.slice(2,-1).replace(/""/g,'"')):Iu(t)?(a.t="n",a.f=t.slice(1)):(a.t="s",a.v=t);else if("TRUE"==t)a.t="b",a.v=!0;else if("FALSE"==t)a.t="b",a.v=!1;else if(isNaN(c=Et(t)))if(!isNaN(At(t).getDate())||b&&t.match(b)){a.z=r.dateNF||q[14];var n=0;b&&t.match(b)&&(t=qe(t,r.dateNF,t.match(b)||[]),n=1),r.cellDates?(a.t="d",a.v=yt(t,n)):(a.t="n",a.v=ut(yt(t,n))),!1!==r.cellText&&(a.w=je(a.z,a.v instanceof Date?ut(a.v):a.v)),r.cellNF||delete a.z}else a.t="s",a.v=t;else a.t="n",!1!==r.cellText&&(a.w=t),a.v=c;if("z"==a.t||(r.dense?(s[o]||(s[o]=[]),s[o][l]=a):s[Da({c:l,r:o})]=a),f=u+1,m=e.charCodeAt(f),i.e.c<l&&(i.e.c=l),i.e.r<o&&(i.e.r=o),p==h)++l;else if(l=0,++o,r.sheetRows&&r.sheetRows<=o)return!0}e:for(;u<e.length;++u)switch(p=e.charCodeAt(u)){case 34:34===m&&(d=!d);break;case h:case 10:case 13:if(!d&&g())break e;break;default:break}return u-f>0&&g(),s["!ref"]=Ma(i),s}function i(e,r){return r&&r.PRN?r.FS||"sep="==e.slice(0,4)||e.indexOf("\t")>=0||e.indexOf(",")>=0||e.indexOf(";")>=0?s(e,r):Ha(t(e,r),r):s(e,r)}function o(e,t){var r="",a="string"==t.type?[0,0,0,0]:Kv(e,t);switch(t.type){case"base64":r=E(e);break;case"binary":r=e;break;case"buffer":r=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!==typeof m?m.utils.decode(t.codepage,e):S&&Buffer.isBuffer(e)?e.toString("binary"):O(e);break;case"array":r=kt(e);break;case"string":r=e;break;default:throw new Error("Unrecognized type "+t.type)}return 239==a[0]&&187==a[1]&&191==a[2]?r=dr(r.slice(3)):"string"!=t.type&&"buffer"!=t.type&&65001==t.codepage?r=dr(r):"binary"==t.type&&"undefined"!==typeof m&&t.codepage&&(r=m.utils.decode(t.codepage,m.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?Al.to_sheet("string"==t.type?r:dr(r),t):i(r,t)}function l(e,t){return za(o(e,t),t)}function c(e){for(var t,r=[],a=La(e["!ref"]),n=Array.isArray(e),s=a.s.r;s<=a.e.r;++s){for(var i=[],o=a.s.c;o<=a.e.c;++o){var l=Da({r:s,c:o});if(t=n?(e[s]||[])[o]:e[l],t&&null!=t.v){var c=(t.w||(Ua(t),t.w)||"").slice(0,10);while(c.length<10)c+=" ";i.push(c+(0===o?" ":""))}else i.push(" ")}r.push(i.join(""))}return r.join("\n")}return{to_workbook:l,to_sheet:o,from_sheet:c}}();function Cl(e,t){var r=t||{},a=!!r.WTF;r.WTF=!0;try{var n=El.to_workbook(e,r);return r.WTF=a,n}catch(s){if(r.WTF=a,!s.message.match(/SYLK bad record ID/)&&a)throw s;return xl.to_workbook(e,t)}}var Rl=function(){function e(e,t,r){if(e){pa(e,e.l||0);var a=r.Enum||z;while(e.l<e.length){var n=e.read_shift(2),s=a[n]||a[65535],i=e.read_shift(2),o=e.l+i,l=s.f&&s.f(e,i,r);if(e.l=o,t(l,s,n))return}}}function t(e,t){switch(t.type){case"base64":return r(R(E(e)),t);case"binary":return r(R(e),t);case"buffer":case"array":return r(e,t)}throw"Unsupported type "+t.type}function r(t,r){if(!t)return t;var a=r||{};null!=y&&null==a.dense&&(a.dense=y);var n=a.dense?[]:{},s="Sheet1",i="",o=0,l={},c=[],f=[],u={s:{r:0,c:0},e:{r:0,c:0}},h=a.sheetRows||0;if(0==t[2]&&(8==t[3]||9==t[3])&&t.length>=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])a.Enum=z,e(t,(function(e,t,r){switch(r){case 0:a.vers=e,e>=4096&&(a.qpro=!0);break;case 6:u=e;break;case 204:e&&(i=e);break;case 222:i=e;break;case 15:case 51:a.qpro||(e[1].v=e[1].v.slice(1));case 13:case 14:case 16:14==r&&112==(112&e[2])&&(15&e[2])>1&&(15&e[2])<15&&(e[1].z=a.dateNF||q[14],a.cellDates&&(e[1].t="d",e[1].v=mt(e[1].v))),a.qpro&&e[3]>o&&(n["!ref"]=Ma(u),l[s]=n,c.push(s),n=a.dense?[]:{},u={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],s=i||"Sheet"+(o+1),i="");var f=a.dense?(n[e[0].r]||[])[e[0].c]:n[Da(e[0])];if(f){f.t=e[1].t,f.v=e[1].v,null!=e[1].z&&(f.z=e[1].z),null!=e[1].f&&(f.f=e[1].f);break}a.dense?(n[e[0].r]||(n[e[0].r]=[]),n[e[0].r][e[0].c]=e[1]):n[Da(e[0])]=e[1];break;default:}}),a);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);a.Enum=W,14==t[2]&&(a.qpro=!0,t.l=0),e(t,(function(e,t,r){switch(r){case 204:s=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>o&&(n["!ref"]=Ma(u),l[s]=n,c.push(s),n=a.dense?[]:{},u={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],s="Sheet"+(o+1)),h>0&&e[0].r>=h)break;a.dense?(n[e[0].r]||(n[e[0].r]=[]),n[e[0].r][e[0].c]=e[1]):n[Da(e[0])]=e[1],u.e.c<e[0].c&&(u.e.c=e[0].c),u.e.r<e[0].r&&(u.e.r=e[0].r);break;case 27:e[14e3]&&(f[e[14e3][0]]=e[14e3][1]);break;case 1537:f[e[0]]=e[1],e[0]==o&&(s=e[1]);break;default:break}}),a)}if(n["!ref"]=Ma(u),l[i||s]=n,c.push(i||s),!f.length)return{SheetNames:c,Sheets:l};for(var d={},p=[],m=0;m<f.length;++m)l[c[m]]?(p.push(f[m]||c[m]),d[f[m]]=l[f[m]]||l[c[m]]):(p.push(f[m]),d[f[m]]={"!ref":"A1"});return{SheetNames:p,Sheets:d}}function a(e,t){var r=t||{};if(+r.codepage>=0&&f(+r.codepage),"string"==r.type)throw new Error("Cannot write WK1 to JS string");var a=va(),n=La(e["!ref"]),i=Array.isArray(e),o=[];gg(a,0,s(1030)),gg(a,6,l(n));for(var c=Math.min(n.e.r,8191),u=n.s.r;u<=c;++u)for(var d=Sa(u),m=n.s.c;m<=n.e.c;++m){u===n.s.r&&(o[m]=Ra(m));var g=o[m]+d,v=i?(e[u]||[])[m]:e[g];if(v&&"z"!=v.t)if("n"==v.t)(0|v.v)==v.v&&v.v>=-32768&&v.v<=32767?gg(a,13,p(u,m,v.v)):gg(a,14,b(u,m,v.v));else{var w=Ua(v);gg(a,15,h(u,m,w.slice(0,239)))}}return gg(a,1),a.end()}function n(e,t){var r=t||{};if(+r.codepage>=0&&f(+r.codepage),"string"==r.type)throw new Error("Cannot write WK3 to JS string");var a=va();gg(a,0,i(e));for(var n=0,s=0;n<e.SheetNames.length;++n)(e.Sheets[e.SheetNames[n]]||{})["!ref"]&&gg(a,27,U(e.SheetNames[n],s++));var o=0;for(n=0;n<e.SheetNames.length;++n){var l=e.Sheets[e.SheetNames[n]];if(l&&l["!ref"]){for(var c=La(l["!ref"]),u=Array.isArray(l),h=[],d=Math.min(c.e.r,8191),p=c.s.r;p<=d;++p)for(var m=Sa(p),b=c.s.c;b<=c.e.c;++b){p===c.s.r&&(h[b]=Ra(b));var g=h[b]+m,v=u?(l[p]||[])[b]:l[g];if(v&&"z"!=v.t)if("n"==v.t)gg(a,23,P(p,b,o,v.v));else{var w=Ua(v);gg(a,22,A(p,b,o,w.slice(0,239)))}}++o}}return gg(a,1),a.end()}function s(e){var t=ba(2);return t.write_shift(2,e),t}function i(e){var t=ba(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var r=0,a=0,n=0,s=0;s<e.SheetNames.length;++s){var i=e.SheetNames[s],o=e.Sheets[i];if(o&&o["!ref"]){++n;var l=Fa(o["!ref"]);r<l.e.r&&(r=l.e.r),a<l.e.c&&(a=l.e.c)}}return r>8191&&(r=8191),t.write_shift(2,r),t.write_shift(1,n),t.write_shift(1,a),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,1),t.write_shift(1,2),t.write_shift(4,0),t.write_shift(4,0),t}function o(e,t,r){var a={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(a.s.c=e.read_shift(1),e.l++,a.s.r=e.read_shift(2),a.e.c=e.read_shift(1),e.l++,a.e.r=e.read_shift(2),a):(a.s.c=e.read_shift(2),a.s.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),a.e.c=e.read_shift(2),a.e.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),65535==a.s.c&&(a.s.c=a.e.c=a.s.r=a.e.r=0),a)}function l(e){var t=ba(8);return t.write_shift(2,e.s.c),t.write_shift(2,e.s.r),t.write_shift(2,e.e.c),t.write_shift(2,e.e.r),t}function c(e,t,r){var a=[{c:0,r:0},{t:"n",v:0},0,0];return r.qpro&&20768!=r.vers?(a[0].c=e.read_shift(1),a[3]=e.read_shift(1),a[0].r=e.read_shift(2),e.l+=2):(a[2]=e.read_shift(1),a[0].c=e.read_shift(2),a[0].r=e.read_shift(2)),a}function u(e,t,r){var a=e.l+t,n=c(e,t,r);if(n[1].t="s",20768==r.vers){e.l++;var s=e.read_shift(1);return n[1].v=e.read_shift(s,"utf8"),n}return r.qpro&&e.l++,n[1].v=e.read_shift(a-e.l,"cstr"),n}function h(e,t,r){var a=ba(7+r.length);a.write_shift(1,255),a.write_shift(2,t),a.write_shift(2,e),a.write_shift(1,39);for(var n=0;n<a.length;++n){var s=r.charCodeAt(n);a.write_shift(1,s>=128?95:s)}return a.write_shift(1,0),a}function d(e,t,r){var a=c(e,t,r);return a[1].v=e.read_shift(2,"i"),a}function p(e,t,r){var a=ba(7);return a.write_shift(1,255),a.write_shift(2,t),a.write_shift(2,e),a.write_shift(2,r,"i"),a}function m(e,t,r){var a=c(e,t,r);return a[1].v=e.read_shift(8,"f"),a}function b(e,t,r){var a=ba(13);return a.write_shift(1,255),a.write_shift(2,t),a.write_shift(2,e),a.write_shift(8,r,"f"),a}function g(e,t,r){var a=e.l+t,n=c(e,t,r);if(n[1].v=e.read_shift(8,"f"),r.qpro)e.l=a;else{var s=e.read_shift(2);T(e.slice(e.l,e.l+s),n),e.l+=s}return n}function v(e,t,r){var a=32768&t;return t&=-32769,t=(a?e:0)+(t>=8192?t-16384:t),(a?"":"$")+(r?Ra(t):Sa(t))}var w={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]},k=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function T(e,t){pa(e,0);var r=[],a=0,n="",s="",i="",o="";while(e.l<e.length){var l=e[e.l++];switch(l){case 0:r.push(e.read_shift(8,"f"));break;case 1:s=v(t[0].c,e.read_shift(2),!0),n=v(t[0].r,e.read_shift(2),!1),r.push(s+n);break;case 2:var c=v(t[0].c,e.read_shift(2),!0),f=v(t[0].r,e.read_shift(2),!1);s=v(t[0].c,e.read_shift(2),!0),n=v(t[0].r,e.read_shift(2),!1),r.push(c+f+":"+s+n);break;case 3:if(e.l<e.length)return void console.error("WK1 premature formula end");break;case 4:r.push("("+r.pop()+")");break;case 5:r.push(e.read_shift(2));break;case 6:var u="";while(l=e[e.l++])u+=String.fromCharCode(l);r.push('"'+u.replace(/"/g,'""')+'"');break;case 8:r.push("-"+r.pop());break;case 23:r.push("+"+r.pop());break;case 22:r.push("NOT("+r.pop()+")");break;case 20:case 21:o=r.pop(),i=r.pop(),r.push(["AND","OR"][l-20]+"("+i+","+o+")");break;default:if(l<32&&k[l])o=r.pop(),i=r.pop(),r.push(i+k[l]+o);else{if(!w[l])return l<=7?console.error("WK1 invalid opcode "+l.toString(16)):l<=24?console.error("WK1 unsupported op "+l.toString(16)):l<=30?console.error("WK1 invalid opcode "+l.toString(16)):l<=115?console.error("WK1 unsupported function opcode "+l.toString(16)):console.error("WK1 unrecognized opcode "+l.toString(16));if(a=w[l][1],69==a&&(a=e[e.l++]),a>r.length)return void console.error("WK1 bad formula parse 0x"+l.toString(16)+":|"+r.join("|")+"|");var h=r.slice(-a);r.length-=a,r.push(w[l][0]+"("+h.join(",")+")")}}}1==r.length?t[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}function _(e){var t=[{c:0,r:0},{t:"n",v:0},0];return t[0].r=e.read_shift(2),t[3]=e[e.l++],t[0].c=e[e.l++],t}function S(e,t){var r=_(e,t);return r[1].t="s",r[1].v=e.read_shift(t-4,"cstr"),r}function A(e,t,r,a){var n=ba(6+a.length);n.write_shift(2,e),n.write_shift(1,r),n.write_shift(1,t),n.write_shift(1,39);for(var s=0;s<a.length;++s){var i=a.charCodeAt(s);n.write_shift(1,i>=128?95:i)}return n.write_shift(1,0),n}function x(e,t){var r=_(e,t);r[1].v=e.read_shift(2);var a=r[1].v>>1;if(1&r[1].v)switch(7&a){case 0:a=5e3*(a>>3);break;case 1:a=500*(a>>3);break;case 2:a=(a>>3)/20;break;case 3:a=(a>>3)/200;break;case 4:a=(a>>3)/2e3;break;case 5:a=(a>>3)/2e4;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break}return r[1].v=a,r}function C(e,t){var r=_(e,t),a=e.read_shift(4),n=e.read_shift(4),s=e.read_shift(2);if(65535==s)return 0===a&&3221225472===n?(r[1].t="e",r[1].v=15):0===a&&3489660928===n?(r[1].t="e",r[1].v=42):r[1].v=0,r;var i=32768&s;return s=(32767&s)-16446,r[1].v=(1-2*i)*(n*Math.pow(2,s+32)+a*Math.pow(2,s)),r}function P(e,t,r,a){var n=ba(14);if(n.write_shift(2,e),n.write_shift(1,r),n.write_shift(1,t),0==a)return n.write_shift(4,0),n.write_shift(4,0),n.write_shift(2,65535),n;var s=0,i=0,o=0,l=0;return a<0&&(s=1,a=-a),i=0|Math.log2(a),a/=Math.pow(2,i-31),l=a>>>0,0==(2147483648&l)&&(a/=2,++i,l=a>>>0),a-=l,l|=2147483648,l>>>=0,a*=Math.pow(2,32),o=a>>>0,n.write_shift(4,o),n.write_shift(4,l),i+=16383+(s?32768:0),n.write_shift(2,i),n}function O(e,t){var r=C(e,14);return e.l+=t-14,r}function N(e,t){var r=_(e,t),a=e.read_shift(4);return r[1].v=a>>6,r}function I(e,t){var r=_(e,t),a=e.read_shift(8,"f");return r[1].v=a,r}function D(e,t){var r=I(e,14);return e.l+=t-10,r}function F(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function M(e,t){var r=e[e.l++];r>t-1&&(r=t-1);var a="";while(a.length<r)a+=String.fromCharCode(e[e.l++]);return a}function L(e,t,r){if(r.qpro&&!(t<21)){var a=e.read_shift(1);e.l+=17,e.l+=1,e.l+=2;var n=e.read_shift(t-21,"cstr");return[a,n]}}function B(e,t){var r={},a=e.l+t;while(e.l<a){var n=e.read_shift(2);if(14e3==n){r[n]=[0,""],r[n][0]=e.read_shift(2);while(e[e.l])r[n][1]+=String.fromCharCode(e[e.l]),e.l++;e.l++}}return r}function U(e,t){var r=ba(5+e.length);r.write_shift(2,14e3),r.write_shift(2,t);for(var a=0;a<e.length;++a){var n=e.charCodeAt(a);r[r.l++]=n>127?95:n}return r[r.l++]=0,r}var z={0:{n:"BOF",f:ri},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:o},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:d},14:{n:"NUMBER",f:m},15:{n:"LABEL",f:u},16:{n:"FORMULA",f:g},24:{n:"TABLE"},25:{n:"ORANGE"},26:{n:"PRANGE"},27:{n:"SRANGE"},28:{n:"FRANGE"},29:{n:"KRANGE1"},32:{n:"HRANGE"},35:{n:"KRANGE2"},36:{n:"PROTEC"},37:{n:"FOOTER"},38:{n:"HEADER"},39:{n:"SETUP"},40:{n:"MARGINS"},41:{n:"LABELFMT"},42:{n:"TITLES"},43:{n:"SHEETJS"},45:{n:"GRAPH"},46:{n:"NGRAPH"},47:{n:"CALCCOUNT"},48:{n:"UNFORMATTED"},49:{n:"CURSORW12"},50:{n:"WINDOW"},51:{n:"STRING",f:u},55:{n:"PASSWORD"},56:{n:"LOCKED"},60:{n:"QUERY"},61:{n:"QUERYNAME"},62:{n:"PRINT"},63:{n:"PRINTNAME"},64:{n:"GRAPH2"},65:{n:"GRAPHNAME"},66:{n:"ZOOM"},67:{n:"SYMSPLIT"},68:{n:"NSROWS"},69:{n:"NSCOLS"},70:{n:"RULER"},71:{n:"NNAME"},72:{n:"ACOMM"},73:{n:"AMACRO"},74:{n:"PARSE"},102:{n:"PRANGES??"},103:{n:"RRANGES??"},104:{n:"FNAME??"},105:{n:"MRANGES??"},204:{n:"SHEETNAMECS",f:F},222:{n:"SHEETNAMELP",f:M},65535:{n:""}},W={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:S},23:{n:"NUMBER17",f:C},24:{n:"NUMBER18",f:x},25:{n:"FORMULA19",f:O},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:B},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:N},38:{n:"??"},39:{n:"NUMBER27",f:I},40:{n:"FORMULA28",f:D},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:F},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:L},1600:{n:"??"},1602:{n:"??"},1793:{n:"??"},1794:{n:"??"},1795:{n:"??"},1796:{n:"??"},1920:{n:"??"},2048:{n:"??"},2049:{n:"??"},2052:{n:"??"},2688:{n:"??"},10998:{n:"??"},12849:{n:"??"},28233:{n:"??"},28484:{n:"??"},65535:{n:""}};return{sheet_to_wk1:a,book_to_wk3:n,to_workbook:t}}();function Pl(e){var t={},r=e.match(Gt),a=0,n=!1;if(r)for(;a!=r.length;++a){var s=Yt(r[a]);switch(s[0].replace(/\w*:/g,"")){case"<condense":break;case"<extend":break;case"<shadow":if(!s.val)break;case"<shadow>":case"<shadow/>":t.shadow=1;break;case"</shadow>":break;case"<charset":if("1"==s.val)break;t.cp=o[parseInt(s.val,10)];break;case"<outline":if(!s.val)break;case"<outline>":case"<outline/>":t.outline=1;break;case"</outline>":break;case"<rFont":t.name=s.val;break;case"<sz":t.sz=s.val;break;case"<strike":if(!s.val)break;case"<strike>":case"<strike/>":t.strike=1;break;case"</strike>":break;case"<u":if(!s.val)break;switch(s.val){case"double":t.uval="double";break;case"singleAccounting":t.uval="single-accounting";break;case"doubleAccounting":t.uval="double-accounting";break}case"<u>":case"<u/>":t.u=1;break;case"</u>":break;case"<b":if("0"==s.val)break;case"<b>":case"<b/>":t.b=1;break;case"</b>":break;case"<i":if("0"==s.val)break;case"<i>":case"<i/>":t.i=1;break;case"</i>":break;case"<color":s.rgb&&(t.color=s.rgb.slice(2,8));break;case"<color>":case"<color/>":case"</color>":break;case"<family":t.family=s.val;break;case"<family>":case"<family/>":case"</family>":break;case"<vertAlign":t.valign=s.val;break;case"<vertAlign>":case"<vertAlign/>":case"</vertAlign>":break;case"<scheme":break;case"<scheme>":case"<scheme/>":case"</scheme>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(47!==s[0].charCodeAt(1)&&!n)throw new Error("Unrecognized rich format "+s[0])}}return t}var Ol=function(){var e=mr("t"),t=mr("rPr");function r(r){var a=r.match(e);if(!a)return{t:"s",v:""};var n={t:"s",v:Jt(a[1])},s=r.match(t);return s&&(n.s=Pl(s[1])),n}var a=/<(?:\w+:)?r>/g,n=/<\/(?:\w+:)?r>/;return function(e){return e.replace(a,"").split(n).map(r).filter((function(e){return e.v}))}}(),Nl=function(){var e=/(\r\n|\n)/g;function t(e,t,r){var a=[];e.u&&a.push("text-decoration: underline;"),e.uval&&a.push("text-underline-style:"+e.uval+";"),e.sz&&a.push("font-size:"+e.sz+"pt;"),e.outline&&a.push("text-effect: outline;"),e.shadow&&a.push("text-shadow: auto;"),t.push('<span style="'+a.join("")+'">'),e.b&&(t.push("<b>"),r.push("</b>")),e.i&&(t.push("<i>"),r.push("</i>")),e.strike&&(t.push("<s>"),r.push("</s>"));var n=e.valign||"";return"superscript"==n||"super"==n?n="sup":"subscript"==n&&(n="sub"),""!=n&&(t.push("<"+n+">"),r.push("</"+n+">")),r.push("</span>"),e}function r(r){var a=[[],r.v,[]];return r.v?(r.s&&t(r.s,a[0],a[2]),a[0].join("")+a[1].replace(e,"<br/>")+a[2].join("")):""}return function(e){return e.map(r).join("")}}(),Il=/<(?:\w+:)?t[^>]*>([^<]*)<\/(?:\w+:)?t>/g,Dl=/<(?:\w+:)?r>/,Fl=/<(?:\w+:)?rPh.*?>([\s\S]*?)<\/(?:\w+:)?rPh>/g;function Ml(e,t){var r=!t||t.cellHTML,a={};return e?(e.match(/^\s*<(?:\w+:)?t[^>]*>/)?(a.t=Jt(dr(e.slice(e.indexOf(">")+1).split(/<\/(?:\w+:)?t>/)[0]||"")),a.r=dr(e),r&&(a.h=nr(a.t))):e.match(Dl)&&(a.r=dr(e),a.t=Jt(dr((e.replace(Fl,"").match(Il)||[]).join("").replace(Gt,""))),r&&(a.h=Nl(Ol(a.r)))),a):{t:""}}var Ll=/<(?:\w+:)?sst([^>]*)>([\s\S]*)<\/(?:\w+:)?sst>/,Bl=/<(?:\w+:)?(?:si|sstItem)>/g,Ul=/<\/(?:\w+:)?(?:si|sstItem)>/;function zl(e,t){var r=[],a="";if(!e)return r;var n=e.match(Ll);if(n){a=n[2].replace(Bl,"").split(Ul);for(var s=0;s!=a.length;++s){var i=Ml(a[s].trim(),t);null!=i&&(r[r.length]=i)}n=Yt(n[1]),r.Count=n.count,r.Unique=n.uniqueCount}return r}var Wl=/^\s|\s$|[\t\n\r]/;function Hl(e,t){if(!t.bookSST)return"";var r=[Wt];r[r.length]=Er("sst",null,{xmlns:Pr[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a)if(null!=e[a]){var n=e[a],s="<si>";n.r?s+=n.r:(s+="<t",n.t||(n.t=""),n.t.match(Wl)&&(s+=' xml:space="preserve"'),s+=">"+tr(n.t)+"</t>"),s+="</si>",r[r.length]=s}return r.length>2&&(r[r.length]="</sst>",r[1]=r[1].replace("/>",">")),r.join("")}function jl(e){return[e.read_shift(4),e.read_shift(4)]}function Vl(e,t){var r=[],a=!1;return ga(e,(function(e,n,s){switch(s){case 159:r.Count=e[0],r.Unique=e[1];break;case 19:r.push(e);break;case 160:return!0;case 35:a=!0;break;case 36:a=!1;break;default:if(n.T,!a||t.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),r}function Gl(e,t){return t||(t=ba(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}var $l=Za;function Xl(e){var t=va();wa(t,159,Gl(e));for(var r=0;r<e.length;++r)wa(t,19,$l(e[r]));return wa(t,160),t.end()}function Yl(e){if("undefined"!==typeof m)return m.utils.encode(s,e);for(var t=[],r=e.split(""),a=0;a<r.length;++a)t[a]=r[a].charCodeAt(0);return t}function Kl(e,t){var r={};return r.Major=e.read_shift(2),r.Minor=e.read_shift(2),t>=4&&(e.l+=t-4),r}function Zl(e){var t={};return t.id=e.read_shift(0,"lpp4"),t.R=Kl(e,4),t.U=Kl(e,4),t.W=Kl(e,4),t}function ql(e){var t=e.read_shift(4),r=e.l+t-4,a={},n=e.read_shift(4),s=[];while(n-- >0)s.push({t:e.read_shift(4),v:e.read_shift(0,"lpp4")});if(a.name=e.read_shift(0,"lpp4"),a.comps=s,e.l!=r)throw new Error("Bad DataSpaceMapEntry: "+e.l+" != "+r);return a}function Jl(e){var t=[];e.l+=4;var r=e.read_shift(4);while(r-- >0)t.push(ql(e));return t}function Ql(e){var t=[];e.l+=4;var r=e.read_shift(4);while(r-- >0)t.push(e.read_shift(0,"lpp4"));return t}function ec(e){var t={};return e.read_shift(4),e.l+=4,t.id=e.read_shift(0,"lpp4"),t.name=e.read_shift(0,"lpp4"),t.R=Kl(e,4),t.U=Kl(e,4),t.W=Kl(e,4),t}function tc(e){var t=ec(e);if(t.ename=e.read_shift(0,"8lpp4"),t.blksz=e.read_shift(4),t.cmode=e.read_shift(4),4!=e.read_shift(4))throw new Error("Bad !Primary record");return t}function rc(e,t){var r=e.l+t,a={};a.Flags=63&e.read_shift(4),e.l+=4,a.AlgID=e.read_shift(4);var n=!1;switch(a.AlgID){case 26126:case 26127:case 26128:n=36==a.Flags;break;case 26625:n=4==a.Flags;break;case 0:n=16==a.Flags||4==a.Flags||36==a.Flags;break;default:throw"Unrecognized encryption algorithm: "+a.AlgID}if(!n)throw new Error("Encryption Flags/AlgID mismatch");return a.AlgIDHash=e.read_shift(4),a.KeySize=e.read_shift(4),a.ProviderType=e.read_shift(4),e.l+=8,a.CSPName=e.read_shift(r-e.l>>1,"utf16le"),e.l=r,a}function ac(e,t){var r={},a=e.l+t;return e.l+=4,r.Salt=e.slice(e.l,e.l+16),e.l+=16,r.Verifier=e.slice(e.l,e.l+16),e.l+=16,e.read_shift(4),r.VerifierHash=e.slice(e.l,a),e.l=a,r}function nc(e){var t=Kl(e);switch(t.Minor){case 2:return[t.Minor,sc(e,t)];case 3:return[t.Minor,ic(e,t)];case 4:return[t.Minor,oc(e,t)]}throw new Error("ECMA-376 Encrypted file unrecognized Version: "+t.Minor)}function sc(e){var t=e.read_shift(4);if(36!=(63&t))throw new Error("EncryptionInfo mismatch");var r=e.read_shift(4),a=rc(e,r),n=ac(e,e.length-e.l);return{t:"Std",h:a,v:n}}function ic(){throw new Error("File is password-protected: ECMA-376 Extensible")}function oc(e){var t=["saltSize","blockSize","keyBits","hashSize","cipherAlgorithm","cipherChaining","hashAlgorithm","saltValue"];e.l+=4;var r=e.read_shift(e.length-e.l,"utf8"),a={};return r.replace(Gt,(function(e){var r=Yt(e);switch(Kt(r[0])){case"<?xml":break;case"<encryption":case"</encryption>":break;case"<keyData":t.forEach((function(e){a[e]=r[e]}));break;case"<dataIntegrity":a.encryptedHmacKey=r.encryptedHmacKey,a.encryptedHmacValue=r.encryptedHmacValue;break;case"<keyEncryptors>":case"<keyEncryptors":a.encs=[];break;case"</keyEncryptors>":break;case"<keyEncryptor":a.uri=r.uri;break;case"</keyEncryptor>":break;case"<encryptedKey":a.encs.push(r);break;default:throw r[0]}})),a}function lc(e,t){var r={},a=r.EncryptionVersionInfo=Kl(e,4);if(t-=4,2!=a.Minor)throw new Error("unrecognized minor version code: "+a.Minor);if(a.Major>4||a.Major<2)throw new Error("unrecognized major version code: "+a.Major);r.Flags=e.read_shift(4),t-=4;var n=e.read_shift(4);return t-=4,r.EncryptionHeader=rc(e,n),t-=n,r.EncryptionVerifier=ac(e,t),r}function cc(e){var t={},r=t.EncryptionVersionInfo=Kl(e,4);if(1!=r.Major||1!=r.Minor)throw"unrecognized version code "+r.Major+" : "+r.Minor;return t.Salt=e.read_shift(16),t.EncryptedVerifier=e.read_shift(16),t.EncryptedVerifierHash=e.read_shift(16),t}function fc(e){var t,r,a,n,s,i,o=0,l=Yl(e),c=l.length+1;for(t=x(c),t[0]=l.length,r=1;r!=c;++r)t[r]=l[r-1];for(r=c-1;r>=0;--r)a=t[r],n=0===(16384&o)?0:1,s=o<<1&32767,i=n|s,o=i^a;return 52811^o}var uc=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0],t=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163],r=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628],a=function(e){return 255&(e/2|128*e)},n=function(e,t){return a(e^t)},s=function(e){for(var a=t[e.length-1],n=104,s=e.length-1;s>=0;--s)for(var i=e[s],o=0;7!=o;++o)64&i&&(a^=r[n]),i*=2,--n;return a};return function(t){for(var r,a,i,o=Yl(t),l=s(o),c=o.length,f=x(16),u=0;16!=u;++u)f[u]=0;1===(1&c)&&(r=l>>8,f[c]=n(e[0],r),--c,r=255&l,a=o[o.length-1],f[c]=n(a,r));while(c>0)--c,r=l>>8,f[c]=n(o[c],r),--c,r=255&l,f[c]=n(o[c],r);c=15,i=15-o.length;while(i>0)r=l>>8,f[c]=n(e[i],r),--c,--i,r=255&l,f[c]=n(o[c],r),--c,--i;return f}}(),hc=function(e,t,r,a,n){var s,i;for(n||(n=t),a||(a=uc(e)),s=0;s!=t.length;++s)i=t[s],i^=a[r],i=255&(i>>5|i<<3),n[s]=i,++r;return[n,r,a]},dc=function(e){var t=0,r=uc(e);return function(e){var a=hc("",e,t,r);return t=a[1],a[0]}};function pc(e,t,r,a){var n={key:ri(e),verificationBytes:ri(e)};return r.password&&(n.verifier=fc(r.password)),a.valid=n.verificationBytes===n.verifier,a.valid&&(a.insitu=dc(r.password)),n}function mc(e,t,r){var a=r||{};return a.Info=e.read_shift(2),e.l-=2,1===a.Info?a.Data=cc(e,t):a.Data=lc(e,t),a}function bc(e,t,r){var a={Type:r.biff>=8?e.read_shift(2):0};return a.Type?mc(e,t-2,a):pc(e,r.biff>=8?t:t-2,r,a),a}var gc=function(){function e(e,r){switch(r.type){case"base64":return t(E(e),r);case"binary":return t(e,r);case"buffer":return t(S&&Buffer.isBuffer(e)?e.toString("binary"):O(e),r);case"array":return t(kt(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=t||{},a=r.dense?[]:{},n=e.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var s={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach((function(e,t){Array.isArray(a)&&(a[t]=[]);var r,n=/\\\w+\b/g,i=0,o=-1;while(r=n.exec(e)){switch(r[0]){case"\\cell":var l=e.slice(i,n.lastIndex-r[0].length);if(" "==l[0]&&(l=l.slice(1)),++o,l.length){var c={v:l,t:"s"};Array.isArray(a)?a[t][o]=c:a[Da({r:t,c:o})]=c}break}i=n.lastIndex}o>s.e.c&&(s.e.c=o)})),a["!ref"]=Ma(s),a}function r(t,r){return za(e(t,r),r)}function a(e){for(var t,r=["{\\rtf1\\ansi"],a=La(e["!ref"]),n=Array.isArray(e),s=a.s.r;s<=a.e.r;++s){r.push("\\trowd\\trautofit1");for(var i=a.s.c;i<=a.e.c;++i)r.push("\\cellx"+(i+1));for(r.push("\\pard\\intbl"),i=a.s.c;i<=a.e.c;++i){var o=Da({r:s,c:i});t=n?(e[s]||[])[i]:e[o],t&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(Ua(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}return{to_workbook:r,to_sheet:e,from_sheet:a}}();function vc(e){var t=e.slice("#"===e[0]?1:0).slice(0,6);return[parseInt(t.slice(0,2),16),parseInt(t.slice(2,4),16),parseInt(t.slice(4,6),16)]}function wc(e){for(var t=0,r=1;3!=t;++t)r=256*r+(e[t]>255?255:e[t]<0?0:e[t]);return r.toString(16).toUpperCase().slice(1)}function yc(e){var t=e[0]/255,r=e[1]/255,a=e[2]/255,n=Math.max(t,r,a),s=Math.min(t,r,a),i=n-s;if(0===i)return[0,0,t];var o=0,l=0,c=n+s;switch(l=i/(c>1?2-c:c),n){case t:o=((r-a)/i+6)%6;break;case r:o=(a-t)/i+2;break;case a:o=(t-r)/i+4;break}return[o/6,l,c/2]}function kc(e){var t,r=e[0],a=e[1],n=e[2],s=2*a*(n<.5?n:1-n),i=n-s/2,o=[i,i,i],l=6*r;if(0!==a)switch(0|l){case 0:case 6:t=s*l,o[0]+=s,o[1]+=t;break;case 1:t=s*(2-l),o[0]+=t,o[1]+=s;break;case 2:t=s*(l-2),o[1]+=s,o[2]+=t;break;case 3:t=s*(4-l),o[1]+=t,o[2]+=s;break;case 4:t=s*(l-4),o[2]+=s,o[0]+=t;break;case 5:t=s*(6-l),o[2]+=t,o[0]+=s;break}for(var c=0;3!=c;++c)o[c]=Math.round(255*o[c]);return o}function Tc(e,t){if(0===t)return e;var r=yc(vc(e));return r[2]=t<0?r[2]*(1+t):1-(1-r[2])*(1-t),wc(kc(r))}var _c=6,Ec=15,Sc=1,Ac=_c;function xc(e){return Math.floor((e+Math.round(128/Ac)/256)*Ac)}function Cc(e){return Math.floor((e-5)/Ac*100+.5)/100}function Rc(e){return Math.round((e*Ac+5)/Ac*256)/256}function Pc(e){return Rc(Cc(xc(e)))}function Oc(e){var t=Math.abs(e-Pc(e)),r=Ac;if(t>.005)for(Ac=Sc;Ac<Ec;++Ac)Math.abs(e-Pc(e))<=t&&(t=Math.abs(e-Pc(e)),r=Ac);Ac=r}function Nc(e){e.width?(e.wpx=xc(e.width),e.wch=Cc(e.wpx),e.MDW=Ac):e.wpx?(e.wch=Cc(e.wpx),e.width=Rc(e.wch),e.MDW=Ac):"number"==typeof e.wch&&(e.width=Rc(e.wch),e.wpx=xc(e.width),e.MDW=Ac),e.customWidth&&delete e.customWidth}var Ic=96,Dc=Ic;function Fc(e){return 96*e/Dc}function Mc(e){return e*Dc/96}var Lc={None:"none",Solid:"solid",Gray50:"mediumGray",Gray75:"darkGray",Gray25:"lightGray",HorzStripe:"darkHorizontal",VertStripe:"darkVertical",ReverseDiagStripe:"darkDown",DiagStripe:"darkUp",DiagCross:"darkGrid",ThickDiagCross:"darkTrellis",ThinHorzStripe:"lightHorizontal",ThinVertStripe:"lightVertical",ThinReverseDiagStripe:"lightDown",ThinHorzCross:"lightGrid"};function Bc(e,t,r,a){t.Borders=[];var n={},s=!1;(e[0].match(Gt)||[]).forEach((function(e){var r=Yt(e);switch(Kt(r[0])){case"<borders":case"<borders>":case"</borders>":break;case"<border":case"<border>":case"<border/>":n={},r.diagonalUp&&(n.diagonalUp=lr(r.diagonalUp)),r.diagonalDown&&(n.diagonalDown=lr(r.diagonalDown)),t.Borders.push(n);break;case"</border>":break;case"<left/>":break;case"<left":case"<left>":break;case"</left>":break;case"<right/>":break;case"<right":case"<right>":break;case"</right>":break;case"<top/>":break;case"<top":case"<top>":break;case"</top>":break;case"<bottom/>":break;case"<bottom":case"<bottom>":break;case"</bottom>":break;case"<diagonal":case"<diagonal>":case"<diagonal/>":break;case"</diagonal>":break;case"<horizontal":case"<horizontal>":case"<horizontal/>":break;case"</horizontal>":break;case"<vertical":case"<vertical>":case"<vertical/>":break;case"</vertical>":break;case"<start":case"<start>":case"<start/>":break;case"</start>":break;case"<end":case"<end>":case"<end/>":break;case"</end>":break;case"<color":case"<color>":break;case"<color/>":case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(a&&a.WTF&&!s)throw new Error("unrecognized "+r[0]+" in borders")}}))}function Uc(e,t,r,a){t.Fills=[];var n={},s=!1;(e[0].match(Gt)||[]).forEach((function(e){var r=Yt(e);switch(Kt(r[0])){case"<fills":case"<fills>":case"</fills>":break;case"<fill>":case"<fill":case"<fill/>":n={},t.Fills.push(n);break;case"</fill>":break;case"<gradientFill>":break;case"<gradientFill":case"</gradientFill>":t.Fills.push(n),n={};break;case"<patternFill":case"<patternFill>":r.patternType&&(n.patternType=r.patternType);break;case"<patternFill/>":case"</patternFill>":break;case"<bgColor":n.bgColor||(n.bgColor={}),r.indexed&&(n.bgColor.indexed=parseInt(r.indexed,10)),r.theme&&(n.bgColor.theme=parseInt(r.theme,10)),r.tint&&(n.bgColor.tint=parseFloat(r.tint)),r.rgb&&(n.bgColor.rgb=r.rgb.slice(-6));break;case"<bgColor/>":case"</bgColor>":break;case"<fgColor":n.fgColor||(n.fgColor={}),r.theme&&(n.fgColor.theme=parseInt(r.theme,10)),r.tint&&(n.fgColor.tint=parseFloat(r.tint)),null!=r.rgb&&(n.fgColor.rgb=r.rgb.slice(-6));break;case"<fgColor/>":case"</fgColor>":break;case"<stop":case"<stop/>":break;case"</stop>":break;case"<color":case"<color/>":break;case"</color>":break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(a&&a.WTF&&!s)throw new Error("unrecognized "+r[0]+" in fills")}}))}function zc(e,t,r,a){t.Fonts=[];var n={},s=!1;(e[0].match(Gt)||[]).forEach((function(e){var i=Yt(e);switch(Kt(i[0])){case"<fonts":case"<fonts>":case"</fonts>":break;case"<font":case"<font>":break;case"</font>":case"<font/>":t.Fonts.push(n),n={};break;case"<name":i.val&&(n.name=dr(i.val));break;case"<name/>":case"</name>":break;case"<b":n.bold=i.val?lr(i.val):1;break;case"<b/>":n.bold=1;break;case"<i":n.italic=i.val?lr(i.val):1;break;case"<i/>":n.italic=1;break;case"<u":switch(i.val){case"none":n.underline=0;break;case"single":n.underline=1;break;case"double":n.underline=2;break;case"singleAccounting":n.underline=33;break;case"doubleAccounting":n.underline=34;break}break;case"<u/>":n.underline=1;break;case"<strike":n.strike=i.val?lr(i.val):1;break;case"<strike/>":n.strike=1;break;case"<outline":n.outline=i.val?lr(i.val):1;break;case"<outline/>":n.outline=1;break;case"<shadow":n.shadow=i.val?lr(i.val):1;break;case"<shadow/>":n.shadow=1;break;case"<condense":n.condense=i.val?lr(i.val):1;break;case"<condense/>":n.condense=1;break;case"<extend":n.extend=i.val?lr(i.val):1;break;case"<extend/>":n.extend=1;break;case"<sz":i.val&&(n.sz=+i.val);break;case"<sz/>":case"</sz>":break;case"<vertAlign":i.val&&(n.vertAlign=i.val);break;case"<vertAlign/>":case"</vertAlign>":break;case"<family":i.val&&(n.family=parseInt(i.val,10));break;case"<family/>":case"</family>":break;case"<scheme":i.val&&(n.scheme=i.val);break;case"<scheme/>":case"</scheme>":break;case"<charset":if("1"==i.val)break;i.codepage=o[parseInt(i.val,10)];break;case"<color":if(n.color||(n.color={}),i.auto&&(n.color.auto=lr(i.auto)),i.rgb)n.color.rgb=i.rgb.slice(-6);else if(i.indexed){n.color.index=parseInt(i.indexed,10);var l=Gn[n.color.index];81==n.color.index&&(l=Gn[1]),l||(l=Gn[1]),n.color.rgb=l[0].toString(16)+l[1].toString(16)+l[2].toString(16)}else i.theme&&(n.color.theme=parseInt(i.theme,10),i.tint&&(n.color.tint=parseFloat(i.tint)),i.theme&&r.themeElements&&r.themeElements.clrScheme&&(n.color.rgb=Tc(r.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)));break;case"<color/>":case"</color>":break;case"<AlternateContent":s=!0;break;case"</AlternateContent>":s=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;default:if(a&&a.WTF&&!s)throw new Error("unrecognized "+i[0]+" in fonts")}}))}function Wc(e,t,r){t.NumberFmt=[];for(var a=st(q),n=0;n<a.length;++n)t.NumberFmt[a[n]]=q[a[n]];var s=e[0].match(Gt);if(s)for(n=0;n<s.length;++n){var i=Yt(s[n]);switch(Kt(i[0])){case"<numFmts":case"</numFmts>":case"<numFmts/>":case"<numFmts>":break;case"<numFmt":var o=Jt(dr(i.formatCode)),l=parseInt(i.numFmtId,10);if(t.NumberFmt[l]=o,l>0){if(l>392){for(l=392;l>60;--l)if(null==t.NumberFmt[l])break;t.NumberFmt[l]=o}Ve(o,l)}break;case"</numFmt>":break;default:if(r.WTF)throw new Error("unrecognized "+i[0]+" in numFmts")}}}function Hc(e){var t=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var a=r[0];a<=r[1];++a)null!=e[a]&&(t[t.length]=Er("numFmt",null,{numFmtId:a,formatCode:tr(e[a])}))})),1===t.length?"":(t[t.length]="</numFmts>",t[0]=Er("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var jc=["numFmtId","fillId","fontId","borderId","xfId"],Vc=["applyAlignment","applyBorder","applyFill","applyFont","applyNumberFormat","applyProtection","pivotButton","quotePrefix"];function Gc(e,t,r){var a;t.CellXf=[];var n=!1;(e[0].match(Gt)||[]).forEach((function(e){var s=Yt(e),i=0;switch(Kt(s[0])){case"<cellXfs":case"<cellXfs>":case"<cellXfs/>":case"</cellXfs>":break;case"<xf":case"<xf/>":for(a=s,delete a[0],i=0;i<jc.length;++i)a[jc[i]]&&(a[jc[i]]=parseInt(a[jc[i]],10));for(i=0;i<Vc.length;++i)a[Vc[i]]&&(a[Vc[i]]=lr(a[Vc[i]]));if(t.NumberFmt&&a.numFmtId>392)for(i=392;i>60;--i)if(t.NumberFmt[a.numFmtId]==t.NumberFmt[i]){a.numFmtId=i;break}t.CellXf.push(a);break;case"</xf>":break;case"<alignment":case"<alignment/>":var o={};s.vertical&&(o.vertical=s.vertical),s.horizontal&&(o.horizontal=s.horizontal),null!=s.textRotation&&(o.textRotation=s.textRotation),s.indent&&(o.indent=s.indent),s.wrapText&&(o.wrapText=lr(s.wrapText)),a.alignment=o;break;case"</alignment>":break;case"<protection":break;case"</protection>":case"<protection/>":break;case"<AlternateContent":n=!0;break;case"</AlternateContent>":n=!1;break;case"<extLst":case"<extLst>":case"</extLst>":break;case"<ext":n=!0;break;case"</ext>":n=!1;break;default:if(r&&r.WTF&&!n)throw new Error("unrecognized "+s[0]+" in cellXfs")}}))}function $c(e){var t=[];return t[t.length]=Er("cellXfs",null),e.forEach((function(e){t[t.length]=Er("xf",null,e)})),t[t.length]="</cellXfs>",2===t.length?"":(t[0]=Er("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}var Xc=function(){var e=/<(?:\w+:)?numFmts([^>]*)>[\S\s]*?<\/(?:\w+:)?numFmts>/,t=/<(?:\w+:)?cellXfs([^>]*)>[\S\s]*?<\/(?:\w+:)?cellXfs>/,r=/<(?:\w+:)?fills([^>]*)>[\S\s]*?<\/(?:\w+:)?fills>/,a=/<(?:\w+:)?fonts([^>]*)>[\S\s]*?<\/(?:\w+:)?fonts>/,n=/<(?:\w+:)?borders([^>]*)>[\S\s]*?<\/(?:\w+:)?borders>/;return function(s,i,o){var l,c={};return s?(s=s.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,""),(l=s.match(e))&&Wc(l,c,o),(l=s.match(a))&&zc(l,c,i,o),(l=s.match(r))&&Uc(l,c,i,o),(l=s.match(n))&&Bc(l,c,i,o),(l=s.match(t))&&Gc(l,c,o),c):c}}();function Yc(e,t){var r,a=[Wt,Er("styleSheet",null,{xmlns:Pr[0],"xmlns:vt":Rr.vt})];return e.SSF&&null!=(r=Hc(e.SSF))&&(a[a.length]=r),a[a.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',a[a.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',a[a.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',a[a.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(r=$c(t.cellXfs))&&(a[a.length]=r),a[a.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',a[a.length]='<dxfs count="0"/>',a[a.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',a.length>2&&(a[a.length]="</styleSheet>",a[1]=a[1].replace("/>",">")),a.join("")}function Kc(e,t){var r=e.read_shift(2),a=Ga(e,t-2);return[r,a]}function Zc(e,t,r){r||(r=ba(6+4*t.length)),r.write_shift(2,e),$a(t,r);var a=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),a}function qc(e,t,r){var a={};a.sz=e.read_shift(2)/20;var n=kn(e,2,r);n.fItalic&&(a.italic=1),n.fCondense&&(a.condense=1),n.fExtend&&(a.extend=1),n.fShadow&&(a.shadow=1),n.fOutline&&(a.outline=1),n.fStrikeout&&(a.strike=1);var s=e.read_shift(2);switch(700===s&&(a.bold=1),e.read_shift(2)){case 1:a.vertAlign="superscript";break;case 2:a.vertAlign="subscript";break}var i=e.read_shift(1);0!=i&&(a.underline=i);var o=e.read_shift(1);o>0&&(a.family=o);var l=e.read_shift(1);switch(l>0&&(a.charset=l),e.l++,a.color=wn(e,8),e.read_shift(1)){case 1:a.scheme="major";break;case 2:a.scheme="minor";break}return a.name=Ga(e,t-21),a}function Jc(e,t){t||(t=ba(153)),t.write_shift(2,20*e.sz),Tn(e,t),t.write_shift(2,e.bold?700:400);var r=0;"superscript"==e.vertAlign?r=1:"subscript"==e.vertAlign&&(r=2),t.write_shift(2,r),t.write_shift(1,e.underline||0),t.write_shift(1,e.family||0),t.write_shift(1,e.charset||0),t.write_shift(1,0),yn(e.color,t);var a=0;return"major"==e.scheme&&(a=1),"minor"==e.scheme&&(a=2),t.write_shift(1,a),$a(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Qc,ef=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],tf=ma;function rf(e,t){t||(t=ba(84)),Qc||(Qc=ot(ef));var r=Qc[e.patternType];null==r&&(r=40),t.write_shift(4,r);var a=0;if(40!=r)for(yn({auto:1},t),yn({auto:1},t);a<12;++a)t.write_shift(4,0);else{for(;a<4;++a)t.write_shift(4,0);for(;a<12;++a)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function af(e,t){var r=e.l+t,a=e.read_shift(2),n=e.read_shift(2);return e.l=r,{ixfe:a,numFmtId:n}}function nf(e,t,r){r||(r=ba(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 a=0;return r.write_shift(1,a),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function sf(e,t){return t||(t=ba(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var of=ma;function lf(e,t){return t||(t=ba(51)),t.write_shift(1,0),sf(null,t),sf(null,t),sf(null,t),sf(null,t),sf(null,t),t.length>t.l?t.slice(0,t.l):t}function cf(e,t){return t||(t=ba(52)),t.write_shift(4,e.xfId),t.write_shift(2,1),t.write_shift(1,+e.builtinId),t.write_shift(1,0),on(e.name||"",t),t.length>t.l?t.slice(0,t.l):t}function ff(e,t,r){var a=ba(2052);return a.write_shift(4,e),on(t,a),on(r,a),a.length>a.l?a.slice(0,a.l):a}function uf(e,t,r){var a={NumberFmt:[]};for(var n in q)a.NumberFmt[n]=q[n];a.CellXf=[],a.Fonts=[];var s=[],i=!1;return ga(e,(function(e,n,o){switch(o){case 44:a.NumberFmt[e[0]]=e[1],Ve(e[1],e[0]);break;case 43:a.Fonts.push(e),null!=e.color.theme&&t&&t.themeElements&&t.themeElements.clrScheme&&(e.color.rgb=Tc(t.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0));break;case 1025:break;case 45:break;case 46:break;case 47:617==s[s.length-1]&&a.CellXf.push(e);break;case 48:case 507:case 572:case 475:break;case 1171:case 2102:case 1130:case 512:case 2095:case 3072:break;case 35:i=!0;break;case 36:i=!1;break;case 37:s.push(o),i=!0;break;case 38:s.pop(),i=!1;break;default:if(n.T>0)s.push(o);else if(n.T<0)s.pop();else if(!i||r.WTF&&37!=s[s.length-1])throw new Error("Unexpected record 0x"+o.toString(16))}})),a}function hf(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var a=e[0];a<=e[1];++a)null!=t[a]&&++r})),0!=r&&(wa(e,615,Va(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var a=r[0];a<=r[1];++a)null!=t[a]&&wa(e,44,Zc(a,t[a]))})),wa(e,616))}}function df(e){var t=1;0!=t&&(wa(e,611,Va(t)),wa(e,43,Jc({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),wa(e,612))}function pf(e){var t=2;0!=t&&(wa(e,603,Va(t)),wa(e,45,rf({patternType:"none"})),wa(e,45,rf({patternType:"gray125"})),wa(e,604))}function mf(e){var t=1;0!=t&&(wa(e,613,Va(t)),wa(e,46,lf({})),wa(e,614))}function bf(e){var t=1;wa(e,626,Va(t)),wa(e,47,nf({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),wa(e,627)}function gf(e,t){wa(e,617,Va(t.length)),t.forEach((function(t){wa(e,47,nf(t,0))})),wa(e,618)}function vf(e){var t=1;wa(e,619,Va(t)),wa(e,48,cf({xfId:0,builtinId:0,name:"Normal"})),wa(e,620)}function wf(e){var t=0;wa(e,505,Va(t)),wa(e,506)}function yf(e){var t=0;wa(e,508,ff(t,"TableStyleMedium9","PivotStyleMedium4")),wa(e,509)}function kf(){}function Tf(e,t){var r=va();return wa(r,278),hf(r,e.SSF),df(r,e),pf(r,e),mf(r,e),bf(r,e),gf(r,t.cellXfs),vf(r,e),wf(r,e),yf(r,e),kf(r,e),wa(r,279),r.end()}var _f=["</a:lt1>","</a:dk1>","</a:lt2>","</a:dk2>","</a:accent1>","</a:accent2>","</a:accent3>","</a:accent4>","</a:accent5>","</a:accent6>","</a:hlink>","</a:folHlink>"];function Ef(e,t,r){t.themeElements.clrScheme=[];var a={};(e[0].match(Gt)||[]).forEach((function(e){var n=Yt(e);switch(n[0]){case"<a:clrScheme":case"</a:clrScheme>":break;case"<a:srgbClr":a.rgb=n.val;break;case"<a:sysClr":a.rgb=n.lastClr;break;case"<a:dk1>":case"</a:dk1>":case"<a:lt1>":case"</a:lt1>":case"<a:dk2>":case"</a:dk2>":case"<a:lt2>":case"</a:lt2>":case"<a:accent1>":case"</a:accent1>":case"<a:accent2>":case"</a:accent2>":case"<a:accent3>":case"</a:accent3>":case"<a:accent4>":case"</a:accent4>":case"<a:accent5>":case"</a:accent5>":case"<a:accent6>":case"</a:accent6>":case"<a:hlink>":case"</a:hlink>":case"<a:folHlink>":case"</a:folHlink>":"/"===n[0].charAt(1)?(t.themeElements.clrScheme[_f.indexOf(n[0])]=a,a={}):a.name=n[0].slice(3,n[0].length-1);break;default:if(r&&r.WTF)throw new Error("Unrecognized "+n[0]+" in clrScheme")}}))}function Sf(){}function Af(){}var xf=/<a:clrScheme([^>]*)>[\s\S]*<\/a:clrScheme>/,Cf=/<a:fontScheme([^>]*)>[\s\S]*<\/a:fontScheme>/,Rf=/<a:fmtScheme([^>]*)>[\s\S]*<\/a:fmtScheme>/;function Pf(e,t,r){var a;t.themeElements={},[["clrScheme",xf,Ef],["fontScheme",Cf,Sf],["fmtScheme",Rf,Af]].forEach((function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+" not found in themeElements");n[2](a,t,r)}))}var Of=/<a:themeElements([^>]*)>[\s\S]*<\/a:themeElements>/;function Nf(e,t){var r;e&&0!==e.length||(e=If());var a={};if(!(r=e.match(Of)))throw new Error("themeElements not found in theme");return Pf(r[0],a,t),a.raw=e,a}function If(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[Wt];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 Df(e,t,r){var a=e.l+t,n=e.read_shift(4);if(124226!==n)if(r.cellStyles){var s,i=e.slice(e.l);e.l=a;try{s=Ut(i,{type:"array"})}catch(l){return}var o=Dt(s,"theme/theme/theme1.xml",!0);if(o)return Nf(o,r)}else e.l=a}function Ff(e){return e.read_shift(4)}function Mf(e){var t={};switch(t.xclrType=e.read_shift(2),t.nTintShade=e.read_shift(2),t.xclrType){case 0:e.l+=4;break;case 1:t.xclrValue=Lf(e,4);break;case 2:t.xclrValue=Ti(e,4);break;case 3:t.xclrValue=Ff(e,4);break;case 4:e.l+=4;break}return e.l+=8,t}function Lf(e,t){return ma(e,t)}function Bf(e,t){return ma(e,t)}function Uf(e){var t=e.read_shift(2),r=e.read_shift(2)-4,a=[t];switch(t){case 4:case 5:case 7:case 8:case 9:case 10:case 11:case 13:a[1]=Mf(e,r);break;case 6:a[1]=Bf(e,r);break;case 14:case 15:a[1]=e.read_shift(1===r?1:2);break;default:throw new Error("Unrecognized ExtProp type: "+t+" "+r)}return a}function zf(e,t){var r=e.l+t;e.l+=2;var a=e.read_shift(2);e.l+=2;var n=e.read_shift(2),s=[];while(n-- >0)s.push(Uf(e,r-e.l));return{ixfe:a,ext:s}}function Wf(e,t){t.forEach((function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break}}))}function Hf(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Ga(e,t-8)}}function jf(e){var t=ba(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),$a(e.name,t),t.slice(0,t.l)}function Vf(e){var t=[],r=e.read_shift(4);while(r-- >0)t.push([e.read_shift(4),e.read_shift(4)]);return t}function Gf(e){var t=ba(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 $f(e,t){var r=ba(8+2*t.length);return r.write_shift(4,e),$a(t,r),r.slice(0,r.l)}function Xf(e){return e.l+=4,0!=e.read_shift(4)}function Yf(e,t){var r=ba(8);return r.write_shift(4,e),r.write_shift(4,t?1:0),r}function Kf(e,t,r){var a={Types:[],Cell:[],Value:[]},n=r||{},s=[],i=!1,o=2;return ga(e,(function(e,t,r){switch(r){case 335:a.Types.push({name:e.name});break;case 51:e.forEach((function(e){1==o?a.Cell.push({type:a.Types[e[0]-1].name,index:e[1]}):0==o&&a.Value.push({type:a.Types[e[0]-1].name,index:e[1]})}));break;case 337:o=e?1:0;break;case 338:o=2;break;case 35:s.push(r),i=!0;break;case 36:s.pop(),i=!1;break;default:if(t.T);else if(!i||n.WTF&&35!=s[s.length-1])throw new Error("Unexpected record 0x"+r.toString(16))}})),a}function Zf(){var e=va();return wa(e,332),wa(e,334,Va(1)),wa(e,335,jf({name:"XLDAPR",version:12e4,flags:3496657072})),wa(e,336),wa(e,339,$f(1,"XLDAPR")),wa(e,52),wa(e,35,Va(514)),wa(e,4096,Va(0)),wa(e,4097,ai(1)),wa(e,36),wa(e,53),wa(e,340),wa(e,337,Yf(1,!0)),wa(e,51,Gf([[1,0]])),wa(e,338),wa(e,333),e.end()}function qf(e,t,r){var a={Types:[],Cell:[],Value:[]};if(!e)return a;var n,s=!1,i=2;return e.replace(Gt,(function(e){var t=Yt(e);switch(Kt(t[0])){case"<?xml":break;case"<metadata":case"</metadata>":break;case"<metadataTypes":case"</metadataTypes>":break;case"<metadataType":a.Types.push({name:t.name});break;case"</metadataType>":break;case"<futureMetadata":for(var o=0;o<a.Types.length;++o)a.Types[o].name==t.name&&(n=a.Types[o]);break;case"</futureMetadata>":break;case"<bk>":break;case"</bk>":break;case"<rc":1==i?a.Cell.push({type:a.Types[t.t-1].name,index:+t.v}):0==i&&a.Value.push({type:a.Types[t.t-1].name,index:+t.v});break;case"</rc>":break;case"<cellMetadata":i=1;break;case"</cellMetadata>":i=2;break;case"<valueMetadata":i=0;break;case"</valueMetadata>":i=2;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":s=!0;break;case"</ext>":s=!1;break;case"<rvb":if(!n)break;n.offsets||(n.offsets=[]),n.offsets.push(+t.i);break;default:if(!s&&r.WTF)throw new Error("unrecognized "+t[0]+" in metadata")}return e})),a}function Jf(){var e=[Wt];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">\n <metadataTypes count="1">\n <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>\n </metadataTypes>\n <futureMetadata name="XLDAPR" count="1">\n <bk>\n <extLst>\n <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">\n <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>\n </ext>\n </extLst>\n </bk>\n </futureMetadata>\n <cellMetadata count="1">\n <bk>\n <rc t="1" v="0"/>\n </bk>\n </cellMetadata>\n</metadata>'),e.join("")}function Qf(e){var t=[];if(!e)return t;var r=1;return(e.match(Gt)||[]).forEach((function(e){var a=Yt(e);switch(a[0]){case"<?xml":break;case"<calcChain":case"<calcChain>":case"</calcChain>":break;case"<c":delete a[0],a.i?r=a.i:a.i=r,t.push(a);break}})),t}function eu(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=Da(r);var a=e.read_shift(1);return 2&a&&(t.l="1"),8&a&&(t.a="1"),t}function tu(e,t,r){var a=[],n=!1;return ga(e,(function(e,t,s){switch(s){case 63:a.push(e);break;default:if(t.T);else if(!n||r.WTF)throw new Error("Unexpected record 0x"+s.toString(16))}})),a}function ru(){}function au(e,t,r,a){if(!e)return e;var n=a||{},s=!1,i=!1;ga(e,(function(e,t,r){if(!i)switch(r){case 359:case 363:case 364:case 366:case 367:case 368:case 369:case 370:case 371:case 472:case 577:case 578:case 579:case 580:case 581:case 582:case 583:case 584:case 585:case 586:case 587:break;case 35:s=!0;break;case 36:s=!1;break;default:if(t.T);else if(!s||n.WTF)throw new Error("Unexpected record 0x"+r.toString(16))}}),n)}function nu(e,t){if(!e)return"??";var r=(e.match(/<c:chart [^>]*r:id="([^"]*)"/)||["",""])[1];return t["!id"][r].Target}var su=1024;function iu(e,t){var r=[21600,21600],a=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),n=[Er("xml",null,{"xmlns:v":Or.v,"xmlns:o":Or.o,"xmlns:x":Or.x,"xmlns:mv":Or.mv}).replace(/\/>/,">"),Er("o:shapelayout",Er("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),Er("v:shapetype",[Er("v:stroke",null,{joinstyle:"miter"}),Er("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:a})];while(su<1e3*e)su+=1e3;return t.forEach((function(e){var t=Ia(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var a="gradient"==r.type?Er("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,s=Er("v:fill",a,r),i={on:"t",obscured:"t"};++su,n=n.concat(["<v:shape"+_r({id:"_x0000_s"+su,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",s,Er("v:shadow",null,i),Er("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",Tr("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),Tr("x:AutoFill","False"),Tr("x:Row",String(t.r)),Tr("x:Column",String(t.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"])})),n.push("</xml>"),n.join("")}function ou(e,t,r,a){var n,s=Array.isArray(e);t.forEach((function(t){var i=Ia(t.ref);if(s?(e[i.r]||(e[i.r]=[]),n=e[i.r][i.c]):n=e[t.ref],!n){n={t:"z"},s?e[i.r][i.c]=n:e[t.ref]=n;var o=La(e["!ref"]||"BDWGO1000001:A1");o.s.r>i.r&&(o.s.r=i.r),o.e.r<i.r&&(o.e.r=i.r),o.s.c>i.c&&(o.s.c=i.c),o.e.c<i.c&&(o.e.c=i.c);var l=Ma(o);l!==e["!ref"]&&(e["!ref"]=l)}n.c||(n.c=[]);var c={a:t.author,t:t.t,r:t.r,T:r};t.h&&(c.h=t.h);for(var f=n.c.length-1;f>=0;--f){if(!r&&n.c[f].T)return;r&&!n.c[f].T&&n.c.splice(f,1)}if(r&&a)for(f=0;f<a.length;++f)if(c.a==a[f].id){c.a=a[f].name||c.a;break}n.c.push(c)}))}function lu(e,t){if(e.match(/<(?:\w+:)?comments *\/>/))return[];var r=[],a=[],n=e.match(/<(?:\w+:)?authors>([\s\S]*)<\/(?:\w+:)?authors>/);n&&n[1]&&n[1].split(/<\/\w*:?author>/).forEach((function(e){if(""!==e&&""!==e.trim()){var t=e.match(/<(?:\w+:)?author[^>]*>(.*)/);t&&r.push(t[1])}}));var s=e.match(/<(?:\w+:)?commentList>([\s\S]*)<\/(?:\w+:)?commentList>/);return s&&s[1]&&s[1].split(/<\/\w*:?comment>/).forEach((function(e){if(""!==e&&""!==e.trim()){var n=e.match(/<(?:\w+:)?comment[^>]*>/);if(n){var s=Yt(n[0]),i={author:s.authorId&&r[s.authorId]||"sheetjsghost",ref:s.ref,guid:s.guid},o=Ia(s.ref);if(!(t.sheetRows&&t.sheetRows<=o.r)){var l=e.match(/<(?:\w+:)?text>([\s\S]*)<\/(?:\w+:)?text>/),c=!!l&&!!l[1]&&Ml(l[1])||{r:"",t:"",h:""};i.r=c.r,"<t></t>"==c.r&&(c.t=c.h=""),i.t=(c.t||"").replace(/\r\n/g,"\n").replace(/\r/g,"\n"),t.cellHTML&&(i.h=c.h),a.push(i)}}}})),a}function cu(e){var t=[Wt,Er("comments",null,{xmlns:Pr[0]})],r=[];return t.push("<authors>"),e.forEach((function(e){e[1].forEach((function(e){var a=tr(e.a);-1==r.indexOf(a)&&(r.push(a),t.push("<author>"+a+"</author>")),e.T&&e.ID&&-1==r.indexOf("tc="+e.ID)&&(r.push("tc="+e.ID),t.push("<author>tc="+e.ID+"</author>"))}))})),0==r.length&&(r.push("SheetJ5"),t.push("<author>SheetJ5</author>")),t.push("</authors>"),t.push("<commentList>"),e.forEach((function(e){var a=0,n=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?a=r.indexOf("tc="+e[1][0].ID):e[1].forEach((function(e){e.a&&(a=r.indexOf(tr(e.a))),n.push(e.t||"")})),t.push('<comment ref="'+e[0]+'" authorId="'+a+'"><text>'),n.length<=1)t.push(Tr("t",tr(n[0]||"")));else{for(var s="Comment:\n "+n[0]+"\n",i=1;i<n.length;++i)s+="Reply:\n "+n[i]+"\n";t.push(Tr("t",tr(s)))}t.push("</text></comment>")})),t.push("</commentList>"),t.length>2&&(t[t.length]="</comments>",t[1]=t[1].replace("/>",">")),t.join("")}function fu(e,t){var r=[],a=!1,n={},s=0;return e.replace(Gt,(function(i,o){var l=Yt(i);switch(Kt(l[0])){case"<?xml":break;case"<ThreadedComments":break;case"</ThreadedComments>":break;case"<threadedComment":n={author:l.personId,guid:l.id,ref:l.ref,T:1};break;case"</threadedComment>":null!=n.t&&r.push(n);break;case"<text>":case"<text":s=o+i.length;break;case"</text>":n.t=e.slice(s,o).replace(/\r\n/g,"\n").replace(/\r/g,"\n");break;case"<mentions":case"<mentions>":a=!0;break;case"</mentions>":a=!1;break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(!a&&t.WTF)throw new Error("unrecognized "+l[0]+" in threaded comments")}return i})),r}function uu(e,t,r){var a=[Wt,Er("ThreadedComments",null,{xmlns:Rr.TCMNT}).replace(/[\/]>/,">")];return e.forEach((function(e){var n="";(e[1]||[]).forEach((function(s,i){if(s.T){s.a&&-1==t.indexOf(s.a)&&t.push(s.a);var o={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==i?n=o.id:o.parentId=n,s.ID=o.id,s.a&&(o.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(s.a)).slice(-12)+"}"),a.push(Er("threadedComment",Tr("text",s.t||""),o))}else delete s.ID}))})),a.push("</ThreadedComments>"),a.join("")}function hu(e,t){var r=[],a=!1;return e.replace(Gt,(function(e){var n=Yt(e);switch(Kt(n[0])){case"<?xml":break;case"<personList":break;case"</personList>":break;case"<person":r.push({name:n.displayname,id:n.id});break;case"</person>":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;default:if(!a&&t.WTF)throw new Error("unrecognized "+n[0]+" in threaded comments")}return e})),r}function du(e){var t=[Wt,Er("personList",null,{xmlns:Rr.TCMNT,"xmlns:x":Pr[0]}).replace(/[\/]>/,">")];return e.forEach((function(e,r){t.push(Er("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+r).slice(-12)+"}",userId:e,providerId:"None"}))})),t.push("</personList>"),t.join("")}function pu(e){var t={};t.iauthor=e.read_shift(4);var r=mn(e,16);return t.rfx=r.s,t.ref=Da(r.s),e.l+=16,t}function mu(e,t){return null==t&&(t=ba(36)),t.write_shift(4,e[1].iauthor),bn(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 bu=Ga;function gu(e){return $a(e.slice(0,54))}function vu(e,t){var r=[],a=[],n={},s=!1;return ga(e,(function(e,i,o){switch(o){case 632:a.push(e);break;case 635:n=e;break;case 637:n.t=e.t,n.h=e.h,n.r=e.r;break;case 636:if(n.author=a[n.iauthor],delete n.iauthor,t.sheetRows&&n.rfx&&t.sheetRows<=n.rfx.r)break;n.t||(n.t=""),delete n.rfx,r.push(n);break;case 3072:break;case 35:s=!0;break;case 36:s=!1;break;case 37:break;case 38:break;default:if(i.T);else if(!s||t.WTF)throw new Error("Unexpected record 0x"+o.toString(16))}})),r}function wu(e){var t=va(),r=[];return wa(t,628),wa(t,630),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),wa(t,632,gu(e.a)))}))})),wa(t,631),wa(t,633),e.forEach((function(e){e[1].forEach((function(a){a.iauthor=r.indexOf(a.a);var n={s:Ia(e[0]),e:Ia(e[0])};wa(t,635,mu([n,a])),a.t&&a.t.length>0&&wa(t,637,Ja(a)),wa(t,636),delete a.iauthor}))})),wa(t,634),wa(t,629),t.end()}var yu="application/vnd.ms-office.vbaProject";function ku(e){var t=Qe.utils.cfb_new({root:"R"});return e.FullPaths.forEach((function(r,a){if("/"!==r.slice(-1)&&r.match(/_VBA_PROJECT_CUR/)){var n=r.replace(/^[^\/]*/,"R").replace(/\/_VBA_PROJECT_CUR\u0000*/,"");Qe.utils.cfb_add(t,n,e.FileIndex[a].content)}})),Qe.write(t)}function Tu(e,t){t.FullPaths.forEach((function(r,a){if(0!=a){var n=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==n.slice(-1)&&Qe.utils.cfb_add(e,n,t.FileIndex[a].content)}}))}var _u=["xlsb","xlsm","xlam","biff8","xla"];function Eu(){return{"!type":"dialog"}}function Su(){return{"!type":"dialog"}}function Au(){return{"!type":"macro"}}function xu(){return{"!type":"macro"}}var Cu=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,t={r:0,c:0};function r(e,r,a,n){var s=!1,i=!1;0==a.length?i=!0:"["==a.charAt(0)&&(i=!0,a=a.slice(1,-1)),0==n.length?s=!0:"["==n.charAt(0)&&(s=!0,n=n.slice(1,-1));var o=a.length>0?0|parseInt(a,10):0,l=n.length>0?0|parseInt(n,10):0;return s?l+=t.c:--l,i?o+=t.r:--o,r+(s?"":"$")+Ra(l)+(i?"":"$")+Sa(o)}return function(a,n){return t=n,a.replace(e,r)}}(),Ru=/(^|[^._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,Pu=function(){return function(e,t){return e.replace(Ru,(function(e,r,a,n,s,i){var o=Ca(n)-(a?0:t.c),l=Ea(i)-(s?0:t.r),c=0==l?"":s?l+1:"["+l+"]",f=0==o?"":a?o+1:"["+o+"]";return r+"R"+c+"C"+f}))}}();function Ou(e,t){return e.replace(Ru,(function(e,r,a,n,s,i){return r+("$"==a?a+n:Ra(Ca(n)+t.c))+("$"==s?s+i:Sa(Ea(i)+t.r))}))}function Nu(e,t,r){var a=Fa(t),n=a.s,s=Ia(r),i={r:s.r-n.r,c:s.c-n.c};return Ou(e,i)}function Iu(e){return 1!=e.length}function Du(e){return e.replace(/_xlfn\./g,"")}function Fu(e){e.l+=1}function Mu(e,t){var r=e.read_shift(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function Lu(e,t,r){var a=2;if(r){if(r.biff>=2&&r.biff<=5)return Bu(e,t,r);12==r.biff&&(a=4)}var n=e.read_shift(a),s=e.read_shift(a),i=Mu(e,2),o=Mu(e,2);return{s:{r:n,c:i[0],cRel:i[1],rRel:i[2]},e:{r:s,c:o[0],cRel:o[1],rRel:o[2]}}}function Bu(e){var t=Mu(e,2),r=Mu(e,2),a=e.read_shift(1),n=e.read_shift(1);return{s:{r:t[0],c:a,cRel:t[1],rRel:t[2]},e:{r:r[0],c:n,cRel:r[1],rRel:r[2]}}}function Uu(e,t,r){if(r.biff<8)return Bu(e,t,r);var a=e.read_shift(12==r.biff?4:2),n=e.read_shift(12==r.biff?4:2),s=Mu(e,2),i=Mu(e,2);return{s:{r:a,c:s[0],cRel:s[1],rRel:s[2]},e:{r:n,c:i[0],cRel:i[1],rRel:i[2]}}}function zu(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return Wu(e,t,r);var a=e.read_shift(r&&12==r.biff?4:2),n=Mu(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function Wu(e){var t=Mu(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}function Hu(e){var t=e.read_shift(2),r=e.read_shift(2);return{r:t,c:255&r,fQuoted:!!(16384&r),cRel:r>>15,rRel:r>>15}}function ju(e,t,r){var a=r&&r.biff?r.biff:8;if(a>=2&&a<=5)return Vu(e,t,r);var n=e.read_shift(a>=12?4:2),s=e.read_shift(2),i=(16384&s)>>14,o=(32768&s)>>15;if(s&=16383,1==o)while(n>524287)n-=1048576;if(1==i)while(s>8191)s-=16384;return{r:n,c:s,cRel:i,rRel:o}}function Vu(e){var t=e.read_shift(2),r=e.read_shift(1),a=(32768&t)>>15,n=(16384&t)>>14;return t&=16383,1==a&&t>=8192&&(t-=16384),1==n&&r>=128&&(r-=256),{r:t,c:r,cRel:n,rRel:a}}function Gu(e,t,r){var a=(96&e[e.l++])>>5,n=Lu(e,r.biff>=2&&r.biff<=5?6:8,r);return[a,n]}function $u(e,t,r){var a=(96&e[e.l++])>>5,n=e.read_shift(2,"i"),s=8;if(r)switch(r.biff){case 5:e.l+=12,s=6;break;case 12:s=12;break}var i=Lu(e,s,r);return[a,n,i]}function Xu(e,t,r){var a=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[a]}function Yu(e,t,r){var a=(96&e[e.l++])>>5,n=e.read_shift(2),s=8;if(r)switch(r.biff){case 5:e.l+=12,s=6;break;case 12:s=12;break}return e.l+=s,[a,n]}function Ku(e,t,r){var a=(96&e[e.l++])>>5,n=Uu(e,t-1,r);return[a,n]}function Zu(e,t,r){var a=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[a]}function qu(e){var t=1&e[e.l+1],r=1;return e.l+=4,[t,r]}function Ju(e,t,r){e.l+=2;for(var a=e.read_shift(r&&2==r.biff?1:2),n=[],s=0;s<=a;++s)n.push(e.read_shift(r&&2==r.biff?1:2));return n}function Qu(e,t,r){var a=255&e[e.l+1]?1:0;return e.l+=2,[a,e.read_shift(r&&2==r.biff?1:2)]}function eh(e,t,r){var a=255&e[e.l+1]?1:0;return e.l+=2,[a,e.read_shift(r&&2==r.biff?1:2)]}function th(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}function rh(e,t,r){var a=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[a]}function ah(e){var t=e.read_shift(1),r=e.read_shift(1);return[t,r]}function nh(e){return e.read_shift(2),ah(e,2)}function sh(e){return e.read_shift(2),ah(e,2)}function ih(e,t,r){var a=(96&e[e.l])>>5;e.l+=1;var n=zu(e,0,r);return[a,n]}function oh(e,t,r){var a=(96&e[e.l])>>5;e.l+=1;var n=ju(e,0,r);return[a,n]}function lh(e,t,r){var a=(96&e[e.l])>>5;e.l+=1;var n=e.read_shift(2);r&&5==r.biff&&(e.l+=12);var s=zu(e,0,r);return[a,n,s]}function ch(e,t,r){var a=(96&e[e.l])>>5;e.l+=1;var n=e.read_shift(r&&r.biff<=3?1:2);return[Sd[n],Ed[n],a]}function fh(e,t,r){var a=e[e.l++],n=e.read_shift(1),s=r&&r.biff<=3?[88==a?-1:0,e.read_shift(1)]:uh(e);return[n,(0===s[0]?Ed:_d)[s[1]]]}function uh(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}function hh(e,t,r){e.l+=r&&2==r.biff?3:4}function dh(e,t,r){if(e.l++,r&&12==r.biff)return[e.read_shift(4,"i"),0];var a=e.read_shift(2),n=e.read_shift(r&&2==r.biff?1:2);return[a,n]}function ph(e){return e.l++,$n[e.read_shift(1)]}function mh(e){return e.l++,e.read_shift(2)}function bh(e){return e.l++,0!==e.read_shift(1)}function gh(e){return e.l++,gn(e,8)}function vh(e,t,r){return e.l++,oi(e,t-1,r)}function wh(e,t){var r=[e.read_shift(1)];if(12==t)switch(r[0]){case 2:r[0]=4;break;case 4:r[0]=16;break;case 0:r[0]=1;break;case 1:r[0]=2;break}switch(r[0]){case 4:r[1]=ei(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=$n[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=gn(e,8);break;case 2:r[1]=hi(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function yh(e,t,r){for(var a=e.read_shift(12==r.biff?4:2),n=[],s=0;s!=a;++s)n.push((12==r.biff?mn:Oi)(e,8));return n}function kh(e,t,r){var a=0,n=0;12==r.biff?(a=e.read_shift(4),n=e.read_shift(4)):(n=1+e.read_shift(1),a=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--a,0==--n&&(n=256));for(var s=0,i=[];s!=a&&(i[s]=[]);++s)for(var o=0;o!=n;++o)i[s][o]=wh(e,r.biff);return i}function Th(e,t,r){var a=e.read_shift(1)>>>5&3,n=!r||r.biff>=8?4:2,s=e.read_shift(n);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[a,0,s]}function _h(e,t,r){if(5==r.biff)return Eh(e,t,r);var a=e.read_shift(1)>>>5&3,n=e.read_shift(2),s=e.read_shift(4);return[a,n,s]}function Eh(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var a=e.read_shift(2);return e.l+=12,[t,r,a]}function Sh(e,t,r){var a=e.read_shift(1)>>>5&3;e.l+=r&&2==r.biff?3:4;var n=e.read_shift(r&&2==r.biff?1:2);return[a,n]}function Ah(e,t,r){var a=e.read_shift(1)>>>5&3,n=e.read_shift(r&&2==r.biff?1:2);return[a,n]}function xh(e,t,r){var a=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[a]}function Ch(e,t,r){var a=(96&e[e.l++])>>5,n=e.read_shift(2),s=4;if(r)switch(r.biff){case 5:s=15;break;case 12:s=6;break}return e.l+=s,[a,n]}var Rh=ma,Ph=ma,Oh=ma;function Nh(e,t,r){return e.l+=2,[Hu(e,4,r)]}function Ih(e){return e.l+=6,[]}var Dh=Nh,Fh=Ih,Mh=Ih,Lh=Nh;function Bh(e){return e.l+=2,[ri(e),1&e.read_shift(2)]}var Uh=Nh,zh=Bh,Wh=Ih,Hh=Nh,jh=Nh,Vh=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function Gh(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),a=e.read_shift(4),n=e.read_shift(2),s=e.read_shift(2),i=Vh[r>>2&31];return{ixti:t,coltype:3&r,rt:i,idx:a,c:n,C:s}}function $h(e){return e.l+=2,[e.read_shift(4)]}function Xh(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}function Yh(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}function Kh(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function Zh(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2);return[t,r]}function qh(e){return e.l+=4,[0,0]}var Jh={1:{n:"PtgExp",f:dh},2:{n:"PtgTbl",f:Oh},3:{n:"PtgAdd",f:Fu},4:{n:"PtgSub",f:Fu},5:{n:"PtgMul",f:Fu},6:{n:"PtgDiv",f:Fu},7:{n:"PtgPower",f:Fu},8:{n:"PtgConcat",f:Fu},9:{n:"PtgLt",f:Fu},10:{n:"PtgLe",f:Fu},11:{n:"PtgEq",f:Fu},12:{n:"PtgGe",f:Fu},13:{n:"PtgGt",f:Fu},14:{n:"PtgNe",f:Fu},15:{n:"PtgIsect",f:Fu},16:{n:"PtgUnion",f:Fu},17:{n:"PtgRange",f:Fu},18:{n:"PtgUplus",f:Fu},19:{n:"PtgUminus",f:Fu},20:{n:"PtgPercent",f:Fu},21:{n:"PtgParen",f:Fu},22:{n:"PtgMissArg",f:Fu},23:{n:"PtgStr",f:vh},26:{n:"PtgSheet",f:Xh},27:{n:"PtgEndSheet",f:Yh},28:{n:"PtgErr",f:ph},29:{n:"PtgBool",f:bh},30:{n:"PtgInt",f:mh},31:{n:"PtgNum",f:gh},32:{n:"PtgArray",f:Zu},33:{n:"PtgFunc",f:ch},34:{n:"PtgFuncVar",f:fh},35:{n:"PtgName",f:Th},36:{n:"PtgRef",f:ih},37:{n:"PtgArea",f:Gu},38:{n:"PtgMemArea",f:Sh},39:{n:"PtgMemErr",f:Rh},40:{n:"PtgMemNoMem",f:Ph},41:{n:"PtgMemFunc",f:Ah},42:{n:"PtgRefErr",f:xh},43:{n:"PtgAreaErr",f:Xu},44:{n:"PtgRefN",f:oh},45:{n:"PtgAreaN",f:Ku},46:{n:"PtgMemAreaN",f:Kh},47:{n:"PtgMemNoMemN",f:Zh},57:{n:"PtgNameX",f:_h},58:{n:"PtgRef3d",f:lh},59:{n:"PtgArea3d",f:$u},60:{n:"PtgRefErr3d",f:Ch},61:{n:"PtgAreaErr3d",f:Yu},255:{}},Qh={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},ed={1:{n:"PtgElfLel",f:Bh},2:{n:"PtgElfRw",f:Hh},3:{n:"PtgElfCol",f:Dh},6:{n:"PtgElfRwV",f:jh},7:{n:"PtgElfColV",f:Lh},10:{n:"PtgElfRadical",f:Uh},11:{n:"PtgElfRadicalS",f:Wh},13:{n:"PtgElfColS",f:Fh},15:{n:"PtgElfColSV",f:Mh},16:{n:"PtgElfRadicalLel",f:zh},25:{n:"PtgList",f:Gh},29:{n:"PtgSxName",f:$h},255:{}},td={0:{n:"PtgAttrNoop",f:qh},1:{n:"PtgAttrSemi",f:rh},2:{n:"PtgAttrIf",f:eh},4:{n:"PtgAttrChoose",f:Ju},8:{n:"PtgAttrGoto",f:Qu},16:{n:"PtgAttrSum",f:hh},32:{n:"PtgAttrBaxcel",f:qu},33:{n:"PtgAttrBaxcel",f:qu},64:{n:"PtgAttrSpace",f:nh},65:{n:"PtgAttrSpaceSemi",f:sh},128:{n:"PtgAttrIfError",f:th},255:{}};function rd(e,t,r,a){if(a.biff<8)return ma(e,t);for(var n=e.l+t,s=[],i=0;i!==r.length;++i)switch(r[i][0]){case"PtgArray":r[i][1]=kh(e,0,a),s.push(r[i][1]);break;case"PtgMemArea":r[i][2]=yh(e,r[i][1],a),s.push(r[i][2]);break;case"PtgExp":a&&12==a.biff&&(r[i][1][1]=e.read_shift(4),s.push(r[i][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[i][0];default:break}return t=n-e.l,0!==t&&s.push(ma(e,t)),s}function ad(e,t,r){var a,n,s=e.l+t,i=[];while(s!=e.l)t=s-e.l,n=e[e.l],a=Jh[n]||Jh[Qh[n]],24!==n&&25!==n||(a=(24===n?ed:td)[e[e.l+1]]),a&&a.f?i.push([a.n,a.f(e,t,r)]):ma(e,t);return i}function nd(e){for(var t=[],r=0;r<e.length;++r){for(var a=e[r],n=[],s=0;s<a.length;++s){var i=a[s];if(i)switch(i[0]){case 2:n.push('"'+i[1].replace(/"/g,'""')+'"');break;default:n.push(i[1])}else n.push("")}t.push(n.join(","))}return t.join(";")}var sd={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function id(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 od(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 a=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!a)return"SH33TJSERR1";var n="";if(r.biff>8)switch(e[a[0]][0]){case 357:return n=-1==a[1]?"#REF":e.SheetNames[a[1]],a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[a[0]][0];case 355:default:return"SH33TJSSRC"+e[a[0]][0]}switch(e[a[0]][0][0]){case 1025:return n=-1==a[1]?"#REF":e.SheetNames[a[1]]||"SH33TJSERR3",a[1]==a[2]?n:n+":"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[a[0]][0][3]?(n=-1==a[1]?"#REF":e[a[0]][0][3][a[1]]||"SH33TJSERR4",a[1]==a[2]?n:n+":"+e[a[0]][0][3][a[2]]):"SH33TJSERR2"}}function ld(e,t,r){var a=od(e,t,r);return"#REF"==a?a:id(a,r)}function cd(e,t,r,a,n){var s,i,o,l,c=n&&n.biff||8,f={s:{c:0,r:0},e:{c:0,r:0}},u=[],h=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var m=-1,b="",g=0,v=e[0].length;g<v;++g){var w=e[0][g];switch(w[0]){case"PtgUminus":u.push("-"+u.pop());break;case"PtgUplus":u.push("+"+u.pop());break;case"PtgPercent":u.push(u.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(s=u.pop(),i=u.pop(),m>=0){switch(e[0][m][1][0]){case 0:b=_t(" ",e[0][m][1][1]);break;case 1:b=_t("\r",e[0][m][1][1]);break;default:if(b="",n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}i+=b,m=-1}u.push(i+sd[w[0]]+s);break;case"PtgIsect":s=u.pop(),i=u.pop(),u.push(i+" "+s);break;case"PtgUnion":s=u.pop(),i=u.pop(),u.push(i+","+s);break;case"PtgRange":s=u.pop(),i=u.pop(),u.push(i+":"+s);break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":o=ya(w[1][1],f,n),u.push(Ta(o,c));break;case"PtgRefN":o=r?ya(w[1][1],r,n):w[1][1],u.push(Ta(o,c));break;case"PtgRef3d":h=w[1][1],o=ya(w[1][2],f,n),p=ld(a,h,n);u.push(p+"!"+Ta(o,c));break;case"PtgFunc":case"PtgFuncVar":var y=w[1][0],k=w[1][1];y||(y=0),y&=127;var T=0==y?[]:u.slice(-y);u.length-=y,"User"===k&&(k=T.shift()),u.push(k+"("+T.join(",")+")");break;case"PtgBool":u.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":u.push(w[1]);break;case"PtgNum":u.push(String(w[1]));break;case"PtgStr":u.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgErr":u.push(w[1]);break;case"PtgAreaN":l=ka(w[1][1],r?{s:r}:f,n),u.push(_a(l,n));break;case"PtgArea":l=ka(w[1][1],f,n),u.push(_a(l,n));break;case"PtgArea3d":h=w[1][1],l=w[1][2],p=ld(a,h,n),u.push(p+"!"+_a(l,n));break;case"PtgAttrSum":u.push("SUM("+u.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":d=w[1][2];var _=(a.names||[])[d-1]||(a[0]||[])[d],E=_?_.Name:"SH33TJSNAME"+String(d);E&&"_xlfn."==E.slice(0,6)&&!n.xlfn&&(E=E.slice(6)),u.push(E);break;case"PtgNameX":var S,A=w[1][1];if(d=w[1][2],!(n.biff<=5)){var x="";if(14849==((a[A]||[])[0]||[])[0]||(1025==((a[A]||[])[0]||[])[0]?a[A][d]&&a[A][d].itab>0&&(x=a.SheetNames[a[A][d].itab-1]+"!"):x=a.SheetNames[d-1]+"!"),a[A]&&a[A][d])x+=a[A][d].Name;else if(a[0]&&a[0][d])x+=a[0][d].Name;else{var C=(od(a,A,n)||"").split(";;");C[d-1]?x=C[d-1]:x+="SH33TJSERRX"}u.push(x);break}A<0&&(A=-A),a[A]&&(S=a[A][d]),S||(S={Name:"SH33TJSERRY"}),u.push(S.Name);break;case"PtgParen":var R="(",P=")";if(m>=0){switch(b="",e[0][m][1][0]){case 2:R=_t(" ",e[0][m][1][1])+R;break;case 3:R=_t("\r",e[0][m][1][1])+R;break;case 4:P=_t(" ",e[0][m][1][1])+P;break;case 5:P=_t("\r",e[0][m][1][1])+P;break;default:if(n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][m][1][0])}m=-1}u.push(R+u.pop()+P);break;case"PtgRefErr":u.push("#REF!");break;case"PtgRefErr3d":u.push("#REF!");break;case"PtgExp":o={c:w[1][1],r:w[1][0]};var O={c:r.c,r:r.r};if(a.sharedf[Da(o)]){var N=a.sharedf[Da(o)];u.push(cd(N,f,O,a,n))}else{var I=!1;for(s=0;s!=a.arrayf.length;++s)if(i=a.arrayf[s],!(o.c<i[0].s.c||o.c>i[0].e.c)&&!(o.r<i[0].s.r||o.r>i[0].e.r)){u.push(cd(i[1],f,O,a,n)),I=!0;break}I||u.push(w[1])}break;case"PtgArray":u.push("{"+nd(w[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":m=g;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":u.push("");break;case"PtgAreaErr":u.push("#REF!");break;case"PtgAreaErr3d":u.push("#REF!");break;case"PtgList":u.push("Table"+w[1].idx+"[#"+w[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(w));default:throw new Error("Unrecognized Formula Token: "+String(w))}var D=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(3!=n.biff&&m>=0&&-1==D.indexOf(e[0][g][0])){w=e[0][m];var F=!0;switch(w[1][0]){case 4:F=!1;case 0:b=_t(" ",w[1][1]);break;case 5:F=!1;case 1:b=_t("\r",w[1][1]);break;default:if(b="",n.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0])}u.push((F?b:"")+u.pop()+(F?"":b)),m=-1}}if(u.length>1&&n.WTF)throw new Error("bad formula stack");return u[0]}function fd(e,t,r){var a,n=e.l+t,s=2==r.biff?1:2,i=e.read_shift(s);if(65535==i)return[[],ma(e,t-2)];var o=ad(e,i,r);return t!==i+s&&(a=rd(e,t-i-s,o,r)),e.l=n,[o,a]}function ud(e,t,r){var a,n=e.l+t,s=2==r.biff?1:2,i=e.read_shift(s);if(65535==i)return[[],ma(e,t-2)];var o=ad(e,i,r);return t!==i+s&&(a=rd(e,t-i-s,o,r)),e.l=n,[o,a]}function hd(e,t,r,a){var n,s=e.l+t,i=ad(e,a,r);return s!==e.l&&(n=rd(e,s-e.l,i,r)),[i,n]}function dd(e,t,r){var a,n=e.l+t,s=e.read_shift(2),i=ad(e,s,r);return 65535==s?[[],ma(e,t-2)]:(t!==s+2&&(a=rd(e,n-s-2,i,r)),[i,a])}function pd(e){var t;if(65535!==aa(e,e.l+6))return[gn(e),"n"];switch(e[e.l]){case 0:return e.l+=8,["String","s"];case 1:return t=1===e[e.l+2],e.l+=8,[t,"b"];case 2:return t=e[e.l+2],e.l+=8,[t,"e"];case 3:return e.l+=8,["","s"]}return[]}function md(e){if(null==e){var t=ba(8);return t.write_shift(1,3),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,65535),t}return vn("number"==typeof e?e:0)}function bd(e,t,r){var a=e.l+t,n=Ei(e,6);2==r.biff&&++e.l;var s=pd(e,8),i=e.read_shift(1);2!=r.biff&&(e.read_shift(1),r.biff>=5&&e.read_shift(4));var o=ud(e,a-e.l,r);return{cell:n,val:s[0],formula:o,shared:i>>3&1,tt:s[1]}}function gd(e,t,r,a,n){var s=Si(t,r,n),i=md(e.v),o=ba(6),l=33;o.write_shift(2,l),o.write_shift(4,0);for(var c=ba(e.bf.length),f=0;f<e.bf.length;++f)c[f]=e.bf[f];var u=D([s,i,o,c]);return u}function vd(e,t,r){var a=e.read_shift(4),n=ad(e,a,r),s=e.read_shift(4),i=s>0?rd(e,s,n,r):null;return[n,i]}var wd=vd,yd=vd,kd=vd,Td=vd,_d={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"},Ed={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"},Sd={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 Ad(e){return"of:"==e.slice(0,3)&&(e=e.slice(3)),61==e.charCodeAt(0)&&(e=e.slice(1),61==e.charCodeAt(0)&&(e=e.slice(1))),e=e.replace(/COM\.MICROSOFT\./g,""),e=e.replace(/\[((?:\.[A-Z]+[0-9]+)(?::\.[A-Z]+[0-9]+)?)\]/g,(function(e,t){return t.replace(/\./g,"")})),e=e.replace(/\[.(#[A-Z]*[?!])\]/g,"$1"),e.replace(/[;~]/g,",").replace(/\|/g,";")}function xd(e){var t="of:="+e.replace(Ru,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return t.replace(/;/g,"|").replace(/,/g,";")}function Cd(e){var t=e.split(":"),r=t[0].split(".")[0];return[r,t[0].split(".")[1]+(t.length>1?":"+(t[1].split(".")[1]||t[1].split(".")[0]):"")]}function Rd(e){return e.replace(/\./,"!")}var Pd={},Od={},Nd="undefined"!==typeof Map;function Id(e,t,r){var a=0,n=e.length;if(r){if(Nd?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var s=Nd?r.get(t):r[t];a<s.length;++a)if(e[s[a]].t===t)return e.Count++,s[a]}else for(;a<n;++a)if(e[a].t===t)return e.Count++,a;return e[n]={t:t},e.Count++,e.Unique++,r&&(Nd?(r.has(t)||r.set(t,[]),r.get(t).push(n)):(Object.prototype.hasOwnProperty.call(r,t)||(r[t]=[]),r[t].push(n))),n}function Dd(e,t){var r={min:e+1,max:e+1},a=-1;return t.MDW&&(Ac=t.MDW),null!=t.width?r.customWidth=1:null!=t.wpx?a=Cc(t.wpx):null!=t.wch&&(a=t.wch),a>-1?(r.width=Rc(a),r.customWidth=1):null!=t.width&&(r.width=t.width),t.hidden&&(r.hidden=!0),null!=t.level&&(r.outlineLevel=r.level=t.level),r}function Fd(e,t){if(e){var r=[.7,.7,.75,.75,.3,.3];"xlml"==t&&(r=[1,1,1,1,.5,.5]),null==e.left&&(e.left=r[0]),null==e.right&&(e.right=r[1]),null==e.top&&(e.top=r[2]),null==e.bottom&&(e.bottom=r[3]),null==e.header&&(e.header=r[4]),null==e.footer&&(e.footer=r[5])}}function Md(e,t,r){var a=r.revssf[null!=t.z?t.z:"General"],n=60,s=e.length;if(null==a&&r.ssf)for(;n<392;++n)if(null==r.ssf[n]){Ve(t.z,n),r.ssf[n]=t.z,r.revssf[t.z]=a=n;break}for(n=0;n!=s;++n)if(e[n].numFmtId===a)return n;return e[s]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},s}function Ld(e,t,r,a,n,s){try{a.cellNF&&(e.z=q[t])}catch(o){if(a.WTF)throw o}if("z"!==e.t||a.cellStyles){if("d"===e.t&&"string"===typeof e.v&&(e.v=yt(e.v)),(!a||!1!==a.cellText)&&"z"!==e.t)try{if(null==q[t]&&Ve(Ye[t]||"General",t),"e"===e.t)e.w=e.w||$n[e.v];else if(0===t)if("n"===e.t)(0|e.v)===e.v?e.w=e.v.toString(10):e.w=fe(e.v);else if("d"===e.t){var i=ut(e.v);e.w=(0|i)===i?i.toString(10):fe(i)}else{if(void 0===e.v)return"";e.w=ue(e.v,Od)}else"d"===e.t?e.w=je(t,ut(e.v),Od):e.w=je(t,e.v,Od)}catch(o){if(a.WTF)throw o}if(a.cellStyles&&null!=r)try{e.s=s.Fills[r],e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb&&(e.s.fgColor.rgb=Tc(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0),a.WTF&&(e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb)),e.s.bgColor&&e.s.bgColor.theme&&(e.s.bgColor.rgb=Tc(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0),a.WTF&&(e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb))}catch(o){if(a.WTF&&s.Fills)throw o}}}function Bd(e,t,r){if(e&&e["!ref"]){var a=La(e["!ref"]);if(a.e.c<a.s.c||a.e.r<a.s.r)throw new Error("Bad range ("+r+"): "+e["!ref"])}}function Ud(e,t){var r=La(t);r.s.r<=r.e.r&&r.s.c<=r.e.c&&r.s.r>=0&&r.s.c>=0&&(e["!ref"]=Ma(r))}var zd=/<(?:\w:)?mergeCell ref="[A-Z0-9:]+"\s*[\/]?>/g,Wd=/<(?:\w+:)?sheetData[^>]*>([\s\S]*)<\/(?:\w+:)?sheetData>/,Hd=/<(?:\w:)?hyperlink [^>]*>/gm,jd=/"(\w*:\w*)"/,Vd=/<(?:\w:)?col\b[^>]*[\/]?>/g,Gd=/<(?:\w:)?autoFilter[^>]*([\/]|>([\s\S]*)<\/(?:\w:)?autoFilter)>/g,$d=/<(?:\w:)?pageMargins[^>]*\/>/g,Xd=/<(?:\w:)?sheetPr\b(?:[^>a-z][^>]*)?\/>/,Yd=/<(?:\w:)?sheetPr[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetPr)>/,Kd=/<(?:\w:)?sheetViews[^>]*(?:[\/]|>([\s\S]*)<\/(?:\w:)?sheetViews)>/;function Zd(e,t,r,a,n,s,i){if(!e)return e;a||(a={"!id":{}}),null!=y&&null==t.dense&&(t.dense=y);var o=t.dense?[]:{},l={s:{r:2e6,c:2e6},e:{r:0,c:0}},c="",f="",u=e.match(Wd);u?(c=e.slice(0,u.index),f=e.slice(u.index+u[0].length)):c=f=e;var h=c.match(Xd);h?Jd(h[0],o,n,r):(h=c.match(Yd))&&Qd(h[0],h[1]||"",o,n,r,i,s);var d=(c.match(/<(?:\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=c.slice(d,d+50).match(jd);p&&Ud(o,p[1])}var m=c.match(Kd);m&&m[1]&&hp(m[1],n);var b=[];if(t.cellStyles){var g=c.match(Vd);g&&op(b,g)}u&&mp(u[1],o,t,l,s,i);var v=f.match(Gd);v&&(o["!autofilter"]=cp(v[0]));var w=[],k=f.match(zd);if(k)for(d=0;d!=k.length;++d)w[d]=La(k[d].slice(k[d].indexOf('"')+1));var T=f.match(Hd);T&&np(o,T,a);var _=f.match($d);if(_&&(o["!margins"]=sp(Yt(_[0]))),!o["!ref"]&&l.e.c>=l.s.c&&l.e.r>=l.s.r&&(o["!ref"]=Ma(l)),t.sheetRows>0&&o["!ref"]){var E=La(o["!ref"]);t.sheetRows<=+E.e.r&&(E.e.r=t.sheetRows-1,E.e.r>l.e.r&&(E.e.r=l.e.r),E.e.r<E.s.r&&(E.s.r=E.e.r),E.e.c>l.e.c&&(E.e.c=l.e.c),E.e.c<E.s.c&&(E.s.c=E.e.c),o["!fullref"]=o["!ref"],o["!ref"]=Ma(E))}return b.length>0&&(o["!cols"]=b),w.length>0&&(o["!merges"]=w),o}function qd(e){if(0===e.length)return"";for(var t='<mergeCells count="'+e.length+'">',r=0;r!=e.length;++r)t+='<mergeCell ref="'+Ma(e[r])+'"/>';return t+"</mergeCells>"}function Jd(e,t,r,a){var n=Yt(e);r.Sheets[a]||(r.Sheets[a]={}),n.codeName&&(r.Sheets[a].CodeName=Jt(dr(n.codeName)))}function Qd(e,t,r,a,n){Jd(e.slice(0,e.indexOf(">")),r,a,n)}function ep(e,t,r,a,n){var s=!1,i={},o=null;if("xlsx"!==a.bookType&&t.vbaraw){var l=t.SheetNames[r];try{t.Workbook&&(l=t.Workbook.Sheets[r].CodeName||l)}catch(f){}s=!0,i.codeName=pr(tr(l))}if(e&&e["!outline"]){var c={summaryBelow:1,summaryRight:1};e["!outline"].above&&(c.summaryBelow=0),e["!outline"].left&&(c.summaryRight=0),o=(o||"")+Er("outlinePr",null,c)}(s||o)&&(n[n.length]=Er("sheetPr",o,i))}var tp=["objects","scenarios","selectLockedCells","selectUnlockedCells"],rp=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function ap(e){var t={sheet:1};return tp.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),rp.forEach((function(r){null==e[r]||e[r]||(t[r]="0")})),e.password&&(t.password=fc(e.password).toString(16).toUpperCase()),Er("sheetProtection",null,t)}function np(e,t,r){for(var a=Array.isArray(e),n=0;n!=t.length;++n){var s=Yt(dr(t[n]),!0);if(!s.ref)return;var i=((r||{})["!id"]||[])[s.id];i?(s.Target=i.Target,s.location&&(s.Target+="#"+Jt(s.location))):(s.Target="#"+Jt(s.location),i={Target:s.Target,TargetMode:"Internal"}),s.Rel=i,s.tooltip&&(s.Tooltip=s.tooltip,delete s.tooltip);for(var o=La(s.ref),l=o.s.r;l<=o.e.r;++l)for(var c=o.s.c;c<=o.e.c;++c){var f=Da({c:c,r:l});a?(e[l]||(e[l]=[]),e[l][c]||(e[l][c]={t:"z",v:void 0}),e[l][c].l=s):(e[f]||(e[f]={t:"z",v:void 0}),e[f].l=s)}}}function sp(e){var t={};return["left","right","top","bottom","header","footer"].forEach((function(r){e[r]&&(t[r]=parseFloat(e[r]))})),t}function ip(e){return Fd(e),Er("pageMargins",null,e)}function op(e,t){for(var r=!1,a=0;a!=t.length;++a){var n=Yt(t[a],!0);n.hidden&&(n.hidden=lr(n.hidden));var s=parseInt(n.min,10)-1,i=parseInt(n.max,10)-1;n.outlineLevel&&(n.level=+n.outlineLevel||0),delete n.min,delete n.max,n.width=+n.width,!r&&n.width&&(r=!0,Oc(n.width)),Nc(n);while(s<=i)e[s++]=Tt(n)}}function lp(e,t){for(var r,a=["<cols>"],n=0;n!=t.length;++n)(r=t[n])&&(a[a.length]=Er("col",null,Dd(n,r)));return a[a.length]="</cols>",a.join("")}function cp(e){var t={ref:(e.match(/ref="([^"]*)"/)||[])[1]};return t}function fp(e,t,r,a){var n="string"==typeof e.ref?e.ref:Ma(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,i=Fa(n);i.s.r==i.e.r&&(i.e.r=Fa(t["!ref"]).e.r,n=Ma(i));for(var o=0;o<s.length;++o){var l=s[o];if("_xlnm._FilterDatabase"==l.Name&&l.Sheet==a){l.Ref="'"+r.SheetNames[a]+"'!"+n;break}}return o==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+r.SheetNames[a]+"'!"+n}),Er("autoFilter",null,{ref:n})}var up=/<(?:\w:)?sheetView(?:[^>a-z][^>]*)?\/?>/;function hp(e,t){t.Views||(t.Views=[{}]),(e.match(up)||[]).forEach((function(e,r){var a=Yt(e);t.Views[r]||(t.Views[r]={}),+a.zoomScale&&(t.Views[r].zoom=+a.zoomScale),lr(a.rightToLeft)&&(t.Views[r].RTL=!0)}))}function dp(e,t,r,a){var n={workbookViewId:"0"};return(((a||{}).Workbook||{}).Views||[])[0]&&(n.rightToLeft=a.Workbook.Views[0].RTL?"1":"0"),Er("sheetViews",Er("sheetView",null,n),{})}function pp(e,t,r,a){if(e.c&&r["!comments"].push([t,e.c]),void 0===e.v&&"string"!==typeof e.f||"z"===e.t&&!e.f)return"";var n="",s=e.t,i=e.v;if("z"!==e.t)switch(e.t){case"b":n=e.v?"1":"0";break;case"n":n=""+e.v;break;case"e":n=$n[e.v];break;case"d":a&&a.cellDates?n=yt(e.v,-1).toISOString():(e=Tt(e),e.t="n",n=""+(e.v=ut(yt(e.v)))),"undefined"===typeof e.z&&(e.z=q[14]);break;default:n=e.v;break}var o=Tr("v",tr(n)),l={r:t},c=Md(a.cellXfs,e,a);switch(0!==c&&(l.s=c),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(null==e.v){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(a&&a.bookSST){o=Tr("v",""+Id(a.Strings,e.v,a.revStrings)),l.t="s";break}l.t="str";break}if(e.t!=s&&(e.t=s,e.v=i),"string"==typeof e.f&&e.f){var f=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;o=Er("f",tr(e.f),f)+(null!=e.v?o:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(l.cm=1),Er("c",o,l)}var mp=function(){var e=/<(?:\w+:)?c[ \/>]/,t=/<\/(?:\w+:)?row>/,r=/r=["']([^"']*)["']/,a=/<(?:\w+:)?is>([\S\s]*?)<\/(?:\w+:)?is>/,n=/ref=["']([^"']*)["']/,s=mr("v"),i=mr("f");return function(o,l,c,f,u,h){for(var d,p,m,b,g,v=0,w="",y=[],k=[],T=0,_=0,E=0,S="",A=0,x=0,C=0,R=0,P=Array.isArray(h.CellXf),O=[],N=[],I=Array.isArray(l),D=[],F={},M=!1,L=!!c.sheetStubs,B=o.split(t),U=0,z=B.length;U!=z;++U){w=B[U].trim();var W=w.length;if(0!==W){var H=0;e:for(v=0;v<W;++v)switch(w[v]){case">":if("/"!=w[v-1]){++v;break e}if(c&&c.cellStyles){if(p=Yt(w.slice(H,v),!0),A=null!=p.r?parseInt(p.r,10):A+1,x=-1,c.sheetRows&&c.sheetRows<A)continue;F={},M=!1,p.ht&&(M=!0,F.hpt=parseFloat(p.ht),F.hpx=Mc(F.hpt)),"1"==p.hidden&&(M=!0,F.hidden=!0),null!=p.outlineLevel&&(M=!0,F.level=+p.outlineLevel),M&&(D[A-1]=F)}break;case"<":H=v;break}if(H>=v)break;if(p=Yt(w.slice(H,v),!0),A=null!=p.r?parseInt(p.r,10):A+1,x=-1,!(c.sheetRows&&c.sheetRows<A)){f.s.r>A-1&&(f.s.r=A-1),f.e.r<A-1&&(f.e.r=A-1),c&&c.cellStyles&&(F={},M=!1,p.ht&&(M=!0,F.hpt=parseFloat(p.ht),F.hpx=Mc(F.hpt)),"1"==p.hidden&&(M=!0,F.hidden=!0),null!=p.outlineLevel&&(M=!0,F.level=+p.outlineLevel),M&&(D[A-1]=F)),y=w.slice(v).split(e);for(var j=0;j!=y.length;++j)if("<"!=y[j].trim().charAt(0))break;for(y=y.slice(j),v=0;v!=y.length;++v)if(w=y[v].trim(),0!==w.length){if(k=w.match(r),T=v,_=0,E=0,w="<c "+("<"==w.slice(0,1)?">":"")+w,null!=k&&2===k.length){for(T=0,S=k[1],_=0;_!=S.length;++_){if((E=S.charCodeAt(_)-64)<1||E>26)break;T=26*T+E}--T,x=T}else++x;for(_=0;_!=w.length;++_)if(62===w.charCodeAt(_))break;if(++_,p=Yt(w.slice(0,_),!0),p.r||(p.r=Da({r:A-1,c:x})),S=w.slice(_),d={t:""},null!=(k=S.match(s))&&""!==k[1]&&(d.v=Jt(k[1])),c.cellFormula){if(null!=(k=S.match(i))&&""!==k[1]){if(d.f=Jt(dr(k[1])).replace(/\r\n/g,"\n"),c.xlfn||(d.f=Du(d.f)),k[0].indexOf('t="array"')>-1)d.F=(S.match(n)||[])[1],d.F.indexOf(":")>-1&&O.push([La(d.F),d.F]);else if(k[0].indexOf('t="shared"')>-1){b=Yt(k[0]);var V=Jt(dr(k[1]));c.xlfn||(V=Du(V)),N[parseInt(b.si,10)]=[b,V,p.r]}}else(k=S.match(/<f[^>]*\/>/))&&(b=Yt(k[0]),N[b.si]&&(d.f=Nu(N[b.si][1],N[b.si][2],p.r)));var G=Ia(p.r);for(_=0;_<O.length;++_)G.r>=O[_][0].s.r&&G.r<=O[_][0].e.r&&G.c>=O[_][0].s.c&&G.c<=O[_][0].e.c&&(d.F=O[_][1])}if(null==p.t&&void 0===d.v)if(d.f||d.F)d.v=0,d.t="n";else{if(!L)continue;d.t="z"}else d.t=p.t||"n";switch(f.s.c>x&&(f.s.c=x),f.e.c<x&&(f.e.c=x),d.t){case"n":if(""==d.v||null==d.v){if(!L)continue;d.t="z"}else d.v=parseFloat(d.v);break;case"s":if("undefined"==typeof d.v){if(!L)continue;d.t="z"}else m=Pd[parseInt(d.v,10)],d.v=m.t,d.r=m.r,c.cellHTML&&(d.h=m.h);break;case"str":d.t="s",d.v=null!=d.v?dr(d.v):"",c.cellHTML&&(d.h=nr(d.v));break;case"inlineStr":k=S.match(a),d.t="s",null!=k&&(m=Ml(k[1]))?(d.v=m.t,c.cellHTML&&(d.h=m.h)):d.v="";break;case"b":d.v=lr(d.v);break;case"d":c.cellDates?d.v=yt(d.v,1):(d.v=ut(yt(d.v,1)),d.t="n");break;case"e":c&&!1===c.cellText||(d.w=d.v),d.v=Xn[d.v];break}if(C=R=0,g=null,P&&void 0!==p.s&&(g=h.CellXf[p.s],null!=g&&(null!=g.numFmtId&&(C=g.numFmtId),c.cellStyles&&null!=g.fillId&&(R=g.fillId))),Ld(d,C,R,c,u,h),c.cellDates&&P&&"n"==d.t&&Be(q[C])&&(d.t="d",d.v=mt(d.v)),p.cm&&c.xlmeta){var $=(c.xlmeta.Cell||[])[+p.cm-1];$&&"XLDAPR"==$.type&&(d.D=!0)}if(I){var X=Ia(p.r);l[X.r]||(l[X.r]=[]),l[X.r][X.c]=d}else l[p.r]=d}}}}D.length>0&&(l["!rows"]=D)}}();function bp(e,t,r,a){var n,s,i=[],o=[],l=La(e["!ref"]),c="",f="",u=[],h=0,d=0,p=e["!rows"],m=Array.isArray(e),b={r:f},g=-1;for(d=l.s.c;d<=l.e.c;++d)u[d]=Ra(d);for(h=l.s.r;h<=l.e.r;++h){for(o=[],f=Sa(h),d=l.s.c;d<=l.e.c;++d){n=u[d]+f;var v=m?(e[h]||[])[d]:e[n];void 0!==v&&(null!=(c=pp(v,n,e,t,r,a))&&o.push(c))}(o.length>0||p&&p[h])&&(b={r:f},p&&p[h]&&(s=p[h],s.hidden&&(b.hidden=1),g=-1,s.hpx?g=Fc(s.hpx):s.hpt&&(g=s.hpt),g>-1&&(b.ht=g,b.customHeight=1),s.level&&(b.outlineLevel=s.level)),i[i.length]=Er("row",o.join(""),b))}if(p)for(;h<p.length;++h)p&&p[h]&&(b={r:h+1},s=p[h],s.hidden&&(b.hidden=1),g=-1,s.hpx?g=Fc(s.hpx):s.hpt&&(g=s.hpt),g>-1&&(b.ht=g,b.customHeight=1),s.level&&(b.outlineLevel=s.level),i[i.length]=Er("row","",b));return i.join("")}function gp(e,t,r,a){var n=[Wt,Er("worksheet",null,{xmlns:Pr[0],"xmlns:r":Rr.r})],s=r.SheetNames[e],i=0,o="",l=r.Sheets[s];null==l&&(l={});var c=l["!ref"]||"A1",f=La(c);if(f.e.c>16383||f.e.r>1048575){if(t.WTF)throw new Error("Range "+c+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383),f.e.r=Math.min(f.e.c,1048575),c=Ma(f)}a||(a={}),l["!comments"]=[];var u=[];ep(l,r,e,t,n),n[n.length]=Er("dimension",null,{ref:c}),n[n.length]=dp(l,t,e,r),t.sheetFormat&&(n[n.length]=Er("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(n[n.length]=lp(l,l["!cols"])),n[i=n.length]="<sheetData/>",l["!links"]=[],null!=l["!ref"]&&(o=bp(l,t,e,r,a),o.length>0&&(n[n.length]=o)),n.length>i+1&&(n[n.length]="</sheetData>",n[i]=n[i].replace("/>",">")),l["!protect"]&&(n[n.length]=ap(l["!protect"])),null!=l["!autofilter"]&&(n[n.length]=fp(l["!autofilter"],l,r,e)),null!=l["!merges"]&&l["!merges"].length>0&&(n[n.length]=qd(l["!merges"]));var h,d=-1,p=-1;return l["!links"].length>0&&(n[n.length]="<hyperlinks>",l["!links"].forEach((function(e){e[1].Target&&(h={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(p=as(a,-1,tr(e[1].Target).replace(/#.*$/,""),Qn.HLINK),h["r:id"]="rId"+p),(d=e[1].Target.indexOf("#"))>-1&&(h.location=tr(e[1].Target.slice(d+1))),e[1].Tooltip&&(h.tooltip=tr(e[1].Tooltip)),n[n.length]=Er("hyperlink",null,h))})),n[n.length]="</hyperlinks>"),delete l["!links"],null!=l["!margins"]&&(n[n.length]=ip(l["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(n[n.length]=Tr("ignoredErrors",Er("ignoredError",null,{numberStoredAsText:1,sqref:c}))),u.length>0&&(p=as(a,-1,"../drawings/drawing"+(e+1)+".xml",Qn.DRAW),n[n.length]=Er("drawing",null,{"r:id":"rId"+p}),l["!drawing"]=u),l["!comments"].length>0&&(p=as(a,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Qn.VML),n[n.length]=Er("legacyDrawing",null,{"r:id":"rId"+p}),l["!legacy"]=p),n.length>1&&(n[n.length]="</worksheet>",n[1]=n[1].replace("/>",">")),n.join("")}function vp(e,t){var r={},a=e.l+t;r.r=e.read_shift(4),e.l+=4;var n=e.read_shift(2);e.l+=1;var s=e.read_shift(1);return e.l=a,7&s&&(r.level=7&s),16&s&&(r.hidden=!0),32&s&&(r.hpt=n/20),r}function wp(e,t,r){var a=ba(145),n=(r["!rows"]||[])[e]||{};a.write_shift(4,e),a.write_shift(4,0);var s=320;n.hpx?s=20*Fc(n.hpx):n.hpt&&(s=20*n.hpt),a.write_shift(2,s),a.write_shift(1,0);var i=0;n.level&&(i|=n.level),n.hidden&&(i|=16),(n.hpx||n.hpt)&&(i|=32),a.write_shift(1,i),a.write_shift(1,0);var o=0,l=a.l;a.l+=4;for(var c={r:e,c:0},f=0;f<16;++f)if(!(t.s.c>f+1<<10||t.e.c<f<<10)){for(var u=-1,h=-1,d=f<<10;d<f+1<<10;++d){c.c=d;var p=Array.isArray(r)?(r[c.r]||[])[c.c]:r[Da(c)];p&&(u<0&&(u=d),h=d)}u<0||(++o,a.write_shift(4,u),a.write_shift(4,h))}var m=a.l;return a.l=l,a.write_shift(4,o),a.l=m,a.length>a.l?a.slice(0,a.l):a}function yp(e,t,r,a){var n=wp(a,r,t);(n.length>17||(t["!rows"]||[])[a])&&wa(e,0,n)}var kp=mn,Tp=bn;function _p(){}function Ep(e,t){var r={},a=e[e.l];return++e.l,r.above=!(64&a),r.left=!(128&a),e.l+=18,r.name=an(e,t-19),r}function Sp(e,t,r){null==r&&(r=ba(84+4*e.length));var a=192;t&&(t.above&&(a&=-65),t.left&&(a&=-129)),r.write_shift(1,a);for(var n=1;n<3;++n)r.write_shift(1,0);return yn({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),nn(e,r),r.slice(0,r.l)}function Ap(e){var t=Qa(e);return[t]}function xp(e,t,r){return null==r&&(r=ba(8)),en(t,r)}function Cp(e){var t=tn(e);return[t]}function Rp(e,t,r){return null==r&&(r=ba(4)),rn(t,r)}function Pp(e){var t=Qa(e),r=e.read_shift(1);return[t,r,"b"]}function Op(e,t,r){return null==r&&(r=ba(9)),en(t,r),r.write_shift(1,e.v?1:0),r}function Np(e){var t=tn(e),r=e.read_shift(1);return[t,r,"b"]}function Ip(e,t,r){return null==r&&(r=ba(5)),rn(t,r),r.write_shift(1,e.v?1:0),r}function Dp(e){var t=Qa(e),r=e.read_shift(1);return[t,r,"e"]}function Fp(e,t,r){return null==r&&(r=ba(9)),en(t,r),r.write_shift(1,e.v),r}function Mp(e){var t=tn(e),r=e.read_shift(1);return[t,r,"e"]}function Lp(e,t,r){return null==r&&(r=ba(8)),rn(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}function Bp(e){var t=Qa(e),r=e.read_shift(4);return[t,r,"s"]}function Up(e,t,r){return null==r&&(r=ba(12)),en(t,r),r.write_shift(4,t.v),r}function zp(e){var t=tn(e),r=e.read_shift(4);return[t,r,"s"]}function Wp(e,t,r){return null==r&&(r=ba(8)),rn(t,r),r.write_shift(4,t.v),r}function Hp(e){var t=Qa(e),r=gn(e);return[t,r,"n"]}function jp(e,t,r){return null==r&&(r=ba(16)),en(t,r),vn(e.v,r),r}function Vp(e){var t=tn(e),r=gn(e);return[t,r,"n"]}function Gp(e,t,r){return null==r&&(r=ba(12)),rn(t,r),vn(e.v,r),r}function $p(e){var t=Qa(e),r=un(e);return[t,r,"n"]}function Xp(e,t,r){return null==r&&(r=ba(12)),en(t,r),hn(e.v,r),r}function Yp(e){var t=tn(e),r=un(e);return[t,r,"n"]}function Kp(e,t,r){return null==r&&(r=ba(8)),rn(t,r),hn(e.v,r),r}function Zp(e){var t=Qa(e),r=Ka(e);return[t,r,"is"]}function qp(e){var t=Qa(e),r=Ga(e);return[t,r,"str"]}function Jp(e,t,r){return null==r&&(r=ba(12+4*e.v.length)),en(t,r),$a(e.v,r),r.length>r.l?r.slice(0,r.l):r}function Qp(e){var t=tn(e),r=Ga(e);return[t,r,"str"]}function em(e,t,r){return null==r&&(r=ba(8+4*e.v.length)),rn(t,r),$a(e.v,r),r.length>r.l?r.slice(0,r.l):r}function tm(e,t,r){var a=e.l+t,n=Qa(e);n.r=r["!row"];var s=e.read_shift(1),i=[n,s,"b"];if(r.cellFormula){e.l+=2;var o=yd(e,a-e.l,r);i[3]=cd(o,null,n,r.supbooks,r)}else e.l=a;return i}function rm(e,t,r){var a=e.l+t,n=Qa(e);n.r=r["!row"];var s=e.read_shift(1),i=[n,s,"e"];if(r.cellFormula){e.l+=2;var o=yd(e,a-e.l,r);i[3]=cd(o,null,n,r.supbooks,r)}else e.l=a;return i}function am(e,t,r){var a=e.l+t,n=Qa(e);n.r=r["!row"];var s=gn(e),i=[n,s,"n"];if(r.cellFormula){e.l+=2;var o=yd(e,a-e.l,r);i[3]=cd(o,null,n,r.supbooks,r)}else e.l=a;return i}function nm(e,t,r){var a=e.l+t,n=Qa(e);n.r=r["!row"];var s=Ga(e),i=[n,s,"str"];if(r.cellFormula){e.l+=2;var o=yd(e,a-e.l,r);i[3]=cd(o,null,n,r.supbooks,r)}else e.l=a;return i}var sm=mn,im=bn;function om(e,t){return null==t&&(t=ba(4)),t.write_shift(4,e),t}function lm(e,t){var r=e.l+t,a=mn(e,16),n=sn(e),s=Ga(e),i=Ga(e),o=Ga(e);e.l=r;var l={rfx:a,relId:n,loc:s,display:o};return i&&(l.Tooltip=i),l}function cm(e,t){var r=ba(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));bn({s:Ia(e[0]),e:Ia(e[0])},r),fn("rId"+t,r);var a=e[1].Target.indexOf("#"),n=-1==a?"":e[1].Target.slice(a+1);return $a(n||"",r),$a(e[1].Tooltip||"",r),$a("",r),r.slice(0,r.l)}function fm(){}function um(e,t,r){var a=e.l+t,n=dn(e,16),s=e.read_shift(1),i=[n];if(i[2]=s,r.cellFormula){var o=wd(e,a-e.l,r);i[1]=o}else e.l=a;return i}function hm(e,t,r){var a=e.l+t,n=mn(e,16),s=[n];if(r.cellFormula){var i=Td(e,a-e.l,r);s[1]=i,e.l=a}else e.l=a;return s}function dm(e,t,r){null==r&&(r=ba(18));var a=Dd(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,256*(a.width||10)),r.write_shift(4,0);var n=0;return t.hidden&&(n|=1),"number"==typeof a.width&&(n|=2),t.level&&(n|=t.level<<8),r.write_shift(2,n),r}var pm=["left","right","top","bottom","header","footer"];function mm(e){var t={};return pm.forEach((function(r){t[r]=gn(e,8)})),t}function bm(e,t){return null==t&&(t=ba(48)),Fd(e),pm.forEach((function(r){vn(e[r],t)})),t}function gm(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}function vm(e,t,r){null==r&&(r=ba(30));var a=924;return(((t||{}).Views||[])[0]||{}).RTL&&(a|=32),r.write_shift(2,a),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 wm(e){var t=ba(24);return t.write_shift(4,4),t.write_shift(4,1),bn(e,t),t}function ym(e,t){return null==t&&(t=ba(66)),t.write_shift(2,e.password?fc(e.password):0),t.write_shift(4,1),[["objects",!1],["scenarios",!1],["formatCells",!0],["formatColumns",!0],["formatRows",!0],["insertColumns",!0],["insertRows",!0],["insertHyperlinks",!0],["deleteColumns",!0],["deleteRows",!0],["selectLockedCells",!1],["sort",!0],["autoFilter",!0],["pivotTables",!0],["selectUnlockedCells",!1]].forEach((function(r){r[1]?t.write_shift(4,null==e[r[0]]||e[r[0]]?0:1):t.write_shift(4,null!=e[r[0]]&&e[r[0]]?0:1)})),t}function km(){}function Tm(){}function _m(e,t,r,a,n,s,i){if(!e)return e;var o=t||{};a||(a={"!id":{}}),null!=y&&null==o.dense&&(o.dense=y);var l,c,f,u,h,d,p,m,b,g,v=o.dense?[]:{},w={s:{r:2e6,c:2e6},e:{r:0,c:0}},k=[],T=!1,_=!1,E=[];o.biff=12,o["!row"]=0;var S=0,A=!1,x=[],C={},R=o.supbooks||n.supbooks||[[]];if(R.sharedf=C,R.arrayf=x,R.SheetNames=n.SheetNames||n.Sheets.map((function(e){return e.name})),!o.supbooks&&(o.supbooks=R,n.Names))for(var P=0;P<n.Names.length;++P)R[0][P+1]=n.Names[P];var O,N,I=[],D=[],F=!1;if(mg[16]={n:"BrtShortReal",f:Vp},ga(e,(function(e,t,y){if(!_)switch(y){case 148:l=e;break;case 0:c=e,o.sheetRows&&o.sheetRows<=c.r&&(_=!0),b=Sa(h=c.r),o["!row"]=c.r,(e.hidden||e.hpt||null!=e.level)&&(e.hpt&&(e.hpx=Mc(e.hpt)),D[e.r]=e);break;case 2:case 3:case 4:case 5:case 6:case 7:case 8:case 9:case 10:case 11:case 13:case 14:case 15:case 16:case 17:case 18:case 62:switch(f={t:e[2]},e[2]){case"n":f.v=e[1];break;case"s":m=Pd[e[1]],f.v=m.t,f.r=m.r;break;case"b":f.v=!!e[1];break;case"e":f.v=e[1],!1!==o.cellText&&(f.w=$n[f.v]);break;case"str":f.t="s",f.v=e[1];break;case"is":f.t="s",f.v=e[1].t;break}if((u=i.CellXf[e[0].iStyleRef])&&Ld(f,u.numFmtId,null,o,s,i),d=-1==e[0].c?d+1:e[0].c,o.dense?(v[h]||(v[h]=[]),v[h][d]=f):v[Ra(d)+b]=f,o.cellFormula){for(A=!1,S=0;S<x.length;++S){var P=x[S];c.r>=P[0].s.r&&c.r<=P[0].e.r&&d>=P[0].s.c&&d<=P[0].e.c&&(f.F=Ma(P[0]),A=!0)}!A&&e.length>3&&(f.f=e[3])}if(w.s.r>c.r&&(w.s.r=c.r),w.s.c>d&&(w.s.c=d),w.e.r<c.r&&(w.e.r=c.r),w.e.c<d&&(w.e.c=d),o.cellDates&&u&&"n"==f.t&&Be(q[u.numFmtId])){var M=te(f.v);M&&(f.t="d",f.v=new Date(M.y,M.m-1,M.d,M.H,M.M,M.S,M.u))}O&&("XLDAPR"==O.type&&(f.D=!0),O=void 0),N&&(N=void 0);break;case 1:case 12:if(!o.sheetStubs||T)break;f={t:"z",v:void 0},d=-1==e[0].c?d+1:e[0].c,o.dense?(v[h]||(v[h]=[]),v[h][d]=f):v[Ra(d)+b]=f,w.s.r>c.r&&(w.s.r=c.r),w.s.c>d&&(w.s.c=d),w.e.r<c.r&&(w.e.r=c.r),w.e.c<d&&(w.e.c=d),O&&("XLDAPR"==O.type&&(f.D=!0),O=void 0),N&&(N=void 0);break;case 176:E.push(e);break;case 49:O=((o.xlmeta||{}).Cell||[])[e-1];break;case 494:var L=a["!id"][e.relId];for(L?(e.Target=L.Target,e.loc&&(e.Target+="#"+e.loc),e.Rel=L):""==e.relId&&(e.Target="#"+e.loc),h=e.rfx.s.r;h<=e.rfx.e.r;++h)for(d=e.rfx.s.c;d<=e.rfx.e.c;++d)o.dense?(v[h]||(v[h]=[]),v[h][d]||(v[h][d]={t:"z",v:void 0}),v[h][d].l=e):(p=Da({c:d,r:h}),v[p]||(v[p]={t:"z",v:void 0}),v[p].l=e);break;case 426:if(!o.cellFormula)break;x.push(e),g=o.dense?v[h][d]:v[Ra(d)+b],g.f=cd(e[1],w,{r:c.r,c:d},R,o),g.F=Ma(e[0]);break;case 427:if(!o.cellFormula)break;C[Da(e[0].s)]=e[1],g=o.dense?v[h][d]:v[Ra(d)+b],g.f=cd(e[1],w,{r:c.r,c:d},R,o);break;case 60:if(!o.cellStyles)break;while(e.e>=e.s)I[e.e--]={width:e.w/256,hidden:!!(1&e.flags),level:e.level},F||(F=!0,Oc(e.w/256)),Nc(I[e.e+1]);break;case 161:v["!autofilter"]={ref:Ma(e)};break;case 476:v["!margins"]=e;break;case 147:n.Sheets[r]||(n.Sheets[r]={}),e.name&&(n.Sheets[r].CodeName=e.name),(e.above||e.left)&&(v["!outline"]={above:e.above,left:e.left});break;case 137:n.Views||(n.Views=[{}]),n.Views[0]||(n.Views[0]={}),e.RTL&&(n.Views[0].RTL=!0);break;case 485:break;case 64:case 1053:break;case 151:break;case 152:case 175:case 644:case 625:case 562:case 396:case 1112:case 1146:case 471:case 1050:case 649:case 1105:case 589:case 607:case 564:case 1055:case 168:case 174:case 1180:case 499:case 507:case 550:case 171:case 167:case 1177:case 169:case 1181:case 551:case 552:case 661:case 639:case 478:case 537:case 477:case 536:case 1103:case 680:case 1104:case 1024:case 663:case 535:case 678:case 504:case 1043:case 428:case 170:case 3072:case 50:case 2070:case 1045:break;case 35:T=!0;break;case 36:T=!1;break;case 37:k.push(y),T=!0;break;case 38:k.pop(),T=!1;break;default:if(t.T);else if(!T||o.WTF)throw new Error("Unexpected record 0x"+y.toString(16))}}),o),delete o.supbooks,delete o["!row"],!v["!ref"]&&(w.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0))&&(v["!ref"]=Ma(l||w)),o.sheetRows&&v["!ref"]){var M=La(v["!ref"]);o.sheetRows<=+M.e.r&&(M.e.r=o.sheetRows-1,M.e.r>w.e.r&&(M.e.r=w.e.r),M.e.r<M.s.r&&(M.s.r=M.e.r),M.e.c>w.e.c&&(M.e.c=w.e.c),M.e.c<M.s.c&&(M.s.c=M.e.c),v["!fullref"]=v["!ref"],v["!ref"]=Ma(M))}return E.length>0&&(v["!merges"]=E),I.length>0&&(v["!cols"]=I),D.length>0&&(v["!rows"]=D),v}function Em(e,t,r,a,n,s,i){if(void 0===t.v)return!1;var o="";switch(t.t){case"b":o=t.v?"1":"0";break;case"d":t=Tt(t),t.z=t.z||q[14],t.v=ut(yt(t.v)),t.t="n";break;case"n":case"e":o=""+t.v;break;default:o=t.v;break}var l={r:r,c:a};switch(l.s=Md(n.cellXfs,t,n),t.l&&s["!links"].push([Da(l),t.l]),t.c&&s["!comments"].push([Da(l),t.c]),t.t){case"s":case"str":return n.bookSST?(o=Id(n.Strings,t.v,n.revStrings),l.t="s",l.v=o,i?wa(e,18,Wp(t,l)):wa(e,7,Up(t,l))):(l.t="str",i?wa(e,17,em(t,l)):wa(e,6,Jp(t,l))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?i?wa(e,13,Kp(t,l)):wa(e,2,Xp(t,l)):i?wa(e,16,Gp(t,l)):wa(e,5,jp(t,l)),!0;case"b":return l.t="b",i?wa(e,15,Ip(t,l)):wa(e,4,Op(t,l)),!0;case"e":return l.t="e",i?wa(e,14,Lp(t,l)):wa(e,3,Fp(t,l)),!0}return i?wa(e,12,Rp(t,l)):wa(e,1,xp(t,l)),!0}function Sm(e,t,r,a){var n,s=La(t["!ref"]||"A1"),i="",o=[];wa(e,145);var l=Array.isArray(t),c=s.e.r;t["!rows"]&&(c=Math.max(s.e.r,t["!rows"].length-1));for(var f=s.s.r;f<=c;++f){i=Sa(f),yp(e,t,s,f);var u=!1;if(f<=s.e.r)for(var h=s.s.c;h<=s.e.c;++h){f===s.s.r&&(o[h]=Ra(h)),n=o[h]+i;var d=l?(t[f]||[])[h]:t[n];d?u=Em(e,d,f,h,a,t,u):u=!1}}wa(e,146)}function Am(e,t){t&&t["!merges"]&&(wa(e,177,om(t["!merges"].length)),t["!merges"].forEach((function(t){wa(e,176,im(t))})),wa(e,178))}function xm(e,t){t&&t["!cols"]&&(wa(e,390),t["!cols"].forEach((function(t,r){t&&wa(e,60,dm(r,t))})),wa(e,391))}function Cm(e,t){t&&t["!ref"]&&(wa(e,648),wa(e,649,wm(La(t["!ref"]))),wa(e,650))}function Rm(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var a=as(r,-1,t[1].Target.replace(/#.*$/,""),Qn.HLINK);wa(e,494,cm(t,a))}})),delete t["!links"]}function Pm(e,t,r,a){if(t["!comments"].length>0){var n=as(a,-1,"../drawings/vmlDrawing"+(r+1)+".vml",Qn.VML);wa(e,551,fn("rId"+n)),t["!legacy"]=n}}function Om(e,t,r,a){if(t["!autofilter"]){var n=t["!autofilter"],s="string"===typeof n.ref?n.ref:Ma(n.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,o=Fa(s);o.s.r==o.e.r&&(o.e.r=Fa(t["!ref"]).e.r,s=Ma(o));for(var l=0;l<i.length;++l){var c=i[l];if("_xlnm._FilterDatabase"==c.Name&&c.Sheet==a){c.Ref="'"+r.SheetNames[a]+"'!"+s;break}}l==i.length&&i.push({Name:"_xlnm._FilterDatabase",Sheet:a,Ref:"'"+r.SheetNames[a]+"'!"+s}),wa(e,161,bn(La(s))),wa(e,162)}}function Nm(e,t,r){wa(e,133),wa(e,137,vm(t,r)),wa(e,138),wa(e,134)}function Im(){}function Dm(e,t){t["!protect"]&&wa(e,535,ym(t["!protect"]))}function Fm(e,t,r,a){var n=va(),s=r.SheetNames[e],i=r.Sheets[s]||{},o=s;try{r&&r.Workbook&&(o=r.Workbook.Sheets[e].CodeName||o)}catch(c){}var l=La(i["!ref"]||"A1");if(l.e.c>16383||l.e.r>1048575){if(t.WTF)throw new Error("Range "+(i["!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 i["!links"]=[],i["!comments"]=[],wa(n,129),(r.vbaraw||i["!outline"])&&wa(n,147,Sp(o,i["!outline"])),wa(n,148,Tp(l)),Nm(n,i,r.Workbook),Im(n,i),xm(n,i,e,t,r),Sm(n,i,e,t,r),Dm(n,i),Om(n,i,r,e),Am(n,i),Rm(n,i,a),i["!margins"]&&wa(n,476,bm(i["!margins"])),t&&!t.ignoreEC&&void 0!=t.ignoreEC||Cm(n,i),Pm(n,i,e,a),wa(n,130),n.end()}function Mm(e){var t,r=[],a=e.match(/^<c:numCache>/);(e.match(/<c:pt idx="(\d*)">(.*?)<\/c:pt>/gm)||[]).forEach((function(e){var t=e.match(/<c:pt idx="(\d*?)"><c:v>(.*)<\/c:v><\/c:pt>/);t&&(r[+t[1]]=a?+t[2]:t[2])}));var n=Jt((e.match(/<c:formatCode>([\s\S]*?)<\/c:formatCode>/)||["","General"])[1]);return(e.match(/<c:f>(.*?)<\/c:f>/gm)||[]).forEach((function(e){t=e.replace(/<.*?>/g,"")})),[r,n,t]}function Lm(e,t,r,a,n,s){var i=s||{"!type":"chart"};if(!e)return s;var o=0,l=0,c="A",f={s:{r:2e6,c:2e6},e:{r:0,c:0}};return(e.match(/<c:numCache>[\s\S]*?<\/c:numCache>/gm)||[]).forEach((function(e){var t=Mm(e);f.s.r=f.s.c=0,f.e.c=o,c=Ra(o),t[0].forEach((function(e,r){i[c+Sa(r)]={t:"n",v:e,z:t[1]},l=r})),f.e.r<l&&(f.e.r=l),++o})),o>0&&(i["!ref"]=Ma(f)),i}function Bm(e,t,r,a,n){if(!e)return e;a||(a={"!id":{}});var s,i={"!type":"chart","!drawel":null,"!rel":""},o=e.match(Xd);return o&&Jd(o[0],i,n,r),(s=e.match(/drawing r:id="(.*?)"/))&&(i["!rel"]=s[1]),a["!id"][i["!rel"]]&&(i["!drawel"]=a["!id"][i["!rel"]]),i}function Um(e,t){e.l+=10;var r=Ga(e,t-10);return{name:r}}function zm(e,t,r,a,n){if(!e)return e;a||(a={"!id":{}});var s={"!type":"chart","!drawel":null,"!rel":""},i=[],o=!1;return ga(e,(function(e,a,l){switch(l){case 550:s["!rel"]=e;break;case 651:n.Sheets[r]||(n.Sheets[r]={}),e.name&&(n.Sheets[r].CodeName=e.name);break;case 562:case 652:case 669:case 679:case 551:case 552:case 476:case 3072:break;case 35:o=!0;break;case 36:o=!1;break;case 37:i.push(l);break;case 38:i.pop();break;default:if(a.T>0)i.push(l);else if(a.T<0)i.pop();else if(!o||t.WTF)throw new Error("Unexpected record 0x"+l.toString(16))}}),t),a["!id"][s["!rel"]]&&(s["!drawel"]=a["!id"][s["!rel"]]),s}var Wm=[["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"]],Hm=[["activeTab",0,"int"],["autoFilterDateGrouping",!0,"bool"],["firstSheet",0,"int"],["minimized",!1,"bool"],["showHorizontalScroll",!0,"bool"],["showSheetTabs",!0,"bool"],["showVerticalScroll",!0,"bool"],["tabRatio",600,"int"],["visibility","visible"]],jm=[],Vm=[["calcCompleted","true"],["calcMode","auto"],["calcOnSave","true"],["concurrentCalc","true"],["fullCalcOnLoad","false"],["fullPrecision","true"],["iterate","false"],["iterateCount","100"],["iterateDelta","0.001"],["refMode","A1"]];function Gm(e,t){for(var r=0;r!=e.length;++r)for(var a=e[r],n=0;n!=t.length;++n){var s=t[n];if(null==a[s[0]])a[s[0]]=s[1];else switch(s[2]){case"bool":"string"==typeof a[s[0]]&&(a[s[0]]=lr(a[s[0]]));break;case"int":"string"==typeof a[s[0]]&&(a[s[0]]=parseInt(a[s[0]],10));break}}}function $m(e,t){for(var r=0;r!=t.length;++r){var a=t[r];if(null==e[a[0]])e[a[0]]=a[1];else switch(a[2]){case"bool":"string"==typeof e[a[0]]&&(e[a[0]]=lr(e[a[0]]));break;case"int":"string"==typeof e[a[0]]&&(e[a[0]]=parseInt(e[a[0]],10));break}}}function Xm(e){$m(e.WBProps,Wm),$m(e.CalcPr,Vm),Gm(e.WBView,Hm),Gm(e.Sheets,jm),Od.date1904=lr(e.WBProps.date1904)}function Ym(e){return e.Workbook&&e.Workbook.WBProps&&lr(e.Workbook.WBProps.date1904)?"true":"false"}var Km="][*?/\\".split("");function Zm(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return Km.forEach((function(a){if(-1!=e.indexOf(a)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}function qm(e,t,r){e.forEach((function(a,n){Zm(a);for(var s=0;s<n;++s)if(a==e[s])throw new Error("Duplicate Sheet Name: "+a);if(r){var i=t&&t[n]&&t[n].CodeName||a;if(95==i.charCodeAt(0)&&i.length>22)throw new Error("Bad Code Name: Worksheet"+i)}}))}function Jm(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||[];qm(e.SheetNames,t,!!e.vbaraw);for(var r=0;r<e.SheetNames.length;++r)Bd(e.Sheets[e.SheetNames[r]],e.SheetNames[r],r)}var Qm=/<\w+:workbook/;function eb(e,t){if(!e)throw new Error("Could not find file");var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:""},a=!1,n="xmlns",s={},i=0;if(e.replace(Gt,(function(o,l){var c=Yt(o);switch(Kt(c[0])){case"<?xml":break;case"<workbook":o.match(Qm)&&(n="xmlns"+o.match(/<(\w+):/)[1]),r.xmlns=c[n];break;case"</workbook>":break;case"<fileVersion":delete c[0],r.AppVersion=c;break;case"<fileVersion/>":case"</fileVersion>":break;case"<fileSharing":break;case"<fileSharing/>":break;case"<workbookPr":case"<workbookPr/>":Wm.forEach((function(e){if(null!=c[e[0]])switch(e[2]){case"bool":r.WBProps[e[0]]=lr(c[e[0]]);break;case"int":r.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:r.WBProps[e[0]]=c[e[0]]}})),c.codeName&&(r.WBProps.CodeName=dr(c.codeName));break;case"</workbookPr>":break;case"<workbookProtection":break;case"<workbookProtection/>":break;case"<bookViews":case"<bookViews>":case"</bookViews>":break;case"<workbookView":case"<workbookView/>":delete c[0],r.WBView.push(c);break;case"</workbookView>":break;case"<sheets":case"<sheets>":case"</sheets>":break;case"<sheet":switch(c.state){case"hidden":c.Hidden=1;break;case"veryHidden":c.Hidden=2;break;default:c.Hidden=0}delete c.state,c.name=Jt(dr(c.name)),delete c[0],r.Sheets.push(c);break;case"</sheet>":break;case"<functionGroups":case"<functionGroups/>":break;case"<functionGroup":break;case"<externalReferences":case"</externalReferences>":case"<externalReferences>":break;case"<externalReference":break;case"<definedNames/>":break;case"<definedNames>":case"<definedNames":a=!0;break;case"</definedNames>":a=!1;break;case"<definedName":s={},s.Name=dr(c.name),c.comment&&(s.Comment=c.comment),c.localSheetId&&(s.Sheet=+c.localSheetId),lr(c.hidden||"0")&&(s.Hidden=!0),i=l+o.length;break;case"</definedName>":s.Ref=Jt(dr(e.slice(i,l))),r.Names.push(s);break;case"<definedName/>":break;case"<calcPr":delete c[0],r.CalcPr=c;break;case"<calcPr/>":delete c[0],r.CalcPr=c;break;case"</calcPr>":break;case"<oleSize":break;case"<customWorkbookViews>":case"</customWorkbookViews>":case"<customWorkbookViews":break;case"<customWorkbookView":case"</customWorkbookView>":break;case"<pivotCaches>":case"</pivotCaches>":case"<pivotCaches":break;case"<pivotCache":break;case"<smartTagPr":case"<smartTagPr/>":break;case"<smartTagTypes":case"<smartTagTypes>":case"</smartTagTypes>":break;case"<smartTagType":break;case"<webPublishing":case"<webPublishing/>":break;case"<fileRecoveryPr":case"<fileRecoveryPr/>":break;case"<webPublishObjects>":case"<webPublishObjects":case"</webPublishObjects>":break;case"<webPublishObject":break;case"<extLst":case"<extLst>":case"</extLst>":case"<extLst/>":break;case"<ext":a=!0;break;case"</ext>":a=!1;break;case"<ArchID":break;case"<AlternateContent":case"<AlternateContent>":a=!0;break;case"</AlternateContent>":a=!1;break;case"<revisionPtr":break;default:if(!a&&t.WTF)throw new Error("unrecognized "+c[0]+" in workbook")}return o})),-1===Pr.indexOf(r.xmlns))throw new Error("Unknown Namespace: "+r.xmlns);return Xm(r),r}function tb(e){var t=[Wt];t[t.length]=Er("workbook",null,{xmlns:Pr[0],"xmlns:r":Rr.r});var r=e.Workbook&&(e.Workbook.Names||[]).length>0,a={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(Wm.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(a[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(a.codeName=e.Workbook.WBProps.CodeName,delete a.CodeName)),t[t.length]=Er("workbookPr",null,a);var n=e.Workbook&&e.Workbook.Sheets||[],s=0;if(n&&n[0]&&n[0].Hidden){for(t[t.length]="<bookViews>",s=0;s!=e.SheetNames.length;++s){if(!n[s])break;if(!n[s].Hidden)break}s==e.SheetNames.length&&(s=0),t[t.length]='<workbookView firstSheet="'+s+'" activeTab="'+s+'"/>',t[t.length]="</bookViews>"}for(t[t.length]="<sheets>",s=0;s!=e.SheetNames.length;++s){var i={name:tr(e.SheetNames[s].slice(0,31))};if(i.sheetId=""+(s+1),i["r:id"]="rId"+(s+1),n[s])switch(n[s].Hidden){case 1:i.state="hidden";break;case 2:i.state="veryHidden";break}t[t.length]=Er("sheet",null,i)}return t[t.length]="</sheets>",r&&(t[t.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach((function(e){var r={name:e.Name};e.Comment&&(r.comment=e.Comment),null!=e.Sheet&&(r.localSheetId=""+e.Sheet),e.Hidden&&(r.hidden="1"),e.Ref&&(t[t.length]=Er("definedName",tr(e.Ref),r))})),t[t.length]="</definedNames>"),t.length>2&&(t[t.length]="</workbook>",t[1]=t[1].replace("/>",">")),t.join("")}function rb(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=cn(e,t-8),r.name=Ga(e),r}function ab(e,t){return t||(t=ba(127)),t.write_shift(4,e.Hidden),t.write_shift(4,e.iTabID),fn(e.strRelID,t),$a(e.name.slice(0,31),t),t.length>t.l?t.slice(0,t.l):t}function nb(e,t){var r={},a=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var n=t>8?Ga(e):"";return n.length>0&&(r.CodeName=n),r.autoCompressPictures=!!(65536&a),r.backupFile=!!(64&a),r.checkCompatibility=!!(4096&a),r.date1904=!!(1&a),r.filterPrivacy=!!(8&a),r.hidePivotFieldList=!!(1024&a),r.promptedSolutions=!!(16&a),r.publishItems=!!(2048&a),r.refreshAllConnections=!!(262144&a),r.saveExternalLinkValues=!!(128&a),r.showBorderUnselectedTables=!!(4&a),r.showInkAnnotation=!!(32&a),r.showObjects=["all","placeholders","none"][a>>13&3],r.showPivotChartFilter=!!(32768&a),r.updateLinks=["userSet","never","always"][a>>8&3],r}function sb(e,t){t||(t=ba(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),nn(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}function ib(e,t){var r={};return e.read_shift(4),r.ArchID=e.read_shift(4),e.l+=t-8,r}function ob(e,t,r){var a=e.l+t;e.l+=4,e.l+=1;var n=e.read_shift(4),s=ln(e),i=kd(e,0,r),o=sn(e);e.l=a;var l={Name:s,Ptg:i};return n<268435455&&(l.Sheet=n),o&&(l.Comment=o),l}function lb(e,t){var r={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:""},a=[],n=!1;t||(t={}),t.biff=12;var s=[],i=[[]];return i.SheetNames=[],i.XTI=[],mg[16]={n:"BrtFRTArchID$",f:ib},ga(e,(function(e,o,l){switch(l){case 156:i.SheetNames.push(e.name),r.Sheets.push(e);break;case 153:r.WBProps=e;break;case 39:null!=e.Sheet&&(t.SID=e.Sheet),e.Ref=cd(e.Ptg,null,null,i,t),delete t.SID,delete e.Ptg,s.push(e);break;case 1036:break;case 357:case 358:case 355:case 667:i[0].length?i.push([l,e]):i[0]=[l,e],i[i.length-1].XTI=[];break;case 362:0===i.length&&(i[0]=[],i[0].XTI=[]),i[i.length-1].XTI=i[i.length-1].XTI.concat(e),i.XTI=i.XTI.concat(e);break;case 361:break;case 2071:case 158:case 143:case 664:case 353:break;case 3072:case 3073:case 534:case 677:case 157:case 610:case 2050:case 155:case 548:case 676:case 128:case 665:case 2128:case 2125:case 549:case 2053:case 596:case 2076:case 2075:case 2082:case 397:case 154:case 1117:case 553:case 2091:break;case 35:a.push(l),n=!0;break;case 36:a.pop(),n=!1;break;case 37:a.push(l),n=!0;break;case 38:a.pop(),n=!1;break;case 16:break;default:if(o.T);else if(!n||t.WTF&&37!=a[a.length-1]&&35!=a[a.length-1])throw new Error("Unexpected record 0x"+l.toString(16))}}),t),Xm(r),r.Names=s,r.supbooks=i,r}function cb(e,t){wa(e,143);for(var r=0;r!=t.SheetNames.length;++r){var a=t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,n={Hidden:a,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]};wa(e,156,ab(n))}wa(e,144)}function fb(e,t){t||(t=ba(127));for(var r=0;4!=r;++r)t.write_shift(4,0);return $a("SheetJS",t),$a(a.version,t),$a(a.version,t),$a("7262",t),t.length>t.l?t.slice(0,t.l):t}function ub(e,t){t||(t=ba(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 hb(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r=t.Workbook.Sheets,a=0,n=-1,s=-1;a<r.length;++a)!r[a]||!r[a].Hidden&&-1==n?n=a:1==r[a].Hidden&&-1==s&&(s=a);s>n||(wa(e,135),wa(e,158,ub(n)),wa(e,136))}}function db(e,t){var r=va();return wa(r,131),wa(r,128,fb()),wa(r,153,sb(e.Workbook&&e.Workbook.WBProps||null)),hb(r,e,t),cb(r,e,t),wa(r,132),r.end()}function pb(e,t,r){return".bin"===t.slice(-4)?lb(e,r):eb(e,r)}function mb(e,t,r,a,n,s,i,o){return".bin"===t.slice(-4)?_m(e,a,r,n,s,i,o):Zd(e,a,r,n,s,i,o)}function bb(e,t,r,a,n,s,i,o){return".bin"===t.slice(-4)?zm(e,a,r,n,s,i,o):Bm(e,a,r,n,s,i,o)}function gb(e,t,r,a,n,s,i,o){return".bin"===t.slice(-4)?Au(e,a,r,n,s,i,o):xu(e,a,r,n,s,i,o)}function vb(e,t,r,a,n,s,i,o){return".bin"===t.slice(-4)?Eu(e,a,r,n,s,i,o):Su(e,a,r,n,s,i,o)}function wb(e,t,r,a){return".bin"===t.slice(-4)?uf(e,r,a):Xc(e,r,a)}function yb(e,t,r){return Nf(e,r)}function kb(e,t,r){return".bin"===t.slice(-4)?Vl(e,r):zl(e,r)}function Tb(e,t,r){return".bin"===t.slice(-4)?vu(e,r):lu(e,r)}function _b(e,t,r){return".bin"===t.slice(-4)?tu(e,t,r):Qf(e,t,r)}function Eb(e,t,r,a){return".bin"===r.slice(-4)?au(e,t,r,a):ru(e,t,r,a)}function Sb(e,t,r){return".bin"===t.slice(-4)?Kf(e,t,r):qf(e,t,r)}function Ab(e,t,r){return(".bin"===t.slice(-4)?db:tb)(e,r)}function xb(e,t,r,a,n){return(".bin"===t.slice(-4)?Fm:gp)(e,r,a,n)}function Cb(e,t,r){return(".bin"===t.slice(-4)?Tf:Yc)(e,r)}function Rb(e,t,r){return(".bin"===t.slice(-4)?Xl:Hl)(e,r)}function Pb(e,t,r){return(".bin"===t.slice(-4)?wu:cu)(e,r)}function Ob(e){return(".bin"===e.slice(-4)?Zf:Jf)()}var Nb,Ib=/([\w:]+)=((?:")([^"]*)(?:")|(?:')([^']*)(?:'))/g,Db=/([\w:]+)=((?:")(?:[^"]*)(?:")|(?:')(?:[^']*)(?:'))/;function Fb(e,t){var r=e.split(/\s+/),a=[];if(t||(a[0]=r[0]),1===r.length)return a;var n,s,i,o,l=e.match(Ib);if(l)for(o=0;o!=l.length;++o)n=l[o].match(Db),-1===(s=n[1].indexOf(":"))?a[n[1]]=n[2].slice(1,n[2].length-1):(i="xmlns:"===n[1].slice(0,6)?"xmlns"+n[1].slice(6):n[1].slice(s+1),a[i]=n[2].slice(1,n[2].length-1));return a}function Mb(e){var t=e.split(/\s+/),r={};if(1===t.length)return r;var a,n,s,i,o=e.match(Ib);if(o)for(i=0;i!=o.length;++i)a=o[i].match(Db),-1===(n=a[1].indexOf(":"))?r[a[1]]=a[2].slice(1,a[2].length-1):(s="xmlns:"===a[1].slice(0,6)?"xmlns"+a[1].slice(6):a[1].slice(n+1),r[s]=a[2].slice(1,a[2].length-1));return r}function Lb(e,t){var r=Nb[e]||Jt(e);return"General"===r?ue(t):je(r,t)}function Bb(e,t,r,a){var n=a;switch((r[0].match(/dt:dt="([\w.]+)"/)||["",""])[1]){case"boolean":n=lr(a);break;case"i2":case"int":n=parseInt(a,10);break;case"r4":case"float":n=parseFloat(a);break;case"date":case"dateTime.tz":n=yt(a);break;case"i8":case"string":case"fixed":case"uuid":case"bin.base64":break;default:throw new Error("bad custprop:"+r[0])}e[Jt(t)]=n}function Ub(e,t,r){if("z"!==e.t){if(!r||!1!==r.cellText)try{"e"===e.t?e.w=e.w||$n[e.v]:"General"===t?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=fe(e.v):e.w=ue(e.v):e.w=Lb(t||"General",e.v)}catch(s){if(r.WTF)throw s}try{var a=Nb[t]||t||"General";if(r.cellNF&&(e.z=a),r.cellDates&&"n"==e.t&&Be(a)){var n=te(e.v);n&&(e.t="d",e.v=new Date(n.y,n.m-1,n.d,n.H,n.M,n.S,n.u))}}catch(s){if(r.WTF)throw s}}}function zb(e,t,r){if(r.cellStyles&&t.Interior){var a=t.Interior;a.Pattern&&(a.patternType=Lc[a.Pattern]||a.Pattern)}e[t.ID]=t}function Wb(e,t,r,a,n,s,i,o,l,c){var f="General",u=a.StyleID,h={};c=c||{};var d=[],p=0;void 0===u&&o&&(u=o.StyleID),void 0===u&&i&&(u=i.StyleID);while(void 0!==s[u]){if(s[u].nf&&(f=s[u].nf),s[u].Interior&&d.push(s[u].Interior),!s[u].Parent)break;u=s[u].Parent}switch(r.Type){case"Boolean":a.t="b",a.v=lr(e);break;case"String":a.t="s",a.r=ir(Jt(e)),a.v=e.indexOf("<")>-1?Jt(t||e).replace(/<.*?>/g,""):a.r;break;case"DateTime":"Z"!=e.slice(-1)&&(e+="Z"),a.v=(yt(e)-new Date(Date.UTC(1899,11,30)))/864e5,a.v!==a.v?a.v=Jt(e):a.v<60&&(a.v=a.v-1),f&&"General"!=f||(f="yyyy-mm-dd");case"Number":void 0===a.v&&(a.v=+e),a.t||(a.t="n");break;case"Error":a.t="e",a.v=Xn[e],!1!==c.cellText&&(a.w=e);break;default:""==e&&""==t?a.t="z":(a.t="s",a.v=ir(t||e));break}if(Ub(a,f,c),!1!==c.cellFormula)if(a.Formula){var m=Jt(a.Formula);61==m.charCodeAt(0)&&(m=m.slice(1)),a.f=Cu(m,n),delete a.Formula,"RC"==a.ArrayRange?a.F=Cu("RC:RC",n):a.ArrayRange&&(a.F=Cu(a.ArrayRange,n),l.push([La(a.F),a.F]))}else for(p=0;p<l.length;++p)n.r>=l[p][0].s.r&&n.r<=l[p][0].e.r&&n.c>=l[p][0].s.c&&n.c<=l[p][0].e.c&&(a.F=l[p][1]);c.cellStyles&&(d.forEach((function(e){!h.patternType&&e.patternType&&(h.patternType=e.patternType)})),a.s=h),void 0!==a.StyleID&&(a.ixfe=a.StyleID)}function Hb(e){e.t=e.v||"",e.t=e.t.replace(/\r\n/g,"\n").replace(/\r/g,"\n"),e.v=e.w=e.ixfe=void 0}function jb(e,t){var r=t||{};$e();var a=b(xr(e));"binary"!=r.type&&"array"!=r.type&&"base64"!=r.type||(a="undefined"!==typeof m?m.utils.decode(65001,h(a)):dr(a));var n,s=a.slice(0,1024).toLowerCase(),i=!1;if(s=s.replace(/".*?"/g,""),(1023&s.indexOf(">"))>Math.min(1023&s.indexOf(","),1023&s.indexOf(";"))){var o=Tt(r);return o.type="string",xl.to_workbook(a,o)}if(-1==s.indexOf("<?xml")&&["html","table","head","meta","script","style","div"].forEach((function(e){s.indexOf("<"+e)>=0&&(i=!0)})),i)return zg(a,r);Nb={"General Number":"General","General Date":q[22],"Long Date":"dddd, mmmm dd, yyyy","Medium Date":q[15],"Short Date":q[14],"Long Time":q[19],"Medium Time":q[18],"Short Time":q[20],Currency:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',Fixed:q[2],Standard:q[4],Percent:q[10],Scientific:q[11],"Yes/No":'"Yes";"Yes";"No";@',"True/False":'"True";"True";"False";@',"On/Off":'"Yes";"Yes";"No";@'};var l,c=[];null!=y&&null==r.dense&&(r.dense=y);var f,u={},d=[],p=r.dense?[]:{},g="",v={},w={},k=Fb('<Data ss:Type="String">'),T=0,_=0,E=0,S={s:{r:2e6,c:2e6},e:{r:0,c:0}},A={},x={},C="",R=0,P=[],O={},N={},I=0,D=[],F=[],M={},L=[],B=!1,U=[],z=[],W={},H=0,j=0,V={Sheets:[],WBProps:{date1904:!1}},G={};Cr.lastIndex=0,a=a.replace(/<!--([\s\S]*?)-->/gm,"");var $="";while(n=Cr.exec(a))switch(n[3]=($=n[3]).toLowerCase()){case"data":if("data"==$){if("/"===n[1]){if((l=c.pop())[0]!==n[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==n[0].charAt(n[0].length-2)&&c.push([n[3],!0]);break}if(c[c.length-1][1])break;"/"===n[1]?Wb(a.slice(T,n.index),C,k,"comment"==c[c.length-1][0]?M:v,{c:_,r:E},A,L[_],w,U,r):(C="",k=Fb(n[0]),T=n.index+n[0].length);break;case"cell":if("/"===n[1])if(F.length>0&&(v.c=F),(!r.sheetRows||r.sheetRows>E)&&void 0!==v.v&&(r.dense?(p[E]||(p[E]=[]),p[E][_]=v):p[Ra(_)+Sa(E)]=v),v.HRef&&(v.l={Target:Jt(v.HRef)},v.HRefScreenTip&&(v.l.Tooltip=v.HRefScreenTip),delete v.HRef,delete v.HRefScreenTip),(v.MergeAcross||v.MergeDown)&&(H=_+(0|parseInt(v.MergeAcross,10)),j=E+(0|parseInt(v.MergeDown,10)),P.push({s:{c:_,r:E},e:{c:H,r:j}})),r.sheetStubs)if(v.MergeAcross||v.MergeDown){for(var X=_;X<=H;++X)for(var Y=E;Y<=j;++Y)(X>_||Y>E)&&(r.dense?(p[Y]||(p[Y]=[]),p[Y][X]={t:"z"}):p[Ra(X)+Sa(Y)]={t:"z"});_=H+1}else++_;else v.MergeAcross?_=H+1:++_;else v=Mb(n[0]),v.Index&&(_=+v.Index-1),_<S.s.c&&(S.s.c=_),_>S.e.c&&(S.e.c=_),"/>"===n[0].slice(-2)&&++_,F=[];break;case"row":"/"===n[1]||"/>"===n[0].slice(-2)?(E<S.s.r&&(S.s.r=E),E>S.e.r&&(S.e.r=E),"/>"===n[0].slice(-2)&&(w=Fb(n[0]),w.Index&&(E=+w.Index-1)),_=0,++E):(w=Fb(n[0]),w.Index&&(E=+w.Index-1),W={},("0"==w.AutoFitHeight||w.Height)&&(W.hpx=parseInt(w.Height,10),W.hpt=Fc(W.hpx),z[E]=W),"1"==w.Hidden&&(W.hidden=!0,z[E]=W));break;case"worksheet":if("/"===n[1]){if((l=c.pop())[0]!==n[3])throw new Error("Bad state: "+l.join("|"));d.push(g),S.s.r<=S.e.r&&S.s.c<=S.e.c&&(p["!ref"]=Ma(S),r.sheetRows&&r.sheetRows<=S.e.r&&(p["!fullref"]=p["!ref"],S.e.r=r.sheetRows-1,p["!ref"]=Ma(S))),P.length&&(p["!merges"]=P),L.length>0&&(p["!cols"]=L),z.length>0&&(p["!rows"]=z),u[g]=p}else S={s:{r:2e6,c:2e6},e:{r:0,c:0}},E=_=0,c.push([n[3],!1]),l=Fb(n[0]),g=Jt(l.Name),p=r.dense?[]:{},P=[],U=[],z=[],G={name:g,Hidden:0},V.Sheets.push(G);break;case"table":if("/"===n[1]){if((l=c.pop())[0]!==n[3])throw new Error("Bad state: "+l.join("|"))}else{if("/>"==n[0].slice(-2))break;c.push([n[3],!1]),L=[],B=!1}break;case"style":"/"===n[1]?zb(A,x,r):x=Fb(n[0]);break;case"numberformat":x.nf=Jt(Fb(n[0]).Format||"General"),Nb[x.nf]&&(x.nf=Nb[x.nf]);for(var K=0;392!=K;++K)if(q[K]==x.nf)break;if(392==K)for(K=57;392!=K;++K)if(null==q[K]){Ve(x.nf,K);break}break;case"column":if("table"!==c[c.length-1][0])break;if(f=Fb(n[0]),f.Hidden&&(f.hidden=!0,delete f.Hidden),f.Width&&(f.wpx=parseInt(f.Width,10)),!B&&f.wpx>10){B=!0,Ac=_c;for(var Z=0;Z<L.length;++Z)L[Z]&&Nc(L[Z])}B&&Nc(f),L[f.Index-1||L.length]=f;for(var J=0;J<+f.Span;++J)L[L.length]=Tt(f);break;case"namedrange":if("/"===n[1])break;V.Names||(V.Names=[]);var Q=Yt(n[0]),ee={Name:Q.Name,Ref:Cu(Q.RefersTo.slice(1),{r:0,c:0})};V.Sheets.length>0&&(ee.Sheet=V.Sheets.length-1),V.Names.push(ee);break;case"namedcell":break;case"b":break;case"i":break;case"u":break;case"s":break;case"em":break;case"h2":break;case"h3":break;case"sub":break;case"sup":break;case"span":break;case"alignment":break;case"borders":break;case"border":break;case"font":if("/>"===n[0].slice(-2))break;"/"===n[1]?C+=a.slice(R,n.index):R=n.index+n[0].length;break;case"interior":if(!r.cellStyles)break;x.Interior=Fb(n[0]);break;case"protection":break;case"author":case"title":case"description":case"created":case"keywords":case"subject":case"category":case"company":case"lastauthor":case"lastsaved":case"lastprinted":case"version":case"revision":case"totaltime":case"hyperlinkbase":case"manager":case"contentstatus":case"identifier":case"language":case"appname":if("/>"===n[0].slice(-2))break;"/"===n[1]?As(O,$,a.slice(I,n.index)):I=n.index+n[0].length;break;case"paragraphs":break;case"styles":case"workbook":if("/"===n[1]){if((l=c.pop())[0]!==n[3])throw new Error("Bad state: "+l.join("|"))}else c.push([n[3],!1]);break;case"comment":if("/"===n[1]){if((l=c.pop())[0]!==n[3])throw new Error("Bad state: "+l.join("|"));Hb(M),F.push(M)}else c.push([n[3],!1]),l=Fb(n[0]),M={a:l.Author};break;case"autofilter":if("/"===n[1]){if((l=c.pop())[0]!==n[3])throw new Error("Bad state: "+l.join("|"))}else if("/"!==n[0].charAt(n[0].length-2)){var te=Fb(n[0]);p["!autofilter"]={ref:Cu(te.Range).replace(/\$/g,"")},c.push([n[3],!0])}break;case"name":break;case"datavalidation":if("/"===n[1]){if((l=c.pop())[0]!==n[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==n[0].charAt(n[0].length-2)&&c.push([n[3],!0]);break;case"pixelsperinch":break;case"componentoptions":case"documentproperties":case"customdocumentproperties":case"officedocumentsettings":case"pivottable":case"pivotcache":case"names":case"mapinfo":case"pagebreaks":case"querytable":case"sorting":case"schema":case"conditionalformatting":case"smarttagtype":case"smarttags":case"excelworkbook":case"workbookoptions":case"worksheetoptions":if("/"===n[1]){if((l=c.pop())[0]!==n[3])throw new Error("Bad state: "+l.join("|"))}else"/"!==n[0].charAt(n[0].length-2)&&c.push([n[3],!0]);break;case"null":break;default:if(0==c.length&&"document"==n[3])return Jg(a,r);if(0==c.length&&"uof"==n[3])return Jg(a,r);var re=!0;switch(c[c.length-1][0]){case"officedocumentsettings":switch(n[3]){case"allowpng":break;case"removepersonalinformation":break;case"downloadcomponents":break;case"locationofcomponents":break;case"colors":break;case"color":break;case"index":break;case"rgb":break;case"targetscreensize":break;case"readonlyrecommended":break;default:re=!1}break;case"componentoptions":switch(n[3]){case"toolbar":break;case"hideofficelogo":break;case"spreadsheetautofit":break;case"label":break;case"caption":break;case"maxheight":break;case"maxwidth":break;case"nextsheetnumber":break;default:re=!1}break;case"excelworkbook":switch(n[3]){case"date1904":V.WBProps.date1904=!0;break;case"windowheight":break;case"windowwidth":break;case"windowtopx":break;case"windowtopy":break;case"tabratio":break;case"protectstructure":break;case"protectwindow":break;case"protectwindows":break;case"activesheet":break;case"displayinknotes":break;case"firstvisiblesheet":break;case"supbook":break;case"sheetname":break;case"sheetindex":break;case"sheetindexfirst":break;case"sheetindexlast":break;case"dll":break;case"acceptlabelsinformulas":break;case"donotsavelinkvalues":break;case"iteration":break;case"maxiterations":break;case"maxchange":break;case"path":break;case"xct":break;case"count":break;case"selectedsheets":break;case"calculation":break;case"uncalced":break;case"startupprompt":break;case"crn":break;case"externname":break;case"formula":break;case"colfirst":break;case"collast":break;case"wantadvise":break;case"boolean":break;case"error":break;case"text":break;case"ole":break;case"noautorecover":break;case"publishobjects":break;case"donotcalculatebeforesave":break;case"number":break;case"refmoder1c1":break;case"embedsavesmarttags":break;default:re=!1}break;case"workbookoptions":switch(n[3]){case"owcversion":break;case"height":break;case"width":break;default:re=!1}break;case"worksheetoptions":switch(n[3]){case"visible":if("/>"===n[0].slice(-2));else if("/"===n[1])switch(a.slice(I,n.index)){case"SheetHidden":G.Hidden=1;break;case"SheetVeryHidden":G.Hidden=2;break}else I=n.index+n[0].length;break;case"header":p["!margins"]||Fd(p["!margins"]={},"xlml"),isNaN(+Yt(n[0]).Margin)||(p["!margins"].header=+Yt(n[0]).Margin);break;case"footer":p["!margins"]||Fd(p["!margins"]={},"xlml"),isNaN(+Yt(n[0]).Margin)||(p["!margins"].footer=+Yt(n[0]).Margin);break;case"pagemargins":var ae=Yt(n[0]);p["!margins"]||Fd(p["!margins"]={},"xlml"),isNaN(+ae.Top)||(p["!margins"].top=+ae.Top),isNaN(+ae.Left)||(p["!margins"].left=+ae.Left),isNaN(+ae.Right)||(p["!margins"].right=+ae.Right),isNaN(+ae.Bottom)||(p["!margins"].bottom=+ae.Bottom);break;case"displayrighttoleft":V.Views||(V.Views=[]),V.Views[0]||(V.Views[0]={}),V.Views[0].RTL=!0;break;case"freezepanes":break;case"frozennosplit":break;case"splithorizontal":case"splitvertical":break;case"donotdisplaygridlines":break;case"activerow":break;case"activecol":break;case"toprowbottompane":break;case"leftcolumnrightpane":break;case"unsynced":break;case"print":break;case"printerrors":break;case"panes":break;case"scale":break;case"pane":break;case"number":break;case"layout":break;case"pagesetup":break;case"selected":break;case"protectobjects":break;case"enableselection":break;case"protectscenarios":break;case"validprinterinfo":break;case"horizontalresolution":break;case"verticalresolution":break;case"numberofcopies":break;case"activepane":break;case"toprowvisible":break;case"leftcolumnvisible":break;case"fittopage":break;case"rangeselection":break;case"papersizeindex":break;case"pagelayoutzoom":break;case"pagebreakzoom":break;case"filteron":break;case"fitwidth":break;case"fitheight":break;case"commentslayout":break;case"zoom":break;case"lefttoright":break;case"gridlines":break;case"allowsort":break;case"allowfilter":break;case"allowinsertrows":break;case"allowdeleterows":break;case"allowinsertcols":break;case"allowdeletecols":break;case"allowinserthyperlinks":break;case"allowformatcells":break;case"allowsizecols":break;case"allowsizerows":break;case"nosummaryrowsbelowdetail":p["!outline"]||(p["!outline"]={}),p["!outline"].above=!0;break;case"tabcolorindex":break;case"donotdisplayheadings":break;case"showpagelayoutzoom":break;case"nosummarycolumnsrightdetail":p["!outline"]||(p["!outline"]={}),p["!outline"].left=!0;break;case"blackandwhite":break;case"donotdisplayzeros":break;case"displaypagebreak":break;case"rowcolheadings":break;case"donotdisplayoutline":break;case"noorientation":break;case"allowusepivottables":break;case"zeroheight":break;case"viewablerange":break;case"selection":break;case"protectcontents":break;default:re=!1}break;case"pivottable":case"pivotcache":switch(n[3]){case"immediateitemsondrop":break;case"showpagemultipleitemlabel":break;case"compactrowindent":break;case"location":break;case"pivotfield":break;case"orientation":break;case"layoutform":break;case"layoutsubtotallocation":break;case"layoutcompactrow":break;case"position":break;case"pivotitem":break;case"datatype":break;case"datafield":break;case"sourcename":break;case"parentfield":break;case"ptlineitems":break;case"ptlineitem":break;case"countofsameitems":break;case"item":break;case"itemtype":break;case"ptsource":break;case"cacheindex":break;case"consolidationreference":break;case"filename":break;case"reference":break;case"nocolumngrand":break;case"norowgrand":break;case"blanklineafteritems":break;case"hidden":break;case"subtotal":break;case"basefield":break;case"mapchilditems":break;case"function":break;case"refreshonfileopen":break;case"printsettitles":break;case"mergelabels":break;case"defaultversion":break;case"refreshname":break;case"refreshdate":break;case"refreshdatecopy":break;case"versionlastrefresh":break;case"versionlastupdate":break;case"versionupdateablemin":break;case"versionrefreshablemin":break;case"calculation":break;default:re=!1}break;case"pagebreaks":switch(n[3]){case"colbreaks":break;case"colbreak":break;case"rowbreaks":break;case"rowbreak":break;case"colstart":break;case"colend":break;case"rowend":break;default:re=!1}break;case"autofilter":switch(n[3]){case"autofiltercolumn":break;case"autofiltercondition":break;case"autofilterand":break;case"autofilteror":break;default:re=!1}break;case"querytable":switch(n[3]){case"id":break;case"autoformatfont":break;case"autoformatpattern":break;case"querysource":break;case"querytype":break;case"enableredirections":break;case"refreshedinxl9":break;case"urlstring":break;case"htmltables":break;case"connection":break;case"commandtext":break;case"refreshinfo":break;case"notitles":break;case"nextid":break;case"columninfo":break;case"overwritecells":break;case"donotpromptforfile":break;case"textwizardsettings":break;case"source":break;case"number":break;case"decimal":break;case"thousandseparator":break;case"trailingminusnumbers":break;case"formatsettings":break;case"fieldtype":break;case"delimiters":break;case"tab":break;case"comma":break;case"autoformatname":break;case"versionlastedit":break;case"versionlastrefresh":break;default:re=!1}break;case"datavalidation":switch(n[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;case"cellrangelist":break;default:re=!1}break;case"sorting":case"conditionalformatting":switch(n[3]){case"range":break;case"type":break;case"min":break;case"max":break;case"sort":break;case"descending":break;case"order":break;case"casesensitive":break;case"value":break;case"errorstyle":break;case"errormessage":break;case"errortitle":break;case"cellrangelist":break;case"inputmessage":break;case"inputtitle":break;case"combohide":break;case"inputhide":break;case"condition":break;case"qualifier":break;case"useblank":break;case"value1":break;case"value2":break;case"format":break;default:re=!1}break;case"mapinfo":case"schema":case"data":switch(n[3]){case"map":break;case"entry":break;case"range":break;case"xpath":break;case"field":break;case"xsdtype":break;case"filteron":break;case"aggregate":break;case"elementtype":break;case"attributetype":break;case"schema":case"element":case"complextype":case"datatype":case"all":case"attribute":case"extends":break;case"row":break;default:re=!1}break;case"smarttags":break;default:re=!1;break}if(re)break;if(n[3].match(/!\[CDATA/))break;if(!c[c.length-1][1])throw"Unrecognized tag: "+n[3]+"|"+c.join("|");if("customdocumentproperties"===c[c.length-1][0]){if("/>"===n[0].slice(-2))break;"/"===n[1]?Bb(N,$,D,a.slice(I,n.index)):(D=n,I=n.index+n[0].length);break}if(r.WTF)throw"Unrecognized tag: "+n[3]+"|"+c.join("|")}var ne={};return r.bookSheets||r.bookProps||(ne.Sheets=u),ne.SheetNames=d,ne.Workbook=V,ne.SSF=Tt(q),ne.Props=O,ne.Custprops=N,ne}function Vb(e,t){switch(Bv(t=t||{}),t.type||"base64"){case"base64":return jb(E(e),t);case"binary":case"buffer":case"file":return jb(e,t);case"array":return jb(O(e),t)}}function Gb(e,t){var r=[];return e.Props&&r.push(xs(e.Props,t)),e.Custprops&&r.push(Cs(e.Props,e.Custprops,t)),r.join("")}function $b(){return""}function Xb(e,t){var r=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return t.cellXfs.forEach((function(e,t){var a=[];a.push(Er("NumberFormat",null,{"ss:Format":tr(q[e.numFmtId])}));var n={"ss:ID":"s"+(21+t)};r.push(Er("Style",a.join(""),n))})),Er("Styles",r.join(""))}function Yb(e){return Er("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+Pu(e.Ref,{r:0,c:0})})}function Kb(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],a=0;a<t.length;++a){var n=t[a];null==n.Sheet&&(n.Name.match(/^_xlfn\./)||r.push(Yb(n)))}return Er("Names",r.join(""))}function Zb(e,t,r,a){if(!e)return"";if(!((a||{}).Workbook||{}).Names)return"";for(var n=a.Workbook.Names,s=[],i=0;i<n.length;++i){var o=n[i];o.Sheet==r&&(o.Name.match(/^_xlfn\./)||s.push(Yb(o)))}return s.join("")}function qb(e,t,r,a){if(!e)return"";var n=[];if(e["!margins"]&&(n.push("<PageSetup>"),e["!margins"].header&&n.push(Er("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&n.push(Er("Footer",null,{"x:Margin":e["!margins"].footer})),n.push(Er("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),n.push("</PageSetup>")),a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[r])if(a.Workbook.Sheets[r].Hidden)n.push(Er("Visible",1==a.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var s=0;s<r;++s)if(a.Workbook.Sheets[s]&&!a.Workbook.Sheets[s].Hidden)break;s==r&&n.push("<Selected/>")}return((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL&&n.push("<DisplayRightToLeft/>"),e["!protect"]&&(n.push(Tr("ProtectContents","True")),e["!protect"].objects&&n.push(Tr("ProtectObjects","True")),e["!protect"].scenarios&&n.push(Tr("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||n.push(Tr("EnableSelection","UnlockedCells")):n.push(Tr("EnableSelection","NoSelection")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach((function(t){e["!protect"][t[0]]&&n.push("<"+t[1]+"/>")}))),0==n.length?"":Er("WorksheetOptions",n.join(""),{xmlns:Or.x})}function Jb(e){return e.map((function(e){var t=or(e.t||""),r=Er("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"});return Er("Comment",r,{"ss:Author":e.a})})).join("")}function Qb(e,t,r,a,n,s,i){if(!e||void 0==e.v&&void 0==e.f)return"";var o={};if(e.f&&(o["ss:Formula"]="="+tr(Pu(e.f,i))),e.F&&e.F.slice(0,t.length)==t){var l=Ia(e.F.slice(t.length+1));o["ss:ArrayRange"]="RC:R"+(l.r==i.r?"":"["+(l.r-i.r)+"]")+"C"+(l.c==i.c?"":"["+(l.c-i.c)+"]")}if(e.l&&e.l.Target&&(o["ss:HRef"]=tr(e.l.Target),e.l.Tooltip&&(o["x:HRefScreenTip"]=tr(e.l.Tooltip))),r["!merges"])for(var c=r["!merges"],f=0;f!=c.length;++f)c[f].s.c==i.c&&c[f].s.r==i.r&&(c[f].e.c>c[f].s.c&&(o["ss:MergeAcross"]=c[f].e.c-c[f].s.c),c[f].e.r>c[f].s.r&&(o["ss:MergeDown"]=c[f].e.r-c[f].s.r));var u="",h="";switch(e.t){case"z":if(!a.sheetStubs)return"";break;case"n":u="Number",h=String(e.v);break;case"b":u="Boolean",h=e.v?"1":"0";break;case"e":u="Error",h=$n[e.v];break;case"d":u="DateTime",h=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||q[14]);break;case"s":u="String",h=sr(e.v||"");break}var d=Md(a.cellXfs,e,a);o["ss:StyleID"]="s"+(21+d),o["ss:Index"]=i.c+1;var p=null!=e.v?h:"",m="z"==e.t?"":'<Data ss:Type="'+u+'">'+p+"</Data>";return(e.c||[]).length>0&&(m+=Jb(e.c)),Er("Cell",m,o)}function eg(e,t){var r='<Row ss:Index="'+(e+1)+'"';return t&&(t.hpt&&!t.hpx&&(t.hpx=Mc(t.hpt)),t.hpx&&(r+=' ss:AutoFitHeight="0" ss:Height="'+t.hpx+'"'),t.hidden&&(r+=' ss:Hidden="1"')),r+">"}function tg(e,t,r,a){if(!e["!ref"])return"";var n=La(e["!ref"]),s=e["!merges"]||[],i=0,o=[];e["!cols"]&&e["!cols"].forEach((function(e,t){Nc(e);var r=!!e.width,a=Dd(t,e),n={"ss:Index":t+1};r&&(n["ss:Width"]=xc(a.width)),e.hidden&&(n["ss:Hidden"]="1"),o.push(Er("Column",null,n))}));for(var l=Array.isArray(e),c=n.s.r;c<=n.e.r;++c){for(var f=[eg(c,(e["!rows"]||[])[c])],u=n.s.c;u<=n.e.c;++u){var h=!1;for(i=0;i!=s.length;++i)if(!(s[i].s.c>u)&&!(s[i].s.r>c)&&!(s[i].e.c<u)&&!(s[i].e.r<c)){s[i].s.c==u&&s[i].s.r==c||(h=!0);break}if(!h){var d={r:c,c:u},p=Da(d),m=l?(e[c]||[])[u]:e[p];f.push(Qb(m,p,e,t,r,a,d))}}f.push("</Row>"),f.length>2&&o.push(f.join(""))}return o.join("")}function rg(e,t,r){var a=[],n=r.SheetNames[e],s=r.Sheets[n],i=s?Zb(s,t,e,r):"";return i.length>0&&a.push("<Names>"+i+"</Names>"),i=s?tg(s,t,e,r):"",i.length>0&&a.push("<Table>"+i+"</Table>"),a.push(qb(s,t,e,r)),a.join("")}function ag(e,t){t||(t={}),e.SSF||(e.SSF=Tt(q)),e.SSF&&($e(),Ge(e.SSF),t.revssf=lt(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Md(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(Gb(e,t)),r.push($b(e,t)),r.push(""),r.push("");for(var a=0;a<e.SheetNames.length;++a)r.push(Er("Worksheet",rg(a,t,e),{"ss:Name":tr(e.SheetNames[a])}));return r[2]=Xb(e,t),r[3]=Kb(e,t),Wt+Er("Workbook",r.join(""),{xmlns:Or.ss,"xmlns:o":Or.o,"xmlns:x":Or.x,"xmlns:ss":Or.ss,"xmlns:dt":Or.dt,"xmlns:html":Or.html})}function ng(e){var t={},r=e.content;if(r.l=28,t.AnsiUserType=r.read_shift(0,"lpstr-ansi"),t.AnsiClipboardFormat=En(r),r.length-r.l<=4)return t;var a=r.read_shift(4);return 0==a||a>40?t:(r.l-=4,t.Reserved1=r.read_shift(0,"lpstr-ansi"),r.length-r.l<=4?t:(a=r.read_shift(4),1907505652!==a?t:(t.UnicodeClipboardFormat=Sn(r),a=r.read_shift(4),0==a||a>40?t:(r.l-=4,void(t.Reserved2=r.read_shift(0,"lpwstr"))))))}var sg=[60,1084,2066,2165,2175];function ig(e,t,r,a,n){var s=a,i=[],o=r.slice(r.l,r.l+s);if(n&&n.enc&&n.enc.insitu&&o.length>0)switch(e){case 9:case 521:case 1033:case 2057:case 47:case 405:case 225:case 406:case 312:case 404:case 10:break;case 133:break;default:n.enc.insitu(o)}i.push(o),r.l+=s;var l=aa(r,r.l),c=bg[l],f=0;while(null!=c&&sg.indexOf(l)>-1)s=aa(r,r.l+2),f=r.l+4,2066==l?f+=4:2165!=l&&2175!=l||(f+=12),o=r.slice(f,r.l+4+s),i.push(o),r.l+=4+s,c=bg[l=aa(r,r.l)];var u=D(i);pa(u,0);var h=0;u.lens=[];for(var d=0;d<i.length;++d)u.lens.push(h),h+=i[d].length;if(u.length<a)throw"XLS Record 0x"+e.toString(16)+" Truncated: "+u.length+" < "+a;return t.f(u,u.length,n)}function og(e,t,r){if("z"!==e.t&&e.XF){var a=0;try{a=e.z||e.XF.numFmtId||0,t.cellNF&&(e.z=q[a])}catch(s){if(t.WTF)throw s}if(!t||!1!==t.cellText)try{"e"===e.t?e.w=e.w||$n[e.v]:0===a||"General"==a?"n"===e.t?(0|e.v)===e.v?e.w=e.v.toString(10):e.w=fe(e.v):e.w=ue(e.v):e.w=je(a,e.v,{date1904:!!r,dateNF:t&&t.dateNF})}catch(s){if(t.WTF)throw s}if(t.cellDates&&a&&"n"==e.t&&Be(q[a]||String(a))){var n=te(e.v);n&&(e.t="d",e.v=new Date(n.y,n.m-1,n.d,n.H,n.M,n.S,n.u))}}}function lg(e,t,r){return{v:e,ixfe:t,t:r}}function cg(e,t){var r={opts:{}},a={};null!=y&&null==t.dense&&(t.dense=y);var n,s,i,o,l,c,u,h,d=t.dense?[]:{},p={},m={},b=null,g=[],v="",w={},k="",T={},_=[],E=[],S=[],A={Sheets:[],WBProps:{date1904:!1},Views:[{}]},x={},C=function(e){return e<8?Gn[e]:e<64&&S[e-8]||Gn[e]},R=function(e,t,r){var a,n=t.XF.data;n&&n.patternType&&r&&r.cellStyles&&(t.s={},t.s.patternType=n.patternType,(a=wc(C(n.icvFore)))&&(t.s.fgColor={rgb:a}),(a=wc(C(n.icvBack)))&&(t.s.bgColor={rgb:a}))},P=function(e,t,r){if(!(z>1)&&!(r.sheetRows&&e.r>=r.sheetRows)){if(r.cellStyles&&t.XF&&t.XF.data&&R(e,t,r),delete t.ixfe,delete t.XF,n=e,k=Da(e),m&&m.s&&m.e||(m={s:{r:0,c:0},e:{r:0,c:0}}),e.r<m.s.r&&(m.s.r=e.r),e.c<m.s.c&&(m.s.c=e.c),e.r+1>m.e.r&&(m.e.r=e.r+1),e.c+1>m.e.c&&(m.e.c=e.c+1),r.cellFormula&&t.f)for(var a=0;a<_.length;++a)if(!(_[a][0].s.c>e.c||_[a][0].s.r>e.r)&&!(_[a][0].e.c<e.c||_[a][0].e.r<e.r)){t.F=Ma(_[a][0]),_[a][0].s.c==e.c&&_[a][0].s.r==e.r||delete t.f,t.f&&(t.f=""+cd(_[a][1],m,e,L,O));break}r.dense?(d[e.r]||(d[e.r]=[]),d[e.r][e.c]=t):d[k]=t}},O={enc:!1,sbcch:0,snames:[],sharedf:T,arrayf:_,rrtabid:[],lastuser:"",biff:8,codepage:0,winlocked:0,cellStyles:!!t&&!!t.cellStyles,WTF:!!t&&!!t.wtf};t.password&&(O.password=t.password);var N=[],I=[],D=[],F=[],M=!1,L=[];L.SheetNames=O.snames,L.sharedf=O.sharedf,L.arrayf=O.arrayf,L.names=[],L.XTI=[];var B,U=0,z=0,W=0,H=[],j=[];O.codepage=1200,f(1200);var V=!1;while(e.l<e.length-1){var G=e.l,$=e.read_shift(2);if(0===$&&10===U)break;var X=e.l===e.length?0:e.read_shift(2),Y=bg[$];if(Y&&Y.f){if(t.bookSheets&&133===U&&133!==$)break;if(U=$,2===Y.r||12==Y.r){var K=e.read_shift(2);if(X-=2,!O.enc&&K!==$&&((255&K)<<8|K>>8)!==$)throw new Error("rt mismatch: "+K+"!="+$);12==Y.r&&(e.l+=10,X-=10)}var Z={};if(Z=10===$?Y.f(e,X,O):ig($,Y,e,X,O),0==z&&-1===[9,521,1033,2057].indexOf(U))continue;switch($){case 34:r.opts.Date1904=A.WBProps.date1904=Z;break;case 134:r.opts.WriteProtect=!0;break;case 47:if(O.enc||(e.l=0),O.enc=Z,!t.password)throw new Error("File is password-protected");if(null==Z.valid)throw new Error("Encryption scheme unsupported");if(!Z.valid)throw new Error("Password is incorrect");break;case 92:O.lastuser=Z;break;case 66:var J=Number(Z);switch(J){case 21010:J=1200;break;case 32768:J=1e4;break;case 32769:J=1252;break}f(O.codepage=J),V=!0;break;case 317:O.rrtabid=Z;break;case 25:O.winlocked=Z;break;case 439:r.opts["RefreshAll"]=Z;break;case 12:r.opts["CalcCount"]=Z;break;case 16:r.opts["CalcDelta"]=Z;break;case 17:r.opts["CalcIter"]=Z;break;case 13:r.opts["CalcMode"]=Z;break;case 14:r.opts["CalcPrecision"]=Z;break;case 95:r.opts["CalcSaveRecalc"]=Z;break;case 15:O.CalcRefMode=Z;break;case 2211:r.opts.FullCalc=Z;break;case 129:Z.fDialog&&(d["!type"]="dialog"),Z.fBelow||((d["!outline"]||(d["!outline"]={})).above=!0),Z.fRight||((d["!outline"]||(d["!outline"]={})).left=!0);break;case 224:E.push(Z);break;case 430:L.push([Z]),L[L.length-1].XTI=[];break;case 35:case 547:L[L.length-1].push(Z);break;case 24:case 536:B={Name:Z.Name,Ref:cd(Z.rgce,m,null,L,O)},Z.itab>0&&(B.Sheet=Z.itab-1),L.names.push(B),L[0]||(L[0]=[],L[0].XTI=[]),L[L.length-1].push(Z),"_xlnm._FilterDatabase"==Z.Name&&Z.itab>0&&Z.rgce&&Z.rgce[0]&&Z.rgce[0][0]&&"PtgArea3d"==Z.rgce[0][0][0]&&(j[Z.itab-1]={ref:Ma(Z.rgce[0][0][1][2])});break;case 22:O.ExternCount=Z;break;case 23:0==L.length&&(L[0]=[],L[0].XTI=[]),L[L.length-1].XTI=L[L.length-1].XTI.concat(Z),L.XTI=L.XTI.concat(Z);break;case 2196:if(O.biff<8)break;null!=B&&(B.Comment=Z[1]);break;case 18:d["!protect"]=Z;break;case 19:0!==Z&&O.WTF&&console.error("Password verifier: "+Z);break;case 133:p[Z.pos]=Z,O.snames.push(Z.name);break;case 10:if(--z)break;if(m.e){if(m.e.r>0&&m.e.c>0){if(m.e.r--,m.e.c--,d["!ref"]=Ma(m),t.sheetRows&&t.sheetRows<=m.e.r){var Q=m.e.r;m.e.r=t.sheetRows-1,d["!fullref"]=d["!ref"],d["!ref"]=Ma(m),m.e.r=Q}m.e.r++,m.e.c++}N.length>0&&(d["!merges"]=N),I.length>0&&(d["!objects"]=I),D.length>0&&(d["!cols"]=D),F.length>0&&(d["!rows"]=F),A.Sheets.push(x)}""===v?w=d:a[v]=d,d=t.dense?[]:{};break;case 9:case 521:case 1033:case 2057:if(8===O.biff&&(O.biff={9:2,521:3,1033:4}[$]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[Z.BIFFVer]||8),O.biffguess=0==Z.BIFFVer,0==Z.BIFFVer&&4096==Z.dt&&(O.biff=5,V=!0,f(O.codepage=28591)),8==O.biff&&0==Z.BIFFVer&&16==Z.dt&&(O.biff=2),z++)break;if(d=t.dense?[]:{},O.biff<8&&!V&&(V=!0,f(O.codepage=t.codepage||1252)),O.biff<5||0==Z.BIFFVer&&4096==Z.dt){""===v&&(v="Sheet1"),m={s:{r:0,c:0},e:{r:0,c:0}};var ee={pos:e.l-X,name:v};p[ee.pos]=ee,O.snames.push(v)}else v=(p[G]||{name:""}).name;32==Z.dt&&(d["!type"]="chart"),64==Z.dt&&(d["!type"]="macro"),N=[],I=[],O.arrayf=_=[],D=[],F=[],M=!1,x={Hidden:(p[G]||{hs:0}).hs,name:v};break;case 515:case 3:case 2:"chart"==d["!type"]&&(t.dense?(d[Z.r]||[])[Z.c]:d[Da({c:Z.c,r:Z.r})])&&++Z.c,c={ixfe:Z.ixfe,XF:E[Z.ixfe]||{},v:Z.val,t:"n"},W>0&&(c.z=H[c.ixfe>>8&63]),og(c,t,r.opts.Date1904),P({c:Z.c,r:Z.r},c,t);break;case 5:case 517:c={ixfe:Z.ixfe,XF:E[Z.ixfe],v:Z.val,t:Z.t},W>0&&(c.z=H[c.ixfe>>8&63]),og(c,t,r.opts.Date1904),P({c:Z.c,r:Z.r},c,t);break;case 638:c={ixfe:Z.ixfe,XF:E[Z.ixfe],v:Z.rknum,t:"n"},W>0&&(c.z=H[c.ixfe>>8&63]),og(c,t,r.opts.Date1904),P({c:Z.c,r:Z.r},c,t);break;case 189:for(var te=Z.c;te<=Z.C;++te){var re=Z.rkrec[te-Z.c][0];c={ixfe:re,XF:E[re],v:Z.rkrec[te-Z.c][1],t:"n"},W>0&&(c.z=H[c.ixfe>>8&63]),og(c,t,r.opts.Date1904),P({c:te,r:Z.r},c,t)}break;case 6:case 518:case 1030:if("String"==Z.val){b=Z;break}if(c=lg(Z.val,Z.cell.ixfe,Z.tt),c.XF=E[c.ixfe],t.cellFormula){var ae=Z.formula;if(ae&&ae[0]&&ae[0][0]&&"PtgExp"==ae[0][0][0]){var ne=ae[0][0][1][0],se=ae[0][0][1][1],ie=Da({r:ne,c:se});T[ie]?c.f=""+cd(Z.formula,m,Z.cell,L,O):c.F=((t.dense?(d[ne]||[])[se]:d[ie])||{}).F}else c.f=""+cd(Z.formula,m,Z.cell,L,O)}W>0&&(c.z=H[c.ixfe>>8&63]),og(c,t,r.opts.Date1904),P(Z.cell,c,t),b=Z;break;case 7:case 519:if(!b)throw new Error("String record expects Formula");b.val=Z,c=lg(Z,b.cell.ixfe,"s"),c.XF=E[c.ixfe],t.cellFormula&&(c.f=""+cd(b.formula,m,b.cell,L,O)),W>0&&(c.z=H[c.ixfe>>8&63]),og(c,t,r.opts.Date1904),P(b.cell,c,t),b=null;break;case 33:case 545:_.push(Z);var oe=Da(Z[0].s);if(s=t.dense?(d[Z[0].s.r]||[])[Z[0].s.c]:d[oe],t.cellFormula&&s){if(!b)break;if(!oe||!s)break;s.f=""+cd(Z[1],m,Z[0],L,O),s.F=Ma(Z[0])}break;case 1212:if(!t.cellFormula)break;if(k){if(!b)break;T[Da(b.cell)]=Z[0],s=t.dense?(d[b.cell.r]||[])[b.cell.c]:d[Da(b.cell)],(s||{}).f=""+cd(Z[0],m,n,L,O)}break;case 253:c=lg(g[Z.isst].t,Z.ixfe,"s"),g[Z.isst].h&&(c.h=g[Z.isst].h),c.XF=E[c.ixfe],W>0&&(c.z=H[c.ixfe>>8&63]),og(c,t,r.opts.Date1904),P({c:Z.c,r:Z.r},c,t);break;case 513:t.sheetStubs&&(c={ixfe:Z.ixfe,XF:E[Z.ixfe],t:"z"},W>0&&(c.z=H[c.ixfe>>8&63]),og(c,t,r.opts.Date1904),P({c:Z.c,r:Z.r},c,t));break;case 190:if(t.sheetStubs)for(var le=Z.c;le<=Z.C;++le){var ce=Z.ixfe[le-Z.c];c={ixfe:ce,XF:E[ce],t:"z"},W>0&&(c.z=H[c.ixfe>>8&63]),og(c,t,r.opts.Date1904),P({c:le,r:Z.r},c,t)}break;case 214:case 516:case 4:c=lg(Z.val,Z.ixfe,"s"),c.XF=E[c.ixfe],W>0&&(c.z=H[c.ixfe>>8&63]),og(c,t,r.opts.Date1904),P({c:Z.c,r:Z.r},c,t);break;case 0:case 512:1===z&&(m=Z);break;case 252:g=Z;break;case 1054:if(4==O.biff){H[W++]=Z[1];for(var fe=0;fe<W+163;++fe)if(q[fe]==Z[1])break;fe>=163&&Ve(Z[1],W+163)}else Ve(Z[1],Z[0]);break;case 30:H[W++]=Z;for(var ue=0;ue<W+163;++ue)if(q[ue]==Z)break;ue>=163&&Ve(Z,W+163);break;case 229:N=N.concat(Z);break;case 93:I[Z.cmo[0]]=O.lastobj=Z;break;case 438:O.lastobj.TxO=Z;break;case 127:O.lastobj.ImData=Z;break;case 440:for(l=Z[0].s.r;l<=Z[0].e.r;++l)for(o=Z[0].s.c;o<=Z[0].e.c;++o)s=t.dense?(d[l]||[])[o]:d[Da({c:o,r:l})],s&&(s.l=Z[1]);break;case 2048:for(l=Z[0].s.r;l<=Z[0].e.r;++l)for(o=Z[0].s.c;o<=Z[0].e.c;++o)s=t.dense?(d[l]||[])[o]:d[Da({c:o,r:l})],s&&s.l&&(s.l.Tooltip=Z[1]);break;case 28:if(O.biff<=5&&O.biff>=2)break;s=t.dense?(d[Z[0].r]||[])[Z[0].c]:d[Da(Z[0])];var he=I[Z[2]];s||(t.dense?(d[Z[0].r]||(d[Z[0].r]=[]),s=d[Z[0].r][Z[0].c]={t:"z"}):s=d[Da(Z[0])]={t:"z"},m.e.r=Math.max(m.e.r,Z[0].r),m.s.r=Math.min(m.s.r,Z[0].r),m.e.c=Math.max(m.e.c,Z[0].c),m.s.c=Math.min(m.s.c,Z[0].c)),s.c||(s.c=[]),i={a:Z[1],t:he.TxO.t},s.c.push(i);break;case 2173:Wf(E[Z.ixfe],Z.ext);break;case 125:if(!O.cellStyles)break;while(Z.e>=Z.s)D[Z.e--]={width:Z.w/256,level:Z.level||0,hidden:!!(1&Z.flags)},M||(M=!0,Oc(Z.w/256)),Nc(D[Z.e+1]);break;case 520:var de={};null!=Z.level&&(F[Z.r]=de,de.level=Z.level),Z.hidden&&(F[Z.r]=de,de.hidden=!0),Z.hpt&&(F[Z.r]=de,de.hpt=Z.hpt,de.hpx=Mc(Z.hpt));break;case 38:case 39:case 40:case 41:d["!margins"]||Fd(d["!margins"]={}),d["!margins"][{38:"left",39:"right",40:"top",41:"bottom"}[$]]=Z;break;case 161:d["!margins"]||Fd(d["!margins"]={}),d["!margins"].header=Z.header,d["!margins"].footer=Z.footer;break;case 574:Z.RTL&&(A.Views[0].RTL=!0);break;case 146:S=Z;break;case 2198:h=Z;break;case 140:u=Z;break;case 442:v?x.CodeName=Z||x.name:A.WBProps.CodeName=Z||"ThisWorkbook";break}}else Y||console.error("Missing Info for XLS Record 0x"+$.toString(16)),e.l+=X}return r.SheetNames=st(p).sort((function(e,t){return Number(e)-Number(t)})).map((function(e){return p[e].name})),t.bookSheets||(r.Sheets=a),!r.SheetNames.length&&w["!ref"]?(r.SheetNames.push("Sheet1"),r.Sheets&&(r.Sheets["Sheet1"]=w)):r.Preamble=w,r.Sheets&&j.forEach((function(e,t){r.Sheets[r.SheetNames[t]]["!autofilter"]=e})),r.Strings=g,r.SSF=Tt(q),O.enc&&(r.Encryption=O.enc),h&&(r.Themes=h),r.Metadata={},void 0!==u&&(r.Metadata.Country=u),L.names.length>0&&(A.Names=L.names),r.Workbook=A,r}var fg={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function ug(e,t,r){var a=Qe.find(e,"/!DocumentSummaryInformation");if(a&&a.size>0)try{var n=Ks(a,Un,fg.DSI);for(var s in n)t[s]=n[s]}catch(c){if(r.WTF)throw c}var i=Qe.find(e,"/!SummaryInformation");if(i&&i.size>0)try{var o=Ks(i,zn,fg.SI);for(var l in o)null==t[l]&&(t[l]=o[l])}catch(c){if(r.WTF)throw c}t.HeadingPairs&&t.TitlesOfParts&&(vs(t.HeadingPairs,t.TitlesOfParts,t,r),delete t.HeadingPairs,delete t.TitlesOfParts)}function hg(e,t){var r,a=[],n=[],s=[],i=0,o=it(Un,"n"),l=it(zn,"n");if(e.Props)for(r=st(e.Props),i=0;i<r.length;++i)(Object.prototype.hasOwnProperty.call(o,r[i])?a:Object.prototype.hasOwnProperty.call(l,r[i])?n:s).push([r[i],e.Props[r[i]]]);if(e.Custprops)for(r=st(e.Custprops),i=0;i<r.length;++i)Object.prototype.hasOwnProperty.call(e.Props||{},r[i])||(Object.prototype.hasOwnProperty.call(o,r[i])?a:Object.prototype.hasOwnProperty.call(l,r[i])?n:s).push([r[i],e.Custprops[r[i]]]);var c=[];for(i=0;i<s.length;++i)$s.indexOf(s[i][0])>-1||gs.indexOf(s[i][0])>-1||null!=s[i][1]&&c.push(s[i]);n.length&&Qe.utils.cfb_add(t,"/SummaryInformation",Zs(n,fg.SI,l,zn)),(a.length||c.length)&&Qe.utils.cfb_add(t,"/DocumentSummaryInformation",Zs(a,fg.DSI,o,Un,c.length?c:null,fg.UDI))}function dg(e,t){var r,a,n,s;if(t||(t={}),Bv(t),u(),t.codepage&&l(t.codepage),e.FullPaths){if(Qe.find(e,"/encryption"))throw new Error("File is password-protected");r=Qe.find(e,"!CompObj"),a=Qe.find(e,"/Workbook")||Qe.find(e,"/Book")}else{switch(t.type){case"base64":e=R(E(e));break;case"binary":e=R(e);break;case"buffer":break;case"array":Array.isArray(e)||(e=Array.prototype.slice.call(e));break}pa(e,0),a={content:e}}if(r&&ng(r),t.bookProps&&!t.bookSheets)n={};else{var i=S?"buffer":"array";if(a&&a.content)n=cg(a.content,t);else if((s=Qe.find(e,"PerfectOffice_MAIN"))&&s.content)n=Rl.to_workbook(s.content,(t.type=i,t));else{if(!(s=Qe.find(e,"NativeContent_MAIN"))||!s.content)throw(s=Qe.find(e,"MN0"))&&s.content?new Error("Unsupported Works 4 for Mac file"):new Error("Cannot find Workbook stream");n=Rl.to_workbook(s.content,(t.type=i,t))}t.bookVBA&&e.FullPaths&&Qe.find(e,"/_VBA_PROJECT_CUR/VBA/dir")&&(n.vbaraw=ku(e))}var o={};return e.FullPaths&&ug(e,o,t),n.Props=n.Custprops=o,t.bookFiles&&(n.cfb=e),n}function pg(e,t){var r=t||{},a=Qe.utils.cfb_new({root:"R"}),n="/Workbook";switch(r.bookType||"xls"){case"xls":r.bookType="biff8";case"xla":r.bookType||(r.bookType="xla");case"biff8":n="/Workbook",r.biff=8;break;case"biff5":n="/Book",r.biff=5;break;default:throw new Error("invalid type "+r.bookType+" for XLS CFB")}return Qe.utils.cfb_add(a,n,Fg(e,r)),8==r.biff&&(e.Props||e.Custprops)&&hg(e,a),8==r.biff&&e.vbaraw&&Tu(a,Qe.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),a}var mg={0:{f:vp},1:{f:Ap},2:{f:$p},3:{f:Dp},4:{f:Pp},5:{f:Hp},6:{f:qp},7:{f:Bp},8:{f:nm},9:{f:am},10:{f:tm},11:{f:rm},12:{f:Cp},13:{f:Yp},14:{f:Mp},15:{f:Np},16:{f:Vp},17:{f:Qp},18:{f:zp},19:{f:Ka},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:ob},40:{},42:{},43:{f:qc},44:{f:Kc},45:{f:tf},46:{f:of},47:{f:af},48:{},49:{f:ja},50:{},51:{f:Vf},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:sl},62:{f:Zp},63:{f:eu},64:{f:km},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:ma,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:gm},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:Ep},148:{f:kp,p:16},151:{f:fm},152:{},153:{f:nb},154:{},155:{},156:{f:rb},157:{},158:{},159:{T:1,f:jl},160:{T:-1},161:{T:1,f:mn},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:sm},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:Hf},336:{T:-1},337:{f:Xf,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:cn},357:{},358:{},359:{},360:{T:1},361:{},362:{f:Mo},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:um},427:{f:hm},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:mm},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:_p},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:lm},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:cn},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:bu},633:{T:1},634:{T:-1},635:{T:1,f:pu},636:{T:-1},637:{f:qa},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:Um},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:Tm},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:""}},bg={6:{f:bd},10:{f:qs},12:{f:ri},13:{f:ri},14:{f:ei},15:{f:ei},16:{f:gn},17:{f:ei},18:{f:ei},19:{f:ri},20:{f:Oo},21:{f:Oo},23:{f:Mo},24:{f:Fo},25:{f:ei},26:{},27:{},28:{f:jo},29:{},34:{f:ei},35:{f:Io},38:{f:gn},39:{f:gn},40:{f:gn},41:{f:gn},42:{f:ei},43:{f:ei},47:{f:bc},49:{f:oo},51:{f:ri},60:{},61:{f:ro},64:{f:ei},65:{f:io},66:{f:ri},77:{},80:{},81:{},82:{},85:{f:ri},89:{},90:{},91:{},92:{f:Vi},93:{f:$o},94:{},95:{f:ei},96:{},97:{},99:{f:ei},125:{f:sl},128:{f:So},129:{f:$i},130:{f:ri},131:{f:ei},132:{f:ei},133:{f:Xi},134:{},140:{f:el},141:{f:ri},144:{},146:{f:al},151:{},152:{},153:{},154:{},155:{},156:{f:ri},157:{},158:{},160:{f:ul},161:{f:ol},174:{},175:{},176:{},177:{},178:{},180:{},181:{},182:{},184:{},185:{},189:{f:yo},190:{f:ko},193:{f:qs},197:{},198:{},199:{},200:{},201:{},202:{f:ei},203:{},204:{},205:{},206:{},207:{},208:{},209:{},210:{},211:{},213:{},215:{},216:{},217:{},218:{f:ri},220:{},221:{f:ei},222:{},224:{f:_o},225:{f:ji},226:{f:qs},227:{},229:{f:Vo},233:{},235:{},236:{},237:{},239:{},240:{},241:{},242:{},244:{},245:{},246:{},247:{},248:{},249:{},251:{},252:{f:Ki},253:{f:co},255:{f:qi},256:{},259:{},290:{},311:{},312:{},315:{},317:{f:ni},318:{},319:{},320:{},330:{},331:{},333:{},334:{},335:{},336:{},337:{},338:{},339:{},340:{},351:{},352:{f:ei},353:{f:qs},401:{},402:{},403:{},404:{},405:{},406:{},407:{},408:{},425:{},426:{},427:{},428:{},429:{},430:{f:No},431:{f:ei},432:{},433:{},434:{},437:{},438:{f:Ko},439:{f:ei},440:{f:Zo},441:{},442:{f:ui},443:{},444:{f:ri},445:{},446:{},448:{f:qs},449:{f:eo,r:2},450:{f:qs},512:{f:go},513:{f:fl},515:{f:Ro},516:{f:uo},517:{f:xo},519:{f:hl},520:{f:Ji},523:{},545:{f:zo},549:{f:to},566:{},574:{f:no},638:{f:wo},659:{},1048:{},1054:{f:po},1084:{},1212:{f:Uo},2048:{f:Jo},2049:{},2050:{},2051:{},2052:{},2053:{},2054:{},2055:{},2056:{},2057:{f:Wi},2058:{},2059:{},2060:{},2061:{},2062:{},2063:{},2064:{},2066:{},2067:{},2128:{},2129:{},2130:{},2131:{},2132:{},2133:{},2134:{},2135:{},2136:{},2137:{},2138:{},2146:{},2147:{r:12},2148:{},2149:{},2150:{},2151:{f:qs},2152:{},2154:{},2155:{},2156:{},2161:{},2162:{},2164:{},2165:{},2166:{},2167:{},2168:{},2169:{},2170:{},2171:{},2172:{f:nl,r:12},2173:{f:zf,r:12},2174:{},2175:{},2180:{},2181:{},2182:{},2183:{},2184:{},2185:{},2186:{},2187:{},2188:{f:ei,r:12},2189:{},2190:{r:12},2191:{},2192:{},2194:{},2195:{},2196:{f:Bo,r:12},2197:{},2198:{f:Df,r:12},2199:{},2200:{},2201:{},2202:{f:Wo,r:12},2203:{f:qs},2204:{},2205:{},2206:{},2207:{},2211:{f:Qi},2212:{},2213:{},2214:{},2215:{},4097:{},4098:{},4099:{},4102:{},4103:{},4105:{},4106:{},4107:{},4108:{},4109:{},4116:{},4117:{},4118:{},4119:{},4120:{},4121:{},4122:{},4123:{},4124:{},4125:{},4126:{},4127:{},4128:{},4129:{},4130:{},4132:{},4133:{},4134:{f:ri},4135:{},4146:{},4147:{},4148:{},4149:{},4154:{},4156:{},4157:{},4158:{},4159:{},4160:{},4161:{},4163:{},4164:{f:ll},4165:{},4166:{},4168:{},4170:{},4171:{},4174:{},4175:{},4176:{},4177:{},4187:{},4188:{f:rl},4189:{},4191:{},4192:{},4193:{},4194:{},4195:{},4196:{},4197:{},4198:{},4199:{},4200:{},0:{f:go},1:{},2:{f:gl},3:{f:ml},4:{f:pl},5:{f:xo},7:{f:wl},8:{},9:{f:Wi},11:{},22:{f:ri},30:{f:bo},31:{},32:{},33:{f:zo},36:{},37:{f:to},50:{f:yl},62:{},52:{},67:{},68:{f:ri},69:{},86:{},126:{},127:{f:dl},135:{},136:{},137:{},145:{},148:{},149:{},150:{},169:{},171:{},188:{},191:{},192:{},194:{},195:{},214:{f:kl},223:{},234:{},354:{},421:{},518:{f:bd},521:{f:Wi},536:{f:Fo},547:{f:Io},561:{},579:{},1030:{f:bd},1033:{f:Wi},1091:{},2157:{},2163:{},2177:{},2240:{},2241:{},2242:{},2243:{},2244:{},2245:{},2246:{},2247:{},2248:{},2249:{},2250:{},2251:{},2262:{r:12},29282:{}};function gg(e,t,r,a){var n=t;if(!isNaN(n)){var s=a||(r||[]).length||0,i=e.next(4);i.write_shift(2,n),i.write_shift(2,s),s>0&&ea(r)&&e.push(r)}}function vg(e,t,r,a){var n=a||(r||[]).length||0;if(n<=8224)return gg(e,t,r,n);var s=t;if(!isNaN(s)){var i=r.parts||[],o=0,l=0,c=0;while(c+(i[o]||8224)<=8224)c+=i[o]||8224,o++;var f=e.next(4);f.write_shift(2,s),f.write_shift(2,c),e.push(r.slice(l,l+c)),l+=c;while(l<n){f=e.next(4),f.write_shift(2,60),c=0;while(c+(i[o]||8224)<=8224)c+=i[o]||8224,o++;f.write_shift(2,c),e.push(r.slice(l,l+c)),l+=c}}}function wg(e,t,r){return e||(e=ba(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function yg(e,t,r,a){var n=ba(9);return wg(n,e,t),ii(r,a||"b",n),n}function kg(e,t,r){var a=ba(8+2*r.length);return wg(a,e,t),a.write_shift(1,r.length),a.write_shift(r.length,r,"sbcs"),a.l<a.length?a.slice(0,a.l):a}function Tg(e,t,r,a){if(null!=t.v)switch(t.t){case"d":case"n":var n="d"==t.t?ut(yt(t.v)):t.v;return void(n==(0|n)&&n>=0&&n<65536?gg(e,2,vl(r,a,n)):gg(e,3,bl(r,a,n)));case"b":case"e":return void gg(e,5,yg(r,a,t.v,t.t));case"s":case"str":return void gg(e,4,kg(r,a,(t.v||"").slice(0,255)))}gg(e,1,wg(null,r,a))}function _g(e,t,r,a){var n,s=Array.isArray(t),i=La(t["!ref"]||"A1"),o="",l=[];if(i.e.c>255||i.e.r>16383){if(a.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),n=Ma(i)}for(var c=i.s.r;c<=i.e.r;++c){o=Sa(c);for(var f=i.s.c;f<=i.e.c;++f){c===i.s.r&&(l[f]=Ra(f)),n=l[f]+o;var u=s?(t[c]||[])[f]:t[n];u&&Tg(e,u,c,f,a)}}}function Eg(e,t){var r=t||{};null!=y&&null==r.dense&&(r.dense=y);for(var a=va(),n=0,s=0;s<e.SheetNames.length;++s)e.SheetNames[s]==r.sheet&&(n=s);if(0==n&&r.sheet&&e.SheetNames[0]!=r.sheet)throw new Error("Sheet not found: "+r.sheet);return gg(a,4==r.biff?1033:3==r.biff?521:9,Hi(e,16,r)),_g(a,e.Sheets[e.SheetNames[n]],n,r,e),gg(a,10),a.end()}function Sg(e,t,r){gg(e,49,lo({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function Ag(e,t,r){t&&[[5,8],[23,26],[41,44],[50,392]].forEach((function(a){for(var n=a[0];n<=a[1];++n)null!=t[n]&&gg(e,1054,mo(n,t[n],r))}))}function xg(e,t){var r=ba(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),gg(e,2151,r),r=ba(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),Ni(La(t["!ref"]||"A1"),r),r.write_shift(4,4),gg(e,2152,r)}function Cg(e,t){for(var r=0;r<16;++r)gg(e,224,Eo({numFmtId:0,style:!0},0,t));t.cellXfs.forEach((function(r){gg(e,224,Eo(r,0,t))}))}function Rg(e,t){for(var r=0;r<t["!links"].length;++r){var a=t["!links"][r];gg(e,440,qo(a)),a[1].Tooltip&&gg(e,2048,Qo(a))}delete t["!links"]}function Pg(e,t){if(t){var r=0;t.forEach((function(t,a){++r<=256&&t&&gg(e,125,il(Dd(a,t),a))}))}}function Og(e,t,r,a,n){var s=16+Md(n.cellXfs,t,n);if(null!=t.v||t.bf)if(t.bf)gg(e,6,gd(t,r,a,n,s));else switch(t.t){case"d":case"n":var i="d"==t.t?ut(yt(t.v)):t.v;gg(e,515,Po(r,a,i,s,n));break;case"b":case"e":gg(e,517,Co(r,a,t.v,s,n,t.t));break;case"s":case"str":if(n.bookSST){var o=Id(n.Strings,t.v,n.revStrings);gg(e,253,fo(r,a,o,s,n))}else gg(e,516,ho(r,a,(t.v||"").slice(0,255),s,n));break;default:gg(e,513,Si(r,a,s))}else gg(e,513,Si(r,a,s))}function Ng(e,t,r){var a,n=va(),s=r.SheetNames[e],i=r.Sheets[s]||{},o=(r||{}).Workbook||{},l=(o.Sheets||[])[e]||{},c=Array.isArray(i),f=8==t.biff,u="",h=[],d=La(i["!ref"]||"A1"),p=f?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(i["!ref"]||"A1")+" exceeds format limit A1:IV16384");d.e.c=Math.min(d.e.c,255),d.e.r=Math.min(d.e.c,p-1)}gg(n,2057,Hi(r,16,t)),gg(n,13,ai(1)),gg(n,12,ai(100)),gg(n,15,ti(!0)),gg(n,17,ti(!1)),gg(n,16,vn(.001)),gg(n,95,ti(!0)),gg(n,42,ti(!1)),gg(n,43,ti(!1)),gg(n,130,ai(1)),gg(n,128,Ao([0,0])),gg(n,131,ti(!1)),gg(n,132,ti(!1)),f&&Pg(n,i["!cols"]),gg(n,512,vo(d,t)),f&&(i["!links"]=[]);for(var m=d.s.r;m<=d.e.r;++m){u=Sa(m);for(var b=d.s.c;b<=d.e.c;++b){m===d.s.r&&(h[b]=Ra(b)),a=h[b]+u;var g=c?(i[m]||[])[b]:i[a];g&&(Og(n,g,m,b,t),f&&g.l&&i["!links"].push([a,g.l]))}}var v=l.CodeName||l.name||s;return f&&gg(n,574,so((o.Views||[])[0])),f&&(i["!merges"]||[]).length&&gg(n,229,Go(i["!merges"])),f&&Rg(n,i),gg(n,442,di(v,t)),f&&xg(n,i),gg(n,10),n.end()}function Ig(e,t,r){var a=va(),n=(e||{}).Workbook||{},s=n.Sheets||[],i=n.WBProps||{},o=8==r.biff,l=5==r.biff;if(gg(a,2057,Hi(e,5,r)),"xla"==r.bookType&&gg(a,135),gg(a,225,o?ai(1200):null),gg(a,193,Js(2)),l&&gg(a,191),l&&gg(a,192),gg(a,226),gg(a,92,Gi("SheetJS",r)),gg(a,66,ai(o?1200:1252)),o&&gg(a,353,ai(0)),o&&gg(a,448),gg(a,317,cl(e.SheetNames.length)),o&&e.vbaraw&&gg(a,211),o&&e.vbaraw){var c=i.CodeName||"ThisWorkbook";gg(a,442,di(c,r))}gg(a,156,ai(17)),gg(a,25,ti(!1)),gg(a,18,ti(!1)),gg(a,19,ai(0)),o&&gg(a,431,ti(!1)),o&&gg(a,444,ai(0)),gg(a,61,ao(r)),gg(a,64,ti(!1)),gg(a,141,ai(0)),gg(a,34,ti("true"==Ym(e))),gg(a,14,ti(!0)),o&&gg(a,439,ti(!1)),gg(a,218,ai(0)),Sg(a,e,r),Ag(a,e.SSF,r),Cg(a,r),o&&gg(a,352,ti(!1));var f=a.end(),u=va();o&&gg(u,140,tl()),o&&r.Strings&&vg(u,252,Zi(r.Strings,r)),gg(u,10);var h=u.end(),d=va(),p=0,m=0;for(m=0;m<e.SheetNames.length;++m)p+=(o?12:11)+(o?2:1)*e.SheetNames[m].length;var b=f.length+p+h.length;for(m=0;m<e.SheetNames.length;++m){var g=s[m]||{};gg(d,133,Yi({pos:b,hs:g.Hidden||0,dt:0,name:e.SheetNames[m]},r)),b+=t[m].length}var v=d.end();if(p!=v.length)throw new Error("BS8 "+p+" != "+v.length);var w=[];return f.length&&w.push(f),v.length&&w.push(v),h.length&&w.push(h),D(w)}function Dg(e,t){var r=t||{},a=[];e&&!e.SSF&&(e.SSF=Tt(q)),e&&e.SSF&&($e(),Ge(e.SSF),r.revssf=lt(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,Uv(r),r.cellXfs=[],Md(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var n=0;n<e.SheetNames.length;++n)a[a.length]=Ng(n,r,e);return a.unshift(Ig(e,a,r)),D(a)}function Fg(e,t){for(var r=0;r<=e.SheetNames.length;++r){var a=e.Sheets[e.SheetNames[r]];if(a&&a["!ref"]){var n=Fa(a["!ref"]);n.e.c>255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}}var s=t||{};switch(s.biff||2){case 8:case 5:return Dg(e,t);case 4:case 3:case 2:return Eg(e,t)}throw new Error("invalid type "+s.bookType+" for BIFF")}function Mg(e,t){var r=t||{};null!=y&&null==r.dense&&(r.dense=y);var a=r.dense?[]:{};e=e.replace(/<!--.*?-->/g,"");var n=e.match(/<table/i);if(!n)throw new Error("Invalid HTML: could not find <table>");var s=e.match(/<\/table/i),i=n.index,o=s&&s.index||e.length,l=xt(e.slice(i,o),/(:?<tr[^>]*>)/i,"<tr>"),c=-1,f=0,u=0,h=0,d={s:{r:1e7,c:1e7},e:{r:0,c:0}},p=[];for(i=0;i<l.length;++i){var m=l[i].trim(),b=m.slice(0,3).toLowerCase();if("<tr"!=b){if("<td"==b||"<th"==b){var g=m.split(/<\/t[dh]>/i);for(o=0;o<g.length;++o){var v=g[o].trim();if(v.match(/<t[dh]/i)){var w=v,k=0;while("<"==w.charAt(0)&&(k=w.indexOf(">"))>-1)w=w.slice(k+1);for(var T=0;T<p.length;++T){var _=p[T];_.s.c==f&&_.s.r<c&&c<=_.e.r&&(f=_.e.c+1,T=-1)}var E=Yt(v.slice(0,v.indexOf(">")));h=E.colspan?+E.colspan:1,((u=+E.rowspan)>1||h>1)&&p.push({s:{r:c,c:f},e:{r:c+(u||1)-1,c:f+h-1}});var S=E.t||E["data-t"]||"";if(w.length)if(w=br(w),d.s.r>c&&(d.s.r=c),d.e.r<c&&(d.e.r=c),d.s.c>f&&(d.s.c=f),d.e.c<f&&(d.e.c=f),w.length){var A={t:"s",v:w};r.raw||!w.trim().length||"s"==S||("TRUE"===w?A={t:"b",v:!0}:"FALSE"===w?A={t:"b",v:!1}:isNaN(Et(w))?isNaN(At(w).getDate())||(A={t:"d",v:yt(w)},r.cellDates||(A={t:"n",v:ut(A.v)}),A.z=r.dateNF||q[14]):A={t:"n",v:Et(w)}),r.dense?(a[c]||(a[c]=[]),a[c][f]=A):a[Da({r:c,c:f})]=A,f+=h}else f+=h;else f+=h}}}}else{if(++c,r.sheetRows&&r.sheetRows<=c){--c;break}f=0}}return a["!ref"]=Ma(d),p.length&&(a["!merges"]=p),a}function Lg(e,t,r,a){for(var n=e["!merges"]||[],s=[],i=t.s.c;i<=t.e.c;++i){for(var o=0,l=0,c=0;c<n.length;++c)if(!(n[c].s.r>r||n[c].s.c>i)&&!(n[c].e.r<r||n[c].e.c<i)){if(n[c].s.r<r||n[c].s.c<i){o=-1;break}o=n[c].e.r-n[c].s.r+1,l=n[c].e.c-n[c].s.c+1;break}if(!(o<0)){var f=Da({r:r,c:i}),u=a.dense?(e[r]||[])[i]:e[f],h=u&&null!=u.v&&(u.h||nr(u.w||(Ua(u),u.w)||""))||"",d={};o>1&&(d.rowspan=o),l>1&&(d.colspan=l),a.editable?h='<span contenteditable="true">'+h+"</span>":u&&(d["data-t"]=u&&u.t||"z",null!=u.v&&(d["data-v"]=u.v),null!=u.z&&(d["data-z"]=u.z),u.l&&"#"!=(u.l.Target||"#").charAt(0)&&(h='<a href="'+u.l.Target+'">'+h+"</a>")),d.id=(a.id||"sjs")+"-"+f,s.push(Er("td",h,d))}}var p="<tr>";return p+s.join("")+"</tr>"}var Bg='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',Ug="</body></html>";function zg(e,t){var r=e.match(/<table[\s\S]*?>[\s\S]*?<\/table>/gi);if(!r||0==r.length)throw new Error("Invalid HTML: could not find <table>");if(1==r.length)return za(Mg(r[0],t),t);var a=Pw();return r.forEach((function(e,r){Ow(a,Mg(e,t),"Sheet"+(r+1))})),a}function Wg(e,t,r){var a=[];return a.join("")+"<table"+(r&&r.id?' id="'+r.id+'"':"")+">"}function Hg(e,t){var r=t||{},a=null!=r.header?r.header:Bg,n=null!=r.footer?r.footer:Ug,s=[a],i=Fa(e["!ref"]);r.dense=Array.isArray(e),s.push(Wg(e,i,r));for(var o=i.s.r;o<=i.e.r;++o)s.push(Lg(e,i,o,r));return s.push("</table>"+n),s.join("")}function jg(e,t,r){var a=r||{};null!=y&&(a.dense=y);var n=0,s=0;if(null!=a.origin)if("number"==typeof a.origin)n=a.origin;else{var i="string"==typeof a.origin?Ia(a.origin):a.origin;n=i.r,s=i.c}var o=t.getElementsByTagName("tr"),l=Math.min(a.sheetRows||1e7,o.length),c={s:{r:0,c:0},e:{r:n,c:s}};if(e["!ref"]){var f=Fa(e["!ref"]);c.s.r=Math.min(c.s.r,f.s.r),c.s.c=Math.min(c.s.c,f.s.c),c.e.r=Math.max(c.e.r,f.e.r),c.e.c=Math.max(c.e.c,f.e.c),-1==n&&(c.e.r=n=f.e.r+1)}var u=[],h=0,d=e["!rows"]||(e["!rows"]=[]),p=0,m=0,b=0,g=0,v=0,w=0;for(e["!cols"]||(e["!cols"]=[]);p<o.length&&m<l;++p){var k=o[p];if($g(k)){if(a.display)continue;d[m]={hidden:!0}}var T=k.children;for(b=g=0;b<T.length;++b){var _=T[b];if(!a.display||!$g(_)){var E=_.hasAttribute("data-v")?_.getAttribute("data-v"):_.hasAttribute("v")?_.getAttribute("v"):br(_.innerHTML),S=_.getAttribute("data-z")||_.getAttribute("z");for(h=0;h<u.length;++h){var A=u[h];A.s.c==g+s&&A.s.r<m+n&&m+n<=A.e.r&&(g=A.e.c+1-s,h=-1)}w=+_.getAttribute("colspan")||1,((v=+_.getAttribute("rowspan")||1)>1||w>1)&&u.push({s:{r:m+n,c:g+s},e:{r:m+n+(v||1)-1,c:g+s+(w||1)-1}});var x={t:"s",v:E},C=_.getAttribute("data-t")||_.getAttribute("t")||"";null!=E&&(0==E.length?x.t=C||"z":a.raw||0==E.trim().length||"s"==C||("TRUE"===E?x={t:"b",v:!0}:"FALSE"===E?x={t:"b",v:!1}:isNaN(Et(E))?isNaN(At(E).getDate())||(x={t:"d",v:yt(E)},a.cellDates||(x={t:"n",v:ut(x.v)}),x.z=a.dateNF||q[14]):x={t:"n",v:Et(E)})),void 0===x.z&&null!=S&&(x.z=S);var R="",P=_.getElementsByTagName("A");if(P&&P.length)for(var O=0;O<P.length;++O)if(P[O].hasAttribute("href")&&(R=P[O].getAttribute("href"),"#"!=R.charAt(0)))break;R&&"#"!=R.charAt(0)&&(x.l={Target:R}),a.dense?(e[m+n]||(e[m+n]=[]),e[m+n][g+s]=x):e[Da({c:g+s,r:m+n})]=x,c.e.c<g+s&&(c.e.c=g+s),g+=w}}++m}return u.length&&(e["!merges"]=(e["!merges"]||[]).concat(u)),c.e.r=Math.max(c.e.r,m-1+n),e["!ref"]=Ma(c),m>=l&&(e["!fullref"]=Ma((c.e.r=o.length-p+m-1+n,c))),e}function Vg(e,t){var r=t||{},a=r.dense?[]:{};return jg(a,e,t)}function Gg(e,t){return za(Vg(e,t),t)}function $g(e){var t="",r=Xg(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}function Xg(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}function Yg(e){var t=e.replace(/[\t\r\n]/g," ").trim().replace(/ +/g," ").replace(/<text:s\/>/g," ").replace(/<text:s text:c="(\d+)"\/>/g,(function(e,t){return Array(parseInt(t,10)+1).join(" ")})).replace(/<text:tab[^>]*\/>/g,"\t").replace(/<text:line-break\/>/g,"\n"),r=Jt(t.replace(/<[^>]*>/g,""));return[r]}var Kg={day:["d","dd"],month:["m","mm"],year:["y","yy"],hours:["h","hh"],minutes:["m","mm"],seconds:["s","ss"],"am-pm":["A/P","AM/PM"],"day-of-week":["ddd","dddd"],era:["e","ee"],quarter:["\\Qm",'m\\"th quarter"']};function Zg(e,t){var r=t||{};null!=y&&null==r.dense&&(r.dense=y);var a,n,s,i,o,l,c,f=xr(e),u=[],h={name:""},d="",p=0,m={},b=[],g=r.dense?[]:{},v={value:""},w="",k=0,T=[],_=-1,E=-1,S={s:{r:1e6,c:1e7},e:{r:0,c:0}},A=0,x={},C=[],R={},P=0,O=0,N=[],I=1,D=1,F=[],M={Names:[]},L={},B=["",""],U=[],z={},W="",H=0,j=!1,V=!1,G=0;Cr.lastIndex=0,f=f.replace(/<!--([\s\S]*?)-->/gm,"").replace(/<!DOCTYPE[^\[]*\[[^\]]*\]>/gm,"");while(o=Cr.exec(f))switch(o[3]=o[3].replace(/_.*$/,"")){case"table":case"工作表":"/"===o[1]?(S.e.c>=S.s.c&&S.e.r>=S.s.r?g["!ref"]=Ma(S):g["!ref"]="A1:A1",r.sheetRows>0&&r.sheetRows<=S.e.r&&(g["!fullref"]=g["!ref"],S.e.r=r.sheetRows-1,g["!ref"]=Ma(S)),C.length&&(g["!merges"]=C),N.length&&(g["!rows"]=N),s.name=s["名称"]||s.name,"undefined"!==typeof JSON&&JSON.stringify(s),b.push(s.name),m[s.name]=g,V=!1):"/"!==o[0].charAt(o[0].length-2)&&(s=Yt(o[0],!1),_=E=-1,S.s.r=S.s.c=1e7,S.e.r=S.e.c=0,g=r.dense?[]:{},C=[],N=[],V=!0);break;case"table-row-group":"/"===o[1]?--A:++A;break;case"table-row":case"行":if("/"===o[1]){_+=I,I=1;break}if(i=Yt(o[0],!1),i["行号"]?_=i["行号"]-1:-1==_&&(_=0),I=+i["number-rows-repeated"]||1,I<10)for(G=0;G<I;++G)A>0&&(N[_+G]={level:A});E=-1;break;case"covered-table-cell":"/"!==o[1]&&++E,r.sheetStubs&&(r.dense?(g[_]||(g[_]=[]),g[_][E]={t:"z"}):g[Da({r:_,c:E})]={t:"z"}),w="",T=[];break;case"table-cell":case"数据":if("/"===o[0].charAt(o[0].length-2))++E,v=Yt(o[0],!1),D=parseInt(v["number-columns-repeated"]||"1",10),l={t:"z",v:null},v.formula&&0!=r.cellFormula&&(l.f=Ad(Jt(v.formula))),"string"==(v["数据类型"]||v["value-type"])&&(l.t="s",l.v=Jt(v["string-value"]||""),r.dense?(g[_]||(g[_]=[]),g[_][E]=l):g[Da({r:_,c:E})]=l),E+=D-1;else if("/"!==o[1]){++E,w="",k=0,T=[],D=1;var $=I?_+I-1:_;if(E>S.e.c&&(S.e.c=E),E<S.s.c&&(S.s.c=E),_<S.s.r&&(S.s.r=_),$>S.e.r&&(S.e.r=$),v=Yt(o[0],!1),U=[],z={},l={t:v["数据类型"]||v["value-type"],v:null},r.cellFormula)if(v.formula&&(v.formula=Jt(v.formula)),v["number-matrix-columns-spanned"]&&v["number-matrix-rows-spanned"]&&(P=parseInt(v["number-matrix-rows-spanned"],10)||0,O=parseInt(v["number-matrix-columns-spanned"],10)||0,R={s:{r:_,c:E},e:{r:_+P-1,c:E+O-1}},l.F=Ma(R),F.push([R,l.F])),v.formula)l.f=Ad(v.formula);else for(G=0;G<F.length;++G)_>=F[G][0].s.r&&_<=F[G][0].e.r&&E>=F[G][0].s.c&&E<=F[G][0].e.c&&(l.F=F[G][1]);switch((v["number-columns-spanned"]||v["number-rows-spanned"])&&(P=parseInt(v["number-rows-spanned"],10)||0,O=parseInt(v["number-columns-spanned"],10)||0,R={s:{r:_,c:E},e:{r:_+P-1,c:E+O-1}},C.push(R)),v["number-columns-repeated"]&&(D=parseInt(v["number-columns-repeated"],10)),l.t){case"boolean":l.t="b",l.v=lr(v["boolean-value"]);break;case"float":l.t="n",l.v=parseFloat(v.value);break;case"percentage":l.t="n",l.v=parseFloat(v.value);break;case"currency":l.t="n",l.v=parseFloat(v.value);break;case"date":l.t="d",l.v=yt(v["date-value"]),r.cellDates||(l.t="n",l.v=ut(l.v)),l.z="m/d/yy";break;case"time":l.t="n",l.v=bt(v["time-value"])/86400,r.cellDates&&(l.t="d",l.v=mt(l.v)),l.z="HH:MM:SS";break;case"number":l.t="n",l.v=parseFloat(v["数据数值"]);break;default:if("string"!==l.t&&"text"!==l.t&&l.t)throw new Error("Unsupported value type "+l.t);l.t="s",null!=v["string-value"]&&(w=Jt(v["string-value"]),T=[])}}else{if(j=!1,"s"===l.t&&(l.v=w||"",T.length&&(l.R=T),j=0==k),L.Target&&(l.l=L),U.length>0&&(l.c=U,U=[]),w&&!1!==r.cellText&&(l.w=w),j&&(l.t="z",delete l.v),(!j||r.sheetStubs)&&!(r.sheetRows&&r.sheetRows<=_))for(var X=0;X<I;++X){if(D=parseInt(v["number-columns-repeated"]||"1",10),r.dense){g[_+X]||(g[_+X]=[]),g[_+X][E]=0==X?l:Tt(l);while(--D>0)g[_+X][E+D]=Tt(l)}else{g[Da({r:_+X,c:E})]=l;while(--D>0)g[Da({r:_+X,c:E+D})]=Tt(l)}S.e.c<=E&&(S.e.c=E)}D=parseInt(v["number-columns-repeated"]||"1",10),E+=D-1,D=0,l={},w="",T=[]}L={};break;case"document":case"document-content":case"电子表格文档":case"spreadsheet":case"主体":case"scripts":case"styles":case"font-face-decls":case"master-styles":if("/"===o[1]){if((a=u.pop())[0]!==o[3])throw"Bad state: "+a}else"/"!==o[0].charAt(o[0].length-2)&&u.push([o[3],!0]);break;case"annotation":if("/"===o[1]){if((a=u.pop())[0]!==o[3])throw"Bad state: "+a;z.t=w,T.length&&(z.R=T),z.a=W,U.push(z)}else"/"!==o[0].charAt(o[0].length-2)&&u.push([o[3],!1]);W="",H=0,w="",k=0,T=[];break;case"creator":"/"===o[1]?W=f.slice(H,o.index):H=o.index+o[0].length;break;case"meta":case"元数据":case"settings":case"config-item-set":case"config-item-map-indexed":case"config-item-map-entry":case"config-item-map-named":case"shapes":case"frame":case"text-box":case"image":case"data-pilot-tables":case"list-style":case"form":case"dde-links":case"event-listeners":case"chart":if("/"===o[1]){if((a=u.pop())[0]!==o[3])throw"Bad state: "+a}else"/"!==o[0].charAt(o[0].length-2)&&u.push([o[3],!1]);w="",k=0,T=[];break;case"scientific-number":break;case"currency-symbol":break;case"currency-style":break;case"number-style":case"percentage-style":case"date-style":case"time-style":if("/"===o[1]){if(x[h.name]=d,(a=u.pop())[0]!==o[3])throw"Bad state: "+a}else"/"!==o[0].charAt(o[0].length-2)&&(d="",h=Yt(o[0],!1),u.push([o[3],!0]));break;case"script":break;case"libraries":break;case"automatic-styles":break;case"default-style":case"page-layout":break;case"style":break;case"map":break;case"font-face":break;case"paragraph-properties":break;case"table-properties":break;case"table-column-properties":break;case"table-row-properties":break;case"table-cell-properties":break;case"number":switch(u[u.length-1][0]){case"time-style":case"date-style":n=Yt(o[0],!1),d+=Kg[o[3]]["long"===n.style?1:0];break}break;case"fraction":break;case"day":case"month":case"year":case"era":case"day-of-week":case"week-of-year":case"quarter":case"hours":case"minutes":case"seconds":case"am-pm":switch(u[u.length-1][0]){case"time-style":case"date-style":n=Yt(o[0],!1),d+=Kg[o[3]]["long"===n.style?1:0];break}break;case"boolean-style":break;case"boolean":break;case"text-style":break;case"text":if("/>"===o[0].slice(-2))break;if("/"===o[1])switch(u[u.length-1][0]){case"number-style":case"date-style":case"time-style":d+=f.slice(p,o.index);break}else p=o.index+o[0].length;break;case"named-range":n=Yt(o[0],!1),B=Cd(n["cell-range-address"]);var Y={Name:n.name,Ref:B[0]+"!"+B[1]};V&&(Y.Sheet=b.length),M.Names.push(Y);break;case"text-content":break;case"text-properties":break;case"embedded-text":break;case"body":case"电子表格":break;case"forms":break;case"table-column":break;case"table-header-rows":break;case"table-rows":break;case"table-column-group":break;case"table-header-columns":break;case"table-columns":break;case"null-date":break;case"graphic-properties":break;case"calculation-settings":break;case"named-expressions":break;case"label-range":break;case"label-ranges":break;case"named-expression":break;case"sort":break;case"sort-by":break;case"sort-groups":break;case"tab":break;case"line-break":break;case"span":break;case"p":case"文本串":if(["master-styles"].indexOf(u[u.length-1][0])>-1)break;if("/"!==o[1]||v&&v["string-value"])c=Yt(o[0],!1),k=o.index+o[0].length;else{var K=Yg(f.slice(k,o.index),c);w=(w.length>0?w+"\n":"")+K[0]}break;case"s":break;case"database-range":if("/"===o[1])break;try{B=Cd(Yt(o[0])["target-range-address"]),m[B[0]]["!autofilter"]={ref:B[1]}}catch(q){}break;case"date":break;case"object":break;case"title":case"标题":break;case"desc":break;case"binary-data":break;case"table-source":break;case"scenario":break;case"iteration":break;case"content-validations":break;case"content-validation":break;case"help-message":break;case"error-message":break;case"database-ranges":break;case"filter":break;case"filter-and":break;case"filter-or":break;case"filter-condition":break;case"list-level-style-bullet":break;case"list-level-style-number":break;case"list-level-properties":break;case"sender-firstname":case"sender-lastname":case"sender-initials":case"sender-title":case"sender-position":case"sender-email":case"sender-phone-private":case"sender-fax":case"sender-company":case"sender-phone-work":case"sender-street":case"sender-city":case"sender-postal-code":case"sender-country":case"sender-state-or-province":case"author-name":case"author-initials":case"chapter":case"file-name":case"template-name":case"sheet-name":break;case"event-listener":break;case"initial-creator":case"creation-date":case"print-date":case"generator":case"document-statistic":case"user-defined":case"editing-duration":case"editing-cycles":break;case"config-item":break;case"page-number":break;case"page-count":break;case"time":break;case"cell-range-source":break;case"detective":break;case"operation":break;case"highlighted-range":break;case"data-pilot-table":case"source-cell-range":case"source-service":case"data-pilot-field":case"data-pilot-level":case"data-pilot-subtotals":case"data-pilot-subtotal":case"data-pilot-members":case"data-pilot-member":case"data-pilot-display-info":case"data-pilot-sort-info":case"data-pilot-layout-info":case"data-pilot-field-reference":case"data-pilot-groups":case"data-pilot-group":case"data-pilot-group-member":break;case"rect":break;case"dde-connection-decls":case"dde-connection-decl":case"dde-link":case"dde-source":break;case"properties":break;case"property":break;case"a":if("/"!==o[1]){if(L=Yt(o[0],!1),!L.href)break;L.Target=Jt(L.href),delete L.href,"#"==L.Target.charAt(0)&&L.Target.indexOf(".")>-1?(B=Cd(L.Target.slice(1)),L.Target="#"+B[0]+"!"+B[1]):L.Target.match(/^\.\.[\\\/]/)&&(L.Target=L.Target.slice(3))}break;case"table-protection":break;case"data-pilot-grand-total":break;case"office-document-common-attrs":break;default:switch(o[2]){case"dc:":case"calcext:":case"loext:":case"ooo:":case"chartooo:":case"draw:":case"style:":case"chart:":case"form:":case"uof:":case"表:":case"字:":break;default:if(r.WTF)throw new Error(o)}}var Z={Sheets:m,SheetNames:b,Workbook:M};return r.bookSheets&&delete Z.Sheets,Z}function qg(e,t){t=t||{},Ot(e,"META-INF/manifest.xml")&&ss(It(e,"META-INF/manifest.xml"),t);var r=Dt(e,"content.xml");if(!r)throw new Error("Missing content.xml in ODS / UOF file");var a=Zg(dr(r),t);return Ot(e,"meta.xml")&&(a.Props=ds(It(e,"meta.xml"))),a}function Jg(e,t){return Zg(e,t)}var Qg=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 "+_r({"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 Wt+t}}(),ev=function(){var e=function(e){return tr(e).replace(/ +/g,(function(e){return'<text:s text:c="'+e.length+'"/>'})).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},t=" <table:table-cell />\n",r=" <table:covered-table-cell/>\n",a=function(a,n,s){var i=[];i.push(' <table:table table:name="'+tr(n.SheetNames[s])+'" table:style-name="ta1">\n');var o=0,l=0,c=Fa(a["!ref"]||"A1"),f=a["!merges"]||[],u=0,h=Array.isArray(a);if(a["!cols"])for(l=0;l<=c.e.c;++l)i.push(" <table:table-column"+(a["!cols"][l]?' table:style-name="co'+a["!cols"][l].ods+'"':"")+"></table:table-column>\n");var d="",p=a["!rows"]||[];for(o=0;o<c.s.r;++o)d=p[o]?' table:style-name="ro'+p[o].ods+'"':"",i.push(" <table:table-row"+d+"></table:table-row>\n");for(;o<=c.e.r;++o){for(d=p[o]?' table:style-name="ro'+p[o].ods+'"':"",i.push(" <table:table-row"+d+">\n"),l=0;l<c.s.c;++l)i.push(t);for(;l<=c.e.c;++l){var m=!1,b={},g="";for(u=0;u!=f.length;++u)if(!(f[u].s.c>l)&&!(f[u].s.r>o)&&!(f[u].e.c<l)&&!(f[u].e.r<o)){f[u].s.c==l&&f[u].s.r==o||(m=!0),b["table:number-columns-spanned"]=f[u].e.c-f[u].s.c+1,b["table:number-rows-spanned"]=f[u].e.r-f[u].s.r+1;break}if(m)i.push(r);else{var v=Da({r:o,c:l}),w=h?(a[o]||[])[l]:a[v];if(w&&w.f&&(b["table:formula"]=tr(xd(w.f)),w.F&&w.F.slice(0,v.length)==v)){var y=Fa(w.F);b["table:number-matrix-columns-spanned"]=y.e.c-y.s.c+1,b["table:number-matrix-rows-spanned"]=y.e.r-y.s.r+1}if(w){switch(w.t){case"b":g=w.v?"TRUE":"FALSE",b["office:value-type"]="boolean",b["office:boolean-value"]=w.v?"true":"false";break;case"n":g=w.w||String(w.v||0),b["office:value-type"]="float",b["office:value"]=w.v||0;break;case"s":case"str":g=null==w.v?"":w.v,b["office:value-type"]="string";break;case"d":g=w.w||yt(w.v).toISOString(),b["office:value-type"]="date",b["office:date-value"]=yt(w.v).toISOString(),b["table:style-name"]="ce1";break;default:i.push(t);continue}var k=e(g);if(w.l&&w.l.Target){var T=w.l.Target;T="#"==T.charAt(0)?"#"+Rd(T.slice(1)):T,"#"==T.charAt(0)||T.match(/^\w+:/)||(T="../"+T),k=Er("text:a",k,{"xlink:href":T.replace(/&/g,"&amp;")})}i.push(" "+Er("table:table-cell",Er("text:p",k,{}),b)+"\n")}else i.push(t)}}i.push(" </table:table-row>\n")}return i.push(" </table:table>\n"),i.join("")},n=function(e,t){e.push(" <office:automatic-styles>\n"),e.push(' <number:date-style style:name="N37" number:automatic-order="true">\n'),e.push(' <number:month number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(' <number:day number:style="long"/>\n'),e.push(" <number:text>/</number:text>\n"),e.push(" <number:year/>\n"),e.push(" </number:date-style>\n");var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var a=0;a<t["!cols"].length;++a)if(t["!cols"][a]){var n=t["!cols"][a];if(null==n.width&&null==n.wpx&&null==n.wch)continue;Nc(n),n.ods=r;var s=t["!cols"][a].wpx+"px";e.push(' <style:style style:name="co'+r+'" style:family="table-column">\n'),e.push(' <style:table-column-properties fo:break-before="auto" style:column-width="'+s+'"/>\n'),e.push(" </style:style>\n"),++r}}));var a=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var r=0;r<t["!rows"].length;++r)if(t["!rows"][r]){t["!rows"][r].ods=a;var n=t["!rows"][r].hpx+"px";e.push(' <style:style style:name="ro'+a+'" style:family="table-row">\n'),e.push(' <style:table-row-properties fo:break-before="auto" style:row-height="'+n+'"/>\n'),e.push(" </style:style>\n"),++a}})),e.push(' <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">\n'),e.push(' <style:table-properties table:display="true" style:writing-mode="lr-tb"/>\n'),e.push(" </style:style>\n"),e.push(' <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>\n'),e.push(" </office:automatic-styles>\n")};return function(e,t){var r=[Wt],s=_r({"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"}),i=_r({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==t.bookType?(r.push("<office:document"+s+i+">\n"),r.push(fs().replace(/office:document-meta/g,"office:meta"))):r.push("<office:document-content"+s+">\n"),n(r,e),r.push(" <office:body>\n"),r.push(" <office:spreadsheet>\n");for(var o=0;o!=e.SheetNames.length;++o)r.push(a(e.Sheets[e.SheetNames[o]],e,o,t));return r.push(" </office:spreadsheet>\n"),r.push(" </office:body>\n"),"fods"==t.bookType?r.push("</office:document>"):r.push("</office:document-content>"),r.join("")}}();function tv(e,t){if("fods"==t.bookType)return ev(e,t);var r=Bt(),a="",n=[],s=[];return a="mimetype",Lt(r,a,"application/vnd.oasis.opendocument.spreadsheet"),a="content.xml",Lt(r,a,ev(e,t)),n.push([a,"text/xml"]),s.push([a,"ContentFile"]),a="styles.xml",Lt(r,a,Qg(e,t)),n.push([a,"text/xml"]),s.push([a,"StylesFile"]),a="meta.xml",Lt(r,a,Wt+fs()),n.push([a,"text/xml"]),s.push([a,"MetadataFile"]),a="manifest.rdf",Lt(r,a,cs(s)),n.push([a,"application/rdf+xml"]),a="META-INF/manifest.xml",Lt(r,a,is(n)),r}
  4. /*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */function rv(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function av(e){return"undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):dr(O(e))}function nv(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):R(pr(e))}function sv(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var a=0;a<t.length;++a)if(e[r+a]!=t[a])continue e;return!0}return!1}function iv(e){var t=e.reduce((function(e,t){return e+t.length}),0),r=new Uint8Array(t),a=0;return e.forEach((function(e){r.set(e,a),a+=e.length})),r}function ov(e){return e-=e>>1&1431655765,e=(858993459&e)+(e>>2&858993459),16843009*(e+(e>>4)&252645135)>>>24}function lv(e,t){for(var r=(127&e[t+15])<<7|e[t+14]>>1,a=1&e[t+14],n=t+13;n>=t;--n)a=256*a+e[n];return(128&e[t+15]?-a:a)*Math.pow(10,r-6176)}function cv(e,t,r){var a=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,n=r/Math.pow(10,a-6176);e[t+15]|=a>>7,e[t+14]|=(127&a)<<1;for(var s=0;n>=1;++s,n/=256)e[t+s]=255&n;e[t+15]|=r>=0?0:128}function fv(e,t){var r=t?t[0]:0,a=127&e[r];e:if(e[r++]>=128){if(a|=(127&e[r])<<7,e[r++]<128)break e;if(a|=(127&e[r])<<14,e[r++]<128)break e;if(a|=(127&e[r])<<21,e[r++]<128)break e;if(a+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)break e;if(a+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)break e;if(a+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)break e}return t&&(t[0]=r),a}function uv(e){var t=new Uint8Array(7);t[0]=127&e;var r=1;e:if(e>127){if(t[r-1]|=128,t[r]=e>>7&127,++r,e<=16383)break e;if(t[r-1]|=128,t[r]=e>>14&127,++r,e<=2097151)break e;if(t[r-1]|=128,t[r]=e>>21&127,++r,e<=268435455)break e;if(t[r-1]|=128,t[r]=e/256>>>21&127,++r,e<=34359738367)break e;if(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 hv(e){var t=0,r=127&e[t];e:if(e[t++]>=128){if(r|=(127&e[t])<<7,e[t++]<128)break e;if(r|=(127&e[t])<<14,e[t++]<128)break e;if(r|=(127&e[t])<<21,e[t++]<128)break e;r|=(127&e[t])<<28}return r}function dv(e){var t=[],r=[0];while(r[0]<e.length){var a=r[0],n=fv(e,r),s=7&n;n=Math.floor(n/8);var i,o=0;if(0==n)break;switch(s){case 0:var l=r[0];while(e[r[0]++]>=128);i=e.slice(l,r[0]);break;case 5:o=4,i=e.slice(r[0],r[0]+o),r[0]+=o;break;case 1:o=8,i=e.slice(r[0],r[0]+o),r[0]+=o;break;case 2:o=fv(e,r),i=e.slice(r[0],r[0]+o),r[0]+=o;break;case 3:case 4:default:throw new Error("PB Type ".concat(s," for Field ").concat(n," at offset ").concat(a))}var c={data:i,type:s};null==t[n]?t[n]=[c]:t[n].push(c)}return t}function pv(e){var t=[];return e.forEach((function(e,r){e.forEach((function(e){e.data&&(t.push(uv(8*r+e.type)),2==e.type&&t.push(uv(e.data.length)),t.push(e.data))}))})),iv(t)}function mv(e,t){return(null==e?void 0:e.map((function(e){return t(e.data)})))||[]}function bv(e){var t,r=[],a=[0];while(a[0]<e.length){var n=fv(e,a),s=dv(e.slice(a[0],a[0]+n));a[0]+=n;var i={id:hv(s[1][0].data),messages:[]};s[2].forEach((function(t){var r=dv(t.data),n=hv(r[3][0].data);i.messages.push({meta:r,data:e.slice(a[0],a[0]+n)}),a[0]+=n})),(null==(t=s[3])?void 0:t[0])&&(i.merge=hv(s[3][0].data)>>>0>0),r.push(i)}return r}function gv(e){var t=[];return e.forEach((function(e){var r=[];r[1]=[{data:uv(e.id),type:0}],r[2]=[],null!=e.merge&&(r[3]=[{data:uv(+!!e.merge),type:0}]);var a=[];e.messages.forEach((function(e){a.push(e.data),e.meta[3]=[{type:0,data:uv(e.data.length)}],r[2].push({data:pv(e.meta),type:2})}));var n=pv(r);t.push(uv(n.length)),t.push(n),a.forEach((function(e){return t.push(e)}))})),iv(t)}function vv(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));var r=[0],a=fv(t,r),n=[];while(r[0]<t.length){var s=3&t[r[0]];if(0!=s){var i=0,o=0;if(1==s?(o=4+(t[r[0]]>>2&7),i=(224&t[r[0]++])<<3,i|=t[r[0]++]):(o=1+(t[r[0]++]>>2),2==s?(i=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(i=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),n=[iv(n)],0==i)throw new Error("Invalid offset 0");if(i>n[0].length)throw new Error("Invalid offset beyond length");if(o>=i){n.push(n[0].slice(-i)),o-=i;while(o>=n[n.length-1].length)n.push(n[n.length-1]),o-=n[n.length-1].length}n.push(n[0].slice(-i,-i+o))}else{var l=t[r[0]++]>>2;if(l<60)++l;else{var c=l-59;l=t[r[0]],c>1&&(l|=t[r[0]+1]<<8),c>2&&(l|=t[r[0]+2]<<16),c>3&&(l|=t[r[0]+3]<<24),l>>>=0,l++,r[0]+=c}n.push(t.slice(r[0],r[0]+l)),r[0]+=l}}var f=iv(n);if(f.length!=a)throw new Error("Unexpected length: ".concat(f.length," != ").concat(a));return f}function wv(e){var t=[],r=0;while(r<e.length){var a=e[r++],n=e[r]|e[r+1]<<8|e[r+2]<<16;r+=3,t.push(vv(a,e.slice(r,r+n))),r+=n}if(r!==e.length)throw new Error("data is not a valid framed stream!");return iv(t)}function yv(e){var t=[],r=0;while(r<e.length){var a=Math.min(e.length-r,268435455),n=new Uint8Array(4);t.push(n);var s=uv(a),i=s.length;t.push(s),a<=60?(i++,t.push(new Uint8Array([a-1<<2]))):a<=256?(i+=2,t.push(new Uint8Array([240,a-1&255]))):a<=65536?(i+=3,t.push(new Uint8Array([244,a-1&255,a-1>>8&255]))):a<=16777216?(i+=4,t.push(new Uint8Array([248,a-1&255,a-1>>8&255,a-1>>16&255]))):a<=4294967296&&(i+=5,t.push(new Uint8Array([252,a-1&255,a-1>>8&255,a-1>>16&255,a-1>>>24&255]))),t.push(e.slice(r,r+a)),i+=a,n[0]=0,n[1]=255&i,n[2]=i>>8&255,n[3]=i>>16&255,r+=a}return iv(t)}function kv(e,t,r,a){var n,s=rv(e),i=s.getUint32(4,!0),o=(a>1?12:8)+4*ov(i&(a>1?3470:398)),l=-1,c=-1,f=NaN,u=new Date(2001,0,1);switch(512&i&&(l=s.getUint32(o,!0),o+=4),o+=4*ov(i&(a>1?12288:4096)),16&i&&(c=s.getUint32(o,!0),o+=4),32&i&&(f=s.getFloat64(o,!0),o+=8),64&i&&(u.setTime(u.getTime()+1e3*s.getFloat64(o,!0)),o+=8),e[2]){case 0:break;case 2:n={t:"n",v:f};break;case 3:n={t:"s",v:t[c]};break;case 5:n={t:"d",v:u};break;case 6:n={t:"b",v:f>0};break;case 7:n={t:"n",v:f/86400};break;case 8:n={t:"e",v:0};break;case 9:if(l>-1)n={t:"s",v:r[l]};else if(c>-1)n={t:"s",v:t[c]};else{if(isNaN(f))throw new Error("Unsupported cell type ".concat(e.slice(0,4)));n={t:"n",v:f}}break;default:throw new Error("Unsupported cell type ".concat(e.slice(0,4)))}return n}function Tv(e,t,r){var a,n=rv(e),s=n.getUint32(8,!0),i=12,o=-1,l=-1,c=NaN,f=NaN,u=new Date(2001,0,1);switch(1&s&&(c=lv(e,i),i+=16),2&s&&(f=n.getFloat64(i,!0),i+=8),4&s&&(u.setTime(u.getTime()+1e3*n.getFloat64(i,!0)),i+=8),8&s&&(l=n.getUint32(i,!0),i+=4),16&s&&(o=n.getUint32(i,!0),i+=4),e[1]){case 0:break;case 2:a={t:"n",v:c};break;case 3:a={t:"s",v:t[l]};break;case 5:a={t:"d",v:u};break;case 6:a={t:"b",v:f>0};break;case 7:a={t:"n",v:f/86400};break;case 8:a={t:"e",v:0};break;case 9:if(!(o>-1))throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&s," : ").concat(e.slice(0,4)));a={t:"s",v:r[o]};break;case 10:a={t:"n",v:c};break;default:throw new Error("Unsupported cell type ".concat(e[1]," : ").concat(31&s," : ").concat(e.slice(0,4)))}return a}function _v(e,t){var r=new Uint8Array(32),a=rv(r),n=12,s=0;switch(r[0]=5,e.t){case"n":r[1]=2,cv(r,n,e.v),s|=1,n+=16;break;case"b":r[1]=6,a.setFloat64(n,e.v?1:0,!0),s|=2,n+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,a.setUint32(n,t.indexOf(e.v),!0),s|=8,n+=4;break;default:throw"unsupported cell type "+e.t}return a.setUint32(8,s,!0),r.slice(0,n)}function Ev(e,t){var r=new Uint8Array(32),a=rv(r),n=12,s=0;switch(r[0]=3,e.t){case"n":r[2]=2,a.setFloat64(n,e.v,!0),s|=32,n+=8;break;case"b":r[2]=6,a.setFloat64(n,e.v?1:0,!0),s|=32,n+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,a.setUint32(n,t.indexOf(e.v),!0),s|=16,n+=4;break;default:throw"unsupported cell type "+e.t}return a.setUint32(4,s,!0),r.slice(0,n)}function Sv(e,t,r){switch(e[0]){case 0:case 1:case 2:case 3:return kv(e,t,r,e[0]);case 5:return Tv(e,t,r);default:throw new Error("Unsupported payload version ".concat(e[0]))}}function Av(e){var t=dv(e);return fv(t[1][0].data)}function xv(e,t){var r=dv(t.data),a=hv(r[1][0].data),n=r[3],s=[];return(n||[]).forEach((function(t){var r=dv(t.data),n=hv(r[1][0].data)>>>0;switch(a){case 1:s[n]=av(r[3][0].data);break;case 8:var i=e[Av(r[9][0].data)][0],o=dv(i.data),l=e[Av(o[1][0].data)][0],c=hv(l.meta[1][0].data);if(2001!=c)throw new Error("2000 unexpected reference to ".concat(c));var f=dv(l.data);s[n]=f[3].map((function(e){return av(e.data)})).join("");break}})),s}function Cv(e,t){var r,a,n,s,i,o,l,c,f,u,h,d,p,m,b,g,v=dv(e),w=hv(v[1][0].data)>>>0,y=hv(v[2][0].data)>>>0,k=(null==(a=null==(r=v[8])?void 0:r[0])?void 0:a.data)&&hv(v[8][0].data)>0||!1;if((null==(s=null==(n=v[7])?void 0:n[0])?void 0:s.data)&&0!=t)b=null==(o=null==(i=v[7])?void 0:i[0])?void 0:o.data,g=null==(c=null==(l=v[6])?void 0:l[0])?void 0:c.data;else{if(!(null==(u=null==(f=v[4])?void 0:f[0])?void 0:u.data)||1==t)throw"NUMBERS Tile missing ".concat(t," cell storage");b=null==(d=null==(h=v[4])?void 0:h[0])?void 0:d.data,g=null==(m=null==(p=v[3])?void 0:p[0])?void 0:m.data}for(var T=k?4:1,_=rv(b),E=[],S=0;S<b.length/2;++S){var A=_.getUint16(2*S,!0);A<65535&&E.push([S,A])}if(E.length!=y)throw"Expected ".concat(y," cells, found ").concat(E.length);var x=[];for(S=0;S<E.length-1;++S)x[E[S][0]]=g.subarray(E[S][1]*T,E[S+1][1]*T);return E.length>=1&&(x[E[E.length-1][0]]=g.subarray(E[E.length-1][1]*T)),{R:w,cells:x}}function Rv(e,t){var r,a=dv(t.data),n=(null==(r=null==a?void 0:a[7])?void 0:r[0])?hv(a[7][0].data)>>>0>0?1:0:-1,s=mv(a[5],(function(e){return Cv(e,n)}));return{nrows:hv(a[4][0].data)>>>0,data:s.reduce((function(e,t){return e[t.R]||(e[t.R]=[]),t.cells.forEach((function(r,a){if(e[t.R][a])throw new Error("Duplicate cell r=".concat(t.R," c=").concat(a));e[t.R][a]=r})),e}),[])}}function Pv(e,t,r){var a,n=dv(t.data),s={s:{r:0,c:0},e:{r:0,c:0}};if(s.e.r=(hv(n[6][0].data)>>>0)-1,s.e.r<0)throw new Error("Invalid row varint ".concat(n[6][0].data));if(s.e.c=(hv(n[7][0].data)>>>0)-1,s.e.c<0)throw new Error("Invalid col varint ".concat(n[7][0].data));r["!ref"]=Ma(s);var i=dv(n[4][0].data),o=xv(e,e[Av(i[4][0].data)][0]),l=(null==(a=i[17])?void 0:a[0])?xv(e,e[Av(i[17][0].data)][0]):[],c=dv(i[3][0].data),f=0;c[1].forEach((function(t){var a=dv(t.data),n=e[Av(a[2][0].data)][0],s=hv(n.meta[1][0].data);if(6002!=s)throw new Error("6001 unexpected reference to ".concat(s));var i=Rv(e,n);i.data.forEach((function(e,t){e.forEach((function(e,a){var n=Da({r:f+t,c:a}),s=Sv(e,o,l);s&&(r[n]=s)}))})),f+=i.nrows}))}function Ov(e,t){var r=dv(t.data),a={"!ref":"A1"},n=e[Av(r[2][0].data)],s=hv(n[0].meta[1][0].data);if(6001!=s)throw new Error("6000 unexpected reference to ".concat(s));return Pv(e,n[0],a),a}function Nv(e,t){var r,a=dv(t.data),n={name:(null==(r=a[1])?void 0:r[0])?av(a[1][0].data):"",sheets:[]},s=mv(a[2],Av);return s.forEach((function(t){e[t].forEach((function(t){var r=hv(t.meta[1][0].data);6e3==r&&n.sheets.push(Ov(e,t))}))})),n}function Iv(e,t){var r=Pw(),a=dv(t.data),n=mv(a[1],Av);if(n.forEach((function(t){e[t].forEach((function(t){var a=hv(t.meta[1][0].data);if(2==a){var n=Nv(e,t);n.sheets.forEach((function(e,t){Ow(r,e,0==t?n.name:n.name+"_"+t,!0)}))}}))})),0==r.SheetNames.length)throw new Error("Empty NUMBERS file");return r}function Dv(e){var t,r,a,n,s={},i=[];if(e.FullPaths.forEach((function(e){if(e.match(/\.iwpv2/))throw new Error("Unsupported password protection")})),e.FileIndex.forEach((function(e){if(e.name.match(/\.iwa$/)){var t,r;try{t=wv(e.content)}catch(a){return console.log("?? "+e.content.length+" "+(a.message||a))}try{r=bv(t)}catch(a){return console.log("## "+(a.message||a))}r.forEach((function(e){s[e.id]=e.messages,i.push(e.id)}))}})),!i.length)throw new Error("File has no messages");var o=(null==(n=null==(a=null==(r=null==(t=null==s?void 0:s[1])?void 0:t[0])?void 0:r.meta)?void 0:a[1])?void 0:n[0].data)&&1==hv(s[1][0].meta[1][0].data)&&s[1][0];if(o||i.forEach((function(e){s[e].forEach((function(e){var t=hv(e.meta[1][0].data)>>>0;if(1==t){if(o)throw new Error("Document has multiple roots");o=e}}))})),!o)throw new Error("Cannot find Document root");return Iv(s,o)}function Fv(e,t,r){var a,n,s,i;if(!(null==(a=e[6])?void 0:a[0])||!(null==(n=e[7])?void 0:n[0]))throw"Mutation only works on post-BNC storages!";var o=(null==(i=null==(s=e[8])?void 0:s[0])?void 0:i.data)&&hv(e[8][0].data)>0||!1;if(o)throw"Math only works with normal offsets";for(var l=0,c=rv(e[7][0].data),f=0,u=[],h=rv(e[4][0].data),d=0,p=[],m=0;m<t.length;++m)if(null!=t[m]){var b,g;switch(c.setUint16(2*m,f,!0),h.setUint16(2*m,d,!0),typeof t[m]){case"string":b=_v({t:"s",v:t[m]},r),g=Ev({t:"s",v:t[m]},r);break;case"number":b=_v({t:"n",v:t[m]},r),g=Ev({t:"n",v:t[m]},r);break;case"boolean":b=_v({t:"b",v:t[m]},r),g=Ev({t:"b",v:t[m]},r);break;default:throw new Error("Unsupported value "+t[m])}u.push(b),f+=b.length,p.push(g),d+=g.length,++l}else c.setUint16(2*m,65535,!0),h.setUint16(2*m,65535);for(e[2][0].data=uv(l);m<e[7][0].data.length/2;++m)c.setUint16(2*m,65535,!0),h.setUint16(2*m,65535,!0);return e[6][0].data=iv(u),e[3][0].data=iv(p),l}function Mv(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 a=Fa(r["!ref"]);a.s.r=a.s.c=0;var n=!1;a.e.c>9&&(n=!0,a.e.c=9),a.e.r>49&&(n=!0,a.e.r=49),n&&console.error("The Numbers writer is currently limited to ".concat(Ma(a)));var s=yw(r,{range:a,header:1}),i=["~Sh33tJ5~"];s.forEach((function(e){return e.forEach((function(e){"string"==typeof e&&i.push(e)}))}));var o={},l=[],c=Qe.read(t.numbers,{type:"base64"});c.FileIndex.map((function(e,t){return[e,c.FullPaths[t]]})).forEach((function(e){var t=e[0],r=e[1];if(2==t.type&&t.name.match(/\.iwa/)){var a=t.content,n=wv(a),s=bv(n);s.forEach((function(e){l.push(e.id),o[e.id]={deps:[],location:r,type:hv(e.messages[0].meta[1][0].data)}}))}})),l.sort((function(e,t){return e-t}));var f=l.filter((function(e){return e>1})).map((function(e){return[e,uv(e)]}));c.FileIndex.map((function(e,t){return[e,c.FullPaths[t]]})).forEach((function(e){var t=e[0];e[1];if(t.name.match(/\.iwa/)){var r=bv(wv(t.content));r.forEach((function(e){e.messages.forEach((function(t){f.forEach((function(t){e.messages.some((function(e){return 11006!=hv(e.meta[1][0].data)&&sv(e.data,t[1])}))&&o[t[0]].deps.push(e.id)}))}))}))}}));for(var u,h=Qe.find(c,o[1].location),d=bv(wv(h.content)),p=0;p<d.length;++p){var m=d[p];1==m.id&&(u=m)}var b=Av(dv(u.messages[0].data)[1][0].data);for(h=Qe.find(c,o[b].location),d=bv(wv(h.content)),p=0;p<d.length;++p)m=d[p],m.id==b&&(u=m);for(b=Av(dv(u.messages[0].data)[2][0].data),h=Qe.find(c,o[b].location),d=bv(wv(h.content)),p=0;p<d.length;++p)m=d[p],m.id==b&&(u=m);for(b=Av(dv(u.messages[0].data)[2][0].data),h=Qe.find(c,o[b].location),d=bv(wv(h.content)),p=0;p<d.length;++p)m=d[p],m.id==b&&(u=m);var g=dv(u.messages[0].data);g[6][0].data=uv(a.e.r+1),g[7][0].data=uv(a.e.c+1);for(var v=Av(g[46][0].data),w=Qe.find(c,o[v].location),y=bv(wv(w.content)),k=0;k<y.length;++k)if(y[k].id==v)break;if(y[k].id!=v)throw"Bad ColumnRowUIDMapArchive";var T=dv(y[k].messages[0].data);T[1]=[],T[2]=[],T[3]=[];for(var _=0;_<=a.e.c;++_){var E=[];E[1]=E[2]=[{type:0,data:uv(_+420690)}],T[1].push({type:2,data:pv(E)}),T[2].push({type:0,data:uv(_)}),T[3].push({type:0,data:uv(_)})}T[4]=[],T[5]=[],T[6]=[];for(var S=0;S<=a.e.r;++S)E=[],E[1]=E[2]=[{type:0,data:uv(S+726270)}],T[4].push({type:2,data:pv(E)}),T[5].push({type:0,data:uv(S)}),T[6].push({type:0,data:uv(S)});y[k].messages[0].data=pv(T),w.content=yv(gv(y)),w.size=w.content.length,delete g[46];var A=dv(g[4][0].data);A[7][0].data=uv(a.e.r+1);var x=dv(A[1][0].data),C=Av(x[2][0].data);if(w=Qe.find(c,o[C].location),y=bv(wv(w.content)),y[0].id!=C)throw"Bad HeaderStorageBucket";var R=dv(y[0].messages[0].data);for(S=0;S<s.length;++S){var P=dv(R[2][0].data);P[1][0].data=uv(S),P[4][0].data=uv(s[S].length),R[2][S]={type:R[2][0].type,data:pv(P)}}y[0].messages[0].data=pv(R),w.content=yv(gv(y)),w.size=w.content.length;var O=Av(A[2][0].data);if(w=Qe.find(c,o[O].location),y=bv(wv(w.content)),y[0].id!=O)throw"Bad HeaderStorageBucket";for(R=dv(y[0].messages[0].data),_=0;_<=a.e.c;++_)P=dv(R[2][0].data),P[1][0].data=uv(_),P[4][0].data=uv(a.e.r+1),R[2][_]={type:R[2][0].type,data:pv(P)};y[0].messages[0].data=pv(R),w.content=yv(gv(y)),w.size=w.content.length;var N=Av(A[4][0].data);(function(){for(var e,t=Qe.find(c,o[N].location),r=bv(wv(t.content)),a=0;a<r.length;++a){var n=r[a];n.id==N&&(e=n)}var s=dv(e.messages[0].data);s[3]=[];var l=[];i.forEach((function(e,t){l[1]=[{type:0,data:uv(t)}],l[2]=[{type:0,data:uv(1)}],l[3]=[{type:2,data:nv(e)}],s[3].push({type:2,data:pv(l)})})),e.messages[0].data=pv(s);var f=gv(r),u=yv(f);t.content=u,t.size=t.content.length})();var I=dv(A[3][0].data),D=I[1][0];delete I[2];var F=dv(D.data),M=Av(F[2][0].data);(function(){for(var e,t=Qe.find(c,o[M].location),r=bv(wv(t.content)),n=0;n<r.length;++n){var l=r[n];l.id==M&&(e=l)}var f=dv(e.messages[0].data);delete f[6],delete I[7];var u=new Uint8Array(f[5][0].data);f[5]=[];for(var h=0,d=0;d<=a.e.r;++d){var p=dv(u);h+=Fv(p,s[d],i),p[1][0].data=uv(d),f[5].push({data:pv(p),type:2})}f[1]=[{type:0,data:uv(a.e.c+1)}],f[2]=[{type:0,data:uv(a.e.r+1)}],f[3]=[{type:0,data:uv(h)}],f[4]=[{type:0,data:uv(a.e.r+1)}],e.messages[0].data=pv(f);var m=gv(r),b=yv(m);t.content=b,t.size=t.content.length})(),D.data=pv(F),A[3][0].data=pv(I),g[4][0].data=pv(A),u.messages[0].data=pv(g);var L=gv(d),B=yv(L);return h.content=B,h.size=h.content.length,c}function Lv(e){return function(t){for(var r=0;r!=e.length;++r){var a=e[r];void 0===t[a[0]]&&(t[a[0]]=a[1]),"n"===a[2]&&(t[a[0]]=Number(t[a[0]]))}}}function Bv(e){Lv([["cellNF",!1],["cellHTML",!0],["cellFormula",!0],["cellStyles",!1],["cellText",!0],["cellDates",!1],["sheetStubs",!1],["sheetRows",0,"n"],["bookDeps",!1],["bookSheets",!1],["bookProps",!1],["bookFiles",!1],["bookVBA",!1],["password",""],["WTF",!1]])(e)}function Uv(e){Lv([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function zv(e){return Qn.WS.indexOf(e)>-1?"sheet":Qn.CS&&e==Qn.CS?"chart":Qn.DS&&e==Qn.DS?"dialog":Qn.MS&&e==Qn.MS?"macro":e&&e.length?e:"sheet"}function Wv(e,t){if(!e)return 0;try{e=t.map((function(t){return t.id||(t.id=t.strRelID),[t.name,e["!id"][t.id].Target,zv(e["!id"][t.id].Type)]}))}catch(r){return null}return e&&0!==e.length?e:null}function Hv(e,t,r,a,n,s,i,o,l,c,f,u){try{s[a]=ts(Dt(e,r,!0),t);var h,d=It(e,t);switch(o){case"sheet":h=mb(d,t,n,l,s[a],c,f,u);break;case"chart":if(h=bb(d,t,n,l,s[a],c,f,u),!h||!h["!drawel"])break;var p=zt(h["!drawel"].Target,t),m=es(p),b=nu(Dt(e,p,!0),ts(Dt(e,m,!0),p)),g=zt(b,p),v=es(g);h=Lm(Dt(e,g,!0),g,l,ts(Dt(e,v,!0),g),c,h);break;case"macro":h=gb(d,t,n,l,s[a],c,f,u);break;case"dialog":h=vb(d,t,n,l,s[a],c,f,u);break;default:throw new Error("Unrecognized sheet type "+o)}i[a]=h;var w=[];s&&s[a]&&st(s[a]).forEach((function(r){var n="";if(s[a][r].Type==Qn.CMNT){n=zt(s[a][r].Target,t);var i=Tb(It(e,n,!0),n,l);if(!i||!i.length)return;ou(h,i,!1)}s[a][r].Type==Qn.TCMNT&&(n=zt(s[a][r].Target,t),w=w.concat(fu(It(e,n,!0),l)))})),w&&w.length&&ou(h,w,!0,l.people||[])}catch(y){if(l.WTF)throw y}}function jv(e){return"/"==e.charAt(0)?e.slice(1):e}function Vv(e,t){if($e(),t=t||{},Bv(t),Ot(e,"META-INF/manifest.xml"))return qg(e,t);if(Ot(e,"objectdata.xml"))return qg(e,t);if(Ot(e,"Index/Document.iwa")){if("undefined"==typeof Uint8Array)throw new Error("NUMBERS file parsing requires Uint8Array support");if("undefined"!=typeof Dv){if(e.FileIndex)return Dv(e);var r=Qe.utils.cfb_new();return Mt(e).forEach((function(t){Lt(r,t,Ft(e,t))})),Dv(r)}throw new Error("Unsupported NUMBERS file")}if(!Ot(e,"[Content_Types].xml")){if(Ot(e,"index.xml.gz"))throw new Error("Unsupported NUMBERS 08 file");if(Ot(e,"index.xml"))throw new Error("Unsupported NUMBERS 09 file");throw new Error("Unsupported ZIP file")}var a,n,s=Mt(e),i=qn(Dt(e,"[Content_Types].xml")),o=!1;if(0===i.workbooks.length&&(n="xl/workbook.xml",It(e,n,!0)&&i.workbooks.push(n)),0===i.workbooks.length){if(n="xl/workbook.bin",!It(e,n,!0))throw new Error("Could not find workbook");i.workbooks.push(n),o=!0}"bin"==i.workbooks[0].slice(-3)&&(o=!0);var l={},c={};if(!t.bookSheets&&!t.bookProps){if(Pd=[],i.sst)try{Pd=kb(It(e,jv(i.sst)),i.sst,t)}catch(P){if(t.WTF)throw P}t.cellStyles&&i.themes.length&&(l=yb(Dt(e,i.themes[0].replace(/^\//,""),!0)||"",i.themes[0],t)),i.style&&(c=wb(It(e,jv(i.style)),i.style,l,t))}i.links.map((function(r){try{var a=ts(Dt(e,es(jv(r))),r);return Eb(It(e,jv(r)),a,r,t)}catch(P){}}));var f=pb(It(e,jv(i.workbooks[0])),i.workbooks[0],t),u={},h="";i.coreprops.length&&(h=It(e,jv(i.coreprops[0]),!0),h&&(u=ds(h)),0!==i.extprops.length&&(h=It(e,jv(i.extprops[0]),!0),h&&ws(h,u,t)));var d={};t.bookSheets&&!t.bookProps||0!==i.custprops.length&&(h=Dt(e,jv(i.custprops[0]),!0),h&&(d=Ts(h,t)));var p={};if((t.bookSheets||t.bookProps)&&(f.Sheets?a=f.Sheets.map((function(e){return e.name})):u.Worksheets&&u.SheetNames.length>0&&(a=u.SheetNames),t.bookProps&&(p.Props=u,p.Custprops=d),t.bookSheets&&"undefined"!==typeof a&&(p.SheetNames=a),t.bookSheets?p.SheetNames:t.bookProps))return p;a={};var m={};t.bookDeps&&i.calcchain&&(m=_b(It(e,jv(i.calcchain)),i.calcchain,t));var b,g,v=0,w={},y=f.Sheets;u.Worksheets=y.length,u.SheetNames=[];for(var k=0;k!=y.length;++k)u.SheetNames[k]=y[k].name;var T=o?"bin":"xml",_=i.workbooks[0].lastIndexOf("/"),E=(i.workbooks[0].slice(0,_+1)+"_rels/"+i.workbooks[0].slice(_+1)+".rels").replace(/^\//,"");Ot(e,E)||(E="xl/_rels/workbook."+T+".rels");var S=ts(Dt(e,E,!0),E.replace(/_rels.*/,"s5s"));(i.metadata||[]).length>=1&&(t.xlmeta=Sb(It(e,jv(i.metadata[0])),i.metadata[0],t)),(i.people||[]).length>=1&&(t.people=hu(It(e,jv(i.people[0])),t)),S&&(S=Wv(S,f.Sheets));var A=It(e,"xl/worksheets/sheet.xml",!0)?1:0;e:for(v=0;v!=u.Worksheets;++v){var x="sheet";if(S&&S[v]?(b="xl/"+S[v][1].replace(/[\/]?xl\//,""),Ot(e,b)||(b=S[v][1]),Ot(e,b)||(b=E.replace(/_rels\/.*$/,"")+S[v][1]),x=S[v][2]):(b="xl/worksheets/sheet"+(v+1-A)+"."+T,b=b.replace(/sheet0\./,"sheet.")),g=b.replace(/^(.*)(\/)([^\/]*)$/,"$1/_rels/$3.rels"),t&&null!=t.sheets)switch(typeof t.sheets){case"number":if(v!=t.sheets)continue e;break;case"string":if(u.SheetNames[v].toLowerCase()!=t.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(t.sheets)){for(var C=!1,R=0;R!=t.sheets.length;++R)"number"==typeof t.sheets[R]&&t.sheets[R]==v&&(C=1),"string"==typeof t.sheets[R]&&t.sheets[R].toLowerCase()==u.SheetNames[v].toLowerCase()&&(C=1);if(!C)continue e}}Hv(e,b,g,u.SheetNames[v],v,w,a,x,t,f,l,c)}return p={Directory:i,Workbook:f,Props:u,Custprops:d,Deps:m,Sheets:a,SheetNames:u.SheetNames,Strings:Pd,Styles:c,Themes:l,SSF:Tt(q)},t&&t.bookFiles&&(e.files?(p.keys=s,p.files=e.files):(p.keys=[],p.files={},e.FullPaths.forEach((function(t,r){t=t.replace(/^Root Entry[\/]/,""),p.keys.push(t),p.files[t]=e.FileIndex[r]})))),t&&t.bookVBA&&(i.vba.length>0?p.vbaraw=It(e,jv(i.vba[0]),!0):i.defaults&&i.defaults.bin===yu&&(p.vbaraw=It(e,"xl/vbaProject.bin",!0))),p}function Gv(e,t){var r=t||{},a="Workbook",n=Qe.find(e,a);try{if(a="/!DataSpaces/Version",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(Zl(n.content),a="/!DataSpaces/DataSpaceMap",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var s=Jl(n.content);if(1!==s.length||1!==s[0].comps.length||0!==s[0].comps[0].t||"StrongEncryptionDataSpace"!==s[0].name||"EncryptedPackage"!==s[0].comps[0].v)throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var i=Ql(n.content);if(1!=i.length||"StrongEncryptionTransform"!=i[0])throw new Error("ECMA-376 Encrypted file bad "+a);if(a="/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);tc(n.content)}catch(l){}if(a="/EncryptionInfo",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);var o=nc(n.content);if(a="/EncryptedPackage",n=Qe.find(e,a),!n||!n.content)throw new Error("ECMA-376 Encrypted file missing "+a);if(4==o[0]&&"undefined"!==typeof decrypt_agile)return decrypt_agile(o[1],n.content,r.password||"",r);if(2==o[0]&&"undefined"!==typeof decrypt_std76)return decrypt_std76(o[1],n.content,r.password||"",r);throw new Error("File is password-protected")}function $v(e,t){return"ods"==t.bookType?tv(e,t):"numbers"==t.bookType?Mv(e,t):"xlsb"==t.bookType?Xv(e,t):Yv(e,t)}function Xv(e,t){su=1024,e&&!e.SSF&&(e.SSF=Tt(q)),e&&e.SSF&&($e(),Ge(e.SSF),t.revssf=lt(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,Nd?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xlsb"==t.bookType?"bin":"xml",a=_u.indexOf(t.bookType)>-1,n=Zn();Uv(t=t||{});var s=Bt(),i="",o=0;if(t.cellXfs=[],Md(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),i="docProps/core.xml",Lt(s,i,ms(e.Props,t)),n.coreprops.push(i),as(t.rels,2,i,Qn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c<e.SheetNames.length;++c)2!=(e.Workbook.Sheets[c]||{}).Hidden&&l.push(e.SheetNames[c]);e.Props.SheetNames=l}else e.Props.SheetNames=e.SheetNames;for(e.Props.Worksheets=e.Props.SheetNames.length,Lt(s,i,ys(e.Props,t)),n.extprops.push(i),as(t.rels,3,i,Qn.EXT_PROPS),e.Custprops!==e.Props&&st(e.Custprops||{}).length>0&&(i="docProps/custom.xml",Lt(s,i,_s(e.Custprops,t)),n.custprops.push(i),as(t.rels,4,i,Qn.CUST_PROPS)),o=1;o<=e.SheetNames.length;++o){var f={"!id":{}},u=e.Sheets[e.SheetNames[o-1]],h=(u||{})["!type"]||"sheet";switch(h){case"chart":default:i="xl/worksheets/sheet"+o+"."+r,Lt(s,i,xb(o-1,i,t,e,f)),n.sheets.push(i),as(t.wbrels,-1,"worksheets/sheet"+o+"."+r,Qn.WS[0])}if(u){var d=u["!comments"],p=!1,m="";d&&d.length>0&&(m="xl/comments"+o+"."+r,Lt(s,m,Pb(d,m,t)),n.comments.push(m),as(f,-1,"../comments"+o+"."+r,Qn.CMNT),p=!0),u["!legacy"]&&p&&Lt(s,"xl/drawings/vmlDrawing"+o+".vml",iu(o,u["!comments"])),delete u["!comments"],delete u["!legacy"]}f["!id"].rId1&&Lt(s,es(i),rs(f))}return null!=t.Strings&&t.Strings.length>0&&(i="xl/sharedStrings."+r,Lt(s,i,Rb(t.Strings,i,t)),n.strs.push(i),as(t.wbrels,-1,"sharedStrings."+r,Qn.SST)),i="xl/workbook."+r,Lt(s,i,Ab(e,i,t)),n.workbooks.push(i),as(t.rels,1,i,Qn.WB),i="xl/theme/theme1.xml",Lt(s,i,If(e.Themes,t)),n.themes.push(i),as(t.wbrels,-1,"theme/theme1.xml",Qn.THEME),i="xl/styles."+r,Lt(s,i,Cb(e,i,t)),n.styles.push(i),as(t.wbrels,-1,"styles."+r,Qn.STY),e.vbaraw&&a&&(i="xl/vbaProject.bin",Lt(s,i,e.vbaraw),n.vba.push(i),as(t.wbrels,-1,"vbaProject.bin",Qn.VBA)),i="xl/metadata."+r,Lt(s,i,Ob(i)),n.metadata.push(i),as(t.wbrels,-1,"metadata."+r,Qn.XLMETA),Lt(s,"[Content_Types].xml",Jn(n,t)),Lt(s,"_rels/.rels",rs(t.rels)),Lt(s,"xl/_rels/workbook."+r+".rels",rs(t.wbrels)),delete t.revssf,delete t.ssf,s}function Yv(e,t){su=1024,e&&!e.SSF&&(e.SSF=Tt(q)),e&&e.SSF&&($e(),Ge(e.SSF),t.revssf=lt(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,Nd?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",a=_u.indexOf(t.bookType)>-1,n=Zn();Uv(t=t||{});var s=Bt(),i="",o=0;if(t.cellXfs=[],Md(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),i="docProps/core.xml",Lt(s,i,ms(e.Props,t)),n.coreprops.push(i),as(t.rels,2,i,Qn.CORE_PROPS),i="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],c=0;c<e.SheetNames.length;++c)2!=(e.Workbook.Sheets[c]||{}).Hidden&&l.push(e.SheetNames[c]);e.Props.SheetNames=l}else e.Props.SheetNames=e.SheetNames;e.Props.Worksheets=e.Props.SheetNames.length,Lt(s,i,ys(e.Props,t)),n.extprops.push(i),as(t.rels,3,i,Qn.EXT_PROPS),e.Custprops!==e.Props&&st(e.Custprops||{}).length>0&&(i="docProps/custom.xml",Lt(s,i,_s(e.Custprops,t)),n.custprops.push(i),as(t.rels,4,i,Qn.CUST_PROPS));var f=["SheetJ5"];for(t.tcid=0,o=1;o<=e.SheetNames.length;++o){var u={"!id":{}},h=e.Sheets[e.SheetNames[o-1]],d=(h||{})["!type"]||"sheet";switch(d){case"chart":default:i="xl/worksheets/sheet"+o+"."+r,Lt(s,i,gp(o-1,t,e,u)),n.sheets.push(i),as(t.wbrels,-1,"worksheets/sheet"+o+"."+r,Qn.WS[0])}if(h){var p=h["!comments"],m=!1,b="";if(p&&p.length>0){var g=!1;p.forEach((function(e){e[1].forEach((function(e){1==e.T&&(g=!0)}))})),g&&(b="xl/threadedComments/threadedComment"+o+"."+r,Lt(s,b,uu(p,f,t)),n.threadedcomments.push(b),as(u,-1,"../threadedComments/threadedComment"+o+"."+r,Qn.TCMNT)),b="xl/comments"+o+"."+r,Lt(s,b,cu(p,t)),n.comments.push(b),as(u,-1,"../comments"+o+"."+r,Qn.CMNT),m=!0}h["!legacy"]&&m&&Lt(s,"xl/drawings/vmlDrawing"+o+".vml",iu(o,h["!comments"])),delete h["!comments"],delete h["!legacy"]}u["!id"].rId1&&Lt(s,es(i),rs(u))}return null!=t.Strings&&t.Strings.length>0&&(i="xl/sharedStrings."+r,Lt(s,i,Hl(t.Strings,t)),n.strs.push(i),as(t.wbrels,-1,"sharedStrings."+r,Qn.SST)),i="xl/workbook."+r,Lt(s,i,tb(e,t)),n.workbooks.push(i),as(t.rels,1,i,Qn.WB),i="xl/theme/theme1.xml",Lt(s,i,If(e.Themes,t)),n.themes.push(i),as(t.wbrels,-1,"theme/theme1.xml",Qn.THEME),i="xl/styles."+r,Lt(s,i,Yc(e,t)),n.styles.push(i),as(t.wbrels,-1,"styles."+r,Qn.STY),e.vbaraw&&a&&(i="xl/vbaProject.bin",Lt(s,i,e.vbaraw),n.vba.push(i),as(t.wbrels,-1,"vbaProject.bin",Qn.VBA)),i="xl/metadata."+r,Lt(s,i,Jf()),n.metadata.push(i),as(t.wbrels,-1,"metadata."+r,Qn.XLMETA),f.length>1&&(i="xl/persons/person.xml",Lt(s,i,du(f,t)),n.people.push(i),as(t.wbrels,-1,"persons/person.xml",Qn.PEOPLE)),Lt(s,"[Content_Types].xml",Jn(n,t)),Lt(s,"_rels/.rels",rs(t.rels)),Lt(s,"xl/_rels/workbook."+r+".rels",rs(t.wbrels)),delete t.revssf,delete t.ssf,s}function Kv(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=E(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 Zv(e,t){return Qe.find(e,"EncryptedPackage")?Gv(e,t):dg(e,t)}function qv(e,t){var r,a=e,n=t||{};return n.type||(n.type=S&&Buffer.isBuffer(e)?"buffer":"base64"),r=Ut(a,n),Vv(r,n)}function Jv(e,t){var r=0;e:while(r<e.length)switch(e.charCodeAt(r)){case 10:case 13:case 32:++r;break;case 60:return Vb(e.slice(r),t);default:break e}return xl.to_workbook(e,t)}function Qv(e,t){var r="",a=Kv(e,t);switch(t.type){case"base64":r=E(e);break;case"binary":r=e;break;case"buffer":r=e.toString("binary");break;case"array":r=kt(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==a[0]&&187==a[1]&&191==a[2]&&(r=dr(r)),t.type="binary",Jv(r,t)}function ew(e,t){var r=e;return"base64"==t.type&&(r=E(r)),r=m.utils.decode(1200,r.slice(2),"str"),t.type="binary",Jv(r,t)}function tw(e){return e.match(/[^\x00-\x7F]/)?pr(e):e}function rw(e,t,r,a){return a?(r.type="string",xl.to_workbook(e,r)):xl.to_workbook(t,r)}function aw(e,t){u();var r=t||{};if("undefined"!==typeof ArrayBuffer&&e instanceof ArrayBuffer)return aw(new Uint8Array(e),(r=Tt(r),r.type="array",r));"undefined"!==typeof Uint8Array&&e instanceof Uint8Array&&!r.type&&(r.type="undefined"!==typeof Deno?"buffer":"array");var a=e,n=[0,0,0,0],s=!1;if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),Od={},r.dateNF&&(Od.dateNF=r.dateNF),r.type||(r.type=S&&Buffer.isBuffer(e)?"buffer":"base64"),"file"==r.type&&(r.type=S?"buffer":"binary",a=nt(e),"undefined"===typeof Uint8Array||S||(r.type="array")),"string"==r.type&&(s=!0,r.type="binary",r.codepage=65001,a=tw(e)),"array"==r.type&&"undefined"!==typeof Uint8Array&&e instanceof Uint8Array&&"undefined"!==typeof ArrayBuffer){var i=new ArrayBuffer(3),o=new Uint8Array(i);if(o.foo="bar",!o.foo)return r=Tt(r),r.type="array",aw(I(a),r)}switch((n=Kv(a,r))[0]){case 208:if(207===n[1]&&17===n[2]&&224===n[3]&&161===n[4]&&177===n[5]&&26===n[6]&&225===n[7])return Zv(Qe.read(a,r),r);break;case 9:if(n[1]<=8)return dg(a,r);break;case 60:return Vb(a,r);case 73:if(73===n[1]&&42===n[2]&&0===n[3])throw new Error("TIFF Image File is not a spreadsheet");if(68===n[1])return Cl(a,r);break;case 84:if(65===n[1]&&66===n[2]&&76===n[3])return Sl.to_workbook(a,r);break;case 80:return 75===n[1]&&n[2]<9&&n[3]<9?qv(a,r):rw(e,a,r,s);case 239:return 60===n[3]?Vb(a,r):rw(e,a,r,s);case 255:if(254===n[1])return ew(a,r);if(0===n[1]&&2===n[2]&&0===n[3])return Rl.to_workbook(a,r);break;case 0:if(0===n[1]){if(n[2]>=2&&0===n[3])return Rl.to_workbook(a,r);if(0===n[2]&&(8===n[3]||9===n[3]))return Rl.to_workbook(a,r)}break;case 3:case 131:case 139:case 140:return _l.to_workbook(a,r);case 123:if(92===n[1]&&114===n[2]&&116===n[3])return gc.to_workbook(a,r);break;case 10:case 13:case 32:return Qv(a,r);case 137:if(80===n[1]&&78===n[2]&&71===n[3])throw new Error("PNG Image File is not a spreadsheet");break}return Tl.indexOf(n[0])>-1&&n[2]<=12&&n[3]<=31?_l.to_workbook(a,r):rw(e,a,r,s)}function nw(e,t){var r=t||{};return r.type="file",aw(e,r)}function sw(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return at(t.file,Qe.write(e,{type:S?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Qe.write(e,t)}function iw(e,t){var r=Tt(t||{}),a=$v(e,r);return lw(a,r)}function ow(e,t){var r=Tt(t||{}),a=Yv(e,r);return lw(a,r)}function lw(e,t){var r={},a=S?"nodebuffer":"undefined"!==typeof Uint8Array?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=a;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=a;break;default:throw new Error("Unrecognized type "+t.type)}var n=e.FullPaths?Qe.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[r.type]||r.type,compression:!!t.compression}):e.generate(r);if("undefined"!==typeof Deno&&"string"==typeof n){if("binary"==t.type||"base64"==t.type)return n;n=new Uint8Array(P(n))}return t.password&&"undefined"!==typeof encrypt_agile?sw(encrypt_agile(n,t.password),t):"file"===t.type?at(t.file,n):"string"==t.type?dr(n):n}function cw(e,t){var r=t||{},a=pg(e,r);return sw(a,r)}function fw(e,t,r){r||(r="");var a=r+e;switch(t.type){case"base64":return _(pr(a));case"binary":return pr(a);case"string":return e;case"file":return at(t.file,a,"utf8");case"buffer":return S?A(a,"utf8"):"undefined"!==typeof TextEncoder?(new TextEncoder).encode(a):fw(a,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function uw(e,t){switch(t.type){case"base64":return _(e);case"binary":return e;case"string":return e;case"file":return at(t.file,e,"binary");case"buffer":return S?A(e,"binary"):e.split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function hw(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",a=0;a<e.length;++a)r+=String.fromCharCode(e[a]);return"base64"==t.type?_(r):"string"==t.type?dr(r):r;case"file":return at(t.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+t.type)}}function dw(e,t){u(),Jm(e);var r=Tt(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var a=dw(e,r);return r.type="array",P(a)}return ow(e,r)}function pw(e,t){u(),Jm(e);var r=Tt(t||{});if(r.cellStyles&&(r.cellNF=!0,r.sheetStubs=!0),"array"==r.type){r.type="binary";var a=pw(e,r);return r.type="array",P(a)}var n=0;if(r.sheet&&(n="number"==typeof r.sheet?r.sheet:e.SheetNames.indexOf(r.sheet),!e.SheetNames[n]))throw new Error("Sheet not found: "+r.sheet+" : "+typeof r.sheet);switch(r.bookType||"xlsb"){case"xml":case"xlml":return fw(ag(e,r),r);case"slk":case"sylk":return fw(El.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"htm":case"html":return fw(Hg(e.Sheets[e.SheetNames[n]],r),r);case"txt":return uw(Ew(e.Sheets[e.SheetNames[n]],r),r);case"csv":return fw(_w(e.Sheets[e.SheetNames[n]],r),r,"\ufeff");case"dif":return fw(Sl.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"dbf":return hw(_l.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"prn":return fw(xl.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"rtf":return fw(gc.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"eth":return fw(Al.from_sheet(e.Sheets[e.SheetNames[n]],r),r);case"fods":return fw(tv(e,r),r);case"wk1":return hw(Rl.sheet_to_wk1(e.Sheets[e.SheetNames[n]],r),r);case"wk3":return hw(Rl.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),hw(Fg(e,r),r);case"biff5":r.biff||(r.biff=5);case"biff8":case"xla":case"xls":return r.biff||(r.biff=8),cw(e,r);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return iw(e,r);default:throw new Error("Unrecognized bookType |"+r.bookType+"|")}}function mw(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 bw(e,t,r){var a=r||{};return a.type="file",a.file=t,mw(a),pw(e,a)}function gw(e,t,r){var a=r||{};return a.type="file",a.file=t,mw(a),dw(e,a)}function vw(e,t,r,a){var n=r||{};n.type="file",n.file=e,mw(n),n.type="buffer";var s=a;return s instanceof Function||(s=r),et.writeFile(e,pw(t,n),s)}function ww(e,t,r,a,n,s,i,o){var l=Sa(r),c=o.defval,f=o.raw||!Object.prototype.hasOwnProperty.call(o,"raw"),u=!0,h=1===n?[]:{};if(1!==n)if(Object.defineProperty)try{Object.defineProperty(h,"__rowNum__",{value:r,enumerable:!1})}catch(b){h.__rowNum__=r}else h.__rowNum__=r;if(!i||e[r])for(var d=t.s.c;d<=t.e.c;++d){var p=i?e[r][d]:e[a[d]+l];if(void 0!==p&&void 0!==p.t){var m=p.v;switch(p.t){case"z":if(null==m)break;continue;case"e":m=0==m?null:void 0;break;case"s":case"d":case"b":case"n":break;default:throw new Error("unrecognized type "+p.t)}if(null!=s[d]){if(null==m)if("e"==p.t&&null===m)h[s[d]]=null;else if(void 0!==c)h[s[d]]=c;else{if(!f||null!==m)continue;h[s[d]]=null}else h[s[d]]=f&&("n"!==p.t||"n"===p.t&&!1!==o.rawNumbers)?m:Ua(p,m,o);null!=m&&(u=!1)}}else{if(void 0===c)continue;null!=s[d]&&(h[s[d]]=c)}}return{row:h,isempty:u}}function yw(e,t){if(null==e||null==e["!ref"])return[];var r={t:"n",v:0},a=0,n=1,s=[],i=0,o="",l={s:{r:0,c:0},e:{r:0,c:0}},c=t||{},f=null!=c.range?c.range:e["!ref"];switch(1===c.header?a=1:"A"===c.header?a=2:Array.isArray(c.header)?a=3:null==c.header&&(a=0),typeof f){case"string":l=La(f);break;case"number":l=La(e["!ref"]),l.s.r=f;break;default:l=f}a>0&&(n=0);var u=Sa(l.s.r),h=[],d=[],p=0,m=0,b=Array.isArray(e),g=l.s.r,v=0,w={};b&&!e[g]&&(e[g]=[]);var y=c.skipHidden&&e["!cols"]||[],k=c.skipHidden&&e["!rows"]||[];for(v=l.s.c;v<=l.e.c;++v)if(!(y[v]||{}).hidden)switch(h[v]=Ra(v),r=b?e[g][v]:e[h[v]+u],a){case 1:s[v]=v-l.s.c;break;case 2:s[v]=h[v];break;case 3:s[v]=c.header[v-l.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),o=i=Ua(r,null,c),m=w[i]||0,m){do{o=i+"_"+m++}while(w[o]);w[i]=m,w[o]=1}else w[i]=1;s[v]=o}for(g=l.s.r+n;g<=l.e.r;++g)if(!(k[g]||{}).hidden){var T=ww(e,l,g,h,a,s,b,c);(!1===T.isempty||(1===a?!1!==c.blankrows:c.blankrows))&&(d[p++]=T.row)}return d.length=p,d}var kw=/"/g;function Tw(e,t,r,a,n,s,i,o){for(var l=!0,c=[],f="",u=Sa(r),h=t.s.c;h<=t.e.c;++h)if(a[h]){var d=o.dense?(e[r]||[])[h]:e[a[h]+u];if(null==d)f="";else if(null!=d.v){l=!1,f=""+(o.rawNumbers&&"n"==d.t?d.v:Ua(d,null,o));for(var p=0,m=0;p!==f.length;++p)if((m=f.charCodeAt(p))===n||m===s||34===m||o.forceQuotes){f='"'+f.replace(kw,'""')+'"';break}"ID"==f&&(f='"ID"')}else null==d.f||d.F?f="":(l=!1,f="="+d.f,f.indexOf(",")>=0&&(f='"'+f.replace(kw,'""')+'"'));c.push(f)}return!1===o.blankrows&&l?null:c.join(i)}function _w(e,t){var r=[],a=null==t?{}:t;if(null==e||null==e["!ref"])return"";var n=La(e["!ref"]),s=void 0!==a.FS?a.FS:",",i=s.charCodeAt(0),o=void 0!==a.RS?a.RS:"\n",l=o.charCodeAt(0),c=new RegExp(("|"==s?"\\|":s)+"+$"),f="",u=[];a.dense=Array.isArray(e);for(var h=a.skipHidden&&e["!cols"]||[],d=a.skipHidden&&e["!rows"]||[],p=n.s.c;p<=n.e.c;++p)(h[p]||{}).hidden||(u[p]=Ra(p));for(var m=0,b=n.s.r;b<=n.e.r;++b)(d[b]||{}).hidden||(f=Tw(e,n,b,u,i,l,s,a),null!=f&&(a.strip&&(f=f.replace(c,"")),(f||!1!==a.blankrows)&&r.push((m++?o:"")+f)));return delete a.dense,r.join("")}function Ew(e,t){t||(t={}),t.FS="\t",t.RS="\n";var r=_w(e,t);if("undefined"==typeof m||"string"==t.type)return r;var a=m.utils.encode(1200,r,"str");return String.fromCharCode(255)+String.fromCharCode(254)+a}function Sw(e){var t,r="",a="";if(null==e||null==e["!ref"])return[];var n,s=La(e["!ref"]),i="",o=[],l=[],c=Array.isArray(e);for(n=s.s.c;n<=s.e.c;++n)o[n]=Ra(n);for(var f=s.s.r;f<=s.e.r;++f)for(i=Sa(f),n=s.s.c;n<=s.e.c;++n)if(r=o[n]+i,t=c?(e[f]||[])[n]:e[r],a="",void 0!==t){if(null!=t.F){if(r=t.F,!t.f)continue;a=t.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=t.f)a=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)a=""+t.v;else if("b"==t.t)a=t.v?"TRUE":"FALSE";else if(void 0!==t.w)a="'"+t.w;else{if(void 0===t.v)continue;a="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=r+"="+a}return l}function Aw(e,t,r){var a,n=r||{},s=+!n.skipHeader,i=e||{},o=0,l=0;if(i&&null!=n.origin)if("number"==typeof n.origin)o=n.origin;else{var c="string"==typeof n.origin?Ia(n.origin):n.origin;o=c.r,l=c.c}var f={s:{c:0,r:0},e:{c:l,r:o+t.length-1+s}};if(i["!ref"]){var u=La(i["!ref"]);f.e.c=Math.max(f.e.c,u.e.c),f.e.r=Math.max(f.e.r,u.e.r),-1==o&&(o=u.e.r+1,f.e.r=o+t.length-1+s)}else-1==o&&(o=0,f.e.r=t.length-1+s);var h=n.header||[],d=0;t.forEach((function(e,t){st(e).forEach((function(r){-1==(d=h.indexOf(r))&&(h[d=h.length]=r);var c=e[r],f="z",u="",p=Da({c:l+d,r:o+t+s});a=Cw(i,p),!c||"object"!==typeof c||c instanceof Date?("number"==typeof c?f="n":"boolean"==typeof c?f="b":"string"==typeof c?f="s":c instanceof Date?(f="d",n.cellDates||(f="n",c=ut(c)),u=n.dateNF||q[14]):null===c&&n.nullError&&(f="e",c=0),a?(a.t=f,a.v=c,delete a.w,delete a.R,u&&(a.z=u)):i[p]=a={t:f,v:c},u&&(a.z=u)):i[p]=c}))})),f.e.c=Math.max(f.e.c,l+h.length-1);var p=Sa(o);if(s)for(d=0;d<h.length;++d)i[Ra(d+l)+p]={t:"s",v:h[d]};return i["!ref"]=Ma(f),i}function xw(e,t){return Aw(null,e,t)}function Cw(e,t,r){if("string"==typeof t){if(Array.isArray(e)){var a=Ia(t);return e[a.r]||(e[a.r]=[]),e[a.r][a.c]||(e[a.r][a.c]={t:"z"})}return e[t]||(e[t]={t:"z"})}return Cw(e,Da("number"!=typeof t?t:{r:t,c:r||0}))}function Rw(e,t){if("number"==typeof t){if(t>=0&&e.SheetNames.length>t)return t;throw new Error("Cannot find sheet # "+t)}if("string"==typeof t){var r=e.SheetNames.indexOf(t);if(r>-1)return r;throw new Error("Cannot find sheet name |"+t+"|")}throw new Error("Cannot find sheet |"+t+"|")}function Pw(){return{SheetNames:[],Sheets:{}}}function Ow(e,t,r,a){var n=1;if(!r)for(;n<=65535;++n,r=void 0)if(-1==e.SheetNames.indexOf(r="Sheet"+n))break;if(!r||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(a&&e.SheetNames.indexOf(r)>=0){var s=r.match(/(^.*?)(\d+)$/);n=s&&+s[2]||0;var i=s&&s[1]||r;for(++n;n<=65535;++n)if(-1==e.SheetNames.indexOf(r=i+n))break}if(Zm(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 Nw(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var a=Rw(e,t);switch(e.Workbook.Sheets[a]||(e.Workbook.Sheets[a]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[a].Hidden=r}function Iw(e,t){return e.z=t,e}function Dw(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}function Fw(e,t,r){return Dw(e,"#"+t,r)}function Mw(e,t,r){e.c||(e.c=[]),e.c.push({t:t,a:r||"SheetJS"})}function Lw(e,t,r,a){for(var n="string"!=typeof t?t:La(t),s="string"==typeof t?t:Ma(t),i=n.s.r;i<=n.e.r;++i)for(var o=n.s.c;o<=n.e.c;++o){var l=Cw(e,i,o);l.t="n",l.F=s,delete l.v,i==n.s.r&&o==n.s.c&&(l.f=r,a&&(l.D=!0))}return e}var Bw,Uw={encode_col:Ra,encode_row:Sa,encode_cell:Da,encode_range:Ma,decode_col:Ca,decode_row:Ea,split_cell:Na,decode_cell:Ia,decode_range:Fa,format_cell:Ua,sheet_add_aoa:Wa,sheet_add_json:Aw,sheet_add_dom:jg,aoa_to_sheet:Ha,json_to_sheet:xw,table_to_sheet:Vg,table_to_book:Gg,sheet_to_csv:_w,sheet_to_txt:Ew,sheet_to_json:yw,sheet_to_html:Hg,sheet_to_formulae:Sw,sheet_to_row_object_array:yw,sheet_get_cell:Cw,book_new:Pw,book_append_sheet:Ow,book_set_sheet_visibility:Nw,cell_set_number_format:Iw,cell_set_hyperlink:Dw,cell_set_internal_link:Fw,cell_add_comment:Mw,sheet_set_array_formula:Lw,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};function zw(e){Bw=e}function Ww(e,t){var r=Bw(),a=null==t?{}:t;if(null==e||null==e["!ref"])return r.push(null),r;var n=La(e["!ref"]),s=void 0!==a.FS?a.FS:",",i=s.charCodeAt(0),o=void 0!==a.RS?a.RS:"\n",l=o.charCodeAt(0),c=new RegExp(("|"==s?"\\|":s)+"+$"),f="",u=[];a.dense=Array.isArray(e);for(var h=a.skipHidden&&e["!cols"]||[],d=a.skipHidden&&e["!rows"]||[],p=n.s.c;p<=n.e.c;++p)(h[p]||{}).hidden||(u[p]=Ra(p));var m=n.s.r,b=!1,g=0;return r._read=function(){if(!b)return b=!0,r.push("\ufeff");while(m<=n.e.r)if(++m,!(d[m-1]||{}).hidden&&(f=Tw(e,n,m-1,u,i,l,s,a),null!=f&&(a.strip&&(f=f.replace(c,"")),f||!1!==a.blankrows)))return r.push((g++?o:"")+f);return r.push(null)},r}function Hw(e,t){var r=Bw(),a=t||{},n=null!=a.header?a.header:Bg,s=null!=a.footer?a.footer:Ug;r.push(n);var i=Fa(e["!ref"]);a.dense=Array.isArray(e),r.push(Wg(e,i,a));var o=i.s.r,l=!1;return r._read=function(){if(o>i.e.r)return l||(l=!0,r.push("</table>"+s)),r.push(null);while(o<=i.e.r){r.push(Lg(e,i,o,a)),++o;break}},r}function jw(e,t){var r=Bw({objectMode:!0});if(null==e||null==e["!ref"])return r.push(null),r;var a={t:"n",v:0},n=0,s=1,i=[],o=0,l="",c={s:{r:0,c:0},e:{r:0,c:0}},f=t||{},u=null!=f.range?f.range:e["!ref"];switch(1===f.header?n=1:"A"===f.header?n=2:Array.isArray(f.header)&&(n=3),typeof u){case"string":c=La(u);break;case"number":c=La(e["!ref"]),c.s.r=u;break;default:c=u}n>0&&(s=0);var h=Sa(c.s.r),d=[],p=0,m=Array.isArray(e),b=c.s.r,g=0,v={};m&&!e[b]&&(e[b]=[]);var w=f.skipHidden&&e["!cols"]||[],y=f.skipHidden&&e["!rows"]||[];for(g=c.s.c;g<=c.e.c;++g)if(!(w[g]||{}).hidden)switch(d[g]=Ra(g),a=m?e[b][g]:e[d[g]+h],n){case 1:i[g]=g-c.s.c;break;case 2:i[g]=d[g];break;case 3:i[g]=f.header[g-c.s.c];break;default:if(null==a&&(a={w:"__EMPTY",t:"s"}),l=o=Ua(a,null,f),p=v[o]||0,p){do{l=o+"_"+p++}while(v[l]);v[o]=p,v[l]=1}else v[o]=1;i[g]=l}return b=c.s.r+s,r._read=function(){while(b<=c.e.r)if(!(y[b-1]||{}).hidden){var t=ww(e,c,b,d,n,i,m,f);if(++b,!1===t.isempty||(1===n?!1!==f.blankrows:f.blankrows))return void r.push(t.row)}return r.push(null)},r}var Vw={to_json:jw,to_html:Hw,to_csv:Ww,set_readable:zw};const Gw=a.version},2954:function(e,t,r){"use strict";var a=r("ebb5"),n=r("b6b7"),s=r("d039"),i=r("f36a"),o=a.aTypedArray,l=a.exportTypedArrayMethod,c=s((function(){new Int8Array(1).slice()}));l("slice",(function(e,t){var r=i(o(this),e,t),a=n(this),s=0,l=r.length,c=new a(l);while(l>s)c[s]=r[s++];return c}),c)},"2b3d":function(e,t,r){r("4002")},3280:function(e,t,r){"use strict";var a=r("ebb5"),n=r("2ba4"),s=r("e58c"),i=a.aTypedArray,o=a.exportTypedArrayMethod;o("lastIndexOf",(function(e){var t=arguments.length;return n(s,i(this),t>1?[e,arguments[1]]:[e])}))},"376d":function(e,t,r){!function(t,a){e.exports=a(r("c4e3"))}(globalThis,e=>(()=>{"use strict";var t={438:(e,t,r)=>{r.r(t),r.d(t,{default:()=>h});var a=r(537),n=r.n(a),s=r(645),i=r.n(s),o=r(806),l=r.n(o),c=new URL(r(583),r.b),f=i()(n()),u=l()(c);f.push([e.id,`@namespace "http://www.w3.org/1998/Math/MathML";math{display:inline-block;line-height:initial}mfrac{display:inline-block;vertical-align:-50%;text-align:center}mfrac>:first-child{border-bottom:solid thin currentColor}mfrac>*{display:block}msub>:nth-child(2){font-size:smaller;vertical-align:sub}msup>:nth-child(2){font-size:smaller;vertical-align:super}munder,mover,munderover{display:inline-flex;flex-flow:column nowrap;vertical-align:middle;text-align:center}munder>:not(:first-child),mover>:not(:first-child),munderover>:not(:first-child){font-size:smaller}munderover>:last-child{order:-1}mroot,msqrt{position:relative;display:inline-block;border-top:solid thin currentColor;margin-top:.5px;vertical-align:middle;margin-left:1ch}mroot:before,msqrt:before{content:"";display:inline-block;position:absolute;width:1ch;left:-1ch;top:-1px;bottom:0;background-image:url(${u})}`,"",{version:3,sources:["webpack://./src/mathml.scss"],names:[],mappings:"AAAA,+CAAA,CAEA,KACI,oBAAA,CACA,mBAAA,CAGJ,MACI,oBAAA,CACA,mBAAA,CACA,iBAAA,CAEA,mBACI,qCAAA,CAGJ,QACI,aAAA,CAKJ,mBACI,iBAAA,CACA,kBAAA,CAKJ,mBACI,iBAAA,CACA,oBAAA,CAIR,wBACI,mBAAA,CACA,uBAAA,CACA,qBAAA,CACA,iBAAA,CAEA,iFACI,iBAAA,CAKJ,uBAAA,QAAA,CAGJ,YACI,iBAAA,CACA,oBAAA,CACA,kCAAA,CACA,eAAA,CACA,qBAAA,CACA,eAAA,CAEA,0BACI,UAAA,CACA,oBAAA,CACA,iBAAA,CACA,SAAA,CACA,SAAA,CACA,QAAA,CACA,QAAA,CACA,wDAAA",sourcesContent:["@namespace \"http://www.w3.org/1998/Math/MathML\";\r\n\r\nmath {\r\n display: inline-block;\r\n line-height: initial;\r\n}\r\n\r\nmfrac {\r\n display: inline-block;\r\n vertical-align: -50%;\r\n text-align: center;\r\n\r\n &>:first-child {\r\n border-bottom: solid thin currentColor;\r\n }\r\n\r\n &>* {\r\n display: block;\r\n }\r\n}\r\n\r\nmsub {\r\n &>:nth-child(2) {\r\n font-size: smaller;\r\n vertical-align: sub;\r\n }\r\n}\r\n\r\nmsup {\r\n &>:nth-child(2) {\r\n font-size: smaller;\r\n vertical-align: super;\r\n }\r\n}\r\n\r\nmunder, mover, munderover {\r\n display: inline-flex;\r\n flex-flow: column nowrap;\r\n vertical-align: middle;\r\n text-align: center;\r\n\r\n &>:not(:first-child) {\r\n font-size: smaller;\r\n }\r\n}\r\n\r\nmunderover {\r\n &>:last-child { order: -1; }\r\n}\r\n\r\nmroot, msqrt {\r\n position: relative;\r\n display: inline-block;\r\n border-top: solid thin currentColor; \r\n margin-top: 0.5px;\r\n vertical-align: middle; \r\n margin-left: 1ch; \r\n\r\n &:before {\r\n content: \"\";\r\n display: inline-block;\r\n position: absolute;\r\n width: 1ch;\r\n left: -1ch;\r\n top: -1px;\r\n bottom: 0;\r\n background-image: url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 100' preserveAspectRatio='none'%3E%3Cpath d='m0,75 l5,0 l5,25 l10,-100' stroke='black' fill='none' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E\");\r\n }\r\n}"],sourceRoot:""}]);const h=f.toString()},645:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r="",a=void 0!==t[5];return t[4]&&(r+="@supports (".concat(t[4],") {")),t[2]&&(r+="@media ".concat(t[2]," {")),a&&(r+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),r+=e(t),a&&(r+="}"),t[2]&&(r+="}"),t[4]&&(r+="}"),r})).join("")},t.i=function(e,r,a,n,s){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(a)for(var o=0;o<this.length;o++){var l=this[o][0];null!=l&&(i[l]=!0)}for(var c=0;c<e.length;c++){var f=[].concat(e[c]);a&&i[f[0]]||(void 0!==s&&(void 0===f[5]||(f[1]="@layer".concat(f[5].length>0?" ".concat(f[5]):""," {").concat(f[1],"}")),f[5]=s),r&&(f[2]?(f[1]="@media ".concat(f[2]," {").concat(f[1],"}"),f[2]=r):f[2]=r),n&&(f[4]?(f[1]="@supports (".concat(f[4],") {").concat(f[1],"}"),f[4]=n):f[4]="".concat(n)),t.push(f))}},t}},806:e=>{e.exports=function(e,t){return t||(t={}),e?(e=String(e.__esModule?e.default:e),/^['"].*['"]$/.test(e)&&(e=e.slice(1,-1)),t.hash&&(e+=t.hash),/["'() \t\n]|(%20)/.test(e)||t.needQuotes?'"'.concat(e.replace(/"/g,'\\"').replace(/\n/g,"\\n"),'"'):e):e}},537:e=>{e.exports=function(e){var t=e[1],r=e[3];if(!r)return t;if("function"==typeof btoa){var a=btoa(unescape(encodeURIComponent(JSON.stringify(r)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(a),s="/*# ".concat(n," */");return[t].concat([s]).join("\n")}return[t].join("\n")}},522:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.OpenXmlPackage=void 0;const a=r(626),n=r(472),s=r(593),i=r(461);class o{constructor(e,t){this._zip=e,this.options=t,this.xmlParser=new n.XmlParser}get(e){return this._zip.files[function(e){return e.startsWith("/")?e.substr(1):e}(e)]}update(e,t){this._zip.file(e,t)}static async load(e,t){const r=await a.loadAsync(e);return new o(r,t)}save(e="blob"){return this._zip.generateAsync({type:e})}load(e,t="string"){var r,a;return null!==(a=null===(r=this.get(e))||void 0===r?void 0:r.async(t))&&void 0!==a?a:Promise.resolve(null)}async loadRelationships(e=null){let t="_rels/.rels";if(null!=e){const[r,a]=(0,s.splitPath)(e);t=`${r}_rels/${a}.rels`}const r=await this.load(t);return r?(0,i.parseRelationships)(this.parseXmlDocument(r).firstElementChild,this.xmlParser):null}parseXmlDocument(e){return(0,n.parseXmlString)(e,this.options.trimXmlDeclaration)}}t.OpenXmlPackage=o},530:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Part=void 0;const a=r(472);t.Part=class{constructor(e,t){this._package=e,this.path=t}async load(){this.rels=await this._package.loadRelationships(this.path);const e=await this._package.load(this.path),t=this._package.parseXmlDocument(e);this._package.options.keepOrigin&&(this._xmlDocument=t),this.parseXml(t.firstElementChild)}save(){this._package.update(this.path,(0,a.serializeXmlString)(this._xmlDocument))}parseXml(e){}}},461:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.parseRelationships=t.RelationshipTypes=void 0,function(e){e.OfficeDocument="http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument",e.FontTable="http://schemas.openxmlformats.org/officeDocument/2006/relationships/fontTable",e.Image="http://schemas.openxmlformats.org/officeDocument/2006/relationships/image",e.Numbering="http://schemas.openxmlformats.org/officeDocument/2006/relationships/numbering",e.Styles="http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles",e.StylesWithEffects="http://schemas.microsoft.com/office/2007/relationships/stylesWithEffects",e.Theme="http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme",e.Settings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/settings",e.WebSettings="http://schemas.openxmlformats.org/officeDocument/2006/relationships/webSettings",e.Hyperlink="http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink",e.Footnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footnotes",e.Endnotes="http://schemas.openxmlformats.org/officeDocument/2006/relationships/endnotes",e.Footer="http://schemas.openxmlformats.org/officeDocument/2006/relationships/footer",e.Header="http://schemas.openxmlformats.org/officeDocument/2006/relationships/header",e.ExtendedProperties="http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties",e.CoreProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties",e.CustomProperties="http://schemas.openxmlformats.org/package/2006/relationships/metadata/custom-properties"}(r||(t.RelationshipTypes=r={})),t.parseRelationships=function(e,t){return t.elements(e).map(e=>({id:t.attr(e,"Id"),type:t.attr(e,"Type"),target:t.attr(e,"Target"),targetMode:t.attr(e,"TargetMode")}))}},168:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentParser=t.autos=void 0;const a=r(120),n=r(109),s=r(59),i=r(472),o=r(488),l=r(172),c=r(149),f=r(320);t.autos={shd:"inherit",color:"black",borderColor:"black",highlight:"transparent"};const u=[],h={oMath:a.DomType.MmlMath,oMathPara:a.DomType.MmlMathParagraph,f:a.DomType.MmlFraction,func:a.DomType.MmlFunction,fName:a.DomType.MmlFunctionName,num:a.DomType.MmlNumerator,den:a.DomType.MmlDenominator,rad:a.DomType.MmlRadical,deg:a.DomType.MmlDegree,e:a.DomType.MmlBase,sSup:a.DomType.MmlSuperscript,sSub:a.DomType.MmlSubscript,sPre:a.DomType.MmlPreSubSuper,sup:a.DomType.MmlSuperArgument,sub:a.DomType.MmlSubArgument,d:a.DomType.MmlDelimiter,nary:a.DomType.MmlNary,eqArr:a.DomType.MmlEquationArray,lim:a.DomType.MmlLimit,limLow:a.DomType.MmlLimitLower,m:a.DomType.MmlMatrix,mr:a.DomType.MmlMatrixRow,box:a.DomType.MmlBox,bar:a.DomType.MmlBar,groupChr:a.DomType.MmlGroupChar};t.DocumentParser=class{constructor(e){this.options=Object.assign({ignoreWidth:!1,debug:!1},e)}parseNotes(e,t,r){var a=[];for(let n of i.default.elements(e,t)){const e=new r;e.id=i.default.attr(n,"id"),e.noteType=i.default.attr(n,"type"),e.children=this.parseBodyElements(n),a.push(e)}return a}parseDocumentFile(e){var t=i.default.element(e,"body"),r=i.default.element(e,"background"),n=i.default.element(t,"sectPr");return{type:a.DomType.Document,children:this.parseBodyElements(t),props:n?(0,s.parseSectionProperties)(n,i.default):{},cssStyle:r?this.parseBackground(r):{}}}parseBackground(e){var t={},r=p.colorAttr(e,"color");return r&&(t["background-color"]=r),t}parseBodyElements(e){var t=[];for(let r of i.default.elements(e))switch(r.localName){case"p":t.push(this.parseParagraph(r));break;case"tbl":t.push(this.parseTable(r));break;case"sdt":t.push(...this.parseSdt(r,e=>this.parseBodyElements(e)))}return t}parseStylesFile(e){var t=[];return p.foreach(e,e=>{switch(e.localName){case"style":t.push(this.parseStyle(e));break;case"docDefaults":t.push(this.parseDefaultStyles(e))}}),t}parseDefaultStyles(e){var t={id:null,name:null,target:null,basedOn:null,styles:[]};return p.foreach(e,e=>{switch(e.localName){case"rPrDefault":var r=i.default.element(e,"rPr");r&&t.styles.push({target:"span",values:this.parseDefaultProperties(r,{})});break;case"pPrDefault":var a=i.default.element(e,"pPr");a&&t.styles.push({target:"p",values:this.parseDefaultProperties(a,{})})}}),t}parseStyle(e){var t={id:i.default.attr(e,"styleId"),isDefault:i.default.boolAttr(e,"default"),name:null,target:null,basedOn:null,styles:[],linked:null};switch(i.default.attr(e,"type")){case"paragraph":t.target="p";break;case"table":t.target="table";break;case"character":t.target="span"}return p.foreach(e,e=>{switch(e.localName){case"basedOn":t.basedOn=i.default.attr(e,"val");break;case"name":t.name=i.default.attr(e,"val");break;case"link":t.linked=i.default.attr(e,"val");break;case"next":t.next=i.default.attr(e,"val");break;case"aliases":t.aliases=i.default.attr(e,"val").split(",");break;case"pPr":t.styles.push({target:"p",values:this.parseDefaultProperties(e,{})}),t.paragraphProps=(0,n.parseParagraphProperties)(e,i.default);break;case"rPr":t.styles.push({target:"span",values:this.parseDefaultProperties(e,{})}),t.runProps=(0,o.parseRunProperties)(e,i.default);break;case"tblPr":case"tcPr":t.styles.push({target:"td",values:this.parseDefaultProperties(e,{})});break;case"tblStylePr":for(let r of this.parseTableStyle(e))t.styles.push(r);break;case"rsid":case"qFormat":case"hidden":case"semiHidden":case"unhideWhenUsed":case"autoRedefine":case"uiPriority":break;default:this.options.debug&&console.warn("DOCX: Unknown style element: "+e.localName)}}),t}parseTableStyle(e){var t=[],r=i.default.attr(e,"type"),a="",n="";switch(r){case"firstRow":n=".first-row",a="tr.first-row td";break;case"lastRow":n=".last-row",a="tr.last-row td";break;case"firstCol":n=".first-col",a="td.first-col";break;case"lastCol":n=".last-col",a="td.last-col";break;case"band1Vert":n=":not(.no-vband)",a="td.odd-col";break;case"band2Vert":n=":not(.no-vband)",a="td.even-col";break;case"band1Horz":n=":not(.no-hband)",a="tr.odd-row";break;case"band2Horz":n=":not(.no-hband)",a="tr.even-row";break;default:return[]}return p.foreach(e,e=>{switch(e.localName){case"pPr":t.push({target:a+" p",mod:n,values:this.parseDefaultProperties(e,{})});break;case"rPr":t.push({target:a+" span",mod:n,values:this.parseDefaultProperties(e,{})});break;case"tblPr":case"tcPr":t.push({target:a,mod:n,values:this.parseDefaultProperties(e,{})})}}),t}parseNumberingFile(e){var t=[],r={},a=[];return p.foreach(e,e=>{switch(e.localName){case"abstractNum":this.parseAbstractNumbering(e,a).forEach(e=>t.push(e));break;case"numPicBullet":a.push(this.parseNumberingPicBullet(e));break;case"num":var n=i.default.attr(e,"numId"),s=i.default.elementAttr(e,"abstractNumId","val");r[s]=n}}),t.forEach(e=>e.id=r[e.id]),t}parseNumberingPicBullet(e){var t=i.default.element(e,"pict"),r=t&&i.default.element(t,"shape"),a=r&&i.default.element(r,"imagedata");return a?{id:i.default.intAttr(e,"numPicBulletId"),src:i.default.attr(a,"id"),style:i.default.attr(r,"style")}:null}parseAbstractNumbering(e,t){var r=[],a=i.default.attr(e,"abstractNumId");return p.foreach(e,e=>{"lvl"===e.localName&&r.push(this.parseNumberingLevel(a,e,t))}),r}parseNumberingLevel(e,t,r){var a={id:e,level:i.default.intAttr(t,"ilvl"),start:1,pStyleName:void 0,pStyle:{},rStyle:{},suff:"tab"};return p.foreach(t,e=>{switch(e.localName){case"start":a.start=i.default.intAttr(e,"val");break;case"pPr":this.parseDefaultProperties(e,a.pStyle);break;case"rPr":this.parseDefaultProperties(e,a.rStyle);break;case"lvlPicBulletId":var t=i.default.intAttr(e,"val");a.bullet=r.find(e=>e.id==t);break;case"lvlText":a.levelText=i.default.attr(e,"val");break;case"pStyle":a.pStyleName=i.default.attr(e,"val");break;case"numFmt":a.format=i.default.attr(e,"val");break;case"suff":a.suff=i.default.attr(e,"val")}}),a}parseSdt(e,t){const r=i.default.element(e,"sdtContent");return r?t(r):[]}parseInserted(e,t){var r,n;return{type:a.DomType.Inserted,children:null!==(n=null===(r=t(e))||void 0===r?void 0:r.children)&&void 0!==n?n:[]}}parseDeleted(e,t){var r,n;return{type:a.DomType.Deleted,children:null!==(n=null===(r=t(e))||void 0===r?void 0:r.children)&&void 0!==n?n:[]}}parseParagraph(e){var t={type:a.DomType.Paragraph,children:[]};for(let r of i.default.elements(e))switch(r.localName){case"pPr":this.parseParagraphProperties(r,t);break;case"r":t.children.push(this.parseRun(r,t));break;case"hyperlink":t.children.push(this.parseHyperlink(r,t));break;case"bookmarkStart":t.children.push((0,l.parseBookmarkStart)(r,i.default));break;case"bookmarkEnd":t.children.push((0,l.parseBookmarkEnd)(r,i.default));break;case"oMath":case"oMathPara":t.children.push(this.parseMathElement(r));break;case"sdt":t.children.push(...this.parseSdt(r,e=>this.parseParagraph(e).children));break;case"ins":t.children.push(this.parseInserted(r,e=>this.parseParagraph(e)));break;case"del":t.children.push(this.parseDeleted(r,e=>this.parseParagraph(e)))}return t}parseParagraphProperties(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,e=>{if((0,n.parseParagraphProperty)(e,t,i.default))return!0;switch(e.localName){case"pStyle":t.styleName=i.default.attr(e,"val");break;case"cnfStyle":t.className=m.classNameOfCnfStyle(e);break;case"framePr":this.parseFrame(e,t);break;case"rPr":break;default:return!1}return!0})}parseFrame(e,t){"drop"==i.default.attr(e,"dropCap")&&(t.cssStyle.float="left")}parseHyperlink(e,t){var r={type:a.DomType.Hyperlink,parent:t,children:[]},n=i.default.attr(e,"anchor"),s=i.default.attr(e,"id");return n&&(r.href="#"+n),s&&(r.id=s),p.foreach(e,e=>{"r"===e.localName&&r.children.push(this.parseRun(e,r))}),r}parseRun(e,t){var r={type:a.DomType.Run,parent:t,children:[]};return p.foreach(e,e=>{switch((e=this.checkAlternateContent(e)).localName){case"t":r.children.push({type:a.DomType.Text,text:e.textContent});break;case"delText":r.children.push({type:a.DomType.DeletedText,text:e.textContent});break;case"fldSimple":r.children.push({type:a.DomType.SimpleField,instruction:i.default.attr(e,"instr"),lock:i.default.boolAttr(e,"lock",!1),dirty:i.default.boolAttr(e,"dirty",!1)});break;case"instrText":r.fieldRun=!0,r.children.push({type:a.DomType.Instruction,text:e.textContent});break;case"fldChar":r.fieldRun=!0,r.children.push({type:a.DomType.ComplexField,charType:i.default.attr(e,"fldCharType"),lock:i.default.boolAttr(e,"lock",!1),dirty:i.default.boolAttr(e,"dirty",!1)});break;case"noBreakHyphen":r.children.push({type:a.DomType.NoBreakHyphen});break;case"br":r.children.push({type:a.DomType.Break,break:i.default.attr(e,"type")||"textWrapping"});break;case"lastRenderedPageBreak":r.children.push({type:a.DomType.Break,break:"lastRenderedPageBreak"});break;case"sym":r.children.push({type:a.DomType.Symbol,font:i.default.attr(e,"font"),char:i.default.attr(e,"char")});break;case"tab":r.children.push({type:a.DomType.Tab});break;case"footnoteReference":r.children.push({type:a.DomType.FootnoteReference,id:i.default.attr(e,"id")});break;case"endnoteReference":r.children.push({type:a.DomType.EndnoteReference,id:i.default.attr(e,"id")});break;case"drawing":let t=this.parseDrawing(e);t&&(r.children=[t]);break;case"pict":r.children.push(this.parseVmlPicture(e));break;case"rPr":this.parseRunProperties(e,r)}}),r}parseMathElement(e){const t=e.localName+"Pr",r={type:h[e.localName],children:[]};for(const s of i.default.elements(e))if(h[s.localName])r.children.push(this.parseMathElement(s));else if("r"==s.localName){var n=this.parseRun(s);n.type=a.DomType.MmlRun,r.children.push(n)}else s.localName==t&&(r.props=this.parseMathProperies(s));return r}parseMathProperies(e){const t={};for(const r of i.default.elements(e))switch(r.localName){case"chr":t.char=i.default.attr(r,"val");break;case"vertJc":t.verticalJustification=i.default.attr(r,"val");break;case"pos":t.position=i.default.attr(r,"val");break;case"degHide":t.hideDegree=i.default.boolAttr(r,"val");break;case"begChr":t.beginChar=i.default.attr(r,"val");break;case"endChr":t.endChar=i.default.attr(r,"val")}return t}parseRunProperties(e,t){this.parseDefaultProperties(e,t.cssStyle={},null,e=>{switch(e.localName){case"rStyle":t.styleName=i.default.attr(e,"val");break;case"vertAlign":t.verticalAlign=m.valueOfVertAlign(e,!0);break;default:return!1}return!0})}parseVmlPicture(e){const t={type:a.DomType.VmlPicture,children:[]};for(const r of i.default.elements(e)){const e=(0,f.parseVmlElement)(r,this);e&&t.children.push(e)}return t}checkAlternateContent(e){var t;if("AlternateContent"!=e.localName)return e;var r=i.default.element(e,"Choice");if(r){var a=i.default.attr(r,"Requires"),n=e.lookupNamespaceURI(a);if(u.includes(n))return r.firstElementChild}return null===(t=i.default.element(e,"Fallback"))||void 0===t?void 0:t.firstElementChild}parseDrawing(e){for(var t of i.default.elements(e))switch(t.localName){case"inline":case"anchor":return this.parseDrawingWrapper(t)}}parseDrawingWrapper(e){var t,r={type:a.DomType.Drawing,children:[],cssStyle:{}},n="anchor"==e.localName;let s=null,o=i.default.boolAttr(e,"simplePos"),l={relative:"page",align:"left",offset:"0"},f={relative:"page",align:"top",offset:"0"};for(var u of i.default.elements(e))switch(u.localName){case"simplePos":o&&(l.offset=i.default.lengthAttr(u,"x",c.LengthUsage.Emu),f.offset=i.default.lengthAttr(u,"y",c.LengthUsage.Emu));break;case"extent":r.cssStyle.width=i.default.lengthAttr(u,"cx",c.LengthUsage.Emu),r.cssStyle.height=i.default.lengthAttr(u,"cy",c.LengthUsage.Emu);break;case"positionH":case"positionV":if(!o){let e="positionH"==u.localName?l:f;var h=i.default.element(u,"align"),d=i.default.element(u,"posOffset");e.relative=null!==(t=i.default.attr(u,"relativeFrom"))&&void 0!==t?t:e.relative,h&&(e.align=h.textContent),d&&(e.offset=p.sizeValue(d,c.LengthUsage.Emu))}break;case"wrapTopAndBottom":s="wrapTopAndBottom";break;case"wrapNone":s="wrapNone";break;case"graphic":var m=this.parseGraphic(u);m&&r.children.push(m)}return"wrapTopAndBottom"==s?(r.cssStyle.display="block",l.align&&(r.cssStyle["text-align"]=l.align,r.cssStyle.width="100%")):"wrapNone"==s?(r.cssStyle.display="block",r.cssStyle.position="relative",r.cssStyle.width="0px",r.cssStyle.height="0px",l.offset&&(r.cssStyle.left=l.offset),f.offset&&(r.cssStyle.top=f.offset)):!n||"left"!=l.align&&"right"!=l.align||(r.cssStyle.float=l.align),r}parseGraphic(e){var t=i.default.element(e,"graphicData");for(let r of i.default.elements(t))if("pic"===r.localName)return this.parsePicture(r);return null}parsePicture(e){var t={type:a.DomType.Image,src:"",cssStyle:{}},r=i.default.element(e,"blipFill"),n=i.default.element(r,"blip");t.src=i.default.attr(n,"embed");var s=i.default.element(e,"spPr"),o=i.default.element(s,"xfrm");for(var l of(t.cssStyle.position="relative",i.default.elements(o)))switch(l.localName){case"ext":t.cssStyle.width=i.default.lengthAttr(l,"cx",c.LengthUsage.Emu),t.cssStyle.height=i.default.lengthAttr(l,"cy",c.LengthUsage.Emu);break;case"off":t.cssStyle.left=i.default.lengthAttr(l,"x",c.LengthUsage.Emu),t.cssStyle.top=i.default.lengthAttr(l,"y",c.LengthUsage.Emu)}return t}parseTable(e){var t={type:a.DomType.Table,children:[]};return p.foreach(e,e=>{switch(e.localName){case"tr":t.children.push(this.parseTableRow(e));break;case"tblGrid":t.columns=this.parseTableColumns(e);break;case"tblPr":this.parseTableProperties(e,t)}}),t}parseTableColumns(e){var t=[];return p.foreach(e,e=>{"gridCol"===e.localName&&t.push({width:i.default.lengthAttr(e,"w")})}),t}parseTableProperties(e,t){switch(t.cssStyle={},t.cellStyle={},this.parseDefaultProperties(e,t.cssStyle,t.cellStyle,e=>{switch(e.localName){case"tblStyle":t.styleName=i.default.attr(e,"val");break;case"tblLook":t.className=m.classNameOftblLook(e);break;case"tblpPr":this.parseTablePosition(e,t);break;case"tblStyleColBandSize":t.colBandSize=i.default.intAttr(e,"val");break;case"tblStyleRowBandSize":t.rowBandSize=i.default.intAttr(e,"val");break;default:return!1}return!0}),t.cssStyle["text-align"]){case"center":delete t.cssStyle["text-align"],t.cssStyle["margin-left"]="auto",t.cssStyle["margin-right"]="auto";break;case"right":delete t.cssStyle["text-align"],t.cssStyle["margin-left"]="auto"}}parseTablePosition(e,t){var r=i.default.lengthAttr(e,"topFromText"),a=i.default.lengthAttr(e,"bottomFromText"),n=i.default.lengthAttr(e,"rightFromText"),s=i.default.lengthAttr(e,"leftFromText");t.cssStyle.float="left",t.cssStyle["margin-bottom"]=m.addSize(t.cssStyle["margin-bottom"],a),t.cssStyle["margin-left"]=m.addSize(t.cssStyle["margin-left"],s),t.cssStyle["margin-right"]=m.addSize(t.cssStyle["margin-right"],n),t.cssStyle["margin-top"]=m.addSize(t.cssStyle["margin-top"],r)}parseTableRow(e){var t={type:a.DomType.Row,children:[]};return p.foreach(e,e=>{switch(e.localName){case"tc":t.children.push(this.parseTableCell(e));break;case"trPr":this.parseTableRowProperties(e,t)}}),t}parseTableRowProperties(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,e=>{switch(e.localName){case"cnfStyle":t.className=m.classNameOfCnfStyle(e);break;case"tblHeader":t.isHeader=i.default.boolAttr(e,"val");break;default:return!1}return!0})}parseTableCell(e){var t={type:a.DomType.Cell,children:[]};return p.foreach(e,e=>{switch(e.localName){case"tbl":t.children.push(this.parseTable(e));break;case"p":t.children.push(this.parseParagraph(e));break;case"tcPr":this.parseTableCellProperties(e,t)}}),t}parseTableCellProperties(e,t){t.cssStyle=this.parseDefaultProperties(e,{},null,e=>{var r;switch(e.localName){case"gridSpan":t.span=i.default.intAttr(e,"val",null);break;case"vMerge":t.verticalMerge=null!==(r=i.default.attr(e,"val"))&&void 0!==r?r:"continue";break;case"cnfStyle":t.className=m.classNameOfCnfStyle(e);break;default:return!1}return!0})}parseDefaultProperties(e,r=null,a=null,n=null){return r=r||{},p.foreach(e,s=>{if(!(null==n?void 0:n(s)))switch(s.localName){case"jc":r["text-align"]=m.valueOfJc(s);break;case"textAlignment":r["vertical-align"]=m.valueOfTextAlignment(s);break;case"color":r.color=p.colorAttr(s,"val",null,t.autos.color);break;case"sz":r["font-size"]=r["min-height"]=i.default.lengthAttr(s,"val",c.LengthUsage.FontSize);break;case"shd":r["background-color"]=p.colorAttr(s,"fill",null,t.autos.shd);break;case"highlight":r["background-color"]=p.colorAttr(s,"val",null,t.autos.highlight);break;case"vertAlign":break;case"position":r.verticalAlign=i.default.lengthAttr(s,"val",c.LengthUsage.FontSize);break;case"tcW":if(this.options.ignoreWidth)break;case"tblW":r.width=m.valueOfSize(s,"w");break;case"trHeight":this.parseTrHeight(s,r);break;case"strike":r["text-decoration"]=i.default.boolAttr(s,"val",!0)?"line-through":"none";break;case"b":r["font-weight"]=i.default.boolAttr(s,"val",!0)?"bold":"normal";break;case"i":r["font-style"]=i.default.boolAttr(s,"val",!0)?"italic":"normal";break;case"caps":r["text-transform"]=i.default.boolAttr(s,"val",!0)?"uppercase":"none";break;case"smallCaps":r["text-transform"]=i.default.boolAttr(s,"val",!0)?"lowercase":"none";break;case"u":this.parseUnderline(s,r);break;case"ind":case"tblInd":this.parseIndentation(s,r);break;case"rFonts":this.parseFont(s,r);break;case"tblBorders":this.parseBorderProperties(s,a||r);break;case"tblCellSpacing":r["border-spacing"]=m.valueOfMargin(s),r["border-collapse"]="separate";break;case"pBdr":this.parseBorderProperties(s,r);break;case"bdr":r.border=m.valueOfBorder(s);break;case"tcBorders":this.parseBorderProperties(s,r);break;case"vanish":i.default.boolAttr(s,"val",!0)&&(r.display="none");break;case"kern":case"noWrap":break;case"tblCellMar":case"tcMar":this.parseMarginProperties(s,a||r);break;case"tblLayout":r["table-layout"]=m.valueOfTblLayout(s);break;case"vAlign":r["vertical-align"]=m.valueOfTextAlignment(s);break;case"spacing":"pPr"==e.localName&&this.parseSpacing(s,r);break;case"wordWrap":i.default.boolAttr(s,"val")&&(r["overflow-wrap"]="break-word");break;case"suppressAutoHyphens":r.hyphens=i.default.boolAttr(s,"val",!0)?"none":"auto";break;case"lang":r.$lang=i.default.attr(s,"val");break;case"bCs":case"iCs":case"szCs":case"tabs":case"outlineLvl":case"contextualSpacing":case"tblStyleColBandSize":case"tblStyleRowBandSize":case"webHidden":case"pageBreakBefore":case"suppressLineNumbers":case"keepLines":case"keepNext":case"widowControl":case"bidi":case"rtl":case"noProof":break;default:this.options.debug&&console.warn(`DOCX: Unknown document element: ${e.localName}.${s.localName}`)}}),r}parseUnderline(e,t){var r=i.default.attr(e,"val");if(null!=r){switch(r){case"dash":case"dashDotDotHeavy":case"dashDotHeavy":case"dashedHeavy":case"dashLong":case"dashLongHeavy":case"dotDash":case"dotDotDash":t["text-decoration-style"]="dashed";break;case"dotted":case"dottedHeavy":t["text-decoration-style"]="dotted";break;case"double":t["text-decoration-style"]="double";break;case"single":case"thick":case"words":t["text-decoration"]="underline";break;case"wave":case"wavyDouble":case"wavyHeavy":t["text-decoration-style"]="wavy";break;case"none":t["text-decoration"]="none"}var a=p.colorAttr(e,"color");a&&(t["text-decoration-color"]=a)}}parseFont(e,t){var r=[i.default.attr(e,"ascii"),m.themeValue(e,"asciiTheme")].filter(e=>e).join(", ");r.length>0&&(t["font-family"]=r)}parseIndentation(e,t){var r=i.default.lengthAttr(e,"firstLine"),a=i.default.lengthAttr(e,"hanging"),n=i.default.lengthAttr(e,"left"),s=i.default.lengthAttr(e,"start"),o=i.default.lengthAttr(e,"right"),l=i.default.lengthAttr(e,"end");r&&(t["text-indent"]=r),a&&(t["text-indent"]="-"+a),(n||s)&&(t["margin-left"]=n||s),(o||l)&&(t["margin-right"]=o||l)}parseSpacing(e,t){var r=i.default.lengthAttr(e,"before"),a=i.default.lengthAttr(e,"after"),n=i.default.intAttr(e,"line",null),s=i.default.attr(e,"lineRule");if(r&&(t["margin-top"]=r),a&&(t["margin-bottom"]=a),null!==n)switch(s){case"auto":t["line-height"]=""+(n/240).toFixed(2);break;case"atLeast":t["line-height"]=`calc(100% + ${n/20}pt)`;break;default:t["line-height"]=t["min-height"]=n/20+"pt"}}parseMarginProperties(e,t){p.foreach(e,e=>{switch(e.localName){case"left":t["padding-left"]=m.valueOfMargin(e);break;case"right":t["padding-right"]=m.valueOfMargin(e);break;case"top":t["padding-top"]=m.valueOfMargin(e);break;case"bottom":t["padding-bottom"]=m.valueOfMargin(e)}})}parseTrHeight(e,t){i.default.attr(e,"hRule"),t.height=i.default.lengthAttr(e,"val")}parseBorderProperties(e,t){p.foreach(e,e=>{switch(e.localName){case"start":case"left":t["border-left"]=m.valueOfBorder(e);break;case"end":case"right":t["border-right"]=m.valueOfBorder(e);break;case"top":t["border-top"]=m.valueOfBorder(e);break;case"bottom":t["border-bottom"]=m.valueOfBorder(e)}})}};const d=["black","blue","cyan","darkBlue","darkCyan","darkGray","darkGreen","darkMagenta","darkRed","darkYellow","green","lightGray","magenta","none","red","white","yellow"];class p{static foreach(e,t){for(var r=0;r<e.childNodes.length;r++){let a=e.childNodes[r];a.nodeType==Node.ELEMENT_NODE&&t(a)}}static colorAttr(e,t,r=null,a="black"){var n=i.default.attr(e,t);if(n)return"auto"==n?a:d.includes(n)?n:"#"+n;var s=i.default.attr(e,"themeColor");return s?`var(--docx-${s}-color)`:r}static sizeValue(e,t=c.LengthUsage.Dxa){return(0,c.convertLength)(e.textContent,t)}}class m{static themeValue(e,t){var r=i.default.attr(e,t);return r?`var(--docx-${r}-font)`:null}static valueOfSize(e,t){var r=c.LengthUsage.Dxa;switch(i.default.attr(e,"type")){case"dxa":break;case"pct":r=c.LengthUsage.Percent;break;case"auto":return"auto"}return i.default.lengthAttr(e,t,r)}static valueOfMargin(e){return i.default.lengthAttr(e,"w")}static valueOfBorder(e){if("nil"==i.default.attr(e,"val"))return"none";var r=p.colorAttr(e,"color");return`${i.default.lengthAttr(e,"sz",c.LengthUsage.Border)} solid ${"auto"==r?t.autos.borderColor:r}`}static valueOfTblLayout(e){return"fixed"==i.default.attr(e,"val")?"fixed":"auto"}static classNameOfCnfStyle(e){const t=i.default.attr(e,"val");return["first-row","last-row","first-col","last-col","odd-col","even-col","odd-row","even-row","ne-cell","nw-cell","se-cell","sw-cell"].filter((e,r)=>"1"==t[r]).join(" ")}static valueOfJc(e){var t=i.default.attr(e,"val");switch(t){case"start":case"left":return"left";case"center":return"center";case"end":case"right":return"right";case"both":return"justify"}return t}static valueOfVertAlign(e,t=!1){var r=i.default.attr(e,"val");switch(r){case"subscript":return"sub";case"superscript":return t?"sup":"super"}return t?null:r}static valueOfTextAlignment(e){var t=i.default.attr(e,"val");switch(t){case"auto":case"baseline":return"baseline";case"top":return"top";case"center":return"middle";case"bottom":return"bottom"}return t}static addSize(e,t){return null==e?t:null==t?e:`calc(${e} + ${t})`}static classNameOftblLook(e){const t=i.default.hexAttr(e,"val",0);let r="";return(i.default.boolAttr(e,"firstRow")||32&t)&&(r+=" first-row"),(i.default.boolAttr(e,"lastRow")||64&t)&&(r+=" last-row"),(i.default.boolAttr(e,"firstColumn")||128&t)&&(r+=" first-col"),(i.default.boolAttr(e,"lastColumn")||256&t)&&(r+=" last-col"),(i.default.boolAttr(e,"noHBand")||512&t)&&(r+=" no-hband"),(i.default.boolAttr(e,"noVBand")||1024&t)&&(r+=" no-vband"),r.trim()}}},162:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CorePropsPart=void 0;const a=r(530),n=r(614);class s extends a.Part{parseXml(e){this.props=(0,n.parseCoreProps)(e,this._package.xmlParser)}}t.CorePropsPart=s},614:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseCoreProps=void 0,t.parseCoreProps=function(e,t){const r={};for(let a of t.elements(e))switch(a.localName){case"title":r.title=a.textContent;break;case"description":r.description=a.textContent;break;case"subject":r.subject=a.textContent;break;case"creator":r.creator=a.textContent;break;case"keywords":r.keywords=a.textContent;break;case"language":r.language=a.textContent;break;case"lastModifiedBy":r.lastModifiedBy=a.textContent;break;case"revision":a.textContent&&(r.revision=parseInt(a.textContent))}return r}},177:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CustomPropsPart=void 0;const a=r(530),n=r(821);class s extends a.Part{parseXml(e){this.props=(0,n.parseCustomProps)(e,this._package.xmlParser)}}t.CustomPropsPart=s},821:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseCustomProps=void 0,t.parseCustomProps=function(e,t){return t.elements(e,"property").map(e=>{const r=e.firstChild;return{formatId:t.attr(e,"fmtid"),name:t.attr(e,"name"),type:r.nodeName,value:r.textContent}})}},665:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ExtendedPropsPart=void 0;const a=r(530),n=r(668);class s extends a.Part{parseXml(e){this.props=(0,n.parseExtendedProps)(e,this._package.xmlParser)}}t.ExtendedPropsPart=s},668:(e,t)=>{function r(e){if(void 0!==e)return parseInt(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.parseExtendedProps=void 0,t.parseExtendedProps=function(e,t){const a={};for(let n of t.elements(e))switch(n.localName){case"Template":a.template=n.textContent;break;case"Pages":a.pages=r(n.textContent);break;case"Words":a.words=r(n.textContent);break;case"Characters":a.characters=r(n.textContent);break;case"Application":a.application=n.textContent;break;case"Lines":a.lines=r(n.textContent);break;case"Paragraphs":a.paragraphs=r(n.textContent);break;case"Company":a.company=n.textContent;break;case"AppVersion":a.appVersion=n.textContent}return a}},172:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseBookmarkEnd=t.parseBookmarkStart=void 0;const a=r(120);t.parseBookmarkStart=function(e,t){return{type:a.DomType.BookmarkStart,id:t.attr(e,"id"),name:t.attr(e,"name"),colFirst:t.intAttr(e,"colFirst"),colLast:t.intAttr(e,"colLast")}},t.parseBookmarkEnd=function(e,t){return{type:a.DomType.BookmarkEnd,id:t.attr(e,"id")}}},191:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseBorders=t.parseBorder=void 0;const a=r(149);function n(e,t){return{type:t.attr(e,"val"),color:t.attr(e,"color"),size:t.lengthAttr(e,"sz",a.LengthUsage.Border),offset:t.lengthAttr(e,"space",a.LengthUsage.Point),frame:t.boolAttr(e,"frame"),shadow:t.boolAttr(e,"shadow")}}t.parseBorder=n,t.parseBorders=function(e,t){var r={};for(let a of t.elements(e))switch(a.localName){case"left":r.left=n(a,t);break;case"top":r.top=n(a,t);break;case"right":r.right=n(a,t);break;case"bottom":r.bottom=n(a,t)}return r}},149:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseCommonProperty=t.convertPercentage=t.convertBoolean=t.convertLength=t.LengthUsage=t.ns=void 0,t.ns={wordml:"http://schemas.openxmlformats.org/wordprocessingml/2006/main",drawingml:"http://schemas.openxmlformats.org/drawingml/2006/main",picture:"http://schemas.openxmlformats.org/drawingml/2006/picture",compatibility:"http://schemas.openxmlformats.org/markup-compatibility/2006",math:"http://schemas.openxmlformats.org/officeDocument/2006/math"},t.LengthUsage={Dxa:{mul:.05,unit:"pt"},Emu:{mul:1/12700,unit:"pt"},FontSize:{mul:.5,unit:"pt"},Border:{mul:.125,unit:"pt"},Point:{mul:1,unit:"pt"},Percent:{mul:.02,unit:"%"},LineHeight:{mul:1/240,unit:""},VmlEmu:{mul:1/12700,unit:""}},t.convertLength=function(e,r=t.LengthUsage.Dxa){return null==e||/.+(p[xt]|[%])$/.test(e)?e:`${(parseInt(e)*r.mul).toFixed(2)}${r.unit}`},t.convertBoolean=function(e,t=!1){switch(e){case"1":case"on":case"true":return!0;case"0":case"off":case"false":return!1;default:return t}},t.convertPercentage=function(e){return e?parseInt(e)/100:null},t.parseCommonProperty=function(e,r,a){if(e.namespaceURI!=t.ns.wordml)return!1;switch(e.localName){case"color":r.color=a.attr(e,"val");break;case"sz":r.fontSize=a.lengthAttr(e,"val",t.LengthUsage.FontSize);break;default:return!1}return!0}},448:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentPart=void 0;const a=r(530);class n extends a.Part{constructor(e,t,r){super(e,t),this._documentParser=r}parseXml(e){this.body=this._documentParser.parseDocumentFile(e)}}t.DocumentPart=n},120:(e,t)=>{var r;Object.defineProperty(t,"__esModule",{value:!0}),t.OpenXmlElementBase=t.DomType=void 0,function(e){e.Document="document",e.Paragraph="paragraph",e.Run="run",e.Break="break",e.NoBreakHyphen="noBreakHyphen",e.Table="table",e.Row="row",e.Cell="cell",e.Hyperlink="hyperlink",e.Drawing="drawing",e.Image="image",e.Text="text",e.Tab="tab",e.Symbol="symbol",e.BookmarkStart="bookmarkStart",e.BookmarkEnd="bookmarkEnd",e.Footer="footer",e.Header="header",e.FootnoteReference="footnoteReference",e.EndnoteReference="endnoteReference",e.Footnote="footnote",e.Endnote="endnote",e.SimpleField="simpleField",e.ComplexField="complexField",e.Instruction="instruction",e.VmlPicture="vmlPicture",e.MmlMath="mmlMath",e.MmlMathParagraph="mmlMathParagraph",e.MmlFraction="mmlFraction",e.MmlFunction="mmlFunction",e.MmlFunctionName="mmlFunctionName",e.MmlNumerator="mmlNumerator",e.MmlDenominator="mmlDenominator",e.MmlRadical="mmlRadical",e.MmlBase="mmlBase",e.MmlDegree="mmlDegree",e.MmlSuperscript="mmlSuperscript",e.MmlSubscript="mmlSubscript",e.MmlPreSubSuper="mmlPreSubSuper",e.MmlSubArgument="mmlSubArgument",e.MmlSuperArgument="mmlSuperArgument",e.MmlNary="mmlNary",e.MmlDelimiter="mmlDelimiter",e.MmlRun="mmlRun",e.MmlEquationArray="mmlEquationArray",e.MmlLimit="mmlLimit",e.MmlLimitLower="mmlLimitLower",e.MmlMatrix="mmlMatrix",e.MmlMatrixRow="mmlMatrixRow",e.MmlBox="mmlBox",e.MmlBar="mmlBar",e.MmlGroupChar="mmlGroupChar",e.VmlElement="vmlElement",e.Inserted="inserted",e.Deleted="deleted",e.DeletedText="deletedText"}(r||(t.DomType=r={})),t.OpenXmlElementBase=class{constructor(){this.children=[],this.cssStyle={}}}},931:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseLineSpacing=void 0,t.parseLineSpacing=function(e,t){return{before:t.lengthAttr(e,"before"),after:t.lengthAttr(e,"after"),line:t.intAttr(e,"line"),lineRule:t.attr(e,"lineRule")}}},109:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseNumbering=t.parseTabs=t.parseParagraphProperty=t.parseParagraphProperties=void 0;const a=r(149),n=r(59),s=r(931),i=r(488);function o(e,t,r){if(e.namespaceURI!=a.ns.wordml)return!1;if((0,a.parseCommonProperty)(e,t,r))return!0;switch(e.localName){case"tabs":t.tabs=l(e,r);break;case"sectPr":t.sectionProps=(0,n.parseSectionProperties)(e,r);break;case"numPr":t.numbering=c(e,r);break;case"spacing":return t.lineSpacing=(0,s.parseLineSpacing)(e,r),!1;case"textAlignment":return t.textAlignment=r.attr(e,"val"),!1;case"keepNext":t.keepLines=r.boolAttr(e,"val",!0);break;case"keepNext":t.keepNext=r.boolAttr(e,"val",!0);break;case"pageBreakBefore":t.pageBreakBefore=r.boolAttr(e,"val",!0);break;case"outlineLvl":t.outlineLevel=r.intAttr(e,"val");break;case"pStyle":t.styleName=r.attr(e,"val");break;case"rPr":t.runProps=(0,i.parseRunProperties)(e,r);break;default:return!1}return!0}function l(e,t){return t.elements(e,"tab").map(e=>({position:t.lengthAttr(e,"pos"),leader:t.attr(e,"leader"),style:t.attr(e,"val")}))}function c(e,t){var r={};for(let a of t.elements(e))switch(a.localName){case"numId":r.id=t.attr(a,"val");break;case"ilvl":r.level=t.intAttr(a,"val")}return r}t.parseParagraphProperties=function(e,t){let r={};for(let a of t.elements(e))o(a,r,t);return r},t.parseParagraphProperty=o,t.parseTabs=l,t.parseNumbering=c},488:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseRunProperty=t.parseRunProperties=void 0;const a=r(149);function n(e,t,r){return!!(0,a.parseCommonProperty)(e,t,r)}t.parseRunProperties=function(e,t){let r={};for(let a of t.elements(e))n(a,r,t);return r},t.parseRunProperty=n},59:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseSectionProperties=t.SectionType=void 0;const a=r(472),n=r(191);var s;function i(e,t){return{numberOfColumns:t.intAttr(e,"num"),space:t.lengthAttr(e,"space"),separator:t.boolAttr(e,"sep"),equalWidth:t.boolAttr(e,"equalWidth",!0),columns:t.elements(e,"col").map(e=>({width:t.lengthAttr(e,"w"),space:t.lengthAttr(e,"space")}))}}function o(e,t){return{chapSep:t.attr(e,"chapSep"),chapStyle:t.attr(e,"chapStyle"),format:t.attr(e,"fmt"),start:t.intAttr(e,"start")}}function l(e,t){return{id:t.attr(e,"id"),type:t.attr(e,"type")}}!function(e){e.Continuous="continuous",e.NextPage="nextPage",e.NextColumn="nextColumn",e.EvenPage="evenPage",e.OddPage="oddPage"}(s||(t.SectionType=s={})),t.parseSectionProperties=function(e,t=a.default){var r,s,c={};for(let a of t.elements(e))switch(a.localName){case"pgSz":c.pageSize={width:t.lengthAttr(a,"w"),height:t.lengthAttr(a,"h"),orientation:t.attr(a,"orient")};break;case"type":c.type=t.attr(a,"val");break;case"pgMar":c.pageMargins={left:t.lengthAttr(a,"left"),right:t.lengthAttr(a,"right"),top:t.lengthAttr(a,"top"),bottom:t.lengthAttr(a,"bottom"),header:t.lengthAttr(a,"header"),footer:t.lengthAttr(a,"footer"),gutter:t.lengthAttr(a,"gutter")};break;case"cols":c.columns=i(a,t);break;case"headerReference":(null!==(r=c.headerRefs)&&void 0!==r?r:c.headerRefs=[]).push(l(a,t));break;case"footerReference":(null!==(s=c.footerRefs)&&void 0!==s?s:c.footerRefs=[]).push(l(a,t));break;case"titlePg":c.titlePage=t.boolAttr(a,"val",!0);break;case"pgBorders":c.pageBorders=(0,n.parseBorders)(a,t);break;case"pgNumType":c.pageNumber=o(a,t)}return c}},667:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.renderAsync=t.praseAsync=t.defaultOptions=void 0;const a=r(213),n=r(168),s=r(932);t.defaultOptions={ignoreHeight:!1,ignoreWidth:!1,ignoreFonts:!1,breakPages:!0,debug:!1,experimental:!1,className:"docx",inWrapper:!0,trimXmlDeclaration:!0,ignoreLastRenderedPageBreak:!0,renderHeaders:!0,renderFooters:!0,renderFootnotes:!0,renderEndnotes:!0,useBase64URL:!1,useMathMLPolyfill:!1,renderChanges:!1},t.praseAsync=function(e,r=null){const s=Object.assign(Object.assign({},t.defaultOptions),r);return a.WordDocument.load(e,new n.DocumentParser(s),s)},t.renderAsync=async function(e,r,i=null,o=null){const l=Object.assign(Object.assign({},t.defaultOptions),o),c=new s.HtmlRenderer(window.document),f=await a.WordDocument.load(e,new n.DocumentParser(l),l);return c.render(f,r,i,l),f}},380:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FontTablePart=void 0;const a=r(530),n=r(512);class s extends a.Part{parseXml(e){this.fonts=(0,n.parseFonts)(e,this._package.xmlParser)}}t.FontTablePart=s},512:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseEmbedFontRef=t.parseFont=t.parseFonts=void 0;const r={embedRegular:"regular",embedBold:"bold",embedItalic:"italic",embedBoldItalic:"boldItalic"};function a(e,t){let r={name:t.attr(e,"name"),embedFontRefs:[]};for(let a of t.elements(e))switch(a.localName){case"family":r.family=t.attr(a,"val");break;case"altName":r.altName=t.attr(a,"val");break;case"embedRegular":case"embedBold":case"embedItalic":case"embedBoldItalic":r.embedFontRefs.push(n(a,t))}return r}function n(e,t){return{id:t.attr(e,"id"),key:t.attr(e,"fontKey"),type:r[e.localName]}}t.parseFonts=function(e,t){return t.elements(e).map(e=>a(e,t))},t.parseFont=a,t.parseEmbedFontRef=n},984:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WmlFooter=t.WmlHeader=void 0;const a=r(120);class n extends a.OpenXmlElementBase{constructor(){super(...arguments),this.type=a.DomType.Header}}t.WmlHeader=n;class s extends a.OpenXmlElementBase{constructor(){super(...arguments),this.type=a.DomType.Footer}}t.WmlFooter=s},985:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FooterPart=t.HeaderPart=t.BaseHeaderFooterPart=void 0;const a=r(530),n=r(984);class s extends a.Part{constructor(e,t,r){super(e,t),this._documentParser=r}parseXml(e){this.rootElement=this.createRootElement(),this.rootElement.children=this._documentParser.parseBodyElements(e)}}t.BaseHeaderFooterPart=s,t.HeaderPart=class extends s{createRootElement(){return new n.WmlHeader}},t.FooterPart=class extends s{createRootElement(){return new n.WmlFooter}}},932:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.HtmlRenderer=void 0;const a=r(120),n=r(593),s=r(630),i=r(438),o="http://www.w3.org/1998/Math/MathML";function l(e,t,r){return f(void 0,e,t,r)}function c(e,t,r){return f("http://www.w3.org/2000/svg",e,t,r)}function f(e,t,r,a){var n=e?document.createElementNS(e,t):document.createElement(t);return Object.assign(n,r),a&&h(n,a),n}function u(e){e.innerHTML=""}function h(e,t){t.forEach(t=>e.appendChild((0,n.isString)(t)?document.createTextNode(t):t))}function d(e){return l("style",{innerHTML:e})}function p(e,t){e.appendChild(document.createComment(t))}t.HtmlRenderer=class{constructor(e){this.htmlDocument=e,this.className="docx",this.styleMap={},this.currentPart=null,this.tableVerticalMerges=[],this.currentVerticalMerge=null,this.tableCellPositions=[],this.currentCellPosition=null,this.footnoteMap={},this.endnoteMap={},this.currentEndnoteIds=[],this.usedHederFooterParts=[],this.currentTabs=[],this.tabsTimeout=0,this.createElement=l}render(e,t,r=null,a){var s;this.document=e,this.options=a,this.className=a.className,this.rootSelector=a.inWrapper?`.${this.className}-wrapper`:":root",this.styleMap=null,u(r=r||t),u(t),p(r,"docxjs library predefined styles"),r.appendChild(this.renderDefaultStyle()),!window.MathMLElement&&a.useMathMLPolyfill&&(p(r,"docxjs mathml polyfill styles"),r.appendChild(d(i.default))),e.themePart&&(p(r,"docxjs document theme values"),this.renderTheme(e.themePart,r)),null!=e.stylesPart&&(this.styleMap=this.processStyles(e.stylesPart.styles),p(r,"docxjs document styles"),r.appendChild(this.renderStyles(e.stylesPart.styles))),e.numberingPart&&(this.prodessNumberings(e.numberingPart.domNumberings),p(r,"docxjs document numbering styles"),r.appendChild(this.renderNumbering(e.numberingPart.domNumberings,r))),e.footnotesPart&&(this.footnoteMap=(0,n.keyBy)(e.footnotesPart.notes,e=>e.id)),e.endnotesPart&&(this.endnoteMap=(0,n.keyBy)(e.endnotesPart.notes,e=>e.id)),e.settingsPart&&(this.defaultTabSize=null===(s=e.settingsPart.settings)||void 0===s?void 0:s.defaultTabStop),!a.ignoreFonts&&e.fontTablePart&&this.renderFontTable(e.fontTablePart,r);var o=this.renderSections(e.documentPart.body);this.options.inWrapper?t.appendChild(this.renderWrapper(o)):h(t,o),this.refreshTabStops()}renderTheme(e,t){var r,a;const n={},s=null===(r=e.theme)||void 0===r?void 0:r.fontScheme;s&&(s.majorFont&&(n["--docx-majorHAnsi-font"]=s.majorFont.latinTypeface),s.minorFont&&(n["--docx-minorHAnsi-font"]=s.minorFont.latinTypeface));const i=null===(a=e.theme)||void 0===a?void 0:a.colorScheme;if(i)for(let[l,c]of Object.entries(i.colors))n[`--docx-${l}-color`]="#"+c;const o=this.styleToString("."+this.className,n);t.appendChild(d(o))}renderFontTable(e,t){for(let r of e.fonts)for(let e of r.embedFontRefs)this.document.loadFont(e.id,e.key).then(a=>{const n={"font-family":r.name,src:`url(${a})`};"bold"!=e.type&&"boldItalic"!=e.type||(n["font-weight"]="bold"),"italic"!=e.type&&"boldItalic"!=e.type||(n["font-style"]="italic"),p(t,`docxjs ${r.name} font`);const s=this.styleToString("@font-face",n);t.appendChild(d(s)),this.refreshTabStops()})}processStyleName(e){return e?`${this.className}_${(0,n.escapeClassName)(e)}`:this.className}processStyles(e){const t=(0,n.keyBy)(e.filter(e=>null!=e.id),e=>e.id);for(const a of e.filter(e=>e.basedOn)){var r=t[a.basedOn];if(r){a.paragraphProps=(0,n.mergeDeep)(a.paragraphProps,r.paragraphProps),a.runProps=(0,n.mergeDeep)(a.runProps,r.runProps);for(const e of r.styles){const t=a.styles.find(t=>t.target==e.target);t?this.copyStyleProperties(e.values,t.values):a.styles.push(Object.assign(Object.assign({},e),{values:Object.assign({},e.values)}))}}else this.options.debug&&console.warn("Can't find base style "+a.basedOn)}for(let a of e)a.cssName=this.processStyleName(a.id);return t}prodessNumberings(e){var t;for(let r of e.filter(e=>e.pStyleName)){const e=this.findStyle(r.pStyleName);(null===(t=null==e?void 0:e.paragraphProps)||void 0===t?void 0:t.numbering)&&(e.paragraphProps.numbering.level=r.level)}}processElement(e){if(e.children)for(var t of e.children)t.parent=e,t.type==a.DomType.Table?this.processTable(t):this.processElement(t)}processTable(e){for(var t of e.children)for(var r of t.children)r.cssStyle=this.copyStyleProperties(e.cellStyle,r.cssStyle,["border-left","border-right","border-top","border-bottom","padding-left","padding-right","padding-top","padding-bottom"]),this.processElement(r)}copyStyleProperties(e,t,r=null){if(!e)return t;for(var a of(null==t&&(t={}),null==r&&(r=Object.getOwnPropertyNames(e)),r))e.hasOwnProperty(a)&&!t.hasOwnProperty(a)&&(t[a]=e[a]);return t}createSection(e,t){var r=this.createElement("section",{className:e});return t&&(t.pageMargins&&(r.style.paddingLeft=t.pageMargins.left,r.style.paddingRight=t.pageMargins.right,r.style.paddingTop=t.pageMargins.top,r.style.paddingBottom=t.pageMargins.bottom),t.pageSize&&(this.options.ignoreWidth||(r.style.width=t.pageSize.width),this.options.ignoreHeight||(r.style.minHeight=t.pageSize.height)),t.columns&&t.columns.numberOfColumns&&(r.style.columnCount=""+t.columns.numberOfColumns,r.style.columnGap=t.columns.space,t.columns.separator&&(r.style.columnRule="1px solid black"))),r}renderSections(e){const t=[];this.processElement(e);const r=this.splitBySection(e.children);let a=null;for(let s=0,i=r.length;s<i;s++){this.currentFootnoteIds=[];const o=r[s],l=o.sectProps||e.props,c=this.createSection(this.className,l);this.renderStyleValues(e.cssStyle,c),this.options.renderHeaders&&this.renderHeaderFooter(l.headerRefs,l,t.length,a!=l,c);var n=this.createElement("article");this.renderElements(o.elements,n),c.appendChild(n),this.options.renderFootnotes&&this.renderNotes(this.currentFootnoteIds,this.footnoteMap,c),this.options.renderEndnotes&&s==i-1&&this.renderNotes(this.currentEndnoteIds,this.endnoteMap,c),this.options.renderFooters&&this.renderHeaderFooter(l.footerRefs,l,t.length,a!=l,c),t.push(c),a=l}return t}renderHeaderFooter(e,t,r,a,n){var s,i;if(e){var o=null!==(i=null!==(s=t.titlePage&&a?e.find(e=>"first"==e.type):null)&&void 0!==s?s:r%2==1?e.find(e=>"even"==e.type):null)&&void 0!==i?i:e.find(e=>"default"==e.type),l=o&&this.document.findPartByRelId(o.id,this.document.documentPart);l&&(this.currentPart=l,this.usedHederFooterParts.includes(l.path)||(this.processElement(l.rootElement),this.usedHederFooterParts.push(l.path)),this.renderElements([l.rootElement],n),this.currentPart=null)}}isPageBreakElement(e){return e.type==a.DomType.Break&&("lastRenderedPageBreak"==e.break?!this.options.ignoreLastRenderedPageBreak:"page"==e.break)}splitBySection(e){var t,r={sectProps:null,elements:[]},n=[r];for(let u of e){if(u.type==a.DomType.Paragraph){const e=this.findStyle(u.styleName);(null===(t=null==e?void 0:e.paragraphProps)||void 0===t?void 0:t.pageBreakBefore)&&(r.sectProps=s,r={sectProps:null,elements:[]},n.push(r))}if(r.elements.push(u),u.type==a.DomType.Paragraph){const e=u;var s=e.sectionProps,i=-1,o=-1;if(this.options.breakPages&&e.children&&(i=e.children.findIndex(e=>{var t,r;return-1!=(o=null!==(r=null===(t=e.children)||void 0===t?void 0:t.findIndex(this.isPageBreakElement.bind(this)))&&void 0!==r?r:-1)})),(s||-1!=i)&&(r.sectProps=s,r={sectProps:null,elements:[]},n.push(r)),-1!=i){let t=e.children[i],a=o<t.children.length-1;if(i<e.children.length-1||a){var l=u.children,c=Object.assign(Object.assign({},u),{children:l.slice(i)});if(u.children=l.slice(0,i),r.elements.push(c),a){let e=t.children,r=Object.assign(Object.assign({},t),{children:e.slice(0,o)});u.children.push(r),t.children=e.slice(o)}}}}}let f=null;for(let a=n.length-1;a>=0;a--)null==n[a].sectProps?n[a].sectProps=f:f=n[a].sectProps;return n}renderWrapper(e){return this.createElement("div",{className:this.className+"-wrapper"},e)}renderDefaultStyle(){var e=this.className;return d(`\n.${e}-wrapper { background: gray; padding: 30px; padding-bottom: 0px; display: flex; flex-flow: column; align-items: center; } \n.${e}-wrapper>section.${e} { background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.5); margin-bottom: 30px; }\n.${e} { color: black; hyphens: auto; }\nsection.${e} { box-sizing: border-box; display: flex; flex-flow: column nowrap; position: relative; overflow: hidden; }\nsection.${e}>article { margin-bottom: auto; z-index: 1; }\nsection.${e}>footer { z-index: 1; }\n.${e} table { border-collapse: collapse; }\n.${e} table td, .${e} table th { vertical-align: top; }\n.${e} p { margin: 0pt; min-height: 1em; }\n.${e} span { white-space: pre-wrap; overflow-wrap: break-word; }\n.${e} a { color: inherit; text-decoration: inherit; }\n`)}renderNumbering(e,t){var r="",a=[];for(var n of e){var s="p."+this.numberingClass(n.id,n.level),i="none";if(n.bullet){let e=`--${this.className}-${n.bullet.src}`.toLowerCase();r+=this.styleToString(s+":before",{content:"' '",display:"inline-block",background:`var(${e})`},n.bullet.style),this.document.loadNumberingImage(n.bullet.src).then(r=>{var a=`${this.rootSelector} { ${e}: url(${r}) }`;t.appendChild(d(a))})}else if(n.levelText){let e=this.numberingCounter(n.id,n.level);const t=e+" "+(n.start-1);n.level>0&&(r+=this.styleToString("p."+this.numberingClass(n.id,n.level-1),{"counter-reset":t})),a.push(t),r+=this.styleToString(s+":before",Object.assign({content:this.levelTextToContent(n.levelText,n.suff,n.id,this.numFormatToCssValue(n.format)),"counter-increment":e},n.rStyle))}else i=this.numFormatToCssValue(n.format);r+=this.styleToString(s,Object.assign({display:"list-item","list-style-position":"inside","list-style-type":i},n.pStyle))}return a.length>0&&(r+=this.styleToString(this.rootSelector,{"counter-reset":a.join(" ")})),d(r)}renderStyles(e){var t,r="";const a=this.styleMap,s=(0,n.keyBy)(e.filter(e=>e.isDefault),e=>e.target);for(const n of e){var i=n.styles;if(n.linked){var o=n.linked&&a[n.linked];o?i=i.concat(o.styles):this.options.debug&&console.warn("Can't find linked style "+n.linked)}for(const e of i){var l=`${null!==(t=n.target)&&void 0!==t?t:""}.${n.cssName}`;n.target!=e.target&&(l+=" "+e.target),s[n.target]==n&&(l=`.${this.className} ${n.target}, `+l),r+=this.styleToString(l,e.values)}}return d(r)}renderNotes(e,t,r){var a=e.map(e=>t[e]).filter(e=>e);if(a.length>0){var n=this.createElement("ol",null,this.renderElements(a));r.appendChild(n)}}renderElement(e){switch(e.type){case a.DomType.Paragraph:return this.renderParagraph(e);case a.DomType.BookmarkStart:return this.renderBookmarkStart(e);case a.DomType.BookmarkEnd:return null;case a.DomType.Run:return this.renderRun(e);case a.DomType.Table:return this.renderTable(e);case a.DomType.Row:return this.renderTableRow(e);case a.DomType.Cell:return this.renderTableCell(e);case a.DomType.Hyperlink:return this.renderHyperlink(e);case a.DomType.Drawing:return this.renderDrawing(e);case a.DomType.Image:return this.renderImage(e);case a.DomType.Text:case a.DomType.Text:return this.renderText(e);case a.DomType.DeletedText:return this.renderDeletedText(e);case a.DomType.Tab:return this.renderTab(e);case a.DomType.Symbol:return this.renderSymbol(e);case a.DomType.Break:return this.renderBreak(e);case a.DomType.Footer:return this.renderContainer(e,"footer");case a.DomType.Header:return this.renderContainer(e,"header");case a.DomType.Footnote:case a.DomType.Endnote:return this.renderContainer(e,"li");case a.DomType.FootnoteReference:return this.renderFootnoteReference(e);case a.DomType.EndnoteReference:return this.renderEndnoteReference(e);case a.DomType.NoBreakHyphen:return this.createElement("wbr");case a.DomType.VmlPicture:return this.renderVmlPicture(e);case a.DomType.VmlElement:return this.renderVmlElement(e);case a.DomType.MmlMath:return this.renderContainerNS(e,o,"math",{xmlns:o});case a.DomType.MmlMathParagraph:return this.renderContainer(e,"span");case a.DomType.MmlFraction:return this.renderContainerNS(e,o,"mfrac");case a.DomType.MmlBase:return this.renderContainerNS(e,o,e.parent.type==a.DomType.MmlMatrixRow?"mtd":"mrow");case a.DomType.MmlNumerator:case a.DomType.MmlDenominator:case a.DomType.MmlFunction:case a.DomType.MmlLimit:case a.DomType.MmlBox:return this.renderContainerNS(e,o,"mrow");case a.DomType.MmlGroupChar:return this.renderMmlGroupChar(e);case a.DomType.MmlLimitLower:return this.renderContainerNS(e,o,"munder");case a.DomType.MmlMatrix:return this.renderContainerNS(e,o,"mtable");case a.DomType.MmlMatrixRow:return this.renderContainerNS(e,o,"mtr");case a.DomType.MmlRadical:return this.renderMmlRadical(e);case a.DomType.MmlSuperscript:return this.renderContainerNS(e,o,"msup");case a.DomType.MmlSubscript:return this.renderContainerNS(e,o,"msub");case a.DomType.MmlDegree:case a.DomType.MmlSuperArgument:case a.DomType.MmlSubArgument:return this.renderContainerNS(e,o,"mn");case a.DomType.MmlFunctionName:return this.renderContainerNS(e,o,"ms");case a.DomType.MmlDelimiter:return this.renderMmlDelimiter(e);case a.DomType.MmlRun:return this.renderMmlRun(e);case a.DomType.MmlNary:return this.renderMmlNary(e);case a.DomType.MmlPreSubSuper:return this.renderMmlPreSubSuper(e);case a.DomType.MmlBar:return this.renderMmlBar(e);case a.DomType.MmlEquationArray:return this.renderMllList(e);case a.DomType.Inserted:return this.renderInserted(e);case a.DomType.Deleted:return this.renderDeleted(e)}return null}renderChildren(e,t){return this.renderElements(e.children,t)}renderElements(e,t){if(null==e)return null;var r=e.flatMap(e=>this.renderElement(e)).filter(e=>null!=e);return t&&h(t,r),r}renderContainer(e,t,r){return this.createElement(t,r,this.renderChildren(e))}renderContainerNS(e,t,r,a){return f(t,r,a,this.renderChildren(e))}renderParagraph(e){var t,r,a,n,s=this.createElement("p");const i=this.findStyle(e.styleName);null!==(t=e.tabs)&&void 0!==t||(e.tabs=null===(r=null==i?void 0:i.paragraphProps)||void 0===r?void 0:r.tabs),this.renderClass(e,s),this.renderChildren(e,s),this.renderStyleValues(e.cssStyle,s),this.renderCommonProperties(s.style,e);const o=null!==(a=e.numbering)&&void 0!==a?a:null===(n=null==i?void 0:i.paragraphProps)||void 0===n?void 0:n.numbering;return o&&s.classList.add(this.numberingClass(o.id,o.level)),s}renderRunProperties(e,t){this.renderCommonProperties(e,t)}renderCommonProperties(e,t){null!=t&&(t.color&&(e.color=t.color),t.fontSize&&(e["font-size"]=t.fontSize))}renderHyperlink(e){var t=this.createElement("a");if(this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),e.href)t.href=e.href;else if(e.id){const r=this.document.documentPart.rels.find(t=>t.id==e.id&&"External"===t.targetMode);t.href=null==r?void 0:r.target}return t}renderDrawing(e){var t=this.createElement("div");return t.style.display="inline-block",t.style.position="relative",t.style.textIndent="0px",this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),t}renderImage(e){let t=this.createElement("img");return this.renderStyleValues(e.cssStyle,t),this.document&&this.document.loadDocumentImage(e.src,this.currentPart).then(e=>{t.src=e}),t}renderText(e){return this.htmlDocument.createTextNode(e.text)}renderDeletedText(e){return this.options.renderEndnotes?this.htmlDocument.createTextNode(e.text):null}renderBreak(e){return"textWrapping"==e.break?this.createElement("br"):null}renderInserted(e){return this.options.renderChanges?this.renderContainer(e,"ins"):this.renderChildren(e)}renderDeleted(e){return this.options.renderChanges?this.renderContainer(e,"del"):null}renderSymbol(e){var t=this.createElement("span");return t.style.fontFamily=e.font,t.innerHTML=`&#x${e.char};`,t}renderFootnoteReference(e){var t=this.createElement("sup");return this.currentFootnoteIds.push(e.id),t.textContent=""+this.currentFootnoteIds.length,t}renderEndnoteReference(e){var t=this.createElement("sup");return this.currentEndnoteIds.push(e.id),t.textContent=""+this.currentEndnoteIds.length,t}renderTab(e){var t,r=this.createElement("span");if(r.innerHTML="&emsp;",this.options.experimental){r.className=this.tabStopClass();var n=null===(t=function(e,t){for(var r=e.parent;null!=r&&r.type!=t;)r=r.parent;return r}(e,a.DomType.Paragraph))||void 0===t?void 0:t.tabs;this.currentTabs.push({stops:n,span:r})}return r}renderBookmarkStart(e){var t=this.createElement("span");return t.id=e.name,t}renderRun(e){if(e.fieldRun)return null;const t=this.createElement("span");if(e.id&&(t.id=e.id),this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),e.verticalAlign){const r=this.createElement(e.verticalAlign);this.renderChildren(e,r),t.appendChild(r)}else this.renderChildren(e,t);return t}renderTable(e){let t=this.createElement("table");return this.tableCellPositions.push(this.currentCellPosition),this.tableVerticalMerges.push(this.currentVerticalMerge),this.currentVerticalMerge={},this.currentCellPosition={col:0,row:0},e.columns&&t.appendChild(this.renderTableColumns(e.columns)),this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),this.currentVerticalMerge=this.tableVerticalMerges.pop(),this.currentCellPosition=this.tableCellPositions.pop(),t}renderTableColumns(e){let t=this.createElement("colgroup");for(let r of e){let e=this.createElement("col");r.width&&(e.style.width=r.width),t.appendChild(e)}return t}renderTableRow(e){let t=this.createElement("tr");return this.currentCellPosition.col=0,this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),this.currentCellPosition.row++,t}renderTableCell(e){let t=this.createElement("td");const r=this.currentCellPosition.col;return e.verticalMerge?"restart"==e.verticalMerge?(this.currentVerticalMerge[r]=t,t.rowSpan=1):this.currentVerticalMerge[r]&&(this.currentVerticalMerge[r].rowSpan+=1,t.style.display="none"):this.currentVerticalMerge[r]=null,this.renderClass(e,t),this.renderChildren(e,t),this.renderStyleValues(e.cssStyle,t),e.span&&(t.colSpan=e.span),this.currentCellPosition.col+=t.colSpan,t}renderVmlPicture(e){var t=l("div");return this.renderChildren(e,t),t}renderVmlElement(e){var t,r,a=c("svg");a.setAttribute("style",e.cssStyleText);const n=this.renderVmlChildElement(e);return(null===(t=e.imageHref)||void 0===t?void 0:t.id)&&(null===(r=this.document)||void 0===r||r.loadDocumentImage(e.imageHref.id,this.currentPart).then(e=>n.setAttribute("href",e))),a.appendChild(n),requestAnimationFrame(()=>{const e=a.firstElementChild.getBBox();a.setAttribute("width",""+Math.ceil(e.x+e.width)),a.setAttribute("height",""+Math.ceil(e.y+e.height))}),a}renderVmlChildElement(e){const t=c(e.tagName);Object.entries(e.attrs).forEach(([e,r])=>t.setAttribute(e,r));for(let r of e.children)r.type==a.DomType.VmlElement?t.appendChild(this.renderVmlChildElement(r)):t.appendChild(...(0,n.asArray)(this.renderElement(r)));return t}renderMmlRadical(e){var t;const r=e.children.find(e=>e.type==a.DomType.MmlBase);if(null===(t=e.props)||void 0===t?void 0:t.hideDegree)return f(o,"msqrt",null,this.renderElements([r]));const n=e.children.find(e=>e.type==a.DomType.MmlDegree);return f(o,"mroot",null,this.renderElements([r,n]))}renderMmlDelimiter(e){var t,r;const a=[];return a.push(f(o,"mo",null,[null!==(t=e.props.beginChar)&&void 0!==t?t:"("])),a.push(...this.renderElements(e.children)),a.push(f(o,"mo",null,[null!==(r=e.props.endChar)&&void 0!==r?r:")"])),f(o,"mrow",null,a)}renderMmlNary(e){var t,r;const s=[],i=(0,n.keyBy)(e.children,e=>e.type),l=i[a.DomType.MmlSuperArgument],c=i[a.DomType.MmlSubArgument],u=l?f(o,"mo",null,(0,n.asArray)(this.renderElement(l))):null,h=c?f(o,"mo",null,(0,n.asArray)(this.renderElement(c))):null,d=f(o,"mo",null,[null!==(r=null===(t=e.props)||void 0===t?void 0:t.char)&&void 0!==r?r:"∫"]);return u||h?s.push(f(o,"munderover",null,[d,h,u])):u?s.push(f(o,"mover",null,[d,u])):h?s.push(f(o,"munder",null,[d,h])):s.push(d),s.push(...this.renderElements(i[a.DomType.MmlBase].children)),f(o,"mrow",null,s)}renderMmlPreSubSuper(e){const t=[],r=(0,n.keyBy)(e.children,e=>e.type),s=r[a.DomType.MmlSuperArgument],i=r[a.DomType.MmlSubArgument],l=s?f(o,"mo",null,(0,n.asArray)(this.renderElement(s))):null,c=i?f(o,"mo",null,(0,n.asArray)(this.renderElement(i))):null,u=f(o,"mo",null);return t.push(f(o,"msubsup",null,[u,c,l])),t.push(...this.renderElements(r[a.DomType.MmlBase].children)),f(o,"mrow",null,t)}renderMmlGroupChar(e){const t="bot"===e.props.verticalJustification?"mover":"munder",r=this.renderContainerNS(e,o,t);return e.props.char&&r.appendChild(f(o,"mo",null,[e.props.char])),r}renderMmlBar(e){const t=this.renderContainerNS(e,o,"mrow");switch(e.props.position){case"top":t.style.textDecoration="overline";break;case"bottom":t.style.textDecoration="underline"}return t}renderMmlRun(e){const t=f(o,"ms");return this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),this.renderChildren(e,t),t}renderMllList(e){const t=f(o,"mtable");this.renderClass(e,t),this.renderStyleValues(e.cssStyle,t),this.renderChildren(e);for(let r of this.renderChildren(e))t.appendChild(f(o,"mtr",null,[f(o,"mtd",null,[r])]));return t}renderStyleValues(e,t){for(let r in e)r.startsWith("$")?t.setAttribute(r.slice(1),e[r]):t.style[r]=e[r]}renderClass(e,t){e.className&&(t.className=e.className),e.styleName&&t.classList.add(this.processStyleName(e.styleName))}findStyle(e){var t;return e&&(null===(t=this.styleMap)||void 0===t?void 0:t[e])}numberingClass(e,t){return`${this.className}-num-${e}-${t}`}tabStopClass(){return this.className+"-tab-stop"}styleToString(e,t,r=null){let a=e+" {\r\n";for(const n in t)n.startsWith("$")||(a+=` ${n}: ${t[n]};\r\n`);return r&&(a+=r),a+"}\r\n"}numberingCounter(e,t){return`${this.className}-num-${e}-${t}`}levelTextToContent(e,t,r,a){var n;return`"${e.replace(/%\d*/g,e=>{let t=parseInt(e.substring(1),10)-1;return`"counter(${this.numberingCounter(r,t)}, ${a})"`})}${null!==(n={tab:"\\9",space:"\\a0"}[t])&&void 0!==n?n:""}"`}numFormatToCssValue(e){var t;return null!==(t={none:"none",bullet:"disc",decimal:"decimal",lowerLetter:"lower-alpha",upperLetter:"upper-alpha",lowerRoman:"lower-roman",upperRoman:"upper-roman",decimalZero:"decimal-leading-zero",aiueo:"katakana",aiueoFullWidth:"katakana",chineseCounting:"simp-chinese-informal",chineseCountingThousand:"simp-chinese-informal",chineseLegalSimplified:"simp-chinese-formal",chosung:"hangul-consonant",ideographDigital:"cjk-ideographic",ideographTraditional:"cjk-heavenly-stem",ideographLegalTraditional:"trad-chinese-formal",ideographZodiac:"cjk-earthly-branch",iroha:"katakana-iroha",irohaFullWidth:"katakana-iroha",japaneseCounting:"japanese-informal",japaneseDigitalTenThousand:"cjk-decimal",japaneseLegal:"japanese-formal",thaiNumbers:"thai",koreanCounting:"korean-hangul-formal",koreanDigital:"korean-hangul-formal",koreanDigital2:"korean-hanja-informal",hebrew1:"hebrew",hebrew2:"hebrew",hindiNumbers:"devanagari",ganada:"hangul",taiwaneseCounting:"cjk-ideographic",taiwaneseCountingThousand:"cjk-ideographic",taiwaneseDigital:"cjk-decimal"}[e])&&void 0!==t?t:e}refreshTabStops(){this.options.experimental&&(clearTimeout(this.tabsTimeout),this.tabsTimeout=setTimeout(()=>{const e=(0,s.computePixelToPoint)();for(let t of this.currentTabs)(0,s.updateTabStop)(t.span,t.stops,this.defaultTabSize,e)},500))}}},630:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.updateTabStop=t.computePixelToPoint=void 0;const r={pos:0,leader:"none",style:"left"};function a(e){return parseFloat(e)}t.computePixelToPoint=function(e=document.body){const t=document.createElement("div");t.style.width="100pt",e.appendChild(t);const r=100/t.offsetWidth;return e.removeChild(t),r},t.updateTabStop=function(e,t,n,s=.75){const i=e.closest("p"),o=e.getBoundingClientRect(),l=i.getBoundingClientRect(),c=getComputedStyle(i),f=(null==t?void 0:t.length)>0?t.map(e=>({pos:a(e.position),leader:e.leader,style:e.style})).sort((e,t)=>e.pos-t.pos):[r],u=f[f.length-1],h=l.width*s,d=a(n);let p=u.pos+d;if(p<h)for(;p<h&&f.length<50;p+=d)f.push(Object.assign(Object.assign({},r),{pos:p}));const m=parseFloat(c.marginLeft),b=l.left+m,g=(o.left-b)*s,v=f.find(e=>"clear"!=e.style&&e.pos>g);if(null==v)return;let w=1;if("right"==v.style||"center"==v.style){const t=Array.from(i.querySelectorAll("."+e.className)),r=t.indexOf(e)+1,a=document.createRange();a.setStart(e,1),r<t.length?a.setEndBefore(t[r]):a.setEndAfter(i);const n="center"==v.style?.5:1,o=a.getBoundingClientRect(),c=o.left+n*o.width-(l.left-m);w=v.pos-c*s}else w=v.pos-g;switch(e.innerHTML="&nbsp;",e.style.textDecoration="inherit",e.style.wordSpacing=w.toFixed(0)+"pt",v.leader){case"dot":case"middleDot":e.style.textDecoration="underline",e.style.textDecorationStyle="dotted";break;case"hyphen":case"heavy":case"underscore":e.style.textDecoration="underline"}}},881:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.WmlEndnote=t.WmlFootnote=t.WmlBaseNote=void 0;const a=r(120);class n{}t.WmlBaseNote=n,t.WmlFootnote=class extends n{constructor(){super(...arguments),this.type=a.DomType.Footnote}},t.WmlEndnote=class extends n{constructor(){super(...arguments),this.type=a.DomType.Endnote}}},735:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.EndnotesPart=t.FootnotesPart=t.BaseNotePart=void 0;const a=r(530),n=r(881);class s extends a.Part{constructor(e,t,r){super(e,t),this._documentParser=r}}t.BaseNotePart=s,t.FootnotesPart=class extends s{constructor(e,t,r){super(e,t,r)}parseXml(e){this.notes=this._documentParser.parseNotes(e,"footnote",n.WmlFootnote)}},t.EndnotesPart=class extends s{constructor(e,t,r){super(e,t,r)}parseXml(e){this.notes=this._documentParser.parseNotes(e,"endnote",n.WmlEndnote)}}},527:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NumberingPart=void 0;const a=r(530),n=r(682);class s extends a.Part{constructor(e,t,r){super(e,t),this._documentParser=r}parseXml(e){Object.assign(this,(0,n.parseNumberingPart)(e,this._package.xmlParser)),this.domNumberings=this._documentParser.parseNumberingFile(e)}}t.NumberingPart=s},682:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseNumberingBulletPicture=t.parseNumberingLevelOverrride=t.parseNumberingLevel=t.parseAbstractNumbering=t.parseNumbering=t.parseNumberingPart=void 0;const a=r(109),n=r(488);function s(e,t){let r={id:t.attr(e,"numId"),overrides:[]};for(let a of t.elements(e))switch(a.localName){case"abstractNumId":r.abstractId=t.attr(a,"val");break;case"lvlOverride":r.overrides.push(l(a,t))}return r}function i(e,t){let r={id:t.attr(e,"abstractNumId"),levels:[]};for(let a of t.elements(e))switch(a.localName){case"name":r.name=t.attr(a,"val");break;case"multiLevelType":r.multiLevelType=t.attr(a,"val");break;case"numStyleLink":r.numberingStyleLink=t.attr(a,"val");break;case"styleLink":r.styleLink=t.attr(a,"val");break;case"lvl":r.levels.push(o(a,t))}return r}function o(e,t){let r={level:t.intAttr(e,"ilvl")};for(let s of t.elements(e))switch(s.localName){case"start":r.start=t.attr(s,"val");break;case"lvlRestart":r.restart=t.intAttr(s,"val");break;case"numFmt":r.format=t.attr(s,"val");break;case"lvlText":r.text=t.attr(s,"val");break;case"lvlJc":r.justification=t.attr(s,"val");break;case"lvlPicBulletId":r.bulletPictureId=t.attr(s,"val");break;case"pStyle":r.paragraphStyle=t.attr(s,"val");break;case"pPr":r.paragraphProps=(0,a.parseParagraphProperties)(s,t);break;case"rPr":r.runProps=(0,n.parseRunProperties)(s,t)}return r}function l(e,t){let r={level:t.intAttr(e,"ilvl")};for(let a of t.elements(e))switch(a.localName){case"startOverride":r.start=t.intAttr(a,"val");break;case"lvl":r.numberingLevel=o(a,t)}return r}function c(e,t){var r=t.element(e,"pict"),a=r&&t.element(r,"shape"),n=a&&t.element(a,"imagedata");return n?{id:t.attr(e,"numPicBulletId"),referenceId:t.attr(n,"id"),style:t.attr(a,"style")}:null}t.parseNumberingPart=function(e,t){let r={numberings:[],abstractNumberings:[],bulletPictures:[]};for(let a of t.elements(e))switch(a.localName){case"num":r.numberings.push(s(a,t));break;case"abstractNum":r.abstractNumberings.push(i(a,t));break;case"numPicBullet":r.bulletPictures.push(c(a,t))}return r},t.parseNumbering=s,t.parseAbstractNumbering=i,t.parseNumberingLevel=o,t.parseNumberingLevelOverrride=l,t.parseNumberingBulletPicture=c},472:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.XmlParser=t.serializeXmlString=t.parseXmlString=void 0;const a=r(149);t.parseXmlString=function(e,t=!1){var r;t&&(e=e.replace(/<[?].*[?]>/,"")),e=65279===(r=e).charCodeAt(0)?r.substring(1):r;const a=(new DOMParser).parseFromString(e,"application/xml"),n=null===(s=a.getElementsByTagName("parsererror")[0])||void 0===s?void 0:s.textContent;var s;if(n)throw new Error(n);return a},t.serializeXmlString=function(e){return(new XMLSerializer).serializeToString(e)};class n{elements(e,t=null){const r=[];for(let a=0,n=e.childNodes.length;a<n;a++){let n=e.childNodes.item(a);1!=n.nodeType||null!=t&&n.localName!=t||r.push(n)}return r}element(e,t){for(let r=0,a=e.childNodes.length;r<a;r++){let a=e.childNodes.item(r);if(1==a.nodeType&&a.localName==t)return a}return null}elementAttr(e,t,r){var a=this.element(e,t);return a?this.attr(a,r):void 0}attrs(e){return Array.from(e.attributes)}attr(e,t){for(let r=0,a=e.attributes.length;r<a;r++){let a=e.attributes.item(r);if(a.localName==t)return a.value}return null}intAttr(e,t,r=null){var a=this.attr(e,t);return a?parseInt(a):r}hexAttr(e,t,r=null){var a=this.attr(e,t);return a?parseInt(a,16):r}floatAttr(e,t,r=null){var a=this.attr(e,t);return a?parseFloat(a):r}boolAttr(e,t,r=null){return(0,a.convertBoolean)(this.attr(e,t),r)}lengthAttr(e,t,r=a.LengthUsage.Dxa){return(0,a.convertLength)(this.attr(e,t),r)}}t.XmlParser=n;const s=new n;t.default=s},287:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.SettingsPart=void 0;const a=r(530),n=r(846);class s extends a.Part{constructor(e,t){super(e,t)}parseXml(e){this.settings=(0,n.parseSettings)(e,this._package.xmlParser)}}t.SettingsPart=s},846:(e,t)=>{function r(e,t){var r={defaultNoteIds:[]};for(let a of t.elements(e))switch(a.localName){case"numFmt":r.nummeringFormat=t.attr(a,"val");break;case"footnote":case"endnote":r.defaultNoteIds.push(t.attr(a,"id"))}return r}Object.defineProperty(t,"__esModule",{value:!0}),t.parseNoteProperties=t.parseSettings=void 0,t.parseSettings=function(e,t){var a={};for(let n of t.elements(e))switch(n.localName){case"defaultTabStop":a.defaultTabStop=t.lengthAttr(n,"val");break;case"footnotePr":a.footnoteProps=r(n,t);break;case"endnotePr":a.endnoteProps=r(n,t);break;case"autoHyphenation":a.autoHyphenation=t.boolAttr(n,"val")}return a},t.parseNoteProperties=r},240:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.StylesPart=void 0;const a=r(530);class n extends a.Part{constructor(e,t,r){super(e,t),this._documentParser=r}parseXml(e){this.styles=this._documentParser.parseStylesFile(e)}}t.StylesPart=n},893:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ThemePart=void 0;const a=r(530),n=r(55);class s extends a.Part{constructor(e,t){super(e,t)}parseXml(e){this.theme=(0,n.parseTheme)(e,this._package.xmlParser)}}t.ThemePart=s},55:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseFontInfo=t.parseFontScheme=t.parseColorScheme=t.parseTheme=t.DmlTheme=void 0;class r{}function a(e,t){var r={name:t.attr(e,"name"),colors:{}};for(let s of t.elements(e)){var a=t.element(s,"srgbClr"),n=t.element(s,"sysClr");a?r.colors[s.localName]=t.attr(a,"val"):n&&(r.colors[s.localName]=t.attr(n,"lastClr"))}return r}function n(e,t){var r={name:t.attr(e,"name")};for(let a of t.elements(e))switch(a.localName){case"majorFont":r.majorFont=s(a,t);break;case"minorFont":r.minorFont=s(a,t)}return r}function s(e,t){return{latinTypeface:t.elementAttr(e,"latin","typeface"),eaTypeface:t.elementAttr(e,"ea","typeface"),csTypeface:t.elementAttr(e,"cs","typeface")}}t.DmlTheme=r,t.parseTheme=function(e,t){var s=new r,i=t.element(e,"themeElements");for(let r of t.elements(i))switch(r.localName){case"clrScheme":s.colorScheme=a(r,t);break;case"fontScheme":s.fontScheme=n(r,t)}return s},t.parseColorScheme=a,t.parseFontScheme=n,t.parseFontInfo=s},593:(e,t)=>{function r(e){return e&&"object"==typeof e&&!Array.isArray(e)}Object.defineProperty(t,"__esModule",{value:!0}),t.asArray=t.formatCssRules=t.parseCssRules=t.mergeDeep=t.isString=t.isObject=t.blobToBase64=t.keyBy=t.resolvePath=t.splitPath=t.escapeClassName=void 0,t.escapeClassName=function(e){return null==e?void 0:e.replace(/[ .]+/g,"-").replace(/[&]+/g,"and").toLowerCase()},t.splitPath=function(e){let t=e.lastIndexOf("/")+1;return[0==t?"":e.substring(0,t),0==t?e:e.substring(t)]},t.resolvePath=function(e,t){try{const r="http://docx/";return new URL(e,r+t).toString().substring(r.length)}catch(r){return`${t}${e}`}},t.keyBy=function(e,t){return e.reduce((e,r)=>(e[t(r)]=r,e),{})},t.blobToBase64=function(e){return new Promise((t,r)=>{const a=new FileReader;a.onloadend=()=>t(a.result),a.onerror=()=>r(),a.readAsDataURL(e)})},t.isObject=r,t.isString=function(e){return"string"==typeof e||e instanceof String},t.mergeDeep=function e(t,...a){var n;if(!a.length)return t;const s=a.shift();if(r(t)&&r(s))for(const i in s)r(s[i])?e(null!==(n=t[i])&&void 0!==n?n:t[i]={},s[i]):t[i]=s[i];return e(t,...a)},t.parseCssRules=function(e){const t={};for(const r of e.split(";")){const[e,a]=r.split(":");t[e]=a}return t},t.formatCssRules=function(e){return Object.entries(e).map((e,t)=>`${e}: ${t}`).join(";")},t.asArray=function(e){return Array.isArray(e)?e:[e]}},320:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.parseVmlElement=t.VmlElement=void 0;const a=r(149),n=r(120),s=r(472);class i extends n.OpenXmlElementBase{constructor(){super(...arguments),this.type=n.DomType.VmlElement,this.attrs={}}}function o(e){var t;return{stroke:s.default.attr(e,"color"),"stroke-width":null!==(t=s.default.lengthAttr(e,"weight",a.LengthUsage.Emu))&&void 0!==t?t:"1px"}}function l(e){return e.split(",")}t.VmlElement=i,t.parseVmlElement=function e(t,r){var a=new i;switch(t.localName){case"rect":a.tagName="rect",Object.assign(a.attrs,{width:"100%",height:"100%"});break;case"oval":a.tagName="ellipse",Object.assign(a.attrs,{cx:"50%",cy:"50%",rx:"50%",ry:"50%"});break;case"line":a.tagName="line";break;case"shape":a.tagName="g";break;case"textbox":a.tagName="foreignObject",Object.assign(a.attrs,{width:"100%",height:"100%"});break;default:return null}for(const n of s.default.attrs(t))switch(n.localName){case"style":a.cssStyleText=n.value;break;case"fillcolor":a.attrs.fill=n.value;break;case"from":const[e,t]=l(n.value);Object.assign(a.attrs,{x1:e,y1:t});break;case"to":const[r,s]=l(n.value);Object.assign(a.attrs,{x2:r,y2:s})}for(const n of s.default.elements(t))switch(n.localName){case"stroke":Object.assign(a.attrs,o(n));break;case"fill":Object.assign(a.attrs,{});break;case"imagedata":a.tagName="image",Object.assign(a.attrs,{width:"100%",height:"100%"}),a.imageHref={id:s.default.attr(n,"id"),title:s.default.attr(n,"title")};break;case"txbxContent":a.children.push(...r.parseBodyElements(n));break;default:const t=e(n,r);t&&a.children.push(t)}return a}},213:(e,t,r)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.deobfuscate=t.WordDocument=void 0;const a=r(461),n=r(380),s=r(522),i=r(448),o=r(593),l=r(527),c=r(240),f=r(985),u=r(665),h=r(162),d=r(893),p=r(735),m=r(287),b=r(177),g=[{type:a.RelationshipTypes.OfficeDocument,target:"word/document.xml"},{type:a.RelationshipTypes.ExtendedProperties,target:"docProps/app.xml"},{type:a.RelationshipTypes.CoreProperties,target:"docProps/core.xml"},{type:a.RelationshipTypes.CustomProperties,target:"docProps/custom.xml"}];class v{constructor(){this.parts=[],this.partsMap={}}static async load(e,t,r){var a=new v;return a._options=r,a._parser=t,a._package=await s.OpenXmlPackage.load(e,r),a.rels=await a._package.loadRelationships(),await Promise.all(g.map(e=>{var t;const r=null!==(t=a.rels.find(t=>t.type===e.type))&&void 0!==t?t:e;return a.loadRelationshipPart(r.target,r.type)})),a}save(e="blob"){return this._package.save(e)}async loadRelationshipPart(e,t){var r;if(this.partsMap[e])return this.partsMap[e];if(!this._package.get(e))return null;let s=null;switch(t){case a.RelationshipTypes.OfficeDocument:this.documentPart=s=new i.DocumentPart(this._package,e,this._parser);break;case a.RelationshipTypes.FontTable:this.fontTablePart=s=new n.FontTablePart(this._package,e);break;case a.RelationshipTypes.Numbering:this.numberingPart=s=new l.NumberingPart(this._package,e,this._parser);break;case a.RelationshipTypes.Styles:this.stylesPart=s=new c.StylesPart(this._package,e,this._parser);break;case a.RelationshipTypes.Theme:this.themePart=s=new d.ThemePart(this._package,e);break;case a.RelationshipTypes.Footnotes:this.footnotesPart=s=new p.FootnotesPart(this._package,e,this._parser);break;case a.RelationshipTypes.Endnotes:this.endnotesPart=s=new p.EndnotesPart(this._package,e,this._parser);break;case a.RelationshipTypes.Footer:s=new f.FooterPart(this._package,e,this._parser);break;case a.RelationshipTypes.Header:s=new f.HeaderPart(this._package,e,this._parser);break;case a.RelationshipTypes.CoreProperties:this.corePropsPart=s=new h.CorePropsPart(this._package,e);break;case a.RelationshipTypes.ExtendedProperties:this.extendedPropsPart=s=new u.ExtendedPropsPart(this._package,e);break;case a.RelationshipTypes.CustomProperties:s=new b.CustomPropsPart(this._package,e);break;case a.RelationshipTypes.Settings:this.settingsPart=s=new m.SettingsPart(this._package,e)}if(null==s)return Promise.resolve(null);if(this.partsMap[e]=s,this.parts.push(s),await s.load(),(null===(r=s.rels)||void 0===r?void 0:r.length)>0){const[e]=(0,o.splitPath)(s.path);await Promise.all(s.rels.map(t=>this.loadRelationshipPart((0,o.resolvePath)(t.target,e),t.type)))}return s}async loadDocumentImage(e,t){const r=await this.loadResource(null!=t?t:this.documentPart,e,"blob");return this.blobToURL(r)}async loadNumberingImage(e){const t=await this.loadResource(this.numberingPart,e,"blob");return this.blobToURL(t)}async loadFont(e,t){const r=await this.loadResource(this.fontTablePart,e,"uint8array");return r?this.blobToURL(new Blob([w(r,t)])):r}blobToURL(e){return e?this._options.useBase64URL?(0,o.blobToBase64)(e):URL.createObjectURL(e):null}findPartByRelId(e,t=null){var r,a=(null!==(r=t.rels)&&void 0!==r?r:this.rels).find(t=>t.id==e);const n=t?(0,o.splitPath)(t.path)[0]:"";return a?this.partsMap[(0,o.resolvePath)(a.target,n)]:null}getPathById(e,t){const r=e.rels.find(e=>e.id==t),[a]=(0,o.splitPath)(e.path);return r?(0,o.resolvePath)(r.target,a):null}loadResource(e,t,r){const a=this.getPathById(e,t);return a?this._package.load(a,r):Promise.resolve(null)}}function w(e,t){const r=t.replace(/{|}|-/g,""),a=new Array(16);for(let n=0;n<16;n++)a[16-n-1]=parseInt(r.substr(2*n,2),16);for(let n=0;n<32;n++)e[n]=e[n]^a[n%16];return e}t.WordDocument=v,t.deobfuscate=w},583:e=>{e.exports="data:image/svg+xml,%3Csvg xmlns=%27http://www.w3.org/2000/svg%27 viewBox=%270 0 20 100%27 preserveAspectRatio=%27none%27%3E%3Cpath d=%27m0,75 l5,0 l5,25 l10,-100%27 stroke=%27black%27 fill=%27none%27 vector-effect=%27non-scaling-stroke%27/%3E%3C/svg%3E"},626:t=>{t.exports=e}},r={};function a(e){var n=r[e];if(void 0!==n)return n.exports;var s=r[e]={id:e,exports:{}};return t[e](s,s.exports,a),s.exports}return a.m=t,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var r in t)a.o(t,r)&&!a.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.b=document.baseURI||self.location.href,a(667)})())},"3a7b":function(e,t,r){"use strict";var a=r("ebb5"),n=r("b727").findIndex,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("findIndex",(function(e){return n(s(this),e,arguments.length>1?arguments[1]:void 0)}))},"3c5d":function(e,t,r){"use strict";var a=r("da84"),n=r("c65b"),s=r("ebb5"),i=r("07fa"),o=r("182d"),l=r("7b0b"),c=r("d039"),f=a.RangeError,u=a.Int8Array,h=u&&u.prototype,d=h&&h.set,p=s.aTypedArray,m=s.exportTypedArrayMethod,b=!c((function(){var e=new Uint8ClampedArray(2);return n(d,e,{length:1,0:3},1),3!==e[1]})),g=b&&s.NATIVE_ARRAY_BUFFER_VIEWS&&c((function(){var e=new u(2);return e.set(1),e.set("2",1),0!==e[0]||2!==e[1]}));m("set",(function(e){p(this);var t=o(arguments.length>1?arguments[1]:void 0,1),r=l(e);if(b)return n(d,this,r,t);var a=this.length,s=i(r),c=0;if(s+t>a)throw f("Wrong length");while(c<s)this[t+c]=r[c++]}),!b||g)},"3d71":function(e,t,r){"use strict";var a=r("ebb5"),n=r("e330"),s=r("59ed"),i=r("dfb9"),o=a.aTypedArray,l=a.getTypedArrayConstructor,c=a.exportTypedArrayMethod,f=n(a.TypedArrayPrototype.sort);c("toSorted",(function(e){void 0!==e&&s(e);var t=o(this),r=i(l(t),t);return f(r,e)}))},"3fcc":function(e,t,r){"use strict";var a=r("ebb5"),n=r("b727").map,s=r("b6b7"),i=a.aTypedArray,o=a.exportTypedArrayMethod;o("map",(function(e){return n(i(this),e,arguments.length>1?arguments[1]:void 0,(function(e,t){return new(s(e))(t)}))}))},4002:function(e,t,r){"use strict";r("3ca3");var a,n=r("23e7"),s=r("83ab"),i=r("f354"),o=r("da84"),l=r("0366"),c=r("e330"),f=r("cb2d"),u=r("edd0"),h=r("19aa"),d=r("1a2d"),p=r("60da"),m=r("4df4"),b=r("4dae"),g=r("6547").codeAt,v=r("5fb2"),w=r("577e"),y=r("d44e"),k=r("d6d6"),T=r("5352"),_=r("69f3"),E=_.set,S=_.getterFor("URL"),A=T.URLSearchParams,x=T.getState,C=o.URL,R=o.TypeError,P=o.parseInt,O=Math.floor,N=Math.pow,I=c("".charAt),D=c(/./.exec),F=c([].join),M=c(1..toString),L=c([].pop),B=c([].push),U=c("".replace),z=c([].shift),W=c("".split),H=c("".slice),j=c("".toLowerCase),V=c([].unshift),G="Invalid authority",$="Invalid scheme",X="Invalid host",Y="Invalid port",K=/[a-z]/i,Z=/[\d+-.a-z]/i,q=/\d/,J=/^0x/i,Q=/^[0-7]+$/,ee=/^\d+$/,te=/^[\da-f]+$/i,re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ae=/[\0\t\n\r #/:<>?@[\\\]^|]/,ne=/^[\u0000-\u0020]+|[\u0000-\u0020]+$/g,se=/[\t\n\r]/g,ie=function(e){var t,r,a,n,s,i,o,l=W(e,".");if(l.length&&""==l[l.length-1]&&l.length--,t=l.length,t>4)return e;for(r=[],a=0;a<t;a++){if(n=l[a],""==n)return e;if(s=10,n.length>1&&"0"==I(n,0)&&(s=D(J,n)?16:8,n=H(n,8==s?1:2)),""===n)i=0;else{if(!D(10==s?ee:8==s?Q:te,n))return e;i=P(n,s)}B(r,i)}for(a=0;a<t;a++)if(i=r[a],a==t-1){if(i>=N(256,5-t))return null}else if(i>255)return null;for(o=L(r),a=0;a<r.length;a++)o+=r[a]*N(256,3-a);return o},oe=function(e){var t,r,a,n,s,i,o,l=[0,0,0,0,0,0,0,0],c=0,f=null,u=0,h=function(){return I(e,u)};if(":"==h()){if(":"!=I(e,1))return;u+=2,c++,f=c}while(h()){if(8==c)return;if(":"!=h()){t=r=0;while(r<4&&D(te,h()))t=16*t+P(h(),16),u++,r++;if("."==h()){if(0==r)return;if(u-=r,c>6)return;a=0;while(h()){if(n=null,a>0){if(!("."==h()&&a<4))return;u++}if(!D(q,h()))return;while(D(q,h())){if(s=P(h(),10),null===n)n=s;else{if(0==n)return;n=10*n+s}if(n>255)return;u++}l[c]=256*l[c]+n,a++,2!=a&&4!=a||c++}if(4!=a)return;break}if(":"==h()){if(u++,!h())return}else if(h())return;l[c++]=t}else{if(null!==f)return;u++,c++,f=c}}if(null!==f){i=c-f,c=7;while(0!=c&&i>0)o=l[c],l[c--]=l[f+i-1],l[f+--i]=o}else if(8!=c)return;return l},le=function(e){for(var t=null,r=1,a=null,n=0,s=0;s<8;s++)0!==e[s]?(n>r&&(t=a,r=n),a=null,n=0):(null===a&&(a=s),++n);return n>r&&(t=a,r=n),t},ce=function(e){var t,r,a,n;if("number"==typeof e){for(t=[],r=0;r<4;r++)V(t,e%256),e=O(e/256);return F(t,".")}if("object"==typeof e){for(t="",a=le(e),r=0;r<8;r++)n&&0===e[r]||(n&&(n=!1),a===r?(t+=r?":":"::",n=!0):(t+=M(e[r],16),r<7&&(t+=":")));return"["+t+"]"}return e},fe={},ue=p({},fe,{" ":1,'"':1,"<":1,">":1,"`":1}),he=p({},ue,{"#":1,"?":1,"{":1,"}":1}),de=p({},he,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),pe=function(e,t){var r=g(e,0);return r>32&&r<127&&!d(t,e)?e:encodeURIComponent(e)},me={ftp:21,file:null,http:80,https:443,ws:80,wss:443},be=function(e,t){var r;return 2==e.length&&D(K,I(e,0))&&(":"==(r=I(e,1))||!t&&"|"==r)},ge=function(e){var t;return e.length>1&&be(H(e,0,2))&&(2==e.length||"/"===(t=I(e,2))||"\\"===t||"?"===t||"#"===t)},ve=function(e){return"."===e||"%2e"===j(e)},we=function(e){return e=j(e),".."===e||"%2e."===e||".%2e"===e||"%2e%2e"===e},ye={},ke={},Te={},_e={},Ee={},Se={},Ae={},xe={},Ce={},Re={},Pe={},Oe={},Ne={},Ie={},De={},Fe={},Me={},Le={},Be={},Ue={},ze={},We=function(e,t,r){var a,n,s,i=w(e);if(t){if(n=this.parse(i),n)throw R(n);this.searchParams=null}else{if(void 0!==r&&(a=new We(r,!0)),n=this.parse(i,null,a),n)throw R(n);s=x(new A),s.bindURL(this),this.searchParams=s}};We.prototype={type:"URL",parse:function(e,t,r){var n,s,i,o,l=this,c=t||ye,f=0,u="",h=!1,p=!1,g=!1;e=w(e),t||(l.scheme="",l.username="",l.password="",l.host=null,l.port=null,l.path=[],l.query=null,l.fragment=null,l.cannotBeABaseURL=!1,e=U(e,ne,"")),e=U(e,se,""),n=m(e);while(f<=n.length){switch(s=n[f],c){case ye:if(!s||!D(K,s)){if(t)return $;c=Te;continue}u+=j(s),c=ke;break;case ke:if(s&&(D(Z,s)||"+"==s||"-"==s||"."==s))u+=j(s);else{if(":"!=s){if(t)return $;u="",c=Te,f=0;continue}if(t&&(l.isSpecial()!=d(me,u)||"file"==u&&(l.includesCredentials()||null!==l.port)||"file"==l.scheme&&!l.host))return;if(l.scheme=u,t)return void(l.isSpecial()&&me[l.scheme]==l.port&&(l.port=null));u="","file"==l.scheme?c=Ie:l.isSpecial()&&r&&r.scheme==l.scheme?c=_e:l.isSpecial()?c=xe:"/"==n[f+1]?(c=Ee,f++):(l.cannotBeABaseURL=!0,B(l.path,""),c=Be)}break;case Te:if(!r||r.cannotBeABaseURL&&"#"!=s)return $;if(r.cannotBeABaseURL&&"#"==s){l.scheme=r.scheme,l.path=b(r.path),l.query=r.query,l.fragment="",l.cannotBeABaseURL=!0,c=ze;break}c="file"==r.scheme?Ie:Se;continue;case _e:if("/"!=s||"/"!=n[f+1]){c=Se;continue}c=Ce,f++;break;case Ee:if("/"==s){c=Re;break}c=Le;continue;case Se:if(l.scheme=r.scheme,s==a)l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=b(r.path),l.query=r.query;else if("/"==s||"\\"==s&&l.isSpecial())c=Ae;else if("?"==s)l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=b(r.path),l.query="",c=Ue;else{if("#"!=s){l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=b(r.path),l.path.length--,c=Le;continue}l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,l.path=b(r.path),l.query=r.query,l.fragment="",c=ze}break;case Ae:if(!l.isSpecial()||"/"!=s&&"\\"!=s){if("/"!=s){l.username=r.username,l.password=r.password,l.host=r.host,l.port=r.port,c=Le;continue}c=Re}else c=Ce;break;case xe:if(c=Ce,"/"!=s||"/"!=I(u,f+1))continue;f++;break;case Ce:if("/"!=s&&"\\"!=s){c=Re;continue}break;case Re:if("@"==s){h&&(u="%40"+u),h=!0,i=m(u);for(var v=0;v<i.length;v++){var y=i[v];if(":"!=y||g){var k=pe(y,de);g?l.password+=k:l.username+=k}else g=!0}u=""}else if(s==a||"/"==s||"?"==s||"#"==s||"\\"==s&&l.isSpecial()){if(h&&""==u)return G;f-=m(u).length+1,u="",c=Pe}else u+=s;break;case Pe:case Oe:if(t&&"file"==l.scheme){c=Fe;continue}if(":"!=s||p){if(s==a||"/"==s||"?"==s||"#"==s||"\\"==s&&l.isSpecial()){if(l.isSpecial()&&""==u)return X;if(t&&""==u&&(l.includesCredentials()||null!==l.port))return;if(o=l.parseHost(u),o)return o;if(u="",c=Me,t)return;continue}"["==s?p=!0:"]"==s&&(p=!1),u+=s}else{if(""==u)return X;if(o=l.parseHost(u),o)return o;if(u="",c=Ne,t==Oe)return}break;case Ne:if(!D(q,s)){if(s==a||"/"==s||"?"==s||"#"==s||"\\"==s&&l.isSpecial()||t){if(""!=u){var T=P(u,10);if(T>65535)return Y;l.port=l.isSpecial()&&T===me[l.scheme]?null:T,u=""}if(t)return;c=Me;continue}return Y}u+=s;break;case Ie:if(l.scheme="file","/"==s||"\\"==s)c=De;else{if(!r||"file"!=r.scheme){c=Le;continue}if(s==a)l.host=r.host,l.path=b(r.path),l.query=r.query;else if("?"==s)l.host=r.host,l.path=b(r.path),l.query="",c=Ue;else{if("#"!=s){ge(F(b(n,f),""))||(l.host=r.host,l.path=b(r.path),l.shortenPath()),c=Le;continue}l.host=r.host,l.path=b(r.path),l.query=r.query,l.fragment="",c=ze}}break;case De:if("/"==s||"\\"==s){c=Fe;break}r&&"file"==r.scheme&&!ge(F(b(n,f),""))&&(be(r.path[0],!0)?B(l.path,r.path[0]):l.host=r.host),c=Le;continue;case Fe:if(s==a||"/"==s||"\\"==s||"?"==s||"#"==s){if(!t&&be(u))c=Le;else if(""==u){if(l.host="",t)return;c=Me}else{if(o=l.parseHost(u),o)return o;if("localhost"==l.host&&(l.host=""),t)return;u="",c=Me}continue}u+=s;break;case Me:if(l.isSpecial()){if(c=Le,"/"!=s&&"\\"!=s)continue}else if(t||"?"!=s)if(t||"#"!=s){if(s!=a&&(c=Le,"/"!=s))continue}else l.fragment="",c=ze;else l.query="",c=Ue;break;case Le:if(s==a||"/"==s||"\\"==s&&l.isSpecial()||!t&&("?"==s||"#"==s)){if(we(u)?(l.shortenPath(),"/"==s||"\\"==s&&l.isSpecial()||B(l.path,"")):ve(u)?"/"==s||"\\"==s&&l.isSpecial()||B(l.path,""):("file"==l.scheme&&!l.path.length&&be(u)&&(l.host&&(l.host=""),u=I(u,0)+":"),B(l.path,u)),u="","file"==l.scheme&&(s==a||"?"==s||"#"==s))while(l.path.length>1&&""===l.path[0])z(l.path);"?"==s?(l.query="",c=Ue):"#"==s&&(l.fragment="",c=ze)}else u+=pe(s,he);break;case Be:"?"==s?(l.query="",c=Ue):"#"==s?(l.fragment="",c=ze):s!=a&&(l.path[0]+=pe(s,fe));break;case Ue:t||"#"!=s?s!=a&&("'"==s&&l.isSpecial()?l.query+="%27":l.query+="#"==s?"%23":pe(s,fe)):(l.fragment="",c=ze);break;case ze:s!=a&&(l.fragment+=pe(s,ue));break}f++}},parseHost:function(e){var t,r,a;if("["==I(e,0)){if("]"!=I(e,e.length-1))return X;if(t=oe(H(e,1,-1)),!t)return X;this.host=t}else if(this.isSpecial()){if(e=v(e),D(re,e))return X;if(t=ie(e),null===t)return X;this.host=t}else{if(D(ae,e))return X;for(t="",r=m(e),a=0;a<r.length;a++)t+=pe(r[a],fe);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"==this.scheme},includesCredentials:function(){return""!=this.username||""!=this.password},isSpecial:function(){return d(me,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"==this.scheme&&1==t&&be(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,r=e.username,a=e.password,n=e.host,s=e.port,i=e.path,o=e.query,l=e.fragment,c=t+":";return null!==n?(c+="//",e.includesCredentials()&&(c+=r+(a?":"+a:"")+"@"),c+=ce(n),null!==s&&(c+=":"+s)):"file"==t&&(c+="//"),c+=e.cannotBeABaseURL?i[0]:i.length?"/"+F(i,"/"):"",null!==o&&(c+="?"+o),null!==l&&(c+="#"+l),c},setHref:function(e){var t=this.parse(e);if(t)throw R(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"==e)try{return new He(e.path[0]).origin}catch(r){return"null"}return"file"!=e&&this.isSpecial()?e+"://"+ce(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(w(e)+":",ye)},getUsername:function(){return this.username},setUsername:function(e){var t=m(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var r=0;r<t.length;r++)this.username+=pe(t[r],de)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(w(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var r=0;r<t.length;r++)this.password+=pe(t[r],de)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ce(e):ce(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,Pe)},getHostname:function(){var e=this.host;return null===e?"":ce(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,Oe)},getPort:function(){var e=this.port;return null===e?"":w(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(e=w(e),""==e?this.port=null:this.parse(e,Ne))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+F(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Me))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){e=w(e),""==e?this.query=null:("?"==I(e,0)&&(e=H(e,1)),this.query="",this.parse(e,Ue)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){e=w(e),""!=e?("#"==I(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,ze)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var He=function(e){var t=h(this,je),r=k(arguments.length,1)>1?arguments[1]:void 0,a=E(t,new We(e,!1,r));s||(t.href=a.serialize(),t.origin=a.getOrigin(),t.protocol=a.getProtocol(),t.username=a.getUsername(),t.password=a.getPassword(),t.host=a.getHost(),t.hostname=a.getHostname(),t.port=a.getPort(),t.pathname=a.getPathname(),t.search=a.getSearch(),t.searchParams=a.getSearchParams(),t.hash=a.getHash())},je=He.prototype,Ve=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(s&&(u(je,"href",Ve("serialize","setHref")),u(je,"origin",Ve("getOrigin")),u(je,"protocol",Ve("getProtocol","setProtocol")),u(je,"username",Ve("getUsername","setUsername")),u(je,"password",Ve("getPassword","setPassword")),u(je,"host",Ve("getHost","setHost")),u(je,"hostname",Ve("getHostname","setHostname")),u(je,"port",Ve("getPort","setPort")),u(je,"pathname",Ve("getPathname","setPathname")),u(je,"search",Ve("getSearch","setSearch")),u(je,"searchParams",Ve("getSearchParams")),u(je,"hash",Ve("getHash","setHash"))),f(je,"toJSON",(function(){return S(this).serialize()}),{enumerable:!0}),f(je,"toString",(function(){return S(this).serialize()}),{enumerable:!0}),C){var Ge=C.createObjectURL,$e=C.revokeObjectURL;Ge&&f(He,"createObjectURL",l(Ge,C)),$e&&f(He,"revokeObjectURL",l($e,C))}y(He,"URL"),n({global:!0,constructor:!0,forced:!i,sham:!s},{URL:He})},"466d":function(e,t,r){"use strict";var a=r("c65b"),n=r("d784"),s=r("825a"),i=r("7234"),o=r("50c4"),l=r("577e"),c=r("1d80"),f=r("dc4a"),u=r("8aa5"),h=r("14c3");n("match",(function(e,t,r){return[function(t){var r=c(this),n=i(t)?void 0:f(t,e);return n?a(n,t,r):new RegExp(t)[e](l(r))},function(e){var a=s(this),n=l(e),i=r(t,a,n);if(i.done)return i.value;if(!a.global)return h(a,n);var c=a.unicode;a.lastIndex=0;var f,d=[],p=0;while(null!==(f=h(a,n))){var m=l(f[0]);d[p]=m,""===m&&(a.lastIndex=u(n,o(a.lastIndex),c)),p++}return 0===p?null:d}]}))},"4b11":function(e,t){e.exports="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof DataView},"512ce":function(e,t,r){var a=r("342f"),n=a.match(/AppleWebKit\/(\d+)\./);e.exports=!!n&&+n[1]},5352:function(e,t,r){"use strict";r("e260");var a=r("23e7"),n=r("da84"),s=r("c65b"),i=r("e330"),o=r("83ab"),l=r("f354"),c=r("cb2d"),f=r("6964"),u=r("d44e"),h=r("dcc3"),d=r("69f3"),p=r("19aa"),m=r("1626"),b=r("1a2d"),g=r("0366"),v=r("f5df"),w=r("825a"),y=r("861d"),k=r("577e"),T=r("7c73"),_=r("5c6c"),E=r("9a1f"),S=r("35a1"),A=r("d6d6"),x=r("b622"),C=r("addb"),R=x("iterator"),P="URLSearchParams",O=P+"Iterator",N=d.set,I=d.getterFor(P),D=d.getterFor(O),F=Object.getOwnPropertyDescriptor,M=function(e){if(!o)return n[e];var t=F(n,e);return t&&t.value},L=M("fetch"),B=M("Request"),U=M("Headers"),z=B&&B.prototype,W=U&&U.prototype,H=n.RegExp,j=n.TypeError,V=n.decodeURIComponent,G=n.encodeURIComponent,$=i("".charAt),X=i([].join),Y=i([].push),K=i("".replace),Z=i([].shift),q=i([].splice),J=i("".split),Q=i("".slice),ee=/\+/g,te=Array(4),re=function(e){return te[e-1]||(te[e-1]=H("((?:%[\\da-f]{2}){"+e+"})","gi"))},ae=function(e){try{return V(e)}catch(t){return e}},ne=function(e){var t=K(e,ee," "),r=4;try{return V(t)}catch(a){while(r)t=K(t,re(r--),ae);return t}},se=/[!'()~]|%20/g,ie={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},oe=function(e){return ie[e]},le=function(e){return K(G(e),se,oe)},ce=h((function(e,t){N(this,{type:O,iterator:E(I(e).entries),kind:t})}),"Iterator",(function(){var e=D(this),t=e.kind,r=e.iterator.next(),a=r.value;return r.done||(r.value="keys"===t?a.key:"values"===t?a.value:[a.key,a.value]),r}),!0),fe=function(e){this.entries=[],this.url=null,void 0!==e&&(y(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===$(e,0)?Q(e,1):e:k(e)))};fe.prototype={type:P,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,r,a,n,i,o,l,c=S(e);if(c){t=E(e,c),r=t.next;while(!(a=s(r,t)).done){if(n=E(w(a.value)),i=n.next,(o=s(i,n)).done||(l=s(i,n)).done||!s(i,n).done)throw j("Expected sequence with length 2");Y(this.entries,{key:k(o.value),value:k(l.value)})}}else for(var f in e)b(e,f)&&Y(this.entries,{key:f,value:k(e[f])})},parseQuery:function(e){if(e){var t,r,a=J(e,"&"),n=0;while(n<a.length)t=a[n++],t.length&&(r=J(t,"="),Y(this.entries,{key:ne(Z(r)),value:ne(X(r,"="))}))}},serialize:function(){var e,t=this.entries,r=[],a=0;while(a<t.length)e=t[a++],Y(r,le(e.key)+"="+le(e.value));return X(r,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ue=function(){p(this,he);var e=arguments.length>0?arguments[0]:void 0;N(this,new fe(e))},he=ue.prototype;if(f(he,{append:function(e,t){A(arguments.length,2);var r=I(this);Y(r.entries,{key:k(e),value:k(t)}),r.updateURL()},delete:function(e){A(arguments.length,1);var t=I(this),r=t.entries,a=k(e),n=0;while(n<r.length)r[n].key===a?q(r,n,1):n++;t.updateURL()},get:function(e){A(arguments.length,1);for(var t=I(this).entries,r=k(e),a=0;a<t.length;a++)if(t[a].key===r)return t[a].value;return null},getAll:function(e){A(arguments.length,1);for(var t=I(this).entries,r=k(e),a=[],n=0;n<t.length;n++)t[n].key===r&&Y(a,t[n].value);return a},has:function(e){A(arguments.length,1);var t=I(this).entries,r=k(e),a=0;while(a<t.length)if(t[a++].key===r)return!0;return!1},set:function(e,t){A(arguments.length,1);for(var r,a=I(this),n=a.entries,s=!1,i=k(e),o=k(t),l=0;l<n.length;l++)r=n[l],r.key===i&&(s?q(n,l--,1):(s=!0,r.value=o));s||Y(n,{key:i,value:o}),a.updateURL()},sort:function(){var e=I(this);C(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){var t,r=I(this).entries,a=g(e,arguments.length>1?arguments[1]:void 0),n=0;while(n<r.length)t=r[n++],a(t.value,t.key,this)},keys:function(){return new ce(this,"keys")},values:function(){return new ce(this,"values")},entries:function(){return new ce(this,"entries")}},{enumerable:!0}),c(he,R,he.entries,{name:"entries"}),c(he,"toString",(function(){return I(this).serialize()}),{enumerable:!0}),u(ue,P),a({global:!0,constructor:!0,forced:!l},{URLSearchParams:ue}),!l&&m(U)){var de=i(W.has),pe=i(W.set),me=function(e){if(y(e)){var t,r=e.body;if(v(r)===P)return t=e.headers?new U(e.headers):new U,de(t,"content-type")||pe(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),T(e,{body:_(0,k(r)),headers:_(0,t)})}return e};if(m(L)&&a({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return L(e,arguments.length>1?me(arguments[1]):{})}}),m(B)){var be=function(e){return p(this,z),new B(e,arguments.length>1?me(arguments[1]):{})};z.constructor=be,be.prototype=z,a({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:be})}}e.exports={URLSearchParams:ue,getState:I}},"5cc6":function(e,t,r){var a=r("74e8");a("Uint8",(function(e){return function(t,r,a){return e(this,t,r,a)}}))},"5f96":function(e,t,r){"use strict";var a=r("ebb5"),n=r("e330"),s=a.aTypedArray,i=a.exportTypedArrayMethod,o=n([].join);i("join",(function(e){return o(s(this),e)}))},"5fb2":function(e,t,r){"use strict";var a=r("e330"),n=2147483647,s=36,i=1,o=26,l=38,c=700,f=72,u=128,h="-",d=/[^\0-\u007E]/,p=/[.\u3002\uFF0E\uFF61]/g,m="Overflow: input needs wider integers to process",b=s-i,g=RangeError,v=a(p.exec),w=Math.floor,y=String.fromCharCode,k=a("".charCodeAt),T=a([].join),_=a([].push),E=a("".replace),S=a("".split),A=a("".toLowerCase),x=function(e){var t=[],r=0,a=e.length;while(r<a){var n=k(e,r++);if(n>=55296&&n<=56319&&r<a){var s=k(e,r++);56320==(64512&s)?_(t,((1023&n)<<10)+(1023&s)+65536):(_(t,n),r--)}else _(t,n)}return t},C=function(e){return e+22+75*(e<26)},R=function(e,t,r){var a=0;e=r?w(e/c):e>>1,e+=w(e/t);while(e>b*o>>1)e=w(e/b),a+=s;return w(a+(b+1)*e/(e+l))},P=function(e){var t=[];e=x(e);var r,a,l=e.length,c=u,d=0,p=f;for(r=0;r<e.length;r++)a=e[r],a<128&&_(t,y(a));var b=t.length,v=b;b&&_(t,h);while(v<l){var k=n;for(r=0;r<e.length;r++)a=e[r],a>=c&&a<k&&(k=a);var E=v+1;if(k-c>w((n-d)/E))throw g(m);for(d+=(k-c)*E,c=k,r=0;r<e.length;r++){if(a=e[r],a<c&&++d>n)throw g(m);if(a==c){var S=d,A=s;while(1){var P=A<=p?i:A>=p+o?o:A-p;if(S<P)break;var O=S-P,N=s-P;_(t,y(C(P+O%N))),S=w(O/N),A+=s}_(t,y(C(S))),p=R(d,E,v==b),d=0,v++}}d++,c++}return T(t,"")};e.exports=function(e){var t,r,a=[],n=S(E(A(e),p,"."),".");for(t=0;t<n.length;t++)r=n[t],_(a,v(d,r)?"xn--"+P(r):r);return T(a,".")}},"60bd":function(e,t,r){"use strict";var a=r("da84"),n=r("d039"),s=r("e330"),i=r("ebb5"),o=r("e260"),l=r("b622"),c=l("iterator"),f=a.Uint8Array,u=s(o.values),h=s(o.keys),d=s(o.entries),p=i.aTypedArray,m=i.exportTypedArrayMethod,b=f&&f.prototype,g=!n((function(){b[c].call([1])})),v=!!b&&b.values&&b[c]===b.values&&"values"===b.values.name,w=function(){return u(p(this))};m("entries",(function(){return d(p(this))}),g),m("keys",(function(){return h(p(this))}),g),m("values",w,g||!v,{name:"values"}),m(c,w,g||!v,{name:"values"})},"621a":function(e,t,r){"use strict";var a=r("da84"),n=r("e330"),s=r("83ab"),i=r("4b11"),o=r("5e77"),l=r("9112"),c=r("6964"),f=r("d039"),u=r("19aa"),h=r("5926"),d=r("50c4"),p=r("0b25"),m=r("77a7"),b=r("e163"),g=r("d2bb"),v=r("241c").f,w=r("9bf2").f,y=r("81d5"),k=r("4dae"),T=r("d44e"),_=r("69f3"),E=o.PROPER,S=o.CONFIGURABLE,A=_.get,x=_.set,C="ArrayBuffer",R="DataView",P="prototype",O="Wrong length",N="Wrong index",I=a[C],D=I,F=D&&D[P],M=a[R],L=M&&M[P],B=Object.prototype,U=a.Array,z=a.RangeError,W=n(y),H=n([].reverse),j=m.pack,V=m.unpack,G=function(e){return[255&e]},$=function(e){return[255&e,e>>8&255]},X=function(e){return[255&e,e>>8&255,e>>16&255,e>>24&255]},Y=function(e){return e[3]<<24|e[2]<<16|e[1]<<8|e[0]},K=function(e){return j(e,23,4)},Z=function(e){return j(e,52,8)},q=function(e,t){w(e[P],t,{get:function(){return A(this)[t]}})},J=function(e,t,r,a){var n=p(r),s=A(e);if(n+t>s.byteLength)throw z(N);var i=A(s.buffer).bytes,o=n+s.byteOffset,l=k(i,o,o+t);return a?l:H(l)},Q=function(e,t,r,a,n,s){var i=p(r),o=A(e);if(i+t>o.byteLength)throw z(N);for(var l=A(o.buffer).bytes,c=i+o.byteOffset,f=a(+n),u=0;u<t;u++)l[c+u]=f[s?u:t-u-1]};if(i){var ee=E&&I.name!==C;if(f((function(){I(1)}))&&f((function(){new I(-1)}))&&!f((function(){return new I,new I(1.5),new I(NaN),1!=I.length||ee&&!S})))ee&&S&&l(I,"name",C);else{D=function(e){return u(this,F),new I(p(e))},D[P]=F;for(var te,re=v(I),ae=0;re.length>ae;)(te=re[ae++])in D||l(D,te,I[te]);F.constructor=D}g&&b(L)!==B&&g(L,B);var ne=new M(new D(2)),se=n(L.setInt8);ne.setInt8(0,2147483648),ne.setInt8(1,2147483649),!ne.getInt8(0)&&ne.getInt8(1)||c(L,{setInt8:function(e,t){se(this,e,t<<24>>24)},setUint8:function(e,t){se(this,e,t<<24>>24)}},{unsafe:!0})}else D=function(e){u(this,F);var t=p(e);x(this,{bytes:W(U(t),0),byteLength:t}),s||(this.byteLength=t)},F=D[P],M=function(e,t,r){u(this,L),u(e,F);var a=A(e).byteLength,n=h(t);if(n<0||n>a)throw z("Wrong offset");if(r=void 0===r?a-n:d(r),n+r>a)throw z(O);x(this,{buffer:e,byteLength:r,byteOffset:n}),s||(this.buffer=e,this.byteLength=r,this.byteOffset=n)},L=M[P],s&&(q(D,"byteLength"),q(M,"buffer"),q(M,"byteLength"),q(M,"byteOffset")),c(L,{getInt8:function(e){return J(this,1,e)[0]<<24>>24},getUint8:function(e){return J(this,1,e)[0]},getInt16:function(e){var t=J(this,2,e,arguments.length>1?arguments[1]:void 0);return(t[1]<<8|t[0])<<16>>16},getUint16:function(e){var t=J(this,2,e,arguments.length>1?arguments[1]:void 0);return t[1]<<8|t[0]},getInt32:function(e){return Y(J(this,4,e,arguments.length>1?arguments[1]:void 0))},getUint32:function(e){return Y(J(this,4,e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(e){return V(J(this,4,e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(e){return V(J(this,8,e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(e,t){Q(this,1,e,G,t)},setUint8:function(e,t){Q(this,1,e,G,t)},setInt16:function(e,t){Q(this,2,e,$,t,arguments.length>2?arguments[2]:void 0)},setUint16:function(e,t){Q(this,2,e,$,t,arguments.length>2?arguments[2]:void 0)},setInt32:function(e,t){Q(this,4,e,X,t,arguments.length>2?arguments[2]:void 0)},setUint32:function(e,t){Q(this,4,e,X,t,arguments.length>2?arguments[2]:void 0)},setFloat32:function(e,t){Q(this,4,e,K,t,arguments.length>2?arguments[2]:void 0)},setFloat64:function(e,t){Q(this,8,e,Z,t,arguments.length>2?arguments[2]:void 0)}});T(D,C),T(M,R),e.exports={ArrayBuffer:D,DataView:M}},"649e":function(e,t,r){"use strict";var a=r("ebb5"),n=r("b727").some,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("some",(function(e){return n(s(this),e,arguments.length>1?arguments[1]:void 0)}))},6964:function(e,t,r){var a=r("cb2d");e.exports=function(e,t,r){for(var n in t)a(e,n,t[n],r);return e}},"72f7":function(e,t,r){"use strict";var a=r("ebb5").exportTypedArrayMethod,n=r("d039"),s=r("da84"),i=r("e330"),o=s.Uint8Array,l=o&&o.prototype||{},c=[].toString,f=i([].join);n((function(){c.call({})}))&&(c=function(){return f(this)});var u=l.toString!=c;a("toString",c,u)},"735e":function(e,t,r){"use strict";var a=r("ebb5"),n=r("81d5"),s=r("f495"),i=r("f5df"),o=r("c65b"),l=r("e330"),c=r("d039"),f=a.aTypedArray,u=a.exportTypedArrayMethod,h=l("".slice),d=c((function(){var e=0;return new Int8Array(2).fill({valueOf:function(){return e++}}),1!==e}));u("fill",(function(e){var t=arguments.length;f(this);var r="Big"===h(i(this),0,3)?s(e):+e;return o(n,this,r,t>1?arguments[1]:void 0,t>2?arguments[2]:void 0)}),d)},"74e8":function(e,t,r){"use strict";var a=r("23e7"),n=r("da84"),s=r("c65b"),i=r("83ab"),o=r("8aa7"),l=r("ebb5"),c=r("621a"),f=r("19aa"),u=r("5c6c"),h=r("9112"),d=r("eac5"),p=r("50c4"),m=r("0b25"),b=r("182d"),g=r("a04b"),v=r("1a2d"),w=r("f5df"),y=r("861d"),k=r("d9b5"),T=r("7c73"),_=r("3a9b"),E=r("d2bb"),S=r("241c").f,A=r("a078"),x=r("b727").forEach,C=r("2626"),R=r("9bf2"),P=r("06cf"),O=r("69f3"),N=r("7156"),I=O.get,D=O.set,F=O.enforce,M=R.f,L=P.f,B=Math.round,U=n.RangeError,z=c.ArrayBuffer,W=z.prototype,H=c.DataView,j=l.NATIVE_ARRAY_BUFFER_VIEWS,V=l.TYPED_ARRAY_TAG,G=l.TypedArray,$=l.TypedArrayPrototype,X=l.aTypedArrayConstructor,Y=l.isTypedArray,K="BYTES_PER_ELEMENT",Z="Wrong length",q=function(e,t){X(e);var r=0,a=t.length,n=new e(a);while(a>r)n[r]=t[r++];return n},J=function(e,t){M(e,t,{get:function(){return I(this)[t]}})},Q=function(e){var t;return _(W,e)||"ArrayBuffer"==(t=w(e))||"SharedArrayBuffer"==t},ee=function(e,t){return Y(e)&&!k(t)&&t in e&&d(+t)&&t>=0},te=function(e,t){return t=g(t),ee(e,t)?u(2,e[t]):L(e,t)},re=function(e,t,r){return t=g(t),!(ee(e,t)&&y(r)&&v(r,"value"))||v(r,"get")||v(r,"set")||r.configurable||v(r,"writable")&&!r.writable||v(r,"enumerable")&&!r.enumerable?M(e,t,r):(e[t]=r.value,e)};i?(j||(P.f=te,R.f=re,J($,"buffer"),J($,"byteOffset"),J($,"byteLength"),J($,"length")),a({target:"Object",stat:!0,forced:!j},{getOwnPropertyDescriptor:te,defineProperty:re}),e.exports=function(e,t,r){var i=e.match(/\d+$/)[0]/8,l=e+(r?"Clamped":"")+"Array",c="get"+e,u="set"+e,d=n[l],g=d,v=g&&g.prototype,w={},k=function(e,t){var r=I(e);return r.view[c](t*i+r.byteOffset,!0)},_=function(e,t,a){var n=I(e);r&&(a=(a=B(a))<0?0:a>255?255:255&a),n.view[u](t*i+n.byteOffset,a,!0)},R=function(e,t){M(e,t,{get:function(){return k(this,t)},set:function(e){return _(this,t,e)},enumerable:!0})};j?o&&(g=t((function(e,t,r,a){return f(e,v),N(function(){return y(t)?Q(t)?void 0!==a?new d(t,b(r,i),a):void 0!==r?new d(t,b(r,i)):new d(t):Y(t)?q(g,t):s(A,g,t):new d(m(t))}(),e,g)})),E&&E(g,G),x(S(d),(function(e){e in g||h(g,e,d[e])})),g.prototype=v):(g=t((function(e,t,r,a){f(e,v);var n,o,l,c=0,u=0;if(y(t)){if(!Q(t))return Y(t)?q(g,t):s(A,g,t);n=t,u=b(r,i);var h=t.byteLength;if(void 0===a){if(h%i)throw U(Z);if(o=h-u,o<0)throw U(Z)}else if(o=p(a)*i,o+u>h)throw U(Z);l=o/i}else l=m(t),o=l*i,n=new z(o);D(e,{buffer:n,byteOffset:u,byteLength:o,length:l,view:new H(n)});while(c<l)R(e,c++)})),E&&E(g,G),v=g.prototype=T($)),v.constructor!==g&&h(v,"constructor",g),F(v).TypedArrayConstructor=g,V&&h(v,V,l);var P=g!=d;w[l]=g,a({global:!0,constructor:!0,forced:P,sham:!j},w),K in g||h(g,K,i),K in v||h(v,K,i),C(l)}):e.exports=function(){}},"77a7":function(e,t){var r=Array,a=Math.abs,n=Math.pow,s=Math.floor,i=Math.log,o=Math.LN2,l=function(e,t,l){var c,f,u,h=r(l),d=8*l-t-1,p=(1<<d)-1,m=p>>1,b=23===t?n(2,-24)-n(2,-77):0,g=e<0||0===e&&1/e<0?1:0,v=0;e=a(e),e!=e||e===1/0?(f=e!=e?1:0,c=p):(c=s(i(e)/o),u=n(2,-c),e*u<1&&(c--,u*=2),e+=c+m>=1?b/u:b*n(2,1-m),e*u>=2&&(c++,u/=2),c+m>=p?(f=0,c=p):c+m>=1?(f=(e*u-1)*n(2,t),c+=m):(f=e*n(2,m-1)*n(2,t),c=0));while(t>=8)h[v++]=255&f,f/=256,t-=8;c=c<<t|f,d+=t;while(d>0)h[v++]=255&c,c/=256,d-=8;return h[--v]|=128*g,h},c=function(e,t){var r,a=e.length,s=8*a-t-1,i=(1<<s)-1,o=i>>1,l=s-7,c=a-1,f=e[c--],u=127&f;f>>=7;while(l>0)u=256*u+e[c--],l-=8;r=u&(1<<-l)-1,u>>=-l,l+=t;while(l>0)r=256*r+e[c--],l-=8;if(0===u)u=1-o;else{if(u===i)return r?NaN:f?-1/0:1/0;r+=n(2,t),u-=o}return(f?-1:1)*r*n(2,u-t)};e.exports={pack:l,unpack:c}},"7c37":function(e,t,r){var a=r("605d");e.exports=function(e){try{if(a)return Function('return require("'+e+'")')()}catch(t){}}},"81b2":function(e,t,r){var a=r("23e7"),n=r("d066"),s=r("e330"),i=r("d039"),o=r("577e"),l=r("1a2d"),c=r("d6d6"),f=r("b917").ctoi,u=/[^\d+/a-z]/i,h=/[\t\n\f\r ]+/g,d=/[=]+$/,p=n("atob"),m=String.fromCharCode,b=s("".charAt),g=s("".replace),v=s(u.exec),w=i((function(){return""!==p(" ")})),y=!i((function(){p("a")})),k=!w&&!y&&!i((function(){p()})),T=!w&&!y&&1!==p.length;a({global:!0,enumerable:!0,forced:w||y||k||T},{atob:function(e){if(c(arguments.length,1),k||T)return p(e);var t,r,a=g(o(e),h,""),s="",i=0,w=0;if(a.length%4==0&&(a=g(a,d,"")),a.length%4==1||v(u,a))throw new(n("DOMException"))("The string is not correctly encoded","InvalidCharacterError");while(t=b(a,i++))l(f,t)&&(r=w%4?64*r+f[t]:f[t],w++%4&&(s+=m(255&r>>(-2*w&6))));return s}})},"81d5":function(e,t,r){"use strict";var a=r("7b0b"),n=r("23cb"),s=r("07fa");e.exports=function(e){var t=a(this),r=s(t),i=arguments.length,o=n(i>1?arguments[1]:void 0,r),l=i>2?arguments[2]:void 0,c=void 0===l?r:n(l,r);while(c>o)t[o++]=e;return t}},"82f8":function(e,t,r){"use strict";var a=r("ebb5"),n=r("4d64").includes,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("includes",(function(e){return n(s(this),e,arguments.length>1?arguments[1]:void 0)}))},"8aa7":function(e,t,r){var a=r("da84"),n=r("d039"),s=r("1c7e"),i=r("ebb5").NATIVE_ARRAY_BUFFER_VIEWS,o=a.ArrayBuffer,l=a.Int8Array;e.exports=!i||!n((function(){l(1)}))||!n((function(){new l(-1)}))||!s((function(e){new l,new l(null),new l(1.5),new l(e)}),!0)||n((function(){return 1!==new l(new o(2),1,void 0).length}))},"8bd4":function(e,t,r){var a=r("d066"),n=r("d44e"),s="DOMException";n(a(s),s)},"907a":function(e,t,r){"use strict";var a=r("ebb5"),n=r("07fa"),s=r("5926"),i=a.aTypedArray,o=a.exportTypedArrayMethod;o("at",(function(e){var t=i(this),r=n(t),a=s(e),o=a>=0?a:r+a;return o<0||o>=r?void 0:t[o]}))},9861:function(e,t,r){r("5352")},"986a":function(e,t,r){"use strict";var a=r("ebb5"),n=r("a258").findLast,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("findLast",(function(e){return n(s(this),e,arguments.length>1?arguments[1]:void 0)}))},"9a8c":function(e,t,r){"use strict";var a=r("e330"),n=r("ebb5"),s=r("145e"),i=a(s),o=n.aTypedArray,l=n.exportTypedArrayMethod;l("copyWithin",(function(e,t){return i(o(this),e,t,arguments.length>2?arguments[2]:void 0)}))},a078:function(e,t,r){var a=r("0366"),n=r("c65b"),s=r("5087"),i=r("7b0b"),o=r("07fa"),l=r("9a1f"),c=r("35a1"),f=r("e95a"),u=r("bcbf"),h=r("ebb5").aTypedArrayConstructor,d=r("f495");e.exports=function(e){var t,r,p,m,b,g,v,w,y=s(this),k=i(e),T=arguments.length,_=T>1?arguments[1]:void 0,E=void 0!==_,S=c(k);if(S&&!f(S)){v=l(k,S),w=v.next,k=[];while(!(g=n(w,v)).done)k.push(g.value)}for(E&&T>2&&(_=a(_,arguments[2])),r=o(k),p=new(h(y))(r),m=u(p),t=0;r>t;t++)b=E?_(k[t],t):k[t],p[t]=m?d(b):+b;return p}},a258:function(e,t,r){var a=r("0366"),n=r("44ad"),s=r("7b0b"),i=r("07fa"),o=function(e){var t=1==e;return function(r,o,l){var c,f,u=s(r),h=n(u),d=a(o,l),p=i(h);while(p-- >0)if(c=h[p],f=d(c,p,u),f)switch(e){case 0:return c;case 1:return p}return t?-1:void 0}};e.exports={findLast:o(0),findLastIndex:o(1)}},a975:function(e,t,r){"use strict";var a=r("ebb5"),n=r("b727").every,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("every",(function(e){return n(s(this),e,arguments.length>1?arguments[1]:void 0)}))},aa1f:function(e,t,r){"use strict";var a=r("83ab"),n=r("d039"),s=r("825a"),i=r("7c73"),o=r("e391"),l=Error.prototype.toString,c=n((function(){if(a){var e=i(Object.defineProperty({},"name",{get:function(){return this===e}}));if("true"!==l.call(e))return!0}return"2: 1"!==l.call({message:1,name:2})||"Error"!==l.call({})}));e.exports=c?function(){var e=s(this),t=o(e.name,"Error"),r=o(e.message);return t?r?t+": "+r:t:r}:l},ace4:function(e,t,r){"use strict";var a=r("23e7"),n=r("e330"),s=r("d039"),i=r("621a"),o=r("825a"),l=r("23cb"),c=r("50c4"),f=r("4840"),u=i.ArrayBuffer,h=i.DataView,d=h.prototype,p=n(u.prototype.slice),m=n(d.getUint8),b=n(d.setUint8),g=s((function(){return!new u(2).slice(1,void 0).byteLength}));a({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:g},{slice:function(e,t){if(p&&void 0===t)return p(o(this),e);var r=o(this).byteLength,a=l(e,r),n=l(void 0===t?r:t,r),s=new(f(this,u))(c(n-a)),i=new h(this),d=new h(s),g=0;while(a<n)b(d,g++,m(i,a++));return s}})},addb:function(e,t,r){var a=r("4dae"),n=Math.floor,s=function(e,t){var r=e.length,l=n(r/2);return r<8?i(e,t):o(e,s(a(e,0,l),t),s(a(e,l),t),t)},i=function(e,t){var r,a,n=e.length,s=1;while(s<n){a=s,r=e[s];while(a&&t(e[a-1],r)>0)e[a]=e[--a];a!==s++&&(e[a]=r)}return e},o=function(e,t,r,a){var n=t.length,s=r.length,i=0,o=0;while(i<n||o<s)e[i+o]=i<n&&o<s?a(t[i],r[o])<=0?t[i++]:r[o++]:i<n?t[i++]:r[o++];return e};e.exports=s},b39a:function(e,t,r){"use strict";var a=r("da84"),n=r("2ba4"),s=r("ebb5"),i=r("d039"),o=r("f36a"),l=a.Int8Array,c=s.aTypedArray,f=s.exportTypedArrayMethod,u=[].toLocaleString,h=!!l&&i((function(){u.call(new l(1))})),d=i((function(){return[1,2].toLocaleString()!=new l([1,2]).toLocaleString()}))||!i((function(){l.prototype.toLocaleString.call([1,2])}));f("toLocaleString",(function(){return n(u,h?o(c(this)):c(this),o(arguments))}),d)},b6b7:function(e,t,r){var a=r("ebb5"),n=r("4840"),s=a.aTypedArrayConstructor,i=a.getTypedArrayConstructor;e.exports=function(e){return s(n(e,i(e)))}},b7ef:function(e,t,r){"use strict";var a=r("23e7"),n=r("da84"),s=r("d066"),i=r("5c6c"),o=r("9bf2").f,l=r("1a2d"),c=r("19aa"),f=r("7156"),u=r("e391"),h=r("cf98"),d=r("0d26"),p=r("83ab"),m=r("c430"),b="DOMException",g=s("Error"),v=s(b),w=function(){c(this,y);var e=arguments.length,t=u(e<1?void 0:arguments[0]),r=u(e<2?void 0:arguments[1],"Error"),a=new v(t,r),n=g(t);return n.name=b,o(a,"stack",i(1,d(n.stack,1))),f(a,this,w),a},y=w.prototype=v.prototype,k="stack"in g(b),T="stack"in new v(1,2),_=v&&p&&Object.getOwnPropertyDescriptor(n,b),E=!!_&&!(_.writable&&_.configurable),S=k&&!E&&!T;a({global:!0,constructor:!0,forced:m||S},{DOMException:S?w:v});var A=s(b),x=A.prototype;if(x.constructor!==A)for(var C in m||o(x,"constructor",i(1,A)),h)if(l(h,C)){var R=h[C],P=R.s;l(A,P)||o(A,P,i(6,R.c))}},b917:function(e,t){for(var r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",a={},n=0;n<66;n++)a[r.charAt(n)]=n;e.exports={itoc:r,ctoi:a}},bcbf:function(e,t,r){var a=r("f5df"),n=r("e330"),s=n("".slice);e.exports=function(e){return"Big"===s(a(e),0,3)}},bf19:function(e,t,r){"use strict";var a=r("23e7"),n=r("c65b");a({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return n(URL.prototype.toString,this)}})},c1ac:function(e,t,r){"use strict";var a=r("ebb5"),n=r("b727").filter,s=r("1448"),i=a.aTypedArray,o=a.exportTypedArrayMethod;o("filter",(function(e){var t=n(i(this),e,arguments.length>1?arguments[1]:void 0);return s(this,t)}))},c4e3:function(e,t,r){(function(t,r,a){var n;!function(t){e.exports=t()}((function(){return function e(t,r,a){function s(o,l){if(!r[o]){if(!t[o]){var c="function"==typeof n&&n;if(!l&&c)return n(o,!0);if(i)return i(o,!0);var f=new Error("Cannot find module '"+o+"'");throw f.code="MODULE_NOT_FOUND",f}var u=r[o]={exports:{}};t[o][0].call(u.exports,(function(e){var r=t[o][1][e];return s(r||e)}),u,u.exports,e,t,r,a)}return r[o].exports}for(var i="function"==typeof n&&n,o=0;o<a.length;o++)s(a[o]);return s}({1:[function(e,t,r){"use strict";var a=e("./utils"),n=e("./support"),s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.encode=function(e){for(var t,r,n,i,o,l,c,f=[],u=0,h=e.length,d=h,p="string"!==a.getTypeOf(e);u<e.length;)d=h-u,n=p?(t=e[u++],r=u<h?e[u++]:0,u<h?e[u++]:0):(t=e.charCodeAt(u++),r=u<h?e.charCodeAt(u++):0,u<h?e.charCodeAt(u++):0),i=t>>2,o=(3&t)<<4|r>>4,l=1<d?(15&r)<<2|n>>6:64,c=2<d?63&n:64,f.push(s.charAt(i)+s.charAt(o)+s.charAt(l)+s.charAt(c));return f.join("")},r.decode=function(e){var t,r,a,i,o,l,c=0,f=0,u="data:";if(e.substr(0,u.length)===u)throw new Error("Invalid base64 input, it looks like a data url.");var h,d=3*(e=e.replace(/[^A-Za-z0-9+/=]/g,"")).length/4;if(e.charAt(e.length-1)===s.charAt(64)&&d--,e.charAt(e.length-2)===s.charAt(64)&&d--,d%1!=0)throw new Error("Invalid base64 input, bad content length.");for(h=n.uint8array?new Uint8Array(0|d):new Array(0|d);c<e.length;)t=s.indexOf(e.charAt(c++))<<2|(i=s.indexOf(e.charAt(c++)))>>4,r=(15&i)<<4|(o=s.indexOf(e.charAt(c++)))>>2,a=(3&o)<<6|(l=s.indexOf(e.charAt(c++))),h[f++]=t,64!==o&&(h[f++]=r),64!==l&&(h[f++]=a);return h}},{"./support":30,"./utils":32}],2:[function(e,t,r){"use strict";var a=e("./external"),n=e("./stream/DataWorker"),s=e("./stream/Crc32Probe"),i=e("./stream/DataLengthProbe");function o(e,t,r,a,n){this.compressedSize=e,this.uncompressedSize=t,this.crc32=r,this.compression=a,this.compressedContent=n}o.prototype={getContentWorker:function(){var e=new n(a.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new i("data_length")),t=this;return e.on("end",(function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error("Bug : uncompressed data size mismatch")})),e},getCompressedWorker:function(){return new n(a.Promise.resolve(this.compressedContent)).withStreamInfo("compressedSize",this.compressedSize).withStreamInfo("uncompressedSize",this.uncompressedSize).withStreamInfo("crc32",this.crc32).withStreamInfo("compression",this.compression)}},o.createWorkerFrom=function(e,t,r){return e.pipe(new s).pipe(new i("uncompressedSize")).pipe(t.compressWorker(r)).pipe(new i("compressedSize")).withStreamInfo("compression",t)},t.exports=o},{"./external":6,"./stream/Crc32Probe":25,"./stream/DataLengthProbe":26,"./stream/DataWorker":27}],3:[function(e,t,r){"use strict";var a=e("./stream/GenericWorker");r.STORE={magic:"\0\0",compressWorker:function(){return new a("STORE compression")},uncompressWorker:function(){return new a("STORE decompression")}},r.DEFLATE=e("./flate")},{"./flate":7,"./stream/GenericWorker":28}],4:[function(e,t,r){"use strict";var a=e("./utils"),n=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var a=0;a<8;a++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t){return void 0!==e&&e.length?"string"!==a.getTypeOf(e)?function(e,t,r,a){var s=n,i=a+r;e^=-1;for(var o=a;o<i;o++)e=e>>>8^s[255&(e^t[o])];return-1^e}(0|t,e,e.length,0):function(e,t,r,a){var s=n,i=a+r;e^=-1;for(var o=a;o<i;o++)e=e>>>8^s[255&(e^t.charCodeAt(o))];return-1^e}(0|t,e,e.length,0):0}},{"./utils":32}],5:[function(e,t,r){"use strict";r.base64=!1,r.binary=!1,r.dir=!1,r.createFolders=!0,r.date=null,r.compression=null,r.compressionOptions=null,r.comment=null,r.unixPermissions=null,r.dosPermissions=null},{}],6:[function(e,t,r){"use strict";var a=null;a="undefined"!=typeof Promise?Promise:e("lie"),t.exports={Promise:a}},{lie:37}],7:[function(e,t,r){"use strict";var a="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Uint32Array,n=e("pako"),s=e("./utils"),i=e("./stream/GenericWorker"),o=a?"uint8array":"array";function l(e,t){i.call(this,"FlateWorker/"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}r.magic="\b\0",s.inherits(l,i),l.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(s.transformTo(o,e.data),!1)},l.prototype.flush=function(){i.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},l.prototype.cleanUp=function(){i.prototype.cleanUp.call(this),this._pako=null},l.prototype._createPako=function(){this._pako=new n[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},r.compressWorker=function(e){return new l("Deflate",e)},r.uncompressWorker=function(){return new l("Inflate",{})}},{"./stream/GenericWorker":28,"./utils":32,pako:38}],8:[function(e,t,r){"use strict";function a(e,t){var r,a="";for(r=0;r<t;r++)a+=String.fromCharCode(255&e),e>>>=8;return a}function n(e,t,r,n,i,f){var u,h,d=e.file,p=e.compression,m=f!==o.utf8encode,b=s.transformTo("string",f(d.name)),g=s.transformTo("string",o.utf8encode(d.name)),v=d.comment,w=s.transformTo("string",f(v)),y=s.transformTo("string",o.utf8encode(v)),k=g.length!==d.name.length,T=y.length!==v.length,_="",E="",S="",A=d.dir,x=d.date,C={crc32:0,compressedSize:0,uncompressedSize:0};t&&!r||(C.crc32=e.crc32,C.compressedSize=e.compressedSize,C.uncompressedSize=e.uncompressedSize);var R=0;t&&(R|=8),m||!k&&!T||(R|=2048);var P=0,O=0;A&&(P|=16),"UNIX"===i?(O=798,P|=function(e,t){var r=e;return e||(r=t?16893:33204),(65535&r)<<16}(d.unixPermissions,A)):(O=20,P|=function(e){return 63&(e||0)}(d.dosPermissions)),u=x.getUTCHours(),u<<=6,u|=x.getUTCMinutes(),u<<=5,u|=x.getUTCSeconds()/2,h=x.getUTCFullYear()-1980,h<<=4,h|=x.getUTCMonth()+1,h<<=5,h|=x.getUTCDate(),k&&(E=a(1,1)+a(l(b),4)+g,_+="up"+a(E.length,2)+E),T&&(S=a(1,1)+a(l(w),4)+y,_+="uc"+a(S.length,2)+S);var N="";return N+="\n\0",N+=a(R,2),N+=p.magic,N+=a(u,2),N+=a(h,2),N+=a(C.crc32,4),N+=a(C.compressedSize,4),N+=a(C.uncompressedSize,4),N+=a(b.length,2),N+=a(_.length,2),{fileRecord:c.LOCAL_FILE_HEADER+N+b+_,dirRecord:c.CENTRAL_FILE_HEADER+a(O,2)+N+a(w.length,2)+"\0\0\0\0"+a(P,4)+a(n,4)+b+_+w}}var s=e("../utils"),i=e("../stream/GenericWorker"),o=e("../utf8"),l=e("../crc32"),c=e("../signature");function f(e,t,r,a){i.call(this,"ZipFileWorker"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=r,this.encodeFileName=a,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}s.inherits(f,i),f.prototype.push=function(e){var t=e.meta.percent||0,r=this.entriesCount,a=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,i.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:r?(t+100*(r-a-1))/r:100}}))},f.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var r=n(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:r.fileRecord,meta:{percent:0}})}else this.accumulate=!0},f.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,r=n(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(r.dirRecord),t)this.push({data:function(e){return c.DATA_DESCRIPTOR+a(e.crc32,4)+a(e.compressedSize,4)+a(e.uncompressedSize,4)}(e),meta:{percent:100}});else for(this.push({data:r.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},f.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var r=this.bytesWritten-e,n=function(e,t,r,n,i){var o=s.transformTo("string",i(n));return c.CENTRAL_DIRECTORY_END+"\0\0\0\0"+a(e,2)+a(e,2)+a(t,4)+a(r,4)+a(o.length,2)+o}(this.dirRecords.length,r,e,this.zipComment,this.encodeFileName);this.push({data:n,meta:{percent:100}})},f.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},f.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()})),e.on("error",(function(e){t.error(e)})),this},f.prototype.resume=function(){return!!i.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},f.prototype.error=function(e){var t=this._sources;if(!i.prototype.error.call(this,e))return!1;for(var r=0;r<t.length;r++)try{t[r].error(e)}catch(e){}return!0},f.prototype.lock=function(){i.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},t.exports=f},{"../crc32":4,"../signature":23,"../stream/GenericWorker":28,"../utf8":31,"../utils":32}],9:[function(e,t,r){"use strict";var a=e("../compressions"),n=e("./ZipFileWorker");r.generateWorker=function(e,t,r){var s=new n(t.streamFiles,r,t.platform,t.encodeFileName),i=0;try{e.forEach((function(e,r){i++;var n=function(e,t){var r=e||t,n=a[r];if(!n)throw new Error(r+" is not a valid compression method !");return n}(r.options.compression,t.compression),o=r.options.compressionOptions||t.compressionOptions||{},l=r.dir,c=r.date;r._compressWorker(n,o).withStreamInfo("file",{name:e,dir:l,date:c,comment:r.comment||"",unixPermissions:r.unixPermissions,dosPermissions:r.dosPermissions}).pipe(s)})),s.entriesCount=i}catch(e){s.error(e)}return s}},{"../compressions":3,"./ZipFileWorker":8}],10:[function(e,t,r){"use strict";function a(){if(!(this instanceof a))return new a;if(arguments.length)throw new Error("The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.");this.files=Object.create(null),this.comment=null,this.root="",this.clone=function(){var e=new a;for(var t in this)"function"!=typeof this[t]&&(e[t]=this[t]);return e}}(a.prototype=e("./object")).loadAsync=e("./load"),a.support=e("./support"),a.defaults=e("./defaults"),a.version="3.10.1",a.loadAsync=function(e,t){return(new a).loadAsync(e,t)},a.external=e("./external"),t.exports=a},{"./defaults":5,"./external":6,"./load":11,"./object":15,"./support":30}],11:[function(e,t,r){"use strict";var a=e("./utils"),n=e("./external"),s=e("./utf8"),i=e("./zipEntries"),o=e("./stream/Crc32Probe"),l=e("./nodejsUtils");function c(e){return new n.Promise((function(t,r){var a=e.decompressed.getContentWorker().pipe(new o);a.on("error",(function(e){r(e)})).on("end",(function(){a.streamInfo.crc32!==e.decompressed.crc32?r(new Error("Corrupted zip : CRC32 mismatch")):t()})).resume()}))}t.exports=function(e,t){var r=this;return t=a.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:s.utf8decode}),l.isNode&&l.isStream(e)?n.Promise.reject(new Error("JSZip can't accept a stream when loading a zip file.")):a.prepareContent("the loaded zip file",e,!0,t.optimizedBinaryString,t.base64).then((function(e){var r=new i(t);return r.load(e),r})).then((function(e){var r=[n.Promise.resolve(e)],a=e.files;if(t.checkCRC32)for(var s=0;s<a.length;s++)r.push(c(a[s]));return n.Promise.all(r)})).then((function(e){for(var n=e.shift(),s=n.files,i=0;i<s.length;i++){var o=s[i],l=o.fileNameStr,c=a.resolve(o.fileNameStr);r.file(c,o.decompressed,{binary:!0,optimizedBinaryString:!0,date:o.date,dir:o.dir,comment:o.fileCommentStr.length?o.fileCommentStr:null,unixPermissions:o.unixPermissions,dosPermissions:o.dosPermissions,createFolders:t.createFolders}),o.dir||(r.file(c).unsafeOriginalName=l)}return n.zipComment.length&&(r.comment=n.zipComment),r}))}},{"./external":6,"./nodejsUtils":14,"./stream/Crc32Probe":25,"./utf8":31,"./utils":32,"./zipEntries":33}],12:[function(e,t,r){"use strict";var a=e("../utils"),n=e("../stream/GenericWorker");function s(e,t){n.call(this,"Nodejs stream input adapter for "+e),this._upstreamEnded=!1,this._bindStream(t)}a.inherits(s,n),s.prototype._bindStream=function(e){var t=this;(this._stream=e).pause(),e.on("data",(function(e){t.push({data:e,meta:{percent:0}})})).on("error",(function(e){t.isPaused?this.generatedError=e:t.error(e)})).on("end",(function(){t.isPaused?t._upstreamEnded=!0:t.end()}))},s.prototype.pause=function(){return!!n.prototype.pause.call(this)&&(this._stream.pause(),!0)},s.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},t.exports=s},{"../stream/GenericWorker":28,"../utils":32}],13:[function(e,t,r){"use strict";var a=e("readable-stream").Readable;function n(e,t,r){a.call(this,t),this._helper=e;var n=this;e.on("data",(function(e,t){n.push(e)||n._helper.pause(),r&&r(t)})).on("error",(function(e){n.emit("error",e)})).on("end",(function(){n.push(null)}))}e("../utils").inherits(n,a),n.prototype._read=function(){this._helper.resume()},t.exports=n},{"../utils":32,"readable-stream":16}],14:[function(e,r,a){"use strict";r.exports={isNode:"undefined"!=typeof t,newBufferFrom:function(e,r){if(t.from&&t.from!==Uint8Array.from)return t.from(e,r);if("number"==typeof e)throw new Error('The "data" argument must not be a number');return new t(e,r)},allocBuffer:function(e){if(t.alloc)return t.alloc(e);var r=new t(e);return r.fill(0),r},isBuffer:function(e){return t.isBuffer(e)},isStream:function(e){return e&&"function"==typeof e.on&&"function"==typeof e.pause&&"function"==typeof e.resume}}},{}],15:[function(e,t,r){"use strict";function a(e,t,r){var a,n=s.getTypeOf(t),o=s.extend(r||{},l);o.date=o.date||new Date,null!==o.compression&&(o.compression=o.compression.toUpperCase()),"string"==typeof o.unixPermissions&&(o.unixPermissions=parseInt(o.unixPermissions,8)),o.unixPermissions&&16384&o.unixPermissions&&(o.dir=!0),o.dosPermissions&&16&o.dosPermissions&&(o.dir=!0),o.dir&&(e=m(e)),o.createFolders&&(a=p(e))&&b.call(this,a,!0);var u="string"===n&&!1===o.binary&&!1===o.base64;r&&void 0!==r.binary||(o.binary=!u),(t instanceof c&&0===t.uncompressedSize||o.dir||!t||0===t.length)&&(o.base64=!1,o.binary=!0,t="",o.compression="STORE",n="string");var g=null;g=t instanceof c||t instanceof i?t:h.isNode&&h.isStream(t)?new d(e,t):s.prepareContent(e,t,o.binary,o.optimizedBinaryString,o.base64);var v=new f(e,g,o);this.files[e]=v}var n=e("./utf8"),s=e("./utils"),i=e("./stream/GenericWorker"),o=e("./stream/StreamHelper"),l=e("./defaults"),c=e("./compressedObject"),f=e("./zipObject"),u=e("./generate"),h=e("./nodejsUtils"),d=e("./nodejs/NodejsStreamInputAdapter"),p=function(e){"/"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf("/");return 0<t?e.substring(0,t):""},m=function(e){return"/"!==e.slice(-1)&&(e+="/"),e},b=function(e,t){return t=void 0!==t?t:l.createFolders,e=m(e),this.files[e]||a.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]};function g(e){return"[object RegExp]"===Object.prototype.toString.call(e)}var v={load:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},forEach:function(e){var t,r,a;for(t in this.files)a=this.files[t],(r=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(r,a)},filter:function(e){var t=[];return this.forEach((function(r,a){e(r,a)&&t.push(a)})),t},file:function(e,t,r){if(1!==arguments.length)return e=this.root+e,a.call(this,e,t,r),this;if(g(e)){var n=e;return this.filter((function(e,t){return!t.dir&&n.test(e)}))}var s=this.files[this.root+e];return s&&!s.dir?s:null},folder:function(e){if(!e)return this;if(g(e))return this.filter((function(t,r){return r.dir&&e.test(t)}));var t=this.root+e,r=b.call(this,t),a=this.clone();return a.root=r.name,a},remove:function(e){e=this.root+e;var t=this.files[e];if(t||("/"!==e.slice(-1)&&(e+="/"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var r=this.filter((function(t,r){return r.name.slice(0,e.length)===e})),a=0;a<r.length;a++)delete this.files[r[a].name];return this},generate:function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},generateInternalStream:function(e){var t,r={};try{if((r=s.extend(e||{},{streamFiles:!1,compression:"STORE",compressionOptions:null,type:"",platform:"DOS",comment:null,mimeType:"application/zip",encodeFileName:n.utf8encode})).type=r.type.toLowerCase(),r.compression=r.compression.toUpperCase(),"binarystring"===r.type&&(r.type="string"),!r.type)throw new Error("No output type specified.");s.checkSupport(r.type),"darwin"!==r.platform&&"freebsd"!==r.platform&&"linux"!==r.platform&&"sunos"!==r.platform||(r.platform="UNIX"),"win32"===r.platform&&(r.platform="DOS");var a=r.comment||this.comment||"";t=u.generateWorker(this,r,a)}catch(e){(t=new i("error")).error(e)}return new o(t,r.type||"string",r.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return(e=e||{}).type||(e.type="nodebuffer"),this.generateInternalStream(e).toNodejsStream(t)}};t.exports=v},{"./compressedObject":2,"./defaults":5,"./generate":9,"./nodejs/NodejsStreamInputAdapter":12,"./nodejsUtils":14,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31,"./utils":32,"./zipObject":35}],16:[function(e,t,r){"use strict";t.exports=e("stream")},{stream:void 0}],17:[function(e,t,r){"use strict";var a=e("./DataReader");function n(e){a.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}e("../utils").inherits(n,a),n.prototype.byteAt=function(e){return this.data[this.zero+e]},n.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),r=e.charCodeAt(1),a=e.charCodeAt(2),n=e.charCodeAt(3),s=this.length-4;0<=s;--s)if(this.data[s]===t&&this.data[s+1]===r&&this.data[s+2]===a&&this.data[s+3]===n)return s-this.zero;return-1},n.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),r=e.charCodeAt(1),a=e.charCodeAt(2),n=e.charCodeAt(3),s=this.readData(4);return t===s[0]&&r===s[1]&&a===s[2]&&n===s[3]},n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./DataReader":18}],18:[function(e,t,r){"use strict";var a=e("../utils");function n(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error("End of data reached (data length = "+this.length+", asked index = "+e+"). Corrupted zip ?")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(){},readInt:function(e){var t,r=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)r=(r<<8)+this.byteAt(t);return this.index+=e,r},readString:function(e){return a.transformTo("string",this.readData(e))},readData:function(){},lastIndexOfSignature:function(){},readAndCheckSignature:function(){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},t.exports=n},{"../utils":32}],19:[function(e,t,r){"use strict";var a=e("./Uint8ArrayReader");function n(e){a.call(this,e)}e("../utils").inherits(n,a),n.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./Uint8ArrayReader":21}],20:[function(e,t,r){"use strict";var a=e("./DataReader");function n(e){a.call(this,e)}e("../utils").inherits(n,a),n.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},n.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},n.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},n.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./DataReader":18}],21:[function(e,t,r){"use strict";var a=e("./ArrayReader");function n(e){a.call(this,e)}e("../utils").inherits(n,a),n.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},t.exports=n},{"../utils":32,"./ArrayReader":17}],22:[function(e,t,r){"use strict";var a=e("../utils"),n=e("../support"),s=e("./ArrayReader"),i=e("./StringReader"),o=e("./NodeBufferReader"),l=e("./Uint8ArrayReader");t.exports=function(e){var t=a.getTypeOf(e);return a.checkSupport(t),"string"!==t||n.uint8array?"nodebuffer"===t?new o(e):n.uint8array?new l(a.transformTo("uint8array",e)):new s(a.transformTo("array",e)):new i(e)}},{"../support":30,"../utils":32,"./ArrayReader":17,"./NodeBufferReader":19,"./StringReader":20,"./Uint8ArrayReader":21}],23:[function(e,t,r){"use strict";r.LOCAL_FILE_HEADER="PK",r.CENTRAL_FILE_HEADER="PK",r.CENTRAL_DIRECTORY_END="PK",r.ZIP64_CENTRAL_DIRECTORY_LOCATOR="PK",r.ZIP64_CENTRAL_DIRECTORY_END="PK",r.DATA_DESCRIPTOR="PK\b"},{}],24:[function(e,t,r){"use strict";var a=e("./GenericWorker"),n=e("../utils");function s(e){a.call(this,"ConvertWorker to "+e),this.destType=e}n.inherits(s,a),s.prototype.processChunk=function(e){this.push({data:n.transformTo(this.destType,e.data),meta:e.meta})},t.exports=s},{"../utils":32,"./GenericWorker":28}],25:[function(e,t,r){"use strict";var a=e("./GenericWorker"),n=e("../crc32");function s(){a.call(this,"Crc32Probe"),this.withStreamInfo("crc32",0)}e("../utils").inherits(s,a),s.prototype.processChunk=function(e){this.streamInfo.crc32=n(e.data,this.streamInfo.crc32||0),this.push(e)},t.exports=s},{"../crc32":4,"../utils":32,"./GenericWorker":28}],26:[function(e,t,r){"use strict";var a=e("../utils"),n=e("./GenericWorker");function s(e){n.call(this,"DataLengthProbe for "+e),this.propName=e,this.withStreamInfo(e,0)}a.inherits(s,n),s.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}n.prototype.processChunk.call(this,e)},t.exports=s},{"../utils":32,"./GenericWorker":28}],27:[function(e,t,r){"use strict";var a=e("../utils"),n=e("./GenericWorker");function s(e){n.call(this,"DataWorker");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type="",this._tickScheduled=!1,e.then((function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=a.getTypeOf(e),t.isPaused||t._tickAndRepeat()}),(function(e){t.error(e)}))}a.inherits(s,n),s.prototype.cleanUp=function(){n.prototype.cleanUp.call(this),this.data=null},s.prototype.resume=function(){return!!n.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,a.delay(this._tickAndRepeat,[],this)),!0)},s.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(a.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},s.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case"string":e=this.data.substring(this.index,t);break;case"uint8array":e=this.data.subarray(this.index,t);break;case"array":case"nodebuffer":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},t.exports=s},{"../utils":32,"./GenericWorker":28}],28:[function(e,t,r){"use strict";function a(e){this.name=e||"default",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}a.prototype={push:function(e){this.emit("data",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit("end"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit("error",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit("error",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var r=0;r<this._listeners[e].length;r++)this._listeners[e][r].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on("data",(function(e){t.processChunk(e)})),e.on("end",(function(){t.end()})),e.on("error",(function(e){t.error(e)})),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;var e=this.isPaused=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)Object.prototype.hasOwnProperty.call(this.extraStreamInfo,e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error("The stream '"+this+"' has already been used.");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e="Worker "+this.name;return this.previous?this.previous+" -> "+e:e}},t.exports=a},{}],29:[function(e,r,a){"use strict";var n=e("../utils"),s=e("./ConvertWorker"),i=e("./GenericWorker"),o=e("../base64"),l=e("../support"),c=e("../external"),f=null;if(l.nodestream)try{f=e("../nodejs/NodejsStreamOutputAdapter")}catch(e){}function u(e,r){return new c.Promise((function(a,s){var i=[],l=e._internalType,c=e._outputType,f=e._mimeType;e.on("data",(function(e,t){i.push(e),r&&r(t)})).on("error",(function(e){i=[],s(e)})).on("end",(function(){try{var e=function(e,t,r){switch(e){case"blob":return n.newBlob(n.transformTo("arraybuffer",t),r);case"base64":return o.encode(t);default:return n.transformTo(e,t)}}(c,function(e,r){var a,n=0,s=null,i=0;for(a=0;a<r.length;a++)i+=r[a].length;switch(e){case"string":return r.join("");case"array":return Array.prototype.concat.apply([],r);case"uint8array":for(s=new Uint8Array(i),a=0;a<r.length;a++)s.set(r[a],n),n+=r[a].length;return s;case"nodebuffer":return t.concat(r);default:throw new Error("concat : unsupported type '"+e+"'")}}(l,i),f);a(e)}catch(e){s(e)}i=[]})).resume()}))}function h(e,t,r){var a=t;switch(t){case"blob":case"arraybuffer":a="uint8array";break;case"base64":a="string"}try{this._internalType=a,this._outputType=t,this._mimeType=r,n.checkSupport(a),this._worker=e.pipe(new s(a)),e.lock()}catch(e){this._worker=new i("error"),this._worker.error(e)}}h.prototype={accumulate:function(e){return u(this,e)},on:function(e,t){var r=this;return"data"===e?this._worker.on(e,(function(e){t.call(r,e.data,e.meta)})):this._worker.on(e,(function(){n.delay(t,arguments,r)})),this},resume:function(){return n.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(n.checkSupport("nodestream"),"nodebuffer"!==this._outputType)throw new Error(this._outputType+" is not supported by this method");return new f(this,{objectMode:"nodebuffer"!==this._outputType},e)}},r.exports=h},{"../base64":1,"../external":6,"../nodejs/NodejsStreamOutputAdapter":13,"../support":30,"../utils":32,"./ConvertWorker":24,"./GenericWorker":28}],30:[function(e,r,a){"use strict";if(a.base64=!0,a.array=!0,a.string=!0,a.arraybuffer="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array,a.nodebuffer="undefined"!=typeof t,a.uint8array="undefined"!=typeof Uint8Array,"undefined"==typeof ArrayBuffer)a.blob=!1;else{var n=new ArrayBuffer(0);try{a.blob=0===new Blob([n],{type:"application/zip"}).size}catch(e){try{var s=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);s.append(n),a.blob=0===s.getBlob("application/zip").size}catch(e){a.blob=!1}}}try{a.nodestream=!!e("readable-stream").Readable}catch(e){a.nodestream=!1}},{"readable-stream":16}],31:[function(e,t,r){"use strict";for(var a=e("./utils"),n=e("./support"),s=e("./nodejsUtils"),i=e("./stream/GenericWorker"),o=new Array(256),l=0;l<256;l++)o[l]=252<=l?6:248<=l?5:240<=l?4:224<=l?3:192<=l?2:1;function c(){i.call(this,"utf-8 decode"),this.leftOver=null}function f(){i.call(this,"utf-8 encode")}o[254]=o[254]=1,r.utf8encode=function(e){return n.nodebuffer?s.newBufferFrom(e,"utf-8"):function(e){var t,r,a,s,i,o=e.length,l=0;for(s=0;s<o;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<o&&56320==(64512&(a=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(a-56320),s++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=n.uint8array?new Uint8Array(l):new Array(l),s=i=0;i<l;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<o&&56320==(64512&(a=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(a-56320),s++),r<128?t[i++]=r:(r<2048?t[i++]=192|r>>>6:(r<65536?t[i++]=224|r>>>12:(t[i++]=240|r>>>18,t[i++]=128|r>>>12&63),t[i++]=128|r>>>6&63),t[i++]=128|63&r);return t}(e)},r.utf8decode=function(e){return n.nodebuffer?a.transformTo("nodebuffer",e).toString("utf-8"):function(e){var t,r,n,s,i=e.length,l=new Array(2*i);for(t=r=0;t<i;)if((n=e[t++])<128)l[r++]=n;else if(4<(s=o[n]))l[r++]=65533,t+=s-1;else{for(n&=2===s?31:3===s?15:7;1<s&&t<i;)n=n<<6|63&e[t++],s--;1<s?l[r++]=65533:n<65536?l[r++]=n:(n-=65536,l[r++]=55296|n>>10&1023,l[r++]=56320|1023&n)}return l.length!==r&&(l.subarray?l=l.subarray(0,r):l.length=r),a.applyFromCharCode(l)}(e=a.transformTo(n.uint8array?"uint8array":"array",e))},a.inherits(c,i),c.prototype.processChunk=function(e){var t=a.transformTo(n.uint8array?"uint8array":"array",e.data);if(this.leftOver&&this.leftOver.length){if(n.uint8array){var s=t;(t=new Uint8Array(s.length+this.leftOver.length)).set(this.leftOver,0),t.set(s,this.leftOver.length)}else t=this.leftOver.concat(t);this.leftOver=null}var i=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+o[e[r]]>t?r:t}(t),l=t;i!==t.length&&(n.uint8array?(l=t.subarray(0,i),this.leftOver=t.subarray(i,t.length)):(l=t.slice(0,i),this.leftOver=t.slice(i,t.length))),this.push({data:r.utf8decode(l),meta:e.meta})},c.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:r.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},r.Utf8DecodeWorker=c,a.inherits(f,i),f.prototype.processChunk=function(e){this.push({data:r.utf8encode(e.data),meta:e.meta})},r.Utf8EncodeWorker=f},{"./nodejsUtils":14,"./stream/GenericWorker":28,"./support":30,"./utils":32}],32:[function(e,t,r){"use strict";var a=e("./support"),n=e("./base64"),s=e("./nodejsUtils"),i=e("./external");function o(e){return e}function l(e,t){for(var r=0;r<e.length;++r)t[r]=255&e.charCodeAt(r);return t}e("setimmediate"),r.newBlob=function(t,a){r.checkSupport("blob");try{return new Blob([t],{type:a})}catch(e){try{var n=new(self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder);return n.append(t),n.getBlob(a)}catch(e){throw new Error("Bug : can't construct the Blob.")}}};var c={stringifyByChunk:function(e,t,r){var a=[],n=0,s=e.length;if(s<=r)return String.fromCharCode.apply(null,e);for(;n<s;)"array"===t||"nodebuffer"===t?a.push(String.fromCharCode.apply(null,e.slice(n,Math.min(n+r,s)))):a.push(String.fromCharCode.apply(null,e.subarray(n,Math.min(n+r,s)))),n+=r;return a.join("")},stringifyByChar:function(e){for(var t="",r=0;r<e.length;r++)t+=String.fromCharCode(e[r]);return t},applyCanBeUsed:{uint8array:function(){try{return a.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return a.nodebuffer&&1===String.fromCharCode.apply(null,s.allocBuffer(1)).length}catch(e){return!1}}()}};function f(e){var t=65536,a=r.getTypeOf(e),n=!0;if("uint8array"===a?n=c.applyCanBeUsed.uint8array:"nodebuffer"===a&&(n=c.applyCanBeUsed.nodebuffer),n)for(;1<t;)try{return c.stringifyByChunk(e,a,t)}catch(e){t=Math.floor(t/2)}return c.stringifyByChar(e)}function u(e,t){for(var r=0;r<e.length;r++)t[r]=e[r];return t}r.applyFromCharCode=f;var h={};h.string={string:o,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return h.string.uint8array(e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:function(e){return l(e,s.allocBuffer(e.length))}},h.array={string:f,array:o,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(e)}},h.arraybuffer={string:function(e){return f(new Uint8Array(e))},array:function(e){return u(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:o,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return s.newBufferFrom(new Uint8Array(e))}},h.uint8array={string:f,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:o,nodebuffer:function(e){return s.newBufferFrom(e)}},h.nodebuffer={string:f,array:function(e){return u(e,new Array(e.length))},arraybuffer:function(e){return h.nodebuffer.uint8array(e).buffer},uint8array:function(e){return u(e,new Uint8Array(e.length))},nodebuffer:o},r.transformTo=function(e,t){if(t=t||"",!e)return t;r.checkSupport(e);var a=r.getTypeOf(t);return h[a][e](t)},r.resolve=function(e){for(var t=e.split("/"),r=[],a=0;a<t.length;a++){var n=t[a];"."===n||""===n&&0!==a&&a!==t.length-1||(".."===n?r.pop():r.push(n))}return r.join("/")},r.getTypeOf=function(e){return"string"==typeof e?"string":"[object Array]"===Object.prototype.toString.call(e)?"array":a.nodebuffer&&s.isBuffer(e)?"nodebuffer":a.uint8array&&e instanceof Uint8Array?"uint8array":a.arraybuffer&&e instanceof ArrayBuffer?"arraybuffer":void 0},r.checkSupport=function(e){if(!a[e.toLowerCase()])throw new Error(e+" is not supported by this platform")},r.MAX_VALUE_16BITS=65535,r.MAX_VALUE_32BITS=-1,r.pretty=function(e){var t,r,a="";for(r=0;r<(e||"").length;r++)a+="\\x"+((t=e.charCodeAt(r))<16?"0":"")+t.toString(16).toUpperCase();return a},r.delay=function(e,t,r){setImmediate((function(){e.apply(r||null,t||[])}))},r.inherits=function(e,t){function r(){}r.prototype=t.prototype,e.prototype=new r},r.extend=function(){var e,t,r={};for(e=0;e<arguments.length;e++)for(t in arguments[e])Object.prototype.hasOwnProperty.call(arguments[e],t)&&void 0===r[t]&&(r[t]=arguments[e][t]);return r},r.prepareContent=function(e,t,s,o,c){return i.Promise.resolve(t).then((function(e){return a.blob&&(e instanceof Blob||-1!==["[object File]","[object Blob]"].indexOf(Object.prototype.toString.call(e)))&&"undefined"!=typeof FileReader?new i.Promise((function(t,r){var a=new FileReader;a.onload=function(e){t(e.target.result)},a.onerror=function(e){r(e.target.error)},a.readAsArrayBuffer(e)})):e})).then((function(t){var f=r.getTypeOf(t);return f?("arraybuffer"===f?t=r.transformTo("uint8array",t):"string"===f&&(c?t=n.decode(t):s&&!0!==o&&(t=function(e){return l(e,a.uint8array?new Uint8Array(e.length):new Array(e.length))}(t))),t):i.Promise.reject(new Error("Can't read the data of '"+e+"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?"))}))}},{"./base64":1,"./external":6,"./nodejsUtils":14,"./support":30,setimmediate:54}],33:[function(e,t,r){"use strict";var a=e("./reader/readerFor"),n=e("./utils"),s=e("./signature"),i=e("./zipEntry"),o=e("./support");function l(e){this.files=[],this.loadOptions=e}l.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error("Corrupted zip or bug: unexpected signature ("+n.pretty(t)+", expected "+n.pretty(e)+")")}},isSignature:function(e,t){var r=this.reader.index;this.reader.setIndex(e);var a=this.reader.readString(4)===t;return this.reader.setIndex(r),a},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=o.uint8array?"uint8array":"array",r=n.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(r)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,r,a=this.zip64EndOfCentralSize-44;0<a;)e=this.reader.readInt(2),t=this.reader.readInt(4),r=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:r}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),1<this.disksCount)throw new Error("Multi-volumes zip are not supported")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(s.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(s.CENTRAL_FILE_HEADER);)(e=new i({zip64:this.zip64},this.loadOptions)).readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error("Corrupted zip or bug: expected "+this.centralDirRecords+" records in central dir, got "+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(s.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,s.LOCAL_FILE_HEADER)?new Error("Corrupted zip: can't find end of central directory"):new Error("Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html");this.reader.setIndex(e);var t=e;if(this.checkSignature(s.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===n.MAX_VALUE_16BITS||this.diskWithCentralDirStart===n.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===n.MAX_VALUE_16BITS||this.centralDirRecords===n.MAX_VALUE_16BITS||this.centralDirSize===n.MAX_VALUE_32BITS||this.centralDirOffset===n.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error("Corrupted zip: can't find the ZIP64 end of central directory locator");if(this.reader.setIndex(e),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,s.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error("Corrupted zip: can't find the ZIP64 end of central directory");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(s.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var r=this.centralDirOffset+this.centralDirSize;this.zip64&&(r+=20,r+=12+this.zip64EndOfCentralSize);var a=t-r;if(0<a)this.isSignature(t,s.CENTRAL_FILE_HEADER)||(this.reader.zero=a);else if(a<0)throw new Error("Corrupted zip: missing "+Math.abs(a)+" bytes.")},prepareReader:function(e){this.reader=a(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},t.exports=l},{"./reader/readerFor":22,"./signature":23,"./support":30,"./utils":32,"./zipEntry":34}],34:[function(e,t,r){"use strict";var a=e("./reader/readerFor"),n=e("./utils"),s=e("./compressedObject"),i=e("./crc32"),o=e("./utf8"),l=e("./compressions"),c=e("./support");function f(e,t){this.options=e,this.loadOptions=t}f.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,r;if(e.skip(22),this.fileNameLength=e.readInt(2),r=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(r),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error("Bug or corrupted zip : didn't get enough information from the central directory (compressedSize === -1 || uncompressedSize === -1)");if(null===(t=function(e){for(var t in l)if(Object.prototype.hasOwnProperty.call(l,t)&&l[t].magic===e)return l[t];return null}(this.compressionMethod)))throw new Error("Corrupted zip : compression "+n.pretty(this.compressionMethod)+" unknown (inner file : "+n.transformTo("string",this.fileName)+")");this.decompressed=new s(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error("Encrypted zip are not supported");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0==e&&(this.dosPermissions=63&this.externalFileAttributes),3==e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||"/"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(){if(this.extraFields[1]){var e=a(this.extraFields[1].value);this.uncompressedSize===n.MAX_VALUE_32BITS&&(this.uncompressedSize=e.readInt(8)),this.compressedSize===n.MAX_VALUE_32BITS&&(this.compressedSize=e.readInt(8)),this.localHeaderOffset===n.MAX_VALUE_32BITS&&(this.localHeaderOffset=e.readInt(8)),this.diskNumberStart===n.MAX_VALUE_32BITS&&(this.diskNumberStart=e.readInt(4))}},readExtraFields:function(e){var t,r,a,n=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index+4<n;)t=e.readInt(2),r=e.readInt(2),a=e.readData(r),this.extraFields[t]={id:t,length:r,value:a};e.setIndex(n)},handleUTF8:function(){var e=c.uint8array?"uint8array":"array";if(this.useUTF8())this.fileNameStr=o.utf8decode(this.fileName),this.fileCommentStr=o.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var r=n.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(r)}var a=this.findExtraFieldUnicodeComment();if(null!==a)this.fileCommentStr=a;else{var s=n.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(s)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=a(e.value);return 1!==t.readInt(1)||i(this.fileName)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=a(e.value);return 1!==t.readInt(1)||i(this.fileComment)!==t.readInt(4)?null:o.utf8decode(t.readData(e.length-5))}return null}},t.exports=f},{"./compressedObject":2,"./compressions":3,"./crc32":4,"./reader/readerFor":22,"./support":30,"./utf8":31,"./utils":32}],35:[function(e,t,r){"use strict";function a(e,t,r){this.name=e,this.dir=r.dir,this.date=r.date,this.comment=r.comment,this.unixPermissions=r.unixPermissions,this.dosPermissions=r.dosPermissions,this._data=t,this._dataBinary=r.binary,this.options={compression:r.compression,compressionOptions:r.compressionOptions}}var n=e("./stream/StreamHelper"),s=e("./stream/DataWorker"),i=e("./utf8"),o=e("./compressedObject"),l=e("./stream/GenericWorker");a.prototype={internalStream:function(e){var t=null,r="string";try{if(!e)throw new Error("No output type specified.");var a="string"===(r=e.toLowerCase())||"text"===r;"binarystring"!==r&&"text"!==r||(r="string"),t=this._decompressWorker();var s=!this._dataBinary;s&&!a&&(t=t.pipe(new i.Utf8EncodeWorker)),!s&&a&&(t=t.pipe(new i.Utf8DecodeWorker))}catch(e){(t=new l("error")).error(e)}return new n(t,r,"")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||"nodebuffer").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof o&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var r=this._decompressWorker();return this._dataBinary||(r=r.pipe(new i.Utf8EncodeWorker)),o.createWorkerFrom(r,e,t)},_decompressWorker:function(){return this._data instanceof o?this._data.getContentWorker():this._data instanceof l?this._data:new s(this._data)}};for(var c=["asText","asBinary","asNodeBuffer","asUint8Array","asArrayBuffer"],f=function(){throw new Error("This method has been removed in JSZip 3.0, please check the upgrade guide.")},u=0;u<c.length;u++)a.prototype[c[u]]=f;t.exports=a},{"./compressedObject":2,"./stream/DataWorker":27,"./stream/GenericWorker":28,"./stream/StreamHelper":29,"./utf8":31}],36:[function(e,t,a){(function(e){"use strict";var r,a,n=e.MutationObserver||e.WebKitMutationObserver;if(n){var s=0,i=new n(f),o=e.document.createTextNode("");i.observe(o,{characterData:!0}),r=function(){o.data=s=++s%2}}else if(e.setImmediate||void 0===e.MessageChannel)r="document"in e&&"onreadystatechange"in e.document.createElement("script")?function(){var t=e.document.createElement("script");t.onreadystatechange=function(){f(),t.onreadystatechange=null,t.parentNode.removeChild(t),t=null},e.document.documentElement.appendChild(t)}:function(){setTimeout(f,0)};else{var l=new e.MessageChannel;l.port1.onmessage=f,r=function(){l.port2.postMessage(0)}}var c=[];function f(){var e,t;a=!0;for(var r=c.length;r;){for(t=c,c=[],e=-1;++e<r;)t[e]();r=c.length}a=!1}t.exports=function(e){1!==c.push(e)||a||r()}}).call(this,"undefined"!=typeof r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],37:[function(e,t,r){"use strict";var a=e("immediate");function n(){}var s={},i=["REJECTED"],o=["FULFILLED"],l=["PENDING"];function c(e){if("function"!=typeof e)throw new TypeError("resolver must be a function");this.state=l,this.queue=[],this.outcome=void 0,e!==n&&d(this,e)}function f(e,t,r){this.promise=e,"function"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),"function"==typeof r&&(this.onRejected=r,this.callRejected=this.otherCallRejected)}function u(e,t,r){a((function(){var a;try{a=t(r)}catch(a){return s.reject(e,a)}a===e?s.reject(e,new TypeError("Cannot resolve promise with itself")):s.resolve(e,a)}))}function h(e){var t=e&&e.then;if(e&&("object"==typeof e||"function"==typeof e)&&"function"==typeof t)return function(){t.apply(e,arguments)}}function d(e,t){var r=!1;function a(t){r||(r=!0,s.reject(e,t))}function n(t){r||(r=!0,s.resolve(e,t))}var i=p((function(){t(n,a)}));"error"===i.status&&a(i.value)}function p(e,t){var r={};try{r.value=e(t),r.status="success"}catch(e){r.status="error",r.value=e}return r}(t.exports=c).prototype.finally=function(e){if("function"!=typeof e)return this;var t=this.constructor;return this.then((function(r){return t.resolve(e()).then((function(){return r}))}),(function(r){return t.resolve(e()).then((function(){throw r}))}))},c.prototype.catch=function(e){return this.then(null,e)},c.prototype.then=function(e,t){if("function"!=typeof e&&this.state===o||"function"!=typeof t&&this.state===i)return this;var r=new this.constructor(n);return this.state!==l?u(r,this.state===o?e:t,this.outcome):this.queue.push(new f(r,e,t)),r},f.prototype.callFulfilled=function(e){s.resolve(this.promise,e)},f.prototype.otherCallFulfilled=function(e){u(this.promise,this.onFulfilled,e)},f.prototype.callRejected=function(e){s.reject(this.promise,e)},f.prototype.otherCallRejected=function(e){u(this.promise,this.onRejected,e)},s.resolve=function(e,t){var r=p(h,t);if("error"===r.status)return s.reject(e,r.value);var a=r.value;if(a)d(e,a);else{e.state=o,e.outcome=t;for(var n=-1,i=e.queue.length;++n<i;)e.queue[n].callFulfilled(t)}return e},s.reject=function(e,t){e.state=i,e.outcome=t;for(var r=-1,a=e.queue.length;++r<a;)e.queue[r].callRejected(t);return e},c.resolve=function(e){return e instanceof this?e:s.resolve(new this(n),e)},c.reject=function(e){var t=new this(n);return s.reject(t,e)},c.all=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,a=!1;if(!r)return this.resolve([]);for(var i=new Array(r),o=0,l=-1,c=new this(n);++l<r;)f(e[l],l);return c;function f(e,n){t.resolve(e).then((function(e){i[n]=e,++o!==r||a||(a=!0,s.resolve(c,i))}),(function(e){a||(a=!0,s.reject(c,e))}))}},c.race=function(e){var t=this;if("[object Array]"!==Object.prototype.toString.call(e))return this.reject(new TypeError("must be an array"));var r=e.length,a=!1;if(!r)return this.resolve([]);for(var i,o=-1,l=new this(n);++o<r;)i=e[o],t.resolve(i).then((function(e){a||(a=!0,s.resolve(l,e))}),(function(e){a||(a=!0,s.reject(l,e))}));return l}},{immediate:36}],38:[function(e,t,r){"use strict";var a={};(0,e("./lib/utils/common").assign)(a,e("./lib/deflate"),e("./lib/inflate"),e("./lib/zlib/constants")),t.exports=a},{"./lib/deflate":39,"./lib/inflate":40,"./lib/utils/common":41,"./lib/zlib/constants":44}],39:[function(e,t,r){"use strict";var a=e("./zlib/deflate"),n=e("./utils/common"),s=e("./utils/strings"),i=e("./zlib/messages"),o=e("./zlib/zstream"),l=Object.prototype.toString,c=0,f=-1,u=0,h=8;function d(e){if(!(this instanceof d))return new d(e);this.options=n.assign({level:f,method:h,chunkSize:16384,windowBits:15,memLevel:8,strategy:u,to:""},e||{});var t=this.options;t.raw&&0<t.windowBits?t.windowBits=-t.windowBits:t.gzip&&0<t.windowBits&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new o,this.strm.avail_out=0;var r=a.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(r!==c)throw new Error(i[r]);if(t.header&&a.deflateSetHeader(this.strm,t.header),t.dictionary){var p;if(p="string"==typeof t.dictionary?s.string2buf(t.dictionary):"[object ArrayBuffer]"===l.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(r=a.deflateSetDictionary(this.strm,p))!==c)throw new Error(i[r]);this._dict_set=!0}}function p(e,t){var r=new d(t);if(r.push(e,!0),r.err)throw r.msg||i[r.err];return r.result}d.prototype.push=function(e,t){var r,i,o=this.strm,f=this.options.chunkSize;if(this.ended)return!1;i=t===~~t?t:!0===t?4:0,"string"==typeof e?o.input=s.string2buf(e):"[object ArrayBuffer]"===l.call(e)?o.input=new Uint8Array(e):o.input=e,o.next_in=0,o.avail_in=o.input.length;do{if(0===o.avail_out&&(o.output=new n.Buf8(f),o.next_out=0,o.avail_out=f),1!==(r=a.deflate(o,i))&&r!==c)return this.onEnd(r),!(this.ended=!0);0!==o.avail_out&&(0!==o.avail_in||4!==i&&2!==i)||("string"===this.options.to?this.onData(s.buf2binstring(n.shrinkBuf(o.output,o.next_out))):this.onData(n.shrinkBuf(o.output,o.next_out)))}while((0<o.avail_in||0===o.avail_out)&&1!==r);return 4===i?(r=a.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===c):2!==i||(this.onEnd(c),!(o.avail_out=0))},d.prototype.onData=function(e){this.chunks.push(e)},d.prototype.onEnd=function(e){e===c&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Deflate=d,r.deflate=p,r.deflateRaw=function(e,t){return(t=t||{}).raw=!0,p(e,t)},r.gzip=function(e,t){return(t=t||{}).gzip=!0,p(e,t)}},{"./utils/common":41,"./utils/strings":42,"./zlib/deflate":46,"./zlib/messages":51,"./zlib/zstream":53}],40:[function(e,t,r){"use strict";var a=e("./zlib/inflate"),n=e("./utils/common"),s=e("./utils/strings"),i=e("./zlib/constants"),o=e("./zlib/messages"),l=e("./zlib/zstream"),c=e("./zlib/gzheader"),f=Object.prototype.toString;function u(e){if(!(this instanceof u))return new u(e);this.options=n.assign({chunkSize:16384,windowBits:0,to:""},e||{});var t=this.options;t.raw&&0<=t.windowBits&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(0<=t.windowBits&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),15<t.windowBits&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new l,this.strm.avail_out=0;var r=a.inflateInit2(this.strm,t.windowBits);if(r!==i.Z_OK)throw new Error(o[r]);this.header=new c,a.inflateGetHeader(this.strm,this.header)}function h(e,t){var r=new u(t);if(r.push(e,!0),r.err)throw r.msg||o[r.err];return r.result}u.prototype.push=function(e,t){var r,o,l,c,u,h,d=this.strm,p=this.options.chunkSize,m=this.options.dictionary,b=!1;if(this.ended)return!1;o=t===~~t?t:!0===t?i.Z_FINISH:i.Z_NO_FLUSH,"string"==typeof e?d.input=s.binstring2buf(e):"[object ArrayBuffer]"===f.call(e)?d.input=new Uint8Array(e):d.input=e,d.next_in=0,d.avail_in=d.input.length;do{if(0===d.avail_out&&(d.output=new n.Buf8(p),d.next_out=0,d.avail_out=p),(r=a.inflate(d,i.Z_NO_FLUSH))===i.Z_NEED_DICT&&m&&(h="string"==typeof m?s.string2buf(m):"[object ArrayBuffer]"===f.call(m)?new Uint8Array(m):m,r=a.inflateSetDictionary(this.strm,h)),r===i.Z_BUF_ERROR&&!0===b&&(r=i.Z_OK,b=!1),r!==i.Z_STREAM_END&&r!==i.Z_OK)return this.onEnd(r),!(this.ended=!0);d.next_out&&(0!==d.avail_out&&r!==i.Z_STREAM_END&&(0!==d.avail_in||o!==i.Z_FINISH&&o!==i.Z_SYNC_FLUSH)||("string"===this.options.to?(l=s.utf8border(d.output,d.next_out),c=d.next_out-l,u=s.buf2string(d.output,l),d.next_out=c,d.avail_out=p-c,c&&n.arraySet(d.output,d.output,l,c,0),this.onData(u)):this.onData(n.shrinkBuf(d.output,d.next_out)))),0===d.avail_in&&0===d.avail_out&&(b=!0)}while((0<d.avail_in||0===d.avail_out)&&r!==i.Z_STREAM_END);return r===i.Z_STREAM_END&&(o=i.Z_FINISH),o===i.Z_FINISH?(r=a.inflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===i.Z_OK):o!==i.Z_SYNC_FLUSH||(this.onEnd(i.Z_OK),!(d.avail_out=0))},u.prototype.onData=function(e){this.chunks.push(e)},u.prototype.onEnd=function(e){e===i.Z_OK&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=n.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},r.Inflate=u,r.inflate=h,r.inflateRaw=function(e,t){return(t=t||{}).raw=!0,h(e,t)},r.ungzip=h},{"./utils/common":41,"./utils/strings":42,"./zlib/constants":44,"./zlib/gzheader":47,"./zlib/inflate":49,"./zlib/messages":51,"./zlib/zstream":53}],41:[function(e,t,r){"use strict";var a="undefined"!=typeof Uint8Array&&"undefined"!=typeof Uint16Array&&"undefined"!=typeof Int32Array;r.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if("object"!=typeof r)throw new TypeError(r+"must be non-object");for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])}}return e},r.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var n={arraySet:function(e,t,r,a,n){if(t.subarray&&e.subarray)e.set(t.subarray(r,r+a),n);else for(var s=0;s<a;s++)e[n+s]=t[r+s]},flattenChunks:function(e){var t,r,a,n,s,i;for(t=a=0,r=e.length;t<r;t++)a+=e[t].length;for(i=new Uint8Array(a),t=n=0,r=e.length;t<r;t++)s=e[t],i.set(s,n),n+=s.length;return i}},s={arraySet:function(e,t,r,a,n){for(var s=0;s<a;s++)e[n+s]=t[r+s]},flattenChunks:function(e){return[].concat.apply([],e)}};r.setTyped=function(e){e?(r.Buf8=Uint8Array,r.Buf16=Uint16Array,r.Buf32=Int32Array,r.assign(r,n)):(r.Buf8=Array,r.Buf16=Array,r.Buf32=Array,r.assign(r,s))},r.setTyped(a)},{}],42:[function(e,t,r){"use strict";var a=e("./common"),n=!0,s=!0;try{String.fromCharCode.apply(null,[0])}catch(e){n=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){s=!1}for(var i=new a.Buf8(256),o=0;o<256;o++)i[o]=252<=o?6:248<=o?5:240<=o?4:224<=o?3:192<=o?2:1;function l(e,t){if(t<65537&&(e.subarray&&s||!e.subarray&&n))return String.fromCharCode.apply(null,a.shrinkBuf(e,t));for(var r="",i=0;i<t;i++)r+=String.fromCharCode(e[i]);return r}i[254]=i[254]=1,r.string2buf=function(e){var t,r,n,s,i,o=e.length,l=0;for(s=0;s<o;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<o&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),l+=r<128?1:r<2048?2:r<65536?3:4;for(t=new a.Buf8(l),s=i=0;i<l;s++)55296==(64512&(r=e.charCodeAt(s)))&&s+1<o&&56320==(64512&(n=e.charCodeAt(s+1)))&&(r=65536+(r-55296<<10)+(n-56320),s++),r<128?t[i++]=r:(r<2048?t[i++]=192|r>>>6:(r<65536?t[i++]=224|r>>>12:(t[i++]=240|r>>>18,t[i++]=128|r>>>12&63),t[i++]=128|r>>>6&63),t[i++]=128|63&r);return t},r.buf2binstring=function(e){return l(e,e.length)},r.binstring2buf=function(e){for(var t=new a.Buf8(e.length),r=0,n=t.length;r<n;r++)t[r]=e.charCodeAt(r);return t},r.buf2string=function(e,t){var r,a,n,s,o=t||e.length,c=new Array(2*o);for(r=a=0;r<o;)if((n=e[r++])<128)c[a++]=n;else if(4<(s=i[n]))c[a++]=65533,r+=s-1;else{for(n&=2===s?31:3===s?15:7;1<s&&r<o;)n=n<<6|63&e[r++],s--;1<s?c[a++]=65533:n<65536?c[a++]=n:(n-=65536,c[a++]=55296|n>>10&1023,c[a++]=56320|1023&n)}return l(c,a)},r.utf8border=function(e,t){var r;for((t=t||e.length)>e.length&&(t=e.length),r=t-1;0<=r&&128==(192&e[r]);)r--;return r<0||0===r?t:r+i[e[r]]>t?r:t}},{"./common":41}],43:[function(e,t,r){"use strict";t.exports=function(e,t,r,a){for(var n=65535&e|0,s=e>>>16&65535|0,i=0;0!==r;){for(r-=i=2e3<r?2e3:r;s=s+(n=n+t[a++]|0)|0,--i;);n%=65521,s%=65521}return n|s<<16|0}},{}],44:[function(e,t,r){"use strict";t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],45:[function(e,t,r){"use strict";var a=function(){for(var e,t=[],r=0;r<256;r++){e=r;for(var a=0;a<8;a++)e=1&e?3988292384^e>>>1:e>>>1;t[r]=e}return t}();t.exports=function(e,t,r,n){var s=a,i=n+r;e^=-1;for(var o=n;o<i;o++)e=e>>>8^s[255&(e^t[o])];return-1^e}},{}],46:[function(e,t,r){"use strict";var a,n=e("../utils/common"),s=e("./trees"),i=e("./adler32"),o=e("./crc32"),l=e("./messages"),c=0,f=4,u=0,h=-2,d=-1,p=4,m=2,b=8,g=9,v=286,w=30,y=19,k=2*v+1,T=15,_=3,E=258,S=E+_+1,A=42,x=113,C=1,R=2,P=3,O=4;function N(e,t){return e.msg=l[t],t}function I(e){return(e<<1)-(4<e?9:0)}function D(e){for(var t=e.length;0<=--t;)e[t]=0}function F(e){var t=e.state,r=t.pending;r>e.avail_out&&(r=e.avail_out),0!==r&&(n.arraySet(e.output,t.pending_buf,t.pending_out,r,e.next_out),e.next_out+=r,t.pending_out+=r,e.total_out+=r,e.avail_out-=r,t.pending-=r,0===t.pending&&(t.pending_out=0))}function M(e,t){s._tr_flush_block(e,0<=e.block_start?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,F(e.strm)}function L(e,t){e.pending_buf[e.pending++]=t}function B(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function U(e,t){var r,a,n=e.max_chain_length,s=e.strstart,i=e.prev_length,o=e.nice_match,l=e.strstart>e.w_size-S?e.strstart-(e.w_size-S):0,c=e.window,f=e.w_mask,u=e.prev,h=e.strstart+E,d=c[s+i-1],p=c[s+i];e.prev_length>=e.good_match&&(n>>=2),o>e.lookahead&&(o=e.lookahead);do{if(c[(r=t)+i]===p&&c[r+i-1]===d&&c[r]===c[s]&&c[++r]===c[s+1]){s+=2,r++;do{}while(c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&c[++s]===c[++r]&&s<h);if(a=E-(h-s),s=h-E,i<a){if(e.match_start=t,o<=(i=a))break;d=c[s+i-1],p=c[s+i]}}}while((t=u[t&f])>l&&0!=--n);return i<=e.lookahead?i:e.lookahead}function z(e){var t,r,a,s,l,c,f,u,h,d,p=e.w_size;do{if(s=e.window_size-e.lookahead-e.strstart,e.strstart>=p+(p-S)){for(n.arraySet(e.window,e.window,p,p,0),e.match_start-=p,e.strstart-=p,e.block_start-=p,t=r=e.hash_size;a=e.head[--t],e.head[t]=p<=a?a-p:0,--r;);for(t=r=p;a=e.prev[--t],e.prev[t]=p<=a?a-p:0,--r;);s+=p}if(0===e.strm.avail_in)break;if(c=e.strm,f=e.window,u=e.strstart+e.lookahead,h=s,d=void 0,d=c.avail_in,h<d&&(d=h),r=0===d?0:(c.avail_in-=d,n.arraySet(f,c.input,c.next_in,d,u),1===c.state.wrap?c.adler=i(c.adler,f,d,u):2===c.state.wrap&&(c.adler=o(c.adler,f,d,u)),c.next_in+=d,c.total_in+=d,d),e.lookahead+=r,e.lookahead+e.insert>=_)for(l=e.strstart-e.insert,e.ins_h=e.window[l],e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[l+_-1])&e.hash_mask,e.prev[l&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=l,l++,e.insert--,!(e.lookahead+e.insert<_)););}while(e.lookahead<S&&0!==e.strm.avail_in)}function W(e,t){for(var r,a;;){if(e.lookahead<S){if(z(e),e.lookahead<S&&t===c)return C;if(0===e.lookahead)break}if(r=0,e.lookahead>=_&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+_-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==r&&e.strstart-r<=e.w_size-S&&(e.match_length=U(e,r)),e.match_length>=_)if(a=s._tr_tally(e,e.strstart-e.match_start,e.match_length-_),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=_){for(e.match_length--;e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+_-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart,0!=--e.match_length;);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else a=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(a&&(M(e,!1),0===e.strm.avail_out))return C}return e.insert=e.strstart<_-1?e.strstart:_-1,t===f?(M(e,!0),0===e.strm.avail_out?P:O):e.last_lit&&(M(e,!1),0===e.strm.avail_out)?C:R}function H(e,t){for(var r,a,n;;){if(e.lookahead<S){if(z(e),e.lookahead<S&&t===c)return C;if(0===e.lookahead)break}if(r=0,e.lookahead>=_&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+_-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=_-1,0!==r&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-S&&(e.match_length=U(e,r),e.match_length<=5&&(1===e.strategy||e.match_length===_&&4096<e.strstart-e.match_start)&&(e.match_length=_-1)),e.prev_length>=_&&e.match_length<=e.prev_length){for(n=e.strstart+e.lookahead-_,a=s._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-_),e.lookahead-=e.prev_length-1,e.prev_length-=2;++e.strstart<=n&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+_-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!=--e.prev_length;);if(e.match_available=0,e.match_length=_-1,e.strstart++,a&&(M(e,!1),0===e.strm.avail_out))return C}else if(e.match_available){if((a=s._tr_tally(e,0,e.window[e.strstart-1]))&&M(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return C}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(a=s._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<_-1?e.strstart:_-1,t===f?(M(e,!0),0===e.strm.avail_out?P:O):e.last_lit&&(M(e,!1),0===e.strm.avail_out)?C:R}function j(e,t,r,a,n){this.good_length=e,this.max_lazy=t,this.nice_length=r,this.max_chain=a,this.func=n}function V(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=b,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new n.Buf16(2*k),this.dyn_dtree=new n.Buf16(2*(2*w+1)),this.bl_tree=new n.Buf16(2*(2*y+1)),D(this.dyn_ltree),D(this.dyn_dtree),D(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new n.Buf16(T+1),this.heap=new n.Buf16(2*v+1),D(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new n.Buf16(2*v+1),D(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function G(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=m,(t=e.state).pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?A:x,e.adler=2===t.wrap?0:1,t.last_flush=c,s._tr_init(t),u):N(e,h)}function $(e){var t=G(e);return t===u&&function(e){e.window_size=2*e.w_size,D(e.head),e.max_lazy_match=a[e.level].max_lazy,e.good_match=a[e.level].good_length,e.nice_match=a[e.level].nice_length,e.max_chain_length=a[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=_-1,e.match_available=0,e.ins_h=0}(e.state),t}function X(e,t,r,a,s,i){if(!e)return h;var o=1;if(t===d&&(t=6),a<0?(o=0,a=-a):15<a&&(o=2,a-=16),s<1||g<s||r!==b||a<8||15<a||t<0||9<t||i<0||p<i)return N(e,h);8===a&&(a=9);var l=new V;return(e.state=l).strm=e,l.wrap=o,l.gzhead=null,l.w_bits=a,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=s+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+_-1)/_),l.window=new n.Buf8(2*l.w_size),l.head=new n.Buf16(l.hash_size),l.prev=new n.Buf16(l.w_size),l.lit_bufsize=1<<s+6,l.pending_buf_size=4*l.lit_bufsize,l.pending_buf=new n.Buf8(l.pending_buf_size),l.d_buf=1*l.lit_bufsize,l.l_buf=3*l.lit_bufsize,l.level=t,l.strategy=i,l.method=r,$(e)}a=[new j(0,0,0,0,(function(e,t){var r=65535;for(r>e.pending_buf_size-5&&(r=e.pending_buf_size-5);;){if(e.lookahead<=1){if(z(e),0===e.lookahead&&t===c)return C;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var a=e.block_start+r;if((0===e.strstart||e.strstart>=a)&&(e.lookahead=e.strstart-a,e.strstart=a,M(e,!1),0===e.strm.avail_out))return C;if(e.strstart-e.block_start>=e.w_size-S&&(M(e,!1),0===e.strm.avail_out))return C}return e.insert=0,t===f?(M(e,!0),0===e.strm.avail_out?P:O):(e.strstart>e.block_start&&(M(e,!1),e.strm.avail_out),C)})),new j(4,4,8,4,W),new j(4,5,16,8,W),new j(4,6,32,32,W),new j(4,4,16,16,H),new j(8,16,32,32,H),new j(8,16,128,128,H),new j(8,32,128,256,H),new j(32,128,258,1024,H),new j(32,258,258,4096,H)],r.deflateInit=function(e,t){return X(e,t,b,15,8,0)},r.deflateInit2=X,r.deflateReset=$,r.deflateResetKeep=G,r.deflateSetHeader=function(e,t){return e&&e.state?2!==e.state.wrap?h:(e.state.gzhead=t,u):h},r.deflate=function(e,t){var r,n,i,l;if(!e||!e.state||5<t||t<0)return e?N(e,h):h;if(n=e.state,!e.output||!e.input&&0!==e.avail_in||666===n.status&&t!==f)return N(e,0===e.avail_out?-5:h);if(n.strm=e,r=n.last_flush,n.last_flush=t,n.status===A)if(2===n.wrap)e.adler=0,L(n,31),L(n,139),L(n,8),n.gzhead?(L(n,(n.gzhead.text?1:0)+(n.gzhead.hcrc?2:0)+(n.gzhead.extra?4:0)+(n.gzhead.name?8:0)+(n.gzhead.comment?16:0)),L(n,255&n.gzhead.time),L(n,n.gzhead.time>>8&255),L(n,n.gzhead.time>>16&255),L(n,n.gzhead.time>>24&255),L(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),L(n,255&n.gzhead.os),n.gzhead.extra&&n.gzhead.extra.length&&(L(n,255&n.gzhead.extra.length),L(n,n.gzhead.extra.length>>8&255)),n.gzhead.hcrc&&(e.adler=o(e.adler,n.pending_buf,n.pending,0)),n.gzindex=0,n.status=69):(L(n,0),L(n,0),L(n,0),L(n,0),L(n,0),L(n,9===n.level?2:2<=n.strategy||n.level<2?4:0),L(n,3),n.status=x);else{var d=b+(n.w_bits-8<<4)<<8;d|=(2<=n.strategy||n.level<2?0:n.level<6?1:6===n.level?2:3)<<6,0!==n.strstart&&(d|=32),d+=31-d%31,n.status=x,B(n,d),0!==n.strstart&&(B(n,e.adler>>>16),B(n,65535&e.adler)),e.adler=1}if(69===n.status)if(n.gzhead.extra){for(i=n.pending;n.gzindex<(65535&n.gzhead.extra.length)&&(n.pending!==n.pending_buf_size||(n.gzhead.hcrc&&n.pending>i&&(e.adler=o(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending!==n.pending_buf_size));)L(n,255&n.gzhead.extra[n.gzindex]),n.gzindex++;n.gzhead.hcrc&&n.pending>i&&(e.adler=o(e.adler,n.pending_buf,n.pending-i,i)),n.gzindex===n.gzhead.extra.length&&(n.gzindex=0,n.status=73)}else n.status=73;if(73===n.status)if(n.gzhead.name){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=o(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending===n.pending_buf_size)){l=1;break}l=n.gzindex<n.gzhead.name.length?255&n.gzhead.name.charCodeAt(n.gzindex++):0,L(n,l)}while(0!==l);n.gzhead.hcrc&&n.pending>i&&(e.adler=o(e.adler,n.pending_buf,n.pending-i,i)),0===l&&(n.gzindex=0,n.status=91)}else n.status=91;if(91===n.status)if(n.gzhead.comment){i=n.pending;do{if(n.pending===n.pending_buf_size&&(n.gzhead.hcrc&&n.pending>i&&(e.adler=o(e.adler,n.pending_buf,n.pending-i,i)),F(e),i=n.pending,n.pending===n.pending_buf_size)){l=1;break}l=n.gzindex<n.gzhead.comment.length?255&n.gzhead.comment.charCodeAt(n.gzindex++):0,L(n,l)}while(0!==l);n.gzhead.hcrc&&n.pending>i&&(e.adler=o(e.adler,n.pending_buf,n.pending-i,i)),0===l&&(n.status=103)}else n.status=103;if(103===n.status&&(n.gzhead.hcrc?(n.pending+2>n.pending_buf_size&&F(e),n.pending+2<=n.pending_buf_size&&(L(n,255&e.adler),L(n,e.adler>>8&255),e.adler=0,n.status=x)):n.status=x),0!==n.pending){if(F(e),0===e.avail_out)return n.last_flush=-1,u}else if(0===e.avail_in&&I(t)<=I(r)&&t!==f)return N(e,-5);if(666===n.status&&0!==e.avail_in)return N(e,-5);if(0!==e.avail_in||0!==n.lookahead||t!==c&&666!==n.status){var p=2===n.strategy?function(e,t){for(var r;;){if(0===e.lookahead&&(z(e),0===e.lookahead)){if(t===c)return C;break}if(e.match_length=0,r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(M(e,!1),0===e.strm.avail_out))return C}return e.insert=0,t===f?(M(e,!0),0===e.strm.avail_out?P:O):e.last_lit&&(M(e,!1),0===e.strm.avail_out)?C:R}(n,t):3===n.strategy?function(e,t){for(var r,a,n,i,o=e.window;;){if(e.lookahead<=E){if(z(e),e.lookahead<=E&&t===c)return C;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=_&&0<e.strstart&&(a=o[n=e.strstart-1])===o[++n]&&a===o[++n]&&a===o[++n]){i=e.strstart+E;do{}while(a===o[++n]&&a===o[++n]&&a===o[++n]&&a===o[++n]&&a===o[++n]&&a===o[++n]&&a===o[++n]&&a===o[++n]&&n<i);e.match_length=E-(i-n),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=_?(r=s._tr_tally(e,1,e.match_length-_),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=s._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(M(e,!1),0===e.strm.avail_out))return C}return e.insert=0,t===f?(M(e,!0),0===e.strm.avail_out?P:O):e.last_lit&&(M(e,!1),0===e.strm.avail_out)?C:R}(n,t):a[n.level].func(n,t);if(p!==P&&p!==O||(n.status=666),p===C||p===P)return 0===e.avail_out&&(n.last_flush=-1),u;if(p===R&&(1===t?s._tr_align(n):5!==t&&(s._tr_stored_block(n,0,0,!1),3===t&&(D(n.head),0===n.lookahead&&(n.strstart=0,n.block_start=0,n.insert=0))),F(e),0===e.avail_out))return n.last_flush=-1,u}return t!==f?u:n.wrap<=0?1:(2===n.wrap?(L(n,255&e.adler),L(n,e.adler>>8&255),L(n,e.adler>>16&255),L(n,e.adler>>24&255),L(n,255&e.total_in),L(n,e.total_in>>8&255),L(n,e.total_in>>16&255),L(n,e.total_in>>24&255)):(B(n,e.adler>>>16),B(n,65535&e.adler)),F(e),0<n.wrap&&(n.wrap=-n.wrap),0!==n.pending?u:1)},r.deflateEnd=function(e){var t;return e&&e.state?(t=e.state.status)!==A&&69!==t&&73!==t&&91!==t&&103!==t&&t!==x&&666!==t?N(e,h):(e.state=null,t===x?N(e,-3):u):h},r.deflateSetDictionary=function(e,t){var r,a,s,o,l,c,f,d,p=t.length;if(!e||!e.state)return h;if(2===(o=(r=e.state).wrap)||1===o&&r.status!==A||r.lookahead)return h;for(1===o&&(e.adler=i(e.adler,t,p,0)),r.wrap=0,p>=r.w_size&&(0===o&&(D(r.head),r.strstart=0,r.block_start=0,r.insert=0),d=new n.Buf8(r.w_size),n.arraySet(d,t,p-r.w_size,r.w_size,0),t=d,p=r.w_size),l=e.avail_in,c=e.next_in,f=e.input,e.avail_in=p,e.next_in=0,e.input=t,z(r);r.lookahead>=_;){for(a=r.strstart,s=r.lookahead-(_-1);r.ins_h=(r.ins_h<<r.hash_shift^r.window[a+_-1])&r.hash_mask,r.prev[a&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=a,a++,--s;);r.strstart=a,r.lookahead=_-1,z(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=_-1,r.match_available=0,e.next_in=c,e.input=f,e.avail_in=l,r.wrap=o,u},r.deflateInfo="pako deflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./messages":51,"./trees":52}],47:[function(e,t,r){"use strict";t.exports=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}},{}],48:[function(e,t,r){"use strict";t.exports=function(e,t){var r,a,n,s,i,o,l,c,f,u,h,d,p,m,b,g,v,w,y,k,T,_,E,S,A;r=e.state,a=e.next_in,S=e.input,n=a+(e.avail_in-5),s=e.next_out,A=e.output,i=s-(t-e.avail_out),o=s+(e.avail_out-257),l=r.dmax,c=r.wsize,f=r.whave,u=r.wnext,h=r.window,d=r.hold,p=r.bits,m=r.lencode,b=r.distcode,g=(1<<r.lenbits)-1,v=(1<<r.distbits)-1;e:do{p<15&&(d+=S[a++]<<p,p+=8,d+=S[a++]<<p,p+=8),w=m[d&g];t:for(;;){if(d>>>=y=w>>>24,p-=y,0===(y=w>>>16&255))A[s++]=65535&w;else{if(!(16&y)){if(0==(64&y)){w=m[(65535&w)+(d&(1<<y)-1)];continue t}if(32&y){r.mode=12;break e}e.msg="invalid literal/length code",r.mode=30;break e}k=65535&w,(y&=15)&&(p<y&&(d+=S[a++]<<p,p+=8),k+=d&(1<<y)-1,d>>>=y,p-=y),p<15&&(d+=S[a++]<<p,p+=8,d+=S[a++]<<p,p+=8),w=b[d&v];r:for(;;){if(d>>>=y=w>>>24,p-=y,!(16&(y=w>>>16&255))){if(0==(64&y)){w=b[(65535&w)+(d&(1<<y)-1)];continue r}e.msg="invalid distance code",r.mode=30;break e}if(T=65535&w,p<(y&=15)&&(d+=S[a++]<<p,(p+=8)<y&&(d+=S[a++]<<p,p+=8)),l<(T+=d&(1<<y)-1)){e.msg="invalid distance too far back",r.mode=30;break e}if(d>>>=y,p-=y,(y=s-i)<T){if(f<(y=T-y)&&r.sane){e.msg="invalid distance too far back",r.mode=30;break e}if(E=h,(_=0)===u){if(_+=c-y,y<k){for(k-=y;A[s++]=h[_++],--y;);_=s-T,E=A}}else if(u<y){if(_+=c+u-y,(y-=u)<k){for(k-=y;A[s++]=h[_++],--y;);if(_=0,u<k){for(k-=y=u;A[s++]=h[_++],--y;);_=s-T,E=A}}}else if(_+=u-y,y<k){for(k-=y;A[s++]=h[_++],--y;);_=s-T,E=A}for(;2<k;)A[s++]=E[_++],A[s++]=E[_++],A[s++]=E[_++],k-=3;k&&(A[s++]=E[_++],1<k&&(A[s++]=E[_++]))}else{for(_=s-T;A[s++]=A[_++],A[s++]=A[_++],A[s++]=A[_++],2<(k-=3););k&&(A[s++]=A[_++],1<k&&(A[s++]=A[_++]))}break}}break}}while(a<n&&s<o);a-=k=p>>3,d&=(1<<(p-=k<<3))-1,e.next_in=a,e.next_out=s,e.avail_in=a<n?n-a+5:5-(a-n),e.avail_out=s<o?o-s+257:257-(s-o),r.hold=d,r.bits=p}},{}],49:[function(e,t,r){"use strict";var a=e("../utils/common"),n=e("./adler32"),s=e("./crc32"),i=e("./inffast"),o=e("./inftrees"),l=1,c=2,f=0,u=-2,h=1,d=852,p=592;function m(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function b(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new a.Buf16(320),this.work=new a.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function g(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg="",t.wrap&&(e.adler=1&t.wrap),t.mode=h,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new a.Buf32(d),t.distcode=t.distdyn=new a.Buf32(p),t.sane=1,t.back=-1,f):u}function v(e){var t;return e&&e.state?((t=e.state).wsize=0,t.whave=0,t.wnext=0,g(e)):u}function w(e,t){var r,a;return e&&e.state?(a=e.state,t<0?(r=0,t=-t):(r=1+(t>>4),t<48&&(t&=15)),t&&(t<8||15<t)?u:(null!==a.window&&a.wbits!==t&&(a.window=null),a.wrap=r,a.wbits=t,v(e))):u}function y(e,t){var r,a;return e?(a=new b,(e.state=a).window=null,(r=w(e,t))!==f&&(e.state=null),r):u}var k,T,_=!0;function E(e){if(_){var t;for(k=new a.Buf32(512),T=new a.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(o(l,e.lens,0,288,k,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;o(c,e.lens,0,32,T,0,e.work,{bits:5}),_=!1}e.lencode=k,e.lenbits=9,e.distcode=T,e.distbits=5}function S(e,t,r,n){var s,i=e.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new a.Buf8(i.wsize)),n>=i.wsize?(a.arraySet(i.window,t,r-i.wsize,i.wsize,0),i.wnext=0,i.whave=i.wsize):(n<(s=i.wsize-i.wnext)&&(s=n),a.arraySet(i.window,t,r-n,s,i.wnext),(n-=s)?(a.arraySet(i.window,t,r-n,n,0),i.wnext=n,i.whave=i.wsize):(i.wnext+=s,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=s))),0}r.inflateReset=v,r.inflateReset2=w,r.inflateResetKeep=g,r.inflateInit=function(e){return y(e,15)},r.inflateInit2=y,r.inflate=function(e,t){var r,d,p,b,g,v,w,y,k,T,_,A,x,C,R,P,O,N,I,D,F,M,L,B,U=0,z=new a.Buf8(4),W=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return u;12===(r=e.state).mode&&(r.mode=13),g=e.next_out,p=e.output,w=e.avail_out,b=e.next_in,d=e.input,v=e.avail_in,y=r.hold,k=r.bits,T=v,_=w,M=f;e:for(;;)switch(r.mode){case h:if(0===r.wrap){r.mode=13;break}for(;k<16;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}if(2&r.wrap&&35615===y){z[r.check=0]=255&y,z[1]=y>>>8&255,r.check=s(r.check,z,2,0),k=y=0,r.mode=2;break}if(r.flags=0,r.head&&(r.head.done=!1),!(1&r.wrap)||(((255&y)<<8)+(y>>8))%31){e.msg="incorrect header check",r.mode=30;break}if(8!=(15&y)){e.msg="unknown compression method",r.mode=30;break}if(k-=4,F=8+(15&(y>>>=4)),0===r.wbits)r.wbits=F;else if(F>r.wbits){e.msg="invalid window size",r.mode=30;break}r.dmax=1<<F,e.adler=r.check=1,r.mode=512&y?10:12,k=y=0;break;case 2:for(;k<16;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}if(r.flags=y,8!=(255&r.flags)){e.msg="unknown compression method",r.mode=30;break}if(57344&r.flags){e.msg="unknown header flags set",r.mode=30;break}r.head&&(r.head.text=y>>8&1),512&r.flags&&(z[0]=255&y,z[1]=y>>>8&255,r.check=s(r.check,z,2,0)),k=y=0,r.mode=3;case 3:for(;k<32;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}r.head&&(r.head.time=y),512&r.flags&&(z[0]=255&y,z[1]=y>>>8&255,z[2]=y>>>16&255,z[3]=y>>>24&255,r.check=s(r.check,z,4,0)),k=y=0,r.mode=4;case 4:for(;k<16;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}r.head&&(r.head.xflags=255&y,r.head.os=y>>8),512&r.flags&&(z[0]=255&y,z[1]=y>>>8&255,r.check=s(r.check,z,2,0)),k=y=0,r.mode=5;case 5:if(1024&r.flags){for(;k<16;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}r.length=y,r.head&&(r.head.extra_len=y),512&r.flags&&(z[0]=255&y,z[1]=y>>>8&255,r.check=s(r.check,z,2,0)),k=y=0}else r.head&&(r.head.extra=null);r.mode=6;case 6:if(1024&r.flags&&(v<(A=r.length)&&(A=v),A&&(r.head&&(F=r.head.extra_len-r.length,r.head.extra||(r.head.extra=new Array(r.head.extra_len)),a.arraySet(r.head.extra,d,b,A,F)),512&r.flags&&(r.check=s(r.check,d,A,b)),v-=A,b+=A,r.length-=A),r.length))break e;r.length=0,r.mode=7;case 7:if(2048&r.flags){if(0===v)break e;for(A=0;F=d[b+A++],r.head&&F&&r.length<65536&&(r.head.name+=String.fromCharCode(F)),F&&A<v;);if(512&r.flags&&(r.check=s(r.check,d,A,b)),v-=A,b+=A,F)break e}else r.head&&(r.head.name=null);r.length=0,r.mode=8;case 8:if(4096&r.flags){if(0===v)break e;for(A=0;F=d[b+A++],r.head&&F&&r.length<65536&&(r.head.comment+=String.fromCharCode(F)),F&&A<v;);if(512&r.flags&&(r.check=s(r.check,d,A,b)),v-=A,b+=A,F)break e}else r.head&&(r.head.comment=null);r.mode=9;case 9:if(512&r.flags){for(;k<16;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}if(y!==(65535&r.check)){e.msg="header crc mismatch",r.mode=30;break}k=y=0}r.head&&(r.head.hcrc=r.flags>>9&1,r.head.done=!0),e.adler=r.check=0,r.mode=12;break;case 10:for(;k<32;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}e.adler=r.check=m(y),k=y=0,r.mode=11;case 11:if(0===r.havedict)return e.next_out=g,e.avail_out=w,e.next_in=b,e.avail_in=v,r.hold=y,r.bits=k,2;e.adler=r.check=1,r.mode=12;case 12:if(5===t||6===t)break e;case 13:if(r.last){y>>>=7&k,k-=7&k,r.mode=27;break}for(;k<3;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}switch(r.last=1&y,k-=1,3&(y>>>=1)){case 0:r.mode=14;break;case 1:if(E(r),r.mode=20,6!==t)break;y>>>=2,k-=2;break e;case 2:r.mode=17;break;case 3:e.msg="invalid block type",r.mode=30}y>>>=2,k-=2;break;case 14:for(y>>>=7&k,k-=7&k;k<32;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}if((65535&y)!=(y>>>16^65535)){e.msg="invalid stored block lengths",r.mode=30;break}if(r.length=65535&y,k=y=0,r.mode=15,6===t)break e;case 15:r.mode=16;case 16:if(A=r.length){if(v<A&&(A=v),w<A&&(A=w),0===A)break e;a.arraySet(p,d,b,A,g),v-=A,b+=A,w-=A,g+=A,r.length-=A;break}r.mode=12;break;case 17:for(;k<14;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}if(r.nlen=257+(31&y),y>>>=5,k-=5,r.ndist=1+(31&y),y>>>=5,k-=5,r.ncode=4+(15&y),y>>>=4,k-=4,286<r.nlen||30<r.ndist){e.msg="too many length or distance symbols",r.mode=30;break}r.have=0,r.mode=18;case 18:for(;r.have<r.ncode;){for(;k<3;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}r.lens[W[r.have++]]=7&y,y>>>=3,k-=3}for(;r.have<19;)r.lens[W[r.have++]]=0;if(r.lencode=r.lendyn,r.lenbits=7,L={bits:r.lenbits},M=o(0,r.lens,0,19,r.lencode,0,r.work,L),r.lenbits=L.bits,M){e.msg="invalid code lengths set",r.mode=30;break}r.have=0,r.mode=19;case 19:for(;r.have<r.nlen+r.ndist;){for(;P=(U=r.lencode[y&(1<<r.lenbits)-1])>>>16&255,O=65535&U,!((R=U>>>24)<=k);){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}if(O<16)y>>>=R,k-=R,r.lens[r.have++]=O;else{if(16===O){for(B=R+2;k<B;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}if(y>>>=R,k-=R,0===r.have){e.msg="invalid bit length repeat",r.mode=30;break}F=r.lens[r.have-1],A=3+(3&y),y>>>=2,k-=2}else if(17===O){for(B=R+3;k<B;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}k-=R,F=0,A=3+(7&(y>>>=R)),y>>>=3,k-=3}else{for(B=R+7;k<B;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}k-=R,F=0,A=11+(127&(y>>>=R)),y>>>=7,k-=7}if(r.have+A>r.nlen+r.ndist){e.msg="invalid bit length repeat",r.mode=30;break}for(;A--;)r.lens[r.have++]=F}}if(30===r.mode)break;if(0===r.lens[256]){e.msg="invalid code -- missing end-of-block",r.mode=30;break}if(r.lenbits=9,L={bits:r.lenbits},M=o(l,r.lens,0,r.nlen,r.lencode,0,r.work,L),r.lenbits=L.bits,M){e.msg="invalid literal/lengths set",r.mode=30;break}if(r.distbits=6,r.distcode=r.distdyn,L={bits:r.distbits},M=o(c,r.lens,r.nlen,r.ndist,r.distcode,0,r.work,L),r.distbits=L.bits,M){e.msg="invalid distances set",r.mode=30;break}if(r.mode=20,6===t)break e;case 20:r.mode=21;case 21:if(6<=v&&258<=w){e.next_out=g,e.avail_out=w,e.next_in=b,e.avail_in=v,r.hold=y,r.bits=k,i(e,_),g=e.next_out,p=e.output,w=e.avail_out,b=e.next_in,d=e.input,v=e.avail_in,y=r.hold,k=r.bits,12===r.mode&&(r.back=-1);break}for(r.back=0;P=(U=r.lencode[y&(1<<r.lenbits)-1])>>>16&255,O=65535&U,!((R=U>>>24)<=k);){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}if(P&&0==(240&P)){for(N=R,I=P,D=O;P=(U=r.lencode[D+((y&(1<<N+I)-1)>>N)])>>>16&255,O=65535&U,!(N+(R=U>>>24)<=k);){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}y>>>=N,k-=N,r.back+=N}if(y>>>=R,k-=R,r.back+=R,r.length=O,0===P){r.mode=26;break}if(32&P){r.back=-1,r.mode=12;break}if(64&P){e.msg="invalid literal/length code",r.mode=30;break}r.extra=15&P,r.mode=22;case 22:if(r.extra){for(B=r.extra;k<B;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}r.length+=y&(1<<r.extra)-1,y>>>=r.extra,k-=r.extra,r.back+=r.extra}r.was=r.length,r.mode=23;case 23:for(;P=(U=r.distcode[y&(1<<r.distbits)-1])>>>16&255,O=65535&U,!((R=U>>>24)<=k);){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}if(0==(240&P)){for(N=R,I=P,D=O;P=(U=r.distcode[D+((y&(1<<N+I)-1)>>N)])>>>16&255,O=65535&U,!(N+(R=U>>>24)<=k);){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}y>>>=N,k-=N,r.back+=N}if(y>>>=R,k-=R,r.back+=R,64&P){e.msg="invalid distance code",r.mode=30;break}r.offset=O,r.extra=15&P,r.mode=24;case 24:if(r.extra){for(B=r.extra;k<B;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}r.offset+=y&(1<<r.extra)-1,y>>>=r.extra,k-=r.extra,r.back+=r.extra}if(r.offset>r.dmax){e.msg="invalid distance too far back",r.mode=30;break}r.mode=25;case 25:if(0===w)break e;if(A=_-w,r.offset>A){if((A=r.offset-A)>r.whave&&r.sane){e.msg="invalid distance too far back",r.mode=30;break}x=A>r.wnext?(A-=r.wnext,r.wsize-A):r.wnext-A,A>r.length&&(A=r.length),C=r.window}else C=p,x=g-r.offset,A=r.length;for(w<A&&(A=w),w-=A,r.length-=A;p[g++]=C[x++],--A;);0===r.length&&(r.mode=21);break;case 26:if(0===w)break e;p[g++]=r.length,w--,r.mode=21;break;case 27:if(r.wrap){for(;k<32;){if(0===v)break e;v--,y|=d[b++]<<k,k+=8}if(_-=w,e.total_out+=_,r.total+=_,_&&(e.adler=r.check=r.flags?s(r.check,p,_,g-_):n(r.check,p,_,g-_)),_=w,(r.flags?y:m(y))!==r.check){e.msg="incorrect data check",r.mode=30;break}k=y=0}r.mode=28;case 28:if(r.wrap&&r.flags){for(;k<32;){if(0===v)break e;v--,y+=d[b++]<<k,k+=8}if(y!==(4294967295&r.total)){e.msg="incorrect length check",r.mode=30;break}k=y=0}r.mode=29;case 29:M=1;break e;case 30:M=-3;break e;case 31:return-4;case 32:default:return u}return e.next_out=g,e.avail_out=w,e.next_in=b,e.avail_in=v,r.hold=y,r.bits=k,(r.wsize||_!==e.avail_out&&r.mode<30&&(r.mode<27||4!==t))&&S(e,e.output,e.next_out,_-e.avail_out)?(r.mode=31,-4):(T-=e.avail_in,_-=e.avail_out,e.total_in+=T,e.total_out+=_,r.total+=_,r.wrap&&_&&(e.adler=r.check=r.flags?s(r.check,p,_,e.next_out-_):n(r.check,p,_,e.next_out-_)),e.data_type=r.bits+(r.last?64:0)+(12===r.mode?128:0)+(20===r.mode||15===r.mode?256:0),(0==T&&0===_||4===t)&&M===f&&(M=-5),M)},r.inflateEnd=function(e){if(!e||!e.state)return u;var t=e.state;return t.window&&(t.window=null),e.state=null,f},r.inflateGetHeader=function(e,t){var r;return e&&e.state?0==(2&(r=e.state).wrap)?u:((r.head=t).done=!1,f):u},r.inflateSetDictionary=function(e,t){var r,a=t.length;return e&&e.state?0!==(r=e.state).wrap&&11!==r.mode?u:11===r.mode&&n(1,t,a,0)!==r.check?-3:S(e,t,a,a)?(r.mode=31,-4):(r.havedict=1,f):u},r.inflateInfo="pako inflate (from Nodeca project)"},{"../utils/common":41,"./adler32":43,"./crc32":45,"./inffast":48,"./inftrees":50}],50:[function(e,t,r){"use strict";var a=e("../utils/common"),n=[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,0,0],s=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],i=[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,0,0],o=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,r,l,c,f,u,h){var d,p,m,b,g,v,w,y,k,T=h.bits,_=0,E=0,S=0,A=0,x=0,C=0,R=0,P=0,O=0,N=0,I=null,D=0,F=new a.Buf16(16),M=new a.Buf16(16),L=null,B=0;for(_=0;_<=15;_++)F[_]=0;for(E=0;E<l;E++)F[t[r+E]]++;for(x=T,A=15;1<=A&&0===F[A];A--);if(A<x&&(x=A),0===A)return c[f++]=20971520,c[f++]=20971520,h.bits=1,0;for(S=1;S<A&&0===F[S];S++);for(x<S&&(x=S),_=P=1;_<=15;_++)if(P<<=1,(P-=F[_])<0)return-1;if(0<P&&(0===e||1!==A))return-1;for(M[1]=0,_=1;_<15;_++)M[_+1]=M[_]+F[_];for(E=0;E<l;E++)0!==t[r+E]&&(u[M[t[r+E]]++]=E);if(v=0===e?(I=L=u,19):1===e?(I=n,D-=257,L=s,B-=257,256):(I=i,L=o,-1),_=S,g=f,R=E=N=0,m=-1,b=(O=1<<(C=x))-1,1===e&&852<O||2===e&&592<O)return 1;for(;;){for(w=_-R,k=u[E]<v?(y=0,u[E]):u[E]>v?(y=L[B+u[E]],I[D+u[E]]):(y=96,0),d=1<<_-R,S=p=1<<C;c[g+(N>>R)+(p-=d)]=w<<24|y<<16|k|0,0!==p;);for(d=1<<_-1;N&d;)d>>=1;if(0!==d?(N&=d-1,N+=d):N=0,E++,0==--F[_]){if(_===A)break;_=t[r+u[E]]}if(x<_&&(N&b)!==m){for(0===R&&(R=x),g+=S,P=1<<(C=_-R);C+R<A&&!((P-=F[C+R])<=0);)C++,P<<=1;if(O+=1<<C,1===e&&852<O||2===e&&592<O)return 1;c[m=N&b]=x<<24|C<<16|g-f|0}}return 0!==N&&(c[g+N]=_-R<<24|64<<16|0),h.bits=x,0}},{"../utils/common":41}],51:[function(e,t,r){"use strict";t.exports={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"}},{}],52:[function(e,t,r){"use strict";var a=e("../utils/common"),n=0,s=1;function i(e){for(var t=e.length;0<=--t;)e[t]=0}var o=0,l=29,c=256,f=c+1+l,u=30,h=19,d=2*f+1,p=15,m=16,b=7,g=256,v=16,w=17,y=18,k=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],T=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],_=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],E=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S=new Array(2*(f+2));i(S);var A=new Array(2*u);i(A);var x=new Array(512);i(x);var C=new Array(256);i(C);var R=new Array(l);i(R);var P,O,N,I=new Array(u);function D(e,t,r,a,n){this.static_tree=e,this.extra_bits=t,this.extra_base=r,this.elems=a,this.max_length=n,this.has_stree=e&&e.length}function F(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function M(e){return e<256?x[e]:x[256+(e>>>7)]}function L(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function B(e,t,r){e.bi_valid>m-r?(e.bi_buf|=t<<e.bi_valid&65535,L(e,e.bi_buf),e.bi_buf=t>>m-e.bi_valid,e.bi_valid+=r-m):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=r)}function U(e,t,r){B(e,r[2*t],r[2*t+1])}function z(e,t){for(var r=0;r|=1&e,e>>>=1,r<<=1,0<--t;);return r>>>1}function W(e,t,r){var a,n,s=new Array(p+1),i=0;for(a=1;a<=p;a++)s[a]=i=i+r[a-1]<<1;for(n=0;n<=t;n++){var o=e[2*n+1];0!==o&&(e[2*n]=z(s[o]++,o))}}function H(e){var t;for(t=0;t<f;t++)e.dyn_ltree[2*t]=0;for(t=0;t<u;t++)e.dyn_dtree[2*t]=0;for(t=0;t<h;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*g]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function j(e){8<e.bi_valid?L(e,e.bi_buf):0<e.bi_valid&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function V(e,t,r,a){var n=2*t,s=2*r;return e[n]<e[s]||e[n]===e[s]&&a[t]<=a[r]}function G(e,t,r){for(var a=e.heap[r],n=r<<1;n<=e.heap_len&&(n<e.heap_len&&V(t,e.heap[n+1],e.heap[n],e.depth)&&n++,!V(t,a,e.heap[n],e.depth));)e.heap[r]=e.heap[n],r=n,n<<=1;e.heap[r]=a}function $(e,t,r){var a,n,s,i,o=0;if(0!==e.last_lit)for(;a=e.pending_buf[e.d_buf+2*o]<<8|e.pending_buf[e.d_buf+2*o+1],n=e.pending_buf[e.l_buf+o],o++,0===a?U(e,n,t):(U(e,(s=C[n])+c+1,t),0!==(i=k[s])&&B(e,n-=R[s],i),U(e,s=M(--a),r),0!==(i=T[s])&&B(e,a-=I[s],i)),o<e.last_lit;);U(e,g,t)}function X(e,t){var r,a,n,s=t.dyn_tree,i=t.stat_desc.static_tree,o=t.stat_desc.has_stree,l=t.stat_desc.elems,c=-1;for(e.heap_len=0,e.heap_max=d,r=0;r<l;r++)0!==s[2*r]?(e.heap[++e.heap_len]=c=r,e.depth[r]=0):s[2*r+1]=0;for(;e.heap_len<2;)s[2*(n=e.heap[++e.heap_len]=c<2?++c:0)]=1,e.depth[n]=0,e.opt_len--,o&&(e.static_len-=i[2*n+1]);for(t.max_code=c,r=e.heap_len>>1;1<=r;r--)G(e,s,r);for(n=l;r=e.heap[1],e.heap[1]=e.heap[e.heap_len--],G(e,s,1),a=e.heap[1],e.heap[--e.heap_max]=r,e.heap[--e.heap_max]=a,s[2*n]=s[2*r]+s[2*a],e.depth[n]=(e.depth[r]>=e.depth[a]?e.depth[r]:e.depth[a])+1,s[2*r+1]=s[2*a+1]=n,e.heap[1]=n++,G(e,s,1),2<=e.heap_len;);e.heap[--e.heap_max]=e.heap[1],function(e,t){var r,a,n,s,i,o,l=t.dyn_tree,c=t.max_code,f=t.stat_desc.static_tree,u=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,m=t.stat_desc.extra_base,b=t.stat_desc.max_length,g=0;for(s=0;s<=p;s++)e.bl_count[s]=0;for(l[2*e.heap[e.heap_max]+1]=0,r=e.heap_max+1;r<d;r++)b<(s=l[2*l[2*(a=e.heap[r])+1]+1]+1)&&(s=b,g++),l[2*a+1]=s,c<a||(e.bl_count[s]++,i=0,m<=a&&(i=h[a-m]),o=l[2*a],e.opt_len+=o*(s+i),u&&(e.static_len+=o*(f[2*a+1]+i)));if(0!==g){do{for(s=b-1;0===e.bl_count[s];)s--;e.bl_count[s]--,e.bl_count[s+1]+=2,e.bl_count[b]--,g-=2}while(0<g);for(s=b;0!==s;s--)for(a=e.bl_count[s];0!==a;)c<(n=e.heap[--r])||(l[2*n+1]!==s&&(e.opt_len+=(s-l[2*n+1])*l[2*n],l[2*n+1]=s),a--)}}(e,t),W(s,c,e.bl_count)}function Y(e,t,r){var a,n,s=-1,i=t[1],o=0,l=7,c=4;for(0===i&&(l=138,c=3),t[2*(r+1)+1]=65535,a=0;a<=r;a++)n=i,i=t[2*(a+1)+1],++o<l&&n===i||(o<c?e.bl_tree[2*n]+=o:0!==n?(n!==s&&e.bl_tree[2*n]++,e.bl_tree[2*v]++):o<=10?e.bl_tree[2*w]++:e.bl_tree[2*y]++,s=n,c=(o=0)===i?(l=138,3):n===i?(l=6,3):(l=7,4))}function K(e,t,r){var a,n,s=-1,i=t[1],o=0,l=7,c=4;for(0===i&&(l=138,c=3),a=0;a<=r;a++)if(n=i,i=t[2*(a+1)+1],!(++o<l&&n===i)){if(o<c)for(;U(e,n,e.bl_tree),0!=--o;);else 0!==n?(n!==s&&(U(e,n,e.bl_tree),o--),U(e,v,e.bl_tree),B(e,o-3,2)):o<=10?(U(e,w,e.bl_tree),B(e,o-3,3)):(U(e,y,e.bl_tree),B(e,o-11,7));s=n,c=(o=0)===i?(l=138,3):n===i?(l=6,3):(l=7,4)}}i(I);var Z=!1;function q(e,t,r,n){B(e,(o<<1)+(n?1:0),3),function(e,t,r,n){j(e),n&&(L(e,r),L(e,~r)),a.arraySet(e.pending_buf,e.window,t,r,e.pending),e.pending+=r}(e,t,r,!0)}r._tr_init=function(e){Z||(function(){var e,t,r,a,n,s=new Array(p+1);for(a=r=0;a<l-1;a++)for(R[a]=r,e=0;e<1<<k[a];e++)C[r++]=a;for(C[r-1]=a,a=n=0;a<16;a++)for(I[a]=n,e=0;e<1<<T[a];e++)x[n++]=a;for(n>>=7;a<u;a++)for(I[a]=n<<7,e=0;e<1<<T[a]-7;e++)x[256+n++]=a;for(t=0;t<=p;t++)s[t]=0;for(e=0;e<=143;)S[2*e+1]=8,e++,s[8]++;for(;e<=255;)S[2*e+1]=9,e++,s[9]++;for(;e<=279;)S[2*e+1]=7,e++,s[7]++;for(;e<=287;)S[2*e+1]=8,e++,s[8]++;for(W(S,f+1,s),e=0;e<u;e++)A[2*e+1]=5,A[2*e]=z(e,5);P=new D(S,k,c+1,f,p),O=new D(A,T,0,u,p),N=new D(new Array(0),_,0,h,b)}(),Z=!0),e.l_desc=new F(e.dyn_ltree,P),e.d_desc=new F(e.dyn_dtree,O),e.bl_desc=new F(e.bl_tree,N),e.bi_buf=0,e.bi_valid=0,H(e)},r._tr_stored_block=q,r._tr_flush_block=function(e,t,r,a){var i,o,l=0;0<e.level?(2===e.strm.data_type&&(e.strm.data_type=function(e){var t,r=4093624447;for(t=0;t<=31;t++,r>>>=1)if(1&r&&0!==e.dyn_ltree[2*t])return n;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return s;for(t=32;t<c;t++)if(0!==e.dyn_ltree[2*t])return s;return n}(e)),X(e,e.l_desc),X(e,e.d_desc),l=function(e){var t;for(Y(e,e.dyn_ltree,e.l_desc.max_code),Y(e,e.dyn_dtree,e.d_desc.max_code),X(e,e.bl_desc),t=h-1;3<=t&&0===e.bl_tree[2*E[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=r+5,r+4<=i&&-1!==t?q(e,t,r,a):4===e.strategy||o===i?(B(e,2+(a?1:0),3),$(e,S,A)):(B(e,4+(a?1:0),3),function(e,t,r,a){var n;for(B(e,t-257,5),B(e,r-1,5),B(e,a-4,4),n=0;n<a;n++)B(e,e.bl_tree[2*E[n]+1],3);K(e,e.dyn_ltree,t-1),K(e,e.dyn_dtree,r-1)}(e,e.l_desc.max_code+1,e.d_desc.max_code+1,l+1),$(e,e.dyn_ltree,e.dyn_dtree)),H(e),a&&j(e)},r._tr_tally=function(e,t,r){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&r,e.last_lit++,0===t?e.dyn_ltree[2*r]++:(e.matches++,t--,e.dyn_ltree[2*(C[r]+c+1)]++,e.dyn_dtree[2*M(t)]++),e.last_lit===e.lit_bufsize-1},r._tr_align=function(e){B(e,2,3),U(e,g,S),function(e){16===e.bi_valid?(L(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):8<=e.bi_valid&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}(e)}},{"../utils/common":41}],53:[function(e,t,r){"use strict";t.exports=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}},{}],54:[function(e,t,n){(function(e){!function(e,t){"use strict";if(!e.setImmediate){var r,n,s,i,o=1,l={},c=!1,f=e.document,u=Object.getPrototypeOf&&Object.getPrototypeOf(e);u=u&&u.setTimeout?u:e,r="[object process]"==={}.toString.call(e.process)?function(e){a.nextTick((function(){d(e)}))}:function(){if(e.postMessage&&!e.importScripts){var t=!0,r=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage("","*"),e.onmessage=r,t}}()?(i="setImmediate$"+Math.random()+"$",e.addEventListener?e.addEventListener("message",p,!1):e.attachEvent("onmessage",p),function(t){e.postMessage(i+t,"*")}):e.MessageChannel?((s=new MessageChannel).port1.onmessage=function(e){d(e.data)},function(e){s.port2.postMessage(e)}):f&&"onreadystatechange"in f.createElement("script")?(n=f.documentElement,function(e){var t=f.createElement("script");t.onreadystatechange=function(){d(e),t.onreadystatechange=null,n.removeChild(t),t=null},n.appendChild(t)}):function(e){setTimeout(d,0,e)},u.setImmediate=function(e){"function"!=typeof e&&(e=new Function(""+e));for(var t=new Array(arguments.length-1),a=0;a<t.length;a++)t[a]=arguments[a+1];var n={callback:e,args:t};return l[o]=n,r(o),o++},u.clearImmediate=h}function h(e){delete l[e]}function d(e){if(c)setTimeout(d,0,e);else{var r=l[e];if(r){c=!0;try{!function(e){var r=e.callback,a=e.args;switch(a.length){case 0:r();break;case 1:r(a[0]);break;case 2:r(a[0],a[1]);break;case 3:r(a[0],a[1],a[2]);break;default:r.apply(t,a)}}(r)}finally{h(e),c=!1}}}}function p(t){t.source===e&&"string"==typeof t.data&&0===t.data.indexOf(i)&&d(+t.data.slice(i.length))}}("undefined"==typeof self?void 0===e?this:e:self)}).call(this,"undefined"!=typeof r?r:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}]},{},[10])(10)}))}).call(this,r("b639").Buffer,r("c8ba"),r("4362"))},c6e3:function(e,t,r){"use strict";var a=r("d429"),n=r("ebb5"),s=r("bcbf"),i=r("5926"),o=r("f495"),l=n.aTypedArray,c=n.getTypedArrayConstructor,f=n.exportTypedArrayMethod,u=!!function(){try{new Int8Array(1)["with"](2,{valueOf:function(){throw 8}})}catch(e){return 8===e}}();f("with",{with:function(e,t){var r=l(this),n=i(e),f=s(r)?o(t):+t;return a(r,c(r),n,f)}}["with"],!u)},ca91:function(e,t,r){"use strict";var a=r("ebb5"),n=r("d58f").left,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("reduce",(function(e){var t=arguments.length;return n(s(this),e,t,t>1?arguments[1]:void 0)}))},cd26:function(e,t,r){"use strict";var a=r("ebb5"),n=a.aTypedArray,s=a.exportTypedArrayMethod,i=Math.floor;s("reverse",(function(){var e,t=this,r=n(t).length,a=i(r/2),s=0;while(s<a)e=t[s],t[s++]=t[--r],t[r]=e;return t}))},cf98:function(e,t){e.exports={IndexSizeError:{s:"INDEX_SIZE_ERR",c:1,m:1},DOMStringSizeError:{s:"DOMSTRING_SIZE_ERR",c:2,m:0},HierarchyRequestError:{s:"HIERARCHY_REQUEST_ERR",c:3,m:1},WrongDocumentError:{s:"WRONG_DOCUMENT_ERR",c:4,m:1},InvalidCharacterError:{s:"INVALID_CHARACTER_ERR",c:5,m:1},NoDataAllowedError:{s:"NO_DATA_ALLOWED_ERR",c:6,m:0},NoModificationAllowedError:{s:"NO_MODIFICATION_ALLOWED_ERR",c:7,m:1},NotFoundError:{s:"NOT_FOUND_ERR",c:8,m:1},NotSupportedError:{s:"NOT_SUPPORTED_ERR",c:9,m:1},InUseAttributeError:{s:"INUSE_ATTRIBUTE_ERR",c:10,m:1},InvalidStateError:{s:"INVALID_STATE_ERR",c:11,m:1},SyntaxError:{s:"SYNTAX_ERR",c:12,m:1},InvalidModificationError:{s:"INVALID_MODIFICATION_ERR",c:13,m:1},NamespaceError:{s:"NAMESPACE_ERR",c:14,m:1},InvalidAccessError:{s:"INVALID_ACCESS_ERR",c:15,m:1},ValidationError:{s:"VALIDATION_ERR",c:16,m:0},TypeMismatchError:{s:"TYPE_MISMATCH_ERR",c:17,m:1},SecurityError:{s:"SECURITY_ERR",c:18,m:1},NetworkError:{s:"NETWORK_ERR",c:19,m:1},AbortError:{s:"ABORT_ERR",c:20,m:1},URLMismatchError:{s:"URL_MISMATCH_ERR",c:21,m:1},QuotaExceededError:{s:"QUOTA_EXCEEDED_ERR",c:22,m:1},TimeoutError:{s:"TIMEOUT_ERR",c:23,m:1},InvalidNodeTypeError:{s:"INVALID_NODE_TYPE_ERR",c:24,m:1},DataCloneError:{s:"DATA_CLONE_ERR",c:25,m:1}}},d139:function(e,t,r){"use strict";var a=r("ebb5"),n=r("b727").find,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("find",(function(e){return n(s(this),e,arguments.length>1?arguments[1]:void 0)}))},d429:function(e,t,r){var a=r("07fa"),n=r("5926"),s=RangeError;e.exports=function(e,t,r,i){var o=a(e),l=n(r),c=l<0?o+l:l;if(c>=o||c<0)throw s("Incorrect index");for(var f=new t(o),u=0;u<o;u++)f[u]=u===c?i:e[u];return f}},d5d6:function(e,t,r){"use strict";var a=r("ebb5"),n=r("b727").forEach,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("forEach",(function(e){n(s(this),e,arguments.length>1?arguments[1]:void 0)}))},d998:function(e,t,r){var a=r("342f");e.exports=/MSIE|Trident/.test(a)},df7e:function(e,t,r){var a=r("07fa");e.exports=function(e,t){for(var r=a(e),n=new t(r),s=0;s<r;s++)n[s]=e[r-s-1];return n}},dfb9:function(e,t,r){var a=r("07fa");e.exports=function(e,t){var r=0,n=a(t),s=new e(n);while(n>r)s[r]=t[r++];return s}},e58c:function(e,t,r){"use strict";var a=r("2ba4"),n=r("fc6a"),s=r("5926"),i=r("07fa"),o=r("a640"),l=Math.min,c=[].lastIndexOf,f=!!c&&1/[1].lastIndexOf(1,-0)<0,u=o("lastIndexOf"),h=f||!u;e.exports=h?function(e){if(f)return a(c,this,arguments)||0;var t=n(this),r=i(t),o=r-1;for(arguments.length>1&&(o=l(o,s(arguments[1]))),o<0&&(o=r+o);o>=0;o--)if(o in t&&t[o]===e)return o||0;return-1}:c},e91f:function(e,t,r){"use strict";var a=r("ebb5"),n=r("4d64").indexOf,s=a.aTypedArray,i=a.exportTypedArrayMethod;i("indexOf",(function(e){return n(s(this),e,arguments.length>1?arguments[1]:void 0)}))},eac5:function(e,t,r){var a=r("861d"),n=Math.floor;e.exports=Number.isInteger||function(e){return!a(e)&&isFinite(e)&&n(e)===e}},ebb5:function(e,t,r){"use strict";var a,n,s,i=r("4b11"),o=r("83ab"),l=r("da84"),c=r("1626"),f=r("861d"),u=r("1a2d"),h=r("f5df"),d=r("0d51"),p=r("9112"),m=r("cb2d"),b=r("9bf2").f,g=r("3a9b"),v=r("e163"),w=r("d2bb"),y=r("b622"),k=r("90e3"),T=r("69f3"),_=T.enforce,E=T.get,S=l.Int8Array,A=S&&S.prototype,x=l.Uint8ClampedArray,C=x&&x.prototype,R=S&&v(S),P=A&&v(A),O=Object.prototype,N=l.TypeError,I=y("toStringTag"),D=k("TYPED_ARRAY_TAG"),F="TypedArrayConstructor",M=i&&!!w&&"Opera"!==h(l.opera),L=!1,B={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},U={BigInt64Array:8,BigUint64Array:8},z=function(e){if(!f(e))return!1;var t=h(e);return"DataView"===t||u(B,t)||u(U,t)},W=function(e){var t=v(e);if(f(t)){var r=E(t);return r&&u(r,F)?r[F]:W(t)}},H=function(e){if(!f(e))return!1;var t=h(e);return u(B,t)||u(U,t)},j=function(e){if(H(e))return e;throw N("Target is not a typed array")},V=function(e){if(c(e)&&(!w||g(R,e)))return e;throw N(d(e)+" is not a typed array constructor")},G=function(e,t,r,a){if(o){if(r)for(var n in B){var s=l[n];if(s&&u(s.prototype,e))try{delete s.prototype[e]}catch(i){try{s.prototype[e]=t}catch(c){}}}P[e]&&!r||m(P,e,r?t:M&&A[e]||t,a)}},$=function(e,t,r){var a,n;if(o){if(w){if(r)for(a in B)if(n=l[a],n&&u(n,e))try{delete n[e]}catch(s){}if(R[e]&&!r)return;try{return m(R,e,r?t:M&&R[e]||t)}catch(s){}}for(a in B)n=l[a],!n||n[e]&&!r||m(n,e,t)}};for(a in B)n=l[a],s=n&&n.prototype,s?_(s)[F]=n:M=!1;for(a in U)n=l[a],s=n&&n.prototype,s&&(_(s)[F]=n);if((!M||!c(R)||R===Function.prototype)&&(R=function(){throw N("Incorrect invocation")},M))for(a in B)l[a]&&w(l[a],R);if((!M||!P||P===O)&&(P=R.prototype,M))for(a in B)l[a]&&w(l[a].prototype,P);if(M&&v(C)!==P&&w(C,P),o&&!u(P,I))for(a in L=!0,b(P,I,{get:function(){return f(this)?this[D]:void 0}}),B)l[a]&&p(l[a],D,a);e.exports={NATIVE_ARRAY_BUFFER_VIEWS:M,TYPED_ARRAY_TAG:L&&D,aTypedArray:j,aTypedArrayConstructor:V,exportTypedArrayMethod:G,exportTypedArrayStaticMethod:$,getTypedArrayConstructor:W,isView:z,isTypedArray:H,TypedArray:R,TypedArrayPrototype:P}},f354:function(e,t,r){var a=r("d039"),n=r("b622"),s=r("c430"),i=n("iterator");e.exports=!a((function(){var e=new URL("b?a=1&b=2&c=3","http://a"),t=e.searchParams,r="";return e.pathname="c%20d",t.forEach((function(e,a){t["delete"]("b"),r+=a+e})),s&&!e.toJSON||!t.sort||"http://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[i]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("http://тест").host||"#%D0%B1"!==new URL("http://a#б").hash||"a1c3"!==r||"x"!==new URL("http://x",void 0).host}))},f495:function(e,t,r){var a=r("c04e"),n=TypeError;e.exports=function(e){var t=a(e,"number");if("number"==typeof t)throw n("Can't convert number to bigint");return BigInt(t)}},f8cd:function(e,t,r){var a=r("5926"),n=RangeError;e.exports=function(e){var t=a(e);if(t<0)throw n("The argument can't be less than 0");return t}}}]);