>8-p;for(var g=(1<<7-p)-1;g>=0;--g)oe[d|g<>>=3){case 16:for(i=3+j(e,t),t+=2,d=m[m.length-1];i-- >0;)m.push(d);break;case 17:for(i=3+z(e,t),t+=3;i-- >0;)m.push(0);break;case 18:for(i=11+V(e,t),t+=7;i-- >0;)m.push(0);break;default:m.push(d),l>>0,o=0,l=0;0==(1&n);)if(n=z(e,r),r+=3,n>>>1!=0)for(n>>1==1?(o=9,l=5):(r=ce(e,r),o=le,l=fe);;){!t&&s>>1==1?ee[f]:ie[f];if(r+=15&c,0===((c>>>=4)>>>8&255))a[i++]=c;else{if(256==c)break;var h=(c-=257)<8?0:c-4>>2;h>5&&(h=0);var u=i+L[c];h>0&&(u+=Y(e,r,h),r+=h),f=Y(e,r,l),r+=15&(c=n>>>1==1?te[f]:se[f]);var d=(c>>>=4)<4?0:c-2>>1,p=F[c];for(d>0&&(p+=Y(e,r,d),r+=d),!t&&s>>3]|e[1+(r>>>3)]<<8;if(r+=32,g>0)for(!t&&s0;)a[i++]=e[r>>>3],r+=8}return t?[a,r+7>>>3]:[a.slice(0,i),r+7>>>3]}(e.slice(e.l||0),t);return e.l+=r[1],r[0]}function ue(e,t){if(!e)throw new Error(t);"undefined"!==typeof console&&console.error(t)}function de(e,t){var r=e;er(r,0);var n={FileIndex:[],FullPaths:[]};u(n,{root:t.root});for(var a=r.length-4;(80!=r[a]||75!=r[a+1]||5!=r[a+2]||6!=r[a+3])&&a>=0;)--a;r.l=a+4,r.l+=4;var s=r.read_shift(2);r.l+=6;var o=r.read_shift(4);for(r.l=o,a=0;a>>=5);r>>>=4,n.setMilliseconds(0),n.setFullYear(r+1980),n.setMonth(i-1),n.setDate(a);var s=31&t,o=63&(t>>>=5);return t>>>=6,n.setHours(t),n.setMinutes(o),n.setSeconds(s<<1),n}(e);if(8257&s)throw new Error("Unsupported ZIP encryption");e.read_shift(4);for(var f=e.read_shift(4),c=e.read_shift(4),h=e.read_shift(2),u=e.read_shift(2),d="",p=0;p0?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==Ue.getFullYear()&&!isNaN(r.getFullYear())){var n=r.getFullYear();return e.indexOf(""+n)>-1||r.setFullYear(r.getFullYear()+100),r}var a=e.match(/\d+/g)||["2017","2","19","0","0","0"],i=new Date(+a[0],+a[1]-1,+a[2],+a[3]||0,+a[4]||0,+a[5]||0);return e.indexOf("Z")>-1&&(i=new Date(i.getTime()-60*i.getTimezoneOffset()*1e3)),i}function He(e,t){if(w&&Buffer.isBuffer(e)){if(t){if(255==e[0]&&254==e[1])return ct(e.slice(2).toString("utf16le"));if(254==e[1]&&255==e[2])return ct(h(e.slice(2).toString("binary")))}return e.toString("binary")}if("undefined"!==typeof TextDecoder)try{if(t){if(255==e[0]&&254==e[1])return ct(new TextDecoder("utf-16le").decode(e.slice(2)));if(254==e[0]&&255==e[1])return ct(new TextDecoder("utf-16be").decode(e.slice(2)))}var r={"\u20ac":"\x80","\u201a":"\x82","\u0192":"\x83","\u201e":"\x84","\u2026":"\x85","\u2020":"\x86","\u2021":"\x87","\u02c6":"\x88","\u2030":"\x89","\u0160":"\x8a","\u2039":"\x8b","\u0152":"\x8c","\u017d":"\x8e","\u2018":"\x91","\u2019":"\x92","\u201c":"\x93","\u201d":"\x94","\u2022":"\x95","\u2013":"\x96","\u2014":"\x97","\u02dc":"\x98","\u2122":"\x99","\u0161":"\x9a","\u203a":"\x9b","\u0153":"\x9c","\u017e":"\x9e","\u0178":"\x9f"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[\u20ac\u201a\u0192\u201e\u2026\u2020\u2021\u02c6\u2030\u0160\u2039\u0152\u017d\u2018\u2019\u201c\u201d\u2022\u2013\u2014\u02dc\u2122\u0161\u203a\u0153\u017e\u0178]/g,(function(e){return r[e]||e}))}catch(i){}for(var n=[],a=0;a!=e.length;++a)n.push(String.fromCharCode(e[a]));return n.join("")}function je(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]=je(e[r]));return t}function ze(e,t){for(var r="";r.length3&&-1==Ve.indexOf(s))return r}else if(s.match(/[a-z]/))return r;return n<0||n>8099?r:(a>0||i>1)&&101!=n?t:e.match(/[^-0-9:,\/\\]/)?r:t}function $e(e,t,r){if(e.FullPaths){var n;if("string"==typeof r)return n=w?b(r):function(e){for(var t=[],r=0,n=e.length+250,a=E(e.length+255),i=0;i>6&31,a[r++]=128|63&s;else if(s>=55296&&s<57344){s=64+(1023&s);var o=1023&e.charCodeAt(++i);a[r++]=240|s>>8&7,a[r++]=128|s>>2&63,a[r++]=128|o>>6&15|(3&s)<<4,a[r++]=128|63&o}else a[r++]=224|s>>12&15,a[r++]=128|s>>6&63,a[r++]=128|63&s;r>n&&(t.push(a.slice(0,r)),r=0,a=E(65535),n=65530)}return t.push(a.slice(0,r)),x(t)}(r),Se.utils.cfb_add(e,t,n);Se.utils.cfb_add(e,t,r)}else e.file(t,r)}function Ke(){return Se.utils.cfb_new()}var Xe='\r\n';var Je={""":'"',"'":"'",">":">","<":"<","&":"&"},Ze=Re(Je),qe=/[&<>'"]/g,Qe=/[\u0000-\u0008\u000b-\u001f]/g;function et(e){return(e+"").replace(qe,(function(e){return Ze[e]})).replace(Qe,(function(e){return"_x"+("000"+e.charCodeAt(0).toString(16)).slice(-4)+"_"}))}function tt(e){return et(e).replace(/ /g,"_x0020_")}var rt=/[\u0000-\u001f]/g;function nt(e){return(e+"").replace(qe,(function(e){return Ze[e]})).replace(/\n/g,"
").replace(rt,(function(e){return""+("000"+e.charCodeAt(0).toString(16)).slice(-4)+";"}))}function at(e){switch(e){case 1:case!0:case"1":case"true":case"TRUE":return!0;default:return!1}}function it(e){for(var t="",r=0,n=0,a=0,i=0,s=0,o=0;r191&&n<224?(s=(31&n)<<6,s|=63&a,t+=String.fromCharCode(s)):(i=e.charCodeAt(r++),n<240?t+=String.fromCharCode((15&n)<<12|(63&a)<<6|63&i):(o=((7&n)<<18|(63&a)<<12|(63&i)<<6|63&(s=e.charCodeAt(r++)))-65536,t+=String.fromCharCode(55296+(o>>>10&1023)),t+=String.fromCharCode(56320+(1023&o)))));return t}function st(e){var t,r,n,a=E(2*e.length),i=1,s=0,o=0;for(r=0;r>>10&1023),t=56320+(1023&t)),0!==o&&(a[s++]=255&o,a[s++]=o>>>8,o=0),a[s++]=t%256,a[s++]=t>>>8;return a.slice(0,s).toString("ucs2")}function ot(e){return b(e,"binary").toString("utf8")}var lt="foo bar baz\xe2\x98\x83\xf0\x9f\x8d\xa3",ft=w&&(ot(lt)==it(lt)&&ot||st(lt)==it(lt)&&st)||it,ct=w?function(e){return b(e,"utf8").toString("binary")}:function(e){for(var t=[],r=0,n=0,a=0;r>6))),t.push(String.fromCharCode(128+(63&n)));break;case n>=55296&&n<57344:n-=55296,a=e.charCodeAt(r++)-56320+(n<<10),t.push(String.fromCharCode(240+(a>>18&7))),t.push(String.fromCharCode(144+(a>>12&63))),t.push(String.fromCharCode(128+(a>>6&63))),t.push(String.fromCharCode(128+(63&a)));break;default:t.push(String.fromCharCode(224+(n>>12))),t.push(String.fromCharCode(128+(n>>6&63))),t.push(String.fromCharCode(128+(63&n)))}return t.join("")},ht=function(){var e=[["nbsp"," "],["middot","\xb7"],["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,"\n").replace(/<[^>]*>/g,""),n=0;n"+t+""+e+">"}function pt(e){return Ce(e).map((function(t){return" "+t+'="'+e[t]+'"'})).join("")}function gt(e,t,r){return"<"+e+(null!=r?pt(r):"")+(null!=t?(t.match(ut)?' xml:space="preserve"':"")+">"+t+""+e:"/")+">"}function mt(e,t){try{return e.toISOString().replace(/\.\d*/,"")}catch(r){if(t)throw r}return""}var vt={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"},Tt=["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"],wt={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"};var bt=function(e){for(var t=[],r=0;r0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map((function(e){return Buffer.isBuffer(e)?e:b(e)}))):bt(e)}:bt,yt=function(e,t,r){for(var n=[],a=t;a0?Ct(e,t+4,t+4+r-1):""},Rt=Ot,Pt=function(e,t){var r=Vt(e,t);return r>0?Ct(e,t+4,t+4+r-1):""},Dt=Pt,kt=function(e,t){var r=2*Vt(e,t);return r>0?Ct(e,t+4,t+4+r-1):""},It=kt,Nt=function(e,t){var r=Vt(e,t);return r>0?St(e,t+4,t+4+r):""},Lt=Nt,Ft=function(e,t){var r=Vt(e,t);return r>0?Ct(e,t+4,t+4+r):""},Mt=Ft,Ut=function(e,t){return function(e,t){for(var r=1-2*(e[t+7]>>>7),n=((127&e[t+7])<<4)+(e[t+6]>>>4&15),a=15&e[t+6],i=5;i>=0;--i)a=256*a+e[t+i];return 2047==n?0==a?r*(1/0):NaN:(0==n?n=-1022:(n-=1023,a+=Math.pow(2,52)),r*Math.pow(2,n-52)*a)}(e,t)},Wt=Ut,Bt=function(e){return Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array};function Ht(){St=function(e,t,r){return u.utils.decode(1200,e.slice(t,r)).replace(C,"")},Ct=function(e,t,r){return u.utils.decode(65001,e.slice(t,r))},Rt=function(e,t){var r=Vt(e,t);return r>0?u.utils.decode(i,e.slice(t+4,t+4+r-1)):""},Dt=function(e,t){var r=Vt(e,t);return r>0?u.utils.decode(a,e.slice(t+4,t+4+r-1)):""},It=function(e,t){var r=2*Vt(e,t);return r>0?u.utils.decode(1200,e.slice(t+4,t+4+r-1)):""},Lt=function(e,t){var r=Vt(e,t);return r>0?u.utils.decode(1200,e.slice(t+4,t+4+r)):""},Mt=function(e,t){var r=Vt(e,t);return r>0?u.utils.decode(65001,e.slice(t+4,t+4+r)):""}}w&&(Rt=function(e,t){if(!Buffer.isBuffer(e))return Ot(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},Dt=function(e,t){if(!Buffer.isBuffer(e))return Pt(e,t);var r=e.readUInt32LE(t);return r>0?e.toString("utf8",t+4,t+4+r-1):""},It=function(e,t){if(!Buffer.isBuffer(e))return kt(e,t);var r=2*e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r-1)},Lt=function(e,t){if(!Buffer.isBuffer(e))return Nt(e,t);var r=e.readUInt32LE(t);return e.toString("utf16le",t+4,t+4+r)},Mt=function(e,t){if(!Buffer.isBuffer(e))return Ft(e,t);var r=e.readUInt32LE(t);return e.toString("utf8",t+4,t+4+r)},Wt=function(e,t){return Buffer.isBuffer(e)?e.readDoubleLE(t):Ut(e,t)},Bt=function(e){return Buffer.isBuffer(e)||Array.isArray(e)||"undefined"!==typeof Uint8Array&&e instanceof Uint8Array}),"undefined"!==typeof u&&Ht();var jt=function(e,t){return e[t]},zt=function(e,t){return 256*e[t+1]+e[t]},Gt=function(e,t){var r=256*e[t+1]+e[t];return r<32768?r:-1*(65535-r+1)},Vt=function(e,t){return e[t+3]*(1<<24)+(e[t+2]<<16)+(e[t+1]<<8)+e[t]},Yt=function(e,t){return e[t+3]<<24|e[t+2]<<16|e[t+1]<<8|e[t]},$t=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]};function Kt(e,t){var r,n,i,s,o,l,f="",c=[];switch(t){case"dbcs":if(l=this.l,w&&Buffer.isBuffer(this))f=this.slice(this.l,this.l+2*e).toString("utf16le");else for(o=0;o0?Yt:$t)(this,this.l),this.l+=4,r):(n=Vt(this,this.l),this.l+=4,n);case 8:case-8:if("f"===t)return n=8==e?Wt(this,this.l):Wt([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,n;e=8;case 16:f=_t(this,this.l,e)}}return this.l+=e,f}var Xt=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},Jt=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},Zt=function(e,t,r){e[r]=255&t,e[r+1]=t>>>8&255};function qt(e,t,r){var n=0,a=0;if("dbcs"===r){for(a=0;a!=t.length;++a)Zt(this,t.charCodeAt(a),this.l+2*a);n=2*t.length}else if("sbcs"===r){if("undefined"!==typeof u&&874==i)for(a=0;a!=t.length;++a){var s=u.utils.encode(i,t.charAt(a));this[this.l+a]=s[0]}else for(t=t.replace(/[^\x00-\x7F]/g,"_"),a=0;a!=t.length;++a)this[this.l+a]=255&t.charCodeAt(a);n=t.length}else{if("hex"===r){for(;a>8}for(;this.l>>=8,this[this.l+1]=255&t;break;case 3:n=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:n=4,Xt(this,t,this.l);break;case 8:if(n=8,"f"===r){!function(e,t,r){var n=(t<0||1/t==-1/0?1:0)<<7,a=0,i=0,s=n?-t:t;isFinite(s)?0==s?a=i=0:(a=Math.floor(Math.log(s)/Math.LN2),i=s*Math.pow(2,52-a),a<=-1023&&(!isFinite(i)||i>4|n}(this,t,this.l);break}case 16:break;case-4:n=4,Jt(this,t,this.l)}}return this.l+=n,this}function Qt(e,t){var r=_t(this,this.l,e.length>>1);if(r!==e)throw new Error(t+"Expected "+e+" saw "+r);this.l+=e.length>>1}function er(e,t){e.l=t,e.read_shift=Kt,e.chk=Qt,e.write_shift=qt}function tr(e,t){e.l+=t}function rr(e){var t=E(e);return er(t,0),t}function nr(){var e=[],t=w?256:2048,r=function(e){var t=rr(e);return er(t,0),t},n=r(t),a=function(){n&&(n.length>n.l&&((n=n.slice(0,n.l)).l=n.length),n.length>0&&e.push(n),n=null)},i=function(e){return n&&e=128?1:0)+1,n>=128&&++a,n>=16384&&++a,n>=2097152&&++a;var s=e.next(a);i<=127?s.write_shift(1,i):(s.write_shift(1,128+(127&i)),s.write_shift(1,i>>7));for(var o=0;4!=o;++o){if(!(n>=128)){s.write_shift(1,n);break}s.write_shift(1,128+(127&n)),n>>=7}n>0&&Bt(r)&&e.push(r)}}function ir(e,t,r){var n=je(e);if(t.s?(n.cRel&&(n.c+=t.s.c),n.rRel&&(n.r+=t.s.r)):(n.cRel&&(n.c+=t.c),n.rRel&&(n.r+=t.r)),!r||r.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function sr(e,t,r){var n=je(e);return n.s=ir(n.s,t.s,r),n.e=ir(n.e,t.s,r),n}function or(e,t){if(e.cRel&&e.c<0)for(e=je(e);e.c<0;)e.c+=t>8?16384:256;if(e.rRel&&e.r<0)for(e=je(e);e.r<0;)e.r+=t>8?1048576:t>5?65536:16384;var r=pr(e);return e.cRel||null==e.cRel||(r=r.replace(/^([A-Z])/,"$$$1")),e.rRel||null==e.rRel||(r=function(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}(r)),r}function lr(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?or(e.s,t.biff)+":"+or(e.e,t.biff):(e.s.rRel?"":"$")+cr(e.s.r)+":"+(e.e.rRel?"":"$")+cr(e.e.r):(e.s.cRel?"":"$")+ur(e.s.c)+":"+(e.e.cRel?"":"$")+ur(e.e.c)}function fr(e){return parseInt(e.replace(/\$(\d+)$/,"$1"),10)-1}function cr(e){return""+(e+1)}function hr(e){for(var t=e.replace(/^\$([A-Z])/,"$1"),r=0,n=0;n!==t.length;++n)r=26*r+t.charCodeAt(n)-64;return r-1}function ur(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 dr(e){for(var t=0,r=0,n=0;n=48&&a<=57?t=10*t+(a-48):a>=65&&a<=90&&(r=26*r+(a-64))}return{c:r-1,r:t-1}}function pr(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 gr(e){var t=e.indexOf(":");return-1==t?{s:dr(e),e:dr(e)}:{s:dr(e.slice(0,t)),e:dr(e.slice(t+1))}}function mr(e,t){return"undefined"===typeof t||"number"===typeof t?mr(e.s,e.e):("string"!==typeof e&&(e=pr(e)),"string"!==typeof t&&(t=pr(t)),e==t?e:e+":"+t)}function vr(e){var t={s:{c:0,r:0},e:{c:0,r:0}},r=0,n=0,a=0,i=e.length;for(r=0;n26);++n)r=26*r+a;for(t.s.c=--r,r=0;n9);++n)r=10*r+a;if(t.s.r=--r,n===i||10!=a)return t.e.c=t.s.c,t.e.r=t.s.r,t;for(++n,r=0;n!=i&&!((a=e.charCodeAt(n)-64)<1||a>26);++n)r=26*r+a;for(t.e.c=--r,r=0;n!=i&&!((a=e.charCodeAt(n)-48)<0||a>9);++n)r=10*r+a;return t.e.r=--r,t}function Tr(e,t){var r="d"==e.t&&t instanceof Date;if(null!=e.z)try{return e.w=ve(e.z,r?ke(t):t)}catch(n){}try{return e.w=ve((e.XF||{}).numFmtId||(r?14:0),r?ke(t):t)}catch(n){return""+t}}function wr(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?rn[e.v]||e.v:Tr(e,void 0==t?e.v:t))}function br(e,t){var r=t&&t.sheet?t.sheet:"Sheet1",n={};return n[r]=e,{SheetNames:[r],Sheets:n}}function Er(e,t,r){var n=r||{},a=e?Array.isArray(e):n.dense;null!=g&&null==a&&(a=g);var i=e||(a?[]:{}),s=0,o=0;if(i&&null!=n.origin){if("number"==typeof n.origin)s=n.origin;else{var l="string"==typeof n.origin?dr(n.origin):n.origin;s=l.r,o=l.c}i["!ref"]||(i["!ref"]="A1:A1")}var f={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i["!ref"]){var c=vr(i["!ref"]);f.s.c=c.s.c,f.s.r=c.s.r,f.e.c=Math.max(f.e.c,c.e.c),f.e.r=Math.max(f.e.r,c.e.r),-1==s&&(f.e.r=s=c.e.r+1)}for(var h=0;h!=t.length;++h)if(t[h]){if(!Array.isArray(t[h]))throw new Error("aoa_to_sheet expects an array of arrays");for(var u=0;u!=t[h].length;++u)if("undefined"!==typeof t[h][u]){var d={v:t[h][u]},p=s+h,m=o+u;if(f.s.r>p&&(f.s.r=p),f.s.c>m&&(f.s.c=m),f.e.r0&&t.write_shift(0,e,"dbcs"),r?t.slice(0,t.l):t}function xr(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Cr(e,t){var r=e.l,n=e.read_shift(1),a=Ar(e),i=[],s={t:a,h:a};if(0!==(1&n)){for(var o=e.read_shift(4),l=0;l!=o;++l)i.push(xr(e));s.r=i}else s.r=[{ich:0,ifnt:0}];return e.l=r+t,s}var Or=Cr;function Rr(e,t){var r=!1;return null==t&&(r=!0,t=rr(23+4*e.t.length)),t.write_shift(1,1),_r(e.t,t),t.write_shift(4,1),function(e,t){t||(t=rr(4)),t.write_shift(2,e.ich||0),t.write_shift(2,e.ifnt||0)}({ich:0,ifnt:0},t),r?t.slice(0,t.l):t}function Pr(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 Dr(e,t){return null==t&&(t=rr(8)),t.write_shift(-4,e.c),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}function kr(e){var t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:t}}function Ir(e,t){return null==t&&(t=rr(4)),t.write_shift(3,e.iStyleRef||e.s),t.write_shift(1,0),t}var Nr=Ar,Lr=_r;function Fr(e){var t=e.read_shift(4);return 0===t||4294967295===t?"":e.read_shift(t,"dbcs")}function Mr(e,t){var r=!1;return null==t&&(r=!0,t=rr(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 Ur=Ar,Wr=Fr,Br=Mr;function Hr(e){var t=e.slice(e.l,e.l+4),r=1&t[0],n=2&t[0];e.l+=4;var a=0===n?Wt([0,0,0,0,252&t[0],t[1],t[2],t[3]],0):Yt(t,0)>>2;return r?a/100:a}function jr(e,t){null==t&&(t=rr(4));var r=0,n=0,a=100*e;if(e==(0|e)&&e>=-(1<<29)&&e<1<<29?n=1:a==(0|a)&&a>=-(1<<29)&&a<1<<29&&(n=1,r=1),!n)throw new Error("unsupported RkNumber "+e);t.write_shift(-4,((r?a:e)<<2)+(r+2))}function zr(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}var Gr=zr,Vr=function(e,t){return t||(t=rr(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};function Yr(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function $r(e,t){return(t||rr(8)).write_shift(8,e,"f")}function Kr(e,t){if(t||(t=rr(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 n=e.rgb||"FFFFFF";"number"==typeof n&&(n=("000000"+n.toString(16)).slice(-6)),t.write_shift(1,parseInt(n.slice(0,2),16)),t.write_shift(1,parseInt(n.slice(2,4),16)),t.write_shift(1,parseInt(n.slice(4,6),16)),t.write_shift(1,255)}else t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);return t}var Xr=2,Jr=3,Zr=80,qr={1:{n:"CodePage",t:Xr},2:{n:"Category",t:Zr},3:{n:"PresentationFormat",t:Zr},4:{n:"ByteCount",t:Jr},5:{n:"LineCount",t:Jr},6:{n:"ParagraphCount",t:Jr},7:{n:"SlideCount",t:Jr},8:{n:"NoteCount",t:Jr},9:{n:"HiddenCount",t:Jr},10:{n:"MultimediaClipCount",t:Jr},11:{n:"ScaleCrop",t:11},12:{n:"HeadingPairs",t:4108},13:{n:"TitlesOfParts",t:4126},14:{n:"Manager",t:Zr},15:{n:"Company",t:Zr},16:{n:"LinksUpToDate",t:11},17:{n:"CharacterCount",t:Jr},19:{n:"SharedDoc",t:11},22:{n:"HyperlinksChanged",t:11},23:{n:"AppVersion",t:Jr,p:"version"},24:{n:"DigSig",t:65},26:{n:"ContentType",t:Zr},27:{n:"ContentStatus",t:Zr},28:{n:"Language",t:Zr},29:{n:"Version",t:Zr},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}},Qr={1:{n:"CodePage",t:Xr},2:{n:"Title",t:Zr},3:{n:"Subject",t:Zr},4:{n:"Author",t:Zr},5:{n:"Keywords",t:Zr},6:{n:"Comments",t:Zr},7:{n:"Template",t:Zr},8:{n:"LastAuthor",t:Zr},9:{n:"RevNumber",t:Zr},10:{n:"EditTime",t:64},11:{n:"LastPrinted",t:64},12:{n:"CreatedDate",t:64},13:{n:"ModifiedDate",t:64},14:{n:"PageCount",t:Jr},15:{n:"WordCount",t:Jr},16:{n:"CharCount",t:Jr},17:{n:"Thumbnail",t:71},18:{n:"Application",t:Zr},19:{n:"DocSecurity",t:Jr},255:{},2147483648:{n:"Locale",t:19},2147483651:{n:"Behavior",t:19},1919054434:{}};function en(e){return e.map((function(e){return[e>>16&255,e>>8&255,255&e]}))}var tn=je(en([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])),rn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"},nn={"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"},an={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 sn(e,t){var r,n=function(e){for(var t=[],r=Ce(e),n=0;n!==r.length;++n)null==t[e[r[n]]]&&(t[e[r[n]]]=[]),t[e[r[n]]].push(r[n]);return t}(nn),a=[];a[a.length]=Xe,a[a.length]=gt("Types",null,{xmlns:vt.CT,"xmlns:xsd":vt.xsd,"xmlns:xsi":vt.xsi}),a=a.concat([["xml","application/xml"],["bin","application/vnd.ms-excel.sheet.binary.macroEnabled.main"],["vml","application/vnd.openxmlformats-officedocument.vmlDrawing"],["data","application/vnd.openxmlformats-officedocument.model+data"],["bmp","image/bmp"],["png","image/png"],["gif","image/gif"],["emf","image/x-emf"],["wmf","image/x-wmf"],["jpg","image/jpeg"],["jpeg","image/jpeg"],["tif","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map((function(e){return gt("Default",null,{Extension:e[0],ContentType:e[1]})})));var i=function(n){e[n]&&e[n].length>0&&(r=e[n][0],a[a.length]=gt("Override",null,{PartName:("/"==r[0]?"":"/")+r,ContentType:an[n][t.bookType]||an[n].xlsx}))},s=function(r){(e[r]||[]).forEach((function(e){a[a.length]=gt("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:an[r][t.bookType]||an[r].xlsx})}))},o=function(t){(e[t]||[]).forEach((function(e){a[a.length]=gt("Override",null,{PartName:("/"==e[0]?"":"/")+e,ContentType:n[t][0]})}))};return i("workbooks"),s("sheets"),s("charts"),o("themes"),["strs","styles"].forEach(i),["coreprops","extprops","custprops"].forEach(o),o("vba"),o("comments"),o("threadedcomments"),o("drawings"),s("metadata"),o("people"),a.length>2&&(a[a.length]="",a[1]=a[1].replace("/>",">")),a.join("")}var on={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 ln(e){var t=e.lastIndexOf("/");return e.slice(0,t+1)+"_rels/"+e.slice(t+1)+".rels"}function fn(e){var t=[Xe,gt("Relationships",null,{xmlns:vt.RELS})];return Ce(e["!id"]).forEach((function(r){t[t.length]=gt("Relationship",null,e["!id"][r])})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function cn(e,t,r,n,a,i){if(a||(a={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),t<0)for(t=e["!idx"];e["!id"]["rId"+t];++t);if(e["!idx"]=t+1,a.Id="rId"+t,a.Type=n,a.Target=r,i?a.TargetMode=i:[on.HLINK,on.XPATH,on.XMISS].indexOf(a.Type)>-1&&(a.TargetMode="External"),e["!id"][a.Id])throw new Error("Cannot rewrite rId "+t);return e["!id"][a.Id]=a,e[("/"+a.Target).replace("//","/")]=a,t}function hn(e,t,r){return[' \n',' \n'," \n"].join("")}function un(){return'SheetJS '+n.version+""}var dn=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function pn(e,t,r,n,a){null==a[e]&&null!=t&&""!==t&&(a[e]=t,t=et(t),n[n.length]=r?gt(e,t,r):dt(e,t))}function gn(e,t){var r=t||{},n=[Xe,gt("cp:coreProperties",null,{"xmlns:cp":vt.CORE_PROPS,"xmlns:dc":vt.dc,"xmlns:dcterms":vt.dcterms,"xmlns:dcmitype":vt.dcmitype,"xmlns:xsi":vt.xsi})],a={};if(!e&&!r.Props)return n.join("");e&&(null!=e.CreatedDate&&pn("dcterms:created","string"===typeof e.CreatedDate?e.CreatedDate:mt(e.CreatedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a),null!=e.ModifiedDate&&pn("dcterms:modified","string"===typeof e.ModifiedDate?e.ModifiedDate:mt(e.ModifiedDate,r.WTF),{"xsi:type":"dcterms:W3CDTF"},n,a));for(var i=0;i!=dn.length;++i){var s=dn[i],o=r.Props&&null!=r.Props[s[1]]?r.Props[s[1]]:e?e[s[1]]:null;!0===o?o="1":!1===o?o="0":"number"==typeof o&&(o=String(o)),null!=o&&pn(s[0],o,null,n,a)}return n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}var mn=[["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"]],vn=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function Tn(e){var t=[],r=gt;return e||(e={}),e.Application="SheetJS",t[t.length]=Xe,t[t.length]=gt("Properties",null,{xmlns:vt.EXT_PROPS,"xmlns:vt":vt.vt}),mn.forEach((function(n){if(void 0!==e[n[1]]){var a;switch(n[2]){case"string":a=et(String(e[n[1]]));break;case"bool":a=e[n[1]]?"true":"false"}void 0!==a&&(t[t.length]=r(n[0],a))}})),t[t.length]=r("HeadingPairs",r("vt:vector",r("vt:variant","Worksheets")+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""+et(e)+""})).join(""),{size:e.Worksheets,baseType:"lpstr"})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function wn(e){var t=[Xe,gt("Properties",null,{xmlns:vt.CUST_PROPS,"xmlns:vt":vt.vt})];if(!e)return t.join("");var r=1;return Ce(e).forEach((function(n){++r,t[t.length]=gt("property",function(e,t){switch(typeof e){case"string":var r=gt("vt:lpwstr",et(e));return t&&(r=r.replace(/"/g,"_x0022_")),r;case"number":return gt((0|e)==e?"vt:i4":"vt:r8",et(String(e)));case"boolean":return gt("vt:bool",e?"true":"false")}if(e instanceof Date)return gt("vt:filetime",mt(e));throw new Error("Unable to serialize "+e)}(e[n],!0),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:r,name:et(n)})})),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}var bn={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 En(e,t){var r=rr(4),n=rr(4);switch(r.write_shift(4,80==e?31:e),e){case 3:n.write_shift(-4,t);break;case 5:(n=rr(8)).write_shift(8,t,"f");break;case 11:n.write_shift(4,t?1:0);break;case 64:n=function(e){var t=("string"==typeof e?new Date(Date.parse(e)):e).getTime()/1e3+11644473600,r=t%Math.pow(2,32),n=(t-r)/Math.pow(2,32);n*=1e7;var a=(r*=1e7)/Math.pow(2,32)|0;a>0&&(r%=Math.pow(2,32),n+=a);var i=rr(8);return i.write_shift(4,r),i.write_shift(4,n),i}(t);break;case 31:case 80:for((n=rr(4+2*(t.length+1)+(t.length%2?0:2))).write_shift(4,t.length+1),n.write_shift(0,t,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+t)}return x([r,n])}var yn=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function Sn(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}return-1}function An(e,t,r){var n=rr(8),a=[],i=[],s=8,o=0,l=rr(8),f=rr(8);if(l.write_shift(4,2),l.write_shift(4,1200),f.write_shift(4,1),i.push(l),a.push(f),s+=8+l.length,!t){(f=rr(8)).write_shift(4,0),a.unshift(f);var c=[rr(4)];for(c[0].write_shift(4,e.length),o=0;o-1||vn.indexOf(e[o][0])>-1)&&null!=e[o][1]){var u=e[o][1],d=0;if(t){var p=r[d=+t[e[o][0]]];if("version"==p.p&&"string"==typeof u){var g=u.split(".");u=(+g[0]<<16)+(+g[1]||0)}l=En(p.t,u)}else{var m=Sn(u);-1==m&&(m=31,u=String(u)),l=En(m,u)}i.push(l),(f=rr(8)).write_shift(4,t?d:2+o),a.push(f),s+=8+l.length}var v=8*(i.length+1);for(o=0;o=12?2:1),i="sbcs-cont",s=a;(r&&r.biff>=8&&(a=1200),r&&8!=r.biff)?12==r.biff&&(i="wstr"):e.read_shift(1)&&(i="dbcs-cont");r.biff>=2&&r.biff<=5&&(i="cpstr");var o=n?e.read_shift(n,i):"";return a=s,o}function kn(e){var t=e.t||"",r=rr(3);r.write_shift(2,t.length),r.write_shift(1,1);var n=rr(2*t.length);return n.write_shift(2*t.length,t,"utf16le"),x([r,n])}function In(e,t,r){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")}return 0===e.read_shift(1)?e.read_shift(t,"sbcs-cont"):e.read_shift(t,"dbcs-cont")}function Nn(e,t,r){var n=e.read_shift(r&&2==r.biff?1:2);return 0===n?(e.l++,""):In(e,n,r)}function Ln(e,t,r){if(r.biff>5)return Nn(e,0,r);var n=e.read_shift(1);return 0===n?(e.l++,""):e.read_shift(n,r.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function Fn(e,t,r){return r||(r=rr(3+2*e.length)),r.write_shift(2,e.length),r.write_shift(1,1),r.write_shift(31,e,"utf16le"),r}function Mn(e,t){t||(t=rr(6+2*e.length)),t.write_shift(4,1+e.length);for(var r=0;r-1?31:23;switch(n.charAt(0)){case"#":i=28;break;case".":i&=-3}t.write_shift(4,2),t.write_shift(4,i);var s=[8,6815827,6619237,4849780,83];for(r=0;r-1?n.slice(0,a):n;for(t.write_shift(4,2*(o.length+1)),r=0;r-1?n.slice(a+1):"",t)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),r=0;r8?4:2;return[e.read_shift(n),e.read_shift(n,"i"),e.read_shift(n,"i")]}function Hn(e){var t=e.read_shift(2),r=e.read_shift(2);return{s:{c:e.read_shift(2),r:t},e:{c:e.read_shift(2),r:r}}}function jn(e,t){return t||(t=rr(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 zn(e,t,r){var n=1536,a=16;switch(r.bookType){case"biff8":case"xla":break;case"biff5":n=1280,a=8;break;case"biff4":n=4,a=6;break;case"biff3":n=3,a=6;break;case"biff2":n=2,a=4;break;default:throw new Error("unsupported BIFF version")}var i=rr(a);return i.write_shift(2,n),i.write_shift(2,t),a>4&&i.write_shift(2,29282),a>6&&i.write_shift(2,1997),a>8&&(i.write_shift(2,49161),i.write_shift(2,1),i.write_shift(2,1798),i.write_shift(2,0)),i}function Gn(e,t){var r=!t||t.biff>=8?2:1,n=rr(8+r*e.name.length);n.write_shift(4,e.pos),n.write_shift(1,e.hs||0),n.write_shift(1,e.dt),n.write_shift(1,e.name.length),t.biff>=8&&n.write_shift(1,1),n.write_shift(r*e.name.length,e.name,t.biff<8?"sbcs":"utf16le");var a=n.slice(0,n.l);return a.l=n.l,a}function Vn(e,t,r,n){var a=r&&5==r.biff;n||(n=rr(a?3+t.length:5+2*t.length)),n.write_shift(2,e),n.write_shift(a?1:2,t.length),a||n.write_shift(1,1),n.write_shift((a?1:2)*t.length,t,a?"sbcs":"utf16le");var i=n.length>n.l?n.slice(0,n.l):n;return null==i.l&&(i.l=i.length),i}function Yn(e,t,r,n){var a=r&&5==r.biff;n||(n=rr(a?16:20)),n.write_shift(2,0),e.style?(n.write_shift(2,e.numFmtId||0),n.write_shift(2,65524)):(n.write_shift(2,e.numFmtId||0),n.write_shift(2,t<<4));var i=0;return e.numFmtId>0&&a&&(i|=1024),n.write_shift(4,i),n.write_shift(4,0),a||n.write_shift(4,0),n.write_shift(2,0),n}function $n(e,t,r){if(r.biff<8)return function(e,t,r){3==e[e.l+1]&&e[e.l]++;var n=Dn(e,0,r);return 3==n.charCodeAt(0)?n.slice(1):n}(e,0,r);for(var n=[],a=e.l+t,i=e.read_shift(r.biff>8?4:2);0!==i--;)n.push(Bn(e,r.biff,r));if(e.l!=a)throw new Error("Bad ExternSheet: "+e.l+" != "+a);return n}function Kn(e){var t=rr(24),r=dr(e[0]);t.write_shift(2,r.r),t.write_shift(2,r.r),t.write_shift(2,r.c),t.write_shift(2,r.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),a=0;a<16;++a)t.write_shift(1,parseInt(n[a],16));return x([t,Un(e[1])])}function Xn(e){var t=e[1].Tooltip,r=rr(10+2*(t.length+1));r.write_shift(2,2048);var n=dr(e[0]);r.write_shift(2,n.r),r.write_shift(2,n.r),r.write_shift(2,n.c),r.write_shift(2,n.c);for(var a=0;a=12?4:2,a=e.read_shift(n),i=e.read_shift(n),s=e.read_shift(n),o=e.read_shift(n),l=e.read_shift(2);2==n&&(e.l+=2);var f={s:a,e:i,w:s,ixfe:o,flags:l};return(r.biff>=5||!r.biff)&&(f.level=l>>8&7),f}var Zn=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=Re({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 n=r||{};n.dateNF||(n.dateNF="yyyymmdd");var a=yr(function(t,r){var n=[],a=E(1);switch(r.type){case"base64":a=S(T(t));break;case"binary":a=S(t);break;case"buffer":case"array":a=t}er(a,0);var i=a.read_shift(1),s=!!(136&i),o=!1,l=!1;switch(i){case 2:case 3:case 131:case 139:case 245:break;case 48:case 49:o=!0,s=!0;break;case 140:l=!0;break;default:throw new Error("DBF Unsupported Version: "+i.toString(16))}var f=0,c=521;2==i&&(f=a.read_shift(2)),a.l+=3,2!=i&&(f=a.read_shift(4)),f>1048576&&(f=1e6),2!=i&&(c=a.read_shift(2));var h=a.read_shift(2),d=r.codepage||1252;2!=i&&(a.l+=16,a.read_shift(1),0!==a[a.l]&&(d=e[a[a.l]]),a.l+=1,a.l+=2),l&&(a.l+=36);for(var p=[],g={},m=Math.min(a.length,2==i?521:c-10-(o?264:0)),v=l?32:11;a.l0;)if(42!==a[a.l])for(++a.l,n[++w]=[],b=0,b=0;b!=p.length;++b){var y=a.slice(a.l,a.l+p[b].len);a.l+=p[b].len,er(y,0);var A=u.utils.decode(d,y);switch(p[b].type){case"C":A.trim().length&&(n[w][b]=A.replace(/\s+$/,""));break;case"D":8===A.length?n[w][b]=new Date(+A.slice(0,4),+A.slice(4,6)-1,+A.slice(6,8)):n[w][b]=A;break;case"F":n[w][b]=parseFloat(A.trim());break;case"+":case"I":n[w][b]=l?2147483648^y.read_shift(-4,"i"):y.read_shift(4,"i");break;case"L":switch(A.trim().toUpperCase()){case"Y":case"T":n[w][b]=!0;break;case"N":case"F":n[w][b]=!1;break;case"":case"?":break;default:throw new Error("DBF Unrecognized L:|"+A+"|")}break;case"M":if(!s)throw new Error("DBF Unexpected MEMO for type "+i.toString(16));n[w][b]="##MEMO##"+(l?parseInt(A.trim(),10):y.read_shift(4));break;case"N":(A=A.replace(/\u0000/g,"").trim())&&"."!=A&&(n[w][b]=+A||0);break;case"@":n[w][b]=new Date(y.read_shift(-8,"f")-621356832e5);break;case"T":n[w][b]=new Date(864e5*(y.read_shift(4)-2440588)+y.read_shift(4));break;case"Y":n[w][b]=y.read_shift(4,"i")/1e4+y.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":n[w][b]=-y.read_shift(-8,"f");break;case"B":if(o&&8==p[b].len){n[w][b]=y.read_shift(8,"f");break}case"G":case"P":y.l+=p[b].len;break;case"0":if("_NullFlags"===p[b].name)break;default:throw new Error("DBF Unsupported data type "+p[b].type)}}else a.l+=h;if(2!=i&&a.l=0&&f(+a.codepage),"string"==a.type)throw new Error("Cannot write DBF to JS string");var s=nr(),o=mo(e,{header:1,raw:!0,cellDates:!0}),l=o[0],c=o.slice(1),h=e["!cols"]||[],u=0,d=0,p=0,g=1;for(u=0;u250&&(y=250),"C"==(E=((h[u]||{}).DBF||{}).type)&&h[u].DBF.len>y&&(y=h[u].DBF.len),"B"==b&&"N"==E&&(b="N",w[u]=h[u].DBF.dec,y=h[u].DBF.len),T[u]="C"==b||"N"==E?y:n[b]||0,g+=T[u],v[u]=b}else v[u]="?"}var A=s.next(32);for(A.write_shift(4,318902576),A.write_shift(4,c.length),A.write_shift(2,296+32*p),A.write_shift(2,g),u=0;u<4;++u)A.write_shift(4,0);for(A.write_shift(4,0|(+t[i]||3)<<8),u=0,d=0;u":190,"?":191,"{":223},t=new RegExp("\x1bN("+Ce(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm"),r=function(t,r){var n=e[r];return"number"==typeof n?p(n):n},n=function(e,t,r){var n=t.charCodeAt(0)-32<<4|r.charCodeAt(0)-48;return 59==n?e:p(n)};function a(e,a){var i,s=e.split(/[\n\r]+/),o=-1,l=-1,c=0,h=0,d=[],p=[],g=null,m={},v=[],T=[],w=[],b=0;for(+a.codepage>=0&&f(+a.codepage);c!==s.length;++c){b=0;var E,y=s[c].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(t,r),S=y.replace(/;;/g,"\0").split(";").map((function(e){return e.replace(/\u0000/g,";")})),A=S[0];if(y.length>0)switch(A){case"ID":case"E":case"B":case"O":case"W":break;case"P":"P"==S[1].charAt(0)&&p.push(y.slice(3).replace(/;;/g,";"));break;case"C":var _=!1,x=!1,C=!1,O=!1,R=-1,P=-1;for(h=1;h-1&&d[R][P];if(!k||!k[1])throw new Error("SYLK shared formula cannot find base");d[o][l][1]=$a(k[1],{r:o-R,c:l-P})}break;case"F":var I=0;for(h=1;h0?(v[o].hpt=b,v[o].hpx=wa(b)):0===b&&(v[o].hidden=!0);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+y)}I<1&&(g=null);break;default:if(a&&a.WTF)throw new Error("SYLK bad record "+y)}}return v.length>0&&(m["!rows"]=v),T.length>0&&(m["!cols"]=T),a&&a.sheetRows&&(d=d.slice(0,a.sheetRows)),[d,m]}function i(e,t){var r=function(e,t){switch(t.type){case"base64":return a(T(e),t);case"binary":return a(e,t);case"buffer":return a(w&&Buffer.isBuffer(e)?e.toString("binary"):_(e),t);case"array":return a(He(e),t)}throw new Error("Unrecognized type "+t.type)}(e,t),n=r[0],i=r[1],s=yr(n,t);return Ce(i).forEach((function(e){s[e]=i[e]})),s}function s(e,t,r,n){var a="C;Y"+(r+1)+";X"+(n+1)+";K";switch(e.t){case"n":a+=e.v||0,e.f&&!e.F&&(a+=";E"+Ya(e.f,{r:r,c:n}));break;case"b":a+=e.v?"TRUE":"FALSE";break;case"e":a+=e.w||e.v;break;case"d":a+='"'+(e.w||e.v)+'"';break;case"s":a+='"'+e.v.replace(/"/g,"").replace(/;/g,";;")+'"'}return a}return e["|"]=254,{to_workbook:function(e,t){return br(i(e,t),t)},to_sheet:i,from_sheet:function(e,t){var r,n,a=["ID;PWXL;N;E"],i=[],o=vr(e["!ref"]),l=Array.isArray(e),f="\r\n";a.push("P;PGeneral"),a.push("F;P0;DG0G8;M255"),e["!cols"]&&(n=a,e["!cols"].forEach((function(e,t){var r="F;W"+(t+1)+" "+(t+1)+" ";e.hidden?r+="0":("number"!=typeof e.width||e.wpx||(e.wpx=da(e.width)),"number"!=typeof e.wpx||e.wch||(e.wch=pa(e.wpx)),"number"==typeof e.wch&&(r+=Math.round(e.wch)))," "!=r.charAt(r.length-1)&&n.push(r)}))),e["!rows"]&&function(e,t){t.forEach((function(t,r){var n="F;";t.hidden?n+="M0;":t.hpt?n+="M"+20*t.hpt+";":t.hpx&&(n+="M"+20*Ta(t.hpx)+";"),n.length>2&&e.push(n+"R"+(r+1))}))}(a,e["!rows"]),a.push("B;Y"+(o.e.r-o.s.r+1)+";X"+(o.e.c-o.s.c+1)+";D"+[o.s.c,o.s.r,o.e.c,o.e.r].join(" "));for(var c=o.s.r;c<=o.e.r;++c)for(var h=o.s.c;h<=o.e.c;++h){var u=pr({r:c,c:h});(r=l?(e[c]||[])[h]:e[u])&&(null!=r.v||r.f&&!r.F)&&i.push(s(r,0,c,h))}return a.join(f)+f+i.join(f)+f+"E"+f}}}(),Qn=function(){function e(e,t){for(var r=e.split("\n"),n=-1,a=-1,i=0,s=[];i!==r.length;++i)if("BOT"!==r[i].trim()){if(!(n<0)){for(var o=r[i].trim().split(","),l=o[0],f=o[1],c=r[++i]||"";1&(c.match(/["]/g)||[]).length&&i=0?o=f:a=f}})),l>=0&&-1==o&&a>=0&&(o=a,a=-1);var f=(""+(n>=0?n:(new Date).getFullYear())).slice(-4)+"-"+("00"+(a>=1?a:1)).slice(-2)+"-"+("00"+(i>=1?i:1)).slice(-2);7==f.length&&(f="0"+f),8==f.length&&(f="20"+f);var c=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(l>=0?l:0)).slice(-2);return-1==s&&-1==o&&-1==l?f:-1==n&&-1==a&&-1==i?c:f+"T"+c}(0,r.dateNF,t.match(v)||[]),a=1),r.cellDates?(n.t="d",n.v=Be(t,a)):(n.t="n",n.v=ke(Be(t,a))),!1!==r.cellText&&(n.w=ve(n.z,n.v instanceof Date?ke(n.v):n.v)),r.cellNF||delete n.z}else n.t="s",n.v=t;else n.t="n",!1!==r.cellText&&(n.w=t),n.v=f;if("z"==n.t||(r.dense?(i[o]||(i[o]=[]),i[o][l]=n):i[pr({c:l,r:o})]=n),c=h+1,m=e.charCodeAt(c),s.e.c0&&T(),i["!ref"]=mr(s),i}function i(t,r){return r&&r.PRN?r.FS||"sep="==t.slice(0,4)||t.indexOf("\t")>=0||t.indexOf(",")>=0||t.indexOf(";")>=0?a(t,r):yr(function(t,r){var n=r||{},a=[];if(!t||0===t.length)return a;for(var i=t.split(/[\r\n]/),s=i.length-1;s>=0&&0===i[s].length;)--s;for(var o=10,l=0,f=0;f<=s;++f)-1==(l=i[f].indexOf(" "))?l=i[f].length:l++,o=Math.max(o,l);for(f=0;f<=s;++f){a[f]=[];var c=0;for(e(i[f].slice(0,o).trim(),a,f,c,n),c=1;c<=(i[f].length-o)/10+1;++c)e(i[f].slice(o+10*(c-1),o+10*c).trim(),a,f,c,n)}return n.sheetRows&&(a=a.slice(0,n.sheetRows)),a}(t,r),r):a(t,r)}function s(e,t){var r="",n="string"==t.type?[0,0,0,0]:so(e,t);switch(t.type){case"base64":r=T(e);break;case"binary":case"string":r=e;break;case"buffer":r=65001==t.codepage?e.toString("utf8"):t.codepage&&"undefined"!==typeof u?u.utils.decode(t.codepage,e):w&&Buffer.isBuffer(e)?e.toString("binary"):_(e);break;case"array":r=He(e);break;default:throw new Error("Unrecognized type "+t.type)}return 239==n[0]&&187==n[1]&&191==n[2]?r=ft(r.slice(3)):"string"!=t.type&&"buffer"!=t.type&&65001==t.codepage?r=ft(r):"binary"==t.type&&"undefined"!==typeof u&&t.codepage&&(r=u.utils.decode(t.codepage,u.utils.encode(28591,r))),"socialcalc:version:"==r.slice(0,19)?ea.to_sheet("string"==t.type?r:ft(r),t):i(r,t)}return{to_workbook:function(e,t){return br(s(e,t),t)},to_sheet:s,from_sheet:function(e){for(var t,r=[],n=vr(e["!ref"]),a=Array.isArray(e),i=n.s.r;i<=n.e.r;++i){for(var s=[],o=n.s.c;o<=n.e.c;++o){var l=pr({r:i,c:o});if((t=a?(e[i]||[])[o]:e[l])&&null!=t.v){for(var f=(t.w||(wr(t),t.w)||"").slice(0,10);f.length<10;)f+=" ";s.push(f+(0===o?" ":""))}else s.push(" ")}r.push(s.join(""))}return r.join("\n")}}}();var ra=function(){function e(e,t,r){if(e){er(e,e.l||0);for(var n=r.Enum||b;e.l=16&&5==t[14]&&108===t[15])throw new Error("Unsupported Works 3 for Mac file");if(2==t[2])n.Enum=b,e(t,(function(e,t,r){switch(r){case 0:n.vers=e,e>=4096&&(n.qpro=!0);break;case 6:h=e;break;case 204:e&&(s=e);break;case 222:s=e;break;case 15:case 51:n.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=n.dateNF||U[14],n.cellDates&&(e[1].t="d",e[1].v=Fe(e[1].v))),n.qpro&&e[3]>o&&(a["!ref"]=mr(h),l[i]=a,f.push(i),a=n.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],i=s||"Sheet"+(o+1),s="");var c=n.dense?(a[e[0].r]||[])[e[0].c]:a[pr(e[0])];if(c){c.t=e[1].t,c.v=e[1].v,null!=e[1].z&&(c.z=e[1].z),null!=e[1].f&&(c.f=e[1].f);break}n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[pr(e[0])]=e[1]}}),n);else{if(26!=t[2]&&14!=t[2])throw new Error("Unrecognized LOTUS BOF "+t[2]);n.Enum=E,14==t[2]&&(n.qpro=!0,t.l=0),e(t,(function(e,t,r){switch(r){case 204:i=e;break;case 22:e[1].v=e[1].v.slice(1);case 23:case 24:case 25:case 37:case 39:case 40:if(e[3]>o&&(a["!ref"]=mr(h),l[i]=a,f.push(i),a=n.dense?[]:{},h={s:{r:0,c:0},e:{r:0,c:0}},o=e[3],i="Sheet"+(o+1)),u>0&&e[0].r>=u)break;n.dense?(a[e[0].r]||(a[e[0].r]=[]),a[e[0].r][e[0].c]=e[1]):a[pr(e[0])]=e[1],h.e.c=128?95:i)}return n.write_shift(1,0),n}function i(e,t,r){var n=rr(7);return n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(2,r,"i"),n}function s(e,t,r){var n=rr(13);return n.write_shift(1,255),n.write_shift(2,t),n.write_shift(2,e),n.write_shift(8,r,"f"),n}function o(e,t,r){var n=32768&t;return t=(n?e:0)+((t&=-32769)>=8192?t-16384:t),(n?"":"$")+(r?ur(t):cr(t))}var l={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]},c=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function h(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 u(e,t,r,n){var a=rr(6+n.length);a.write_shift(2,e),a.write_shift(1,r),a.write_shift(1,t),a.write_shift(1,39);for(var i=0;i=128?95:s)}return a.write_shift(1,0),a}function d(e,t){var r=h(e),n=e.read_shift(4),a=e.read_shift(4),i=e.read_shift(2);if(65535==i)return 0===n&&3221225472===a?(r[1].t="e",r[1].v=15):0===n&&3489660928===a?(r[1].t="e",r[1].v=42):r[1].v=0,r;var s=32768&i;return i=(32767&i)-16446,r[1].v=(1-2*s)*(a*Math.pow(2,i+32)+n*Math.pow(2,i)),r}function p(e,t,r,n){var a=rr(14);if(a.write_shift(2,e),a.write_shift(1,r),a.write_shift(1,t),0==n)return a.write_shift(4,0),a.write_shift(4,0),a.write_shift(2,65535),a;var i,s=0,o=0,l=0;return n<0&&(s=1,n=-n),o=0|Math.log2(n),0==(2147483648&(l=(n/=Math.pow(2,o-31))>>>0))&&(++o,l=(n/=2)>>>0),n-=l,l|=2147483648,l>>>=0,i=(n*=Math.pow(2,32))>>>0,a.write_shift(4,i),a.write_shift(4,l),o+=16383+(s?32768:0),a.write_shift(2,o),a}function m(e,t){var r=h(e),n=e.read_shift(8,"f");return r[1].v=n,r}function v(e,t){return 0==e[e.l+t-1]?e.read_shift(t,"cstr"):""}function w(e,t){var r=rr(5+e.length);r.write_shift(2,14e3),r.write_shift(2,t);for(var n=0;n127?95:a}return r[r.l++]=0,r}var b={0:{n:"BOF",f:On},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f:function(e,t,r){var n={s:{c:0,r:0},e:{c:0,r:0}};return 8==t&&r.qpro?(n.s.c=e.read_shift(1),e.l++,n.s.r=e.read_shift(2),n.e.c=e.read_shift(1),e.l++,n.e.r=e.read_shift(2),n):(n.s.c=e.read_shift(2),n.s.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),n.e.c=e.read_shift(2),n.e.r=e.read_shift(2),12==t&&r.qpro&&(e.l+=2),65535==n.s.c&&(n.s.c=n.e.c=n.s.r=n.e.r=0),n)}},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e.read_shift(2,"i"),a}},14:{n:"NUMBER",f:function(e,t,n){var a=r(e,0,n);return a[1].v=e.read_shift(8,"f"),a}},15:{n:"LABEL",f:n},16:{n:"FORMULA",f:function(e,t,n){var a=e.l+t,i=r(e,0,n);if(i[1].v=e.read_shift(8,"f"),n.qpro)e.l=a;else{var s=e.read_shift(2);!function(e,t){er(e,0);var r=[],n=0,a="",i="",s="",f="";for(;e.lr.length)return void console.error("WK1 bad formula parse 0x"+h.toString(16)+":|"+r.join("|")+"|");var g=r.slice(-n);r.length-=n,r.push(l[h][0]+"("+g.join(",")+")")}}}1==r.length?t[1].f=""+r[0]:console.error("WK1 bad formula parse |"+r.join("|")+"|")}(e.slice(e.l,e.l+s),i),e.l+=s}return i}},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:n},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:v},222:{n:"SHEETNAMELP",f:function(e,t){var r=e[e.l++];r>t-1&&(r=t-1);for(var n="";n.length>1;if(1&r[1].v)switch(7&n){case 0:n=5e3*(n>>3);break;case 1:n=500*(n>>3);break;case 2:n=(n>>3)/20;break;case 3:n=(n>>3)/200;break;case 4:n=(n>>3)/2e3;break;case 5:n=(n>>3)/2e4;break;case 6:n=(n>>3)/16;break;case 7:n=(n>>3)/64}return r[1].v=n,r}},25:{n:"FORMULA19",f:function(e,t){var r=d(e);return e.l+=t-14,r}},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:function(e,t){for(var r={},n=e.l+t;e.l>6,r}},38:{n:"??"},39:{n:"NUMBER27",f:m},40:{n:"FORMULA28",f:function(e,t){var r=m(e);return e.l+=t-10,r}},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:v},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:function(e,t,r){if(r.qpro&&!(t<21)){var n=e.read_shift(1);return e.l+=17,e.l+=1,e.l+=2,[n,e.read_shift(t-21,"cstr")]}}},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:function(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 n=nr(),o=vr(e["!ref"]),l=Array.isArray(e),c=[];Ts(n,0,function(e){var t=rr(2);return t.write_shift(2,e),t}(1030)),Ts(n,6,function(e){var t=rr(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}(o));for(var h=Math.min(o.e.r,8191),u=o.s.r;u<=h;++u)for(var d=cr(u),p=o.s.c;p<=o.e.c;++p){u===o.s.r&&(c[p]=ur(p));var g=c[p]+d,m=l?(e[u]||[])[p]:e[g];if(m&&"z"!=m.t)if("n"==m.t)(0|m.v)==m.v&&m.v>=-32768&&m.v<=32767?Ts(n,13,i(u,p,m.v)):Ts(n,14,s(u,p,m.v));else Ts(n,15,a(u,p,wr(m).slice(0,239)))}return Ts(n,1),n.end()},book_to_wk3:function(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 n=nr();Ts(n,0,function(e){var t=rr(26);t.write_shift(2,4096),t.write_shift(2,4),t.write_shift(4,0);for(var r=0,n=0,a=0,i=0;i8191&&(r=8191);return t.write_shift(2,r),t.write_shift(1,a),t.write_shift(1,n),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}(e));for(var a=0,i=0;a";a.r?i+=a.r:(i+=""+et(a.t)+""),i+="",r[r.length]=i}return r.length>2&&(r[r.length]="",r[1]=r[1].replace("/>",">")),r.join("")}var ia=function(e,t){var r=!1;return null==t&&(r=!0,t=rr(15+4*e.t.length)),t.write_shift(1,0),_r(e.t,t),r?t.slice(0,t.l):t};function sa(e){var t=nr();ar(t,159,function(e,t){return t||(t=rr(8)),t.write_shift(4,e.Count),t.write_shift(4,e.Unique),t}(e));for(var r=0;r=0;--r)n=((0===(16384&n)?0:1)|n<<1&32767)^t[r];return 52811^n}var fa=function(){function e(e,r){switch(r.type){case"base64":return t(T(e),r);case"binary":return t(e,r);case"buffer":return t(w&&Buffer.isBuffer(e)?e.toString("binary"):_(e),r);case"array":return t(He(e),r)}throw new Error("Unrecognized type "+r.type)}function t(e,t){var r=(t||{}).dense?[]:{},n=e.match(/\\trowd.*?\\row\b/g);if(!n.length)throw new Error("RTF missing table");var a={s:{c:0,r:0},e:{c:0,r:n.length-1}};return n.forEach((function(e,t){Array.isArray(r)&&(r[t]=[]);for(var n,i=/\\\w+\b/g,s=0,o=-1;n=i.exec(e);){if("\\cell"===n[0]){var l=e.slice(s,i.lastIndex-n[0].length);if(" "==l[0]&&(l=l.slice(1)),++o,l.length){var f={v:l,t:"s"};Array.isArray(r)?r[t][o]=f:r[pr({r:t,c:o})]=f}}s=i.lastIndex}o>a.e.c&&(a.e.c=o)})),r["!ref"]=mr(a),r}return{to_workbook:function(t,r){return br(e(t,r),r)},to_sheet:e,from_sheet:function(e){for(var t,r=["{\\rtf1\\ansi"],n=vr(e["!ref"]),a=Array.isArray(e),i=n.s.r;i<=n.e.r;++i){r.push("\\trowd\\trautofit1");for(var s=n.s.c;s<=n.e.c;++s)r.push("\\cellx"+(s+1));for(r.push("\\pard\\intbl"),s=n.s.c;s<=n.e.c;++s){var o=pr({r:i,c:s});(t=a?(e[i]||[])[s]:e[o])&&(null!=t.v||t.f&&!t.F)&&(r.push(" "+(t.w||(wr(t),t.w))),r.push("\\cell"))}r.push("\\pard\\intbl\\row")}return r.join("")+"}"}}}();function ca(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)}var ha=6,ua=ha;function da(e){return Math.floor((e+Math.round(128/ua)/256)*ua)}function pa(e){return Math.floor((e-5)/ua*100+.5)/100}function ga(e){return Math.round((e*ua+5)/ua*256)/256}function ma(e){e.width?(e.wpx=da(e.width),e.wch=pa(e.wpx),e.MDW=ua):e.wpx?(e.wch=pa(e.wpx),e.width=ga(e.wch),e.MDW=ua):"number"==typeof e.wch&&(e.width=ga(e.wch),e.wpx=da(e.width),e.MDW=ua),e.customWidth&&delete e.customWidth}var va=96;function Ta(e){return 96*e/va}function wa(e){return e*va/96}function ba(e,t){var r,n=[Xe,gt("styleSheet",null,{xmlns:Tt[0],"xmlns:vt":vt.vt})];return e.SSF&&null!=(r=function(e){var t=[""];return[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=e[n]&&(t[t.length]=gt("numFmt",null,{numFmtId:n,formatCode:et(e[n])}))})),1===t.length?"":(t[t.length]="",t[0]=gt("numFmts",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(e.SSF))&&(n[n.length]=r),n[n.length]='',n[n.length]='',n[n.length]='',n[n.length]='',(r=function(e){var t=[];return t[t.length]=gt("cellXfs",null),e.forEach((function(e){t[t.length]=gt("xf",null,e)})),t[t.length]="",2===t.length?"":(t[0]=gt("cellXfs",null,{count:t.length-2}).replace("/>",">"),t.join(""))}(t.cellXfs))&&(n[n.length]=r),n[n.length]='',n[n.length]='',n[n.length]='',n.length>2&&(n[n.length]="",n[1]=n[1].replace("/>",">")),n.join("")}function Ea(e,t,r){r||(r=rr(6+4*t.length)),r.write_shift(2,e),_r(t,r);var n=r.length>r.l?r.slice(0,r.l):r;return null==r.l&&(r.l=r.length),n}function ya(e,t){t||(t=rr(153)),t.write_shift(2,20*e.sz),function(e,t){t||(t=rr(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);t.write_shift(1,r),t.write_shift(1,0)}(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),Kr(e.color,t);var n=0;return"major"==e.scheme&&(n=1),"minor"==e.scheme&&(n=2),t.write_shift(1,n),_r(e.name,t),t.length>t.l?t.slice(0,t.l):t}var Sa,Aa=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","darkVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],_a=tr;function xa(e,t){t||(t=rr(84)),Sa||(Sa=Re(Aa));var r=Sa[e.patternType];null==r&&(r=40),t.write_shift(4,r);var n=0;if(40!=r)for(Kr({auto:1},t),Kr({auto:1},t);n<12;++n)t.write_shift(4,0);else{for(;n<4;++n)t.write_shift(4,0);for(;n<12;++n)t.write_shift(4,0)}return t.length>t.l?t.slice(0,t.l):t}function Ca(e,t,r){r||(r=rr(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);return r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(1,0),r}function Oa(e,t){return t||(t=rr(10)),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(4,0),t}var Ra=tr;function Pa(e){var t;ar(e,613,Sr(1)),ar(e,46,(t||(t=rr(51)),t.write_shift(1,0),Oa(0,t),Oa(0,t),Oa(0,t),Oa(0,t),Oa(0,t),t.length>t.l?t.slice(0,t.l):t)),ar(e,614)}function Da(e){var t,r;ar(e,619,Sr(1)),ar(e,48,(t={xfId:0,builtinId:0,name:"Normal"},r||(r=rr(52)),r.write_shift(4,t.xfId),r.write_shift(2,1),r.write_shift(1,+t.builtinId),r.write_shift(1,0),Mr(t.name||"",r),r.length>r.l?r.slice(0,r.l):r)),ar(e,620)}function ka(e){ar(e,508,function(e,t,r){var n=rr(2052);return n.write_shift(4,e),Mr(t,n),Mr(r,n),n.length>n.l?n.slice(0,n.l):n}(0,"TableStyleMedium9","PivotStyleMedium4")),ar(e,509)}function Ia(e,t){var r=nr();return ar(r,278),function(e,t){if(t){var r=0;[[5,8],[23,26],[41,44],[50,392]].forEach((function(e){for(var n=e[0];n<=e[1];++n)null!=t[n]&&++r})),0!=r&&(ar(e,615,Sr(r)),[[5,8],[23,26],[41,44],[50,392]].forEach((function(r){for(var n=r[0];n<=r[1];++n)null!=t[n]&&ar(e,44,Ea(n,t[n]))})),ar(e,616))}}(r,e.SSF),function(e){ar(e,611,Sr(1)),ar(e,43,ya({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),ar(e,612)}(r),function(e){ar(e,603,Sr(2)),ar(e,45,xa({patternType:"none"})),ar(e,45,xa({patternType:"gray125"})),ar(e,604)}(r),Pa(r),function(e){ar(e,626,Sr(1)),ar(e,47,Ca({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),ar(e,627)}(r),function(e,t){ar(e,617,Sr(t.length)),t.forEach((function(t){ar(e,47,Ca(t,0))})),ar(e,618)}(r,t.cellXfs),Da(r),function(e){ar(e,505,Sr(0)),ar(e,506)}(r),ka(r),ar(r,279),r.end()}function Na(e,t){if(t&&t.themeXLSX)return t.themeXLSX;if(e&&"string"==typeof e.raw)return e.raw;var r=[Xe];return r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]='',r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]='',r[r.length]="",r[r.length]="",r[r.length]="",r[r.length]="",r.join("")}function La(){var e=nr();return ar(e,332),ar(e,334,Sr(1)),ar(e,335,function(e){var t=rr(12+2*e.name.length);return t.write_shift(4,e.flags),t.write_shift(4,e.version),_r(e.name,t),t.slice(0,t.l)}({name:"XLDAPR",version:12e4,flags:3496657072})),ar(e,336),ar(e,339,function(e,t){var r=rr(8+2*t.length);return r.write_shift(4,e),_r(t,r),r.slice(0,r.l)}(1,"XLDAPR")),ar(e,52),ar(e,35,Sr(514)),ar(e,4096,Sr(0)),ar(e,4097,Rn(1)),ar(e,36),ar(e,53),ar(e,340),ar(e,337,function(e,t){var r=rr(8);return r.write_shift(4,e),r.write_shift(4,t?1:0),r}(1,!0)),ar(e,51,function(e){var t=rr(4+8*e.length);t.write_shift(4,e.length);for(var r=0;r\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n'),e.join("")}var Ma=1024;function Ua(e,t){for(var r=[21600,21600],n=["m0,0l0",r[1],r[0],r[1],r[0],"0xe"].join(","),a=[gt("xml",null,{"xmlns:v":wt.v,"xmlns:o":wt.o,"xmlns:x":wt.x,"xmlns:mv":wt.mv}).replace(/\/>/,">"),gt("o:shapelayout",gt("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"}),gt("v:shapetype",[gt("v:stroke",null,{joinstyle:"miter"}),gt("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202","o:spt":202,coordsize:r.join(","),path:n})];Ma<1e3*e;)Ma+=1e3;return t.forEach((function(e){var t=dr(e[0]),r={color2:"#BEFF82",type:"gradient"};"gradient"==r.type&&(r.angle="-180");var n="gradient"==r.type?gt("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,i=gt("v:fill",n,r);++Ma,a=a.concat(["",i,gt("v:shadow",null,{on:"t",obscured:"t"}),gt("v:path",null,{"o:connecttype":"none"}),'','',"","",dt("x:Anchor",[t.c+1,0,t.r+1,0,t.c+3,20,t.r+5,20].join(",")),dt("x:AutoFill","False"),dt("x:Row",String(t.r)),dt("x:Column",String(t.c)),e[1].hidden?"":"","",""])})),a.push(""),a.join("")}function Wa(e){var t=[Xe,gt("comments",null,{xmlns:Tt[0]})],r=[];return t.push(""),e.forEach((function(e){e[1].forEach((function(e){var n=et(e.a);-1==r.indexOf(n)&&(r.push(n),t.push(""+n+"")),e.T&&e.ID&&-1==r.indexOf("tc="+e.ID)&&(r.push("tc="+e.ID),t.push("tc="+e.ID+""))}))})),0==r.length&&(r.push("SheetJ5"),t.push("SheetJ5")),t.push(""),t.push(""),e.forEach((function(e){var n=0,a=[];if(e[1][0]&&e[1][0].T&&e[1][0].ID?n=r.indexOf("tc="+e[1][0].ID):e[1].forEach((function(e){e.a&&(n=r.indexOf(et(e.a))),a.push(e.t||"")})),t.push(''),a.length<=1)t.push(dt("t",et(a[0]||"")));else{for(var i="Comment:\n "+a[0]+"\n",s=1;s")})),t.push(""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function Ba(e,t,r){var n=[Xe,gt("ThreadedComments",null,{xmlns:vt.TCMNT}).replace(/[\/]>/,">")];return e.forEach((function(e){var a="";(e[1]||[]).forEach((function(i,s){if(i.T){i.a&&-1==t.indexOf(i.a)&&t.push(i.a);var o={ref:e[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+r.tcid++).slice(-12)+"}"};0==s?a=o.id:o.parentId=a,i.ID=o.id,i.a&&(o.personId="{54EE7950-7262-4200-6969-"+("000000000000"+t.indexOf(i.a)).slice(-12)+"}"),n.push(gt("threadedComment",dt("text",i.t||""),o))}else delete i.ID}))})),n.push(""),n.join("")}var Ha=Ar;function ja(e){var t=nr(),r=[];return ar(t,628),ar(t,630),e.forEach((function(e){e[1].forEach((function(e){r.indexOf(e.a)>-1||(r.push(e.a.slice(0,54)),ar(t,632,function(e){return _r(e.slice(0,54))}(e.a)))}))})),ar(t,631),ar(t,633),e.forEach((function(e){e[1].forEach((function(n){n.iauthor=r.indexOf(n.a);var a={s:dr(e[0]),e:dr(e[0])};ar(t,635,function(e,t){return null==t&&(t=rr(36)),t.write_shift(4,e[1].iauthor),Vr(e[0],t),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t}([a,n])),n.t&&n.t.length>0&&ar(t,637,Rr(n)),ar(t,636),delete n.iauthor}))})),ar(t,634),ar(t,629),t.end()}var za=["xlsb","xlsm","xlam","biff8","xla"];var Ga=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,n,a){var i=!1,s=!1;0==n.length?s=!0:"["==n.charAt(0)&&(s=!0,n=n.slice(1,-1)),0==a.length?i=!0:"["==a.charAt(0)&&(i=!0,a=a.slice(1,-1));var o=n.length>0?0|parseInt(n,10):0,l=a.length>0?0|parseInt(a,10):0;return i?l+=t.c:--l,s?o+=t.r:--o,r+(i?"":"$")+ur(l)+(s?"":"$")+cr(o)}return function(n,a){return t=a,n.replace(e,r)}}(),Va=/(^|[^._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,Ya=function(){return function(e,t){return e.replace(Va,(function(e,r,n,a,i,s){var o=hr(a)-(n?0:t.c),l=fr(s)-(i?0:t.r);return r+"R"+(0==l?"":i?l+1:"["+l+"]")+"C"+(0==o?"":n?o+1:"["+o+"]")}))}}();function $a(e,t){return e.replace(Va,(function(e,r,n,a,i,s){return r+("$"==n?n+a:ur(hr(a)+t.c))+("$"==i?i+s:cr(fr(s)+t.r))}))}function Ka(e){e.l+=1}function Xa(e,t){var r=e.read_shift(1==t?1:2);return[16383&r,r>>14&1,r>>15&1]}function Ja(e,t,r){var n=2;if(r){if(r.biff>=2&&r.biff<=5)return Za(e);12==r.biff&&(n=4)}var a=e.read_shift(n),i=e.read_shift(n),s=Xa(e,2),o=Xa(e,2);return{s:{r:a,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:o[0],cRel:o[1],rRel:o[2]}}}function Za(e){var t=Xa(e,2),r=Xa(e,2),n=e.read_shift(1),a=e.read_shift(1);return{s:{r:t[0],c:n,cRel:t[1],rRel:t[2]},e:{r:r[0],c:a,cRel:r[1],rRel:r[2]}}}function qa(e,t,r){if(r&&r.biff>=2&&r.biff<=5)return function(e){var t=Xa(e,2),r=e.read_shift(1);return{r:t[0],c:r,cRel:t[1],rRel:t[2]}}(e);var n=e.read_shift(r&&12==r.biff?4:2),a=Xa(e,2);return{r:n,c:a[0],cRel:a[1],rRel:a[2]}}function Qa(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 ei(e){var t=1&e[e.l+1];return e.l+=4,[t,1]}function ti(e){return[e.read_shift(1),e.read_shift(1)]}function ri(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}switch(r[0]){case 4:r[1]=xn(e,1)?"TRUE":"FALSE",12!=t&&(e.l+=7);break;case 37:case 16:r[1]=rn[e[e.l]],e.l+=12==t?4:8;break;case 0:e.l+=8;break;case 1:r[1]=Yr(e);break;case 2:r[1]=Ln(e,0,{biff:t>0&&t<8?2:t});break;default:throw new Error("Bad SerAr: "+r[0])}return r}function ni(e,t,r){for(var n=e.read_shift(12==r.biff?4:2),a=[],i=0;i!=n;++i)a.push((12==r.biff?Gr:Hn)(e,8));return a}function ai(e,t,r){var n=0,a=0;12==r.biff?(n=e.read_shift(4),a=e.read_shift(4)):(a=1+e.read_shift(1),n=1+e.read_shift(2)),r.biff>=2&&r.biff<8&&(--n,0==--a&&(a=256));for(var i=0,s=[];i!=n&&(s[i]=[]);++i)for(var o=0;o!=a;++o)s[i][o]=ri(e,r.biff);return s}function ii(e,t,r){return e.l+=2,[Qa(e)]}function si(e){return e.l+=6,[]}function oi(e){return e.l+=2,[On(e),1&e.read_shift(2)]}var li=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];var fi={1:{n:"PtgExp",f:function(e,t,r){return e.l++,r&&12==r.biff?[e.read_shift(4,"i"),0]:[e.read_shift(2),e.read_shift(r&&2==r.biff?1:2)]}},2:{n:"PtgTbl",f:tr},3:{n:"PtgAdd",f:Ka},4:{n:"PtgSub",f:Ka},5:{n:"PtgMul",f:Ka},6:{n:"PtgDiv",f:Ka},7:{n:"PtgPower",f:Ka},8:{n:"PtgConcat",f:Ka},9:{n:"PtgLt",f:Ka},10:{n:"PtgLe",f:Ka},11:{n:"PtgEq",f:Ka},12:{n:"PtgGe",f:Ka},13:{n:"PtgGt",f:Ka},14:{n:"PtgNe",f:Ka},15:{n:"PtgIsect",f:Ka},16:{n:"PtgUnion",f:Ka},17:{n:"PtgRange",f:Ka},18:{n:"PtgUplus",f:Ka},19:{n:"PtgUminus",f:Ka},20:{n:"PtgPercent",f:Ka},21:{n:"PtgParen",f:Ka},22:{n:"PtgMissArg",f:Ka},23:{n:"PtgStr",f:function(e,t,r){return e.l++,Dn(e,0,r)}},26:{n:"PtgSheet",f:function(e,t,r){return e.l+=5,e.l+=2,e.l+=2==r.biff?1:4,["PTGSHEET"]}},27:{n:"PtgEndSheet",f:function(e,t,r){return e.l+=2==r.biff?4:5,["PTGENDSHEET"]}},28:{n:"PtgErr",f:function(e){return e.l++,rn[e.read_shift(1)]}},29:{n:"PtgBool",f:function(e){return e.l++,0!==e.read_shift(1)}},30:{n:"PtgInt",f:function(e){return e.l++,e.read_shift(2)}},31:{n:"PtgNum",f:function(e){return e.l++,Yr(e)}},32:{n:"PtgArray",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=2==r.biff?6:12==r.biff?14:7,[n]}},33:{n:"PtgFunc",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(r&&r.biff<=3?1:2);return[Oi[a],Ci[a],n]}},34:{n:"PtgFuncVar",f:function(e,t,r){var n=e[e.l++],a=e.read_shift(1),i=r&&r.biff<=3?[88==n?-1:0,e.read_shift(1)]:function(e){return[e[e.l+1]>>7,32767&e.read_shift(2)]}(e);return[a,(0===i[0]?Ci:xi)[i[1]]]}},35:{n:"PtgName",f:function(e,t,r){var n=e.read_shift(1)>>>5&3,a=!r||r.biff>=8?4:2,i=e.read_shift(a);switch(r.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12}return[n,0,i]}},36:{n:"PtgRef",f:function(e,t,r){var n=(96&e[e.l])>>5;return e.l+=1,[n,qa(e,0,r)]}},37:{n:"PtgArea",f:function(e,t,r){return[(96&e[e.l++])>>5,Ja(e,r.biff>=2&&r.biff,r)]}},38:{n:"PtgMemArea",f:function(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=r&&2==r.biff?3:4,[n,e.read_shift(r&&2==r.biff?1:2)]}},39:{n:"PtgMemErr",f:tr},40:{n:"PtgMemNoMem",f:tr},41:{n:"PtgMemFunc",f:function(e,t,r){return[e.read_shift(1)>>>5&3,e.read_shift(r&&2==r.biff?1:2)]}},42:{n:"PtgRefErr",f:function(e,t,r){var n=e.read_shift(1)>>>5&3;return e.l+=4,r.biff<8&&e.l--,12==r.biff&&(e.l+=2),[n]}},43:{n:"PtgAreaErr",f:function(e,t,r){var n=(96&e[e.l++])>>5;return e.l+=r&&r.biff>8?12:r.biff<8?6:8,[n]}},44:{n:"PtgRefN",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=function(e,t,r){var n=r&&r.biff?r.biff:8;if(n>=2&&n<=5)return function(e){var t=e.read_shift(2),r=e.read_shift(1),n=(32768&t)>>15,a=(16384&t)>>14;return t&=16383,1==n&&t>=8192&&(t-=16384),1==a&&r>=128&&(r-=256),{r:t,c:r,cRel:a,rRel:n}}(e);var a=e.read_shift(n>=12?4:2),i=e.read_shift(2),s=(16384&i)>>14,o=(32768&i)>>15;if(i&=16383,1==o)for(;a>524287;)a-=1048576;if(1==s)for(;i>8191;)i-=16384;return{r:a,c:i,cRel:s,rRel:o}}(e,0,r);return[n,a]}},45:{n:"PtgAreaN",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=function(e,t,r){if(r.biff<8)return Za(e);var n=e.read_shift(12==r.biff?4:2),a=e.read_shift(12==r.biff?4:2),i=Xa(e,2),s=Xa(e,2);return{s:{r:n,c:i[0],cRel:i[1],rRel:i[2]},e:{r:a,c:s[0],cRel:s[1],rRel:s[2]}}}(e,0,r);return[n,a]}},46:{n:"PtgMemAreaN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},47:{n:"PtgMemNoMemN",f:function(e){return[e.read_shift(1)>>>5&3,e.read_shift(2)]}},57:{n:"PtgNameX",f:function(e,t,r){return 5==r.biff?function(e){var t=e.read_shift(1)>>>5&3,r=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[t,r,n]}(e):[e.read_shift(1)>>>5&3,e.read_shift(2),e.read_shift(4)]}},58:{n:"PtgRef3d",f:function(e,t,r){var n=(96&e[e.l])>>5;e.l+=1;var a=e.read_shift(2);return r&&5==r.biff&&(e.l+=12),[n,a,qa(e,0,r)]}},59:{n:"PtgArea3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2,"i");if(r)switch(r.biff){case 5:e.l+=12,6;break;case 12:12}return[n,a,Ja(e,0,r)]}},60:{n:"PtgRefErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),i=4;if(r)switch(r.biff){case 5:i=15;break;case 12:i=6}return e.l+=i,[n,a]}},61:{n:"PtgAreaErr3d",f:function(e,t,r){var n=(96&e[e.l++])>>5,a=e.read_shift(2),i=8;if(r)switch(r.biff){case 5:e.l+=12,i=6;break;case 12:i=12}return e.l+=i,[n,a]}},255:{}},ci={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},hi={1:{n:"PtgElfLel",f:oi},2:{n:"PtgElfRw",f:ii},3:{n:"PtgElfCol",f:ii},6:{n:"PtgElfRwV",f:ii},7:{n:"PtgElfColV",f:ii},10:{n:"PtgElfRadical",f:ii},11:{n:"PtgElfRadicalS",f:si},13:{n:"PtgElfColS",f:si},15:{n:"PtgElfColSV",f:si},16:{n:"PtgElfRadicalLel",f:oi},25:{n:"PtgList",f:function(e){e.l+=2;var t=e.read_shift(2),r=e.read_shift(2),n=e.read_shift(4),a=e.read_shift(2),i=e.read_shift(2);return{ixti:t,coltype:3&r,rt:li[r>>2&31],idx:n,c:a,C:i}}},29:{n:"PtgSxName",f:function(e){return e.l+=2,[e.read_shift(4)]}},255:{}},ui={0:{n:"PtgAttrNoop",f:function(e){return e.l+=4,[0,0]}},1:{n:"PtgAttrSemi",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=r&&2==r.biff?3:4,[n]}},2:{n:"PtgAttrIf",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}},4:{n:"PtgAttrChoose",f:function(e,t,r){e.l+=2;for(var n=e.read_shift(r&&2==r.biff?1:2),a=[],i=0;i<=n;++i)a.push(e.read_shift(r&&2==r.biff?1:2));return a}},8:{n:"PtgAttrGoto",f:function(e,t,r){var n=255&e[e.l+1]?1:0;return e.l+=2,[n,e.read_shift(r&&2==r.biff?1:2)]}},16:{n:"PtgAttrSum",f:function(e,t,r){e.l+=r&&2==r.biff?3:4}},32:{n:"PtgAttrBaxcel",f:ei},33:{n:"PtgAttrBaxcel",f:ei},64:{n:"PtgAttrSpace",f:function(e){return e.read_shift(2),ti(e)}},65:{n:"PtgAttrSpaceSemi",f:function(e){return e.read_shift(2),ti(e)}},128:{n:"PtgAttrIfError",f:function(e){var t=255&e[e.l+1]?1:0;return e.l+=2,[t,e.read_shift(2)]}},255:{}};function di(e,t,r,n){if(n.biff<8)return tr(e,t);for(var a=e.l+t,i=[],s=0;s!==r.length;++s)switch(r[s][0]){case"PtgArray":r[s][1]=ai(e,0,n),i.push(r[s][1]);break;case"PtgMemArea":r[s][2]=ni(e,r[s][1],n),i.push(r[s][2]);break;case"PtgExp":n&&12==n.biff&&(r[s][1][1]=e.read_shift(4),i.push(r[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+r[s][0]}return 0!==(t=a-e.l)&&i.push(tr(e,t)),i}function pi(e,t,r){for(var n,a,i=e.l+t,s=[];i!=e.l;)t=i-e.l,a=e[e.l],n=fi[a]||fi[ci[a]],24!==a&&25!==a||(n=(24===a?hi:ui)[e[e.l+1]]),n&&n.f?s.push([n.n,n.f(e,t,r)]):tr(e,t);return s}function gi(e){for(var t=[],r=0;r=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function vi(e,t,r){if(!e)return"SH33TJSERR0";if(r.biff>8&&(!e.XTI||!e.XTI[t]))return e.SheetNames[t];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[t];if(r.biff<8)return t>1e4&&(t-=65536),t<0&&(t=-t),0==t?"":e.XTI[t-1];if(!n)return"SH33TJSERR1";var a="";if(r.biff>8)switch(e[n[0]][0]){case 357:return a=-1==n[1]?"#REF":e.SheetNames[n[1]],n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 358:return null!=r.SID?e.SheetNames[r.SID]:"SH33TJSSAME"+e[n[0]][0];default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return a=-1==n[1]?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?a:a+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map((function(e){return e.Name})).join(";;");default:return e[n[0]][0][3]?(a=-1==n[1]?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?a:a+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Ti(e,t,r){var n=vi(e,t,r);return"#REF"==n?n:function(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}(n,r)}function wi(e,t,r,n,a){var i,s,o,l,f=a&&a.biff||8,c={s:{c:0,r:0},e:{c:0,r:0}},h=[],u=0,d=0,p="";if(!e[0]||!e[0][0])return"";for(var g=-1,m="",v=0,T=e[0].length;v=0){switch(e[0][g][1][0]){case 0:m=ze(" ",e[0][g][1][1]);break;case 1:m=ze("\r",e[0][g][1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}s+=m,g=-1}h.push(s+mi[w[0]]+i);break;case"PtgIsect":i=h.pop(),s=h.pop(),h.push(s+" "+i);break;case"PtgUnion":i=h.pop(),s=h.pop(),h.push(s+","+i);break;case"PtgRange":i=h.pop(),s=h.pop(),h.push(s+":"+i);break;case"PtgAttrChoose":case"PtgAttrGoto":case"PtgAttrIf":case"PtgAttrIfError":case"PtgAttrBaxcel":case"PtgAttrSemi":case"PtgMemArea":case"PtgTbl":case"PtgMemErr":case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":case"PtgMemFunc":case"PtgMemNoMem":break;case"PtgRef":o=ir(w[1][1],c,a),h.push(or(o,f));break;case"PtgRefN":o=r?ir(w[1][1],r,a):w[1][1],h.push(or(o,f));break;case"PtgRef3d":u=w[1][1],o=ir(w[1][2],c,a);p=Ti(n,u,a);h.push(p+"!"+or(o,f));break;case"PtgFunc":case"PtgFuncVar":var b=w[1][0],E=w[1][1];b||(b=0);var y=0==(b&=127)?[]:h.slice(-b);h.length-=b,"User"===E&&(E=y.shift()),h.push(E+"("+y.join(",")+")");break;case"PtgBool":h.push(w[1]?"TRUE":"FALSE");break;case"PtgInt":case"PtgErr":h.push(w[1]);break;case"PtgNum":h.push(String(w[1]));break;case"PtgStr":h.push('"'+w[1].replace(/"/g,'""')+'"');break;case"PtgAreaN":l=sr(w[1][1],r?{s:r}:c,a),h.push(lr(l,a));break;case"PtgArea":l=sr(w[1][1],c,a),h.push(lr(l,a));break;case"PtgArea3d":u=w[1][1],l=w[1][2],p=Ti(n,u,a),h.push(p+"!"+lr(l,a));break;case"PtgAttrSum":h.push("SUM("+h.pop()+")");break;case"PtgName":d=w[1][2];var S=(n.names||[])[d-1]||(n[0]||[])[d],A=S?S.Name:"SH33TJSNAME"+String(d);A&&"_xlfn."==A.slice(0,6)&&!a.xlfn&&(A=A.slice(6)),h.push(A);break;case"PtgNameX":var _,x=w[1][1];if(d=w[1][2],!(a.biff<=5)){var C="";if(14849==((n[x]||[])[0]||[])[0]||(1025==((n[x]||[])[0]||[])[0]?n[x][d]&&n[x][d].itab>0&&(C=n.SheetNames[n[x][d].itab-1]+"!"):C=n.SheetNames[d-1]+"!"),n[x]&&n[x][d])C+=n[x][d].Name;else if(n[0]&&n[0][d])C+=n[0][d].Name;else{var O=(vi(n,x,a)||"").split(";;");O[d-1]?C=O[d-1]:C+="SH33TJSERRX"}h.push(C);break}x<0&&(x=-x),n[x]&&(_=n[x][d]),_||(_={Name:"SH33TJSERRY"}),h.push(_.Name);break;case"PtgParen":var R="(",P=")";if(g>=0){switch(m="",e[0][g][1][0]){case 2:R=ze(" ",e[0][g][1][1])+R;break;case 3:R=ze("\r",e[0][g][1][1])+R;break;case 4:P=ze(" ",e[0][g][1][1])+P;break;case 5:P=ze("\r",e[0][g][1][1])+P;break;default:if(a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][g][1][0])}g=-1}h.push(R+h.pop()+P);break;case"PtgRefErr":case"PtgRefErr3d":case"PtgAreaErr":case"PtgAreaErr3d":h.push("#REF!");break;case"PtgExp":o={c:w[1][1],r:w[1][0]};var D={c:r.c,r:r.r};if(n.sharedf[pr(o)]){var k=n.sharedf[pr(o)];h.push(wi(k,c,D,n,a))}else{var I=!1;for(i=0;i!=n.arrayf.length;++i)if(s=n.arrayf[i],!(o.cs[0].e.c)&&!(o.rs[0].e.r)){h.push(wi(s[1],c,D,n,a)),I=!0;break}I||h.push(w[1])}break;case"PtgArray":h.push("{"+gi(w[1])+"}");break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":g=v;break;case"PtgMissArg":h.push("");break;case"PtgList":h.push("Table"+w[1].idx+"[#"+w[1].rt+"]");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");default:throw new Error("Unrecognized Formula Token: "+String(w))}if(3!=a.biff&&g>=0&&-1==["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"].indexOf(e[0][v][0])){var N=!0;switch((w=e[0][g])[1][0]){case 4:N=!1;case 0:m=ze(" ",w[1][1]);break;case 5:N=!1;case 1:m=ze("\r",w[1][1]);break;default:if(m="",a.WTF)throw new Error("Unexpected PtgAttrSpaceType "+w[1][0])}h.push((N?m:"")+h.pop()+(N?"":m)),g=-1}}if(h.length>1&&a.WTF)throw new Error("bad formula stack");return h[0]}function bi(e,t,r,n,a){var i=Wn(t,r,a),s=function(e){if(null==e){var t=rr(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 $r("number"==typeof e?e:0)}(e.v),o=rr(6);o.write_shift(2,33),o.write_shift(4,0);for(var l=rr(e.bf.length),f=0;f0?di(e,i,a,r):null]}var yi=Ei,Si=Ei,Ai=Ei,_i=Ei,xi={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"},Ci={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"},Oi={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};var Ri="undefined"!==typeof Map;function Pi(e,t,r){var n=0,a=e.length;if(r){if(Ri?r.has(t):Object.prototype.hasOwnProperty.call(r,t))for(var i=Ri?r.get(t):r[t];n-1?(r.width=ga(n),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 ki(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 Ii(e,t,r){var n=r.revssf[null!=t.z?t.z:"General"],a=60,i=e.length;if(null==n&&r.ssf)for(;a<392;++a)if(null==r.ssf[a]){Te(t.z,a),r.ssf[a]=t.z,r.revssf[t.z]=n=a;break}for(a=0;a!=i;++a)if(e[a].numFmtId===n)return a;return e[i]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},i}function Ni(e,t,r){if(e&&e["!ref"]){var n=vr(e["!ref"]);if(n.e.c32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){o=dt("v",""+Pi(n.Strings,e.v,n.revStrings)),l.t="s";break}l.t="str"}if(e.t!=i&&(e.t=i,e.v=s),"string"==typeof e.f&&e.f){var c=e.F&&e.F.slice(0,t.length)==t?{t:"array",ref:e.F}:null;o=gt("f",et(e.f),c)+(null!=e.v?o:"")}return e.l&&r["!links"].push([t,e.l]),e.D&&(l.cm=1),gt("c",o,l)}function Ui(e,t,r,n){var a,i=[Xe,gt("worksheet",null,{xmlns:Tt[0],"xmlns:r":vt.r})],s=r.SheetNames[e],o="",l=r.Sheets[s];null==l&&(l={});var f=l["!ref"]||"A1",c=vr(f);if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+f+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575),f=mr(c)}n||(n={}),l["!comments"]=[];var h=[];!function(e,t,r,n,a){var i=!1,s={},o=null;if("xlsx"!==n.bookType&&t.vbaraw){var l=t.SheetNames[r];try{t.Workbook&&(l=t.Workbook.Sheets[r].CodeName||l)}catch(c){}i=!0,s.codeName=ct(et(l))}if(e&&e["!outline"]){var f={summaryBelow:1,summaryRight:1};e["!outline"].above&&(f.summaryBelow=0),e["!outline"].left&&(f.summaryRight=0),o=(o||"")+gt("outlinePr",null,f)}(i||o)&&(a[a.length]=gt("sheetPr",o,s))}(l,r,e,t,i),i[i.length]=gt("dimension",null,{ref:f}),i[i.length]=function(e,t,r,n){var a={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(a.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),gt("sheetViews",gt("sheetView",null,a),{})}(0,0,0,r),t.sheetFormat&&(i[i.length]=gt("sheetFormatPr",null,{defaultRowHeight:t.sheetFormat.defaultRowHeight||"16",baseColWidth:t.sheetFormat.baseColWidth||"10",outlineLevelRow:t.sheetFormat.outlineLevelRow||"7"})),null!=l["!cols"]&&l["!cols"].length>0&&(i[i.length]=function(e,t){for(var r,n=[""],a=0;a!=t.length;++a)(r=t[a])&&(n[n.length]=gt("col",null,Di(a,r)));return n[n.length]="",n.join("")}(0,l["!cols"])),i[a=i.length]="",l["!links"]=[],null!=l["!ref"]&&(o=function(e,t,r,n){var a,i,s=[],o=[],l=vr(e["!ref"]),f="",c="",h=[],u=0,d=0,p=e["!rows"],g=Array.isArray(e),m={r:c},v=-1;for(d=l.s.c;d<=l.e.c;++d)h[d]=ur(d);for(u=l.s.r;u<=l.e.r;++u){for(o=[],c=cr(u),d=l.s.c;d<=l.e.c;++d){a=h[d]+c;var T=g?(e[u]||[])[d]:e[a];void 0!==T&&null!=(f=Mi(T,a,e,t))&&o.push(f)}(o.length>0||p&&p[u])&&(m={r:c},p&&p[u]&&((i=p[u]).hidden&&(m.hidden=1),v=-1,i.hpx?v=Ta(i.hpx):i.hpt&&(v=i.hpt),v>-1&&(m.ht=v,m.customHeight=1),i.level&&(m.outlineLevel=i.level)),s[s.length]=gt("row",o.join(""),m))}if(p)for(;u-1&&(m.ht=v,m.customHeight=1),i.level&&(m.outlineLevel=i.level),s[s.length]=gt("row","",m));return s.join("")}(l,t,0,0),o.length>0&&(i[i.length]=o)),i.length>a+1&&(i[i.length]="",i[a]=i[a].replace("/>",">")),l["!protect"]&&(i[i.length]=function(e){var t={sheet:1};return Li.forEach((function(r){null!=e[r]&&e[r]&&(t[r]="1")})),Fi.forEach((function(r){null==e[r]||e[r]||(t[r]="0")})),e.password&&(t.password=la(e.password).toString(16).toUpperCase()),gt("sheetProtection",null,t)}(l["!protect"])),null!=l["!autofilter"]&&(i[i.length]=function(e,t,r,n){var a="string"==typeof e.ref?e.ref:mr(e.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var i=r.Workbook.Names,s=gr(a);s.s.r==s.e.r&&(s.e.r=gr(t["!ref"]).e.r,a=mr(s));for(var o=0;o0&&(i[i.length]=function(e){if(0===e.length)return"";for(var t='',r=0;r!=e.length;++r)t+='';return t+""}(l["!merges"]));var u,d,p=-1,g=-1;return l["!links"].length>0&&(i[i.length]="",l["!links"].forEach((function(e){e[1].Target&&(u={ref:e[0]},"#"!=e[1].Target.charAt(0)&&(g=cn(n,-1,et(e[1].Target).replace(/#.*$/,""),on.HLINK),u["r:id"]="rId"+g),(p=e[1].Target.indexOf("#"))>-1&&(u.location=et(e[1].Target.slice(p+1))),e[1].Tooltip&&(u.tooltip=et(e[1].Tooltip)),i[i.length]=gt("hyperlink",null,u))})),i[i.length]=""),delete l["!links"],null!=l["!margins"]&&(i[i.length]=(ki(d=l["!margins"]),gt("pageMargins",null,d))),t&&!t.ignoreEC&&void 0!=t.ignoreEC||(i[i.length]=dt("ignoredErrors",gt("ignoredError",null,{numberStoredAsText:1,sqref:f}))),h.length>0&&(g=cn(n,-1,"../drawings/drawing"+(e+1)+".xml",on.DRAW),i[i.length]=gt("drawing",null,{"r:id":"rId"+g}),l["!drawing"]=h),l["!comments"].length>0&&(g=cn(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",on.VML),i[i.length]=gt("legacyDrawing",null,{"r:id":"rId"+g}),l["!legacy"]=g),i.length>1&&(i[i.length]="",i[1]=i[1].replace("/>",">")),i.join("")}function Wi(e,t,r,n){var a=function(e,t,r){var n=rr(145),a=(r["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var i=320;a.hpx?i=20*Ta(a.hpx):a.hpt&&(i=20*a.hpt),n.write_shift(2,i),n.write_shift(1,0);var s=0;a.level&&(s|=a.level),a.hidden&&(s|=16),(a.hpx||a.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var o=0,l=n.l;n.l+=4;for(var f={r:e,c:0},c=0;c<16;++c)if(!(t.s.c>c+1<<10||t.e.cn.l?n.slice(0,n.l):n}(n,r,t);(a.length>17||(t["!rows"]||[])[n])&&ar(e,0,a)}var Bi=Gr,Hi=Vr;function ji(e){return[kr(e),Yr(e),"n"]}var zi=Gr,Gi=Vr;var Vi=["left","right","top","bottom","header","footer"];function Yi(e,t,r,n,a,i,s){if(void 0===t.v)return!1;var o="";switch(t.t){case"b":o=t.v?"1":"0";break;case"d":(t=je(t)).z=t.z||U[14],t.v=ke(Be(t.v)),t.t="n";break;case"n":case"e":o=""+t.v;break;default:o=t.v}var l={r:r,c:n};switch(l.s=Ii(a.cellXfs,t,a),t.l&&i["!links"].push([pr(l),t.l]),t.c&&i["!comments"].push([pr(l),t.c]),t.t){case"s":case"str":return a.bookSST?(o=Pi(a.Strings,t.v,a.revStrings),l.t="s",l.v=o,s?ar(e,18,function(e,t,r){return null==r&&(r=rr(8)),Ir(t,r),r.write_shift(4,t.v),r}(0,l)):ar(e,7,function(e,t,r){return null==r&&(r=rr(12)),Dr(t,r),r.write_shift(4,t.v),r}(0,l))):(l.t="str",s?ar(e,17,function(e,t,r){return null==r&&(r=rr(8+4*e.v.length)),Ir(t,r),_r(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,l)):ar(e,6,function(e,t,r){return null==r&&(r=rr(12+4*e.v.length)),Dr(t,r),_r(e.v,r),r.length>r.l?r.slice(0,r.l):r}(t,l))),!0;case"n":return t.v==(0|t.v)&&t.v>-1e3&&t.v<1e3?s?ar(e,13,function(e,t,r){return null==r&&(r=rr(8)),Ir(t,r),jr(e.v,r),r}(t,l)):ar(e,2,function(e,t,r){return null==r&&(r=rr(12)),Dr(t,r),jr(e.v,r),r}(t,l)):s?ar(e,16,function(e,t,r){return null==r&&(r=rr(12)),Ir(t,r),$r(e.v,r),r}(t,l)):ar(e,5,function(e,t,r){return null==r&&(r=rr(16)),Dr(t,r),$r(e.v,r),r}(t,l)),!0;case"b":return l.t="b",s?ar(e,15,function(e,t,r){return null==r&&(r=rr(5)),Ir(t,r),r.write_shift(1,e.v?1:0),r}(t,l)):ar(e,4,function(e,t,r){return null==r&&(r=rr(9)),Dr(t,r),r.write_shift(1,e.v?1:0),r}(t,l)),!0;case"e":return l.t="e",s?ar(e,14,function(e,t,r){return null==r&&(r=rr(8)),Ir(t,r),r.write_shift(1,e.v),r.write_shift(2,0),r.write_shift(1,0),r}(t,l)):ar(e,3,function(e,t,r){return null==r&&(r=rr(9)),Dr(t,r),r.write_shift(1,e.v),r}(t,l)),!0}return s?ar(e,12,function(e,t,r){return null==r&&(r=rr(4)),Ir(t,r)}(0,l)):ar(e,1,function(e,t,r){return null==r&&(r=rr(8)),Dr(t,r)}(0,l)),!0}function $i(e,t){var r,n;t&&t["!merges"]&&(ar(e,177,(r=t["!merges"].length,null==n&&(n=rr(4)),n.write_shift(4,r),n)),t["!merges"].forEach((function(t){ar(e,176,Gi(t))})),ar(e,178))}function Ki(e,t){t&&t["!cols"]&&(ar(e,390),t["!cols"].forEach((function(t,r){t&&ar(e,60,function(e,t,r){null==r&&(r=rr(18));var n=Di(e,t);r.write_shift(-4,e),r.write_shift(-4,e),r.write_shift(4,256*(n.width||10)),r.write_shift(4,0);var a=0;return t.hidden&&(a|=1),"number"==typeof n.width&&(a|=2),t.level&&(a|=t.level<<8),r.write_shift(2,a),r}(r,t))})),ar(e,391))}function Xi(e,t){t&&t["!ref"]&&(ar(e,648),ar(e,649,function(e){var t=rr(24);return t.write_shift(4,4),t.write_shift(4,1),Vr(e,t),t}(vr(t["!ref"]))),ar(e,650))}function Ji(e,t,r){t["!links"].forEach((function(t){if(t[1].Target){var n=cn(r,-1,t[1].Target.replace(/#.*$/,""),on.HLINK);ar(e,494,function(e,t){var r=rr(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));Vr({s:dr(e[0]),e:dr(e[0])},r),Br("rId"+t,r);var n=e[1].Target.indexOf("#");return _r((-1==n?"":e[1].Target.slice(n+1))||"",r),_r(e[1].Tooltip||"",r),_r("",r),r.slice(0,r.l)}(t,n))}})),delete t["!links"]}function Zi(e,t,r){ar(e,133),ar(e,137,function(e,t,r){null==r&&(r=rr(30));var n=924;return(((t||{}).Views||[])[0]||{}).RTL&&(n|=32),r.write_shift(2,n),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,100),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(4,0),r}(0,r)),ar(e,138),ar(e,134)}function qi(e,t){var r,n;t["!protect"]&&ar(e,535,(r=t["!protect"],null==n&&(n=rr(66)),n.write_shift(2,r.password?la(r.password):0),n.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(e){e[1]?n.write_shift(4,null==r[e[0]]||r[e[0]]?0:1):n.write_shift(4,null!=r[e[0]]&&r[e[0]]?0:1)})),n))}function Qi(e,t,r,n){var a=nr(),i=r.SheetNames[e],s=r.Sheets[i]||{},o=i;try{r&&r.Workbook&&(o=r.Workbook.Sheets[e].CodeName||o)}catch(h){}var l,f,c=vr(s["!ref"]||"A1");if(c.e.c>16383||c.e.r>1048575){if(t.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");c.e.c=Math.min(c.e.c,16383),c.e.r=Math.min(c.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],ar(a,129),(r.vbaraw||s["!outline"])&&ar(a,147,function(e,t,r){null==r&&(r=rr(84+4*e.length));var n=192;t&&(t.above&&(n&=-65),t.left&&(n&=-129)),r.write_shift(1,n);for(var a=1;a<3;++a)r.write_shift(1,0);return Kr({auto:1},r),r.write_shift(-4,-1),r.write_shift(-4,-1),Lr(e,r),r.slice(0,r.l)}(o,s["!outline"])),ar(a,148,Hi(c)),Zi(a,0,r.Workbook),Ki(a,s),function(e,t,r,n){var a,i=vr(t["!ref"]||"A1"),s="",o=[];ar(e,145);var l=Array.isArray(t),f=i.e.r;t["!rows"]&&(f=Math.max(i.e.r,t["!rows"].length-1));for(var c=i.s.r;c<=f;++c){s=cr(c),Wi(e,t,i,c);var h=!1;if(c<=i.e.r)for(var u=i.s.c;u<=i.e.c;++u){c===i.s.r&&(o[u]=ur(u)),a=o[u]+s;var d=l?(t[c]||[])[u]:t[a];h=!!d&&Yi(e,d,c,u,n,t,h)}}ar(e,146)}(a,s,0,t),qi(a,s),function(e,t,r,n){if(t["!autofilter"]){var a=t["!autofilter"],i="string"===typeof a.ref?a.ref:mr(a.ref);r.Workbook||(r.Workbook={Sheets:[]}),r.Workbook.Names||(r.Workbook.Names=[]);var s=r.Workbook.Names,o=gr(i);o.s.r==o.e.r&&(o.e.r=gr(t["!ref"]).e.r,i=mr(o));for(var l=0;l0){var a=cn(n,-1,"../drawings/vmlDrawing"+(r+1)+".vml",on.VML);ar(e,551,Br("rId"+a)),t["!legacy"]=a}}(a,s,e,n),ar(a,130),a.end()}var es=[["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"]];var ts="][*?/\\".split("");function rs(e,t){if(e.length>31){if(t)return!1;throw new Error("Sheet names cannot exceed 31 chars")}var r=!0;return ts.forEach((function(n){if(-1!=e.indexOf(n)){if(!t)throw new Error("Sheet name cannot contain : \\ / ? * [ ]");r=!1}})),r}function ns(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var t,r,n,a=e.Workbook&&e.Workbook.Sheets||[];t=e.SheetNames,r=a,n=!!e.vbaraw,t.forEach((function(e,a){rs(e);for(var i=0;i22)throw new Error("Bad Code Name: Worksheet"+s)}}));for(var i=0;i0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(es.forEach((function(t){null!=e.Workbook.WBProps[t[0]]&&e.Workbook.WBProps[t[0]]!=t[1]&&(n[t[0]]=e.Workbook.WBProps[t[0]])})),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),t[t.length]=gt("workbookPr",null,n);var a=e.Workbook&&e.Workbook.Sheets||[],i=0;if(a&&a[0]&&a[0].Hidden){for(t[t.length]="",i=0;i!=e.SheetNames.length&&a[i]&&a[i].Hidden;++i);i==e.SheetNames.length&&(i=0),t[t.length]='',t[t.length]=""}for(t[t.length]="",i=0;i!=e.SheetNames.length;++i){var s={name:et(e.SheetNames[i].slice(0,31))};if(s.sheetId=""+(i+1),s["r:id"]="rId"+(i+1),a[i])switch(a[i].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden"}t[t.length]=gt("sheet",null,s)}return t[t.length]="",r&&(t[t.length]="",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]=gt("definedName",et(e.Ref),r))})),t[t.length]=""),t.length>2&&(t[t.length]="",t[1]=t[1].replace("/>",">")),t.join("")}function is(e,t){if(t.Workbook&&t.Workbook.Sheets){for(var r,n,a=t.Workbook.Sheets,i=0,s=-1,o=-1;is))ar(e,135),ar(e,158,(r=s,n||(n=rr(29)),n.write_shift(-4,0),n.write_shift(-4,460),n.write_shift(4,28800),n.write_shift(4,17600),n.write_shift(4,500),n.write_shift(4,r),n.write_shift(4,r),n.write_shift(1,120),n.length>n.l?n.slice(0,n.l):n)),ar(e,136)}}function ss(e,t){var r=nr();return ar(r,131),ar(r,128,function(e,t){t||(t=rr(127));for(var r=0;4!=r;++r)t.write_shift(4,0);return _r("SheetJS",t),_r(n.version,t),_r(n.version,t),_r("7262",t),t.length>t.l?t.slice(0,t.l):t}()),ar(r,153,function(e,t){t||(t=rr(72));var r=0;return e&&e.filterPrivacy&&(r|=8),t.write_shift(4,r),t.write_shift(4,0),Lr(e&&e.CodeName||"ThisWorkbook",t),t.slice(0,t.l)}(e.Workbook&&e.Workbook.WBProps||null)),is(r,e),function(e,t){ar(e,143);for(var r=0;r!=t.SheetNames.length;++r){ar(e,156,(n={Hidden:t.Workbook&&t.Workbook.Sheets&&t.Workbook.Sheets[r]&&t.Workbook.Sheets[r].Hidden||0,iTabID:r+1,strRelID:"rId"+(r+1),name:t.SheetNames[r]},(a=void 0)||(a=rr(127)),a.write_shift(4,n.Hidden),a.write_shift(4,n.iTabID),Br(n.strRelID,a),_r(n.name.slice(0,31),a),a.length>a.l?a.slice(0,a.l):a))}var n,a;ar(e,144)}(r,e),ar(r,132),r.end()}function os(e,t,r,n,a){return(".bin"===t.slice(-4)?Qi:Ui)(e,r,n,a)}function ls(e,t,r){return(".bin"===t.slice(-4)?ja:Wa)(e,r)}function fs(e,t){var r=[];return e.Props&&r.push(function(e,t){var r=[];return Ce(bn).map((function(e){for(var t=0;t'+a.join("")+""+n+">"}(e.Props,e.Custprops)),r.join("")}function cs(e){return gt("NamedRange",null,{"ss:Name":e.Name,"ss:RefersTo":"="+Ya(e.Ref,{r:0,c:0})})}function hs(e,t,r,n,a,i,s){if(!e||void 0==e.v&&void 0==e.f)return"";var o={};if(e.f&&(o["ss:Formula"]="="+et(Ya(e.f,s))),e.F&&e.F.slice(0,t.length)==t){var l=dr(e.F.slice(t.length+1));o["ss:ArrayRange"]="RC:R"+(l.r==s.r?"":"["+(l.r-s.r)+"]")+"C"+(l.c==s.c?"":"["+(l.c-s.c)+"]")}if(e.l&&e.l.Target&&(o["ss:HRef"]=et(e.l.Target),e.l.Tooltip&&(o["x:HRefScreenTip"]=et(e.l.Tooltip))),r["!merges"])for(var f=r["!merges"],c=0;c!=f.length;++c)f[c].s.c==s.c&&f[c].s.r==s.r&&(f[c].e.c>f[c].s.c&&(o["ss:MergeAcross"]=f[c].e.c-f[c].s.c),f[c].e.r>f[c].s.r&&(o["ss:MergeDown"]=f[c].e.r-f[c].s.r));var h="",u="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":h="Number",u=String(e.v);break;case"b":h="Boolean",u=e.v?"1":"0";break;case"e":h="Error",u=rn[e.v];break;case"d":h="DateTime",u=new Date(e.v).toISOString(),null==e.z&&(e.z=e.z||U[14]);break;case"s":h="String",u=((e.v||"")+"").replace(qe,(function(e){return Ze[e]})).replace(rt,(function(e){return""+e.charCodeAt(0).toString(16).toUpperCase()+";"}))}var d=Ii(n.cellXfs,e,n);o["ss:StyleID"]="s"+(21+d),o["ss:Index"]=s.c+1;var p=null!=e.v?u:"",g="z"==e.t?"":''+p+"";return(e.c||[]).length>0&&(g+=e.c.map((function(e){var t=gt("ss:Data",(e.t||"").replace(/(\r\n|[\r\n])/g,"
"),{xmlns:"http://www.w3.org/TR/REC-html40"});return gt("Comment",t,{"ss:Author":e.a})})).join("")),gt("Cell",g,o)}function us(e,t){var r='"}function ds(e,t,r){var n=[],a=r.SheetNames[e],i=r.Sheets[a],s=i?function(e,t,r,n){if(!e)return"";if(!((n||{}).Workbook||{}).Names)return"";for(var a=n.Workbook.Names,i=[],s=0;s0&&n.push(""+s+""),s=i?function(e,t,r,n){if(!e["!ref"])return"";var a=vr(e["!ref"]),i=e["!merges"]||[],s=0,o=[];e["!cols"]&&e["!cols"].forEach((function(e,t){ma(e);var r=!!e.width,n=Di(t,e),a={"ss:Index":t+1};r&&(a["ss:Width"]=da(n.width)),e.hidden&&(a["ss:Hidden"]="1"),o.push(gt("Column",null,a))}));for(var l=Array.isArray(e),f=a.s.r;f<=a.e.r;++f){for(var c=[us(f,(e["!rows"]||[])[f])],h=a.s.c;h<=a.e.c;++h){var u=!1;for(s=0;s!=i.length;++s)if(!(i[s].s.c>h)&&!(i[s].s.r>f)&&!(i[s].e.c"),c.length>2&&o.push(c.join(""))}return o.join("")}(i,t):"",s.length>0&&n.push(""),n.push(function(e,t,r,n){if(!e)return"";var a=[];if(e["!margins"]&&(a.push(""),e["!margins"].header&&a.push(gt("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&a.push(gt("Footer",null,{"x:Margin":e["!margins"].footer})),a.push(gt("PageMargins",null,{"x:Bottom":e["!margins"].bottom||"0.75","x:Left":e["!margins"].left||"0.7","x:Right":e["!margins"].right||"0.7","x:Top":e["!margins"].top||"0.75"})),a.push("")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[r])if(n.Workbook.Sheets[r].Hidden)a.push(gt("Visible",1==n.Workbook.Sheets[r].Hidden?"SheetHidden":"SheetVeryHidden",{}));else{for(var i=0;i")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&a.push(""),e["!protect"]&&(a.push(dt("ProtectContents","True")),e["!protect"].objects&&a.push(dt("ProtectObjects","True")),e["!protect"].scenarios&&a.push(dt("ProtectScenarios","True")),null==e["!protect"].selectLockedCells||e["!protect"].selectLockedCells?null==e["!protect"].selectUnlockedCells||e["!protect"].selectUnlockedCells||a.push(dt("EnableSelection","UnlockedCells")):a.push(dt("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]]&&a.push("<"+t[1]+"/>")}))),0==a.length?"":gt("WorksheetOptions",a.join(""),{xmlns:wt.x})}(i,0,e,r)),n.join("")}function ps(e,t){t||(t={}),e.SSF||(e.SSF=je(U)),e.SSF&&(be(),we(e.SSF),t.revssf=Pe(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF,t.cellXfs=[],Ii(t.cellXfs,{},{revssf:{General:0}}));var r=[];r.push(fs(e,t)),r.push(""),r.push(""),r.push("");for(var n=0;n'];return t.cellXfs.forEach((function(e,t){var n=[];n.push(gt("NumberFormat",null,{"ss:Format":et(U[e.numFmtId])}));var a={"ss:ID":"s"+(21+t)};r.push(gt("Style",n.join(""),a))})),gt("Styles",r.join(""))}(0,t),r[3]=function(e){if(!((e||{}).Workbook||{}).Names)return"";for(var t=e.Workbook.Names,r=[],n=0;n-1||vn.indexOf(i[s][0])>-1||null!=i[s][1]&&f.push(i[s]);a.length&&Se.utils.cfb_add(t,"/\x05SummaryInformation",_n(a,gs.SI,l,Qr)),(n.length||f.length)&&Se.utils.cfb_add(t,"/\x05DocumentSummaryInformation",_n(n,gs.DSI,o,qr,f.length?f:null,gs.UDI))}(e,n),8==r.biff&&e.vbaraw&&function(e,t){t.FullPaths.forEach((function(r,n){if(0!=n){var a=r.replace(/[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");"/"!==a.slice(-1)&&Se.utils.cfb_add(e,a,t.FileIndex[n].content)}}))}(n,Se.read(e.vbaraw,{type:"string"==typeof e.vbaraw?"binary":"buffer"})),n}var vs={0:{f:function(e,t){var r={},n=e.l+t;r.r=e.read_shift(4),e.l+=4;var a=e.read_shift(2);e.l+=1;var i=e.read_shift(1);return e.l=n,7&i&&(r.level=7&i),16&i&&(r.hidden=!0),32&i&&(r.hpt=a/20),r}},1:{f:function(e){return[Pr(e)]}},2:{f:function(e){return[Pr(e),Hr(e),"n"]}},3:{f:function(e){return[Pr(e),e.read_shift(1),"e"]}},4:{f:function(e){return[Pr(e),e.read_shift(1),"b"]}},5:{f:function(e){return[Pr(e),Yr(e),"n"]}},6:{f:function(e){return[Pr(e),Ar(e),"str"]}},7:{f:function(e){return[Pr(e),e.read_shift(4),"s"]}},8:{f:function(e,t,r){var n=e.l+t,a=Pr(e);a.r=r["!row"];var i=[a,Ar(e),"str"];if(r.cellFormula){e.l+=2;var s=Si(e,n-e.l,r);i[3]=wi(s,0,a,r.supbooks,r)}else e.l=n;return i}},9:{f:function(e,t,r){var n=e.l+t,a=Pr(e);a.r=r["!row"];var i=[a,Yr(e),"n"];if(r.cellFormula){e.l+=2;var s=Si(e,n-e.l,r);i[3]=wi(s,0,a,r.supbooks,r)}else e.l=n;return i}},10:{f:function(e,t,r){var n=e.l+t,a=Pr(e);a.r=r["!row"];var i=[a,e.read_shift(1),"b"];if(r.cellFormula){e.l+=2;var s=Si(e,n-e.l,r);i[3]=wi(s,0,a,r.supbooks,r)}else e.l=n;return i}},11:{f:function(e,t,r){var n=e.l+t,a=Pr(e);a.r=r["!row"];var i=[a,e.read_shift(1),"e"];if(r.cellFormula){e.l+=2;var s=Si(e,n-e.l,r);i[3]=wi(s,0,a,r.supbooks,r)}else e.l=n;return i}},12:{f:function(e){return[kr(e)]}},13:{f:function(e){return[kr(e),Hr(e),"n"]}},14:{f:function(e){return[kr(e),e.read_shift(1),"e"]}},15:{f:function(e){return[kr(e),e.read_shift(1),"b"]}},16:{f:ji},17:{f:function(e){return[kr(e),Ar(e),"str"]}},18:{f:function(e){return[kr(e),e.read_shift(4),"s"]}},19:{f:Cr},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:function(e,t,r){var n=e.l+t;e.l+=4,e.l+=1;var a=e.read_shift(4),i=Ur(e),s=Ai(e,0,r),o=Fr(e);e.l=n;var l={Name:i,Ptg:s};return a<268435455&&(l.Sheet=a),o&&(l.Comment=o),l}},40:{},42:{},43:{f:function(e,t,r){var n={};n.sz=e.read_shift(2)/20;var a=function(e){var t=e.read_shift(1);return e.l++,{fBold:1&t,fItalic:2&t,fUnderline:4&t,fStrikeout:8&t,fOutline:16&t,fShadow:32&t,fCondense:64&t,fExtend:128&t}}(e);switch(a.fItalic&&(n.italic=1),a.fCondense&&(n.condense=1),a.fExtend&&(n.extend=1),a.fShadow&&(n.shadow=1),a.fOutline&&(n.outline=1),a.fStrikeout&&(n.strike=1),700===e.read_shift(2)&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript"}var i=e.read_shift(1);0!=i&&(n.underline=i);var s=e.read_shift(1);s>0&&(n.family=s);var o=e.read_shift(1);switch(o>0&&(n.charset=o),e.l++,n.color=function(e){var t={},r=e.read_shift(1)>>>1,n=e.read_shift(1),a=e.read_shift(2,"i"),i=e.read_shift(1),s=e.read_shift(1),o=e.read_shift(1);switch(e.l++,r){case 0:t.auto=1;break;case 1:t.index=n;var l=tn[n];l&&(t.rgb=ca(l));break;case 2:t.rgb=ca([i,s,o]);break;case 3:t.theme=n}return 0!=a&&(t.tint=a>0?a/32767:a/32768),t}(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor"}return n.name=Ar(e),n}},44:{f:function(e,t){return[e.read_shift(2),Ar(e)]}},45:{f:_a},46:{f:Ra},47:{f:function(e,t){var r=e.l+t,n=e.read_shift(2),a=e.read_shift(2);return e.l=r,{ixfe:n,numFmtId:a}}},48:{},49:{f:function(e){return e.read_shift(4,"i")}},50:{},51:{f:function(e){for(var t=[],r=e.read_shift(4);r-- >0;)t.push([e.read_shift(4),e.read_shift(4)]);return t}},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:Jn},62:{f:function(e){return[Pr(e),Cr(e),"is"]}},63:{f:function(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=pr(r);var n=e.read_shift(1);return 2&n&&(t.l="1"),8&n&&(t.a="1"),t}},64:{f:function(){}},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:tr,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:function(e){var t=e.read_shift(2);return e.l+=28,{RTL:32&t}}},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:function(e,t){var r={},n=e[e.l];return++e.l,r.above=!(64&n),r.left=!(128&n),e.l+=18,r.name=Nr(e,t-19),r}},148:{f:Bi,p:16},151:{f:function(){}},152:{},153:{f:function(e,t){var r={},n=e.read_shift(4);r.defaultThemeVersion=e.read_shift(4);var a=t>8?Ar(e):"";return a.length>0&&(r.CodeName=a),r.autoCompressPictures=!!(65536&n),r.backupFile=!!(64&n),r.checkCompatibility=!!(4096&n),r.date1904=!!(1&n),r.filterPrivacy=!!(8&n),r.hidePivotFieldList=!!(1024&n),r.promptedSolutions=!!(16&n),r.publishItems=!!(2048&n),r.refreshAllConnections=!!(262144&n),r.saveExternalLinkValues=!!(128&n),r.showBorderUnselectedTables=!!(4&n),r.showInkAnnotation=!!(32&n),r.showObjects=["all","placeholders","none"][n>>13&3],r.showPivotChartFilter=!!(32768&n),r.updateLinks=["userSet","never","always"][n>>8&3],r}},154:{},155:{},156:{f:function(e,t){var r={};return r.Hidden=e.read_shift(4),r.iTabID=e.read_shift(4),r.strRelID=Wr(e,t-8),r.name=Ar(e),r}},157:{},158:{},159:{T:1,f:function(e){return[e.read_shift(4),e.read_shift(4)]}},160:{T:-1},161:{T:1,f:Gr},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:zi},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:function(e,t){return{flags:e.read_shift(4),version:e.read_shift(4),name:Ar(e)}}},336:{T:-1},337:{f:function(e){return e.l+=4,0!=e.read_shift(4)},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:Wr},357:{},358:{},359:{},360:{T:1},361:{},362:{f:$n},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:function(e,t,r){var n=e.l+t,a=zr(e),i=e.read_shift(1),s=[a];if(s[2]=i,r.cellFormula){var o=yi(e,n-e.l,r);s[1]=o}else e.l=n;return s}},427:{f:function(e,t,r){var n=e.l+t,a=[Gr(e,16)];if(r.cellFormula){var i=_i(e,n-e.l,r);a[1]=i,e.l=n}else e.l=n;return a}},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:function(e){var t={};return Vi.forEach((function(r){t[r]=Yr(e)})),t}},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:function(){}},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:function(e,t){var r=e.l+t,n=Gr(e,16),a=Fr(e),i=Ar(e),s=Ar(e),o=Ar(e);e.l=r;var l={rfx:n,relId:a,loc:i,display:o};return s&&(l.Tooltip=s),l}},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:Wr},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:Ha},633:{T:1},634:{T:-1},635:{T:1,f:function(e){var t={};t.iauthor=e.read_shift(4);var r=Gr(e,16);return t.rfx=r.s,t.ref=pr(r.s),e.l+=16,t}},636:{T:-1},637:{f:Or},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:function(e,t){return e.l+=10,{name:Ar(e)}}},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:function(){}},1054:{T:1},1055:{},1056:{T:1},1057:{T:-1},1058:{T:1},1059:{T:-1},1061:{},1062:{T:1},1063:{T:-1},1064:{T:1},1065:{T:-1},1066:{T:1},1067:{T:-1},1068:{T:1},1069:{T:-1},1070:{T:1},1071:{T:-1},1072:{T:1},1073:{T:-1},1075:{T:1},1076:{T:-1},1077:{T:1},1078:{T:-1},1079:{T:1},1080:{T:-1},1081:{T:1},1082:{T:-1},1083:{T:1},1084:{T:-1},1085:{},1086:{T:1},1087:{T:-1},1088:{T:1},1089:{T:-1},1090:{T:1},1091:{T:-1},1092:{T:1},1093:{T:-1},1094:{T:1},1095:{T:-1},1096:{},1097:{T:1},1098:{},1099:{T:-1},1100:{T:1},1101:{T:-1},1102:{},1103:{},1104:{},1105:{},1111:{},1112:{},1113:{T:1},1114:{T:-1},1115:{T:1},1116:{T:-1},1117:{},1118:{T:1},1119:{T:-1},1120:{T:1},1121:{T:-1},1122:{T:1},1123:{T:-1},1124:{T:1},1125:{T:-1},1126:{},1128:{T:1},1129:{T:-1},1130:{},1131:{T:1},1132:{T:-1},1133:{T:1},1134:{T:-1},1135:{T:1},1136:{T:-1},1137:{T:1},1138:{T:-1},1139:{T:1},1140:{T:-1},1141:{},1142:{T:1},1143:{T:-1},1144:{T:1},1145:{T:-1},1146:{},1147:{T:1},1148:{T:-1},1149:{T:1},1150:{T:-1},1152:{T:1},1153:{T:-1},1154:{T:-1},1155:{T:-1},1156:{T:-1},1157:{T:1},1158:{T:-1},1159:{T:1},1160:{T:-1},1161:{T:1},1162:{T:-1},1163:{T:1},1164:{T:-1},1165:{T:1},1166:{T:-1},1167:{T:1},1168:{T:-1},1169:{T:1},1170:{T:-1},1171:{},1172:{T:1},1173:{T:-1},1177:{},1178:{T:1},1180:{},1181:{},1182:{},2048:{T:1},2049:{T:-1},2050:{},2051:{T:1},2052:{T:-1},2053:{},2054:{},2055:{T:1},2056:{T:-1},2057:{T:1},2058:{T:-1},2060:{},2067:{},2068:{T:1},2069:{T:-1},2070:{},2071:{},2072:{T:1},2073:{T:-1},2075:{},2076:{},2077:{T:1},2078:{T:-1},2079:{},2080:{T:1},2081:{T:-1},2082:{},2083:{T:1},2084:{T:-1},2085:{T:1},2086:{T:-1},2087:{T:1},2088:{T:-1},2089:{T:1},2090:{T:-1},2091:{},2092:{},2093:{T:1},2094:{T:-1},2095:{},2096:{T:1},2097:{T:-1},2098:{T:1},2099:{T:-1},2100:{T:1},2101:{T:-1},2102:{},2103:{T:1},2104:{T:-1},2105:{},2106:{T:1},2107:{T:-1},2108:{},2109:{T:1},2110:{T:-1},2111:{T:1},2112:{T:-1},2113:{T:1},2114:{T:-1},2115:{},2116:{},2117:{},2118:{T:1},2119:{T:-1},2120:{},2121:{T:1},2122:{T:-1},2123:{T:1},2124:{T:-1},2125:{},2126:{T:1},2127:{T:-1},2128:{},2129:{T:1},2130:{T:-1},2131:{T:1},2132:{T:-1},2133:{T:1},2134:{},2135:{},2136:{},2137:{T:1},2138:{T:-1},2139:{T:1},2140:{T:-1},2141:{},3072:{},3073:{},4096:{T:1},4097:{T:-1},5002:{T:1},5003:{T:-1},5081:{T:1},5082:{T:-1},5083:{},5084:{T:1},5085:{T:-1},5086:{T:1},5087:{T:-1},5088:{},5089:{},5090:{},5092:{T:1},5093:{T:-1},5094:{},5095:{T:1},5096:{T:-1},5097:{},5099:{},65535:{n:""}};function Ts(e,t,r,n){var a=t;if(!isNaN(a)){var i=n||(r||[]).length||0,s=e.next(4);s.write_shift(2,a),s.write_shift(2,i),i>0&&Bt(r)&&e.push(r)}}function ws(e,t,r){return e||(e=rr(7)),e.write_shift(2,t),e.write_shift(2,r),e.write_shift(2,0),e.write_shift(1,0),e}function bs(e,t,r,n){if(null!=t.v)switch(t.t){case"d":case"n":var a="d"==t.t?ke(Be(t.v)):t.v;return void(a==(0|a)&&a>=0&&a<65536?Ts(e,2,function(e,t,r){var n=rr(9);return ws(n,e,t),n.write_shift(2,r),n}(r,n,a)):Ts(e,3,function(e,t,r){var n=rr(15);return ws(n,e,t),n.write_shift(8,r,"f"),n}(r,n,a)));case"b":case"e":return void Ts(e,5,function(e,t,r,n){var a=rr(9);return ws(a,e,t),Pn(r,n||"b",a),a}(r,n,t.v,t.t));case"s":case"str":return void Ts(e,4,function(e,t,r){var n=rr(8+2*r.length);return ws(n,e,t),n.write_shift(1,r.length),n.write_shift(r.length,r,"sbcs"),n.l255||s.e.r>16383){if(n.WTF)throw new Error("Range "+(t["!ref"]||"A1")+" exceeds format limit A1:IV16384");s.e.c=Math.min(s.e.c,255),s.e.r=Math.min(s.e.c,16383),a=mr(s)}for(var f=s.s.r;f<=s.e.r;++f){o=cr(f);for(var c=s.s.c;c<=s.e.c;++c){f===s.s.r&&(l[c]=ur(c)),a=l[c]+o;var h=i?(t[f]||[])[c]:t[a];h&&bs(e,h,f,c)}}}(n,e.Sheets[e.SheetNames[a]],0,r),Ts(n,10),n.end()}function ys(e,t,r){Ts(e,49,function(e,t){var r=e.name||"Arial",n=t&&5==t.biff,a=rr(n?15+r.length:16+2*r.length);return a.write_shift(2,20*(e.sz||12)),a.write_shift(4,0),a.write_shift(2,400),a.write_shift(4,0),a.write_shift(2,0),a.write_shift(1,r.length),n||a.write_shift(1,1),a.write_shift((n?1:2)*r.length,r,n?"sbcs":"utf16le"),a}({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},r))}function Ss(e,t){if(t){var r=0;t.forEach((function(t,n){++r<=256&&t&&Ts(e,125,function(e,t){var r=rr(12);r.write_shift(2,t),r.write_shift(2,t),r.write_shift(2,256*e.width),r.write_shift(2,0);var n=0;return e.hidden&&(n|=1),r.write_shift(1,n),n=e.level||0,r.write_shift(1,n),r.write_shift(2,0),r}(Di(n,t),n))}))}}function As(e,t,r,n,a){var i=16+Ii(a.cellXfs,t,a);if(null!=t.v||t.bf)if(t.bf)Ts(e,6,bi(t,r,n,0,i));else switch(t.t){case"d":case"n":Ts(e,515,function(e,t,r,n){var a=rr(14);return Wn(e,t,n,a),$r(r,a),a}(r,n,"d"==t.t?ke(Be(t.v)):t.v,i));break;case"b":case"e":Ts(e,517,function(e,t,r,n,a,i){var s=rr(8);return Wn(e,t,n,s),Pn(r,i,s),s}(r,n,t.v,i,0,t.t));break;case"s":case"str":if(a.bookSST)Ts(e,253,function(e,t,r,n){var a=rr(10);return Wn(e,t,n,a),a.write_shift(4,r),a}(r,n,Pi(a.Strings,t.v,a.revStrings),i));else Ts(e,516,function(e,t,r,n,a){var i=!a||8==a.biff,s=rr(+i+8+(1+i)*r.length);return Wn(e,t,n,s),s.write_shift(2,r.length),i&&s.write_shift(1,1),s.write_shift((1+i)*r.length,r,i?"utf16le":"sbcs"),s}(r,n,(t.v||"").slice(0,255),i,a));break;default:Ts(e,513,Wn(r,n,i))}else Ts(e,513,Wn(r,n,i))}function _s(e,t,r){var n,a=nr(),i=r.SheetNames[e],s=r.Sheets[i]||{},o=(r||{}).Workbook||{},l=(o.Sheets||[])[e]||{},f=Array.isArray(s),c=8==t.biff,h="",u=[],d=vr(s["!ref"]||"A1"),p=c?65536:16384;if(d.e.c>255||d.e.r>=p){if(t.WTF)throw new Error("Range "+(s["!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)}Ts(a,2057,zn(0,16,t)),Ts(a,13,Rn(1)),Ts(a,12,Rn(100)),Ts(a,15,Cn(!0)),Ts(a,17,Cn(!1)),Ts(a,16,$r(.001)),Ts(a,95,Cn(!0)),Ts(a,42,Cn(!1)),Ts(a,43,Cn(!1)),Ts(a,130,Rn(1)),Ts(a,128,function(e){var t=rr(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}([0,0])),Ts(a,131,Cn(!1)),Ts(a,132,Cn(!1)),c&&Ss(a,s["!cols"]),Ts(a,512,function(e,t){var r=8!=t.biff&&t.biff?2:4,n=rr(2*r+6);return n.write_shift(r,e.s.r),n.write_shift(r,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}(d,t)),c&&(s["!links"]=[]);for(var g=d.s.r;g<=d.e.r;++g){h=cr(g);for(var m=d.s.c;m<=d.e.c;++m){g===d.s.r&&(u[m]=ur(m)),n=u[m]+h;var v=f?(s[g]||[])[m]:s[n];v&&(As(a,v,g,m,t),c&&v.l&&s["!links"].push([n,v.l]))}}var T=l.CodeName||l.name||i;return c&&Ts(a,574,function(e){var t=rr(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}((o.Views||[])[0])),c&&(s["!merges"]||[]).length&&Ts(a,229,function(e){var t=rr(2+8*e.length);t.write_shift(2,e.length);for(var r=0;r255&&"undefined"!=typeof console&&console.error&&console.error("Worksheet '"+e.SheetNames[r]+"' extends beyond column IV (255). Data may be lost.")}var a=t||{};switch(a.biff||2){case 8:case 5:return function(e,t){var r=t||{},n=[];e&&!e.SSF&&(e.SSF=je(U)),e&&e.SSF&&(be(),we(e.SSF),r.revssf=Pe(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,no(r),r.cellXfs=[],Ii(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var a=0;ar||a[f].s.c>s)&&!(a[f].e.r1&&(d.rowspan=o),l>1&&(d.colspan=l),n.editable?u=''+u+"":h&&(d["data-t"]=h&&h.t||"z",null!=h.v&&(d["data-v"]=h.v),null!=h.z&&(d["data-z"]=h.z),h.l&&"#"!=(h.l.Target||"#").charAt(0)&&(u=''+u+"")),d.id=(n.id||"sjs")+"-"+c,i.push(gt("td",u,d))}}return""+i.join("")+"
"}var Rs='SheetJS Table Export',Ps="";function Ds(e,t,r){return[].join("")+""}function ks(e,t){var r=t||{},n=null!=r.header?r.header:Rs,a=null!=r.footer?r.footer:Ps,i=[n],s=gr(e["!ref"]);r.dense=Array.isArray(e),i.push(Ds(0,0,r));for(var o=s.s.r;o<=s.e.r;++o)i.push(Os(e,s,o,r));return i.push("
"+a),i.join("")}function Is(e,t,r){var n=r||{};null!=g&&(n.dense=g);var a=0,i=0;if(null!=n.origin)if("number"==typeof n.origin)a=n.origin;else{var s="string"==typeof n.origin?dr(n.origin):n.origin;a=s.r,i=s.c}var o=t.getElementsByTagName("tr"),l=Math.min(n.sheetRows||1e7,o.length),f={s:{r:0,c:0},e:{r:a,c:i}};if(e["!ref"]){var c=gr(e["!ref"]);f.s.r=Math.min(f.s.r,c.s.r),f.s.c=Math.min(f.s.c,c.s.c),f.e.r=Math.max(f.e.r,c.e.r),f.e.c=Math.max(f.e.c,c.e.c),-1==a&&(f.e.r=a=c.e.r+1)}var h=[],u=0,d=e["!rows"]||(e["!rows"]=[]),p=0,m=0,v=0,T=0,w=0,b=0;for(e["!cols"]||(e["!cols"]=[]);p1||b>1)&&h.push({s:{r:m+a,c:T+i},e:{r:m+a+(w||1)-1,c:T+i+(b||1)-1}});var C={t:"s",v:A},O=S.getAttribute("data-t")||S.getAttribute("t")||"";null!=A&&(0==A.length?C.t=O||"z":n.raw||0==A.trim().length||"s"==O||("TRUE"===A?C={t:"b",v:!0}:"FALSE"===A?C={t:"b",v:!1}:isNaN(Ge(A))?isNaN(Ye(A).getDate())||(C={t:"d",v:Be(A)},n.cellDates||(C={t:"n",v:ke(C.v)}),C.z=n.dateNF||U[14]):C={t:"n",v:Ge(A)})),void 0===C.z&&null!=_&&(C.z=_);var R="",P=S.getElementsByTagName("A");if(P&&P.length)for(var D=0;D=l&&(e["!fullref"]=mr((f.e.r=o.length-p+m-1+a,f))),e}function Ns(e,t){return Is((t||{}).dense?[]:{},e,t)}function Ls(e){var t="",r=function(e){return e.ownerDocument.defaultView&&"function"===typeof e.ownerDocument.defaultView.getComputedStyle?e.ownerDocument.defaultView.getComputedStyle:"function"===typeof getComputedStyle?getComputedStyle:null}(e);return r&&(t=r(e).getPropertyValue("display")),t||(t=e.style&&e.style.display),"none"===t}var Fs=function(){var e=["",'',"",'',"",'',"",""].join(""),t=""+e+"";return function(){return Xe+t}}(),Ms=function(){var e=" \n",t=function(t,r,n){var a=[];a.push(' \n');var i=0,s=0,o=gr(t["!ref"]||"A1"),l=t["!merges"]||[],f=0,c=Array.isArray(t);if(t["!cols"])for(s=0;s<=o.e.c;++s)a.push(" \n");var h="",u=t["!rows"]||[];for(i=0;i\n");for(;i<=o.e.r;++i){for(h=u[i]?' table:style-name="ro'+u[i].ods+'"':"",a.push(" \n"),s=0;ss)&&!(l[f].s.r>i)&&!(l[f].e.c\n");else{var m=pr({r:i,c:s}),v=c?(t[i]||[])[s]:t[m];if(v&&v.f&&(p["table:formula"]=et(("of:="+v.f.replace(Va,"$1[.$2$3$4$5]").replace(/\]:\[/g,":")).replace(/;/g,"|").replace(/,/g,";")),v.F&&v.F.slice(0,m.length)==m)){var T=gr(v.F);p["table:number-matrix-columns-spanned"]=T.e.c-T.s.c+1,p["table:number-matrix-rows-spanned"]=T.e.r-T.s.r+1}if(v){switch(v.t){case"b":g=v.v?"TRUE":"FALSE",p["office:value-type"]="boolean",p["office:boolean-value"]=v.v?"true":"false";break;case"n":g=v.w||String(v.v||0),p["office:value-type"]="float",p["office:value"]=v.v||0;break;case"s":case"str":g=null==v.v?"":v.v,p["office:value-type"]="string";break;case"d":g=v.w||Be(v.v).toISOString(),p["office:value-type"]="date",p["office:date-value"]=Be(v.v).toISOString(),p["table:style-name"]="ce1";break;default:a.push(e);continue}var w=et(g).replace(/ +/g,(function(e){return''})).replace(/\t/g,"").replace(/\n/g,"").replace(/^ /,"").replace(/ $/,"");if(v.l&&v.l.Target){var b=v.l.Target;"#"==(b="#"==b.charAt(0)?"#"+b.slice(1).replace(/\./,"!"):b).charAt(0)||b.match(/^\w+:/)||(b="../"+b),w=gt("text:a",w,{"xlink:href":b.replace(/&/g,"&")})}a.push(" "+gt("table:table-cell",gt("text:p",w,{}),p)+"\n")}else a.push(e)}}a.push(" \n")}return a.push(" \n"),a.join("")};return function(e,r){var n=[Xe],a=pt({"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=pt({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});"fods"==r.bookType?(n.push("\n"),n.push(un().replace(/office:document-meta/g,"office:meta"))):n.push("\n"),function(e,t){e.push(" \n"),e.push(' \n'),e.push(' \n'),e.push(" /\n"),e.push(' \n'),e.push(" /\n"),e.push(" \n"),e.push(" \n");var r=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!cols"])for(var n=0;n\n'),e.push(' \n'),e.push(" \n"),++r}}));var n=0;t.SheetNames.map((function(e){return t.Sheets[e]})).forEach((function(t){if(t&&t["!rows"])for(var r=0;r\n'),e.push(' \n'),e.push(" \n"),++n}})),e.push(' \n'),e.push(' \n'),e.push(" \n"),e.push(' \n'),e.push(" \n")}(n,e),n.push(" \n"),n.push(" \n");for(var s=0;s!=e.SheetNames.length;++s)n.push(t(e.Sheets[e.SheetNames[s]],e,s));return n.push(" \n"),n.push(" \n"),"fods"==r.bookType?n.push(""):n.push(""),n.join("")}}();function Us(e,t){if("fods"==t.bookType)return Ms(e,t);var r=Ke(),n="",a=[],i=[];return $e(r,n="mimetype","application/vnd.oasis.opendocument.spreadsheet"),$e(r,n="content.xml",Ms(e,t)),a.push([n,"text/xml"]),i.push([n,"ContentFile"]),$e(r,n="styles.xml",Fs(e,t)),a.push([n,"text/xml"]),i.push([n,"StylesFile"]),$e(r,n="meta.xml",Xe+un()),a.push([n,"text/xml"]),i.push([n,"MetadataFile"]),$e(r,n="manifest.rdf",function(e){var t,r,n=[Xe];n.push('\n');for(var a=0;a!=e.length;++a)n.push(hn(e[a][0],e[a][1])),n.push((t="",r=e[a][0],[' \n',' \n'," \n"].join("")));return n.push(hn("","Document","pkg")),n.push(""),n.join("")}(i)),a.push([n,"application/rdf+xml"]),$e(r,n="META-INF/manifest.xml",function(e){var t=[Xe];t.push('\n'),t.push(' \n');for(var r=0;r\n');return t.push(""),t.join("")}(a)),r}function Ws(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function Bs(e){return"undefined"!=typeof TextEncoder?(new TextEncoder).encode(e):S(ct(e))}function Hs(e){var t=e.reduce((function(e,t){return e+t.length}),0),r=new Uint8Array(t),n=0;return e.forEach((function(e){r.set(e,n),n+=e.length})),r}function js(e,t){var r=t?t[0]:0,n=127&e[r];e:if(e[r++]>=128){if(n|=(127&e[r])<<7,e[r++]<128)break e;if(n|=(127&e[r])<<14,e[r++]<128)break e;if(n|=(127&e[r])<<21,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,28),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,35),++r,e[r++]<128)break e;if(n+=(127&e[r])*Math.pow(2,42),++r,e[r++]<128)break e}return t&&(t[0]=r),n}function zs(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 Gs(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 Vs(e){for(var t=[],r=[0];r[0]=128;);n=e.slice(l,r[0]);break;case 5:o=4,n=e.slice(r[0],r[0]+o),r[0]+=o;break;case 1:o=8,n=e.slice(r[0],r[0]+o),r[0]+=o;break;case 2:o=js(e,r),n=e.slice(r[0],r[0]+o),r[0]+=o;break;default:throw new Error("PB Type ".concat(s," for Field ").concat(i," at offset ").concat(a))}var f={data:n,type:s};null==t[i]?t[i]=[f]:t[i].push(f)}return t}function Ys(e){var t=[];return e.forEach((function(e,r){e.forEach((function(e){e.data&&(t.push(zs(8*r+e.type)),2==e.type&&t.push(zs(e.data.length)),t.push(e.data))}))})),Hs(t)}function $s(e){for(var t,r=[],n=[0];n[0]>>0>0),r.push(s)}return r}function Ks(e){var t=[];return e.forEach((function(e){var r=[];r[1]=[{data:zs(e.id),type:0}],r[2]=[],null!=e.merge&&(r[3]=[{data:zs(+!!e.merge),type:0}]);var n=[];e.messages.forEach((function(e){n.push(e.data),e.meta[3]=[{type:0,data:zs(e.data.length)}],r[2].push({data:Ys(e.meta),type:2})}));var a=Ys(r);t.push(zs(a.length)),t.push(a),n.forEach((function(e){return t.push(e)}))})),Hs(t)}function Xs(e,t){if(0!=e)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var r=[0],n=js(t,r),a=[];r[0]>2&7),s=(224&t[r[0]++])<<3,s|=t[r[0]++]):(o=1+(t[r[0]++]>>2),2==i?(s=t[r[0]]|t[r[0]+1]<<8,r[0]+=2):(s=(t[r[0]]|t[r[0]+1]<<8|t[r[0]+2]<<16|t[r[0]+3]<<24)>>>0,r[0]+=4)),a=[Hs(a)],0==s)throw new Error("Invalid offset 0");if(s>a[0].length)throw new Error("Invalid offset beyond length");if(o>=s)for(a.push(a[0].slice(-s)),o-=s;o>=a[a.length-1].length;)a.push(a[a.length-1]),o-=a[a.length-1].length;a.push(a[0].slice(-s,-s+o))}else{var l=t[r[0]++]>>2;if(l<60)++l;else{var f=l-59;l=t[r[0]],f>1&&(l|=t[r[0]+1]<<8),f>2&&(l|=t[r[0]+2]<<16),f>3&&(l|=t[r[0]+3]<<24),l>>>=0,l++,r[0]+=f}a.push(t.slice(r[0],r[0]+l)),r[0]+=l}}var c=Hs(a);if(c.length!=n)throw new Error("Unexpected length: ".concat(c.length," != ").concat(n));return c}function Js(e){for(var t=[],r=0;r>8&255]))):n<=16777216?(s+=4,t.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,t.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),t.push(e.slice(r,r+n)),s+=n,a[0]=0,a[1]=255&s,a[2]=s>>8&255,a[3]=s>>16&255,r+=n}return Hs(t)}function qs(e,t){var r=new Uint8Array(32),n=Ws(r),a=12,i=0;switch(r[0]=5,e.t){case"n":r[1]=2,function(e,t,r){var n=Math.floor(0==r?0:Math.LOG10E*Math.log(Math.abs(r)))+6176-20,a=r/Math.pow(10,n-6176);e[t+15]|=n>>7,e[t+14]|=(127&n)<<1;for(var i=0;a>=1;++i,a/=256)e[t+i]=255&a;e[t+15]|=r>=0?0:128}(r,a,e.v),i|=1,a+=16;break;case"b":r[1]=6,n.setFloat64(a,e.v?1:0,!0),i|=2,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[1]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=8,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,i,!0),r.slice(0,a)}function Qs(e,t){var r=new Uint8Array(32),n=Ws(r),a=12,i=0;switch(r[0]=3,e.t){case"n":r[2]=2,n.setFloat64(a,e.v,!0),i|=32,a+=8;break;case"b":r[2]=6,n.setFloat64(a,e.v?1:0,!0),i|=32,a+=8;break;case"s":if(-1==t.indexOf(e.v))throw new Error("Value ".concat(e.v," missing from SST!"));r[2]=3,n.setUint32(a,t.indexOf(e.v),!0),i|=16,a+=4;break;default:throw"unsupported cell type "+e.t}return n.setUint32(4,i,!0),r.slice(0,a)}function eo(e){return js(Vs(e)[1][0].data)}function to(e,t,r){var n,a,i,s;if(!(null==(n=e[6])?void 0:n[0])||!(null==(a=e[7])?void 0:a[0]))throw"Mutation only works on post-BNC storages!";if((null==(s=null==(i=e[8])?void 0:i[0])?void 0:s.data)&&Gs(e[8][0].data)>0||!1)throw"Math only works with normal offsets";for(var o=0,l=Ws(e[7][0].data),f=0,c=[],h=Ws(e[4][0].data),u=0,d=[],p=0;p1&&console.error("The Numbers writer currently writes only the first table");var n=gr(r["!ref"]);n.s.r=n.s.c=0;var a=!1;n.e.c>9&&(a=!0,n.e.c=9),n.e.r>49&&(a=!0,n.e.r=49),a&&console.error("The Numbers writer is currently limited to ".concat(mr(n)));var i=mo(r,{range:n,header:1}),s=["~Sh33tJ5~"];i.forEach((function(e){return e.forEach((function(e){"string"==typeof e&&s.push(e)}))}));var o={},l=[],f=Se.read(t.numbers,{type:"base64"});f.FileIndex.map((function(e,t){return[e,f.FullPaths[t]]})).forEach((function(e){var t=e[0],r=e[1];2==t.type&&t.name.match(/\.iwa/)&&$s(Js(t.content)).forEach((function(e){l.push(e.id),o[e.id]={deps:[],location:r,type:Gs(e.messages[0].meta[1][0].data)}}))})),l.sort((function(e,t){return e-t}));var c=l.filter((function(e){return e>1})).map((function(e){return[e,zs(e)]}));f.FileIndex.map((function(e,t){return[e,f.FullPaths[t]]})).forEach((function(e){var t=e[0];e[1],t.name.match(/\.iwa/)&&$s(Js(t.content)).forEach((function(e){e.messages.forEach((function(t){c.forEach((function(t){e.messages.some((function(e){return 11006!=Gs(e.meta[1][0].data)&&function(e,t){e:for(var r=0;r<=e.length-t.length;++r){for(var n=0;n-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};no(t=t||{});var i=Ke(),s="",o=0;t.cellXfs=[],Ii(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});if($e(i,s="docProps/core.xml",gn(e.Props,t)),a.coreprops.push(s),cn(t.rels,2,s,on.CORE_PROPS),s="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],f=0;f0&&($e(i,s="docProps/custom.xml",wn(e.Custprops)),a.custprops.push(s),cn(t.rels,4,s,on.CUST_PROPS));for(o=1;o<=e.SheetNames.length;++o){var c={"!id":{}},h=e.Sheets[e.SheetNames[o-1]];(h||{})["!type"];if($e(i,s="xl/worksheets/sheet"+o+"."+r,os(o-1,s,t,e,c)),a.sheets.push(s),cn(t.wbrels,-1,"worksheets/sheet"+o+"."+r,on.WS[0]),h){var u=h["!comments"],d=!1,p="";u&&u.length>0&&($e(i,p="xl/comments"+o+"."+r,ls(u,p,t)),a.comments.push(p),cn(c,-1,"../comments"+o+"."+r,on.CMNT),d=!0),h["!legacy"]&&d&&$e(i,"xl/drawings/vmlDrawing"+o+".vml",Ua(o,h["!comments"])),delete h["!comments"],delete h["!legacy"]}c["!id"].rId1&&$e(i,ln(s),fn(c))}null!=t.Strings&&t.Strings.length>0&&($e(i,s="xl/sharedStrings."+r,function(e,t,r){return(".bin"===t.slice(-4)?sa:aa)(e,r)}(t.Strings,s,t)),a.strs.push(s),cn(t.wbrels,-1,"sharedStrings."+r,on.SST));$e(i,s="xl/workbook."+r,function(e,t,r){return(".bin"===t.slice(-4)?ss:as)(e,r)}(e,s,t)),a.workbooks.push(s),cn(t.rels,1,s,on.WB),$e(i,s="xl/theme/theme1.xml",Na(e.Themes,t)),a.themes.push(s),cn(t.wbrels,-1,"theme/theme1.xml",on.THEME),$e(i,s="xl/styles."+r,function(e,t,r){return(".bin"===t.slice(-4)?Ia:ba)(e,r)}(e,s,t)),a.styles.push(s),cn(t.wbrels,-1,"styles."+r,on.STY),e.vbaraw&&n&&($e(i,s="xl/vbaProject.bin",e.vbaraw),a.vba.push(s),cn(t.wbrels,-1,"vbaProject.bin",on.VBA));return $e(i,s="xl/metadata."+r,function(e){return(".bin"===e.slice(-4)?La:Fa)()}(s)),a.metadata.push(s),cn(t.wbrels,-1,"metadata."+r,on.XLMETA),$e(i,"[Content_Types].xml",sn(a,t)),$e(i,"_rels/.rels",fn(t.rels)),$e(i,"xl/_rels/workbook."+r+".rels",fn(t.wbrels)),delete t.revssf,delete t.ssf,i}(e,t):io(e,t)}function io(e,t){Ma=1024,e&&!e.SSF&&(e.SSF=je(U)),e&&e.SSF&&(be(),we(e.SSF),t.revssf=Pe(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,Ri?t.revStrings=new Map:(t.revStrings={},t.revStrings.foo=[],delete t.revStrings.foo);var r="xml",n=za.indexOf(t.bookType)>-1,a={workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""};no(t=t||{});var i=Ke(),s="",o=0;if(t.cellXfs=[],Ii(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),$e(i,s="docProps/core.xml",gn(e.Props,t)),a.coreprops.push(s),cn(t.rels,2,s,on.CORE_PROPS),s="docProps/app.xml",e.Props&&e.Props.SheetNames);else if(e.Workbook&&e.Workbook.Sheets){for(var l=[],f=0;f0&&($e(i,s="docProps/custom.xml",wn(e.Custprops)),a.custprops.push(s),cn(t.rels,4,s,on.CUST_PROPS));var c=["SheetJ5"];for(t.tcid=0,o=1;o<=e.SheetNames.length;++o){var h={"!id":{}},u=e.Sheets[e.SheetNames[o-1]];(u||{})["!type"];if($e(i,s="xl/worksheets/sheet"+o+"."+r,Ui(o-1,t,e,h)),a.sheets.push(s),cn(t.wbrels,-1,"worksheets/sheet"+o+"."+r,on.WS[0]),u){var d=u["!comments"],p=!1,g="";if(d&&d.length>0){var m=!1;d.forEach((function(e){e[1].forEach((function(e){1==e.T&&(m=!0)}))})),m&&($e(i,g="xl/threadedComments/threadedComment"+o+"."+r,Ba(d,c,t)),a.threadedcomments.push(g),cn(h,-1,"../threadedComments/threadedComment"+o+"."+r,on.TCMNT)),$e(i,g="xl/comments"+o+"."+r,Wa(d)),a.comments.push(g),cn(h,-1,"../comments"+o+"."+r,on.CMNT),p=!0}u["!legacy"]&&p&&$e(i,"xl/drawings/vmlDrawing"+o+".vml",Ua(o,u["!comments"])),delete u["!comments"],delete u["!legacy"]}h["!id"].rId1&&$e(i,ln(s),fn(h))}return null!=t.Strings&&t.Strings.length>0&&($e(i,s="xl/sharedStrings."+r,aa(t.Strings,t)),a.strs.push(s),cn(t.wbrels,-1,"sharedStrings."+r,on.SST)),$e(i,s="xl/workbook."+r,as(e)),a.workbooks.push(s),cn(t.rels,1,s,on.WB),$e(i,s="xl/theme/theme1.xml",Na(e.Themes,t)),a.themes.push(s),cn(t.wbrels,-1,"theme/theme1.xml",on.THEME),$e(i,s="xl/styles."+r,ba(e,t)),a.styles.push(s),cn(t.wbrels,-1,"styles."+r,on.STY),e.vbaraw&&n&&($e(i,s="xl/vbaProject.bin",e.vbaraw),a.vba.push(s),cn(t.wbrels,-1,"vbaProject.bin",on.VBA)),$e(i,s="xl/metadata."+r,Fa()),a.metadata.push(s),cn(t.wbrels,-1,"metadata."+r,on.XLMETA),c.length>1&&($e(i,s="xl/persons/person.xml",function(e){var t=[Xe,gt("personList",null,{xmlns:vt.TCMNT,"xmlns:x":Tt[0]}).replace(/[\/]>/,">")];return e.forEach((function(e,r){t.push(gt("person",null,{displayName:e,id:"{54EE7950-7262-4200-6969-"+("000000000000"+r).slice(-12)+"}",userId:e,providerId:"None"}))})),t.push(""),t.join("")}(c)),a.people.push(s),cn(t.wbrels,-1,"persons/person.xml",on.PEOPLE)),$e(i,"[Content_Types].xml",sn(a,t)),$e(i,"_rels/.rels",fn(t.rels)),$e(i,"xl/_rels/workbook.xml.rels",fn(t.wbrels)),delete t.revssf,delete t.ssf,i}function so(e,t){var r="";switch((t||{}).type||"base64"){case"buffer":case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":r=T(e.slice(0,12));break;case"binary":r=e;break;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 oo(e,t){switch(t.type){case"base64":case"binary":break;case"buffer":case"array":t.type="";break;case"file":return xe(t.file,Se.write(e,{type:w?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");default:throw new Error("Unrecognized type "+t.type)}return Se.write(e,t)}function lo(e,t){var r={},n=w?"nodebuffer":"undefined"!==typeof Uint8Array?"array":"string";if(t.compression&&(r.compression="DEFLATE"),t.password)r.type=n;else switch(t.type){case"base64":r.type="base64";break;case"binary":r.type="string";break;case"string":throw new Error("'string' output type invalid for '"+t.bookType+"' files");case"buffer":case"file":r.type=n;break;default:throw new Error("Unrecognized type "+t.type)}var a=e.FullPaths?Se.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 a){if("binary"==t.type||"base64"==t.type)return a;a=new Uint8Array(A(a))}return t.password&&"undefined"!==typeof encrypt_agile?oo(encrypt_agile(a,t.password),t):"file"===t.type?xe(t.file,a):"string"==t.type?ft(a):a}function fo(e,t,r){r||(r="");var n=r+e;switch(t.type){case"base64":return v(ct(n));case"binary":return ct(n);case"string":return e;case"file":return xe(t.file,n,"utf8");case"buffer":return w?b(n,"utf8"):"undefined"!==typeof TextEncoder?(new TextEncoder).encode(n):fo(n,{type:"binary"}).split("").map((function(e){return e.charCodeAt(0)}))}throw new Error("Unrecognized type "+t.type)}function co(e,t){switch(t.type){case"string":case"base64":case"binary":for(var r="",n=0;n0&&(a=0);var h=cr(l.s.r),u=[],d=[],p=0,g=0,m=Array.isArray(e),v=l.s.r,T=0,w={};m&&!e[v]&&(e[v]=[]);var b=f.skipHidden&&e["!cols"]||[],E=f.skipHidden&&e["!rows"]||[];for(T=l.s.c;T<=l.e.c;++T)if(!(b[T]||{}).hidden)switch(u[T]=ur(T),r=m?e[v][T]:e[u[T]+h],n){case 1:i[T]=T-l.s.c;break;case 2:i[T]=u[T];break;case 3:i[T]=f.header[T-l.s.c];break;default:if(null==r&&(r={w:"__EMPTY",t:"s"}),o=s=wr(r,null,f),g=w[s]||0){do{o=s+"_"+g++}while(w[o]);w[s]=g,w[o]=1}else w[s]=1;i[T]=o}for(v=l.s.r+a;v<=l.e.r;++v)if(!(E[v]||{}).hidden){var y=go(e,l,v,u,n,i,m,f);(!1===y.isempty||(1===n?!1!==f.blankrows:f.blankrows))&&(d[p++]=y.row)}return d.length=p,d}var vo=/"/g;function To(e,t,r,n,a,i,s,o){for(var l=!0,f=[],c="",h=cr(r),u=t.s.c;u<=t.e.c;++u)if(n[u]){var d=o.dense?(e[r]||[])[u]:e[n[u]+h];if(null==d)c="";else if(null!=d.v){l=!1,c=""+(o.rawNumbers&&"n"==d.t?d.v:wr(d,null,o));for(var p=0,g=0;p!==c.length;++p)if((g=c.charCodeAt(p))===a||g===i||34===g||o.forceQuotes){c='"'+c.replace(vo,'""')+'"';break}"ID"==c&&(c='"ID"')}else null==d.f||d.F?c="":(l=!1,(c="="+d.f).indexOf(",")>=0&&(c='"'+c.replace(vo,'""')+'"'));f.push(c)}return!1===o.blankrows&&l?null:f.join(s)}function wo(e,t){var r=[],n=null==t?{}:t;if(null==e||null==e["!ref"])return"";var a=vr(e["!ref"]),i=void 0!==n.FS?n.FS:",",s=i.charCodeAt(0),o=void 0!==n.RS?n.RS:"\n",l=o.charCodeAt(0),f=new RegExp(("|"==i?"\\|":i)+"+$"),c="",h=[];n.dense=Array.isArray(e);for(var u=n.skipHidden&&e["!cols"]||[],d=n.skipHidden&&e["!rows"]||[],p=a.s.c;p<=a.e.c;++p)(u[p]||{}).hidden||(h[p]=ur(p));for(var g=0,m=a.s.r;m<=a.e.r;++m)(d[m]||{}).hidden||null!=(c=To(e,a,m,h,s,l,i,n))&&(n.strip&&(c=c.replace(f,"")),(c||!1!==n.blankrows)&&r.push((g++?o:"")+c));return delete n.dense,r.join("")}function bo(e,t){t||(t={}),t.FS="\t",t.RS="\n";var r=wo(e,t);if("undefined"==typeof u||"string"==t.type)return r;var n=u.utils.encode(1200,r,"str");return String.fromCharCode(255)+String.fromCharCode(254)+n}function Eo(e,t,r){var n,a=r||{},i=+!a.skipHeader,s=e||{},o=0,l=0;if(s&&null!=a.origin)if("number"==typeof a.origin)o=a.origin;else{var f="string"==typeof a.origin?dr(a.origin):a.origin;o=f.r,l=f.c}var c={s:{c:0,r:0},e:{c:l,r:o+t.length-1+i}};if(s["!ref"]){var h=vr(s["!ref"]);c.e.c=Math.max(c.e.c,h.e.c),c.e.r=Math.max(c.e.r,h.e.r),-1==o&&(o=h.e.r+1,c.e.r=o+t.length-1+i)}else-1==o&&(o=0,c.e.r=t.length-1+i);var u=a.header||[],d=0;t.forEach((function(e,t){Ce(e).forEach((function(r){-1==(d=u.indexOf(r))&&(u[d=u.length]=r);var f=e[r],c="z",h="",p=pr({c:l+d,r:o+t+i});n=yo(s,p),!f||"object"!==typeof f||f instanceof Date?("number"==typeof f?c="n":"boolean"==typeof f?c="b":"string"==typeof f?c="s":f instanceof Date?(c="d",a.cellDates||(c="n",f=ke(f)),h=a.dateNF||U[14]):null===f&&a.nullError&&(c="e",f=0),n?(n.t=c,n.v=f,delete n.w,delete n.R,h&&(n.z=h)):s[p]=n={t:c,v:f},h&&(n.z=h)):s[p]=f}))})),c.e.c=Math.max(c.e.c,l+u.length-1);var p=cr(o);if(i)for(d=0;d=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(r)>=0){var i=r.match(/(^.*?)(\d+)$/);a=i&&+i[2]||0;var s=i&&i[1]||r;for(++a;a<=65535&&-1!=e.SheetNames.indexOf(r=s+a);++a);}if(rs(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 _o(e,t,r){return t?(e.l={Target:t},r&&(e.l.Tooltip=r)):delete e.l,e}var xo={encode_col:ur,encode_row:cr,encode_cell:pr,encode_range:mr,decode_col:hr,decode_row:fr,split_cell:function(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")},decode_cell:dr,decode_range:gr,format_cell:wr,sheet_add_aoa:Er,sheet_add_json:Eo,sheet_add_dom:Is,aoa_to_sheet:yr,json_to_sheet:function(e,t){return Eo(null,e,t)},table_to_sheet:Ns,table_to_book:function(e,t){return br(Ns(e,t),t)},sheet_to_csv:wo,sheet_to_txt:bo,sheet_to_json:mo,sheet_to_html:ks,sheet_to_formulae:function(e){var t,r="",n="";if(null==e||null==e["!ref"])return[];var a,i=vr(e["!ref"]),s="",o=[],l=[],f=Array.isArray(e);for(a=i.s.c;a<=i.e.c;++a)o[a]=ur(a);for(var c=i.s.r;c<=i.e.r;++c)for(s=cr(c),a=i.s.c;a<=i.e.c;++a)if(r=o[a]+s,n="",void 0!==(t=f?(e[c]||[])[a]:e[r])){if(null!=t.F){if(r=t.F,!t.f)continue;n=t.f,-1==r.indexOf(":")&&(r=r+":"+r)}if(null!=t.f)n=t.f;else{if("z"==t.t)continue;if("n"==t.t&&null!=t.v)n=""+t.v;else if("b"==t.t)n=t.v?"TRUE":"FALSE";else if(void 0!==t.w)n="'"+t.w;else{if(void 0===t.v)continue;n="s"==t.t?"'"+t.v:""+t.v}}l[l.length]=r+"="+n}return l},sheet_to_row_object_array:mo,sheet_get_cell:yo,book_new:So,book_append_sheet:Ao,book_set_sheet_visibility:function(e,t,r){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=function(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+"|")}(e,t);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),r){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+r)}e.Workbook.Sheets[n].Hidden=r},cell_set_number_format:function(e,t){return e.z=t,e},cell_set_hyperlink:_o,cell_set_internal_link:function(e,t,r){return _o(e,"#"+t,r)},cell_add_comment:function(e,t,r){e.c||(e.c=[]),e.c.push({t:t,a:r||"SheetJS"})},sheet_set_array_formula:function(e,t,r,n){for(var a="string"!=typeof t?t:vr(t),i="string"==typeof t?t:mr(t),s=a.s.r;s<=a.e.r;++s)for(var o=a.s.c;o<=a.e.c;++o){var l=yo(e,s,o);l.t="n",l.F=i,delete l.v,s==a.s.r&&o==a.s.c&&(l.f=r,n&&(l.D=!0))}return e},consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};n.version}}]);
\ No newline at end of file
diff --git a/client/build/static/js/3939.6a40e50a.chunk.js.LICENSE.txt b/client/build/static/js/3939.6a40e50a.chunk.js.LICENSE.txt
new file mode 100644
index 0000000..ae8d179
--- /dev/null
+++ b/client/build/static/js/3939.6a40e50a.chunk.js.LICENSE.txt
@@ -0,0 +1,13 @@
+/*!
+ *
+ * jsPDF AutoTable plugin v3.8.2
+ *
+ * Copyright (c) 2024 Simon Bengtsson, https://github.com/simonbengtsson/jsPDF-AutoTable
+ * Licensed under the MIT License.
+ * http://opensource.org/licenses/mit-license
+ *
+ */
+
+/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */
+
+/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */
diff --git a/client/build/static/js/4060.a8aa7745.chunk.js b/client/build/static/js/4060.a8aa7745.chunk.js
new file mode 100644
index 0000000..5452761
--- /dev/null
+++ b/client/build/static/js/4060.a8aa7745.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[4060,6261],{6261:function(e,t,a){a.r(t);var r=a(7313),n=a(5662),s=a(2548),i=a(1405),l=a(501),c=a(1629),o=a(6835),h=a(3477),d=a(3467),p=a(4076),g=a(7478),m=a(7649),u=a(8737),x=a(5508),b=(a(8695),a(6417));t.default=()=>{const[e,t]=(0,r.useState)([]),[a,f]=(0,r.useState)(""),[j,y]=(0,r.useState)([]),[Z,k]=(0,r.useState)(""),[w,v]=(0,r.useState)([]),[C,E]=(0,r.useState)(""),[L,P]=(0,r.useState)([]),[S,_]=r.useState(0),[V,$]=r.useState(10),[M,D]=(0,r.useState)(null),[R,B]=(0,r.useState)(!1),[O,F]=(0,r.useState)(!1);(0,r.useEffect)((()=>{(async()=>{try{const e=await n.Z.get("https://cbitmis-backend-3.onrender.com/api/departments/blocks");t(e.data)}catch(e){console.error("Error fetching blocks:",e)}})()}),[]);return(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:"10px"},children:[(0,b.jsx)("button",{onClick:()=>{if(!M)return;const e=Object.keys(M[0]),t=M.map((t=>{const a={};return e.forEach((e=>{a[e]=t[e]})),a})),a=u.P6.json_to_sheet(t),r=u.P6.book_new();u.P6.book_append_sheet(r,a,"posts"),u.NC(r,"postsData.xlsx"),B(!0)},style:{marginRight:"10px"},children:"Generate Excel"}),(0,b.jsx)("button",{onClick:()=>{if(!M)return;const e=new x.jsPDF;e.autoTable({html:"#jsonTable"}),e.save("jsonData.pdf"),F(!0)},children:"Generate PDF"})]}),(0,b.jsxs)(s.Z,{value:a,onChange:async e=>{const t=e.target.value;f(t);try{const e=await n.Z.get(`https://cbitmis-backend-3.onrender.com/api/departments/departments/${t}`);y(e.data)}catch(a){console.error(`Error fetching departments for block ${t}:`,a)}k(""),v([]),E(""),P([])},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},children:[(0,b.jsx)(i.Z,{value:"",disabled:!0,children:"Select Block"}),e.map((e=>(0,b.jsx)(i.Z,{value:e,children:e},e)))]}),(0,b.jsxs)(s.Z,{value:Z,onChange:async e=>{const t=e.target.value;k(t);try{const e=await n.Z.get(`http://localhost:5000/api/departments/categories/${a}/${t}`);v(e.data)}catch(r){console.error(`Error fetching categories for department ${t} in block ${a}:`,r)}E(""),P([])},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},disabled:!a,children:[(0,b.jsx)(i.Z,{value:"",disabled:!0,children:"Select Department"}),j.map((e=>(0,b.jsx)(i.Z,{value:e.name,children:e.name},e._id)))]}),(0,b.jsxs)(s.Z,{value:C,onChange:async e=>{const t=e.target.value;E(t);const r=`http://localhost:5000/api/departments/A/civil/${t}`;try{const e=await n.Z.get(r);P(e.data),(e=>{fetch(e).then((e=>{if(!e.ok)throw new Error("Failed to fetch data");return e.json()})).then((e=>{if(!(e&&e.length>0))throw new Error("Empty JSON response");D(e)})).catch((e=>{console.error("Error fetching data:",e)}))})(r)}catch(s){console.error(`Error fetching ${t} for department ${Z} in block ${a}:`,s)}},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},disabled:!Z,children:[(0,b.jsx)(i.Z,{value:"",disabled:!0,children:"Select Category"}),w.map((e=>(0,b.jsx)(i.Z,{value:e,children:e},e)))]}),(0,b.jsxs)(l.Z,{sx:{width:"100%",overflow:"hidden"},children:[(0,b.jsx)(c.Z,{sx:{maxHeight:440},children:(0,b.jsxs)(o.Z,{stickyHeader:!0,"aria-label":"sticky table",children:[(0,b.jsx)(h.Z,{children:(0,b.jsx)(p.Z,{children:L.length>0&&"object"===typeof L[0]&&Object.keys(L[0]).map((e=>"_id"!==e&&(0,b.jsx)(g.Z,{children:(0,b.jsx)("b",{children:e.toUpperCase()})},e)))})}),(0,b.jsx)(d.Z,{children:L.map(((e,t)=>(0,b.jsx)(p.Z,{children:"object"===typeof e&&Object.keys(e).map((t=>"_id"!==t&&(0,b.jsx)(g.Z,{children:"boolean"===typeof e[t]?e[t]?"Yes":"No":e[t]},t)))},t)))})]})}),(0,b.jsx)(m.Z,{rowsPerPageOptions:[10,25,100],component:"div",count:L.length,rowsPerPage:V,page:S,onPageChange:(e,t)=>{_(t)},onRowsPerPageChange:e=>{$(+e.target.value),_(0)}})]}),R&&(0,b.jsx)("p",{children:"Excel file generated successfully."}),O&&(0,b.jsx)("p",{children:"PDF file generated successfully."})]})}},9726:function(e,t,a){a.d(t,{Z:function(){return h}});var r=a(9860),n=a(7503),s=a(5272),i=a(891),l=a(8119),c=a(6417);var o=e=>{let{color:t,outline:a,size:n,sx:s,...i}=e;const o=(0,r.Z)(),h=t&&!a&&{color:o.palette.background.paper,bgcolor:`${t}.main`},d=a&&{color:t?`${t}.main`:"primary.main",bgcolor:o.palette.background.paper,border:"2px solid",borderColor:t?`${t}.main`:"primary.main"};let p={};switch(n){case"badge":p={width:o.spacing(3.5),height:o.spacing(3.5)};break;case"xs":p={width:o.spacing(4.25),height:o.spacing(4.25)};break;case"sm":p={width:o.spacing(5),height:o.spacing(5)};break;case"lg":p={width:o.spacing(9),height:o.spacing(9)};break;case"xl":p={width:o.spacing(10.25),height:o.spacing(10.25)};break;case"md":p={width:o.spacing(7.5),height:o.spacing(7.5)};break;default:p={}}return(0,c.jsx)(l.Z,{sx:{...h,...d,...p,...s},...i})};var h=e=>{let{title:t,link:a,icon:l}=e;const h=(0,r.Z)();return(0,c.jsx)(n.Z,{title:t||"Reference",placement:"left",children:(0,c.jsxs)(s.Z,{disableRipple:!0,children:[!l&&(0,c.jsx)(o,{component:i.Z,href:a,target:"_blank",alt:"MUI Logo",size:"badge",color:"primary",outline:!0,children:(0,c.jsxs)("svg",{width:"500",height:"500",viewBox:"0 0 500 500",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,c.jsx)("path",{d:"M100 260.9V131L212.5 195.95V239.25L137.5 195.95V282.55L100 260.9Z",fill:h.palette.primary[800]}),(0,c.jsx)("path",{d:"M212.5 195.95L325 131V260.9L250 304.2L212.5 282.55L287.5 239.25V195.95L212.5 239.25V195.95Z",fill:h.palette.primary.main}),(0,c.jsx)("path",{d:"M212.5 282.55V325.85L287.5 369.15V325.85L212.5 282.55Z",fill:h.palette.primary[800]}),(0,c.jsx)("path",{d:"M287.5 369.15L400 304.2V217.6L362.5 239.25V282.55L287.5 325.85V369.15ZM362.5 195.95V152.65L400 131V174.3L362.5 195.95Z",fill:h.palette.primary.main})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"clip0",children:(0,c.jsx)("rect",{width:"300",height:"238.3",fill:"white",transform:"translate(100 131)"})})})]})}),l&&(0,c.jsx)(o,{component:i.Z,href:a,target:"_blank",size:"badge",color:"primary",outline:!0,children:l})]})})}},4060:function(e,t,a){a.r(t);var r=a(7592),n=(a(6261),a(3497)),s=a(5587),i=(a(9726),a(6417));(0,r.ZP)("iframe")((e=>{let{theme:t}=e;return{height:"calc(100vh - 210px)",border:"1px solid",borderColor:t.palette.primary.light}}));t.default=()=>(0,i.jsx)(n.Z,{title:"M Block Details (BIO-TECH)",children:(0,i.jsx)(s.Z,{block:"M",department:"Biotechnology"})})}}]);
\ No newline at end of file
diff --git a/client/build/static/js/4130.62b3d579.chunk.js b/client/build/static/js/4130.62b3d579.chunk.js
new file mode 100644
index 0000000..6bd1df8
--- /dev/null
+++ b/client/build/static/js/4130.62b3d579.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[4130,6261],{6261:function(e,t,a){a.r(t);var r=a(7313),n=a(5662),s=a(2548),i=a(1405),l=a(501),c=a(1629),o=a(6835),h=a(3477),d=a(3467),p=a(4076),g=a(7478),m=a(7649),u=a(8737),x=a(5508),b=(a(8695),a(6417));t.default=()=>{const[e,t]=(0,r.useState)([]),[a,f]=(0,r.useState)(""),[j,y]=(0,r.useState)([]),[Z,k]=(0,r.useState)(""),[w,v]=(0,r.useState)([]),[C,E]=(0,r.useState)(""),[L,P]=(0,r.useState)([]),[S,_]=r.useState(0),[V,$]=r.useState(10),[D,M]=(0,r.useState)(null),[R,O]=(0,r.useState)(!1),[B,F]=(0,r.useState)(!1);(0,r.useEffect)((()=>{(async()=>{try{const e=await n.Z.get("https://cbitmis-backend-3.onrender.com/api/departments/blocks");t(e.data)}catch(e){console.error("Error fetching blocks:",e)}})()}),[]);return(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:"10px"},children:[(0,b.jsx)("button",{onClick:()=>{if(!D)return;const e=Object.keys(D[0]),t=D.map((t=>{const a={};return e.forEach((e=>{a[e]=t[e]})),a})),a=u.P6.json_to_sheet(t),r=u.P6.book_new();u.P6.book_append_sheet(r,a,"posts"),u.NC(r,"postsData.xlsx"),O(!0)},style:{marginRight:"10px"},children:"Generate Excel"}),(0,b.jsx)("button",{onClick:()=>{if(!D)return;const e=new x.jsPDF;e.autoTable({html:"#jsonTable"}),e.save("jsonData.pdf"),F(!0)},children:"Generate PDF"})]}),(0,b.jsxs)(s.Z,{value:a,onChange:async e=>{const t=e.target.value;f(t);try{const e=await n.Z.get(`https://cbitmis-backend-3.onrender.com/api/departments/departments/${t}`);y(e.data)}catch(a){console.error(`Error fetching departments for block ${t}:`,a)}k(""),v([]),E(""),P([])},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},children:[(0,b.jsx)(i.Z,{value:"",disabled:!0,children:"Select Block"}),e.map((e=>(0,b.jsx)(i.Z,{value:e,children:e},e)))]}),(0,b.jsxs)(s.Z,{value:Z,onChange:async e=>{const t=e.target.value;k(t);try{const e=await n.Z.get(`http://localhost:5000/api/departments/categories/${a}/${t}`);v(e.data)}catch(r){console.error(`Error fetching categories for department ${t} in block ${a}:`,r)}E(""),P([])},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},disabled:!a,children:[(0,b.jsx)(i.Z,{value:"",disabled:!0,children:"Select Department"}),j.map((e=>(0,b.jsx)(i.Z,{value:e.name,children:e.name},e._id)))]}),(0,b.jsxs)(s.Z,{value:C,onChange:async e=>{const t=e.target.value;E(t);const r=`http://localhost:5000/api/departments/A/civil/${t}`;try{const e=await n.Z.get(r);P(e.data),(e=>{fetch(e).then((e=>{if(!e.ok)throw new Error("Failed to fetch data");return e.json()})).then((e=>{if(!(e&&e.length>0))throw new Error("Empty JSON response");M(e)})).catch((e=>{console.error("Error fetching data:",e)}))})(r)}catch(s){console.error(`Error fetching ${t} for department ${Z} in block ${a}:`,s)}},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},disabled:!Z,children:[(0,b.jsx)(i.Z,{value:"",disabled:!0,children:"Select Category"}),w.map((e=>(0,b.jsx)(i.Z,{value:e,children:e},e)))]}),(0,b.jsxs)(l.Z,{sx:{width:"100%",overflow:"hidden"},children:[(0,b.jsx)(c.Z,{sx:{maxHeight:440},children:(0,b.jsxs)(o.Z,{stickyHeader:!0,"aria-label":"sticky table",children:[(0,b.jsx)(h.Z,{children:(0,b.jsx)(p.Z,{children:L.length>0&&"object"===typeof L[0]&&Object.keys(L[0]).map((e=>"_id"!==e&&(0,b.jsx)(g.Z,{children:(0,b.jsx)("b",{children:e.toUpperCase()})},e)))})}),(0,b.jsx)(d.Z,{children:L.map(((e,t)=>(0,b.jsx)(p.Z,{children:"object"===typeof e&&Object.keys(e).map((t=>"_id"!==t&&(0,b.jsx)(g.Z,{children:"boolean"===typeof e[t]?e[t]?"Yes":"No":e[t]},t)))},t)))})]})}),(0,b.jsx)(m.Z,{rowsPerPageOptions:[10,25,100],component:"div",count:L.length,rowsPerPage:V,page:S,onPageChange:(e,t)=>{_(t)},onRowsPerPageChange:e=>{$(+e.target.value),_(0)}})]}),R&&(0,b.jsx)("p",{children:"Excel file generated successfully."}),B&&(0,b.jsx)("p",{children:"PDF file generated successfully."})]})}},9726:function(e,t,a){a.d(t,{Z:function(){return h}});var r=a(9860),n=a(7503),s=a(5272),i=a(891),l=a(8119),c=a(6417);var o=e=>{let{color:t,outline:a,size:n,sx:s,...i}=e;const o=(0,r.Z)(),h=t&&!a&&{color:o.palette.background.paper,bgcolor:`${t}.main`},d=a&&{color:t?`${t}.main`:"primary.main",bgcolor:o.palette.background.paper,border:"2px solid",borderColor:t?`${t}.main`:"primary.main"};let p={};switch(n){case"badge":p={width:o.spacing(3.5),height:o.spacing(3.5)};break;case"xs":p={width:o.spacing(4.25),height:o.spacing(4.25)};break;case"sm":p={width:o.spacing(5),height:o.spacing(5)};break;case"lg":p={width:o.spacing(9),height:o.spacing(9)};break;case"xl":p={width:o.spacing(10.25),height:o.spacing(10.25)};break;case"md":p={width:o.spacing(7.5),height:o.spacing(7.5)};break;default:p={}}return(0,c.jsx)(l.Z,{sx:{...h,...d,...p,...s},...i})};var h=e=>{let{title:t,link:a,icon:l}=e;const h=(0,r.Z)();return(0,c.jsx)(n.Z,{title:t||"Reference",placement:"left",children:(0,c.jsxs)(s.Z,{disableRipple:!0,children:[!l&&(0,c.jsx)(o,{component:i.Z,href:a,target:"_blank",alt:"MUI Logo",size:"badge",color:"primary",outline:!0,children:(0,c.jsxs)("svg",{width:"500",height:"500",viewBox:"0 0 500 500",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,c.jsx)("path",{d:"M100 260.9V131L212.5 195.95V239.25L137.5 195.95V282.55L100 260.9Z",fill:h.palette.primary[800]}),(0,c.jsx)("path",{d:"M212.5 195.95L325 131V260.9L250 304.2L212.5 282.55L287.5 239.25V195.95L212.5 239.25V195.95Z",fill:h.palette.primary.main}),(0,c.jsx)("path",{d:"M212.5 282.55V325.85L287.5 369.15V325.85L212.5 282.55Z",fill:h.palette.primary[800]}),(0,c.jsx)("path",{d:"M287.5 369.15L400 304.2V217.6L362.5 239.25V282.55L287.5 325.85V369.15ZM362.5 195.95V152.65L400 131V174.3L362.5 195.95Z",fill:h.palette.primary.main})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"clip0",children:(0,c.jsx)("rect",{width:"300",height:"238.3",fill:"white",transform:"translate(100 131)"})})})]})}),l&&(0,c.jsx)(o,{component:i.Z,href:a,target:"_blank",size:"badge",color:"primary",outline:!0,children:l})]})})}},4130:function(e,t,a){a.r(t);var r=a(7592),n=(a(6261),a(3497)),s=a(5587),i=(a(9726),a(6417));(0,r.ZP)("iframe")((e=>{let{theme:t}=e;return{height:"calc(100vh - 210px)",border:"1px solid",borderColor:t.palette.primary.light}}));t.default=()=>(0,i.jsx)(n.Z,{title:"K Block Details (CHEMICAL)",children:(0,i.jsx)(s.Z,{block:"K",department:"Chemical Engineering"})})}}]);
\ No newline at end of file
diff --git a/client/build/static/js/4207.7d8e1482.chunk.js b/client/build/static/js/4207.7d8e1482.chunk.js
new file mode 100644
index 0000000..e5548b7
--- /dev/null
+++ b/client/build/static/js/4207.7d8e1482.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[4207],{4207:function(e,r,t){t.r(r);var o=t(7592),n=t(1095),l=(t(6261),t(7313)),i=t(3497),s=t(5229),c=(t(9726),t(6417));(0,o.ZP)("iframe")((e=>{let{theme:r}=e;return{height:"calc(100vh - 210px)",border:"1px solid",borderColor:r.palette.primary.light}}));r.default=()=>{const e=(0,l.useRef)(null),r=(0,l.useRef)(null);return(0,c.jsxs)(i.Z,{title:"L BLOCK INFRASTRUCTURE",sx:{textTransform:"uppercase"},children:[(0,c.jsxs)("div",{style:{marginBottom:"10px"},children:[(0,c.jsx)(n.Z,{onClick:()=>{e.current.scrollIntoView({behavior:"smooth"})},sx:{textTransform:"none",marginRight:"2px",width:"49%",border:"1px solid #941b1c","&:hover":{backgroundColor:"#941b1c",color:"#ffffff"}},children:"IT"}),(0,c.jsx)(n.Z,{onClick:()=>{r.current.scrollIntoView({behavior:"smooth"})},sx:{textTransform:"none",width:"49%",marginLeft:"1px",border:"1px solid #941b1c","&:hover":{backgroundColor:"#941b1c",color:"#ffffff"}},children:"EEE"})]}),(0,c.jsx)(i.Z,{title:"IT DETAILS",sx:{textAlign:"center",color:"#941b1c"},ref:e,children:(0,c.jsx)(s.Z,{block:"L",department:"IT"})}),(0,c.jsx)(i.Z,{title:"EEE DETAILS",ref:r,children:(0,c.jsx)(s.Z,{block:"L",department:"EEE"})})]})}}}]);
\ No newline at end of file
diff --git a/client/build/static/js/4391.2e46c988.chunk.js b/client/build/static/js/4391.2e46c988.chunk.js
new file mode 100644
index 0000000..d7880e6
--- /dev/null
+++ b/client/build/static/js/4391.2e46c988.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[4391],{4391:function(e,t,r){r.r(t);var a=r(7592),i=(r(6261),r(3497)),n=r(5229),l=(r(9726),r(6417));(0,a.ZP)("iframe")((e=>{let{theme:t}=e;return{height:"calc(100vh - 210px)",border:"1px solid",borderColor:t.palette.primary.light}}));t.default=()=>(0,l.jsx)(i.Z,{title:"D Block Details",children:(0,l.jsx)(n.Z,{block:"D",department:"MECHANICAL"})})}}]);
\ No newline at end of file
diff --git a/client/build/static/js/4399.f42d4e5e.chunk.js b/client/build/static/js/4399.f42d4e5e.chunk.js
new file mode 100644
index 0000000..b9076de
--- /dev/null
+++ b/client/build/static/js/4399.f42d4e5e.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[4399,4849,1061,4980,7201,1399,225,665,525,3481,9786],{1095:function(e,o,t){t.d(o,{Z:function(){return $}});var n=t(3366),r=t(7462),a=t(7313),i=t(4146),l=t(500),s=t(1921),c=t(1468),d=t(7592),u=t(7342),p=t(5272),v=t(1615),m=t(7430),h=t(2298);function b(e){return(0,h.ZP)("MuiButton",e)}var x=(0,m.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var g=a.createContext({});var S=a.createContext(void 0),y=t(6417);const f=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],z=e=>(0,r.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Z=(0,d.ZP)(p.Z,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,o[t.variant],o[`${t.variant}${(0,v.Z)(t.color)}`],o[`size${(0,v.Z)(t.size)}`],o[`${t.variant}Size${(0,v.Z)(t.size)}`],"inherit"===t.color&&o.colorInherit,t.disableElevation&&o.disableElevation,t.fullWidth&&o.fullWidth]}})((e=>{let{theme:o,ownerState:t}=e;var n,a;const i="light"===o.palette.mode?o.palette.grey[300]:o.palette.grey[800],l="light"===o.palette.mode?o.palette.grey.A100:o.palette.grey[700];return(0,r.Z)({},o.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":(0,r.Z)({textDecoration:"none",backgroundColor:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette[t.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(o.vars||o).palette[t.color].main}`,backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette[t.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(o.vars||o).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[t.color].main}}),"&:active":(0,r.Z)({},"contained"===t.variant&&{boxShadow:(o.vars||o).shadows[8]}),[`&.${x.focusVisible}`]:(0,r.Z)({},"contained"===t.variant&&{boxShadow:(o.vars||o).shadows[6]}),[`&.${x.disabled}`]:(0,r.Z)({color:(o.vars||o).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(o.vars||o).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].main,border:o.vars?`1px solid rgba(${o.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(o.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:o.vars?o.vars.palette.text.primary:null==(n=(a=o.palette).getContrastText)?void 0:n.call(a,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:i,boxShadow:(o.vars||o).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].contrastText,backgroundColor:(o.vars||o).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:o}=e;return o.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${x.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${x.disabled}`]:{boxShadow:"none"}}})),w=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.startIcon,o[`iconSize${(0,v.Z)(t.size)}`]]}})((e=>{let{ownerState:o}=e;return(0,r.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===o.size&&{marginLeft:-2},z(o))})),C=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.endIcon,o[`iconSize${(0,v.Z)(t.size)}`]]}})((e=>{let{ownerState:o}=e;return(0,r.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===o.size&&{marginRight:-2},z(o))}));var $=a.forwardRef((function(e,o){const t=a.useContext(g),c=a.useContext(S),d=(0,l.Z)(t,e),p=(0,u.Z)({props:d,name:"MuiButton"}),{children:m,color:h="primary",component:x="button",className:z,disabled:$=!1,disableElevation:k=!1,disableFocusRipple:I=!1,endIcon:R,focusVisibleClassName:W,fullWidth:B=!1,size:M="medium",startIcon:F,type:E,variant:N="text"}=p,V=(0,n.Z)(p,f),L=(0,r.Z)({},p,{color:h,component:x,disabled:$,disableElevation:k,disableFocusRipple:I,fullWidth:B,size:M,type:E,variant:N}),P=(e=>{const{color:o,disableElevation:t,fullWidth:n,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,v.Z)(o)}`,`size${(0,v.Z)(a)}`,`${i}Size${(0,v.Z)(a)}`,"inherit"===o&&"colorInherit",t&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,v.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,v.Z)(a)}`]},d=(0,s.Z)(c,b,l);return(0,r.Z)({},l,d)})(L),T=F&&(0,y.jsx)(w,{className:P.startIcon,ownerState:L,children:F}),D=R&&(0,y.jsx)(C,{className:P.endIcon,ownerState:L,children:R}),O=c||"";return(0,y.jsxs)(Z,(0,r.Z)({ownerState:L,className:(0,i.Z)(t.className,P.root,z,O),component:x,disabled:$,focusRipple:!I,focusVisibleClassName:(0,i.Z)(P.focusVisible,W),ref:o,type:E},V,{classes:P,children:[T,m,D]}))}))},891:function(e,o,t){t.d(o,{Z:function(){return C}});var n=t(3366),r=t(7462),a=t(7313),i=t(4146),l=t(1921),s=t(1615),c=t(7592),d=t(7342),u=t(3427),p=t(6983),v=t(1113),m=t(7430),h=t(2298);function b(e){return(0,h.ZP)("MuiLink",e)}var x=(0,m.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),g=t(6428),S=t(1468);const y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var f=e=>{let{theme:o,ownerState:t}=e;const n=(e=>y[e]||e)(t.color),r=(0,g.DW)(o,`palette.${n}`,!1)||t.color,a=(0,g.DW)(o,`palette.${n}Channel`);return"vars"in o&&a?`rgba(${a} / 0.4)`:(0,S.Fq)(r,.4)},z=t(6417);const Z=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],w=(0,c.ZP)(v.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,o[`underline${(0,s.Z)(t.underline)}`],"button"===t.component&&o.button]}})((e=>{let{theme:o,ownerState:t}=e;return(0,r.Z)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,r.Z)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:f({theme:o,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${x.focusVisible}`]:{outline:"auto"}})}));var C=a.forwardRef((function(e,o){const t=(0,d.Z)({props:e,name:"MuiLink"}),{className:c,color:v="primary",component:m="a",onBlur:h,onFocus:x,TypographyClasses:g,underline:S="always",variant:f="inherit",sx:C}=t,$=(0,n.Z)(t,Z),{isFocusVisibleRef:k,onBlur:I,onFocus:R,ref:W}=(0,u.Z)(),[B,M]=a.useState(!1),F=(0,p.Z)(o,W),E=(0,r.Z)({},t,{color:v,component:m,focusVisible:B,underline:S,variant:f}),N=(e=>{const{classes:o,component:t,focusVisible:n,underline:r}=e,a={root:["root",`underline${(0,s.Z)(r)}`,"button"===t&&"button",n&&"focusVisible"]};return(0,l.Z)(a,b,o)})(E);return(0,z.jsx)(w,(0,r.Z)({color:v,className:(0,i.Z)(N.root,c),classes:g,component:m,onBlur:e=>{I(e),!1===k.current&&M(!1),h&&h(e)},onFocus:e=>{R(e),!0===k.current&&M(!0),x&&x(e)},ref:F,ownerState:E,variant:f,sx:[...Object.keys(y).includes(v)?[]:[{color:v}],...Array.isArray(C)?C:[C]]},$))}))}}]);
\ No newline at end of file
diff --git a/client/build/static/js/4538.86490d0f.chunk.js b/client/build/static/js/4538.86490d0f.chunk.js
new file mode 100644
index 0000000..57c7ce7
--- /dev/null
+++ b/client/build/static/js/4538.86490d0f.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[4538,6261],{6261:function(e,t,a){a.r(t);var r=a(7313),n=a(5662),o=a(2548),i=a(1405),s=a(501),l=a(1629),c=a(6835),d=a(3477),p=a(3467),h=a(4076),u=a(7478),x=a(7649),m=a(8737),g=a(5508),y=(a(8695),a(6417));t.default=()=>{const[e,t]=(0,r.useState)([]),[a,b]=(0,r.useState)(""),[f,j]=(0,r.useState)([]),[Z,v]=(0,r.useState)(""),[k,w]=(0,r.useState)([]),[$,C]=(0,r.useState)(""),[P,S]=(0,r.useState)([]),[_,E]=r.useState(0),[R,F]=r.useState(10),[T,L]=(0,r.useState)(null),[D,V]=(0,r.useState)(!1),[O,M]=(0,r.useState)(!1);(0,r.useEffect)((()=>{(async()=>{try{const e=await n.Z.get("https://cbitmis-backend-3.onrender.com/api/departments/blocks");t(e.data)}catch(e){console.error("Error fetching blocks:",e)}})()}),[]);return(0,y.jsxs)("div",{children:[(0,y.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:"10px"},children:[(0,y.jsx)("button",{onClick:()=>{if(!T)return;const e=Object.keys(T[0]),t=T.map((t=>{const a={};return e.forEach((e=>{a[e]=t[e]})),a})),a=m.P6.json_to_sheet(t),r=m.P6.book_new();m.P6.book_append_sheet(r,a,"posts"),m.NC(r,"postsData.xlsx"),V(!0)},style:{marginRight:"10px"},children:"Generate Excel"}),(0,y.jsx)("button",{onClick:()=>{if(!T)return;const e=new g.jsPDF;e.autoTable({html:"#jsonTable"}),e.save("jsonData.pdf"),M(!0)},children:"Generate PDF"})]}),(0,y.jsxs)(o.Z,{value:a,onChange:async e=>{const t=e.target.value;b(t);try{const e=await n.Z.get(`https://cbitmis-backend-3.onrender.com/api/departments/departments/${t}`);j(e.data)}catch(a){console.error(`Error fetching departments for block ${t}:`,a)}v(""),w([]),C(""),S([])},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},children:[(0,y.jsx)(i.Z,{value:"",disabled:!0,children:"Select Block"}),e.map((e=>(0,y.jsx)(i.Z,{value:e,children:e},e)))]}),(0,y.jsxs)(o.Z,{value:Z,onChange:async e=>{const t=e.target.value;v(t);try{const e=await n.Z.get(`http://localhost:5000/api/departments/categories/${a}/${t}`);w(e.data)}catch(r){console.error(`Error fetching categories for department ${t} in block ${a}:`,r)}C(""),S([])},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},disabled:!a,children:[(0,y.jsx)(i.Z,{value:"",disabled:!0,children:"Select Department"}),f.map((e=>(0,y.jsx)(i.Z,{value:e.name,children:e.name},e._id)))]}),(0,y.jsxs)(o.Z,{value:$,onChange:async e=>{const t=e.target.value;C(t);const r=`http://localhost:5000/api/departments/A/civil/${t}`;try{const e=await n.Z.get(r);S(e.data),(e=>{fetch(e).then((e=>{if(!e.ok)throw new Error("Failed to fetch data");return e.json()})).then((e=>{if(!(e&&e.length>0))throw new Error("Empty JSON response");L(e)})).catch((e=>{console.error("Error fetching data:",e)}))})(r)}catch(o){console.error(`Error fetching ${t} for department ${Z} in block ${a}:`,o)}},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},disabled:!Z,children:[(0,y.jsx)(i.Z,{value:"",disabled:!0,children:"Select Category"}),k.map((e=>(0,y.jsx)(i.Z,{value:e,children:e},e)))]}),(0,y.jsxs)(s.Z,{sx:{width:"100%",overflow:"hidden"},children:[(0,y.jsx)(l.Z,{sx:{maxHeight:440},children:(0,y.jsxs)(c.Z,{stickyHeader:!0,"aria-label":"sticky table",children:[(0,y.jsx)(d.Z,{children:(0,y.jsx)(h.Z,{children:P.length>0&&"object"===typeof P[0]&&Object.keys(P[0]).map((e=>"_id"!==e&&(0,y.jsx)(u.Z,{children:(0,y.jsx)("b",{children:e.toUpperCase()})},e)))})}),(0,y.jsx)(p.Z,{children:P.map(((e,t)=>(0,y.jsx)(h.Z,{children:"object"===typeof e&&Object.keys(e).map((t=>"_id"!==t&&(0,y.jsx)(u.Z,{children:"boolean"===typeof e[t]?e[t]?"Yes":"No":e[t]},t)))},t)))})]})}),(0,y.jsx)(x.Z,{rowsPerPageOptions:[10,25,100],component:"div",count:P.length,rowsPerPage:R,page:_,onPageChange:(e,t)=>{E(t)},onRowsPerPageChange:e=>{F(+e.target.value),E(0)}})]}),D&&(0,y.jsx)("p",{children:"Excel file generated successfully."}),O&&(0,y.jsx)("p",{children:"PDF file generated successfully."})]})}},9726:function(e,t,a){a.d(t,{Z:function(){return d}});var r=a(9860),n=a(7503),o=a(5272),i=a(891),s=a(8119),l=a(6417);var c=e=>{let{color:t,outline:a,size:n,sx:o,...i}=e;const c=(0,r.Z)(),d=t&&!a&&{color:c.palette.background.paper,bgcolor:`${t}.main`},p=a&&{color:t?`${t}.main`:"primary.main",bgcolor:c.palette.background.paper,border:"2px solid",borderColor:t?`${t}.main`:"primary.main"};let h={};switch(n){case"badge":h={width:c.spacing(3.5),height:c.spacing(3.5)};break;case"xs":h={width:c.spacing(4.25),height:c.spacing(4.25)};break;case"sm":h={width:c.spacing(5),height:c.spacing(5)};break;case"lg":h={width:c.spacing(9),height:c.spacing(9)};break;case"xl":h={width:c.spacing(10.25),height:c.spacing(10.25)};break;case"md":h={width:c.spacing(7.5),height:c.spacing(7.5)};break;default:h={}}return(0,l.jsx)(s.Z,{sx:{...d,...p,...h,...o},...i})};var d=e=>{let{title:t,link:a,icon:s}=e;const d=(0,r.Z)();return(0,l.jsx)(n.Z,{title:t||"Reference",placement:"left",children:(0,l.jsxs)(o.Z,{disableRipple:!0,children:[!s&&(0,l.jsx)(c,{component:i.Z,href:a,target:"_blank",alt:"MUI Logo",size:"badge",color:"primary",outline:!0,children:(0,l.jsxs)("svg",{width:"500",height:"500",viewBox:"0 0 500 500",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,l.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,l.jsx)("path",{d:"M100 260.9V131L212.5 195.95V239.25L137.5 195.95V282.55L100 260.9Z",fill:d.palette.primary[800]}),(0,l.jsx)("path",{d:"M212.5 195.95L325 131V260.9L250 304.2L212.5 282.55L287.5 239.25V195.95L212.5 239.25V195.95Z",fill:d.palette.primary.main}),(0,l.jsx)("path",{d:"M212.5 282.55V325.85L287.5 369.15V325.85L212.5 282.55Z",fill:d.palette.primary[800]}),(0,l.jsx)("path",{d:"M287.5 369.15L400 304.2V217.6L362.5 239.25V282.55L287.5 325.85V369.15ZM362.5 195.95V152.65L400 131V174.3L362.5 195.95Z",fill:d.palette.primary.main})]}),(0,l.jsx)("defs",{children:(0,l.jsx)("clipPath",{id:"clip0",children:(0,l.jsx)("rect",{width:"300",height:"238.3",fill:"white",transform:"translate(100 131)"})})})]})}),s&&(0,l.jsx)(c,{component:i.Z,href:a,target:"_blank",size:"badge",color:"primary",outline:!0,children:s})]})})}},3497:function(e,t,a){var r=a(7313),n=a(9860),o=a(3428),i=a(4641),s=a(1113),l=a(9536),c=a(3405),d=a(6417);const p={"& .MuiCardHeader-action":{mr:0}},h=(0,r.forwardRef)(((e,t)=>{let{border:a=!0,boxShadow:r,children:h,content:u=!0,contentClass:x="",contentSX:m={},darkTitle:g,secondary:y,shadow:b,sx:f={},title:j,...Z}=e;const v=(0,n.Z)();return(0,d.jsxs)(o.Z,{ref:t,...Z,sx:{border:a?"1px solid":"none",borderColor:v.palette.primary[200]+25,":hover":{boxShadow:r?b||"0 2px 14px 0 rgb(32 40 45 / 8%)":"inherit"},...f},children:[j&&(0,d.jsx)(i.Z,{sx:p,title:g?(0,d.jsx)(s.Z,{variant:"h3",children:j}):j,action:y}),j&&(0,d.jsx)(l.Z,{}),u&&(0,d.jsx)(c.Z,{sx:m,className:x,children:h}),!u&&h]})}));t.Z=h},5229:function(e,t,a){a.d(t,{Z:function(){return A}});var r=a(7313),n=a(5662),o=a(501),i=a(1629),s=a(6835),l=a(3477),c=a(3467),d=a(4076),p=a(7478),h=a(7649),u=a(1095),x=a(8737),m=a(5508),g=(a(8695),a(1405)),y=a(2548),b=a(7462),f=a(3366),j=a(4146),Z=a(1921),v=a(8334),k=a(7592),w=a(7342),$=a(2461),C=a(7482),P=a(7843),S=a(3306),_=a(1550),E=a(5480),R=a(7430),F=a(2298);function T(e){return(0,F.ZP)("MuiTextField",e)}(0,R.Z)("MuiTextField",["root"]);var L=a(6417);const D=["autoComplete","autoFocus","children","className","color","defaultValue","disabled","error","FormHelperTextProps","fullWidth","helperText","id","InputLabelProps","inputProps","InputProps","inputRef","label","maxRows","minRows","multiline","name","onBlur","onChange","onFocus","placeholder","required","rows","select","SelectProps","type","value","variant"],V={standard:$.Z,filled:C.Z,outlined:P.Z},O=(0,k.ZP)(_.Z,{name:"MuiTextField",slot:"Root",overridesResolver:(e,t)=>t.root})({});var M=r.forwardRef((function(e,t){const a=(0,w.Z)({props:e,name:"MuiTextField"}),{autoComplete:r,autoFocus:n=!1,children:o,className:i,color:s="primary",defaultValue:l,disabled:c=!1,error:d=!1,FormHelperTextProps:p,fullWidth:h=!1,helperText:u,id:x,InputLabelProps:m,inputProps:g,InputProps:k,inputRef:$,label:C,maxRows:P,minRows:_,multiline:R=!1,name:F,onBlur:M,onChange:N,onFocus:B,placeholder:A,required:I=!1,rows:H,select:W=!1,SelectProps:U,type:q,value:z,variant:G="outlined"}=a,Y=(0,f.Z)(a,D),J=(0,b.Z)({},a,{autoFocus:n,color:s,disabled:c,error:d,fullWidth:h,multiline:R,required:I,select:W,variant:G}),X=(e=>{const{classes:t}=e;return(0,Z.Z)({root:["root"]},T,t)})(J);const K={};"outlined"===G&&(m&&"undefined"!==typeof m.shrink&&(K.notched=m.shrink),K.label=C),W&&(U&&U.native||(K.id=void 0),K["aria-describedby"]=void 0);const Q=(0,v.Z)(x),ee=u&&Q?`${Q}-helper-text`:void 0,te=C&&Q?`${Q}-label`:void 0,ae=V[G],re=(0,L.jsx)(ae,(0,b.Z)({"aria-describedby":ee,autoComplete:r,autoFocus:n,defaultValue:l,fullWidth:h,multiline:R,name:F,rows:H,maxRows:P,minRows:_,type:q,value:z,id:Q,inputRef:$,onBlur:M,onChange:N,onFocus:B,placeholder:A,inputProps:g},K,k));return(0,L.jsxs)(O,(0,b.Z)({className:(0,j.Z)(X.root,i),disabled:c,error:d,fullWidth:h,ref:t,required:I,color:s,variant:G,ownerState:J},Y,{children:[null!=C&&""!==C&&(0,L.jsx)(S.Z,(0,b.Z)({htmlFor:Q,id:te},m,{children:C})),W?(0,L.jsx)(y.Z,(0,b.Z)({"aria-describedby":ee,id:Q,labelId:te,value:z,input:re},U,{children:o})):re,u&&(0,L.jsx)(E.Z,(0,b.Z)({id:ee},p,{children:u}))]}))})),N=a(5281),B=a(4953);var A=e=>{let{block:t,department:a}=e;const[b,f]=(0,r.useState)([]),[j,Z]=(0,r.useState)("Labs"),[v,k]=(0,r.useState)([]),[w,$]=(0,r.useState)(null),[C,P]=(0,r.useState)({}),[S,_]=(0,r.useState)(0),[E,R]=(0,r.useState)(10),[F,T]=(0,r.useState)(!1),[D,V]=(0,r.useState)(!1),[O,A]=(0,r.useState)(null),[I,H]=(0,r.useState)(null);(0,r.useEffect)((()=>{(async()=>{try{const e=await n.Z.get(`https://miscbit-10.onrender.com/api/block/categories/${t}/${a}`);f(e.data)}catch(I){console.error(`Error fetching categories for department ${a} in block ${t}:`,I)}})()}),[t,a]),(0,r.useEffect)((()=>{"All Data"!==j&&U()}),[j,t,a]),(0,r.useEffect)((()=>{Array.isArray(v)||k([])}),[v]);const W=()=>{k((e=>e.map((e=>e._id===w?C:e)))),$(null)},U=async()=>{V(!0);const e=`https://miscbit-10.onrender.com/api/block/category/data/${t}/${a}/${j}`;try{const t=await n.Z.get(e);t.data&&"object"===typeof t.data?k(t.data[j]||[]):k([])}catch(I){console.error(`Error fetching data for category ${j} in department ${a} in block ${t}:`,I),k([])}finally{V(!1)}};return(0,L.jsxs)("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",padding:"20px"},children:[(0,L.jsx)("div",{style:{marginBottom:"20px",width:"100%",display:"flex",flexWrap:"wrap",justifyContent:"center"},children:(0,L.jsxs)(y.Z,{value:j,onChange:e=>(async e=>{V(!0),Z(e);const r="All Data"===e?`https://miscbit-10.onrender.com/api/block/department/data/${t}/${a}`:`https://miscbit-10.onrender.com/api/block/category/data/${t}/${a}/${e}`;try{const t=await n.Z.get(r);t.data&&"object"===typeof t.data?k(t.data[e]||[]):k([])}catch(I){console.error(`Error fetching data for category ${e} in department ${a} in block ${t}:`,I),k([])}finally{V(!1)}})(e.target.value),style:{width:"100%",marginBottom:"10px",borderRadius:"4px"},displayEmpty:!0,inputProps:{"aria-label":"Select category"},children:[(0,L.jsx)(g.Z,{value:"",disabled:!0,children:"Select a category"}),b.map((e=>"Student"!==e&&"Faculty"!==e&&"Faculty"!==e&&"Research"!==e&&"Timetables"!==e&&"Committe"!==e&&"EventsOrganized"!==e&&"EventsParticipated"!==e&&"Clubs"!==e&&"Mentoring"!==e&&(0,L.jsx)(g.Z,{value:e,children:e},e)))]})}),(0,L.jsxs)(o.Z,{style:{width:"100%",overflow:"hidden",marginTop:"20px"},children:[(0,L.jsx)(i.Z,{style:{maxHeight:"440px",overflowY:"auto"},children:(0,L.jsxs)(s.Z,{stickyHeader:!0,"aria-label":"sticky table",children:[(0,L.jsx)(l.Z,{children:(0,L.jsxs)(d.Z,{children:[v.length>0&&Object.keys(v[0]).map((e=>"_id"!==e&&(0,L.jsx)(p.Z,{children:(0,L.jsx)("strong",{children:e.toUpperCase()})},e))),(0,L.jsx)(p.Z,{children:(0,L.jsx)("strong",{children:"ACTIONS"})})]})}),(0,L.jsx)(c.Z,{children:D?(0,L.jsx)(d.Z,{children:(0,L.jsx)(p.Z,{colSpan:Object.keys(v[0]||{}).length+1,style:{textAlign:"center"},children:(0,L.jsx)(N.Z,{})})}):0===v.length?(0,L.jsx)(d.Z,{children:(0,L.jsx)(p.Z,{colSpan:Object.keys(v[0]||{}).length+1,style:{textAlign:"center"},children:"No data available"})}):v.slice(S*E,S*E+E).map((e=>(0,L.jsxs)(d.Z,{children:[Object.keys(e).map((t=>"_id"!==t&&(0,L.jsx)(p.Z,{children:w===e._id?(0,L.jsx)(M,{value:C[t],onChange:e=>{return a=e,r=t,P({...C,[r]:a.target.value}),void T(!0);var a,r},fullWidth:!0}):"boolean"===typeof e[t]?e[t]?"Yes":"No":e[t]},t))),(0,L.jsx)(p.Z,{children:w===e._id?(0,L.jsx)(u.Z,{onClick:W,variant:"contained",color:"secondary",children:"Save"}):(0,L.jsxs)(L.Fragment,{children:[(0,L.jsx)(u.Z,{onClick:()=>(e=>{const t=v.find((t=>t._id===e));$(e),P({...t}),A({...t})})(e._id),variant:"contained",color:"primary",style:{marginRight:"10px",marginTop:"7px"},children:"Modify"}),(0,L.jsx)(u.Z,{onClick:()=>(async e=>{try{const r=await n.Z.delete(`https://miscbit-10.onrender.com/api/block/delete/${t}/${a}/${e}`);200===r.status?(console.log("Data deleted successfully"),k((t=>t.filter((t=>t._id!==e)))),T(!0)):console.error("Unexpected response:",r)}catch(I){console.error("Error deleting data:",I)}})(e._id),variant:"contained",color:"error",style:{marginRight:"10px",marginTop:"7px"},children:"Delete"})]})})]},e._id)))})]})}),(0,L.jsx)(h.Z,{style:{marginTop:"20px"},rowsPerPageOptions:[10,25,100],component:"div",count:v.length,rowsPerPage:E,page:S,onPageChange:(e,t)=>{_(t)},onRowsPerPageChange:e=>{R(+e.target.value),_(0)}})]}),(0,L.jsxs)("div",{style:{marginTop:"20px",display:"flex",justifyContent:"center"},className:"button-container",children:[(0,L.jsx)(u.Z,{onClick:()=>{const e=Object.keys(v[0]),a=v.map((t=>{const a={};return e.forEach((e=>{"_id"!==e&&(a[e]=t[e])})),a})),r=x.P6.json_to_sheet(a),n=x.P6.book_new();x.P6.book_append_sheet(n,r,`${j}`),x.NC(n,`${t}Block-${j}-Data.xlsx`)},style:{marginRight:"10px",marginBottom:"10px"},variant:"contained",color:"primary",children:"Generate Excel"}),(0,L.jsx)(u.Z,{onClick:()=>{const e=Object.keys(v[0]).filter((e=>"_id"!==e)),a=v.map((t=>e.map((e=>"boolean"===typeof t[e]?t[e]?"Yes":"No":t[e])))),r=new m.jsPDF;r.autoTable({head:[e],body:a}),r.save(`${t}Block-${j}-Data.pdf`)},style:{marginBottom:"10px"},variant:"contained",color:"primary",children:"Generate PDF"})]}),F&&(0,L.jsx)(u.Z,{variant:"contained",color:"primary",onClick:async()=>{if(!O)return void console.error("Old data is not defined");const e={oldData:O,newData:C,selectedCategory:j};try{console.log("Submitting changes..."),await n.Z.put(`https://miscbit-10.onrender.com/api/block/update/${t}/${a}`,e),console.log("Updated department data:",v),console.log("Data submitted successfully"),T(!1),alert("Changes submitted successfully!")}catch(I){console.error("Error submitting data:",I)}},style:{position:"fixed",bottom:"20px",right:"25px"},children:"Submit"}),I&&(0,L.jsx)(B.Z,{severity:"error",style:{marginTop:"20px"},children:I})]})}}}]);
\ No newline at end of file
diff --git a/client/build/static/js/4669.348756e4.chunk.js b/client/build/static/js/4669.348756e4.chunk.js
new file mode 100644
index 0000000..eb3be30
--- /dev/null
+++ b/client/build/static/js/4669.348756e4.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[4669],{4669:function(e,t,a){a.r(t);var i=a(7592),l=(a(6261),a(3497)),r=a(5229),n=(a(9726),a(6417));(0,i.ZP)("iframe")((e=>{let{theme:t}=e;return{height:"calc(100vh - 210px)",border:"1px solid",borderColor:t.palette.primary.light}}));t.default=()=>(0,n.jsx)(l.Z,{title:"H Block Details (No data available as of now)",children:(0,n.jsx)(r.Z,{block:"H",department:"chemlabs"})})}}]);
\ No newline at end of file
diff --git a/client/build/static/js/4774.075ec3a2.chunk.js b/client/build/static/js/4774.075ec3a2.chunk.js
new file mode 100644
index 0000000..a4f2aed
--- /dev/null
+++ b/client/build/static/js/4774.075ec3a2.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[4774],{4641:function(e,t,o){o.d(t,{Z:function(){return x}});var n=o(3366),r=o(7462),i=o(7313),a=o(4146),s=o(1921),p=o(1113),l=o(7342),c=o(7592),u=o(7430),f=o(2298);function d(e){return(0,f.ZP)("MuiCardHeader",e)}var m=(0,u.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"]),h=o(6417);const v=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],g=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,t)=>(0,r.Z)({[`& .${m.title}`]:t.title,[`& .${m.subheader}`]:t.subheader},t.root)})({display:"flex",alignItems:"center",padding:16}),y=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,t)=>t.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),b=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,t)=>t.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),w=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,t)=>t.content})({flex:"1 1 auto"});var x=i.forwardRef((function(e,t){const o=(0,l.Z)({props:e,name:"MuiCardHeader"}),{action:i,avatar:c,className:u,component:f="div",disableTypography:m=!1,subheader:x,subheaderTypographyProps:O,title:Z,titleTypographyProps:P}=o,R=(0,n.Z)(o,v),T=(0,r.Z)({},o,{component:f,disableTypography:m}),E=(e=>{const{classes:t}=e;return(0,s.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},d,t)})(T);let M=Z;null==M||M.type===p.Z||m||(M=(0,h.jsx)(p.Z,(0,r.Z)({variant:c?"body2":"h5",className:E.title,component:"span",display:"block"},P,{children:M})));let j=x;return null==j||j.type===p.Z||m||(j=(0,h.jsx)(p.Z,(0,r.Z)({variant:c?"body2":"body1",className:E.subheader,color:"text.secondary",component:"span",display:"block"},O,{children:j}))),(0,h.jsxs)(g,(0,r.Z)({className:(0,a.Z)(E.root,u),as:f,ref:t,ownerState:T},R,{children:[c&&(0,h.jsx)(y,{className:E.avatar,ownerState:T,children:c}),(0,h.jsxs)(w,{className:E.content,ownerState:T,children:[M,j]}),i&&(0,h.jsx)(b,{className:E.action,ownerState:T,children:i})]}))}))},7503:function(e,t,o){o.d(t,{Z:function(){return yt}});var n=o(3366),r=o(7462),i=o(7313),a=o(4146),s=o(7007),p=o(1921),l=o(3637),c=o(1468),u=o(7592),f=o(9860),d=o(7342),m=o(1615),h=o(3365),v=o(1577),g=o(5094),y=o(2504);function b(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function w(e){return e instanceof b(e).Element||e instanceof Element}function x(e){return e instanceof b(e).HTMLElement||e instanceof HTMLElement}function O(e){return"undefined"!==typeof ShadowRoot&&(e instanceof b(e).ShadowRoot||e instanceof ShadowRoot)}var Z=Math.max,P=Math.min,R=Math.round;function T(){var e=navigator.userAgentData;return null!=e&&e.brands&&Array.isArray(e.brands)?e.brands.map((function(e){return e.brand+"/"+e.version})).join(" "):navigator.userAgent}function E(){return!/^((?!chrome|android).)*safari/i.test(T())}function M(e,t,o){void 0===t&&(t=!1),void 0===o&&(o=!1);var n=e.getBoundingClientRect(),r=1,i=1;t&&x(e)&&(r=e.offsetWidth>0&&R(n.width)/e.offsetWidth||1,i=e.offsetHeight>0&&R(n.height)/e.offsetHeight||1);var a=(w(e)?b(e):window).visualViewport,s=!E()&&o,p=(n.left+(s&&a?a.offsetLeft:0))/r,l=(n.top+(s&&a?a.offsetTop:0))/i,c=n.width/r,u=n.height/i;return{width:c,height:u,top:l,right:p+c,bottom:l+u,left:p,x:p,y:l}}function j(e){var t=b(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function k(e){return e?(e.nodeName||"").toLowerCase():null}function D(e){return((w(e)?e.ownerDocument:e.document)||window.document).documentElement}function C(e){return M(D(e)).left+j(e).scrollLeft}function S(e){return b(e).getComputedStyle(e)}function A(e){var t=S(e),o=t.overflow,n=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(o+r+n)}function L(e,t,o){void 0===o&&(o=!1);var n=x(t),r=x(t)&&function(e){var t=e.getBoundingClientRect(),o=R(t.width)/e.offsetWidth||1,n=R(t.height)/e.offsetHeight||1;return 1!==o||1!==n}(t),i=D(t),a=M(e,r,o),s={scrollLeft:0,scrollTop:0},p={x:0,y:0};return(n||!n&&!o)&&(("body"!==k(t)||A(i))&&(s=function(e){return e!==b(e)&&x(e)?{scrollLeft:(t=e).scrollLeft,scrollTop:t.scrollTop}:j(e);var t}(t)),x(t)?((p=M(t,!0)).x+=t.clientLeft,p.y+=t.clientTop):i&&(p.x=C(i))),{x:a.left+s.scrollLeft-p.x,y:a.top+s.scrollTop-p.y,width:a.width,height:a.height}}function W(e){var t=M(e),o=e.offsetWidth,n=e.offsetHeight;return Math.abs(t.width-o)<=1&&(o=t.width),Math.abs(t.height-n)<=1&&(n=t.height),{x:e.offsetLeft,y:e.offsetTop,width:o,height:n}}function B(e){return"html"===k(e)?e:e.assignedSlot||e.parentNode||(O(e)?e.host:null)||D(e)}function H(e){return["html","body","#document"].indexOf(k(e))>=0?e.ownerDocument.body:x(e)&&A(e)?e:H(B(e))}function N(e,t){var o;void 0===t&&(t=[]);var n=H(e),r=n===(null==(o=e.ownerDocument)?void 0:o.body),i=b(n),a=r?[i].concat(i.visualViewport||[],A(n)?n:[]):n,s=t.concat(a);return r?s:s.concat(N(B(a)))}function $(e){return["table","td","th"].indexOf(k(e))>=0}function I(e){return x(e)&&"fixed"!==S(e).position?e.offsetParent:null}function F(e){for(var t=b(e),o=I(e);o&&$(o)&&"static"===S(o).position;)o=I(o);return o&&("html"===k(o)||"body"===k(o)&&"static"===S(o).position)?t:o||function(e){var t=/firefox/i.test(T());if(/Trident/i.test(T())&&x(e)&&"fixed"===S(e).position)return null;var o=B(e);for(O(o)&&(o=o.host);x(o)&&["html","body"].indexOf(k(o))<0;){var n=S(o);if("none"!==n.transform||"none"!==n.perspective||"paint"===n.contain||-1!==["transform","perspective"].indexOf(n.willChange)||t&&"filter"===n.willChange||t&&n.filter&&"none"!==n.filter)return o;o=o.parentNode}return null}(e)||t}var V="top",q="bottom",U="right",_="left",z="auto",X=[V,q,U,_],Y="start",G="end",J="clippingParents",K="viewport",Q="popper",ee="reference",te=X.reduce((function(e,t){return e.concat([t+"-"+Y,t+"-"+G])}),[]),oe=[].concat(X,[z]).reduce((function(e,t){return e.concat([t,t+"-"+Y,t+"-"+G])}),[]),ne=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function re(e){var t=new Map,o=new Set,n=[];function r(e){o.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!o.has(e)){var n=t.get(e);n&&r(n)}})),n.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){o.has(e.name)||r(e)})),n}function ie(e){var t;return function(){return t||(t=new Promise((function(o){Promise.resolve().then((function(){t=void 0,o(e())}))}))),t}}var ae={placement:"bottom",modifiers:[],strategy:"absolute"};function se(){for(var e=arguments.length,t=new Array(e),o=0;o=0?"x":"y"}function de(e){var t,o=e.reference,n=e.element,r=e.placement,i=r?ce(r):null,a=r?ue(r):null,s=o.x+o.width/2-n.width/2,p=o.y+o.height/2-n.height/2;switch(i){case V:t={x:s,y:o.y-n.height};break;case q:t={x:s,y:o.y+o.height};break;case U:t={x:o.x+o.width,y:p};break;case _:t={x:o.x-n.width,y:p};break;default:t={x:o.x,y:o.y}}var l=i?fe(i):null;if(null!=l){var c="y"===l?"height":"width";switch(a){case Y:t[l]=t[l]-(o[c]/2-n[c]/2);break;case G:t[l]=t[l]+(o[c]/2-n[c]/2)}}return t}var me={top:"auto",right:"auto",bottom:"auto",left:"auto"};function he(e){var t,o=e.popper,n=e.popperRect,r=e.placement,i=e.variation,a=e.offsets,s=e.position,p=e.gpuAcceleration,l=e.adaptive,c=e.roundOffsets,u=e.isFixed,f=a.x,d=void 0===f?0:f,m=a.y,h=void 0===m?0:m,v="function"===typeof c?c({x:d,y:h}):{x:d,y:h};d=v.x,h=v.y;var g=a.hasOwnProperty("x"),y=a.hasOwnProperty("y"),w=_,x=V,O=window;if(l){var Z=F(o),P="clientHeight",T="clientWidth";if(Z===b(o)&&"static"!==S(Z=D(o)).position&&"absolute"===s&&(P="scrollHeight",T="scrollWidth"),r===V||(r===_||r===U)&&i===G)x=q,h-=(u&&Z===O&&O.visualViewport?O.visualViewport.height:Z[P])-n.height,h*=p?1:-1;if(r===_||(r===V||r===q)&&i===G)w=U,d-=(u&&Z===O&&O.visualViewport?O.visualViewport.width:Z[T])-n.width,d*=p?1:-1}var E,M=Object.assign({position:s},l&&me),j=!0===c?function(e,t){var o=e.x,n=e.y,r=t.devicePixelRatio||1;return{x:R(o*r)/r||0,y:R(n*r)/r||0}}({x:d,y:h},b(o)):{x:d,y:h};return d=j.x,h=j.y,p?Object.assign({},M,((E={})[x]=y?"0":"",E[w]=g?"0":"",E.transform=(O.devicePixelRatio||1)<=1?"translate("+d+"px, "+h+"px)":"translate3d("+d+"px, "+h+"px, 0)",E)):Object.assign({},M,((t={})[x]=y?h+"px":"",t[w]=g?d+"px":"",t.transform="",t))}var ve={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.offset,i=void 0===r?[0,0]:r,a=oe.reduce((function(e,o){return e[o]=function(e,t,o){var n=ce(e),r=[_,V].indexOf(n)>=0?-1:1,i="function"===typeof o?o(Object.assign({},t,{placement:e})):o,a=i[0],s=i[1];return a=a||0,s=(s||0)*r,[_,U].indexOf(n)>=0?{x:s,y:a}:{x:a,y:s}}(o,t.rects,i),e}),{}),s=a[t.placement],p=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=p,t.modifiersData.popperOffsets.y+=l),t.modifiersData[n]=a}},ge={left:"right",right:"left",bottom:"top",top:"bottom"};function ye(e){return e.replace(/left|right|bottom|top/g,(function(e){return ge[e]}))}var be={start:"end",end:"start"};function we(e){return e.replace(/start|end/g,(function(e){return be[e]}))}function xe(e,t){var o=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(o&&O(o)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function Oe(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function Ze(e,t,o){return t===K?Oe(function(e,t){var o=b(e),n=D(e),r=o.visualViewport,i=n.clientWidth,a=n.clientHeight,s=0,p=0;if(r){i=r.width,a=r.height;var l=E();(l||!l&&"fixed"===t)&&(s=r.offsetLeft,p=r.offsetTop)}return{width:i,height:a,x:s+C(e),y:p}}(e,o)):w(t)?function(e,t){var o=M(e,!1,"fixed"===t);return o.top=o.top+e.clientTop,o.left=o.left+e.clientLeft,o.bottom=o.top+e.clientHeight,o.right=o.left+e.clientWidth,o.width=e.clientWidth,o.height=e.clientHeight,o.x=o.left,o.y=o.top,o}(t,o):Oe(function(e){var t,o=D(e),n=j(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=Z(o.scrollWidth,o.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),a=Z(o.scrollHeight,o.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),s=-n.scrollLeft+C(e),p=-n.scrollTop;return"rtl"===S(r||o).direction&&(s+=Z(o.clientWidth,r?r.clientWidth:0)-i),{width:i,height:a,x:s,y:p}}(D(e)))}function Pe(e,t,o,n){var r="clippingParents"===t?function(e){var t=N(B(e)),o=["absolute","fixed"].indexOf(S(e).position)>=0&&x(e)?F(e):e;return w(o)?t.filter((function(e){return w(e)&&xe(e,o)&&"body"!==k(e)})):[]}(e):[].concat(t),i=[].concat(r,[o]),a=i[0],s=i.reduce((function(t,o){var r=Ze(e,o,n);return t.top=Z(r.top,t.top),t.right=P(r.right,t.right),t.bottom=P(r.bottom,t.bottom),t.left=Z(r.left,t.left),t}),Ze(e,a,n));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function Re(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Te(e,t){return t.reduce((function(t,o){return t[o]=e,t}),{})}function Ee(e,t){void 0===t&&(t={});var o=t,n=o.placement,r=void 0===n?e.placement:n,i=o.strategy,a=void 0===i?e.strategy:i,s=o.boundary,p=void 0===s?J:s,l=o.rootBoundary,c=void 0===l?K:l,u=o.elementContext,f=void 0===u?Q:u,d=o.altBoundary,m=void 0!==d&&d,h=o.padding,v=void 0===h?0:h,g=Re("number"!==typeof v?v:Te(v,X)),y=f===Q?ee:Q,b=e.rects.popper,x=e.elements[m?y:f],O=Pe(w(x)?x:x.contextElement||D(e.elements.popper),p,c,a),Z=M(e.elements.reference),P=de({reference:Z,element:b,strategy:"absolute",placement:r}),R=Oe(Object.assign({},b,P)),T=f===Q?R:Z,E={top:O.top-T.top+g.top,bottom:T.bottom-O.bottom+g.bottom,left:O.left-T.left+g.left,right:T.right-O.right+g.right},j=e.modifiersData.offset;if(f===Q&&j){var k=j[r];Object.keys(E).forEach((function(e){var t=[U,q].indexOf(e)>=0?1:-1,o=[V,q].indexOf(e)>=0?"y":"x";E[e]+=k[o]*t}))}return E}function Me(e,t,o){return Z(e,P(t,o))}var je={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,n=e.name,r=o.mainAxis,i=void 0===r||r,a=o.altAxis,s=void 0!==a&&a,p=o.boundary,l=o.rootBoundary,c=o.altBoundary,u=o.padding,f=o.tether,d=void 0===f||f,m=o.tetherOffset,h=void 0===m?0:m,v=Ee(t,{boundary:p,rootBoundary:l,padding:u,altBoundary:c}),g=ce(t.placement),y=ue(t.placement),b=!y,w=fe(g),x="x"===w?"y":"x",O=t.modifiersData.popperOffsets,R=t.rects.reference,T=t.rects.popper,E="function"===typeof h?h(Object.assign({},t.rects,{placement:t.placement})):h,M="number"===typeof E?{mainAxis:E,altAxis:E}:Object.assign({mainAxis:0,altAxis:0},E),j=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,k={x:0,y:0};if(O){if(i){var D,C="y"===w?V:_,S="y"===w?q:U,A="y"===w?"height":"width",L=O[w],B=L+v[C],H=L-v[S],N=d?-T[A]/2:0,$=y===Y?R[A]:T[A],I=y===Y?-T[A]:-R[A],z=t.elements.arrow,X=d&&z?W(z):{width:0,height:0},G=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},J=G[C],K=G[S],Q=Me(0,R[A],X[A]),ee=b?R[A]/2-N-Q-J-M.mainAxis:$-Q-J-M.mainAxis,te=b?-R[A]/2+N+Q+K+M.mainAxis:I+Q+K+M.mainAxis,oe=t.elements.arrow&&F(t.elements.arrow),ne=oe?"y"===w?oe.clientTop||0:oe.clientLeft||0:0,re=null!=(D=null==j?void 0:j[w])?D:0,ie=L+te-re,ae=Me(d?P(B,L+ee-re-ne):B,L,d?Z(H,ie):H);O[w]=ae,k[w]=ae-L}if(s){var se,pe="x"===w?V:_,le="x"===w?q:U,de=O[x],me="y"===x?"height":"width",he=de+v[pe],ve=de-v[le],ge=-1!==[V,_].indexOf(g),ye=null!=(se=null==j?void 0:j[x])?se:0,be=ge?he:de-R[me]-T[me]-ye+M.altAxis,we=ge?de+R[me]+T[me]-ye-M.altAxis:ve,xe=d&&ge?function(e,t,o){var n=Me(e,t,o);return n>o?o:n}(be,de,we):Me(d?be:he,de,d?we:ve);O[x]=xe,k[x]=xe-de}t.modifiersData[n]=k}},requiresIfExists:["offset"]};var ke={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,o=e.state,n=e.name,r=e.options,i=o.elements.arrow,a=o.modifiersData.popperOffsets,s=ce(o.placement),p=fe(s),l=[_,U].indexOf(s)>=0?"height":"width";if(i&&a){var c=function(e,t){return Re("number"!==typeof(e="function"===typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Te(e,X))}(r.padding,o),u=W(i),f="y"===p?V:_,d="y"===p?q:U,m=o.rects.reference[l]+o.rects.reference[p]-a[p]-o.rects.popper[l],h=a[p]-o.rects.reference[p],v=F(i),g=v?"y"===p?v.clientHeight||0:v.clientWidth||0:0,y=m/2-h/2,b=c[f],w=g-u[l]-c[d],x=g/2-u[l]/2+y,O=Me(b,x,w),Z=p;o.modifiersData[n]=((t={})[Z]=O,t.centerOffset=O-x,t)}},effect:function(e){var t=e.state,o=e.options.element,n=void 0===o?"[data-popper-arrow]":o;null!=n&&("string"!==typeof n||(n=t.elements.popper.querySelector(n)))&&xe(t.elements.popper,n)&&(t.elements.arrow=n)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function De(e,t,o){return void 0===o&&(o={x:0,y:0}),{top:e.top-t.height-o.y,right:e.right-t.width+o.x,bottom:e.bottom-t.height+o.y,left:e.left-t.width-o.x}}function Ce(e){return[V,U,q,_].some((function(t){return e[t]>=0}))}var Se=pe({defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,o=e.instance,n=e.options,r=n.scroll,i=void 0===r||r,a=n.resize,s=void 0===a||a,p=b(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach((function(e){e.addEventListener("scroll",o.update,le)})),s&&p.addEventListener("resize",o.update,le),function(){i&&l.forEach((function(e){e.removeEventListener("scroll",o.update,le)})),s&&p.removeEventListener("resize",o.update,le)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,o=e.name;t.modifiersData[o]=de({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,o=e.options,n=o.gpuAcceleration,r=void 0===n||n,i=o.adaptive,a=void 0===i||i,s=o.roundOffsets,p=void 0===s||s,l={placement:ce(t.placement),variation:ue(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r,isFixed:"fixed"===t.options.strategy};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,he(Object.assign({},l,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:a,roundOffsets:p})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,he(Object.assign({},l,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:p})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var o=t.styles[e]||{},n=t.attributes[e]||{},r=t.elements[e];x(r)&&k(r)&&(Object.assign(r.style,o),Object.keys(n).forEach((function(e){var t=n[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,o={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,o.popper),t.styles=o,t.elements.arrow&&Object.assign(t.elements.arrow.style,o.arrow),function(){Object.keys(t.elements).forEach((function(e){var n=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:o[e]).reduce((function(e,t){return e[t]="",e}),{});x(n)&&k(n)&&(Object.assign(n.style,i),Object.keys(r).forEach((function(e){n.removeAttribute(e)})))}))}},requires:["computeStyles"]},ve,{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,o=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var r=o.mainAxis,i=void 0===r||r,a=o.altAxis,s=void 0===a||a,p=o.fallbackPlacements,l=o.padding,c=o.boundary,u=o.rootBoundary,f=o.altBoundary,d=o.flipVariations,m=void 0===d||d,h=o.allowedAutoPlacements,v=t.options.placement,g=ce(v),y=p||(g===v||!m?[ye(v)]:function(e){if(ce(e)===z)return[];var t=ye(e);return[we(e),t,we(t)]}(v)),b=[v].concat(y).reduce((function(e,o){return e.concat(ce(o)===z?function(e,t){void 0===t&&(t={});var o=t,n=o.placement,r=o.boundary,i=o.rootBoundary,a=o.padding,s=o.flipVariations,p=o.allowedAutoPlacements,l=void 0===p?oe:p,c=ue(n),u=c?s?te:te.filter((function(e){return ue(e)===c})):X,f=u.filter((function(e){return l.indexOf(e)>=0}));0===f.length&&(f=u);var d=f.reduce((function(t,o){return t[o]=Ee(e,{placement:o,boundary:r,rootBoundary:i,padding:a})[ce(o)],t}),{});return Object.keys(d).sort((function(e,t){return d[e]-d[t]}))}(t,{placement:o,boundary:c,rootBoundary:u,padding:l,flipVariations:m,allowedAutoPlacements:h}):o)}),[]),w=t.rects.reference,x=t.rects.popper,O=new Map,Z=!0,P=b[0],R=0;R=0,k=j?"width":"height",D=Ee(t,{placement:T,boundary:c,rootBoundary:u,altBoundary:f,padding:l}),C=j?M?U:_:M?q:V;w[k]>x[k]&&(C=ye(C));var S=ye(C),A=[];if(i&&A.push(D[E]<=0),s&&A.push(D[C]<=0,D[S]<=0),A.every((function(e){return e}))){P=T,Z=!1;break}O.set(T,A)}if(Z)for(var L=function(e){var t=b.find((function(t){var o=O.get(t);if(o)return o.slice(0,e).every((function(e){return e}))}));if(t)return P=t,"break"},W=m?3:1;W>0;W--){if("break"===L(W))break}t.placement!==P&&(t.modifiersData[n]._skip=!0,t.placement=P,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},je,ke,{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,o=e.name,n=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,a=Ee(t,{elementContext:"reference"}),s=Ee(t,{altBoundary:!0}),p=De(a,n),l=De(s,r,i),c=Ce(p),u=Ce(l);t.modifiersData[o]={referenceClippingOffsets:p,popperEscapeOffsets:l,isReferenceHidden:c,hasPopperEscaped:u},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":c,"data-popper-escaped":u})}}]}),Ae=o(2871),Le=o(2298);const We="base";function Be(e,t){const o=Le._v[t];return o?`${We}--${o}`:function(e,t){return`${We}-${e}-${t}`}(e,t)}const He="Popper";function Ne(e){return Be(He,e)}!function(e,t){const o={};t.forEach((t=>{o[t]=Be(e,t)}))}(He,["root"]);var $e=o(1465),Ie=o(6417);const Fe={disableDefaultClasses:!1},Ve=i.createContext(Fe);const qe=["anchorEl","children","direction","disablePortal","modifiers","open","placement","popperOptions","popperRef","slotProps","slots","TransitionProps","ownerState"],Ue=["anchorEl","children","container","direction","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","style","transition","slotProps","slots"];function _e(e){return"function"===typeof e?e():e}function ze(e){return void 0!==e.nodeType}const Xe=()=>(0,p.Z)({root:["root"]},function(e){const{disableDefaultClasses:t}=i.useContext(Ve);return o=>t?"":e(o)}(Ne)),Ye={},Ge=i.forwardRef((function(e,t){var o;const{anchorEl:a,children:s,direction:p,disablePortal:l,modifiers:c,open:u,placement:f,popperOptions:d,popperRef:m,slotProps:h={},slots:y={},TransitionProps:b}=e,w=(0,n.Z)(e,qe),x=i.useRef(null),O=(0,v.Z)(x,t),Z=i.useRef(null),P=(0,v.Z)(Z,m),R=i.useRef(P);(0,g.Z)((()=>{R.current=P}),[P]),i.useImperativeHandle(m,(()=>Z.current),[]);const T=function(e,t){if("ltr"===t)return e;switch(e){case"bottom-end":return"bottom-start";case"bottom-start":return"bottom-end";case"top-end":return"top-start";case"top-start":return"top-end";default:return e}}(f,p),[E,M]=i.useState(T),[j,k]=i.useState(_e(a));i.useEffect((()=>{Z.current&&Z.current.forceUpdate()})),i.useEffect((()=>{a&&k(_e(a))}),[a]),(0,g.Z)((()=>{if(!j||!u)return;let e=[{name:"preventOverflow",options:{altBoundary:l}},{name:"flip",options:{altBoundary:l}},{name:"onUpdate",enabled:!0,phase:"afterWrite",fn:e=>{let{state:t}=e;M(t.placement)}}];null!=c&&(e=e.concat(c)),d&&null!=d.modifiers&&(e=e.concat(d.modifiers));const t=Se(j,x.current,(0,r.Z)({placement:T},d,{modifiers:e}));return R.current(t),()=>{t.destroy(),R.current(null)}}),[j,l,c,u,d,T]);const D={placement:E};null!==b&&(D.TransitionProps=b);const C=Xe(),S=null!=(o=y.root)?o:"div",A=(0,$e.y)({elementType:S,externalSlotProps:h.root,externalForwardedProps:w,additionalProps:{role:"tooltip",ref:O},ownerState:e,className:C.root});return(0,Ie.jsx)(S,(0,r.Z)({},A,{children:"function"===typeof s?s(D):s}))})),Je=i.forwardRef((function(e,t){const{anchorEl:o,children:a,container:s,direction:p="ltr",disablePortal:l=!1,keepMounted:c=!1,modifiers:u,open:f,placement:d="bottom",popperOptions:m=Ye,popperRef:h,style:v,transition:g=!1,slotProps:b={},slots:w={}}=e,x=(0,n.Z)(e,Ue),[O,Z]=i.useState(!0);if(!c&&!f&&(!g||O))return null;let P;if(s)P=s;else if(o){const e=_e(o);P=e&&ze(e)?(0,y.Z)(e).body:(0,y.Z)(null).body}const R=f||!c||g&&!O?void 0:"none",T=g?{in:f,onEnter:()=>{Z(!1)},onExited:()=>{Z(!0)}}:void 0;return(0,Ie.jsx)(Ae.h,{disablePortal:l,container:P,children:(0,Ie.jsx)(Ge,(0,r.Z)({anchorEl:o,direction:p,disablePortal:l,modifiers:u,ref:t,open:g?!O:f,placement:d,popperOptions:m,popperRef:h,slotProps:b,slots:w},x,{style:(0,r.Z)({position:"fixed",top:0,left:0,display:R},v),TransitionProps:T,children:a}))})}));var Ke=o(4976);const Qe=["anchorEl","component","components","componentsProps","container","disablePortal","keepMounted","modifiers","open","placement","popperOptions","popperRef","transition","slots","slotProps"],et=(0,u.ZP)(Je,{name:"MuiPopper",slot:"Root",overridesResolver:(e,t)=>t.root})({});var tt=i.forwardRef((function(e,t){var o;const i=(0,Ke.Z)(),a=(0,d.Z)({props:e,name:"MuiPopper"}),{anchorEl:s,component:p,components:l,componentsProps:c,container:u,disablePortal:f,keepMounted:m,modifiers:h,open:v,placement:g,popperOptions:y,popperRef:b,transition:w,slots:x,slotProps:O}=a,Z=(0,n.Z)(a,Qe),P=null!=(o=null==x?void 0:x.root)?o:null==l?void 0:l.Root,R=(0,r.Z)({anchorEl:s,container:u,disablePortal:f,keepMounted:m,modifiers:h,open:v,placement:g,popperOptions:y,popperRef:b,transition:w},Z);return(0,Ie.jsx)(et,(0,r.Z)({as:p,direction:null==i?void 0:i.direction,slots:{root:P},slotProps:null!=O?O:c},R,{ref:t}))})),ot=o(3236),nt=o(6983),rt=o(7677),it=o(3427),at=o(4951);function st(e){return(0,Le.ZP)("MuiTooltip",e)}var pt=(0,o(7430).Z)("MuiTooltip",["popper","popperInteractive","popperArrow","popperClose","tooltip","tooltipArrow","touch","tooltipPlacementLeft","tooltipPlacementRight","tooltipPlacementTop","tooltipPlacementBottom","arrow"]);const lt=["arrow","children","classes","components","componentsProps","describeChild","disableFocusListener","disableHoverListener","disableInteractive","disableTouchListener","enterDelay","enterNextDelay","enterTouchDelay","followCursor","id","leaveDelay","leaveTouchDelay","onClose","onOpen","open","placement","PopperComponent","PopperProps","slotProps","slots","title","TransitionComponent","TransitionProps"];const ct=(0,u.ZP)(tt,{name:"MuiTooltip",slot:"Popper",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.popper,!o.disableInteractive&&t.popperInteractive,o.arrow&&t.popperArrow,!o.open&&t.popperClose]}})((e=>{let{theme:t,ownerState:o,open:n}=e;return(0,r.Z)({zIndex:(t.vars||t).zIndex.tooltip,pointerEvents:"none"},!o.disableInteractive&&{pointerEvents:"auto"},!n&&{pointerEvents:"none"},o.arrow&&{[`&[data-popper-placement*="bottom"] .${pt.arrow}`]:{top:0,marginTop:"-0.71em","&::before":{transformOrigin:"0 100%"}},[`&[data-popper-placement*="top"] .${pt.arrow}`]:{bottom:0,marginBottom:"-0.71em","&::before":{transformOrigin:"100% 0"}},[`&[data-popper-placement*="right"] .${pt.arrow}`]:(0,r.Z)({},o.isRtl?{right:0,marginRight:"-0.71em"}:{left:0,marginLeft:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"100% 100%"}}),[`&[data-popper-placement*="left"] .${pt.arrow}`]:(0,r.Z)({},o.isRtl?{left:0,marginLeft:"-0.71em"}:{right:0,marginRight:"-0.71em"},{height:"1em",width:"0.71em","&::before":{transformOrigin:"0 0"}})})})),ut=(0,u.ZP)("div",{name:"MuiTooltip",slot:"Tooltip",overridesResolver:(e,t)=>{const{ownerState:o}=e;return[t.tooltip,o.touch&&t.touch,o.arrow&&t.tooltipArrow,t[`tooltipPlacement${(0,m.Z)(o.placement.split("-")[0])}`]]}})((e=>{let{theme:t,ownerState:o}=e;return(0,r.Z)({backgroundColor:t.vars?t.vars.palette.Tooltip.bg:(0,c.Fq)(t.palette.grey[700],.92),borderRadius:(t.vars||t).shape.borderRadius,color:(t.vars||t).palette.common.white,fontFamily:t.typography.fontFamily,padding:"4px 8px",fontSize:t.typography.pxToRem(11),maxWidth:300,margin:2,wordWrap:"break-word",fontWeight:t.typography.fontWeightMedium},o.arrow&&{position:"relative",margin:0},o.touch&&{padding:"8px 16px",fontSize:t.typography.pxToRem(14),lineHeight:(n=16/14,Math.round(1e5*n)/1e5)+"em",fontWeight:t.typography.fontWeightRegular},{[`.${pt.popper}[data-popper-placement*="left"] &`]:(0,r.Z)({transformOrigin:"right center"},o.isRtl?(0,r.Z)({marginLeft:"14px"},o.touch&&{marginLeft:"24px"}):(0,r.Z)({marginRight:"14px"},o.touch&&{marginRight:"24px"})),[`.${pt.popper}[data-popper-placement*="right"] &`]:(0,r.Z)({transformOrigin:"left center"},o.isRtl?(0,r.Z)({marginRight:"14px"},o.touch&&{marginRight:"24px"}):(0,r.Z)({marginLeft:"14px"},o.touch&&{marginLeft:"24px"})),[`.${pt.popper}[data-popper-placement*="top"] &`]:(0,r.Z)({transformOrigin:"center bottom",marginBottom:"14px"},o.touch&&{marginBottom:"24px"}),[`.${pt.popper}[data-popper-placement*="bottom"] &`]:(0,r.Z)({transformOrigin:"center top",marginTop:"14px"},o.touch&&{marginTop:"24px"})});var n})),ft=(0,u.ZP)("span",{name:"MuiTooltip",slot:"Arrow",overridesResolver:(e,t)=>t.arrow})((e=>{let{theme:t}=e;return{overflow:"hidden",position:"absolute",width:"1em",height:"0.71em",boxSizing:"border-box",color:t.vars?t.vars.palette.Tooltip.bg:(0,c.Fq)(t.palette.grey[700],.9),"&::before":{content:'""',margin:"auto",display:"block",width:"100%",height:"100%",backgroundColor:"currentColor",transform:"rotate(45deg)"}}}));let dt=!1;const mt=new s.V;let ht={x:0,y:0};function vt(e,t){return o=>{t&&t(o),e(o)}}const gt=i.forwardRef((function(e,t){var o,c,u,v,g,y,b,w,x,O,Z,P,R,T,E,M,j,k,D;const C=(0,d.Z)({props:e,name:"MuiTooltip"}),{arrow:S=!1,children:A,components:L={},componentsProps:W={},describeChild:B=!1,disableFocusListener:H=!1,disableHoverListener:N=!1,disableInteractive:$=!1,disableTouchListener:I=!1,enterDelay:F=100,enterNextDelay:V=0,enterTouchDelay:q=700,followCursor:U=!1,id:_,leaveDelay:z=0,leaveTouchDelay:X=1500,onClose:Y,onOpen:G,open:J,placement:K="bottom",PopperComponent:Q,PopperProps:ee={},slotProps:te={},slots:oe={},title:ne,TransitionComponent:re=h.Z,TransitionProps:ie}=C,ae=(0,n.Z)(C,lt),se=i.isValidElement(A)?A:(0,Ie.jsx)("span",{children:A}),pe=(0,f.Z)(),le="rtl"===pe.direction,[ce,ue]=i.useState(),[fe,de]=i.useState(null),me=i.useRef(!1),he=$||U,ve=(0,s.Z)(),ge=(0,s.Z)(),ye=(0,s.Z)(),be=(0,s.Z)(),[we,xe]=(0,at.Z)({controlled:J,default:!1,name:"Tooltip",state:"open"});let Oe=we;const Ze=(0,rt.Z)(_),Pe=i.useRef(),Re=(0,ot.Z)((()=>{void 0!==Pe.current&&(document.body.style.WebkitUserSelect=Pe.current,Pe.current=void 0),be.clear()}));i.useEffect((()=>Re),[Re]);const Te=e=>{mt.clear(),dt=!0,xe(!0),G&&!Oe&&G(e)},Ee=(0,ot.Z)((e=>{mt.start(800+z,(()=>{dt=!1})),xe(!1),Y&&Oe&&Y(e),ve.start(pe.transitions.duration.shortest,(()=>{me.current=!1}))})),Me=e=>{me.current&&"touchstart"!==e.type||(ce&&ce.removeAttribute("title"),ge.clear(),ye.clear(),F||dt&&V?ge.start(dt?V:F,(()=>{Te(e)})):Te(e))},je=e=>{ge.clear(),ye.start(z,(()=>{Ee(e)}))},{isFocusVisibleRef:ke,onBlur:De,onFocus:Ce,ref:Se}=(0,it.Z)(),[,Ae]=i.useState(!1),Le=e=>{De(e),!1===ke.current&&(Ae(!1),je(e))},We=e=>{ce||ue(e.currentTarget),Ce(e),!0===ke.current&&(Ae(!0),Me(e))},Be=e=>{me.current=!0;const t=se.props;t.onTouchStart&&t.onTouchStart(e)},He=Me,Ne=je,$e=e=>{Be(e),ye.clear(),ve.clear(),Re(),Pe.current=document.body.style.WebkitUserSelect,document.body.style.WebkitUserSelect="none",be.start(q,(()=>{document.body.style.WebkitUserSelect=Pe.current,Me(e)}))},Fe=e=>{se.props.onTouchEnd&&se.props.onTouchEnd(e),Re(),ye.start(X,(()=>{Ee(e)}))};i.useEffect((()=>{if(Oe)return document.addEventListener("keydown",e),()=>{document.removeEventListener("keydown",e)};function e(e){"Escape"!==e.key&&"Esc"!==e.key||Ee(e)}}),[Ee,Oe]);const Ve=(0,nt.Z)(se.ref,Se,ue,t);ne||0===ne||(Oe=!1);const qe=i.useRef(),Ue={},_e="string"===typeof ne;B?(Ue.title=Oe||!_e||N?null:ne,Ue["aria-describedby"]=Oe?Ze:null):(Ue["aria-label"]=_e?ne:null,Ue["aria-labelledby"]=Oe&&!_e?Ze:null);const ze=(0,r.Z)({},Ue,ae,se.props,{className:(0,a.Z)(ae.className,se.props.className),onTouchStart:Be,ref:Ve},U?{onMouseMove:e=>{const t=se.props;t.onMouseMove&&t.onMouseMove(e),ht={x:e.clientX,y:e.clientY},qe.current&&qe.current.update()}}:{});const Xe={};I||(ze.onTouchStart=$e,ze.onTouchEnd=Fe),N||(ze.onMouseOver=vt(He,ze.onMouseOver),ze.onMouseLeave=vt(Ne,ze.onMouseLeave),he||(Xe.onMouseOver=He,Xe.onMouseLeave=Ne)),H||(ze.onFocus=vt(We,ze.onFocus),ze.onBlur=vt(Le,ze.onBlur),he||(Xe.onFocus=We,Xe.onBlur=Le));const Ye=i.useMemo((()=>{var e;let t=[{name:"arrow",enabled:Boolean(fe),options:{element:fe,padding:4}}];return null!=(e=ee.popperOptions)&&e.modifiers&&(t=t.concat(ee.popperOptions.modifiers)),(0,r.Z)({},ee.popperOptions,{modifiers:t})}),[fe,ee]),Ge=(0,r.Z)({},C,{isRtl:le,arrow:S,disableInteractive:he,placement:K,PopperComponentProp:Q,touch:me.current}),Je=(e=>{const{classes:t,disableInteractive:o,arrow:n,touch:r,placement:i}=e,a={popper:["popper",!o&&"popperInteractive",n&&"popperArrow"],tooltip:["tooltip",n&&"tooltipArrow",r&&"touch",`tooltipPlacement${(0,m.Z)(i.split("-")[0])}`],arrow:["arrow"]};return(0,p.Z)(a,st,t)})(Ge),Ke=null!=(o=null!=(c=oe.popper)?c:L.Popper)?o:ct,Qe=null!=(u=null!=(v=null!=(g=oe.transition)?g:L.Transition)?v:re)?u:h.Z,et=null!=(y=null!=(b=oe.tooltip)?b:L.Tooltip)?y:ut,pt=null!=(w=null!=(x=oe.arrow)?x:L.Arrow)?w:ft,gt=(0,l.$)(Ke,(0,r.Z)({},ee,null!=(O=te.popper)?O:W.popper,{className:(0,a.Z)(Je.popper,null==ee?void 0:ee.className,null==(Z=null!=(P=te.popper)?P:W.popper)?void 0:Z.className)}),Ge),yt=(0,l.$)(Qe,(0,r.Z)({},ie,null!=(R=te.transition)?R:W.transition),Ge),bt=(0,l.$)(et,(0,r.Z)({},null!=(T=te.tooltip)?T:W.tooltip,{className:(0,a.Z)(Je.tooltip,null==(E=null!=(M=te.tooltip)?M:W.tooltip)?void 0:E.className)}),Ge),wt=(0,l.$)(pt,(0,r.Z)({},null!=(j=te.arrow)?j:W.arrow,{className:(0,a.Z)(Je.arrow,null==(k=null!=(D=te.arrow)?D:W.arrow)?void 0:k.className)}),Ge);return(0,Ie.jsxs)(i.Fragment,{children:[i.cloneElement(se,ze),(0,Ie.jsx)(Ke,(0,r.Z)({as:null!=Q?Q:tt,placement:K,anchorEl:U?{getBoundingClientRect:()=>({top:ht.y,left:ht.x,right:ht.x,bottom:ht.y,width:0,height:0})}:ce,popperRef:qe,open:!!ce&&Oe,id:Ze,transition:!0},Xe,gt,{popperOptions:Ye,children:e=>{let{TransitionProps:t}=e;return(0,Ie.jsx)(Qe,(0,r.Z)({timeout:pe.transitions.duration.shorter},t,yt,{children:(0,Ie.jsxs)(et,(0,r.Z)({},bt,{children:[ne,S?(0,Ie.jsx)(pt,(0,r.Z)({},wt,{ref:de})):null]}))}))}}))]})}));var yt=gt}}]);
\ No newline at end of file
diff --git a/client/build/static/js/4849.82e61ad7.chunk.js b/client/build/static/js/4849.82e61ad7.chunk.js
new file mode 100644
index 0000000..45c9f01
--- /dev/null
+++ b/client/build/static/js/4849.82e61ad7.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[4849,1061,4980,7201,4399,1399,225,665,525,3481,9786],{1095:function(e,o,t){t.d(o,{Z:function(){return $}});var n=t(3366),r=t(7462),a=t(7313),i=t(4146),l=t(500),s=t(1921),c=t(1468),d=t(7592),u=t(7342),p=t(5272),v=t(1615),m=t(7430),h=t(2298);function b(e){return(0,h.ZP)("MuiButton",e)}var x=(0,m.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var g=a.createContext({});var S=a.createContext(void 0),y=t(6417);const f=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],z=e=>(0,r.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Z=(0,d.ZP)(p.Z,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,o[t.variant],o[`${t.variant}${(0,v.Z)(t.color)}`],o[`size${(0,v.Z)(t.size)}`],o[`${t.variant}Size${(0,v.Z)(t.size)}`],"inherit"===t.color&&o.colorInherit,t.disableElevation&&o.disableElevation,t.fullWidth&&o.fullWidth]}})((e=>{let{theme:o,ownerState:t}=e;var n,a;const i="light"===o.palette.mode?o.palette.grey[300]:o.palette.grey[800],l="light"===o.palette.mode?o.palette.grey.A100:o.palette.grey[700];return(0,r.Z)({},o.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":(0,r.Z)({textDecoration:"none",backgroundColor:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette[t.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(o.vars||o).palette[t.color].main}`,backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette[t.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(o.vars||o).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[t.color].main}}),"&:active":(0,r.Z)({},"contained"===t.variant&&{boxShadow:(o.vars||o).shadows[8]}),[`&.${x.focusVisible}`]:(0,r.Z)({},"contained"===t.variant&&{boxShadow:(o.vars||o).shadows[6]}),[`&.${x.disabled}`]:(0,r.Z)({color:(o.vars||o).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(o.vars||o).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].main,border:o.vars?`1px solid rgba(${o.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(o.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:o.vars?o.vars.palette.text.primary:null==(n=(a=o.palette).getContrastText)?void 0:n.call(a,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:i,boxShadow:(o.vars||o).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].contrastText,backgroundColor:(o.vars||o).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:o}=e;return o.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${x.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${x.disabled}`]:{boxShadow:"none"}}})),w=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.startIcon,o[`iconSize${(0,v.Z)(t.size)}`]]}})((e=>{let{ownerState:o}=e;return(0,r.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===o.size&&{marginLeft:-2},z(o))})),C=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.endIcon,o[`iconSize${(0,v.Z)(t.size)}`]]}})((e=>{let{ownerState:o}=e;return(0,r.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===o.size&&{marginRight:-2},z(o))}));var $=a.forwardRef((function(e,o){const t=a.useContext(g),c=a.useContext(S),d=(0,l.Z)(t,e),p=(0,u.Z)({props:d,name:"MuiButton"}),{children:m,color:h="primary",component:x="button",className:z,disabled:$=!1,disableElevation:k=!1,disableFocusRipple:I=!1,endIcon:R,focusVisibleClassName:W,fullWidth:B=!1,size:M="medium",startIcon:F,type:E,variant:N="text"}=p,V=(0,n.Z)(p,f),L=(0,r.Z)({},p,{color:h,component:x,disabled:$,disableElevation:k,disableFocusRipple:I,fullWidth:B,size:M,type:E,variant:N}),P=(e=>{const{color:o,disableElevation:t,fullWidth:n,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,v.Z)(o)}`,`size${(0,v.Z)(a)}`,`${i}Size${(0,v.Z)(a)}`,"inherit"===o&&"colorInherit",t&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,v.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,v.Z)(a)}`]},d=(0,s.Z)(c,b,l);return(0,r.Z)({},l,d)})(L),T=F&&(0,y.jsx)(w,{className:P.startIcon,ownerState:L,children:F}),D=R&&(0,y.jsx)(C,{className:P.endIcon,ownerState:L,children:R}),O=c||"";return(0,y.jsxs)(Z,(0,r.Z)({ownerState:L,className:(0,i.Z)(t.className,P.root,z,O),component:x,disabled:$,focusRipple:!I,focusVisibleClassName:(0,i.Z)(P.focusVisible,W),ref:o,type:E},V,{classes:P,children:[T,m,D]}))}))},891:function(e,o,t){t.d(o,{Z:function(){return C}});var n=t(3366),r=t(7462),a=t(7313),i=t(4146),l=t(1921),s=t(1615),c=t(7592),d=t(7342),u=t(3427),p=t(6983),v=t(1113),m=t(7430),h=t(2298);function b(e){return(0,h.ZP)("MuiLink",e)}var x=(0,m.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),g=t(6428),S=t(1468);const y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var f=e=>{let{theme:o,ownerState:t}=e;const n=(e=>y[e]||e)(t.color),r=(0,g.DW)(o,`palette.${n}`,!1)||t.color,a=(0,g.DW)(o,`palette.${n}Channel`);return"vars"in o&&a?`rgba(${a} / 0.4)`:(0,S.Fq)(r,.4)},z=t(6417);const Z=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],w=(0,c.ZP)(v.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,o[`underline${(0,s.Z)(t.underline)}`],"button"===t.component&&o.button]}})((e=>{let{theme:o,ownerState:t}=e;return(0,r.Z)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,r.Z)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:f({theme:o,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${x.focusVisible}`]:{outline:"auto"}})}));var C=a.forwardRef((function(e,o){const t=(0,d.Z)({props:e,name:"MuiLink"}),{className:c,color:v="primary",component:m="a",onBlur:h,onFocus:x,TypographyClasses:g,underline:S="always",variant:f="inherit",sx:C}=t,$=(0,n.Z)(t,Z),{isFocusVisibleRef:k,onBlur:I,onFocus:R,ref:W}=(0,u.Z)(),[B,M]=a.useState(!1),F=(0,p.Z)(o,W),E=(0,r.Z)({},t,{color:v,component:m,focusVisible:B,underline:S,variant:f}),N=(e=>{const{classes:o,component:t,focusVisible:n,underline:r}=e,a={root:["root",`underline${(0,s.Z)(r)}`,"button"===t&&"button",n&&"focusVisible"]};return(0,l.Z)(a,b,o)})(E);return(0,z.jsx)(w,(0,r.Z)({color:v,className:(0,i.Z)(N.root,c),classes:g,component:m,onBlur:e=>{I(e),!1===k.current&&M(!1),h&&h(e)},onFocus:e=>{R(e),!0===k.current&&M(!0),x&&x(e)},ref:F,ownerState:E,variant:f,sx:[...Object.keys(y).includes(v)?[]:[{color:v}],...Array.isArray(C)?C:[C]]},$))}))}}]);
\ No newline at end of file
diff --git a/client/build/static/js/4980.243c3763.chunk.js b/client/build/static/js/4980.243c3763.chunk.js
new file mode 100644
index 0000000..d6555b5
--- /dev/null
+++ b/client/build/static/js/4980.243c3763.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[4980,4849,1061,7201,4399,1399,225,665,525,3481,9786],{1095:function(e,o,t){t.d(o,{Z:function(){return $}});var n=t(3366),r=t(7462),a=t(7313),i=t(4146),l=t(500),s=t(1921),c=t(1468),d=t(7592),u=t(7342),p=t(5272),v=t(1615),m=t(7430),h=t(2298);function b(e){return(0,h.ZP)("MuiButton",e)}var x=(0,m.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var g=a.createContext({});var S=a.createContext(void 0),y=t(6417);const f=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],z=e=>(0,r.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Z=(0,d.ZP)(p.Z,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,o[t.variant],o[`${t.variant}${(0,v.Z)(t.color)}`],o[`size${(0,v.Z)(t.size)}`],o[`${t.variant}Size${(0,v.Z)(t.size)}`],"inherit"===t.color&&o.colorInherit,t.disableElevation&&o.disableElevation,t.fullWidth&&o.fullWidth]}})((e=>{let{theme:o,ownerState:t}=e;var n,a;const i="light"===o.palette.mode?o.palette.grey[300]:o.palette.grey[800],l="light"===o.palette.mode?o.palette.grey.A100:o.palette.grey[700];return(0,r.Z)({},o.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":(0,r.Z)({textDecoration:"none",backgroundColor:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette[t.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(o.vars||o).palette[t.color].main}`,backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette[t.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(o.vars||o).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[t.color].main}}),"&:active":(0,r.Z)({},"contained"===t.variant&&{boxShadow:(o.vars||o).shadows[8]}),[`&.${x.focusVisible}`]:(0,r.Z)({},"contained"===t.variant&&{boxShadow:(o.vars||o).shadows[6]}),[`&.${x.disabled}`]:(0,r.Z)({color:(o.vars||o).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(o.vars||o).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].main,border:o.vars?`1px solid rgba(${o.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(o.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:o.vars?o.vars.palette.text.primary:null==(n=(a=o.palette).getContrastText)?void 0:n.call(a,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:i,boxShadow:(o.vars||o).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].contrastText,backgroundColor:(o.vars||o).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:o}=e;return o.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${x.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${x.disabled}`]:{boxShadow:"none"}}})),w=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.startIcon,o[`iconSize${(0,v.Z)(t.size)}`]]}})((e=>{let{ownerState:o}=e;return(0,r.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===o.size&&{marginLeft:-2},z(o))})),C=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.endIcon,o[`iconSize${(0,v.Z)(t.size)}`]]}})((e=>{let{ownerState:o}=e;return(0,r.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===o.size&&{marginRight:-2},z(o))}));var $=a.forwardRef((function(e,o){const t=a.useContext(g),c=a.useContext(S),d=(0,l.Z)(t,e),p=(0,u.Z)({props:d,name:"MuiButton"}),{children:m,color:h="primary",component:x="button",className:z,disabled:$=!1,disableElevation:k=!1,disableFocusRipple:I=!1,endIcon:R,focusVisibleClassName:W,fullWidth:B=!1,size:M="medium",startIcon:F,type:E,variant:N="text"}=p,V=(0,n.Z)(p,f),L=(0,r.Z)({},p,{color:h,component:x,disabled:$,disableElevation:k,disableFocusRipple:I,fullWidth:B,size:M,type:E,variant:N}),P=(e=>{const{color:o,disableElevation:t,fullWidth:n,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,v.Z)(o)}`,`size${(0,v.Z)(a)}`,`${i}Size${(0,v.Z)(a)}`,"inherit"===o&&"colorInherit",t&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,v.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,v.Z)(a)}`]},d=(0,s.Z)(c,b,l);return(0,r.Z)({},l,d)})(L),T=F&&(0,y.jsx)(w,{className:P.startIcon,ownerState:L,children:F}),D=R&&(0,y.jsx)(C,{className:P.endIcon,ownerState:L,children:R}),O=c||"";return(0,y.jsxs)(Z,(0,r.Z)({ownerState:L,className:(0,i.Z)(t.className,P.root,z,O),component:x,disabled:$,focusRipple:!I,focusVisibleClassName:(0,i.Z)(P.focusVisible,W),ref:o,type:E},V,{classes:P,children:[T,m,D]}))}))},891:function(e,o,t){t.d(o,{Z:function(){return C}});var n=t(3366),r=t(7462),a=t(7313),i=t(4146),l=t(1921),s=t(1615),c=t(7592),d=t(7342),u=t(3427),p=t(6983),v=t(1113),m=t(7430),h=t(2298);function b(e){return(0,h.ZP)("MuiLink",e)}var x=(0,m.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),g=t(6428),S=t(1468);const y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var f=e=>{let{theme:o,ownerState:t}=e;const n=(e=>y[e]||e)(t.color),r=(0,g.DW)(o,`palette.${n}`,!1)||t.color,a=(0,g.DW)(o,`palette.${n}Channel`);return"vars"in o&&a?`rgba(${a} / 0.4)`:(0,S.Fq)(r,.4)},z=t(6417);const Z=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],w=(0,c.ZP)(v.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,o[`underline${(0,s.Z)(t.underline)}`],"button"===t.component&&o.button]}})((e=>{let{theme:o,ownerState:t}=e;return(0,r.Z)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,r.Z)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:f({theme:o,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${x.focusVisible}`]:{outline:"auto"}})}));var C=a.forwardRef((function(e,o){const t=(0,d.Z)({props:e,name:"MuiLink"}),{className:c,color:v="primary",component:m="a",onBlur:h,onFocus:x,TypographyClasses:g,underline:S="always",variant:f="inherit",sx:C}=t,$=(0,n.Z)(t,Z),{isFocusVisibleRef:k,onBlur:I,onFocus:R,ref:W}=(0,u.Z)(),[B,M]=a.useState(!1),F=(0,p.Z)(o,W),E=(0,r.Z)({},t,{color:v,component:m,focusVisible:B,underline:S,variant:f}),N=(e=>{const{classes:o,component:t,focusVisible:n,underline:r}=e,a={root:["root",`underline${(0,s.Z)(r)}`,"button"===t&&"button",n&&"focusVisible"]};return(0,l.Z)(a,b,o)})(E);return(0,z.jsx)(w,(0,r.Z)({color:v,className:(0,i.Z)(N.root,c),classes:g,component:m,onBlur:e=>{I(e),!1===k.current&&M(!1),h&&h(e)},onFocus:e=>{R(e),!0===k.current&&M(!0),x&&x(e)},ref:F,ownerState:E,variant:f,sx:[...Object.keys(y).includes(v)?[]:[{color:v}],...Array.isArray(C)?C:[C]]},$))}))}}]);
\ No newline at end of file
diff --git a/client/build/static/js/5003.11ddda5b.chunk.js b/client/build/static/js/5003.11ddda5b.chunk.js
new file mode 100644
index 0000000..57ea850
--- /dev/null
+++ b/client/build/static/js/5003.11ddda5b.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[5003],{5003:function(e,t,r){r.r(t);var a=r(7592),i=(r(6261),r(3497)),n=r(5229),l=(r(9726),r(6417));(0,a.ZP)("iframe")((e=>{let{theme:t}=e;return{height:"calc(100vh - 210px)",border:"1px solid",borderColor:t.palette.primary.light}}));t.default=()=>(0,l.jsx)(i.Z,{title:"N Block Details",children:(0,l.jsx)(n.Z,{block:"N",department:"ECE"})})}}]);
\ No newline at end of file
diff --git a/client/build/static/js/525.152b1fa1.chunk.js b/client/build/static/js/525.152b1fa1.chunk.js
new file mode 100644
index 0000000..4842ce4
--- /dev/null
+++ b/client/build/static/js/525.152b1fa1.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[525,4849,1061,4980,7201,4399,1399,225,665,3481,9786],{1095:function(e,o,t){t.d(o,{Z:function(){return $}});var n=t(3366),r=t(7462),a=t(7313),i=t(4146),l=t(500),s=t(1921),c=t(1468),d=t(7592),u=t(7342),p=t(5272),v=t(1615),m=t(7430),h=t(2298);function b(e){return(0,h.ZP)("MuiButton",e)}var x=(0,m.Z)("MuiButton",["root","text","textInherit","textPrimary","textSecondary","textSuccess","textError","textInfo","textWarning","outlined","outlinedInherit","outlinedPrimary","outlinedSecondary","outlinedSuccess","outlinedError","outlinedInfo","outlinedWarning","contained","containedInherit","containedPrimary","containedSecondary","containedSuccess","containedError","containedInfo","containedWarning","disableElevation","focusVisible","disabled","colorInherit","textSizeSmall","textSizeMedium","textSizeLarge","outlinedSizeSmall","outlinedSizeMedium","outlinedSizeLarge","containedSizeSmall","containedSizeMedium","containedSizeLarge","sizeMedium","sizeSmall","sizeLarge","fullWidth","startIcon","endIcon","iconSizeSmall","iconSizeMedium","iconSizeLarge"]);var g=a.createContext({});var S=a.createContext(void 0),y=t(6417);const f=["children","color","component","className","disabled","disableElevation","disableFocusRipple","endIcon","focusVisibleClassName","fullWidth","size","startIcon","type","variant"],z=e=>(0,r.Z)({},"small"===e.size&&{"& > *:nth-of-type(1)":{fontSize:18}},"medium"===e.size&&{"& > *:nth-of-type(1)":{fontSize:20}},"large"===e.size&&{"& > *:nth-of-type(1)":{fontSize:22}}),Z=(0,d.ZP)(p.Z,{shouldForwardProp:e=>(0,d.FO)(e)||"classes"===e,name:"MuiButton",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,o[t.variant],o[`${t.variant}${(0,v.Z)(t.color)}`],o[`size${(0,v.Z)(t.size)}`],o[`${t.variant}Size${(0,v.Z)(t.size)}`],"inherit"===t.color&&o.colorInherit,t.disableElevation&&o.disableElevation,t.fullWidth&&o.fullWidth]}})((e=>{let{theme:o,ownerState:t}=e;var n,a;const i="light"===o.palette.mode?o.palette.grey[300]:o.palette.grey[800],l="light"===o.palette.mode?o.palette.grey.A100:o.palette.grey[700];return(0,r.Z)({},o.typography.button,{minWidth:64,padding:"6px 16px",borderRadius:(o.vars||o).shape.borderRadius,transition:o.transitions.create(["background-color","box-shadow","border-color","color"],{duration:o.transitions.duration.short}),"&:hover":(0,r.Z)({textDecoration:"none",backgroundColor:o.vars?`rgba(${o.vars.palette.text.primaryChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette.text.primary,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"text"===t.variant&&"inherit"!==t.color&&{backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette[t.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"outlined"===t.variant&&"inherit"!==t.color&&{border:`1px solid ${(o.vars||o).palette[t.color].main}`,backgroundColor:o.vars?`rgba(${o.vars.palette[t.color].mainChannel} / ${o.vars.palette.action.hoverOpacity})`:(0,c.Fq)(o.palette[t.color].main,o.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},"contained"===t.variant&&{backgroundColor:o.vars?o.vars.palette.Button.inheritContainedHoverBg:l,boxShadow:(o.vars||o).shadows[4],"@media (hover: none)":{boxShadow:(o.vars||o).shadows[2],backgroundColor:(o.vars||o).palette.grey[300]}},"contained"===t.variant&&"inherit"!==t.color&&{backgroundColor:(o.vars||o).palette[t.color].dark,"@media (hover: none)":{backgroundColor:(o.vars||o).palette[t.color].main}}),"&:active":(0,r.Z)({},"contained"===t.variant&&{boxShadow:(o.vars||o).shadows[8]}),[`&.${x.focusVisible}`]:(0,r.Z)({},"contained"===t.variant&&{boxShadow:(o.vars||o).shadows[6]}),[`&.${x.disabled}`]:(0,r.Z)({color:(o.vars||o).palette.action.disabled},"outlined"===t.variant&&{border:`1px solid ${(o.vars||o).palette.action.disabledBackground}`},"contained"===t.variant&&{color:(o.vars||o).palette.action.disabled,boxShadow:(o.vars||o).shadows[0],backgroundColor:(o.vars||o).palette.action.disabledBackground})},"text"===t.variant&&{padding:"6px 8px"},"text"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].main},"outlined"===t.variant&&{padding:"5px 15px",border:"1px solid currentColor"},"outlined"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].main,border:o.vars?`1px solid rgba(${o.vars.palette[t.color].mainChannel} / 0.5)`:`1px solid ${(0,c.Fq)(o.palette[t.color].main,.5)}`},"contained"===t.variant&&{color:o.vars?o.vars.palette.text.primary:null==(n=(a=o.palette).getContrastText)?void 0:n.call(a,o.palette.grey[300]),backgroundColor:o.vars?o.vars.palette.Button.inheritContainedBg:i,boxShadow:(o.vars||o).shadows[2]},"contained"===t.variant&&"inherit"!==t.color&&{color:(o.vars||o).palette[t.color].contrastText,backgroundColor:(o.vars||o).palette[t.color].main},"inherit"===t.color&&{color:"inherit",borderColor:"currentColor"},"small"===t.size&&"text"===t.variant&&{padding:"4px 5px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"text"===t.variant&&{padding:"8px 11px",fontSize:o.typography.pxToRem(15)},"small"===t.size&&"outlined"===t.variant&&{padding:"3px 9px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"outlined"===t.variant&&{padding:"7px 21px",fontSize:o.typography.pxToRem(15)},"small"===t.size&&"contained"===t.variant&&{padding:"4px 10px",fontSize:o.typography.pxToRem(13)},"large"===t.size&&"contained"===t.variant&&{padding:"8px 22px",fontSize:o.typography.pxToRem(15)},t.fullWidth&&{width:"100%"})}),(e=>{let{ownerState:o}=e;return o.disableElevation&&{boxShadow:"none","&:hover":{boxShadow:"none"},[`&.${x.focusVisible}`]:{boxShadow:"none"},"&:active":{boxShadow:"none"},[`&.${x.disabled}`]:{boxShadow:"none"}}})),w=(0,d.ZP)("span",{name:"MuiButton",slot:"StartIcon",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.startIcon,o[`iconSize${(0,v.Z)(t.size)}`]]}})((e=>{let{ownerState:o}=e;return(0,r.Z)({display:"inherit",marginRight:8,marginLeft:-4},"small"===o.size&&{marginLeft:-2},z(o))})),C=(0,d.ZP)("span",{name:"MuiButton",slot:"EndIcon",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.endIcon,o[`iconSize${(0,v.Z)(t.size)}`]]}})((e=>{let{ownerState:o}=e;return(0,r.Z)({display:"inherit",marginRight:-4,marginLeft:8},"small"===o.size&&{marginRight:-2},z(o))}));var $=a.forwardRef((function(e,o){const t=a.useContext(g),c=a.useContext(S),d=(0,l.Z)(t,e),p=(0,u.Z)({props:d,name:"MuiButton"}),{children:m,color:h="primary",component:x="button",className:z,disabled:$=!1,disableElevation:k=!1,disableFocusRipple:I=!1,endIcon:R,focusVisibleClassName:W,fullWidth:B=!1,size:M="medium",startIcon:F,type:E,variant:N="text"}=p,V=(0,n.Z)(p,f),L=(0,r.Z)({},p,{color:h,component:x,disabled:$,disableElevation:k,disableFocusRipple:I,fullWidth:B,size:M,type:E,variant:N}),P=(e=>{const{color:o,disableElevation:t,fullWidth:n,size:a,variant:i,classes:l}=e,c={root:["root",i,`${i}${(0,v.Z)(o)}`,`size${(0,v.Z)(a)}`,`${i}Size${(0,v.Z)(a)}`,"inherit"===o&&"colorInherit",t&&"disableElevation",n&&"fullWidth"],label:["label"],startIcon:["startIcon",`iconSize${(0,v.Z)(a)}`],endIcon:["endIcon",`iconSize${(0,v.Z)(a)}`]},d=(0,s.Z)(c,b,l);return(0,r.Z)({},l,d)})(L),T=F&&(0,y.jsx)(w,{className:P.startIcon,ownerState:L,children:F}),D=R&&(0,y.jsx)(C,{className:P.endIcon,ownerState:L,children:R}),O=c||"";return(0,y.jsxs)(Z,(0,r.Z)({ownerState:L,className:(0,i.Z)(t.className,P.root,z,O),component:x,disabled:$,focusRipple:!I,focusVisibleClassName:(0,i.Z)(P.focusVisible,W),ref:o,type:E},V,{classes:P,children:[T,m,D]}))}))},891:function(e,o,t){t.d(o,{Z:function(){return C}});var n=t(3366),r=t(7462),a=t(7313),i=t(4146),l=t(1921),s=t(1615),c=t(7592),d=t(7342),u=t(3427),p=t(6983),v=t(1113),m=t(7430),h=t(2298);function b(e){return(0,h.ZP)("MuiLink",e)}var x=(0,m.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]),g=t(6428),S=t(1468);const y={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"};var f=e=>{let{theme:o,ownerState:t}=e;const n=(e=>y[e]||e)(t.color),r=(0,g.DW)(o,`palette.${n}`,!1)||t.color,a=(0,g.DW)(o,`palette.${n}Channel`);return"vars"in o&&a?`rgba(${a} / 0.4)`:(0,S.Fq)(r,.4)},z=t(6417);const Z=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],w=(0,c.ZP)(v.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:t}=e;return[o.root,o[`underline${(0,s.Z)(t.underline)}`],"button"===t.component&&o.button]}})((e=>{let{theme:o,ownerState:t}=e;return(0,r.Z)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,r.Z)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:f({theme:o,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},[`&.${x.focusVisible}`]:{outline:"auto"}})}));var C=a.forwardRef((function(e,o){const t=(0,d.Z)({props:e,name:"MuiLink"}),{className:c,color:v="primary",component:m="a",onBlur:h,onFocus:x,TypographyClasses:g,underline:S="always",variant:f="inherit",sx:C}=t,$=(0,n.Z)(t,Z),{isFocusVisibleRef:k,onBlur:I,onFocus:R,ref:W}=(0,u.Z)(),[B,M]=a.useState(!1),F=(0,p.Z)(o,W),E=(0,r.Z)({},t,{color:v,component:m,focusVisible:B,underline:S,variant:f}),N=(e=>{const{classes:o,component:t,focusVisible:n,underline:r}=e,a={root:["root",`underline${(0,s.Z)(r)}`,"button"===t&&"button",n&&"focusVisible"]};return(0,l.Z)(a,b,o)})(E);return(0,z.jsx)(w,(0,r.Z)({color:v,className:(0,i.Z)(N.root,c),classes:g,component:m,onBlur:e=>{I(e),!1===k.current&&M(!1),h&&h(e)},onFocus:e=>{R(e),!0===k.current&&M(!0),x&&x(e)},ref:F,ownerState:E,variant:f,sx:[...Object.keys(y).includes(v)?[]:[{color:v}],...Array.isArray(C)?C:[C]]},$))}))}}]);
\ No newline at end of file
diff --git a/client/build/static/js/538.7dc1c85f.chunk.js b/client/build/static/js/538.7dc1c85f.chunk.js
new file mode 100644
index 0000000..3aa70a5
--- /dev/null
+++ b/client/build/static/js/538.7dc1c85f.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[538],{1550:function(e,r,o){o.d(r,{Z:function(){return g}});var t=o(3366),a=o(7462),n=o(7313),i=o(4146),s=o(1921),l=o(7342),d=o(7592),c=o(6837),m=o(1615),u=o(3633),f=o(1397),p=o(7430),h=o(2298);function Z(e){return(0,h.ZP)("MuiFormControl",e)}(0,p.Z)("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);var v=o(6417);const b=["children","className","color","component","disabled","error","focused","fullWidth","hiddenLabel","margin","required","size","variant"],x=(0,d.ZP)("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:o}=e;return(0,a.Z)({},r.root,r[`margin${(0,m.Z)(o.margin)}`],o.fullWidth&&r.fullWidth)}})((e=>{let{ownerState:r}=e;return(0,a.Z)({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top"},"normal"===r.margin&&{marginTop:16,marginBottom:8},"dense"===r.margin&&{marginTop:8,marginBottom:4},r.fullWidth&&{width:"100%"})}));var g=n.forwardRef((function(e,r){const o=(0,l.Z)({props:e,name:"MuiFormControl"}),{children:d,className:p,color:h="primary",component:g="div",disabled:k=!1,error:S=!1,focused:w,fullWidth:z=!1,hiddenLabel:q=!1,margin:C="none",required:W=!1,size:y="medium",variant:F="outlined"}=o,M=(0,t.Z)(o,b),L=(0,a.Z)({},o,{color:h,component:g,disabled:k,error:S,fullWidth:z,hiddenLabel:q,margin:C,required:W,size:y,variant:F}),N=(e=>{const{classes:r,margin:o,fullWidth:t}=e,a={root:["root","none"!==o&&`margin${(0,m.Z)(o)}`,t&&"fullWidth"]};return(0,s.Z)(a,Z,r)})(L),[P,R]=n.useState((()=>{let e=!1;return d&&n.Children.forEach(d,(r=>{if(!(0,u.Z)(r,["Input","Select"]))return;const o=(0,u.Z)(r,["Select"])?r.props.input:r;o&&(0,c.B7)(o.props)&&(e=!0)})),e})),[A,$]=n.useState((()=>{let e=!1;return d&&n.Children.forEach(d,(r=>{(0,u.Z)(r,["Input","Select"])&&((0,c.vd)(r.props,!0)||(0,c.vd)(r.props.inputProps,!0))&&(e=!0)})),e})),[E,I]=n.useState(!1);k&&E&&I(!1);const _=void 0===w||k?E:w;let j;const O=n.useMemo((()=>({adornedStart:P,setAdornedStart:R,color:h,disabled:k,error:S,filled:A,focused:_,fullWidth:z,hiddenLabel:q,size:y,onBlur:()=>{I(!1)},onEmpty:()=>{$(!1)},onFilled:()=>{$(!0)},onFocus:()=>{I(!0)},registerEffect:j,required:W,variant:F})),[P,h,k,S,A,_,z,q,j,W,y,F]);return(0,v.jsx)(f.Z.Provider,{value:O,children:(0,v.jsx)(x,(0,a.Z)({as:g,ownerState:L,className:(0,i.Z)(N.root,p),ref:r},M,{children:d}))})}))},3306:function(e,r,o){o.d(r,{Z:function(){return q}});var t=o(3366),a=o(7462),n=o(7313),i=o(1921),s=o(4146),l=o(300),d=o(9008),c=o(1615),m=o(7342),u=o(7592),f=o(7430),p=o(2298);function h(e){return(0,p.ZP)("MuiFormLabel",e)}var Z=(0,f.Z)("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),v=o(6417);const b=["children","className","color","component","disabled","error","filled","focused","required"],x=(0,u.ZP)("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:o}=e;return(0,a.Z)({},r.root,"secondary"===o.color&&r.colorSecondary,o.filled&&r.filled)}})((e=>{let{theme:r,ownerState:o}=e;return(0,a.Z)({color:(r.vars||r).palette.text.secondary},r.typography.body1,{lineHeight:"1.4375em",padding:0,position:"relative",[`&.${Z.focused}`]:{color:(r.vars||r).palette[o.color].main},[`&.${Z.disabled}`]:{color:(r.vars||r).palette.text.disabled},[`&.${Z.error}`]:{color:(r.vars||r).palette.error.main}})})),g=(0,u.ZP)("span",{name:"MuiFormLabel",slot:"Asterisk",overridesResolver:(e,r)=>r.asterisk})((e=>{let{theme:r}=e;return{[`&.${Z.error}`]:{color:(r.vars||r).palette.error.main}}}));var k=n.forwardRef((function(e,r){const o=(0,m.Z)({props:e,name:"MuiFormLabel"}),{children:n,className:u,component:f="label"}=o,p=(0,t.Z)(o,b),Z=(0,d.Z)(),k=(0,l.Z)({props:o,muiFormControl:Z,states:["color","required","focused","disabled","error","filled"]}),S=(0,a.Z)({},o,{color:k.color||"primary",component:f,disabled:k.disabled,error:k.error,filled:k.filled,focused:k.focused,required:k.required}),w=(e=>{const{classes:r,color:o,focused:t,disabled:a,error:n,filled:s,required:l}=e,d={root:["root",`color${(0,c.Z)(o)}`,a&&"disabled",n&&"error",s&&"filled",t&&"focused",l&&"required"],asterisk:["asterisk",n&&"error"]};return(0,i.Z)(d,h,r)})(S);return(0,v.jsxs)(x,(0,a.Z)({as:f,ownerState:S,className:(0,s.Z)(w.root,u),ref:r},p,{children:[n,k.required&&(0,v.jsxs)(g,{ownerState:S,"aria-hidden":!0,className:w.asterisk,children:["\u2009","*"]})]}))}));function S(e){return(0,p.ZP)("MuiInputLabel",e)}(0,f.Z)("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const w=["disableAnimation","margin","shrink","variant","className"],z=(0,u.ZP)(k,{shouldForwardProp:e=>(0,u.FO)(e)||"classes"===e,name:"MuiInputLabel",slot:"Root",overridesResolver:(e,r)=>{const{ownerState:o}=e;return[{[`& .${Z.asterisk}`]:r.asterisk},r.root,o.formControl&&r.formControl,"small"===o.size&&r.sizeSmall,o.shrink&&r.shrink,!o.disableAnimation&&r.animated,o.focused&&r.focused,r[o.variant]]}})((e=>{let{theme:r,ownerState:o}=e;return(0,a.Z)({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%"},o.formControl&&{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"},"small"===o.size&&{transform:"translate(0, 17px) scale(1)"},o.shrink&&{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"},!o.disableAnimation&&{transition:r.transitions.create(["color","transform","max-width"],{duration:r.transitions.duration.shorter,easing:r.transitions.easing.easeOut})},"filled"===o.variant&&(0,a.Z)({zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===o.size&&{transform:"translate(12px, 13px) scale(1)"},o.shrink&&(0,a.Z)({userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"},"small"===o.size&&{transform:"translate(12px, 4px) scale(0.75)"})),"outlined"===o.variant&&(0,a.Z)({zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"},"small"===o.size&&{transform:"translate(14px, 9px) scale(1)"},o.shrink&&{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}))}));var q=n.forwardRef((function(e,r){const o=(0,m.Z)({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,shrink:u,className:f}=o,p=(0,t.Z)(o,w),h=(0,d.Z)();let Z=u;"undefined"===typeof Z&&h&&(Z=h.filled||h.focused||h.adornedStart);const b=(0,l.Z)({props:o,muiFormControl:h,states:["size","variant","required","focused"]}),x=(0,a.Z)({},o,{disableAnimation:n,formControl:h,shrink:Z,size:b.size,variant:b.variant,required:b.required,focused:b.focused}),g=(e=>{const{classes:r,formControl:o,size:t,shrink:n,disableAnimation:s,variant:l,required:d}=e,m={root:["root",o&&"formControl",!s&&"animated",n&&"shrink",t&&"normal"!==t&&`size${(0,c.Z)(t)}`,l],asterisk:[d&&"asterisk"]},u=(0,i.Z)(m,S,r);return(0,a.Z)({},r,u)})(x);return(0,v.jsx)(z,(0,a.Z)({"data-shrink":Z,ownerState:x,ref:r,className:(0,s.Z)(g.root,f)},p,{classes:g}))}))}}]);
\ No newline at end of file
diff --git a/client/build/static/js/5477.d176da86.chunk.js b/client/build/static/js/5477.d176da86.chunk.js
new file mode 100644
index 0000000..ba3a085
--- /dev/null
+++ b/client/build/static/js/5477.d176da86.chunk.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[5477,6261],{6261:function(e,t,a){a.r(t);var r=a(7313),n=a(5662),s=a(2548),i=a(1405),l=a(501),c=a(1629),o=a(6835),d=a(3477),h=a(3467),p=a(4076),g=a(7478),m=a(7649),u=a(8737),x=a(5508),b=(a(8695),a(6417));t.default=()=>{const[e,t]=(0,r.useState)([]),[a,f]=(0,r.useState)(""),[j,y]=(0,r.useState)([]),[Z,k]=(0,r.useState)(""),[w,v]=(0,r.useState)([]),[S,L]=(0,r.useState)(""),[P,_]=(0,r.useState)([]),[C,E]=r.useState(0),[V,$]=r.useState(10),[D,R]=(0,r.useState)(null),[M,O]=(0,r.useState)(!1),[B,F]=(0,r.useState)(!1);(0,r.useEffect)((()=>{(async()=>{try{const e=await n.Z.get("https://cbitmis-backend-3.onrender.com/api/departments/blocks");t(e.data)}catch(e){console.error("Error fetching blocks:",e)}})()}),[]);return(0,b.jsxs)("div",{children:[(0,b.jsxs)("div",{style:{display:"flex",justifyContent:"flex-end",marginBottom:"10px"},children:[(0,b.jsx)("button",{onClick:()=>{if(!D)return;const e=Object.keys(D[0]),t=D.map((t=>{const a={};return e.forEach((e=>{a[e]=t[e]})),a})),a=u.P6.json_to_sheet(t),r=u.P6.book_new();u.P6.book_append_sheet(r,a,"posts"),u.NC(r,"postsData.xlsx"),O(!0)},style:{marginRight:"10px"},children:"Generate Excel"}),(0,b.jsx)("button",{onClick:()=>{if(!D)return;const e=new x.jsPDF;e.autoTable({html:"#jsonTable"}),e.save("jsonData.pdf"),F(!0)},children:"Generate PDF"})]}),(0,b.jsxs)(s.Z,{value:a,onChange:async e=>{const t=e.target.value;f(t);try{const e=await n.Z.get(`https://cbitmis-backend-3.onrender.com/api/departments/departments/${t}`);y(e.data)}catch(a){console.error(`Error fetching departments for block ${t}:`,a)}k(""),v([]),L(""),_([])},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},children:[(0,b.jsx)(i.Z,{value:"",disabled:!0,children:"Select Block"}),e.map((e=>(0,b.jsx)(i.Z,{value:e,children:e},e)))]}),(0,b.jsxs)(s.Z,{value:Z,onChange:async e=>{const t=e.target.value;k(t);try{const e=await n.Z.get(`http://localhost:5000/api/departments/categories/${a}/${t}`);v(e.data)}catch(r){console.error(`Error fetching categories for department ${t} in block ${a}:`,r)}L(""),_([])},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},disabled:!a,children:[(0,b.jsx)(i.Z,{value:"",disabled:!0,children:"Select Department"}),j.map((e=>(0,b.jsx)(i.Z,{value:e.name,children:e.name},e._id)))]}),(0,b.jsxs)(s.Z,{value:S,onChange:async e=>{const t=e.target.value;L(t);const r=`http://localhost:5000/api/departments/A/civil/${t}`;try{const e=await n.Z.get(r);_(e.data),(e=>{fetch(e).then((e=>{if(!e.ok)throw new Error("Failed to fetch data");return e.json()})).then((e=>{if(!(e&&e.length>0))throw new Error("Empty JSON response");R(e)})).catch((e=>{console.error("Error fetching data:",e)}))})(r)}catch(s){console.error(`Error fetching ${t} for department ${Z} in block ${a}:`,s)}},displayEmpty:!0,variant:"outlined",style:{marginRight:"10px"},disabled:!Z,children:[(0,b.jsx)(i.Z,{value:"",disabled:!0,children:"Select Category"}),w.map((e=>(0,b.jsx)(i.Z,{value:e,children:e},e)))]}),(0,b.jsxs)(l.Z,{sx:{width:"100%",overflow:"hidden"},children:[(0,b.jsx)(c.Z,{sx:{maxHeight:440},children:(0,b.jsxs)(o.Z,{stickyHeader:!0,"aria-label":"sticky table",children:[(0,b.jsx)(d.Z,{children:(0,b.jsx)(p.Z,{children:P.length>0&&"object"===typeof P[0]&&Object.keys(P[0]).map((e=>"_id"!==e&&(0,b.jsx)(g.Z,{children:(0,b.jsx)("b",{children:e.toUpperCase()})},e)))})}),(0,b.jsx)(h.Z,{children:P.map(((e,t)=>(0,b.jsx)(p.Z,{children:"object"===typeof e&&Object.keys(e).map((t=>"_id"!==t&&(0,b.jsx)(g.Z,{children:"boolean"===typeof e[t]?e[t]?"Yes":"No":e[t]},t)))},t)))})]})}),(0,b.jsx)(m.Z,{rowsPerPageOptions:[10,25,100],component:"div",count:P.length,rowsPerPage:V,page:C,onPageChange:(e,t)=>{E(t)},onRowsPerPageChange:e=>{$(+e.target.value),E(0)}})]}),M&&(0,b.jsx)("p",{children:"Excel file generated successfully."}),B&&(0,b.jsx)("p",{children:"PDF file generated successfully."})]})}},9726:function(e,t,a){a.d(t,{Z:function(){return d}});var r=a(9860),n=a(7503),s=a(5272),i=a(891),l=a(8119),c=a(6417);var o=e=>{let{color:t,outline:a,size:n,sx:s,...i}=e;const o=(0,r.Z)(),d=t&&!a&&{color:o.palette.background.paper,bgcolor:`${t}.main`},h=a&&{color:t?`${t}.main`:"primary.main",bgcolor:o.palette.background.paper,border:"2px solid",borderColor:t?`${t}.main`:"primary.main"};let p={};switch(n){case"badge":p={width:o.spacing(3.5),height:o.spacing(3.5)};break;case"xs":p={width:o.spacing(4.25),height:o.spacing(4.25)};break;case"sm":p={width:o.spacing(5),height:o.spacing(5)};break;case"lg":p={width:o.spacing(9),height:o.spacing(9)};break;case"xl":p={width:o.spacing(10.25),height:o.spacing(10.25)};break;case"md":p={width:o.spacing(7.5),height:o.spacing(7.5)};break;default:p={}}return(0,c.jsx)(l.Z,{sx:{...d,...h,...p,...s},...i})};var d=e=>{let{title:t,link:a,icon:l}=e;const d=(0,r.Z)();return(0,c.jsx)(n.Z,{title:t||"Reference",placement:"left",children:(0,c.jsxs)(s.Z,{disableRipple:!0,children:[!l&&(0,c.jsx)(o,{component:i.Z,href:a,target:"_blank",alt:"MUI Logo",size:"badge",color:"primary",outline:!0,children:(0,c.jsxs)("svg",{width:"500",height:"500",viewBox:"0 0 500 500",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,c.jsxs)("g",{clipPath:"url(#clip0)",children:[(0,c.jsx)("path",{d:"M100 260.9V131L212.5 195.95V239.25L137.5 195.95V282.55L100 260.9Z",fill:d.palette.primary[800]}),(0,c.jsx)("path",{d:"M212.5 195.95L325 131V260.9L250 304.2L212.5 282.55L287.5 239.25V195.95L212.5 239.25V195.95Z",fill:d.palette.primary.main}),(0,c.jsx)("path",{d:"M212.5 282.55V325.85L287.5 369.15V325.85L212.5 282.55Z",fill:d.palette.primary[800]}),(0,c.jsx)("path",{d:"M287.5 369.15L400 304.2V217.6L362.5 239.25V282.55L287.5 325.85V369.15ZM362.5 195.95V152.65L400 131V174.3L362.5 195.95Z",fill:d.palette.primary.main})]}),(0,c.jsx)("defs",{children:(0,c.jsx)("clipPath",{id:"clip0",children:(0,c.jsx)("rect",{width:"300",height:"238.3",fill:"white",transform:"translate(100 131)"})})})]})}),l&&(0,c.jsx)(o,{component:i.Z,href:a,target:"_blank",size:"badge",color:"primary",outline:!0,children:l})]})})}},5477:function(e,t,a){a.r(t);var r=a(7592),n=(a(6261),a(3497)),s=a(5587),i=(a(9726),a(6417));(0,r.ZP)("iframe")((e=>{let{theme:t}=e;return{height:"calc(100vh - 210px)",border:"1px solid",borderColor:t.palette.primary.light}}));t.default=()=>(0,i.jsx)(n.Z,{title:"H Block Details (AI&DS)",children:(0,i.jsx)(s.Z,{block:"H",department:"Artificial Intelligence and Data Science"})})}}]);
\ No newline at end of file
diff --git a/client/build/static/js/5508.9570ac79.chunk.js b/client/build/static/js/5508.9570ac79.chunk.js
new file mode 100644
index 0000000..833539a
--- /dev/null
+++ b/client/build/static/js/5508.9570ac79.chunk.js
@@ -0,0 +1,2 @@
+/*! For license information please see 5508.9570ac79.chunk.js.LICENSE.txt */
+"use strict";(self.webpackChunkcbit_management_information_system=self.webpackChunkcbit_management_information_system||[]).push([[5508],{5508:function(t,e,r){r.r(e),r.d(e,{AcroForm:function(){return be},AcroFormAppearance:function(){return me},AcroFormButton:function(){return ce},AcroFormCheckBox:function(){return de},AcroFormChoiceField:function(){return ae},AcroFormComboBox:function(){return se},AcroFormEditBox:function(){return ue},AcroFormListBox:function(){return oe},AcroFormPasswordField:function(){return ge},AcroFormPushButton:function(){return he},AcroFormRadioButton:function(){return le},AcroFormTextField:function(){return pe},GState:function(){return _t},ShadingPattern:function(){return kt},TilingPattern:function(){return Ft},default:function(){return mr},jsPDF:function(){return It}});var n=r(1002),i=Uint8Array,a=Uint16Array,o=Uint32Array,s=new i([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,0,0,0]),u=new i([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]),c=new i([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),h=function(t,e){for(var r=new a(31),n=0;n<31;++n)r[n]=e+=1<>>1|(21845&b)<<1;y=(61680&(y=(52428&y)>>>2|(13107&y)<<2))>>>4|(3855&y)<<4,v[b]=((65280&y)>>>8|(255&y)<<8)>>>1}var w=function(t,e,r){for(var n=t.length,i=0,o=new a(e);i>>c]=h}else for(s=new a(n),i=0;i>>15-t[i];return s},N=new i(288);for(b=0;b<144;++b)N[b]=8;for(b=144;b<256;++b)N[b]=9;for(b=256;b<280;++b)N[b]=7;for(b=280;b<288;++b)N[b]=8;var L=new i(32);for(b=0;b<32;++b)L[b]=5;var x=w(N,9,0),A=w(N,9,1),S=w(L,5,0),_=w(L,5,1),P=function(t){for(var e=t[0],r=1;re&&(e=t[r]);return e},k=function(t,e,r){var n=e/8>>0;return(t[n]|t[n+1]<<8)>>>(7&e)&r},F=function(t,e){var r=e/8>>0;return(t[r]|t[r+1]<<8|t[r+2]<<16)>>>(7&e)},I=function(t){return(t/8>>0)+(7&t&&1)},C=function(t,e,r){(null==e||e<0)&&(e=0),(null==r||r>t.length)&&(r=t.length);var n=new(t instanceof a?a:t instanceof o?o:i)(r-e);return n.set(t.subarray(e,r)),n},j=function(t,e,r){var n=t.length,a=!e||r,o=!r||r.i;r||(r={}),e||(e=new i(3*n));var h=function(t){var r=e.length;if(t>r){var n=new i(Math.max(2*r,t));n.set(e),e=n}},l=r.f||0,d=r.p||0,p=r.b||0,m=r.l,v=r.d,b=r.m,y=r.n,N=8*n;do{if(!m){r.f=l=k(t,d,1);var L=k(t,d+1,3);if(d+=3,!L){var x=t[(U=I(d)+4)-4]|t[U-3]<<8,S=U+x;if(S>n){if(o)throw"unexpected EOF";break}a&&h(p+x),e.set(t.subarray(U,S),p),r.b=p+=x,r.p=d=8*S;continue}if(1==L)m=A,v=_,b=9,y=5;else{if(2!=L)throw"invalid block type";var j=k(t,d,31)+257,O=k(t,d+10,15)+4,B=j+k(t,d+5,31)+1;d+=14;for(var M=new i(B),E=new i(19),q=0;qN)break;var T=w(E,R,1);for(q=0;q>>4)<16)M[q++]=U;else{var H=0,W=0;for(16==U?(W=3+k(t,d,3),d+=2,H=M[q-1]):17==U?(W=3+k(t,d,7),d+=3):18==U&&(W=11+k(t,d,127),d+=7);W--;)M[q++]=H}}var V=M.subarray(0,j),G=M.subarray(j);b=P(V),y=P(G),m=w(V,b,1),v=w(G,y,1)}if(d>N)throw"unexpected EOF"}a&&h(p+131072);for(var Y=(1<>>4;if((d+=15&H)>N)throw"unexpected EOF";if(!H)throw"invalid length/literal";if(K<256)e[p++]=K;else{if(256==K){m=null;break}var Z=K-254;if(K>264){var $=s[q=K-257];Z=k(t,d,(1<<$)-1)+f[q],d+=$}var Q=v[F(t,d)&J],tt=Q>>>4;if(!Q)throw"invalid distance";d+=15&Q;G=g[tt];if(tt>3){$=u[tt];G+=F(t,d)&(1<<$)-1,d+=$}if(d>N)throw"unexpected EOF";a&&h(p+131072);for(var et=p+Z;p>0;t[n]|=r,t[n+1]|=r>>>8},B=function(t,e,r){r<<=7&e;var n=e/8>>0;t[n]|=r,t[n+1]|=r>>>8,t[n+2]|=r>>>16},M=function(t,e){for(var r=[],n=0;np&&(p=s[n].s);var g=new a(p+1),m=E(r[f-1],g,0);if(m>e){n=0;var v=0,b=m-e,y=1<e))break;v+=y-(1<>>=b;v>0;){var N=s[n].s;g[N]=0&&v;--n){var L=s[n].s;g[L]==e&&(--g[L],++v)}m=e}return[new i(g),m]},E=function(t,e,r){return-1==t.s?Math.max(E(t.l,e,r+1),E(t.r,e,r+1)):e[t.s]=r},q=function(t){for(var e=t.length;e&&!t[--e];);for(var r=new a(++e),n=0,i=t[0],o=1,s=function(t){r[n++]=t},u=1;u<=e;++u)if(t[u]==i&&u!=e)++o;else{if(!i&&o>2){for(;o>138;o-=138)s(32754);o>2&&(s(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(s(i),--o;o>6;o-=6)s(8304);o>2&&(s(o-3<<5|8208),o=0)}for(;o--;)s(i);o=1,i=t[u]}return[r.subarray(0,n),e]},R=function(t,e){for(var r=0,n=0;n>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a4&&!U[c[H-1]];--H);var W,V,G,Y,J=d+5<<3,X=R(i,N)+R(o,L)+h,K=R(i,m)+R(o,y)+h+14+3*H+R(j,U)+(2*j[16]+3*j[17]+7*j[18]);if(J<=X&&J<=K)return D(e,p,t.subarray(f,f+d));if(O(e,p,1+(K15&&(O(e,p,tt[E]>>>5&127),p+=tt[E]>>>12)}}}else W=x,V=N,G=S,Y=L;for(E=0;E255){et=n[E]>>>18&31;B(e,p,W[et+257]),p+=V[et+257],et>7&&(O(e,p,n[E]>>>23&31),p+=s[et]);var rt=31&n[E];B(e,p,G[rt]),p+=Y[rt],rt>3&&(B(e,p,n[E]>>>5&8191),p+=u[rt])}else B(e,p,W[n[E]]),p+=V[n[E]];return B(e,p,W[256]),p+V[256]},U=new o([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),z=new i(0),H=function(t,e,r,n,c,h){var l=t.length,f=new i(n+l+5*(1+Math.floor(l/7e3))+c),p=f.subarray(n,f.length-c),g=0;if(!e||l<8)for(var v=0;v<=l;v+=65535){var b=v+65535;b>>13,N=8191&y,L=(1<7e3||M>24576)&&V>423){g=T(t,p,0,k,F,j,B,M,q,v-q,g),M=O=B=0,q=v;for(var G=0;G<286;++G)F[G]=0;for(G=0;G<30;++G)j[G]=0}var Y=2,J=0,X=N,K=H-W&32767;if(V>2&&R==P(v-K))for(var Z=Math.min(w,V)-1,$=Math.min(32767,v),Q=Math.min(258,V);K<=$&&--X&&H!=W;){if(t[v+Y]==t[v+Y-K]){for(var tt=0;ttY){if(Y=tt,J=K,tt>Z)break;var et=Math.min(K,tt-2),rt=0;for(G=0;Grt&&(rt=it,W=nt)}}}K+=(H=W)-(W=x[H])+32768&32767}if(J){k[M++]=268435456|d[Y]<<18|m[J];var at=31&d[Y],ot=31&m[J];B+=s[at]+u[ot],++F[257+at],++j[ot],E=v+Y,++O}else k[M++]=t[v],++F[t[v]]}}g=T(t,p,h,k,F,j,B,M,q,v-q,g),h||(g=D(p,g,z))}return C(f,0,n+I(g)+c)},W=function(){var t=1,e=0;return{p:function(r){for(var n=t,i=e,a=r.length,o=0;o!=a;){for(var s=Math.min(o+5552,a);o>>8<<16|(255&e)<<8|e>>>8)+2*((255&t)<<23)}}},V=function(t,e,r,n,i){return H(t,null==e.level?6:e.level,null==e.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):12+e.mem,r,n,!i)},G=function(t,e,r){for(;r;++e)t[e]=r,r>>>=8},Y=function(t,e){var r=e.level,n=0==r?0:r<6?1:9==r?3:2;t[0]=120,t[1]=n<<6|(n?32-2*n:1)},J=function(t){if(8!=(15&t[0])||t[0]>>>4>7||(t[0]<<8|t[1])%31)throw"invalid zlib data";if(32&t[1])throw"invalid zlib data: preset dictionaries not supported"};function X(t,e){void 0===e&&(e={});var r=W();r.p(t);var n=V(t,e,2,4);return Y(n,e),G(n,n.length-4,r.d()),n}function K(t,e){return j((J(t),t.subarray(2,-4)),e)}var Z=function(){return"undefined"!=typeof window?window:"undefined"!=typeof r.g?r.g:"undefined"!=typeof self?self:this}();function $(){Z.console&&"function"==typeof Z.console.log&&Z.console.log.apply(Z.console,arguments)}var Q={log:$,warn:function(t){Z.console&&("function"==typeof Z.console.warn?Z.console.warn.apply(Z.console,arguments):$.call(null,arguments))},error:function(t){Z.console&&("function"==typeof Z.console.error?Z.console.error.apply(Z.console,arguments):$(t))}};function tt(t,e,r){var n=new XMLHttpRequest;n.open("GET",t),n.responseType="blob",n.onload=function(){at(n.response,e,r)},n.onerror=function(){Q.error("could not download file")},n.send()}function et(t){var e=new XMLHttpRequest;e.open("HEAD",t,!1);try{e.send()}catch(t){}return e.status>=200&&e.status<=299}function rt(t){try{t.dispatchEvent(new MouseEvent("click"))}catch(r){var e=document.createEvent("MouseEvents");e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(e)}}var nt,it,at=Z.saveAs||("object"!==("undefined"==typeof window?"undefined":(0,n.Z)(window))||window!==Z?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(t,e,r){var n=Z.URL||Z.webkitURL,i=document.createElement("a");e=e||t.name||"download",i.download=e,i.rel="noopener","string"==typeof t?(i.href=t,i.origin!==location.origin?et(i.href)?tt(t,e,r):rt(i,i.target="_blank"):rt(i)):(i.href=n.createObjectURL(t),setTimeout((function(){n.revokeObjectURL(i.href)}),4e4),setTimeout((function(){rt(i)}),0))}:"msSaveOrOpenBlob"in navigator?function(t,e,r){if(e=e||t.name||"download","string"==typeof t)if(et(t))tt(t,e,r);else{var i=document.createElement("a");i.href=t,i.target="_blank",setTimeout((function(){rt(i)}))}else navigator.msSaveOrOpenBlob(function(t,e){return void 0===e?e={autoBom:!1}:"object"!==(0,n.Z)(e)&&(Q.warn("Deprecated: Expected third argument to be a object"),e={autoBom:!e}),e.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob([String.fromCharCode(65279),t],{type:t.type}):t}(t,r),e)}:function(t,e,r,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),"string"==typeof t)return tt(t,e,r);var a="application/octet-stream"===t.type,o=/constructor/i.test(Z.HTMLElement)||Z.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||a&&o)&&"object"===("undefined"==typeof FileReader?"undefined":(0,n.Z)(FileReader))){var u=new FileReader;u.onloadend=function(){var t=u.result;t=s?t:t.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=t:location=t,i=null},u.readAsDataURL(t)}else{var c=Z.URL||Z.webkitURL,h=c.createObjectURL(t);i?i.location=h:location.href=h,i=null,setTimeout((function(){c.revokeObjectURL(h)}),4e4)}});function ot(t){var e;t=t||"",this.ok=!1,"#"==t.charAt(0)&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var r=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(t){return[parseInt(t[1]),parseInt(t[2]),parseInt(t[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(t){return[parseInt(t[1],16),parseInt(t[2],16),parseInt(t[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(t){return[parseInt(t[1]+t[1],16),parseInt(t[2]+t[2],16),parseInt(t[3]+t[3],16)]}}],n=0;n255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var t=this.r.toString(16),e=this.g.toString(16),r=this.b.toString(16);return 1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),1==r.length&&(r="0"+r),"#"+t+e+r}}function st(t,e){var r=t[0],n=t[1],i=t[2],a=t[3];r=ct(r,n,i,a,e[0],7,-680876936),a=ct(a,r,n,i,e[1],12,-389564586),i=ct(i,a,r,n,e[2],17,606105819),n=ct(n,i,a,r,e[3],22,-1044525330),r=ct(r,n,i,a,e[4],7,-176418897),a=ct(a,r,n,i,e[5],12,1200080426),i=ct(i,a,r,n,e[6],17,-1473231341),n=ct(n,i,a,r,e[7],22,-45705983),r=ct(r,n,i,a,e[8],7,1770035416),a=ct(a,r,n,i,e[9],12,-1958414417),i=ct(i,a,r,n,e[10],17,-42063),n=ct(n,i,a,r,e[11],22,-1990404162),r=ct(r,n,i,a,e[12],7,1804603682),a=ct(a,r,n,i,e[13],12,-40341101),i=ct(i,a,r,n,e[14],17,-1502002290),r=ht(r,n=ct(n,i,a,r,e[15],22,1236535329),i,a,e[1],5,-165796510),a=ht(a,r,n,i,e[6],9,-1069501632),i=ht(i,a,r,n,e[11],14,643717713),n=ht(n,i,a,r,e[0],20,-373897302),r=ht(r,n,i,a,e[5],5,-701558691),a=ht(a,r,n,i,e[10],9,38016083),i=ht(i,a,r,n,e[15],14,-660478335),n=ht(n,i,a,r,e[4],20,-405537848),r=ht(r,n,i,a,e[9],5,568446438),a=ht(a,r,n,i,e[14],9,-1019803690),i=ht(i,a,r,n,e[3],14,-187363961),n=ht(n,i,a,r,e[8],20,1163531501),r=ht(r,n,i,a,e[13],5,-1444681467),a=ht(a,r,n,i,e[2],9,-51403784),i=ht(i,a,r,n,e[7],14,1735328473),r=lt(r,n=ht(n,i,a,r,e[12],20,-1926607734),i,a,e[5],4,-378558),a=lt(a,r,n,i,e[8],11,-2022574463),i=lt(i,a,r,n,e[11],16,1839030562),n=lt(n,i,a,r,e[14],23,-35309556),r=lt(r,n,i,a,e[1],4,-1530992060),a=lt(a,r,n,i,e[4],11,1272893353),i=lt(i,a,r,n,e[7],16,-155497632),n=lt(n,i,a,r,e[10],23,-1094730640),r=lt(r,n,i,a,e[13],4,681279174),a=lt(a,r,n,i,e[0],11,-358537222),i=lt(i,a,r,n,e[3],16,-722521979),n=lt(n,i,a,r,e[6],23,76029189),r=lt(r,n,i,a,e[9],4,-640364487),a=lt(a,r,n,i,e[12],11,-421815835),i=lt(i,a,r,n,e[15],16,530742520),r=ft(r,n=lt(n,i,a,r,e[2],23,-995338651),i,a,e[0],6,-198630844),a=ft(a,r,n,i,e[7],10,1126891415),i=ft(i,a,r,n,e[14],15,-1416354905),n=ft(n,i,a,r,e[5],21,-57434055),r=ft(r,n,i,a,e[12],6,1700485571),a=ft(a,r,n,i,e[3],10,-1894986606),i=ft(i,a,r,n,e[10],15,-1051523),n=ft(n,i,a,r,e[1],21,-2054922799),r=ft(r,n,i,a,e[8],6,1873313359),a=ft(a,r,n,i,e[15],10,-30611744),i=ft(i,a,r,n,e[6],15,-1560198380),n=ft(n,i,a,r,e[13],21,1309151649),r=ft(r,n,i,a,e[4],6,-145523070),a=ft(a,r,n,i,e[11],10,-1120210379),i=ft(i,a,r,n,e[2],15,718787259),n=ft(n,i,a,r,e[9],21,-343485551),t[0]=wt(r,t[0]),t[1]=wt(n,t[1]),t[2]=wt(i,t[2]),t[3]=wt(a,t[3])}function ut(t,e,r,n,i,a){return e=wt(wt(e,t),wt(n,a)),wt(e<>>32-i,r)}function ct(t,e,r,n,i,a,o){return ut(e&r|~e&n,t,e,i,a,o)}function ht(t,e,r,n,i,a,o){return ut(e&n|r&~n,t,e,i,a,o)}function lt(t,e,r,n,i,a,o){return ut(e^r^n,t,e,i,a,o)}function ft(t,e,r,n,i,a,o){return ut(r^(e|~n),t,e,i,a,o)}function dt(t){var e,r=t.length,n=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=t.length;e+=64)st(n,pt(t.substring(e-64,e)));t=t.substring(e-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e>2]|=t.charCodeAt(e)<<(e%4<<3);if(i[e>>2]|=128<<(e%4<<3),e>55)for(st(n,i),e=0;e<16;e++)i[e]=0;return i[14]=8*r,st(n,i),n}function pt(t){var e,r=[];for(e=0;e<64;e+=4)r[e>>2]=t.charCodeAt(e)+(t.charCodeAt(e+1)<<8)+(t.charCodeAt(e+2)<<16)+(t.charCodeAt(e+3)<<24);return r}nt=Z.atob.bind(Z),it=Z.btoa.bind(Z);var gt="0123456789abcdef".split("");function mt(t){for(var e="",r=0;r<4;r++)e+=gt[t>>8*r+4&15]+gt[t>>8*r&15];return e}function vt(t){return String.fromCharCode((255&t)>>0,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function bt(t){return dt(t).map(vt).join("")}var yt="5d41402abc4b2a76b9719d911017c592"!=function(t){for(var e=0;e>16)+(e>>16)+(r>>16)<<16|65535&r}return t+e&4294967295}function Nt(t,e){var r,n,i,a;if(t!==r){for(var o=(i=t,a=1+(256/t.length>>0),new Array(a+1).join(i)),s=[],u=0;u<256;u++)s[u]=u;var c=0;for(u=0;u<256;u++){var h=s[u];c=(c+h+o.charCodeAt(u))%256,s[u]=s[c],s[c]=h}r=t,n=s}else s=n;var l=e.length,f=0,d=0,p="";for(u=0;u\x80/\f\xa9\xfedSiz";var a=(e+this.padding).substr(0,32),o=(r+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,o),this.P=-(1+(255^i)),this.encryptionKey=bt(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=Nt(this.encryptionKey,this.padding)}function At(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var e="",r=t.length,n=0;n126?"#"+("0"+i.toString(16)).slice(-2):t[n]}return e}function St(t){if("object"!==(0,n.Z)(t))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(t,r,n){if(n=n||!1,"string"!=typeof t||"function"!=typeof r||"boolean"!=typeof n)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(t)||(e[t]={});var i=Math.random().toString(35);return e[t][i]=[r,!!n],i},this.unsubscribe=function(t){for(var r in e)if(e[r][t])return delete e[r][t],0===Object.keys(e[r]).length&&delete e[r],!0;return!1},this.publish=function(r){if(e.hasOwnProperty(r)){var n=Array.prototype.slice.call(arguments,1),i=[];for(var a in e[r]){var o=e[r][a];try{o[0].apply(t,n)}catch(r){Z.console&&Q.error("jsPDF PubSub Error",r.message,r)}o[1]&&i.push(a)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function _t(t){if(!(this instanceof _t))return new _t(t);var e="opacity,stroke-opacity".split(",");for(var r in t)t.hasOwnProperty(r)&&e.indexOf(r)>=0&&(this[r]=t[r]);this.id="",this.objectNumber=-1}function Pt(t,e){this.gState=t,this.matrix=e,this.id="",this.objectNumber=-1}function kt(t,e,r,n,i){if(!(this instanceof kt))return new kt(t,e,r,n,i);this.type="axial"===t?2:3,this.coords=e,this.colors=r,Pt.call(this,n,i)}function Ft(t,e,r,n,i){if(!(this instanceof Ft))return new Ft(t,e,r,n,i);this.boundingBox=t,this.xStep=e,this.yStep=r,this.stream="",this.cloneIndex=0,Pt.call(this,n,i)}function It(t){var e,r="string"==typeof arguments[0]?arguments[0]:"p",i=arguments[1],a=arguments[2],o=arguments[3],s=[],u=1,c=16,h="S",l=null;"object"===(0,n.Z)(t=t||{})&&(r=t.orientation,i=t.unit||i,a=t.format||a,o=t.compress||t.compressPdf||o,null!==(l=t.encryption||null)&&(l.userPassword=l.userPassword||"",l.ownerPassword=l.ownerPassword||"",l.userPermissions=l.userPermissions||[]),u="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(e=t.precision),void 0!==t.floatPrecision&&(c=t.floatPrecision),h=t.defaultPathOperation||"S"),s=t.filters||(!0===o?["FlateEncode"]:s),i=i||"mm",r=(""+(r||"P")).toLowerCase();var f=t.putOnlyUsedFonts||!1,d={},p={internal:{},__private__:{}};p.__private__.PubSub=St;var g="1.3",m=p.__private__.getPdfVersion=function(){return g};p.__private__.setPdfVersion=function(t){g=t};var v={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.__private__.getPageFormats=function(){return v};var b=p.__private__.getPageFormat=function(t){return v[t]};a=a||"a4";var y="compat",w="advanced",N=y;function L(){this.saveGraphicsState(),tt(new Wt(bt,0,0,-bt,0,Lr()*bt).toString()+" cm"),this.setFontSize(this.getFontSize()/bt),h="n",N=w}function x(){this.restoreGraphicsState(),h="S",N=y}var A=p.__private__.combineFontStyleAndFontWeight=function(t,e){if("bold"==t&&"normal"==e||"bold"==t&&400==e||"normal"==t&&"italic"==e||"bold"==t&&"italic"==e)throw new Error("Invalid Combination of fontweight and fontstyle");return e&&(t=400==e||"normal"===e?"italic"===t?"italic":"normal":700!=e&&"bold"!==e||"normal"!==t?(700==e?"bold":e)+""+t:"bold"),t};p.advancedAPI=function(t){var e=N===y;return e&&L.call(this),"function"!=typeof t||(t(this),e&&x.call(this)),this},p.compatAPI=function(t){var e=N===w;return e&&x.call(this),"function"!=typeof t||(t(this),e&&L.call(this)),this},p.isAdvancedAPI=function(){return N===w};var S,_=function(t){if(N!==w)throw new Error(t+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},P=p.roundToPrecision=p.__private__.roundToPrecision=function(t,r){var n=e||r;if(isNaN(t)||isNaN(n))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return t.toFixed(n).replace(/0+$/,"")};S=p.hpf=p.__private__.hpf="number"==typeof c?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return P(t,c)}:"smart"===c?function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return P(t,t>-1&&t<1?16:5)}:function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.hpf");return P(t,16)};var k=p.f2=p.__private__.f2=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f2");return P(t,2)},F=p.__private__.f3=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.f3");return P(t,3)},I=p.scale=p.__private__.scale=function(t){if(isNaN(t))throw new Error("Invalid argument passed to jsPDF.scale");return N===y?t*bt:N===w?t:void 0},C=function(t){return I(function(t){return N===y?Lr()-t:N===w?t:void 0}(t))};p.__private__.setPrecision=p.setPrecision=function(t){"number"==typeof parseInt(t,10)&&(e=parseInt(t,10))};var j,O="00000000000000000000000000000000",B=p.__private__.getFileId=function(){return O},M=p.__private__.setFileId=function(t){return O=void 0!==t&&/^[a-fA-F0-9]{32}$/.test(t)?t.toUpperCase():O.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==l&&(je=new xt(l.userPermissions,l.userPassword,l.ownerPassword,O)),O};p.setFileId=function(t){return M(t),this},p.getFileId=function(){return B()};var E=p.__private__.convertDateToPDFDate=function(t){var e=t.getTimezoneOffset(),r=e<0?"+":"-",n=Math.floor(Math.abs(e/60)),i=Math.abs(e%60),a=[r,U(n),"'",U(i),"'"].join("");return["D:",t.getFullYear(),U(t.getMonth()+1),U(t.getDate()),U(t.getHours()),U(t.getMinutes()),U(t.getSeconds()),a].join("")},q=p.__private__.convertPDFDateToDate=function(t){var e=parseInt(t.substr(2,4),10),r=parseInt(t.substr(6,2),10)-1,n=parseInt(t.substr(8,2),10),i=parseInt(t.substr(10,2),10),a=parseInt(t.substr(12,2),10),o=parseInt(t.substr(14,2),10);return new Date(e,r,n,i,a,o,0)},R=p.__private__.setCreationDate=function(t){var e;if(void 0===t&&(t=new Date),t instanceof Date)e=E(t);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(t))throw new Error("Invalid argument passed to jsPDF.setCreationDate");e=t}return j=e},D=p.__private__.getCreationDate=function(t){var e=j;return"jsDate"===t&&(e=q(j)),e};p.setCreationDate=function(t){return R(t),this},p.getCreationDate=function(t){return D(t)};var T,U=p.__private__.padd2=function(t){return("0"+parseInt(t)).slice(-2)},z=p.__private__.padd2Hex=function(t){return("00"+(t=t.toString())).substr(t.length)},H=0,W=[],V=[],G=0,Y=[],J=[],X=!1,K=V;p.__private__.setCustomOutputDestination=function(t){X=!0,K=t};var $=function(t){X||(K=t)};p.__private__.resetCustomOutputDestination=function(){X=!1,K=V};var tt=p.__private__.out=function(t){return t=t.toString(),G+=t.length+1,K.push(t),K},et=p.__private__.write=function(t){return tt(1===arguments.length?t.toString():Array.prototype.join.call(arguments," "))},rt=p.__private__.getArrayBuffer=function(t){for(var e=t.length,r=new ArrayBuffer(e),n=new Uint8Array(r);e--;)n[e]=t.charCodeAt(e);return r},nt=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];p.__private__.getStandardFonts=function(){return nt};var st=t.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(t){return st=N===w?t/bt:t,this};var ut,ct=p.__private__.getFontSize=p.getFontSize=function(){return N===y?st:st*bt},ht=t.R2L||!1;p.__private__.setR2L=p.setR2L=function(t){return ht=t,this},p.__private__.getR2L=p.getR2L=function(){return ht};var lt,ft=p.__private__.setZoomMode=function(t){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(t))ut=t;else if(isNaN(t)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(t))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+t+'" is not recognized.');ut=t}else ut=parseInt(t,10)};p.__private__.getZoomMode=function(){return ut};var dt,pt=p.__private__.setPageMode=function(t){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(t))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+t+'" is not recognized.');lt=t};p.__private__.getPageMode=function(){return lt};var gt=p.__private__.setLayoutMode=function(t){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(t))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+t+'" is not recognized.');dt=t};p.__private__.getLayoutMode=function(){return dt},p.__private__.setDisplayMode=p.setDisplayMode=function(t,e,r){return ft(t),gt(e),pt(r),this};var mt={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(t){if(-1===Object.keys(mt).indexOf(t))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return mt[t]},p.__private__.getDocumentProperties=function(){return mt},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(t){for(var e in mt)mt.hasOwnProperty(e)&&t[e]&&(mt[e]=t[e]);return this},p.__private__.setDocumentProperty=function(t,e){if(-1===Object.keys(mt).indexOf(t))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return mt[t]=e};var vt,bt,yt,wt,Nt,Lt={},Pt={},Ct=[],jt={},Ot={},Bt={},Mt={},Et=null,qt=0,Rt=[],Dt=new St(p),Tt=t.hotfixes||[],Ut={},zt={},Ht=[],Wt=function t(e,r,n,i,a,o){if(!(this instanceof t))return new t(e,r,n,i,a,o);isNaN(e)&&(e=1),isNaN(r)&&(r=0),isNaN(n)&&(n=0),isNaN(i)&&(i=1),isNaN(a)&&(a=0),isNaN(o)&&(o=0),this._matrix=[e,r,n,i,a,o]};Object.defineProperty(Wt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Wt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Wt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Wt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Wt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Wt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Wt.prototype,"a",{get:function(){return this._matrix[0]},set:function(t){this._matrix[0]=t}}),Object.defineProperty(Wt.prototype,"b",{get:function(){return this._matrix[1]},set:function(t){this._matrix[1]=t}}),Object.defineProperty(Wt.prototype,"c",{get:function(){return this._matrix[2]},set:function(t){this._matrix[2]=t}}),Object.defineProperty(Wt.prototype,"d",{get:function(){return this._matrix[3]},set:function(t){this._matrix[3]=t}}),Object.defineProperty(Wt.prototype,"e",{get:function(){return this._matrix[4]},set:function(t){this._matrix[4]=t}}),Object.defineProperty(Wt.prototype,"f",{get:function(){return this._matrix[5]},set:function(t){this._matrix[5]=t}}),Object.defineProperty(Wt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Wt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Wt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Wt.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),Wt.prototype.join=function(t){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(S).join(t)},Wt.prototype.multiply=function(t){var e=t.sx*this.sx+t.shy*this.shx,r=t.sx*this.shy+t.shy*this.sy,n=t.shx*this.sx+t.sy*this.shx,i=t.shx*this.shy+t.sy*this.sy,a=t.tx*this.sx+t.ty*this.shx+this.tx,o=t.tx*this.shy+t.ty*this.sy+this.ty;return new Wt(e,r,n,i,a,o)},Wt.prototype.decompose=function(){var t=this.sx,e=this.shy,r=this.shx,n=this.sy,i=this.tx,a=this.ty,o=Math.sqrt(t*t+e*e),s=(t/=o)*r+(e/=o)*n;r-=t*s,n-=e*s;var u=Math.sqrt(r*r+n*n);return s/=u,t*(n/=u)>16&255,i=c>>8&255,a=255&c}if(void 0===i||void 0===o&&r===i&&i===a)if("string"==typeof r)e=r+" "+s[0];else if(2===t.precision)e=k(r/255)+" "+s[0];else e=F(r/255)+" "+s[0];else if(void 0===o||"object"===(0,n.Z)(o)){if(o&&!isNaN(o.a)&&0===o.a)return["1.","1.","1.",s[1]].join(" ");if("string"==typeof r)e=[r,i,a,s[1]].join(" ");else if(2===t.precision)e=[k(r/255),k(i/255),k(a/255),s[1]].join(" ");else e=[F(r/255),F(i/255),F(a/255),s[1]].join(" ")}else if("string"==typeof r)e=[r,i,a,o,s[2]].join(" ");else if(2===t.precision)e=[k(r),k(i),k(a),k(o),s[2]].join(" ");else e=[F(r),F(i),F(a),F(o),s[2]].join(" ");return e},ne=p.__private__.getFilters=function(){return s},ie=p.__private__.putStream=function(t){var e=(t=t||{}).data||"",r=t.filters||ne(),n=t.alreadyAppliedFilters||[],i=t.addLength1||!1,a=e.length,o=t.objectId,s=function(t){return t};if(null!==l&&void 0===o)throw new Error("ObjectId must be passed to putStream for file encryption");null!==l&&(s=je.encryptor(o,0));var u={};!0===r&&(r=["FlateEncode"]);var c=t.additionalKeyValues||[],h=(u=void 0!==It.API.processDataByFilters?It.API.processDataByFilters(e,r):{data:e,reverseChain:[]}).reverseChain+(Array.isArray(n)?n.join(" "):n.toString());if(0!==u.data.length&&(c.push({key:"Length",value:u.data.length}),!0===i&&c.push({key:"Length1",value:a})),0!=h.length)if(h.split("/").length-1==1)c.push({key:"Filter",value:h});else{c.push({key:"Filter",value:"["+h+"]"});for(var f=0;f>"),0!==u.data.length&&(tt("stream"),tt(s(u.data)),tt("endstream"))},ae=p.__private__.putPage=function(t){var e=t.number,r=t.data,n=t.objId,i=t.contentsObjId;Zt(n,!0),tt("<>"),tt("endobj");var a=r.join("\n");return N===w&&(a+="\nQ"),Zt(i,!0),ie({data:a,filters:ne(),objectId:i}),tt("endobj"),n},oe=p.__private__.putPages=function(){var t,e,r=[];for(t=1;t<=qt;t++)Rt[t].objId=Kt(),Rt[t].contentsObjId=Kt();for(t=1;t<=qt;t++)r.push(ae({number:t,data:J[t],objId:Rt[t].objId,contentsObjId:Rt[t].contentsObjId,mediaBox:Rt[t].mediaBox,cropBox:Rt[t].cropBox,bleedBox:Rt[t].bleedBox,trimBox:Rt[t].trimBox,artBox:Rt[t].artBox,userUnit:Rt[t].userUnit,rootDictionaryObjId:Qt,resourceDictionaryObjId:te}));Zt(Qt,!0),tt("<>"),tt("endobj"),Dt.publish("postPutPages")},se=function(t){Dt.publish("putFont",{font:t,out:tt,newObject:Xt,putStream:ie}),!0!==t.isAlreadyPutted&&(t.objectNumber=Xt(),tt("<<"),tt("/Type /Font"),tt("/BaseFont /"+At(t.postScriptName)),tt("/Subtype /Type1"),"string"==typeof t.encoding&&tt("/Encoding /"+t.encoding),tt("/FirstChar 32"),tt("/LastChar 255"),tt(">>"),tt("endobj"))},ue=function(t){t.objectNumber=Xt();var e=[];e.push({key:"Type",value:"/XObject"}),e.push({key:"Subtype",value:"/Form"}),e.push({key:"BBox",value:"["+[S(t.x),S(t.y),S(t.x+t.width),S(t.y+t.height)].join(" ")+"]"}),e.push({key:"Matrix",value:"["+t.matrix.toString()+"]"});var r=t.pages[1].join("\n");ie({data:r,additionalKeyValues:e,objectId:t.objectNumber}),tt("endobj")},ce=function(t,e){e||(e=21);var r=Xt(),n=function(t,e){var r,n=[],i=1/(e-1);for(r=0;r<1;r+=i)n.push(r);if(n.push(1),0!=t[0].offset){var a={offset:0,color:t[0].color};t.unshift(a)}if(1!=t[t.length-1].offset){var o={offset:1,color:t[t.length-1].color};t.push(o)}for(var s="",u=0,c=0;ct[u+1].offset;)u++;var h=t[u].offset,l=(r-h)/(t[u+1].offset-h),f=t[u].color,d=t[u+1].color;s+=z(Math.round((1-l)*f[0]+l*d[0]).toString(16))+z(Math.round((1-l)*f[1]+l*d[1]).toString(16))+z(Math.round((1-l)*f[2]+l*d[2]).toString(16))}return s.trim()}(t.colors,e),i=[];i.push({key:"FunctionType",value:"0"}),i.push({key:"Domain",value:"[0.0 1.0]"}),i.push({key:"Size",value:"["+e+"]"}),i.push({key:"BitsPerSample",value:"8"}),i.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),i.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ie({data:n,additionalKeyValues:i,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:r}),tt("endobj"),t.objectNumber=Xt(),tt("<< /ShadingType "+t.type),tt("/ColorSpace /DeviceRGB");var a="/Coords ["+S(parseFloat(t.coords[0]))+" "+S(parseFloat(t.coords[1]))+" ";2===t.type?a+=S(parseFloat(t.coords[2]))+" "+S(parseFloat(t.coords[3])):a+=S(parseFloat(t.coords[2]))+" "+S(parseFloat(t.coords[3]))+" "+S(parseFloat(t.coords[4]))+" "+S(parseFloat(t.coords[5])),tt(a+="]"),t.matrix&&tt("/Matrix ["+t.matrix.toString()+"]"),tt("/Function "+r+" 0 R"),tt("/Extend [true true]"),tt(">>"),tt("endobj")},he=function(t,e){var r=Kt(),n=Xt();e.push({resourcesOid:r,objectOid:n}),t.objectNumber=n;var i=[];i.push({key:"Type",value:"/Pattern"}),i.push({key:"PatternType",value:"1"}),i.push({key:"PaintType",value:"1"}),i.push({key:"TilingType",value:"1"}),i.push({key:"BBox",value:"["+t.boundingBox.map(S).join(" ")+"]"}),i.push({key:"XStep",value:S(t.xStep)}),i.push({key:"YStep",value:S(t.yStep)}),i.push({key:"Resources",value:r+" 0 R"}),t.matrix&&i.push({key:"Matrix",value:"["+t.matrix.toString()+"]"}),ie({data:t.stream,additionalKeyValues:i,objectId:t.objectNumber}),tt("endobj")},le=function(t){for(var e in t.objectNumber=Xt(),tt("<<"),t)switch(e){case"opacity":tt("/ca "+k(t[e]));break;case"stroke-opacity":tt("/CA "+k(t[e]))}tt(">>"),tt("endobj")},fe=function(t){Zt(t.resourcesOid,!0),tt("<<"),tt("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var t in tt("/Font <<"),Lt)Lt.hasOwnProperty(t)&&(!1===f||!0===f&&d.hasOwnProperty(t))&&tt("/"+t+" "+Lt[t].objectNumber+" 0 R");tt(">>")}(),function(){if(Object.keys(jt).length>0){for(var t in tt("/Shading <<"),jt)jt.hasOwnProperty(t)&&jt[t]instanceof kt&&jt[t].objectNumber>=0&&tt("/"+t+" "+jt[t].objectNumber+" 0 R");Dt.publish("putShadingPatternDict"),tt(">>")}}(),function(t){if(Object.keys(jt).length>0){for(var e in tt("/Pattern <<"),jt)jt.hasOwnProperty(e)&&jt[e]instanceof p.TilingPattern&&jt[e].objectNumber>=0&&jt[e].objectNumber>")}}(t.objectOid),function(){if(Object.keys(Bt).length>0){var t;for(t in tt("/ExtGState <<"),Bt)Bt.hasOwnProperty(t)&&Bt[t].objectNumber>=0&&tt("/"+t+" "+Bt[t].objectNumber+" 0 R");Dt.publish("putGStateDict"),tt(">>")}}(),function(){for(var t in tt("/XObject <<"),Ut)Ut.hasOwnProperty(t)&&Ut[t].objectNumber>=0&&tt("/"+t+" "+Ut[t].objectNumber+" 0 R");Dt.publish("putXobjectDict"),tt(">>")}(),tt(">>"),tt("endobj")},de=function(){var t=[];(function(){for(var t in Lt)Lt.hasOwnProperty(t)&&(!1===f||!0===f&&d.hasOwnProperty(t))&&se(Lt[t])})(),function(){var t;for(t in Bt)Bt.hasOwnProperty(t)&&le(Bt[t])}(),function(){for(var t in Ut)Ut.hasOwnProperty(t)&&ue(Ut[t])}(),function(t){var e;for(e in jt)jt.hasOwnProperty(e)&&(jt[e]instanceof kt?ce(jt[e]):jt[e]instanceof Ft&&he(jt[e],t))}(t),Dt.publish("putResources"),t.forEach(fe),fe({resourcesOid:te,objectOid:Number.MAX_SAFE_INTEGER}),Dt.publish("postPutResources")},pe=function(t){Pt[t.fontName]=Pt[t.fontName]||{},Pt[t.fontName][t.fontStyle]=t.id},ge=function(t,e,r,n,i){var a={id:"F"+(Object.keys(Lt).length+1).toString(10),postScriptName:t,fontName:e,fontStyle:r,encoding:n,isStandardFont:i||!1,metadata:{}};return Dt.publish("addFont",{font:a,instance:this}),Lt[a.id]=a,pe(a),a.id},me=p.__private__.pdfEscape=p.pdfEscape=function(t,e){return function(t,e){var r,n,i,a,o,s,u,c,h;if(i=(e=e||{}).sourceEncoding||"Unicode",o=e.outputEncoding,(e.autoencode||o)&&Lt[vt].metadata&&Lt[vt].metadata[i]&&Lt[vt].metadata[i].encoding&&(a=Lt[vt].metadata[i].encoding,!o&&Lt[vt].encoding&&(o=Lt[vt].encoding),!o&&a.codePages&&(o=a.codePages[0]),"string"==typeof o&&(o=a[o]),o)){for(u=!1,s=[],r=0,n=t.length;r>8&&(u=!0);t=s.join("")}for(r=t.length;void 0===u&&0!==r;)t.charCodeAt(r-1)>>8&&(u=!0),r--;if(!u)return t;for(s=e.noBOM?[]:[254,255],r=0,n=t.length;r>8)>>8)throw new Error("Character at position "+r+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(h),s.push(c-(h<<8))}return String.fromCharCode.apply(void 0,s)}(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ve=p.__private__.beginPage=function(t){J[++qt]=[],Rt[qt]={objId:0,contentsObjId:0,userUnit:Number(u),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(t[0]),topRightY:Number(t[1])}},we(qt),$(J[T])},be=function(t,e){var n,i,o;switch(r=e||r,"string"==typeof t&&(n=b(t.toLowerCase()),Array.isArray(n)&&(i=n[0],o=n[1])),Array.isArray(t)&&(i=t[0]*bt,o=t[1]*bt),isNaN(i)&&(i=a[0],o=a[1]),(i>14400||o>14400)&&(Q.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),o=Math.min(14400,o)),a=[i,o],r.substr(0,1)){case"l":o>i&&(a=[o,i]);break;case"p":i>o&&(a=[o,i])}ve(a),$e(Ke),tt(or),0!==fr&&tt(fr+" J"),0!==dr&&tt(dr+" j"),Dt.publish("addPage",{pageNumber:qt})},ye=function(t){t>0&&t<=qt&&(J.splice(t,1),Rt.splice(t,1),qt--,T>qt&&(T=qt),this.setPage(T))},we=function(t){t>0&&t<=qt&&(T=t)},Ne=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return J.length-1},Le=function(t,e,r){var n,i=void 0;return r=r||{},t=void 0!==t?t:Lt[vt].fontName,e=void 0!==e?e:Lt[vt].fontStyle,n=t.toLowerCase(),void 0!==Pt[n]&&void 0!==Pt[n][e]?i=Pt[n][e]:void 0!==Pt[t]&&void 0!==Pt[t][e]?i=Pt[t][e]:!1===r.disableWarning&&Q.warn("Unable to look up font label for font '"+t+"', '"+e+"'. Refer to getFontList() for available fonts."),i||r.noFallback||null==(i=Pt.times[e])&&(i=Pt.times.normal),i},xe=p.__private__.putInfo=function(){var t=Xt(),e=function(t){return t};for(var r in null!==l&&(e=je.encryptor(t,0)),tt("<<"),tt("/Producer ("+me(e("jsPDF "+It.version))+")"),mt)mt.hasOwnProperty(r)&&mt[r]&&tt("/"+r.substr(0,1).toUpperCase()+r.substr(1)+" ("+me(e(mt[r]))+")");tt("/CreationDate ("+me(e(j))+")"),tt(">>"),tt("endobj")},Ae=p.__private__.putCatalog=function(t){var e=(t=t||{}).rootDictionaryObjId||Qt;switch(Xt(),tt("<<"),tt("/Type /Catalog"),tt("/Pages "+e+" 0 R"),ut||(ut="fullwidth"),ut){case"fullwidth":tt("/OpenAction [3 0 R /FitH null]");break;case"fullheight":tt("/OpenAction [3 0 R /FitV null]");break;case"fullpage":tt("/OpenAction [3 0 R /Fit]");break;case"original":tt("/OpenAction [3 0 R /XYZ null null 1]");break;default:var r=""+ut;"%"===r.substr(r.length-1)&&(ut=parseInt(ut)/100),"number"==typeof ut&&tt("/OpenAction [3 0 R /XYZ null null "+k(ut)+"]")}switch(dt||(dt="continuous"),dt){case"continuous":tt("/PageLayout /OneColumn");break;case"single":tt("/PageLayout /SinglePage");break;case"two":case"twoleft":tt("/PageLayout /TwoColumnLeft");break;case"tworight":tt("/PageLayout /TwoColumnRight")}lt&&tt("/PageMode /"+lt),Dt.publish("putCatalog"),tt(">>"),tt("endobj")},Se=p.__private__.putTrailer=function(){tt("trailer"),tt("<<"),tt("/Size "+(H+1)),tt("/Root "+H+" 0 R"),tt("/Info "+(H-1)+" 0 R"),null!==l&&tt("/Encrypt "+je.oid+" 0 R"),tt("/ID [ <"+O+"> <"+O+"> ]"),tt(">>")},_e=p.__private__.putHeader=function(){tt("%PDF-"+g),tt("%\xba\xdf\xac\xe0")},Pe=p.__private__.putXRef=function(){var t="0000000000";tt("xref"),tt("0 "+(H+1)),tt("0000000000 65535 f ");for(var e=1;e<=H;e++)"function"==typeof W[e]?tt((t+W[e]()).slice(-10)+" 00000 n "):void 0!==W[e]?tt((t+W[e]).slice(-10)+" 00000 n "):tt("0000000000 00000 n ")},ke=p.__private__.buildDocument=function(){H=0,G=0,V=[],W=[],Y=[],Qt=Kt(),te=Kt(),$(V),Dt.publish("buildDocument"),_e(),oe(),function(){Dt.publish("putAdditionalObjects");for(var t=0;t"),tt("/O <"+je.toHexString(je.O)+">"),tt("/P "+je.P),tt(">>"),tt("endobj")),xe(),Ae();var t=G;return Pe(),Se(),tt("startxref"),tt(""+t),tt("%%EOF"),$(J[T]),V.join("\n")},Fe=p.__private__.getBlob=function(t){return new Blob([rt(t)],{type:"application/pdf"})},Ie=p.output=p.__private__.output=(Jt=function(t,e){switch("string"==typeof(e=e||{})?e={filename:e}:e.filename=e.filename||"generated.pdf",t){case void 0:return ke();case"save":p.save(e.filename);break;case"arraybuffer":return rt(ke());case"blob":return Fe(ke());case"bloburi":case"bloburl":if(void 0!==Z.URL&&"function"==typeof Z.URL.createObjectURL)return Z.URL&&Z.URL.createObjectURL(Fe(ke()))||void 0;Q.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var r="",n=ke();try{r=it(n)}catch(t){r=it(unescape(encodeURIComponent(n)))}return"data:application/pdf;filename="+e.filename+";base64,"+r;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(Z)){var i="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",a=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';e.pdfObjectUrl&&(i=e.pdfObjectUrl,a="");var o='
diff --git a/client/src/App.js b/client/src/App.js
index 69b75dc..a483d66 100644
--- a/client/src/App.js
+++ b/client/src/App.js
@@ -7,10 +7,10 @@ import { CssBaseline, StyledEngineProvider } from '@mui/material';
import Routes from 'routes';
// defaultTheme
-import themes from 'themes';
+import themes from './themes';
// project imports
-import NavigationScroll from 'layout/NavigationScroll';
+import NavigationScroll from './layout/NavigationScroll';
// ==============================|| APP ||============================== //
diff --git a/client/src/index.js b/client/src/index.js
index 3c4a895..d0795dc 100644
--- a/client/src/index.js
+++ b/client/src/index.js
@@ -5,25 +5,45 @@ import { BrowserRouter } from 'react-router-dom';
import { Provider } from 'react-redux';
// project imports
-import * as serviceWorker from 'serviceWorker';
-import App from 'App';
-import { store } from 'store';
+import * as serviceWorker from './serviceWorker';
+import App from './App';
+import { store } from './store';
// style + assets
-import 'assets/scss/style.scss';
+import './assets/scss/style.scss';
import config from './config';
// ==============================|| REACT DOM RENDER ||============================== //
const container = document.getElementById('root');
const root = createRoot(container); // createRoot(container!) if you use TypeScript
-root.render(
-
-
-
-
-
-);
+
+// const renderReactDom = () => {
+// root.render(
+//
+//
+//
+//
+//
+// );
+// }
+
+const startApp = () => {
+ root.render(
+
+
+
+
+
+ );
+};
+
+if (!window.cordova) {
+ startApp();
+} else {
+ document.addEventListener('deviceready', startApp, false);
+}
+
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
diff --git a/client/src/menu-items/pages.js b/client/src/menu-items/pages.js
index 5571852..196731f 100644
--- a/client/src/menu-items/pages.js
+++ b/client/src/menu-items/pages.js
@@ -44,7 +44,7 @@
// assets
import { IconKey } from '@tabler/icons-react';
import LockPersonIcon from '@mui/icons-material/LockPerson';
-import { isAdmin } from '../menu-items/isadmin'; // Import the isAdmin function
+import { isAdmin } from './isadmin'; // Import the isAdmin function
// constant
const icons = {
diff --git a/client/src/store/customizationReducer.js b/client/src/store/customizationReducer.js
index bd8e5f0..0c6bec8 100644
--- a/client/src/store/customizationReducer.js
+++ b/client/src/store/customizationReducer.js
@@ -1,5 +1,5 @@
// project imports
-import config from 'config';
+import config from '../config';
// action - state management
import * as actionTypes from './actions';
diff --git a/client/src/themes/index.js b/client/src/themes/index.js
index 6e694aa..42def82 100644
--- a/client/src/themes/index.js
+++ b/client/src/themes/index.js
@@ -1,7 +1,7 @@
import { createTheme } from '@mui/material/styles';
// assets
-import colors from 'assets/scss/_themes-vars.module.scss';
+import colors from '../assets/scss/_themes-vars.module.scss';
// project imports
import componentStyleOverrides from './compStyleOverride';
diff --git a/client/src/views/pages/authentication/auth-forms/AuthLogin.js b/client/src/views/pages/authentication/auth-forms/AuthLogin.js
index bdccf1d..dd6207b 100644
--- a/client/src/views/pages/authentication/auth-forms/AuthLogin.js
+++ b/client/src/views/pages/authentication/auth-forms/AuthLogin.js
@@ -40,7 +40,8 @@ const FirebaseLogin = ({ ...others }) => {
const handleLogin = async (values, actions) => {
setLoading(true);
try {
- const response = await axios.post('http://localhost:8000/auth/login', values);
+ //added deplyed link for login backend
+ const response = await axios.post('https://miscbit-10.onrender.com/auth/login', values);
const { token, usertype } = response.data;
localStorage.setItem('token', token);
if (usertype === 'admin') {
diff --git a/client/src/views/utilities/blocks.js b/client/src/views/utilities/blocks.js
index 9b7f895..cf497b9 100644
--- a/client/src/views/utilities/blocks.js
+++ b/client/src/views/utilities/blocks.js
@@ -28,7 +28,7 @@ const FilterSearchblock = ({ block, department }) => {
useEffect(() => {
const fetchCategories = async () => {
try {
- const response = await axios.get(`http://localhost:8000/api/block/categories/${block}/${department}`);
+ const response = await axios.get(`https://miscbit-10.onrender.com/api/block/categories/${block}/${department}`);
setCategories(response.data);
} catch (error) {
console.error(`Error fetching categories for department ${department} in block ${block}:`, error);
@@ -46,7 +46,7 @@ const FilterSearchblock = ({ block, department }) => {
const handlealldataselect = async () => {
try {
- const response = await axios.get(`http://localhost:8000/api/block/allData/${block}/${department}`);
+ const response = await axios.get(`https://miscbit-10.onrender.com/api/block/allData/${block}/${department}`);
if (!response.data) {
console.error(`No data found for department ${department} in block ${block}`);
return;
@@ -174,7 +174,7 @@ const FilterSearchblock = ({ block, department }) => {
};
const fetchData = async () => {
- const url = `http://localhost:8000/api/block/category/${block}/${department}/${selectedCategory}`;
+ const url = `https://miscbit-10.onrender.com/api/block/category/${block}/${department}/${selectedCategory}`;
try {
const response = await axios.get(url);
setDepartmentData(response.data);
diff --git a/client/yarn.lock b/client/yarn.lock
index 38b9dcb..0c2d749 100644
--- a/client/yarn.lock
+++ b/client/yarn.lock
@@ -42,7 +42,7 @@
resolved "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.23.5.tgz"
integrity sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==
-"@babel/core@^7.1.0", "@babel/core@^7.11.1", "@babel/core@^7.12.3", "@babel/core@^7.16.0", "@babel/core@^7.23.9", "@babel/core@^7.7.2", "@babel/core@^7.8.0":
+"@babel/core@^7.0.0", "@babel/core@^7.0.0-0", "@babel/core@^7.0.0-0 || ^8.0.0-0 <8.0.0", "@babel/core@^7.1.0", "@babel/core@^7.11.0", "@babel/core@^7.11.1", "@babel/core@^7.12.0", "@babel/core@^7.12.3", "@babel/core@^7.13.0", "@babel/core@^7.16.0", "@babel/core@^7.23.9", "@babel/core@^7.4.0 || ^8.0.0-0 <8.0.0", "@babel/core@^7.7.2", "@babel/core@^7.8.0":
version "7.23.9"
resolved "https://registry.npmjs.org/@babel/core/-/core-7.23.9.tgz"
integrity sha512-5q0175NOjddqpvvzU+kDiSOAk4PfdO6FvwCWoQ6RO7rTzEe8vlo+4HVfcnAREhD4npMs0e9uZypjTwzZPCf/cw==
@@ -423,7 +423,7 @@
dependencies:
"@babel/helper-plugin-utils" "^7.8.3"
-"@babel/plugin-syntax-flow@^7.23.3":
+"@babel/plugin-syntax-flow@^7.14.5", "@babel/plugin-syntax-flow@^7.23.3":
version "7.24.1"
resolved "https://registry.npmjs.org/@babel/plugin-syntax-flow/-/plugin-syntax-flow-7.24.1.tgz"
integrity sha512-sxi2kLTI5DeW5vDtMUsk4mTPwvlUDbjOnoWayhynCwrw4QXRld4QEYwqzY8JmQXaJUtgUuCIurtSRH5sn4c7mA==
@@ -871,7 +871,7 @@
dependencies:
"@babel/plugin-transform-react-jsx" "^7.22.5"
-"@babel/plugin-transform-react-jsx@^7.22.15", "@babel/plugin-transform-react-jsx@^7.22.5":
+"@babel/plugin-transform-react-jsx@^7.14.9", "@babel/plugin-transform-react-jsx@^7.22.15", "@babel/plugin-transform-react-jsx@^7.22.5":
version "7.23.4"
resolved "https://registry.npmjs.org/@babel/plugin-transform-react-jsx/-/plugin-transform-react-jsx-7.23.4.tgz"
integrity sha512-5xOpoPguCZCRbo/JeHlloSkTA8Bld1J/E1/kLfD1nsuiW1m8tduTA1ERCgIZokDflX/IBzKcqR3l7VlRgiIfHA==
@@ -1163,6 +1163,42 @@
resolved "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz"
integrity sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==
+"@capacitor/android@6.1.2":
+ version "6.1.2"
+ resolved "https://registry.npmjs.org/@capacitor/android/-/android-6.1.2.tgz"
+ integrity sha512-Yh0gQDY1bgRrL25J6ecIlvvs2kF8iNSwIPXjyw6Yz9mnwYxBazF5KZbjpKtGPnJgicJhFkYGsqOkEtxrve0EoQ==
+
+"@capacitor/cli@^6.1.2":
+ version "6.1.2"
+ resolved "https://registry.npmjs.org/@capacitor/cli/-/cli-6.1.2.tgz"
+ integrity sha512-HKCNGE0RP8U7aiEF2vg5wTivJROS8BVfu8a3yYJb1mRQvzv+czpmtHNsTWS/WukvwoxUjyjRmsNQSAACHfMTmQ==
+ dependencies:
+ "@ionic/cli-framework-output" "^2.2.5"
+ "@ionic/utils-fs" "^3.1.6"
+ "@ionic/utils-process" "^2.1.11"
+ "@ionic/utils-subprocess" "2.1.11"
+ "@ionic/utils-terminal" "^2.3.3"
+ commander "^9.3.0"
+ debug "^4.3.4"
+ env-paths "^2.2.0"
+ kleur "^4.1.4"
+ native-run "^2.0.0"
+ open "^8.4.0"
+ plist "^3.0.5"
+ prompts "^2.4.2"
+ rimraf "^4.4.1"
+ semver "^7.3.7"
+ tar "^6.1.11"
+ tslib "^2.4.0"
+ xml2js "^0.5.0"
+
+"@capacitor/core@^6.1.0", "@capacitor/core@^6.1.2":
+ version "6.1.2"
+ resolved "https://registry.npmjs.org/@capacitor/core/-/core-6.1.2.tgz"
+ integrity sha512-xFy1/4qLFLp5WCIzIhtwUuVNNoz36+V7/BzHmLqgVJcvotc4MMjswW/TshnPQaLLujEOaLkA4h8ZJ0uoK3ImGg==
+ dependencies:
+ tslib "^2.1.0"
+
"@csstools/normalize.css@*":
version "12.1.1"
resolved "https://registry.npmjs.org/@csstools/normalize.css/-/normalize.css-12.1.1.tgz"
@@ -1331,7 +1367,7 @@
resolved "https://registry.npmjs.org/@emotion/memoize/-/memoize-0.7.4.tgz"
integrity sha512-Ja/Vfqe3HpuzRsG1oBtWTHk2PGZ7GR+2Vz5iYGelAw8dx32K0y7PjVuxK6z1nMpZOqAFsRUPCkK1YjJ56qJlgw==
-"@emotion/react@^11.11.3":
+"@emotion/react@^11.0.0-rc.0", "@emotion/react@^11.11.3", "@emotion/react@^11.4.1", "@emotion/react@^11.5.0":
version "11.11.3"
resolved "https://registry.npmjs.org/@emotion/react/-/react-11.11.3.tgz"
integrity sha512-Cnn0kuq4DoONOMcnoVsTOR8E+AdnKFf//6kUWc4LCdnxj31pZWn7rIULd6Y7/Js1PiPHzn7SKCM9vB/jBni8eA==
@@ -1361,7 +1397,7 @@
resolved "https://registry.npmjs.org/@emotion/sheet/-/sheet-1.2.2.tgz"
integrity sha512-0QBtGvaqtWi+nx6doRwDdBIzhNdZrXUppvTM4dtZZWEGTXL/XE/yJxLMGlDT1Gt+UHH5IX1n+jkXyytE/av7OA==
-"@emotion/styled@^11.11.0":
+"@emotion/styled@^11.11.0", "@emotion/styled@^11.3.0":
version "11.11.0"
resolved "https://registry.npmjs.org/@emotion/styled/-/styled-11.11.0.tgz"
integrity sha512-hM5Nnvu9P3midq5aaXj4I+lnSfNi7Pmd4EWk1fOZ3pxookaQTNew6bp4JaCBYM4HVFZF9g7UjJmsUmC2JlxOng==
@@ -1471,6 +1507,135 @@
resolved "https://registry.npmjs.org/@humanwhocodes/object-schema/-/object-schema-2.0.2.tgz"
integrity sha512-6EwiSjwWYP7pTckG6I5eyFANjPhmPjUX9JRLUSfNPC7FX7zK9gyZAfUEaECL6ALTpGX5AjnBq3C9XmVWPitNpw==
+"@ionic/cli-framework-output@^2.2.5":
+ version "2.2.8"
+ resolved "https://registry.npmjs.org/@ionic/cli-framework-output/-/cli-framework-output-2.2.8.tgz"
+ integrity sha512-TshtaFQsovB4NWRBydbNFawql6yul7d5bMiW1WYYf17hd99V6xdDdk3vtF51bw6sLkxON3bDQpWsnUc9/hVo3g==
+ dependencies:
+ "@ionic/utils-terminal" "2.3.5"
+ debug "^4.0.0"
+ tslib "^2.0.1"
+
+"@ionic/utils-array@2.1.5":
+ version "2.1.5"
+ resolved "https://registry.npmjs.org/@ionic/utils-array/-/utils-array-2.1.5.tgz"
+ integrity sha512-HD72a71IQVBmQckDwmA8RxNVMTbxnaLbgFOl+dO5tbvW9CkkSFCv41h6fUuNsSEVgngfkn0i98HDuZC8mk+lTA==
+ dependencies:
+ debug "^4.0.0"
+ tslib "^2.0.1"
+
+"@ionic/utils-fs@^3.1.6", "@ionic/utils-fs@^3.1.7":
+ version "3.1.7"
+ resolved "https://registry.npmjs.org/@ionic/utils-fs/-/utils-fs-3.1.7.tgz"
+ integrity sha512-2EknRvMVfhnyhL1VhFkSLa5gOcycK91VnjfrTB0kbqkTFCOXyXgVLI5whzq7SLrgD9t1aqos3lMMQyVzaQ5gVA==
+ dependencies:
+ "@types/fs-extra" "^8.0.0"
+ debug "^4.0.0"
+ fs-extra "^9.0.0"
+ tslib "^2.0.1"
+
+"@ionic/utils-fs@3.1.6":
+ version "3.1.6"
+ resolved "https://registry.npmjs.org/@ionic/utils-fs/-/utils-fs-3.1.6.tgz"
+ integrity sha512-eikrNkK89CfGPmexjTfSWl4EYqsPSBh0Ka7by4F0PLc1hJZYtJxUZV3X4r5ecA8ikjicUmcbU7zJmAjmqutG/w==
+ dependencies:
+ "@types/fs-extra" "^8.0.0"
+ debug "^4.0.0"
+ fs-extra "^9.0.0"
+ tslib "^2.0.1"
+
+"@ionic/utils-object@2.1.5":
+ version "2.1.5"
+ resolved "https://registry.npmjs.org/@ionic/utils-object/-/utils-object-2.1.5.tgz"
+ integrity sha512-XnYNSwfewUqxq+yjER1hxTKggftpNjFLJH0s37jcrNDwbzmbpFTQTVAp4ikNK4rd9DOebX/jbeZb8jfD86IYxw==
+ dependencies:
+ debug "^4.0.0"
+ tslib "^2.0.1"
+
+"@ionic/utils-object@2.1.6":
+ version "2.1.6"
+ resolved "https://registry.npmjs.org/@ionic/utils-object/-/utils-object-2.1.6.tgz"
+ integrity sha512-vCl7sl6JjBHFw99CuAqHljYJpcE88YaH2ZW4ELiC/Zwxl5tiwn4kbdP/gxi2OT3MQb1vOtgAmSNRtusvgxI8ww==
+ dependencies:
+ debug "^4.0.0"
+ tslib "^2.0.1"
+
+"@ionic/utils-process@^2.1.11":
+ version "2.1.12"
+ resolved "https://registry.npmjs.org/@ionic/utils-process/-/utils-process-2.1.12.tgz"
+ integrity sha512-Jqkgyq7zBs/v/J3YvKtQQiIcxfJyplPgECMWgdO0E1fKrrH8EF0QGHNJ9mJCn6PYe2UtHNS8JJf5G21e09DfYg==
+ dependencies:
+ "@ionic/utils-object" "2.1.6"
+ "@ionic/utils-terminal" "2.3.5"
+ debug "^4.0.0"
+ signal-exit "^3.0.3"
+ tree-kill "^1.2.2"
+ tslib "^2.0.1"
+
+"@ionic/utils-process@2.1.10":
+ version "2.1.10"
+ resolved "https://registry.npmjs.org/@ionic/utils-process/-/utils-process-2.1.10.tgz"
+ integrity sha512-mZ7JEowcuGQK+SKsJXi0liYTcXd2bNMR3nE0CyTROpMECUpJeAvvaBaPGZf5ERQUPeWBVuwqAqjUmIdxhz5bxw==
+ dependencies:
+ "@ionic/utils-object" "2.1.5"
+ "@ionic/utils-terminal" "2.3.3"
+ debug "^4.0.0"
+ signal-exit "^3.0.3"
+ tree-kill "^1.2.2"
+ tslib "^2.0.1"
+
+"@ionic/utils-stream@3.1.5":
+ version "3.1.5"
+ resolved "https://registry.npmjs.org/@ionic/utils-stream/-/utils-stream-3.1.5.tgz"
+ integrity sha512-hkm46uHvEC05X/8PHgdJi4l4zv9VQDELZTM+Kz69odtO9zZYfnt8DkfXHJqJ+PxmtiE5mk/ehJWLnn/XAczTUw==
+ dependencies:
+ debug "^4.0.0"
+ tslib "^2.0.1"
+
+"@ionic/utils-subprocess@2.1.11":
+ version "2.1.11"
+ resolved "https://registry.npmjs.org/@ionic/utils-subprocess/-/utils-subprocess-2.1.11.tgz"
+ integrity sha512-6zCDixNmZCbMCy5np8klSxOZF85kuDyzZSTTQKQP90ZtYNCcPYmuFSzaqDwApJT4r5L3MY3JrqK1gLkc6xiUPw==
+ dependencies:
+ "@ionic/utils-array" "2.1.5"
+ "@ionic/utils-fs" "3.1.6"
+ "@ionic/utils-process" "2.1.10"
+ "@ionic/utils-stream" "3.1.5"
+ "@ionic/utils-terminal" "2.3.3"
+ cross-spawn "^7.0.3"
+ debug "^4.0.0"
+ tslib "^2.0.1"
+
+"@ionic/utils-terminal@^2.3.3", "@ionic/utils-terminal@^2.3.4", "@ionic/utils-terminal@2.3.5":
+ version "2.3.5"
+ resolved "https://registry.npmjs.org/@ionic/utils-terminal/-/utils-terminal-2.3.5.tgz"
+ integrity sha512-3cKScz9Jx2/Pr9ijj1OzGlBDfcmx7OMVBt4+P1uRR0SSW4cm1/y3Mo4OY3lfkuaYifMNBW8Wz6lQHbs1bihr7A==
+ dependencies:
+ "@types/slice-ansi" "^4.0.0"
+ debug "^4.0.0"
+ signal-exit "^3.0.3"
+ slice-ansi "^4.0.0"
+ string-width "^4.1.0"
+ strip-ansi "^6.0.0"
+ tslib "^2.0.1"
+ untildify "^4.0.0"
+ wrap-ansi "^7.0.0"
+
+"@ionic/utils-terminal@2.3.3":
+ version "2.3.3"
+ resolved "https://registry.npmjs.org/@ionic/utils-terminal/-/utils-terminal-2.3.3.tgz"
+ integrity sha512-RnuSfNZ5fLEyX3R5mtcMY97cGD1A0NVBbarsSQ6yMMfRJ5YHU7hHVyUfvZeClbqkBC/pAqI/rYJuXKCT9YeMCQ==
+ dependencies:
+ "@types/slice-ansi" "^4.0.0"
+ debug "^4.0.0"
+ signal-exit "^3.0.3"
+ slice-ansi "^4.0.0"
+ string-width "^4.1.0"
+ strip-ansi "^6.0.0"
+ tslib "^2.0.1"
+ untildify "^4.0.0"
+ wrap-ansi "^7.0.0"
+
"@isaacs/cliui@^8.0.2":
version "8.0.2"
resolved "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz"
@@ -1792,7 +1957,7 @@
clsx "^2.1.0"
prop-types "^15.8.1"
-"@mui/material@^5.0.0", "@mui/material@^5.15.7":
+"@mui/material@^5.0.0", "@mui/material@^5.15.7", "@mui/material@>=5.15.0":
version "5.15.7"
resolved "https://registry.npmjs.org/@mui/material/-/material-5.15.7.tgz"
integrity sha512-l6+AiKZH3iOJmZCnlpel8ghYQe9Lq0BEuKP8fGj3g5xz4arO9GydqYAtLPMvuHKtArj8lJGNuT2yHYxmejincA==
@@ -2118,7 +2283,7 @@
resolved "https://registry.npmjs.org/@trysound/sax/-/sax-0.2.0.tgz"
integrity sha512-L7z9BgrNEcYyUYtF+HaEfiS5ebkh9jXqbszz7pC0hRBPaatV0XjSD3+eHrpqFemQfgwiFF0QPIarnIihIDn7OA==
-"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14":
+"@types/babel__core@^7.0.0", "@types/babel__core@^7.1.14", "@types/babel__core@^7.1.9":
version "7.20.5"
resolved "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz"
integrity sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==
@@ -2189,7 +2354,7 @@
"@types/eslint" "*"
"@types/estree" "*"
-"@types/eslint@*", "@types/eslint@^7.29.0 || ^8.4.1":
+"@types/eslint@*", "@types/eslint@^7.29.0 || ^8.4.1", "@types/eslint@>=8.0.0":
version "8.56.2"
resolved "https://registry.npmjs.org/@types/eslint/-/eslint-8.56.2.tgz"
integrity sha512-uQDwm1wFHmbBbCZCqAlq6Do9LYwByNZHWzXppSnay9SuwJ+VRbjkbLABer54kcPnMSlG6Fdiy2yaFXm/z9Z5gw==
@@ -2227,6 +2392,13 @@
"@types/qs" "*"
"@types/serve-static" "*"
+"@types/fs-extra@^8.0.0":
+ version "8.1.5"
+ resolved "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-8.1.5.tgz"
+ integrity sha512-0dzKcwO+S8s2kuF5Z9oUWatQJj5Uq/iqphEtE3GQJVRRYm/tD1LglU2UnXi2A8jLq5umkGouOXOR9y0n613ZwQ==
+ dependencies:
+ "@types/node" "*"
+
"@types/graceful-fs@^4.1.2":
version "4.1.9"
resolved "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz"
@@ -2349,7 +2521,7 @@
dependencies:
"@types/react" "*"
-"@types/react@*":
+"@types/react@*", "@types/react@^17.0.0 || ^18.0.0", "@types/react@^18.2.25":
version "18.2.48"
resolved "https://registry.npmjs.org/@types/react/-/react-18.2.48.tgz"
integrity sha512-qboRCl6Ie70DQQG9hhNREz81jqC1cs9EVNcjQ1AU+jH6NFfSAhVVbrrY/+nSF+Bsk4AOwm9Qa61InvMCyV+H3w==
@@ -2404,6 +2576,11 @@
"@types/mime" "*"
"@types/node" "*"
+"@types/slice-ansi@^4.0.0":
+ version "4.0.0"
+ resolved "https://registry.npmjs.org/@types/slice-ansi/-/slice-ansi-4.0.0.tgz"
+ integrity sha512-+OpjSaq85gvlZAYINyzKpLeiFkSC4EsC6IIiT6v6TLSU5k5U83fHGj9Lel8oKEXM0HqgrMVCjXPDPVICtxF7EQ==
+
"@types/sockjs@^0.3.33":
version "0.3.36"
resolved "https://registry.npmjs.org/@types/sockjs/-/sockjs-0.3.36.tgz"
@@ -2452,7 +2629,7 @@
dependencies:
"@types/yargs-parser" "*"
-"@typescript-eslint/eslint-plugin@^5.5.0":
+"@typescript-eslint/eslint-plugin@^4.0.0 || ^5.0.0", "@typescript-eslint/eslint-plugin@^5.5.0":
version "5.62.0"
resolved "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-5.62.0.tgz"
integrity sha512-TiZzBSJja/LbhNPvk6yc0JrX9XqhQ0hdh6M2svYfsHGejaKFIAGd9MQ+ERIMzLGlN/kZoYIgdxFV0PuljTKXag==
@@ -2475,7 +2652,7 @@
dependencies:
"@typescript-eslint/utils" "5.62.0"
-"@typescript-eslint/parser@^5.5.0":
+"@typescript-eslint/parser@^5.0.0", "@typescript-eslint/parser@^5.5.0":
version "5.62.0"
resolved "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-5.62.0.tgz"
integrity sha512-VlJEV0fOQ7BExOsHYAGrgbEiZoi8D+Bl2+f6V2RrXerRSylnp+ZBHmPvaIa8cz0Ajx7WO7Z5RqfgYg7ED1nRhA==
@@ -2669,6 +2846,11 @@
"@webassemblyjs/ast" "1.11.6"
"@xtuc/long" "4.2.2"
+"@xmldom/xmldom@^0.8.8":
+ version "0.8.10"
+ resolved "https://registry.npmjs.org/@xmldom/xmldom/-/xmldom-0.8.10.tgz"
+ integrity sha512-2WALfTl4xo2SkGCYRt6rDTFfk9R1czmBvUQy12gK2KuRKIpWEhcbbzy8EZXtz/jkRqHX8bFEc6FC1HjX4TUWYw==
+
"@xtuc/ieee754@^1.2.0":
version "1.2.0"
resolved "https://registry.npmjs.org/@xtuc/ieee754/-/ieee754-1.2.0.tgz"
@@ -2720,16 +2902,16 @@ acorn-walk@^7.1.1:
resolved "https://registry.npmjs.org/acorn-walk/-/acorn-walk-7.2.0.tgz"
integrity sha512-OPdCF6GsMIP+Az+aWfAAOEt2/+iVDKE7oy6lJ098aoe59oAmK76qV6Gw60SbZ8jHuG2wH058GF4pLFbYamYrVA==
+"acorn@^6.0.0 || ^7.0.0 || ^8.0.0", acorn@^8, acorn@^8.2.4, acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0:
+ version "8.11.3"
+ resolved "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz"
+ integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==
+
acorn@^7.1.1:
version "7.4.1"
resolved "https://registry.npmjs.org/acorn/-/acorn-7.4.1.tgz"
integrity sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==
-acorn@^8.2.4, acorn@^8.7.1, acorn@^8.8.2, acorn@^8.9.0:
- version "8.11.3"
- resolved "https://registry.npmjs.org/acorn/-/acorn-8.11.3.tgz"
- integrity sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==
-
address@^1.0.1, address@^1.1.2:
version "1.2.2"
resolved "https://registry.npmjs.org/address/-/address-1.2.2.tgz"
@@ -2774,7 +2956,7 @@ ajv-keywords@^5.1.0:
dependencies:
fast-deep-equal "^3.1.3"
-ajv@^6.12.2, ajv@^6.12.4, ajv@^6.12.5:
+ajv@^6.12.2, ajv@^6.12.4, ajv@^6.12.5, ajv@^6.9.1:
version "6.12.6"
resolved "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz"
integrity sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==
@@ -2794,7 +2976,7 @@ ajv@^8.0.0:
require-from-string "^2.0.2"
uri-js "^4.2.2"
-ajv@^8.6.0:
+ajv@^8.6.0, ajv@>=8:
version "8.12.0"
resolved "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz"
integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==
@@ -2804,7 +2986,7 @@ ajv@^8.6.0:
require-from-string "^2.0.2"
uri-js "^4.2.2"
-ajv@^8.9.0:
+ajv@^8.8.2, ajv@^8.9.0:
version "8.12.0"
resolved "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz"
integrity sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==
@@ -2880,7 +3062,7 @@ anymatch@^3.0.3, anymatch@~3.1.2:
normalize-path "^3.0.0"
picomatch "^2.0.4"
-apexcharts@^3.45.2:
+apexcharts@^3.41.0, apexcharts@^3.45.2:
version "3.45.2"
resolved "https://registry.npmjs.org/apexcharts/-/apexcharts-3.45.2.tgz"
integrity sha512-PpuM4sJWy70sUh5U1IFn1m1p45MdHSChLUNnqEoUUUHSU2IHZugFrsVNhov1S8Q0cvfdrCRCvdBtHGSs6PSAWQ==
@@ -3022,6 +3204,11 @@ ast-types-flow@^0.0.8:
resolved "https://registry.npmjs.org/ast-types-flow/-/ast-types-flow-0.0.8.tgz"
integrity sha512-OH/2E5Fg20h2aPrbe+QL8JZQFko0YZaF+j4mnQ7BGhfavO7OpSLa8a0y9sBwomHdSbkhTS8TQNayBfnW5DwbvQ==
+astral-regex@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.npmjs.org/astral-regex/-/astral-regex-2.0.0.tgz"
+ integrity sha512-Z7tMw1ytTXt5jqMcOP+OQteU1VuNK9Y02uuJtKQ1Sv69jXQKKg5cibLwGJow8yzZP+eAc18EmLGPal0bp36rvQ==
+
async@^3.2.3:
version "3.2.5"
resolved "https://registry.npmjs.org/async/-/async-3.2.5.tgz"
@@ -3233,6 +3420,11 @@ base64-arraybuffer@^1.0.2:
resolved "https://registry.npmjs.org/base64-arraybuffer/-/base64-arraybuffer-1.0.2.tgz"
integrity sha512-I3yl4r9QB5ZRY3XuJVEPfc2XhZO6YweFPI+UovAzn+8/hb3oJ6lnysaFcjVpkCPfVWFUDvoZ8kmVDP7WyRtYtQ==
+base64-js@^1.5.1:
+ version "1.5.1"
+ resolved "https://registry.npmjs.org/base64-js/-/base64-js-1.5.1.tgz"
+ integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==
+
batch@0.6.1:
version "0.6.1"
resolved "https://registry.npmjs.org/batch/-/batch-0.6.1.tgz"
@@ -3249,6 +3441,11 @@ bfj@^7.0.2:
jsonpath "^1.1.1"
tryer "^1.0.1"
+big-integer@1.6.x:
+ version "1.6.52"
+ resolved "https://registry.npmjs.org/big-integer/-/big-integer-1.6.52.tgz"
+ integrity sha512-QxD8cf2eVqJOOz63z6JIN9BzvVs/dlySa5HGSBH5xtR8dPteIRQnBxxKqkNTiT6jbDTF6jAfrd4oMcND9RGbQg==
+
big.js@^5.2.2:
version "5.2.2"
resolved "https://registry.npmjs.org/big.js/-/big.js-5.2.2.tgz"
@@ -3295,6 +3492,13 @@ boolbase@^1.0.0, boolbase@~1.0.0:
resolved "https://registry.npmjs.org/boolbase/-/boolbase-1.0.0.tgz"
integrity sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==
+bplist-parser@^0.3.2:
+ version "0.3.2"
+ resolved "https://registry.npmjs.org/bplist-parser/-/bplist-parser-0.3.2.tgz"
+ integrity sha512-apC2+fspHGI3mMKj+dGevkGo/tCqVB8jMb6i+OX+E29p0Iposz07fABkRIfVUPNd5A5VbuOz1bZbnmkKLYF+wQ==
+ dependencies:
+ big-integer "1.6.x"
+
brace-expansion@^1.1.7:
version "1.1.11"
resolved "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz"
@@ -3322,7 +3526,7 @@ browser-process-hrtime@^1.0.0:
resolved "https://registry.npmjs.org/browser-process-hrtime/-/browser-process-hrtime-1.0.0.tgz"
integrity sha512-9o5UecI3GhkpM6DrXr69PblIuWxPKk9Y0jHBRhdocZ2y7YECBFCsHm79Pr3OyR2AvjhDkabFJaDJMYRazHgsow==
-browserslist@^4.0.0, browserslist@^4.18.1, browserslist@^4.21.10, browserslist@^4.21.4, browserslist@^4.22.2:
+browserslist@^4.0.0, browserslist@^4.18.1, browserslist@^4.21.10, browserslist@^4.21.4, browserslist@^4.22.2, "browserslist@>= 4", "browserslist@>= 4.21.0", browserslist@>=4:
version "4.22.3"
resolved "https://registry.npmjs.org/browserslist/-/browserslist-4.22.3.tgz"
integrity sha512-UAp55yfwNv0klWNapjs/ktHoguxuQNGnOzxYmfnXIS+8AsRDZkSDxg7R1AX3GKzn078SBI5dzwzj/Yx0Or0e3A==
@@ -3344,6 +3548,11 @@ btoa@^1.2.1:
resolved "https://registry.npmjs.org/btoa/-/btoa-1.2.1.tgz"
integrity sha512-SB4/MIGlsiVkMcHmT+pSmIPoNDoHg+7cMzmt3Uxt628MTz2487DKSqK/fuhFBrkuqrYv5UCEnACpF4dTFNKc/g==
+buffer-crc32@~0.2.3:
+ version "0.2.13"
+ resolved "https://registry.npmjs.org/buffer-crc32/-/buffer-crc32-0.2.13.tgz"
+ integrity sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ==
+
buffer-from@^1.0.0:
version "1.1.2"
resolved "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz"
@@ -3514,6 +3723,11 @@ chokidar@^3.4.2, chokidar@^3.5.3, "chokidar@>=3.0.0 <4.0.0":
optionalDependencies:
fsevents "~2.3.2"
+chownr@^2.0.0:
+ version "2.0.0"
+ resolved "https://registry.npmjs.org/chownr/-/chownr-2.0.0.tgz"
+ integrity sha512-bIomtDF5KGpdogkLd9VspvFzk9KfpyyGlS8YFVZl7TGPBHL5snIOnxeshwVgPteQ9b4Eydl+pVbIyE1DcvCWgQ==
+
chrome-trace-event@^1.0.2:
version "1.0.3"
resolved "https://registry.npmjs.org/chrome-trace-event/-/chrome-trace-event-1.0.3.tgz"
@@ -3640,6 +3854,11 @@ commander@^8.3.0:
resolved "https://registry.npmjs.org/commander/-/commander-8.3.0.tgz"
integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww==
+commander@^9.3.0:
+ version "9.5.0"
+ resolved "https://registry.npmjs.org/commander/-/commander-9.5.0.tgz"
+ integrity sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ==
+
common-path-prefix@^3.0.0:
version "3.0.0"
resolved "https://registry.npmjs.org/common-path-prefix/-/common-path-prefix-3.0.0.tgz"
@@ -4033,7 +4252,7 @@ debug@^3.2.7:
dependencies:
ms "^2.1.1"
-debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@4:
+debug@^4.0.0, debug@^4.1.0, debug@^4.1.1, debug@^4.3.1, debug@^4.3.2, debug@^4.3.4, debug@4:
version "4.3.4"
resolved "https://registry.npmjs.org/debug/-/debug-4.3.4.tgz"
integrity sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==
@@ -4311,6 +4530,13 @@ electron-to-chromium@^1.4.648:
resolved "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.4.653.tgz"
integrity sha512-wA2A2LQCqnEwQAvwADQq3KpMpNwgAUBnRmrFgRzHnPhbQUFArTR32Ab46f4p0MovDLcg4uqd4nCsN2hTltslpA==
+elementtree@^0.1.7:
+ version "0.1.7"
+ resolved "https://registry.npmjs.org/elementtree/-/elementtree-0.1.7.tgz"
+ integrity sha512-wkgGT6kugeQk/P6VZ/f4T+4HB41BVgNBq5CDIZVbQ02nvTVqAiVTbskxxu3eA/X96lMlfYOwnLQpN2v5E1zDEg==
+ dependencies:
+ sax "1.1.4"
+
emittery@^0.10.2:
version "0.10.2"
resolved "https://registry.npmjs.org/emittery/-/emittery-0.10.2.tgz"
@@ -4354,6 +4580,11 @@ entities@^2.0.0:
resolved "https://registry.npmjs.org/entities/-/entities-2.2.0.tgz"
integrity sha512-p92if5Nz619I0w+akJrLZH0MX0Pb5DX39XOwQTtXSdQQOaYH03S1uIQp4mhOZtAXrxq4ViO67YTiLBo2638o9A==
+env-paths@^2.2.0:
+ version "2.2.1"
+ resolved "https://registry.npmjs.org/env-paths/-/env-paths-2.2.1.tgz"
+ integrity sha512-+h1lkLKhZMTYjog1VEpJNG7NZJWcuc2DDk/qsqSTRRCOXiLjeQ1d1/udrUGhqMxUgAlwKNZ0cf2uqan5GLuS2A==
+
error-ex@^1.3.1:
version "1.3.2"
resolved "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz"
@@ -4521,7 +4752,7 @@ escodegen@^2.0.0:
optionalDependencies:
source-map "~0.6.1"
-eslint-config-prettier@^9.1.0:
+eslint-config-prettier@*, eslint-config-prettier@^9.1.0:
version "9.1.0"
resolved "https://registry.npmjs.org/eslint-config-prettier/-/eslint-config-prettier-9.1.0.tgz"
integrity sha512-NSWl5BFQWEPi1j4TjVNItzYV7dZXZ+wP6I6ZhrBGpChQhZRUaElihE9uRRkcbRnNb76UMKDF3r+WTmNcGPKsqw==
@@ -4711,7 +4942,7 @@ eslint-webpack-plugin@^3.1.1:
normalize-path "^3.0.0"
schema-utils "^4.0.0"
-eslint@^8.3.0, eslint@^8.56.0:
+eslint@*, "eslint@^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8", "eslint@^3 || ^4 || ^5 || ^6 || ^7 || ^8", "eslint@^3.0.0 || ^4.0.0 || ^5.0.0 || ^6.0.0 || ^7.0.0 || ^8.0.0-0", "eslint@^6.0.0 || ^7.0.0 || ^8.0.0", "eslint@^6.0.0 || ^7.0.0 || >=8.0.0", "eslint@^7.0.0 || ^8.0.0", "eslint@^7.5.0 || ^8.0.0", eslint@^8.0.0, eslint@^8.1.0, eslint@^8.3.0, eslint@^8.56.0, "eslint@>= 6", eslint@>=7.0.0, eslint@>=8.0.0:
version "8.56.0"
resolved "https://registry.npmjs.org/eslint/-/eslint-8.56.0.tgz"
integrity sha512-Go19xM6T9puCOWntie1/P997aXxFsOi37JIHRWI514Hc6ZnaHGKY9xFhrU65RT6CcBEzZoGG1e6Nq+DT04ZtZQ==
@@ -4947,6 +5178,13 @@ fb-watchman@^2.0.0:
dependencies:
bser "2.1.1"
+fd-slicer@~1.1.0:
+ version "1.1.0"
+ resolved "https://registry.npmjs.org/fd-slicer/-/fd-slicer-1.1.0.tgz"
+ integrity sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g==
+ dependencies:
+ pend "~1.2.0"
+
fflate@^0.4.8:
version "0.4.8"
resolved "https://registry.npmjs.org/fflate/-/fflate-0.4.8.tgz"
@@ -5187,6 +5425,13 @@ fs-extra@^9.0.1:
jsonfile "^6.0.1"
universalify "^2.0.0"
+fs-minipass@^2.0.0:
+ version "2.1.0"
+ resolved "https://registry.npmjs.org/fs-minipass/-/fs-minipass-2.1.0.tgz"
+ integrity sha512-V/JgOLFCS+R6Vcq0slCuaeWEdNC3ouDlJMNIsacH2VtALiu9mV4LPrHc5cDl8k5aw6J8jwgWWpiTo5RYhmIzvg==
+ dependencies:
+ minipass "^3.0.0"
+
fs-monkey@^1.0.4:
version "1.0.5"
resolved "https://registry.npmjs.org/fs-monkey/-/fs-monkey-1.0.5.tgz"
@@ -5309,6 +5554,16 @@ glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4, glob@^7.1.6:
once "^1.3.0"
path-is-absolute "^1.0.0"
+glob@^9.2.0:
+ version "9.3.5"
+ resolved "https://registry.npmjs.org/glob/-/glob-9.3.5.tgz"
+ integrity sha512-e1LleDykUz2Iu+MTYdkSsuWX8lvAjAcs0Xef0lNIu0S2wOAzuTxCJtcd9S3cijlwYF18EsU3rzb8jPVobxDh9Q==
+ dependencies:
+ fs.realpath "^1.0.0"
+ minimatch "^8.0.2"
+ minipass "^4.2.4"
+ path-scurry "^1.6.1"
+
global-modules@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/global-modules/-/global-modules-2.0.0.tgz"
@@ -5694,6 +5949,11 @@ ini@^1.3.5:
resolved "https://registry.npmjs.org/ini/-/ini-1.3.8.tgz"
integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==
+ini@^4.1.1:
+ version "4.1.3"
+ resolved "https://registry.npmjs.org/ini/-/ini-4.1.3.tgz"
+ integrity sha512-X7rqawQBvfdjS10YU1y1YVreA3SsLrW9dX2CewP2EbBJM4ypVNLDkO5y04gejPwKIY9lR+7r9gn3rFPt/kmWFg==
+
internal-slot@^1.0.5:
version "1.0.6"
resolved "https://registry.npmjs.org/internal-slot/-/internal-slot-1.0.6.tgz"
@@ -6301,7 +6561,7 @@ jest-resolve-dependencies@^27.5.1:
jest-regex-util "^27.5.1"
jest-snapshot "^27.5.1"
-jest-resolve@^27.4.2, jest-resolve@^27.5.1:
+jest-resolve@*, jest-resolve@^27.4.2, jest-resolve@^27.5.1:
version "27.5.1"
resolved "https://registry.npmjs.org/jest-resolve/-/jest-resolve-27.5.1.tgz"
integrity sha512-FFDy8/9E6CV83IMbDpcjOhumAQPDyETnU2KZ1O98DwTnz8AOBsW/Xv3GySr1mOZdItLR+zDZ7I/UdTFbgSOVCw==
@@ -6511,7 +6771,7 @@ jest-worker@^28.0.2:
merge-stream "^2.0.0"
supports-color "^8.0.0"
-jest@^27.4.3:
+"jest@^27.0.0 || ^28.0.0", jest@^27.4.3:
version "27.5.1"
resolved "https://registry.npmjs.org/jest/-/jest-27.5.1.tgz"
integrity sha512-Yn0mADZB89zTtjkPJEXwrac3LHudkQMR+Paqa8uxJHCBr9agxztUifWCyiYrjhMPBoUVBjyny0I7XH6ozDr7QQ==
@@ -6700,6 +6960,11 @@ kleur@^3.0.3:
resolved "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz"
integrity sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==
+kleur@^4.1.4:
+ version "4.1.5"
+ resolved "https://registry.npmjs.org/kleur/-/kleur-4.1.5.tgz"
+ integrity sha512-o+NO+8WrRiQEE4/7nwRJhN1HWpVmJm511pBHUxPLtp0BUISzlBplORYSmTclCnJvQq2tKu/sgl3xVpkc7ZWuQQ==
+
klona@^2.0.4, klona@^2.0.5:
version "2.0.6"
resolved "https://registry.npmjs.org/klona/-/klona-2.0.6.tgz"
@@ -7006,6 +7271,13 @@ minimatch@^5.0.1:
dependencies:
brace-expansion "^2.0.1"
+minimatch@^8.0.2:
+ version "8.0.4"
+ resolved "https://registry.npmjs.org/minimatch/-/minimatch-8.0.4.tgz"
+ integrity sha512-W0Wvr9HyFXZRGIDgCicunpQ299OKXs9RgZfaukz4qAW/pJhcpUfupc9c+OObPOFueNy8VSrZgEmDtk6Kh4WzDA==
+ dependencies:
+ brace-expansion "^2.0.1"
+
minimatch@^9.0.1:
version "9.0.3"
resolved "https://registry.npmjs.org/minimatch/-/minimatch-9.0.3.tgz"
@@ -7018,11 +7290,41 @@ minimist@^1.2.0, minimist@^1.2.6:
resolved "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz"
integrity sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==
+minipass@^3.0.0:
+ version "3.3.6"
+ resolved "https://registry.npmjs.org/minipass/-/minipass-3.3.6.tgz"
+ integrity sha512-DxiNidxSEK+tHG6zOIklvNOwm3hvCrbUrdtzY74U6HKTJxvIDfOUL5W5P2Ghd3DTkhhKPYGqeNUIh5qcM4YBfw==
+ dependencies:
+ yallist "^4.0.0"
+
+minipass@^4.2.4:
+ version "4.2.8"
+ resolved "https://registry.npmjs.org/minipass/-/minipass-4.2.8.tgz"
+ integrity sha512-fNzuVyifolSLFL4NzpF+wEF4qrgqaaKX0haXPQEdQ7NKAN+WecoKMHV09YcuL/DHxrUsYQOK3MiuDf7Ip2OXfQ==
+
"minipass@^5.0.0 || ^6.0.2 || ^7.0.0":
version "7.0.4"
resolved "https://registry.npmjs.org/minipass/-/minipass-7.0.4.tgz"
integrity sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==
+minipass@^5.0.0:
+ version "5.0.0"
+ resolved "https://registry.npmjs.org/minipass/-/minipass-5.0.0.tgz"
+ integrity sha512-3FnjYuehv9k6ovOEbyOswadCDPX1piCfhV8ncmYtHOjuPwylVWsghTLo7rabjC3Rx5xD4HDx8Wm1xnMF7S5qFQ==
+
+minizlib@^2.1.1:
+ version "2.1.2"
+ resolved "https://registry.npmjs.org/minizlib/-/minizlib-2.1.2.tgz"
+ integrity sha512-bAxsR8BVfj60DWXHE3u30oHzfl4G7khkSuPW+qvpd7jFRHm7dLxOjUk1EHACJ/hxLY8phGJ0YhYHZo7jil7Qdg==
+ dependencies:
+ minipass "^3.0.0"
+ yallist "^4.0.0"
+
+mkdirp@^1.0.3:
+ version "1.0.4"
+ resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz"
+ integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
+
mkdirp@~0.5.1:
version "0.5.6"
resolved "https://registry.npmjs.org/mkdirp/-/mkdirp-0.5.6.tgz"
@@ -7067,6 +7369,23 @@ nanoid@^3.3.7:
resolved "https://registry.npmjs.org/nanoid/-/nanoid-3.3.7.tgz"
integrity sha512-eSRppjcPIatRIMC1U6UngP8XFcz8MQWGQdt1MTBQ7NaAmvXDfvNxbvWV3x2y6CdEUciCSsDHDQZbhYaB8QEo2g==
+native-run@^2.0.0:
+ version "2.0.1"
+ resolved "https://registry.npmjs.org/native-run/-/native-run-2.0.1.tgz"
+ integrity sha512-XfG1FBZLM50J10xH9361whJRC9SHZ0Bub4iNRhhI61C8Jv0e1ud19muex6sNKB51ibQNUJNuYn25MuYET/rE6w==
+ dependencies:
+ "@ionic/utils-fs" "^3.1.7"
+ "@ionic/utils-terminal" "^2.3.4"
+ bplist-parser "^0.3.2"
+ debug "^4.3.4"
+ elementtree "^0.1.7"
+ ini "^4.1.1"
+ plist "^3.1.0"
+ split2 "^4.2.0"
+ through2 "^4.0.2"
+ tslib "^2.6.2"
+ yauzl "^2.10.0"
+
natural-compare-lite@^1.4.0:
version "1.4.0"
resolved "https://registry.npmjs.org/natural-compare-lite/-/natural-compare-lite-1.4.0.tgz"
@@ -7424,7 +7743,7 @@ path-parse@^1.0.7:
resolved "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz"
integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==
-path-scurry@^1.10.1:
+path-scurry@^1.10.1, path-scurry@^1.6.1:
version "1.10.1"
resolved "https://registry.npmjs.org/path-scurry/-/path-scurry-1.10.1.tgz"
integrity sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==
@@ -7442,6 +7761,11 @@ path-type@^4.0.0:
resolved "https://registry.npmjs.org/path-type/-/path-type-4.0.0.tgz"
integrity sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==
+pend@~1.2.0:
+ version "1.2.0"
+ resolved "https://registry.npmjs.org/pend/-/pend-1.2.0.tgz"
+ integrity sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg==
+
perfect-scrollbar@^1.5.0:
version "1.5.5"
resolved "https://registry.npmjs.org/perfect-scrollbar/-/perfect-scrollbar-1.5.5.tgz"
@@ -7491,6 +7815,15 @@ pkg-up@^3.1.0:
dependencies:
find-up "^3.0.0"
+plist@^3.0.5, plist@^3.1.0:
+ version "3.1.0"
+ resolved "https://registry.npmjs.org/plist/-/plist-3.1.0.tgz"
+ integrity sha512-uysumyrvkUX0rX/dEVqt8gC3sTBzd4zoWfLeS29nb53imdaXVvLINYXTI2GNqzaMuvacNx4uJQ8+b3zXR0pkgQ==
+ dependencies:
+ "@xmldom/xmldom" "^0.8.8"
+ base64-js "^1.5.1"
+ xmlbuilder "^15.1.1"
+
postcss-attribute-case-insensitive@^5.0.2:
version "5.0.2"
resolved "https://registry.npmjs.org/postcss-attribute-case-insensitive/-/postcss-attribute-case-insensitive-5.0.2.tgz"
@@ -8026,15 +8359,7 @@ postcss-value-parser@^4.0.0, postcss-value-parser@^4.1.0, postcss-value-parser@^
resolved "https://registry.npmjs.org/postcss-value-parser/-/postcss-value-parser-4.2.0.tgz"
integrity sha512-1NNCs6uurfkVbeXG4S8JFT9t19m45ICnif8zWLd5oPSZ50QnwMfK+H3jv408d4jw/7Bttv5axS5IiHoLaVNHeQ==
-postcss@^7.0.35:
- version "7.0.39"
- resolved "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz"
- integrity sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==
- dependencies:
- picocolors "^0.2.1"
- source-map "^0.6.1"
-
-postcss@^8.3.5, postcss@^8.4.23, postcss@^8.4.33, postcss@^8.4.4:
+"postcss@^7.0.0 || ^8.0.1", postcss@^8, postcss@^8.0.0, postcss@^8.0.3, postcss@^8.0.9, postcss@^8.1.0, postcss@^8.1.4, postcss@^8.2, postcss@^8.2.14, postcss@^8.2.15, postcss@^8.2.2, postcss@^8.3, postcss@^8.3.5, postcss@^8.4, postcss@^8.4.21, postcss@^8.4.23, postcss@^8.4.33, postcss@^8.4.4, postcss@^8.4.6, "postcss@>= 8", postcss@>=8, postcss@>=8.0.9:
version "8.4.33"
resolved "https://registry.npmjs.org/postcss/-/postcss-8.4.33.tgz"
integrity sha512-Kkpbhhdjw2qQs2O2DGX+8m5OVqEcbB9HRBvuYM9pgrjEFUg30A9LmXNlTAUj4S9kgtGyrMbTzVjH7E+s5Re2yg==
@@ -8043,6 +8368,14 @@ postcss@^8.3.5, postcss@^8.4.23, postcss@^8.4.33, postcss@^8.4.4:
picocolors "^1.0.0"
source-map-js "^1.0.2"
+postcss@^7.0.35:
+ version "7.0.39"
+ resolved "https://registry.npmjs.org/postcss/-/postcss-7.0.39.tgz"
+ integrity sha512-yioayjNbHn6z1/Bywyb2Y4s3yvDAeXGOyxqD+LnVOinq6Mdmd++SW2wUNVzavyyHxd6+DxzWGIuosg6P1Rj8uA==
+ dependencies:
+ picocolors "^0.2.1"
+ source-map "^0.6.1"
+
prelude-ls@^1.2.1:
version "1.2.1"
resolved "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz"
@@ -8060,7 +8393,7 @@ prettier-linter-helpers@^1.0.0:
dependencies:
fast-diff "^1.1.2"
-prettier@^3.2.4:
+prettier@^3.2.4, prettier@>=3.0.0:
version "3.2.4"
resolved "https://registry.npmjs.org/prettier/-/prettier-3.2.4.tgz"
integrity sha512-FWu1oLHKCrtpO1ypU6J0SbK2d9Ckwysq6bHj/uaCP26DxrPpppCLQRGVuqAxSTvhF00AcvDRyYrLNW7ocBhFFQ==
@@ -8261,7 +8594,7 @@ react-device-detect@^2.2.3:
dependencies:
ua-parser-js "^1.0.33"
-react-dom@^18.2.0:
+"react-dom@^17.0.0 || ^18.0.0", react-dom@^18.0.0, react-dom@^18.2.0, "react-dom@>= 0.14.0", react-dom@>=16.3.3, react-dom@>=16.6.0, react-dom@>=16.8, react-dom@>=16.8.0:
version "18.2.0"
resolved "https://registry.npmjs.org/react-dom/-/react-dom-18.2.0.tgz"
integrity sha512-6IMTriUmvsjHUjNtEDudZfuDQUoWXVxKHhlEGSk81n4YFS+r/Kl99wXiwlVXtPBtJenozv2P+hxDsw9eA7Xo6g==
@@ -8315,7 +8648,7 @@ react-redux@^9.1.0:
"@types/use-sync-external-store" "^0.0.3"
use-sync-external-store "^1.0.0"
-react-refresh@^0.11.0:
+react-refresh@^0.11.0, "react-refresh@>=0.10.0 <1.0.0":
version "0.11.0"
resolved "https://registry.npmjs.org/react-refresh/-/react-refresh-0.11.0.tgz"
integrity sha512-F27qZr8uUqwhWZboondsPx8tnC3Ct3SxZA3V5WyEvujRyyNv0VYPhoBg1gZ8/MV5tubQp76Trw8lTv9hzRBa+A==
@@ -8400,7 +8733,7 @@ react-transition-group@^4.4.5:
loose-envify "^1.4.0"
prop-types "^15.6.2"
-react@^18.2.0:
+"react@^16.5.1 || ^17.0.0 || ^18.0.0", "react@^16.8.0 || ^17.0.0 || ^18.0.0", "react@^17.0.0 || ^18.0.0", react@^18.0, react@^18.0.0, react@^18.2.0, "react@>= 0.14.0", "react@>= 16", react@>=0.13, react@>=16.3.3, react@>=16.6.0, react@>=16.8, react@>=16.8.0:
version "18.2.0"
resolved "https://registry.npmjs.org/react/-/react-18.2.0.tgz"
integrity sha512-/3IjMdb2L9QbBdWiW5e3P2/npwMBaU9mHCSCUzNln0ZCYbcfTsGbTJrU/kGemdH2IWmB2ioZ+zkxtmq6g09fGQ==
@@ -8427,7 +8760,7 @@ readable-stream@^2.0.1:
string_decoder "~1.1.1"
util-deprecate "~1.0.1"
-readable-stream@^3.0.6:
+readable-stream@^3.0.6, readable-stream@3:
version "3.6.2"
resolved "https://registry.npmjs.org/readable-stream/-/readable-stream-3.6.2.tgz"
integrity sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==
@@ -8450,7 +8783,7 @@ recursive-readdir@^2.2.2:
dependencies:
minimatch "^3.0.5"
-redux@^5.0.1:
+redux@^5.0.0, redux@^5.0.1:
version "5.0.1"
resolved "https://registry.npmjs.org/redux/-/redux-5.0.1.tgz"
integrity sha512-M9/ELqF6fy8FwmkpnF0S3YKOqMyoWJ4+CS5Efg2ct3oY9daQvd/Pc71FpGZsVsbl3Cpb+IIcjBDUnnyBdQbq4w==
@@ -8638,6 +8971,13 @@ rimraf@^3.0.0, rimraf@^3.0.2:
dependencies:
glob "^7.1.3"
+rimraf@^4.4.1:
+ version "4.4.1"
+ resolved "https://registry.npmjs.org/rimraf/-/rimraf-4.4.1.tgz"
+ integrity sha512-Gk8NlF062+T9CqNGn6h4tls3k6T1+/nXdOcSZVikNVtlRdYpA7wRJJMoXmuvOnLW844rPjdQ7JgXCYM6PPC/og==
+ dependencies:
+ glob "^9.2.0"
+
rollup-plugin-terser@^7.0.0:
version "7.0.2"
resolved "https://registry.npmjs.org/rollup-plugin-terser/-/rollup-plugin-terser-7.0.2.tgz"
@@ -8648,7 +8988,7 @@ rollup-plugin-terser@^7.0.0:
serialize-javascript "^4.0.0"
terser "^5.0.0"
-rollup@^2.43.1:
+"rollup@^1.20.0 || ^2.0.0", rollup@^1.20.0||^2.0.0, rollup@^2.0.0, rollup@^2.43.1:
version "2.79.1"
resolved "https://registry.npmjs.org/rollup/-/rollup-2.79.1.tgz"
integrity sha512-uKxbd0IhMZOhjAiD5oAFp7BqvkA4Dv47qpOCtaNvng4HBwdbWtdOh8f5nZNuk2rp51PMGk3bzfWu5oayNEuYnw==
@@ -8714,7 +9054,7 @@ sass-loader@^12.3.0:
klona "^2.0.4"
neo-async "^2.6.2"
-sass@^1.70.0:
+sass@^1.3.0, sass@^1.70.0:
version "1.70.0"
resolved "https://registry.npmjs.org/sass/-/sass-1.70.0.tgz"
integrity sha512-uUxNQ3zAHeAx5nRFskBnrWzDUJrrvpCPD5FNAoRvTi0WwremlheES3tg+56PaVtCs5QDRX5CBLxxKMDJMEa1WQ==
@@ -8723,11 +9063,16 @@ sass@^1.70.0:
immutable "^4.0.0"
source-map-js ">=0.6.2 <2.0.0"
-sax@~1.2.4:
+sax@>=0.6.0, sax@~1.2.4:
version "1.2.4"
resolved "https://registry.npmjs.org/sax/-/sax-1.2.4.tgz"
integrity sha512-NqVDv9TpANUjFm0N8uM5GxL36UgKi9/atZw+x7YFnQ8ckwFGKrl4xX4yWtrey3UJm5nP1kUbnYgLopqWNSRhWw==
+sax@1.1.4:
+ version "1.1.4"
+ resolved "https://registry.npmjs.org/sax/-/sax-1.1.4.tgz"
+ integrity sha512-5f3k2PbGGp+YtKJjOItpg3P99IMD84E4HOvcfleTb5joCHNXYLsR9yWFPOYGgaeMPDubQILTCMdsFb2OMeOjtg==
+
saxes@^5.0.1:
version "5.0.1"
resolved "https://registry.npmjs.org/saxes/-/saxes-5.0.1.tgz"
@@ -8812,11 +9157,9 @@ semver@^7.3.5:
lru-cache "^6.0.0"
semver@^7.3.7:
- version "7.5.4"
- resolved "https://registry.npmjs.org/semver/-/semver-7.5.4.tgz"
- integrity sha512-1bCSESV6Pv+i21Hvpxp3Dx+pSD8lIPt8uVjRrxAUt/nbswYc+tK6Y2btiULjd4+fnq15PX+nqQDC7Oft7WkwcA==
- dependencies:
- lru-cache "^6.0.0"
+ version "7.6.3"
+ resolved "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz"
+ integrity sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==
semver@^7.5.3:
version "7.5.4"
@@ -8969,6 +9312,15 @@ slash@^4.0.0:
resolved "https://registry.npmjs.org/slash/-/slash-4.0.0.tgz"
integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew==
+slice-ansi@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.npmjs.org/slice-ansi/-/slice-ansi-4.0.0.tgz"
+ integrity sha512-qMCMfhY040cVHT43K9BFygqYbUPFZKHOg7K73mtTWJRb8pyP3fzf4Ixd5SzdEJQ6MRUg/WBnOLxghZtKKurENQ==
+ dependencies:
+ ansi-styles "^4.0.0"
+ astral-regex "^2.0.0"
+ is-fullwidth-code-point "^3.0.0"
+
sockjs@^0.3.24:
version "0.3.24"
resolved "https://registry.npmjs.org/sockjs/-/sockjs-0.3.24.tgz"
@@ -9070,6 +9422,11 @@ spdy@^4.0.2:
select-hose "^2.0.0"
spdy-transport "^3.0.0"
+split2@^4.2.0:
+ version "4.2.0"
+ resolved "https://registry.npmjs.org/split2/-/split2-4.2.0.tgz"
+ integrity sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg==
+
sprintf-js@~1.0.2:
version "1.0.3"
resolved "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz"
@@ -9500,6 +9857,18 @@ tapable@^2.0.0, tapable@^2.1.1, tapable@^2.2.0:
resolved "https://registry.npmjs.org/tapable/-/tapable-2.2.1.tgz"
integrity sha512-GNzQvQTOIP6RyTfE2Qxb8ZVlNmw0n88vp1szwWRimP02mnTsx3Wtn5qRdqY9w2XduFNUgvOwhNnQsjwCp+kqaQ==
+tar@^6.1.11:
+ version "6.2.1"
+ resolved "https://registry.npmjs.org/tar/-/tar-6.2.1.tgz"
+ integrity sha512-DZ4yORTwrbTj/7MZYq2w+/ZFdI6OZ/f9SFHR+71gIVUZhOQPHzVCLpvRnPgyaMpfWxxk/4ONva3GQSyNIKRv6A==
+ dependencies:
+ chownr "^2.0.0"
+ fs-minipass "^2.0.0"
+ minipass "^5.0.0"
+ minizlib "^2.1.1"
+ mkdirp "^1.0.3"
+ yallist "^4.0.0"
+
temp-dir@^2.0.0:
version "2.0.0"
resolved "https://registry.npmjs.org/temp-dir/-/temp-dir-2.0.0.tgz"
@@ -9584,6 +9953,13 @@ throat@^6.0.1:
resolved "https://registry.npmjs.org/throat/-/throat-6.0.2.tgz"
integrity sha512-WKexMoJj3vEuK0yFEapj8y64V0A6xcuPuK9Gt1d0R+dzCSJc0lHqQytAbSB4cDAK0dWh4T0E2ETkoLE2WZ41OQ==
+through2@^4.0.2:
+ version "4.0.2"
+ resolved "https://registry.npmjs.org/through2/-/through2-4.0.2.tgz"
+ integrity sha512-iOqSav00cVxEEICeD7TjLB1sueEL+81Wpzp2bY17uZjZN0pWZPuo4suZ/61VujxmqSGFfgOcNuTZ85QJwNZQpw==
+ dependencies:
+ readable-stream "3"
+
thunky@^1.0.2:
version "1.1.0"
resolved "https://registry.npmjs.org/thunky/-/thunky-1.1.0.tgz"
@@ -9650,6 +10026,11 @@ tr46@^2.1.0:
dependencies:
punycode "^2.1.1"
+tree-kill@^1.2.2:
+ version "1.2.2"
+ resolved "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz"
+ integrity sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==
+
tryer@^1.0.1:
version "1.0.1"
resolved "https://registry.npmjs.org/tryer/-/tryer-1.0.1.tgz"
@@ -9675,7 +10056,7 @@ tslib@^1.8.1:
resolved "https://registry.npmjs.org/tslib/-/tslib-1.14.1.tgz"
integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==
-tslib@^2.0.0, tslib@^2.0.3, tslib@^2.4.0, tslib@^2.6.2:
+tslib@^2.0.0, tslib@^2.0.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.4.0, tslib@^2.6.2:
version "2.6.2"
resolved "https://registry.npmjs.org/tslib/-/tslib-2.6.2.tgz"
integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==
@@ -9716,7 +10097,7 @@ type-fest@^0.20.2:
resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.20.2.tgz"
integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==
-type-fest@^0.21.3:
+type-fest@^0.21.3, "type-fest@>=0.17.0 <5.0.0":
version "0.21.3"
resolved "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz"
integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==
@@ -9780,6 +10161,11 @@ typedarray-to-buffer@^3.1.5:
dependencies:
is-typedarray "^1.0.0"
+"typescript@^3.2.1 || ^4", "typescript@>= 2.7", "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta":
+ version "4.9.5"
+ resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz"
+ integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
+
ua-parser-js@^1.0.33:
version "1.0.37"
resolved "https://registry.npmjs.org/ua-parser-js/-/ua-parser-js-1.0.37.tgz"
@@ -9855,6 +10241,11 @@ unquote@~1.1.1:
resolved "https://registry.npmjs.org/unquote/-/unquote-1.1.1.tgz"
integrity sha512-vRCqFv6UhXpWxZPyGDh/F3ZpNv8/qo7w6iufLpQg9aKnQ71qM4B5KiI7Mia9COcjEhrO9LueHpMYjYzsWH3OIg==
+untildify@^4.0.0:
+ version "4.0.0"
+ resolved "https://registry.npmjs.org/untildify/-/untildify-4.0.0.tgz"
+ integrity sha512-KK8xQ1mkzZeg9inewmFVDNkg3l5LUhoq9kN6iWYB/CC9YMG8HA+c1Q8HwDe6dEX7kErrEVNVBO3fWsVq5iDgtw==
+
upath@^1.2.0:
version "1.2.0"
resolved "https://registry.npmjs.org/upath/-/upath-1.2.0.tgz"
@@ -10001,7 +10392,7 @@ webpack-dev-middleware@^5.3.1:
range-parser "^1.2.1"
schema-utils "^4.0.0"
-webpack-dev-server@^4.6.0:
+webpack-dev-server@^4.6.0, "webpack-dev-server@3.x || 4.x":
version "4.15.1"
resolved "https://registry.npmjs.org/webpack-dev-server/-/webpack-dev-server-4.15.1.tgz"
integrity sha512-5hbAst3h3C3L8w6W4P96L5vaV0PxSmJhxZvWKYIdgxOQm8pNZ5dEOmmSLBVpP85ReeyRt6AS1QJNyo/oFFPeVA==
@@ -10066,7 +10457,7 @@ webpack-sources@^3.2.3:
resolved "https://registry.npmjs.org/webpack-sources/-/webpack-sources-3.2.3.tgz"
integrity sha512-/DyMEOrDgLKKIG0fmvtz+4dUX/3Ghozwgm6iPp8KRhvn+eQf9+Q7GWxVNMk3+uCPWfdXYC4ExGBckIXdFEfH1w==
-webpack@^5.64.4:
+"webpack@^4.0.0 || ^5.0.0", "webpack@^4.37.0 || ^5.0.0", "webpack@^4.4.0 || ^5.9.0", "webpack@^4.44.2 || ^5.47.0", webpack@^5.0.0, webpack@^5.1.0, webpack@^5.20.0, webpack@^5.64.4, "webpack@>= 4", webpack@>=2, "webpack@>=4.43.0 <6.0.0":
version "5.90.0"
resolved "https://registry.npmjs.org/webpack/-/webpack-5.90.0.tgz"
integrity sha512-bdmyXRCXeeNIePv6R6tGPyy20aUobw4Zy8r0LUS2EWO+U+Ke/gYDgsCh7bl5rB6jPpr4r0SZa6dPxBxLooDT3w==
@@ -10463,6 +10854,24 @@ xml-name-validator@^3.0.0:
resolved "https://registry.npmjs.org/xml-name-validator/-/xml-name-validator-3.0.0.tgz"
integrity sha512-A5CUptxDsvxKJEU3yO6DuWBSJz/qizqzJKOMIfUJHETbBw/sFaDxgd6fxm1ewUaM0jZ444Fc5vC5ROYurg/4Pw==
+xml2js@^0.5.0:
+ version "0.5.0"
+ resolved "https://registry.npmjs.org/xml2js/-/xml2js-0.5.0.tgz"
+ integrity sha512-drPFnkQJik/O+uPKpqSgr22mpuFHqKdbS835iAQrUC73L2F5WkboIRd63ai/2Yg6I1jzifPFKH2NTK+cfglkIA==
+ dependencies:
+ sax ">=0.6.0"
+ xmlbuilder "~11.0.0"
+
+xmlbuilder@^15.1.1:
+ version "15.1.1"
+ resolved "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-15.1.1.tgz"
+ integrity sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==
+
+xmlbuilder@~11.0.0:
+ version "11.0.1"
+ resolved "https://registry.npmjs.org/xmlbuilder/-/xmlbuilder-11.0.1.tgz"
+ integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==
+
xmlchars@^2.2.0:
version "2.2.0"
resolved "https://registry.npmjs.org/xmlchars/-/xmlchars-2.2.0.tgz"
@@ -10511,6 +10920,14 @@ yargs@^16.2.0:
y18n "^5.0.5"
yargs-parser "^20.2.2"
+yauzl@^2.10.0:
+ version "2.10.0"
+ resolved "https://registry.npmjs.org/yauzl/-/yauzl-2.10.0.tgz"
+ integrity sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g==
+ dependencies:
+ buffer-crc32 "~0.2.3"
+ fd-slicer "~1.1.0"
+
yocto-queue@^0.1.0:
version "0.1.0"
resolved "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz"
diff --git a/package-lock.json b/package-lock.json
index 240550a..1933abd 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,5 +1,5 @@
{
- "name": "miscbit",
+ "name": "MIS-CBIT",
"lockfileVersion": 3,
"requires": true,
"packages": {