PageSourceSearch

https://swpn.gov.pl/build/assets/footer-ca4c2b82.js

js swpn.gov.pl collected 2026-09-25 05:57:34 UTC 414,191 bytes, 145 lines download raw bytes

vendor: 5,514 bytes, line 1
1var p1=Object.defineProperty;var g1=(t,n,e)=>n in t?p1(t,n,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[n]=e;var Ne=(t,n,e)=>(g1(t,typeof n!="symbol"?n+"":n,e),e);import{_ as cl}from"./preload-helper-f61836a9.js";function Le(t){"@babel/helpers - typeof";return Le=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(n){return typeof n}:function(n){return n&&typeof Symbol=="function"&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Le(t)}var hr=Uint8Array,Un=Uint16Array,eh=Int32Array,nh=new hr([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]),rh=new hr([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]),Jh=new hr([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),xf=function(t,n){for(var e=new Un(31),r=0;r<31;++r)e[r]=n+=1<<t[r-1];for(var i=new eh(e[30]),r=1;r<30;++r)for(var o=e[r];o<e[r+1];++o)i[o]=o-e[r]<<5|r;return{b:e,r:i}},Af=xf(nh,2),m1=Af.b,Ml=Af.r;m1[28]=258,Ml[258]=28;var v1=xf(rh,0),Xh=v1.r,Dl=new Un(32768);for(var Oe=0;Oe<32768;++Oe){var ui=(Oe&43690)>>1|(Oe&21845)<<1;ui=(ui&52428)>>2|(ui&13107)<<2,ui=(ui&61680)>>4|(ui&3855)<<4,Dl[Oe]=((ui&65280)>>8|(ui&255)<<8)>>1}var oo=function(t,n,e){for(var r=t.length,i=0,o=new Un(n);i<r;++i)t[i]&&++o[t[i]-1];var c=new Un(n);for(i=1;i<n;++i)c[i]=c[i-1]+o[i-1]<<1;var l;if(e){l=new Un(1<<n);var f=15-n;for(i=0;i<r;++i)if(t[i])for(var d=i<<4|t[i],g=n-t[i],x=c[t[i]-1]++<<g,N=x|(1<<g)-1;x<=N;++x)l[Dl[x]>>f]=d}else for(l=new Un(r),i=0;i<r;++i)t[i]&&(l[i]=Dl[c[t[i]-1]++]>>15-t[i]);return l},Vi=new hr(288);for(var Oe=0;Oe<144;++Oe)Vi[Oe]=8;for(var Oe=144;Oe<256;++Oe)Vi[Oe]=9;for(var Oe=256;Oe<280;++Oe)Vi[Oe]=7;for(var Oe=280;Oe<288;++Oe)Vi[Oe]=8;var xs=new hr(32);for(var Oe=0;Oe<32;++Oe)xs[Oe]=5;var b1=oo(Vi,9,0),w1=oo(xs,5,0),Nf=function(t){return(t+7)/8|0},_1=function(t,n,e){return(n==null||n<0)&&(n=0),(e==null||e>t.length)&&(e=t.length),new hr(t.subarray(n,e))},Gr=function(t,n,e){e<<=n&7;var r=n/8|0;t[r]|=e,t[r+1]|=e>>8},eo=function(t,n,e){e<<=n&7;var r=n/8|0;t[r]|=e,t[r+1]|=e>>8,t[r+2]|=e>>16},fl=function(t,n){for(var e=[],r=0;r<t.length;++r)t[r]&&e.push({s:r,f:t[r]});var i=e.length,o=e.slice();if(!i)return{t:Sf,l:0};if(i==1){var c=new hr(e[0].s+1);return c[e[0].s]=1,{t:c,l:1}}e.sort(function(it,mt){return it.f-mt.f}),e.push({s:-1,f:25001});var l=e[0],f=e[1],d=0,g=1,x=2;for(e[0]={s:-1,f:l.f+f.f,l,r:f};g!=i-1;)l=e[e[d].f<e[x].f?d++:x++],f=e[d!=g&&e[d].f<e[x].f?d++:x++],e[g++]={s:-1,f:l.f+f.f,l,r:f};for(var N=o[0].s,r=1;r<i;++r)o[r].s>N&&(N=o[r].s);var p=new Un(N+1),T=ql(e[g-1],p,0);if(T>n){var r=0,E=0,j=T-n,k=1<<j;for(o.sort(function(mt,ut){return p[ut.s]-p[mt.s]||mt.f-ut.f});r<i;++r){var V=o[r].s;if(p[V]>n)E+=k-(1<<T-p[V]),p[V]=n;else break}for(E>>=j;E>0;){var G=o[r].s;p[G]<n?E-=1<<n-p[G]++-1:++r}for(;r>=0&&E;--r){var D=o[r].s;p[D]==n&&(--p[D],++E)}T=n}return{t:new hr(p),l:T}},ql=function(t,n,e){return t.s==-1?Math.max(ql(t.l,n,e+1),ql(t.r,n,e+1)):n[t.s]=e},Qh=function(t){for(var n=t.length;n&&!t[--n];);for(var e=new Un(++n),r=0,i=t[0],o=1,c=function(f){e[r++]=f},l=1;l<=n;++l)if(t[l]==i&&l!=n)++o;else{if(!i&&o>2){for(;o>138;o-=138)c(32754);o>2&&(c(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(c(i),--o;o>6;o-=6)c(8304);o>2&&(c(o-3<<5|8208),o=0)}for(;o--;)c(i);o=1,i=t[l]}return{c:e.subarray(0,r),n}},no=function(t,n){for(var e=0,r=0;r<n.length;++r)e+=t[r]*n[r];return e},Lf=function(t,n,e){var r=e.length,i=Nf(n+2);t[i]=r&255,t[i+1]=r>>8,t[i+2]=t[i]^255,t[i+3]=t[i+1]^255;for(var o=0;o<r;++o)t[i+o+4]=e[o];return(i+4+r)*8},tc=function(t,n,e,r,i,o,c,l,f,d,g){Gr(n,g++,e),++i[256];for(var x=fl(i,15),N=x.t,p=x.l,T=fl(o,15),E=T.t,j=T.l,k=Qh(N),V=k.c,G=k.n,D=Qh(E),it=D.c,mt=D.n,ut=new Un(19),$=0;$<V.length;++$)++ut[V[$]&31];for(var $=0;$<it.length;++$)++ut[it[$]&31];for(var B=fl(ut,7),tt=B.t,L=B.l,F=19;F>4&&!tt[Jh[F-1]];--F);var z=d+5<<3,U=no(i,Vi)+no(o,xs)+c,rt=no(i,N)+no(o,E)+c+14+3*F+no(ut,tt)+2*ut[16]+3*ut[17]+7*ut[18];if(f>=0&&z<=U&&z<=rt)return Lf(n,g,t.subarray(f,f+d));var st,ht,nt,ft;if(Gr(n,g,1+(rt<U)),g+=2,rt<U){st=oo(N,p,0),ht=N,nt=oo(E,j,0),ft=E;var At=oo(tt,L,0);Gr(n,g,G-257),Gr(n,g+5,mt-1),Gr(n,g+10,F-4),g+=14;for(var $=0;$<F;++$)Gr(n,g+3*$,tt[Jh[$]]);g+=3*F;for(var wt=[V,it],y=0;y<2;++y)for(var R=wt[y],$=0;$<R.length;++$){var M=R[$]&31;Gr(n,g,At[M]),g+=tt[M],M>15&&(Gr(n,g,R[$]>>5&127),g+=R[$]>>12)}}else st=b1,ht=Vi,nt=w1,ft=xs;for(var $=0;$<l;++$){var H=r[$];if(H>255){var M=H>>18&31;eo(n,g,st[M+257]),g+=ht[M+257],M>7&&(Gr(n,g,H>>23&31),g+=nh[M]);var Y=H&31;eo(n,g,nt[Y]),g+=ft[Y],Y>3&&(eo(n,g,H>>5&8191),g+=rh[Y])}else eo(n,g,st[H]),g+=ht[H]}return eo(n,g,st[256]),g+ht[256]},y1=new eh([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Sf=new hr(0),x1=function(t,n,e,r,i,o){var c=o.z||t.length,l=new hr(r+c+5*(1+Math.ceil(c/7e3))+i),f=l.subarray(r,l.length-i),d=o.l,g=(o.r||0)&7;if(n){g&&(f[0]=o.r>>3);for(var x=y1[n-1],N=x>>13,p=x&8191,T=(1<<e)-1,E=o.p||new Un(32768),j=o.h||new Un(T+1),k=Math.ceil(e/3),V=2*k,G=function(Dt){return(t[Dt]^t[Dt+1]<<k^t[Dt+2]<<V)&T},D=new eh(25e3),it=new Un(288),mt=new Un(32),ut=0,$=0,B=o.i||0,tt=0,L=o.w||0,F=0;B+2<c;++B){var z=G(B),U=B&32767,rt=j[z];if(E[U]=rt,j[z]=U,L<=B){var st=c-B;if((ut>7e3||tt>24576)&&(st>423||!d)){g=tc(t,f,0,D,it,mt,$,tt,F,B-F,g),tt=ut=$=0,F=B;for(var ht=0;ht<286;++ht)it[ht]=0;for(var ht=0;ht<30;++ht)mt[ht]=0}var nt=2,ft=0,At=p,wt=U-rt&32767;if(st>2&&z==G(B-wt))for(var y=Math.min(N,st)-1,R=Math.min(32767,B),M=Math.min(258,st);wt<=R&&--At&&U!=rt;){if(t[B+nt]==t[B+nt-wt]){for(var H=0;H<M&&t[B+H]==t[B+H-wt];++H);if(H>
1nt){if(nt=H,ft=wt,H>y)break;for(var Y=Math.min(wt,H-2),X=0,ht=0;ht<Y;++ht){var at=B-wt+ht&32767,ot=E[at],gt=at-ot&32767;gt>X&&(X=gt,rt=at)}}}U=rt,rt=E[U],wt+=U-rt&32767}if(ft){D[tt++]=268435456|Ml[nt]<<18|Xh[ft];var xt=Ml[nt]&31,kt=Xh[ft]&31;$+=nh[xt]+rh[kt],++it[257+xt],++mt[kt],L=B+nt,++ut}else D[tt++]=t[B],++it[t[B]]}}for(B=Math.max(B,L);B<c;++B)D[tt++]=t[B],++it[t[B]];g=tc(t,f,d,D,it,mt,$,tt,F,B-F,g),d||(o.r=g&7|f[g/8|0]<<3,g-=7,o.h=j,o.p=E,o.i=B,o.w=L)}else{for(var B=o.w||0;B<c+d;B+=65535){var St=B+65535;St>=c&&(f[g/8|0]=d,St=c),g=Lf(f,g+1,t.subarray(B,St))}o.i=c}return _1(l,0,r+Nf(g)+i)},kf=function(){var t=1,n=0;return{p:function(e){for(var r=t,i=n,o=e.length|0,c=0;c!=o;){for(var l=Math.min(c+2655,o);c<l;++c)i+=r+=e[c];r=(r&65535)+15*(r>>16),i=(i&65535)+15*(i>>16)}t=r,n=i},d:function(){return t%=65521,n%=65521,(t&255)<<24|(t&65280)<<8|(n&255)<<8|n>>8}}},A1=function(t,n,e,r,i){if(!i&&(i={l:1},n.dictionary)){var o=n.dictionary.subarray(-32768),c=new hr(o.length+t.length);c.set(o),c.set(t,o.length),t=c,i.w=o.length}return x1(t,n.level==null?6:n.level,n.mem==null?i.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+n.mem,e,r,i)},Pf=function(t,n,e){for(;e;++n)t[n]=e,e>>>=8},N1=function(t,n){var e=n.level,r=e==0?0:e<6?1:e==9?3:2;if(t[0]=120,t[1]=r<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=kf();i.p(n.dictionary),Pf(t,2,i.d())}};function Ul(t,n){n||(n={});var e=kf();e.p(t);var r=A1(t,n,n.dictionary?6:2,4);return N1(r,n),Pf(r,r.length-4,e.d()),r}var L1=typeof TextDecoder<"u"&&new TextDecoder,S1=0;try{L1.decode(Sf,{stream:!0}),S1=1}catch{}function k1(t){if(Array.isArray(t))return t}function P1(t,n){var e=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e!=null){var r,i,o,c,l=[],f=!0,d=!1;try{if(o=(e=e.call(t)).next,n===0){if(Object(e)!==e)return;f=!1}else for(;!(f=(r=o.call(e)).done)&&(l.push(r.value),l.length!==n);f=!0);}catch(g){d=!0,i=g}finally{try{if(!f&&e.return!=null&&(c=e.return(),Object(c)!==c))return}finally{if(d)throw i}}return l}}function ec(t,n){(n==null||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function E1(t,n){if(t){if(typeof t=="string")return ec(t,n);var e={}.toString.call(t).slice(8,-1);return e==="Object"&&t.constructor&&(e=t.constructor.name),e==="Map"||e==="Set"?Array.from(t):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?ec(t,n):void 0}}function I1(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function nc(t,n){return k1(t)||P1(t,n)||E1(t,n)||I1()}function rc(t,n="utf8"){return new TextDecoder(n).decode(t)}const C1=new TextEncoder;function F1(t){return C1.encode(t)}const O1=1024*8,T1=(()=>{const t=new Uint8Array(4),n=new Uint32Array(t.buffer);return!((n[0]=1)&t[0])})(),ul={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 ih{constructor(n=O1,e={}){Ne(this,"buffer");Ne(this,"byteLength");Ne(this,"byteOffset");Ne(this,"length");Ne(this,"offset");Ne(this,"lastWrittenByte");Ne(this,"littleEndian");Ne(this,"_data");Ne(this,"_mark");Ne(this,"_marks");let r=!1;typeof n=="number"?n=new ArrayBuffer(n):(r=!0,this.lastWrittenByte=n.byteLength);const i=e.offset?e.offset>>>0:0,o=n.byteLength-i;let c=i;(ArrayBuffer.isView(n)||n instanceof ih)&&(n.byteLength!==n.buffer.byteLength&&(c=n.byteOffset+i),n=n.buffer),r?this.lastWrittenByte=o:this.lastWrittenByte=0,this.buffer=n,this.length=o,this.byteLength=o,this.byteOffset=c,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,c,o),this._mark=0,this._marks=[]}available(n=1){return this.offset+n<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(n=1){return this.offset+=n,this}back(n=1){return this.offset-=n,this}seek(n){return this.offset=n,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 n=this._marks.pop();if(n===void 0)throw new Error("Mark stack empty");return this.seek(n),this}rewind(){return this.offset=0,this}ensureAvailable(n=1){if(!this.available(n)){const r=(this.offset+n)*2,i=new Uint8Array(r);i.set(new Uint8Array(this.buffer)),this.buffer=i.buffer,this.length=r,this.byteLength=r,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(n=1){return this.readArray(n,"uint8")}readArray(n,e){const r=ul[e].BYTES_PER_ELEMENT*n,i=this.byteOffset+this.offset,o=this.buffer.slice(i,i+r);if(this.littleEndian===T1&&e!=="uint8"&&e!=="int8"){const l=new Uint8Array(this.buffer.slice(i,i+r));l.reverse();const f=new ul[e](l.buffer);return this.offset+=r,f.reverse(),f}const c=new ul[e](o);return this.offset+=r,c}readInt16(){const n=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,n}readUint16(){const n=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,n}readInt32(){const n=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,n}readUint32(){const n=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat32(){const n=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat64(){const n=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,n}readBigInt64(){const n=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,n}readBigUint64(){const n=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,n}readChar(){return String.fromCharCode(this.readInt8())}readChars(n=1){let e="";for(let r=0;r<n;r++)e+=this.readChar();return e}readUtf8(n=1){return rc(this.readBytes(n))}decodeText(n=1,e="utf8"){return rc(this.readBytes(n),e)}writeBoolean(n){return this.writeUint8(n?255:0),this}writeInt8(n){return this.ensureAvailable(1),this._data.setInt8(this.offset++,n),this._updateLastWrittenByte(),this}writeUint8(n){return this.ensureAvailable(1),this._data.setUint8(this.offset++,n),this._updateLastWrittenByte(),this}writeByte(n){return this.writeUint8(n)}writeBytes(n){this.ensureAvailable(n.length);for(let e=0;e<n.length;e++)this._data.setUint8(this.offset++,n[e]);return this._updateLastWrittenByte(),this}writeInt16(n){return this.ensureAvailable(2),this._data.setInt16(this.offset,n,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(n){return this.ensureAvailable(2),this._data.setUint16(this.offset,n,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(n){return this.ensureAvailable(4),this._data.setInt32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(n){return this.ensureAvailable(4),this._data.setUint32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(n){return this.ensureAvailable(4),this._data.setFloat32(this.offset,n,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(n){return this.ensureAvailable(8),this._data.setFloat64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(n){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(n){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,n,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(n){return this.writeUint8(n.charCodeAt(0))}writeChars(n){for(let e=0;e<n.length;e++)this.writeUint8(n.charCodeAt(e));return this}writeUtf8(n){return this.writeBytes(F1(n))}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.1.0 https://github.com/nodeca/pako @license (MIT AND Zlib) */const R1=4,ic=0,ac=1,j1=2;function Na(t){let n=t.length;for(;--n>=0;)t[n]=0}const B1=0,Ef=1,M1=2,D1=3,q1=258,ah=29,wo=256,co=wo+1+ah,ma=30,oh=19,If=2*co+1,Ui=15,dl=16,U1=7,sh=256,Cf=16,Ff=17,Of=18,zl=ne
2w 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]),gs=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]),z1=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Tf=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),H1=512,Yr=new Array((co+2)*2);Na(Yr);const so=new Array(ma*2);Na(so);const fo=new Array(H1);Na(fo);const uo=new Array(q1-D1+1);Na(uo);const lh=new Array(ah);Na(lh);const As=new Array(ma);Na(As);function pl(t,n,e,r,i){this.static_tree=t,this.extra_bits=n,this.extra_base=e,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}let Rf,jf,Bf;function gl(t,n){this.dyn_tree=t,this.max_code=0,this.stat_desc=n}const Mf=t=>t<256?fo[t]:fo[256+(t>>>7)],po=(t,n)=>{t.pending_buf[t.pending++]=n&255,t.pending_buf[t.pending++]=n>>>8&255},En=(t,n,e)=>{t.bi_valid>dl-e?(t.bi_buf|=n<<t.bi_valid&65535,po(t,t.bi_buf),t.bi_buf=n>>dl-t.bi_valid,t.bi_valid+=e-dl):(t.bi_buf|=n<<t.bi_valid&65535,t.bi_valid+=e)},Ar=(t,n,e)=>{En(t,e[n*2],e[n*2+1])},Df=(t,n)=>{let e=0;do e|=t&1,t>>>=1,e<<=1;while(--n>0);return e>>>1},W1=t=>{t.bi_valid===16?(po(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=t.bi_buf&255,t.bi_buf>>=8,t.bi_valid-=8)},V1=(t,n)=>{const e=n.dyn_tree,r=n.max_code,i=n.stat_desc.static_tree,o=n.stat_desc.has_stree,c=n.stat_desc.extra_bits,l=n.stat_desc.extra_base,f=n.stat_desc.max_length;let d,g,x,N,p,T,E=0;for(N=0;N<=Ui;N++)t.bl_count[N]=0;for(e[t.heap[t.heap_max]*2+1]=0,d=t.heap_max+1;d<If;d++)g=t.heap[d],N=e[e[g*2+1]*2+1]+1,N>f&&(N=f,E++),e[g*2+1]=N,!(g>r)&&(t.bl_count[N]++,p=0,g>=l&&(p=c[g-l]),T=e[g*2],t.opt_len+=T*(N+p),o&&(t.static_len+=T*(i[g*2+1]+p)));if(E!==0){do{for(N=f-1;t.bl_count[N]===0;)N--;t.bl_count[N]--,t.bl_count[N+1]+=2,t.bl_count[f]--,E-=2}while(E>0);for(N=f;N!==0;N--)for(g=t.bl_count[N];g!==0;)x=t.heap[--d],!(x>r)&&(e[x*2+1]!==N&&(t.opt_len+=(N-e[x*2+1])*e[x*2],e[x*2+1]=N),g--)}},qf=(t,n,e)=>{const r=new Array(Ui+1);let i=0,o,c;for(o=1;o<=Ui;o++)i=i+e[o-1]<<1,r[o]=i;for(c=0;c<=n;c++){let l=t[c*2+1];l!==0&&(t[c*2]=Df(r[l]++,l))}},G1=()=>{let t,n,e,r,i;const o=new Array(Ui+1);for(e=0,r=0;r<ah-1;r++)for(lh[r]=e,t=0;t<1<<zl[r];t++)uo[e++]=r;for(uo[e-1]=r,i=0,r=0;r<16;r++)for(As[r]=i,t=0;t<1<<gs[r];t++)fo[i++]=r;for(i>>=7;r<ma;r++)for(As[r]=i<<7,t=0;t<1<<gs[r]-7;t++)fo[256+i++]=r;for(n=0;n<=Ui;n++)o[n]=0;for(t=0;t<=143;)Yr[t*2+1]=8,t++,o[8]++;for(;t<=255;)Yr[t*2+1]=9,t++,o[9]++;for(;t<=279;)Yr[t*2+1]=7,t++,o[7]++;for(;t<=287;)Yr[t*2+1]=8,t++,o[8]++;for(qf(Yr,co+1,o),t=0;t<ma;t++)so[t*2+1]=5,so[t*2]=Df(t,5);Rf=new pl(Yr,zl,wo+1,co,Ui),jf=new pl(so,gs,0,ma,Ui),Bf=new pl(new Array(0),z1,0,oh,U1)},Uf=t=>{let n;for(n=0;n<co;n++)t.dyn_ltree[n*2]=0;for(n=0;n<ma;n++)t.dyn_dtree[n*2]=0;for(n=0;n<oh;n++)t.bl_tree[n*2]=0;t.dyn_ltree[sh*2]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},zf=t=>{t.bi_valid>8?po(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},oc=(t,n,e,r)=>{const i=n*2,o=e*2;return t[i]<t[o]||t[i]===t[o]&&r[n]<=r[e]},ml=(t,n,e)=>{const r=t.heap[e];let i=e<<1;for(;i<=t.heap_len&&(i<t.heap_len&&oc(n,t.heap[i+1],t.heap[i],t.depth)&&i++,!oc(n,r,t.heap[i],t.depth));)t.heap[e]=t.heap[i],e=i,i<<=1;t.heap[e]=r},sc=(t,n,e)=>{let r,i,o=0,c,l;if(t.sym_next!==0)do r=t.pending_buf[t.sym_buf+o++]&255,r+=(t.pending_buf[t.sym_buf+o++]&255)<<8,i=t.pending_buf[t.sym_buf+o++],r===0?Ar(t,i,n):(c=uo[i],Ar(t,c+wo+1,n),l=zl[c],l!==0&&(i-=lh[c],En(t,i,l)),r--,c=Mf(r),Ar(t,c,e),l=gs[c],l!==0&&(r-=As[c],En(t,r,l)));while(o<t.sym_next);Ar(t,sh,n)},Hl=(t,n)=>{const e=n.dyn_tree,r=n.stat_desc.static_tree,i=n.stat_desc.has_stree,o=n.stat_desc.elems;
2let c,l,f=-1,d;for(t.heap_len=0,t.heap_max=If,c=0;c<o;c++)e[c*2]!==0?(t.heap[++t.heap_len]=f=c,t.depth[c]=0):e[c*2+1]=0;for(;t.heap_len<2;)d=t.heap[++t.heap_len]=f<2?++f:0,e[d*2]=1,t.depth[d]=0,t.opt_len--,i&&(t.static_len-=r[d*2+1]);for(n.max_code=f,c=t.heap_len>>1;c>=1;c--)ml(t,e,c);d=o;do c=t.heap[1],t.heap[1]=t.heap[t.heap_len--],ml(t,e,1),l=t.heap[1],t.heap[--t.heap_max]=c,t.heap[--t.heap_max]=l,e[d*2]=e[c*2]+e[l*2],t.depth[d]=(t.depth[c]>=t.depth[l]?t.depth[c]:t.depth[l])+1,e[c*2+1]=e[l*2+1]=d,t.heap[1]=d++,ml(t,e,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],V1(t,n),qf(e,f,t.bl_count)},lc=(t,n,e)=>{let r,i=-1,o,c=n[0*2+1],l=0,f=7,d=4;for(c===0&&(f=138,d=3),n[(e+1)*2+1]=65535,r=0;r<=e;r++)o=c,c=n[(r+1)*2+1],!(++l<f&&o===c)&&(l<d?t.bl_tree[o*2]+=l:o!==0?(o!==i&&t.bl_tree[o*2]++,t.bl_tree[Cf*2]++):l<=10?t.bl_tree[Ff*2]++:t.bl_tree[Of*2]++,l=0,i=o,c===0?(f=138,d=3):o===c?(f=6,d=3):(f=7,d=4))},hc=(t,n,e)=>{let r,i=-1,o,c=n[0*2+1],l=0,f=7,d=4;for(c===0&&(f=138,d=3),r=0;r<=e;r++)if(o=c,c=n[(r+1)*2+1],!(++l<f&&o===c)){if(l<d)do Ar(t,o,t.bl_tree);while(--l!==0);else o!==0?(o!==i&&(Ar(t,o,t.bl_tree),l--),Ar(t,Cf,t.bl_tree),En(t,l-3,2)):l<=10?(Ar(t,Ff,t.bl_tree),En(t,l-3,3)):(Ar(t,Of,t.bl_tree),En(t,l-11,7));l=0,i=o,c===0?(f=138,d=3):o===c?(f=6,d=3):(f=7,d=4)}},Z1=t=>{let n;for(lc(t,t.dyn_ltree,t.l_desc.max_code),lc(t,t.dyn_dtree,t.d_desc.max_code),Hl(t,t.bl_desc),n=oh-1;n>=3&&t.bl_tree[Tf[n]*2+1]===0;n--);return t.opt_len+=3*(n+1)+5+5+4,n},Y1=(t,n,e,r)=>{let i;for(En(t,n-257,5),En(t,e-1,5),En(t,r-4,4),i=0;i<r;i++)En(t,t.bl_tree[Tf[i]*2+1],3);hc(t,t.dyn_ltree,n-1),hc(t,t.dyn_dtree,e-1)},$1=t=>{let n=4093624447,e;for(e=0;e<=31;e++,n>>>=1)if(n&1&&t.dyn_ltree[e*2]!==0)return ic;if(t.dyn_ltree[9*2]!==0||t.dyn_ltree[10*2]!==0||t.dyn_ltree[13*2]!==0)return ac;for(e=32;e<wo;e++)if(t.dyn_ltree[e*2]!==0)return ac;return ic};let cc=!1;const K1=t=>{cc||(G1(),cc=!0),t.l_desc=new gl(t.dyn_ltree,Rf),t.d_desc=new gl(t.dyn_dtree,jf),t.bl_desc=new gl(t.bl_tree,Bf),t.bi_buf=0,t.bi_valid=0,Uf(t)},Hf=(t,n,e,r)=>{En(t,(B1<<1)+(r?1:0),3),zf(t),po(t,e),po(t,~e),e&&t.pending_buf.set(t.window.subarray(n,n+e),t.pending),t.pending+=e},J1=t=>{En(t,Ef<<1,3),Ar(t,sh,Yr),W1(t)},X1=(t,n,e,r)=>{let i,o,c=0;t.level>0?(t.strm.data_type===j1&&(t.strm.data_type=$1(t)),Hl(t,t.l_desc),Hl(t,t.d_desc),c=Z1(t),i=t.opt_len+3+7>>>3,o=t.static_len+3+7>>>3,o<=i&&(i=o)):i=o=e+5,e+4<=i&&n!==-1?Hf(t,n,e,r):t.strategy===R1||o===i?(En(t,(Ef<<1)+(r?1:0),3),sc(t,Yr,so)):(En(t,(M1<<1)+(r?1:0),3),Y1(t,t.l_desc.max_code+1,t.d_desc.max_code+1,c+1),sc(t,t.dyn_ltree,t.dyn_dtree)),Uf(t),r&&zf(t)},Q1=(t,n,e)=>(t.pending_buf[t.sym_buf+t.sym_next++]=n,t.pending_buf[t.sym_buf+t.sym_next++]=n>>8,t.pending_buf[t.sym_buf+t.sym_next++]=e,n===0?t.dyn_ltree[e*2]++:(t.matches++,n--,t.dyn_ltree[(uo[e]+wo+1)*2]++,t.dyn_dtree[Mf(n)*2]++),t.sym_next===t.sym_end);var t2=K1,e2=Hf,n2=X1,r2=Q1,i2=J1,a2={_tr_init:t2,_tr_stored_block:e2,_tr_flush_block:n2,_tr_tally:r2,_tr_align:i2};const o2=(t,n,e,r)=>{let i=t&65535|0,o=t>>>16&65535|0,c=0;for(;e!==0;){c=e>2e3?2e3:e,e-=c;do i=i+n[r++]|0,o=o+i|0;while(--c);i%=65521,o%=65521}return i|o<<16|0};var go=o2;const s2=()=>{let t,n=[];for(var e=0;e<256;e++){t=e;for(var r=0;r<8;r++)t=t&1?3988292384^t>>>1:t>>>1;n[e]=t}return n},l2=new Uint32Array(s2()),h2=(t,n,e,r)=>{const i=l2,o=r+e;t^=-1;for(let c=r;c<o;c++)t=t>>>8^i[(t^n[c])&255];return t^-1};var sn=h2,ya={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"},_o={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:c2,_tr_stored_block:Wl,_tr_flush_block:f2,_tr_tally:vi,_tr_align:u2}=a2,{Z_NO_FLUSH:bi,Z_PARTIAL_FLUSH:d2,Z_FULL_FLUSH:p2,Z_FINISH:Xn,Z_BLOCK:fc,Z_OK:gn,Z_STREAM_END:uc,Z_STREAM_ERROR:Lr,Z_DATA_ERROR:g2,Z_BUF_ER
vendor: 10,329 bytes, line 2
2ROR:vl,Z_DEFAULT_COMPRESSION:m2,Z_FILTERED:v2,Z_HUFFMAN_ONLY:as,Z_RLE:b2,Z_FIXED:w2,Z_DEFAULT_STRATEGY:_2,Z_UNKNOWN:y2,Z_DEFLATED:Ps}=_o,x2=9,A2=15,N2=8,L2=29,S2=256,Vl=S2+1+L2,k2=30,P2=19,E2=2*Vl+1,I2=15,de=3,gi=258,Sr=gi+de+1,C2=32,xa=42,hh=57,Gl=69,Zl=73,Yl=91,$l=103,zi=113,io=666,Sn=1,La=2,Gi=3,Sa=4,F2=3,Hi=(t,n)=>(t.msg=ya[n],n),dc=t=>t*2-(t>4?9:0),pi=t=>{let n=t.length;for(;--n>=0;)t[n]=0},O2=t=>{let n,e,r,i=t.w_size;n=t.hash_size,r=n;do e=t.head[--r],t.head[r]=e>=i?e-i:0;while(--n);n=i,r=n;do e=t.prev[--r],t.prev[r]=e>=i?e-i:0;while(--n)};let T2=(t,n,e)=>(n<<t.hash_shift^e)&t.hash_mask,wi=T2;const qn=t=>{const n=t.state;let e=n.pending;e>t.avail_out&&(e=t.avail_out),e!==0&&(t.output.set(n.pending_buf.subarray(n.pending_out,n.pending_out+e),t.next_out),t.next_out+=e,n.pending_out+=e,t.total_out+=e,t.avail_out-=e,n.pending-=e,n.pending===0&&(n.pending_out=0))},zn=(t,n)=>{f2(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,n),t.block_start=t.strstart,qn(t.strm)},be=(t,n)=>{t.pending_buf[t.pending++]=n},ro=(t,n)=>{t.pending_buf[t.pending++]=n>>>8&255,t.pending_buf[t.pending++]=n&255},Kl=(t,n,e,r)=>{let i=t.avail_in;return i>r&&(i=r),i===0?0:(t.avail_in-=i,n.set(t.input.subarray(t.next_in,t.next_in+i),e),t.state.wrap===1?t.adler=go(t.adler,n,i,e):t.state.wrap===2&&(t.adler=sn(t.adler,n,i,e)),t.next_in+=i,t.total_in+=i,i)},Wf=(t,n)=>{let e=t.max_chain_length,r=t.strstart,i,o,c=t.prev_length,l=t.nice_match;const f=t.strstart>t.w_size-Sr?t.strstart-(t.w_size-Sr):0,d=t.window,g=t.w_mask,x=t.prev,N=t.strstart+gi;let p=d[r+c-1],T=d[r+c];t.prev_length>=t.good_match&&(e>>=2),l>t.lookahead&&(l=t.lookahead);do if(i=n,!(d[i+c]!==T||d[i+c-1]!==p||d[i]!==d[r]||d[++i]!==d[r+1])){r+=2,i++;do;while(d[++r]===d[++i]&&d[++r]===d[++i]&&d[++r]===d[++i]&&d[++r]===d[++i]&&d[++r]===d[++i]&&d[++r]===d[++i]&&d[++r]===d[++i]&&d[++r]===d[++i]&&r<N);if(o=gi-(N-r),r=N-gi,o>c){if(t.match_start=n,c=o,o>=l)break;p=d[r+c-1],T=d[r+c]}}while((n=x[n&g])>f&&--e!==0);return c<=t.lookahead?c:t.lookahead},Aa=t=>{const n=t.w_size;let e,r,i;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=n+(n-Sr)&&(t.window.set(t.window.subarray(n,n+n-r),0),t.match_start-=n,t.strstart-=n,t.block_start-=n,t.insert>t.strstart&&(t.insert=t.strstart),O2(t),r+=n),t.strm.avail_in===0)break;if(e=Kl(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=e,t.lookahead+t.insert>=de)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=wi(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=wi(t,t.ins_h,t.window[i+de-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<de)););}while(t.lookahead<Sr&&t.strm.avail_in!==0)},Vf=(t,n)=>{let e=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,r,i,o,c=0,l=t.strm.avail_in;do{if(r=65535,o=t.bi_valid+42>>3,t.strm.avail_out<o||(o=t.strm.avail_out-o,i=t.strstart-t.block_start,r>i+t.strm.avail_in&&(r=i+t.strm.avail_in),r>o&&(r=o),r<e&&(r===0&&n!==Xn||n===bi||r!==i+t.strm.avail_in)))break;c=n===Xn&&r===i+t.strm.avail_in?1:0,Wl(t,0,0,c),t.pending_buf[t.pending-4]=r,t.pending_buf[t.pending-3]=r>>8,t.pending_buf[t.pending-2]=~r,t.pending_buf[t.pending-1]=~r>>8,qn(t.strm),i&&(i>r&&(i=r),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,r-=i),r&&(Kl(t.strm,t.strm.output,t.strm.next_out,r),t.strm.next_out+=r,t.strm.avail_out-=r,t.strm.total_out+=r)}while(c===0);return l-=t.strm.avail_in,l&&(l>=t.w_size?(t.matches=2,t.window.set(t.strm.input.subarray(t.strm.next_in-t.w_size,t.strm.next_in),0),t.strstart=t.w_size,t.insert=t.strstart):(t.window_size-t.strstart<=l&&(t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,t.insert>t.strstart&&(t.insert=t.strstart)),t.window.set(t.strm.input.subarray(t.strm.next_in-l,t.strm.next_in),t.strstart),t.strstart+=l,t.insert+=l>t.w_size-t.insert?t.w_size-t.insert:l),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),c?Sa:n!==bi&&n!==Xn&&t.strm.avail_in===0&&t.strstart===t.block_start?La:(o=t.window_size-t.strstart,t.strm.avail_in>o&&t.block_start>=t.w_size&&(t.block_start-=t.w_size,t.strstart-=t.w_size,t.window.set(t.window.subarray(t.w_size,t.w_size+t.strstart),0),t.matches<2&&t.matches++,o+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),o>t.strm.avail_in&&(o=t.strm.avail_in),o&&(Kl(t.strm,t.window,t.strstart,o),t.strstart+=o,t.insert+=o>t.w_size-t.insert?t.w_size-t.insert:o),t.high_water<t.strstart&&(t.high_water=t.strstart),o=t.bi_valid+42>>3,o=t.pending_buf_size-o>65535?65535:t.pending_buf_size-o,e=o>t.w_size?t.w_size:o,i=t.strstart-t.block_start,(i>=e||(i||n===Xn)&&n!==bi&&t.strm.avail_in===0&&i<=o)&&(r=i>o?o:i,c=n===Xn&&t.strm.avail_in===0&&r===i?1:0,Wl(t,t.block_start,r,c),t.block_start+=r,qn(t.strm)),c?Gi:Sn)},bl=(t,n)=>{let e,r;for(;;){if(t.lookahead<Sr){if(Aa(t),t.lookahead<Sr&&n===bi)return Sn;if(t.lookahead===0)break}if(e=0,t.lookahead>=de&&(t.ins_h=wi(t,t.ins_h,t.window[t.strstart+de-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),e!==0&&t.strstart-e<=t.w_size-Sr&&(t.match_length=Wf(t,e)),t.match_length>=de)if(r=vi(t,t.strstart-t.match_start,t.match_length-de),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=de){t.match_length--;do t.strstart++,t.ins_h=wi(t,t.ins_h,t.window[t.strstart+de-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart;while(--t.match_length!==0);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=wi(t,t.ins_h,t.window[t.strstart+1]);else r=vi(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(zn(t,!1),t.strm.avail_out===0))return Sn}return t.insert=t.strstart<de-1?t.strstart:de-1,n===Xn?(zn(t,!0),t.strm.avail_out===0?Gi:Sa):t.sym_next&&(zn(t,!1),t.strm.avail_out===0)?Sn:La},ha=(t,n)=>{let e,r,i;for(;;){if(t.lookahead<Sr){if(Aa(t),t.lookahead<Sr&&n===bi)return Sn;if(t.lookahead===0)break}if(e=0,t.lookahead>=de&&(t.ins_h=wi(t,t.ins_h,t.window[t.strstart+de-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=de-1,e!==0&&t.prev_length<t.max_lazy_match&&t.strstart-e<=t.w_size-Sr&&(t.match_length=Wf(t,e),t.match_length<=5&&(t.strategy===v2||t.match_length===de&&t.strstart-t.match_start>4096)&&(t.match_length=de-1)),t.prev_length>=de&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-de,r=vi(t,t.strstart-1-t.prev_match,t.prev_length-de),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=i&&(t.ins_h=wi(t,t.ins_h,t.window[t.strstart+de-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart);while(--t.prev_length!==0);if(t.match_available=0,t.match_length=de-1,t.strstart++,r&&(zn(t,!1),t.strm.avail_out===0))return Sn}else if(t.match_available){if(r=vi(t,0,t.window[t.strstart-1]),r&&zn(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return Sn}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=vi(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<de-1?t.strstart:de-1,n===Xn?(zn(t,!0),t.strm.avail_out===0?Gi:Sa):t.sym_next&&(zn(t,!1),t.strm.avail_out===0)?Sn:La},R2=(t,n)=>{let e,r,i,o;const c=t.window;for(;;){if(t.lookahead<=gi){if(Aa(t),t.lookahead<=gi&&n===bi)return Sn;if(t.lookahead===0)break}if(t.match_length=0,t.lookahead>=de&&t.strstart>0&&(i=t.strstart-1,r=c[i],r===c[++i]&&r===c[++i]&&r===c[++i])){o=t.strstart+gi;do;while(r===c[++i]&&r===c[++i]&&r===c[++i]&&r===c[++i]&&r===c[++i]&&r===c[++i]&&r===c[++i]&&r===c[++i]&&i<o);t.match_length=gi-(o-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=de?(e=vi(t,1,t.match_length-de),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(e=vi(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),e&&(zn(t,!1),t.strm.avail_out===0))return Sn}return t.insert=0,n===Xn?(zn(t,!0),t.strm.avail_out===0?Gi:Sa):t.sym_next&&(zn(t,!1),t.strm.avail_out===0)?Sn:La},j2=(t,n)=>{let e;for(;;){if(t.lookahead===0&&(Aa(t),t.lookahead===0)){if(n===bi)return Sn;break}if(t.match_length=0,e=vi(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,e&&(zn(t,!1),t.strm.avail_out===0))return Sn}return t.insert=0,n===Xn?(zn(t,!0),t.strm.avail_out===0?Gi:Sa):t.sym_next&&(zn(t,!1),t.strm.avail_out===0)?Sn:La};function yr(t,n,e,r,i){this.good_length=t,this.max_lazy=n,this.nice_length=e,this.max_chain=r,this.func=i}const ao=[new yr(0,0,0,0,Vf),new yr(4,4,8,4,bl),new yr(4,5,16,8,bl),new yr(4,6,32,32,bl),new yr(4,4,16,16,ha),new yr(8,16,32,32,ha),new yr(8,16,128,128,ha),new yr(8,32,128,256,ha),new yr(32,128,258,1024,ha),new yr(32,258,258,4096,ha)],B2=t=>{t.window_size=2*t.w_size,pi(t.head),t.max_lazy_match=ao[t.level].max_lazy,t.good_match=ao[t.level].good_length,t.nice_match=ao[t.level].nice_length,t.max_chain_length=ao[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=de-1,t.match_available=0,t.ins_h=0};function M2(){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=Ps,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(E2*2),this.dyn_dtree=new Uint16Array((2*k2+1)*2),this.bl_tree=new Uint16Array((2*P2+1)*2),pi(this.dyn_ltree),pi(this.dyn_dtree),pi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(I2+1),this.heap=new Uint16Array(2*Vl+1),pi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*Vl+1),pi(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 yo=t=>{if(!t)return 1;const n=t.state;
2return!n||n.strm!==t||n.status!==xa&&n.status!==hh&&n.status!==Gl&&n.status!==Zl&&n.status!==Yl&&n.status!==$l&&n.status!==zi&&n.status!==io?1:0},Gf=t=>{if(yo(t))return Hi(t,Lr);t.total_in=t.total_out=0,t.data_type=y2;const n=t.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?hh:n.wrap?xa:zi,t.adler=n.wrap===2?0:1,n.last_flush=-2,c2(n),gn},Zf=t=>{const n=Gf(t);return n===gn&&B2(t.state),n},D2=(t,n)=>yo(t)||t.state.wrap!==2?Lr:(t.state.gzhead=n,gn),Yf=(t,n,e,r,i,o)=>{if(!t)return Lr;let c=1;if(n===m2&&(n=6),r<0?(c=0,r=-r):r>15&&(c=2,r-=16),i<1||i>x2||e!==Ps||r<8||r>15||n<0||n>9||o<0||o>w2||r===8&&c!==1)return Hi(t,Lr);r===8&&(r=9);const l=new M2;return t.state=l,l.strm=t,l.status=xa,l.wrap=c,l.gzhead=null,l.w_bits=r,l.w_size=1<<l.w_bits,l.w_mask=l.w_size-1,l.hash_bits=i+7,l.hash_size=1<<l.hash_bits,l.hash_mask=l.hash_size-1,l.hash_shift=~~((l.hash_bits+de-1)/de),l.window=new Uint8Array(l.w_size*2),l.head=new Uint16Array(l.hash_size),l.prev=new Uint16Array(l.w_size),l.lit_bufsize=1<<i+6,l.pending_buf_size=l.lit_bufsize*4,l.pending_buf=new Uint8Array(l.pending_buf_size),l.sym_buf=l.lit_bufsize,l.sym_end=(l.lit_bufsize-1)*3,l.level=n,l.strategy=o,l.method=e,Zf(t)},q2=(t,n)=>Yf(t,n,Ps,A2,N2,_2),U2=(t,n)=>{if(yo(t)||n>fc||n<0)return t?Hi(t,Lr):Lr;const e=t.state;if(!t.output||t.avail_in!==0&&!t.input||e.status===io&&n!==Xn)return Hi(t,t.avail_out===0?vl:Lr);const r=e.last_flush;if(e.last_flush=n,e.pending!==0){if(qn(t),t.avail_out===0)return e.last_flush=-1,gn}else if(t.avail_in===0&&dc(n)<=dc(r)&&n!==Xn)return Hi(t,vl);if(e.status===io&&t.avail_in!==0)return Hi(t,vl);if(e.status===xa&&e.wrap===0&&(e.status=zi),e.status===xa){let i=Ps+(e.w_bits-8<<4)<<8,o=-1;if(e.strategy>=as||e.level<2?o=0:e.level<6?o=1:e.level===6?o=2:o=3,i|=o<<6,e.strstart!==0&&(i|=C2),i+=31-i%31,ro(e,i),e.strstart!==0&&(ro(e,t.adler>>>16),ro(e,t.adler&65535)),t.adler=1,e.status=zi,qn(t),e.pending!==0)return e.last_flush=-1,gn}if(e.status===hh){if(t.adler=0,be(e,31),be(e,139),be(e,8),e.gzhead)be(e,(e.gzhead.text?1:0)+(e.gzhead.hcrc?2:0)+(e.gzhead.extra?4:0)+(e.gzhead.name?8:0)+(e.gzhead.comment?16:0)),be(e,e.gzhead.time&255),be(e,e.gzhead.time>>8&255),be(e,e.gzhead.time>>16&255),be(e,e.gzhead.time>>24&255),be(e,e.level===9?2:e.strategy>=as||e.level<2?4:0),be(e,e.gzhead.os&255),e.gzhead.extra&&e.gzhead.extra.length&&(be(e,e.gzhead.extra.length&255),be(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=sn(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=Gl;else if(be(e,0),be(e,0),be(e,0),be(e,0),be(e,0),be(e,e.level===9?2:e.strategy>=as||e.level<2?4:0),be(e,F2),e.status=zi,qn(t),e.pending!==0)return e.last_flush=-1,gn}if(e.status===Gl){if(e.gzhead.extra){let i=e.pending,o=(e.gzhead.extra.length&65535)-e.gzindex;for(;e.pending+o>e.pending_buf_size;){let l=e.pending_buf_size-e.pending;if(e.pending_buf.set(e.gzhead.extra.subarray(e.gzindex,e.gzindex+l),e.pending),e.pending=e.pending_buf_size,e.gzhead.hcrc&&e.pending>i&&(t.adler=sn(t.adler,e.pending_buf,e.pending-i,i)),e.gzindex+=l,qn(t),e.pending!==0)return e.last_flush=-1,gn;i=0,o-=l}let c=new Uint8Array(e.gzhead.extra);e.pending_buf.set(c.subarray(e.gzindex,e.gzindex+o),e.pending),e.pending+=o,e.gzhead.hcrc&&e.pending>i&&(t.adler=sn(t.adler,e.pending_buf,e.pending-i,i)),e.gzindex=0}e.status=Zl}if(e.status===Zl){if(e.gzhead.name){let i=e.pending,o;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>i&&(t.adler=sn(t.adler,e.pending_buf,e.pending-i,i)),qn(t),e.pending!==0)return e.last_flush=-1,gn;i=0}e.gzindex<e.gzhead.name.length?o=e.gzhead.name.charCodeAt(e.gzindex++)&255:o=0,be(e,o)}while(o!==0);e.gzhead.hcrc&&e.pending>i&&(t.adler=sn(t.adler,e.pending_buf,e.pending-i,i)),e.gzindex=0}e.status=Yl}if(e.status===Yl){if(e.gzhead.comment){let i=e.pending,o;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>i&&(t.adler=sn(t.adler,e.pending_buf,e.pending-i,i)),qn(t),e.pending!==0)return e.last_flush=-1,gn;i=0}e.gzindex<e.gzhead.comment.length?o=e.gzhead.comment.charCodeAt(e.gzindex++)&255:o=0,be(e,o)}while(o!==0);e.gzhead.hcrc&&e.pending>
2i&&(t.adler=sn(t.adler,e.pending_buf,e.pending-i,i))}e.status=$l}if(e.status===$l){if(e.gzhead.hcrc){if(e.pending+2>e.pending_buf_size&&(qn(t),e.pending!==0))return e.last_flush=-1,gn;be(e,t.adler&255),be(e,t.adler>>8&255),t.adler=0}if(e.status=zi,qn(t),e.pending!==0)return e.last_flush=-1,gn}if(t.avail_in!==0||e.lookahead!==0||n!==bi&&e.status!==io){let i=e.level===0?Vf(e,n):e.strategy===as?j2(e,n):e.strategy===b2?R2(e,n):ao[e.level].func(e,n);if((i===Gi||i===Sa)&&(e.status=io),i===Sn||i===Gi)return t.avail_out===0&&(e.last_flush=-1),gn;if(i===La&&(n===d2?u2(e):n!==fc&&(Wl(e,0,0,!1),n===p2&&(pi(e.head),e.lookahead===0&&(e.strstart=0,e.block_start=0,e.insert=0))),qn(t),t.avail_out===0))return e.last_flush=-1,gn}return n!==Xn?gn:e.wrap<=0?uc:(e.wrap===2?(be(e,t.adler&255),be(e,t.adler>>8&255),be(e,t.adler>>16&255),be(e,t.adler>>24&255),be(e,t.total_in&255),be(e,t.total_in>>8&255),be(e,t.total_in>>16&255),be(e,t.total_in>>24&255)):(ro(e,t.adler>>>16),ro(e,t.adler&65535)),qn(t),e.wrap>0&&(e.wrap=-e.wrap),e.pending!==0?gn:uc)},z2=t=>{if(yo(t))return Lr;const n=t.state.status;return t.state=null,n===zi?Hi(t,g2):gn},H2=(t,n)=>{let e=n.length;if(yo(t))return Lr;const r=t.state,i=r.wrap;if(i===2||i===1&&r.status!==xa||r.lookahead)return Lr;if(i===1&&(t.adler=go(t.adler,n,e,0)),r.wrap=0,e>=r.w_size){i===0&&(pi(r.head),r.strstart=0,r.block_start=0,r.insert=0);let f=new Uint8Array(r.w_size);f.set(n.subarray(e-r.w_size,e),0),n=f,e=r.w_size}const o=t.avail_in,c=t.next_in,l=t.input;for(t.avail_in=e,t.next_in=0,t.input=n,Aa(r);r.lookahead>=de;){let f=r.strstart,d=r.lookahead-(de-1);do r.ins_h=wi(r,r.ins_h,r.window[f+de-1]),r.prev[f&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=f,f++;while(--d);r.strstart=f,r.lookahead=de-1,Aa(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=de-1,r.match_available=0,t.next_in=c,t.input=l,t.avail_in=o,r.wrap=i,gn};var W2=q2,V2=Yf,G2=Zf,Z2=Gf,Y2=D2,$2=U2,K2=z2,J2=H2,X2="pako deflate (from Nodeca project)",lo={deflateInit:W2,deflateInit2:V2,deflateReset:G2,deflateResetKeep:Z2,deflateSetHeader:Y2,deflate:$2,deflateEnd:K2,deflateSetDictionary:J2,deflateInfo:X2};const Q2=(t,n)=>Object.prototype.hasOwnProperty.call(t,n);var t0=function(t){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const e=n.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(const r in e)Q2(e,r)&&(t[r]=e[r])}}return t},e0=t=>{let n=0;for(let r=0,i=t.length;r<i;r++)n+=t[r].length;const e=new Uint8Array(n);for(let r=0,i=0,o=t.length;r<o;r++){let c=t[r];e.set(c,i),i+=c.length}return e},Es={assign:t0,flattenChunks:e0};let $f=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{$f=!1}const mo=new Uint8Array(256);for(let t=0;t<256;t++)mo[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;mo[254]=mo[254]=1;var n0=t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let n,e,r,i,o,c=t.length,l=0;for(i=0;i<c;i++)e=t.charCodeAt(i),(e&64512)===55296&&i+1<c&&(r=t.charCodeAt(i+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),i++)),l+=e<128?1:e<2048?2:e<65536?3:4;for(n=new Uint8Array(l),o=0,i=0;o<l;i++)e=t.charCodeAt(i),(e&64512)===55296&&i+1<c&&(r=t.charCodeAt(i+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),i++)),e<128?n[o++]=e:e<2048?(n[o++]=192|e>>>6,n[o++]=128|e&63):e<65536?(n[o++]=224|e>>>12,n[o++]=128|e>>>6&63,n[o++]=128|e&63):(n[o++]=240|e>>>18,n[o++]=128|e>>>12&63,n[o++]=128|e>>>6&63,n[o++]=128|e&63);return n};const r0=(t,n)=>{if(n<65534&&t.subarray&&$f)return String.fromCharCode.apply(null,t.length===n?t:t.subarray(0,n));let e="";for(let r=0;r<n;r++)e+=String.fromCharCode(t[r]);return e};var i0=(t,n)=>{const e=n||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,n));let r,i;const o=new Array(e*2);for(i=0,r=0;r<e;){let c=t[r++];if(c<128){o[i++]=c;continue}let l=mo[c];if(l>4){o[i++]=65533,r+=l-1;continue}for(c&=l===2?31:l===3?15:7;l>1&&r<e;)c=c<<6|t[r++]&63,l--;if(l>1){o[i++]=65533;continue}c<65536?o[i++]=c:(c-=65536,o[i++]=55296|c>>10&1023,o[i++]=56320|c&1023)}return r0(o,i)},a0=(t,n)=>{n=n||t.length,n>t.length&&(n=t.length);let e=n-1;for(;e>=0&&(t[e]&192)===128;)e--;return e<0||e===0?n:e+mo[t[e]]>n?e:n},vo={string2buf:n0,buf2string:i0,utf8border:a0};function o0(){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 Kf=o0;const Jf=Object.prototype.toString,{Z_NO_FLUSH:s0,Z_SYNC_FLUSH:l0,Z_FULL_FLUSH:h0,Z_FINISH:c0,Z_OK:Ns,Z_STREAM_END:f0,Z_DEFAULT_COMPRESSION:u0,Z_DEFAULT_STRATEGY:d0,Z_DEFLATED:p0}=_o;function ch(t){this.options=Es.assign({level:u0,method:p0,chunkSize:16384,windowBits:15,memLevel:8,strategy:d0},t||{});let n=this.options;n.raw&&n.windowBits>0?n.windowBits=-n.windowBits:n.gzip&&n.windowBits>0&&n.windowBits<16&&(n.windowBits+=16),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Kf,this.strm.avail_out=0;let e=lo.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(e!==Ns)throw new Error(ya[e]);if(n.header&&lo.deflateSetHeader(this.strm,n.header),n.dictionary){let r;if(typeof n.dictionary=="string"?r=vo.string2buf(n.dictionary):Jf.call(n.dictionary)==="[object ArrayBuffer]"?r=new 
2Uint8Array(n.dictionary):r=n.dictionary,e=lo.deflateSetDictionary(this.strm,r),e!==Ns)throw new Error(ya[e]);this._dict_set=!0}}ch.prototype.push=function(t,n){const e=this.strm,r=this.options.chunkSize;let i,o;if(this.ended)return!1;for(n===~~n?o=n:o=n===!0?c0:s0,typeof t=="string"?e.input=vo.string2buf(t):Jf.call(t)==="[object ArrayBuffer]"?e.input=new Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){if(e.avail_out===0&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),(o===l0||o===h0)&&e.avail_out<=6){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if(i=lo.deflate(e,o),i===f0)return e.next_out>0&&this.onData(e.output.subarray(0,e.next_out)),i=lo.deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===Ns;if(e.avail_out===0){this.onData(e.output);continue}if(o>0&&e.next_out>0){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if(e.avail_in===0)break}return!0};ch.prototype.onData=function(t){this.chunks.push(t)};ch.prototype.onEnd=function(t){t===Ns&&(this.result=Es.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};const os=16209,g0=16191;var m0=function(n,e){let r,i,o,c,l,f,d,g,x,N,p,T,E,j,k,V,G,D,it,mt,ut,$,B,tt;const L=n.state;r=n.next_in,B=n.input,i=r+(n.avail_in-5),o=n.next_out,tt=n.output,c=o-(e-n.avail_out),l=o+(n.avail_out-257),f=L.dmax,d=L.wsize,g=L.whave,x=L.wnext,N=L.window,p=L.hold,T=L.bits,E=L.lencode,j=L.distcode,k=(1<<L.lenbits)-1,V=(1<<L.distbits)-1;t:do{T<15&&(p+=B[r++]<<T,T+=8,p+=B[r++]<<T,T+=8),G=E[p&k];e:for(;;){if(D=G>>>24,p>>>=D,T-=D,D=G>>>16&255,D===0)tt[o++]=G&65535;else if(D&16){it=G&65535,D&=15,D&&(T<D&&(p+=B[r++]<<T,T+=8),it+=p&(1<<D)-1,p>>>=D,T-=D),T<15&&(p+=B[r++]<<T,T+=8,p+=B[r++]<<T,T+=8),G=j[p&V];n:for(;;){if(D=G>>>24,p>>>=D,T-=D,D=G>>>16&255,D&16){if(mt=G&65535,D&=15,T<D&&(p+=B[r++]<<T,T+=8,T<D&&(p+=B[r++]<<T,T+=8)),mt+=p&(1<<D)-1,mt>f){n.msg="invalid distance too far back",L.mode=os;break t}if(p>>>=D,T-=D,D=o-c,mt>D){if(D=mt-D,D>g&&L.sane){n.msg="invalid distance too far back",L.mode=os;break t}if(ut=0,$=N,x===0){if(ut+=d-D,D<it){it-=D;do tt[o++]=N[ut++];while(--D);ut=o-mt,$=tt}}else if(x<D){if(ut+=d+x-D,D-=x,D<it){it-=D;do tt[o++]=N[ut++];while(--D);if(ut=0,x<it){D=x,it-=D;do tt[o++]=N[ut++];while(--D);ut=o-mt,$=tt}}}else if(ut+=x-D,D<it){it-=D;do tt[o++]=N[ut++];while(--D);ut=o-mt,$=tt}for(;it>2;)tt[o++]=$[ut++],tt[o++]=$[ut++],tt[o++]=$[ut++],it-=3;it&&(tt[o++]=$[ut++],it>1&&(tt[o++]=$[ut++]))}else{ut=o-mt;do tt[o++]=tt[ut++],tt[o++]=tt[ut++],tt[o++]=tt[ut++],it-=3;while(it>2);it&&(tt[o++]=tt[ut++],it>1&&(tt[o++]=tt[ut++]))}}else if(D&64){n.msg="invalid distance code",L.mode=os;break t}else{G=j[(G&65535)+(p&(1<<D)-1)];continue n}break}}else if(D&64)if(D&32){L.mode=g0;break t}else{n.msg="invalid literal/length code",L.mode=os;break t}else{G=E[(G&65535)+(p&(1<<D)-1)];continue e}break}}while(r<i&&o<l);it=T>>3,r-=it,T-=it<<3,p&=(1<<T)-1,n.next_in=r,n.next_out=o,n.avail_in=r<i?5+(i-r):5-(r-i),n.avail_out=o<l?257+(l-o):257-(o-l),L.hold=p,L.bits=T};const ca=15,pc=852,gc=592,mc=0,wl=1,vc=2,v0=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]),b0=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,72,78]),w0=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]),_0=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]),y0=(t,n,e,r,i,o,c,l)=>{const f=l.bits;let d=0,g=0,x=0,N=0,p=0,T=0,E=0,j=0,k=0,V=0,G,D,it,mt,ut,$=null,B;const tt=new Uint16Array(ca+1),L=new Uint16Array(ca+1);let F=null,z,U,rt;for(d=0;d<=ca;d++)tt[d]=0;for(g=0;g<r;g++)tt[n[e+g]]++;for(p=f,N=ca;N>=1&&tt[N]===0;N--);if(p>N&&(p=N),N===0)return i[o++]=1<<24|64<<16|0,i[o++]=1<<24|64<<16|0,l.bits=1,0;for(x=1;x<N&&tt[x]===0;x++);for(p<x&&(p=x),j=1,d=1;d<=ca;d++)if(j<<=1,j-=tt[d],j<0)return-1;if(j>0&&(t===mc||N!==1))return-1;for(L[1]=0,d=1;d<ca;d++)L[d+1]=L[d]+tt[d];for(g=0;g<r;g++)n[e+g]!==0&&(c[L[n[e+g]]++]=g);if(t===mc?($=F=c,B=20):t===wl?($=v0,F=b0,B=257):($=w0,F=_0,B=0),V=0,g=0,d=x,ut=o,T=p,E=0,it=-1,k=1<<p,mt=k-1,t===wl&&k>pc||t===vc&&k>gc)return 1;for(;;){z=d-E,c[g]+1<B?(U=0,rt=c[g]):c[g]>=B?(U=F[c[g]-B],rt=$[c[g]-B]):(U=32+64,rt=0),G=1<<d-E,D=1<<T,x=D;do D-=G,i[ut+(V>>E)+D]=z<<24|U<<16|rt|0;while(D!==0);for(G=1<<d-1;V&G;)G>>=1;if(G!==0?(V&=G-1,V+=G):V=0,g++,--tt[d]===0){if(d===N)break;d=n[e+c[g]]}if(d>p&&(V&mt)!==it){for(E===0&&(E=p),ut+=x,T=d-E,j=1<<T;T+E<N&&(j-=tt[T+E],!(j<=0));)T++,j<<=1;if(k+=1<<T,t===wl&&k>pc||t===vc&&k>gc)return 1;it=V&mt,i[it]=p<<24|T<<16|ut-o|0}}return V!==0&&(i[ut+V]=d-E<<24|64<<16|0),l.bits=p,0};var ho=y0;const x0=0,Xf=1,Qf=2,{Z_FINISH:bc,Z_BLOCK:A0,Z_TREES:ss,Z_OK:Zi,Z_STREAM_END:N0,Z_NEED_DICT:L0,Z_STREAM_ERROR:Qn,Z_DATA_ERROR:tu,Z_MEM_ERROR:eu,Z_BUF_ER
vendor: 8,196 bytes, line 2
2ROR:S0,Z_DEFLATED:wc}=_o,Is=16180,_c=16181,yc=16182,xc=16183,Ac=16184,Nc=16185,Lc=16186,Sc=16187,kc=16188,Pc=16189,Ls=16190,Zr=16191,_l=16192,Ec=16193,yl=16194,Ic=16195,Cc=16196,Fc=16197,Oc=16198,ls=16199,hs=16200,Tc=16201,Rc=16202,jc=16203,Bc=16204,Mc=16205,xl=16206,Dc=16207,qc=16208,je=16209,nu=16210,ru=16211,k0=852,P0=592,E0=15,I0=E0,Uc=t=>(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24);function C0(){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 Yi=t=>{if(!t)return 1;const n=t.state;return!n||n.strm!==t||n.mode<Is||n.mode>ru?1:0},iu=t=>{if(Yi(t))return Qn;const n=t.state;return t.total_in=t.total_out=n.total=0,t.msg="",n.wrap&&(t.adler=n.wrap&1),n.mode=Is,n.last=0,n.havedict=0,n.flags=-1,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new Int32Array(k0),n.distcode=n.distdyn=new Int32Array(P0),n.sane=1,n.back=-1,Zi},au=t=>{if(Yi(t))return Qn;const n=t.state;return n.wsize=0,n.whave=0,n.wnext=0,iu(t)},ou=(t,n)=>{let e;if(Yi(t))return Qn;const r=t.state;return n<0?(e=0,n=-n):(e=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?Qn:(r.window!==null&&r.wbits!==n&&(r.window=null),r.wrap=e,r.wbits=n,au(t))},su=(t,n)=>{if(!t)return Qn;const e=new C0;t.state=e,e.strm=t,e.window=null,e.mode=Is;const r=ou(t,n);return r!==Zi&&(t.state=null),r},F0=t=>su(t,I0);let zc=!0,Al,Nl;const O0=t=>{if(zc){Al=new Int32Array(512),Nl=new Int32Array(32);let n=0;for(;n<144;)t.lens[n++]=8;for(;n<256;)t.lens[n++]=9;for(;n<280;)t.lens[n++]=7;for(;n<288;)t.lens[n++]=8;for(ho(Xf,t.lens,0,288,Al,0,t.work,{bits:9}),n=0;n<32;)t.lens[n++]=5;ho(Qf,t.lens,0,32,Nl,0,t.work,{bits:5}),zc=!1}t.lencode=Al,t.lenbits=9,t.distcode=Nl,t.distbits=5},lu=(t,n,e,r)=>{let i;const o=t.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new Uint8Array(o.wsize)),r>=o.wsize?(o.window.set(n.subarray(e-o.wsize,e),0),o.wnext=0,o.whave=o.wsize):(i=o.wsize-o.wnext,i>r&&(i=r),o.window.set(n.subarray(e-r,e-r+i),o.wnext),r-=i,r?(o.window.set(n.subarray(e-r,e),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0},T0=(t,n)=>{let e,r,i,o,c,l,f,d,g,x,N,p,T,E,j=0,k,V,G,D,it,mt,ut,$;const B=new Uint8Array(4);let tt,L;const F=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Yi(t)||!t.output||!t.input&&t.avail_in!==0)return Qn;e=t.state,e.mode===Zr&&(e.mode=_l),c=t.next_out,i=t.output,f=t.avail_out,o=t.next_in,r=t.input,l=t.avail_in,d=e.hold,g=e.bits,x=l,N=f,$=Zi;t:for(;;)switch(e.mode){case Is:if(e.wrap===0){e.mode=_l;break}for(;g<16;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}if(e.wrap&2&&d===35615){e.wbits===0&&(e.wbits=15),e.check=0,B[0]=d&255,B[1]=d>>>8&255,e.check=sn(e.check,B,2,0),d=0,g=0,e.mode=_c;break}if(e.head&&(e.head.done=!1),!(e.wrap&1)||(((d&255)<<8)+(d>>8))%31){t.msg="incorrect header check",e.mode=je;break}if((d&15)!==wc){t.msg="unknown compression method",e.mode=je;break}if(d>>>=4,g-=4,ut=(d&15)+8,e.wbits===0&&(e.wbits=ut),ut>15||ut>e.wbits){t.msg="invalid window size",e.mode=je;break}e.dmax=1<<e.wbits,e.flags=0,t.adler=e.check=1,e.mode=d&512?Pc:Zr,d=0,g=0;break;case _c:for(;g<16;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}if(e.flags=d,(e.flags&255)!==wc){t.msg="unknown compression method",e.mode=je;break}if(e.flags&57344){t.msg="unknown header flags set",e.mode=je;break}e.head&&(e.head.text=d>>8&1),e.flags&512&&e.wrap&4&&(B[0]=d&255,B[1]=d>>>8&255,e.check=sn(e.check,B,2,0)),d=0,g=0,e.mode=yc;case yc:for(;g<32;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}e.head&&(e.head.time=d),e.flags&512&&e.wrap&4&&(B[0]=d&255,B[1]=d>>>8&255,B[2]=d>>>16&255,B[3]=d>>>24&255,e.check=sn(e.check,B,4,0)),d=0,g=0,e.mode=xc;case xc:for(;g<16;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}e.head&&(e.head.xflags=d&255,e.head.os=d>>8),e.flags&512&&e.wrap&4&&(B[0]=d&255,B[1]=d>>>8&255,e.check=sn(e.check,B,2,0)),d=0,g=0,e.mode=Ac;case Ac:if(e.flags&1024){for(;g<16;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}e.length=d,e.head&&(e.head.extra_len=d),e.flags&512&&e.wrap&4&&(B[0]=d&255,B[1]=d>>>8&255,e.check=sn(e.check,B,2,0)),d=0,g=0}else e.head&&(e.head.extra=null);e.mode=Nc;case Nc:if(e.flags&1024&&(p=e.length,p>l&&(p=l),p&&(e.head&&(ut=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(r.subarray(o,o+p),ut)),e.flags&512&&e.wrap&4&&(e.check=sn(e.check,r,p,o)),l-=p,o+=p,e.length-=p),e.length))break t;e.length=0,e.mode=Lc;case Lc:if(e.flags&2048){if(l===0)break t;p=0;do ut=r[o+p++],e.head&&ut&&e.length<65536&&(e.head.name+=String.fromCharCode(ut));while(ut&&p<l);if(e.flags&512&&e.wrap&4&&(e.check=sn(e.check,r,p,o)),l-=p,o+=p,ut)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=Sc;case Sc:if(e.flags&4096){if(l===0)break t;p=0;do ut=r[o+p++],e.head&&ut&&e.length<65536&&(e.head.comment+=String.fromCharCode(ut));while(ut&&p<l);if(e.flags&512&&e.wrap&4&&(e.check=sn(e.check,r,p,o)),l-=p,o+=p,ut)break t}else e.head&&(e.head.comment=null);e.mode=kc;case kc:if(e.flags&512){for(;g<16;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}if(e.wrap&4&&d!==(e.check&65535)){t.msg="header crc mismatch",e.mode=je;break}d=0,g=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),t.adler=e.check=0,e.mode=Zr;break;case Pc:for(;g<32;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}t.adler=e.check=Uc(d),d=0,g=0,e.mode=Ls;case Ls:if(e.havedict===0)return t.next_out=c,t.avail_out=f,t.next_in=o,t.avail_in=l,e.hold=d,e.bits=g,L0;t.adler=e.check=1,e.mode=Zr;case Zr:if(n===A0||n===ss)break t;case _l:if(e.last){d>>>=g&7,g-=g&7,e.mode=xl;break}for(;g<3;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}switch(e.last=d&1,d>>>=1,g-=1,d&3){case 0:e.mode=Ec;break;case 1:if(O0(e),e.mode=ls,n===ss){d>>>=2,g-=2;break t}break;case 2:e.mode=Cc;break;case 3:t.msg="invalid block type",e.mode=je}d>>>=2,g-=2;break;case Ec:for(d>>>=g&7,g-=g&7;g<32;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}if((d&65535)!==(d>>>16^65535)){t.msg="invalid stored block lengths",e.mode=je;break}if(e.length=d&65535,d=0,g=0,e.mode=yl,n===ss)break t;case yl:e.mode=Ic;case Ic:if(p=e.length,p){if(p>l&&(p=l),p>f&&(p=f),p===0)break t;i.set(r.subarray(o,o+p),c),l-=p,o+=p,f-=p,c+=p,e.length-=p;break}e.mode=Zr;break;case Cc:for(;g<14;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}if(e.nlen=(d&31)+257,d>>>=5,g-=5,e.ndist=(d&31)+1,d>>>=5,g-=5,e.ncode=(d&15)+4,d>>>=4,g-=4,e.nlen>286||e.ndist>30){t.msg="too many length or distance symbols",e.mode=je;break}e.have=0,e.mode=Fc;case Fc:for(;e.have<e.ncode;){for(;g<3;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}e.lens[F[e.have++]]=d&7,d>>>=3,g-=3}for(;e.have<19;)e.lens[F[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,tt={bits:e.lenbits},$=ho(x0,e.lens,0,19,e.lencode,0,e.work,tt),e.lenbits=tt.bits,$){t.msg="invalid code lengths set",e.mode=je;break}e.have=0,e.mode=Oc;case Oc:for(;e.have<e.nlen+e.ndist;){for(;j=e.lencode[d&(1<<e.lenbits)-1],k=j>>>24,V=j>>>16&255,G=j&65535,!(k<=g);){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}if(G<16)d>>>=k,g-=k,e.lens[e.have++]=G;else{if(G===16){for(L=k+2;g<L;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}if(d>>>=k,g-=k,e.have===0){t.msg="invalid bit length repeat",e.mode=je;break}ut=e.lens[e.have-1],p=3+(d&3),d>>>=2,g-=2}else if(G===17){for(L=k+3;g<L;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}d>>>=k,g-=k,ut=0,p=3+(d&7),d>>>=3,g-=3}else{for(L=k+7;g<L;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}d>>>=k,g-=k,ut=0,p=11+(d&127),d>>>=7,g-=7}if(e.have+p>e.nlen+e.ndist){t.msg="invalid bit length repeat",e.mode=je;break}for(;p--;)e.lens[e.have++]=ut}}if(e.mode===je)break;if(e.lens[256]===0){t.msg="invalid code -- missing end-of-block",e.mode=je;break}if(e.lenbits=9,tt={bits:e.lenbits},$=ho(Xf,e.lens,0,e.nlen,e.lencode,0,e.work,tt),e.lenbits=tt.bits,$){t.msg="invalid literal/lengths set",e.mode=je;break}if(e.distbits=6,e.distcode=e.distdyn,tt={bits:e.distbits}
2,$=ho(Qf,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,tt),e.distbits=tt.bits,$){t.msg="invalid distances set",e.mode=je;break}if(e.mode=ls,n===ss)break t;case ls:e.mode=hs;case hs:if(l>=6&&f>=258){t.next_out=c,t.avail_out=f,t.next_in=o,t.avail_in=l,e.hold=d,e.bits=g,m0(t,N),c=t.next_out,i=t.output,f=t.avail_out,o=t.next_in,r=t.input,l=t.avail_in,d=e.hold,g=e.bits,e.mode===Zr&&(e.back=-1);break}for(e.back=0;j=e.lencode[d&(1<<e.lenbits)-1],k=j>>>24,V=j>>>16&255,G=j&65535,!(k<=g);){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}if(V&&!(V&240)){for(D=k,it=V,mt=G;j=e.lencode[mt+((d&(1<<D+it)-1)>>D)],k=j>>>24,V=j>>>16&255,G=j&65535,!(D+k<=g);){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}d>>>=D,g-=D,e.back+=D}if(d>>>=k,g-=k,e.back+=k,e.length=G,V===0){e.mode=Mc;break}if(V&32){e.back=-1,e.mode=Zr;break}if(V&64){t.msg="invalid literal/length code",e.mode=je;break}e.extra=V&15,e.mode=Tc;case Tc:if(e.extra){for(L=e.extra;g<L;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}e.length+=d&(1<<e.extra)-1,d>>>=e.extra,g-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=Rc;case Rc:for(;j=e.distcode[d&(1<<e.distbits)-1],k=j>>>24,V=j>>>16&255,G=j&65535,!(k<=g);){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}if(!(V&240)){for(D=k,it=V,mt=G;j=e.distcode[mt+((d&(1<<D+it)-1)>>D)],k=j>>>24,V=j>>>16&255,G=j&65535,!(D+k<=g);){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}d>>>=D,g-=D,e.back+=D}if(d>>>=k,g-=k,e.back+=k,V&64){t.msg="invalid distance code",e.mode=je;break}e.offset=G,e.extra=V&15,e.mode=jc;case jc:if(e.extra){for(L=e.extra;g<L;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}e.offset+=d&(1<<e.extra)-1,d>>>=e.extra,g-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){t.msg="invalid distance too far back",e.mode=je;break}e.mode=Bc;case Bc:if(f===0)break t;if(p=N-f,e.offset>p){if(p=e.offset-p,p>e.whave&&e.sane){t.msg="invalid distance too far back",e.mode=je;break}p>e.wnext?(p-=e.wnext,T=e.wsize-p):T=e.wnext-p,p>e.length&&(p=e.length),E=e.window}else E=i,T=c-e.offset,p=e.length;p>f&&(p=f),f-=p,e.length-=p;do i[c++]=E[T++];while(--p);e.length===0&&(e.mode=hs);break;case Mc:if(f===0)break t;i[c++]=e.length,f--,e.mode=hs;break;case xl:if(e.wrap){for(;g<32;){if(l===0)break t;l--,d|=r[o++]<<g,g+=8}if(N-=f,t.total_out+=N,e.total+=N,e.wrap&4&&N&&(t.adler=e.check=e.flags?sn(e.check,i,N,c-N):go(e.check,i,N,c-N)),N=f,e.wrap&4&&(e.flags?d:Uc(d))!==e.check){t.msg="incorrect data check",e.mode=je;break}d=0,g=0}e.mode=Dc;case Dc:if(e.wrap&&e.flags){for(;g<32;){if(l===0)break t;l--,d+=r[o++]<<g,g+=8}if(e.wrap&4&&d!==(e.total&4294967295)){t.msg="incorrect length check",e.mode=je;break}d=0,g=0}e.mode=qc;case qc:$=N0;break t;case je:$=tu;break t;case nu:return eu;case ru:default:return Qn}return t.next_out=c,t.avail_out=f,t.next_in=o,t.avail_in=l,e.hold=d,e.bits=g,(e.wsize||N!==t.avail_out&&e.mode<je&&(e.mode<xl||n!==bc))&&lu(t,t.output,t.next_out,N-t.avail_out),x-=t.avail_in,N-=t.avail_out,t.total_in+=x,t.total_out+=N,e.total+=N,e.wrap&4&&N&&(t.adler=e.check=e.flags?sn(e.check,i,N,t.next_out-N):go(e.check,i,N,t.next_out-N)),t.data_type=e.bits+(e.last?64:0)+(e.mode===Zr?128:0)+(e.mode===ls||e.mode===yl?256:0),(x===0&&N===0||n===bc)&&$===Zi&&($=S0),$},R0=t=>{if(Yi(t))return Qn;let n=t.state;return n.window&&(n.window=null),t.state=null,Zi},j0=(t,n)=>{if(Yi(t))return Qn;const e=t.state;return e.wrap&2?(e.head=n,n.done=!1,Zi):Qn},B0=(t,n)=>{const e=n.length;let r,i,o;return Yi(t)||(r=t.state,r.wrap!==0&&r.mode!==Ls)?Qn:r.mode===Ls&&(i=1,i=go(i,n,e,0),i!==r.check)?tu:(o=lu(t,n,e,e),o?(r.mode=nu,eu):(r.havedict=1,Zi))};var M0=au,D0=ou,q0=iu,U0=F0,z0=su,H0=T0,W0=R0,V0=j0,G0=B0,Z0="pako inflate (from Nodeca project)",$r={inflateReset:M0,inflateReset2:D0,inflateResetKeep:q0,inflateInit:U0,inflateInit2:z0,inflate:H0,inflateEnd:W0,inflateGetHeader:V0,inflateSetDictionary:G0,inflateInfo:Z0};function Y0(){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 $0=Y0;const hu=Object.prototype.toString,{Z_NO_FLUSH:K0,Z_FINISH:J0,Z_OK:bo,Z_STREAM_END:Ll,Z_NEED_DICT:Sl,Z_STREAM_ERROR:X0,Z_DATA_ERROR:Hc,Z_MEM_ERROR:Q0}=_o;function xo(t){this.options=Es.assign({chunkSize:1024*64,windowBits:15,to:""},t||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,n.windowBits===0&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(t&&t.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&(n.windowBits&15||(n.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Kf,this.strm.avail_out=0;let e=$r.inflateInit2(this.strm,n.windowBits);if(e!==bo)throw new Error(ya[e]);if(this.header=new $0,$r.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=vo.string2buf(n.dictionary):hu.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(e=$r.inflateSetDictionary(this.strm,n.dictionary),e!==bo)))throw new Error(ya[e])}xo.prototype.push=function(t,n){const e=this.strm,r=this.options.chunkSize,i=this.options.dictionary;let o,c,l;if(this.ended)return!1;for(n===~~n?c=n:c=n===!0?J0:K0,hu.call(t)==="[object ArrayBuffer]"?e.input=new 
2Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){for(e.avail_out===0&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),o=$r.inflate(e,c),o===Sl&&i&&(o=$r.inflateSetDictionary(e,i),o===bo?o=$r.inflate(e,c):o===Hc&&(o=Sl));e.avail_in>0&&o===Ll&&e.state.wrap>0&&t[e.next_in]!==0;)$r.inflateReset(e),o=$r.inflate(e,c);switch(o){case X0:case Hc:case Sl:case Q0:return this.onEnd(o),this.ended=!0,!1}if(l=e.avail_out,e.next_out&&(e.avail_out===0||o===Ll))if(this.options.to==="string"){let f=vo.utf8border(e.output,e.next_out),d=e.next_out-f,g=vo.buf2string(e.output,f);e.next_out=d,e.avail_out=r-d,d&&e.output.set(e.output.subarray(f,f+d),0),this.onData(g)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out));if(!(o===bo&&l===0)){if(o===Ll)return o=$r.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(e.avail_in===0)break}}return!0};xo.prototype.onData=function(t){this.chunks.push(t)};xo.prototype.onEnd=function(t){t===bo&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Es.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function fh(t,n){const e=new xo(n);if(e.push(t),e.err)throw e.msg||ya[e.err];return e.result}function t5(t,n){return n=n||{},n.raw=!0,fh(t,n)}var e5=xo,n5=fh,r5=t5,i5=fh,a5=_o,o5={Inflate:e5,inflate:n5,inflateRaw:r5,ungzip:i5,constants:a5};const{Inflate:s5,inflate:l5,inflateRaw:_d,ungzip:yd}=o5;var Wc=s5,h5=l5;const cu=[];for(let t=0;t<256;t++){let n=t;for(let e=0;e<8;e++)n&1?n=3988292384^n>>>1:n=n>>>1;cu[t]=n}const Vc=4294967295;function c5(t,n,e){let r=t;for(let i=0;i<e;i++)r=cu[(r^n[i])&255]^r>>>8;return r}function f5(t,n){return(c5(Vc,t,n)^Vc)>>>0}function Gc(t,n,e){const r=t.readUint32(),i=f5(new Uint8Array(t.buffer,t.byteOffset+t.offset-n-4,n),n);if(i!==r)throw new Error(`CRC mismatch for chunk ${e}. Expected ${r}, found ${i}`)}function fu(t,n,e){for(let r=0;r<e;r++)n[r]=t[r]}function uu(t,n,e,r){let i=0;for(;i<r;i++)n[i]=t[i];for(;i<e;i++)n[i]=t[i]+n[i-r]&255}function du(t,n,e,r){let i=0;if(e.length===0)for(;i<r;i++)n[i]=t[i];else for(;i<r;i++)n[i]=t[i]+e[i]&255}function pu(t,n,e,r,i){let o=0;if(e.length===0){for(;o<i;o++)n[o]=t[o];for(;o<r;o++)n[o]=t[o]+(n[o-i]>>1)&255}else{for(;o<i;o++)n[o]=t[o]+(e[o]>>1)&255;for(;o<r;o++)n[o]=t[o]+(n[o-i]+e[o]>>1)&255}}function gu(t,n,e,r,i){let o=0;if(e.length===0){for(;o<i;o++)n[o]=t[o];for(;o<r;o++)n[o]=t[o]+n[o-i]&255}else{for(;o<i;o++)n[o]=t[o]+e[o]&255;for(;o<r;o++)n[o]=t[o]+u5(n[o-i],e[o],e[o-i])&255}}function u5(t,n,e){const r=t+n-e,i=Math.abs(r-t),o=Math.abs(r-n),c=Math.abs(r-e);return i<=o&&i<=c?t:o<=c?n:e}function d5(t,n,e,r,i,o){switch(t){case 0:fu(n,e,i);break;case 1:uu(n,e,i,o);break;case 2:du(n,e,r,i);break;case 3:pu(n,e,r,i,o);break;case 4:gu(n,e,r,i,o);break;default:throw new Error(`Unsupported filter: ${t}`)}}const p5=new Uint16Array([255]),g5=new Uint8Array(p5.buffer),m5=g5[0]===255;function v5(t){const{data:n,width:e,height:r,channels:i,depth:o}=t,c=[{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}],l=Math.ceil(o/8)*i,f=new Uint8Array(r*e*l);let d=0;for(let g=0;g<7;g++){const x=c[g],N=Math.ceil((e-x.x)/x.xStep),p=Math.ceil((r-x.y)/x.yStep);if(N<=0||p<=0)continue;const T=N*l,E=new Uint8Array(T);for(let j=0;j<p;j++){const k=n[d++],V=n.subarray(d,d+T);d+=T;const G=new Uint8Array(T);d5(k,V,G,E,T,l),E.set(G);for(let D=0;D<N;D++){const it=x.x+D*x.xStep,mt=x.y+j*x.yStep;if(!(it>=e||mt>=r))for(let ut=0;ut<l;ut++)f[(mt*e+it)*l+ut]=G[D*l+ut]}}}if(o===16){const g=new Uint16Array(f.buffer);if(m5)for(let x=0;x<g.length;x++)g[x]=b5(g[x]);return g}else return f}function b5(t){return(t&255)<<8|t>>8&255}const w5=new Uint16Array([255]),_5=new Uint8Array(w5.buffer),y5=_5[0]===255,x5=new Uint8Array(0);function Zc(t){const{data:n,width:e,height:r,channels:i,depth:o}=t,c=Math.ceil(o/8)*i,l=Math.ceil(o/8*i*e),f=new Uint8Array(r*l);let d=x5,g=0,x,N;for(let p=0;p<r;p++){switch(x=n.subarray(g+1,g+1+l),N=f.subarray(p*l,(p+1)*l),n[g]){case 0:fu(x,N,l);break;case 1:uu(x,N,l,c);break;case 2:du(x,N,d,l);break;case 3:pu(x,N,d,l,c);break;case 4:gu(x,N,d,l,c);break;default:throw new Error(`Unsupported filter: ${n[g]}`)}d=N,g+=l+1}if(o===16){const p=new Uint16Array(f.buffer);if(y5)for(let T=0;T<p.length;T++)p[T]=A5(p[T]);return p}else return f}function A5(t){return(t&255)<<8|t>>8&255}const ms=Uint8Array.of(137,80,78,71,13,10,26,10);function Yc(t){if(!N5(t.readBytes(ms.length)))throw new Error("wrong PNG signature")}function N5(t){if(t.length<ms.length)return!1;for(let n=0;n<ms.length;n++)if(t[n]!==ms[n])return!1;return!0}const L5="tEXt",S5=0,mu=new TextDecoder("latin1");function k5(t){if(E5(t),t.length===0||t.length>79)throw new Error("keyword length must be between 1 and 79")}const P5=/^[\u0000-\u00FF]*$/;function E5(t){if(!P5.test(t))throw new Error("invalid latin1 text")}function I5(t,n,e){const r=vu(n);t[r]=C5(n,e-r.length-1)}function vu(t){for(t.mark();t.readByte()!==S5;);const n=t.offset;t.reset();const e=mu.decode(t.readBytes(n-t.offset-1));return t.skip(1),k5(e),e}function C5(t,n){return mu.decode(t.readBytes(n))}const Dn={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},kl={UNKNOWN:-1,DEFLATE:0},$c={UNKNOWN:-1,ADAPTIVE:0},Pl={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},cs={NONE:0,BACKGROUND:1,PREVIOUS:2},El={SOURCE:0,OVER:1};class F5 extends ih{constructor(e,r={}){super(e);Ne(this,"_checkCrc");Ne(this,"_inflator");Ne(this,"_png");Ne(this,"_apng");Ne(this,"_end");Ne(this,"_hasPalette");Ne(this,"_palette");Ne(this,"_hasTransparency");Ne(this,"_transparency");Ne(this,"_compressionMethod");Ne(this,"_filterMethod");Ne(this,"_interlaceMethod");Ne(this,"_colorType");Ne(this,"_isAnimated");Ne(this,"_numberOfFrames");Ne(this,"_numberOfPlays");Ne(this,"_frames");Ne(this,"_writingDataChunks");const{checkCrc:i=!1}=r;this._checkCrc=i,this._inflator=new Wc,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=kl.UNKNOWN,this._filterMethod=$c.UNKNOWN,this._interlaceMethod=Pl.UNKNOWN,this._colorType=Dn.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Yc(this);!this._end;){const e=this.readUint32(),r=this.readChars(4);this.decodeChunk(e,r)}return this.decodeImage(),this._png}decodeApng(){for(Yc(this);!this._end;){const e=this.readUint32(),r=this.readChars(4);this.decodeApngChunk(e,r)}return this.decodeApngImage(),this._apng}decodeChunk(e,r){const i=this.offset;switch(r){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case L5:I5(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e);break}if(this.offset-i!==e)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?Gc(this,e+4,r):this.skip(4)}decodeApngChunk(e,r){const i=this.offset;switch(r!=="fdAT"&&r!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),r){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,r),this.offset=i+e;break}if(this.offset-i!==e)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?Gc(this,e+4,r):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=O5(this.readUint8());const r=this.readUint8();this._colorType=r;let i;switch(r){case Dn.GREYSCALE:i=1;break;case Dn.TRUECOLOUR:i=3;break;case Dn.INDEXED_COLOUR:i=1;break;case Dn.GREYSCALE_ALPHA:i=2;break;case Dn.TRUECOLOUR_ALPHA:i=4;break;case Dn.UNKNOWN:default:throw new Error(`Unknown color type: ${r}`)}if(this._png.channels=i,this._compressionMethod=this.readUint8(),this._compressionMethod!==kl.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 e={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(e)}
2decodePLTE(e){if(e%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const r=e/3;this._hasPalette=!0;const i=[];this._palette=i;for(let o=0;o<r;o++)i.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const r=e,i=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,i,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let r=e,i=this.offset+this.byteOffset;if(i+=4,r-=4,this._inflator.push(new Uint8Array(this.buffer,i,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case Dn.GREYSCALE:case Dn.TRUECOLOUR:{if(e%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let r=0;r<e/2;r++)this._transparency[r]=this.readUint16();break}case Dn.INDEXED_COLOUR:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alph
2a values than there are palette colors (${e} vs ${this._palette.length})`);let r=0;for(;r<e;r++){const i=this.readByte();this._palette[r].push(i)}for(;r<this._palette.length;r++)this._palette[r].push(255);break}case Dn.UNKNOWN:case Dn.GREYSCALE_ALPHA:case Dn.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const r=vu(this),i=this.readUint8();if(i!==kl.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${i}`);const o=this.readBytes(e-r.length-2);this._png.iccEmbeddedProfile={name:r,profile:h5(o)}}decodepHYs(){const e=this.readUint32(),r=this.readUint32(),i=this.readByte();this._png.resolution={x:e,y:r,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 e=0;e<this._numberOfFrames;e++){const r={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].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(e);if(i){if(i.data=Zc({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),e===0||i.xOffset===0&&i.yOffset===0&&i.width===this._png.width&&i.height===this._png.height)r.data=i.data;else{const o=this._apng.frames.at(e-1);this.disposeFrame(i,o,r),this.addFrameDataToCanvas(r,i)}this._apng.frames.push(r)}}return this._apng}disposeFrame(e,r,i){switch(e.disposeOp){case cs.NONE:break;case cs.BACKGROUND:for(let o=0;o<this._png.height;o++)for(let c=0;c<this._png.width;c++){const l=(o*e.width+c)*this._png.channels;for(let f=0;f<this._png.channels;f++)i.data[l+f]=0}break;case cs.PREVIOUS:i.data.set(r.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,r){const i=1<<this._png.depth,o=(c,l)=>{const f=((c+r.yOffset)*this._png.width+r.xOffset+l)*this._png.channels,d=(c*r.width+l)*this._png.channels;return{index:f,frameIndex:d}};switch(r.blendOp){case El.SOURCE:for(let c=0;c<r.height;c++)for(let l=0;l<r.width;l++){const{index:f,frameIndex:d}=o(c,l);for(let g=0;g<this._png.channels;g++)e.data[f+g]=r.data[d+g]}break;case El.OVER:for(let c=0;c<r.height;c++)for(let l=0;l<r.width;l++){const{index:f,frameIndex:d}=o(c,l);for(let g=0;g<this._png.channels;g++){const x=r.data[d+this._png.channels-1]/i,N=g%(this._png.channels-1)===0?1:r.data[d+g],p=Math.floor(x*N+(1-x)*e.data[f+g]);e.data[f+g]+=p}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){var r;if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const e=this._isAnimated?((r=this._frames)==null?void 0:r.at(0)).data:this._inflator.result;if(this._filterMethod!==$c.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Pl.NO_INTERLACE)this._png.data=Zc({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===Pl.ADAM7)this._png.data=v5({data:e,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 e=this._inflator.result,r=this._frames.at(-1);r?r.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:cs.NONE,blendOp:El.SOURCE,data:e}),this._inflator=new Wc,this._writingDataChunks=!1}}function O5(t){if(t!==1&&t!==2&&t!==4&&t!==8&&t!==16)throw new Error(`invalid bit depth: ${t}`);return t}var Kc;(function(t){t[t.UNKNOWN=0]="UNKNOWN",t[t.METRE=1]="METRE"})(Kc||(Kc={}));function T5(t,n){return new F5(t,n).decode()}var Yt=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function Il(){Yt.console&&typeof Yt.console.log=="function"&&Yt.console.log.apply(Yt.console,arguments)}var Pe={log:Il,warn:function(t){Yt.console&&(typeof Yt.console.warn=="function"?Yt.console.warn.apply(Yt.console,arguments):Il.call(null,arguments))},error:function(t){Yt.console&&(typeof Yt.console.error=="function"?Yt.console.error.apply(Yt.console,arguments):Il(t))}};function Cl(t,n,e){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){Di(r.response,n,e)},r.onerror=function(){Pe.error("could not download file")},r.send()}
2function Jc(t){var n=new XMLHttpRequest;n.open("HEAD",t,!1);try{n.send()}catch{}return n.status>=200&&n.status<=299}function fs(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var n=document.createEvent("MouseEvents");n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}var Di=Yt.saveAs||((typeof window>"u"?"undefined":Le(window))!=="object"||window!==Yt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,n,e){var r=Yt.URL||Yt.webkitURL,i=document.createElement("a");n=n||t.name||"download",i.download=n,i.rel="noopener",typeof t=="string"?(i.href=t,i.origin!==location.origin?Jc(i.href)?Cl(t,n,e):fs(i,i.target="_blank"):fs(i)):(i.href=r.createObjectURL(t),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){fs(i)},0))}:"msSaveOrOpenBlob"in navigator?function(t,n,e){if(n=n||t.name||"download",typeof t=="string")if(Jc(t))Cl(t,n,e);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){fs(r)})}else navigator.msSaveOrOpenBlob(function(i,o){return o===void 0?o={autoBom:!1}:Le(o)!=="object"&&(Pe.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob([String.fromCharCode(65279),i],{type:i.type}):i}(t,e),n)}:function(t,n,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof t=="string")return Cl(t,n,e);var i=t.type==="application/octet-stream",o=/constructor/i.test(Yt.HTMLElement)||Yt.safari,c=/CriOS\/[\d]+/.test(navigator.userAgent);if((c||i&&o)&&(typeof FileReader>"u"?"undefined":Le(FileReader))==="object"){var l=new FileReader;l.onloadend=function(){var g=l.result;g=c?g:g.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=g:location=g,r=null},l.readAsDataURL(t)}else{var f=Yt.URL||Yt.webkitURL,d=f.createObjectURL(t);r?r.location=d:location.href=d,r=null,setTimeout(function(){f.revokeObjectURL(d)},4e4)}});/**
3 * A class to parse color values
4 * @author Stoyan Stefanov <[email protected]>
5 * {@link   http://www.phpied.com/rgb-color-parser-in-javascript/}
6 * @license Use it if you like it
7 */function bu(t){var n;t=t||"",this.ok=!1,t.charAt(0)=="#"&&(t=t.substr(1,6)),t={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
70",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[t=(t=t.replace(/ /g,"")).toLowerCase()]||t;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(l){return[parseInt(l[1]),parseInt(l[2]),parseInt(l[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(l){return[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(l){return[parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16),parseInt(l[3]+l[3],16)]}}],r=0;r<e.length;r++){var i=e[r].re,o=e[r].process,c=i.exec(t);c&&(n=o(c),this.r=n[0],this.g=n[1],this.b=n[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 l=this.r.toString(16),f=this.g.toString(16),d=this.b.toString(16);return l.length==1&&(l="0"+l),f.length==1&&(f="0"+f),d.length==1&&(d="0"+d),"#"+l+f+d}}var vs=Yt.atob.bind(Yt),Xc=Yt.btoa.bind(Yt);/**
8 * @license
9 * Joseph Myers does not specify a particular license for his work.
10 *
11 * Author: Joseph Myers
12 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
13 *
14 * Modified by: Owen Leong
15 */function Fl(t,n){var e=t[0],r=t[1],i=t[2],o=t[3];e=bn(e,r,i,o,n[0],7,-680876936),o=bn(o,e,r,i,n[1],12,-389564586),i=bn(i,o,e,r,n[2],17,606105819),r=bn(r,i,o,e,n[3],22,-1044525330),e=bn(e,r,i,o,n[4],7,-176418897),o=bn(o,e,r,i,n[5],12,1200080426),i=bn(i,o,e,r,n[6],17,-1473231341),r=bn(r,i,o,e,n[7],22,-45705983),e=bn(e,r,i,o,n[8],7,1770035416),o=bn(o,e,r,i,n[9],12,-1958414417),i=bn(i,o,e,r,n[10],17,-42063),r=bn(r,i,o,e,n[11],22,-1990404162),e=bn(e,r,i,o,n[12],7,1804603682),o=bn(o,e,r,i,n[13],12,-40341101),i=bn(i,o,e,r,n[14],17,-1502002290),e=wn(e,r=bn(r,i,o,e,n[15],22,1236535329),i,o,n[1],5,-165796510),o=wn(o,e,r,i,n[6],9,-1069501632),i=wn(i,o,e,r,n[11],14,643717713),r=wn(r,i,o,e,n[0],20,-373897302),e=wn(e,r,i,o,n[5],5,-701558691),o=wn(o,e,r,i,n[10],9,38016083),i=wn(i,o,e,r,n[15],14,-660478335),r=wn(r,i,o,e,n[4],20,-405537848),e=wn(e,r,i,o,n[9],5,568446438),o=wn(o,e,r,i,n[14],9,-1019803690),i=wn(i,o,e,r,n[3],14,-187363961),r=wn(r,i,o,e,n[8],20,1163531501),e=wn(e,r,i,o,n[13],5,-1444681467),o=wn(o,e,r,i,n[2],9,-51403784),i=wn(i,o,e,r,n[7],14,1735328473),e=_n(e,r=wn(r,i,o,e,n[12],20,-1926607734),i,o,n[5],4,-378558),o=_n(o,e,r,i,n[8],11,-2022574463),i=_n(i,o,e,r,n[11],16,1839030562),r=_n(r,i,o,e,n[14],23,-35309556),e=_n(e,r,i,o,n[1],4,-1530992060),o=_n(o,e,r,i,n[4],11,1272893353),i=_n(i,o,e,r,n[7],16,-155497632),r=_n(r,i,o,e,n[10],23,-1094730640),e=_n(e,r,i,o,n[13],4,681279174),o=_n(o,e,r,i,n[0],11,-358537222),i=_n(i,o,e,r,n[3],16,-722521979),r=_n(r,i,o,e,n[6],23,76029189),e=_n(e,r,i,o,n[9],4,-640364487),o=_n(o,e,r,i,n[12],11,-421815835),i=_n(i,o,e,r,n[15],16,530742520),e=yn(e,r=_n(r,i,o,e,n[2],23,-995338651),i,o,n[0],6,-198630844),o=yn(o,e,r,i,n[7],10,1126891415),i=yn(i,o,e,r,n[14],15,-1416354905),r=yn(r,i,o,e,n[5],21,-57434055),e=yn(e,r,i,o,n[12],6,1700485571),o=yn(o,e,r,i,n[3],10,-1894986606),i=yn(i,o,e,r,n[10],15,-1051523),r=yn(r,i,o,e,n[1],21,-2054922799),e=yn(e,r,i,o,n[8],6,1873313359),o=yn(o,e,r,i,n[15],10,-30611744),i=yn(i,o,e,r,n[6],15,-1560198380),r=yn(r,i,o,e,n[13],21,1309151649),e=yn(e,r,i,o,n[4],6,-145523070),o=yn(o,e,r,i,n[11],10,-1120210379),i=yn(i,o,e,r,n[2],15,718787259),r=yn(r,i,o,e,n[9],21,-343485551),t[0]=mi(e,t[0]),t[1]=mi(r,t[1]),t[2]=mi(i,t[2]),t[3]=mi(o,t[3])}function Cs(t,n,e,r,i,o){return n=mi(mi(n,t),mi(r,o)),mi(n<<i|n>>>32-i,e)}
vendor: 4,190 bytes, lines 15-32
15function bn(t,n,e,r,i,o,c){return Cs(n&e|~n&r,t,n,i,o,c)}function wn(t,n,e,r,i,o,c){return Cs(n&r|e&~r,t,n,i,o,c)}function _n(t,n,e,r,i,o,c){return Cs(n^e^r,t,n,i,o,c)}function yn(t,n,e,r,i,o,c){return Cs(e^(n|~r),t,n,i,o,c)}function wu(t){var n,e=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=t.length;n+=64)Fl(r,R5(t.substring(n-64,n)));t=t.substring(n-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n<t.length;n++)i[n>>2]|=t.charCodeAt(n)<<(n%4<<3);if(i[n>>2]|=128<<(n%4<<3),n>55)for(Fl(r,i),n=0;n<16;n++)i[n]=0;return i[14]=8*e,Fl(r,i),r}function R5(t){var n,e=[];for(n=0;n<64;n+=4)e[n>>2]=t.charCodeAt(n)+(t.charCodeAt(n+1)<<8)+(t.charCodeAt(n+2)<<16)+(t.charCodeAt(n+3)<<24);return e}var Qc="0123456789abcdef".split("");function j5(t){for(var n="",e=0;e<4;e++)n+=Qc[t>>8*e+4&15]+Qc[t>>8*e&15];return n}function B5(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function Jl(t){return wu(t).map(B5).join("")}var M5=function(t){for(var n=0;n<t.length;n++)t[n]=j5(t[n]);return t.join("")}(wu("hello"))!="5d41402abc4b2a76b9719d911017c592";function mi(t,n){if(M5){var e=(65535&t)+(65535&n);return(t>>16)+(n>>16)+(e>>16)<<16|65535&e}return t+n&4294967295}/**
16 * @license
17 * FPDF is released under a permissive license: there is no usage restriction.
18 * You may embed it freely in your application (commercial or not), with or
19 * without modifications.
20 *
21 * Reference: http://www.fpdf.org/en/script/script37.php
22 */function Xl(t,n){var e,r,i,o;if(t!==e){for(var c=(i=t,o=1+(256/t.length|0),new Array(o+1).join(i)),l=[],f=0;f<256;f++)l[f]=f;var d=0;for(f=0;f<256;f++){var g=l[f];d=(d+g+c.charCodeAt(f))%256,l[f]=l[d],l[d]=g}e=t,r=l}else l=r;var x=n.length,N=0,p=0,T="";for(f=0;f<x;f++)p=(p+(g=l[N=(N+1)%256]))%256,l[N]=l[p],l[p]=g,c=l[(l[N]+l[p])%256],T+=String.fromCharCode(n.charCodeAt(f)^c);return T}/**
23 * @license
24 * Licensed under the MIT License.
25 * http://opensource.org/licenses/mit-license
26 * Author: Owen Leong (@owenl131)
27 * Date: 15 Oct 2020
28 * References:
29 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
30 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
31 * http://www.fpdf.org/en/script/script37.php
32 */var tf={print:4,modify:8,copy:16,"annot-forms":32};function da(t,n,e,r){this.v=1,this.r=2;var i=192;t.forEach(function(l){if(tf.perm!==void 0)throw new Error("Invalid permission: "+l);i+=tf[l]}),this.padding="(¿N^NuŠAd\0NVÿú�\b..\0¶Ðh>€/\f©þdSiz";var o=(n+this.padding).substr(0,32),c=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,c),this.P=-(1+(255^i)),this.encryptionKey=Jl(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=Xl(this.encryptionKey,this.padding)}function pa(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var n="",e=t.length,r=0;r<e;r++){var i=t.charCodeAt(r);n+=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):t[r]}return n}function ef(t){if(Le(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var n={};this.subscribe=function(e,r,i){if(i=i||!1,typeof e!="string"||typeof r!="function"||typeof i!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");n.hasOwnProperty(e)||(n[e]={});var o=Math.random().toString(35);return n[e][o]=[r,!!i],o},this.unsubscribe=function(e){for(var r in n)if(n[r][e])return delete n[r][e],Object.keys(n[r]).length===0&&delete n[r],!0;return!1},this.publish=function(e){if(n.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var o in n[e]){var c=n[e][o];try{c[0].apply(t,r)}catch(l){Yt.console&&Pe.error("jsPDF PubSub Error",l.message,l)}c[1]&&i.push(o)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return n}}function Ss(t){if(!(this instanceof Ss))return new Ss(t);var n="opacity,stroke-opacity".split(",");for(var e in t)t.hasOwnProperty(e)&&n.indexOf(e)>=0&&(this[e]=t[e]);this.id="",this.objectNumber=-1}function _u(t,n){this.gState=t,this.matrix=n,this.id="",this.objectNumber=-1}
32function qi(t,n,e,r,i){if(!(this instanceof qi))return new qi(t,n,e,r,i);this.type=t==="axial"?2:3,this.coords=n,this.colors=e,_u.call(this,r,i)}function ga(t,n,e,r,i){if(!(this instanceof ga))return new ga(t,n,e,r,i);this.boundingBox=t,this.xStep=n,this.yStep=e,this.stream="",this.cloneIndex=0,_u.call(this,r,i)}function Mt(t){var n,e=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],i=arguments[2],o=arguments[3],c=[],l=1,f=16,d="S",g=null;Le(t=t||{})==="object"&&(e=t.orientation,r=t.unit||r,i=t.format||i,o=t.compress||t.compressPdf||o,(g=t.encryption||null)!==null&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),l=typeof t.userUnit=="number"?Math.abs(t.userUnit):1,t.precision!==void 0&&(n=t.precision),t.floatPrecision!==void 0&&(f=t.floatPrecision),d=t.defaultPathOperation||"S"),c=t.filters||(o===!0?["FlateEncode"]:c),r=r||"mm",e=(""+(e||"P")).toLowerCase();var x=t.putOnlyUsedFonts||!1,N={},p={internal:{},__private__:{}};p.__private__.PubSub=ef;var T="1.3",E=p.__private__.getPdfVersion=function(){return T};p.__private__.setPdfVersion=function(h){T=h};var j={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.__private__.getPageFormats=function(){return j};var k=p.__private__.getPageFormat=function(h){return j[h]};i=i||"a4";var V="compat",G="advanced",D=V;function it(){this.saveGraphicsState(),P(new Gt(ee,0,0,-ee,0,Ei()*ee).toString()+" cm"),this.setFontSize(this.getFontSize()/ee),d="n",D=G}function mt(){this.restoreGraphicsState(),d="S",D=V}var ut=p.__private__.combineFontStyleAndFontWeight=function(h,v){if(h=="bold"&&v=="normal"||h=="bold"&&v==400||h=="normal"&&v=="italic"||h=="bold"&&v=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return v&&(h=v==400||v==="normal"?h==="italic"?"italic":"normal":v!=700&&v!=="bold"||h!=="normal"?(v==700?"bold":v)+""+h:"bold"),h};p.advancedAPI=function(h){var v=D===V;return v&&it.call(this),typeof h!="function"||(h(this),v&&mt.call(this)),this},p.compatAPI=function(h){var v=D===G;return v&&mt.call(this),typeof h!="function"||(h(this),v&&it.call(this)),this},p.isAdvancedAPI=function(){return D===G};var $,B=function(h){if(D!==G)throw new Error(h+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},tt=p.roundToPrecision=p.__private__.roundToPrecision=function(h,v){var O=n||v;if(isNaN(h)||isNaN(O))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return h.toFixed(O).replace(/0+$/,"")};$=p.hpf=p.__private__.hpf=typeof f=="number"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return tt(h,f)}:f==="smart"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return tt(h,h>-1&&h<1?16:5)}:function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return tt(h,16)};var L=p.f2=p.__private__.f2=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f2");return tt(h,2)},F=p.__private__.f3=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.f3");return tt(h,3)},z=p.scale=p.__private__.scale=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.scale");return D===V?h*ee:D===G?h:void 0},U=function(h){return z(function(v){return D===V?Ei()-v:D===G?v:void 0}(h))};p.__private__.setPrecision=p.setPrecision=function(h){typeof parseInt(h,10)=="number"&&(n=parseInt(h,10))};var rt,st="00000000000000000000000000000000",ht=p.__private__.getFileId=function(){return st},nt=p.__private__.setFileId=function(h){return st=h!==void 0&&/^[a-fA-F0-9]{32}$/.test(h)?h.toUpperCase():st.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),g!==null&&(Qe=new da(g.userPermissions,g.userPassword,g.ownerPassword,st)),st};p.setFileId=function(h){return nt(h),this},p.getFileId=function(){return ht()};var ft=p.__private__.convertDateToPDFDate=function(h){var v=h.getTimezoneOffset(),O=v<0?"+":"-",q=Math.floor(Math.abs(v/60)),K=Math.abs(v%60),dt=[O,M(q),"'",M(K),"'"].join("");return["D:",h.getFullYear(),M(h.getMonth()+1),M(h.getDate()),M(h.getHours()),M(h.getMinutes()),M(h.getSeconds()),dt].join("")},At=p.__private__.convertPDFDateToDate=function(h){var v=parseInt(h.substr(2,4),10),O=parseInt(h.substr(6,2),10)-1,q=parseInt(h.substr(8,2),10),K=parseInt(h.substr(10,2),10),dt=parseInt(h.substr(12,2),10),vt=parseInt(h.substr(14,2),10);return new Date(v,O,q,K,dt,vt,0)},wt=p.__private__.setCreationDate=function(h){var v;if(h===void 0&&(h=new Date),h instanceof Date)v=ft(h);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(h))throw new Error("Invalid argument passed to 
32jsPDF.setCreationDate");v=h}return rt=v},y=p.__private__.getCreationDate=function(h){var v=rt;return h==="jsDate"&&(v=At(rt)),v};p.setCreationDate=function(h){return wt(h),this},p.getCreationDate=function(h){return y(h)};var R,M=p.__private__.padd2=function(h){return("0"+parseInt(h)).slice(-2)},H=p.__private__.padd2Hex=function(h){return("00"+(h=h.toString())).substr(h.length)},Y=0,X=[],at=[],ot=0,gt=[],xt=[],kt=!1,St=at;p.__private__.setCustomOutputDestination=function(h){kt=!0,St=h};var Dt=function(h){kt||(St=h)};p.__private__.resetCustomOutputDestination=function(){kt=!1,St=at};var P=p.__private__.out=function(h){return h=h.toString(),ot+=h.length+1,St.push(h),St},Lt=p.__private__.write=function(h){return P(arguments.length===1?h.toString():Array.prototype.join.call(arguments," "))},ae=p.__private__.getArrayBuffer=function(h){for(var v=h.length,O=new ArrayBuffer(v),q=new Uint8Array(O);v--;)q[v]=h.charCodeAt(v);return O},Ht=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];p.__private__.getStandardFonts=function(){return Ht};var _t=t.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(h){return _t=D===G?h/ee:h,this};var Wt,Et=p.__private__.getFontSize=p.getFontSize=function(){return D===V?_t:_t*ee},zt=t.R2L||!1;p.__private__.setR2L=p.setR2L=function(h){return zt=h,this},p.__private__.getR2L=p.getR2L=function(){return zt};var qt,we=p.__private__.setZoomMode=function(h){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(h))Wt=h;else if(isNaN(h)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(h)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+h+'" is not recognized.');Wt=h}else Wt=parseInt(h,10)};p.__private__.getZoomMode=function(){return Wt};var he,Xt=p.__private__.setPageMode=function(h){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(h)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+h+'" is not recognized.');qt=h};p.__private__.getPageMode=function(){return qt};var fe=p.__private__.setLayoutMode=function(h){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(h)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+h+'" is not recognized.');he=h};p.__private__.getLayoutMode=function(){return he},p.__private__.setDisplayMode=p.setDisplayMode=function(h,v,O){return we(h),fe(v),Xt(O),this};var ce={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(h){if(Object.keys(ce).indexOf(h)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return ce[h]},p.__private__.getDocumentProperties=function(){return ce},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(h){for(var v in ce)ce.hasOwnProperty(v)&&h[v]&&(ce[v]=h[v]);return this},p.__private__.setDocumentProperty=function(h,v){if(Object.keys(ce).indexOf(h)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ce[h]=v};var Tt,ee,Bt,ze,ge,oe={},se={},Te=[],Ut={},Ee={},Zt={},Qt={},Re=null,le=0,Vt=[],_e=new ef(p),yi=t.hotfixes||[],mn={},Pr={},ur=[],Gt=function h(v,O,q,K,dt,vt){if(!(this instanceof h))return new h(v,O,q,K,dt,vt);isNaN(v)&&(v=1),isNaN(O)&&(O=0),isNaN(q)&&(q=0),isNaN(K)&&(K=1),isNaN(dt)&&(dt=0),isNaN(vt)&&(vt=0),this._matrix=[v,O,q,K,dt,vt]};Object.defineProperty(Gt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(Gt.prototype,"shy",{get:function(){return this._matrix[
321]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(Gt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(Gt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(Gt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(Gt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(Gt.prototype,"a",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty(Gt.prototype,"b",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty(Gt.prototype,"c",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty(Gt.prototype,"d",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty(Gt.prototype,"e",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty(Gt.prototype,"f",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty(Gt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Gt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Gt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Gt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Gt.prototype.join=function(h){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map($).join(h)},Gt.prototype.multiply=function(h){var v=h.sx*this.sx+h.shy*this.shx,O=h.sx*this.shy+h.shy*this.sy,q=h.shx*this.sx+h.sy*this.shx,K=h.shx*this.shy+h.sy*this.sy,dt=h.tx*this.sx+h.ty*this.shx+this.tx,vt=h.tx*this.shy+h.ty*this.sy+this.ty;return new Gt(v,O,q,K,dt,vt)},Gt.prototype.decompose=function(){var h=this.sx,v=this.shy,O=this.shx,q=this.sy,K=this.tx,dt=this.ty,vt=Math.sqrt(h*h+v*v),Ct=(h/=vt)*O+(v/=vt)*q;O-=h*Ct,q-=v*Ct;var Rt=Math.sqrt(O*O+q*q);return Ct/=Rt,h*(q/=Rt)<v*(O/=Rt)&&(h=-h,v=-v,Ct=-Ct,vt=-vt),{scale:new Gt(vt,0,0,Rt,0,0),translate:new Gt(1,0,0,1,K,dt),rotate:new Gt(h,v,-v,h,0,0),skew:new Gt(1,0,Ct,1,0,0)}},Gt.prototype.toString=function(h){return this.join(" ")},Gt.prototype.inversed=function(){var h=this.sx,v=this.shy,O=this.shx,q=this.sy,K=this.tx,dt=this.ty,vt=1/(h*q-v*O),Ct=q*vt,Rt=-v*vt,$t=-O*vt,ne=h*vt;return new Gt(Ct,Rt,$t,ne,-Ct*K-$t*dt,-Rt*K-ne*dt)},Gt.prototype.applyToPoint=function(h){var v=h.x*this.sx+h.y*this.shx+this.tx,O=h.x*this.shy+h.y*this.sy+this.ty;return new Rr(v,O)},Gt.prototype.applyToRectangle=function(h){var v=this.applyToPoint(h),O=this.applyToPoint(new Rr(h.x+h.w,h.y+h.h));return new Ra(v.x,v.y,O.x-v.x,O.y-v.y)},Gt.prototype.clone=function(){var h=this.sx,v=this.shy,O=this.shx,q=this.sy,K=this.tx,dt=this.ty;return new Gt(h,v,O,q,K,dt)},p.Matrix=Gt;var Er=p.matrixMult=function(h,v){return v.multiply(h)},Ir=new Gt(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=Ir;var Hn=function(h,v){if(!Ee[h]){var O=(v instanceof qi?"Sh":"P")+(Object.keys(Ut).length+1).toString(10);v.id=O,Ee[h]=O,Ut[O]=v,_e.publish("addPattern",v)}};p.ShadingPattern=qi,p.TilingPattern=ga,p.addShadingPattern=function(h,v){return B("addShadingPattern()"),Hn(h,v),this},p.beginTilingPattern=function(h){B("beginTilingPattern()"),ja(h.boundingBox[0],h.boundingBox[1],h.boundingBox[2]-h.boundingBox[0],h.boundingBox[3]-h.boundingBox[1],h.matrix)},p.endTilingPattern=function(h,v){B("endTilingPattern()"),v.stream=xt[R].join(`
33`),Hn(h,v),_e.publish("endTilingPattern",v),ur.pop().restore()};var Wn,Me=p.__private__.newObject=function(){var h=on();return hn(h,!0),h},on=p.__private__.newObjectDeferred=function(){return Y++,X[Y]=function(){return ot},Y},hn=function(h,v){return v=typeof v=="boolean"&&v,X[h]=ot,v&&P(h+" 0 obj"),h},xi=p.__private__.newAdditionalObject=function(){var h={objId:on(),content:""};return gt.push(h),h},Kr=on(),tr=on(),dr=p.__private__.decodeColorString=function(h){var v=h.split(" ");if(v.length!==2||v[1]!=="g"&&v[1]!=="G")v.length!==5||v[4]!=="k"&&v[4]!=="K"||(v=[(1-v[0])*(1-v[3]),(1-v[1])*(1-v[3]),(1-v[2])*(1-v[3]),"r"]);else{var O=parseFloat(v[0]);v=[O,O,O,"r"]}for(var q="#",K=0;K<3;K++)q+=("0"+Math.floor(255*parseFloat(v[K])).toString(16)).slice(-2);return q},er=p.__private__.encodeColorString=function(h){var v;typeof h=="string"&&(h={ch1:h});var O=h.ch1,q=h.ch2,K=h.ch3,dt=h.ch4,vt=h.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];
33if(typeof O=="string"&&O.charAt(0)!=="#"){var Ct=new bu(O);if(Ct.ok)O=Ct.toHex();else if(!/^\d*\.?\d*$/.test(O))throw new Error('Invalid color "'+O+'" passed to jsPDF.encodeColorString.')}if(typeof O=="string"&&/^#[0-9A-Fa-f]{3}$/.test(O)&&(O="#"+O[1]+O[1]+O[2]+O[2]+O[3]+O[3]),typeof O=="string"&&/^#[0-9A-Fa-f]{6}$/.test(O)){var Rt=parseInt(O.substr(1),16);O=Rt>>16&255,q=Rt>>8&255,K=255&Rt}if(q===void 0||dt===void 0&&O===q&&q===K)v=typeof O=="string"?O+" "+vt[0]:h.precision===2?L(O/255)+" "+vt[0]:F(O/255)+" "+vt[0];else if(dt===void 0||Le(dt)==="object"){if(dt&&!isNaN(dt.a)&&dt.a===0)return["1.","1.","1.",vt[1]].join(" ");v=typeof O=="string"?[O,q,K,vt[1]].join(" "):h.precision===2?[L(O/255),L(q/255),L(K/255),vt[1]].join(" "):[F(O/255),F(q/255),F(K/255),vt[1]].join(" ")}else v=typeof O=="string"?[O,q,K,dt,vt[2]].join(" "):h.precision===2?[L(O),L(q),L(K),L(dt),vt[2]].join(" "):[F(O),F(q),F(K),F(dt),vt[2]].join(" ");return v},nr=p.__private__.getFilters=function(){return c},Vn=p.__private__.putStream=function(h){var v=(h=h||{}).data||"",O=h.filters||nr(),q=h.alreadyAppliedFilters||[],K=h.addLength1||!1,dt=v.length,vt=h.objectId,Ct=function(tn){return tn};if(g!==null&&vt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");g!==null&&(Ct=Qe.encryptor(vt,0));var Rt={};O===!0&&(O=["FlateEncode"]);var $t=h.additionalKeyValues||[],ne=(Rt=Mt.API.processDataByFilters!==void 0?Mt.API.processDataByFilters(v,O):{data:v,reverseChain:[]}).reverseChain+(Array.isArray(q)?q.join(" "):q.toString());if(Rt.data.length!==0&&($t.push({key:"Length",value:Rt.data.length}),K===!0&&$t.push({key:"Length1",value:dt})),ne.length!=0)if(ne.split("/").length-1==1)$t.push({key:"Filter",value:ne});else{$t.push({key:"Filter",value:"["+ne+"]"});for(var me=0;me<$t.length;me+=1)if($t[me].key==="DecodeParms"){for(var Be=[],Je=0;Je<Rt.reverseChain.split("/").length-1;Je+=1)Be.push("null");Be.push($t[me].value),$t[me].value="["+Be.join(" ")+"]"}}P("<<");for(var Ie=0;Ie<$t.length;Ie++)P("/"+$t[Ie].key+" "+$t[Ie].value);P(">>"),Rt.data.length!==0&&(P("stream"),P(Ct(Rt.data)),P("endstream"))},Ai=p.__private__.putPage=function(h){var v=h.number,O=h.data,q=h.objId,K=h.contentsObjId;hn(q,!0),P("<</Type /Page"),P("/Parent "+h.rootDictionaryObjId+" 0 R"),P("/Resources "+h.resourceDictionaryObjId+" 0 R"),P("/MediaBox ["+parseFloat($(h.mediaBox.bottomLeftX))+" "+parseFloat($(h.mediaBox.bottomLeftY))+" "+$(h.mediaBox.topRightX)+" "+$(h.mediaBox.topRightY)+"]"),h.cropBox!==null&&P("/CropBox ["+$(h.cropBox.bottomLeftX)+" "+$(h.cropBox.bottomLeftY)+" "+$(h.cropBox.topRightX)+" "+$(h.cropBox.topRightY)+"]"),h.bleedBox!==null&&P("/BleedBox ["+$(h.bleedBox.bottomLeftX)+" "+$(h.bleedBox.bottomLeftY)+" "+$(h.bleedBox.topRightX)+" "+$(h.bleedBox.topRightY)+"]"),h.trimBox!==null&&P("/TrimBox ["+$(h.trimBox.bottomLeftX)+" "+$(h.trimBox.bottomLeftY)+" "+$(h.trimBox.topRightX)+" "+$(h.trimBox.topRightY)+"]"),h.artBox!==null&&P("/ArtBox ["+$(h.artBox.bottomLeftX)+" "+$(h.artBox.bottomLeftY)+" "+$(h.artBox.topRightX)+" "+$(h.artBox.topRightY)+"]"),typeof h.userUnit=="number"&&h.userUnit!==1&&P("/UserUnit "+h.userUnit),_e.publish("putPage",{objId:q,pageContext:Vt[v],pageNumber:v,page:O}),P("/Contents "+K+" 0 R"),P(">>"),P("endobj");var dt=O.join(`
34`);return D===G&&(dt+=`
35Q`),hn(K,!0),Vn({data:dt,filters:nr(),objectId:K}),P("endobj"),q},pr=p.__private__.putPages=function(){var h,v,O=[];for(h=1;h<=le;h++)Vt[h].objId=on(),Vt[h].contentsObjId=on();for(h=1;h<=le;h++)O.push(Ai({number:h,data:xt[h],objId:Vt[h].objId,contentsObjId:Vt[h].contentsObjId,mediaBox:Vt[h].mediaBox,cropBox:Vt[h].cropBox,bleedBox:Vt[h].bleedBox,trimBox:Vt[h].trimBox,artBox:Vt[h].artBox,userUnit:Vt[h].userUnit,rootDictionaryObjId:Kr,resourceDictionaryObjId:tr}));hn(Kr,!0),P("<</Type /Pages");var q="/Kids [";for(v=0;v<le;v++)q+=O[v]+" 0 R ";P(q+"]"),P("/Count "+le),P(">>"),P("endobj"),_e.publish("postPutPages")},Ni=function(h){_e.publish("putFont",{font:h,out:P,newObject:Me,putStream:Vn}),h.isAlreadyPutted!==!0&&(h.objectNumber=Me(),P("<<"),P("/Type /Font"),P("/BaseFont /"+pa(h.postScriptName)),P("/Subtype /Type1"),typeof h.encoding=="string"&&P("/Encoding /"+h.encoding),P("/FirstChar 32"),P("/LastChar 255"),P(">>"),P("endobj"))},Ki=function(h){h.objectNumber=Me();var v=[];v.push({key:"Type",value:"/XObject"}),v.push({key:"Subtype",value:"/Form"}),v.push({key:"BBox",value:"["+[$(h.x),$(h.y),$(h.x+h.width),$(h.y+h.height)].join(" ")+"]"}),v.push({key:"Matrix",value:"["+h.matrix.toString()+"]"});var O=h.pages[1].join(`
36`);Vn({data:O,additionalKeyValues:v,objectId:h.objectNumber}
vendor: 4,250 bytes, line 36
36),P("endobj")},Ji=function(h,v){v||(v=21);var O=Me(),q=function(vt,Ct){var Rt,$t=[],ne=1/(Ct-1);for(Rt=0;Rt<1;Rt+=ne)$t.push(Rt);if($t.push(1),vt[0].offset!=0){var me={offset:0,color:vt[0].color};vt.unshift(me)}if(vt[vt.length-1].offset!=1){var Be={offset:1,color:vt[vt.length-1].color};vt.push(Be)}for(var Je="",Ie=0,tn=0;tn<$t.length;tn++){for(Rt=$t[tn];Rt>vt[Ie+1].offset;)Ie++;var Xe=vt[Ie].offset,cn=(Rt-Xe)/(vt[Ie+1].offset-Xe),Mr=vt[Ie].color,ir=vt[Ie+1].color;Je+=H(Math.round((1-cn)*Mr[0]+cn*ir[0]).toString(16))+H(Math.round((1-cn)*Mr[1]+cn*ir[1]).toString(16))+H(Math.round((1-cn)*Mr[2]+cn*ir[2]).toString(16))}return Je.trim()}(h.colors,v),K=[];K.push({key:"FunctionType",value:"0"}),K.push({key:"Domain",value:"[0.0 1.0]"}),K.push({key:"Size",value:"["+v+"]"}),K.push({key:"BitsPerSample",value:"8"}),K.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),K.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Vn({data:q,additionalKeyValues:K,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:O}),P("endobj"),h.objectNumber=Me(),P("<< /ShadingType "+h.type),P("/ColorSpace /DeviceRGB");var dt="/Coords ["+$(parseFloat(h.coords[0]))+" "+$(parseFloat(h.coords[1]))+" ";h.type===2?dt+=$(parseFloat(h.coords[2]))+" "+$(parseFloat(h.coords[3])):dt+=$(parseFloat(h.coords[2]))+" "+$(parseFloat(h.coords[3]))+" "+$(parseFloat(h.coords[4]))+" "+$(parseFloat(h.coords[5])),P(dt+="]"),h.matrix&&P("/Matrix ["+h.matrix.toString()+"]"),P("/Function "+O+" 0 R"),P("/Extend [true true]"),P(">>"),P("endobj")},Xi=function(h,v){var O=on(),q=Me();v.push({resourcesOid:O,objectOid:q}),h.objectNumber=q;var K=[];K.push({key:"Type",value:"/Pattern"}),K.push({key:"PatternType",value:"1"}),K.push({key:"PaintType",value:"1"}),K.push({key:"TilingType",value:"1"}),K.push({key:"BBox",value:"["+h.boundingBox.map($).join(" ")+"]"}),K.push({key:"XStep",value:$(h.xStep)}),K.push({key:"YStep",value:$(h.yStep)}),K.push({key:"Resources",value:O+" 0 R"}),h.matrix&&K.push({key:"Matrix",value:"["+h.matrix.toString()+"]"}),Vn({data:h.stream,additionalKeyValues:K,objectId:h.objectNumber}),P("endobj")},Fs=function(h){for(var v in h.objectNumber=Me(),P("<<"),h)switch(v){case"opacity":P("/ca "+L(h[v]));break;case"stroke-opacity":P("/CA "+L(h[v]))}P(">>"),P("endobj")},ka=function(h){hn(h.resourcesOid,!0),P("<<"),P("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var v in P("/Font <<"),oe)oe.hasOwnProperty(v)&&(x===!1||x===!0&&N.hasOwnProperty(v))&&P("/"+v+" "+oe[v].objectNumber+" 0 R");P(">>")}(),function(){if(Object.keys(Ut).length>0){for(var v in P("/Shading <<"),Ut)Ut.hasOwnProperty(v)&&Ut[v]instanceof qi&&Ut[v].objectNumber>=0&&P("/"+v+" "+Ut[v].objectNumber+" 0 R");_e.publish("putShadingPatternDict"),P(">>")}}(),function(v){if(Object.keys(Ut).length>0){for(var O in P("/Pattern <<"),Ut)Ut.hasOwnProperty(O)&&Ut[O]instanceof p.TilingPattern&&Ut[O].objectNumber>=0&&Ut[O].objectNumber<v&&P("/"+O+" "+Ut[O].objectNumber+" 0 R");_e.publish("putTilingPatternDict"),P(">>")}}(h.objectOid),function(){if(Object.keys(Zt).length>0){var v;for(v in P("/ExtGState <<"),Zt)Zt.hasOwnProperty(v)&&Zt[v].objectNumber>=0&&P("/"+v+" "+Zt[v].objectNumber+" 0 R");_e.publish("putGStateDict"),P(">>")}}(),function(){for(var v in P("/XObject <<"),mn)mn.hasOwnProperty(v)&&mn[v].objectNumber>=0&&P("/"+v+" "+mn[v].objectNumber+" 0 R");_e.publish("putXobjectDict"),P(">>")}(),P(">>"),P("endobj")},Ao=function(h){se[h.fontName]=se[h.fontName]||{},se[h.fontName][h.fontStyle]=h.id},No=function(h,v,O,q,K){var dt={id:"F"+(Object.keys(oe).length+1).toString(10),postScriptName:h,fontName:v,fontStyle:O,encoding:q,isStandardFont:K||!1,metadata:{}};return _e.publish("addFont",{font:dt,instance:this}),oe[dt.id]=dt,Ao(dt),dt.id},Gn=p.__private__.pdfEscape=p.pdfEscape=function(h,v){return function(O,q){var K,dt,vt,Ct,Rt,$t,ne,me,Be;if(vt=(q=q||{}).sourceEncoding||"Unicode",Rt=q.outputEncoding,(q.autoencode||Rt)&&oe[Tt].metadata&&oe[Tt].metadata[vt]&&oe[Tt].metadata[vt].encoding&&(Ct=oe[Tt].metadata[vt].encoding,!Rt&&oe[Tt].encoding&&(Rt=oe[Tt].encoding),!Rt&&Ct.codePages&&(Rt=Ct.codePages[0]),typeof Rt=="string"&&(Rt=Ct[Rt]),Rt)){for(ne=!1,$t=[],K=0,dt=O.length;K<dt;K++)(me=Rt[O.charCodeAt(K)])?$t.push(String.fromCharCode(me)):$t.push(O[K]),$t[K].charCo
36deAt(0)>>8&&(ne=!0);O=$t.join("")}for(K=O.length;ne===void 0&&K!==0;)O.charCodeAt(K-1)>>8&&(ne=!0),K--;if(!ne)return O;for($t=q.noBOM?[]:[254,255],K=0,dt=O.length;K<dt;K++){if((Be=(me=O.charCodeAt(K))>>8)>>8)throw new Error("Character at position "+K+" of string '"+O+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");$t.push(Be),$t.push(me-(Be<<8))}return String.fromCharCode.apply(void 0,$t)}(h,v).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Pa=p.__private__.beginPage=function(h){xt[++le]=[],Vt[le]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(h[0]),topRightY:Number(h[1])}},So(le),Dt(xt[R])},Lo=function(h,v){var O,q,K;switch(e=v||e,typeof h=="string"&&(O=k(h.toLowerCase()),Array.isArray(O)&&(q=O[0],K=O[1])),Array.isArray(h)&&(q=h[0]*ee,K=h[1]*ee),isNaN(q)&&(q=i[0],K=i[1]),(q>14400||K>14400)&&(Pe.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),q=Math.min(14400,q),K=Math.min(14400,K)),i=[q,K],e.substr(0,1)){case"l":K>q&&(i=[K,q]);break;case"p":q>K&&(i=[K,q])}Pa(i),Kt(Ca),P(na),Oa!==0&&P(Oa+" J"),Ta!==0&&P(Ta+" j"),_e.publish("addPage",{pageNumber:le})},Ea=function(h){h>0&&h<=le&&(xt.splice(h,1),Vt.splice(h,1),le--,R>le&&(R=le),this.setPage(R))},So=function(h){h>0&&h<=le&&(R=h)},ko=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return xt.length-1},Po=function(h,v,O){var q,K=void 0;return O=O||{},h=h!==void 0?h:oe[Tt].fontName,v=v!==void 0?v:oe[Tt].fontStyle,q=h.toLowerCase(),se[q]!==void 0&&se[q][v]!==void 0?K=se[q][v]:se[h]!==void 0&&se[h][v]!==void 0?K=se[h][v]:O.disableWarning===!1&&Pe.warn("Unable to look up font label for font '"+h+"', '"+v+"'. Refer to getFontList() for available fonts."),K||O.noFallback||(K=se.times[v])==null&&(K=se.times.normal),K},gr=p.__private__.putInfo=function(){var h=Me(),v=function(q){return q};for(var O in g!==null&&(v=Qe.encryptor(h,0)),P("<<"),P("/Producer ("+Gn(v("jsPDF "+Mt.version))+")"),ce)ce.hasOwnProperty(O)&&ce[O]&&P("/"+O.substr(0,1).toUpperCase()+O.substr(1)+" ("+Gn(v(ce[O]))+")");P("/CreationDate ("+Gn(v(rt))+")"),P(">>"),P("endobj")},Qi=p.__private__.putCatalog=function(h){var v=(h=h||{}).rootDictionaryObjId||Kr;switch(Me(),P("<<"),P("/Type /Catalog"),P("/Pages "+v+" 0 R"),Wt||(Wt="fullwidth"),Wt){case"fullwidth":P("/OpenAction [3 0 R /FitH null]");break;case"fullheight":P("/OpenAction [3 0 R /FitV null]");break;case"fullpage":P("/OpenAction [3 0 R /Fit]");break;case"original":P("/OpenAction [3 0 R /XYZ null null 1]");break;default:var O=""+Wt;O.substr(O.length-1)==="%"&&(Wt=parseInt(Wt)/100),typeof Wt=="number"&&P("/OpenAction [3 0 R /XYZ null null "+L(Wt)+"]")}switch(he||(he="continuous"),he){case"continuous":P("/PageLayout /OneColumn");break;case"single":P("/PageLayout /SinglePage");break;case"two":case"twoleft":P("/PageLayout /TwoColumnLeft");break;case"tworight":P("/PageLayout /TwoColumnRight")}qt&&P("/PageMode /"+qt),_e.publish("putCatalog"),P(">>"),P("endobj")},Os=p.__private__.putTrailer=function(){P("trailer"),P("<<"),P("/Size "+(Y+1)),P("/Root "+Y+" 0 R"),P("/Info "+(Y-1)+" 0 R"),g!==null&&P("/Encrypt "+Qe.oid+" 0 R"),P("/ID [ <"+st+"> <"+st+"> ]"),P(">>")},Ke=p.__private__.putHeader=function(){P("%PDF-"+T),P("%ºß¬à")},Eo=p.__private__.putXRef=function(){var h="0000000000";P("xref"),P("0 "+(Y+1)),P("0000000000 65535 f ");for(var v=1;v<=Y;v++)typeof X[v]=="function"?P((h+X[v]()).slice(-10)+" 00000 n "):X[v]!==void 0?P((h+X[v]).slice(-10)+" 00000 n "):P("0000000000 00000 n ")},mr=p.__private__.buildDocument=function(){var h;Y=0,ot=0,at=[],X=[],gt=[],Kr=on(),tr=on(),Dt(at),_e.publish("buildDocument"),Ke(),pr(),function(){_e.publish("putAdditionalObjects");for(var O=0;O<gt.length;O++){var q=gt[O];hn(q.objId,!0),P(q.content),P("endobj")}_e.publish("postPutAdditionalObjects")}(),h=[],function(){for(var O in oe)oe.hasOwnProperty(O)&&(x===!1||x===!0&&N.hasOwnProperty(O))&&Ni(oe[O])}(),function(){var O;for(O in Zt)Zt.hasOwnProperty(O)&&Fs(Zt[O])}(),function(){for(var O in mn)mn.hasOwnProperty(O)&&Ki(mn[O])}(),function(O){var q;for(q in Ut)Ut.hasOwnProperty(q)&&(Ut[q]instanceof qi?Ji(Ut[q]):Ut[q]instanceof ga&&Xi(Ut[q],O))}(h),_e.publish("putResources"),h.forEach(ka),ka({resourcesOid:tr,objectOid:Number.MAX_SAFE_INTEGER}),_e.publish("postPutResources"),g!==null&&(Qe.oid=Me(),P("<<"),P("/Filter /Standard"),P("/V "+Qe.v),P("/R "+Qe.r),P("/U <"+Qe.toHexString(Qe.U)+">"),P("/O <"+Qe.toHexString(Qe.O)+">"),P("/P "+Qe.P),P(">>"),P("endobj")),gr(),Qi();var v=ot;return Eo(),Os(),P("startxref"),P(""+v),P("%%EOF"),Dt(xt[R]),at.join(`
37`)},ta=p.__private__.getBlob=function(h){return new Blob([ae(h)],{type:"application/pdf"})},Io=p.output=p.__private__.output=(Wn=function(h,v){switch(typeof(v=v||{})=="string"?v={filename:v}:v.filename=v.filename||"generated.pdf",h){case void 0:return mr();case"save":p.save(v.filename);break;case"arraybuffer":return ae(mr());case"blob":return ta(mr());case"bloburi":case"bloburl":if(Yt.URL!==void 0&&typeof Yt.URL.createObjectURL=="function")return Yt.URL&&Yt.URL.createObjectURL(ta(mr()))||void 0;Pe.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var O="",q=mr();try{O=Xc(q)}catch{O=Xc(unescape(encodeURIComponent(q)))}return"data:application/pdf;filename="+v.filename+";base64,"+O;
37case"pdfobjectnewwindow":if(Object.prototype.toString.call(Yt)==="[object Window]"){var K="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",dt=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';v.pdfObjectUrl&&(K=v.pdfObjectUrl,dt="");var vt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+K+'"'+dt+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(v)+");<\/script></body></html>",Ct=Yt.open();return Ct!==null&&Ct.document.write(vt),Ct}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Yt)==="[object Window]"){var Rt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(v.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+v.filename+'" width="500px" height="400px" /></body></html>',$t=Yt.open();if($t!==null){$t.document.write(Rt);var ne=this;$t.document.documentElement.querySelector("#pdfViewer").onload=function(){$t.document.title=v.filename,$t.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(ne.output("bloburl"))}}return $t}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Yt)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var me='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",v)+'"></iframe></body></html>',Be=Yt.open();if(Be!==null&&(Be.document.write(me),Be.document.title=v.filename),Be||typeof safari>"u")return Be;break;case"datauri":case"dataurl":return Yt.document.location.href=this.output("datauristring",v);default:return null}},Wn.foo=function(){try{return Wn.apply(this,arguments)}catch(O){var h=O.stack||"";~h.indexOf(" at ")&&(h=h.split(" at ")[1]);var v="Error in function "+h.split(`
38`)[0].split("<")[0]+": "+O.message;if(!Yt.console)throw new Error(v);Yt.console.error(v,O),Yt.alert&&alert(v)}},Wn.foo.bar=Wn,Wn.foo),Zn=function(h){return Array.isArray(yi)===!0&&yi.indexOf(h)>-1};switch(r){case"pt":ee=1;break;case"mm":ee=72/25.4;break;case"cm":ee=72/2.54;break;case"in":ee=72;break;case"px":ee=Zn("px_scaling")==1?.75:96/72;break;case"pc":case"em":ee=12;break;case"ex":ee=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);ee=r}var Qe=null;wt(),nt();var Cr=p.__private__.getPageInfo=p.getPageInfo=function(h){if(isNaN(h)||h%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Vt[h].objId,pageNumber:h,pageContext:Vt[h]}},Co=p.__private__.getPageInfoByObjId=function(h){if(isNaN(h)||h%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var v in Vt)if(Vt[v].objId===h)break;return Cr(v)},Ts=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:Vt[R].objId,pageNumber:R,pageContext:Vt[R]}};p.addPage=function(){return Lo.apply(this,arguments),this},p.setPage=function(){return So.apply(this,arguments),Dt.call(this,xt[R]),this},p.insertPage=function(h){return this.addPage(),this.movePage(R,h),this},p.movePage=function(h,v){var O,q;if(h>v){O=xt[h],q=Vt[h];for(var K=h;K>v;K--)xt[K]=xt[K-1],Vt[K]=Vt[K-1];xt[v]=O,Vt[v]=q,this.setPage(v)}else if(h<v){O=xt[h],q=Vt[h];for(var dt=h;dt<v;dt++)xt[dt]=xt[dt+1],Vt[dt]=Vt[dt+1];xt[v]=O,Vt[v]=q,this.setPage(v)}return this},p.deletePage=function(){return Ea.apply(this,arguments),this},p.__private__.text=p.text=function(h,v,O,q,K){var dt,vt,Ct,Rt,$t,ne,me,Be,Je,Ie=(q=q||{}).scope||this;if(typeof h=="number"&&typeof v=="number"&&(typeof O=="string"||Array.isArray(O))){var tn=O;O=v,v=h,h=tn}if(arguments[3]instanceof Gt==0?(Ct=arguments[4],Rt=arguments[5],Le(me=arguments[3])==="object"&&me!==null||(typeof Ct=="string"&&(Rt=Ct,Ct=null),typeof me=="string"&&(Rt=me,me=null),typeof me=="number"&&(Ct=me,me=null),q={flags:me,angle:Ct,align:Rt})):(B("The transform parameter of text() with a Matrix value"),Je=K),isNaN(v)||isNaN(O)||h==null)throw new Error("Invalid arguments passed to 
38jsPDF.text");if(h.length===0)return Ie;var Xe,cn="",Mr=typeof q.lineHeightFactor=="number"?q.lineHeightFactor:Si,ir=Ie.internal.scaleFactor;function Dr(ye){return ye=ye.split("	").join(Array(q.TabLen||9).join(" ")),Gn(ye,me)}function Ma(ye){for(var Se,We=ye.concat(),en=[],zr=We.length;zr--;)typeof(Se=We.shift())=="string"?en.push(Se):Array.isArray(ye)&&(Se.length===1||Se[1]===void 0&&Se[2]===void 0)?en.push(Se[0]):en.push([Se[0],Se[1],Se[2]]);return en}function ia(ye,Se){var We;if(typeof ye=="string")We=Se(ye)[0];else if(Array.isArray(ye)){for(var en,zr,Ya=ye.concat(),sa=[],zo=Ya.length;zo--;)typeof(en=Ya.shift())=="string"?sa.push(Se(en)[0]):Array.isArray(en)&&typeof en[0]=="string"&&(zr=Se(en[0],en[1],en[2]),sa.push([zr[0],zr[1],zr[2]]));We=sa}return We}var Jr=!1,Ii=!0;if(typeof h=="string")Jr=!0;else if(Array.isArray(h)){var Ci=h.concat();vt=[];for(var Xr,fn=Ci.length;fn--;)(typeof(Xr=Ci.shift())!="string"||Array.isArray(Xr)&&typeof Xr[0]!="string")&&(Ii=!1);Jr=Ii}if(Jr===!1)throw new Error('Type of text must be string or Array. "'+h+'" is not recognized.');typeof h=="string"&&(h=h.match(/[\r?\n]/)?h.split(/\r\n|\r|\n/g):[h]);var Fi=_t/Ie.internal.scaleFactor,Oi=Fi*(Mr-1);switch(q.baseline){case"bottom":O-=Oi;break;case"top":O+=Fi-Oi;break;case"hanging":O+=Fi-2*Oi;break;case"middle":O+=Fi/2-Oi}if((ne=q.maxWidth||0)>0&&(typeof h=="string"?h=Ie.splitTextToSize(h,ne):Object.prototype.toString.call(h)==="[object Array]"&&(h=h.reduce(function(ye,Se){return ye.concat(Ie.splitTextToSize(Se,ne))},[]))),dt={text:h,x:v,y:O,options:q,mutex:{pdfEscape:Gn,activeFontKey:Tt,fonts:oe,activeFontSize:_t}},_e.publish("preProcessText",dt),h=dt.text,Ct=(q=dt.options).angle,Je instanceof Gt==0&&Ct&&typeof Ct=="number"){Ct*=Math.PI/180,q.rotationDirection===0&&(Ct=-Ct),D===G&&(Ct=-Ct);var Da=Math.cos(Ct),qa=Math.sin(Ct);Je=new Gt(Da,qa,-qa,Da,0,0)}else Ct&&Ct instanceof Gt&&(Je=Ct);D!==G||Je||(Je=Ir),($t=q.charSpace||Tr)!==void 0&&(cn+=$(z($t))+` Tc
39`,this.setCharSpace(this.getCharSpace()||0)),(Be=q.horizontalScale)!==void 0&&(cn+=$(100*Be)+` Tz
40`),q.lang;var xn=-1,qr=q.renderingMode!==void 0?q.renderingMode:q.stroke,aa=Ie.internal.getCurrentPageInfo().pageContext;switch(qr){case 0:case!1:case"fill":xn=0;break;case 1:case!0:case"stroke":xn=1;break;case 2:case"fillThenStroke":xn=2;break;case 3:case"invisible":xn=3;break;case 4:case"fillAndAddForClipping":xn=4;break;case 5:case"strokeAndAddPathForClipping":xn=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":xn=6;break;case 7:case"addToPathForClipping":xn=7}var qo=aa.usedRenderingMode!==void 0?aa.usedRenderingMode:-1;xn!==-1?cn+=xn+` Tr
41`:qo!==-1&&(cn+=`0 Tr
42`),xn!==-1&&(aa.usedRenderingMode=xn),Rt=q.align||"left";var Yn,Ti=_t*Mr,Ua=Ie.internal.pageSize.getWidth(),za=oe[Tt];$t=q.charSpace||Tr,ne=q.maxWidth||0,me=Object.assign({autoencode:!0,noBOM:!0},q.flags);var Qr=[],Ri=function(ye){return Ie.getStringUnitWidth(ye,{font:za,charSpace:$t,fontSize:_t,doKerning:!1})*_t/ir};if(Object.prototype.toString.call(h)==="[object Array]"){var Cn;vt=Ma(h),Rt!=="left"&&(Yn=vt.map(Ri));var Fn,ti=0;if(Rt==="right"){v-=Yn[0],h=[],fn=vt.length;for(var Ur=0;Ur<fn;Ur++)Ur===0?(Fn=Fr(v),Cn=Or(O)):(Fn=z(ti-Yn[Ur]),Cn=-Ti),h.push([vt[Ur],Fn,Cn]),ti=Yn[Ur]}else if(Rt==="center"){v-=Yn[0]/2,h=[],fn=vt.length;for(var ei=0;ei<fn;ei++)ei===0?(Fn=Fr(v),Cn=Or(O)):(Fn=z((ti-Yn[ei])/2),Cn=-Ti),h.push([vt[ei],Fn,Cn]),ti=Yn[ei]}else if(Rt==="left"){h=[],fn=vt.length;for(var Ha=0;Ha<fn;Ha++)h.push(vt[Ha])}else if(Rt==="justify"&&za.encoding==="Identity-H"){h=[],fn=vt.length,ne=ne!==0?ne:Ua;for(var oa=0,He=0;He<fn;He++)if(Cn=He===0?Or(O):-Ti,Fn=He===0?Fr(v):oa,He<fn-1){var Uo=z((ne-Yn[He])/(vt[He].split(" ").length-1)),br=vt[He].split(" ");h.push([br[0]+" ",Fn,Cn]),oa=0;for(var wr=1;wr<br.length;wr++){var Wa=(Ri(br[wr-1]+" "+br[wr])-Ri(br[wr]))*ir+Uo;wr==br.length-1?h.push([br[wr],Wa,0]):h.push([br[wr]+" ",Wa,0]),oa-=Wa}}else h.push([vt[He],Fn,Cn]);h.push(["",oa,0])}else{if(Rt!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(h=[],fn=vt.length,ne=ne!==0?ne:Ua,He=0;He<fn;
42He++){Cn=He===0?Or(O):-Ti,Fn=He===0?Fr(v):0;var Va=vt[He].split(" ").length-1,Ga=Va>0?(ne-Yn[He])/Va:0;He<fn-1?Qr.push($(z(Ga))):Qr.push(0),h.push([vt[He],Fn,Cn])}}}(typeof q.R2L=="boolean"?q.R2L:zt)===!0&&(h=ia(h,function(ye,Se,We){return[ye.split("").reverse().join(""),Se,We]})),dt={text:h,x:v,y:O,options:q,mutex:{pdfEscape:Gn,activeFontKey:Tt,fonts:oe,activeFontSize:_t}},_e.publish("postProcessText",dt),h=dt.text,Xe=dt.mutex.isHex||!1;var Za=oe[Tt].encoding;Za!=="WinAnsiEncoding"&&Za!=="StandardEncoding"||(h=ia(h,function(ye,Se,We){return[Dr(ye),Se,We]})),vt=Ma(h),h=[];for(var ni,ri,ii,ji=Array.isArray(vt[0])?1:0,ai="",Bi=function(ye,Se,We){var en="";return We instanceof Gt?(We=typeof q.angle=="number"?Er(We,new Gt(1,0,0,1,ye,Se)):Er(new Gt(1,0,0,1,ye,Se),We),D===G&&(We=Er(new Gt(1,0,0,-1,0,0),We)),en=We.join(" ")+` Tm
43`):en=$(ye)+" "+$(Se)+` Td
44`,en},$n=0;$n<vt.length;$n++){switch(ai="",ji){case 1:ii=(Xe?"<":"(")+vt[$n][0]+(Xe?">":")"),ni=parseFloat(vt[$n][1]),ri=parseFloat(vt[$n][2]);break;case 0:ii=(Xe?"<":"(")+vt[$n]+(Xe?">":")"),ni=Fr(v),ri=Or(O)}Qr!==void 0&&Qr[$n]!==void 0&&(ai=Qr[$n]+` Tw
45`),$n===0?h.push(ai+Bi(ni,ri,Je)+ii):ji===0?h.push(ai+ii):ji===1&&h.push(ai+Bi(ni,ri,Je)+ii)}h=ji===0?h.join(` Tj
46T* `):h.join(` Tj
47`),h+=` Tj
48`;var _r=`BT
49/`;return _r+=Tt+" "+_t+` Tf
50`,_r+=$(_t*Mr)+` TL
51`,_r+=ki+`
52`,_r+=cn,_r+=h,P(_r+="ET"),N[Tt]=!0,Ie};var Rs=p.__private__.clip=p.clip=function(h){return P(h==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return Rs("evenodd")},p.__private__.discardPath=p.discardPath=function(){return P("n"),this};var vr=p.__private__.isValidStyle=function(h){var v=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(h)!==-1&&(v=!0),v};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(h){return vr(h)&&(d=h),this};var Fo=p.__private__.getStyle=p.getStyle=function(h){var v=d;switch(h){case"D":case"S":v="S";break;case"F":v="f";break;case"FD":case"DF":v="B";break;case"f":case"f*":case"B":case"B*":v=h}return v},Oo=p.close=function(){return P("h"),this};p.stroke=function(){return P("S"),this},p.fill=function(h){return ea("f",h),this},p.fillEvenOdd=function(h){return ea("f*",h),this},p.fillStroke=function(h){return ea("B",h),this},p.fillStrokeEvenOdd=function(h){return ea("B*",h),this};var ea=function(h,v){Le(v)==="object"?Bs(v,h):P(h)},Li=function(h){h===null||D===G&&h===void 0||(h=Fo(h),P(h))};function js(h,v,O,q,K){var dt=new ga(v||this.boundingBox,O||this.xStep,q||this.yStep,this.gState,K||this.matrix);dt.stream=this.stream;var vt=h+"$$"+this.cloneIndex+++"$$";return Hn(vt,dt),dt}var Bs=function(h,v){var O=Ee[h.key],q=Ut[O];if(q instanceof qi)P("q"),P(Ms(v)),q.gState&&p.setGState(q.gState),P(h.matrix.toString()+" cm"),P("/"+O+" sh"),P("Q");else if(q instanceof ga){var K=new Gt(1,0,0,-1,0,Ei());h.matrix&&(K=K.multiply(h.matrix||Ir),O=js.call(q,h.key,h.boundingBox,h.xStep,h.yStep,K).id),P("q"),P("/Pattern cs"),P("/"+O+" scn"),q.gState&&p.setGState(q.gState),P(v),P("Q")}},Ms=function(h){switch(h){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"}},Ia=p.moveTo=function(h,v){return P($(z(h))+" "+$(U(v))+" m"),this},To=p.lineTo=function(h,v){return P($(z(h))+" "+$(U(v))+" l"),this},rr=p.curveTo=function(h,v,O,q,K,dt){return P([$(z(h)),$(U(v)),$(z(O)),$(U(q)),$(z(K)),$(U(dt)),"c"].join(" ")),this};p.__private__.line=p.line=function(h,v,O,q,K){if(isNaN(h)||isNaN(v)||isNaN(O)||isNaN(q)||!vr(K))throw new Error("Invalid arguments passed to jsPDF.line");return D===V?this.lines([[O-h,q-v]],h,v,[1,1],K||"S"):this.lines([[O-h,q-v]],h,v,[1,1]).stroke()},p.__private__.lines=p.lines=function(h,v,O,q,K,dt){var vt,Ct,Rt,$t,ne,me,Be,Je,Ie,tn,Xe,cn;if(typeof h=="number"&&(cn=O,O=v,v=h,h=cn),q=q||[1,1],dt=dt||!1,isNaN(v)||isNaN(O)||!Array.isArray(h)||!Array.isArray(q)||!vr(K)||typeof dt!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Ia(v,O),vt=q[0],Ct=q[1],$t=h.length,tn=v,Xe=O,Rt=0;Rt<$t;Rt++)(ne=h[Rt]).length===2?(tn=ne[0]*vt+tn,Xe=ne[1]*Ct+Xe,To(tn,Xe)):(me=ne[0]*vt+tn,Be=ne[1]*Ct+Xe,Je=ne[2]*vt+tn,Ie=ne[3]*Ct+Xe,tn=ne[4]*vt+tn,Xe=ne[5]*Ct+Xe,rr(me,Be,Je,Ie,tn,Xe));return dt&&Oo(),Li(K),this},p.path=function(h){for(var v=0;v<h.length;v++){var O=h[v],q=O.c;switch(O.op){case"m":Ia(q[0],q[1]);break;case"l":To(q[0],q[1]);break;case"c":rr.apply(this,q);break;case"h":Oo()}}return this},p.__private__.rect=p.rect=function(h,v,O,q,K){if(isNaN(h)||isNaN(v)||isNaN(O)||isNaN(q)||!vr(K))throw new Error("Invalid arguments passed to 
52jsPDF.rect");return D===V&&(q=-q),P([$(z(h)),$(U(v)),$(z(O)),$(z(q)),"re"].join(" ")),Li(K),this},p.__private__.triangle=p.triangle=function(h,v,O,q,K,dt,vt){if(isNaN(h)||isNaN(v)||isNaN(O)||isNaN(q)||isNaN(K)||isNaN(dt)||!vr(vt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[O-h,q-v],[K-O,dt-q],[h-K,v-dt]],h,v,[1,1],vt,!0),this},p.__private__.roundedRect=p.roundedRect=function(h,v,O,q,K,dt,vt){if(isNaN(h)||isNaN(v)||isNaN(O)||isNaN(q)||isNaN(K)||isNaN(dt)||!vr(vt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Ct=4/3*(Math.SQRT2-1);return K=Math.min(K,.5*O),dt=Math.min(dt,.5*q),this.lines([[O-2*K,0],[K*Ct,0,K,dt-dt*Ct,K,dt],[0,q-2*dt],[0,dt*Ct,-K*Ct,dt,-K,dt],[2*K-O,0],[-K*Ct,0,-K,-dt*Ct,-K,-dt],[0,2*dt-q],[0,-dt*Ct,K*Ct,-dt,K,-dt]],h+K,v,[1,1],vt,!0),this},p.__private__.ellipse=p.ellipse=function(h,v,O,q,K){if(isNaN(h)||isNaN(v)||isNaN(O)||isNaN(q)||!vr(K))throw new Error("Invalid arguments passed to jsPDF.ellipse");var dt=4/3*(Math.SQRT2-1)*O,vt=4/3*(Math.SQRT2-1)*q;return Ia(h+O,v),rr(h+O,v-vt,h+dt,v-q,h,v-q),rr(h-dt,v-q,h-O,v-vt,h-O,v),rr(h-O,v+vt,h-dt,v+q,h,v+q),rr(h+dt,v+q,h+O,v+vt,h+O,v),Li(K),this},p.__private__.circle=p.circle=function(h,v,O,q){if(isNaN(h)||isNaN(v)||isNaN(O)||!vr(q))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(h,v,O,O,q)},p.setFont=function(h,v,O){return O&&(v=ut(v,O)),Tt=Po(h,v,{disableWarning:!1}),this};var Ds=p.__private__.getFont=p.getFont=function(){return oe[Po.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var h,v,O={};for(h in se)if(se.hasOwnProperty(h))for(v in O[h]=[],se[h])se[h].hasOwnProperty(v)&&O[h].push(v);return O},p.addFont=function(h,v,O,q,K){var dt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&dt.indexOf(arguments[3])!==-1?K=arguments[3]:arguments[3]&&dt.indexOf(arguments[3])==-1&&(O=ut(O,q)),No.call(this,h,v,O,K=K||"Identity-H")};var Si,Ca=t.lineWidth||.200025,qs=p.__private__.getLineWidth=p.getLineWidth=function(){return Ca},Kt=p.__private__.setLineWidth=p.setLineWidth=function(h){return Ca=h,P($(z(h))+" w"),this};p.__private__.setLineDash=Mt.API.setLineDash=Mt.API.setLineDashPattern=function(h,v){if(h=h||[],v=v||0,isNaN(v)||!Array.isArray(h))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return h=h.map(function(O){return $(z(O))}).join(" "),v=$(z(v)),P("["+h+"] "+v+" d"),this};var Us=p.__private__.getLineHeight=p.getLineHeight=function(){return _t*Si};p.__private__.getLineHeight=p.getLineHeight=function(){return _t*Si};var zs=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(h){return typeof(h=h||1.15)=="number"&&(Si=h),this},Hs=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return Si};zs(t.lineHeight);var Fr=p.__private__.getHorizontalCoordinate=function(h){return z(h)},Or=p.__private__.getVerticalCoordinate=function(h){return D===G?h:Vt[R].mediaBox.topRightY-Vt[R].mediaBox.bottomLeftY-z(h)},Ws=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(h){return $(Fr(h))},Vs=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(h){return $(Or(h))},na=t.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return dr(na)},p.__private__.setStrokeColor=p.setDrawColor=function(h,v,O,q){return na=er({ch1:h,ch2:v,ch3:O,ch4:q,pdfColorType:"draw",precision:2}),P(na),this};var Fa=t.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return dr(Fa)},p.__private__.setFillColor=p.setFillColor=function(h,v,O,q){return Fa=er({ch1:h,ch2:v,ch3:O,ch4:q,pdfColorType:"fill",precision:2}),P(Fa),this};var ki=t.textColor||"0 g",Gs=p.__private__.getTextColor=p.getTextColor=function(){return dr(ki)};p.__private__.setTextColor=p.setTextColor=function(h,v,O,q){return ki=er({ch1:h,ch2:v,ch3:O,ch4:q,pdfColorType:"text",precision:3}),this};var Tr=t.charSpace,Zs=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(Tr||0)};p.__private__.setCharSpace=p.setCharSpace=function(h){if(isNaN(h))throw new Error("Invalid argument passed to 
52jsPDF.setCharSpace");return Tr=h,this};var Oa=0;p.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},p.__private__.setLineCap=p.setLineCap=function(h){var v=p.CapJoinStyles[h];if(v===void 0)throw new Error("Line cap style of '"+h+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Oa=v,P(v+" J"),this};var Ta=0;p.__private__.setLineJoin=p.setLineJoin=function(h){var v=p.CapJoinStyles[h];if(v===void 0)throw new Error("Line join style of '"+h+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ta=v,P(v+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(h){if(h=h||0,isNaN(h))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return P($(z(h))+" M"),this},p.GState=Ss,p.setGState=function(h){(h=typeof h=="string"?Zt[Qt[h]]:Ro(null,h)).equals(Re)||(P("/"+h.id+" gs"),Re=h)};var Ro=function(h,v){if(!h||!Qt[h]){var O=!1;for(var q in Zt)if(Zt.hasOwnProperty(q)&&Zt[q].equals(v)){O=!0;break}if(O)v=Zt[q];else{var K="GS"+(Object.keys(Zt).length+1).toString(10);Zt[K]=v,v.id=K}return h&&(Qt[h]=v.id),_e.publish("addGState",v),v}};p.addGState=function(h,v){return Ro(h,v),this},p.saveGraphicsState=function(){return P("q"),Te.push({key:Tt,size:_t,color:ki}),this},p.restoreGraphicsState=function(){P("Q");var h=Te.pop();return Tt=h.key,_t=h.size,ki=h.color,Re=null,this},p.setCurrentTransformationMatrix=function(h){return P(h.toString()+" cm"),this},p.comment=function(h){return P("#"+h),this};var Rr=function(h,v){var O=h||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return O},set:function(dt){isNaN(dt)||(O=parseFloat(dt))}});var q=v||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return q},set:function(dt){isNaN(dt)||(q=parseFloat(dt))}});var K="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return K},set:function(dt){K=dt.toString()}}),this},Ra=function(h,v,O,q){Rr.call(this,h,v),this.type="rect";var K=O||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return K},set:function(vt){isNaN(vt)||(K=parseFloat(vt))}});var dt=q||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return dt},set:function(vt){isNaN(vt)||(dt=parseFloat(vt))}}),this},ra=function(){this.page=le,this.currentPage=R,this.pages=xt.slice(0),this.pagesContext=Vt.slice(0),this.x=Bt,this.y=ze,this.matrix=ge,this.width=Ba(R),this.height=Bo(R),this.outputDestination=St,this.id="",this.objectNumber=-1};ra.prototype.restore=function(){le=this.page,R=this.currentPage,Vt=this.pagesContext,xt=this.pages,Bt=this.x,ze=this.y,ge=this.matrix,jo(R,this.width),jr(R,this.height),St=this.outputDestination};var ja=function(h,v,O,q,K){ur.push(new ra),le=R=0,xt=[],Bt=h,ze=v,ge=K,Pa([O,q])};for(var Pi in p.beginFormObject=function(h,v,O,q,K){return ja(h,v,O,q,K),this},p.endFormObject=function(h){return function(v){if(Pr[v])ur.pop().restore();else{var O=new ra,q="Xo"+(Object.keys(mn).length+1).toString(10);O.id=q,Pr[v]=q,mn[q]=O,_e.publish("addFormObject",O),ur.pop().restore()}}(h),this},p.doFormObject=function(h,v){var O=mn[Pr[h]];return P("q"),P(v.toString()+" cm"),P("/"+O.id+" Do"),P("Q"),this},p.getFormObject=function(h){var v=mn[Pr[h]];return{x:v.x,y:v.y,width:v.width,height:v.height,matrix:v.matrix}},p.save=function(h,v){return h=h||"generated.pdf",(v=v||{}).returnPromise=v.returnPromise||!1,v.returnPromise===!1?(Di(ta(mr()),h),typeof Di.unload=="function"&&Yt.setTimeout&&setTimeout(Di.unload,911),this):new Promise(function(O,q){try{var K=Di(ta(mr()),h);typeof Di.unload=="function"&&Yt.setTimeout&&setTimeout(Di.unload,911),O(K)}catch(dt){q(dt.message)}})},Mt.API)Mt.API.hasOwnProperty(Pi)&&(Pi==="events"&&Mt.API.events.length?function(h,v){var O,q,K;for(K=v.length-1;K!==-1;K--)O=v[K][0],q=v[K][1],h.subscribe.apply(h,[O].concat(typeof q=="function"?[q]:q))}(_e,Mt.API.events):p[Pi]=Mt.API[Pi]);function Ba(h){return Vt[h].mediaBox.topRightX-Vt[h].mediaBox.bottomLeftX}function jo(h,v){Vt[h].mediaBox.topRightX=v+Vt[h].mediaBox.bottomLeftX}function Bo(h){return Vt[h].mediaBox.topRightY-Vt[h].mediaBox.bottomLeftY}function jr(h,v){Vt[h].mediaBox.topRightY=v+Vt[h].mediaBox.bottomLeftY}var Br=p.getPageWidth=function(h){return Ba(h=h||R)/ee},Mo=p.setPageWidth=function(h,v){jo(h,v*ee)},Ei=p.getPageHeight=function(h){return Bo(h=h||R)/ee},Do=p.setPageHeight=function(h,v){jr(h,v*ee)};return p.internal={pdfEscape:Gn,getStyle:Fo,getFont:Ds,getFontSize:Et,getCharSpace:Zs,getTextColor:Gs,getLineHeight:Us,getLineHeightFactor:Hs,getLineWidth:qs,write:Lt,getHorizontalCoordinate:Fr,getVerticalCoordinate:Or,getCoordinateString:Ws,getVerticalCoordinateString:Vs,collections:{},newObject:Me,newAdditionalObject:xi,newObjectDeferred:on,newObjectDeferredBegin:hn,getFilters:nr,putStream:Vn,events:_e,scaleFactor:ee,pageSize:{getWidth:function(){return Br(R)},setWidth:function(h){Mo(R,h)},getHeight:function(){return Ei(R)},setHeight:function(h){Do(R,h)}},encryptionOptions:g,encryption:Qe,getEncryptor:function(h){return g!==null?Qe.encryptor(h,0):function(v){return v}},output:Io,getNumberOfPages:ko,get pages(){return xt},out:P,f2:L,f3:F,getPageInfo:Cr,getPageInfoByObjId:Co,getCurrentPageInfo:Ts,getPDFVersion:E,Point:Rr,Rectangle:Ra,Matrix:Gt,hasHotfix:Zn},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return Br(R)},set:function(h){Mo(R,h)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Ei(R)},set:function(h){Do(R,h)},enumerable:!0,configurable:!0}),(function(h){for(var v=0,O=Ht.length;v<O;v++){var q=No.call(this,h[v][0],h[v][1],h[v][2],Ht[v][3],!0);x===!1&&(N[q]=!0);var K=h[v][0].split("-");Ao({id:q,fontName:K[0],fontStyle:K[1]||""})}_e.publish("addFonts",{fonts:oe,dictionary:se})}).call(p,Ht),Tt="F1",Lo(i,e),_e.publish("initialized"),p}da.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},da.prototype.toHexString=function(t){return t.split("").map(function(n){return("0"+(255&n.charCo
vendor: 5,134 bytes, lines 52-59
52deAt(0)).toString(16)).slice(-2)}).join("")},da.prototype.hexToBytes=function(t){for(var n=[],e=0;e<t.length;e+=2)n.push(String.fromCharCode(parseInt(t.substr(e,2),16)));return n.join("")},da.prototype.processOwnerPassword=function(t,n){return Xl(Jl(n).substr(0,5),t)},da.prototype.encryptor=function(t,n){var e=Jl(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&n,n>>8&255)).substr(0,10);return function(r){return Xl(e,r)}},Ss.prototype.equals=function(t){var n,e="id,objectNumber,equals";if(!t||Le(t)!==Le(this))return!1;var r=0;for(n in this)if(!(e.indexOf(n)>=0)){if(this.hasOwnProperty(n)&&!t.hasOwnProperty(n)||this[n]!==t[n])return!1;r++}for(n in t)t.hasOwnProperty(n)&&e.indexOf(n)<0&&r--;return r===0},Mt.API={events:[]},Mt.version="4.0.0";var Ue=Mt.API,uh=1,$i=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},fa=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Jt=function(t){return t.toFixed(2)},di=function(t){return t.toFixed(5)};Ue.__acroform__={};var In=function(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t},nf=function(t){return t*uh},xr=function(t){var n=new xu,e=It.internal.getHeight(t)||0,r=It.internal.getWidth(t)||0;return n.BBox=[0,0,Number(Jt(r)),Number(Jt(e))],n},D5=Ue.__acroform__.setBit=function(t,n){if(t=t||0,n=n||0,isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return t|1<<n},q5=Ue.__acroform__.clearBit=function(t,n){if(t=t||0,n=n||0,isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return t&~(1<<n)},U5=Ue.__acroform__.getBit=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return t&1<<n?1:0},Ze=Ue.__acroform__.getBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return U5(t,n-1)},Ye=Ue.__acroform__.setBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return D5(t,n-1)},$e=Ue.__acroform__.clearBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return q5(t,n-1)},z5=Ue.__acroform__.calculateCoordinates=function(t,n){var e=n.internal.getHorizontalCoordinate,r=n.internal.getVerticalCoordinate,i=t[0],o=t[1],c=t[2],l=t[3],f={};return f.lowerLeft_X=e(i)||0,f.lowerLeft_Y=r(o+l)||0,f.upperRight_X=e(i+c)||0,f.upperRight_Y=r(o)||0,[Number(Jt(f.lowerLeft_X)),Number(Jt(f.lowerLeft_Y)),Number(Jt(f.upperRight_X)),Number(Jt(f.upperRight_Y))]},H5=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var n=[],e=t._V||t.DV,r=Ql(t,e),i=t.scope.internal.getFont(t.fontName,t.fontStyle).id;n.push("/Tx BMC"),n.push("q"),n.push("BT"),n.push(t.scope.__private__.encodeColorString(t.color)),n.push("/"+i+" "+Jt(r.fontSize)+" Tf"),n.push("1 0 0 1 0 0 Tm"),n.push(r.text),n.push("ET"),n.push("Q"),n.push("EMC");var o=xr(t);return o.scope=t.scope,o.stream=n.join(`
53`),o}},Ql=function(t,n){var e=t.fontSize===0?t.maxFontSize:t.fontSize,r={text:"",fontSize:""},i=(n=(n=n.substr(0,1)=="("?n.substr(1):n).substr(n.length-1)==")"?n.substr(0,n.length-1):n).split(" ");i=t.multiline?i.map(function(L){return L.split(`
54`)}):i.map(function(L){return[L]});var o=e,c=It.internal.getHeight(t)||0;c=c<0?-c:c;var l=It.internal.getWidth(t)||0;l=l<0?-l:l;var f=function(L,F,z){if(L+1<i.length){var U=F+" "+i[L+1][0];return us(U,t,z).width<=l-4}return!1};o++;t:for(;o>0;){n="",o--;var d,g,x=us("3",t,o).height,N=t.multiline?c-o:(c-x)/2,p=N+=2,T=0,E=0,j=0;if(o<=0){n=`(...) Tj
55`,n+="% Width of Text: "+us(n,t,o=12).width+", FieldWidth:"+l+`
56`;break}for(var k="",V=0,G=0;G<i.length;G++)if(i.hasOwnProperty(G)){var D=!1;if(i[G].length!==1&&j!==i[G].length-1){if((x+2)*(V+2)+2>c)continue t;k+=i[G][j],D=!0,E=G,G--}else{k=(k+=i[G][j]+" ").substr(k.length-1)==" "?k.substr(0,k.length-1):k;var it=parseInt(G),mt=f(it,k,o),ut=G>=i.length-1;if(mt&&!ut){k+=" ",j=0;continue}if(mt||ut){if(ut)E=it;else if(t.multiline&&(x+2)*(V+2)+2>c)continue t}else{if(!t.multiline||(x+2)*(V+2)+2>c)continue t;E=it}}for(var $="",B=T;B<=E;B++){var tt=i[B];if(t.multiline){if(B===E){$+=tt[j]+" ",j=(j+1)%tt.length;continue}if(B===T){$+=tt[tt.length-1]+" ";continue}}$+=tt[0]+" "}switch($=$.substr($.length-1)==" "?$.substr(0,$.length-1):$,g=us($,t,o).width,t.textAlign){case"right":d=l-g-2;break;case"center":d=(l-g)/2;break;default:d=2}n+=Jt(d)+" "+Jt(p)+` Td
57`,n+="("+$i($)+`) Tj
58`,n+=-Jt(d)+` 0 Td
59`,p=-(o+2),g=0,T=D?E:E+1,V++,k=""}break}return r.text=n,r.fontSize=o,r},us=function(t,n,e){var r=n.scope.internal.getFont(n.fontName,n.fontStyle),i=n.scope.getStringUnitWidth(t,{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:n.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:i}},W5={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},V5=function(t,n){var e={type:"reference",object:t};
59n.internal.getPageInfo(t.page).pageContext.annotations.find(function(r){return r.type===e.type&&r.object===e.object})===void 0&&n.internal.getPageInfo(t.page).pageContext.annotations.push(e)},G5=function(t,n){if(n.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(cr.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(W5)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");uh=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new Au,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){(function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0})(t)}),t.internal.events.subscribe("buildDocument",function(){(function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in r)if(r.hasOwnProperty(i)){var o=r[i];o.objId=void 0,o.hasAnnotation&&V5(o,e)}})(t)}),t.internal.events.subscribe("putCatalog",function(){(function(e){if(e.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(t)}),t.internal.events.subscribe("postPutPages",function(e){(function(r,i){var o=!r;for(var c in r||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(c)){var l=r[c],f=[],d=l.Rect;
59if(l.Rect&&(l.Rect=z5(l.Rect,i)),i.internal.newObjectDeferredBegin(l.objId,!0),l.DA=It.createDefaultAppearanceStream(l),Le(l)==="object"&&typeof l.getKeyValueListForStream=="function"&&(f=l.getKeyValueListForStream()),l.Rect=d,l.hasAppearanceStream&&!l.appearanceStreamContent){var g=H5(l);f.push({key:"AP",value:"<</N "+g+">>"}),i.internal.acroformPlugin.xForms.push(g)}if(l.appearanceStreamContent){var x="";for(var N in l.appearanceStreamContent)if(l.appearanceStreamContent.hasOwnProperty(N)){var p=l.appearanceStreamContent[N];if(x+="/"+N+" ",x+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var c in p)if(p.hasOwnProperty(c)){var T=p[c];typeof T=="function"&&(T=T.call(i,l)),x+="/"+c+" "+T+" ",i.internal.acroformPlugin.xForms.indexOf(T)>=0||i.internal.acroformPlugin.xForms.push(T)}}else typeof(T=p)=="function"&&(T=T.call(i,l)),x+="/"+c+" "+T,i.internal.acroformPlugin.xForms.indexOf(T)>=0||i.internal.acroformPlugin.xForms.push(T);x+=">>"}f.push({key:"AP",value:`<<
60`+x+">>"})}i.internal.putStream({additionalKeyValues:f,objectId:l.objId}),i.internal.out("endobj")}o&&function(E,j){for(var k in E)if(E.hasOwnProperty(k)){var V=k,G=E[k];j.internal.newObjectDeferredBegin(G.objId,!0),Le(G)==="object"&&typeof G.putStream=="function"&&G.putStream(),delete E[V]}}(i.internal.acroformPlugin.xForms,i)})(e,t)}),t.internal.acroformPlugin.isInitialized=!0}},yu=Ue.__acroform__.arrayToPdfArray=function(t,n,e){var r=function(c){return c};if(Array.isArray(t)){for(var i="[",o=0;o<t.length;o++)switch(o!==0&&(i+=" "),Le(t[o])){case"boolean":case"number":case"object":i+=t[o].toString();break;case"string":t[o].substr(0,1)!=="/"?(n!==void 0&&e&&(r=e.internal.getEncryptor(n)),i+="("+$i(r(t[o].toString()))+")"):i+=t[o].toString()}return i+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Ol=function(t,n,e){var r=function(i){return i};return n!==void 0&&e&&(r=e.internal.getEncryptor(n)),(t=t||"").toString(),"("+$i(r(t))+")"},Nr=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(t){this._objId=t}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Nr.prototype.toString=function(){return this.objId+" 0 R"},Nr.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},Nr.prototype.getKeyValueListForStream=function(){var t=[],n=Object.getOwnPropertyNames(this).filter(function(o){return o!="content"&&o!="appearanceStreamContent"&&o!="scope"&&o!="objId"&&o.substring(0,1)!="_"});for(var e in n)if(Object.getOwnPropertyDescriptor(this,n[e]).configurable===!1){var r=n[e],i=this[r];i&&(Array.isArray(i)?t.push({key:r,value:yu(i,this.objId,this.scope)}):i instanceof Nr?(i.scope=this.scope,t.push({key:r,value:i.objId+" 0 R"})):typeof i!="function"&&t.push({key:r,value:i}))}return t};var xu=function(){Nr.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 t,n=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){t=e.trim()},get:function(){return t||null}})};In(xu,Nr);var Au=function(){Nr.call(this);var t,n=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return n.length>0?n:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return n}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(r){return r};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+$i(e(t))+")"}}
60,set:function(e){t=e}})};In(Au,Nr);var cr=function t(){Nr.call(this);var n=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return n},set:function(k){if(isNaN(k))throw new Error('Invalid value "'+k+'" for attribute F supplied.');n=k}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Ze(n,3)},set:function(k){k?this.F=Ye(n,3):this.F=$e(n,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(k){if(isNaN(k))throw new Error('Invalid value "'+k+'" for attribute Ff supplied.');e=k}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(k){r=k!==void 0?k:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(k){r[0]=k}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(k){r[1]=k}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(k){r[2]=k}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(k){r[3]=k}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(k){switch(k){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=k;break;default:throw new Error('Invalid value "'+k+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof ks)return;o="FieldObject"+t.FieldNum++}var k=function(V){return V};return this.scope&&(k=this.scope.internal.getEncryptor(this.objId)),"("+$i(k(o))+")"},set:function(k){o=k.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(k){o=k}});var c="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return c},set:function(k){c=k}});var l="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return l},set:function(k){l=k}});var f=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return f},set:function(k){f=k}});var d=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return d===void 0?50/uh:d},set:function(k){d=k}});var g="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return g},set:function(k){g=k}});var x="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!x||this instanceof ks||this instanceof Wi))return Ol(x,this.objId,this.scope)},set:function(k){k=k.toString(),x=k}});var N=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(N)return this instanceof ln==0?Ol(N,this.objId,this.scope):N},set:function(k){k=k.toString(),N=this instanceof ln==0?k.substr(0,1)==="("?fa(k.substr(1,k.length-2)):fa(k):k}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof ln==1?fa(N.substr(1,N.length-1)):N},set:function(k){k=k.toString(),N=this instanceof ln==1?"/"+k:k}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(k){this.V=k}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof ln==0?Ol(p,this.objId,this.scope):p},set:function(k){k=k.toString(),p=this instanceof ln==0?k.substr(0,1)==="("?fa(k.substr(1,k.length-2)):fa(k):k}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof ln==1?fa(p.substr(1,p.length-1)):p},set:function(k){k=k.toString(),p=this instanceof ln==1?"/"+k:k}}),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 T,E=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return E},set:function(k){k=!!k,E=k}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(T)return T},set:function(k){T=k}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,1)},set:function(k){k?this.Ff=Ye(this.Ff,1):this.Ff=$e(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,2)},set:function(k){k?this.Ff=Ye(this.Ff,2):this.Ff=$e(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,3)},set:function(k){k?this.Ff=Ye(this.Ff,3):this.Ff=$e(this.Ff,3)}});var j=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(j!==null)return j},set:function(k){if([0,1,2].indexOf(k)===-1)throw new Error('Invalid value "'+k+'" for attribute Q supplied.');j=k}}),Object.defineProperty(this,"textAlign",{get:function(){var k;switch(j){case 0:default:k="left";break;case 1:k="center";break;case 2:k="right"}return k},configurable:!0,enumerable:!0,set:function(k){switch(k){case"right":case 2:j=2;break;case"center":case 1:j=1;break;default:j=0}}})};In(cr,Nr);var va=function(){cr.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var t=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return t},set:function(e){t=e}});var n=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return yu(n,this.objId,this.scope)}
60,set:function(e){var r,i;i=[],typeof(r=e)=="string"&&(i=function(o,c,l){l||(l=1);for(var f,d=[];f=c.exec(o);)d.push(f[l]);return d}(r,/\((.*?)\)/g)),n=i}}),this.getOptions=function(){return n},this.setOptions=function(e){n=e,this.sort&&n.sort()},this.addOption=function(e){e=(e=e||"").toString(),n.push(e),this.sort&&n.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();n.indexOf(e)!==-1&&(n.splice(n.indexOf(e),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,18)},set:function(e){e?this.Ff=Ye(this.Ff,18):this.Ff=$e(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,19)},set:function(e){this.combo===!0&&(e?this.Ff=Ye(this.Ff,19):this.Ff=$e(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,20)},set:function(e){e?(this.Ff=Ye(this.Ff,20),n.sort()):this.Ff=$e(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,22)},set:function(e){e?this.Ff=Ye(this.Ff,22):this.Ff=$e(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,23)},set:function(e){e?this.Ff=Ye(this.Ff,23):this.Ff=$e(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,27)},set:function(e){e?this.Ff=Ye(this.Ff,27):this.Ff=$e(this.Ff,27)}}),this.hasAppearanceStream=!1};In(va,cr);var ba=function(){va.call(this),this.fontName="helvetica",this.combo=!1};In(ba,va);var wa=function(){ba.call(this),this.combo=!0};In(wa,ba);var bs=function(){wa.call(this),this.edit=!0};In(bs,wa);var ln=function(){cr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,15)},set:function(e){e?this.Ff=Ye(this.Ff,15):this.Ff=$e(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,16)},set:function(e){e?this.Ff=Ye(this.Ff,16):this.Ff=$e(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,17)},set:function(e){e?this.Ff=Ye(this.Ff,17):this.Ff=$e(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,26)},set:function(e){e?this.Ff=Ye(this.Ff,26):this.Ff=$e(this.Ff,26)}});var t,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(o){return o};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),Object.keys(n).length!==0){var r,i=[];for(r in i.push("<<"),n)i.push("/"+r+" ("+$i(e(n[r]))+")");return i.push(">>"),i.join(`
61`)}},set:function(e){Le(e)==="object"&&(n=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){typeof e=="string"&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};In(ln,cr);var ws=function(){ln.call(this),this.pushButton=!0};In(ws,ln);var _a=function(){ln.call(this),this.radio=!0,this.pushButton=!1;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return t},set:function(n){t=n!==void 0?n:[]}})};In(_a,ln);var ks=function(){var t,n;cr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(i){t=i}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(i){n=i}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(l){return l};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var o,c=[];for(o in c.push("<<"),r)c.push("/"+o+" ("+$i(i(r[o]))+")");return c.push(">>"),c.join(`
62`)}
vendor: 4,548 bytes, lines 62-65
62,set:function(i){Le(i)==="object"&&(r=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(i){typeof i=="string"&&(r.CA=i)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(i){e=i}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(i){e="/"+i}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=It.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};In(ks,cr),_a.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t)||!("getCA"in t))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var n in this.Kids)if(this.Kids.hasOwnProperty(n)){var e=this.Kids[n];e.appearanceStreamContent=t.createAppearanceStream(e.optionName),e.caption=t.getCA()}},_a.prototype.createOption=function(t){var n=new ks;return n.Parent=this,n.optionName=t,this.Kids.push(n),Z5.call(this.scope,n),n};var _s=function(){ln.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=It.CheckBox.createAppearanceStream()};In(_s,ln);var Wi=function(){cr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,13)},set:function(n){n?this.Ff=Ye(this.Ff,13):this.Ff=$e(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,21)},set:function(n){n?this.Ff=Ye(this.Ff,21):this.Ff=$e(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,23)},set:function(n){n?this.Ff=Ye(this.Ff,23):this.Ff=$e(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,24)},set:function(n){n?this.Ff=Ye(this.Ff,24):this.Ff=$e(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,25)},set:function(n){n?this.Ff=Ye(this.Ff,25):this.Ff=$e(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,26)},set:function(n){n?this.Ff=Ye(this.Ff,26):this.Ff=$e(this.Ff,26)}});var t=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return t},set:function(n){t=n}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return t},set:function(n){Number.isInteger(n)&&(t=n)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};In(Wi,cr);var ys=function(){Wi.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Ze(this.Ff,14)},set:function(t){t?this.Ff=Ye(this.Ff,14):this.Ff=$e(this.Ff,14)}}),this.password=!0};In(ys,Wi);var It={CheckBox:{createAppearanceStream:function(){return{N:{On:It.CheckBox.YesNormal},D:{On:It.CheckBox.YesPushDown,Off:It.CheckBox.OffPushDown}}},YesPushDown:function(t){var n=xr(t);n.scope=t.scope;var e=[],r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),o=Ql(t,t.caption);return e.push("0.749023 g"),e.push("0 0 "+Jt(It.internal.getWidth(t))+" "+Jt(It.internal.getHeight(t))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+r+" "+Jt(o.fontSize)+" Tf "+i),e.push("BT"),e.push(o.text),e.push("ET"),e.push("Q"),e.push("EMC"),n.stream=e.join(`
63`),n},YesNormal:function(t){var n=xr(t);n.scope=t.scope;var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),i=[],o=It.internal.getHeight(t),c=It.internal.getWidth(t),l=Ql(t,t.caption);return i.push("1 g"),i.push("0 0 "+Jt(c)+" "+Jt(o)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Jt(c-1)+" "+Jt(o-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+e+" "+Jt(l.fontSize)+" Tf "+r),i.push(l.text),i.push("ET"),i.push("Q"),n.stream=i.join(`
64`),n},OffPushDown:function(t){var n=xr(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Jt(It.internal.getWidth(t))+" "+Jt(It.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join(`
65`),n}},RadioButton:{Circle:{createAppearanceStream:function(t){var n={D:{Off:It.RadioButton.Circle.OffPushDown},N:{}}
vendor: 4,505 bytes, lines 65-71
65;return n.N[t]=It.RadioButton.Circle.YesNormal,n.D[t]=It.RadioButton.Circle.YesPushDown,n},getCA:function(){return"l"},YesNormal:function(t){var n=xr(t);n.scope=t.scope;var e=[],r=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=It.internal.Bezier_C,o=Number((r*i).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+di(It.internal.getWidth(t)/2)+" "+di(It.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),e.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),e.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),e.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join(`
66`),n},YesPushDown:function(t){var n=xr(t);n.scope=t.scope;var e=[],r=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*It.internal.Bezier_C).toFixed(5)),c=Number((r*It.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+di(It.internal.getWidth(t)/2)+" "+di(It.internal.getHeight(t)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),e.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),e.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),e.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+di(It.internal.getWidth(t)/2)+" "+di(It.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+c+" "+c+" "+r+" 0 "+r+" c"),e.push("-"+c+" "+r+" -"+r+" "+c+" -"+r+" 0 c"),e.push("-"+r+" -"+c+" -"+c+" -"+r+" 0 -"+r+" c"),e.push(c+" -"+r+" "+r+" -"+c+" "+r+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join(`
67`),n},OffPushDown:function(t){var n=xr(t);n.scope=t.scope;var e=[],r=It.internal.getWidth(t)<=It.internal.getHeight(t)?It.internal.getWidth(t)/4:It.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),o=Number((i*It.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+di(It.internal.getWidth(t)/2)+" "+di(It.internal.getHeight(t)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+o+" "+o+" "+i+" 0 "+i+" c"),e.push("-"+o+" "+i+" -"+i+" "+o+" -"+i+" 0 c"),e.push("-"+i+" -"+o+" -"+o+" -"+i+" 0 -"+i+" c"),e.push(o+" -"+i+" "+i+" -"+o+" "+i+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join(`
68`),n}},Cross:{createAppearanceStream:function(t){var n={D:{Off:It.RadioButton.Cross.OffPushDown},N:{}};return n.N[t]=It.RadioButton.Cross.YesNormal,n.D[t]=It.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(t){var n=xr(t);n.scope=t.scope;var e=[],r=It.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+Jt(It.internal.getWidth(t)-2)+" "+Jt(It.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push(Jt(r.x1.x)+" "+Jt(r.x1.y)+" m"),e.push(Jt(r.x2.x)+" "+Jt(r.x2.y)+" l"),e.push(Jt(r.x4.x)+" "+Jt(r.x4.y)+" m"),e.push(Jt(r.x3.x)+" "+Jt(r.x3.y)+" l"),e.push("s"),e.push("Q"),n.stream=e.join(`
69`),n},YesPushDown:function(t){var n=xr(t);n.scope=t.scope;var e=It.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+Jt(It.internal.getWidth(t))+" "+Jt(It.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Jt(It.internal.getWidth(t)-2)+" "+Jt(It.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(Jt(e.x1.x)+" "+Jt(e.x1.y)+" m"),r.push(Jt(e.x2.x)+" "+Jt(e.x2.y)+" l"),r.push(Jt(e.x4.x)+" "+Jt(e.x4.y)+" m"),r.push(Jt(e.x3.x)+" "+Jt(e.x3.y)+" l"),r.push("s"),r.push("Q"),n.stream=r.join(`
70`),n},OffPushDown:function(t){var n=xr(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Jt(It.internal.getWidth(t))+" "+Jt(It.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join(`
71`),n}}},createDefaultAppearanceStream:function(t){var n=t.scope.internal.getFont(t.fontName,t.fontStyle).id,e=t.scope.__private__.encodeColorString(t.color);return"/"+n+" "+t.fontSize+" Tf "+e}};It.internal={Bezier_C:.551915024494,calculateCross:function(t){var n=It.internal.getWidth(t),e=It.internal.getHeight(t),r=Math.min(n,e);return{x1:{x:(n-r)/2,y:(e-r)/2+r},x2:{x:(n-r)/2+r,y:(e-r)/2},x3:{x:(n-r)/2,y:(e-r)/2},x4:{x:(n-r)/2+r,y:(e-r)/2+r}}}},It.internal.getWidth=function(t){var n=0;return Le(t)==="object"&&(n=nf(t.Rect[2])),n},It.internal.getHeight=function(t){var n=0;return Le(t)==="object"&&(n=nf(t.Rect[3])),n};var Z5=Ue.addField=function(t){if(G5(this,t),!(t instanceof cr))throw new Error("Invalid argument passed to 
71jsPDF.addField.");var n;return(n=t).scope.internal.acroformPlugin.printedOut&&(n.scope.internal.acroformPlugin.printedOut=!1,n.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),n.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(n),t.page=t.scope.internal.getCurrentPageInfo().pageNumber,this};Ue.AcroFormChoiceField=va,Ue.AcroFormListBox=ba,Ue.AcroFormComboBox=wa,Ue.AcroFormEditBox=bs,Ue.AcroFormButton=ln,Ue.AcroFormPushButton=ws,Ue.AcroFormRadioButton=_a,Ue.AcroFormCheckBox=_s,Ue.AcroFormTextField=Wi,Ue.AcroFormPasswordField=ys,Ue.AcroFormAppearance=It,Ue.AcroForm={ChoiceField:va,ListBox:ba,ComboBox:wa,EditBox:bs,Button:ln,PushButton:ws,RadioButton:_a,CheckBox:_s,TextField:Wi,PasswordField:ys,Appearance:It},Mt.AcroForm={ChoiceField:va,ListBox:ba,ComboBox:wa,EditBox:bs,Button:ln,PushButton:ws,RadioButton:_a,CheckBox:_s,TextField:Wi,PasswordField:ys,Appearance:It};function Nu(t){return t.reduce(function(n,e,r){return n[e]=r,n},{})}(function(t){var n="addImage_";t.__addimage__={};var e="UNKNOWN",r={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=t.__addimage__.getImageFileTypeByImageData=function(L,F){var z,U,rt,st,ht,nt=e;if((F=F||e)==="RGBA"||L.data!==void 0&&L.data instanceof Uint8ClampedArray&&"height"in L&&"width"in L)return"RGBA";if(mt(L))for(ht in r)for(rt=r[ht],z=0;z<rt.length;z+=1){for(st=!0,U=0;U<rt[z].length;U+=1)if(rt[z][U]!==void 0&&rt[z][U]!==L[U]){st=!1;break}if(st===!0){nt=ht;break}}else for(ht in r)for(rt=r[ht],z=0;z<rt.length;z+=1){for(st=!0,U=0;U<rt[z].length;U+=1)if(rt[z][U]!==void 0&&rt[z][U]!==L.charCodeAt(U)){st=!1;break}if(st===!0){nt=ht;break}}return nt===e&&F!==e&&(nt=F),nt},o=function L(F){for(var z=this.internal.write,U=this.internal.putStream,rt=(0,this.internal.getFilters)();rt.indexOf("FlateEncode")!==-1;)rt.splice(rt.indexOf("FlateEncode"),1);F.objectId=this.internal.newObject();var st=[];if(st.push({key:"Type",value:"/XObject"}),st.push({key:"Subtype",value:"/Image"}),st.push({key:"Width",value:F.width}),st.push({key:"Height",value:F.height}),F.colorSpace===k.INDEXED?st.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(F.palette.length/3-1)+" "+("sMask"in F&&F.sMask!==void 0?F.objectId+2:F.objectId+1)+" 0 R]"}):(st.push({key:"ColorSpace",value:"/"+F.colorSpace}),F.colorSpace===k.DEVICE_CMYK&&st.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),st.push({key:"BitsPerComponent",value:F.bitsPerComponent}),"decodeParameters"in F&&F.decodeParameters!==void 0&&st.push({key:"DecodeParms",value:"<<"+F.decodeParameters+">>"}),"transparency"in F&&Array.isArray(F.transparency)&&F.transparency.length>0){for(var ht="",nt=0,ft=F.transparency.length;nt<ft;nt++)ht+=F.transparency[nt]+" "+F.transparency[nt]+" ";st.push({key:"Mask",value:"["+ht+"]"})}F.sMask!==void 0&&st.push({key:"SMask",value:F.objectId+1+" 0 R"});var At=F.filter!==void 0?["/"+F.filter]:void 0;if(U({data:F.data,additionalKeyValues:st,alreadyAppliedFilters:At,objectId:F.objectId}),z("endobj"),"sMask"in F&&F.sMask!==void 0){var wt,y=(wt=F.sMaskBitsPerComponent)!==null&&wt!==void 0?wt:F.bitsPerComponent,R={width:F.width,height:F.height,colorSpace:"DeviceGray",bitsPerComponent:y,data:F.sMask};"filter"in F&&(R.decodeParameters="/Predictor ".concat(F.predictor," /Colors 1 /BitsPerComponent ").concat(y," /Columns ").concat(F.width),R.filter=F.filter),L.call(this,R)}
71if(F.colorSpace===k.INDEXED){var M=this.internal.newObject();U({data:$(new Uint8Array(F.palette)),objectId:M}),z("endobj")}},c=function(){var L=this.internal.collections[n+"images"];for(var F in L)o.call(this,L[F])},l=function(){var L,F=this.internal.collections[n+"images"],z=this.internal.write;for(var U in F)z("/I"+(L=F[U]).index,L.objectId,"0","R")},f=function(){this.internal.collections[n+"images"]||(this.internal.collections[n+"images"]={},this.internal.events.subscribe("putResources",c),this.internal.events.subscribe("putXobjectDict",l))},d=function(){var L=this.internal.collections[n+"images"];return f.call(this),L},g=function(){return Object.keys(this.internal.collections[n+"images"]).length},x=function(L){return typeof t["process"+L.toUpperCase()]=="function"},N=function(L){return Le(L)==="object"&&L.nodeType===1},p=function(L,F){if(L.nodeName==="IMG"&&L.hasAttribute("src")){var z=""+L.getAttribute("src");if(z.indexOf("data:image/")===0)return vs(unescape(z).split("base64,").pop());var U=t.loadFile(z,!0);if(U!==void 0)return U}if(L.nodeName==="CANVAS"){if(L.width===0||L.height===0)throw new Error("Given canvas must have data. Canvas width: "+L.width+", height: "+L.height);var rt;switch(F){case"PNG":rt="image/png";break;case"WEBP":rt="image/webp";break;default:rt="image/jpeg"}return vs(L.toDataURL(rt,1).split("base64,").pop())}},T=function(L){var F=this.internal.collections[n+"images"];if(F){for(var z in F)if(L===F[z].alias)return F[z]}},E=function(L,F,z){return L||F||(L=-96,F=-96),L<0&&(L=-1*z.width*72/L/this.internal.scaleFactor),F<0&&(F=-1*z.height*72/F/this.internal.scaleFactor),L===0&&(L=F*z.width/z.height),F===0&&(F=L*z.height/z.width),[L,F]},j=function(L,F,z,U,rt,st){var ht=E.call(this,z,U,rt),nt=this.internal.getCoordinateString,ft=this.internal.getVerticalCoordinateString,At=d.call(this);if(z=ht[0],U=ht[1],At[rt.index]=rt,st){st*=Math.PI/180;var wt=Math.cos(st),y=Math.sin(st),R=function(H){return H.toFixed(4)},M=[R(wt),R(y),R(-1*y),R(wt),0,0,"cm"]}this.internal.write("q"),st?(this.internal.write([1,"0","0",1,nt(L),ft(F+U),"cm"].join(" ")),this.internal.write(M.join(" ")),this.internal.write([nt(z),"0","0",nt(U),"0","0","cm"].join(" "))):this.internal.write([nt(z),"0","0",nt(U),nt(L),ft(F+U),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+rt.index+" Do"),this.internal.write("Q")},k=t.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"};t.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 V=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},G=t.__addimage__.sHashCode=function(L){var F,z,U=0;if(typeof L=="string")for(z=L.length,F=0;F<z;F++)U=(U<<5)-U+L.charCodeAt(F),U|=0;else if(mt(L))for(z=L.byteLength/2,F=0;F<z;F++)U=(U<<5)-U+L[F],U|=0;return U},D=t.__addimage__.validateStringAsBase64=function(L){(L=L||"").toString().trim();var F=!0;return L.length===0&&(F=!1),L.length%4!=0&&(F=!1),/^[A-Za-z0-9+/]+$/.test(L.substr(0,L.length-2))===!1&&(F=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(L.substr(-2))===!1&&(F=!1),F},it=t.__addimage__.extractImageFromDataUrl=function(L){if(L==null||!(L=L.trim()).startsWith("data:"))return null;var F=L.indexOf(",");return F<0?null:L.substring(0,F).trim().endsWith("base64")?L.substring(F+1):null};t.__addimage__.isArrayBuffer=function(L){return L instanceof ArrayBuffer};var mt=t.__addimage__.isArrayBufferView=function(L){return L instanceof Int8Array||L instanceof Uint8Array||L instanceof Uint8ClampedArray||L instanceof Int16Array||L instanceof Uint16Array||L instanceof Int32Array||L instanceof Uint32Array||L instanceof Float32Array||L instanceof Float64Array},ut=t.__addimage__.binaryStringToUint8Array=function(L){for(var F=L.length,z=new Uint8Array(F),U=0;U<F;U++)z[U]=L.charCodeAt(U);return z},$=t.__addimage__.arrayBufferToBinaryString=function(L){for(var F="",z=mt(L)?L:new Uint8Array(L),U=0;U<z.length;U+=8192)F+=String.fromCharCode.apply(null,z.subarray(U,U+8192));return F};t.addImage=function(){var L,F,z,U,rt,st,ht,nt,ft;if(typeof arguments[1]=="number"?(F=e,z=arguments[1],U=arguments[2],rt=arguments[3],st=arguments[4],ht=arguments[5],nt=arguments[6],ft=arguments[7]):(F=arguments[1],z=arguments[2],U=arguments[3],rt=arguments[4],st=arguments[5],ht=arguments[6],nt=arguments[7],ft=arguments[8]),Le(L=arguments[0])==="object"&&!N(L)&&"imageData"in L){var At=L;L=At.imageData,F=At.format||F||e,z=At.x||z||0,U=At.y||U||0,rt=At.w||At.width||rt,st=At.h||At.height||st,ht=At.alias||ht,nt=At.compression||nt,ft=At.rotation||At.angle||ft}var wt=this.internal.getFilters();if(nt===void 0&&wt.indexOf("FlateEncode")!==-1&&(nt="SLOW"),isNaN(z)||isNaN(U))throw new Error("Invalid coordinates passed to 
71jsPDF.addImage");f.call(this);var y=B.call(this,L,F,ht,nt);return j.call(this,z,U,rt,st,y,ft),this};var B=function(L,F,z,U){var rt,st,ht;if(typeof L=="string"&&i(L)===e){L=unescape(L);var nt=tt(L,!1);(nt!==""||(nt=t.loadFile(L,!0))!==void 0)&&(L=nt)}if(N(L)&&(L=p(L,F)),F=i(L,F),!x(F))throw new Error("addImage does not support files of type '"+F+"', please ensure that a plugin for '"+F+"' support is added.");if(((ht=z)==null||ht.length===0)&&(z=function(ft){return typeof ft=="string"||mt(ft)?G(ft):mt(ft.data)?G(ft.data):null}(L)),(rt=T.call(this,z))||(L instanceof Uint8Array||F==="RGBA"||(st=L,L=ut(L)),rt=this["process"+F.toUpperCase()](L,g.call(this),z,function(ft){return ft&&typeof ft=="string"&&(ft=ft.toUpperCase()),ft in t.image_compression?ft:V.NONE}(U),st)),!rt)throw new Error("An unknown error occurred whilst processing the image.");return rt},tt=t.__addimage__.convertBase64ToBinaryString=function(L,F){F=typeof F!="boolean"||F;var z,U="";if(typeof L=="string"){var rt;z=(rt=it(L))!==null&&rt!==void 0?rt:L;try{U=vs(z)}catch(st){if(F)throw D(z)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+st.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return U};t.getImageProperties=function(L){var F,z,U="";if(N(L)&&(L=p(L)),typeof L=="string"&&i(L)===e&&((U=tt(L,!1))===""&&(U=t.loadFile(L)||""),L=U),z=i(L),!x(z))throw new Error("addImage does not support files of type '"+z+"', please ensure that a plugin for '"+z+"' support is added.");if(L instanceof Uint8Array||(L=ut(L)),!(F=this["process"+z.toUpperCase()](L)))throw new Error("An unknown error occurred whilst processing the image");return F.fileType=z,F}})(Mt.API),function(t){var n=function(e){if(e!==void 0&&e!="")return!0};Mt.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var r,i,o,c=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,f=this.internal.getPageInfoByObjId(e.objId),d=e.pageContext.annotations,g=!1,x=0;x<d.length&&!g;x++)switch((r=d[x]).type){case"link":(n(r.options.url)||n(r.options.pageNumber))&&(g=!0);break;case"reference":case"text":case"freetext":g=!0}if(g!=0){this.internal.write("/Annots [");for(var N=0;N<d.length;N++){r=d[N];var p=this.internal.pdfEscape,T=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var E=this.internal.newAdditionalObject(),j=this.internal.newAdditionalObject(),k=this.internal.getEncryptor(E.objId),V=r.title||"Note";o="<</Type /Annot /Subtype /Text "+(i="/Rect ["+c(r.bounds.x)+" "+l(r.bounds.y+r.bounds.h)+" "+c(r.bounds.x+r.bounds.w)+" "+l(r.bounds.y)+"] ")+"/Contents ("+p(k(r.contents))+")",o+=" /Popup "+j.objId+" 0 R",o+=" /P "+f.objId+" 0 R",o+=" /T ("+p(k(V))+") >>",E.content=o;var G=E.objId+" 0 R";o="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+c(r.bounds.x+30)+" "+l(r.bounds.y+r.bounds.h)+" "+c(r.bounds.x+r.bounds.w+30)+" "+l(r.bounds.y)+"] ")+" /Parent "+G,r.open&&(o+=" /Open true"),o+=" >>",j.content=o,this.internal.write(E.objId,"0 R",j.objId,"0 R");break;case"freetext":i="/Rect ["+c(r.bounds.x)+" "+l(r.bounds.y)+" "+c(r.bounds.x+r.bounds.w)+" "+l(r.bounds.y+r.bounds.h)+"] ";var D=r.color||"#000000";o="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+p(T(r.contents))+")",o+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+D+")",o+=" /Border [0 0 0]",o+=" >>",this.internal.write(o);break;case"link":if(r.options.name){var it=this.annotations._nameMap[r.options.name];r.options.pageNumber=it.page,r.options.top=it.y}else r.options.top||(r.options.top=0);if(i="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",o="",r.options.url)o="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+p(T(r.options.url))+") >>";else if(r.options.pageNumber)switch(o="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":o+=" /Fit]";break;case"FitH":o+=" /FitH "+r.options.top+"]";break;
71case"FitV":r.options.left=r.options.left||0,o+=" /FitV "+r.options.left+"]";break;default:var mt=l(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),o+=" /XYZ "+r.options.left+" "+mt+" "+r.options.zoom+"]"}o!=""&&(o+=" >>",this.internal.write(o))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var r=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":r.pageContext.annotations.push(e)}},t.link=function(e,r,i,o,c){var l=this.internal.getCurrentPageInfo(),f=this.internal.getCoordinateString,d=this.internal.getVerticalCoordinateString;l.pageContext.annotations.push({finalBounds:{x:f(e),y:d(r),w:f(e+i),h:d(r+o)},options:c,type:"link"})},t.textWithLink=function(e,r,i,o){var c,l,f=this.getTextWidth(e),d=this.internal.getLineHeight()/this.internal.scaleFactor;if(o.maxWidth!==void 0){l=o.maxWidth;var g=this.splitTextToSize(e,l).length;c=Math.ceil(d*g)}else l=f,c=d;return this.text(e,r,i,o),i+=.2*d,o.align==="center"&&(r-=f/2),o.align==="right"&&(r-=f),this.link(r,i-d,l,c,o),f},t.getTextWidth=function(e){var r=this.internal.getFontSize();return this.getStringUnitWidth(e)*r/this.internal.scaleFactor}}(Mt.API),function(t){var n={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
717],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]},e={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}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var o=t.__arabicParser__.isInArabicSubstitutionA=function(E){return n[E.charCodeAt(0)]!==void 0},c=t.__arabicParser__.isArabicLetter=function(E){return typeof E=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(E)},l=t.__arabicParser__.isArabicEndLetter=function(E){return c(E)&&o(E)&&n[E.charCodeAt(0)].length<=2},f=t.__arabicParser__.isArabicAlfLetter=function(E){return c(E)&&i.indexOf(E.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(E){return c(E)&&o(E)&&n[E.charCodeAt(0)].length>=1};var d=t.__arabicParser__.arabicLetterHasFinalForm=function(E){return c(E)&&o(E)&&n[E.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(E){return c(E)&&o(E)&&n[E.charCodeAt(0)].length>=3};var g=t.__arabicParser__.arabicLetterHasMedialForm=function(E){return c(E)&&o(E)&&n[E.charCodeAt(0)].length==4},x=t.__arabicParser__.resolveLigatures=function(E){var j=0,k=e,V="",G=0;for(j=0;j<E.length;j+=1)k[E.charCodeAt(j)]!==void 0?(G++,typeof(k=k[E.charCodeAt(j)])=="number"&&(V+=String.fromCharCode(k),k=e,G=0),j===E.length-1&&(k=e,V+=E.charAt(j-(G-1)),j-=G-1,G=0)):(k=e,V+=E.charAt(j-G),j-=G,G=0);return V};t.__arabicParser__.isArabicDiacritic=function(E){return E!==void 0&&r[E.charCodeAt(0)]!==void 0};var N=t.__arabicParser__.getCorrectForm=function(E,j,k){return c(E)?o(E)===!1?-1:!d(E)||!c(j)&&!c(k)||!c(k)&&l(j)||l(E)&&!c(j)||l(E)&&f(j)||l(E)&&l(j)?0:g(E)&&c(j)&&!l(j)&&c(k)&&d(k)?3:l(E)||!c(k)?1:2:-1},p=function(E){var j=0,k=0,V=0,G="",D="",it="",mt=(E=E||"").split("\\s+"),ut=[];for(j=0;j<mt.length;j+=1){for(ut.push(""),k=0;k<mt[j].length;k+=1)G=mt[j][k],D=mt[j][k-1],it=mt[j][k+1],c(G)?(V=N(G,D,it),ut[j]+=V!==-1?String.fromCharCode(n[G.charCodeAt(0)][V]):G):ut[j]+=G;ut[j]=x(ut[j])}return ut.join(" ")},T=t.__arabicParser__.processArabic=t.processArabic=function(){var E,j=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,k=[];if(Array.isArray(j)){var V=0;for(k=[],V=0;V<j.length;V+=1)Array.isArray(j[V])?k.push([p(j[V][0]),j[V][1],j[V][2]]):k.push([p(j[V])]);E=k}else E=p(j);return typeof arguments[0]=="string"?E:(arguments[0].text=E,arguments[0])};t.events.push(["preProcessText",T])}(Mt.API),Mt.API.autoPrint=function(t){var n;return(t=t||{}).variant=t.variant||"non-conform",t.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){n=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 "+n+" 0 R")})),this},function(t){var n=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(l){e=l}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(l){r=isNaN(l)||Number.isInteger(l)===!1||l<0?150:l,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(l){i=isNaN(l)||Number.isInteger(l)===!1||l<0?300:l,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var o=[];Object.defineProperty(this,"childNodes",{get:function(){return o}
71,set:function(l){o=l}});var c={};Object.defineProperty(this,"style",{get:function(){return c},set:function(l){c=l}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(e,r){var i;if((e=e||"2d")!=="2d")return null;for(i in r)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=r[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(Mt.API),function(t){var n={left:0,top:0,bottom:0,right:0},e=!1,r=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({},n),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var f=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return f},set:function(E){f=E}});var d=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return d},set:function(E){d=E}});var g=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return g},set:function(E){g=E}});var x=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return x},set:function(E){x=E}});var N=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return N},set:function(E){N=E}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(E){p=E}});var T=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return T},set:function(E){T=E}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(f){return r.call(this),this.internal.__cell__.headerFunction=typeof f=="function"?f:void 0,this},t.getTextDimensions=function(f,d){r.call(this);var g=(d=d||{}).fontSize||this.getFontSize(),x=d.font||this.getFont(),N=d.scaleFactor||this.internal.scaleFactor,p=0,T=0,E=0,j=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 k=d.maxWidth;k>0?typeof f=="string"?f=this.splitTextToSize(f,k):Object.prototype.toString.call(f)==="[object Array]"&&(f=f.reduce(function(G,D){return G.concat(j.splitTextToSize(D,k))},[])):f=Array.isArray(f)?f:[f];for(var V=0;V<f.length;V++)p<(E=this.getStringUnitWidth(f[V],{font:x})*g)&&(p=E);return p!==0&&(T=f.length),{w:p/=N,h:Math.max((T*g*this.getLineHeightFactor()-g*(this.getLineHeightFactor()-1))/N,0)}},t.cellAddPage=function(){r.call(this),this.addPage();var f=this.internal.__cell__.margins||n;return this.internal.__cell__.lastCell=new o(f.left,f.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var c=t.cell=function(){var f;f=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),r.call(this);var d=this.internal.__cell__.lastCell,g=this.internal.__cell__.padding,x=this.internal.__cell__.margins||n,N=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return d.lineNumber!==void 0&&(d.lineNumber===f.lineNumber?(f.x=(d.x||0)+(d.width||0),f.y=d.y||0):d.y+d.height+f.height+x.bottom>this.getPageHeight()?(this.cellAddPage(),f.y=x.top,p&&N&&(this.printHeaderRow(f.lineNumber,!0),f.y+=N[0].height)):f.y=d.y+d.height||f.y),f.text[0]!==void 0&&(this.rect(f.x,f.y,f.width,f.height,e===!0?"FD":void 0),f.align==="right"?this.text(f.text,f.x+f.width-g,f.y+g,{align:"right",baseline:"top"}):f.align==="center"?this.text(f.text,f.x+f.width/2,f.y+g,{align:"center",baseline:"top",maxWidth:f.width-g-g}):this.text(f.text,f.x+g,f.y+g,{align:"left",baseline:"top",maxWidth:f.
71width-g-g})),this.internal.__cell__.lastCell=f,this};t.table=function(f,d,g,x,N){if(r.call(this),!g)throw new Error("No data for PDF table.");var p,T,E,j,k=[],V=[],G=[],D={},it={},mt=[],ut=[],$=(N=N||{}).autoSize||!1,B=N.printHeaders!==!1,tt=N.css&&N.css["font-size"]!==void 0?16*N.css["font-size"]:N.fontSize||12,L=N.margins||Object.assign({width:this.getPageWidth()},n),F=typeof N.padding=="number"?N.padding:3,z=N.headerBackgroundColor||"#c8c8c8",U=N.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=B,this.internal.__cell__.margins=L,this.internal.__cell__.table_font_size=tt,this.internal.__cell__.padding=F,this.internal.__cell__.headerBackgroundColor=z,this.internal.__cell__.headerTextColor=U,this.setFontSize(tt),x==null)V=k=Object.keys(g[0]),G=k.map(function(){return"left"});else if(Array.isArray(x)&&Le(x[0])==="object")for(k=x.map(function(At){return At.name}),V=x.map(function(At){return At.prompt||At.name||""}),G=x.map(function(At){return At.align||"left"}),p=0;p<x.length;p+=1)it[x[p].name]=.7499990551181103*x[p].width;else Array.isArray(x)&&typeof x[0]=="string"&&(V=k=x,G=k.map(function(){return"left"}));if($||Array.isArray(x)&&typeof x[0]=="string")for(p=0;p<k.length;p+=1){for(D[j=k[p]]=g.map(function(At){return At[j]}),this.setFont(void 0,"bold"),mt.push(this.getTextDimensions(V[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),T=D[j],this.setFont(void 0,"normal"),E=0;E<T.length;E+=1)mt.push(this.getTextDimensions(T[E],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);it[j]=Math.max.apply(null,mt)+F+F,mt=[]}if(B){var rt={};for(p=0;p<k.length;p+=1)rt[k[p]]={},rt[k[p]].text=V[p],rt[k[p]].align=G[p];var st=l.call(this,rt,it);ut=k.map(function(At){return new o(f,d,it[At],st,rt[At].text,void 0,rt[At].align)}),this.setTableHeaderRow(ut),this.printHeaderRow(1,!1)}var ht=x.reduce(function(At,wt){return At[wt.name]=wt.align,At},{});for(p=0;p<g.length;
vendor: 4,126 bytes, line 71
71p+=1){"rowStart"in N&&N.rowStart instanceof Function&&N.rowStart({row:p,data:g[p]},this);var nt=l.call(this,g[p],it);for(E=0;E<k.length;E+=1){var ft=g[p][k[E]];"cellStart"in N&&N.cellStart instanceof Function&&N.cellStart({row:p,col:E,data:ft},this),c.call(this,new o(f,d,it[k[E]],nt,ft,p+2,ht[k[E]]))}}return this.internal.__cell__.table_x=f,this.internal.__cell__.table_y=d,this};var l=function(f,d){var g=this.internal.__cell__.padding,x=this.internal.__cell__.table_font_size,N=this.internal.scaleFactor;return Object.keys(f).map(function(p){var T=f[p];return this.splitTextToSize(T.hasOwnProperty("text")?T.text:T,d[p]-g-g)},this).map(function(p){return this.getLineHeightFactor()*p.length*x/N+g+g},this).reduce(function(p,T){return Math.max(p,T)},0)};t.setTableHeaderRow=function(f){r.call(this),this.internal.__cell__.tableHeaderRow=f},t.printHeaderRow=function(f,d){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var g;if(e=!0,typeof this.internal.__cell__.headerFunction=="function"){var x=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(x[0],x[1],x[2],x[3],void 0,-1)}this.setFont(void 0,"bold");for(var N=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){g=this.internal.__cell__.tableHeaderRow[p].clone(),d&&(g.y=this.internal.__cell__.margins.top||0,N.push(g)),g.lineNumber=f;var T=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),c.call(this,g),this.setTextColor(T)}N.length>0&&this.setTableHeaderRow(N),this.setFont(void 0,"normal"),e=!1}}(Mt.API);var Lu={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Su=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],th=Nu(Su),ku=[100,200,300,400,500,600,700,800,900],Y5=Nu(ku);function Tl(t){var n=t.family.replace(/"|'/g,"").toLowerCase(),e=function(o){return Lu[o=o||"normal"]?o:"normal"}(t.style),r=function(o){return o?typeof o=="number"?o>=100&&o<=900&&o%100==0?o:400:/^\d00$/.test(o)?parseInt(o):o==="bold"?700:400:400}(t.weight),i=function(o){return typeof th[o=o||"normal"]=="number"?o:"normal"}(t.stretch);return{family:n,style:e,weight:r,stretch:i,src:t.src||[],ref:t.ref||{name:n,style:[i,e,r].join(" ")}}}function rf(t,n,e,r){var i;for(i=e;i>=0&&i<n.length;i+=r)if(t[n[i]])return t[n[i]];for(i=e;i>=0&&i<n.length;i-=r)if(t[n[i]])return t[n[i]]}var $5={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},af={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function of(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function sf(t){return t.trimLeft()}function K5(t,n){for(var e=0;e<t.length;){if(t.charAt(e)===n)return[t.substring(0,e),t.substring(e+1)];e+=1}return null}function J5(t){var n=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return n===null?null:[n[0],t.substring(n[0].length)]}var ds,lf,hf,ua,ps,cf,ff,uf,Rl=["times"];function df(t,n,e,r,i){var o=4,c=gf;switch(i){case Mt.API.image_compression.FAST:o=1,c=pf;break;case Mt.API.image_compression.MEDIUM:o=6,c=mf;break;case Mt.API.image_compression.SLOW:o=9,c=vf}t=function(f,d,g,x){for(var N,p=f.length/d,T=new Uint8Array(f.length+p),E=[X5,pf,gf,mf,vf],j=0;j<p;j+=1){var k=j*d,V=f.subarray(k,k+d);if(x)T.set(x(V,g,N),k+j);else{for(var G=E.length,D=[],it=0;it<G;it+=1)D[it]=E[it](V,g,N);var mt=td(D.concat());T.set(D[mt],k+j)}N=V}return T}(t,n,Math.ceil(e*r/8),c);var l=Ul(t,{level:o});return Mt.API.__addimage__.arrayBufferToBinaryString(l)}function X5(t){var n=Array.apply([],t);return n.unshift(0),n}function pf(t,n){var e=t.length,r=[];r[0]=1;for(var i=0;i<e;i+=1){var o=t[i-n]||0;r[i+1]=t[i]-o+256&255}return r}function gf(t,n,e){var r=t.length,i=[];i[0]=2;for(var o=0;o<r;o+=1){var c=e&&e[o]||0;i[o+1]=t[o]-c+256&255}return i}function mf(t,n,e){var r=t.length,i=[];
71i[0]=3;for(var o=0;o<r;o+=1){var c=t[o-n]||0,l=e&&e[o]||0;i[o+1]=t[o]+256-(c+l>>>1)&255}return i}function vf(t,n,e){var r=t.length,i=[];i[0]=4;for(var o=0;o<r;o+=1){var c=Q5(t[o-n]||0,e&&e[o]||0,e&&e[o-n]||0);i[o+1]=t[o]-c+256&255}return i}function Q5(t,n,e){if(t===n&&n===e)return t;var r=Math.abs(n-e),i=Math.abs(t-e),o=Math.abs(t+n-e-e);return r<=i&&r<=o?t:i<=o?n:e}function td(t){var n=t.map(function(e){return e.reduce(function(r,i){return r+Math.abs(i)},0)});return n.indexOf(Math.min.apply(null,n))}function jl(t,n,e){var r=n*e,i=Math.floor(r/8),o=16-(r-8*i+e),c=(1<<e)-1;return Pu(t,i)>>o&c}function bf(t,n,e,r){var i=e*r,o=Math.floor(i/8),c=16-(i-8*o+r),l=(1<<r)-1,f=(n&l)<<c;(function(d,g,x){if(g+1<d.byteLength)d.setUint16(g,x,!1);else{var N=x>>8&255;d.setUint8(g,N)}})(t,o,Pu(t,o)&~(l<<c)&65535|f)}function Pu(t,n){return n+1<t.byteLength?t.getUint16(n,!1):t.getUint8(n)<<8}function ed(t){var n=0;if(t[n++]!==71||t[n++]!==73||t[n++]!==70||t[n++]!==56||(t[n++]+1&253)!=56||t[n++]!==97)throw new Error("Invalid GIF 87a/89a header.");var e=t[n++]|t[n++]<<8,r=t[n++]|t[n++]<<8,i=t[n++],o=i>>7,c=1<<1+(7&i);t[n++],t[n++];var l=null,f=null;o&&(l=n,f=c,n+=3*c);var d=!0,g=[],x=0,N=null,p=0,T=null;for(this.width=e,this.height=r;d&&n<t.length;)switch(t[n++]){case 33:switch(t[n++]){case 255:if(t[n]!==11||t[n+1]==78&&t[n+2]==69&&t[n+3]==84&&t[n+4]==83&&t[n+5]==67&&t[n+6]==65&&t[n+7]==80&&t[n+8]==69&&t[n+9]==50&&t[n+10]==46&&t[n+11]==48&&t[n+12]==3&&t[n+13]==1&&t[n+16]==0)n+=14,T=t[n++]|t[n++]<<8,n++;else for(n+=12;;){if(!((L=t[n++])>=0))throw Error("Invalid block size");if(L===0)break;n+=L}break;case 249:if(t[n++]!==4||t[n+4]!==0)throw new Error("Invalid graphics extension block.");var E=t[n++];x=t[n++]|t[n++]<<8,N=t[n++],1&E||(N=null),p=E>>2&7,n++;break;case 254:for(;;){if(!((L=t[n++])>=0))throw Error("Invalid block size");if(L===0)break;n+=L}break;default:throw new Error("Unknown graphic control label: 0x"+t[n-1].toString(16))}break;case 44:var j=t[n++]|t[n++]<<8,k=t[n++]|t[n++]<<8,V=t[n++]|t[n++]<<8,G=t[n++]|t[n++]<<8,D=t[n++],it=D>>6&1,mt=1<<1+(7&D),ut=l,$=f,B=!1;D>>7&&(B=!0,ut=n,$=mt,n+=3*mt);var tt=n;for(n++;;){var L;if(!((L=t[n++])>=0))throw Error("Invalid block size");if(L===0)break;n+=L}g.push({x:j,y:k,width:V,height:G,has_local_palette:B,palette_offset:ut,palette_size:$,data_offset:tt,data_length:n-tt,transparent_index:N,interlaced:!!it,delay:x,disposal:p});break;case 59:d=!1;break;default:throw new Error("Unknown gif block: 0x"+t[n-1].toString(16))}this.numFrames=function(){return g.length},this.loopCount=function(){return T},this.frameInfo=function(F){if(F<0||F>=g.length)throw new Error("Frame index out of range.");return g[F]},this.decodeAndBlitFrameBGRA=function(F,z){var U=this.frameInfo(F),rt=U.width*U.height,st=new Uint8Array(rt);wf(t,U.data_offset,st,rt);var ht=U.palette_offset,nt=U.transparent_index;nt===null&&(nt=256);var ft=U.width,At=e-ft,wt=ft,y=4*(U.y*e+U.x),R=4*((U.y+U.height)*e+U.x),M=y,H=4*At;U.interlaced===!0&&(H+=4*e*7);for(var Y=8,X=0,at=st.length;X<at;++X){var ot=st[X];if(wt===0&&(wt=ft,(M+=H)>=R&&(H=4*At+4*e*(Y-1),M=y+(ft+At)*(Y<<1),Y>>=1)),ot===nt)M+=4;else{var gt=t[ht+3*ot],xt=t[ht+3*ot+1],kt=t[ht+3*ot+2];z[M++]=kt,z[M++]=xt,z[M++]=gt,z[M++]=255}--wt}},this.decodeAndBlitFrameRGBA=function(F,z){var U=this.frameInfo(F),rt=U.width*U.height,st=new Uint8Array(rt);wf(t,U.data_offset,st,rt);var ht=U.palette_offset,nt=U.transparent_index;nt===null&&(nt=256);var ft=U.width,At=e-ft,wt=ft,y=4*(U.y*e+U.x),R=4*((U.y+U.height)*e+U.x),M=y,H=4*At;U.interlaced===!0&&(H+=4*e*7);for(var Y=8,X=0,at=st.length;X<at;++X){var ot=st[X];if(wt===0&&(wt=ft,(M+=H)>=R&&(H=4*At+4*e*(Y-1),M=y+(ft+At)*(Y<<1),Y>>=1)),ot===nt)M+=4;else{var gt=t[ht+3*ot],xt=t[ht+3*ot+1],kt=t[ht+3*ot+2];z[M++]=gt,z[M++]=xt,z[M++]=kt,z[M++]=255}--wt}}}function wf(t,n,e,r){for(var i=t[n++],o=1<<i,c=o+1,l=c+1,f=i+1,d=(1<<f)-1,g=0,x=0,N=0,p=t[n++],T=new Int32Array(4096),E=null;;){for(;g<16&&p!==0;)x|=t[n++]<<g,g+=8,p===1?p=t[n++]:--p;if(g<f)break;var j=x&d;if(x>>=f,g-=f,j!==o){if(j===c)break;for(var k=j<l?j:E,V=0,G=k;G>o;)G=T[G]>>8,++V;var D=G;if(N+V+(k!==j?1:0)>r)return void Pe.log("Warning, gif stream longer than expected.");e[N++]=D;var it=N+=V;for(k!==j&&(e[N++]=D),G=k;V--;)G=T[G],e[--it]=255&G,G>>=8;E!==null&&l<4096&&(T[l++]=E<<8|D,l>=d+1&&f<12&&(++f,d=d<<1|1)),E=j}else l=c+1,d=(1<<(f=i+1))-1,E=null}return N!==r&&Pe.log("Warning, gif stream shorter than expected."),e}/**
72 * @license
73  Copyright (c) 2008, Adobe Systems Incorporated
74  All rights reserved.
75
76  Redistribution and use in source and binary forms, with or without 
77  modification, are permitted provided that the following conditions are
78  met:
79
80  * Redistributions of source code must retain the above copyright notice, 
81    this list of conditions and the following disclaimer.
82  
83  * Redistributions in binary form must reproduce the above copyright
84    notice, this list of conditions and the following disclaimer in the 
85    documentation and/or other materials provided with the distribution.
86  
87  * Neither the name of Adobe Systems Incorporated nor the names of its 
88    contributors may be used to endorse or promote products derived from 
89    this software without specific prior written permission.
90
91  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
92  IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
93  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
94  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
95  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
96  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
97  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
98  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
99  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
100  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
101  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
102*/function Bl(t){var n,e,r,i,o,c=Math.floor,l=new Array(64),f=new Array(64),d=new Array(64),g=new Array(64),x=new Array(65535),N=new Array(65535),p=new Array(64),T=new Array(64),E=[],j=0,k=7,V=new Array(64),G=new Array(64),D=new Array(64),it=new Array(256),mt=new Array(2048),ut=[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],$=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],B=[0,1,2,3,4,5,6,7,8,9,10,11],tt=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],L=[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],F=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],z=[0,1,2,3,4,5,6,7,8,9,10,11],U=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],rt=[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 st(y,R){for(var M=0,H=0,Y=new Array,X=1;X<=16;X++){for(var at=1;at<=y[X];at++)Y[R[H]]=[],Y[R[H]][0]=M,Y[R[H]][1]=X,H++,M++;M*=2}return Y}function ht(y){for(var R=y[0],M=y[1]-1;M>=0;)R&1<<M&&(j|=1<<k),M--,--k<0&&(j==255?(nt(255),nt(0)):nt(j),k=7,j=0)}function nt(y){E.push(y)}function ft(y){nt(y>>8&255),nt(255&y)}function At(y,R,M,H,Y){for(var X,at=Y[0],ot=Y[240],gt=function(_t,Wt){var Et,zt,qt,we,he,Xt,fe,ce,Tt,ee,Bt=0;for(Tt=0;Tt<8;++Tt){Et=_t[Bt],zt=_t[Bt+1],qt=_t[Bt+2],we=_t[Bt+3],he=_t[Bt+4],Xt=_t[Bt+5],fe=_t[Bt+6];var ze=Et+(ce=_t[Bt+7]),ge=Et-ce,oe=zt+fe,se=zt-fe,Te=qt+Xt,Ut=qt-Xt,Ee=we+he,Zt=we-he,Qt=ze+Ee,Re=ze-Ee,le=oe+Te,Vt=oe-Te;_t[Bt]=Qt+le,_t[Bt+4]=Qt-le;var _e=.707106781*(Vt+Re);_t[Bt+2]=Re+_e,_t[Bt+6]=Re-_e;var yi=.382683433*((Qt=Zt+Ut)-(Vt=se+ge)),mn=.5411961*Qt+yi,Pr=1.306562965*Vt+yi,ur=.707106781*(le=Ut+se),Gt=ge+ur,Er=ge-ur;_t[Bt+5]=Er+mn,_t[Bt+3]=Er-mn,_t[Bt+1]=Gt+Pr,_t[Bt+7]=Gt-Pr,Bt+=8}for(Bt=0,Tt=0;Tt<8;++Tt){Et=_t[Bt],zt=_t[Bt+8],qt=_t[Bt+16],we=_t[Bt+24],he=_t[Bt+32],Xt=_t[Bt+40],fe=_t[Bt+48];var Ir=Et+(ce=_t[Bt+56]),Hn=Et-ce,Wn=zt+fe,Me=zt-fe,on=qt+Xt,hn=qt-Xt,xi=we+he,Kr=we-he,tr=Ir+xi,dr=Ir-xi,er=Wn+on,nr=Wn-on;_t[Bt]=tr+er,_t[Bt+32]=tr-er;var Vn=.707106781*(nr+dr);_t[Bt+16]=dr+Vn,_t[Bt+48]=dr-Vn;var Ai=.382683433*((tr=Kr+hn)-(nr=Me+Hn)),pr=.5411961*tr+Ai,Ni=1.306562965*nr+Ai,Ki=.707106781*(er=hn+Me),Ji=Hn+Ki,Xi=Hn-Ki;_t[Bt+40]=Xi+pr,_t[Bt+24]=Xi-pr,_t[Bt+8]=Ji+Ni,_t[Bt+56]=Ji-Ni,Bt++}for(Tt=0;Tt<64;++Tt)ee=_t[Tt]*Wt[Tt],p[Tt]=ee>0?ee+.5|0:ee-.5|0;return p}(y,R),xt=0;xt<64;++xt)T[ut[xt]]=gt[xt];var kt=T[0]-M;M=T[0],kt==0?ht(H[0]):(ht(H[N[X=32767+kt]]),ht(x[X]));for(var St=63;St>0&&T[St]==0;)St--;if(St==0)return ht(at),M;for(var Dt,P=1;P<=St;){for(var Lt=P;T[P]==0&&P<=St;)++P;var ae=P-Lt;if(ae>=16){Dt=ae>>4;for(var Ht=1;Ht<=Dt;++Ht)ht(ot);ae&=15}X=32767+T[P],ht(Y[(ae<<4)+N[X]]),ht(x[X]),P++}return St!=63&&ht(at),M}function wt(y){y=Math.min(Math.max(y,1),100),o!=y&&(function(R){for(var M=[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],H=0;H<64;H++){var Y=c((M[H]*R+50)/100);Y=Math.min(Math.max(Y,1),255),l[ut[H]]=Y}for(var X=[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],at=0;at<64;at++){var ot=c((X[at]*R+50)/100);ot=Math.min(Math.max(ot,1),255),f[ut[at]]=ot}for(var gt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],xt=0,kt=0;kt<8;kt++)for(var St=0;St<8;St++)d[xt]=1/(l[ut[xt]]*gt[kt]*gt[St]*8),g[xt]=1/(f[ut[xt]]*gt[kt]*gt[St]*8),xt++}(y<50?Math.floor(5e3/y):Math.floor(200-2*y)),o=y)}this.encode=function(y,R){R&&wt(R),E=new Array,j=0,k=7,ft(65496),ft(65504),ft(16),nt(74),nt(70),nt
vendor: 10,073 bytes, lines 102-108
102(73),nt(70),nt(0),nt(1),nt(1),nt(0),ft(1),ft(1),nt(0),nt(0),function(){ft(65499),ft(132),nt(0);for(var zt=0;zt<64;zt++)nt(l[zt]);nt(1);for(var qt=0;qt<64;qt++)nt(f[qt])}(),function(zt,qt){ft(65472),ft(17),nt(8),ft(qt),ft(zt),nt(3),nt(1),nt(17),nt(0),nt(2),nt(17),nt(1),nt(3),nt(17),nt(1)}(y.width,y.height),function(){ft(65476),ft(418),nt(0);for(var zt=0;zt<16;zt++)nt($[zt+1]);for(var qt=0;qt<=11;qt++)nt(B[qt]);nt(16);for(var we=0;we<16;we++)nt(tt[we+1]);for(var he=0;he<=161;he++)nt(L[he]);nt(1);for(var Xt=0;Xt<16;Xt++)nt(F[Xt+1]);for(var fe=0;fe<=11;fe++)nt(z[fe]);nt(17);for(var ce=0;ce<16;ce++)nt(U[ce+1]);for(var Tt=0;Tt<=161;Tt++)nt(rt[Tt])}(),ft(65498),ft(12),nt(3),nt(1),nt(0),nt(2),nt(17),nt(3),nt(17),nt(0),nt(63),nt(0);var M=0,H=0,Y=0;j=0,k=7,this.encode.displayName="_encode_";for(var X,at,ot,gt,xt,kt,St,Dt,P,Lt=y.data,ae=y.width,Ht=y.height,_t=4*ae,Wt=0;Wt<Ht;){for(X=0;X<_t;){for(xt=_t*Wt+X,St=-1,Dt=0,P=0;P<64;P++)kt=xt+(Dt=P>>3)*_t+(St=4*(7&P)),Wt+Dt>=Ht&&(kt-=_t*(Wt+1+Dt-Ht)),X+St>=_t&&(kt-=X+St-_t+4),at=Lt[kt++],ot=Lt[kt++],gt=Lt[kt++],V[P]=(mt[at]+mt[ot+256|0]+mt[gt+512|0]>>16)-128,G[P]=(mt[at+768|0]+mt[ot+1024|0]+mt[gt+1280|0]>>16)-128,D[P]=(mt[at+1280|0]+mt[ot+1536|0]+mt[gt+1792|0]>>16)-128;M=At(V,d,M,n,r),H=At(G,g,H,e,i),Y=At(D,g,Y,e,i),X+=32}Wt+=8}if(k>=0){var Et=[];Et[1]=k+1,Et[0]=(1<<k+1)-1,ht(Et)}return ft(65497),new Uint8Array(E)},t=t||50,function(){for(var y=String.fromCharCode,R=0;R<256;R++)it[R]=y(R)}(),n=st($,B),e=st(F,z),r=st(tt,L),i=st(U,rt),function(){for(var y=1,R=2,M=1;M<=15;M++){for(var H=y;H<R;H++)N[32767+H]=M,x[32767+H]=[],x[32767+H][1]=M,x[32767+H][0]=H;for(var Y=-(R-1);Y<=-y;Y++)N[32767+Y]=M,x[32767+Y]=[],x[32767+Y][1]=M,x[32767+Y][0]=R-1+Y;y<<=1,R<<=1}}(),function(){for(var y=0;y<256;y++)mt[y]=19595*y,mt[y+256|0]=38470*y,mt[y+512|0]=7471*y+32768,mt[y+768|0]=-11059*y,mt[y+1024|0]=-21709*y,mt[y+1280|0]=32768*y+8421375,mt[y+1536|0]=-27439*y,mt[y+1792|0]=-5329*y}(),wt(t)}/**
103 * @license
104 * Copyright (c) 2017 Aras Abbasi
105 *
106 * Licensed under the MIT License.
107 * http://opensource.org/licenses/mit-license
108 */function lr(t,n){if(this.pos=0,this.buffer=t,this.datav=new DataView(t.buffer),this.is_with_alpha=!!n,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 _f(t){function n(B){if(!B)throw Error("assert :P")}function e(B,tt,L){for(var F=0;4>F;F++)if(B[tt+F]!=L.charCodeAt(F))return!0;return!1}function r(B,tt,L,F,z){for(var U=0;U<z;U++)B[tt+U]=L[F+U]}function i(B,tt,L,F){for(var z=0;z<F;z++)B[tt+z]=L}function o(B){return new Int32Array(B)}function c(B,tt){for(var L=[],F=0;F<B;F++)L.push(new tt);return L}function l(B,tt){var L=[];return function F(z,U,rt){for(var st=rt[U],ht=0;ht<st&&(z.push(rt.length>U+1?[]:new tt),!(rt.length<U+1));ht++)F(z[ht],U+1,rt)}(L,0,B),L}var f=function(){var B=this;function tt(a,s){for(var u=1<<s-1>>>0;a&u;)u>>>=1;return u?(a&u-1)+u:a}function L(a,s,u,m,b){n(!(m%u));do a[s+(m-=u)]=b;while(0<m)}function F(a,s,u,m,b){if(n(2328>=b),512>=b)var w=o(512);else if((w=o(b))==null)return 0;return function(_,A,S,I,W,et){var C,Z,J=A,lt=1<<S,Q=o(16),ct=o(16);for(n(W!=0),n(I!=null),n(_!=null),n(0<S),Z=0;Z<W;++Z){if(15<I[Z])return 0;++Q[I[Z]]}if(Q[0]==W)return 0;for(ct[1]=0,C=1;15>C;++C){if(Q[C]>1<<C)return 0;ct[C+1]=ct[C]+Q[C]}for(Z=0;Z<W;++Z)C=I[Z],0<I[Z]&&(et[ct[C]++]=Z);if(ct[15]==1)return(I=new z).g=0,I.value=et[0],L(_,J,1,lt,I),lt;var pt,yt=-1,bt=lt-1,jt=0,Pt=1,re=1,Ft=1<<S;for(Z=0,C=1,W=2;C<=S;++C,W<<=1){if(Pt+=re<<=1,0>(re-=Q[C]))return 0;for(;0<Q[C];--Q[C])(I=new z).g=C,I.value=et[Z++],L(_,J+jt,W,Ft,I),jt=tt(jt,C)}for(C=S+1,W=2;15>=C;++C,W<<=1){if(Pt+=re<<=1,0>(re-=Q[C]))return 0;for(;0<Q[C];--Q[C]){if(I=new z,(jt&bt)!=yt){for(J+=Ft,pt=1<<(yt=C)-S;15>yt&&!(0>=(pt-=Q[yt]));)++yt,pt<<=1;lt+=Ft=1<<(pt=yt-S),_[A+(yt=jt&bt)].g=pt+S,_[A+yt].value=J-A-yt}I.g=C-S,I.value=et[Z++],L(_,J+(jt>>S),W,Ft,I),jt=tt(jt,C)}}return Pt!=2*ct[15]-1?0:lt}(a,s,u,m,b,w)}function z(){this.value=this.g=0}function U(){this.value=this.g=0}function rt(){this.G=c(5,z),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=c(Ri,U)}function st(a,s,u,m){n(a!=null),n(s!=null),n(2147483648>m),a.Ca=254,a.I=0,a.b=-8,a.Ka=0,a.oa=s,a.pa=u,a.Jd=s,a.Yc=u+m,a.Zc=4<=m?u+m-4+1:u,at(a)}function ht(a,s){for(var u=0;0<s--;)u|=gt(a,128)<<s;return u}function nt(a,s){var u=ht(a,s);return ot(a)?-u:u}function ft(a,s,u,m){var b,w=0;for(n(a!=null),n(s!=null),n(4294967288>m),a.Sb=m,a.Ra=0,a.u=0,a.h=0,4<m&&(m=4),b=0;b<m;++b)w+=s[u+b]<<8*b;a.Ra=w,a.bb=m,a.oa=s,a.pa=u}function At(a){for(;8<=a.u&&a.bb<a.Sb;)a.Ra>>>=8,a.Ra+=a.oa[a.pa+a.bb]<<ti-8>>>0,++a.bb,a.u-=8;H(a)&&(a.h=1,a.u=0)}function wt(a,s){if(n(0<=s),!a.h&&s<=Fn){var u=M(a)&Cn[s];return a.u+=s,At(a),u}return a.h=1,a.u=0}function y(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function R(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function M(a){return a.Ra>>>(a.u&ti-1)>>>0}function H(a){return n(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>ti}function Y(a,s){a.u=s,a.h=H(a)}function X(a){a.u>=Ur&&(n(a.u>=Ur),At(a))}function at(a){n(a!=null&&a.oa!=null),a.pa<a.Zc?(a.I=(a.oa[a.pa++]|a.I<<8)>>>0,a.b+=8):(n(a!=null&&a.oa!=null),a.pa<a.Yc?(a.b+=8,a.I=a.oa[a.pa++]|a.I<<8):a.Ka?a.b=0:(a.I<<=8,a.b+=8,a.Ka=1))}function ot(a){return ht(a,1)}function gt(a,s){var u=a.Ca;0>a.b&&at(a);var m=a.b,b=u*s>>>8,w=(a.I>>>m>b)+0;for(w?(u-=b,a.I-=b+1<<m>>>0):u=b+1,m=u,b=0;256<=m;)b+=8,m>>=8;return m=7^b+ei[m],a.b-=m,a.Ca=(u<<m)-1,w}function xt(a,s,u){a[s+0]=u>>24&255,a[s+1]=u>>16&255,a[s+2]=u>>8&255,a[s+3]=255&u}function kt(a,s){return a[s+0]|a[s+1]<<8}function St(a,s){return kt(a,s)|a[s+2]<<16}function Dt(a,s){return kt(a,s)|kt(a,s+2)<<16}function P(a,s){var u=1<<s;return n(a!=null),n(0<s),a.X=o(u),a.X==null?0:(a.Mb=32-s,a.Xa=s,1)}function Lt(a,s){n(a!=null),n(s!=null),n(a.Xa==s.Xa),r(s.X,0,a.X,0,1<<s.Xa)}function ae(){this.X=[],this.Xa=this.Mb=0}function Ht(a,s,u,m){n(u!=null),n(m!=null);var b=u[0],w=m[0];return b==0&&(b=(a*w+s/2)/s),w==0&&(w=(s*b+a/2)/a),0>=b||0>=w?0:(u[0]=b,m[0]=w,1)}function _t(a,s){return a+(1<<s)-1>>>s}function Wt(a,s){return((4278255360&a)+(4278255360&s)>>>0&4278255360)+((16711935&a)+(16711935&s)>>>0&16711935)>>>0}function Et(a,s){B[s]=function(u,m,b,w,_,A,S){var I;for(I=0;I<_;++I){var W=B[a](A[S+I-1],b,w+I);A[S+I]=Wt(u[m+I],W)}}}function zt(){this.ud=this.hd=this.jd=0}function qt(a,s){return((4278124286&(a^s))>>>1)+(a&s)>>>0}function we(a){return 0<=a&&256>a?a:0>a?0:255<a?255:void 0}function he(a,s){return we(a+(a-s+.5>>1))}function Xt(a,s,u){return Math.abs(s-u)-Math.abs(a-u)}function fe(a,s,u,m,b,w,_){for(m=w[_-1],u=0;u<b;++u)w[_+u]=m=Wt(a[s+u],m)}function ce(a,s,u,m,b){var w;for(w=0;w<u;++w){var _=a[s+w],A=_>>8&255,S=16711935&(S=(S=16711935&_)+((A<<16)+A));m[b+w]=(4278255360&_)+S>>>0}}function Tt(a,s){s.jd=255&a,s.hd=a>>8&255,s.ud=a>>16&255}function ee(a,s,u,m,b,w){var _;for(_=0;_<m;++_){var A=s[u+_],S=A>>>8,I=A,W=255&(W=(W=A>>>16)+((a.jd<<24>>24)*(S<<24>>24)>>>5));I=255&(I=(I+=(a.hd<<24>>24)*(S<<24>>24)>>>5)+((a.ud<<24>>24)*(W<<24>>24)>>>5)),b[w+_]=(4278255360&A)+(W<<16)+I}}function Bt(a,s,u,m,b){B[s]=function(w,_,A,S,I,W,et,C,Z){for(S=et;S<C;++S)for(et=0;et<Z;++et)I[W++]=b(A[m(w[_++])])},B[a]=function(w,_,A,S,I,W,et){var C=8>>w.b,Z=w.Ea,J=w.K[0],lt=w.w;if(8>C)for(w=(1<<w.b)-1,lt=(1<<C)-1;_<A;++_){var Q,ct=0;for(Q=0;Q<Z;++Q)Q&w||(ct=m(S[I++])),W[et++]=b(J[ct&lt]),ct>>=C}else B["VP8LMapColor"+u](S,I,J,lt,W,et,_,A,Z)}}function ze(a,s,u,m,b){for(u=s+u;s<u;){var w=a[s++];m[b++]=w>>16&255,m[b++]=w>>8&255,m[b++]=255&w}}function ge(a,s,u,m,b){for(u=s+u;s<u;){var w=a[s++];m[b++]=w>>16&255,m[b++]=w>>8&255,m[b++]=255&w,m[b++]=w>>24&255}}function oe(a,s,u,m,b){for(u=s+u;s<u;){var w=(_=a[s++])>>16&240|_>>12&15,_=240&_|_>>28&15;m[b++]=w,m[b++]=_}}function se(a,s,u,m,b){for(u=s+u;s<u;){var w=(_=a[s++])>>16&248|_>>13&7,_=_>>5&224|_>>3&31;m[b++]=w,m[b++]=_}}function Te(a,s,u,m,b){for(u=s+u;s<u;){var w=a[s++];m[b++]=255&w,m[b++]=w>>8&255,m[b++]=w>>16&255}}function Ut(a,s,u,m,b,w){if(w==0)for(u=s+u;s<u;)xt(m,((w=a[s++])[0]>>24|w[1]>>8&65280|w[2]<<8&16711680|w[3]<<24)>>>0),b+=32;else r(m,b,a,s,u)}function Ee(a,s){B[s][0]=B[a+"0"],B[s][1]=B[a+"1"],B[s][2]=B[a+"2"],B[s][3]=B[a+"3"],B[s][4]=B[a+"4"],B[s][5]=B[a+"5"],B[s][6]=B[a+"6"],B[s][7]=B[a+"7"],B[s][8]=B[a+"8"],B[s][9]=B[a+"9"],B[s][10]=B[a+"10"],B[s][11]=B[a+"11"],B[s][12]=B[a+"12"],B[s][13]=B[a+"13"],B[s][14]=B[a+"0"],B[s][15]=B[a+"0"]}function Zt(a){return a==Ks||a==Js||a==Yo||a==Xs}function Qt(){this.eb=[],this.size=this.A=this.fb=0}function Re(){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 le(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Qt,this.f.kb=new Re,this.sd=null}function Vt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function _e(){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 yi(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function mn(a,s){var u=a.T,m=s.ba.f.RGBA,b=m.eb,w=m.fb+a.ka*m.A,_=Jn[s.ba.S],A=a.y,S=a.O,I=a.f,W=a.N,et=a.ea,C=a.W,Z=s.cc,J=s.dc,lt=s.Mc,Q=s.Nc,ct=a.ka,pt=a.ka+a.T,yt=a.U,bt=yt+1>>1;for(ct==0?_(A,S,null,null,I,W,et,C,I,W,et,C,b,w,null,null,yt):(_(s.ec,s.fc,A,S,Z,J,lt,Q,I,W,et,C,b,w-m.A,b,w,yt),++u);ct+2<pt;ct+=2)Z=I,J=W,lt=et,Q=C,W+=a.Rc,C+=a.Rc,w+=2*m.A,_(A,(S+=2*a.fa)-a.fa,A,S,Z,J,lt,Q,I,W,et,C,b,w-m.A,b,w,yt);return S+=a.fa,a.j+pt<a.o?(r(s.ec,s.fc,A,S,yt),r(s.cc,s.dc,I,W,bt),r(s.Mc,s.Nc,et,C,bt),u--):1&pt||_(A,S,null,null,I,W,et,C,I,W,et,C,b,w+m.A,null,null,yt),u}function Pr(a,s,u){var m=a.F,b=[a.J];if(m!=null){var w=a.U,_=s.ba.S,A=_==Zo||_==Yo;s=s.ba.f.RGBA;var S=[0],I=a.ka;S[0]=a.T,a.Kb&&(I==0?--S[0]:(--I,b[0]-=a.width),a.j+a.ka+a.T==a.o&&(S[0]=a.o-a.j-I));var W=s.eb;I=s.fb+I*s.A,a=_h(m,b[0],a.width,w,S,W,I+(A?0:3),s.A),n(u==S),a&&Zt(_)&&$a(W,I,A,w,S,s.A)}return 0}function ur(a){var s=a.ma,u=s.ba.S,m=11>
vendor: 6,028 bytes, line 108
108u,b=u==Vo||u==Go||u==Zo||u==$s||u==12||Zt(u);if(s.memory=null,s.Ib=null,s.Jb=null,s.Nd=null,!Ua(s.Oa,a,b?11:12))return 0;if(b&&Zt(u)&&Ma(),a.da)alert("todo:use_scaling");else{if(m){if(s.Ib=yi,a.Kb){if(u=a.U+1>>1,s.memory=o(a.U+2*u),s.memory==null)return 0;s.ec=s.memory,s.fc=0,s.cc=s.ec,s.dc=s.fc+a.U,s.Mc=s.cc,s.Nc=s.dc+u,s.Ib=mn,Ma()}}else alert("todo:EmitYUV");b&&(s.Jb=Pr,m&&ir())}if(m&&!Bh){for(a=0;256>a;++a)$u[a]=89858*(a-128)+Ko>>$o,Xu[a]=-22014*(a-128)+Ko,Ju[a]=-45773*(a-128),Ku[a]=113618*(a-128)+Ko>>$o;for(a=Ja;a<el;++a)s=76283*(a-16)+Ko>>$o,Qu[a-Ja]=gr(s,255),t1[a-Ja]=gr(s+8>>4,15);Bh=1}return 1}function Gt(a){var s=a.ma,u=a.U,m=a.T;return n(!(1&a.ka)),0>=u||0>=m?0:(u=s.Ib(a,s),s.Jb!=null&&s.Jb(a,s,u),s.Dc+=u,1)}function Er(a){a.ma.memory=null}function Ir(a,s,u,m){return wt(a,8)!=47?0:(s[0]=wt(a,14)+1,u[0]=wt(a,14)+1,m[0]=wt(a,1),wt(a,3)!=0?0:!a.h)}function Hn(a,s){if(4>a)return a+1;var u=a-2>>1;return(2+(1&a)<<u)+wt(s,u)+1}function Wn(a,s){return 120<s?s-120:1<=(u=((u=Ru[s-1])>>4)*a+(8-(15&u)))?u:1;var u}function Me(a,s,u){var m=M(u),b=a[s+=255&m].g-8;return 0<b&&(Y(u,u.u+8),m=M(u),s+=a[s].value,s+=m&(1<<b)-1),Y(u,u.u+a[s].g),a[s].value}function on(a,s,u){return u.g+=a.g,u.value+=a.value<<s>>>0,n(8>=u.g),a.g}function hn(a,s,u){var m=a.xc;return n((s=m==0?0:a.vc[a.md*(u>>m)+(s>>m)])<a.Wb),a.Ya[s]}function xi(a,s,u,m){var b=a.ab,w=a.c*s,_=a.C;s=_+s;var A=u,S=m;for(m=a.Ta,u=a.Ua;0<b--;){var I=a.gc[b],W=_,et=s,C=A,Z=S,J=(S=m,A=u,I.Ea);switch(n(W<et),n(et<=I.nc),I.hc){case 2:He(C,Z,(et-W)*J,S,A);break;case 0:var lt=W,Q=et,ct=S,pt=A,yt=(Ft=I).Ea;lt==0&&(Ha(C,Z,null,null,1,ct,pt),fe(C,Z+1,0,0,yt-1,ct,pt+1),Z+=yt,pt+=yt,++lt);for(var bt=1<<Ft.b,jt=bt-1,Pt=_t(yt,Ft.b),re=Ft.K,Ft=Ft.w+(lt>>Ft.b)*Pt;lt<Q;){var ue=re,nn=Ft,ie=1;for(oa(C,Z,ct,pt-yt,1,ct,pt);ie<yt;){var Ot=(ie&~jt)+bt;Ot>yt&&(Ot=yt),(0,Va[ue[nn++]>>8&15])(C,Z+ +ie,ct,pt+ie-yt,Ot-ie,ct,pt+ie),ie=Ot}Z+=yt,pt+=yt,++lt&jt||(Ft+=Pt)}et!=I.nc&&r(S,A-J,S,A+(et-W-1)*J,J);break;case 1:for(J=C,Q=Z,yt=(C=I.Ea)-(pt=C&~(ct=(Z=1<<I.b)-1)),lt=_t(C,I.b),bt=I.K,I=I.w+(W>>I.b)*lt;W<et;){for(jt=bt,Pt=I,re=new zt,Ft=Q+pt,ue=Q+C;Q<Ft;)Tt(jt[Pt++],re),Ga(re,J,Q,Z,S,A),Q+=Z,A+=Z;Q<ue&&(Tt(jt[Pt++],re),Ga(re,J,Q,yt,S,A),Q+=yt,A+=yt),++W&ct||(I+=lt)}break;case 3:if(C==S&&Z==A&&0<I.b){for(Q=S,C=J=A+(et-W)*J-(pt=(et-W)*_t(I.Ea,I.b)),Z=S,ct=A,lt=[],pt=(yt=pt)-1;0<=pt;--pt)lt[pt]=Z[ct+pt];for(pt=yt-1;0<=pt;--pt)Q[C+pt]=lt[pt];Uo(I,W,et,S,J,S,A)}else Uo(I,W,et,C,Z,S,A)}A=m,S=u}S!=u&&r(m,u,A,S,w)}function Kr(a,s){var u=a.V,m=a.Ba+a.c*a.C,b=s-a.C;if(n(s<=a.l.o),n(16>=b),0<b){var w=a.l,_=a.Ta,A=a.Ua,S=w.width;if(xi(a,b,u,m),b=A=[A],n((u=a.C)<(m=s)),n(w.v<w.va),m>w.o&&(m=w.o),u<w.j){var I=w.j-u;u=w.j,b[0]+=I*S}if(u>=m?u=0:(b[0]+=4*w.v,w.ka=u-w.j,w.U=w.va-w.v,w.T=m-u,u=1),u){if(A=A[0],11>(u=a.ca).S){var W=u.f.RGBA,et=(m=u.S,b=w.U,w=w.T,I=W.eb,W.A),C=w;for(W=W.fb+a.Ma*W.A;0<C--;){var Z=_,J=A,lt=b,Q=I,ct=W;switch(m){case Wo:Za(Z,J,lt,Q,ct);break;case Vo:ni(Z,J,lt,Q,ct);break;case Ks:ni(Z,J,lt,Q,ct),$a(Q,ct,0,lt,1,0);break;case kh:ji(Z,J,lt,Q,ct);break;case Go:Ut(Z,J,lt,Q,ct,1);break;case Js:Ut(Z,J,lt,Q,ct,1),$a(Q,ct,0,lt,1,0);break;case Zo:Ut(Z,J,lt,Q,ct,0);break;case Yo:Ut(Z,J,lt,Q,ct,0),$a(Q,ct,1,lt,1,0);break;case $s:ri(Z,J,lt,Q,ct);break;case Xs:ri(Z,J,lt,Q,ct),wh(Q,ct,lt,1,0);break;case Ph:ii(Z,J,lt,Q,ct);break;default:n(0)}A+=S,W+=et}a.Ma+=w}else alert("todo:EmitRescaledRowsYUVA");n(a.Ma<=u.height)}}a.C=s,n(a.C<=a.i)}function tr(a){var s;if(0<a.ua)return 0;for(s=0;s<a.Wb;++s){var u=a.Ya[s].G,m=a.Ya[s].H;if(0<u[1][m[1]+0].g||0<u[2][m[2]+0].g||0<u[3][m[3]+0].g)return 0}return 1}function dr(a,s,u,m,b,w){if(a.Z!=0){var _=a.qd,A=a.rd;for(n(si[a.Z]!=null);s<u;++s)si[a.Z](_,A,m,b,m,b,w),_=m,A=b,b+=w;a.qd=_,a.rd=A}}function er(a,s){var u=a.l.ma,m=u.Z==0||u.Z==1?a.l.j:a.C;if(m=a.C<m?m:a.C,n(s<=a.l.o),s>m){var b=a.l.width,w=u.ca,_=u.tb+b*m,A=a.V,S=a.Ba+a.c*m,I=a.gc;n(a.ab==1),n(I[0].hc==3),wr(I[0],m,s,A,S,w,_),dr(u,m,s,w,_,b)}a.C=a.Ma=s}function nr(a,s,u,m,b,w,_){var A=a.$/m,S=a.$%m,I=a.m,W=a.s,et=u+a.$,C=et;b=u+m*b;var Z=u+m*w,J=280+W.ua,lt=a.Pb?A:16777216,Q=0<W.ua?W.Wa:null,ct=W.wc,pt=et<Z?hn(W,S,A):null;n(a.C<w),n(Z<=b);var yt=!1;t:for(;;){for(;yt||et<Z;){var bt=0;if(A>=lt){var jt=et-u;n((lt=a).Pb),lt.wd=lt.m,lt.xd=jt,0<lt.s.ua&&Lt(lt.s.Wa,lt.s.vb),lt=A+Bu}if(S&ct||(pt=hn(W,S,A)),n(pt!=null),pt.Qb&&(s[et]=pt.qb,yt=!0),!yt)if(X(I),pt.jc){bt=I,jt=s;var Pt=et,re=pt.pd[M(bt)&Ri-1];n(pt.jc),256>re.g?(Y(bt,bt.u+re.g),jt[Pt]=re.value,bt=0):(Y(bt,bt.u+re.g-256),n(256<=re.value),bt=re.value),bt==0&&(yt=!0)}else bt=Me(pt.G[0],pt.H[0],I);if(I.h)break;if(yt||256>bt){if(!yt)if(pt.nd)s[et]=(pt.qb|bt<<8)>>>0;else{if(X(I),yt=Me(pt.G[1],pt.H[1],I),X(I),jt=Me(pt.G[2],pt.H[2],I),Pt=Me(pt.G[3],pt.H[3],I),I.h)break;s[et]=(Pt<<24|yt<<16|bt<<8|jt)>>>0}if(yt=!1,++et,++S>=m&&(S=0,++A,_!=null&&A<=w&&!(A%16)&&_(a,A),Q!=null))for(;C<et;)bt=s[C++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt}else if(280>bt){if(bt=Hn(bt-256,I),jt=Me(pt.G[4],pt.H[4],I),X(I),jt=Wn(m,jt=Hn(jt,I)),I.h)break;if(et-u<jt||b-et<bt)break t;for(Pt=0;Pt<bt;++Pt)s[et+Pt]=s[et+Pt-jt];for(et+=bt,S+=bt;S>=m;)S-=m,++A,_!=null&&A<=w&&!(A%16)&&_(a,A);if(n(et<=b),S&ct&&(pt=hn(W,S,A)),Q!=null)for(;C<et;)bt=s[C++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt}else{if(!(bt<J))break t;for(yt=bt-280,n(Q!=null);C<et;)bt=s[C++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt;bt=et,n(!(yt>>>(jt=Q).Xa)),s[bt]=jt.X[yt],yt=!0}yt||n(I.h==H(I))}if(a.Pb&&I.h&&et<b)n(a.m.h),a.a=5,a.m=a.wd,a.$=a.xd,0<a.s.ua&&Lt(a.s.vb,a.s.Wa);else{if(I.h)break t;_!=null&&_(a,A>w?w:A),a.a=0,a.$=et-u}return 1}return a.a=3,0}function Vn(a){n(a!=null),a.vc=null,a.yc=null,a.Ya=null;var s=a.Wa;s!=null&&(s.X=null),a.vb=null,n(a!=null)}function Ai(){var a=new $t;return a==null?null:(a.a=0,a.xb=Ch,Ee("Predictor","VP8LPredictors"),Ee("Predictor","VP8LPredictors_C"),Ee("PredictorAdd","VP8LPredictorsAdd"),Ee("PredictorAdd","VP8LPredictorsAdd_C"),He=ce,Ga=ee,Za=ze,ni=ge,ri=oe,ii=se,ji=Te,B.VP8LMapColor32b=br,B.VP8LMapColor8b=Wa,a)}function pr(a,s,u,m,b){var w=1,_=[a],A=[s],S=m.m,I=m.s,W=null,et=0;t:for(;;){if(u)for(;
vendor: 17,024 bytes, line 108
108w&&wt(S,1);){var C=_,Z=A,J=m,lt=1,Q=J.m,ct=J.gc[J.ab],pt=wt(Q,2);if(J.Oc&1<<pt)w=0;else{switch(J.Oc|=1<<pt,ct.hc=pt,ct.Ea=C[0],ct.nc=Z[0],ct.K=[null],++J.ab,n(4>=J.ab),pt){case 0:case 1:ct.b=wt(Q,3)+2,lt=pr(_t(ct.Ea,ct.b),_t(ct.nc,ct.b),0,J,ct.K),ct.K=ct.K[0];break;case 3:var yt,bt=wt(Q,8)+1,jt=16<bt?0:4<bt?1:2<bt?2:3;if(C[0]=_t(ct.Ea,jt),ct.b=jt,yt=lt=pr(bt,1,0,J,ct.K)){var Pt,re=bt,Ft=ct,ue=1<<(8>>Ft.b),nn=o(ue);if(nn==null)yt=0;else{var ie=Ft.K[0],Ot=Ft.w;for(nn[0]=Ft.K[0][0],Pt=1;Pt<1*re;++Pt)nn[Pt]=Wt(ie[Ot+Pt],nn[Pt-1]);for(;Pt<4*ue;++Pt)nn[Pt]=0;Ft.K[0]=null,Ft.K[0]=nn,yt=1}}lt=yt;break;case 2:break;default:n(0)}w=lt}}if(_=_[0],A=A[0],w&&wt(S,1)&&!(w=1<=(et=wt(S,4))&&11>=et)){m.a=3;break t}var Nt;if(Nt=w)e:{var Ve,te,pe,Fe=m,un=_,An=A,De=et,vn=u,Nn=Fe.m,rn=Fe.s,ve=[null],xe=1,qe=0,Ae=ju[De];n:for(;;){if(vn&&wt(Nn,1)){var dn=wt(Nn,3)+2,or=_t(un,dn),Ge=_t(An,dn),kn=or*Ge;if(!pr(or,Ge,0,Fe,ve))break n;for(ve=ve[0],rn.xc=dn,Ve=0;Ve<kn;++Ve){var ke=ve[Ve]>>8&65535;ve[Ve]=ke,ke>=xe&&(xe=ke+1)}}if(Nn.h)break n;for(te=0;5>te;++te){var an=Eh[te];!te&&0<De&&(an+=1<<De),qe<an&&(qe=an)}var Tn=c(xe*Ae,z),Ln=xe,Rn=c(Ln,rt);if(Rn==null)var jn=null;else n(65536>=Ln),jn=Rn;var Pn=o(qe);if(jn==null||Pn==null||Tn==null){Fe.a=1;break n}var Bn=Tn;for(Ve=pe=0;Ve<xe;++Ve){var Ce=jn[Ve],Mn=Ce.G,sr=Ce.H,Mi=0,Wr=1,pn=0;for(te=0;5>te;++te){an=Eh[te],Mn[te]=Bn,sr[te]=pe,!te&&0<De&&(an+=1<<De);i:{var Xo,nl=an,Qo=Fe,Xa=Pn,r1=Bn,i1=pe,rl=0,li=Qo.m,a1=wt(li,1);if(i(Xa,0,0,nl),a1){var o1=wt(li,1)+1,s1=wt(li,1),qh=wt(li,s1==0?1:8);Xa[qh]=1,o1==2&&(Xa[qh=wt(li,8)]=1);var ts=1}else{var Uh=o(19),zh=wt(li,4)+4;if(19<zh){Qo.a=3;var es=0;break i}for(Xo=0;Xo<zh;++Xo)Uh[Tu[Xo]]=wt(li,3);var il=void 0,Qa=void 0,Hh=Qo,l1=Uh,ns=nl,Wh=Xa,al=0,hi=Hh.m,Vh=8,Gh=c(128,z);r:for(;F(Gh,0,7,l1,19);){if(wt(hi,1)){var h1=2+2*wt(hi,3);if((il=2+wt(hi,h1))>ns)break r}else il=ns;for(Qa=0;Qa<ns&&il--;){X(hi);var Zh=Gh[0+(127&M(hi))];Y(hi,hi.u+Zh.g);var la=Zh.value;if(16>la)Wh[Qa++]=la,la!=0&&(Vh=la);else{var c1=la==16,Yh=la-16,f1=Fu[Yh],$h=wt(hi,Cu[Yh])+f1;if(Qa+$h>ns)break r;for(var u1=c1?Vh:0;0<$h--;)Wh[Qa++]=u1}}al=1;break r}al||(Hh.a=3),ts=al}(ts=ts&&!li.h)&&(rl=F(r1,i1,8,Xa,nl)),ts&&rl!=0?es=rl:(Qo.a=3,es=0)}if(es==0)break n;if(Wr&&Ou[te]==1&&(Wr=Bn[pe].g==0),Mi+=Bn[pe].g,pe+=es,3>=te){var to,ol=Pn[0];for(to=1;to<an;++to)Pn[to]>ol&&(ol=Pn[to]);pn+=ol}}if(Ce.nd=Wr,Ce.Qb=0,Wr&&(Ce.qb=(Mn[3][sr[3]+0].value<<24|Mn[1][sr[1]+0].value<<16|Mn[2][sr[2]+0].value)>>>0,Mi==0&&256>Mn[0][sr[0]+0].value&&(Ce.Qb=1,Ce.qb+=Mn[0][sr[0]+0].value<<8)),Ce.jc=!Ce.Qb&&6>pn,Ce.jc){var rs,Vr=Ce;for(rs=0;rs<Ri;++rs){var ci=rs,fi=Vr.pd[ci],is=Vr.G[0][Vr.H[0]+ci];256<=is.value?(fi.g=is.g+256,fi.value=is.value):(fi.g=0,fi.value=0,ci>>=on(is,8,fi),ci>>=on(Vr.G[1][Vr.H[1]+ci],16,fi),ci>>=on(Vr.G[2][Vr.H[2]+ci],0,fi),on(Vr.G[3][Vr.H[3]+ci],24,fi))}}}rn.vc=ve,rn.Wb=xe,rn.Ya=jn,rn.yc=Tn,Nt=1;break e}Nt=0}if(!(w=Nt)){m.a=3;break t}if(0<et){if(I.ua=1<<et,!P(I.Wa,et)){m.a=1,w=0;break t}}else I.ua=0;var sl=m,Kh=_,d1=A,ll=sl.s,hl=ll.xc;if(sl.c=Kh,sl.i=d1,ll.md=_t(Kh,hl),ll.wc=hl==0?-1:(1<<hl)-1,u){m.xb=Wu;break t}if((W=o(_*A))==null){m.a=1,w=0;break t}w=(w=nr(m,W,0,_,A,A,null))&&!S.h;break t}return w?(b!=null?b[0]=W:(n(W==null),n(u)),m.$=0,u||Vn(I)):Vn(I),w}function Ni(a,s){var u=a.c*a.i,m=u+s+16*s;return n(a.c<=s),a.V=o(m),a.V==null?(a.Ta=null,a.Ua=0,a.a=1,0):(a.Ta=a.V,a.Ua=a.Ba+u+s,1)}function Ki(a,s){var u=a.C,m=s-u,b=a.V,w=a.Ba+a.c*u;for(n(s<=a.l.o);0<m;){var _=16<m?16:m,A=a.l.ma,S=a.l.width,I=S*_,W=A.ca,et=A.tb+S*u,C=a.Ta,Z=a.Ua;xi(a,_,b,w),yh(C,Z,W,et,I),dr(A,u,u+_,W,et,S),m-=_,b+=_*a.c,u+=_}n(u==s),a.C=a.Ma=s}function Ji(){this.ub=this.yd=this.td=this.Rb=0}function Xi(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function Fs(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function ka(){this.Yb=function(){var a=[];return function s(u,m,b){for(var w=b[m],_=0;_<w&&(u.push(b.length>m+1?[]:0),!(b.length<m+1));_++)s(u[_],m+1,b)}(a,0,[3,11]),a}()}function Ao(){this.jb=o(3),this.Wc=l([4,8],ka),this.Xc=l([4,17],ka)}function No(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Gn(){this.ld=this.La=this.dd=this.tc=0}function Pa(){this.Na=this.la=0}function Lo(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function Ea(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function So(){this.uc=this.M=this.Nb=0,this.wa=Array(new Gn),this.Y=0,this.ya=Array(new Ea),this.aa=0,this.l=new Qi}function ko(){this.y=o(16),this.f=o(8),this.ea=o(8)}function Po(){this.cb=this.a=0,this.sc="",this.m=new y,this.Od=new Ji,this.Kc=new Xi,this.ed=new No,this.Qa=new Fs,this.Ic=this.$c=this.Aa=0,this.D=new So,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=c(8,y),this.ia=0,this.pb=c(4,Lo),this.Pa=new Ao,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new ko),this.Hd=0,this.rb=Array(new Pa),this.sb=0,this.wa=Array(new Gn),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 Ea),this.L=this.aa=0,this.gd=l([4,2],Gn),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 gr(a,s){return 0>a?0:a>s?s:a}function Qi(){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 Os(){var a=new Po;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,Ka||(Ka=ta)),a}function Ke(a,s,u){return a.a==0&&(a.a=s,a.sc=u,a.cb=0),0}function Eo(a,s,u){return 3<=u&&a[s+0]==157&&a[s+1]==1&&a[s+2]==42}function mr(a,s){if(a==null)return 0;if(a.a=0,a.sc="OK",s==null)return Ke(a,2,"null VP8Io passed to VP8GetHeaders()");var u=s.data,m=s.w,b=s.ha;if(4>b)return Ke(a,7,"Truncated header.");var w=u[m+0]|u[m+1]<<8|u[m+2]<<16,_=a.Od;if(_.Rb=!(1&w),_.td=w>>1&7,_.yd=w>>4&1,_.ub=w>>5,3<_.td)return Ke(a,3,"Incorrect keyframe parameters.");if(!_.yd)return Ke(a,4,"Frame not displayable.");m+=3,b-=3;var A=a.Kc;if(_.Rb){if(7>b)return Ke(a,7,"cannot parse picture header");if(!Eo(u,m,b))return Ke(a,3,"Bad code word");A.c=16383&(u[m+4]<<8|u[m+3]),A.Td=u[m+4]>>6,A.i=16383&(u[m+6]<<8|u[m+5]),A.Ud=u[m+6]>>6,m+=7,b-=7,a.za=A.c+15>>4,a.Ub=A.i+15>>4,s.width=A.c,s.height=A.i,s.Da=0,s.j=0,s.v=0,s.va=s.width,s.o=s.height,s.da=0,s.ib=s.width,s.hb=s.height,s.U=s.width,s.T=s.height,i((w=a.Pa).jb,0,255,w.jb.length),n((w=a.Qa)!=null),w.Cb=0,w.Bb=0,w.Fb=1,i(w.Zb,0,0,w.Zb.length),i(w.Lb,0,0,w.Lb)}if(_.ub>b)return Ke(a,7,"bad partition length");st(w=a.m,u,m,_.ub),m+=_.ub,b-=_.ub,_.Rb&&(A.Ld=ot(w),A.Kd=ot(w)),A=a.Qa;var S,I=a.Pa;if(n(w!=null),n(A!=null),A.Cb=ot(w),A.Cb){if(A.Bb=ot(w),ot(w)){for(A.Fb=ot(w),S=0;4>S;++S)A.Zb[S]=ot(w)?nt(w,7):0;for(S=0;4>S;++S)A.Lb[S]=ot(w)?nt(w,6):0}if(A.Bb)for(S=0;3>S;++S)I.jb[S]=ot(w)?ht(w,8):255}else A.Bb=0;if(w.Ka)return Ke(a,3,"cannot parse segment header");if((A=a.ed).zd=ot(w),A.Tb=ht(w,6),A.wb=ht(w,3),A.Pc=ot(w),A.Pc&&ot(w)){for(I=0;4>I;++I)ot(w)&&(A.vd[I]=nt(w,6));for(I=0;4>I;++I)ot(w)&&(A.od[I]=nt(w,6))}if(a.L=A.Tb==0?0:A.zd?1:2,w.Ka)return Ke(a,3,"cannot parse filter header");var W=b;if(b=S=m,m=S+W,A=W,a.Xb=(1<<ht(a.m,2))-1,W<3*(I=a.Xb))u=7;else{for(S+=3*I,A-=3*I,W=0;W<I;++W){var et=u[b+0]|u[b+1]<<8|u[b+2]<<16;et>A&&(et=A),st(a.Jc[+W],u,S,et),S+=et,A-=et,b+=3}st(a.Jc[+I],u,S,A),u=S<m?0:5}if(u!=0)return Ke(a,u,"cannot parse partitions");for(u=ht(S=a.m,7),b=ot(S)?nt(S,4):0,m=ot(S)?nt(S,4):0,A=ot(S)?nt(S,4):0,I=ot(S)?nt(S,4):0,S=ot(S)?nt(S,4):0,W=a.Qa,et=0;4>et;++et){if(W.Cb){var C=W.Zb[et];W.Fb||(C+=u)}else{if(0<et){a.pb[et]=a.pb[0];continue}C=u}var Z=a.pb[et];Z.Sc[0]=Qs[gr(C+b,127)],Z.Sc[1]=tl[gr(C+0,127)],Z.Eb[0]=2*Qs[gr(C+m,127)],Z.Eb[1]=101581*tl[gr(C+A,127)]>>16,8>Z.Eb[1]&&(Z.Eb[1]=8),Z.Qc[0]=Qs[gr(C+I,117)],Z.Qc[1]=tl[gr(C+S,127)],Z.lc=C+S}if(!_.Rb)return Ke(a,4,"Not a key frame.");for(ot(w),_=a.Pa,u=0;4>u;++u){for(b=0;8>b;++b)for(m=0;3>m;++m)for(A=0;11>A;++A)I=gt(w,zu[u][b][m][A])?ht(w,8):qu[u][b][m][A],_.Wc[u][b].Yb[m][A]=I;for(b=0;17>b;++b)_.Xc[u][b]=_.Wc[u][Hu[b]]}return a.kc=ot(w),a.kc&&(a.Bd=ht(w,8)),a.cb=1}function ta(a,s,u,m,b,w,_){var A=s[b].Yb[u];for(u=0;16>b;++b){if(!gt(a,A[u+0]))return b;for(;!gt(a,A[u+1]);)if(A=s[++b].Yb[0],u=0,b==16)return 16;var S=s[b+1].Yb;if(gt(a,A[u+2])){var I=a,W=0;if(gt(I,(C=A)[(et=u)+3]))if(gt(I,C[et+6])){for(A=0,et=2*(W=gt(I,C[et+8]))+(C=gt(I,C[et+9+W])),W=0,C=Mu[et];C[A];++A)W+=W+gt(I,C[A]);W+=3+(8<<et)}else gt(I,C[et+7])?(W=7+2*gt(I,165),W+=gt(I,145)):W=5+gt(I,159);else W=gt(I,C[et+4])?3+gt(I,C[et+5]):2;A=S[2]}else W=1,A=S[1];S=_+Du[b],0>(I=a).b&&at(I);var et,C=I.b,Z=(et=I.Ca>>1)-(I.I>>C)>>31;--I.b,I.Ca+=Z,I.Ca|=1,I.I-=(et+1&Z)<<C,w[S]=((W^Z)-Z)*m[(0<b)+0]}return 16}function Io(a){var s=a.rb[a.sb-1];s.la=0,s.Na=0,i(a.zc,0,0,a.zc.length),a.ja=0}function Zn(a,s,u,m,b){b=a[s+u+32*m]+(b>>3),a[s+u+32*m]=-256&b?0>b?0:255:b}function Qe(a,s,u,m,b,w){Zn(a,s,0,u,m+b),Zn(a,s,1,u,m+w),Zn(a,s,2,u,m-w),Zn(a,s,3,u,m-b)}function Cr(a){return(20091*a>>16)+a}function Co(a,s,u,m){var b,w=0,_=o(16);for(b=0;4>b;++b){var A=a[s+0]+a[s+8],S=a[s+0]-a[s+8],I=(35468*a[s+4]>>16)-Cr(a[s+12]),W=Cr(a[s+4])+(35468*a[s+12]>>16);_[w+0]=A+W,_[w+1]=S+I,_[w+2]=S-I,_[w+3]=A-W,w+=4,s++}for(b=w=0;4>b;++b)A=(a=_[w+0]+4)+_[w+8],S=a-_[w+8],I=(35468*_[w+4]>>16)-Cr(_[w+12]),Zn(u,m,0,0,A+(W=Cr(_[w+4])+(35468*_[w+12]>>16))),Zn(u,m,1,0,S+I),Zn(u,m,2,0,S-I),Zn(u,m,3,0,A-W),w++,m+=32}function Ts(a,s,u,m){var b=a[s+0]+4,w=35468*a[s+4]>>16,_=Cr(a[s+4]),A=35468*a[s+1]>>16;Qe(u,m,0,b+_,a=Cr(a[s+1]),A),Qe(u,m,1,b+w,a,A),Qe(u,m,2,b-w,a,A),Qe(u,m,3,b-_,a,A)}function Rs(a,s,u,m,b){Co(a,s,u,m),b&&Co(a,s+16,u,m+4)}function vr(a,s,u,m){Bi(a,s+0,u,m,1),Bi(a,s+32,u,m+128,1)}function Fo(a,s,u,m){var b;for(a=a[s+0]+4,b=0;4>b;++b)for(s=0;4>s;++s)Zn(u,m,s,b,a)}function Oo(a,s,u,m){a[s+0]&&ye(a,s+0,u,m),a[s+16]&&ye(a,s+16,u,m+4),a[s+32]&&ye(a,s+32,u,m+128),a[s+48]&&ye(a,s+48,u,m+128+4)}function ea(a,s,u,m){var b,w=o(16);for(b=0;4>b;++b){var _=a[s+0+b]+a[s+12+b],A=a[s+4+b]+a[s+8+b],S=a[s+4+b]-a[s+8+b],I=a[s+0+b]-a[s+12+b];w[0+b]=_+A,w[8+b]=_-A,w[4+b]=I+S,w[12+b]=I-S}for(b=0;4>b;++b)_=(a=w[0+4*b]+3)+w[3+4*b],A=w[1+4*b]+w[2+4*b],S=w[1+4*b]-w[2+4*b],I=a-w[3+4*b],u[m+0]=_+A>>3,u[m+16]=I+S>>3,u[m+32]=_-A>>3,u[m+48]=I-S>>3,m+=64}function Li(a,s,u){var m,b=s-32,w=On,_=255-a[b-1];for(m=0;m<u;++m){var A,S=w,I=_+a[s-1];for(A=0;A<u;++A)a[s+A]=S[I+a[b+A]];s+=32}}function js(a,s){Li(a,s,4)}function Bs(a,s){Li(a,s,8)}function Ms(a,s){Li(a,s,16)}function Ia(a,s){var u;for(u=0;16>u;++u)r(a,s+32*u,a,s-32,16)}function To(a,s){var u;for(u=16;0<u;--u)i(a,s,a[s-1],16),s+=32}function rr(a,s,u){var m;for(m=0;16>m;++m)i(s,u+32*m,a,16)}function Ds(a,s){var u,m=16;for(u=0;16>u;++u)m+=a[s-1+32*u]+a[s+u-32];rr(m>>5,a,s)}function Si(a,s){var u,m=8;for(u=0;16>u;++u)m+=a[s-1+32*u];rr(m>>4,a,s)}function Ca(a,s){var u,m=8;for(u=0;16>u;++u)m+=a[s+u-32];rr(m>>4,a,s)}function qs(a,s){rr(128,a,s)}function Kt(a,s,u){return a+2*s+u+2>>2}function Us(a,s){var u,m=s-32;for(m=new Uint8Array([Kt(a[m-1],a[m+0],a[m+1]),Kt(a[m+0],a[m+1],a[m+2]),Kt(a[m+1],a[m+2],a[m+3]),Kt(a[m+2],a[m+3],a[m+4])]),u=0;4>u;++u)r(a,s+32*u,m,0,m.length)}function zs(a,s){var u=a[s-1],m=a[s-1+32],b=a[s-1+64],w=a[s-1+96];xt(a,s+0,16843009*Kt(a[s-1-32],u,m)),xt(a,s+32,16843009*Kt(u,m,b)),xt(a,s+64,16843009*Kt(m,b,w)),xt(a,s+96,16843009*Kt(b,w,w))}function Hs(a,s){var u,m=4;for(u=0;4>u;++u)m+=a[s+u-32]+a[s-1+32*u];for(m>>=3,u=0;4>u;++u)i(a,s+32*u,m,4)}function Fr(a,s){var u=a[s-1+0],m=a[s-1+32],b=a[s-1+64],w=a[s-1-32],_=a[s+0-32],A=a[s+1-32],S=a[s+2-32],I=a[s+3-32];a[s+0+96]=Kt(m,b,a[s-1+96]),a[s+1+96]=a[s+0+64]=Kt(u,m,b),a[s+2+96]=a[s+1+64]=a[s+0+32]=Kt(w,u,m),a[s+3+96]=a[s+2+64]=a[s+1+32]=a[s+0+0]=Kt(_,w,u),a[s+3+64]=a[s+2+32]=a[s+1+0]=Kt(A,_,w),a[s+3+32]=a[s+2+0]=Kt(S,A,_),a[s+3+0]=Kt(I,S,A)}function Or(a,s){var u=a[s+1-32],m=a[s+2-32],b=a[s+3-32],w=a[s+4-32],_=a[s+5-32],A=a[s+6-32],S=a[s+7-32];a[s+0+0]=Kt(a[s+0-32],u,m),a[s+1+0]=a[s+0+32]=Kt(u,m,b),a[s+2+0]=a[s+1+32]=a[s+0+64]=Kt(m,b,w),a[s+3+0]=a[s+2+32]=a[s+1+64]=a[s+0+96]=Kt(b,w,_),a[s+3+32]=a[s+2+64]=a[s+1+96]=Kt(w,_,A),a[s+3+64]=a[s+2+96]=Kt(_,A,S),a[s+3+96]=Kt(A,S,S)}function Ws(a,s){var u=a[s-1+0],m=a[s-1+32],b=a[s-1+64],w=a[s-1-32],_=a[s+0-32],A=a[s+1-32],S=a[s+2-32],I=a[s+3-32];a[s+0+0]=a[s+1+64]=w+_+1>>1,a[s+1+0]=a[s+2+64]=_+A+1>>1,a[s+2+0]=a[s+3+64]=A+S+1>>1,a[s+3+0]=S+I+1>>1,a[s+0+96]=Kt(b,m,u),a[s+0+64]=Kt(m,u,w),a[s+0+32]=a[s+1+96]=Kt(u,w,_),a[s+1+32]=a[s+2+96]=Kt(w,_,A),a[s+2+32]=a[s+3+96]=Kt(_,A,S),a[s+3+32]=Kt(A,S,I)}function Vs(a,s){var u=a[s+0-32],m=a[s+1-32],b=a[s+2-32],w=a[s+3-32],_=a[s+4-32],A=a[s+5-32],S=a[s+6-32],I=a[s+7-32];a[s+0+0]=u+m+1>>1,a[s+1+0]=a[s+0+64]=m+b+1>>1,a[s+2+0]=a[s+1+64]=b+w+1>>1,a[s+3+0]=a[s+2+64]=w+_+1>>1,a[s+0+32]=Kt(u,m,b),a[s+1+32]=a[s+0+96]=Kt(m,b,w),a[s+2+32]=a[s+1+96]=Kt(b,w,_),a[s+3+32]=a[s+2+96]=Kt(w,_,A),a[s+3+64]=Kt(_,A,S),a[s+3+96]=Kt(A,S,I)}function na(a,s){var u=a[s-1+0],m=a[s-1+32],b=a[s-1+64],w=a[s-1+96];a[s+0+0]=u+m+1>>1,a[s+2+0]=a[s+0+32]=m+b+1>>1,a[s+2+32]=a[s+0+64]=b+w+1>>1,a[s+1+0]=Kt(u,m,b),a[s+3+0]=a[s+1+32]=Kt(m,b,w),a[s+3+32]=a[s+1+64]=Kt(b,w,w),a[s+3+64]=a[s+2+64]=a[s+0+96]=a[s+1+96]=a[s+2+96]=a[s+3+96]=w}function Fa(a,s){var u=a[s-1+0],m=a[s-1+32],b=a[s-1+64],w=a[s-1+96],_=a[s-1-32],A=a[s+0-32],S=a[s+1-32],I=a[s+2-32];a[s+0+0]=a[s+2+32]=u+_+1>>1,a[s+0+32]=a[s+2+64]=m+u+1>>1,a[s+0+64]=a[s+2+96]=b+m+1>>1,a[s+0+96]=w+b+1>>1,a[s+3+0]=Kt(A,S,I),a[s+2+0]=Kt(_,A,S),a[s+1+0]=a[s+3+32]=Kt(u,_,A),a[s+1+32]=a[s+3+64]=Kt(m,u,_),a[s+1+64]=a[s+3+96]=Kt(b,m,u),a[s+1+96]=Kt(w,b,m)}function ki(a,s){var u;for(u=0;8>u;++u)r(a,s+32*u,a,s-32,8)}function Gs(a,s){var u;for(u=0;8>u;++u)i(a,s,a[s-1],8),s+=32}function Tr(a,s,u){var m;for(m=0;8>m;++m)i(s,u+32*m,a,8)}function Zs(a,s){var u,m=8;for(u=0;8>u;++u)m+=a[s+u-32]+a[s-1+32*u];Tr(m>>4,a,s)}function Oa(a,s){var u,m=4;for(u=0;8>u;++u)m+=a[s+u-32];Tr(m>>3,a,s)}function Ta(a,s){var u,m=4;for(u=0;8>u;++u)m+=a[s-1+32*u];Tr(m>>3,a,s)}function Ro(a,s){Tr(128,a,s)}function Rr(a,s,u){var m=a[s-u],b=a[s+0],w=3*(b-m)+Ys[1020+a[s-2*u]-a[s+u]],_=Ho[112+(w+4>>3)];a[s-u]=On[255+m+Ho[112+(w+3>>3)]],a[s+0]=On[255+b-_]}function Ra(a,s,u,m){var b=a[s+0],w=a[s+u];return Kn[255+a[s-2*u]-a[s-u]]>m||Kn[255+w-b]>m}function ra(a,s,u,m){return 4*Kn[255+a[s-u]-a[s+0]]+Kn[255+a[s-2*u]-a[s+u]]<=m}function ja(a,s,u,m,b){var w=a[s-3*u],_=a[s-2*u],A=a[s-u],S=a[s+0],I=a[s+u],W=a[s+2*u],et=a[s+3*u];return 4*Kn[255+A-S]+Kn[255+_-I]>m?0:Kn[255+a[s-4*u]-w]<=b&&Kn[255+w-_]<=b&&Kn[255+_-A]<=b&&Kn[255+et-W]<=b&&Kn[255+W-I]<=b&&Kn[255+I-S]<=b}function Pi(a,s,u,m){var b=2*m+1;for(m=0;16>m;++m)ra(a,s+m,u,b)&&Rr(a,s+m,u)}function Ba(a,s,u,m){var b=2*m+1;for(m=0;16>m;++m)ra(a,s+m*u,1,b)&&Rr(a,s+m*u,1)}function jo(a,s,u,m){var b;for(b=3;0<b;--b)Pi(a,s+=4*u,u,m)}function Bo(a,s,u,m){var b;for(b=3;0<b;--b)Ba(a,s+=4,u,m)}function jr(a,s,u,m,b,w,_,A){for(w=2*w+1;0<b--;){if(ja(a,s,u,w,_))if(Ra(a,s,u,A))Rr(a,s,u);else{var S=a,I=s,W=u,et=S[I-2*W],C=S[I-W],Z=S[I+0],J=S[I+W],lt=S[I+2*W],Q=27*(pt=Ys[1020+3*(Z-C)+Ys[1020+et-J]])+63>>7,ct=18*pt+63>>7,pt=9*pt+63>>7;S[I-3*W]=On[255+S[I-3*W]+pt],S[I-2*W]=On[255+et+ct],S[I-W]=On[255+C+Q],S[I+0]=On[255+Z-Q],S[I+W]=On[255+J-ct],S[I+2*W]=On[255+lt-pt]}s+=m}}function Br(a,s,u,m,b,w,_,A){for(w=2*w+1;0<b--;){if(ja(a,s,u,w,_))if(Ra(a,s,u,A))Rr(a,s,u);else{var S=a,I=s,W=u,et=S[I-W],C=S[I+0],Z=S[I+W],J=Ho[112+(4+(lt=3*(C-et))>>3)],lt=Ho[112+(lt+3>>3)],Q=J+1>>1;S[I-2*W]=On[255+S[I-2*W]+Q],S[I-W]=On[255+et+lt],S[I+0]=On[255+C-J],S[I+W]=On[255+Z-Q]}s+=m}}function Mo(a,s,u,m,b,w){jr(a,s,u,1,16,m,b,w)}function Ei(a,s,u,m,b,w){jr(a,s,1,u,16,m,b,w)}function Do(a,s,u,m,b,w){var _;for(_=3;0<_;--_)Br(a,s+=4*u,u,1,16,m,b,w)}function h(a,s,u,m,b,w){var _;for(_=3;0<_;--_)Br(a,s+=4,1,u,16,m,b,w)}function v(a,s,u,m,b,w,_,A){jr(a,s,b,1,8,w,_,A),jr(u,m,b,1,8,w,_,A)}function O(a,s,u,m,b,w,_,A){jr(a,s,1,b,8,w,_,A),jr(u,m,1,b,8,w,_,A)}function q(a,s,u,m,b,w,_,A){Br(a,s+4*b,b,1,8,w,_,A),Br(u,m+4*b,b,1,8,w,_,A)}function K(a,s,u,m,b,w,_,A){Br(a,s+4,1,b,8,w,_,A),Br(u,m+4,1,b,8,w,_,A)}function dt(){this.ba=new le,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new _e,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function vt(){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 Ct(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Rt(){this.ua=0,this.Wa=new ae,this.vb=new ae,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new rt,this.yc=new z}function $t(){this.xb=this.a=0,this.l=new Qi,this.ca=new le,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new R,this.Pb=0,this.wd=new R,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Rt,this.ab=0,this.gc=c(4,Ct),this.Oc=0}function ne(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Qi,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}
108function me(a,s,u,m,b,w,_){for(a=a==null?0:a[s+0],s=0;s<_;++s)b[w+s]=a+u[m+s]&255,a=b[w+s]}function Be(a,s,u,m,b,w,_){var A;if(a==null)me(null,null,u,m,b,w,_);else for(A=0;A<_;++A)b[w+A]=a[s+A]+u[m+A]&255}function Je(a,s,u,m,b,w,_){if(a==null)me(null,null,u,m,b,w,_);else{var A,S=a[s+0],I=S,W=S;for(A=0;A<_;++A)I=W+(S=a[s+A])-I,W=u[m+A]+(-256&I?0>I?0:255:I)&255,I=S,b[w+A]=W}}function Ie(a,s,u,m){var b=s.width,w=s.o;if(n(a!=null&&s!=null),0>u||0>=m||u+m>w)return null;if(!a.Cc){if(a.ga==null){var _;if(a.ga=new ne,(_=a.ga==null)||(_=s.width*s.o,n(a.Gb.length==0),a.Gb=o(_),a.Uc=0,a.Gb==null?_=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,_=1),_=!_),!_){_=a.ga;var A=a.Fa,S=a.P,I=a.qc,W=a.mb,et=a.nb,C=S+1,Z=I-1,J=_.l;if(n(A!=null&&W!=null&&s!=null),si[0]=null,si[1]=me,si[2]=Be,si[3]=Je,_.ca=W,_.tb=et,_.c=s.width,_.i=s.height,n(0<_.c&&0<_.i),1>=I)s=0;else if(_.$a=3&A[S+0],_.Z=A[S+0]>>2&3,_.Lc=A[S+0]>>4&3,S=A[S+0]>>6&3,0>_.$a||1<_.$a||4<=_.Z||1<_.Lc||S)s=0;else if(J.put=Gt,J.ac=ur,J.bc=Er,J.ma=_,J.width=s.width,J.height=s.height,J.Da=s.Da,J.v=s.v,J.va=s.va,J.j=s.j,J.o=s.o,_.$a)t:{n(_.$a==1),s=Ai();e:for(;;){if(s==null){s=0;break t}if(n(_!=null),_.mc=s,s.c=_.c,s.i=_.i,s.l=_.l,s.l.ma=_,s.l.width=_.c,s.l.height=_.i,s.a=0,ft(s.m,A,C,Z),!pr(_.c,_.i,1,s,null)||(s.ab==1&&s.gc[0].hc==3&&tr(s.s)?(_.ic=1,A=s.c*s.i,s.Ta=null,s.Ua=0,s.V=o(A),s.Ba=0,s.V==null?(s.a=1,s=0):s=1):(_.ic=0,s=Ni(s,_.c)),!s))break e;s=1;break t}_.mc=null,s=0}else s=Z>=_.c*_.i;_=!s}if(_)return null;a.ga.Lc!=1?a.Ga=0:m=w-u}n(a.ga!=null),n(u+m<=w);t:{if(s=(A=a.ga).c,w=A.l.o,A.$a==0){if(C=a.rc,Z=a.Vc,J=a.Fa,S=a.P+1+u*s,I=a.mb,W=a.nb+u*s,n(S<=a.P+a.qc),A.Z!=0)for(n(si[A.Z]!=null),_=0;_<m;++_)si[A.Z](C,Z,J,S,I,W,s),C=I,Z=W,W+=s,S+=s;else for(_=0;_<m;++_)r(I,W,J,S,s),C=I,Z=W,W+=s,S+=s;a.rc=C,a.Vc=Z}else{if(n(A.mc!=null),s=u+m,n((_=A.mc)!=null),n(s<=_.i),_.C>=s)s=1;else if(A.ic||ir(),A.ic){A=_.V,C=_.Ba,Z=_.c;var lt=_.i,Q=(J=1,S=_.$/Z,I=_.$%Z,W=_.m,et=_.s,_.$),ct=Z*lt,pt=Z*s,yt=et.wc,bt=Q<pt?hn(et,I,S):null;n(Q<=ct),n(s<=lt),n(tr(et));e:for(;;){for(;!W.h&&Q<pt;){if(I&yt||(bt=hn(et,I,S)),n(bt!=null),X(W),256>(lt=Me(bt.G[0],bt.H[0],W)))A[C+Q]=lt,++Q,++I>=Z&&(I=0,++S<=s&&!(S%16)&&er(_,S));else{if(!(280>lt)){J=0;break e}lt=Hn(lt-256,W);var jt,Pt=Me(bt.G[4],bt.H[4],W);if(X(W),!(Q>=(Pt=Wn(Z,Pt=Hn(Pt,W)))&&ct-Q>=lt)){J=0;break e}for(jt=0;jt<lt;++jt)A[C+Q+jt]=A[C+Q+jt-Pt];for(Q+=lt,I+=lt;I>=Z;)I-=Z,++S<=s&&!(S%16)&&er(_,S);Q<pt&&I&yt&&(bt=hn(et,I,S))}n(W.h==H(W))}er(_,S>s?s:S);break e}!J||W.h&&Q<ct?(J=0,_.a=W.h?5:3):_.$=Q,s=J}else s=nr(_,_.V,_.Ba,_.c,_.i,s,Ki);if(!s){m=0;break t}}u+m>=w&&(a.Cc=1),m=1}if(!m)return null;if(a.Cc&&((m=a.ga)!=null&&(m.mc=null),a.ga=null,0<a.Ga))return alert("todo:WebPDequantizeLevels"),null}return a.nb+u*b}function tn(a,s,u,m,b,w){for(;0<b--;){var _,A=a,S=s+(u?1:0),I=a,W=s+(u?0:3);for(_=0;_<m;++_){var et=I[W+4*_];et!=255&&(et*=32897,A[S+4*_+0]=A[S+4*_+0]*et>>23,A[S+4*_+1]=A[S+4*_+1]*et>>23,A[S+4*_+2]=A[S+4*_+2]*et>>23)}s+=w}}function Xe(a,s,u,m,b){for(;0<m--;){var w;for(w=0;w<u;++w){var _=a[s+2*w+0],A=15&(I=a[s+2*w+1]),S=4369*A,I=(240&I|I>>4)*S>>16;a[s+2*w+0]=(240&_|_>>4)*S>>16&240|(15&_|_<<4)*S>>16>>4&15,a[s+2*w+1]=240&I|A}s+=b}}function cn(a,s,u,m,b,w,_,A){var S,I,W=255;for(I=0;I<b;++I){for(S=0;S<m;++S){var et=a[s+S];w[_+4*S]=et,W&=et}s+=u,_+=A}return W!=255}function Mr(a,s,u,m,b){var w;for(w=0;w<b;++w)u[m+w]=a[s+w]>>8}function ir(){$a=tn,wh=Xe,_h=cn,yh=Mr}function Dr(a,s,u){B[a]=function(m,b,w,_,A,S,I,W,et,C,Z,J,lt,Q,ct,pt,yt){var bt,jt=yt-1>>1,Pt=A[S+0]|I[W+0]<<16,re=et[C+0]|Z[J+0]<<16;n(m!=null);var Ft=3*Pt+re+131074>>2;for(s(m[b+0],255&Ft,Ft>>16,lt,Q),w!=null&&(Ft=3*re+Pt+131074>>2,s(w[_+0],255&Ft,Ft>>16,ct,pt)),bt=1;bt<=jt;++bt){var ue=A[S+bt]|I[W+bt]<<16,nn=et[C+bt]|Z[J+bt]<<16,ie=Pt+ue+re+nn+524296,Ot=ie+2*(ue+re)>>3;Ft=Ot+Pt>>
vendor: 2,239 bytes, line 108
1081,Pt=(ie=ie+2*(Pt+nn)>>3)+ue>>1,s(m[b+2*bt-1],255&Ft,Ft>>16,lt,Q+(2*bt-1)*u),s(m[b+2*bt-0],255&Pt,Pt>>16,lt,Q+(2*bt-0)*u),w!=null&&(Ft=ie+re>>1,Pt=Ot+nn>>1,s(w[_+2*bt-1],255&Ft,Ft>>16,ct,pt+(2*bt-1)*u),s(w[_+2*bt+0],255&Pt,Pt>>16,ct,pt+(2*bt+0)*u)),Pt=ue,re=nn}1&yt||(Ft=3*Pt+re+131074>>2,s(m[b+yt-1],255&Ft,Ft>>16,lt,Q+(yt-1)*u),w!=null&&(Ft=3*re+Pt+131074>>2,s(w[_+yt-1],255&Ft,Ft>>16,ct,pt+(yt-1)*u)))}}function Ma(){Jn[Wo]=Vu,Jn[Vo]=Fh,Jn[kh]=Gu,Jn[Go]=Oh,Jn[Zo]=Th,Jn[$s]=Rh,Jn[Ph]=Zu,Jn[Ks]=Fh,Jn[Js]=Oh,Jn[Yo]=Th,Jn[Xs]=Rh}function ia(a){return a&~Yu?0>a?0:255:a>>jh}function Jr(a,s){return ia((19077*a>>8)+(26149*s>>8)-14234)}function Ii(a,s,u){return ia((19077*a>>8)-(6419*s>>8)-(13320*u>>8)+8708)}function Ci(a,s){return ia((19077*a>>8)+(33050*s>>8)-17685)}function Xr(a,s,u,m,b){m[b+0]=Jr(a,u),m[b+1]=Ii(a,s,u),m[b+2]=Ci(a,s)}function fn(a,s,u,m,b){m[b+0]=Ci(a,s),m[b+1]=Ii(a,s,u),m[b+2]=Jr(a,u)}function Fi(a,s,u,m,b){var w=Ii(a,s,u);s=w<<3&224|Ci(a,s)>>3,m[b+0]=248&Jr(a,u)|w>>5,m[b+1]=s}function Oi(a,s,u,m,b){var w=240&Ci(a,s)|15;m[b+0]=240&Jr(a,u)|Ii(a,s,u)>>4,m[b+1]=w}function Da(a,s,u,m,b){m[b+0]=255,Xr(a,s,u,m,b+1)}function qa(a,s,u,m,b){fn(a,s,u,m,b),m[b+3]=255}function xn(a,s,u,m,b){Xr(a,s,u,m,b),m[b+3]=255}function qr(a,s,u){B[a]=function(m,b,w,_,A,S,I,W,et){for(var C=W+(-2&et)*u;W!=C;)s(m[b+0],w[_+0],A[S+0],I,W),s(m[b+1],w[_+0],A[S+0],I,W+u),b+=2,++_,++S,W+=2*u;1&et&&s(m[b+0],w[_+0],A[S+0],I,W)}}function aa(a,s,u){return u==0?a==0?s==0?6:5:s==0?4:0:u}function qo(a,s,u,m,b){switch(a>>>30){case 3:Bi(s,u,m,b,0);break;case 2:$n(s,u,m,b);break;case 1:ye(s,u,m,b)}}function Yn(a,s){var u,m,b=s.M,w=s.Nb,_=a.oc,A=a.pc+40,S=a.oc,I=a.pc+584,W=a.oc,et=a.pc+600;for(u=0;16>u;++u)_[A+32*u-1]=129;for(u=0;8>u;++u)S[I+32*u-1]=129,W[et+32*u-1]=129;for(0<b?_[A-1-32]=S[I-1-32]=W[et-1-32]=129:(i(_,A-32-1,127,21),i(S,I-32-1,127,9),i(W,et-32-1,127,9)),m=0;m<a.za;++m){var C=s.ya[s.aa+m];if(0<m){for(u=-1;16>u;++u)r(_,A+32*u-4,_,A+32*u+12,4);for(u=-1;8>u;++u)r(S,I+32*u-4,S,I+32*u+4,4),r(W,et+32*u-4,W,et+32*u+4,4)}var Z=a.Gd,J=a.Hd+m,lt=C.ad,Q=C.Hc;if(0<b&&(r(_,A-32,Z[J].y,0,16),r(S,I-32,Z[J].f,0,8),r(W,et-32,Z[J].ea,0,8)),C.Za){var ct=_,pt=A-32+16;for(0<b&&(m>=a.za-1?i(ct,pt,Z[J].y[15],4):r(ct,pt,Z[J+1].y,0,4)),u=0;4>u;
108u++)ct[pt+128+u]=ct[pt+256+u]=ct[pt+384+u]=ct[pt+0+u];for(u=0;16>u;++u,Q<<=2)ct=_,pt=A+Mh[u],ar[C.Ob[u]](ct,pt),qo(Q,lt,16*+u,ct,pt)}else if(ct=aa(m,b,C.Ob[0]),oi[ct](_,A),Q!=0)for(u=0;16>u;++u,Q<<=2)qo(Q,lt,16*+u,_,A+Mh[u]);for(u=C.Gc,ct=aa(m,b,C.Dd),Hr[ct](S,I),Hr[ct](W,et),Q=lt,ct=S,pt=I,255&(C=0|u)&&(170&C?_r(Q,256,ct,pt):Se(Q,256,ct,pt)),C=W,Q=et,255&(u>>=8)&&(170&u?_r(lt,320,C,Q):Se(lt,320,C,Q)),b<a.Ub-1&&(r(Z[J].y,0,_,A+480,16),r(Z[J].f,0,S,I+224,8),r(Z[J].ea,0,W,et+224,8)),u=8*w*a.B,Z=a.sa,J=a.ta+16*m+16*w*a.R,lt=a.qa,C=a.ra+8*m+u,Q=a.Ha,ct=a.Ia+8*m+u,u=0;16>u;++u)r(Z,J+u*a.R,_,A+32*u,16);for(u=0;8>u;++u)r(lt,C+u*a.B,S,I+32*u,8),r(Q,ct+u*a.B,W,et+32*u,8)}}function Ti(a,s,u,m,b,w,_,A,S){var I=[0],W=[0],et=0,C=S!=null?S.kd:0,Z=S??new vt;if(a==null||12>u)return 7;Z.data=a,Z.w=s,Z.ha=u,s=[s],u=[u],Z.gb=[Z.gb];t:{var J=s,lt=u,Q=Z.gb;if(n(a!=null),n(lt!=null),n(Q!=null),Q[0]=0,12<=lt[0]&&!e(a,J[0],"RIFF")){if(e(a,J[0]+8,"WEBP")){Q=3;break t}var ct=Dt(a,J[0]+4);if(12>ct||4294967286<ct){Q=3;break t}if(C&&ct>lt[0]-8){Q=7;break t}Q[0]=ct,J[0]+=12,lt[0]-=12}Q=0}if(Q!=0)return Q;for(ct=0<Z.gb[0],u=u[0];;){t:{var pt=a;lt=s,Q=u;var yt=I,bt=W,jt=J=[0];if((Ft=et=[et])[0]=0,8>Q[0])Q=7;else{if(!e(pt,lt[0],"VP8X")){if(Dt(pt,lt[0]+4)!=10){Q=3;break t}if(18>Q[0]){Q=7;break t}var Pt=Dt(pt,lt[0]+8),re=1+St(pt,lt[0]+12);if(2147483648<=re*(pt=1+St(pt,lt[0]+15))){Q=3;break t}jt!=null&&(jt[0]=Pt),yt!=null&&(yt[0]=re),bt!=null&&(bt[0]=pt),lt[0]+=18,Q[0]-=18,Ft[0]=1}Q=0}}if(et=et[0],J=J[0],Q!=0)return Q;if(lt=!!(2&J),!ct&&et)return 3;if(w!=null&&(w[0]=!!(16&J)),_!=null&&(_[0]=lt),A!=null&&(A[0]=0),_=I[0],J=W[0],et&&lt&&S==null){Q=0;break}if(4>u){Q=7;break}if(ct&&et||!ct&&!et&&!e(a,s[0],"ALPH")){u=[u],Z.na=[Z.na],Z.P=[Z.P],Z.Sa=[Z.Sa];t:{Pt=a,Q=s,ct=u;var Ft=Z.gb;yt=Z.na,bt=Z.P,jt=Z.Sa,re=22,n(Pt!=null),n(ct!=null),pt=Q[0];var ue=ct[0];for(n(yt!=null),n(jt!=null),yt[0]=null,bt[0]=null,jt[0]=0;;){if(Q[0]=pt,ct[0]=ue,8>ue){Q=7;break t}var nn=Dt(Pt,pt+4);if(4294967286<nn){Q=3;break t}var ie=8+nn+1&-2;if(re+=ie,0<Ft&&re>Ft){Q=3;break t}if(!e(Pt,pt,"VP8 ")||!e(Pt,pt,"VP8L")){Q=0;break t}if(ue[0]<ie){Q=7;break t}e(Pt,pt,"ALPH")||(yt[0]=Pt,bt[0]=pt+8,jt[0]=nn),pt+=ie,ue-=ie}}if(u=u[0],Z.na=Z.na[0],Z.P=Z.P[0],Z.Sa=Z.Sa[0],Q!=0)break}u=[u],Z.Ja=[Z.Ja],Z.xa=[Z.xa];t:if(Ft=a,Q=s,ct=u,yt=Z.gb[0],bt=Z.Ja,jt=Z.xa,Pt=Q[0],pt=!e(Ft,Pt,"VP8 "),re=!e(Ft,Pt,"VP8L"),n(Ft!=null),n(ct!=null),n(bt!=null),n(jt!=null),8>ct[0])Q=7;else{if(pt||re){if(Ft=Dt(Ft,Pt+4),12<=yt&&Ft>yt-12){Q=3;break t}if(C&&Ft>ct[0]-8){Q=7;break t}bt[0]=Ft,Q[0]+=8,ct[0]-=8,jt[0]=re}else jt[0]=5<=ct[0]&&Ft[Pt+0]==47&&!(Ft[Pt+4]>>5),bt[0]=ct[0];Q=0}if(u=u[0],Z.Ja=Z.Ja[0],Z.xa=Z.xa[0],s=s[0],Q!=0)break;if(4294967286<Z.Ja)return 3;if(A==null||lt||(A[0]=Z.xa?2:1),_=[_],J=[J],Z.xa){if(5>u){Q=7;break}A=_,C=J,lt=w,a==null||5>u?a=0:5<=u&&a[s+0]==47&&!(a[s+4]>>5)?(ct=[0],Ft=[0],yt=[0],ft(bt=new R,a,s,u),Ir(bt,ct,Ft,yt)?(A!=null&&(A[0]=ct[0]),C!=null&&(C[0]=Ft[0]),lt!=null&&(lt[0]=yt[0]),a=1):a=0):a=0}else{if(10>u){Q=7;break}A=J,a==null||10>u||!Eo(a,s+3,u-3)?a=0:(C=a[s+0]|a[s+1]<<8|a[s+2]<<16,lt=16383&(a[s+7]<<8|a[s+6]),a=16383&(a[s+9]<<8|a[s+8]),1&C||3<(C>>1&7)||!(C>>4&1)||C>>5>=Z.Ja||!lt||!a?a=0:(_&&(_[0]=lt),A&&(A[0]=a),a=1))}if(!a||(_=_[0],J=J[0],et&&(I[0]!=_||W[0]!=J)))return 3;S!=null&&(S[0]=Z,S.offset=s-S.w,n(4294967286>s-S.w),n(S.offset==S.ha-u));break}return Q==0||Q==7&&et&&S==null?(w!=null&&(w[0]|=Z.na!=null&&0<Z.na.length),m!=null&&(m[0]=_),b!=null&&(b[0]=J),0):Q}function Ua(a,s,u){var m=s.width,b=s.height,w=0,_=0,A=m,S=b;if(s.Da=a!=null&&0<a.Da,s.Da&&(A=a.cd,S=a.bd,w=a.v,_=a.j,11>u||(w&=-2,_&=-2),0>w||0>_||0>=A||0>=S||w+A>m||_+S>b))return 0;if(s.v=w,s.j=_,s.va=w+A,s.o=_+S,s.U=A,s.T=S,s.da=a!=null&&0<a.da,s.da){if(!Ht(A,S,u=[a.ib],w=[a.hb]))return 0;s.ib=u[0],s.hb=w[0]}return s.ob=a!=null&&a.ob,s.Kb=a==null||!a.Sd,s.da&&(s.ob=s.ib<3*m/4&&s.hb<3*b/4,s.Kb=0),1}function za(a){if(a==null)return 2;if(11>a.S){var s=a.f.RGBA;s.fb+=(a.height-1)*s.A,s.A=-s.A}else s=a.f.kb,a=a.height,s.O+=(a-1)*s.fa,s.fa=-s.fa,s.N+=(a-1>>1)*s.Ab,s.Ab=-s.Ab,s.W+=(a-1>>1)*s.Db,s.Db=-s.Db,s.F!=null&&(s.J+=(a-1)*s.lb,s.lb=-s.lb);return 0}function Qr(a,s,u,m){if(m==null||0>=a||0>=s)return 2;if(u!=null){if(u.Da){var b=u.cd,w=u.bd,_=-2&u.v,A=-2&u.j;if(0>_||0>A||0>=b||0>=w||_+b>a||A+w>s)return 2;a=b,s=w}if(u.da){if(!Ht(a,s,b=[u.ib],w=[u.hb]))return 2;a=b[0],s=w[0]}}m.width=a,m.height=s;t:{var S=m.width,I=m.height;if(a=m.S,0>=S||0>=I||!(a>=Wo&&13>a))a=2;else{if(0>=m.Rd&&m.sd==null){_=w=b=s=0;var W=(A=S*Dh[a])*I;if(11>a||(w=(I+1)/2*(s=(S+1)/2),a==12&&(_=(b=S)*I)),(I=o(W+2*w+_))==null){a=1;break t}m.sd=I,11>a?((S=m.f.RGBA).eb=I,S.fb=0,S.A=A,S.size=W):((S=m.f.kb).y=I,S.O=0,S.fa=A,S.Fd=W,S.f=I,S.N=0+W,S.Ab=s,S.Cd=w,S.ea=I,S.W=0+W+w,S.Db=s,S.Ed=w,a==12&&(S.F=I,S.J=0+W+2*w),S.Tc=_,S.lb=b)}if(s=1,b=m.S,w=m.width,_=m.height,b>=Wo&&13>b)if(11>b)a=m.f.RGBA,s&=(A=Math.abs(a.A))*(_-1)+w<=a.size,s&=A>=w*Dh[b],s&=a.eb!=null;else{a=m.f.kb,A=(w+1)/2,W=(_+1)/2,S=Math.abs(a.fa),I=Math.abs(a.Ab);var et=Math.abs(a.Db),C=Math.abs(a.lb),Z=C*(_-1)+w;s&=S*(_-1)+w<=a.Fd,s&=I*(W-1)+A<=a.Cd,s=(s&=et*(W-1)+A<=a.Ed)&S>=w&I>=A&et>=A,s&=a.y!=null,s&=a.f!=null,s&=a.ea!=null,b==12&&(s&=C>=w,s&=Z<=a.Tc,s&=a.F!=null)}else s=0;a=s?0:2}}return a!=0||u!=null&&u.fd&&(a=za(m)),a}var Ri=64,Cn=[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],Fn=24,ti=32,Ur=8,ei=[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 108
1086,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];Et("Predictor0","PredictorAdd0"),B.Predictor0=function(){return 4278190080},B.Predictor1=function(a){return a},B.Predictor2=function(a,s,u){return s[u+0]},B.Predictor3=function(a,s,u){return s[u+1]},B.Predictor4=function(a,s,u){return s[u-1]},B.Predictor5=function(a,s,u){return qt(qt(a,s[u+1]),s[u+0])},B.Predictor6=function(a,s,u){return qt(a,s[u-1])},B.Predictor7=function(a,s,u){return qt(a,s[u+0])},B.Predictor8=function(a,s,u){return qt(s[u-1],s[u+0])},B.Predictor9=function(a,s,u){return qt(s[u+0],s[u+1])},B.Predictor10=function(a,s,u){return qt(qt(a,s[u-1]),qt(s[u+0],s[u+1]))},B.Predictor11=function(a,s,u){var m=s[u+0];return 0>=Xt(m>>24&255,a>>24&255,(s=s[u-1])>>24&255)+Xt(m>>16&255,a>>16&255,s>>16&255)+Xt(m>>8&255,a>>8&255,s>>8&255)+Xt(255&m,255&a,255&s)?m:a},B.Predictor12=function(a,s,u){var m=s[u+0];return(we((a>>24&255)+(m>>24&255)-((s=s[u-1])>>24&255))<<24|we((a>>16&255)+(m>>16&255)-(s>>16&255))<<16|we((a>>8&255)+(m>>8&255)-(s>>8&255))<<8|we((255&a)+(255&m)-(255&s)))>>>0},B.Predictor13=function(a,s,u){var m=s[u-1];return(he((a=qt(a,s[u+0]))>>24&255,m>>24&255)<<24|he(a>>16&255,m>>16&255)<<16|he(a>>8&255,m>>8&255)<<8|he(255&a,255&m))>>>0};var Ha=B.PredictorAdd0;B.PredictorAdd1=fe,Et("Predictor2","PredictorAdd2"),Et("Predictor3","PredictorAdd3"),Et("Predictor4","PredictorAdd4"),Et("Predictor5","PredictorAdd5"),Et("Predictor6","PredictorAdd6"),Et("Predictor7","PredictorAdd7"),Et("Predictor8","PredictorAdd8"),Et("Predictor9","PredictorAdd9"),Et("Predictor10","PredictorAdd10"),Et("Predictor11","PredictorAdd11"),Et("Predictor12","PredictorAdd12"),Et("Predictor13","PredictorAdd13");var oa=B.PredictorAdd2;Bt("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),Bt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var He,Uo=B.ColorIndexInverseTransform,br=B.MapARGB,wr=B.VP8LColorIndexInverseTransformAlpha,Wa=B.MapAlpha,Va=B.VP8LPredictorsAdd=[];Va.length=16,(B.VP8LPredictors=[]).length=16,(B.VP8LPredictorsAdd_C=[]).length=16,(B.VP8LPredictors_C=[]).length=16;var Ga,Za,ni,ri,ii,ji,ai,Bi,$n,_r,ye,Se,We,en,zr,Ya,sa,zo,dh,ph,gh,mh,vh,bh,$a,wh,_h,yh,xh=o(511),Ah=o(2041),Nh=o(225),Lh=o(767),Sh=0,Ys=Ah,Ho=Nh,On=Lh,Kn=xh,Wo=0,Vo=1,kh=2,Go=3,Zo=4,$s=5,Ph=6,Ks=7,Js=8,Yo=9,Xs=10,Cu=[2,3,7],Fu=[3,3,11],Eh=[280,256,256,256,40],Ou=[0,1,1,1,0],Tu=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Ru=[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],ju=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Bu=8,Qs=[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],tl=[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],Ka=null,Mu=[[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]],Du=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Ih=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],qu=[[[[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
1085,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]]]],Uu=[[[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
1085,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]]],zu=[[[[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
1085,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]]]],Hu=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],oi=[],ar=[],Hr=[],Wu=1,Ch=2,si=[],Jn=[];Dr("UpsampleRgbLinePair",Xr,3),Dr("UpsampleBgrLinePair",fn,3),Dr("UpsampleRgbaLinePair",xn,4),Dr("UpsampleBgraLinePair",qa,4),Dr("UpsampleArgbLinePair",Da,4),Dr("UpsampleRgba4444LinePair",Oi,2),Dr("UpsampleRgb565LinePair",Fi,2);var Vu=B.UpsampleRgbLinePair,Gu=B.UpsampleBgrLinePair,Fh=B.UpsampleRgbaLinePair,Oh=B.UpsampleBgraLinePair,Th=B.UpsampleArgbLinePair,Rh=B.UpsampleRgba4444LinePair,Zu=B.UpsampleRgb565LinePair,$o=16,Ko=1<<$o-1,Ja=-227,el=482,jh=6,Yu=(256<<jh)-1,Bh=0,$u=o(256),Ku=o(256),Ju=o(256),Xu=o(256),Qu=o(el-Ja),t1=o(el-Ja);qr("YuvToRgbRow",Xr,3),qr("YuvToBgrRow",fn,3),qr("YuvToRgbaRow",xn,4),qr("YuvToBgraRow",qa,4),qr("YuvToArgbRow",Da,4),qr("YuvToRgba4444Row",Oi,2),qr("YuvToRgb565Row",Fi,2);var Mh=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Jo=[0,2,8],e1=[8,7,6,4,4,2,2,2,1,1,1,1],n1=1;this.WebPDecodeRGBA=function(a,s,u,m,b){var w=Vo,_=new dt,A=new le;_.ba=A,A.S=w,A.width=[A.width],A.height=[A.height];var S=A.width,I=A.height,W=new Vt;if(W==null||a==null)var et=2;else n(W!=null),et=Ti(a,s,u,W.width,W.height,W.Pd,W.Qd,W.format,null);if(et!=0?S=0:(S!=null&&(S[0]=W.width[0]),I!=null&&(I[0]=W.height[0]),S=1),S){A.width=A.width[0],A.height=A.height[0],m!=null&&(m[0]=A.width),b!=null&&(b[0]=A.height);t:{if(m=new Qi,(b=new vt).data=a,b.w=s,b.ha=u,b.kd=1,s=[0],n(b!=null),((a=Ti(b.data,b.w,b.ha,null,null,null,s,null,b))==0||a==7)&&s[0]&&(a=4),(s=a)==0){if(n(_!=null),m.data=b.data,m.w=b.w+b.offset,m.ha=b.ha-b.offset,m.put=Gt,m.ac=ur,m.bc=Er,m.ma=_,b.xa){if((a=Ai())==null){_=1;break t}if(function(C,Z){var J=[0],lt=[0],Q=[0];e:for(;;){if(C==null)return 0;if(Z==null)return C.a=2,0;if(C.l=Z,C.a=0,ft(C.m,Z.data,Z.w,Z.ha),!Ir(C.m,J,lt,Q)){C.a=3;break e}if(C.xb=Ch,Z.width=J[0],Z.height=lt[0],!pr(J[0],lt[0],1,C,null))break e;return 1}return n(C.a!=0),0}(a,m)){if(m=(s=Qr(m.width,m.height,_.Oa,_.ba))==0){e:{m=a;n:for(;;){if(m==null){m=0;break e}if(n(m.s.yc!=null),n(m.s.Ya!=null),n(0<m.s.Wb),n((u=m.l)!=null),n((b=u.ma)!=null),m.xb!=0){if(m.ca=b.ba,m.tb=b.tb,n(m.ca!=null),!Ua(b.Oa,u,Go)){m.a=2;break n}if(!Ni(m,u.width)||u.da)break n;if((u.da||Zt(m.ca.S))&&ir(),11>m.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),m.ca.f.kb.F!=null&&ir()),m.Pb&&0<m.s.ua&&m.s.vb.X==null&&!P(m.s.vb,m.s.Wa.Xa)){m.a=1;break n}m.xb=0}if(!nr(m,m.V,m.Ba,m.c,m.i,u.o,Kr))break n;b.Dc=m.Ma,m=1;break e}n(m.a!=0),m=0}m=!m}m&&(s=a.a)}else s=a.a}else{if((a=new Os)==null){_=1;break t}if(a.Fa=b.na,a.P=b.P,a.qc=b.Sa,mr(a,m)){if((s=Qr(m.width,m.height,_.Oa,_.ba))==0){if(a.Aa=0,u=_.Oa,n((b=a)!=null),u!=null){if(0<(S=0>(S=u.Md)?0:100<S?255:255*S/100)){for(I=W=0;4>I;++I)12>(et=b.pb[I]).lc&&(et.ia=S*e1[0>et.lc?0:et.lc]>>3),W|=et.ia;W&&(alert("todo:VP8InitRandom"),b.ia=1)}b.Ga=u.Id,100<b.Ga?b.Ga=100:0>b.Ga&&(b.Ga=0)}(function(C,Z){if(C==null)return 0;if(Z==null)return Ke(C,2,"NULL VP8Io parameter in VP8Decode().");if(!C.cb&&!mr(C,Z))return 0;if(n(C.cb),Z.ac==null||Z.ac(Z)){Z.ob&&(C.L=0);var J=Jo[C.L];if(C.L==2?(C.yb=0,C.zb=0):(C.yb=Z.v-J>>4,C.zb=Z.j-J>>4,0>C.yb&&(C.yb=0),0>C.zb&&(C.zb=0)),C.Va=Z.o+15+J>>4,C.Hb=Z.va+15+J>>4,C.Hb>C.za&&(C.Hb=C.za),C.Va>C.Ub&&(C.Va=C.Ub),0<C.L){var lt=C.ed;for(J=0;4>J;++J){var Q;if(C.Qa.Cb){var ct=C.Qa.Lb[J];C.Qa.Fb||(ct+=lt.Tb)}else ct=lt.Tb;for(Q=0;1>=Q;++Q){var pt=C.gd[J][Q],yt=ct;
vendor: 6,954 bytes, line 108
108if(lt.Pc&&(yt+=lt.vd[0],Q&&(yt+=lt.od[0])),0<(yt=0>yt?0:63<yt?63:yt)){var bt=yt;0<lt.wb&&(bt=4<lt.wb?bt>>2:bt>>1)>9-lt.wb&&(bt=9-lt.wb),1>bt&&(bt=1),pt.dd=bt,pt.tc=2*yt+bt,pt.ld=40<=yt?2:15<=yt?1:0}else pt.tc=0;pt.La=Q}}}J=0}else Ke(C,6,"Frame setup failed"),J=C.a;if(J=J==0){if(J){C.$c=0,0<C.Aa||(C.Ic=n1);e:{J=C.Ic,lt=4*(bt=C.za);var jt=32*bt,Pt=bt+1,re=0<C.L?bt*(0<C.Aa?2:1):0,Ft=(C.Aa==2?2:1)*bt;if((pt=lt+832+(Q=3*(16*J+Jo[C.L])/2*jt)+(ct=C.Fa!=null&&0<C.Fa.length?C.Kc.c*C.Kc.i:0))!=pt)J=0;else{if(pt>C.Vb){if(C.Vb=0,C.Ec=o(pt),C.Fc=0,C.Ec==null){J=Ke(C,1,"no memory during frame initialization.");break e}C.Vb=pt}pt=C.Ec,yt=C.Fc,C.Ac=pt,C.Bc=yt,yt+=lt,C.Gd=c(jt,ko),C.Hd=0,C.rb=c(Pt+1,Pa),C.sb=1,C.wa=re?c(re,Gn):null,C.Y=0,C.D.Nb=0,C.D.wa=C.wa,C.D.Y=C.Y,0<C.Aa&&(C.D.Y+=bt),n(!0),C.oc=pt,C.pc=yt,yt+=832,C.ya=c(Ft,Ea),C.aa=0,C.D.ya=C.ya,C.D.aa=C.aa,C.Aa==2&&(C.D.aa+=bt),C.R=16*bt,C.B=8*bt,bt=(jt=Jo[C.L])*C.R,jt=jt/2*C.B,C.sa=pt,C.ta=yt+bt,C.qa=C.sa,C.ra=C.ta+16*J*C.R+jt,C.Ha=C.qa,C.Ia=C.ra+8*J*C.B+jt,C.$c=0,yt+=Q,C.mb=ct?pt:null,C.nb=ct?yt:null,n(yt+ct<=C.Fc+C.Vb),Io(C),i(C.Ac,C.Bc,0,lt),J=1}}if(J){if(Z.ka=0,Z.y=C.sa,Z.O=C.ta,Z.f=C.qa,Z.N=C.ra,Z.ea=C.Ha,Z.Vd=C.Ia,Z.fa=C.R,Z.Rc=C.B,Z.F=null,Z.J=0,!Sh){for(J=-255;255>=J;++J)xh[255+J]=0>J?-J:J;for(J=-1020;1020>=J;++J)Ah[1020+J]=-128>J?-128:127<J?127:J;for(J=-112;112>=J;++J)Nh[112+J]=-16>J?-16:15<J?15:J;for(J=-255;510>=J;++J)Lh[255+J]=0>J?0:255<J?255:J;Sh=1}ai=ea,Bi=Rs,_r=vr,ye=Fo,Se=Oo,$n=Ts,We=Mo,en=Ei,zr=v,Ya=O,sa=Do,zo=h,dh=q,ph=K,gh=Pi,mh=Ba,vh=jo,bh=Bo,ar[0]=Hs,ar[1]=js,ar[2]=Us,ar[3]=zs,ar[4]=Fr,ar[5]=Ws,ar[6]=Or,ar[7]=Vs,ar[8]=Fa,ar[9]=na,oi[0]=Ds,oi[1]=Ms,oi[2]=Ia,oi[3]=To,oi[4]=Si,oi[5]=Ca,oi[6]=qs,Hr[0]=Zs,Hr[1]=Bs,Hr[2]=ki,Hr[3]=Gs,Hr[4]=Ta,Hr[5]=Oa,Hr[6]=Ro,J=1}else J=0}J&&(J=function(ue,nn){for(ue.M=0;ue.M<ue.Va;++ue.M){var ie,Ot=ue.Jc[ue.M&ue.Xb],Nt=ue.m,Ve=ue;for(ie=0;ie<Ve.za;++ie){var te=Nt,pe=Ve,Fe=pe.Ac,un=pe.Bc+4*ie,An=pe.zc,De=pe.ya[pe.aa+ie];if(pe.Qa.Bb?De.$b=gt(te,pe.Pa.jb[0])?2+gt(te,pe.Pa.jb[2]):gt(te,pe.Pa.jb[1]):De.$b=0,pe.kc&&(De.Ad=gt(te,pe.Bd)),De.Za=!gt(te,145)+0,De.Za){var vn=De.Ob,Nn=0;for(pe=0;4>pe;++pe){var rn,ve=An[0+pe];for(rn=0;4>rn;++rn){ve=Uu[Fe[un+rn]][ve];for(var xe=Ih[gt(te,ve[0])];0<xe;)xe=Ih[2*xe+gt(te,ve[xe])];ve=-xe,Fe[un+rn]=ve}r(vn,Nn,Fe,un,4),Nn+=4,An[0+pe]=ve}}else ve=gt(te,156)?gt(te,128)?1:3:gt(te,163)?2:0,De.Ob[0]=ve,i(Fe,un,ve,4),i(An,0,ve,4);De.Dd=gt(te,142)?gt(te,114)?gt(te,183)?1:3:2:0}if(Ve.m.Ka)return Ke(ue,7,"Premature end-of-partition0 encountered.");for(;ue.ja<ue.za;++ue.ja){if(Ve=Ot,te=(Nt=ue).rb[Nt.sb-1],Fe=Nt.rb[Nt.sb+Nt.ja],ie=Nt.ya[Nt.aa+Nt.ja],un=Nt.kc?ie.Ad:0)te.la=Fe.la=0,ie.Za||(te.Na=Fe.Na=0),ie.Hc=0,ie.Gc=0,ie.ia=0;else{var qe,Ae;if(te=Fe,Fe=Ve,un=Nt.Pa.Xc,An=Nt.ya[Nt.aa+Nt.ja],De=Nt.pb[An.$b],pe=An.ad,vn=0,Nn=Nt.rb[Nt.sb-1],ve=rn=0,i(pe,vn,0,384),An.Za)var dn=0,or=un[3];else{xe=o(16);var Ge=te.Na+Nn.Na;if(Ge=Ka(Fe,un[1],Ge,De.Eb,0,xe,0),te.Na=Nn.Na=(0<Ge)+0,1<Ge)ai(xe,0,pe,vn);else{var kn=xe[0]+3>>3;for(xe=0;256>xe;xe+=16)pe[vn+xe]=kn}dn=1,or=un[0]}var ke=15&te.la,an=15&Nn.la;for(xe=0;4>xe;++xe){var Tn=1&an;for(kn=Ae=0;4>kn;++kn)ke=ke>>1|(Tn=(Ge=Ka(Fe,or,Ge=Tn+(1&ke),De.Sc,dn,pe,vn))>dn)<<7,Ae=Ae<<2|(3<Ge?3:1<Ge?2:pe[vn+0]!=0),vn+=16;ke>>=4,an=an>>1|Tn<<7,rn=(rn<<8|Ae)>>>0}for(or=ke,dn=an>>4,qe=0;4>qe;qe+=2){for(Ae=0,ke=te.la>>4+qe,an=Nn.la>>4+qe,xe=0;2>xe;++xe){for(Tn=1&an,kn=0;2>kn;++kn)Ge=Tn+(1&ke),ke=ke>>1|(Tn=0<(Ge=Ka(Fe,un[2],Ge,De.Qc,0,pe,vn)))<<3,Ae=Ae<<2|(3<Ge?3:1<Ge?2:pe[vn+0]!=0),vn+=16;ke>>=2,an=an>>1|Tn<<5}ve|=Ae<<4*qe,or|=ke<<4<<qe,dn|=(240&an)<<qe}te.la=or,Nn.la=dn,An.Hc=rn,An.Gc=ve,An.ia=43690&ve?0:De.ia,un=!(rn|ve)}if(0<Nt.L&&(Nt.wa[Nt.Y+Nt.ja]=Nt.gd[ie.$b][ie.Za],Nt.wa[Nt.Y+Nt.ja].La|=!un),Ve.Ka)return Ke(ue,7,"Premature end-of-file encountered.")}if(Io(ue),Nt=nn,Ve=1,ie=(Ot=ue).D,te=0<Ot.L&&Ot.M>=Ot.zb&&Ot.M<=Ot.Va,Ot.Aa==0)e:{if(ie.M=Ot.M,ie.uc=te,Yn(Ot,ie),Ve=1,ie=(Ae=Ot.D).Nb,te=(ve=Jo[Ot.L])*Ot.R,Fe=ve/2*Ot.B,xe=16*ie*Ot.R,kn=8*ie*Ot.B,un=Ot.sa,An=Ot.ta-te+xe,De=Ot.qa,pe=Ot.ra-Fe+kn,vn=Ot.Ha,Nn=Ot.Ia-Fe+kn,an=(ke=Ae.M)==0,rn=ke>=Ot.Va-1,Ot.Aa==2&&Yn(Ot,Ae),Ae.uc)for(Tn=(Ge=Ot).D.M,n(Ge.D.uc),Ae=Ge.yb;Ae<Ge.Hb;++Ae){dn=Ae,or=Tn;var Ln=(Rn=(pn=Ge).D).Nb;qe=pn.R;var Rn=Rn.wa[Rn.Y+dn],jn=pn.sa,Pn=pn.ta+16*Ln*qe+16*dn,Bn=Rn.dd,Ce=Rn.tc;if(Ce!=0)if(n(3<=Ce),pn.L==1)0<dn&&mh(jn,Pn,qe,Ce+4),Rn.La&&bh(jn,Pn,qe,Ce),0<or&&gh(jn,Pn,qe,Ce+4),Rn.La&&vh(jn,Pn,qe,Ce);else{var Mn=pn.B,sr=pn.qa,Mi=pn.ra+8*Ln*Mn+8*dn,Wr=pn.Ha,pn=pn.Ia+8*Ln*Mn+8*dn;Ln=Rn.ld,0<dn&&(en(jn,Pn,qe,Ce+4,Bn,Ln),Ya(sr,Mi,Wr,pn,Mn,Ce+4,Bn,Ln)),Rn.La&&(zo(jn,Pn,qe,Ce,Bn,Ln),ph(sr,Mi,Wr,pn,Mn,Ce,Bn,Ln)),0<or&&(We(jn,Pn,qe,Ce+4,Bn,Ln),zr(sr,Mi,Wr,pn,Mn,Ce+4,Bn,Ln)),Rn.La&&(sa(jn,Pn,qe,Ce,Bn,Ln),dh(sr,Mi,Wr,pn,Mn,Ce,Bn,Ln))}}if(Ot.ia&&alert("todo:DitherRow"),Nt.put!=null){if(Ae=16*ke,ke=16*(ke+1),an?(Nt.y=Ot.sa,Nt.O=Ot.ta+xe,Nt.f=Ot.qa,Nt.N=Ot.ra+kn,Nt.ea=Ot.Ha,Nt.W=Ot.Ia+kn):(Ae-=ve,Nt.y=un,Nt.O=An,Nt.f=De,Nt.N=pe,Nt.ea=vn,Nt.W=Nn),rn||(ke-=ve),ke>Nt.o&&(ke=Nt.o),Nt.F=null,Nt.J=null,Ot.Fa!=null&&0<Ot.Fa.length&&Ae<ke&&(Nt.J=Ie(Ot,Nt,Ae,ke-Ae),Nt.F=Ot.mb,Nt.F==null&&Nt.F.length==0)){Ve=Ke(Ot,3,"Could not decode alpha data.");break e}Ae<Nt.j&&(ve=Nt.j-Ae,Ae=Nt.j,n(!(1&ve)),Nt.O+=Ot.R*ve,Nt.N+=Ot.B*(ve>>1),Nt.W+=Ot.B*(ve>>1),Nt.F!=null&&(Nt.J+=Nt.width*ve)),Ae<ke&&(Nt.O+=Nt.v,Nt.N+=Nt.v>>1,Nt.W+=Nt.v>>1,Nt.F!=null&&(Nt.J+=Nt.v),Nt.ka=Ae-Nt.j,Nt.U=Nt.va-Nt.v,Nt.T=ke-Ae,Ve=Nt.put(Nt))}ie+1!=Ot.Ic||rn||(r(Ot.sa,Ot.ta-te,un,An+16*Ot.R,te),r(Ot.qa,Ot.ra-Fe,De,pe+8*Ot.B,Fe),r(Ot.Ha,Ot.Ia-Fe,vn,Nn+8*Ot.B,Fe))}if(!Ve)return Ke(ue,6,"Output aborted.")}return 1}(C,Z)),Z.bc!=null&&Z.bc(Z),J&=1}return J?(C.cb=0,J):0})(a,m)||(s=a.a)}}else s=a.a}s==0&&_.Oa!=null&&_.Oa.fd&&(s=za(_.ba))}_=s}w=_!=0?null:11>w?A.f.RGBA.eb:A.f.kb.y}else w=null;return w};var Dh=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function d(B,tt){for(var L="",F=0;F<4;F++)L+=String.fromCharCode(B[tt++]);return L}function g(B,tt){return B[tt+0]|B[tt+1]<<8}function x(B,tt){return(B[tt+0]|B[tt+1]<<8|B[tt+2]<<16)>>>0}function N(B,tt){return(B[tt+0]|B[tt+1]<<8|B[tt+2]<<16|B[tt+3]<<24)>>>0}new f;var p=[0],T=[0],E=[],j=new f,k=t,V=function(B,tt){var L={},F=0,z=!1,U=0,rt=0;if(L.frames=[],!function(y,R){for(var M=0;M<4;M++)if(y[R+M]!="RIFF".charCodeAt(M))return!0;return!1}(B,tt)){for(N(B,tt+=4),tt+=8;tt<B.length;){var st=d(B,tt),ht=N(B,tt+=4);tt+=4;var nt=ht+(1&ht);switch(st){case"VP8 ":case"VP8L":L.frames[F]===void 0&&(L.frames[F]={}),(wt=L.frames[F]).src_off=z?rt:tt-8,wt.src_size=U+ht+8,F++,z&&(z=!1,U=0,rt=0);break;case"VP8X":(wt=L.header={}).feature_flags=B[tt];var ft=tt+4;wt.canvas_width=1+x(B,ft),ft+=3,wt.canvas_height=1+x(B,ft),ft+=3;break;case"ALPH":z=!0,U=nt+8,rt=tt-8;break;case"ANIM":(wt=L.header).bgcolor=N(B,tt),ft=tt+4,wt.loop_count=g(B,ft),ft+=2;break;case"ANMF":var At,wt;(wt=L.frames[F]={}).offset_x=2*x(B,tt),tt+=3,wt.offset_y=2*x(B,tt),tt+=3,wt.width=1+x(B,tt),tt+=3,wt.height=1+x(B,tt),tt+=3,wt.duration=x(B,tt),tt+=3,At=B[tt++],wt.dispose=1&At,wt.blend=At>>1&1}st!="ANMF"&&(tt+=nt)}return L}}
108(k,0);V.response=k,V.rgbaoutput=!0,V.dataurl=!1;var G=V.header?V.header:null,D=V.frames?V.frames:null;if(G){G.loop_counter=G.loop_count,p=[G.canvas_height],T=[G.canvas_width];for(var it=0;it<D.length&&D[it].blend!=0;it++);}var mt=D[0],ut=j.WebPDecodeRGBA(k,mt.src_off,mt.src_size,T,p);mt.rgba=ut,mt.imgwidth=T[0],mt.imgheight=p[0];for(var $=0;$<T[0]*p[0]*4;$++)E[$]=ut[$];return this.width=T,this.height=p,this.data=E,this}(function(t){var n,e,r,i,o,c,l,f,d,g=function(y){return y=y||{},this.isStrokeTransparent=y.isStrokeTransparent||!1,this.strokeOpacity=y.strokeOpacity||1,this.strokeStyle=y.strokeStyle||"#000000",this.fillStyle=y.fillStyle||"#000000",this.isFillTransparent=y.isFillTransparent||!1,this.fillOpacity=y.fillOpacity||1,this.font=y.font||"10px sans-serif",this.textBaseline=y.textBaseline||"alphabetic",this.textAlign=y.textAlign||"left",this.lineWidth=y.lineWidth||1,this.lineJoin=y.lineJoin||"miter",this.lineCap=y.lineCap||"butt",this.path=y.path||[],this.transform=y.transform!==void 0?y.transform.clone():new f,this.globalCompositeOperation=y.globalCompositeOperation||"normal",this.globalAlpha=y.globalAlpha||1,this.clip_path=y.clip_path||[],this.currentPoint=y.currentPoint||new c,this.miterLimit=y.miterLimit||10,this.lastPoint=y.lastPoint||new c,this.lineDashOffset=y.lineDashOffset||0,this.lineDash=y.lineDash||[],this.margin=y.margin||[0,0,0,0],this.prevPageLastElemOffset=y.prevPageLastElemOffset||0,this.ignoreClearRect=typeof y.ignoreClearRect!="boolean"||y.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new x(this),n=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,c=this.internal.Point,l=this.internal.Rectangle,f=this.internal.Matrix,d=new g}]);var x=function(y){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var R=y;Object.defineProperty(this,"pdf",{get:function(){return R}});var M=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return M},set:function(P){M=!!P}});var H=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return H},set:function(P){H=!!P}});var Y=0;Object.defineProperty(this,"posX",{get:function(){return Y},set:function(P){isNaN(P)||(Y=P)}});var X=0;Object.defineProperty(this,"posY",{get:function(){return X},set:function(P){isNaN(P)||(X=P)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(P){var Lt;typeof P=="number"?Lt=[P,P,P,P]:((Lt=new Array(4))[0]=P[0],Lt[1]=P.length>=2?P[1]:Lt[0],Lt[2]=P.length>=3?P[2]:Lt[0],Lt[3]=P.length>=4?P[3]:Lt[1]),d.margin=Lt}});var at=!1;Object.defineProperty(this,"autoPaging",{get:function(){return at},set:function(P){at=P}});var ot=0;Object.defineProperty(this,"lastBreak",{get:function(){return ot},set:function(P){ot=P}});var gt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return gt},set:function(P){gt=P}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(P){P instanceof g&&(d=P)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(P){d.path=P}});var xt=[];Object.defineProperty(this,"ctxStack",{get:function(){return xt},set:function(P){xt=P}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(P){var Lt;Lt=N(P),this.ctx.fillStyle=Lt.style,this.ctx.isFillTransparent=Lt.a===0,this.ctx.fillOpacity=Lt.a,this.pdf.setFillColor(Lt.r,Lt.g,Lt.b,{a:Lt.a}),this.pdf.setTextColor(Lt.r,Lt.g,Lt.b,{a:Lt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(P){var Lt=N(P);this.ctx.strokeStyle=Lt.style,this.ctx.isStrokeTransparent=Lt.a===0,this.ctx.strokeOpacity=Lt.a,Lt.a===0?this.pdf.setDrawColor(255,255,255):(Lt.a,this.pdf.setDrawColor(Lt.r,Lt.g,Lt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(P){["butt","round","square"].indexOf(P)!==-1&&(this.ctx.lineCap=P,this.pdf.setLineCap(P))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth}
108,set:function(P){isNaN(P)||(this.ctx.lineWidth=P,this.pdf.setLineWidth(P))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(P){["bevel","round","miter"].indexOf(P)!==-1&&(this.ctx.lineJoin=P,this.pdf.setLineJoin(P))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(P){isNaN(P)||(this.ctx.miterLimit=P,this.pdf.setMiterLimit(P))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(P){this.ctx.textBaseline=P}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(P){["right","end","center","left","start"].indexOf(P)!==-1&&(this.ctx.textAlign=P)}});var kt=null,St=null,Dt=null;Object.defineProperty(this,"fontFaces",{get:function(){return Dt},set:function(P){kt=null,St=null,Dt=P}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(P){var Lt;if(this.ctx.font=P,(Lt=/^\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(P))!==null){var ae=Lt[1];Lt[2];var Ht=Lt[3],_t=Lt[4];Lt[5];var Wt=Lt[6],Et=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(_t)[2];_t=Math.floor(Et==="px"?parseFloat(_t)*this.pdf.internal.scaleFactor:Et==="em"?parseFloat(_t)*this.pdf.getFontSize():parseFloat(_t)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(_t);var zt=function(Bt){var ze,ge,oe=[],se=Bt.trim();if(se==="")return Rl;if(se in af)return[af[se]];for(;se!=="";){switch(ge=null,ze=(se=sf(se)).charAt(0)){case'"':case"'":ge=K5(se.substring(1),ze);break;default:ge=J5(se)}if(ge===null||(oe.push(ge[0]),(se=sf(ge[1]))!==""&&se.charAt(0)!==","))return Rl;se=se.replace(/^,/,"")}return oe}(Wt);if(this.fontFaces){var qt=function(Bt,ze){var ge=Bt.getFontList(),oe=JSON.stringify(ge);if(kt===null||St!==oe){var se=function(Te){var Ut=[];return Object.keys(Te).forEach(function(Ee){Te[Ee].forEach(function(Zt){var Qt=null;switch(Zt){case"bold":Qt={family:Ee,weight:"bold"};break;case"italic":Qt={family:Ee,style:"italic"};break;case"bolditalic":Qt={family:Ee,weight:"bold",style:"italic"};break;case"":case"normal":Qt={family:Ee}}Qt!==null&&(Qt.ref={name:Ee,style:Zt},Ut.push(Qt))})}),Ut}(ge);kt=function(Te){for(var Ut={},Ee=0;Ee<Te.length;++Ee){var Zt=Tl(Te[Ee]),Qt=Zt.family,Re=Zt.stretch,le=Zt.style,Vt=Zt.weight;Ut[Qt]=Ut[Qt]||{},Ut[Qt][Re]=Ut[Qt][Re]||{},Ut[Qt][Re][le]=Ut[Qt][Re][le]||{},Ut[Qt][Re][le][Vt]=Zt}return Ut}(se.concat(ze)),St=oe}return kt}(this.pdf,this.fontFaces),we=zt.map(function(Bt){return{family:Bt,stretch:"normal",weight:Ht,style:ae}}),he=function(Bt,ze,ge){for(var oe=(ge=ge||{}).defaultFontFamily||"times",se=Object.assign({},$5,ge.genericFontFamilies||{}),Te=null,Ut=null,Ee=0;Ee<ze.length;
108++Ee)if(se[(Te=Tl(ze[Ee])).family]&&(Te.family=se[Te.family]),Bt.hasOwnProperty(Te.family)){Ut=Bt[Te.family];break}if(!(Ut=Ut||Bt[oe]))throw new Error("Could not find a font-family for the rule '"+of(Te)+"' and default family '"+oe+"'.");if(Ut=function(Zt,Qt){if(Qt[Zt])return Qt[Zt];var Re=th[Zt],le=Re<=th.normal?-1:1,Vt=rf(Qt,Su,Re,le);if(!Vt)throw new Error("Could not find a matching font-stretch value for "+Zt);return Vt}(Te.stretch,Ut),Ut=function(Zt,Qt){if(Qt[Zt])return Qt[Zt];for(var Re=Lu[Zt],le=0;le<Re.length;++le)if(Qt[Re[le]])return Qt[Re[le]];throw new Error("Could not find a matching font-style for "+Zt)}(Te.style,Ut),!(Ut=function(Zt,Qt){if(Qt[Zt])return Qt[Zt];if(Zt===400&&Qt[500])return Qt[500];if(Zt===500&&Qt[400])return Qt[400];var Re=Y5[Zt],le=rf(Qt,ku,Re,Zt<400?-1:1);if(!le)throw new Error("Could not find a matching font-weight for value "+Zt);return le}(Te.weight,Ut)))throw new Error("Failed to resolve a font for the rule '"+of(Te)+"'.");return Ut}(qt,we);this.pdf.setFont(he.ref.name,he.ref.style)}else{var Xt="";(Ht==="bold"||parseInt(Ht,10)>=700||ae==="bold")&&(Xt="bold"),ae==="italic"&&(Xt+="italic"),Xt.length===0&&(Xt="normal");for(var fe="",ce={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"},Tt=0;Tt<zt.length;Tt++){if(this.pdf.internal.getFont(zt[Tt],Xt,{noFallback:!0,disableWarning:!0})!==void 0){fe=zt[Tt];break}if(Xt==="bolditalic"&&this.pdf.internal.getFont(zt[Tt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)fe=zt[Tt],Xt="bold";else if(this.pdf.internal.getFont(zt[Tt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){fe=zt[Tt],Xt="normal";break}}if(fe===""){for(var ee=0;ee<zt.length;ee++)if(ce[zt[ee]]){fe=ce[zt[ee]];break}}fe=fe===""?"Times":fe,this.pdf.setFont(fe,Xt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(P){this.ctx.globalCompositeOperation=P}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(P){this.ctx.globalAlpha=P}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(P){this.ctx.lineDashOffset=P,wt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(P){this.ctx.lineDash=P,wt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(P){this.ctx.ignoreClearRect=!!P}})};x.prototype.setLineDash=function(y){this.lineDash=y},x.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},x.prototype.fill=function(){D.call(this,"fill",!1)},x.prototype.stroke=function(){D.call(this,"stroke",!1)},x.prototype.beginPath=function(){this.path=[{type:"begin"}]},x.prototype.moveTo=function(y,R){if(isNaN(y)||isNaN(R))throw Pe.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var M=this.ctx.transform.applyToPoint(new c(y,R));this.path.push({type:"mt",x:M.x,y:M.y}),this.ctx.lastPoint=new c(y,R)},x.prototype.closePath=function(){var y=new c(0,0),R=0;for(R=this.path.length-1;R!==-1;R--)if(this.path[R].type==="begin"&&Le(this.path[R+1])==="object"&&typeof this.path[R+1].x=="number"){y=new c(this.path[R+1].x,this.path[R+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new c(y.x,y.y)},x.prototype.lineTo=function(y,R){if(isNaN(y)||isNaN(R))throw Pe.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var M=this.ctx.transform.applyToPoint(new c(y,R));this.path.push({type:"lt",x:M.x,y:M.y}),this.ctx.lastPoint=new c(M.x,M.y)},x.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),D.call(this,null,!0)},x.prototype.quadraticCurveTo=function(y,R,M,H){if(isNaN(M)||isNaN(H)||isNaN(y)||isNaN(R))throw Pe.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to 
108jsPDF.context2d.quadraticCurveTo");var Y=this.ctx.transform.applyToPoint(new c(M,H)),X=this.ctx.transform.applyToPoint(new c(y,R));this.path.push({type:"qct",x1:X.x,y1:X.y,x:Y.x,y:Y.y}),this.ctx.lastPoint=new c(Y.x,Y.y)},x.prototype.bezierCurveTo=function(y,R,M,H,Y,X){if(isNaN(Y)||isNaN(X)||isNaN(y)||isNaN(R)||isNaN(M)||isNaN(H))throw Pe.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var at=this.ctx.transform.applyToPoint(new c(Y,X)),ot=this.ctx.transform.applyToPoint(new c(y,R)),gt=this.ctx.transform.applyToPoint(new c(M,H));this.path.push({type:"bct",x1:ot.x,y1:ot.y,x2:gt.x,y2:gt.y,x:at.x,y:at.y}),this.ctx.lastPoint=new c(at.x,at.y)},x.prototype.arc=function(y,R,M,H,Y,X){if(isNaN(y)||isNaN(R)||isNaN(M)||isNaN(H)||isNaN(Y))throw Pe.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(X=!!X,!this.ctx.transform.isIdentity){var at=this.ctx.transform.applyToPoint(new c(y,R));y=at.x,R=at.y;var ot=this.ctx.transform.applyToPoint(new c(0,M)),gt=this.ctx.transform.applyToPoint(new c(0,0));M=Math.sqrt(Math.pow(ot.x-gt.x,2)+Math.pow(ot.y-gt.y,2))}Math.abs(Y-H)>=2*Math.PI&&(H=0,Y=2*Math.PI),this.path.push({type:"arc",x:y,y:R,radius:M,startAngle:H,endAngle:Y,counterclockwise:X})},x.prototype.arcTo=function(y,R,M,H,Y){throw new Error("arcTo not implemented.")},x.prototype.rect=function(y,R,M,H){if(isNaN(y)||isNaN(R)||isNaN(M)||isNaN(H))throw Pe.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(y,R),this.lineTo(y+M,R),this.lineTo(y+M,R+H),this.lineTo(y,R+H),this.lineTo(y,R),this.lineTo(y+M,R),this.lineTo(y,R)},x.prototype.fillRect=function(y,R,M,H){if(isNaN(y)||isNaN(R)||isNaN(M)||isNaN(H))throw Pe.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var Y={};this.lineCap!=="butt"&&(Y.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(Y.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(y,R,M,H),this.fill(),Y.hasOwnProperty("lineCap")&&(this.lineCap=Y.lineCap),Y.hasOwnProperty("lineJoin")&&(this.lineJoin=Y.lineJoin)}},x.prototype.strokeRect=function(y,R,M,H){if(isNaN(y)||isNaN(R)||isNaN(M)||isNaN(H))throw Pe.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");T.call(this)||(this.beginPath(),this.rect(y,R,M,H),this.stroke())},x.prototype.clearRect=function(y,R,M,H){if(isNaN(y)||isNaN(R)||isNaN(M)||isNaN(H))throw Pe.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(y,R,M,H))},x.prototype.save=function(y){y=typeof y!="boolean"||y;for(var R=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("q");if(this.pdf.setPage(R),y){this.ctx.fontSize=this.pdf.internal.getFontSize();var H=new g(this.ctx);this.ctxStack.push(this.ctx),this.ctx=H}},x.prototype.restore=function(y){y=typeof y!="boolean"||y;for(var R=this.pdf.internal.getCurrentPageInfo().pageNumber,M=0;M<this.pdf.internal.getNumberOfPages();M++)this.pdf.setPage(M+1),this.pdf.internal.out("Q");this.pdf.setPage(R),y&&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)},x.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var N=function(y){var R,M,H,Y;if(y.isCanvasGradient===!0&&(y=y.getColor()),!y)return{r:0,g:0,b:0,a:0,style:y};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(y))R=0,M=0,H=0,Y=0;else{var X=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(y);if(X!==null)R=parseInt(X[1]),M=parseInt(X[2]),H=parseInt(X[3]),Y=1;else if((X=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(y))!==null)R=parseInt(X[1]),M=parseInt(X[2]),H=parseInt(X[3]),Y=parseFloat(X[4]);else{if(Y=1,typeof y=="string"&&y.charAt(0)!=="#"){var at=new bu(y);y=at.ok?at.toHex():"#000000"}y.length===4?(R=y.substring(1,2),R+=R,M=y.substring(2,3),M+=M,H=y.substring(3,4),H+=H):(R=y.substring(1,3),M=y.substring(3,5),H=y.substring(5,7)),R=parseInt(R,16),M=parseInt(M,16),H=parseInt(H,16)}}return{r:R,g:M,b:H,a:Y,style:y}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},T=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};x.prototype.fillText=function(y,R,M,H){if(isNaN(R)||isNaN(M)||typeof y!="str
108ing")throw Pe.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(H=isNaN(H)?void 0:H,!p.call(this)){var Y=nt(this.ctx.transform.rotation),X=this.ctx.transform.scaleX;F.call(this,{text:y,x:R,y:M,scale:X,angle:Y,align:this.textAlign,maxWidth:H})}},x.prototype.strokeText=function(y,R,M,H){if(isNaN(R)||isNaN(M)||typeof y!="string")throw Pe.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!T.call(this)){H=isNaN(H)?void 0:H;var Y=nt(this.ctx.transform.rotation),X=this.ctx.transform.scaleX;F.call(this,{text:y,x:R,y:M,scale:X,renderingMode:"stroke",angle:Y,align:this.textAlign,maxWidth:H})}},x.prototype.measureText=function(y){if(typeof y!="string")throw Pe.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var R=this.pdf,M=this.pdf.internal.scaleFactor,H=R.internal.getFontSize(),Y=R.getStringUnitWidth(y)*H/R.internal.scaleFactor;return new function(X){var at=(X=X||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return at}}),this}({width:Y*=Math.round(96*M/72*1e4)/1e4})},x.prototype.scale=function(y,R){if(isNaN(y)||isNaN(R))throw Pe.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var M=new f(y,0,0,R,0,0);this.ctx.transform=this.ctx.transform.multiply(M)},x.prototype.rotate=function(y){if(isNaN(y))throw Pe.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var R=new f(Math.cos(y),Math.sin(y),-Math.sin(y),Math.cos(y),0,0);this.ctx.transform=this.ctx.transform.multiply(R)},x.prototype.translate=function(y,R){if(isNaN(y)||isNaN(R))throw Pe.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var M=new f(1,0,0,1,y,R);this.ctx.transform=this.ctx.transform.multiply(M)},x.prototype.transform=function(y,R,M,H,Y,X){if(isNaN(y)||isNaN(R)||isNaN(M)||isNaN(H)||isNaN(Y)||isNaN(X))throw Pe.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var at=new f(y,R,M,H,Y,X);this.ctx.transform=this.ctx.transform.multiply(at)},x.prototype.setTransform=function(y,R,M,H,Y,X){y=isNaN(y)?1:y,R=isNaN(R)?0:R,M=isNaN(M)?0:M,H=isNaN(H)?1:H,Y=isNaN(Y)?0:Y,X=isNaN(X)?0:X,this.ctx.transform=new f(y,R,M,H,Y,X)};var E=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};x.prototype.drawImage=function(y,R,M,H,Y,X,at,ot,gt){var xt=this.pdf.getImageProperties(y),kt=1,St=1,Dt=1,P=1;H!==void 0&&ot!==void 0&&(Dt=ot/H,P=gt/Y,kt=xt.width/H*ot/H,St=xt.height/Y*gt/Y),X===void 0&&(X=R,at=M,R=0,M=0),H!==void 0&&ot===void 0&&(ot=H,gt=Y),H===void 0&&ot===void 0&&(ot=xt.width,gt=xt.height);var Lt=this.ctx.transform.decompose(),ae=nt(Lt.rotate.shx),Ht=new f,_t=(Ht=(Ht=(Ht=Ht.multiply(Lt.translate)).multiply(Lt.skew)).multiply(Lt.scale)).applyToRectangle(new l(X-R*Dt,at-M*P,H*kt,Y*St));if(this.autoPaging){for(var Wt,Et=j.call(this,_t),zt=[],qt=0;qt<Et.length;qt+=1)zt.indexOf(Et[qt])===-1&&zt.push(Et[qt]);G(zt);for(var we=zt[0],he=zt[zt.length-1],Xt=we;Xt<he+1;Xt++){this.pdf.setPage(Xt);var fe=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ce=Xt===1?this.posY+this.margin[0]:this.margin[0],Tt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ee=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Bt=Xt===1?0:Tt+(Xt-2)*ee;if(this.ctx.clip_path.length!==0){var ze=this.path;Wt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=V(Wt,this.posX+this.margin[3],-Bt+ce+this.ctx.prevPageLastElemOffset),it.call(this,"fill",!0),this.path=ze}var ge=JSON.parse(JSON.stringify(_t));ge=V([ge],this.posX+this.margin[3],-Bt+ce+this.ctx.prevPageLastElemOffset)[0];var oe=(Xt>we||Xt<he)&&E.call(this);oe&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],fe,ee,null).clip().discardPath()),this.pdf.addImage(y,"JPEG",ge.x,ge.y,ge.w,ge.h,null,
108null,ae),oe&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(y,"JPEG",_t.x,_t.y,_t.w,_t.h,null,null,ae)};var j=function(y,R,M){var H=[];R=R||this.pdf.internal.pageSize.width,M=M||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var Y=this.posY+this.ctx.prevPageLastElemOffset;switch(y.type){default:case"mt":case"lt":H.push(Math.floor((y.y+Y)/M)+1);break;case"arc":H.push(Math.floor((y.y+Y-y.radius)/M)+1),H.push(Math.floor((y.y+Y+y.radius)/M)+1);break;case"qct":var X=ft(this.ctx.lastPoint.x,this.ctx.lastPoint.y,y.x1,y.y1,y.x,y.y);H.push(Math.floor((X.y+Y)/M)+1),H.push(Math.floor((X.y+X.h+Y)/M)+1);break;case"bct":var at=At(this.ctx.lastPoint.x,this.ctx.lastPoint.y,y.x1,y.y1,y.x2,y.y2,y.x,y.y);H.push(Math.floor((at.y+Y)/M)+1),H.push(Math.floor((at.y+at.h+Y)/M)+1);break;case"rect":H.push(Math.floor((y.y+Y)/M)+1),H.push(Math.floor((y.y+y.h+Y)/M)+1)}for(var ot=0;ot<H.length;ot+=1)for(;this.pdf.internal.getNumberOfPages()<H[ot];)k.call(this);return H},k=function(){var y=this.fillStyle,R=this.strokeStyle,M=this.font,H=this.lineCap,Y=this.lineWidth,X=this.lineJoin;this.pdf.addPage(),this.fillStyle=y,this.strokeStyle=R,this.font=M,this.lineCap=H,this.lineWidth=Y,this.lineJoin=X},V=function(y,R,M){for(var H=0;H<y.length;H++)switch(y[H].type){case"bct":y[H].x2+=R,y[H].y2+=M;case"qct":y[H].x1+=R,y[H].y1+=M;default:y[H].x+=R,y[H].y+=M}return y},G=function(y){return y.sort(function(R,M){return R-M})},D=function(y,R){var M=this.fillStyle,H=this.strokeStyle,Y=this.lineCap,X=this.lineWidth,at=Math.abs(X*this.ctx.transform.scaleX),ot=this.lineJoin;if(this.autoPaging){for(var gt,xt,kt=JSON.parse(JSON.stringify(this.path)),St=JSON.parse(JSON.stringify(this.path)),Dt=[],P=0;P<St.length;P++)if(St[P].x!==void 0)for(var Lt=j.call(this,St[P]),ae=0;ae<Lt.length;ae+=1)Dt.indexOf(Lt[ae])===-1&&Dt.push(Lt[ae]);for(var Ht=0;Ht<Dt.length;Ht++)for(;this.pdf.internal.getNumberOfPages()<Dt[Ht];)k.call(this);G(Dt);for(var _t=Dt[0],Wt=Dt[Dt.length-1],Et=_t;Et<Wt+1;Et++){this.pdf.setPage(Et),this.fillStyle=M,this.strokeStyle=H,this.lineCap=Y,this.lineWidth=at,this.lineJoin=ot;var zt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],qt=Et===1?this.posY+this.margin[0]:this.margin[0],we=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],he=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Xt=Et===1?0:we+(Et-2)*he;if(this.ctx.clip_path.length!==0){var fe=this.path;gt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=V(gt,this.posX+this.margin[3],-Xt+qt+this.ctx.prevPageLastElemOffset),it.call(this,y,!0),this.path=fe}if(xt=JSON.parse(JSON.stringify(kt)),this.path=V(xt,this.posX+this.margin[3],-Xt+qt+this.ctx.prevPageLastElemOffset),R===!1||Et===0){var ce=(Et>_t||Et<Wt)&&E.call(this);ce&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],zt,he,null).clip().discardPath()),it.call(this,y,R),ce&&this.pdf.restoreGraphicsState()}this.lineWidth=X}this.path=kt}else this.lineWidth=at,it.call(this,y,R),this.lineWidth=X},it=function(y,R){if((y!=="stroke"||R||!T.call(this))&&(y==="stroke"||R||!p.call(this))){for(var M,H,Y=[],X=this.path,at=0;at<X.length;at++){var ot=X[at];switch(ot.type){case"begin":Y.push({begin:!0});break;case"close":Y.push({close:!0});break;case"mt":Y.push({start:ot,deltas:[],abs:[]});break;case"lt":var gt=Y.length;if(X[at-1]&&!isNaN(X[at-1].x)&&(M=[ot.x-X[at-1].x,ot.y-X[at-1].y],gt>0)){for(;gt>=0;gt--)if(Y[gt-1].close!==!0&&Y[gt-1].begin!==!0){Y[gt-1].deltas.push(M),Y[gt-1].abs.push(ot);break}}break;case"bct":M=[ot.x1-X[at-1].x,ot.y1-X[at-1].y,ot.x2-X[at-1].x,ot.y2-X[at-1].y,ot.x-X[at-1].x,ot.y-X[at-1].y],Y[Y.length-1].deltas.push(M);break;case"qct":var xt=X[at-1].x+2/3*(ot.x1-X[at-1].x),kt=X[at-1].y+2/3*(ot.y1-X[at-1].y),St=ot.x+2/3*(ot.x1-ot.x),Dt=ot.y+2/3*(ot.y1-ot.y),P=ot.x,Lt=ot.y;
108M=[xt-X[at-1].x,kt-X[at-1].y,St-X[at-1].x,Dt-X[at-1].y,P-X[at-1].x,Lt-X[at-1].y],Y[Y.length-1].deltas.push(M);break;case"arc":Y.push({deltas:[],abs:[],arc:!0}),Array.isArray(Y[Y.length-1].abs)&&Y[Y.length-1].abs.push(ot)}}H=R?null:y==="stroke"?"stroke":"fill";for(var ae=!1,Ht=0;Ht<Y.length;Ht++)if(Y[Ht].arc)for(var _t=Y[Ht].abs,Wt=0;Wt<_t.length;Wt++){var Et=_t[Wt];Et.type==="arc"?$.call(this,Et.x,Et.y,Et.radius,Et.startAngle,Et.endAngle,Et.counterclockwise,void 0,R,!ae):z.call(this,Et.x,Et.y),ae=!0}else if(Y[Ht].close===!0)this.pdf.internal.out("h"),ae=!1;else if(Y[Ht].begin!==!0){var zt=Y[Ht].start.x,qt=Y[Ht].start.y;U.call(this,Y[Ht].deltas,zt,qt),ae=!0}H&&B.call(this,H),R&&tt.call(this)}},mt=function(y){var R=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,M=R*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return y-M;case"top":return y+R-M;case"hanging":return y+R-2*M;case"middle":return y+R/2-M;default:return y}},ut=function(y){return y+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};x.prototype.createLinearGradient=function(){var y=function(){};return y.colorStops=[],y.addColorStop=function(R,M){this.colorStops.push([R,M])},y.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},y.isCanvasGradient=!0,y},x.prototype.createPattern=function(){return this.createLinearGradient()},x.prototype.createRadialGradient=function(){return this.createLinearGradient()};var $=function(y,R,M,H,Y,X,at,ot,gt){for(var xt=st.call(this,M,H,Y,X),kt=0;kt<xt.length;kt++){var St=xt[kt];kt===0&&(gt?L.call(this,St.x1+y,St.y1+R):z.call(this,St.x1+y,St.y1+R)),rt.call(this,y,R,St.x2,St.y2,St.x3,St.y3,St.x4,St.y4)}ot?tt.call(this):B.call(this,at)},B=function(y){switch(y){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},tt=function(){this.pdf.clip(),this.pdf.discardPath()},L=function(y,R){this.pdf.internal.out(e(y)+" "+r(R)+" m")},F=function(y){var R;switch(y.align){case"right":case"end":R="right";break;case"center":R="center";break;default:R="left"}var M,H,Y,X=this.pdf.getTextDimensions(y.text),at=mt.call(this,y.y),ot=ut.call(this,at)-X.h,gt=this.ctx.transform.applyToPoint(new c(y.x,at));if(this.autoPaging){var xt=this.ctx.transform.decompose(),kt=new f;kt=(kt=(kt=kt.multiply(xt.translate)).multiply(xt.skew)).multiply(xt.scale);for(var St=this.ctx.transform.applyToRectangle(new l(y.x,at,X.w,X.h)),Dt=kt.applyToRectangle(new l(y.x,ot,X.w,X.h)),P=j.call(this,Dt),Lt=[],ae=0;ae<P.length;ae+=1)Lt.indexOf(P[ae])===-1&&Lt.push(P[ae]);G(Lt);for(var Ht=Lt[0],_t=Lt[Lt.length-1],Wt=Ht;Wt<_t+1;Wt++){this.pdf.setPage(Wt);var Et=Wt===1?this.posY+this.margin[0]:this.margin[0],zt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],qt=this.pdf.internal.pageSize.height-this.margin[2],we=qt-this.margin[0],he=this.pdf.internal.pageSize.width-this.margin[1],Xt=he-this.margin[3],fe=Wt===1?0:zt+(Wt-2)*we;if(this.ctx.clip_path.length!==0){var ce=this.path;M=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=V(M,this.posX+this.margin[3],-1*fe+Et),it.call(this,"fill",!0),this.path=ce}var Tt=V([JSON.parse(JSON.stringify(Dt))],this.posX+this.margin[3],-fe+Et+this.ctx.prevPageLastElemOffset)[0];y.scale>=.01&&(H=this.pdf.internal.getFontSize(),this.pdf.setFontSize(H*y.scale),Y=this.lineWidth,this.lineWidth=Y*y.scale);var ee=this.autoPaging!=="text";if(ee||Tt.y+Tt.h<=qt){if(ee||Tt.y>=Et&&Tt.x<=he){var Bt=ee?y.text:this.pdf.splitTextToSize(y.text,y.maxWidth||he-Tt.x)[0],ze=V([JSON.parse(JSON.stringify(St))],this.posX+this.margin[3],-fe+Et+this.ctx.prevPageLastElemOffset)[0],ge=ee&&(Wt>Ht||Wt<_t)&&E.call(this);ge&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Xt,we,null).clip().discardPath()),this.pdf.text(Bt,ze.x,ze.y,{angle:y.angle,align:R,renderingMode:y.renderingMode}),ge&&this.pdf.restoreGraphicsState()}}else Tt.y<qt&&(this.ctx.prevPageLastElemOffset+=qt-Tt.y);y.scale>=.01&&(this.pdf.setFontSize(H),this.lineWidth=Y)}}else y.scale>=.01&&(H=this.pdf.internal.getFontSize(),this.pdf.setFontSize(H*y.scale),Y=this.lineWidth,this.lineWidth=Y*y.scale),this.pdf.text(y.text,gt.x+this.posX,gt.y+this.posY,{angle:y.angle,align:R,renderingMode:y.renderingMode,maxWidth:y.maxWidth}),y.scale>=.01&&(this.pdf.setFontSize(H),this.lineWidth=Y)},z=function(y,R,M,H){M=M||0,H=H||0,this.pdf.internal.out(e(y+M)+" "+r(R+
vendor: 4,237 bytes, line 108
108H)+" l")},U=function(y,R,M){return this.pdf.lines(y,R,M,null,null)},rt=function(y,R,M,H,Y,X,at,ot){this.pdf.internal.out([n(i(M+y)),n(o(H+R)),n(i(Y+y)),n(o(X+R)),n(i(at+y)),n(o(ot+R)),"c"].join(" "))},st=function(y,R,M,H){for(var Y=2*Math.PI,X=Math.PI/2;R>M;)R-=Y;var at=Math.abs(M-R);at<Y&&H&&(at=Y-at);for(var ot=[],gt=H?-1:1,xt=R;at>1e-5;){var kt=xt+gt*Math.min(at,X);ot.push(ht.call(this,y,xt,kt)),at-=Math.abs(kt-xt),xt=kt}return ot},ht=function(y,R,M){var H=(M-R)/2,Y=y*Math.cos(H),X=y*Math.sin(H),at=Y,ot=-X,gt=at*at+ot*ot,xt=gt+at*Y+ot*X,kt=4/3*(Math.sqrt(2*gt*xt)-xt)/(at*X-ot*Y),St=at-kt*ot,Dt=ot+kt*at,P=St,Lt=-Dt,ae=H+R,Ht=Math.cos(ae),_t=Math.sin(ae);return{x1:y*Math.cos(R),y1:y*Math.sin(R),x2:St*Ht-Dt*_t,y2:St*_t+Dt*Ht,x3:P*Ht-Lt*_t,y3:P*_t+Lt*Ht,x4:y*Math.cos(M),y4:y*Math.sin(M)}},nt=function(y){return 180*y/Math.PI},ft=function(y,R,M,H,Y,X){var at=y+.5*(M-y),ot=R+.5*(H-R),gt=Y+.5*(M-Y),xt=X+.5*(H-X),kt=Math.min(y,Y,at,gt),St=Math.max(y,Y,at,gt),Dt=Math.min(R,X,ot,xt),P=Math.max(R,X,ot,xt);return new l(kt,Dt,St-kt,P-Dt)},At=function(y,R,M,H,Y,X,at,ot){var gt,xt,kt,St,Dt,P,Lt,ae,Ht,_t,Wt,Et,zt,qt,we=M-y,he=H-R,Xt=Y-M,fe=X-H,ce=at-Y,Tt=ot-X;for(xt=0;xt<41;xt++)Ht=(Lt=(kt=y+(gt=xt/40)*we)+gt*((Dt=M+gt*Xt)-kt))+gt*(Dt+gt*(Y+gt*ce-Dt)-Lt),_t=(ae=(St=R+gt*he)+gt*((P=H+gt*fe)-St))+gt*(P+gt*(X+gt*Tt-P)-ae),xt==0?(Wt=Ht,Et=_t,zt=Ht,qt=_t):(Wt=Math.min(Wt,Ht),Et=Math.min(Et,_t),zt=Math.max(zt,Ht),qt=Math.max(qt,_t));return new l(Math.round(Wt),Math.round(Et),Math.round(zt-Wt),Math.round(qt-Et))},wt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var y,R,M=(y=this.ctx.lineDash,R=this.ctx.lineDashOffset,JSON.stringify({lineDash:y,lineDashOffset:R}));this.prevLineDash!==M&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=M)}}})(Mt.API),function(t){var n=function(c){var l,f,d,g,x,N,p,T,E,j;for(f=[],d=0,g=(c+=l="\0\0\0\0".slice(c.length%4||4)).length;g>d;d+=4)(x=(c.charCodeAt(d)<<24)+(c.charCodeAt(d+1)<<16)+(c.charCodeAt(d+2)<<8)+c.charCodeAt(d+3))!==0?(N=(x=((x=((x=((x=(x-(j=x%85))/85)-(E=x%85))/85)-(T=x%85))/85)-(p=x%85))/85)%85,f.push(N+33,p+33,T+33,E+33,j+33)):f.push(122);return function(k,V){for(var G=V;G>0;G--)k.pop()}(f,l.length),String.fromCharCode.apply(String,f)+"~>"},e=function(c){var l,f,d,g,x,N=String,p="length",T=255,E="charCodeAt",j="slice",k="replace";for(c[j](-2),c=c[j](0,-2)[k](/\s/g,"")[k]("z","!!!!!"),d=[],g=0,x=(c+=l="uuuuu"[j](c[p]%5||5))[p];x>g;g+=5)f=52200625*(c[E](g)-33)+614125*(c[E](g+1)-33)+7225*(c[E](g+2)-33)+85*(c[E](g+3)-33)+(c[E](g+4)-33),d.push(T&f>>24,T&f>>16,T&f>>8,T&f);return function(V,G){for(var D=G;D>0;D--)V.pop()}(d,l[p]),N.fromCharCode.apply(N,d)},r=function(c){return c.split("").map(function(l){return("0"+l.charCodeAt().toString(16)).slice(-2)}).join("")+">"},i=function(c){var l=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((c=c.replace(/\s/g,"")).indexOf(">")!==-1&&(c=c.substr(0,c.indexOf(">"))),c.length%2&&(c+="0"),l.test(c)===!1)return"";for(var f="",d=0;d<c.length;d+=2)f+=String.fromCharCode("0x"+(c[d]+c[d+1]));return f},o=function(c){for(var l=new Uint8Array(c.length),f=c.length;f--;)l[f]=c.charCodeAt(f);return(l=Ul(l)).reduce(function(d,g){return d+String.fromCharCode(g)},"")};t.processDataByFilters=function(c,l){var f=0,d=c||"",g=[];for(typeof(l=l||[])=="string"&&(l=[l]),f=0;f<l.length;f+=1)switch(l[f]){case"ASCII85Decode":case"/ASCII85Decode":d=e(d),g.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":d=n(d),g.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":d=i(d),g.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":d=r(d),g.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":d=o(d),g.push("/FlateDecode");break;default:throw new Error('The filter: "'+l[f]+'" is not implemented')}return{data:d,reverseChain:g.reverse().join(" ")}}}(Mt.API),function(t){t.loadFile=function(n,e,r){return function(i,o,c){o=o!==!1,c=typeof c=="function"?c:function(){};var l=void 0;try{l=function(f,d,g){var x=new XMLHttpRequest,N=0,p=function(T){var E=T.length,j=[],k=String.fromCharCode;for(N=0;N<E;N+=1)j.push(k(255&T.charCodeAt(N)));return j.join("")};if(x.open("GET",f,!d),x.overrideMimeType("text/plain;
108 charset=x-user-defined"),d===!1&&(x.onload=function(){x.status===200?g(p(this.responseText)):g(void 0)}),x.send(null),d&&x.status===200)return p(x.responseText)}(i,o,c)}catch{}return l}(n,e,r)},t.allowFsRead=void 0,t.loadImageFile=t.loadFile}(Mt.API),function(t){function n(){return(Yt.html2canvas?Promise.resolve(Yt.html2canvas):cl(()=>import("./html2canvas.esm-e0a7d97b.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load html2canvas: "+l))}).then(function(l){return l.default?l.default:l})}function e(){return(Yt.DOMPurify?Promise.resolve(Yt.DOMPurify):cl(()=>import("./purify.es-ce17b1ad.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load dompurify: "+l))}).then(function(l){return l.default?l.default:l})}var r=function(l){var f=Le(l);return f==="undefined"?"undefined":f==="string"||l instanceof String?"string":f==="number"||l instanceof Number?"number":f==="function"||l instanceof Function?"function":l&&l.constructor===Array?"array":l&&l.nodeType===1?"element":f==="object"?"object":"unknown"},i=function(l,f){var d=document.createElement(l);for(var g in f.className&&(d.className=f.className),f.innerHTML&&f.dompurify&&(d.innerHTML=f.dompurify.sanitize(f.innerHTML)),f.style)d.style[g]=f.style[g];return d},o=function l(f,d){for(var g=f.nodeType===3?document.createTextNode(f.nodeValue):f.cloneNode(!1),x=f.firstChild;x;x=x.nextSibling)d!==!0&&x.nodeType===1&&x.nodeName==="SCRIPT"||g.appendChild(l(x,d));return f.nodeType===1&&(f.nodeName==="CANVAS"?(g.width=f.width,g.height=f.height,g.getContext("2d").drawImage(f,0,0)):f.nodeName!=="TEXTAREA"&&f.nodeName!=="SELECT"||(g.value=f.value),g.addEventListener("load",function(){g.scrollTop=f.scrollTop,g.scrollLeft=f.scrollLeft},!0)),g},c=function l(f){var d=Object.assign(l.convert(Promise.resolve()),JSON.parse(JSON.stringify(l.template))),g=l.convert(Promise.resolve(),d);return(g=g.setProgress(1,l,1,[l])).set(f)};(c.prototype=Object.create(Promise.prototype)).constructor=c,c.convert=function(l,f){return l.__proto__=f||c.prototype,l},c.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"}},c.prototype.from=function(l,f){return this.then(function(){switch(f=f||function(d){switch(r(d)){case"string":return"string";case"element":return d.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}}(l),f){case"string":return this.then(e).then(function(d){return this.set({src:i("div",{innerHTML:l,dompurify:d})})});case"element":return this.set({src:l});case"canvas":return this.set({canvas:l});case"img":return this.set({img:l});default:return this.error("Unknown source type.")}})},c.prototype.to=function(l){switch(l){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.")}},c.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 l={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=o(this.prop.src,this.opt.html2canvas.javascriptEnabled);f.tagName==="BODY"&&(l.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:l}),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"})},c.prototype.toCanvas=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(n).then(function(f){var d=Object.assign({},this.opt.html2canvas);return delete d.onrendered,f(this.prop.container,d)}).then(function(f){(this.opt.html2canvas.onrendered||function(){})(f),this.prop.canvas=f,document.body.removeChild(this.prop.overlay)})},c.prototype.toContext2d=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(n).then(function(f){var d=this.opt.jsPDF,g=this.opt.fontFaces,x=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,N=Object.assign({async:!0,allowTaint:!0,scale:x,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 N.onrendered,d.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,d.context2d.posX=this.opt.x,d.context2d.posY=this.opt.y,d.context2d.margin=this.opt.margin,d.context2d.fontFaces=g,g)for(var p=0;p<g.length;++p){var T=g[p],E=T.src.find(function(j){return j.format==="truetype"});E&&d.addFont(E.url,T.ref.name,T.ref.style)}
vendor: 10,560 bytes, lines 108-114
108return N.windowHeight=N.windowHeight||0,N.windowHeight=N.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):N.windowHeight,d.context2d.save(!0),f(this.prop.container,N)}).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)})},c.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var l=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=l})},c.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},c.prototype.output=function(l,f,d){return(d=d||"pdf").toLowerCase()==="img"||d.toLowerCase()==="image"?this.outputImg(l,f):this.outputPdf(l,f)},c.prototype.outputPdf=function(l,f){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(l,f)})},c.prototype.outputImg=function(l){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(l){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 "'+l+'" is not supported.'}})},c.prototype.save=function(l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(l?{filename:l}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},c.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},c.prototype.set=function(l){if(r(l)!=="object")return this;var f=Object.keys(l||{}).map(function(d){if(d in c.template.prop)return function(){this.prop[d]=l[d]};switch(d){case"margin":return this.setMargin.bind(this,l.margin);case"jsPDF":return function(){return this.opt.jsPDF=l.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,l.pageSize);default:return function(){this.opt[d]=l[d]}}},this);return this.then(function(){return this.thenList(f)})},c.prototype.get=function(l,f){return this.then(function(){var d=l in c.template.prop?this.prop[l]:this.opt[l];return f?f(d):d})},c.prototype.setMargin=function(l){return this.then(function(){switch(r(l)){case"number":l=[l,l,l,l];case"array":if(l.length===2&&(l=[l[0],l[1],l[0],l[1]]),l.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=l}).then(this.setPageSize)},c.prototype.setPageSize=function(l){function f(d,g){return Math.floor(d*g/72*96)}return this.then(function(){(l=l||Mt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(l.inner={width:l.width-this.opt.margin[1]-this.opt.margin[3],height:l.height-this.opt.margin[0]-this.opt.margin[2]},l.inner.px={width:f(l.inner.width,l.k),height:f(l.inner.height,l.k)},l.inner.ratio=l.inner.height/l.inner.width),this.prop.pageSize=l})},c.prototype.setProgress=function(l,f,d,g){return l!=null&&(this.progress.val=l),f!=null&&(this.progress.state=f),d!=null&&(this.progress.n=d),g!=null&&(this.progress.stack=g),this.progress.ratio=this.progress.val/this.progress.state,this},c.prototype.updateProgress=function(l,f,d,g){return this.setProgress(l?this.progress.val+l:null,f||null,d?this.progress.n+d:null,g?this.progress.stack.concat(g):null)},c.prototype.then=function(l,f){var d=this;return this.thenCore(l,f,function(g,x){return d.updateProgress(null,null,1,[g]),Promise.prototype.then.call(this,function(N){return d.updateProgress(null,g),N}).then(g,x).then(function(N){return d.updateProgress(1),N})})},c.prototype.thenCore=function(l,f,d){d=d||Promise.prototype.then;var g=this;l&&(l=l.bind(g)),f&&(f=f.bind(g));var x=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?g:c.convert(Object.assign({},g),Promise.prototype),N=d.call(x,l,f);return c.convert(N,g.__proto__)},c.prototype.thenExternal=function(l,f){return Promise.prototype.then.call(this,l,f)},c.prototype.thenList=function(l){var f=this;return l.forEach(function(d){f=f.thenCore(d)}),f},c.prototype.catch=function(l){l&&(l=l.bind(this));var f=Promise.prototype.catch.call(this,l);return c.convert(f,this)},c.prototype.catchExternal=function(l){return Promise.prototype.catch.call(this,l)},c.prototype.error=function(l){return this.then(function(){throw new Error(l)})},c.prototype.using=c.prototype.set,c.prototype.saveAs=c.prototype.save,c.prototype.export=c.prototype.output,c.prototype.run=c.prototype.then,Mt.getPageSize=function(l,f,d){if(Le(l)==="object"){var g=l;l=g.orientation,f=g.unit||f,d=g.format||d}f=f||"mm",d=d||"a4",l=(""+(l||"P")).toLowerCase();var x,N=(""+d).toLowerCase(),p={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":x=1;break;case"mm":x=72/25.4;break;case"cm":x=72/2.54;break;case"in":x=72;break;case"px":x=.75;break;case"pc":case"em":x=12;break;case"ex":x=6;break;default:throw"Invalid unit: "+f}var T,E=0,j=0;if(p.hasOwnProperty(N))E=p[N][1]/x,j=p[N][0]/x;else try{E=d[1],j=d[0]}catch{throw new Error("Invalid format: "+d)}if(l==="p"||l==="portrait")l="p",j>E&&(T=j,j=E,E=T);else{if(l!=="l"&&l!=="landscape")throw"Invalid orientation: "+l;l="l",E>j&&(T=j,j=E,E=T)}return{width:j,height:E,unit:f,k:x,orientation:l}},t.html=function(l,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(Tl):null;var d=new c(f);return f.worker?d:d.from(l).doCallback()}}(Mt.API),Mt.API.addJS=function(t){return hf=t,this.internal.events.subscribe("postPutResources",function(){ds=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(ds+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),lf=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+hf+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){ds!==void 0&&lf!==void 0&&this.internal.out("/Names <</JavaScript "+ds+" 0 R>>")}),this},function(t){var n;t.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=e.outline.render().split(/\r\n/),o=0;o<i.length;o++){var c=i[o],l=r.exec(c);if(l!=null){var f=l[1];e.internal.newObjectDeferredBegin(f,!1)}e.internal.write(c)}if(this.outline.createNamedDestinations){var d=this.internal.pages.length,g=[];for(o=0;o<d;o++){var x=e.internal.newObject();g.push(x);var N=e.internal.getPageInfo(o+1);e.internal.write("<< /D["+N.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),o=0;o<g.length;o++)e.internal.write("(page_"+(o+1)+")"+g[o]+" 0 R");e.internal.write(" ] >>","endobj"),n=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+n+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,i,o){var c={title:i,options:o,children:[]};return r==null&&(r=this.root),r.children.push(c),c},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var i=0;i<r.children.length;i++)this.genIds_r(r.children[i])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,o=0;o<r.children.length;o++){var c=r.children[o];this.objStart(c),this.line("/Title "+this.makeString(c.title)),this.line("/Parent "+this.makeRef(r)),o>0&&this.line("/Prev "+this.makeRef(r.children[o-1])),o<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[o+1])),c.children.length>0&&(this.line("/First "+this.makeRef(c.children[0])),this.line("/Last "+this.makeRef(c.children[c.children.length-1])));var l=this.count=this.count_r({count:0},c);if(l>0&&this.line("/Count "+l),c.options&&c.options.pageNumber){var f=e.internal.getPageInfo(c.options.pageNumber);this.line("/Dest ["+f.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var d=0;d<r.children.length;d++)this.renderItems(r.children[d])},e.outline.line=function(r){this.ctx.val+=r+`\r
109`},e.outline.makeRef=function(r){return r.id+" 0 R"},e.outline.makeString=function(r){return"("+e.internal.pdfEscape(r)+")"},e.outline.objStart=function(r){this.ctx.val+=`\r
110`+r.id+` 0 obj\r
111<<\r
112`},e.outline.objEnd=function(){this.ctx.val+=`>> \r
113endobj\r
114`},e.outline.count_r=function(r,i){for(var o=0;o<i.children.length;o++)r.count++,this.count_r(r,i.children[o]);return r.count}}])}(Mt.API),function(t){var n=[192,193,194,195,196,197,198,199];t.processJPEG=function(e,r,i,o,c,l){var f,d=this.decode.DCT_DECODE,g=null;if(typeof e=="string"||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=c||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,f=function(x){for(var N,p=256*x.charCo
114deAt(4)+x.charCodeAt(5),T=x.length,E={width:0,height:0,numcomponents:1},j=4;j<T;j+=2){if(j+=p,n.indexOf(x.charCodeAt(j+1))!==-1){N=256*x.charCodeAt(j+5)+x.charCodeAt(j+6),E={width:256*x.charCodeAt(j+7)+x.charCodeAt(j+8),height:N,numcomponents:x.charCodeAt(j+9)};break}p=256*x.charCodeAt(j+2)+x.charCodeAt(j+3)}return E}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),f.numcomponents){case 1:l=this.color_spaces.DEVICE_GRAY;break;case 4:l=this.color_spaces.DEVICE_CMYK;break;case 3:l=this.color_spaces.DEVICE_RGB}g={data:e,width:f.width,height:f.height,colorSpace:l,bitsPerComponent:8,filter:d,index:r,alias:i}}return g}}(Mt.API),Mt.API.processPNG=function(t,n,e,r){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var i,o=T5(t,{checkCrc:!0}),c=o.width,l=o.height,f=o.channels,d=o.palette,g=o.depth;i=d&&f===1?function($){for(var B=$.width,tt=$.height,L=$.data,F=$.palette,z=$.depth,U=!1,rt=[],st=[],ht=void 0,nt=!1,ft=0,At=0;At<F.length;At++){var wt=nc(F[At],4),y=wt[0],R=wt[1],M=wt[2],H=wt[3];rt.push(y,R,M),H!=null&&(H===0?(ft++,st.length<1&&st.push(At)):H<255&&(nt=!0))}if(nt||ft>1){U=!0,st=void 0;var Y=B*tt;ht=new Uint8Array(Y);for(var X=new DataView(L.buffer),at=0;at<Y;at++){var ot=jl(X,at,z),gt=nc(F[ot],4)[3];ht[at]=gt}}else ft===0&&(st=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:U?8:void 0,colorBytes:L,alphaBytes:ht,needSMask:U,palette:rt,mask:st}}(o):f===2||f===4?function($){for(var B=$.data,tt=$.width,L=$.height,F=$.channels,z=$.depth,U=F===2?"DeviceGray":"DeviceRGB",rt=F-1,st=tt*L,ht=rt,nt=st*ht,ft=1*st,At=Math.ceil(nt*z/8),wt=Math.ceil(ft*z/8),y=new Uint8Array(At),R=new Uint8Array(wt),M=new DataView(B.buffer),H=new DataView(y.buffer),Y=new DataView(R.buffer),X=!1,at=0;at<st;at++){for(var ot=at*F,gt=0;gt<ht;gt++)bf(H,jl(M,ot+gt,z),at*ht+gt,z);var xt=jl(M,ot+ht,z);xt<(1<<z)-1&&(X=!0),bf(Y,xt,1*at,z)}return{colorSpace:U,colorsPerPixel:rt,sMaskBitsPerComponent:X?z:void 0,colorBytes:y,alphaBytes:R,needSMask:X}}(o):function($){var B=$.data,tt=$.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:tt,colorsPerPixel:tt==="DeviceGray"?1:3,colorBytes:B instanceof Uint16Array?function(L){for(var F=L.length,z=new Uint8Array(2*F),U=new DataView(z.buffer,z.byteOffset,z.byteLength),rt=0;rt<F;rt++)U.setUint16(2*rt,L[rt],!1);return z}(B):B,needSMask:!1}}(o);var x,N,p,T=i,E=T.colorSpace,j=T.colorsPerPixel,k=T.sMaskBitsPerComponent,V=T.colorBytes,G=T.alphaBytes,D=T.needSMask,it=T.palette,mt=T.mask,ut=null;return r!==Mt.API.image_compression.NONE&&typeof Ul=="function"?(ut=function($){var B;switch($){case Mt.API.image_compression.FAST:B=11;break;case Mt.API.image_compression.MEDIUM:B=13;break;case Mt.API.image_compression.SLOW:B=14;break;default:B=12}return B}(r),x=this.decode.FLATE_DECODE,N="/Predictor ".concat(ut," /Colors ").concat(j," /BitsPerComponent ").concat(g," /Columns ").concat(c),t=df(V,Math.ceil(c*j*g/8),j,g,r),D&&(p=df(G,Math.ceil(c*k/8),1,k,r))):(x=void 0,N=void 0,t=V,D&&(p=G)),(this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t))&&(t=this.__addimage__.arrayBufferToBinaryString(t)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:e,data:t,index:n,filter:x,decodeParameters:N,transparency:mt,palette:it,sMask:p,predictor:ut,width:c,height:l,bitsPerComponent:g,sMaskBitsPerComponent:k,colorSpace:E}}},function(t){t.processGIF89A=function(n,e,r,i){var o=new ed(n),c=o.width,l=o.height,f=[];o.decodeAndBlitFrameRGBA(0,f);var d={data:f,width:c,height:l},g=new Bl(100).encode(d,100);return t.processJPEG.call(this,g,e,r,i)},t.processGIF87A=t.processGIF89A}(Mt.API),lr.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 t=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var n=0;n<t;n++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[n]={red:i,green:r,blue:e,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},lr.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP,n=this.width*this.height*4;this.data=new Uint8Array(n),this[t]()}catch(e){Pe.log("bit decode error:"+e)}},lr.prototype.bit1=function(){var t,n=Math.ceil(this.width/8),e=n%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,i=0;i<n;i++)for(var o=this.datav.getUint8(this.pos++,!0),c=r*this.width*4+8*i*4,l=0;l<8&&8*i+l<this.width;l++){var f=this.palette[o>>7-l&1];this.data[c+4*l]=f.blue,this.data[c+4*l+1]=f.green,this.data[c+4*l+2]=f.red,this.data[c+4*l+3]=255}e!==0&&(this.pos+=4-e)}},lr.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),n=t%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++){var o=this.datav.getUint8(this.pos++,!0),c=r*this.width*4+2*i*4,l=o>>4,f=15&o,d=this.palette[l];if(this.data[c]=d.blue,this.data[c+1]=d.green,this.data[c+2]=d.red,this.data[c+3]=255,2*i+1>=this.width)break;d=this.palette[f],this.data[c+4]=d.blue,this.data[c+4+1]=d.green,this.data[c+4+2]=d.red,this.data[c+4+3]=255}n!==0&&(this.pos+=4-n)}},lr.prototype.bit8=function(){for(var t=this.width%4,n=this.height-1;n>=0;n--){for(var e=this.bottom_up?n:this.height-1-n,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),o=e*this.width*4+4*r;if(i<this.palette.length){var c=this.palette[i];this.data[o]=c.red,this.data[o+1]=c.green,this.data[o+2]=c.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}t!==0&&(this.pos+=4-t)}},lr.prototype.bit15=function(){for(var t=this.width%3,n=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<this.width;i++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;
vendor: 5,044 bytes, line 114
114var c=(o&n)/n*255|0,l=(o>>5&n)/n*255|0,f=(o>>10&n)/n*255|0,d=o>>15?255:0,g=r*this.width*4+4*i;this.data[g]=f,this.data[g+1]=l,this.data[g+2]=c,this.data[g+3]=d}this.pos+=t}},lr.prototype.bit16=function(){for(var t=this.width%3,n=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var c=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(c&n)/n*255|0,f=(c>>5&e)/e*255|0,d=(c>>11)/n*255|0,g=i*this.width*4+4*o;this.data[g]=d,this.data[g+1]=f,this.data[g+2]=l,this.data[g+3]=255}this.pos+=t}},lr.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),c=n*this.width*4+4*e;this.data[c]=o,this.data[c+1]=i,this.data[c+2]=r,this.data[c+3]=255}this.pos+=this.width%4}},lr.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var n=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),c=this.datav.getUint8(this.pos++,!0),l=n*this.width*4+4*e;this.data[l]=o,this.data[l+1]=i,this.data[l+2]=r,this.data[l+3]=c}},lr.prototype.getData=function(){return this.data},function(t){t.processBMP=function(n,e,r,i){var o=new lr(n,!1),c=o.width,l=o.height,f={data:o.getData(),width:c,height:l},d=new Bl(100).encode(f,100);return t.processJPEG.call(this,d,e,r,i)}}(Mt.API),_f.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(n,e,r,i){var o=new _f(n),c=o.width,l=o.height,f={data:o.getData(),width:c,height:l},d=new Bl(100).encode(f,100);return t.processJPEG.call(this,d,e,r,i)}}(Mt.API),Mt.API.processRGBA=function(t,n,e){for(var r=t.data,i=r.length,o=new Uint8Array(i/4*3),c=new Uint8Array(i/4),l=0,f=0,d=0;d<i;d+=4){var g=r[d],x=r[d+1],N=r[d+2],p=r[d+3];o[l++]=g,o[l++]=x,o[l++]=N,c[f++]=p}var T=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(c),data:T,index:n,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},Mt.API.setLanguage=function(t){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:"Rh
114aeto-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"}[t]!==void 0&&(this.internal.languageSettings.languageCode=t,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},ua=Mt.API,ps=ua.getCharWidthsArray=function(t,n){var e,r,i=(n=n||{}).font||this.internal.getFont(),o=n.fontSize||this.internal.getFontSize(),c=n.charSpace||this.internal.getCharSpace(),l=n.widths?n.widths:i.metadata.Unicode.widths,f=l.fof?l.fof:1,d=n.kerning?n.kerning:i.metadata.Unicode.kerning,g=d.fof?d.fof:1,x=n.doKerning!==!1,N=0,p=t.length,T=0,E=l[0]||f,j=[];for(e=0;e<p;e++)r=t.charCodeAt(e),typeof i.metadata.widthOfString=="function"?j.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+c*(1e3/o)||0)/1e3):(N=x&&Le(d[r])==="object"&&!isNaN(parseInt(d[r][T],10))?d[r][T]/g:0,j.push((l[r]||E)/f+N)),T=r;return j},cf=ua.getStringUnitWidth=function(t,n){var e=(n=n||{}).fontSize||this.internal.getFontSize(),r=n.font||this.internal.getFont(),i=n.charSpace||this.internal.getCharSpace();return ua.processArabic&&(t=ua.processArabic(t)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(t,e,i)/e:ps.apply(this,arguments).reduce(function(o,c){return o+c},0)},ff=function(t,n,e,r){for(var i=[],o=0,c=t.length,l=0;o!==c&&l+n[o]<e;)l+=n[o],o++;i.push(t.slice(0,o));var f=o;for(l=0;o!==c;)l+n[o]>r&&(i.push(t.slice(f,o)),l=0,f=o),l+=n[o],o++;return f!==o&&i.push(t.slice(f,o)),i},uf=function(t,n,e){e||(e={});var r,i,o,c,l,f,d,g=[],x=[g],N=e.textIndent||0,p=0,T=0,E=t.split(" "),j=ps.apply(this,[" ",e])[0];if(f=e.lineIndent===-1?E[0].length+2:e.lineIndent||0){var k=Array(f).join(" "),V=[];E.map(function(D){(D=D.split(/\s*\n/)).length>1?V=V.concat(D.map(function(it,mt){return(mt&&it.length?`
115`:"")+it})):V.push(D[0])}),E=V,f=cf.apply(this,[k,e])}for(o=0,c=E.length;o<c;o++){var G=0;if(r=E[o],f&&r[0]==`
116`&&(r=r.substr(1),G=1),N+p+(T=(i=ps.apply(this,[r,e])).reduce(function(D,it){return D+it},0))>n||G){if(T>n){for(l=ff.apply(this,[r,i,n-(N+p),n]),g.push(l.shift()),g=[l.pop()];l.length;)x.push([l.shift()]);T=i.slice(r.length-(g[0]?g[0].length:0)).reduce(function(D,it){return D+it},0)}else g=[r];x.push(g),N=T+f,p=j}else g.push(r),N+=p+T,p=j}return d=f?function(D,it){return(it?k:"")+D.join(" ")}:function(D){return D.join(" ")},x.map(d)},ua.splitTextToSize=function(t,n,e){var r,i=(e=e||{}).fontSize||this.internal.getFontSize(),o=(function(g){if(g.widths&&g.kerning)return{widths:g.widths,kerning:g.kerning};var x=this.internal.getFont(g.fontName,g.fontStyle),N="Unicode";return x.metadata[N]?{widths:x.metadata[N].widths||{0:1},kerning:x.metadata[N].kerning||{}}:{font:x.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,e);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var c=1*this.internal.scaleFactor*n/i;o.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/i:0,o.lineIndent=e.lineIndent;var l,f,d=[];for(l=0,f=r.length;l<f;l++)d=d.concat(uf.apply(this,[r[l],c,o]));return d},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var n="0123456789abcdef",e="klmnopqrstuvwxyz",r={},i={},o=0;o<16;o++)r[e[o]]=n[o],i[n[o]]=e[o];var c=function(N){return"0x"+parseInt(N,10).toString(16)},l=t.__fontmetrics__.compress=function(N){var p,T,E,j,k=["{"];
116for(var V in N){if(p=N[V],isNaN(parseInt(V,10))?T="'"+V+"'":(V=parseInt(V,10),T=(T=c(V).slice(2)).slice(0,-1)+i[T.slice(-1)]),typeof p=="number")p<0?(E=c(p).slice(3),j="-"):(E=c(p).slice(2),j=""),E=j+E.slice(0,-1)+i[E.slice(-1)];else{if(Le(p)!=="object")throw new Error("Don't know what to do with value type "+Le(p)+".");E=l(p)}k.push(T+E)}return k.push("}"),k.join("")},f=t.__fontmetrics__.uncompress=function(N){if(typeof N!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,T,E,j,k={},V=1,G=k,D=[],it="",mt="",ut=N.length-1,$=1;$<ut;$+=1)(j=N[$])=="'"?p?(E=p.join(""),p=void 0):p=[]:p?p.push(j):j=="{"?(D.push([G,E]),G={},E=void 0):j=="}"?((T=D.pop())[0][T[1]]=G,E=void 0,G=T[0]):j=="-"?V=-1:E===void 0?r.hasOwnProperty(j)?(it+=r[j],E=parseInt(it,16)*V,V=1,it=""):it+=j:r.hasOwnProperty(j)?(mt+=r[j],G[E]=parseInt(mt,16)*V,V=1,E=void 0,mt=""):mt+=j;return k},d={codePages:["WinAnsiEncoding"],WinAnsiEncoding:f("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},g={Unicode:{Courier:d,"Courier-Bold":d,"Courier-BoldOblique":d,"Courier-Oblique":d,Helvetica:d,"Helvetica-Bold":d,"Helvetica-BoldOblique":d,"Helvetica-Oblique":d,"Times-Roman":d,"Times-Bold":d,"Times-BoldItalic":d,"Times-Italic":d}},x={Unicode:{"Courier-Oblique":f("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":f("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'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
116dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'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
116dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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
116dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'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}
116fv{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
116dn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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}}}")}};t.events.push(["addFont",function(N){var p=N.font,T=x.Unicode[p.postScriptName];T&&(p.metadata.Unicode={},p.metadata.Unicode.widths=T.widths,p.metadata.Unicode.kerning=T.kerning);var E=g.Unicode[p.postScriptName];E&&(p.metadata.Unicode.encoding=E,p.encoding=E.codePages[0])}])}(Mt.API),function(t){var n=function(e){for(var r=e.length,i=new Uint8Array(r),o=0;o<r;o++)i[o]=e.charCodeAt(o);return i};t.API.events.push(["addFont",function(e){var r=void 0,i=e.font,o=e.instance;if(!i.isStandardFont){if(o===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if(typeof(r=o.existsFileInVFS(i.postScriptName)===!1?o.loadFile(i.postScriptName):o.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(c,l){l=/^\x00\x01\x00\x00/.test(l)?n(l):n(vs(l)),c.metadata=t.API.TTFFont.open(l),c.metadata.Unicode=c.metadata.Unicode||{encoding:{},kerning:{},widths:[]},c.metadata.glyIdsUsed=[0]})(i,r)}}])}(Mt),Mt.API.addSvgAsImage=function(t,n,e,r,i,o,c,l){if(isNaN(n)||isNaN(e))throw Pe.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw Pe.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=r,f.height=i;var d=f.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,f.width,f.height);var g={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},x=this;return(Yt.canvg?Promise.resolve(Yt.canvg):cl(()=>import("./index.es-af9b081b.js"),["assets/index.es-af9b081b.js","assets/scripts-97a1c5b8.js","assets/preload-helper-f61836a9.js"])).catch(function(N){return Promise.reject(new Error("Could not load canvg: "+N))}).then(function(N){return N.default?N.default:N}).then(function(N){return N.fromString(d,t,g)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(N){return N.render(g)}).then(function(){x.addImage(f.toDataURL("image/jpeg",1),n,e,r,i,c,l)})},Mt.API.putTotalPages=function(t){var n,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),e=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(n,e);return this},Mt.API.viewerPreferences=function(t,n){var e;t=t||{},n=n||!1;var r,i,o,c={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}},l=Object.keys(c),f=[],d=0,g=0,x=0;function N(T,E){var j,k=!1;for(j=0;j<T.length;j+=1)T[j]===E&&(k=!0);return k}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(c)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,t==="reset"||n===!0){var p=l.length;for(x=0;x<p;x+=1)e[l[x]].value=e[l[x]].defaultValue,e[l[x]].explicitSet=!1}if(Le(t)==="object"){for(i in t)if(o=t[i],N(l,i)&&o!==void 0){if(e[i].type==="boolean"&&typeof o=="boolean")e[i].value=o;else if(e[i].type==="name"&&N(e[i].valueSet,o))e[i].value=o;else if(e[i].type==="integer"&&Number.isInteger(o))e[i].value=o;else if(e[i].type==="array"){for(d=0;d<o.length;d+=1)if(r=!0,o[d].length===1&&typeof o[d][0]=="number")f.push(String(o[d]-1));else if(o[d].length>1){for(g=0;g<o[d].length;g+=1)typeof o[d][g]!="number"&&(r=!1);r===!0&&f.push([o[d][0]-1,o[d][1]-1].join(" "))}e[i].value="["+f.join(" ")+"]"}else e[i].value=e[i].defaultValue;e[i].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var T,E=[];for(T in e)e[T].explicitSet===!0&&(e[T].type==="name"?E.push("/"+T+" /"+e[T].value):E.push("/"+T+" "+e[T].value));E.length!==0&&this.internal.write(`/ViewerPreferences
117<<
118`+E.join(`
119`)+`
120>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},function(t){var n=function(){var r='<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>',i=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),o=unescape(encodeURIComponent(r)),c=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),l=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),f=unescape(encodeURIComponent("</x:xmpmeta>")),d=o.length+c.length+l.length+i.length+f.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+d+" >>"),this.internal.write("stream"),this.internal.write(i+o+c+l+f),this.internal.write("endstream"),this.internal.write("endobj")},e=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(r,i){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:r,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",e),this.internal.events.subscribe("postPutResources",n)),this}}(Mt.API),function(t){var n=t.API,e=n.pdfEscape16=function(o,c){for(var l,f=c.metadata.Unicode.widths,d=["","0","00","000","0000"],g=[""],x=0,N=o.length;x<N;
vendor: 6,760 bytes, lines 120-144
120++x){if(l=c.metadata.characterToGlyph(o.charCodeAt(x)),c.metadata.glyIdsUsed.push(l),c.metadata.toUnicode[l]=o.charCodeAt(x),f.indexOf(l)==-1&&(f.push(l),f.push([parseInt(c.metadata.widthOfGlyph(l),10)])),l=="0")return g.join("");l=l.toString(16),g.push(d[4-l.length],l)}return g.join("")},r=function(o){var c,l,f,d,g,x,N;for(g=`/CIDInit /ProcSet findresource begin
12112 dict begin
122begincmap
123/CIDSystemInfo <<
124  /Registry (Adobe)
125  /Ordering (UCS)
126  /Supplement 0
127>> def
128/CMapName /Adobe-Identity-UCS def
129/CMapType 2 def
1301 begincodespacerange
131<0000><ffff>
132endcodespacerange`,f=[],x=0,N=(l=Object.keys(o).sort(function(p,T){return p-T})).length;x<N;x++)c=l[x],f.length>=100&&(g+=`
133`+f.length+` beginbfchar
134`+f.join(`
135`)+`
136endbfchar`,f=[]),o[c]!==void 0&&o[c]!==null&&typeof o[c].toString=="function"&&(d=("0000"+o[c].toString(16)).slice(-4),c=("0000"+(+c).toString(16)).slice(-4),f.push("<"+c+"><"+d+">"));return f.length&&(g+=`
137`+f.length+` beginbfchar
138`+f.join(`
139`)+`
140endbfchar
141`),g+`endcmap
142CMapName currentdict /CMap defineresource pop
143end
144end`};n.events.push(["putFont",function(o){(function(c){var l=c.font,f=c.out,d=c.newObject,g=c.putStream;if(l.metadata instanceof t.API.TTFFont&&l.encoding==="Identity-H"){for(var x=l.metadata.Unicode.widths,N=l.metadata.subset.encode(l.metadata.glyIdsUsed,1),p="",T=0;T<N.length;T++)p+=String.fromCharCode(N[T]);var E=d();g({data:p,addLength1:!0,objectId:E}),f("endobj");var j=d();g({data:r(l.metadata.toUnicode),addLength1:!0,objectId:j}),f("endobj");var k=d();f("<<"),f("/Type /FontDescriptor"),f("/FontName /"+pa(l.fontName)),f("/FontFile2 "+E+" 0 R"),f("/FontBBox "+t.API.PDFObject.convert(l.metadata.bbox)),f("/Flags "+l.metadata.flags),f("/StemV "+l.metadata.stemV),f("/ItalicAngle "+l.metadata.italicAngle),f("/Ascent "+l.metadata.ascender),f("/Descent "+l.metadata.decender),f("/CapHeight "+l.metadata.capHeight),f(">>"),f("endobj");var V=d();f("<<"),f("/Type /Font"),f("/BaseFont /"+pa(l.fontName)),f("/FontDescriptor "+k+" 0 R"),f("/W "+t.API.PDFObject.convert(x)),f("/CIDToGIDMap /Identity"),f("/DW 1000"),f("/Subtype /CIDFontType2"),f("/CIDSystemInfo"),f("<<"),f("/Supplement 0"),f("/Registry (Adobe)"),f("/Ordering ("+l.encoding+")"),f(">>"),f(">>"),f("endobj"),l.objectNumber=d(),f("<<"),f("/Type /Font"),f("/Subtype /Type0"),f("/ToUnicode "+j+" 0 R"),f("/BaseFont /"+pa(l.fontName)),f("/Encoding /"+l.encoding),f("/DescendantFonts ["+V+" 0 R]"),f(">>"),f("endobj"),l.isAlreadyPutted=!0}})(o)}]),n.events.push(["putFont",function(o){(function(c){var l=c.font,f=c.out,d=c.newObject,g=c.putStream;if(l.metadata instanceof t.API.TTFFont&&l.encoding==="WinAnsiEncoding"){for(var x=l.metadata.rawData,N="",p=0;p<x.length;p++)N+=String.fromCharCode(x[p]);var T=d();g({data:N,addLength1:!0,objectId:T}),f("endobj");var E=d();g({data:r(l.metadata.toUnicode),addLength1:!0,objectId:E}),f("endobj");var j=d();f("<<"),f("/Descent "+l.metadata.decender),f("/CapHeight "+l.metadata.capHeight),f("/StemV "+l.metadata.stemV),f("/Type /FontDescriptor"),f("/FontFile2 "+T+" 0 R"),f("/Flags 96"),f("/FontBBox "+t.API.PDFObject.convert(l.metadata.bbox)),f("/FontName /"+pa(l.fontName)),f("/ItalicAngle "+l.metadata.italicAngle),f("/Ascent "+l.metadata.ascender),f(">>"),f("endobj"),l.objectNumber=d();for(var k=0;k<l.metadata.hmtx.widths.length;k++)l.metadata.hmtx.widths[k]=parseInt(l.metadata.hmtx.widths[k]*(1e3/l.metadata.head.unitsPerEm));f("<</Subtype/TrueType/Type/Font/ToUnicode "+E+" 0 R/BaseFont/"+pa(l.fontName)+"/FontDescriptor "+j+" 0 R/Encoding/"+l.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(l.metadata.hmtx.widths)+">>"),f("endobj"),l.isAlreadyPutted=!0}})(o)}]);var i=function(o){var c,l=o.text||"",f=o.x,d=o.y,g=o.options||{},x=o.mutex||{},N=x.pdfEscape,p=x.activeFontKey,T=x.fonts,E=p,j="",k=0,V="",G=T[E].encoding;if(T[E].encoding!=="Identity-H")return{text:l,x:f,y:d,options:g,mutex:x};for(V=l,E=p,Array.isArray(l)&&(V=l[0]),k=0;k<V.length;k+=1)T[E].metadata.hasOwnProperty("cmap")&&(c=T[E].metadata.cmap.unicode.codeMap[V[k].charCodeAt(0)]),c||V[k].charCodeAt(0)<256&&T[E].metadata.hasOwnProperty("Unicode")?j+=V[k]:j+="";var D="";return parseInt(E.slice(1))<14||G==="WinAnsiEncoding"?D=N(j,E).split("").map(function(it){return it.charCodeAt(0).toString(16)}).join(""):G==="Identity-H"&&(D=e(j,T[E])),x.isHex=!0,{text:D,x:f,y:d,options:g,mutex:x}};n.events.push(["postProcessText",function(o){var c=o.text||"",l=[],f={text:c,x:o.x,y:o.y,options:o.options,mutex:o.mutex};if(Array.isArray(c)){var d=0;for(d=0;d<c.length;d+=1)Array.isArray(c[d])&&c[d].length===3?l.push([i(Object.assign({},f,{text:c[d][0]})).text,c[d][1],c[d][2]]):l.push(i(Object.assign({},f,{text:c[d]})).text);o.text=l}else o.text=i(Object.assign({},f,{text:c})).text}])}(Mt),function(t){var n=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(e){return n.call(this),this.internal.vFS[e]!==void 0},t.addFileToVFS=function(e,r){return n.call(this),this.internal.vFS[e]=r,this},t.getFileFromVFS=function(e){return n.call(this),this.internal.vFS[e]!==void 0?this.internal.vFS[e]:null}}(Mt.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(r){var i,o,c,l,f,d,g,x=n,N=[[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]],p=[[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]],T={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},E={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},j=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],k=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)$/),V=!1,G=0;this.__bidiEngine__={};var D=function(L){var F=L.charCodeAt(),z=F>>8,U=E[z];return U!==void 0?x[256*U+(255&F)]:z===252||z===253?"AL":k.test(z)?"L":z===8?"R":"N"},it=function(L){for(var F,z=0;z<L.length;z++){if((F=D(L.charAt(z)))==="L")return!1;if(F==="R")return!0}return!1},mt=function(L,F,z,U){var rt,st,ht,nt,ft=F[U];switch(ft){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":V=!1;break;case"N":case"AN":break;case"EN":V&&(ft="AN");break;case"AL":V=!0,ft="R";break;case"WS":case"BN":ft="N";break;case"CS":U<1||U+1>=F.length||(rt=z[U-1])!=="EN"&&rt!=="AN"||(st=F[U+1])!=="EN"&&st!=="AN"?ft="N":V&&(st="AN"),ft=st===rt?st:"N";break;case"ES":ft=(rt=U>0?z[U-1]:"B")==="EN"&&U+1<F.length&&F[U+1]==="EN"?"EN":"N";break;case"ET":if(U>0&&z[U-1]==="EN"){ft="EN";break}if(V){ft="N";break}for(ht=U+1,nt=F.length;ht<nt&&F[ht]==="ET";)ht++;ft=ht<nt&&F[ht]==="EN"?"EN":"N";break;case"NSM":if(c&&!l){for(nt=F.length,ht=U+1;ht<nt&&F[ht]==="NSM";)ht++;
144if(ht<nt){var At=L[U],wt=At>=1425&&At<=2303||At===64286;if(rt=F[ht],wt&&(rt==="R"||rt==="AL")){ft="R";break}}}ft=U<1||(rt=F[U-1])==="B"?"N":z[U-1];break;case"B":V=!1,i=!0,ft=G;break;case"S":o=!0,ft="N"}return ft},ut=function(L,F,z){var U=L.split("");return z&&$(U,z,{hiLevel:G}),U.reverse(),F&&F.reverse(),U.join("")},$=function(L,F,z){var U,rt,st,ht,nt,ft=-1,At=L.length,wt=0,y=[],R=G?p:N,M=[];for(V=!1,i=!1,o=!1,rt=0;rt<At;rt++)M[rt]=D(L[rt]);for(st=0;st<At;st++){if(nt=wt,y[st]=mt(L,M,y,st),U=240&(wt=R[nt][T[y[st]]]),wt&=15,F[st]=ht=R[wt][5],U>0)if(U===16){for(rt=ft;rt<st;rt++)F[rt]=1;ft=-1}else ft=-1;if(R[wt][6])ft===-1&&(ft=st);else if(ft>-1){for(rt=ft;rt<st;rt++)F[rt]=ht;ft=-1}M[st]==="B"&&(F[st]=0),z.hiLevel|=ht}o&&function(H,Y,X){for(var at=0;at<X;at++)if(H[at]==="S"){Y[at]=G;for(var ot=at-1;ot>=0&&H[ot]==="WS";ot--)Y[ot]=G}}(M,F,At)},B=function(L,F,z,U,rt){if(!(rt.hiLevel<L)){if(L===1&&G===1&&!i)return F.reverse(),void(z&&z.reverse());for(var st,ht,nt,ft,At=F.length,wt=0;wt<At;){if(U[wt]>=L){for(nt=wt+1;nt<At&&U[nt]>=L;)nt++;for(ft=wt,ht=nt-1;ft<ht;ft++,ht--)st=F[ft],F[ft]=F[ht],F[ht]=st,z&&(st=z[ft],z[ft]=z[ht],z[ht]=st);wt=nt}wt++}}},tt=function(L,F,z){var U=L.split(""),rt={hiLevel:G};return z||(z=[]),$(U,z,rt),function(st,ht,nt){if(nt.hiLevel!==0&&g)for(var ft,At=0;At<st.length;At++)ht[At]===1&&(ft=j.indexOf(st[At]))>=0&&(st[At]=j[ft+1])}(U,z,rt),B(2,U,F,z,rt),B(1,U,F,z,rt),U.join("")};return this.__bidiEngine__.doBidiReorder=function(L,F,z){if(function(rt,st){if(st)for(var ht=0;ht<rt.length;ht++)st[ht]=ht;l===void 0&&(l=it(rt)),d===void 0&&(d=it(rt))}(L,F),c||!f||d)if(c&&f&&l^d)G=l?1:0,L=ut(L,F,z);else if(!c&&f&&d)G=l?1:0,L=tt(L,F,z),L=ut(L,F);else if(!c||l||f||d){if(c&&!f&&l^d)L=ut(L,F),l?(G=0,L=tt(L,F,z)):(G=1,L=tt(L,F,z),L=ut(L,F));else if(c&&l&&!f&&d)G=1,L=tt(L,F,z),L=ut(L,F);else if(!c&&!f&&l^d){var U=g;l?(G=1,L=tt(L,F,z),G=0,g=!1,L=tt(L,F,z),g=U):(G=0,L=tt(L,F,z),L=ut(L,F),G=1,g=!1,L=tt(L,F,z),g=U,L=ut(L,F))}}else G=0,L=tt(L,F,z);else G=l?1:0,L=tt(L,F,z);return L}
vendor: 12,469 bytes, line 144
144,this.__bidiEngine__.setOptions=function(L){L&&(c=L.isInputVisual,f=L.isOutputVisual,l=L.isInputRtl,d=L.isOutputRtl,g=L.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var n=["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"],e=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(r){var i=r.text;r.x,r.y;var o=r.options||{};r.mutex,o.lang;var c=[];if(o.isInputVisual=typeof o.isInputVisual!="boolean"||o.isInputVisual,e.setOptions(o),Object.prototype.toString.call(i)==="[object Array]"){var l=0;for(c=[],l=0;l<i.length;l+=1)Object.prototype.toString.call(i[l])==="[object Array]"?c.push([e.doBidiReorder(i[l][0]),i[l][1],i[l][2]]):c.push([e.doBidiReorder(i[l])]);r.text=c}else r.text=e.doBidiReorder(i);e.setOptions({isInputVisual:!0})}])}(Mt),Mt.API.TTFFont=function(){function t(n){var e;if(this.rawData=n,e=this.contents=new _i(n),this.contents.pos=4,e.readString(4)==="ttcf")throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new md(this),this.registerTTF()}return t.open=function(n){return new t(n)},t.prototype.parse=function(){return this.directory=new nd(this.contents),this.head=new id(this),this.name=new hd(this),this.cmap=new Eu(this),this.toUnicode={},this.hhea=new ad(this),this.maxp=new cd(this),this.hmtx=new fd(this),this.post=new sd(this),this.os2=new od(this),this.loca=new gd(this),this.glyf=new ud(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]},t.prototype.registerTTF=function(){var n,e,r,i,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var c,l,f,d;for(d=[],c=0,l=(f=this.bbox).length;c<l;c++)n=f[c],d.push(Math.round(n*this.scaleFactor));return d}).call(this),this.stemV=0,this.post.exists?(r=255&(i=this.post.italic_angle),32768&(e=i>>16)&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):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=(o=this.familyClass)===1||o===2||o===3||o===4||o===5||o===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")},t.prototype.characterToGlyph=function(n){var e;return((e=this.cmap.unicode)!=null?e.codeMap[n]:void 0)||0},t.prototype.widthOfGlyph=function(n){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(n).advance*e},t.prototype.widthOfString=function(n,e,r){var i,o,c,l;
vendor: 12,488 bytes, line 144
144for(c=0,o=0,l=(n=""+n).length;0<=l?o<l:o>l;o=0<=l?++o:--o)i=n.charCodeAt(o),c+=this.widthOfGlyph(this.characterToGlyph(i))+r*(1e3/e)||0;return c*(e/1e3)},t.prototype.lineHeight=function(n,e){var r;return e==null&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*n},t}();var fr,_i=function(){function t(n){this.data=n??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(n){return this.data[this.pos++]=n},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(n){return this.writeByte(n>>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt32=function(){var n;return(n=this.readUInt32())>=2147483648?n-4294967296:n},t.prototype.writeInt32=function(n){return n<0&&(n+=4294967296),this.writeUInt32(n)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(n){return this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt16=function(){var n;return(n=this.readUInt16())>=32768?n-65536:n},t.prototype.writeInt16=function(n){return n<0&&(n+=65536),this.writeUInt16(n)},t.prototype.readString=function(n){var e,r;for(r=[],e=0;0<=n?e<n:e>n;e=0<=n?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(n){var e,r,i;for(i=[],e=0,r=n.length;0<=r?e<r:e>r;e=0<=r?++e:--e)i.push(this.writeByte(n.charCodeAt(e)));return i},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(n){return this.writeInt16(n)},t.prototype.readLongLong=function(){var n,e,r,i,o,c,l,f;return n=this.readByte(),e=this.readByte(),r=this.readByte(),i=this.readByte(),o=this.readByte(),c=this.readByte(),l=this.readByte(),f=this.readByte(),128&n?-1*(72057594037927940*(255^n)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^i)+16777216*(255^o)+65536*(255^c)+256*(255^l)+(255^f)+1):72057594037927940*n+281474976710656*e+1099511627776*r+4294967296*i+16777216*o+65536*c+256*l+f},t.prototype.writeLongLong=function(n){var e,r;return e=Math.floor(n/4294967296),r=4294967295&n,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(n){return this.writeInt32(n)},t.prototype.read=function(n){var e,r;for(e=[],r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(n){var e,r,i,o;for(o=[],r=0,i=n.length;r<i;r++)e=n[r],o.push(this.writeByte(e));return o},t}(),nd=function(){var t;function n(e){var r,i,o;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},i=0,o=this.tableCount;0<=o?i<o:i>o;i=0<=o?++i:--i)r={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[r.tag]=r}return n.prototype.encode=function(e){var r,i,o,c,l,f,d,g,x,N,p,T,E;for(E in p=Object.keys(e).length,f=Math.log(2),x=16*Math.floor(Math.log(p)/f),c=Math.floor(x/f),g=16*p-x,(i=new _i).writeInt(this.scalarType),i.writeShort(p),i.writeShort(x),i.writeShort(c),i.writeShort(g),o=16*p,d=i.pos+o,l=null,T=[],e)for(N=e[E],i.writeString(E),i.writeInt(t(N)),i.writeInt(d),i.writeInt(N.length),T=T.concat(N),E==="head"&&(l=d),d+=N.length;d%4;)T.push(0),d++;return i.write(T),r=2981146554-t(i.data),i.pos=l+8,i.writeUInt32(r),i.data},t=function(e){var r,i,o,c;for(e=Iu.call(e);e.length%4;)e.push(0);for(o=new _i(e),i=0,r=0,c=e.length;r<c;r=r+=4)i+=o.readUInt32();return 4294967295&i},n}(),rd={}.hasOwnProperty,kr=function(t,n){for(var e in n)rd.call(n,e)&&(t[e]=n[e]);function r(){this.constructor=t}return r.prototype=n.prototype,t.prototype=new r,t.__super__=n.prototype,t};fr=function(){function t(n){var e;this.file=n,e=this.file.directory.tables[this.tag],this.exists=!!e,e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return t.prototype.parse=function(){},t.prototype.encode=function(){},t.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},t}();var id=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return kr(t,fr),t.prototype.tag="head",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.revision=n.readInt(),this.checkSumAdjustment=n.readInt(),this.magicNumber=n.readInt(),this.flags=n.readShort(),this.unitsPerEm=n.readShort(),this.created=n.readLongLong(),this.modified=n.readLongLong(),this.xMin=n.readShort(),this.yMin=n.readShort(),this.xMax=n.readShort(),this.yMax=n.readShort(),this.macStyle=n.readShort(),this.lowestRecPPEM=n.readShort(),this.fontDirectionHint=n.readShort(),this.indexToLocFormat=n.readShort(),this.glyphDataFormat=n.readShort()},t.prototype.encode=function(n){var e;return(e=new _i).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(n),e.writeShort(this.glyphDataFormat),e.data},t}(),yf=function(){function t(n,e){var r,i,o,c,l,f,d,g,x,N,p,T,E,j,k,V,G;switch(this.platformID=n.readUInt16(),this.encodingID=n.readShort(),this.offset=e+n.readInt(),x=n.pos,n.pos=this.offset,this.format=n.readUInt16(),this.length=n.readUInt16(),this.language=n.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]=n.readByte();break;case 4:for(p=n.readUInt16(),N=p/2,n.pos+=6,o=function(){var D,it;for(it=[],f=D=0;0<=N?D<N:D>N;f=0<=N?++D:--D)it.push(n.readUInt16());return it}(),n.pos+=2,E=function(){var D,it;for(it=[],f=D=0;0<=N?D<N:D>N;f=0<=N?++D:--D)it.push(n.readUInt16());return it}(),d=function(){var D,it;for(it=[],f=D=0;0<=N?D<N:D>N;f=0<=N?++D:--D)it.push(n.readUInt16());return it}(),g=function(){var D,it;for(it=[],f=D=0;0<=N?D<N:D>N;f=0<=N?++D:--D)it.push(n.readUInt16());return it}(),i=(this.length-n.pos+this.offset)/2,l=function(){var D,it;for(it=[],f=D=0;0<=i?D<i:D>i;f=0<=i?++D:--D)it.push(n.readUInt16());return it}(),f=k=0,G=o.length;k<G;f=++k)for(j=o[f],r=V=T=E[f];T<=j?V<=j:V>=j;r=T<=j?++V:--V)g[f]===0?c=r+d[f]:(c=l[g[f]/2+(r-T)-(N-f)]||0)!==0&&(c+=d[f]),this.codeMap[r]=65535&c}n.pos=x}return t.encode=function(n,e){var r,i,o,c,l,f,d,g,x,N,p,T,E,j,k,V,G,D,it,mt,ut,$,B,tt,L,F,z,U,rt,st,ht,nt,ft,At,wt,y,R,M,H,Y,X,at,ot,gt,xt,kt;switch(U=new _i,c=Object.keys(n).sort(function(St,Dt){return St-Dt}),e){case"macroman":for(E=0,j=function(){var St=[];for(T=0;T<256;++T)St.push(0);return St}(),V={0:0},o={},rt=0,ft=c.length;rt<ft;rt++)V[ot=n[i=c[rt]]]==null&&(V[ot]=++E),o[i]={old:n[i],new:V[n[i]]},j[i]=V[n[i]];return U.writeUInt16(1),U.writeUInt16(0),U.writeUInt32(12),U.writeUInt16(0),U.writeUInt16(262),U.writeUInt16(0),U.write(j),{charMap:o,subtable:U.data,maxGlyphID:E+1};case"unicode":for(F=[],x=[],G=0,V={},r={},k=d=null,st=0,At=c.length;st<At;st++)V[it=n[i=c[st]]]==null&&(V[it]=++G),r[i]={old:it,new:V[it]},l=V[it]-i,k!=null&&l===d||(k&&x.push(k),F.push(i),d=l),k=i;for(k&&x.push(k),x.push(65535),F.push(65535),tt=2*(B=F.length),$=2*Math.pow(Math.log(B)/Math.LN2,2),N=Math.log($/2)/Math.LN2,ut=2*B-$,f=[],mt=[],p=[],T=ht=0,wt=F.length;ht<wt;T=++ht){if(L=F[T],g=x[T],L===65535){f.push(0),mt.push(0);break}if(L-(z=r[L].new)>=32768)for(f.push(0),mt.push(2*(p.length+B-T)),i=nt=L;L<=g?nt<=g:nt>=g;i=L<=g?++nt:--nt)p.push(r[i].new);else f.push(z-L),mt.push(0)}for(U.writeUInt16(3),U.writeUInt16(1),U.writeUInt32(12),U.writeUInt16(4),U.writeUInt16(16+8*B+2*p.length),U.writeUInt16(0),U.writeUInt16(tt),U.writeUInt16($),U.writeUInt16(N),U.writeUInt16(ut),X=0,y=x.length;X<y;X++)i=x[X],U.writeUInt16(i);for(U.writeUInt16(0),at=0,R=F.length;at<R;at++)i=F[at],U.writeUInt16(i);for(gt=0,M=f.length;gt<M;gt++)l=f[gt],U.writeUInt16(l);for(xt=0,H=mt.length;xt<H;xt++)D=mt[xt],U.writeUInt16(D);for(kt=0,Y=p.length;kt<Y;kt++)E=p[kt],U.writeUInt16(E);return{charMap:r,subtable:U.data,maxGlyphID:G+1}}},t}(),Eu=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return kr(t,fr),t.prototype.tag="cmap",t.prototype.parse=function(n){var e,r,i;for(n.pos=this.offset,this.version=n.readUInt16(),i=n.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=i?r<i:r>i;r=0<=i?++r:--r)e=new yf(n,this.offset),this.tables.push(e),e.isUnicode&&this.unicode==null&&(this.unicode=e);return!0},t.encode=function(n,e){var r,i;return e==null&&(e="macroman"),r=yf.encode(n,e),(i=new _i).writeUInt16(0),i.writeUInt16(1),r.table=i.data.concat(r.subtable),r},t}(),ad=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return kr(t,fr),t.prototype.tag="hhea",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.ascender=n.readShort(),this.decender=n.readShort(),this.lineGap=n.readShort(),this.advanceWidthMax=n.readShort(),this.minLeftSideBearing=n.readShort(),this.minRightSideBearing=n.readShort(),this.xMaxExtent=n.readShort(),this.caretSlopeRise=n.readShort(),this.caretSlopeRun=n.readShort(),this.caretOffset=n.readShort(),n.pos+=8,this.metricDataFormat=n.readShort(),this.numberOfMetrics=n.readUInt16()},t}(),od=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return kr(t,fr),t.prototype.tag="OS/2",t.prototype.parse=function(n){if(n.pos=this.offset,this.version=n.readUInt16(),this.averageCharWidth=n.readShort(),this.weightClass=n.readUInt16(),this.widthClass=n.readUInt16(),this.type=n.readShort(),this.ySubscriptXSize=n.readShort(),this.ySubscriptYSize=n.readShort(),this.ySubscriptXOffset=n.readShort(),this.ySubscriptYOffset=n.readShort(),this.ySuperscriptXSize=n.readShort(),this.ySuperscriptYSize=n.readShort(),this.ySuperscriptXOffset=n.readShort(),this.ySuperscriptYOffset=n.readShort(),this.yStrikeoutSize=n.readShort(),this.yStrikeoutPosition=n.readShort(),this.familyClass=n.readShort(),this.panose=function(){var e,r;for(r=[],e=0;e<10;++e)r.push(n.readByte());return r}(),this.charRange=function(){var e,r;for(r=[],e=0;e<4;++e)r.push(n.readInt());return r}(),this.vendorID=n.readString(4),this.selection=n.readShort(),this.firstCharIndex=n.readShort(),this.lastCharIndex=n.readShort(),this.version>0&&(this.ascent=n.readShort(),this.descent=n.readShort(),this.lineGap=n.readShort(),this.winAscent=n.readShort(),this.winDescent=n.readShort(),this.codePageRange=function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(n.readInt());return r}(),this.version>1))return this.xHeight=n.readShort(),this.capHeight=n.readShort(),this.defaultChar=n.readShort(),this.breakChar=n.readShort(),this.maxContext=n.readShort()},t}(),sd=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return kr(t,fr),t.prototype.tag="post",t.prototype.parse=function(n){var e,r,i;switch(n.pos=this.offset,this.format=n.readInt(),this.italicAngle=n.readInt(),this.underlinePosition=n.readShort(),this.underlineThickness=n.readShort(),this.isFixedPitch=n.readInt(),this.minMemType42=n.readInt(),this.maxMemType42=n.readInt(),this.minMemType1=n.readInt(),this.maxMemType1=n.readInt(),this.format){case 65536:case 196608:break;case 131072:var o;for(r=n.readUInt16(),this.glyphNameIndex=[],o=0;0<=r?o<r:o>r;o=0<=r?++o:--o)this.glyphNameIndex.push(n.readUInt16());for(this.names=[],i=[];n.pos<this.offset+this.length;)e=n.readByte(),i.push(this.names.push(n.readString(e)));return i;case 151552:return r=n.readUInt16(),this.offsets=n.read(r);case 262144:return this.map=(function(){var c,l,f;for(f=[],o=c=0,l=this.file.maxp.numGlyphs;0<=l?c<l:c>l;o=0<=l?++c:--c)f.push(n.readUInt32());return f}).call(this)}},t}(),ld=function(t,n){this.raw=t,this.length=t.length,this.platformID=n.platformID,this.encodingID=n.encodingID,this.languageID=n.languageID},hd=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return kr(t,fr),t.prototype.tag="name",t.prototype.parse=function(n){var e,r,i,o,
144c,l,f,d,g,x,N;for(n.pos=this.offset,n.readShort(),e=n.readShort(),l=n.readShort(),r=[],o=0;0<=e?o<e:o>e;o=0<=e?++o:--o)r.push({platformID:n.readShort(),encodingID:n.readShort(),languageID:n.readShort(),nameID:n.readShort(),length:n.readShort(),offset:this.offset+l+n.readShort()});for(f={},o=g=0,x=r.length;g<x;o=++g)i=r[o],n.pos=i.offset,d=n.readString(i.length),c=new ld(d,i),f[N=i.nameID]==null&&(f[N]=[]),f[i.nameID].push(c);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]},t}(),cd=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return kr(t,fr),t.prototype.tag="maxp",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.numGlyphs=n.readUInt16(),this.maxPoints=n.readUInt16(),this.maxContours=n.readUInt16(),this.maxCompositePoints=n.readUInt16(),this.maxComponentContours=n.readUInt16(),this.maxZones=n.readUInt16(),this.maxTwilightPoints=n.readUInt16(),this.maxStorage=n.readUInt16(),this.maxFunctionDefs=n.readUInt16(),this.maxInstructionDefs=n.readUInt16(),this.maxStackElements=n.readUInt16(),this.maxSizeOfInstructions=n.readUInt16(),this.maxComponentElements=n.readUInt16(),this.maxComponentDepth=n.readUInt16()},t}(),fd=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return kr(t,fr),t.prototype.tag="hmtx",t.prototype.parse=function(n){var e,r,i,o,c,l,f;for(n.pos=this.offset,this.metrics=[],e=0,l=this.file.hhea.numberOfMetrics;0<=l?e<l:e>l;e=0<=l?++e:--e)this.metrics.push({advance:n.readUInt16(),lsb:n.readInt16()});for(i=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var d,g;for(g=[],e=d=0;0<=i?d<i:d>i;e=0<=i?++d:--d)g.push(n.readInt16());return g}(),this.widths=(function(){var d,g,x,N;for(N=[],d=0,g=(x=this.metrics).length;d<g;d++)o=x[d],N.push(o.advance);return N}).call(this),r=this.widths[this.widths.length-1],f=[],e=c=0;0<=i?c<i:c>i;e=0<=i?++c:--c)f.push(this.widths.push(r));return f},t.prototype.forGlyph=function(n){return n in this.metrics?this.metrics[n]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[n-this.metrics.length]}},t}(),Iu=[].slice,ud=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return kr(t,fr),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(n){var e,r,i,o,c,l,f,d,g,x;return n in this.cache?this.cache[n]:(o=this.file.loca,e=this.file.contents,r=o.indexOf(n),(i=o.lengthOf(n))===0?this.cache[n]=null:(e.pos=this.offset+r,c=(l=new _i(e.read(i))).readShort(),d=l.readShort(),x=l.readShort(),f=l.readShort(),g=l.readShort(),this.cache[n]=c===-1?new pd(l,d,x,f,g):new dd(l,c,d,x,f,g),this.cache[n]))},t.prototype.encode=function(n,e,r){var i,o,c,l,f;for(c=[],o=[],l=0,f=e.length;l<f;l++)i=n[e[l]],o.push(c.length),i&&(c=c.concat(i.encode(r)));return o.push(c.length),{table:c,offsets:o}},t}(),dd=function(){function t(n,e,r,i,o,c){this.raw=n,this.numberOfContours=e,this.xMin=r,this.yMin=i,this.xMax=o,this.yMax=c,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),pd=function(){function t(n,e,r,i,o){var c,l;for(this.raw=n,this.xMin=e,this.yMin=r,this.xMax=i,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],c=this.raw;l=c.readShort(),this.glyphOffsets.push(c.pos),this.glyphIDs.push(c.readUInt16()),32&l;)c.pos+=1&l?4:2,128&l?c.pos+=8:64&l?c.pos+=4:8&l&&(c.pos+=2)}return t.prototype.encode=function(){var n,e,r;for(e=new _i(Iu.call(this.raw.data)),n=0,r=this.glyphIDs.length;n<r;++n)e.pos=this.glyphOffsets[n];return e.data},t}(),gd=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return kr(t,fr),t.prototype.tag="loca",t.prototype.parse=function(n){var e,r;return n.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=e===0?(function(){var i,o;for(o=[],r=0,i=this.length;r<i;r+=2)o.push(2*n.readUInt16());return o}
144).call(this):(function(){var i,o;for(o=[],r=0,i=this.length;r<i;r+=4)o.push(n.readUInt32());return o}).call(this)},t.prototype.indexOf=function(n){return this.offsets[n]},t.prototype.lengthOf=function(n){return this.offsets[n+1]-this.offsets[n]},t.prototype.encode=function(n,e){for(var r=new Uint32Array(this.offsets.length),i=0,o=0,c=0;c<r.length;++c)if(r[c]=i,o<e.length&&e[o]==c){++o,r[c]=i;var l=this.offsets[c],f=this.offsets[c+1]-l;f>0&&(i+=f)}for(var d=new Array(4*r.length),g=0;g<r.length;++g)d[4*g+3]=255&r[g],d[4*g+2]=(65280&r[g])>>8,d[4*g+1]=(16711680&r[g])>>16,d[4*g]=(4278190080&r[g])>>24;return d},t}(),md=function(){function t(n){this.font=n,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var n,e,r,i,o;for(e in i=this.font.cmap.tables[0].codeMap,n={},o=this.subset)r=o[e],n[e]=i[r];return n},t.prototype.glyphsFor=function(n){var e,r,i,o,c,l,f;for(i={},c=0,l=n.length;c<l;c++)i[o=n[c]]=this.font.glyf.glyphFor(o);for(o in e=[],i)(r=i[o])!=null&&r.compound&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(o in f=this.glyphsFor(e))r=f[o],i[o]=r;return i},t.prototype.encode=function(n,e){var r,i,o,c,l,f,d,g,x,N,p,T,E,j,k;for(i in r=Eu.encode(this.generateCmap(),"unicode"),c=this.glyphsFor(n),p={0:0},k=r.charMap)p[(f=k[i]).old]=f.new;for(T in N=r.maxGlyphID,c)T in p||(p[T]=N++);return g=function(V){var G,D;for(G in D={},V)D[V[G]]=G;return D}(p),x=Object.keys(g).sort(function(V,G){return V-G}),E=function(){var V,G,D;for(D=[],V=0,G=x.length;V<G;V++)l=x[V],D.push(g[l]);return D}(),o=this.font.glyf.encode(c,E,p),d=this.font.loca.encode(o.offsets,E),j={cmap:this.font.cmap.raw(),glyf:o.table,loca:d,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(e)},this.font.os2.exists&&(j["OS/2"]=this.font.os2.raw()),this.font.directory.encode(j)},t}();Mt.API.PDFObject=function(){var t;function n(){}return t=function(e,r){return(Array(r+1).join("0")+e).slice(-r)},n.convert=function(e){var r,i,o,c;if(Array.isArray(e))return"["+function(){var l,f,d;for(d=[],l=0,f=e.length;l<f;l++)r=e[l],d.push(n.convert(r));return d}().join(" ")+"]";if(typeof e=="string")return"/"+e;if(e!=null&&e.isString)return"("+e+")";if(e instanceof Date)return"(D:"+t(e.getUTCFullYear(),4)+t(e.getUTCMonth(),2)+t(e.getUTCDate(),2)+t(e.getUTCHours(),2)+t(e.getUTCMinutes(),2)+t(e.getUTCSeconds(),2)+"Z)";if({}.toString.call(e)==="[object Object]"){for(i in o=["<<"],e)c=e[i],o.push("/"+i+" "+n.convert(c));return o.push(">>"),o.join(`
145`)}return""+e},n}();class vd{constructor(){this.btnDoc=document.querySelector(".js-download-doc"),this.btnPdf=document.querySelector(".js-download-pdf")}init(){this.btnDoc&&this.downloadDOC(this.btnDoc),this.btnPdf&&this.downloadPDF(this.btnPdf)}downloadDOC(n){n.addEventListener("click",()=>{const e=n.dataset.url;if(e&&e!=="#"){const r=window.open(e,"_blank");r&&r.focus()}})}downloadPDF(n){n.addEventListener("click",()=>{const e=n.dataset.url;if(e&&e!=="#"){const r=window.open(e,"_blank");r&&r.focus()}else{const r=new Mt({orientation:"landscape",unit:"pt"}),i=document.getElementById("main-content");r.html(i,{callback:o=>{o.save(`${n.dataset.title}.pdf`)},autoPaging:"slice",html2canvas:{scale:.5}})}})}}const xd=Object.freeze(Object.defineProperty({__proto__:null,default:vd},Symbol.toStringTag,{value:"Module"}));export{Le as _,xd as f};

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.