vendor: 6,633 bytes, line 1
1import{a as o2}from"./chunk-G62OYHY7.js";import{a as Te}from"./chunk-FK6H3RFT.js";import{m as jf}from"./chunk-TWTYG4QI.js";import{a as Df}from"./chunk-EJM2MQO6.js";import{Ba as zs,Ma as Of,Oa as cc,m as Pf,n as Ef,o as If,p as Mf,u as Tf,va as Bf,w as Ff}from"./chunk-NGWGOBAT.js";import"./chunk-HGILL6HD.js";import{a as Cf}from"./chunk-MJCXKM4L.js";import"./chunk-JJC5G4BA.js";import"./chunk-O7JCEENH.js";import"./chunk-H3CX6FM7.js";import"./chunk-KM4JZ4GP.js";import"./chunk-FOHGUKBY.js";import"./chunk-OM7OYEMZ.js";import{a as kf}from"./chunk-4WAOXYP5.js";import{V as Rs,X as _f,ba as xf,oa as Af,ta as Lf,ua as Nf}from"./chunk-VFNYKEY3.js";import{b as Sf}from"./chunk-WPDKC2FY.js";import"./chunk-S2CQIMTP.js";import"./chunk-RCY4PYVR.js";import{Kb as yf,Ra as pf,Sa as gf,Ua as lc,Wa as mf,Xa as vf,Ya as Ds,d as Bs,e as Os,l as ff,lb as js,mb as bf,n as uf,s as df,vb as wf}from"./chunk-5VZI4653.js";import{Cb as Es,Db as Is,Dc as af,Fc as of,Hc as gn,Ib as Ie,Ic as sf,Jc as wi,Kc as oc,Mc as Ms,Nc as Ts,Oc as Fs,Vc as lf,Wb as ef,Wc as cf,Xc as sc,ba as _r,bd as ue,cc as Ot,cd as ye,db as Ve,dc as Yt,dd as Ta,ec as Xt,f as Qh,fc as Ae,gd as hf,ja as Cs,jb as Tt,jc as nf,ka as Ps,kc as rf,mc as ac,ob as rc,rc as xr,tc as He,ua as Ia,va as Ma,wb as bi,ya as tf}from"./chunk-BWTHOZTY.js";import"./chunk-HX4SWUFH.js";import{a as ic,b as Jh,g as a2}from"./chunk-QBUHZOWM.js";var Rf={MAX_NUMBER_OF_BILLING_HISTORY_ENTRIES_FOR_PAGE:10};var yi=Uint8Array,Qn=Uint16Array,pc=Int32Array,gc=new yi([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]),mc=new yi([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]),zf=new yi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),Wf=function(t,n){for(var e=new Qn(31),i=0;i<31;++i)e[i]=n+=1<<t[i-1];for(var r=new pc(e[30]),i=1;i<30;++i)for(var o=e[i];o<e[i+1];++o)r[o]=o-e[i]<<5|i;return{b:e,r}},Gf=Wf(gc,2),s2=Gf.b,fc=Gf.r;s2[28]=258,fc[258]=28;var Vf=Wf(mc,0),Zg=Vf.b,Uf=Vf.r,uc=new Qn(32768);for(Ne=0;Ne<32768;++Ne)nr=(Ne&43690)>>1|(Ne&21845)<<1,nr=(nr&52428)>>2|(nr&13107)<<2,nr=(nr&61680)>>4|(nr&3855)<<4,uc[Ne]=((nr&65280)>>8|(nr&255)<<8)>>1;var nr,Ne,No=function(t,n,e){for(var i=t.length,r=0,o=new Qn(n);r<i;++r)t[r]&&++o[t[r]-1];var f=new Qn(n);for(r=1;r<n;++r)f[r]=f[r-1]+o[r-1]<<1;var l;if(e){l=new Qn(1<<n);var c=15-n;for(r=0;r<i;++r)if(t[r])for(var d=r<<4|t[r],g=n-t[r],_=f[t[r]-1]++<<g,A=_|(1<<g)-1;_<=A;++_)l[uc[_]>>c]=d}else for(l=new Qn(i),r=0;r<i;++r)t[r]&&(l[r]=uc[f[t[r]-1]++]>>15-t[r]);return l},Yr=new yi(288);for(Ne=0;Ne<144;++Ne)Yr[Ne]=8;var Ne;for(Ne=144;Ne<256;++Ne)Yr[Ne]=9;var Ne;for(Ne=256;Ne<280;++Ne)Yr[Ne]=7;var Ne;for(Ne=280;Ne<288;++Ne)Yr[Ne]=8;var Ne,Us=new yi(32);for(Ne=0;Ne<32;++Ne)Us[Ne]=5;var Ne,l2=No(Yr,9,0);var c2=No(Us,5,0);var Zf=function(t){return(t+7)/8|0},h2=function(t,n,e){return(n==null||n<0)&&(n=0),(e==null||e>t.length)&&(e=t.length),new yi(t.subarray(n,e))};var ir=function(t,n,e){e<<=n&7;var i=n/8|0;t[i]|=e,t[i+1]|=e>>8},Ao=function(t,n,e){e<<=n&7;var i=n/8|0;t[i]|=e,t[i+1]|=e>>8,t[i+2]|=e>>16},hc=function(t,n){for(var e=[],i=0;i<t.length;++i)t[i]&&e.push({s:i,f:t[i]});var r=e.length,o=e.slice();if(!r)return{t:Yf,l:0};if(r==1){var f=new yi(e[0].s+1);return f[e[0].s]=1,{t:f,l:1}}e.sort(function(rt,vt){return rt.f-vt.f}),e.push({s:-1,f:25001});var l=e[0],c=e[1],d=0,g=1,_=2;for(e[0]={s:-1,f:l.f+c.f,l,r:c};g!=r-1;)l=e[e[d].f<e[_].f?d++:_++],c=e[d!=g&&e[d].f<e[_].f?d++:_++],e[g++]={s:-1,f:l.f+c.f,l,r:c};for(var A=o[0].s,i=1;i<r;++i)o[i].s>A&&(A=o[i].s);var p=new Qn(A+1),E=dc(e[g-1],p,0);if(E>n){var i=0,I=0,O=E-n,k=1<<O;for(o.sort(function(vt,dt){return p[dt.s]-p[vt.s]||vt.f-dt.f});i<r;++i){var G=o[i].s;if(p[G]>n)I+=k-(1<<E-p[G]),p[G]=n;else break}for(I>>=O;I>0;){var V=o[i].s;p[V]<n?I-=1<<n-p[V]++-1:++i}for(;i>=0&&I;--i){var z=o[i].s;p[z]==n&&(--p[z],++I)}E=n}return{t:new yi(p),l:E}},dc=function(t,n,e){return t.s==-1?Math.max(dc(t.l,n,e+1),dc(t.r,n,e+1)):n[t.s]=e},qf=function(t){for(var n=t.length;n&&!t[--n];);for(var e=new Qn(++n),i=0,r=t[0],o=1,f=function(c){e[i++]=c},l=1;l<=n;++l)if(t[l]==r&&l!=n)++o;else{if(!r&&o>2){for(;o>138;o-=138)f(32754);o>2&&(f(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(f(r),--o;o>6;o-=6)f(8304);o>2&&(f(o-3<<5|8208),o=0)}for(;o--;)f(r);o=1,r=t[l]}return{c:e.subarray(0,i),n}},Lo=function(t,n){for(var e=0,i=0;i<n.length;++i)e+=t[i]*n[i];return e},$f=function(t,n,e){var i=e.length,r=Zf(n+2);t[r]=i&255,t[r+1]=i>>8,t[r+2]=t[r]^255,t[r+3]=t[r+1]^255;for(var o=0;o<i;++o)t[r+o+4]=e[o];return(r+4+i)*8},Hf=function(t,n,e,i,r,o,f,l,c,d,g){ir(n,g++,e),++r[256];for(var _=hc(r,15),A=_.t,p=_.l,E=hc(o,15),I=E.t,O=E.l,k=qf(A),G=k.c,V=k.n,z=qf(I),rt=z.c,vt=z.n,dt=new Qn(19),X=0;X<G.length;++X)++dt[G[X]&31];for(var X=0;X<rt.length;++X)++dt[rt[X]&31];for(var D=hc(dt,7),tt=D.t,N=D.l,F=19;F>4&&!tt[zf[F-1]];--F);var q=d+5<<3,U=Lo(r,Yr)+Lo(o,Us)+f,it=Lo(r,A)+Lo(o,I)+f+14+3*F+Lo(dt,tt)+2*dt[16]+3*dt[17]+7*dt[18];if(c>=0&&q<=U&&q<=it)return $f(n,g,t.subarray(c,c+d));var st,ht,nt,ut;if(ir(n,g,1+(it<U)),g+=2,it<U){st=No(A,p,0),ht=A,nt=No(I,O,0),ut=I;var At=No(tt,N,0);ir(n,g,V-257),ir(n,g+5,vt-1),ir(n,g+10,F-4),g+=14;for(var X=0;X<F;++X)ir(n,g+3*X,tt[zf[X]]);g+=3*F;for(var wt=[G,rt],x=0;x<2;++x)for(var B=wt[x],X=0;X<B.length;++X){var j=B[X]&31;ir(n,g,At[j]),g+=tt[j],j>15&&(ir(n,g,B[X]>>5&127),g+=B[X]>>12)}}else st=l2,ht=Yr,nt=c2,ut=Us;for(var X=0;X<l;++X){var H=i[X];if(H>255){var j=H>>18&31;Ao(n,g,st[j+257]),g+=ht[j+257],j>7&&(ir(n,g,H>>23&31),g+=gc[j]);var $=H&31;Ao(n,g,nt[$]),g+=ut[$],$>3&&(Ao(n,g,H>>5&8191),g+=mc[$])}else Ao(n,g,st[H]),g+=ht[H]}return Ao(n,g,st[256]),g+ht[256]},f2=new pc([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Yf=new yi(0),u2=function(t,n,e,i,r,o){var f=o.z||t.length,l=new yi(i+f+5*(1+Math.ceil(f/7e3))+r),c=l.subarray(i,l.length-r),d=o.l,g=(o.r||0)&7;if(n){g&&(c[0]=o.r>>3);for(var _=f2[n-1],A=_>>13,p=_&8191,E=(1<<e)-1,I=o.p||new Qn(32768),O=o.h||new Qn(E+1),k=Math.ceil(e/3),G=2*k,V=function(Ut){return(t[Ut]^t[Ut+1]<<k^t[Ut+2]<<G)&E},z=new pc(25e3),rt=new Qn(288),vt=new Qn(32),dt=0,X=0,D=o.i||0,tt=0,N=o.w||0,F=0;D+2<f;++D){var q=V(D),U=D&32767,it=O[q];if(I[U]=it,O[q]=U,N<=D){var st=f-D;if((dt>7e3||tt>24576)&&(st>423||!d)){g=Hf(t,c,0,z,rt,vt,X,tt,F,D-F,g),tt=dt=X=0,F=D;for(var ht=0;ht<286;++ht)rt[ht]=0;for(var ht=0;ht<30;++ht)vt[ht]=0}var nt=2,ut=0,At=p,wt=U-it&32767;if(st>2&&q==V(D-wt))for(var x=Math.min(A,st)-1,B=Math.min(32767,D),j=Math.min(258,st);wt<=B&&--At&&U!=it;){if(t[D+nt]==t[D+nt-wt]){for(var H=0;H<j&&t[D+H]==t[D+H-wt];++H);if(H>nt){if(nt=H,ut=wt,H>x)break;for(var $=Math.min(wt,H-2),J=0,ht=0;ht<$;++ht){var at=D-wt+ht&32767,ot=I[at],gt=at-ot&32767;gt>J&&(J=gt,it=at)}
vendor: 9,466 bytes, lines 1-2
1}}U=it,it=I[U],wt+=U-it&32767}if(ut){z[tt++]=268435456|fc[nt]<<18|Uf[ut];var xt=fc[nt]&31,kt=Uf[ut]&31;X+=gc[xt]+mc[kt],++rt[257+xt],++vt[kt],N=D+nt,++dt}else z[tt++]=t[D],++rt[t[D]]}}for(D=Math.max(D,N);D<f;++D)z[tt++]=t[D],++rt[t[D]];g=Hf(t,c,d,z,rt,vt,X,tt,F,D-F,g),d||(o.r=g&7|c[g/8|0]<<3,g-=7,o.h=O,o.p=I,o.i=D,o.w=N)}else{for(var D=o.w||0;D<f+d;D+=65535){var St=D+65535;St>=f&&(c[g/8|0]=d,St=f),g=$f(c,g+1,t.subarray(D,St))}o.i=f}return h2(l,0,i+Zf(g)+r)};var Xf=function(){var t=1,n=0;return{p:function(e){for(var i=t,r=n,o=e.length|0,f=0;f!=o;){for(var l=Math.min(f+2655,o);f<l;++f)r+=i+=e[f];i=(i&65535)+15*(i>>16),r=(r&65535)+15*(r>>16)}t=i,n=r},d:function(){return t%=65521,n%=65521,(t&255)<<24|(t&65280)<<8|(n&255)<<8|n>>8}}},d2=function(t,n,e,i,r){if(!r&&(r={l:1},n.dictionary)){var o=n.dictionary.subarray(-32768),f=new yi(o.length+t.length);f.set(o),f.set(t,o.length),t=f,r.w=o.length}return u2(t,n.level==null?6:n.level,n.mem==null?r.l?Math.ceil(Math.max(8,Math.min(13,Math.log(t.length)))*1.5):20:12+n.mem,e,i,r)};var Kf=function(t,n,e){for(;e;++n)t[n]=e,e>>>=8};var p2=function(t,n){var e=n.level,i=e==0?0:e<6?1:e==9?3:2;if(t[0]=120,t[1]=i<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var r=Xf();r.p(n.dictionary),Kf(t,2,r.d())}};function qs(t,n){n||(n={});var e=Xf();e.p(t);var i=d2(t,n,n.dictionary?6:2,4);return p2(i,n),Kf(i,i.length-4,e.d()),i}var g2=typeof TextDecoder<"u"&&new TextDecoder,m2=0;try{g2.decode(Yf,{stream:!0}),m2=1}catch{}function Jf(t){if(Array.isArray(t))return t}function Qf(t,n){var e=t==null?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(e!=null){var i,r,o,f,l=[],c=!0,d=!1;try{if(o=(e=e.call(t)).next,n===0){if(Object(e)!==e)return;c=!1}else for(;!(c=(i=o.call(e)).done)&&(l.push(i.value),l.length!==n);c=!0);}catch(g){d=!0,r=g}finally{try{if(!c&&e.return!=null&&(f=e.return(),Object(f)!==f))return}finally{if(d)throw r}}return l}}function vc(t,n){(n==null||n>t.length)&&(n=t.length);for(var e=0,i=Array(n);e<n;e++)i[e]=t[e];return i}function tu(t,n){if(t){if(typeof t=="string")return vc(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)?vc(t,n):void 0}}function eu(){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 bc(t,n){return Jf(t)||Qf(t,n)||tu(t,n)||eu()}function wc(t,n="utf8"){return new TextDecoder(n).decode(t)}var v2=new TextEncoder;function nu(t){return v2.encode(t)}var b2=1024*8,w2=(()=>{let t=new Uint8Array(4),n=new Uint32Array(t.buffer);return!((n[0]=1)&t[0])})(),yc={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},So=class t{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(n=b2,e={}){let i=!1;typeof n=="number"?n=new ArrayBuffer(n):(i=!0,this.lastWrittenByte=n.byteLength);let r=e.offset?e.offset>>>0:0,o=n.byteLength-r,f=r;(ArrayBuffer.isView(n)||n instanceof t)&&(n.byteLength!==n.buffer.byteLength&&(f=n.byteOffset+r),n=n.buffer),i?this.lastWrittenByte=o:this.lastWrittenByte=0,this.buffer=n,this.length=o,this.byteLength=o,this.byteOffset=f,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,f,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(){let 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)){let i=(this.offset+n)*2,r=new Uint8Array(i);r.set(new Uint8Array(this.buffer)),this.buffer=r.buffer,this.length=i,this.byteLength=i,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){let i=yc[e].BYTES_PER_ELEMENT*n,r=this.byteOffset+this.offset,o=this.buffer.slice(r,r+i);if(this.littleEndian===w2&&e!=="uint8"&&e!=="int8"){let l=new Uint8Array(this.buffer.slice(r,r+i));l.reverse();let c=new yc[e](l.buffer);return this.offset+=i,c.reverse(),c}let f=new yc[e](o);return this.offset+=i,f}readInt16(){let n=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,n}readUint16(){let n=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,n}readInt32(){let n=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,n}readUint32(){let n=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat32(){let n=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat64(){let n=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,n}readBigInt64(){let n=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,n}readBigUint64(){let 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 i=0;i<n;i++)e+=this.readChar();return e}readUtf8(n=1){return wc(this.readBytes(n))}decodeText(n=1,e="utf8"){return wc(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(nu(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)}};function za(t){let n=t.length;for(;--n>=0;)t[n]=0}var y2=0,Hu=1,_2=2,x2=3,A2=258,Wc=29,zo=256,To=zo+1+Wc,Oa=30,Gc=19,Wu=2*To+1,Xr=15,_c=16,L2=7,Vc=256,Gu=16,Vu=17,Zu=18,Bc=new Uint8Array([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0]),$s=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]),N2=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),$u=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),S2=512,ar=new Array((To+2)*2);za(ar);var Eo=new Array(Oa*2);za(Eo);var Fo=new Array(S2);za(Fo);var Bo=new Array(A2-x2+1);za(Bo);var Zc=new Array(Wc);za(Zc);var Ys=new Array(Oa);za(Ys);function xc(t,n,e,i,r){this.static_tree=t,this.extra_bits=n,this.extra_base=e,this.elems=i,this.max_length=r,this.has_stree=t&&t.length}var Yu,Xu,Ku;function Ac(t,n){this.dyn_tree=t,this.max_code=0,this.stat_desc=n}var Ju=t=>t<256?Fo[t]:Fo[256+(t>>>7)],Oo=(t,n)=>{t.pending_buf[t.pending++]=n&255,t.pending_buf[t.pending++]=n>>>8&255},Wn=(t,n,e)=>{t.bi_valid>_c-e?(t.bi_buf|=n<<t.bi_valid&65535,Oo(t,t.bi_buf),t.bi_buf=n>>_c-t.bi_valid,t.bi_valid+=e-_c):(t.bi_buf|=n<<t.bi_valid&65535,t.bi_valid+=e)},Oi=(t,n,e)=>{Wn(t,e[n*2],e[n*2+1])},Qu=(t,n)=>{let e=0;do e|=t&1,t>>>=1,e<<=1;while(--n>0);return e>>>1},k2=t=>{t.bi_valid===16?(Oo(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>
vendor: 43,448 bytes, line 2
2=8&&(t.pending_buf[t.pending++]=t.bi_buf&255,t.bi_buf>>=8,t.bi_valid-=8)},C2=(t,n)=>{let e=n.dyn_tree,i=n.max_code,r=n.stat_desc.static_tree,o=n.stat_desc.has_stree,f=n.stat_desc.extra_bits,l=n.stat_desc.extra_base,c=n.stat_desc.max_length,d,g,_,A,p,E,I=0;for(A=0;A<=Xr;A++)t.bl_count[A]=0;for(e[t.heap[t.heap_max]*2+1]=0,d=t.heap_max+1;d<Wu;d++)g=t.heap[d],A=e[e[g*2+1]*2+1]+1,A>c&&(A=c,I++),e[g*2+1]=A,!(g>i)&&(t.bl_count[A]++,p=0,g>=l&&(p=f[g-l]),E=e[g*2],t.opt_len+=E*(A+p),o&&(t.static_len+=E*(r[g*2+1]+p)));if(I!==0){do{for(A=c-1;t.bl_count[A]===0;)A--;t.bl_count[A]--,t.bl_count[A+1]+=2,t.bl_count[c]--,I-=2}while(I>0);for(A=c;A!==0;A--)for(g=t.bl_count[A];g!==0;)_=t.heap[--d],!(_>i)&&(e[_*2+1]!==A&&(t.opt_len+=(A-e[_*2+1])*e[_*2],e[_*2+1]=A),g--)}},t1=(t,n,e)=>{let i=new Array(Xr+1),r=0,o,f;for(o=1;o<=Xr;o++)r=r+e[o-1]<<1,i[o]=r;for(f=0;f<=n;f++){let l=t[f*2+1];l!==0&&(t[f*2]=Qu(i[l]++,l))}},P2=()=>{let t,n,e,i,r,o=new Array(Xr+1);for(e=0,i=0;i<Wc-1;i++)for(Zc[i]=e,t=0;t<1<<Bc[i];t++)Bo[e++]=i;for(Bo[e-1]=i,r=0,i=0;i<16;i++)for(Ys[i]=r,t=0;t<1<<$s[i];t++)Fo[r++]=i;for(r>>=7;i<Oa;i++)for(Ys[i]=r<<7,t=0;t<1<<$s[i]-7;t++)Fo[256+r++]=i;for(n=0;n<=Xr;n++)o[n]=0;for(t=0;t<=143;)ar[t*2+1]=8,t++,o[8]++;for(;t<=255;)ar[t*2+1]=9,t++,o[9]++;for(;t<=279;)ar[t*2+1]=7,t++,o[7]++;for(;t<=287;)ar[t*2+1]=8,t++,o[8]++;for(t1(ar,To+1,o),t=0;t<Oa;t++)Eo[t*2+1]=5,Eo[t*2]=Qu(t,5);Yu=new xc(ar,Bc,zo+1,To,Xr),Xu=new xc(Eo,$s,0,Oa,Xr),Ku=new xc(new Array(0),N2,0,Gc,L2)},e1=t=>{let n;for(n=0;n<To;n++)t.dyn_ltree[n*2]=0;for(n=0;n<Oa;n++)t.dyn_dtree[n*2]=0;for(n=0;n<Gc;n++)t.bl_tree[n*2]=0;t.dyn_ltree[Vc*2]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},n1=t=>{t.bi_valid>8?Oo(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},iu=(t,n,e,i)=>{let r=n*2,o=e*2;return t[r]<t[o]||t[r]===t[o]&&i[n]<=i[e]},Lc=(t,n,e)=>{let i=t.heap[e],r=e<<1;for(;r<=t.heap_len&&(r<t.heap_len&&iu(n,t.heap[r+1],t.heap[r],t.depth)&&r++,!iu(n,i,t.heap[r],t.depth));)t.heap[e]=t.heap[r],e=r,r<<=1;t.heap[e]=i},ru=(t,n,e)=>{let i,r,o=0,f,l;if(t.sym_next!==0)do i=t.pending_buf[t.sym_buf+o++]&255,i+=(t.pending_buf[t.sym_buf+o++]&255)<<8,r=t.pending_buf[t.sym_buf+o++],i===0?Oi(t,r,n):(f=Bo[r],Oi(t,f+zo+1,n),l=Bc[f],l!==0&&(r-=Zc[f],Wn(t,r,l)),i--,f=Ju(i),Oi(t,f,e),l=$s[f],l!==0&&(i-=Ys[f],Wn(t,i,l)));while(o<t.sym_next);Oi(t,Vc,n)},Oc=(t,n)=>{let e=n.dyn_tree,i=n.stat_desc.static_tree,r=n.stat_desc.has_stree,o=n.stat_desc.elems,f,l,c=-1,d;for(t.heap_len=0,t.heap_max=Wu,f=0;f<o;f++)e[f*2]!==0?(t.heap[++t.heap_len]=c=f,t.depth[f]=0):e[f*2+1]=0;for(;t.heap_len<2;)d=t.heap[++t.heap_len]=c<2?++c:0,e[d*2]=1,t.depth[d]=0,t.opt_len--,r&&(t.static_len-=i[d*2+1]);for(n.max_code=c,f=t.heap_len>>1;f>=1;f--)Lc(t,e,f);d=o;do f=t.heap[1],t.heap[1]=t.heap[t.heap_len--],Lc(t,e,1),l=t.heap[1],t.heap[--t.heap_max]=f,t.heap[--t.heap_max]=l,e[d*2]=e[f*2]+e[l*2],t.depth[d]=(t.depth[f]>=t.depth[l]?t.depth[f]:t.depth[l])+1,e[f*2+1]=e[l*2+1]=d,t.heap[1]=d++,Lc(t,e,1);while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],C2(t,n),t1(e,c,t.bl_count)},au=(t,n,e)=>{let i,r=-1,o,f=n[1],l=0,c=7,d=4;for(f===0&&(c=138,d=3),n[(e+1)*2+1]=65535,i=0;i<=e;i++)o=f,f=n[(i+1)*2+1],!(++l<c&&o===f)&&(l<d?t.bl_tree[o*2]+=l:o!==0?(o!==r&&t.bl_tree[o*2]++,t.bl_tree[Gu*2]++):l<=10?t.bl_tree[Vu*2]++:t.bl_tree[Zu*2]++,l=0,r=o,f===0?(c=138,d=3):o===f?(c=6,d=3):(c=7,d=4))},ou=(t,n,e)=>{let i,r=-1,o,f=n[1],l=0,c=7,d=4;for(f===0&&(c=138,d=3),i=0;i<=e;i++)if(o=f,f=n[(i+1)*2+1],!(++l<c&&o===f)){if(l<d)do Oi(t,o,t.bl_tree);while(--l!==0);else o!==0?(o!==r&&(Oi(t,o,t.bl_tree),l--),Oi(t,Gu,t.bl_tree),Wn(t,l-3,2)):l<=10?(Oi(t,Vu,t.bl_tree),Wn(t,l-3,3)):(Oi(t,Zu,t.bl_tree),Wn(t,l-11,7));l=0,r=o,f===0?(c=138,d=3):o===f?(c=6,d=3):(c=7,d=4)}},E2=t=>{let n;for(au(t,t.dyn_ltree,t.l_desc.max_code),au(t,t.dyn_dtree,t.d_desc.max_code),Oc(t,t.bl_desc),n=Gc-1;n>=3&&t.bl_tree[$u[n]*2+1]===0;n--);return t.opt_len+=3*(n+1)+5+5+4,n},I2=(t,n,e,i)=>{let r;for(Wn(t,n-257,5),Wn(t,e-1,5),Wn(t,i-4,4),r=0;r<i;r++)Wn(t,t.bl_tree[$u[r]*2+1],3);ou(t,t.dyn_ltree,n-1),ou(t,t.dyn_dtree,e-1)},M2=t=>{let n=4093624447,e;for(e=0;e<=31;e++,n>>>=1)if(n&1&&t.dyn_ltree[e*2]!==0)return 0;if(t.dyn_ltree[18]!==0||t.dyn_ltree[20]!==0||t.dyn_ltree[26]!==0)return 1;for(e=32;e<zo;e++)if(t.dyn_ltree[e*2]!==0)return 1;return 0},su=!1,T2=t=>{su||(P2(),su=!0),t.l_desc=new Ac(t.dyn_ltree,Yu),t.d_desc=new Ac(t.dyn_dtree,Xu),t.bl_desc=new Ac(t.bl_tree,Ku),t.bi_buf=0,t.bi_valid=0,e1(t)},i1=(t,n,e,i)=>{Wn(t,(y2<<1)+(i?1:0),3),n1(t),Oo(t,e),Oo(t,~e),e&&t.pending_buf.set(t.window.subarray(n,n+e),t.pending),t.pending+=e},F2=t=>{Wn(t,Hu<<1,3),Oi(t,Vc,ar),k2(t)},B2=(t,n,e,i)=>{let r,o,f=0;t.level>0?(t.strm.data_type===2&&(t.strm.data_type=M2(t)),Oc(t,t.l_desc),Oc(t,t.d_desc),f=E2(t),r=t.opt_len+3+7>>>3,o=t.static_len+3+7>>>3,o<=r&&(r=o)):r=o=e+5,e+4<=r&&n!==-1?i1(t,n,e,i):t.strategy===4||o===r?(Wn(t,(Hu<<1)+(i?1:0),3),ru(t,ar,Eo)):(Wn(t,(_2<<1)+(i?1:0),3),I2(t,t.l_desc.max_code+1,t.d_desc.max_code+1,f+1),ru(t,t.dyn_ltree,t.dyn_dtree)),e1(t),i&&n1(t)},O2=(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[(Bo[e]+zo+1)*2]++,t.dyn_dtree[Ju(n)*2]++),t.sym_next===t.sym_end),D2=T2,j2=i1,R2=B2,z2=O2,U2=F2,q2={_tr_init:D2,_tr_stored_block:j2,_tr_flush_block:R2,_tr_tally:z2,_tr_align:U2},H2=(t,n,e,i)=>{let r=t&65535|0,o=t>>>16&65535|0,f=0;for(;e!==0;){f=e>2e3?2e3:e,e-=f;do r=r+n[i++]|0,o=o+r|0;while(--f);r%=65521,o%=65521}return r|o<<16|0},Do=H2,W2=()=>{let t,n=[];for(var e=0;e<256;e++){t=e;for(var i=0;i<8;i++)t=t&1?3988292384^t>>>1:t>>>1;n[e]=t}return n},G2=new Uint32Array(W2()),V2=(t,n,e,i)=>{let r=G2,o=i+e;t^=-1;for(let f=i;f<o;f++)t=t>>>8^r[(t^n[f])&255];return t^-1},vn=V2,Qr={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"},Ua={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},{_tr_init:Z2,_tr_stored_block:Dc,_tr_flush_block:$2,_tr_tally:Nr,_tr_align:Y2}=q2,{Z_NO_FLUSH:Sr,Z_PARTIAL_FLUSH:X2,Z_FULL_FLUSH:K2,Z_FINISH:ci,Z_BLOCK:lu,Z_OK:Ln,Z_STREAM_END:cu,Z_STREAM_ERROR:Di,Z_DATA_ERROR:J2,Z_BUF_ERROR:Nc,Z_DEFAULT_COMPRESSION:Q2,Z_FILTERED:td,Z_HUFFMAN_ONLY:Hs,Z_RLE:ed,Z_FIXED:nd,Z_DEFAULT_STRATEGY:id,Z_UNKNOWN:rd,Z_DEFLATED:Js}=Ua,ad=9,od=15,sd=8,ld=29,cd=256,jc=cd+1+ld,hd=30,fd=19,ud=2*jc+1,dd=15,Le=3,Lr=258,ji=Lr+Le+1,pd=32,ja=42,$c=57,Rc=69,zc=73,Uc=91,qc=103,Kr=113,Co=666,Rn=1,qa=2,ta=3,Ha=4,gd=3,Jr=(t,n)=>(t.msg=Qr[n],n),hu=t=>t*2-(t>4?9:0),Ar=t=>{let n=t.length;for(;--n>=0;)t[n]=0},md=t=>{let n,e,i,r=t.w_size;n=t.hash_size,i=n;do e=t.head[--i],t.head[i]=e>=r?e-r:0;while(--n);n=r,i=n;do e=t.prev[--i],t.prev[i]=e>=r?e-r:0;while(--n)},Yc=(t,n,e)=>(n<<t.hash_shift^e)&t.hash_mask,ea=(t,n)=>{let e;if(t.legacy_hash)e=t.ins_h=Yc(t,t.ins_h,t.window[n+Le-1]);else{let r=t.window,o=r[n]|r[n+1]<<8|r[n+2]<<16|r[n+3]<<24;e=t.ins_h=Math.imul(o,66521)+66521>>>16&t.hash_mask}let i=t.prev[n&t.w_mask]=t.head[e];return t.head[e]=n,i},ti=t=>{let n=t.state,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))},ei=(t,n)=>{$2(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,n),t.block_start=t.strstart,ti(t.strm)},Se=(t,n)=>{t.pending_buf[t.pending++]=n},ko=(t,n)=>{t.pending_buf[t.pending++]=n>>>8&255,t.pending_buf[t.pending++]=n&255},Hc=(t,n,e,i)=>{let r=t.avail_in;return r>i&&(r=i),r===0?0:(t.avail_in-=r,n.set(t.input.subarray(t.next_in,t.next_in+r),e),t.state.wrap===1?t.adler=Do(t.adler,n,r,e):t.state.wrap===2&&(t.adler=vn(t.adler,n,r,e)),t.next_in+=r,t.total_in+=r,r)},r1=(t,n)=>{let e=t.max_chain_length,i=t.strstart,r,o,f=t.prev_length,l=t.nice_match,c=t.strstart>t.w_size-ji?t.strstart-(t.w_size-ji):0,d=t.window,g=t.w_mask,_=t.prev,A=t.strstart+Lr,p=d[i+f-1],E=d[i+f];t.prev_length>=t.good_match&&(e>>=2),l>t.lookahead&&(l=t.lookahead);do if(r=n,!(d[r+f]!==E||d[r+f-1]!==p||d[r]!==d[i]||d[++r]!==d[i+1])){i+=2,r++;do;while(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]===d[++r]&&i<A);if(o=Lr-(A-i),i=A-Lr,o>f){if(t.match_start=n,f=o,o>=l)break;p=d[i+f-1],E=d[i+f]}}while((n=_[n&g])>c&&--e!==0);return f<=t.lookahead?f:t.lookahead},Ra=t=>{let n=t.w_size,e,i,r;do{if(i=t.window_size-t.lookahead-t.strstart,t.strstart>=n+(n-ji)&&(t.window.set(t.window.subarray(n,n+n-i),0),t.match_start-=n,t.strstart-=n,t.block_start-=n,t.insert>t.strstart&&(t.insert=t.strstart),md(t),i+=n),t.strm.avail_in===0)break;if(e=Hc(t.strm,t.window,t.strstart+t.lookahead,i),t.lookahead+=e,t.legacy_hash){if(t.lookahead+t.insert>=Le)for(r=t.strstart-t.insert,t.ins_h=t.window[r],t.ins_h=Yc(t,t.ins_h,t.window[r+1]);t.insert&&(ea(t,r),r++,t.insert--,!(t.lookahead+t.insert<Le)););}else if(t.lookahead+t.insert>Le)for(r=t.strstart-t.insert;t.insert&&(ea(t,r),r++,t.insert--,!(t.lookahead+t.insert<=Le)););}while(t.lookahead<ji&&t.strm.avail_in!==0)},a1=(t,n)=>{let e=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,i,r,o,f=0,l=t.strm.avail_in;do{if(i=65535,o=t.bi_valid+42>>3,t.strm.avail_out<o||(o=t.strm.avail_out-o,r=t.strstart-t.block_start,i>r+t.strm.avail_in&&(i=r+t.strm.avail_in),i>o&&(i=o),i<e&&(i===0&&n!==ci||n===Sr||i!==r+t.strm.avail_in)))break;f=n===ci&&i===r+t.strm.avail_in?1:0,Dc(t,0,0,f),t.pending_buf[t.pending-4]=i,t.pending_buf[t.pending-3]=i>>8,t.pending_buf[t.pending-2]=~i,t.pending_buf[t.pending-1]=~i>>8,ti(t.strm),r&&(r>i&&(r=i),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+r),t.strm.next_out),t.strm.next_out+=r,t.strm.avail_out-=r,t.strm.total_out+=r,t.block_start+=r,i-=r),i&&(Hc(t.strm,t.strm.output,t.strm.next_out,i),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i)}while(f===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),f?Ha:n!==Sr&&n!==ci&&t.strm.avail_in===0&&t.strstart===t.block_start?qa:(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&&(Hc(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,r=t.strstart-t.block_start,(r>=e||(r||n===ci)&&n!==Sr&&t.strm.avail_in===0&&r<=o)&&(i=r>o?o:r,f=n===ci&&t.strm.avail_in===0&&i===r?1:0,Dc(t,t.block_start,i,f),t.block_start+=i,ti(t.strm)),f?ta:Rn)},Sc=(t,n)=>{let e,i;for(;;){if(t.lookahead<ji){if(Ra(t),t.lookahead<ji&&n===Sr)return Rn;if(t.lookahead===0)break}if(e=0,t.lookahead>=Le&&(e=ea(t,t.strstart)),e!==0&&t.strstart-e<=t.w_size-ji&&(t.match_length=r1(t,e)),t.match_length>=Le)if(i=Nr(t,t.strstart-t.match_start,t.match_length-Le),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=Le){t.match_length--;do t.strstart++,e=ea(t,t.strstart);while(--t.match_length!==0);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.legacy_hash&&(t.ins_h=t.window[t.strstart],t.ins_h=Yc(t,t.ins_h,t.window[t.strstart+1]));else i=Nr(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(i&&(ei(t,!1),t.strm.avail_out===0))return Rn}return t.insert=t.strstart<Le-1?t.strstart:Le-1,n===ci?(ei(t,!0),t.strm.avail_out===0?ta:Ha):t.sym_next&&(ei(t,!1),t.strm.avail_out===0)?Rn:qa},Fa=(t,n)=>{let e,i,r;for(;;){if(t.lookahead<ji){if(Ra(t),t.lookahead<ji&&n===Sr)return Rn;if(t.lookahead===0)break}if(e=0,t.lookahead>=Le&&(e=ea(t,t.strstart)),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=Le-1,e!==0&&t.prev_length<t.max_lazy_match&&t.strstart-e<=t.w_size-ji&&(t.match_length=r1(t,e),t.match_length<=5&&(t.strategy===td||t.match_length===Le&&t.strstart-t.match_start>4096)&&(t.match_length=Le-1)),t.prev_length>=Le&&t.match_length<=t.prev_length){r=t.strstart+t.lookahead-Le,i=Nr(t,t.strstart-1-t.prev_match,t.prev_length-Le),t.lookahead-=t.prev_length-1,t.prev_length-=2;do++t.strstart<=r&&(e=ea(t,t.strstart));while(--t.prev_length!==0);if(t.match_available=0,t.match_length=Le-1,t.strstart++,i&&(ei(t,!1),t.strm.avail_out===0))return Rn}else if(t.match_available){if(i=Nr(t,0,t.window[t.strstart-1]),i&&ei(t,!1),t.strstart++,t.lookahead--,t.strm.avail_out===0)return Rn}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(i=Nr(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<Le-1?t.strstart:Le-1,n===ci?(ei(t,!0),t.strm.avail_out===0?ta:Ha):t.sym_next&&(ei(t,!1),t.strm.avail_out===0)?Rn:qa},vd=(t,n)=>{let e,i,r,o,f=t.window;for(;;){if(t.lookahead<=Lr){if(Ra(t),t.lookahead<=Lr&&n===Sr)return Rn;if(t.lookahead===0)break}if(t.match_length=0,t.lookahead>=Le&&t.strstart>0&&(r=t.strstart-1,i=f[r],i===f[++r]&&i===f[++r]&&i===f[++r])){o=t.strstart+Lr;do;while(i===f[++r]&&i===f[++r]&&i===f[++r]&&i===f[++r]&&i===f[++r]&&i===f[++r]&&i===f[++r]&&i===f[++r]&&r<o);t.match_length=Lr-(o-r),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=Le?(e=Nr(t,1,t.match_length-Le),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(e=Nr(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),e&&(ei(t,!1),t.strm.avail_out===0))return Rn}return t.insert=0,n===ci?(ei(t,!0),t.strm.avail_out===0?ta:Ha):t.sym_next&&(ei(t,!1),t.strm.avail_out===0)?Rn:qa},bd=(t,n)=>{let e;for(;;){if(t.lookahead===0&&(Ra(t),t.lookahead===0)){if(n===Sr)return Rn;break}if(t.match_length=0,e=Nr(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,e&&(ei(t,!1),t.strm.avail_out===0))return Rn}return t.insert=0,n===ci?(ei(t,!0),t.strm.avail_out===0?ta:Ha):t.sym_next&&(ei(t,!1),t.strm.avail_out===0)?Rn:qa};function Fi(t,n,e,i,r){this.good_length=t,this.max_lazy=n,this.nice_length=e,this.max_chain=i,this.func=r}var Po=[new Fi(0,0,0,0,a1),new Fi(4,4,8,4,Sc),new Fi(4,5,16,8,Sc),new Fi(4,6,32,32,Sc),new Fi(4,4,16,16,Fa),new Fi(8,16,32,32,Fa),new Fi(8,16,128,128,Fa),new Fi(8,32,128,256,Fa),new Fi(32,128,258,1024,Fa),new Fi(32,258,258,4096,Fa)],wd=t=>{t.window_size=2*t.w_size,Ar(t.head),t.max_lazy_match=Po[t.level].max_lazy,t.good_match=Po[t.level].good_length,t.nice_match=Po[t.level].nice_length,t.max_chain_length=Po[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=Le-1,t.match_available=0,t.ins_h=0};function yd(){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=Js,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.legacy_hash=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(ud*2),this.dyn_dtree=new Uint16Array((2*hd+1)*2),this.bl_tree=new Uint16Array((2*fd+1)*2),Ar(this.dyn_ltree),Ar(this.dyn_dtree),Ar(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(dd+1),this.heap=new Uint16Array(2*jc+1),Ar(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(2*jc+1),Ar(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}var Uo=t=>{if(!t)return 1;let n=t.state;return!n||n.strm!==t||n.status!==ja&&n.status!==$c&&n.status!==Rc&&n.status!==zc&&n.status!==Uc&&n.status!==qc&&n.status!==Kr&&n.status!==Co?1:0},o1=t=>{if(Uo(t))return Jr(t,Di);t.total_in=t.total_out=0,t.data_type=rd;let n=t.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=n.wrap===2?$c:n.wrap?ja:Kr,t.adler=n.wrap===2?0:1,n.last_flush=-2,Z2(n),Ln},s1=t=>{let n=o1(t);return n===Ln&&wd(t.state),n},_d=(t,n)=>Uo(t)||t.state.wrap!==2?Di:(t.state.gzhead=n,Ln),l1=(t,n,e,i,r,o,f)=>{if(!t)return Di;let l=1;if(n===Q2&&(n=6),i<0?(l=0,i=-i):i>15&&(l=2,i-=16),r<1||r>ad||e!==Js||i<8||i>15||n<0||n>9||o<0||o>nd||i===8&&l!==1)return Jr(t,Di);i===8&&(i=9);let c=new yd;return t.state=c,c.strm=t,c.status=ja,c.wrap=l,c.gzhead=null,c.w_bits=i,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.legacy_hash=f?1:0,c.hash_bits=r+7,!c.legacy_hash&&c.hash_bits<15&&(c.hash_bits=15),c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+Le-1)/Le),c.window=new Uint8Array(c.w_size*2),c.head=new Uint16Array(c.hash_size),c.prev=new Uint16Array(c.w_size),c.lit_bufsize=1<<r+6,c.pending_buf_size=c.lit_bufsize*4,c.pending_buf=new Uint8Array(c.pending_buf_size),c.sym_buf=c.lit_bufsize,c.sym_end=(c.lit_bufsize-1)*3,c.level=n,c.strategy=o,c.method=e,s1(t)},xd=(t,n)=>l1(t,n,Js,od,sd,id),Ad=(t,n)=>{if(Uo(t)||n>lu||n<0)return t?Jr(t,Di):Di;let e=t.state;if(!t.output||t.avail_in!==0&&!t.input||e.status===Co&&n!==ci)return Jr(t,t.avail_out===0?Nc:Di);let i=e.last_flush;if(e.last_flush=n,e.pending!==0){if(ti(t),t.avail_out===0)return e.last_flush=-1,Ln}else if(t.avail_in===0&&hu(n)<=hu(i)&&n!==ci)return Jr(t,Nc);if(e.status===Co&&t.avail_in!==0)return Jr(t,Nc);if(e.status===ja&&e.wrap===0&&(e.status=Kr),e.status===ja){let r=Js+(e.w_bits-8<<4)<<8,o=-1;if(e.strategy>=Hs||e.level<2?o=0:e.level<6?o=1:e.level===6?o=2:o=3,r|=o<<6,e.strstart!==0&&(r|=pd),r+=31-r%31,ko(e,r),e.strstart!==0&&(ko(e,t.adler>>>16),ko(e,t.adler&65535)),t.adler=1,e.status=Kr,ti(t),e.pending!==0)return e.last_flush=-1,Ln}if(e.status===$c){if(t.adler=0,Se(e,31),Se(e,139),Se(e,8),e.gzhead)Se(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)),Se(e,e.gzhead.time&255),Se(e,e.gzhead.time>>8&255),Se(e,e.gzhead.time>>16&255),Se(e,e.gzhead.time>>24&255),Se(e,e.level===9?2:e.strategy>=Hs||e.level<2?4:0),Se(e,e.gzhead.os&255),e.gzhead.extra&&e.gzhead.extra.length&&(Se(e,e.gzhead.extra.length&255),Se(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=vn(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=Rc;else if(Se(e,0),Se(e,0),Se(e,0),Se(e,0),Se(e,0),Se(e,e.level===9?2:e.strategy>=Hs||e.level<2?4:0),Se(e,gd),e.status=Kr,ti(t),e.pending!==0)return e.last_flush=-1,Ln}if(e.status===Rc){if(e.gzhead.extra){let r=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>r&&(t.adler=vn(t.adler,e.pending_buf,e.pending-r,r)),e.gzindex+=l,ti(t),e.pending!==0)return e.last_flush=-1,Ln;r=0,o-=l}let f=new Uint8Array(e.gzhead.extra);e.pending_buf.set(f.subarray(e.gzindex,e.gzindex+o),e.pending),e.pending+=o,e.gzhead.hcrc&&e.pending>r&&(t.adler=vn(t.adler,e.pending_buf,e.pending-r,r)),e.gzindex=0}e.status=zc}if(e.status===zc){if(e.gzhead.name){let r=e.pending,o;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>r&&(t.adler=vn(t.adler,e.pending_buf,e.pending-r,r)),ti(t),e.pending!==0)return e.last_flush=-1,Ln;r=0}e.gzindex<e.gzhead.name.length?o=e.gzhead.name.charCodeAt(e.gzindex++)&255:o=0,Se(e,o)}while(o!==0);e.gzhead.hcrc&&e.pending>r&&(t.adler=vn(t.adler,e.pending_buf,e.pending-r,r)),e.gzindex=0}e.status=Uc}if(e.status===Uc){if(e.gzhead.comment){let r=e.pending,o;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>r&&(t.adler=vn(t.adler,e.pending_buf,e.pending-r,r)),ti(t),e.pending!==0)return e.last_flush=-1,Ln;r=0}e.gzindex<e.gzhead.comment.length?o=e.gzhead.comment.charCodeAt(e.gzindex++)&255:o=0,Se(e,o)}while(o!==0);e.gzhead.hcrc&&e.pending>r&&(t.adler=vn(t.adler,e.pending_buf,e.pending-r,r))}e.status=qc}if(e.status===qc){if(e.gzhead.hcrc){if(e.pending+2>e.pending_buf_size&&(ti(t),e.pending!==0))return e.last_flush=-1,Ln;Se(e,t.adler&255),Se(e,t.adler>>8&255),t.adler=0}if(e.status=Kr,ti(t),e.pending!==0)return e.last_flush=-1,Ln}if(t.avail_in!==0||e.lookahead!==0||n!==Sr&&e.status!==Co){let r=e.level===0?a1(e,n):e.strategy===Hs?bd(e,n):e.strategy===ed?vd(e,n):Po[e.level].func(e,n);if((r===ta||r===Ha)&&(e.status=Co),r===Rn||r===ta)return t.avail_out===0&&(e.last_flush=-1),Ln;if(r===qa&&(n===X2?Y2(e):n!==lu&&(Dc(e,0,0,!1),n===K2&&(Ar(e.head),e.lookahead===0&&(e.strstart=0,e.block_start=0,e.insert=0))),ti(t),t.avail_out===0))return e.last_flush=-1,Ln}return n!==ci?Ln:e.wrap<=0?cu:(e.wrap===2?(Se(e,t.adler&255),Se(e,t.adler>>8&255),Se(e,t.adler>>16&255),Se(e,t.adler>>24&255),Se(e,t.total_in&255),Se(e,t.total_in>>8&255),Se(e,t.total_in>>16&255),Se(e,t.total_in>>24&255)):(ko(e,t.adler>>>16),ko(e,t.adler&65535)),ti(t),e.wrap>0&&(e.wrap=-e.wrap),e.pending!==0?Ln:cu)},Ld=t=>{if(Uo(t))return Di;let n=t.state.status;return t.state=null,n===Kr?Jr(t,J2):Ln},Nd=(t,n)=>{let e=n.length;if(Uo(t))return Di;let i=t.state,r=i.wrap;if(r===2||r===1&&i.status!==ja||i.lookahead)return Di;if(r===1&&(t.adler=Do(t.adler,n,e,0)),i.wrap=0,e>=i.w_size){r===0&&(Ar(i.head),i.strstart=0,i.block_start=0,i.insert=0);let c=new Uint8Array(i.w_size);c.set(n.subarray(e-i.w_size,e),0),n=c,e=i.w_size}let o=t.avail_in,f=t.next_in,l=t.input;for(t.avail_in=e,t.next_in=0,t.input=n,Ra(i);i.lookahead>=Le;){let c=i.strstart,d=i.lookahead-(Le-1);do ea(i,c),c++;while(--d);i.strstart=c,i.lookahead=Le-1,Ra(i)}return i.strstart+=i.lookahead,i.block_start=i.strstart,i.insert=i.lookahead,i.lookahead=0,i.match_length=i.prev_length=Le-1,i.match_available=0,t.next_in=f,t.input=l,t.avail_in=o,i.wrap=r,Ln},Sd=xd,kd=l1,Cd=s1,Pd=o1,Ed=_d,Id=Ad,Md=Ld,Td=Nd,Fd="pako deflate (from Nodeca project)",Io={deflateInit:Sd,deflateInit2:kd,deflateReset:Cd,deflateResetKeep:Pd,deflateSetHeader:Ed,deflate:Id,deflateEnd:Md,deflateSetDictionary:Td,deflateInfo:Fd},Bd=(t,n)=>Object.prototype.hasOwnProperty.call(t,n),Od=function(t){let n=Array.prototype.slice.call(arguments,1);for(;n.length;){let e=n.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(let i in e)Bd(e,i)&&(t[i]=e[i])}}return t},Dd=t=>{let n=0;for(let i=0,r=t.length;i<r;i++)n+=t[i].length;let e=new Uint8Array(n);for(let i=0,r=0,o=t.length;i<o;i++){let f=t[i];e.set(f,r),r+=f.length}return e},Qs={assign:Od,flattenChunks:Dd},c1=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{c1=!1}var jo=new Uint8Array(256);for(let t=0;t<256;t++)jo[t]=t>=252?6:t>=248?5:t>=240?4:t>=224?3:t>=192?2:1;jo[254]=jo[255]=1;var jd=t=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(t);let n,e,i,r,o,f=t.length,l=0;for(r=0;r<f;r++)e=t.charCodeAt(r),(e&64512)===55296&&r+1<f&&(i=t.charCodeAt(r+1),(i&64512)===56320&&(e=65536+(e-55296<<10)+(i-56320),r++)),l+=e<128?1:e<2048?2:e<65536?3:4;for(n=new Uint8Array(l),o=0,r=0;o<l;r++)e=t.charCodeAt(r),(e&64512)===55296&&r+1<f&&(i=t.charCodeAt(r+1),(i&64512)===56320&&(e=65536+(e-55296<<10)+(i-56320),r++)),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},Rd=(t,n)=>{if(n<65534&&t.subarray&&c1)return String.fromCharCode.apply(null,t.length===n?t:t.subarray(0,n));let e="";for(let i=0;i<n;i++)e+=String.fromCharCode(t[i]);return e},zd=(t,n)=>{let e=n||t.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(t.subarray(0,n));let i,r,o=new Array(e*2);for(r=0,i=0;i<e;){let f=t[i++];if(f<128){o[r++]=f;continue}let l=jo[f];if(l>4){o[r++]=65533,i+=l-1;continue}for(f&=l===2?31:l===3?15:7;l>1&&i<e;)f=f<<6|t[i++]&63,l--;if(l>1){o[r++]=65533;continue}f<65536?o[r++]=f:(f-=65536,o[r++]=55296|f>>10&1023,o[r++]=56320|f&1023)}return Rd(o,r)},Ud=(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+jo[t[e]]>n?e:n},Ro={string2buf:jd,buf2string:zd,utf8border:Ud};function qd(){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 h1=qd,f1=Object.prototype.toString,{Z_NO_FLUSH:Hd,Z_SYNC_FLUSH:Wd,Z_FULL_FLUSH:Gd,Z_FINISH:Vd,Z_OK:Xs,Z_STREAM_END:Zd,Z_DEFAULT_COMPRESSION:$d,Z_DEFAULT_STRATEGY:Yd,Z_DEFLATED:Xd}=Ua,Kd={level:$d,method:Xd,chunkSize:16384,windowBits:15,memLevel:8,strategy:Yd,legacyHash:!0};function qo(t){this.options=Qs.assign({},Kd,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 h1,this.strm.avail_out=0;let e=Io.deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy,n.legacyHash);if(e!==Xs)throw new Error(Qr[e]);if(n.header&&Io.deflateSetHeader(this.strm,n.header),n.dictionary){let i;if(typeof n.dictionary=="string"?i=Ro.string2buf(n.dictionary):f1.call(n.dictionary)==="[object ArrayBuffer]"?i=new Uint8Array(n.dictionary):i=n.dictionary,e=Io.deflateSetDictionary(this.strm,i),e!==Xs)throw new Error(Qr[e]);this._dict_set=!0}}qo.prototype.push=function(t,n){let e=this.strm,i=this.options.chunkSize,r,o;if(this.ended)return!1;for(n===~~n?o=n:o=n===!0?Vd:Hd,typeof t=="string"?e.input=Ro.string2buf(t):f1.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(i),e.next_out=0,e.avail_out=i),(o===Wd||o===Gd)&&e.avail_out<=6){this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;continue}if(r=Io.deflate(e,o),r===Zd)return e.next_out>0&&this.onData(e.output.subarray(0,e.next_out)),r=Io.deflateEnd(this.strm),this.onEnd(r),this.ended=!0,r===Xs;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};qo.prototype.onData=function(t){this.chunks.push(t)};qo.prototype.onEnd=function(t){t===Xs&&(this.result=Qs.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function Xc(t,n){let e=new qo(n);if(e.push(t,!0),e.err)throw e.msg||Qr[e.err];return e.result}function Jd(t,n){return n=n||{},n.raw=!0,Xc(t,n)}function Qd(t,n){return n=n||{},n.gzip=!0,Xc(t,n)}var tp=qo,ep=Xc,np=Jd,ip=Qd,rp=Ua,ap={Deflate:tp,deflate:ep,deflateRaw:np,gzip:ip,constants:rp},Ws=16209,op=16191,sp=function(n,e){let i,r,o,f,l,c,d,g,_,A,p,E,I,O,k,G,V,z,rt,vt,dt,X,D,tt,N=n.state;i=n.next_in,D=n.input,r=i+(n.avail_in-5),o=n.next_out,tt=n.output,f=o-(e-n.avail_out),l=o+(n.avail_out-257),c=N.dmax,d=N.wsize,g=N.whave,_=N.wnext,A=N.window,p=N.hold,E=N.bits,I=N.lencode,O=N.distcode,k=(1<<N.lenbits)-1,G=(1<<N.distbits)-1;t:do{E<15&&(p+=D[i++]<<E,E+=8,p+=D[i++]<<E,E+=8),V=I[p&k];e:for(;;){if(z=V>>>24,p>>>=z,E-=z,z=V>>>16&255,z===0)tt[o++]=V&65535;else if(z&16){rt=V&65535,z&=15,z&&(E<z&&(p+=D[i++]<<E,E+=8),rt+=p&(1<<z)-1,p>>>=z,E-=z),E<15&&(p+=D[i++]<<E,E+=8,p+=D[i++]<<E,E+=8),V=O[p&G];n:for(;;){if(z=V>>>24,p>>>=z,E-=z,z=V>>>16&255,z&16){if(vt=V&65535,z&=15,E<z&&(p+=D[i++]<<E,E+=8,E<z&&(p+=D[i++]<<E,E+=8)),vt+=p&(1<<z)-1,vt>c){n.msg="invalid distance too far back",N.mode=Ws;break t}if(p>>>=z,E-=z,z=o-f,vt>z){if(z=vt-z,z>g&&N.sane){n.msg="invalid distance too far back",N.mode=Ws;break t}if(dt=0,X=A,_===0){if(dt+=d-z,z<rt){rt-=z;do tt[o++]=A[dt++];while(--z);dt=o-vt,X=tt}}else if(_<z){if(dt+=d+_-z,z-=_,z<rt){rt-=z;do tt[o++]=A[dt++];while(--z);if(dt=0,_<rt){z=_,rt-=z;do tt[o++]=A[dt++];while(--z);dt=o-vt,X=tt}}}else if(dt+=_-z,z<rt){rt-=z;do tt[o++]=A[dt++];while(--z);dt=o-vt,X=tt}for(;rt>2;)tt[o++]=X[dt++],tt[o++]=X[dt++],tt[o++]=X[dt++],rt-=3;rt&&(tt[o++]=X[dt++],rt>1&&(tt[o++]=X[dt++]))}else{dt=o-vt;do tt[o++]=tt[dt++],tt[o++]=tt[dt++],tt[o++]=tt[dt++],rt-=3;while(rt>2);rt&&(tt[o++]=tt[dt++],rt>1&&(tt[o++]=tt[dt++]))}}else if((z&64)===0){V=O[(V&65535)+(p&(1<<z)-1)];continue n}else{n.msg="invalid distance code",N.mode=Ws;break t}break}}else if((z&64)===0){V=I[(V&65535)+(p&(1<<z)-1)];continue e}else if(z&32){N.mode=op;break t}else{n.msg="invalid literal/length code",N.mode=Ws;break t}break}}while(i<r&&o<l);rt=E>>3,i-=rt,E-=rt<<3,p&=(1<<E)-1,n.next_in=i,n.next_out=o,n.avail_in=i<r?5+(r-i):5-(i-r),n.avail_out=o<l?257+(l-o):257-(o-l),N.hold=p,N.bits=E},Ba=15,fu=852,uu=592,du=0,kc=1,pu=2,lp=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]),cp=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,199,75]),hp=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]),fp=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]),up=(t,n,e,i,r,o,f,l)=>{let c=l.bits,d=0,g=0,_=0,A=0,p=0,E=0,I=0,O=0,k=0,G=0,V,z,rt,vt,dt,X=null,D,tt=new Uint16Array(Ba+1),N=new Uint16Array(Ba+1),F=null,q,U,it;for(d=0;d<=Ba;d++)tt[d]=0;for(g=0;g<i;g++)tt[n[e+g]]++;for(p=c,A=Ba;A>=1&&tt[A]===0;A--);if(p>A&&(p=A),A===0)return r[o++]=1<<24|64<<16|0,r[o++]=1<<24|64<<16|0,l.bits=1,0;for(_=1;_<A&&tt[_]===0;_++);for(p<_&&(p=_),O=1,d=1;d<=Ba;d++)if(O<<=1,O-=tt[d],O<0)return-1;if(O>0&&(t===du||A!==1))return-1;for(N[1]=0,d=1;d<Ba;d++)N[d+1]=N[d]+tt[d];for(g=0;g<i;g++)n[e+g]!==0&&(f[N[n[e+g]]++]=g);if(t===du?(X=F=f,D=20):t===kc?(X=lp,F=cp,D=257):(X=hp,F=fp,D=0),G=0,g=0,d=_,dt=o,E=p,I=0,rt=-1,k=1<<p,vt=k-1,t===kc&&k>fu||t===pu&&k>uu)return 1;for(;;){q=d-I,f[g]+1<D?(U=0,it=f[g]):f[g]>=D?(U=F[f[g]-D],it=X[f[g]-D]):(U=96,it=0),V=1<<d-I,z=1<<E,_=z;do z-=V,r[dt+(G>>I)+z]=q<<24|U<<16|it|0;while(z!==0);for(V=1<<d-1;G&V;)V>>=1;if(V!==0?(G&=V-1,G+=V):G=0,g++,--tt[d]===0){if(d===A)break;d=n[e+f[g]]}if(d>p&&(G&vt)!==rt){for(I===0&&(I=p),dt+=_,E=d-I,O=1<<E;E+I<A&&(O-=tt[E+I],!(O<=0));)E++,O<<=1;if(k+=1<<E,t===kc&&k>fu||t===pu&&k>uu)return 1;rt=G&vt,r[rt]=p<<24|E<<16|dt-o|0}}return G!==0&&(r[dt+G]=d-I<<24|64<<16|0),l.bits=p,0},Mo=up,dp=0,u1=1,d1=2,{Z_FINISH:gu,Z_BLOCK:pp,Z_TREES:Gs,Z_OK:na,Z_STREAM_END:gp,Z_NEED_DICT:mp,Z_STREAM_ERROR:hi,Z_DATA_ERROR:p1,Z_MEM_ERROR:g1,Z_BUF_ERROR:vp,Z_DEFLATED:mu}=Ua,tl=16180,vu=16181,bu=16182,wu=16183,yu=16184,_u=16185,xu=16186,Au=16187,Lu=16188,Nu=16189,Ks=16190,rr=16191,Cc=16192,Su=16193,Pc=16194,ku=16195,Cu=16196,Pu=16197,Eu=16198,Vs=16199,Zs=16200,Iu=16201,Mu=16202,Tu=16203,Fu=16204,Bu=16205,Ec=16206,Ou=16207,Du=16208,Ze=16209,m1=16210,v1=16211,bp=852,wp=592,yp=15,_p=yp,ju=t=>(t>>>24&255)+(t>>>8&65280)+((t&65280)<<8)+((t&255)<<24);function xp(){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}var ia=t=>{if(!t)return 1;let n=t.state;return!n||n.strm!==t||n.mode<tl||n.mode>v1?1:0},b1=t=>{if(ia(t))return hi;let n=t.state;return t.total_in=t.total_out=n.total=0,t.msg="",n.wrap&&(t.adler=n.wrap&1),n.mode=tl,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(bp),n.distcode=n.distdyn=new Int32Array(wp),n.sane=1,n.back=-1,na},w1=t=>{if(ia(t))return hi;let n=t.state;return n.wsize=0,n.whave=0,n.wnext=0,b1(t)},y1=(t,n)=>{let e;if(ia(t))return hi;let i=t.state;return n<0?(e=0,n=-n):(e=(n>>4)+5,n<48&&(n&=15)),n&&(n<8||n>15)?hi:(i.window!==null&&i.wbits!==n&&(i.window=null),i.wrap=e,i.wbits=n,w1(t))},_1=(t,n)=>{if(!t)return hi;let e=new xp;t.state=e,e.strm=t,e.window=null,e.mode=tl;let i=y1(t,n);return i!==na&&(t.state=null),i},Ap=t=>_1(t,_p),Ru=!0,Ic,Mc,Lp=t=>{if(Ru){Ic=new Int32Array(512),Mc=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(Mo(u1,t.lens,0,288,Ic,0,t.work,{bits:9}),n=0;n<32;)t.lens[n++]=5;Mo(d1,t.lens,0,32,Mc,0,t.work,{bits:5}),Ru=!1}t.lencode=Ic,t.lenbits=9,t.distcode=Mc,t.distbits=5},x1=(t,n,e,i)=>{let r,o=t.state;return o.window===null&&(o.window=new Uint8Array(1<<o.wbits)),o.wsize===0&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0),i>=o.wsize?(o.window.set(n.subarray(e-o.wsize,e),0),o.wnext=0,o.whave=o.wsize):(r=o.wsize-o.wnext,r>i&&(r=i),o.window.set(n.subarray(e-i,e-i+r),o.wnext),i-=r,i?(o.window.set(n.subarray(e-i,e),0),o.wnext=i,o.whave=o.wsize):(o.wnext+=r,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=r))),0},Np=(t,n)=>{let e,i,r,o,f,l,c,d,g,_,A,p,E,I,O=0,k,G,V,z,rt,vt,dt,X,D=new Uint8Array(4),tt,N,F=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ia(t)||!t.output||!t.input&&t.avail_in!==0)return hi;e=t.state,e.mode===rr&&(e.mode=Cc),f=t.next_out,r=t.output,c=t.avail_out,o=t.next_in,i=t.input,l=t.avail_in,d=e.hold,g=e.bits,_=l,A=c,X=na;t:for(;;)switch(e.mode){case tl:if(e.wrap===0){e.mode=Cc;break}for(;g<16;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}if(e.wrap&2&&d===35615){e.wbits===0&&(e.wbits=15),e.check=0,D[0]=d&255,D[1]=d>>>8&255,e.check=vn(e.check,D,2,0),d=0,g=0,e.mode=vu;break}if(e.head&&(e.head.done=!1),!(e.wrap&1)||(((d&255)<<8)+(d>>8))%31){t.msg="incorrect header check",e.mode=Ze;break}if((d&15)!==mu){t.msg="unknown compression method",e.mode=Ze;break}if(d>>>=4,g-=4,dt=(d&15)+8,e.wbits===0&&(e.wbits=dt),dt>15||dt>e.wbits){t.msg="invalid window size",e.mode=Ze;break}e.dmax=1<<e.wbits,e.flags=0,t.adler=e.check=1,e.mode=d&512?Nu:rr,d=0,g=0;break;case vu:for(;g<16;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}if(e.flags=d,(e.flags&255)!==mu){t.msg="unknown compression method",e.mode=Ze;break}if(e.flags&57344){t.msg="unknown header flags set",e.mode=Ze;break}e.head&&(e.head.text=d>>8&1),e.flags&512&&e.wrap&4&&(D[0]=d&255,D[1]=d>>>8&255,e.check=vn(e.check,D,2,0)),d=0,g=0,e.mode=bu;case bu:for(;g<32;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}e.head&&(e.head.time=d),e.flags&512&&e.wrap&4&&(D[0]=d&255,D[1]=d>>>8&255,D[2]=d>>>16&255,D[3]=d>>>24&255,e.check=vn(e.check,D,4,0)),d=0,g=0,e.mode=wu;case wu:for(;g<16;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}e.head&&(e.head.xflags=d&255,e.head.os=d>>8),e.flags&512&&e.wrap&4&&(D[0]=d&255,D[1]=d>>>8&255,e.check=vn(e.check,D,2,0)),d=0,g=0,e.mode=yu;case yu:if(e.flags&1024){for(;g<16;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}e.length=d,e.head&&(e.head.extra_len=d),e.flags&512&&e.wrap&4&&(D[0]=d&255,D[1]=d>>>8&255,e.check=vn(e.check,D,2,0)),d=0,g=0}else e.head&&(e.head.extra=null);e.mode=_u;case _u:if(e.flags&1024&&(p=e.length,p>l&&(p=l),p&&(e.head&&(dt=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(i.subarray(o,o+p),dt)),e.flags&512&&e.wrap&4&&(e.check=vn(e.check,i,p,o)),l-=p,o+=p,e.length-=p),e.length))break t;e.length=0,e.mode=xu;case xu:if(e.flags&2048){if(l===0)break t;p=0;do dt=i[o+p++],e.head&&dt&&e.length<65536&&(e.head.name+=String.fromCharCode(dt));while(dt&&p<l);if(e.flags&512&&e.wrap&4&&(e.check=vn(e.check,i,p,o)),l-=p,o+=p,dt)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=Au;case Au:if(e.flags&4096){if(l===0)break t;p=0;do dt=i[o+p++],e.head&&dt&&e.length<65536&&(e.head.comment+=String.fromCharCode(dt));while(dt&&p<l);if(e.flags&512&&e.wrap&4&&(e.check=vn(e.check,i,p,o)),l-=p,o+=p,dt)break t}else e.head&&(e.head.comment=null);e.mode=Lu;case Lu:if(e.flags&512){for(;g<16;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}if(e.wrap&4&&d!==(e.check&65535)){t.msg="header crc mismatch",e.mode=Ze;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=rr;break;case Nu:for(;g<32;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}t.adler=e.check=ju(d),d=0,g=0,e.mode=Ks;case Ks:if(e.havedict===0)return t.next_out=f,t.avail_out=c,t.next_in=o,t.avail_in=l,e.hold=d,e.bits=g,mp;t.adler=e.check=1,e.mode=rr;case rr:if(n===pp||n===Gs)break t;case Cc:if(e.last){d>>>=g&7,g-=g&7,e.mode=Ec;break}for(;g<3;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}switch(e.last=d&1,d>>>=1,g-=1,d&3){case 0:e.mode=Su;break;case 1:if(Lp(e),e.mode=Vs,n===Gs){d>>>=2,g-=2;break t}break;case 2:e.mode=Cu;break;case 3:t.msg="invalid block type",e.mode=Ze}d>>>=2,g-=2;break;case Su:for(d>>>=g&7,g-=g&7;g<32;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}if((d&65535)!==(d>>>16^65535)){t.msg="invalid stored block lengths",e.mode=Ze;break}if(e.length=d&65535,d=0,g=0,e.mode=Pc,n===Gs)break t;case Pc:e.mode=ku;case ku:if(p=e.length,p){if(p>l&&(p=l),p>c&&(p=c),p===0)break t;r.set(i.subarray(o,o+p),f),l-=p,o+=p,c-=p,f+=p,e.length-=p;break}e.mode=rr;break;case Cu:for(;g<14;){if(l===0)break t;l--,d+=i[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=Ze;break}e.have=0,e.mode=Pu;case Pu:for(;e.have<e.ncode;){for(;g<3;){if(l===0)break t;l--,d+=i[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},X=Mo(dp,e.lens,0,19,e.lencode,0,e.work,tt),e.lenbits=tt.bits,X){t.msg="invalid code lengths set",e.mode=Ze;break}e.have=0,e.mode=Eu;case Eu:for(;e.have<e.nlen+e.ndist;){for(;O=e.lencode[d&(1<<e.lenbits)-1],k=O>>>24,G=O>>>16&255,V=O&65535,!(k<=g);){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}if(V<16)d>>>=k,g-=k,e.lens[e.have++]=V;else{if(V===16){for(N=k+2;g<N;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}if(d>>>=k,g-=k,e.have===0){t.msg="invalid bit length repeat",e.mode=Ze;break}dt=e.lens[e.have-1],p=3+(d&3),d>>>=2,g-=2}else if(V===17){for(N=k+3;g<N;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}d>>>=k,g-=k,dt=0,p=3+(d&7),d>>>=3,g-=3}else{for(N=k+7;g<N;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}d>>>=k,g-=k,dt=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=Ze;break}for(;p--;)e.lens[e.have++]=dt}}if(e.mode===Ze)break;if(e.lens[256]===0){t.msg="invalid code -- missing end-of-block",e.mode=Ze;break}if(e.lenbits=9,tt={bits:e.lenbits},X=Mo(u1,e.lens,0,e.nlen,e.lencode,0,e.work,tt),e.lenbits=tt.bits,X){t.msg="invalid literal/lengths set",e.mode=Ze;break}if(e.distbits=6,e.distcode=e.distdyn,tt={bits:e.distbits},X=Mo(d1,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,tt),e.distbits=tt.bits,X){t.msg="invalid distances set",e.mode=Ze;break}if(e.mode=Vs,n===Gs)break t;case Vs:e.mode=Zs;case Zs:if(l>=6&&c>=258){t.next_out=f,t.avail_out=c,t.next_in=o,t.avail_in=l,e.hold=d,e.bits=g,sp(t,A),f=t.next_out,r=t.output,c=t.avail_out,o=t.next_in,i=t.input,l=t.avail_in,d=e.hold,g=e.bits,e.mode===rr&&(e.back=-1);break}for(e.back=0;O=e.lencode[d&(1<<e.lenbits)-1],k=O>>>24,G=O>>>16&255,V=O&65535,!(k<=g);){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}if(G&&(G&240)===0){for(z=k,rt=G,vt=V;O=e.lencode[vt+((d&(1<<z+rt)-1)>>z)],k=O>>>24,G=O>>>16&255,V=O&65535,!(z+k<=g);){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}d>>>=z,g-=z,e.back+=z}if(d>>>=k,g-=k,e.back+=k,e.length=V,G===0){e.mode=Bu;break}if(G&32){e.back=-1,e.mode=rr;break}if(G&64){t.msg="invalid literal/length code",e.mode=Ze;break}e.extra=G&15,e.mode=Iu;case Iu:if(e.extra){for(N=e.extra;g<N;){if(l===0)break t;l--,d+=i[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=Mu;case Mu:for(;O=e.distcode[d&(1<<e.distbits)-1],k=O>>>24,G=O>>>16&255,V=O&65535,!(k<=g);){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}if((G&240)===0){for(z=k,rt=G,vt=V;O=e.distcode[vt+((d&(1<<z+rt)-1)>>z)],k=O>>>24,G=O>>>16&255,V=O&65535,!(z+k<=g);){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}d>>>=z,g-=z,e.back+=z}if(d>>>=k,g-=k,e.back+=k,G&64){t.msg="invalid distance code",e.mode=Ze;break}e.offset=V,e.extra=G&15,e.mode=Tu;case Tu:if(e.extra){for(N=e.extra;g<N;){if(l===0)break t;l--,d+=i[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=Ze;break}e.mode=Fu;case Fu:if(c===0)break t;if(p=A-c,e.offset>p){if(p=e.offset-p,p>e.whave&&e.sane){t.msg="invalid distance too far back",e.mode=Ze;break}p>e.wnext?(p-=e.wnext,E=e.wsize-p):E=e.wnext-p,p>e.length&&(p=e.length),I=e.window}else I=r,E=f-e.offset,p=e.length;p>c&&(p=c),c-=p,e.length-=p;do r[f++]=I[E++];while(--p);e.length===0&&(e.mode=Zs);break;case Bu:if(c===0)break t;r[f++]=e.length,c--,e.mode=Zs;break;case Ec:if(e.wrap){for(;g<32;){if(l===0)break t;l--,d|=i[o++]<<g,g+=8}if(A-=c,t.total_out+=A,e.total+=A,e.wrap&4&&A&&(t.adler=e.check=e.flags?vn(e.check,r,A,f-A):Do(e.check,r,A,f-A)),A=c,e.wrap&4&&(e.flags?d:ju(d))!==e.check){t.msg="incorrect data check",e.mode=Ze;break}d=0,g=0}e.mode=Ou;case Ou:if(e.wrap&&e.flags){for(;g<32;){if(l===0)break t;l--,d+=i[o++]<<g,g+=8}if(e.wrap&4&&d!==(e.total&4294967295)){t.msg="incorrect length check",e.mode=Ze;break}d=0,g=0}e.mode=Du;case Du:X=gp;break t;case Ze:X=p1;break t;case m1:return g1;case v1:default:return hi}return t.next_out=f,t.avail_out=c,t.next_in=o,t.avail_in=l,e.hold=d,e.bits=g,(e.wsize||A!==t.avail_out&&e.mode<Ze&&(e.mode<Ec||n!==gu))&&x1(t,t.output,t.next_out,A-t.avail_out),_-=t.avail_in,A-=t.avail_out,t.total_in+=_,t.total_out+=A,e.total+=A,e.wrap&4&&A&&(t.adler=e.check=e.flags?vn(e.check,r,A,t.next_out-A):Do(e.check,r,A,t.next_out-A)),t.data_type=e.bits+(e.last?64:0)+(e.mode===rr?128:0)+(e.mode===Vs||e.mode===Pc?256:0),(_===0&&A===0||n===gu)&&X===na&&(X=vp),X},Sp=t=>{if(ia(t))return hi;let n=t.state;return n.window&&(n.window=null),t.state=null,na},kp=(t,n)=>{if(ia(t))return hi;let e=t.state;return(e.wrap&2)===0?hi:(e.head=n,n.done=!1,na)},Cp=(t,n)=>{let e=n.length,i,r,o;return ia(t)||(i=t.state,i.wrap!==0&&i.mode!==Ks)?hi:i.mode===Ks&&(r=1,r=Do(r,n,e,0),r!==i.check)?p1:(o=x1(t,n,e,e),o?(i.mode=m1,g1):(i.havedict=1,na))},Pp=w1,Ep=y1,Ip=b1,Mp=Ap,Tp=_1,Fp=Np,Bp=Sp,Op=kp,Dp=Cp,jp="pako inflate (from Nodeca project)",Bi={inflateReset:Pp,inflateReset2:Ep,inflateResetKeep:Ip,inflateInit:Mp,inflateInit2:Tp,inflate:Fp,inflateEnd:Bp,inflateGetHeader:Op,inflateSetDictionary:Dp,inflateInfo:jp};function Rp(){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}
2var zp=Rp,A1=Object.prototype.toString,{Z_NO_FLUSH:Up,Z_FINISH:zu,Z_OK:Da,Z_STREAM_END:Tc,Z_NEED_DICT:Fc,Z_STREAM_ERROR:qp,Z_DATA_ERROR:Uu,Z_MEM_ERROR:Hp,Z_BUF_ERROR:qu}=Ua,Wp={chunkSize:1024*64,windowBits:15,to:""};function Ho(t){this.options=Qs.assign({},Wp,t||{});let 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)===0&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new h1,this.strm.avail_out=0;let e=Bi.inflateInit2(this.strm,n.windowBits);if(e!==Da)throw new Error(Qr[e]);if(this.header=new zp,Bi.inflateGetHeader(this.strm,this.header),n.dictionary&&(typeof n.dictionary=="string"?n.dictionary=Ro.string2buf(n.dictionary):A1.call(n.dictionary)==="[object ArrayBuffer]"&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(e=Bi.inflateSetDictionary(this.strm,n.dictionary),e!==Da)))throw new Error(Qr[e])}Ho.prototype.push=function(t,n){let e=this.strm,i=this.options.chunkSize,r=this.options.dictionary,o,f,l;if(this.ended)return!1;for(n===~~n?f=n:f=n===!0?zu:Up,A1.call(t)==="[object ArrayBuffer]"?e.input=new Uint8Array(t):e.input=t,e.next_in=0,e.avail_in=e.input.length;;){for(e.avail_out===0&&(e.output=new Uint8Array(i),e.next_out=0,e.avail_out=i),o=Bi.inflate(e,f),o===Fc&&r&&(o=Bi.inflateSetDictionary(e,r),o===Da?o=Bi.inflate(e,f):o===Uu&&(o=Fc));e.avail_in>0&&o===Tc&&e.state.wrap&2&&e.state.flags!==0&&e.input[e.next_in]!==0;)Bi.inflateReset(e),o=Bi.inflate(e,f);switch(o){case qp:case Uu:case Fc:case Hp:return this.onEnd(o),this.ended=!0,!1}if(l=e.avail_out,e.next_out&&(e.avail_out===0||o===Tc||f>0))if(this.options.to==="string"){let c=Ro.utf8border(e.output,e.next_out),d=e.next_out-c,g=Ro.buf2string(e.output,c);e.next_out=d,e.avail_out=i-d,d&&e.output.set(e.output.subarray(c,c+d),0),this.onData(g)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out)),e.avail_out=0,e.next_out=0;if(!((o===Da||o===qu)&&l===0)){if(o===Tc)return o=Bi.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(e.avail_in===0){if(f===zu)return o=Bi.inflateEnd(this.strm),this.onEnd(o===Da?qu:o),this.ended=!0,!1;break}}}return!0};Ho.prototype.onData=function(t){this.chunks.push(t)};Ho.prototype.onEnd=function(t){t===Da&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Qs.flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};function Kc(t,n){let e=new Ho(n);if(e.push(t,!0),e.err)throw e.msg||Qr[e.err];return e.result}function Gp(t,n){return n=n||{},n.raw=!0,Kc(t,n)}var Vp=Ho,Zp=Kc,$p=Gp,Yp=Kc,Xp=Ua,Kp={Inflate:Vp,inflate:Zp,inflateRaw:$p,ungzip:Yp,constants:Xp},{Deflate:cm,deflate:hm,deflateRaw:fm,gzip:um}=ap,{Inflate:Jp,inflate:Qp,inflateRaw:dm,ungzip:pm}=Kp;var Jc=Jp,L1=Qp;var S1=[];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;S1[t]=n}var N1=4294967295;function t5(t,n,e){let i=t;for(let r=0;r<e;r++)i=S1[(i^n[r])&255]^i>>>8;return i}function e5(t,n){return(t5(N1,t,n)^N1)>>>0}function Qc(t,n,e){let i=t.readUint32(),r=e5(new Uint8Array(t.buffer,t.byteOffset+t.offset-n-4,n),n);if(r!==i)throw new Error(`CRC mismatch for chunk ${e}. Expected ${i}, found ${r}`)}function el(t,n,e){for(let i=0;i<e;i++)n[i]=t[i]}function nl(t,n,e,i){let r=0;for(;r<i;r++)n[r]=t[r];for(;r<e;r++)n[r]=t[r]+n[r-i]&255}function il(t,n,e,i){let r=0;if(e.length===0)for(;r<i;r++)n[r]=t[r];else for(;r<i;r++)n[r]=t[r]+e[r]&255}function rl(t,n,e,i,r){let o=0;if(e.length===0){for(;o<r;o++)n[o]=t[o];for(;o<i;o++)n[o]=t[o]+(n[o-r]>>1)&255}else{for(;o<r;o++)n[o]=t[o]+(e[o]>>1)&255;for(;o<i;o++)n[o]=t[o]+(n[o-r]+e[o]>>1)&255}}function al(t,n,e,i,r){let o=0;if(e.length===0){for(;o<r;o++)n[o]=t[o];for(;o<i;o++)n[o]=t[o]+n[o-r]&255}else{for(;o<r;o++)n[o]=t[o]+e[o]&255;for(;o<i;o++)n[o]=t[o]+n5(n[o-r],e[o],e[o-r])&255}}function n5(t,n,e){let i=t+n-e,r=Math.abs(i-t),o=Math.abs(i-n),f=Math.abs(i-e);return r<=o&&r<=f?t:o<=f?n:e}function k1(t,n,e,i,r,o){switch(t){case 0:el(n,e,r);break;case 1:nl(n,e,r,o);break;case 2:il(n,e,i,r);break;case 3:rl(n,e,i,r,o);break;case 4:al(n,e,i,r,o);break;default:throw new Error(`Unsupported filter: ${t}`)}}var i5=new Uint16Array([255]),r5=new Uint8Array(i5.buffer),a5=r5[0]===255;function C1(t){let{data:n,width:e,height:i,channels:r,depth:o}=t,f=[{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)*r,c=new Uint8Array(i*e*l),d=0;for(let g=0;g<7;g++){let _=f[g],A=Math.ceil((e-_.x)/_.xStep),p=Math.ceil((i-_.y)/_.yStep);if(A<=0||p<=0)continue;let E=A*l,I=new Uint8Array(E);for(let O=0;O<p;O++){let k=n[d++],G=n.subarray(d,d+E);d+=E;let V=new Uint8Array(E);k1(k,G,V,I,E,l),I.set(V);for(let z=0;z<A;z++){let rt=_.x+z*_.xStep,vt=_.y+O*_.yStep;if(!(rt>=e||vt>=i))for(let dt=0;dt<l;dt++)c[(vt*e+rt)*l+dt]=V[z*l+dt]}}}if(o===16){let g=new Uint16Array(c.buffer);if(a5)for(let _=0;_<g.length;_++)g[_]=o5(g[_]);return g}else return c}function o5(t){return(t&255)<<8|t>>8&255}var s5=new Uint16Array([255]),l5=new Uint8Array(s5.buffer),c5=l5[0]===255,h5=new Uint8Array(0);function th(t){let{data:n,width:e,height:i,channels:r,depth:o}=t,f=Math.ceil(o/8)*r,l=Math.ceil(o/8*r*e),c=new Uint8Array(i*l),d=h5,g=0,_,A;for(let p=0;p<i;p++){switch(_=n.subarray(g+1,g+1+l),A=c.subarray(p*l,(p+1)*l),n[g]){case 0:el(_,A,l);break;case 1:nl(_,A,l,f);break;case 2:il(_,A,d,l);break;case 3:rl(_,A,d,l,f);break;case 4:al(_,A,d,l,f);break;default:throw new Error(`Unsupported filter: ${n[g]}`)}d=A,g+=l+1}if(o===16){let p=new Uint16Array(c.buffer);if(c5)for(let E=0;E<p.length;E++)p[E]=f5(p[E]);return p}else return c}function f5(t){return(t&255)<<8|t>>8&255}var ol=Uint8Array.of(137,80,78,71,13,10,26,10);function eh(t){if(!P1(t.readBytes(ol.length)))throw new Error("wrong PNG signature")}function P1(t){if(t.length<ol.length)return!1;for(let n=0;n<ol.length;n++)if(t[n]!==ol[n])return!1;return!0}var E1="tEXt",d5=0,I1=new TextDecoder("latin1");function p5(t){if(m5(t),t.length===0||t.length>79)throw new Error("keyword length must be between 1 and 79")}var g5=/^[\u0000-\u00FF]*$/;function m5(t){if(!g5.test(t))throw new Error("invalid latin1 text")}function M1(t,n,e){let i=nh(n);
2t[i]=v5(n,e-i.length-1)}function nh(t){for(t.mark();t.readByte()!==d5;);let n=t.offset;t.reset();let e=I1.decode(t.readBytes(n-t.offset-1));return t.skip(1),p5(e),e}function v5(t,n){return I1.decode(t.readBytes(n))}var zn={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Wo={UNKNOWN:-1,DEFLATE:0},sl={UNKNOWN:-1,ADAPTIVE:0},Go={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Vo={NONE:0,BACKGROUND:1,PREVIOUS:2},ll={SOURCE:0,OVER:1};var cl=class extends So{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(n,e={}){super(n);let{checkCrc:i=!1}=e;this._checkCrc=i,this._inflator=new Jc,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=Wo.UNKNOWN,this._filterMethod=sl.UNKNOWN,this._interlaceMethod=Go.UNKNOWN,this._colorType=zn.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(eh(this);!this._end;){let n=this.readUint32(),e=this.readChars(4);this.decodeChunk(n,e)}return this.decodeImage(),this._png}decodeApng(){for(eh(this);!this._end;){let n=this.readUint32(),e=this.readChars(4);this.decodeApngChunk(n,e)}return this.decodeApngImage(),this._apng}decodeChunk(n,e){let i=this.offset;switch(e){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(n);break;case"IDAT":this.decodeIDAT(n);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(n);break;case"iCCP":this.decodeiCCP(n);break;case E1:M1(this._png.text,this,n);break;case"pHYs":this.decodepHYs();break;default:this.skip(n);break}if(this.offset-i!==n)throw new Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?Qc(this,n+4,e):this.skip(4)}decodeApngChunk(n,e){let i=this.offset;switch(e!=="fdAT"&&e!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),e){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(n);break;default:this.decodeChunk(n,e),this.offset=i+n;break}if(this.offset-i!==n)throw new Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?Qc(this,n+4,e):this.skip(4)}decodeIHDR(){let n=this._png;n.width=this.readUint32(),n.height=this.readUint32(),n.depth=b5(this.readUint8());let e=this.readUint8();this._colorType=e;let i;switch(e){case zn.GREYSCALE:i=1;break;case zn.TRUECOLOUR:i=3;break;case zn.INDEXED_COLOUR:i=1;break;case zn.GREYSCALE_ALPHA:i=2;break;case zn.TRUECOLOUR_ALPHA:i=4;break;case zn.UNKNOWN:default:throw new Error(`Unknown color type: ${e}`)}if(this._png.channels=i,this._compressionMethod=this.readUint8(),this._compressionMethod!==Wo.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(){let n={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(n)}decodePLTE(n){if(n%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${n}`);let e=n/3;this._hasPalette=!0;let i=[];this._palette=i;for(let r=0;r<e;r++)i.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(n){this._writingDataChunks=!0;let e=n,i=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,i,e)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(n)}decodeFDAT(n){this._writingDataChunks=!0;let e=n,i=this.offset+this.byteOffset;if(i+=4,e-=4,this._inflator.push(new Uint8Array(this.buffer,i,e)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(n)}decodetRNS(n){switch(this._colorType){case zn.GREYSCALE:case zn.TRUECOLOUR:{if(n%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${n}`);if(n/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alph
vendor: 5,393 bytes, line 2
2a values than there are pixels (${n/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(n/2);for(let e=0;e<n/2;e++)this._transparency[e]=this.readUint16();break}case zn.INDEXED_COLOUR:{if(n>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${n} vs ${this._palette.length})`);let e=0;for(;e<n;e++){let i=this.readByte();this._palette[e].push(i)}for(;e<this._palette.length;e++)this._palette[e].push(255);break}case zn.UNKNOWN:case zn.GREYSCALE_ALPHA:case zn.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(n){let e=nh(this),i=this.readUint8();if(i!==Wo.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${i}`);let r=this.readBytes(n-e.length-2);this._png.iccEmbeddedProfile={name:e,profile:L1(r)}}decodepHYs(){let n=this.readUint32(),e=this.readUint32(),i=this.readByte();this._png.resolution={x:n,y:e,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 n=0;n<this._numberOfFrames;n++){let e={sequenceNumber:this._frames[n].sequenceNumber,delayNumber:this._frames[n].delayNumber,delayDenominator:this._frames[n].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(n);if(i){if(i.data=th({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),n===0||i.xOffset===0&&i.yOffset===0&&i.width===this._png.width&&i.height===this._png.height)e.data=i.data;else{let r=this._apng.frames.at(n-1);this.disposeFrame(i,r,e),this.addFrameDataToCanvas(e,i)}this._apng.frames.push(e)}}return this._apng}disposeFrame(n,e,i){switch(n.disposeOp){case Vo.NONE:break;case Vo.BACKGROUND:for(let r=0;r<this._png.height;r++)for(let o=0;o<this._png.width;o++){let f=(r*n.width+o)*this._png.channels;for(let l=0;l<this._png.channels;l++)i.data[f+l]=0}break;case Vo.PREVIOUS:i.data.set(e.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(n,e){let i=1<<this._png.depth,r=(o,f)=>{let l=((o+e.yOffset)*this._png.width+e.xOffset+f)*this._png.channels,c=(o*e.width+f)*this._png.channels;return{index:l,frameIndex:c}};switch(e.blendOp){case ll.SOURCE:for(let o=0;o<e.height;o++)for(let f=0;f<e.width;f++){let{index:l,frameIndex:c}=r(o,f);for(let d=0;d<this._png.channels;d++)n.data[l+d]=e.data[c+d]}break;case ll.OVER:for(let o=0;o<e.height;o++)for(let f=0;f<e.width;f++){let{index:l,frameIndex:c}=r(o,f);for(let d=0;d<this._png.channels;d++){let g=e.data[c+this._png.channels-1]/i,_=d%(this._png.channels-1)===0?1:e.data[c+d],A=Math.floor(g*_+(1-g)*n.data[l+d]);n.data[l+d]+=A}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);let n=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==sl.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Go.NO_INTERLACE)this._png.data=th({data:n,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===Go.ADAM7)this._png.data=C1({data:n,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(){let n=this._inflator.result,e=this._frames.at(-1);e?e.data=n:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Vo.NONE,blendOp:ll.SOURCE,data:n}),this._inflator=new Jc,this._writingDataChunks=!1}};function b5(t){if(t!==1&&t!==2&&t!==4&&t!==8&&t!==16)throw new Error(`invalid bit depth: ${t}`);return t}function T1(t,n){return new cl(t,n).decode()}var Qt=(function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this})();function ih(){Qt.console&&typeof Qt.console.log=="function"&&Qt.console.log.apply(Qt.console,arguments)}var Oe={log:ih,warn:function(t){Qt.console&&(typeof Qt.console.warn=="function"?Qt.console.warn.apply(Qt.console,arguments):ih.call(null,arguments))},error:function(t){Qt.console&&(typeof Qt.console.error=="function"?Qt.console.error.apply(Qt.console,arguments):ih(t))}};function rh(t,n,e){var i=new XMLHttpRequest;i.open("GET",t),i.responseType="blob",i.onload=function(){ra(i.response,n,e)},i.onerror=function(){Oe.error("could not download file")},i.send()}function F1(t){var n=new XMLHttpRequest;n.open("HEAD",t,!1);try{n.send()}catch{}return n.status>=200&&n.status<=299}function hl(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var n=document.createEvent("MouseEvents");
vendor: 3,223 bytes, line 2
2n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}var ra=Qt.saveAs||((typeof window>"u"?"undefined":Te(window))!=="object"||window!==Qt?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,n,e){var i=Qt.URL||Qt.webkitURL,r=document.createElement("a");n=n||t.name||"download",r.download=n,r.rel="noopener",typeof t=="string"?(r.href=t,r.origin!==location.origin?F1(r.href)?rh(t,n,e):hl(r,r.target="_blank"):hl(r)):(r.href=i.createObjectURL(t),setTimeout(function(){i.revokeObjectURL(r.href)},4e4),setTimeout(function(){hl(r)},0))}:"msSaveOrOpenBlob"in navigator?function(t,n,e){if(n=n||t.name||"download",typeof t=="string")if(F1(t))rh(t,n,e);else{var i=document.createElement("a");i.href=t,i.target="_blank",setTimeout(function(){hl(i)})}else navigator.msSaveOrOpenBlob((function(r,o){return o===void 0?o={autoBom:!1}:Te(o)!=="object"&&(Oe.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(r.type)?new Blob(["\uFEFF",r],{type:r.type}):r})(t,e),n)}:function(t,n,e,i){if((i=i||open("","_blank"))&&(i.document.title=i.document.body.innerText="downloading..."),typeof t=="string")return rh(t,n,e);var r=t.type==="application/octet-stream",o=/constructor/i.test(Qt.HTMLElement)||Qt.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||r&&o)&&(typeof FileReader>"u"?"undefined":Te(FileReader))==="object"){var l=new FileReader;l.onloadend=function(){var g=l.result;g=f?g:g.replace(/^data:[^;]*;/,"data:attachment/file;"),i?i.location.href=g:location=g,i=null},l.readAsDataURL(t)}else{var c=Qt.URL||Qt.webkitURL,d=c.createObjectURL(t);i?i.location=d:location.href=d,i=null,setTimeout(function(){c.revokeObjectURL(d)},4e4)}});function n0(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
20",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)]}}],i=0;i<e.length;i++){var r=e[i].re,o=e[i].process,f=r.exec(t);f&&(n=o(f),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),c=this.g.toString(16),d=this.b.toString(16);return l.length==1&&(l="0"+l),c.length==1&&(c="0"+c),d.length==1&&(d="0"+d),"#"+l+c+d}}var dl=Qt.atob.bind(Qt),B1=Qt.btoa.bind(Qt);function ah(t,n){var e=t[0],i=t[1],r=t[2],o=t[3];e=En(e,i,r,o,n[0],7,-680876936),o=En(o,e,i,r,n[1],12,-389564586),r=En(r,o,e,i,n[2],17,606105819),i=En(i,r,o,e,n[3],22,-1044525330),e=En(e,i,r,o,n[4],7,-176418897),o=En(o,e,i,r,n[5],12,1200080426),r=En(r,o,e,i,n[6],17,-1473231341),i=En(i,r,o,e,n[7],22,-45705983),e=En(e,i,r,o,n[8],7,1770035416),o=En(o,e,i,r,n[9],12,-1958414417),r=En(r,o,e,i,n[10],17,-42063),i=En(i,r,o,e,n[11],22,-1990404162),e=En(e,i,r,o,n[12],7,1804603682),o=En(o,e,i,r,n[13],12,-40341101),r=En(r,o,e,i,n[14],17,-1502002290),e=In(e,i=En(i,r,o,e,n[15],22,1236535329),r,o,n[1],5,-165796510),o=In(o,e,i,r,n[6],9,-1069501632),r=In(r,o,e,i,n[11],14,643717713),i=In(i,r,o,e,n[0],20,-373897302),e=In(e,i,r,o,n[5],5,-701558691),o=In(o,e,i,r,n[10],9,38016083),r=In(r,o,e,i,n[15],14,-660478335),i=In(i,r,o,e,n[4],20,-405537848),e=In(e,i,r,o,n[9],5,568446438),o=In(o,e,i,r,n[14],9,-1019803690),r=In(r,o,e,i,n[3],14,-187363961),i=In(i,r,o,e,n[8],20,1163531501),e=In(e,i,r,o,n[13],5,-1444681467),o=In(o,e,i,r,n[2],9,-51403784),r=In(r,o,e,i,n[7],14,1735328473),e=Mn(e,i=In(i,r,o,e,n[12],20,-1926607734),r,o,n[5],4,-378558),o=Mn(o,e,i,r,n[8],11,-2022574463),r=Mn(r,o,e,i,n[11],16,1839030562),i=Mn(i,r,o,e,n[14],23,-35309556),e=Mn(e,i,r,o,n[1],4,-1530992060),o=Mn(o,e,i,r,n[4],11,1272893353),r=Mn(r,o,e,i,n[7],16,-155497632),i=Mn(i,r,o,e,n[10],23,-1094730640),e=Mn(e,i,r,o,n[13],4,681279174),o=Mn(o,e,i,r,n[0],11,-358537222),r=Mn(r,o,e,i,n[3],16,-722521979),i=Mn(i,r,o,e,n[6],23,76029189),e=Mn(e,i,r,o,n[9],4,-640364487),o=Mn(o,e,i,r,n[12],11,-421815835),r=Mn(r,o,e,i,n[15],16,530742520),e=Tn(e,i=Mn(i,r,o,e,n[2],23,-995338651),r,o,n[0],6,-198630844),o=Tn(o,e,i,r,n[7],10,1126891415),r=Tn(r,o,e,i,n[14],15,-1416354905),i=Tn(i,r,o,e,n[5],21,-57434055),e=Tn(e,i,r,o,n[12],6,1700485571),o=Tn(o,e,i,r,n[3],10,-1894986606),r=Tn(r,o,e,i,n[10],15,-1051523),i=Tn(i,r,o,e,n[1],21,-2054922799),e=Tn(e,i,r,o,n[8],6,1873313359),o=Tn(o,e,i,r,n[15],10,-30611744),r=Tn(r,o,e,i,n[6],15,-1560198380),i=Tn(i,r,o,e,n[13],21,1309151649),e=Tn(e,i,r,o,n[4],6,-145523070),o=Tn(o,e,i,r,n[11],10,-1120210379),r=Tn(r,o,e,i,n[2],15,718787259),i=Tn(i,r,o,e,n[9],21,-343485551),t[0]=Cr(e,t[0]),t[1]=Cr(i,t[1]),t[2]=Cr(r,t[2]),t[3]=Cr(o,t[3])}function yl(t,n,e,i,r,o){return n=Cr(Cr(n,t),Cr(i,o)),Cr(n<<r|n>>>32-r,e)}function En(t,n,e,i,r,o,f){return yl(n&e|~n&i,t,n,r,o,f)}function In(t,n,e,i,r,o,f){return yl(n&i|e&~i,t,n,r,o,f)}function Mn(t,n,e,i,r,o,f){return yl(n^e^i,t,n,r,o,f)}function Tn(t,n,e,i,r,o,f){return yl(e^(n|~i),t,n,r,o,f)}function i0(t){var n,e=t.length,i=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=t.length;n+=64)ah(i,w5(t.substring(n-64,n)));t=t.substring(n-64);var r=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n<t.length;n++)r[n>>2]|=t.charCodeAt(n)<<(n%4<<3);if(r[n>>2]|=128<<(n%4<<3),n>55)for(ah(i,r),n=0;n<16;n++)r[n]=0;return r[14]=8*e,ah(i,r),i}function w5(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 O1="0123456789abcdef".split("");function y5(t){for(var n="",e=0;e<4;e++)n+=O1[t>>8*e+4&15]+O1[t>>8*e&15];return n}function _5(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function fh(t){return i0(t).map(_5).join("")}var x5=(function(t){for(var n=0;n<t.length;n++)t[n]=y5(t[n]);return t.join("")})(i0("hello"))!="5d41402abc4b2a76b9719d911017c592";function Cr(t,n){if(x5){var e=(65535&t)+(65535&n);return(t>>16)+(n>>16)+(e>>16)<<16|65535&e}return t+n&4294967295}function uh(t,n){var e,i,r,o;
vendor: 11,299 bytes, line 2
2if(t!==e){for(var f=(r=t,o=1+(256/t.length|0),new Array(o+1).join(r)),l=[],c=0;c<256;c++)l[c]=c;var d=0;for(c=0;c<256;c++){var g=l[c];d=(d+g+f.charCodeAt(c))%256,l[c]=l[d],l[d]=g}e=t,i=l}else l=i;var _=n.length,A=0,p=0,E="";for(c=0;c<_;c++)p=(p+(g=l[A=(A+1)%256]))%256,l[A]=l[p],l[p]=g,f=l[(l[A]+l[p])%256],E+=String.fromCharCode(n.charCodeAt(c)^f);return E}var D1={print:4,modify:8,copy:16,"annot-forms":32};function Va(t,n,e,i){this.v=1,this.r=2;var r=192;t.forEach(function(l){if(D1.perm!==void 0)throw new Error("Invalid permission: "+l);r+=D1[l]}),this.padding="(\xBFN^Nu\x8AAd\0NV\xFF\xFA�\b..\0\xB6\xD0h>\x80/\f\xA9\xFEdSiz";var o=(n+this.padding).substr(0,32),f=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,f),this.P=-(1+(255^r)),this.encryptionKey=fh(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(i)).substr(0,5),this.U=uh(this.encryptionKey,this.padding)}function Za(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var n="",e=t.length,i=0;i<e;i++){var r=t.charCodeAt(i);n+=r<33||r===35||r===37||r===40||r===41||r===47||r===60||r===62||r===91||r===93||r===123||r===125||r>126?"#"+("0"+r.toString(16)).slice(-2):t[i]}return n}function j1(t){if(Te(t)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var n={};this.subscribe=function(e,i,r){if(r=r||!1,typeof e!="string"||typeof i!="function"||typeof r!="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]=[i,!!r],o},this.unsubscribe=function(e){for(var i in n)if(n[i][e])return delete n[i][e],Object.keys(n[i]).length===0&&delete n[i],!0;return!1},this.publish=function(e){if(n.hasOwnProperty(e)){var i=Array.prototype.slice.call(arguments,1),r=[];for(var o in n[e]){var f=n[e][o];try{f[0].apply(t,i)}catch(l){Qt.console&&Oe.error("jsPDF PubSub Error",l.message,l)}f[1]&&r.push(o)}r.length&&r.forEach(this.unsubscribe)}},this.getTopics=function(){return n}}function bl(t){if(!(this instanceof bl))return new bl(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 r0(t,n){this.gState=t,this.matrix=n,this.id="",this.objectNumber=-1}function aa(t,n,e,i,r){if(!(this instanceof aa))return new aa(t,n,e,i,r);this.type=t==="axial"?2:3,this.coords=n,this.colors=e,r0.call(this,i,r)}function $a(t,n,e,i,r){if(!(this instanceof $a))return new $a(t,n,e,i,r);this.boundingBox=t,this.xStep=n,this.yStep=e,this.stream="",this.cloneIndex=0,r0.call(this,i,r)}function jt(t){var n,e=typeof arguments[0]=="string"?arguments[0]:"p",i=arguments[1],r=arguments[2],o=arguments[3],f=[],l=1,c=16,d="S",g=null;Te(t=t||{})==="object"&&(e=t.orientation,i=t.unit||i,r=t.format||r,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&&(c=t.floatPrecision),d=t.defaultPathOperation||"S"),f=t.filters||(o===!0?["FlateEncode"]:f),i=i||"mm",e=(""+(e||"P")).toLowerCase();var _=t.putOnlyUsedFonts||!1,A={},p={internal:{},__private__:{}};p.__private__.PubSub=j1;var E="1.3",I=p.__private__.getPdfVersion=function(){return E};p.__private__.setPdfVersion=function(h){E=h};var O={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 O};var k=p.__private__.getPageFormat=function(h){return O[h]};r=r||"a4";var G="compat",V="advanced",z=G;function rt(){this.saveGraphicsState(),C(new $t(oe,0,0,-oe,0,Or()*oe).toString()+" cm"),this.setFontSize(this.getFontSize()/oe),d="n",z=V}function vt(){this.restoreGraphicsState(),d="S",z=G}var dt=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=z===G;return v&&rt.call(this),typeof h!="function"||(h(this),v&&vt.call(this)),this},p.compatAPI=function(h){var v=z===V;return v&&vt.call(this),typeof h!="function"||(h(this),v&&rt.call(this)),this},p.isAdvancedAPI=function(){return z===V};var X,D=function(h){if(z!==V)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 P=n||v;if(isNaN(h)||isNaN(P))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return h.toFixed(P).replace(/0+$/,"")};X=p.hpf=p.__private__.hpf=typeof c=="number"?function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.hpf");return tt(h,c)}:c==="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 N=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)},q=p.scale=p.__private__.scale=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.scale");return z===G?h*oe:z===V?h:void 0},U=function(h){return q((function(v){return z===G?Or()-v:z===V?v:void 0})(h))};p.__private__.setPrecision=p.setPrecision=function(h){typeof parseInt(h,10)=="number"&&(n=parseInt(h,10))};var it,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&&(yn=new Va(g.userPermissions,g.userPassword,g.ownerPassword,st)),st};p.setFileId=function(h){return nt(h),this},p.getFileId=function(){return ht()};var ut=p.__private__.convertDateToPDFDate=function(h){var v=h.getTimezoneOffset(),P=v<0?"+":"-",R=Math.floor(Math.abs(v/60)),Y=Math.abs(v%60),lt=[P,j(R),"'",j(Y),"'"].join("");return["D:",h.getFullYear(),j(h.getMonth()+1),j(h.getDate()),j(h.getHours()),j(h.getMinutes()),j(h.getSeconds()),lt].join("")},At=p.__private__.convertPDFDateToDate=function(h){var v=parseInt(h.substr(2,4),10),P=parseInt(h.substr(6,2),10)-1,R=parseInt(h.substr(8,2),10),Y=parseInt(h.substr(10,2),10),lt=parseInt(h.substr(12,2),10),mt=parseInt(h.substr(14,2),10);return new Date(v,P,R,Y,lt,mt,0)},wt=p.__private__.setCreationDate=function(h){var v;if(h===void 0&&(h=new Date),h instanceof Date)v=ut(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 jsPDF.setCreationDate");v=h}return it=v},x=p.__private__.getCreationDate=function(h){var v=it;return h==="jsDate"&&(v=At(it)),v};p.setCreationDate=function(h){return wt(h),this},p.getCreationDate=function(h){return x(h)};var B,j=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)},$=0,J=[],at=[],ot=0,gt=[],xt=[],kt=!1,St=at;p.__private__.setCustomOutputDestination=function(h){kt=!0,St=h};var Ut=function(h){kt||(St=h)};p.__private__.resetCustomOutputDestination=function(){kt=!1,St=at};var C=p.__private__.out=function(h){return h=h.toString(),ot+=h.length+1,St.push(h),St},Nt=p.__private__.write=function(h){return C(arguments.length===1?h.toString():Array.prototype.join.call(arguments," "))},ce=p.__private__.getArrayBuffer=function(h){for(var v=h.length,P=new ArrayBuffer(v),R=new Uint8Array(P);v--;)R[v]=h.charCodeAt(v);return P},Gt=[["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 Gt};var yt=t.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(h){return yt=z===V?h/oe:h,this};var Vt,Pt=p.__private__.getFontSize=p.getFontSize=function(){return z===G?yt:yt*oe},Wt=t.R2L||!1;p.__private__.setR2L=p.setR2L=function(h){return Wt=h,this},p.__private__.getR2L=p.getR2L=function(){return Wt};var qt,ke=p.__private__.setZoomMode=function(h){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(h))Vt=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.');Vt=h}else Vt=parseInt(h,10)};p.__private__.getZoomMode=function(){return Vt};var pe,ne=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 me=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.');pe=h};p.__private__.getLayoutMode=function(){return pe},p.__private__.setDisplayMode=p.setDisplayMode=function(h,v,P){return ke(h),me(v),ne(P),this};var ge={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(h){if(Object.keys(ge).indexOf(h)===-1)throw new Error("Invalid argument passed to
2jsPDF.getDocumentProperty");return ge[h]},p.__private__.getDocumentProperties=function(){return ge},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(h){for(var v in ge)ge.hasOwnProperty(v)&&h[v]&&(ge[v]=h[v]);return this},p.__private__.setDocumentProperty=function(h,v){if(Object.keys(ge).indexOf(h)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ge[h]=v};var Dt,oe,zt,tn,_e,he={},fe={},We=[],Ht={},De={},Kt={},ie={},Ge=null,de=0,Zt=[],Ce=new j1(p),Er=t.hotfixes||[],Nn={},qi={},Li=[],$t=function h(v,P,R,Y,lt,mt){if(!(this instanceof h))return new h(v,P,R,Y,lt,mt);isNaN(v)&&(v=1),isNaN(P)&&(P=0),isNaN(R)&&(R=0),isNaN(Y)&&(Y=1),isNaN(lt)&&(lt=0),isNaN(mt)&&(mt=0),this._matrix=[v,P,R,Y,lt,mt]};Object.defineProperty($t.prototype,"sx",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty($t.prototype,"shy",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty($t.prototype,"shx",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty($t.prototype,"sy",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty($t.prototype,"tx",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty($t.prototype,"ty",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty($t.prototype,"a",{get:function(){return this._matrix[0]},set:function(h){this._matrix[0]=h}}),Object.defineProperty($t.prototype,"b",{get:function(){return this._matrix[1]},set:function(h){this._matrix[1]=h}}),Object.defineProperty($t.prototype,"c",{get:function(){return this._matrix[2]},set:function(h){this._matrix[2]=h}}),Object.defineProperty($t.prototype,"d",{get:function(){return this._matrix[3]},set:function(h){this._matrix[3]=h}}),Object.defineProperty($t.prototype,"e",{get:function(){return this._matrix[4]},set:function(h){this._matrix[4]=h}}),Object.defineProperty($t.prototype,"f",{get:function(){return this._matrix[5]},set:function(h){this._matrix[5]=h}}),Object.defineProperty($t.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty($t.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty($t.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty($t.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),$t.prototype.join=function(h){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(X).join(h)},$t.prototype.multiply=function(h){var v=h.sx*this.sx+h.shy*this.shx,P=h.sx*this.shy+h.shy*this.sy,R=h.shx*this.sx+h.sy*this.shx,Y=h.shx*this.shy+h.sy*this.sy,lt=h.tx*this.sx+h.ty*this.shx+this.tx,mt=h.tx*this.shy+h.ty*this.sy+this.ty;return new $t(v,P,R,Y,lt,mt)},$t.prototype.decompose=function(){var h=this.sx,v=this.shy,P=this.shx,R=this.sy,Y=this.tx,lt=this.ty,mt=Math.sqrt(h*h+v*v),Mt=(h/=mt)*P+(v/=mt)*R;P-=h*Mt,R-=v*Mt;var It=Math.sqrt(P*P+R*R);return Mt/=It,h*(R/=It)<v*(P/=It)&&(h=-h,v=-v,Mt=-Mt,mt=-mt),{scale:new $t(mt,0,0,It,0,0),translate:new $t(1,0,0,1,Y,lt),rotate:new $t(h,v,-v,h,0,0),skew:new $t(1,0,Mt,1,0,0)}},$t.prototype.toString=function(h){return this.join(" ")},$t.prototype.inversed=function(){var h=this.sx,v=this.shy,P=this.shx,R=this.sy,Y=this.tx,lt=this.ty,mt=1/(h*R-v*P),Mt=R*mt,It=-v*mt,te=-P*mt,re=h*mt;return new $t(Mt,It,te,re,-Mt*Y-te*lt,-It*Y-re*lt)},$t.prototype.applyToPoint=function(h){var v=h.x*this.sx+h.y*this.shx+this.tx,P=h.x*this.shy+h.y*this.sy+this.ty;return new Br(v,P)},$t.prototype.applyToRectangle=function(h){var v=this.applyToPoint(h),P=this.applyToPoint(new Br(h.x+h.w,h.y+h.h));return new so(v.x,v.y,P.x-v.x,P.y-v.y)},$t.prototype.clone=function(){var h=this.sx,v=this.shy,P=this.shx,R=this.sy,Y=this.tx,lt=this.ty;return new $t(h,v,P,R,Y,lt)},p.Matrix=$t;var Hi=p.matrixMult=function(h,v){return v.multiply(h)},Wi=new $t(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=Wi;var ni=function(h,v){if(!De[h]){var P=(v instanceof aa?"Sh":"P")+(Object.keys(Ht).length+1).toString(10);v.id=P,De[h]=P,Ht[P]=v,Ce.publish("addPattern",v)}};p.ShadingPattern=aa,p.TilingPattern=$a,p.addShadingPattern=function(h,v){return D("addShadingPattern()"),ni(h,v),this},p.beginTilingPattern=function(h){D("beginTilingPattern()"),lo(h.boundingBox[0],h.boundingBox[1],h.boundingBox[2]-h.boundingBox[0],h.boundingBox[3]-h.boundingBox[1],h.matrix
vendor: 13,033 bytes, lines 2-6
2)},p.endTilingPattern=function(h,v){D("endTilingPattern()"),v.stream=xt[B].join(` 3`),ni(h,v),Ce.publish("endTilingPattern",v),Li.pop().restore()};var ii,Xe=p.__private__.newObject=function(){var h=mn();return wn(h,!0),h},mn=p.__private__.newObjectDeferred=function(){return $++,J[$]=function(){return ot},$},wn=function(h,v){return v=typeof v=="boolean"&&v,J[h]=ot,v&&C(h+" 0 obj"),h},Ir=p.__private__.newAdditionalObject=function(){var h={objId:mn(),content:""};return gt.push(h),h},or=mn(),fi=mn(),Ni=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 P=parseFloat(v[0]);v=[P,P,P,"r"]}for(var R="#",Y=0;Y<3;Y++)R+=("0"+Math.floor(255*parseFloat(v[Y])).toString(16)).slice(-2);return R},ui=p.__private__.encodeColorString=function(h){var v;typeof h=="string"&&(h={ch1:h});var P=h.ch1,R=h.ch2,Y=h.ch3,lt=h.ch4,mt=h.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof P=="string"&&P.charAt(0)!=="#"){var Mt=new n0(P);if(Mt.ok)P=Mt.toHex();else if(!/^\d*\.?\d*$/.test(P))throw new Error('Invalid color "'+P+'" passed to jsPDF.encodeColorString.')}if(typeof P=="string"&&/^#[0-9A-Fa-f]{3}$/.test(P)&&(P="#"+P[1]+P[1]+P[2]+P[2]+P[3]+P[3]),typeof P=="string"&&/^#[0-9A-Fa-f]{6}$/.test(P)){var It=parseInt(P.substr(1),16);P=It>>16&255,R=It>>8&255,Y=255&It}if(R===void 0||lt===void 0&&P===R&&R===Y)v=typeof P=="string"?P+" "+mt[0]:h.precision===2?N(P/255)+" "+mt[0]:F(P/255)+" "+mt[0];else if(lt===void 0||Te(lt)==="object"){if(lt&&!isNaN(lt.a)&<.a===0)return["1.","1.","1.",mt[1]].join(" ");v=typeof P=="string"?[P,R,Y,mt[1]].join(" "):h.precision===2?[N(P/255),N(R/255),N(Y/255),mt[1]].join(" "):[F(P/255),F(R/255),F(Y/255),mt[1]].join(" ")}else v=typeof P=="string"?[P,R,Y,lt,mt[2]].join(" "):h.precision===2?[N(P),N(R),N(Y),N(lt),mt[2]].join(" "):[F(P),F(R),F(Y),F(lt),mt[2]].join(" ");return v},di=p.__private__.getFilters=function(){return f},ri=p.__private__.putStream=function(h){var v=(h=h||{}).data||"",P=h.filters||di(),R=h.alreadyAppliedFilters||[],Y=h.addLength1||!1,lt=v.length,mt=h.objectId,Mt=function(Ue){return Ue};if(g!==null&&mt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");g!==null&&(Mt=yn.encryptor(mt,0));var It={};P===!0&&(P=["FlateEncode"]);var te=h.additionalKeyValues||[],re=(It=jt.API.processDataByFilters!==void 0?jt.API.processDataByFilters(v,P):{data:v,reverseChain:[]}).reverseChain+(Array.isArray(R)?R.join(" "):R.toString());if(It.data.length!==0&&(te.push({key:"Length",value:It.data.length}),Y===!0&&te.push({key:"Length1",value:lt})),re.length!=0)if(re.split("/").length-1==1)te.push({key:"Filter",value:re});else{te.push({key:"Filter",value:"["+re+"]"});for(var be=0;be<te.length;be+=1)if(te[be].key==="DecodeParms"){for(var cn=[],Fe=0;Fe<It.reverseChain.split("/").length-1;Fe+=1)cn.push("null");cn.push(te[be].value),te[be].value="["+cn.join(" ")+"]"}}C("<<");for(var Me=0;Me<te.length;Me++)C("/"+te[Me].key+" "+te[Me].value);C(">>"),It.data.length!==0&&(C("stream"),C(Mt(It.data)),C("endstream"))},Mr=p.__private__.putPage=function(h){var v=h.number,P=h.data,R=h.objId,Y=h.contentsObjId;wn(R,!0),C("<</Type /Page"),C("/Parent "+h.rootDictionaryObjId+" 0 R"),C("/Resources "+h.resourceDictionaryObjId+" 0 R"),C("/MediaBox ["+parseFloat(X(h.mediaBox.bottomLeftX))+" "+parseFloat(X(h.mediaBox.bottomLeftY))+" "+X(h.mediaBox.topRightX)+" "+X(h.mediaBox.topRightY)+"]"),h.cropBox!==null&&C("/CropBox ["+X(h.cropBox.bottomLeftX)+" "+X(h.cropBox.bottomLeftY)+" "+X(h.cropBox.topRightX)+" "+X(h.cropBox.topRightY)+"]"),h.bleedBox!==null&&C("/BleedBox ["+X(h.bleedBox.bottomLeftX)+" "+X(h.bleedBox.bottomLeftY)+" "+X(h.bleedBox.topRightX)+" "+X(h.bleedBox.topRightY)+"]"),h.trimBox!==null&&C("/TrimBox ["+X(h.trimBox.bottomLeftX)+" "+X(h.trimBox.bottomLeftY)+" "+X(h.trimBox.topRightX)+" "+X(h.trimBox.topRightY)+"]"),h.artBox!==null&&C("/ArtBox ["+X(h.artBox.bottomLeftX)+" "+X(h.artBox.bottomLeftY)+" "+X(h.artBox.topRightX)+" "+X(h.artBox.topRightY)+"]"),typeof h.userUnit=="number"&&h.userUnit!==1&&C("/UserUnit "+h.userUnit),Ce.publish("putPage",{objId:R,pageContext:Zt[v],pageNumber:v,page:P}),C("/Contents "+Y+" 0 R"),C(">>"),C("endobj");var lt=P.join(` 4`);return z===V&&(lt+=` 5Q`),wn(Y,!0),ri({data:lt,filters:di(),objectId:Y}),C("endobj"),R},Si=p.__private__.putPages=function(){var h,v,P=[];for(h=1;h<=de;h++)Zt[h].objId=mn(),Zt[h].contentsObjId=mn();for(h=1;h<=de;h++)P.push(Mr({number:h,data:xt[h],objId:Zt[h].objId,contentsObjId:Zt[h].contentsObjId,mediaBox:Zt[h].mediaBox,cropBox:Zt[h].cropBox,bleedBox:Zt[h].bleedBox,trimBox:Zt[h].trimBox,artBox:Zt[h].artBox,userUnit:Zt[h].userUnit,rootDictionaryObjId:or,resourceDictionaryObjId:fi}));wn(or,!0),C("<</Type /Pages");var R="/Kids [";for(v=0;v<de;v++)R+=P[v]+" 0 R ";C(R+"]"),C("/Count "+de),C(">>"),C("endobj"),Ce.publish("postPutPages")},Tr=function(h){Ce.publish("putFont",{font:h,out:C,newObject:Xe,putStream:ri}),h.isAlreadyPutted!==!0&&(h.objectNumber=Xe(),C("<<"),C("/Type /Font"),C("/BaseFont /"+Za(h.postScriptName)),C("/Subtype /Type1"),typeof h.encoding=="string"&&C("/Encoding /"+h.encoding),C("/FirstChar 32"),C("/LastChar 255"),C(">>"),C("endobj"))},ca=function(h){h.objectNumber=Xe();var v=[];v.push({key:"Type",value:"/XObject"}),v.push({key:"Subtype",value:"/Form"}),v.push({key:"BBox",value:"["+[X(h.x),X(h.y),X(h.x+h.width),X(h.y+h.height)].join(" ")+"]"}),v.push({key:"Matrix",value:"["+h.matrix.toString()+"]"});var P=h.pages[1].join(` 6`);ri({data:P,additionalKeyValues:v,objectId:h.objectNumber}),C("endobj")},ha=function(h,v){v||(v=21);var P=Xe(),R=(function(mt,Mt){var It,te=[],re=1/(Mt-1);for(It=0;It<1;It+=re)te.push(It);if(te.push(1),mt[0].offset!=0){var be={offset:0,color:mt[0].color};mt.unshift(be)}if(mt[mt.length-1].offset!=1){var cn={offset:1,color:mt[mt.length-1].color};mt.push(cn)}for(var Fe="",Me=0,Ue=0;Ue<te.length;Ue++){for(It=te[Ue];It>mt[Me+1].offset;)Me++;var $e=mt[Me].offset,Ye=(It-$e)/(mt[Me+1].offset-$e),Sn=mt[Me].color,Xi=mt[Me+1].color;Fe+=H(Math.round((1-Ye)*Sn[0]+Ye*Xi[0]).toString(16))+H(Math.round((1-Ye)*Sn[1]+Ye*Xi[1]).toString(16))+H(Math.round((1-Ye)*Sn[2]+Ye*Xi[2]).toString(16))}return Fe.trim()})(h.colors,v),Y=[];Y.push({key:"FunctionType",value:"0"}),Y.push({key:"Domain",value:"[0.0 1.0]"}),Y.push({key:"Size",value:"["+v+"]"}),Y.push({key:"BitsPerSample",value:"8"}),Y.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Y.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),ri({data:R,additionalKeyValues:Y,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:P}),C("endobj"),h.objectNumber=Xe(),C("<< /ShadingType "+h.type),C("/ColorSpace /DeviceRGB");var lt="/Coords ["+X(parseFloat(h.coords[0]))+" "+X(parseFloat(h.coords[1]))+" ";h.type===2?lt+=X(parseFloat(h.coords[2]))+" "+X(parseFloat(h.coords[3])):lt+=X(parseFloat(h.coords[2]))+" "+X(parseFloat(h.coords[3]))+" "+X(parseFloat(h.coords[4]))+" "+X(parseFloat(h.coords[5])),C(lt+="]"),h.matrix&&C("/Matrix ["+h.matrix.toString()+"]"),C("/Function "+P+" 0 R"),C("/Extend [true true]"),C(">>"),C("endobj")},fa=function(h,v){var P=mn(),R=Xe();v.push({resourcesOid:P,objectOid:R}),h.objectNumber=R;var Y=[];Y.push({key:"Type",value:"/Pattern"}),Y.push({key:"PatternType",value:"1"}),Y.push({key:"PaintType",value:"1"}),Y.push({key:"TilingType",value:"1"}),Y.push({key:"BBox",value:"["+h.boundingBox.map(X).join(" ")+"]"}),Y.push({key:"XStep",value:X(h.xStep)}),Y.push({key:"YStep",value:X(h.yStep)}),Y.push({key:"Resources",value:P+" 0 R"}),h.matrix&&Y.push({key:"Matrix",value:"["+h.matrix.toString()+"]"}),ri({data:h.stream,additionalKeyValues:Y,objectId:h.objectNumber}),C("endobj")},xl=function(h){for(var v in h.objectNumber=Xe(),C("<<"),h)switch(v){case"opacity":C("/ca "+N(h[v]));break;case"stroke-opacity":C("/CA "+N(h[v]))}C(">>"),C("endobj")},Qa=function(h){wn(h.resourcesOid,!0),C("<<"),C("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),(function(){for(var v in C("/Font <<"),he)he.hasOwnProperty(v)&&(_===!1||_===!0&&A.hasOwnProperty(v))&&C("/"+v+" "+he[v].objectNumber+" 0 R");C(">>")})(),(function(){if(Object.keys(Ht).length>0){for(var v in C("/Shading <<"),Ht)Ht.hasOwnProperty(v)&&Ht[v]instanceof aa&&Ht[v].objectNumber>=0&&C("/"+v+" "+Ht[v].objectNumber+" 0 R");Ce.publish("putShadingPatternDict"),C(">>")}})(),(function(v){if(Object.keys(Ht).length>0){for(var P in C("/Pattern <<"),Ht)Ht.hasOwnProperty(P)&&Ht[P]instanceof p.TilingPattern&&Ht[P].objectNumber>=0&&Ht[P].objectNumber<v&&C("/"+P+" "+Ht[P].objectNumber+" 0 R");Ce.publish("putTilingPatternDict"),C(">>")}})(h.objectOid),(function(){if(Object.keys(Kt).length>0){var v;for(v in C("/ExtGState <<"),Kt)Kt.hasOwnProperty(v)&&Kt[v].objectNumber>=0&&C("/"+v+" "+Kt[v].objectNumber+" 0 R");Ce.publish("putGStateDict"),C(">>")}})(),(function(){for(var v in C("/XObject <<"),Nn)Nn.hasOwnProperty(v)&&Nn[v].objectNumber>=0&&C("/"+v+" "+Nn[v].objectNumber+" 0 R");Ce.publish("putXobjectDict"),C(">>")})(),C(">>"),C("endobj")},$o=function(h){fe[h.fontName]=fe[h.fontName]||{},fe[h.fontName][h.fontStyle]=h.id},Yo=function(h,v,P,R,Y){var lt={id:"F"+(Object.keys(he).length+1).toString(10),postScriptName:h,fontName:v,fontStyle:P,encoding:R,isStandardFont:Y||!1,metadata:{}};return Ce.publish("addFont",{font:lt,instance:this}),he[lt.id]=lt,$o(lt),lt.id},ai=p.__private__.pdfEscape=p.pdfEscape=function(h,v){return(function(P,R){var Y,lt,mt,Mt,It,te,re,be,cn;if(mt=(R=R||{}).sourceEncoding||"Unicode",It=R.outputEncoding,(R.autoencode||It)&&he[Dt].metadata&&he[Dt].metadata[mt]&&he[Dt].metadata[mt].encoding&&(Mt=he[Dt].metadata[mt].encoding,!It&&he[Dt].encoding&&(It=he[Dt].encoding),!It&&Mt.codePages&&(It=Mt.codePages[0]),typeof It=="string"&&(It=Mt[It]),It)){for(re=!1,te=[],Y=0,lt=P.length;Y<lt;Y++)(be=It[P.charCodeAt(Y)])?te.push(String.fromCharCode(be)):te.push(P[Y]),te[Y].charCodeAt(0)>>8&&(re=!0);P=te.join("")}for(Y=P.length;re===void 0&&Y!==0;)P.charCodeAt(Y-1)>>8&&(re=!0),Y--;if(!re)return P;for(te=R.noBOM?[]:[254,255],Y=0,lt=P.length;Y<lt;Y++){if((cn=(be=P.charCodeAt(Y))>>8)>>8)throw new Error("Character at position "+Y+" of string '"+P+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");te.push(cn),te.push(be-(cn<<8))}return String.fromCharCode.apply(void 0,te)})(h,v).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},to=p.__private__.beginPage=function(h){xt[++de]=[],Zt[de]={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])}},Ko(de),Ut(xt[B])},Xo=function(h,v){var P,R,Y;switch(e=v||e,typeof h=="string"&&(P=k(h.toLowerCase()),Array.isArray(P)&&(R=P[0],Y=P[1])),Array.isArray(h)&&(R=h[0]*oe,Y=h[1]*oe),isNaN(R)&&(R=r[0],Y=r[1]),(R>14400||Y>14400)&&(Oe.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),R=Math.min(14400,R),Y=Math.min(14400,Y)),r=[R,Y],e.substr(0,1)){case"l":Y>R&&(r=[Y,R]);break;case"p":R>Y&&(r=[Y,R])}to(r),Ml(Jt),C(va),ao!==0&&C(ao+" J"),cr!==0&&C(cr+" j"),Ce.publish("addPage",{pageNumber:de})},eo=function(h){h>0&&h<=de&&(xt.splice(h,1),Zt.splice(h,1),de--,B>de&&(B=de),this.setPage(B))},Ko=function(h){h>0&&h<=de&&(B=h)},Jo=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return xt.length-1},Qo=function(h,v,P){var R,Y=void 0;return P=P||{},h=h!==void 0?h:he[Dt].fontName,v=v!==void 0?v:he[Dt].fontStyle,R=h.toLowerCase(),fe[R]!==void 0&&fe[R][v]!==void 0?Y=fe[R][v]:fe[h]!==void 0&&fe[h][v]!==void 0?Y=fe[h][v]:P.disableWarning===!1&&Oe.warn("Unable to look up font label for font '"+h+"', '"+v+"'. Refer to getFontList() for available fonts."),Y||P.noFallback||(Y=fe.times[v])==null&&(Y=fe.times.normal),Y},ki=p.__private__.putInfo=function(){var h=Xe(),v=function(R){return R};for(var P in g!==null&&(v=yn.encryptor(h,0)),C("<<"),C("/Producer ("+ai(v("jsPDF "+jt.version))+")"),ge)ge.hasOwnProperty(P)&&ge[P]&&C("/"+P.substr(0,1).toUpperCase()+P.substr(1)+" ("+ai(v(ge[P]))+")");C("/CreationDate ("+ai(v(it))+")"),C(">>"),C("endobj")},ua=p.__private__.putCatalog=function(h){var v=(h=h||{}).rootDictionaryObjId||or;switch(Xe(),C("<<"),C("/Type /Catalog"),C("/Pages "+v+" 0 R"),Vt||(Vt="fullwidth"),Vt){case"fullwidth":C("/OpenAction [3 0 R /FitH null]");break;case"fullheight":C("/OpenAction [3 0 R /FitV null]");break;case"fullpage":C("/OpenAction [3 0 R /Fit]");break;case"original":C("/OpenAction [3 0 R /XYZ null null 1]");break;default:var P=""+Vt;P.substr(P.length-1)==="%"&&(Vt=parseInt(Vt)/100),typeof Vt=="number"&&C("/OpenAction [3 0 R /XYZ null null "+N(Vt)+"]")}switch(pe||(pe="continuous"),pe){case"continuous":C("/PageLayout /OneColumn");break;case"single":C("/PageLayout /SinglePage");break;case"two":case"twoleft":C("/PageLayout /TwoColumnLeft");break;case"tworight":C("/PageLayout /TwoColumnRight")}qt&&C("/PageMode /"+qt),Ce.publish("putCatalog"),C(">>"),C("endobj")},Al=p.__private__.putTrailer=function(){C("trailer"),C("<<"),C("/Size "+($+1)),C("/Ro
6ot "+$+" 0 R"),C("/Info "+($-1)+" 0 R"),g!==null&&C("/Encrypt "+yn.oid+" 0 R"),C("/ID [ <"+st+"> <"+st+"> ]"),C(">>")},ln=p.__private__.putHeader=function(){C("%PDF-"+E),C("%\xBA\xDF\xAC\xE0")},ts=p.__private__.putXRef=function(){var h="0000000000";C("xref"),C("0 "+($+1)),C("0000000000 65535 f ");for(var v=1;v<=$;v++)typeof J[v]=="function"?C((h+J[v]()).slice(-10)+" 00000 n "):J[v]!==void 0?C((h+J[v]).slice(-10)+" 00000 n "):C("0000000000 00000 n ")},Ci=p.__private__.buildDocument=function(){var h;$=0,ot=0,at=[],J=[],gt=[],or=mn(),fi=mn(),Ut(at),Ce.publish("buildDocument"),ln(),Si(),(function(){Ce.publish("putAdditionalObjects");for(var P=0;P<gt.length;P++){var R=gt[P];wn(R.objId,!0),C(R.content),C("endobj")}Ce.publish("postPutAdditionalObjects")})(),h=[],(function(){for(var P in he)he.hasOwnProperty(P)&&(_===!1||_===!0&&A.hasOwnProperty(P))&&Tr(he[P])})(),(function(){var P;for(P in Kt)Kt.hasOwnProperty(P)&&xl(Kt[P])})(),(function(){for(var P in Nn)Nn.hasOwnProperty(P)&&ca(Nn[P])})(),(function(P){var R;for(R in Ht)Ht.hasOwnProperty(R)&&(Ht[R]instanceof aa?ha(Ht[R]):Ht[R]instanceof $a&&fa(Ht[R],P))})(h),Ce.publish("putResources"),h.forEach(Qa),Qa({resourcesOid:fi,objectOid:Number.MAX_SAFE_INTEGER}),Ce.publish("postPutResources"),g!==null&&(yn.oid=Xe(),C("<<"),C("/Filter /Standard"),C("/V "+yn.v),C("/R "+yn.r),C("/U <"+yn.toHexString(yn.U)+">"),C("/O <"+yn.toHexString(yn.O)+">"),C("/P "+yn.P),C(">>"),C("endobj")),ki(),ua();var v=ot;return ts(),Al(),C("startxref"),C(""+v),C("%%EOF"),Ut(xt[B]),at.join(` 7`)},da=p.__private__.getBlob=function(h){return new Blob([ce(h)],{type:"application/pdf"})},no=function(h){for(;h.firstChild;)h.removeChild(h.firstChild)},Vn=function(h){var v,P=h.document,R=P.documentElement,Y=P.head,lt=P.body;return Y||(Y=P.createElement("head"),R.appendChild(Y)),lt||(lt=P.createElement("body"),R.appendChild(lt)),no(Y),no(lt),(v=P.createElement("style")).appendChild(P.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),Y.appendChild(v),{document:P,body:lt}},pa=p.output=p.__private__.output=(ii=function(h,v){switch(typeof(v=v||{})=="string"?v={filename:v}:v.filename=v.filename||"generated.pdf",h){case void 0:return Ci();case"save":p.save(v.filename);break;case"arraybuffer":return ce(Ci());case"blob":return da(Ci());case"bloburi":case"bloburl":if(Qt.URL!==void 0&&typeof Qt.URL.createObjectURL=="function")return Qt.URL&&Qt.URL.createObjectURL(da(Ci()))||void 0;Oe.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var P="",R=Ci();try{P=B1(R)}catch{P=B1(unescape(encodeURIComponent(R)))}return"data:application/pdf;filename="+encodeURIComponent(v.filename)+";base64,"+P;case"pdfobjectnewwindow":if(Object.prototype.toString.call(Qt)==="[object Window]"){var Y="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",lt=!v.pdfObjectUrl;lt||(Y=v.pdfObjectUrl);var mt=Qt.open();if(mt!==null){var Mt=Vn(mt),It=Mt.document.createElement("script"),te=this;It.src=Y,lt&&(It.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",It.crossOrigin="anonymous"),It.onload=function(){mt.PDFObject.embed(te.output("dataurlstring"),v)},Mt.body.appendChild(It)}return mt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(Qt)==="[object Window]"){var re=v.pdfJsUrl||"examples/PDF.js/web/viewer.html",be=Qt.open();if(be!==null){var cn=Vn(be),Fe=cn.document.createElement("iframe"),Me=re.indexOf("?")===-1?"?":"&";te=this,Fe.id="pdfViewer",Fe.width="500px",Fe.height="400px",Fe.src=re+Me+"file=&downloadName="+encodeURIComponent(v.filename),Fe.onload=function(){be.document.title=v.filename,Fe.contentWindow.PDFViewerApplication.open(te.output("bloburl"))},cn.body.appendChild(Fe)}return be}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(Qt)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Ue=Qt.open();if(Ue!==null){var $e=Vn(Ue),Ye=$e.document.createElement("iframe");Ye.src=this.output("datauristring",v),$e.body.appendChild(Ye),Ue.document.title=v.filename}if(Ue||typeof safari>"u")return Ue;break;case"datauri":case"dataurl":return Qt.document.location.href=this.output("datauristring",v);default:return null}},ii.foo=function(){try{return ii.apply(this,arguments)}catch(P){var h=P.stack||"";~h.indexOf(" at ")&&(h=h.split(" at ")[1]);var v="Error in function "+h.split(` 8`)[0].split("<")[0]+": "+P.message;if(!Qt.console)throw new Error(v);Qt.console.error(v,P),Qt.alert&&alert(v)}},ii.foo.bar=ii,ii.foo),Gi=function(h){return Array.isArray(Er)===!0&&Er.indexOf(h)>-1};switch(i){case"pt":oe=1;break;case"mm":oe=72/25.4;break;case"cm":oe=72/2.54;break;case"in":oe=72;break;case"px":oe=Gi("px_scaling")==1?.75:96/72;break;case"pc":case"em":oe=12;break;case"ex":oe=6;break;default:if(typeof i!="number")throw new Error("Invalid unit: "+i);oe=i}var yn=null;wt(),nt();var es=p.__private__.getPageInfo=p.getPageInfo=function(h){if(isNaN(h)||h%1!=0)throw new Error("Invalid argument passed to
8jsPDF.getPageInfo");return{objId:Zt[h].objId,pageNumber:h,pageContext:Zt[h]}},Ll=p.__private__.getPageInfoByObjId=function(h){if(isNaN(h)||h%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var v in Zt)if(Zt[v].objId===h)break;return es(v)},Nl=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:Zt[B].objId,pageNumber:B,pageContext:Zt[B]}};p.addPage=function(){return Xo.apply(this,arguments),this},p.setPage=function(){return Ko.apply(this,arguments),Ut.call(this,xt[B]),this},p.insertPage=function(h){return this.addPage(),this.movePage(B,h),this},p.movePage=function(h,v){var P,R;if(h>v){P=xt[h],R=Zt[h];for(var Y=h;Y>v;Y--)xt[Y]=xt[Y-1],Zt[Y]=Zt[Y-1];xt[v]=P,Zt[v]=R,this.setPage(v)}else if(h<v){P=xt[h],R=Zt[h];for(var lt=h;lt<v;lt++)xt[lt]=xt[lt+1],Zt[lt]=Zt[lt+1];xt[v]=P,Zt[v]=R,this.setPage(v)}return this},p.deletePage=function(){return eo.apply(this,arguments),this},p.__private__.text=p.text=function(h,v,P,R,Y){var lt,mt,Mt,It,te,re,be,cn,Fe,Me=(R=R||{}).scope||this;if(typeof h=="number"&&typeof v=="number"&&(typeof P=="string"||Array.isArray(P))){var Ue=P;P=v,v=h,h=Ue}if(arguments[3]instanceof $t==0?(Mt=arguments[4],It=arguments[5],Te(be=arguments[3])==="object"&&be!==null||(typeof Mt=="string"&&(It=Mt,Mt=null),typeof be=="string"&&(It=be,be=null),typeof be=="number"&&(Mt=be,be=null),R={flags:be,angle:Mt,align:It})):(D("The transform parameter of text() with a Matrix value"),Fe=Y),isNaN(v)||isNaN(P)||h==null)throw new Error("Invalid arguments passed to jsPDF.text");if(h.length===0)return Me;var $e,Ye="",Sn=typeof R.lineHeightFactor=="number"?R.lineHeightFactor:Fr,Xi=Me.internal.scaleFactor;function co(je){return je=je.split(" ").join(Array(R.TabLen||9).join(" ")),ai(je,be)}function Dr(je){for(var Re,en=je.concat(),fn=[],Ji=en.length;Ji--;)typeof(Re=en.shift())=="string"?fn.push(Re):Array.isArray(je)&&(Re.length===1||Re[1]===void 0&&Re[2]===void 0)?fn.push(Re[0]):fn.push([Re[0],Re[1],Re[2]]);return fn}function jr(je,Re){var en;if(typeof je=="string")en=Re(je)[0];else if(Array.isArray(je)){for(var fn,Ji,mo=je.concat(),Pa=[],fs=mo.length;fs--;)typeof(fn=mo.shift())=="string"?Pa.push(Re(fn)[0]):Array.isArray(fn)&&typeof fn[0]=="string"&&(Ji=Re(fn[0],fn[1],fn[2]),Pa.push([Ji[0],Ji[1],Ji[2]]));en=Pa}return en}var hr=!1,Rr=!0;if(typeof h=="string")hr=!0;else if(Array.isArray(h)){var _a=h.concat();mt=[];for(var xa,kn=_a.length;kn--;)(typeof(xa=_a.shift())!="string"||Array.isArray(xa)&&typeof xa[0]!="string")&&(Rr=!1);hr=Rr}if(hr===!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 zr=yt/Me.internal.scaleFactor,Ur=zr*(Sn-1);switch(R.baseline){case"bottom":P-=Ur;break;case"top":P+=zr-Ur;break;case"hanging":P+=zr-2*Ur;break;case"middle":P+=zr/2-Ur}if((re=R.maxWidth||0)>0&&(typeof h=="string"?h=Me.splitTextToSize(h,re):Object.prototype.toString.call(h)==="[object Array]"&&(h=h.reduce(function(je,Re){return je.concat(Me.splitTextToSize(Re,re))},[]))),lt={text:h,x:v,y:P,options:R,mutex:{pdfEscape:ai,activeFontKey:Dt,fonts:he,activeFontSize:yt}},Ce.publish("preProcessText",lt),h=lt.text,Mt=(R=lt.options).angle,Fe instanceof $t==0&&Mt&&typeof Mt=="number"){Mt*=Math.PI/180,R.rotationDirection===0&&(Mt=-Mt),z===V&&(Mt=-Mt);var ho=Math.cos(Mt),Ii=Math.sin(Mt);Fe=new $t(ho,Ii,-Ii,ho,0,0)}else Mt&&Mt instanceof $t&&(Fe=Mt);z!==V||Fe||(Fe=Wi),(te=R.charSpace||ba)!==void 0&&(Ye+=X(q(te))+` Tc 9`,this.setCharSpace(this.getCharSpace()||0)),(cn=R.horizontalScale)!==void 0&&(Ye+=X(100*cn)+` Tz 10`),R.lang;var Fn=-1,cs=R.renderingMode!==void 0?R.renderingMode:R.stroke,Aa=Me.internal.getCurrentPageInfo().pageContext;switch(cs){case 0:case!1:case"fill":Fn=0;break;case 1:case!0:case"stroke":Fn=1;break;case 2:case"fillThenStroke":Fn=2;break;case 3:case"invisible":Fn=3;break;case 4:case"fillAndAddForClipping":Fn=4;break;case 5:case"strokeAndAddPathForClipping":Fn=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":Fn=6;break;case 7:case"addToPathForClipping":Fn=7}var hs=Aa.usedRenderingMode!==void 0?Aa.usedRenderingMode:-1;Fn!==-1?Ye+=Fn+` Tr 11`:hs!==-1&&(Ye+=`0 Tr 12`),Fn!==-1&&(Aa.usedRenderingMode=Fn),It=R.align||"left";var oi,qr=yt*Sn,fo=Me.internal.pageSize.getWidth(),La=he[Dt];te=R.charSpace||ba,re=R.maxWidth||0,be=Object.assign({autoencode:!0,noBOM:!0},R.flags);var Hr=[],uo=function(je){return Me.getStringUnitWidth(je,{font:La,charSpace:te,fontSize:yt,doKerning:!1})*yt/Xi};if(Object.prototype.toString.call(h)==="[object Array]"){var Bn;mt=Dr(h),It!=="left"&&(oi=mt.map(uo));var Un,Na=0;if(It==="right"){v-=oi[0],h=[],kn=mt.length;for(var fr=0;fr<kn;fr++)fr===0?(Un=Vi(v),Bn=Zi(P)):(Un=q(Na-oi[fr]),Bn=-qr),h.push([mt[fr],Un,Bn]),Na=oi[fr]}else if(It==="center"){v-=oi[0]/2,h=[],kn=mt.length;for(var ur=0;ur<kn;ur++)ur===0?(Un=Vi(v),Bn=Zi(P)):(Un=q((Na-oi[ur])/2),Bn=-qr),h.push([mt[ur],Un,Bn]),Na=oi[ur]}else if(It==="left"){h=[],kn=mt.length;for(var Sa=0;Sa<kn;Sa++)h.push(mt[Sa])}else if(It==="justify"&&La.encoding==="Identity-H"){h=[],kn=mt.length,re=re!==0?re:fo;for(var Wr=0,hn=0;hn<kn;hn++)if(Bn=hn===0?Zi(P):-qr,Un=hn===0?Vi(v):Wr,hn<kn-1){var zl=q((re-oi[hn])/(mt[hn].split(" ").length-1)),Mi=mt[hn].split(" ");h.push([Mi[0]+" ",Un,Bn]),Wr=0;for(var pi=1;pi<Mi.length;pi++){var Gr=(uo(Mi[pi-1]+" "+Mi[pi])-uo(Mi[pi]))*Xi+zl;pi==Mi.length-1?h.push([Mi[pi],Gr,0]):h.push([Mi[pi]+" ",Gr,0]),Wr-=Gr}}else h.push([mt[hn],Un,Bn]);h.push(["",Wr,0])}else{if(It!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(h=[],kn=mt.length,re=re!==0?re:fo,hn=0;hn<kn;hn++){Bn=hn===0?Zi(P):-qr,Un=hn===0?Vi(v):0;var po=mt[hn].split(" ").length-1,go=po>0?(re-oi[hn])/po:0;hn<kn-1?Hr.push(X(q(go))):Hr.push(0),h.push([mt[hn],Un,Bn])}}}(typeof R.R2L=="boolean"?R.R2L:Wt)===!0&&(h=jr(h,function(je,Re,en){return[je.split("").reverse().join(""),Re,en]})),lt={text:h,x:v,y:P,options:R,mutex:{pdfEscape:ai,activeFontKey:Dt,fonts:he,activeFontSize:yt}},Ce.publish("postProcessText",lt),h=lt.text,$e=lt.mutex.isHex||!1;var ka=he[Dt].encoding;ka!=="WinAnsiEncoding"&&ka!=="StandardEncoding"||(h=jr(h,function(je,Re,en){return[co(je),Re,en]})),mt=Dr(h),h=[];for(var Vr,Zr,dr,Ki=Array.isArray(mt[0])?1:0,pr="",Ca=function(je,Re,en){var fn="";return en instanceof $t?(en=typeof R.angle=="number"?Hi(en,new $t(1,0,0,1,je,Re)):Hi(new $t(1,0,0,1,je,Re),en),z===V&&(en=Hi(new $t(1,0,0,-1,0,0),en)),fn=en.join(" ")+` Tm 13`):fn=X(je)+" "+X(Re)+` Td 14`,fn},Cn=0;Cn<mt.length;Cn++){switch(pr="",Ki){case 1:dr=($e?"<":"(")+mt[Cn][0]+($e?">":")"),Vr=parseFloat(mt[Cn][1]),Zr=parseFloat(mt[Cn][2]);break;case 0:dr=($e?"<":"(")+mt[Cn]+($e?">":")"),Vr=Vi(v),Zr=Zi(P)}Hr!==void 0&&Hr[Cn]!==void 0&&(pr=Hr[Cn]+` Tw 15`),Cn===0?h.push(pr+Ca(Vr,Zr,Fe)+dr):Ki===0?h.push(pr+dr):Ki===1&&h.push(pr+Ca(Vr,Zr,Fe)+dr)}h=Ki===0?h.join(` Tj 16T* `):h.join(` Tj 17`),h+=` Tj 18`;var Ti=`BT 19/`;return Ti+=Dt+" "+yt+` Tf 20`,Ti+=X(yt*Sn)+` TL 21`,Ti+=Ei+` 22`,Ti+=Ye,Ti+=h,C(Ti+="ET"),A[Dt]=!0,Me};var Sl=p.__private__.clip=p.clip=function(h){return C(h==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return Sl("evenodd")},p.__private__.discardPath=p.discardPath=function(){return C("n"),this};var Pi=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 Pi(h)&&
vendor: 32,150 bytes, lines 22-30
22(d=h),this};var ns=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},ga=p.close=function(){return C("h"),this};p.stroke=function(){return C("S"),this},p.fill=function(h){return ma("f",h),this},p.fillEvenOdd=function(h){return ma("f*",h),this},p.fillStroke=function(h){return ma("B",h),this},p.fillStrokeEvenOdd=function(h){return ma("B*",h),this};var ma=function(h,v){Te(v)==="object"?Cl(v,h):C(h)},io=function(h){h===null||z===V&&h===void 0||(h=ns(h),C(h))};function kl(h,v,P,R,Y){var lt=new $a(v||this.boundingBox,P||this.xStep,R||this.yStep,this.gState,Y||this.matrix);lt.stream=this.stream;var mt=h+"$$"+this.cloneIndex+++"$$";return ni(mt,lt),lt}var Cl=function(h,v){var P=De[h.key],R=Ht[P];if(R instanceof aa)C("q"),C(Pl(v)),R.gState&&p.setGState(R.gState),C(h.matrix.toString()+" cm"),C("/"+P+" sh"),C("Q");else if(R instanceof $a){var Y=new $t(1,0,0,-1,0,Or());h.matrix&&(Y=Y.multiply(h.matrix||Wi),P=kl.call(R,h.key,h.boundingBox,h.xStep,h.yStep,Y).id),C("q"),C("/Pattern cs"),C("/"+P+" scn"),R.gState&&p.setGState(R.gState),C(v),C("Q")}},Pl=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"}},sr=p.moveTo=function(h,v){return C(X(q(h))+" "+X(U(v))+" m"),this},is=p.lineTo=function(h,v){return C(X(q(h))+" "+X(U(v))+" l"),this},lr=p.curveTo=function(h,v,P,R,Y,lt){return C([X(q(h)),X(U(v)),X(q(P)),X(U(R)),X(q(Y)),X(U(lt)),"c"].join(" ")),this};p.__private__.line=p.line=function(h,v,P,R,Y){if(isNaN(h)||isNaN(v)||isNaN(P)||isNaN(R)||!Pi(Y))throw new Error("Invalid arguments passed to jsPDF.line");return z===G?this.lines([[P-h,R-v]],h,v,[1,1],Y||"S"):this.lines([[P-h,R-v]],h,v,[1,1]).stroke()},p.__private__.lines=p.lines=function(h,v,P,R,Y,lt){var mt,Mt,It,te,re,be,cn,Fe,Me,Ue,$e,Ye;if(typeof h=="number"&&(Ye=P,P=v,v=h,h=Ye),R=R||[1,1],lt=lt||!1,isNaN(v)||isNaN(P)||!Array.isArray(h)||!Array.isArray(R)||!Pi(Y)||typeof lt!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(sr(v,P),mt=R[0],Mt=R[1],te=h.length,Ue=v,$e=P,It=0;It<te;It++)(re=h[It]).length===2?(Ue=re[0]*mt+Ue,$e=re[1]*Mt+$e,is(Ue,$e)):(be=re[0]*mt+Ue,cn=re[1]*Mt+$e,Fe=re[2]*mt+Ue,Me=re[3]*Mt+$e,Ue=re[4]*mt+Ue,$e=re[5]*Mt+$e,lr(be,cn,Fe,Me,Ue,$e));return lt&&ga(),io(Y),this},p.path=function(h){for(var v=0;v<h.length;v++){var P=h[v],R=P.c;switch(P.op){case"m":sr(R[0],R[1]);break;case"l":is(R[0],R[1]);break;case"c":lr.apply(this,R);break;case"h":ga()}}return this},p.__private__.rect=p.rect=function(h,v,P,R,Y){if(isNaN(h)||isNaN(v)||isNaN(P)||isNaN(R)||!Pi(Y))throw new Error("Invalid arguments passed to jsPDF.rect");return z===G&&(R=-R),C([X(q(h)),X(U(v)),X(q(P)),X(q(R)),"re"].join(" ")),io(Y),this},p.__private__.triangle=p.triangle=function(h,v,P,R,Y,lt,mt){if(isNaN(h)||isNaN(v)||isNaN(P)||isNaN(R)||isNaN(Y)||isNaN(lt)||!Pi(mt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[P-h,R-v],[Y-P,lt-R],[h-Y,v-lt]],h,v,[1,1],mt,!0),this},p.__private__.roundedRect=p.roundedRect=function(h,v,P,R,Y,lt,mt){if(isNaN(h)||isNaN(v)||isNaN(P)||isNaN(R)||isNaN(Y)||isNaN(lt)||!Pi(mt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Mt=4/3*(Math.SQRT2-1);return Y=Math.min(Y,.5*P),lt=Math.min(lt,.5*R),this.lines([[P-2*Y,0],[Y*Mt,0,Y,lt-lt*Mt,Y,lt],[0,R-2*lt],[0,lt*Mt,-Y*Mt,lt,-Y,lt],[2*Y-P,0],[-Y*Mt,0,-Y,-lt*Mt,-Y,-lt],[0,2*lt-R],[0,-lt*Mt,Y*Mt,-lt,Y,-lt]],h+Y,v,[1,1],mt,!0),this},p.__private__.ellipse=p.ellipse=function(h,v,P,R,Y){if(isNaN(h)||isNaN(v)||isNaN(P)||isNaN(R)||!Pi(Y))throw new Error("Invalid arguments passed to jsPDF.ellipse");var lt=4/3*(Math.SQRT2-1)*P,mt=4/3*(Math.SQRT2-1)*R;return sr(h+P,v),lr(h+P,v-mt,h+lt,v-R,h,v-R),lr(h-lt,v-R,h-P,v-mt,h-P,v),lr(h-P,v+mt,h-lt,v+R,h,v+R),lr(h+lt,v+R,h+P,v+mt,h+P,v),io(Y),this},p.__private__.circle=p.circle=function(h,v,P,R){if(isNaN(h)||isNaN(v)||isNaN(P)||!Pi(R))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(h,v,P,P,R)},p.setFont=function(h,v,P){return P&&(v=dt(v,P)),Dt=Qo(h,v,{disableWarning:!1}),this};var El=p.__private__.getFont=p.getFont=function(){return he[Qo.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var h,v,P={};for(h in fe)if(fe.hasOwnProperty(h))for(v in P[h]=[],fe[h])fe[h].hasOwnProperty(v)&&P[h].push(v);return P},p.addFont=function(h,v,P,R,Y){var lt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&<.indexOf(arguments[3])!==-1?Y=arguments[3]:arguments[3]&<.indexOf(arguments[3])==-1&&(P=dt(P,R)),Yo.call(this,h,v,P,Y=Y||"Identity-H")};var Fr,Jt=t.lineWidth||.200025,Il=p.__private__.getLineWidth=p.getLineWidth=function(){return Jt},Ml=p.__private__.setLineWidth=p.setLineWidth=function(h){return Jt=h,C(X(q(h))+" w"),this};p.__private__.setLineDash=jt.API.setLineDash=jt.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(P){return X(q(P))}).join(" "),v=X(q(v)),C("["+h+"] "+v+" d"),this};var Tl=p.__private__.getLineHeight=p.getLineHeight=function(){return yt*Fr};p.__private__.getLineHeight=p.getLineHeight=function(){return yt*Fr};var Fl=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(h){return typeof(h=h||1.15)=="number"&&(Fr=h),this},Bl=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return Fr};Fl(t.lineHeight);var Vi=p.__private__.getHorizontalCoordinate=function(h){return q(h)},Zi=p.__private__.getVerticalCoordinate=function(h){return z===V?h:Zt[B].mediaBox.topRightY-Zt[B].mediaBox.bottomLeftY-q(h)},Ol=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(h){return X(Vi(h))},Dl=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(h){return X(Zi(h))},va=t.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return Ni(va)},p.__private__.setStrokeColor=p.setDrawColor=function(h,v,P,R){return va=ui({ch1:h,ch2:v,ch3:P,ch4:R,pdfColorType:"draw",precision:2}),C(va),this};var ro=t.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return Ni(ro)},p.__private__.setFillColor=p.setFillColor=function(h,v,P,R){return ro=ui({ch1:h,ch2:v,ch3:P,ch4:R,pdfColorType:"fill",precision:2}),C(ro),this};var Ei=t.textColor||"0 g",jl=p.__private__.getTextColor=p.getTextColor=function(){return Ni(Ei)};p.__private__.setTextColor=p.setTextColor=function(h,v,P,R){return Ei=ui({ch1:h,ch2:v,ch3:P,ch4:R,pdfColorType:"text",precision:3}),this};var ba=t.charSpace,Rl=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(ba||0)};p.__private__.setCharSpace=p.setCharSpace=function(h){if(isNaN(h))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return ba=h,this};var ao=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 ao=v,C(v+" J"),this};var cr=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 cr=v,C(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 C(X(q(h))+" M"),this},p.GState=bl,p.setGState=function(h){(h=typeof h=="string"?Kt[ie[h]]:oo(null,h)).equals(Ge)||(C("/"+h.id+" gs"),Ge=h)};var oo=function(h,v){if(!h||!ie[h]){var P=!1;for(var R in Kt)if(Kt.hasOwnProperty(R)&&Kt[R].equals(v)){P=!0;break}if(P)v=Kt[R];else{var Y="GS"+(Object.keys(Kt).length+1).toString(10);Kt[Y]=v,v.id=Y}return h&&(ie[h]=v.id),Ce.publish("addGState",v),v}};p.addGState=function(h,v){return oo(h,v),this},p.saveGraphicsState=function(){return C("q"),We.push({key:Dt,size:yt,color:Ei}),this},p.restoreGraphicsState=function(){C("Q");var h=We.pop();return Dt=h.key,yt=h.size,Ei=h.color,Ge=null,this},p.setCurrentTransformationMatrix=function(h){return C(h.toString()+" cm"),this},p.comment=function(h){return C("#"+h),this};var Br=function(h,v){var P=h||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return P},set:function(lt){isNaN(lt)||(P=parseFloat(lt))}});var R=v||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return R},set:function(lt){isNaN(lt)||(R=parseFloat(lt))}});var Y="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return Y},set:function(lt){Y=lt.toString()}}),this},so=function(h,v,P,R){Br.call(this,h,v),this.type="rect";var Y=P||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return Y},set:function(mt){isNaN(mt)||(Y=parseFloat(mt))}});var lt=R||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return lt},set:function(mt){isNaN(mt)||(lt=parseFloat(mt))}}),this},wa=function(){this.page=de,this.currentPage=B,this.pages=xt.slice(0),this.pagesContext=Zt.slice(0),this.x=zt,this.y=tn,this.matrix=_e,this.width=rs(B),this.height=Yi(B),this.outputDestination=St,this.id="",this.objectNumber=-1};wa.prototype.restore=function(){de=this.page,B=this.currentPage,Zt=this.pagesContext,xt=this.pages,zt=this.x,tn=this.y,_e=this.matrix,$i(B,this.width),as(B,this.height),St=this.outputDestination};var lo=function(h,v,P,R,Y){Li.push(new wa),de=B=0,xt=[],zt=h,tn=v,_e=Y,to([P,R])};for(var ya in p.beginFormObject=function(h,v,P,R,Y){return lo(h,v,P,R,Y),this},p.endFormObject=function(h){return(function(v){if(qi[v])Li.pop().restore();else{var P=new wa,R="Xo"+(Object.keys(Nn).length+1).toString(10);P.id=R,qi[v]=R,Nn[R]=P,Ce.publish("addFormObject",P),Li.pop().restore()}})(h),this},p.doFormObject=function(h,v){var P=Nn[qi[h]];return C("q"),C(v.toString()+" cm"),C("/"+P.id+" Do"),C("Q"),this},p.getFormObject=function(h){var v=Nn[qi[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?(ra(da(Ci()),h),typeof ra.unload=="function"&&Qt.setTimeout&&setTimeout(ra.unload,911),this):new Promise(function(P,R){try{var Y=ra(da(Ci()),h);typeof ra.unload=="function"&&Qt.setTimeout&&setTimeout(ra.unload,911),P(Y)}catch(lt){R(lt.message)}})},jt.API)jt.API.hasOwnProperty(ya)&&(ya==="events"&&jt.API.events.length?(function(h,v){var P,R,Y;for(Y=v.length-1;Y!==-1;Y--)P=v[Y][0],R=v[Y][1],h.subscribe.apply(h,[P].concat(typeof R=="function"?[R]:R))})(Ce,jt.API.events):p[ya]=jt.API[ya]);function rs(h){return Zt[h].mediaBox.topRightX-Zt[h].mediaBox.bottomLeftX}function $i(h,v){Zt[h].mediaBox.topRightX=v+Zt[h].mediaBox.bottomLeftX}function Yi(h){return Zt[h].mediaBox.topRightY-Zt[h].mediaBox.bottomLeftY}function as(h,v){Zt[h].mediaBox.topRightY=v+Zt[h].mediaBox.bottomLeftY}var os=p.getPageWidth=function(h){return rs(h=h||B)/oe},ss=p.setPageWidth=function(h,v){$i(h,v*oe)},Or=p.getPageHeight=function(h){return Yi(h=h||B)/oe},ls=p.setPageHeight=function(h,v){as(h,v*oe)};return p.internal={pdfEscape:ai,getStyle:ns,getFont:El,getFontSize:Pt,getCharSpace:Rl,getTextColor:jl,getLineHeight:Tl,getLineHeightFactor:Bl,getLineWidth:Il,write:Nt,getHorizontalCoordinate:Vi,getVerticalCoordinate:Zi,getCoordinateString:Ol,getVerticalCoordinateString:Dl,collections:{},newObject:Xe,newAdditionalObject:Ir,newObjectDeferred:mn,newObjectDeferredBegin:wn,getFilters:di,putStream:ri,events:Ce,scaleFactor:oe,pageSize:{getWidth:function(){return os(B)},setWidth:function(h){ss(B,h)},getHeight:function(){return Or(B)},setHeight:function(h){ls(B,h)}},encryptionOptions:g,encryption:yn,getEncryptor:function(h){return g!==null?yn.encryptor(h,0):function(v){return v}},output:pa,getNumberOfPages:Jo,get pages(){return xt},out:C,f2:N,f3:F,getPageInfo:es,getPageInfoByObjId:Ll,getCurrentPageInfo:Nl,getPDFVersion:I,Point:Br,Rectangle:so,Matrix:$t,hasHotfix:Gi},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return os(B)},set:function(h){ss(B,h)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Or(B)},set:function(h){ls(B,h)},enumerable:!0,configurable:!0}),function(h){for(var v=0,P=Gt.length;v<P;v++){var R=Yo.call(this,h[v][0],h[v][1],h[v][2],Gt[v][3],!0);_===!1&&(A[R]=!0);var Y=h[v][0].split("-");$o({id:R,fontName:Y[0],fontStyle:Y[1]||""})}Ce.publish("addFonts",{fonts:he,dictionary:fe})}.call(p,Gt),Dt="F1",Xo(r,e),Ce.publish("initialized"),p}Va.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},Va.prototype.toHexString=function(t){return t.split("").map(function(n){return("0"+(255&n.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Va.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("")},Va.prototype.processOwnerPassword=function(t,n){return uh(fh(n).substr(0,5),t)},Va.prototype.encryptor=function(t,n){var e=fh(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&n,n>>8&255)).substr(0,10);return function(i){return uh(e,i)}},bl.prototype.equals=function(t){var n,e="id,objectNumber,equals";if(!t||Te(t)!==Te(this))return!1;var i=0;for(n in this)if(!(e.indexOf(n)>=0)){if(this.hasOwnProperty(n)&&!t.hasOwnProperty(n)||this[n]!==t[n])return!1;i++}for(n in t)t.hasOwnProperty(n)&&e.indexOf(n)<0&&i--;return i===0},jt.API={events:[]},jt.version="4.2.1";var Qe=jt.API,gh=1,la=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Wa=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},sa=function(t){return t.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(n){var e=n.charCodeAt(0).toString(16).toUpperCase();return"#"+(e.length===1?"0"+e:e)})},ee=function(t){return t.toFixed(2)},kr=function(t){return t.toFixed(5)};Qe.__acroform__={};var Gn=function(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t},R1=function(t){return t*gh},Ri=function(t){var n=new o0,e=Et.internal.getHeight(t)||0,i=Et.internal.getWidth(t)||0;return n.BBox=[0,0,Number(ee(i)),Number(ee(e))],n},A5=Qe.__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},L5=Qe.__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)},N5=Qe.__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},an=Qe.__acroform__.getBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return N5(t,n-1)},on=Qe.__acroform__.setBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return A5(t,n-1)},sn=Qe.__acroform__.clearBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return L5(t,n-1)},S5=Qe.__acroform__.calculateCoordinates=function(t,n){var e=n.internal.getHorizontalCoordinate,i=n.internal.getVerticalCoordinate,r=t[0],o=t[1],f=t[2],l=t[3],c={};return c.lowerLeft_X=e(r)||0,c.lowerLeft_Y=i(o+l)||0,c.upperRight_X=e(r+f)||0,c.upperRight_Y=i(o)||0,[Number(ee(c.lowerLeft_X)),Number(ee(c.lowerLeft_Y)),Number(ee(c.upperRight_X)),Number(ee(c.upperRight_Y))]},k5=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var n=[],e=t._V||t.DV,i=dh(t,e),r=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("/"+r+" "+ee(i.fontSize)+" Tf"),n.push("1 0 0 1 0 0 Tm"),n.push(i.text),n.push("ET"),n.push("Q"),n.push("EMC");var o=Ri(t);return o.scope=t.scope,o.stream=n.join(` 23`),o}},dh=function(t,n){var e=t.fontSize===0?t.maxFontSize:t.fontSize,i={text:"",fontSize:""},r=(n=(n=n.substr(0,1)=="("?n.substr(1):n).substr(n.length-1)==")"?n.substr(0,n.length-1):n).split(" ");r=t.multiline?r.map(function(N){return N.split(` 24`)}):r.map(function(N){return[N]});var o=e,f=Et.internal.getHeight(t)||0;f=f<0?-f:f;var l=Et.internal.getWidth(t)||0;l=l<0?-l:l;var c=function(N,F,q){if(N+1<r.length){var U=F+" "+r[N+1][0];return fl(U,t,q).width<=l-4}return!1};o++;t:for(;o>0;){n="",o--;var d,g,_=fl("3",t,o).height,A=t.multiline?f-o:(f-_)/2,p=A+=2,E=0,I=0,O=0;if(o<=0){n=`(...) Tj 25`,n+="% Width of Text: "+fl(n,t,o=12).width+", FieldWidth:"+l+` 26`;break}for(var k="",G=0,V=0;V<r.length;V++)if(r.hasOwnProperty(V)){var z=!1;if(r[V].length!==1&&O!==r[V].length-1){if((_+2)*(G+2)+2>f)continue t;k+=r[V][O],z=!0,I=V,V--}else{k=(k+=r[V][O]+" ").substr(k.length-1)==" "?k.substr(0,k.length-1):k;var rt=parseInt(V),vt=c(rt,k,o),dt=V>=r.length-1;if(vt&&!dt){k+=" ",O=0;continue}if(vt||dt){if(dt)I=rt;else if(t.multiline&&(_+2)*(G+2)+2>f)continue t}else{if(!t.multiline||(_+2)*(G+2)+2>f)continue t;I=rt}}for(var X="",D=E;D<=I;D++){var tt=r[D];if(t.multiline){if(D===I){X+=tt[O]+" ",O=(O+1)%tt.length;continue}if(D===E){X+=tt[tt.length-1]+" ";continue}}X+=tt[0]+" "}switch(X=X.substr(X.length-1)==" "?X.substr(0,X.length-1):X,g=fl(X,t,o).width,t.textAlign){case"right":d=l-g-2;break;case"center":d=(l-g)/2;break;default:d=2}n+=ee(d)+" "+ee(p)+` Td 27`,n+="("+la(X)+`) Tj 28`,n+=-ee(d)+` 0 Td 29`,p=-(o+2),g=0,E=z?I:I+1,G++,k=""}break}return i.text=n,i.fontSize=o,i},fl=function(t,n,e){var i=n.scope.internal.getFont(n.fontName,n.fontStyle),r=n.scope.getStringUnitWidth(t,{font:i,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:n.scope.getStringUnitWidth("3",{font:i,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:r}},C5={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},P5=function(t,n){var e={type:"reference",object:t};n.internal.getPageInfo(t.page).pageContext.annotations.find(function(i){return i.type===e.type&&i.object===e.object})===void 0&&n.internal.getPageInfo(t.page).pageContext.annotations.push(e)},E5=function(t,n){if(n.scope=t,t.internal!==void 0&&(t.internal.acroformPlugin===void 0||t.internal.acroformPlugin.isInitialized===!1)){if(xi.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(C5)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");gh=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new s0,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 i=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var r in i)if(i.hasOwnProperty(r)){var o=i[r];o.objId=void 0,o.hasAnnotation&&P5(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(i,r){var o=!i;for(var f in i||(r.internal.newObjectDeferredBegin(r.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),r.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),i=i||r.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(i.hasOwnProperty(f)){var l=i[f],c=[],d=l.Rect;if(l.Rect&&(l.Rect=S5(l.Rect,r)),r.internal.newObjectDeferredBegin(l.objId,!0),l.DA=Et.createDefaultAppearanceStream(l),Te(l)==="object"&&typeof l.getKeyValueListForStream=="function"&&(c=l.getKeyValueListForStream()),l.Rect=d,l.hasAppearanceStream&&!l.appearanceStreamContent){var g=k5(l);c.push({key:"AP",value:"<</N "+g+">>"}),r.internal.acroformPlugin.xForms.push(g)}if(l.appearanceStreamContent){var _="";for(var A in l.appearanceStreamContent)if(l.appearanceStreamContent.hasOwnProperty(A)){var p=l.appearanceStreamContent[A];if(_+="/"+A+" ",_+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var f in p)if(p.hasOwnProperty(f)){var E=p[f];typeof E=="function"&&(E=E.call(r,l)),_+="/"+f+" "+E+" ",r.internal.acroformPlugin.xForms.indexOf(E)>=0||r.internal.acroformPlugin.xForms.push(E)}}else typeof(E=p)=="function"&&(E=E.call(r,l)),_+="/"+f+" "+E,r.internal.acroformPlugin.xForms.indexOf(E)>=0||r.internal.acroformPlugin.xForms.push(E);_+=">>"}c.push({key:"AP",value:`<< 30`+_+">>"})}r.internal.putStream({additionalKeyValues:c,objectId:l.objId}),r.internal.out("endobj")}o&&(function(I,O){for(var k in I)if(I.hasOwnProperty(k)){var G=k,V=I[k];O.internal.newObjectDeferredBegin(V.objId,!0),Te(V)==="object"&&typeof V.putStream=="function"&&V.putStream(),delete I[G]}})(r.internal.acroformPlugin.xForms,r)})(e,t)}),t.internal.acroformPlugin.isInitialized=!0}},a0=Qe.__acroform__.arrayToPdfArray=function(t,n,e){var i=function(f){return f};if(Array.isArray(t)){for(var r="[",o=0;o<t.length;o++)switch(o!==0&&(r+=" "),Te(t[o])){case"boolean":case"number":case"object":r+=t[o].toString();break;case"string":t[o].substr(0,1)==="/"?r+="/"+sa(t[o].substr(1)):(n!==void 0&&e&&(i=e.internal.getEncryptor(n)),r+="("+la(i(t[o].toString()))+")")}return r+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},oh=function(t,n,e){var i=function(r){return r};return n!==void 0&&e&&(i=e.internal.getEncryptor(n)),(t=t||"").toString(),"("+la(i(t))+")"},zi=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})};zi.prototype.toString=function(){return this.objId+" 0 R"},zi.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},zi.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 i=n[e],r=this[i];r&&(Array.isArray(r)?t.push({key:i,value:a0(r,this.objId,this.scope)}):r instanceof zi?(r.scope=this.scope,t.push({key:i,value:r.objId+" 0 R"})):typeof r!="function"&&t.push({key:i,value:r}))}return t};var o0=function(){zi.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}})};Gn(o0,zi);var s0=function(){zi.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(i){return i};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+la(e(t))+")"}},set:function(e){t=e}})};Gn(s0,zi);var xi=function t(){zi.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!!an(n,3)},set:function(k){k?this.F=on(n,3):this.F=sn(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 i=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(i.length!==0)return i},set:function(k){i=k!==void 0?k:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[0])?0:i[0]},set:function(k){i[0]=k}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[1])?0:i[1]},set:function(k){i[1]=k}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[2])?0:i[2]},set:function(k){i[2]=k}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!i||isNaN(i[3])?0:i[3]},set:function(k){i[3]=k}});var r="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return r},set:function(k){switch(k){case"/Btn":case"/Tx":case"/Ch":case"/Sig":r=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 wl)return;o="FieldObject"+t.FieldNum++}var k=function(G){return G};return this.scope&&(k=this.scope.internal.getEncryptor(this.objId)),"("+la(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 f="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return f},set:function(k){f=k}});var l="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return l},set:function(k){l=k}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(k){c=k}});var d=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return d===void 0?50/gh: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 _="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!_||this instanceof wl||this instanceof oa))return oh(_,this.objId,this.scope)},set:function(k){k=k.toString(),_=k}});var A=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(A)return this instanceof bn==0?oh(A,this.objId,this.scope):A},set:function(k){k=k.toString(),A=this instanceof bn==0?k.substr(0,1)==="("?Wa(k.substr(1,k.length-2)):Wa(k):k}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof bn==1?Wa(A.substr(1,A.length-1)):A},set:function(k){k=k.toString(),A=this instanceof bn==1?"/"+sa(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 bn==0?oh(p,this.objId,this.scope):p},set:function(k){k=k.toString(),p=this instanceof bn==0?k.substr(0,1)==="("?Wa(k.substr(1,k.length-2)):Wa(k):k}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof bn==1?Wa(p.substr(1,p.length-1)):p},set:function(k){k=k.toString(),p=this instanceof bn==1?"/"+sa(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 E,I=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return I},set:function(k){k=!!k,I=k}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(E)return E},set:function(k){E=k}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,1)},set:function(k){k?this.Ff=on(this.Ff,1):this.Ff=sn(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,2)},set:function(k){k?this.Ff=on(this.Ff,2):this.Ff=sn(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,3)},set:function(k){k?this.Ff=on(this.Ff,3):this.Ff=sn(this.Ff,3)}});var O=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(O!==null)return O},set:function(k){if([0,1,2].indexOf(k)===-1)throw new Error('Invalid value "'+k+'" for attribute Q supplied.');O=k}}),Object.defineProperty(this,"textAlign",{get:function(){var k;switch(O){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:O=2;break;case"center":case 1:O=1;break;default:O=0}}})};Gn(xi,zi);var Ya=function(){xi.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 a0(n,this.objId,this.scope)},set:function(e){var i,r;r=[],typeof(i=e)=="string"&&(r=(function(o,f,l){l||(l=1);for(var c,d=[];c=f.exec(o);)d.push(c[l]);return d})(i,/\((.*?)\)/g)),n=r}}),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,i){for(i=i||!1,e=(e=e||"").toString();n.indexOf(e)!==-1&&(n.splice(n.indexOf(e),1),i!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,18)},set:function(e){e?this.Ff=on(this.Ff,18):this.Ff=sn(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,19)},set:function(e){this.combo===!0&&(e?this.Ff=on(this.Ff,19):this.Ff=sn(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,20)},set:function(e){e?(this.Ff=on(this.Ff,20),n.sort()):this.Ff=sn(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,22)},set:function(e){e?this.Ff=on(this.Ff,22):this.Ff=sn(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,23)},set:function(e){e?this.Ff=on(this.Ff,23):this.Ff=sn(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,27)},set:function(e){e?this.Ff=on(this.Ff,27):this.Ff=sn(this.Ff,27)}}),this.hasAppearanceStream=!1};Gn(Ya,xi);var Xa=function(){Ya.call(this),this.fontName="helvetica",this.combo=!1};Gn(Xa,Ya);var Ka=function(){Xa.call(this),this.combo=!0};
30Gn(Ka,Xa);var pl=function(){Ka.call(this),this.edit=!0};Gn(pl,Ka);var bn=function(){xi.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,15)},set:function(e){e?this.Ff=on(this.Ff,15):this.Ff=sn(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,16)},set:function(e){e?this.Ff=on(this.Ff,16):this.Ff=sn(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,17)},set:function(e){e?this.Ff=on(this.Ff,17):this.Ff=sn(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,26)},set:function(e){e?this.Ff=on(this.Ff,26):this.Ff=sn(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 i,r=[];for(i in r.push("<<"),n)r.push("/"+i+" ("+la(e(n[i]))+")");return r.push(">>"),r.join(` 31`)}},set:function(e){Te(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){var i=e==null?"":e.toString();i.substr(0,1)==="/"&&(i=i.substr(1)),t="/"+sa(i)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+sa(e)}})};Gn(bn,xi);var gl=function(){bn.call(this),this.pushButton=!0};Gn(gl,bn);var Ja=function(){bn.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:[]}})};Gn(Ja,bn);var wl=function(){var t,n;xi.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(r){t=r}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(r){n=r}});var e,i={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var r=function(l){return l};this.scope&&(r=this.scope.internal.getEncryptor(this.objId));var o,f=[];for(o in f.push("<<"),i)f.push("/"+o+" ("+la(r(i[o]))+")");return f.push(">>"),f.join(` 32`)},set:function(r){Te(r)==="object"&&(i=r)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return i.CA||""},set:function(r){typeof r=="string"&&(i.CA=r)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(r){var o=r==null?"":r.toString();o.substr(0,1)==="/"&&(o=o.substr(1)),e="/"+sa(o)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(r){var o=r==null?"":r.toString();o.substr(0,1)==="/"&&(o=o.substr(1)),e="/"+sa(o)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Et.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Gn(wl,xi),Ja.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()}},Ja.prototype.createOption=function(t){var n=new wl;return n.Parent=this,n.optionName=t,this.Kids.push(n),I5.call(this.scope,n),n};var ml=function(){bn.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Et.CheckBox.createAppearanceStream()};Gn(ml,bn);var oa=function(){xi.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,13)}
vendor: 16,382 bytes, lines 32-41
32,set:function(n){n?this.Ff=on(this.Ff,13):this.Ff=sn(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,21)},set:function(n){n?this.Ff=on(this.Ff,21):this.Ff=sn(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,23)},set:function(n){n?this.Ff=on(this.Ff,23):this.Ff=sn(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,24)},set:function(n){n?this.Ff=on(this.Ff,24):this.Ff=sn(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,25)},set:function(n){n?this.Ff=on(this.Ff,25):this.Ff=sn(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,26)},set:function(n){n?this.Ff=on(this.Ff,26):this.Ff=sn(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}})};Gn(oa,xi);var vl=function(){oa.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!an(this.Ff,14)},set:function(t){t?this.Ff=on(this.Ff,14):this.Ff=sn(this.Ff,14)}}),this.password=!0};Gn(vl,oa);var Et={CheckBox:{createAppearanceStream:function(){return{N:{On:Et.CheckBox.YesNormal},D:{On:Et.CheckBox.YesPushDown,Off:Et.CheckBox.OffPushDown}}},YesPushDown:function(t){var n=Ri(t);n.scope=t.scope;var e=[],i=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),o=dh(t,t.caption);return e.push("0.749023 g"),e.push("0 0 "+ee(Et.internal.getWidth(t))+" "+ee(Et.internal.getHeight(t))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+i+" "+ee(o.fontSize)+" Tf "+r),e.push("BT"),e.push(o.text),e.push("ET"),e.push("Q"),e.push("EMC"),n.stream=e.join(` 33`),n},YesNormal:function(t){var n=Ri(t);n.scope=t.scope;var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),r=[],o=Et.internal.getHeight(t),f=Et.internal.getWidth(t),l=dh(t,t.caption);return r.push("1 g"),r.push("0 0 "+ee(f)+" "+ee(o)+" re"),r.push("f"),r.push("q"),r.push("0 0 1 rg"),r.push("0 0 "+ee(f-1)+" "+ee(o-1)+" re"),r.push("W"),r.push("n"),r.push("0 g"),r.push("BT"),r.push("/"+e+" "+ee(l.fontSize)+" Tf "+i),r.push(l.text),r.push("ET"),r.push("Q"),n.stream=r.join(` 34`),n},OffPushDown:function(t){var n=Ri(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+ee(Et.internal.getWidth(t))+" "+ee(Et.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join(` 35`),n}},RadioButton:{Circle:{createAppearanceStream:function(t){var n={D:{Off:Et.RadioButton.Circle.OffPushDown},N:{}};return n.N[t]=Et.RadioButton.Circle.YesNormal,n.D[t]=Et.RadioButton.Circle.YesPushDown,n},getCA:function(){return"l"},YesNormal:function(t){var n=Ri(t);n.scope=t.scope;var e=[],i=Et.internal.getWidth(t)<=Et.internal.getHeight(t)?Et.internal.getWidth(t)/4:Et.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var r=Et.internal.Bezier_C,o=Number((i*r).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+kr(Et.internal.getWidth(t)/2)+" "+kr(Et.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(` 36`),n},YesPushDown:function(t){var n=Ri(t);n.scope=t.scope;var e=[],i=Et.internal.getWidth(t)<=Et.internal.getHeight(t)?Et.internal.getWidth(t)/4:Et.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var r=Number((2*i).toFixed(5)),o=Number((r*Et.internal.Bezier_C).toFixed(5)),f=Number((i*Et.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+kr(Et.internal.getWidth(t)/2)+" "+kr(Et.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"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+kr(Et.internal.getWidth(t)/2)+" "+kr(Et.internal.getHeight(t)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+f+" "+f+" "+i+" 0 "+i+" c"),e.push("-"+f+" "+i+" -"+i+" "+f+" -"+i+" 0 c"),e.push("-"+i+" -"+f+" -"+f+" -"+i+" 0 -"+i+" c"),e.push(f+" -"+i+" "+i+" -"+f+" "+i+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join(` 37`),n},OffPushDown:function(t){var n=Ri(t);n.scope=t.scope;var e=[],i=Et.internal.getWidth(t)<=Et.internal.getHeight(t)?Et.internal.getWidth(t)/4:Et.internal.getHeight(t)/4;i=Number((.9*i).toFixed(5));var r=Number((2*i).toFixed(5)),o=Number((r*Et.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+kr(Et.internal.getWidth(t)/2)+" "+kr(Et.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(` 38`),n}},Cross:{createAppearanceStream:function(t){var n={D:{Off:Et.RadioButton.Cross.OffPushDown},N:{}};return n.N[t]=Et.RadioButton.Cross.YesNormal,n.D[t]=Et.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(t){var n=Ri(t);n.scope=t.scope;var e=[],i=Et.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+ee(Et.internal.getWidth(t)-2)+" "+ee(Et.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push(ee(i.x1.x)+" "+ee(i.x1.y)+" m"),e.push(ee(i.x2.x)+" "+ee(i.x2.y)+" l"),e.push(ee(i.x4.x)+" "+ee(i.x4.y)+" m"),e.push(ee(i.x3.x)+" "+ee(i.x3.y)+" l"),e.push("s"),e.push("Q"),n.stream=e.join(` 39`),n},YesPushDown:function(t){var n=Ri(t);n.scope=t.scope;var e=Et.internal.calculateCross(t),i=[];return i.push("0.749023 g"),i.push("0 0 "+ee(Et.internal.getWidth(t))+" "+ee(Et.internal.getHeight(t))+" re"),i.push("f"),i.push("q"),i.push("1 1 "+ee(Et.internal.getWidth(t)-2)+" "+ee(Et.internal.getHeight(t)-2)+" re"),i.push("W"),i.push("n"),i.push(ee(e.x1.x)+" "+ee(e.x1.y)+" m"),i.push(ee(e.x2.x)+" "+ee(e.x2.y)+" l"),i.push(ee(e.x4.x)+" "+ee(e.x4.y)+" m"),i.push(ee(e.x3.x)+" "+ee(e.x3.y)+" l"),i.push("s"),i.push("Q"),n.stream=i.join(` 40`),n},OffPushDown:function(t){var n=Ri(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+ee(Et.internal.getWidth(t))+" "+ee(Et.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join(` 41`),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}};Et.internal={Bezier_C:.551915024494,calculateCross:function(t){var n=Et.internal.getWidth(t),e=Et.internal.getHeight(t),i=Math.min(n,e);return{x1:{x:(n-i)/2,y:(e-i)/2+i},x2:{x:(n-i)/2+i,y:(e-i)/2},x3:{x:(n-i)/2,y:(e-i)/2},x4:{x:(n-i)/2+i,y:(e-i)/2+i}}}},Et.internal.getWidth=function(t){var n=0;return Te(t)==="object"&&(n=R1(t.Rect[2])),n},Et.internal.getHeight=function(t){var n=0;return Te(t)==="object"&&(n=R1(t.Rect[3])),n};var I5=Qe.addField=function(t){if(E5(this,t),!(t instanceof xi))throw new Error("Invalid argument passed to jsPDF.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};Qe.AcroFormChoiceField=Ya,Qe.AcroFormListBox=Xa,Qe.AcroFormComboBox=Ka,Qe.AcroFormEditBox=pl,Qe.AcroFormButton=bn,Qe.AcroFormPushButton=gl,Qe.AcroFormRadioButton=Ja,Qe.AcroFormCheckBox=ml,Qe.AcroFormTextField=oa,Qe.AcroFormPasswordField=vl,Qe.AcroFormAppearance=Et,Qe.AcroForm={ChoiceField:Ya,ListBox:Xa,ComboBox:Ka,EditBox:pl,Button:bn,PushButton:gl,RadioButton:Ja,CheckBox:ml,TextField:oa,PasswordField:vl,Appearance:Et},jt.AcroForm={ChoiceField:Ya,ListBox:Xa,ComboBox:Ka,EditBox:pl,Button:bn,PushButton:gl,RadioButton:Ja,CheckBox:ml,TextField:oa,PasswordField:vl,Appearance:Et};var lv=jt.AcroForm;function l0(t){return t.reduce(function(n,e,i){return n[e]=i,n},{})}(function(t){var n="addImage_";t.__addimage__={};var e="UNKNOWN",i={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]]},r=t.__addimage__.getImageFileTypeByImageData=function(N,F){var q,U,it,st,ht,nt=e;if((F=F||e)==="RGBA"||N.data!==void 0&&N.data instanceof Uint8ClampedArray&&"height"in N&&"width"in N)return"RGBA";if(vt(N))for(ht in i)for(it=i[ht],q=0;q<it.length;q+=1){for(st=!0,U=0;U<it[q].length;U+=1)if(it[q][U]!==void 0&&it[q][U]!==N[U]){st=!1;break}if(st===!0){nt=ht;break}}else for(ht in i)for(it=i[ht],q=0;q<it.length;q+=1){for(st=!0,U=0;U<it[q].length;U+=1)if(it[q][U]!==void 0&&it[q][U]!==N.charCodeAt(U)){st=!1;break}if(st===!0){nt=ht;break}}return nt===e&&F!==e&&(nt=F),nt},o=function N(F){for(var q=this.internal.write,U=this.internal.putStream,it=(0,this.internal.getFilters)();it.indexOf("FlateEncode")!==-1;)it.splice(it.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,ut=F.transparency.length;nt<ut;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}),q("endobj"),"sMask"in F&&F.sMask!==void 0){var wt,x=(wt=F.sMaskBitsPerComponent)!==null&&wt!==void 0?wt:F.bitsPerComponent,B={width:F.width,height:F.height,colorSpace:"DeviceGray",bitsPerComponent:x,data:F.sMask};"filter"in F&&(B.decodeParameters="/Predictor ".concat(F.predictor," /Colors 1 /BitsPerComponent ").concat(x," /Columns ").concat(F.width),B.filter=F.filter),N.call(this,B)}if(F.colorSpace===k.INDEXED){var j=this.internal.newObject();U({data:X(new Uint8Array(F.palette)),objectId:j}),q("endobj")}},f=function(){var N=this.internal.collections[n+"images"];for(var F in N)o.call(this,N[F])},l=function(){var N,F=this.internal.collections[n+"images"],q=this.internal.write;for(var U in F)q("/I"+(N=F[U]).index,N.objectId,"0","R")},c=function(){this.internal.collections[n+"images"]||(this.internal.collections[n+"images"]={},this.internal.events.subscribe("putResources",f),this.internal.events.subscribe("putXobjectDict",l))},d=function(){var N=this.internal.collections[n+"images"];return c.call(this),N},g=function(){return Object.keys(this.internal.collections[n+"images"]).length},_=function(N){return typeof t["process"+N.toUpperCase()]=="function"},A=function(N){return Te(N)==="object"&&N.nodeType===1},p=function(N,F){if(N.nodeName==="IMG"&&N.hasAttribute("src")){var q=""+N.getAttribute("src");if(q.indexOf("data:image/")===0)return dl(unescape(q).split("base64,").pop());var U=t.loadFile(q,!0);if(U!==void 0)return U}if(N.nodeName==="CANVAS"){if(N.width===0||N.height===0)throw new Error("Given canvas must have data. Canvas width: "+N.width+", height: "+N.height);var it;switch(F){case"PNG":it="image/png";break;case"WEBP":it="image/webp";break;default:it="image/jpeg"}return dl(N.toDataURL(it,1).split("base64,").pop())}},E=function(N){var F=this.internal.collections[n+"images"];if(F){for(var q in F)if(N===F[q].alias)return F[q]}},I=function(N,F,q){return N||F||(N=-96,F=-96),N<0&&(N=-1*q.width*72/N/this.internal.scaleFactor),F<0&&(F=-1*q.height*72/F/this.internal.scaleFactor),N===0&&(N=F*q.width/q.height),F===0&&(F=N*q.height/q.width),[N,F]},O=function(N,F,q,U,it,st){var ht=I.call(this,q,U,it),nt=this.internal.getCoordinateString,ut=this.internal.getVerticalCoordinateString,At=d.call(this);if(q=ht[0],U=ht[1],At[it.index]=it,st){st*=Math.PI/180;var wt=Math.cos(st),x=Math.sin(st),B=function(H){return H.toFixed(4)},j=[B(wt),B(x),B(-1*x),B(wt),0,0,"cm"]}this.internal.write("q"),st?(this.internal.write([1,"0","0",1,nt(N),ut(F+U),"cm"].join(" ")),this.internal.write(j.join(" ")),this.internal.write([nt(q),"0","0",nt(U),"0","0","cm"].join(" "))):this.internal.write([nt(q),"0","0",nt(U),nt(N),ut(F+U),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+it.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 G=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},V=t.__addimage__.sHashCode=function(N){var F,q,U=0;if(typeof N=="string")for(q=N.length,F=0;F<q;F++)U=(U<<5)-U+N.charCodeAt(F),U|=0;else if(vt(N))for(q=N.byteLength/2,F=0;F<q;F++)U=(U<<5)-U+N[F],U|=0;return U},z=t.__addimage__.validateStringAsBase64=function(N){(N=N||"").toString().trim();var F=!0;return N.length===0&&(F=!1),N.length%4!=0&&(F=!1),/^[A-Za-z0-9+/]+$/.test(N.substr(0,N.length-2))===!1&&(F=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(N.substr(-2))===!1&&(F=!1),F},rt=t.__addimage__.extractImageFromDataUrl=function(N){if(N==null||!(N=N.trim()).startsWith("data:"))return null;var F=N.indexOf(",");return F<0?null:N.substring(0,F).trim().endsWith("base64")?N.substring(F+1):null};t.__addimage__.isArrayBuffer=function(N){return N instanceof ArrayBuffer};var vt=t.__addimage__.isArrayBufferView=function(N){return N instanceof Int8Array||N instanceof Uint8Array||N instanceof Uint8ClampedArray||N instanceof Int16Array||N instanceof Uint16Array||N instanceof Int32Array||N instanceof Uint32Array||N instanceof Float32Array||N instanceof Float64Array},dt=t.__addimage__.binaryStringToUint8Array=function(N){for(var F=N.length,q=new Uint8Array(F),U=0;U<F;U++)q[U]=N.charCodeAt(U);return q},X=t.__addimage__.arrayBufferToBinaryString=function(N){for(var F="",q=vt(N)?N:new Uint8Array(N),U=0;U<q.length;U+=8192)F+=String.fromCharCode.apply(null,q.subarray(U,U+8192));return F};t.addImage=function(){var N,F,q,U,it,st,ht,nt,ut;if(typeof arguments[1]=="number"?(F=e,q=arguments[1],U=arguments[2],it=arguments[3],st=arguments[4],ht=arguments[5],nt=arguments[6],ut=arguments[7]):(F=arguments[1],q=arguments[2],U=arguments[3],it=arguments[4],st=arguments[5],ht=arguments[6],nt=arguments[7],ut=arguments[8]),Te(N=arguments[0])==="object"&&!A(N)&&"imageData"in N){var At=N;N=At.imageData,F=At.format||F||e,q=At.x||q||0,U=At.y||U||0,it=At.w||At.width||it,st=At.h||At.height||st,ht=At.alias||ht,nt=At.compression||nt,ut=At.rotation||At.angle||ut}var wt=this.internal.getFilters();if(nt===void 0&&wt.indexOf("FlateEncode")!==-1&&(nt="SLOW"),isNaN(q)||isNaN(U))throw new Error("Invalid coordinates passed to
41jsPDF.addImage");c.call(this);var x=D.call(this,N,F,ht,nt);return O.call(this,q,U,it,st,x,ut),this};var D=function(N,F,q,U){var it,st,ht;if(typeof N=="string"&&r(N)===e){N=unescape(N);var nt=tt(N,!1);(nt!==""||(nt=t.loadFile(N,!0))!==void 0)&&(N=nt)}if(A(N)&&(N=p(N,F)),F=r(N,F),!_(F))throw new Error("addImage does not support files of type '"+F+"', please ensure that a plugin for '"+F+"' support is added.");if(((ht=q)==null||ht.length===0)&&(q=(function(ut){return typeof ut=="string"||vt(ut)?V(ut):vt(ut.data)?V(ut.data):null})(N)),(it=E.call(this,q))||(N instanceof Uint8Array||F==="RGBA"||(st=N,N=dt(N)),it=this["process"+F.toUpperCase()](N,g.call(this),q,(function(ut){return ut&&typeof ut=="string"&&(ut=ut.toUpperCase()),ut in t.image_compression?ut:G.NONE})(U),st)),!it)throw new Error("An unknown error occurred whilst processing the image.");return it},tt=t.__addimage__.convertBase64ToBinaryString=function(N,F){F=typeof F!="boolean"||F;var q,U="";if(typeof N=="string"){var it;q=(it=rt(N))!==null&&it!==void 0?it:N;try{U=dl(q)}catch(st){if(F)throw z(q)?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(N){var F,q,U="";if(A(N)&&(N=p(N)),typeof N=="string"&&r(N)===e&&((U=tt(N,!1))===""&&(U=t.loadFile(N)||""),N=U),q=r(N),!_(q))throw new Error("addImage does not support files of type '"+q+"', please ensure that a plugin for '"+q+"' support is added.");if(N instanceof Uint8Array||(N=dt(N)),!(F=this["process"+q.toUpperCase()](N)))throw new Error("An unknown error occurred whilst processing the image");return F.fileType=q,F}})(jt.API),(function(t){var n=function(e){if(e!==void 0&&e!="")return!0};jt.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var i,r,o,f=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,c=this.internal.getPageInfoByObjId(e.objId),d=e.pageContext.annotations,g=!1,_=0;_<d.length&&!g;_++)switch((i=d[_]).type){case"link":(n(i.options.url)||n(i.options.pageNumber))&&(g=!0);break;case"reference":case"text":case"freetext":g=!0}if(g!=0){this.internal.write("/Annots [");for(var A=0;A<d.length;A++){i=d[A];var p=this.internal.pdfEscape,E=this.internal.getEncryptor(e.objId);switch(i.type){case"reference":this.internal.write(" "+i.object.objId+" 0 R ");break;case"text":var I=this.internal.newAdditionalObject(),O=this.internal.newAdditionalObject(),k=this.internal.getEncryptor(I.objId),G=i.title||"Note";o="<</Type /Annot /Subtype /Text "+(r="/Rect ["+f(i.bounds.x)+" "+l(i.bounds.y+i.bounds.h)+" "+f(i.bounds.x+i.bounds.w)+" "+l(i.bounds.y)+"] ")+"/Contents ("+p(k(i.contents))+")",o+=" /Popup "+O.objId+" 0 R",o+=" /P "+c.objId+" 0 R",o+=" /T ("+p(k(G))+") >>",I.content=o;var V=I.objId+" 0 R";o="<</Type /Annot /Subtype /Popup "+(r="/Rect ["+f(i.bounds.x+30)+" "+l(i.bounds.y+i.bounds.h)+" "+f(i.bounds.x+i.bounds.w+30)+" "+l(i.bounds.y)+"] ")+" /Parent "+V,i.open&&(o+=" /Open true"),o+=" >>",O.content=o,this.internal.write(I.objId,"0 R",O.objId,"0 R");break;case"freetext":r="/Rect ["+f(i.bounds.x)+" "+l(i.bounds.y)+" "+f(i.bounds.x+i.bounds.w)+" "+l(i.bounds.y+i.bounds.h)+"] ";var z="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(i.color||"#000000");o="<</Type /Annot /Subtype /FreeText "+r+"/Contents ("+p(E(i.contents))+")",o+=" /DS("+p(E(z))+")",o+=" /Border [0 0 0]",o+=" >>",this.internal.write(o);break;case"link":if(i.options.name){var rt=this.annotations._nameMap[i.options.name];i.options.pageNumber=rt.page,i.options.top=rt.y}else i.options.top||(i.options.top=0);if(r="/Rect ["+i.finalBounds.x+" "+i.finalBounds.y+" "+i.finalBounds.w+" "+i.finalBounds.h+"] ",o="",i.options.url)o="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /A <</S /URI /URI ("+p(E(i.options.url))+") >>";else if(i.options.pageNumber)switch(o="<</Type /Annot /Subtype /Link "+r+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(i.options.pageNumber).objId+" 0 R",i.options.magFactor=i.options.magFactor||"XYZ",i.options.magFactor){case"Fit":o+=" /Fit]";break;case"FitH":o+=" /FitH "+i.options.top+"]";break;case"FitV":i.options.left=i.options.left||0,o+=" /FitV "+i.options.left+"]";break;default:var vt=l(i.options.top);i.options.left=i.options.left||0,i.options.zoom===void 0&&(i.options.zoom=0),o+=" /XYZ "+i.options.left+" "+vt+" "+i.options.zoom+"]"}o!=""&&(o+=" >>",this.internal.write(o))}}this.internal.write("]")}}]),t.createAnnotation=function(e){var i=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":i.pageContext.annotations.push(e)}},t.link=function(e,i,r,o,f){var l=this.internal.getCurrentPageInfo(),c=this.internal.getCoordinateString,d=this.internal.getVerticalCoordinateString;
41l.pageContext.annotations.push({finalBounds:{x:c(e),y:d(i),w:c(e+r),h:d(i+o)},options:f,type:"link"})},t.textWithLink=function(e,i,r,o){var f,l,c=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;f=Math.ceil(d*g)}else l=c,f=d;return this.text(e,i,r,o),r+=.2*d,o.align==="center"&&(i-=c/2),o.align==="right"&&(i-=c),this.link(i,r-d,l,f,o),c},t.getTextWidth=function(e){var i=this.internal.getFontSize();return this.getStringUnitWidth(e)*i/this.internal.scaleFactor}})(jt.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
vendor: 22,336 bytes, line 41
417],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}},i={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},r=[1570,1571,1573,1575];t.__arabicParser__={};var o=t.__arabicParser__.isInArabicSubstitutionA=function(I){return n[I.charCodeAt(0)]!==void 0},f=t.__arabicParser__.isArabicLetter=function(I){return typeof I=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(I)},l=t.__arabicParser__.isArabicEndLetter=function(I){return f(I)&&o(I)&&n[I.charCodeAt(0)].length<=2},c=t.__arabicParser__.isArabicAlfLetter=function(I){return f(I)&&r.indexOf(I.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(I){return f(I)&&o(I)&&n[I.charCodeAt(0)].length>=1};var d=t.__arabicParser__.arabicLetterHasFinalForm=function(I){return f(I)&&o(I)&&n[I.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(I){return f(I)&&o(I)&&n[I.charCodeAt(0)].length>=3};var g=t.__arabicParser__.arabicLetterHasMedialForm=function(I){return f(I)&&o(I)&&n[I.charCodeAt(0)].length==4},_=t.__arabicParser__.resolveLigatures=function(I){var O=0,k=e,G="",V=0;for(O=0;O<I.length;O+=1)k[I.charCodeAt(O)]!==void 0?(V++,typeof(k=k[I.charCodeAt(O)])=="number"&&(G+=String.fromCharCode(k),k=e,V=0),O===I.length-1&&(k=e,G+=I.charAt(O-(V-1)),O-=V-1,V=0)):(k=e,G+=I.charAt(O-V),O-=V,V=0);return G};t.__arabicParser__.isArabicDiacritic=function(I){return I!==void 0&&i[I.charCodeAt(0)]!==void 0};var A=t.__arabicParser__.getCorrectForm=function(I,O,k){return f(I)?o(I)===!1?-1:!d(I)||!f(O)&&!f(k)||!f(k)&&l(O)||l(I)&&!f(O)||l(I)&&c(O)||l(I)&&l(O)?0:g(I)&&f(O)&&!l(O)&&f(k)&&d(k)?3:l(I)||!f(k)?1:2:-1},p=function(I){var O=0,k=0,G=0,V="",z="",rt="",vt=(I=I||"").split("\\s+"),dt=[];for(O=0;O<vt.length;O+=1){for(dt.push(""),k=0;k<vt[O].length;k+=1)V=vt[O][k],z=vt[O][k-1],rt=vt[O][k+1],f(V)?(G=A(V,z,rt),dt[O]+=G!==-1?String.fromCharCode(n[V.charCodeAt(0)][G]):V):dt[O]+=V;dt[O]=_(dt[O])}return dt.join(" ")},E=t.__arabicParser__.processArabic=t.processArabic=function(){var I,O=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,k=[];if(Array.isArray(O)){var G=0;for(k=[],G=0;G<O.length;G+=1)Array.isArray(O[G])?k.push([p(O[G][0]),O[G][1],O[G][2]]):k.push([p(O[G])]);I=k}else I=p(O);return typeof arguments[0]=="string"?I:(arguments[0].text=I,arguments[0])};t.events.push(["preProcessText",E])})(jt.API),jt.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 i=150;Object.defineProperty(this,"width",{get:function(){return i},set:function(l){i=isNaN(l)||Number.isInteger(l)===!1||l<0?150:l,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=i+1)}});var r=300;Object.defineProperty(this,"height",{get:function(){return r},set:function(l){r=isNaN(l)||Number.isInteger(l)===!1||l<0?300:l,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=r+1)}});var o=[];Object.defineProperty(this,"childNodes",{get:function(){return o},set:function(l){o=l}});var f={};Object.defineProperty(this,"style",{get:function(){return f},set:function(l){f=l}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(e,i){var r;if((e=e||"2d")!=="2d")return null;for(r in i)this.pdf.context2d.hasOwnProperty(r)&&(this.pdf.context2d[r]=i[r]);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}])})(jt.API),(function(t){var n={left:0,top:0,bottom:0,right:0},e=!1,i=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(),r.call(this))},r=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var c=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return c},set:function(I){c=I}});var d=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return d},set:function(I){d=I}});var g=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return g},set:function(I){g=I}});var _=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return _},set:function(I){_=I}});var A=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return A},set:function(I){A=I}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(I){p=I}});var E=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return E},set:function(I){E=I}}),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(c){return i.call(this),this.internal.__cell__.headerFunction=typeof c=="function"?c:void 0,this},t.getTextDimensions=function(c,d){i.call(this);var g=(d=d||{}).fontSize||this.getFontSize(),_=d.font||this.getFont(),A=d.scaleFactor||this.internal.scaleFactor,p=0,E=0,I=0,O=this;if(!Array.isArray(c)&&typeof c!="string"){if(typeof c!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");c=String(c)}var k=d.maxWidth;k>0?typeof c=="string"?c=this.splitTextToSize(c,k):Object.prototype.toString.call(c)==="[object Array]"&&(c=c.reduce(function(V,z){return V.concat(O.splitTextToSize(z,k))},[])):c=Array.isArray(c)?c:[c];for(var G=0;G<c.length;G++)p<(I=this.getStringUnitWidth(c[G],{font:_})*g)&&(p=I);return p!==0&&(E=c.length),{w:p/=A,h:Math.max((E*g*this.getLineHeightFactor()-g*(this.getLineHeightFactor()-1))/A,0)}},t.cellAddPage=function(){i.call(this),this.addPage();var c=this.internal.__cell__.margins||n;return this.internal.__cell__.lastCell=new o(c.left,c.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var f=t.cell=function(){var c;c=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),i.call(this);var d=this.internal.__cell__.lastCell,g=this.internal.__cell__.padding,_=this.internal.__cell__.margins||n,A=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return d.lineNumber!==void 0&&(d.lineNumber===c.lineNumber?(c.x=(d.x||0)+(d.width||0),c.y=d.y||0):d.y+d.height+c.height+_.bottom>this.getPageHeight()?(this.cellAddPage(),c.y=_.top,p&&A&&(this.printHeaderRow(c.lineNumber,!0),c.y+=A[0].height)):c.y=d.y+d.height||c.y),c.text[0]!==void 0&&(this.rect(c.x,c.y,c.width,c.height,e===!0?"FD":void 0),c.align==="right"?this.text(c.text,c.x+c.width-g,c.y+g,{align:"right",baseline:"top"}):c.align==="center"?this.text(c.text,c.x+c.width/2,c.y+g,{align:"center",baseline:"top",maxWidth:c.width-g-g}):this.text(c.text,c.x+g,c.y+g,{align:"left",baseline:"top",maxWidth:c.width-g-g})),this.internal.__cell__.lastCell=c,this};t.table=function(c,d,g,_,A){if(i.call(this),!g)throw new Error("No data for PDF table.");var p,E,I,O,k=[],G=[],V=[],z={},rt={},vt=[],dt=[],X=(A=A||{}).autoSize||!1,D=A.printHeaders!==!1,tt=A.css&&A.css["font-size"]!==void 0?16*A.css["font-size"]:A.fontSize||12,N=A.margins||Object.assign({width:this.getPageWidth()},n),F=typeof A.padding=="number"?A.padding:3,q=A.headerBackgroundColor||"#c8c8c8",U=A.headerTextColor||"#000";if(r.call(this),this.internal.__cell__.printHeaders=D,this.internal.__cell__.margins=N,this.internal.__cell__.table_font_size=tt,this.internal.__cell__.padding=F,this.internal.__cell__.headerBackgroundColor=q,this.internal.__cell__.headerTextColor=U,this.setFontSize(tt),_==null)G=k=Object.keys(g[0]),V=k.map(function(){return"left"});else if(Array.isArray(_)&&Te(_[0])==="object")for(k=_.map(function(At){return At.name}),G=_.map(function(At){return At.prompt||At.name||""}),V=_.map(function(At){return At.align||"left"}),p=0;p<_.length;p+=1)rt[_[p].name]=.7499990551181103*_[p].width;else Array.isArray(_)&&typeof _[0]=="string"&&(G=k=_,V=k.map(function(){return"left"}));if(X||Array.isArray(_)&&typeof _[0]=="string")for(p=0;p<k.length;p+=1){for(z[O=k[p]]=g.map(function(At){return At[O]}),this.setFont(void 0,"bold"),vt.push(this.getTextDimensions(G[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),E=z[O],this.setFont(void 0,"normal"),I=0;I<E.length;I+=1)vt.push(this.getTextDimensions(E[I],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);rt[O]=Math.max.apply(null,vt)+F+F,vt=[]}if(D){var it={};for(p=0;p<k.length;p+=1)it[k[p]]={},it[k[p]].text=G[p],it[k[p]].align=V[p];var st=l.call(this,it,rt);dt=k.map(function(At){return new o(c,d,rt[At],st,it[At].text,void 0,it[At].align)}),this.setTableHeaderRow(dt),this.printHeaderRow(1,!1)}var ht=_.reduce(function(At,wt){return At[wt.name]=wt.align,At},{});for(p=0;p<g.length;p+=1){"rowStart"in A&&A.rowStart instanceof Function&&A.rowStart({row:p,data:g[p]},this);var nt=l.call(this,g[p],rt);for(I=0;I<k.length;I+=1){var ut=g[p][k[I]];"cellStart"in A&&A.cellStart instanceof Function&&A.cellStart({row:p,col:I,data:ut},this),f.call(this,new o(c,d,rt[k[I]],nt,ut,p+2,ht[k[I]]))}}return this.internal.__cell__.table_x=c,this.internal.__cell__.table_y=d,this};var l=function(c,d){var g=this.internal.__cell__.padding,_=this.internal.__cell__.table_font_size,A=this.internal.scaleFactor;return Object.keys(c).map(function(p){var E=c[p];return this.splitTextToSize(E.hasOwnProperty("text")?E.text:E,d[p]-g-g)},this).map(function(p){return this.getLineHeightFactor()*p.length*_/A+g+g},this).reduce(function(p,E){return Math.max(p,E)},0)};t.setTableHeaderRow=function(c){i.call(this),this.internal.__cell__.tableHeaderRow=c},t.printHeaderRow=function(c,d){if(i.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 _=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(_[0],_[1],_[2],_[3],void 0,-1)}this.setFont(void 0,"bold");for(var A=[],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,A.push(g)),g.lineNumber=c;var E=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),f.call(this,g),this.setTextColor(E)}A.length>0&&this.setTableHeaderRow(A),this.setFont(void 0,"normal"),e=!1}})(jt.API);var c0={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},h0=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],ph=l0(h0),f0=[100,200,300,400,500,600,700,800,900],M5=l0(f0);function sh(t){var n=t.family.replace(/"|'/g,"").toLowerCase(),e=(function(o){return c0[o=o||"normal"]?o:"normal"})(t.style),i=(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),r=(function(o){return typeof ph[o=o||"normal"]=="number"?o:"normal"})(t.stretch);return{family:n,style:e,weight:i,stretch:r,src:t.src||[],ref:t.ref||{name:n,style:[r,e,i].join(" ")}}}function z1(t,n,e,i){var r;for(r=e;r>=0&&r<n.length;r+=i)if(t[n[r]])return t[n[r]];for(r=e;r>=0&&r<n.length;r-=i)if(t[n[r]])return t[n[r]]}var T5={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},U1={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function q1(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function H1(t){return t.trimLeft()}function F5(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 B5(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 Ga,ul,W1,G1,V1,lh=["times"];function Z1(t,n,e,i,r){var o=4,f=Y1;switch(r){case jt.API.image_compression.FAST:o=1,f=$1;break;case jt.API.image_compression.MEDIUM:o=6,f=X1;break;case jt.API.image_compression.SLOW:o=9,f=K1}t=(function(c,d,g,_){for(var A,p=c.length/d,E=new Uint8Array(c.length+p),I=[O5,$1,Y1,X1,K1],O=0;O<p;O+=1){var k=O*d,G=c.subarray(k,k+d);if(_)E.set(_(G,g,A),k+O);else{for(var V=I.length,z=[],rt=0;rt<V;rt+=1)z[rt]=I[rt](G,g,A);var vt=j5(z.concat());E.set(z[vt],k+O)}A=G}return E})(t,n,Math.ceil(e*i/8),f);var l=qs(t,{level:o});return jt.API.__addimage__.arrayBufferToBinaryString(l)}function O5(t){var n=Array.apply([],t);return n.unshift(0),n}function $1(t,n){var e=t.length,i=[];i[0]=1;for(var r=0;r<e;r+=1){var o=t[r-n]||0;i[r+1]=t[r]-o+256&255}return i}function Y1(t,n,e){var i=t.length,r=[];r[0]=2;for(var o=0;o<i;o+=1){var f=e&&e[o]||0;r[o+1]=t[o]-f+256&255}return r}function X1(t,n,e){var i=t.length,r=[];r[0]=3;for(var o=0;o<i;o+=1){var f=t[o-n]||0,l=e&&e[o]||0;r[o+1]=t[o]+256-(f+l>>>1)&255}return r}function K1(t,n,e){var i=t.length,r=[];r[0]=4;for(var o=0;o<i;o+=1){var f=D5(t[o-n]||0,e&&e[o]||0,e&&e[o-n]||0);r[o+1]=t[o]-f+256&255}return r}function D5(t,n,e){if(t===n&&n===e)return t;var i=Math.abs(n-e),r=Math.abs(t-e),o=Math.abs(t+n-e-e);return i<=r&&i<=o?t:r<=o?n:e}function j5(t){var n=t.map(function(e){return e.reduce(function(i,r){return i+Math.abs(r)},0)});return n.indexOf(Math.min.apply(null,n))}function ch(t,n,e){var i=n*e,r=Math.floor(i/8),o=16-(i-8*r+e),f=(1<<e)-1;return u0(t,r)>>o&f}function J1(t,n,e,i){var r=e*i,o=Math.floor(r/8),f=16-(r-8*o+i),l=(1<<i)-1,c=(n&l)<<f;(function(d,g,_){if(g+1<d.byteLength)d.setUint16(g,_,!1);else{var A=_>>8&255;d.setUint8(g,A)}})(t,o,u0(t,o)&~(l<<f)&65535|c)}function u0(t,n){return n+1<t.byteLength?t.getUint16(n,!1):t.getUint8(n)<<8}function R5(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,i=t[n++]|t[n++]<<8,r=t[n++],o=r>>7,f=1<<1+(7&r);t[n++],t[n++];var l=null,c=null;o&&(l=n,c=f,n+=3*f);var d=!0,g=[],_=0,A=null,p=0,E=null;for(this.width=e,this.height=i;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,E=t[n++]|t[n++]<<8,n++;else for(n+=12;;){if(!((N=t[n++])>=0))throw Error("Invalid block size");if(N===0)break;n+=N}break;case 249:if(t[n++]!==4||t[n+4]!==0)throw new Error("Invalid graphics extension block.");var I=t[n++];_=t[n++]|t[n++]<<8,A=t[n++],1&I||(A=null),p=I>>2&7,n++;break;case 254:for(;;){if(!((N=t[n++])>=0))throw Error("Invalid block size");if(N===0)break;n+=N}break;default:throw new Error("Unknown graphic control label: 0x"+t[n-1].toString(16))}break;case 44:var O=t[n++]|t[n++]<<8,k=t[n++]|t[n++]<<8,G=t[n++]|t[n++]<<8,V=t[n++]|t[n++]<<8,z=t[n++],rt=z>>6&1,vt=1<<1+(7&z),dt=l,X=c,D=!1;z>>7&&(D=!0,dt=n,X=vt,n+=3*vt);var tt=n;for(n++;;){var N;if(!((N=t[n++])>=0))throw Error("Invalid block size");if(N===0)break;n+=N}g.push({x:O,y:k,width:G,height:V,has_local_palette:D,palette_offset:dt,palette_size:X,data_offset:tt,data_length:n-tt,transparent_index:A,interlaced:!!rt,delay:_,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 E},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,q){var U=this.frameInfo(F),it=U.width*U.height;if(it>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var st=new Uint8Array(it);Q1(t,U.data_offset,st,it);var ht=U.palette_offset,nt=U.transparent_index;nt===null&&(nt=256);var ut=U.width,At=e-ut,wt=ut,x=4*(U.y*e+U.x),B=4*((U.y+U.height)*e+U.x),j=x,H=4*At;U.interlaced===!0&&(H+=4*e*7);for(var $=8,J=0,at=st.length;J<at;++J){var ot=st[J];if(wt===0&&(wt=ut,(j+=H)>=B&&(H=4*At+4*e*($-1),j=x+(ut+At)*($<<1),$>>=1)),ot===nt)j+=4;else{var gt=t[ht+3*ot],xt=t[ht+3*ot+1],kt=t[ht+3*ot+2];q[j++]=kt,q[j++]=xt,q[j++]=gt,q[j++]=255}--wt}},this.decodeAndBlitFrameRGBA=function(F,q){var U=this.frameInfo(F),it=U.width*U.height;if(it>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var st=new Uint8Array(it);Q1(t,U.data_offset,st,it);var ht=U.palette_offset,nt=U.transparent_index;nt===null&&(nt=256);var ut=U.width,At=e-ut,wt=ut,x=4*(U.y*e+U.x),B=4*((U.y+U.height)*e+U.x),j=x,H=4*At;U.interlaced===!0&&(H+=4*e*7);for(var $=8,J=0,at=st.length;J<at;++J){var ot=st[J];if(wt===0&&(wt=ut,(j+=H)>=B&&(H=4*At+4*e*($-1),j=x+(ut+At)*($<<1),$>>=1)),ot===nt)j+=4;else{var gt=t[ht+3*ot],xt=t[ht+3*ot+1],kt=t[ht+3*ot+2];q[j++]=gt,q[j++]=xt,q[j++]=kt,q[j++]=255}--wt}}}function Q1(t,n,e,i){for(var r=t[n++],o=1<<r,f=o+1,l=f+1,c=r+1,d=(1<<c)-1,g=0,_=0,A=0,p=t[n++],E=new Int32Array(4096),I=null;;){for(;g<16&&p!==0;)_|=t[n++]<<g,g+=8,p===1?p=t[n++]:--p;if(g<c)break;var O=_&d;if(_>>=c,g-=c,O!==o){if(O===f)break;for(var k=O<l?O:I,G=0,V=k;V>o;)V=E[V]>>8,++G;var z=V;if(A+G+(k!==O?1:0)>i)return void Oe.log("Warning, gif stream longer than expected.");e[A++]=z;var rt=A+=G;for(k!==O&&(e[A++]=z),V=k;G--;)V=E[V],e[--rt]=255&V,V>>=8;I!==null&&l<4096&&(E[l++]=I<<8|z,l>=d+1&&c<12&&(++c,d=d<<1|1)),I=O}else l=f+1,d=(1<<(c=r+1))-1,I=null}return A!==i&&Oe.log("Warning, gif stream shorter than expected."),e}function hh(t){var n,e,i,r,o,f=Math.floor,l=new Array(64),c=new Array(64),d=new Array(64),g=new Array(64),_=new Array(65535),A=new Array(65535),p=new Array(64),E=new Array(64),I=[],O=0,k=7,G=new Array(64),V=new Array(64),z=new Array(64),rt=new Array(256),vt=new Array(2048),dt=[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],X=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],D=[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],N=[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],q=[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],it=[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(x,B){for(var j=0,H=0,$=new Array,J=1;J<=16;J++){for(var at=1;at<=x[J];at++)$[B[H]]=[],$[B[H]][0]=j,$[B[H]][1]=J,H++,j++;j*=2}return $}function ht(x){for(var B=x[0],j=x[1]-1;j>=0;)B&1<<j&&(O|=1<<k),j--,--k<0&&(O==255?(nt(255),nt(0)):nt(O),k=7,O=0)}function nt(x){I.push(x)}function ut(x){nt(x>>8&255),nt(255&x)}function At(x,B,j,H,$){for(var J,at=$[0],ot=$[240],gt=(function(yt,Vt){var Pt,Wt,qt,ke,pe,ne,me,ge,Dt,oe,zt=0;for(Dt=0;Dt<8;++Dt){Pt=yt[zt],Wt=yt[zt+1],qt=yt[zt+2],ke=yt[zt+3],pe=yt[zt+4],ne=yt[zt+5],me=yt[zt+6];var tn=Pt+(ge=yt[zt+7]),_e=Pt-ge,he=Wt+me,fe=Wt-me,We=qt+ne,Ht=qt-ne,De=ke+pe,Kt=ke-pe,ie=tn+De,Ge=tn-De,de=he+We,Zt=he-We;yt[zt]=ie+de,yt[zt+4]=ie-de;var Ce=.707106781*(Zt+Ge);yt[zt+2]=Ge+Ce,yt[zt+6]=Ge-Ce;var Er=.382683433*((ie=Kt+Ht)-(Zt=fe+_e)),Nn=.5411961*ie+Er,qi=1.306562965*Zt+Er,Li=.707106781*(de=Ht+fe),$t=_e+Li,Hi=_e-Li;yt[zt+5]=Hi+Nn,yt[zt+3]=Hi-Nn,yt[zt+1]=$t+qi,yt[zt+7]=$t-qi,zt+=8}for(zt=0,Dt=0;Dt<8;++Dt){Pt=yt[zt],Wt=yt[zt+8],qt=yt[zt+16],ke=yt[zt+24],pe=yt[zt+32],ne=yt[zt+40],me=yt[zt+48];var Wi=Pt+(ge=yt[zt+56]),ni=Pt-ge,ii=Wt+me,Xe=Wt-me,mn=qt+ne,wn=qt-ne,Ir=ke+pe,or=ke-pe,fi=Wi+Ir,Ni=Wi-Ir,ui=ii+mn,di=ii-mn;yt[zt]=fi+ui,yt[zt+32]=fi-ui;var ri=.707106781*(di+Ni);
41yt[zt+16]=Ni+ri,yt[zt+48]=Ni-ri;var Mr=.382683433*((fi=or+wn)-(di=Xe+ni)),Si=.5411961*fi+Mr,Tr=1.306562965*di+Mr,ca=.707106781*(ui=wn+Xe),ha=ni+ca,fa=ni-ca;yt[zt+40]=fa+Si,yt[zt+24]=fa-Si,yt[zt+8]=ha+Tr,yt[zt+56]=ha-Tr,zt++}for(Dt=0;Dt<64;++Dt)oe=yt[Dt]*Vt[Dt],p[Dt]=oe>0?oe+.5|0:oe-.5|0;return p})(x,B),xt=0;xt<64;++xt)E[dt[xt]]=gt[xt];var kt=E[0]-j;j=E[0],kt==0?ht(H[0]):(ht(H[A[J=32767+kt]]),ht(_[J]));for(var St=63;St>0&&E[St]==0;)St--;if(St==0)return ht(at),j;for(var Ut,C=1;C<=St;){for(var Nt=C;E[C]==0&&C<=St;)++C;var ce=C-Nt;if(ce>=16){Ut=ce>>4;for(var Gt=1;Gt<=Ut;++Gt)ht(ot);ce&=15}J=32767+E[C],ht($[(ce<<4)+A[J]]),ht(_[J]),C++}return St!=63&&ht(at),j}function wt(x){x=Math.min(Math.max(x,1),100),o!=x&&((function(B){for(var j=[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 $=f((j[H]*B+50)/100);$=Math.min(Math.max($,1),255),l[dt[H]]=$}for(var J=[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=f((J[at]*B+50)/100);ot=Math.min(Math.max(ot,1),255),c[dt[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[dt[xt]]*gt[kt]*gt[St]*8),g[xt]=1/(c[dt[xt]]*gt[kt]*gt[St]*8),xt++})(x<50?Math.floor(5e3/x):Math.floor(200-2*x)),o=x)}this.encode=function(x,B){B&&wt(B),I=new Array,O=0,k=7,ut(65496),ut(65504),ut(16),nt(74),nt(70),nt(73),nt(70),nt(0),nt(1),nt(1),nt(0),ut(1),ut(1),nt(0),nt(0),(function(){ut(65499),ut(132),nt(0);for(var Wt=0;Wt<64;Wt++)nt(l[Wt]);nt(1);for(var qt=0;qt<64;qt++)nt(c[qt])})(),(function(Wt,qt){ut(65472),ut(17),nt(8),ut(qt),ut(Wt),nt(3),nt(1),nt(17),nt(0),nt(2),nt(17),nt(1),nt(3),nt(17),nt(1)})(x.width,x.height),(function(){ut(65476),ut(418),nt(0);for(var Wt=0;Wt<16;Wt++)nt(X[Wt+1]);for(var qt=0;qt<=11;qt++)nt(D[qt]);nt(16);for(var ke=0;ke<16;ke++)nt(tt[ke+1]);for(var pe=0;pe<=161;pe++)nt(N[pe]);nt(1);for(var ne=0;ne<16;ne++)nt(F[ne+1]);for(var me=0;me<=11;me++)nt(q[me]);nt(17);for(var ge=0;ge<16;ge++)nt(U[ge+1]);for(var Dt=0;Dt<=161;Dt++)nt(it[Dt])})(),ut(65498),ut(12),nt(3),nt(1),nt(0),nt(2),nt(17),nt(3),nt(17),nt(0),nt(63),nt(0);var j=0,H=0,$=0;O=0,k=7,this.encode.displayName="_encode_";for(var J,at,ot,gt,xt,kt,St,Ut,C,Nt=x.data,ce=x.width,Gt=x.height,yt=4*ce,Vt=0;Vt<Gt;){for(J=0;J<yt;){for(xt=yt*Vt+J,St=-1,Ut=0,C=0;C<64;C++)kt=xt+(Ut=C>>3)*yt+(St=4*(7&C)),Vt+Ut>=Gt&&(kt-=yt*(Vt+1+Ut-Gt)),J+St>=yt&&(kt-=J+St-yt+4),at=Nt[kt++],ot=Nt[kt++],gt=Nt[kt++],G[C]=(vt[at]+vt[ot+256|0]+vt[gt+512|0]>>16)-128,V[C]=(vt[at+768|0]+vt[ot+1024|0]+vt[gt+1280|0]>>16)-128,z[C]=(vt[at+1280|0]+vt[ot+1536|0]+vt[gt+1792|0]>>16)-128;j=At(G,d,j,n,i),H=At(V,g,H,e,r),$=At(z,g,$,e,r),J+=32}Vt+=8}if(k>=0){var Pt=[];Pt[1]=k+1,Pt[0]=(1<<k+1)-1,ht(Pt)}return ut(65497),new Uint8Array(I)},t=t||50,(function(){for(var x=String.fromCharCode,B=0;B<256;B++)rt[B]=x(B)})(),n=st(X,D),e=st(F,q),i=st(tt,N),r=st(U,it),(function(){for(var x=1,B=2,j=1;j<=15;j++){for(var H=x;H<B;H++)A[32767+H]=j,_[32767+H]=[],_[32767+H][1]=j,_[32767+H][0]=H;for(var $=-(B-1);$<=-x;$++)A[32767+$]=j,_[32767+$]=[],_[32767+$][1]=j,_[32767+$][0]=B-1+$;x<<=1,B<<=1}})(),(function(){for(var x=0;x<256;x++)vt[x]=19595*x,vt[x+256|0]=38470*x,vt[x+512|0]=7471*x+32768,vt[x+768|0]=-11059*x,vt[x+1024|0]=-21709*x,vt[x+1280|0]=32768*x+8421375,vt[x+1536|0]=-27439*x,vt[x+1792|0]=-5329*x})(),wt(t)}function _i(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 t0(t){function n(D){if(!D)throw Error("assert :P")}function e(D,tt,N){for(var F=0;4>F;F++)if(D[tt+F]!=N.charCodeAt(F))return!0;return!1}function i(D,tt,N,F,q){for(var U=0;U<q;U++)D[tt+U]=N[F+U]}function r(D,tt,N,F){for(var q=0;q<F;q++)D[tt+q]=N}function o(D){return new Int32Array(D)}function f(D,tt){for(var N=[],F=0;F<D;F++)N.push(new tt);return N}function l(D,tt){var N=[];return(function F(q,U,it){for(var st=it[U],ht=0;ht<st&&(q.push(it.length>U+1?[]:new tt),!(it.length<U+1));
vendor: 44,642 bytes, line 41
41ht++)F(q[ht],U+1,it)})(N,0,D),N}var c=function(){var D=this;function tt(a,s){for(var u=1<<s-1>>>0;a&u;)u>>>=1;return u?(a&u-1)+u:a}function N(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(y,L,S,M,W,et){var T,Z,K=L,ct=1<<S,Q=o(16),ft=o(16);for(n(W!=0),n(M!=null),n(y!=null),n(0<S),Z=0;Z<W;++Z){if(15<M[Z])return 0;++Q[M[Z]]}if(Q[0]==W)return 0;for(ft[1]=0,T=1;15>T;++T){if(Q[T]>1<<T)return 0;ft[T+1]=ft[T]+Q[T]}for(Z=0;Z<W;++Z)T=M[Z],0<M[Z]&&(et[ft[T]++]=Z);if(ft[15]==1)return(M=new q).g=0,M.value=et[0],N(y,K,1,ct,M),ct;var pt,_t=-1,bt=ct-1,Rt=0,Ct=1,se=1,Ft=1<<S;for(Z=0,T=1,W=2;T<=S;++T,W<<=1){if(Ct+=se<<=1,0>(se-=Q[T]))return 0;for(;0<Q[T];--Q[T])(M=new q).g=T,M.value=et[Z++],N(y,K+Rt,W,Ft,M),Rt=tt(Rt,T)}for(T=S+1,W=2;15>=T;++T,W<<=1){if(Ct+=se<<=1,0>(se-=Q[T]))return 0;for(;0<Q[T];--Q[T]){if(M=new q,(Rt&bt)!=_t){for(K+=Ft,pt=1<<(_t=T)-S;15>_t&&!(0>=(pt-=Q[_t]));)++_t,pt<<=1;ct+=Ft=1<<(pt=_t-S),y[L+(_t=Rt&bt)].g=pt+S,y[L+_t].value=K-L-_t}M.g=T-S,M.value=et[Z++],N(y,K+(Rt>>S),W,Ft,M),Rt=tt(Rt,T)}}return Ct!=2*ft[15]-1?0:ct})(a,s,u,m,b,w)}function q(){this.value=this.g=0}function U(){this.value=this.g=0}function it(){this.G=f(5,q),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=f(La,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 ut(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]<<Bn-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<=uo){var u=j(a)&Hr[s];return a.u+=s,At(a),u}return a.h=1,a.u=0}function x(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function B(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function j(a){return a.Ra>>>(a.u&Bn-1)>>>0}function H(a){return n(a.bb<=a.Sb),a.h||a.bb==a.Sb&&a.u>Bn}function $(a,s){a.u=s,a.h=H(a)}function J(a){a.u>=Un&&(n(a.u>=Un),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+Na[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 Ut(a,s){return kt(a,s)|kt(a,s+2)<<16}function C(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 Nt(a,s){n(a!=null),n(s!=null),n(a.Xa==s.Xa),i(s.X,0,a.X,0,1<<s.Xa)}function ce(){this.X=[],this.Xa=this.Mb=0}function Gt(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 yt(a,s){return a+(1<<s)-1>>>s}function Vt(a,s){return((4278255360&a)+(4278255360&s)>>>0&4278255360)+((16711935&a)+(16711935&s)>>>0&16711935)>>>0}function Pt(a,s){D[s]=function(u,m,b,w,y,L,S){var M;for(M=0;M<y;++M){var W=D[a](L[S+M-1],b,w+M);L[S+M]=Vt(u[m+M],W)}}}function Wt(){this.ud=this.hd=this.jd=0}function qt(a,s){return((4278124286&(a^s))>>>1)+(a&s)>>>0}function ke(a){return 0<=a&&256>a?a:0>a?0:255<a?255:void 0}function pe(a,s){return ke(a+(a-s+.5>>1))}function ne(a,s,u){return Math.abs(s-u)-Math.abs(a-u)}function me(a,s,u,m,b,w,y){for(m=w[y-1],u=0;u<b;++u)w[y+u]=m=Vt(a[s+u],m)}function ge(a,s,u,m,b){var w;for(w=0;w<u;++w){var y=a[s+w],L=y>>8&255,S=16711935&(S=(S=16711935&y)+((L<<16)+L));m[b+w]=(4278255360&y)+S>>>0}}function Dt(a,s){s.jd=255&a,s.hd=a>>8&255,s.ud=a>>16&255}function oe(a,s,u,m,b,w){var y;for(y=0;y<m;++y){var L=s[u+y],S=L>>>8,M=L,W=255&(W=(W=L>>>16)+((a.jd<<24>>24)*(S<<24>>24)>>>5));M=255&(M=(M+=(a.hd<<24>>24)*(S<<24>>24)>>>5)+((a.ud<<24>>24)*(W<<24>>24)>>>5)),b[w+y]=(4278255360&L)+(W<<16)+M}}function zt(a,s,u,m,b){D[s]=function(w,y,L,S,M,W,et,T,Z){for(S=et;S<T;++S)for(et=0;et<Z;++et)M[W++]=b(L[m(w[y++])])},D[a]=function(w,y,L,S,M,W,et){var T=8>>w.b,Z=w.Ea,K=w.K[0],ct=w.w;if(8>T)for(w=(1<<w.b)-1,ct=(1<<T)-1;y<L;++y){var Q,ft=0;for(Q=0;Q<Z;++Q)Q&w||(ft=m(S[M++])),W[et++]=b(K[ft&ct]),ft>>=T}else D["VP8LMapColor"+u](S,M,K,ct,W,et,y,L,Z)}}function tn(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 _e(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 he(a,s,u,m,b){for(u=s+u;s<u;){var w=(y=a[s++])>>16&240|y>>12&15,y=240&y|y>>28&15;m[b++]=w,m[b++]=y}}function fe(a,s,u,m,b){for(u=s+u;s<u;){var w=(y=a[s++])>>16&248|y>>13&7,y=y>>5&224|y>>3&31;m[b++]=w,m[b++]=y}}function We(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 Ht(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 i(m,b,a,s,u)}function De(a,s){D[s][0]=D[a+"0"],D[s][1]=D[a+"1"],D[s][2]=D[a+"2"],D[s][3]=D[a+"3"],D[s][4]=D[a+"4"],D[s][5]=D[a+"5"],D[s][6]=D[a+"6"],D[s][7]=D[a+"7"],D[s][8]=D[a+"8"],D[s][9]=D[a+"9"],D[s][10]=D[a+"10"],D[s][11]=D[a+"11"],D[s][12]=D[a+"12"],D[s][13]=D[a+"13"],D[s][14]=D[a+"0"],D[s][15]=D[a+"0"]}function Kt(a){return a==Hl||a==Wl||a==vs||a==Gl}function ie(){this.eb=[],this.size=this.A=this.fb=0}function Ge(){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 de(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new ie,this.f.kb=new Ge,this.sd=null}function Zt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Ce(){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 Er(a){return alert("todo:WebPSamplerProcessPlane"),a.T}function Nn(a,s){var u=a.T,m=s.ba.f.RGBA,b=m.eb,w=m.fb+a.ka*m.A,y=li[s.ba.S],L=a.y,S=a.O,M=a.f,W=a.N,et=a.ea,T=a.W,Z=s.cc,K=s.dc,ct=s.Mc,Q=s.Nc,ft=a.ka,pt=a.ka+a.T,_t=a.U,bt=_t+1>>1;for(ft==0?y(L,S,null,null,M,W,et,T,M,W,et,T,b,w,null,null,_t):(y(s.ec,s.fc,L,S,Z,K,ct,Q,M,W,et,T,b,w-m.A,b,w,_t),++u);ft+2<pt;ft+=2)Z=M,K=W,ct=et,Q=T,W+=a.Rc,T+=a.Rc,w+=2*m.A,y(L,(S+=2*a.fa)-a.fa,L,S,Z,K,ct,Q,M,W,et,T,b,w-m.A,b,w,_t);return S+=a.fa,a.j+pt<a.o?(i(s.ec,s.fc,L,S,_t),i(s.cc,s.dc,M,W,bt),i(s.Mc,s.Nc,et,T,bt),u--):1&pt||y(L,S,null,null,M,W,et,T,M,W,et,T,b,w+m.A,null,null,_t),u}function qi(a,s,u){var m=a.F,b=[a.J];if(m!=null){var w=a.U,y=s.ba.S,L=y==ms||y==vs;s=s.ba.f.RGBA;var S=[0],M=a.ka;S[0]=a.T,a.Kb&&(M==0?--S[0]:(--M,b[0]-=a.width),a.j+a.ka+a.T==a.o&&(S[0]=a.o-a.j-M));var W=s.eb;M=s.fb+M*s.A,a=_h(m,b[0],a.width,w,S,W,M+(L?0:3),s.A),n(u==S),a&&Kt(y)&&vo(W,M,L,w,S,s.A)}return 0}function Li(a){var s=a.ma,u=s.ba.S,m=11>u,b=u==ps||u==gs||u==ms||u==ql||u==12||Kt(u);if(s.memory=null,s.Ib=null,s.Jb=null,s.Nd=null,!oi(s.Oa,a,b?11:12))return 0;if(b&&Kt(u)&&Xi(),a.da)alert("todo:use_scaling");else{if(m){if(s.Ib=Er,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=Nn,Xi()}}else alert("todo:EmitYUV");b&&(s.Jb=qi,m&&Ye())}if(m&&!jh){for(a=0;256>a;++a)z0[a]=89858*(a-128)+ws>>bs,H0[a]=-22014*(a-128)+ws,q0[a]=-45773*(a-128),U0[a]=113618*(a-128)+ws>>bs;for(a=wo;a<$l;++a)s=76283*(a-16)+ws>>bs,W0[a-wo]=ki(s,255),G0[a-wo]=ki(s+8>>4,15);jh=1}return 1}function $t(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 Hi(a){a.ma.memory=null}function Wi(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 ni(a,s){if(4>a)return a+1;var u=a-2>>1;return(2+(1&a)<<u)+wt(s,u)+1}function ii(a,s){return 120<s?s-120:1<=(u=((u=S0[s-1])>>4)*a+(8-(15&u)))?u:1;var u}function Xe(a,s,u){var m=j(u),b=a[s+=255&m].g-8;return 0<b&&($(u,u.u+8),m=j(u),s+=a[s].value,s+=m&(1<<b)-1),$(u,u.u+a[s].g),a[s].value}function mn(a,s,u){return u.g+=a.g,u.value+=a.value<<s>>>0,n(8>=u.g),a.g}function wn(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 Ir(a,s,u,m){var b=a.ab,w=a.c*s,y=a.C;s=y+s;var L=u,S=m;for(m=a.Ta,u=a.Ua;0<b--;){var M=a.gc[b],W=y,et=s,T=L,Z=S,K=(S=m,L=u,M.Ea);switch(n(W<et),n(et<=M.nc),M.hc){case 2:Sa(T,Z,(et-W)*K,S,L);break;case 0:var ct=W,Q=et,ft=S,pt=L,_t=(Ft=M).Ea;ct==0&&(fr(T,Z,null,null,1,ft,pt),me(T,Z+1,0,0,_t-1,ft,pt+1),Z+=_t,pt+=_t,++ct);for(var bt=1<<Ft.b,Rt=bt-1,Ct=yt(_t,Ft.b),se=Ft.K,Ft=Ft.w+(ct>>Ft.b)*Ct;ct<Q;){var ve=se,un=Ft,le=1;for(ur(T,Z,ft,pt-_t,1,ft,pt);le<_t;){var Bt=(le&~Rt)+bt;Bt>_t&&(Bt=_t),(0,pi[ve[un++]>>8&15])(T,Z+ +le,ft,pt+le-_t,Bt-le,ft,pt+le),le=Bt}Z+=_t,pt+=_t,++ct&Rt||(Ft+=Ct)}et!=M.nc&&i(S,L-K,S,L+(et-W-1)*K,K);break;case 1:for(K=T,Q=Z,_t=(T=M.Ea)-(pt=T&~(ft=(Z=1<<M.b)-1)),ct=yt(T,M.b),bt=M.K,M=M.w+(W>>M.b)*ct;W<et;){for(Rt=bt,Ct=M,se=new Wt,Ft=Q+pt,ve=Q+T;Q<Ft;)Dt(Rt[Ct++],se),Gr(se,K,Q,Z,S,L),Q+=Z,L+=Z;Q<ve&&(Dt(Rt[Ct++],se),Gr(se,K,Q,_t,S,L),Q+=_t,L+=_t),++W&ft||(M+=ct)}break;case 3:if(T==S&&Z==L&&0<M.b){for(Q=S,T=K=L+(et-W)*K-(pt=(et-W)*yt(M.Ea,M.b)),Z=S,ft=L,ct=[],pt=(_t=pt)-1;0<=pt;--pt)ct[pt]=Z[ft+pt];for(pt=_t-1;0<=pt;--pt)Q[T+pt]=ct[pt];Wr(M,W,et,S,K,S,L)}else Wr(M,W,et,T,Z,S,L)}L=m,S=u}S!=u&&i(m,u,L,S,w)}function or(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,y=a.Ta,L=a.Ua,S=w.width;if(Ir(a,b,u,m),b=L=[L],n((u=a.C)<(m=s)),n(w.v<w.va),m>w.o&&(m=w.o),u<w.j){var M=w.j-u;u=w.j,b[0]+=M*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(L=L[0],11>(u=a.ca).S){var W=u.f.RGBA,et=(m=u.S,b=w.U,w=w.T,M=W.eb,W.A),T=w;for(W=W.fb+a.Ma*W.A;0<T--;){var Z=y,K=L,ct=b,Q=M,ft=W;switch(m){case ds:po(Z,K,ct,Q,ft);break;case ps:go(Z,K,ct,Q,ft);break;case Hl:go(Z,K,ct,Q,ft),vo(Q,ft,0,ct,1,0);break;case Ch:Zr(Z,K,ct,Q,ft);break;case gs:Ht(Z,K,ct,Q,ft,1);break;case Wl:Ht(Z,K,ct,Q,ft,1),vo(Q,ft,0,ct,1,0);break;case ms:Ht(Z,K,ct,Q,ft,0);break;case vs:Ht(Z,K,ct,Q,ft,0),vo(Q,ft,1,ct,1,0);break;case ql:ka(Z,K,ct,Q,ft);break;case Gl:ka(Z,K,ct,Q,ft),yh(Q,ft,ct,1,0);break;case Ph:Vr(Z,K,ct,Q,ft);break;default:n(0)}L+=S,W+=et}a.Ma+=w}else alert("todo:EmitRescaledRowsYUVA");n(a.Ma<=u.height)}}a.C=s,n(a.C<=a.i)}function fi(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 Ni(a,s,u,m,b,w){if(a.Z!=0){var y=a.qd,L=a.rd;for(n(mr[a.Z]!=null);s<u;++s)mr[a.Z](y,L,m,b,m,b,w),y=m,L=b,b+=w;a.qd=y,a.rd=L}}function ui(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,y=u.tb+b*m,L=a.V,S=a.Ba+a.c*m,M=a.gc;n(a.ab==1),n(M[0].hc==3),zl(M[0],m,s,L,S,w,y),Ni(u,m,s,w,y,b)}a.C=a.Ma=s}function di(a,s,u,m,b,w,y){var L=a.$/m,S=a.$%m,M=a.m,W=a.s,et=u+a.$,T=et;b=u+m*b;var Z=u+m*w,K=280+W.ua,ct=a.Pb?L:16777216,Q=0<W.ua?W.Wa:null,ft=W.wc,pt=et<Z?wn(W,S,L):null;n(a.C<w),n(Z<=b);var _t=!1;t:for(;;){for(;_t||et<Z;){var bt=0;if(L>=ct){var Rt=et-u;n((ct=a).Pb),ct.wd=ct.m,ct.xd=Rt,0<ct.s.ua&&Nt(ct.s.Wa,ct.s.vb),ct=L+C0}if(S&ft||(pt=wn(W,S,L)),n(pt!=null),pt.Qb&&(s[et]=pt.qb,_t=!0),!_t)if(J(M),pt.jc){bt=M,Rt=s;var Ct=et,se=pt.pd[j(bt)&La-1];n(pt.jc),256>se.g?($(bt,bt.u+se.g),Rt[Ct]=se.value,bt=0):($(bt,bt.u+se.g-256),n(256<=se.value),bt=se.value),bt==0&&(_t=!0)}else bt=Xe(pt.G[0],pt.H[0],M);if(M.h)break;if(_t||256>bt){if(!_t)if(pt.nd)s[et]=(pt.qb|bt<<8)>>>0;else{if(J(M),_t=Xe(pt.G[1],pt.H[1],M),J(M),Rt=Xe(pt.G[2],pt.H[2],M),Ct=Xe(pt.G[3],pt.H[3],M),M.h)break;s[et]=(Ct<<24|_t<<16|bt<<8|Rt)>>>0}if(_t=!1,++et,++S>=m&&(S=0,++L,y!=null&&L<=w&&!(L%16)&&y(a,L),Q!=null))for(;T<et;)bt=s[T++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt}else if(280>bt){if(bt=ni(bt-256,M),Rt=Xe(pt.G[4],pt.H[4],M),J(M),Rt=ii(m,Rt=ni(Rt,M)),M.h)break;if(et-u<Rt||b-et<bt)break t;for(Ct=0;Ct<bt;++Ct)s[et+Ct]=s[et+Ct-Rt];for(et+=bt,S+=bt;S>=m;)S-=m,++L,y!=null&&L<=w&&!(L%16)&&y(a,L);if(n(et<=b),S&ft&&(pt=wn(W,S,L)),Q!=null)for(;T<et;)bt=s[T++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt}else{if(!(bt<K))break t;for(_t=bt-280,n(Q!=null);T<et;)bt=s[T++],Q.X[(506832829*bt&4294967295)>>>Q.Mb]=bt;bt=et,n(!(_t>>>(Rt=Q).Xa)),s[bt]=Rt.X[_t],_t=!0}_t||n(M.h==H(M))}if(a.Pb&&M.h&&et<b)n(a.m.h),a.a=5,a.m=a.wd,a.$=a.xd,0<a.s.ua&&Nt(a.s.vb,a.s.Wa);else{if(M.h)break t;y?.(a,L>w?w:L),a.a=0,a.$=et-u}return 1}return a.a=3,0}function ri(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 Mr(){var a=new Mt;return a==null?null:(a.a=0,a.xb=Mh,De("Predictor","VP8LPredictors"),De("Predictor","VP8LPredictors_C"),De("PredictorAdd","VP8LPredictorsAdd"),De("PredictorAdd","VP8LPredictorsAdd_C"),Sa=ge,Gr=oe,po=tn,go=_e,ka=he,Vr=fe,Zr=We,D.VP8LMapColor32b=hn,D.VP8LMapColor8b=Mi,a)}function Si(a,s,u,m,b){var w=1,y=[a],L=[s],S=m.m,M=m.s,W=null,et=0;t:for(;;){if(u)for(;w&&wt(S,1);){var T=y,Z=L,K=m,ct=1,Q=K.m,ft=K.gc[K.ab],pt=wt(Q,2);if(K.Oc&1<<pt)w=0;else{switch(K.Oc|=1<<pt,ft.hc=pt,ft.Ea=T[0],ft.nc=Z[0],ft.K=[null],++K.ab,n(4>=K.ab),pt){case 0:case 1:ft.b=wt(Q,3)+2,ct=Si(yt(ft.Ea,ft.b),yt(ft.nc,ft.b),0,K,ft.K),ft.K=ft.K[0];break;case 3:var _t,bt=wt(Q,8)+1,Rt=16<bt?0:4<bt?1:2<bt?2:3;if(T[0]=yt(ft.Ea,Rt),ft.b=Rt,_t=ct=Si(bt,1,0,K,ft.K)){var Ct,se=bt,Ft=ft,ve=1<<(8>>Ft.b),un=o(ve);if(un==null)_t=0;else{var le=Ft.K[0],Bt=Ft.w;for(un[0]=Ft.K[0][0],Ct=1;Ct<1*se;++Ct)un[Ct]=Vt(le[Bt+Ct],un[Ct-1]);for(;Ct<4*ve;++Ct)un[Ct]=0;Ft.K[0]=null,Ft.K[0]=un,_t=1}}ct=_t;break;case 2:break;default:n(0)}w=ct}}if(y=y[0],L=L[0],w&&wt(S,1)&&!(w=1<=(et=wt(S,4))&&11>=et)){m.a=3;break t}var Lt;if(Lt=w)e:{var nn,ae,we,qe=m,_n=y,On=L,Ke=et,Pn=u,Dn=qe.m,dn=qe.s,xe=[null],Pe=1,Je=0,Ee=k0[Ke];n:for(;;){if(Pn&&wt(Dn,1)){var xn=wt(Dn,3)+2,mi=yt(_n,xn),rn=yt(On,xn),qn=mi*rn;if(!Si(mi,rn,0,qe,xe))break n;for(xe=xe[0],dn.xc=xn,nn=0;nn<qn;++nn){var Be=xe[nn]>>8&65535;xe[nn]=Be,Be>=Pe&&(Pe=Be+1)}}if(Dn.h)break n;for(ae=0;5>ae;++ae){var pn=Eh[ae];!ae&&0<Ke&&(pn+=1<<Ke),Je<pn&&(Je=pn)}var $n=f(Pe*Ee,q),jn=Pe,Yn=f(jn,it);if(Yn==null)var Xn=null;else n(65536>=jn),Xn=Yn;var Hn=o(Je);if(Xn==null||Hn==null||$n==null){qe.a=1;break n}var Kn=$n;for(nn=we=0;nn<Pe;++nn){var ze=Xn[nn],Jn=ze.G,vi=ze.H,$r=0,tr=1,An=0;for(ae=0;5>ae;++ae){pn=Eh[ae],Jn[ae]=Kn,vi[ae]=we,!ae&&0<Ke&&(pn+=1<<Ke);r:{var _s,Yl=pn,xs=qe,yo=Hn,$0=Kn,Y0=we,Xl=0,vr=xs.m,X0=wt(vr,1);if(r(yo,0,0,Yl),X0){var K0=wt(vr,1)+1,J0=wt(vr,1),Uh=wt(vr,J0==0?1:8);yo[Uh]=1,K0==2&&(yo[Uh=wt(vr,8)]=1);var As=1}else{var qh=o(19),Hh=wt(vr,4)+4;if(19<Hh){xs.a=3;var Ls=0;break r}for(_s=0;_s<Hh;++_s)qh[N0[_s]]=wt(vr,3);var Kl=void 0,_o=void 0,Wh=xs,Q0=qh,Ns=Yl,Gh=yo,Jl=0,br=Wh.m,Vh=8,Zh=f(128,q);i:for(;F(Zh,0,7,Q0,19);){if(wt(br,1)){var t2=2+2*wt(br,3);if((Kl=2+wt(br,t2))>Ns)break i}else Kl=Ns;for(_o=0;_o<Ns&&Kl--;){J(br);var $h=Zh[0+(127&j(br))];$(br,br.u+$h.g);var Ea=$h.value;if(16>Ea)Gh[_o++]=Ea,Ea!=0&&(Vh=Ea);else{var e2=Ea==16,Yh=Ea-16,n2=A0[Yh],Xh=wt(br,x0[Yh])+n2;if(_o+Xh>Ns)break i;for(var i2=e2?Vh:0;0<Xh--;)Gh[_o++]=i2}}Jl=1;break i}Jl||(Wh.a=3),As=Jl}(As=As&&!vr.h)&&(Xl=F($0,Y0,8,yo,Yl)),As&&Xl!=0?Ls=Xl:(xs.a=3,Ls=0)}if(Ls==0)break n;if(tr&&L0[ae]==1&&(tr=Kn[we].g==0),$r+=Kn[we].g,we+=Ls,3>=ae){var xo,Ql=Hn[0];for(xo=1;xo<pn;++xo)Hn[xo]>Ql&&(Ql=Hn[xo]);An+=Ql}}if(ze.nd=tr,ze.Qb=0,tr&&(ze.qb=(Jn[3][vi[3]+0].value<<24|Jn[1][vi[1]+0].value<<16|Jn[2][vi[2]+0].value)>>>0,$r==0&&256>Jn[0][vi[0]+0].value&&(ze.Qb=1,ze.qb+=Jn[0][vi[0]+0].value<<8)),ze.jc=!ze.Qb&&6>An,ze.jc){var Ss,er=ze;for(Ss=0;Ss<La;++Ss){var wr=Ss,yr=er.pd[wr],ks=er.G[0][er.H[0]+wr];256<=ks.value?(yr.g=ks.g+256,yr.value=ks.value):(yr.g=0,yr.value=0,wr>>=mn(ks,8,yr),wr>>=mn(er.G[1][er.H[1]+wr],16,yr),wr>>=mn(er.G[2][er.H[2]+wr],0,yr),mn(er.G[3][er.H[3]+wr],24,yr))}}}dn.vc=xe,dn.Wb=Pe,dn.Ya=Xn,dn.yc=$n,Lt=1;break e}Lt=0}if(!(w=Lt)){m.a=3;break t}if(0<et){if(M.ua=1<<et,!C(M.Wa,et)){m.a=1,w=0;break t}}else M.ua=0;var tc=m,Kh=y,r2=L,ec=tc.s,nc=ec.xc;if(tc.c=Kh,tc.i=r2,ec.md=yt(Kh,nc),ec.wc=nc==0?-1:(1<<nc)-1,u){m.xb=B0;break t}if((W=o(y*L))==null){m.a=1,w=0;break t}w=(w=di(m,W,0,y,L,L,null))&&!S.h;break t}return w?(b!=null?b[0]=W:(n(W==null),n(u)),m.$=0,u||ri(M)):ri(M),w}function Tr(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 ca(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 y=16<m?16:m,L=a.l.ma,S=a.l.width,M=S*y,W=L.ca,et=L.tb+S*u,T=a.Ta,Z=a.Ua;Ir(a,y,b,w),xh(T,Z,W,et,M),Ni(L,u,u+y,W,et,S),m-=y,b+=y*a.c,u+=y}n(u==s),a.C=a.Ma=s}function ha(){this.ub=this.yd=this.td=this.Rb=0}function fa(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function xl(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function Qa(){this.Yb=(function(){var a=[];return(function s(u,m,b){for(var w=b[m],y=0;y<w&&(u.push(b.length>m+1?[]:0),!(b.length<m+1));y++)s(u[y],m+1,b)})(a,0,[3,11]),a})()}function $o(){this.jb=o(3),this.Wc=l([4,8],Qa),this.Xc=l([4,17],Qa)}function Yo(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function ai(){this.ld=this.La=this.dd=this.tc=0}function to(){this.Na=this.la=0}function Xo(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function eo(){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 Ko(){this.uc=this.M=this.Nb=0,this.wa=Array(new ai),this.Y=0,this.ya=Array(new eo),this.aa=0,this.l=new ua}function Jo(){this.y=o(16),this.f=o(8),this.ea=o(8)}function Qo(){this.cb=this.a=0,this.sc="",this.m=new x,this.Od=new ha,this.Kc=new fa,this.ed=new Yo,this.Qa=new xl,this.Ic=this.$c=this.Aa=0,this.D=new Ko,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=f(8,x),this.ia=0,this.pb=f(4,Xo),this.Pa=new $o,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Jo),this.Hd=0,this.rb=Array(new to),this.sb=0,this.wa=Array(new ai),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 eo),this.L=this.aa=0,this.gd=l([4,2],ai),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 ki(a,s){return 0>a?0:a>s?s:a}function ua(){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 Al(){var a=new Qo;return a!=null&&(a.a=0,a.sc="OK",a.cb=0,a.Xb=0,bo||(bo=da)),a}function ln(a,s,u){return a.a==0&&(a.a=s,a.sc=u,a.cb=0),0}function ts(a,s,u){return 3<=u&&a[s+0]==157&&a[s+1]==1&&a[s+2]==42}function Ci(a,s){if(a==null)return 0;if(a.a=0,a.sc="OK",s==null)return ln(a,2,"null VP8Io passed to VP8GetHeaders()");var u=s.data,m=s.w,b=s.ha;if(4>b)return ln(a,7,"Truncated header.");var w=u[m+0]|u[m+1]<<8|u[m+2]<<16,y=a.Od;if(y.Rb=!(1&w),y.td=w>>1&7,y.yd=w>>4&1,y.ub=w>>5,3<y.td)return ln(a,3,"Incorrect keyframe parameters.");if(!y.yd)return ln(a,4,"Frame not displayable.");m+=3,b-=3;var L=a.Kc;if(y.Rb){if(7>b)return ln(a,7,"cannot parse picture header");if(!ts(u,m,b))return ln(a,3,"Bad code word");L.c=16383&(u[m+4]<<8|u[m+3]),L.Td=u[m+4]>>6,L.i=16383&(u[m+6]<<8|u[m+5]),L.Ud=u[m+6]>>6,m+=7,b-=7,a.za=L.c+15>>4,a.Ub=L.i+15>>4,s.width=L.c,s.height=L.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,r((w=a.Pa).jb,0,255,w.jb.length),n((w=a.Qa)!=null),w.Cb=0,w.Bb=0,w.Fb=1,r(w.Zb,0,0,w.Zb.length),r(w.Lb,0,0,w.Lb)}if(y.ub>b)return ln(a,7,"bad partition length");st(w=a.m,u,m,y.ub),m+=y.ub,b-=y.ub,y.Rb&&(L.Ld=ot(w),L.Kd=ot(w)),L=a.Qa;var S,M=a.Pa;if(n(w!=null),n(L!=null),L.Cb=ot(w),L.Cb){if(L.Bb=ot(w),ot(w)){for(L.Fb=ot(w),S=0;4>S;++S)L.Zb[S]=ot(w)?nt(w,7):0;for(S=0;4>S;++S)L.Lb[S]=ot(w)?nt(w,6):0}if(L.Bb)for(S=0;3>S;++S)M.jb[S]=ot(w)?ht(w,8):255}else L.Bb=0;if(w.Ka)return ln(a,3,"cannot parse segment header");if((L=a.ed).zd=ot(w),L.Tb=ht(w,6),L.wb=ht(w,3),L.Pc=ot(w),L.Pc&&ot(w)){for(M=0;4>M;++M)ot(w)&&(L.vd[M]=nt(w,6));for(M=0;4>M;++M)ot(w)&&(L.od[M]=nt(w,6))}if(a.L=L.Tb==0?0:L.zd?1:2,w.Ka)return ln(a,3,"cannot parse filter header");var W=b;if(b=S=m,m=S+W,L=W,a.Xb=(1<<ht(a.m,2))-1,W<3*(M=a.Xb))u=7;else{for(S+=3*M,L-=3*M,W=0;W<M;++W){var et=u[b+0]|u[b+1]<<8|u[b+2]<<16;et>L&&(et=L),st(a.Jc[+W],u,S,et),S+=et,L-=et,b+=3}st(a.Jc[+M],u,S,L),u=S<m?0:5}if(u!=0)return ln(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,L=ot(S)?nt(S,4):0,M=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 T=W.Zb[et];W.Fb||(T+=u)}else{if(0<et){a.pb[et]=a.pb[0];continue}T=u}var Z=a.pb[et];Z.Sc[0]=Vl[ki(T+b,127)],Z.Sc[1]=Zl[ki(T+0,127)],Z.Eb[0]=2*Vl[ki(T+m,127)],Z.Eb[1]=101581*Zl[ki(T+L,127)]>>16,8>Z.Eb[1]&&(Z.Eb[1]=8),Z.Qc[0]=Vl[ki(T+M,117)],Z.Qc[1]=Zl[ki(T+S,127)],Z.lc=T+S}if(!y.Rb)return ln(a,4,"Not a key frame.");for(ot(w),y=a.Pa,u=0;4>u;++u){for(b=0;8>b;++b)for(m=0;3>m;++m)for(L=0;11>L;++L)M=gt(w,T0[u][b][m][L])?ht(w,8):I0[u][b][m][L],y.Wc[u][b].Yb[m][L]=M;for(b=0;17>b;++b)y.Xc[u][b]=y.Wc[u][F0[b]]}return a.kc=ot(w),a.kc&&(a.Bd=ht(w,8)),a.cb=1}function da(a,s,u,m,b,w,y){var L=s[b].Yb[u];for(u=0;16>b;++b){if(!gt(a,L[u+0]))return b;for(;!gt(a,L[u+1]);)if(L=s[++b].Yb[0],u=0,b==16)return 16;var S=s[b+1].Yb;if(gt(a,L[u+2])){var M=a,W=0;if(gt(M,(T=L)[(et=u)+3]))if(gt(M,T[et+6])){for(L=0,et=2*(W=gt(M,T[et+8]))+(T=gt(M,T[et+9+W])),W=0,T=P0[et];T[L];++L)W+=W+gt(M,T[L]);W+=3+(8<<et)}else gt(M,T[et+7])?(W=7+2*gt(M,165),W+=gt(M,145)):W=5+gt(M,159);else W=gt(M,T[et+4])?3+gt(M,T[et+5]):2;L=S[2]}else W=1,L=S[1];S=y+E0[b],0>(M=a).b&&at(M);var et,T=M.b,Z=(et=M.Ca>>1)-(M.I>>T)>>31;--M.b,M.Ca+=Z,M.Ca|=1,M.I-=(et+1&Z)<<T,w[S]=((W^Z)-Z)*m[(0<b)+0]}return 16}function no(a){var s=a.rb[a.sb-1];s.la=0,s.Na=0,r(a.zc,0,0,a.zc.length),a.ja=0}function Vn(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 pa(a,s,u,m,b,w){Vn(a,s,0,u,m+b),Vn(a,s,1,u,m+w),Vn(a,s,2,u,m-w),Vn(a,s,3,u,m-b)}function Gi(a){return(20091*a>>16)+a}function yn(a,s,u,m){var b,w=0,y=o(16);for(b=0;4>b;++b){var L=a[s+0]+a[s+8],S=a[s+0]-a[s+8],M=(35468*a[s+4]>>16)-Gi(a[s+12]),W=Gi(a[s+4])+(35468*a[s+12]>>16);y[w+0]=L+W,y[w+1]=S+M,y[w+2]=S-M,y[w+3]=L-W,w+=4,s++}for(b=w=0;4>b;++b)L=(a=y[w+0]+4)+y[w+8],S=a-y[w+8],M=(35468*y[w+4]>>16)-Gi(y[w+12]),Vn(u,m,0,0,L+(W=Gi(y[w+4])+(35468*y[w+12]>>16))),Vn(u,m,1,0,S+M),Vn(u,m,2,0,S-M),Vn(u,m,3,0,L-W),w++,m+=32}function es(a,s,u,m){var b=a[s+0]+4,w=35468*a[s+4]>>16,y=Gi(a[s+4]),L=35468*a[s+1]>>16;pa(u,m,0,b+y,a=Gi(a[s+1]),L),pa(u,m,1,b+w,a,L),pa(u,m,2,b-w,a,L),pa(u,m,3,b-y,a,L)}function Ll(a,s,u,m,b){yn(a,s,u,m),b&&yn(a,s+16,u,m+4)}function Nl(a,s,u,m){Ki(a,s+0,u,m,1),Ki(a,s+32,u,m+128,1)}function Sl(a,s,u,m){var b;for(a=a[s+0]+4,b=0;4>b;++b)for(s=0;4>s;++s)Vn(u,m,s,b,a)}function Pi(a,s,u,m){a[s+0]&&Cn(a,s+0,u,m),a[s+16]&&Cn(a,s+16,u,m+4),a[s+32]&&Cn(a,s+32,u,m+128),a[s+48]&&Cn(a,s+48,u,m+128+4)}function ns(a,s,u,m){var b,w=o(16);for(b=0;4>b;++b){var y=a[s+0+b]+a[s+12+b],L=a[s+4+b]+a[s+8+b],S=a[s+4+b]-a[s+8+b],M=a[s+0+b]-a[s+12+b];w[0+b]=y+L,w[8+b]=y-L,w[4+b]=M+S,w[12+b]=M-S}for(b=0;4>b;++b)y=(a=w[0+4*b]+3)+w[3+4*b],L=w[1+4*b]+w[2+4*b],S=w[1+4*b]-w[2+4*b],M=a-w[3+4*b],u[m+0]=y+L>>3,u[m+16]=M+S>>3,u[m+32]=y-L>>3,u[m+48]=M-S>>3,m+=64}function ga(a,s,u){var m,b=s-32,w=Zn,y=255-a[b-1];for(m=0;m<u;++m){var L,S=w,M=y+a[s-1];for(L=0;L<u;++L)a[s+L]=S[M+a[b+L]];s+=32}}function ma(a,s){ga(a,s,4)}function io(a,s){ga(a,s,8)}function kl(a,s){ga(a,s,16)}function Cl(a,s){var u;for(u=0;16>u;++u)i(a,s+32*u,a,s-32,16)}function Pl(a,s){var u;for(u=16;0<u;--u)r(a,s,a[s-1],16),s+=32}function sr(a,s,u){var m;for(m=0;16>m;++m)r(s,u+32*m,a,16)}function is(a,s){var u,m=16;for(u=0;16>u;++u)m+=a[s-1+32*u]+a[s+u-32];sr(m>>5,a,s)}function lr(a,s){var u,m=8;for(u=0;16>u;++u)m+=a[s-1+32*u];sr(m>>4,a,s)}function El(a,s){var u,m=8;for(u=0;16>u;++u)m+=a[s+u-32];sr(m>>4,a,s)}function Fr(a,s){sr(128,a,s)}function Jt(a,s,u){return a+2*s+u+2>>2}function Il(a,s){var u,m=s-32;for(m=new Uint8Array([Jt(a[m-1],a[m+0],a[m+1]),Jt(a[m+0],a[m+1],a[m+2]),Jt(a[m+1],a[m+2],a[m+3]),Jt(a[m+2],a[m+3],a[m+4])]),u=0;4>u;++u)i(a,s+32*u,m,0,m.length)}function Ml(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*Jt(a[s-1-32],u,m)),xt(a,s+32,16843009*Jt(u,m,b)),xt(a,s+64,16843009*Jt(m,b,w)),xt(a,s+96,16843009*Jt(b,w,w))}function Tl(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)r(a,s+32*u,m,4)}function Fl(a,s){var u=a[s-1+0],m=a[s-1+32],b=a[s-1+64],w=a[s-1-32],y=a[s+0-32],L=a[s+1-32],S=a[s+2-32],M=a[s+3-32];a[s+0+96]=Jt(m,b,a[s-1+96]),a[s+1+96]=a[s+0+64]=Jt(u,m,b),a[s+2+96]=a[s+1+64]=a[s+0+32]=Jt(w,u,m),a[s+3+96]=a[s+2+64]=a[s+1+32]=a[s+0+0]=Jt(y,w,u),a[s+3+64]=a[s+2+32]=a[s+1+0]=Jt(L,y,w),a[s+3+32]=a[s+2+0]=Jt(S,L,y),a[s+3+0]=Jt(M,S,L)}function Bl(a,s){var u=a[s+1-32],m=a[s+2-32],b=a[s+3-32],w=a[s+4-32],y=a[s+5-32],L=a[s+6-32],S=a[s+7-32];a[s+0+0]=Jt(a[s+0-32],u,m),a[s+1+0]=a[s+0+32]=Jt(u,m,b),a[s+2+0]=a[s+1+32]=a[s+0+64]=Jt(m,b,w),a[s+3+0]=a[s+2+32]=a[s+1+64]=a[s+0+96]=Jt(b,w,y),a[s+3+32]=a[s+2+64]=a[s+1+96]=Jt(w,y,L),a[s+3+64]=a[s+2+96]=Jt(y,L,S),a[s+3+96]=Jt(L,S,S)}function Vi(a,s){var u=a[s-1+0],m=a[s-1+32],b=a[s-1+64],w=a[s-1-32],y=a[s+0-32],L=a[s+1-32],S=a[s+2-32],M=a[s+3-32];a[s+0+0]=a[s+1+64]=w+y+1>>1,a[s+1+0]=a[s+2+64]=y+L+1>>1,a[s+2+0]=a[s+3+64]=L+S+1>>1,a[s+3+0]=S+M+1>>1,a[s+0+96]=Jt(b,m,u),a[s+0+64]=Jt(m,u,w),a[s+0+32]=a[s+1+96]=Jt(u,w,y),a[s+1+32]=a[s+2+96]=Jt(w,y,L),a[s+2+32]=a[s+3+96]=Jt(y,L,S),a[s+3+32]=Jt(L,S,M)}function Zi(a,s){var u=a[s+0-32],m=a[s+1-32],b=a[s+2-32],w=a[s+3-32],y=a[s+4-32],L=a[s+5-32],S=a[s+6-32],M=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+y+1>>1,a[s+0+32]=Jt(u,m,b),a[s+1+32]=a[s+0+96]=Jt(m,b,w),a[s+2+32]=a[s+1+96]=Jt(b,w,y),a[s+3+32]=a[s+2+96]=Jt(w,y,L),a[s+3+64]=Jt(y,L,S),a[s+3+96]=Jt(L,S,M)}function Ol(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]=Jt(u,m,b),a[s+3+0]=a[s+1+32]=Jt(m,b,w),a[s+3+32]=a[s+1+64]=Jt(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 Dl(a,s){var u=a[s-1+0],m=a[s-1+32],b=a[s-1+64],w=a[s-1+96],y=a[s-1-32],L=a[s+0-32],S=a[s+1-32],M=a[s+2-32];a[s+0+0]=a[s+2+32]=u+y+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]=Jt(L,S,M),a[s+2+0]=Jt(y,L,S),a[s+1+0]=a[s+3+32]=Jt(u,y,L),a[s+1+32]=a[s+3+64]=Jt(m,u,y),a[s+1+64]=a[s+3+96]=Jt(b,m,u),a[s+1+96]=Jt(w,b,m)}function va(a,s){var u;for(u=0;8>u;++u)i(a,s+32*u,a,s-32,8)}function ro(a,s){var u;for(u=0;8>u;++u)r(a,s,a[s-1],8),s+=32}function Ei(a,s,u){var m;for(m=0;8>m;++m)r(s,u+32*m,a,8)}function jl(a,s){var u,m=8;for(u=0;8>u;++u)m+=a[s+u-32]+a[s-1+32*u];Ei(m>>4,a,s)}function ba(a,s){var u,m=4;for(u=0;8>u;++u)m+=a[s+u-32];Ei(m>>3,a,s)}function Rl(a,s){var u,m=4;for(u=0;8>u;++u)m+=a[s-1+32*u];Ei(m>>3,a,s)}function ao(a,s){Ei(128,a,s)}function cr(a,s,u){var m=a[s-u],b=a[s+0],w=3*(b-m)+Ul[1020+a[s-2*u]-a[s+u]],y=us[112+(w+4>>3)];a[s-u]=Zn[255+m+us[112+(w+3>>3)]],a[s+0]=Zn[255+b-y]}function oo(a,s,u,m){var b=a[s+0],w=a[s+u];return si[255+a[s-2*u]-a[s-u]]>m||si[255+w-b]>m}function Br(a,s,u,m){return 4*si[255+a[s-u]-a[s+0]]+si[255+a[s-2*u]-a[s+u]]<=m}function so(a,s,u,m,b){var w=a[s-3*u],y=a[s-2*u],L=a[s-u],S=a[s+0],M=a[s+u],W=a[s+2*u],et=a[s+3*u];return 4*si[255+L-S]+si[255+y-M]>m?0:si[255+a[s-4*u]-w]<=b&&si[255+w-y]<=b&&si[255+y-L]<=b&&si[255+et-W]<=b&&si[255+W-M]<=b&&si[255+M-S]<=b}function wa(a,s,u,m){var b=2*m+1;for(m=0;16>m;++m)Br(a,s+m,u,b)&&cr(a,s+m,u)}function lo(a,s,u,m){var b=2*m+1;for(m=0;16>m;++m)Br(a,s+m*u,1,b)&&cr(a,s+m*u,1)}function ya(a,s,u,m){var b;for(b=3;0<b;--b)wa(a,s+=4*u,u,m)}function rs(a,s,u,m){var b;for(b=3;0<b;--b)lo(a,s+=4,u,m)}function $i(a,s,u,m,b,w,y,L){for(w=2*w+1;0<b--;){if(so(a,s,u,w,y))if(oo(a,s,u,L))cr(a,s,u);else{var S=a,M=s,W=u,et=S[M-2*W],T=S[M-W],Z=S[M+0],K=S[M+W],ct=S[M+2*W],Q=27*(pt=Ul[1020+3*(Z-T)+Ul[1020+et-K]])+63>>7,ft=18*pt+63>>7,pt=9*pt+63>>7;S[M-3*W]=Zn[255+S[M-3*W]+pt],S[M-2*W]=Zn[255+et+ft],S[M-W]=Zn[255+T+Q],S[M+0]=Zn[255+Z-Q],S[M+W]=Zn[255+K-ft],S[M+2*W]=Zn[255+ct-pt]}s+=m}}function Yi(a,s,u,m,b,w,y,L){for(w=2*w+1;0<b--;){if(so(a,s,u,w,y))if(oo(a,s,u,L))cr(a,s,u);else{var S=a,M=s,W=u,et=S[M-W],T=S[M+0],Z=S[M+W],K=us[112+(4+(ct=3*(T-et))>>3)],ct=us[112+(ct+3>>3)],Q=K+1>>1;S[M-2*W]=Zn[255+S[M-2*W]+Q],S[M-W]=Zn[255+et+ct],S[M+0]=Zn[255+T-K],S[M+W]=Zn[255+Z-Q]}s+=m}}function as(a,s,u,m,b,w){$i(a,s,u,1,16,m,b,w)}function os(a,s,u,m,b,w){$i(a,s,1,u,16,m,b,w)}function ss(a,s,u,m,b,w){var y;for(y=3;0<y;--y)Yi(a,s+=4*u,u,1,16,m,b,w)}function Or(a,s,u,m,b,w){var y;for(y=3;0<y;--y)Yi(a,s+=4,1,u,16,m,b,w)}function ls(a,s,u,m,b,w,y,L){$i(a,s,b,1,8,w,y,L),$i(u,m,b,1,8,w,y,L)}function h(a,s,u,m,b,w,y,L){$i(a,s,1,b,8,w,y,L),$i(u,m,1,b,8,w,y,L)}function v(a,s,u,m,b,w,y,L){Yi(a,s+4*b,b,1,8,w,y,L),Yi(u,m+4*b,b,1,8,w,y,L)}function P(a,s,u,m,b,w,y,L){Yi(a,s+4,1,b,8,w,y,L),Yi(u,m+4,1,b,8,w,y,L)}function R(){this.ba=new de,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Ce,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Y(){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 lt(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function mt(){this.ua=0,this.Wa=new ce,this.vb=new ce,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new it,this.yc=new q}function Mt(){this.xb=this.a=0,this.l=new ua,this.ca=new de,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new B,this.Pb=0,this.wd=new B,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new mt,this.ab=0,this.gc=f(4,lt),this.Oc=0}function It(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new ua,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function te(a,s,u,m,b,w,y){for(a=a==null?0:a[s+0],s=0;s<y;++s)b[w+s]=a+u[m+s]&255,a=b[w+s]}function re(a,s,u,m,b,w,y){var L;if(a==null)te(null,null,u,m,b,w,y);else for(L=0;L<y;++L)b[w+L]=a[s+L]+u[m+L]&255}function be(a,s,u,m,b,w,y){if(a==null)te(null,null,u,m,b,w,y);else{var L,S=a[s+0],M=S,W=S;for(L=0;L<y;++L)M=W+(S=a[s+L])-M,W=u[m+L]+(-256&M?0>M?0:255:M)&255,M=S,b[w+L]=W}}function cn(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 y;if(a.ga=new It,(y=a.ga==null)||(y=s.width*s.o,n(a.Gb.length==0),a.Gb=o(y),a.Uc=0,a.Gb==null?y=0:(a.mb=a.Gb,a.nb=a.Uc,a.rc=null,y=1),y=!y),!y){y=a.ga;var L=a.Fa,S=a.P,M=a.qc,W=a.mb,et=a.nb,T=S+1,Z=M-1,K=y.l;if(n(L!=null&&W!=null&&s!=null),mr[0]=null,mr[1]=te,mr[2]=re,mr[3]=be,y.ca=W,y.tb=et,y.c=s.width,y.i=s.height,n(0<y.c&&0<y.i),1>=M)s=0;else if(y.$a=3&L[S+0],y.Z=L[S+0]>>2&3,y.Lc=L[S+0]>>4&3,S=L[S+0]>>6&3,0>y.$a||1<y.$a||4<=y.Z||1<y.Lc||S)s=0;else if(K.put=$t,K.ac=Li,K.bc=Hi,K.ma=y,K.width=s.width,K.height=s.height,K.Da=s.Da,K.v=s.v,K.va=s.va,K.j=s.j,K.o=s.o,y.$a)t:{n(y.$a==1),s=Mr();e:for(;;){if(s==null){s=0;break t}if(n(y!=null),y.mc=s,s.c=y.c,s.i=y.i,s.l=y.l,s.l.ma=y,s.l.width=y.c,s.l.height=y.i,s.a=0,ut(s.m,L,T,Z),!Si(y.c,y.i,1,s,null)||(s.ab==1&&s.gc[0].hc==3&&fi(s.s)?(y.ic=1,L=s.c*s.i,s.Ta=null,s.Ua=0,s.V=o(L),s.Ba=0,s.V==null?(s.a=1,s=0):s=1):(y.ic=0,s=Tr(s,y.c)),!s))break e;s=1;break t}y.mc=null,s=0}else s=Z>=y.c*y.i;y=!s}if(y)return null;a.ga.Lc!=1?a.Ga=0:m=w-u}n(a.ga!=null),n(u+m<=w);t:{if(s=(L=a.ga).c,w=L.l.o,L.$a==0){if(T=a.rc,Z=a.Vc,K=a.Fa,S=a.P+1+u*s,M=a.mb,W=a.nb+u*s,n(S<=a.P+a.qc),L.Z!=0)for(n(mr[L.Z]!=null),y=0;y<m;++y)mr[L.Z](T,Z,K,S,M,W,s),T=M,Z=W,W+=s,S+=s;else for(y=0;y<m;++y)i(M,W,K,S,s),T=M,Z=W,W+=s,S+=s;a.rc=T,a.Vc=Z}else{if(n(L.mc!=null),s=u+m,n((y=L.mc)!=null),n(s<=y.i),y.C>=s)s=1;else if(L.ic||Ye(),L.ic){L=y.V,T=y.Ba,Z=y.c;var ct=y.i,Q=(K=1,S=y.$/Z,M=y.$%Z,W=y.m,et=y.s,y.$),ft=Z*ct,pt=Z*s,_t=et.wc,bt=Q<pt?wn(et,M,S):null;n(Q<=ft),n(s<=ct),n(fi(et));e:for(;;){for(;!W.h&&Q<pt;){if(M&_t||(bt=wn(et,M,S)),n(bt!=null),J(W),256>(ct=Xe(bt.G[0],bt.H[0],W)))L[T+Q]=ct,++Q,++M>=Z&&(M=0,++S<=s&&!(S%16)&&ui(y,S));else{if(!(280>ct)){K=0;break e}ct=ni(ct-256,W);var Rt,Ct=Xe(bt.G[4],bt.H[4],W);if(J(W),!(Q>=(Ct=ii(Z,Ct=ni(Ct,W)))&&ft-Q>=ct)){K=0;break e}for(Rt=0;Rt<ct;++Rt)L[T+Q+Rt]=L[T+Q+Rt-Ct];for(Q+=ct,M+=ct;M>=Z;)M-=Z,++S<=s&&!(S%16)&&ui(y,S);Q<pt&&M&_t&&(bt=wn(et,M,S))}n(W.h==H(W))}ui(y,S>s?s:S);break e}!K||W.h&&Q<ft?(K=0,y.a=W.h?5:3):y.$=Q,s=K}else s=di(y,y.V,y.Ba,y.c,y.i,s,ca);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 Fe(a,s,u,m,b,w){for(;0<b--;){var y,L=a,S=s+(u?1:0),M=a,W=s+(u?0:3);for(y=0;y<m;++y){var et=M[W+4*y];et!=255&&(et*=32897,L[S+4*y+0]=L[S+4*y+0]*et>>23,L[S+4*y+1]=L[S+4*y+1]*et>>23,L[S+4*y+2]=L[S+4*y+2]*et>>23)}s+=w}}function Me(a,s,u,m,b){for(;0<m--;){var w;for(w=0;w<u;++w){var y=a[s+2*w+0],L=15&(M=a[s+2*w+1]),S=4369*L,M=(240&M|M>>4)*S>>16;a[s+2*w+0]=(240&y|y>>4)*S>>16&240|(15&y|y<<4)*S>>16>>4&15,a[s+2*w+1]=240&M|L}s+=b}}function Ue(a,s,u,m,b,w,y,L){var S,M,W=255;for(M=0;M<b;++M){for(S=0;S<m;++S){var et=a[s+S];w[y+4*S]=et,W&=et}s+=u,y+=L}return W!=255}function $e(a,s,u,m,b){var w;for(w=0;w<b;++w)u[m+w]=a[s+w]>>8}function Ye(){vo=Fe,yh=Me,_h=Ue,xh=$e}function Sn(a,s,u){D[a]=function(m,b,w,y,L,S,M,W,et,T,Z,K,ct,Q,ft,pt,_t){var bt,Rt=_t-1>>1,Ct=L[S+0]|M[W+0]<<16,se=et[T+0]|Z[K+0]<<16;n(m!=null);var Ft=3*Ct+se+131074>>2;for(s(m[b+0],255&Ft,Ft>>16,ct,Q),w!=null&&(Ft=3*se+Ct+131074>>2,s(w[y+0],255&Ft,Ft>>16,ft,pt)),bt=1;bt<=Rt;++bt){var ve=L[S+bt]|M[W+bt]<<16,un=et[T+bt]|Z[K+bt]<<16,le=Ct+ve+se+un+524296,Bt=le+2*(ve+se)>>3;Ft=Bt+Ct>>1,Ct=(le=le+2*(Ct+un)>>3)+ve>>1,s(m[b+2*bt-1],255&Ft,Ft>>16,ct,Q+(2*bt-1)*u),s(m[b+2*bt-0],255&Ct,Ct>>16,ct,Q+(2*bt-0)*u),w!=null&&(Ft=le+se>>1,Ct=Bt+un>>1,s(w[y+2*bt-1],255&Ft,Ft>>16,ft,pt+(2*bt-1)*u),s(w[y+2*bt+0],255&Ct,Ct>>16,ft,pt+(2*bt+0)*u)),Ct=ve,se=un}1&_t||(Ft=3*Ct+se+131074>>2,s(m[b+_t-1],255&Ft,Ft>>16,ct,Q+(_t-1)*u),w!=null&&(Ft=3*se+Ct+131074>>2,s(w[y+_t-1],255&Ft,Ft>>16,ft,pt+(_t-1)*u)))}}function Xi(){li[ds]=O0,li[ps]=Th,li[Ch]=D0,li[gs]=Fh,li[ms]=Bh,li[ql]=Oh,li[Ph]=j0,li[Hl]=Th,li[Wl]=Fh,li[vs]=Bh,li[Gl]=Oh}function co(a){return a&~R0?0>a?0:255:a>>Dh}function Dr(a,s){return co((19077*a>>8)+(26149*s>>8)-14234)}function jr(a,s,u){return co((19077*a>>8)-(6419*s>>8)-(13320*u>>8)+8708)}function hr(a,s){return co((19077*a>>8)+(33050*s>>8)-17685)}function Rr(a,s,u,m,b){m[b+0]=Dr(a,u),m[b+1]=jr(a,s,u),m[b+2]=hr(a,s)}function _a(a,s,u,m,b){m[b+0]=hr(a,s),m[b+1]=jr(a,s,u),m[b+2]=Dr(a,u)}function xa(a,s,u,m,b){var w=jr(a,s,u);s=w<<3&224|hr(a,s)>>3,m[b+0]=248&Dr(a,u)|w>>5,m[b+1]=s}function kn(a,s,u,m,b){var w=240&hr(a,s)|15;m[b+0]=240&Dr(a,u)|jr(a,s,u)>>4,m[b+1]=w}function zr(a,s,u,m,b){m[b+0]=255,Rr(a,s,u,m,b+1)}function Ur(a,s,u,m,b){_a(a,s,u,m,b),m[b+3]=255}function ho(a,s,u,m,b){Rr(a,s,u,m,b),m[b+3]=255}function Ii(a,s,u){D[a]=function(m,b,w,y,L,S,M,W,et){for(var T=W+(-2&et)*u;W!=T;)s(m[b+0],w[y+0],L[S+0],M,W),s(m[b+1],w[y+0],L[S+0],M,W+u),b+=2,++y,++S,W+=2*u;1&et&&s(m[b+0],w[y+0],L[S+0],M,W)}}function Fn(a,s,u){return u==0?a==0?s==0?6:5:s==0?4:0:u}function cs(a,s,u,m,b){switch(a>>>30){case 3:Ki(s,u,m,b,0);break;case 2:pr(s,u,m,b);break;case 1:Cn(s,u,m,b)}}function Aa(a,s){var u,m,b=s.M,w=s.Nb,y=a.oc,L=a.pc+40,S=a.oc,M=a.pc+584,W=a.oc,et=a.pc+600;for(u=0;16>u;++u)y[L+32*u-1]=129;for(u=0;8>u;++u)S[M+32*u-1]=129,W[et+32*u-1]=129;for(0<b?y[L-1-32]=S[M-1-32]=W[et-1-32]=129:(r(y,L-32-1,127,21),r(S,M-32-1,127,9),r(W,et-32-1,127,9)),m=0;m<a.za;++m){var T=s.ya[s.aa+m];if(0<m){for(u=-1;16>u;++u)i(y,L+32*u-4,y,L+32*u+12,4);for(u=-1;8>u;++u)i(S,M+32*u-4,S,M+32*u+4,4),i(W,et+32*u-4,W,et+32*u+4,4)}var Z=a.Gd,K=a.Hd+m,ct=T.ad,Q=T.Hc;if(0<b&&(i(y,L-32,Z[K].y,0,16),i(S,M-32,Z[K].f,0,8),i(W,et-32,Z[K].ea,0,8)),T.Za){var ft=y,pt=L-32+16;for(0<b&&(m>=a.za-1?r(ft,pt,Z[K].y[15],4):i(ft,pt,Z[K+1].y,0,4)),u=0;4>u;u++)ft[pt+128+u]=ft[pt+256+u]=ft[pt+384+u]=ft[pt+0+u];for(u=0;16>u;++u,Q<<=2)ft=y,pt=L+Rh[u],gi[T.Ob[u]](ft,pt),cs(Q,ct,16*+u,ft,pt)}else if(ft=Fn(m,b,T.Ob[0]),gr[ft](y,L),Q!=0)for(u=0;16>u;++u,Q<<=2)cs(Q,ct,16*+u,y,L+Rh[u]);for(u=T.Gc,ft=Fn(m,b,T.Dd),Qi[ft](S,M),Qi[ft](W,et),Q=ct,ft=S,pt=M,255&(T=0|u)&&(170&T?Ca(Q,256,ft,pt):Ti(Q,256,ft,pt)),T=W,Q=et,255&(u>>=8)&&(170&u?Ca(ct,320,T,Q):Ti(ct,320,T,Q)),b<a.Ub-1&&(i(Z[K].y,0,y,L+480,16),i(Z[K].f,0,S,M+224,8),i(Z[K].ea,0,W,et+224,8)),u=8*w*a.B,Z=a.sa,K=a.ta+16*m+16*w*a.R,ct=a.qa,T=a.ra+8*m+u,Q=a.Ha,ft=a.Ia+8*m+u,u=0;16>u;++u)i(Z,K+u*a.R,y,L+32*u,16);for(u=0;8>u;++u)i(ct,T+u*a.B,S,M+32*u,8),i(Q,ft+u*a.B,W,et+32*u,8)}}function hs(a,s,u,m,b,w,y,L,S){var M=[0],W=[0],et=0,T=S!=null?S.kd:0,Z=S??new Y;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 K=s,ct=u,Q=Z.gb;if(n(a!=null),n(ct!=null),n(Q!=null),Q[0]=0,12<=ct[0]&&!e(a,K[0],"RIFF")){if(e(a,K[0]+8,"WEBP")){Q=3;break t}var ft=Ut(a,K[0]+4);if(12>ft||4294967286<ft){Q=3;break t}if(T&&ft>ct[0]-8){Q=7;break t}Q[0]=ft,K[0]+=12,ct[0]-=12}Q=0}if(Q!=0)return Q;for(ft=0<Z.gb[0],u=u[0];;){t:{var pt=a;ct=s,Q=u;var _t=M,bt=W,Rt=K=[0];if((Ft=et=[et])[0]=0,8>Q[0])Q=7;else{if(!e(pt,ct[0],"VP8X")){if(Ut(pt,ct[0]+4)!=10){Q=3;break t}if(18>Q[0]){Q=7;break t}var Ct=Ut(pt,ct[0]+8),se=1+St(pt,ct[0]+12);if(2147483648<=se*(pt=1+St(pt,ct[0]+15))){Q=3;break t}Rt!=null&&(Rt[0]=Ct),_t!=null&&(_t[0]=se),bt!=null&&(bt[0]=pt),ct[0]+=18,Q[0]-=18,Ft[0]=1}Q=0}}if(et=et[0],K=K[0],Q!=0)return Q;if(ct=!!(2&K),!ft&&et)return 3;if(w!=null&&(w[0]=!!(16&K)),y!=null&&(y[0]=ct),L!=null&&(L[0]=0),y=M[0],K=W[0],et&&ct&&S==null){Q=0;break}if(4>u){Q=7;break}if(ft&&et||!ft&&!et&&!e(a,s[0],"ALPH")){u=[u],Z.na=[Z.na],Z.P=[Z.P],Z.Sa=[Z.Sa];t:{Ct=a,Q=s,ft=u;var Ft=Z.gb;_t=Z.na,bt=Z.P,Rt=Z.Sa,se=22,n(Ct!=null),n(ft!=null),pt=Q[0];var ve=ft[0];for(n(_t!=null),n(Rt!=null),_t[0]=null,bt[0]=null,Rt[0]=0;;){if(Q[0]=pt,ft[0]=ve,8>ve){Q=7;break t}var un=Ut(Ct,pt+4);if(4294967286<un){Q=3;break t}var le=8+un+1&-2;if(se+=le,0<Ft&&se>Ft){Q=3;break t}if(!e(Ct,pt,"VP8 ")||!e(Ct,pt,"VP8L")){Q=0;break t}if(ve[0]<le){Q=7;break t}e(Ct,pt,"ALPH")||(_t[0]=Ct,bt[0]=pt+8,Rt[0]=un),pt+=le,ve-=le}}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,ft=u,_t=Z.gb[0],bt=Z.Ja,Rt=Z.xa,Ct=Q[0],pt=!e(Ft,Ct,"VP8 "),se=!e(Ft,Ct,"VP8L"),n(Ft!=null),n(ft!=null),n(bt!=null),n(Rt!=null),8>ft[0])Q=7;else{if(pt||se){if(Ft=Ut(Ft,Ct+4),12<=_t&&Ft>_t-12){Q=3;break t}if(T&&Ft>ft[0]-8){Q=7;break t}bt[0]=Ft,Q[0]+=8,ft[0]-=8,Rt[0]=se}else Rt[0]=5<=ft[0]&&Ft[Ct+0]==47&&!(Ft[Ct+4]>>5),bt[0]=ft[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(L==null||ct||(L[0]=Z.xa?2:1),y=[y],K=[K],Z.xa){if(5>u){Q=7;break}L=y,T=K,ct=w,a==null||5>u?a=0:5<=u&&a[s+0]==47&&!(a[s+4]>>5)?(ft=[0],Ft=[0],_t=[0],ut(bt=new B,a,s,u),Wi(bt,ft,Ft,_t)?(L!=null&&(L[0]=ft[0]),T!=null&&(T[0]=Ft[0]),ct!=null&&(ct[0]=_t[0]),a=1):a=0):a=0}else{if(10>u){Q=7;break}L=K,a==null||10>u||!ts(a,s+3,u-3)?a=0:(T=a[s+0]|a[s+1]<<8|a[s+2]<<16,ct=16383&(a[s+7]<<8|a[s+6]),a=16383&(a[s+9]<<8|a[s+8]),1&T||3<(T>>1&7)||!(T>>4&1)||T>>5>=Z.Ja||!ct||!a?a=0:(y&&(y[0]=ct),L&&(L[0]=a),a=1))}if(!a||(y=y[0],K=K[0],et&&(M[0]!=y||W[0]!=K)))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]=y),b!=null&&(b[0]=K),0):Q}function oi(a,s,u){var m=s.width,b=s.height,w=0,y=0,L=m,S=b;if(s.Da=a!=null&&0<a.Da,s.Da&&(L=a.cd,S=a.bd,w=a.v,y=a.j,11>u||(w&=-2,y&=-2),0>w||0>y||0>=L||0>=S||w+L>m||y+S>b))return 0;if(s.v=w,s.j=y,s.va=w+L,s.o=y+S,s.U=L,s.T=S,s.da=a!=null&&0<a.da,s.da){if(!Gt(L,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 qr(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 fo(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,y=-2&u.v,L=-2&u.j;if(0>y||0>L||0>=b||0>=w||y+b>a||L+w>s)return 2;a=b,s=w}if(u.da){if(!Gt(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,M=m.height;if(a=m.S,0>=S||0>=M||!(a>=ds&&13>a))a=2;else{if(0>=m.Rd&&m.sd==null){y=w=b=s=0;var W=(L=S*zh[a])*M;if(11>a||(w=(M+1)/2*(s=(S+1)/2),a==12&&(y=(b=S)*M)),(M=o(W+2*w+y))==null){a=1;break t}m.sd=M,11>a?((S=m.f.RGBA).eb=M,S.fb=0,S.A=L,S.size=W):((S=m.f.kb).y=M,S.O=0,S.fa=L,S.Fd=W,S.f=M,S.N=0+W,S.Ab=s,S.Cd=w,S.ea=M,S.W=0+W+w,S.Db=s,S.Ed=w,a==12&&(S.F=M,S.J=0+W+2*w),S.Tc=y,S.lb=b)}if(s=1,b=m.S,w=m.width,y=m.height,b>=ds&&13>b)if(11>b)a=m.f.RGBA,s&=(L=Math.abs(a.A))*(y-1)+w<=a.size,s&=L>=w*zh[b],s&=a.eb!=null;else{a=m.f.kb,L=(w+1)/2,W=(y+1)/2,S=Math.abs(a.fa),M=Math.abs(a.Ab);var et=Math.abs(a.Db),T=Math.abs(a.lb),Z=T*(y-1)+w;s&=S*(y-1)+w<=a.Fd,s&=M*(W-1)+L<=a.Cd,s=(s&=et*(W-1)+L<=a.Ed)&S>=w&M>=L&et>=L,s&=a.y!=null,s&=a.f!=null,s&=a.ea!=null,b==12&&(s&=T>=w,s&=Z<=a.Tc,s&=a.F!=null)}else s=0;a=s?0:2}}return a!=0||u!=null&&u.fd&&(a=qr(m)),a}var La=64,Hr=[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],uo=24,Bn=32,Un=8,Na=[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,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,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];Pt("Predictor0","PredictorAdd0"),D.Predictor0=function(){return 4278190080},D.Predictor1=function(a){return a},D.Predictor2=function(a,s,u){return s[u+0]},D.Predictor3=function(a,s,u){return s[u+1]},D.Predictor4=function(a,s,u){return s[u-1]},D.Predictor5=function(a,s,u){return qt(qt(a,s[u+1]),s[u+0])},D.Predictor6=function(a,s,u){return qt(a,s[u-1])},D.Predictor7=function(a,s,u){return qt(a,s[u+0])},D.Predictor8=function(a,s,u){return qt(s[u-1],s[u+0])},D.Predictor9=function(a,s,u){return qt(s[u+0],s[u+1])},D.Predictor10=function(a,s,u){return qt(qt(a,s[u-1]),qt(s[u+0],s[u+1]))},D.Predictor11=function(a,s,u){var m=s[u+0];return 0>=ne(m>>24&255,a>>24&255,(s=s[u-1])>>24&255)+ne(m>>16&255,a>>16&255,s>>16&255)+ne(m>>8&255,a>>8&255,s>>8&255)+ne(255&m,255&a,255&s)?m:a},D.Predictor12=function(a,s,u){var m=s[u+0];return(ke((a>>24&255)+(m>>24&255)-((s=s[u-1])>>24&255))<<24|ke((a>>16&255)+(m>>16&255)-(s>>16&255))<<16|ke((a>>8&255)+(m>>8&255)-(s>>8&255))<<8|ke((255&a)+(255&m)-(255&s)))>>>0},D.Predictor13=function(a,s,u){var m=s[u-1];return(pe((a=qt(a,s[u+0]))>>24&255,m>>24&255)<<24|pe(a>>16&255,m>>16&255)<<16|pe(a>>8&255,m>>8&255)<<8|pe(255&a,255&m))>>>0};var fr=D.PredictorAdd0;D.PredictorAdd1=me,Pt("Predictor2","PredictorAdd2"),Pt("Predictor3","PredictorAdd3"),Pt("Predictor4","PredictorAdd4"),Pt("Predictor5","PredictorAdd5"),Pt("Predictor6","PredictorAdd6"),Pt("Predictor7","PredictorAdd7"),Pt("Predictor8","PredictorAdd8"),Pt("Predictor9","PredictorAdd9"),Pt("Predictor10","PredictorAdd10"),Pt("Predictor11","PredictorAdd11"),Pt("Predictor12","PredictorAdd12"),Pt("Predictor13","PredictorAdd13");var ur=D.PredictorAdd2;zt("ColorIndexInverseTransform","MapARGB","32b",function(a){return a>>8&255},function(a){return a}),zt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(a){return a},function(a){return a>>8&255});var Sa,Wr=D.ColorIndexInverseTransform,hn=D.MapARGB,zl=D.VP8LColorIndexInverseTransformAlpha,Mi=D.MapAlpha,pi=D.VP8LPredictorsAdd=[];pi.length=16,(D.VP8LPredictors=[]).length=16,(D.VP8LPredictorsAdd_C=[]).length=16,(D.VP8LPredictors_C=[]).length=16;var Gr,po,go,ka,Vr,Zr,dr,Ki,pr,Ca,Cn,Ti,je,Re,en,fn,Ji,mo,Pa,fs,mh,vh,bh,wh,vo,yh,_h,xh,Ah=o(511),Lh=o(2041),Nh=o(225),Sh=o(767),kh=0,Ul=Lh,us=Nh,Zn=Sh,si=Ah,ds=0,ps=1,Ch=2,gs=3,ms=4,ql=5,Ph=6,Hl=7,Wl=8,vs=9,Gl=10,x0=[2,3,7],A0=[3,3,11],Eh=[280,256,256,256,40],L0=[0,1,1,1,0],N0=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],S0=[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,3
vendor: 4,386 bytes, line 41
416,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],k0=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],C0=8,Vl=[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],Zl=[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],bo=null,P0=[[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]],E0=[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],I0=[[[[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,255,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,25
415,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]]]],M0=[[[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,255,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,
411,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]]],T0=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,25
vendor: 18,051 bytes, line 41
415,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]]]],F0=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],gr=[],gi=[],Qi=[],B0=1,Mh=2,mr=[],li=[];Sn("UpsampleRgbLinePair",Rr,3),Sn("UpsampleBgrLinePair",_a,3),Sn("UpsampleRgbaLinePair",ho,4),Sn("UpsampleBgraLinePair",Ur,4),Sn("UpsampleArgbLinePair",zr,4),Sn("UpsampleRgba4444LinePair",kn,2),Sn("UpsampleRgb565LinePair",xa,2);var O0=D.UpsampleRgbLinePair,D0=D.UpsampleBgrLinePair,Th=D.UpsampleRgbaLinePair,Fh=D.UpsampleBgraLinePair,Bh=D.UpsampleArgbLinePair,Oh=D.UpsampleRgba4444LinePair,j0=D.UpsampleRgb565LinePair,bs=16,ws=1<<bs-1,wo=-227,$l=482,Dh=6,R0=(256<<Dh)-1,jh=0,z0=o(256),U0=o(256),q0=o(256),H0=o(256),W0=o($l-wo),G0=o($l-wo);Ii("YuvToRgbRow",Rr,3),Ii("YuvToBgrRow",_a,3),Ii("YuvToRgbaRow",ho,4),Ii("YuvToBgraRow",Ur,4),Ii("YuvToArgbRow",zr,4),Ii("YuvToRgba4444Row",kn,2),Ii("YuvToRgb565Row",xa,2);var Rh=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],ys=[0,2,8],V0=[8,7,6,4,4,2,2,2,1,1,1,1],Z0=1;this.WebPDecodeRGBA=function(a,s,u,m,b){var w=ps,y=new R,L=new de;y.ba=L,L.S=w,L.width=[L.width],L.height=[L.height];var S=L.width,M=L.height,W=new Zt;if(W==null||a==null)var et=2;else n(W!=null),et=hs(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]),M!=null&&(M[0]=W.height[0]),S=1),S){L.width=L.width[0],L.height=L.height[0],m!=null&&(m[0]=L.width),b!=null&&(b[0]=L.height);t:{if(m=new ua,(b=new Y).data=a,b.w=s,b.ha=u,b.kd=1,s=[0],n(b!=null),((a=hs(b.data,b.w,b.ha,null,null,null,s,null,b))==0||a==7)&&s[0]&&(a=4),(s=a)==0){if(n(y!=null),m.data=b.data,m.w=b.w+b.offset,m.ha=b.ha-b.offset,m.put=$t,m.ac=Li,m.bc=Hi,m.ma=y,b.xa){if((a=Mr())==null){y=1;break t}if((function(T,Z){var K=[0],ct=[0],Q=[0];e:for(;;){if(T==null)return 0;if(Z==null)return T.a=2,0;if(T.l=Z,T.a=0,ut(T.m,Z.data,Z.w,Z.ha),!Wi(T.m,K,ct,Q)){T.a=3;break e}if(T.xb=Mh,Z.width=K[0],Z.height=ct[0],!Si(K[0],ct[0],1,T,null))break e;return 1}return n(T.a!=0),0})(a,m)){if(m=(s=fo(m.width,m.height,y.Oa,y.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),!oi(b.Oa,u,gs)){m.a=2;break n}if(!Tr(m,u.width)||u.da)break n;if((u.da||Kt(m.ca.S))&&Ye(),11>m.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),m.ca.f.kb.F!=null&&Ye()),m.Pb&&0<m.s.ua&&m.s.vb.X==null&&!C(m.s.vb,m.s.Wa.Xa)){m.a=1;break n}m.xb=0}if(!di(m,m.V,m.Ba,m.c,m.i,u.o,or))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 Al)==null){y=1;break t}if(a.Fa=b.na,a.P=b.P,a.qc=b.Sa,Ci(a,m)){if((s=fo(m.width,m.height,y.Oa,y.ba))==0){if(a.Aa=0,u=y.Oa,n((b=a)!=null),u!=null){if(0<(S=0>(S=u.Md)?0:100<S?255:255*S/100)){for(M=W=0;4>M;++M)12>(et=b.pb[M]).lc&&(et.ia=S*V0[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(T,Z){if(T==null)return 0;if(Z==null)return ln(T,2,"NULL VP8Io parameter in VP8Decode().");if(!T.cb&&!Ci(T,Z))return 0;if(n(T.cb),Z.ac==null||Z.ac(Z)){Z.ob&&(T.L=0);var K=ys[T.L];if(T.L==2?(T.yb=0,T.zb=0):(T.yb=Z.v-K>>4,T.zb=Z.j-K>>4,0>T.yb&&(T.yb=0),0>T.zb&&(T.zb=0)),T.Va=Z.o+15+K>>4,T.Hb=Z.va+15+K>>4,T.Hb>T.za&&(T.Hb=T.za),T.Va>T.Ub&&(T.Va=T.Ub),0<T.L){var ct=T.ed;for(K=0;4>K;++K){var Q;if(T.Qa.Cb){var ft=T.Qa.Lb[K];T.Qa.Fb||(ft+=ct.Tb)}else ft=ct.Tb;for(Q=0;1>=Q;++Q){var pt=T.gd[K][Q],_t=ft;if(ct.Pc&&(_t+=ct.vd[0],Q&&(_t+=ct.od[0])),0<(_t=0>_t?0:63<_t?63:_t)){var bt=_t;0<ct.wb&&(bt=4<ct.wb?bt>>2:bt>>1)>9-ct.wb&&(bt=9-ct.wb),1>bt&&(bt=1),pt.dd=bt,pt.tc=2*_t+bt,pt.ld=40<=_t?2:15<=_t?1:0}else pt.tc=0;pt.La=Q}}}K=0}else ln(T,6,"Frame setup failed"),K=T.a;if(K=K==0){if(K){T.$c=0,0<T.Aa||(T.Ic=Z0);e:{K=T.Ic,ct=4*(bt=T.za);var Rt=32*bt,Ct=bt+1,se=0<T.L?bt*(0<T.Aa?2:1):0,Ft=(T.Aa==2?2:1)*bt;if((pt=ct+832+(Q=3*(16*K+ys[T.L])/2*Rt)+(ft=T.Fa!=null&&0<T.Fa.length?T.Kc.c*T.Kc.i:0))!=pt)K=0;else{if(pt>T.Vb){if(T.Vb=0,T.Ec=o(pt),T.Fc=0,T.Ec==null){K=ln(T,1,"no memory during frame initialization.");break e}T.Vb=pt}pt=T.Ec,_t=T.Fc,T.Ac=pt,T.Bc=_t,_t+=ct,T.Gd=f(Rt,Jo),T.Hd=0,T.rb=f(Ct+1,to),T.sb=1,T.wa=se?f(se,ai):null,T.Y=0,T.D.Nb=0,T.D.wa=T.wa,T.D.Y=T.Y,0<T.Aa&&(T.D.Y+=bt),n(!0),T.oc=pt,T.pc=_t,_t+=832,T.ya=f(Ft,eo),T.aa=0,T.D.ya=T.ya,T.D.aa=T.aa,T.Aa==2&&(T.D.aa+=bt),T.R=16*bt,T.B=8*bt,bt=(Rt=ys[T.L])*T.R,Rt=Rt/2*T.B,T.sa=pt,T.ta=_t+bt,T.qa=T.sa,T.ra=T.ta+16*K*T.R+Rt,T.Ha=T.qa,T.Ia=T.ra+8*K*T.B+Rt,T.$c=0,_t+=Q,T.mb=ft?pt:null,T.nb=ft?_t:null,n(_t+ft<=T.Fc+T.Vb),no(T),r(T.Ac,T.Bc,0,ct),K=1}}if(K){if(Z.ka=0,Z.y=T.sa,Z.O=T.ta,Z.f=T.qa,Z.N=T.ra,Z.ea=T.Ha,Z.Vd=T.Ia,Z.fa=T.R,Z.Rc=T.B,Z.F=null,Z.J=0,!kh){for(K=-255;255>=K;++K)Ah[255+K]=0>K?-K:K;for(K=-1020;1020>=K;++K)Lh[1020+K]=-128>K?-128:127<K?127:K;for(K=-112;112>=K;++K)Nh[112+K]=-16>K?-16:15<K?15:K;for(K=-255;510>=K;++K)Sh[255+K]=0>K?0:255<K?255:K;kh=1}dr=ns,Ki=Ll,Ca=Nl,Cn=Sl,Ti=Pi,pr=es,je=as,Re=os,en=ls,fn=h,Ji=ss,mo=Or,Pa=v,fs=P,mh=wa,vh=lo,bh=ya,wh=rs,gi[0]=Tl,gi[1]=ma,gi[2]=Il,gi[3]=Ml,gi[4]=Fl,gi[5]=Vi,gi[6]=Bl,gi[7]=Zi,gi[8]=Dl,gi[9]=Ol,gr[0]=is,gr[1]=kl,gr[2]=Cl,gr[3]=Pl,gr[4]=lr,gr[5]=El,gr[6]=Fr,Qi[0]=jl,Qi[1]=io,Qi[2]=va,Qi[3]=ro,Qi[4]=Rl,Qi[5]=ba,Qi[6]=ao,K=1}else K=0}K&&(K=(function(ve,un){for(ve.M=0;ve.M<ve.Va;++ve.M){var le,Bt=ve.Jc[ve.M&ve.Xb],Lt=ve.m,nn=ve;for(le=0;le<nn.za;++le){var ae=Lt,we=nn,qe=we.Ac,_n=we.Bc+4*le,On=we.zc,Ke=we.ya[we.aa+le];if(we.Qa.Bb?Ke.$b=gt(ae,we.Pa.jb[0])?2+gt(ae,we.Pa.jb[2]):gt(ae,we.Pa.jb[1]):Ke.$b=0,we.kc&&(Ke.Ad=gt(ae,we.Bd)),Ke.Za=!gt(ae,145)+0,Ke.Za){var Pn=Ke.Ob,Dn=0;for(we=0;4>we;++we){var dn,xe=On[0+we];for(dn=0;4>dn;++dn){xe=M0[qe[_n+dn]][xe];for(var Pe=Ih[gt(ae,xe[0])];0<Pe;)Pe=Ih[2*Pe+gt(ae,xe[Pe])];xe=-Pe,qe[_n+dn]=xe}i(Pn,Dn,qe,_n,4),Dn+=4,On[0+we]=xe}}else xe=gt(ae,156)?gt(ae,128)?1:3:gt(ae,163)?2:0,Ke.Ob[0]=xe,r(qe,_n,xe,4),r(On,0,xe,4);Ke.Dd=gt(ae,142)?gt(ae,114)?gt(ae,183)?1:3:2:0}if(nn.m.Ka)return ln(ve,7,"Premature end-of-partition0 encountered.");for(;ve.ja<ve.za;++ve.ja){if(nn=Bt,ae=(Lt=ve).rb[Lt.sb-1],qe=Lt.rb[Lt.sb+Lt.ja],le=Lt.ya[Lt.aa+Lt.ja],_n=Lt.kc?le.Ad:0)ae.la=qe.la=0,le.Za||(ae.Na=qe.Na=0),le.Hc=0,le.Gc=0,le.ia=0;else{var Je,Ee;if(ae=qe,qe=nn,_n=Lt.Pa.Xc,On=Lt.ya[Lt.aa+Lt.ja],Ke=Lt.pb[On.$b],we=On.ad,Pn=0,Dn=Lt.rb[Lt.sb-1],xe=dn=0,r(we,Pn,0,384),On.Za)var xn=0,mi=_n[3];else{Pe=o(16);var rn=ae.Na+Dn.Na;if(rn=bo(qe,_n[1],rn,Ke.Eb,0,Pe,0),ae.Na=Dn.Na=(0<rn)+0,1<rn)dr(Pe,0,we,Pn);else{var qn=Pe[0]+3>>3;for(Pe=0;256>Pe;Pe+=16)we[Pn+Pe]=qn}xn=1,mi=_n[0]}var Be=15&ae.la,pn=15&Dn.la;for(Pe=0;4>Pe;++Pe){var $n=1&pn;for(qn=Ee=0;4>qn;++qn)Be=Be>>1|($n=(rn=bo(qe,mi,rn=$n+(1&Be),Ke.Sc,xn,we,Pn))>xn)<<7,Ee=Ee<<2|(3<rn?3:1<rn?2:we[Pn+0]!=0),Pn+=16;Be>>=4,pn=pn>>1|$n<<7,dn=(dn<<8|Ee)>>>0}for(mi=Be,xn=pn>>4,Je=0;4>Je;Je+=2){for(Ee=0,Be=ae.la>>4+Je,pn=Dn.la>>4+Je,Pe=0;2>Pe;++Pe){for($n=1&pn,qn=0;2>qn;++qn)rn=$n+(1&Be),Be=Be>>1|($n=0<(rn=bo(qe,_n[2],rn,Ke.Qc,0,we,Pn)))<<3,Ee=Ee<<2|(3<rn?3:1<rn?2:we[Pn+0]!=0),Pn+=16;Be>>=2,pn=pn>>1|$n<<5}xe|=Ee<<4*Je,mi|=Be<<4<<Je,xn|=(240&pn)<<Je}ae.la=mi,Dn.la=xn,On.Hc=dn,On.Gc=xe,On.ia=43690&xe?0:Ke.ia,_n=!(dn|xe)}if(0<Lt.L&&(Lt.wa[Lt.Y+Lt.ja]=Lt.gd[le.$b][le.Za],Lt.wa[Lt.Y+Lt.ja].La|=!_n),nn.Ka)return ln(ve,7,"Premature end-of-file encountered.")}if(no(ve),Lt=un,nn=1,le=(Bt=ve).D,ae=0<Bt.L&&Bt.M>=Bt.zb&&Bt.M<=Bt.Va,Bt.Aa==0)e:{if(le.M=Bt.M,le.uc=ae,Aa(Bt,le),nn=1,le=(Ee=Bt.D).Nb,ae=(xe=ys[Bt.L])*Bt.R,qe=xe/2*Bt.B,Pe=16*le*Bt.R,qn=8*le*Bt.B,_n=Bt.sa,On=Bt.ta-ae+Pe,Ke=Bt.qa,we=Bt.ra-qe+qn,Pn=Bt.Ha,Dn=Bt.Ia-qe+qn,pn=(Be=Ee.M)==0,dn=Be>=Bt.Va-1,Bt.Aa==2&&Aa(Bt,Ee),Ee.uc)for($n=(rn=Bt).D.M,n(rn.D.uc),Ee=rn.yb;Ee<rn.Hb;++Ee){xn=Ee,mi=$n;var jn=(Yn=(An=rn).D).Nb;Je=An.R;var Yn=Yn.wa[Yn.Y+xn],Xn=An.sa,Hn=An.ta+16*jn*Je+16*xn,Kn=Yn.dd,ze=Yn.tc;if(ze!=0)if(n(3<=ze),An.L==1)0<xn&&vh(Xn,Hn,Je,ze+4),Yn.La&&wh(Xn,Hn,Je,ze),0<mi&&mh(Xn,Hn,Je,ze+4),Yn.La&&bh(Xn,Hn,Je,ze);else{var Jn=An.B,vi=An.qa,$r=An.ra+8*jn*Jn+8*xn,tr=An.Ha,An=An.Ia+8*jn*Jn+8*xn;jn=Yn.ld,0<xn&&(Re(Xn,Hn,Je,ze+4,Kn,jn),fn(vi,$r,tr,An,Jn,ze+4,Kn,jn)),Yn.La&&(mo(Xn,Hn,Je,ze,Kn,jn),fs(vi,$r,tr,An,Jn,ze,Kn,jn)),0<mi&&(je(Xn,Hn,Je,ze+4,Kn,jn),en(vi,$r,tr,An,Jn,ze+4,Kn,jn)),Yn.La&&(Ji(Xn,Hn,Je,ze,Kn,jn),Pa(vi,$r,tr,An,Jn,ze,Kn,jn))}}if(Bt.ia&&alert("todo:DitherRow"),Lt.put!=null){if(Ee=16*Be,Be=16*(Be+1),pn?(Lt.y=Bt.sa,Lt.O=Bt.ta+Pe,Lt.f=Bt.qa,Lt.N=Bt.ra+qn,Lt.ea=Bt.Ha,Lt.W=Bt.Ia+qn):(Ee-=xe,Lt.y=_n,Lt.O=On,Lt.f=Ke,Lt.N=we,Lt.ea=Pn,Lt.W=Dn),dn||(Be-=xe),Be>Lt.o&&(Be=Lt.o),Lt.F=null,Lt.J=null,Bt.Fa!=null&&0<Bt.Fa.length&&Ee<Be&&(Lt.J=cn(Bt,Lt,Ee,Be-Ee),Lt.F=Bt.mb,Lt.F==null&&Lt.F.length==0)){nn=ln(Bt,3,"Could not decode alpha data.");break e}Ee<Lt.j&&(xe=Lt.j-Ee,Ee=Lt.j,n(!(1&xe)),Lt.O+=Bt.R*xe,Lt.N+=Bt.B*(xe>>1),Lt.W+=Bt.B*(xe>>1),Lt.F!=null&&(Lt.J+=Lt.width*xe)),Ee<Be&&(Lt.O+=Lt.v,Lt.N+=Lt.v>>1,Lt.W+=Lt.v>>1,Lt.F!=null&&(Lt.J+=Lt.v),Lt.ka=Ee-Lt.j,Lt.U=Lt.va-Lt.v,Lt.T=Be-Ee,nn=Lt.put(Lt))}le+1!=Bt.Ic||dn||(i(Bt.sa,Bt.ta-ae,_n,On+16*Bt.R,ae),i(Bt.qa,Bt.ra-qe,Ke,we+8*Bt.B,qe),i(Bt.Ha,Bt.Ia-qe,Pn,Dn+8*Bt.B,qe))}if(!nn)return ln(ve,6,"Output aborted.")}return 1})(T,Z)),Z.bc!=null&&Z.bc(Z),K&=1}return K?(T.cb=0,K):0})(a,m)||(s=a.a)}}else s=a.a}s==0&&y.Oa!=null&&y.Oa.fd&&(s=qr(y.ba))}y=s}w=y!=0?null:11>w?L.f.RGBA.eb:L.f.kb.y}else w=null;return w};var zh=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function d(D,tt){for(var N="",F=0;F<4;F++)N+=String.fromCharCode(D[tt++]);return N}function g(D,tt){return D[tt+0]|D[tt+1]<<8}function _(D,tt){return(D[tt+0]|D[tt+1]<<8|D[tt+2]<<16)>>>0}function A(D,tt){return(D[tt+0]|D[tt+1]<<8|D[tt+2]<<16|D[tt+3]<<24)>>>0}new c;var p=[0],E=[0],I=[],O=new c,k=t,G=(function(D,tt){var N={},F=0,q=!1,U=0,it=0;if(N.frames=[],!(function(x,B){for(var j=0;j<4;j++)if(x[B+j]!="RIFF".charCodeAt(j))return!0;return!1})(D,tt)){for(A(D,tt+=4),tt+=8;tt<D.length;){var st=d(D,tt),ht=A(D,tt+=4);tt+=4;var nt=ht+(1&ht);switch(st){case"VP8 ":case"VP8L":N.frames[F]===void 0&&(N.frames[F]={}),(wt=N.frames[F]).src_off=q?it:tt-8,wt.src_size=U+ht+8,F++,q&&(q=!1,U=0,it=0);break;case"VP8X":(wt=N.header={}).feature_flags=D[tt];var ut=tt+4;wt.canvas_width=1+_(D,ut),ut+=3,wt.canvas_height=1+_(D,ut),ut+=3;break;case"ALPH":q=!0,U=nt+8,it=tt-8;break;case"ANIM":(wt=N.header).bgcolor=A(D,tt),ut=tt+4,wt.loop_count=g(D,ut),ut+=2;break;case"ANMF":var At,wt;(wt=N.frames[F]={}).offset_x=2*_(D,tt),tt+=3,wt.offset_y=2*_(D,tt),tt+=3,wt.width=1+_(D,tt),tt+=3,wt.height=1+_(D,tt),tt+=3,wt.duration=_(D,tt),tt+=3,At=D[tt++],wt.dispose=1&At,wt.blend=At>>1&1}st!="ANMF"&&(tt+=nt)}return N}})(k,0);G.response=k,G.rgbaoutput=!0,G.dataurl=!1;var V=G.header?G.header:null,z=G.frames?G.frames:null;if(V){V.loop_counter=V.loop_count,p=[V.canvas_height],E=[V.canvas_width];for(var rt=0;rt<z.length&&z[rt].blend!=0;rt++);}var vt=z[0],dt=O.WebPDecodeRGBA(k,vt.src_off,vt.src_size,E,p);vt.rgba=dt,vt.imgwidth=E[0],vt.imgheight=p[0];for(var X=0;X<E[0]*p[0]*4;X++)I[X]=dt[X];return this.width=E,this.height=p,this.data=I,this}function z5(){var t,n=this.internal.__metadata__.metadata,e=unescape(encodeURIComponent(n));t=this.internal.__metadata__.rawXml?e:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+e.replace(/&/g,"&").replace(/</g,"<").replace(/>/g,">").replace(/"/g,""").replace(/'/g,"'")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+t.length+" >>"),this.internal.write("stream"),this.internal.write(t),this.internal.write("endstream"),this.internal.write("endobj")}function U5(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(t){var n,e,i,r,o,f,l,c,d,g=function(x){return x=x||{},this.isStrokeTransparent=x.isStrokeTransparent||!1,this.strokeOpacity=x.strokeOpacity||1,this.strokeStyle=x.strokeStyle||"#000000",this.fillStyle=x.fillStyle||"#000000",this.isFillTransparent=x.isFillTransparent||!1,this.fillOpacity=x.fillOpacity||1,this.font=x.font||"10px sans-serif",this.textBaseline=x.textBaseline||"alphabetic",this.textAlign=x.textAlign||"left",this.lineWidth=x.lineWidth||1,this.lineJoin=x.lineJoin||"miter",this.lineCap=x.lineCap||"butt",this.path=x.path||[],this.transform=x.transform!==void 0?x.transform.clone():new c,this.globalCompositeOperation=x.globalCompositeOperation||"normal",this.globalAlpha=x.globalAlpha||1,this.clip_path=x.clip_path||[],this.currentPoint=x.currentPoint||new f,this.miterLimit=x.miterLimit||10,this.lastPoint=x.lastPoint||new f,this.lineDashOffset=x.lineDashOffset||0,this.lineDash=x.lineDash||[],this.margin=x.margin||[0,0,0,0],this.prevPageLastElemOffset=x.prevPageLastElemOffset||0,this.ignoreClearRect=typeof x.ignoreClearRect!="boolean"||x.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new _(this),n=this.internal.f2,e=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,r=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,f=this.internal.Point,l=this.internal.Rectangle,c=this.internal.Matrix,d=new g}]);var _=function(x){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var B=x;Object.defineProperty(this,"pdf",{get:function(){return B}});var j=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return j},set:function(C){j=!!C}});var H=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return H},set:function(C){H=!!C}});var $=0;Object.defineProperty(this,"posX",{get:function(){return $},set:function(C){isNaN(C)||($=C)}});var J=0;Object.defineProperty(this,"posY",{get:function(){return J},set:function(C){isNaN(C)||(J=C)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(C){var Nt;typeof C=="number"?Nt=[C,C,C,C]:((Nt=new Array(4))[0]=C[0],Nt[1]=C.length>=2?C[1]:Nt[0],Nt[2]=C.length>=3?C[2]:Nt[0],Nt[3]=C.length>=4?C[3]:Nt[1]),d.margin=Nt}});var at=!1;Object.defineProperty(this,"autoPaging",{get:function(){return at},set:function(C){at=C}});var ot=0;Object.defineProperty(this,"lastBreak",{get:function(){return ot},set:function(C){ot=C}});var gt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return gt},set:function(C){gt=C}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(C){C instanceof g&&(d=C)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(C){d.path=C}});var xt=[];Object.defineProperty(this,"ctxStack",{get:function(){return xt},set:function(C){xt=C}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(C){var Nt;Nt=A(C),this.ctx.fillStyle=Nt.style,this.ctx.isFillTransparent=Nt.a===0,this.ctx.fillOpacity=Nt.a,this.pdf.setFillColor(Nt.r,Nt.g,Nt.b,{a:Nt.a}),this.pdf.setTextColor(Nt.r,Nt.g,Nt.b,{a:Nt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(C){var Nt=A(C);this.ctx.strokeStyle=Nt.style,this.ctx.isStrokeTransparent=Nt.a===0,this.ctx.strokeOpacity=Nt.a,Nt.a===0?this.pdf.setDrawColor(255,255,255):(Nt.a,this.pdf.setDrawColor(Nt.r,Nt.g,Nt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(C){["butt","round","square"].indexOf(C)!==-1&&(this.ctx.lineCap=C,this.pdf.setLineCap(C))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(C){isNaN(C)||(this.ctx.lineWidth=C,this.pdf.setLineWidth(C))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(C){["bevel","round","miter"].indexOf(C)!==-1&&(this.ctx.lineJoin=C,this.pdf.setLineJoin(C))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(C){isNaN(C)||(this.ctx.miterLimit=C,this.pdf.setMiterLimit(C))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(C){this.ctx.textBaseline=C}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(C){["right","end","center","left","start"].indexOf(C)!==-1&&(this.ctx.textAlign=C)}});var kt=null,St=null,Ut=null;Object.defineProperty(this,"fontFaces",{get:function(){return Ut},set:function(C){kt=null,St=null,Ut=C}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(C){var Nt;if(this.ctx.font=C,(Nt=/^\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(C))!==null){var ce=Nt[1];Nt[2];var Gt=Nt[3],yt=Nt[4];Nt[5];var Vt=Nt[6],Pt=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(yt)[2];yt=Math.floor(Pt==="px"?parseFloat(yt)*this.pdf.internal.scaleFactor:Pt==="em"?parseFloat(yt)*this.pdf.getFontSize():parseFloat(yt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(yt);var Wt=(function(zt){var tn,_e,he=[],fe=zt.trim();if(fe==="")return lh;if(fe in U1)return[U1[fe]];for(;fe!=="";){switch(_e=null,tn=(fe=H1(fe)).charAt(0)){case'"':case"'":_e=F5(fe.substring(1),tn);break;default:_e=B5(fe)}
41if(_e===null||(he.push(_e[0]),(fe=H1(_e[1]))!==""&&fe.charAt(0)!==","))return lh;fe=fe.replace(/^,/,"")}return he})(Vt);if(this.fontFaces){var qt=(function(zt,tn){var _e=zt.getFontList(),he=JSON.stringify(_e);if(kt===null||St!==he){var fe=(function(We){var Ht=[];return Object.keys(We).forEach(function(De){We[De].forEach(function(Kt){var ie=null;switch(Kt){case"bold":ie={family:De,weight:"bold"};break;case"italic":ie={family:De,style:"italic"};break;case"bolditalic":ie={family:De,weight:"bold",style:"italic"};break;case"":case"normal":ie={family:De}}ie!==null&&(ie.ref={name:De,style:Kt},Ht.push(ie))})}),Ht})(_e);kt=(function(We){for(var Ht={},De=0;De<We.length;++De){var Kt=sh(We[De]),ie=Kt.family,Ge=Kt.stretch,de=Kt.style,Zt=Kt.weight;Ht[ie]=Ht[ie]||{},Ht[ie][Ge]=Ht[ie][Ge]||{},Ht[ie][Ge][de]=Ht[ie][Ge][de]||{},Ht[ie][Ge][de][Zt]=Kt}return Ht})(fe.concat(tn)),St=he}return kt})(this.pdf,this.fontFaces),ke=Wt.map(function(zt){return{family:zt,stretch:"normal",weight:Gt,style:ce}}),pe=(function(zt,tn,_e){for(var he=(_e=_e||{}).defaultFontFamily||"times",fe=Object.assign({},T5,_e.genericFontFamilies||{}),We=null,Ht=null,De=0;De<tn.length;++De)if(fe[(We=sh(tn[De])).family]&&(We.family=fe[We.family]),zt.hasOwnProperty(We.family)){Ht=zt[We.family];break}if(!(Ht=Ht||zt[he]))throw new Error("Could not find a font-family for the rule '"+q1(We)+"' and default family '"+he+"'.");if(Ht=(function(Kt,ie){if(ie[Kt])return ie[Kt];var Ge=ph[Kt],de=Ge<=ph.normal?-1:1,Zt=z1(ie,h0,Ge,de);if(!Zt)throw new Error("Could not find a matching font-stretch value for "+Kt);return Zt})(We.stretch,Ht),Ht=(function(Kt,ie){if(ie[Kt])return ie[Kt];for(var Ge=c0[Kt],de=0;de<Ge.length;++de)if(ie[Ge[de]])return ie[Ge[de]];throw new Error("Could not find a matching font-style for "+Kt)})(We.style,Ht),!(Ht=(function(Kt,ie){if(ie[Kt])return ie[Kt];if(Kt===400&&ie[500])return ie[500];if(Kt===500&&ie[400])return ie[400];var Ge=M5[Kt],de=z1(ie,f0,Ge,Kt<400?-1:1);if(!de)throw new Error("Could not find a matching font-weight for value "+Kt);return de})(We.weight,Ht)))throw new Error("Failed to resolve a font for the rule '"+q1(We)+"'.");return Ht})(qt,ke);this.pdf.setFont(pe.ref.name,pe.ref.style)}else{var ne="";(Gt==="bold"||parseInt(Gt,10)>=700||ce==="bold")&&(ne="bold"),ce==="italic"&&(ne+="italic"),ne.length===0&&(ne="normal");for(var me="",ge={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"},Dt=0;Dt<Wt.length;Dt++){if(this.pdf.internal.getFont(Wt[Dt],ne,{noFallback:!0,disableWarning:!0})!==void 0){me=Wt[Dt];break}if(ne==="bolditalic"&&this.pdf.internal.getFont(Wt[Dt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)me=Wt[Dt],ne="bold";else if(this.pdf.internal.getFont(Wt[Dt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){me=Wt[Dt],ne="normal";break}}if(me===""){for(var oe=0;oe<Wt.length;oe++)if(ge[Wt[oe]]){me=ge[Wt[oe]];break}}me=me===""?"Times":me,this.pdf.setFont(me,ne)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(C){this.ctx.globalCompositeOperation=C}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(C){this.ctx.globalAlpha=C}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(C){this.ctx.lineDashOffset=C,wt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(C){this.ctx.lineDash=C,wt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(C){this.ctx.ignoreClearRect=!!C}})};_.prototype.setLineDash=function(x){this.lineDash=x},_.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},_.prototype.fill=function(){z.call(this,"fill",!1)},_.prototype.stroke=function(){z.call(this,"stroke",!1)},_.prototype.beginPath=function(){this.path=[{type:"begin"}]},_.prototype.moveTo=function(x,B){if(isNaN(x)||isNaN(B))throw Oe.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to
41jsPDF.context2d.moveTo");var j=this.ctx.transform.applyToPoint(new f(x,B));this.path.push({type:"mt",x:j.x,y:j.y}),this.ctx.lastPoint=new f(x,B)},_.prototype.closePath=function(){var x=new f(0,0),B=0;for(B=this.path.length-1;B!==-1;B--)if(this.path[B].type==="begin"&&Te(this.path[B+1])==="object"&&typeof this.path[B+1].x=="number"){x=new f(this.path[B+1].x,this.path[B+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new f(x.x,x.y)},_.prototype.lineTo=function(x,B){if(isNaN(x)||isNaN(B))throw Oe.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var j=this.ctx.transform.applyToPoint(new f(x,B));this.path.push({type:"lt",x:j.x,y:j.y}),this.ctx.lastPoint=new f(j.x,j.y)},_.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),z.call(this,null,!0)},_.prototype.quadraticCurveTo=function(x,B,j,H){if(isNaN(j)||isNaN(H)||isNaN(x)||isNaN(B))throw Oe.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var $=this.ctx.transform.applyToPoint(new f(j,H)),J=this.ctx.transform.applyToPoint(new f(x,B));this.path.push({type:"qct",x1:J.x,y1:J.y,x:$.x,y:$.y}),this.ctx.lastPoint=new f($.x,$.y)},_.prototype.bezierCurveTo=function(x,B,j,H,$,J){if(isNaN($)||isNaN(J)||isNaN(x)||isNaN(B)||isNaN(j)||isNaN(H))throw Oe.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var at=this.ctx.transform.applyToPoint(new f($,J)),ot=this.ctx.transform.applyToPoint(new f(x,B)),gt=this.ctx.transform.applyToPoint(new f(j,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 f(at.x,at.y)},_.prototype.arc=function(x,B,j,H,$,J){if(isNaN(x)||isNaN(B)||isNaN(j)||isNaN(H)||isNaN($))throw Oe.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(J=!!J,!this.ctx.transform.isIdentity){var at=this.ctx.transform.applyToPoint(new f(x,B));x=at.x,B=at.y;var ot=this.ctx.transform.applyToPoint(new f(0,j)),gt=this.ctx.transform.applyToPoint(new f(0,0));j=Math.sqrt(Math.pow(ot.x-gt.x,2)+Math.pow(ot.y-gt.y,2))}Math.abs($-H)>=2*Math.PI&&(H=0,$=2*Math.PI),this.path.push({type:"arc",x,y:B,radius:j,startAngle:H,endAngle:$,counterclockwise:J})},_.prototype.arcTo=function(x,B,j,H,$){throw new Error("arcTo not implemented.")},_.prototype.rect=function(x,B,j,H){if(isNaN(x)||isNaN(B)||isNaN(j)||isNaN(H))throw Oe.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(x,B),this.lineTo(x+j,B),this.lineTo(x+j,B+H),this.lineTo(x,B+H),this.lineTo(x,B),this.lineTo(x+j,B),this.lineTo(x,B)},_.prototype.fillRect=function(x,B,j,H){if(isNaN(x)||isNaN(B)||isNaN(j)||isNaN(H))throw Oe.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var $={};this.lineCap!=="butt"&&($.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&($.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(x,B,j,H),this.fill(),$.hasOwnProperty("lineCap")&&(this.lineCap=$.lineCap),$.hasOwnProperty("lineJoin")&&(this.lineJoin=$.lineJoin)}},_.prototype.strokeRect=function(x,B,j,H){if(isNaN(x)||isNaN(B)||isNaN(j)||isNaN(H))throw Oe.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");E.call(this)||(this.beginPath(),this.rect(x,B,j,H),this.stroke())},_.prototype.clearRect=function(x,B,j,H){if(isNaN(x)||isNaN(B)||isNaN(j)||isNaN(H))throw Oe.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(x,B,j,H))},_.prototype.save=function(x){x=typeof x!="boolean"||x;for(var B=this.pdf.internal.getCurrentPageInfo().pageNumber,j=0;j<this.pdf.internal.getNumberOfPages();j++)this.pdf.setPage(j+1),this.pdf.internal.out("q");
vendor: 4,132 bytes, line 41
41if(this.pdf.setPage(B),x){this.ctx.fontSize=this.pdf.internal.getFontSize();var H=new g(this.ctx);this.ctxStack.push(this.ctx),this.ctx=H}},_.prototype.restore=function(x){x=typeof x!="boolean"||x;for(var B=this.pdf.internal.getCurrentPageInfo().pageNumber,j=0;j<this.pdf.internal.getNumberOfPages();j++)this.pdf.setPage(j+1),this.pdf.internal.out("Q");this.pdf.setPage(B),x&&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)},_.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var A=function(x){var B,j,H,$;if(x.isCanvasGradient===!0&&(x=x.getColor()),!x)return{r:0,g:0,b:0,a:0,style:x};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(x))B=0,j=0,H=0,$=0;else{var J=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(x);if(J!==null)B=parseInt(J[1]),j=parseInt(J[2]),H=parseInt(J[3]),$=1;else if((J=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(x))!==null)B=parseInt(J[1]),j=parseInt(J[2]),H=parseInt(J[3]),$=parseFloat(J[4]);else{if($=1,typeof x=="string"&&x.charAt(0)!=="#"){var at=new n0(x);x=at.ok?at.toHex():"#000000"}x.length===4?(B=x.substring(1,2),B+=B,j=x.substring(2,3),j+=j,H=x.substring(3,4),H+=H):(B=x.substring(1,3),j=x.substring(3,5),H=x.substring(5,7)),B=parseInt(B,16),j=parseInt(j,16),H=parseInt(H,16)}}return{r:B,g:j,b:H,a:$,style:x}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},E=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};_.prototype.fillText=function(x,B,j,H){if(isNaN(B)||isNaN(j)||typeof x!="string")throw Oe.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 $=nt(this.ctx.transform.rotation),J=this.ctx.transform.scaleX;F.call(this,{text:x,x:B,y:j,scale:J,angle:$,align:this.textAlign,maxWidth:H})}},_.prototype.strokeText=function(x,B,j,H){if(isNaN(B)||isNaN(j)||typeof x!="string")throw Oe.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!E.call(this)){H=isNaN(H)?void 0:H;var $=nt(this.ctx.transform.rotation),J=this.ctx.transform.scaleX;F.call(this,{text:x,x:B,y:j,scale:J,renderingMode:"stroke",angle:$,align:this.textAlign,maxWidth:H})}},_.prototype.measureText=function(x){if(typeof x!="string")throw Oe.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var B=this.pdf,j=this.pdf.internal.scaleFactor,H=B.internal.getFontSize(),$=B.getStringUnitWidth(x)*H/B.internal.scaleFactor;return new function(J){var at=(J=J||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return at}}),this}({width:$*=Math.round(96*j/72*1e4)/1e4})},_.prototype.scale=function(x,B){if(isNaN(x)||isNaN(B))throw Oe.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var j=new c(x,0,0,B,0,0);this.ctx.transform=this.ctx.transform.multiply(j)},_.prototype.rotate=function(x){if(isNaN(x))throw Oe.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var B=new c(Math.cos(x),Math.sin(x),-Math.sin(x),Math.cos(x),0,0);this.ctx.transform=this.ctx.transform.multiply(B)},_.prototype.translate=function(x,B){if(isNaN(x)||isNaN(B))throw Oe.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var j=new c(1,0,0,1,x,B);this.ctx.transform=this.ctx.transform.multiply(j)},_.prototype.transform=function(x,B,j,H,$,J){if(isNaN(x)||isNaN(B)||isNaN(j)||isNaN(H)||isNaN($)||isNaN(J))throw Oe.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to
41jsPDF.context2d.transform");var at=new c(x,B,j,H,$,J);this.ctx.transform=this.ctx.transform.multiply(at)},_.prototype.setTransform=function(x,B,j,H,$,J){x=isNaN(x)?1:x,B=isNaN(B)?0:B,j=isNaN(j)?0:j,H=isNaN(H)?1:H,$=isNaN($)?0:$,J=isNaN(J)?0:J,this.ctx.transform=new c(x,B,j,H,$,J)};var I=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};_.prototype.drawImage=function(x,B,j,H,$,J,at,ot,gt){var xt=this.pdf.getImageProperties(x),kt=1,St=1,Ut=1,C=1;H!==void 0&&ot!==void 0&&(Ut=ot/H,C=gt/$,kt=xt.width/H*ot/H,St=xt.height/$*gt/$),J===void 0&&(J=B,at=j,B=0,j=0),H!==void 0&&ot===void 0&&(ot=H,gt=$),H===void 0&&ot===void 0&&(ot=xt.width,gt=xt.height);var Nt=this.ctx.transform.decompose(),ce=nt(Nt.rotate.shx),Gt=new c,yt=(Gt=(Gt=(Gt=Gt.multiply(Nt.translate)).multiply(Nt.skew)).multiply(Nt.scale)).applyToRectangle(new l(J-B*Ut,at-j*C,H*kt,$*St));if(this.autoPaging){for(var Vt,Pt=O.call(this,yt),Wt=[],qt=0;qt<Pt.length;qt+=1)Wt.indexOf(Pt[qt])===-1&&Wt.push(Pt[qt]);V(Wt);for(var ke=Wt[0],pe=Wt[Wt.length-1],ne=ke;ne<pe+1;ne++){this.pdf.setPage(ne);var me=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ge=ne===1?this.posY+this.margin[0]:this.margin[0],Dt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],oe=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],zt=ne===1?0:Dt+(ne-2)*oe;if(this.ctx.clip_path.length!==0){var tn=this.path;Vt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=G(Vt,this.posX+this.margin[3],-zt+ge+this.ctx.prevPageLastElemOffset),rt.call(this,"fill",!0),this.path=tn}var _e=JSON.parse(JSON.stringify(yt));_e=G([_e],this.posX+this.margin[3],-zt+ge+this.ctx.prevPageLastElemOffset)[0];var he=(ne>ke||ne<pe)&&I.call(this);he&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],me,oe,null).clip().discardPath()),this.pdf.addImage(x,"JPEG",_e.x,_e.y,_e.w,_e.h,null,
vendor: 6,403 bytes, line 41
41null,ce),he&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(x,"JPEG",yt.x,yt.y,yt.w,yt.h,null,null,ce)};var O=function(x,B,j){var H=[];B=B||this.pdf.internal.pageSize.width,j=j||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var $=this.posY+this.ctx.prevPageLastElemOffset;switch(x.type){default:case"mt":case"lt":H.push(Math.floor((x.y+$)/j)+1);break;case"arc":H.push(Math.floor((x.y+$-x.radius)/j)+1),H.push(Math.floor((x.y+$+x.radius)/j)+1);break;case"qct":var J=ut(this.ctx.lastPoint.x,this.ctx.lastPoint.y,x.x1,x.y1,x.x,x.y);H.push(Math.floor((J.y+$)/j)+1),H.push(Math.floor((J.y+J.h+$)/j)+1);break;case"bct":var at=At(this.ctx.lastPoint.x,this.ctx.lastPoint.y,x.x1,x.y1,x.x2,x.y2,x.x,x.y);H.push(Math.floor((at.y+$)/j)+1),H.push(Math.floor((at.y+at.h+$)/j)+1);break;case"rect":H.push(Math.floor((x.y+$)/j)+1),H.push(Math.floor((x.y+x.h+$)/j)+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 x=this.fillStyle,B=this.strokeStyle,j=this.font,H=this.lineCap,$=this.lineWidth,J=this.lineJoin;this.pdf.addPage(),this.fillStyle=x,this.strokeStyle=B,this.font=j,this.lineCap=H,this.lineWidth=$,this.lineJoin=J},G=function(x,B,j){for(var H=0;H<x.length;H++)switch(x[H].type){case"bct":x[H].x2+=B,x[H].y2+=j;case"qct":x[H].x1+=B,x[H].y1+=j;default:x[H].x+=B,x[H].y+=j}return x},V=function(x){return x.sort(function(B,j){return B-j})},z=function(x,B){var j=this.fillStyle,H=this.strokeStyle,$=this.lineCap,J=this.lineWidth,at=Math.abs(J*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)),Ut=[],C=0;C<St.length;C++)if(St[C].x!==void 0)for(var Nt=O.call(this,St[C]),ce=0;ce<Nt.length;ce+=1)Ut.indexOf(Nt[ce])===-1&&Ut.push(Nt[ce]);for(var Gt=0;Gt<Ut.length;Gt++)for(;this.pdf.internal.getNumberOfPages()<Ut[Gt];)k.call(this);V(Ut);for(var yt=Ut[0],Vt=Ut[Ut.length-1],Pt=yt;Pt<Vt+1;Pt++){this.pdf.setPage(Pt),this.fillStyle=j,this.strokeStyle=H,this.lineCap=$,this.lineWidth=at,this.lineJoin=ot;var Wt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],qt=Pt===1?this.posY+this.margin[0]:this.margin[0],ke=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],pe=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],ne=Pt===1?0:ke+(Pt-2)*pe;if(this.ctx.clip_path.length!==0){var me=this.path;gt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=G(gt,this.posX+this.margin[3],-ne+qt+this.ctx.prevPageLastElemOffset),rt.call(this,x,!0),this.path=me}if(xt=JSON.parse(JSON.stringify(kt)),this.path=G(xt,this.posX+this.margin[3],-ne+qt+this.ctx.prevPageLastElemOffset),B===!1||Pt===0){var ge=(Pt>yt||Pt<Vt)&&I.call(this);ge&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Wt,pe,null).clip().discardPath()),rt.call(this,x,B),ge&&this.pdf.restoreGraphicsState()}this.lineWidth=J}this.path=kt}else this.lineWidth=at,rt.call(this,x,B),this.lineWidth=J},rt=function(x,B){if((x!=="stroke"||B||!E.call(this))&&(x==="stroke"||B||!p.call(this))){for(var j,H,$=[],J=this.path,at=0;at<J.length;at++){var ot=J[at];switch(ot.type){case"begin":$.push({begin:!0});break;case"close":$.push({close:!0});break;case"mt":$.push({start:ot,deltas:[],abs:[]});break;case"lt":var gt=$.length;if(J[at-1]&&!isNaN(J[at-1].x)&&(j=[ot.x-J[at-1].x,ot.y-J[at-1].y],gt>0)){for(;gt>=0;gt--)if($[gt-1].close!==!0&&$[gt-1].begin!==!0){$[gt-1].deltas.push(j),$[gt-1].abs.push(ot);break}}break;case"bct":j=[ot.x1-J[at-1].x,ot.y1-J[at-1].y,ot.x2-J[at-1].x,ot.y2-J[at-1].y,ot.x-J[at-1].x,ot.y-J[at-1].y],$[$.length-1].deltas.push(j);break;case"qct":var xt=J[at-1].x+2/3*(ot.x1-J[at-1].x),kt=J[at-1].y+2/3*(ot.y1-J[at-1].y),St=ot.x+2/3*(ot.x1-ot.x),Ut=ot.y+2/3*(ot.y1-ot.y),C=ot.x,Nt=ot.y;j=[xt-J[at-1].x,kt-J[at-1].y,St-J[at-1].x,Ut-J[at-1].y,C-J[at-1].x,Nt-J[at-1].y],$[$.length-1].deltas.push(j);break;case"arc":$.push({deltas:[],abs:[],arc:!0}),Array.isArray($[$.length-1].abs)&&$[$.length-1].abs.push(ot)}}H=B?null:x==="stroke"?"stroke":"fill";for(var ce=!1,Gt=0;Gt<$.length;Gt++)if($[Gt].arc)for(var yt=$[Gt].abs,Vt=0;Vt<yt.length;Vt++){var Pt=yt[Vt];Pt.type==="arc"?X.call(this,Pt.x,Pt.y,Pt.radius,Pt.startAngle,Pt.endAngle,Pt.counterclockwise,void 0,B,!ce):q.call(this,Pt.x,Pt.y),ce=!0}else if($[Gt].close===!0)this.pdf.internal.out("h"),ce=!1;else if($[Gt].begin!==!0){var Wt=$[Gt].start.x,qt=$[Gt].start.y;U.call(this,$[Gt].deltas,Wt,qt),ce=!0}H&&D.call(this,H),B&&tt.call(this)}},vt=function(x){var B=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,j=B*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return x-j;case"top":return x+B-j;case"hanging":return x+B-2*j;case"middle":return x+B/2-j;default:return x}},dt=function(x){return x+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};_.prototype.createLinearGradient=function(){var x=function(){};return x.colorStops=[],x.addColorStop=function(B,j){this.colorStops.push([B,j])},x.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},x.isCanvasGradient=!0,x},_.prototype.createPattern=function(){return this.createLinearGradient()},_.prototype.createRadialGradient=function(){return this.createLinearGradient()};var X=function(x,B,j,H,$,J,at,ot,gt){for(var xt=st.call(this,j,H,$,J),kt=0;kt<xt.length;kt++){var St=xt[kt];kt===0&&(gt?N.call(this,St.x1+x,St.y1+B):q.call(this,St.x1+x,St.y1+B)),it.call(this,x,B,St.x2,St.y2,St.x3,St.y3,St.x4,St.y4)}ot?tt.call(this):D.call(this,at)},D=function(x){switch(x){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},tt=function(){this.pdf.clip(),this.pdf.discardPath()},N=function(x,B){this.pdf.internal.out(e(x)+" "+i(B)+" m")},F=function(x){var B;switch(x.align){case"right":case"end":B="right";break;case"center":B="center";break;default:B="left"}var j,H,$,J=this.pdf.getTextDimensions(x.text),at=vt.call(this,x.y),ot=dt.call(this,at)-J.h,gt=this.ctx.transform.applyToPoint(new f(x.x,at));if(this.autoPaging){var xt=this.ctx.transform.decompose(),kt=new c;kt=(kt=(kt=kt.multiply(xt.translate)).multiply(xt.skew)).multiply(xt.scale);for(var St=this.ctx.transform.applyToRectangle(new l(x.x,at,J.w,J.h)),Ut=kt.applyToRectangle(new l(x.x,ot,J.w,J.h)),C=O.call(this,Ut),Nt=[],ce=0;ce<C.length;
vendor: 1,028 bytes, line 41
41ce+=1)Nt.indexOf(C[ce])===-1&&Nt.push(C[ce]);V(Nt);for(var Gt=Nt[0],yt=Nt[Nt.length-1],Vt=Gt;Vt<yt+1;Vt++){this.pdf.setPage(Vt);var Pt=Vt===1?this.posY+this.margin[0]:this.margin[0],Wt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],qt=this.pdf.internal.pageSize.height-this.margin[2],ke=qt-this.margin[0],pe=this.pdf.internal.pageSize.width-this.margin[1],ne=pe-this.margin[3],me=Vt===1?0:Wt+(Vt-2)*ke;if(this.ctx.clip_path.length!==0){var ge=this.path;j=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=G(j,this.posX+this.margin[3],-1*me+Pt),rt.call(this,"fill",!0),this.path=ge}var Dt=G([JSON.parse(JSON.stringify(Ut))],this.posX+this.margin[3],-me+Pt+this.ctx.prevPageLastElemOffset)[0];x.scale>=.01&&(H=this.pdf.internal.getFontSize(),this.pdf.setFontSize(H*x.scale),$=this.lineWidth,this.lineWidth=$*x.scale);var oe=this.autoPaging!=="text";if(oe||Dt.y+Dt.h<=qt){if(oe||Dt.y>=Pt&&Dt.x<=pe){var zt=oe?x.text:this.pdf.splitTextToSize(x.text,x.maxWidth||pe-Dt.x)[0],tn=G([JSON.parse(JSON.str
vendor: 23,926 bytes, lines 41-47
41ingify(St))],this.posX+this.margin[3],-me+Pt+this.ctx.prevPageLastElemOffset)[0],_e=oe&&(Vt>Gt||Vt<yt)&&I.call(this);_e&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ne,ke,null).clip().discardPath()),this.pdf.text(zt,tn.x,tn.y,{angle:x.angle,align:B,renderingMode:x.renderingMode}),_e&&this.pdf.restoreGraphicsState()}}else Dt.y<qt&&(this.ctx.prevPageLastElemOffset+=qt-Dt.y);x.scale>=.01&&(this.pdf.setFontSize(H),this.lineWidth=$)}}else x.scale>=.01&&(H=this.pdf.internal.getFontSize(),this.pdf.setFontSize(H*x.scale),$=this.lineWidth,this.lineWidth=$*x.scale),this.pdf.text(x.text,gt.x+this.posX,gt.y+this.posY,{angle:x.angle,align:B,renderingMode:x.renderingMode,maxWidth:x.maxWidth}),x.scale>=.01&&(this.pdf.setFontSize(H),this.lineWidth=$)},q=function(x,B,j,H){j=j||0,H=H||0,this.pdf.internal.out(e(x+j)+" "+i(B+H)+" l")},U=function(x,B,j){return this.pdf.lines(x,B,j,null,null)},it=function(x,B,j,H,$,J,at,ot){this.pdf.internal.out([n(r(j+x)),n(o(H+B)),n(r($+x)),n(o(J+B)),n(r(at+x)),n(o(ot+B)),"c"].join(" "))},st=function(x,B,j,H){for(var $=2*Math.PI,J=Math.PI/2;B>j;)B-=$;var at=Math.abs(j-B);at<$&&H&&(at=$-at);for(var ot=[],gt=H?-1:1,xt=B;at>1e-5;){var kt=xt+gt*Math.min(at,J);ot.push(ht.call(this,x,xt,kt)),at-=Math.abs(kt-xt),xt=kt}return ot},ht=function(x,B,j){var H=(j-B)/2,$=x*Math.cos(H),J=x*Math.sin(H),at=$,ot=-J,gt=at*at+ot*ot,xt=gt+at*$+ot*J,kt=4/3*(Math.sqrt(2*gt*xt)-xt)/(at*J-ot*$),St=at-kt*ot,Ut=ot+kt*at,C=St,Nt=-Ut,ce=H+B,Gt=Math.cos(ce),yt=Math.sin(ce);return{x1:x*Math.cos(B),y1:x*Math.sin(B),x2:St*Gt-Ut*yt,y2:St*yt+Ut*Gt,x3:C*Gt-Nt*yt,y3:C*yt+Nt*Gt,x4:x*Math.cos(j),y4:x*Math.sin(j)}},nt=function(x){return 180*x/Math.PI},ut=function(x,B,j,H,$,J){var at=x+.5*(j-x),ot=B+.5*(H-B),gt=$+.5*(j-$),xt=J+.5*(H-J),kt=Math.min(x,$,at,gt),St=Math.max(x,$,at,gt),Ut=Math.min(B,J,ot,xt),C=Math.max(B,J,ot,xt);return new l(kt,Ut,St-kt,C-Ut)},At=function(x,B,j,H,$,J,at,ot){var gt,xt,kt,St,Ut,C,Nt,ce,Gt,yt,Vt,Pt,Wt,qt,ke=j-x,pe=H-B,ne=$-j,me=J-H,ge=at-$,Dt=ot-J;for(xt=0;xt<41;xt++)Gt=(Nt=(kt=x+(gt=xt/40)*ke)+gt*((Ut=j+gt*ne)-kt))+gt*(Ut+gt*($+gt*ge-Ut)-Nt),yt=(ce=(St=B+gt*pe)+gt*((C=H+gt*me)-St))+gt*(C+gt*(J+gt*Dt-C)-ce),xt==0?(Vt=Gt,Pt=yt,Wt=Gt,qt=yt):(Vt=Math.min(Vt,Gt),Pt=Math.min(Pt,yt),Wt=Math.max(Wt,Gt),qt=Math.max(qt,yt));return new l(Math.round(Vt),Math.round(Pt),Math.round(Wt-Vt),Math.round(qt-Pt))},wt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var x,B,j=(x=this.ctx.lineDash,B=this.ctx.lineDashOffset,JSON.stringify({lineDash:x,lineDashOffset:B}));this.prevLineDash!==j&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=j)}}})(jt.API),(function(t){var n=function(f){var l,c,d,g,_,A,p,E,I,O;for(/[^\x00-\xFF]/.test(f),c=[],d=0,g=(f+=l="\0\0\0\0".slice(f.length%4||4)).length;g>d;d+=4)(_=(f.charCodeAt(d)<<24)+(f.charCodeAt(d+1)<<16)+(f.charCodeAt(d+2)<<8)+f.charCodeAt(d+3))!==0?(A=(_=((_=((_=((_=(_-(O=_%85))/85)-(I=_%85))/85)-(E=_%85))/85)-(p=_%85))/85)%85,c.push(A+33,p+33,E+33,I+33,O+33)):c.push(122);return(function(k,G){for(var V=G;V>0;V--)k.pop()})(c,l.length),String.fromCharCode.apply(String,c)+"~>"},e=function(f){var l,c,d,g,_,A=String,p="length",E=255,I="charCodeAt",O="slice",k="replace";for(f[O](-2),f=f[O](0,-2)[k](/\s/g,"")[k]("z","!!!!!"),d=[],g=0,_=(f+=l="uuuuu"[O](f[p]%5||5))[p];_>g;g+=5)c=52200625*(f[I](g)-33)+614125*(f[I](g+1)-33)+7225*(f[I](g+2)-33)+85*(f[I](g+3)-33)+(f[I](g+4)-33),d.push(E&c>>24,E&c>>16,E&c>>8,E&c);return(function(G,V){for(var z=V;z>0;z--)G.pop()})(d,l[p]),A.fromCharCode.apply(A,d)},i=function(f){return f.split("").map(function(l){return("0"+l.charCodeAt().toString(16)).slice(-2)}).join("")+">"},r=function(f){var l=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((f=f.replace(/\s/g,"")).indexOf(">")!==-1&&(f=f.substr(0,f.indexOf(">"))),f.length%2&&(f+="0"),l.test(f)===!1)return"";for(var c="",d=0;d<f.length;d+=2)c+=String.fromCharCode("0x"+(f[d]+f[d+1]));return c},o=function(f){for(var l=new Uint8Array(f.length),c=f.length;c--;)l[c]=f.charCodeAt(c);return(l=qs(l)).reduce(function(d,g){return d+String.fromCharCode(g)},"")};t.processDataByFilters=function(f,l){var c=0,d=f||"",g=[];for(typeof(l=l||[])=="string"&&(l=[l]),c=0;c<l.length;c+=1)switch(l[c]){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=r(d),g.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":d=i(d),g.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":d=o(d),g.push("/FlateDecode");break;default:throw new Error('The filter: "'+l[c]+'" is not implemented')}return{data:d,reverseChain:g.reverse().join(" ")}}})(jt.API),(function(t){t.loadFile=function(n,e,i){return(function(r,o,f){o=o!==!1,f=typeof f=="function"?f:function(){};var l=void 0;try{l=(function(c,d,g){var _=new XMLHttpRequest,A=0,p=function(E){var I=E.length,O=[],k=String.fromCharCode;for(A=0;A<I;A+=1)O.push(k(255&E.charCodeAt(A)));return O.join("")};if(_.open("GET",c,!d),_.overrideMimeType("text/plain; charset=x-user-defined"),d===!1&&(_.onload=function(){_.status===200?g(p(this.responseText)):g(void 0)}),_.send(null),d&&_.status===200)return p(_.responseText)})(r,o,f)}catch{}return l})(n,e,i)},t.allowFsRead=void 0,t.loadImageFile=t.loadFile})(jt.API),(function(t){function n(){return(Qt.html2canvas?Promise.resolve(Qt.html2canvas):import("./chunk-EPYCOCOU.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(Qt.DOMPurify?Promise.resolve(Qt.DOMPurify):import("./chunk-ODPUYLXS.js")).catch(function(l){return Promise.reject(new Error("Could not load dompurify: "+l))}).then(function(l){return l.default?l.default:l})}var i=function(l){var c=Te(l);return c==="undefined"?"undefined":c==="string"||l instanceof String?"string":c==="number"||l instanceof Number?"number":c==="function"||l instanceof Function?"function":l&&l.constructor===Array?"array":l&&l.nodeType===1?"element":c==="object"?"object":"unknown"},r=function(l,c){var d=document.createElement(l);for(var g in c.className&&(d.className=c.className),c.innerHTML&&c.dompurify&&(d.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)d.style[g]=c.style[g];return d},o=function l(c,d){for(var g=c.nodeType===3?document.createTextNode(c.nodeValue):c.cloneNode(!1),_=c.firstChild;_;_=_.nextSibling)d!==!0&&_.nodeType===1&&_.nodeName==="SCRIPT"||g.appendChild(l(_,d));return c.nodeType===1&&(c.nodeName==="CANVAS"?(g.width=c.width,g.height=c.height,g.getContext("2d").drawImage(c,0,0)):c.nodeName!=="TEXTAREA"&&c.nodeName!=="SELECT"||(g.value=c.value),g.addEventListener("load",function(){g.scrollTop=c.scrollTop,g.scrollLeft=c.scrollLeft},!0)),g},f=function l(c){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(c)};(f.prototype=Object.create(Promise.prototype)).constructor=f,f.convert=function(l,c){return l.__proto__=c||f.prototype,l},f.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"}},f.prototype.from=function(l,c){return this.then(function(){switch(c=c||(function(d){switch(i(d)){case"string":return"string";case"element":return d.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(l),c){case"string":return this.then(e).then(function(d){return this.set({src:r("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.")}})},f.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.")}},f.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},c=o(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.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=r("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=r("div",{className:"html2pdf__container",style:l}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(r("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"})},f.prototype.toCanvas=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(n).then(function(c){var d=Object.assign({},this.opt.html2canvas);return delete d.onrendered,c(this.prop.container,d)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},f.prototype.toContext2d=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(n).then(function(c){var d=this.opt.jsPDF,g=this.opt.fontFaces,_=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,A=Object.assign({async:!0,allowTaint:!0,scale:_,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 A.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 E=g[p],I=E.src.find(function(O){return O.format==="truetype"});I&&d.addFont(I.url,E.ref.name,E.ref.style)}return A.windowHeight=A.windowHeight||0,A.windowHeight=A.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):A.windowHeight,d.context2d.save(!0),c(this.prop.container,A)}).then(function(c){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},f.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})},f.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},f.prototype.output=function(l,c,d){return(d=d||"pdf").toLowerCase()==="img"||d.toLowerCase()==="image"?this.outputImg(l,c):this.outputPdf(l,c)},f.prototype.outputPdf=function(l,c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(l,c)})},f.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.'}})},f.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)})},f.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},f.prototype.set=function(l){if(i(l)!=="object")return this;var c=Object.keys(l||{}).map(function(d){if(d in f.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(c)})},f.prototype.get=function(l,c){return this.then(function(){var d=l in f.template.prop?this.prop[l]:this.opt[l];return c?c(d):d})},f.prototype.setMargin=function(l){return this.then(function(){switch(i(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)},f.prototype.setPageSize=function(l){function c(d,g){return Math.floor(d*g/72*96)}return this.then(function(){(l=l||jt.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:c(l.inner.width,l.k),height:c(l.inner.height,l.k)},l.inner.ratio=l.inner.height/l.inner.width),this.prop.pageSize=l})},f.prototype.setProgress=function(l,c,d,g){return l!=null&&(this.progress.val=l),c!=null&&(this.progress.state=c),d!=null&&(this.progress.n=d),g!=null&&(this.progress.stack=g),this.progress.ratio=this.progress.val/this.progress.state,this},f.prototype.updateProgress=function(l,c,d,g){return this.setProgress(l?this.progress.val+l:null,c||null,d?this.progress.n+d:null,g?this.progress.stack.concat(g):null)},f.prototype.then=function(l,c){var d=this;return this.thenCore(l,c,function(g,_){return d.updateProgress(null,null,1,[g]),Promise.prototype.then.call(this,function(A){return d.updateProgress(null,g),A}).then(g,_).then(function(A){return d.updateProgress(1),A})})},f.prototype.thenCore=function(l,c,d){d=d||Promise.prototype.then;var g=this;l&&(l=l.bind(g)),c&&(c=c.bind(g));var _=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?g:f.convert(Object.assign({},g),Promise.prototype),A=d.call(_,l,c);return f.convert(A,g.__proto__)},f.prototype.thenExternal=function(l,c){return Promise.prototype.then.call(this,l,c)},f.prototype.thenList=function(l){var c=this;return l.forEach(function(d){c=c.thenCore(d)}),c},f.prototype.catch=function(l){l&&(l=l.bind(this));var c=Promise.prototype.catch.call(this,l);return f.convert(c,this)},f.prototype.catchExternal=function(l){return Promise.prototype.catch.call(this,l)},f.prototype.error=function(l){return this.then(function(){throw new Error(l)})},f.prototype.using=f.prototype.set,f.prototype.saveAs=f.prototype.save,f.prototype.export=f.prototype.output,f.prototype.run=f.prototype.then,jt.getPageSize=function(l,c,d){if(Te(l)==="object"){var g=l;l=g.orientation,c=g.unit||c,d=g.format||d}c=c||"mm",d=d||"a4",l=(""+(l||"P")).toLowerCase();var _,A=(""+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(c){case"pt":_=1;break;case"mm":_=72/25.4;break;case"cm":_=72/2.54;break;case"in":_=72;break;case"px":_=.75;break;case"pc":case"em":_=12;break;case"ex":_=6;break;default:throw"Invalid unit: "+c}var E,I=0,O=0;if(p.hasOwnProperty(A))I=p[A][1]/_,O=p[A][0]/_;else try{I=d[1],O=d[0]}catch{throw new Error("Invalid format: "+d)}if(l==="p"||l==="portrait")l="p",O>I&&(E=O,O=I,I=E);else{if(l!=="l"&&l!=="landscape")throw"Invalid orientation: "+l;l="l",I>O&&(E=O,O=I,I=E)}return{width:O,height:I,unit:c,k:_,orientation:l}},t.html=function(l,c){(c=c||{}).callback=c.callback||function(){},c.html2canvas=c.html2canvas||{},c.html2canvas.canvas=c.html2canvas.canvas||this.canvas,c.jsPDF=c.jsPDF||this,c.fontFaces=c.fontFaces?c.fontFaces.map(sh):null;var d=new f(c);return c.worker?d:d.from(l).doCallback()}})(jt.API),jt.API.addJS=function(t){var n,e,i=(function(r){for(var o="",f=0;f<r.length;f++){var l=r[f];if(l==="("||l===")"){for(var c=0,d=f-1;d>=0&&r[d]==="\\";d--)c++;o+=c%2==0?"\\"+l:l}else o+=l}return o})(t);return this.internal.events.subscribe("postPutResources",function(){n=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(n+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+i+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){n!==void 0&&e!==void 0&&this.internal.out("/Names <</JavaScript "+n+" 0 R>>")}),this},(function(t){var n;t.events.push(["postPutResources",function(){var e=this,i=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=e.outline.render().split(/\r\n/),o=0;o<r.length;o++){var f=r[o],l=i.exec(f);if(l!=null){var c=l[1];e.internal.newObjectDeferredBegin(c,!1)}e.internal.write(f)}if(this.outline.createNamedDestinations){var d=this.internal.pages.length,g=[];for(o=0;o<d;o++){var _=e.internal.newObject();g.push(_);var A=e.internal.getPageInfo(o+1);e.internal.write("<< /D["+A.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(i,r,o){var f={title:r,options:o,children:[]};return i==null&&(i=this.root),i.children.push(f),f},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(i){i.id=e.internal.newObjectDeferred();for(var r=0;r<i.children.length;r++)this.genIds_r(i.children[r])},e.outline.renderRoot=function(i){this.objStart(i),this.line("/Type /Outlines"),i.children.length>0&&(this.line("/First "+this.makeRef(i.children[0])),this.line("/Last "+this.makeRef(i.children[i.children.length-1]))),this.line("/Count "+this.count_r({count:0},i)),this.objEnd()},e.outline.renderItems=function(i){for(var r=this.ctx.pdf.internal.getVerticalCoordinateString,o=0;o<i.children.length;o++){var f=i.children[o];this.objStart(f),this.line("/Title "+this.makeString(f.title)),this.line("/Parent "+this.makeRef(i)),o>0&&this.line("/Prev "+this.makeRef(i.children[o-1])),o<i.children.length-1&&this.line("/Next "+this.makeRef(i.children[o+1])),f.children.length>0&&(this.line("/First "+this.makeRef(f.children[0])),this.line("/Last "+this.makeRef(f.children[f.children.length-1])));var l=this.count=this.count_r({count:0},f);if(l>0&&this.line("/Count "+l),f.options&&f.options.pageNumber){var c=e.internal.getPageInfo(f.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+r(0)+" 0]")}this.objEnd()}for(var d=0;d<i.children.length;d++)this.renderItems(i.children[d])},e.outline.line=function(i){this.ctx.val+=i+`\r 42`},e.outline.makeRef=function(i){return i.id+" 0 R"},e.outline.makeString=function(i){return"("+e.internal.pdfEscape(i)+")"},e.outline.objStart=function(i){this.ctx.val+=`\r 43`+i.id+` 0 obj\r 44<<\r 45`},e.outline.objEnd=function(){this.ctx.val+=`>> \r 46endobj\r 47`},e.outline.count_r=function(i,r){for(var o=0;o<r.children.length;o++)i.count++,this.count_r(i,r.children[o]);return i.count}}])})(jt.API),(function(t){var n=[192,193,194,195,196,197,198,199];t.processJPEG=function(e,i,r,o,f,l){var c,d=this.decode.DCT_DECODE,g=null;if(typeof e=="string"||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=f||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,c=(function(_){for(var A,p=256*_.charCodeAt(4)+_.charCodeAt(5),E=_.length,I={width:0,height:0,numcomponents:1},O=4;O<E;O+=2){if(O+=p,n.indexOf(_.charCodeAt(O+1))!==-1){A=256*_.charCodeAt(O+5)+_.charCodeAt(O+6),I={width:256*_.charCodeAt(O+7)+_.charCodeAt(O+8),height:A,numcomponents:_.charCodeAt(O+9)};break}p=256*_.charCodeAt(O+2)+_.charCodeAt(O+3)}return I})(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),c.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:c.width,height:c.height,colorSpace:l,bitsPerComponent:8,filter:d,index:i,alias:r}}return g}})(jt.API),jt.API.processPNG=function(t,n,e,i){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var r,o=T1(t,{checkCrc:!0}),f=o.width,l=o.height,c=o.channels,d=o.palette,g=o.depth;r=d&&c===1?(function(X){for(var D=X.width,tt=X.height,N=X.data,F=X.palette,q=X.depth,U=!1,it=[],st=[],ht=void 0,nt=!1,ut=0,At=0;At<F.length;At++){var wt=bc(F[At],4),x=wt[0],B=wt[1],j=wt[2],H=wt[3];it.push(x,B,j),H!=null&&(H===0?(ut++,st.length<1&&st.push(At)):H<255&&(nt=!0))}if(nt||ut>1){U=!0,st=void 0;var $=D*tt;ht=new Uint8Array($);for(var J=new DataView(N.buffer),at=0;at<$;at++){var ot=ch(J,at,q),gt=bc(F[ot],4)[3];ht[at]=gt}}else ut===0&&(st=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:U?8:void 0,colorBytes:N,alphaBytes:ht,needSMask:U,palette:it,mask:st}})(o):c===2||c===4?(function(X){for(var D=X.data,tt=X.width,N=X.height,F=X.channels,q=X.depth,U=F===2?"DeviceGray":"DeviceRGB",it=F-1,st=tt*N,ht=it,nt=st*ht,ut=1*st,At=Math.ceil(nt*q/8),wt=Math.ceil(ut*q/8),x=new Uint8Array(At),B=new Uint8Array(wt),j=new DataView(D.buffer),H=new DataView(x.buffer),$=new DataView(B.buffer),J=!1,at=0;at<st;at++){for(var ot=at*F,gt=0;gt<ht;gt++)J1(H,ch(j,ot+gt,q),at*ht+gt,q);var xt=ch(j,ot+ht,q);xt<(1<<q)-1&&(J=!0),J1($,xt,1*at,q)}return{colorSpace:U,colorsPerPixel:it,sMaskBitsPerComponent:J?q:void 0,colorBytes:x,alph
47aBytes:B,needSMask:J}})(o):(function(X){var D=X.data,tt=X.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:tt,colorsPerPixel:tt==="DeviceGray"?1:3,colorBytes:D instanceof Uint16Array?(function(N){for(var F=N.length,q=new Uint8Array(2*F),U=new DataView(q.buffer,q.byteOffset,q.byteLength),it=0;it<F;it++)U.setUint16(2*it,N[it],!1);return q})(D):D,needSMask:!1}})(o);var _,A,p,E=r,I=E.colorSpace,O=E.colorsPerPixel,k=E.sMaskBitsPerComponent,G=E.colorBytes,V=E.alphaBytes,z=E.needSMask,rt=E.palette,vt=E.mask,dt=null;return i!==jt.API.image_compression.NONE&&typeof qs=="function"?(dt=(function(X){var D;switch(X){case jt.API.image_compression.FAST:D=11;break;case jt.API.image_compression.MEDIUM:D=13;break;case jt.API.image_compression.SLOW:D=14;break;default:D=12}return D})(i),_=this.decode.FLATE_DECODE,A="/Predictor ".concat(dt," /Colors ").concat(O," /BitsPerComponent ").concat(g," /Columns ").concat(f),t=Z1(G,Math.ceil(f*O*g/8),O,g,i),z&&(p=Z1(V,Math.ceil(f*k/8),1,k,i))):(_=void 0,A=void 0,t=G,z&&(p=V)),(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:_,decodeParameters:A,transparency:vt,palette:rt,sMask:p,predictor:dt,width:f,height:l,bitsPerComponent:g,sMaskBitsPerComponent:k,colorSpace:I}}},(function(t){t.processGIF89A=function(n,e,i,r){var o=new R5(n),f=o.width,l=o.height,c=[];o.decodeAndBlitFrameRGBA(0,c);var d={data:c,width:f,height:l},g=new hh(100).encode(d,100);return t.processJPEG.call(this,g,e,i,r)},t.processGIF87A=t.processGIF89A})(jt.API),_i.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),i=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[n]={red:r,green:i,blue:e,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},_i.prototype.parseBGR=function(){this.pos=this.offset;var t="bit"+this.bitPP,n=this.width*this.height*4;if(n>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(n);try{this[t]()}catch(e){Oe.log("bit decode error:"+e)}},_i.prototype.bit1=function(){var t,n=Math.ceil(this.width/8),e=n%4;for(t=this.height-1;t>=0;t--){for(var i=this.bottom_up?t:this.height-1-t,r=0;r<n;r++)for(var o=this.datav.getUint8(this.pos++,!0),f=i*this.width*4+8*r*4,l=0;l<8&&8*r+l<this.width;l++){var c=this.palette[o>>7-l&1];this.data[f+4*l]=c.blue,this.data[f+4*l+1]=c.green,this.data[f+4*l+2]=c.red,this.data[f+4*l+3]=255}e!==0&&(this.pos+=4-e)}},_i.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),n=t%4,e=this.height-1;e>=0;e--){for(var i=this.bottom_up?e:this.height-1-e,r=0;r<t;r++){var o=this.datav.getUint8(this.pos++,!0),f=i*this.width*4+2*r*4,l=o>>4,c=15&o,d=this.palette[l];if(this.data[f]=d.blue,this.data[f+1]=d.green,this.data[f+2]=d.red,this.data[f+3]=255,2*r+1>=this.width)break;d=this.palette[c],this.data[f+4]=d.blue,this.data[f+4+1]=d.green,this.data[f+4+2]=d.red,this.data[f+4+3]=255}n!==0&&(this.pos+=4-n)}},_i.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,i=0;i<this.width;i++){var r=this.datav.getUint8(this.pos++,!0),o=e*this.width*4+4*i;
vendor: 4,284 bytes, line 47
47if(r<this.palette.length){var f=this.palette[r];this.data[o]=f.red,this.data[o+1]=f.green,this.data[o+2]=f.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)}},_i.prototype.bit15=function(){for(var t=this.width%3,n=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var i=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var f=(o&n)/n*255|0,l=(o>>5&n)/n*255|0,c=(o>>10&n)/n*255|0,d=o>>15?255:0,g=i*this.width*4+4*r;this.data[g]=c,this.data[g+1]=l,this.data[g+2]=f,this.data[g+3]=d}this.pos+=t}},_i.prototype.bit16=function(){for(var t=this.width%3,n=parseInt("11111",2),e=parseInt("111111",2),i=this.height-1;i>=0;i--){for(var r=this.bottom_up?i:this.height-1-i,o=0;o<this.width;o++){var f=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(f&n)/n*255|0,c=(f>>5&e)/e*255|0,d=(f>>11)/n*255|0,g=r*this.width*4+4*o;this.data[g]=d,this.data[g+1]=c,this.data[g+2]=l,this.data[g+3]=255}this.pos+=t}},_i.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 i=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),f=n*this.width*4+4*e;this.data[f]=o,this.data[f+1]=r,this.data[f+2]=i,this.data[f+3]=255}this.pos+=this.width%4}},_i.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 i=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),f=this.datav.getUint8(this.pos++,!0),l=n*this.width*4+4*e;this.data[l]=o,this.data[l+1]=r,this.data[l+2]=i,this.data[l+3]=f}},_i.prototype.getData=function(){return this.data},(function(t){t.processBMP=function(n,e,i,r){var o=new _i(n,!1),f=o.width,l=o.height,c={data:o.getData(),width:f,height:l},d=new hh(100).encode(c,100);return t.processJPEG.call(this,d,e,i,r)}})(jt.API),t0.prototype.getData=function(){return this.data},(function(t){t.processWEBP=function(n,e,i,r){var o=new t0(n),f=o.width,l=o.height,c={data:o.getData(),width:f,height:l},d=new hh(100).encode(c,100);return t.processJPEG.call(this,d,e,i,r)}})(jt.API),jt.API.processRGBA=function(t,n,e){for(var i=t.data,r=i.length,o=new Uint8Array(r/4*3),f=new Uint8Array(r/4),l=0,c=0,d=0;d<r;d+=4){var g=i[d],_=i[d+1],A=i[d+2],p=i[d+3];o[l++]=g,o[l++]=_,o[l++]=A,f[c++]=p}var E=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(f),data:E,index:n,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},jt.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 (Canad
47a)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[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},Ga=jt.API,ul=Ga.getCharWidthsArray=function(t,n){var e,i,r=(n=n||{}).font||this.internal.getFont(),o=n.fontSize||this.internal.getFontSize(),f=n.charSpace||this.internal.getCharSpace(),l=n.widths?n.widths:r.metadata.Unicode.widths,c=l.fof?l.fof:1,d=n.kerning?n.kerning:r.metadata.Unicode.kerning,g=d.fof?d.fof:1,_=n.doKerning!==!1,A=0,p=t.length,E=0,I=l[0]||c,O=[];for(e=0;e<p;e++)i=t.charCodeAt(e),typeof r.metadata.widthOfString=="function"?O.push((r.metadata.widthOfGlyph(r.metadata.characterToGlyph(i))+f*(1e3/o)||0)/1e3):(A=_&&Te(d[i])==="object"&&!isNaN(parseInt(d[i][E],10))?d[i][E]/g:0,O.push((l[i]||I)/c+A)),E=i;return O},W1=Ga.getStringUnitWidth=function(t,n){var e=(n=n||{}).fontSize||this.internal.getFontSize(),i=n.font||this.internal.getFont(),r=n.charSpace||this.internal.getCharSpace();return Ga.processArabic&&(t=Ga.processArabic(t)),typeof i.metadata.widthOfString=="function"?i.metadata.widthOfString(t,e,r)/e:ul.apply(this,arguments).reduce(function(o,f){return o+f},0)},G1=function(t,n,e,i){for(var r=[],o=0,f=t.length,l=0;o!==f&&l+n[o]<e;)l+=n[o],o++;r.push(t.slice(0,o));var c=o;for(l=0;o!==f;)l+n[o]>i&&(r.push(t.slice(c,o)),l=0,c=o),l+=n[o],o++;return c!==o&&r.push(t.slice(c,o)),r},V1=function(t,n,e){e||(e={});var i,r,o,f,l,c,d,g=[],_=[g],A=e.textIndent||0,p=0,E=0,I=t.split(" "),O=ul.apply(this,[" ",e])[0];if(c=e.lineIndent===-1?I[0].length+2:e.lineIndent||0){var k=Array(c).join(" "),G=[];I.map(function(z){(z=z.split(/\s*\n/)).length>1?G=G.concat(z.map(function(rt,vt){return(vt&&rt.length?` 48`:"")+rt})):G.push(z[0])}),I=G,c=W1.apply(this,[k,e])}for(o=0,f=I.length;o<f;o++){var V=0;if(i=I[o],c&&i[0]==` 49`&&(i=i.substr(1),V=1),A+p+(E=(r=ul.apply(this,[i,e])).reduce(function(z,rt){return z+rt},0))>n||V){if(E>
vendor: 2,641 bytes, line 49
49n){for(l=G1.apply(this,[i,r,n-(A+p),n]),g.push(l.shift()),g=[l.pop()];l.length;)_.push([l.shift()]);E=r.slice(i.length-(g[0]?g[0].length:0)).reduce(function(z,rt){return z+rt},0)}else g=[i];_.push(g),A=E+c,p=O}else g.push(i),A+=p+E,p=O}return d=c?function(z,rt){return(rt?k:"")+z.join(" ")}:function(z){return z.join(" ")},_.map(d)},Ga.splitTextToSize=function(t,n,e){var i,r=(e=e||{}).fontSize||this.internal.getFontSize(),o=function(g){if(g.widths&&g.kerning)return{widths:g.widths,kerning:g.kerning};var _=this.internal.getFont(g.fontName,g.fontStyle),A="Unicode";return _.metadata[A]?{widths:_.metadata[A].widths||{0:1},kerning:_.metadata[A].kerning||{}}:{font:_.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,e);i=Array.isArray(t)?t:String(t).split(/\r?\n/);var f=1*this.internal.scaleFactor*n/r;o.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/r:0,o.lineIndent=e.lineIndent;var l,c,d=[];for(l=0,c=i.length;l<c;l++)d=d.concat(V1.apply(this,[i[l],f,o]));return d},(function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var n="0123456789abcdef",e="klmnopqrstuvwxyz",i={},r={},o=0;o<16;o++)i[e[o]]=n[o],r[n[o]]=e[o];var f=function(A){return"0x"+parseInt(A,10).toString(16)},l=t.__fontmetrics__.compress=function(A){var p,E,I,O,k=["{"];for(var G in A){if(p=A[G],isNaN(parseInt(G,10))?E="'"+G+"'":(G=parseInt(G,10),E=(E=f(G).slice(2)).slice(0,-1)+r[E.slice(-1)]),typeof p=="number")p<0?(I=f(p).slice(3),O="-"):(I=f(p).slice(2),O=""),I=O+I.slice(0,-1)+r[I.slice(-1)];else{if(Te(p)!=="object")throw new Error("Don't know what to do with value type "+Te(p)+".");I=l(p)}k.push(E+I)}return k.push("}"),k.join("")},c=t.__fontmetrics__.uncompress=function(A){if(typeof A!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,E,I,O,k={},G=1,V=k,z=[],rt="",vt="",dt=A.length-1,X=1;X<dt;X+=1)(O=A[X])=="'"?p?(I=p.join(""),p=void 0):p=[]:p?p.push(O):O=="{"?(z.push([V,I]),V={},I=void 0):O=="}"?((E=z.pop())[0][E[1]]=V,I=void 0,V=E[0]):O=="-"?G=-1:I===void 0?i.hasOwnProperty(O)?(rt+=i[O],I=parseInt(rt,16)*G,G=1,rt=""):rt+=O:i.hasOwnProperty(O)?(vt+=i[O],V[I]=parseInt(vt,16)*G,G=1,I=void 0,vt=""):vt+=O;return k},d={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{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}},_
vendor: 14,693 bytes, line 49
49={Unicode:{"Courier-Oblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":c("{'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":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'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:c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":c("{'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:c("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'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:c("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":c("{'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}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":c("{'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":c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'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}}}")}};
vendor: 41,058 bytes, lines 49-77
49t.events.push(["addFont",function(A){var p=A.font,E=_.Unicode[p.postScriptName];E&&(p.metadata.Unicode={},p.metadata.Unicode.widths=E.widths,p.metadata.Unicode.kerning=E.kerning);var I=g.Unicode[p.postScriptName];I&&(p.metadata.Unicode.encoding=I,p.encoding=I.codePages[0])}])})(jt.API),(function(t){var n=function(e){for(var i=e.length,r=new Uint8Array(i),o=0;o<i;o++)r[o]=e.charCodeAt(o);return r};t.API.events.push(["addFont",function(e){var i=void 0,r=e.font,o=e.instance;if(!r.isStandardFont){if(o===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");if(typeof(i=o.existsFileInVFS(r.postScriptName)===!1?o.loadFile(r.postScriptName):o.getFileFromVFS(r.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+r.postScriptName+"').");(function(f,l){l=/^\x00\x01\x00\x00/.test(l)?n(l):n(dl(l)),f.metadata=t.API.TTFFont.open(l),f.metadata.Unicode=f.metadata.Unicode||{encoding:{},kerning:{},widths:[]},f.metadata.glyIdsUsed=[0]})(r,i)}}])})(jt),jt.API.addSvgAsImage=function(t,n,e,i,r,o,f,l){if(isNaN(n)||isNaN(e))throw Oe.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(i)||isNaN(r))throw Oe.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=i,c.height=r;var d=c.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,c.width,c.height);var g={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},_=this;return(Qt.canvg?Promise.resolve(Qt.canvg):import("./chunk-RLZKBS4G.js")).catch(function(A){return Promise.reject(new Error("Could not load canvg: "+A))}).then(function(A){return A.default?A.default:A}).then(function(A){return A.fromString(d,t,g)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(A){return A.render(g)}).then(function(){_.addImage(c.toDataURL("image/jpeg",1),n,e,i,r,f,l)})},jt.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 i=1;i<=this.internal.getNumberOfPages();i++)for(var r=0;r<this.internal.pages[i].length;r++)this.internal.pages[i][r]=this.internal.pages[i][r].replace(n,e);return this},jt.API.viewerPreferences=function(t,n){var e;t=t||{},n=n||!1;var i,r,o,f={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(f),c=[],d=0,g=0,_=0;function A(E,I){var O,k=!1;for(O=0;O<E.length;O+=1)E[O]===I&&(k=!0);return k}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(f)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,t==="reset"||n===!0){var p=l.length;for(_=0;_<p;_+=1)e[l[_]].value=e[l[_]].defaultValue,e[l[_]].explicitSet=!1}if(Te(t)==="object"){for(r in t)if(o=t[r],A(l,r)&&o!==void 0){if(e[r].type==="boolean"&&typeof o=="boolean")e[r].value=o;else if(e[r].type==="name"&&A(e[r].valueSet,o))e[r].value=o;else if(e[r].type==="integer"&&Number.isInteger(o))e[r].value=o;else if(e[r].type==="array"){for(d=0;d<o.length;d+=1)if(i=!0,o[d].length===1&&typeof o[d][0]=="number")c.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"&&(i=!1);i===!0&&c.push([o[d][0]-1,o[d][1]-1].join(" "))}e[r].value="["+c.join(" ")+"]"}else e[r].value=e[r].defaultValue;e[r].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var E,I=[];for(E in e)e[E].explicitSet===!0&&(e[E].type==="name"?I.push("/"+E+" /"+e[E].value):I.push("/"+E+" "+e[E].value));I.length!==0&&this.internal.write(`/ViewerPreferences 50<< 51`+I.join(` 52`)+` 53>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},jt.API.addMetadata=function(t,n){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:t,namespaceUri:n??"http://jspdf.default.namespaceuri/",rawXml:typeof n=="boolean"&&n},this.internal.events.subscribe("putCatalog",U5),this.internal.events.subscribe("postPutResources",z5)),this},(function(t){var n=t.API,e=n.pdfEscape16=function(o,f){for(var l,c=f.metadata.Unicode.widths,d=["","0","00","000","0000"],g=[""],_=0,A=o.length;_<A;++_){if(l=f.metadata.characterToGlyph(o.charCodeAt(_)),f.metadata.glyIdsUsed.push(l),f.metadata.toUnicode[l]=o.charCodeAt(_),c.indexOf(l)==-1&&(c.push(l),c.push([parseInt(f.metadata.widthOfGlyph(l),10)])),l=="0")return g.join("");l=l.toString(16),g.push(d[4-l.length],l)}return g.join("")},i=function(o){var f,l,c,d,g,_,A;for(g=`/CIDInit /ProcSet findresource begin 5412 dict begin 55begincmap 56/CIDSystemInfo << 57 /Registry (Adobe) 58 /Ordering (UCS) 59 /Supplement 0 60>> def 61/CMapName /Adobe-Identity-UCS def 62/CMapType 2 def 631 begincodespacerange 64<0000><ffff> 65endcodespacerange`,c=[],_=0,A=(l=Object.keys(o).sort(function(p,E){return p-E})).length;_<A;_++)f=l[_],c.length>=100&&(g+=` 66`+c.length+` beginbfchar 67`+c.join(` 68`)+` 69endbfchar`,c=[]),o[f]!==void 0&&o[f]!==null&&typeof o[f].toString=="function"&&(d=("0000"+o[f].toString(16)).slice(-4),f=("0000"+(+f).toString(16)).slice(-4),c.push("<"+f+"><"+d+">"));return c.length&&(g+=` 70`+c.length+` beginbfchar 71`+c.join(` 72`)+` 73endbfchar 74`),g+`endcmap 75CMapName currentdict /CMap defineresource pop 76end 77end`};n.events.push(["putFont",function(o){(function(f){var l=f.font,c=f.out,d=f.newObject,g=f.putStream;if(l.metadata instanceof t.API.TTFFont&&l.encoding==="Identity-H"){for(var _=l.metadata.Unicode.widths,A=l.metadata.subset.encode(l.metadata.glyIdsUsed,1),p="",E=0;E<A.length;E++)p+=String.fromCharCode(A[E]);var I=d();g({data:p,addLength1:!0,objectId:I}),c("endobj");var O=d();g({data:i(l.metadata.toUnicode),addLength1:!0,objectId:O}),c("endobj");var k=d();c("<<"),c("/Type /FontDescriptor"),c("/FontName /"+Za(l.fontName)),c("/FontFile2 "+I+" 0 R"),c("/FontBBox "+t.API.PDFObject.convert(l.metadata.bbox)),c("/Flags "+l.metadata.flags),c("/StemV "+l.metadata.stemV),c("/ItalicAngle "+l.metadata.italicAngle),c("/Ascent "+l.metadata.ascender),c("/Descent "+l.metadata.decender),c("/CapHeight "+l.metadata.capHeight),c(">>"),c("endobj");var G=d();c("<<"),c("/Type /Font"),c("/BaseFont /"+Za(l.fontName)),c("/FontDescriptor "+k+" 0 R"),c("/W "+t.API.PDFObject.convert(_)),c("/CIDToGIDMap /Identity"),c("/DW 1000"),c("/Subtype /CIDFontType2"),c("/CIDSystemInfo"),c("<<"),c("/Supplement 0"),c("/Registry (Adobe)"),c("/Ordering ("+l.encoding+")"),c(">>"),c(">>"),c("endobj"),l.objectNumber=d(),c("<<"),c("/Type /Font"),c("/Subtype /Type0"),c("/ToUnicode "+O+" 0 R"),c("/BaseFont /"+Za(l.fontName)),c("/Encoding /"+l.encoding),c("/DescendantFonts ["+G+" 0 R]"),c(">>"),c("endobj"),l.isAlreadyPutted=!0}})(o)}]),n.events.push(["putFont",function(o){(function(f){var l=f.font,c=f.out,d=f.newObject,g=f.putStream;if(l.metadata instanceof t.API.TTFFont&&l.encoding==="WinAnsiEncoding"){for(var _=l.metadata.rawData,A="",p=0;p<_.length;p++)A+=String.fromCharCode(_[p]);var E=d();g({data:A,addLength1:!0,objectId:E}),c("endobj");var I=d();g({data:i(l.metadata.toUnicode),addLength1:!0,objectId:I}),c("endobj");var O=d();c("<<"),c("/Descent "+l.metadata.decender),c("/CapHeight "+l.metadata.capHeight),c("/StemV "+l.metadata.stemV),c("/Type /FontDescriptor"),c("/FontFile2 "+E+" 0 R"),c("/Flags 96"),c("/FontBBox "+t.API.PDFObject.convert(l.metadata.bbox)),c("/FontName /"+Za(l.fontName)),c("/ItalicAngle "+l.metadata.italicAngle),c("/Ascent "+l.metadata.ascender),c(">>"),c("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));c("<</Subtype/TrueType/Type/Font/ToUnicode "+I+" 0 R/BaseFont/"+Za(l.fontName)+"/FontDescriptor "+O+" 0 R/Encoding/"+l.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(l.metadata.hmtx.widths)+">>"),c("endobj"),l.isAlreadyPutted=!0}})(o)}]);var r=function(o){var f,l=o.text||"",c=o.x,d=o.y,g=o.options||{},_=o.mutex||{},A=_.pdfEscape,p=_.activeFontKey,E=_.fonts,I=p,O="",k=0,G="",V=E[I].encoding;if(E[I].encoding!=="Identity-H")return{text:l,x:c,y:d,options:g,mutex:_};for(G=l,I=p,Array.isArray(l)&&(G=l[0]),k=0;k<G.length;k+=1)E[I].metadata.hasOwnProperty("cmap")&&(f=E[I].metadata.cmap.unicode.codeMap[G[k].charCodeAt(0)]),f||G[k].charCodeAt(0)<256&&E[I].metadata.hasOwnProperty("Unicode")?O+=G[k]:O+="";var z="";return parseInt(I.slice(1))<14||V==="WinAnsiEncoding"?z=A(O,I).split("").map(function(rt){return rt.charCodeAt(0).toString(16)}).join(""):V==="Identity-H"&&(z=e(O,E[I])),_.isHex=!0,{text:z,x:c,y:d,options:g,mutex:_}};n.events.push(["postProcessText",function(o){var f=o.text||"",l=[],c={text:f,x:o.x,y:o.y,options:o.options,mutex:o.mutex};if(Array.isArray(f)){var d=0;for(d=0;d<f.length;d+=1)Array.isArray(f[d])&&f[d].length===3?l.push([r(Object.assign({},c,{text:f[d][0]})).text,f[d][1],f[d][2]]):l.push(r(Object.assign({},c,{text:f[d]})).text);o.text=l}else o.text=r(Object.assign({},c,{text:f})).text}])})(jt),(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,i){return n.call(this),this.internal.vFS[e]=i,this},t.getFileFromVFS=function(e){return n.call(this),this.internal.vFS[e]!==void 0?this.internal.vFS[e]:null}})(jt.API),(function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(i){var r,o,f,l,c,d,g,_=n,A=[[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]],E={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},I={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},O=["(",")","(","<",">","<","[","]","[","{","}","{","\xAB","\xBB","\xAB","\u2039","\u203A","\u2039","\u2045","\u2046","\u2045","\u207D","\u207E","\u207D","\u208D","\u208E","\u208D","\u2264","\u2265","\u2264","\u2329","\u232A","\u2329","\uFE59","\uFE5A","\uFE59","\uFE5B","\uFE5C","\uFE5B","\uFE5D","\uFE5E","\uFE5D","\uFE64","\uFE65","\uFE64"],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)$/),G=!1,V=0;this.__bidiEngine__={};var z=function(N){var F=N.charCodeAt(),q=F>>8,U=I[q];return U!==void 0?_[256*U+(255&F)]:q===252||q===253?"AL":k.test(q)?"L":q===8?"R":"N"},rt=function(N){for(var F,q=0;q<N.length;q++){if((F=z(N.charAt(q)))==="L")return!1;if(F==="R")return!0}return!1},vt=function(N,F,q,U){var it,st,ht,nt,ut=F[U];switch(ut){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":G=!1;break;case"N":case"AN":break;case"EN":G&&(ut="AN");break;case"AL":G=!0,ut="R";break;case"WS":case"BN":ut="N";break;case"CS":U<1||U+1>=F.length||(it=q[U-1])!=="EN"&&it!=="AN"||(st=F[U+1])!=="EN"&&st!=="AN"?ut="N":G&&(st="AN"),ut=st===it?st:"N";break;case"ES":ut=(it=U>0?q[U-1]:"B")==="EN"&&U+1<F.length&&F[U+1]==="EN"?"EN":"N";break;case"ET":if(U>0&&q[U-1]==="EN"){ut="EN";break}if(G){ut="N";break}for(ht=U+1,nt=F.length;ht<nt&&F[ht]==="ET";)ht++;ut=ht<nt&&F[ht]==="EN"?"EN":"N";break;case"NSM":if(f&&!l){for(nt=F.length,ht=U+1;ht<nt&&F[ht]==="NSM";)ht++;if(ht<nt){var At=N[U],wt=At>=1425&&At<=2303||At===64286;if(it=F[ht],wt&&(it==="R"||it==="AL")){ut="R";break}}}ut=U<1||(it=F[U-1])==="B"?"N":q[U-1];break;case"B":G=!1,r=!0,ut=V;break;case"S":o=!0,ut="N"}return ut},dt=function(N,F,q){var U=N.split("");return q&&X(U,q,{hiLevel:V}),U.reverse(),F&&F.reverse(),U.join("")},X=function(N,F,q){var U,it,st,ht,nt,ut=-1,At=N.length,wt=0,x=[],B=V?p:A,j=[];for(G=!1,r=!1,o=!1,it=0;it<At;it++)j[it]=z(N[it]);for(st=0;st<At;st++){if(nt=wt,x[st]=vt(N,j,x,st),U=240&(wt=B[nt][E[x[st]]]),wt&=15,F[st]=ht=B[wt][5],U>0)if(U===16){for(it=ut;it<st;it++)F[it]=1;ut=-1}else ut=-1;if(B[wt][6])ut===-1&&(ut=st);else if(ut>-1){for(it=ut;it<st;it++)F[it]=ht;ut=-1}j[st]==="B"&&(F[st]=0),q.hiLevel|=ht}o&&(function(H,$,J){for(var at=0;at<J;at++)if(H[at]==="S"){$[at]=V;for(var ot=at-1;ot>=0&&H[ot]==="WS";ot--)$[ot]=V}})(j,F,At)},D=function(N,F,q,U,it){if(!(it.hiLevel<N)){if(N===1&&V===1&&!r)return F.reverse(),void(q&&q.reverse());for(var st,ht,nt,ut,At=F.length,wt=0;wt<At;){if(U[wt]>=N){for(nt=wt+1;nt<At&&U[nt]>=N;)nt++;for(ut=wt,ht=nt-1;ut<ht;ut++,ht--)st=F[ut],F[ut]=F[ht],F[ht]=st,q&&(st=q[ut],q[ut]=q[ht],q[ht]=st);wt=nt}wt++}}},tt=function(N,F,q){var U=N.split(""),it={hiLevel:V};return q||(q=[]),X(U,q,it),(function(st,ht,nt){if(nt.hiLevel!==0&&g)for(var ut,At=0;At<st.length;At++)ht[At]===1&&(ut=O.indexOf(st[At]))>=0&&(st[At]=O[ut+1])})(U,q,it),D(2,U,F,q,it),D(1,U,F,q,it),U.join("")};return this.__bidiEngine__.doBidiReorder=function(N,F,q){if((function(it,st){if(st)for(var ht=0;ht<it.length;ht++)st[ht]=ht;l===void 0&&(l=rt(it)),d===void 0&&(d=rt(it))})(N,F),f||!c||d)if(f&&c&&l^d)V=l?1:0,N=dt(N,F,q);else if(!f&&c&&d)V=l?1:0,N=tt(N,F,q),N=dt(N,F);else if(!f||l||c||d){if(f&&!c&&l^d)N=dt(N,F),l?(V=0,N=tt(N,F,q)):(V=1,N=tt(N,F,q),N=dt(N,F));else if(f&&l&&!c&&d)V=1,N=tt(N,F,q),N=dt(N,F);else if(!f&&!c&&l^d){var U=g;l?(V=1,N=tt(N,F,q),V=0,g=!1,N=tt(N,F,q),g=U):(V=0,N=tt(N,F,q),N=dt(N,F),V=1,g=!1,N=tt(N,F,q),g=U,N=dt(N,F))}}else V=0,N=tt(N,F,q);else V=l?1:0,N=tt(N,F,q);return N},this.__bidiEngine__.setOptions=function(N){N&&(f=N.isInputVisual,c=N.isOutputVisual,l=N.isInputRtl,d=N.isOutputRtl,g=N.isSymmetricSwapping)},this.__bidiEngine__.setOptions(i),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(i){var r=i.text;i.x,i.y;var o=i.options||{};i.mutex,o.lang;var f=[];if(o.isInputVisual=typeof o.isInputVisual!="boolean"||o.isInputVisual,e.setOptions(o),Object.prototype.toString.call(r)==="[object Array]"){var l=0;for(f=[],l=0;l<r.length;l+=1)Object.prototype.toString.call(r[l])==="[object Array]"?f.push([e.doBidiReorder(r[l][0]),r[l][1],r[l][2]]):f.push([e.doBidiReorder(r[l])]);i.text=f}else i.text=e.doBidiReorder(r);e.setOptions({isInputVisual:!0})}])})(jt),jt.API.TTFFont=(function(){function t(n){var e;if(this.rawData=n,e=this.contents=new Pr(n),this.contents.pos=4,e.readString(4)==="ttcf")throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new ng(this),this.registerTTF()}return t.open=function(n){return new t(n)},t.prototype.parse=function(){return this.directory=new q5(this.contents),this.head=new W5(this),this.name=new Y5(this),this.cmap=new d0(this),this.toUnicode={},this.hhea=new G5(this),this.maxp=new X5(this),this.hmtx=new K5(this),this.post=new Z5(this),this.os2=new V5(this),this.loca=new eg(this),this.glyf=new J5(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,i,r,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var f,l,c,d;for(d=[],f=0,l=(c=this.bbox).length;f<l;f++)n=c[f],d.push(Math.round(n*this.scaleFactor));return d}.call(this),this.stemV=0,this.post.exists?(i=255&(r=this.post.italic_angle),32768&(e=r>>16)&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+i)):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,i){var r,o,f,l;for(f=0,o=0,l=(n=""+n).length;0<=l?o<l:o>l;o=0<=l?++o:--o)r=n.charCodeAt(o),f+=this.widthOfGlyph(this.characterToGlyph(r))+i*(1e3/e)||0;return f*(e/1e3)},t.prototype.lineHeight=function(n,e){var i;return e==null&&(e=!1),i=e?this.lineGap:0,(this.ascender+i-this.decender)/1e3*n},t})();var Ai,Pr=(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,i;for(i=[],e=0;0<=n?e<n:e>n;e=0<=n?++e:--e)i[e]=String.fromCharCode(this.readByte());return i.join("")},t.prototype.writeString=function(n){var e,i,r;for(r=[],e=0,i=n.length;0<=i?e<i:e>i;e=0<=i?++e:--e)r.push(this.writeByte(n.charCodeAt(e)));return r},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(n){return this.writeInt16(n)},t.prototype.readLongLong=function(){var n,e,i,r,o,f,l,c;return n=this.readByte(),e=this.readByte(),i=this.readByte(),r=this.readByte(),o=this.readByte(),f=this.readByte(),l=this.readByte(),c=this.readByte(),128&n?-1*(72057594037927940*(255^n)+281474976710656*(255^e)+1099511627776*(255^i)+4294967296*(255^r)+16777216*(255^o)+65536*(255^f)+256*(255^l)+(255^c)+1):72057594037927940*n+281474976710656*e+1099511627776*i+4294967296*r+16777216*o+65536*f+256*l+c},t.prototype.writeLongLong=function(n){var e,i;return e=Math.floor(n/4294967296),i=4294967295&n,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(i>>24&255),this.writeByte(i>>16&255),this.writeByte(i>>8&255),this.writeByte(255&i)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(n){return this.writeInt32(n)},t.prototype.read=function(n){var e,i;for(e=[],i=0;0<=n?i<n:i>n;i=0<=n?++i:--i)e.push(this.readByte());return e},t.prototype.write=function(n){var e,i,r,o;for(o=[],i=0,r=n.length;i<r;i++)e=n[i],o.push(this.writeByte(e));return o},t})(),q5=(function(){var t;function n(e){var i,r,o;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},r=0,o=this.tableCount;0<=o?r<o:r>o;r=0<=o?++r:--r)i={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[i.tag]=i}return n.prototype.encode=function(e){var i,r,o,f,l,c,d,g,_,A,p,E,I;for(I in p=Object.keys(e).length,c=Math.log(2),_=16*Math.floor(Math.log(p)/c),f=Math.floor(_/c),g=16*p-_,(r=new Pr).writeInt(this.scalarType),r.writeShort(p),r.writeShort(_),r.writeShort(f),r.writeShort(g),o=16*p,d=r.pos+o,l=null,E=[],e)for(A=e[I],r.writeString(I),r.writeInt(t(A)),r.writeInt(d),r.writeInt(A.length),E=E.concat(A),I==="head"&&(l=d),d+=A.length;d%4;)E.push(0),d++;return r.write(E),i=2981146554-t(r.data),r.pos=l+8,r.writeUInt32(i),r.data},t=function(e){var i,r,o,f;for(e=p0.call(e);e.length%4;)e.push(0);for(o=new Pr(e),r=0,i=0,f=e.length;i<f;i=i+=4)r+=o.readUInt32();return 4294967295&r},n})(),H5={}.hasOwnProperty,Ui=function(t,n){for(var e in n)H5.call(n,e)&&(t[e]=n[e]);function i(){this.constructor=t}return i.prototype=n.prototype,t.prototype=new i,t.__super__=n.prototype,t};Ai=(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 W5=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ui(t,Ai),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 Pr).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})(),e0=(function(){function t(n,e){var i,r,o,f,l,c,d,g,_,A,p,E,I,O,k,G,V;switch(this.platformID=n.readUInt16(),this.encodingID=n.readShort(),this.offset=e+n.readInt(),_=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(c=0;c<256;++c)this.codeMap[c]=n.readByte();break;case 4:for(p=n.readUInt16(),A=p/2,n.pos+=6,o=(function(){var z,rt;for(rt=[],c=z=0;0<=A?z<A:z>A;c=0<=A?++z:--z)rt.push(n.readUInt16());return rt})(),n.pos+=2,I=(function(){var z,rt;for(rt=[],c=z=0;0<=A?z<A:z>A;c=0<=A?++z:--z)rt.push(n.readUInt16());return rt})(),d=(function(){var z,rt;for(rt=[],c=z=0;0<=A?z<A:z>A;c=0<=A?++z:--z)rt.push(n.readUInt16());return rt})(),g=(function(){var z,rt;for(rt=[],c=z=0;0<=A?z<A:z>A;c=0<=A?++z:--z)rt.push(n.readUInt16());return rt})(),r=(this.length-n.pos+this.offset)/2,l=(function(){var z,rt;for(rt=[],c=z=0;0<=r?z<r:z>r;c=0<=r?++z:--z)rt.push(n.readUInt16());return rt})(),c=k=0,V=o.length;k<V;c=++k)for(O=o[c],i=G=E=I[c];E<=O?G<=O:G>=O;i=E<=O?++G:--G)g[c]===0?f=i+d[c]:(f=l[g[c]/2+(i-E)-(A-c)]||0)!==0&&(f+=d[c]),this.codeMap[i]=65535&f}n.pos=_}return t.encode=function(n,e){var i,r,o,f,l,c,d,g,_,A,p,E,I,O,k,G,V,z,rt,vt,dt,X,D,tt,N,F,q,U,it,st,ht,nt,ut,At,wt,x,B,j,H,$,J,at,ot,gt,xt,kt;switch(U=new Pr,f=Object.keys(n).sort(function(St,Ut){return St-Ut}),e){case"macroman":for(I=0,O=(function(){var St=[];for(E=0;E<256;++E)St.push(0);return St})(),G={0:0},o={},it=0,ut=f.length;it<ut;it++)G[ot=n[r=f[it]]]==null&&(G[ot]=++I),o[r]={old:n[r],new:G[n[r]]},O[r]=G[n[r]];return U.writeUInt16(1),U.writeUInt16(0),U.writeUInt32(12),U.writeUInt16(0),U.writeUInt16(262),U.writeUInt16(0),U.write(O),{charMap:o,subtable:U.data,maxGlyphID:I+1};case"unicode":for(F=[],_=[],V=0,G={},i={},k=d=null,st=0,At=f.length;st<At;st++)G[rt=n[r=f[st]]]==null&&(G[rt]=++V),i[r]={old:rt,new:G[rt]},l=G[rt]-r,k!=null&&l===d||(k&&_.push(k),F.push(r),d=l),k=r;for(k&&_.push(k),_.push(65535),F.push(65535),tt=2*(D=F.length),X=2*Math.pow(Math.log(D)/Math.LN2,2),A=Math.log(X/2)/Math.LN2,dt=2*D-X,c=[],vt=[],p=[],E=ht=0,wt=F.length;ht<wt;E=++ht){if(N=F[E],g=_[E],N===65535){c.push(0),vt.push(0);break}if(N-(q=i[N].new)>=32768)for(c.push(0),vt.push(2*(p.length+D-E)),r=nt=N;N<=g?nt<=g:nt>=g;r=N<=g?++nt:--nt)p.push(i[r].new);else c.push(q-N),vt.push(0)}for(U.writeUInt16(3),U.writeUInt16(1),U.writeUInt32(12),U.writeUInt16(4),U.writeUInt16(16+8*D+2*p.length),U.writeUInt16(0),U.writeUInt16(tt),U.writeUInt16(X),U.writeUInt16(A),U.writeUInt16(dt),J=0,x=_.length;J<x;J++)r=_[J],U.writeUInt16(r);for(U.writeUInt16(0),at=0,B=F.length;at<B;at++)r=F[at],U.writeUInt16(r);for(gt=0,j=c.length;gt<j;gt++)l=c[gt],U.writeUInt16(l);for(xt=0,H=vt.length;xt<H;xt++)z=vt[xt],U.writeUInt16(z);for(kt=0,$=p.length;kt<$;kt++)I=p[kt],U.writeUInt16(I);return{charMap:i,subtable:U.data,maxGlyphID:V+1}}},t})(),d0=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ui(t,Ai),t.prototype.tag="cmap",t.prototype.parse=function(n){var e,i,r;for(n.pos=this.offset,this.version=n.readUInt16(),r=n.readUInt16(),this.tables=[],this.unicode=null,i=0;0<=r?i<r:i>r;i=0<=r?++i:--i)e=new e0(n,this.offset),this.tables.push(e),e.isUnicode&&this.unicode==null&&(this.unicode=e);return!0},t.encode=function(n,e){var i,r;return e==null&&(e="macroman"),i=e0.encode(n,e),(r=new Pr).writeUInt16(0),r.writeUInt16(1),i.table=r.data.concat(i.subtable),i},t})(),G5=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ui(t,Ai),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})(),V5=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ui(t,Ai),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,i;for(i=[],e=0;e<10;++e)i.push(n.readByte());return i})(),this.charRange=(function(){var e,i;for(i=[],e=0;e<4;++e)i.push(n.readInt());return i})(),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,i;for(i=[],e=0;e<2;e=++e)i.push(n.readInt());return i})(),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})(),Z5=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ui(t,Ai),t.prototype.tag="post",t.prototype.parse=function(n){var e,i,r;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(i=n.readUInt16(),this.glyphNameIndex=[],o=0;0<=i?o<i:o>i;o=0<=i?++o:--o)this.glyphNameIndex.push(n.readUInt16());for(this.names=[],r=[];n.pos<this.offset+this.length;)e=n.readByte(),r.push(this.names.push(n.readString(e)));return r;case 151552:return i=n.readUInt16(),this.offsets=n.read(i);case 262144:return this.map=function(){var f,l,c;for(c=[],o=f=0,l=this.file.maxp.numGlyphs;0<=l?f<l:f>l;o=0<=l?++f:--f)c.push(n.readUInt32());return c}.call(this)}},t})(),$5=function(t,n){this.raw=t,this.length=t.length,this.platformID=n.platformID,this.encodingID=n.encodingID,this.languageID=n.languageID},Y5=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ui(t,Ai),t.prototype.tag="name",t.prototype.parse=function(n){var e,i,r,o,f,l,c,d,g,_,A;for(n.pos=this.offset,n.readShort(),e=n.readShort(),l=n.readShort(),i=[],o=0;0<=e?o<e:o>e;o=0<=e?++o:--o)i.push({platformID:n.readShort(),encodingID:n.readShort(),languageID:n.readShort(),nameID:n.readShort(),length:n.readShort(),offset:this.offset+l+n.readShort()});for(c={},o=g=0,_=i.length;g<_;o=++g)r=i[o],n.pos=r.offset,d=n.readString(r.length),f=new $5(d,r),c[A=r.nameID]==null&&(c[A]=[]),c[r.nameID].push(f);this.strings=c,this.copyright=c[0],this.fontFamily=c[1],this.fontSubfam
77ily=c[2],this.uniqueSubfamily=c[3],this.fontName=c[4],this.version=c[5];try{this.postscriptName=c[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=c[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=c[7],this.manufacturer=c[8],this.designer=c[9],this.description=c[10],this.vendorUrl=c[11],this.designerUrl=c[12],this.license=c[13],this.licenseUrl=c[14],this.preferredFamily=c[15],this.preferredSubfamily=c[17],this.compatibleFull=c[18],this.sampleText=c[19]},t})(),X5=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ui(t,Ai),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})(),K5=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ui(t,Ai),t.prototype.tag="hmtx",t.prototype.parse=function(n){var e,i,r,o,f,l,c;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(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=(function(){var d,g;for(g=[],e=d=0;0<=r?d<r:d>r;e=0<=r?++d:--d)g.push(n.readInt16());return g})(),this.widths=function(){var d,g,_,A;for(A=[],d=0,g=(_=this.metrics).length;d<g;d++)o=_[d],A.push(o.advance);return A}.call(this),i=this.widths[this.widths.length-1],c=[],e=f=0;0<=r?f<r:f>r;e=0<=r?++f:--f)c.push(this.widths.push(i));return c},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})(),p0=[].slice,J5=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ui(t,Ai),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(n){var e,i,r,o,f,l,c,d,g,_;return n in this.cache?this.cache[n]:(o=this.file.loca,e=this.file.contents,i=o.indexOf(n),(r=o.lengthOf(n))===0?this.cache[n]=null:(e.pos=this.offset+i,f=(l=new Pr(e.read(r))).readShort(),d=l.readShort(),_=l.readShort(),c=l.readShort(),g=l.readShort(),this.cache[n]=f===-1?new tg(l,d,_,c,g):new Q5(l,f,d,_,c,g),this.cache[n]))},t.prototype.encode=function(n,e,i){var r,o,f,l,c;for(f=[],o=[],l=0,c=e.length;l<c;l++)r=n[e[l]],o.push(f.length),r&&(f=f.concat(r.encode(i)));return o.push(f.length),{table:f,offsets:o}},t})(),Q5=(function(){function t(n,e,i,r,o,f){this.raw=n,this.numberOfContours=e,this.xMin=i,this.yMin=r,this.xMax=o,this.yMax=f,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t})(),tg=(function(){function t(n,e,i,r,o){var f,l;for(this.raw=n,this.xMin=e,this.yMin=i,this.xMax=r,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],f=this.raw;l=f.readShort(),this.glyphOffsets.push(f.pos),this.glyphIDs.push(f.readUInt16()),32&l;)f.pos+=1&l?4:2,128&l?f.pos+=8:64&l?f.pos+=4:8&l&&(f.pos+=2)}return t.prototype.encode=function(){var n,e,i;for(e=new Pr(p0.call(this.raw.data)),n=0,i=this.glyphIDs.length;n<i;++n)e.pos=this.glyphOffsets[n];return e.data},t})(),eg=(function(){function t(){return t.__super__.constructor.apply(this,arguments)}return Ui(t,Ai),t.prototype.tag="loca",t.prototype.parse=function(n){var e,i;return n.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=e===0?function(){var r,o;for(o=[],i=0,r=this.length;i<r;i+=2)o.push(2*n.readUInt16());return o}.call(this):function(){var r,o;for(o=[],i=0,r=this.length;i<r;i+=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 i=new Uint32Array(this.offsets.length),r=0,o=0,f=0;f<i.length;++f)if(i[f]=r,o<e.length&&e[o]==f){++o,i[f]=r;var l=this.offsets[f],c=this.offsets[f+1]-l;c>0&&(r+=c)}for(var d=new Array(4*i.length),g=0;g<i.length;++g)d[4*g+3]=255&i[g],d[4*g+2]=(65280&i[g])>>8,d[4*g+1]=(16711680&i[g])>>16,d[4*g]=(4278190080&i[g])>>24;return d},t})(),ng=(function(){function t(n){this.font=n,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var n,e,i,r,o;for(e in r=this.font.cmap.tables[0].codeMap,n={},o=this.subset)i=o[e],n[e]=r[i];return n},t.prototype.glyphsFor=function(n){var e,i,r,o,f,l,c;for(r={},f=0,l=n.length;f<l;f++)r[o=n[f]]=this.font.glyf.glyphFor(o);for(o in e=[],r)(i=r[o])!=null&&i.compound&&e.push.apply(e,i.glyphIDs);if(e.length>0)for(o in c=this.glyphsFor(e))i=c[o],r[o]=i;return r},t.prototype.encode=function(n,e){var i,r,o,f,l,c,d,g,_,A,p,E,I,O,k;for(r in i=d0.encode(this.generateCmap(),"unicode"),f=this.glyphsFor(n),p={0:0},k=i.charMap)p[(c=k[r]).old]=c.new;for(E in A=i.maxGlyphID,f)E in p||(p[E]=A++);return g=(function(G){var V,z;for(V in z={},G)z[G[V]]=V;return z})(p),_=Object.keys(g).sort(function(G,V){return G-V}),I=(function(){var G,V,z;for(z=[],G=0,V=_.length;G<V;G++)l=_[G],z.push(g[l]);return z})(),o=this.font.glyf.encode(f,I,p),d=this.font.loca.encode(o.offsets,I),O={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&&(O["OS/2"]=this.font.os2.raw()),this.font.directory.encode(O)},t})();jt.API.PDFObject=(function(){var t;function n(){}return t=function(e,i){return(Array(i+1).join("0")+e).slice(-i)},n.convert=function(e){var i,r,o,f;if(Array.isArray(e))return"["+(function(){var l,c,d;for(d=[],l=0,c=e.length;l<c;l++)i=e[l],d.push(n.convert(i));return d})().join(" ")+"]";if(typeof e=="string")return"/"+e;if(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(r in o=["<<"],e)f=e[r],o.push("/"+r+" "+n.convert(f));return o.push(">>"),o.join(` 78`)}return""+e},n})();var g0=a2(o2());var m0=(()=>{class t{constructor(){this.format="a4",this.unit="mm",this.styleKey="style",this.pngExt="JPEG",this.pngType="image/jpeg",this.portraitOrientation="p",this.timestamp=new Date}save(e,i,r){let o=e,f=o.getAttribute(this.styleKey),l=this.getStyleToExposeElement(i);o.setAttribute(this.styleKey,l),(0,g0.default)(o,{scale:1,logging:!1}).then(c=>{o.setAttribute(this.styleKey,f);let d=new jt(this.portraitOrientation,this.unit,this.format),g=c.toDataURL(this.pngExt),_=c.width*25.4/96,A=c.height*25.4/96;d.addImage(g,this.pngExt,10,10,_,A),setTimeout(function(){d.html(c,{callback:()=>{d.save(r+".pdf")},x:15,y:15})},2e3)})}getStyleToExposeElement(e){return"width: "+e.width+"; height: "+e.height+"; overflow-x: hidden; overflow-y: hidden"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=Cs({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var _l=(()=>{class t extends Af{constructor(){super()}query(e){if(e&&(this.allRows=e),this.allRows){if(this.currentPage===1)this.originalRows=this.allRows.slice(0,this.pageSize);else{let i=this.pageSize*(this.currentPage-1);this.originalRows=this.allRows.slice(i,i+this.pageSize)}this.setTotalRows(this.allRows.length)}}refresh(){this.query(this.allRows)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=Cs({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var v0={pageLoad:{"/billing-history":{pageName:"billing-history",eventIds:["ajaxPageLoad","myAccountDisplayed"],authenticationStatus:"Y"}},otherEvents:{}}
78;function cg(t,n){if(t&1&&(Yt(0,"li")(1,"div",15),Ae(2,"label",16),ue(3,"translate"),Xt(),Yt(4,"div",17),Ae(5,"span",18),ue(6,"formatPrice"),Xt()()),t&2){let e=n.$implicit,i=n.index;Tt(2),Ot("for","tax-amount"+i)("innerHTML",ye(3,4,"accountManagement.billing.taxes."+e.code)+" "+e.percentage+"%",Ve),Tt(3),Ot("id","tax-amount"+i)("innerHTML",ye(6,6,e.amount),Ve)}}function hg(t,n){if(t&1&&(nf(0),Ie(1,cg,7,8,"li",14),rf()),t&2){let e=He(2);Tt(),Ot("ngForOf",e.transactionDetails.charge.taxes)}}function fg(t,n){if(t&1&&(Yt(0,"div",2)(1,"div",3)(2,"ul",4)(3,"li"),Ae(4,"label",5),ue(5,"translate"),Ae(6,"strong",6),Xt(),Yt(7,"li"),Ae(8,"label",7),ue(9,"translate"),Ae(10,"span",8),Xt(),Yt(11,"li"),Ae(12,"label",9),ue(13,"translate"),Ae(14,"span",10),ue(15,"formatPrice"),Xt(),Ie(16,hg,2,1,"ng-container",11),Yt(17,"li"),Ae(18,"label",12),ue(19,"translate"),Ae(20,"strong",13),ue(21,"formatPrice"),Xt()()()()),t&2){let e=He();Tt(4),Ot("innerHTML",ye(5,9,"accountManagement.billing.history.transactionDetails.transactionNumber"),Ve),Tt(2),Ot("innerHTML",e.transactionDetails.transactionNumber,Ve),Tt(2),Ot("innerHTML",ye(9,11,"accountManagement.billing.history.transactionDetails.card"),Ve),Tt(2),Ot("innerHTML",(e.transactionDetails.cardType==="DIGITAL_WALLET"?e.transactionDetails.paymentMethodCd:e.transactionDetails.cardType)+(e.transactionDetails.cardNumber&&e.transactionDetails.cardNumber!=="XXXXXXXXXXXXXXXX"?" "+e.transactionDetails.cardNumber:""),Ve),Tt(2),Ot("innerHTML",ye(13,13,"accountManagement.billing.history.transactionDetails.productSubtotal"),Ve),Tt(2),Ot("innerHTML",ye(15,15,e.transactionDetails.charge.baseCharge.amount),Ve),Tt(2),Ot("ngIf",e.transactionDetails.charge==null||e.transactionDetails.charge.taxes==null?null:e.transactionDetails.charge.taxes.length),Tt(2),Ot("innerHTML",ye(19,17,"accountManagement.billing.history.transactionDetails.totalCost"),Ve),Tt(2),Ot("innerHTML",ye(21,19,e.transactionDetails.charge.total.amount),Ve)}}var b0=(()=>{class t{constructor(){this.confirmCancel=new rc,this.closeModal=new rc}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=Es({type:t,selectors:[["transaction-details-modal"]],inputs:{showModal:"showModal",transactionDetails:"transactionDetails"},outputs:{confirmCancel:"confirmCancel",closeModal:"closeModal"},standalone:!1,decls:2,vars:8,consts:[[1,"transaction-details-modal","efx-modal-lg",3,"showChange","onHide","show","isSmall","showSubmit","showCancel","showClose","fadeIn","showFooter"],["class","efx-card efx-card--gray",4,"ngIf"],[1,"efx-card","efx-card--gray"],[1,"efx-card_body"],[1,"list-transaction-details"],["for","transactionNumber",3,"innerHTML"],["id","transactionNumber",3,"innerHTML"],["for","card",3,"innerHTML"],["id","card",3,"innerHTML"],["for","productSubtotal",3,"innerHTML"],["id","productSubtotal",3,"innerHTML"],[4,"ngIf"],["for","totalCost",3,"innerHTML"],["id","totalCost",3,"innerHTML"],[4,"ngFor","ngForOf"],[1,"tax-amount-text"],[1,"tax-code","mb-0",3,"for","innerHTML"],[1,"tax-amount"],[1,"mb-0",3,"id","innerHTML"]],template:function(i,r){i&1&&(Yt(0,"efx-modal",0),Fs("showChange",function(f){return Ts(r.showModal,f)||(r.showModal=f),f}),xr("onHide",function(){return r.closeModal.emit()}),Ie(1,fg,22,21,"div",1),Xt()),i&2&&(Ms("show",r.showModal),Ot("isSmall",!1)("showSubmit",!1)("showCancel",!1)("showClose",!0)("fadeIn",!0)("showFooter",!1),Tt(),Ot("ngIf",r.transactionDetails))},dependencies:[Bs,Os,Rs,Ds,zs],styles:[".list-transaction-details[_ngcontent-%COMP%] li[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:.5rem}.list-transaction-details[_ngcontent-%COMP%] li[_ngcontent-%COMP%] label[_ngcontent-%COMP%]{margin-bottom:0}.list-transaction-details[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:first-child{padding:1rem 0}.list-transaction-details[_ngcontent-%COMP%] li[_ngcontent-%COMP%] ~ li[_ngcontent-%COMP%]{border-top:1px solid #d9dfe3}.list-transaction-details[_ngcontent-%COMP%] li[_ngcontent-%COMP%]:last-child{border-bottom:1px solid #d9dfe3}"]})}}return t})();var dg=()=>({tabIndex:3}),w0=t=>({subscriptionType:t});function pg(t,n){t&1&&(Yt(0,"a",18),gn(1),ue(2,"translate"),Xt()),t&2&&(Ot("queryParams",cf(4,dg)),Tt(),wi(" ",ye(2,2,"accountManagement.billing.history.billingAccountLink")," "))}function gg(t,n){if(t&1&&(Yt(0,"div",19)(1,"div",20)(2,"b"),gn(3),ue(4,"formatPrice"),Xt(),gn(5),ue(6,"translate"),Xt(),Yt(7,"div",21),Ae(8,"p",22),ue(9,"translate"),ue(10,"lowercase"),ue(11,"translate"),Ae(12,"span",23),ue(13,"translate"),Xt(),Yt(14,"div",24)(15,"span"),Ae(16,"p",22),ue(17,"translate"),ue(18,"lowercase"),ue(19,"translate"),Xt()()()),t&2){let e=He(2);Tt(3),wi("",ye(4,6,e.billSummary.totalDue.amount)," "),Tt(2),oc(" ",ye(6,8,"messageCenter.reader.on")," ",e.getFormatDate(e.nextPaymentDate)," "),Tt(3),Ot("innerHTML",Ta(11,14,"accountManagement.billing.history.thirdMessage",sc(26,w0,ye(10,12,ye(9,10,e.subscibeType)))),Ve),Tt(4),Ot("innerHTML",ye(13,17,"products."+e.productC
78ode),Ve),Tt(4),Ot("innerHTML",Ta(19,23,"accountManagement.billing.history.fourthMessage",sc(28,w0,ye(18,21,ye(17,19,e.subscibeType)))),Ve)}}function mg(t,n){if(t&1&&(Yt(0,"div",39)(1,"div",40),Ae(2,"span",41),ue(3,"formatPrice"),Xt()()),t&2){let e=He().row;Tt(2),Ot("innerHTML",ye(3,1,e.amount),Ve)}}function vg(t,n){if(t&1&&Ie(0,mg,4,3,"div",38),t&2){let e=n.row;Ot("ngIf",e.amount)}}function bg(t,n){if(t&1&&(Yt(0,"div",39)(1,"div",40),Ae(2,"span",41),ue(3,"formatPrice"),Xt()()),t&2){let e=He().row;Tt(2),Ot("innerHTML",ye(3,1,e.hst.amount),Ve)}}function wg(t,n){if(t&1&&Ie(0,bg,4,3,"div",38),t&2){let e=n.row;Ot("ngIf",e.hst)}}function yg(t,n){if(t&1&&(Yt(0,"div",39)(1,"div",40),Ae(2,"span",41),ue(3,"formatPrice"),Xt()()),t&2){let e=He().row;Tt(2),Ot("innerHTML",ye(3,1,e.qst.amount),Ve)}}function _g(t,n){if(t&1&&Ie(0,yg,4,3,"div",38),t&2){let e=n.row;Ot("ngIf",e.qst)}}function xg(t,n){if(t&1&&(Yt(0,"div",39)(1,"div",40),Ae(2,"span",41),ue(3,"formatPrice"),Xt()()),t&2){let e=He().row;Tt(2),Ot("innerHTML",ye(3,1,e.gst.amount),Ve)}}function Ag(t,n){if(t&1&&Ie(0,xg,4,3,"div",38),t&2){let e=n.row;Ot("ngIf",e.gst)}}function Lg(t,n){if(t&1&&(Yt(0,"div",39)(1,"div",40),Ae(2,"span",41),ue(3,"formatPrice"),Xt()()),t&2){let e=He().row;Tt(2),Ot("innerHTML",ye(3,1,e.pst.amount),Ve)}}function Ng(t,n){if(t&1&&Ie(0,Lg,4,3,"div",38),t&2){let e=n.row;Ot("ngIf",e.pst)}}function Sg(t,n){if(t&1&&(Yt(0,"div",39)(1,"div",40),Ae(2,"span",41),ue(3,"formatPrice"),Xt()()),t&2){let e=He().row;Tt(2),Ot("innerHTML",ye(3,1,e.amountPaid),Ve)}}function kg(t,n){if(t&1&&Ie(0,Sg,4,3,"div",38),t&2){let e=n.row;Ot("ngIf",e.amountPaid)}}function Cg(t,n){if(t&1&&(Yt(0,"div",39)(1,"div",40),Ae(2,"span",41),Xt()()),t&2){let e=He().row;Tt(2),Ot("innerHTML",(e.cardType==="DIGITAL_WALLET"?e.paymentMethodCd:e.cardType)+(e.cardNumber&&e.cardNumber!=="XXXXXXXXXXXXXXXX"?" "+e.cardNumber:""),Ve)}}function Pg(t,n){if(t&1&&Ie(0,Cg,3,1,"div",38),t&2){let e=n.row;Ot("ngIf",e.cardType)}}function Eg(t,n){if(t&1&&(Yt(0,"div",25)(1,"efx-grid",26),Ae(2,"efx-grid-column",27)(3,"efx-grid-column",28),Yt(4,"efx-grid-column",29),Ie(5,vg,1,1,"ng-template"),Xt(),Yt(6,"efx-grid-column",30),Ie(7,wg,1,1,"ng-template"),Xt(),Yt(8,"efx-grid-column",31),Ie(9,_g,1,1,"ng-template"),Xt(),Yt(10,"efx-grid-column",32),Ie(11,Ag,1,1,"ng-template"),Xt(),Yt(12,"efx-grid-column",33),Ie(13,Ng,1,1,"ng-template"),Xt(),Yt(14,"efx-grid-column",34),Ie(15,kg,1,1,"ng-template"),Xt(),Yt(16,"efx-grid-column",35),Ie(17,Pg,1,1,"ng-template"),Xt(),Ae(18,"efx-grid-column",36)(19,"efx-grid-column",37),Xt()()),t&2){let e=He(2);Tt(),Ot("service",e.collectionService)("autoCollapseResponsive",!0),Tt(5),Ot("dynamicHeader",e.getHstHeader)("showMobileCellCallback",e.showMobileCellCallbackHst),Tt(2),Ot("dynamicHeader",e.getQstHeader)("showMobileCellCallback",e.showMobileCellCallbackQst),Tt(2),Ot("dynamicHeader",e.getGstHeader)("showMobileCellCallback",e.showMobileCellCallbackGst),Tt(2),Ot("dynamicHeader",e.getPstHeader)("showMobileCellCallback",e.showMobileCellCallbackPst)}}function Ig(t,n){t&1&&(Yt(0,"span"),gn(1," - "),Xt())}function Mg(t,n){t&1&&(Ae(0,"span",53),ue(1,"translate")),t&2&&Ot("innerHTML",ye(1,1,"accountManagement.billing.refund"),Ve)}function Tg(t,n){if(t&1){let e=ac();Yt(0,"tr",47),xr("click",function(){let r=Ia(e).$implicit,o=He(4);return Ma(o.invoiceGenEnabled&&o.generateInvoice(r.paymentDetails))})("mouseenter",function(){Ia(e);let r=He(4);return Ma(r.invoiceGenEnabled&&r.showToolTip())})("mouseleave",function(){Ia(e);let r=He(4);return Ma(r.invoiceGenEnabled&&r.hideToolTip())}),Yt(1,"td",44),gn(2),ue(3,"date"),ue(4,"date"),Xt(),Yt(5,"td",44),gn(6),ue(7,"date"),Xt(),Yt(8,"td",48)(9,"div",49)(10,"span"),gn(11),ue(12,"formatPrice"),Xt(),Yt(13,"button",50),ue(14,"translate"),xr("click",function(){let r=Ia(e).$implicit,o=He(4);return Ma(o.showTransactionInfoModal(r.paymentDetails))}),Ae(15,"span",51),Xt()()(),Yt(16,"td",44),Ae(17,"span",22),ue(18,"translate"),Ie(19,Ig,2,0,"span",2)(20,Mg,2,3,"span",52),Xt()()}if(t&2){let e=n.$implicit,i=He(4);Ot("matTooltipDisabled",!i.invoiceGenEnabled),Tt(2),oc(" ",Ta(3,11,e.paymentDetails.startEffectiveDate,"yyyy/MM/dd")," - ",Ta(4,14,e.paymentDetails.endEffectiveDate,"yyyy/MM/dd")," "),Tt(4),wi(" ",Ta(7,17,e.paymentDetails.paidDate,"yyyy/MM/dd")," "),Tt(4),of("refund-amt-color",e.paymentDetails.itemCode==="REFUND"),Tt(),sf(ye(12,20,e.paymentDetails.charge.total.amount)),Tt(2),ef("aria-label",ye(14,22,"accountManagement.billing.history.billingInfoPopup")),Tt(4),Ot("innerHTML",ye(18,24,i.handlePaymentDescription(e.paymentDetails)),Ve),Tt(2),Ot("ngIf",e.paymentDetails.itemCode==="REFUND"),Tt(),Ot("ngIf",e.paymentDetails.itemCode==="REFUND")}}function Fg(t,n){if(t&1&&(Yt(0,"tbody"),Ie(1,Tg,21,26,"tr",46),Xt()),t&2){let e=He(3);Tt(),Ot("ngForOf",e.bills[e.page-1])}}function Bg(t,n){t&1&&Ae(0,"tbody")}function Og(t,n){if(t&1&&(Yt(0,"div",42)(1,"table",43)(2,"thead")(3,"tr")(4,"th",44),gn(5),ue(6,"translate"),Xt(),Yt(7,"th",44),gn(8),ue(9,"translate"),Xt(),Yt(10,"th",44),gn(11),ue(12,"translate"),Xt(),Yt(13,"th",44),gn(14),ue(15,"translate"),Xt()()(),Ie(16,Fg,2,1,"tbody",45)(17,Bg,1,0,"ng-template",null,0,hf),Xt()()),t&2){let e=af(18),i=He(2);Tt(5),wi(" ",ye(6,6,"accountManagement.billing.history.table.servicePeriodColumn")," "),Tt(3),wi(" ",ye(9,8,"accountManagement.billing.history.table.paid
78DateColumn")," "),Tt(3),wi(" ",ye(12,10,"accountManagement.billing.history.table.amountPaidColumn")," "),Tt(3),wi(" ",ye(15,12,"accountManagement.billing.history.table.productColumn")," "),Tt(2),Ot("ngIf",!i.isTotalBillsLengthZero())("ngIfElse",e)}}function Dg(t,n){t&1&&gn(0," < ")}function jg(t,n){t&1&&gn(0," > ")}function Rg(t,n){t&1&&gn(0,"...")}function zg(t,n){if(t&1){let e=ac();Yt(0,"ngb-pagination",54),Fs("pageChange",function(r){Ia(e);let o=He(2);return Ts(o.page,r)||(o.page=r),Ma(r)}),Ie(1,Dg,1,0,"ng-template",55)(2,jg,1,0,"ng-template",56)(3,Rg,1,0,"ng-template",57),Xt()}if(t&2){let e=He(2);Ot("collectionSize",e.totalBills.length),Ms("page",e.page),Ot("maxSize",5)("pageSize",e.displayBillLength)}}function Ug(t,n){if(t&1&&(Yt(0,"div"),Ie(1,pg,3,5,"a",9),Yt(2,"h1",10),gn(3),ue(4,"translate"),Xt(),Ae(5,"hr"),Yt(6,"h4",11),gn(7),ue(8,"translate"),Xt(),Yt(9,"div",12)(10,"div",13),Ie(11,gg,20,30,"div",14),Xt()(),Ie(12,Eg,20,10,"div",15),Ae(13,"br"),Ie(14,Og,19,14,"div",16)(15,zg,4,4,"ngb-pagination",17),Xt()),t&2){let e=He();Tt(),Ot("ngIf",!e.bannerEnabled),Tt(2),wi(" ",ye(4,7,"accountManagement.billing.history.firstMessage")," "),Tt(4),wi(" ",ye(8,9,"accountManagement.billing.history.secondMessage")," "),Tt(4),Ot("ngIf",e.showBillSummary),Tt(),Ot("ngIf",!e.isErrorResponse),Tt(2),Ot("ngIf",!e.isTotalBillsLengthZero()),Tt(),Ot("ngIf",e.totalBills.length>e.displayBillLength)}}function qg(t,n){t&1&&Ae(0,"mc-customer-care")}function Hg(t,n){if(t&1&&(Yt(0,"div"),gn(1),Xt()),t&2){let e=He(2);Tt(),wi(" ",e.errorHTTP404Message," ")}}function Wg(t,n){if(t&1&&(Yt(0,"div"),Ie(1,qg,1,0,"mc-customer-care",2)(2,Hg,2,1,"div",2),Xt()),t&2){let e=He();Tt(),Ot("ngIf",e.showCustomerCare),Tt(),Ot("ngIf",!e.showCustomerCare)}}var y0=(()=>{class t{constructor(e,i,r,o,f,l,c,d,g,_){this.efxMessageService=e,this.preferencesService=i,this.billingService=r,this.toggleService=o,this.html2PdfService=f,this.translateService=l,this.checkoutService=c,this.collectionService=d,this.analyticsService=g,this.router=_,this.destroy$=new Qh,this.invoiceGenEnabled=!1,this.bills=[],this.totalBills=[],this.billSpliceIndex=0,this.showBillHistory=!1,this.showBillEfxModal=!1,this.showTransactionDetailsModal=!1,this.invoiceInformation={title:"",firstNameLastName:"",currentAddress:"",paymentDetails:{billId:"",charge:{tax:""}}},this.page=1,this.showCustomerCare=!1,this.isErrorResponse=!1,this.isGeneralError=!1,this.fileNamePostfix="_myEquifaxInvoice",this.getHstHeader=(A,p)=>{if(p.hst){let E=p.hst;return`${this.translateHeader[E.code]} ${E.percentage}%`}return""},this.getQstHeader=(A,p)=>{if(p.qst){let E=p.qst;return`${this.translateHeader[E.code]} ${E.percentage}%`}return""},this.getGstHeader=(A,p)=>{if(p.gst){let E=p.gst;return`${this.translateHeader[E.code]} ${E.percentage}%`}return""},this.getPstHeader=(A,p)=>{if(p.pst){let E=p.pst;return`${this.translateHeader[E.code]} ${E.percentage}%`}return""}}ngOnInit(){this.productCode=this.checkoutService.getProductCodeOfActiveProduct(),this.displayBillLength=Rf.MAX_NUMBER_OF_BILLING_HISTORY_ENTRIES_FOR_PAGE,this.renderToolTip=!1,this.loading=!0,this.shouldPaginate=!1,this.bannerEnabled=!1,this.preferencesService.title.pipe(_r(this.destroy$)).subscribe(e=>{this.invoiceInformation.title=e}),this.preferencesService.firstNameLastName.pipe(_r(this.destroy$)).subscribe(e=>{this.invoiceInformation.firstNameLastName=e}),this.preferencesService.currentAddress.pipe(_r(this.destroy$)).subscribe(e=>{this.invoiceInformation.currentAddress=e}),this.billingService.getBillingHistory({quoteFlag:!1}).pipe(_r(this.destroy$)).subscribe({next:this.setBillHistory.bind(this),error:this.displayErrorResponse.bind(this)}),this.billingService.getBillingHistory({quoteFlag:!0}).pipe(_r(this.destroy$)).subscribe({next:this.setBillSummary.bind(this),error:this.displayBillSummaryErrorResponse.bind(this)}),this.onLangChange(),this.getCodeTaxes(),this.firePageLoadAnalyticsEvent()}ngOnDestroy(){this.renderToolTip=!1,this.showBillEfxModal=!1,this.destroy$.next(void 0),this.destroy$.complete()}firePageLoadAnalyticsEvent(){this.analyticsService.pageLoadRouteEvent(this.router.url)}setupCollection(){this.collectionService=new _l,this.collectionService.query(this.formatPaymentHistoryData(this.billingHistoryDetails))}setBillHistory(e){this.billingHistoryDetails=e.bills.map(i=>
78i.paymentDetails),this.totalBills=e.bills,this.transformRefundBills(),this.setTaxColumn(),this.displayBillHistory(),this.loading=!1,this.showBillHistory=!0,this.setupCollection()}setTaxColumn(){this.totalBills.length<1||(this.totalBills[0].paymentDetails.charge.tax?.amount?this.isVATColumnVisible=!0:this.isVATColumnVisible=!1)}transformRefundBills(){this.totalBills.filter(e=>e.paymentDetails.itemCode==="REFUND").forEach(e=>{e.paymentDetails.charge.baseCharge.amount=Math.abs(e.paymentDetails.charge.baseCharge.amount),e.paymentDetails.charge.tax?.amount&&(e.paymentDetails.charge.tax.amount=Math.abs(e.paymentDetails.charge.tax.amount)),e.paymentDetails.charge.total.amount=Math.abs(e.paymentDetails.charge.total.amount),e.paymentDetails.description=e.paymentDetails.description.toLowerCase().replace("refund","")})}setBillSummary(e){e.bills?.[0].events?(this.showBillSummary=!0,this.billSummary=e.bills[0].billSummary,this.eventSummary=e.bills[0].events[0],this.nextPaymentDate=this.eventSummary.startDate,this.productName=this.eventSummary.description,this.subscibeType=Tf(this.eventSummary.type)):this.showBillSummary=!1}displayBillSummaryErrorResponse(e){e.status===404?this.showBillSummary=!1:(this.showCustomerCare=!0,this.isErrorResponse=!0),this.loading=!1}displayErrorResponse(e){if(e.status===404){this.bannerEnabled=!0;let i={primaryMessage:{translation:"messages.noBillingHistory"},secondaryMessage:{translation:"messages.myAccountGoBack"}};this.efxMessageService.showMessage("error",i)}else this.isErrorResponse=!0,this.showCustomerCare=!0;this.loading=!1}sliceBill(e,i){return e.length?[e.slice(0,i)].concat(this.sliceBill(e.slice(i),i)):[]}displayBillHistory(){let e=Object.assign([],this.totalBills),i=this.sortBillsHistoryByPaidDate(e);this.bills=this.sliceBill(i,this.displayBillLength)}isTotalBillsLengthZero(){return this.totalBills.length<=0}sortBillsHistoryByPaidDate(e){return e.sort((i,r)=>new Date(r.paymentDetails.paidDate)-new Date(i.paymentDetails.paidDate))}generateInvoice(e){this.buildInvoiceInformation(e),this.showBillEfxModal=!0}showTransactionInfoModal(e){this.showTransactionDetailsModal=!0,this.transactionDetailsInfo=e}onTransactionDetailsModalClose(){this.showTransactionDetailsModal=!1}getCodeTaxes(){this.translateService.get("accountManagement.billing.taxes").pipe(_r(this.destroy$)).subscribe(e=>{this.translateHeader=e})}download(){this.loading=!0;let e=document.getElementById("invoice-box");this.html2PdfService.save(e,{width:"732px",height:"850px"},this.createFilename()),this.loading=!1,this.showBillEfxModal=!1}showToolTip(){this.renderToolTip=!0}hideToolTip(){this.renderToolTip=!1}resetModalValue(){this.showBillEfxModal=!1}buildInvoiceInformation(e){this.invoiceInformation.paymentDetails=e}createFilename(){return this.invoiceInformation.paymentDetails.billId+this.fileNamePostfix}getFormatDate(e){let i=this.translateService.currentLang;return jf(e,i)}
78showMobileCellCallbackHst(e){return!!e.hst}showMobileCellCallbackQst(e){return!!e.qst}showMobileCellCallbackGst(e){return!!e.gst}showMobileCellCallbackPst(e){return!!e.pst}formatPaymentHistoryData(e){return e.map(i=>{let r=i.charge.taxes.filter(A=>A.code==="HST")[0],o=i.charge.taxes.filter(A=>A.code==="QST")[0],f=i.charge.taxes.filter(A=>A.code==="PST")[0],l=i.charge.taxes.filter(A=>A.code==="GST")[0],c=i.dueDate,d=i.paidDate,g=this.formatServicePeriod(i);return Jh(ic({},i),{servicePeriod:g,dueDate:c,hst:r,qst:o,gst:l,pst:f,paidDate:d,amount:i.charge.baseCharge.amount,amountPaid:i.charge.total.amount,vatColumn:i.charge.tax.amount})}).sort((i,r)=>new Date(r.dueDate).getTime()-new Date(i.dueDate).getTime()||new Date(r.paidDate).getTime()-new Date(i.paidDate).getTime())}formatServicePeriod(e){if(e&&e.startEffectiveDate){let i=e.startEffectiveDate,r=e.endEffectiveDate;return`${i} - ${r}`}return""}handlePaymentDescription(e){let{description:i}=e||{},r=e?.charge?.productCode;if(i==={REFUND:"Issued - Refund (Refund)"}.REFUND)return"accountManagement.billing.issuedRefund";if(r){let f=r?.split("_"),l=f[0],c=f[1],d=this.translateService.instant("products."+l?.toUpperCase()),g=this.translateService.instant(c?.toLowerCase()+"Payment"),_=d+" - "+g;if(c)return _}else return i}onLangChange(){this.translateService.onLangChange.pipe(_r(this.destroy$)).subscribe(()=>{this.getCodeTaxes()})}static{this.\u0275fac=function(i){return new(i||t)(bi(wf),bi(Cf),bi(Df),bi(yf),bi(m0),bi(mf),bi(Ff),bi(_l),bi(js),bi(pf))}}static{this.\u0275cmp=Es({type:t,selectors:[["billing-history"]],standalone:!1,features:[lf([{provide:js,useFactory:bf.bind({config:v0}),deps:[tf]}])],decls:10,vars:9,consts:[["emptyBillGrid",""],[3,"shouldShow","fullScreen"],[4,"ngIf"],["title","Your Equifax Invoice",1,"align-center","efx-modal-xl",3,"onHide","show","showFooter"],[3,"values"],[1,"row"],[1,"col-md-12","efx-l-margin-small--top"],["translate","",1,"efx-button-primary",3,"click"],[3,"closeModal","showModal","transactionDetails"],["id","back-to-billing","routerLink","/myAccount",3,"queryParams",4,"ngIf"],["id","payment-history-title"],["id","payment-history-billing-payment-title"],[1,"efx-card","efx-l-margin-medium--top"],[1,"efx-card_body"],["class","billSummaryDetails",4,"ngIf"],["class","efx-grid-mobile",4,"ngIf"],["class","table-responsive bill-history-table",4,"ngIf"],["id","payment-history-pager","class","page-link-new",3,"collectionSize","page","maxSize","pageSize","pageChange",4,"ngIf"],["id","back-to-billing","routerLink","/myAccount",3,"queryParams"],[1,"billSummaryDetails"],["id","next-payment-date-and-price"],[1,"product-subscription"],[3,"innerHTML"],[1,"product-name",3,"innerHTML"],[1,"product-tax-details"],[1,"efx-grid-mobile"],["caption","accountManagement.billing.history.table.caption",3,"service","autoCollapseResponsive"],["field","servicePeriod","header","accountManagement.billing.history.table.servicePeriodColumn","width","12.5","isVisible","true","isRowHeader","true","primaryColumn","true"],["field","paidDate","header","accountManagement.billing.history.table.paidDateColumn","width","10","isVisible","true"],["field","amount","header","accountManagement.billing.history.table.productSubtotalColumn","width","10","isVisible","true"],["field","hst","width","20","isVisible","true",3,"dynamicHeader","showMobileCellCallback"],["field","qst","width","20","isVisible","true",3,"dynamicHeader","showMobileCellCallback"],["field","gst","width","20","isVisible","true",3,"dynamicHeader","showMobileCellCallback"],["field","pst","width","20","isVisible","true",3,"dynamicHeader","showMobileCellCallback"],["field","amountPaid","header","accountManagement.billing.history.table.amountPaidColumn","width","10","isVisible","true","primaryColumn","true"],["field","cardType","header","accountManagement.billing.history.table.cardColumn","width","10","isVisible","true"],["field","transactionNumber","header","accountManagement.billing.history.table.transactionColumn","width","10","isVisible","true"],["field","description","header","accountManagement.billing.history.table.productC
78olumn","width","27.5","isVisible","false"],["class","efx-grid-row-expand-custom-row",4,"ngIf"],[1,"efx-grid-row-expand-custom-row"],[1,"efx-grid-row-expand-custom-value"],[1,"mb-0",3,"innerHTML"],[1,"table-responsive","bill-history-table"],["id","payment-history-table",1,"efx-table-styled--compact","w-100"],[1,"efx-type--center"],[4,"ngIf","ngIfElse"],["class","efx-type-link billing-history-entry-rows","matTooltipClass","efx-tooltip--top","matTooltipPosition","below","matTooltip","Please click on the row to generate an invoice",3,"matTooltipDisabled","click","mouseenter","mouseleave",4,"ngFor","ngForOf"],["matTooltipClass","efx-tooltip--top","matTooltipPosition","below","matTooltip","Please click on the row to generate an invoice",1,"efx-type-link","billing-history-entry-rows",3,"click","mouseenter","mouseleave","matTooltipDisabled"],[1,"efx-type--center","word-non-breaker"],[1,"d-flex","align-items-center","justify-content-center"],["type","button","id","info-popup",1,"efx-button-link","d-flex",3,"click"],[1,"popup-icon","help-popup-svg"],["class","refund-amt-color",3,"innerHTML",4,"ngIf"],[1,"refund-amt-color",3,"innerHTML"],["id","payment-history-pager",1,"page-link-new",3,"pageChange","collectionSize","page","maxSize","pageSize"],["ngbPaginationPrevious",""],["ngbPaginationNext",""],["ngbPaginationEllipsis",""]],template:function(i,r){i&1&&(Ae(0,"mc-spinner-2",1),Ie(1,Ug,16,11,"div",2)(2,Wg,3,2,"div",2),Yt(3,"efx-modal",3),xr("onHide",function(){return r.resetModalValue()}),Ae(4,"billing-invoice-template",4),Yt(5,"div",5)(6,"div",6)(7,"button",7),xr("click",function(){return r.download()}),gn(8,"accountManagement.billing.invoice.download"),Xt()()()(),Yt(9,"transaction-details-modal",8),xr("closeModal",function(){return r.onTransactionDetailsModalClose()}),Xt()),i&2&&(Ot("shouldShow",r.loading)("fullScreen",!0),Tt(),Ot("ngIf",!r.isErrorResponse&&!r.loading),Tt(),Ot("ngIf",r.isErrorResponse),Tt(),Ot("show",r.showBillEfxModal)("showFooter",!1),Tt(),Ot("values",r.invoiceInformation),Tt(5),Ot("showModal",r.showTransactionDetailsModal)("transactionDetails",r.transactionDetailsInfo))},dependencies:[Bs,Os,vf,gf,Rs,Nf,Lf,Bf,xf,Mf,Pf,Ef,If,Of,Sf,b0,ff,uf,Ds,zs],styles:['.bill-history-table[_ngcontent-%COMP%]{min-height:480px}.efx-type-link[_ngcontent-%COMP%]{z-index:100}.word-non-breaker[_ngcontent-%COMP%]{padding:20px 10px!important}.billing-history-entry-rows[_ngcontent-%COMP%]:hover{cursor:pointer;background-color:#0e0d0d34}.product-subscription[_ngcontent-%COMP%]{display:inline-block;width:100%;font-size:14px}.product-tax-details[_ngcontent-%COMP%]{margin-top:1rem;font-size:14px}.refund-amt-color[_ngcontent-%COMP%]{color:#5dd345}.refund-amt-color[_ngcontent-%COMP%]:before{content:"("}.refund-amt-color[_ngcontent-%COMP%]:after{content:")"}.product-name[_ngcontent-%COMP%]{display:list-item;margin-left:2.5rem}.help-popup-svg[_ngcontent-%COMP%]{background-image:url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4NCjxzdmcgaWQ9ImVmeC1pY29uLS1oZWxwIiB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiB2aWV3Qm94PSIwIDAgMjAgMjAiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+DQoJPHBhdGggZmlsbD0iIzAwNzZhMyIgZD0iTTEwIDBjLTUuNTIzIDAtMTAgNC40NzctMTAgMTBzNC40NzcgMTAgMTAgMTBjNS41MjMgMCAxMC00LjQ3NyAxMC0xMCAwLTIuNjUyLTEuMDU0LTUuMTk2LTIuOTI5LTcuMDcxcy00LjQxOS0yLjkyOS03LjA3MS0yLjkyOXpNMTAuNzU2IDEzLjk3NmMwLjAwNCAwLjY0Mi0wLjM1NiAxLjAyNC0wLjk4NiAxLjAyNHMtMS4wNTAtMC4zNjgtMS4wNTItMC45MDZjMC0wLjc0NiAwLjMzNC0xLjExOCAxLTEuMTM4IDAuNTQyLTAuMDE2IDEuMTA2IDAuMzE2IDEuMDM4IDEuMDIwek0xMi4xNTYgOS4zNmMtMC4yODQgMC4yMi0wLjU4MiAwLjQyLTAuODY4IDAuNjM2LTAuNDIyIDAuMjc2LTAuNjY0IDAuNzU3LTAuNjM2IDEuMjYgMC4wMTUgMC4zNjctMC4yMjMgMC42OTctMC41NzYgMC44LTAuMzc2IDAuMTQ1LTAuODAyIDAuMDE3LTEuMDM2LTAuMzEtMC4wNzUtMC4xMjUtMC4xMTUtMC4yNjgtMC4xMTgtMC40MTQtMC4wMjktMC45MTggMC4zOTctMS43OSAxLjEzOC0yLjMzMiAwLjMyMS0wLjI0NCAwLjYyNC0wLjUxMiAwLjkwNi0wLjggMC4xMzUtMC4xNTggMC4yMTYtMC4zNTUgMC4yMzQtMC41NjIgMC4wNDYtMC41NjYtMC4zMTgtMC45My0wLjkwNC0wLjk2OC0wLjcwOC0wLjA0Ni0xLjMwNCAwLjEzOC0xLjcxOCAwLjc2NC0wLjE3OCAwLjMwMi0wLjUyNSAwLjQ2Mi0wLjg3IDAuNC0wLjYtMC4xLTAuODU4LTAuNTg4LTAuNjEyLT
78EuMTUgMC4yNTgtMC41NDggMC43LTAuOTg3IDEuMjUtMS4yNCAwLjU2NS0wLjI3OCAxLjE4My0wLjQyOSAxLjgxMi0wLjQ0NCAwLjM1NiAwLjAzNyAwLjcwOSAwLjA5NSAxLjA1OCAwLjE3NCAxLjA2NiAwLjMwMiAxLjcgMS4xNTQgMS43OCAyLjI4NiAwLjA3OSAwLjczOC0wLjI0MiAxLjQ2Mi0wLjg0MiAxLjloMC4wMDJ6Ij48L3BhdGg+DQo8L3N2Zz4NCg==);height:1.1em;width:1.1em;display:inline-block}.popup-icon[_ngcontent-%COMP%]{margin:-2px 7px -2px 0}.efx-grid-mobile[_ngcontent-%COMP%]{display:block}@media(min-width:768px){.efx-grid-mobile[_ngcontent-%COMP%]{display:none}}.bill-history-table[_ngcontent-%COMP%]{display:none}@media(min-width:768px){.bill-history-table[_ngcontent-%COMP%]{margin-bottom:10px;display:block}} .efx-grid-row-expand-button i{color:#e60333} .efx-grid-row-expand-button.active i{color:#e60333}']})}}return t})();var Gg=[{path:"",component:y0}],_0=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Is({type:t})}static{this.\u0275inj=Ps({imports:[lc.forChild(Gg),lc]})}}return t})();var o3=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=Is({type:t})}static{this.\u0275inj=Ps({imports:[df,cc,kf,_0,_f,cc]})}}return t})();export{o3 as BillingHistoryModule};
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.