PageSourceSearch

https://www.xpark.ai/assets/AdminBookings-CakB5Tz8.js

js xpark.ai collected 2026-10-05 14:02:24 UTC 784,444 bytes, 302 lines download raw bytes

vendor: 4,561 bytes, lines 1-7
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.es-CsShqPGl.js","assets/index-FWKSGZPO.js","assets/index-DJla2wuE.css","assets/badge-Cpd-8HxK.js","assets/card-DTQVPU97.js","assets/select-CNpOZwnZ.js","assets/index-BdQq_4o_.js","assets/alert-dialog-Ch5-74qd.js","assets/format-BNqEDbeN.js","assets/TablePagination-Cl4E4vlh.js","assets/download-D6yxZerY.js","assets/message-circle-D33wQSco.js"])))=>i.map(i=>d[i]);
2var Zm=Object.defineProperty;var Jm=(e,r,t)=>r in e?Zm(e,r,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[r]=t;var or=(e,r,t)=>Jm(e,typeof r!="symbol"?r+"":r,t);import{h as Qm,_ as Mc,A as ll,z as eg,r as er,d as Ji,o as tg,s as rg,j as oe,B as Na,I as bo,f as Uc,D as ng,F as ig,G as ag,H as sg,M as og,J as fg,g as bi}from"./index-FWKSGZPO.js";import{B as Fa}from"./badge-Cpd-8HxK.js";import{C as Fs,c as Ls}from"./card-DTQVPU97.js";import{S as zf,a as Wf,b as Hf,c as qf,d as An}from"./select-CNpOZwnZ.js";import{A as lg,a as cg,b as hg,c as ug,d as dg,e as pg,f as mg,g as gg}from"./alert-dialog-Ch5-74qd.js";import{f as na,a as Id,b as I0}from"./format-BNqEDbeN.js";import{p as xg,T as vg}from"./TablePagination-Cl4E4vlh.js";import{D as _g}from"./download-D6yxZerY.js";import{M as wg}from"./message-circle-D33wQSco.js";/**
3 * @license lucide-react v0.462.0 - ISC
4 *
5 * This source code is licensed under the ISC license.
6 * See the LICENSE file in the root directory of this source tree.
7 */const yg=Qm("FileDown",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M12 18v-6",key:"17g6i2"}],["path",{d:"m9 15 3 3 3-3",key:"1npd3o"}]]);function lr(e){"@babel/helpers - typeof";return lr=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(r){return typeof r}:function(r){return r&&typeof Symbol=="function"&&r.constructor===Symbol&&r!==Symbol.prototype?"symbol":typeof r},lr(e)}var zi=Uint8Array,pi=Uint16Array,Jh=Int32Array,Qh=new zi([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]),eu=new zi([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]),p1=new zi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Od=function(e,r){for(var t=new pi(31),n=0;n<31;++n)t[n]=r+=1<<e[n-1];for(var i=new Jh(t[30]),n=1;n<30;++n)for(var a=t[n];a<t[n+1];++a)i[a]=a-t[n]<<5|n;return{b:t,r:i}},Dd=Od(Qh,2),bg=Dd.b,Fh=Dd.r;bg[28]=258,Fh[258]=28;var Ag=Od(eu,0),m1=Ag.r,Lh=new pi(32768);for(var br=0;br<32768;++br){var es=(br&43690)>>1|(br&21845)<<1;es=(es&52428)>>2|(es&13107)<<2,es=(es&61680)>>4|(es&3855)<<4,Lh[br]=((es&65280)>>8|(es&255)<<8)>>1}var O0=function(e,r,t){for(var n=e.length,i=0,a=new pi(r);i<n;++i)e[i]&&++a[e[i]-1];var s=new pi(r);for(i=1;i<r;++i)s[i]=s[i-1]+a[i-1]<<1;var o;if(t){o=new pi(1<<r);var f=15-r;for(i=0;i<n;++i)if(e[i])for(var l=i<<4|e[i],h=r-e[i],g=s[e[i]-1]++<<h,p=g|(1<<h)-1;g<=p;++g)o[Lh[g]>>f]=l}else for(o=new pi(n),i=0;i<n;++i)e[i]&&(o[i]=Lh[s[e[i]-1]++]>>15-e[i]);return o},js=new zi(288);for(var br=0;br<144;++br)js[br]=8;for(var br=144;br<256;++br)js[br]=9;for(var br=256;br<280;++br)js[br]=7;for(var br=280;br<288;++br)js[br]=8;var vl=new zi(32);for(var br=0;br<32;++br)vl[br]=5;var Sg=O0(js,9,0),Eg=O0(vl,5,0),Rd=function(e){return(e+7)/8|0},Tg=function(e,r,t){return(t==null||t>e.length)&&(t=e.length),new zi(e.subarray(r,t))},La=function(e,r,t){t<<=r&7;var n=r/8|0;e[n]|=t,e[n+1]|=t>>8},E0=function(e,r,t){t<<=r&7;var n=r/8|0;e[n]|=t,e[n+1]|=t>>8,e[n+2]|=t>>16},jc=function(e,r){for(var t=[],n=0;n<e.length;++n)e[n]&&t.push({s:n,f:e[n]});var i=t.length,a=t.slice();if(!i)return{t:Md,l:0};if(i==1){var s=new zi(t[0].s+1);return s[t[0].s]=1,{t:s,l:1}}t.sort(function(re,fe){return re.f-fe.f}),t.push({s:-1,f:25001});var o=t[0],f=t[1],l=0,h=1,g=2;for(t[0]={s:-1,f:o.f+f.f,l:o,r:f};h!=i-1;)o=t[t[l].f<t[g].f?l++:g++],f=t[l!=h&&t[l].f<t[g].f?l++:g++],t[h++]={s:-1,f:o.f+f.f,l:o,r:f};for(var p=a[0].s,n=1;n<i;++n)a[n].s>p&&(p=a[n].s);var u=new pi(p+1),_=kh(t[h-1],u,0);if(_>r){var n=0,w=0,y=_-r,v=1<<y;for(a.sort(function(fe,O){return u[O.s]-u[fe.s]||fe.f-O.f});n<i;++n){var E=a[n].s;if(u[E]>r)w+=v-(1<<_-u[E]),u[E]=r;else break}for(w>>=y;w>0;){var S=a[n].s;u[S]<r?w-=1<<r-u[S]++-1:++n}for(;n>=0&&w;--n){var R=a[n].s;u[R]==r&&(--u[R],++w)}_=r}return{t:new zi(u),l:_}},kh=function(e,r,t){return e.s==-1?Math.max(kh(e.l,r,t+1),kh(e.r,r,t+1)):r[e.s]=t},g1=function(e){for(var r=e.length;r&&!e[--r];);for(var t=new pi(++r),n=0,i=e[0],a=1,s=function(f){t[n++]=f},o=1;o<=r;++o)if(e[o]==i&&o!=r)++a;else{if(!i&&a>2){for(;a>138;a-=138)s(32754);a>
vendor: 11,904 bytes, lines 7-8
72&&(s(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(s(i),--a;a>6;a-=6)s(8304);a>2&&(s(a-3<<5|8208),a=0)}for(;a--;)s(i);a=1,i=e[o]}return{c:t.subarray(0,n),n:r}},T0=function(e,r){for(var t=0,n=0;n<r.length;++n)t+=e[n]*r[n];return t},Bd=function(e,r,t){var n=t.length,i=Rd(r+2);e[i]=n&255,e[i+1]=n>>8,e[i+2]=e[i]^255,e[i+3]=e[i+1]^255;for(var a=0;a<n;++a)e[i+a+4]=t[a];return(i+4+n)*8},x1=function(e,r,t,n,i,a,s,o,f,l,h){La(r,h++,t),++i[256];for(var g=jc(i,15),p=g.t,u=g.l,_=jc(a,15),w=_.t,y=_.l,v=g1(p),E=v.c,S=v.n,R=g1(w),re=R.c,fe=R.n,O=new pi(19),B=0;B<E.length;++B)++O[E[B]&31];for(var B=0;B<re.length;++B)++O[re[B]&31];for(var T=jc(O,7),Q=T.t,A=T.l,P=19;P>4&&!Q[p1[P-1]];--P);var j=l+5<<3,ie=T0(i,js)+T0(a,vl)+s,he=T0(i,p)+T0(a,w)+s+14+3*P+T0(O,Q)+2*O[16]+3*O[17]+7*O[18];if(f>=0&&j<=ie&&j<=he)return Bd(r,h,e.subarray(f,f+l));var Fe,xe,ve,Le;if(La(r,h,1+(he<ie)),h+=2,he<ie){Fe=O0(p,u,0),xe=p,ve=O0(w,y,0),Le=w;var Ge=O0(Q,A,0);La(r,h,S-257),La(r,h+5,fe-1),La(r,h+10,P-4),h+=14;for(var B=0;B<P;++B)La(r,h+3*B,Q[p1[B]]);h+=3*P;for(var Be=[E,re],L=0;L<2;++L)for(var q=Be[L],B=0;B<q.length;++B){var te=q[B]&31;La(r,h,Ge[te]),h+=Q[te],te>15&&(La(r,h,q[B]>>5&127),h+=q[B]>>12)}}else Fe=Sg,xe=js,ve=Eg,Le=vl;for(var B=0;B<o;++B){var ae=n[B];if(ae>255){var te=ae>>18&31;E0(r,h,Fe[te+257]),h+=xe[te+257],te>7&&(La(r,h,ae>>23&31),h+=Qh[te]);var ce=ae&31;E0(r,h,ve[ce]),h+=Le[ce],ce>3&&(E0(r,h,ae>>5&8191),h+=eu[ce])}else E0(r,h,Fe[ae]),h+=xe[ae]}return E0(r,h,Fe[256]),h+xe[256]},Ng=new Jh([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Md=new zi(0),Fg=function(e,r,t,n,i,a){var s=a.z||e.length,o=new zi(n+s+5*(1+Math.ceil(s/7e3))+i),f=o.subarray(n,o.length-i),l=a.l,h=(a.r||0)&7;if(r){h&&(f[0]=a.r>>3);for(var g=Ng[r-1],p=g>>13,u=g&8191,_=(1<<t)-1,w=a.p||new pi(32768),y=a.h||new pi(_+1),v=Math.ceil(t/3),E=2*v,S=function(Ie){return(e[Ie]^e[Ie+1]<<v^e[Ie+2]<<E)&_},R=new Jh(25e3),re=new pi(288),fe=new pi(32),O=0,B=0,T=a.i||0,Q=0,A=a.w||0,P=0;T+2<s;++T){var j=S(T),ie=T&32767,he=y[j];if(w[ie]=he,y[j]=ie,A<=T){var Fe=s-T;if((O>7e3||Q>24576)&&(Fe>423||!l)){h=x1(e,f,0,R,re,fe,B,Q,P,T-P,h),Q=O=B=0,P=T;for(var xe=0;xe<286;++xe)re[xe]=0;for(var xe=0;xe<30;++xe)fe[xe]=0}var ve=2,Le=0,Ge=u,Be=ie-he&32767;if(Fe>2&&j==S(T-Be))for(var L=Math.min(p,Fe)-1,q=Math.min(32767,T),te=Math.min(258,Fe);Be<=q&&--Ge&&ie!=he;){if(e[T+ve]==e[T+ve-Be]){for(var ae=0;ae<te&&e[T+ae]==e[T+ae-Be];++ae);if(ae>ve){if(ve=ae,Le=Be,ae>L)break;for(var ce=Math.min(Be,ae-2),de=0,xe=0;xe<ce;++xe){var k=T-Be+xe&32767,X=w[k],z=k-X&32767;z>de&&(de=z,he=k)}}}ie=he,he=w[ie],Be+=ie-he&32767}if(Le){R[Q++]=268435456|Fh[ve]<<18|m1[Le];var G=Fh[ve]&31,me=m1[Le]&31;B+=Qh[G]+eu[me],++re[257+G],++fe[me],A=T+ve,++O}else R[Q++]=e[T],++re[e[T]]}}for(T=Math.max(T,A);T<s;++T)R[Q++]=e[T],++re[e[T]];h=x1(e,f,l,R,re,fe,B,Q,P,T-P,h),l||(a.r=h&7|f[h/8|0]<<3,h-=7,a.h=y,a.p=w,a.i=T,a.w=A)}else{for(var T=a.w||0;T<s+l;T+=65535){var Ce=T+65535;Ce>=s&&(f[h/8|0]=l,Ce=s),h=Bd(f,h+1,e.subarray(T,Ce))}a.i=s}return Tg(o,0,n+Rd(h)+i)},Ud=function(){var e=1,r=0;return{p:function(t){for(var n=e,i=r,a=t.length|0,s=0;s!=a;){for(var o=Math.min(s+2655,a);s<o;++s)i+=n+=t[s];n=(n&65535)+15*(n>>16),i=(i&65535)+15*(i>>16)}e=n,r=i},d:function(){return e%=65521,r%=65521,(e&255)<<24|(e&65280)<<8|(r&255)<<8|r>>8}}},Lg=function(e,r,t,n,i){if(!i&&(i={l:1},r.dictionary)){var a=r.dictionary.subarray(-32768),s=new zi(a.length+e.length);s.set(a),s.set(e,a.length),e=s,i.w=a.length}return Fg(e,r.level==null?6:r.level,r.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(e.length)))*1.5):20:12+r.mem,t,n,i)},jd=function(e,r,t){for(;t;++r)e[r]=t,t>>>=8},kg=function(e,r){var t=r.level,n=t==0?0:t<6?1:t==9?3:2;if(e[0]=120,e[1]=n<<6|(r.dictionary&&32),e[1]|=31-(e[0]<<8|e[1])%31,r.dictionary){var i=Ud();i.p(r.dictionary),jd(e,2,i.d())}};function Ch(e,r){r||(r={});var t=Ud();t.p(e);var n=Lg(e,r,r.dictionary?6:2,4);return kg(n,r),jd(n,n.length-4,t.d()),n}var Cg=typeof TextDecoder<"u"&&new TextDecoder,Pg=0;try{Cg.decode(Md,{stream:!0}),Pg=1}catch{}function Ig(e){if(Array.isArray(e))return e}function Og(e,r){var t=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(t!=null){var n,i,a,s,o=[],f=!0,l=!1;try{if(a=(t=t.call(e)).next,r!==0)for(;!(f=(n=a.call(t)).done)&&(o.push(n.value),o.length!==r);f=!0);}catch(h){l=!0,i=h}finally{try{if(!f&&t.return!=null&&(s=t.return(),Object(s)!==s))return}finally{if(l)throw i}}return o}}function v1(e,r){(r==null||r>e.length)&&(r=e.length);for(var t=0,n=Array(r);t<r;t++)n[t]=e[t];return n}function Dg(e,r){if(e){if(typeof e=="string")return v1(e,r);var t={}.toString.call(e).slice(8,-1);return t==="Object"&&e.constructor&&(t=e.constructor.name),t==="Map"||t==="Set"?Array.from(e):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?v1(e,r):void 0}}function Rg(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
8In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function _1(e,r){return Ig(e)||Og(e,r)||Dg(e,r)||Rg()}function w1(e,r="utf8"){return new TextDecoder(r).decode(e)}const Bg=new TextEncoder;function Mg(e){return Bg.encode(e)}const Ug=1024*8,jg=(()=>{const e=new Uint8Array(4),r=new Uint32Array(e.buffer);return!((r[0]=1)&e[0])})(),zc={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class tu{constructor(r=Ug,t={}){or(this,"buffer");or(this,"byteLength");or(this,"byteOffset");or(this,"length");or(this,"offset");or(this,"lastWrittenByte");or(this,"littleEndian");or(this,"_data");or(this,"_mark");or(this,"_marks");let n=!1;typeof r=="number"?r=new ArrayBuffer(r):(n=!0,this.lastWrittenByte=r.byteLength);const i=t.offset?t.offset>>>0:0,a=r.byteLength-i;let s=i;(ArrayBuffer.isView(r)||r instanceof tu)&&(r.byteLength!==r.buffer.byteLength&&(s=r.byteOffset+i),r=r.buffer),n?this.lastWrittenByte=a:this.lastWrittenByte=0,this.buffer=r,this.length=a,this.byteLength=a,this.byteOffset=s,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,s,a),this._mark=0,this._marks=[]}available(r=1){return this.offset+r<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(r=1){return this.offset+=r,this}back(r=1){return this.offset-=r,this}seek(r){return this.offset=r,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const r=this._marks.pop();if(r===void 0)throw new Error("Mark stack empty");return this.seek(r),this}rewind(){return this.offset=0,this}ensureAvailable(r=1){if(!this.available(r)){const n=(this.offset+r)*2,i=new Uint8Array(n);i.set(new Uint8Array(this.buffer)),this.buffer=i.buffer,this.length=n,this.byteLength=n,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(r=1){return this.readArray(r,"uint8")}readArray(r,t){const n=zc[t].BYTES_PER_ELEMENT*r,i=this.byteOffset+this.offset,a=this.buffer.slice(i,i+n);if(this.littleEndian===jg&&t!=="uint8"&&t!=="int8"){const o=new Uint8Array(this.buffer.slice(i,i+n));o.reverse();const f=new zc[t](o.buffer);return this.offset+=n,f.reverse(),f}const s=new zc[t](a);return this.offset+=n,s}readInt16(){const r=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,r}readUint16(){const r=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,r}readInt32(){const r=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,r}readUint32(){const r=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,r}readFloat32(){const r=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,r}readFloat64(){const r=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,r}readBigInt64(){const r=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,r}readBigUint64(){const r=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,r}readChar(){return String.fromCharCode(this.readInt8())}readChars(r=1){let t="";for(let n=0;n<r;n++)t+=this.readChar();return t}readUtf8(r=1){return w1(this.readBytes(r))}decodeText(r=1,t="utf8"){return w1(this.readBytes(r),t)}writeBoolean(r){return this.writeUint8(r?255:0),this}writeInt8(r){return this.ensureAvailable(1),this._data.setInt8(this.offset++,r),this._updateLastWrittenByte(),this}writeUint8(r){return this.ensureAvailable(1),this._data.setUint8(this.offset++,r),this._updateLastWrittenByte(),this}writeByte(r){return this.writeUint8(r)}writeBytes(r){this.ensureAvailable(r.length);for(let t=0;t<r.length;t++)this._data.setUint8(this.offset++,r[t]);return this._updateLastWrittenByte(),this}writeInt16(r){return this.ensureAvailable(2),this._data.setInt16(this.offset,r,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(r){return this.ensureAvailable(2),this._data.setUint16(this.offset,r,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(r){return this.ensureAvailable(4),this._data.setInt32(this.offset,r,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(r){return this.ensureAvailable(4),this._data.setUint32(this.offset,r,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(r){return this.ensureAvailable(4),this._data.setFloat32(this.offset,r,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(r){return this.ensureAvailable(8),this._data.setFloat64(this.offset,r,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(r){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,r,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(r){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,r,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(r){return this.writeUint8(r.charCodeAt(0))}writeChars(r){for(let t=0;t<r.length;t++)this.writeUint8(r.charCodeAt(t));return this}writeUtf8(r){return this.writeBytes(Mg(r))}toArray(){return new Uint8Array(this.buffer,this.byteOffset,this.lastWrittenByte)}getWrittenByteLength(){return this.lastWrittenByte-this.byteOffset}_updateLastWrittenByte(){this.offset>this.lastWrittenByte&&(this.lastWrittenByte=this.offset)}}/*! pako 2.2.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const zg=4,y1=0,b1=1,Wg=2;function Zo(e){let r=e.length;for(;--r>=0;)e[r]=0}const Hg=0,zd=1,qg=2,Gg=3,Vg=258,ru=29,af=256,H0=af+1+ru,Io=30,nu=19,Wd=2*H0+1,Ds=15,Wc=16,$g=7,iu=256,Hd=16,qd=17,Gd=18,Ph=new Uint8Array([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]),cl=new Uint8Array([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]),Xg=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Vd=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Yg=512,Pa=new Array((H0+2)*2);Zo(Pa);const D0=new Array(Io*2);Zo(D0);const q0=new Array(Yg);Zo(q0);const G0=new Array(Vg-Gg+1);Zo(G0);const au=new Array(ru);Zo(au);const _l=new Array(Io);Zo(_l);function Hc(e,r,t,n,i){this.static_tree=e,this.extra_bits=r,this.extra_base=t,this.elems=n,this.max_length=i,this.has_stree=e&&e.length}let $d,Xd,Yd;function qc(e,r){this.dyn_tree=e,this.max_code=0,this.stat_desc=r}const Kd=e=>e<256?q0[e]:q0[256+(e>>>7)],V0=(e,r)=>{e.pending_buf[e.pending++]=r&255,e.pending_buf[e.pending++]=r>>>8&255},Zn=(e,r,t)=>{e.bi_valid>
vendor: 5,483 bytes, line 8
8Wc-t?(e.bi_buf|=r<<e.bi_valid&65535,V0(e,e.bi_buf),e.bi_buf=r>>Wc-e.bi_valid,e.bi_valid+=t-Wc):(e.bi_buf|=r<<e.bi_valid&65535,e.bi_valid+=t)},oa=(e,r,t)=>{Zn(e,t[r*2],t[r*2+1])},Zd=(e,r)=>{let t=0;do t|=e&1,e>>>=1,t<<=1;while(--r>0);return t>>>1},Kg=e=>{e.bi_valid===16?(V0(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)},Zg=(e,r)=>{const t=r.dyn_tree,n=r.max_code,i=r.stat_desc.static_tree,a=r.stat_desc.has_stree,s=r.stat_desc.extra_bits,o=r.stat_desc.extra_base,f=r.stat_desc.max_length;let l,h,g,p,u,_,w=0;for(p=0;p<=Ds;p++)e.bl_count[p]=0;for(t[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;l<Wd;l++)h=e.heap[l],p=t[t[h*2+1]*2+1]+1,p>f&&(p=f,w++),t[h*2+1]=p,!(h>n)&&(e.bl_count[p]++,u=0,h>=o&&(u=s[h-o]),_=t[h*2],e.opt_len+=_*(p+u),a&&(e.static_len+=_*(i[h*2+1]+u)));if(w!==0){do{for(p=f-1;e.bl_count[p]===0;)p--;e.bl_count[p]--,e.bl_count[p+1]+=2,e.bl_count[f]--,w-=2}while(w>0);for(p=f;p!==0;p--)for(h=e.bl_count[p];h!==0;)g=e.heap[--l],!(g>n)&&(t[g*2+1]!==p&&(e.opt_len+=(p-t[g*2+1])*t[g*2],t[g*2+1]=p),h--)}},Jd=(e,r,t)=>{const n=new Array(Ds+1);let i=0,a,s;for(a=1;a<=Ds;a++)i=i+t[a-1]<<1,n[a]=i;for(s=0;s<=r;s++){let o=e[s*2+1];o!==0&&(e[s*2]=Zd(n[o]++,o))}},Jg=()=>{let e,r,t,n,i;const a=new Array(Ds+1);for(t=0,n=0;n<ru-1;n++)for(au[n]=t,e=0;e<1<<Ph[n];e++)G0[t++]=n;for(G0[t-1]=n,i=0,n=0;n<16;n++)for(_l[n]=i,e=0;e<1<<cl[n];e++)q0[i++]=n;for(i>>=7;n<Io;n++)for(_l[n]=i<<7,e=0;e<1<<cl[n]-7;e++)q0[256+i++]=n;for(r=0;r<=Ds;r++)a[r]=0;for(e=0;e<=143;)Pa[e*2+1]=8,e++,a[8]++;for(;e<=255;)Pa[e*2+1]=9,e++,a[9]++;for(;e<=279;)Pa[e*2+1]=7,e++,a[7]++;for(;e<=287;)Pa[e*2+1]=8,e++,a[8]++;for(Jd(Pa,H0+1,a),e=0;e<Io;e++)D0[e*2+1]=5,D0[e*2]=Zd(e,5);$d=new Hc(Pa,Ph,af+1,H0,Ds),Xd=new Hc(D0,cl,0,Io,Ds),Yd=new Hc(new Array(0),Xg,0,nu,$g)},Qd=e=>{let r;for(r=0;r<H0;r++)e.dyn_ltree[r*2]=0;for(r=0;r<Io;r++)e.dyn_dtree[r*2]=0;for(r=0;r<nu;r++)e.bl_tree[r*2]=0;e.dyn_ltree[iu*2]=1,e.opt_len=e.static_len=0,e.sym_next=e.matches=0},ep=e=>{e.bi_valid>8?V0(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0},A1=(e,r,t,n)=>{const i=r*2,a=t*2;return e[i]<e[a]||e[i]===e[a]&&n[r]<=n[t]},Gc=(e,r,t)=>{const n=e.heap[t];let i=t<<1;for(;i<=e.heap_len&&(i<e.heap_len&&A1(r,e.heap[i+1],e.heap[i],e.depth)&&i++,!A1(r,n,e.heap[i],e.depth));)e.heap[t]=e.heap[i],t=i,i<<=1;e.heap[t]=n},S1=(e,r,t)=>{let n,i,a=0,s,o;if(e.sym_next!==0)do n=e.pending_buf[e.sym_buf+a++]&255,n+=(e.pending_buf[e.sym_buf+a++]&255)<<8,i=e.pending_buf[e.sym_buf+a++],n===0?oa(e,i,r):(s=G0[i],oa(e,s+af+1,r),o=Ph[s],o!==0&&(i-=au[s],Zn(e,i,o)),n--,s=Kd(n),oa(e,s,t),o=cl[s],o!==0&&(n-=_l[s],Zn(e,n,o)));while(a<e.sym_next);oa(e,iu,r)},Ih=(e,r)=>{const t=r.dyn_tree,n=r.stat_desc.static_tree,i=r.stat_desc.has_stree,a=r.stat_desc.elems;let s,o,f=-1,l;for(e.heap_len=0,e.heap_max=Wd,s=0;s<a;s++)t[s*2]!==0?(e.heap[++e.heap_len]=f=s,e.depth[s]=0):t[s*2+1]=0;for(;e.heap_len<2;)l=e.heap[++e.heap_len]=f<2?++f:0,t[l*2]=1,e.depth[l]=0,e.opt_len--,i&&(e.static_len-=n[l*2+1]);for(r.max_code=f,s=e.heap_len>>1;s>=1;s--)Gc(e,t,s);l=a;do s=e.heap[1],e.heap[1]=e.heap[e.heap_len--],Gc(e,t,1),o=e.heap[1],e.heap[--e.heap_max]=s,e.heap[--e.heap_max]=o,t[l*2]=t[s*2]+t[o*2],e.depth[l]=(e.depth[s]>=e.depth[o]?e.depth[s]:e.depth[o])+1,t[s*2+1]=t[o*2+1]=l,e.heap[1]=l++,Gc(e,t,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],Zg(e,r),Jd(t,f,e.bl_count)},E1=(e,r,t)=>{let n,i=-1,a,s=r[0*2+1],o=0,f=7,l=4;for(s===0&&(f=138,l=3),r[(t+1)*2+1]=65535,n=0;n<=t;n++)a=s,s=r[(n+1)*2+1],!(++o<f&&a===s)&&(o<l?e.bl_tree[a*2]+=o:a!==0?(a!==i&&e.bl_tree[a*2]++,e.bl_tree[Hd*2]++):o<=10?e.bl_tree[qd*2]++:e.bl_tree[Gd*2]++,o=0,i=a,s===0?(f=138,l=3):a===s?(f=6,l=3):(f=7,l=4))},T1=(e,r,t)=>{let n,i=-1,a,s=r[0*2+1],o=0,f=7,l=4;for(s===0&&(f=138,l=3),n=0;n<=t;n++)if(a=s,s=r[(n+1)*2+1],!(++o<f&&a===s)){if(o<l)do oa(e,a,e.bl_tree);while(--o!==0);else a!==0?(a!==i&&(oa(e,a,e.bl_tree),o--),oa(e,Hd,e.bl_tree),Zn(e,o-3,2)):o<=10?(oa(e,qd,e.bl_tree),Zn(e,o-3,3)):(oa(e,Gd,e.bl_tree),Zn(e,o-11,7));o=0,i=a,s===0?(f=138,l=3):a===s?(f=6,l=3):(f=7,l=4)}},Qg=e=>{let r;for(E1(e,e.dyn_ltree,e.l_desc.max_code),E1(e,e.dyn_dtree,e.d_desc.max_code),Ih(e,e.bl_desc),r=nu-1;r>=3&&e.bl_tree[Vd[r]*2+1]===0;r--);return e.opt_len+=3*(r+1)+5+5+4,r},ex=(e,r,t,n)=>{let i;for(Zn(e,r-257,5),Zn(e,t-1,5),Zn(e,n-4,4),i=0;i<n;i++)Zn(e,e.bl_tree[Vd[i]*2+1],3);T1(e,e.dyn_ltree,r-1),T1(e,e.dyn_dtree,t-1)},tx=e=>{let r=4093624447,t;for(t=0;t<=31;t++,r>>>=1)if(r&1&&e.dyn_ltree[t*2]!==0)return y1;if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0)return b1;for(t=32;t<af;t++)if(e.dyn_ltree[t*2]!==0)return b1;return y1};let N1=!1;const rx=e=>{N1||(Jg(),N1=!0),e.l_desc=new qc(e.dyn_ltree,$d),e.d_desc=new qc(e.dyn_dtree,Xd),e.bl_desc=new qc(e.bl_tree,Yd),e.bi_buf=0,e.bi_valid=0,Qd(e)},tp=(e,r,t,n)=>{Zn(e,(Hg<<1)+(n?1:0),3),ep(e),V0(e,t),V0(e,~t),t&&e.pending_buf.set(e.window.subarray(r,r+t),e.pending),e.pending+=t},nx=e=>{Zn(e,zd<<1,3),oa(e,iu,Pa),Kg(e)},ix=(e,r,t,n)=>{let i,a,s=0;e.level>0?(e.strm.data_type===Wg&&(e.strm.data_type=tx(e)),Ih(e,e.l_desc),Ih(e,e.d_desc),s=Qg(e),i=e.opt_len+3+7>>>3,a=e.static_len+3+7>>>3,a<=i&&(i=a)):i=a=t+5,t+4<=i&&r!==-1?tp(e,r,t,n):e.strategy===zg||a===i?(Zn(e,(zd<<1)+(n?1:0),3),S1(e,Pa,D0)):(Zn(e,(qg<<1)+(n?1:0),3),ex(e,e.l_desc.max_code+1,e.d_desc.max_code+1,s+1),S1(e,e.dyn_ltree,e.dyn_dtree)),Qd(e),n&&ep(e)},ax=(e,r,t)=>(e.pending_buf[e.sym_buf+e.sym_next++]=r,e.pending_buf[e.sym_buf+e.sym_next++]=r>>
vendor: 4,218 bytes, line 8
88,e.pending_buf[e.sym_buf+e.sym_next++]=t,r===0?e.dyn_ltree[t*2]++:(e.matches++,r--,e.dyn_ltree[(G0[t]+af+1)*2]++,e.dyn_dtree[Kd(r)*2]++),e.sym_next===e.sym_end);var sx=rx,ox=tp,fx=ix,lx=ax,cx=nx,hx={_tr_init:sx,_tr_stored_block:ox,_tr_flush_block:fx,_tr_tally:lx,_tr_align:cx};const ux=(e,r,t,n)=>{let i=e&65535|0,a=e>>>16&65535|0,s=0;for(;t!==0;){s=t>2e3?2e3:t,t-=s;do i=i+r[n++]|0,a=a+i|0;while(--s);i%=65521,a%=65521}return i|a<<16|0};var $0=ux;const dx=()=>{let e,r=[];for(var t=0;t<256;t++){e=t;for(var n=0;n<8;n++)e=e&1?3988292384^e>>>1:e>>>1;r[t]=e}return r},px=new Uint32Array(dx()),mx=(e,r,t,n)=>{const i=px,a=n+t;e^=-1;for(let s=n;s<a;s++)e=e>>>8^i[(e^r[s])&255];return e^-1};var sn=mx,Vo={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},sf={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:gx,_tr_stored_block:Oh,_tr_flush_block:xx,_tr_tally:ss,_tr_align:vx}=hx,{Z_NO_FLUSH:os,Z_PARTIAL_FLUSH:_x,Z_FULL_FLUSH:wx,Z_FINISH:Ti,Z_BLOCK:F1,Z_OK:dn,Z_STREAM_END:L1,Z_STREAM_ERROR:ca,Z_DATA_ERROR:yx,Z_BUF_ERROR:Vc,Z_DEFAULT_COMPRESSION:bx,Z_FILTERED:Ax,Z_HUFFMAN_ONLY:Gf,Z_RLE:Sx,Z_FIXED:Ex,Z_DEFAULT_STRATEGY:Tx,Z_UNKNOWN:Nx,Z_DEFLATED:Hl}=sf,Fx=9,Lx=15,kx=8,Cx=29,Px=256,Dh=Px+1+Cx,Ix=30,Ox=19,Dx=2*Dh+1,Rx=15,Qt=3,ns=258,ha=ns+Qt+1,Bx=32,$o=42,su=57,Rh=69,Bh=73,Mh=91,Uh=103,Rs=113,k0=666,Hn=1,Jo=2,zs=3,Qo=4,Mx=3,Bs=(e,r)=>(e.msg=Vo[r],r),k1=e=>e*2-(e>4?9:0),rs=e=>{let r=e.length;for(;--r>=0;)e[r]=0},Ux=e=>{let r,t,n,i=e.w_size;r=e.hash_size,n=r;do t=e.head[--n],e.head[n]=t>=i?t-i:0;while(--r);r=i,n=r;do t=e.prev[--n],e.prev[n]=t>=i?t-i:0;while(--r)};let ou=(e,r,t)=>(r<<e.hash_shift^t)&e.hash_mask;const Ws=(e,r)=>{let t;if(e.legacy_hash)t=e.ins_h=ou(e,e.ins_h,e.window[r+Qt-1]);else{const i=e.window,a=i[r]|i[r+1]<<8|i[r+2]<<16|i[r+3]<<24;t=e.ins_h=Math.imul(a,66521)+66521>>>16&e.hash_mask}const n=e.prev[r&e.w_mask]=e.head[t];return e.head[t]=r,n},li=e=>{const r=e.state;let t=r.pending;t>e.avail_out&&(t=e.avail_out),t!==0&&(e.output.set(r.pending_buf.subarray(r.pending_out,r.pending_out+t),e.next_out),e.next_out+=t,r.pending_out+=t,e.total_out+=t,e.avail_out-=t,r.pending-=t,r.pending===0&&(r.pending_out=0))},mi=(e,r)=>{xx(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,r),e.block_start=e.strstart,li(e.strm)},tr=(e,r)=>{e.pending_buf[e.pending++]=r},N0=(e,r)=>{e.pending_buf[e.pending++]=r>>>8&255,e.pending_buf[e.pending++]=r&255},jh=(e,r,t,n)=>{let i=e.avail_in;return i>n&&(i=n),i===0?0:(e.avail_in-=i,r.set(e.input.subarray(e.next_in,e.next_in+i),t),e.state.wrap===1?e.adler=$0(e.adler,r,i,t):e.state.wrap===2&&(e.adler=sn(e.adler,r,i,t)),e.next_in+=i,e.total_in+=i,i)},rp=(e,r)=>{let t=e.max_chain_length,n=e.strstart,i,a,s=e.prev_length,o=e.nice_match;const f=e.strstart>e.w_size-ha?e.strstart-(e.w_size-ha):0,l=e.window,h=e.w_mask,g=e.prev,p=e.strstart+ns;let u=l[n+s-1],_=l[n+s];e.prev_length>=e.good_match&&(t>>=2),o>e.lookahead&&(o=e.lookahead);do if(i=r,!(l[i+s]!==_||l[i+s-1]!==u||l[i]!==l[n]||l[++i]!==l[n+1])){n+=2,i++;do;while(l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&l[++n]===l[++i]&&n<p);if(a=ns-(p-n),n=p-ns,a>s){if(e.match_start=r,s=a,a>=o)break;u=l[n+s-1],_=l[n+s]}}while((r=g[r&h])>f&&--t!==0);return s<=e.lookahead?s:e.lookahead},Xo=e=>{const r=e.w_size;let t,n,i;do{if(n=e.window_size-e.lookahead-e.strstart,e.strstart>=r+(r-ha)&&(e.window.set(e.window.subarray(r,r+r-n),0),e.match_start-=r,e.strstart-=r,e.block_start-=r,e.insert>e.strstart&&(e.insert=e.strstart),Ux(e),n+=r),e.strm.avail_in===0)break;if(t=jh(e.strm,e.window,e.strstart+e.lookahead,n),e.lookahead+=t,e.legacy_hash){if(e.lookahead+e.insert>=Qt)for(i=e.strstart-e.insert,e.ins_h=e.window[i],e.ins_h=ou(e,e.ins_h,e.window[i+1]
vendor: 4,597 bytes, line 8
8);e.insert&&(Ws(e,i),i++,e.insert--,!(e.lookahead+e.insert<Qt)););}else if(e.lookahead+e.insert>Qt)for(i=e.strstart-e.insert;e.insert&&(Ws(e,i),i++,e.insert--,!(e.lookahead+e.insert<=Qt)););}while(e.lookahead<ha&&e.strm.avail_in!==0)},np=(e,r)=>{let t=e.pending_buf_size-5>e.w_size?e.w_size:e.pending_buf_size-5,n,i,a,s=0,o=e.strm.avail_in;do{if(n=65535,a=e.bi_valid+42>>3,e.strm.avail_out<a||(a=e.strm.avail_out-a,i=e.strstart-e.block_start,n>i+e.strm.avail_in&&(n=i+e.strm.avail_in),n>a&&(n=a),n<t&&(n===0&&r!==Ti||r===os||n!==i+e.strm.avail_in)))break;s=r===Ti&&n===i+e.strm.avail_in?1:0,Oh(e,0,0,s),e.pending_buf[e.pending-4]=n,e.pending_buf[e.pending-3]=n>>8,e.pending_buf[e.pending-2]=~n,e.pending_buf[e.pending-1]=~n>>8,li(e.strm),i&&(i>n&&(i=n),e.strm.output.set(e.window.subarray(e.block_start,e.block_start+i),e.strm.next_out),e.strm.next_out+=i,e.strm.avail_out-=i,e.strm.total_out+=i,e.block_start+=i,n-=i),n&&(jh(e.strm,e.strm.output,e.strm.next_out,n),e.strm.next_out+=n,e.strm.avail_out-=n,e.strm.total_out+=n)}while(s===0);return o-=e.strm.avail_in,o&&(o>=e.w_size?(e.matches=2,e.window.set(e.strm.input.subarray(e.strm.next_in-e.w_size,e.strm.next_in),0),e.strstart=e.w_size,e.insert=e.strstart):(e.window_size-e.strstart<=o&&(e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,e.insert>e.strstart&&(e.insert=e.strstart)),e.window.set(e.strm.input.subarray(e.strm.next_in-o,e.strm.next_in),e.strstart),e.strstart+=o,e.insert+=o>e.w_size-e.insert?e.w_size-e.insert:o),e.block_start=e.strstart),e.high_water<e.strstart&&(e.high_water=e.strstart),s?Qo:r!==os&&r!==Ti&&e.strm.avail_in===0&&e.strstart===e.block_start?Jo:(a=e.window_size-e.strstart,e.strm.avail_in>a&&e.block_start>=e.w_size&&(e.block_start-=e.w_size,e.strstart-=e.w_size,e.window.set(e.window.subarray(e.w_size,e.w_size+e.strstart),0),e.matches<2&&e.matches++,a+=e.w_size,e.insert>e.strstart&&(e.insert=e.strstart)),a>e.strm.avail_in&&(a=e.strm.avail_in),a&&(jh(e.strm,e.window,e.strstart,a),e.strstart+=a,e.insert+=a>e.w_size-e.insert?e.w_size-e.insert:a),e.high_water<e.strstart&&(e.high_water=e.strstart),a=e.bi_valid+42>>3,a=e.pending_buf_size-a>65535?65535:e.pending_buf_size-a,t=a>e.w_size?e.w_size:a,i=e.strstart-e.block_start,(i>=t||(i||r===Ti)&&r!==os&&e.strm.avail_in===0&&i<=a)&&(n=i>a?a:i,s=r===Ti&&e.strm.avail_in===0&&n===i?1:0,Oh(e,e.block_start,n,s),e.block_start+=n,li(e.strm)),s?zs:Hn)},$c=(e,r)=>{let t,n;for(;;){if(e.lookahead<ha){if(Xo(e),e.lookahead<ha&&r===os)return Hn;if(e.lookahead===0)break}if(t=0,e.lookahead>=Qt&&(t=Ws(e,e.strstart)),t!==0&&e.strstart-t<=e.w_size-ha&&(e.match_length=rp(e,t)),e.match_length>=Qt)if(n=ss(e,e.strstart-e.match_start,e.match_length-Qt),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=Qt){e.match_length--;do e.strstart++,t=Ws(e,e.strstart);while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.legacy_hash&&(e.ins_h=e.window[e.strstart],e.ins_h=ou(e,e.ins_h,e.window[e.strstart+1]));else n=ss(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(n&&(mi(e,!1),e.strm.avail_out===0))return Hn}return e.insert=e.strstart<Qt-1?e.strstart:Qt-1,r===Ti?(mi(e,!0),e.strm.avail_out===0?zs:Qo):e.sym_next&&(mi(e,!1),e.strm.avail_out===0)?Hn:Jo},Ao=(e,r)=>{let t,n,i;for(;;){if(e.lookahead<ha){if(Xo(e),e.lookahead<ha&&r===os)return Hn;if(e.lookahead===0)break}if(t=0,e.lookahead>=Qt&&(t=Ws(e,e.strstart)),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=Qt-1,t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-ha&&(e.match_length=rp(e,t),e.match_length<=5&&(e.strategy===Ax||e.match_length===Qt&&e.strstart-e.match_start>4096)&&(e.match_length=Qt-1)),e.prev_length>=Qt&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-Qt,n=ss(e,e.strstart-1-e.prev_match,e.prev_length-Qt),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=i&&(t=Ws(e,e.strstart));while(--e.prev_length!==0);if(e.match_available=0,e.match_length=Qt-1,e.strstart++,n&&(mi(e,!1),e.strm.avail_out===0))return Hn}else if(e.match_available){if(n=ss(e,0,e.window[e.strstart-1]),n&&mi(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return Hn}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(n=ss(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<Qt-1?e.strstart:Qt-1,r===Ti?(mi(e,!0),e.strm.avail_out===0?zs:Qo):e.sym_next&&(mi(e,!1),e.strm.avail_out===0)?Hn:Jo},jx=(e,r)=>{let t,n,i,a;const s=e.window;for(;;){if(e.lookahead<=ns){if(Xo(e),e.lookahead<=ns&&r===os)return Hn;
vendor: 27,306 bytes, line 8
8if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=Qt&&e.strstart>0&&(i=e.strstart-1,n=s[i],n===s[++i]&&n===s[++i]&&n===s[++i])){a=e.strstart+ns;do;while(n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&n===s[++i]&&i<a);e.match_length=ns-(a-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=Qt?(t=ss(e,1,e.match_length-Qt),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(t=ss(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),t&&(mi(e,!1),e.strm.avail_out===0))return Hn}return e.insert=0,r===Ti?(mi(e,!0),e.strm.avail_out===0?zs:Qo):e.sym_next&&(mi(e,!1),e.strm.avail_out===0)?Hn:Jo},zx=(e,r)=>{let t;for(;;){if(e.lookahead===0&&(Xo(e),e.lookahead===0)){if(r===os)return Hn;break}if(e.match_length=0,t=ss(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,t&&(mi(e,!1),e.strm.avail_out===0))return Hn}return e.insert=0,r===Ti?(mi(e,!0),e.strm.avail_out===0?zs:Qo):e.sym_next&&(mi(e,!1),e.strm.avail_out===0)?Hn:Jo};function Qi(e,r,t,n,i){this.good_length=e,this.max_lazy=r,this.nice_length=t,this.max_chain=n,this.func=i}const C0=[new Qi(0,0,0,0,np),new Qi(4,4,8,4,$c),new Qi(4,5,16,8,$c),new Qi(4,6,32,32,$c),new Qi(4,4,16,16,Ao),new Qi(8,16,32,32,Ao),new Qi(8,16,128,128,Ao),new Qi(8,32,128,256,Ao),new Qi(32,128,258,1024,Ao),new Qi(32,258,258,4096,Ao)],Wx=e=>{e.window_size=2*e.w_size,rs(e.head),e.max_lazy_match=C0[e.level].max_lazy,e.good_match=C0[e.level].good_length,e.nice_match=C0[e.level].nice_length,e.max_chain_length=C0[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=Qt-1,e.match_available=0,e.ins_h=0};function Hx(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Hl,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.legacy_hash=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(Dx*2),this.dyn_dtree=new Uint16Array((2*Ix+1)*2),this.bl_tree=new Uint16Array((2*Ox+1)*2),rs(this.dyn_ltree),rs(this.dyn_dtree),rs(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(Rx+1),this.heap=new Uint16Array(2*Dh+1),rs(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Dh+1),rs(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const of=e=>{if(!e)return 1;const r=e.state;return!r||r.strm!==e||r.status!==$o&&r.status!==su&&r.status!==Rh&&r.status!==Bh&&r.status!==Mh&&r.status!==Uh&&r.status!==Rs&&r.status!==k0?1:0},ip=e=>{if(of(e))return Bs(e,ca);e.total_in=e.total_out=0,e.data_type=Nx;const r=e.state;return r.pending=0,r.pending_out=0,r.wrap<0&&(r.wrap=-r.wrap),r.status=r.wrap===2?su:r.wrap?$o:Rs,e.adler=r.wrap===2?0:1,r.last_flush=-2,gx(r),dn},ap=e=>{const r=ip(e);return r===dn&&Wx(e.state),r},qx=(e,r)=>of(e)||e.state.wrap!==2?ca:(e.state.gzhead=r,dn),sp=(e,r,t,n,i,a,s)=>{if(!e)return ca;let o=1;if(r===bx&&(r=6),n<0?(o=0,n=-n):n>15&&(o=2,n-=16),i<1||i>Fx||t!==Hl||n<8||n>15||r<0||r>9||a<0||a>Ex||n===8&&o!==1)return Bs(e,ca);n===8&&(n=9);const f=new Hx;return e.state=f,f.strm=e,f.status=$o,f.wrap=o,f.gzhead=null,f.w_bits=n,f.w_size=1<<f.w_bits,f.w_mask=f.w_size-1,f.legacy_hash=s?1:0,f.hash_bits=i+7,!f.legacy_hash&&f.hash_bits<15&&(f.hash_bits=15),f.hash_size=1<<f.hash_bits,f.hash_mask=f.hash_size-1,f.hash_shift=~~((f.hash_bits+Qt-1)/Qt),f.window=new Uint8Array(f.w_size*2),f.head=new Uint16Array(f.hash_size),f.prev=new Uint16Array(f.w_size),f.lit_bufsize=1<<i+6,f.pending_buf_size=f.lit_bufsize*4,f.pending_buf=new Uint8Array(f.pending_buf_size),f.sym_buf=f.lit_bufsize,f.sym_end=(f.lit_bufsize-1)*3,f.level=r,f.strategy=a,f.method=t,ap(e)},Gx=(e,r)=>sp(e,r,Hl,Lx,kx,Tx),Vx=(e,r)=>{if(of(e)||r>F1||r<0)return e?Bs(e,ca):ca;const t=e.state;if(!e.output||e.avail_in!==0&&!e.input||t.status===k0&&r!==Ti)return Bs(e,e.avail_out===0?Vc:ca);const n=t.last_flush;if(t.last_flush=r,t.pending!==0){if(li(e),e.avail_out===0)return t.last_flush=-1,dn}else if(e.avail_in===0&&k1(r)<=k1(n)&&r!==Ti)return Bs(e,Vc);if(t.status===k0&&e.avail_in!==0)return Bs(e,Vc);if(t.status===$o&&t.wrap===0&&(t.status=Rs),t.status===$o){let i=Hl+(t.w_bits-8<<4)<<8,a=-1;if(t.strategy>=Gf||t.level<2?a=0:t.level<6?a=1:t.level===6?a=2:a=3,i|=a<<6,t.strstart!==0&&(i|=Bx),i+=31-i%31,N0(t,i),t.strstart!==0&&(N0(t,e.adler>>>16),N0(t,e.adler&65535)),e.adler=1,t.status=Rs,li(e),t.pending!==0)return t.last_flush=-1,dn}if(t.status===su){if(e.adler=0,tr(t,31),tr(t,139),tr(t,8),t.gzhead)tr(t,(t.gzhead.text?1:0)+(t.gzhead.hcrc?2:0)+(t.gzhead.extra?4:0)+(t.gzhead.name?8:0)+(t.gzhead.comment?16:0)),tr(t,t.gzhead.time&255),tr(t,t.gzhead.time>>8&255),tr(t,t.gzhead.time>>16&255),tr(t,t.gzhead.time>>24&255),tr(t,t.level===9?2:t.strategy>=Gf||t.level<2?4:0),tr(t,t.gzhead.os&255),t.gzhead.extra&&t.gzhead.extra.length&&(tr(t,t.gzhead.extra.length&255),tr(t,t.gzhead.extra.length>>8&255)),t.gzhead.hcrc&&(e.adler=sn(e.adler,t.pending_buf,t.pending,0)),t.gzindex=0,t.status=Rh;else if(tr(t,0),tr(t,0),tr(t,0),tr(t,0),tr(t,0),tr(t,t.level===9?2:t.strategy>=Gf||t.level<2?4:0),tr(t,Mx),t.status=Rs,li(e),t.pending!==0)return t.last_flush=-1,dn}if(t.status===Rh){if(t.gzhead.extra){let i=t.pending,a=(t.gzhead.extra.length&65535)-t.gzindex;for(;t.pending+a>t.pending_buf_size;){let o=t.pending_buf_size-t.pending;if(t.pending_buf.set(t.gzhead.extra.subarray(t.gzindex,t.gzindex+o),t.pending),t.pending=t.pending_buf_size,t.gzhead.hcrc&&t.pending>i&&(e.adler=sn(e.adler,t.pending_buf,t.pending-i,i)),t.gzindex+=o,li(e),t.pending!==0)return t.last_flush=-1,dn;i=0,a-=o}let s=new Uint8Array(t.gzhead.extra);t.pending_buf.set(s.subarray(t.gzindex,t.gzindex+a),t.pending),t.pending+=a,t.gzhead.hcrc&&t.pending>i&&(e.adler=sn(e.adler,t.pending_buf,t.pending-i,i)),t.gzindex=0}t.status=Bh}if(t.status===Bh){if(t.gzhead.name){let i=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>i&&(e.adler=sn(e.adler,t.pending_buf,t.pending-i,i)),li(e),t.pending!==0)return t.last_flush=-1,dn;i=0}t.gzindex<t.gzhead.name.length?a=t.gzhead.name.charCodeAt(t.gzindex++)&255:a=0,tr(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>i&&(e.adler=sn(e.adler,t.pending_buf,t.pending-i,i)),t.gzindex=0}t.status=Mh}if(t.status===Mh){if(t.gzhead.comment){let i=t.pending,a;do{if(t.pending===t.pending_buf_size){if(t.gzhead.hcrc&&t.pending>i&&(e.adler=sn(e.adler,t.pending_buf,t.pending-i,i)),li(e),t.pending!==0)return t.last_flush=-1,dn;i=0}t.gzindex<t.gzhead.comment.length?a=t.gzhead.comment.charCodeAt(t.gzindex++)&255:a=0,tr(t,a)}while(a!==0);t.gzhead.hcrc&&t.pending>i&&(e.adler=sn(e.adler,t.pending_buf,t.pending-i,i))}t.status=Uh}if(t.status===Uh){if(t.gzhead.hcrc){if(t.pending+2>t.pending_buf_size&&(li(e),t.pending!==0))return t.last_flush=-1,dn;tr(t,e.adler&255),tr(t,e.adler>>8&255),e.adler=0}if(t.status=Rs,li(e),t.pending!==0)return t.last_flush=-1,dn}if(e.avail_in!==0||t.lookahead!==0||r!==os&&t.status!==k0){let i=t.level===0?np(t,r):t.strategy===Gf?zx(t,r):t.strategy===Sx?jx(t,r):C0[t.level].func(t,r);if((i===zs||i===Qo)&&(t.status=k0),i===Hn||i===zs)return e.avail_out===0&&(t.last_flush=-1),dn;if(i===Jo&&(r===_x?vx(t):r!==F1&&(Oh(t,0,0,!1),r===wx&&(rs(t.head),t.lookahead===0&&(t.strstart=0,t.block_start=0,t.insert=0))),li(e),e.avail_out===0))return t.last_flush=-1,dn}return r!==Ti?dn:t.wrap<=0?L1:(t.wrap===2?(tr(t,e.adler&255),tr(t,e.adler>>8&255),tr(t,e.adler>>16&255),tr(t,e.adler>>24&255),tr(t,e.total_in&255),tr(t,e.total_in>>8&255),tr(t,e.total_in>>16&255),tr(t,e.total_in>>24&255)):(N0(t,e.adler>>>16),N0(t,e.adler&65535)),li(e),t.wrap>0&&(t.wrap=-t.wrap),t.pending!==0?dn:L1)},$x=e=>{if(of(e))return ca;const r=e.state.status;return e.state=null,r===Rs?Bs(e,yx):dn},Xx=(e,r)=>{let t=r.length;if(of(e))return ca;const n=e.state,i=n.wrap;if(i===2||i===1&&n.status!==$o||n.lookahead)return ca;if(i===1&&(e.adler=$0(e.adler,r,t,0)),n.wrap=0,t>=n.w_size){i===0&&(rs(n.head),n.strstart=0,n.block_start=0,n.insert=0);let f=new Uint8Array(n.w_size);f.set(r.subarray(t-n.w_size,t),0),r=f,t=n.w_size}const a=e.avail_in,s=e.next_in,o=e.input;for(e.avail_in=t,e.next_in=0,e.input=r,Xo(n);n.lookahead>=Qt;){let f=n.strstart,l=n.lookahead-(Qt-1);do Ws(n,f),f++;while(--l);n.strstart=f,n.lookahead=Qt-1,Xo(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=Qt-1,n.match_available=0,e.next_in=s,e.input=o,e.avail_in=a,n.wrap=i,dn};var Yx=Gx,Kx=sp,Zx=ap,Jx=ip,Qx=qx,ev=Vx,tv=$x,rv=Xx,nv="pako deflate (from Nodeca project)",R0={deflateInit:Yx,deflateInit2:Kx,deflateReset:Zx,deflateResetKeep:Jx,deflateSetHeader:Qx,deflate:ev,deflateEnd:tv,deflateSetDictionary:rv,deflateInfo:nv};const iv=(e,r)=>Object.prototype.hasOwnProperty.call(e,r);var av=function(e){const r=Array.prototype.slice.call(arguments,1);for(;r.length;){const t=r.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const n in t)iv(t,n)&&(e[n]=t[n])}}return e},sv=e=>{let r=0;for(let n=0,i=e.length;n<i;n++)r+=e[n].length;const t=new Uint8Array(r);for(let n=0,i=0,a=e.length;n<a;n++){let s=e[n];t.set(s,i),i+=s.length}return t},ql={assign:av,flattenChunks:sv};let op=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{op=!1}const X0=new Uint8Array(256);for(let e=0;e<256;e++)X0[e]=e>=252?6:e>=248?5:e>=240?4:e>=224?3:e>=192?2:1;X0[254]=X0[255]=1;var ov=e=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(e);let r,t,n,i,a,s=e.length,o=0;for(i=0;i<s;i++)t=e.charCodeAt(i),(t&64512)===55296&&i+1<s&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),i++)),o+=t<128?1:t<2048?2:t<65536?3:4;for(r=new Uint8Array(o),a=0,i=0;a<o;i++)t=e.charCodeAt(i),(t&64512)===55296&&i+1<s&&(n=e.charCodeAt(i+1),(n&64512)===56320&&(t=65536+(t-55296<<10)+(n-56320),i++)),t<128?r[a++]=t:t<2048?(r[a++]=192|t>>>6,r[a++]=128|t&63):t<65536?(r[a++]=224|t>>>12,r[a++]=128|t>>>6&63,r[a++]=128|t&63):(r[a++]=240|t>>>18,r[a++]=128|t>>>12&63,r[a++]=128|t>>>6&63,r[a++]=128|t&63);return r};const fv=(e,r)=>{if(r<65534&&e.subarray&&op)return String.fromCharCode.apply(null,e.length===r?e:e.subarray(0,r));let t="";for(let n=0;n<r;n++)t+=String.fromCharCode(e[n]);return t};var lv=(e,r)=>{const t=r||e.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(e.subarray(0,r));let n,i;const a=new Array(t*2);for(i=0,n=0;n<t;){let s=e[n++];if(s<128){a[i++]=s;continue}let o=X0[s];if(o>4){a[i++]=65533,n+=o-1;continue}for(s&=o===2?31:o===3?15:7;o>1&&n<t;)s=s<<6|e[n++]&63,o--;if(o>1){a[i++]=65533;continue}s<65536?a[i++]=s:(s-=65536,a[i++]=55296|s>>10&1023,a[i++]=56320|s&1023)}return fv(a,i)},cv=(e,r)=>{r=r||e.length,r>e.length&&(r=e.length);let t=r-1;for(;t>=0&&(e[t]&192)===128;)t--;return t<0||t===0?r:t+X0[e[t]]>r?t:r},Y0={string2buf:ov,buf2string:lv,utf8border:cv};function hv(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var fp=hv;const lp=Object.prototype.toString,{Z_NO_FLUSH:uv,Z_SYNC_FLUSH:dv,Z_FULL_FLUSH:pv,Z_FINISH:mv,Z_OK:wl,Z_STREAM_END:gv,Z_DEFAULT_COMPRESSION:xv,Z_DEFAULT_STRATEGY:vv,Z_DEFLATED:_v}=sf,wv={level:xv,method:_v,chunkSize:16384,windowBits:15,memLevel:8,strategy:vv,legacyHash:!0};function fu(e){this.options=ql.assign({},wv,e||{});let r=this.options;r.raw&&r.windowBits>0?r.windowBits=-r.windowBits:r.gzip&&r.windowBits>0&&r.windowBits<16&&(r.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new fp,this.strm.avail_out=0;let t=R0.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy,r.legacyHash);if(t!==wl)throw new Error(Vo[t]);if(r.header&&R0.deflateSetHeader(this.strm,r.header),r.dictionary){let n;if(typeof r.dictionary=="string"?n=Y0.string2buf(r.dictionary):lp.call(r.dictionary)==="[object ArrayBuffer]"?n=new Uint8Array(r.dictionary):n=r.dictionary,t=R0.deflateSetDictionary(this.strm,n),t!==wl)throw new Error(Vo[t]);this._dict_set=!0}}fu.prototype.push=function(e,r){const t=this.strm,n=this.options.chunkSize;let i,a;if(this.ended)return!1;for(r===~~r?a=r:a=r===!0?mv:uv,typeof e=="string"?t.input=Y0.string2buf(e):lp.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){if(t.avail_out===0&&(t.output=new Uint8Array(n),t.next_out=0,t.avail_out=n),(a===dv||a===pv)&&t.avail_out<=6){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(i=R0.deflate(t,a),i===gv)return t.next_out>0&&this.onData(t.output.subarray(0,t.next_out)),i=R0.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===wl;if(t.avail_out===0){this.onData(t.output);continue}if(a>0&&t.next_out>0){this.onData(t.output.subarray(0,t.next_out)),t.avail_out=0;continue}if(t.avail_in===0)break}return!0};fu.prototype.onData=function(e){this.chunks.push(e)};fu.prototype.onEnd=function(e){e===wl&&(this.result=ql.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};const Vf=16209,yv=16191;var bv=function(r,t){let n,i,a,s,o,f,l,h,g,p,u,_,w,y,v,E,S,R,re,fe,O,B,T,Q;const A=r.state;n=r.next_in,T=r.input,i=n+(r.avail_in-5),a=r.next_out,Q=r.output,s=a-(t-r.avail_out),o=a+(r.avail_out-257),f=A.dmax,l=A.wsize,h=A.whave,g=A.wnext,p=A.window,u=A.hold,_=A.bits,w=A.lencode,y=A.distcode,v=(1<<A.lenbits)-1,E=(1<<A.distbits)-1;e:do{_<15&&(u+=T[n++]<<_,_+=8,u+=T[n++]<<_,_+=8),S=w[u&v];t:for(;;){if(R=S>>>24,u>>>=R,_-=R,R=S>>>16&255,R===0)Q[a++]=S&65535;else if(R&16){re=S&65535,R&=15,R&&(_<R&&(u+=T[n++]<<_,_+=8),re+=u&(1<<R)-1,u>>>=R,_-=R),_<15&&(u+=T[n++]<<_,_+=8,u+=T[n++]<<_,_+=8),S=y[u&E];r:for(;;){if(R=S>>>24,u>>>=R,_-=R,R=S>>>16&255,R&16){if(fe=S&65535,R&=15,_<R&&(u+=T[n++]<<_,_+=8,_<R&&(u+=T[n++]<<_,_+=8)),fe+=u&(1<<R)-1,fe>f){r.msg="invalid distance too far back",A.mode=Vf;break e}if(u>>>=R,_-=R,R=a-s,fe>R){if(R=fe-R,R>h&&A.sane){r.msg="invalid distance too far back",A.mode=Vf;break e}if(O=0,B=p,g===0){if(O+=l-R,R<re){re-=R;do Q[a++]=p[O++];while(--R);O=a-fe,B=Q}}else if(g<R){if(O+=l+g-R,R-=g,R<re){re-=R;do Q[a++]=p[O++];while(--R);if(O=0,g<re){R=g,re-=R;do Q[a++]=p[O++];while(--R);O=a-fe,B=Q}}}else if(O+=g-R,R<re){re-=R;do Q[a++]=p[O++];while(--R);O=a-fe,B=Q}for(;re>2;)Q[a++]=B[O++],Q[a++]=B[O++],Q[a++]=B[O++],re-=3;re&&(Q[a++]=B[O++],re>1&&(Q[a++]=B[O++]))}else{O=a-fe;do Q[a++]=Q[O++],Q[a++]=Q[O++],Q[a++]=Q[O++],re-=3;while(re>2);re&&(Q[a++]=Q[O++],re>1&&(Q[a++]=Q[O++]))}}else if(R&64){r.msg="invalid distance code",A.mode=Vf;break e}else{S=y[(S&65535)+(u&(1<<R)-1)];continue r}break}}else if(R&64)if(R&32){A.mode=yv;break e}else{r.msg="invalid literal/length code",A.mode=Vf;break e}else{S=w[(S&65535)+(u&(1<<R)-1)];continue t}break}}while(n<i&&a<o);re=_>>3,n-=re,_-=re<<3,u&=(1<<_)-1,r.next_in=n,r.next_out=a,r.avail_in=n<i?5+(i-n):5-(n-i),r.avail_out=a<o?257+(o-a):257-(a-o),A.hold=u,A.bits=_};const So=15,C1=852,P1=592,I1=0,Xc=1,O1=2,Av=new Uint16Array([3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0]),Sv=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,199,75]),Ev=new Uint16Array([1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0]),Tv=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]),Nv=(e,r,t,n,i,a,s,o)=>{const f=o.bits;let l=0,h=0,g=0,p=0,u=0,_=0,w=0,y=0,v=0,E=0,S,R,re,fe,O,B=null,T;const Q=new Uint16Array(So+1),A=new Uint16Array(So+1);let P=null,j,ie,he;for(l=0;l<=So;l++)Q[l]=0;for(h=0;h<n;h++)Q[r[t+h]]++;for(u=f,p=So;p>=1&&Q[p]===0;p--);if(u>p&&(u=p),p===0)return i[a++]=1<<24|64<<16|0,i[a++]=1<<24|64<<16|0,o.bits=1,0;for(g=1;g<p&&Q[g]===0;g++);for(u<g&&(u=g),y=1,l=1;l<=So;l++)if(y<<=1,y-=Q[l],y<0)return-1;if(y>0&&(e===I1||p!==1))return-1;for(A[1]=0,l=1;l<So;l++)A[l+1]=A[l]+Q[l];for(h=0;h<n;h++)r[t+h]!==0&&(s[A[r[t+h]]++]=h);if(e===I1?(B=P=s,T=20):e===Xc?(B=Av,P=Sv,T=257):(B=Ev,P=Tv,T=0),E=0,h=0,l=g,O=a,_=u,w=0,re=-1,v=1<<u,fe=v-1,e===Xc&&v>C1||e===O1&&v>P1)return 1;for(;;){j=l-w,s[h]+1<T?(ie=0,he=s[h]):s[h]>=T?(ie=P[s[h]-T],he=B[s[h]-T]):(ie=96,he=0),S=1<<l-w,R=1<<_,g=R;do R-=S,i[O+(E>>w)+R]=j<<24|ie<<16|he|0;while(R!==0);for(S=1<<l-1;E&S;)S>>=1;if(S!==0?(E&=S-1,E+=S):E=0,h++,--Q[l]===0){if(l===p)break;l=r[t+s[h]]}if(l>u&&(E&fe)!==re){for(w===0&&(w=u),O+=g,_=l-w,y=1<<_;_+w<p&&(y-=Q[_+w],!(y<=0));)_++,y<<=1;if(v+=1<<_,e===Xc&&v>C1||e===O1&&v>P1)return 1;re=E&fe,i[re]=u<<24|_<<16|O-a|0}}return E!==0&&(i[O+E]=l-w<<24|64<<16|0),o.bits=u,0};var B0=Nv;const Fv=0,cp=1,hp=2,{Z_FINISH:D1,Z_BLOCK:Lv,Z_TREES:$f,Z_OK:Hs,Z_STREAM_END:kv,Z_NEED_DICT:Cv,Z_STREAM_ERROR:Ni,Z_DATA_ERROR:up,Z_MEM_ERROR:dp,Z_BUF_ERROR:Pv,Z_DEFLATED:R1}=sf,Gl=16180,B1=16181,M1=16182,U1=16183,j1=16184,z1=16185,W1=16186,H1=16187,q1=16188,G1=16189,yl=16190,ka=16191,Yc=16192,V1=16193,Kc=16194,$1=16195,X1=16196,Y1=16197,K1=16198,Xf=16199,Yf=16200,Z1=16201,J1=16202,Q1=16203,e2=16204,t2=16205,Zc=16206,r2=16207,n2=16208,Tr=16209,pp=16210,mp=16211,Iv=852,Ov=592,Dv=15,Rv=Dv,i2=e=>(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24);function Bv(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const Ks=e=>{if(!e)return 1;const r=e.state;return!r||r.strm!==e||r.mode<Gl||r.mode>mp?1:0},gp=e=>{if(Ks(e))return Ni;const r=e.state;return e.total_in=e.total_out=r.total=0,e.msg="",r.wrap&&(e.adler=r.wrap&1),r.mode=Gl,r.last=0,r.havedict=0,r.flags=-1,r.dmax=32768,r.head=null,r.hold=0,r.bits=0,r.lencode=r.lendyn=new Int32Array(Iv),r.distcode=r.distdyn=new Int32Array(Ov),r.sane=1,r.back=-1,Hs},xp=e=>{if(Ks(e))return Ni;const r=e.state;return r.wsize=0,r.whave=0,r.wnext=0,gp(e)},vp=(e,r)=>{let t;if(Ks(e))return Ni;const n=e.state;return r<0?(t=0,r=-r):(t=(r>>4)+5,r<48&&(r&=15)),r&&(r<8||r>15)?Ni:(n.window!==null&&n.wbits!==r&&(n.window=null),n.wrap=t,n.wbits=r,xp(e))},_p=(e,r)=>{if(!e)return Ni;const t=new Bv;e.state=t,t.strm=e,t.window=null,t.mode=Gl;const n=vp(e,r);return n!==Hs&&(e.state=null),n},Mv=e=>_p(e,Rv);let a2=!0,Jc,Qc;const Uv=e=>{if(a2){Jc=new Int32Array(512),Qc=new Int32Array(32);let r=0;for(;r<144;)e.lens[r++]=8;for(;r<256;)e.lens[r++]=9;for(;r<280;)e.lens[r++]=7;for(;r<288;)e.lens[r++]=8;for(B0(cp,e.lens,0,288,Jc,0,e.work,{bits:9}),r=0;r<32;)e.lens[r++]=5;B0(hp,e.lens,0,32,Qc,0,e.work,{bits:5}),a2=!1}e.lencode=Jc,e.lenbits=9,e.distcode=Qc,e.distbits=5},wp=(e,r,t,n)=>{let i;const a=e.state;return a.window===null&&(a.window=new Uint8Array(1<<a.wbits)),a.wsize===0&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0),n>=a.wsize?(a.window.set(r.subarray(t-a.wsize,t),0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>n&&(i=n),a.window.set(r.subarray(t-n,t-n+i),a.wnext),n-=i,n?(a.window.set(r.subarray(t-n,t),0),a.wnext=n,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0},jv=(e,r)=>{let t,n,i,a,s,o,f,l,h,g,p,u,_,w,y=0,v,E,S,R,re,fe,O,B;const T=new Uint8Array(4);let Q,A;const P=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Ks(e)||!e.output||!e.input&&e.avail_in!==0)return Ni;t=e.state,t.mode===ka&&(t.mode=Yc),s=e.next_out,i=e.output,f=e.avail_out,a=e.next_in,n=e.input,o=e.avail_in,l=t.hold,h=t.bits,g=o,p=f,B=Hs;e:for(;;)switch(t.mode){case Gl:if(t.wrap===0){t.mode=Yc;break}for(;h<16;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}if(t.wrap&2&&l===35615){t.wbits===0&&(t.wbits=15),t.check=0,T[0]=l&255,T[1]=l>>>8&255,t.check=sn(t.check,T,2,0),l=0,h=0,t.mode=B1;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((l&255)<<8)+(l>>8))%31){e.msg="incorrect header check",t.mode=Tr;break}if((l&15)!==R1){e.msg="unknown compression method",t.mode=Tr;break}if(l>>>=4,h-=4,O=(l&15)+8,t.wbits===0&&(t.wbits=O),O>15||O>t.wbits){e.msg="invalid window size",t.mode=Tr;break}t.dmax=1<<t.wbits,t.flags=0,e.adler=t.check=1,t.mode=l&512?G1:ka,l=0,h=0;break;case B1:for(;h<16;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}if(t.flags=l,(t.flags&255)!==R1){e.msg="unknown compression method",t.mode=Tr;break}if(t.flags&57344){e.msg="unknown header flags set",t.mode=Tr;break}t.head&&(t.head.text=l>>8&1),t.flags&512&&t.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,t.check=sn(t.check,T,2,0)),l=0,h=0,t.mode=M1;case M1:for(;h<32;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}t.head&&(t.head.time=l),t.flags&512&&t.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,T[2]=l>>>16&255,T[3]=l>>>24&255,t.check=sn(t.check,T,4,0)),l=0,h=0,t.mode=U1;case U1:for(;h<16;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}t.head&&(t.head.xflags=l&255,t.head.os=l>>8),t.flags&512&&t.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,t.check=sn(t.check,T,2,0)),l=0,h=0,t.mode=j1;case j1:if(t.flags&1024){for(;h<16;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}t.length=l,t.head&&(t.head.extra_len=l),t.flags&512&&t.wrap&4&&(T[0]=l&255,T[1]=l>>>8&255,t.check=sn(t.check,T,2,0)),l=0,h=0}else t.head&&(t.head.extra=null);t.mode=z1;case z1:if(t.flags&1024&&(u=t.length,u>o&&(u=o),u&&(t.head&&(O=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(n.subarray(a,a+u),O)),t.flags&512&&t.wrap&4&&(t.check=sn(t.check,n,u,a)),o-=u,a+=u,t.length-=u),t.length))break e;t.length=0,t.mode=W1;case W1:if(t.flags&2048){if(o===0)break e;u=0;do O=n[a+u++],t.head&&O&&t.length<65536&&(t.head.name+=String.fromCharCode(O));while(O&&u<o);if(t.flags&512&&t.wrap&4&&(t.check=sn(t.check,n,u,a)),o-=u,a+=u,O)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=H1;case H1:if(t.flags&4096){if(o===0)break e;u=0;do O=n[a+u++],t.head&&O&&t.length<65536&&(t.head.comment+=String.fromCharCode(O));while(O&&u<o);if(t.flags&512&&t.wrap&4&&(t.check=sn(t.check,n,u,a)),o-=u,a+=u,O)break e}else t.head&&(t.head.comment=null);t.mode=q1;case q1:if(t.flags&512){for(;h<16;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}if(t.wrap&4&&l!==(t.check&65535)){e.msg="header crc mismatch",t.mode=Tr;break}l=0,h=0}t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),e.adler=t.check=0,t.mode=ka;break;case G1:for(;h<32;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}e.adler=t.check=i2(l),l=0,h=0,t.mode=yl;case yl:if(t.havedict===0)return e.next_out=s,e.avail_out=f,e.next_in=a,e.avail_in=o,t.hold=l,t.bits=h,Cv;e.adler=t.check=1,t.mode=ka;case ka:if(r===Lv||r===$f)break e;case Yc:if(t.last){l>>>=h&7,h-=h&7,t.mode=Zc;break}for(;h<3;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}switch(t.last=l&1,l>>>=1,h-=1,l&3){case 0:t.mode=V1;break;case 1:if(Uv(t),t.mode=Xf,r===$f){l>>>=2,h-=2;break e}break;case 2:t.mode=X1;break;case 3:e.msg="invalid block type",t.mode=Tr}l>>>=2,h-=2;break;case V1:for(l>>>=h&7,h-=h&7;h<32;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}if((l&65535)!==(l>>>16^65535)){e.msg="invalid stored block lengths",t.mode=Tr;break}if(t.length=l&65535,l=0,h=0,t.mode=Kc,r===$f)break e;case Kc:t.mode=$1;case $1:if(u=t.length,u){if(u>o&&(u=o),u>f&&(u=f),u===0)break e;i.set(n.subarray(a,a+u),s),o-=u,a+=u,f-=u,s+=u,t.length-=u;break}t.mode=ka;break;case X1:for(;h<14;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}if(t.nlen=(l&31)+257,l>>>=5,h-=5,t.ndist=(l&31)+1,l>>>=5,h-=5,t.ncode=(l&15)+4,l>>>=4,h-=4,t.nlen>286||t.ndist>30){e.msg="too many length or distance symbols",t.mode=Tr;break}t.have=0,t.mode=Y1;case Y1:for(;t.have<t.ncode;){for(;h<3;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}t.lens[P[t.have++]]=l&7,l>>>=3,h-=3}for(;t.have<19;)t.lens[P[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,Q={bits:t.lenbits},B=B0(Fv,t.lens,0,19,t.lencode,0,t.work,Q),t.lenbits=Q.bits,B){e.msg="invalid code lengths set",t.mode=Tr;break}t.have=0,t.mode=K1;case K1:for(;t.have<t.nlen+t.ndist;){for(;y=t.lencode[l&(1<<t.lenbits)-1],v=y>>>24,E=y>>>16&255,S=y&65535,!(v<=h);){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}if(S<16)l>>>=v,h-=v,t.lens[t.have++]=S;else{if(S===16){for(A=v+2;h<A;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}if(l>>>=v,h-=v,t.have===0){e.msg="invalid bit length repeat",t.mode=Tr;break}O=t.lens[t.have-1],u=3+(l&3),l>>>=2,h-=2}else if(S===17){for(A=v+3;h<A;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}l>>>=v,h-=v,O=0,u=3+(l&7),l>>>=3,h-=3}else{for(A=v+7;h<A;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}l>>>=v,h-=v,O=0,u=11+(l&127),l>>>=7,h-=7}if(t.have+u>t.nlen+t.ndist){e.msg="invalid bit length repeat",t.mode=Tr;break}for(;u--;)t.lens[t.have++]=O}}if(t.mode===Tr)break;if(t.lens[256]===0){e.msg="invalid code -- missing end-of-block",t.mode=Tr;break}if(t.lenbits=9,Q={bits:t.lenbits},B=B0(cp,t.lens,0,t.nlen,t.lencode,0,t.work,Q),t.lenbits=Q.bits,B){e.msg="invalid literal/lengths set",t.mode=Tr;break}if(t.distbits=6,t.distcode=t.distdyn,Q={bits:t.distbits},B=B0(hp,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,Q),t.distbits=Q.bits,B){e.msg="invalid distances set",t.mode=Tr;break}if(t.mode=Xf,r===$f)break e;case Xf:t.mode=Yf;case Yf:if(o>=6&&f>=258){e.next_out=s,e.avail_out=f,e.next_in=a,e.avail_in=o,t.hold=l,t.bits=h,bv(e,p),s=e.next_out,i=e.output,f=e.avail_out,a=e.next_in,n=e.input,o=e.avail_in,l=t.hold,h=t.bits,t.mode===ka&&(t.back=-1);break}for(t.back=0;y=t.lencode[l&(1<<t.lenbits)-1],v=y>>>24,E=y>>>16&255,S=y&65535,!(v<=h);){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}if(E&&!(E&240)){for(R=v,re=E,fe=S;y=t.lencode[fe+((l&(1<<R+re)-1)>>R)],v=y>>>24,E=y>>>16&255,S=y&65535,!(R+v<=h);){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}l>>>=R,h-=R,t.back+=R}if(l>>>=v,h-=v,t.back+=v,t.length=S,E===0){t.mode=t2;break}if(E&32){t.back=-1,t.mode=ka;break}if(E&64){e.msg="invalid literal/length code",t.mode=Tr;break}t.extra=E&15,t.mode=Z1;case Z1:if(t.extra){for(A=t.extra;h<A;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}t.length+=l&(1<<t.extra)-1,l>>>=t.extra,h-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=J1;case J1:for(;y=t.distcode[l&(1<<t.distbits)-1],v=y>>>24,E=y>>>16&255,S=y&65535,!(v<=h);){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}if(!(E&240)){for(R=v,re=E,fe=S;y=t.distcode[fe+((l&(1<<R+re)-1)>>R)],v=y>>>24,E=y>>>16&255,S=y&65535,!(R+v<=h);){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}l>>>=R,h-=R,t.back+=R}if(l>>>=v,h-=v,t.back+=v,E&64){e.msg="invalid distance code",t.mode=Tr;break}t.offset=S,t.extra=E&15,t.mode=Q1;case Q1:if(t.extra){for(A=t.extra;h<A;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}t.offset+=l&(1<<t.extra)-1,l>>>=t.extra,h-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){e.msg="invalid distance too far back",t.mode=Tr;break}t.mode=e2;case e2:if(f===0)break e;if(u=p-f,t.offset>u){if(u=t.offset-u,u>t.whave&&t.sane){e.msg="invalid distance too far back",t.mode=Tr;break}u>
vendor: 13,583 bytes, line 8
8t.wnext?(u-=t.wnext,_=t.wsize-u):_=t.wnext-u,u>t.length&&(u=t.length),w=t.window}else w=i,_=s-t.offset,u=t.length;u>f&&(u=f),f-=u,t.length-=u;do i[s++]=w[_++];while(--u);t.length===0&&(t.mode=Yf);break;case t2:if(f===0)break e;i[s++]=t.length,f--,t.mode=Yf;break;case Zc:if(t.wrap){for(;h<32;){if(o===0)break e;o--,l|=n[a++]<<h,h+=8}if(p-=f,e.total_out+=p,t.total+=p,t.wrap&4&&p&&(e.adler=t.check=t.flags?sn(t.check,i,p,s-p):$0(t.check,i,p,s-p)),p=f,t.wrap&4&&(t.flags?l:i2(l))!==t.check){e.msg="incorrect data check",t.mode=Tr;break}l=0,h=0}t.mode=r2;case r2:if(t.wrap&&t.flags){for(;h<32;){if(o===0)break e;o--,l+=n[a++]<<h,h+=8}if(t.wrap&4&&l!==(t.total&4294967295)){e.msg="incorrect length check",t.mode=Tr;break}l=0,h=0}t.mode=n2;case n2:B=kv;break e;case Tr:B=up;break e;case pp:return dp;case mp:default:return Ni}return e.next_out=s,e.avail_out=f,e.next_in=a,e.avail_in=o,t.hold=l,t.bits=h,(t.wsize||p!==e.avail_out&&t.mode<Tr&&(t.mode<Zc||r!==D1))&&wp(e,e.output,e.next_out,p-e.avail_out),g-=e.avail_in,p-=e.avail_out,e.total_in+=g,e.total_out+=p,t.total+=p,t.wrap&4&&p&&(e.adler=t.check=t.flags?sn(t.check,i,p,e.next_out-p):$0(t.check,i,p,e.next_out-p)),e.data_type=t.bits+(t.last?64:0)+(t.mode===ka?128:0)+(t.mode===Xf||t.mode===Kc?256:0),(g===0&&p===0||r===D1)&&B===Hs&&(B=Pv),B},zv=e=>{if(Ks(e))return Ni;let r=e.state;return r.window&&(r.window=null),e.state=null,Hs},Wv=(e,r)=>{if(Ks(e))return Ni;const t=e.state;return t.wrap&2?(t.head=r,r.done=!1,Hs):Ni},Hv=(e,r)=>{const t=r.length;let n,i,a;return Ks(e)||(n=e.state,n.wrap!==0&&n.mode!==yl)?Ni:n.mode===yl&&(i=1,i=$0(i,r,t,0),i!==n.check)?up:(a=wp(e,r,t,t),a?(n.mode=pp,dp):(n.havedict=1,Hs))};var qv=xp,Gv=vp,Vv=gp,$v=Mv,Xv=_p,Yv=jv,Kv=zv,Zv=Wv,Jv=Hv,Qv="pako inflate (from Nodeca project)",ia={inflateReset:qv,inflateReset2:Gv,inflateResetKeep:Vv,inflateInit:$v,inflateInit2:Xv,inflate:Yv,inflateEnd:Kv,inflateGetHeader:Zv,inflateSetDictionary:Jv,inflateInfo:Qv};function e_(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var t_=e_;const yp=Object.prototype.toString,{Z_NO_FLUSH:r_,Z_FINISH:s2,Z_OK:Oo,Z_STREAM_END:eh,Z_NEED_DICT:th,Z_STREAM_ERROR:n_,Z_DATA_ERROR:o2,Z_MEM_ERROR:i_,Z_BUF_ERROR:f2}=sf,a_={chunkSize:1024*64,windowBits:15,to:""};function ff(e){this.options=ql.assign({},a_,e||{});const r=this.options;r.raw&&r.windowBits>=0&&r.windowBits<16&&(r.windowBits=-r.windowBits,r.windowBits===0&&(r.windowBits=-15)),r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)&&(r.windowBits+=32),r.windowBits>15&&r.windowBits<48&&(r.windowBits&15||(r.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new fp,this.strm.avail_out=0;let t=ia.inflateInit2(this.strm,r.windowBits);if(t!==Oo)throw new Error(Vo[t]);if(this.header=new t_,ia.inflateGetHeader(this.strm,this.header),r.dictionary&&(typeof r.dictionary=="string"?r.dictionary=Y0.string2buf(r.dictionary):yp.call(r.dictionary)==="[object ArrayBuffer]"&&(r.dictionary=new Uint8Array(r.dictionary)),r.raw&&(t=ia.inflateSetDictionary(this.strm,r.dictionary),t!==Oo)))throw new Error(Vo[t])}ff.prototype.push=function(e,r){const t=this.strm,n=this.options.chunkSize,i=this.options.dictionary;let a,s,o;if(this.ended)return!1;for(r===~~r?s=r:s=r===!0?s2:r_,yp.call(e)==="[object ArrayBuffer]"?t.input=new Uint8Array(e):t.input=e,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(n),t.next_out=0,t.avail_out=n),a=ia.inflate(t,s),a===th&&i&&(a=ia.inflateSetDictionary(t,i),a===Oo?a=ia.inflate(t,s):a===o2&&(a=th));t.avail_in>0&&a===eh&&t.state.wrap&2&&t.state.flags!==0&&t.input[t.next_in]!==0;)ia.inflateReset(t),a=ia.inflate(t,s);switch(a){case n_:case o2:case th:case i_:return this.onEnd(a),this.ended=!0,!1}if(o=t.avail_out,t.next_out&&(t.avail_out===0||a===eh||s>0))if(this.options.to==="string"){let f=Y0.utf8border(t.output,t.next_out),l=t.next_out-f,h=Y0.buf2string(t.output,f);t.next_out=l,t.avail_out=n-l,l&&t.output.set(t.output.subarray(f,f+l),0),this.onData(h)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out)),t.avail_out=0,t.next_out=0;if(!((a===Oo||a===f2)&&o===0)){if(a===eh)return a=ia.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(t.avail_in===0){if(s===s2)return a=ia.inflateEnd(this.strm),this.onEnd(a===Oo?f2:a),this.ended=!0,!1;break}}}return!0};ff.prototype.onData=function(e){this.chunks.push(e)};ff.prototype.onEnd=function(e){e===Oo&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=ql.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg};function lu(e,r){const t=new ff(r);if(t.push(e,!0),t.err)throw t.msg||Vo[t.err];return t.result}function s_(e,r){return r=r||{},r.raw=!0,lu(e,r)}var o_=ff,f_=lu,l_=s_,c_=lu,h_=sf,u_={Inflate:o_,inflate:f_,inflateRaw:l_,ungzip:c_,constants:h_};const{Inflate:d_,inflate:p_,inflateRaw:aE,ungzip:sE}=u_;var l2=d_,m_=p_;const bp=[];for(let e=0;e<256;e++){let r=e;for(let t=0;t<8;t++)r&1?r=3988292384^r>>>1:r=r>>>1;bp[e]=r}const c2=4294967295;function g_(e,r,t){let n=e;for(let i=0;i<t;i++)n=bp[(n^r[i])&255]^n>>>8;return n}function x_(e,r){return(g_(c2,e,r)^c2)>>>0}function h2(e,r,t){const n=e.readUint32(),i=x_(new Uint8Array(e.buffer,e.byteOffset+e.offset-r-4,r),r);if(i!==n)throw new Error(`CRC mismatch for chunk ${t}. Expected ${n}, found ${i}`)}function Ap(e,r,t){for(let n=0;n<t;n++)r[n]=e[n]}function Sp(e,r,t,n){let i=0;for(;i<n;i++)r[i]=e[i];for(;i<t;i++)r[i]=e[i]+r[i-n]&255}function Ep(e,r,t,n){let i=0;if(t.length===0)for(;i<n;i++)r[i]=e[i];else for(;i<n;i++)r[i]=e[i]+t[i]&255}function Tp(e,r,t,n,i){let a=0;if(t.length===0){for(;a<i;a++)r[a]=e[a];for(;a<n;a++)r[a]=e[a]+(r[a-i]>>1)&255}else{for(;a<i;a++)r[a]=e[a]+(t[a]>>1)&255;for(;a<n;a++)r[a]=e[a]+(r[a-i]+t[a]>>1)&255}}function Np(e,r,t,n,i){let a=0;if(t.length===0){for(;a<i;a++)r[a]=e[a];for(;a<n;a++)r[a]=e[a]+r[a-i]&255}else{for(;a<i;a++)r[a]=e[a]+t[a]&255;for(;a<n;a++)r[a]=e[a]+v_(r[a-i],t[a],t[a-i])&255}}function v_(e,r,t){const n=e+r-t,i=Math.abs(n-e),a=Math.abs(n-r),s=Math.abs(n-t);return i<=a&&i<=s?e:a<=s?r:t}function __(e,r,t,n,i,a){switch(e){case 0:Ap(r,t,i);break;case 1:Sp(r,t,i,a);break;case 2:Ep(r,t,n,i);break;case 3:Tp(r,t,n,i,a);break;case 4:Np(r,t,n,i,a);break;default:throw new Error(`Unsupported filter: ${e}`)}}const w_=new Uint16Array([255]),y_=new Uint8Array(w_.buffer),b_=y_[0]===255;function A_(e){const{data:r,width:t,height:n,channels:i,depth:a}=e,s=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],o=Math.ceil(a/8)*i,f=new Uint8Array(n*t*o);let l=0;for(let h=0;h<7;h++){const g=s[h],p=Math.ceil((t-g.x)/g.xStep),u=Math.ceil((n-g.y)/g.yStep);if(p<=0||u<=0)continue;const _=p*o,w=new Uint8Array(_);for(let y=0;y<u;y++){const v=r[l++],E=r.subarray(l,l+_);l+=_;const S=new Uint8Array(_);__(v,E,S,w,_,o),w.set(S);for(let R=0;R<p;R++){const re=g.x+R*g.xStep,fe=g.y+y*g.yStep;if(!(re>=t||fe>=n))for(let O=0;O<o;O++)f[(fe*t+re)*o+O]=S[R*o+O]}}}if(a===16){const h=new Uint16Array(f.buffer);if(b_)for(let g=0;g<h.length;g++)h[g]=S_(h[g]);return h}else return f}function S_(e){return(e&255)<<8|e>>8&255}const E_=new Uint16Array([255]),T_=new Uint8Array(E_.buffer),N_=T_[0]===255,F_=new Uint8Array(0);function u2(e){const{data:r,width:t,height:n,channels:i,depth:a}=e,s=Math.ceil(a/8)*i,o=Math.ceil(a/8*i*t),f=new Uint8Array(n*o);let l=F_,h=0,g,p;for(let u=0;u<n;u++){switch(g=r.subarray(h+1,h+1+o),p=f.subarray(u*o,(u+1)*o),r[h]){case 0:Ap(g,p,o);break;case 1:Sp(g,p,o,s);break;case 2:Ep(g,p,l,o);break;case 3:Tp(g,p,l,o,s);break;case 4:Np(g,p,l,o,s);break;default:throw new Error(`Unsupported filter: ${r[h]}`)}l=p,h+=o+1}if(a===16){const u=new Uint16Array(f.buffer);if(N_)for(let _=0;_<u.length;_++)u[_]=L_(u[_]);return u}else return f}function L_(e){return(e&255)<<8|e>>8&255}const hl=Uint8Array.of(137,80,78,71,13,10,26,10);function d2(e){if(!k_(e.readBytes(hl.length)))throw new Error("wrong PNG signature")}function k_(e){if(e.length<hl.length)return!1;for(let r=0;r<hl.length;r++)if(e[r]!==hl[r])return!1;return!0}const C_="tEXt",P_=0,Fp=new TextDecoder("latin1");function I_(e){if(D_(e),e.length===0||e.length>79)throw new Error("keyword length must be between 1 and 79")}const O_=/^[\u0000-\u00FF]*$/;function D_(e){if(!O_.test(e))throw new Error("invalid latin1 text")}function R_(e,r,t){const n=Lp(r);e[n]=B_(r,t-n.length-1)}function Lp(e){for(e.mark();e.readByte()!==P_;);const r=e.offset;e.reset();const t=Fp.decode(e.readBytes(r-e.offset-1));return e.skip(1),I_(t),t}function B_(e,r){return Fp.decode(e.readBytes(r))}const oi={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},rh={UNKNOWN:-1,DEFLATE:0},p2={UNKNOWN:-1,ADAPTIVE:0},nh={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Kf={NONE:0,BACKGROUND:1,PREVIOUS:2},ih={SOURCE:0,OVER:1};class M_ extends tu{constructor(t,n={}){super(t);or(this,"_checkCrc");or(this,"_inflator");or(this,"_png");or(this,"_apng");or(this,"_end");or(this,"_hasPalette");or(this,"_palette");or(this,"_hasTransparency");or(this,"_transparency");or(this,"_compressionMethod");or(this,"_filterMethod");or(this,"_interlaceMethod");or(this,"_colorType");or(this,"_isAnimated");or(this,"_numberOfFrames");or(this,"_numberOfPlays");or(this,"_frames");or(this,"_writingDataChunks");const{checkCrc:i=!1}=n;this._checkCrc=i,this._inflator=new l2,this._png={width:-1,height:-1,channels:-1,data:new Uint8Array(0),depth:1,text:{}},this._apng={width:-1,height:-1,channels:-1,depth:1,numberOfFrames:1,numberOfPlays:0,text:{},frames:[]},this._end=!1,this._hasPalette=!1,this._palette=[],this._hasTransparency=!1,this._transparency=new Uint16Array(0),this._compressionMethod=rh.UNKNOWN,this._filterMethod=p2.UNKNOWN,this._interlaceMethod=nh.UNKNOWN,this._colorType=oi.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(d2(this);!this._end;){const t=this.readUint32(),n=this.readChars(4);this.decodeChunk(t,n)}return this.decodeImage(),this._png}decodeApng(){for(d2(this);!this._end;){const t=this.readUint32(),n=this.readChars(4);this.decodeApngChunk(t,n)}return this.decodeApngImage(),this._apng}decodeChunk(t,n){const i=this.offset;switch(n){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(t);break;case"IDAT":this.decodeIDAT(t);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(t);break;case"iCCP":this.decodeiCCP(t);break;case C_:R_(this._png.text,this,t);break;case"pHYs":this.decodepHYs();break;default:this.skip(t);break}if(this.offset-i!==t)throw new Error(`Length mismatch while decoding chunk ${n}`);this._checkCrc?h2(this,t+4,n):this.skip(4)}decodeApngChunk(t,n){const i=this.offset;switch(n!=="fdAT"&&n!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),n){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(t);break;default:this.decodeChunk(t,n),this.offset=i+t;break}if(this.offset-i!==t)throw new Error(`Length mismatch while decoding chunk ${n}`);this._checkCrc?h2(this,t+4,n):this.skip(4)}decodeIHDR(){const t=this._png;t.width=this.readUint32(),t.height=this.readUint32(),t.depth=U_(this.readUint8());const n=this.readUint8();this._colorType=n;let i;switch(n){case oi.GREYSCALE:i=1;break;case oi.TRUECOLOUR:i=3;break;case oi.INDEXED_COLOUR:i=1;break;case oi.GREYSCALE_ALPHA:i=2;break;case oi.TRUECOLOUR_ALPHA:i=4;break;case oi.UNKNOWN:default:throw new Error(`Unknown color type: ${n}`)}if(this._png.channels=i,this._compressionMethod=this.readUint8(),this._compressionMethod!==rh.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const t={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(t)}decodePLTE(t){if(t%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${t}`);const n=t/3;this._hasPalette=!0;const i=[];this._palette=i;for(let a=0;a<n;a++)i.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(t){this._writingDataChunks=!0;const n=t,i=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,i,n)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodeFDAT(t){this._writingDataChunks=!0;let n=t,i=this.offset+this.byteOffset;if(i+=4,n-=4,this._inflator.push(new Uint8Array(this.buffer,i,n)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodetRNS(t){switch(this._colorType){case oi.GREYSCALE:case oi.TRUECOLOUR:{if(t%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${t}`);if(t/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${t/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(t/2);for(let n=0;n<t/2;n++)this._transparency[n]=this.readUint16();break}case oi.INDEXED_COLOUR:{if(t>this._palette.length)throw new Error(`tRNS chunk contains more alph
8a values than there are palette colors (${t} vs ${this._palette.length})`);let n=0;for(;n<t;n++){const i=this.readByte();this._palette[n].push(i)}for(;n<this._palette.length;n++)this._palette[n].push(255);break}case oi.UNKNOWN:case oi.GREYSCALE_ALPHA:case oi.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(t){const n=Lp(this),i=this.readUint8();if(i!==rh.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${i}`);const a=this.readBytes(t-n.length-2);this._png.iccEmbeddedProfile={name:n,profile:m_(a)}}decodepHYs(){const t=this.readUint32(),n=this.readUint32(),i=this.readByte();this._png.resolution={x:t,y:n,unit:i}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let t=0;t<this._numberOfFrames;t++){const n={sequenceNumber:this._frames[t].sequenceNumber,delayNumber:this._frames[t].delayNumber,delayDenominator:this._frames[t].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},i=this._frames.at(t);if(i){if(i.data=u2({data:i.data,width:i.width,height:i.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),t===0||i.xOffset===0&&i.yOffset===0&&i.width===this._png.width&&i.height===this._png.height)n.data=i.data;else{const a=this._apng.frames.at(t-1);this.disposeFrame(i,a,n),this.addFrameDataToCanvas(n,i)}this._apng.frames.push(n)}}return this._apng}disposeFrame(t,n,i){switch(t.disposeOp){case Kf.NONE:break;case Kf.BACKGROUND:for(let a=0;a<this._png.height;a++)for(let s=0;s<this._png.width;s++){const o=(a*t.width+s)*this._png.channels;for(let f=0;f<this._png.channels;f++)i.data[o+f]=0}break;case Kf.PREVIOUS:i.data.set(n.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(t,n){const i=1<<this._png.depth,a=(s,o)=>{const f=((s+n.yOffset)*this._png.width+n.xOffset+o)*this._png.channels,l=(s*n.width+o)*this._png.channels;return{index:f,frameIndex:l}};switch(n.blendOp){case ih.SOURCE:for(let s=0;s<n.height;s++)for(let o=0;o<n.width;o++){const{index:f,frameIndex:l}=a(s,o);for(let h=0;h<this._png.channels;h++)t.data[f+h]=n.data[l+h]}break;case ih.OVER:for(let s=0;s<n.height;s++)for(let o=0;o<n.width;o++){const{index:f,frameIndex:l}=a(s,o);for(let h=0;h<this._png.channels;h++){const g=n.data[l+this._png.channels-1]/i,p=h%(this._png.channels-1)===0?1:n.data[l+h],u=Math.floor(g*p+(1-g)*t.data[f+h]);t.data[f+h]+=u}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var n;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const t=this._isAnimated?((n=this._frames)==null?void 0:n.at(0)).data:this._inflator.result;if(this._filterMethod!==p2.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===nh.NO_INTERLACE)this._png.data=u2({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===nh.ADAM7)this._png.data=A_({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const t=this._inflator.result,n=this._frames.at(-1);n?n.data=t:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Kf.NONE,blendOp:ih.SOURCE,data:t}),this._inflator=new l2,this._writingDataChunks=!1}}function U_(e){if(e!==1&&e!==2&&e!==4&&e!==8&&e!==16)throw new Error(`invalid bit depth: ${e}`);return e}var m2;(function(e){e[e.UNKNOWN=0]="UNKNOWN",e[e.METRE=1]="METRE"})(m2||(m2={}));function j_(e,r){return new M_(e,r).decode()}var Dt=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function ah(){Dt.console&&typeof Dt.console.log=="function"&&Dt.console.log.apply(Dt.console,arguments)}var mr={log:ah,warn:function(e){Dt.console&&(typeof Dt.console.warn=="function"?Dt.console.warn.apply(Dt.console,arguments):ah.call(null,arguments))},error:function(e){Dt.console&&(typeof Dt.console.error=="function"?Dt.console.error.apply(Dt.console,arguments):ah(e))}};function sh(e,r,t){var n=new XMLHttpRequest;n.open("GET",e),n.responseType="blob",n.onload=function(){Ps(n.response,r,t)},n.onerror=function(){mr.error("could not download file")},n.send()}function g2(e){var r=new XMLHttpRequest;r.open("HEAD",e,!1);try{r.send()}catch{}return r.status>=200&&r.status<=299}function Zf(e){try{e.dispatchEvent(new MouseEvent("click"))}catch{var r=document.createEvent("MouseEvents");
vendor: 3,407 bytes, lines 8-13
8r.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),e.dispatchEvent(r)}}var Ps=Dt.saveAs||((typeof window>"u"?"undefined":lr(window))!=="object"||window!==Dt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(e,r,t){var n=Dt.URL||Dt.webkitURL,i=document.createElement("a");r=r||e.name||"download",i.download=r,i.rel="noopener",typeof e=="string"?(i.href=e,i.origin!==location.origin?g2(i.href)?sh(e,r,t):Zf(i,i.target="_blank"):Zf(i)):(i.href=n.createObjectURL(e),setTimeout(function(){n.revokeObjectURL(i.href)},4e4),setTimeout(function(){Zf(i)},0))}:"msSaveOrOpenBlob"in navigator?function(e,r,t){if(r=r||e.name||"download",typeof e=="string")if(g2(e))sh(e,r,t);else{var n=document.createElement("a");n.href=e,n.target="_blank",setTimeout(function(){Zf(n)})}else navigator.msSaveOrOpenBlob(function(i,a){return a===void 0?a={autoBom:!1}:lr(a)!=="object"&&(mr.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob(["\uFEFF",i],{type:i.type}):i}(e,t),r)}:function(e,r,t,n){if((n=n||open("","_blank"))&&(n.document.title=n.document.body.innerText="downloading..."),typeof e=="string")return sh(e,r,t);var i=e.type==="application/octet-stream",a=/constructor/i.test(Dt.HTMLElement)||Dt.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||i&&a)&&(typeof FileReader>"u"?"undefined":lr(FileReader))==="object"){var o=new FileReader;o.onloadend=function(){var h=o.result;h=s?h:h.replace(/^data:[^;]*;/,"data:attachment/file;"),n?n.location.href=h:location=h,n=null},o.readAsDataURL(e)}else{var f=Dt.URL||Dt.webkitURL,l=f.createObjectURL(e);n?n.location=l:location.href=l,n=null,setTimeout(function(){f.revokeObjectURL(l)},4e4)}});/**
9 * A class to parse color values
10 * @author Stoyan Stefanov <[email protected]>
11 * {@link   http://www.phpied.com/rgb-color-parser-in-javascript/}
12 * @license Use it if you like it
13 */function kp(e){var r;e=e||"",this.ok=!1,e.charAt(0)=="#"&&(e=e.substr(1,6)),e={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:"90ee9
130",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"}[e=(e=e.replace(/ /g,"")).toLowerCase()]||e;for(var t=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(o){return[parseInt(o[1]),parseInt(o[2]),parseInt(o[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(o){return[parseInt(o[1],16),parseInt(o[2],16),parseInt(o[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(o){return[parseInt(o[1]+o[1],16),parseInt(o[2]+o[2],16),parseInt(o[3]+o[3],16)]}}],n=0;n<t.length;n++){var i=t[n].re,a=t[n].process,s=i.exec(e);s&&(r=a(s),this.r=r[0],this.g=r[1],this.b=r[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?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 o=this.r.toString(16),f=this.g.toString(16),l=this.b.toString(16);return o.length==1&&(o="0"+o),f.length==1&&(f="0"+f),l.length==1&&(l="0"+l),"#"+o+f+l}}var ul=Dt.atob.bind(Dt),x2=Dt.btoa.bind(Dt);/**
14 * @license
15 * Joseph Myers does not specify a particular license for his work.
16 *
17 * Author: Joseph Myers
18 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
19 *
20 * Modified by: Owen Leong
21 */function oh(e,r){var t=e[0],n=e[1],i=e[2],a=e[3];t=Sn(t,n,i,a,r[0],7,-680876936),a=Sn(a,t,n,i,r[1],12,-389564586),i=Sn(i,a,t,n,r[2],17,606105819),n=Sn(n,i,a,t,r[3],22,-1044525330),t=Sn(t,n,i,a,r[4],7,-176418897),a=Sn(a,t,n,i,r[5],12,1200080426),i=Sn(i,a,t,n,r[6],17,-1473231341),n=Sn(n,i,a,t,r[7],22,-45705983),t=Sn(t,n,i,a,r[8],7,1770035416),a=Sn(a,t,n,i,r[9],12,-1958414417),i=Sn(i,a,t,n,r[10],17,-42063),n=Sn(n,i,a,t,r[11],22,-1990404162),t=Sn(t,n,i,a,r[12],7,1804603682),a=Sn(a,t,n,i,r[13],
vendor: 14,949 bytes, lines 21-38
2112,-40341101),i=Sn(i,a,t,n,r[14],17,-1502002290),t=En(t,n=Sn(n,i,a,t,r[15],22,1236535329),i,a,r[1],5,-165796510),a=En(a,t,n,i,r[6],9,-1069501632),i=En(i,a,t,n,r[11],14,643717713),n=En(n,i,a,t,r[0],20,-373897302),t=En(t,n,i,a,r[5],5,-701558691),a=En(a,t,n,i,r[10],9,38016083),i=En(i,a,t,n,r[15],14,-660478335),n=En(n,i,a,t,r[4],20,-405537848),t=En(t,n,i,a,r[9],5,568446438),a=En(a,t,n,i,r[14],9,-1019803690),i=En(i,a,t,n,r[3],14,-187363961),n=En(n,i,a,t,r[8],20,1163531501),t=En(t,n,i,a,r[13],5,-1444681467),a=En(a,t,n,i,r[2],9,-51403784),i=En(i,a,t,n,r[7],14,1735328473),t=Tn(t,n=En(n,i,a,t,r[12],20,-1926607734),i,a,r[5],4,-378558),a=Tn(a,t,n,i,r[8],11,-2022574463),i=Tn(i,a,t,n,r[11],16,1839030562),n=Tn(n,i,a,t,r[14],23,-35309556),t=Tn(t,n,i,a,r[1],4,-1530992060),a=Tn(a,t,n,i,r[4],11,1272893353),i=Tn(i,a,t,n,r[7],16,-155497632),n=Tn(n,i,a,t,r[10],23,-1094730640),t=Tn(t,n,i,a,r[13],4,681279174),a=Tn(a,t,n,i,r[0],11,-358537222),i=Tn(i,a,t,n,r[3],16,-722521979),n=Tn(n,i,a,t,r[6],23,76029189),t=Tn(t,n,i,a,r[9],4,-640364487),a=Tn(a,t,n,i,r[12],11,-421815835),i=Tn(i,a,t,n,r[15],16,530742520),t=Nn(t,n=Tn(n,i,a,t,r[2],23,-995338651),i,a,r[0],6,-198630844),a=Nn(a,t,n,i,r[7],10,1126891415),i=Nn(i,a,t,n,r[14],15,-1416354905),n=Nn(n,i,a,t,r[5],21,-57434055),t=Nn(t,n,i,a,r[12],6,1700485571),a=Nn(a,t,n,i,r[3],10,-1894986606),i=Nn(i,a,t,n,r[10],15,-1051523),n=Nn(n,i,a,t,r[1],21,-2054922799),t=Nn(t,n,i,a,r[8],6,1873313359),a=Nn(a,t,n,i,r[15],10,-30611744),i=Nn(i,a,t,n,r[6],15,-1560198380),n=Nn(n,i,a,t,r[13],21,1309151649),t=Nn(t,n,i,a,r[4],6,-145523070),a=Nn(a,t,n,i,r[11],10,-1120210379),i=Nn(i,a,t,n,r[2],15,718787259),n=Nn(n,i,a,t,r[9],21,-343485551),e[0]=is(t,e[0]),e[1]=is(n,e[1]),e[2]=is(i,e[2]),e[3]=is(a,e[3])}function Vl(e,r,t,n,i,a){return r=is(is(r,e),is(n,a)),is(r<<i|r>>>32-i,t)}function Sn(e,r,t,n,i,a,s){return Vl(r&t|~r&n,e,r,i,a,s)}function En(e,r,t,n,i,a,s){return Vl(r&n|t&~n,e,r,i,a,s)}function Tn(e,r,t,n,i,a,s){return Vl(r^t^n,e,r,i,a,s)}function Nn(e,r,t,n,i,a,s){return Vl(t^(r|~n),e,r,i,a,s)}function Cp(e){var r,t=e.length,n=[1732584193,-271733879,-1732584194,271733878];for(r=64;r<=e.length;r+=64)oh(n,z_(e.substring(r-64,r)));e=e.substring(r-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(r=0;r<e.length;r++)i[r>>2]|=e.charCodeAt(r)<<(r%4<<3);if(i[r>>2]|=128<<(r%4<<3),r>55)for(oh(n,i),r=0;r<16;r++)i[r]=0;return i[14]=8*t,oh(n,i),n}function z_(e){var r,t=[];for(r=0;r<64;r+=4)t[r>>2]=e.charCodeAt(r)+(e.charCodeAt(r+1)<<8)+(e.charCodeAt(r+2)<<16)+(e.charCodeAt(r+3)<<24);return t}var v2="0123456789abcdef".split("");function W_(e){for(var r="",t=0;t<4;t++)r+=v2[e>>8*t+4&15]+v2[e>>8*t&15];return r}function H_(e){return String.fromCharCode(255&e,(65280&e)>>8,(16711680&e)>>16,(4278190080&e)>>24)}function zh(e){return Cp(e).map(H_).join("")}var q_=function(e){for(var r=0;r<e.length;r++)e[r]=W_(e[r]);return e.join("")}(Cp("hello"))!="5d41402abc4b2a76b9719d911017c592";function is(e,r){if(q_){var t=(65535&e)+(65535&r);return(e>>16)+(r>>16)+(t>>16)<<16|65535&t}return e+r&4294967295}/**
22 * @license
23 * FPDF is released under a permissive license: there is no usage restriction.
24 * You may embed it freely in your application (commercial or not), with or
25 * without modifications.
26 *
27 * Reference: http://www.fpdf.org/en/script/script37.php
28 */function Wh(e,r){var t,n,i,a;if(e!==t){for(var s=(i=e,a=1+(256/e.length|0),new Array(a+1).join(i)),o=[],f=0;f<256;f++)o[f]=f;var l=0;for(f=0;f<256;f++){var h=o[f];l=(l+h+s.charCodeAt(f))%256,o[f]=o[l],o[l]=h}t=e,n=o}else o=n;var g=r.length,p=0,u=0,_="";for(f=0;f<g;f++)u=(u+(h=o[p=(p+1)%256]))%256,o[p]=o[u],o[u]=h,s=o[(o[p]+o[u])%256],_+=String.fromCharCode(r.charCodeAt(f)^s);return _}/**
29 * @license
30 * Licensed under the MIT License.
31 * http://opensource.org/licenses/mit-license
32 * Author: Owen Leong (@owenl131)
33 * Date: 15 Oct 2020
34 * References:
35 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
36 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
37 * http://www.fpdf.org/en/script/script37.php
38 */var _2={print:4,modify:8,copy:16,"annot-forms":32};function Lo(e,r,t,n){this.v=1,this.r=2;var i=192;e.forEach(function(o){if(_2.perm!==void 0)throw new Error("Invalid permission: "+o);i+=_2[o]}),this.padding="(¿N^NuŠAd\0NVÿú�\b..\0¶Ðh>€/\f©þdSiz";var a=(r+this.padding).substr(0,32),s=(t+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,s),this.P=-(1+(255^i)),this.encryptionKey=zh(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(n)).substr(0,5),this.U=Wh(this.encryptionKey,this.padding)}function ko(e){if(/[^\u0000-\u00ff]/.test(e))throw new Error("Invalid PDF Name Object: "+e+", Only accept ASCII characters.");for(var r="",t=e.length,n=0;n<t;n++){var i=e.charCodeAt(n);r+=i<33||i===35||i===37||i===40||i===41||i===47||i===60||i===62||i===91||i===93||i===123||i===125||i>126?"#"+("0"+i.toString(16)).slice(-2):e[n]}return r}function w2(e){if(lr(e)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var r={};this.subscribe=function(t,n,i){if(i=i||!1,typeof t!="string"||typeof n!="function"||typeof i!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");r.hasOwnProperty(t)||(r[t]={});var a=Math.random().toString(35);return r[t][a]=[n,!!i],a},this.unsubscribe=function(t){for(var n in r)if(r[n][t])return delete r[n][t],Object.keys(r[n]).length===0&&delete r[n],!0;return!1},this.publish=function(t){if(r.hasOwnProperty(t)){var n=Array.prototype.slice.call(arguments,1),i=[];for(var a in r[t]){var s=r[t][a];try{s[0].apply(e,n)}catch(o){Dt.console&&mr.error("jsPDF PubSub Error",o.message,o)}s[1]&&i.push(a)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return r}}function bl(e){if(!(this instanceof bl))return new bl(e);var r="opacity,stroke-opacity".split(",");for(var t in e)e.hasOwnProperty(t)&&r.indexOf(t)>=0&&(this[t]=e[t]);this.id="",this.objectNumber=-1}function Pp(e,r){this.gState=e,this.matrix=r,this.id="",this.objectNumber=-1}function Is(e,r,t,n,i){if(!(this instanceof Is))return new Is(e,r,t,n,i);this.type=e==="axial"?2:3,this.coords=r,this.colors=t,Pp.call(this,n,i)}function Po(e,r,t,n,i){if(!(this instanceof Po))return new Po(e,r,t,n,i);this.boundingBox=e,this.xStep=r,this.yStep=t,this.stream="",this.cloneIndex=0,Pp.call(this,n,i)}function At(e){var r,t=typeof arguments[0]=="string"?arguments[0]:"p",n=arguments[1],i=arguments[2],a=arguments[3],s=[],o=1,f=16,l="S",h=null;lr(e=e||{})==="object"&&(t=e.orientation,n=e.unit||n,i=e.format||i,a=e.compress||e.compressPdf||a,(h=e.encryption||null)!==null&&(h.userPassword=h.userPassword||"",h.ownerPassword=h.ownerPassword||"",h.userPermissions=h.userPermissions||[]),o=typeof e.userUnit=="number"?Math.abs(e.userUnit):1,e.precision!==void 0&&(r=e.precision),e.floatPrecision!==void 0&&(f=e.floatPrecision),l=e.defaultPathOperation||"S"),s=e.filters||(a===!0?["FlateEncode"]:s),n=n||"mm",t=(""+(t||"P")).toLowerCase();var g=e.putOnlyUsedFonts||!1,p={},u={internal:{},__private__:{}};u.__private__.PubSub=w2;var _="1.3",w=u.__private__.getPdfVersion=function(){return _};u.__private__.setPdfVersion=function(m){_=m};var y={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]};u.__private__.getPageFormats=function(){return y};var v=u.__private__.getPageFormat=function(m){return y[m]};i=i||"a4";var E="compat",S="advanced",R=E;function re(){this.saveGraphicsState(),M(new kt(Ct,0,0,-Ct,0,ms()*Ct).toString()+" cm"),this.setFontSize(this.getFontSize()/Ct),l="n",R=S}function fe(){this.restoreGraphicsState(),l="S",R=E}var O=u.__private__.combineFontStyleAndFontWeight=function(m,N){if(m=="bold"&&N=="normal"||m=="bold"&&N==400||m=="normal"&&N=="italic"||m=="bold"&&N=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return N&&(m=N==400||N==="normal"?m==="italic"?"italic":"normal":N!=700&&N!=="bold"||m!=="normal"?(N==700?"bold":N)+""+m:"bold"),m};u.advancedAPI=function(m){var N=R===E;return N&&re.call(this),typeof m!="function"||(m(this),N&&fe.call(this)),this},u.compatAPI=function(m){var N=R===S;return N&&fe.call(this),typeof m!="function"||(m(this),N&&re.call(this)),this},u.isAdvancedAPI=function(){return R===S};var B,T=function(m){if(R!==S)throw new Error(m+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},Q=u.roundToPrecision=u.__private__.roundToPrecision=function(m,N){var Y=r||N;if(isNaN(m)||isNaN(Y))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return m.toFixed(Y).replace(/0+$/,"")};B=u.hpf=u.__private__.hpf=typeof f=="number"?function(m){if(isNaN(m))throw new Error("Invalid argument passed to jsPDF.hpf");return Q(m,f)}:f==="smart"?function(m){if(isNaN(m))throw new Error("Invalid argument passed to jsPDF.hpf");return Q(m,m>-1&&m<1?16:5)}:function(m){if(isNaN(m))throw new Error("Invalid argument passed to jsPDF.hpf");return Q(m,16)};var A=u.f2=u.__private__.f2=function(m){if(isNaN(m))throw new Error("Invalid argument passed to jsPDF.f2");return Q(m,2)},P=u.__private__.f3=function(m){if(isNaN(m))throw new Error("Invalid argument passed to jsPDF.f3");return Q(m,3)},j=u.scale=u.__private__.scale=function(m){if(isNaN(m))throw new Error("Invalid argument passed to jsPDF.scale");return R===E?m*Ct:R===S?m:void 0},ie=function(m){return j(function(N){return R===E?ms()-N:R===S?N:void 0}(m))};u.__private__.setPrecision=u.setPrecision=function(m){typeof parseInt(m,10)=="number"&&(r=parseInt(m,10))};var he,Fe="00000000000000000000000000000000",xe=u.__private__.getFileId=function(){return Fe},ve=u.__private__.setFileId=function(m){return Fe=m!==void 0&&/^[a-fA-F0-9]{32}$/.test(m)?m.toUpperCase():Fe.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),h!==null&&(ln=new Lo(h.userPermissions,h.userPassword,h.ownerPassword,Fe)),Fe};u.setFileId=function(m){return ve(m),this},u.getFileId=function(){return xe()};var Le=u.__private__.convertDateToPDFDate=function(m){var N=m.getTimezoneOffset(),Y=N<0?"+":"-",le=Math.floor(Math.abs(N/60)),ge=Math.abs(N%60),Oe=[Y,te(le),"'",te(ge),"'"].join("");return["D:",m.getFullYear(),te(m.getMonth()+1),te(m.getDate()),te(m.getHours()),te(m.getMinutes()),te(m.getSeconds()),Oe].join("")},Ge=u.__private__.convertPDFDateToDate=function(m){var N=parseInt(m.substr(2,4),10),Y=parseInt(m.substr(6,2),10)-1,le=parseInt(m.substr(8,2),10),ge=parseInt(m.substr(10,2),10),Oe=parseInt(m.substr(12,2),10),We=parseInt(m.substr(14,2),10);return new Date(N,Y,le,ge,Oe,We,0)},Be=u.__private__.setCreationDate=function(m){var N;if(m===void 0&&(m=new Date),m instanceof Date)N=Le(m);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(m))throw new Error("Invalid argument passed to jsPDF.setCreationDate");N=m}return he=N},L=u.__private__.getCreationDate=function(m){var N=he;return m==="jsDate"&&(N=Ge(he)),N};u.setCreationDate=function(m){return Be(m),this},u.getCreationDate=function(m){return L(m)};var q,te=u.__private__.padd2=function(m){return("0"+parseInt(m)).slice(-2)},ae=u.__private__.padd2Hex=function(m){return("00"+(m=m.toString())).substr(m.length)},ce=0,de=[],k=[],X=0,z=[],G=[],me=!1,Ce=k;u.__private__.setCustomOutputDestination=function(m){me=!0,Ce=m};var Ie=function(m){me||(Ce=m)};u.__private__.resetCustomOutputDestination=function(){me=!1,Ce=k};var M=u.__private__.out=function(m){return m=m.toString(),X+=m.length+1,Ce.push(m),Ce},Ne=u.__private__.write=function(m){return M(arguments.length===1?m.toString():Array.prototype.join.call(arguments," "))},et=u.__private__.getArrayBuffer=function(m){for(var N=m.length,Y=new ArrayBuffer(N),le=new Uint8Array(Y);N--;)le[N]=m.charCodeAt(N);return Y},$e=[["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]];u.__private__.getStandardFonts=function(){return $e};var ke=e.fontSize||16;u.__private__.setFontSize=u.setFontSize=function(m){return ke=R===S?m/Ct:m,this};var it,tt=u.__private__.getFontSize=u.getFontSize=function(){return R===E?ke:ke*Ct},ft=e.R2L||!1;u.__private__.setR2L=u.setR2L=function(m){return ft=m,this},u.__private__.getR2L=u.getR2L=function(){return ft};var Ue,pt=u.__private__.setZoomMode=function(m){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(m))it=m;else if(isNaN(m)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(m)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+m+'" is not recognized.');it=m}else it=parseInt(m,10)};u.__private__.getZoomMode=function(){return it};var je,Tt=u.__private__.setPageMode=function(m){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(m)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+m+'" is not recognized.');Ue=m};u.__private__.getPageMode=function(){return Ue};var Pt=u.__private__.setLayoutMode=function(m){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(m)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+m+'" is not recognized.');je=m};u.__private__.getLayoutMode=function(){return je},u.__private__.setDisplayMode=u.setDisplayMode=function(m,N,Y){return pt(m),Pt(N),Tt(Y),this};var vt={title:"",subject:"",author:"",keywords:"",creator:""};u.__private__.getDocumentProperty=function(m){if(Object.keys(vt).indexOf(m)===-1)throw new Error("Invalid argument passed to 
38jsPDF.getDocumentProperty");return vt[m]},u.__private__.getDocumentProperties=function(){return vt},u.__private__.setDocumentProperties=u.setProperties=u.setDocumentProperties=function(m){for(var N in vt)vt.hasOwnProperty(N)&&m[N]&&(vt[N]=m[N]);return this},u.__private__.setDocumentProperty=function(m,N){if(Object.keys(vt).indexOf(m)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return vt[m]=N};var ct,Ct,se,Ye,st,lt={},qe={},St=[],nt={},Nt={},ht={},Ft={},Gt=null,Wt=0,Et=[],Jt=new w2(u),ma=e.hotfixes||[],an={},Li={},xi=[],kt=function m(N,Y,le,ge,Oe,We){if(!(this instanceof m))return new m(N,Y,le,ge,Oe,We);isNaN(N)&&(N=1),isNaN(Y)&&(Y=0),isNaN(le)&&(le=0),isNaN(ge)&&(ge=1),isNaN(Oe)&&(Oe=0),isNaN(We)&&(We=0),this._matrix=[N,Y,le,ge,Oe,We]};Object.defineProperty(kt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(m){this._matrix[0]=m}}),Object.defineProperty(kt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(m){this._matrix[1]=m}}),Object.defineProperty(kt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(m){this._matrix[2]=m}}),Object.defineProperty(kt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(m){this._matrix[3]=m}}),Object.defineProperty(kt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(m){this._matrix[4]=m}}),Object.defineProperty(kt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(m){this._matrix[5]=m}}),Object.defineProperty(kt.prototype,"a",{get:function(){return this._matrix[0]},set:function(m){this._matrix[0]=m}}),Object.defineProperty(kt.prototype,"b",{get:function(){return this._matrix[1]},set:function(m){this._matrix[1]=m}}),Object.defineProperty(kt.prototype,"c",{get:function(){return this._matrix[2]},set:function(m){this._matrix[2]=m}}),Object.defineProperty(kt.prototype,"d",{get:function(){return this._matrix[3]},set:function(m){this._matrix[3]=m}}),Object.defineProperty(kt.prototype,"e",{get:function(){return this._matrix[4]},set:function(m){this._matrix[4]=m}}),Object.defineProperty(kt.prototype,"f",{get:function(){return this._matrix[5]},set:function(m){this._matrix[5]=m}}),Object.defineProperty(kt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(kt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(kt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(kt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),kt.prototype.join=function(m){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(B).join(m)},kt.prototype.multiply=function(m){var N=m.sx*this.sx+m.shy*this.shx,Y=m.sx*this.shy+m.shy*this.sy,le=m.shx*this.sx+m.sy*this.shx,ge=m.shx*this.shy+m.sy*this.sy,Oe=m.tx*this.sx+m.ty*this.shx+this.tx,We=m.tx*this.shy+m.ty*this.sy+this.ty;return new kt(N,Y,le,ge,Oe,We)},kt.prototype.decompose=function(){var m=this.sx,N=this.shy,Y=this.shx,le=this.sy,ge=this.tx,Oe=this.ty,We=Math.sqrt(m*m+N*N),gt=(m/=We)*Y+(N/=We)*le;Y-=m*gt,le-=N*gt;var mt=Math.sqrt(Y*Y+le*le);return gt/=mt,m*(le/=mt)<N*(Y/=mt)&&(m=-m,N=-N,gt=-gt,We=-We),{scale:new kt(We,0,0,mt,0,0),translate:new kt(1,0,0,1,ge,Oe),rotate:new kt(m,N,-N,m,0,0),skew:new kt(1,0,gt,1,0,0)}},kt.prototype.toString=function(m){return this.join(" ")},kt.prototype.inversed=function(){var m=this.sx,N=this.shy,Y=this.shx,le=this.sy,ge=this.tx,Oe=this.ty,We=1/(m*le-N*Y),gt=le*We,mt=-N*We,Rt=-Y*We,Mt=m*We;return new kt(gt,mt,Rt,Mt,-gt*ge-Rt*Oe,-mt*ge-Mt*Oe)},kt.prototype.applyToPoint=function(m){var N=m.x*this.sx+m.y*this.shx+this.tx,Y=m.x*this.shy+m.y*this.sy+this.ty;return new ps(N,Y)},kt.prototype.applyToRectangle=function(m){var N=this.applyToPoint(m),Y=this.applyToPoint(new ps(m.x+m.w,m.y+m.h));return new c0(N.x,N.y,Y.x-N.x,Y.y-N.y)},kt.prototype.clone=function(){var m=this.sx,N=this.shy,Y=this.shx,le=this.sy,ge=this.tx,Oe=this.ty;return new kt(m,N,Y,le,ge,Oe)},u.Matrix=kt;var ki=u.matrixMult=function(m,N){return N.multiply(m)},Ci=new kt(1,0,0,1,0,0);u.unitMatrix=u.identityMatrix=Ci;var vn=function(m,N){if(!Nt[m]){var Y=(N instanceof Is?"Sh":"P")+(Object.keys(nt).length+1).toString(10);N.id=Y,Nt[m]=Y,nt[Y]=N,Jt.publish("addPattern",N)}};u.ShadingPattern=Is,u.TilingPattern=Po,u.addShadingPattern=function(m,N){return T("addShadingPattern()"),vn(m,N),this},u.beginTilingPattern=function(m){T("beginTilingPattern()"),h0(m.boundingBox[0],m.boundingBox[1],m.boundingBox[2]-m.boundingBox[0],m.boundingBox[3]-m.boundingBox[1],m.matrix)},u.endTilingPattern=function(m,N){T("endTilingPattern()"),N.stream=G[q].join(`
39`),vn(m,N),Jt.publish("endTilingPattern",N),xi.pop().restore()};var Vn,Er=u.__private__.newObject=function(){var m=Wr();return C(m,!0),m},Wr=u.__private__.newObjectDeferred=function(){return ce++,de[ce]=function(){return X},ce},C=function(m,N){return N=typeof N=="boolean"&&N,de[m]=X,N&&M(m+" 0 obj"),m},ee=u.__private__.newAdditionalObject=function(){var m={objId:Wr(),content:""};return z.push(m),m},W=Wr(),V=Wr(),K=u.__private__.decodeColorString=function(m){var N=m.split(" ");if(N.length!==2||N[1]!=="g"&&N[1]!=="G")N.length!==5||N[4]!=="k"&&N[4]!=="K"||(N=[(1-N[0])*(1-N[3]),(1-N[1])*(1-N[3]),(1-N[2])*(1-N[3]),"r"]);else{var Y=parseFloat(N[0]);N=[Y,Y,Y,"r"]}for(var le="#",ge=0;ge<3;ge++)le+=("0"+Math.floor(255*parseFloat(N[ge])).toString(16)).slice(-2);return le},ne=u.__private__.encodeColorString=function(m){var N;typeof m=="string"&&(m={ch1:m});var Y=m.ch1,le=m.ch2,ge=m.ch3,Oe=m.ch4,We=m.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof Y=="string"&&Y.charAt(0)!=="#"){var gt=new kp(Y);if(gt.ok)Y=gt.toHex();else if(!/^\d*\.?\d*$/.test(Y))throw new Error('Invalid color "'+Y+'" passed to jsPDF.encodeColorString.')}if(typeof Y=="string"&&/^#[0-9A-Fa-f]{3}$/.test(Y)&&(Y="#"+Y[1]+Y[1]+Y[2]+Y[2]+Y[3]+Y[3]),typeof Y=="string"&&/^#[0-9A-Fa-f]{6}$/.test(Y)){var mt=parseInt(Y.substr(1),16);Y=mt>>16&255,le=mt>>8&255,ge=255&mt}if(le===void 0||Oe===void 0&&Y===le&&le===ge)N=typeof Y=="string"?Y+" "+We[0]:m.precision===2?A(Y/255)+" "+We[0]:P(Y/255)+" "+We[0];else if(Oe===void 0||lr(Oe)==="object"){if(Oe&&!isNaN(Oe.a)&&Oe.a===0)return["1.","1.","1.",We[1]].join(" ");N=typeof Y=="string"?[Y,le,ge,We[1]].join(" "):m.precision===2?[A(Y/255),A(le/255),A(ge/255),We[1]].join(" "):[P(Y/255),P(le/255),P(ge/255),We[1]].join(" ")}else N=typeof Y=="string"?[Y,le,ge,Oe,We[2]].join(" "):m.precision===2?[A(Y),A(le),A(ge),A(Oe),We[2]].join(" "):[P(Y),P(le),P(ge),P(Oe),We[2]].join(" ");return N},ye=u.__private__.getFilters=function(){return s},Pe=u.__private__.putStream=function(m){var N=(m=m||{}).data||"",Y=m.filters||ye(),le=m.alreadyAppliedFilters||[],ge=m.addLength1||!1,Oe=N.length,We=m.objectId,gt=function(wr){return wr};if(h!==null&&We===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");h!==null&&(gt=ln.encryptor(We,0));var mt={};Y===!0&&(Y=["FlateEncode"]);var Rt=m.additionalKeyValues||[],Mt=(mt=At.API.processDataByFilters!==void 0?At.API.processDataByFilters(N,Y):{data:N,reverseChain:[]}).reverseChain+(Array.isArray(le)?le.join(" "):le.toString());if(mt.data.length!==0&&(Rt.push({key:"Length",value:mt.data.length}),ge===!0&&Rt.push({key:"Length1",value:Oe})),Mt.length!=0)if(Mt.split("/").length-1==1)Rt.push({key:"Filter",value:Mt});else{Rt.push({key:"Filter",value:"["+Mt+"]"});for(var Xt=0;Xt<Rt.length;Xt+=1)if(Rt[Xt].key==="DecodeParms"){for(var Gr=[],dr=0;dr<mt.reverseChain.split("/").length-1;dr+=1)Gr.push("null");Gr.push(Rt[Xt].value),Rt[Xt].value="["+Gr.join(" ")+"]"}}M("<<");for(var hr=0;hr<Rt.length;hr++)M("/"+Rt[hr].key+" "+Rt[hr].value);M(">>"),mt.data.length!==0&&(M("stream"),M(gt(mt.data)),M("endstream"))},we=u.__private__.putPage=function(m){var N=m.number,Y=m.data,le=m.objId,ge=m.contentsObjId;C(le,!0),M("<</Type /Page"),M("/Parent "+m.rootDictionaryObjId+" 0 R"),M("/Resources "+m.resourceDictionaryObjId+" 0 R"),M("/MediaBox ["+parseFloat(B(m.mediaBox.bottomLeftX))+" "+parseFloat(B(m.mediaBox.bottomLeftY))+" "+B(m.mediaBox.topRightX)+" "+B(m.mediaBox.topRightY)+"]"),m.cropBox!==null&&M("/CropBox ["+B(m.cropBox.bottomLeftX)+" "+B(m.cropBox.bottomLeftY)+" "+B(m.cropBox.topRightX)+" "+B(m.cropBox.topRightY)+"]"),m.bleedBox!==null&&M("/BleedBox ["+B(m.bleedBox.bottomLeftX)+" "+B(m.bleedBox.bottomLeftY)+" "+B(m.bleedBox.topRightX)+" "+B(m.bleedBox.topRightY)+"]"),m.trimBox!==null&&M("/TrimBox ["+B(m.trimBox.bottomLeftX)+" "+B(m.trimBox.bottomLeftY)+" "+B(m.trimBox.topRightX)+" "+B(m.trimBox.topRightY)+"]"),m.artBox!==null&&M("/ArtBox ["+B(m.artBox.bottomLeftX)+" "+B(m.artBox.bottomLeftY)+" "+B(m.artBox.topRightX)+" "+B(m.artBox.topRightY)+"]"),typeof m.userUnit=="number"&&m.userUnit!==1&&M("/UserUnit "+m.userUnit),Jt.publish("putPage",{objId:le,pageContext:Et[N],pageNumber:N,page:Y}),M("/Contents "+ge+" 0 R"),M(">>"),M("endobj");var Oe=Y.join(`
40`);return R===S&&(Oe+=`
41Q`),C(ge,!0),Pe({data:Oe,filters:ye(),objectId:ge}),M("endobj"),le},be=u.__private__.putPages=function(){var m,N,Y=[];for(m=1;m<=Wt;m++)Et[m].objId=Wr(),Et[m].contentsObjId=Wr();for(m=1;m<=Wt;m++)Y.push(we({number:m,data:G[m],objId:Et[m].objId,contentsObjId:Et[m].contentsObjId,mediaBox:Et[m].mediaBox,cropBox:Et[m].cropBox,bleedBox:Et[m].bleedBox,trimBox:Et[m].trimBox,artBox:Et[m].artBox,userUnit:Et[m].userUnit,rootDictionaryObjId:W,resourceDictionaryObjId:V}));C(W,!0),M("<</Type /Pages");var le="/Kids [";for(N=0;N<Wt;N++)le+=Y[N]+" 0 R ";M(le+"]"),M("/Count "+Wt),M(">>"),M("endobj"),Jt.publish("postPutPages")},Ae=function(m){Jt.publish("putFont",{font:m,out:M,newObject:Er,putStream:Pe}),m.isAlreadyPutted!==!0&&(m.objectNumber=Er(),M("<<"),M("/Type /Font"),M("/BaseFont /"+ko(m.postScriptName)),M("/Subtype /Type1"),typeof m.encoding=="string"&&M("/Encoding /"+m.encoding),M("/FirstChar 32"),M("/LastChar 255"),M(">>"),M("endobj"))},Xe=function(m){m.objectNumber=Er();var N=[];N.push({key:"Type",value:"/XObject"}),N.push({key:"Subtype",value:"/Form"}),N.push({key:"BBox",value:"["+[B(m.x),B(m.y),B(m.x+m.width),B(m.y+m.height)].join(" ")+"]"}),N.push({key:"Matrix",value:"["+m.matrix.toString()+"]"});var Y=m.pages[1].join(`
42`);Pe({data:Y,additionalKeyValues:N,objectId:m.objectNumber}),M("endobj")},Qe=function(m,N){N||(N=21);var Y=Er(),le=function(We,gt){var mt,Rt=[],Mt=1/(gt-1);for(mt=0;mt<1;mt+=Mt)Rt.push(mt);if(Rt.push(1),We[0].offset!=0){var Xt={offset:0,color:We[0].color};We.unshift(Xt)}if(We[We.length-1].offset!=1){var Gr={offset:1,color:We[We.length-1].color};We.push(Gr)}for(var dr="",hr=0,wr=0;wr<Rt.length;wr++){for(mt=Rt[wr];mt>We[hr+1].offset;)hr++;var Lr=We[hr].offset,kr=(mt-Lr)/(We[hr+1].offset-Lr),_n=We[hr].color,ya=We[hr+1].color;dr+=ae(Math.round((1-kr)*_n[0]+kr*ya[0]).toString(16))+ae(Math.round((1-kr)*_n[1]+kr*ya[1]).toString(16))+ae(Math.round((1-kr)*_n[2]+kr*ya[2]).toString(16))}return dr.trim()}(m.colors,N),ge=[];
vendor: 5,467 bytes, line 42
42ge.push({key:"FunctionType",value:"0"}),ge.push({key:"Domain",value:"[0.0 1.0]"}),ge.push({key:"Size",value:"["+N+"]"}),ge.push({key:"BitsPerSample",value:"8"}),ge.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ge.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Pe({data:le,additionalKeyValues:ge,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:Y}),M("endobj"),m.objectNumber=Er(),M("<< /ShadingType "+m.type),M("/ColorSpace /DeviceRGB");var Oe="/Coords ["+B(parseFloat(m.coords[0]))+" "+B(parseFloat(m.coords[1]))+" ";m.type===2?Oe+=B(parseFloat(m.coords[2]))+" "+B(parseFloat(m.coords[3])):Oe+=B(parseFloat(m.coords[2]))+" "+B(parseFloat(m.coords[3]))+" "+B(parseFloat(m.coords[4]))+" "+B(parseFloat(m.coords[5])),M(Oe+="]"),m.matrix&&M("/Matrix ["+m.matrix.toString()+"]"),M("/Function "+Y+" 0 R"),M("/Extend [true true]"),M(">>"),M("endobj")},ot=function(m,N){var Y=Wr(),le=Er();N.push({resourcesOid:Y,objectOid:le}),m.objectNumber=le;var ge=[];ge.push({key:"Type",value:"/Pattern"}),ge.push({key:"PatternType",value:"1"}),ge.push({key:"PaintType",value:"1"}),ge.push({key:"TilingType",value:"1"}),ge.push({key:"BBox",value:"["+m.boundingBox.map(B).join(" ")+"]"}),ge.push({key:"XStep",value:B(m.xStep)}),ge.push({key:"YStep",value:B(m.yStep)}),ge.push({key:"Resources",value:Y+" 0 R"}),m.matrix&&ge.push({key:"Matrix",value:"["+m.matrix.toString()+"]"}),Pe({data:m.stream,additionalKeyValues:ge,objectId:m.objectNumber}),M("endobj")},Ke=function(m){for(var N in m.objectNumber=Er(),M("<<"),m)switch(N){case"opacity":M("/ca "+A(m[N]));break;case"stroke-opacity":M("/CA "+A(m[N]))}M(">>"),M("endobj")},rt=function(m){C(m.resourcesOid,!0),M("<<"),M("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var N in M("/Font <<"),lt)lt.hasOwnProperty(N)&&(g===!1||g===!0&&p.hasOwnProperty(N))&&M("/"+N+" "+lt[N].objectNumber+" 0 R");M(">>")}(),function(){if(Object.keys(nt).length>0){for(var N in M("/Shading <<"),nt)nt.hasOwnProperty(N)&&nt[N]instanceof Is&&nt[N].objectNumber>=0&&M("/"+N+" "+nt[N].objectNumber+" 0 R");Jt.publish("putShadingPatternDict"),M(">>")}}(),function(N){if(Object.keys(nt).length>0){for(var Y in M("/Pattern <<"),nt)nt.hasOwnProperty(Y)&&nt[Y]instanceof u.TilingPattern&&nt[Y].objectNumber>=0&&nt[Y].objectNumber<N&&M("/"+Y+" "+nt[Y].objectNumber+" 0 R");Jt.publish("putTilingPatternDict"),M(">>")}}(m.objectOid),function(){if(Object.keys(ht).length>0){var N;for(N in M("/ExtGState <<"),ht)ht.hasOwnProperty(N)&&ht[N].objectNumber>=0&&M("/"+N+" "+ht[N].objectNumber+" 0 R");Jt.publish("putGStateDict"),M(">>")}}(),function(){for(var N in M("/XObject <<"),an)an.hasOwnProperty(N)&&an[N].objectNumber>=0&&M("/"+N+" "+an[N].objectNumber+" 0 R");Jt.publish("putXobjectDict"),M(">>")}(),M(">>"),M("endobj")},It=function(m){qe[m.fontName]=qe[m.fontName]||{},qe[m.fontName][m.fontStyle]=m.id},ir=function(m,N,Y,le,ge){var Oe={id:"F"+(Object.keys(lt).length+1).toString(10),postScriptName:m,fontName:N,fontStyle:Y,encoding:le,isStandardFont:ge||!1,metadata:{}};return Jt.publish("addFont",{font:Oe,instance:this}),lt[Oe.id]=Oe,It(Oe),Oe.id},Vt=u.__private__.pdfEscape=u.pdfEscape=function(m,N){return function(Y,le){var ge,Oe,We,gt,mt,Rt,Mt,Xt,Gr;if(We=(le=le||{}).sourceEncoding||"Unicode",mt=le.outputEncoding,(le.autoencode||mt)&&lt[ct].metadata&&lt[ct].metadata[We]&&lt[ct].metadata[We].encoding&&(gt=lt[ct].metadata[We].encoding,!mt&&lt[ct].encoding&&(mt=lt[ct].encoding),!mt&&gt.codePages&&(mt=gt.codePages[0]),typeof mt=="string"&&(mt=gt[mt]),mt)){for(Mt=!1,Rt=[],ge=0,Oe=Y.length;ge<Oe;ge++)(Xt=mt[Y.charCodeAt(ge)])?Rt.push(String.fromCharCode(Xt)):Rt.push(Y[ge]),Rt[ge].charCodeAt(0)>>8&&(Mt=!0);Y=Rt.join("")}for(ge=Y.length;Mt===void 0&&ge!==0;)Y.charCodeAt(ge-1)>>8&&(Mt=!0),ge--;if(!Mt)return Y;for(Rt=le.noBOM?[]:[254,255],ge=0,Oe=Y.length;ge<Oe;ge++){if((Gr=(Xt=Y.charCodeAt(ge))>>8)>>8)throw new Error("Character at position "+ge+" of string '"+Y+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Rt.push(Gr),Rt.push(Xt-(Gr<<8))}return String.fromCharCode.apply(void 0,Rt)}(m,N).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Pr=u.__private__.beginPage=function(m){G[++Wt]=[],Et[Wt]={objId:0,contentsObjId:0,userUnit:Number(o),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(m[0]),topRightY:Number(m[1])}},Gi(Wt),Ie(G[q])},qi=function(m,N){var Y,le,ge;switch(t=N||t,typeof m=="string"&&(Y=v(m.toLowerCase()),Array.isArray(Y)&&(le=Y[0],ge=Y[1])),Array.isArray(m)&&(le=m[0]*Ct,ge=m[1]*Ct),isNaN(le)&&(le=i[0],ge=i[1]),(le>14400||ge>14400)&&(mr.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),le=Math.min(14400,le),ge=Math.min(14400,ge)),i=[le,ge],t.substr(0,1)){case"l":ge>le&&(i=[ge,le]);break;case"p":le>ge&&(i=[ge,le])}Pr(i),dc(Ot),M(oo),f0!==0&&M(f0+" J"),Wa!==0&&M(Wa+" j"),Jt.publish("addPage",{pageNumber:Wt})},Pi=function(m){m>0&&m<=Wt&&(G.splice(m,1),Et.splice(m,1),Wt--,q>Wt&&(q=Wt),this.setPage(q))},Gi=function(m){m>0&&m<=Wt&&(q=m)},vi=u.__private__.getNumberOfPages=u.getNumberOfPages=function(){return G.length-1},Ua=function(m,N,Y){var le,ge=void 0;return Y=Y||{},m=m!==void 0?m:lt[ct].fontName,N=N!==void 0?N:lt[ct].fontStyle,le=m.toLowerCase(),qe[le]!==void 0&&qe[le][N]!==void 0?ge=qe[le][N]:qe[m]!==void 0&&qe[m][N]!==void 0?ge=qe[m][N]:Y.disableWarning===!1&&mr.warn("Unable to look up font label for font '"+m+"', '"+N+"'. Refer to getFontList(
42) for available fonts."),ge||Y.noFallback||(ge=qe.times[N])==null&&(ge=qe.times.normal),ge},Hr=u.__private__.putInfo=function(){var m=Er(),N=function(le){return le};for(var Y in h!==null&&(N=ln.encryptor(m,0)),M("<<"),M("/Producer ("+Vt(N("jsPDF "+At.version))+")"),vt)vt.hasOwnProperty(Y)&&vt[Y]&&M("/"+Y.substr(0,1).toUpperCase()+Y.substr(1)+" ("+Vt(N(vt[Y]))+")");M("/CreationDate ("+Vt(N(he))+")"),M(">>"),M("endobj")},ro=u.__private__.putCatalog=function(m){var N=(m=m||{}).rootDictionaryObjId||W;switch(Er(),M("<<"),M("/Type /Catalog"),M("/Pages "+N+" 0 R"),it||(it="fullwidth"),it){case"fullwidth":M("/OpenAction [3 0 R /FitH null]");break;case"fullheight":M("/OpenAction [3 0 R /FitV null]");break;case"fullpage":M("/OpenAction [3 0 R /Fit]");break;case"original":M("/OpenAction [3 0 R /XYZ null null 1]");break;default:var Y=""+it;Y.substr(Y.length-1)==="%"&&(it=parseInt(it)/100),typeof it=="number"&&M("/OpenAction [3 0 R /XYZ null null "+A(it)+"]")}switch(je||(je="continuous"),je){case"continuous":M("/PageLayout /OneColumn");break;case"single":M("/PageLayout /SinglePage");break;case"two":case"twoleft":M("/PageLayout /TwoColumnLeft");break;case"tworight":M("/PageLayout /TwoColumnRight")}Ue&&M("/PageMode /"+Ue),Jt.publish("putCatalog"),M(">>"),M("endobj")},ic=u.__private__.putTrailer=function(){M("trailer"),M("<<"),M("/Size "+(ce+1)),M("/Root "+ce+" 0 R"),M("/Info "+(ce-1)+" 0 R"),h!==null&&M("/Encrypt "+ln.oid+" 0 R"),M("/ID [ <"+Fe+"> <"+Fe+"> ]"),M(">>")},qr=u.__private__.putHeader=function(){M("%PDF-"+_),M("%ºß¬à")},df=u.__private__.putXRef=function(){var m="0000000000";M("xref"),M("0 "+(ce+1)),M("0000000000 65535 f ");for(var N=1;N<=ce;N++)typeof de[N]=="function"?M((m+de[N]()).slice(-10)+" 00000 n "):de[N]!==void 0?M((m+de[N]).slice(-10)+" 00000 n "):M("0000000000 00000 n ")},Vi=u.__private__.buildDocument=function(){var m;ce=0,X=0,k=[],de=[],z=[],W=Wr(),V=Wr(),Ie(k),Jt.publish("buildDocument"),qr(),be(),function(){Jt.publish("putAdditionalObjects");for(var Y=0;Y<z.length;Y++){var le=z[Y];C(le.objId,!0),M(le.content),M("endobj")}Jt.publish("postPutAdditionalObjects")}(),m=[],function(){for(var Y in lt)lt.hasOwnProperty(Y)&&(g===!1||g===!0&&p.hasOwnProperty(Y))&&Ae(lt[Y])}(),function(){var Y;for(Y in ht)ht.hasOwnProperty(Y)&&Ke(ht[Y])}(),function(){for(var Y in an)an.hasOwnProperty(Y)&&Xe(an[Y])}(),function(Y){var le;for(le in nt)nt.hasOwnProperty(le)&&(nt[le]instanceof Is?Qe(nt[le]):nt[le]instanceof Po&&ot(nt[le],Y))}(m),Jt.publish("putResources"),m.forEach(rt),rt({resourcesOid:V,objectOid:Number.MAX_SAFE_INTEGER}),Jt.publish("postPutResources"),h!==null&&(ln.oid=Er(),M("<<"),M("/Filter /Standard"),M("/V "+ln.v),M("/R "+ln.r),M("/U <"+ln.toHexString(ln.U)+">"),M("/O <"+ln.toHexString(ln.O)+">"),M("/P "+ln.P),M(">>"),M("endobj")),Hr(),ro();var N=X;return df(),ic(),M("startxref"),M(""+N),M("%%EOF"),Ie(G[q]),k.join(`
43`)},no=u.__private__.getBlob=function(m){return new Blob([et(m)],{type:"application/pdf"})},a0=function(m){for(;m.firstChild;)m.removeChild(m.firstChild)},ei=function(m){var N,Y=m.document,le=Y.documentElement,ge=Y.head,Oe=Y.body;return ge||(ge=Y.createElement("head"),le.appendChild(ge)),Oe||(Oe=Y.createElement("body"),le.appendChild(Oe)),a0(ge),a0(Oe),(N=Y.createElement("style")).appendChild(Y.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),ge.appendChild(N),{document:Y,body:Oe}},io=u.output=u.__private__.output=(Vn=function(m,N){switch(typeof(N=N||{})=="string"?N={filename:N}:N.filename=N.filename||"generated.pdf",m){case void 0:return Vi();case"save":u.save(N.filename);break;case"arraybuffer":return et(Vi());case"blob":return no(Vi());case"bloburi":case"bloburl":if(Dt.URL!==void 0&&typeof Dt.URL.createObjectURL=="function")return Dt.URL&&Dt.URL.createObjectURL(no(Vi()))||void 0;mr.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var Y="",le=Vi();try{Y=x2(le)}catch{Y=x2(unescape(encodeURIComponent(le)))}return"data:application/pdf;filename="+encodeURIComponent(N.filename)+";base64,"+Y;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Dt)==="[object Window]"){var ge="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Oe=!N.pdfObjectUrl;Oe||(ge=N.pdfObjectUrl);var We=Dt.open();if(We!==null){var gt=ei(We),mt=gt.document.createElement("script"),Rt=this;mt.src=ge,Oe&&(mt.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",mt.crossOrigin="anonymous"),mt.onload=function(){We.PDFObject.embed(Rt.output("dataurlstring"),N)},gt.body.appendChild(mt)}return We}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Dt)==="[object Window]"){var Mt=N.pdfJsUrl||"examples/PDF.js/web/viewer.html",Xt=Dt.open();if(Xt!==null){var Gr=ei(Xt),dr=Gr.document.createElement("iframe"),hr=Mt.indexOf("?")===-1?"?":"&";Rt=this,dr.id="pdfViewer",dr.width="500px",dr.height="400px",dr.src=Mt+hr+"file=&downloadName="+encodeURIComponent(N.filename),dr.onload=function(){Xt.document.title=N.filename,dr.contentWindow.PDFViewerApplication.open(Rt.output("bloburl"))},Gr.body.appendChild(dr)}return Xt}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Dt)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var wr=Dt.open();if(wr!==null){var Lr=ei(wr),kr=Lr.document.createElement("iframe");kr.src=this.output("datauristring",N),Lr.body.appendChild(kr),wr.document.title=N.filename}if(wr||typeof safari>"u")return wr;break;case"datauri":case"dataurl":return Dt.document.location.href=this.output("datauristring",N);default:return null}},Vn.foo=function(){try{return Vn.apply(this,arguments)}catch(Y){var m=Y.stack||"";~m.indexOf(" at ")&&(m=m.split(" at ")[1]);var N="Error in function "+m.split(`
44`)[0].split("<")[0]+": "+Y.message;if(!Dt.console)throw new Error(N);Dt.console.error(N,Y),Dt.alert&&alert(N)}},Vn.foo.bar=Vn,Vn.foo),ga=function(m){return Array.isArray(ma)===!0&&ma.indexOf(m)>-1};switch(n){case"pt":Ct=1;break;case"mm":Ct=72/25.4;break;case"cm":Ct=72/2.54;break;case"in":Ct=72;break;case"px":Ct=ga("px_scaling")==1?.75:96/72;break;case"pc":case"em":Ct=12;break;case"ex":Ct=6;break;default:if(typeof n!="number")throw new Error("Invalid unit: "+n);Ct=n}var ln=null;Be(),ve();var pf=u.__private__.getPageInfo=u.getPageInfo=function(m){if(isNaN(m)||m%1!=0)throw new Error("Invalid argument passed to 
44jsPDF.getPageInfo");return{objId:Et[m].objId,pageNumber:m,pageContext:Et[m]}},ac=u.__private__.getPageInfoByObjId=function(m){if(isNaN(m)||m%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var N in Et)if(Et[N].objId===m)break;return pf(N)},sc=u.__private__.getCurrentPageInfo=u.getCurrentPageInfo=function(){return{objId:Et[q].objId,pageNumber:q,pageContext:Et[q]}};u.addPage=function(){return qi.apply(this,arguments),this},u.setPage=function(){return Gi.apply(this,arguments),Ie.call(this,G[q]),this},u.insertPage=function(m){return this.addPage(),this.movePage(q,m),this},u.movePage=function(m,N){var Y,le;if(m>N){Y=G[m],le=Et[m];for(var ge=m;ge>N;ge--)G[ge]=G[ge-1],Et[ge]=Et[ge-1];G[N]=Y,Et[N]=le,this.setPage(N)}else if(m<N){Y=G[m],le=Et[m];for(var Oe=m;Oe<N;Oe++)G[Oe]=G[Oe+1],Et[Oe]=Et[Oe+1];G[N]=Y,Et[N]=le,this.setPage(N)}return this},u.deletePage=function(){return Pi.apply(this,arguments),this},u.__private__.text=u.text=function(m,N,Y,le,ge){var Oe,We,gt,mt,Rt,Mt,Xt,Gr,dr,hr=(le=le||{}).scope||this;if(typeof m=="number"&&typeof N=="number"&&(typeof Y=="string"||Array.isArray(Y))){var wr=Y;Y=N,N=m,m=wr}if(arguments[3]instanceof kt==0?(gt=arguments[4],mt=arguments[5],lr(Xt=arguments[3])==="object"&&Xt!==null||(typeof gt=="string"&&(mt=gt,gt=null),typeof Xt=="string"&&(mt=Xt,Xt=null),typeof Xt=="number"&&(gt=Xt,Xt=null),le={flags:Xt,angle:gt,align:mt})):(T("The transform parameter of text() with a Matrix value"),dr=ge),isNaN(N)||isNaN(Y)||m==null)throw new Error("Invalid arguments passed to jsPDF.text");if(m.length===0)return hr;var Lr,kr="",_n=typeof le.lineHeightFactor=="number"?le.lineHeightFactor:ds,ya=hr.internal.scaleFactor;function u0(xr){return xr=xr.split("	").join(Array(le.TabLen||9).join(" ")),Vt(xr,Xt)}function gs(xr){for(var vr,Rr=xr.concat(),Qr=[],Aa=Rr.length;Aa--;)typeof(vr=Rr.shift())=="string"?Qr.push(vr):Array.isArray(xr)&&(vr.length===1||vr[1]===void 0&&vr[2]===void 0)?Qr.push(vr[0]):Qr.push([vr[0],vr[1],vr[2]]);return Qr}function xs(xr,vr){var Rr;if(typeof xr=="string")Rr=vr(xr)[0];else if(Array.isArray(xr)){for(var Qr,Aa,v0=xr.concat(),wo=[],Sf=v0.length;Sf--;)typeof(Qr=v0.shift())=="string"?wo.push(vr(Qr)[0]):Array.isArray(Qr)&&typeof Qr[0]=="string"&&(Aa=vr(Qr[0],Qr[1],Qr[2]),wo.push([Aa[0],Aa[1],Aa[2]]));Rr=wo}return Rr}var Ha=!1,vs=!0;if(typeof m=="string")Ha=!0;else if(Array.isArray(m)){var ho=m.concat();We=[];for(var uo,wn=ho.length;wn--;)(typeof(uo=ho.shift())!="string"||Array.isArray(uo)&&typeof uo[0]!="string")&&(vs=!1);Ha=vs}if(Ha===!1)throw new Error('Type of text must be string or Array. "'+m+'" is not recognized.');typeof m=="string"&&(m=m.match(/[\r?\n]/)?m.split(/\r\n|\r|\n/g):[m]);var _s=ke/hr.internal.scaleFactor,ws=_s*(_n-1);switch(le.baseline){case"bottom":Y-=ws;break;case"top":Y+=_s-ws;break;case"hanging":Y+=_s-2*ws;break;case"middle":Y+=_s/2-ws}if((Mt=le.maxWidth||0)>0&&(typeof m=="string"?m=hr.splitTextToSize(m,Mt):Object.prototype.toString.call(m)==="[object Array]"&&(m=m.reduce(function(xr,vr){return xr.concat(hr.splitTextToSize(vr,Mt))},[]))),Oe={text:m,x:N,y:Y,options:le,mutex:{pdfEscape:Vt,activeFontKey:ct,fonts:lt,activeFontSize:ke}},Jt.publish("preProcessText",Oe),m=Oe.text,gt=(le=Oe.options).angle,dr instanceof kt==0&&gt&&typeof gt=="number"){gt*=Math.PI/180,le.rotationDirection===0&&(gt=-gt),R===S&&(gt=-gt);var d0=Math.cos(gt),Yi=Math.sin(gt);dr=new kt(d0,Yi,-Yi,d0,0,0)}else gt&&gt instanceof kt&&(dr=gt);R!==S||dr||(dr=Ci),(Rt=le.charSpace||fo)!==void 0&&(kr+=B(j(Rt))+` Tc
45`,this.setCharSpace(this.getCharSpace()||0)),(Gr=le.horizontalScale)!==void 0&&(kr+=B(100*Gr)+` Tz
46`),le.lang;var Dn=-1,bf=le.renderingMode!==void 0?le.renderingMode:le.stroke,po=hr.internal.getCurrentPageInfo().pageContext;switch(bf){case 0:case!1:case"fill":Dn=0;break;case 1:case!0:case"stroke":Dn=1;break;case 2:case"fillThenStroke":Dn=2;break;case 3:case"invisible":Dn=3;break;case 4:case"fillAndAddForClipping":Dn=4;break;case 5:case"strokeAndAddPathForClipping":Dn=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Dn=6;break;case 7:case"addToPathForClipping":Dn=7}var Af=po.usedRenderingMode!==void 0?po.usedRenderingMode:-1;Dn!==-1?kr+=Dn+` Tr
47`:Af!==-1&&(kr+=`0 Tr
48`),Dn!==-1&&(po.usedRenderingMode=Dn),mt=le.align||"left";var _i,ys=ke*_n,p0=hr.internal.pageSize.getWidth(),mo=lt[ct];Rt=le.charSpace||fo,Mt=le.maxWidth||0,Xt=Object.assign({autoencode:!0,noBOM:!0},le.flags);var bs=[],m0=function(xr){return hr.getStringUnitWidth(xr,{font:mo,charSpace:Rt,fontSize:ke,doKerning:!1})*ke/ya};if(Object.prototype.toString.call(m)==="[object Array]"){var Rn;We=gs(m),mt!=="left"&&(_i=We.map(m0));var $n,go=0;if(mt==="right"){N-=_i[0],m=[],wn=We.length;for(var qa=0;qa<wn;qa++)qa===0?($n=xa(N),Rn=va(Y)):($n=j(go-_i[qa]),Rn=-ys),m.push([We[qa],$n,Rn]),go=_i[qa]}else if(mt==="center"){N-=_i[0]/2,m=[],wn=We.length;for(var Ga=0;Ga<wn;Ga++)Ga===0?($n=xa(N),Rn=va(Y)):($n=j((go-_i[Ga])/2),Rn=-ys),m.push([We[Ga],$n,Rn]),go=_i[Ga]}else if(mt==="left"){m=[],wn=We.length;for(var xo=0;xo<wn;xo++)m.push(We[xo])}else if(mt==="justify"&&mo.encoding==="Identity-H"){m=[],wn=We.length,Mt=Mt!==0?Mt:p0;for(var As=0,Vr=0;Vr<wn;Vr++)if(Rn=Vr===0?va(Y):-ys,$n=Vr===0?xa(N):As,Vr<wn-1){var yc=j((Mt-_i[Vr])/(We[Vr].split(" ").length-1)),Ki=We[Vr].split(" ");m.push([Ki[0]+" ",$n,Rn]),As=0;for(var Ii=1;Ii<Ki.length;Ii++){var Ss=(m0(Ki[Ii-1]+" "+Ki[Ii])-m0(Ki[Ii]))*ya+yc;Ii==Ki.length-1?m.push([Ki[Ii],Ss,0]):m.push([Ki[Ii]+" ",Ss,0]),As-=Ss}}else m.push([We[Vr],$n,Rn]);m.push(["",As,0])}else{if(mt!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(m=[],wn=We.length,Mt=Mt!==0?Mt:p0,Vr=0;Vr<wn;Vr++){Rn=Vr===0?va(Y):-ys,$n=Vr===0?xa(N):0;var g0=We[Vr].split(" ").length-1,x0=g0>0?(Mt-_i[Vr])/g0:0;Vr<wn-1?bs.push(B(j(x0))):bs.push(0),m.push([We[Vr],$n,Rn])}}}(typeof le.R2L=="boolean"?le.R2L:ft)===!0&&(m=xs(m,function(xr,vr,Rr){return[xr.split("").reverse().join(""),vr,Rr]})),Oe={text:m,x:N,y:Y,options:le,mutex:{pdfEscape:Vt,activeFontKey:ct,fonts:lt,activeFontSize:ke}},Jt.publish("postProcessText",Oe),m=Oe.text,Lr=Oe.mutex.isHex||!1;var vo=lt[ct].encoding;vo!=="WinAnsiEncoding"&&vo!=="StandardEncoding"||(m=xs(m,function(xr,vr,Rr){return[u0(xr),vr,Rr]})),We=gs(m),m=[];for(var Es,Ts,Va,ba=Array.isArray(We[0])?1:0,$a="",_o=function(xr,vr,Rr){var Qr="";return Rr instanceof kt?(Rr=typeof le.angle=="number"?ki(Rr,new kt(1,0,0,1,xr,vr)):ki(new kt(1,0,0,1,xr,vr),Rr),R===S&&(Rr=ki(new kt(1,0,0,-1,0,0),Rr)),Qr=Rr.join(" ")+` Tm
49`):Qr=B(xr)+" "+B(vr)+` Td
50`,Qr},yn=0;yn<We.length;yn++){switch($a="",ba){case 1:Va=(Lr?"<":"(")+We[yn][0]+(Lr?">":")"),Es=parseFloat(We[yn][1]),Ts=parseFloat(We[yn][2]);break;case 0:Va=(Lr?"<":"(")+We[yn]+(Lr?">":")"),Es=xa(N),Ts=va(Y)}bs!==void 0&&bs[yn]!==void 0&&($a=bs[yn]+` Tw
51`),yn===0?m.push($a+_o(Es,Ts,dr)+Va):ba===0?m.push($a+Va):ba===1&&m.push($a+_o(Es,Ts,dr)+Va)}m=ba===0?m.join(` Tj
52T* `):m.join(` Tj
53`),m+=` Tj
54`;var Zi=`BT
55/`;return Zi+=ct+" "+ke+` Tf
56`,Zi+=B(ke*_n)+` TL
57`,Zi+=Xi+`
58`,Zi+=kr,Zi+=m,M(Zi+="ET"),p[ct]=!0,hr};var oc=u.__private__.clip=u.clip=function(m){return M(m==="evenodd"?"W*":"W"),this};u.clipEvenOdd=function(){return oc("evenodd")},u.__private__.discardPath=u.discardPath=function(){return M("n"),this};var $i=u.__private__.isValidStyle=function(m){var N=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(m)!==-1&&(N=!0),N};u.__private__.setDefaultPathOperation=u.setDefaultPathOperation=function(m){return $i(m)&&(l=m),this};var mf=u.__private__.getStyle=u.getStyle=function(m){var N=l;switch(m){case"D":case"S":N="S";break;case"F":N="f";break;case"FD":case"DF":N="B";break;case"f":case"f*":case"B":case"B*":N=m}return N},ao=u.close=function(){return M("h"),this};u.stroke=function(){return M("S"),this},u.fill=function(m){return so("f",m),this},u.fillEvenOdd=function(m){return so("f*",m),this},u.fillStroke=function(m){return so("B",m),this},u.fillStrokeEvenOdd=function(m){return so("B*",m),this};var so=function(m,N){lr(N)==="object"?lc(N,m):M(m)},s0=function(m){m===null||R===S&&m===void 0||(m=mf(m),M(m))};function fc(m,N,Y,le,ge){var Oe=new Po(N||this.boundingBox,Y||this.xStep,le||this.yStep,this.gState,ge||this.matrix
vendor: 4,458 bytes, line 58
58);Oe.stream=this.stream;var We=m+"$$"+this.cloneIndex+++"$$";return vn(We,Oe),Oe}var lc=function(m,N){var Y=Nt[m.key],le=nt[Y];if(le instanceof Is)M("q"),M(cc(N)),le.gState&&u.setGState(le.gState),M(m.matrix.toString()+" cm"),M("/"+Y+" sh"),M("Q");else if(le instanceof Po){var ge=new kt(1,0,0,-1,0,ms());m.matrix&&(ge=ge.multiply(m.matrix||Ci),Y=fc.call(le,m.key,m.boundingBox,m.xStep,m.yStep,ge).id),M("q"),M("/Pattern cs"),M("/"+Y+" scn"),le.gState&&u.setGState(le.gState),M(N),M("Q")}},cc=function(m){switch(m){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},ja=u.moveTo=function(m,N){return M(B(j(m))+" "+B(ie(N))+" m"),this},gf=u.lineTo=function(m,N){return M(B(j(m))+" "+B(ie(N))+" l"),this},za=u.curveTo=function(m,N,Y,le,ge,Oe){return M([B(j(m)),B(ie(N)),B(j(Y)),B(ie(le)),B(j(ge)),B(ie(Oe)),"c"].join(" ")),this};u.__private__.line=u.line=function(m,N,Y,le,ge){if(isNaN(m)||isNaN(N)||isNaN(Y)||isNaN(le)||!$i(ge))throw new Error("Invalid arguments passed to jsPDF.line");return R===E?this.lines([[Y-m,le-N]],m,N,[1,1],ge||"S"):this.lines([[Y-m,le-N]],m,N,[1,1]).stroke()},u.__private__.lines=u.lines=function(m,N,Y,le,ge,Oe){var We,gt,mt,Rt,Mt,Xt,Gr,dr,hr,wr,Lr,kr;if(typeof m=="number"&&(kr=Y,Y=N,N=m,m=kr),le=le||[1,1],Oe=Oe||!1,isNaN(N)||isNaN(Y)||!Array.isArray(m)||!Array.isArray(le)||!$i(ge)||typeof Oe!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(ja(N,Y),We=le[0],gt=le[1],Rt=m.length,wr=N,Lr=Y,mt=0;mt<Rt;mt++)(Mt=m[mt]).length===2?(wr=Mt[0]*We+wr,Lr=Mt[1]*gt+Lr,gf(wr,Lr)):(Xt=Mt[0]*We+wr,Gr=Mt[1]*gt+Lr,dr=Mt[2]*We+wr,hr=Mt[3]*gt+Lr,wr=Mt[4]*We+wr,Lr=Mt[5]*gt+Lr,za(Xt,Gr,dr,hr,wr,Lr));return Oe&&ao(),s0(ge),this},u.path=function(m){for(var N=0;N<m.length;N++){var Y=m[N],le=Y.c;switch(Y.op){case"m":ja(le[0],le[1]);break;case"l":gf(le[0],le[1]);break;case"c":za.apply(this,le);break;case"h":ao()}}return this},u.__private__.rect=u.rect=function(m,N,Y,le,ge){if(isNaN(m)||isNaN(N)||isNaN(Y)||isNaN(le)||!$i(ge))throw new Error("Invalid arguments passed to jsPDF.rect");return R===E&&(le=-le),M([B(j(m)),B(ie(N)),B(j(Y)),B(j(le)),"re"].join(" ")),s0(ge),this},u.__private__.triangle=u.triangle=function(m,N,Y,le,ge,Oe,We){if(isNaN(m)||isNaN(N)||isNaN(Y)||isNaN(le)||isNaN(ge)||isNaN(Oe)||!$i(We))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[Y-m,le-N],[ge-Y,Oe-le],[m-ge,N-Oe]],m,N,[1,1],We,!0),this},u.__private__.roundedRect=u.roundedRect=function(m,N,Y,le,ge,Oe,We){if(isNaN(m)||isNaN(N)||isNaN(Y)||isNaN(le)||isNaN(ge)||isNaN(Oe)||!$i(We))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var gt=4/3*(Math.SQRT2-1);return ge=Math.min(ge,.5*Y),Oe=Math.min(Oe,.5*le),this.lines([[Y-2*ge,0],[ge*gt,0,ge,Oe-Oe*gt,ge,Oe],[0,le-2*Oe],[0,Oe*gt,-ge*gt,Oe,-ge,Oe],[2*ge-Y,0],[-ge*gt,0,-ge,-Oe*gt,-ge,-Oe],[0,2*Oe-le],[0,-Oe*gt,ge*gt,-Oe,ge,-Oe]],m+ge,N,[1,1],We,!0),this},u.__private__.ellipse=u.ellipse=function(m,N,Y,le,ge){if(isNaN(m)||isNaN(N)||isNaN(Y)||isNaN(le)||!$i(ge))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Oe=4/3*(Math.SQRT2-1)*Y,We=4/3*(Math.SQRT2-1)*le;return ja(m+Y,N),za(m+Y,N-We,m+Oe,N-le,m,N-le),za(m-Oe,N-le,m-Y,N-We,m-Y,N),za(m-Y,N+We,m-Oe,N+le,m,N+le),za(m+Oe,N+le,m+Y,N+We,m+Y,N),s0(ge),this},u.__private__.circle=u.circle=function(m,N,Y,le){if(isNaN(m)||isNaN(N)||isNaN(Y)||!$i(le))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(m,N,Y,Y,le)},u.setFont=function(m,N,Y){return Y&&(N=O(N,Y)),ct=Ua(m,N,{disableWarning:!1}),this};var hc=u.__private__.getFont=u.getFont=function(){return lt[Ua.apply(u,arguments)]};u.__private__.getFontList=u.getFontList=function(){var m,N,Y={};for(m in qe)if(qe.hasOwnProperty(m))for(N in Y[m]=[],qe[m])qe[m].hasOwnProperty(N)&&Y[m].push(N);return Y},u.addFont=function(m,N,Y,le,ge){var Oe=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Oe.indexOf(arguments[3])!==-1?ge=arguments[3]:arguments[3]&&Oe.indexOf(arguments[3])==-1&&(Y=O(Y,le)),ir.call(this,m,N,Y,ge=ge||"Identity-H")};var ds,Ot=e.lineWidth||.200025,uc=u.__private__.getLineWidth=u.getLineWidth=function(){return Ot},dc=u.__private__.setLineWidth=u.setLineWidth=function(m){return Ot=m,M(B(j(m))+" w"),this};u.__private__.setLineDash=At.API.setLineDash=At.API.setLineDashPattern=function(m,N){if(m=m||[],N=N||0,isNaN(N)||!Array.isArray(m))throw new Error("Invalid arguments passed to 
58jsPDF.setLineDash");return m=m.map(function(Y){return B(j(Y))}).join(" "),N=B(j(N)),M("["+m+"] "+N+" d"),this};var pc=u.__private__.getLineHeight=u.getLineHeight=function(){return ke*ds};u.__private__.getLineHeight=u.getLineHeight=function(){return ke*ds};var mc=u.__private__.setLineHeightFactor=u.setLineHeightFactor=function(m){return typeof(m=m||1.15)=="number"&&(ds=m),this},gc=u.__private__.getLineHeightFactor=u.getLineHeightFactor=function(){return ds};mc(e.lineHeight);var xa=u.__private__.getHorizontalCoordinate=function(m){return j(m)},va=u.__private__.getVerticalCoordinate=function(m){return R===S?m:Et[q].mediaBox.topRightY-Et[q].mediaBox.bottomLeftY-j(m)},xc=u.__private__.getHorizontalCoordinateString=u.getHorizontalCoordinateString=function(m){return B(xa(m))},vc=u.__private__.getVerticalCoordinateString=u.getVerticalCoordinateString=function(m){return B(va(m))},oo=e.strokeColor||"0 G";u.__private__.getStrokeColor=u.getDrawColor=function(){return K(oo)},u.__private__.setStrokeColor=u.setDrawColor=function(m,N,Y,le){return oo=ne({ch1:m,ch2:N,ch3:Y,ch4:le,pdfColorType:"draw",precision:2}),M(oo),this};var o0=e.fillColor||"0 g";u.__private__.getFillColor=u.getFillColor=function(){return K(o0)},u.__private__.setFillColor=u.setFillColor=function(m,N,Y,le){return o0=ne({ch1:m,ch2:N,ch3:Y,ch4:le,pdfColorType:"fill",precision:2}),M(o0),this};var Xi=e.textColor||"0 g",_c=u.__private__.getTextColor=u.getTextColor=function(){return K(Xi)};u.__private__.setTextColor=u.setTextColor=function(m,N,Y,le){return Xi=ne({ch1:m,ch2:N,ch3:Y,ch4:le,pdfColorType:"text",precision:3}),this};var fo=e.charSpace,wc=u.__private__.getCharSpace=u.getCharSpace=function(){return parseFloat(fo||0)};u.__private__.setCharSpace=u.setCharSpace=function(m){if(isNaN(m))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return fo=m,this};var f0=0;u.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},u.__private__.setLineCap=u.setLineCap=function(m){var N=u.CapJoinStyles[m];if(N===void 0)throw new Error("Line cap style of '"+m+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return f0=N,M(N+" J"),this};var Wa=0;u.__private__.setLineJoin=u.setLineJoin=function(m){var N=u.CapJoinStyles[m];if(N===void 0)throw new Error("Line join style of '"+m+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Wa=N,M(N+" j"),this},u.__private__.setLineMiterLimit=u.__private__.setMiterLimit=u.setLineMiterLimit=u.setMiterLimit=function(m){if(m=m||0,isNaN(m))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return M(B(j(m))+" M"),this},u.GState=bl,u.setGState=function(m){(m=typeof m=="string"?ht[Ft[m]]:l0(null,m)).equals(Gt)||(M("/"+m.id+" gs"),Gt=m)};var l0=function(m,N){if(!m||!Ft[m]){var Y=!1;for(var le in ht)if(ht.hasOwnProperty(le)&&ht[le].equals(N)){Y=!0;break}if(Y)N=ht[le];else{var ge="GS"+(Object.keys(ht).length+1).toString(10);ht[ge]=N,N.id=ge}return m&&(Ft[m]=N.id),Jt.publish("addGState",N),N}};u.addGState=function(m,N){return l0(m,N),this},u.saveGraphicsState=function(){return M("q"),St.push({key:ct,size:ke,color:Xi}),this},u.restoreGraphicsState=function(){M("Q");var m=St.pop();return ct=m.key,ke=m.size,Xi=m.color,Gt=null,this},u.setCurrentTransformationMatrix=function(m){return M(m.toString()+" cm"),this},u.comment=function(m){return M("#"+m),this};var ps=function(m,N){var Y=m||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return Y},set:function(Oe){isNaN(Oe)||(Y=parseFloat(Oe))}});var le=N||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return le},set:function(Oe){isNaN(Oe)||(le=parseFloat(Oe))}});var ge="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return ge},set:function(Oe){ge=Oe.toString()}}),this},c0=function(m,N,Y,le){ps.call(this,m,N),this.type="rect";var ge=Y||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return ge},set:function(We){isNaN(We)||(ge=parseFloat(We))}});var Oe=le||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Oe},set:function(We){isNaN(We)||(Oe=parseFloat(We))}}),this},lo=function(){this.page=Wt,this.currentPage=q,this.pages=G.slice(0),this.pagesContext=Et.slice(0),this.x=se,this.y=Ye,this.matrix=st,this.width=xf(q),this.height=wa(q),this.outputDestination=Ce,this.id="",this.objectNumber=-1};lo.prototype.restore=function(){Wt=this.page,q=this.currentPage,Et=this.pagesContext,G=this.pages,se=this.x,Ye=this.y,st=this.matrix,_a(q,this.width),vf(q,this.height),Ce=this.outputDestination};
vendor: 4,979 bytes, line 58
58var h0=function(m,N,Y,le,ge){xi.push(new lo),Wt=q=0,G=[],se=m,Ye=N,st=ge,Pr([Y,le])};for(var co in u.beginFormObject=function(m,N,Y,le,ge){return h0(m,N,Y,le,ge),this},u.endFormObject=function(m){return function(N){if(Li[N])xi.pop().restore();else{var Y=new lo,le="Xo"+(Object.keys(an).length+1).toString(10);Y.id=le,Li[N]=le,an[le]=Y,Jt.publish("addFormObject",Y),xi.pop().restore()}}(m),this},u.doFormObject=function(m,N){var Y=an[Li[m]];return M("q"),M(N.toString()+" cm"),M("/"+Y.id+" Do"),M("Q"),this},u.getFormObject=function(m){var N=an[Li[m]];return{x:N.x,y:N.y,width:N.width,height:N.height,matrix:N.matrix}},u.save=function(m,N){return m=m||"generated.pdf",(N=N||{}).returnPromise=N.returnPromise||!1,N.returnPromise===!1?(Ps(no(Vi()),m),typeof Ps.unload=="function"&&Dt.setTimeout&&setTimeout(Ps.unload,911),this):new Promise(function(Y,le){try{var ge=Ps(no(Vi()),m);typeof Ps.unload=="function"&&Dt.setTimeout&&setTimeout(Ps.unload,911),Y(ge)}catch(Oe){le(Oe.message)}})},At.API)At.API.hasOwnProperty(co)&&(co==="events"&&At.API.events.length?function(m,N){var Y,le,ge;for(ge=N.length-1;ge!==-1;ge--)Y=N[ge][0],le=N[ge][1],m.subscribe.apply(m,[Y].concat(typeof le=="function"?[le]:le))}(Jt,At.API.events):u[co]=At.API[co]);function xf(m){return Et[m].mediaBox.topRightX-Et[m].mediaBox.bottomLeftX}function _a(m,N){Et[m].mediaBox.topRightX=N+Et[m].mediaBox.bottomLeftX}function wa(m){return Et[m].mediaBox.topRightY-Et[m].mediaBox.bottomLeftY}function vf(m,N){Et[m].mediaBox.topRightY=N+Et[m].mediaBox.bottomLeftY}var _f=u.getPageWidth=function(m){return xf(m=m||q)/Ct},wf=u.setPageWidth=function(m,N){_a(m,N*Ct)},ms=u.getPageHeight=function(m){return wa(m=m||q)/Ct},yf=u.setPageHeight=function(m,N){vf(m,N*Ct)};return u.internal={pdfEscape:Vt,getStyle:mf,getFont:hc,getFontSize:tt,getCharSpace:wc,getTextColor:_c,getLineHeight:pc,getLineHeightFactor:gc,getLineWidth:uc,write:Ne,getHorizontalCoordinate:xa,getVerticalCoordinate:va,getCoordinateString:xc,getVerticalCoordinateString:vc,collections:{},newObject:Er,newAdditionalObject:ee,newObjectDeferred:Wr,newObjectDeferredBegin:C,getFilters:ye,putStream:Pe,events:Jt,scaleFactor:Ct,pageSize:{getWidth:function(){return _f(q)},setWidth:function(m){wf(q,m)},getHeight:function(){return ms(q)},setHeight:function(m){yf(q,m)}},encryptionOptions:h,encryption:ln,getEncryptor:function(m){return h!==null?ln.encryptor(m,0):function(N){return N}},output:io,getNumberOfPages:vi,get pages(){return G},out:M,f2:A,f3:P,getPageInfo:pf,getPageInfoByObjId:ac,getCurrentPageInfo:sc,getPDFVersion:w,Point:ps,Rectangle:c0,Matrix:kt,hasHotfix:ga},Object.defineProperty(u.internal.pageSize,"width",{get:function(){return _f(q)},set:function(m){wf(q,m)},enumerable:!0,configurable:!0}),Object.defineProperty(u.internal.pageSize,"height",{get:function(){return ms(q)},set:function(m){yf(q,m)},enumerable:!0,configurable:!0}),(function(m){for(var N=0,Y=$e.length;N<Y;N++){var le=ir.call(this,m[N][0],m[N][1],m[N][2],$e[N][3],!0);g===!1&&(p[le]=!0);var ge=m[N][0].split("-");It({id:le,fontName:ge[0],fontStyle:ge[1]||""})}Jt.publish("addFonts",{fonts:lt,dictionary:qe})}).call(u,$e),ct="F1",qi(i,t),Jt.publish("initialized"),u}Lo.prototype.lsbFirstWord=function(e){return String.fromCharCode(255&e,e>>8&255,e>>16&255,e>>24&255)},Lo.prototype.toHexString=function(e){return e.split("").map(function(r){return("0"+(255&r.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Lo.prototype.hexToBytes=function(e){for(var r=[],t=0;t<e.length;t+=2)r.push(String.fromCharCode(parseInt(e.substr(t,2),16)));return r.join("")},Lo.prototype.processOwnerPassword=function(e,r){return Wh(zh(r).substr(0,5),e)},Lo.prototype.encryptor=function(e,r){var t=zh(this.encryptionKey+String.fromCharCode(255&e,e>>8&255,e>>16&255,255&r,r>>8&255)).substr(0,10);return function(n){return Wh(t,n)}},bl.prototype.equals=function(e){var r,t="id,objectNumber,equals";if(!e||lr(e)!==lr(this))return!1;var n=0;for(r in this)if(!(t.indexOf(r)>=0)){if(this.hasOwnProperty(r)&&!e.hasOwnProperty(r)||this[r]!==e[r])return!1;n++}for(r in e)e.hasOwnProperty(r)&&t.indexOf(r)<0&&n--;return n===0},At.API={events:[]},At.version="4.2.1";var Dr=At.API,cu=1,Zs=function(e){return e.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Eo=function(e){return e.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},qs=function(e){return e.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(r){var t=r.charCodeAt(0).toString(16).toUpperCase();return"#"+(t.length===1?"0"+t:t)})},Bt=function(e){return e.toFixed(2)},ts=function(e){return e.toFixed(5)};Dr.__acroform__={};var Qn=function(e,r){e.prototype=Object.create(r.prototype),e.prototype.constructor=e},y2=function(e){return e*cu},ea=function(e){var r=new Op,t=dt.internal.getHeight(e)||0,n=dt.internal.getWidth(e)||0;return r.BBox=[0,0,Number(Bt(n)),Number(Bt(t))],r},G_=Dr.__acroform__.setBit=function(e,r){if(e=e||0,r=r||0,isNaN(e)||isNaN(r))throw new Error("Invalid arguments passed to 
58jsPDF.API.__acroform__.setBit");return e|1<<r},V_=Dr.__acroform__.clearBit=function(e,r){if(e=e||0,r=r||0,isNaN(e)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return e&~(1<<r)},$_=Dr.__acroform__.getBit=function(e,r){if(isNaN(e)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return e&1<<r?1:0},Ur=Dr.__acroform__.getBitForPdf=function(e,r){if(isNaN(e)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return $_(e,r-1)},jr=Dr.__acroform__.setBitForPdf=function(e,r){if(isNaN(e)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return G_(e,r-1)},zr=Dr.__acroform__.clearBitForPdf=function(e,r){if(isNaN(e)||isNaN(r))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return V_(e,r-1)},X_=Dr.__acroform__.calculateCoordinates=function(e,r){var t=r.internal.getHorizontalCoordinate,n=r.internal.getVerticalCoordinate,i=e[0],a=e[1],s=e[2],o=e[3],f={};return f.lowerLeft_X=t(i)||0,f.lowerLeft_Y=n(a+o)||0,f.upperRight_X=t(i+s)||0,f.upperRight_Y=n(a)||0,[Number(Bt(f.lowerLeft_X)),Number(Bt(f.lowerLeft_Y)),Number(Bt(f.upperRight_X)),Number(Bt(f.upperRight_Y))]},Y_=function(e){if(e.appearanceStreamContent)return e.appearanceStreamContent;if(e.V||e.DV){var r=[],t=e._V||e.DV,n=Hh(e,t),i=e.scope.internal.getFont(e.fontName,e.fontStyle).id;r.push("/Tx BMC"),r.push("q"),r.push("BT"),r.push(e.scope.__private__.encodeColorString(e.color)),r.push("/"+i+" "+Bt(n.fontSize)+" Tf"),r.push("1 0 0 1 0 0 Tm"),r.push(n.text),r.push("ET"),r.push("Q"),r.push("EMC");var a=ea(e);return a.scope=e.scope,a.stream=r.join(`
59`),a}},Hh=function(e,r){var t=e.fontSize===0?e.maxFontSize:e.fontSize,n={text:"",fontSize:""},i=(r=(r=r.substr(0,1)=="("?r.substr(1):r).substr(r.length-1)==")"?r.substr(0,r.length-1):r).split(" ");i=e.multiline?i.map(function(A){return A.split(`
60`)}):i.map(function(A){return[A]});var a=t,s=dt.internal.getHeight(e)||0;s=s<0?-s:s;var o=dt.internal.getWidth(e)||0;o=o<0?-o:o;var f=function(A,P,j){if(A+1<i.length){var ie=P+" "+i[A+1][0];return Jf(ie,e,j).width<=o-4}return!1};a++;e:for(;a>0;){r="",a--;var l,h,g=Jf("3",e,a).height,p=e.multiline?s-a:(s-g)/2,u=p+=2,_=0,w=0,y=0;if(a<=0){r=`(...) Tj
61`,r+="% Width of Text: "+Jf(r,e,a=12).width+", FieldWidth:"+o+`
62`;break}for(var v="",E=0,S=0;S<i.length;S++)if(i.hasOwnProperty(S)){var R=!1;if(i[S].length!==1&&y!==i[S].length-1){if((g+2)*(E+2)+2>s)continue e;v+=i[S][y],R=!0,w=S,S--}else{v=(v+=i[S][y]+" ").substr(v.length-1)==" "?v.substr(0,v.length-1):v;var re=parseInt(S),fe=f(re,v,a),O=S>=i.length-1;if(fe&&!O){v+=" ",y=0;continue}if(fe||O){if(O)w=re;else if(e.multiline&&(g+2)*(E+2)+2>s)continue e}else{if(!e.multiline||(g+2)*(E+2)+2>s)continue e;w=re}}for(var B="",T=_;T<=w;T++){var Q=i[T];if(e.multiline){if(T===w){B+=Q[y]+" ",y=(y+1)%Q.length;continue}if(T===_){B+=Q[Q.length-1]+" ";continue}}B+=Q[0]+" "}switch(B=B.substr(B.length-1)==" "?B.substr(0,B.length-1):B,h=Jf(B,e,a).width,e.textAlign){case"right":l=o-h-2;break;case"center":l=(o-h)/2;break;default:l=2}r+=Bt(l)+" "+Bt(u)+` Td
63`,r+="("+Zs(B)+`) Tj
64`,r+=-Bt(l)+` 0 Td
65`,u=-(a+2),h=0,_=R?w:w+1,E++,v=""}break}return n.text=r,n.fontSize=a,n},Jf=function(e,r,t){var n=r.scope.internal.getFont(r.fontName,r.fontStyle),i=r.scope.getStringUnitWidth(e,{font:n,fontSize:parseFloat(t),charSpace:0})*parseFloat(t);return{height:r.scope.getStringUnitWidth("3",{font:n,fontSize:parseFloat(t),charSpace:0})*parseFloat(t)*1.5,width:i}},K_={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},Z_=function(e,r){var t={type:"reference",object:e};r.internal.getPageInfo(e.page).pageContext.annotations.find(function(n){return n.type===t.type&&n.object===t.object})===void 0&&r.internal.getPageInfo(e.page).pageContext.annotations.push(t)},J_=function(e,r){if(r.scope=e,e.internal!==void 0&&(e.internal.acroformPlugin===void 0||e.internal.acroformPlugin.isInitialized===!1)){if(Wi.FieldNum=0,e.internal.acroformPlugin=JSON.parse(JSON.stringify(K_)),e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");cu=e.internal.scaleFactor,e.internal.acroformPlugin.acroFormDictionaryRoot=new Dp,e.internal.acroformPlugin.acroFormDictionaryRoot.scope=e,e.internal.acroformPlugin.acroFormDictionaryRoot._eventID=e.internal.events.subscribe("postPutResources",function(){(function(t){t.internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0})(e)}),e.internal.events.subscribe("buildDocument",function(){(function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var n=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in n)if(n.hasOwnProperty(i)){var a=n[i];a.objId=void 0,a.hasAnnotation&&Z_(a,t)}})(e)}),e.internal.events.subscribe("putCatalog",function(){(function(t){if(t.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(e)}),e.internal.events.subscribe("postPutPages",function(t){(function(n,i){var a=!n;for(var s in n||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),n=n||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(n.hasOwnProperty(s)){var o=n[s],f=[],l=o.Rect;if(o.Rect&&(o.Rect=X_(o.Rect,i)),i.internal.newObjectDeferredBegin(o.obj
vendor: 23,550 bytes, lines 65-77
65Id,!0),o.DA=dt.createDefaultAppearanceStream(o),lr(o)==="object"&&typeof o.getKeyValueListForStream=="function"&&(f=o.getKeyValueListForStream()),o.Rect=l,o.hasAppearanceStream&&!o.appearanceStreamContent){var h=Y_(o);f.push({key:"AP",value:"<</N "+h+">>"}),i.internal.acroformPlugin.xForms.push(h)}if(o.appearanceStreamContent){var g="";for(var p in o.appearanceStreamContent)if(o.appearanceStreamContent.hasOwnProperty(p)){var u=o.appearanceStreamContent[p];if(g+="/"+p+" ",g+="<<",Object.keys(u).length>=1||Array.isArray(u)){for(var s in u)if(u.hasOwnProperty(s)){var _=u[s];typeof _=="function"&&(_=_.call(i,o)),g+="/"+s+" "+_+" ",i.internal.acroformPlugin.xForms.indexOf(_)>=0||i.internal.acroformPlugin.xForms.push(_)}}else typeof(_=u)=="function"&&(_=_.call(i,o)),g+="/"+s+" "+_,i.internal.acroformPlugin.xForms.indexOf(_)>=0||i.internal.acroformPlugin.xForms.push(_);g+=">>"}f.push({key:"AP",value:`<<
66`+g+">>"})}i.internal.putStream({additionalKeyValues:f,objectId:o.objId}),i.internal.out("endobj")}a&&function(w,y){for(var v in w)if(w.hasOwnProperty(v)){var E=v,S=w[v];y.internal.newObjectDeferredBegin(S.objId,!0),lr(S)==="object"&&typeof S.putStream=="function"&&S.putStream(),delete w[E]}}(i.internal.acroformPlugin.xForms,i)})(t,e)}),e.internal.acroformPlugin.isInitialized=!0}},Ip=Dr.__acroform__.arrayToPdfArray=function(e,r,t){var n=function(s){return s};if(Array.isArray(e)){for(var i="[",a=0;a<e.length;a++)switch(a!==0&&(i+=" "),lr(e[a])){case"boolean":case"number":case"object":i+=e[a].toString();break;case"string":e[a].substr(0,1)==="/"?i+="/"+qs(e[a].substr(1)):(r!==void 0&&t&&(n=t.internal.getEncryptor(r)),i+="("+Zs(n(e[a].toString()))+")")}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},fh=function(e,r,t){var n=function(i){return i};return r!==void 0&&t&&(n=t.internal.getEncryptor(r)),(e=e||"").toString(),"("+Zs(n(e))+")"},fa=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(e){this._objId=e}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};fa.prototype.toString=function(){return this.objId+" 0 R"},fa.prototype.putStream=function(){var e=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:e,objectId:this.objId}),this.scope.internal.out("endobj")},fa.prototype.getKeyValueListForStream=function(){var e=[],r=Object.getOwnPropertyNames(this).filter(function(a){return a!="content"&&a!="appearanceStreamContent"&&a!="scope"&&a!="objId"&&a.substring(0,1)!="_"});for(var t in r)if(Object.getOwnPropertyDescriptor(this,r[t]).configurable===!1){var n=r[t],i=this[n];i&&(Array.isArray(i)?e.push({key:n,value:Ip(i,this.objId,this.scope)}):i instanceof fa?(i.scope=this.scope,e.push({key:n,value:i.objId+" 0 R"})):typeof i!="function"&&e.push({key:n,value:i}))}return e};var Op=function(){fa.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var e,r=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return r},set:function(t){r=t}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){e=t.trim()},get:function(){return e||null}})};Qn(Op,fa);var Dp=function(){fa.call(this);var e,r=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return r.length>0?r:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return r}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(e){var t=function(n){return n};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Zs(t(e))+")"}},set:function(t){e=t}})};Qn(Dp,fa);var Wi=function e(){fa.call(this);var r=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return r},set:function(v){if(isNaN(v))throw new Error('Invalid value "'+v+'" for attribute F supplied.');r=v}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Ur(r,3)},set:function(v){v?this.F=jr(r,3):this.F=zr(r,3)}});var t=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return t},set:function(v){if(isNaN(v))throw new Error('Invalid value "'+v+'" for attribute Ff supplied.');t=v}});var n=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(n.length!==0)return n},set:function(v){n=v!==void 0?v:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[0])?0:n[0]},set:function(v){n[0]=v}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[1])?0:n[1]},set:function(v){n[1]=v}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[2])?0:n[2]},set:function(v){n[2]=v}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!n||isNaN(n[3])?0:n[3]},set:function(v){n[3]=v}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(v){switch(v){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=v;break;default:throw new Error('Invalid value "'+v+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof Al)return;a="FieldObject"+e.FieldNum++}var v=function(E){return E};return this.scope&&(v=this.scope.internal.getEncryptor(this.objId)),"("+Zs(v(a))+")"},set:function(v){a=v.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(v){a=v}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(v){s=v}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(v){o=v}});var f=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return f},set:function(v){f=v}});var l=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return l===void 0?50/cu:l},set:function(v){l=v}});var h="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return h},set:function(v){h=v}});var g="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!g||this instanceof Al||this instanceof Ms))return fh(g,this.objId,this.scope)},set:function(v){v=v.toString(),g=v}});var p=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof on==0?fh(p,this.objId,this.scope):p},set:function(v){v=v.toString(),p=this instanceof on==0?v.substr(0,1)==="("?Eo(v.substr(1,v.length-2)):Eo(v):v}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof on==1?Eo(p.substr(1,p.length-1)):p},set:function(v){v=v.toString(),p=this instanceof on==1?"/"+qs(v):v}});var u=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(u)return u},set:function(v){this.V=v}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(u)return this instanceof on==0?fh(u,this.objId,this.scope):u},set:function(v){v=v.toString(),u=this instanceof on==0?v.substr(0,1)==="("?Eo(v.substr(1,v.length-2)):Eo(v):v}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof on==1?Eo(u.substr(1,u.length-1)):u},set:function(v){v=v.toString(),u=this instanceof on==1?"/"+qs(v):v}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var _,w=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return w},set:function(v){v=!!v,w=v}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(_)return _},set:function(v){_=v}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,1)},set:function(v){v?this.Ff=jr(this.Ff,1):this.Ff=zr(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,2)},set:function(v){v?this.Ff=jr(this.Ff,2):this.Ff=zr(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,3)},set:function(v){v?this.Ff=jr(this.Ff,3):this.Ff=zr(this.Ff,3)}});var y=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(y!==null)return y},set:function(v){if([0,1,2].indexOf(v)===-1)throw new Error('Invalid value "'+v+'" for attribute Q supplied.');y=v}}),Object.defineProperty(this,"textAlign",{get:function(){var v;switch(y){case 0:default:v="left";break;case 1:v="center";break;case 2:v="right"}return v},configurable:!0,enumerable:!0,set:function(v){switch(v){case"right":case 2:y=2;break;case"center":case 1:y=1;break;default:y=0}}})};Qn(Wi,fa);var Do=function(){Wi.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var e=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return e},set:function(t){e=t}});var r=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Ip(r,this.objId,this.scope)},set:function(t){var n,i;i=[],typeof(n=t)=="string"&&(i=function(a,s,o){o||(o=1);for(var f,l=[];f=s.exec(a);)l.push(f[o]);return l}(n,/\((.*?)\)/g)),r=i}}),this.getOptions=function(){return r},this.setOptions=function(t){r=t,this.sort&&r.sort()},this.addOption=function(t){t=(t=t||"").toString(),r.push(t),this.sort&&r.sort()},this.removeOption=function(t,n){for(n=n||!1,t=(t=t||"").toString();r.indexOf(t)!==-1&&(r.splice(r.indexOf(t),1),n!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,18)},set:function(t){t?this.Ff=jr(this.Ff,18):this.Ff=zr(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,19)},set:function(t){this.combo===!0&&(t?this.Ff=jr(this.Ff,19):this.Ff=zr(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,20)},set:function(t){t?(this.Ff=jr(this.Ff,20),r.sort()):this.Ff=zr(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,22)},set:function(t){t?this.Ff=jr(this.Ff,22):this.Ff=zr(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,23)},set:function(t){t?this.Ff=jr(this.Ff,23):this.Ff=zr(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,27)},set:function(t){t?this.Ff=jr(this.Ff,27):this.Ff=zr(this.Ff,27)}}),this.hasAppearanceStream=!1};Qn(Do,Wi);var Ro=function(){Do.call(this),this.fontName="helvetica",this.combo=!1};Qn(Ro,Do);var Bo=function(){Ro.call(this),this.combo=!0};Qn(Bo,Ro);var dl=function(){Bo.call(this),this.edit=!0};Qn(dl,Bo);var on=function(){Wi.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,15)},set:function(t){t?this.Ff=jr(this.Ff,15):this.Ff=zr(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,16)},set:function(t){t?this.Ff=jr(this.Ff,16):this.Ff=zr(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,17)},set:function(t){t?this.Ff=jr(this.Ff,17):this.Ff=zr(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,26)},set:function(t){t?this.Ff=jr(this.Ff,26):this.Ff=zr(this.Ff,26)}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(a){return a};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),Object.keys(r).length!==0){var n,i=[];for(n in i.push("<<"),r)i.push("/"+n+" ("+Zs(t(r[n]))+")");return i.push(">>"),i.join(`
67`)}},set:function(t){lr(t)==="object"&&(r=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(t){typeof t=="string"&&(r.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(t){var n=t==null?"":t.toString();n.substr(0,1)==="/"&&(n=n.substr(1)),e="/"+qs(n)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(t){e="/"+qs(t)}})};Qn(on,Wi);var pl=function(){on.call(this),this.pushButton=!0};Qn(pl,on);var Mo=function(){on.call(this),this.radio=!0,this.pushButton=!1;var e=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return e},set:function(r){e=r!==void 0?r:[]}})};Qn(Mo,on);var Al=function(){var e,r;Wi.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return e},set:function(i){e=i}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return r},set:function(i){r=i}});var t,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(o){return o};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var a,s=[];for(a in s.push("<<"),n)s.push("/"+a+" ("+Zs(i(n[a]))+")");return s.push(">>"),s.join(`
68`)},set:function(i){lr(i)==="object"&&(n=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(i){typeof i=="string"&&(n.CA=i)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(i){var a=i==null?"":i.toString();a.substr(0,1)==="/"&&(a=a.substr(1)),t="/"+qs(a)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(i){var a=i==null?"":i.toString();a.substr(0,1)==="/"&&(a=a.substr(1)),t="/"+qs(a)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=dt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Qn(Al,Wi),Mo.prototype.setAppearance=function(e){if(!("createAppearanceStream"in e)||!("getCA"in e))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var r in this.Kids)if(this.Kids.hasOwnProperty(r)){var t=this.Kids[r];t.appearanceStreamContent=e.createAppearanceStream(t.optionName),t.caption=e.getCA()}},Mo.prototype.createOption=function(e){var r=new Al;return r.Parent=this,r.optionName=e,this.Kids.push(r),Q_.call(this.scope,r),r};var ml=function(){on.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=dt.CheckBox.createAppearanceStream()};Qn(ml,on);var Ms=function(){Wi.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,13)},set:function(r){r?this.Ff=jr(this.Ff,13):this.Ff=zr(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,21)},set:function(r){r?this.Ff=jr(this.Ff,21):this.Ff=zr(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,23)},set:function(r){r?this.Ff=jr(this.Ff,23):this.Ff=zr(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,24)},set:function(r){r?this.Ff=jr(this.Ff,24):this.Ff=zr(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,25)},set:function(r){r?this.Ff=jr(this.Ff,25):this.Ff=zr(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,26)},set:function(r){r?this.Ff=jr(this.Ff,26):this.Ff=zr(this.Ff,26)}});var e=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return e},set:function(r){e=r}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return e},set:function(r){Number.isInteger(r)&&(e=r)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Qn(Ms,Wi);var gl=function(){Ms.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Ur(this.Ff,14)},set:function(e){e?this.Ff=jr(this.Ff,14):this.Ff=zr(this.Ff,14)}}),this.password=!0};Qn(gl,Ms);var dt={CheckBox:{createAppearanceStream:function(){return{N:{On:dt.CheckBox.YesNormal},D:{On:dt.CheckBox.YesPushDown,Off:dt.CheckBox.OffPushDown}}},YesPushDown:function(e){var r=ea(e);r.scope=e.scope;var t=[],n=e.scope.internal.getFont(e.fontName,e.fontStyle).id,i=e.scope.__private__.encodeColorString(e.color),a=Hh(e,e.caption);return t.push("0.749023 g"),t.push("0 0 "+Bt(dt.internal.getWidth(e))+" "+Bt(dt.internal.getHeight(e))+" re"),t.push("f"),t.push("BMC"),t.push("q"),t.push("0 0 1 rg"),t.push("/"+n+" "+Bt(a.fontSize)+" Tf "+i),t.push("BT"),t.push(a.text),t.push("ET"),t.push("Q"),t.push("EMC"),r.stream=t.join(`
69`),r},YesNormal:function(e){var r=ea(e);r.scope=e.scope;var t=e.scope.internal.getFont(e.fontName,e.fontStyle).id,n=e.scope.__private__.encodeColorString(e.color),i=[],a=dt.internal.getHeight(e),s=dt.internal.getWidth(e),o=Hh(e,e.caption);return i.push("1 g"),i.push("0 0 "+Bt(s)+" "+Bt(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Bt(s-1)+" "+Bt(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+t+" "+Bt(o.fontSize)+" Tf "+n),i.push(o.text),i.push("ET"),i.push("Q"),r.stream=i.join(`
70`),r},OffPushDown:function(e){var r=ea(e);r.scope=e.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+Bt(dt.internal.getWidth(e))+" "+Bt(dt.internal.getHeight(e))+" re"),t.push("f"),r.stream=t.join(`
71`),r}},RadioButton:{Circle:{createAppearanceStream:function(e){var r={D:{Off:dt.RadioButton.Circle.OffPushDown},N:{}};return r.N[e]=dt.RadioButton.Circle.YesNormal,r.D[e]=dt.RadioButton.Circle.YesPushDown,r},getCA:function(){return"l"},YesNormal:function(e){var r=ea(e);r.scope=e.scope;var t=[],n=dt.internal.getWidth(e)<=dt.internal.getHeight(e)?dt.internal.getWidth(e)/4:dt.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var i=dt.internal.Bezier_C,a=Number((n*i).toFixed(5));return t.push("q"),t.push("1 0 0 1 "+ts(dt.internal.getWidth(e)/2)+" "+ts(dt.internal.getHeight(e)/2)+" cm"),t.push(n+" 0 m"),t.push(n+" "+a+" "+a+" "+n+" 0 "+n+" c"),t.push("-"+a+" "+n+" -"+n+" "+a+" -"+n+" 0 c"),t.push("-"+n+" -"+a+" -"+a+" -"+n+" 0 -"+n+" c"),t.push(a+" -"+n+" "+n+" -"+a+" "+n+" 0 c"),t.push("f"),t.push("Q"),r.stream=t.join(`
72`),r},YesPushDown:function(e){var r=ea(e);r.scope=e.scope;var t=[],n=dt.internal.getWidth(e)<=dt.internal.getHeight(e)?dt.internal.getWidth(e)/4:dt.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*dt.internal.Bezier_C).toFixed(5)),s=Number((n*dt.internal.Bezier_C).toFixed(5));return t.push("0.749023 g"),t.push("q"),t.push("1 0 0 1 "+ts(dt.internal.getWidth(e)/2)+" "+ts(dt.internal.getHeight(e)/2)+" cm"),t.push(i+" 0 m"),t.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),t.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),t.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),t.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),t.push("f"),t.push("Q"),t.push("0 g"),t.push("q"),t.push("1 0 0 1 "+ts(dt.internal.getWidth(e)/2)+" "+ts(dt.internal.getHeight(e)/2)+" cm"),t.push(n+" 0 m"),t.push(n+" "+s+" "+s+" "+n+" 0 "+n+" c"),t.push("-"+s+" "+n+" -"+n+" "+s+" -"+n+" 0 c"),t.push("-"+n+" -"+s+" -"+s+" -"+n+" 0 -"+n+" c"),t.push(s+" -"+n+" "+n+" -"+s+" "+n+" 0 c"),t.push("f"),t.push("Q"),r.stream=t.join(`
73`),r},OffPushDown:function(e){var r=ea(e);r.scope=e.scope;var t=[],n=dt.internal.getWidth(e)<=dt.internal.getHeight(e)?dt.internal.getWidth(e)/4:dt.internal.getHeight(e)/4;n=Number((.9*n).toFixed(5));var i=Number((2*n).toFixed(5)),a=Number((i*dt.internal.Bezier_C).toFixed(5));return t.push("0.749023 g"),t.push("q"),t.push("1 0 0 1 "+ts(dt.internal.getWidth(e)/2)+" "+ts(dt.internal.getHeight(e)/2)+" cm"),t.push(i+" 0 m"),t.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),t.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),t.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),t.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),t.push("f"),t.push("Q"),r.stream=t.join(`
74`),r}},Cross:{createAppearanceStream:function(e){var r={D:{Off:dt.RadioButton.Cross.OffPushDown},N:{}};return r.N[e]=dt.RadioButton.Cross.YesNormal,r.D[e]=dt.RadioButton.Cross.YesPushDown,r},getCA:function(){return"8"},YesNormal:function(e){var r=ea(e);r.scope=e.scope;var t=[],n=dt.internal.calculateCross(e);return t.push("q"),t.push("1 1 "+Bt(dt.internal.getWidth(e)-2)+" "+Bt(dt.internal.getHeight(e)-2)+" re"),t.push("W"),t.push("n"),t.push(Bt(n.x1.x)+" "+Bt(n.x1.y)+" m"),t.push(Bt(n.x2.x)+" "+Bt(n.x2.y)+" l"),t.push(Bt(n.x4.x)+" "+Bt(n.x4.y)+" m"),t.push(Bt(n.x3.x)+" "+Bt(n.x3.y)+" l"),t.push("s"),t.push("Q"),r.stream=t.join(`
75`),r},YesPushDown:function(e){var r=ea(e);r.scope=e.scope;var t=dt.internal.calculateCross(e),n=[];return n.push("0.749023 g"),n.push("0 0 "+Bt(dt.internal.getWidth(e))+" "+Bt(dt.internal.getHeight(e))+" re"),n.push("f"),n.push("q"),n.push("1 1 "+Bt(dt.internal.getWidth(e)-2)+" "+Bt(dt.internal.getHeight(e)-2)+" re"),n.push("W"),n.push("n"),n.push(Bt(t.x1.x)+" "+Bt(t.x1.y)+" m"),n.push(Bt(t.x2.x)+" "+Bt(t.x2.y)+" l"),n.push(Bt(t.x4.x)+" "+Bt(t.x4.y)+" m"),n.push(Bt(t.x3.x)+" "+Bt(t.x3.y)+" l"),n.push("s"),n.push("Q"),r.stream=n.join(`
76`),r},OffPushDown:function(e){var r=ea(e);r.scope=e.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+Bt(dt.internal.getWidth(e))+" "+Bt(dt.internal.getHeight(e))+" re"),t.push("f"),r.stream=t.join(`
77`),r}}},createDefaultAppearanceStream:function(e){var r=e.scope.internal.getFont(e.fontName,e.fontStyle).id,t=e.scope.__private__.encodeColorString(e.color);return"/"+r+" "+e.fontSize+" Tf "+t}};dt.internal={Bezier_C:.551915024494,calculateCross:function(e){var r=dt.internal.getWidth(e),t=dt.internal.getHeight(e),n=Math.min(r,t);return{x1:{x:(r-n)/2,y:(t-n)/2+n},x2:{x:(r-n)/2+n,y:(t-n)/2},x3:{x:(r-n)/2,y:(t-n)/2},x4:{x:(r-n)/2+n,y:(t-n)/2+n}}}},dt.internal.getWidth=function(e){var r=0;return lr(e)==="object"&&(r=y2(e.Rect[2])),r},dt.internal.getHeight=function(e){var r=0;return lr(e)==="object"&&(r=y2(e.Rect[3])),r};var Q_=Dr.addField=function(e){if(J_(this,e),!(e instanceof Wi))throw new Error("Invalid argument passed to 
77jsPDF.addField.");var r;return(r=e).scope.internal.acroformPlugin.printedOut&&(r.scope.internal.acroformPlugin.printedOut=!1,r.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),r.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(r),e.page=e.scope.internal.getCurrentPageInfo().pageNumber,this};Dr.AcroFormChoiceField=Do,Dr.AcroFormListBox=Ro,Dr.AcroFormComboBox=Bo,Dr.AcroFormEditBox=dl,Dr.AcroFormButton=on,Dr.AcroFormPushButton=pl,Dr.AcroFormRadioButton=Mo,Dr.AcroFormCheckBox=ml,Dr.AcroFormTextField=Ms,Dr.AcroFormPasswordField=gl,Dr.AcroFormAppearance=dt,Dr.AcroForm={ChoiceField:Do,ListBox:Ro,ComboBox:Bo,EditBox:dl,Button:on,PushButton:pl,RadioButton:Mo,CheckBox:ml,TextField:Ms,PasswordField:gl,Appearance:dt},At.AcroForm={ChoiceField:Do,ListBox:Ro,ComboBox:Bo,EditBox:dl,Button:on,PushButton:pl,RadioButton:Mo,CheckBox:ml,TextField:Ms,PasswordField:gl,Appearance:dt};function Rp(e){return e.reduce(function(r,t,n){return r[t]=n,r},{})}(function(e){var r="addImage_";e.__addimage__={};var t="UNKNOWN",n={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=e.__addimage__.getImageFileTypeByImageData=function(A,P){var j,ie,he,Fe,xe,ve=t;if((P=P||t)==="RGBA"||A.data!==void 0&&A.data instanceof Uint8ClampedArray&&"height"in A&&"width"in A)return"RGBA";if(fe(A))for(xe in n)for(he=n[xe],j=0;j<he.length;j+=1){for(Fe=!0,ie=0;ie<he[j].length;ie+=1)if(he[j][ie]!==void 0&&he[j][ie]!==A[ie]){Fe=!1;break}if(Fe===!0){ve=xe;break}}else for(xe in n)for(he=n[xe],j=0;j<he.length;j+=1){for(Fe=!0,ie=0;ie<he[j].length;ie+=1)if(he[j][ie]!==void 0&&he[j][ie]!==A.charCodeAt(ie)){Fe=!1;break}if(Fe===!0){ve=xe;break}}return ve===t&&P!==t&&(ve=P),ve},a=function A(P){for(var j=this.internal.write,ie=this.internal.putStream,he=(0,this.internal.getFilters)();he.indexOf("FlateEncode")!==-1;)he.splice(he.indexOf("FlateEncode"),1);P.objectId=this.internal.newObject();var Fe=[];if(Fe.push({key:"Type",value:"/XObject"}),Fe.push({key:"Subtype",value:"/Image"}),Fe.push({key:"Width",value:P.width}),Fe.push({key:"Height",value:P.height}),P.colorSpace===v.INDEXED?Fe.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(P.palette.length/3-1)+" "+("sMask"in P&&P.sMask!==void 0?P.objectId+2:P.objectId+1)+" 0 R]"}):(Fe.push({key:"ColorSpace",value:"/"+P.colorSpace}),P.colorSpace===v.DEVICE_CMYK&&Fe.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Fe.push({key:"BitsPerComponent",value:P.bitsPerComponent}),"decodeParameters"in P&&P.decodeParameters!==void 0&&Fe.push({key:"DecodeParms",value:"<<"+P.decodeParameters+">>"}),"transparency"in P&&Array.isArray(P.transparency)&&P.transparency.length>0){for(var xe="",ve=0,Le=P.transparency.length;ve<Le;ve++)xe+=P.transparency[ve]+" "+P.transparency[ve]+" ";Fe.push({key:"Mask",value:"["+xe+"]"})}P.sMask!==void 0&&Fe.push({key:"SMask",value:P.objectId+1+" 0 R"});var Ge=P.filter!==void 0?["/"+P.filter]:void 0;if(ie({data:P.data,additionalKeyValues:Fe,alreadyAppliedFilters:Ge,objectId:P.objectId}),j("endobj"),"sMask"in P&&P.sMask!==void 0){var Be,L=(Be=P.sMaskBitsPerComponent)!==null&&Be!==void 0?Be:P.bitsPerComponent,q={width:P.width,height:P.height,colorSpace:"DeviceGray",bitsPerComponent:L,data:P.sMask};"filter"in P&&(q.decodeParameters="/Predictor ".concat(P.predictor," /Colors 1 /BitsPerComponent ").concat(L," /Columns ").concat(P.width),q.filter=P.filter),A.call(this,q)}if(P.colorSpace===v.INDEXED){var te=this.internal.newObject();ie({data:B(new Uint8Array(P.palette)),objectId:te}),j("endobj")}},s=function(){var A=this.internal.collections[r+"images"];for(var P in A)a.call(this,A[P])},o=function(){var A,P=this.internal.collections[r+"images"],j=this.internal.write;for(var ie in P)j("/I"+(A=P[ie]).index,A.objectId,"0","R")},f=function(){this.internal.collections[r+"images"]||(this.internal.collections[r+"images"]={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",o))},l=function(){var A=this.internal.collections[r+"images"];return f.call(this),A},h=function(){return Object.keys(this.internal.collections[r+"images"]).length},g=function(A){return typeof e["process"+A.toUpperCase()]=="function"},p=function(A){return lr(A)==="object"&&A.nodeType===1},u=function(A,P){if(A.nodeName==="IMG"&&A.hasAttribute("src")){var j=""+A.getAttribute("src");if(j.indexOf("data:image/")===0)return ul(unescape(j).split("base64,").pop());var ie=e.loadFile(j,!0);if(ie!==void 0)return ie}if(A.nodeName==="CANVAS"){if(A.width===0||A.height===0)throw new Error("Given canvas must have data. Canvas width: "+A.width+", height: "+A.height);var he;switch(P){case"PNG":he="image/png";break;case"WEBP":he="image/webp";break;default:he="image/jpeg"}return ul(A.toDataURL(he,1).split("base64,").pop())}},_=function(A){var P=this.internal.collections[r+"images"];if(P){for(var j in P)if(A===P[j].alias)return P[j]}},w=function(A,P,j){return A||P||(A=-96,P=-96),A<0&&(A=-1*j.width*72/A/this.internal.scaleFactor),P<0&&(P=-1*j.height*72/P/this.internal.scaleFactor),A===0&&(A=P*j.width/j.height),P===0&&(P=A*j.height/j.width),[A,P]},y=function(A,P,j,ie,he,Fe){var xe=w.call(this,j,ie,he),ve=this.internal.getCoordinateString,Le=this.internal.getVerticalCoordinateString,Ge=l.call(this);if(j=xe[0],ie=xe[1],Ge[he.index]=he,Fe){Fe*=Math.PI/180;var Be=Math.cos(Fe),L=Math.sin(Fe),q=function(ae){return ae.toFixed(4)},te=[q(Be),q(L),q(-1*L),q(Be),0,0,"cm"]}this.internal.write("q"),Fe?(this.internal.write([1,"0","0",1,ve(A),Le(P+ie),"cm"].join(" ")),this.internal.write(te.join(" ")),this.internal.write([ve(j),"0","0",ve(ie),"0","0","cm"].join(" "))):this.internal.write([ve(j),"0","0",ve(ie),ve(A),Le(P+ie),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+he.index+" Do"),this.internal.write("Q")},v=e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var E=e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},S=e.__addimage__.sHashCode=function(A){var P,j,ie=0;if(typeof A=="string")for(j=A.length,P=0;P<j;P++)ie=(ie<<5)-ie+A.charCodeAt(P),ie|=0;else if(fe(A))for(j=A.byteLength/2,P=0;P<j;P++)ie=(ie<<5)-ie+A[P],ie|=0;return ie}
vendor: 4,810 bytes, line 77
77,R=e.__addimage__.validateStringAsBase64=function(A){(A=A||"").toString().trim();var P=!0;return A.length===0&&(P=!1),A.length%4!=0&&(P=!1),/^[A-Za-z0-9+/]+$/.test(A.substr(0,A.length-2))===!1&&(P=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(A.substr(-2))===!1&&(P=!1),P},re=e.__addimage__.extractImageFromDataUrl=function(A){if(A==null||!(A=A.trim()).startsWith("data:"))return null;var P=A.indexOf(",");return P<0?null:A.substring(0,P).trim().endsWith("base64")?A.substring(P+1):null};e.__addimage__.isArrayBuffer=function(A){return A instanceof ArrayBuffer};var fe=e.__addimage__.isArrayBufferView=function(A){return A instanceof Int8Array||A instanceof Uint8Array||A instanceof Uint8ClampedArray||A instanceof Int16Array||A instanceof Uint16Array||A instanceof Int32Array||A instanceof Uint32Array||A instanceof Float32Array||A instanceof Float64Array},O=e.__addimage__.binaryStringToUint8Array=function(A){for(var P=A.length,j=new Uint8Array(P),ie=0;ie<P;ie++)j[ie]=A.charCodeAt(ie);return j},B=e.__addimage__.arrayBufferToBinaryString=function(A){for(var P="",j=fe(A)?A:new Uint8Array(A),ie=0;ie<j.length;ie+=8192)P+=String.fromCharCode.apply(null,j.subarray(ie,ie+8192));return P};e.addImage=function(){var A,P,j,ie,he,Fe,xe,ve,Le;if(typeof arguments[1]=="number"?(P=t,j=arguments[1],ie=arguments[2],he=arguments[3],Fe=arguments[4],xe=arguments[5],ve=arguments[6],Le=arguments[7]):(P=arguments[1],j=arguments[2],ie=arguments[3],he=arguments[4],Fe=arguments[5],xe=arguments[6],ve=arguments[7],Le=arguments[8]),lr(A=arguments[0])==="object"&&!p(A)&&"imageData"in A){var Ge=A;A=Ge.imageData,P=Ge.format||P||t,j=Ge.x||j||0,ie=Ge.y||ie||0,he=Ge.w||Ge.width||he,Fe=Ge.h||Ge.height||Fe,xe=Ge.alias||xe,ve=Ge.compression||ve,Le=Ge.rotation||Ge.angle||Le}var Be=this.internal.getFilters();if(ve===void 0&&Be.indexOf("FlateEncode")!==-1&&(ve="SLOW"),isNaN(j)||isNaN(ie))throw new Error("Invalid coordinates passed to jsPDF.addImage");f.call(this);var L=T.call(this,A,P,xe,ve);return y.call(this,j,ie,he,Fe,L,Le),this};var T=function(A,P,j,ie){var he,Fe,xe;if(typeof A=="string"&&i(A)===t){A=unescape(A);var ve=Q(A,!1);(ve!==""||(ve=e.loadFile(A,!0))!==void 0)&&(A=ve)}if(p(A)&&(A=u(A,P)),P=i(A,P),!g(P))throw new Error("addImage does not support files of type '"+P+"', please ensure that a plugin for '"+P+"' support is added.");if(((xe=j)==null||xe.length===0)&&(j=function(Le){return typeof Le=="string"||fe(Le)?S(Le):fe(Le.data)?S(Le.data):null}(A)),(he=_.call(this,j))||(A instanceof Uint8Array||P==="RGBA"||(Fe=A,A=O(A)),he=this["process"+P.toUpperCase()](A,h.call(this),j,function(Le){return Le&&typeof Le=="string"&&(Le=Le.toUpperCase()),Le in e.image_compression?Le:E.NONE}(ie),Fe)),!he)throw new Error("An unknown error occurred whilst processing the image.");return he},Q=e.__addimage__.convertBase64ToBinaryString=function(A,P){P=typeof P!="boolean"||P;var j,ie="";if(typeof A=="string"){var he;j=(he=re(A))!==null&&he!==void 0?he:A;try{ie=ul(j)}catch(Fe){if(P)throw R(j)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+Fe.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return ie};e.getImageProperties=function(A){var P,j,ie="";if(p(A)&&(A=u(A)),typeof A=="string"&&i(A)===t&&((ie=Q(A,!1))===""&&(ie=e.loadFile(A)||""),A=ie),j=i(A),!g(j))throw new Error("addImage does not support files of type '"+j+"', please ensure that a plugin for '"+j+"' support is added.");if(A instanceof Uint8Array||(A=O(A)),!(P=this["process"+j.toUpperCase()](A)))throw new Error("An unknown error occurred whilst processing the image");return P.fileType=j,P}})(At.API),function(e){var r=function(t){if(t!==void 0&&t!="")return!0};At.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),e.events.push(["putPage",function(t){for(var n,i,a,s=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString,f=this.internal.getPageInfoByObjId(t.objId),l=t.pageContext.annotations,h=!1,g=0;g<l.length&&!h;g++)switch((n=l[g]).type){case"link":(r(n.options.url)||r(n.options.pageNumber))&&(h=!0);break;case"reference":case"text":case"freetext":h=!0}if(h!=0){this.internal.write("/Annots [");for(var p=0;p<l.length;p++){n=l[p];var u=this.internal.pdfEscape,_=this.internal.getEncryptor(t.objId);switch(n.type){case"reference":this.internal.write(" "+n.object.objId+" 0 R ");break;case"text":var w=this.internal.newAdditionalObject(),y=this.internal.newAdditionalObject(),v=this.internal.getEncryptor(w.objId),E=n.title||"Note";a="<</Type /Annot /Subtype /Text "+(i="/Rect ["+s(n.bounds.x)+" "+o(n.bounds.y+n.bounds.h)+" "+s(n.bounds.x+n.bounds.w)+" "+o(n.bounds.y)+"] ")+"/Contents ("+u(v(n.contents))+")",a+=" /Popup "+y.objId+" 0 R",a+=" /P "+f.objId+" 0 R",a+=" /T ("+u(v(E))+") >>
77",w.content=a;var S=w.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+s(n.bounds.x+30)+" "+o(n.bounds.y+n.bounds.h)+" "+s(n.bounds.x+n.bounds.w+30)+" "+o(n.bounds.y)+"] ")+" /Parent "+S,n.open&&(a+=" /Open true"),a+=" >>",y.content=a,this.internal.write(w.objId,"0 R",y.objId,"0 R");break;case"freetext":i="/Rect ["+s(n.bounds.x)+" "+o(n.bounds.y)+" "+s(n.bounds.x+n.bounds.w)+" "+o(n.bounds.y+n.bounds.h)+"] ";var R="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(n.color||"#000000");a="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+u(_(n.contents))+")",a+=" /DS("+u(_(R))+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(n.options.name){var re=this.annotations._nameMap[n.options.name];n.options.pageNumber=re.page,n.options.top=re.y}else n.options.top||(n.options.top=0);if(i="/Rect ["+n.finalBounds.x+" "+n.finalBounds.y+" "+n.finalBounds.w+" "+n.finalBounds.h+"] ",a="",n.options.url)a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+u(_(n.options.url))+") >>";else if(n.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(n.options.pageNumber).objId+" 0 R",n.options.magFactor=n.options.magFactor||"XYZ",n.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+n.options.top+"]";break;case"FitV":n.options.left=n.options.left||0,a+=" /FitV "+n.options.left+"]";break;default:var fe=o(n.options.top);n.options.left=n.options.left||0,n.options.zoom===void 0&&(n.options.zoom=0),a+=" /XYZ "+n.options.left+" "+fe+" "+n.options.zoom+"]"}a!=""&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),e.createAnnotation=function(t){var n=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":n.pageContext.annotations.push(t)}},e.link=function(t,n,i,a,s){var o=this.internal.getCurrentPageInfo(),f=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString;o.pageContext.annotations.push({finalBounds:{x:f(t),y:l(n),w:f(t+i),h:l(n+a)},options:s,type:"link"})},e.textWithLink=function(t,n,i,a){var s,o,f=this.getTextWidth(t),l=this.internal.getLineHeight()/this.internal.scaleFactor;if(a.maxWidth!==void 0){o=a.maxWidth;var h=this.splitTextToSize(t,o).length;s=Math.ceil(l*h)}else o=f,s=l;return this.text(t,n,i,a),i+=.2*l,a.align==="center"&&(n-=f/2),a.align==="right"&&(n-=f),this.link(n,i-l,o,s,a),f},e.getTextWidth=function(t){var n=this.internal.getFontSize();return this.getStringUnitWidth(t)*n/this.internal.scaleFactor}}(At.API),function(e){var r={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,6437
vendor: 51,131 bytes, lines 77-114
777],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},t={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},n={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];e.__arabicParser__={};var a=e.__arabicParser__.isInArabicSubstitutionA=function(w){return r[w.charCodeAt(0)]!==void 0},s=e.__arabicParser__.isArabicLetter=function(w){return typeof w=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(w)},o=e.__arabicParser__.isArabicEndLetter=function(w){return s(w)&&a(w)&&r[w.charCodeAt(0)].length<=2},f=e.__arabicParser__.isArabicAlfLetter=function(w){return s(w)&&i.indexOf(w.charCodeAt(0))>=0};e.__arabicParser__.arabicLetterHasIsolatedForm=function(w){return s(w)&&a(w)&&r[w.charCodeAt(0)].length>=1};var l=e.__arabicParser__.arabicLetterHasFinalForm=function(w){return s(w)&&a(w)&&r[w.charCodeAt(0)].length>=2};e.__arabicParser__.arabicLetterHasInitialForm=function(w){return s(w)&&a(w)&&r[w.charCodeAt(0)].length>=3};var h=e.__arabicParser__.arabicLetterHasMedialForm=function(w){return s(w)&&a(w)&&r[w.charCodeAt(0)].length==4},g=e.__arabicParser__.resolveLigatures=function(w){var y=0,v=t,E="",S=0;for(y=0;y<w.length;y+=1)v[w.charCodeAt(y)]!==void 0?(S++,typeof(v=v[w.charCodeAt(y)])=="number"&&(E+=String.fromCharCode(v),v=t,S=0),y===w.length-1&&(v=t,E+=w.charAt(y-(S-1)),y-=S-1,S=0)):(v=t,E+=w.charAt(y-S),y-=S,S=0);return E};e.__arabicParser__.isArabicDiacritic=function(w){return w!==void 0&&n[w.charCodeAt(0)]!==void 0};var p=e.__arabicParser__.getCorrectForm=function(w,y,v){return s(w)?a(w)===!1?-1:!l(w)||!s(y)&&!s(v)||!s(v)&&o(y)||o(w)&&!s(y)||o(w)&&f(y)||o(w)&&o(y)?0:h(w)&&s(y)&&!o(y)&&s(v)&&l(v)?3:o(w)||!s(v)?1:2:-1},u=function(w){var y=0,v=0,E=0,S="",R="",re="",fe=(w=w||"").split("\\s+"),O=[];for(y=0;y<fe.length;y+=1){for(O.push(""),v=0;v<fe[y].length;v+=1)S=fe[y][v],R=fe[y][v-1],re=fe[y][v+1],s(S)?(E=p(S,R,re),O[y]+=E!==-1?String.fromCharCode(r[S.charCodeAt(0)][E]):S):O[y]+=S;O[y]=g(O[y])}return O.join(" ")},_=e.__arabicParser__.processArabic=e.processArabic=function(){var w,y=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,v=[];if(Array.isArray(y)){var E=0;for(v=[],E=0;E<y.length;E+=1)Array.isArray(y[E])?v.push([u(y[E][0]),y[E][1],y[E][2]]):v.push([u(y[E])]);w=v}else w=u(y);return typeof arguments[0]=="string"?w:(arguments[0].text=w,arguments[0])};e.events.push(["preProcessText",_])}(At.API),At.API.autoPrint=function(e){var r;return(e=e||{}).variant=e.variant||"non-conform",e.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /Named"),this.internal.out("/Type /Action"),this.internal.out("/N /Print"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.out("/OpenAction "+r+" 0 R")})),this},function(e){var r=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(o){t=o}});var n=150;Object.defineProperty(this,"width",{get:function(){return n},set:function(o){n=isNaN(o)||Number.isInteger(o)===!1||o<0?150:o,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=n+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(o){i=isNaN(o)||Number.isInteger(o)===!1||o<0?300:o,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var a=[];Object.defineProperty(this,"childNodes",{get:function(){return a},set:function(o){a=o}});var s={};Object.defineProperty(this,"style",{get:function(){return s},set:function(o){s=o}}),Object.defineProperty(this,"parentNode",{})};r.prototype.getContext=function(t,n){var i;if((t=t||"2d")!=="2d")return null;for(i in n)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=n[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},r.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},e.events.push(["initialized",function(){this.canvas=new r,this.canvas.pdf=this}])}(At.API),function(e){var r={left:0,top:0,bottom:0,right:0},t=!1,n=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},r),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var f=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return f},set:function(w){f=w}});var l=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return l},set:function(w){l=w}});var h=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return h},set:function(w){h=w}});var g=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return g},set:function(w){g=w}});var p=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return p},set:function(w){p=w}});var u=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return u},set:function(w){u=w}});var _=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return _},set:function(w){_=w}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},e.setHeaderFunction=function(f){return n.call(this),this.internal.__cell__.headerFunction=typeof f=="function"?f:void 0,this},e.getTextDimensions=function(f,l){n.call(this);var h=(l=l||{}).fontSize||this.getFontSize(),g=l.font||this.getFont(),p=l.scaleFactor||this.internal.scaleFactor,u=0,_=0,w=0,y=this;if(!Array.isArray(f)&&typeof f!="string"){if(typeof f!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");f=String(f)}var v=l.maxWidth;v>0?typeof f=="string"?f=this.splitTextToSize(f,v):Object.prototype.toString.call(f)==="[object Array]"&&(f=f.reduce(function(S,R){return S.concat(y.splitTextToSize(R,v))},[])):f=Array.isArray(f)?f:[f];for(var E=0;E<f.length;E++)u<(w=this.getStringUnitWidth(f[E],{font:g})*h)&&(u=w);return u!==0&&(_=f.length),{w:u/=p,h:Math.max((_*h*this.getLineHeightFactor()-h*(this.getLineHeightFactor()-1))/p,0)}},e.cellAddPage=function(){n.call(this),this.addPage();var f=this.internal.__cell__.margins||r;return this.internal.__cell__.lastCell=new a(f.left,f.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=e.cell=function(){var f;f=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),n.call(this);var l=this.internal.__cell__.lastCell,h=this.internal.__cell__.padding,g=this.internal.__cell__.margins||r,p=this.internal.__cell__.tableHeaderRow,u=this.internal.__cell__.printHeaders;return l.lineNumber!==void 0&&(l.lineNumber===f.lineNumber?(f.x=(l.x||0)+(l.width||0),f.y=l.y||0):l.y+l.height+f.height+g.bottom>this.getPageHeight()?(this.cellAddPage(),f.y=g.top,u&&p&&(this.printHeaderRow(f.lineNumber,!0),f.y+=p[0].height)):f.y=l.y+l.height||f.y),f.text[0]!==void 0&&(this.rect(f.x,f.y,f.width,f.height,t===!0?"FD":void 0),f.align==="right"?this.text(f.text,f.x+f.width-h,f.y+h,{align:"right",baseline:"top"}):f.align==="center"?this.text(f.text,f.x+f.width/2,f.y+h,{align:"center",baseline:"top",maxWidth:f.width-h-h}):this.text(f.text,f.x+h,f.y+h,{align:"left",baseline:"top",maxWidth:f.width-h-h})),this.internal.__cell__.lastCell=f,this};e.table=function(f,l,h,g,p){if(n.call(this),!h)throw new Error("No data for PDF table.");var u,_,w,y,v=[],E=[],S=[],R={},re={},fe=[],O=[],B=(p=p||{}).autoSize||!1,T=p.printHeaders!==!1,Q=p.css&&p.css["font-size"]!==void 0?16*p.css["font-size"]:p.fontSize||12,A=p.margins||Object.assign({width:this.getPageWidth()},r),P=typeof p.padding=="number"?p.padding:3,j=p.headerBackgroundColor||"#c8c8c8",ie=p.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=T,this.internal.__cell__.margins=A,this.internal.__cell__.table_font_size=Q,this.internal.__cell__.padding=P,this.internal.__cell__.headerBackgroundColor=j,this.internal.__cell__.headerTextColor=ie,this.setFontSize(Q),g==null)E=v=Object.keys(h[0]),S=v.map(function(){return"left"});else if(Array.isArray(g)&&lr(g[0])==="object")for(v=g.map(function(Ge){return Ge.name}),E=g.map(function(Ge){return Ge.prompt||Ge.name||""}),S=g.map(function(Ge){return Ge.align||"left"}),u=0;u<g.length;u+=1)re[g[u].name]=.7499990551181103*g[u].width;else Array.isArray(g)&&typeof g[0]=="string"&&(E=v=g,S=v.map(function(){return"left"}));if(B||Array.isArray(g)&&typeof g[0]=="string")for(u=0;u<v.length;u+=1){for(R[y=v[u]]=h.map(function(Ge){return Ge[y]}),this.setFont(void 0,"bold"),fe.push(this.getTextDimensions(E[u],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),_=R[y],this.setFont(void 0,"normal"),w=0;w<_.length;w+=1)fe.push(this.getTextDimensions(_[w],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);re[y]=Math.max.apply(null,fe)+P+P,fe=[]}if(T){var he={};for(u=0;u<v.length;u+=1)he[v[u]]={},he[v[u]].text=E[u],he[v[u]].align=S[u];var Fe=o.call(this,he,re);O=v.map(function(Ge){return new a(f,l,re[Ge],Fe,he[Ge].text,void 0,he[Ge].align)}),this.setTableHeaderRow(O),this.printHeaderRow(1,!1)}var xe=g.reduce(function(Ge,Be){return Ge[Be.name]=Be.align,Ge},{});for(u=0;u<h.length;u+=1){"rowStart"in p&&p.rowStart instanceof Function&&p.rowStart({row:u,data:h[u]},this);var ve=o.call(this,h[u],re);for(w=0;w<v.length;w+=1){var Le=h[u][v[w]];"cellStart"in p&&p.cellStart instanceof Function&&p.cellStart({row:u,col:w,data:Le},this),s.call(this,new a(f,l,re[v[w]],ve,Le,u+2,xe[v[w]]))}}return this.internal.__cell__.table_x=f,this.internal.__cell__.table_y=l,this};var o=function(f,l){var h=this.internal.__cell__.padding,g=this.internal.__cell__.table_font_size,p=this.internal.scaleFactor;return Object.keys(f).map(function(u){var _=f[u];return this.splitTextToSize(_.hasOwnProperty("text")?_.text:_,l[u]-h-h)},this).map(function(u){return this.getLineHeightFactor()*u.length*g/p+h+h},this).reduce(function(u,_){return Math.max(u,_)},0)};e.setTableHeaderRow=function(f){n.call(this),this.internal.__cell__.tableHeaderRow=f},e.printHeaderRow=function(f,l){if(n.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var h;if(t=!0,typeof this.internal.__cell__.headerFunction=="function"){var g=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(g[0],g[1],g[2],g[3],void 0,-1)}this.setFont(void 0,"bold");for(var p=[],u=0;u<this.internal.__cell__.tableHeaderRow.length;u+=1){h=this.internal.__cell__.tableHeaderRow[u].clone(),l&&(h.y=this.internal.__cell__.margins.top||0,p.push(h)),h.lineNumber=f;var _=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,h),this.setTextColor(_)}p.length>0&&this.setTableHeaderRow(p),this.setFont(void 0,"normal"),t=!1}}(At.API);var Bp={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Mp=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],qh=Rp(Mp),Up=[100,200,300,400,500,600,700,800,900],e4=Rp(Up);function lh(e){var r=e.family.replace(/"|'/g,"").toLowerCase(),t=function(a){return Bp[a=a||"normal"]?a:"normal"}(e.style),n=function(a){return a?typeof a=="number"?a>=100&&a<=900&&a%100==0?a:400:/^\d00$/.test(a)?parseInt(a):a==="bold"?700:400:400}(e.weight),i=function(a){return typeof qh[a=a||"normal"]=="number"?a:"normal"}(e.stretch);return{family:r,style:t,weight:n,stretch:i,src:e.src||[],ref:e.ref||{name:r,style:[i,t,n].join(" ")}}}function b2(e,r,t,n){var i;for(i=t;i>=0&&i<r.length;i+=n)if(e[r[i]])return e[r[i]];for(i=t;i>=0&&i<r.length;i-=n)if(e[r[i]])return e[r[i]]}var t4={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},A2={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function S2(e){return[e.stretch,e.style,e.weight,e.family].join(" ")}function E2(e){return e.trimLeft()}function r4(e,r){for(var t=0;t<e.length;){if(e.charAt(t)===r)return[e.substring(0,t),e.substring(t+1)];t+=1}return null}function n4(e){var r=e.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return r===null?null:[r[0],e.substring(r[0].length)]}var To,Qf,T2,N2,F2,ch=["times"];function L2(e,r,t,n,i){var a=4,s=C2;switch(i){case At.API.image_compression.FAST:a=1,s=k2;break;case At.API.image_compression.MEDIUM:a=6,s=P2;break;case At.API.image_compression.SLOW:a=9,s=I2}e=function(f,l,h,g){for(var p,u=f.length/l,_=new Uint8Array(f.length+u),w=[i4,k2,C2,P2,I2],y=0;y<u;y+=1){var v=y*l,E=f.subarray(v,v+l);if(g)_.set(g(E,h,p),v+y);else{for(var S=w.length,R=[],re=0;re<S;re+=1)R[re]=w[re](E,h,p);var fe=s4(R.concat());_.set(R[fe],v+y)}p=E}return _}(e,r,Math.ceil(t*n/8),s);var o=Ch(e,{level:a});return At.API.__addimage__.arrayBufferToBinaryString(o)}function i4(e){var r=Array.apply([],e);return r.unshift(0),r}function k2(e,r){var t=e.length,n=[];n[0]=1;for(var i=0;i<t;i+=1){var a=e[i-r]||0;n[i+1]=e[i]-a+256&255}return n}function C2(e,r,t){var n=e.length,i=[];i[0]=2;for(var a=0;a<n;a+=1){var s=t&&t[a]||0;i[a+1]=e[a]-s+256&255}return i}function P2(e,r,t){var n=e.length,i=[];i[0]=3;for(var a=0;a<n;a+=1){var s=e[a-r]||0,o=t&&t[a]||0;i[a+1]=e[a]+256-(s+o>>>1)&255}return i}function I2(e,r,t){var n=e.length,i=[];i[0]=4;for(var a=0;a<n;a+=1){var s=a4(e[a-r]||0,t&&t[a]||0,t&&t[a-r]||0);i[a+1]=e[a]-s+256&255}return i}function a4(e,r,t){if(e===r&&r===t)return e;var n=Math.abs(r-t),i=Math.abs(e-t),a=Math.abs(e+r-t-t);return n<=i&&n<=a?e:i<=a?r:t}function s4(e){var r=e.map(function(t){return t.reduce(function(n,i){return n+Math.abs(i)},0)});return r.indexOf(Math.min.apply(null,r))}function hh(e,r,t){var n=r*t,i=Math.floor(n/8),a=16-(n-8*i+t),s=(1<<t)-1;return jp(e,i)>>a&s}function O2(e,r,t,n){var i=t*n,a=Math.floor(i/8),s=16-(i-8*a+n),o=(1<<n)-1,f=(r&o)<<s;(function(l,h,g){if(h+1<l.byteLength)l.setUint16(h,g,!1);else{var p=g>>8&255;l.setUint8(h,p)}})(e,a,jp(e,a)&~(o<<s)&65535|f)}function jp(e,r){return r+1<e.byteLength?e.getUint16(r,!1):e.getUint8(r)<<8}function o4(e){var r=0;if(e[r++]!==71||e[r++]!==73||e[r++]!==70||e[r++]!==56||(e[r++]+1&253)!=56||e[r++]!==97)throw new Error("Invalid GIF 87a/89a header.");var t=e[r++]|e[r++]<<8,n=e[r++]|e[r++]<<8,i=e[r++],a=i>>7,s=1<<1+(7&i);e[r++],e[r++];var o=null,f=null;a&&(o=r,f=s,r+=3*s);var l=!0,h=[],g=0,p=null,u=0,_=null;for(this.width=t,this.height=n;l&&r<e.length;)switch(e[r++]){case 33:switch(e[r++]){case 255:if(e[r]!==11||e[r+1]==78&&e[r+2]==69&&e[r+3]==84&&e[r+4]==83&&e[r+5]==67&&e[r+6]==65&&e[r+7]==80&&e[r+8]==69&&e[r+9]==50&&e[r+10]==46&&e[r+11]==48&&e[r+12]==3&&e[r+13]==1&&e[r+16]==0)r+=14,_=e[r++]|e[r++]<<8,r++;else for(r+=12;;){if(!((A=e[r++])>=0))throw Error("Invalid block size");if(A===0)break;r+=A}break;case 249:if(e[r++]!==4||e[r+4]!==0)throw new Error("Invalid graphics extension block.");var w=e[r++];g=e[r++]|e[r++]<<8,p=e[r++],1&w||(p=null),u=w>>2&7,r++;break;case 254:for(;;){if(!((A=e[r++])>=0))throw Error("Invalid block size");if(A===0)break;r+=A}break;default:throw new Error("Unknown graphic control label: 0x"+e[r-1].toString(16))}break;case 44:var y=e[r++]|e[r++]<<8,v=e[r++]|e[r++]<<8,E=e[r++]|e[r++]<<8,S=e[r++]|e[r++]<<8,R=e[r++],re=R>>6&1,fe=1<<1+(7&R),O=o,B=f,T=!1;R>>7&&(T=!0,O=r,B=fe,r+=3*fe);var Q=r;for(r++;;){var A;if(!((A=e[r++])>=0))throw Error("Invalid block size");if(A===0)break;r+=A}h.push({x:y,y:v,width:E,height:S,has_local_palette:T,palette_offset:O,palette_size:B,data_offset:Q,data_length:r-Q,transparent_index:p,interlaced:!!re,delay:g,disposal:u});break;case 59:l=!1;break;default:throw new Error("Unknown gif block: 0x"+e[r-1].toString(16))}this.numFrames=function(){return h.length},this.loopCount=function(){return _},this.frameInfo=function(P){if(P<0||P>=h.length)throw new Error("Frame index out of range.");return h[P]},this.decodeAndBlitFrameBGRA=function(P,j){var ie=this.frameInfo(P),he=ie.width*ie.height;if(he>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var Fe=new Uint8Array(he);D2(e,ie.data_offset,Fe,he);var xe=ie.palette_offset,ve=ie.transparent_index;ve===null&&(ve=256);var Le=ie.width,Ge=t-Le,Be=Le,L=4*(ie.y*t+ie.x),q=4*((ie.y+ie.height)*t+ie.x),te=L,ae=4*Ge;ie.interlaced===!0&&(ae+=4*t*7);for(var ce=8,de=0,k=Fe.length;de<k;++de){var X=Fe[de];if(Be===0&&(Be=Le,(te+=ae)>=q&&(ae=4*Ge+4*t*(ce-1),te=L+(Le+Ge)*(ce<<1),ce>>=1)),X===ve)te+=4;else{var z=e[xe+3*X],G=e[xe+3*X+1],me=e[xe+3*X+2];j[te++]=me,j[te++]=G,j[te++]=z,j[te++]=255}--Be}},this.decodeAndBlitFrameRGBA=function(P,j){var ie=this.frameInfo(P),he=ie.width*ie.height;if(he>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var Fe=new Uint8Array(he);D2(e,ie.data_offset,Fe,he);var xe=ie.palette_offset,ve=ie.transparent_index;ve===null&&(ve=256);var Le=ie.width,Ge=t-Le,Be=Le,L=4*(ie.y*t+ie.x),q=4*((ie.y+ie.height)*t+ie.x),te=L,ae=4*Ge;ie.interlaced===!0&&(ae+=4*t*7);for(var ce=8,de=0,k=Fe.length;de<k;++de){var X=Fe[de];if(Be===0&&(Be=Le,(te+=ae)>=q&&(ae=4*Ge+4*t*(ce-1),te=L+(Le+Ge)*(ce<<1),ce>>=1)),X===ve)te+=4;else{var z=e[xe+3*X],G=e[xe+3*X+1],me=e[xe+3*X+2];j[te++]=z,j[te++]=G,j[te++]=me,j[te++]=255}--Be}}}function D2(e,r,t,n){for(var i=e[r++],a=1<<i,s=a+1,o=s+1,f=i+1,l=(1<<f)-1,h=0,g=0,p=0,u=e[r++],_=new Int32Array(4096),w=null;;){for(;h<16&&u!==0;)g|=e[r++]<<h,h+=8,u===1?u=e[r++]:--u;if(h<f)break;var y=g&l;if(g>>=f,h-=f,y!==a){if(y===s)break;for(var v=y<o?y:w,E=0,S=v;S>a;)S=_[S]>>8,++E;var R=S;if(p+E+(v!==y?1:0)>n)return void mr.log("Warning, gif stream longer than expected.");t[p++]=R;var re=p+=E;for(v!==y&&(t[p++]=R),S=v;E--;)S=_[S],t[--re]=255&S,S>>=8;w!==null&&o<4096&&(_[o++]=w<<8|R,o>=l+1&&f<12&&(++f,l=l<<1|1)),w=y}else o=s+1,l=(1<<(f=i+1))-1,w=null}return p!==n&&mr.log("Warning, gif stream shorter than expected."),t}/**
78 * @license
79  Copyright (c) 2008, Adobe Systems Incorporated
80  All rights reserved.
81
82  Redistribution and use in source and binary forms, with or without 
83  modification, are permitted provided that the following conditions are
84  met:
85
86  * Redistributions of source code must retain the above copyright notice, 
87    this list of conditions and the following disclaimer.
88  
89  * Redistributions in binary form must reproduce the above copyright
90    notice, this list of conditions and the following disclaimer in the 
91    documentation and/or other materials provided with the distribution.
92  
93  * Neither the name of Adobe Systems Incorporated nor the names of its 
94    contributors may be used to endorse or promote products derived from 
95    this software without specific prior written permission.
96
97  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
98  IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
99  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
100  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
101  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
102  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
103  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
104  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
105  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
106  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
107  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
108*/function uh(e){var r,t,n,i,a,s=Math.floor,o=new Array(64),f=new Array(64),l=new Array(64),h=new Array(64),g=new Array(65535),p=new Array(65535),u=new Array(64),_=new Array(64),w=[],y=0,v=7,E=new Array(64),S=new Array(64),R=new Array(64),re=new Array(256),fe=new Array(2048),O=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],B=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],T=[0,1,2,3,4,5,6,7,8,9,10,11],Q=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],A=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],P=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],j=[0,1,2,3,4,5,6,7,8,9,10,11],ie=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],he=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function Fe(L,q){for(var te=0,ae=0,ce=new Array,de=1;de<=16;de++){for(var k=1;k<=L[de];k++)ce[q[ae]]=[],ce[q[ae]][0]=te,ce[q[ae]][1]=de,ae++,te++;te*=2}return ce}function xe(L){for(var q=L[0],te=L[1]-1;te>=0;)q&1<<te&&(y|=1<<v),te--,--v<0&&(y==255?(ve(255),ve(0)):ve(y),v=7,y=0)}function ve(L){w.push(L)}function Le(L){ve(L>>8&255),ve(255&L)}function Ge(L,q,te,ae,ce){for(var de,k=ce[0],X=ce[240],z=function(ke,it){var tt,ft,Ue,pt,je,Tt,Pt,vt,ct,Ct,se=0;for(ct=0;ct<8;++ct){tt=ke[se],ft=ke[se+1],Ue=ke[se+2],pt=ke[se+3],je=ke[se+4],Tt=ke[se+5],Pt=ke[se+6];var Ye=tt+(vt=ke[se+7]),st=tt-vt,lt=ft+Pt,qe=ft-Pt,St=Ue+Tt,nt=Ue-Tt,Nt=pt+je,ht=pt-je,Ft=Ye+Nt,Gt=Ye-Nt,Wt=lt+St,Et=lt-St;ke[se]=Ft+Wt,ke[se+4]=Ft-Wt;var Jt=.707106781*(Et+Gt);ke[se+2]=Gt+Jt,ke[se+6]=Gt-Jt;var ma=.382683433*((Ft=ht+nt)-(Et=qe+st)),an=.5411961*Ft+ma,Li=1.306562965*Et+ma,xi=.707106781*(Wt=nt+qe),kt=st+xi,ki=st-xi;ke[se+5]=ki+an,ke[se+3]=ki-an,ke[se+1]=kt+Li,ke[se+7]=kt-Li,se+=8}for(se=0,ct=0;ct<8;++ct){tt=ke[se],ft=ke[se+8],Ue=ke[se+16],pt=ke[se+24],je=ke[se+32],Tt=ke[se+40],Pt=ke[se+48];var Ci=tt+(vt=ke[se+56]),vn=tt-vt,Vn=ft+Pt,Er=ft-Pt,Wr=Ue+Tt,C=Ue-Tt,ee=pt+je,W=pt-je,V=Ci+ee,K=Ci-ee,ne=Vn+Wr,ye=Vn-Wr;ke[se]=V+ne,ke[se+32]=V-ne;var Pe=.707106781*(ye+K);ke[se+16]=K+Pe,ke[se+48]=K-Pe;var we=.382683433*((V=W+C)-(ye=Er+vn)),be=.5411961*V+we,Ae=1.306562965*ye+we,Xe=.707106781*(ne=C+Er),Qe=vn+Xe,ot=vn-Xe;ke[se+40]=ot+be,ke[se+24]=ot-be,ke[se+8]=Qe+Ae,ke[se+56]=Qe-Ae,se++}for(ct=0;ct<64;++ct)Ct=ke[ct]*it[ct],u[ct]=Ct>0?Ct+.5|0:Ct-.5|0;return u}(L,q),G=0;G<64;++G)_[O[G]]=z[G];var me=_[0]-te;te=_[0],me==0?xe(ae[0]):(xe(ae[p[de=32767+me]]),xe(g[de]));for(var Ce=63;Ce>0&&_[Ce]==0;)Ce--;if(Ce==0)return xe(k),te;for(var Ie,M=1;M<=Ce;){for(var Ne=M;_[M]==0&&M<=Ce;)++M;var et=M-Ne;if(et>=16){Ie=et>>4;for(var $e=1;$e<=Ie;++$e)xe(X);et&=15}de=32767+_[M],xe(ce[(et<<4)+p[de]]),xe(g[de]),M++}return Ce!=63&&xe(k),te}function Be(L){L=Math.min(Math.max(L,1),100),a!=L&&(function(q){for(var te=[16,11,10,16,24,40,51,61,12,12,14,19,26,58,60,55,14,13,16,24,40,57,69,56,14,17,22,29,51,87,80,62,18,22,37,56,68,109,103,77,24,35,55,64,81,104,113,92,49,64,78,87,103,121,120,101,72,92,95,98,112,100,103,99],ae=0;ae<64;ae++){var ce=s((te[ae]*q+50)/100);ce=Math.min(Math.max(ce,1),255),o[O[ae]]=ce}for(var de=[17,18,24,47,99,99,99,99,18,21,26,66,99,99,99,99,24,26,56,99,99,99,99,99,47,66,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99,99],k=0;k<64;k++){var X=s((de[k]*q+50)/100);X=Math.min(Math.max(X,1),255),f[O[k]]=X}for(var z=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],G=0,me=0;me<8;me++)for(var Ce=0;Ce<8;Ce++)l[G]=1/(o[O[G]]*z[me]*z[Ce]*8),h[G]=1/(f[O[G]]*z[me]*z[Ce]*8),G++}(L<50?Math.floor(5e3/L):Math.floor(200-2*L)),a=L)}this.encode=function(L,q){q&&Be(q),w=new Array,y=0,v=7,Le(65496),Le(65504),Le(16),ve(74),ve(70),ve(73),ve(70),ve(0),ve(1),ve(1),ve(0),Le(1),Le(1),ve(0),ve(0),function(){Le(65499),Le(132),ve(0);for(var ft=0;ft<64;ft++)ve(o[ft]);ve(1);for(var Ue=0;Ue<64;Ue++)ve(f[Ue])}(),function(ft,Ue){Le(65472),Le(17),ve(8),Le(Ue),Le(ft),ve(3),ve(1),ve(17),ve(0),ve(2),ve(17),ve(1),ve(3),ve(17),ve(1)}(L.width,L.height),function(){Le(65476),Le(418),ve(0);for(var ft=0;ft<16;ft++)ve(B[ft+1]);for(var Ue=0;Ue<=11;Ue++)ve(T[Ue]);ve(16);for(var pt=0;pt<16;pt++)ve(Q[pt+1]);for(var je=0;je<=161;je++)ve(A[je]);ve(1);for(var Tt=0;Tt<16;Tt++)ve(P[Tt+1]);for(var Pt=0;Pt<=11;Pt++)ve(j[Pt]);ve(17);for(var vt=0;vt<16;vt++)ve(ie[vt+1]);for(var ct=0;ct<=161;ct++)ve(he[ct])}(),Le(65498),Le(12),ve(3),ve(1),ve(0),ve(2),ve(17),ve(3),ve(17),ve(0),ve(63),ve(0);var te=0,ae=0,ce=0;y=0,v=7,this.encode.displayName="_encode_";for(var de,k,X,z,G,me,Ce,Ie,M,Ne=L.data,et=L.width,$e=L.height,ke=4*et,it=0;it<$e;){for(de=0;de<ke;){for(G=ke*it+de,Ce=-1,Ie=0,M=0;M<64;M++)me=G+(Ie=M>>3)*ke+(Ce=4*(7&M)),it+Ie>=$e&&(me-=ke*(it+1+Ie-$e)),de+Ce>=ke&&(me-=de+Ce-ke+4),k=Ne[me++],X=Ne[me++],z=Ne[me++],E[M]=(fe[k]+fe[X+256|0]+fe[z+512|0]>>16)-128,S[M]=(fe[k+768|0]+fe[X+1024|0]+fe[z+1280|0]>>16)-128,R[M]=(fe[k+1280|0]+fe[X+1536|0]+fe[z+1792|0]>>16)-128;te=Ge(E,l,te,r,n),ae=Ge(S,h,ae,t,i),ce=Ge(R,h,ce,t,i),de+=32}it+=8}if(v>=0){var tt=[];tt[1]=v+1,tt[0]=(1<<v+1)-1,xe(tt)}return Le(65497),new Uint8Array(w)},e=e||50,function(){for(var L=String.fromCharCode,q=0;q<256;q++)re[q]=L(q)}(),r=Fe(B,T),t=Fe(P,j),n=Fe(Q,A),i=Fe(ie,he),function(){for(var L=1,q=2,te=1;te<=15;te++){for(var ae=L;ae<q;ae++)p[32767+ae]=te,g[32767+ae]=[],g[32767+ae][1]=te,g[32767+ae][0]=ae;for(var ce=-(q-1);ce<=-L;ce++)p[32767+ce]=te,g[32767+ce]=[],g[32767+ce][1]=te,g[32767+ce][0]=q-1+ce;L<<=1,q<<=1}}(),function(){for(var L=0;L<256;L++)fe[L]=19595*L,fe[L+256|0]=38470*L,fe[L+512|0]=7471*L+32768,fe[L+768|0]=-11059*L,fe[L+1024|0]=-21709*L,fe[L+1280|0]=32768*L+8421375,fe[L+1536|0]=-27439*L,fe[L+1792|0]=-5329*L}(),Be(e)}/**
109 * @license
110 * Copyright (c) 2017 Aras Abbasi
111 *
112 * Licensed under the MIT License.
113 * http://opensource.org/licenses/mit-license
114 */function Bi(e,r){if(this.pos=0,this.buffer=e,this.datav=new DataView(e.buffer),this.is_with_alpha=!!r,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function R2(e){function r(T){if(!T)throw Error("assert :P")}function t(T,Q,A){for(var P=0;4>P;P++)if(T[Q+P]!=A.charCodeAt(P))return!0;return!1}function n(T,Q,A,P,j){for(var ie=0;ie<j;ie++)T[Q+ie]=A[P+ie]}function i(T,Q,A,P){for(var j=0;j<P;j++)T[Q+j]=A}function a(T){return new Int32Array(T)}function s(T,Q){for(var A=[],P=0;P<T;P++)A.push(new Q);return A}function o(T,Q){var A=[];return function P(j,ie,he){for(var Fe=he[ie],xe=0;xe<Fe&&(j.push(he.length>ie+1?[]:new Q),!(he.length<ie+1));xe++)P(j[xe],ie+1,he)}(A,0,T),A}var f=function(){var T=this;function Q(c,d){for(var x=1<<d-1>>>0;c&x;)x>>>=1;return x?(c&x-1)+x:c}function A(c,d,x,b,F){r(!(b%x));do c[d+(b-=x)]=F;while(0<b)}function P(c,d,x,b,F){if(r(2328>=F),512>=F)var I=a(512);else if((I=a(F))==null)return 0;return function(D,U,H,Z,ue,Te){var J,pe,_e=U,De=1<<H,Se=a(16),Re=a(16);for(r(ue!=0),r(Z!=null),r(D!=null),r(0<H),pe=0;pe<ue;++pe){if(15<Z[pe])return 0;++Se[Z[pe]]}if(Se[0]==ue)return 0;for(Re[1]=0,J=1;15>J;++J){if(Se[J]>1<<J)return 0;Re[J+1]=Re[J]+Se[J]}for(pe=0;pe<ue;++pe)J=Z[pe],0<Z[pe]&&(Te[Re[J]++]=pe);if(Re[15]==1)return(Z=new j).g=0,Z.value=Te[0],A(D,_e,1,De,Z),De;var Me,Ze=-1,Ve=De-1,bt=0,ut=1,Ht=1,_t=1<<H;for(pe=0,J=1,ue=2;J<=H;++J,ue<<=1){if(ut+=Ht<<=1,0>(Ht-=Se[J]))return 0;for(;0<Se[J];--Se[J])(Z=new j).g=J,Z.value=Te[pe++],A(D,_e+bt,ue,_t,Z),bt=Q(bt,J)}for(J=H+1,ue=2;15>=J;++J,ue<<=1){if(ut+=Ht<<=1,0>(Ht-=Se[J]))return 0;for(;0<Se[J];--Se[J]){if(Z=new j,(bt&Ve)!=Ze){for(_e+=_t,Me=1<<(Ze=J)-H;15>Ze&&!(0>=(Me-=Se[Ze]));)++Ze,Me<<=1;De+=_t=1<<(Me=Ze-H),D[U+(Ze=bt&Ve)].g=Me+H,D[U+Ze].value=_e-U-Ze}Z.g=J-H,Z.value=Te[pe++],A(D,_e+(bt>>H),ue,_t,Z),bt=Q(bt,J)}}return ut!=2*Re[15]-1?0:De}(c,d,x,b,F,I)}function j(){this.value=this.g=0}function ie(){this.value=this.g=0}function he(){this.G=s(5,j),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(mo,ie)}function Fe(c,d,x,b){r(c!=null),r(d!=null),r(2147483648>b),c.Ca=254,c.I=0,c.b=-8,c.Ka=0,c.oa=d,c.pa=x,c.Jd=d,c.Yc=x+b,c.Zc=4<=b?x+b-4+1:x,k(c)}function xe(c,d){for(var x=0;0<d--;)x|=z(c,128)<<d;return x}function ve(c,d){var x=xe(c,d);return X(c)?-x:x}function Le(c,d,x,b){var F,I=0;for(r(c!=null),r(d!=null),r(4294967288>b),c.Sb=b,c.Ra=0,c.u=0,c.h=0,4<b&&(b=4),F=0;F<b;++F)I+=d[x+F]<<8*F;c.Ra=I,c.bb=b,c.oa=d,c.pa=x}function Ge(c){for(;8<=c.u&&c.bb<c.Sb;)c.Ra>>>=8,c.Ra+=c.oa[c.pa+c.bb]<<Rn-8>>>0,++c.bb,c.u-=8;ae(c)&&(c.h=1,c.u=0)}function Be(c,d){if(r(0<=d),!c.h&&d<=m0){var x=te(c)&bs[d];return c.u+=d,Ge(c),x}return c.h=1,c.u=0}function L(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function q(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function te(c){return c.Ra>>>(c.u&Rn-1)>>>0}function ae(c){return r(c.bb<=c.Sb),c.h||c.bb==c.Sb&&c.u>Rn}function ce(c,d){c.u=d,c.h=ae(c)}function de(c){c.u>=$n&&(r(c.u>=$n),Ge(c))}function k(c){r(c!=null&&c.oa!=null),c.pa<c.Zc?(c.I=(c.oa[c.pa++]|c.I<<8)>>>0,c.b+=8):(r(c!=null&&c.oa!=null),c.pa<c.Yc?(c.b+=8,c.I=c.oa[c.pa++]|c.I<<8):c.Ka?c.b=0:(c.I<<=8,c.b+=8,c.Ka=1))}function X(c){return xe(c,1)}function z(c,d){var x=c.Ca;0>c.b&&k(c);var b=c.b,F=x*d>>>8,I=(c.I>>>b>F)+0;for(I?(x-=F,c.I-=F+1<<b>>>0):x=F+1,b=x,F=0;256<=b;)F+=8,b>>=8;return b=7^F+go[b],c.b-=b,c.Ca=(x<<b)-1,I}function G(c,d,x){c[d+0]=x>>24&255,c[d+1]=x>>16&255,c[d+2]=x>>8&255,c[d+3]=255&x}function me(c,d){return c[d+0]|c[d+1]<<8}function Ce(c,d){return me(c,d)|c[d+2]<<16}function Ie(c,d){return me(c,d)|me(c,d+2)<<16}function M(c,d){var x=1<<d;return r(c!=null),r(0<d),c.X=a(x),c.X==null?0:(c.Mb=32-d,c.Xa=d,1)}function Ne(c,d){r(c!=null),r(d!=null),r(c.Xa==d.Xa),n(d.X,0,c.X,0,1<<d.Xa)}function et(){this.X=[],this.Xa=this.Mb=0}function $e(c,d,x,b){r(x!=null),r(b!=null);var F=x[0],I=b[0];return F==0&&(F=(c*I+d/2)/d),I==0&&(I=(d*F+c/2)/c),0>=F||0>=I?0:(x[0]=F,b[0]=I,1)}function ke(c,d){return c+(1<<d)-1>>>d}function it(c,d){return((4278255360&c)+(4278255360&d)>>>0&4278255360)+((16711935&c)+(16711935&d)>>>0&16711935)>>>0}function tt(c,d){T[d]=function(x,b,F,I,D,U,H){var Z;for(Z=0;Z<D;++Z){var ue=T[c](U[H+Z-1],F,I+Z);U[H+Z]=it(x[b+Z],ue)}}}function ft(){this.ud=this.hd=this.jd=0}function Ue(c,d){return((4278124286&(c^d))>>>1)+(c&d)>>>0}function pt(c){return 0<=c&&256>c?c:0>c?0:255<c?255:void 0}function je(c,d){return pt(c+(c-d+.5>>1))}function Tt(c,d,x){return Math.abs(d-x)-Math.abs(c-x)}function Pt(c,d,x,b,F,I,D){for(b=I[D-1],x=0;x<F;++x)I[D+x]=b=it(c[d+x],b)}function vt(c,d,x,b,F){var I;for(I=0;I<x;++I){var D=c[d+I],U=D>>8&255,H=16711935&(H=(H=16711935&D)+((U<<16)+U));b[F+I]=(4278255360&D)+H>>>0}}function ct(c,d){d.jd=255&c,d.hd=c>>8&255,d.ud=c>>16&255}function Ct(c,d,x,b,F,I){var D;for(D=0;D<b;++D){var U=d[x+D],H=U>>>8,Z=U,ue=255&(ue=(ue=U>>>16)+((c.jd<<24>>24)*(H<<24>>24)>>>5));Z=255&(Z=(Z+=(c.hd<<24>>24)*(H<<24>>24)>>>5)+((c.ud<<24>>24)*(ue<<24>>24)>>>5)),F[I+D]=(4278255360&U)+(ue<<16)+Z}}function se(c,d,x,b,F){T[d]=function(I,D,U,H,Z,ue,Te,J,pe){for(H=Te;H<J;++H)for(Te=0;Te<pe;++Te)Z[ue++]=F(U[b(I[D++])])},T[c]=function(I,D,U,H,Z,ue,Te){var J=8>>I.b,pe=I.Ea,_e=I.K[0],De=I.w;if(8>J)for(I=(1<<I.b)-1,De=(1<<J)-1;D<U;++D){var Se,Re=0;for(Se=0;Se<pe;++Se)Se&I||(Re=b(H[Z++])),ue[Te++]=F(_e[Re&De]),Re>>=J}else T["VP8LMapColor"+x](H,Z,_e,De,ue,Te,D,U,pe)}}function Ye(c,d,x,b,F){for(x=d+x;d<x;){var I=c[d++];b[F++]=I>>16&255,b[F++]=I>>8&255,b[F++]=255&I}}function st(c,d,x,b,F){for(x=d+x;d<x;){var I=c[d++];b[F++]=I>>16&255,b[F++]=I>>8&255,b[F++]=255&I,b[F++]=I>>24&255}}function lt(c,d,x,b,F){for(x=d+x;d<x;){var I=(D=c[d++])>>16&240|D>>12&15,D=240&D|D>>28&15;b[F++]=I,b[F++]=D}}function qe(c,d,x,b,F){for(x=d+x;d<x;){var I=(D=c[d++])>>16&248|D>>13&7,D=D>>5&224|D>>3&31;b[F++]=I,b[F++]=D}}function St(c,d,x,b,F){for(x=d+x;d<x;){var I=c[d++];b[F++]=255&I,b[F++]=I>>8&255,b[F++]=I>>16&255}}function nt(c,d,x,b,F,I){if(I==0)for(x=d+x;d<x;)G(b,((I=c[d++])[0]>>24|I[1]>>8&65280|I[2]<<8&16711680|I[3]<<24)>>>0),F+=32;else n(b,F,c,d,x)}function Nt(c,d){T[d][0]=T[c+"0"],T[d][1]=T[c+"1"],T[d][2]=T[c+"2"],T[d][3]=T[c+"3"],T[d][4]=T[c+"4"],T[d][5]=T[c+"5"],T[d][6]=T[c+"6"],T[d][7]=T[c+"7"],T[d][8]=T[c+"8"],T[d][9]=T[c+"9"],T[d][10]=T[c+"10"],T[d][11]=T[c+"11"],T[d][12]=T[c+"12"],T[d][13]=T[c+"13"],T[d][14]=T[c+"0"],T[d][15]=T[c+"0"]}function ht(c){return c==Sc||c==Ec||c==kf||c==Tc}function Ft(){this.eb=[],this.size=this.A=this.fb=0}function Gt(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function Wt(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Ft,this.f.kb=new Gt,this.sd=null}function Et(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Jt(){this.Id=this.fd=this.Md=this.hb=this.ib=this.da=this.bd=this.cd=this.j=this.v=this.Da=this.Sd=this.ob=0}function ma(c){return alert("todo:WebPSamplerProcessPlane"),c.T}function an(c,d){var x=c.T,b=d.ba.f.RGBA,F=b.eb,I=b.fb+c.ka*b.A,D=yi[d.ba.S],U=c.y,H=c.O,Z=c.f,ue=c.N,Te=c.ea,J=c.W,pe=d.cc,_e=d.dc,De=d.Mc,Se=d.Nc,Re=c.ka,Me=c.ka+c.T,Ze=c.U,Ve=Ze+1>>1;for(Re==0?D(U,H,null,null,Z,ue,Te,J,Z,ue,Te,J,F,I,null,null,Ze):(D(d.ec,d.fc,U,H,pe,_e,De,Se,Z,ue,Te,J,F,I-b.A,F,I,Ze),++x);Re+2<Me;Re+=2)pe=Z,_e=ue,De=Te,Se=J,ue+=c.Rc,J+=c.Rc,I+=2*b.A,D(U,(H+=2*c.fa)-c.fa,U,H,pe,_e,De,Se,Z,ue,Te,J,F,I-b.A,F,I,Ze);return H+=c.fa,c.j+Me<c.o?(n(d.ec,d.fc,U,H,Ze),n(d.cc,d.dc,Z,ue,Ve),n(d.Mc,d.Nc,Te,J,Ve),x--):1&Me||D(U,H,null,null,Z,ue,Te,J,Z,ue,Te,J,F,I+b.A,null,null,Ze),x}function Li(c,d,x){var b=c.F,F=[c.J];if(b!=null){var I=c.U,D=d.ba.S,U=D==Lf||D==kf;d=d.ba.f.RGBA;var H=[0],Z=c.ka;H[0]=c.T,c.Kb&&(Z==0?--H[0]:(--Z,F[0]-=c.width),c.j+c.ka+c.T==c.o&&(H[0]=c.o-c.j-Z));var ue=d.eb;Z=d.fb+Z*d.A,c=Bu(b,F[0],c.width,I,H,ue,Z+(U?0:3),d.A),r(x==H),c&&ht(D)&&_0(ue,Z,U,I,H,d.A)}return 0}function xi(c){var d=c.ma,x=d.ba.S,b=11>x,F=x==Nf||x==Ff||x==Lf||x==Ac||x==12||ht(x);if(d.memory=null,d.Ib=null,d.Jb=null,d.Nd=null,!_i(d.Oa,c,F?11:12))return 0;if(F&&ht(x)&&ya(),c.da)alert("todo:use_scaling");else{if(b){if(d.Ib=ma,c.Kb){if(x=c.U+1>>1,d.memory=a(c.U+2*x),d.memory==null)return 0;d.ec=d.memory,d.fc=0,d.cc=d.ec,d.dc=d.fc+c.U,d.Mc=d.cc,d.Nc=d.dc+x,d.Ib=an,ya()}}else alert("todo:EmitYUV");F&&(d.Jb=Li,b&&kr())}if(b&&!e1){for(c=0;256>c;++c)Pm[c]=89858*(c-128)+Pf>>Cf,Dm[c]=-22014*(c-128)+Pf,Om[c]=-45773*(c-128),Im[c]=113618*(c-128)+Pf>>Cf;for(c=y0;c<Lc;++c)d=76283*(c-16)+Pf>>Cf,Rm[c-y0]=Hr(d,255),Bm[c-y0]=Hr(d+8>>4,15);e1=1}return 1}function kt(c){var d=c.ma,x=c.U,b=c.T;return r(!(1&c.ka)),0>=x||0>=b?0:(x=d.Ib(c,d),d.Jb!=null&&d.Jb(c,d,x),d.Dc+=x,1)}function ki(c){c.ma.memory=null}function Ci(c,d,x,b){return Be(c,8)!=47?0:(d[0]=Be(c,14)+1,x[0]=Be(c,14)+1,b[0]=Be(c,1),Be(c,3)!=0?0:!c.h)}function vn(c,d){if(4>c)return c+1;var x=c-2>>1;return(2+(1&c)<<x)+Be(d,x)+1}function Vn(c,d){return 120<d?d-120:1<=(x=((x=vm[d-1])>>4)*c+(8-(15&x)))?x:1;var x}function Er(c,d,x){var b=te(x),F=c[d+=255&b].g-8;return 0<F&&(ce(x,x.u+8),b=te(x),d+=c[d].value,d+=b&(1<<F)-1),ce(x,x.u+c[d].g),c[d].value}function Wr(c,d,x){return x.g+=c.g,x.value+=c.value<<d>>>0,r(8>=x.g),c.g}function C(c,d,x){var b=c.xc;return r((d=b==0?0:c.vc[c.md*(x>>b)+(d>>b)])<c.Wb),c.Ya[d]}function ee(c,d,x,b){var F=c.ab,I=c.c*d,D=c.C;d=D+d;var U=x,H=b;for(b=c.Ta,x=c.Ua;0<F--;){var Z=c.gc[F],ue=D,Te=d,J=U,pe=H,_e=(H=b,U=x,Z.Ea);switch(r(ue<Te),r(Te<=Z.nc),Z.hc){case 2:xo(J,pe,(Te-ue)*_e,H,U);break;case 0:var De=ue,Se=Te,Re=H,Me=U,Ze=(_t=Z).Ea;De==0&&(qa(J,pe,null,null,1,Re,Me),Pt(J,pe+1,0,0,Ze-1,Re,Me+1),pe+=Ze,Me+=Ze,++De);for(var Ve=1<<_t.b,bt=Ve-1,ut=ke(Ze,_t.b),Ht=_t.K,_t=_t.w+(De>>_t.b)*ut;De<Se;){var $t=Ht,en=_t,qt=1;for(Ga(J,pe,Re,Me-Ze,1,Re,Me);qt<Ze;){var wt=(qt&~bt)+Ve;wt>Ze&&(wt=Ze),(0,Ii[$t[en++]>>8&15])(J,pe+ +qt,Re,Me+qt-Ze,wt-qt,Re,Me+qt),qt=wt}pe+=Ze,Me+=Ze,++De&bt||(_t+=ut)}Te!=Z.nc&&n(H,U-_e,H,U+(Te-ue-1)*_e,_e);break;case 1:for(_e=J,Se=pe,Ze=(J=Z.Ea)-(Me=J&~(Re=(pe=1<<Z.b)-1)),De=ke(J,Z.b),Ve=Z.K,Z=Z.w+(ue>>Z.b)*De;ue<Te;){for(bt=Ve,ut=Z,Ht=new ft,_t=Se+Me,$t=Se+J;Se<_t;)ct(bt[ut++],Ht),Ss(Ht,_e,Se,pe,H,U),Se+=pe,U+=pe;Se<$t&&(ct(bt[ut++],Ht),Ss(Ht,_e,Se,Ze,H,U),Se+=Ze,U+=Ze),++ue&Re||(Z+=De)}break;case 3:if(J==H&&pe==U&&0<Z.b){for(Se=H,J=_e=U+(Te-ue)*_e-(Me=(Te-ue)*ke(Z.Ea,Z.b)),pe=H,Re=U,De=[],Me=(Ze=Me)-1;0<=Me;--Me)De[Me]=pe[Re+Me];for(Me=Ze-1;0<=Me;--Me)Se[J+Me]=De[Me];As(Z,ue,Te,H,_e,H,U)}else As(Z,ue,Te,J,pe,H,U)}U=b,H=x}H!=x&&n(b,x,U,H,I)}function W(c,d){var x=c.V,b=c.Ba+c.c*c.C,F=d-c.C;if(r(d<=c.l.o),r(16>=F),0<F){var I=c.l,D=c.Ta,U=c.Ua,H=I.width;if(ee(c,F,x,b),F=U=[U],r((x=c.C)<(b=d)),r(I.v<I.va),b>I.o&&(b=I.o),x<I.j){var Z=I.j-x;x=I.j,F[0]+=Z*H}if(x>=b?x=0:(F[0]+=4*I.v,I.ka=x-I.j,I.U=I.va-I.v,I.T=b-x,x=1),x){if(U=U[0],11>(x=c.ca).S){var ue=x.f.RGBA,Te=(b=x.S,F=I.U,I=I.T,Z=ue.eb,ue.A),J=I;for(ue=ue.fb+c.Ma*ue.A;0<J--;){var pe=D,_e=U,De=F,Se=Z,Re=ue;switch(b){case Tf:g0(pe,_e,De,Se,Re);break;case Nf:x0(pe,_e,De,Se,Re);break;case Sc:x0(pe,_e,De,Se,Re),_0(Se,Re,0,De,1,0);break;case qu:Ts(pe,_e,De,Se,Re);break;case Ff:nt(pe,_e,De,Se,Re,1);break;case Ec:nt(pe,_e,De,Se,Re,1),_0(Se,Re,0,De,1,0);break;case Lf:nt(pe,_e,De,Se,Re,0);break;case kf:nt(pe,_e,De,Se,Re,0),_0(Se,Re,1,De,1,0);break;case Ac:vo(pe,_e,De,Se,Re);break;case Tc:vo(pe,_e,De,Se,Re),Ru(Se,Re,De,1,0);break;case Gu:Es(pe,_e,De,Se,Re);break;default:r(0)}U+=H,ue+=Te}c.Ma+=I}else alert("todo:EmitRescaledRowsYUVA");r(c.Ma<=x.height)}}c.C=d,r(c.C<=c.i)}function V(c){var d;if(0<c.ua)return 0;for(d=0;d<c.Wb;++d){var x=c.Ya[d].G,b=c.Ya[d].H;if(0<x[1][b[1]+0].g||0<x[2][b[2]+0].g||0<x[3][b[3]+0].g)return 0}return 1}function K(c,d,x,b,F,I){if(c.Z!=0){var D=c.qd,U=c.rd;for(r(Ya[c.Z]!=null);d<x;++d)Ya[c.Z](D,U,b,F,b,F,I),D=b,U=F,F+=I;c.qd=D,c.rd=U}}function ne(c,d){var x=c.l.ma,b=x.Z==0||x.Z==1?c.l.j:c.C;if(b=c.C<b?b:c.C,r(d<=c.l.o),d>b){var F=c.l.width,I=x.ca,D=x.tb+F*b,U=c.V,H=c.Ba+c.c*b,Z=c.gc;r(c.ab==1),r(Z[0].hc==3),yc(Z[0],b,d,U,H,I,D),K(x,b,d,I,D,F)}c.C=c.Ma=d}function ye(c,d,x,b,F,I,D){var U=c.$/b,H=c.$%b,Z=c.m,ue=c.s,Te=x+c.$,J=Te;F=x+b*F;var pe=x+b*I,_e=280+ue.ua,De=c.Pb?U:16777216,Se=0<ue.ua?ue.Wa:null,Re=ue.wc,Me=Te<pe?C(ue,H,U):null;r(c.C<I),r(pe<=F);var Ze=!1;e:for(;;){for(;Ze||Te<pe;){var Ve=0;if(U>=De){var bt=Te-x;r((De=c).Pb),De.wd=De.m,De.xd=bt,0<De.s.ua&&Ne(De.s.Wa,De.s.vb),De=U+wm}if(H&Re||(Me=C(ue,H,U)),r(Me!=null),Me.Qb&&(d[Te]=Me.qb,Ze=!0),!Ze)if(de(Z),Me.jc){Ve=Z,bt=d;var ut=Te,Ht=Me.pd[te(Ve)&mo-1];r(Me.jc),256>Ht.g?(ce(Ve,Ve.u+Ht.g),bt[ut]=Ht.value,Ve=0):(ce(Ve,Ve.u+Ht.g-256),r(256<=Ht.value),Ve=Ht.value),Ve==0&&(Ze=!0)}else Ve=Er(Me.G[0],Me.H[0],Z);if(Z.h)break;if(Ze||256>Ve){if(!Ze)if(Me.nd)d[Te]=(Me.qb|Ve<<8)>>>0;else{if(de(Z),Ze=Er(Me.G[1],Me.H[1],Z),de(Z),bt=Er(Me.G[2],Me.H[2],Z),ut=Er(Me.G[3],Me.H[3],Z),Z.h)break;d[Te]=(ut<<24|Ze<<16|Ve<<8|bt)>>>0}if(Ze=!1,++Te,++H>=b&&(H=0,++U,D!=null&&U<=I&&!(U%16)&&D(c,U),Se!=null))for(;J<Te;)Ve=d[J++],Se.X[(506832829*Ve&4294967295)>>>Se.Mb]=Ve}else if(280>Ve){if(Ve=vn(Ve-256,Z),bt=Er(Me.G[4],Me.H[4],Z),de(Z),bt=Vn(b,bt=vn(bt,Z)),Z.h)break;if(Te-x<bt||F-Te<Ve)break e;for(ut=0;ut<Ve;++ut)d[Te+ut]=d[Te+ut-bt];for(Te+=Ve,H+=Ve;H>=b;)H-=b,++U,D!=null&&U<=I&&!(U%16)&&D(c,U);if(r(Te<=F),H&Re&&(Me=C(ue,H,U)),Se!=null)for(;J<Te;)Ve=d[J++],Se.X[(506832829*Ve&4294967295)>>>Se.Mb]=Ve}else{if(!(Ve<_e))break e;for(Ze=Ve-280,r(Se!=null);J<Te;)Ve=d[J++],Se.X[(506832829*Ve&4294967295)>>>Se.Mb]=Ve;Ve=Te,r(!(Ze>>>(bt=Se).Xa)),d[Ve]=bt.X[Ze],Ze=!0}Ze||r(Z.h==ae(Z))}if(c.Pb&&Z.h&&Te<F)r(c.m.h),c.a=5,c.m=c.wd,c.$=c.xd,0<c.s.ua&&Ne(c.s.vb,c.s.Wa);else{if(Z.h)break e;D!=null&&D(c,U>I?I:U),c.a=0,c.$=Te-x}return 1}return c.a=3,0}function Pe(c){r(c!=null),c.vc=null,c.yc=null,c.Ya=null;var d=c.Wa;d!=null&&(d.X=null),c.vb=null,r(c!=null)}function we(){var c=new gt;return c==null?null:(c.a=0,c.xb=Xu,Nt("Predictor","VP8LPredictors"),Nt("Predictor","VP8LPredictors_C"),Nt("PredictorAdd","VP8LPredictorsAdd"),Nt("PredictorAdd","VP8LPredictorsAdd_C"),xo=vt,Ss=Ct,g0=Ye,x0=st,vo=lt,Es=qe,Ts=St,T.VP8LMapColor32b=Vr,T.VP8LMapColor8b=Ki,c)}function be(c,d,x,b,F){var I=1,D=[c],U=[d],H=b.m,Z=b.s,ue=null,Te=0;e:for(;;){if(x)for(;I&&Be(H,1);){var J=D,pe=U,_e=b,De=1,Se=_e.m,Re=_e.gc[_e.ab],Me=Be(Se,2);if(_e.Oc&1<<Me)I=0;else{switch(_e.Oc|=1<<Me,Re.hc=Me,Re.Ea=J[0],Re.nc=pe[0],Re.K=[null],++_e.ab,r(4>=_e.ab),Me){case 0:case 1:Re.b=Be(Se,3)+2,De=be(ke(Re.Ea,Re.b),ke(Re.nc,Re.b),0,_e,Re.K),Re.K=Re.K[0];break;case 3:var Ze,Ve=Be(Se,8)+1,bt=16<Ve?0:4<Ve?1:2<Ve?2:3;if(J[0]=ke(Re.Ea,bt),Re.b=bt,Ze=De=be(Ve,1,0,_e,Re.K)){var ut,Ht=Ve,_t=Re,$t=1<<(8>>_t.b),en=a($t);if(en==null)Ze=0;else{var qt=_t.K[0],wt=_t.w;for(en[0]=_t.K[0][0],ut=1;ut<1*Ht;++ut)en[ut]=it(qt[wt+ut],en[ut-1]);for(;ut<4*$t;++ut)en[ut]=0;_t.K[0]=null,_t.K[0]=en,Ze=1}}De=Ze;break;case 2:break;default:r(0)}I=De}}if(D=D[0],U=U[0],I&&Be(H,1)&&!(I=1<=(Te=Be(H,4))&&11>=Te)){b.a=3;break e}var at;if(at=I)t:{var Br,Ut,Yt,yr=b,cn=D,Bn=U,Ir=Te,bn=x,Mn=yr.m,tn=yr.s,Zt=[null],ar=1,Or=0,sr=_m[Ir];r:for(;;){if(bn&&Be(Mn,1)){var hn=Be(Mn,3)+2,Di=ke(cn,hn),Mr=ke(Bn,hn),Xn=Di*Mr;if(!be(Di,Mr,0,yr,Zt))break r;for(Zt=Zt[0],tn.xc=hn,Br=0;Br<Xn;++Br){var pr=Zt[Br]>>8&65535;Zt[Br]=pr,pr>=ar&&(ar=pr+1)}}if(Mn.h)break r;for(Ut=0;5>Ut;++Ut){var rn=Vu[Ut];!Ut&&0<Ir&&(rn+=1<<Ir),Or<rn&&(Or=rn)}var ri=s(ar*sr,j),Un=ar,ni=s(Un,he);if(ni==null)var ii=null;else r(65536>=Un),ii=ni;var Yn=a(Or);if(ii==null||Yn==null||ri==null){yr.a=1;break r}var ai=ri;for(Br=Yt=0;Br<ar;++Br){var _r=ii[Br],si=_r.G,Ri=_r.H,Ns=0,Ea=1,un=0;for(Ut=0;5>Ut;++Ut){rn=Vu[Ut],si[Ut]=ai,Ri[Ut]=Yt,!Ut&&0<Ir&&(rn+=1<<Ir);i:{var Of,kc=rn,Df=yr,b0=Yn,jm=ai,zm=Yt,Cc=0,Ka=Df.m,Wm=Be(Ka,1);if(i(b0,0,0,kc),Wm){var Hm=Be(Ka,1)+1,qm=Be(Ka,1),n1=Be(Ka,qm==0?1:8);b0[n1]=1,Hm==2&&(b0[n1=Be(Ka,8)]=1);var Rf=1}else{var i1=a(19),a1=Be(Ka,4)+4;if(19<a1){Df.a=3;var Bf=0;break i}for(Of=0;Of<a1;++Of)i1[xm[Of]]=Be(Ka,3);var Pc=void 0,A0=void 0,s1=Df,Gm=i1,Mf=kc,o1=b0,Ic=0,Za=s1.m,f1=8,l1=s(128,j);n:for(;P(l1,0,7,Gm,19);){if(Be(Za,1)){var Vm=2+2*Be(Za,3);if((Pc=2+Be(Za,Vm))>Mf)break n}else Pc=Mf;for(A0=0;A0<Mf&&Pc--;){de(Za);var c1=l1[0+(127&te(Za))];ce(Za,Za.u+c1.g);var yo=c1.value;if(16>yo)o1[A0++]=yo,yo!=0&&(f1=yo);else{var $m=yo==16,h1=yo-16,Xm=mm[h1],u1=Be(Za,pm[h1])+Xm;if(A0+u1>Mf)break n;for(var Ym=$m?f1:0;0<u1--;)o1[A0++]=Ym}}Ic=1;break n}Ic||(s1.a=3),Rf=Ic}(Rf=Rf&&!Ka.h)&&(Cc=P(jm,zm,8,b0,kc)),Rf&&Cc!=0?Bf=Cc:(Df.a=3,Bf=0)}if(Bf==0)break r;if(Ea&&gm[Ut]==1&&(Ea=ai[Yt].g==0),Ns+=ai[Yt].g,Yt+=Bf,3>=Ut){var S0,Oc=Yn[0];for(S0=1;S0<rn;++S0)Yn[S0]>Oc&&(Oc=Yn[S0]);un+=Oc}}if(_r.nd=Ea,_r.Qb=0,Ea&&(_r.qb=(si[3][Ri[3]+0].value<<24|si[1][Ri[1]+0].value<<16|si[2][Ri[2]+0].value)>>>0,Ns==0&&256>si[0][Ri[0]+0].value&&(_r.Qb=1,_r.qb+=si[0][Ri[0]+0].value<<8)),_r.jc=!_r.Qb&&6>un,_r.jc){var Uf,Ta=_r;for(Uf=0;Uf<mo;++Uf){var Ja=Uf,Qa=Ta.pd[Ja],jf=Ta.G[0][Ta.H[0]+Ja];256<=jf.value?(Qa.g=jf.g+256,Qa.value=jf.value):(Qa.g=0,Qa.value=0,Ja>>=Wr(jf,8,Qa),Ja>>=Wr(Ta.G[1][Ta.H[1]+Ja],16,Qa),Ja>>=Wr(Ta.G[2][Ta.H[2]+Ja],0,Qa),Wr(Ta.G[3][Ta.H[3]+Ja],24,Qa))}}}tn.vc=Zt,tn.Wb=ar,tn.Ya=ii,tn.yc=ri,at=1;break t}at=0}if(!(I=at)){b.a=3;break e}if(0<Te){if(Z.ua=1<<Te,!M(Z.Wa,Te)){b.a=1,I=0;break e}}else Z.ua=0;var Dc=b,d1=D,Km=U,Rc=Dc.s,Bc=Rc.xc;if(Dc.c=d1,Dc.i=Km,Rc.md=ke(d1,Bc),Rc.wc=Bc==0?-1:(1<<Bc)-1,x){b.xb=Nm;break e}if((ue=a(D*U))==null){b.a=1,I=0;break e}I=(I=ye(b,ue,0,D,U,U,null))&&!H.h;break e}return I?(F!=null?F[0]=ue:(r(ue==null),r(x)),b.$=0,x||Pe(Z)):Pe(Z),I}function Ae(c,d){var x=c.c*c.i,b=x+d+16*d;return r(c.c<=d),c.V=a(b),c.V==null?(c.Ta=null,c.Ua=0,c.a=1,0):(c.Ta=c.V,c.Ua=c.Ba+x+d,1)}function Xe(c,d){var x=c.C,b=d-x,F=c.V,I=c.Ba+c.c*x;for(r(d<=c.l.o);0<b;){var D=16<b?16:b,U=c.l.ma,H=c.l.width,Z=H*D,ue=U.ca,Te=U.tb+H*x,J=c.Ta,pe=c.Ua;ee(c,D,F,I),Mu(J,pe,ue,Te,Z),K(U,x,x+D,ue,Te,H),b-=D,F+=D*c.c,x+=D}r(x==d),c.C=c.Ma=d}function Qe(){this.ub=this.yd=this.td=this.Rb=0}function ot(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Ke(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function rt(){this.Yb=function(){var c=[];return function d(x,b,F){for(var I=F[b],D=0;D<I&&(x.push(F.length>b+1?[]:0),!(F.length<b+1));D++)d(x[D],b+1,F)}(c,0,[3,11]),c}()}function It(){this.jb=a(3),this.Wc=o([4,8],rt),this.Xc=o([4,17],rt)}function ir(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Vt(){this.ld=this.La=this.dd=this.tc=0}function Pr(){this.Na=this.la=0}function qi(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Pi(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Gi(){this.uc=this.M=this.Nb=0,this.wa=Array(new Vt),this.Y=0,this.ya=Array(new Pi),this.aa=0,this.l=new ro}function vi(){this.y=a(16),this.f=a(8),this.ea=a(8)}function Ua(){this.cb=this.a=0,this.sc="",this.m=new L,this.Od=new Qe,this.Kc=new ot,this.ed=new ir,this.Qa=new Ke,this.Ic=this.$c=this.Aa=0,this.D=new Gi,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,L),this.ia=0,this.pb=s(4,qi),this.Pa=new It,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new vi),this.Hd=0,this.rb=Array(new Pr),this.sb=0,this.wa=Array(new Vt),this.Y=0,this.oc=[],this.pc=0,this.sa=[],this.ta=0,this.qa=[],this.ra=0,this.Ha=[],this.B=this.R=this.Ia=0,this.Ec=[],this.M=this.ja=this.Vb=this.Fc=0,this.ya=Array(new Pi),this.L=this.aa=0,this.gd=o([4,2],Vt),this.ga=null,this.Fa=[],this.Cc=this.qc=this.P=0,this.Gb=[],this.Uc=0,this.mb=[],this.nb=0,this.rc=[],this.Ga=this.Vc=0}function Hr(c,d){return 0>c?0:c>d?d:c}function ro(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function ic(){var c=new Ua;return c!=null&&(c.a=0,c.sc="OK",c.cb=0,c.Xb=0,w0||(w0=no)),c}function qr(c,d,x){return c.a==0&&(c.a=d,c.sc=x,c.cb=0),0}function df(c,d,x){return 3<=x&&c[d+0]==157&&c[d+1]==1&&c[d+2]==42}function Vi(c,d){if(c==null)return 0;if(c.a=0,c.sc="OK",d==null)return qr(c,2,"null VP8Io passed to VP8GetHeaders()");var x=d.data,b=d.w,F=d.ha;if(4>F)return qr(c,7,"Truncated header.");var I=x[b+0]|x[b+1]<<8|x[b+2]<<16,D=c.Od;if(D.Rb=!(1&I),D.td=I>>1&7,D.yd=I>>4&1,D.ub=I>>5,3<D.td)return qr(c,3,"Incorrect keyframe parameters.");if(!D.yd)return qr(c,4,"Frame not displayable.");b+=3,F-=3;var U=c.Kc;if(D.Rb){if(7>F)return qr(c,7,"cannot parse picture header");if(!df(x,b,F))return qr(c,3,"Bad code word");U.c=16383&(x[b+4]<<8|x[b+3]),U.Td=x[b+4]>>6,U.i=16383&(x[b+6]<<8|x[b+5]),U.Ud=x[b+6]>>6,b+=7,F-=7,c.za=U.c+15>>4,c.Ub=U.i+15>>4,d.width=U.c,d.height=U.i,d.Da=0,d.j=0,d.v=0,d.va=d.width,d.o=d.height,d.da=0,d.ib=d.width,d.hb=d.height,d.U=d.width,d.T=d.height,i((I=c.Pa).jb,0,255,I.jb.length),r((I=c.Qa)!=null),I.Cb=0,I.Bb=0,I.Fb=1,i(I.Zb,0,0,I.Zb.length),i(I.Lb,0,0,I.Lb)}if(D.ub>F)return qr(c,7,"bad partition length");Fe(I=c.m,x,b,D.ub),b+=D.ub,F-=D.ub,D.Rb&&(U.Ld=X(I),U.Kd=X(I)),U=c.Qa;var H,Z=c.Pa;if(r(I!=null),r(U!=null),U.Cb=X(I),U.Cb){if(U.Bb=X(I),X(I)){for(U.Fb=X(I),H=0;4>H;++H)U.Zb[H]=X(I)?ve(I,7):0;for(H=0;4>H;++H)U.Lb[H]=X(I)?ve(I,6):0}if(U.Bb)for(H=0;3>H;++H)Z.jb[H]=X(I)?xe(I,8):255}else U.Bb=0;if(I.Ka)return qr(c,3,"cannot parse segment header");if((U=c.ed).zd=X(I),U.Tb=xe(I,6),U.wb=xe(I,3),U.Pc=X(I),U.Pc&&X(I)){for(Z=0;4>Z;++Z)X(I)&&(U.vd[Z]=ve(I,6));for(Z=0;4>Z;++Z)X(I)&&(U.od[Z]=ve(I,6))}if(c.L=U.Tb==0?0:U.zd?1:2,I.Ka)return qr(c,3,"cannot parse filter header");var ue=F;if(F=H=b,b=H+ue,U=ue,c.Xb=(1<<xe(c.m,2))-1,ue<3*(Z=c.Xb))x=7;else{for(H+=3*Z,U-=3*Z,ue=0;ue<Z;++ue){var Te=x[F+0]|x[F+1]<<8|x[F+2]<<16;Te>U&&(Te=U),Fe(c.Jc[+ue],x,H,Te),H+=Te,U-=Te,F+=3}Fe(c.Jc[+Z],x,H,U),x=H<b?0:5}if(x!=0)return qr(c,x,"cannot parse partitions");for(x=xe(H=c.m,7),F=X(H)?ve(H,4):0,b=X(H)?ve(H,4):0,U=X(H)?ve(H,4):0,Z=X(H)?ve(H,4):0,H=X(H)?ve(H,4):0,ue=c.Qa,Te=0;4>Te;++Te){if(ue.Cb){var J=ue.Zb[Te];ue.Fb||(J+=x)}else{if(0<Te){c.pb[Te]=c.pb[0];continue}J=x}var pe=c.pb[Te];pe.Sc[0]=Nc[Hr(J+F,127)],pe.Sc[1]=Fc[Hr(J+0,127)],pe.Eb[0]=2*Nc[Hr(J+b,127)],pe.Eb[1]=101581*Fc[Hr(J+U,127)]>>16,8>pe.Eb[1]&&(pe.Eb[1]=8),pe.Qc[0]=Nc[Hr(J+Z,117)],pe.Qc[1]=Fc[Hr(J+H,127)],pe.lc=J+H}if(!D.Rb)return qr(c,4,"Not a key frame.");for(X(I),D=c.Pa,x=0;4>x;++x){for(F=0;8>F;++F)for(b=0;3>b;++b)for(U=0;11>U;++U)Z=z(I,Em[x][F][b][U])?xe(I,8):Am[x][F][b][U],D.Wc[x][F].Yb[b][U]=Z;for(F=0;17>F;++F)D.Xc[x][F]=D.Wc[x][Tm[F]]}return c.kc=X(I),c.kc&&(c.Bd=xe(I,8)),c.cb=1}function no(c,d,x,b,F,I,D){var U=d[F].Yb[x];for(x=0;16>F;++F){if(!z(c,U[x+0]))return F;for(;!z(c,U[x+1]);)if(U=d[++F].Yb[0],x=0,F==16)return 16;var H=d[F+1].Yb;if(z(c,U[x+2])){var Z=c,ue=0;if(z(Z,(J=U)[(Te=x)+3]))if(z(Z,J[Te+6])){for(U=0,Te=2*(ue=z(Z,J[Te+8]))+(J=z(Z,J[Te+9+ue])),ue=0,J=ym[Te];J[U];++U)ue+=ue+z(Z,J[U]);ue+=3+(8<<Te)}else z(Z,J[Te+7])?(ue=7+2*z(Z,165),ue+=z(Z,145)):ue=5+z(Z,159);else ue=z(Z,J[Te+4])?3+z(Z,J[Te+5]):2;U=H[2]}else ue=1,U=H[1];H=D+bm[F],0>(Z=c).b&&k(Z);var Te,J=Z.b,pe=(Te=Z.Ca>>1)-(Z.I>>J)>>31;--Z.b,Z.Ca+=pe,Z.Ca|=1,Z.I-=(Te+1&pe)<<J,I[H]=((ue^pe)-pe)*b[(0<F)+0]}return 16}function a0(c){var d=c.rb[c.sb-1];d.la=0,d.Na=0,i(c.zc,0,0,c.zc.length),c.ja=0}function ei(c,d,x,b,F){F=c[d+x+32*b]+(F>>3),c[d+x+32*b]=-256&F?0>F?0:255:F}function io(c,d,x,b,F,I){ei(c,d,0,x,b+F),ei(c,d,1,x,b+I),ei(c,d,2,x,b-I
vendor: 6,418 bytes, line 114
114),ei(c,d,3,x,b-F)}function ga(c){return(20091*c>>16)+c}function ln(c,d,x,b){var F,I=0,D=a(16);for(F=0;4>F;++F){var U=c[d+0]+c[d+8],H=c[d+0]-c[d+8],Z=(35468*c[d+4]>>16)-ga(c[d+12]),ue=ga(c[d+4])+(35468*c[d+12]>>16);D[I+0]=U+ue,D[I+1]=H+Z,D[I+2]=H-Z,D[I+3]=U-ue,I+=4,d++}for(F=I=0;4>F;++F)U=(c=D[I+0]+4)+D[I+8],H=c-D[I+8],Z=(35468*D[I+4]>>16)-ga(D[I+12]),ei(x,b,0,0,U+(ue=ga(D[I+4])+(35468*D[I+12]>>16))),ei(x,b,1,0,H+Z),ei(x,b,2,0,H-Z),ei(x,b,3,0,U-ue),I++,b+=32}function pf(c,d,x,b){var F=c[d+0]+4,I=35468*c[d+4]>>16,D=ga(c[d+4]),U=35468*c[d+1]>>16;io(x,b,0,F+D,c=ga(c[d+1]),U),io(x,b,1,F+I,c,U),io(x,b,2,F-I,c,U),io(x,b,3,F-D,c,U)}function ac(c,d,x,b,F){ln(c,d,x,b),F&&ln(c,d+16,x,b+4)}function sc(c,d,x,b){ba(c,d+0,x,b,1),ba(c,d+32,x,b+128,1)}function oc(c,d,x,b){var F;for(c=c[d+0]+4,F=0;4>F;++F)for(d=0;4>d;++d)ei(x,b,d,F,c)}function $i(c,d,x,b){c[d+0]&&yn(c,d+0,x,b),c[d+16]&&yn(c,d+16,x,b+4),c[d+32]&&yn(c,d+32,x,b+128),c[d+48]&&yn(c,d+48,x,b+128+4)}function mf(c,d,x,b){var F,I=a(16);for(F=0;4>F;++F){var D=c[d+0+F]+c[d+12+F],U=c[d+4+F]+c[d+8+F],H=c[d+4+F]-c[d+8+F],Z=c[d+0+F]-c[d+12+F];I[0+F]=D+U,I[8+F]=D-U,I[4+F]=Z+H,I[12+F]=Z-H}for(F=0;4>F;++F)D=(c=I[0+4*F]+3)+I[3+4*F],U=I[1+4*F]+I[2+4*F],H=I[1+4*F]-I[2+4*F],Z=c-I[3+4*F],x[b+0]=D+U>>3,x[b+16]=Z+H>>3,x[b+32]=D-U>>3,x[b+48]=Z-H>>3,b+=64}function ao(c,d,x){var b,F=d-32,I=ti,D=255-c[F-1];for(b=0;b<x;++b){var U,H=I,Z=D+c[d-1];for(U=0;U<x;++U)c[d+U]=H[Z+c[F+U]];d+=32}}function so(c,d){ao(c,d,4)}function s0(c,d){ao(c,d,8)}function fc(c,d){ao(c,d,16)}function lc(c,d){var x;for(x=0;16>x;++x)n(c,d+32*x,c,d-32,16)}function cc(c,d){var x;for(x=16;0<x;--x)i(c,d,c[d-1],16),d+=32}function ja(c,d,x){var b;for(b=0;16>b;++b)i(d,x+32*b,c,16)}function gf(c,d){var x,b=16;for(x=0;16>x;++x)b+=c[d-1+32*x]+c[d+x-32];ja(b>>5,c,d)}function za(c,d){var x,b=8;for(x=0;16>x;++x)b+=c[d-1+32*x];ja(b>>4,c,d)}function hc(c,d){var x,b=8;for(x=0;16>x;++x)b+=c[d+x-32];ja(b>>4,c,d)}function ds(c,d){ja(128,c,d)}function Ot(c,d,x){return c+2*d+x+2>>2}function uc(c,d){var x,b=d-32;for(b=new Uint8Array([Ot(c[b-1],c[b+0],c[b+1]),Ot(c[b+0],c[b+1],c[b+2]),Ot(c[b+1],c[b+2],c[b+3]),Ot(c[b+2],c[b+3],c[b+4])]),x=0;4>x;++x)n(c,d+32*x,b,0,b.length)}function dc(c,d){var x=c[d-1],b=c[d-1+32],F=c[d-1+64],I=c[d-1+96];G(c,d+0,16843009*Ot(c[d-1-32],x,b)),G(c,d+32,16843009*Ot(x,b,F)),G(c,d+64,16843009*Ot(b,F,I)),G(c,d+96,16843009*Ot(F,I,I))}function pc(c,d){var x,b=4;for(x=0;4>x;++x)b+=c[d+x-32]+c[d-1+32*x];for(b>>=3,x=0;4>x;++x)i(c,d+32*x,b,4)}function mc(c,d){var x=c[d-1+0],b=c[d-1+32],F=c[d-1+64],I=c[d-1-32],D=c[d+0-32],U=c[d+1-32],H=c[d+2-32],Z=c[d+3-32];c[d+0+96]=Ot(b,F,c[d-1+96]),c[d+1+96]=c[d+0+64]=Ot(x,b,F),c[d+2+96]=c[d+1+64]=c[d+0+32]=Ot(I,x,b),c[d+3+96]=c[d+2+64]=c[d+1+32]=c[d+0+0]=Ot(D,I,x),c[d+3+64]=c[d+2+32]=c[d+1+0]=Ot(U,D,I),c[d+3+32]=c[d+2+0]=Ot(H,U,D),c[d+3+0]=Ot(Z,H,U)}function gc(c,d){var x=c[d+1-32],b=c[d+2-32],F=c[d+3-32],I=c[d+4-32],D=c[d+5-32],U=c[d+6-32],H=c[d+7-32];c[d+0+0]=Ot(c[d+0-32],x,b),c[d+1+0]=c[d+0+32]=Ot(x,b,F),c[d+2+0]=c[d+1+32]=c[d+0+64]=Ot(b,F,I),c[d+3+0]=c[d+2+32]=c[d+1+64]=c[d+0+96]=Ot(F,I,D),c[d+3+32]=c[d+2+64]=c[d+1+96]=Ot(I,D,U),c[d+3+64]=c[d+2+96]=Ot(D,U,H),c[d+3+96]=Ot(U,H,H)}function xa(c,d){var x=c[d-1+0],b=c[d-1+32],F=c[d-1+64],I=c[d-1-32],D=c[d+0-32],U=c[d+1-32],H=c[d+2-32],Z=c[d+3-32];c[d+0+0]=c[d+1+64]=I+D+1>>1,c[d+1+0]=c[d+2+64]=D+U+1>>1,c[d+2+0]=c[d+3+64]=U+H+1>>1,c[d+3+0]=H+Z+1>>1,c[d+0+96]=Ot(F,b,x),c[d+0+64]=Ot(b,x,I),c[d+0+32]=c[d+1+96]=Ot(x,I,D),c[d+1+32]=c[d+2+96]=Ot(I,D,U),c[d+2+32]=c[d+3+96]=Ot(D,U,H),c[d+3+32]=Ot(U,H,Z)}function va(c,d){var x=c[d+0-32],b=c[d+1-32],F=c[d+2-32],I=c[d+3-32],D=c[d+4-32],U=c[d+5-32],H=c[d+6-32],Z=c[d+7-32];c[d+0+0]=x+b+1>>1,c[d+1+0]=c[d+0+64]=b+F+1>>1,c[d+2+0]=c[d+1+64]=F+I+1>>1,c[d+3+0]=c[d+2+64]=I+D+1>>1,c[d+0+32]=Ot(x,b,F),c[d+1+32]=c[d+0+96]=Ot(b,F,I),c[d+2+32]=c[d+1+96]=Ot(F,I,D),c[d+3+32]=c[d+2+96]=Ot(I,D,U),c[d+3+64]=Ot(D,U,H),c[d+3+96]=Ot(U,H,Z)}function xc(c,d){var x=c[d-1+0],b=c[d-1+32],F=c[d-1+64],I=c[d-1+96];c[d+0+0]=x+b+1>>1,c[d+2+0]=c[d+0+32]=b+F+1>>1,c[d+2+32]=c[d+0+64]=F+I+1>>1,c[d+1+0]=Ot(x,b,F),c[d+3+0]=c[d+1+32]=Ot(b,F,I),c[d+3+32]=c[d+1+64]=Ot(F,I,I),c[d+3+64]=c[d+2+64]=c[d+0+96]=c[d+1+96]=c[d+2+96]=c[d+3+96]=I}function vc(c,d){var x=c[d-1+0],b=c[d-1+32],F=c[d-1+64],I=c[d-1+96],D=c[d-1-32],U=c[d+0-32],H=c[d+1-32],Z=c[d+2-32];c[d+0+0]=c[d+2+32]=x+D+1>>1,c[d+0+32]=c[d+2+64]=b+x+1>>1,c[d+0+64]=c[d+2+96]=F+b+1>>1,c[d+0+96]=I+F+1>>1,c[d+3+0]=Ot(U,H,Z),c[d+2+0]=Ot(D,U,H),c[d+1+0]=c[d+3+32]=Ot(x,D,U),c[d+1+32]=c[d+3+64]=Ot(b,x,D),c[d+1+64]=c[d+3+96]=Ot(F,b,x),c[d+1+96]=Ot(I,F,b)}function oo(c,d){var x;for(x=0;8>x;++x)n(c,d+32*x,c,d-32,8)}function o0(c,d){var x;for(x=0;8>x;++x)i(c,d,c[d-1],8),d+=32}function Xi(c,d,x){var b;for(b=0;8>b;++b)i(d,x+32*b,c,8)}function _c(c,d){var x,b=8;for(x=0;8>x;++x)b+=c[d+x-32]+c[d-1+32*x];Xi(b>>4,c,d)}function fo(c,d){var x,b=4;for(x=0;8>x;++x)b+=c[d+x-32];Xi(b>>3,c,d)}function wc(c,d){var x,b=4;for(x=0;8>x;++x)b+=c[d-1+32*x];Xi(b>>3,c,d)}function f0(c,d){Xi(128,c,d)}function Wa(c,d,x){var b=c[d-x],F=c[d+0],I=3*(F-b)+bc[1020+c[d-2*x]-c[d+x]],D=Ef[112+(I+4>>3)];c[d-x]=ti[255+b+Ef[112+(I+3>>3)]],c[d+0]=ti[255+F-D]}function l0(c,d,x,b){var F=c[d+0],I=c[d+x];return wi[255+c[d-2*x]-c[d-x]]>b||wi[255+I-F]>b}function ps(c,d,x,b){return 4*wi[255+c[d-x]-c[d+0]]+wi[255+c[d-2*x]-c[d+x]]<=b}function c0(c,d,x,b,F){var I=c[d-3*x],D=c[d-2*x],U=c[d-x],H=c[d+0],Z=c[d+x],ue=c[d+2*x],Te=c[d+3*x];return 4*wi[255+U-H]+wi[255+D-Z]>b?0:wi[255+c[d-4*x]-I]<=F&&wi[255+I-D]<=F&&wi[255+D-U]<=F&&wi[255+Te-ue]<=F&&wi[255+ue-Z]<=F&&wi[255+Z-H]<=F}function lo(c,d,x,b){var F=2*b+1;for(b=0;16>b;++b)ps(c,d+b,x,F)&&Wa(c,d+b,x)}function h0(c,d,x,b){var F=2*b+1;for(b=0;16>b;++b)ps(c,d+b*x,1,F)&&Wa(c,d+b*x,1)}function co(c,d,x,b){var F;for(F=3;0<F;--F)lo(c,d+=4*x,x,b)}function xf(c,d,x,b){var F;for(F=3;0<F;--F)h0(c,d+=4,x,b)}function _a(c,d,x,b,F,I,D,U){for(I=2*I+1;0<F--;){if(c0(c,d,x,I,D))if(l0(c,d,x,U))Wa(c,d,x);else{var H=c,Z=d,ue=x,Te=H[Z-2*ue],J=H[Z-ue],pe=H[Z+0],_e=H[Z+ue],De=H[Z+2*ue],Se=27*(Me=bc[1020+3*(pe-J)+bc[1020+Te-_e]])+63>>7,Re=18*Me+63>>7,Me=9*Me+63>>7;H[Z-3*ue]=ti[255+H[Z-3*ue]+Me],H[Z-2*ue]=ti[255+Te+Re],H[Z-ue]=ti[255+J+Se],H[Z+0]=ti[255+pe-Se],H[Z+ue]=ti[255+_e-Re],H[Z+2*ue]=ti[255+De-Me]}d+=b}}function wa(c,d,x,b,F,I,D,U){for(I=2*I+1;0<F--;){if(c0(c,d,x,I,D))if(l0(c,d,x,U))Wa(c,d,x);else{var H=c,Z=d,ue=x,Te=H[Z-ue],J=H[Z+0],pe=H[Z+ue],_e=Ef[112+(4+(De=3*(J-Te))>>3)],De=Ef[112+(De+3>>3)],Se=_e+1>
vendor: 13,279 bytes, line 114
114>1;H[Z-2*ue]=ti[255+H[Z-2*ue]+Se],H[Z-ue]=ti[255+Te+De],H[Z+0]=ti[255+J-_e],H[Z+ue]=ti[255+pe-Se]}d+=b}}function vf(c,d,x,b,F,I){_a(c,d,x,1,16,b,F,I)}function _f(c,d,x,b,F,I){_a(c,d,1,x,16,b,F,I)}function wf(c,d,x,b,F,I){var D;for(D=3;0<D;--D)wa(c,d+=4*x,x,1,16,b,F,I)}function ms(c,d,x,b,F,I){var D;for(D=3;0<D;--D)wa(c,d+=4,1,x,16,b,F,I)}function yf(c,d,x,b,F,I,D,U){_a(c,d,F,1,8,I,D,U),_a(x,b,F,1,8,I,D,U)}function m(c,d,x,b,F,I,D,U){_a(c,d,1,F,8,I,D,U),_a(x,b,1,F,8,I,D,U)}function N(c,d,x,b,F,I,D,U){wa(c,d+4*F,F,1,8,I,D,U),wa(x,b+4*F,F,1,8,I,D,U)}function Y(c,d,x,b,F,I,D,U){wa(c,d+4,1,F,8,I,D,U),wa(x,b+4,1,F,8,I,D,U)}function le(){this.ba=new Wt,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Jt,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function ge(){this.data=[],this.offset=this.kd=this.ha=this.w=0,this.na=[],this.xa=this.gb=this.Ja=this.Sa=this.P=0}function Oe(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function We(){this.ua=0,this.Wa=new et,this.vb=new et,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new he,this.yc=new j}function gt(){this.xb=this.a=0,this.l=new ro,this.ca=new Wt,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new q,this.Pb=0,this.wd=new q,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new We,this.ab=0,this.gc=s(4,Oe),this.Oc=0}function mt(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ro,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Rt(c,d,x,b,F,I,D){for(c=c==null?0:c[d+0],d=0;d<D;++d)F[I+d]=c+x[b+d]&255,c=F[I+d]}function Mt(c,d,x,b,F,I,D){var U;if(c==null)Rt(null,null,x,b,F,I,D);else for(U=0;U<D;++U)F[I+U]=c[d+U]+x[b+U]&255}function Xt(c,d,x,b,F,I,D){if(c==null)Rt(null,null,x,b,F,I,D);else{var U,H=c[d+0],Z=H,ue=H;for(U=0;U<D;++U)Z=ue+(H=c[d+U])-Z,ue=x[b+U]+(-256&Z?0>Z?0:255:Z)&255,Z=H,F[I+U]=ue}}function Gr(c,d,x,b){var F=d.width,I=d.o;if(r(c!=null&&d!=null),0>x||0>=b||x+b>I)return null;if(!c.Cc){if(c.ga==null){var D;if(c.ga=new mt,(D=c.ga==null)||(D=d.width*d.o,r(c.Gb.length==0),c.Gb=a(D),c.Uc=0,c.Gb==null?D=0:(c.mb=c.Gb,c.nb=c.Uc,c.rc=null,D=1),D=!D),!D){D=c.ga;var U=c.Fa,H=c.P,Z=c.qc,ue=c.mb,Te=c.nb,J=H+1,pe=Z-1,_e=D.l;if(r(U!=null&&ue!=null&&d!=null),Ya[0]=null,Ya[1]=Rt,Ya[2]=Mt,Ya[3]=Xt,D.ca=ue,D.tb=Te,D.c=d.width,D.i=d.height,r(0<D.c&&0<D.i),1>=Z)d=0;else if(D.$a=3&U[H+0],D.Z=U[H+0]>>2&3,D.Lc=U[H+0]>>4&3,H=U[H+0]>>6&3,0>D.$a||1<D.$a||4<=D.Z||1<D.Lc||H)d=0;else if(_e.put=kt,_e.ac=xi,_e.bc=ki,_e.ma=D,_e.width=d.width,_e.height=d.height,_e.Da=d.Da,_e.v=d.v,_e.va=d.va,_e.j=d.j,_e.o=d.o,D.$a)e:{r(D.$a==1),d=we();t:for(;;){if(d==null){d=0;break e}if(r(D!=null),D.mc=d,d.c=D.c,d.i=D.i,d.l=D.l,d.l.ma=D,d.l.width=D.c,d.l.height=D.i,d.a=0,Le(d.m,U,J,pe),!be(D.c,D.i,1,d,null)||(d.ab==1&&d.gc[0].hc==3&&V(d.s)?(D.ic=1,U=d.c*d.i,d.Ta=null,d.Ua=0,d.V=a(U),d.Ba=0,d.V==null?(d.a=1,d=0):d=1):(D.ic=0,d=Ae(d,D.c)),!d))break t;d=1;break e}D.mc=null,d=0}else d=pe>=D.c*D.i;D=!d}if(D)return null;c.ga.Lc!=1?c.Ga=0:b=I-x}r(c.ga!=null),r(x+b<=I);e:{if(d=(U=c.ga).c,I=U.l.o,U.$a==0){if(J=c.rc,pe=c.Vc,_e=c.Fa,H=c.P+1+x*d,Z=c.mb,ue=c.nb+x*d,r(H<=c.P+c.qc),U.Z!=0)for(r(Ya[U.Z]!=null),D=0;D<b;++D)Ya[U.Z](J,pe,_e,H,Z,ue,d),J=Z,pe=ue,ue+=d,H+=d;else for(D=0;D<b;++D)n(Z,ue,_e,H,d),J=Z,pe=ue,ue+=d,H+=d;c.rc=J,c.Vc=pe}else{if(r(U.mc!=null),d=x+b,r((D=U.mc)!=null),r(d<=D.i),D.C>=d)d=1;else if(U.ic||kr(),U.ic){U=D.V,J=D.Ba,pe=D.c;var De=D.i,Se=(_e=1,H=D.$/pe,Z=D.$%pe,ue=D.m,Te=D.s,D.$),Re=pe*De,Me=pe*d,Ze=Te.wc,Ve=Se<Me?C(Te,Z,H):null;r(Se<=Re),r(d<=De),r(V(Te));t:for(;;){for(;!ue.h&&Se<Me;){if(Z&Ze||(Ve=C(Te,Z,H)),r(Ve!=null),de(ue),256>(De=Er(Ve.G[0],Ve.H[0],ue)))U[J+Se]=De,++Se,++Z>=pe&&(Z=0,++H<=d&&!(H%16)&&ne(D,H));else{if(!(280>De)){_e=0;break t}De=vn(De-256,ue);var bt,ut=Er(Ve.G[4],Ve.H[4],ue);if(de(ue),!(Se>=(ut=Vn(pe,ut=vn(ut,ue)))&&Re-Se>=De)){_e=0;break t}for(bt=0;bt<De;++bt)U[J+Se+bt]=U[J+Se+bt-ut];for(Se+=De,Z+=De;Z>=pe;)Z-=pe,++H<=d&&!(H%16)&&ne(D,H);Se<Me&&Z&Ze&&(Ve=C(Te,Z,H))}r(ue.h==ae(ue))}ne(D,H>d?d:H);break t}!_e||ue.h&&Se<Re?(_e=0,D.a=ue.h?5:3):D.$=Se,d=_e}else d=ye(D,D.V,D.Ba,D.c,D.i,d,Xe);if(!d){b=0;break e}}x+b>=I&&(c.Cc=1),b=1}if(!b)return null;if(c.Cc&&((b=c.ga)!=null&&(b.mc=null),c.ga=null,0<c.Ga))return alert("todo:WebPDequantizeLevels"),null}return c.nb+x*F}function dr(c,d,x,b,F,I){for(;0<F--;){var D,U=c,H=d+(x?1:0),Z=c,ue=d+(x?0:3);for(D=0;D<b;++D){var Te=Z[ue+4*D];Te!=255&&(Te*=32897,U[H+4*D+0]=U[H+4*D+0]*Te>>23,U[H+4*D+1]=U[H+4*D+1]*Te>>23,U[H+4*D+2]=U[H+4*D+2]*Te>>23)}d+=I}}function hr(c,d,x,b,F){for(;0<b--;){var I;for(I=0;I<x;++I){var D=c[d+2*I+0],U=15&(Z=c[d+2*I+1]),H=4369*U,Z=(240&Z|Z>>4)*H>>16;c[d+2*I+0]=(240&D|D>>4)*H>>16&240|(15&D|D<<4)*H>>16>>4&15,c[d+2*I+1]=240&Z|U}d+=F}}function wr(c,d,x,b,F,I,D,U){var H,Z,ue=255;for(Z=0;Z<F;++Z){for(H=0;H<b;++H){var Te=c[d+H];I[D+4*H]=Te,ue&=Te}d+=x,D+=U}return ue!=255}function Lr(c,d,x,b,F){var I;for(I=0;I<F;++I)x[b+I]=c[d+I]>>8}function kr(){_0=dr,Ru=hr,Bu=wr,Mu=Lr}function _n(c,d,x){T[c]=function(b,F,I,D,U,H,Z,ue,Te,J,pe,_e,De,Se,Re,Me,Ze){var Ve,bt=Ze-1>>1,ut=U[H+0]|Z[ue+0]<<16,Ht=Te[J+0]|pe[_e+0]<<16;r(b!=null);var _t=3*ut+Ht+131074>>2;for(d(b[F+0],255&_t,_t>>16,De,Se),I!=null&&(_t=3*Ht+ut+131074>>2,d(I[D+0],255&_t,_t>>16,Re,Me)),Ve=1;Ve<=bt;++Ve){var $t=U[H+Ve]|Z[ue+Ve]<<16,en=Te[J+Ve]|pe[_e+Ve]<<16,qt=ut+$t+Ht+en+524296,wt=qt+2*($t+Ht)>>3;_t=wt+ut>>1,ut=(qt=qt+2*(ut+en)>>3)+$t>>1,d(b[F+2*Ve-1],255&_t,_t>>16,De,Se+(2*Ve-1)*x),d(b[F+2*Ve-0],255&ut,ut>>16,De,Se+(2*Ve-0)*x),I!=null&&(_t=qt+Ht>>1,ut=wt+en>>1,d(I[D+2*Ve-1],255&_t,_t>>16,Re,Me+(2*Ve-1)*x),d(I[D+2*Ve+0],255&ut,ut>>16,Re,Me+(2*Ve+0)*x)),ut=$t,Ht=en}1&Ze||(_t=3*ut+Ht+131074>>2,d(b[F+Ze-1],255&_t,_t>>16,De,Se+(Ze-1)*x),I!=null&&(_t=3*Ht+ut+131074>>2,d(I[D+Ze-1],255&_t,_t>>16,Re,Me+(Ze-1)*x)))}}function ya(){yi[Tf]=Fm,yi[Nf]=Yu,yi[qu]=Lm,yi[Ff]=Ku,yi[Lf]=Zu,yi[Ac]=Ju,yi[Gu]=km,yi[Sc]=Yu,yi[Ec]=Ku,yi[kf]=Zu,yi[Tc]=Ju}function u0(c){return c&~Cm?0>c?0:255:c>>Qu}function gs(c,d){return u0((19077*c>>8)+(26149*d>>8)-14234)}function xs(c,d,x){return u0((19077*c>>8)-(6419*d>>8)-(13320*x>>8)+8708)}function Ha(c,d){return u0((19077*c>>8)+(33050*d>>8)-17685)}function vs(c,d,x,b,F){b[F+0]=gs(c,x),b[F+1]=xs(c,d,x),b[F+2]=Ha(c,d)}function ho(c,d,x,b,F){b[F+0]=Ha(c,d),b[F+1]=xs(c,d,x),b[F+2]=gs(c,x)}function uo(c,d,x,b,F){var I=xs(c,d,x);d=I<<3&224|Ha(c,d)>>3,b[F+0]=248&gs(c,x)|I>>5,b[F+1]=d}function wn(c,d,x,b,F){var I=240&Ha(c,d)|15;b[F+0]=240&gs(c,x)|xs(c,d,x)>>4,b[F+1]=I}function _s(c,d,x,b,F){b[F+0]=255,vs(c,d,x,b,F+1)}function ws(c,d,x,b,F){ho(c,d,x,b,F),b[F+3]=255}function d0(c,d,x,b,F){vs(c,d,x,b,F),b[F+3]=255}function Yi(c,d,x){T[c]=function(b,F,I,D,U,H,Z,ue,Te){for(var J=ue+(-2&Te)*x;ue!=J;)d(b[F+0],I[D+0],U[H+0],Z,ue),d(b[F+1],I[D+0],U[H+0],Z,ue+x),F+=2,++D,++H,ue+=2*x;1&Te&&d(b[F+0],I[D+0],U[H+0],Z,ue)}}function Dn(c,d,x){return x==0?c==0?d==0?6:5:d==0?4:0:x}function bf(c,d,x,b,F){switch(c>>>30){case 3:ba(d,x,b,F,0);break;case 2:$a(d,x,b,F);break;case 1:yn(d,x,b,F)}}function po(c,d){var x,b,F=d.M,I=d.Nb,D=c.oc,U=c.pc+40,H=c.oc,Z=c.pc+584,ue=c.oc,Te=c.pc+600;for(x=0;16>x;++x)D[U+32*x-1]=129;for(x=0;8>x;++x)H[Z+32*x-1]=129,ue[Te+32*x-1]=129;for(0<F?D[U-1-32]=H[Z-1-32]=ue[Te-1-32]=129:(i(D,U-32-1,127,21),i(H,Z-32-1,127,9),i(ue,Te-32-1,127,9)),b=0;b<c.za;++b){var J=d.ya[d.aa+b];if(0<b){for(x=-1;16>x;++x)n(D,U+32*x-4,D,U+32*x+12,4);for(x=-1;8>x;++x)n(H,Z+32*x-4,H,Z+32*x+4,4),n(ue,Te+32*x-4,ue,Te+32*x+4,4)}var pe=c.Gd,_e=c.Hd+b,De=J.ad,Se=J.Hc;if(0<F&&(n(D,U-32,pe[_e].y,0,16),n(H,Z-32,pe[_e].f,0,8),n(ue,Te-32,pe[_e].ea,0,8)),J.Za){var Re=D,Me=U-32+16;for(0<F&&(b>=c.za-1?i(Re,Me,pe[_e].y[15],4):n(Re,Me,pe[_e+1].y,0,4)),x=0;4>x;x++)Re[Me+128+x]=Re[Me+256+x]=Re[Me+384+x]=Re[Me+0+x];for(x=0;16>x;++x,Se<<=2)Re=D,Me=U+t1[x],Oi[J.Ob[x]](Re,Me),bf(Se,De,16*+x,Re,Me)}else if(Re=Dn(b,F,J.Ob[0]),Xa[Re](D,U),Se!=0)for(x=0;16>x;++x,Se<<=2)bf(Se,De,16*+x,D,U+t1[x]);for(x=J.Gc,Re=Dn(b,F,J.Dd),Sa[Re](H,Z),Sa[Re](ue,Te),Se=De,Re=H,Me=Z,255&(J=0|x)&&(170&J?_o(Se,256,Re,Me):Zi(Se,256,Re,Me)),J=ue,Se=Te,255&(x>>=8)&&(170&x?_o(De,320,J,Se):Zi(De,320,J,Se)),F<c.Ub-1&&(n(pe[_e].y,0,D,U+480,16),n(pe[_e].f,0,H,Z+224,8),n(pe[_e].ea,0,ue,Te+224,8)),x=8*I*c.B,pe=c.sa,_e=c.ta+16*b+16*I*c.R,De=c.qa,J=c.ra+8*b+x,Se=c.Ha,Re=c.Ia+8*b+x,x=0;16>x;++x)n(pe,_e+x*c.R,D,U+32*x,16);for(x=0;8>x;++x)n(De,J+x*c.B,H,Z+32*x,8),n(Se,Re+x*c.B,ue,Te+32*x,8)}}function Af(c,d,x,b,F,I,D,U,H){var Z=[0],ue=[0],Te=0,J=H!=null?H.kd:0,pe=H??new ge;if(c==null||12>x)return 7;pe.data=c,pe.w=d,pe.ha=x,d=[d],x=[x],pe.gb=[pe.gb];e:{var _e=d,De=x,Se=pe.gb;if(r(c!=null),r(De!=null),r(Se!=null),Se[0]=0,12<=De[0]&&!t(c,_e[0],"RIFF")){if(t(c,_e[0]+8,"WEBP")){Se=3;break e}var Re=Ie(c,_e[0]+4);if(12>Re||4294967286<Re){Se=3;break e}if(J&&Re>De[0]-8){Se=7;break e}Se[0]=Re,_e[0]+=12,De[0]-=12}Se=0}if(Se!=0)return Se;for(Re=0<pe.gb[0],x=x[0];;){e:{var Me=c;De=d,Se=x;var Ze=Z,Ve=ue,bt=_e=[0];if((_t=Te=[Te])[0]=0,8>Se[0])Se=7;else{if(!t(Me,De[0],"VP8X")){if(Ie(Me,De[0]+4)!=10){Se=3;break e}if(18>Se[0]){Se=7;break e}var ut=Ie(Me,De[0]+8),Ht=1+Ce(Me,De[0]+12);if(2147483648<=Ht*(Me=1+Ce(Me,De[0]+15))){Se=3;break e}bt!=null&&(bt[0]=ut),Ze!=null&&(Ze[0]=Ht),Ve!=null&&(Ve[0]=Me),De[0]+=18,Se[0]-=18,_t[0]=1}Se=0}}if(Te=Te[0],_e=_e[0],Se!=0)return Se;if(De=!!(2&_e),!Re&&Te)return 3;if(I!=null&&(I[0]=!!(16&_e)),D!=null&&(D[0]=De),U!=null&&(U[0]=0),D=Z[0],_e=ue[0],Te&&De&&H==null){Se=0;break}if(4>x){Se=7;break}if(Re&&Te||!Re&&!Te&&!t(c,d[0],"ALPH")){x=[x],pe.na=[pe.na],pe.P=[pe.P],pe.Sa=[pe.Sa];e:{ut=c,Se=d,Re=x;var _t=pe.gb;Ze=pe.na,Ve=pe.P,bt=pe.Sa,Ht=22,r(ut!=null),r(Re!=null),Me=Se[0];var $t=Re[0];for(r(Ze!=null),r(bt!=null),Ze[0]=null,Ve[0]=null,bt[0]=0;;){if(Se[0]=Me,Re[0]=$t,8>$t){Se=7;break e}var en=Ie(ut,Me+4);if(4294967286<en){Se=3;break e}var qt=8+en+1&-2;if(Ht+=qt,0<_t&&Ht>_t){Se=3;break e}if(!t(ut,Me,"VP8 ")||!t(ut,Me,"VP8L")){Se=0;break e}if($t[0]<qt){Se=7;break e}t(ut,Me,"ALPH")||(Ze[0]=ut,Ve[0]=Me+8,bt[0]=en),Me+=qt,$t-=qt}}if(x=x[0],pe.na=pe.na[0],pe.P=pe.P[0],pe.Sa=pe.Sa[0],Se!=0)break}x=[x],pe.Ja=[pe.Ja],pe.xa=[pe.xa];e:if(_t=c,Se=d,Re=x,Ze=pe.gb[0],Ve=pe.Ja,bt=pe.xa,ut=Se[0],Me=!t(_t,ut,"VP8 "),Ht=!t(_t,ut,"VP8L"),r(_t!=null),r(Re!=null),r(Ve!=null),r(bt!=null),8>Re[0])Se=7;else{if(Me||Ht){if(_t=Ie(_t,ut+4),12<=Ze&&_t>Ze-12){Se=3;break e}if(J&&_t>Re[0]-8){Se=7;break e}Ve[0]=_t,Se[0]+=8,Re[0]-=8,bt[0]=Ht}else bt[0]=5<=Re[0]&&_t[ut+0]==47&&!(_t[ut+4]>>5),Ve[0]=Re[0];Se=0}if(x=x[0],pe.Ja=pe.Ja[0],pe.xa=pe.xa[0],d=d[0],Se!=0)break;if(4294967286<pe.Ja)return 3;if(U==null||De||(U[0]=pe.xa?2:1),D=[D],_e=[_e],pe.xa){if(5>x){Se=7;break}U=D,J=_e,De=I,c==null||5>x?c=0:5<=x&&c[d+0]==47&&!(c[d+4]>>5)?(Re=[0],_t=[0],Ze=[0],Le(Ve=new q,c,d,x),Ci(Ve,Re,_t,Ze)?(U!=null&&(U[0]=Re[0]),J!=null&&(J[0]=_t[0]),De!=null&&(De[0]=Ze[0]),c=1):c=0):c=0}else{if(10>x){Se=7;break}U=_e,c==null||10>x||!df(c,d+3,x-3)?c=0:(J=c[d+0]|c[d+1]<<8|c[d+2]<<16,De=16383&(c[d+7]<<8|c[d+6]),c=16383&(c[d+9]<<8|c[d+8]),1&J||3<(J>>1&7)||!(J>>4&1)||J>>5>=pe.Ja||!De||!c?c=0:(D&&(D[0]=De),U&&(U[0]=c),c=1))}if(!c||(D=D[0],_e=_e[0],Te&&(Z[0]!=D||ue[0]!=_e)))return 3;H!=null&&(H[0]=pe,H.offset=d-H.w,r(4294967286>d-H.w),r(H.offset==H.ha-x));break}return Se==0||Se==7&&Te&&H==null?(I!=null&&(I[0]|=pe.na!=null&&0<pe.na.length),b!=null&&(b[0]=D),F!=null&&(F[0]=_e),0):Se}function _i(c,d,x){var b=d.width,F=d.height,I=0,D=0,U=b,H=F;if(d.Da=c!=null&&0<c.Da,d.Da&&(U=c.cd,H=c.bd,I=c.v,D=c.j,11>x||(I&=-2,D&=-2),0>I||0>D||0>=U||0>=H||I+U>b||D+H>F))return 0;if(d.v=I,d.j=D,d.va=I+U,d.o=D+H,d.U=U,d.T=H,d.da=c!=null&&0<c.da,d.da){if(!$e(U,H,x=[c.ib],I=[c.hb]))return 0;d.ib=x[0],d.hb=I[0]}return d.ob=c!=null&&c.ob,d.Kb=c==null||!c.Sd,d.da&&(d.ob=d.ib<3*b/4&&d.hb<3*F/4,d.Kb=0),1}function ys(c){if(c==null)return 2;if(11>c.S){var d=c.f.RGBA;d.fb+=(c.height-1)*d.A,d.A=-d.A}else d=c.f.kb,c=c.height,d.O+=(c-1)*d.fa,d.fa=-d.fa,d.N+=(c-1>>1)*d.Ab,d.Ab=-d.Ab,d.W+=(c-1>>1)*d.Db,d.Db=-d.Db,d.F!=null&&(d.J+=(c-1)*d.lb,d.lb=-d.lb);return 0}function p0(c,d,x,b){if(b==null||0>=c||0>=d)return 2;if(x!=null){if(x.Da){var F=x.cd,I=x.bd,D=-2&x.v,U=-2&x.j;if(0>D||0>U||0>=F||0>=I||D+F>c||U+I>d)return 2;c=F,d=I}if(x.da){if(!$e(c,d,F=[x.ib],I=[x.hb]))return 2;c=F[0],d=I[0]}}b.width=c,b.height=d;e:{var H=b.width,Z=b.height;if(c=b.S,0>=H||0>=Z||!(c>=Tf&&13>c))c=2;else{if(0>=b.Rd&&b.sd==null){D=I=F=d=0;var ue=(U=H*r1[c])*Z;if(11>c||(I=(Z+1)/2*(d=(H+1)/2),c==12&&(D=(F=H)*Z)),(Z=a(ue+2*I+D))==null){c=1;break e}b.sd=Z,11>c?((H=b.f.RGBA).eb=Z,H.fb=0,H.A=U,H.size=ue):((H=b.f.kb).y=Z,H.O=0,H.fa=U,H.Fd=ue,H.f=Z,H.N=0+ue,H.Ab=d,H.Cd=I,H.ea=Z,H.W=0+ue+I,H.Db=d,H.Ed=I,c==12&&(H.F=Z,H.J=0+ue+2*I),H.Tc=D,H.lb=F)}if(d=1,F=b.S,I=b.width,D=b.height,F>=Tf&&13>F)if(11>F)c=b.f.RGBA,d&=(U=Math.abs(c.A))*(D-1)+I<=c.size,d&=U>=I*r1[F],d&=c.eb!=null;else{c=b.f.kb,U=(I+1)/2,ue=(D+1)/2,H=Math.abs(c.fa),Z=Math.abs(c.Ab);var Te=Math.abs(c.Db),J=Math.abs(c.lb),pe=J*(D-1)+I;d&=H*(D-1)+I<=c.Fd,d&=Z*(ue-1)+U<=c.Cd,d=(d&=Te*(ue-1)+U<=c.Ed)&H>=I&Z>=U&Te>=U,d&=c.y!=null,d&=c.f!=null,d&=c.ea!=null,F==12&&(d&=J>=I,d&=pe<=c.Tc,d&=c.F!=null)}else d=0;c=d?0:2}}return c!=0||x!=null&&x.fd&&(c=ys(b)),c}var mo=64,bs=[0,1,3,7,15,31,63,127,255,511,1023,2047,4095,8191,16383,32767,65535,131071,262143,524287,1048575,2097151,4194303,8388607,16777215],m0=24,Rn=32,$n=8,go=[0,0,1,1,2,2,2,2,3,3,3,3,3,3,3,3,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,
vendor: 4,755 bytes, line 114
1146,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,6,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7,7];tt("Predictor0","PredictorAdd0"),T.Predictor0=function(){return 4278190080},T.Predictor1=function(c){return c},T.Predictor2=function(c,d,x){return d[x+0]},T.Predictor3=function(c,d,x){return d[x+1]},T.Predictor4=function(c,d,x){return d[x-1]},T.Predictor5=function(c,d,x){return Ue(Ue(c,d[x+1]),d[x+0])},T.Predictor6=function(c,d,x){return Ue(c,d[x-1])},T.Predictor7=function(c,d,x){return Ue(c,d[x+0])},T.Predictor8=function(c,d,x){return Ue(d[x-1],d[x+0])},T.Predictor9=function(c,d,x){return Ue(d[x+0],d[x+1])},T.Predictor10=function(c,d,x){return Ue(Ue(c,d[x-1]),Ue(d[x+0],d[x+1]))},T.Predictor11=function(c,d,x){var b=d[x+0];return 0>=Tt(b>>24&255,c>>24&255,(d=d[x-1])>>24&255)+Tt(b>>16&255,c>>16&255,d>>16&255)+Tt(b>>8&255,c>>8&255,d>>8&255)+Tt(255&b,255&c,255&d)?b:c},T.Predictor12=function(c,d,x){var b=d[x+0];return(pt((c>>24&255)+(b>>24&255)-((d=d[x-1])>>24&255))<<24|pt((c>>16&255)+(b>>16&255)-(d>>16&255))<<16|pt((c>>8&255)+(b>>8&255)-(d>>8&255))<<8|pt((255&c)+(255&b)-(255&d)))>>>0},T.Predictor13=function(c,d,x){var b=d[x-1];return(je((c=Ue(c,d[x+0]))>>24&255,b>>24&255)<<24|je(c>>16&255,b>>16&255)<<16|je(c>>8&255,b>>8&255)<<8|je(255&c,255&b))>>>0};var qa=T.PredictorAdd0;T.PredictorAdd1=Pt,tt("Predictor2","PredictorAdd2"),tt("Predictor3","PredictorAdd3"),tt("Predictor4","PredictorAdd4"),tt("Predictor5","PredictorAdd5"),tt("Predictor6","PredictorAdd6"),tt("Predictor7","PredictorAdd7"),tt("Predictor8","PredictorAdd8"),tt("Predictor9","PredictorAdd9"),tt("Predictor10","PredictorAdd10"),tt("Predictor11","PredictorAdd11"),tt("Predictor12","PredictorAdd12"),tt("Predictor13","PredictorAdd13");var Ga=T.PredictorAdd2;se("ColorIndexInverseTransform","MapARGB","32b",function(c){return c>>8&255},function(c){return c}),se("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(c){return c},function(c){return c>>8&255});var xo,As=T.ColorIndexInverseTransform,Vr=T.MapARGB,yc=T.VP8LColorIndexInverseTransformAlpha,Ki=T.MapAlpha,Ii=T.VP8LPredictorsAdd=[];Ii.length=16,(T.VP8LPredictors=[]).length=16,(T.VP8LPredictorsAdd_C=[]).length=16,(T.VP8LPredictors_C=[]).length=16;var Ss,g0,x0,vo,Es,Ts,Va,ba,$a,_o,yn,Zi,xr,vr,Rr,Qr,Aa,v0,wo,Sf,Pu,Iu,Ou,Du,_0,Ru,Bu,Mu,Uu=a(511),ju=a(2041),zu=a(225),Wu=a(767),Hu=0,bc=ju,Ef=zu,ti=Wu,wi=Uu,Tf=0,Nf=1,qu=2,Ff=3,Lf=4,Ac=5,Gu=6,Sc=7,Ec=8,kf=9,Tc=10,pm=[2,3,7],mm=[3,3,11],Vu=[280,256,256,256,40],gm=[0,1,1,1,0],xm=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],vm=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],_m=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],wm=8,Nc=[4,5,6,7,8,9,10,10,11,12,13,14,15,16,17,17,18,19,20,20,21,21,22,22,23,23,24,25,25,26,27,28,29,30,31,32,33,34,35,36,37,37,38,39,40,41,42,43,44,45,46,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,76,77,78,79,80,81,82,83,84,85,86,87,88,89,91,93,95,96,98,100,101,102,104,106,108,110,112,114,116,118,122,124,126,128,130,132,134,136,138,140,143,145,148,151,154,157],Fc=[4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,60,62,64,66,68,70,72,74,76,78,80,82,84,86,88,90,92,94,96,98,100,102,104,106,108,110,112,114,116,119,122,125,128,131,134,137,140,143,146,149,152,155,158,161,164,167,170,173,177,181,185,189,193,197,201,205,209,213,217,221,225,229,234,239,245,249,254,259,264,269,274,279,284],w0=null,ym=[[173,148,140,0],[176,155,140,135,0],[180,157,141,134,130,0],[254,254,243,230,196,177,153,140,133,130,129,0]],bm=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],$u=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Am=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,25
1145,243,255,128,128,128,128,128],[184,150,247,255,236,224,128,128,128,128,128],[77,110,216,255,236,230,128,128,128,128,128]],[[1,101,251,255,241,255,128,128,128,128,128],[170,139,241,252,236,209,255,255,128,128,128],[37,116,196,243,228,255,255,255,128,128,128]],[[1,204,254,255,245,255,128,128,128,128,128],[207,160,250,255,238,128,128,128,128,128,128],[102,103,231,255,211,171,128,128,128,128,128]],[[1,152,252,255,240,255,128,128,128,128,128],[177,135,243,255,234,225,128,128,128,128,128],[80,129,211,255,194,224,128,128,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[246,1,255,128,128,128,128,128,128,128,128],[255,128,128,128,128,128,128,128,128,128,128]]],[[[198,35,237,223,193,187,162,160,145,155,62],[131,45,198,221,172,176,220,157,252,221,1],[68,47,146,208,149,167,221,162,255,223,128]],[[1,149,241,255,221,224,255,255,128,128,128],[184,141,234,253,222,220,255,199,128,128,128],[81,99,181,242,176,190,249,202,255,255,128]],[[1,129,232,253,214,197,242,196,255,255,128],[99,121,210,250,201,198,255,202,128,128,128],[23,91,163,242,170,187,247,210,255,255,128]],[[1,200,246,255,234,255,128,128,128,128,128],[109,178,241,255,231,245,255,255,128,128,128],[44,130,201,253,205,192,255,255,128,128,128]],[[1,132,239,251,219,209,255,165,128,128,128],[94,136,225,251,218,190,255,255,128,128,128],[22,100,174,245,186,161,255,199,128,128,128]],[[1,182,249,255,232,235,128,128,128,128,128],[124,143,241,255,227,234,128,128,128,128,128],[35,77,181,251,193,211,255,205,128,128,128]],[[1,157,247,255,236,231,255,255,128,128,128],[121,141,235,255,225,227,255,255,128,128,128],[45,99,188,251,195,217,255,224,128,128,128]],[[1,1,251,255,213,255,128,128,128,128,128],[203,1,248,255,255,128,128,128,128,128,128],[137,1,177,255,224,255,128,128,128,128,128]]],[[[253,9,248,251,207,208,255,192,128,128,128],[175,13,224,243,193,185,249,198,255,255,128],[73,17,171,221,161,179,236,167,255,234,128]],[[1,95,247,253,212,183,255,255,128,128,128],[239,90,244,250,211,209,255,255,128,128,128],[155,77,195,248,188,195,255,255,128,128,128]],[[1,24,239,251,218,219,255,205,128,128,128],[201,51,219,255,196,186,128,128,128,128,128],[69,46,190,239,201,218,255,228,128,128,128]],[[1,191,251,255,255,128,128,128,128,128,128],[223,165,249,255,213,255,128,128,128,128,128],[141,124,248,255,255,128,128,128,128,128,128]],[[1,16,248,255,255,128,128,128,128,128,128],[190,36,230,255,236,255,128,128,128,128,128],[149,1,255,128,128,128,128,128,128,128,128]],[[1,226,255,128,128,128,128,128,128,128,128],[247,192,255,128,128,128,128,128,128,128,128],[240,128,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],Sm=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,25
1145,25,248,1],[56,8,17,132,137,255,55,116,128],[58,15,20,82,135,57,26,121,40]],[[164,50,31,137,154,133,25,35,218],[51,103,44,131,131,123,31,6,158],[86,40,64,135,148,224,45,183,128],[22,26,17,131,240,154,14,1,209],[45,16,21,91,64,222,7,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],Em=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,25
vendor: 25,791 bytes, lines 114-138
1145,255,255,255,255,255,255,255],[248,254,253,255,255,255,255,255,255,255,255],[253,255,254,254,255,255,255,255,255,255,255]],[[255,251,254,255,255,255,255,255,255,255,255],[245,251,254,255,255,255,255,255,255,255,255],[253,253,254,255,255,255,255,255,255,255,255]],[[255,251,253,255,255,255,255,255,255,255,255],[252,253,254,255,255,255,255,255,255,255,255],[255,254,255,255,255,255,255,255,255,255,255]],[[255,252,255,255,255,255,255,255,255,255,255],[249,255,254,255,255,255,255,255,255,255,255],[255,255,254,255,255,255,255,255,255,255,255]],[[255,255,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]]],Tm=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],Xa=[],Oi=[],Sa=[],Nm=1,Xu=2,Ya=[],yi=[];_n("UpsampleRgbLinePair",vs,3),_n("UpsampleBgrLinePair",ho,3),_n("UpsampleRgbaLinePair",d0,4),_n("UpsampleBgraLinePair",ws,4),_n("UpsampleArgbLinePair",_s,4),_n("UpsampleRgba4444LinePair",wn,2),_n("UpsampleRgb565LinePair",uo,2);var Fm=T.UpsampleRgbLinePair,Lm=T.UpsampleBgrLinePair,Yu=T.UpsampleRgbaLinePair,Ku=T.UpsampleBgraLinePair,Zu=T.UpsampleArgbLinePair,Ju=T.UpsampleRgba4444LinePair,km=T.UpsampleRgb565LinePair,Cf=16,Pf=1<<Cf-1,y0=-227,Lc=482,Qu=6,Cm=(256<<Qu)-1,e1=0,Pm=a(256),Im=a(256),Om=a(256),Dm=a(256),Rm=a(Lc-y0),Bm=a(Lc-y0);Yi("YuvToRgbRow",vs,3),Yi("YuvToBgrRow",ho,3),Yi("YuvToRgbaRow",d0,4),Yi("YuvToBgraRow",ws,4),Yi("YuvToArgbRow",_s,4),Yi("YuvToRgba4444Row",wn,2),Yi("YuvToRgb565Row",uo,2);var t1=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],If=[0,2,8],Mm=[8,7,6,4,4,2,2,2,1,1,1,1],Um=1;this.WebPDecodeRGBA=function(c,d,x,b,F){var I=Nf,D=new le,U=new Wt;D.ba=U,U.S=I,U.width=[U.width],U.height=[U.height];var H=U.width,Z=U.height,ue=new Et;if(ue==null||c==null)var Te=2;else r(ue!=null),Te=Af(c,d,x,ue.width,ue.height,ue.Pd,ue.Qd,ue.format,null);if(Te!=0?H=0:(H!=null&&(H[0]=ue.width[0]),Z!=null&&(Z[0]=ue.height[0]),H=1),H){U.width=U.width[0],U.height=U.height[0],b!=null&&(b[0]=U.width),F!=null&&(F[0]=U.height);e:{if(b=new ro,(F=new ge).data=c,F.w=d,F.ha=x,F.kd=1,d=[0],r(F!=null),((c=Af(F.data,F.w,F.ha,null,null,null,d,null,F))==0||c==7)&&d[0]&&(c=4),(d=c)==0){if(r(D!=null),b.data=F.data,b.w=F.w+F.offset,b.ha=F.ha-F.offset,b.put=kt,b.ac=xi,b.bc=ki,b.ma=D,F.xa){if((c=we())==null){D=1;break e}if(function(J,pe){var _e=[0],De=[0],Se=[0];t:for(;;){if(J==null)return 0;if(pe==null)return J.a=2,0;if(J.l=pe,J.a=0,Le(J.m,pe.data,pe.w,pe.ha),!Ci(J.m,_e,De,Se)){J.a=3;break t}if(J.xb=Xu,pe.width=_e[0],pe.height=De[0],!be(_e[0],De[0],1,J,null))break t;return 1}return r(J.a!=0),0}(c,b)){if(b=(d=p0(b.width,b.height,D.Oa,D.ba))==0){t:{b=c;r:for(;;){if(b==null){b=0;break t}if(r(b.s.yc!=null),r(b.s.Ya!=null),r(0<b.s.Wb),r((x=b.l)!=null),r((F=x.ma)!=null),b.xb!=0){if(b.ca=F.ba,b.tb=F.tb,r(b.ca!=null),!_i(F.Oa,x,Ff)){b.a=2;break r}if(!Ae(b,x.width)||x.da)break r;if((x.da||ht(b.ca.S))&&kr(),11>b.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),b.ca.f.kb.F!=null&&kr()),b.Pb&&0<b.s.ua&&b.s.vb.X==null&&!M(b.s.vb,b.s.Wa.Xa)){b.a=1;break r}b.xb=0}if(!ye(b,b.V,b.Ba,b.c,b.i,x.o,W))break r;F.Dc=b.Ma,b=1;break t}r(b.a!=0),b=0}b=!b}b&&(d=c.a)}else d=c.a}else{if((c=new ic)==null){D=1;break e}if(c.Fa=F.na,c.P=F.P,c.qc=F.Sa,Vi(c,b)){if((d=p0(b.width,b.height,D.Oa,D.ba))==0){if(c.Aa=0,x=D.Oa,r((F=c)!=null),x!=null){if(0<(H=0>(H=x.Md)?0:100<H?255:255*H/100)){for(Z=ue=0;4>Z;++Z)12>(Te=F.pb[Z]).lc&&(Te.ia=H*Mm[0>Te.lc?0:Te.lc]>>3),ue|=Te.ia;ue&&(alert("todo:VP8InitRandom"),F.ia=1)}F.Ga=x.Id,100<F.Ga?F.Ga=100:0>F.Ga&&(F.Ga=0)}(function(J,pe){if(J==null)return 0;if(pe==null)return qr(J,2,"NULL VP8Io parameter in VP8Decode().");if(!J.cb&&!Vi(J,pe))return 0;if(r(J.cb),pe.ac==null||pe.ac(pe)){pe.ob&&(J.L=0);var _e=If[J.L];if(J.L==2?(J.yb=0,J.zb=0):(J.yb=pe.v-_e>>4,J.zb=pe.j-_e>>4,0>J.yb&&(J.yb=0),0>J.zb&&(J.zb=0)),J.Va=pe.o+15+_e>>4,J.Hb=pe.va+15+_e>>4,J.Hb>J.za&&(J.Hb=J.za),J.Va>J.Ub&&(J.Va=J.Ub),0<J.L){var De=J.ed;for(_e=0;4>_e;++_e){var Se;if(J.Qa.Cb){var Re=J.Qa.Lb[_e];J.Qa.Fb||(Re+=De.Tb)}else Re=De.Tb;for(Se=0;1>=Se;++Se){var Me=J.gd[_e][Se],Ze=Re;if(De.Pc&&(Ze+=De.vd[0],Se&&(Ze+=De.od[0])),0<(Ze=0>Ze?0:63<Ze?63:Ze)){var Ve=Ze;0<De.wb&&(Ve=4<De.wb?Ve>>2:Ve>>1)>9-De.wb&&(Ve=9-De.wb),1>Ve&&(Ve=1),Me.dd=Ve,Me.tc=2*Ze+Ve,Me.ld=40<=Ze?2:15<=Ze?1:0}else Me.tc=0;Me.La=Se}}}_e=0}else qr(J,6,"Frame setup failed"),_e=J.a;if(_e=_e==0){if(_e){J.$c=0,0<J.Aa||(J.Ic=Um);t:{_e=J.Ic,De=4*(Ve=J.za);var bt=32*Ve,ut=Ve+1,Ht=0<J.L?Ve*(0<J.Aa?2:1):0,_t=(J.Aa==2?2:1)*Ve;if((Me=De+832+(Se=3*(16*_e+If[J.L])/2*bt)+(Re=J.Fa!=null&&0<J.Fa.length?J.Kc.c*J.Kc.i:0))!=Me)_e=0;else{if(Me>J.Vb){if(J.Vb=0,J.Ec=a(Me),J.Fc=0,J.Ec==null){_e=qr(J,1,"no memory during frame initialization.");break t}J.Vb=Me}Me=J.Ec,Ze=J.Fc,J.Ac=Me,J.Bc=Ze,Ze+=De,J.Gd=s(bt,vi),J.Hd=0,J.rb=s(ut+1,Pr),J.sb=1,J.wa=Ht?s(Ht,Vt):null,J.Y=0,J.D.Nb=0,J.D.wa=J.wa,J.D.Y=J.Y,0<J.Aa&&(J.D.Y+=Ve),r(!0),J.oc=Me,J.pc=Ze,Ze+=832,J.ya=s(_t,Pi),J.aa=0,J.D.ya=J.ya,J.D.aa=J.aa,J.Aa==2&&(J.D.aa+=Ve),J.R=16*Ve,J.B=8*Ve,Ve=(bt=If[J.L])*J.R,bt=bt/2*J.B,J.sa=Me,J.ta=Ze+Ve,J.qa=J.sa,J.ra=J.ta+16*_e*J.R+bt,J.Ha=J.qa,J.Ia=J.ra+8*_e*J.B+bt,J.$c=0,Ze+=Se,J.mb=Re?Me:null,J.nb=Re?Ze:null,r(Ze+Re<=J.Fc+J.Vb),a0(J),i(J.Ac,J.Bc,0,De),_e=1}}if(_e){if(pe.ka=0,pe.y=J.sa,pe.O=J.ta,pe.f=J.qa,pe.N=J.ra,pe.ea=J.Ha,pe.Vd=J.Ia,pe.fa=J.R,pe.Rc=J.B,pe.F=null,pe.J=0,!Hu){for(_e=-255;255>=_e;++_e)Uu[255+_e]=0>_e?-_e:_e;for(_e=-1020;1020>=_e;++_e)ju[1020+_e]=-128>_e?-128:127<_e?127:_e;for(_e=-112;112>=_e;++_e)zu[112+_e]=-16>_e?-16:15<_e?15:_e;for(_e=-255;510>=_e;++_e)Wu[255+_e]=0>_e?0:255<_e?255:_e;Hu=1}Va=mf,ba=ac,_o=sc,yn=oc,Zi=$i,$a=pf,xr=vf,vr=_f,Rr=yf,Qr=m,Aa=wf,v0=ms,wo=N,Sf=Y,Pu=lo,Iu=h0,Ou=co,Du=xf,Oi[0]=pc,Oi[1]=so,Oi[2]=uc,Oi[3]=dc,Oi[4]=mc,Oi[5]=xa,Oi[6]=gc,Oi[7]=va,Oi[8]=vc,Oi[9]=xc,Xa[0]=gf,Xa[1]=fc,Xa[2]=lc,Xa[3]=cc,Xa[4]=za,Xa[5]=hc,Xa[6]=ds,Sa[0]=_c,Sa[1]=s0,Sa[2]=oo,Sa[3]=o0,Sa[4]=wc,Sa[5]=fo,Sa[6]=f0,_e=1}else _e=0}_e&&(_e=function($t,en){for($t.M=0;$t.M<$t.Va;++$t.M){var qt,wt=$t.Jc[$t.M&$t.Xb],at=$t.m,Br=$t;for(qt=0;qt<Br.za;++qt){var Ut=at,Yt=Br,yr=Yt.Ac,cn=Yt.Bc+4*qt,Bn=Yt.zc,Ir=Yt.ya[Yt.aa+qt];if(Yt.Qa.Bb?Ir.$b=z(Ut,Yt.Pa.jb[0])?2+z(Ut,Yt.Pa.jb[2]):z(Ut,Yt.Pa.jb[1]):Ir.$b=0,Yt.kc&&(Ir.Ad=z(Ut,Yt.Bd)),Ir.Za=!z(Ut,145)+0,Ir.Za){var bn=Ir.Ob,Mn=0;for(Yt=0;4>Yt;++Yt){var tn,Zt=Bn[0+Yt];for(tn=0;4>tn;++tn){Zt=Sm[yr[cn+tn]][Zt];for(var ar=$u[z(Ut,Zt[0])];0<ar;)ar=$u[2*ar+z(Ut,Zt[ar])];Zt=-ar,yr[cn+tn]=Zt}n(bn,Mn,yr,cn,4),Mn+=4,Bn[0+Yt]=Zt}}else Zt=z(Ut,156)?z(Ut,128)?1:3:z(Ut,163)?2:0,Ir.Ob[0]=Zt,i(yr,cn,Zt,4),i(Bn,0,Zt,4);Ir.Dd=z(Ut,142)?z(Ut,114)?z(Ut,183)?1:3:2:0}if(Br.m.Ka)return qr($t,7,"Premature end-of-partition0 encountered.");for(;$t.ja<$t.za;++$t.ja){if(Br=wt,Ut=(at=$t).rb[at.sb-1],yr=at.rb[at.sb+at.ja],qt=at.ya[at.aa+at.ja],cn=at.kc?qt.Ad:0)Ut.la=yr.la=0,qt.Za||(Ut.Na=yr.Na=0),qt.Hc=0,qt.Gc=0,qt.ia=0;else{var Or,sr;if(Ut=yr,yr=Br,cn=at.Pa.Xc,Bn=at.ya[at.aa+at.ja],Ir=at.pb[Bn.$b],Yt=Bn.ad,bn=0,Mn=at.rb[at.sb-1],Zt=tn=0,i(Yt,bn,0,384),Bn.Za)var hn=0,Di=cn[3];else{ar=a(16);var Mr=Ut.Na+Mn.Na;if(Mr=w0(yr,cn[1],Mr,Ir.Eb,0,ar,0),Ut.Na=Mn.Na=(0<Mr)+0,1<Mr)Va(ar,0,Yt,bn);else{var Xn=ar[0]+3>>3;for(ar=0;256>ar;ar+=16)Yt[bn+ar]=Xn}hn=1,Di=cn[0]}var pr=15&Ut.la,rn=15&Mn.la;for(ar=0;4>ar;++ar){var ri=1&rn;for(Xn=sr=0;4>Xn;++Xn)pr=pr>>1|(ri=(Mr=w0(yr,Di,Mr=ri+(1&pr),Ir.Sc,hn,Yt,bn))>hn)<<7,sr=sr<<2|(3<Mr?3:1<Mr?2:Yt[bn+0]!=0),bn+=16;pr>>=4,rn=rn>>1|ri<<7,tn=(tn<<8|sr)>>>0}for(Di=pr,hn=rn>>4,Or=0;4>Or;Or+=2){for(sr=0,pr=Ut.la>>4+Or,rn=Mn.la>>4+Or,ar=0;2>ar;++ar){for(ri=1&rn,Xn=0;2>Xn;++Xn)Mr=ri+(1&pr),pr=pr>>1|(ri=0<(Mr=w0(yr,cn[2],Mr,Ir.Qc,0,Yt,bn)))<<3,sr=sr<<2|(3<Mr?3:1<Mr?2:Yt[bn+0]!=0),bn+=16;pr>>=2,rn=rn>>1|ri<<5}Zt|=sr<<4*Or,Di|=pr<<4<<Or,hn|=(240&rn)<<Or}Ut.la=Di,Mn.la=hn,Bn.Hc=tn,Bn.Gc=Zt,Bn.ia=43690&Zt?0:Ir.ia,cn=!(tn|Zt)}if(0<at.L&&(at.wa[at.Y+at.ja]=at.gd[qt.$b][qt.Za],at.wa[at.Y+at.ja].La|=!cn),Br.Ka)return qr($t,7,"Premature end-of-file encountered.")}if(a0($t),at=en,Br=1,qt=(wt=$t).D,Ut=0<wt.L&&wt.M>=wt.zb&&wt.M<=wt.Va,wt.Aa==0)t:{if(qt.M=wt.M,qt.uc=Ut,po(wt,qt),Br=1,qt=(sr=wt.D).Nb,Ut=(Zt=If[wt.L])*wt.R,yr=Zt/2*wt.B,ar=16*qt*wt.R,Xn=8*qt*wt.B,cn=wt.sa,Bn=wt.ta-Ut+ar,Ir=wt.qa,Yt=wt.ra-yr+Xn,bn=wt.Ha,Mn=wt.Ia-yr+Xn,rn=(pr=sr.M)==0,tn=pr>=wt.Va-1,wt.Aa==2&&po(wt,sr),sr.uc)for(ri=(Mr=wt).D.M,r(Mr.D.uc),sr=Mr.yb;sr<Mr.Hb;++sr){hn=sr,Di=ri;var Un=(ni=(un=Mr).D).Nb;Or=un.R;var ni=ni.wa[ni.Y+hn],ii=un.sa,Yn=un.ta+16*Un*Or+16*hn,ai=ni.dd,_r=ni.tc;if(_r!=0)if(r(3<=_r),un.L==1)0<hn&&Iu(ii,Yn,Or,_r+4),ni.La&&Du(ii,Yn,Or,_r),0<Di&&Pu(ii,Yn,Or,_r+4),ni.La&&Ou(ii,Yn,Or,_r);else{var si=un.B,Ri=un.qa,Ns=un.ra+8*Un*si+8*hn,Ea=un.Ha,un=un.Ia+8*Un*si+8*hn;Un=ni.ld,0<hn&&(vr(ii,Yn,Or,_r+4,ai,Un),Qr(Ri,Ns,Ea,un,si,_r+4,ai,Un)),ni.La&&(v0(ii,Yn,Or,_r,ai,Un),Sf(Ri,Ns,Ea,un,si,_r,ai,Un)),0<Di&&(xr(ii,Yn,Or,_r+4,ai,Un),Rr(Ri,Ns,Ea,un,si,_r+4,ai,Un)),ni.La&&(Aa(ii,Yn,Or,_r,ai,Un),wo(Ri,Ns,Ea,un,si,_r,ai,Un))}}if(wt.ia&&alert("todo:DitherRow"),at.put!=null){if(sr=16*pr,pr=16*(pr+1),rn?(at.y=wt.sa,at.O=wt.ta+ar,at.f=wt.qa,at.N=wt.ra+Xn,at.ea=wt.Ha,at.W=wt.Ia+Xn):(sr-=Zt,at.y=cn,at.O=Bn,at.f=Ir,at.N=Yt,at.ea=bn,at.W=Mn),tn||(pr-=Zt),pr>at.o&&(pr=at.o),at.F=null,at.J=null,wt.Fa!=null&&0<wt.Fa.length&&sr<pr&&(at.J=Gr(wt,at,sr,pr-sr),at.F=wt.mb,at.F==null&&at.F.length==0)){Br=qr(wt,3,"Could not decode alpha data.");break t}sr<at.j&&(Zt=at.j-sr,sr=at.j,r(!(1&Zt)),at.O+=wt.R*Zt,at.N+=wt.B*(Zt>>1),at.W+=wt.B*(Zt>>1),at.F!=null&&(at.J+=at.width*Zt)),sr<pr&&(at.O+=at.v,at.N+=at.v>>1,at.W+=at.v>>1,at.F!=null&&(at.J+=at.v),at.ka=sr-at.j,at.U=at.va-at.v,at.T=pr-sr,Br=at.put(at))}qt+1!=wt.Ic||tn||(n(wt.sa,wt.ta-Ut,cn,Bn+16*wt.R,Ut),n(wt.qa,wt.ra-yr,Ir,Yt+8*wt.B,yr),n(wt.Ha,wt.Ia-yr,bn,Mn+8*wt.B,yr))}if(!Br)return qr($t,6,"Output aborted.")}return 1}(J,pe)),pe.bc!=null&&pe.bc(pe),_e&=1}return _e?(J.cb=0,_e):0})(c,b)||(d=c.a)}}else d=c.a}d==0&&D.Oa!=null&&D.Oa.fd&&(d=ys(D.ba))}D=d}I=D!=0?null:11>I?U.f.RGBA.eb:U.f.kb.y}else I=null;return I};var r1=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function l(T,Q){for(var A="",P=0;P<4;P++)A+=String.fromCharCode(T[Q++]);return A}function h(T,Q){return T[Q+0]|T[Q+1]<<8}function g(T,Q){return(T[Q+0]|T[Q+1]<<8|T[Q+2]<<16)>>>0}function p(T,Q){return(T[Q+0]|T[Q+1]<<8|T[Q+2]<<16|T[Q+3]<<24)>>>0}new f;var u=[0],_=[0],w=[],y=new f,v=e,E=function(T,Q){var A={},P=0,j=!1,ie=0,he=0;if(A.frames=[],!function(L,q){for(var te=0;te<4;te++)if(L[q+te]!="RIFF".charCodeAt(te))return!0;return!1}(T,Q)){for(p(T,Q+=4),Q+=8;Q<T.length;){var Fe=l(T,Q),xe=p(T,Q+=4);Q+=4;var ve=xe+(1&xe);switch(Fe){case"VP8 ":case"VP8L":A.frames[P]===void 0&&(A.frames[P]={}),(Be=A.frames[P]).src_off=j?he:Q-8,Be.src_size=ie+xe+8,P++,j&&(j=!1,ie=0,he=0);break;case"VP8X":(Be=A.header={}).feature_flags=T[Q];var Le=Q+4;Be.canvas_width=1+g(T,Le),Le+=3,Be.canvas_height=1+g(T,Le),Le+=3;break;case"ALPH":j=!0,ie=ve+8,he=Q-8;break;case"ANIM":(Be=A.header).bgcolor=p(T,Q),Le=Q+4,Be.loop_count=h(T,Le),Le+=2;break;case"ANMF":var Ge,Be;(Be=A.frames[P]={}).offset_x=2*g(T,Q),Q+=3,Be.offset_y=2*g(T,Q),Q+=3,Be.width=1+g(T,Q),Q+=3,Be.height=1+g(T,Q),Q+=3,Be.duration=g(T,Q),Q+=3,Ge=T[Q++],Be.dispose=1&Ge,Be.blend=Ge>>1&1}Fe!="ANMF"&&(Q+=ve)}return A}}(v,0);E.response=v,E.rgbaoutput=!0,E.dataurl=!1;var S=E.header?E.header:null,R=E.frames?E.frames:null;if(S){S.loop_counter=S.loop_count,u=[S.canvas_height],_=[S.canvas_width];for(var re=0;re<R.length&&R[re].blend!=0;re++);}var fe=R[0],O=y.WebPDecodeRGBA(v,fe.src_off,fe.src_size,_,u);fe.rgba=O,fe.imgwidth=_[0],fe.imgheight=u[0];for(var B=0;B<_[0]*u[0]*4;B++)w[B]=O[B];return this.width=_,this.height=u,this.data=w,this}/** ====================================================================
115 * @license
116 * jsPDF XMP metadata plugin
117 * Copyright (c) 2016 Jussi Utunen, [email protected]
118 *
119 * Permission is hereby granted, free of charge, to any person obtaining
120 * a copy of this software and associated documentation files (the
121 * "Software"), to deal in the Software without restriction, including
122 * without limitation the rights to use, copy, modify, merge, publish,
123 * distribute, sublicense, and/or sell copies of the Software, and to
124 * permit persons to whom the Software is furnished to do so, subject to
125 * the following conditions:
126 *
127 * The above copyright notice and this permission notice shall be
128 * included in all copies or substantial portions of the Software.
129 *
130 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
131 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
132 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
133 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
134 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
135 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
136 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
137 * ====================================================================
138 */function f4(){var e,r=this.internal.__metadata__.metadata,t=unescape(encodeURIComponent(r));e=this.internal.__metadata__.rawXml?t:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+e.length+" >>"),this.internal.write("stream"),this.internal.write(e),this.internal.write("endstream"),this.internal.write("endobj")}function l4(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(e){var r,t,n,i,a,s,o,f,l,h=function(L){return L=L||{},this.isStrokeTransparent=L.isStrokeTransparent||!1,this.strokeOpacity=L.strokeOpacity||1,this.strokeStyle=L.strokeStyle||"#000000",this.fillStyle=L.fillStyle||"#000000",this.isFillTransparent=L.isFillTransparent||!1,this.fillOpacity=L.fillOpacity||1,this.font=L.font||"10px sans-serif",this.textBaseline=L.textBaseline||"alphabetic",this.textAlign=L.textAlign||"left",this.lineWidth=L.lineWidth||1,this.lineJoin=L.lineJoin||"miter",this.lineCap=L.lineCap||"butt",this.path=L.path||[],this.transform=L.transform!==void 0?L.transform.clone():new f,this.globalCompositeOperation=L.globalCompositeOperation||"normal",this.globalAlpha=L.globalAlpha||1,this.clip_path=L.clip_path||[],this.currentPoint=L.currentPoint||new s,this.miterLimit=L.miterLimit||10,this.lastPoint=L.lastPoint||new s,this.lineDashOffset=L.lineDashOffset||0,this.lineDash=L.lineDash||[],this.margin=L.margin||[0,0,0,0],this.prevPageLastElemOffset=L.prevPageLastElemOffset||0,this.ignoreClearRect=typeof L.ignoreClearRect!="boolean"||L.ignoreClearRect,this};e.events.push(["initialized",function(){this.context2d=new g(this),r=this.internal.f2,t=this.internal.getCoordinateString,n=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,s=this.internal.Point,o=this.internal.Rectangle,f=this.internal.Matrix,l=new h}]);var g=function(L){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var q=L;Object.defineProperty(this,"pdf",{get:function(){return q}});var te=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return te},set:function(M){te=!!M}});var ae=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return ae},set:function(M){ae=!!M}});var ce=0;Object.defineProperty(this,"posX",{get:function(){return ce},set:function(M){isNaN(M)||(ce=M)}});var de=0;Object.defineProperty(this,"posY",{get:function(){return de},set:function(M){isNaN(M)||(de=M)}}),Object.defineProperty(this,"margin",{get:function(){return l.margin},set:function(M){var Ne;typeof M=="number"?Ne=[M,M,M,M]:((Ne=new Array(4))[0]=M[0],Ne[1]=M.length>=2?M[1]:Ne[0],Ne[2]=M.length>=3?M[2]:Ne[0],Ne[3]=M.length>=4?M[3]:Ne[1]),l.margin=Ne}});var k=!1;Object.defineProperty(this,"autoPaging",{get:function(){return k},set:function(M){k=M}});var X=0;Object.defineProperty(this,"lastBreak",{get:function(){return X},set:function(M){X=M}});var z=[];Object.defineProperty(this,"pageBreaks",{get:function(){return z},set:function(M){z=M}}),Object.defineProperty(this,"ctx",{get:function(){return l},set:function(M){M instanceof h&&(l=M)}}),Object.defineProperty(this,"path",{get:function(){return l.path},set:function(M){l.path=M}});var G=[];Object.defineProperty(this,"ctxStack",{get:function(){return G},set:function(M){G=M}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(M){var Ne;Ne=p(M),this.ctx.fillStyle=Ne.style,this.ctx.isFillTransparent=Ne.a===0,this.ctx.fillOpacity=Ne.a,this.pdf.setFillColor(Ne.r,Ne.g,Ne.b,{a:Ne.a}),this.pdf.setTextColor(Ne.r,Ne.g,Ne.b,{a:Ne.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(M){var Ne=p(M);this.ctx.strokeStyle=Ne.style,this.ctx.isStrokeTransparent=Ne.a===0,this.ctx.strokeOpacity=Ne.a,Ne.a===0?this.pdf.setDrawColor(255,255,255):(Ne.a,this.pdf.setDrawColor(Ne.r,Ne.g,Ne.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(M){["butt","round","square"].indexOf(M)!==-1&&(this.ctx.lineCap=M,this.pdf.setLineCap(M))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(M){isNaN(M)||(this.ctx.lineWidth=M,this.pdf.setLineWidth(M))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(M){["bevel","round","miter"].indexOf(M)!==-1&&(this.ctx.lineJoin=M,this.pdf.setLineJoin(M))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(M){isNaN(M)||(this.ctx.miterLimit=M,this.pdf.setMiterLimit(M))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(M){this.ctx.textBaseline=M}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(M){["right","end","center","left","start"].indexOf(M)!==-1&&(this.ctx.textAlign=M)}});var me=null,Ce=null,Ie=null;Object.defineProperty(this,"fontFaces",{get:function(){return Ie},set:function(M){me=null,Ce=null,Ie=M}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(M){var Ne;if(this.ctx.font=M,(Ne=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(M))!==null){var et=Ne[1];Ne[2];var $e=Ne[3],ke=Ne[4];Ne[5];var it=Ne[6],tt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(ke)[2];ke=Math.floor(tt==="px"?parseFloat(ke)*this.pdf.internal.scaleFactor:tt==="em"?parseFloat(ke)*this.pdf.getFontSize():parseFloat(ke)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(ke);var ft=function(se){var Ye,st,lt=[],qe=se.trim();if(qe==="")return ch;if(qe in A2)return[A2[qe]];for(;qe!=="";){switch(st=null,Ye=(qe=E2(qe)).charAt(0)){case'"':case"'":st=r4(qe.substring(1),Ye);break;default:st=n4(qe)}if(st===null||(lt.push(st[0]),(qe=E2(st[1]))!==""&&qe.charAt(0)!==","))return ch;qe=qe.replace(/^,/,"")}return lt}(it);if(this.fontFaces){var Ue=function(se,Ye){var st=se.getFontList(),lt=JSON.stringify(st);if(me===null||Ce!==lt){var qe=function(St){var nt=[];return Object.keys(St).forEach(function(Nt){St[Nt].forEach(function(ht){var Ft=null;switch(ht){case"bold":Ft={family:Nt,weight:"bold"};break;case"italic":Ft={family:Nt,style:"italic"};break;case"bolditalic":Ft={family:Nt,weight:"bold",style:"italic"};break;case"":case"normal":Ft={family:Nt}}Ft!==null&&(Ft.ref={name:Nt,style:ht},nt.push(Ft))})}),nt}(st);me=function(St){for(var nt={},Nt=0;Nt<St.length;++Nt){var ht=lh(St[Nt]),Ft=ht.family,Gt=ht.stretch,Wt=ht.style,Et=ht.weight;nt[Ft]=nt[Ft]||{},nt[Ft][Gt]=nt[Ft][Gt]||{},nt[Ft][Gt][Wt]=nt[Ft][Gt][Wt]||{},nt[Ft][Gt][Wt][Et]=ht}return nt}(qe.concat(Ye)),Ce=lt}return me}(this.pdf,this.fontFaces),pt=ft.map(function(se){return{family:se,stretch:"normal",weight:$e,style:et}}),je=function(se,Ye,st){for(var lt=(st=st||{}).defaultFontFamily||"times",qe=Object.assign({},t4,st.genericFontFamilies||{}),St=null,nt=null,Nt=0;Nt<Ye.length;++Nt)if(qe[(St=lh(Ye[Nt])).family]&&(St.family=qe[St.family]),se.hasOwnProperty(St.family)){nt=se[St.family];break}if(!(nt=nt||se[lt]))throw new Error("Could not find a font-family for the rule '"+S2(St)+"' and default family '"+lt+"'.");if(nt=function(ht,Ft){if(Ft[ht])return Ft[ht];var Gt=qh[ht],Wt=Gt<=qh.normal?-1:1,Et=b2(Ft,Mp,Gt,Wt);if(!Et)throw new Error("Could not find a matching font-stretch value for "+ht);return Et}(St.stretch,nt),nt=function(ht,Ft){if(Ft[ht])return Ft[ht];for(var Gt=Bp[ht],Wt=0;Wt<Gt.length;++Wt)if(Ft[Gt[Wt]])return Ft[Gt[Wt]];throw new Error("Could not find a matching font-style for "+ht)}(St.style,nt),!(nt=function(ht,Ft){if(Ft[ht])return Ft[ht];if(ht===400&&Ft[500])return Ft[500];if(ht===500&&Ft[400])return Ft[400];var Gt=e4[ht],Wt=b2(Ft,Up,Gt,ht<400?-1:1);if(!Wt)throw new Error("Could not find a matching font-weight for value "+ht);return Wt}(St.weight,nt)))throw new Error("Failed to resolve a font for the rule '"+S2(St)+"'.");return nt}(Ue,pt);this.pdf.setFont(je.ref.name,je.ref.style)}else{var Tt="";($e==="bold"||parseInt($e,10)>=700||et==="bold")&&(Tt="bold"),et==="italic"&&(Tt+="italic"),Tt.length===0&&(Tt="normal");for(var Pt="",vt={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},ct=0;ct<ft.length;ct++){if(this.pdf.internal.getFont(ft[ct],Tt,{noFallback:!0,disableWarning:!0})!==void 0){Pt=ft[ct];break}if(Tt==="bolditalic"&&this.pdf.internal.getFont(ft[ct],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Pt=ft[ct],Tt="bold";else if(this.pdf.internal.getFont(ft[ct],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Pt=ft[ct],Tt="normal";break}}if(Pt===""){for(var Ct=0;Ct<ft.length;Ct++)if(vt[ft[Ct]]){Pt=vt[ft[Ct]];break}}Pt=Pt===""?"Times":Pt,this.pdf.setFont(Pt,Tt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(M){this.ctx.globalCompositeOperation=M}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(M){this.ctx.globalAlpha=M}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(M){this.ctx.lineDashOffset=M,Be.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(M){this.ctx.lineDash=M,Be.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(M){this.ctx.ignoreClearRect=!!M}})};g.prototype.setLineDash=function(L){this.lineDash=L},g.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},g.prototype.fill=function(){R.call(this,"fill",!1)},g.prototype.stroke=function(){R.call(this,"stroke",!1)},g.prototype.beginPath=function(){this.path=[{type:"begin"}]},g.prototype.moveTo=function(L,q){if(isNaN(L)||isNaN(q))throw mr.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var te=this.ctx.transform.applyToPoint(new s(L,q));this.path.push({type:"mt",x:te.x,y:te.y}),this.ctx.lastPoint=new s(L,q)},g.prototype.closePath=function(){var L=new s(0,0),q=0;for(q=this.path.length-1;q!==-1;q--)if(this.path[q].type==="begin"&&lr(this.path[q+1])==="object"&&typeof this.path[q+1].x=="number"){L=new s(this.path[q+1].x,this.path[q+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(L.x,L.y)},g.prototype.lineTo=function(L,q){if(isNaN(L)||isNaN(q))throw mr.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var te=this.ctx.transform.applyToPoint(new s(L,q));this.path.push({type:"lt",x:te.x,y:te.y}),this.ctx.lastPoint=new s(te.x,te.y)},g.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),R.call(this,null,!0)},g.prototype.quadraticCurveTo=function(L,q,te,ae){if(isNaN(te)||isNaN(ae)||isNaN(L)||isNaN(q))throw mr.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var ce=this.ctx.transform.applyToPoint(new s(te,ae)),de=this.ctx.transform.applyToPoint(new s(L,q));this.path.push({type:"qct",x1:de.x,y1:de.y,x:ce.x,y:ce.y}),this.ctx.lastPoint=new s(ce.x,ce.y)},g.prototype.bezierCurveTo=function(L,q,te,ae,ce,de){if(isNaN(ce)||isNaN(de)||isNaN(L)||isNaN(q)||isNaN(te)||isNaN(ae))throw mr.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var k=this.ctx.transform.applyToPoint(new s(ce,de)),X=this.ctx.transform.applyToPoint(new s(L,q)),z=this.ctx.transform.applyToPoint(new s(te,ae));this.path.push({type:"bct",x1:X.x,y1:X.y,x2:z.x,y2:z.y,x:k.x,y:k.y}),this.ctx.lastPoint=new s(k.x,k.y)},g.prototype.arc=function(L,q,te,ae,ce,de){if(isNaN(L)||isNaN(q)||isNaN(te)||isNaN(ae)||isNaN(ce))throw mr.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to 
138jsPDF.context2d.arc");if(de=!!de,!this.ctx.transform.isIdentity){var k=this.ctx.transform.applyToPoint(new s(L,q));L=k.x,q=k.y;var X=this.ctx.transform.applyToPoint(new s(0,te)),z=this.ctx.transform.applyToPoint(new s(0,0));te=Math.sqrt(Math.pow(X.x-z.x,2)+Math.pow(X.y-z.y,2))}Math.abs(ce-ae)>=2*Math.PI&&(ae=0,ce=2*Math.PI),this.path.push({type:"arc",x:L,y:q,radius:te,startAngle:ae,endAngle:ce,counterclockwise:de})},g.prototype.arcTo=function(L,q,te,ae,ce){throw new Error("arcTo not implemented.")},g.prototype.rect=function(L,q,te,ae){if(isNaN(L)||isNaN(q)||isNaN(te)||isNaN(ae))throw mr.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(L,q),this.lineTo(L+te,q),this.lineTo(L+te,q+ae),this.lineTo(L,q+ae),this.lineTo(L,q),this.lineTo(L+te,q),this.lineTo(L,q)},g.prototype.fillRect=function(L,q,te,ae){if(isNaN(L)||isNaN(q)||isNaN(te)||isNaN(ae))throw mr.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!u.call(this)){var ce={};this.lineCap!=="butt"&&(ce.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(ce.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(L,q,te,ae),this.fill(),ce.hasOwnProperty("lineCap")&&(this.lineCap=ce.lineCap),ce.hasOwnProperty("lineJoin")&&(this.lineJoin=ce.lineJoin)}},g.prototype.strokeRect=function(L,q,te,ae){if(isNaN(L)||isNaN(q)||isNaN(te)||isNaN(ae))throw mr.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");_.call(this)||(this.beginPath(),this.rect(L,q,te,ae),this.stroke())},g.prototype.clearRect=function(L,q,te,ae){if(isNaN(L)||isNaN(q)||isNaN(te)||isNaN(ae))throw mr.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(L,q,te,ae))},g.prototype.save=function(L){L=typeof L!="boolean"||L;for(var q=this.pdf.internal.getCurrentPageInfo().pageNumber,te=0;te<this.pdf.internal.getNumberOfPages();te++)this.pdf.setPage(te+1),this.pdf.internal.out("q");if(this.pdf.setPage(q),L){this.ctx.fontSize=this.pdf.internal.getFontSize();var ae=new h(this.ctx);this.ctxStack.push(this.ctx),this.ctx=ae}},g.prototype.restore=function(L){L=typeof L!="boolean"||L;for(var q=this.pdf.internal.getCurrentPageInfo().pageNumber,te=0;te<this.pdf.internal.getNumberOfPages();te++)this.pdf.setPage(te+1),this.pdf.internal.out("Q");this.pdf.setPage(q),L&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},g.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var p=function(L){var q,te,ae,ce;if(L.isCanvasGradient===!0&&(L=L.getColor()),!L)return{r:0,g:0,b:0,a:0,style:L};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(L))q=0,te=0,ae=0,ce=0;else{var de=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(L);if(de!==null)q=parseInt(de[1]),te=parseInt(de[2]),ae=parseInt(de[3]),ce=1;else if((de=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(L))!==null)q=parseInt(de[1]),te=parseInt(de[2]),ae=parseInt(de[3]),ce=parseFloat(de[4]);else{if(ce=1,typeof L=="string"&&L.charAt(0)!=="#"){var k=new kp(L);L=k.ok?k.toHex():"#000000"}L.length===4?(q=L.substring(1,2),q+=q,te=L.substring(2,3),te+=te,ae=L.substring(3,4),ae+=ae):(q=L.substring(1,3),te=L.substring(3,5),ae=L.substring(5,7)),q=parseInt(q,16),te=parseInt(te,16),ae=parseInt(ae,16)}}return{r:q,g:te,b:ae,a:ce,style:L}},u=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},_=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};g.prototype.fillText=function(L,q,te,ae){if(isNaN(q)||isNaN(te)||typeof L!="str
138ing")throw mr.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(ae=isNaN(ae)?void 0:ae,!u.call(this)){var ce=ve(this.ctx.transform.rotation),de=this.ctx.transform.scaleX;P.call(this,{text:L,x:q,y:te,scale:de,angle:ce,align:this.textAlign,maxWidth:ae})}},g.prototype.strokeText=function(L,q,te,ae){if(isNaN(q)||isNaN(te)||typeof L!="string")throw mr.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!_.call(this)){ae=isNaN(ae)?void 0:ae;var ce=ve(this.ctx.transform.rotation),de=this.ctx.transform.scaleX;P.call(this,{text:L,x:q,y:te,scale:de,renderingMode:"stroke",angle:ce,align:this.textAlign,maxWidth:ae})}},g.prototype.measureText=function(L){if(typeof L!="string")throw mr.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var q=this.pdf,te=this.pdf.internal.scaleFactor,ae=q.internal.getFontSize(),ce=q.getStringUnitWidth(L)*ae/q.internal.scaleFactor;return new function(de){var k=(de=de||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return k}}),this}({width:ce*=Math.round(96*te/72*1e4)/1e4})},g.prototype.scale=function(L,q){if(isNaN(L)||isNaN(q))throw mr.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var te=new f(L,0,0,q,0,0);this.ctx.transform=this.ctx.transform.multiply(te)},g.prototype.rotate=function(L){if(isNaN(L))throw mr.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var q=new f(Math.cos(L),Math.sin(L),-Math.sin(L),Math.cos(L),0,0);this.ctx.transform=this.ctx.transform.multiply(q)},g.prototype.translate=function(L,q){if(isNaN(L)||isNaN(q))throw mr.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var te=new f(1,0,0,1,L,q);this.ctx.transform=this.ctx.transform.multiply(te)},g.prototype.transform=function(L,q,te,ae,ce,de){if(isNaN(L)||isNaN(q)||isNaN(te)||isNaN(ae)||isNaN(ce)||isNaN(de))throw mr.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var k=new f(L,q,te,ae,ce,de);this.ctx.transform=this.ctx.transform.multiply(k)},g.prototype.setTransform=function(L,q,te,ae,ce,de){L=isNaN(L)?1:L,q=isNaN(q)?0:q,te=isNaN(te)?0:te,ae=isNaN(ae)?1:ae,ce=isNaN(ce)?0:ce,de=isNaN(de)?0:de,this.ctx.transform=new f(L,q,te,ae,ce,de)};var w=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};g.prototype.drawImage=function(L,q,te,ae,ce,de,k,X,z){var G=this.pdf.getImageProperties(L),me=1,Ce=1,Ie=1,M=1;ae!==void 0&&X!==void 0&&(Ie=X/ae,M=z/ce,me=G.width/ae*X/ae,Ce=G.height/ce*z/ce),de===void 0&&(de=q,k=te,q=0,te=0),ae!==void 0&&X===void 0&&(X=ae,z=ce),ae===void 0&&X===void 0&&(X=G.width,z=G.height);var Ne=this.ctx.transform.decompose(),et=ve(Ne.rotate.shx),$e=new f,ke=($e=($e=($e=$e.multiply(Ne.translate)).multiply(Ne.skew)).multiply(Ne.scale)).applyToRectangle(new o(de-q*Ie,k-te*M,ae*me,ce*Ce));if(this.autoPaging){for(var it,tt=y.call(this,ke),ft=[],Ue=0;Ue<tt.length;Ue+=1)ft.indexOf(tt[Ue])===-1&&ft.push(tt[Ue]);S(ft);for(var pt=ft[0],je=ft[ft.length-1],Tt=pt;Tt<je+1;Tt++){this.pdf.setPage(Tt);var Pt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],vt=Tt===1?this.posY+this.margin[0]:this.margin[0],ct=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ct=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],se=Tt===1?0:ct+(Tt-2)*Ct;if(this.ctx.clip_path.length!==0){var Ye=this.path;it=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=E(it,this.posX+this.margin[3],-se+vt+this.ctx.prevPageLastElemOffset),re.call(this,"fill",!0),this.path=Ye}var st=JSON.parse(JSON.stringify(ke));st=E([st],this.posX+this.margin[3],-se+vt+this.ctx.prevPageLastElemOffset)[0];var lt=(Tt>pt||Tt<je)&&w.call(this);lt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Pt,Ct,null).clip().discardPath()),this.pdf.addImage(L,"JPEG",st.x,st.y,st.w,st.h,null,
vendor: 1,484 bytes, line 138
138null,et),lt&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(L,"JPEG",ke.x,ke.y,ke.w,ke.h,null,null,et)};var y=function(L,q,te){var ae=[];q=q||this.pdf.internal.pageSize.width,te=te||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var ce=this.posY+this.ctx.prevPageLastElemOffset;switch(L.type){default:case"mt":case"lt":ae.push(Math.floor((L.y+ce)/te)+1);break;case"arc":ae.push(Math.floor((L.y+ce-L.radius)/te)+1),ae.push(Math.floor((L.y+ce+L.radius)/te)+1);break;case"qct":var de=Le(this.ctx.lastPoint.x,this.ctx.lastPoint.y,L.x1,L.y1,L.x,L.y);ae.push(Math.floor((de.y+ce)/te)+1),ae.push(Math.floor((de.y+de.h+ce)/te)+1);break;case"bct":var k=Ge(this.ctx.lastPoint.x,this.ctx.lastPoint.y,L.x1,L.y1,L.x2,L.y2,L.x,L.y);ae.push(Math.floor((k.y+ce)/te)+1),ae.push(Math.floor((k.y+k.h+ce)/te)+1);break;case"rect":ae.push(Math.floor((L.y+ce)/te)+1),ae.push(Math.floor((L.y+L.h+ce)/te)+1)}for(var X=0;X<ae.length;X+=1)for(;this.pdf.internal.getNumberOfPages()<ae[X];)v.call(this);return ae},v=function(){var L=this.fillStyle,q=this.strokeStyle,te=this.font,ae=this.lineCap,ce=this.lineWidth,de=this.lineJoin;this.pdf.addPage(),this.fillStyle=L,this.strokeStyle=q,this.font=te,this.lineCap=ae,this.lineWidth=ce,this.lineJoin=de},E=function(L,q,te){for(var ae=0;ae<L.length;ae++)switch(L[ae].type){case"bct":L[ae].x2+=q,L[ae].y2+=te;case"qct":L[ae].x1+=q,L[ae].y1+=te;default:L[ae].x+=q,L[ae].y+=te}return L},S=function(L){return L.sort(function(q,te){return q-te})}
vendor: 46,405 bytes, lines 138-146
138,R=function(L,q){var te=this.fillStyle,ae=this.strokeStyle,ce=this.lineCap,de=this.lineWidth,k=Math.abs(de*this.ctx.transform.scaleX),X=this.lineJoin;if(this.autoPaging){for(var z,G,me=JSON.parse(JSON.stringify(this.path)),Ce=JSON.parse(JSON.stringify(this.path)),Ie=[],M=0;M<Ce.length;M++)if(Ce[M].x!==void 0)for(var Ne=y.call(this,Ce[M]),et=0;et<Ne.length;et+=1)Ie.indexOf(Ne[et])===-1&&Ie.push(Ne[et]);for(var $e=0;$e<Ie.length;$e++)for(;this.pdf.internal.getNumberOfPages()<Ie[$e];)v.call(this);S(Ie);for(var ke=Ie[0],it=Ie[Ie.length-1],tt=ke;tt<it+1;tt++){this.pdf.setPage(tt),this.fillStyle=te,this.strokeStyle=ae,this.lineCap=ce,this.lineWidth=k,this.lineJoin=X;var ft=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Ue=tt===1?this.posY+this.margin[0]:this.margin[0],pt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],je=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Tt=tt===1?0:pt+(tt-2)*je;if(this.ctx.clip_path.length!==0){var Pt=this.path;z=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=E(z,this.posX+this.margin[3],-Tt+Ue+this.ctx.prevPageLastElemOffset),re.call(this,L,!0),this.path=Pt}if(G=JSON.parse(JSON.stringify(me)),this.path=E(G,this.posX+this.margin[3],-Tt+Ue+this.ctx.prevPageLastElemOffset),q===!1||tt===0){var vt=(tt>ke||tt<it)&&w.call(this);vt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ft,je,null).clip().discardPath()),re.call(this,L,q),vt&&this.pdf.restoreGraphicsState()}this.lineWidth=de}this.path=me}else this.lineWidth=k,re.call(this,L,q),this.lineWidth=de},re=function(L,q){if((L!=="stroke"||q||!_.call(this))&&(L==="stroke"||q||!u.call(this))){for(var te,ae,ce=[],de=this.path,k=0;k<de.length;k++){var X=de[k];switch(X.type){case"begin":ce.push({begin:!0});break;case"close":ce.push({close:!0});break;case"mt":ce.push({start:X,deltas:[],abs:[]});break;case"lt":var z=ce.length;if(de[k-1]&&!isNaN(de[k-1].x)&&(te=[X.x-de[k-1].x,X.y-de[k-1].y],z>0)){for(;z>=0;z--)if(ce[z-1].close!==!0&&ce[z-1].begin!==!0){ce[z-1].deltas.push(te),ce[z-1].abs.push(X);break}}break;case"bct":te=[X.x1-de[k-1].x,X.y1-de[k-1].y,X.x2-de[k-1].x,X.y2-de[k-1].y,X.x-de[k-1].x,X.y-de[k-1].y],ce[ce.length-1].deltas.push(te);break;case"qct":var G=de[k-1].x+2/3*(X.x1-de[k-1].x),me=de[k-1].y+2/3*(X.y1-de[k-1].y),Ce=X.x+2/3*(X.x1-X.x),Ie=X.y+2/3*(X.y1-X.y),M=X.x,Ne=X.y;te=[G-de[k-1].x,me-de[k-1].y,Ce-de[k-1].x,Ie-de[k-1].y,M-de[k-1].x,Ne-de[k-1].y],ce[ce.length-1].deltas.push(te);break;case"arc":ce.push({deltas:[],abs:[],arc:!0}),Array.isArray(ce[ce.length-1].abs)&&ce[ce.length-1].abs.push(X)}}ae=q?null:L==="stroke"?"stroke":"fill";for(var et=!1,$e=0;$e<ce.length;$e++)if(ce[$e].arc)for(var ke=ce[$e].abs,it=0;it<ke.length;it++){var tt=ke[it];tt.type==="arc"?B.call(this,tt.x,tt.y,tt.radius,tt.startAngle,tt.endAngle,tt.counterclockwise,void 0,q,!et):j.call(this,tt.x,tt.y),et=!0}else if(ce[$e].close===!0)this.pdf.internal.out("h"),et=!1;else if(ce[$e].begin!==!0){var ft=ce[$e].start.x,Ue=ce[$e].start.y;ie.call(this,ce[$e].deltas,ft,Ue),et=!0}ae&&T.call(this,ae),q&&Q.call(this)}},fe=function(L){var q=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,te=q*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return L-te;case"top":return L+q-te;case"hanging":return L+q-2*te;case"middle":return L+q/2-te;default:return L}},O=function(L){return L+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};g.prototype.createLinearGradient=function(){var L=function(){};return L.colorStops=[],L.addColorStop=function(q,te){this.colorStops.push([q,te])},L.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},L.isCanvasGradient=!0,L},g.prototype.createPattern=function(){return this.createLinearGradient()},g.prototype.createRadialGradient=function(){return this.createLinearGradient()};var B=function(L,q,te,ae,ce,de,k,X,z){for(var G=Fe.call(this,te,ae,ce,de),me=0;me<G.length;me++){var Ce=G[me];me===0&&(z?A.call(this,Ce.x1+L,Ce.y1+q):j.call(this,Ce.x1+L,Ce.y1+q)),he.call(this,L,q,Ce.x2,Ce.y2,Ce.x3,Ce.y3,Ce.x4,Ce.y4)}X?Q.call(this):T.call(this,k)},T=function(L){switch(L){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},Q=function(){this.pdf.clip(),this.pdf.discardPath()},A=function(L,q){this.pdf.internal.out(t(L)+" "+n(q)+" m")},P=function(L){var q;switch(L.align){case"right":case"end":q="right";break;case"center":q="center";break;default:q="left"}var te,ae,ce,de=this.pdf.getTextDimensions(L.text),k=fe.call(this,L.y),X=O.call(this,k)-de.h,z=this.ctx.transform.applyToPoint(new s(L.x,k));if(this.autoPaging){var G=this.ctx.transform.decompose(),me=new f;me=(me=(me=me.multiply(G.translate)).multiply(G.skew)).multiply(G.scale);for(var Ce=this.ctx.transform.applyToRectangle(new o(L.x,k,de.w,de.h)),Ie=me.applyToRectangle(new o(L.x,X,de.w,de.h)),M=y.call(this,Ie),Ne=[],et=0;et<M.length;et+=1)Ne.indexOf(M[et])===-1&&Ne.push(M[et]);S(Ne);for(var $e=Ne[0],ke=Ne[Ne.length-1],it=$e;it<ke+1;it++){this.pdf.setPage(it);var tt=it===1?this.posY+this.margin[0]:this.margin[0],ft=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ue=this.pdf.internal.pageSize.height-this.margin[2],pt=Ue-this.margin[0],je=this.pdf.internal.pageSize.width-this.margin[1],Tt=je-this.margin[3],Pt=it===1?0:ft+(it-2)*pt;if(this.ctx.clip_path.length!==0){var vt=this.path;te=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=E(te,this.posX+this.margin[3],-1*Pt+tt),re.call(this,"fill",!0),this.path=vt}var ct=E([JSON.parse(JSON.stringify(Ie))],this.posX+this.margin[3],-Pt+tt+this.ctx.prevPageLastElemOffset)[0];L.scale>=.01&&(ae=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ae*L.scale),ce=this.lineWidth,this.lineWidth=ce*L.scale);var Ct=this.autoPaging!=="text";if(Ct||ct.y+ct.h<=Ue){if(Ct||ct.y>=tt&&ct.x<=je){var se=Ct?L.text:this.pdf.splitTextToSize(L.text,L.maxWidth||je-ct.x)[0],Ye=E([JSON.parse(JSON.stringify(Ce))],this.posX+this.margin[3],-Pt+tt+this.ctx.prevPageLastElemOffset)[0],st=Ct&&(it>$e||it<ke)&&w.call(this);st&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Tt,pt,null).clip().discardPath()),this.pdf.text(se,Ye.x,Ye.y,{angle:L.angle,align:q,renderingMode:L.renderingMode}),st&&this.pdf.restoreGraphicsState()}}else ct.y<Ue&&(this.ctx.prevPageLastElemOffset+=Ue-ct.y);L.scale>=.01&&(this.pdf.setFontSize(ae),this.lineWidth=ce)}}else L.scale>=.01&&(ae=this.pdf.internal.getFontSize(),this.pdf.setFontSize(ae*L.scale),ce=this.lineWidth,this.lineWidth=ce*L.scale),this.pdf.text(L.text,z.x+this.posX,z.y+this.posY,{angle:L.angle,align:q,renderingMode:L.renderingMode,maxWidth:L.maxWidth}),L.scale>=.01&&(this.pdf.setFontSize(ae),this.lineWidth=ce)},j=function(L,q,te,ae){te=te||0,ae=ae||0,this.pdf.internal.out(t(L+te)+" "+n(q+ae)+" l")},ie=function(L,q,te){return this.pdf.lines(L,q,te,null,null)},he=function(L,q,te,ae,ce,de,k,X){this.pdf.internal.out([r(i(te+L)),r(a(ae+q)),r(i(ce+L)),r(a(de+q)),r(i(k+L)),r(a(X+q)),"c"].join(" "))},Fe=function(L,q,te,ae){for(var ce=2*Math.PI,de=Math.PI/2;q>te;)q-=ce;var k=Math.abs(te-q);k<ce&&ae&&(k=ce-k);for(var X=[],z=ae?-1:1,G=q;k>1e-5;){var me=G+z*Math.min(k,de);X.push(xe.call(this,L,G,me)),k-=Math.abs(me-G),G=me}return X},xe=function(L,q,te){var ae=(te-q)/2,ce=L*Math.cos(ae),de=L*Math.sin(ae),k=ce,X=-de,z=k*k+X*X,G=z+k*ce+X*de,me=4/3*(Math.sqrt(2*z*G)-G)/(k*de-X*ce),Ce=k-me*X,Ie=X+me*k,M=Ce,Ne=-Ie,et=ae+q,$e=Math.cos(et),ke=Math.sin(et);return{x1:L*Math.cos(q),y1:L*Math.sin(q),x2:Ce*$e-Ie*ke,y2:Ce*ke+Ie*$e,x3:M*$e-Ne*ke,y3:M*ke+Ne*$e,x4:L*Math.cos(te),y4:L*Math.sin(te)}},ve=function(L){return 180*L/Math.PI},Le=function(L,q,te,ae,ce,de){var k=L+.5*(te-L),X=q+.5*(ae-q),z=ce+.5*(te-ce),G=de+.5*(ae-de),me=Math.min(L,ce,k,z),Ce=Math.max(L,ce,k,z),Ie=Math.min(q,de,X,G),M=Math.max(q,de,X,G);return new o(me,Ie,Ce-me,M-Ie)},Ge=function(L,q,te,ae,ce,de,k,X){var z,G,me,Ce,Ie,M,Ne,et,$e,ke,it,tt,ft,Ue,pt=te-L,je=ae-q,Tt=ce-te,Pt=de-ae,vt=k-ce,ct=X-de;for(G=0;G<41;G++)$e=(Ne=(me=L+(z=G/40)*pt)+z*((Ie=te+z*Tt)-me))+z*(Ie+z*(ce+z*vt-Ie)-Ne),ke=(et=(Ce=q+z*je)+z*((M=ae+z*Pt)-Ce))+z*(M+z*(de+z*ct-M)-et),G==0?(it=$e,tt=ke,ft=$e,Ue=ke):(it=Math.min(it,$e),tt=Math.min(tt,ke),ft=Math.max(ft,$e),Ue=Math.max(Ue,ke));return new o(Math.round(it),Math.round(tt),Math.round(ft-it),Math.round(Ue-tt))},Be=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var L,q,te=(L=this.ctx.lineDash,q=this.ctx.lineDashOffset,JSON.stringify({lineDash:L,lineDashOffset:q}));this.prevLineDash!==te&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=te)}}})(At.API),function(e){var r=function(s){var o,f,l,h,g,p,u,_,w,y;for(f=[],l=0,h=(s+=o="\0\0\0\0".slice(s.length%4||4)).length;h>l;l+=4)(g=(s.charCodeAt(l)<<24)+(s.charCodeAt(l+1)<<16)+(s.charCodeAt(l+2)<<8)+s.charCodeAt(l+3))!==0?(p=(g=((g=((g=((g=(g-(y=g%85))/85)-(w=g%85))/85)-(_=g%85))/85)-(u=g%85))/85)%85,f.push(p+33,u+33,_+33,w+33,y+33)):f.push(122);return function(v,E){for(var S=E;S>0;S--)v.pop()}(f,o.length),String.fromCharCode.apply(String,f)+"~>"},t=function(s){var o,f,l,h,g,p=String,u="length",_=255,w="charCodeAt",y="slice",v="replace";for(s[y](-2),s=s[y](0,-2)[v](/\s/g,"")[v]("z","!!!!!"),l=[],h=0,g=(s+=o="uuuuu"[y](s[u]%5||5))[u];g>h;h+=5)f=52200625*(s[w](h)-33)+614125*(s[w](h+1)-33)+7225*(s[w](h+2)-33)+85*(s[w](h+3)-33)+(s[w](h+4)-33),l.push(_&f>>24,_&f>>16,_&f>>8,_&f);return function(E,S){for(var R=S;R>0;R--)E.pop()}(l,o[u]),p.fromCharCode.apply(p,l)},n=function(s){return s.split("").map(function(o){return("0"+o.charCodeAt().toString(16)).slice(-2)}).join("")+">"},i=function(s){var o=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((s=s.replace(/\s/g,"")).indexOf(">")!==-1&&(s=s.substr(0,s.indexOf(">"))),s.length%2&&(s+="0"),o.test(s)===!1)return"";for(var f="",l=0;l<s.length;l+=2)f+=String.fromCharCode("0x"+(s[l]+s[l+1]));return f},a=function(s){for(var o=new Uint8Array(s.length),f=s.length;f--;)o[f]=s.charCodeAt(f);return(o=Ch(o)).reduce(function(l,h){return l+String.fromCharCode(h)},"")};e.processDataByFilters=function(s,o){var f=0,l=s||"",h=[];for(typeof(o=o||[])=="string"&&(o=[o]),f=0;f<o.length;f+=1)switch(o[f]){case"ASCII85Decode":case"/ASCII85Decode":l=t(l),h.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":l=r(l),h.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":l=i(l),h.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":l=n(l),h.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":l=a(l),h.push("/FlateDecode");break;default:throw new Error('The filter: "'+o[f]+'" is not implemented')}return{data:l,reverseChain:h.reverse().join(" ")}}}(At.API),function(e){e.loadFile=function(r,t,n){return function(i,a,s){a=a!==!1,s=typeof s=="function"?s:function(){};var o=void 0;try{o=function(f,l,h){var g=new XMLHttpRequest,p=0,u=function(_){var w=_.length,y=[],v=String.fromCharCode;for(p=0;p<w;p+=1)y.push(v(255&_.charCodeAt(p)));return y.join("")};if(g.open("GET",f,!l),g.overrideMimeType("text/plain; charset=x-user-defined"),l===!1&&(g.onload=function(){g.status===200?h(u(this.responseText)):h(void 0)}),g.send(null),l&&g.status===200)return u(g.responseText)}(i,a,s)}catch{}return o}(r,t,n)},e.allowFsRead=void 0,e.loadImageFile=e.loadFile}(At.API),function(e){function r(){return(Dt.html2canvas?Promise.resolve(Dt.html2canvas):Mc(()=>import("./html2canvas.esm-CBrSDip1.js"),[])).catch(function(o){return Promise.reject(new Error("Could not load html2canvas: "+o))}).then(function(o){return o.default?o.default:o})}function t(){return(Dt.DOMPurify?Promise.resolve(Dt.DOMPurify):Mc(()=>import("./purify.es-Jn2rvFN8.js"),[])).catch(function(o){return Promise.reject(new Error("Could not load dompurify: "+o))}).then(function(o){return o.default?o.default:o})}var n=function(o){var f=lr(o);return f==="undefined"?"undefined":f==="string"||o instanceof String?"string":f==="number"||o instanceof Number?"number":f==="function"||o instanceof Function?"function":o&&o.constructor===Array?"array":o&&o.nodeType===1?"element":f==="object"?"object":"unknown"},i=function(o,f){var l=document.createElement(o);for(var h in f.className&&(l.className=f.className),f.innerHTML&&f.dompurify&&(l.innerHTML=f.dompurify.sanitize(f.innerHTML)),f.style)l.style[h]=f.style[h];return l},a=function o(f,l){for(var h=f.nodeType===3?document.createTextNode(f.nodeValue):f.cloneNode(!1),g=f.firstChild;g;g=g.nextSibling)l!==!0&&g.nodeType===1&&g.nodeName==="SCRIPT"||h.appendChild(o(g,l));return f.nodeType===1&&(f.nodeName==="CANVAS"?(h.width=f.width,h.height=f.height,h.getContext("2d").drawImage(f,0,0)):f.nodeName!=="TEXTAREA"&&f.nodeName!=="SELECT"||(h.value=f.value),h.addEventListener("load",function(){h.scrollTop=f.scrollTop,h.scrollLeft=f.scrollLeft},!0)),h},s=function o(f){var l=Object.assign(o.convert(Promise.resolve()),JSON.parse(JSON.stringify(o.template))),h=o.convert(Promise.resolve(),l);return(h=h.setProgress(1,o,1,[o])).set(f)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(o,f){return o.__proto__=f||s.prototype,o},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(o,f){return this.then(function(){switch(f=f||function(l){switch(n(l)){case"string":return"string";case"element":return l.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(o),f){case"string":return this.then(t).then(function(l){return this.set({src:i("div",{innerHTML:o,dompurify:l})})});case"element":return this.set({src:o});case"canvas":return this.set({canvas:o});case"img":return this.set({img:o});default:return this.error("Unknown source type.")}})},s.prototype.to=function(o){switch(o){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var o={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},f=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);f.tagName==="BODY"&&(o.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:o}),this.prop.container.appendChild(f),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},s.prototype.toCanvas=function(){var o=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(o).then(r).then(function(f){var l=Object.assign({},this.opt.html2canvas);return delete l.onrendered,f(this.prop.container,l)}).then(function(f){(this.opt.html2canvas.onrendered||function(){})(f),this.prop.canvas=f,document.body.removeChild(this.prop.overlay)})},s.prototype.toContext2d=function(){var o=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(o).then(r).then(function(f){var l=this.opt.jsPDF,h=this.opt.fontFaces,g=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,p=Object.assign({async:!0,allowTaint:!0,scale:g,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete p.onrendered,l.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,l.context2d.posX=this.opt.x,l.context2d.posY=this.opt.y,l.context2d.margin=this.opt.margin,l.context2d.fontFaces=h,h)for(var u=0;u<h.length;++u){var _=h[u],w=_.src.find(function(y){return y.format==="truetype"});w&&l.addFont(w.url,_.ref.name,_.ref.style)}return p.windowHeight=p.windowHeight||0,p.windowHeight=p.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):p.windowHeight,l.context2d.save(!0),f(this.prop.container,p)}).then(function(f){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(f),this.prop.canvas=f,document.body.removeChild(this.prop.overlay)})},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var o=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=o})},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},s.prototype.output=function(o,f,l){return(l=l||"pdf").toLowerCase()==="img"||l.toLowerCase()==="image"?this.outputImg(o,f):this.outputPdf(o,f)},s.prototype.outputPdf=function(o,f){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(o,f)})},s.prototype.outputImg=function(o){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(o){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+o+'" is not supported.'}})},s.prototype.save=function(o){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(o?{filename:o}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},s.prototype.set=function(o){if(n(o)!=="object")return this;var f=Object.keys(o||{}).map(function(l){if(l in s.template.prop)return function(){this.prop[l]=o[l]};switch(l){case"margin":return this.setMargin.bind(this,o.margin);case"jsPDF":return function(){return this.opt.jsPDF=o.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,o.pageSize);default:return function(){this.opt[l]=o[l]}}},this);return this.then(function(){return this.thenList(f)})},s.prototype.get=function(o,f){return this.then(function(){var l=o in s.template.prop?this.prop[o]:this.opt[o];return f?f(l):l})},s.prototype.setMargin=function(o){return this.then(function(){switch(n(o)){case"number":o=[o,o,o,o];case"array":if(o.length===2&&(o=[o[0],o[1],o[0],o[1]]),o.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=o}).then(this.setPageSize)},s.prototype.setPageSize=function(o){function f(l,h){return Math.floor(l*h/72*96)}return this.then(function(){(o=o||At.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(o.inner={width:o.width-this.opt.margin[1]-this.opt.margin[3],height:o.height-this.opt.margin[0]-this.opt.margin[2]},o.inner.px={width:f(o.inner.width,o.k),height:f(o.inner.height,o.k)},o.inner.ratio=o.inner.height/o.inner.width),this.prop.pageSize=o})},s.prototype.setProgress=function(o,f,l,h){return o!=null&&(this.progress.val=o),f!=null&&(this.progress.state=f),l!=null&&(this.progress.n=l),h!=null&&(this.progress.stack=h),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(o,f,l,h){return this.setProgress(o?this.progress.val+o:null,f||null,l?this.progress.n+l:null,h?this.progress.stack.concat(h):null)},s.prototype.then=function(o,f){var l=this;return this.thenCore(o,f,function(h,g){return l.updateProgress(null,null,1,[h]),Promise.prototype.then.call(this,function(p){return l.updateProgress(null,h),p}).then(h,g).then(function(p){return l.updateProgress(1),p})})},s.prototype.thenCore=function(o,f,l){l=l||Promise.prototype.then;var h=this;o&&(o=o.bind(h)),f&&(f=f.bind(h));var g=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?h:s.convert(Object.assign({},h),Promise.prototype),p=l.call(g,o,f);return s.convert(p,h.__proto__)},s.prototype.thenExternal=function(o,f){return Promise.prototype.then.call(this,o,f)},s.prototype.thenList=function(o){var f=this;return o.forEach(function(l){f=f.thenCore(l)}),f},s.prototype.catch=function(o){o&&(o=o.bind(this));var f=Promise.prototype.catch.call(this,o);return s.convert(f,this)},s.prototype.catchExternal=function(o){return Promise.prototype.catch.call(this,o)},s.prototype.error=function(o){return this.then(function(){throw new Error(o)})},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,At.getPageSize=function(o,f,l){if(lr(o)==="object"){var h=o;o=h.orientation,f=h.unit||f,l=h.format||l}f=f||"mm",l=l||"a4",o=(""+(o||"P")).toLowerCase();var g,p=(""+l).toLowerCase(),u={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]};switch(f){case"pt":g=1;break;case"mm":g=72/25.4;break;case"cm":g=72/2.54;break;case"in":g=72;break;case"px":g=.75;break;case"pc":case"em":g=12;break;case"ex":g=6;break;default:throw"Invalid unit: "+f}var _,w=0,y=0;if(u.hasOwnProperty(p))w=u[p][1]/g,y=u[p][0]/g;else try{w=l[1],y=l[0]}catch{throw new Error("Invalid format: "+l)}if(o==="p"||o==="portrait")o="p",y>w&&(_=y,y=w,w=_);else{if(o!=="l"&&o!=="landscape")throw"Invalid orientation: "+o;o="l",w>y&&(_=y,y=w,w=_)}return{width:y,height:w,unit:f,k:g,orientation:o}},e.html=function(o,f){(f=f||{}).callback=f.callback||function(){},f.html2canvas=f.html2canvas||{},f.html2canvas.canvas=f.html2canvas.canvas||this.canvas,f.jsPDF=f.jsPDF||this,f.fontFaces=f.fontFaces?f.fontFaces.map(lh):null;var l=new s(f);return f.worker?l:l.from(o).doCallback()}}(At.API),At.API.addJS=function(e){var r,t,n=function(i){for(var a="",s=0;s<i.length;s++){var o=i[s];if(o==="("||o===")"){for(var f=0,l=s-1;l>=0&&i[l]==="\\";l--)f++;a+=f%2==0?"\\"+o:o}else a+=o}return a}(e);return this.internal.events.subscribe("postPutResources",function(){r=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(r+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+n+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){r!==void 0&&t!==void 0&&this.internal.out("/Names <</JavaScript "+r+" 0 R>>")}),this},function(e){var r;e.events.push(["postPutResources",function(){var t=this,n=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=t.outline.render().split(/\r\n/),a=0;a<i.length;a++){var s=i[a],o=n.exec(s);if(o!=null){var f=o[1];t.internal.newObjectDeferredBegin(f,!1)}t.internal.write(s)}if(this.outline.createNamedDestinations){var l=this.internal.pages.length,h=[];for(a=0;a<l;a++){var g=t.internal.newObject();h.push(g);var p=t.internal.getPageInfo(a+1);t.internal.write("<< /D["+p.objId+" 0 R /XYZ null null null]>> endobj")}var u=t.internal.newObject();for(t.internal.write("<< /Names [ "),a=0;a<h.length;a++)t.internal.write("(page_"+(a+1)+")"+h[a]+" 0 R");t.internal.write(" ] >>","endobj"),r=t.internal.newObject(),t.internal.write("<< /Dests "+u+" 0 R"),t.internal.write(">>","endobj")}}]),e.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+r+" 0 R"))}]),e.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(n,i,a){var s={title:i,options:a,children:[]};return n==null&&(n=this.root),n.children.push(s),s},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(n){n.id=t.internal.newObjectDeferred();for(var i=0;i<n.children.length;i++)this.genIds_r(n.children[i])},t.outline.renderRoot=function(n){this.objStart(n),this.line("/Type /Outlines"),n.children.length>0&&(this.line("/First "+this.makeRef(n.children[0])),this.line("/Last "+this.makeRef(n.children[n.children.length-1]))),this.line("/Count "+this.count_r({count:0},n)),this.objEnd()},t.outline.renderItems=function(n){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,a=0;a<n.children.length;a++){var s=n.children[a];this.objStart(s),this.line("/Title "+this.makeString(s.title)),this.line("/Parent "+this.makeRef(n)),a>0&&this.line("/Prev "+this.makeRef(n.children[a-1])),a<n.children.length-1&&this.line("/Next "+this.makeRef(n.children[a+1])),s.children.length>0&&(this.line("/First "+this.makeRef(s.children[0])),this.line("/Last "+this.makeRef(s.children[s.children.length-1])));var o=this.count=this.count_r({count:0},s);if(o>0&&this.line("/Count "+o),s.options&&s.options.pageNumber){var f=t.internal.getPageInfo(s.options.pageNumber);this.line("/Dest ["+f.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var l=0;l<n.children.length;l++)this.renderItems(n.children[l])},t.outline.line=function(n){this.ctx.val+=n+`\r
139`},t.outline.makeRef=function(n){return n.id+" 0 R"},t.outline.makeString=function(n){return"("+t.internal.pdfEscape(n)+")"},t.outline.objStart=function(n){this.ctx.val+=`\r
140`+n.id+` 0 obj\r
141<<\r
142`},t.outline.objEnd=function(){this.ctx.val+=`>> \r
143endobj\r
144`},t.outline.count_r=function(n,i){for(var a=0;a<i.children.length;a++)n.count++,this.count_r(n,i.children[a]);return n.count}}])}(At.API),function(e){var r=[192,193,194,195,196,197,198,199];e.processJPEG=function(t,n,i,a,s,o){var f,l=this.decode.DCT_DECODE,h=null;if(typeof t=="string"||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=s||t,t=this.__addimage__.isArrayBuffer(t)?new Uint8Array(t):t,f=function(g){for(var p,u=256*g.charCodeAt(4)+g.charCodeAt(5),_=g.length,w={width:0,height:0,numcomponents:1},y=4;y<_;y+=2){if(y+=u,r.indexOf(g.charCodeAt(y+1))!==-1){p=256*g.charCodeAt(y+5)+g.charCodeAt(y+6),w={width:256*g.charCodeAt(y+7)+g.charCodeAt(y+8),height:p,numcomponents:g.charCodeAt(y+9)};break}u=256*g.charCodeAt(y+2)+g.charCodeAt(y+3)}return w}(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t),f.numcomponents){case 1:o=this.color_spaces.DEVICE_GRAY;break;case 4:o=this.color_spaces.DEVICE_CMYK;break;case 3:o=this.color_spaces.DEVICE_RGB}h={data:t,width:f.width,height:f.height,colorSpace:o,bitsPerComponent:8,filter:l,index:n,alias:i}}return h}}(At.API),At.API.processPNG=function(e,r,t,n){if(this.__addimage__.isArrayBuffer(e)&&(e=new Uint8Array(e)),this.__addimage__.isArrayBufferView(e)){var i,a=j_(e,{checkCrc:!0}),s=a.width,o=a.height,f=a.channels,l=a.palette,h=a.depth;i=l&&f===1?function(B){for(var T=B.width,Q=B.height,A=B.data,P=B.palette,j=B.depth,ie=!1,he=[],Fe=[],xe=void 0,ve=!1,Le=0,Ge=0;Ge<P.length;Ge++){var Be=_1(P[Ge],4),L=Be[0],q=Be[1],te=Be[2],ae=Be[3];he.push(L,q,te),ae!=null&&(ae===0?(Le++,Fe.length<1&&Fe.push(Ge)):ae<255&&(ve=!0))}if(ve||Le>1){ie=!0,Fe=void 0;var ce=T*Q;xe=new Uint8Array(ce);for(var de=new DataView(A.buffer),k=0;k<ce;k++){var X=hh(de,k,j),z=_1(P[X],4)[3];xe[k]=z}}else Le===0&&(Fe=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:ie?8:void 0,colorBytes:A,alphaBytes:xe,needSMask:ie,palette:he,mask:Fe}}(a):f===2||f===4?function(B){for(var T=B.data,Q=B.width,A=B.height,P=B.channels,j=B.depth,ie=P===2?"DeviceGray":"DeviceRGB",he=P-1,Fe=Q*A,xe=he,ve=Fe*xe,Le=1*Fe,Ge=Math.ceil(ve*j/8),Be=Math.ceil(Le*j/8),L=new Uint8Array(Ge),q=new Uint8Array(Be),te=new DataView(T.buffer),ae=new DataView(L.buffer),ce=new DataView(q.buffer),de=!1,k=0;k<Fe;k++){for(var X=k*P,z=0;z<xe;z++)O2(ae,hh(te,X+z,j),k*xe+z,j);var G=hh(te,X+xe,j);G<(1<<j)-1&&(de=!0),O2(ce,G,1*k,j)}return{colorSpace:ie,colorsPerPixel:he,sMaskBitsPerComponent:de?j:void 0,colorBytes:L,alphaBytes:q,needSMask:de}}(a):function(B){var T=B.data,Q=B.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:Q,colorsPerPixel:Q==="DeviceGray"?1:3,colorBytes:T instanceof Uint16Array?function(A){for(var P=A.length,j=new Uint8Array(2*P),ie=new DataView(j.buffer,j.byteOffset,j.byteLength),he=0;he<P;he++)ie.setUint16(2*he,A[he],!1);return j}(T):T,needSMask:!1}}(a);var g,p,u,_=i,w=_.colorSpace,y=_.colorsPerPixel,v=_.sMaskBitsPerComponent,E=_.colorBytes,S=_.alphaBytes,R=_.needSMask,re=_.palette,fe=_.mask,O=null;return n!==At.API.image_compression.NONE&&typeof Ch=="function"?(O=function(B){var T;switch(B){case At.API.image_compression.FAST:T=11;break;case At.API.image_compression.MEDIUM:T=13;break;case At.API.image_compression.SLOW:T=14;break;default:T=12}return T}(n),g=this.decode.FLATE_DECODE,p="/Predictor ".concat(O," /Colors ").concat(y," /BitsPerComponent ").concat(h," /Columns ").concat(s),e=L2(E,Math.ceil(s*y*h/8),y,h,n),R&&(u=L2(S,Math.ceil(s*v/8),1,v,n))):(g=void 0,p=void 0,e=E,R&&(u=S)),(this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e))&&(e=this.__addimage__.arrayBufferToBinaryString(e)),(u&&this.__addimage__.isArrayBuffer(u)||this.__addimage__.isArrayBufferView(u))&&(u=this.__addimage__.arrayBufferToBinaryString(u)),{alias:t,data:e,index:r,filter:g,decodeParameters:p,transparency:fe,palette:re,sMask:u,predictor:O,width:s,height:o,bitsPerComponent:h,sMaskBitsPerComponent:v,colorSpace:w}}},function(e){e.processGIF89A=function(r,t,n,i){var a=new o4(r),s=a.width,o=a.height,f=[];a.decodeAndBlitFrameRGBA(0,f);var l={data:f,width:s,height:o},h=new uh(100).encode(l,100);return e.processJPEG.call(this,h,t,n,i)},e.processGIF87A=e.processGIF89A}(At.API),Bi.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var e=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(e);for(var r=0;r<e;r++){var t=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[r]={red:i,green:n,blue:t,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Bi.prototype.parseBGR=function(){this.pos=this.offset;var e="bit"+this.bitPP,r=this.width*this.height*4;if(r>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(r);try{this[e]()}catch(t){mr.log("bit decode error:"+t)}},Bi.prototype.bit1=function(){var e,r=Math.ceil(this.width/8),t=r%4;for(e=this.height-1;e>=0;e--){for(var n=this.bottom_up?e:this.height-1-e,i=0;i<r;i++)for(var a=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+8*i*4,o=0;o<8&&8*i+o<this.width;o++){var f=this.palette[a>>7-o&1];this.data[s+4*o]=f.blue,this.data[s+4*o+1]=f.green,this.data[s+4*o+2]=f.red,this.data[s+4*o+3]=255}t!==0&&(this.pos+=4-t)}},Bi.prototype.bit4=function(){for(var e=Math.ceil(this.width/2),r=e%4,t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<e;i++){var a=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+2*i*4,o=a>>4,f=15&a,l=this.palette[o];if(this.data[s]=l.blue,this.data[s+1]=l.green,this.data[s+2]=l.red,this.data[s+3]=255,2*i+1>=this.width)break;l=this.palette[f],this.data[s+4]=l.blue,this.data[s+4+1]=l.green,this.data[s+4+2]=l.red,this.data[s+4+3]=255}r!==0&&(this.pos+=4-r)}},Bi.prototype.bit8=function(){for(var e=this.width%4,r=this.height-1;r>=0;r--){for(var t=this.bottom_up?r:this.height-1-r,n=0;n<this.width;n++){var i=this.datav.getUint8(this.pos++,!0),a=t*this.width*4+4*n;if(i<this.palette.length){var s=this.palette[i];this.data[a]=s.red,this.data[a+1]=s.green,this.data[a+2]=s.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}e!==0&&(this.pos+=4-e)}},Bi.prototype.bit15=function(){for(var e=this.width%3,r=parseInt("11111",2),t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(a&r)/r*255|0,o=(a>>5&r)/r*255|0,f=(a>>10&r)/r*255|0,l=a>>15?255:0,h=n*this.width*4+4*i;this.data[h]=f,this.data[h+1]=o,this.data[h+2]=s,this.data[h+3]=l}this.pos+=e}},Bi.prototype.bit16=function(){for(var e=this.width%3,r=parseInt("11111",2),t=parseInt("111111",2),n=this.height-1;n>=0;n--){for(var i=this.bottom_up?n:this.height-1-n,a=0;a<this.width;a++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(s&r)/r*255|0,f=(s>>5&t)/t*255|0,l=(s>>11)/r*255|0,h=i*this.width*4+4*a;this.data[h]=l,this.data[h+1]=f,this.data[h+2]=o,this.data[h+3]=255}this.pos+=e}},Bi.prototype.bit24=function(){for(var e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,t=0;t<this.width;t++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+4*t;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=n,this.data[s+3]=255}this.pos+=this.width%4}},Bi.prototype.bit32=function(){for(var e=this.height-1;e>=0;e--)for(var r=this.bottom_up?e:this.height-1-e,t=0;t<this.width;t++){var n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=r*this.width*4+4*t;this.data[o]=a,this.data[o+1]=i,this.data[o+2]=n,this.data[o+3]=s}},Bi.prototype.getData=function(){return this.data},function(e){e.processBMP=function(r,t,n,i){var a=new Bi(r,!1),s=a.width,o=a.height,f={data:a.getData(),width:s,height:o},l=new uh(100).encode(f,100);return e.processJPEG.call(this,l,t,n,i)}}(At.API),R2.prototype.getData=function(){return this.data},function(e){e.processWEBP=function(r,t,n,i){var a=new R2(r),s=a.width,o=a.height,f={data:a.getData(),width:s,height:o},l=new uh(100).encode(f,100);return e.processJPEG.call(this,l,t,n,i)}}(At.API),At.API.processRGBA=function(e,r,t){for(var n=e.data,i=n.length,a=new Uint8Array(i/4*3),s=new Uint8Array(i/4),o=0,f=0,l=0;l<i;l+=4){var h=n[l],g=n[l+1],p=n[l+2],u=n[l+3];a[o++]=h,a[o++]=g,a[o++]=p,s[f++]=u}var _=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:_,index:r,alias:t,colorSpace:"DeviceRGB",bitsPerComponent:8,width:e.width,height:e.height}},At.API.setLanguage=function(e){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[e]!==void 0&&(this.internal.languageSettings.languageCode=e,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},To=At.API,Qf=To.getCharWidthsArray=function(e,r){var t,n,i=(r=r||{}).font||this.internal.getFont(),a=r.fontSize||this.internal.getFontSize(),s=r.charSpace||this.internal.getCharSpace(),o=r.widths?r.widths:i.metadata.Unicode.widths,f=o.fof?o.fof:1,l=r.kerning?r.kerning:i.metadata.Unicode.kerning,h=l.fof?l.fof:1,g=r.doKerning!==!1,p=0,u=e.length,_=0,w=o[0]||f,y=[];for(t=0;t<u;t++)n=e.charCodeAt(t),typeof i.metadata.widthOfString=="function"?y.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(n))+s*(1e3/a)||0)/1e3):(p=g&&lr(l[n])==="object"&&!isNaN(parseInt(l[n][_],10))?l[n][_]/h:0,y.push((o[n]||w)/f+p)),_=n;return y},T2=To.getStringUnitWidth=function(e,r){var t=(r=r||{}).fontSize||this.internal.getFontSize(),n=r.font||this.internal.getFont(),i=r.charSpace||this.internal.getCharSpace();return To.processArabic&&(e=To.processArabic(e)),typeof n.metadata.widthOfString=="function"?n.metadata.widthOfString(e,t,i)/t:Qf.apply(this,arguments).reduce(function(a,s){return a+s},0)},N2=function(e,r,t,n){for(var i=[],a=0,s=e.length,o=0;a!==s&&o+r[a]<t;)o+=r[a],a++;i.push(e.slice(0,a));var f=a;for(o=0;a!==s;)o+r[a]>n&&(i.push(e.slice(f,a)),o=0,f=a),o+=r[a],a++;return f!==a&&i.push(e.slice(f,a)),i},F2=function(e,r,t){t||(t={});var n,i,a,s,o,f,l,h=[],g=[h],p=t.textIndent||0,u=0,_=0,w=e.split(" "),y=Qf.apply(this,[" ",t])[0];if(f=t.lineIndent===-1?w[0].length+2:t.lineIndent||0){var v=Array(f).join(" "),E=[];w.map(function(R){(R=R.split(/\s*\n/)).length>1?E=E.concat(R.map(function(re,fe){return(fe&&re.length?`
145`:"")+re})):E.push(R[0])}),w=E,f=T2.apply(this,[v,t])}for(a=0,s=w.length;a<s;a++){var S=0;if(n=w[a],f&&n[0]==`
146`&&(n=n.substr(1),S=1),p+u+(_=(i=Qf.apply(this,[n,t])).reduce(function(R,re){return R+re},0))>r||S){if(_>r){for(o=N2.apply(this,[n,i,r-(p+u),r]),h.push(o.shift()),h=[o.pop()];o.length;)g.push([o.shift()]);_=i.slice(n.length-(h[0]?h[0].length:0)).reduce(function(R,re){return R+re},0)}else h=[n];g.push(h),p=_+f,u=y}else h.push(n),p+=u+_,u=y}return l=f?function(R,re){return(re?v:"")+R.join(" ")}:function(R){return R.join(" ")},g.map(l)},To.splitTextToSize=function(e,r,t){var n,i=(t=t||{}).fontSize||this.internal.getFontSize(),a=(function(h){if(h.widths&&h.kerning)return{widths:h.widths,kerning:h.kerning};var g=this.internal.getFont(h.fontName,h.fontStyle),p="Unicode";return g.metadata[p]?{widths:g.metadata[p].widths||{0:1},kerning:g.metadata[p].kerning||{}}:{font:g.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,t);n=Array.isArray(e)?e:String(e).split(/\r?\n/);var s=1*this.internal.scaleFactor*r/i;a.textIndent=t.textIndent?1*t.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=t.lineIndent;var o,f,l=[];for(o=0,f=n.length;o<f;o++)l=l.concat(F2.apply(this,[n[o],s,a]));return l},function(e){e.__fontmetrics__=e.__fontmetrics__||{};for(var r="0123456789abcdef",t="klmnopqrstuvwxyz",n={},i={},a=0;a<16;a++)n[t[a]]=r[a],i[r[a]]=t[a];var s=function(p){return"0x"+parseInt(p,10).toString(16)},o=e.__fontmetrics__.compress=function(p){var u,_,w,y,v=["{"];for(var E in p){if(u=p[E],isNaN(parseInt(E,10))?_="'"+E+"'":(E=parseInt(E,10),_=(_=s(E).slice(2)).slice(0,-1)+i[_.slice(-1)]),typeof u=="number")u<0?(w=s(u).slice(3),y="-"):(w=s(u).slice(2),y=""),w=y+w.slice(0,-1)+i[w.slice(-1)];else{if(lr(u)!=="object")throw new Error("Don't know what to do with value type "+lr(u)+".");w=o(u)}v.push(_+w)}return v.push("}"),v.join("")},f=e.__fontmetrics__.uncompress=function(p){if(typeof p!="string")throw new Error("Invalid argument passed to uncompress.");for(var u,_,w,y,v={},E=1,S=v,R=[],re="",fe="",O=p.length-1,B=1;B<O;B+=1)(y=p[B])=="'"?u?(w=u.join(""),u=void 0):u=[]:u?u.push(y):y=="{"?(R.push([S,w]),S={},w=void 0):y=="}"?((_=R.pop())[0][_[1]]=S,w=void 0,S=_[0]):y=="-"?E=-1:w===void 0?n.hasOwnProperty(y)?(re+=n[y],w=parseInt(re,16)*E,E=1,re=""):re+=y:n.hasOwnProperty(y)?(fe+=n[y],S[w]=parseInt(fe,16)*E,E=1,w=void 0,fe=""):fe+=y;return v},l={codePages:["WinAnsiEncoding"],WinAnsiEncoding:f("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},h={Unicode:{Courier:l,"Courier-Bold":l,"Courier-BoldOblique":l,"Courier-Oblique":l,Helvetica:l,"Helvetica-Bold":l,"Helvetica-BoldOblique":l,"Helvetica-Oblique":l,"Times-Roman":l,"Times-Bold":l,"Times-BoldItalic":l,"Times-Italic":l}},g={Unicode:{"Courier-Oblique":f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":f("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3me
146k3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":f("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
146dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":f("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:f("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:f("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
146dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":f("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4y
146dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:f("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":f("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}
146fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":f("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":f("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4y
146dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};e.events.push(["addFont",function(p){var u=p.font,_=g.Unicode[u.postScriptName];_&&(u.metadata.Unicode={},u.metadata.Unicode.widths=_.widths,u.metadata.Unicode.kerning=_.kerning);var w=h.Unicode[u.postScriptName];w&&(u.metadata.Unicode.encoding=w,u.encoding=w.codePages[0])}])}(At.API),function(e){var r=function(t){for(var n=t.length,i=new Uint8Array(n),a=0;a<n;a++)i[a]=t.charCodeAt(a);return i};e.API.events.push(["addFont",function(t){var n=void 0,i=t.font,a=t.instance;if(!i.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(n=a.existsFileInVFS(i.postScriptName)===!1?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");(function(s,o){o=/^\x00\x01\x00\x00/.test(o)?r(o):r(ul(o)),s.metadata=e.API.TTFFont.open(o),s.metadata.Unicode=s.metadata.Unicode||{encoding:{},kerning:{},widths:[]},s.metadata.glyIdsUsed=[0]})(i,n)}}])}(At),At.API.addSvgAsImage=function(e,r,t,n,i,a,s,o){if(isNaN(r)||isNaN(t))throw mr.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(n)||isNaN(i))throw mr.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var f=document.createElement("canvas");f.width=n,f.height=i;var l=f.getContext("2d");l.fillStyle="#fff",l.fillRect(0,0,f.width,f.height);var h={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},g=this;return(Dt.canvg?Promise.resolve(Dt.canvg):Mc(()=>import("./index.es-CsShqPGl.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11]))).catch(function(p){return Promise.reject(new Error("Could not load canvg: "+p))}).then(function(p){return p.default?p.default:p}).then(function(p){return p.fromString(l,e,h)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(p){return p.render(h)}).then(function(){g.addImage(f.toDataURL("image/jpeg",1),r,t,n,i,s,o)})},At.API.putTotalPages=function(e){var r,t=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(r=new RegExp(e,"g"),t=this.internal.getNumberOfPages()):(r=new RegExp(this.pdfEscape16(e,this.internal.getFont()),"g"),t=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var n=1;n<=this.internal.getNumberOfPages();n++)for(var i=0;i<this.internal.pages[n].length;i++)this.internal.pages[n][i]=this.internal.pages[n][i].replace(r,t);return this},At.API.viewerPreferences=function(e,r){var t;e=e||{},r=r||!1;var n,i,a,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},o=Object.keys(s),f=[],l=0,h=0,g=0;function p(_,w){var y,v=!1;for(y=0;y<_.length;y+=1)_[y]===w&&(v=!0);return v}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),t=this.internal.viewerpreferences.configuration,e==="reset"||r===!0){var u=o.length;for(g=0;g<u;g+=1)t[o[g]].value=t[o[g]].defaultValue,t[o[g]].explicitSet=!1}if(lr(e)==="object"){for(i in e)if(a=e[i],p(o,i)&&a!==void 0){if(t[i].type==="boolean"&&typeof a=="boolean")t[i].value=a;else if(t[i].type==="name"&&p(t[i].valueSet,a))t[i].value=a;else if(t[i].type==="integer"&&Number.isInteger(a))t[i].value=a;else if(t[i].type==="array"){for(l=0;l<a.length;l+=1)if(n=!0,a[l].length===1&&typeof a[l][0]=="number")f.push(String(a[l]-1));else if(a[l].length>1){for(h=0;h<a[l].length;h+=1)typeof a[l][h]!="number"&&(n=!1);n===!0&&f.push([a[l][0]-1,a[l][1]-1].join(" "))}t[i].value="["+f.join(" ")+"]"}else t[i].value=t[i].defaultValue;t[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var _,w=[];for(_ in t)t[_].explicitSet===!0&&(t[_].type==="name"?w.push("/"+_+" /"+t[_].value):w.push("/"+_+" "+t[_].value));w.length!==0&&this.internal.write(`/ViewerPreferences
147<<
148`+w.join(`
149`)+`
150>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=t,this},At.API.addMetadata=function(e,r){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:e,namespaceUri:r??"http://jspdf.default.namespaceuri/",rawXml:typeof r=="boolean"&&r},this.internal.events.subscribe("putCatalog",l4),this.internal.events.subscribe("postPutResources",f4)),this},function(e){var r=e.API,t=r.pdfEscape16=function(a,s){for(var o,f=s.metadata.Unicode.widths,l=["","0","00","000","0000"],h=[""],g=0,p=a.length;g<p;
vendor: 39,166 bytes, lines 150-174
150++g){if(o=s.metadata.characterToGlyph(a.charCodeAt(g)),s.metadata.glyIdsUsed.push(o),s.metadata.toUnicode[o]=a.charCodeAt(g),f.indexOf(o)==-1&&(f.push(o),f.push([parseInt(s.metadata.widthOfGlyph(o),10)])),o=="0")return h.join("");o=o.toString(16),h.push(l[4-o.length],o)}return h.join("")},n=function(a){var s,o,f,l,h,g,p;for(h=`/CIDInit /ProcSet findresource begin
15112 dict begin
152begincmap
153/CIDSystemInfo <<
154  /Registry (Adobe)
155  /Ordering (UCS)
156  /Supplement 0
157>> def
158/CMapName /Adobe-Identity-UCS def
159/CMapType 2 def
1601 begincodespacerange
161<0000><ffff>
162endcodespacerange`,f=[],g=0,p=(o=Object.keys(a).sort(function(u,_){return u-_})).length;g<p;g++)s=o[g],f.length>=100&&(h+=`
163`+f.length+` beginbfchar
164`+f.join(`
165`)+`
166endbfchar`,f=[]),a[s]!==void 0&&a[s]!==null&&typeof a[s].toString=="function"&&(l=("0000"+a[s].toString(16)).slice(-4),s=("0000"+(+s).toString(16)).slice(-4),f.push("<"+s+"><"+l+">"));return f.length&&(h+=`
167`+f.length+` beginbfchar
168`+f.join(`
169`)+`
170endbfchar
171`),h+`endcmap
172CMapName currentdict /CMap defineresource pop
173end
174end`};r.events.push(["putFont",function(a){(function(s){var o=s.font,f=s.out,l=s.newObject,h=s.putStream;if(o.metadata instanceof e.API.TTFFont&&o.encoding==="Identity-H"){for(var g=o.metadata.Unicode.widths,p=o.metadata.subset.encode(o.metadata.glyIdsUsed,1),u="",_=0;_<p.length;_++)u+=String.fromCharCode(p[_]);var w=l();h({data:u,addLength1:!0,objectId:w}),f("endobj");var y=l();h({data:n(o.metadata.toUnicode),addLength1:!0,objectId:y}),f("endobj");var v=l();f("<<"),f("/Type /FontDescriptor"),f("/FontName /"+ko(o.fontName)),f("/FontFile2 "+w+" 0 R"),f("/FontBBox "+e.API.PDFObject.convert(o.metadata.bbox)),f("/Flags "+o.metadata.flags),f("/StemV "+o.metadata.stemV),f("/ItalicAngle "+o.metadata.italicAngle),f("/Ascent "+o.metadata.ascender),f("/Descent "+o.metadata.decender),f("/CapHeight "+o.metadata.capHeight),f(">>"),f("endobj");var E=l();f("<<"),f("/Type /Font"),f("/BaseFont /"+ko(o.fontName)),f("/FontDescriptor "+v+" 0 R"),f("/W "+e.API.PDFObject.convert(g)),f("/CIDToGIDMap /Identity"),f("/DW 1000"),f("/Subtype /CIDFontType2"),f("/CIDSystemInfo"),f("<<"),f("/Supplement 0"),f("/Registry (Adobe)"),f("/Ordering ("+o.encoding+")"),f(">>"),f(">>"),f("endobj"),o.objectNumber=l(),f("<<"),f("/Type /Font"),f("/Subtype /Type0"),f("/ToUnicode "+y+" 0 R"),f("/BaseFont /"+ko(o.fontName)),f("/Encoding /"+o.encoding),f("/DescendantFonts ["+E+" 0 R]"),f(">>"),f("endobj"),o.isAlreadyPutted=!0}})(a)}]),r.events.push(["putFont",function(a){(function(s){var o=s.font,f=s.out,l=s.newObject,h=s.putStream;if(o.metadata instanceof e.API.TTFFont&&o.encoding==="WinAnsiEncoding"){for(var g=o.metadata.rawData,p="",u=0;u<g.length;u++)p+=String.fromCharCode(g[u]);var _=l();h({data:p,addLength1:!0,objectId:_}),f("endobj");var w=l();h({data:n(o.metadata.toUnicode),addLength1:!0,objectId:w}),f("endobj");var y=l();f("<<"),f("/Descent "+o.metadata.decender),f("/CapHeight "+o.metadata.capHeight),f("/StemV "+o.metadata.stemV),f("/Type /FontDescriptor"),f("/FontFile2 "+_+" 0 R"),f("/Flags 96"),f("/FontBBox "+e.API.PDFObject.convert(o.metadata.bbox)),f("/FontName /"+ko(o.fontName)),f("/ItalicAngle "+o.metadata.italicAngle),f("/Ascent "+o.metadata.ascender),f(">>"),f("endobj"),o.objectNumber=l();for(var v=0;v<o.metadata.hmtx.widths.length;v++)o.metadata.hmtx.widths[v]=parseInt(o.metadata.hmtx.widths[v]*(1e3/o.metadata.head.unitsPerEm));f("<</Subtype/TrueType/Type/Font/ToUnicode "+w+" 0 R/BaseFont/"+ko(o.fontName)+"/FontDescriptor "+y+" 0 R/Encoding/"+o.encoding+" /FirstChar 29 /LastChar 255 /Widths "+e.API.PDFObject.convert(o.metadata.hmtx.widths)+">>"),f("endobj"),o.isAlreadyPutted=!0}})(a)}]);var i=function(a){var s,o=a.text||"",f=a.x,l=a.y,h=a.options||{},g=a.mutex||{},p=g.pdfEscape,u=g.activeFontKey,_=g.fonts,w=u,y="",v=0,E="",S=_[w].encoding;if(_[w].encoding!=="Identity-H")return{text:o,x:f,y:l,options:h,mutex:g};for(E=o,w=u,Array.isArray(o)&&(E=o[0]),v=0;v<E.length;v+=1)_[w].metadata.hasOwnProperty("cmap")&&(s=_[w].metadata.cmap.unicode.codeMap[E[v].charCodeAt(0)]),s||E[v].charCodeAt(0)<256&&_[w].metadata.hasOwnProperty("Unicode")?y+=E[v]:y+="";var R="";return parseInt(w.slice(1))<14||S==="WinAnsiEncoding"?R=p(y,w).split("").map(function(re){return re.charCodeAt(0).toString(16)}).join(""):S==="Identity-H"&&(R=t(y,_[w])),g.isHex=!0,{text:R,x:f,y:l,options:h,mutex:g}};r.events.push(["postProcessText",function(a){var s=a.text||"",o=[],f={text:s,x:a.x,y:a.y,options:a.options,mutex:a.mutex};if(Array.isArray(s)){var l=0;for(l=0;l<s.length;l+=1)Array.isArray(s[l])&&s[l].length===3?o.push([i(Object.assign({},f,{text:s[l][0]})).text,s[l][1],s[l][2]]):o.push(i(Object.assign({},f,{text:s[l]})).text);a.text=o}else a.text=i(Object.assign({},f,{text:s})).text}])}(At),function(e){var r=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};e.existsFileInVFS=function(t){return r.call(this),this.internal.vFS[t]!==void 0},e.addFileToVFS=function(t,n){return r.call(this),this.internal.vFS[t]=n,this},e.getFileFromVFS=function(t){return r.call(this),this.internal.vFS[t]!==void 0?this.internal.vFS[t]:null}}(At.API),function(e){e.__bidiEngine__=e.prototype.__bidiEngine__=function(n){var i,a,s,o,f,l,h,g=r,p=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],u=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],_={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},w={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},y=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],v=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),E=!1,S=0;this.__bidiEngine__={};var R=function(A){var P=A.charCodeAt(),j=P>>8,ie=w[j];return ie!==void 0?g[256*ie+(255&P)]:j===252||j===253?"AL":v.test(j)?"L":j===8?"R":"N"},re=function(A){for(var P,j=0;j<A.length;j++){if((P=R(A.charAt(j)))==="L")return!1;if(P==="R")return!0}return!1},fe=function(A,P,j,ie){var he,Fe,xe,ve,Le=P[ie];switch(Le){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":E=!1;break;case"N":case"AN":break;case"EN":E&&(Le="AN");break;case"AL":E=!0,Le="R";break;case"WS":case"BN":Le="N";break;case"CS":ie<1||ie+1>=P.length||(he=j[ie-1])!=="EN"&&he!=="AN"||(Fe=P[ie+1])!=="EN"&&Fe!=="AN"?Le="N":E&&(Fe="AN"),Le=Fe===he?Fe:"N";break;case"ES":Le=(he=ie>0?j[ie-1]:"B")==="EN"&&ie+1<P.length&&P[ie+1]==="EN"?"EN":"N";break;case"ET":if(ie>0&&j[ie-1]==="EN"){Le="EN";break}if(E){Le="N";break}for(xe=ie+1,ve=P.length;xe<ve&&P[xe]==="ET";)xe++;Le=xe<ve&&P[xe]==="EN"?"EN":"N";break;case"NSM":if(s&&!o){for(ve=P.length,xe=ie+1;xe<ve&&P[xe]==="NSM";)xe++;if(xe<ve){var Ge=A[ie],Be=Ge>=1425&&Ge<=2303||Ge===64286;if(he=P[xe],Be&&(he==="R"||he==="AL")){Le="R";break}}}Le=ie<1||(he=P[ie-1])==="B"?"N":j[ie-1];break;case"B":E=!1,i=!0,Le=S;break;case"S":a=!0,Le="N"}return Le},O=function(A,P,j){var ie=A.split("");return j&&B(ie,j,{hiLevel:S}),ie.reverse(),P&&P.reverse(),ie.join("")},B=function(A,P,j){var ie,he,Fe,xe,ve,Le=-1,Ge=A.length,Be=0,L=[],q=S?u:p,te=[];for(E=!1,i=!1,a=!1,he=0;he<Ge;he++)te[he]=R(A[he]);for(Fe=0;Fe<Ge;Fe++){if(ve=Be,L[Fe]=fe(A,te,L,Fe),ie=240&(Be=q[ve][_[L[Fe]]]),Be&=15,P[Fe]=xe=q[Be][5],ie>0)if(ie===16){for(he=Le;he<Fe;he++)P[he]=1;Le=-1}else Le=-1;if(q[Be][6])Le===-1&&(Le=Fe);else if(Le>-1){for(he=Le;he<Fe;he++)P[he]=xe;Le=-1}te[Fe]==="B"&&(P[Fe]=0),j.hiLevel|=xe}a&&function(ae,ce,de){for(var k=0;k<de;k++)if(ae[k]==="S"){ce[k]=S;for(var X=k-1;X>=0&&ae[X]==="WS";X--)ce[X]=S}}(te,P,Ge)},T=function(A,P,j,ie,he){if(!(he.hiLevel<A)){if(A===1&&S===1&&!i)return P.reverse(),void(j&&j.reverse());for(var Fe,xe,ve,Le,Ge=P.length,Be=0;Be<Ge;){if(ie[Be]>=A){for(ve=Be+1;ve<Ge&&ie[ve]>=A;)ve++;for(Le=Be,xe=ve-1;Le<xe;Le++,xe--)Fe=P[Le],P[Le]=P[xe],P[xe]=Fe,j&&(Fe=j[Le],j[Le]=j[xe],j[xe]=Fe);Be=ve}Be++}}},Q=function(A,P,j){var ie=A.split(""),he={hiLevel:S};return j||(j=[]),B(ie,j,he),function(Fe,xe,ve){if(ve.hiLevel!==0&&h)for(var Le,Ge=0;Ge<Fe.length;Ge++)xe[Ge]===1&&(Le=y.indexOf(Fe[Ge]))>=0&&(Fe[Ge]=y[Le+1])}(ie,j,he),T(2,ie,P,j,he),T(1,ie,P,j,he),ie.join("")};return this.__bidiEngine__.doBidiReorder=function(A,P,j){if(function(he,Fe){if(Fe)for(var xe=0;xe<he.length;xe++)Fe[xe]=xe;o===void 0&&(o=re(he)),l===void 0&&(l=re(he))}(A,P),s||!f||l)if(s&&f&&o^l)S=o?1:0,A=O(A,P,j);else if(!s&&f&&l)S=o?1:0,A=Q(A,P,j),A=O(A,P);else if(!s||o||f||l){if(s&&!f&&o^l)A=O(A,P),o?(S=0,A=Q(A,P,j)):(S=1,A=Q(A,P,j),A=O(A,P));else if(s&&o&&!f&&l)S=1,A=Q(A,P,j),A=O(A,P);else if(!s&&!f&&o^l){var ie=h;o?(S=1,A=Q(A,P,j),S=0,h=!1,A=Q(A,P,j),h=ie):(S=0,A=Q(A,P,j),A=O(A,P),S=1,h=!1,A=Q(A,P,j),h=ie,A=O(A,P))}}else S=0,A=Q(A,P,j);else S=o?1:0,A=Q(A,P,j);return A},this.__bidiEngine__.setOptions=function(A){A&&(s=A.isInputVisual,f=A.isOutputVisual,o=A.isInputRtl,l=A.isOutputRtl,h=A.isSymmetricSwapping)},this.__bidiEngine__.setOptions(n),this.__bidiEngine__};var r=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],t=new e.__bidiEngine__({isInputVisual:!0});e.API.events.push(["postProcessText",function(n){var i=n.text;n.x,n.y;var a=n.options||{};n.mutex,a.lang;var s=[];if(a.isInputVisual=typeof a.isInputVisual!="boolean"||a.isInputVisual,t.setOptions(a),Object.prototype.toString.call(i)==="[object Array]"){var o=0;for(s=[],o=0;o<i.length;o+=1)Object.prototype.toString.call(i[o])==="[object Array]"?s.push([t.doBidiReorder(i[o][0]),i[o][1],i[o][2]]):s.push([t.doBidiReorder(i[o])]);n.text=s}else n.text=t.doBidiReorder(i);t.setOptions({isInputVisual:!0})}])}(At),At.API.TTFFont=function(){function e(r){var t;if(this.rawData=r,t=this.contents=new fs(r),this.contents.pos=4,t.readString(4)==="ttcf")throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new S4(this),this.registerTTF()}return e.open=function(r){return new e(r)},e.prototype.parse=function(){return this.directory=new c4(this.contents),this.head=new u4(this),this.name=new x4(this),this.cmap=new zp(this),this.toUnicode={},this.hhea=new d4(this),this.maxp=new v4(this),this.hmtx=new _4(this),this.post=new m4(this),this.os2=new p4(this),this.loca=new A4(this),this.glyf=new w4(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},e.prototype.registerTTF=function(){var r,t,n,i,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var s,o,f,l;for(l=[],s=0,o=(f=this.bbox).length;s<o;s++)r=f[s],l.push(Math.round(r*this.scaleFactor));return l}).call(this),this.stemV=0,this.post.exists?(n=255&(i=this.post.italic_angle),32768&(t=i>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+n)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(a=this.familyClass)===1||a===2||a===3||a===4||a===5||a===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},e.prototype.characterToGlyph=function(r){var t;return((t=this.cmap.unicode)!=null?t.codeMap[r]:void 0)||0},e.prototype.widthOfGlyph=function(r){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(r).advance*t},e.prototype.widthOfString=function(r,t,n){var i,a,s,o;for(s=0,a=0,o=(r=""+r).length;0<=o?a<o:a>o;a=0<=o?++a:--a)i=r.charCodeAt(a),s+=this.widthOfGlyph(this.characterToGlyph(i))+n*(1e3/t)||0;return s*(t/1e3)},e.prototype.lineHeight=function(r,t){var n;return t==null&&(t=!1),n=t?this.lineGap:0,(this.ascender+n-this.decender)/1e3*r},e}();var Hi,fs=function(){function e(r){this.data=r??[],this.pos=0,this.length=this.data.length}return e.prototype.readByte=function(){return this.data[this.pos++]},e.prototype.writeByte=function(r){return this.data[this.pos++]=r},e.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},e.prototype.writeUInt32=function(r){return this.writeByte(r>>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt32=function(){var r;return(r=this.readUInt32())>=2147483648?r-4294967296:r},e.prototype.writeInt32=function(r){return r<0&&(r+=4294967296),this.writeUInt32(r)},e.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},e.prototype.writeUInt16=function(r){return this.writeByte(r>>8&255),this.writeByte(255&r)},e.prototype.readInt16=function(){var r;return(r=this.readUInt16())>=32768?r-65536:r},e.prototype.writeInt16=function(r){return r<0&&(r+=65536),this.writeUInt16(r)},e.prototype.readString=function(r){var t,n;for(n=[],t=0;0<=r?t<r:t>r;t=0<=r?++t:--t)n[t]=String.fromCharCode(this.readByte());return n.join("")},e.prototype.writeString=function(r){var t,n,i;for(i=[],t=0,n=r.length;0<=n?t<n:t>n;t=0<=n?++t:--t)i.push(this.writeByte(r.charCodeAt(t)));return i},e.prototype.readShort=function(){return this.readInt16()},e.prototype.writeShort=function(r){return this.writeInt16(r)},e.prototype.readLongLong=function(){var r,t,n,i,a,s,o,f;return r=this.readByte(),t=this.readByte(),n=this.readByte(),i=this.readByte(),a=this.readByte(),s=this.readByte(),o=this.readByte(),f=this.readByte(),128&r?-1*(72057594037927940*(255^r)+281474976710656*(255^t)+1099511627776*(255^n)+4294967296*(255^i)+16777216*(255^a)+65536*(255^s)+256*(255^o)+(255^f)+1):72057594037927940*r+281474976710656*t+1099511627776*n+4294967296*i+16777216*a+65536*s+256*o+f},e.prototype.writeLongLong=function(r){var t,n;return t=Math.floor(r/4294967296),n=4294967295&r,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(n>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},e.prototype.readInt=function(){return this.readInt32()},e.prototype.writeInt=function(r){return this.writeInt32(r)},e.prototype.read=function(r){var t,n;for(t=[],n=0;0<=r?n<r:n>r;n=0<=r?++n:--n)t.push(this.readByte());return t},e.prototype.write=function(r){var t,n,i,a;for(a=[],n=0,i=r.length;n<i;n++)t=r[n],a.push(this.writeByte(t));return a},e}(),c4=function(){var e;function r(t){var n,i,a;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},i=0,a=this.tableCount;0<=a?i<a:i>a;i=0<=a?++i:--i)n={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[n.tag]=n}return r.prototype.encode=function(t){var n,i,a,s,o,f,l,h,g,p,u,_,w;for(w in u=Object.keys(t).length,f=Math.log(2),g=16*Math.floor(Math.log(u)/f),s=Math.floor(g/f),h=16*u-g,(i=new fs).writeInt(this.scalarType),i.writeShort(u),i.writeShort(g),i.writeShort(s),i.writeShort(h),a=16*u,l=i.pos+a,o=null,_=[],t)for(p=t[w],i.writeString(w),i.writeInt(e(p)),i.writeInt(l),i.writeInt(p.length),_=_.concat(p),w==="head"&&(o=l),l+=p.length;l%4;)_.push(0),l++;return i.write(_),n=2981146554-e(i.data),i.pos=o+8,i.writeUInt32(n),i.data},e=function(t){var n,i,a,s;for(t=Wp.call(t);t.length%4;)t.push(0);for(a=new fs(t),i=0,n=0,s=t.length;n<s;n=n+=4)i+=a.readUInt32();return 4294967295&i},r}(),h4={}.hasOwnProperty,da=function(e,r){for(var t in r)h4.call(r,t)&&(e[t]=r[t]);function n(){this.constructor=e}return n.prototype=r.prototype,e.prototype=new n,e.__super__=r.prototype,e};Hi=function(){function e(r){var t;this.file=r,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return e.prototype.parse=function(){},e.prototype.encode=function(){},e.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},e}();var u4=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return da(e,Hi),e.prototype.tag="head",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.revision=r.readInt(),this.checkSumAdjustment=r.readInt(),this.magicNumber=r.readInt(),this.flags=r.readShort(),this.unitsPerEm=r.readShort(),this.created=r.readLongLong(),this.modified=r.readLongLong(),this.xMin=r.readShort(),this.yMin=r.readShort(),this.xMax=r.readShort(),this.yMax=r.readShort(),this.macStyle=r.readShort(),this.lowestRecPPEM=r.readShort(),this.fontDirectionHint=r.readShort(),this.indexToLocFormat=r.readShort(),this.glyphDataFormat=r.readShort()},e.prototype.encode=function(r){var t;return(t=new fs).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(r),t.writeShort(this.glyphDataFormat),t.data},e}(),B2=function(){function e(r,t){var n,i,a,s,o,f,l,h,g,p,u,_,w,y,v,E,S;switch(this.platformID=r.readUInt16(),this.encodingID=r.readShort(),this.offset=t+r.readInt(),g=r.pos,r.pos=this.offset,this.format=r.readUInt16(),this.length=r.readUInt16(),this.language=r.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(f=0;f<256;++f)this.codeMap[f]=r.readByte();break;case 4:for(u=r.readUInt16(),p=u/2,r.pos+=6,a=function(){var R,re;for(re=[],f=R=0;0<=p?R<p:R>p;f=0<=p?++R:--R)re.push(r.readUInt16());return re}(),r.pos+=2,w=function(){var R,re;for(re=[],f=R=0;0<=p?R<p:R>p;f=0<=p?++R:--R)re.push(r.readUInt16());return re}(),l=function(){var R,re;for(re=[],f=R=0;0<=p?R<p:R>p;f=0<=p?++R:--R)re.push(r.readUInt16());return re}(),h=function(){var R,re;for(re=[],f=R=0;0<=p?R<p:R>p;f=0<=p?++R:--R)re.push(r.readUInt16());return re}(),i=(this.length-r.pos+this.offset)/2,o=function(){var R,re;for(re=[],f=R=0;0<=i?R<i:R>i;f=0<=i?++R:--R)re.push(r.readUInt16());return re}(),f=v=0,S=a.length;v<S;f=++v)for(y=a[f],n=E=_=w[f];_<=y?E<=y:E>=y;n=_<=y?++E:--E)h[f]===0?s=n+l[f]:(s=o[h[f]/2+(n-_)-(p-f)]||0)!==0&&(s+=l[f]),this.codeMap[n]=65535&s}r.pos=g}return e.encode=function(r,t){var n,i,a,s,o,f,l,h,g,p,u,_,w,y,v,E,S,R,re,fe,O,B,T,Q,A,P,j,ie,he,Fe,xe,ve,Le,Ge,Be,L,q,te,ae,ce,de,k,X,z,G,me;switch(ie=new fs,s=Object.keys(r).sort(function(Ce,Ie){return Ce-Ie}),t){case"macroman":for(w=0,y=function(){var Ce=[];for(_=0;_<256;++_)Ce.push(0);return Ce}(),E={0:0},a={},he=0,Le=s.length;he<Le;he++)E[X=r[i=s[he]]]==null&&(E[X]=++w),a[i]={old:r[i],new:E[r[i]]},y[i]=E[r[i]];return ie.writeUInt16(1),ie.writeUInt16(0),ie.writeUInt32(12),ie.writeUInt16(0),ie.writeUInt16(262),ie.writeUInt16(0),ie.write(y),{charMap:a,subtable:ie.data,maxGlyphID:w+1};case"unicode":for(P=[],g=[],S=0,E={},n={},v=l=null,Fe=0,Ge=s.length;Fe<Ge;Fe++)E[re=r[i=s[Fe]]]==null&&(E[re]=++S),n[i]={old:re,new:E[re]},o=E[re]-i,v!=null&&o===l||(v&&g.push(v),P.push(i),l=o),v=i;for(v&&g.push(v),g.push(65535),P.push(65535),Q=2*(T=P.length),B=2*Math.pow(Math.log(T)/Math.LN2,2),p=Math.log(B/2)/Math.LN2,O=2*T-B,f=[],fe=[],u=[],_=xe=0,Be=P.length;xe<Be;_=++xe){if(A=P[_],h=g[_],A===65535){f.push(0),fe.push(0);break}if(A-(j=n[A].new)>=32768)for(f.push(0),fe.push(2*(u.length+T-_)),i=ve=A;A<=h?ve<=h:ve>=h;i=A<=h?++ve:--ve)u.push(n[i].new);else f.push(j-A),fe.push(0)}for(ie.writeUInt16(3),ie.writeUInt16(1),ie.writeUInt32(12),ie.writeUInt16(4),ie.writeUInt16(16+8*T+2*u.length),ie.writeUInt16(0),ie.writeUInt16(Q),ie.writeUInt16(B),ie.writeUInt16(p),ie.writeUInt16(O),de=0,L=g.length;de<L;de++)i=g[de],ie.writeUInt16(i);for(ie.writeUInt16(0),k=0,q=P.length;k<q;k++)i=P[k],ie.writeUInt16(i);for(z=0,te=f.length;z<te;z++)o=f[z],ie.writeUInt16(o);for(G=0,ae=fe.length;G<ae;G++)R=fe[G],ie.writeUInt16(R);for(me=0,ce=u.length;me<ce;me++)w=u[me],ie.writeUInt16(w);return{charMap:n,subtable:ie.data,maxGlyphID:S+1}}},e}(),zp=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return da(e,Hi),e.prototype.tag="cmap",e.prototype.parse=function(r){var t,n,i;for(r.pos=this.offset,this.version=r.readUInt16(),i=r.readUInt16(),this.tables=[],this.unicode=null,n=0;0<=i?n<i:n>i;n=0<=i?++n:--n)t=new B2(r,this.offset),this.tables.push(t),t.isUnicode&&this.unicode==null&&(this.unicode=t);return!0},e.encode=function(r,t){var n,i;return t==null&&(t="macroman"),n=B2.encode(r,t),(i=new fs).writeUInt16(0),i.writeUInt16(1),n.table=i.data.concat(n.subtable),n},e}(),d4=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return da(e,Hi),e.prototype.tag="hhea",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.ascender=r.readShort(),this.decender=r.readShort(),this.lineGap=r.readShort(),this.advanceWidthMax=r.readShort(),this.minLeftSideBearing=r.readShort(),this.minRightSideBearing=r.readShort(),this.xMaxExtent=r.readShort(),this.caretSlopeRise=r.readShort(),this.caretSlopeRun=r.readShort(),this.caretOffset=r.readShort(),r.pos+=8,this.metricDataFormat=r.readShort(),this.numberOfMetrics=r.readUInt16()},e}(),p4=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return da(e,Hi),e.prototype.tag="OS/2",e.prototype.parse=function(r){if(r.pos=this.offset,this.version=r.readUInt16(),this.averageCharWidth=r.readShort(),this.weightClass=r.readUInt16(),this.widthClass=r.readUInt16(),this.type=r.readShort(),this.ySubscriptXSize=r.readShort(),this.ySubscriptYSize=r.readShort(),this.ySubscriptXOffset=r.readShort(),this.ySubscriptYOffset=r.readShort(),this.ySuperscriptXSize=r.readShort(),this.ySuperscriptYSize=r.readShort(),this.ySuperscriptXOffset=r.readShort(),this.ySuperscriptYOffset=r.readShort(),this.yStrikeoutSize=r.readShort(),this.yStrikeoutPosition=r.readShort(),this.familyClass=r.readShort(),this.panose=function(){var t,n;for(n=[],t=0;t<10;++t)n.push(r.readByte());return n}(),this.charRange=function(){var t,n;for(n=[],t=0;t<4;++t)n.push(r.readInt());return n}(),this.vendorID=r.readString(4),this.selection=r.readShort(),this.firstCharIndex=r.readShort(),this.lastCharIndex=r.readShort(),this.version>0&&(this.ascent=r.readShort(),this.descent=r.readShort(),this.lineGap=r.readShort(),this.winAscent=r.readShort(),this.winDescent=r.readShort(),this.codePageRange=function(){var t,n;for(n=[],t=0;t<2;t=++t)n.push(r.readInt());return n}(),this.version>1))return this.xHeight=r.readShort(),this.capHeight=r.readShort(),this.defaultChar=r.readShort(),this.breakChar=r.readShort(),this.maxContext=r.readShort()},e}(),m4=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return da(e,Hi),e.prototype.tag="post",e.prototype.parse=function(r){var t,n,i;switch(r.pos=this.offset,this.format=r.readInt(),this.italicAngle=r.readInt(),this.underlinePosition=r.readShort(),this.underlineThickness=r.readShort(),this.isFixedPitch=r.readInt(),this.minMemType42=r.readInt(),this.maxMemType42=r.readInt(),this.minMemType1=r.readInt(),this.maxMemType1=r.readInt(),this.format){case 65536:case 196608:break;case 131072:var a;for(n=r.readUInt16(),this.glyphNameIndex=[],a=0;0<=n?a<n:a>n;a=0<=n?++a:--a)this.glyphNameIndex.push(r.readUInt16());for(this.names=[],i=[];r.pos<this.offset+this.length;)t=r.readByte(),i.push(this.names.push(r.readString(t)));return i;case 151552:return n=r.readUInt16(),this.offsets=r.read(n);case 262144:return this.map=(function(){var s,o,f;for(f=[],a=s=0,o=this.file.maxp.numGlyphs;0<=o?s<o:s>o;a=0<=o?++s:--s)f.push(r.readUInt32());return f}).call(this)}},e}(),g4=function(e,r){this.raw=e,this.length=e.length,this.platformID=r.platformID,this.encodingID=r.encodingID,this.languageID=r.languageID},x4=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return da(e,Hi),e.prototype.tag="name",e.prototype.parse=function(r){var t,n,i,a,s,o,f,l,h,g,p;for(r.pos=this.offset,r.readShort(),t=r.readShort(),o=r.readShort(),n=[],a=0;0<=t?a<t:a>t;a=0<=t?++a:--a)n.push({platformID:r.readShort(),encodingID:r.readShort(),languageID:r.readShort(),nameID:r.readShort(),length:r.readShort(),offset:this.offset+o+r.readShort()});for(f={},a=h=0,g=n.length;h<g;a=++h)i=n[a],r.pos=i.offset,l=r.readString(i.length),s=new g4(l,i),f[p=i.nameID]==null&&(f[p]=[]),f[i.nameID].push(s);this.strings=f,this.copyright=f[0],this.fontFamily=f[1],this.fontSubfamily=f[2],this.uniqueSubfamily=f[3],this.fontName=f[4],this.version=f[5];try{this.postscriptName=f[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=f[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=f[7],this.manufacturer=f[8],this.designer=f[9],this.description=f[10],this.vendorUrl=f[11],this.designerUrl=f[12],this.license=f[13],this.licenseUrl=f[14],this.preferredFamily=f[15],this.preferredSubfamily=f[17],this.compatibleFull=f[18],this.sampleText=f[19]},e}(),v4=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return da(e,Hi),e.prototype.tag="maxp",e.prototype.parse=function(r){return r.pos=this.offset,this.version=r.readInt(),this.numGlyphs=r.readUInt16(),this.maxPoints=r.readUInt16(),this.maxContours=r.readUInt16(),this.maxCompositePoints=r.readUInt16(),this.maxComponentContours=r.readUInt16(),this.maxZones=r.readUInt16(),this.maxTwilightPoints=r.readUInt16(),this.maxStorage=r.readUInt16(),this.maxFunctionDefs=r.readUInt16(),this.maxInstructionDefs=r.readUInt16(),this.maxStackElements=r.readUInt16(),this.maxSizeOfInstructions=r.readUInt16(),this.maxComponentElements=r.readUInt16(),this.maxComponentDepth=r.readUInt16()},e}(),_4=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return da(e,Hi),e.prototype.tag="hmtx",e.prototype.parse=function(r){var t,n,i,a,s,o,f;for(r.pos=this.offset,this.metrics=[],t=0,o=this.file.hhea.numberOfMetrics;0<=o?t<o:t>o;t=0<=o?++t:--t)this.metrics.push({advance:r.readUInt16(),lsb:r.readInt16()});for(i=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var l,h;for(h=[],t=l=0;0<=i?l<i:l>i;t=0<=i?++l:--l)h.push(r.readInt16());return h}(),this.widths=(function(){var l,h,g,p;for(p=[],l=0,h=(g=this.metrics).length;l<h;l++)a=g[l],p.push(a.advance);return p}).call(this),n=this.widths[this.widths.length-1],f=[],t=s=0;0<=i?s<i:s>i;t=0<=i?++s:--s)f.push(this.widths.push(n));return f},e.prototype.forGlyph=function(r){return r in this.metrics?this.metrics[r]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[r-this.metrics.length]}},e}(),Wp=[].slice,w4=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return da(e,Hi),e.prototype.tag="glyf",e.prototype.parse=function(){return this.cache={}},e.prototype.glyphFor=function(r){var t,n,i,a,s,o,f,l,h,g;return r in this.cache?this.cache[r]:(a=this.file.loca,t=this.file.contents,n=a.indexOf(r),(i=a.lengthOf(r))===0?this.cache[r]=null:(t.pos=this.offset+n,s=(o=new fs(t.read(i))).readShort(),l=o.readShort(),g=o.readShort(),f=o.readShort(),h=o.readShort(),this.cache[r]=s===-1?new b4(o,l,g,f,h):new y4(o,s,l,g,f,h),this.cache[r]))},e.prototype.encode=function(r,t,n){var i,a,s,o,f;for(s=[],a=[],o=0,f=t.length;o<f;o++)i=r[t[o]],a.push(s.length),i&&(s=s.concat(i.encode(n)));return a.push(s.length),{table:s,offsets:a}},e}(),y4=function(){function e(r,t,n,i,a,s){this.raw=r,this.numberOfContours=t,this.xMin=n,this.yMin=i,this.xMax=a,this.yMax=s,this.compound=!1}return e.prototype.encode=function(){return this.raw.data},e}(),b4=function(){function e(r,t,n,i,a){var s,o;for(this.raw=r,this.xMin=t,this.yMin=n,this.xMax=i,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],s=this.raw;o=s.readShort(),this.glyphOffsets.push(s.pos),this.glyphIDs.push(s.readUInt16()),32&o;)s.pos+=1&o?4:2,128&o?s.pos+=8:64&o?s.pos+=4:8&o&&(s.pos+=2)}return e.prototype.encode=function(){var r,t,n;for(t=new fs(Wp.call(this.raw.data)),r=0,n=this.glyphIDs.length;r<n;++r)t.pos=this.glyphOffsets[r];return t.data},e}(),A4=function(){function e(){return e.__super__.constructor.apply(this,arguments)}return da(e,Hi),e.prototype.tag="loca",e.prototype.parse=function(r){var t,n;return r.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=t===0?(function(){var i,a;for(a=[],n=0,i=this.length;n<i;n+=2)a.push(2*r.readUInt16());return a}).call(this):(function(){var i,a;for(a=[],n=0,i=this.length;n<i;n+=4)a.push(r.readUInt32());return a}).call(this)},e.prototype.indexOf=function(r){return this.offsets[r]},e.prototype.lengthOf=function(r){return this.offsets[r+1]-this.offsets[r]},e.prototype.encode=function(r,t){for(var n=new Uint32Array(this.offsets.length),i=0,a=0,s=0;s<n.length;++s)if(n[s]=i,a<t.length&&t[a]==s){++a,n[s]=i;var o=this.offsets[s],f=this.offsets[s+1]-o;f>0&&(i+=f)}for(var l=new Array(4*n.length),h=0;h<n.length;++h)l[4*h+3]=255&n[h],l[4*h+2]=(65280&n[h])>>8,l[4*h+1]=(16711680&n[h])>>16,l[4*h]=(4278190080&n[h])>>24;return l},e}(),S4=function(){function e(r){this.font=r,this.subset={},this.unicodes={},this.next=33}return e.prototype.generateCmap=function(){var r,t,n,i,a;for(t in i=this.font.cmap.tables[0].codeMap,r={},a=this.subset)n=a[t],r[t]=i[n];return r},e.prototype.glyphsFor=function(r){var t,n,i,a,s,o,f;for(i={},s=0,o=r.length;s<o;s++)i[a=r[s]]=this.font.glyf.glyphFor(a);
174for(a in t=[],i)(n=i[a])!=null&&n.compound&&t.push.apply(t,n.glyphIDs);if(t.length>0)for(a in f=this.glyphsFor(t))n=f[a],i[a]=n;return i},e.prototype.encode=function(r,t){var n,i,a,s,o,f,l,h,g,p,u,_,w,y,v;for(i in n=zp.encode(this.generateCmap(),"unicode"),s=this.glyphsFor(r),u={0:0},v=n.charMap)u[(f=v[i]).old]=f.new;for(_ in p=n.maxGlyphID,s)_ in u||(u[_]=p++);return h=function(E){var S,R;for(S in R={},E)R[E[S]]=S;return R}(u),g=Object.keys(h).sort(function(E,S){return E-S}),w=function(){var E,S,R;for(R=[],E=0,S=g.length;E<S;E++)o=g[E],R.push(h[o]);return R}(),a=this.font.glyf.encode(s,w,u),l=this.font.loca.encode(a.offsets,w),y={cmap:this.font.cmap.raw(),glyf:a.table,loca:l,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(y["OS/2"]=this.font.os2.raw()),this.font.directory.encode(y)},e}();At.API.PDFObject=function(){var e;function r(){}return e=function(t,n){return(Array(n+1).join("0")+t).slice(-n)},r.convert=function(t){var n,i,a,s;if(Array.isArray(t))return"["+function(){var o,f,l;for(l=[],o=0,f=t.length;o<f;o++)n=t[o],l.push(r.convert(n));return l}().join(" ")+"]";if(typeof t=="string")return"/"+t;if(t!=null&&t.isString)return"("+t+")";if(t instanceof Date)return"(D:"+e(t.getUTCFullYear(),4)+e(t.getUTCMonth(),2)+e(t.getUTCDate(),2)+e(t.getUTCHours(),2)+e(t.getUTCMinutes(),2)+e(t.getUTCSeconds(),2)+"Z)";if({}.toString.call(t)==="[object Object]"){for(i in a=["<<"],t)s=t[i],a.push("/"+i+" "+r.convert(s));return a.push(">>"),a.join(`
175`)}return""+t},r}();const E4=e=>new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(e||0),T4=e=>{if(!e)return"—";const r=String(e).replace(/\D/g,""),t=r.startsWith("55")&&r.length>11?r.slice(2):r;return t.length===11?`(${t.slice(0,2)}) ${t.slice(2,7)}-${t.slice(7)}`:t.length===10?`(${t.slice(0,2)}) ${t.slice(2,6)}-${t.slice(6)}`:e},N4=e=>e==="confirmed"?"Confirmada":e==="pending"?"Pendente":e==="cancelled"?"Cancelada":e,F4=e=>{const r={xpark:"Xpark",multipark:"Multipark",aerovalet:"Aerovalet",aeropark:"Aeropark",valetina:"Valetina",bandi:"Bandy","whatsapp-bandi":"Bandy (WhatsApp)","whatsapp-bandi-multipark":"Bandy / Multipark"};return e?r[e]??e.charAt(0).toUpperCase()+e.slice(1):"Direto"};function L4(e,r){var u,_,w;const t=new At({unit:"mm",format:"a4"}),n=t.internal.pageSize.getWidth(),i=18,a=((u=e.locations)==null?void 0:u.airport_code)??"XX",s=ll(e.id,a);t.setFont("helvetica","bold"),t.setFontSize(22),t.setTextColor(15,23,42),t.text("xpark",i,22),t.setFont("helvetica","normal"),t.setFontSize(10),t.setTextColor(100),t.text("Comprovante de Reserva",n-i,22,{align:"right"}),t.setDrawColor(226,232,240),t.setLineWidth(.3),t.line(i,28,n-i,28),t.setFont("helvetica","normal"),t.setFontSize(9),t.setTextColor(120),t.text("Código da reserva",i,38),t.setFont("courier","bold"),t.setFontSize(16),t.setTextColor(15,23,42),t.text(s,i,46),t.setFont("helvetica","normal"),t.setFontSize(10),t.setTextColor(80),t.text(`Status: ${N4(e.status)}`,n-i,46,{align:"right"});let o=60;const f=(y,v)=>{t.setFont("helvetica","bold"),t.setFontSize(10),t.setTextColor(80),t.text(y,i,o),t.setFont("helvetica","normal"),t.setTextColor(15,23,42);const E=t.splitTextToSize(v||"—",n-i*2-55);t.text(E,i+55,o),o+=6*Math.max(1,E.length)},l=y=>{o+=4,t.setFont("helvetica","bold"),t.setFontSize(11),t.setTextColor(15,23,42),t.text(y,i,o),o+=2,t.setDrawColor(226,232,240),t.line(i,o,n-i,o),o+=6};if(l("Datas"),f("Criada em",na(e.created_at)),f("Período",Id(e.start_date,e.end_date)),f("Entrada",e.start_at?na(e.start_at):I0(e.start_date)),f("Saída",e.end_at?na(e.end_at):I0(e.end_date)),l("Cliente"),f("Nome",e.customer_name||"—"),f("E-mail",e.customer_email||"—"),f("Telefone",T4(e.customer_phone)),e.vehicle_plate&&f("Placa",e.vehicle_plate),l("Estacionamento"),f("Aeroporto",a==="GRU"?"GRU - Guarulhos":a==="VCP"?"VCP - Viracopos":a==="CNF"?"CNF - Confins":a),(_=e.locations)!=null&&_.name&&f("Unidade",e.locations.name),(w=e.locations)!=null&&w.category){const y=e.locations.category;f("Tipo de vaga",y.charAt(0).toUpperCase()+y.slice(1))}f("Origem",F4(e.source)),l("Pagamento"),f("Total",E4(Number(e.total_amount))),r!=null&&r.paymentMethodLabel&&f("Forma",r.paymentMethodLabel),e.has_insurance&&f("Seguro","Cancelamento e Atraso (+ R$ 25,00)"),e.external_payment_ref&&f("Referência",e.external_payment_ref);const g=t.internal.pageSize.getHeight()-15;t.setDrawColor(226,232,240),t.line(i,g-5,n-i,g-5),t.setFont("helvetica","normal"),t.setFontSize(8),t.setTextColor(120);
175const p=new Date().toLocaleString("pt-BR");t.text(`Emitido em ${p}`,i,g),t.text("xpark.ai/minhas-reservas",n-i,g,{align:"right"}),t.save(`reserva-${s}.pdf`)}/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */var Sl={};Sl.version="0.20.3";var Ia=1200,F0,K0=function(e){Ia=e};function k4(){K0(1200)}var el=function(r){return String.fromCharCode(r)},M2=function(r){return String.fromCharCode(r)},Cn="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";function El(e){for(var r="",t=0,n=0,i=0,a=0,s=0,o=0,f=0,l=0;l<e.length;)t=e.charCodeAt(l++),a=t>>2,n=e.charCodeAt(l++),s=(t&3)<<4|n>>4,i=e.charCodeAt(l++),o=(n&15)<<2|i>>6,f=i&63,isNaN(n)?o=f=64:isNaN(i)&&(f=64),r+=Cn.charAt(a)+Cn.charAt(s)+Cn.charAt(o)+Cn.charAt(f);return r}function C4(e){for(var r="",t=0,n=0,i=0,a=0,s=0,o=0,f=0,l=0;l<e.length;)t=e.charCodeAt(l++),t>255&&(t=95),a=t>>2,n=e.charCodeAt(l++),n>255&&(n=95),s=(t&3)<<4|n>>4,i=e.charCodeAt(l++),i>255&&(i=95),o=(n&15)<<2|i>>6,f=i&63,isNaN(n)?o=f=64:isNaN(i)&&(f=64),r+=Cn.charAt(a)+Cn.charAt(s)+Cn.charAt(o)+Cn.charAt(f);return r}function P4(e){for(var r="",t=0,n=0,i=0,a=0,s=0,o=0,f=0,l=0;l<e.length;)t=e[l++],a=t>>2,n=e[l++],s=(t&3)<<4|n>>4,i=e[l++],o=(n&15)<<2|i>>6,f=i&63,isNaN(n)?o=f=64:isNaN(i)&&(f=64),r+=Cn.charAt(a)+Cn.charAt(s)+Cn.charAt(o)+Cn.charAt(f);return r}function ls(e){var r="",t=0,n=0,i=0,a=0,s=0,o=0,f=0;if(e.slice(0,5)=="data:"){var l=e.slice(0,1024).indexOf(";base64,");l>-1&&(e=e.slice(l+8))}e=e.replace(/[^\w\+\/\=]/g,"");for(var l=0;l<e.length;)a=Cn.indexOf(e.charAt(l++)),s=Cn.indexOf(e.charAt(l++)),t=a<<2|s>>4,r+=String.fromCharCode(t),o=Cn.indexOf(e.charAt(l++)),n=(s&15)<<4|o>>2,o!==64&&(r+=String.fromCharCode(n)),f=Cn.indexOf(e.charAt(l++)),i=(o&3)<<6|f,f!==64&&(r+=String.fromCharCode(i));return r}var nr=function(){return typeof Buffer<"u"&&typeof process<"u"&&typeof process.versions<"u"&&!!process.versions.node}(),pa=function(){if(typeof Buffer<"u"){var e=!Buffer.from;if(!e)try{Buffer.from("foo","utf8")}catch{e=!0}return e?function(r,t){return t?new Buffer(r,t):new Buffer(r)}:Buffer.from.bind(Buffer)}return function(){}}(),Tl=function(){if(typeof Buffer>"u")return!1;var e=pa([65,0]);if(!e)return!1;var r=e.toString("utf16le");return r.length==1}();function Gs(e){return nr?Buffer.alloc?Buffer.alloc(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}function U2(e){return nr?Buffer.allocUnsafe?Buffer.allocUnsafe(e):new Buffer(e):typeof Uint8Array<"u"?new Uint8Array(e):new Array(e)}var hi=function(r){return nr?pa(r,"binary"):r.split("").map(function(t){return t.charCodeAt(0)&255})};function $l(e){if(typeof ArrayBuffer>"u")return hi(e);for(var r=new ArrayBuffer(e.length),t=new Uint8Array(r),n=0;n!=e.length;++n)t[n]=e.charCodeAt(n)&255;return r}function Vs(e){if(Array.isArray(e))return e.map(function(n){return String.fromCharCode(n)}).join("");for(var r=[],t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join("")}function I4(e){if(typeof Uint8Array>"u")throw new Error("Unsupported");return new Uint8Array(e)}var Yr=nr?function(e){return Buffer.concat(e.map(function(r){return Buffer.isBuffer(r)?r:pa(r)}))}:function(e){if(typeof Uint8Array<"u"){var r=0,t=0;for(r=0;r<e.length;++r)t+=e[r].length;var n=new Uint8Array(t),i=0;for(r=0,t=0;r<e.length;t+=i,++r)i=e[r].length,e[r]instanceof Uint8Array?n.set(e[r],t):typeof e[r]=="string"?n.set(new Uint8Array(hi(e[r])),t):n.set(new Uint8Array(e[r]),t);return n}return[].concat.apply([],e.map(function(a){return Array.isArray(a)?a:[].slice.call(a)}))};function O4(e){for(var r=[],t=0,n=e.length+250,i=Gs(e.length+255),a=0;a<e.length;++a){var s=e.charCodeAt(a);if(s<128)i[t++]=s;else if(s<2048)i[t++]=192|s>>6&31,i[t++]=128|s&63;else if(s>=55296&&s<57344){s=(s&1023)+64;var o=e.charCodeAt(++a)&1023;i[t++]=240|s>>8&7,i[t++]=128|s>>2&63,i[t++]=128|o>>6&15|(s&3)<<4,i[t++]=128|o&63}else i[t++]=224|s>>12&15,i[t++]=128|s>>6&63,i[t++]=128|s&63;t>n&&(r.push(i.slice(0,t)),t=0,i=Gs(65535),n=65530)}return r.push(i.slice(0,t)),Yr(r)}var M0=/\u0000/g,tl=/[\u0001-\u0006]/g;function Uo(e){for(var r="",t=e.length-1;t>=0;)r+=e.charAt(t--);return r}function Ui(e,r){var t=""+e;return t.length>=r?t:Nr("0",r-t.length)+t}function hu(e,r){var t=""+e;return t.length>=r?t:Nr(" ",r-t.length)+t}function Nl(e,r){var t=""+e;return t.length>=r?t:t+Nr(" ",r-t.length)}function D4(e,r){var t=""+Math.round(e);return t.length>=r?t:Nr("0",r-t.length)+t}function R4(e,r){var t=""+e;return t.length>=r?t:Nr("0",r-t.length)+t}var j2=Math.pow(2,32);function No(e,r){if(e>j2||e<-j2)return D4(e,r);var t=Math.round(e);return R4(t,r)}function Fl(e,r){return r=r||0,e.length>=7+r&&(e.charCodeAt(r)|32)===103&&(e.charCodeAt(r+1)|32)===101&&(e.charCodeAt(r+2)|32)===110&&(e.charCodeAt(r+3)|32)===101&&(e.charCodeAt(r+4)|32)===114&&(e.charCodeAt(r+5)|32)===97&&(e.charCodeAt(r+6)|32)===108}var z2=[["Sun","Sunday"],["Mon","Monday"],["Tue","Tuesday"],["Wed","Wednesday"],["Thu","Thursday"],["Fri","Friday"],["Sat","Saturday"]],dh=[["J","Jan","January"],["F","Feb","February"],["M","Mar","March"],["A","Apr","April"],["M","May","May"],["J","Jun","June"],["J","Jul","July"],["A","Aug","August"],["S","Sep","September"],["O","Oct","October"],["N","Nov","November"],["D","Dec","December"]];function B4(e){return e||(e={}),e[0]="General",e[1]="0",e[2]="0.00",e[3]="#,##0",e[4]="#,##0.00",e[9]="0%",e[10]="0.00%",e[11
vendor: 3,276 bytes, line 175
175]="0.00E+00",e[12]="# ?/?",e[13]="# ??/??",e[14]="m/d/yy",e[15]="d-mmm-yy",e[16]="d-mmm",e[17]="mmm-yy",e[18]="h:mm AM/PM",e[19]="h:mm:ss AM/PM",e[20]="h:mm",e[21]="h:mm:ss",e[22]="m/d/yy h:mm",e[37]="#,##0 ;(#,##0)",e[38]="#,##0 ;[Red](#,##0)",e[39]="#,##0.00;(#,##0.00)",e[40]="#,##0.00;[Red](#,##0.00)",e[45]="mm:ss",e[46]="[h]:mm:ss",e[47]="mmss.0",e[48]="##0.0E+0",e[49]="@",e[56]='"上午/下午 "hh"時"mm"分"ss"秒 "',e}var Ar={0:"General",1:"0",2:"0.00",3:"#,##0",4:"#,##0.00",9:"0%",10:"0.00%",11:"0.00E+00",12:"# ?/?",13:"# ??/??",14:"m/d/yy",15:"d-mmm-yy",16:"d-mmm",17:"mmm-yy",18:"h:mm AM/PM",19:"h:mm:ss AM/PM",20:"h:mm",21:"h:mm:ss",22:"m/d/yy h:mm",37:"#,##0 ;(#,##0)",38:"#,##0 ;[Red](#,##0)",39:"#,##0.00;(#,##0.00)",40:"#,##0.00;[Red](#,##0.00)",45:"mm:ss",46:"[h]:mm:ss",47:"mmss.0",48:"##0.0E+0",49:"@",56:'"上午/下午 "hh"時"mm"分"ss"秒 "'},W2={5:37,6:38,7:39,8:40,23:0,24:0,25:0,26:0,27:14,28:14,29:14,30:14,31:14,50:14,51:14,52:14,53:14,54:14,55:14,56:14,57:14,58:14,59:1,60:2,61:3,62:4,67:9,68:10,69:12,70:13,71:14,72:14,73:15,74:16,75:17,76:20,77:21,78:22,79:45,80:46,81:47,82:0},M4={5:'"$"#,##0_);\\("$"#,##0\\)',63:'"$"#,##0_);\\("$"#,##0\\)',6:'"$"#,##0_);[Red]\\("$"#,##0\\)',64:'"$"#,##0_);[Red]\\("$"#,##0\\)',7:'"$"#,##0.00_);\\("$"#,##0.00\\)',65:'"$"#,##0.00_);\\("$"#,##0.00\\)',8:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',66:'"$"#,##0.00_);[Red]\\("$"#,##0.00\\)',41:'_(* #,##0_);_(* \\(#,##0\\);_(* "-"_);_(@_)',42:'_("$"* #,##0_);_("$"* \\(#,##0\\);_("$"* "-"_);_(@_)',43:'_(* #,##0.00_);_(* \\(#,##0.00\\);_(* "-"??_);_(@_)',44:'_("$"* #,##0.00_);_("$"* \\(#,##0.00\\);_("$"* "-"??_);_(@_)'};function Ll(e,r,t){for(var n=e<0?-1:1,i=e*n,a=0,s=1,o=0,f=1,l=0,h=0,g=Math.floor(i);l<r&&(g=Math.floor(i),o=g*s+a,h=g*l+f,!(i-g<5e-8));)i=1/(i-g),a=s,s=o,f=l,l=h;if(h>r&&(l>r?(h=f,o=a):(h=l,o=s)),!t)return[0,n*o,h];var p=Math.floor(n*o/h);return[p,n*o-p*h,h]}function U4(e){var r=e.toPrecision(16);if(r.indexOf("e")>-1){var t=r.slice(0,r.indexOf("e"));return t=t.indexOf(".")>-1?t.slice(0,t.slice(0,2)=="0."?17:16):t.slice(0,15)+Nr("0",t.length-15),t+r.slice(r.indexOf("e"))}var n=r.indexOf(".")>-1?r.slice(0,r.slice(0,2)=="0."?17:16):r.slice(0,15)+Nr("0",r.length-15);return Number(n)}function Fo(e,r,t){if(e>2958465||e<0)return null;e=U4(e);var n=e|0,i=Math.floor(86400*(e-n)),a=0,s=[],o={D:n,T:i,u:86400*(e-n)-i,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(o.u)<1e-6&&(o.u=0),r&&r.date1904&&(n+=1462),o.u>.9999&&(o.u=0,++i==86400&&(o.T=i=0,++n,++o.D)),n===60)s=t?[1317,10,29]:[1900,2,29],a=3;else if(n===0)s=t?[1317,8,29]:[1900,1,0],a=6;else{n>60&&--n;var f=new Date(1900,0,1);f.setDate(f.getDate()+n-1),s=[f.getFullYear(),f.getMonth()+1,f.getDate()],a=f.getDay(),n<60&&(a=(a+6)%7),t&&(a=q4(f,s))}return o.y=s[0],o.m=s[1],o.d=s[2],o.S=i%60,i=Math.floor(i/60),o.M=i%60,i=Math.floor(i/60),o.H=i,o.q=a,o}function uu(e){return e.indexOf(".")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)$/,"$1")}function j4(e){return e.indexOf("E")==-1?e:e.replace(/(?:\.0*|(\.\d*[1-9])0+)[Ee]/,"$1E").replace(/(E[+-])(\d)$/,"$10$2")}function z4(e){var r=e<0?12:11,t=uu(e.toFixed(12));return t.length<=r||(t=e.toPrecision(10),t.length<=r)?t:e.toExponential(5)}function W4(e){var r=uu(e.toFixed(11));return r.length>(e<0?12:11)||r==="0"||r==="-0"?e.toPrecision(6):r}
vendor: 4,722 bytes, line 175
175function H4(e){if(!isFinite(e))return isNaN(e)?"#NUM!":"#DIV/0!";var r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),t;return r>=-4&&r<=-1?t=e.toPrecision(10+r):Math.abs(r)<=9?t=z4(e):r===10?t=e.toFixed(10).substr(0,12):t=W4(e),uu(j4(t.toUpperCase()))}function Gh(e,r){switch(typeof e){case"string":return e;case"boolean":return e?"TRUE":"FALSE";case"number":return(e|0)===e?e.toString(10):H4(e);case"undefined":return"";case"object":if(e==null)return"";if(e instanceof Date)return Ba(14,xn(e,r&&r.date1904),r)}throw new Error("unsupported value in General format: "+e)}function q4(e,r){r[0]-=581;var t=e.getDay();return e<60&&(t=(t+6)%7),t}function G4(e,r,t,n){var i="",a=0,s=0,o=t.y,f,l=0;switch(e){case 98:o=t.y+543;case 121:switch(r.length){case 1:case 2:f=o%100,l=2;break;default:f=o%1e4,l=4;break}break;case 109:switch(r.length){case 1:case 2:f=t.m,l=r.length;break;case 3:return dh[t.m-1][1];case 5:return dh[t.m-1][0];default:return dh[t.m-1][2]}break;case 100:switch(r.length){case 1:case 2:f=t.d,l=r.length;break;case 3:return z2[t.q][0];default:return z2[t.q][1]}break;case 104:switch(r.length){case 1:case 2:f=1+(t.H+11)%12,l=r.length;break;default:throw"bad hour format: "+r}break;case 72:switch(r.length){case 1:case 2:f=t.H,l=r.length;break;default:throw"bad hour format: "+r}break;case 77:switch(r.length){case 1:case 2:f=t.M,l=r.length;break;default:throw"bad minute format: "+r}break;case 115:if(r!="s"&&r!="ss"&&r!=".0"&&r!=".00"&&r!=".000")throw"bad second format: "+r;return t.u===0&&(r=="s"||r=="ss")?Ui(t.S,r.length):(n>=2?s=n===3?1e3:100:s=n===1?10:1,a=Math.round(s*(t.S+t.u)),a>=60*s&&(a=0),r==="s"?a===0?"0":""+a/s:(i=Ui(a,2+n),r==="ss"?i.substr(0,2):"."+i.substr(2,r.length-1)));case 90:switch(r){case"[h]":case"[hh]":f=t.D*24+t.H;break;case"[m]":case"[mm]":f=(t.D*24+t.H)*60+t.M;break;case"[s]":case"[ss]":f=((t.D*24+t.H)*60+t.M)*60+(n==0?Math.round(t.S+t.u):t.S);break;default:throw"bad abstime format: "+r}l=r.length===3?1:2;break;case 101:f=o,l=1;break}var h=l>0?Ui(f,l):"";return h}function as(e){var r=3;if(e.length<=r)return e;for(var t=e.length%r,n=e.substr(0,t);t!=e.length;t+=r)n+=(n.length>0?",":"")+e.substr(t,r);return n}var Hp=/%/g;function V4(e,r,t){var n=r.replace(Hp,""),i=r.length-n.length;return Oa(e,n,t*Math.pow(10,2*i))+Nr("%",i)}function $4(e,r,t){for(var n=r.length-1;r.charCodeAt(n-1)===44;)--n;return Oa(e,r.substr(0,n),t/Math.pow(10,3*(r.length-n)))}function qp(e,r){var t,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";if(r<0)return"-"+qp(e,-r);var i=e.indexOf(".");i===-1&&(i=e.indexOf("E"));var a=Math.floor(Math.log(r)*Math.LOG10E)%i;if(a<0&&(a+=i),t=(r/Math.pow(10,a)).toPrecision(n+1+(i+a)%i),t.indexOf("e")===-1){var s=Math.floor(Math.log(r)*Math.LOG10E);for(t.indexOf(".")===-1?t=t.charAt(0)+"."+t.substr(1)+"E+"+(s-t.length+a):t+="E+"+(s-a);t.substr(0,2)==="0.";)t=t.charAt(0)+t.substr(2,i)+"."+t.substr(2+i),t=t.replace(/^0+([1-9])/,"$1").replace(/^0+\./,"0.");t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(o,f,l,h){return f+l+h.substr(0,(i+a)%i)+"."+h.substr(a)+"E"})}else t=r.toExponential(n);return e.match(/E\+00$/)&&t.match(/e[+-]\d$/)&&(t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1)),e.match(/E\-/)&&t.match(/e\+/)&&(t=t.replace(/e\+/,"e")),t.replace("e","E")}var Gp=/# (\?+)( ?)\/( ?)(\d+)/;function X4(e,r,t){var n=parseInt(e[4],10),i=Math.round(r*n),a=Math.floor(i/n),s=i-a*n,o=n;return t+(a===0?"":""+a)+" "+(s===0?Nr(" ",e[1].length+1+e[4].length):hu(s,e[1].length)+e[2]+"/"+e[3]+Ui(o,e[4].length))}function Y4(e,r,t){return t+(r===0?"":""+r)+Nr(" ",e[1].length+2+e[4].length)}var Vp=/^#*0*\.([0#]+)/,$p=/\)[^)]*[0#]/,Xp=/\(###\) ###\\?-####/;function zn(e){for(var r="",t,n=0;n!=e.length;++n)switch(t=e.charCodeAt(n)){case 35:break;case 63:r+=" ";break;case 48:r+="0";break;default:r+=String.fromCharCode(t)}return r}function H2(e,r){var t=Math.pow(10,r);return""+Math.round(e*t)/t}function q2(e,r){var t=e-Math.floor(e),n=Math.pow(10,r);return r<(""+Math.round(t*n)).length?0:Math.round(t*n)}function K4(e,r){return r<(""+Math.round((e-Math.floor(e))*Math.pow(10,r))).length?1:0}function Z4(e){return e<2147483647&&e>-2147483648?""+(e>=0?e|0:e-1|0):""+Math.floor(e)}function Ai(e,r,t){if(e.charCodeAt(0)===40&&!r.match($p)){var n=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return t>=0?Ai("n",n,t):"("+Ai("n",n,-t)+")"}if(r.charCodeAt(r.length-1)===44)return $4(e,r,t);if(r.indexOf("%")!==-1)return V4(e,r,t);if(r.indexOf("E")!==-1)return qp(r,t);if(r.charCodeAt(0)===36)return"$"+Ai(e,r.substr(r.charAt(1)==" "?2:1),t);var i,a,s,o,f=Math.abs(t),l=t<0?"-":"";if(r.match(/^00+$/))return l+No(f,r.length);if(r.match(/^[#?]+$/))return i=No(t,0),i==="0"&&(i=""),i.length>
vendor: 72,245 bytes, lines 175-187
175r.length?i:zn(r.substr(0,r.length-i.length))+i;if(a=r.match(Gp))return X4(a,f,l);if(r.match(/^#+0+$/))return l+No(f,r.length-r.indexOf("0"));if(a=r.match(Vp))return i=H2(t,a[1].length).replace(/^([^\.]+)$/,"$1."+zn(a[1])).replace(/\.$/,"."+zn(a[1])).replace(/\.(\d*)$/,function(_,w){return"."+w+Nr("0",zn(a[1]).length-w.length)}),r.indexOf("0.")!==-1?i:i.replace(/^0\./,".");if(r=r.replace(/^#+([0.])/,"$1"),a=r.match(/^(0*)\.(#*)$/))return l+H2(f,a[2].length).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=r.match(/^#{1,3},##0(\.?)$/))return l+as(No(f,0));if(a=r.match(/^#,##0\.([#0]*0)$/))return t<0?"-"+Ai(e,r,-t):as(""+(Math.floor(t)+K4(t,a[1].length)))+"."+Ui(q2(t,a[1].length),a[1].length);if(a=r.match(/^#,#*,#0/))return Ai(e,r.replace(/^#,#*,/,""),t);if(a=r.match(/^([0#]+)(\\?-([0#]+))+$/))return i=Uo(Ai(e,r.replace(/[\\-]/g,""),t)),s=0,Uo(Uo(r.replace(/\\/g,"")).replace(/[0#]/g,function(_){return s<i.length?i.charAt(s++):_==="0"?"0":""}));if(r.match(Xp))return i=Ai(e,"##########",t),"("+i.substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var h="";if(a=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(a[4].length,7),o=Ll(f,Math.pow(10,s)-1,!1),i=""+l,h=Oa("n",a[1],o[1]),h.charAt(h.length-1)==" "&&(h=h.substr(0,h.length-1)+"0"),i+=h+a[2]+"/"+a[3],h=Nl(o[2],s),h.length<a[4].length&&(h=zn(a[4].substr(a[4].length-h.length))+h),i+=h,i;if(a=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(a[1].length,a[4].length),7),o=Ll(f,Math.pow(10,s)-1,!0),l+(o[0]||(o[1]?"":"0"))+" "+(o[1]?hu(o[1],s)+a[2]+"/"+a[3]+Nl(o[2],s):Nr(" ",2*s+1+a[2].length+a[3].length));if(a=r.match(/^[#0?]+$/))return i=No(t,0),r.length<=i.length?i:zn(r.substr(0,r.length-i.length))+i;if(a=r.match(/^([#0?]+)\.([#0]+)$/)){i=""+t.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),s=i.indexOf(".");var g=r.indexOf(".")-s,p=r.length-i.length-g;return zn(r.substr(0,g)+i+r.substr(r.length-p))}if(a=r.match(/^00,000\.([#0]*0)$/))return s=q2(t,a[1].length),t<0?"-"+Ai(e,r,-t):as(Z4(t)).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(_){return"00,"+(_.length<3?Ui(0,3-_.length):"")+_})+"."+Ui(s,a[1].length);switch(r){case"###,##0.00":return Ai(e,"#,##0.00",t);case"###,###":case"##,###":case"#,###":var u=as(No(f,0));return u!=="0"?l+u:"";case"###,###.00":return Ai(e,"###,##0.00",t).replace(/^0\./,".");case"#,###.00":return Ai(e,"#,##0.00",t).replace(/^0\./,".")}throw new Error("unsupported format |"+r+"|")}function J4(e,r,t){for(var n=r.length-1;r.charCodeAt(n-1)===44;)--n;return Oa(e,r.substr(0,n),t/Math.pow(10,3*(r.length-n)))}function Q4(e,r,t){var n=r.replace(Hp,""),i=r.length-n.length;return Oa(e,n,t*Math.pow(10,2*i))+Nr("%",i)}function Yp(e,r){var t,n=e.indexOf("E")-e.indexOf(".")-1;if(e.match(/^#+0.0E\+0$/)){if(r==0)return"0.0E+0";if(r<0)return"-"+Yp(e,-r);var i=e.indexOf(".");i===-1&&(i=e.indexOf("E"));var a=Math.floor(Math.log(r)*Math.LOG10E)%i;if(a<0&&(a+=i),t=(r/Math.pow(10,a)).toPrecision(n+1+(i+a)%i),!t.match(/[Ee]/)){var s=Math.floor(Math.log(r)*Math.LOG10E);t.indexOf(".")===-1?t=t.charAt(0)+"."+t.substr(1)+"E+"+(s-t.length+a):t+="E+"+(s-a),t=t.replace(/\+-/,"-")}t=t.replace(/^([+-]?)(\d*)\.(\d*)[Ee]/,function(o,f,l,h){return f+l+h.substr(0,(i+a)%i)+"."+h.substr(a)+"E"})}else t=r.toExponential(n);return e.match(/E\+00$/)&&t.match(/e[+-]\d$/)&&(t=t.substr(0,t.length-1)+"0"+t.charAt(t.length-1)),e.match(/E\-/)&&t.match(/e\+/)&&(t=t.replace(/e\+/,"e")),t.replace("e","E")}function ta(e,r,t){if(e.charCodeAt(0)===40&&!r.match($p)){var n=r.replace(/\( */,"").replace(/ \)/,"").replace(/\)/,"");return t>=0?ta("n",n,t):"("+ta("n",n,-t)+")"}if(r.charCodeAt(r.length-1)===44)return J4(e,r,t);if(r.indexOf("%")!==-1)return Q4(e,r,t);if(r.indexOf("E")!==-1)return Yp(r,t);if(r.charCodeAt(0)===36)return"$"+ta(e,r.substr(r.charAt(1)==" "?2:1),t);var i,a,s,o,f=Math.abs(t),l=t<0?"-":"";if(r.match(/^00+$/))return l+Ui(f,r.length);if(r.match(/^[#?]+$/))return i=""+t,t===0&&(i=""),i.length>r.length?i:zn(r.substr(0,r.length-i.length))+i;if(a=r.match(Gp))return Y4(a,f,l);if(r.match(/^#+0+$/))return l+Ui(f,r.length-r.indexOf("0"));if(a=r.match(Vp))return i=(""+t).replace(/^([^\.]+)$/,"$1."+zn(a[1])).replace(/\.$/,"."+zn(a[1])),i=i.replace(/\.(\d*)$/,function(_,w){return"."+w+Nr("0",zn(a[1]).length-w.length)}),r.indexOf("0.")!==-1?i:i.replace(/^0\./,".");if(r=r.replace(/^#+([0.])/,"$1"),a=r.match(/^(0*)\.(#*)$/))return l+(""+f).replace(/\.(\d*[1-9])0*$/,".$1").replace(/^(-?\d*)$/,"$1.").replace(/^0\./,a[1].length?"0.":".");if(a=r.match(/^#{1,3},##0(\.?)$/))return l+as(""+f);if(a=r.match(/^#,##0\.([#0]*0)$/))return t<0?"-"+ta(e,r,-t):as(""+t)+"."+Nr("0",a[1].length);if(a=r.match(/^#,#*,#0/))return ta(e,r.replace(/^#,#*,/,""),t);if(a=r.match(/^([0#]+)(\\?-([0#]+))+$/))return i=Uo(ta(e,r.replace(/[\\-]/g,""),t)),s=0,Uo(Uo(r.replace(/\\/g,"")).replace(/[0#]/g,function(_){return s<i.length?i.charAt(s++):_==="0"?"0":""}));if(r.match(Xp))return i=ta(e,"##########",t),"("+i.substr(0,3)+") "+i.substr(3,3)+"-"+i.substr(6);var h="";if(a=r.match(/^([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(a[4].length,7),o=Ll(f,Math.pow(10,s)-1,!1),i=""+l,h=Oa("n",a[1],o[1]),h.charAt(h.length-1)==" "&&(h=h.substr(0,h.length-1)+"0"),i+=h+a[2]+"/"+a[3],h=Nl(o[2],s),h.length<a[4].length&&(h=zn(a[4].substr(a[4].length-h.length))+h),i+=h,i;if(a=r.match(/^# ([#0?]+)( ?)\/( ?)([#0?]+)/))return s=Math.min(Math.max(a[1].length,a[4].length),7),o=Ll(f,Math.pow(10,s)-1,!0),l+(o[0]||(o[1]?"":"0"))+" "+(o[1]?hu(o[1],s)+a[2]+"/"+a[3]+Nl(o[2],s):Nr(" ",2*s+1+a[2].length+a[3].length));if(a=r.match(/^[#0?]+$/))return i=""+t,r.length<=i.length?i:zn(r.substr(0,r.length-i.length))+i;if(a=r.match(/^([#0]+)\.([#0]+)$/)){i=""+t.toFixed(Math.min(a[2].length,10)).replace(/([^0])0+$/,"$1"),s=i.indexOf(".");var g=r.indexOf(".")-s,p=r.length-i.length-g;return zn(r.substr(0,g)+i+r.substr(r.length-p))}if(a=r.match(/^00,000\.([#0]*0)$/))return t<0?"-"+ta(e,r,-t):as(""+t).replace(/^\d,\d{3}$/,"0$&").replace(/^\d*$/,function(_){return"00,"+(_.length<3?Ui(0,3-_.length):"")+_})+"."+Ui(0,a[1].length);switch(r){case"###,###":case"##,###":case"#,###":var u=as(""+f);return u!=="0"?l+u:"";default:if(r.match(/\.[0#?]*$/))return ta(e,r.slice(0,r.lastIndexOf(".")),t)+zn(r.slice(r.lastIndexOf(".")))}throw new Error("unsupported format |"+r+"|")}function Oa(e,r,t){return(t|0)===t?ta(e,r,t):Ai(e,r,t)}function ew(e){for(var r=[],t=!1,n=0,i=0;n<e.length;++n)switch(e.charCodeAt(n)){case 34:t=!t;break;case 95:case 42:case 92:++n;break;case 59:r[r.length]=e.substr(i,n-i),i=n+1}if(r[r.length]=e.substr(i),t===!0)throw new Error("Format |"+e+"| unterminated string ");return r}var Kp=/\[[HhMmSs\u0E0A\u0E19\u0E17]*\]/;function $s(e){for(var r=0,t="",n="";r<e.length;)switch(t=e.charAt(r)){case"G":Fl(e,r)&&(r+=6),r++;break;case'"':for(;e.charCodeAt(++r)!==34&&r<e.length;);++r;break;case"\\":r+=2;break;case"_":r+=2;break;case"@":++r;break;case"B":case"b":if(e.charAt(r+1)==="1"||e.charAt(r+1)==="2")return!0;case"M":case"D":case"Y":case"H":case"S":case"E":case"m":case"d":case"y":case"h":case"s":case"e":case"g":return!0;case"A":case"a":case"上":if(e.substr(r,3).toUpperCase()==="A/P"||e.substr(r,5).toUpperCase()==="AM/PM"||e.substr(r,5).toUpperCase()==="上午/下午")return!0;++r;break;case"[":for(n=t;e.charAt(r++)!=="]"&&r<e.length;)n+=e.charAt(r);if(n.match(Kp))return!0;break;case".":case"0":case"#":for(;r<e.length&&("0#?.,E+-%".indexOf(t=e.charAt(++r))>-1||t=="\\"&&e.charAt(r+1)=="-"&&"0#".indexOf(e.charAt(r+2))>-1););break;case"?":for(;e.charAt(++r)===t;);break;case"*":++r,(e.charAt(r)==" "||e.charAt(r)=="*")&&++r;break;case"(":case")":++r;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(;r<e.length&&"0123456789".indexOf(e.charAt(++r))>-1;);break;case" ":++r;break;default:++r;break}return!1}function tw(e,r,t,n){for(var i=[],a="",s=0,o="",f="t",l,h,g,p="H";s<e.length;)switch(o=e.charAt(s)){case"G":if(!Fl(e,s))throw new Error("unrecognized character "+o+" in "+e);i[i.length]={t:"G",v:"General"},s+=7;break;case'"':for(a="";(g=e.charCodeAt(++s))!==34&&s<e.length;)a+=String.fromCharCode(g);i[i.length]={t:"t",v:a},++s;break;case"\\":var u=e.charAt(++s),_=u==="("||u===")"?u:"t";i[i.length]={t:_,v:u},++s;break;case"_":i[i.length]={t:"t",v:" "},s+=2;break;case"@":i[i.length]={t:"T",v:r},++s;break;case"B":case"b":if(e.charAt(s+1)==="1"||e.charAt(s+1)==="2"){if(l==null&&(l=Fo(r,t,e.charAt(s+1)==="2"),l==null))return"";i[i.length]={t:"X",v:e.substr(s,2)},f=o,s+=2;break}case"M":case"D":case"Y":case"H":case"S":case"E":o=o.toLowerCase();case"m":case"d":case"y":case"h":case"s":case"e":case"g":if(r<0||l==null&&(l=Fo(r,t),l==null))return"";for(a=o;++s<e.length&&e.charAt(s).toLowerCase()===o;)a+=o;o==="m"&&f.toLowerCase()==="h"&&(o="M"),o==="h"&&(o=p),i[i.length]={t:o,v:a},f=o;break;case"A":case"a":case"上":var w={t:o,v:o};if(l==null&&(l=Fo(r,t)),e.substr(s,3).toUpperCase()==="A/P"?(l!=null&&(w.v=l.H>=12?e.charAt(s+2):o),w.t="T",p="h",s+=3):e.substr(s,5).toUpperCase()==="AM/PM"?(l!=null&&(w.v=l.H>=12?"PM":"AM"),w.t="T",s+=5,p="h"):e.substr(s,5).toUpperCase()==="上午/下午"?(l!=null&&(w.v=l.H>=12?"下午":"上午"),w.t="T",s+=5,p="h"):(w.t="t",++s),l==null&&w.t==="T")return"";i[i.length]=w,f=o;break;case"[":for(a=o;e.charAt(s++)!=="]"&&s<e.length;)a+=e.charAt(s);if(a.slice(-1)!=="]")throw'unterminated "[" block: |'+a+"|";if(a.match(Kp)){if(l==null&&(l=Fo(r,t),l==null))return"";i[i.length]={t:"Z",v:a.toLowerCase()},f=a.charAt(1)}else a.indexOf("$")>-1&&(a=(a.match(/\$([^-\[\]]*)/)||[])[1]||"$",$s(e)||(i[i.length]={t:"t",v:a}));break;case".":if(l!=null){for(a=o;++s<e.length&&(o=e.charAt(s))==="0";)a+=o;i[i.length]={t:"s",v:a};break}case"0":case"#":for(a=o;++s<e.length&&"0#?.,E+-%".indexOf(o=e.charAt(s))>-1;)a+=o;i[i.length]={t:"n",v:a};break;case"?":for(a=o;e.charAt(++s)===o;)a+=o;i[i.length]={t:o,v:a},f=o;break;case"*":++s,(e.charAt(s)==" "||e.charAt(s)=="*")&&++s;break;case"(":case")":i[i.length]={t:n===1?"t":o,v:o},++s;break;case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":for(a=o;s<e.length&&"0123456789".indexOf(e.charAt(++s))>-1;)a+=e.charAt(s);i[i.length]={t:"D",v:a};break;case" ":i[i.length]={t:o,v:o},++s;break;case"$":i[i.length]={t:"t",v:"$"},++s;break;default:if(",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP".indexOf(o)===-1)throw new Error("unrecognized character "+o+" in "+e);i[i.length]={t:"t",v:o},++s;break}var y=0,v=0,E;for(s=i.length-1,f="t";s>=0;--s)switch(i[s].t){case"h":case"H":i[s].t=p,f="h",y<1&&(y=1);break;case"s":(E=i[s].v.match(/\.0+$/))&&(v=Math.max(v,E[0].length-1),y=4),y<3&&(y=3);case"d":case"y":case"e":f=i[s].t;break;case"M":f=i[s].t,y<2&&(y=2);break;case"m":f==="s"&&(i[s].t="M",y<2&&(y=2));break;case"X":break;case"Z":y<1&&i[s].v.match(/[Hh]/)&&(y=1),y<2&&i[s].v.match(/[Mm]/)&&(y=2),y<3&&i[s].v.match(/[Ss]/)&&(y=3)}var S;switch(y){case 0:break;case 1:case 2:case 3:l.u>=.5&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H),l.H>=24&&(l.H=0,++l.D,S=Fo(l.D),S.u=l.u,S.S=l.S,S.M=l.M,S.H=l.H,l=S);break;case 4:switch(v){case 1:l.u=Math.round(l.u*10)/10;break;case 2:l.u=Math.round(l.u*100)/100;break;case 3:l.u=Math.round(l.u*1e3)/1e3;break}l.u>=1&&(l.u=0,++l.S),l.S>=60&&(l.S=0,++l.M),l.M>=60&&(l.M=0,++l.H),l.H>=24&&(l.H=0,++l.D,S=Fo(l.D),S.u=l.u,S.S=l.S,S.M=l.M,S.H=l.H,l=S);break}var R="",re;for(s=0;s<i.length;++s)switch(i[s].t){case"t":case"T":case" ":case"D":break;case"X":i[s].v="",i[s].t=";";break;case"d":case"m":case"y":case"h":case"H":case"M":case"s":case"e":case"b":case"Z":i[s].v=G4(i[s].t.charCodeAt(0),i[s].v,l,v),i[s].t="t";break;case"n":case"?":for(re=s+1;i[re]!=null&&((o=i[re].t)==="?"||o==="D"||(o===" "||o==="t")&&i[re+1]!=null&&(i[re+1].t==="?"||i[re+1].t==="t"&&i[re+1].v==="/")||i[s].t==="("&&(o===" "||o==="n"||o===")")||o==="t"&&(i[re].v==="/"||i[re].v===" "&&i[re+1]!=null&&i[re+1].t=="?"));)i[s].v+=i[re].v,i[re]={v:"",t:";"},++re;R+=i[s].v,s=re-1;break;case"G":i[s].t="t",i[s].v=Gh(r,t);break}var fe="",O,B;if(R.length>0){R.charCodeAt(0)==40?(O=r<0&&R.charCodeAt(0)===45?-r:r,B=Oa("n",R,O)):(O=r<0&&n>1?-r:r,B=Oa("n",R,O),O<0&&i[0]&&i[0].t=="t"&&(B=B.substr(1),i[0].v="-"+i[0].v)),re=B.length-1;var T=i.length;for(s=0;s<i.length;++s)if(i[s]!=null&&i[s].t!="t"&&i[s].v.indexOf(".")>-1){T=s;break}var Q=i.length;if(T===i.length&&B.indexOf("E")===-1){for(s=i.length-1;s>=0;--s)i[s]==null||"n?".indexOf(i[s].t)===-1||(re>=i[s].v.length-1?(re-=i[s].v.length,i[s].v=B.substr(re+1,i[s].v.length)):re<0?i[s].v="":(i[s].v=B.substr(0,re+1),re=-1),i[s].t="t",Q=s);re>=0&&Q<i.length&&(i[Q].v=B.substr(0,re+1)+i[Q].v)}else if(T!==i.length&&B.indexOf("E")===-1){for(re=B.indexOf(".")-1,s=T;s>=0;--s)if(!(i[s]==null||"n?".indexOf(i[s].t)===-1)){for(h=i[s].v.indexOf(".")>-1&&s===T?i[s].v.indexOf(".")-1:i[s].v.length-1,fe=i[s].v.substr(h+1);h>=0;--h)re>=0&&(i[s].v.charAt(h)==="0"||i[s].v.charAt(h)==="#")&&(fe=B.charAt(re--)+fe);i[s].v=fe,i[s].t="t",Q=s}for(re>=0&&Q<i.length&&(i[Q].v=B.substr(0,re+1)+i[Q].v),re=B.indexOf(".")+1,s=T;s<i.length;++s)if(!(i[s]==null||"n?(".indexOf(i[s].t)===-1&&s!==T)){for(h=i[s].v.indexOf(".")>-1&&s===T?i[s].v.indexOf(".")+1:0,fe=i[s].v.substr(0,h);h<i[s].v.length;++h)re<B.length&&(fe+=B.charAt(re++));i[s].v=fe,i[s].t="t",Q=s}}}for(s=0;s<i.length;++s)i[s]!=null&&"n?".indexOf(i[s].t)>-1&&(O=n>1&&r<0&&s>0&&i[s-1].v==="-"?-r:r,i[s].v=Oa(i[s].t,i[s].v,O),i[s].t="t");var A="";for(s=0;s!==i.length;++s)i[s]!=null&&(A+=i[s].v);return A}var G2=/\[(=|>[=]?|<[>=]?)(-?\d+(?:\.\d*)?)\]/;function V2(e,r){if(r==null)return!1;var t=parseFloat(r[2]);switch(r[1]){case"=":if(e==t)return!0;break;case">":if(e>t)return!0;break;case"<":if(e<t)return!0;break;case"<>":if(e!=t)return!0;break;case">=":if(e>=t)return!0;break;case"<=":if(e<=t)return!0;break}return!1}function rw(e,r){var t=ew(e),n=t.length,i=t[n-1].indexOf("@");if(n<4&&i>-1&&--n,t.length>4)throw new Error("cannot find right format for |"+t.join("|")+"|");if(typeof r!="number")return[4,t.length===4||i>-1?t[t.length-1]:"@"];switch(typeof r=="number"&&!isFinite(r)&&(r=0),t.length){case 1:t=i>-1?["General","General","General",t[0]]:[t[0],t[0],t[0],"@"];break;case 2:t=i>-1?[t[0],t[0],t[0],t[1]]:[t[0],t[1],t[0],"@"];break;case 3:t=i>-1?[t[0],t[1],t[0],t[2]]:[t[0],t[1],t[2],"@"];break}var a=r>0?t[0]:r<0?t[1]:t[2];if(t[0].indexOf("[")===-1&&t[1].indexOf("[")===-1)return[n,a];if(t[0].match(/\[[=<>]/)!=null||t[1].match(/\[[=<>]/)!=null){var s=t[0].match(G2),o=t[1].match(G2);return V2(r,s)?[n,t[0]]:V2(r,o)?[n,t[1]]:[n,t[s!=null&&o!=null?2:1]]}return[n,a]}function Ba(e,r,t){t==null&&(t={});var n="";switch(typeof e){case"string":e=="m/d/yy"&&t.dateNF?n=t.dateNF:n=e;break;case"number":e==14&&t.dateNF?n=t.dateNF:n=(t.table!=null?t.table:Ar)[e],n==null&&(n=t.table&&t.table[W2[e]]||Ar[W2[e]]),n==null&&(n=M4[e]||"General");break}if(Fl(n,0))return Gh(r,t);r instanceof Date&&(r=xn(r,t.date1904));var i=rw(n,r);if(Fl(i[1]))return Gh(r,t);if(r===!0)r="TRUE";else if(r===!1)r="FALSE";else{if(r===""||r==null)return"";if(isNaN(r)&&i[1].indexOf("0")>-1)return"#NUM!";if(!isFinite(r)&&i[1].indexOf("0")>-1)return"#DIV/0!"}return tw(i[1],r,t,i[0])}function Zp(e,r){if(typeof r!="number"){r=+r||-1;for(var t=0;t<392;++t){if(Ar[t]==null){r<0&&(r=t);continue}if(Ar[t]==e){r=t;break}}r<0&&(r=391)}return Ar[r]=e,r}function Xl(e){for(var r=0;r!=392;++r)e[r]!==void 0&&Zp(e[r],r)}function Yl(){Ar=B4()}var kl=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function nw(e){var r=typeof e=="number"?Ar[e]:e;return r=r.replace(kl,"(\\d+)"),kl.lastIndex=0,new RegExp("^"+r+"$")}function iw(e,r,t){var n=-1,i=-1,a=-1,s=-1,o=-1,f=-1;(r.match(kl)||[]).forEach(function(g,p){var u=parseInt(t[p+1],10);switch(g.toLowerCase().charAt(0)){case"y":n=u;break;case"d":a=u;break;case"h":s=u;break;case"s":f=u;break;case"m":s>=0?o=u:i=u;break}}),kl.lastIndex=0,f>=0&&o==-1&&i>=0&&(o=i,i=-1);var l=(""+(n>=0?n:new Date().getFullYear())).slice(-4)+"-"+("00"+(i>=1?i:1)).slice(-2)+"-"+("00"+(a>=1?a:1)).slice(-2);l.length==7&&(l="0"+l),l.length==8&&(l="20"+l);var h=("00"+(s>=0?s:0)).slice(-2)+":"+("00"+(o>=0?o:0)).slice(-2)+":"+("00"+(f>=0?f:0)).slice(-2);return s==-1&&o==-1&&f==-1?l:n==-1&&i==-1&&a==-1?h:l+"T"+h}var aw={"d.m":"d\\.m"};function sw(e,r){return Zp(aw[e]||e,r)}var $2=function(){var e={};e.version="1.2.0";function r(){for(var O=0,B=new Array(256),T=0;T!=256;++T)O=T,O=O&1?-306674912^O>>>1:O>>>1,O=O&1?-306674912^O>>>1:O>>>1,O=O&1?-306674912^O>>>1:O>>>1,O=O&1?-306674912^O>>>1:O>>>1,O=O&1?-306674912^O>>>1:O>>>1,O=O&1?-306674912^O>>>1:O>>>1,O=O&1?-306674912^O>>>1:O>>>1,O=O&1?-306674912^O>>>1:O>>>1,B[T]=O;return typeof Int32Array<"u"?new Int32Array(B):B}var t=r();function n(O){var B=0,T=0,Q=0,A=typeof Int32Array<"u"?new Int32Array(4096):new Array(4096);for(Q=0;Q!=256;++Q)A[Q]=O[Q];for(Q=0;Q!=256;++Q)for(T=O[Q],B=256+Q;B<4096;B+=256)T=A[B]=T>>>8^O[T&255];var P=[];for(Q=1;Q!=16;++Q)P[Q-1]=typeof Int32Array<"u"&&typeof A.subarray=="function"?A.subarray(Q*256,Q*256+256):A.slice(Q*256,Q*256+256);return P}var i=n(t),a=i[0],s=i[1],o=i[2],f=i[3],l=i[4],h=i[5],g=i[6],p=i[7],u=i[8],_=i[9],w=i[10],y=i[11],v=i[12],E=i[13],S=i[14];function R(O,B){for(var T=B^-1,Q=0,A=O.length;Q<A;)T=T>>>8^t[(T^O.charCodeAt(Q++))&255];return~T}function re(O,B){for(var T=B^-1,Q=O.length-15,A=0;A<Q;)T=S[O[A++]^T&255]^E[O[A++]^T>>8&255]^v[O[A++]^T>>16&255]^y[O[A++]^T>>>24]^w[O[A++]]^_[O[A++]]^u[O[A++]]^p[O[A++]]^g[O[A++]]^h[O[A++]]^l[O[A++]]^f[O[A++]]^o[O[A++]]^s[O[A++]]^a[O[A++]]^t[O[A++]];for(Q+=15;A<Q;)T=T>>>8^t[(T^O[A++])&255];return~T}function fe(O,B){for(var T=B^-1,Q=0,A=O.length,P=0,j=0;Q<A;)P=O.charCodeAt(Q++),P<128?T=T>>>8^t[(T^P)&255]:P<2048?(T=T>>>8^t[(T^(192|P>>6&31))&255],T=T>>>8^t[(T^(128|P&63))&255]):P>=55296&&P<57344?(P=(P&1023)+64,j=O.charCodeAt(Q++)&1023,T=T>>>8^t[(T^(240|P>>8&7))&255],T=T>>>8^t[(T^(128|P>>2&63))&255],T=T>>>8^t[(T^(128|j>>6&15|(P&3)<<4))&255],T=T>>>8^t[(T^(128|j&63))&255]):(T=T>>>8^t[(T^(224|P>>12&15))&255],T=T>>>8^t[(T^(128|P>>6&63))&255],T=T>>>8^t[(T^(128|P&63))&255]);return~T}return e.table=t,e.bstr=R,e.buf=re,e.str=fe,e}(),gr=function(){var r={};r.version="1.2.2";function t(C,ee){for(var W=C.split("/"),V=ee.split("/"),K=0,ne=0,ye=Math.min(W.length,V.length);K<ye;++K){if(ne=W[K].length-V[K].length)return ne;if(W[K]!=V[K])return W[K]<V[K]?-1:1}return W.length-V.length}function n(C){if(C.charAt(C.length-1)=="/")return C.slice(0,-1).indexOf("/")===-1?C:n(C.slice(0,-1));var ee=C.lastIndexOf("/");return ee===-1?C:C.slice(0,ee+1)}function i(C){if(C.charAt(C.length-1)=="/")return i(C.slice(0,-1));var ee=C.lastIndexOf("/");return ee===-1?C:C.slice(ee+1)}function a(C,ee){typeof ee=="string"&&(ee=new Date(ee));var W=ee.getHours();W=W<<6|ee.getMinutes(),W=W<<5|ee.getSeconds()>>>1,C.write_shift(2,W);var V=ee.getFullYear()-1980;V=V<<4|ee.getMonth()+1,V=V<<5|ee.getDate(),C.write_shift(2,V)}function s(C){var ee=C.read_shift(2)&65535,W=C.read_shift(2)&65535,V=new Date,K=W&31;W>>>=5;var ne=W&15;W>>>=4,V.setMilliseconds(0),V.setFullYear(W+1980),V.setMonth(ne-1),V.setDate(K);var ye=ee&31;ee>>>=5;var Pe=ee&63;return ee>>>=6,V.setHours(ee),V.setMinutes(Pe),V.setSeconds(ye<<1),V}function o(C){Wn(C,0);for(var ee={},W=0;C.l<=C.length-4;){var V=C.read_shift(2),K=C.read_shift(2),ne=C.l+K,ye={};switch(V){case 21589:W=C.read_shift(1),W&1&&(ye.mtime=C.read_shift(4)),K>5&&(W&2&&(ye.atime=C.read_shift(4)),W&4&&(ye.ctime=C.read_shift(4))),ye.mtime&&(ye.mt=new Date(ye.mtime*1e3));break;case 1:{var Pe=C.read_shift(4),we=C.read_shift(4);ye.usz=we*Math.pow(2,32)+Pe,Pe=C.read_shift(4),we=C.read_shift(4),ye.csz=we*Math.pow(2,32)+Pe}break}C.l=ne,ee[V]=ye}return ee}var f;function l(){return f||(f=ow)}function h(C,ee){if(C[0]==80&&C[1]==75)return Ft(C,ee);if((C[0]|32)==109&&(C[1]|32)==105)return kt(C,ee);if(C.length<512)throw new Error("CFB file size "+C.length+" < 512");var W=3,V=512,K=0,ne=0,ye=0,Pe=0,we=0,be=[],Ae=C.slice(0,512);Wn(Ae,0);var Xe=g(Ae);switch(W=Xe[0],W){case 3:V=512;break;case 4:V=4096;break;case 0:if(Xe[1]==0)return Ft(C,ee);default:throw new Error("Major Version: Expected 3 or 4 saw "+W)}V!==512&&(Ae=C.slice(0,V),Wn(Ae,28));var Qe=C.slice(0,V);p(Ae,W);var ot=Ae.read_shift(4,"i");if(W===3&&ot!==0)throw new Error("# Directory Sectors: Expected 0 saw "+ot);Ae.l+=4,ye=Ae.read_shift(4,"i"),Ae.l+=4,Ae.chk("00100000","Mini Stream Cutoff Size: "),Pe=Ae.read_shift(4,"i"),K=Ae.read_shift(4,"i"),we=Ae.read_shift(4,"i"),ne=Ae.read_shift(4,"i");for(var Ke=-1,rt=0;rt<109&&(Ke=Ae.read_shift(4,"i"),!(Ke<0));++rt)be[rt]=Ke;var It=u(C,V);y(we,ne,It,V,be);var ir=E(It,ye,be,V);ye<ir.length&&(ir[ye].name="!Directory"),K>0&&Pe!==j&&(ir[Pe].name="!MiniFAT"),ir[be[0]].name="!FAT",ir.fat_addrs=be,ir.ssz=V;var Vt={},Pr=[],qi=[],Pi=[];S(ye,ir,It,Pr,K,Vt,qi,Pe),_(qi,Pi,Pr),Pr.shift();var Gi={FileIndex:qi,FullPaths:Pi};return ee&&ee.raw&&(Gi.raw={header:Qe,sectors:It}),Gi}function g(C){if(C[C.l]==80&&C[C.l+1]==75)return[0,0];C.chk(ie,"Header Signature: "),C.l+=16;var ee=C.read_shift(2,"u");return[C.read_shift(2,"u"),ee]}function p(C,ee){var W=9;switch(C.l+=2,W=C.read_shift(2)){case 9:if(ee!=3)throw new Error("Sector Shift: Expected 9 saw "+W);break;case 12:if(ee!=4)throw new Error("Sector Shift: Expected 12 saw "+W);break;default:throw new Error("Sector Shift: Expected 9 or 12 saw "+W)}C.chk("0600","Mini Sector Shift: "),C.chk("000000000000","Reserved: ")}function u(C,ee){for(var W=Math.ceil(C.length/ee)-1,V=[],K=1;K<W;++K)V[K-1]=C.slice(K*ee,(K+1)*ee);return V[W-1]=C.slice(W*ee),V}function _(C,ee,W){for(var V=0,K=0,ne=0,ye=0,Pe=0,we=W.length,be=[],Ae=[];V<we;++V)be[V]=Ae[V]=V,ee[V]=W[V];for(;Pe<Ae.length;++Pe)V=Ae[Pe],K=C[V].L,ne=C[V].R,ye=C[V].C,be[V]===V&&(K!==-1&&be[K]!==K&&(be[V]=be[K]),ne!==-1&&be[ne]!==ne&&(be[V]=be[ne])),ye!==-1&&(be[ye]=V),K!==-1&&V!=be[V]&&(be[K]=be[V],Ae.lastIndexOf(K)<Pe&&Ae.push(K)),ne!==-1&&V!=be[V]&&(be[ne]=be[V],Ae.lastIndexOf(ne)<Pe&&Ae.push(ne));for(V=1;V<we;++V)be[V]===V&&(ne!==-1&&be[ne]!==ne?be[V]=be[ne]:K!==-1&&be[K]!==K&&(be[V]=be[K]));for(V=1;V<we;++V)if(C[V].type!==0){if(Pe=V,Pe!=be[Pe])do Pe=be[Pe],ee[V]=ee[Pe]+"/"+ee[V];while(Pe!==0&&be[Pe]!==-1&&Pe!=be[Pe]);be[V]=-1}for(ee[0]+="/",V=1;V<we;++V)C[V].type!==2&&(ee[V]+="/")}function w(C,ee,W){for(var V=C.start,K=C.size,ne=[],ye=V;W&&K>0&&ye>=0;)ne.push(ee.slice(ye*P,ye*P+P)),K-=P,ye=Os(W,ye*4);return ne.length===0?Ee(0):Yr(ne).slice(0,C.size)}function y(C,ee,W,V,K){var ne=j;if(C===j){if(ee!==0)throw new Error("DIFAT chain shorter than expected")}else if(C!==-1){var ye=W[C],Pe=(V>>>2)-1;if(!ye)return;for(var we=0;we<Pe&&(ne=Os(ye,we*4))!==j;++we)K.push(ne);ee>=1&&y(Os(ye,V-4),ee-1,W,V,K)}}function v(C,ee,W,V,K){var ne=[],ye=[];K||(K=[]);var Pe=V-1,we=0,be=0;for(we=ee;we>=0;){K[we]=!0,ne[ne.length]=we,ye.push(C[we]);var Ae=W[Math.floor(we*4/V)];if(be=we*4&Pe,V<4+be)throw new Error("FAT boundary crossed: "+we+" 4 "+V);if(!C[Ae])break;we=Os(C[Ae],be)}return{nodes:ne,data:ed([ye])}}function E(C,ee,W,V){var K=C.length,ne=[],ye=[],Pe=[],we=[],be=V-1,Ae=0,Xe=0,Qe=0,ot=0;for(Ae=0;Ae<K;++Ae)if(Pe=[],Qe=Ae+ee,Qe>=K&&(Qe-=K),!ye[Qe]){we=[];var Ke=[];for(Xe=Qe;Xe>=0;){Ke[Xe]=!0,ye[Xe]=!0,Pe[Pe.length]=Xe,we.push(C[Xe]);var rt=W[Math.floor(Xe*4/V)];if(ot=Xe*4&be,V<4+ot)throw new Error("FAT boundary crossed: "+Xe+" 4 "+V);if(!C[rt]||(Xe=Os(C[rt],ot),Ke[Xe]))break}ne[Qe]={nodes:Pe,data:ed([we])}}return ne}function S(C,ee,W,V,K,ne,ye,Pe){for(var we=0,be=V.length?2:0,Ae=ee[C].data,Xe=0,Qe=0,ot;Xe<Ae.length;Xe+=128){var Ke=Ae.slice(Xe,Xe+128);Wn(Ke,64),Qe=Ke.read_shift(2),ot=vu(Ke,0,Qe-be),V.push(ot);var rt={name:ot,type:Ke.read_shift(1),color:Ke.read_shift(1),L:Ke.read_shift(4,"i"),R:Ke.read_shift(4,"i"),C:Ke.read_shift(4,"i"),clsid:Ke.read_shift(16),state:Ke.read_shift(4,"i"),start:0,size:0},It=Ke.read_shift(2)+Ke.read_shift(2)+Ke.read_shift(2)+Ke.read_shift(2);It!==0&&(rt.ct=R(Ke,Ke.l-8));var ir=Ke.read_shift(2)+Ke.read_shift(2)+Ke.read_shift(2)+Ke.read_shift(2);ir!==0&&(rt.mt=R(Ke,Ke.l-8)),rt.start=Ke.read_shift(4,"i"),rt.size=Ke.read_shift(4,"i"),rt.size<0&&rt.start<0&&(rt.size=rt.type=0,rt.start=j,rt.name=""),rt.type===5?(we=rt.start,K>0&&we!==j&&(ee[we].name="!StreamData")):rt.size>=4096?(rt.storage="fat",ee[rt.start]===void 0&&(ee[rt.start]=v(W,rt.start,ee.fat_addrs,ee.ssz)),ee[rt.start].name=rt.name,rt.content=ee[rt.start].data.slice(0,rt.size)):(rt.storage="minifat",rt.size<0?rt.size=0:we!==j&&rt.start!==j&&ee[we]&&(rt.content=w(rt,ee[we].data,(ee[Pe]||{}).data))),rt.content&&Wn(rt.content,0),ne[ot]=rt,ye.push(rt)}}function R(C,ee){return new Date((di(C,ee+4)/1e7*Math.pow(2,32)+di(C,ee)/1e7-11644473600)*1e3)}function re(C,ee){return l(),h(f.readFileSync(C),ee)}function fe(C,ee){var W=ee&&ee.type;switch(W||nr&&Buffer.isBuffer(C)&&(W="buffer"),W||"base64"){case"file":return re(C,ee);case"base64":return h(hi(ls(C)),ee);case"binary":return h(hi(C),ee)}return h(C,ee)}function O(C,ee){var W=ee||{},V=W.root||"Root Entry";if(C.FullPaths||(C.FullPaths=[]),C.FileIndex||(C.FileIndex=[]),C.FullPaths.length!==C.FileIndex.length)throw new Error("inconsistent CFB structure");C.FullPaths.length===0&&(C.FullPaths[0]=V+"/",C.FileIndex[0]={name:V,type:5}),W.CLSID&&(C.FileIndex[0].clsid=W.CLSID),B(C)}function B(C){var ee="�Sh33tJ5";if(!gr.find(C,"/"+ee)){var W=Ee(4);W[0]=55,W[1]=W[3]=50,W[2]=54,C.FileIndex.push({name:ee,type:2,content:W,size:4,L:69,R:69,C:69}),C.FullPaths.push(C.FullPaths[0]+ee),T(C)}}function T(C,ee){O(C);for(var W=!1,V=!1,K=C.FullPaths.length-1;K>=0;--K){var ne=C.FileIndex[K];switch(ne.type){case 0:V?W=!0:(C.FileIndex.pop(),C.FullPaths.pop());break;case 1:case 2:case 5:V=!0,isNaN(ne.R*ne.L*ne.C)&&(W=!0),ne.R>-1&&ne.L>-1&&ne.R==ne.L&&(W=!0);break;default:W=!0;break}}if(!(!W&&!ee)){var ye=new Date(1987,1,19),Pe=0,we=Object.create?Object.create(null):{},be=[];for(K=0;K<C.FullPaths.length;++K)we[C.FullPaths[K]]=!0,C.FileIndex[K].type!==0&&be.push([C.FullPaths[K],C.FileIndex[K]]);for(K=0;K<be.length;++K){var Ae=n(be[K][0]);for(V=we[Ae];!V;){for(;n(Ae)&&!we[n(Ae)];)Ae=n(Ae);be.push([Ae,{name:i(Ae).replace("/",""),type:1,clsid:Fe,ct:ye,mt:ye,content:null}]),we[Ae]=!0,Ae=n(be[K][0]),V=we[Ae]}}for(be.sort(function(ot,Ke){return t(ot[0],Ke[0])}),C.FullPaths=[],C.FileIndex=[],K=0;K<be.length;++K)C.FullPaths[K]=be[K][0],C.FileIndex[K]=be[K][1];for(K=0;K<be.length;++K){var Xe=C.FileIndex[K],Qe=C.FullPaths[K];if(Xe.name=i(Qe).replace("/",""),Xe.L=Xe.R=Xe.C=-(Xe.color=1),Xe.size=Xe.content?Xe.content.length:0,Xe.start=0,Xe.clsid=Xe.clsid||Fe,K===0)Xe.C=be.length>1?1:-1,Xe.size=0,Xe.type=5;else if(Qe.slice(-1)=="/"){for(Pe=K+1;Pe<be.length&&n(C.FullPaths[Pe])!=Qe;++Pe);for(Xe.C=Pe>=be.length?-1:Pe,Pe=K+1;Pe<be.length&&n(C.FullPaths[Pe])!=n(Qe);++Pe);Xe.R=Pe>=be.length?-1:Pe,Xe.type=1}else n(C.FullPaths[K+1]||"")==n(Qe)&&(Xe.R=K+1),Xe.type=2}}}function Q(C,ee){var W=ee||{};if(W.fileType=="mad")return ki(C,W);switch(T(C),W.fileType){case"zip":return Wt(C,W)}var V=function(ot){for(var Ke=0,rt=0,It=0;It<ot.FileIndex.length;++It){var ir=ot.FileIndex[It];if(ir.content){var Vt=ir.content.length;Vt>0&&(Vt<4096?Ke+=Vt+63>>6:rt+=Vt+511>>9)}}for(var Pr=ot.FullPaths.length+3>>2,qi=Ke+7>>3,Pi=Ke+127>>7,Gi=qi+rt+Pr+Pi,vi=Gi+127>>7,Ua=vi<=109?0:Math.ceil((vi-109)/127);Gi+vi+Ua+127>>7>vi;)Ua=++vi<=109?0:Math.ceil((vi-109)/127);var Hr=[1,Ua,vi,Pi,Pr,rt,Ke,0];return ot.FileIndex[0].size=Ke<<6,Hr[7]=(ot.FileIndex[0].start=Hr[0]+Hr[1]+Hr[2]+Hr[3]+Hr[4]+Hr[5])+(Hr[6]+7>>3),Hr}(C),K=Ee(V[7]<<9),ne=0,ye=0;{for(ne=0;ne<8;++ne)K.write_shift(1,he[ne]);for(ne=0;ne<8;++ne)K.write_shift(2,0);for(K.write_shift(2,62),K.write_shift(2,3),K.write_shift(2,65534),K.write_shift(2,9),K.write_shift(2,6),ne=0;ne<3;++ne)K.write_shift(2,0);for(K.write_shift(4,0),K.write_shift(4,V[2]),K.write_shift(4,V[0]+V[1]+V[2]+V[3]-1),K.write_shift(4,0),K.write_shift(4,4096),K.write_shift(4,V[3]?V[0]+V[1]+V[2]-1:j),K.write_shift(4,V[3]),K.write_shift(-4,V[1]?V[0]-1:j),K.write_shift(4,V[1]),ne=0;ne<109;++ne)K.write_shift(-4,ne<V[2]?V[1]+ne:-1)}if(V[1])for(ye=0;ye<V[1];++ye){for(;ne<236+ye*127;++ne)K.write_shift(-4,ne<V[2]?V[1]+ne:-1);K.write_shift(-4,ye===V[1]-1?j:ye+1)}var Pe=function(ot){for(ye+=ot;ne<ye-1;++ne)K.write_shift(-4,ne+1);ot&&(++ne,K.write_shift(-4,j))};for(ye=ne=0,ye+=V[1];ne<ye;++ne)K.write_shift(-4,xe.DIFSECT);for(ye+=V[2];ne<ye;++ne)K.write_shift(-4,xe.FATSECT);Pe(V[3]),Pe(V[4]);for(var we=0,be=0,Ae=C.FileIndex[0];we<C.FileIndex.length;++we)Ae=C.FileIndex[we],Ae.content&&(be=Ae.content.length,!(be<4096)&&(Ae.start=ye,Pe(be+511>>9)));for(Pe(V[6]+7>>3);K.l&511;)K.write_shift(-4,xe.ENDOFCHAIN);for(ye=ne=0,we=0;we<C.FileIndex.length;++we)Ae=C.FileIndex[we],Ae.content&&(be=Ae.content.length,!(!be||be>=4096)&&(Ae.start=ye,Pe(be+63>>6)));for(;K.l&511;)K.write_shift(-4,xe.ENDOFCHAIN);for(ne=0;ne<V[4]<<2;++ne){var Xe=C.FullPaths[ne];if(!Xe||Xe.length===0){for(we=0;we<17;++we)K.write_shift(4,0);for(we=0;we<3;++we)K.write_shift(4,-1);for(we=0;we<12;++we)K.write_shift(4,0);continue}Ae=C.FileIndex[ne],ne===0&&(Ae.start=Ae.size?Ae.start-1:j);var Qe=ne===0&&W.root||Ae.name;if(Qe.length>31&&(console.error("Name "+Qe+" will be truncated to "+Qe.slice(0,31)),Qe=Qe.slice(0,31)),be=2*(Qe.length+1),K.write_shift(64,Qe,"utf16le"),K.write_shift(2,be),K.write_shift(1,Ae.type),K.write_shift(1,Ae.color),K.write_shift(-4,Ae.L),K.write_shift(-4,Ae.R),K.write_shift(-4,Ae.C),Ae.clsid)K.write_shift(16,Ae.clsid,"hex");else for(we=0;we<4;++we)K.write_shift(4,0);K.write_shift(4,Ae.state||0),K.write_shift(4,0),K.write_shift(4,0),K.write_shift(4,0),K.write_shift(4,0),K.write_shift(4,Ae.start),K.write_shift(4,Ae.size),K.write_shift(4,0)}for(ne=1;ne<C.FileIndex.length;++ne)if(Ae=C.FileIndex[ne],Ae.size>=4096)if(K.l=Ae.start+1<<9,nr&&Buffer.isBuffer(Ae.content))Ae.content.copy(K,K.l,0,Ae.size),K.l+=Ae.size+511&-512;else{for(we=0;we<Ae.size;++we)K.write_shift(1,Ae.content[we]);for(;we&511;++we)K.write_shift(1,0)}for(ne=1;ne<C.FileIndex.length;++ne)if(Ae=C.FileIndex[ne],Ae.size>0&&Ae.size<4096)if(nr&&Buffer.isBuffer(Ae.content))Ae.content.copy(K,K.l,0,Ae.size),K.l+=Ae.size+63&-64;else{for(we=0;we<Ae.size;++we)K.write_shift(1,Ae.content[we]);for(;we&63;++we)K.write_shift(1,0)}if(nr)K.l=K.length;else for(;K.l<K.length;)K.write_shift(1,0);return K}function A(C,ee){var W=C.FullPaths.map(function(we){return we.toUpperCase()}),V=W.map(function(we){var be=we.split("/");return be[be.length-(we.slice(-1)=="/"?2:1)]}),K=!1;ee.charCodeAt(0)===47?(K=!0,ee=W[0].slice(0,-1)+ee):K=ee.indexOf("/")!==-1;var ne=ee.toUpperCase(),ye=K===!0?W.indexOf(ne):V.indexOf(ne);if(ye!==-1)return C.FileIndex[ye];var Pe=!ne.match(tl);for(ne=ne.replace(M0,""),Pe&&(ne=ne.replace(tl,"!")),ye=0;ye<W.length;++ye)if((Pe?W[ye].replace(tl,"!"):W[ye]).replace(M0,"")==ne||(Pe?V[ye].replace(tl,"!"):V[ye]).replace(M0,"")==ne)return C.FileIndex[ye];return null}var P=64,j=-2,ie="d0cf11e0a1b11ae1",he=[208,207,17,224,161,177,26,225],Fe="00000000000000000000000000000000",xe={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:j,FREESECT:-1,HEADER_SIGNATURE:ie,HEADER_MINOR_VERSION:"3e00",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:Fe,EntryTypes:["unknown","storage","stream","lockbytes","property","root"]};function ve(C,ee,W){l();var V=Q(C,W);f.writeFileSync(ee,V)}function Le(C){for(var ee=new Array(C.length),W=0;W<C.length;++W)ee[W]=String.fromCharCode(C[W]);return ee.join("")}function Ge(C,ee){var W=Q(C,ee);switch(ee&&ee.type||"buffer"){case"file":return l(),f.writeFileSync(ee.filename,W),W;case"binary":return typeof W=="string"?W:Le(W);case"base64":return El(typeof W=="string"?W:Le(W));case"buffer":if(nr)return Buffer.isBuffer(W)?W:pa(W);case"array":return typeof W=="string"?hi(W):W}return W}var Be;function L(C){try{var ee=C.InflateRaw,W=new ee;if(W._processChunk(new Uint8Array([3,0]),W._finishFlushFlag),W.bytesRead)Be=C;else throw new Error("zlib does not expose bytesRead")}catch(V){console.error("cannot use native zlib: "+(V.message||V))}}function q(C,ee){if(!Be)return Nt(C,ee);var W=Be.InflateRaw,V=new W,K=V._processChunk(C.slice(C.l),V._finishFlushFlag);return C.l+=V.bytesRead,K}function te(C){return Be?Be.deflateRawSync(C):Ct(C)}var ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],ce=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258],de=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function k(C){var ee=(C<<1|C<<11)&139536|(C<<5|C<<15)&558144;return(ee>>16|ee>>8|ee)&255}for(var X=typeof Uint8Array<"u",z=X?new Uint8Array(256):[],G=0;G<256;++G)z[G]=k(G);function me(C,ee){var W=z[C&255];return ee<=8?W>>>8-ee:(W=W<<8|z[C>>8&255],ee<=16?W>>>16-ee:(W=W<<8|z[C>>16&255],W>>>24-ee))}function Ce(C,ee){var W=ee&7,V=ee>>>3;return(C[V]|(W<=6?0:C[V+1]<<8))>>>W&3}function Ie(C,ee){var W=ee&7,V=ee>>>3;return(C[V]|(W<=5?0:C[V+1]<<8))>>>W&7}function M(C,ee){var W=ee&7,V=ee>>>3;return(C[V]|(W<=4?0:C[V+1]<<8))>>>W&15}function Ne(C,ee){var W=ee&7,V=ee>>>3;return(C[V]|(W<=3?0:C[V+1]<<8))>>>W&31}function et(C,ee){var W=ee&7,V=ee>>>3;return(C[V]|(W<=1?0:C[V+1]<<8))>>>W&127}function $e(C,ee,W){var V=ee&7,K=ee>>>3,ne=(1<<W)-1,ye=C[K]>>>V;return W<8-V||(ye|=C[K+1]<<8-V,W<16-V)||(ye|=C[K+2]<<16-V,W<24-V)||(ye|=C[K+3]<<24-V),ye&ne}function ke(C,ee,W){var V=ee&7,K=ee>>>3;return V<=5?C[K]|=(W&7)<<V:(C[K]|=W<<V&255,C[K+1]=(W&7)>>8-V),ee+3}function it(C,ee,W){var V=ee&7,K=ee>>>3;return W=(W&1)<<V,C[K]|=W,ee+1}function tt(C,ee,W){var V=ee&7,K=ee>>>3;return W<<=V,C[K]|=W&255,W>>>=8,C[K+1]=W,ee+8}function ft(C,ee,W){var V=ee&7,K=ee>>>3;return W<<=V,C[K]|=W&255,W>>>=8,C[K+1]=W&255,C[K+2]=W>>>8,ee+16}function Ue(C,ee){var W=C.length,V=2*W>ee?2*W:ee+5,K=0;if(W>=ee)return C;if(nr){var ne=U2(V);if(C.copy)C.copy(ne);else for(;K<C.length;++K)ne[K]=C[K];return ne}else if(X){var ye=new Uint8Array(V);if(ye.set)ye.set(C);else for(;K<W;++K)ye[K]=C[K];return ye}return C.length=V,C}function pt(C){for(var ee=new Array(C),W=0;W<C;++W)ee[W]=0;return ee}function je(C,ee,W){var V=1,K=0,ne=0,ye=0,Pe=0,we=C.length,be=X?new Uint16Array(32):pt(32);for(ne=0;ne<32;++ne)be[ne]=0;for(ne=we;ne<W;++ne)C[ne]=0;we=C.length;var Ae=X?new Uint16Array(we):pt(we);for(ne=0;ne<we;++ne)be[K=C[ne]]++,V<K&&(V=K),Ae[ne]=0;for(be[0]=0,ne=1;ne<=V;++ne)be[ne+16]=Pe=Pe+be[ne-1]<<1;for(ne=0;ne<we;++ne)Pe=C[ne],Pe!=0&&(Ae[ne]=be[Pe+16]++);var Xe=0;for(ne=0;ne<we;++ne)if(Xe=C[ne],Xe!=0)for(Pe=me(Ae[ne],V)>>V-Xe,ye=(1<<V+4-Xe)-1;ye>=0;--ye)ee[Pe|ye<<Xe]=Xe&15|ne<<4;return V}var Tt=X?new Uint16Array(512):pt(512),Pt=X?new Uint16Array(32):pt(32);if(!X){for(var vt=0;vt<512;++vt)Tt[vt]=0;for(vt=0;vt<32;++vt)Pt[vt]=0}(function(){for(var C=[],ee=0;ee<32;ee++)C.push(5);je(C,Pt,32);var W=[];for(ee=0;ee<=143;ee++)W.push(8);for(;ee<=255;ee++)W.push(9);for(;ee<=279;ee++)W.push(7);for(;ee<=287;ee++)W.push(8);je(W,Tt,288)})();var ct=function(){for(var ee=X?new Uint8Array(32768):[],W=0,V=0;W<de.length-1;++W)for(;V<de[W+1];++V)ee[V]=W;for(;V<32768;++V)ee[V]=29;var K=X?new Uint8Array(259):[];for(W=0,V=0;W<ce.length-1;++W)for(;V<ce[W+1];++V)K[V]=W;function ne(Pe,we){for(var be=0;be<Pe.length;){var Ae=Math.min(65535,Pe.length-be),Xe=be+Ae==Pe.length;for(we.write_shift(1,+Xe),we.write_shift(2,Ae),we.write_shift(2,~Ae&65535);Ae-- >0;)we[we.l++]=Pe[be++]}return we.l}function ye(Pe,we){for(var be=0,Ae=0,Xe=X?new Uint16Array(32768):[];Ae<Pe.length;){var Qe=Math.min(65535,Pe.length-Ae);if(Qe<10){for(be=ke(we,be,+(Ae+Qe==Pe.length)),be&7&&(be+=8-(be&7)),we.l=be/8|0,we.write_shift(2,Qe),we.write_shift(2,~Qe&65535);Qe-- >0;)we[we.l++]=Pe[Ae++];be=we.l*8;continue}be=ke(we,be,+(Ae+Qe==Pe.length)+2);for(var ot=0;Qe-- >0;){var Ke=Pe[Ae];ot=(ot<<5^Ke)&32767;var rt=-1,It=0;if((rt=Xe[ot])&&(rt|=Ae&-32768,rt>Ae&&(rt-=32768),rt<Ae))for(;Pe[rt+It]==Pe[Ae+It]&&It<250;)++It;if(It>2){Ke=K[It],Ke<=22?be=tt(we,be,z[Ke+1]>>1)-1:(tt(we,be,3),be+=5,tt(we,be,z[Ke-23]>>5),be+=3);var ir=Ke<8?0:Ke-4>>2;ir>0&&(ft(we,be,It-ce[Ke]),be+=ir),Ke=ee[Ae-rt],be=tt(we,be,z[Ke]>>3),be-=3;var Vt=Ke<4?0:Ke-2>>1;Vt>0&&(ft(we,be,Ae-rt-de[Ke]),be+=Vt);for(var Pr=0;Pr<It;++Pr)Xe[ot]=Ae&32767,ot=(ot<<5^Pe[Ae])&32767,++Ae;Qe-=It-1}else Ke<=143?Ke=Ke+48:be=it(we,be,1),be=tt(we,be,z[Ke]),Xe[ot]=Ae&32767,++Ae}be=tt(we,be,0)-1}return we.l=(be+7)/8|0,we.l}return function(we,be){return we.length<8?ne(we,be):ye(we,be)}}();function Ct(C){var ee=Ee(50+Math.floor(C.length*1.1)),W=ct(C,ee);return ee.slice(0,W)}var se=X?new Uint16Array(32768):pt(32768),Ye=X?new Uint16Array(32768):pt(32768),st=X?new Uint16Array(128):pt(128),lt=1,qe=1;function St(C,ee){var W=Ne(C,ee)+257;ee+=5;var V=Ne(C,ee)+1;ee+=5;var K=M(C,ee)+4;ee+=4;for(var ne=0,ye=X?new Uint8Array(19):pt(19),Pe=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],we=1,be=X?new Uint8Array(8):pt(8),Ae=X?new Uint8Array(8):pt(8),Xe=ye.length,Qe=0;Qe<K;++Qe)ye[ae[Qe]]=ne=Ie(C,ee),we<ne&&(we=ne),be[ne]++,ee+=3;var ot=0;for(be[0]=0,Qe=1;Qe<=we;++Qe)Ae[Qe]=ot=ot+be[Qe-1]<<1;for(Qe=0;Qe<Xe;++Qe)(ot=ye[Qe])!=0&&(Pe[Qe]=Ae[ot]++);var Ke=0;for(Qe=0;Qe<Xe;++Qe)if(Ke=ye[Qe],Ke!=0){ot=z[Pe[Qe]]>>8-Ke;for(var rt=(1<<7-Ke)-1;rt>=0;--rt)st[ot|rt<<Ke]=Ke&7|Qe<<3}var It=[];for(we=1;It.length<W+V;)switch(ot=st[et(C,ee)],ee+=ot&7,ot>>>=3){case 16:for(ne=3+Ce(C,ee),ee+=2,ot=It[It.length-1];ne-- >0;)It.push(ot);break;case 17:for(ne=3+Ie(C,ee),ee+=3;ne-- >0;)It.push(0);break;case 18:for(ne=11+et(C,ee),ee+=7;ne-- >0;)It.push(0);break;default:It.push(ot),we<ot&&(we=ot);break}var ir=It.slice(0,W),Vt=It.slice(W);for(Qe=W;Qe<286;++Qe)ir[Qe]=0;for(Qe=V;Qe<30;++Qe)Vt[Qe]=0;return lt=je(ir,se,286),qe=je(Vt,Ye,30),ee}function nt(C,ee){if(C[0]==3&&!(C[1]&3))return[Gs(ee),2];for(var W=0,V=0,K=U2(ee||1<<18),ne=0,ye=K.length>>>0,Pe=0,we=0;!(V&1);){if(V=Ie(C,W),W+=3,V>>>1)V>>1==1?(Pe=9,we=5):(W=St(C,W),Pe=lt,we=qe);else{W&7&&(W+=8-(W&7));var be=C[W>>>3]|C[(W>>>3)+1]<<8;if(W+=32,be>0)for(!ee&&ye<ne+be&&(K=Ue(K,ne+be),ye=K.length);be-- >0;)K[ne++]=C[W>>>3],W+=8;continue}for(;;){!ee&&ye<ne+32767&&(K=Ue(K,ne+32767),ye=K.length);var Ae=$e(C,W,Pe),Xe=V>>>1==1?Tt[Ae]:se[Ae];if(W+=Xe&15,Xe>>>=4,!(Xe>>>8&255))K[ne++]=Xe;else{if(Xe==256)break;Xe-=257;var Qe=Xe<8?0:Xe-4>>2;Qe>5&&(Qe=0);var ot=ne+ce[Xe];Qe>0&&(ot+=$e(C,W,Qe),W+=Qe),Ae=$e(C,W,we),Xe=V>>>1==1?Pt[Ae]:Ye[Ae],W+=Xe&15,Xe>>>=4;var Ke=Xe<4?0:Xe-2>>1,rt=de[Xe];for(Ke>0&&(rt+=$e(C,W,Ke),W+=Ke),!ee&&ye<ot&&(K=Ue(K,ot+100),ye=K.length);ne<ot;)K[ne]=K[ne-rt],++ne}}}return ee?[K,W+7>>>3]:[K.slice(0,ne),W+7>>>3]}function Nt(C,ee){var W=C.slice(C.l||0),V=nt(W,ee);return C.l+=V[1],V[0]}function ht(C,ee){if(C)typeof console<"u"&&console.error(ee);else throw new Error(ee)}function Ft(C,ee){var W=C;Wn(W,0);var V=[],K=[],ne={FileIndex:V,FullPaths:K};O(ne,{root:ee.root});for(var ye=W.length-4;(W[ye]!=80||W[ye+1]!=75||W[ye+2]!=5||W[ye+3]!=6)&&ye>=0;)--ye;W.l=ye+4,W.l+=4;var Pe=W.read_shift(2);W.l+=6;var we=W.read_shift(4);for(W.l=we,ye=0;ye<Pe;++ye){W.l+=20;var be=W.read_shift(4),Ae=W.read_shift(4),Xe=W.read_shift(2),Qe=W.read_shift(2),ot=W.read_shift(2);W.l+=8;var Ke=W.read_shift(4),rt=o(W.slice(W.l+Xe,W.l+Xe+Qe));W.l+=Xe+Qe+ot;var It=W.l;W.l=Ke+4,rt&&rt[1]&&((rt[1]||{}).usz&&(Ae=rt[1].usz),(rt[1]||{}).csz&&(be=rt[1].csz)),Gt(W,be,Ae,ne,rt),W.l=It}return ne}function Gt(C,ee,W,V,K){C.l+=2;var ne=C.read_shift(2),ye=C.read_shift(2),Pe=s(C);if(ne&8257)throw new Error("Unsupported ZIP encryption");for(var we=C.read_shift(4),be=C.read_shift(4),Ae=C.read_shift(4),Xe=C.read_shift(2),Qe=C.read_shift(2),ot="",Ke=0;Ke<Xe;++Ke)ot+=String.fromCharCode(C[C.l++]);if(Qe){var rt=o(C.slice(C.l,C.l+Qe));(rt[21589]||{}).mt&&(Pe=rt[21589].mt),(rt[1]||{}).usz&&(Ae=rt[1].usz),(rt[1]||{}).csz&&(be=rt[1].csz),K&&((K[21589]||{}).mt&&(Pe=K[21589].mt),(K[1]||{}).usz&&(Ae=K[1].usz),(K[1]||{}).csz&&(be=K[1].csz))}C.l+=Qe;var It=C.slice(C.l,C.l+be);switch(ye){case 8:It=q(C,Ae);break;case 0:C.l+=be;break;default:throw new Error("Unsupported ZIP Compression method "+ye)}var ir=!1;ne&8&&(we=C.read_shift(4),we==134695760&&(we=C.read_shift(4),ir=!0),be=C.read_shift(4),Ae=C.read_shift(4)),be!=ee&&ht(ir,"Bad compressed size: "+ee+" != "+be),Ae!=W&&ht(ir,"Bad uncompressed size: "+W+" != "+Ae),vn(V,ot,It,{unsafe:!0,mt:Pe})}function Wt(C,ee){var W=ee||{},V=[],K=[],ne=Ee(1),ye=W.compression?8:0,Pe=0,we=0,be=0,Ae=0,Xe=0,Qe=C.FullPaths[0],ot=Qe,Ke=C.FileIndex[0],rt=[],It=0;for(we=1;we<C.FullPaths.length;++we)if(ot=C.FullPaths[we].slice(Qe.length),Ke=C.FileIndex[we],!(!Ke.size||!Ke.content||Array.isArray(Ke.content)&&Ke.content.length==0||ot=="�Sh33tJ5")){var ir=Ae,Vt=Ee(ot.length);for(be=0;be<ot.length;++be)Vt.write_shift(1,ot.charCodeAt(be)&127);Vt=Vt.slice(0,Vt.l),rt[Xe]=typeof Ke.content=="string"?$2.bstr(Ke.content,0):$2.buf(Ke.content,0);var Pr=typeof Ke.content=="string"?hi(Ke.content):Ke.content;ye==8&&(Pr=te(Pr)),ne=Ee(30),ne.write_shift(4,67324752),ne.write_shift(2,20),ne.write_shift(2,Pe),ne.write_shift(2,ye),Ke.mt?a(ne,Ke.mt):ne.write_shift(4,0),ne.write_shift(-4,rt[Xe]),ne.write_shift(4,Pr.length),ne.write_shift(4,Ke.content.length),ne.write_shift(2,Vt.length),ne.write_shift(2,0),Ae+=ne.length,V.push(ne),Ae+=Vt.length,V.push(Vt),Ae+=Pr.length,V.push(Pr),ne=Ee(46),ne.write_shift(4,33639248),ne.write_shift(2,0),ne.write_shift(2,20),ne.write_shift(2,Pe),ne.write_shift(2,ye),ne.write_shift(4,0),ne.write_shift(-4,rt[Xe]),ne.write_shift(4,Pr.length),ne.write_shift(4,Ke.content.length),ne.write_shift(2,Vt.length),ne.write_shift(2,0),ne.write_shift(2,0),ne.write_shift(2,0),ne.write_shift(2,0),ne.write_shift(4,0),ne.write_shift(4,ir),It+=ne.l,K.push(ne),It+=Vt.length,K.push(Vt),++Xe}return ne=Ee(22),ne.write_shift(4,101010256),ne.write_shift(2,0),ne.write_shift(2,0),ne.write_shift(2,Xe),ne.write_shift(2,Xe),ne.write_shift(4,It),ne.write_shift(4,Ae),ne.write_shift(2,0),Yr([Yr(V),Yr(K),ne])}var Et={htm:"text/html",xml:"text/xml",gif:"image/gif",jpg:"image/jpeg",png:"image/png",mso:"application/x-mso",thmx:"application/vnd.ms-officetheme",sh33tj5:"application/octet-stream"};function Jt(C,ee){if(C.ctype)return C.ctype;var W=C.name||"",V=W.match(/\.([^\.]+)$/);return V&&Et[V[1]]||ee&&(V=(W=ee).match(/[\.\\]([^\.\\])+$/),V&&Et[V[1]])?Et[V[1]]:"application/octet-stream"}function ma(C){for(var ee=El(C),W=[],V=0;V<ee.length;V+=76)W.push(ee.slice(V,V+76));return W.join(`\r
176`)+`\r
177`}function an(C){var ee=C.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF=]/g,function(be){var Ae=be.charCodeAt(0).toString(16).toUpperCase();return"="+(Ae.length==1?"0"+Ae:Ae)});ee=ee.replace(/ $/mg,"=20").replace(/\t$/mg,"=09"),ee.charAt(0)==`
178`&&(ee="=0D"+ee.slice(1)),ee=ee.replace(/\r(?!\n)/mg,"=0D").replace(/\n\n/mg,`
179=0A`).replace(/([^\r\n])\n/mg,"$1=0A");for(var W=[],V=ee.split(`\r
180`),K=0;K<V.length;++K){var ne=V[K];if(ne.length==0){W.push("");continue}for(var ye=0;ye<ne.length;){var Pe=76,we=ne.slice(ye,ye+Pe);we.charAt(Pe-1)=="="?Pe--:we.charAt(Pe-2)=="="?Pe-=2:we.charAt(Pe-3)=="="&&(Pe-=3),we=ne.slice(ye,ye+Pe),ye+=Pe,ye<ne.length&&(we+="="),W.push(we)}}return W.join(`\r
181`)}function Li(C){for(var ee=[],W=0;W<C.length;++W){for(var V=C[W];W<=C.length&&V.charAt(V.length-1)=="=";)V=V.slice(0,V.length-1)+C[++W];ee.push(V)}for(var K=0;K<ee.length;++K)ee[K]=ee[K].replace(/[=][0-9A-Fa-f]{2}/g,function(ne){return String.fromCharCode(parseInt(ne.slice(1),16))});return hi(ee.join(`\r
182`))}function xi(C,ee,W){for(var V="",K="",ne="",ye,Pe=0;Pe<10;++Pe){var we=ee[Pe];if(!we||we.match(/^\s*$/))break;var be=we.match(/^([^:]*?):\s*([^\s].*)$/);if(be)switch(be[1].toLowerCase()){case"content-location":V=be[2].trim();break;case"content-type":ne=be[2].trim();break;case"content-transfer-encoding":K=be[2].trim();break}}switch(++Pe,K.toLowerCase()){case"base64":ye=hi(ls(ee.slice(Pe).join("")));break;case"quoted-printable":ye=Li(ee.slice(Pe));break;default:throw new Error("Unsupported Content-Transfer-Encoding "+K)}var Ae=vn(C,V.slice(W.length),ye,{unsafe:!0});ne&&(Ae.ctype=ne)}function kt(C,ee){if(Le(C.slice(0,13)).toLowerCase()!="mime-version:")throw new Error("Unsupported MAD header");var W=ee&&ee.root||"",V=(nr&&Buffer.isBuffer(C)?C.toString("binary"):Le(C)).split(`\r
183`),K=0,ne="";for(K=0;K<V.length;++K)if(ne=V[K],!!/^Content-Location:/i.test(ne)&&(ne=ne.slice(ne.indexOf("file")),W||(W=ne.slice(0,ne.lastIndexOf("/")+1)),ne.slice(0,W.length)!=W))for(;W.length>0&&(W=W.slice(0,W.length-1),W=W.slice(0,W.lastIndexOf("/")+1),ne.slice(0,W.length)!=W););var ye=(V[1]||"").match(/boundary="(.*?)"/);if(!ye)throw new Error("MAD cannot find boundary");var Pe="--"+(ye[1]||""),we=[],be=[],Ae={FileIndex:we,FullPaths:be};O(Ae);var Xe,Qe=0;for(K=0;K<V.length;++K){var ot=V[K];ot!==Pe&&ot!==Pe+"--"||(Qe++&&xi(Ae,V.slice(Xe,K),W),Xe=K)}return Ae}function ki(C,ee){var W=ee||{},V=W.boundary||"SheetJS";V="------="+V;for(var K=["MIME-Version: 1.0",'Content-Type: multipart/related; boundary="'+V.slice(2)+'"',"","",""],ne=C.FullPaths[0],ye=ne,Pe=C.FileIndex[0],we=1;we<C.FullPaths.length;++we)if(ye=C.FullPaths[we].slice(ne.length),Pe=C.FileIndex[we],!(!Pe.size||!Pe.content||ye=="�Sh33tJ5")){ye=ye.replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7E-\xFF]/g,function(It){return"_x"+It.charCodeAt(0).toString(16)+"_"}).replace(/[\u0080-\uFFFF]/g,function(It){return"_u"+It.charCodeAt(0).toString(16)+"_"});for(var be=Pe.content,Ae=nr&&Buffer.isBuffer(be)?be.toString("binary"):Le(be),Xe=0,Qe=Math.min(1024,Ae.length),ot=0,Ke=0;Ke<=Qe;++Ke)(ot=Ae.charCodeAt(Ke))>=32&&ot<128&&++Xe;var rt=Xe>=Qe*4/5;K.push(V),K.push("Content-Location: "+(W.root||"file:///C:/SheetJS/")+ye),K.push("Content-Transfer-Encoding: "+(rt?"quoted-printable":"base64")),K.push("Content-Type: "+Jt(Pe,ye)),K.push(""),K.push(rt?an(Ae):ma(Ae))}return K.push(V+`--\r
184`),K.join(`\r
185`)}function Ci(C){var ee={};return O(ee,C),ee}function vn(C,ee,W,V){var K=V&&V.unsafe;K||O(C);var ne=!K&&gr.find(C,ee);if(!ne){var ye=C.FullPaths[0];ee.slice(0,ye.length)==ye?ye=ee:(ye.slice(-1)!="/"&&(ye+="/"),ye=(ye+ee).replace("//","/")),ne={name:i(ee),type:2},C.FileIndex.push(ne),C.FullPaths.push(ye),K||gr.utils.cfb_gc(C)}return ne.content=W,ne.size=W?W.length:0,V&&(V.CLSID&&(ne.clsid=V.CLSID),V.mt&&(ne.mt=V.mt),V.ct&&(ne.ct=V.ct)),ne}function Vn(C,ee){O(C);var W=gr.find(C,ee);if(W){for(var V=0;V<C.FileIndex.length;++V)if(C.FileIndex[V]==W)return C.FileIndex.splice(V,1),C.FullPaths.splice(V,1),!0}return!1}function Er(C,ee,W){O(C);var V=gr.find(C,ee);if(V){for(var K=0;K<C.FileIndex.length;++K)if(C.FileIndex[K]==V)return C.FileIndex[K].name=i(W),C.FullPaths[K]=W,!0}return!1}function Wr(C){T(C,!0)}return r.find=A,r.read=fe,r.parse=h,r.write=Ge,r.writeFile=ve,r.utils={cfb_new:Ci,cfb_add:vn,cfb_del:Vn,cfb_mov:Er,cfb_gc:Wr,ReadShift:U0,CheckField:p5,prep_blob:Wn,bconcat:Yr,use_zlib:L,_deflateRaw:Ct,_inflateRaw:Nt,consts:xe},r}(),ow;function X2(e){return typeof e=="string"?$l(e):Array.isArray(e)?I4(e):e}function lf(e,r,t){if(typeof Deno<"u"){if(t&&typeof r=="string")switch(t){case"utf8":r=new TextEncoder(t).encode(r);break;case"binary":r=$l(r);break;default:throw new Error("Unsupported encoding "+t)}return Deno.writeFileSync(e,r)}var n=t=="utf8"?Z0(r):r;if(typeof IE_SaveFile<"u")return IE_SaveFile(n,e);if(typeof Blob<"u"){var i=new Blob([X2(n)],{type:"application/octet-stream"});if(typeof navigator<"u"&&navigator.msSaveBlob)return navigator.msSaveBlob(i,e);if(typeof saveAs<"u")return saveAs(i,e);if(typeof URL<"u"&&typeof document<"u"&&document.createElement&&URL.createObjectURL){var a=URL.createObjectURL(i);if(typeof chrome=="object"&&typeof(chrome.downloads||{}).download=="function")return URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(a)},6e4),chrome.downloads.download({url:a,filename:e,saveAs:!0});var s=document.createElement("a");if(s.download!=null)return s.download=e,s.href=a,document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL&&typeof setTimeout<"u"&&setTimeout(function(){URL.revokeObjectURL(a)},6e4),a}else if(typeof URL<"u"&&!URL.createObjectURL&&typeof chrome=="object"){var o="data:application/octet-stream;base64,"+P4(new Uint8Array(X2(n)));return chrome.downloads.download({url:o,filename:e,saveAs:!0})}}if(typeof $<"u"&&typeof File<"u"&&typeof Folder<"u")try{var f=File(e);return f.open("w"),f.encoding="binary",Array.isArray(r)&&(r=Vs(r)),f.write(r),f.close(),r}catch(l){if(!l.message||l.message.indexOf("onstruct")==-1)throw l}throw new Error("cannot save file "+e)}function Kr(e){for(var r=Object.keys(e),t=[],n=0;n<r.length;++n)Object.prototype.hasOwnProperty.call(e,r[n])&&t.push(r[n]);return t}function Y2(e,r){for(var t=[],n=Kr(e),i=0;i!==n.length;++i)t[e[n[i]][r]]==null&&(t[e[n[i]][r]]=n[i]);return t}function du(e){for(var r=[],t=Kr(e),n=0;n!==t.length;++n)r[e[t[n]]]=t[n];return r}function Kl(e){for(var r=[],t=Kr(e),n=0;n!==t.length;++n)r[e[t[n]]]=parseInt(t[n],10);return r}function fw(e){for(var r=[],t=Kr(e),n=0;n!==t.length;++n)r[e[t[n]]]==null&&(r[e[t[n]]]=[]),r[e[t[n]]].push(t[n]);return r}var Jp=Date.UTC(1899,11,30,0,0,0),lw=Date.UTC(1899,11,31,0,0,0),cw=Date.UTC(1904,0,1,0,0,0);function xn(e,r){var t=e.getTime(),n=(t-Jp)/(24*60*60*1e3);return r?(n-=1462,n<-1402?n-1:n):n<60?n-1:n}function jo(e){if(e>=60&&e<61)return e;var r=new Date;return r.setTime((e>60?e:e+1)*24*60*60*1e3+Jp),r}var hw=/^(\d+):(\d+)(:\d+)?(\.\d+)?$/,uw=/^(\d+)-(\d+)-(\d+)$/,Qp=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)?(\.\d+)?$/;function Jn(e,r){if(e instanceof Date)return e;var t=e.match(hw);if(t)return new Date((r?cw:lw)+((parseInt(t[1],10)*60+parseInt(t[2],10))*60+(t[3]?parseInt(t[3].slice(1),10):0))*1e3+(t[4]?parseInt((t[4]+"000").slice(1,4),10):0));if(t=e.match(uw),t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],0,0,0,0));if(t=e.match(Qp),t)return new Date(Date.UTC(+t[1],+t[2]-1,+t[3],+t[4],+t[5],t[6]&&parseInt(t[6].slice(1),10)||0,t[7]&&parseInt((t[7]+"0000").slice(1,4),10)||0));var n=new Date(e);return n}function pu(e,r){if(nr&&Buffer.isBuffer(e))return e.toString("binary");if(typeof TextDecoder<"u")try{var t={"€":"€","‚":"‚",ƒ:"ƒ","„":"„","…":"…","†":"†","‡":"‡","ˆ":"ˆ","‰":"‰",Š:"Š","‹":"‹",Œ:"Œ",Ž:"Ž","‘":"‘","’":"’","“":"“","”":"”","•":"•","–":"–","—":"—","˜":"˜","™":"™",š:"š","›":"›",œ:"œ",ž:"ž",Ÿ:"Ÿ"};return Array.isArray(e)&&(e=new Uint8Array(e)),new TextDecoder("latin1").decode(e).replace(/[€‚ƒ„…†‡ˆ‰Š‹ŒŽ‘’“”•–—˜™š›œžŸ]/g,function(a){return t[a]||a})}catch{}var n=[],i=0;try{for(i=0;i<e.length-65536;i+=65536)n.push(String.fromCharCode.apply(0,e.slice(i,i+65536)));n.push(String.fromCharCode.apply(0,e.slice(i)))}catch{try{for(;i<e.length-16384;i+=16384)n.push(String.fromCharCode.apply(0,e.slice(i,i+16384)));n.push(String.fromCharCode.apply(0,e.slice(i)))}catch{for(;i!=e.length;++i)n.push(String.fromCharCode(e[i]))}}return n.join("")}function On(e){if(typeof JSON<"u"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!="object"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)Object.prototype.hasOwnProperty.call(e,t)&&(r[t]=On(e[t]));return r}function Nr(e,r){for(var t="";t.length<r;)t+=e;return t}function Da(e){var r=Number(e);if(!isNaN(r))return isFinite(r)?r:NaN;if(!/\d/.test(e))return r;var t=1,n=e.replace(/([\d]),([\d])/g,"$1$2").replace(/[$]/g,"").replace(/[%]/g,function(){return t*=100,""});return!isNaN(r=Number(n))||(n=n.replace(/[(]([^()]*)[)]/,function(i,a){return t=-t,a}),!isNaN(r=Number(n)))?r/t:r}var dw=/^(0?\d|1[0-2])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))\s+([ap])m?$/,pw=/^([01]?\d|2[0-3])(?:|:([0-5]?\d)(?:|(\.\d+)(?:|:([0-5]?\d))|:([0-5]?\d)(|\.\d+)))$/,mw=/^(\d+)-(\d+)-(\d+)[T ](\d+):(\d+)(:\d+)(\.\d+)?[Z]?$/,gw=new Date("6/9/69 00:00 UTC").valueOf()==-177984e5;function xw(e){return e[2]?e[3]?e[4]?new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[4],parseFloat(e[3])*1e3)):new Date(Date.UTC(1899,11,31,e[7]=="p"?12:0,+e[1],+e[2],parseFloat(e[3])*1e3)):e[5]?new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0)):new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),+e[2],0,0)):new Date(Date.UTC(1899,11,31,+e[1]%12+(e[7]=="p"?12:0),0,0,0))}function vw(e){return e[2]?e[3]?e[4]?new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[4],parseFloat(e[3])*1e3)):new Date(Date.UTC(1899,11,31,0,+e[1],+e[2],parseFloat(e[3])*1e3)):e[5]?new Date(Date.UTC(1899,11,31,+e[1],+e[2],+e[5],e[6]?parseFloat(e[6])*1e3:0)):new Date(Date.UTC(1899,11,31,+e[1],+e[2],0,0)):new Date(Date.UTC(1899,11,31,+e[1],0,0,0))}var _w=["january","february","march","april","may","june","july","august","september","october","november","december"];function Cl(e){if(mw.test(e))return e.indexOf("Z")==-1?Zl(new Date(e)):new Date(e);var r=e.toLowerCase(),t=r.replace(/\s+/g," ").trim(),n=t.match(dw);if(n)return xw(n);if(n=t.match(pw),n)return vw(n);if(n=t.match(Qp),n)return new Date(Date.UTC(+n[1],+n[2]-1,+n[3],+n[4],+n[5],n[6]&&parseInt(n[6].slice(1),10)||0,n[7]&&parseInt((n[7]+"0000").slice(1,4),10)||0));var i=new Date(gw&&e.indexOf("UTC")==-1?e+" UTC":e),a=new Date(NaN),s=i.getYear();i.getMonth();var o=i.getDate();if(isNaN(o))return a;if(r.match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/)){if(r=r.replace(/[^a-z]/g,"").replace(/([^a-z]|^)[ap]m?([^a-z]|$)/,""),r.length>3&&_w.indexOf(r)==-1)return a}else if(r.replace(/[ap]m?/,"").match(/[a-z]/))return a;return s<0||s>8099||e.match(/[^-0-9:,\/\\\ ]/)?a:i}function Yo(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds())}function Zl(e){return new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()))}function jt(e,r,t){if(e.FullPaths){if(Array.isArray(t)&&typeof t[0]=="string"&&(t=t.join("")),typeof t=="string"){var n;return nr?n=pa(t):n=O4(t),gr.utils.cfb_add(e,r,n)}gr.utils.cfb_add(e,r,t)}else e.file(r,t)}function mu(){return gr.utils.cfb_new()}var Jr=`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>\r
186`,ww={"&quot;":'"',"&apos;":"'","&gt;":">","&lt;":"<","&amp;":"&"},gu=du(ww),xu=/[&<>'"]/g,yw=/[\u0000-\u0008\u000b-\u001f\uFFFE-\uFFFF]/g;function zt(e){var r=e+"";return r.replace(xu,function(t){return gu[t]}).replace(yw,function(t){return"_x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+"_"})}function K2(e){return zt(e).replace(/ /g,"_x0020_")}var e5=/[\u0000-\u001f]/g;function ph(e){var r=e+"";return r.replace(xu,function(t){return gu[t]}).replace(/\n/g,"<br/>").replace(e5,function(t){return"&#x"+("000"+t.charCodeAt(0).toString(16)).slice(-4)+";"})}function bw(e){var r=e+"";return r.replace(xu,function(t){return gu[t]}).replace(e5,function(t){return"&#x"+t.charCodeAt(0).toString(16).toUpperCase()+";"})}function Aw(e){return e.replace(/(\r\n|[\r\n])/g,"&#10;")}function Sw(e){switch(e){case 1:case!0:case"1":case"true":return!0;case 0:case!1:case"0":case"false":return!1}return!1}function mh(e){for(var r="",t=0,n=0,i=0,a=0,s=0,o=0;t<e.length;){if(n=e.charCodeAt(t++),n<128){r+=String.fromCharCode(n);continue}if(i=e.charCodeAt(t++),n>191&&n<224){s=(n&31)<<6,s|=i&63,r+=String.fromCharCode(s);continue}if(a=e.charCodeAt(t++),n<240){r+=String.fromCharCode((n&15)<<12|(i&63)<<6|a&63);continue}s=e.charCodeAt(t++),o=((n&7)<<18|(i&63)<<12|(a&63)<<6|s&63)-65536,r+=String.fromCharCode(55296+(o>>>10&1023)),r+=String.fromCharCode(56320+(o&1023))}return r}function Z2(e){var r=Gs(2*e.length),t,n,i=1,a=0,s=0,o;for(n=0;n<e.length;n+=i)i=1,(o=e.charCodeAt(n))<128?t=o:o<224?(t=(o&31)*64+(e.charCodeAt(n+1)&63),i=2):o<240?(t=(o&15)*4096+(e.charCodeAt(n+1)&63)*64+(e.charCodeAt(n+2)&63),i=3):(i=4,t=(o&7)*262144+(e.charCodeAt(n+1)&63)*4096+(e.charCodeAt(n+2)&63)*64+(e.charCodeAt(n+3)&63),t-=65536,s=55296+(t>>>10&1023),t=56320+(t&1023)),s!==0&&(r[a++]=s&255,r[a++]=s>>>8,s=0),r[a++]=t%256,r[a++]=t>>>8;return r.slice(0,a).toString("ucs2")}function J2(e){return pa(e,"binary").toString("utf8")}var rl="foo bar baz☃🍣",zo=nr&&(J2(rl)==mh(rl)&&J2||Z2(rl)==mh(rl)&&Z2)||mh,Z0=nr?function(e){return pa(e,"utf8").toString("binary")}:function(e){for(var r=[],t=0,n=0,i=0;t<e.length;)switch(n=e.charCodeAt(t++),!0){case n<128:r.push(String.fromCharCode(n));break;case n<2048:r.push(String.fromCharCode(192+(n>>6))),r.push(String.fromCharCode(128+(n&63)));break;case(n>=55296&&n<57344):n-=55296,i=e.charCodeAt(t++)-56320+(n<<10),r.push(String.fromCharCode(240+(i>>18&7))),r.push(String.fromCharCode(144+(i>>12&63))),r.push(String.fromCharCode(128+(i>>6&63))),r.push(String.fromCharCode(128+(i&63)));break;default:r.push(String.fromCharCode(224+(n>>12))),r.push(String.fromCharCode(128+(n>>6&63))),r.push(String.fromCharCode(128+(n&63)))}return r.join("")},Ew=function(){var e=[["nbsp"," "],["middot","·"],["quot",'"'],["apos","'"],["gt",">"],["lt","<"],["amp","&"]].map(function(r){return[new RegExp("&"+r[0]+";","ig"),r[1]]});return function(t){for(var n=t.replace(/^[\t\n\r ]+/,"").replace(/(^|[^\t\n\r ])[\t\n\r ]+$/,"$1").replace(/>\s+/g,">").replace(/\b\s+</g,"<").replace(/[\t\n\r ]+/g," ").replace(/<\s*[bB][rR]\s*\/?>/g,`
187`).replace(/<[^<>]*>/g,""),i=0;i<e.length;++i)n=n.replace(e[i][0],e[i][1]);return n}}(),t5=/(^\s|\s$|\n)/;function mn(e,r){return"<"+e+(r.match(t5)?' xml:space="preserve"':"")+">"+r+"</"+e+">"}function J0(e){return Kr(e).map(function(r){return" "+r+'="'+e[r]+'"'}).join("")}function Je(e,r,t){return"<"+e+(t!=null?J0(t):"")+(r!=null?(r.match(t5)?' xml:space="preserve"':"")+">"+r+"</"+e:"/")+">"}function Vh(e,r){try{return e.toISOString().replace(/\.\d*/,"")}catch(t){if(r)throw t}return""}function Tw(e,r){switch(typeof e){case"string":var t=Je("vt:lpwstr",zt(e));return t=t.replace(/&quot;/g,"_x0022_"),t;case"number":return Je((e|0)==e?"vt:i4":"vt:r8",zt(String(e)));case"boolean":return Je("vt:bool",e?"true":"false")}if(e instanceof Date)return Je("vt:filetime",Vh(e));throw new Error("Unable to serialize "+e)}var fn={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"},e0=["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"],ui={o:"urn:schemas-microsoft-com:office:office",x:"urn:schemas-microsoft-com:office:excel",ss:"urn:schemas-microsoft-com:office:spreadsheet",dt:"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882",mv:"http://macVmlSchemaUri",v:"urn:schemas-microsoft-com:vml",html:"http://www.w3.org/TR/REC-html40"};function Nw(e,r){for(var t=1-2*(e[r+7]>>>7),n=((e[r+7]&127)<<4)+(e[r+6]>>>4&15),i=e[r+6]&15,a=5;a>=0;--a)i=i*256+e[r+a];return n==2047?i==0?t*(1/0):NaN:(n==0?n=-1022:(n-=1023,i+=Math.pow(2,52)),t*Math.pow(2,n-52)*i)}function Fw(e,r,t){var n=(r<0||1/r==-1/0?1:0)<<7,i=0,a=0,s=n?-r:r;isFinite(s)?s==0?i=a=0:(i=Math.floor(Math.log(s)/Math.LN2),a=s*Math.pow(2,52-i),i<=-1023&&(!isFinite(a)||a<Math.pow(2,52))?i=-1022:(a-=Math.pow(2,52),i+=1023)):(i=2047,a=isNaN(r)?26985:0);for(var o=0;o<=5;++o,a/=256)e[t+o]=a&255;e[t+6]=(i&15)<<4|a&15,e[t+7]=i>>4|n}var Q2=function(e){for(var r=[],t=10240,n=0;n<e[0].length;++n)if(e[0][n])for(var i=0,a=e[0][n].length;i<a;i+=t)r.push.apply(r,e[0][n].slice(i,i+t));return r},ed=nr?function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0].map(function(r){return Buffer.isBuffer(r)?r:pa(r)})):Q2(e)}:Q2,td=function(e,r,t){for(var n=[],i=r;i<t;i+=2)n.push(String.fromCharCode(P0(e,i)));return n.join("").replace(M0,"")},vu=nr?function(e,r,t){return!Buffer.isBuffer(e)||!Tl?td(e,r,t):e.toString("utf16le",r,t).replace(M0,"")}:td,rd=function(e,r,t){for(var n=[],i=r;i<r+t;++i)n.push(("0"+e[i].toString(16)).slice(-2));return n.join("")},r5=nr?function(e,r,t){return Buffer.isBuffer(e)?e.toString("hex",r,r+t):rd(e,r,t)}:rd,nd=function(e,r,t){for(var n=[],i=r;i<t;i++)n.push(String.fromCharCode(Co(e,i)));return n.join("")},cf=nr?function(r,t,n){return Buffer.isBuffer(r)?r.toString("utf8",t,n):nd(r,t,n)}:nd,n5=function(e,r){var t=di(e,r);return t>0?cf(e,r+4,r+4+t-1):""},i5=n5,a5=function(e,r){var t=di(e,r);return t>0?cf(e,r+4,r+4+t-1):""},s5=a5,o5=function(e,r){var t=2*di(e,r);return t>0?cf(e,r+4,r+4+t-1):""},f5=o5,l5=function(r,t){var n=di(r,t);return n>0?vu(r,t+4,t+4+n):""},c5=l5,h5=function(e,r){var t=di(e,r);return t>0?cf(e,r+4,r+4+t):""},u5=h5,d5=function(e,r){return Nw(e,r)},Pl=d5,_u=function(r){return Array.isArray(r)||typeof Uint8Array<"u"&&r instanceof Uint8Array};nr&&(i5=function(r,t){if(!Buffer.isBuffer(r))return n5(r,t);var n=r.readUInt32LE(t);return n>0?r.toString("utf8",t+4,t+4+n-1):""},s5=function(r,t){if(!Buffer.isBuffer(r))return a5(r,t);var n=r.readUInt32LE(t);return n>0?r.toString("utf8",t+4,t+4+n-1):""},f5=function(r,t){if(!Buffer.isBuffer(r)||!Tl)return o5(r,t);var n=2*r.readUInt32LE(t);return r.toString("utf16le",t+4,t+4+n-1)},c5=function(r,t){if(!Buffer.isBuffer(r)||!Tl)return l5(r,t);var n=r.readUInt32LE(t);return r.toString("utf16le",t+4,t+4+n)},u5=function(r,t){if(!Buffer.isBuffer(r))return h5(r,t);var n=r.readUInt32LE(t);return r.toString("utf8",t+4,t+4+n)},Pl=function(r,t){return Buffer.isBuffer(r)?r.readDoubleLE(t):d5(r,t)},_u=function(r){return Buffer.isBuffer(r)||Array.isArray(r)||typeof Uint8Array<"u"&&r instanceof Uint8Array});var Co=function(e,r){return e[r]},P0=function(e,r){return e[r+1]*256+e[r]},Lw=function(e,r){var t=e[r+1]*256+e[r];return t<32768?t:(65535-t+1)*-1},di=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]},Os=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]},kw=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function U0(e,r){var t="",n,i,a=[],s,o,f,l;switch(r){case"dbcs":if(l=this.l,nr&&Buffer.isBuffer(this)&&Tl)t=this.slice(this.l,this.l+2*e).toString("utf16le");else for(f=0;f<e;++f)t+=String.fromCharCode(P0(this,l)),l+=2;e*=2;break;case"utf8":t=cf(this,this.l,this.l+e);break;case"utf16le":e*=2,t=vu(this,this.l,this.l+e);break;case"wstr":return U0.call(this,e,"dbcs");case"lpstr-ansi":t=i5(this,this.l),e=4+di(this,this.l);break;case"lpstr-cp":t=s5(this,this.l),e=4+di(this,this.l);break;case"lpwstr":t=f5(this,this.l),e=4+2*di(this,this.l);break;case"lpp4":e=4+di(this,this.l),t=c5(this,this.l),e&2&&(e+=2);break;case"8lpp4":e=4+di(this,this.l),t=u5(this,this.l),e&3&&(e+=4-(e&3));break;case"cstr":for(e=0,t="";(s=Co(this,this.l+e++))!==0;)a.push(el(s));t=a.join("");break;case"_wstr":for(e=0,t="";(s=P0(this,this.l+e))!==0;)a.push(el(s)),e+=2;e+=2,t=a.join("");break;case"dbcs-cont":for(t="",l=this.l,f=0;f<e;++f){if(this.lens&&this.lens.indexOf(l)!==-1)return s=Co(this,l),this.l=l+1,o=U0.call(this,e-f,s?"dbcs-cont":"sbcs-cont"),a.join("")+o;a.push(el(P0(this,l))),l+=2}t=a.join(""),e*=2;break;case"cpstr":case"sbcs-cont":for(t="",l=this.l,f=0;f!=e;++f){if(this.lens&&this.lens.indexOf(l)!==-1)return s=Co(this,l),this.l=l+1,o=U0.call(this,e-f,s?"dbcs-cont":"sbcs-cont"),a.join("")+o;a.push(el(Co(this,l))),l+=1}t=a.join("");break;default:switch(e){case 1:return n=Co(this,this.l),this.l++,n;case 2:return n=(r==="i"?Lw:P0)(this,this.l),this.l+=2,n;case 4:case-4:return r==="i"||!(this[this.l+3]&128)?(n=(e>0?Os:kw)(this,this.l),this.l+=4,n):(i=di(this,this.l),this.l+=4,i);case 8:case-8:if(r==="f")return e==8?i=Pl(this,this.l):i=Pl([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,i;e=8;case 16:t=r5(this,this.l,e);break}}return this.l+=e,t}var Cw=function(e,r,t){e[t]=r&255,e[t+1]=r>>>8&255,e[t+2]=r>>>16&255,e[t+3]=r>>>24&255},Pw=function(e,r,t){e[t]=r&255,e[t+1]=r>>8&255,e[t+2]=r>>16&255,e[t+3]=r>>24&255},Iw=function(e,r,t){e[t]=r&255,e[t+1]=r>>>8&255};function Ow(e,r,t){var n=0,i=0;if(t==="dbcs"){for(i=0;i!=r.length;++i)Iw(this,r.charCodeAt(i),this.l+2*i);n=2*r.length}else if(t==="sbcs"||t=="cpstr"){for(r=r.replace(/[^\x00-\x7F]/g,"_"),i=0;i!=r.length;++i)this[this.l+i]=r.charCodeAt(i)&255;n=r.length}else if(t==="hex"){for(;i<e;++i)this[this.l++]=parseInt(r.slice(2*i,2*i+2),16)||0;return this}else if(t==="utf16le"){var a=Math.min(this.l+e,this.length);for(i=0;i<Math.min(r.length,e);++i){var s=r.charCodeAt(i);this[this.l++]=s&255,this[this.l++]=s>>8}for(;this.l<a;)this[this.l++]=0;return this}else switch(e){case 1:n=1,this[this.l]=r&255;break;case 2:n=2,this[this.l]=r&255,r>>>=8,this[this.l+1]=r&255;break;case 3:n=3,this[this.l]=r&255,r>>>=8,this[this.l+1]=r&255,r>>>=8,this[this.l+2]=r&255;break;case 4:n=4,Cw(this,r,this.l);break;case 8:if(n=8,t==="f"){Fw(this,r,this.l);break}case 16:break;case-4:n=4,Pw(this,r,this.l);break}return this.l+=n,this}function p5(e,r){var t=r5(this,this.l,e.length>>1);if(t!==e)throw new Error(r+"Expected "+e+" saw "+t);this.l+=e.length>>1}function Wn(e,r){e.l=r,e.read_shift=U0,e.chk=p5,e.write_shift=Ow}function ua(e,r){e.l+=r}function Ee(e){var r=Gs(e);return Wn(r,0),r}function Pn(){var e=[],r=nr?16384:2048;nr&&Ee(r).copy;var t=function(h){var g=Ee(h);return Wn(g,0),g},n=t(r),i=function(){n&&(n.l&&(n.length>n.l&&(n=n.slice(0,n.l),n.l=n.length),n.length>0&&e.push(n)),n=null)},a=function(h){return n&&h<n.length-n.l?n:(i(),n=t(Math.max(h+1,r)))},s=function(){return i(),Yr(e)},o=function(){return i(),e},f=function(h){i(),n=h,n.l==null&&(n.l=n.length),a(r)};return{next:a,push:f,end:s,_bufs:e,end2:o}}function ze(e,r,t,n){var i=+r,a;if(!isNaN(i)){n||(n=zA[i].p||(t||[]).length||0),a=1+(i>=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,(i&127)+128),s.write_shift(1,i>>7));for(var o=0;o!=4;++o)if(n>=128)s.write_shift(1,(n&127)+128),n>>=7;else{s.write_shift(1,n);break}n>0&&_u(t)&&e.push(t)}}function j0(e,r,t){var n=On(e);if(r.s?(n.cRel&&(n.c+=r.s.c),n.rRel&&(n.r+=r.s.r)):(n.cRel&&(n.c+=r.c),n.rRel&&(n.r+=r.r)),!t||t.biff<12){for(;n.c>=256;)n.c-=256;for(;n.r>=65536;)n.r-=65536}return n}function id(e,r,t){var n=On(e);return n.s=j0(n.s,r.s,t),n.e=j0(n.e,r.s,t),n}function z0(e,r){if(e.cRel&&e.c<0)for(e=On(e);e.c<0;)e.c+=r>8?16384:256;if(e.rRel&&e.r<0)for(e=On(e);e.r<0;)e.r+=r>8?1048576:r>5?65536:16384;var t=Cr(e);return!e.cRel&&e.cRel!=null&&(t=Bw(t)),!e.rRel&&e.rRel!=null&&(t=Dw(t)),t}function gh(e,r){return e.s.r==0&&!e.s.rRel&&e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel?(e.s.cRel?"":"$")+cr(e.s.c)+":"+(e.e.cRel?"":"$")+cr(e.e.c):e.s.c==0&&!e.s.cRel&&e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel?(e.s.rRel?"":"$")+ur(e.s.r)+":"+(e.e.rRel?"":"$")+ur(e.e.r):z0(e.s,r.biff)+":"+z0(e.e,r.biff)}function wu(e){return parseInt(Rw(e),10)-1}function ur(e){return""+(e+1)}function Dw(e){return e.replace(/([A-Z]|^)(\d+)$/,"$1$$$2")}function Rw(e){return e.replace(/\$(\d+)$/,"$1")}function yu(e){for(var r=Mw(e),t=0,n=0;n!==r.length;++n)t=26*t+r.charCodeAt(n)-64;return t-1}function cr(e){if(e<0)throw new Error("invalid column "+e);var r="";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function Bw(e){return e.replace(/^([A-Z])/,"$$$1")}function Mw(e){return e.replace(/^\$([A-Z])/,"$1")}function Uw(e){return e.replace(/(\$?[A-Z]*)(\$?\d*)/,"$1,$2").split(",")}function Fr(e){for(var r=0,t=0,n=0;n<e.length;++n){var i=e.charCodeAt(n);i>=48&&i<=57?r=10*r+(i-48):i>=65&&i<=90&&(t=26*t+(i-64))}return{c:t-1,r:r-1}}function Cr(e){for(var r=e.c+1,t="";r;r=(r-1)/26|0)t=String.fromCharCode((r-1)%26+65)+t;return t+(e.r+1)}function gn(e){var r=e.indexOf(":");return r==-1?{s:Fr(e),e:Fr(e)}:{s:Fr(e.slice(0,r)),e:Fr(e.slice(r+1))}}function Zr(e,r){return typeof r>"u"||typeof r=="number"?Zr(e.s,e.e):(typeof e!="string"&&(e=Cr(e)),typeof r!="string"&&(r=Cr(r)),e==r?e:e+":"+r)}function Q0(e){var r=gn(e);return"$"+cr(r.s.c)+"$"+ur(r.s.r)+":$"+cr(r.e.c)+"$"+ur(r.e.r)}function ef(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error("empty sheet name");return/[^\w\u4E00-\u9FFF\u3040-\u30FF]/.test(e)?"'"+e.replace(/'/g,"''")+"'":e}function Sr(e){var r={s:{c:0,r:0},e:{c:0,r:0}},t=0,n=0,i=0,a=e.length;for(t=0;n<a&&!((i=e.charCodeAt(n)-64)<1||i>26);++n)t=26*t+i;for(r.s.c=--t,t=0;n<a&&!((i=e.charCodeAt(n)-48)<0||i>9);++n)t=10*t+i;if(r.s.r=--t,n===a||i!=10)return r.e.c=r.s.c,r.e.r=r.s.r,r;for(++n,t=0;n!=a&&!((i=e.charCodeAt(n)-64)<1||i>26);++n)t=26*t+i;for(r.e.c=--t,t=0;n!=a&&!((i=e.charCodeAt(n)-48)<0||i>9);++n)t=10*t+i;return r.e.r=--t,r}function ad(e,r){var t=e.t=="d"&&r instanceof Date;if(e.z!=null)try{return e.w=Ba(e.z,t?xn(r):r)}catch{}try{return e.w=Ba((e.XF||{}).numFmtId||(t?14:0),t?xn(r):r)}catch{return""+r}}function Ma(e,r,t){return e==null||e.t==null||e.t=="z"?"":e.w!==void 0?e.w:(e.t=="d"&&!e.z&&t&&t.dateNF&&(e.z=t.dateNF),e.t=="e"?Gn[e.v]||e.v:r==null?ad(e,e.v):ad(e,r))}function t0(e,r){var t=r&&r.sheet?r.sheet:"Sheet1",n={};return n[t]=e,{SheetNames:[t],Sheets:n}}function jw(e){var r={},t=e||{};return t.dense&&(r["!data"]=[]),r}function m5(e,r,t){var n=t||{},i=e?e["!data"]!=null:n.dense,a=e||(i?{"!data":[]}:{});i&&!a["!data"]&&(a["!data"]=[]);var s=0,o=0;if(a&&n.origin!=null)if(typeof n.origin=="number")s=n.origin;else{var f=typeof n.origin=="string"?Fr(n.origin):n.origin;s=f.r,o=f.c}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(a["!ref"]){var h=Sr(a["!ref"]);l.s.c=h.s.c,l.s.r=h.s.r,l.e.c=Math.max(l.e.c,h.e.c),l.e.r=Math.max(l.e.r,h.e.r),s==-1&&(l.e.r=s=a["!ref"]?h.e.r+1:0)}else l.s.c=l.e.c=l.s.r=l.e.r=0;for(var g=[],p=!1,u=0;u!=r.length;++u)if(r[u]){if(!Array.isArray(r[u]))throw new Error("aoa_to_sheet expects an array of arrays");var _=s+u;i&&(a["!data"][_]||(a["!data"][_]=[]),g=a["!data"][_]);for(var w=r[u],y=0;y!=w.length;++y)if(!(typeof w[y]>"u")){var v={v:w[y],t:""},E=o+y;if(l.s.r>_&&(l.s.r=_),l.s.c>E&&(l.s.c=E),l.e.r<_&&(l.e.r=_),l.e.c<E&&(l.e.c=E),p=!0,w[y]&&typeof w[y]=="object"&&!Array.isArray(w[y])&&!(w[y]instanceof Date))v=w[y];else if(Array.isArray(v.v)&&(v.f=w[y][1],v.v=v.v[0]),v.v===null)if(v.f)v.t="n";else if(n.nullError)v.t="e",v.v=0;else if(n.sheetStubs)v.t="z";else continue;else typeof v.v=="number"?isFinite(v.v)?v.t="n":isNaN(v.v)?(v.t="e",v.v=15):(v.t="e",v.v=7):typeof v.v=="boolean"?v.t="b":v.v instanceof Date?(v.z=n.dateNF||Ar[14],n.UTC||(v.v=Zl(v.v)),n.cellDates?(v.t="d",v.w=Ba(v.z,xn(v.v,n.date1904))):(v.t="n",v.v=xn(v.v,n.date1904),v.w=Ba(v.z,v.v))):v.t="s";if(i)g[E]&&g[E].z&&(v.z=g[E].z),g[E]=v;else{var S=cr(E)+(_+1);a[S]&&a[S].z&&(v.z=a[S].z),a[S]=v}}}return p&&l.s.c<104e5&&(a["!ref"]=Zr(l)),a}function r0(e,r){return m5(null,e,r)}function zw(e){return e.read_shift(4,"i")}function ji(e,r){return r||(r=Ee(4)),r.write_shift(4,e),r}function In(e){var r=e.read_shift(4);return r===0?"":e.read_shift(r,"dbcs")}function nn(e,r){var t=!1;return r==null&&(t=!0,r=Ee(4+2*e.length)),r.write_shift(4,e.length),e.length>0&&r.write_shift(0,e,"dbcs"),t?r.slice(0,r.l):r}function Ww(e){return{ich:e.read_shift(2),ifnt:e.read_shift(2)}}function Hw(e,r){return r||(r=Ee(4)),r.write_shift(2,0),r.write_shift(2,0),r}function bu(e,r){var t=e.l,n=e.read_shift(1),i=In(e),a=[],s={t:i,h:i};if(n&1){for(var o=e.read_shift(4),f=0;f!=o;++f)a.push(Ww(e));s.r=a}else s.r=[{ich:0,ifnt:0}];return e.l=t+r,s}function qw(e,r){var t=!1;return r==null&&(t=!0,r=Ee(15+4*e.t.length)),r.write_shift(1,0),nn(e.t,r),t?r.slice(0,r.l):r}var Gw=bu;function Vw(e,r){var t=!1;return r==null&&(t=!0,r=Ee(23+4*e.t.length)),r.write_shift(1,1),nn(e.t,r),r.write_shift(4,1),Hw({ich:0,ifnt:0},r),t?r.slice(0,r.l):r}function Fi(e){var r=e.read_shift(4),t=e.read_shift(2);return t+=e.read_shift(1)<<16,e.l++,{c:r,iStyleRef:t}}function Js(e,r){return r==null&&(r=Ee(8)),r.write_shift(-4,e.c),r.write_shift(3,e.iStyleRef||e.s),r.write_shift(1,0),r}function Qs(e){var r=e.read_shift(2);return r+=e.read_shift(1)<<16,e.l++,{c:-1,iStyleRef:r}}function eo(e,r){return r==null&&(r=Ee(4)),r.write_shift(3,e.iStyleRef||e.s),r.write_shift(1,0),r}var $w=In,g5=nn;function Jl(e){var r=e.read_shift(4);return r===0||r===4294967295?"":e.read_shift(r,"dbcs")}function tf(e,r){var t=!1;return r==null&&(t=!0,r=Ee(127)),r.write_shift(4,e.length>0?e.length:4294967295),e.length>0&&r.write_shift(0,e,"dbcs"),t?r.slice(0,r.l):r}var Xw=In,$h=Jl,Au=tf;function Su(e){var r=e.slice(e.l,e.l+4),t=r[0]&1,n=r[0]&2;e.l+=4;
vendor: 4,127 bytes, line 187
187var i=n===0?Pl([0,0,0,0,r[0]&252,r[1],r[2],r[3]],0):Os(r,0)>>2;return t?i/100:i}function x5(e,r){r==null&&(r=Ee(4));var t=0,n=0,i=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29?n=1:i==(i|0)&&i>=-(1<<29)&&i<1<<29&&(n=1,t=1),n)r.write_shift(-4,((t?i:e)<<2)+(t+2));else throw new Error("unsupported RkNumber "+e)}function v5(e){var r={s:{},e:{}};return r.s.r=e.read_shift(4),r.e.r=e.read_shift(4),r.s.c=e.read_shift(4),r.e.c=e.read_shift(4),r}function Yw(e,r){return r||(r=Ee(16)),r.write_shift(4,e.s.r),r.write_shift(4,e.e.r),r.write_shift(4,e.s.c),r.write_shift(4,e.e.c),r}var to=v5,n0=Yw;function i0(e){if(e.length-e.l<8)throw"XLS Xnum Buffer underflow";return e.read_shift(8,"f")}function Xs(e,r){return(r||Ee(8)).write_shift(8,e,"f")}function Kw(e){var r={},t=e.read_shift(1),n=t>>>1,i=e.read_shift(1),a=e.read_shift(2,"i"),s=e.read_shift(1),o=e.read_shift(1),f=e.read_shift(1);switch(e.l++,n){case 0:r.auto=1;break;case 1:r.index=i;var l=a3[i];l&&(r.rgb=xd(l));break;case 2:r.rgb=xd([s,o,f]);break;case 3:r.theme=i;break}return a!=0&&(r.tint=a>0?a/32767:a/32768),r}function Il(e,r){if(r||(r=Ee(8)),!e||e.auto)return r.write_shift(4,0),r.write_shift(4,0),r;e.index!=null?(r.write_shift(1,2),r.write_shift(1,e.index)):e.theme!=null?(r.write_shift(1,6),r.write_shift(1,e.theme)):(r.write_shift(1,5),r.write_shift(1,0));var t=e.tint||0;if(t>0?t*=32767:t<0&&(t*=32768),r.write_shift(2,t),!e.rgb||e.theme!=null)r.write_shift(2,0),r.write_shift(1,0),r.write_shift(1,0);else{var n=e.rgb||"FFFFFF";typeof n=="number"&&(n=("000000"+n.toString(16)).slice(-6)),r.write_shift(1,parseInt(n.slice(0,2),16)),r.write_shift(1,parseInt(n.slice(2,4),16)),r.write_shift(1,parseInt(n.slice(4,6),16)),r.write_shift(1,255)}return r}function Zw(e){var r=e.read_shift(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function Jw(e,r){r||(r=Ee(2));var t=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);return r.write_shift(1,t),r.write_shift(1,0),r}var _5=2,ci=3,nl=11,Ol=19,il=64,Qw=65,e3=71,t3=4108,r3=4126,pn=80,sd={1:{n:"CodePage",t:_5},2:{n:"Category",t:pn},3:{n:"PresentationFormat",t:pn},4:{n:"ByteCount",t:ci},5:{n:"LineCount",t:ci},6:{n:"ParagraphCount",t:ci},7:{n:"SlideCount",t:ci},8:{n:"NoteCount",t:ci},9:{n:"HiddenCount",t:ci},10:{n:"MultimediaClipCount",t:ci},11:{n:"ScaleCrop",t:nl},12:{n:"HeadingPairs",t:t3},13:{n:"TitlesOfParts",t:r3},14:{n:"Manager",t:pn},15:{n:"Company",t:pn},16:{n:"LinksUpToDate",t:nl},17:{n:"CharacterCount",t:ci},19:{n:"SharedDoc",t:nl},22:{n:"HyperlinksChanged",t:nl},23:{n:"AppVersion",t:ci,p:"version"},24:{n:"DigSig",t:Qw},26:{n:"ContentType",t:pn},27:{n:"ContentStatus",t:pn},28:{n:"Language",t:pn},29:{n:"Version",t:pn},255:{},2147483648:{n:"Locale",t:Ol},2147483651:{n:"Behavior",t:Ol},1919054434:{}},od={1:{n:"CodePage",t:_5},2:{n:"Title",t:pn},3:{n:"Subject",t:pn},4:{n:"Author",t:pn},5:{n:"Keywords",t:pn},6:{n:"Comments",t:pn},7:{n:"Template",t:pn},8:{n:"LastAuthor",t:pn},9:{n:"RevNumber",t:pn},10:{n:"EditTime",t:il},11:{n:"LastPrinted",t:il},12:{n:"CreatedDate",t:il},13:{n:"ModifiedDate",t:il},14:{n:"PageCount",t:ci},15:{n:"WordCount",t:ci},16:{n:"CharCount",t:ci},17:{n:"Thumbnail",t:e3},18:{n:"Application",t:pn},19:{n:"DocSecurity",t:ci},255:{},2147483648:{n:"Locale",t:Ol},2147483651:{n:"Behavior",t:Ol},1919054434:{}};function n3(e){return e.map(function(r){return[r>>16&255,r>>8&255,r&255]})}var i3=n3([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,0,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),a3=On(i3),Gn={0:"#NULL!",7:"#DIV/0!",15:"#VALUE!",23:"#REF!",29:"#NAME?",36:"#NUM!",42:"#N/A",43:"#GETTING_DATA",255:"#WTF?"}
187,la={"#NULL!":0,"#DIV/0!":7,"#VALUE!":15,"#REF!":23,"#NAME?":29,"#NUM!":36,"#N/A":42,"#GETTING_DATA":43,"#WTF?":255},s3=["_xlnm.Consolidate_Area","_xlnm.Auto_Open","_xlnm.Auto_Close","_xlnm.Extract","_xlnm.Database","_xlnm.Criteria","_xlnm.Print_Area","_xlnm.Print_Titles","_xlnm.Recorder","_xlnm.Data_Form","_xlnm.Auto_Activate","_xlnm.Auto_Deactivate","_xlnm.Sheet_Title","_xlnm._FilterDatabase"],o3={"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"},al={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"}
187,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 w5(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],threadedcomments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],metadata:[],people:[],TODO:[],xmlns:""}}function y5(e,r,t){var n=fw(o3),i=[],a;i[i.length]=Jr,i[i.length]=Je("Types",null,{xmlns:fn.CT,"xmlns:xsd":fn.xsd,"xmlns:xsi":fn.xsi}),i=i.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"],["t
187if","image/tiff"],["tiff","image/tiff"],["pdf","application/pdf"],["rels","application/vnd.openxmlformats-package.relationships+xml"]].map(function(l){return Je("Default",null,{Extension:l[0],ContentType:l[1]})}));var s=function(l){e[l]&&e[l].length>0&&(a=e[l][0],i[i.length]=Je("Override",null,{PartName:(a[0]=="/"?"":"/")+a,ContentType:al[l][r.bookType]||al[l].xlsx}))},o=function(l){(e[l]||[]).forEach(function(h){i[i.length]=Je("Override",null,{PartName:(h[0]=="/"?"":"/")+h,ContentType:al[l][r.bookType]||al[l].xlsx})})},f=function(l){(e[l]||[]).forEach(function(h){i[i.length]=Je("Override",null,{PartName:(h[0]=="/"?"":"/")+h,ContentType:n[l][0]})})};return s("workbooks"),o("sheets"),o("charts"),f("themes"),["strs","styles"].forEach(s),["coreprops","extprops","custprops"].forEach(f),f("vba"),f("comments"),f("threadedcomments"),f("drawings"),o("metadata"),f("people"),i.length>2&&(i[i.length]="</Types>",i[1]=i[1].replace("/>",">")),i.join("")}var Kt
vendor: 2,568 bytes, line 187
187={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",CONN:"http://schemas.openxmlformats.org/officeDocument/2006/relationships/connections",VBA:"http://schemas.microsoft.com/office/2006/relationships/vbaProject"};function 
vendor: 8,982 bytes, lines 187-197
187b5(e){var r=e.lastIndexOf("/");return e.slice(0,r+1)+"_rels/"+e.slice(r+1)+".rels"}function Wo(e){var r=[Jr,Je("Relationships",null,{xmlns:fn.RELS})];return Kr(e["!id"]).forEach(function(t){r[r.length]=Je("Relationship",null,e["!id"][t])}),r.length>2&&(r[r.length]="</Relationships>",r[1]=r[1].replace("/>",">")),r.join("")}function rr(e,r,t,n,i,a){if(i||(i={}),e["!id"]||(e["!id"]={}),e["!idx"]||(e["!idx"]=1),r<0)for(r=e["!idx"];e["!id"]["rId"+r];++r);if(e["!idx"]=r+1,i.Id="rId"+r,i.Type=n,i.Target=t,[Kt.HLINK,Kt.XPATH,Kt.XMISS].indexOf(i.Type)>-1&&(i.TargetMode="External"),e["!id"][i.Id])throw new Error("Cannot rewrite rId "+r);return e["!id"][i.Id]=i,e[("/"+i.Target).replace("//","/")]=i,r}function f3(e){var r=[Jr];r.push(`<manifest:manifest xmlns:manifest="urn:oasis:names:tc:opendocument:xmlns:manifest:1.0" manifest:version="1.2">
188`),r.push(`  <manifest:file-entry manifest:full-path="/" manifest:version="1.2" manifest:media-type="application/vnd.oasis.opendocument.spreadsheet"/>
189`);for(var t=0;t<e.length;++t)r.push('  <manifest:file-entry manifest:full-path="'+e[t][0]+'" manifest:media-type="'+e[t][1]+`"/>
190`);return r.push("</manifest:manifest>"),r.join("")}function fd(e,r,t){return['  <rdf:Description rdf:about="'+e+`">
191`,'    <rdf:type rdf:resource="http://docs.oasis-open.org/ns/office/1.2/meta/'+(t||"odf")+"#"+r+`"/>
192`,`  </rdf:Description>
193`].join("")}function l3(e,r){return['  <rdf:Description rdf:about="'+e+`">
194`,'    <ns0:hasPart xmlns:ns0="http://docs.oasis-open.org/ns/office/1.2/meta/pkg#" rdf:resource="'+r+`"/>
195`,`  </rdf:Description>
196`].join("")}function c3(e){var r=[Jr];r.push(`<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
197`);for(var t=0;t!=e.length;++t)r.push(fd(e[t][0],e[t][1])),r.push(l3("",e[t][0]));return r.push(fd("","Document","pkg")),r.push("</rdf:RDF>"),r.join("")}function A5(e,r){return'<office:document-meta xmlns:office="urn:oasis:names:tc:opendocument:xmlns:office:1.0" xmlns:meta="urn:oasis:names:tc:opendocument:xmlns:meta:1.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:xlink="http://www.w3.org/1999/xlink" office:version="1.2"><office:meta><meta:generator>SheetJS '+Sl.version+"</meta:generator></office:meta></office:document-meta>"}var Us=[["cp:category","Category"],["cp:contentStatus","ContentStatus"],["cp:keywords","Keywords"],["cp:lastModifiedBy","LastAuthor"],["cp:lastPrinted","LastPrinted"],["cp:revision","RevNumber"],["cp:version","Version"],["dc:creator","Author"],["dc:description","Comments"],["dc:identifier","Identifier"],["dc:language","Language"],["dc:subject","Subject"],["dc:title","Title"],["dcterms:created","CreatedDate","date"],["dcterms:modified","ModifiedDate","date"]];function xh(e,r,t,n,i){i[e]!=null||r==null||r===""||(i[e]=r,r=zt(r),n[n.length]=t?Je(e,r,t):mn(e,r))}function S5(e,r){var t=r||{},n=[Jr,Je("cp:coreProperties",null,{"xmlns:cp":fn.CORE_PROPS,"xmlns:dc":fn.dc,"xmlns:dcterms":fn.dcterms,"xmlns:dcmitype":fn.dcmitype,"xmlns:xsi":fn.xsi})],i={};if(!e&&!t.Props)return n.join("");e&&(e.CreatedDate!=null&&xh("dcterms:created",typeof e.CreatedDate=="string"?e.CreatedDate:Vh(e.CreatedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},n,i),e.ModifiedDate!=null&&xh("dcterms:modified",typeof e.ModifiedDate=="string"?e.ModifiedDate:Vh(e.ModifiedDate,t.WTF),{"xsi:type":"dcterms:W3CDTF"},n,i));for(var a=0;a!=Us.length;++a){var s=Us[a],o=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;o===!0?o="1":o===!1?o="0":typeof o=="number"&&(o=String(o)),o!=null&&xh(s[0],o,null,n,i)}return n.length>2&&(n[n.length]="</cp:coreProperties>",n[1]=n[1].replace("/>",">")),n.join("")}var Ho=[["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"]],E5=["Worksheets","SheetNames","NamedRanges","DefinedNames","Chartsheets","ChartNames"];function T5(e){var r=[],t=Je;return e||(e={}),e.Application="SheetJS",r[r.length]=Jr,r[r.length]=Je("Properties",null,{xmlns:fn.EXT_PROPS,"xmlns:vt":fn.vt}),Ho.forEach(function(n){if(e[n[1]]!==void 0){var i;switch(n[2]){case"string":i=zt(String(e[n[1]]));break;case"bool":i=e[n[1]]?"true":"false";break}i!==void 0&&(r[r.length]=t(n[0],i))}}),r[r.length]=t("HeadingPairs",t("vt:vector",t("vt:variant","<vt:lpstr>Worksheets</vt:lpstr>")+t("vt:variant",t("vt:i4",String(e.Worksheets))),{size:2,baseType:"variant"})),r[r.length]=t("TitlesOfParts",t("vt:vector",e.SheetNames.map(function(n){return"<vt:lpstr>"+zt(n)+"</vt:lpstr>"}).join(""),{size:e.Worksheets,baseType:"lpstr"})),r.length>2&&(r[r.length]="</Properties>",r[1]=r[1].replace("/>",">")),r.join("")}function N5(e){var r=[Jr,Je("Properties",null,{xmlns:fn.CUST_PROPS,"xmlns:vt":fn.vt})];if(!e)return r.join("");var t=1;return Kr(e).forEach(function(i){++t,r[r.length]=Je("property",Tw(e[i]),{fmtid:"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}",pid:t,name:zt(i)})}),r.length>2&&(r[r.length]="</Properties>",r[1]=r[1].replace("/>",">")),r.join("")}var ld={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 h3(e,r){var t=[];return Kr(ld).map(function(n){for(var i=0;i<Us.length;++i)if(Us[i][1]==n)return Us[i];for(i=0;i<Ho.length;++i)if(Ho[i][1]==n)return Ho[i];throw n}).forEach(function(n){if(e[n[1]]!=null){var i=r&&r.Props&&r.Props[n[1]]!=null?r.Props[n[1]]:e[n[1]];switch(n[2]){case"date":i=new Date(i).toISOString().replace(/\.\d*Z/,"Z");break}typeof i=="number"?i=String(i):i===!0||i===!1?i=i?"1":"0":i instanceof Date&&(i=new Date(i).toISOString().replace(/\.\d*Z/,"")),t.push(mn(ld[n[1]]||n[1],i))}}),Je("DocumentProperties",t.join(""),{xmlns:ui.o})}function u3(e,r){var t=["Worksheets","SheetNames"],n="CustomDocumentProperties",i=[];return e&&Kr(e).forEach(function(a){if(Object.prototype.hasOwnProperty.call(e,a)){for(var s=0;s<Us.length;++s)if(a==Us[s][1])return;for(s=0;s<Ho.length;++s)if(a==Ho[s][1])return;for(s=0;s<t.length;++s)if(a==t[s])return;var o=e[a],f="string";typeof o=="number"?(f="float",o=String(o)):o===!0||o===!1?(f="boolean",o=o?"1":"0"):o=String(o),i.push(Je(K2(a),o,{"dt:dt":f}))}}),r&&Kr(r).forEach(function(a){if(Object.prototype.hasOwnProperty.call(r,a)&&!(e&&Object.prototype.hasOwnProperty.call(e,a))){var s=r[a],o="string";typeof s=="number"?(o="float",s=String(s)):s===!0||s===!1?(o="boolean",s=s?"1":"0"):s instanceof Date?(o="dateTime.tz",s=s.toISOString()):s=String(s),i.push(Je(K2(a),s,{"dt:dt":o}))}}),"<"+n+' xmlns="'+ui.o+'">'+i.join("")+"</"+n+">"}function d3(e){var r=typeof e=="string"?new Date(Date.parse(e)):e,t=r.getTime()/1e3+11644473600,n=t%Math.pow(2,32),i=(t-n)/Math.pow(2,32);n*=1e7,i*=1e7;var a=n/Math.pow(2,32)|0;a>0&&(n=n%Math.pow(2,32),i+=a);var s=Ee(8);return s.write_shift(4,n),s.write_shift(4,i),s}function cd(e,r){var t=Ee(4),n=Ee(4);switch(t.write_shift(4,e==80?31:e),e){case 3:n.write_shift(-4,r);break;case 5:n=Ee(8),n.write_shift(8,r,"f");break;case 11:n.write_shift(4,r?1:0);break;case 64:n=d3(r);break;case 31:case 80:for(n=Ee(4+2*(r.length+1)+(r.length%2?0:2)),n.write_shift(4,r.length+1),n.write_shift(0,r,"dbcs");n.l!=n.length;)n.write_shift(1,0);break;default:throw new Error("TypedPropertyValue unrecognized type "+e+" "+r)}return Yr([t,n])}var F5=["CodePage","Thumbnail","_PID_LINKBASE","_PID_HLINKS","SystemIdentifier","FMTID"];function p3(e){switch(typeof e){case"boolean":return 11;case"number":return(e|0)==e?3:5;case"string":return 31;case"object":if(e instanceof Date)return 64;break}return-1}function hd(e,r,t){var n=Ee(8),i=[],a=[],s=8,o=0,f=Ee(8),l=Ee(8);if(f.write_shift(4,2),f.write_shift(4,1200),l.write_shift(4,1),a.push(f),i.push(l),s+=8+f.length,!r){l=Ee(8),l.write_shift(4,0),i.unshift(l);var h=[Ee(4)];for(h[0].write_shift(4,e.length),o=0;o<e.length;++o){var g=e[o][0];for(f=Ee(8+2*(g.length+1)+(g.length%2?0:2)),f.write_shift(4,o+2),f.write_shift(4,g.length+1),f.write_shift(0,g,"dbcs");f.l!=f.length;)f.write_shift(1,0);h.push(f)}f=Yr(h),a.unshift(f),s+=8+f.length}for(o=0;o<e.length;++o)if(!(r&&!r[e[o][0]])&&!(F5.indexOf(e[o][0])>-1||E5.indexOf(e[o][0])>-1)&&e[o][1]!=null){var p=e[o][1],u=0;if(r){u=+r[e[o][0]];var _=t[u];if(_.p=="version"&&typeof p=="string"){var w=p.split(".");p=(+w[0]<<16)+(+w[1]||0)}f=cd(_.t,p)}else{var y=p3(p);y==-1&&(y=31,p=String(p)),f=cd(y,p)}a.push(f),l=Ee(8),l.write_shift(4,r?u:2+o),i.push(l),s+=8+f.length}var v=8*(a.length+1);for(o=0;o<a.length;++o)i[o].write_shift(4,v),v+=a[o].length;return n.write_shift(4,s),n.write_shift(4,a.length),Yr([n].concat(i).c
vendor: 4,804 bytes, line 197
197oncat(a))}function ud(e,r,t,n,i,a){var s=Ee(i?68:48),o=[s];s.write_shift(2,65534),s.write_shift(2,0),s.write_shift(4,842412599),s.write_shift(16,gr.utils.consts.HEADER_CLSID,"hex"),s.write_shift(4,i?2:1),s.write_shift(16,r,"hex"),s.write_shift(4,i?68:48);var f=hd(e,t,n);if(o.push(f),i){var l=hd(i,null,null);s.write_shift(16,a,"hex"),s.write_shift(4,68+f.length),o.push(l)}return Yr(o)}function m3(e,r){r||(r=Ee(e));for(var t=0;t<e;++t)r.write_shift(1,0);return r}function g3(e,r){return e.read_shift(r)===1}function kn(e,r){return r||(r=Ee(2)),r.write_shift(2,+!!e),r}function xl(e){return e.read_shift(2,"u")}function Ei(e,r){return r||(r=Ee(2)),r.write_shift(2,e),r}function L5(e,r,t){return t||(t=Ee(2)),t.write_shift(1,r=="e"?+e:+!!e),t.write_shift(1,r=="e"?1:0),t}function k5(e,r,t){var n=e.read_shift(t&&t.biff>=12?2:1),i="sbcs-cont",a=Ia;if(t&&t.biff>=8&&(Ia=1200),!t||t.biff==8){var s=e.read_shift(1);s&&(i="dbcs-cont")}else t.biff==12&&(i="wstr");t.biff>=2&&t.biff<=5&&(i="cpstr");var o=n?e.read_shift(n,i):"";return Ia=a,o}function x3(e){var r=e.t||"",t=Ee(3);t.write_shift(2,r.length),t.write_shift(1,1);var n=Ee(2*r.length);n.write_shift(2*r.length,r,"utf16le");var i=[t,n];return Yr(i)}function v3(e,r,t){var n;if(t){if(t.biff>=2&&t.biff<=5)return e.read_shift(r,"cpstr");if(t.biff>=12)return e.read_shift(r,"dbcs-cont")}var i=e.read_shift(1);return i===0?n=e.read_shift(r,"sbcs-cont"):n=e.read_shift(r,"dbcs-cont"),n}function _3(e,r,t){var n=e.read_shift(t&&t.biff==2?1:2);return n===0?(e.l++,""):v3(e,n,t)}function w3(e,r,t){if(t.biff>5)return _3(e,r,t);var n=e.read_shift(1);return n===0?(e.l++,""):e.read_shift(n,t.biff<=4||!e.lens?"cpstr":"sbcs-cont")}function C5(e,r,t){return t||(t=Ee(3+2*e.length)),t.write_shift(2,e.length),t.write_shift(1,1),t.write_shift(31,e,"utf16le"),t}function dd(e,r){r||(r=Ee(6+e.length*2)),r.write_shift(4,1+e.length);for(var t=0;t<e.length;++t)r.write_shift(2,e.charCodeAt(t));return r.write_shift(2,0),r}function y3(e){var r=Ee(512),t=0,n=e.Target;n.slice(0,7)=="file://"&&(n=n.slice(7));var i=n.indexOf("#"),a=i>-1?31:23;switch(n.charAt(0)){case"#":a=28;break;case".":a&=-3;break}r.write_shift(4,2),r.write_shift(4,a);var s=[8,6815827,6619237,4849780,83];for(t=0;t<s.length;++t)r.write_shift(4,s[t]);if(a==28)n=n.slice(1),dd(n,r);else if(a&2){for(s="e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),t=0;t<s.length;++t)r.write_shift(1,parseInt(s[t],16));var o=i>-1?n.slice(0,i):n;for(r.write_shift(4,2*(o.length+1)),t=0;t<o.length;++t)r.write_shift(2,o.charCodeAt(t));r.write_shift(2,0),a&8&&dd(i>-1?n.slice(i+1):"",r)}else{for(s="03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46".split(" "),t=0;t<s.length;++t)r.write_shift(1,parseInt(s[t],16));for(var f=0;n.slice(f*3,f*3+3)=="../"||n.slice(f*3,f*3+3)=="..\\";)++f;for(r.write_shift(2,f),r.write_shift(4,n.length-3*f+1),t=0;t<n.length-3*f;++t)r.write_shift(1,n.charCodeAt(t+3*f)&255);for(r.write_shift(1,0),r.write_shift(2,65535),r.write_shift(2,57005),t=0;t<6;++t)r.write_shift(4,0)}return r.slice(0,r.l)}function Ys(e,r,t,n){return n||(n=Ee(6)),n.write_shift(2,e),n.write_shift(2,r),n.write_shift(2,t||0),n}function b3(e,r,t){var n=t.biff>8?4:2,i=e.read_shift(n),a=e.read_shift(n,"i"),s=e.read_shift(n,"i");return[i,a,s]}function A3(e){var r=e.read_shift(2),t=e.read_shift(2),n=e.read_shift(2),i=e.read_shift(2);return{s:{c:n,r},e:{c:i,r:t}}}function P5(e,r){return r||(r=Ee(8)),r.write_shift(2,e.s.r),r.write_shift(2,e.e.r),r.write_shift(2,e.s.c),r.write_shift(2,e.e.c),r}function Eu(e,r,t){var n=1536,i=16;switch(t.bookType){case"biff8":break;case"biff5":n=1280,i=8;break;case"biff4":n=4,i=6;break;case"biff3":n=3,i=6;break;case"biff2":n=2,i=4;break;case"xla":break;default:throw new Error("unsupported BIFF version")}var a=Ee(i);return a.write_shift(2,n),a.write_shift(2,r),i>4&&a.write_shift(2,29282),i>6&&a.write_shift(2,1997),i>8&&(a.write_shift(2,49161),a.write_shift(2,1),a.write_shift(2,1798),a.write_shift(2,0)),a}function S3(e,r){var t=!r||r.biff==8,n=Ee(t?112:54);for(n.write_shift(r.biff==8?2:1,7),t&&n.write_shift(1,0),n.write_shift(4,859007059),n.write_shift(4,5458548|(t?0:536870912));n.l<n.length;)n.write_shift(1,t?0:32);return n}function E3(e,r){var t=!r||r.biff>=8?2:1,n=Ee(8+t*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),r.biff>=8&&n.write_shift(1,1),n.write_shift(t*e.name.length,e.name,r.biff<8?"sbcs":"utf16le");var i=n.slice(0,n.l);return i.l=n.l,i}function T3(e,r){var t=Ee(8);t.write_shift(4,e.Count),t.write_shift(4,e.Unique);for(var n=[],i=0;i<e.length;++i)n[i]=x3(e[i]);var a=Yr([t].concat(n));return a.parts=[t.length].concat(n.map(function(s){return s.length})),a}function N3(){var e=Ee(18);return e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,29280),e.write_shift(2,17600),e.
vendor: 9,101 bytes, line 197
197write_shift(2,56),e.write_shift(2,0),e.write_shift(2,0),e.write_shift(2,1),e.write_shift(2,500),e}function F3(e){var r=Ee(18),t=1718;return e&&e.RTL&&(t|=64),r.write_shift(2,t),r.write_shift(4,0),r.write_shift(4,64),r.write_shift(4,0),r.write_shift(4,0),r}function L3(e,r){var t=e.name||"Arial",n=r&&r.biff==5,i=n?15+t.length:16+2*t.length,a=Ee(i);return a.write_shift(2,(e.sz||12)*20),a.write_shift(4,0),a.write_shift(2,400),a.write_shift(4,0),a.write_shift(2,0),a.write_shift(1,t.length),n||a.write_shift(1,1),a.write_shift((n?1:2)*t.length,t,n?"sbcs":"utf16le"),a}function k3(e,r,t,n){var i=Ee(10);return Ys(e,r,n,i),i.write_shift(4,t),i}function C3(e,r,t,n,i){var a=!i||i.biff==8,s=Ee(8+ +a+(1+a)*t.length);return Ys(e,r,n,s),s.write_shift(2,t.length),a&&s.write_shift(1,1),s.write_shift((1+a)*t.length,t,a?"utf16le":"sbcs"),s}function P3(e,r,t,n){var i=t&&t.biff==5;n||(n=Ee(i?3+r.length:5+2*r.length)),n.write_shift(2,e),n.write_shift(i?1:2,r.length),i||n.write_shift(1,1),n.write_shift((i?1:2)*r.length,r,i?"sbcs":"utf16le");var a=n.length>n.l?n.slice(0,n.l):n;return a.l==null&&(a.l=a.length),a}function I3(e){var r=Ee(1+e.length);return r.write_shift(1,e.length),r.write_shift(e.length,e,"sbcs"),r}function O3(e){var r=Ee(3+e.length);return r.l+=2,r.write_shift(1,e.length),r.write_shift(e.length,e,"sbcs"),r}function D3(e,r){var t=r.biff==8||!r.biff?4:2,n=Ee(2*t+6);return n.write_shift(t,e.s.r),n.write_shift(t,e.e.r+1),n.write_shift(2,e.s.c),n.write_shift(2,e.e.c+1),n.write_shift(2,0),n}function pd(e,r,t,n){var i=t&&t.biff==5;n||(n=Ee(i?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,r<<4));var a=0;return e.numFmtId>0&&i&&(a|=1024),n.write_shift(4,a),n.write_shift(4,0),i||n.write_shift(4,0),n.write_shift(2,0),n}function R3(e){var r=Ee(4);return r.l+=2,r.write_shift(1,e.numFmtId),r.l++,r}function I5(e){var r=Ee(12);return r.l++,r.write_shift(1,e.numFmtId),r.l+=10,r}var B3=I5;function M3(e){var r=Ee(8);return r.write_shift(4,0),r.write_shift(2,0),r.write_shift(2,0),r}function vh(e,r,t,n,i,a){var s=Ee(8);return Ys(e,r,n,s),L5(t,a,s),s}function U3(e,r,t,n){var i=Ee(14);return Ys(e,r,n,i),Xs(t,i),i}function j3(e,r,t){if(t.biff<8||!(t.biff>8)&&r==e[e.l]+(e[e.l+1]==3?1:0)+1)return md(e,r,t);for(var n=[],i=e.l+r,a=e.read_shift(t.biff>8?4:2);a--!==0;)n.push(b3(e,t.biff>8?12:6,t));if(e.l!=i)throw new Error("Bad ExternSheet: "+e.l+" != "+i);return n}function md(e,r,t){e[e.l+1]==3&&e[e.l]++;var n=k5(e,r,t);return n.charCodeAt(0)==3?n.slice(1):n}function _h(e,r,t,n){var i=Ee(6+(n||e.length));return i.write_shift(2,r),i.write_shift(2,t),i.write_shift(2,n||e.length),i.write_shift(e.length,e,"sbcs"),i}function z3(e){var r=Ee(2+e.length*8);r.write_shift(2,e.length);for(var t=0;t<e.length;++t)P5(e[t],r);return r}function W3(e){var r=Ee(24),t=Fr(e[0]);r.write_shift(2,t.r),r.write_shift(2,t.r),r.write_shift(2,t.c),r.write_shift(2,t.c);for(var n="d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b".split(" "),i=0;i<16;++i)r.write_shift(1,parseInt(n[i],16));return Yr([r,y3(e[1])])}function H3(e){var r=e[1].Tooltip,t=Ee(10+2*(r.length+1));t.write_shift(2,2048);var n=Fr(e[0]);t.write_shift(2,n.r),t.write_shift(2,n.r),t.write_shift(2,n.c),t.write_shift(2,n.c);for(var i=0;i<r.length;++i)t.write_shift(2,r.charCodeAt(i));return t.write_shift(2,0),t}function q3(e){return e||(e=Ee(4)),e.write_shift(2,1),e.write_shift(2,1),e}function G3(e,r,t){if(!t.cellStyles)return ua(e,r);var n=t&&t.biff>=12?4:2,i=e.read_shift(n),a=e.read_shift(n),s=e.read_shift(n),o=e.read_shift(n),f=e.read_shift(2);n==2&&(e.l+=2);var l={s:i,e:a,w:s,ixfe:o,flags:f};return(t.biff>=5||!t.biff)&&(l.level=f>>8&7),l}function V3(e,r){var t=Ee(12);t.write_shift(2,r),t.write_shift(2,r),t.write_shift(2,e.width*256),t.write_shift(2,0);var n=0;return e.hidden&&(n|=1),t.write_shift(1,n),n=e.level||0,t.write_shift(1,n),t.write_shift(2,0),t}function $3(e){for(var r=Ee(2*e),t=0;t<e;++t)r.write_shift(2,t+1);return r}function hf(e,r,t,n,i){return e||(e=Ee(7)),e.write_shift(2,r),e.write_shift(2,t),e.write_shift(1,n||0),e.write_shift(1,i||0),e.write_shift(1,0),e}function X3(e,r,t,n,i){var a=Ee(15);return hf(a,e,r,n||0,i||0),a.write_shift(8,t,"f"),a}function Y3(e,r,t,n,i){var a=Ee(9);return hf(a,e,r,n||0,i||0),a.write_shift(2,t),a}var K3=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},r=du({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 t(o,f){var l=[],h=Gs(1);switch(f.type){case"base64":h=hi(ls(o));break;case"binary":h=hi(o);break;case"buffer":case"array":h=o;break}Wn(h,0);var g=h.read_shift(1),p=!!(g&136),u=!1,_=!1;switch(g){case 2:break;case 3:break;case 48:u=!0,p=!0;break;case 49:u=!0,p=!0;break;case 131:break;case 139:break;case 140:_=!0;break;case 245:break;default:throw new Error("DBF Unsupported Version: "+g.toString(16))}var w=0,y=521;g==2&&(w=h.read_shift(2)),h.l+=3,g!=2&&(w=h.read_shift(4)),w>1048576&&(w=1e6),g!=2&&(y=h.read_shift(2));var v=h.read_shift(2);f.codepage,g!=2&&(h.l+=16,h.read_shift(1),h[h.l]!==0&&e[h[h.l]],h.l+=1,h.l+=2),_&&(h.l+=36);for(var E=[],S={},R=Math.min(h.length,g==2?521:y-10-(u?264:0)),re=_?32:11;h.l<R&&h[h.l]!=13;)switch(S={},S.name=Vs(h.slice(h.l,h.l+re)).replace(/[\u0000\r\n][\S\s]*$/g,""),h.l+=re,S.type=String.fromCharCode(h.read_shift(1)),g!=2&&!_&&(S.offset=h.read_shift(4)),S.len=h.read_shift(1),g==2&&(S.offset=h.read_shift(2)),S.dec=h.read_shift(1),S.name.length&&E.push(S),g!=2&&(h.l+=_?13:14),S.type){case"B":(!u||S.len!=8)&&f.WTF&&console.log("Skipping "+S.name+":"+S.type);break;case"G":case"P":f.WTF&&console.log("Skipping "+S.name+":"+S.type);break;case"+":case"0":case"@":case"C":case"D":case"F":case"I":case"L":case"M":case"N":case"O":case"T":case"Y":break;default:throw new Error("Unknown Field Type: "+S.type)}if(h[h.l]!==13&&(h.l=y-1),h.read_shift(1)!==13)throw new Error("DBF Terminator not found "+h.l+" "+h[h.l]);h.l=y;var fe=0,O=0;for(l[0]=[],O=0;O!=E.length;++O)l[0][O]=E[O].name;for(;w-- >0;){if(h[h.l]===42){h.l+=v;continue}for(++h.l,l[++fe]=[],O=0,O=0;O!=E.length;++O){var B=h.slice(h.l,h.l+E[O].len);h.l+=E[O].len,Wn(B,0);var T=Vs(B);switch(E[O].type){case"C":T.trim().length&&(l[fe][O]=T.replace(/([^\s])\s+$/,"$1"));break;case"D":T.length===8?(l[fe][O]=new Date(Date.UTC(+T.slice(0,4),+T.slice(4,6)-1,+T.slice(6,8),0,0,0,0)),f&&f.UTC||(l[fe][O]=Yo(l[fe][O]))):l[fe][O]=T;break;case"F":l[fe][O]=parseFloat(T.trim());break;case"+":case"I":l[fe][O]=_?B.read_shift(-4,"i")^2147483648:B.read_shift(4,"i");break;case"L":switch(T.trim().toUpperCase()){case"Y":case"T":l[fe][O]=!0;break;case"N":case"F":l[fe][O]=!1;break;case"":case"\0":case"?":break;default:throw new Error("DBF Unrecognized L:|"+T+"|")}break;case"M":if(!p)throw new Error("DBF Unexpected MEMO for type "+g.toString(16));l[fe][O]="##MEMO##"+(_?parseInt(T.trim(),10):B.read_shift(4));break;case"N":T=T.replace(/\u0000/g,"").trim(),T&&T!="."&&(l[fe][O]=+T||0);break;case"@":l[fe][O]=new Date(B.read_shift(-8,"f")-621356832e5);break;case"T":{var Q=B.read_shift(4),A=B.read_shift(4);if(Q==0&&A==0)break;l[fe][O]=new Date((Q-2440588)*864e5+A),f&&f.UTC||(l[fe][O]=Yo(l[fe][O]))}break;case"Y":l[fe][O]=B.read_shift(4,"i")/1e4+B.read_shift(4,"i")/1e4*Math.pow(2,32);break;case"O":l[fe][O]=-B.read_shift(-8,"f");break;case"B":if(u&&E[O].len==8){l[fe][O]=B.read_shift(8,"f");break}case"G":case"P":B.l+=E[O].len;break;case"0":if(E[O].name==="_NullFlags")break;default:throw new Error("DBF Unsupported data type "+E[O].type)}}}if(g!=2&&h.l<h.length&&h[h.l++]!=26)throw new Error("DBF EOF Marker missing "+(h.l-1)+" of "+h.length+" "+h[h.l-1].toString(16));return f&&f.sheetRows&&(l=l.slice(0,f.sheetRows)),f.DBF=E,l}function n(o,f){var l=f||{};l.dateNF||(l.dateNF="yyyymmdd");var h=r0(t(o,l),l);return h["!cols"]=l.DBF.map(function(g){return{wch:g.len,DBF:g}}),delete l.DBF,h}function i(o,f){try{var l=t0(n(o,f),f);return l.bookType="dbf",l}catch(h){if(f&&f.WTF)throw h}return{SheetNames:[],Sheets:{}}}var a={B:8,C:250,L:1,D:8,"?":0,"":0};function s(o,f){if(!o["!ref"])throw new Error("Cannot export empty sheet to DBF");var l=f||{},h=Ia;if(+l.codepage>=0&&K0(+l.codepage),l.type=="string")throw new Error("Cannot write DBF to JS string");var g=Pn(),p=Zh(o,{header:1,raw:!0,cellDates:!0}),u=p[0],_=p.slice(1),w=o["!cols"]||[],y=0,v=0,E=0,S=1;for(y=0;y<u.length;++y){if(((w[y]||{}).DBF||{}).name){u[y]=w[y].DBF.name,++E;continue}if(u[y]!=null){if(++E,typeof u[y]=="number"&&(u[y]=u[y].toString(10)),typeof u[y]!="str
197ing")throw new Error("DBF Invalid column name "+u[y]+" |"+typeof u[y]+"|");if(u.indexOf(u[y])!==y){for(v=0;v<1024;++v)if(u.indexOf(u[y]+"_"+v)==-1){u[y]+="_"+v;break}}}}var R=Sr(o["!ref"]),re=[],fe=[],O=[];for(y=0;y<=R.e.c-R.s.c;++y){var B="",T="",Q=0,A=[];for(v=0;v<_.length;++v)_[v][y]!=null&&A.push(_[v][y]);if(A.length==0||u[y]==null){re[y]="?";continue}for(v=0;v<A.length;++v){switch(typeof A[v]){case"number":T="B";break;case"string":T="C";break;case"boolean":T="L";break;case"object":T=A[v]instanceof Date?"D":"C";break;default:T="C"}Q=Math.max(Q,String(A[v]).length),B=B&&B!=T?"C":T}Q>250&&(Q=250),T=((w[y]||{}).DBF||{}).type,T=="C"&&w[y].DBF.len>Q&&(Q=w[y].DBF.len),B=="B"&&T=="N"&&(B="N",O[y]=w[y].DBF.dec,Q=w[y].DBF.len),fe[y]=B=="C"||T=="N"?Q:a[B]||0,S+=fe[y],re[y]=B}var P=g.next(32);for(P.write_shift(4,318902576),P.write_shift(4,_.length),P.write_shift(2,296+32*E),P.write_shift(2,S),y=0;y<4;++y)P.write_shift(4,0);var j=+r[Ia]||3;for(P.write_shift(4,0|j<<8),e[j]!=+l.codepage&&(l.codepage&&console.error("DBF Unsupported codepage "+Ia+", using 1252"),Ia=1252),y=0,v=0;y<u.length;++y)if(u[y]!=null){var ie=g.next(32),he=(u[y].slice(-10)+"\0\0\0\0\0\0\0\0\0\0\0").slice(0,11);ie.write_shift(1,he,"sbcs"),ie.write_shift(1,re[y]=="?"?"C":re[y],"sbcs"),ie.write_shift(4,v),ie.write_shift(1,fe[y]||a[re[y]]||0),ie.write_shift(1,O[y]||0),ie.write_shift(1,2),ie.write_shift(4,0),ie.write_shift(1,0),ie.write_shift(4,0),ie.write_shift(4,0),v+=fe[y]||a[re[y]]||0}var Fe=g.next(264);for(Fe.write_shift(4,13),y=0;y<65;++y)Fe.write_shift(4,0);for(y=0;y<_.length;++y){var xe=g.next(S);for(xe.write_shift(1,0),v=0;v<u.length;++v)if(u[v]!=null)switch(re[v]){case"L":xe.write_shift(1,_[y][v]==null?63:_[y][v]?84:70);break;case"B":xe.write_shift(8,_[y][v]||0,"f");break;case"N":var ve="0";for(typeof _[y][v]=="number"&&(ve=_[y][v].toFixed(O[v]||0)),ve.length>fe[v]&&(ve=ve.slice(0,fe[v])),E=0;E<fe[v]-ve.length;++E)xe.write_shift(1,32);xe.write_shift(1,ve,"sbcs");break;case"D":_[y][v]?(xe.write_shift(4,("0000"+_[y][v].getFullYear()).slice(-4),"sbcs"),xe.write_shift(2,("00"+(_[y][v].getMonth()+1)).slice(-2),"sbcs"),xe.write_shift(2,("00"+_[y][v].getDate()).slice(-2),"sbcs")):xe.write_shift(8,"00000000","sbcs");break;case"C":var Le=xe.l,Ge=String(_[y][v]!=null?_[y][v]:"").slice(0,fe[v]);for(xe.write_shift(1,Ge,"cpstr"),Le+=fe[v]-xe.l,E=0;E<Le;++E)xe.write_shift(1,32);break}}return Ia=h,g.next(1).write_shift(1,26),g.end()}return{to_workbook:i,to_sheet:n,from_sheet:s}}(),Z3=function(){var e={AA:"À",BA:"Á",CA:"Â",DA:195,HA:"Ä",JA:197,AE:"È",BE:"É",CE:"Ê",HE:"Ë",AI:"Ì",BI:"Í",CI:"Î",HI:"Ï",AO:"Ò",BO:"Ó",CO:"Ô",DO:213,HO:"Ö",AU:"Ù",BU:"Ú",CU:"Û",HU:"Ü",Aa:"à",Ba:"á",Ca:"â",Da:227,Ha:"ä",Ja:229,Ae:"è",Be:"é",Ce:"ê",He:"ë",Ai:"ì",Bi:"í",Ci:"î",Hi:"ï",Ao:"ò",Bo:"ó",Co:"ô",Do:245,Ho:"ö",Au:"ù",Bu:"ú",Cu:"û",Hu:"ü",KC:"Ç",Kc:"ç",q:"æ",z:"œ",a:"Æ",j:"Œ",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,"B ":180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,"!":161,'"':162,"#":163,"(":164,"%":165,"'":167,"H ":168,"+":171,";":187,"<":188,"=":189,">":190,"?":191,"{":223},r=new RegExp("\x1BN("+Kr(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1").replace("{","\\{")+"|\\|)","gm");try{r=new RegExp("\x1BN("+Kr(e).join("|").replace(/\|\|\|/,"|\\||").replace(/([?()+])/g,"\\$1")+"|\\|)","gm")}catch{}var t=function(u,_){var w=e[_];return typeof w=="number"?M2(w):w},n=function(u,_,w){var y=_.charCodeAt(0)-32<<4|w.charCodeAt(0)-48;return y==59?u:M2(y)};e["|"]=254;var i=function(u){return u.replace(/\n/g,"\x1B :").replace(/\r/g,"\x1B =")};function a(u,_){switch(_.type){case"base64":return s(ls(u),_);case"binary":return s(u,_);case"buffer":return s(nr&&Buffer.isBuffer(u)?u.toString("binary"):Vs(u),_);case"array":return s(pu(u),_)}throw new Error("Unrecognized type "+_.type)}function s(u,_){var w=u.split(/[\n\r]+/),y=-1,v=-1,E=0,S=0,R=[],re=[],fe=null,O={},B=[],T=[],Q=[],A=0,P,j={Workbook:{WBProps:{},Names:[]}};for(+_.codepage>=0&&K0(+_.codepage);E!==w.length;++E){A=0;
vendor: 6,931 bytes, lines 197-214
197var ie=w[E].trim().replace(/\x1B([\x20-\x2F])([\x30-\x3F])/g,n).replace(r,t),he=ie.replace(/;;/g,"\0").split(";").map(function(G){return G.replace(/\u0000/g,";")}),Fe=he[0],xe;if(ie.length>0)switch(Fe){case"ID":break;case"E":break;case"B":break;case"O":for(S=1;S<he.length;++S)switch(he[S].charAt(0)){case"V":{var ve=parseInt(he[S].slice(1),10);ve>=1&&ve<=4&&(j.Workbook.WBProps.date1904=!0)}break}break;case"W":break;case"P":switch(he[1].charAt(0)){case"P":re.push(ie.slice(3).replace(/;;/g,";"));break}break;case"NN":{var Le={Sheet:0};for(S=1;S<he.length;++S)switch(he[S].charAt(0)){case"N":Le.Name=he[S].slice(1);break;case"E":Le.Ref=(_&&_.sheet||"Sheet1")+"!"+wd(he[S].slice(1));break}j.Workbook.Names.push(Le)}break;case"C":var Ge=!1,Be=!1,L=!1,q=!1,te=-1,ae=-1,ce="",de="z",k="";for(S=1;S<he.length;++S)switch(he[S].charAt(0)){case"A":k=he[S].slice(1);break;case"X":v=parseInt(he[S].slice(1),10)-1,Be=!0;break;case"Y":for(y=parseInt(he[S].slice(1),10)-1,Be||(v=0),P=R.length;P<=y;++P)R[P]=[];break;case"K":xe=he[S].slice(1),xe.charAt(0)==='"'?(xe=xe.slice(1,xe.length-1),de="s"):xe==="TRUE"||xe==="FALSE"?(xe=xe==="TRUE",de="b"):xe.charAt(0)=="#"&&la[xe]!=null?(de="e",xe=la[xe]):isNaN(Da(xe))||(xe=Da(xe),de="n",fe!==null&&$s(fe)&&_.cellDates&&(xe=jo(j.Workbook.WBProps.date1904?xe+1462:xe),de=typeof xe=="number"?"n":"d")),Ge=!0;break;case"E":q=!0,ce=wd(he[S].slice(1),{r:y,c:v});break;case"S":L=!0;break;case"G":break;case"R":te=parseInt(he[S].slice(1),10)-1;break;case"C":ae=parseInt(he[S].slice(1),10)-1;break;default:if(_&&_.WTF)throw new Error("SYLK bad record "+ie)}if(Ge&&(R[y][v]?(R[y][v].t=de,R[y][v].v=xe):R[y][v]={t:de,v:xe},fe&&(R[y][v].z=fe),_.cellText!==!1&&fe&&(R[y][v].w=Ba(R[y][v].z,R[y][v].v,{date1904:j.Workbook.WBProps.date1904})),fe=null),L){if(q)throw new Error("SYLK shared formula cannot have own formula");var X=te>-1&&R[te][ae];if(!X||!X[1])throw new Error("SYLK shared formula cannot find base");ce=Jy(X[1],{r:y-te,c:v-ae})}ce&&(R[y][v]?R[y][v].f=ce:R[y][v]={t:"n",f:ce}),k&&(R[y][v]||(R[y][v]={t:"z"}),R[y][v].c=[{a:"SheetJSYLK",t:k}]);break;case"F":var z=0;for(S=1;S<he.length;++S)switch(he[S].charAt(0)){case"X":v=parseInt(he[S].slice(1),10)-1,++z;break;case"Y":for(y=parseInt(he[S].slice(1),10)-1,P=R.length;P<=y;++P)R[P]=[];break;case"M":A=parseInt(he[S].slice(1),10)/20;break;case"F":break;case"G":break;case"P":fe=re[parseInt(he[S].slice(1),10)];break;case"S":break;case"D":break;case"N":break;case"W":for(Q=he[S].slice(1).split(" "),P=parseInt(Q[0],10);P<=parseInt(Q[1],10);++P)A=parseInt(Q[2],10),T[P-1]=A===0?{hidden:!0}:{wch:A};break;case"C":v=parseInt(he[S].slice(1),10)-1,T[v]||(T[v]={});break;case"R":y=parseInt(he[S].slice(1),10)-1,B[y]||(B[y]={}),A>0?(B[y].hpt=A,B[y].hpx=B5(A)):A===0&&(B[y].hidden=!0);break;default:if(_&&_.WTF)throw new Error("SYLK bad record "+ie)}z<1&&(fe=null);break;default:if(_&&_.WTF)throw new Error("SYLK bad record "+ie)}}return B.length>0&&(O["!rows"]=B),T.length>0&&(O["!cols"]=T),T.forEach(function(G){Tu(G)}),_&&_.sheetRows&&(R=R.slice(0,_.sheetRows)),[R,O,j]}function o(u,_){var w=a(u,_),y=w[0],v=w[1],E=w[2],S=On(_);S.date1904=(((E||{}).Workbook||{}).WBProps||{}).date1904;var R=r0(y,S);Kr(v).forEach(function(fe){R[fe]=v[fe]});var re=t0(R,_);return Kr(E).forEach(function(fe){re[fe]=E[fe]}),re.bookType="sylk",re}function f(u,_,w,y,v,E){var S="C;Y"+(w+1)+";X"+(y+1)+";K";switch(u.t){case"n":S+=isFinite(u.v)?u.v||0:Gn[isNaN(u.v)?36:7],u.f&&!u.F&&(S+=";E"+ec(u.f,{r:w,c:y}));break;case"b":S+=u.v?"TRUE":"FALSE";break;case"e":S+=u.w||Gn[u.v]||u.v;break;case"d":S+=xn(Jn(u.v,E),E);break;case"s":S+='"'+(u.v==null?"":String(u.v)).replace(/"/g,"").replace(/;/g,";;")+'"';break}return S}function l(u,_,w){var y="C;Y"+(_+1)+";X"+(w+1)+";A";return y+=i(u.map(function(v){return v.t}).join("")),y}function h(u,_){_.forEach(function(w,y){var v="F;W"+(y+1)+" "+(y+1)+" ";w.hidden?v+="0":(typeof w.width=="number"&&!w.wpx&&(w.wpx=Dl(w.width)),typeof w.wpx=="number"&&!w.wch&&(w.wch=Rl(w.wpx)),typeof w.wch=="number"&&(v+=Math.round(w.wch))),v.charAt(v.length-1)!=" "&&u.push(v)})}function g(u,_){_.forEach(function(w,y){var v="F;";w.hidden?v+="M0;":w.hpt?v+="M"+20*w.hpt+";":w.hpx&&(v+="M"+20*Bl(w.hpx)+";"),v.length>2&&u.push(v+"R"+(y+1))})}function p(u,_,w){_||(_={}),_._formats=["General"];var y=["ID;PSheetJS;N;E"],v=[],E=Sr(u["!ref"]||"A1"),S,R=u["!data"]!=null,re=`\r
198`,fe=(((w||{}).Workbook||{}).WBProps||{}).date1904,O="General";y.push("P;PGeneral");var B=E.s.r,T=E.s.c,Q=[];if(u["!ref"]){for(B=E.s.r;B<=E.e.r;++B)if(!(R&&!u["!data"][B])){for(Q=[],T=E.s.c;T<=E.e.c;++T)S=R?u["!data"][B][T]:u[cr(T)+ur(B)],!(!S||!S.c)&&Q.push(l(S.c,B,T));Q.length&&v.push(Q.join(re))}}if(u["!ref"]){for(B=E.s.r;B<=E.e.r;++B)if(!(R&&!u["!data"][B])){for(Q=[],T=E.s.c;T<=E.e.c;++T)if(S=R?u["!data"][B][T]:u[cr(T)+ur(B)],!(!S||S.v==null&&(!S.f||S.F))){if((S.z||(S.t=="d"?Ar[14]:"General"))!=O){var A=_._formats.indexOf(S.z);A==-1&&(_._formats.push(S.z),A=_._formats.length-1,y.push("P;P"+S.z.replace(/;/g,";;"))),Q.push("F;P"+A+";Y"+(B+1)+";X"+(T+1))}Q.push(f(S,u,B,T,_,fe))}v.push(Q.join(re))}}return y.push("F;P0;DG0G8;M255"),u["!cols"]&&h(y,u["!cols"]),u["!rows"]&&g(y,u["!rows"]),u["!ref"]&&y.push("B;Y"+(E.e.r-E.s.r+1)+";X"+(E.e.c-E.s.c+1)+";D"+[E.s.c,E.s.r,E.e.c,E.e.r].join(" ")),y.push("O;L;D;B"+(fe?";V4":"")+";K47;G100 0.001"),delete _._formats,y.join(re)+re+v.join(re)+re+"E"+re}return{to_workbook:o,from_sheet:p}}(),J3=function(){function e(o,f){switch(f.type){case"base64":return r(ls(o),f);case"binary":return r(o,f);case"buffer":return r(nr&&Buffer.isBuffer(o)?o.toString("binary"):Vs(o),f);case"array":return r(pu(o),f)}throw new Error("Unrecognized type "+f.type)}function r(o,f){for(var l=o.split(`
199`),h=-1,g=-1,p=0,u=[];p!==l.length;++p){if(l[p].trim()==="BOT"){u[++h]=[],g=0;continue}if(!(h<0)){var _=l[p].trim().split(","),w=_[0],y=_[1];++p;for(var v=l[p]||"";(v.match(/["]/g)||[]).length&1&&p<l.length-1;)v+=`
200`+l[++p];switch(v=v.trim(),+w){case-1:if(v==="BOT"){u[++h]=[],g=0;continue}else if(v!=="EOD")throw new Error("Unrecognized DIF special command "+v);break;case 0:v==="TRUE"?u[h][g]=!0:v==="FALSE"?u[h][g]=!1:isNaN(Da(y))?isNaN(Cl(y).getDate())?u[h][g]=y:(u[h][g]=Jn(y),f&&f.UTC||(u[h][g]=Yo(u[h][g]))):u[h][g]=Da(y),++g;break;case 1:v=v.slice(1,v.length-1),v=v.replace(/""/g,'"'),v&&v.match(/^=".*"$/)&&(v=v.slice(2,-1)),u[h][g++]=v!==""?v:null;break}if(v==="EOD")break}}return f&&f.sheetRows&&(u=u.slice(0,f.sheetRows)),u}function t(o,f){return r0(e(o,f),f)}function n(o,f){var l=t0(t(o,f),f);return l.bookType="dif",l}function i(o,f){return"0,"+String(o)+`\r
201`+f}function a(o){return`1,0\r
202"`+o.replace(/"/g,'""')+'"'}function s(o){if(!o["!ref"])throw new Error("Cannot export empty sheet to DIF");for(var f=Sr(o["!ref"]),l=o["!data"]!=null,h=[`TABLE\r
2030,1\r
204"sheetjs"\r
205`,`VECTORS\r
2060,`+(f.e.r-f.s.r+1)+`\r
207""\r
208`,`TUPLES\r
2090,`+(f.e.c-f.s.c+1)+`\r
210""\r
211`,`DATA\r
2120,0\r
213""\r
214`],g=f.s.r;g<=f.e.r;++g){for(var p=l?o["!data"][g]:[],u=`-1,0\r
215BOT\r
216`,_=f.s.c;_<=f.e.c;++_){var w=l?p&&p[_]:o[Cr({r:g,c:_})];if(w==null){u+=`1,0\r
217""\r
218`;continue}switch(w.t){case"n":w.w!=null?u+="0,"+w.w+`\r
219V`:w.v!=null?u+=i(w.v,"V"):w.f!=null&&!w.F?u+=a("="+w.f):u+=`1,0\r
220""`;break;case"b":u+=w.v?i(1,"TRUE"):i(0,"FALSE");break;case"s":u+=a(isNaN(+w.v)?w.v:'="'+w.v+'"');break;case"d":w.w||(w.w=Ba(w.z||Ar[14],xn(Jn(w.v)))),u+=i(w.w,"V");break;default:u+=`1,0\r
221""`}u+=`\r
222`}h.push(u)}return h.join("")+`-1,0\r
223EOD`}return{to_workbook:n,to_sheet:t,from_sheet:s}}(),O5=function(){function e(g){return g.replace(/\\b/g,"\\").replace(/\\c/g,":").replace(/\\n/g,`
224`)}function r(g){return g.replace(/\\/g,"\\b").replace(/:/g,"\\c").replace(/\n/g,"\\n")}function t(g,p){for(var u=g.split(`
225`),_=-1,w=-1,y=0,v=[];y!==u.length;++y){var E=u[y].trim().split(":");if(E[0]==="cell"){var S=Fr(E[1]);if(v.length<=S.r)for(_=v.length;_<=S.r;++_)v[_]||(v[_]=[]);switch(_=S.r,w=S.c,E[2]){case"t":v[_][w]=e(E[3]);break;case"v":v[_][w]=+E[3];break;case"vtf":var R=E[E.length-1];case"vtc":switch(E[3]){case"nl":v[_][w]=!!+E[4];break;default:v[_][w]=E[E.length-1].charAt(0)=="#"?{t:"e",v:la[E[E.length-1]]}:+E[4];break}E[2]=="vtf"&&(v[_][w]=[v[_][w],R])}}}return p&&p.sheetRows&&(v=v.slice(0,p.sheetRows)),v}function n(g,p){return r0(t(g,p),p)}function i(g,p){return t0(n(g,p),p)}var a=["socialcalc:version:1.5","MIME-Version: 1.0","Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave"].join(`
226`),s=["--SocialCalcSpreadsheetControlSave","Content-type: text/plain; charset=UTF-8"].join(`
227`)+`
228`,o=["# SocialCalc Spreadsheet Control Save","part:sheet"].join(`
229`),f="--SocialCalcSpreadsheetControlSave--";function l(g){if(!g||!g["!ref"])return"";for(var p=[],u=[],_,w="",y=gn(g["!ref"]),v=g["!data"]!=null,E=y.s.r;E<=y.e.r;++E)for(var S=y.s.c;S<=y.e.c;++S)if(w=Cr({r:E,c:S}),_=v?(g["!data"][E]||[])[S]:g[w],!(!_||_.v==null||_.t==="z")){switch(u=["cell",w,"t"],_.t){case"s":u.push(r(_.v));break;case"b":u[2]="vt"+(_.f?"f":"c"),u[3]="nl",u[4]=_.v?"1":"0",u[5]=r(_.f||(_.v?"TRUE":"FALSE"));break;case"d":var R=xn(Jn(_.v));u[2]="vtc",u[3]="nd",u[4]=""+R,u[5]=_.w||Ba(_.z||Ar[14],R);break;case"n":isFinite(_.v)?_.f?(u[2]="vtf",u[3]="n",u[4]=_.v,u[5]=r(_.f)):(u[2]="v",u[3]=_.v):(u[2]="vt"+(_.f?"f":"c"),u[3]="e"+Gn[isNaN(_.v)?36:7],u[4]="0",u[5]=_.f||u[3].slice(1),u[6]="e",u[7]=u[3].slice(1));break;case"e":continue}p.push(u.join(":"))}return p.push("sheet:c:"+(y.e.c-y.s.c+1)+":r:"+(y.e.r-y.s.r+1)+":tvf:1"),p.push("valueformat:1:text-wiki"),p.join(`
230`)}function h(g){return[a,s,o,s,l(g),f].join(`
231`)}return{to_workbook:i,to_sheet:n,from_sheet:h}}(),Q3=function(){function e(h,g,p,u,_){_.raw?g[p][u]=h:h===""||(h==="TRUE"?g[p][u]=!0:h==="FALSE"?g[p][u]=!1:isNaN(Da(h))?isNaN(Cl(h).getDate())?h.charCodeAt(0)==35&&la[h]!=null?g[p][u]={t:"e",v:la[h],w:h}:g[p][u]=h:g[p][u]=Jn(h):g[p][u]=Da(h))}function r(h,g){var p=g||{},u=[];if(!h||h.length===0)return u;for(var _=h.split(/[\r\n]/),w=_.length-1;w>=0&&_[w].length===0;)--w;for(var y=10,v=0,E=0;E<=w;++E)v=_[E].indexOf(" "),v==-1?v=_[E].length:v++,y=Math.max(y,v);for(E=0;E<=w;++E){u[E]=[];var S=0;for(e(_[E].slice(0,y).trim(),u,E,S,p),S=1;S<=(_[E].length-y)/10+1;++S)e(_[E].slice(y+(S-1)*10,y+S*10).trim(),u,E,S,p)}return p.sheetRows&&(u=u.slice(0,p.sheetRows)),u}var t={44:",",9:"	",59:";",124:"|"},n={44:3,9:2,59:1,124:0};function i(h){for(var g={},p=!1,u=0,_=0;u<h.length;++u)(_=h.charCodeAt(u))==34?p=!p:!p&&_ in t&&(g[_]=(g[_]||0)+1);_=[];for(u in g)Object.prototype.hasOwnProperty.call(g,u)&&_.push([g[u],u]);if(!_.length){g=n;for(u in g)Object.prototype.hasOwnProperty.call(g,u)&&_.push([g[u],u])}return _.sort(function(w,y){return w[0]-y[0]||n[w[1]]-n[y[1]]}),t[_.pop()[1]]||44}function a(h,g){var p=g||{},u="",_={};p.dense&&(_["!data"]=[]);var w={s:{c:0,r:0},e:{c:0,r:0}};h.slice(0,4)=="sep="?h.charCodeAt(5)==13&&h.charCodeAt(6)==10?(u=h.charAt(4),h=h.slice(7)):h.charCodeAt(5)==13||h.charCodeAt(5)==10?(u=h.charAt(4),h=h.slice(6)):u=i(h.slice(0,1024)):p&&p.FS?u=p.FS:u=i(h.slice(0,1024));var y=0,v=0,E=0,S=0,R=0,re=u.charCodeAt(0),fe=!1,O=0,B=h.charCodeAt(0),T=p.dateNF!=null?nw(p.dateNF):null;function Q(){var A=h.slice(S,R);A.slice(-1)=="\r"&&(A=A.slice(0,-1));var P={};if(A.charAt(0)=='"'&&A.charAt(A.length-1)=='"'&&(A=A.slice(1,-1).replace(/""/g,'"')),p.cellText!==!1&&(P.w=A),A.length===0)P.t="z";else if(p.raw)P.t="s",P.v=A;else if(A.trim().length===0)P.t="s",P.v=A;else if(A.charCodeAt(0)==61)A.charCodeAt(1)==34&&A.charCodeAt(A.length-1)==34?(P.t="s",P.v=A.slice(2,-1).replace(/""/g,'"')):Qy(A)?(P.t="s",P.f=A.slice(1),P.v=A):(P.t="s",P.v=A);else if(A=="TRUE")P.t="b",P.v=!0;else if(A=="FALSE")P.t="b",P.v=!1;else if(!isNaN(E=Da(A)))P.t="n",P.v=E;else if(!isNaN((E=Cl(A)).getDate())||T&&A.match(T)){if(P.z=p.dateNF||Ar[14],T&&A.match(T)){var j=iw(A,p.dateNF,A.match(T)||[]);E=Jn(j),p&&p.UTC===!1&&(E=Yo(E))}else p&&p.UTC===!1?E=Yo(E):p.cellText!==!1&&p.dateNF&&(P.w=Ba(P.z,E));p.cellDates?(P.t="d",P.v=E):(P.t="n",P.v=xn(E)),p.cellNF||delete P.z}else A.charCodeAt(0)==35&&la[A]!=null?(P.t="e",P.w=A,P.v=la[A]):(P.t="s",P.v=A);if(P.t=="z"||(p.dense?(_["!data"][y]||(_["!data"][y]=[]),_["!data"][y][v]=P):_[Cr({c:v,r:y}
vendor: 25,369 bytes, lines 231-234
231)]=P),S=R+1,B=h.charCodeAt(S),w.e.c<v&&(w.e.c=v),w.e.r<y&&(w.e.r=y),O==re)++v;else if(v=0,++y,p.sheetRows&&p.sheetRows<=y)return!0}e:for(;R<h.length;++R)switch(O=h.charCodeAt(R)){case 34:B===34&&(fe=!fe);break;case 13:if(fe)break;h.charCodeAt(R+1)==10&&++R;case re:case 10:if(!fe&&Q())break e;break}return R-S>0&&Q(),_["!ref"]=Zr(w),_}function s(h,g){return!(g&&g.PRN)||g.FS||h.slice(0,4)=="sep="||h.indexOf("	")>=0||h.indexOf(",")>=0||h.indexOf(";")>=0?a(h,g):r0(r(h,g),g)}function o(h,g){var p="",u=g.type=="string"?[0,0,0,0]:TS(h,g);switch(g.type){case"base64":p=ls(h);break;case"binary":p=h;break;case"buffer":g.codepage==65001?p=h.toString("utf8"):g.codepage&&typeof F0<"u"?p=F0.utils.decode(g.codepage,h):p=nr&&Buffer.isBuffer(h)?h.toString("binary"):Vs(h);break;case"array":p=pu(h);break;case"string":p=h;break;default:throw new Error("Unrecognized type "+g.type)}return u[0]==239&&u[1]==187&&u[2]==191?p=zo(p.slice(3)):g.type!="string"&&g.type!="buffer"&&g.codepage==65001?p=zo(p):g.type=="binary"&&typeof F0<"u"&&g.codepage&&(p=F0.utils.decode(g.codepage,F0.utils.encode(28591,p))),p.slice(0,19)=="socialcalc:version:"?O5.to_sheet(g.type=="string"?p:zo(p),g):s(p,g)}function f(h,g){return t0(o(h,g),g)}function l(h){var g=[];if(!h["!ref"])return"";for(var p=Sr(h["!ref"]),u,_=h["!data"]!=null,w=p.s.r;w<=p.e.r;++w){for(var y=[],v=p.s.c;v<=p.e.c;++v){var E=Cr({r:w,c:v});if(u=_?(h["!data"][w]||[])[v]:h[E],!u||u.v==null){y.push("          ");continue}for(var S=(u.w||(Ma(u),u.w)||"").slice(0,10);S.length<10;)S+=" ";y.push(S+(v===0?" ":""))}g.push(y.join(""))}return g.join(`
232`)}return{to_workbook:f,to_sheet:o,from_sheet:l}}(),gd=function(){function e(k,X,z){if(k){Wn(k,k.l||0);for(var G=z.Enum||q;k.l<k.length;){var me=k.read_shift(2),Ce=G[me]||G[65535],Ie=k.read_shift(2),M=k.l+Ie,Ne=Ce.f&&Ce.f(k,Ie,z);if(k.l=M,X(Ne,Ce,me))return}}}function r(k,X){switch(X.type){case"base64":return n(hi(ls(k)),X);case"binary":return n(hi(k),X);case"buffer":case"array":return n(k,X)}throw"Unsupported type "+X.type}var t=["mmmm","dd-mmm-yyyy","dd-mmm","mmm-yyyy","@","mm/dd","hh:mm:ss AM/PM","hh:mm AM/PM","mm/dd/yyyy","mm/dd","hh:mm:ss","hh:mm"];function n(k,X){if(!k)return k;var z=X||{},G={},me="Sheet1",Ce="",Ie=0,M={},Ne=[],et=[],$e=[];z.dense&&($e=G["!data"]=[]);var ke={s:{r:0,c:0},e:{r:0,c:0}},it=z.sheetRows||0,tt={};if(k[4]==81&&k[5]==80&&k[6]==87)return de(k,X);if(k[2]==0&&(k[3]==8||k[3]==9)&&k.length>=16&&k[14]==5&&k[15]===108)throw new Error("Unsupported Works 3 for Mac file");if(k[2]==2)z.Enum=q,e(k,function(je,Tt,Pt){switch(Pt){case 0:z.vers=je,je>=4096&&(z.qpro=!0);break;case 255:z.vers=je,z.works=!0;break;case 6:ke=je;break;case 204:je&&(Ce=je);break;case 222:Ce=je;break;case 15:case 51:(!z.qpro&&!z.works||Pt==51)&&je[1].v.charCodeAt(0)<48&&(je[1].v=je[1].v.slice(1)),(z.works||z.works2)&&(je[1].v=je[1].v.replace(/\r\n/g,`
233`));case 13:case 14:case 16:(je[2]&112)==112&&(je[2]&15)>1&&(je[2]&15)<15&&(je[1].z=z.dateNF||t[(je[2]&15)-1]||Ar[14],z.cellDates&&(je[1].v=jo(je[1].v),je[1].t=typeof je[1].v=="number"?"n":"d")),z.qpro&&je[3]>Ie&&(G["!ref"]=Zr(ke),M[me]=G,Ne.push(me),G={},z.dense&&($e=G["!data"]=[]),ke={s:{r:0,c:0},e:{r:0,c:0}},Ie=je[3],me=Ce||"Sheet"+(Ie+1),Ce="");var vt=z.dense?($e[je[0].r]||[])[je[0].c]:G[Cr(je[0])];if(vt){vt.t=je[1].t,vt.v=je[1].v,je[1].z!=null&&(vt.z=je[1].z),je[1].f!=null&&(vt.f=je[1].f),tt=vt;break}z.dense?($e[je[0].r]||($e[je[0].r]=[]),$e[je[0].r][je[0].c]=je[1]):G[Cr(je[0])]=je[1],tt=je[1];break;case 21509:z.works2=!0;break;case 21506:je==5281&&(tt.z="hh:mm:ss",z.cellDates&&tt.t=="n"&&(tt.v=jo(tt.v),tt.t=typeof tt.v=="number"?"n":"d"));break}},z);else if(k[2]==26||k[2]==14)z.Enum=te,k[2]==14&&(z.qpro=!0,k.l=0),e(k,function(je,Tt,Pt){switch(Pt){case 204:me=je;break;case 22:je[1].v.charCodeAt(0)<48&&(je[1].v=je[1].v.slice(1)),je[1].v=je[1].v.replace(/\x0F./g,function(vt){return String.fromCharCode(vt.charCodeAt(1)-32)}).replace(/\r\n/g,`
234`);case 23:case 24:case 25:case 37:case 39:case 40:if(je[3]>Ie&&(G["!ref"]=Zr(ke),M[me]=G,Ne.push(me),G={},z.dense&&($e=G["!data"]=[]),ke={s:{r:0,c:0},e:{r:0,c:0}},Ie=je[3],me="Sheet"+(Ie+1)),it>0&&je[0].r>=it)break;z.dense?($e[je[0].r]||($e[je[0].r]=[]),$e[je[0].r][je[0].c]=je[1]):G[Cr(je[0])]=je[1],ke.e.c<je[0].c&&(ke.e.c=je[0].c),ke.e.r<je[0].r&&(ke.e.r=je[0].r);break;case 27:je[14e3]&&(et[je[14e3][0]]=je[14e3][1]);break;case 1537:et[je[0]]=je[1],je[0]==Ie&&(me=je[1]);break}},z);else throw new Error("Unrecognized LOTUS BOF "+k[2]);if(G["!ref"]=Zr(ke),M[Ce||me]=G,Ne.push(Ce||me),!et.length)return{SheetNames:Ne,Sheets:M};for(var ft={},Ue=[],pt=0;pt<et.length;++pt)M[Ne[pt]]?(Ue.push(et[pt]||Ne[pt]),ft[et[pt]]=M[et[pt]]||M[Ne[pt]]):(Ue.push(et[pt]),ft[et[pt]]={"!ref":"A1"});return{SheetNames:Ue,Sheets:ft}}function i(k,X){var z=X||{};if(+z.codepage>=0&&K0(+z.codepage),z.type=="string")throw new Error("Cannot write WK1 to JS string");var G=Pn();if(!k["!ref"])throw new Error("Cannot export empty sheet to WK1");var me=Sr(k["!ref"]),Ce=k["!data"]!=null,Ie=[];He(G,0,s(1030)),He(G,6,l(me));for(var M=Math.min(me.e.r,8191),Ne=me.s.c;Ne<=me.e.c;++Ne)Ie[Ne]=cr(Ne);for(var et=me.s.r;et<=M;++et){var $e=ur(et);for(Ne=me.s.c;Ne<=me.e.c;++Ne){var ke=Ce?(k["!data"][et]||[])[Ne]:k[Ie[Ne]+$e];if(!(!ke||ke.t=="z"))switch(ke.t){case"n":(ke.v|0)==ke.v&&ke.v>=-32768&&ke.v<=32767?He(G,13,y(et,Ne,ke)):He(G,14,E(et,Ne,ke));break;case"d":var it=xn(ke.v);(it|0)==it&&it>=-32768&&it<=32767?He(G,13,y(et,Ne,{t:"n",v:it,z:ke.z||Ar[14]})):He(G,14,E(et,Ne,{t:"n",v:it,z:ke.z||Ar[14]}));break;default:var tt=Ma(ke);He(G,15,u(et,Ne,tt.slice(0,239)))}}}return He(G,1),G.end()}function a(k,X){var z=X||{};if(+z.codepage>=0&&K0(+z.codepage),z.type=="string")throw new Error("Cannot write WK3 to JS string");var G=Pn();He(G,0,o(k));for(var me=0,Ce=0;me<k.SheetNames.length;++me)(k.Sheets[k.SheetNames[me]]||{})["!ref"]&&He(G,27,L(k.SheetNames[me],Ce++));var Ie=0;for(me=0;me<k.SheetNames.length;++me){var M=k.Sheets[k.SheetNames[me]];if(!(!M||!M["!ref"])){for(var Ne=Sr(M["!ref"]),et=M["!data"]!=null,$e=[],ke=Math.min(Ne.e.r,8191),it=Ne.s.r;it<=ke;++it)for(var tt=ur(it),ft=Ne.s.c;ft<=Ne.e.c;++ft){it===Ne.s.r&&($e[ft]=cr(ft));var Ue=$e[ft]+tt,pt=et?(M["!data"][it]||[])[ft]:M[Ue];if(!(!pt||pt.t=="z"))if(pt.t=="n")He(G,23,j(it,ft,Ie,pt.v));else{var je=Ma(pt);He(G,22,Q(it,ft,Ie,je.slice(0,239)))}}++Ie}}return He(G,1),G.end()}function s(k){var X=Ee(2);return X.write_shift(2,k),X}function o(k){var X=Ee(26);X.write_shift(2,4096),X.write_shift(2,4),X.write_shift(4,0);for(var z=0,G=0,me=0,Ce=0;Ce<k.SheetNames.length;++Ce){var Ie=k.SheetNames[Ce],M=k.Sheets[Ie];if(!(!M||!M["!ref"])){++me;var Ne=gn(M["!ref"]);z<Ne.e.r&&(z=Ne.e.r),G<Ne.e.c&&(G=Ne.e.c)}}return z>8191&&(z=8191),X.write_shift(2,z),X.write_shift(1,me),X.write_shift(1,G),X.write_shift(2,0),X.write_shift(2,0),X.write_shift(1,1),X.write_shift(1,2),X.write_shift(4,0),X.write_shift(4,0),X}function f(k,X,z){var G={s:{c:0,r:0},e:{c:0,r:0}};return X==8&&z.qpro?(G.s.c=k.read_shift(1),k.l++,G.s.r=k.read_shift(2),G.e.c=k.read_shift(1),k.l++,G.e.r=k.read_shift(2),G):(G.s.c=k.read_shift(2),G.s.r=k.read_shift(2),X==12&&z.qpro&&(k.l+=2),G.e.c=k.read_shift(2),G.e.r=k.read_shift(2),X==12&&z.qpro&&(k.l+=2),G.s.c==65535&&(G.s.c=G.e.c=G.s.r=G.e.r=0),G)}function l(k){var X=Ee(8);return X.write_shift(2,k.s.c),X.write_shift(2,k.s.r),X.write_shift(2,k.e.c),X.write_shift(2,k.e.r),X}function h(k,X,z){var G=[{c:0,r:0},{t:"n",v:0},0,0];return z.qpro&&z.vers!=20768?(G[0].c=k.read_shift(1),G[3]=k.read_shift(1),G[0].r=k.read_shift(2),k.l+=2):z.works?(G[0].c=k.read_shift(2),G[0].r=k.read_shift(2),G[2]=k.read_shift(2)):(G[2]=k.read_shift(1),G[0].c=k.read_shift(2),G[0].r=k.read_shift(2)),G}function g(k){return k.z&&$s(k.z)?240|(t.indexOf(k.z)+1||2):255}function p(k,X,z){var G=k.l+X,me=h(k,X,z);if(me[1].t="s",(z.vers&65534)==20768){k.l++;var Ce=k.read_shift(1);return me[1].v=k.read_shift(Ce,"utf8"),me}return z.qpro&&k.l++,me[1].v=k.read_shift(G-k.l,"cstr"),me}function u(k,X,z){var G=Ee(7+z.length);G.write_shift(1,255),G.write_shift(2,X),G.write_shift(2,k),G.write_shift(1,39);for(var me=0;me<G.length;++me){var Ce=z.charCodeAt(me);G.write_shift(1,Ce>=128?95:Ce)}return G.write_shift(1,0),G}function _(k,X,z){var G=k.l+X,me=h(k,X,z);if(me[1].t="s",z.vers==20768){var Ce=k.read_shift(1);return me[1].v=k.read_shift(Ce,"utf8"),me}return me[1].v=k.read_shift(G-k.l,"cstr"),me}function w(k,X,z){var G=h(k,X,z);return G[1].v=k.read_shift(2,"i"),G}function y(k,X,z){var G=Ee(7);return G.write_shift(1,g(z)),G.write_shift(2,X),G.write_shift(2,k),G.write_shift(2,z.v,"i"),G}function v(k,X,z){var G=h(k,X,z);return G[1].v=k.read_shift(8,"f"),G}function E(k,X,z){var G=Ee(13);return G.write_shift(1,g(z)),G.write_shift(2,X),G.write_shift(2,k),G.write_shift(8,z.v,"f"),G}function S(k,X,z){var G=k.l+X,me=h(k,X,z);if(me[1].v=k.read_shift(8,"f"),z.qpro)k.l=G;else{var Ce=k.read_shift(2);O(k.slice(k.l,k.l+Ce),me),k.l+=Ce}return me}function R(k,X,z){var G=X&32768;return X&=-32769,X=(G?k:0)+(X>=8192?X-16384:X),(G?"":"$")+(z?cr(X):ur(X))}var re={31:["NA",0],33:["ABS",1],34:["TRUNC",1],35:["SQRT",1],36:["LOG",1],37:["LN",1],38:["PI",0],39:["SIN",1],40:["COS",1],41:["TAN",1],42:["ATAN2",2],43:["ATAN",1],44:["ASIN",1],45:["ACOS",1],46:["EXP",1],47:["MOD",2],49:["ISNA",1],50:["ISERR",1],51:["FALSE",0],52:["TRUE",0],53:["RAND",0],54:["DATE",3],63:["ROUND",2],64:["TIME",3],68:["ISNUMBER",1],69:["ISTEXT",1],70:["LEN",1],71:["VALUE",1],73:["MID",3],74:["CHAR",1],80:["SUM",69],81:["AVERAGEA",69],82:["COUNTA",69],83:["MINA",69],84:["MAXA",69],102:["UPPER",1],103:["LOWER",1],107:["PROPER",1],109:["TRIM",1],111:["T",1]},fe=["","","","","","","","","","+","-","*","/","^","=","<>","<=",">=","<",">","","","","","&","","","","","","",""];function O(k,X){Wn(k,0);for(var z=[],G=0,me="",Ce="",Ie="",M="";k.l<k.length;){var Ne=k[k.l++];switch(Ne){case 0:z.push(k.read_shift(8,"f"));break;case 1:Ce=R(X[0].c,k.read_shift(2),!0),me=R(X[0].r,k.read_shift(2),!1),z.push(Ce+me);break;case 2:{var et=R(X[0].c,k.read_shift(2),!0),$e=R(X[0].r,k.read_shift(2),!1);Ce=R(X[0].c,k.read_shift(2),!0),me=R(X[0].r,k.read_shift(2),!1),z.push(et+$e+":"+Ce+me)}break;case 3:if(k.l<k.length){console.error("WK1 premature formula end");return}break;case 4:z.push("("+z.pop()+")");break;case 5:z.push(k.read_shift(2));break;case 6:{for(var ke="";Ne=k[k.l++];)ke+=String.fromCharCode(Ne);z.push('"'+ke.replace(/"/g,'""')+'"')}break;case 8:z.push("-"+z.pop());break;case 23:z.push("+"+z.pop());break;case 22:z.push("NOT("+z.pop()+")");break;case 20:case 21:M=z.pop(),Ie=z.pop(),z.push(["AND","OR"][Ne-20]+"("+Ie+","+M+")");break;default:if(Ne<32&&fe[Ne])M=z.pop(),Ie=z.pop(),z.push(Ie+fe[Ne]+M);else if(re[Ne]){if(G=re[Ne][1],G==69&&(G=k[k.l++]),G>z.length){console.error("WK1 bad formula parse 0x"+Ne.toString(16)+":|"+z.join("|")+"|");return}var it=z.slice(-G);z.length-=G,z.push(re[Ne][0]+"("+it.join(",")+")")}else return Ne<=7?console.error("WK1 invalid opcode "+Ne.toString(16)):Ne<=24?console.error("WK1 unsupported op "+Ne.toString(16)):Ne<=30?console.error("WK1 invalid opcode "+Ne.toString(16)):Ne<=115?console.error("WK1 unsupported function opcode "+Ne.toString(16)):console.error("WK1 unrecognized opcode "+Ne.toString(16))}}z.length==1?X[1].f=""+z[0]:console.error("WK1 bad formula parse |"+z.join("|")+"|")}function B(k){var X=[{c:0,r:0},{t:"n",v:0},0];return X[0].r=k.read_shift(2),X[3]=k[k.l++],X[0].c=k[k.l++],X}function T(k,X){var z=B(k);return z[1].t="s",z[1].v=k.read_shift(X-4,"cstr"),z}function Q(k,X,z,G){var me=Ee(6+G.length);me.write_shift(2,k),me.write_shift(1,z),me.write_shift(1,X),me.write_shift(1,39);for(var Ce=0;Ce<G.length;++Ce){var Ie=G.charCodeAt(Ce);me.write_shift(1,Ie>=128?95:Ie)}return me.write_shift(1,0),me}function A(k,X){var z=B(k);z[1].v=k.read_shift(2);var G=z[1].v>>1;if(z[1].v&1)switch(G&7){case 0:G=(G>>3)*5e3;break;case 1:G=(G>>3)*500;break;case 2:G=(G>>3)/20;break;case 3:G=(G>>3)/200;break;case 4:G=(G>>3)/2e3;break;case 5:G=(G>>3)/2e4;break;case 6:G=(G>>3)/16;break;case 7:G=(G>>3)/64;break}return z[1].v=G,z}function P(k,X){var z=B(k),G=k.read_shift(4),me=k.read_shift(4),Ce=k.read_shift(2);if(Ce==65535)return G===0&&me===3221225472?(z[1].t="e",z[1].v=15):G===0&&me===3489660928?(z[1].t="e",z[1].v=42):z[1].v=0,z;var Ie=Ce&32768;return Ce=(Ce&32767)-16446,z[1].v=(1-Ie*2)*(me*Math.pow(2,Ce+32)+G*Math.pow(2,Ce)),z}function j(k,X,z,G){var me=Ee(14);if(me.write_shift(2,k),me.write_shift(1,z),me.write_shift(1,X),G==0)return me.write_shift(4,0),me.write_shift(4,0),me.write_shift(2,65535),me;var Ce=0,Ie=0,M=0,Ne=0;return G<0&&(Ce=1,G=-G),Ie=Math.log2(G)|0,G/=Math.pow(2,Ie-31),Ne=G>>>0,Ne&2147483648||(G/=2,++Ie,Ne=G>>>0),G-=Ne,Ne|=2147483648,Ne>>>=0,G*=Math.pow(2,32),M=G>>>0,me.write_shift(4,M),me.write_shift(4,Ne),Ie+=16383+(Ce?32768:0),me.write_shift(2,Ie),me}function ie(k,X){var z=P(k);return k.l+=X-14,z}function he(k,X){var z=B(k),G=k.read_shift(4);return z[1].v=G>>6,z}function Fe(k,X){var z=B(k),G=k.read_shift(8,"f");return z[1].v=G,z}function xe(k,X){var z=Fe(k);return k.l+=X-12,z}function ve(k,X){return k[k.l+X-1]==0?k.read_shift(X,"cstr"):""}function Le(k,X){var z=k[k.l++];z>X-1&&(z=X-1);for(var G="";G.length<z;)G+=String.fromCharCode(k[k.l++]);return G}function Ge(k,X,z){if(!(!z.qpro||X<21)){var G=k.read_shift(1);k.l+=17,k.l+=1,k.l+=2;var me=k.read_shift(X-21,"cstr");return[G,me]}}function Be(k,X){for(var z={},G=k.l+X;k.l<G;){var me=k.read_shift(2);if(me==14e3){for(z[me]=[0,""],z[me][0]=k.read_shift(2);k[k.l];)z[me][1]+=String.fromCharCode(k[k.l]),k.l++;k.l++}}return z}function L(k,X){var z=Ee(5+k.length);z.write_shift(2,14e3),z.write_shift(2,X);for(var G=0;G<k.length;++G){var me=k.charCodeAt(G);z[z.l++]=me>127?95:me}return z[z.l++]=0,z}var q={0:{n:"BOF",f:xl},1:{n:"EOF"},2:{n:"CALCMODE"},3:{n:"CALCORDER"},4:{n:"SPLIT"},5:{n:"SYNC"},6:{n:"RANGE",f},7:{n:"WINDOW1"},8:{n:"COLW1"},9:{n:"WINTWO"},10:{n:"COLW2"},11:{n:"NAME"},12:{n:"BLANK"},13:{n:"INTEGER",f:w},14:{n:"NUMBER",f:v},15:{n:"LABEL",f:p},16:{n:"FORMULA",f:S},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:_},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:ve},222:{n:"SHEETNAMELP",f:Le},255:{n:"BOF",f:xl},21506:{n:"WKSNF",f:xl},65535:{n:""}},te={0:{n:"BOF"},1:{n:"EOF"},2:{n:"PASSWORD"},3:{n:"CALCSET"},4:{n:"WINDOWSET"},5:{n:"SHEETCELLPTR"},6:{n:"SHEETLAYOUT"},7:{n:"COLUMNWIDTH"},8:{n:"HIDDENCOLUMN"},9:{n:"USERRANGE"},10:{n:"SYSTEMRANGE"},11:{n:"ZEROFORCE"},12:{n:"SORTKEYDIR"},13:{n:"FILESEAL"},14:{n:"DATAFILLNUMS"},15:{n:"PRINTMAIN"},16:{n:"PRINTSTRING"},17:{n:"GRAPHMAIN"},18:{n:"GRAPHSTRING"},19:{n:"??"},20:{n:"ERRCELL"},21:{n:"NACELL"},22:{n:"LABEL16",f:T},23:{n:"NUMBER17",f:P},24:{n:"NUMBER18",f:A},25:{n:"FORMULA19",f:ie},26:{n:"FORMULA1A"},27:{n:"XFORMAT",f:Be},28:{n:"DTLABELMISC"},29:{n:"DTLABELCELL"},30:{n:"GRAPHWINDOW"},31:{n:"CPA"},32:{n:"LPLAUTO"},33:{n:"QUERY"},34:{n:"HIDDENSHEET"},35:{n:"??"},37:{n:"NUMBER25",f:he},38:{n:"??"},39:{n:"NUMBER27",f:Fe},40:{n:"FORMULA28",f:xe},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:ve},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:Ge},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:""}},ae={5:"dd-mmm-yy",6:"dd-mmm",7:"mmm-yy",8:"mm/dd/yy",10:"hh:mm:ss AM/PM",11:"hh:mm AM/PM",14:"dd-mmm-yyyy",15:"mmm-yyyy",34:"0.00",50:"0.00;[Red]0.00",66:"0.00;(0.00)",82:"0.00;[Red](0.00)",162:'"$"#,##0.00;\\("$"#,##0.00\\)',288:"0%",304:"0E+00",320:"# ?/?"};function ce(k){var X=k.read_shift(2),z=k.read_shift(1);if(z!=0)throw"unsupported QPW string type "+z.toString(16);return k.read_shift(X,"sbcs-cont")}function de(k,X){Wn(k,0);var z=X||{},G={};z.dense&&(G["!data"]=[]);var me=[],Ce="",Ie={s:{r:-1,c:-1},e:{r:-1,c:-1}},M=0,Ne=0,et=0,$e=0,ke={SheetNames:[],Sheets:{}},it=[];e:for(;k.l<k.length;){var tt=k.read_shift(2),ft=k.read_shift(2),Ue=k.slice(k.l,k.l+ft);switch(Wn(Ue,0),tt){case 1:if(Ue.read_shift(4)!=962023505)throw"Bad QPW9 BOF!";break;case 2:break e;case 8:break;case 10:for(var pt=Ue.read_shift(4),je=(Ue.length-Ue.l)/pt|0,Tt=0;Tt<pt;++Tt){var Pt=Ue.l+je,vt={};Ue.l+=2,vt.numFmtId=Ue.read_shift(2),ae[vt.numFmtId]&&(vt.z=ae[vt.numFmtId]),Ue.l=Pt,it.push(vt)}break;case 1025:break;case 1026:break;case 1031:for(Ue.l+=12;Ue.l<Ue.length;)M=Ue.read_shift(2),Ne=Ue.read_shift(1),me.push(Ue.read_shift(M,"cstr"));break;case 1032:break;case 1537:{var ct=Ue.read_shift(2);G={},z.dense&&(G["!data"]=[]),Ie.s.c=Ue.read_shift(2),Ie.e.c=Ue.read_shift(2),Ie.s.r=Ue.read_shift(4),Ie.e.r=Ue.read_shift(4),Ue.l+=4,Ue.l+2<Ue.length&&(M=Ue.read_shift(2),Ne=Ue.read_shift(1),Ce=M==0?"":Ue.read_shift(M,"cstr")),Ce||(Ce=cr(ct))}break;case 1538:{if(Ie.s.c>255||Ie.s.r>999999)break;Ie.e.c<Ie.s.c&&(Ie.e.c=Ie.s.c),Ie.e.r<Ie.s.r&&(Ie.e.r=Ie.s.r),G["!ref"]=Zr(Ie),Cu(ke,G,Ce)}break;case 2561:et=Ue.read_shift(2),Ie.e.c<et&&(Ie.e.c=et),Ie.s.c>et&&(Ie.s.c=et),$e=Ue.read_shift(4),Ie.s.r>$e&&(Ie.s.r=$e),$e=Ue.read_shift(4),Ie.e.r<$e&&(Ie.e.r=$e);break;case 3073:{$e=Ue.read_shift(4),M=Ue.read_shift(4),Ie.s.r>$e&&(Ie.s.r=$e),Ie.e.r<$e+M-1&&(Ie.e.r=$e+M-1);for(var Ct=cr(et);Ue.l<Ue.length;){var se={t:"z"},Ye=Ue.read_shift(1),st=-1;Ye&128&&(st=Ue.read_shift(2));var lt=Ye&64?Ue.read_shift(2)-1:0;switch(Ye&31){case 0:break;case 1:break;case 2:se={t:"n",v:Ue.read_shift(2)};break;case 3:se={t:"n",v:Ue.read_shift(2,"i")};break;case 4:se={t:"n",v:Su(Ue)};break;case 5:se={t:"n",v:Ue.read_shift(8,"f")};break;case 7:se={t:"s",v:me[Ne=Ue.read_shift(4)-1]};break;case 8:se={t:"n",v:Ue.read_shift(8,"f")},Ue.l+=2,Ue.l+=4,isNaN(se.v)&&(se={t:"e",v:15});break;default:throw"Unrecognized QPW cell type "+(Ye&31)}st!=-1&&(it[st-1]||{}).z&&(se.z=it[st-1].z);var qe=0;if(Ye&32)switch(Ye&31){case 2:qe=Ue.read_shift(2);break;case 3:qe=Ue.read_shift(2,"i");break;case 7:qe=Ue.read_shift(2);break;default:throw"Unsupported delta for QPW cell type "+(Ye&31)}if(!(!z.sheetStubs&&se.t=="z")){var St=On(se);se.t=="n"&&se.z&&$s(se.z)&&z.cellDates&&(St.v=jo(se.v),St.t=typeof St.v=="number"?"n":"d"),G["!data"]!=null?(G["!data"][$e]||(G["!data"][$e]=[]),G["!data"][$e][et]=St):G[Ct+ur($e)]=St}for(++$e,--M;lt-- >0&&M>=0;){if(Ye&32)switch(Ye&31){case 2:se={t:"n",v:se.v+qe&65535};break;case 3:se={t:"n",v:se.v+qe&65535},se.v>32767&&(se.v-=65536);break;case 7:se={t:"s",v:me[Ne=Ne+qe>>>0]};break;default:throw"Cannot apply delta for QPW cell type "+(Ye&31)}else switch(Ye&31){case 1:se={t:"z"};break;case 2:se={t:"n",v:Ue.read_shift(2)};break;case 7:se={t:"s",v:me[Ne=Ue.read_shift(4)-1]};break;default:throw"Cannot apply repeat for QPW cell type "+(Ye&31)}!z.sheetStubs&&se.t=="z"||(G["!data"]!=null?(G["!data"][$e]||(G["!data"][$e]=[]),G["!data"][$e][et]=se):G[Ct+ur($e)]=se),++$e,--M}}}break;case 3074:{et=Ue.read_shift(2),$e=Ue.read_shift(4);var nt=ce(Ue);G["!data"]!=null?(G["!data"][$e]||(G["!data"][$e]=[]),G["!data"][$e][et]={t:"s",v:nt}):G[cr(et)+ur($e)]={t:"s",v:nt}}break}k.l+=ft}return ke}return{sheet_to_wk1:i,book_to_wk3:a,to_workbook:r}}(),ey=/^\s|\s$|[\t\n\r]/;function ty(e,r){if(!r.bookSST)return"";var t=[Jr];t[t.length]=Je("sst",null,{xmlns:e0[0],count:e.Count,uniqueCount:e.Unique});for(var n=0;n!=e.length;++n)if(e[n]!=null){var i=e[n],a="<si>";i.r?a+=i.r:(a+="<t",i.t||(i.t=""),typeof i.t!="string"&&(i.t=String(i.t)),i.t.match(ey)&&(a+=' xml:space="preserve"'),a+=">"+zt(i.t)+"</t>"),a+="</si>",t[t.length]=a}return t.length>2&&(t[t.length]="</sst>",t[1]=t[1].replace("/>",">")),t.join("")}function ry(e){return[e.read_shift(4),e.read_shift(4)]}function ny(e,r){return r||(r=Ee(8)),r.write_shift(4,e.Count),r.write_shift(4,e.Unique),r}var iy=qw;function ay(e){var r=Pn();ze(r,159,ny(e));for(var t=0;t<e.length;++t)ze(r,19,iy(e[t]));return ze(r,160),r.end()}function sy(e){for(var r=[],t=e.split(""),n=0;n<t.length;++n)r[n]=t[n].charCodeAt(0);return r}function D5(e){var r=0,t,n=sy(e),i=n.length+1,a,s,o,f,l;for(t=Gs(i),t[0]=n.length,a=1;a!=i;++a)t[a]=n[a-1];for(a=i-1;a>=0;--a)s=t[a],o=r&16384?1:0,f=r<<1&32767,l=o|f,r=l^s;return r^52811}function oy(e,r){var t=["{\\rtf1\\ansi"];if(!e["!ref"])return t[0]+"}";for(var n=Sr(e["!ref"]),i,a=e["!data"]!=null,s=[],o=n.s.r;o<=n.e.r;++o){t.push("\\trowd\\trautofit1");for(var f=n.s.c;f<=n.e.c;++f)t.push("\\cellx"+(f+1));for(t.push("\\pard\\intbl"),a&&(s=e["!data"][o]||[]),f=n.s.c;f<=n.e.c;++f){var l=Cr({r:o,c:f});if(i=a?s[f]:e[l],!i||i.v==null&&(!i.f||i.F)){t.push(" \\cell");continue}t.push(" "+(i.w||(Ma(i),i.w)||"").replace(/[\r\n]/g,"\\par ")),t.push("\\cell")}t.push("\\pard\\intbl\\row")}return t.join("")+"}"}function xd(e){for(var r=0,t=1;r!=3;++r)t=t*256+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().slice(1)}var fy=6,Ra=fy;function Dl(e){return Math.floor((e+Math.round(128/Ra)/256)*Ra)}function Rl(e){return Math.floor((e-5)/Ra*100+.5)/100}function Xh(e){return Math.round((e*Ra+5)/Ra*256)/256}function Tu(e){e.width?(e.wpx=Dl(e.width),e.wch=Rl(e.wpx),e.MDW=Ra):e.wpx?(e.wch=Rl(e.wpx),e.width=Xh(e.wch),e.MDW=Ra):typeof e.wch=="number"&&(e.width=Xh(e.wch),e.wpx=Dl(e.width),e.MDW=Ra),e.customWidth&&delete e.customWidth}var ly=96,R5=ly;function Bl(e){return e*96/R5}function B5(e){return e*R5/96}function cy(e){var r=["<numFmts>"];return[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var n=t[0];n<=t[1];++n)e[n]!=null&&(r[r.length]=Je("numFmt",null,{numFmtId:n,formatCode:zt(e[n])}))}),r.length===1?"":(r[r.length]="</numFmts>",r[0]=Je("numFmts",null,{count:r.length-2}).replace("/>",">"),r.join(""))}function hy(e){var r=[];return r[r.length]=Je("cellXfs",null),e.forEach(function(t){r[r.length]=Je("xf",null,t)}),r[r.length]="</cellXfs>",r.length===2?"":(r[0]=Je("cellXfs",null,{count:r.length-2}).replace("/>",">"),r.join(""))}function uy(e,r){var t=[Jr,Je("styleSheet",null,{xmlns:e0[0],"xmlns:vt":fn.vt})],n;return e.SSF&&(n=cy(e.SSF))!=null&&(t[t.length]=n),t[t.length]='<fonts count="1"><font><sz val="12"/><color theme="1"/><name val="Calibri"/><family val="2"/><scheme val="minor"/></font></fonts>',t[t.length]='<fills count="2"><fill><patternFill patternType="none"/></fill><fill><patternFill patternType="gray125"/></fill></fills>',t[t.length]='<borders count="1"><border><left/><right/><top/><bottom/><diagonal/></border></borders>',t[t.length]='<cellStyleXfs count="1"><xf numFmtId="0" fontId="0" fillId="0" borderId="0"/></cellStyleXfs>',(n=hy(r.cellXfs))&&(t[t.length]=n),t[t.length]='<cellStyles count="1"><cellStyle name="Normal" xfId="0" builtinId="0"/></cellStyles>',t[t.length]='<dxfs count="0"/>',t[t.length]='<tableStyles count="0" defaultTableStyle="TableStyleMedium9" defaultPivotStyle="PivotStyleMedium4"/>',t.length>2&&(t[t.length]="</styleSheet>",t[1]=t[1].replace("/>",">")),t.join("")}function dy(e,r){var t=e.read_shift(2),n=In(e);return[t,n]}function py(e,r,t){t||(t=Ee(6+4*r.length)),t.write_shift(2,e),nn(r,t);var n=t.length>t.l?t.slice(0,t.l):t;return t.l==null&&(t.l=t.length),n}function my(e,r,t){var n={};n.sz=e.read_shift(2)/20;var i=Zw(e);i.fItalic&&(n.italic=1),i.fCondense&&(n.condense=1),i.fExtend&&(n.extend=1),i.fShadow&&(n.shadow=1),i.fOutline&&(n.outline=1),i.fStrikeout&&(n.strike=1);var a=e.read_shift(2);switch(a===700&&(n.bold=1),e.read_shift(2)){case 1:n.vertAlign="superscript";break;case 2:n.vertAlign="subscript";break}var s=e.read_shift(1);s!=0&&(n.underline=s);var o=e.read_shift(1);o>0&&(n.family=o);var f=e.read_shift(1);switch(f>0&&(n.charset=f),e.l++,n.color=Kw(e),e.read_shift(1)){case 1:n.scheme="major";break;case 2:n.scheme="minor";break}return n.name=In(e),n}function gy(e,r){r||(r=Ee(25+4*32)),r.write_shift(2,e.sz*20),Jw(e,r),r.write_shift(2,e.bold?700:400);var t=0;e.vertAlign=="superscript"?t=1:e.vertAlign=="subscript"&&(t=2),r.write_shift(2,t),r.write_shift(1,e.underline||0),r.write_shift(1,e.family||0),r.write_shift(1,e.charset||0),r.write_shift(1,0),Il(e.color,r);var n=0;return e.scheme=="major"&&(n=1),e.scheme=="minor"&&(n=2),r.write_shift(1,n),nn(e.name,r),r.length>r.l?r.slice(0,r.l):r}var xy=["none","solid","mediumGray","darkGray","lightGray","darkHorizontal","dar
234kVertical","darkDown","darkUp","darkGrid","darkTrellis","lightHorizontal","lightVertical","lightDown","lightUp","lightGrid","lightTrellis","gray125","gray0625"],wh,vy=ua;function vd(e,r){r||(r=Ee(4*3+8*7+16*1)),wh||(wh=du(xy));var t=wh[e.patternType];t==null&&(t=40),r.write_shift(4,t);var n=0;if(t!=40)for(Il({auto:1},r),Il({auto:1},r);n<12;++n)r.write_shift(4,0);else{for(;n<4;++n)r.write_shift(4,0);for(;n<12;++n)r.write_shift(4,0)}return r.length>r.l?r.slice(0,r.l):r}function _y(e,r){var t=e.l+r,n=e.read_shift(2),i=e.read_shift(2);return e.l=t,{ixfe:n,numFmtId:i}}function M5(e,r,t){t||(t=Ee(16)),t.write_shift(2,r||0),t.write_shift(2,e.numFmtId||0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(1,0),t.write_shift(1,0);var n=0;return t.write_shift(1,n),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(1,0),t}function L0(e,r){return r||(r=Ee(10)),r.write_shift(1,0),r.write_shift(1,0),r.write_shift(4,0),r.write_shift(4,0),r}var wy=ua;function yy(e,r){return r||(r=Ee(51)),r.write_shift(1,0),L0(null,r),L0(null,r),L0(null,r),L0(null,r),L0(null,r),r.length>r.l?r.slice(0,r.l):r}function by(e,r){return r||(r=Ee(12+4*10)),r.write_shift(4,e.xfId),r.write_shift(2,1),r.write_shift(1,+e.builtinId),r.write_shift(1,0),tf(e.name||"",r),r.length>r.l?r.slice(0,r.l):r}function Ay(e,r,t){var n=Ee(2052);return n.write_shift(4,e),tf(r,n),tf(t,n),n.length>n.l?n.slice(0,n.l):n}function Sy(e,r){if(r){var t=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var i=n[0];i<=n[1];++i)r[i]!=null&&++t}),t!=0&&(ze(e,615,ji(t)),[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var i=n[0];i<=n[1];++i)r[i]!=null&&ze(e,44,py(i,r[i]))}),ze(e,616))}}function Ey(e){var r=1;ze(e,611,ji(r)),ze(e,43,gy({sz:12,color:{theme:1},name:"Calibri",family:2,scheme:"minor"})),ze(e,612)}function Ty(e){var r=2;ze(e,603,ji(r)),ze(e,45,vd({patternType:"none"})),ze(e,45,vd({patternType:"gray125"})),ze(e,604)}function Ny(e){var r=1;ze(e,613,ji(r)),ze(e,46,yy()),ze(e,614)}function Fy(e){var r=1;ze(e,626,ji(r)),ze(e,47,M5({numFmtId:0,fontId:0,fillId:0,borderId:0},65535)),ze(e,627)}function Ly(e,r){ze(e,617,ji(r.length)),r.forEach(function(t){ze(e,47,M5(t,0))}),ze(e,618)}function ky(e){var r=1;ze(e,619,ji(r)),ze(e,48,by({xfId:0,builtinId:0,name:"Normal"})),ze(e,620)}function Cy(e){var r=0;ze(e,505,ji(r)),ze(e,506)}function Py(e){var r=0;ze(e,508,Ay(r,"TableStyleMedium9","PivotStyleMedium4")),ze(e,509)}function Iy(e,r){var t=Pn();return ze(t,278),Sy(t,e.SSF),Ey(t),Ty(t),Ny(t),Fy(t),Ly(t,r.cellXfs),ky(t),Cy(t),Py(t),ze(t,279),t.end()}function U5(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw=="string")return e.raw;var t=[Jr];return t[t.length]='<a:theme xmlns:a="http://schemas.openxmlformats.org/drawingml/2006/main" name="Office Theme">',t[t.length]="<a:themeElements>",t[t.length]='<a:clrScheme name="Office">',t[t.length]='<a:dk1><a:sysClr val="windowText" lastClr="000000"/></a:dk1>',t[t.length]='<a:lt1><a:sysClr val="window" lastClr="FFFFFF"/></a:lt1>',t[t.length]='<a:dk2><a:srgbClr val="1F497D"/></a:dk2>',t[t.length]='<a:lt2><a:srgbClr val="EEECE1"/></a:lt2>',t[t.length]='<a:accent1><a:srgbClr val="4F81BD"/></a:accent1>',t[t.length]='<a:accent2><a:srgbClr val="C0504D"/></a:accent2>',t[t.length]='<a:accent3><a:srgbClr val="9BBB59"/></a:accent3>',t[t.length]='<a:accent4><a:srgbClr val="8064A2"/></a:accent4>',t[t.length]='<a:accent5><a:srgbClr val="4BACC6"/></a:accent5>',t[t.length]='<a:accent6><a:srgbClr val="F79646"/></a:accent6>',t[t.length]='<a:hlink><a:srgbClr val="0000FF"/></a:hlink>',t[t.length]='<a:folHlink><a:srgbClr val="800080"/></a:folHlink>',t[t.length]="</a:clrScheme>",t[t.length]='<a:fontScheme name="Office">',t[t.length]="<a:majorFont>",t[t.length]='<a:latin typeface="Cambria"/>',t[t.length]='<a:ea typeface=""/>',t[t.length]='<a:cs typeface=""/>',t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>',t[t.length]='<a:font script="Hans" typeface="宋体"/>',t[t.length]='<a:font script="Hant" typeface="新細明體"/>
234',t[t.length]='<a:font script="Arab" typeface="Times New Roman"/>',t[t.length]='<a:font script="Hebr" typeface="Times New Roman"/>',t[t.length]='<a:font script="Thai" typeface="Tahoma"/>',t[t.length]='<a:font script="Ethi" typeface="Nyala"/>',t[t.length]='<a:font script="Beng" typeface="Vrinda"/>',t[t.length]='<a:font script="Gujr" typeface="Shruti"/>',t[t.length]='<a:font script="Khmr" typeface="MoolBoran"/>',t[t.length]='<a:font script="Knda" typeface="Tunga"/>',t[t.length]='<a:font script="Guru" typeface="Raavi"/>',t[t.length]='<a:font script="Cans" typeface="Euphemia"/>',t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>',t[t.length]='<a:font script="Deva" typeface="Mangal"/>',t[t.length]='<a:font script="Telu" typeface="Gautami"/>',t[t.length]='<a:font script="Taml" typeface="Latha"/>',t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',t[t.length]='<a:font script="Orya" typeface="Kalinga"/>',t[t.length]='<a:font script="Mlym" typeface="Kartika"/>',t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>',t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',t[t.length]='<a:font script="Viet" typeface="Times New Roman"/>',t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>',t[t.length]="</a:majorFont>",t[t.length]="<a:minorFont>",t[t.length]='<a:latin typeface="Calibri"/>',t[t.length]='<a:ea typeface=""/>',t[t.length]='<a:cs typeface=""/>',t[t.length]='<a:font script="Jpan" typeface="MS Pゴシック"/>',t[t.length]='<a:font script="Hang" typeface="맑은 고딕"/>',t[t.length]='<a:font script="Hans" typeface="宋体"/>',t[t.length]='<a:font script="Hant" typeface="新細明體"/>',t[t.length]='<a:font script="Arab" typeface="Arial"/>',t[t.length]='<a:font script="Hebr" typeface="Arial"/>',t[t.length]='<a:font script="Thai" typeface="Tahoma"/>',t[t.length]='<a:font script="Ethi" typeface="Nyala"/>',t[t.length]='<a:font script="Beng" typeface="Vrinda"/>',t[t.length]='<a:font script="Gujr" typeface="Shruti"/>',t[t.length]='<a:font script="Khmr" typeface="DaunPenh"/>',t[t.length]='<a:font script="Knda" typeface="Tunga"/>',t[t.length]='<a:font script="Guru" typeface="Raavi"/>',t[t.length]='<a:font script="Cans" typeface="Euphemia"/>',t[t.length]='<a:font script="Cher" typeface="Plantagenet Cherokee"/>',t[t.length]='<a:font script="Yiii" typeface="Microsoft Yi Baiti"/>',t[t.length]='<a:font script="Tibt" typeface="Microsoft Himalaya"/>',t[t.length]='<a:font script="Thaa" typeface="MV Boli"/>',t[t.length]='<a:font script="Deva" typeface="Mangal"/>',t[t.length]='<a:font script="Telu" typeface="Gautami"/>',t[t.length]='<a:font script="Taml" typeface="Latha"/>',t[t.length]='<a:font script="Syrc" typeface="Estrangelo Edessa"/>',t[t.length]='<a:font script="Orya" typeface="Kalinga"/>',t[t.length]='<a:font script="Mlym" typeface="Kartika"/>',t[t.length]='<a:font script="Laoo" typeface="DokChampa"/>',t[t.length]='<a:font script="Sinh" typeface="Iskoola Pota"/>',t[t.length]='<a:font script="Mong" typeface="Mongolian Baiti"/>',t[t.length]='<a:font script="Viet" typeface="Arial"/>',t[t.length]='<a:font script="Uigh" typeface="Microsoft Uighur"/>',t[t.length]='<a:font script="Geor" typeface="Sylfaen"/>',t[t.length]="</a:minorFont>",t[t.length]="</a:fontScheme>",t[t.length]='<a:fmtScheme name="Office">',t[t.length]="<a:fillStyleLst>",t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',t[t.length]='<a:gradFill rotWithShape="1">',t[t.length]="<a:gsLst>",t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="50000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="35000"><a:schemeClr val="phClr"><a:tint val="37000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="15000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',t[t.length]="</a:gsLst>
234",t[t.length]='<a:lin ang="16200000" scaled="1"/>',t[t.length]="</a:gradFill>",t[t.length]='<a:gradFill rotWithShape="1">',t[t.length]="<a:gsLst>",t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="100000"/><a:shade val="100000"/><a:satMod val="130000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:tint val="50000"/><a:shade val="100000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',t[t.length]="</a:gsLst>",t[t.length]='<a:lin ang="16200000" scaled="0"/>',t[t.length]="</a:gradFill>",t[t.length]="</a:fillStyleLst>",t[t.length]="<a:lnStyleLst>",t[t.length]='<a:ln w="9525" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"><a:shade val="95000"/><a:satMod val="105000"/></a:schemeClr></a:solidFill><a:prstDash val="solid"/></a:ln>',t[t.length]='<a:ln w="25400" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',t[t.length]='<a:ln w="38100" cap="flat" cmpd="sng" algn="ctr"><a:solidFill><a:schemeClr val="phClr"/></a:solidFill><a:prstDash val="solid"/></a:ln>',t[t.length]="</a:lnStyleLst>",t[t.length]="<a:effectStyleLst>",t[t.length]="<a:effectStyle>",t[t.length]="<a:effectLst>",t[t.length]='<a:outerShdw blurRad="40000" dist="20000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="38000"/></a:srgbClr></a:outerShdw>',t[t.length]="</a:effectLst>",t[t.length]="</a:effectStyle>",t[t.length]="<a:effectStyle>",t[t.length]="<a:effectLst>",t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',t[t.length]="</a:effectLst>",t[t.length]="</a:effectStyle>",t[t.length]="<a:effectStyle>",t[t.length]="<a:effectLst>",t[t.length]='<a:outerShdw blurRad="40000" dist="23000" dir="5400000" rotWithShape="0"><a:srgbClr val="000000"><a:alpha val="35000"/></a:srgbClr></a:outerShdw>',t[t.length]="</a:effectLst>",t[t.length]='<a:scene3d><a:camera prst="orthographicFront"><a:rot lat="0" lon="0" rev="0"/></a:camera><a:lightRig rig="threePt" dir="t"><a:rot lat="0" lon="0" rev="1200000"/></a:lightRig></a:scene3d>',t[t.length]='<a:sp3d><a:bevelT w="63500" h="25400"/></a:sp3d>',t[t.length]="</a:effectStyle>",t[t.length]="</a:effectStyleLst>",t[t.length]="<a:bgFillStyleLst>",t[t.length]='<a:solidFill><a:schemeClr val="phClr"/></a:solidFill>',t[t.length]='<a:gradFill rotWithShape="1">',t[t.length]="<a:gsLst>",t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="40000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="40000"><a:schemeClr val="phClr"><a:tint val="45000"/><a:shade val="99000"/><a:satMod val="350000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="20000"/><a:satMod val="255000"/></a:schemeClr></a:gs>',t[t.length]="</a:gsLst>",t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="-80000" r="50000" b="180000"/></a:path>',t[t.length]="</a:gradFill>",t[t.length]='<a:gradFill rotWithShape="1">',t[t.length]="<a:gsLst>",t[t.length]='<a:gs pos="0"><a:schemeClr val="phClr"><a:tint val="80000"/><a:satMod val="300000"/></a:schemeClr></a:gs>',t[t.length]='<a:gs pos="100000"><a:schemeClr val="phClr"><a:shade val="30000"/><a:satMod val="200000"/></a:schemeClr></a:gs>',t[t.length]="</a:gsLst>",t[t.length]='<a:path path="circle"><a:fillToRect l="50000" t="50000" r="50000" b="50000"/></a:path>',t[t.length]="</a:gradFill>",t[t.length]="</a:bgFillStyleLst>",t[t.length]="</a:fmtScheme>",t[t.length]="</a:themeElements>",t[t.length]="<a:objectDefaults>",t[t.length]="<a:spDef>",t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="1"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="3"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="2"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="lt1"/></a:fontRef></a:style>',t[t.length]="</a:spDef>",t[t.length]="<a:lnDef>",t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx="2"><a:schemeClr val="accent1"/></a:lnRef><a:fillRef idx="0"><a:schemeClr val="accent1"/></a:fillRef><a:effectRef idx="1"><a:schemeClr val="accent1"/></a:effectRef><a:fontRef idx="minor"><a:schemeClr val="tx1"/></a:fontRef></a:style>',t[t.length]="</a:lnDef>",t[t.length]="</a:objectDefaults>",t[t.length]="<a:extraClrSchemeLst/>",t[t.length]="</a:theme>",t.join("")}function Oy(e,r){return{flags:e.read_shift(4),version:e.read_shift(4),name:In(e)}}function Dy(e){var r=Ee(12+2*e.name.length);return r.write_shift(4,e.flags),r.write_shift(4,e.version),nn(e.name,r),r.slice(0,r.l)}
vendor: 10,565 bytes, lines 234-256
234function Ry(e){for(var r=[],t=e.read_shift(4);t-- >0;)r.push([e.read_shift(4),e.read_shift(4)]);return r}function By(e){var r=Ee(4+8*e.length);r.write_shift(4,e.length);for(var t=0;t<e.length;++t)r.write_shift(4,e[t][0]),r.write_shift(4,e[t][1]);return r}function My(e,r){var t=Ee(8+2*r.length);return t.write_shift(4,e),nn(r,t),t.slice(0,t.l)}function Uy(e){return e.l+=4,e.read_shift(4)!=0}function jy(e,r){var t=Ee(8);return t.write_shift(4,e),t.write_shift(4,1),t}function zy(){var e=Pn();return ze(e,332),ze(e,334,ji(1)),ze(e,335,Dy({name:"XLDAPR",version:12e4,flags:3496657072})),ze(e,336),ze(e,339,My(1,"XLDAPR")),ze(e,52),ze(e,35,ji(514)),ze(e,4096,ji(0)),ze(e,4097,Ei(1)),ze(e,36),ze(e,53),ze(e,340),ze(e,337,jy(1)),ze(e,51,By([[1,0]])),ze(e,338),ze(e,333),e.end()}function Wy(){var e=[Jr];return e.push(`<metadata xmlns="http://schemas.openxmlformats.org/spreadsheetml/2006/main" xmlns:xlrd="http://schemas.microsoft.com/office/spreadsheetml/2017/richdata" xmlns:xda="http://schemas.microsoft.com/office/spreadsheetml/2017/dynamicarray">
235  <metadataTypes count="1">
236    <metadataType name="XLDAPR" minSupportedVersion="120000" copy="1" pasteAll="1" pasteValues="1" merge="1" splitFirst="1" rowColShift="1" clearFormats="1" clearComments="1" assign="1" coerce="1" cellMeta="1"/>
237  </metadataTypes>
238  <futureMetadata name="XLDAPR" count="1">
239    <bk>
240      <extLst>
241        <ext uri="{bdbb8cdc-fa1e-496e-a857-3c3f30c029c3}">
242          <xda:dynamicArrayProperties fDynamic="1" fCollapsed="0"/>
243        </ext>
244      </extLst>
245    </bk>
246  </futureMetadata>
247  <cellMetadata count="1">
248    <bk>
249      <rc t="1" v="0"/>
250    </bk>
251  </cellMetadata>
252</metadata>`),e.join("")}function Hy(e){var r={};r.i=e.read_shift(4);var t={};t.r=e.read_shift(4),t.c=e.read_shift(4),r.r=Cr(t);var n=e.read_shift(1);return n&2&&(r.l="1"),n&8&&(r.a="1"),r}function j5(e,r,t){var n=[21600,21600],i=["m0,0l0",n[1],n[0],n[1],n[0],"0xe"].join(","),a=[Je("xml",null,{"xmlns:v":ui.v,"xmlns:o":ui.o,"xmlns:x":ui.x,"xmlns:mv":ui.mv}).replace(/\/>/,">"),Je("o:shapelayout",Je("o:idmap",null,{"v:ext":"edit",data:e}),{"v:ext":"edit"})],s=65536*e,o=r||[];return o.length>0&&a.push(Je("v:shapetype",[Je("v:stroke",null,{joinstyle:"miter"}),Je("v:path",null,{gradientshapeok:"t","o:connecttype":"rect"})].join(""),{id:"_x0000_t202",coordsize:n.join(","),"o:spt":202,path:i})),o.forEach(function(f){++s,a.push(qy(f,s))}),a.push("</xml>"),a.join("")}function qy(e,r,t){var n=Fr(e[0]),i={color2:"#BEFF82",type:"gradient"};i.type=="gradient"&&(i.angle="-180");var a=i.type=="gradient"?Je("o:fill",null,{type:"gradientUnscaled","v:ext":"view"}):null,s=Je("v:fill",a,i),o={on:"t",obscured:"t"};return["<v:shape"+J0({id:"_x0000_s"+r,type:"#_x0000_t202",style:"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10"+(e[1].hidden?";visibility:hidden":""),fillcolor:"#ECFAD4",strokecolor:"#edeaa1"})+">",s,Je("v:shadow",null,o),Je("v:path",null,{"o:connecttype":"none"}),'<v:textbox><div style="text-align:left"></div></v:textbox>','<x:ClientData ObjectType="Note">',"<x:MoveWithCells/>","<x:SizeWithCells/>",mn("x:Anchor",[n.c+1,0,n.r+1,0,n.c+3,20,n.r+5,20].join(",")),mn("x:AutoFill","False"),mn("x:Row",String(n.r)),mn("x:Column",String(n.c)),e[1].hidden?"":"<x:Visible/>","</x:ClientData>","</v:shape>"].join("")}function Gy(e){var r=[Jr,Je("comments",null,{xmlns:e0[0]})],t=[];return r.push("<authors>"),e.forEach(function(n){n[1].forEach(function(i){var a=zt(i.a);t.indexOf(a)==-1&&(t.push(a),r.push("<author>"+a+"</author>")),i.T&&i.ID&&t.indexOf("tc="+i.ID)==-1&&(t.push("tc="+i.ID),r.push("<author>tc="+i.ID+"</author>"))})}),t.length==0&&(t.push("SheetJ5"),r.push("<author>SheetJ5</author>")),r.push("</authors>"),r.push("<commentList>"),e.forEach(function(n){var i=0,a=[],s=0;if(n[1][0]&&n[1][0].T&&n[1][0].ID&&(i=t.indexOf("tc="+n[1][0].ID)),n[1].forEach(function(l){l.a&&(i=t.indexOf(zt(l.a))),l.T&&++s,a.push(l.t==null?"":zt(l.t))}),s===0)n[1].forEach(function(l){r.push('<comment ref="'+n[0]+'" authorId="'+t.indexOf(zt(l.a))+'"><text>'),r.push(mn("t",l.t==null?"":zt(l.t))),r.push("</text></comment>")});else{n[1][0]&&n[1][0].T&&n[1][0].ID&&(i=t.indexOf("tc="+n[1][0].ID)),r.push('<comment ref="'+n[0]+'" authorId="'+i+'"><text>');for(var o=`Comment:
253    `+a[0]+`
254`,f=1;f<a.length;++f)o+=`Reply:
255    `+a[f]+`
256`;r.push(mn("t",zt(o))),r.push("</text></comment>")}}),r.push("</commentList>"),r.length>2&&(r[r.length]="</comments>",r[1]=r[1].replace("/>",">")),r.join("")}function z5(e,r,t){var n=[Jr,Je("ThreadedComments",null,{xmlns:fn.TCMNT}).replace(/[\/]>/,">")];return e.forEach(function(i){var a="";(i[1]||[]).forEach(function(s,o){if(!s.T){delete s.ID;return}s.a&&r.indexOf(s.a)==-1&&r.push(s.a);var f={ref:i[0],id:"{54EE7951-7262-4200-6969-"+("000000000000"+t.tcid++).slice(-12)+"}"};o==0?a=f.id:f.parentId=a,s.ID=f.id,s.a&&(f.personId="{54EE7950-7262-4200-6969-"+("000000000000"+r.indexOf(s.a)).slice(-12)+"}"),n.push(Je("threadedComment",mn("text",s.t||""),f))})}),n.push("</ThreadedComments>"),n.join("")}function W5(e){var r=[Jr,Je("personList",null,{xmlns:fn.TCMNT,"xmlns:x":e0[0]}).replace(/[\/]>/,">")];return e.forEach(function(t,n){r.push(Je("person",null,{displayName:t,id:"{54EE7950-7262-4200-6969-"+("000000000000"+n).slice(-12)+"}",userId:t,providerId:"None"}))}),r.push("</personList>"),r.join("")}function Vy(e){var r={};r.iauthor=e.read_shift(4);var t=to(e);return r.rfx=t.s,r.ref=Cr(t.s),e.l+=16,r}function $y(e,r){return r==null&&(r=Ee(36)),r.write_shift(4,e[1].iauthor),n0(e[0],r),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r.write_shift(4,0),r}var Xy=In;function _d(e){return nn(e.slice(0,54))}function Yy(e){var r=Pn(),t=[];return ze(r,628),ze(r,630),e.forEach(function(n){n[1].forEach(function(i){t.indexOf(i.a)>-1||(t.push(i.a.slice(0,54)),ze(r,632,_d(i.a)),i.T&&i.ID&&t.indexOf("tc="+i.ID)==-1&&(t.push("tc="+i.ID),ze(r,632,_d("tc="+i.ID))))})}),ze(r,631),ze(r,633),e.forEach(function(n){n[1].forEach(function(i){var a=-1;i.ID&&(a=t.indexOf("tc="+i.ID)),a==-1&&n[1][0].T&&n[1][0].ID&&(a=t.indexOf("tc="+n[1][0].ID)),a==-1&&(a=t.indexOf(i.a)),i.iauthor=a;var s={s:Fr(n[0]),e:Fr(n[0])};ze(r,635,$y([s,i])),i.t&&i.t.length>0&&ze(r,637,Vw(i)),ze(r,636),delete i.iauthor})}),ze(r,634),ze(r,629),r.end()}function Ky(e,r){r.FullPaths.forEach(function(t,n){if(n!=0){var i=t.replace(/^[\/]*[^\/]*[\/]/,"/_VBA_PROJECT_CUR/");i.slice(-1)!=="/"&&gr.utils.cfb_add(e,i,r.FileIndex[n].content)}})}var Zy=["xlsb","xlsm","xlam","biff8","xla"],wd=function(){var e=/(^|[^A-Za-z_])R(\[?-?\d+\]|[1-9]\d*|)C(\[?-?\d+\]|[1-9]\d*|)(?![A-Za-z0-9_])/g,r={r:0,c:0};function t(n,i,a,s){var o=!1,f=!1;a.length==0?f=!0:a.charAt(0)=="["&&(f=!0,a=a.slice(1,-1)),s.length==0?o=!0:s.charAt(0)=="["&&(o=!0,s=s.slice(1,-1));var l=a.length>0?parseInt(a,10)|0:0,h=s.length>0?parseInt(s,10)|0:0;return o?h+=r.c:--h,f?l+=r.r:--l,i+(o?"":"$")+cr(h)+(f?"":"$")+ur(l)}return function(i,a){return r=a,i.replace(e,t)}}(),Ql=/(^|[^._A-Z0-9])(\$?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])(\$?)(\d{1,7})(?![_.\(A-Za-z0-9])/g;try{Ql=/(^|[^._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}catch{}var ec=function(){return function(r,t){return r.replace(Ql,function(n,i,a,s,o,f){var l=yu(s)-(a?0:t.c),h=wu(f)-(o?0:t.r),g=o=="$"?h+1:h==0?"":"["+h+"]",p=a=="$"?l+1:l==0?"":"["+l+"]";return i+"R"+g+"C"+p})}}();function Jy(e,r){return e.replace(Ql,function(t,n,i,a,s,o){return n+(i=="$"?i+a:cr(yu(a)+r.c))+(s=="$"?s+o:ur(wu(o)+r.r))})}function Qy(e){return e.length!=1}function $r(e){e.l+=1}function cs(e,r){var t=e.read_shift(2);return[t&16383,t>>14&1,t>>15&1]}function H5(e,r,t){var n=2;if(t){if(t.biff>=2&&t.biff<=5)return q5(e);t.biff==12&&(n=4)}var i=e.read_shift(n),a=e.read_shift(n),s=cs(e),o=cs(e);return{s:{r:i,c:s[0],cRel:s[1],rRel:s[2]},e:{r:a,c:o[0],cRel:o[1],rRel:o[2]}}}function q5(e){var r=cs(e),t=cs(e),n=e.read_shift(1),i=e.read_shift(1);return{s:{r:r[0],c:n,cRel:r[1],rRel:r[2]},e:{r:t[0],c:i,cRel:t[1],rRel:t[2]}}}function e6(e,r,t){if(t.biff<8)return q5(e);var n=e.read_shift(t.biff==12?4:2),i=e.read_shift(t.biff==12?4:2),a=cs(e),s=cs(e);return{s:{r:n,c:a[0],cRel:a[1],rRel:a[2]},e:{r:i,c:s[0],cRel:s[1],rRel:s[2]}}}function G5(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return t6(e);var n=e.read_shift(t&&t.biff==12?4:2),i=cs(e);return{r:n,c:i[0],cRel:i[1],rRel:i[2]}}function t6(e){var r=cs(e),t=e.read_shift(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function r6(e){var r=e.read_shift(2),t=e.read_shift(2);return{r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function n6(e,r,t){var n=t&&t.biff?t.biff:8;if(n>=2&&n<=5)return i6(e);var i=e.read_shift(n>=12?4:2),a=e.read_shift(2),s=(a&16384)>>14,o=(a&32768)>>15;if(a&=16383,o==1)for(;i>524287;)i-=1048576;if(s==1)for(;a>8191;)a=a-16384;return{r:i,c:a,cRel:s,rRel:o}}function i6(e){var r=e.read_shift(2),t=e.read_shift(1),n=(r&32768)>>15,i=(r&16384)>>14;return r&=16383,n==1&&r>=8192&&(r=r-16384),i==1&&t>=128&&(t=t-256),{r,c:t,cRel:i,rRel:n}}function a6(e,r,t){var n=(e[e.l++]&96)>>5,i=H5(e,t.biff>=2&&t.biff<=5?6:8,t);return[n,i]}function s6(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2,"i"),a=8;if(t)switch(t.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}var s=H5(e,a,t);return[n,i,s]}function o6(e,r,t){var n=(e[e.l++]&96)>>5;return e.l+=t&&t.biff>8?12:t.biff<8?6:8,[n]}function f6(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2),a=8;if(t)switch(t.biff){case 5:e.l+=12,a=6;break;case 12:a=12;break}return e.l+=a,[n,i]}function l6(e,r,t){var n=(e[e.l++]&96)>>5,i=e6(e,r-1,t);return[n,i]}function c6(e,r,t){var n=(e[e.l++]&96)>>5;return e.l+=t.biff==2?6:t.biff==12?14:7,[n]}function yd(e){var r=e[e.l+1]&1,t=1;return e.l+=4,[r,t]}function h6(e,r,t){e.l+=2;for(var n=e.read_shift(t&&t.biff==2?1:2),i=[],a=0;a<=n;++a)i.push(e.read_shift(t&&t.biff==2?1:2));return i}function u6(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(t&&t.biff==2?1:2)]}function d6(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=2,[n,e.read_shift(t&&t.biff==2?1:2)]}function p6(e){var r=e[e.l+1]&255?1:0;return e.l+=2,[r,e.read_shift(2)]}function m6(e,r,t){var n=e[e.l+1]&255?1:0;return e.l+=t&&t.biff==2?3:4,[n]}function V5(e){var r=e.read_shift(1),t=e.read_shift(1);return[r,t]}function g6(e){return e.read_shift(2),V5(e)}function x6(e){return e.read_shift(2),V5(e)}function v6(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=G5(e,0,t);return[n,i]}function _6(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=n6(e,0,t);return[n,i]}function w6(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(2);
256t&&t.biff==5&&(e.l+=12);var a=G5(e,0,t);return[n,i,a]}function y6(e,r,t){var n=(e[e.l]&96)>>5;e.l+=1;var i=e.read_shift(t&&t.biff<=3?1:2);return[Pb[i],Y5[i],n]}function b6(e,r,t){var n=e[e.l++],i=e.read_shift(1),a=t&&t.biff<=3?[n==88?-1:0,e.read_shift(1)]:A6(e);return[i,(a[0]===0?Y5:Cb)[a[1]]]}function A6(e){return[e[e.l+1]>>7,e.read_shift(2)&32767]}function S6(e,r,t){e.l+=t&&t.biff==2?3:4}function E6(e,r,t){if(e.l++,t&&t.biff==12)return[e.read_shift(4,"i"),0];var n=e.read_shift(2),i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function T6(e){return e.l++,Gn[e.read_shift(1)]}function N6(e){return e.l++,e.read_shift(2)}function F6(e){return e.l++,e.read_shift(1)!==0}function L6(e){return e.l++,i0(e)}function k6(e,r,t){return e.l++,k5(e,r-1,t)}function C6(e,r){var t=[e.read_shift(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break}switch(t[0]){case 4:t[1]=g3(e,1)?"TRUE":"FALSE",r!=12&&(e.l+=7);break;case 37:case 16:t[1]=Gn[e[e.l]],e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=i0(e);break;case 2:t[1]=w3(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error("Bad SerAr: "+t[0])}return t}function P6(e,r,t){for(var n=e.read_shift(t.biff==12?4:2),i=[],a=0;a!=n;++a)i.push((t.biff==12?to:A3)(e));return i}function I6(e,r,t){var n=0,i=0;t.biff==12?(n=e.read_shift(4),i=e.read_shift(4)):(i=1+e.read_shift(1),n=1+e.read_shift(2)),t.biff>=2&&t.biff<8&&(--n,--i==0&&(i=256));for(var a=0,s=[];a!=n&&(s[a]=[]);++a)for(var o=0;o!=i;++o)s[a][o]=C6(e,t.biff);return s}function O6(e,r,t){var n=e.read_shift(1)>>>5&3,i=!t||t.biff>=8?4:2,a=e.read_shift(i);switch(t.biff){case 2:e.l+=5;break;case 3:case 4:e.l+=8;break;case 5:e.l+=12;break}return[n,0,a]}function D6(e,r,t){if(t.biff==5)return R6(e);var n=e.read_shift(1)>>>5&3,i=e.read_shift(2),a=e.read_shift(4);return[n,i,a]}function R6(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2,"i");e.l+=8;var n=e.read_shift(2);return e.l+=12,[r,t,n]}function B6(e,r,t){var n=e.read_shift(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function M6(e,r,t){var n=e.read_shift(1)>>>5&3,i=e.read_shift(t&&t.biff==2?1:2);return[n,i]}function U6(e,r,t){var n=e.read_shift(1)>>>5&3;return e.l+=4,t.biff<8&&e.l--,t.biff==12&&(e.l+=2),[n]}function j6(e,r,t){var n=(e[e.l++]&96)>>5,i=e.read_shift(2),a=4;if(t)switch(t.biff){case 5:a=15;break;case 12:a=6;break}return e.l+=a,[n,i]}var z6=ua,W6=ua,H6=ua;function uf(e,r,t){return e.l+=2,[r6(e)]}function Nu(e){return e.l+=6,[]}var q6=uf,G6=Nu,V6=Nu,$6=uf;function $5(e){return e.l+=2,[xl(e),e.read_shift(2)&1]}var X6=uf,Y6=$5,K6=Nu,Z6=uf,J6=uf,Q6=["Data","All","Headers","??","?Data2","??","?DataHeaders","??","Totals","??","??","??","?DataTotals","??","??","??","?Current"];function eb(e){e.l+=2;var r=e.read_shift(2),t=e.read_shift(2),n=e.read_shift(4),i=e.read_shift(2),a=e.read_shift(2),s=Q6[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:n,c:i,C:a}}function tb(e){return e.l+=2,[e.read_shift(4)]}function rb(e,r,t){return e.l+=5,e.l+=2,e.l+=t.biff==2?1:4,["PTGSHEET"]}function nb(e,r,t){return e.l+=t.biff==2?4:5,["PTGENDSHEET"]}function ib(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2);return[r,t]}function ab(e){var r=e.read_shift(1)>>>5&3,t=e.read_shift(2);return[r,t]}function sb(e){return e.l+=4,[0,0]}var bd={1:{n:"PtgExp",f:E6},2:{n:"PtgTbl",f:H6},3:{n:"PtgAdd",f:$r},4:{n:"PtgSub",f:$r},5:{n:"PtgMul",f:$r},6:{n:"PtgDiv",f:$r},7:{n:"PtgPower",f:$r},8:{n:"PtgConcat",f:$r},9:{n:"PtgLt",f:$r},10:{n:"PtgLe",f:$r},11:{n:"PtgEq",f:$r},12:{n:"PtgGe",f:$r},13:{n:"PtgGt",f:$r},14:{n:"PtgNe",f:$r},15:{n:"PtgIsect",f:$r},16:{n:"PtgUnion",f:$r},17:{n:"PtgRange",f:$r},18:{n:"PtgUplus",f:$r},19:{n:"PtgUminus",f:$r},20:{n:"PtgPercent",f:$r},21:{n:"PtgParen",f:$r},22:{n:"PtgMissArg",f:$r},23:{n:"PtgStr",f:k6},26:{n:"PtgSheet",f:rb},27:{n:"PtgEndSheet",f:nb},28:{n:"PtgErr",f:T6},29:{n:"PtgBool",f:F6},30:{n:"PtgInt",f:N6},31:{n:"PtgNum",f:L6},32:{n:"PtgArray",f:c6},33:{n:"PtgFunc",f:y6},34:{n:"PtgFuncVar",f:b6},35:{n:"PtgName",f:O6},36:{n:"PtgRef",f:v6},37:{n:"PtgArea",f:a6},38:{n:"PtgMemArea",f:B6},39:{n:"PtgMemErr",f:z6},40:{n:"PtgMemNoMem",f:W6},41:{n:"PtgMemFunc",f:M6},42:{n:"PtgRefErr",f:U6},43:{n:"PtgAreaErr",f:o6},44:{n:"PtgRefN",f:_6},45:{n:"PtgAreaN",f:l6},46:{n:"PtgMemAreaN",f:ib},47:{n:"PtgMemNoMemN",f:ab},57:{n:"PtgNameX",f:D6},58:{n:"PtgRef3d",f:w6}
vendor: 17,432 bytes, line 256
256,59:{n:"PtgArea3d",f:s6},60:{n:"PtgRefErr3d",f:j6},61:{n:"PtgAreaErr3d",f:f6},255:{}},ob={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},fb={1:{n:"PtgElfLel",f:$5},2:{n:"PtgElfRw",f:Z6},3:{n:"PtgElfCol",f:q6},6:{n:"PtgElfRwV",f:J6},7:{n:"PtgElfColV",f:$6},10:{n:"PtgElfRadical",f:X6},11:{n:"PtgElfRadicalS",f:K6},13:{n:"PtgElfColS",f:G6},15:{n:"PtgElfColSV",f:V6},16:{n:"PtgElfRadicalLel",f:Y6},25:{n:"PtgList",f:eb},29:{n:"PtgSxName",f:tb},255:{}},lb={0:{n:"PtgAttrNoop",f:sb},1:{n:"PtgAttrSemi",f:m6},2:{n:"PtgAttrIf",f:d6},4:{n:"PtgAttrChoose",f:h6},8:{n:"PtgAttrGoto",f:u6},16:{n:"PtgAttrSum",f:S6},32:{n:"PtgAttrBaxcel",f:yd},33:{n:"PtgAttrBaxcel",f:yd},64:{n:"PtgAttrSpace",f:g6},65:{n:"PtgAttrSpaceSemi",f:x6},128:{n:"PtgAttrIfError",f:p6},255:{}};function cb(e,r,t,n){if(n.biff<8)return ua(e,r);for(var i=e.l+r,a=[],s=0;s!==t.length;++s)switch(t[s][0]){case"PtgArray":t[s][1]=I6(e,0,n),a.push(t[s][1]);break;case"PtgMemArea":t[s][2]=P6(e,t[s][1],n),a.push(t[s][2]);break;case"PtgExp":n&&n.biff==12&&(t[s][1][1]=e.read_shift(4),a.push(t[s][1]));break;case"PtgList":case"PtgElfRadicalS":case"PtgElfColS":case"PtgElfColSV":throw"Unsupported "+t[s][0]}return r=i-e.l,r!==0&&a.push(ua(e,r)),a}function hb(e,r,t){for(var n=e.l+r,i,a,s=[];n!=e.l;)r=n-e.l,a=e[e.l],i=bd[a]||bd[ob[a]],(a===24||a===25)&&(i=(a===24?fb:lb)[e[e.l+1]]),!i||!i.f?ua(e,r):s.push([i.n,i.f(e,r,t)]);return s}function ub(e){for(var r=[],t=0;t<e.length;++t){for(var n=e[t],i=[],a=0;a<n.length;++a){var s=n[a];if(s)switch(s[0]){case 2:i.push('"'+s[1].replace(/"/g,'""')+'"');break;default:i.push(s[1])}else i.push("")}r.push(i.join(","))}return r.join(";")}var db={PtgAdd:"+",PtgConcat:"&",PtgDiv:"/",PtgEq:"=",PtgGe:">=",PtgGt:">",PtgLe:"<=",PtgLt:"<",PtgMul:"*",PtgNe:"<>",PtgPower:"^",PtgSub:"-"};function pb(e,r){var t=e.lastIndexOf("!"),n=r.lastIndexOf("!");return t==-1&&n==-1?e+":"+r:t>0&&n>0&&e.slice(0,t).toLowerCase()==r.slice(0,n).toLowerCase()?e+":"+r.slice(n+1):(console.error("Cannot hydrate range",e,r),e+":"+r)}function X5(e,r,t){if(!e)return"SH33TJSERR0";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return"SH33TJSERR6";var n=e.XTI[r];if(t.biff<8)return r>1e4&&(r-=65536),r<0&&(r=-r),r==0?"":e.XTI[r-1];if(!n)return"SH33TJSERR1";var i="";if(t.biff>8)switch(e[n[0]][0]){case 357:return i=n[1]==-1?"#REF":e.SheetNames[n[1]],n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 358:return t.SID!=null?e.SheetNames[t.SID]:"SH33TJSSAME"+e[n[0]][0];case 355:default:return"SH33TJSSRC"+e[n[0]][0]}switch(e[n[0]][0][0]){case 1025:return i=n[1]==-1?"#REF":e.SheetNames[n[1]]||"SH33TJSERR3",n[1]==n[2]?i:i+":"+e.SheetNames[n[2]];case 14849:return e[n[0]].slice(1).map(function(a){return a.Name}).join(";;");default:return e[n[0]][0][3]?(i=n[1]==-1?"#REF":e[n[0]][0][3][n[1]]||"SH33TJSERR4",n[1]==n[2]?i:i+":"+e[n[0]][0][3][n[2]]):"SH33TJSERR2"}}function Ad(e,r,t){var n=X5(e,r,t);return n=="#REF"?n:ef(n,t)}function Ko(e,r,t,n,i){var a=i&&i.biff||8,s={s:{c:0,r:0},e:{c:0,r:0}},o=[],f,l,h,g=0,p=0,u,_="";if(!e[0]||!e[0][0])return"";for(var w=-1,y="",v=0,E=e[0].length;v<E;++v){var S=e[0][v];switch(S[0]){case"PtgUminus":o.push("-"+o.pop());break;case"PtgUplus":o.push("+"+o.pop());break;case"PtgPercent":o.push(o.pop()+"%");break;case"PtgAdd":case"PtgConcat":case"PtgDiv":case"PtgEq":case"PtgGe":case"PtgGt":case"PtgLe":case"PtgLt":case"PtgMul":case"PtgNe":case"PtgPower":case"PtgSub":if(f=o.pop(),l=o.pop(),w>=0){switch(e[0][w][1][0]){case 0:y=Nr(" ",e[0][w][1][1]);break;case 1:y=Nr("\r",e[0][w][1][1]);break;default:if(y="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][w][1][0])}l=l+y,w=-1}o.push(l+db[S[0]]+f);break;case"PtgIsect":f=o.pop(),l=o.pop(),o.push(l+" "+f);break;case"PtgUnion":f=o.pop(),l=o.pop(),o.push(l+","+f);break;case"PtgRange":f=o.pop(),l=o.pop(),o.push(pb(l,f));break;case"PtgAttrChoose":break;case"PtgAttrGoto":break;case"PtgAttrIf":break;case"PtgAttrIfError":break;case"PtgRef":h=j0(S[1][1],s,i),o.push(z0(h,a));break;case"PtgRefN":h=t?j0(S[1][1],t,i):S[1][1],o.push(z0(h,a));break;case"PtgRef3d":g=S[1][1],h=j0(S[1][2],s,i),_=Ad(n,g,i),o.push(_+"!"+z0(h,a));break;case"PtgFunc":case"PtgFuncVar":var R=S[1][0],re=S[1][1];R||(R=0),R&=127;var fe=R==0?[]:o.slice(-R);o.length-=R,re==="User"&&(re=fe.shift()),o.push(re+"("+fe.join(",")+")");break;case"PtgBool":o.push(S[1]?"TRUE":"FALSE");break;case"PtgInt":o.push(S[1]);break;case"PtgNum":o.push(String(S[1]));break;case"PtgStr":o.push('"'+S[1].replace(/"/g,'""')+'"');break;case"PtgErr":o.push(S[1]);break;case"PtgAreaN":u=id(S[1][1],t?{s:t}:s,i),o.push(gh(u,i));break;case"PtgArea":u=id(S[1][1],s,i),o.push(gh(u,i));break;case"PtgArea3d":g=S[1][1],u=S[1][2],_=Ad(n,g,i),o.push(_+"!"+gh(u,i));break;case"PtgAttrSum":o.push("SUM("+o.pop()+")");break;case"PtgAttrBaxcel":case"PtgAttrSemi":break;case"PtgName":p=S[1][2];var O=(n.names||[])[p-1]||(n[0]||[])[p],B=O?O.Name:"SH33TJSNAME"+String(p);B&&B.slice(0,6)=="_xlfn."&&!i.xlfn&&(B=B.slice(6)),o.push(B);break;case"PtgNameX":var T=S[1][1];p=S[1][2];var Q;if(i.biff<=5)T<0&&(T=-T),n[T]&&(Q=n[T][p]);else{var A="";if(((n[T]||[])[0]||[])[0]==14849||(((n[T]||[])[0]||[])[0]==1025?n[T][p]&&n[T][p].itab>0&&(A=n.SheetNames[n[T][p].itab-1]+"!"):A=n.SheetNames[p-1]+"!"),n[T]&&n[T][p])A+=n[T][p].Name;else if(n[0]&&n[0][p])A+=n[0][p].Name;else{var P=(X5(n,T,i)||"").split(";;");P[p-1]?A=P[p-1]:A+="SH33TJSERRX"}o.push(A);break}Q||(Q={Name:"SH33TJSERRY"}),o.push(Q.Name);break;case"PtgParen":var j="(",ie=")";if(w>=0){switch(y="",e[0][w][1][0]){case 2:j=Nr(" ",e[0][w][1][1])+j;break;case 3:j=Nr("\r",e[0][w][1][1])+j;break;case 4:ie=Nr(" ",e[0][w][1][1])+ie;break;case 5:ie=Nr("\r",e[0][w][1][1])+ie;break;default:if(i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+e[0][w][1][0])}w=-1}o.push(j+o.pop()+ie);break;case"PtgRefErr":o.push("#REF!");break;case"PtgRefErr3d":o.push("#REF!");break;case"PtgExp":h={c:S[1][1],r:S[1][0]};var he={c:t.c,r:t.r};if(n.sharedf[Cr(h)]){var Fe=n.sharedf[Cr(h)];o.push(Ko(Fe,s,he,n,i))}else{var xe=!1;for(f=0;f!=n.arrayf.length;++f)if(l=n.arrayf[f],!(h.c<l[0].s.c||h.c>l[0].e.c)&&!(h.r<l[0].s.r||h.r>l[0].e.r)){o.push(Ko(l[1],s,he,n,i)),xe=!0;break}xe||o.push(S[1])}break;case"PtgArray":o.push("{"+ub(S[1])+"}");break;case"PtgMemArea":break;case"PtgAttrSpace":case"PtgAttrSpaceSemi":w=v;break;case"PtgTbl":break;case"PtgMemErr":break;case"PtgMissArg":o.push("");break;case"PtgAreaErr":o.push("#REF!");break;case"PtgAreaErr3d":o.push("#REF!");break;case"PtgList":o.push("Table"+S[1].idx+"[#"+S[1].rt+"]");break;case"PtgMemAreaN":case"PtgMemNoMemN":case"PtgAttrNoop":case"PtgSheet":case"PtgEndSheet":break;case"PtgMemFunc":break;case"PtgMemNoMem":break;case"PtgElfCol":case"PtgElfColS":case"PtgElfColSV":case"PtgElfColV":case"PtgElfLel":case"PtgElfRadical":case"PtgElfRadicalLel":case"PtgElfRadicalS":case"PtgElfRw":case"PtgElfRwV":throw new Error("Unsupported ELFs");case"PtgSxName":throw new Error("Unrecognized Formula Token: "+String(S));default:throw new Error("Unrecognized Formula Token: "+String(S))}var ve=["PtgAttrSpace","PtgAttrSpaceSemi","PtgAttrGoto"];if(i.biff!=3&&w>=0&&ve.indexOf(e[0][v][0])==-1){S=e[0][w];var Le=!0;switch(S[1][0]){case 4:Le=!1;case 0:y=Nr(" ",S[1][1]);break;case 5:Le=!1;case 1:y=Nr("\r",S[1][1]);break;default:if(y="",i.WTF)throw new Error("Unexpected PtgAttrSpaceType "+S[1][0])}o.push((Le?y:"")+o.pop()+(Le?"":y)),w=-1}}if(o.length>1&&i.WTF)throw new Error("bad formula stack");return o[0]=="TRUE"?!0:o[0]=="FALSE"?!1:o[0]}function mb(e){if(e==null){var r=Ee(8);return r.write_shift(1,3),r.write_shift(1,0),r.write_shift(2,0),r.write_shift(2,0),r.write_shift(2,65535),r}else if(typeof e=="number")return Xs(e);return Xs(0)}function gb(e,r,t,n,i){var a=Ys(r,t,i),s=mb(e.v),o=Ee(6),f=33;o.write_shift(2,f),o.write_shift(4,0);for(var l=Ee(e.bf.length),h=0;h<e.bf.length;++h)l[h]=e.bf[h];var g=Yr([a,s,o,l]);return g}function tc(e,r,t){var n=e.read_shift(4),i=hb(e,n,t),a=e.read_shift(4),s=a>0?cb(e,a,i,t):null;return[i,s]}var xb=tc,rc=tc,vb=tc,_b=tc;function Sd(e){if((e|0)==e&&e<Math.pow(2,16)&&e>=0){var r=Ee(11);return r.write_shift(4,3),r.write_shift(1,30),r.write_shift(2,e),r.write_shift(4,0),r}var t=Ee(17);return t.write_shift(4,11),t.write_shift(1,31),t.write_shift(8,e),t.write_shift(4,0),t}function wb(e){var r=Ee(10);return r.write_shift(4,2),r.write_shift(1,28),r.write_shift(1,e),r.write_shift(4,0),r}function yb(e){var r=Ee(10);return r.write_shift(4,2),r.write_shift(1,29),r.write_shift(1,e?1:0),r.write_shift(4,0),r}function bb(e){var r=Ee(7);r.write_shift(4,3+2*e.length),r.write_shift(1,23),r.write_shift(2,e.length);var t=Ee(2*e.length);t.write_shift(2*e.length,e,"utf16le");var n=Ee(4);return n.write_shift(4,0),Yr([r,t,n])}function Ab(e){var r=Fr(e),t=Ee(15);return t.write_shift(4,7),t.write_shift(1,36),t.write_shift(4,r.r),t.write_shift(2,r.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15),t.write_shift(4,0),t}function Sb(e,r){var t=e.lastIndexOf("!"),n=e.slice(0,t);e=e.slice(t+1);var i=Fr(e);n.charAt(0)=="'"&&(n=n.slice(1,-1).replace(/''/g,"'"));var a=Ee(17);return a.write_shift(4,9),a.write_shift(1,58),a.write_shift(2,2+r.SheetNames.map(function(s){return s.toLowerCase()}).indexOf(n.toLowerCase())),a.write_shift(4,i.r),a.write_shift(2,i.c|(e.charAt(0)=="$"?0:1)<<14|(e.match(/\$\d/)?0:1)<<15),a.write_shift(4,0),a}function Eb(e,r){var t=e.lastIndexOf("!"),n=e.slice(0,t);e=e.slice(t+1),n.charAt(0)=="'"&&(n=n.slice(1,-1).replace(/''/g,"'"));var i=Ee(17);return i.write_shift(4,9),i.write_shift(1,60),i.write_shift(2,2+r.SheetNames.map(function(a){return a.toLowerCase()}).indexOf(n.toLowerCase())),i.write_shift(4,0),i.write_shift(2,0),i.write_shift(4,0),i}function Tb(e){var r=e.split(":"),t=r[0],n=Ee(23);n.write_shift(4,15),t=r[0];var i=Fr(t);return n.write_shift(1,36),n.write_shift(4,i.r),n.write_shift(2,i.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15),n.write_shift(4,0),t=r[1],i=Fr(t),n.write_shift(1,36),n.write_shift(4,i.r),n.write_shift(2,i.c|(t.charAt(0)=="$"?0:1)<<14|(t.match(/\$\d/)?0:1)<<15),n.write_shift(4,0),n.write_shift(1,17),n.write_shift(4,0),n}function Nb(e,r){var t=e.lastIndexOf("!"),n=e.slice(0,t);e=e.slice(t+1),n.charAt(0)=="'"&&(n=n.slice(1,-1).replace(/''/g,"'"));var i=e.split(":"),a=Ee(27);a.write_shift(4,19);var s=i[0],o=Fr(s);return a.write_shift(1,58),a.write_shift(2,2+r.SheetNames.map(function(f){return f.toLowerCase()}).indexOf(n.toLowerCase())),a.write_shift(4,o.r),a.write_shift(2,o.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15),s=i[1],o=Fr(s),a.write_shift(1,58),a.write_shift(2,2+r.SheetNames.map(function(f){return f.toLowerCase()}).indexOf(n.toLowerCase())),a.write_shift(4,o.r),a.write_shift(2,o.c|(s.charAt(0)=="$"?0:1)<<14|(s.match(/\$\d/)?0:1)<<15),a.write_shift(1,17),a.write_shift(4,0),a}function Fb(e,r){var t=e.lastIndexOf("!"),n=e.slice(0,t);e=e.slice(t+1),n.charAt(0)=="'"&&(n=n.slice(1,-1).replace(/''/g,"'"));var i=gn(e),a=Ee(23);return a.write_shift(4,15),a.write_shift(1,59),a.write_shift(2,2+r.SheetNames.map(function(s){return s.toLowerCase()}).indexOf(n.toLowerCase())),a.write_shift(4,i.s.r),a.write_shift(4,i.e.r),a.write_shift(2,i.s.c),a.write_shift(2,i.e.c),a.write_shift(4,0),a}function Lb(e,r){if(typeof e=="number")return Sd(e);if(typeof e=="boolean")return yb(e);if(/^#(DIV\/0!|GETTING_DATA|N\/A|NAME\?|NULL!|NUM!|REF!|VALUE!)$/.test(e))return wb(+la[e]);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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})$/))return Ab(e);if(e.match(/^\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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})$/))return Tb(e);if(e.match(/^#REF!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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})$/))return Fb(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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})$/))return Sb(e,r);if(e.match(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!\$?(?:[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D]|[A-Z]{1,2})\$?(?: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})$/))return Nb(e,r);if(/^(?:'[^\\\/?*\[\]:]*'|[^'][^\\\/?*\[\]:'`~!@#$%^()\-=+{}|;,<.>]*)!#REF!$/.test(e))return Eb(e,r);if(/^".*"$/.test(e))return bb(e);if(/^[+-]\d+$/.test(e))return Sd(parseInt(e,10));throw"Formula |"+e+"| not supported for XLSB"}var kb=Lb,Cb={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.
256NEXT",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"},Y5
vendor: 6,535 bytes, line 256
256={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"},
vendor: 19,099 bytes, line 256
256Pb={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};function Ib(e){var r="of:="+e.replace(Ql,"$1[.$2$3$4$5]").replace(/\]:\[/g,":");return r.replace(/;/g,"|").replace(/,/g,";")}function K5(e){return e.replace(/!/,".").replace(/:/,":.")}var W0=typeof Map<"u";function Fu(e,r,t){var n=0,i=e.length;if(t){if(W0?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){for(var a=W0?t.get(r):t[r];n<a.length;++n)if(e[a[n]].t===r)return e.Count++,a[n]}}else for(;n<i;++n)if(e[n].t===r)return e.Count++,n;return e[i]={t:r},e.Count++,e.Unique++,t&&(W0?(t.has(r)||t.set(r,[]),t.get(r).push(i)):(Object.prototype.hasOwnProperty.call(t,r)||(t[r]=[]),t[r].push(i))),i}function nc(e,r){var t={min:e+1,max:e+1},n=-1;return r.MDW&&(Ra=r.MDW),r.width!=null?t.customWidth=1:r.wpx!=null?n=Rl(r.wpx):r.wch!=null&&(n=r.wch),n>-1?(t.width=Xh(n),t.customWidth=1):r.width!=null&&(t.width=r.width),r.hidden&&(t.hidden=!0),r.level!=null&&(t.outlineLevel=t.level=r.level),t}function Z5(e,r){if(e){var t=[.7,.7,.75,.75,.3,.3];e.left==null&&(e.left=t[0]),e.right==null&&(e.right=t[1]),e.top==null&&(e.top=t[2]),e.bottom==null&&(e.bottom=t[3]),e.header==null&&(e.header=t[4]),e.footer==null&&(e.footer=t[5])}}function us(e,r,t){var n=t.revssf[r.z!=null?r.z:"General"],i=60,a=e.length;if(n==null&&t.ssf){for(;i<392;++i)if(t.ssf[i]==null){sw(r.z,i),t.ssf[i]=r.z,t.revssf[r.z]=n=i;break}}for(i=0;i!=a;++i)if(e[i].numFmtId===n)return i;return e[a]={numFmtId:n,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1},a}function Ob(e,r,t){if(e&&e["!ref"]){var n=Sr(e["!ref"]);if(n.e.c<n.s.c||n.e.r<n.s.r)throw new Error("Bad range ("+t+"): "+e["!ref"])}}function Db(e){if(e.length===0)return"";for(var r='<mergeCells count="'+e.length+'">',t=0;t!=e.length;++t)r+='<mergeCell ref="'+Zr(e[t])+'"/>';return r+"</mergeCells>"}function Rb(e,r,t,n,i){var a=!1,s={},o=null;if(n.bookType!=="xlsx"&&r.vbaraw){var f=r.SheetNames[t];try{r.Workbook&&(f=r.Workbook.Sheets[t].CodeName||f)}catch{}a=!0,s.codeName=Z0(zt(f))}if(e&&e["!outline"]){var l={summaryBelow:1,summaryRight:1};e["!outline"].above&&(l.summaryBelow=0),e["!outline"].left&&(l.summaryRight=0),o=(o||"")+Je("outlinePr",null,l)}!a&&!o||(i[i.length]=Je("sheetPr",o,s))}var Bb=["objects","scenarios","selectLockedCells","selectUnlockedCells"],Mb=["formatColumns","formatRows","formatCells","insertColumns","insertRows","insertHyperlinks","deleteColumns","deleteRows","sort","autoFilter","pivotTables"];function Ub(e){var r={sheet:1};return Bb.forEach(function(t){e[t]!=null&&e[t]&&(r[t]="1")}),Mb.forEach(function(t){e[t]!=null&&!e[t]&&(r[t]="0")}),e.password&&(r.password=D5(e.password).toString(16).toUpperCase()),Je("sheetProtection",null,r)}function jb(e){return Z5(e),Je("pageMargins",null,e)}function zb(e,r){for(var t=["<cols>"],n,i=0;i!=r.length;++i)(n=r[i])&&(t[t.length]=Je("col",null,nc(i,n)));return t[t.length]="</cols>",t.join("")}function Wb(e,r,t,n){var i=typeof e.ref=="string"?e.ref:Zr(e.ref);t.Workbook||(t.Workbook={Sheets:[]}),t.Workbook.Names||(t.Workbook.Names=[]);var a=t.Workbook.Names,s=gn(i);s.s.r==s.e.r&&(s.e.r=gn(r["!ref"]).e.r,i=Zr(s));for(var o=0;o<a.length;++o){var f=a[o];if(f.Name=="_xlnm._FilterDatabase"&&f.Sheet==n){f.Ref=ef(t.SheetNames[n])+"!"+Q0(i);break}}return o==a.length&&a.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:"'"+t.SheetNames[n]+"'!"+i}),Je("autoFilter",null,{ref:i})}function Hb(e,r,t,n){var i={workbookViewId:"0"};return(((n||{}).Workbook||{}).Views||[])[0]&&(i.rightToLeft=n.Workbook.Views[0].RTL?"1":"0"),Je("sheetViews",Je("sheetView",null,i),{})}function qb(e,r,t,n,i,a,s){if(e.c&&t["!comments"].push([r,e.c]),(e.v===void 0||e.t==="z"&&!(n||{}).sheetStubs)&&typeof e.f!="string"&&typeof e.z>"u")return"";var o="",f=e.t,l=e.v;if(e.t!=="z")switch(e.t){case"b":o=e.v?"1":"0";break;case"n":isNaN(e.v)?(e.t="e",o=Gn[e.v=36]):isFinite(e.v)?o=""+e.v:(e.t="e",o=Gn[e.v=7]);break;case"e":o=Gn[e.v];break;case"d":if(n&&n.cellDates){var h=Jn(e.v,s);o=h.toISOString(),h.getUTCFullYear()<1900&&(o=o.slice(o.indexOf("T")+1).replace("Z",""))}else e=On(e),e.t="n",o=""+(e.v=xn(Jn(e.v,s),s));typeof e.z>"u"&&(e.z=Ar[14]);break;default:o=e.v;break}var g=e.t=="z"||e.v==null?"":mn("v",zt(o)),p={r},u=us(n.cellXfs,e,n);switch(u!==0&&(p.s=u),e.t){case"n":break;case"d":p.t="d";break;case"b":p.t="b";break;case"e":p.t="e";break;case"z":break;default:if(e.v==null){delete e.t;break}if(e.v.length>32767)throw new Error("Text length must not exceed 32767 characters");if(n&&n.bookSST){g=mn("v",""+Fu(n.Strings,e.v,n.revStrings)),p.t="s";break}else p.t="str";break}if(e.t!=f&&(e.t=f,e.v=l),typeof e.f=="string"&&e.f){var _=e.F&&e.F.slice(0,r.length)==r?{t:"array",ref:e.F}:null;g=Je("f",zt(e.f),_)+(e.v!=null?g:"")}return e.l&&(e.l.display=zt(o),t["!links"].push([r,e.l])),e.D&&(p.cm=1),Je("c",g,p)}function Gb(e,r,t,n){var i=[],a=[],s=Sr(e["!ref"]),o="",f,l="",h=[],g=0,p=0,u=e["!rows"],_=e["!data"]!=null,w=_?e["!data"]:[],y={r:l},v,E=-1,S=(((n||{}).Workbook||{}).WBProps||{}).date1904;for(p=s.s.c;p<=s.e.c;++p)h[p]=cr(p);for(g=s.s.r;g<=s.e.r;++g){a=[],l=ur(g);var R=_?w[g]:[];for(p=s.s.c;p<=s.e.c;++p){f=h[p]+l;var re=_?R[p]:e[f];re!==void 0&&(o=qb(re,f,e,r,t,n,S))!=null&&a.push(o)}(a.length>0||u&&u[g])&&(y={r:l},u&&u[g]&&(v=u[g],v.hidden&&(y.hidden=1),E=-1,v.hpx?E=Bl(v.hpx):v.hpt&&(E=v.hpt),E>-1&&(y.ht=E,y.customHeight=1),v.level&&(y.outlineLevel=v.level)),i[i.length]=Je("row",a.join(""),y))}if(u)for(;g<u.length;++g)u&&u[g]&&(y={r:g+1},v=u[g],v.hidden&&(y.hidden=1),E=-1,v.hpx?E=Bl(v.hpx):v.hpt&&(E=v.hpt),E>-1&&(y.ht=E,y.customHeight=1),v.level&&(y.outlineLevel=v.level),i[i.length]=Je("row","",y));return i.join("")}function Vb(e,r,t,n){var i=[Jr,Je("worksheet",null,{xmlns:e0[0],"xmlns:r":fn.r})],a=t.SheetNames[e],s=0,o="",f=t.Sheets[a];f==null&&(f={});var l=f["!ref"]||"A1",h=Sr(l);if(h.e.c>16383||h.e.r>1048575){if(r.WTF)throw new Error("Range "+l+" exceeds format limit A1:XFD1048576");h.e.c=Math.min(h.e.c,16383),h.e.r=Math.min(h.e.c,1048575),l=Zr(h)}n||(n={}),f["!comments"]=[];var g=[];Rb(f,t,e,r,i),i[i.length]=Je("dimension",null,{ref:l}),i[i.length]=Hb(f,r,e,t),r.sheetFormat&&(i[i.length]=Je("sheetFormatPr",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||"16",baseColWidth:r.sheetFormat.baseColWidth||"10",outlineLevelRow:r.sheetFormat.outlineLevelRow||"7"})),f["!cols"]!=null&&f["!cols"].length>0&&(i[i.length]=zb(f,f["!cols"])),i[s=i.length]="<sheetData/>",f["!links"]=[],f["!ref"]!=null&&(o=Gb(f,r,e,t),o.length>0&&(i[i.length]=o)),i.length>s+1&&(i[i.length]="</sheetData>",i[s]=i[s].replace("/>",">")),f["!protect"]&&(i[i.length]=Ub(f["!protect"])),f["!autofilter"]!=null&&(i[i.length]=Wb(f["!autofilter"],f,t,e)),f["!merges"]!=null&&f["!merges"].length>0&&(i[i.length]=Db(f["!merges"]));var p=-1,u,_=-1;return f["!links"].length>0&&(i[i.length]="<hyperlinks>",f["!links"].forEach(function(w){w[1].Target&&(u={ref:w[0]},w[1].Target.charAt(0)!="#"&&(_=rr(n,-1,zt(w[1].Target).replace(/#[\s\S]*$/,""),Kt.HLINK),u["r:id"]="rId"+_),(p=w[1].Target.indexOf("#"))>-1&&(u.location=zt(w[1].Target.slice(p+1))),w[1].Tooltip&&(u.tooltip=zt(w[1].Tooltip)),u.display=w[1].display,i[i.length]=Je("hyperlink",null,u))}),i[i.length]="</hyperlinks>"),delete f["!links"],f["!margins"]!=null&&(i[i.length]=jb(f["!margins"])),(!r||r.ignoreEC||r.ignoreEC==null)&&(i[i.length]=mn("ignoredErrors",Je("ignoredError",null,{numberStoredAsText:1,sqref:l}))),g.length>0&&(_=rr(n,-1,"../drawings/drawing"+(e+1)+".xml",Kt.DRAW),i[i.length]=Je("drawing",null,{"r:id":"rId"+_}),f["!drawing"]=g),f["!comments"].length>0&&(_=rr(n,-1,"../drawings/vmlDrawing"+(e+1)+".vml",Kt.VML),i[i.length]=Je("legacyDrawing",null,{"r:id":"rId"+_}),f["!legacy"]=_),i.length>1&&(i[i.length]="</worksheet>",i[1]=i[1].replace("/>",">")),i.join("")}function $b(e,r){var t={},n=e.l+r;t.r=e.read_shift(4),e.l+=4;var i=e.read_shift(2);e.l+=1;var a=e.read_shift(1);return e.l=n,a&7&&(t.level=a&7),a&16&&(t.hidden=!0),a&32&&(t.hpt=i/20),t}function Xb(e,r,t){var n=Ee(145),i=(t["!rows"]||[])[e]||{};n.write_shift(4,e),n.write_shift(4,0);var a=320;i.hpx?a=Bl(i.hpx)*20:i.hpt&&(a=i.hpt*20),n.write_shift(2,a),n.write_shift(1,0);var s=0;i.level&&(s|=i.level),i.hidden&&(s|=16),(i.hpx||i.hpt)&&(s|=32),n.write_shift(1,s),n.write_shift(1,0);var o=0,f=n.l;n.l+=4;for(var l={r:e,c:0},h=t["!data"]!=null,g=0;g<16;++g)if(!(r.s.c>g+1<<10||r.e.c<g<<10)){for(var p=-1,u=-1,_=g<<10;_<g+1<<10;++_){l.c=_;var w=h?(t["!data"][l.r]||[])[l.c]:t[Cr(l)];w&&(p<0&&(p=_),u=_)}p<0||(++o,n.write_shift(4,p),n.write_shift(4,u))}var y=n.l;return n.l=f,n.write_shift(4,o),n.l=y,n.length>n.l?n.slice(0,n.l):n}function Yb(e,r,t,n){var i=Xb(n,t,r);(i.length>17||(r["!rows"]||[])[n])&&ze(e,0,i)}var Kb=to,Zb=n0;function Jb(){}function Qb(e,r){var t={},n=e[e.l];return++e.l,t.above=!(n&64),t.left=!(n&128),e.l+=18,t.name=$w(e),t}function e8(e,r,t){t==null&&(t=Ee(84+4*e.length));var n=192;r&&(r.above&&(n&=-65),r.left&&(n&=-129)),t.write_shift(1,n);for(var i=1;i<3;++i)t.write_shift(1,0);return Il({auto:1},t),t.write_shift(-4,-1),t.write_shift(-4,-1),g5(e,t),t.slice(0,t.l)}function t8(e){var r=Fi(e);return[r]}function r8(e,r,t){return t==null&&(t=Ee(8)),Js(r,t)}function n8(e){var r=Qs(e);return[r]}function i8(e,r,t){return t==null&&(t=Ee(4)),eo(r,t)}function a8(e){var r=Fi(e),t=e.read_shift(1);return[r,t,"b"]}function s8(e,r,t){return t==null&&(t=Ee(9)),Js(r,t),t.write_shift(1,e.v?1:0),t}function o8(e){var r=Qs(e),t=e.read_shift(1);return[r,t,"b"]}function f8(e,r,t){return t==null&&(t=Ee(5)),eo(r,t),t.write_shift(1,e.v?1:0),t}function l8(e){var r=Fi(e),t=e.read_shift(1);return[r,t,"e"]}function yh(e,r,t){return t==null&&(t=Ee(9)),Js(r,t),t.write_shift(1,e.v),t}function c8(e){var r=Qs(e),t=e.read_shift(1);return[r,t,"e"]}function bh(e,r,t){return t==null&&(t=Ee(8)),eo(r,t),t.write_shift(1,e.v),t.write_shift(2,0),t.write_shift(1,0),t}function h8(e){var r=Fi(e),t=e.read_shift(4);return[r,t,"s"]}function u8(e,r,t){return t==null&&(t=Ee(12)),Js(r,t),t.write_shift(4,r.v),t}function d8(e){var r=Qs(e),t=e.read_shift(4);return[r,t,"s"]}function p8(e,r,t){return t==null&&(t=Ee(8)),eo(r,t),t.write_shift(4,r.v),t}function m8(e){var r=Fi(e),t=i0(e);return[r,t,"n"]}function g8(e,r,t){return t==null&&(t=Ee(16)),Js(r,t),Xs(e.v,t),t}function x8(e){var r=Qs(e),t=i0(e);return[r,t,"n"]}function v8(e,r,t){return t==null&&(t=Ee(12)),eo(r,t),Xs(e.v,t),t}function _8(e){var r=Fi(e),t=Su(e);return[r,t,"n"]}function w8(e,r,t){return t==null&&(t=Ee(12)),Js(r,t),x5(e.v,t),t}function y8(e){var r=Qs(e),t=Su(e);return[r,t,"n"]}function b8(e,r,t){return t==null&&(t=Ee(8)),eo(r,t),x5(e.v,t),t}function A8(e){var r=Fi(e),t=bu(e);return[r,t,"is"]}function S8(e){var r=Fi(e),t=In(e);return[r,t,"str"]}function E8(e,r,t){var n=e.v==null?"":String(e.v);return t==null&&(t=Ee(12+4*e.v.length)),Js(r,t),nn(n,t),t.length>t.l?t.slice(0,t.l):t}function T8(e){var r=Qs(e),t=In(e);return[r,t,"str"]}function N8(e,r,t){var n=e.v==null?"":String(e.v);return t==null&&(t=Ee(8+4*n.length)),eo(r,t),nn(n,t),t.length>t.l?t.slice(0,t.l):t}function F8(e,r,t){var n=e.l+r,i=Fi(e);i.r=t["!row"];var a=e.read_shift(1),s=[i,a,"b"];if(t.cellFormula){e.l+=2;var o=rc(e,n-e.l,t);s[3]=Ko(o,null,i,t.supbooks,t)}else e.l=n;return s}function L8(e,r,t){var n=e.l+r,i=Fi(e);i.r=t["!row"];var a=e.read_shift(1),s=[i,a,"e"];if(t.cellFormula){e.l+=2;var o=rc(e,n-e.l,t);s[3]=Ko(o,null,i,t.supbooks,t)}else e.l=n;return s}function k8(e,r,t){var n=e.l+r,i=Fi(e);i.r=t["!row"];var a=i0(e),s=[i,a,"n"];if(t.cellFormula){e.l+=2;var o=rc(e,n-e.l,t);s[3]=Ko(o,null,i,t.supbooks,t)}else e.l=n;return s}function C8(e,r,t){var n=e.l+r,i=Fi(e);i.r=t["!row"];var a=In(e),s=[i,a,"str"];if(t.cellFormula){e.l+=2;var o=rc(e,n-e.l,t);s[3]=Ko(o,null,i,t.supbooks,t)}else e.l=n;return s}var P8=to,I8=n0;function O8(e,r){return r==null&&(r=Ee(4)),r.write_shift(4,e),r}function D8(e,r){var t=e.l+r,n=to(e),i=Jl(e),a=In(e),s=In(e),o=In(e);e.l=t;var f={rfx:n,relId:i,loc:a,display:o};return s&&(f.Tooltip=s),f}function R8(e,r){var t=Ee(50+4*(e[1].Target.length+(e[1].Tooltip||"").length));n0({s:Fr(e[0]),e:Fr(e[0])},t),Au("rId"+r,t);var n=e[1].Target.indexOf("#"),i=n==-1?"":e[1].Target.slice(n+1);return nn(i||"",t),nn(e[1].Tooltip||"",t),nn("",t),t.slice(0,t.l)}function B8(){}function M8(e,r,t){var n=e.l+r,i=v5(e),a=e.read_shift(1),s=[i];if(s[2]=a,t.cellFormula){var o=xb(e,n-e.l,t);s[1]=o}else e.l=n;return s}function U8(e,r,t){var n=e.l+r,i=to(e),a=[i];if(t.cellFormula){var s=_b(e,n-e.l,t);a[1]=s,e.l=n}else e.l=n;return a}function j8(e,r,t){t==null&&(t=Ee(18));var n=nc(e,r);t.write_shift(-4,e),t.write_shift(-4,e),t.write_shift(4,(n.width||10)*256),t.write_shift(4,0);var i=0;return r.hidden&&(i|=1),typeof n.width=="number"&&(i|=2),r.level&&(i|=r.level<<8),t.write_shift(2,i),t}var J5=["left","right","top","bottom","header","footer"];function z8(e){var r={};return J5.forEach(function(t){r[t]=i0(e)}),r}function W8(e,r){return r==null&&(r=Ee(6*8)),Z5(e),J5.forEach(function(t){Xs(e[t],r)}),r}function H8(e){var r=e.read_shift(2);return e.l+=28,{RTL:r&32}}function q8(e,r,t){t==null&&(t=Ee(30));var n=924;return(((r||{}).Views||[])[0]||{}).RTL&&(n|=32),t.write_shift(2,n),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(1,0),t.write_shift(1,0),t.write_shift(2,0),t.write_shift(2,100),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(2,0),t.write_shift(4,0),t}function G8(e){var r=Ee(24);return r.write_shift(4,4),r.write_shift(4,1),n0(e,r),r}function V8(e,r){return r==null&&(r=Ee(16*4+2)),r.write_shift(2,e.password?D5(e.password):0),r.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(t){t[1]?r.write_shift(4,e[t[0]]!=null&&!e[t[0]]?1:0):r.write_shift(4,e[t[0]]!=null&&e[t[0]]?0:1)}),r}function $8(){}function X8(){}function Y8(e,r,t,n,i,a,s,o){var f={r:t,c:n};if(r.c&&a["!comments"].push([Cr(f),r.c]),r.v===void 0)return!1;var l="";switch(r.t){case"b":l=r.v?"1":"0";break;case"d":r=On(r),r.z=r.z||Ar[14],r.v=xn(Jn(r.v,o),o),r.t="n";break;case"n":case"e":l=""+r.v;break;default:l=r.v;break}switch(f.s=us(i.cellXfs,r,i),r.l&&a["!links"].push([Cr(f),r.l]),r.t){case"s":case"str":return i.bookSST?(l=Fu(i.Strings,r.v==null?"":String(r.v),i.revStrings),f.t="s",f.v=l,s?ze(e,18,p8(r,f)):ze(e,7,u8(r,f))):(f.t="str",s?ze(e,17,N8(r,f)):ze(e,6,E8(r,f))),!0;case"n":return r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3?s?ze(e,13,b8(r,f)):ze(e,2,w8(r,f)):isFinite(r.v)?s?ze(e,16,v8(r,f)):ze(e,5,g8(r,f)):(f.t="e",isNaN(r.v)?s?ze(e,14,bh({t:"e",v:36},f)):ze(e,3,yh({t:"e",v:36},f)):s?ze(e,14,bh({t:"e",v:7},f)):ze(e,3,yh({t:"e",v:7},f))),!0;case"b":return f.t="b",s?ze(e,15,f8(r,f)):ze(e,4,s8(r,f)),!0;case"e":return f.t="e",s?ze(e,14,bh(r,f)):ze(e,3,yh(r,f)),!0}return s?ze(e,12,i8(r,f)):ze(e,1,r8(r,f)),!0}function K8(e,r,t,n,i){var a=Sr(r["!ref"]||"A1"),s="",o=[],f=(((i||{}).Workbook||{}).WBProps||{}).date1904;ze(e,145);var l=r["!data"]!=null,h=l?r["!data"][a.s.r]:[],g=a.e.r;r["!rows"]&&(g=Math.max(a.e.r,r["!rows"].length-1));for(var p=a.s.r;p<=g;++p)if(s=ur(p),l&&(h=r["!data"][p]),Yb(e,r,a,p),!(l&&!h)){var u=!1;if(p<=a.e.r)for(var _=a.s.c;_<=a.e.c;++_){p===a.s.r&&(o[_]=cr(_));var w=l?h[_]:r[o[_]+s];if(!w){u=!1;continue}u=Y8(e,w,p,_,n,r,u,f)}}ze(e,146)}function Z8(e,r){!r||!r["!merges"]||(ze(e,177,O8(r["!merges"].length)),r["!merges"].forEach(function(t){ze(e,176,I8(t))}),ze(e,178))}function J8(e,r){!r||!r["!cols"]||(ze(e,390),r["!cols"].forEach(function(t,n){t&&ze(e,60,j8(n,t))}),ze(e,391))}function Q8(e,r){!r||!r["!ref"]||(ze(e,648),ze(e,649,G8(Sr(r["!ref"]))),ze(e,650))}function eA(e,r,t){r["!links"].forEach(function(n){if(n[1].Target){var i=rr(t,-1,n[1].Target.replace(/#[\s\S]*$/,""),Kt.HLINK);ze(e,494,R8(n,i))}}),delete r["!links"]}function tA(e,r,t,n){if(r["!comments"].length>0){var i=rr(n,-1,"../drawings/vmlDrawing"+(t+1)+".vml",Kt.VML);ze(e,551,Au("rId"+i)),r["!legacy"]=i}}function rA(e,r,t,n){if(r["!autofilter"]){var i=r["!autofilter"],a=typeof i.ref=="string"?i.ref:Zr(i.ref);t.Workbook||(t.Workbook={Sheets:[]}),t.Workbook.Names||(t.Workbook.Names=[]);var s=t.Workbook.Names,o=gn(a);o.s.r==o.e.r&&(o.e.r=gn(r["!ref"]).e.r,a=Zr(o));for(var f=0;f<s.length;++f){var l=s[f];if(l.Name=="_xlnm._FilterDatabase"&&l.Sheet==n){l.Ref=ef(t.SheetNames[n])+"!"+Q0(a);break}}f==s.length&&s.push({Name:"_xlnm._FilterDatabase",Sheet:n,Ref:ef(t.SheetNames[n])+"!"+Q0(a)}),ze(e,161,n0(Sr(a))),ze(e,162)}}function nA(e,r,t){ze(e,133),ze(e,137,q8(r,t)),ze(e,138),ze(e,134)}function iA(e,r){r["!protect"]&&ze(e,535,V8(r["!protect"]))}function aA(e,r,t,n){var i=Pn(),a=t.SheetNames[e],s=t.Sheets[a]||{},o=a;try{t&&t.Workbook&&(o=t.Workbook.Sheets[e].CodeName||o)}catch{}var f=Sr(s["!ref"]||"A1");if(f.e.c>16383||f.e.r>1048575){if(r.WTF)throw new Error("Range "+(s["!ref"]||"A1")+" exceeds format limit A1:XFD1048576");f.e.c=Math.min(f.e.c,16383),f.e.r=Math.min(f.e.c,1048575)}return s["!links"]=[],s["!comments"]=[],ze(i,129),(t.vbaraw||s["!outline"])&&ze(i,147,e8(o,s["!outline"])),ze(i,148,Zb(f)),nA(i,s,t.Workbook),J8(i,s),K8(i,s,e,r,t),iA(i,s),rA(i,s,t,e),Z8(i,s),eA(i,s,n),s["!margins"]&&ze(i,476,W8(s["!margins"])),(!r||r.ignoreEC||r.ignoreEC==null)&&Q8(i,s),tA(i,s,e,n),ze(i,130),i.end()}function sA(e,r){e.l+=10;var t=In(e);return{name:t}}var oA=[["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"],["showBorder
256UnselectedTables",!0,"bool"],["showInkAnnotation",!0,"bool"],["showObjects","all"],["showPivotChartFilter",!1,"bool"],["updateLinks","userSet"]];function fA(e){return!e.Workbook||!e.Workbook.WBProps?"false":Sw(e.Workbook.WBProps.date1904)?"true":"false"}var lA=":][*?/\\".split("");function Q5(e,r){try{if(e=="")throw new Error("Sheet name cannot be blank");if(e.length>31)throw new Error("Sheet name cannot exceed 31 chars");if(e.charCodeAt(0)==39||e.charCodeAt(e.length-1)==39)throw new Error("Sheet name cannot start or end with apostrophe (')");if(e.toLowerCase()=="history")throw new Error("Sheet name cannot be 'History'");lA.forEach(function(t){if(e.indexOf(t)!=-1)throw new Error("Sheet name cannot contain : \\ / ? * [ ]")})}catch(t){throw t}return!0}function cA(e,r,t){e.forEach(function(n,i){Q5(n);for(var a=0;a<i;++a)if(n==e[a])throw new Error("Duplicate Sheet Name: "+n);if(t){var s=r&&r[i]&&r[i].CodeName||n;if(s.charCodeAt(0)==95&&s.length>22)throw new Error("Bad Code Name: Worksheet"+s)}})}function hA(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error("Invalid Workbook");if(!e.SheetNames.length)throw new Error("Workbook is empty");var r=e.Workbook&&e.Workbook.Sheets||[];cA(e.SheetNames,r,!!e.vbaraw);for(var t=0;t<e.SheetNames.length;++t)Ob(e.Sheets[e.SheetNames[t]],e.SheetNames[t],t);e.SheetNames.forEach(function(n,i){var a=e.Sheets[n];if(!(!a||!a["!autofilter"])){var s;e.Workbook||(e.Workbook={}),e.Workbook.Names||(e.Workbook.Names=[]),e.Workbook.Names.forEach(function(f){f.Name=="_xlnm._FilterDatabase"&&f.Sheet==i&&(s=f)});var o=ef(n)+"!"+Q0(a["!autofilter"].ref);s?s.Ref=o:e.Workbook.Names.push({Name:"_xlnm._FilterDatabase",Sheet:i,Ref:o})}})}function uA(e){var r=[Jr];r[r.length]=Je("workbook",null,{xmlns:e0[0],"xmlns:r":fn.r});var t=e.Workbook&&(e.Workbook.Names||[]).length>0,n={codeName:"ThisWorkbook"};e.Workbook&&e.Workbook.WBProps&&(oA.forEach(function(o){e.Workbook.WBProps[o[0]]!=null&&e.Workbook.WBProps[o[0]]!=o[1]&&(n[o[0]]=e.Workbook.WBProps[o[0]])}),e.Workbook.WBProps.CodeName&&(n.codeName=e.Workbook.WBProps.CodeName,delete n.CodeName)),r[r.length]=Je("workbookPr",null,n);var i=e.Workbook&&e.Workbook.Sheets||[],a=0;if(i&&i[0]&&i[0].Hidden){for(r[r.length]="<bookViews>",a=0;a!=e.SheetNames.length&&!(!i[a]||!i[a].Hidden);++a);a==e.SheetNames.length&&(a=0),r[r.length]='<workbookView firstSheet="'+a+'" activeTab="'+a+'"/>',r[r.length]="</bookViews>"}for(r[r.length]="<sheets>",a=0;a!=e.SheetNames.length;++a){var s={name:zt(e.SheetNames[a].slice(0,31))};if(s.sheetId=""+(a+1),s["r:id"]="rId"+(a+1),i[a])switch(i[a].Hidden){case 1:s.state="hidden";break;case 2:s.state="veryHidden";break}r[r.length]=Je("sheet",null,s)}return r[r.length]="</sheets>",t&&(r[r.length]="<definedNames>",e.Workbook&&e.Workbook.Names&&e.Workbook.Names.forEach(function(o){var f={name:o.Name};o.Comment&&(f.comment=o.Comment),o.Sheet!=null&&(f.localSheetId=""+o.Sheet),o.Hidden&&(f.hidden="1"),o.Ref&&(r[r.length]=Je("definedName",zt(o.Ref),f))}),r[r.length]="</definedNames>"),r.length>2&&(r[r.length]="</workbook>",r[1]=r[1].replace("/>",">")),r.join("")}function dA(e,r){var t={};return t.Hidden=e.read_shift(4),t.iTabID=e.read_shift(4),t.strRelID=$h(e),t.name=In(e),t}function pA(e,r){return r||(r=Ee(127)),r.write_shift(4,e.Hidden),r.write_shift(4,e.iTabID),Au(e.strRelID,r),nn(e.name.slice(0,31),r),r.length>r.l?r.slice(0,r.l):r}function mA(e,r){var t={},n=e.read_shift(4);t.defaultThemeVersion=e.read_shift(4);var i=r>8?In(e):"";return i.length>0&&(t.CodeName=i),t.autoCompressPictures=!!(n&65536),t.backupFile=!!(n&64),t.checkCompatibility=!!(n&4096),t.date1904=!!(n&1),t.filterPrivacy=!!(n&8),t.hidePivotFieldList=!!(n&1024),t.promptedSolutions=!!(n&16),t.publishItems=!!(n&2048),t.refreshAllConnections=!!(n&262144),t.saveExternalLinkValues=!!(n&128),t.showBorderUnselectedTables=!!(n&4),t.showInkAnnotation=!!(n&32),t.showObjects=["all","placeholders","none"][n>>13&3],t.showPivotChartFilter=!!(n&32768),t.updateLinks=["userSet","never","always"][n>>8&3],t}function gA(e,r){r||(r=Ee(72));var t=0;return e&&(e.date1904&&(t|=1),e.filterPrivacy&&(t|=8)),r.write_shift(4,t),r.write_shift(4,0),g5(e&&e.CodeName||"ThisWorkbook",r),r.slice(0,r.l)}
vendor: 47,322 bytes, lines 256-290
256function xA(e,r,t){var n=e.l+r,i=e.read_shift(4);e.l+=1;var a=e.read_shift(4),s=Xw(e),o,f="";try{o=vb(e,0,t);try{f=Jl(e)}catch{}}catch{console.error("Could not parse defined name "+s)}i&32&&(s="_xlnm."+s),e.l=n;var l={Name:s,Ptg:o,Flags:i};return a<268435455&&(l.Sheet=a),f&&(l.Comment=f),l}function vA(e,r){var t=Ee(9),n=0,i=e.Name;s3.indexOf(i)>-1&&(n|=32,i=i.slice(6)),t.write_shift(4,n),t.write_shift(1,0),t.write_shift(4,e.Sheet==null?4294967295:e.Sheet);var a=[t,nn(i),kb(e.Ref,r)];if(e.Comment)a.push(tf(e.Comment));else{var s=Ee(4);s.write_shift(4,4294967295),a.push(s)}return Yr(a)}function _A(e,r){ze(e,143);for(var t=0;t!=r.SheetNames.length;++t){var n=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0,i={Hidden:n,iTabID:t+1,strRelID:"rId"+(t+1),name:r.SheetNames[t]};ze(e,156,pA(i))}ze(e,144)}function wA(e,r){r||(r=Ee(127));for(var t=0;t!=4;++t)r.write_shift(4,0);return nn("SheetJS",r),nn(Sl.version,r),nn(Sl.version,r),nn("7262",r),r.length>r.l?r.slice(0,r.l):r}function yA(e,r){r||(r=Ee(29)),r.write_shift(-4,0),r.write_shift(-4,460),r.write_shift(4,28800),r.write_shift(4,17600),r.write_shift(4,500),r.write_shift(4,e),r.write_shift(4,e);var t=120;return r.write_shift(1,t),r.length>r.l?r.slice(0,r.l):r}function bA(e,r){if(!(!r.Workbook||!r.Workbook.Sheets)){for(var t=r.Workbook.Sheets,n=0,i=-1,a=-1;n<t.length;++n)!t[n]||!t[n].Hidden&&i==-1?i=n:t[n].Hidden==1&&a==-1&&(a=n);a>i||(ze(e,135),ze(e,158,yA(i)),ze(e,136))}}function AA(e,r){!r.Workbook||!r.Workbook.Names||r.Workbook.Names.forEach(function(t){try{if(t.Flags&14)return;ze(e,39,vA(t,r))}catch{console.error("Could not serialize defined name "+JSON.stringify(t))}})}function SA(e){var r=e.SheetNames.length,t=Ee(12*r+28);t.write_shift(4,r+2),t.write_shift(4,0),t.write_shift(4,-2),t.write_shift(4,-2),t.write_shift(4,0),t.write_shift(4,-1),t.write_shift(4,-1);for(var n=0;n<r;++n)t.write_shift(4,0),t.write_shift(4,n),t.write_shift(4,n);return t}function EA(e,r){ze(e,353),ze(e,357),ze(e,362,SA(r)),ze(e,354)}function TA(e,r){var t=Pn();return ze(t,131),ze(t,128,wA()),ze(t,153,gA(e.Workbook&&e.Workbook.WBProps||null)),bA(t,e),_A(t,e),EA(t,e),(e.Workbook||{}).Names&&AA(t,e),ze(t,132),t.end()}function NA(e,r){var t=[];return e.Props&&t.push(h3(e.Props,r)),e.Custprops&&t.push(u3(e.Props,e.Custprops)),t.join("")}function FA(e){return(((e||{}).Workbook||{}).WBProps||{}).date1904?'<ExcelWorkbook xmlns="urn:schemas-microsoft-com:office:excel"><Date1904/></ExcelWorkbook>':""}function LA(e,r){var t=['<Style ss:ID="Default" ss:Name="Normal"><NumberFormat/></Style>'];return r.cellXfs.forEach(function(n,i){var a=[];a.push(Je("NumberFormat",null,{"ss:Format":zt(Ar[n.numFmtId])}));var s={"ss:ID":"s"+(21+i)};t.push(Je("Style",a.join(""),s))}),Je("Styles",t.join(""))}function em(e){return Je("NamedRange",null,{"ss:Name":e.Name.slice(0,6)=="_xlnm."?e.Name.slice(6):e.Name,"ss:RefersTo":"="+ec(e.Ref,{r:0,c:0})})}function kA(e){if(!((e||{}).Workbook||{}).Names)return"";for(var r=e.Workbook.Names,t=[],n=0;n<r.length;++n){var i=r[n];i.Sheet==null&&(i.Name.match(/^_xlfn\./)||t.push(em(i)))}return Je("Names",t.join(""))}function CA(e,r,t,n){if(!e||!((n||{}).Workbook||{}).Names)return"";for(var i=n.Workbook.Names,a=[],s=0;s<i.length;++s){var o=i[s];o.Sheet==t&&(o.Name.match(/^_xlfn\./)||a.push(em(o)))}return a.join("")}function PA(e,r,t,n){if(!e)return"";var i=[];if(e["!margins"]&&(i.push("<PageSetup>"),e["!margins"].header&&i.push(Je("Header",null,{"x:Margin":e["!margins"].header})),e["!margins"].footer&&i.push(Je("Footer",null,{"x:Margin":e["!margins"].footer})),i.push(Je("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"})),i.push("</PageSetup>")),n&&n.Workbook&&n.Workbook.Sheets&&n.Workbook.Sheets[t])if(n.Workbook.Sheets[t].Hidden)i.push(Je("Visible",n.Workbook.Sheets[t].Hidden==1?"SheetHidden":"SheetVeryHidden",{}));else{for(var a=0;a<t&&!(n.Workbook.Sheets[a]&&!n.Workbook.Sheets[a].Hidden);++a);a==t&&i.push("<Selected/>")}return((((n||{}).Workbook||{}).Views||[])[0]||{}).RTL&&i.push("<DisplayRightToLeft/>"),e["!protect"]&&(i.push(mn("ProtectContents","True")),e["!protect"].objects&&i.push(mn("ProtectObjects","True")),e["!protect"].scenarios&&i.push(mn("ProtectScenarios","True")),e["!protect"].selectLockedCells!=null&&!e["!protect"].selectLockedCells?i.push(mn("EnableSelection","NoSelection")):e["!protect"].selectUnlockedCells!=null&&!e["!protect"].selectUnlockedCells&&i.push(mn("EnableSelection","UnlockedCells")),[["formatCells","AllowFormatCells"],["formatColumns","AllowSizeCols"],["formatRows","AllowSizeRows"],["insertColumns","AllowInsertCols"],["insertRows","AllowInsertRows"],["insertHyperlinks","AllowInsertHyperlinks"],["deleteColumns","AllowDeleteCols"],["deleteRows","AllowDeleteRows"],["sort","AllowSort"],["autoFilter","AllowFilter"],["pivotTables","AllowUsePivotTables"]].forEach(function(s){e["!protect"][s[0]]&&i.push("<"+s[1]+"/>")})),i.length==0?"":Je("WorksheetOptions",i.join(""),{xmlns:ui.x})}function IA(e){return e.map(function(r){var t=Aw(r.t||""),n=Je("ss:Data",t,{xmlns:"http://www.w3.org/TR/REC-html40"}),i={};return r.a&&(i["ss:Author"]=r.a),e.hidden||(i["ss:ShowAlways"]="1"),Je("Comment",n,i)}).join("")}function OA(e,r,t,n,i,a,s){if(!e||e.v==null&&e.f==null)return"";var o={};if(e.f&&(o["ss:Formula"]="="+zt(ec(e.f,s))),e.F&&e.F.slice(0,r.length)==r){var f=Fr(e.F.slice(r.length+1));o["ss:ArrayRange"]="RC:R"+(f.r==s.r?"":"["+(f.r-s.r)+"]")+"C"+(f.c==s.c?"":"["+(f.c-s.c)+"]")}if(e.l&&e.l.Target&&(o["ss:HRef"]=zt(e.l.Target),e.l.Tooltip&&(o["x:HRefScreenTip"]=zt(e.l.Tooltip))),t["!merges"])for(var l=t["!merges"],h=0;h!=l.length;++h)l[h].s.c!=s.c||l[h].s.r!=s.r||(l[h].e.c>l[h].s.c&&(o["ss:MergeAcross"]=l[h].e.c-l[h].s.c),l[h].e.r>l[h].s.r&&(o["ss:MergeDown"]=l[h].e.r-l[h].s.r));var g="",p="";switch(e.t){case"z":if(!n.sheetStubs)return"";break;case"n":isFinite(e.v)?(g="Number",p=String(e.v)):(g="Error",p=Gn[isNaN(e.v)?36:7]);break;case"b":g="Boolean",p=e.v?"1":"0";break;case"e":g="Error",p=Gn[e.v];break;case"d":g="DateTime",p=new Date(e.v).toISOString(),e.z==null&&(e.z=e.z||Ar[14]);break;case"s":g="String",p=bw(e.v||"");break}var u=us(n.cellXfs,e,n);o["ss:StyleID"]="s"+(21+u),o["ss:Index"]=s.c+1;var _=e.v!=null?p:"",w=e.t=="z"?"":'<Data ss:Type="'+g+'">'+_+"</Data>";return(e.c||[]).length>0&&(w+=IA(e.c)),Je("Cell",w,o)}function DA(e,r){var t='<Row ss:Index="'+(e+1)+'"';return r&&(r.hpt&&!r.hpx&&(r.hpx=B5(r.hpt)),r.hpx&&(t+=' ss:AutoFitHeight="0" ss:Height="'+r.hpx+'"'),r.hidden&&(t+=' ss:Hidden="1"')),t+">"}function RA(e,r,t,n){if(!e["!ref"])return"";var i=Sr(e["!ref"]),a=e["!merges"]||[],s=0,o=[];e["!cols"]&&e["!cols"].forEach(function(y,v){Tu(y);var E=!!y.width,S=nc(v,y),R={"ss:Index":v+1};E&&(R["ss:Width"]=Dl(S.width)),y.hidden&&(R["ss:Hidden"]="1"),o.push(Je("Column",null,R))});for(var f=e["!data"]!=null,l={r:0,c:0},h=i.s.r;h<=i.e.r;++h){var g=[DA(h,(e["!rows"]||[])[h])];l.r=h;for(var p=i.s.c;p<=i.e.c;++p){l.c=p;var u=!1;for(s=0;s!=a.length;++s)if(!(a[s].s.c>p)&&!(a[s].s.r>h)&&!(a[s].e.c<p)&&!(a[s].e.r<h)){(a[s].s.c!=p||a[s].s.r!=h)&&(u=!0);break}if(!u){var _=cr(p)+ur(h),w=f?(e["!data"][h]||[])[p]:e[_];g.push(OA(w,_,e,r,t,n,l))}}g.push("</Row>"),g.length>2&&o.push(g.join(""))}return o.join("")}function BA(e,r,t){var n=[],i=t.SheetNames[e],a=t.Sheets[i],s=a?CA(a,r,e,t):"";return s.length>0&&n.push("<Names>"+s+"</Names>"),s=a?RA(a,r,e,t):"",s.length>0&&n.push("<Table>"+s+"</Table>"),n.push(PA(a,r,e,t)),a&&a["!autofilter"]&&n.push('<AutoFilter x:Range="'+ec(Q0(a["!autofilter"].ref),{r:0,c:0})+'" xmlns="urn:schemas-microsoft-com:office:excel"></AutoFilter>'),n.join("")}function MA(e,r){r||(r={}),e.SSF||(e.SSF=On(Ar)),e.SSF&&(Yl(),Xl(e.SSF),r.revssf=Kl(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF,r.cellXfs=[],us(r.cellXfs,{},{revssf:{General:0}}));var t=[];t.push(NA(e,r)),t.push(FA(e)),t.push(""),t.push(kA(e));for(var n=0;n<e.SheetNames.length;++n)t.push(Je("Worksheet",BA(n,r,e),{"ss:Name":zt(e.SheetNames[n])}));return t[2]=LA(e,r),Jr+Je("Workbook",t.join(""),{xmlns:ui.ss,"xmlns:o":ui.o,"xmlns:x":ui.x,"xmlns:ss":ui.ss,"xmlns:dt":ui.dt,"xmlns:html":ui.html})}var Ah={SI:"e0859ff2f94f6810ab9108002b27b3d9",DSI:"02d5cdd59c2e1b10939708002b2cf9ae",UDI:"05d5cdd59c2e1b10939708002b2cf9ae"};function UA(e,r){var t=[],n=[],i=[],a=0,s,o=Y2(sd,"n"),f=Y2(od,"n");if(e.Props)for(s=Kr(e.Props),a=0;a<s.length;++a)(Object.prototype.hasOwnProperty.call(o,s[a])?t:Object.prototype.hasOwnProperty.call(f,s[a])?n:i).push([s[a],e.Props[s[a]]]);if(e.Custprops)for(s=Kr(e.Custprops),a=0;a<s.length;++a)Object.prototype.hasOwnProperty.call(e.Props||{},s[a])||(Object.prototype.hasOwnProperty.call(o,s[a])?t:Object.prototype.hasOwnProperty.call(f,s[a])?n:i).push([s[a],e.Custprops[s[a]]]);var l=[];for(a=0;a<i.length;++a)F5.indexOf(i[a][0])>-1||E5.indexOf(i[a][0])>-1||i[a][1]!=null&&l.push(i[a]);n.length&&gr.utils.cfb_add(r,"/�SummaryInformation",ud(n,Ah.SI,f,od)),(t.length||l.length)&&gr.utils.cfb_add(r,"/�DocumentSummaryInformation",ud(t,Ah.DSI,o,sd,l.length?l:null,Ah.UDI))}function jA(e,r){var t=r||{},n=gr.utils.cfb_new({root:"R"}),i="/Workbook";switch(t.bookType||"xls"){case"xls":t.bookType="biff8";case"xla":t.bookType||(t.bookType="xla");case"biff8":i="/Workbook",t.biff=8;break;case"biff5":i="/Book",t.biff=5;break;default:throw new Error("invalid type "+t.bookType+" for XLS CFB")}return gr.utils.cfb_add(n,i,rm(e,t)),t.biff==8&&(e.Props||e.Custprops)&&UA(e,n),t.biff==8&&e.vbaraw&&Ky(n,gr.read(e.vbaraw,{type:typeof e.vbaraw=="string"?"binary":"buffer"})),n}var zA={0:{f:$b},1:{f:t8},2:{f:_8},3:{f:l8},4:{f:a8},5:{f:m8},6:{f:S8},7:{f:h8},8:{f:C8},9:{f:k8},10:{f:F8},11:{f:L8},12:{f:n8},13:{f:y8},14:{f:c8},15:{f:o8},16:{f:x8},17:{f:T8},18:{f:d8},19:{f:bu},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:xA},40:{},42:{},43:{f:my},44:{f:dy},45:{f:vy},46:{f:wy},47:{f:_y},48:{},49:{f:zw},50:{},51:{f:Ry},52:{T:1},53:{T:-1},54:{T:1},55:{T:-1},56:{T:1},57:{T:-1},58:{},59:{},60:{f:G3},62:{f:A8},63:{f:Hy},64:{f:$8},65:{},66:{},67:{},68:{},69:{},70:{},128:{},129:{T:1},130:{T:-1},131:{T:1,f:ua,p:0},132:{T:-1},133:{T:1},134:{T:-1},135:{T:1},136:{T:-1},137:{T:1,f:H8},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:Qb},148:{f:Kb,p:16},151:{f:B8},152:{},153:{f:mA},154:{},155:{},156:{f:dA},157:{},158:{},159:{T:1,f:ry},160:{T:-1},161:{T:1,f:to},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:P8},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:Oy},336:{T:-1},337:{f:Uy,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:$h},357:{},358:{},359:{},360:{T:1},361:{},362:{f:j3},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:M8},427:{f:U8},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:z8},477:{},478:{},479:{T:1},480:{T:-1},481:{T:1},482:{T:-1},483:{T:1},484:{T:-1},485:{f:Jb},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:D8},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:$h},551:{f:Jl},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:Xy},633:{T:1},634:{T:-1},635:{T:1,f:Vy},636:{T:-1},637:{f:Gw},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:sA},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:X8},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 He(e,r,t,n){var i=r;if(!isNaN(i)){var a=n||(t||[]).length||0,s=e.next(4);s.write_shift(2,i),s.write_shift(2,a),a>0&&_u(t)&&e.push(t)}}function WA(e,r,t,n){var i=(t||[]).length||0;if(i<=8224)return He(e,r,t,i);var a=r;if(!isNaN(a)){for(var s=t.parts||[],o=0,f=0,l=0;l+(s[o]||8224)<=8224;)l+=s[o]||8224,o++;var h=e.next(4);for(h.write_shift(2,a),h.write_shift(2,l),e.push(t.slice(f,f+l)),f+=l;f<i;){for(h=e.next(4),h.write_shift(2,60),l=0;l+(s[o]||8224)<=8224;)l+=s[o]||8224,o++;h.write_shift(2,l),e.push(t.slice(f,f+l)),f+=l}}}function Sh(e,r,t,n){var i=Ee(9);return hf(i,e,r),L5(t,n||"b",i),i}function HA(e,r,t){var n=Ee(8+2*t.length);return hf(n,e,r),n.write_shift(1,t.length),n.write_shift(t.length,t,"sbcs"),n.l<n.length?n.slice(0,n.l):n}function tm(e,r){r.forEach(function(t){var n=t[0].map(function(a){return a.t}).join("");if(n.length<=2048)return He(e,28,_h(n,t[1],t[2]));He(e,28,_h(n.slice(0,2048),t[1],t[2],n.length));for(var i=2048;i<n.length;i+=2048)He(e,28,_h(n.slice(i,Math.min(i+2048,n.length)),-1,-1,Math.min(2048,n.length-i)))})}function qA(e,r,t,n,i,a){var s=0;r.z!=null&&(s=i._BIFF2FmtTable.indexOf(r.z),s==-1&&(i._BIFF2FmtTable.push(r.z),s=i._BIFF2FmtTable.length-1));var o=0;if(r.z!=null){for(;o<i.cellXfs.length&&i.cellXfs[o].numFmtId!=s;++o);o==i.cellXfs.length&&i.cellXfs.push({numFmtId:s})}if(r.v!=null)switch(r.t){case"d":case"n":var f=r.t=="d"?xn(Jn(r.v,a),a):r.v;i.biff==2&&f==(f|0)&&f>=0&&f<65536?He(e,2,Y3(t,n,f,o,s)):isNaN(f)?He(e,5,Sh(t,n,36,"e")):isFinite(f)?He(e,3,X3(t,n,f,o,s)):He(e,5,Sh(t,n,7,"e"));return;case"b":case"e":He(e,5,Sh(t,n,r.v,r.t));return;case"s":case"str":He(e,4,HA(t,n,r.v==null?"":String(r.v).slice(0,255)));return}He(e,1,hf(null,t,n))}function GA(e,r,t,n,i){var a=r["!data"]!=null,s=Sr(r["!ref"]||"A1"),o="",f=[];if(s.e.c>255||s.e.r>16383){if(n.WTF)throw new Error("Range "+(r["!ref"]||"A1")+" exceeds format limit A1:IV16384");s.e.c=Math.min(s.e.c,255),s.e.r=Math.min(s.e.r,16383)}for(var l=(((i||{}).Workbook||{}).WBProps||{}).date1904,h=[],g=[],p=s.s.c;p<=s.e.c;++p)f[p]=cr(p);for(var u=s.s.r;u<=s.e.r;++u)for(a&&(h=r["!data"][u]||[]),o=ur(u),p=s.s.c;p<=s.e.c;++p){var _=a?h[p]:r[f[p]+o];_&&(qA(e,_,u,p,n,l),_.c&&g.push([_.c,u,p]))}tm(e,g)}function VA(e,r){for(var t=r||{},n=Pn(),i=0,a=0;a<e.SheetNames.length;++a)e.SheetNames[a]==t.sheet&&(i=a);if(i==0&&t.sheet&&e.SheetNames[0]!=t.sheet)throw new Error("Sheet not found: "+t.sheet);He(n,t.biff==4?1033:t.biff==3?521:9,Eu(e,16,t)),((e.Workbook||{}).WBProps||{}).date1904&&He(n,34,kn(!0)),t.cellXfs=[{numFmtId:0}],t._BIFF2FmtTable=["General"],t._Fonts=[];var s=Pn();return GA(s,e.Sheets[e.SheetNames[i]],i,t,e),t._BIFF2FmtTable.forEach(function(o){t.biff<=3?He(n,30,I3(o)):He(n,1054,O3(o))}),t.cellXfs.forEach(function(o){switch(t.biff){case 2:He(n,67,R3(o));break;case 3:He(n,579,I5(o));break;case 4:He(n,1091,B3(o));break}}),delete t._BIFF2FmtTable,delete t.cellXfs,delete t._Fonts,n.push(s.end()),He(n,10),n.end()}var Mi=1,Si=[];function $A(){var e=Ee(82+8*Si.length);e.write_shift(2,15),e.write_shift(2,61440),e.write_shift(4,74+8*Si.length);{e.write_shift(2,0),e.write_shift(2,61446),e.write_shift(4,16+8*Si.length);{e.write_shift(4,Mi),e.write_shift(4,Si.length+1);for(var r=0,t=0;t<Si.length;++t)r+=Si[t]&&Si[t][1]||0;e.write_shift(4,r),e.write_shift(4,Si.length)}Si.forEach(function(n){e.write_shift(4,n[0]),e.write_shift(4,n[2])})}return e.write_shift(2,51),e.write_shift(2,61451),e.write_shift(4,18),e.write_shift(2,191),e.write_shift(4,524296),e.write_shift(2,385),e.write_shift(4,134217793),e.write_shift(2,448),e.write_shift(4,134217792),e.write_shift(2,64),e.write_shift(2,61726),e.write_shift(4,16),e.write_shift(4,134217741),e.write_shift(4,134217740),e.write_shift(4,134217751),e.write_shift(4,268435703),e}function XA(e,r){var t=[],n=0,i=Pn(),a=Mi,s;r.forEach(function(f,l){var h="",g=f[0].map(function(S){return S.a&&!h&&(h=S.a),S.t}).join("");++Mi;{var p=Ee(150);p.write_shift(2,15),p.write_shift(2,61444),p.write_shift(4,150),p.write_shift(2,3234),p.write_shift(2,61450),p.write_shift(4,8),p.write_shift(4,Mi),p.write_shift(4,2560),p.write_shift(2,227),p.write_shift(2,61451),p.write_shift(4,84),p.write_shift(2,128),p.write_shift(4,0),p.write_shift(2,139),p.write_shift(4,2),p.write_shift(2,191),p.write_shift(4,524296),p.write_shift(2,344),p.l+=4,p.write_shift(2,385),p.write_shift(4,134217808),p.write_shift(2,387),p.write_shift(4,134217808),p.write_shift(2,389),p.write_shift(4,268435700),p.write_shift(2,447),p.write_shift(4,1048592),p.write_shift(2,448),p.write_shift(4,134217809),p.write_shift(2,451),p.write_shift(4,268435700),p.write_shift(2,513),p.write_shift(4,134217809),p.write_shift(2,515),p.write_shift(4,268435700),p.write_shift(2,575),p.write_shift(4,196609),p.write_shift(2,959),p.write_shift(4,131072|(f[0].hidden?2:0)),p.l+=2,p.write_shift(2,61456),p.write_shift(4,18),p.write_shift(2,3),p.write_shift(2,f[2]+2),p.l+=2,p.write_shift(2,f[1]+1),p.l+=2,p.write_shift(2,f[2]+4),p.l+=2,p.write_shift(2,f[1]+5),p.l+=2,p.l+=2,p.write_shift(2,61457),p.l+=4,p.l=150,l==0?s=p:He(i,236,p)}n+=150;{var u=Ee(52);u.write_shift(2,21),u.write_shift(2,18),u.write_shift(2,25),u.write_shift(2,Mi),u.write_shift(2,0),u.l=22,u.write_shift(2,13),u.write_shift(2,22),u.write_shift(4,1651663474),u.write_shift(4,2503426821),u.write_shift(4,2150634280),u.write_shift(4,1768515844+Mi*256),u.write_shift(2,0),u.write_shift(4,0),u.l+=4,He(i,93,u)}{var _=Ee(8);_.l+=2,_.write_shift(2,61453),_.l+=4,He(i,236,_)}n+=8;{var w=Ee(18);w.write_shift(2,18),w.l+=8,w.write_shift(2,g.length),w.write_shift(2,16),w.l+=4,He(i,438,w);{var y=Ee(1+g.length);y.write_shift(1,0),y.write_shift(g.length,g,"sbcs"),He(i,60,y)}{var v=Ee(16);v.l+=8,v.write_shift(2,g.length),v.l+=6,He(i,60,v)}}{var E=Ee(12+h.length);E.write_shift(2,f[1]),E.write_shift(2,f[2]),E.write_shift(2,0|(f[0].hidden?0:2)),E.write_shift(2,Mi),E.write_shift(2,h.length),E.write_shift(1,0),E.write_shift(h.length,h,"sbcs"),E.l++,t.push(E)}});{var o=Ee(80);o.write_shift(2,15),o.write_shift(2,61442),o.write_shift(4,n+o.length-8),o.write_shift(2,16),o.write_shift(2,61448),o.write_shift(4,8),o.write_shift(4,r.length+1),o.write_shift(4,Mi),o.write_shift(2,15),o.write_shift(2,61443),o.write_shift(4,n+48),o.write_shift(2,15),o.write_shift(2,61444),o.write_shift(4,40),o.write_shift(2,1),o.write_shift(2,61449),o.write_shift(4,16),o.l+=16,o.write_shift(2,2),o.write_shift(2,61450),o.write_shift(4,8),o.write_shift(4,a),o.write_shift(4,5),He(e,236,s?Yr([o,s]):o)}e.push(i.end()),t.forEach(function(f){He(e,28,f)}),Si.push([a,r.length+1,Mi]),++Mi}function YA(e,r,t){He(e,49,L3({sz:12,color:{theme:1},name:"Arial",family:2,scheme:"minor"},t))}function KA(e,r,t){r&&[[5,8],[23,26],[41,44],[50,392]].forEach(function(n){for(var i=n[0];i<=n[1];++i)r[i]!=null&&He(e,1054,P3(i,r[i],t))})}function ZA(e,r){var t=Ee(19);t.write_shift(4,2151),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(2,3),t.write_shift(1,1),t.write_shift(4,0),He(e,2151,t),t=Ee(39),t.write_shift(4,2152),t.write_shift(4,0),t.write_shift(4,0),t.write_shift(2,3),t.write_shift(1,0),t.write_shift(4,0),t.write_shift(2,1),t.write_shift(4,4),t.write_shift(2,0),P5(Sr(r["!ref"]||"A1"),t),t.write_shift(4,4),He(e,2152,t)}function JA(e,r){for(var t=0;t<16;++t)He(e,224,pd({numFmtId:0,style:!0},0,r));r.cellXfs.forEach(function(n){He(e,224,pd(n,0,r))})}function QA(e,r){for(var t=0;t<r["!links"].length;++t){var n=r["!links"][t];He(e,440,W3(n)),n[1].Tooltip&&He(e,2048,H3(n))}delete r["!links"]}function eS(e,r){if(r){var t=0;r.forEach(function(n,i){++t<=256&&n&&He(e,125,V3(nc(i,n),i))})}}function tS(e,r,t,n,i,a){var s=16+us(i.cellXfs,r,i);if(r.v==null&&!r.bf){He(e,513,Ys(t,n,s));return}if(r.bf)He(e,6,gb(r,t,n,i,s));else switch(r.t){case"d":case"n":var o=r.t=="d"?xn(Jn(r.v,a),a):r.v;isNaN(o)?He(e,517,vh(t,n,36,s,i,"e")):isFinite(o)?He(e,515,U3(t,n,o,s)):He(e,517,vh(t,n,7,s,i,"e"));break;case"b":case"e":He(e,517,vh(t,n,r.v,s,i,r.t));break;case"s":case"str":if(i.bookSST){var f=Fu(i.Strings,r.v==null?"":String(r.v),i.revStrings);He(e,253,k3(t,n,f,s))}else He(e,516,C3(t,n,(r.v==null?"":String(r.v)).slice(0,255),s,i));break;default:He(e,513,Ys(t,n,s))}}function rS(e,r,t){var n=Pn(),i=t.SheetNames[e],a=t.Sheets[i]||{},s=(t||{}).Workbook||{},o=(s.Sheets||[])[e]||{},f=a["!data"]!=null,l=r.biff==8,h="",g=[],p=Sr(a["!ref"]||"A1"),u=l?65536:16384;if(p.e.c>255||p.e.r>=u){if(r.WTF)throw new Error("Range "+(a["!ref"]||"A1")+" exceeds format limit A1:IV"+u);p.e.c=Math.min(p.e.c,255),p.e.r=Math.min(p.e.r,u-1)}He(n,2057,Eu(t,16,r)),He(n,13,Ei(1)),He(n,12,Ei(100)),He(n,15,kn(!0)),He(n,17,kn(!1)),He(n,16,Xs(.001)),He(n,95,kn(!0)),He(n,42,kn(!1)),He(n,43,kn(!1)),He(n,130,Ei(1)),He(n,128,M3()),He(n,131,kn(!1)),He(n,132,kn(!1)),l&&eS(n,a["!cols"]),He(n,512,D3(p,r));var _=(((t||{}).Workbook||{}).WBProps||{}).date1904;l&&(a["!links"]=[]);for(var w=p.s.c;w<=p.e.c;++w)g[w]=cr(w);for(var y=[],v=[],E=p.s.r;E<=p.e.r;++E)for(f&&(v=a["!data"][E]||[]),h=ur(E),w=p.s.c;w<=p.e.c;++w){var S=f?v[w]:a[g[w]+h];S&&(tS(n,S,E,w,r,_),l&&S.l&&a["!links"].push([g[w]+h,S.l]),S.c&&y.push([S.c,E,w]))}var R=o.CodeName||o.name||i;return l?XA(n,y):tm(n,y),l&&He(n,574,F3((s.Views||[])[0])),l&&(a["!merges"]||[]).length&&He(n,229,z3(a["!merges"])),l&&QA(n,a),He(n,442,C5(R)),l&&ZA(n,a),He(n,10),n.end()}function nS(e,r,t){var n=Pn(),i=(e||{}).Workbook||{},a=i.Sheets||[],s=i.WBProps||{},o=t.biff==8,f=t.biff==5;if(He(n,2057,Eu(e,5,t)),t.bookType=="xla"&&He(n,135),He(n,225,o?Ei(1200):null),He(n,193,m3(2)),f&&He(n,191),f&&He(n,192),He(n,226),He(n,92,S3("SheetJS",t)),He(n,66,Ei(o?1200:1252)),o&&He(n,353,Ei(0)),o&&He(n,448),He(n,317,$3(e.SheetNames.length)),o&&e.vbaraw&&He(n,211),o&&e.vbaraw){var l=s.CodeName||"ThisWorkbook";He(n,442,C5(l))}He(n,156,Ei(17)),He(n,25,kn(!1)),He(n,18,kn(!1)),He(n,19,Ei(0)),o&&He(n,431,kn(!1)),o&&He(n,444,Ei(0)),He(n,61,N3()),He(n,64,kn(!1)),He(n,141,Ei(0)),He(n,34,kn(fA(e)=="true")),He(n,14,kn(!0)),o&&He(n,439,kn(!1)),He(n,218,Ei(0)),YA(n,e,t),KA(n,e.SSF,t),JA(n,t),o&&He(n,352,kn(!1));var h=n.end(),g=Pn();o&&He(g,140,q3()),o&&Si.length&&He(g,235,$A()),o&&t.Strings&&WA(g,252,T3(t.Strings)),He(g,10);var p=g.end(),u=Pn(),_=0,w=0;for(w=0;w<e.SheetNames.length;++w)_+=(o?12:11)+(o?2:1)*e.SheetNames[w].length;var y=h.length+_+p.length;for(w=0;w<e.SheetNames.length;++w){var v=a[w]||{};He(u,133,E3({pos:y,hs:v.Hidden||0,dt:0,name:e.SheetNames[w]},t)),y+=r[w].length}var E=u.end();if(_!=E.length)throw new Error("BS8 "+_+" != "+E.length);var S=[];return h.length&&S.push(h),E.length&&S.push(E),p.length&&S.push(p),Yr(S)}function iS(e,r){var t=r||{},n=[];e&&!e.SSF&&(e.SSF=On(Ar)),e&&e.SSF&&(Yl(),Xl(e.SSF),t.revssf=Kl(e.SSF),t.revssf[e.SSF[65535]]=0,t.ssf=e.SSF),Mi=1,Si=[],t.Strings=[],t.Strings.Count=0,t.Strings.Unique=0,Lu(t),t.cellXfs=[],us(t.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={});for(var i=0;i<e.SheetNames.length;++i)n[n.length]=rS(i,t,e);return n.unshift(nS(e,n,t)),Yr(n)}function rm(e,r){for(var t=0;t<=e.SheetNames.length;++t){var n=e.Sheets[e.SheetNames[t]];if(!(!n||!n["!ref"])){var i=gn(n["!ref"]);i.e.c>255&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond column IV (255).  Data may be lost."),i.e.r>65535&&typeof console<"u"&&console.error&&console.error("Worksheet '"+e.SheetNames[t]+"' extends beyond row 65536.  Data may be lost.")}}var a=r||{};switch(a.biff||2){case 8:case 5:return iS(e,r);case 4:case 3:case 2:return VA(e,r)}throw new Error("invalid type "+a.bookType+" for BIFF")}function aS(e,r,t,n){for(var i=e["!merges"]||[],a=[],s={},o=e["!data"]!=null,f=r.s.c;f<=r.e.c;++f){for(var l=0,h=0,g=0;g<i.length;++g)if(!(i[g].s.r>t||i[g].s.c>f)&&!(i[g].e.r<t||i[g].e.c<f)){if(i[g].s.r<t||i[g].s.c<f){l=-1;break}l=i[g].e.r-i[g].s.r+1,h=i[g].e.c-i[g].s.c+1;break}if(!(l<0)){var p=cr(f)+ur(t),u=o?(e["!data"][t]||[])[f]:e[p];u&&u.t=="n"&&u.v!=null&&!isFinite(u.v)&&(isNaN(u.v)?u={t:"e",v:36,w:Gn[36]}:u={t:"e",v:7,w:Gn[7]});var _=u&&u.v!=null&&(u.h||ph(u.w||(Ma(u),u.w)||""))||"";s={},l>1&&(s.rowspan=l),h>1&&(s.colspan=h),n.editable?_='<span contenteditable="true">'+_+"</span>":u&&(s["data-t"]=u&&u.t||"z",u.v!=null&&(s["data-v"]=ph(u.v instanceof Date?u.v.toISOString():u.v)),u.z!=null&&(s["data-z"]=u.z),u.l&&(u.l.Target||"#").charAt(0)!="#"&&(_='<a href="'+ph(u.l.Target)+'">'+_+"</a>")),s.id=(n.id||"sjs")+"-"+p,a.push(Je("td",_,s))}}var w="<tr>";return w+a.join("")+"</tr>"}var sS='<html><head><meta charset="utf-8"/><title>SheetJS Table Export</title></head><body>',oS="</body></html>";function fS(e,r,t){var n=[];return n.join("")+"<table"+(t&&t.id?' id="'+t.id+'"':"")+">"}function nm(e,r){var t=r||{},n=t.header!=null?t.header:sS,i=t.footer!=null?t.footer:oS,a=[n],s=gn(e["!ref"]||"A1");if(a.push(fS(e,s,t)),e["!ref"])for(var o=s.s.r;o<=s.e.r;++o)a.push(aS(e,s,o,t));return a.push("</table>"+i),a.join("")}function im(e,r,t){var n=r.rows;if(!n)throw"Unsupported origin when "+r.tagName+" is not a TABLE";var i=t||{},a=e["!data"]!=null,s=0,o=0;if(i.origin!=null)if(typeof i.origin=="number")s=i.origin;else{var f=typeof i.origin=="string"?Fr(i.origin):i.origin;s=f.r,o=f.c}var l=Math.min(i.sheetRows||1e7,n.length),h={s:{r:0,c:0},e:{r:s,c:o}};if(e["!ref"]){var g=gn(e["!ref"]);h.s.r=Math.min(h.s.r,g.s.r),h.s.c=Math.min(h.s.c,g.s.c),h.e.r=Math.max(h.e.r,g.e.r),h.e.c=Math.max(h.e.c,g.e.c),s==-1&&(h.e.r=s=g.e.r+1)}var p=[],u=0,_=e["!rows"]||(e["!rows"]=[]),w=0,y=0,v=0,E=0,S=0,R=0;for(e["!cols"]||(e["!cols"]=[]);w<n.length&&y<l;++w){var re=n[w];if(Ed(re)){if(i.display)continue;_[y]={hidden:!0}}var fe=re.cells;for(v=E=0;v<fe.length;++v){var O=fe[v];if(!(i.display&&Ed(O))){var B=O.hasAttribute("data-v")?O.getAttribute("data-v"):O.hasAttribute("v")?O.getAttribute("v"):Ew(O.innerHTML),T=O.getAttribute("data-z")||O.getAttribute("z");for(u=0;u<p.length;++u){var Q=p[u];Q.s.c==E+o&&Q.s.r<y+s&&y+s<=Q.e.r&&(E=Q.e.c+1-o,u=-1)}R=+O.getAttribute("colspan")||1,((S=+O.getAttribute("rowspan")||1)>1||R>1)&&p.push({s:{r:y+s,c:E+o},e:{r:y+s+(S||1)-1,c:E+o+(R||1)-1}});var A={t:"s",v:B},P=O.getAttribute("data-t")||O.getAttribute("t")||"";B!=null&&(B.length==0?A.t=P||"z":i.raw||B.trim().length==0||P=="s"||(P=="e"&&Gn[+B]?A={t:"e",v:+B,w:Gn[+B]}:B==="TRUE"?A={t:"b",v:!0}:B==="FALSE"?A={t:"b",v:!1}:isNaN(Da(B))?isNaN(Cl(B).getDate())?B.charCodeAt(0)==35&&la[B]!=null&&(A={t:"e",v:la[B],w:B}):(A={t:"d",v:Jn(B)},i.UTC&&(A.v=Zl(A.v)),i.cellDates||(A={t:"n",v:xn(A.v)}),A.z=i.dateNF||Ar[14]):A={t:"n",v:Da(B)})),A.z===void 0&&T!=null&&(A.z=T);var j="",ie=O.getElementsByTagName("A");if(ie&&ie.length)for(var he=0;he<ie.length&&!(ie[he].hasAttribute("href")&&(j=ie[he].getAttribute("href"),j.charAt(0)!="#"));++he);j&&j.charAt(0)!="#"&&j.slice(0,11).toLowerCase()!="javascript:"&&(A.l={Target:j}),a?(e["!data"][y+s]||(e["!data"][y+s]=[]),e["!data"][y+s][E+o]=A):e[Cr({c:E+o,r:y+s})]=A,h.e.c<E+o&&(h.e.c=E+o),E+=R}}++y}return p.length&&(e["!merges"]=(e["!merges"]||[]).concat(p)),h.e.r=Math.max(h.e.r,y-1+s),e["!ref"]=Zr(h),y>=l&&(e["!fullref"]=Zr((h.e.r=n.length-w+y-1+s,h))),e}function am(e,r){var t=r||{},n={};return t.dense&&(n["!data"]=[]),im(n,e,r)}function lS(e,r){var t=t0(am(e,r),r);return t}function Ed(e){var r="",t=cS(e);return t&&(r=t(e).getPropertyValue("display")),r||(r=e.style&&e.style.display),r==="none"}function cS(e){return e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle=="function"?e.ownerDocument.defaultView.getComputedStyle:typeof getComputedStyle=="function"?getComputedStyle:null}var hS=function(){var e=["<office:master-styles>",'<style:master-page style:name="mp1" style:page-layout-name="mp1">',"<style:header/>",'<style:header-left style:display="false"/>',"<style:footer/>",'<style:footer-left style:display="false"/>',"</style:master-page>","</office:master-styles>"].join(""),r="<office:document-styles "+J0({"xmlns:office":"urn:oasis:names:tc:opendocument:xmlns:office:1.0","xmlns:table":"urn:oasis:names:tc:opendocument:xmlns:table:1.0","xmlns:style":"urn:oasis:names:tc:opendocument:xmlns:style:1.0","xmlns:text":"urn:oasis:names:tc:opendocument:xmlns:text:1.0","xmlns:draw":"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0","xmlns:fo":"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0","xmlns:xlink":"http://www.w3.org/1999/xlink","xmlns:dc":"http://purl.org/dc/elements/1.1/","xmlns:number":"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0","xmlns:svg":"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0","xmlns:of":"urn:oasis:names:tc:opendocument:xmlns:of:1.2","office:version":"1.2"})+">"+e+"</office:document-styles>";return function(){return Jr+r}}();function uS(e,r){var t="number",n="",i={"style:name":r},a="",s=0;e=e.replace(/"[$]"/g,"$");e:{if(e.indexOf(";")>-1&&(console.error("Unsupported ODS Style Map exported.  Using first branch of "+e),e=e.slice(0,e.indexOf(";"))),e=="@"){t="text",n="<number:text-content/>";break e}if(e.indexOf(/\$/)>-1&&(t="currency"),e[s]=='"'){for(a="";e[++s]!='"'||e[++s]=='"';)a+=e[s];--s,e[s+1]=="*"?(s++,n+="<number:fill-character>"+zt(a.replace(/""/g,'"'))+"</number:fill-character>"):n+="<number:text>"+zt(a.replace(/""/g,'"'))+"</number:text>",e=e.slice(s+1),s=0}var o=e.match(/# (\?+)\/(\?+)/);if(o){n+=Je("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":o[1].length,"number:max-denominator-value":Math.max(+o[1].replace(/./g,"9"),+o[2].replace(/./g,"9"))});break e}if(o=e.match(/# (\?+)\/(\d+)/)){n+=Je("number:fraction",null,{"number:min-integer-digits":0,"number:min-numerator-digits":o[1].length,"number:denominator-value":+o[2]});break e}if(o=e.match(/\b(\d+)(|\.\d+)%/)){t="percentage",n+=Je("number:number",null,{"number:decimal-places":o[2]&&o.length-1||0,"number:min-decimal-places":o[2]&&o.length-1||0,"number:min-integer-digits":o[1].length})+"<number:text>%</number:text>";break e}var f=!1;if(["y","m","d"].indexOf(e[0])>-1){t="date";t:for(;s<e.length;++s)switch(a=e[s].toLowerCase()){case"h":case"s":f=!0,--s;break t;case"m":r:for(var l=s+1;l<e.length;++l)switch(e[l]){case"y":case"d":break r;case"h":case"s":f=!0,--s;break t}case"y":case"d":for(;(e[++s]||"").toLowerCase()==a[0];)a+=a[0];switch(--s,a){case"y":case"yy":n+="<number:year/>";break;case"yyy":case"yyyy":n+='<number:year number:style="long"/>';break;case"mmmmm":console.error("ODS has no equivalent of format |mmmmm|");case"m":case"mm":case"mmm":case"mmmm":n+='<number:month number:style="'+(a.length%2?"short":"long")+'" number:textual="'+(a.length>=3?"true":"false")+'"/>';break;case"d":case"dd":n+='<number:day number:style="'+(a.length%2?"short":"long")+'"/>';break;case"ddd":case"dddd":n+='<number:day-of-week number:style="'+(a.length%2?"short":"long")+'"/>';break}break;case'"':for(;e[++s]!='"'||e[++s]=='"';)a+=e[s];--s,n+="<number:text>"+zt(a.slice(1).replace(/""/g,'"'))+"</number:text>";break;case"\\":a=e[++s],n+="<number:text>"+zt(a)+"</number:text>";break;case"/":case":":n+="<number:text>"+zt(a)+"</number:text>";break;default:console.error("unrecognized character "+a+" in ODF format "+e)}if(!f)break e;e=e.slice(s+1),s=0}if(e.match(/^\[?[hms]/)){for(t=="number"&&(t="time"),e.match(/\[/)&&(e=e.replace(/[\[\]]/g,""),i["number:truncate-on-overflow"]="false");s<e.length;++s)switch(a=e[s].toLowerCase()){case"h":case"m":case"s":for(;(e[++s]||"").toLowerCase()==a[0];)a+=a[0];switch(--s,a){case"h":case"hh":n+='<number:hours number:style="'+(a.length%2?"short":"long")+'"/>';break;case"m":case"mm":n+='<number:minutes number:style="'+(a.length%2?"short":"long")+'"/>';break;case"s":case"ss":if(e[s+1]==".")do a+=e[s+1],++s;while(e[s+1]=="0");n+='<number:seconds number:style="'+(a.match("ss")?"long":"short")+'"'+(a.match(/\./)?' number:decimal-places="'+(a.match(/0+/)||[""])[0].length+'"':"")+"/>";break}break;case'"':for(;e[++s]!='"'||e[++s]=='"';)a+=e[s];--s,n+="<number:text>"+zt(a.slice(1).replace(/""/g,'"'))+"</number:text>";break;case"/":case":":n+="<number:text>"+zt(a)+"</number:text>";break;case"a":if(e.slice(s,s+3).toLowerCase()=="a/p"){n+="<number:am-pm/>",s+=2;break}if(e.slice(s,s+5).toLowerCase()=="am/pm"){n+="<number:am-pm/>",s+=4;break}default:console.error("unrecognized character "+a+" in ODF format "+e)}break e}if(e.indexOf(/\$/)>-1&&(t="currency"),e[0]=="$"&&(n+='<number:currency-symbol number:language="en" number:country="US">$</number:currency-symbol>',e=e.slice(1),s=0),s=0,e[s]=='"'){for(;e[++s]!='"'||e[++s]=='"';)a+=e[s];--s,e[s+1]=="*"?(s++,n+="<number:fill-character>"+zt(a.replace(/""/g,'"'))+"</number:fill-character>"):n+="<number:text>"+zt(a.replace(/""/g,'"'))+"</number:text>",e=e.slice(s+1),s=0}var h=e.match(/([#0][0#,]*)(\.[0#]*|)(E[+]?0*|)/i);if(!h||!h[0])console.error("Could not find numeric part of "+e);else{var g=h[1].replace(/,/g,"");n+="<number:"+(h[3]?"scientific-":"")+'number number:min-integer-digits="'+(g.indexOf("0")==-1?"0":g.length-g.indexOf("0"))+'"'+(h[0].indexOf(",")>-1?' number:grouping="true"':"")+(h[2]&&' number:decimal-places="'+(h[2].length-1)+'"'||' number:decimal-places="0"')+(h[3]&&h[3].indexOf("+")>-1?' number:forced-exponent-sign="true"':"")+(h[3]?' number:min-exponent-digits="'+h[3].match(/0+/)[0].length+'"':"")+"></number:"+(h[3]?"scientific-":"")+"number>",s=h.index+h[0].length}if(e[s]=='"'){for(a="";e[++s]!='"'||e[++s]=='"';)a+=e[s];--s,n+="<number:text>"+zt(a.replace(/""/g,'"'))+"</number:text>"}}return n?Je("number:"+t+"-style",n,i):(console.error("Could not generate ODS number format for |"+e+"|"),"")}function Td(e,r,t){for(var n=[],i=0;i<e.length;++i){var a=e[i];a&&a.Sheet==(t==-1?null:t)&&n.push(a)}return n.length?`      <table:named-expressions>
257`+n.map(function(s){var o=(t==-1?"$":"")+K5(s.Ref);return"        "+Je("table:named-range",null,{"table:name":s.Name,"table:cell-range-address":o,"table:base-cell-address":o.replace(/[\.][^\.]*$/,".$A$1")})}).join(`
258`)+`
259      </table:named-expressions>
260`:""}var Nd=function(){var e=function(i,a){return zt(i).replace(/  +/g,function(s){return'<text:s text:c="'+s.length+'"/>'}).replace(/\t/g,"<text:tab/>").replace(/\n/g,"</text:p><text:p>").replace(/^ /,"<text:s/>").replace(/ $/,"<text:s/>")},r=`          <table:table-cell />
261`,t=function(i,a,s,o,f,l){var h=[];h.push('      <table:table table:name="'+zt(a.SheetNames[s])+`" table:style-name="ta1">
262`);var g=0,p=0,u=gn(i["!ref"]||"A1"),_=i["!merges"]||[],w=0,y=i["!data"]!=null;if(i["!cols"])for(p=0;p<=u.e.c;++p)h.push("        <table:table-column"+(i["!cols"][p]?' table:style-name="co'+i["!cols"][p].ods+'"':"")+`></table:table-column>
263`);var v="",E=i["!rows"]||[];for(g=0;g<u.s.r;++g)v=E[g]?' table:style-name="ro'+E[g].ods+'"':"",h.push("        <table:table-row"+v+`></table:table-row>
264`);for(;g<=u.e.r;++g){for(v=E[g]?' table:style-name="ro'+E[g].ods+'"':"",h.push("        <table:table-row"+v+`>
265`),p=0;p<u.s.c;++p)h.push(r);for(;p<=u.e.c;++p){var S=!1,R={},re="";for(w=0;w!=_.length;++w)if(!(_[w].s.c>p)&&!(_[w].s.r>g)&&!(_[w].e.c<p)&&!(_[w].e.r<g)){(_[w].s.c!=p||_[w].s.r!=g)&&(S=!0),R["table:number-columns-spanned"]=_[w].e.c-_[w].s.c+1,R["table:number-rows-spanned"]=_[w].e.r-_[w].s.r+1;break}if(S){h.push(`          <table:covered-table-cell/>
266`);continue}var fe=Cr({r:g,c:p}),O=y?(i["!data"][g]||[])[p]:i[fe];if(O&&O.f&&(R["table:formula"]=zt(Ib(O.f)),O.F&&O.F.slice(0,fe.length)==fe)){var B=gn(O.F);R["table:number-matrix-columns-spanned"]=B.e.c-B.s.c+1,R["table:number-matrix-rows-spanned"]=B.e.r-B.s.r+1}if(!O){h.push(r);continue}switch(O.t){case"b":re=O.v?"TRUE":"FALSE",R["office:value-type"]="boolean",R["office:boolean-value"]=O.v?"true":"false";break;case"n":isFinite(O.v)?(re=O.w||String(O.v||0),R["office:value-type"]="float",R["office:value"]=O.v||0):(isNaN(O.v)?(re="#NUM!",R["table:formula"]="of:=#NUM!"):(re="#DIV/0!",R["table:formula"]="of:="+(O.v<0?"-":"")+"1/0"),R["office:string-value"]="",R["office:value-type"]="string",R["calcext:value-type"]="error");break;case"s":case"str":re=O.v==null?"":O.v,R["office:value-type"]="string";break;case"d":re=O.w||Jn(O.v,l).toISOString(),R["office:value-type"]="date",R["office:date-value"]=Jn(O.v,l).toISOString(),R["table:style-name"]="ce1";break;default:h.push(r);continue}var T=e(re);if(O.l&&O.l.Target){var Q=O.l.Target;Q=Q.charAt(0)=="#"?"#"+K5(Q.slice(1)):Q,Q.charAt(0)!="#"&&!Q.match(/^\w+:/)&&(Q="../"+Q),T=Je("text:a",T,{"xlink:href":Q.replace(/&/g,"&amp;")})}f[O.z]&&(R["table:style-name"]="ce"+f[O.z].slice(1));var A=Je("text:p",T,{});if(O.c){for(var P="",j="",ie={},he=0;he<O.c.length;++he)!P&&O.c[he].a&&(P=O.c[he].a),j+="<text:p>"+e(O.c[he].t)+"</text:p>";O.c.hidden||(ie["office:display"]=!0),A=Je("office:annotation",j,ie)+A}h.push("          "+Je("table:table-cell",A,R)+`
267`)}h.push(`        </table:table-row>
268`)}return(a.Workbook||{}).Names&&h.push(Td(a.Workbook.Names,a.SheetNames,s)),h.push(`      </table:table>
269`),h.join("")},n=function(i,a){i.push(` <office:automatic-styles>
270`);var s=0;a.SheetNames.map(function(h){return a.Sheets[h]}).forEach(function(h){if(h&&h["!cols"]){for(var g=0;g<h["!cols"].length;++g)if(h["!cols"][g]){var p=h["!cols"][g];if(p.width==null&&p.wpx==null&&p.wch==null)continue;Tu(p),p.ods=s;var u=h["!cols"][g].wpx+"px";i.push('  <style:style style:name="co'+s+`" style:family="table-column">
271`),i.push('   <style:table-column-properties fo:break-before="auto" style:column-width="'+u+`"/>
272`),i.push(`  </style:style>
273`),++s}}});var o=0;a.SheetNames.map(function(h){return a.Sheets[h]}).forEach(function(h){if(h&&h["!rows"]){for(var g=0;g<h["!rows"].length;++g)if(h["!rows"][g]){h["!rows"][g].ods=o;var p=h["!rows"][g].hpx+"px";i.push('  <style:style style:name="ro'+o+`" style:family="table-row">
274`),i.push('   <style:table-row-properties fo:break-before="auto" style:row-height="'+p+`"/>
275`),i.push(`  </style:style>
276`),++o}}}),i.push(`  <style:style style:name="ta1" style:family="table" style:master-page-name="mp1">
277`),i.push(`   <style:table-properties table:display="true" style:writing-mode="lr-tb"/>
278`),i.push(`  </style:style>
279`),i.push(`  <number:date-style style:name="N37" number:automatic-order="true">
280`),i.push(`   <number:month number:style="long"/>
281`),i.push(`   <number:text>/</number:text>
282`),i.push(`   <number:day number:style="long"/>
283`),i.push(`   <number:text>/</number:text>
284`),i.push(`   <number:year/>
285`),i.push(`  </number:date-style>
286`);var f={},l=69;return a.SheetNames.map(function(h){return a.Sheets[h]}).forEach(function(h){if(h){var g=h["!data"]!=null;if(h["!ref"])for(var p=gn(h["!ref"]),u=0;u<=p.e.r;++u)for(var _=0;_<=p.e.c;++_){var w=g?(h["!data"][u]||[])[_]:h[Cr({r:u,c:_})];if(!(!w||!w.z||w.z.toLowerCase()=="general")&&!f[w.z]){var y=uS(w.z,"N"+l);y&&(f[w.z]="N"+l,++l,i.push(y+`
287`))}}}}),i.push(`  <style:style style:name="ce1" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="N37"/>
288`),Kr(f).forEach(function(h){i.push('<style:style style:name="ce'+f[h].slice(1)+'" style:family="table-cell" style:parent-style-name="Default" style:data-style-name="'+f[h]+`"/>
289`)}),i.push(` </office:automatic-styles>
290`),f};return function(a,s){var o=[Jr],f=J0({"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"}),l=J0({"xmlns:config":"urn:oasis:names:tc:opendocument:xmlns:config:1.0","office:mimetype":"application/vnd.oasis.opendocument.spreadsheet"});s.bookType=="fods"?(o.push("<office:document"+f+l+`>
291`),o.push(A5().replace(/<office:document-meta[^<>]*?>/,"").replace(/<\/office:document-meta>/,"")+`
292`)):o.push("<office:document-content"+f+`>
293`);var h=n(o,a);o.push(`  <office:body>
294`),o.push(`    <office:spreadsheet>
295`),((a.Workbook||{}).WBProps||{}).date1904&&o.push(`      <table:calculation-settings table:case-sensitive="false" table:search-criteria-must-apply-to-whole-cell="true" table:use-wildcards="true" table:use-regular-expressions="false" table:automatic-find-labels="false">
296        <table:null-date table:date-value="1904-01-01"/>
297      </table:calculation-settings>
298`);for(var g=0;g!=a.SheetNames.length;++g)o.push(t(a.Sheets[a.SheetNames[g]],a,g,s,h,((a.Workbook||{}).WBProps||{}).date1904));return(a.Workbook||{}).Names&&o.push(Td(a.Workbook.Names,a.SheetNames,-1)),o.push(`    </office:spreadsheet>
299`),o.push(`  </office:body>
300`),s.bookType=="fods"?o.push("</office:document>"):o.push("</office:document-content>"),o.join("")}}();function sm(e,r){if(r.bookType=="fods")return Nd(e,r);var t=mu(),n="",i=[],a=[];return n="mimetype",jt(t,n,"application/vnd.oasis.opendocument.spreadsheet"),n="content.xml",jt(t,n,Nd(e,r)),i.push([n,"text/xml"]),a.push([n,"ContentFile"]),n="styles.xml",jt(t,n,hS(e,r)),i.push([n,"text/xml"]),a.push([n,"StylesFile"]),n="meta.xml",jt(t,n,Jr+A5()),i.push([n,"text/xml"]),a.push([n,"MetadataFile"]),n="manifest.rdf",jt(t,n,c3(a)),i.push([n,"application/rdf+xml"]),n="META-INF/manifest.xml",jt(t,n,f3(i)),t}/*! sheetjs (C) 2013-present SheetJS -- http://sheetjs.com */var qn=function(){try{return typeof Uint8Array>"u"||typeof Uint8Array.prototype.subarray>"u"?"slice":typeof Buffer<"u"?typeof Buffer.prototype.subarray>"u"?"slice":(typeof Buffer.from=="function"?Buffer.from([72,62]):new Buffer([72,62]))instanceof Uint8Array?"subarray":"slice":"subarray"}catch{return"slice"}}();function Ml(e){return new DataView(e.buffer,e.byteOffset,e.byteLength)}function rf(e){return typeof TextDecoder<"u"?new TextDecoder().decode(e):zo(Vs(e))}function jn(e){return typeof TextEncoder<"u"?new TextEncoder().encode(e):hi(Z0(e))}function hs(e){for(var r=0,t=0;t<e.length;++t)r+=e[t].length;var n=new Uint8Array(r),i=0;for(t=0;t<e.length;++t){var a=e[t],s=a.length;if(s<250)for(var o=0;o<s;++o)n[i++]=a[o];else n.set(a,i),i+=s}return n}function dS(e,r,t){var n=Math.floor(t==0?0:Math.LOG10E*Math.log(Math.abs(t)))+6176-16,i=t/Math.pow(10,n-6176);e[r+15]|=n>>7,e[r+14]|=(n&127)<<1;for(var a=0;i>=1;++a,i/=256)e[r+a]=i&255;e[r+15]|=t>=0?0:128}function nf(e,r){var t=r.l,n=e[t]&127;e:if(e[t++]>=128&&(n|=(e[t]&127)<<7,e[t++]<128||(n|=(e[t]&127)<<14,e[t++]<128)||(n|=(e[t]&127)<<21,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,28),++t,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,35),++t,e[t++]<128)||(n+=(e[t]&127)*Math.pow(2,42),++t,e[t++]<128)))break e;return r.l=t,n}function xt(e){var r=new Uint8Array(7);r[0]=e&127;var t=1;e:if(e>127){if(r[t-1]|=128,r[t]=e>>7&127,++t,e<=16383||(r[t-1]|=128,r[t]=e>>14&127,++t,e<=2097151)||(r[t-1]|=128,r[t]=e>>21&127,++t,e<=268435455)||(r[t-1]|=128,r[t]=e/256>>>21&127,++t,e<=34359738367)||(r[t-1]|=128,r[t]=e/65536>>>21&127,++t,e<=4398046511103))break e;r[t-1]|=128,r[t]=e/16777216>>>21&127,++t}return r[qn](0,t)}function om(e){for(var r={l:0},t=[];r.l<e.length;)t.push(nf(e,r));return t}function fm(e){return hs(e.map(function(r){return xt(r)}))}function gi(e){var r=0,t=e[r]&127;return e[r++]<128||(t|=(e[r]&127)<<7,e[r++]<128)||(t|=(e[r]&127)<<14,e[r++]<128)||(t|=(e[r]&127)<<21,e[r++]<128)||(t|=(e[r]&15)<<28),t}function Lt(e){for(var r=[],t={l:0};t.l<e.length;){var n=t.l,i=nf(e,t),a=i&7;i=i/8|0;var s,o=t.l;switch(a){case 0:{for(;e[o++]>=128;);s=e[qn](t.l,o),t.l=o}break;case 1:s=e[qn](o,o+8),t.l=o+8;break;case 2:{var f=nf(e,t);s=e[qn](t.l,t.l+f),t.l+=f}break;case 5:s=e[qn](o,o+4),t.l=o+4;break;default:throw new Error("PB Type ".concat(a," for Field ").concat(i," at offset ").concat(n))}var l={data:s,type:a};r[i]==null&&(r[i]=[]),r[i].push(l)}return r}function yt(e){var r=[];return e.forEach(function(t,n){n!=0&&t.forEach(function(i){i.data&&(r.push(xt(n*8+i.type)),i.type==2&&r.push(xt(i.data.length)),r.push(i.data))})}),hs(r)}function Ul(e,r){return(e==null?void 0:e.map(function(t){return r(t.data)}))||[]}function jl(e){for(var r,t=[],n={l:0};n.l<e.length;){var i=nf(e,n),a=Lt(e[qn](n.l,n.l+i));n.l+=i;var s={id:gi(a[1][0].data),messages:[]};a[2].forEach(function(o){var f=Lt(o.data),l=gi(f[3][0].data);s.messages.push({meta:f,data:e[qn](n.l,n.l+l)}),n.l+=l}),(r=a[3])!=null&&r[0]&&(s.merge=gi(a[3][0].data)>>>0>0),t.push(s)}return t}function qo(e){var r=[];return e.forEach(function(t){var n=[[],[{data:xt(t.id),type:0}],[]];t.merge!=null&&(n[3]=[{data:xt(+!!t.merge),type:0}]);var i=[];
vendor: 7,236 bytes, line 300
300t.messages.forEach(function(s){i.push(s.data),s.meta[3]=[{type:0,data:xt(s.data.length)}],n[2].push({data:yt(s.meta),type:2})});var a=yt(n);r.push(xt(a.length)),r.push(a),i.forEach(function(s){return r.push(s)})}),hs(r)}function pS(e,r){if(e!=0)throw new Error("Unexpected Snappy chunk type ".concat(e));for(var t={l:0},n=nf(r,t),i=[],a=t.l;a<r.length;){var s=r[a]&3;if(s==0){var o=r[a++]>>2;if(o<60)++o;else{var f=o-59;o=r[a],f>1&&(o|=r[a+1]<<8),f>2&&(o|=r[a+2]<<16),f>3&&(o|=r[a+3]<<24),o>>>=0,o++,a+=f}i.push(r[qn](a,a+o)),a+=o;continue}else{var l=0,h=0;if(s==1?(h=(r[a]>>2&7)+4,l=(r[a++]&224)<<3,l|=r[a++]):(h=(r[a++]>>2)+1,s==2?(l=r[a]|r[a+1]<<8,a+=2):(l=(r[a]|r[a+1]<<8|r[a+2]<<16|r[a+3]<<24)>>>0,a+=4)),l==0)throw new Error("Invalid offset 0");for(var g=i.length-1,p=l;g>=0&&p>=i[g].length;)p-=i[g].length,--g;if(g<0)if(p==0)p=i[g=0].length;else throw new Error("Invalid offset beyond length");if(h<p)i.push(i[g][qn](i[g].length-p,i[g].length-p+h));else{for(p>0&&(i.push(i[g][qn](i[g].length-p)),h-=p),++g;h>=i[g].length;)i.push(i[g]),h-=i[g].length,++g;h&&i.push(i[g][qn](0,h))}i.length>25&&(i=[hs(i)])}}for(var u=0,_=0;_<i.length;++_)u+=i[_].length;if(u!=n)throw new Error("Unexpected length: ".concat(u," != ").concat(n));return i}function zl(e){Array.isArray(e)&&(e=new Uint8Array(e));for(var r=[],t=0;t<e.length;){var n=e[t++],i=e[t]|e[t+1]<<8|e[t+2]<<16;t+=3,r.push.apply(r,pS(n,e[qn](t,t+i))),t+=i}if(t!==e.length)throw new Error("data is not a valid framed stream!");return r.length==1?r[0]:hs(r)}function Go(e){for(var r=[],t=0;t<e.length;){var n=Math.min(e.length-t,268435455),i=new Uint8Array(4);r.push(i);var a=xt(n),s=a.length;r.push(a),n<=60?(s++,r.push(new Uint8Array([n-1<<2]))):n<=256?(s+=2,r.push(new Uint8Array([240,n-1&255]))):n<=65536?(s+=3,r.push(new Uint8Array([244,n-1&255,n-1>>8&255]))):n<=16777216?(s+=4,r.push(new Uint8Array([248,n-1&255,n-1>>8&255,n-1>>16&255]))):n<=4294967296&&(s+=5,r.push(new Uint8Array([252,n-1&255,n-1>>8&255,n-1>>16&255,n-1>>>24&255]))),r.push(e[qn](t,t+n)),s+=n,i[0]=0,i[1]=s&255,i[2]=s>>8&255,i[3]=s>>16&255,t+=n}return hs(r)}function Eh(e,r){var t=new Uint8Array(32),n=Ml(t),i=12,a=0;switch(t[0]=5,e.t){case"n":if(e.z&&$s(e.z)){t[1]=5,n.setFloat64(i,(jo(e.v+1462).getTime()-Date.UTC(2001,0,1))/1e3,!0),a|=4,i+=8;break}else t[1]=2,dS(t,i,e.v),a|=1,i+=16;break;case"b":t[1]=6,n.setFloat64(i,e.v?1:0,!0),a|=2,i+=8;break;case"s":{var s=e.v==null?"":String(e.v);if(e.l){var o=r.rsst.findIndex(function(l){var h;return l.v==s&&l.l==((h=e.l)==null?void 0:h.Target)});o==-1&&(r.rsst[o=r.rsst.length]={v:s,l:e.l.Target}),t[1]=9,n.setUint32(i,o,!0),a|=16,i+=4}else{var f=r.sst.indexOf(s);f==-1&&(r.sst[f=r.sst.length]=s),t[1]=3,n.setUint32(i,f,!0),a|=8,i+=4}}break;case"d":t[1]=5,n.setFloat64(i,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,!0),a|=4,i+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t}return e.c&&(r.cmnt.push(mS(e.c)),n.setUint32(i,r.cmnt.length-1,!0),a|=524288,i+=4),n.setUint32(8,a,!0),t[qn](0,i)}function Th(e,r){var t=new Uint8Array(32),n=Ml(t),i=12,a=0,s="";switch(t[0]=4,e.t){case"n":break;case"b":break;case"s":if(s=e.v==null?"":String(e.v),e.l){var o=r.rsst.findIndex(function(l){var h;return l.v==s&&l.l==((h=e.l)==null?void 0:h.Target)});o==-1&&(r.rsst[o=r.rsst.length]={v:s,l:e.l.Target}),t[1]=9,n.setUint32(i,o,!0),a|=512,i+=4}break;case"d":break;case"e":break;case"z":break;default:throw"unsupported cell type "+e.t}switch(e.c&&(n.setUint32(i,r.cmnt.length-1,!0),a|=4096,i+=4),e.t){case"n":t[1]=2,n.setFloat64(i,e.v,!0),a|=32,i+=8;break;case"b":t[1]=6,n.setFloat64(i,e.v?1:0,!0),a|=32,i+=8;break;case"s":if(s=e.v==null?"":String(e.v),!e.l){var f=r.sst.indexOf(s);f==-1&&(r.sst[f=r.sst.length]=s),t[1]=3,n.setUint32(i,f,!0),a|=16,i+=4}break;case"d":t[1]=5,n.setFloat64(i,(e.v.getTime()-Date.UTC(2001,0,1))/1e3,!0),a|=64,i+=8;break;case"z":t[1]=0;break;default:throw"unsupported cell type "+e.t}return n.setUint32(8,a,!0),t[qn](0,i)}function Xr(e){var r=Lt(e);return gi(r[1][0].data)}function Ln(e){return yt([[],[{type:0,data:xt(e)}]])}function Fn(e,r){var t,n=(t=e.messages[0].meta[5])!=null&&t[0]?om(e.messages[0].meta[5][0].data):[],i=n.indexOf(r);i==-1&&(n.push(r),e.messages[0].meta[5]=[{type:2,data:fm(n)}])}function Ca(e,r){var t,n=(t=e.messages[0].meta[5])!=null&&t[0]?om(e.messages[0].meta[5][0].data):[];e.messages[0].meta[5]=[{type:2,data:fm(n.filter(function(i){return i!=r}))}]}function mS(e){for(var r={a:"",t:"",replies:[]},t=0;t<e.length;++t)t==0?(r.a=e[t].a,r.t=e[t].t):r.replies.push({a:e[t].a,t:e[t].t});return r}function gS(e,r,t){var n,i,a,s=[[],[{type:0,data:xt(0)}],[{type:0,data:xt(0)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:xt(5)}],[{type:2,data:new Uint8Array([])}],[{type:2,data:new Uint8Array(Array.from({length:510},function(){return 255}))}],[{type:0,data:xt(1)}]];if(!((n=s[6])!=null&&n[0])||!((i=s[7])!=null&&i[0]))throw"Mutation only works on post-BNC storages!";var o=0;if(s[7][0].data.length<2*e.length){var f=new Uint8Array(2*e.length);f.set(s[7][0].data),s[7][0].data=f}if(s[4][0].data.length<2*e.length){var l=new Uint8Array(2*e.length);l.set(s[4][0].data),s[4][0].data=l}for(var h=Ml(s[7][0].data),g=0,p=[],u=Ml(s[4][0].data),_=0,w=[],y=4,v=0;v<e.length;++v){if(e[v]==null||e[v].t=="z"&&!((a=e[v].c)!=null&&a.length)||e[v].t=="e"){h.setUint16(v*2,65535,!0),u.setUint16(v*2,65535);continue}h.setUint16(v*2,g/y,!0),u.setUint16(v*2,_/y,!0);var E,S;switch(e[v].t){case"d":if(e[v].v instanceof Date){E=Eh(e[v],r),S=Th(e[v],r);break}E=Eh(e[v],r),S=Th(e[v],r);break;case"s":case"n":case"b":case"z":E=Eh(e[v],r),S=Th(e[v],r);break;default:throw new Error("Unsupported value "+e[v])}p.push(E),g+=E.length,w.push(S),_+=S.length,++o}for(s[2][0].data=xt(o),s[5][0].data=xt(5);v<s[7][0].data.length/2;++v)h.setUint16(v*2,65535,!0),u.setUint16(v*2,65535,!0);return s[6][0].data=hs(p),s[3][0].data=hs(w),s[8]=[{type:0,data:xt(1)}],s}function Yh(e,r){return{meta:[[],[{type:0,data:xt(e)}]],data:r}}function aa(e,r){r.last||(r.last=927262);for(var t=r.last;t<2e6;++t)if(!r[t])return r[r.last=t]=e,t;throw new Error("Too many messages")}function xS(e){var r={},t=[];return e.FileIndex.map(function(n,i){return[n,e.FullPaths[i]]}).forEach(function(n){var i=n[0],a=n[1];i.type==2&&i.name.match(/\.iwa/)&&i.content[0]==0&&jl(zl(i.content)).forEach(function(s){t.push(s.id),r[s.id]={deps:[],location:a,type:gi(s.messages[0].meta[1][0].data)}})}),e.FileIndex.forEach(function(n){n.name.match(/\.iwa/)&&n.content[0]==0&&jl(zl(n.content)).forEach(function(i){i.messages.forEach(function(a){[5,6].forEach(function(s){a.meta[s]&&a.meta[s].forEach(function(o){r[i.id].deps.push(gi(o.data))})})})})}),r}function sl(e,r,t){return yt([[],[{type:0,data:xt(1)}],[],[{type:5,data:new Uint8Array(Float32Array.from([e/255]).buffer)}],[{type:5,data:new Uint8Array(Float32Array.from([r/255]).buffer)}],[{type:5,data:new Uint8Array(Float32Array.from([t/255]).buffer)}],[{type:5,data:new Uint8Array(Float32Array.from([1]).buffer)}],[],[],[],[],[],[{type:0,data:xt(1)}]])}function Fd(e){switch(e){case 0:return sl(99,222,171);case 1:return sl(162,197,240);case 2:return sl(255,189,189)}return sl(Math.random()*255,Math.random()*255,Math.random()*255)}
300function vS(e,r){if(!r||!r.numbers)throw new Error("Must pass a `numbers` option -- check the README");var t=gr.read(r.numbers,{type:"base64"}),n=xS(t),i=sa(t,n,1);if(i==null)throw"Could not find message ".concat(1," in Numbers template");var a=Ul(Lt(i.messages[0].data)[1],Xr);if(a.length>1)throw new Error("Template NUMBERS file must have exactly one sheet");return e.SheetNames.forEach(function(s,o){o>=1&&(wS(t,n,o+1),i=sa(t,n,1),a=Ul(Lt(i.messages[0].data)[1],Xr)),yS(t,n,e.Sheets[s],s,o,a[o])}),t}function fr(e,r,t,n){var i=gr.find(e,r[t].location);if(!i)throw"Could not find ".concat(r[t].location," in Numbers template");var a=jl(zl(i.content)),s=a.find(function(o){return o.id==t});n(s,a),i.content=Go(qo(a)),i.size=i.content.length}function sa(e,r,t){var n=gr.find(e,r[t].location);if(!n)throw"Could not find ".concat(r[t].location," in Numbers template");var i=jl(zl(n.content)),a=i.find(function(s){return s.id==t});return a}function Kh(e,r,t){e[3].push({type:2,data:yt([[],[{type:0,data:xt(r)}],[{type:2,data:jn(t.replace(/-[\s\S]*$/,""))}],[{type:2,data:jn(t)}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:xt(0)}],[],[{type:0,data:xt(0)}]])}),e[1]=[{type:0,data:xt(Math.max(r+1,gi(e[1][0].data)))}]}function ks(e,r,t,n,i,a){a||(a=aa({deps:[],location:"",type:r},i));var s="".concat(n,"-").concat(a,".iwa");i[a].location="Root Entry"+s,gr.utils.cfb_add(e,s,Go(qo([{id:a,messages:[Yh(r,yt(t))]}])));var o=s.replace(/^[\/]/,"").replace(/^Index\//,"").replace(/\.iwa$/,"");return fr(e,i,2,function(f){var l=Lt(f.messages[0].data);Kh(l,a||0,o),f.messages[0].data=yt(l)}),a}function Kn(e,r,t,n){var i=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,""),a=e[3].findIndex(function(o){var f,l,h=Lt(o.data);return(f=h[3])!=null&&f[0]?rf(h[3][0].data)==i:!!((l=h[2])!=null&&l[0]&&rf(h[2][0].data)==i)}),s=Lt(e[3][a].data);s[6]||(s[6]=[]),(Array.isArray(n)?n:[n]).forEach(function(o){s[6].push({type:2,data:yt([[],[{type:0,data:xt(o)}]])})}),e[3][a].data=yt(s)}function _S(e,r,t,n){var i=r[t].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,""),a=e[3].findIndex(function(o){var f,l,h=Lt(o.data);return(f=h[3])!=null&&f[0]?rf(h[3][0].data)==i:!!((l=h[2])!=null&&l[0]&&rf(h[2][0].data)==i)}),s=Lt(e[3][a].data);s[6]||(s[6]=[]),s[6]=s[6].filter(function(o){return gi(Lt(o.data)[1][0].data)!=n}),e[3][a].data=yt(s)}function wS(e,r,t){var n=-1,i=-1,a={};fr(e,r,1,function(f,l){var h=Lt(f.messages[0].data);n=Xr(Lt(f.messages[0].data)[1][0].data),i=aa({deps:[1],location:r[n].location,type:2},r),a[n]=i,Fn(f,i),h[1].push({type:2,data:Ln(i)});var g=sa(e,r,n);g.id=i,r[1].location==r[i].location?l.push(g):fr(e,r,i,function(p,u){return u.push(g)}),f.messages[0].data=yt(h)});var s=-1;fr(e,r,i,function(f,l){for(var h=Lt(f.messages[0].data),g=3;g<=69;++g)delete h[g];var p=Ul(h[2],Xr);p.forEach(function(_){return Ca(f,_)}),s=aa({deps:[i],location:r[p[0]].location,type:r[p[0]].type},r),Fn(f,s),a[p[0]]=s,h[2]=[{type:2,data:Ln(s)}];var u=sa(e,r,p[0]);u.id=s,r[p[0]].location==r[i].location?l.push(u):(fr(e,r,2,function(_){var w=Lt(_.messages[0].data);Kn(w,r,i,s),_.messages[0].data=yt(w)}),fr(e,r,s,function(_,w){return w.push(u)})),f.messages[0].data=yt(h)});var o=-1;fr(e,r,s,function(f,l){for(var h=Lt(f.messages[0].data),g=Lt(h[1][0].data),p=3;p<=69;++p)delete g[p];var u=Xr(g[2][0].data);g[2][0].data=Ln(a[u]),h[1][0].data=yt(g);var _=Xr(h[2][0].data);Ca(f,_),o=aa({deps:[s],location:r[_].location,type:r[_].type},r),Fn(f,o),a[_]=o,h[2][0].data=Ln(o);var w=sa(e,r,_);w.id=o,r[s].location==r[o].location?l.push(w):fr(e,r,o,function(y,v){return v.push(w)}),f.messages[0].data=yt(h)}),fr(e,r,o,function(f,l){var h,g,p=Lt(f.messages[0].data),u=rf(p[1][0].data),_=u.replace(/-[A-Z0-9]*/,"-".concat(("0000"+t.toString(16)).slice(-4)));if(p[1][0].data=jn(_),[12,13,29,31,32,33,39,44,47,81,82,84].forEach(function(re){return delete p[re]}),p[45]){var w=Lt(p[45][0].data),y=Xr(w[1][0].data);Ca(f,y),delete p[45]}if(p[70]){var v=Lt(p[70][0].data);(h=v[2])==null||h.forEach(function(re){var fe=Lt(re.data);[2,3].map(function(O){return fe[O][0]}
300).forEach(function(O){var B=Lt(O.data);if(B[8]){var T=Xr(B[8][0].data);Ca(f,T)}})}),delete p[70]}[46,30,34,35,36,38,48,49,60,61,62,63,64,71,72,73,74,75,85,86,87,88,89].forEach(function(re){if(p[re]){var fe=Xr(p[re][0].data);delete p[re],Ca(f,fe)}});var E=Lt(p[4][0].data);{[2,4,5,6,11,12,13,15,16,17,18,19,20,21,22].forEach(function(re){var fe;if((fe=E[re])!=null&&fe[0]){var O=Xr(E[re][0].data),B=aa({deps:[o],location:r[O].location,type:r[O].type},r);Ca(f,O),Fn(f,B),a[O]=B;var T=sa(e,r,O);if(T.id=B,r[O].location==r[o].location)l.push(T);else{r[B].location=r[O].location.replace(O.toString(),B.toString()),r[B].location==r[O].location&&(r[B].location=r[B].location.replace(/\.iwa/,"-".concat(B,".iwa"))),gr.utils.cfb_add(e,r[B].location,Go(qo([T])));var Q=r[B].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");fr(e,r,2,function(A){var P=Lt(A.messages[0].data);Kh(P,B,Q),Kn(P,r,o,B),A.messages[0].data=yt(P)})}E[re][0].data=Ln(B)}});var S=Lt(E[1][0].data);(g=S[2])==null||g.forEach(function(re){var fe=Xr(re.data),O=aa({deps:[o],location:r[fe].location,type:r[fe].type},r);Ca(f,fe),Fn(f,O),a[fe]=O;var B=sa(e,r,fe);if(B.id=O,r[fe].location==r[o].location)l.push(B);else{r[O].location=r[fe].location.replace(fe.toString(),O.toString()),r[O].location==r[fe].location&&(r[O].location=r[O].location.replace(/\.iwa/,"-".concat(O,".iwa"))),gr.utils.cfb_add(e,r[O].location,Go(qo([B])));var T=r[O].location.replace(/^Root Entry\//,"").replace(/^Index\//,"").replace(/\.iwa$/,"");fr(e,r,2,function(Q){var A=Lt(Q.messages[0].data);Kh(A,O,T),Kn(A,r,o,O),Q.messages[0].data=yt(A)})}re.data=Ln(O)}),E[1][0].data=yt(S);var R=Lt(E[3][0].data);R[1].forEach(function(re){var fe=Lt(re.data),O=Xr(fe[2][0].data),B=a[O];if(!a[O]){B=aa({deps:[o],location:"",type:r[O].type},r),r[B].location="Root Entry/Index/Tables/Tile-".concat(B,".iwa"),a[O]=B;var T=sa(e,r,O);T.id=B,Ca(f,O),Fn(f,B),gr.utils.cfb_add(e,"/Index/Tables/Tile-".concat(B,".iwa"),Go(qo([T]))),fr(e,r,2,function(Q){var A=Lt(Q.messages[0].data);A[3].push({type:2,data:yt([[],[{type:0,data:xt(B)}],[{type:2,data:jn("Tables/Tile")}],[{type:2,data:jn("Tables/Tile-".concat(B))}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:xt(0)}],[],[{type:0,data:xt(0)}]])}),A[1]=[{type:0,data:xt(Math.max(B+1,gi(A[1][0].data)))}],Kn(A,r,o,B),Q.messages[0].data=yt(A)})}fe[2][0].data=Ln(B),re.data=yt(fe)}),E[3][0].data=yt(R)}p[4][0].data=yt(E),f.messages[0].data=yt(p)})}function yS(e,r,t,n,i,a){var s=[];fr(e,r,a,function(l){var h=Lt(l.messages[0].data);h[1]=[{type:2,data:jn(n)}],s=Ul(h[2],Xr),l.messages[0].data=yt(h)});var o=sa(e,r,s[0]),f=Xr(Lt(o.messages[0].data)[2][0].data);fr(e,r,f,function(l,h){return bS(e,r,t,l,h,f)})}function bS(e,r,t,n,i,a){if(!t["!ref"])throw new Error("Cannot export empty sheet to NUMBERS");var s=gn(t["!ref"]);s.s.r=s.s.c=0;var o=!1;s.e.c>999&&(o=!0,s.e.c=999),s.e.r>999999&&(o=!0,s.e.r=999999),o&&console.error("Truncating to ".concat(Zr(s)));var f=[];if(t["!data"])f=t["!data"];else{for(var l=[],h=0;h<=s.e.c;++h)l[h]=cr(h);for(var g=0;g<=s.e.r;++g){f[g]=[];var p=""+(g+1);for(h=0;h<=s.e.c;++h){var u=t[l[h]+p];u&&(f[g][h]=u)}}}var _={cmnt:[{a:"~54ee77S~",t:"... the people who are crazy enough to think they can change the world, are the ones who do."}],ferr:[],fmla:[],nfmt:[],ofmt:[],rsst:[{v:"~54ee77S~",l:"https://sheetjs.com/"}],sst:["~Sh33tJ5~"]},w=Lt(n.messages[0].data);{w[6][0].data=xt(s.e.r+1),w[7][0].data=xt(s.e.c+1),delete w[46];var y=Lt(w[4][0].data);{var v=Xr(Lt(y[1][0].data)[2][0].data);fr(e,r,v,function(L,q){var te,ae=Lt(L.messages[0].data);if((te=ae==null?void 0:ae[2])!=null&&te[0])for(var ce=0;ce<f.length;++ce){var de=Lt(ae[2][0].data);de[1][0].data=xt(ce),de[4][0].data=xt(f[ce].length),ae[2][ce]={type:ae[2][0].type,data:yt(de)}}L.messages[0].data=yt(ae)});var E=Xr(y[2][0].data);fr(e,r,E,function(L,q){for(var te=Lt(L.messages[0].data),ae=0;ae<=s.e.c;++ae){var ce=Lt(te[2][0].data);ce[1][0].data=xt(ae),ce[4][0].data=xt(s.e.r+1),te[2][ae]={type:te[2][0].type,data:yt(ce)}}L.messages[0].data=yt(te)});var S=Lt(y[9][0].data);S[1]=[];var R=Lt(y[3][0].data);{var re=256;R[2]=[{type:0,data:xt(re)}];var fe=Xr(Lt(R[1][0].data)[2][0].data),O=function(){var L=sa(e,r,2),q=Lt(L.messages[0].data),te=q[3].filter(function(ae){return gi(Lt(ae.data)[1][0].data)==fe});return te!=null&&te.length?gi(Lt(te[0].data)[12][0].data):0}
vendor: 13,496 bytes, line 300
300();gr.utils.cfb_del(e,r[fe].location),fr(e,r,2,function(L){var q=Lt(L.messages[0].data);q[3]=q[3].filter(function(te){return gi(Lt(te.data)[1][0].data)!=fe}),_S(q,r,a,fe),L.messages[0].data=yt(q)}),Ca(n,fe),R[1]=[];for(var B=Math.ceil((s.e.r+1)/re),T=0;T<B;++T){var Q=aa({deps:[],location:"",type:6002},r);r[Q].location="Root Entry/Index/Tables/Tile-".concat(Q,".iwa");for(var A=[[],[{type:0,data:xt(0)}],[{type:0,data:xt(Math.min(s.e.r+1,(T+1)*re))}],[{type:0,data:xt(0)}],[{type:0,data:xt(Math.min((T+1)*re,s.e.r+1)-T*re)}],[],[{type:0,data:xt(5)}],[{type:0,data:xt(1)}],[{type:0,data:xt(1)}]],P=T*re;P<=Math.min(s.e.r,(T+1)*re-1);++P){var j=gS(f[P],_);j[1][0].data=xt(P-T*re),A[5].push({data:yt(j),type:2})}R[1].push({type:2,data:yt([[],[{type:0,data:xt(T)}],[{type:2,data:Ln(Q)}]])});var ie={id:Q,messages:[Yh(6002,yt(A))]},he=Go(qo([ie]));gr.utils.cfb_add(e,"/Index/Tables/Tile-".concat(Q,".iwa"),he),fr(e,r,2,function(L){var q=Lt(L.messages[0].data);q[3].push({type:2,data:yt([[],[{type:0,data:xt(Q)}],[{type:2,data:jn("Tables/Tile")}],[{type:2,data:jn("Tables/Tile-".concat(Q))}],[{type:2,data:new Uint8Array([2,0,0])}],[{type:2,data:new Uint8Array([2,0,0])}],[],[],[],[],[{type:0,data:xt(0)}],[],[{type:0,data:xt(O)}]])}),q[1]=[{type:0,data:xt(Math.max(Q+1,gi(q[1][0].data)))}],Kn(q,r,a,Q),L.messages[0].data=yt(q)}),Fn(n,Q),S[1].push({type:2,data:yt([[],[{type:0,data:xt(T*re)}],[{type:0,data:xt(T)}]])})}}if(y[3][0].data=yt(R),y[9][0].data=yt(S),y[10]=[{type:2,data:new Uint8Array([])}],t["!merges"]){var Fe=aa({type:6144,deps:[a],location:r[a].location},r);i.push({id:Fe,messages:[Yh(6144,yt([[],t["!merges"].map(function(L){return{type:2,data:yt([[],[{type:2,data:yt([[],[{type:5,data:new Uint8Array(new Uint16Array([L.s.r,L.s.c]).buffer)}]])}],[{type:2,data:yt([[],[{type:5,data:new Uint8Array(new Uint16Array([L.e.r-L.s.r+1,L.e.c-L.s.c+1]).buffer)}]])}]])}})]))]}),y[13]=[{type:2,data:Ln(Fe)}],fr(e,r,2,function(L){var q=Lt(L.messages[0].data);Kn(q,r,a,Fe),L.messages[0].data=yt(q)}),Fn(n,Fe)}else delete y[13];var xe=Xr(y[4][0].data);fr(e,r,xe,function(L){var q=Lt(L.messages[0].data);q[3]=[],_.sst.forEach(function(te,ae){ae!=0&&q[3].push({type:2,data:yt([[],[{type:0,data:xt(ae)}],[{type:0,data:xt(1)}],[{type:2,data:jn(te)}]])})}),L.messages[0].data=yt(q)});var ve=Xr(y[17][0].data);if(fr(e,r,ve,function(L){var q=Lt(L.messages[0].data);q[3]=[];var te=[904980,903835,903815,903845];_.rsst.forEach(function(ae,ce){if(ce!=0){var de=[[],[{type:0,data:new Uint8Array([5])}],[],[{type:2,data:jn(ae.v)}]];de[10]=[{type:0,data:new Uint8Array([1])}],de[19]=[{type:2,data:new Uint8Array([10,6,8,0,18,2,101,110])}],de[5]=[{type:2,data:new Uint8Array([10,8,8,0,18,4,8,155,149,55])}],de[2]=[{type:2,data:new Uint8Array([8,148,158,55])}],de[6]=[{type:2,data:new Uint8Array([10,6,8,0,16,0,24,0])}],de[7]=[{type:2,data:new Uint8Array([10,8,8,0,18,4,8,135,149,55])}],de[8]=[{type:2,data:new Uint8Array([10,8,8,0,18,4,8,165,149,55])}],de[14]=[{type:2,data:new Uint8Array([10,6,8,0,16,0,24,0])}],de[24]=[{type:2,data:new Uint8Array([10,6,8,0,16,0,24,0])}];var k=aa({deps:[],location:"",type:2001},r),X=[];if(ae.l){var z=ks(e,2032,[[],[],[{type:2,data:jn(ae.l)}]],"/Index/Tables/DataList",r);de[11]=[];var G=[[],[]];G[1]||(G[1]=[]),G[1].push({type:2,data:yt([[],[{type:0,data:xt(0)}],[{type:2,data:Ln(z)}]])}),de[11][0]={type:2,data:yt(G)},X.push(z)}ks(e,2001,de,"/Index/Tables/DataList",r,k),fr(e,r,k,function(Ce){te.forEach(function(Ie){return Fn(Ce,Ie)}),X.forEach(function(Ie){return Fn(Ce,Ie)})});var me=ks(e,6218,[[],[{type:2,data:Ln(k)}],[],[{type:2,data:new Uint8Array([13,255,255,255,0,18,10,16,255,255,1,24,255,255,255,255,7])}]],"/Index/Tables/DataList",r);fr(e,r,me,function(Ce){return Fn(Ce,k)}),q[3].push({type:2,data:yt([[],[{type:0,data:xt(ce)}],[{type:0,data:xt(1)}],[],[],[],[],[],[],[{type:2,data:Ln(me)}]])}),Fn(L,me),fr(e,r,2,function(Ce){var Ie=Lt(Ce.messages[0].data);Kn(Ie,r,ve,me),Kn(Ie,r,me,k),Kn(Ie,r,k,X),Kn(Ie,r,k,te),Ce.messages[0].data=yt(Ie)})}}),L.messages[0].data=yt(q)}),_.cmnt.length>1){var Le=Xr(y[19][0].data),Ge={},Be=0;fr(e,r,Le,function(L){var q=Lt(L.messages[0].data);q[3]=[],_.cmnt.forEach(function(te,ae){if(ae!=0){var ce=[];te.replies&&te.replies.forEach(function(X){Ge[X.a||""]||(Ge[X.a||""]=ks(e,212,[[],[{type:2,data:jn(X.a||"")}],[{type:2,data:Fd(++Be)}],[],[{type:0,data:xt(0)}]],"/Index/Tables/DataList",r));var z=Ge[X.a||""],G=ks(e,3056,[[],[{type:2,data:jn(X.t||"")}],[{type:2,data:yt([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:Ln(z)}]],"/Index/Tables/DataList",r);fr(e,r,G,function(me){return Fn(me,z)}),ce.push(G),fr(e,r,2,function(me){var Ce=Lt(me.messages[0].data);Kn(Ce,r,G,z),me.messages[0].data=yt(Ce)})}),Ge[te.a||""]||(Ge[te.a||""]=ks(e,212,[[],[{type:2,data:jn(te.a||"")}],[{type:2,data:Fd(++Be)}],[],[{type:0,data:xt(0)}]],"/Index/Tables/DataList",r));var de=Ge[te.a||""],k=ks(e,3056,[[],[{type:2,data:jn(te.t||"")}],[{type:2,data:yt([[],[{type:1,data:new Uint8Array([0,0,0,128,116,109,182,65])}]])}],[{type:2,data:Ln(de)}],ce.map(function(X){return{type:2,data:Ln(X)}}),[{type:2,data:yt([[],[{type:0,data:xt(ae)}],[{type:0,data:xt(0)}]])}]],"/Index/Tables/DataList",r);fr(e,r,k,function(X){Fn(X,de),ce.forEach(function(z){return Fn(X,z)})}),q[3].push({type:2,data:yt([[],[{type:0,data:xt(ae)}],[{type:0,data:xt(1)}],[],[],[],[],[],[],[],[{type:2,data:Ln(k)}]])}),Fn(L,k),fr(e,r,2,function(X){var z=Lt(X.messages[0].data);Kn(z,r,Le,k),Kn(z,r,k,de),ce.length&&Kn(z,r,k,ce),X.messages[0].data=yt(z)})}}),q[2][0].data=xt(_.cmnt.length+1),L.messages[0].data=yt(q)})}}w[4][0].data=yt(y)}n.messages[0].data=yt(w)}function AS(e){return function(t){for(var n=0;n!=e.length;++n){var i=e[n];t[i[0]]===void 0&&(t[i[0]]=i[1]),i[2]==="n"&&(t[i[0]]=Number(t[i[0]]))}}}function Lu(e){AS([["cellDates",!1],["bookSST",!1],["bookType","xlsx"],["compression",!1],["WTF",!1]])(e)}function SS(e,r){e&&!e.SSF&&(e.SSF=On(Ar)),e&&e.SSF&&(Yl(),Xl(e.SSF),r.revssf=Kl(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.rels={},r.wbrels={},r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,W0?r.revStrings=new Map:(r.revStrings={},r.revStrings.foo=[],delete r.revStrings.foo);var t="bin",n=!0,i=w5();Lu(r=r||{});var a=mu(),s="",o=0;if(r.cellXfs=[],us(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",jt(a,s,S5(e.Props,r)),i.coreprops.push(s),rr(r.rels,2,s,Kt.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var f=[],l=0;l<e.SheetNames.length;++l)(e.Workbook.Sheets[l]||{}).Hidden!=2&&f.push(e.SheetNames[l]);e.Props.SheetNames=f}e.Props.Worksheets=e.Props.SheetNames.length,jt(a,s,T5(e.Props)),i.extprops.push(s),rr(r.rels,3,s,Kt.EXT_PROPS),e.Custprops!==e.Props&&Kr(e.Custprops||{}).length>0&&(s="docProps/custom.xml",jt(a,s,N5(e.Custprops)),i.custprops.push(s),rr(r.rels,4,s,Kt.CUST_PROPS));var h=["SheetJ5"];for(r.tcid=0,o=1;o<=e.SheetNames.length;++o){var g={"!id":{}},p=e.Sheets[e.SheetNames[o-1]],u=(p||{})["!type"]||"sheet";switch(u){case"chart":default:s="xl/worksheets/sheet"+o+"."+t,jt(a,s,aA(o-1,r,e,g)),i.sheets.push(s),rr(r.wbrels,-1,"worksheets/sheet"+o+"."+t,Kt.WS[0])}if(p){var _=p["!comments"],w=!1,y="";if(_&&_.length>0){var v=!1;_.forEach(function(S){S[1].forEach(function(R){R.T==!0&&(v=!0)})}),v&&(y="xl/threadedComments/threadedComment"+o+".xml",jt(a,y,z5(_,h,r)),i.threadedcomments.push(y),rr(g,-1,"../threadedComments/threadedComment"+o+".xml",Kt.TCMNT)),y="xl/comments"+o+"."+t,jt(a,y,Yy(_)),i.comments.push(y),rr(g,-1,"../comments"+o+"."+t,Kt.CMNT),w=!0}p["!legacy"]&&w&&jt(a,"xl/drawings/vmlDrawing"+o+".vml",j5(o,p["!comments"])),delete p["!comments"],delete p["!legacy"]}g["!id"].rId1&&jt(a,b5(s),Wo(g))}r.Strings!=null&&r.Strings.length>0&&(s="xl/sharedStrings."+t,jt(a,s,ay(r.Strings)),i.strs.push(s),rr(r.wbrels,-1,"sharedStrings."+t,Kt.SST)),s="xl/workbook."+t,jt(a,s,TA(e)),i.workbooks.push(s),rr(r.rels,1,s,Kt.WB),s="xl/theme/theme1.xml";var E=U5(e.Themes,r);return jt(a,s,E),i.themes.push(s),rr(r.wbrels,-1,"theme/theme1.xml",Kt.THEME),s="xl/styles."+t,jt(a,s,Iy(e,r)),i.styles.push(s),rr(r.wbrels,-1,"styles."+t,Kt.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",jt(a,s,e.vbaraw),i.vba.push(s),rr(r.wbrels,-1,"vbaProject.bin",Kt.VBA)),s="xl/metadata."+t,jt(a,s,zy()),i.metadata.push(s),rr(r.wbrels,-1,"metadata."+t,Kt.XLMETA),h.length>1&&(s="xl/persons/person.xml",jt(a,s,W5(h)),i.people.push(s),rr(r.wbrels,-1,"persons/person.xml",Kt.PEOPLE)),jt(a,"[Content_Types].xml",y5(i,r)),jt(a,"_rels/.rels",Wo(r.rels)),jt(a,"xl/_rels/workbook."+t+".rels",Wo(r.wbrels)),delete r.revssf,delete r.ssf,a}function ES(e,r){e&&!e.SSF&&(e.SSF=On(Ar)),e&&e.SSF&&(Yl(),Xl(e.SSF),r.revssf=Kl(e.SSF),r.revssf[e.SSF[65535]]=0,r.ssf=e.SSF),r.rels={},r.wbrels={},r.Strings=[],r.Strings.Count=0,r.Strings.Unique=0,W0?r.revStrings=new Map:(r.revStrings={},r.revStrings.foo=[],delete r.revStrings.foo);var t="xml",n=Zy.indexOf(r.bookType)>-1,i=w5();Lu(r=r||{});var a=mu(),s="",o=0;if(r.cellXfs=[],us(r.cellXfs,{},{revssf:{General:0}}),e.Props||(e.Props={}),s="docProps/core.xml",jt(a,s,S5(e.Props,r)),i.coreprops.push(s),rr(r.rels,2,s,Kt.CORE_PROPS),s="docProps/app.xml",!(e.Props&&e.Props.SheetNames))if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{for(var f=[],l=0;l<e.SheetNames.length;++l)(e.Workbook.Sheets[l]||{}).Hidden!=2&&f.push(e.SheetNames[l]);e.Props.SheetNames=f}e.Props.Worksheets=e.Props.SheetNames.length,jt(a,s,T5(e.Props)),i.extprops.push(s),rr(r.rels,3,s,Kt.EXT_PROPS),e.Custprops!==e.Props&&Kr(e.Custprops||{}).length>0&&(s="docProps/custom.xml",jt(a,s,N5(e.Custprops)),i.custprops.push(s),rr(r.rels,4,s,Kt.CUST_PROPS));var h=["SheetJ5"];for(r.tcid=0,o=1;o<=e.SheetNames.length;++o){var g={"!id":{}},p=e.Sheets[e.SheetNames[o-1]],u=(p||{})["!type"]||"sheet";switch(u){case"chart":default:s="xl/worksheets/sheet"+o+"."+t,jt(a,s,Vb(o-1,r,e,g)),i.sheets.push(s),rr(r.wbrels,-1,"worksheets/sheet"+o+"."+t,Kt.WS[0])}if(p){var _=p["!comments"],w=!1,y="";if(_&&_.length>0){var v=!1;_.forEach(function(E){E[1].forEach(function(S){S.T==!0&&(v=!0)})}),v&&(y="xl/threadedComments/threadedComment"+o+".xml",jt(a,y,z5(_,h,r)),i.threadedcomments.push(y),rr(g,-1,"../threadedComments/threadedComment"+o+".xml",Kt.TCMNT)),y="xl/comments"+o+"."+t,jt(a,y,Gy(_)),i.comments.push(y),rr(g,-1,"../comments"+o+"."+t,Kt.CMNT),w=!0}p["!legacy"]&&w&&jt(a,"xl/drawings/vmlDrawing"+o+".vml",j5(o,p["!comments"])),delete p["!comments"],delete p["!legacy"]}g["!id"].rId1&&jt(a,b5(s),Wo(g))}return r.Strings!=null&&r.Strings.length>0&&(s="xl/sharedStrings."+t,jt(a,s,ty(r.Strings,r)),i.strs.push(s),rr(r.wbrels,-1,"sharedStrings."+t,Kt.SST)),s="xl/workbook."+t,jt(a,s,uA(e)),i.workbooks.push(s),rr(r.rels,1,s,Kt.WB),s="xl/theme/theme1.xml",jt(a,s,U5(e.Themes,r)),i.themes.push(s),rr(r.wbrels,-1,"theme/theme1.xml",Kt.THEME),s="xl/styles."+t,jt(a,s,uy(e,r)),i.styles.push(s),rr(r.wbrels,-1,"styles."+t,Kt.STY),e.vbaraw&&n&&(s="xl/vbaProject.bin",jt(a,s,e.vbaraw),i.vba.push(s),rr(r.wbrels,-1,"vbaProject.bin",Kt.VBA)),s="xl/metadata."+t,jt(a,s,Wy()),i.metadata.push(s),rr(r.wbrels,-1,"metadata."+t,Kt.XLMETA),h.length>1&&(s="xl/persons/person.xml",jt(a,s,W5(h)),i.people.push(s),rr(r.wbrels,-1,"persons/person.xml",Kt.PEOPLE)),jt(a,"[Content_Types].xml",y5(i,r)),jt(a,"_rels/.rels",Wo(r.rels)),jt(a,"xl/_rels/workbook."+t+".rels",Wo(r.wbrels)),delete r.revssf,delete r.ssf,a}function TS(e,r){var t="";switch((r||{}).type||"base64"){case"buffer":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];case"base64":t=ls(e.slice(0,12));break;case"binary":t=e;break;case"array":return[e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7]];default:throw new Error("Unrecognized type "+(r&&r.type||"undefined"))}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3),t.charCodeAt(4),t.charCodeAt(5),t.charCodeAt(6),t.charCodeAt(7)]}function lm(e,r){switch(r.type){case"base64":case"binary":break;case"buffer":case"array":r.type="";break;case"file":return lf(r.file,gr.write(e,{type:nr?"buffer":""}));case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");default:throw new Error("Unrecognized type "+r.type)}return gr.write(e,r)}function NS(e,r){switch(r.bookType){case"ods":return sm(e,r);case"numbers":return vS(e,r);case"xlsb":return SS(e,r);default:return ES(e,r)}}function FS(e,r){var t=On(r||{}),n=NS(e,t);return LS(n,t)}function LS(e,r){var t={},n=nr?"nodebuffer":typeof Uint8Array<"u"?"array":"string";if(r.compression&&(t.compression="DEFLATE"),r.password)t.type=n;else switch(r.type){case"base64":t.type="base64";break;case"binary":t.type="string";break;case"string":throw new Error("'string' output type invalid for '"+r.bookType+"' files");case"buffer":case"file":t.type=n;break;default:throw new Error("Unrecognized type "+r.type)}var i=e.FullPaths?gr.write(e,{fileType:"zip",type:{nodebuffer:"buffer",string:"binary"}[t.type]||t.type,compression:!!r.compression}):e.generate(t);if(typeof Deno<"u"&&typeof i=="string"){if(r.type=="binary"||r.type=="base64")return i;i=new Uint8Array($l(i))}return r.password&&typeof encrypt_agile<"u"?lm(encrypt_agile(i,r.password),r):r.type==="file"?lf(r.file,i):r.type=="string"?zo(i):i}function kS(e,r){var t=r||{},n=jA(e,t);return lm(n,t)}function ra(e,r,t){t||(t="");var n=t+e;switch(r.type){case"base64":return El(Z0(n));case"binary":return Z0(n);case"string":return e;case"file":return lf(r.file,n,"utf8");case"buffer":return nr?pa(n,"utf8"):typeof TextEncoder<"u"?new TextEncoder().encode(n):ra(n,{type:"binary"}
300).split("").map(function(i){return i.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function CS(e,r){switch(r.type){case"base64":return C4(e);case"binary":return e;case"string":return e;case"file":return lf(r.file,e,"binary");case"buffer":return nr?pa(e,"binary"):e.split("").map(function(t){return t.charCodeAt(0)})}throw new Error("Unrecognized type "+r.type)}function ol(e,r){switch(r.type){case"string":case"base64":case"binary":for(var t="",n=0;n<e.length;++n)t+=String.fromCharCode(e[n]);return r.type=="base64"?El(t):r.type=="string"?zo(t):t;case"file":return lf(r.file,e);case"buffer":return e;default:throw new Error("Unrecognized type "+r.type)}}function cm(e,r){k4(),hA(e);var t=On(r||{});if(t.cellStyles&&(t.cellNF=!0,t.sheetStubs=!0),t.type=="array"){t.type="binary";var n=cm(e,t);return t.type="array",$l(n)}var i=0;if(t.sheet&&(typeof t.sheet=="number"?i=t.sheet:i=e.SheetNames.indexOf(t.sheet),!e.SheetNames[i]))throw new Error("Sheet not found: "+t.sheet+" : "+typeof t.sheet);switch(t.bookType||"xlsb"){case"xml":case"xlml":return ra(MA(e,t),t);case"slk":case"sylk":return ra(Z3.from_sheet(e.Sheets[e.SheetNames[i]],t,e),t);case"htm":case"html":return ra(nm(e.Sheets[e.SheetNames[i]],t),t);case"txt":return CS(hm(e.Sheets[e.SheetNames[i]],t),t);case"csv":return ra(ku(e.Sheets[e.SheetNames[i]],t),t,"\uFEFF");case"dif":return ra(J3.from_sheet(e.Sheets[e.SheetNames[i]],t),t);case"dbf":return ol(K3.from_sheet(e.Sheets[e.SheetNames[i]],t),t);case"prn":return ra(Q3.from_sheet(e.Sheets[e.SheetNames[i]],t),t);case"rtf":return ra(oy(e.Sheets[e.SheetNames[i]]),t);case"eth":return ra(O5.from_sheet(e.Sheets[e.SheetNames[i]],t),t);case"fods":return ra(sm(e,t),t);case"wk1":return ol(gd.sheet_to_wk1(e.Sheets[e.SheetNames[i]],t),t);case"wk3":return ol(gd.book_to_wk3(e,t),t);case"biff2":t.biff||(t.biff=2);case"biff3":t.biff||(t.biff=3);case"biff4":return t.biff||(t.biff=4),ol(rm(e,t),t);case"biff5":t.biff||(t.biff=5);case"biff8":case"xla":case"xls":return t.biff||(t.biff=8),kS(e,t);case"xlsx":case"xlsm":case"xlam":case"xlsb":case"numbers":case"ods":return FS(e,t);default:throw new Error("Unrecognized bookType |"+t.bookType+"|")}}function PS(e){if(!e.bookType){var r={xls:"biff8",htm:"html",slk:"sylk",socialcalc:"eth",Sh33tJS:"WTF"},t=e.file.slice(e.file.lastIndexOf(".")).toLowerCase();t.match(/^\.[a-z]+$/)&&(e.bookType=t.slice(1)),e.bookType=r[e.bookType]||e.bookType}}function IS(e,r,t){var n=t||{};return n.type="file",n.file=r,PS(n),cm(e,n)}function OS(e,r,t,n,i,a,s){var o=ur(t),f=s.defval,l=s.raw||!Object.prototype.hasOwnProperty.call(s,"raw"),h=!0,g=e["!data"]!=null,p=i===1?[]:{};if(i!==1)if(Object.defineProperty)try{Object.defineProperty(p,"__rowNum__",{value:t,enumerable:!1})}catch{p.__rowNum__=t}else p.__rowNum__=t;if(!g||e["!data"][t])for(var u=r.s.c;u<=r.e.c;++u){var _=g?(e["!data"][t]||[])[u]:e[n[u]+o];if(_==null||_.t===void 0){if(f===void 0)continue;a[u]!=null&&(p[a[u]]=f);continue}var w=_.v;switch(_.t){case"z":if(w==null)break;continue;case"e":w=w==0?null:void 0;break;case"s":case"b":case"n":if(!_.z||!$s(_.z)||(w=jo(w),typeof w=="number"))break;case"d":s&&(s.UTC||s.raw===!1)||(w=Yo(new Date(w)));break;default:throw new Error("unrecognized type "+_.t)}if(a[u]!=null){if(w==null)if(_.t=="e"&&w===null)p[a[u]]=null;else if(f!==void 0)p[a[u]]=f;else if(l&&w===null)p[a[u]]=null;else continue;else p[a[u]]=(_.t==="n"&&typeof s.rawNumbers=="boolean"?s.rawNumbers:l)?w:Ma(_,w,s);w!=null&&(h=!1)}}return{row:p,isempty:h}}function Zh(e,r){if(e==null||e["!ref"]==null)return[];var t={t:"n",v:0},n=0,i=1,a=[],s=0,o="",f={s:{r:0,c:0},e:{r:0,c:0}},l=r||{},h=l.range!=null?l.range:e["!ref"];switch(l.header===1?n=1:l.header==="A"?n=2:Array.isArray(l.header)?n=3:l.header==null&&(n=0),typeof h){case"string":f=Sr(h);break;case"number":f=Sr(e["!ref"]),f.s.r=h;break;default:f=h}n>0&&(i=0);var g=ur(f.s.r),p=[],u=[],_=0,w=0,y=e["!data"]!=null,v=f.s.r,E=0,S={};y&&!e["!data"][v]&&(e["!data"][v]=[]);var R=l.skipHidden&&e["!cols"]||[],re=l.skipHidden&&e["!rows"]||[];for(E=f.s.c;E<=f.e.c;++E)if(!(R[E]||{}).hidden)switch(p[E]=cr(E),t=y?e["!data"][v][E]:e[p[E]+g],n){case 1:a[E]=E-f.s.c;break;case 2:a[E]=p[E];break;case 3:a[E]=l.header[E-f.s.c];break;default:if(t==null&&(t={w:"__EMPTY",t:"s"}),o=s=Ma(t,null,l),w=S[s]||0,!w)S[s]=1;else{do o=s+"_"+w++;
vendor: 5,986 bytes, lines 300-302
300while(S[o]);S[s]=w,S[o]=1}a[E]=o}for(v=f.s.r+i;v<=f.e.r;++v)if(!(re[v]||{}).hidden){var fe=OS(e,f,v,p,n,a,l);(fe.isempty===!1||(n===1?l.blankrows!==!1:l.blankrows))&&(u[_++]=fe.row)}return u.length=_,u}var Ld=/"/g;function DS(e,r,t,n,i,a,s,o,f){for(var l=!0,h=[],g="",p=ur(t),u=e["!data"]!=null,_=u&&e["!data"][t]||[],w=r.s.c;w<=r.e.c;++w)if(n[w]){var y=u?_[w]:e[n[w]+p];if(y==null)g="";else if(y.v!=null){l=!1,g=""+(f.rawNumbers&&y.t=="n"?y.v:Ma(y,null,f));for(var v=0,E=0;v!==g.length;++v)if((E=g.charCodeAt(v))===i||E===a||E===34||f.forceQuotes){g='"'+g.replace(Ld,'""')+'"';break}g=="ID"&&o==0&&h.length==0&&(g='"ID"')}else y.f!=null&&!y.F?(l=!1,g="="+y.f,g.indexOf(",")>=0&&(g='"'+g.replace(Ld,'""')+'"')):g="";h.push(g)}if(f.strip)for(;h[h.length-1]==="";)--h.length;return f.blankrows===!1&&l?null:h.join(s)}function ku(e,r){var t=[],n=r??{};if(e==null||e["!ref"]==null)return"";for(var i=Sr(e["!ref"]),a=n.FS!==void 0?n.FS:",",s=a.charCodeAt(0),o=n.RS!==void 0?n.RS:`
301`,f=o.charCodeAt(0),l="",h=[],g=n.skipHidden&&e["!cols"]||[],p=n.skipHidden&&e["!rows"]||[],u=i.s.c;u<=i.e.c;++u)(g[u]||{}).hidden||(h[u]=cr(u));for(var _=0,w=i.s.r;w<=i.e.r;++w)(p[w]||{}).hidden||(l=DS(e,i,w,h,s,f,a,_,n),l!=null&&(l||n.blankrows!==!1)&&t.push((_++?o:"")+l));return t.join("")}function hm(e,r){r||(r={}),r.FS="	",r.RS=`
302`;var t=ku(e,r);return t}function RS(e,r){var t="",n,i="";if(e==null||e["!ref"]==null)return[];var a=Sr(e["!ref"]),s="",o=[],f,l=[],h=e["!data"]!=null;for(f=a.s.c;f<=a.e.c;++f)o[f]=cr(f);for(var g=a.s.r;g<=a.e.r;++g)for(s=ur(g),f=a.s.c;f<=a.e.c;++f)if(t=o[f]+s,n=h?(e["!data"][g]||[])[f]:e[t],i="",n!==void 0){if(n.F!=null){if(t=n.F,!n.f)continue;i=n.f,t.indexOf(":")==-1&&(t=t+":"+t)}if(n.f!=null)i=n.f;else{if(r&&r.values===!1)continue;if(n.t=="z")continue;if(n.t=="n"&&n.v!=null)i=""+n.v;else if(n.t=="b")i=n.v?"TRUE":"FALSE";else if(n.w!==void 0)i="'"+n.w;else{if(n.v===void 0)continue;n.t=="s"?i="'"+n.v:i=""+n.v}}l[l.length]=t+"="+i}return l}function um(e,r,t){var n=t||{},i=e?e["!data"]!=null:n.dense,a=+!n.skipHeader,s=e||{};!e&&i&&(s["!data"]=[]);var o=0,f=0;if(s&&n.origin!=null)if(typeof n.origin=="number")o=n.origin;else{var l=typeof n.origin=="string"?Fr(n.origin):n.origin;o=l.r,f=l.c}var h={s:{c:0,r:0},e:{c:f,r:o+r.length-1+a}};if(s["!ref"]){var g=Sr(s["!ref"]);h.e.c=Math.max(h.e.c,g.e.c),h.e.r=Math.max(h.e.r,g.e.r),o==-1&&(o=g.e.r+1,h.e.r=o+r.length-1+a)}else o==-1&&(o=0,h.e.r=r.length-1+a);var p=n.header||[],u=0,_=[];r.forEach(function(y,v){i&&!s["!data"][o+v+a]&&(s["!data"][o+v+a]=[]),i&&(_=s["!data"][o+v+a]),Kr(y).forEach(function(E){(u=p.indexOf(E))==-1&&(p[u=p.length]=E);var S=y[E],R="z",re="",fe=i?"":cr(f+u)+ur(o+v+a),O=i?_[f+u]:s[fe];S&&typeof S=="object"&&!(S instanceof Date)?i?_[f+u]=S:s[fe]=S:(typeof S=="number"?R="n":typeof S=="boolean"?R="b":typeof S=="string"?R="s":S instanceof Date?(R="d",n.UTC||(S=Zl(S)),n.cellDates||(R="n",S=xn(S)),re=O!=null&&O.z&&$s(O.z)?O.z:n.dateNF||Ar[14]):S===null&&n.nullError&&(R="e",S=0),O?(O.t=R,O.v=S,delete O.w,delete O.R,re&&(O.z=re)):i?_[f+u]=O={t:R,v:S}:s[fe]=O={t:R,v:S},re&&(O.z=re))})}),h.e.c=Math.max(h.e.c,f+p.length-1);var w=ur(o);if(i&&!s["!data"][o]&&(s["!data"][o]=[]),a)for(u=0;u<p.length;++u)i?s["!data"][o][u+f]={t:"s",v:p[u]}:s[cr(u+f)+w]={t:"s",v:p[u]};return s["!ref"]=Zr(h),s}function BS(e,r){return um(null,e,r)}function Wl(e,r,t){if(typeof r=="string"){if(e["!data"]!=null){var n=Fr(r);return e["!data"][n.r]||(e["!data"][n.r]=[]),e["!data"][n.r][n.c]||(e["!data"][n.r][n.c]={t:"z"})}return e[r]||(e[r]={t:"z"})}return typeof r!="number"?Wl(e,Cr(r)):Wl(e,cr(t||0)+ur(r))}function MS(e,r){if(typeof r=="number"){if(r>=0&&e.SheetNames.length>r)return r;throw new Error("Cannot find sheet # "+r)}else if(typeof r=="string"){var t=e.SheetNames.indexOf(r);if(t>-1)return t;throw new Error("Cannot find sheet name |"+r+"|")}else throw new Error("Cannot find sheet |"+r+"|")}function US(e,r){var t={SheetNames:[],Sheets:{}};return e&&Cu(t,e,r||"Sheet1"),t}function Cu(e,r,t,n){var i=1;if(!t)for(;i<=65535&&e.SheetNames.indexOf(t="Sheet"+i)!=-1;++i,t=void 0);if(!t||e.SheetNames.length>=65535)throw new Error("Too many worksheets");if(n&&e.SheetNames.indexOf(t)>=0&&t.length<32){var a=t.match(/\d+$/);i=a&&+a[0]||0;var s=a&&t.slice(0,a.index)||t;for(++i;i<=65535&&e.SheetNames.indexOf(t=s+i)!=-1;++i);}if(Q5(t),e.SheetNames.indexOf(t)>=0)throw new Error("Worksheet with name |"+t+"| already exists!");return e.SheetNames.push(t),e.Sheets[t]=r,t}function jS(e,r,t){e.Workbook||(e.Workbook={}),e.Workbook.Sheets||(e.Workbook.Sheets=[]);var n=MS(e,r);switch(e.Workbook.Sheets[n]||(e.Workbook.Sheets[n]={}),t){case 0:case 1:case 2:break;default:throw new Error("Bad sheet visibility setting "+t)}e.Workbook.Sheets[n].Hidden=t}function zS(e,r){return e.z=r,e}function dm(e,r,t){return r?(e.l={Target:r},t&&(e.l.Tooltip=t)):delete e.l,e}function WS(e,r,t){return dm(e,"#"+r,t)}function HS(e,r,t){e.c||(e.c=[]),e.c.push({t:r,a:t||"SheetJS"})}function qS(e,r,t,n){for(var i=typeof r!="string"?r:Sr(r),a=typeof r=="string"?r:Zr(r),s=i.s.r;s<=i.e.r;++s)for(var o=i.s.c;o<=i.e.c;++o){var f=Wl(e,s,o);f.t="n",f.F=a,delete f.v,s==i.s.r&&o==i.s.c&&(f.f=t,n&&(f.D=!0))}var l=gn(e["!ref"]);return l.s.r>i.s.r&&(l.s.r=i.s.r),l.s.c>i.s.c&&(l.s.c=i.s.c),l.e.r<i.e.r&&(l.e.r=i.e.r),l.e.c<i.e.c&&(l.e.c=i.e.c),e["!ref"]=Zr(l),e}var Cs={encode_col:cr,encode_row:ur,encode_cell:Cr,encode_range:Zr,decode_col:yu,decode_row:wu,split_cell:Uw,decode_cell:Fr,decode_range:gn,format_cell:Ma,sheet_new:jw,sheet_add_aoa:m5,sheet_add_json:um,sheet_add_dom:im,aoa_to_sheet:r0,json_to_sheet:BS,table_to_sheet:am,table_to_book:lS,sheet_to_csv:ku,sheet_to_txt:hm,sheet_to_json:Zh,sheet_to_html:nm,sheet_to_formulae:RS,sheet_to_row_object_array:Zh,sheet_get_cell:Wl,book_new:US,book_append_sheet:Cu,book_set_sheet_visibility:jS,cell_set_number_format:zS,cell_set_hyperlink:dm,cell_set_internal_link:WS,cell_add_comment:HS,sheet_set_array_formula:qS,consts:{SHEET_VISIBLE:0,SHEET_HIDDEN:1,SHEET_VERY_HIDDEN:2}};const fi=e=>
302new Intl.NumberFormat("pt-BR",{style:"currency",currency:"BRL"}).format(e||0),GS={confirmed:"bg-green-500/10 text-green-700",pending:"bg-yellow-500/10 text-yellow-700",cancelled:"bg-red-500/10 text-red-700"},kd={multipark:"bg-blue-500/10 text-blue-700 border-blue-500/30",xpark:"bg-violet-500/10 text-violet-700 border-violet-500/30",aerovalet:"bg-amber-500/10 text-amber-700 border-amber-500/30","whatsapp-bandi":"bg-fuchsia-500/10 text-fuchsia-700 border-fuchsia-500/30","whatsapp-bandi-multipark":"bg-emerald-500/10 text-emerald-700 border-emerald-500/30",bandi:"bg-fuchsia-500/10 text-fuchsia-700 border-fuchsia-500/30",aeropark:"bg-red-500/10 text-red-700 border-red-500/30",valetina:"bg-pink-500/10 text-pink-700 border-pink-500/30"},VS={xpark:"Xpark",multipark:"Multipark",aerovalet:"Aerovalet",aeropark:"Aeropark",valetina:"Valetina",bandi:"Bandy","whatsapp-bandi":"Bandy (WhatsApp)","whatsapp-bandi-multipark":"Bandy / Multipark"},Cd=e=>e?VS[e]??e.charAt(0).toUpperCase()+e.slice(1):"Direto",$S=e=>{if(!e)return"—";const r=e.toLowerCase();return r==="pix"?"Pix":r==="card"||r==="credit_card"||r==="debit_card"?"Cartão":r==="boleto"?"Boleto":e.charAt(0).toUpperCase()+e.slice(1)},Nh=e=>{if(!e)return"—";const r=String(e).replace(/\D/g,""),t=r.startsWith("55")&&r.length>11?r.slice(2):r;return t.length===11?`(${t.slice(0,2)}) ${t.slice(2,7)}-${t.slice(7)}`:t.length===10?`(${t.slice(0,2)}) ${t.slice(2,6)}-${t.slice(6)}`:e},fl=(e,r)=>{const t=r.get(e.id);if(t)return $S(t);const n=(e.external_payment_ref||"").toLowerCase();return n&&(/^\d{8,}$/.test(n)||n.startsWith("mp")||n.includes("mercado"))?"Pix":"—"},Pd=()=>{const e=new Date;return`${e.getFullYear()}-${String(e.getMonth()+1).padStart(2,"0")}-01`};function XS(){const e=eg(),r=(e==null?void 0:e.isAdmin)===!0,t=(e==null?void 0:e.orgId)??null,n=(e==null?void 0:e.orgSlug)??null,i=!!t&&!(e!=null&&e.isAdmin),[a,s]=er.useState([]),[o,f]=er.useState(new Map),[l,h]=er.useState(!0),[g,p]=er.useState(""),[u,_]=er.useState("confirmed"),[w,y]=er.useState("all"),[v,E]=er.useState("all"),[S,R]=er.useState("all"),[re,fe]=er.useState(Pd()),[O,B]=er.useState(""),[T,Q]=er.useState(""),[A,P]=er.useState(""),[j,ie]=er.useState(null),[he,Fe]=er.useState(null),[xe,ve]=er.useState([]),[Le,Ge]=er.useState(!1),[Be,L]=er.useState(""),[q,te]=er.useState(""),[ae,ce]=er.useState(null),[de,k]=er.useState(1),[X,z]=er.useState(50),[G,me]=er.useState(!1),[Ce,Ie]=er.useState(!1);er.useEffect(()=>{if(!j){Fe(null),ve([]);return}(async()=>{const[{data:se},{data:Ye}]=await Promise.all([Ji.from("payments").select("amount,status").eq("booking_id",j.id).eq("status","approved").limit(1),Ji.from("audit_log").select("id,created_at,actor_id,diff").eq("entity","booking").eq("entity_id",j.id).eq("action","status_change").order("created_at",{ascending:!1})]);Fe(se&&se[0]?{amount:Number(se[0].amount)}:null);const st=Array.from(new Set([...(Ye||[]).map(qe=>qe.actor_id),j.cancelled_by].filter(Boolean))),lt=new Map;if(st.length){const{data:qe}=await Ji.from("profiles").select("id,full_name,email").in("id",st);(qe||[]).forEach(St=>lt.set(St.id,St.full_name||St.email||"Usuário"))}ce(j.cancelled_by?lt.get(j.cancelled_by)||"Usuário":null),ve((Ye||[]).map(qe=>{var St,nt;return{id:qe.id,created_at:qe.created_at,actor:qe.actor_id?lt.get(qe.actor_id)||"Usuário":"Sistema (webhook/cron)",from:((St=qe==null?void 0:qe.diff)==null?void 0:St.from)??"—",to:((nt=qe==null?void 0:qe.diff)==null?void 0:nt.to)??"—"}}))})()},[j]);const M=se=>(se||"").replace(/\D/g,""),Ne=async()=>{h(!0);try{const Ye=[],st=nt=>nt;for(let nt=0;;nt+=1e3){let Nt=Ji.from("bookings").select(st("*, locations(name,airport_code,category)")).order("created_at",{ascending:!1}).order("id",{ascending:!1}).range(nt,nt+1e3-1);t&&(Nt=Nt.eq("organization_id",t)),i&&n&&(Nt=Nt.eq("source",n)),re&&(Nt=Nt.gte("created_at",`${re}T00:00:00`)),O&&(Nt=Nt.lte("created_at",`${O}T23:59:59.999`));const{data:ht,error:Ft}=await Nt.returns();if(Ft)throw Ft;const Gt=ht||[];if(Ye.push(...Gt),Gt.length<1e3)break}const lt=Array.from(new Set(Ye.filter(nt=>!nt.customer_name&&nt.customer_phone).map(nt=>M(nt.customer_phone))));if(lt.length){const{data:nt}
302=await Ji.from("whatsapp_conversations").select("phone,display_name").in("phone",lt),Nt=new Map;(nt||[]).forEach(ht=>{ht.display_name&&Nt.set(M(ht.phone),ht.display_name)});for(const ht of Ye)if(!ht.customer_name&&ht.customer_phone){const Ft=Nt.get(M(ht.customer_phone));Ft&&(ht.customer_name=Ft)}}s(Ye);const qe=Ye.map(nt=>nt.id),St=new Map;if(qe.length)for(let Nt=0;Nt<qe.length;Nt+=200){const ht=qe.slice(Nt,Nt+200),{data:Ft}=await Ji.from("payments").select("booking_id,method,status,created_at").in("booking_id",ht).order("created_at",{ascending:!1});(Ft||[]).forEach(Gt=>{if(!Gt.method)return;St.get(Gt.booking_id)?Gt.status==="approved"&&St.set(Gt.booking_id,Gt.method):St.set(Gt.booking_id,Gt.method)})}f(St)}catch(se){bi.error(se instanceof Error?se.message:"Não foi possível carregar as reservas."),s([]),f(new Map)}finally{h(!1)}};er.useEffect(()=>{Ne()},[t,n,i,re,O]);const et=er.useMemo(()=>a.filter(se=>{var Ye,st,lt;if(u!=="all"&&se.status!==u||w!=="all"&&(w==="direct"?se.source!==null:se.source!==w)||v!=="all"&&(((Ye=se.locations)==null?void 0:Ye.airport_code)||"")!==v||S!=="all"&&(((st=se.locations)==null?void 0:st.category)||"")!==S||re&&se.created_at.slice(0,10)<re||O&&se.created_at.slice(0,10)>O||T&&se.end_date<T||A&&se.start_date>A)return!1;if(g){const qe=g.toLowerCase(),St=ll(se.id,((lt=se.locations)==null?void 0:lt.airport_code)??"XX").toLowerCase();return(se.customer_name||"").toLowerCase().includes(qe)||(se.customer_email||"").toLowerCase().includes(qe)||(se.customer_phone||"").toLowerCase().includes(qe)||(se.vehicle_plate||"").toLowerCase().includes(qe)||se.id.includes(qe)||St.includes(qe)}return!0}),[a,g,u,w,v,S,re,O,T,A]);er.useEffect(()=>{k(1)},[g,u,w,v,S,re,O,T,A,X]);const $e=se=>{var st;if(!se.has_insurance)return 0;const Ye=Number((st=se.insurance)==null?void 0:st.amount);return Number.isFinite(Ye)&&Ye>0?Ye:25},ke=er.useMemo(()=>{const se={count:et.length,total:0,confirmed:0,confirmedAmt:0,pending:0,pendingAmt:0,cancelled:0,cancelledAmt:0,insuranceCount:0,insuranceAmt:0};for(const Ye of et){const st=Number(Ye.total_amount||0);se.total+=st,Ye.status==="confirmed"?(se.confirmed++,se.confirmedAmt+=st):Ye.status==="pending"?(se.pending++,se.pendingAmt+=st):Ye.status==="cancelled"&&(se.cancelled++,se.cancelledAmt+=st),Ye.has_insurance&&Ye.status==="confirmed"&&(se.insuranceCount++,se.insuranceAmt+=$e(Ye))}return se},[et]),it=er.useMemo(()=>xg(et,de,X),[et,de,X]),tt=er.useMemo(()=>{const se=new Set;return a.forEach(Ye=>{var st;(st=Ye.locations)!=null&&st.airport_code&&se.add(Ye.locations.airport_code)}),Array.from(se).sort()},[a]),ft=er.useMemo(()=>{const se=new Set;return a.forEach(Ye=>{var st;(st=Ye.locations)!=null&&st.category&&se.add(Ye.locations.category)}),Array.from(se).sort()},[a]),Ue=()=>{p(""),_("confirmed"),y("all"),E("all"),R("all"),fe(Pd()),B(""),Q(""),P("")},pt=()=>{const se=et.map(qe=>{var St,nt,Nt;return{Numero:ll(qe.id,((St=qe.locations)==null?void 0:St.airport_code)??"XX"),ID:qe.id,"Ref. Pagamento":qe.external_payment_ref||"",Unidade:((nt=qe.locations)==null?void 0:nt.airport_code)||"","Tipo de vaga":((Nt=qe.locations)==null?void 0:Nt.name)||"",Nome:qe.customer_name||"",Email:qe.customer_email||"",Telefone:qe.customer_phone||"",Placa:qe.vehicle_plate?String(qe.vehicle_plate).toUpperCase():"",Status:qe.status,Origem:qe.source||"direto",Entrada:qe.start_date,Saida:qe.end_date,Total:Number(qe.total_amount||0),Cupom:qe.coupon_code?String(qe.coupon_code).toUpperCase():"",Desconto:Number(qe.discount_amount||0),"Forma de pagamento":fl(qe,o),"Criado em":qe.created_at?new Date(qe.created_at):""}}),Ye=Cs.json_to_sheet(se,{cellDates:!0}),st=Cs.decode_range(Ye["!ref"]||"A1");for(let qe=1;qe<=st.e.r;qe++){const St=Ye[Cs.encode_cell({r:qe,c:13})];St&&(St.z="R$ #,##0.00;-R$ #,##0.00");const nt=Ye[Cs.encode_cell({r:qe,c:15})];nt&&(nt.z="R$ #,##0.00;-R$ #,##0.00");const Nt=Ye[Cs.encode_cell({r:qe,c:17})];Nt&&Nt.t==="d"&&(Nt.z="dd/mm/yyyy hh:mm")}Ye["!cols"]=[{wch:16},{wch:38},{wch:18},{wch:10},{wch:22},{wch:26},{wch:28},{wch:16},{wch:12},{wch:14},{wch:12},{wch:12},{wch:14},{wch:14},{wch:14},{wch:18},{wch:18}];const lt=Cs.book_new();Cs.book_append_sheet(lt,Ye,"Reservas"),IS(lt,`reservas-${new Date().toISOString().slice(0,10)}.xlsx`,{bookType:"xlsx",cellStyles:!0})},je=async(se,Ye)=>{const{error:st}=await Ji.from("bookings").update({status:Ye}).eq("id",se);
302if(st)return bi.error(st.message);bi.success("Status atualizado."),ie(null),Ne()},Tt=async()=>{if(!j)return;me(!0);const{data:se,error:Ye}=await Ji.functions.invoke("send-confirmation-email",{body:{bookingId:j.id,force:!0}});if(me(!1),Ye||se!=null&&se.error)return bi.error((se==null?void 0:se.detail)||(se==null?void 0:se.error)||(Ye==null?void 0:Ye.message)||"Falha ao enviar e-mail.");bi.success(`E-mail de confirmação reenviado para ${j.customer_email}.`)},Pt=async()=>{if(!j)return;Ie(!0);const{data:se,error:Ye}=await Ji.functions.invoke("send-whatsapp",{body:{bookingId:j.id,force:!0}});if(Ie(!1),Ye||se!=null&&se.error)return bi.error((se==null?void 0:se.detail)||(se==null?void 0:se.error)||(Ye==null?void 0:Ye.message)||"Falha ao enviar WhatsApp.");bi.success(`WhatsApp de confirmação reenviado para ${Nh(j.customer_phone)}.`)},vt=()=>{L(""),te(""),Ge(!0)},ct=tg({reason:rg().trim().min(5,"Descreva o motivo (mínimo 5 caracteres).").max(500,"Motivo deve ter até 500 caracteres.")}),Ct=async()=>{var qe;if(!j)return;const se=ct.safeParse({reason:q});if(!se.success){bi.error(((qe=se.error.issues[0])==null?void 0:qe.message)??"Motivo inválido.");return}if(he&&Be.trim().toUpperCase()!=="CANCELAR"){bi.error('Digite "CANCELAR" para confirmar.');return}const{data:Ye,error:st}=await Ji.functions.invoke("mp-refund-payment",{body:{bookingId:j.id,reason:se.data.reason}});if(st||Ye!=null&&Ye.error){const St=Ye==null?void 0:Ye.error,nt=St==="already_cancelled"?"Esta reserva já está cancelada.":St==="mp_refund_failed"?"Mercado Pago recusou o estorno. Tente novamente em alguns minutos.":St==="not_refundable"?"Reserva não está em estado que permita estorno.":(st==null?void 0:st.message)??"Não foi possível cancelar.";return bi.error(nt)}const lt=Ye==null?void 0:Ye.refund;(lt==null?void 0:lt.percent)>0?bi.success(`Reserva cancelada. Estorno de ${lt.percent}% (${fi(Number(lt.amount))}) enviado ao Mercado Pago.`,{description:"Pix cai em minutos. Cartão pode levar até 2 faturas."}):bi.success("Reserva cancelada. Sem reembolso conforme política."),Ge(!1),ie(null),Ne()};return oe.jsxs("div",{className:"space-y-4",children:[oe.jsxs("div",{className:"flex items-center justify-between",children:[oe.jsx("h1",{className:"text-2xl font-bold",children:"Reservas"}),oe.jsxs(Na,{onClick:pt,variant:"outline",size:"sm",children:[oe.jsx(_g,{className:"h-4 w-4 mr-2"})," Exportar Excel"]})]}),oe.jsxs("div",{className:"space-y-2",children:[oe.jsxs("div",{className:"flex flex-wrap gap-2",children:[oe.jsx(bo,{placeholder:"Buscar nº, nome, e-mail, telefone, placa...",value:g,onChange:se=>p(se.target.value),className:"max-w-sm"}),oe.jsxs(zf,{value:u,onValueChange:_,children:[oe.jsx(Wf,{className:"w-40",children:oe.jsx(Hf,{})}),oe.jsxs(qf,{children:[oe.jsx(An,{value:"all",children:"Todos status"}),oe.jsx(An,{value:"pending",children:"Pendente"}),oe.jsx(An,{value:"confirmed",children:"Confirmada"}),oe.jsx(An,{value:"cancelled",children:"Cancelada"})]})]}),!i&&oe.jsxs(zf,{value:w,onValueChange:y,children:[oe.jsx(Wf,{className:"w-44",children:oe.jsx(Hf,{})}),oe.jsxs(qf,{children:[oe.jsx(An,{value:"all",children:"Todas origens"}),oe.jsx(An,{value:"xpark",children:"Xpark"}),oe.jsx(An,{value:"multipark",children:"Multipark"}),oe.jsx(An,{value:"aerovalet",children:"Aerovalet"}),oe.jsx(An,{value:"valetina",children:"Valetina"}),oe.jsx(An,{value:"whatsapp-bandi",children:"Bandy (WhatsApp)"}),oe.jsx(An,{value:"whatsapp-bandi-multipark",children:"Bandy / Multipark"}),oe.jsx(An,{value:"direct",children:"Direto (sem tag)"})]})]}),oe.jsxs(zf,{value:v,onValueChange:E,children:[oe.jsx(Wf,{className:"w-40",children:oe.jsx(Hf,{placeholder:"Unidade"})}),oe.jsxs(qf,{children:[oe.jsx(An,{value:"all",children:"Todas unidades"}),tt.map(se=>oe.jsx(An,{value:se,children:se},se))]})]}),oe.jsxs(zf,{value:S,onValueChange:R,children:[oe.jsx(Wf,{className:"w-44",children:oe.jsx(Hf,{placeholder:"Tipo de vaga"})}),oe.jsxs(qf,{children:[oe.jsx(An,{value:"all",children:"Todos tipos"}),ft.map(se=>oe.jsx(An,{value:se,children:se.charAt(0).toUpperCase()+se.slice(1)},se))]})]})]}),oe.jsxs("div",{className:"flex flex-wrap items-end gap-2 text-xs",children:[oe.jsxs("div",{className:"flex flex-col",children:[oe.jsx("span",{className:"text-muted-foreground mb-1",children:"Criada de"}),oe.jsx(bo,{type:"date",value:re,onChange:se=>fe(se.target.value),className:"w-40"})]}),oe.jsxs("div",{className:"flex flex-col",children:[oe.jsx("span",{className:"text-muted-foreground mb-1",children:"Criada até"}),oe.jsx(bo,{type:"date",value:O,onChange:se=>B(se.target.value),className:"w-40"})]}),oe.jsxs("div",{className:"flex flex-col",children:[oe.jsx("span",{className:"text-muted-foreground mb-1",children:"Estadia de"}),oe.jsx(bo,{type:"date",value:T,onChange:se=>Q(se.target.value),className:"w-40"})]}),oe.jsxs("div",{className:"flex flex-col",children:[oe.jsx("span",{className:"text-muted-foreground mb-1",children:"Estadia até"}),oe.jsx(bo,{type:"date",value:A,onChange:se=>P(se.target.value),className:"w-40"})]}),oe.jsx(Na,{variant:"ghost",size:"sm",onClick:Ue,children:"Limpar filtros"})]})]}),!l&&oe.jsxs("div",{className:"grid grid-cols-2 md:grid-cols-6 gap-2",children:[oe.jsx(Fs,{children:oe.jsxs(Ls,{className:"p-3 flex flex-col justify-between h-full min-h-[86px]",children:[oe.jsx("div",{className:"text-xs text-muted-foreground",children:"Reservas"}),oe.jsx("div",{className:"text-xl font-bold leading-tight",children:ke.count}),oe.jsx("div",{className:"text-xs text-muted-foreground",children:"no filtro atual"})]})}),oe.jsx(Fs,{children:oe.jsxs(Ls,{className:"p-3 flex flex-col justify-between h-full min-h-[86px]",children:[oe.jsx("div",{className:"text-xs text-muted-foreground",children:"Receita filtrada"}),oe.jsx("div",{className:"text-xl font-bold leading-tight",children:fi(ke.total)}),oe.jsx("div",{className:"text-xs text-muted-foreground",children:"soma de todos status"})]})}),oe.jsx(Fs,{children:oe.jsxs(Ls,{className:"p-3 flex flex-col justify-between h-full min-h-[86px]",children:[oe.jsx("div",{className:"text-xs text-muted-foreground",children:"Confirmadas"}),oe.jsx("div",{className:"text-xl font-bold leading-tight text-green-700",children:ke.confirmed}),oe.jsx("div",{className:"text-xs text-muted-foreground",children:fi(ke.confirmedAmt)})]})}),oe.jsx(Fs,{children:oe.jsxs(Ls,{className:"p-3 flex flex-col justify-between h-full min-h-[86px]",children:[oe.jsx("div",{className:"text-xs text-muted-foreground",children:"Pendentes"}),oe.jsx("div",{className:"text-xl font-bold leading-tight text-yellow-700",children:ke.pending}),oe.jsx("div",{className:"text-xs text-muted-foreground",children:fi(ke.pendingAmt)})]})}),oe.jsx(Fs,{children:oe.jsxs(Ls,{className:"p-3 flex flex-col justify-between h-full min-h-[86px]",children:[oe.jsx("div",{className:"text-xs text-muted-foreground",children:"Canceladas"}),oe.jsx("div",{className:"text-xl font-bold leading-tight text-red-700",children:ke.cancelled}),oe.jsx("div",{className:"text-xs text-muted-foreground",children:fi(ke.cancelledAmt)})]})}),oe.jsx(Fs,{children:oe.jsxs(Ls,{className:"p-3 flex flex-col justify-between h-full min-h-[86px]",children:[oe.jsx("div",{className:"text-xs text-muted-foreground",children:"Seguros vendidos"}),oe.jsx("div",{className:"text-xl font-bold leading-tight text-emerald-700",children:ke.insuranceCount}),oe.jsx("div",{className:"text-xs text-muted-foreground",children:fi(ke.insuranceAmt)})]})})]}),oe.jsx(Fs,{children:oe.jsxs(Ls,{className:"p-0",children:[l?oe.jsx("div",{className:"flex justify-center py-10",children:oe.jsx(Uc,{className:"h-5 w-5 animate-spin"})}):oe.jsx("div",{className:"overflow-x-auto",children:oe.jsxs("table",{className:"w-full text-sm table-fixed min-w-[1200px]",children:[oe.jsx("thead",{className:"bg-muted/50 text-left",children:oe.jsxs("tr",{children:[oe.jsx("th",{className:"px-3 py-2 w-[10.5rem]",children:"Nº"}),oe.jsx("th",{className:"px-3 py-2 w-[6.5rem]",children:"Criada em"}),oe.jsx("th",{className:"px-3 py-2 min-w-[11rem]",children:"Cliente"}),oe.jsx("th",{className:"px-3 py-2 w-[5.5rem]",children:"Placa"}),oe.jsx("th",{className:"px-3 py-2 w-[6rem]",children:"Unidade"}),oe.jsx("th",{className:"px-3 py-2 w-[5.5rem]",children:"Origem"}),oe.jsx("th",{className:"px-4 py-2 w-[11rem]",children:"Período"}),oe.jsx("th",{className:"px-3 py-2 w-[6rem]",children:"Total"}),oe.jsx("th",{className:"px-3 py-2 w-[6.5rem]",children:"Cupom"}),oe.jsx("th",{className:"px-3 py-2 w-[5.5rem]",children:"Seguro"}),oe.jsx("th",{className:"px-3 py-2 w-[5.5rem]",children:"Pgto"}),oe.jsx("th",{className:"px-3 py-2 w-[6rem]",children:"Status"}),oe.jsx("th",{className:"px-3 py-2 w-[4.5rem] text-right pr-4",children:"Ações"})]})}),oe.jsxs("tbody",{children:[it.map(se=>{var Ye,st,lt;return oe.jsxs("tr",{className:"border-t hover:bg-muted/30",children:[oe.jsx("td",{className:"px-3 py-2 align-top font-mono text-[11px] whitespace-nowrap",children:ll(se.id,((Ye=se.locations)==null?void 0:Ye.airport_code)??"XX")}),oe.jsxs("td",{className:"px-3 py-2 align-top text-[11px] whitespace-nowrap",children:[oe.jsx("div",{children:I0(se.created_at)}),oe.jsx("div",{className:"text-muted-foreground",children:new Date(se.created_at).toLocaleTimeString("pt-BR",{hour:"2-digit",minute:"2-digit"})})]}),oe.jsxs("td",{className:"px-3 py-2 align-top min-w-0",children:[oe.jsx("div",{className:"font-medium text-xs break-words",children:se.customer_name||"—"}),oe.jsx("div",{className:"text-[11px] text-muted-foreground break-words",children:se.customer_email}),oe.jsx("div",{className:"text-[11px] text-muted-foreground",children:Nh(se.customer_phone)})]}),oe.jsx("td",{className:"px-3 py-2 align-top text-[11px] whitespace-nowrap",children:se.vehicle_plate?oe.jsx("span",{className:"font-mono font-medium uppercase",children:se.vehicle_plate}):oe.jsx("span",{className:"text-muted-foreground",children:"—"})}),oe.jsxs("td",{className:"px-3 py-2 align-top text-[11px]",children:[oe.jsx("div",{className:"font-medium",children:((st=se.locations)==null?void 0:st.airport_code)||"—"}),oe.jsx("div",{className:"text-muted-foreground truncate",children:((lt=se.locations)==null?void 0:lt.name)||""})]}),oe.jsx("td",{className:"px-3 py-2 align-top",children:oe.jsx(Fa,{className:`${kd[se.source||""]||""} text-[10px] px-1.5 py-0`,variant:"outline",children:Cd(se.source)})}),oe.jsxs("td",{className:"px-4 py-2 align-top text-[11px] whitespace-nowrap",children:[oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Entrada:"})," ",se.start_at?na(se.start_at):I0(se.start_date)]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Saída:"})," ",se.end_at?na(se.end_at):I0(se.end_date)]})]}),oe.jsx("td",{className:"px-3 py-2 align-top text-xs",children:fi(Number(se.total_amount))}),oe.jsx("td",{className:"px-3 py-2 align-top text-[11px]",children:se.coupon_code?oe.jsxs(oe.Fragment,{children:[oe.jsx("div",{className:"font-mono font-medium uppercase text-violet-700",children:se.coupon_code}),oe.jsxs("div",{className:"text-muted-foreground",children:["- ",fi(Number(se.discount_amount||0))]})]}):oe.jsx("span",{className:"text-muted-foreground",children:"—"})}),oe.jsx("td",{className:"px-3 py-2 align-top text-[11px]",children:se.has_insurance?oe.jsx("span",{className:"font-medium text-emerald-700",children:fi($e(se))}):oe.jsx("span",{className:"text-muted-foreground",children:fi(0)})}),oe.jsx("td",{className:"px-3 py-2 align-top text-[11px]",children:fl(se,o)}),oe.jsxs("td",{className:"px-3 py-2 align-top",children:[oe.jsx(Fa,{className:`${GS[se.status]||""} text-[10px] px-1.5 py-0`,variant:"outline",children:se.status}),se.status==="cancelled"&&/chargeback/i.test(se.cancellation_reason||"")&&oe.jsx(Fa,{variant:"outline",className:"ml-1 text-[10px] px-1.5 py-0 bg-red-500/10 text-red-700 border-red-300",children:"Chargeback"}),se.status==="cancelled"&&/estorno pelo mercado pago/i.test(se.cancellation_reason||"")&&oe.jsx(Fa,{variant:"outline",className:"ml-1 text-[10px] px-1.5 py-0 bg-amber-500/10 text-amber-700 border-amber-300",children:"Estornado MP"})]}),oe.jsx("td",{className:"px-3 py-2 align-top text-right pr-4",children:oe.jsx(Na,{size:"sm",variant:"ghost",onClick:()=>ie(se),children:"Ver"})})]},se.id)}),et.length===0&&oe.jsx("tr",{children:oe.jsx("td",{colSpan:13,className:"p-6 text-center text-muted-foreground",children:"Nenhuma reserva."})})]})]})}),!l&&et.length>0&&oe.jsx(vg,{total:et.length,page:de,pageSize:X,onPageChange:k,onPageSizeChange:z})]})}),oe.jsx(ng,{open:!!j,onOpenChange:se=>!se&&ie(null),children:oe.jsxs(ig,{children:[oe.jsx(ag,{children:oe.jsx(sg,{children:"Detalhe da reserva"})}),j&&oe.jsxs("div",{className:"space-y-3 text-sm",children:[oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"ID:"})," ",j.id]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Criada em:"})," ",na(j.created_at)]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Cliente:"}
302)," ",j.customer_name," (",j.customer_email,")"]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Telefone:"})," ",Nh(j.customer_phone)]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Veículo:"})," ",j.vehicle_plate||j.vehicle_model?`${j.vehicle_plate?j.vehicle_plate.toUpperCase():"Sem placa"}${j.vehicle_model?` · ${j.vehicle_model}`:""}`:"Não informado"]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Origem:"})," ",oe.jsx(Fa,{variant:"outline",className:kd[j.source||""]||"",children:Cd(j.source)})]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Período:"})," ",Id(j.start_date,j.end_date)]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Entrada/Saída:"})," ",na(j.start_at)," / ",na(j.end_at)]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Total:"})," ",fi(Number(j.total_amount))]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Cupom:"})," ",j.coupon_code?`${String(j.coupon_code).toUpperCase()} (- ${fi(Number(j.discount_amount||0))})`:"Não utilizado"]}),j.has_insurance&&oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Seguro:"})," ",oe.jsx(Fa,{variant:"outline",className:"bg-emerald-500/10 text-emerald-700",children:"Cancelamento e Atraso (+ R$ 25)"})]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Forma de pagamento:"})," ",fl(j,o)]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Status atual:"})," ",oe.jsx(Fa,{variant:"outline",children:j.status})]}),oe.jsxs("div",{children:[oe.jsx("span",{className:"text-muted-foreground",children:"Pagamento ref:"})," ",j.external_payment_ref||"—"]}),j.status==="cancelled"&&(j.cancellation_reason||j.cancelled_at)&&oe.jsxs("div",{className:"rounded-md border border-destructive/30 bg-destructive/5 p-3 space-y-1",children:[oe.jsx("div",{className:"text-xs font-medium text-destructive",children:"Cancelamento"}),j.cancellation_reason&&oe.jsxs("div",{className:"text-sm",children:[oe.jsx("span",{className:"text-muted-foreground",children:"Motivo:"})," ",j.cancellation_reason]}),oe.jsxs("div",{className:"text-xs text-muted-foreground",children:[ae?`Por ${ae}`:"",j.cancelled_at?` em ${na(j.cancelled_at)}`:""]})]}),r&&oe.jsxs("div",{className:"flex gap-2 pt-2",children:[j.status!=="confirmed"&&oe.jsx(Na,{size:"sm",onClick:()=>je(j.id,"confirmed"),children:"Confirmar"}),j.status!=="cancelled"&&oe.jsx(Na,{size:"sm",variant:"destructive",onClick:vt,children:"Cancelar"}),j.status!=="pending"&&oe.jsx(Na,{size:"sm",variant:"outline",onClick:()=>je(j.id,"pending"),children:"Marcar pendente"})]}),r&&oe.jsxs("div",{className:"pt-2 border-t",children:[oe.jsx("div",{className:"text-xs font-medium text-muted-foreground mb-2",children:"Reenviar confirmação"}),oe.jsxs("div",{className:"flex flex-wrap gap-2",children:[oe.jsxs(Na,{size:"sm",variant:"outline",onClick:Tt,disabled:G||!j.customer_email,title:j.customer_email?void 0:"Cliente sem e-mail",children:[G?oe.jsx(Uc,{className:"h-4 w-4 mr-2 animate-spin"}):oe.jsx(og,{className:"h-4 w-4 mr-2"}),"Reenviar e-mail"]}),oe.jsxs(Na,{size:"sm",variant:"outline",onClick:Pt,disabled:Ce||!j.customer_phone,title:j.customer_phone?void 0:"Cliente sem WhatsApp",children:[Ce?oe.jsx(Uc,{className:"h-4 w-4 mr-2 animate-spin"}):oe.jsx(wg,{className:"h-4 w-4 mr-2"}),"Reenviar WhatsApp"]}),oe.jsxs(Na,{size:"sm",variant:"outline",onClick:()=>L4(j,{paymentMethodLabel:fl(j,o)}),children:[oe.jsx(yg,{className:"h-4 w-4 mr-2"}),"Baixar PDF"]})]})]}),xe.length>0&&oe.jsxs("div",{className:"pt-3 border-t",children:[oe.jsx("div",{className:"text-xs font-medium text-muted-foreground mb-2",children:"Histórico de status"}),oe.jsx("ul",{className:"space-y-1 text-xs",children:xe.map(se=>oe.jsxs("li",{className:"flex justify-between gap-2",children:[oe.jsxs("span",{children:[oe.jsx(Fa,{variant:"outline",className:"mr-1",children:se.from}),"→",oe.jsx(Fa,{variant:"outline",className:"ml-1",children:se.to}),oe.jsxs("span",{className:"ml-2 text-muted-foreground",children:["por ",se.actor]})]}),oe.jsx("span",{className:"text-muted-foreground whitespace-nowrap",children:na(se.created_at)})]},se.id))})]})]})]})}),oe.jsx(lg,{open:Le,onOpenChange:Ge,children:oe.jsxs(cg,{children:[oe.jsxs(hg,{children:[oe.jsx(ug,{children:he?"Atenção: reserva já paga":"Cancelar reserva"}),oe.jsx(dg,{children:he?oe.jsxs("span",{className:"text-destructive",children:["O cliente já pagou ",oe.jsx("strong",{children:fi(he.amount)})," por esta reserva. Cancelar agora pode causar transtorno e exigir estorno manual. Para confirmar, digite ",oe.jsx("strong",{children:"CANCELAR"})," abaixo."]}):"Tem certeza que deseja cancelar esta reserva? O cliente não receberá mais o serviço."})]}),oe.jsxs("div",{className:"space-y-2",children:[oe.jsx("label",{className:"text-xs font-medium text-muted-foreground",children:"Motivo do cancelamento (obrigatório)"}),oe.jsx(fg,{autoFocus:!he,placeholder:"Ex: cliente desistiu da viagem, voo cancelado, duplicidade...",value:q,onChange:se=>te(se.target.value),maxLength:500,rows:3}),oe.jsxs("div",{className:"text-[10px] text-muted-foreground text-right",children:[q.trim().length,"/500"]})]}
302),he&&oe.jsx(bo,{placeholder:"Digite CANCELAR",value:Be,onChange:se=>L(se.target.value)}),oe.jsxs(pg,{children:[oe.jsx(mg,{children:"Voltar"}),oe.jsx(gg,{onClick:Ct,disabled:q.trim().length<5||!!he&&Be.trim().toUpperCase()!=="CANCELAR",className:"bg-destructive text-destructive-foreground hover:bg-destructive/90",children:"Cancelar reserva"})]})]})})]})}const oE=Object.freeze(Object.defineProperty({__proto__:null,default:XS},Symbol.toStringTag,{value:"Module"}));export{oE as A,lr as _};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.