PageSourceSearch

https://app.farmportal.eu/projects_farm-portal_src_app_modules_toolbox_toolbox_module_ts.05b7a9b804165d82.js

js farmportal.eu collected 2026-09-26 02:30:01 UTC 453,468 bytes, 2 lines download raw bytes

vendor: 3,041 bytes, line 1
1var bg=Object.defineProperty,wg=(Le,ot,Q)=>ot in Le?bg(Le,ot,{enumerable:!0,configurable:!0,writable:!0,value:Q}):Le[ot]=Q,Je=(Le,ot,Q)=>(wg(Le,"symbol"!=typeof ot?ot+"":ot,Q),Q);(self.webpackChunkfarm_portal=self.webpackChunkfarm_portal||[]).push([["projects_farm-portal_src_app_modules_toolbox_toolbox_module_ts"],{48839:(Le,ot,Q)=>{"use strict";Q.r(ot),Q.d(ot,{ToolboxModule:()=>Bp});var W=Q(94666),X=Q(2508),$=Q(86266),rt=Q(13647),it=Q(64344),dt=Q(83539),ut=Q(43445),Mt=Uint8Array,Wt=Uint16Array,qt=Int32Array,It=new Mt([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]),Xt=new Mt([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]),_e=new Mt([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),_n=function(t,n){for(var e=new Wt(31),r=0;r<31;++r)e[r]=n+=1<<t[r-1];var i=new qt(e[30]);for(r=1;r<30;++r)for(var a=e[r];a<e[r+1];++a)i[a]=a-e[r]<<5|r;return{b:e,r:i}},xe=_n(It,2),be=xe.r;xe.b[28]=258,be[258]=28;for(var Un=_n(Xt,0).r,Qt=new Wt(32768),Ht=0;Ht<32768;++Ht){var ne=(43690&Ht)>>1|(21845&Ht)<<1;Qt[Ht]=((65280&(ne=(61680&(ne=(52428&ne)>>2|(13107&ne)<<2))>>4|(3855&ne)<<4))>>8|(255&ne)<<8)>>1}var Zt=function(t,n,e){for(var r=t.length,i=0,a=new Wt(n);i<r;++i)t[i]&&++a[t[i]-1];var s,h=new Wt(n);for(i=1;i<n;++i)h[i]=h[i-1]+a[i-1]<<1;if(e){s=new Wt(1<<n);var c=15-n;for(i=0;i<r;++i)if(t[i])for(var u=i<<4|t[i],g=n-t[i],v=h[t[i]-1]++<<g,y=v|(1<<g)-1;v<=y;++v)s[Qt[v]>>c]=u}else for(s=new Wt(r),i=0;i<r;++i)t[i]&&(s[i]=Qt[h[t[i]-1]++]>>15-t[i]);return s},ve=new Mt(288);for(Ht=0;Ht<144;++Ht)ve[Ht]=8;for(Ht=144;Ht<256;++Ht)ve[Ht]=9;for(Ht=256;Ht<280;++Ht)ve[Ht]=7;for(Ht=280;Ht<288;++Ht)ve[Ht]=8;var he=new Mt(32);for(Ht=0;Ht<32;++Ht)he[Ht]=5;var oe=Zt(ve,9,0),ke=Zt(he,5,0),fa=function(t){return(t+7)/8|0},cr=function(t,n,e){var r=n/8|0;t[r]|=e<<=7&n,t[r+1]|=e>>8},bi=function(t,n,e){var r=n/8|0;t[r]|=e<<=7&n,t[r+1]|=e>>8,t[r+2]|=e>>16},ur=function(t,n){for(var e=[],r=0;r<t.length;++r)t[r]&&e.push({s:r,f:t[r]});var i=e.length,a=e.slice();if(!i)return{t:Dl,l:0};if(1==i){var h=new Mt(e[0].s+1);return h[e[0].s]=1,{t:h,l:1}}e.sort(function(ct,_t){return ct.f-_t.f}),e.push({s:-1,f:25001});var s=e[0],c=e[1],u=0,g=1,v=2;for(e[0]={s:-1,f:s.f+c.f,l:s,r:c};g!=i-1;)s=e[e[u].f<e[v].f?u++:v++],c=e[u!=g&&e[u].f<e[v].f?u++:v++],e[g++]={s:-1,f:s.f+c.f,l:s,r:c};var y=a[0].s;for(r=1;r<i;++r)a[r].s>y&&(y=a[r].s);var p=new Wt(y+1),C=fr(e[g-1],p,0);if(C>n){r=0;var k=0,I=C-n,L=1<<I;for(a.sort(function(_t,gt){return p[gt.s]-p[_t.s]||_t.f-gt.f});r<i;++r){var q=a[r].s;if(!(p[q]>n))break;k+=L-(1<<C-p[q]),p[q]=n}for(k>>=I;k>0;){var z=a[r].s;p[z]<n?k-=1<<n-p[z]++-1:++r}for(;r>=0&&k;--r){var D=a[r].s;p[D]==n&&(--p[D],++k)}C=n}return{t:new Mt(p),l:C}},fr=function(t,n,e){return-1==t.s?Math.max(fr(t.l,n,e+1),fr(t.r,n,e+1)):n[t.s]=e},ti=function(t){for(var n=t.length;n&&!t[--n];);for(var e=new Wt(++n),r=0,i=t[0],a=1,h=function(c){e[r++]=c},s=1;s<=n;++s)if(t[s]==i&&s!=n)++a;else{if(!i&&a>2){for(;a>138;a-=138)h(32754);a>2&&(h(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(h(i),--a;a>6;a-=6)h(8304);a>
vendor: 10,844 bytes, line 1
12&&(h(a-3<<5|8208),a=0)}for(;a--;)h(i);a=1,i=t[s]}return{c:e.subarray(0,r),n}},ei=function(t,n){for(var e=0,r=0;r<n.length;++r)e+=t[r]*n[r];return e},Ol=function(t,n,e){var r=e.length,i=fa(n+2);t[i]=255&r,t[i+1]=r>>8,t[i+2]=255^t[i],t[i+3]=255^t[i+1];for(var a=0;a<r;++a)t[i+a+4]=e[a];return 8*(i+4+r)},Ml=function(t,n,e,r,i,a,h,s,c,u,g){cr(n,g++,e),++i[256];for(var v=ur(i,15),y=v.t,p=v.l,C=ur(a,15),k=C.t,I=C.l,L=ti(y),q=L.c,z=L.n,D=ti(k),ct=D.c,_t=D.n,gt=new Wt(19),Y=0;Y<q.length;++Y)++gt[31&q[Y]];for(Y=0;Y<ct.length;++Y)++gt[31&ct[Y]];for(var R=ur(gt,7),et=R.t,N=R.l,E=19;E>4&&!et[_e[E-1]];--E);var pt,vt,lt,wt,Z=u+5<<3,U=ei(i,ve)+ei(a,he)+h,ft=ei(i,y)+ei(a,k)+h+14+3*E+ei(gt,et)+2*gt[16]+3*gt[17]+7*gt[18];if(c>=0&&Z<=U&&Z<=ft)return Ol(n,g,t.subarray(c,c+u));if(cr(n,g,1+(ft<U)),g+=2,ft<U){pt=Zt(y,p,0),vt=y,lt=Zt(k,I,0),wt=k;var Ot=Zt(et,N,0);for(cr(n,g,z-257),cr(n,g+5,_t-1),cr(n,g+10,E-4),g+=14,Y=0;Y<E;++Y)cr(n,g+3*Y,et[_e[Y]]);g+=3*E;for(var kt=[q,ct],A=0;A<2;++A){var M=kt[A];for(Y=0;Y<M.length;++Y)cr(n,g,Ot[j=31&M[Y]]),g+=et[j],j>15&&(cr(n,g,M[Y]>>5&127),g+=M[Y]>>12)}}else pt=oe,vt=ve,lt=ke,wt=he;for(Y=0;Y<s;++Y){var G=r[Y];if(G>255){var j;bi(n,g,pt[257+(j=G>>18&31)]),g+=vt[j+257],j>7&&(cr(n,g,G>>23&31),g+=It[j]);var J=31&G;bi(n,g,lt[J]),g+=wt[J],J>3&&(bi(n,g,G>>5&8191),g+=Xt[J])}else bi(n,g,pt[G]),g+=vt[G]}return bi(n,g,pt[256]),g+vt[256]},yc=new qt([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Dl=new Mt(0),_c=function(t,n,e,r,i,a){var h=a.z||t.length,s=new Mt(r+h+5*(1+Math.ceil(h/7e3))+i),c=s.subarray(r,s.length-i),u=a.l,g=7&(a.r||0);if(n){g&&(c[0]=a.r>>3);for(var v=yc[n-1],y=v>>13,p=8191&v,C=(1<<e)-1,k=a.p||new Wt(32768),I=a.h||new Wt(C+1),L=Math.ceil(e/3),q=2*L,z=function(se){return(t[se]^t[se+1]<<L^t[se+2]<<q)&C},D=new qt(25e3),ct=new Wt(288),_t=new Wt(32),gt=0,Y=0,R=a.i||0,et=0,N=a.w||0,E=0;R+2<h;++R){var Z=z(R),U=32767&R,ft=I[Z];if(k[U]=ft,I[Z]=U,N<=R){var pt=h-R;if((gt>7e3||et>24576)&&(pt>423||!u)){g=Ml(t,c,0,D,ct,_t,Y,et,E,R-E,g),et=gt=Y=0,E=R;for(var vt=0;vt<286;++vt)ct[vt]=0;for(vt=0;vt<30;++vt)_t[vt]=0}var lt=2,wt=0,Ot=p,kt=U-ft&32767;if(pt>2&&Z==z(R-kt))for(var A=Math.min(y,pt)-1,M=Math.min(32767,R),j=Math.min(258,pt);kt<=M&&--Ot&&U!=ft;){if(t[R+lt]==t[R+lt-kt]){for(var G=0;G<j&&t[R+G]==t[R+G-kt];++G);if(G>lt){if(lt=G,wt=kt,G>A)break;var J=Math.min(kt,G-2),at=0;for(vt=0;vt<J;++vt){var mt=R-kt+vt&32767,St=mt-k[mt]&32767;St>at&&(at=St,ft=mt)}}}kt+=(U=ft)-(ft=k[U])&32767}if(wt){D[et++]=268435456|be[lt]<<18|Un[wt];var Ft=31&be[lt],zt=31&Un[wt];Y+=It[Ft]+Xt[zt],++ct[257+Ft],++_t[zt],N=R+lt,++gt}else D[et++]=t[R],++ct[t[R]]}}for(R=Math.max(R,N);R<h;++R)D[et++]=t[R],++ct[t[R]];g=Ml(t,c,u,D,ct,_t,Y,et,E,R-E,g),u||(a.r=7&g|c[g/8|0]<<3,g-=7,a.h=I,a.p=k,a.i=R,a.w=N)}else{for(R=a.w||0;R<h+u;R+=65535){var jt=R+65535;jt>=h&&(c[g/8|0]=u,jt=h),g=Ol(c,g+1,t.subarray(R,jt))}a.i=h}return function(t,n,e){return(null==n||n<0)&&(n=0),(null==e||e>t.length)&&(e=t.length),new Mt(t.subarray(n,e))}(s,0,r+fa(g)+i)},Rl=function(){var t=1,n=0;return{p:function(e){for(var r=t,i=n,a=0|e.length,h=0;h!=a;){for(var s=Math.min(h+2655,a);h<s;++h)i+=r+=e[h];r=(65535&r)+15*(r>>16),i=(65535&i)+15*(i>>16)}t=r,n=i},d:function(){return(255&(t%=65521))<<24|(65280&t)<<8|(255&(n%=65521))<<8|n>>8}}},fn=function(t,n,e){for(;e;++n)t[n]=e,e>>>=8};function No(t,n){n||(n={});var e=Rl();e.p(t);var r=function(t,n,e,r,i){if(!i&&(i={l:1},n.dictionary)){var a=n.dictionary.subarray(-32768),h=new Mt(a.length+t.length);h.set(a),h.set(t,a.length),t=h,i.w=a.length}return _c(t,n.level??6,null==n.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(t.length)))):20:12+n.mem,e,r,i)}(t,n,n.dictionary?6:2,4);return function(t,n){var e=n.level,r=0==e?0:e<6?1:9==e?3:2;if(t[0]=120,t[1]=r<<6|(n.dictionary&&32),t[1]|=31-(t[0]<<8|t[1])%31,n.dictionary){var i=Rl();i.p(n.dictionary),fn(t,2,i.d())}}(r,n),fn(r,r.length-4,e.d()),r}var Gl=typeof TextDecoder<"u"&&new TextDecoder;try{Gl.decode(Dl,{stream:!0})}catch{}function Dc(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,r=Array(n);e<n;e++)r[e]=t[e];return r}function Rc(t,n){return function h0(t){if(Array.isArray(t))return t}(t)||function c0(t,n){var e=null==t?null:typeof Symbol<"u"&&t[Symbol.iterator]||t["@@iterator"];if(null!=e){var r,i,a,h,s=[],c=!0,u=!1;try{if(a=(e=e.call(t)).next,0===n){if(Object(e)!==e)return;c=!1}else for(;!(c=(r=a.call(e)).done)&&(s.push(r.value),s.length!==n);c=!0);}catch(g){u=!0,i=g}finally{try{if(!c&&null!=e.return&&(h=e.return(),Object(h)!==h))return}finally{if(u)throw i}}return s}}(t,n)||function u0(t,n){if(t){if("string"==typeof t)return Dc(t,n);var e={}.toString.call(t).slice(8,-1);return"Object"===e&&t.constructor&&(e=t.constructor.name),"Map"===e||"Set"===e?Array.from(t):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?Dc(t,n):void 0}}(t,n)||function f0(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function jc(t,n="utf8"){return new TextDecoder(n).decode(t)}"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout;const d0=new TextEncoder,m0=(()=>{const t=new Uint8Array(4);return!((new Uint32Array(t.buffer)[0]=1)&t[0])})(),Vl={int8:globalThis.Int8Array,uint8:globalThis.Uint8Array,int16:globalThis.Int16Array,uint16:globalThis.Uint16Array,int32:globalThis.Int32Array,uint32:globalThis.Uint32Array,uint64:globalThis.BigUint64Array,int64:globalThis.BigInt64Array,float32:globalThis.Float32Array,float64:globalThis.Float64Array};class $l{constructor(n=8192,e={}){Je(this,"buffer"),Je(this,"byteLength"),Je(this,"byteOffset"),Je(this,"length"),Je(this,"offset"),Je(this,"lastWrittenByte"),Je(this,"littleEndian"),Je(this,"_data"),Je(this,"_mark"),Je(this,"_marks");let r=!1;"number"==typeof n?n=new ArrayBuffer(n):(r=!0,this.lastWrittenByte=n.byteLength);const i=e.offset?e.offset>>>0:0,a=n.byteLength-i;let h=i;(ArrayBuffer.isView(n)||n instanceof $l)&&(n.byteLength!==n.buffer.byteLength&&(h=n.byteOffset+i),n=n.buffer),this.lastWrittenByte=r?a:0,this.buffer=n,this.length=a,this.byteLength=a,this.byteOffset=h,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,h,a),this._mark=0,this._marks=[]}available(n=1){return this.offset+n<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(n=1){return this.offset+=n,this}back(n=1){return this.offset-=n,this}seek(n){return this.offset=n,this}mark(){return this._mark=this.offset,this}reset(){return this.offset=this._mark,this}pushMark(){return this._marks.push(this.offset),this}popMark(){const n=this._marks.pop();if(void 0===n)throw new Error("Mark stack empty");return this.seek(n),this}rewind(){return this.offset=0,this}ensureAvailable(n=1){if(!this.available(n)){const r=2*(this.offset+n),i=new Uint8Array(r);i.set(new Uint8Array(this.buffer)),this.buffer=i.buffer,this.length=r,this.byteLength=r,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(n=1){return this.readArray(n,"uint8")}readArray(n,e){const r=Vl[e].BYTES_PER_ELEMENT*n,i=this.byteOffset+this.offset,a=this.buffer.slice(i,i+r);if(this.littleEndian===m0&&"uint8"!==e&&"int8"!==e){const s=new Uint8Array(this.buffer.slice(i,i+r));s.reverse();const c=new Vl[e](s.buffer);return this.offset+=r,c.reverse(),c}const h=new Vl[e](a);return this.offset+=r,h}readInt16(){const n=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,n}readUint16(){const n=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,n}readInt32(){const n=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,n}readUint32(){const n=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat32(){const n=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,n}readFloat64(){const n=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,n}readBigInt64(){const n=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,n}readBigUint64(){const n=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,n}readChar(){return String.fromCharCode(this.readInt8())}readChars(n=1){let e="";for(let r=0;r<n;r++)e+=this.readChar();return e}readUtf8(n=1){return jc(this.readBytes(n))}decodeText(n=1,e="utf8"){return jc(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(function p0(t){return d0.encode(t)}(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 Wa(t){let n=t.length;for(;--n>=0;)t[n]=0}
vendor: 8,652 bytes, line 1
1const Ql=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]),Ps=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]),L0=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7]),Vc=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),wi=new Array(576);Wa(wi);const Co=new Array(60);Wa(Co);const Io=new Array(512);Wa(Io);const Eo=new Array(256);Wa(Eo);const th=new Array(29);Wa(th);const Cs=new Array(30);function eh(t,n,e,r,i){this.static_tree=t,this.extra_bits=n,this.extra_base=e,this.elems=r,this.max_length=i,this.has_stree=t&&t.length}let $c,Yc,Kc;function nh(t,n){this.dyn_tree=t,this.max_code=0,this.stat_desc=n}Wa(Cs);const Jc=t=>t<256?Io[t]:Io[256+(t>>>7)],To=(t,n)=>{t.pending_buf[t.pending++]=255&n,t.pending_buf[t.pending++]=n>>>8&255},dr=(t,n,e)=>{t.bi_valid>16-e?(t.bi_buf|=n<<t.bi_valid&65535,To(t,t.bi_buf),t.bi_buf=n>>16-t.bi_valid,t.bi_valid+=e-16):(t.bi_buf|=n<<t.bi_valid&65535,t.bi_valid+=e)},ni=(t,n,e)=>{dr(t,e[2*n],e[2*n+1])},Xc=(t,n)=>{let e=0;do{e|=1&t,t>>>=1,e<<=1}while(--n>0);return e>>>1},Qc=(t,n,e)=>{const r=new Array(16);let a,h,i=0;for(a=1;a<=15;a++)i=i+e[a-1]<<1,r[a]=i;for(h=0;h<=n;h++){let s=t[2*h+1];0!==s&&(t[2*h]=Xc(r[s]++,s))}},tu=t=>{let n;for(n=0;n<286;n++)t.dyn_ltree[2*n]=0;for(n=0;n<30;n++)t.dyn_dtree[2*n]=0;for(n=0;n<19;n++)t.bl_tree[2*n]=0;t.dyn_ltree[512]=1,t.opt_len=t.static_len=0,t.sym_next=t.matches=0},eu=t=>{t.bi_valid>8?To(t,t.bi_buf):t.bi_valid>0&&(t.pending_buf[t.pending++]=t.bi_buf),t.bi_buf=0,t.bi_valid=0},nu=(t,n,e,r)=>{const i=2*n,a=2*e;return t[i]<t[a]||t[i]===t[a]&&r[n]<=r[e]},rh=(t,n,e)=>{const r=t.heap[e];let i=e<<1;for(;i<=t.heap_len&&(i<t.heap_len&&nu(n,t.heap[i+1],t.heap[i],t.depth)&&i++,!nu(n,r,t.heap[i],t.depth));)t.heap[e]=t.heap[i],e=i,i<<=1;t.heap[e]=r},ru=(t,n,e)=>{let r,i,h,s,a=0;if(0!==t.sym_next)do{r=255&t.pending_buf[t.sym_buf+a++],r+=(255&t.pending_buf[t.sym_buf+a++])<<8,i=t.pending_buf[t.sym_buf+a++],0===r?ni(t,i,n):(h=Eo[i],ni(t,h+256+1,n),s=Ql[h],0!==s&&(i-=th[h],dr(t,i,s)),r--,h=Jc(r),ni(t,h,e),s=Ps[h],0!==s&&(r-=Cs[h],dr(t,r,s)))}while(a<t.sym_next);ni(t,256,n)},ih=(t,n)=>{const e=n.dyn_tree,r=n.stat_desc.static_tree,i=n.stat_desc.has_stree,a=n.stat_desc.elems;let h,s,u,c=-1;for(t.heap_len=0,t.heap_max=573,h=0;h<a;h++)0!==e[2*h]?(t.heap[++t.heap_len]=c=h,t.depth[h]=0):e[2*h+1]=0;for(;t.heap_len<2;)u=t.heap[++t.heap_len]=c<2?++c:0,e[2*u]=1,t.depth[u]=0,t.opt_len--,i&&(t.static_len-=r[2*u+1]);for(n.max_code=c,h=t.heap_len>>1;h>=1;h--)rh(t,e,h);u=a;do{h=t.heap[1],t.heap[1]=t.heap[t.heap_len--],rh(t,e,1),s=t.heap[1],t.heap[--t.heap_max]=h,t.heap[--t.heap_max]=s,e[2*u]=e[2*h]+e[2*s],t.depth[u]=(t.depth[h]>=t.depth[s]?t.depth[h]:t.depth[s])+1,e[2*h+1]=e[2*s+1]=u,t.heap[1]=u++,rh(t,e,1)}while(t.heap_len>=2);t.heap[--t.heap_max]=t.heap[1],((t,n)=>{const e=n.dyn_tree,r=n.max_code,i=n.stat_desc.static_tree,a=n.stat_desc.has_stree,h=n.stat_desc.extra_bits,s=n.stat_desc.extra_base,c=n.stat_desc.max_length;let u,g,v,y,p,C,k=0;for(y=0;y<=15;y++)t.bl_count[y]=0;for(e[2*t.heap[t.heap_max]+1]=0,u=t.heap_max+1;u<573;u++)g=t.heap[u],y=e[2*e[2*g+1]+1]+1,y>c&&(y=c,k++),e[2*g+1]=y,!(g>r)&&(t.bl_count[y]++,p=0,g>=s&&(p=h[g-s]),C=e[2*g],t.opt_len+=C*(y+p),a&&(t.static_len+=C*(i[2*g+1]+p)));if(0!==k){do{for(y=c-1;0===t.bl_count[y];)y--;t.bl_count[y]--,t.bl_count[y+1]+=2,t.bl_count[c]--,k-=2}while(k>0);for(y=c;0!==y;y--)for(g=t.bl_count[y];0!==g;)v=t.heap[--u],!(v>r)&&(e[2*v+1]!==y&&(t.opt_len+=(y-e[2*v+1])*e[2*v],e[2*v+1]=y),g--)}})(t,n),Qc(e,c,t.bl_count)},iu=(t,n,e)=>{let r,a,i=-1,h=n[1],s=0,c=7,u=4;for(0===h&&(c=138,u=3),n[2*(e+1)+1]=65535,r=0;r<=e;r++)a=h,h=n[2*(r+1)+1],!(++s<c&&a===h)&&(s<u?t.bl_tree[2*a]+=s:0!==a?(a!==i&&t.bl_tree[2*a]++,t.bl_tree[32]++):s<=10?t.bl_tree[34]++:t.bl_tree[36]++,s=0,i=a,0===h?(c=138,u=3):a===h?(c=6,u=3):(c=7,u=4))},au=(t,n,e)=>{let r,a,i=-1,h=n[1],s=0,c=7,u=4;for(0===h&&(c=138,u=3),r=0;r<=e;r++)if(a=h,h=n[2*(r+1)+1],!(++s<c&&a===h)){if(s<u)do{ni(t,a,t.bl_tree)}while(0!=--s);else 0!==a?(a!==i&&(ni(t,a,t.bl_tree),s--),ni(t,16,t.bl_tree),dr(t,s-3,2)):s<=10?(ni(t,17,t.bl_tree),dr(t,s-3,3)):(ni(t,18,t.bl_tree),dr(t,s-11,7));s=0,i=a,0===h?(c=138,u=3):a===h?(c=6,u=3):(c=7,u=4)}};let ou=!1;const su=(t,n,e,r)=>{dr(t,0+(r?1:0),3),eu(t),To(t,e),To(t,~e),e&&t.pending_buf.set(t.window.subarray(n,n+e),t.pending),t.pending+=e};var U0={_tr_init:t=>{ou||((()=>{let t,n,e,r,i;const a=new Array(16);for(e=0,r=0;r<28;r++)for(th[r]=e,t=0;t<1<<Ql[r];t++)Eo[e++]=r;for(Eo[e-1]=r,i=0,r=0;r<16;r++)for(Cs[r]=i,t=0;t<1<<Ps[r];t++)Io[i++]=r;for(i>>=7;r<30;r++)for(Cs[r]=i<<7,t=0;t<1<<Ps[r]-7;t++)Io[256+i++]=r;for(n=0;n<=15;n++)a[n]=0;for(t=0;t<=143;)wi[2*t+1]=8,t++,a[8]++;for(;t<=255;)wi[2*t+1]=9,t++,a[9]++;for(;t<=279;)wi[2*t+1]=7,t++,a[7]++;for(;t<=287;)wi[2*t+1]=8,t++,a[8]++;for(Qc(wi,287,a),t=0;t<30;t++)Co[2*t+1]=5,Co[2*t]=Xc(t,5);$c=new eh(wi,Ql,257,286,15),Yc=new eh(Co,Ps,0,30,15),Kc=new eh(new Array(0),L0,0,19,7)})(),ou=!0),t.l_desc=new nh(t.dyn_ltree,$c),t.d_desc=new nh(t.dyn_dtree,Yc),t.bl_desc=new nh(t.bl_tree,Kc),t.bi_buf=0,t.bi_valid=0,tu(t)},_tr_stored_block:su,_tr_flush_block:(t,n,e,r)=>{let i,a,h=0;t.level>0?(2===t.strm.data_type&&(t.strm.data_type=(t=>{let e,n=4093624447;for(e=0;e<=31;e++,n>>>=1)if(1&n&&0!==t.dyn_ltree[2*e])return 0;if(0!==t.dyn_ltree[18]||0!==t.dyn_ltree[20]||0!==t.dyn_ltree[26])return 1;for(e=32;e<256;e++)if(0!==t.dyn_ltree[2*e])return 1;return 0})(t)),ih(t,t.l_desc),ih(t,t.d_desc),h=(t=>{let n;for(iu(t,t.dyn_ltree,t.l_desc.max_code),iu(t,t.dyn_dtree,t.d_desc.max_code),ih(t,t.bl_desc),n=18;n>=3&&0===t.bl_tree[2*Vc[n]+1];n--);return t.opt_len+=3*(n+1)+5+5+4,n})(t),i=t.opt_len+3+7>>>3,a=t.static_len+3+7>>>3,a<=i&&(i=a)):i=a=e+5,e+4<=i&&-1!==n?su(t,n,e,r):4===t.strategy||a===i?(dr(t,2+(r?1:0),3),ru(t,wi,Co)):(dr(t,4+(r?1:0),3),((t,n,e,r)=>{let i;for(dr(t,n-257,5),dr(t,e-1,5),dr(t,r-4,4),i=0;i<r;i++)dr(t,t.bl_tree[2*Vc[i]+1],3);au(t,t.dyn_ltree,n-1),au(t,t.dyn_dtree,e-1)})(t,t.l_desc.max_code+1,t.d_desc.max_code+1,h+1),ru(t,t.dyn_ltree,t.dyn_dtree)),tu(t),r&&eu(t)},_tr_tally:(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,0===n?t.dyn_ltree[2*e]++:(t.matches++,n--,t.dyn_ltree[2*(Eo[e]+256+1)]++,t.dyn_dtree[2*Jc(n)]++),t.sym_next===t.sym_end),_tr_align:t=>{dr(t,2,3),ni(t,256,wi),(t=>{16===t.bi_valid?(To(t,t.bi_buf),t.bi_buf=0,t.bi_valid=0):t.bi_valid>=8&&(t.pending_buf[t.pending++]=255&t.bi_buf,t.bi_buf>>=8,t.bi_valid-=8)})(t)}},Fo=(t,n,e,r)=>{let i=65535&t|0,a=t>>>16&65535|0,h=0;for(;0!==e;){h=e>2e3?2e3:e,e-=h;do{i=i+n[r++]|0,a=a+i|0}while(--h);i%=65521,a%=65521}return i|a<<16|0};const H0=new Uint32Array((()=>{let t,n=[];for(var e=0;e<256;e++){t=e;for(var r=0;r<8;r++)t=1&t?3988292384^t>>>1:t>>>1;n[e]=t}return n})());var qn=(t,n,e,r)=>{const i=H0,a=r+e;t^=-1;for(let h=r;h<a;h++)t=t>>>8^i[255&(t^n[h])];return-1^t},pa={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"},ga={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8};const{_tr_init:Z0,_tr_stored_block:ah,_tr_flush_block:W0,_tr_tally:Ui,_tr_align:G0}=U0,{Z_NO_FLUSH:qi,Z_PARTIAL_FLUSH:V0,Z_FULL_FLUSH:$0,Z_FINISH:Cr,Z_BLOCK:lu,Z_OK:Wn,Z_STREAM_END:hu,Z_STREAM_ERROR:ri,Z_DATA_ERROR:Y0,Z_BUF_ERROR:oh,Z_DEFAULT_COMPRESSION:K0,Z_FILTERED:J0,Z_HUFFMAN_ONLY:Is,Z_RLE:X0,Z_FIXED:Q0,Z_DEFAULT_STRATEGY:t2,Z_UNKNOWN:e2,Z_DEFLATED:Es}=ga,ii=262,ba=(t,n)=>(t.msg=pa[n],n),cu=t=>2*t-(t>4?9:0),Zi=t=>{let n=t.length;for(;--n>=0;)t[n]=0},f2=t=>{let n,e,r,i=t.w_size;n=t.hash_size,r=n;do{e=t.head[--r],t.head[r]=e>=i?e-i:0}while(--n);n=i,r=n;do{e=t.prev[--r],t.prev[r]=e>=i?e-i:0}while(--n)};let Wi=(t,n,e)=>(n<<t.hash_shift^e)&t.hash_mask;const vr=t=>{const n=t.state;let e=n.pending;e>t.avail_out&&(e=t.avail_out),0!==e&&(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,0===n.pending&&(n.pending_out=0))},br=(t,n)=>{W0(t,t.block_start>=0?t.block_start:-1,t.strstart-t.block_start,n),t.block_start=t.strstart,vr(t.strm)},Xe=(t,n)=>{t.pending_buf[t.pending++]=n},Oo=(t,n)=>{t.pending_buf[t.pending++]=n>>>8&255,t.pending_buf[t.pending++]=255&n},dh=(t,n,e,r)=>{let i=t.avail_in;return i>
vendor: 8,412 bytes, line 1
1r&&(i=r),0===i?0:(t.avail_in-=i,n.set(t.input.subarray(t.next_in,t.next_in+i),e),1===t.state.wrap?t.adler=Fo(t.adler,n,i,e):2===t.state.wrap&&(t.adler=qn(t.adler,n,i,e)),t.next_in+=i,t.total_in+=i,i)},uu=(t,n)=>{let i,a,e=t.max_chain_length,r=t.strstart,h=t.prev_length,s=t.nice_match;const c=t.strstart>t.w_size-ii?t.strstart-(t.w_size-ii):0,u=t.window,g=t.w_mask,v=t.prev,y=t.strstart+258;let p=u[r+h-1],C=u[r+h];t.prev_length>=t.good_match&&(e>>=2),s>t.lookahead&&(s=t.lookahead);do{if(i=n,u[i+h]===C&&u[i+h-1]===p&&u[i]===u[r]&&u[++i]===u[r+1]){r+=2,i++;do{}while(u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&u[++r]===u[++i]&&r<y);if(a=258-(y-r),r=y-258,a>h){if(t.match_start=n,h=a,a>=s)break;p=u[r+h-1],C=u[r+h]}}}while((n=v[n&g])>c&&0!=--e);return h<=t.lookahead?h:t.lookahead},Ka=t=>{const n=t.w_size;let e,r,i;do{if(r=t.window_size-t.lookahead-t.strstart,t.strstart>=n+(n-ii)&&(t.window.set(t.window.subarray(n,n+n-r),0),t.match_start-=n,t.strstart-=n,t.block_start-=n,t.insert>t.strstart&&(t.insert=t.strstart),f2(t),r+=n),0===t.strm.avail_in)break;if(e=dh(t.strm,t.window,t.strstart+t.lookahead,r),t.lookahead+=e,t.lookahead+t.insert>=3)for(i=t.strstart-t.insert,t.ins_h=t.window[i],t.ins_h=Wi(t,t.ins_h,t.window[i+1]);t.insert&&(t.ins_h=Wi(t,t.ins_h,t.window[i+3-1]),t.prev[i&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=i,i++,t.insert--,!(t.lookahead+t.insert<3)););}while(t.lookahead<ii&&0!==t.strm.avail_in)},fu=(t,n)=>{let r,i,a,e=t.pending_buf_size-5>t.w_size?t.w_size:t.pending_buf_size-5,h=0,s=t.strm.avail_in;do{if(r=65535,a=t.bi_valid+42>>3,t.strm.avail_out<a||(a=t.strm.avail_out-a,i=t.strstart-t.block_start,r>i+t.strm.avail_in&&(r=i+t.strm.avail_in),r>a&&(r=a),r<e&&(0===r&&n!==Cr||n===qi||r!==i+t.strm.avail_in)))break;h=n===Cr&&r===i+t.strm.avail_in?1:0,ah(t,0,0,h),t.pending_buf[t.pending-4]=r,t.pending_buf[t.pending-3]=r>>8,t.pending_buf[t.pending-2]=~r,t.pending_buf[t.pending-1]=~r>>8,vr(t.strm),i&&(i>r&&(i=r),t.strm.output.set(t.window.subarray(t.block_start,t.block_start+i),t.strm.next_out),t.strm.next_out+=i,t.strm.avail_out-=i,t.strm.total_out+=i,t.block_start+=i,r-=i),r&&(dh(t.strm,t.strm.output,t.strm.next_out,r),t.strm.next_out+=r,t.strm.avail_out-=r,t.strm.total_out+=r)}while(0===h);return s-=t.strm.avail_in,s&&(s>=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<=s&&(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-s,t.strm.next_in),t.strstart),t.strstart+=s,t.insert+=s>t.w_size-t.insert?t.w_size-t.insert:s),t.block_start=t.strstart),t.high_water<t.strstart&&(t.high_water=t.strstart),h?4:n!==qi&&n!==Cr&&0===t.strm.avail_in&&t.strstart===t.block_start?2:(a=t.window_size-t.strstart,t.strm.avail_in>a&&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++,a+=t.w_size,t.insert>t.strstart&&(t.insert=t.strstart)),a>t.strm.avail_in&&(a=t.strm.avail_in),a&&(dh(t.strm,t.window,t.strstart,a),t.strstart+=a,t.insert+=a>t.w_size-t.insert?t.w_size-t.insert:a),t.high_water<t.strstart&&(t.high_water=t.strstart),a=t.bi_valid+42>>3,a=t.pending_buf_size-a>65535?65535:t.pending_buf_size-a,e=a>t.w_size?t.w_size:a,i=t.strstart-t.block_start,(i>=e||(i||n===Cr)&&n!==qi&&0===t.strm.avail_in&&i<=a)&&(r=i>a?a:i,h=n===Cr&&0===t.strm.avail_in&&r===i?1:0,ah(t,t.block_start,r,h),t.block_start+=r,vr(t.strm)),h?3:1)},ph=(t,n)=>{let e,r;for(;;){if(t.lookahead<ii){if(Ka(t),t.lookahead<ii&&n===qi)return 1;if(0===t.lookahead)break}if(e=0,t.lookahead>=3&&(t.ins_h=Wi(t,t.ins_h,t.window[t.strstart+3-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),0!==e&&t.strstart-e<=t.w_size-ii&&(t.match_length=uu(t,e)),t.match_length>=3)if(r=Ui(t,t.strstart-t.match_start,t.match_length-3),t.lookahead-=t.match_length,t.match_length<=t.max_lazy_match&&t.lookahead>=3){t.match_length--;do{t.strstart++,t.ins_h=Wi(t,t.ins_h,t.window[t.strstart+3-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart}while(0!=--t.match_length);t.strstart++}else t.strstart+=t.match_length,t.match_length=0,t.ins_h=t.window[t.strstart],t.ins_h=Wi(t,t.ins_h,t.window[t.strstart+1]);else r=Ui(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++;if(r&&(br(t,!1),0===t.strm.avail_out))return 1}return t.insert=t.strstart<2?t.strstart:2,n===Cr?(br(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(br(t,!1),0===t.strm.avail_out)?1:2},Ja=(t,n)=>{let e,r,i;for(;;){if(t.lookahead<ii){if(Ka(t),t.lookahead<ii&&n===qi)return 1;if(0===t.lookahead)break}if(e=0,t.lookahead>=3&&(t.ins_h=Wi(t,t.ins_h,t.window[t.strstart+3-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart),t.prev_length=t.match_length,t.prev_match=t.match_start,t.match_length=2,0!==e&&t.prev_length<t.max_lazy_match&&t.strstart-e<=t.w_size-ii&&(t.match_length=uu(t,e),t.match_length<=5&&(t.strategy===J0||3===t.match_length&&t.strstart-t.match_start>4096)&&(t.match_length=2)),t.prev_length>=3&&t.match_length<=t.prev_length){i=t.strstart+t.lookahead-3,r=Ui(t,t.strstart-1-t.prev_match,t.prev_length-3),t.lookahead-=t.prev_length-1,t.prev_length-=2;do{++t.strstart<=i&&(t.ins_h=Wi(t,t.ins_h,t.window[t.strstart+3-1]),e=t.prev[t.strstart&t.w_mask]=t.head[t.ins_h],t.head[t.ins_h]=t.strstart)}while(0!=--t.prev_length);if(t.match_available=0,t.match_length=2,t.strstart++,r&&(br(t,!1),0===t.strm.avail_out))return 1}else if(t.match_available){if(r=Ui(t,0,t.window[t.strstart-1]),r&&br(t,!1),t.strstart++,t.lookahead--,0===t.strm.avail_out)return 1}else t.match_available=1,t.strstart++,t.lookahead--}return t.match_available&&(r=Ui(t,0,t.window[t.strstart-1]),t.match_available=0),t.insert=t.strstart<2?t.strstart:2,n===Cr?(br(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(br(t,!1),0===t.strm.avail_out)?1:2};function ai(t,n,e,r,i){this.good_length=t,this.max_lazy=n,this.nice_length=e,this.max_chain=r,this.func=i}const Mo=[new ai(0,0,0,0,fu),new ai(4,4,8,4,ph),new ai(4,5,16,8,ph),new ai(4,6,32,32,ph),new ai(4,4,16,16,Ja),new ai(8,16,32,32,Ja),new ai(8,16,128,128,Ja),new ai(8,32,128,256,Ja),new ai(32,128,258,1024,Ja),new ai(32,258,258,4096,Ja)];function m2(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=Es,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new Uint16Array(1146),this.dyn_dtree=new Uint16Array(122),this.bl_tree=new Uint16Array(78),Zi(this.dyn_ltree),Zi(this.dyn_dtree),Zi(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new Uint16Array(16),this.heap=new Uint16Array(573),Zi(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new Uint16Array(573),Zi(this.depth),this.sym_buf=0,this.lit_bufsize=0,this.sym_next=0,this.sym_end=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}const Do=t=>{if(!t)return 1;const n=t.state;return!n||n.strm!==t||42!==n.status&&57!==n.status&&69!==n.status&&73!==n.status&&91!==n.status&&103!==n.status&&113!==n.status&&666!==n.status?1:0},du=t=>{if(Do(t))return ba(t,ri);t.total_in=t.total_out=0,t.data_type=e2;const n=t.state;return n.pending=0,n.pending_out=0,n.wrap<0&&(n.wrap=-n.wrap),n.status=2===n.wrap?57:n.wrap?42:113,t.adler=2===n.wrap?0:1,n.last_flush=-2,Z0(n),Wn},pu=t=>{const n=du(t);return n===Wn&&(t=>{t.window_size=2*t.w_size,Zi(t.head),t.max_lazy_match=Mo[t.level].max_lazy,t.good_match=Mo[t.level].good_length,t.nice_match=Mo[t.level].nice_length,t.max_chain_length=Mo[t.level].max_chain,t.strstart=0,t.block_start=0,t.lookahead=0,t.insert=0,t.match_length=t.prev_length=2,t.match_available=0,t.ins_h=0})(t.state),n},gu=(t,n,e,r,i,a)=>
vendor: 5,222 bytes, line 1
1{if(!t)return ri;let h=1;if(n===K0&&(n=6),r<0?(h=0,r=-r):r>15&&(h=2,r-=16),i<1||i>9||e!==Es||r<8||r>15||n<0||n>9||a<0||a>Q0||8===r&&1!==h)return ba(t,ri);8===r&&(r=9);const s=new m2;return t.state=s,s.strm=t,s.status=42,s.wrap=h,s.gzhead=null,s.w_bits=r,s.w_size=1<<s.w_bits,s.w_mask=s.w_size-1,s.hash_bits=i+7,s.hash_size=1<<s.hash_bits,s.hash_mask=s.hash_size-1,s.hash_shift=~~((s.hash_bits+3-1)/3),s.window=new Uint8Array(2*s.w_size),s.head=new Uint16Array(s.hash_size),s.prev=new Uint16Array(s.w_size),s.lit_bufsize=1<<i+6,s.pending_buf_size=4*s.lit_bufsize,s.pending_buf=new Uint8Array(s.pending_buf_size),s.sym_buf=s.lit_bufsize,s.sym_end=3*(s.lit_bufsize-1),s.level=n,s.strategy=a,s.method=e,pu(t)};var Ro_deflateInit2=gu,Ro_deflateSetHeader=(t,n)=>Do(t)||2!==t.state.wrap?ri:(t.state.gzhead=n,Wn),Ro_deflate=(t,n)=>{if(Do(t)||n>lu||n<0)return t?ba(t,ri):ri;const e=t.state;if(!t.output||0!==t.avail_in&&!t.input||666===e.status&&n!==Cr)return ba(t,0===t.avail_out?oh:ri);const r=e.last_flush;if(e.last_flush=n,0!==e.pending){if(vr(t),0===t.avail_out)return e.last_flush=-1,Wn}else if(0===t.avail_in&&cu(n)<=cu(r)&&n!==Cr)return ba(t,oh);if(666===e.status&&0!==t.avail_in)return ba(t,oh);if(42===e.status&&0===e.wrap&&(e.status=113),42===e.status){let i=Es+(e.w_bits-8<<4)<<8,a=-1;if(a=e.strategy>=Is||e.level<2?0:e.level<6?1:6===e.level?2:3,i|=a<<6,0!==e.strstart&&(i|=32),i+=31-i%31,Oo(e,i),0!==e.strstart&&(Oo(e,t.adler>>>16),Oo(e,65535&t.adler)),t.adler=1,e.status=113,vr(t),0!==e.pending)return e.last_flush=-1,Wn}if(57===e.status)if(t.adler=0,Xe(e,31),Xe(e,139),Xe(e,8),e.gzhead)Xe(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)),Xe(e,255&e.gzhead.time),Xe(e,e.gzhead.time>>8&255),Xe(e,e.gzhead.time>>16&255),Xe(e,e.gzhead.time>>24&255),Xe(e,9===e.level?2:e.strategy>=Is||e.level<2?4:0),Xe(e,255&e.gzhead.os),e.gzhead.extra&&e.gzhead.extra.length&&(Xe(e,255&e.gzhead.extra.length),Xe(e,e.gzhead.extra.length>>8&255)),e.gzhead.hcrc&&(t.adler=qn(t.adler,e.pending_buf,e.pending,0)),e.gzindex=0,e.status=69;else if(Xe(e,0),Xe(e,0),Xe(e,0),Xe(e,0),Xe(e,0),Xe(e,9===e.level?2:e.strategy>=Is||e.level<2?4:0),Xe(e,3),e.status=113,vr(t),0!==e.pending)return e.last_flush=-1,Wn;if(69===e.status){if(e.gzhead.extra){let i=e.pending,a=(65535&e.gzhead.extra.length)-e.gzindex;for(;e.pending+a>e.pending_buf_size;){let s=e.pending_buf_size-e.pending;if(e.pending_buf.set(e.gzhead.extra.subarray(e.gzindex,e.gzindex+s),e.pending),e.pending=e.pending_buf_size,e.gzhead.hcrc&&e.pending>i&&(t.adler=qn(t.adler,e.pending_buf,e.pending-i,i)),e.gzindex+=s,vr(t),0!==e.pending)return e.last_flush=-1,Wn;i=0,a-=s}let h=new Uint8Array(e.gzhead.extra);e.pending_buf.set(h.subarray(e.gzindex,e.gzindex+a),e.pending),e.pending+=a,e.gzhead.hcrc&&e.pending>i&&(t.adler=qn(t.adler,e.pending_buf,e.pending-i,i)),e.gzindex=0}e.status=73}if(73===e.status){if(e.gzhead.name){let a,i=e.pending;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>i&&(t.adler=qn(t.adler,e.pending_buf,e.pending-i,i)),vr(t),0!==e.pending)return e.last_flush=-1,Wn;i=0}a=e.gzindex<e.gzhead.name.length?255&e.gzhead.name.charCodeAt(e.gzindex++):0,Xe(e,a)}while(0!==a);e.gzhead.hcrc&&e.pending>i&&(t.adler=qn(t.adler,e.pending_buf,e.pending-i,i)),e.gzindex=0}e.status=91}if(91===e.status){if(e.gzhead.comment){let a,i=e.pending;do{if(e.pending===e.pending_buf_size){if(e.gzhead.hcrc&&e.pending>i&&(t.adler=qn(t.adler,e.pending_buf,e.pending-i,i)),vr(t),0!==e.pending)return e.last_flush=-1,Wn;i=0}a=e.gzindex<e.gzhead.comment.length?255&e.gzhead.comment.charCodeAt(e.gzindex++):0,Xe(e,a)}while(0!==a);e.gzhead.hcrc&&e.pending>i&&(t.adler=qn(t.adler,e.pending_buf,e.pending-i,i))}e.status=103}if(103===e.status){if(e.gzhead.hcrc){if(e.pending+2>e.pending_buf_size&&(vr(t),0!==e.pending))return e.last_flush=-1,Wn;Xe(e,255&t.adler),Xe(e,t.adler>>8&255),t.adler=0}if(e.status=113,vr(t),0!==e.pending)return e.last_flush=-1,Wn}if(0!==t.avail_in||0!==e.lookahead||n!==qi&&666!==e.status){let i=0===e.level?fu(e,n):e.strategy===Is?((t,n)=>{let e;for(;;){if(0===t.lookahead&&(Ka(t),0===t.lookahead)){if(n===qi)return 1;break}if(t.match_length=0,e=Ui(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++,e&&(br(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,n===Cr?(br(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(br(t,!1),0===t.strm.avail_out)?1:2})(e,n):e.strategy===X0?((t,n)=>{let e,r,i,a;const h=t.window;for(;;){if(t.lookahead<=258){if(Ka(t),t.lookahead<=258&&n===qi)return 1;if(0===t.lookahead)break}if(t.match_length=0,t.lookahead>=3&&t.strstart>0&&(i=t.strstart-1,r=h[i],r===h[++i]&&r===h[++i]&&r===h[++i])){a=t.strstart+258;do{}while(r===h[++i]&&r===h[++i]&&r===h[++i]&&r===h[++i]&&r===h[++i]&&r===h[++i]&&r===h[++i]&&r===h[++i]&&i<a);t.match_length=258-(a-i),t.match_length>t.lookahead&&(t.match_length=t.lookahead)}if(t.match_length>=3?(e=Ui(t,1,t.match_length-3),t.lookahead-=t.match_length,t.strstart+=t.match_length,t.match_length=0):(e=Ui(t,0,t.window[t.strstart]),t.lookahead--,t.strstart++),e&&(br(t,!1),0===t.strm.avail_out))return 1}return t.insert=0,n===Cr?(br(t,!0),0===t.strm.avail_out?3:4):t.sym_next&&(br(t,!1),0===t.strm.avail_out)?1:2})(e,n):Mo[e.level].func(e,n);
vendor: 7,731 bytes, line 1
1if((3===i||4===i)&&(e.status=666),1===i||3===i)return 0===t.avail_out&&(e.last_flush=-1),Wn;if(2===i&&(n===V0?G0(e):n!==lu&&(ah(e,0,0,!1),n===$0&&(Zi(e.head),0===e.lookahead&&(e.strstart=0,e.block_start=0,e.insert=0))),vr(t),0===t.avail_out))return e.last_flush=-1,Wn}return n!==Cr?Wn:e.wrap<=0?hu:(2===e.wrap?(Xe(e,255&t.adler),Xe(e,t.adler>>8&255),Xe(e,t.adler>>16&255),Xe(e,t.adler>>24&255),Xe(e,255&t.total_in),Xe(e,t.total_in>>8&255),Xe(e,t.total_in>>16&255),Xe(e,t.total_in>>24&255)):(Oo(e,t.adler>>>16),Oo(e,65535&t.adler)),vr(t),e.wrap>0&&(e.wrap=-e.wrap),0!==e.pending?Wn:hu)},Ro_deflateEnd=t=>{if(Do(t))return ri;const n=t.state.status;return t.state=null,113===n?ba(t,Y0):Wn},Ro_deflateSetDictionary=(t,n)=>{let e=n.length;if(Do(t))return ri;const r=t.state,i=r.wrap;if(2===i||1===i&&42!==r.status||r.lookahead)return ri;if(1===i&&(t.adler=Fo(t.adler,n,e,0)),r.wrap=0,e>=r.w_size){0===i&&(Zi(r.head),r.strstart=0,r.block_start=0,r.insert=0);let c=new Uint8Array(r.w_size);c.set(n.subarray(e-r.w_size,e),0),n=c,e=r.w_size}const a=t.avail_in,h=t.next_in,s=t.input;for(t.avail_in=e,t.next_in=0,t.input=n,Ka(r);r.lookahead>=3;){let c=r.strstart,u=r.lookahead-2;do{r.ins_h=Wi(r,r.ins_h,r.window[c+3-1]),r.prev[c&r.w_mask]=r.head[r.ins_h],r.head[r.ins_h]=c,c++}while(--u);r.strstart=c,r.lookahead=2,Ka(r)}return r.strstart+=r.lookahead,r.block_start=r.strstart,r.insert=r.lookahead,r.lookahead=0,r.match_length=r.prev_length=2,r.match_available=0,t.next_in=h,t.input=s,t.avail_in=a,r.wrap=i,Wn};const E2=(t,n)=>Object.prototype.hasOwnProperty.call(t,n);var Ts_assign=function(t){const n=Array.prototype.slice.call(arguments,1);for(;n.length;){const e=n.shift();if(e){if("object"!=typeof e)throw new TypeError(e+"must be non-object");for(const r in e)E2(e,r)&&(t[r]=e[r])}}return t},Ts_flattenChunks=t=>{let n=0;for(let r=0,i=t.length;r<i;r++)n+=t[r].length;const e=new Uint8Array(n);for(let r=0,i=0,a=t.length;r<a;r++){let h=t[r];e.set(h,i),i+=h.length}return e};let mu=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{mu=!1}const 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[254]=1;var zo_string2buf=t=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(t);let n,e,r,i,a,h=t.length,s=0;for(i=0;i<h;i++)e=t.charCodeAt(i),55296==(64512&e)&&i+1<h&&(r=t.charCodeAt(i+1),56320==(64512&r)&&(e=65536+(e-55296<<10)+(r-56320),i++)),s+=e<128?1:e<2048?2:e<65536?3:4;for(n=new Uint8Array(s),a=0,i=0;a<s;i++)e=t.charCodeAt(i),55296==(64512&e)&&i+1<h&&(r=t.charCodeAt(i+1),56320==(64512&r)&&(e=65536+(e-55296<<10)+(r-56320),i++)),e<128?n[a++]=e:e<2048?(n[a++]=192|e>>>6,n[a++]=128|63&e):e<65536?(n[a++]=224|e>>>12,n[a++]=128|e>>>6&63,n[a++]=128|63&e):(n[a++]=240|e>>>18,n[a++]=128|e>>>12&63,n[a++]=128|e>>>6&63,n[a++]=128|63&e);return n},zo_buf2string=(t,n)=>{const e=n||t.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(t.subarray(0,n));let r,i;const a=new Array(2*e);for(i=0,r=0;r<e;){let h=t[r++];if(h<128){a[i++]=h;continue}let s=jo[h];if(s>4)a[i++]=65533,r+=s-1;else{for(h&=2===s?31:3===s?15:7;s>1&&r<e;)h=h<<6|63&t[r++],s--;s>1?a[i++]=65533:h<65536?a[i++]=h:(h-=65536,a[i++]=55296|h>>10&1023,a[i++]=56320|1023&h)}}return((t,n)=>{if(n<65534&&t.subarray&&mu)return String.fromCharCode.apply(null,t.length===n?t:t.subarray(0,n));let e="";for(let r=0;r<n;r++)e+=String.fromCharCode(t[r]);return e})(a,i)},zo_utf8border=(t,n)=>{(n=n||t.length)>t.length&&(n=t.length);let e=n-1;for(;e>=0&&128==(192&t[e]);)e--;return e<0||0===e?n:e+jo[t[e]]>n?e:n},vu=function R2(){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};const bu=Object.prototype.toString,{Z_NO_FLUSH:j2,Z_SYNC_FLUSH:z2,Z_FULL_FLUSH:U2,Z_FINISH:q2,Z_OK:Fs,Z_STREAM_END:H2,Z_DEFAULT_COMPRESSION:Z2,Z_DEFAULT_STRATEGY:W2,Z_DEFLATED:G2}=ga;function Uo(t){this.options=Ts_assign({level:Z2,method:G2,chunkSize:16384,windowBits:15,memLevel:8,strategy:W2},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 vu,this.strm.avail_out=0;let e=Ro_deflateInit2(this.strm,n.level,n.method,n.windowBits,n.memLevel,n.strategy);if(e!==Fs)throw new Error(pa[e]);if(n.header&&Ro_deflateSetHeader(this.strm,n.header),n.dictionary){let r;if(r="string"==typeof n.dictionary?zo_string2buf(n.dictionary):"[object ArrayBuffer]"===bu.call(n.dictionary)?new Uint8Array(n.dictionary):n.dictionary,e=Ro_deflateSetDictionary(this.strm,r),e!==Fs)throw new Error(pa[e]);this._dict_set=!0}}function gh(t,n){const e=new Uo(n);if(e.push(t,!0),e.err)throw e.msg||pa[e.err];return e.result}Uo.prototype.push=function(t,n){const e=this.strm,r=this.options.chunkSize;let i,a;if(this.ended)return!1;for(a=n===~~n?n:!0===n?q2:j2,e.input="string"==typeof t?zo_string2buf(t):"[object ArrayBuffer]"===bu.call(t)?new Uint8Array(t):t,e.next_in=0,e.avail_in=e.input.length;;)if(0===e.avail_out&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),(a===z2||a===U2)&&e.avail_out<=6)this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;else{if(i=Ro_deflate(e,a),i===H2)return e.next_out>0&&this.onData(e.output.subarray(0,e.next_out)),i=Ro_deflateEnd(this.strm),this.onEnd(i),this.ended=!0,i===Fs;if(0!==e.avail_out){if(a>0&&e.next_out>0)this.onData(e.output.subarray(0,e.next_out)),e.avail_out=0;else if(0===e.avail_in)break}else this.onData(e.output)}return!0},Uo.prototype.onData=function(t){this.chunks.push(t)},Uo.prototype.onEnd=function(t){t===Fs&&(this.result=Ts_flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var td={Deflate:Uo,deflate:gh,deflateRaw:function V2(t,n){return(n=n||{}).raw=!0,gh(t,n)},gzip:function $2(t,n){return(n=n||{}).gzip=!0,gh(t,n)},constants:ga};const Bs=16209;var nd=function(n,e){let r,i,a,h,s,c,u,g,v,y,p,C,k,I,L,q,z,D,ct,_t,gt,Y,R,et;const N=n.state;r=n.next_in,R=n.input,i=r+(n.avail_in-5),a=n.next_out,et=n.output,h=a-(e-n.avail_out),s=a+(n.avail_out-257),c=N.dmax,u=N.wsize,g=N.whave,v=N.wnext,y=N.window,p=N.hold,C=N.bits,k=N.lencode,I=N.distcode,L=(1<<N.lenbits)-1,q=(1<<N.distbits)-1;t:do{C<15&&(p+=R[r++]<<C,C+=8,p+=R[r++]<<C,C+=8),z=k[p&L];e:for(;;){if(D=z>>>24,p>>>=D,C-=D,D=z>>>16&255,0===D)et[a++]=65535&z;else{if(!(16&D)){if(0==(64&D)){z=k[(65535&z)+(p&(1<<D)-1)];continue e}if(32&D){N.mode=16191;break t}n.msg="invalid literal/length code",N.mode=Bs;break t}ct=65535&z,D&=15,D&&(C<D&&(p+=R[r++]<<C,C+=8),ct+=p&(1<<D)-1,p>>>=D,C-=D),C<15&&(p+=R[r++]<<C,C+=8,p+=R[r++]<<C,C+=8),z=I[p&q];n:for(;;){if(D=z>>>24,p>>>=D,C-=D,D=z>>>16&255,!(16&D)){if(0==(64&D)){z=I[(65535&z)+(p&(1<<D)-1)];continue n}n.msg="invalid distance code",N.mode=Bs;break t}if(_t=65535&z,D&=15,C<D&&(p+=R[r++]<<C,C+=8,C<D&&(p+=R[r++]<<C,C+=8)),_t+=p&(1<<D)-1,_t>c){n.msg="invalid distance too far back",N.mode=Bs;break t}if(p>>>=D,C-=D,D=a-h,_t>D){if(D=_t-D,D>g&&N.sane){n.msg="invalid distance too far back",N.mode=Bs;break t}if(gt=0,Y=y,0===v){if(gt+=u-D,D<ct){ct-=D;do{et[a++]=y[gt++]}while(--D);gt=a-_t,Y=et}}else if(v<D){if(gt+=u+v-D,D-=v,D<ct){ct-=D;do{et[a++]=y[gt++]}while(--D);if(gt=0,v<ct){D=v,ct-=D;do{et[a++]=y[gt++]}while(--D);gt=a-_t,Y=et}}}else if(gt+=v-D,D<ct){ct-=D;do{et[a++]=y[gt++]}while(--D);gt=a-_t,Y=et}for(;ct>2;)et[a++]=Y[gt++],et[a++]=Y[gt++],et[a++]=Y[gt++],ct-=3;ct&&(et[a++]=Y[gt++],ct>1&&(et[a++]=Y[gt++]))}else{gt=a-_t;do{et[a++]=et[gt++],et[a++]=et[gt++],et[a++]=et[gt++],ct-=3}while(ct>2);ct&&(et[a++]=et[gt++],ct>1&&(et[a++]=et[gt++]))}break}}break}}while(r<i&&a<s);ct=C>>
vendor: 10,005 bytes, line 1
13,r-=ct,C-=ct<<3,p&=(1<<C)-1,n.next_in=r,n.next_out=a,n.avail_in=r<i?i-r+5:5-(r-i),n.avail_out=a<s?s-a+257:257-(a-s),N.hold=p,N.bits=C};const rd=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]),id=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),ad=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]),od=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]);var qo=(t,n,e,r,i,a,h,s)=>{const c=s.bits;let z,D,ct,_t,gt,R,u=0,g=0,v=0,y=0,p=0,C=0,k=0,I=0,L=0,q=0,Y=null;const et=new Uint16Array(16),N=new Uint16Array(16);let Z,U,ft,E=null;for(u=0;u<=15;u++)et[u]=0;for(g=0;g<r;g++)et[n[e+g]]++;for(p=c,y=15;y>=1&&0===et[y];y--);if(p>y&&(p=y),0===y)return i[a++]=20971520,i[a++]=20971520,s.bits=1,0;for(v=1;v<y&&0===et[v];v++);for(p<v&&(p=v),I=1,u=1;u<=15;u++)if(I<<=1,I-=et[u],I<0)return-1;if(I>0&&(0===t||1!==y))return-1;for(N[1]=0,u=1;u<15;u++)N[u+1]=N[u]+et[u];for(g=0;g<r;g++)0!==n[e+g]&&(h[N[n[e+g]]++]=g);if(0===t?(Y=E=h,R=20):1===t?(Y=rd,E=id,R=257):(Y=ad,E=od,R=0),q=0,g=0,u=v,gt=a,C=p,k=0,ct=-1,L=1<<p,_t=L-1,1===t&&L>852||2===t&&L>592)return 1;for(;;){Z=u-k,h[g]+1<R?(U=0,ft=h[g]):h[g]>=R?(U=E[h[g]-R],ft=Y[h[g]-R]):(U=96,ft=0),z=1<<u-k,D=1<<C,v=D;do{D-=z,i[gt+(q>>k)+D]=Z<<24|U<<16|ft|0}while(0!==D);for(z=1<<u-1;q&z;)z>>=1;if(0!==z?(q&=z-1,q+=z):q=0,g++,0==--et[u]){if(u===y)break;u=n[e+h[g]]}if(u>p&&(q&_t)!==ct){for(0===k&&(k=p),gt+=v,C=u-k,I=1<<C;C+k<y&&(I-=et[C+k],!(I<=0));)C++,I<<=1;if(L+=1<<C,1===t&&L>852||2===t&&L>592)return 1;ct=q&_t,i[ct]=p<<24|C<<16|gt-a|0}}return 0!==q&&(i[gt+q]=u-k<<24|64<<16|0),s.bits=p,0};const{Z_FINISH:Nu,Z_BLOCK:ld,Z_TREES:Os,Z_OK:wa,Z_STREAM_END:hd,Z_NEED_DICT:cd,Z_STREAM_ERROR:Ir,Z_DATA_ERROR:Su,Z_MEM_ERROR:ku,Z_BUF_ERROR:ud,Z_DEFLATED:Pu}=ga,Ms=16180,Ds=16190,yi=16191,Rs=16199,js=16200,dn=16209,Xu=t=>(t>>>24&255)+(t>>>8&65280)+((65280&t)<<8)+((255&t)<<24);function gd(){this.strm=null,this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new Uint16Array(320),this.work=new Uint16Array(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}const ya=t=>{if(!t)return 1;const n=t.state;return!n||n.strm!==t||n.mode<Ms||n.mode>16211?1:0},Qu=t=>{if(ya(t))return Ir;const n=t.state;return t.total_in=t.total_out=n.total=0,t.msg="",n.wrap&&(t.adler=1&n.wrap),n.mode=Ms,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(852),n.distcode=n.distdyn=new Int32Array(592),n.sane=1,n.back=-1,wa},tf=t=>{if(ya(t))return Ir;const n=t.state;return n.wsize=0,n.whave=0,n.wnext=0,Qu(t)},ef=(t,n)=>{let e;if(ya(t))return Ir;const r=t.state;return n<0?(e=0,n=-n):(e=5+(n>>4),n<48&&(n&=15)),n&&(n<8||n>15)?Ir:(null!==r.window&&r.wbits!==n&&(r.window=null),r.wrap=e,r.wbits=n,tf(t))},nf=(t,n)=>{if(!t)return Ir;const e=new gd;t.state=e,e.strm=t,e.window=null,e.mode=Ms;const r=ef(t,n);return r!==wa&&(t.state=null),r};let yh,_h,rf=!0;const vd=t=>{if(rf){yh=new Int32Array(512),_h=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(qo(1,t.lens,0,288,yh,0,t.work,{bits:9}),n=0;n<32;)t.lens[n++]=5;qo(2,t.lens,0,32,_h,0,t.work,{bits:5}),rf=!1}t.lencode=yh,t.lenbits=9,t.distcode=_h,t.distbits=5},af=(t,n,e,r)=>{let i;const a=t.state;return null===a.window&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0,a.window=new Uint8Array(a.wsize)),r>=a.wsize?(a.window.set(n.subarray(e-a.wsize,e),0),a.wnext=0,a.whave=a.wsize):(i=a.wsize-a.wnext,i>r&&(i=r),a.window.set(n.subarray(e-r,e-r+i),a.wnext),(r-=i)?(a.window.set(n.subarray(e-r,e),0),a.wnext=r,a.whave=a.wsize):(a.wnext+=i,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=i))),0};var _i_inflateReset=tf,_i_inflateInit2=nf,_i_inflate=(t,n)=>{let e,r,i,a,h,s,c,u,g,v,y,p,C,k,L,q,z,D,ct,_t,gt,Y,I=0;const R=new Uint8Array(4);let et,N;const E=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(ya(t)||!t.output||!t.input&&0!==t.avail_in)return Ir;e=t.state,e.mode===yi&&(e.mode=16192),h=t.next_out,i=t.output,c=t.avail_out,a=t.next_in,r=t.input,s=t.avail_in,u=e.hold,g=e.bits,v=s,y=c,Y=wa;t:for(;;)switch(e.mode){case Ms:if(0===e.wrap){e.mode=16192;break}for(;g<16;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}if(2&e.wrap&&35615===u){0===e.wbits&&(e.wbits=15),e.check=0,R[0]=255&u,R[1]=u>>>8&255,e.check=qn(e.check,R,2,0),u=0,g=0,e.mode=16181;break}if(e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&u)<<8)+(u>>8))%31){t.msg="incorrect header check",e.mode=dn;break}if((15&u)!==Pu){t.msg="unknown compression method",e.mode=dn;break}if(u>>>=4,g-=4,gt=8+(15&u),0===e.wbits&&(e.wbits=gt),gt>15||gt>e.wbits){t.msg="invalid window size",e.mode=dn;break}e.dmax=1<<e.wbits,e.flags=0,t.adler=e.check=1,e.mode=512&u?16189:yi,u=0,g=0;break;case 16181:for(;g<16;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}if(e.flags=u,(255&e.flags)!==Pu){t.msg="unknown compression method",e.mode=dn;break}if(57344&e.flags){t.msg="unknown header flags set",e.mode=dn;break}e.head&&(e.head.text=u>>8&1),512&e.flags&&4&e.wrap&&(R[0]=255&u,R[1]=u>>>8&255,e.check=qn(e.check,R,2,0)),u=0,g=0,e.mode=16182;case 16182:for(;g<32;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}e.head&&(e.head.time=u),512&e.flags&&4&e.wrap&&(R[0]=255&u,R[1]=u>>>8&255,R[2]=u>>>16&255,R[3]=u>>>24&255,e.check=qn(e.check,R,4,0)),u=0,g=0,e.mode=16183;case 16183:for(;g<16;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}e.head&&(e.head.xflags=255&u,e.head.os=u>>8),512&e.flags&&4&e.wrap&&(R[0]=255&u,R[1]=u>>>8&255,e.check=qn(e.check,R,2,0)),u=0,g=0,e.mode=16184;case 16184:if(1024&e.flags){for(;g<16;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}e.length=u,e.head&&(e.head.extra_len=u),512&e.flags&&4&e.wrap&&(R[0]=255&u,R[1]=u>>>8&255,e.check=qn(e.check,R,2,0)),u=0,g=0}else e.head&&(e.head.extra=null);e.mode=16185;case 16185:if(1024&e.flags&&(p=e.length,p>s&&(p=s),p&&(e.head&&(gt=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(r.subarray(a,a+p),gt)),512&e.flags&&4&e.wrap&&(e.check=qn(e.check,r,p,a)),s-=p,a+=p,e.length-=p),e.length))break t;e.length=0,e.mode=16186;case 16186:if(2048&e.flags){if(0===s)break t;p=0;do{gt=r[a+p++],e.head&&gt&&e.length<65536&&(e.head.name+=String.fromCharCode(gt))}while(gt&&p<s);if(512&e.flags&&4&e.wrap&&(e.check=qn(e.check,r,p,a)),s-=p,a+=p,gt)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=16187;case 16187:if(4096&e.flags){if(0===s)break t;p=0;do{gt=r[a+p++],e.head&&gt&&e.length<65536&&(e.head.comment+=String.fromCharCode(gt))}while(gt&&p<s);if(512&e.flags&&4&e.wrap&&(e.check=qn(e.check,r,p,a)),s-=p,a+=p,gt)break t}else e.head&&(e.head.comment=null);e.mode=16188;case 16188:if(512&e.flags){for(;g<16;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}if(4&e.wrap&&u!==(65535&e.check)){t.msg="header crc mismatch",e.mode=dn;break}u=0,g=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),t.adler=e.check=0,e.mode=yi;break;case 16189:for(;g<32;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}t.adler=e.check=Xu(u),u=0,g=0,e.mode=Ds;case Ds:if(0===e.havedict)return t.next_out=h,t.avail_out=c,t.next_in=a,t.avail_in=s,e.hold=u,e.bits=g,cd;t.adler=e.check=1,e.mode=yi;case yi:if(n===ld||n===Os)break t;case 16192:if(e.last){u>>>=7&g,g-=7&g,e.mode=16206;break}for(;g<3;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}switch(e.last=1&u,u>>>=1,g-=1,3&u){case 0:e.mode=16193;break;case 1:if(vd(e),e.mode=Rs,n===Os){u>>>=2,g-=2;break t}break;case 2:e.mode=16196;break;case 3:t.msg="invalid block type",e.mode=dn}u>>>=2,g-=2;break;case 16193:for(u>>>=7&g,g-=7&g;g<32;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}if((65535&u)!=(u>>>16^65535)){t.msg="invalid stored block lengths",e.mode=dn;break}if(e.length=65535&u,u=0,g=0,e.mode=16194,n===Os)break t;case 16194:e.mode=16195;case 16195:if(p=e.length,p){if(p>s&&(p=s),p>c&&(p=c),0===p)break t;i.set(r.subarray(a,a+p),h),s-=p,a+=p,c-=p,h+=p,e.length-=p;break}e.mode=yi;break;case 16196:for(;g<14;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}if(e.nlen=257+(31&u),u>>>=5,g-=5,e.ndist=1+(31&u),u>>>=5,g-=5,e.ncode=4+(15&u),u>>>=4,g-=4,e.nlen>286||e.ndist>30){t.msg="too many length or distance symbols",e.mode=dn;break}e.have=0,e.mode=16197;case 16197:for(;e.have<e.ncode;){for(;g<3;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}e.lens[E[e.have++]]=7&u,u>>>=3,g-=3}for(;e.have<19;)e.lens[E[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,et={bits:e.lenbits},Y=qo(0,e.lens,0,19,e.lencode,0,e.work,et),e.lenbits=et.bits,Y){t.msg="invalid code lengths set",e.mode=dn;break}e.have=0,e.mode=16198;case 16198:for(;e.have<e.nlen+e.ndist;){for(;I=e.lencode[u&(1<<e.lenbits)-1],L=I>>>24,q=I>>>16&255,z=65535&I,!(L<=g);){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}if(z<16)u>>>=L,g-=L,e.lens[e.have++]=z;else{if(16===z){for(N=L+2;g<N;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}if(u>>>=L,g-=L,0===e.have){t.msg="invalid bit length repeat",e.mode=dn;break}gt=e.lens[e.have-1],p=3+(3&u),u>>>=2,g-=2}else if(17===z){for(N=L+3;g<N;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}u>>>=L,g-=L,gt=0,p=3+(7&u),u>>>=3,g-=3}else{for(N=L+7;g<N;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}u>>>=L,g-=L,gt=0,p=11+(127&u),u>>>=7,g-=7}if(e.have+p>e.nlen+e.ndist){t.msg="invalid bit length repeat",e.mode=dn;break}for(;p--;)e.lens[e.have++]=gt}}if(e.mode===dn)break;if(0===e.lens[256]){t.msg="invalid code -- missing end-of-block",e.mode=dn;break}if(e.lenbits=9,et={bits:e.lenbits},Y=qo(1,e.lens,0,e.nlen,e.lencode,0,e.work,et),e.lenbits=et.bits,Y){t.msg="invalid literal/lengths set",e.mode=dn;break}if(e.distbits=6,e.distcode=e.distdyn,et={bits:e.distbits}
1,Y=qo(2,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,et),e.distbits=et.bits,Y){t.msg="invalid distances set",e.mode=dn;break}if(e.mode=Rs,n===Os)break t;case Rs:e.mode=js;case js:if(s>=6&&c>=258){t.next_out=h,t.avail_out=c,t.next_in=a,t.avail_in=s,e.hold=u,e.bits=g,nd(t,y),h=t.next_out,i=t.output,c=t.avail_out,a=t.next_in,r=t.input,s=t.avail_in,u=e.hold,g=e.bits,e.mode===yi&&(e.back=-1);break}for(e.back=0;I=e.lencode[u&(1<<e.lenbits)-1],L=I>>>24,q=I>>>16&255,z=65535&I,!(L<=g);){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}if(q&&0==(240&q)){for(D=L,ct=q,_t=z;I=e.lencode[_t+((u&(1<<D+ct)-1)>>D)],L=I>>>24,q=I>>>16&255,z=65535&I,!(D+L<=g);){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}u>>>=D,g-=D,e.back+=D}if(u>>>=L,g-=L,e.back+=L,e.length=z,0===q){e.mode=16205;break}if(32&q){e.back=-1,e.mode=yi;break}if(64&q){t.msg="invalid literal/length code",e.mode=dn;break}e.extra=15&q,e.mode=16201;case 16201:if(e.extra){for(N=e.extra;g<N;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}e.length+=u&(1<<e.extra)-1,u>>>=e.extra,g-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=16202;case 16202:for(;I=e.distcode[u&(1<<e.distbits)-1],L=I>>>24,q=I>>>16&255,z=65535&I,!(L<=g);){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}if(0==(240&q)){for(D=L,ct=q,_t=z;I=e.distcode[_t+((u&(1<<D+ct)-1)>>D)],L=I>>>24,q=I>>>16&255,z=65535&I,!(D+L<=g);){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}u>>>=D,g-=D,e.back+=D}if(u>>>=L,g-=L,e.back+=L,64&q){t.msg="invalid distance code",e.mode=dn;break}e.offset=z,e.extra=15&q,e.mode=16203;case 16203:if(e.extra){for(N=e.extra;g<N;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}e.offset+=u&(1<<e.extra)-1,u>>>=e.extra,g-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){t.msg="invalid distance too far back",e.mode=dn;break}e.mode=16204;case 16204:if(0===c)break t;if(p=y-c,e.offset>p){if(p=e.offset-p,p>e.whave&&e.sane){t.msg="invalid distance too far back",e.mode=dn;break}p>e.wnext?(p-=e.wnext,C=e.wsize-p):C=e.wnext-p,p>e.length&&(p=e.length),k=e.window}else k=i,C=h-e.offset,p=e.length;p>c&&(p=c),c-=p,e.length-=p;do{i[h++]=k[C++]}while(--p);0===e.length&&(e.mode=js);break;case 16205:if(0===c)break t;i[h++]=e.length,c--,e.mode=js;break;case 16206:if(e.wrap){for(;g<32;){if(0===s)break t;s--,u|=r[a++]<<g,g+=8}if(y-=c,t.total_out+=y,e.total+=y,4&e.wrap&&y&&(t.adler=e.check=e.flags?qn(e.check,i,y,h-y):Fo(e.check,i,y,h-y)),y=c,4&e.wrap&&(e.flags?u:Xu(u))!==e.check){t.msg="incorrect data check",e.mode=dn;break}u=0,g=0}e.mode=16207;case 16207:if(e.wrap&&e.flags){for(;g<32;){if(0===s)break t;s--,u+=r[a++]<<g,g+=8}if(4&e.wrap&&u!==(4294967295&e.total)){t.msg="incorrect length check",e.mode=dn;break}u=0,g=0}e.mode=16208;case 16208:Y=hd;break t;case dn:Y=Su;break t;case 16210:return ku;default:return Ir}return t.next_out=h,t.avail_out=c,t.next_in=a,t.avail_in=s,e.hold=u,e.bits=g,(e.wsize||y!==t.avail_out&&e.mode<dn&&(e.mode<16206||n!==Nu))&&af(t,t.output,t.next_out,y-t.avail_out),v-=t.avail_in,y-=t.avail_out,t.total_in+=v,t.total_out+=y,e.total+=y,4&e.wrap&&y&&(t.adler=e.check=e.flags?qn(e.check,i,y,t.next_out-y):Fo(e.check,i,y,t.next_out-y)),t.data_type=e.bits+(e.last?64:0)+(e.mode===yi?128:0)+(e.mode===Rs||16194===e.mode?256:0),(0===v&&0===y||n===Nu)&&Y===wa&&(Y=ud),Y},_i_inflateEnd=t=>{if(ya(t))return Ir;let n=t.state;return n.window&&(n.window=null),t.state=null,wa},_i_inflateGetHeader=(t,n)=>{if(ya(t))return Ir;const e=t.state;return 0==(2&e.wrap)?Ir:(e.head=n,n.done=!1,wa)},_i_inflateSetDictionary=(t,n)=>{const e=n.length;let r,i,a;return ya(t)||(r=t.state,0!==r.wrap&&r.mode!==Ds)?Ir:r.mode===Ds&&(i=1,i=Fo(i,n,e,0),i!==r.check)?Su:(a=af(t,n,e,e),a?(r.mode=16210,ku):(r.havedict=1,wa))},Fd=function Td(){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};const of=Object.prototype.toString,{Z_NO_FLUSH:Bd,Z_FINISH:Od,Z_OK:Ho,Z_STREAM_END:xh,Z_NEED_DICT:Ah,Z_STREAM_ERROR:Md,Z_DATA_ERROR:sf,Z_MEM_ERROR:Dd}=ga;function Zo(t){this.options=Ts_assign({chunkSize:65536,windowBits:15,to:""},t||{});const n=this.options;n.raw&&n.windowBits>=0&&n.windowBits<16&&(n.windowBits=-n.windowBits,0===n.windowBits&&(n.windowBits=-15)),n.windowBits>=0&&n.windowBits<16&&!(t&&t.windowBits)&&(n.windowBits+=32),n.windowBits>15&&n.windowBits<48&&0==(15&n.windowBits)&&(n.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new vu,this.strm.avail_out=0;let e=_i_inflateInit2(this.strm,n.windowBits);if(e!==Ho)throw new Error(pa[e]);if(this.header=new Fd,_i_inflateGetHeader(this.strm,this.header),n.dictionary&&("string"==typeof n.dictionary?n.dictionary=zo_string2buf(n.dictionary):"[object ArrayBuffer]"===of.call(n.dictionary)&&(n.dictionary=new Uint8Array(n.dictionary)),n.raw&&(e=_i_inflateSetDictionary(this.strm,n.dictionary),e!==Ho)))throw new Error(pa[e])}function Lh(t,n){const e=new Zo(n);if(e.push(t),e.err)throw e.msg||pa[e.err];return e.result}Zo.prototype.push=function(t,n){const e=this.strm,r=this.options.chunkSize,i=this.options.dictionary;let a,h,s;if(this.ended)return!1;
vendor: 7,537 bytes, line 1
1for(h=n===~~n?n:!0===n?Od:Bd,e.input="[object ArrayBuffer]"===of.call(t)?new Uint8Array(t):t,e.next_in=0,e.avail_in=e.input.length;;){for(0===e.avail_out&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),a=_i_inflate(e,h),a===Ah&&i&&(a=_i_inflateSetDictionary(e,i),a===Ho?a=_i_inflate(e,h):a===sf&&(a=Ah));e.avail_in>0&&a===xh&&e.state.wrap>0&&0!==t[e.next_in];)_i_inflateReset(e),a=_i_inflate(e,h);switch(a){case Md:case sf:case Ah:case Dd:return this.onEnd(a),this.ended=!0,!1}if(s=e.avail_out,e.next_out&&(0===e.avail_out||a===xh))if("string"===this.options.to){let c=zo_utf8border(e.output,e.next_out),u=e.next_out-c,g=zo_buf2string(e.output,c);e.next_out=u,e.avail_out=r-u,u&&e.output.set(e.output.subarray(c,c+u),0),this.onData(g)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out));if(a!==Ho||0!==s){if(a===xh)return a=_i_inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(0===e.avail_in)break}}return!0},Zo.prototype.onData=function(t){this.chunks.push(t)},Zo.prototype.onEnd=function(t){t===Ho&&(this.result="string"===this.options.to?this.chunks.join(""):Ts_flattenChunks(this.chunks)),this.chunks=[],this.err=t,this.msg=this.strm.msg};var Zd={Inflate:Zo,inflate:Lh,inflateRaw:function Rd(t,n){return(n=n||{}).raw=!0,Lh(t,n)},ungzip:Lh,constants:ga};const{Inflate:Yd,inflate:Kd}=Zd;var Nh=Yd,lf=Kd;const hf=[];for(let t=0;t<256;t++){let n=t;for(let e=0;e<8;e++)1&n?n=3988292384^n>>>1:n>>>=1;hf[t]=n}const cf=4294967295;function ff(t,n,e){const r=t.readUint32(),i=function uf(t,n){return(function o5(t,n,e){let r=t;for(let i=0;i<e;i++)r=hf[255&(r^n[i])]^r>>>8;return r}(cf,t,n)^cf)>>>0}(new Uint8Array(t.buffer,t.byteOffset+t.offset-n-4,n),n);if(i!==r)throw new Error(`CRC mismatch for chunk ${e}. Expected ${r}, found ${i}`)}function df(t,n,e){for(let r=0;r<e;r++)n[r]=t[r]}function pf(t,n,e,r){let i=0;for(;i<r;i++)n[i]=t[i];for(;i<e;i++)n[i]=t[i]+n[i-r]&255}function gf(t,n,e,r){let i=0;if(0===e.length)for(;i<r;i++)n[i]=t[i];else for(;i<r;i++)n[i]=t[i]+e[i]&255}function mf(t,n,e,r,i){let a=0;if(0===e.length){for(;a<i;a++)n[a]=t[a];for(;a<r;a++)n[a]=t[a]+(n[a-i]>>1)&255}else{for(;a<i;a++)n[a]=t[a]+(e[a]>>1)&255;for(;a<r;a++)n[a]=t[a]+(n[a-i]+e[a]>>1)&255}}function vf(t,n,e,r,i){let a=0;if(0===e.length){for(;a<i;a++)n[a]=t[a];for(;a<r;a++)n[a]=t[a]+n[a-i]&255}else{for(;a<i;a++)n[a]=t[a]+e[a]&255;for(;a<r;a++)n[a]=t[a]+s5(n[a-i],e[a],e[a-i])&255}}function s5(t,n,e){const r=t+n-e,i=Math.abs(r-t),a=Math.abs(r-n),h=Math.abs(r-e);return i<=a&&i<=h?t:a<=h?n:e}function l5(t,n,e,r,i,a){switch(t){case 0:df(n,e,i);break;case 1:pf(n,e,i,a);break;case 2:gf(n,e,r,i);break;case 3:mf(n,e,r,i,a);break;case 4:vf(n,e,r,i,a);break;default:throw new Error(`Unsupported filter: ${t}`)}}const h5=new Uint16Array([255]),c5=255===new Uint8Array(h5.buffer)[0];function f5(t){return(255&t)<<8|t>>8&255}const d5=new Uint16Array([255]),p5=255===new Uint8Array(d5.buffer)[0],g5=new Uint8Array(0);function bf(t){const{data:n,width:e,height:r,channels:i,depth:a}=t,h=Math.ceil(a/8)*i,s=Math.ceil(a/8*i*e),c=new Uint8Array(r*s);let v,y,u=g5,g=0;for(let p=0;p<r;p++){switch(v=n.subarray(g+1,g+1+s),y=c.subarray(p*s,(p+1)*s),n[g]){case 0:df(v,y,s);break;case 1:pf(v,y,s,h);break;case 2:gf(v,y,u,s);break;case 3:mf(v,y,u,s,h);break;case 4:vf(v,y,u,s,h);break;default:throw new Error(`Unsupported filter: ${n[g]}`)}u=y,g+=s+1}if(16===a){const p=new Uint16Array(c.buffer);if(p5)for(let C=0;C<p.length;C++)p[C]=m5(p[C]);return p}return c}function m5(t){return(255&t)<<8|t>>8&255}const Wo=Uint8Array.of(137,80,78,71,13,10,26,10);function wf(t){if(!function v5(t){if(t.length<Wo.length)return!1;for(let n=0;n<Wo.length;n++)if(t[n]!==Wo[n])return!1;return!0}(t.readBytes(Wo.length)))throw new Error("wrong PNG signature")}const xf=new TextDecoder("latin1");function Af(t){if(function Lf(t){if(!b5.test(t))throw new Error("invalid latin1 text")}(t),0===t.length||t.length>79)throw new Error("keyword length must be between 1 and 79")}const b5=/^[\u0000-\u00FF]*$/;function Nf(t){for(t.mark();0!==t.readByte(););const n=t.offset;t.reset();const e=xf.decode(t.readBytes(n-t.offset-1));return t.skip(1),Af(e),e}class _5 extends $l{constructor(e,r={}){super(e),Je(this,"_checkCrc"),Je(this,"_inflator"),Je(this,"_png"),Je(this,"_apng"),Je(this,"_end"),Je(this,"_hasPalette"),Je(this,"_palette"),Je(this,"_hasTransparency"),Je(this,"_transparency"),Je(this,"_compressionMethod"),Je(this,"_filterMethod"),Je(this,"_interlaceMethod"),Je(this,"_colorType"),Je(this,"_isAnimated"),Je(this,"_numberOfFrames"),Je(this,"_numberOfPlays"),Je(this,"_frames"),Je(this,"_writingDataChunks");const{checkCrc:i=!1}=r;this._checkCrc=i,this._inflator=new Nh,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=-1,this._filterMethod=-1,this._interlaceMethod=-1,this._colorType=-1,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(wf(this);!this._end;){const e=this.readUint32(),r=this.readChars(4);this.decodeChunk(e,r)}return this.decodeImage(),this._png}decodeApng(){for(wf(this);!this._end;){const e=this.readUint32(),r=this.readChars(4);this.decodeApngChunk(e,r)}return this.decodeApngImage(),this._apng}decodeChunk(e,r){const i=this.offset;switch(r){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(e);break;case"IDAT":this.decodeIDAT(e);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(e);break;case"iCCP":this.decodeiCCP(e);break;case"tEXt":!function w5(t,n,e){const r=Nf(n);t[r]=function y5(t,n){return xf.decode(t.readBytes(n))}(n,e-r.length-1)}(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e)}if(this.offset-i!==e)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?ff(this,e+4,r):this.skip(4)}decodeApngChunk(e,r){const i=this.offset;switch("fdAT"!==r&&"IDAT"!==r&&this._writingDataChunks&&this.pushDataToFrame(),r){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,r),this.offset=i+e}if(this.offset-i!==e)throw new Error(`Length mismatch while decoding chunk ${r}`);this._checkCrc?ff(this,e+4,r):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=function x5(t){if(1!==t&&2!==t&&4!==t&&8!==t&&16!==t)throw new Error(`invalid bit depth: ${t}`);return t}(this.readUint8());const r=this.readUint8();let i;switch(this._colorType=r,r){case 0:case 3:i=1;break;case 2:i=3;break;case 4:i=2;break;case 6:i=4;break;default:throw new Error(`Unknown color type: ${r}`)}if(this._png.channels=i,this._compressionMethod=this.readUint8(),0!==this._compressionMethod)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}
1decodePLTE(e){if(e%3!=0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const r=e/3;this._hasPalette=!0;const i=[];this._palette=i;for(let a=0;a<r;a++)i.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){if(this._writingDataChunks=!0,this._inflator.push(new Uint8Array(this.buffer,this.offset+this.byteOffset,e)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let r=e,i=this.offset+this.byteOffset;if(i+=4,r-=4,this._inflator.push(new Uint8Array(this.buffer,i,r)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case 0:case 2:if(e%2!=0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let r=0;r<e/2;r++)this._transparency[r]=this.readUint16();break;case 3:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alph
1a values than there are palette colors (${e} vs ${this._palette.length})`);let r=0;for(;r<e;r++){const i=this.readByte();this._palette[r].push(i)}for(;r<this._palette.length;r++)this._palette[r].push(255);break}default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const r=Nf(this),i=this.readUint8();if(0!==i)throw new Error(`Unsupported iCCP compression method: ${i}`);const a=this.readBytes(e-r.length-2);this._png.iccEmbeddedProfile={name:r,profile:lf(a)}}decodepHYs(){const e=this.readUint32(),r=this.readUint32(),i=this.readByte();this._png.resolution={x:e,y:r,unit:i}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let e=0;e<this._numberOfFrames;e++){const r={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},i=this._frames.at(e);if(i){if(i.data=bf({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),0===e||0===i.xOffset&&0===i.yOffset&&i.width===this._png.width&&i.height===this._png.height)r.data=i.data;else{const a=this._apng.frames.at(e-1);this.disposeFrame(i,a,r),this.addFrameDataToCanvas(r,i)}this._apng.frames.push(r)}}return this._apng}disposeFrame(e,r,i){switch(e.disposeOp){case 0:break;case 1:for(let a=0;a<this._png.height;a++)for(let h=0;h<this._png.width;h++){const s=(a*e.width+h)*this._png.channels;for(let c=0;c<this._png.channels;c++)i.data[s+c]=0}break;case 2:i.data.set(r.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,r){const i=1<<this._png.depth,a=(h,s)=>({index:((h+r.yOffset)*this._png.width+r.xOffset+s)*this._png.channels,frameIndex:(h*r.width+s)*this._png.channels});switch(r.blendOp){case 0:for(let h=0;h<r.height;h++)for(let s=0;s<r.width;s++){const{index:c,frameIndex:u}=a(h,s);for(let g=0;g<this._png.channels;g++)e.data[c+g]=r.data[u+g]}break;case 1:for(let h=0;h<r.height;h++)for(let s=0;s<r.width;s++){const{index:c,frameIndex:u}=a(h,s);for(let g=0;g<this._png.channels;g++){const v=r.data[u+this._png.channels-1]/i,p=Math.floor(v*(g%(this._png.channels-1)==0?1:r.data[u+g])+(1-v)*e.data[c+g]);e.data[c+g]+=p}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const e=this._isAnimated?this._frames?.at(0).data:this._inflator.result;if(0!==this._filterMethod)throw new Error(`Filter method ${this._filterMethod} not supported`);if(0===this._interlaceMethod)this._png.data=bf({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else{if(1!==this._interlaceMethod)throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._png.data=function u5(t){const{data:n,width:e,height:r,channels:i,depth:a}=t,h=[{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}],s=Math.ceil(a/8)*i,c=new Uint8Array(r*e*s);let u=0;for(let g=0;g<7;g++){const v=h[g],y=Math.ceil((e-v.x)/v.xStep),p=Math.ceil((r-v.y)/v.yStep);if(y<=0||p<=0)continue;const C=y*s,k=new Uint8Array(C);for(let I=0;I<p;I++){const L=n[u++],q=n.subarray(u,u+C);u+=C;const z=new Uint8Array(C);l5(L,q,z,k,C,s),k.set(z);for(let D=0;D<y;D++){const ct=v.x+D*v.xStep,_t=v.y+I*v.yStep;if(!(ct>=e||_t>=r))for(let gt=0;gt<s;gt++)c[(_t*e+ct)*s+gt]=z[D*s+gt]}}}if(16===a){const g=new Uint16Array(c.buffer);if(c5)for(let v=0;v<g.length;v++)g[v]=f5(g[v]);return g}return c}({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth})}this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,r=this._frames.at(-1);r?r.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:0,blendOp:0,data:e}),this._inflator=new Nh,this._writingDataChunks=!1}}var ye=function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this}();function Ch(){ye.console&&"function"==typeof ye.console.log&&ye.console.log.apply(ye.console,arguments)}var an={log:Ch,warn:function(t){ye.console&&("function"==typeof ye.console.warn?ye.console.warn.apply(ye.console,arguments):Ch.call(null,arguments))},error:function(t){ye.console&&("function"==typeof ye.console.error?ye.console.error.apply(ye.console,arguments):Ch(t))}};function Ih(t,n,e){var r=new XMLHttpRequest;r.open("GET",t),r.responseType="blob",r.onload=function(){_a(r.response,n,e)},r.onerror=function(){an.error("could not download file")},r.send()}function Pf(t){var n=new XMLHttpRequest;n.open("HEAD",t,!1);try{n.send()}catch{}return n.status>=200&&n.status<=299}function Us(t){try{t.dispatchEvent(new MouseEvent("click"))}catch{var n=document.createEvent("MouseEvents");
vendor: 3,246 bytes, line 1
1n.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),t.dispatchEvent(n)}}var _a=ye.saveAs||("object"!==(typeof window>"u"?"undefined":(0,ut.Z)(window))||window!==ye?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(t,n,e){var r=ye.URL||ye.webkitURL,i=document.createElement("a");i.download=n=n||t.name||"download",i.rel="noopener","string"==typeof t?(i.href=t,i.origin!==location.origin?Pf(i.href)?Ih(t,n,e):Us(i,i.target="_blank"):Us(i)):(i.href=r.createObjectURL(t),setTimeout(function(){r.revokeObjectURL(i.href)},4e4),setTimeout(function(){Us(i)},0))}:"msSaveOrOpenBlob"in navigator?function(t,n,e){if(n=n||t.name||"download","string"==typeof t)if(Pf(t))Ih(t,n,e);else{var r=document.createElement("a");r.href=t,r.target="_blank",setTimeout(function(){Us(r)})}else navigator.msSaveOrOpenBlob((i=t,void 0===(a=e)?a={autoBom:!1}:"object"!==(0,ut.Z)(a)&&(an.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(i.type)?new Blob([String.fromCharCode(65279),i],{type:i.type}):i),n);var i,a}:function(t,n,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof t)return Ih(t,n,e);var i="application/octet-stream"===t.type,a=/constructor/i.test(ye.HTMLElement)||ye.safari,h=/CriOS\/[\d]+/.test(navigator.userAgent);if((h||i&&a)&&"object"===(typeof FileReader>"u"?"undefined":(0,ut.Z)(FileReader))){var s=new FileReader;s.onloadend=function(){var g=s.result;g=h?g:g.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=g:location=g,r=null},s.readAsDataURL(t)}else{var c=ye.URL||ye.webkitURL,u=c.createObjectURL(t);r?r.location=u:location.href=u,r=null,setTimeout(function(){c.revokeObjectURL(u)},4e4)}});function Cf(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
10",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(s){return[parseInt(s[1]),parseInt(s[2]),parseInt(s[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(s){return[parseInt(s[1],16),parseInt(s[2],16),parseInt(s[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(s){return[parseInt(s[1]+s[1],16),parseInt(s[2]+s[2],16),parseInt(s[3]+s[3],16)]}}],r=0;r<e.length;r++){var a=e[r].process,h=e[r].re.exec(t);h&&(n=a(h),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 s=this.r.toString(16),c=this.g.toString(16),u=this.b.toString(16);return 1==s.length&&(s="0"+s),1==c.length&&(c="0"+c),1==u.length&&(u="0"+u),"#"+s+c+u}}var qs=ye.atob.bind(ye),If=ye.btoa.bind(ye);function Eh(t,n){var e=t[0],r=t[1],i=t[2],a=t[3];e=Xn(e,r,i,a,n[0],7,-680876936),a=Xn(a,e,r,i,n[1],12,-389564586),i=Xn(i,a,e,r,n[2],17,606105819),r=Xn(r,i,a,e,n[3],22,-1044525330),e=Xn(e,r,i,a,n[4],7,-176418897),a=Xn(a,e,r,i,n[5],12,1200080426),i=Xn(i,a,e,r,n[6],17,-1473231341),r=Xn(r,i,a,e,n[7],22,-45705983),e=Xn(e,r,i,a,n[8],7,1770035416),a=Xn(a,e,r,i,n[9],12,-1958414417),i=Xn(i,a,e,r,n[10],17,-42063),r=Xn(r,i,a,e,n[11],22,-1990404162),e=Xn(e,r,i,a,n[12],7,1804603682),a=Xn(a,e,r,i,n[13],12,-40341101),i=Xn(i,a,e,r,n[14],17,-1502002290),e=Qn(e,r=Xn(r,i,a,e,n[15],22,1236535329),i,a,n[1],5,-165796510),a=Qn(a,e,r,i,n[6],9,-1069501632),i=Qn(i,a,e,r,n[11],14,643717713),r=Qn(r,i,a,e,n[0],20,-373897302),e=Qn(e,r,i,a,n[5],5,-701558691),a=Qn(a,e,r,i,n[10],9,38016083),i=Qn(i,a,e,r,n[15],14,-660478335),r=Qn(r,i,a,e,n[4],20,-405537848),e=Qn(e,r,i,a,n[9],5,568446438),a=Qn(a,e,r,i,n[14],9,-1019803690),i=Qn(i,a,e,r,n[3],14,-187363961),r=Qn(r,i,a,e,n[8],20,1163531501),e=Qn(e,r,i,a,n[13],5,-1444681467),a=Qn(a,e,r,i,n[2],9,-51403784),i=Qn(i,a,e,r,n[7],14,1735328473),e=tr(e,r=Qn(r,i,a,e,n[12],20,-1926607734),i,a,n[5],4,-378558),a=tr(a,e,r,i,n[8],11,-2022574463),i=tr(i,a,e,r,n[11],16,1839030562),r=tr(r,i,a,e,n[14],23,-35309556),e=tr(e,r,i,a,n[1],4,-1530992060),a=tr(a,e,r,i,n[4],11,1272893353),i=tr(i,a,e,r,n[7],16,-155497632),r=tr(r,i,a,e,n[10],23,-1094730640),e=tr(e,r,i,a,n[13],4,681279174),a=tr(a,e,r,i,n[0],11,-358537222),i=tr(i,a,e,r,n[3],16,-722521979),r=tr(r,i,a,e,n[6],23,76029189),e=tr(e,r,i,a,n[9],4,-640364487),a=tr(a,e,r,i,n[12],11,-421815835),i=tr(i,a,e,r,n[15],16,530742520),e=er(e,r=tr(r,i,a,e,n[2],23,-995338651),i,a,n[0],6,-198630844),a=er(a,e,r,i,n[7],10,1126891415),i=er(i,a,e,r,n[14],15,-1416354905),r=er(r,i,a,e,n[5],21,-57434055),e=er(e,r,i,a,n[12],6,1700485571),a=er(a,e,r,i,n[3],10,-1894986606),i=er(i,a,e,r,n[10],15,-1051523),r=er(r,i,a,e,n[1],21,-2054922799),e=er(e,r,i,a,n[8],6,1873313359),a=er(a,e,r,i,n[15],10,-30611744),i=er(i,a,e,r,n[6],15,-1560198380),r=er(r,i,a,e,n[13],21,1309151649),e=er(e,r,i,a,n[4],6,-145523070),a=er(a,e,r,i,n[11],10,-1120210379),i=er(i,a,e,r,n[2],15,718787259),r=er(r,i,a,e,n[9],21,-343485551),t[0]=Gi(e,t[0]),t[1]=Gi(r,t[1]),t[2]=Gi(i,t[2]),t[3]=Gi(a,t[3])}function Hs(t,n,e,r,i,a){return n=Gi(Gi(n,t),Gi(r,a)),Gi(n<<i|n>>>32-i,e)}function Xn(t,n,e,r,i,a,h){return Hs(n&e|~n&r,t,n,i,a,h)}function Qn(t,n,e,r,i,a,h){return Hs(n&r|e&~r,t,n,i,a,h)}function tr(t,n,e,r,i,a,h){return Hs(n^e^r,t,n,i,a,h)}function er(t,n,e,r,i,a,h){return Hs(e^(n|~r),t,n,i,a,h)}function Ef(t){var n,e=t.length,r=[1732584193,-271733879,-1732584194,271733878];for(n=64;n<=t.length;n+=64)Eh(r,C5(t.substring(n-64,n)));t=t.substring(n-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(n=0;n<t.length;n++)i[n>>2]|=t.charCodeAt(n)<<(n%4<<3);if(i[n>>2]|=128<<(n%4<<3),n>55)for(Eh(r,i),n=0;n<16;n++)i[n]=0;return i[14]=8*e,Eh(r,i),r}function C5(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 Tf="0123456789abcdef".split("");function I5(t){for(var n="",e=0;e<4;e++)n+=Tf[t>>8*e+4&15]+Tf[t>>8*e&15];return n}function E5(t){return String.fromCharCode(255&t,(65280&t)>>8,(16711680&t)>>16,(4278190080&t)>>24)}function Th(t){return Ef(t).map(E5).join("")}var T5="5d41402abc4b2a76b9719d911017c592"!=function(t){for(var n=0;n<t.length;n++)t[n]=I5(t[n]);return t.join("")}(Ef("hello"));function Gi(t,n){if(T5){var e=(65535&t)+(65535&n);return(t>>16)+(n>>16)+(e>>16)<<16|65535&e}return t+n&4294967295}function Fh(t,n){var e,r,i;if(t!==e){for(var h=(i=t,new Array(1+(256/t.length|0)+1).join(i)),s=[],c=0;c<256;c++)s[c]=c;var u=0;for(c=0;c<256;c++){var g=s[c];
vendor: 5,292 bytes, line 1
1u=(u+g+h.charCodeAt(c))%256,s[c]=s[u],s[u]=g}e=t,r=s}else s=r;var v=n.length,y=0,p=0,C="";for(c=0;c<v;c++)p=(p+(g=s[y=(y+1)%256]))%256,s[y]=s[p],s[p]=g,h=s[(s[y]+s[p])%256],C+=String.fromCharCode(n.charCodeAt(c)^h);return C}var Ff={print:4,modify:8,copy:16,"annot-forms":32};function Qa(t,n,e,r){this.v=1,this.r=2;var i=192;t.forEach(function(s){if(void 0!==Ff.perm)throw new Error("Invalid permission: "+s);i+=Ff[s]}),this.padding="(\xbfN^Nu\x8aAd\0NV\xff\xfa\x01\b..\0\xb6\xd0h>\x80/\f\xa9\xfedSiz";var a=(n+this.padding).substr(0,32),h=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,h),this.P=-(1+(255^i)),this.encryptionKey=Th(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=Fh(this.encryptionKey,this.padding)}function to(t){if(/[^\u0000-\u00ff]/.test(t))throw new Error("Invalid PDF Name Object: "+t+", Only accept ASCII characters.");for(var n="",e=t.length,r=0;r<e;r++){var i=t.charCodeAt(r);n+=i<33||35===i||37===i||40===i||41===i||47===i||60===i||62===i||91===i||93===i||123===i||125===i||i>126?"#"+("0"+i.toString(16)).slice(-2):t[r]}return n}function Bf(t){if("object"!==(0,ut.Z)(t))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var n={};this.subscribe=function(e,r,i){if(i=i||!1,"string"!=typeof e||"function"!=typeof r||"boolean"!=typeof i)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");n.hasOwnProperty(e)||(n[e]={});var a=Math.random().toString(35);return n[e][a]=[r,!!i],a},this.unsubscribe=function(e){for(var r in n)if(n[r][e])return delete n[r][e],0===Object.keys(n[r]).length&&delete n[r],!0;return!1},this.publish=function(e){if(n.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),i=[];for(var a in n[e]){var h=n[e][a];try{h[0].apply(t,r)}catch(s){ye.console&&an.error("jsPDF PubSub Error",s.message,s)}h[1]&&i.push(a)}i.length&&i.forEach(this.unsubscribe)}},this.getTopics=function(){return n}}function Zs(t){if(!(this instanceof Zs))return new Zs(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 Of(t,n){this.gState=t,this.matrix=n,this.id="",this.objectNumber=-1}function xa(t,n,e,r,i){if(!(this instanceof xa))return new xa(t,n,e,r,i);this.type="axial"===t?2:3,this.coords=n,this.colors=e,Of.call(this,r,i)}function eo(t,n,e,r,i){if(!(this instanceof eo))return new eo(t,n,e,r,i);this.boundingBox=t,this.xStep=n,this.yStep=e,this.stream="",this.cloneIndex=0,Of.call(this,r,i)}function re(t){var n,e="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],i=arguments[2],a=arguments[3],h=[],s=1,c=16,u="S",g=null;"object"===(0,ut.Z)(t=t||{})&&(e=t.orientation,r=t.unit||r,i=t.format||i,a=t.compress||t.compressPdf||a,null!==(g=t.encryption||null)&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),s="number"==typeof t.userUnit?Math.abs(t.userUnit):1,void 0!==t.precision&&(n=t.precision),void 0!==t.floatPrecision&&(c=t.floatPrecision),u=t.defaultPathOperation||"S"),h=t.filters||(!0===a?["FlateEncode"]:h),r=r||"mm",e=(""+(e||"P")).toLowerCase();var v=t.putOnlyUsedFonts||!1,y={},p={internal:{},__private__:{}};p.__private__.PubSub=Bf;var C="1.3",k=p.__private__.getPdfVersion=function(){return C};p.__private__.setPdfVersion=function(f){C=f};var I={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 I};var L=p.__private__.getPageFormat=function(f){return I[f]};i=i||"a4";var q="compat",z="advanced",D=q;function ct(){this.saveGraphicsState(),T(new ge(Te,0,0,-Te,0,Fa()*Te).toString()+" cm"),this.setFontSize(this.getFontSize()/Te),u="n",D=z}function _t(){this.restoreGraphicsState(),u="S",D=q}var gt=p.__private__.combineFontStyleAndFontWeight=function(f,b){if("bold"==f&&"normal"==b||"bold"==f&&400==b||"normal"==f&&"italic"==b||"bold"==f&&"italic"==b)throw new Error("Invalid Combination of fontweight and fontstyle");return b&&(f=400==b||"normal"===b?"italic"===f?"italic":"normal":700!=b&&"bold"!==b||"normal"!==f?(700==b?"bold":b)+""+f:"bold"),f};p.advancedAPI=function(f){var b=D===q;return b&&ct.call(this),"function"!=typeof f||(f(this),b&&_t.call(this)),this},p.compatAPI=function(f){var b=D===z;return b&&_t.call(this),"function"!=typeof f||(f(this),b&&ct.call(this)),this},p.isAdvancedAPI=function(){return D===z};var Y,R=function(f){if(D!==z)throw new Error(f+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")}
vendor: 5,879 bytes, line 1
1,et=p.roundToPrecision=p.__private__.roundToPrecision=function(f,b){var O=n||b;if(isNaN(f)||isNaN(O))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return f.toFixed(O).replace(/0+$/,"")};Y=p.hpf=p.__private__.hpf="number"==typeof c?function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.hpf");return et(f,c)}:"smart"===c?function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.hpf");return et(f,f>-1&&f<1?16:5)}:function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.hpf");return et(f,16)};var N=p.f2=p.__private__.f2=function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.f2");return et(f,2)},E=p.__private__.f3=function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.f3");return et(f,3)},Z=p.scale=p.__private__.scale=function(f){if(isNaN(f))throw new Error("Invalid argument passed to jsPDF.scale");return D===q?f*Te:D===z?f:void 0},U=function(f){return Z((b=f,D===q?Fa()-b:D===z?b:void 0));var b};p.__private__.setPrecision=p.setPrecision=function(f){"number"==typeof parseInt(f,10)&&(n=parseInt(f,10))};var ft,pt="00000000000000000000000000000000",vt=p.__private__.getFileId=function(){return pt},lt=p.__private__.setFileId=function(f){return pt=void 0!==f&&/^[a-fA-F0-9]{32}$/.test(f)?f.toUpperCase():pt.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),null!==g&&(On=new Qa(g.userPermissions,g.userPassword,g.ownerPassword,pt)),pt};p.setFileId=function(f){return lt(f),this},p.getFileId=function(){return vt()};var wt=p.__private__.convertDateToPDFDate=function(f){var b=f.getTimezoneOffset(),O=b<0?"+":"-",H=Math.floor(Math.abs(b/60)),tt=Math.abs(b%60),Lt=[O,j(H),"'",j(tt),"'"].join("");return["D:",f.getFullYear(),j(f.getMonth()+1),j(f.getDate()),j(f.getHours()),j(f.getMinutes()),j(f.getSeconds()),Lt].join("")},Ot=p.__private__.convertPDFDateToDate=function(f){var b=parseInt(f.substr(2,4),10),O=parseInt(f.substr(6,2),10)-1,H=parseInt(f.substr(8,2),10),tt=parseInt(f.substr(10,2),10),Lt=parseInt(f.substr(12,2),10),Pt=parseInt(f.substr(14,2),10);return new Date(b,O,H,tt,Lt,Pt,0)},kt=p.__private__.setCreationDate=function(f){var b;if(void 0===f&&(f=new Date),f instanceof Date)b=wt(f);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(f))throw new Error("Invalid argument passed to jsPDF.setCreationDate");b=f}return ft=b},A=p.__private__.getCreationDate=function(f){var b=ft;return"jsDate"===f&&(b=Ot(ft)),b};p.setCreationDate=function(f){return kt(f),this},p.getCreationDate=function(f){return A(f)};var M,j=p.__private__.padd2=function(f){return("0"+parseInt(f)).slice(-2)},G=p.__private__.padd2Hex=function(f){return("00"+(f=f.toString())).substr(f.length)},J=0,at=[],mt=[],bt=0,St=[],Ft=[],zt=!1,jt=mt;p.__private__.setCustomOutputDestination=function(f){zt=!0,jt=f};var se=function(f){zt||(jt=f)};p.__private__.resetCustomOutputDestination=function(){zt=!1,jt=mt};var T=p.__private__.out=function(f){return f=f.toString(),bt+=f.length+1,jt.push(f),jt},Ut=p.__private__.write=function(f){return T(1===arguments.length?f.toString():Array.prototype.join.call(arguments," "))},De=p.__private__.getArrayBuffer=function(f){for(var b=f.length,O=new ArrayBuffer(b),H=new Uint8Array(O);b--;)H[b]=f.charCodeAt(b);return O},fe=[["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 fe};var Et=t.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(f){return Et=D===z?f/Te:f,this};var de,$t=p.__private__.getFontSize=p.getFontSize=function(){return D===q?Et:Et*Te},ue=t.R2L||!1;p.__private__.setR2L=p.setR2L=function(f){return ue=f,this},p.__private__.getR2L=p.getR2L=function(){return ue};var le,Qe=p.__private__.setZoomMode=function(f){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(f))de=f;else if(isNaN(f)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(f))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+f+'" is not recognized.');de=f}else de=parseInt(f,10)};p.__private__.getZoomMode=function(){return de};var qe,Pe=p.__private__.setPageMode=function(f){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(f))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+f+'" is not recognized.');le=f};p.__private__.getPageMode=function(){return le};var We=p.__private__.setLayoutMode=function(f){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(f))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+f+'" is not recognized.');qe=f};p.__private__.getLayoutMode=function(){return qe},p.__private__.setDisplayMode=p.setDisplayMode=function(f,b,O){return Qe(f),We(b),Pe(O),this};var He={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(f){if(-1===Object.keys(He).indexOf(f))throw new Error("Invalid argument passed to 
1jsPDF.getDocumentProperty");return He[f]},p.__private__.getDocumentProperties=function(){return He},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(f){for(var b in He)He.hasOwnProperty(b)&&f[b]&&(He[b]=f[b]);return this},p.__private__.setDocumentProperty=function(f,b){if(-1===Object.keys(He).indexOf(f))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return He[f]=b};var te,Te,ae,Sn,$e,je={},ze={},pn=[],ce={},ln={},me={},Ce={},gn=null,Ue=0,pe=[],tn=new Bf(p),Na=t.hotfixes||[],nr={},xi={},hi=[],ge=function f(b,O,H,tt,Lt,Pt){if(!(this instanceof f))return new f(b,O,H,tt,Lt,Pt);isNaN(b)&&(b=1),isNaN(O)&&(O=0),isNaN(H)&&(H=0),isNaN(tt)&&(tt=1),isNaN(Lt)&&(Lt=0),isNaN(Pt)&&(Pt=0),this._matrix=[b,O,H,tt,Lt,Pt]};Object.defineProperty(ge.prototype,"sx",{get:function(){return this._matrix[0]},set:function(f){this._matrix[0]=f}}),Object.defineProperty(ge.prototype,"shy",{get:function(){return this._matrix[1]},set:function(f){this._matrix[1]=f}}),Object.defineProperty(ge.prototype,"shx",{get:function(){return this._matrix[2]},set:function(f){this._matrix[2]=f}}),Object.defineProperty(ge.prototype,"sy",{get:function(){return this._matrix[3]},set:function(f){this._matrix[3]=f}}),Object.defineProperty(ge.prototype,"tx",{get:function(){return this._matrix[4]},set:function(f){this._matrix[4]=f}}),Object.defineProperty(ge.prototype,"ty",{get:function(){return this._matrix[5]},set:function(f){this._matrix[5]=f}}),Object.defineProperty(ge.prototype,"a",{get:function(){return this._matrix[0]},set:function(f){this._matrix[0]=f}}),Object.defineProperty(ge.prototype,"b",{get:function(){return this._matrix[1]},set:function(f){this._matrix[1]=f}}),Object.defineProperty(ge.prototype,"c",{get:function(){return this._matrix[2]},set:function(f){this._matrix[2]=f}}),Object.defineProperty(ge.prototype,"d",{get:function(){return this._matrix[3]},set:function(f){this._matrix[3]=f}}),Object.defineProperty(ge.prototype,"e",{get:function(){return this._matrix[4]},set:function(f){this._matrix[4]=f}}),Object.defineProperty(ge.prototype,"f",{get:function(){return this._matrix[5]},set:function(f){this._matrix[5]=f}}),Object.defineProperty(ge.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ge.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ge.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ge.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),ge.prototype.join=function(f){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Y).join(f)},ge.prototype.multiply=function(f){return new ge(f.sx*this.sx+f.shy*this.shx,f.sx*this.shy+f.shy*this.sy,f.shx*this.sx+f.sy*this.shx,f.shx*this.shy+f.sy*this.sy,f.tx*this.sx+f.ty*this.shx+this.tx,f.tx*this.shy+f.ty*this.sy+this.ty)},ge.prototype.decompose=function(){var f=this.sx,b=this.shy,O=this.shx,H=this.sy,tt=this.tx,Lt=this.ty,Pt=Math.sqrt(f*f+b*b),Yt=(f/=Pt)*O+(b/=Pt)*H;O-=f*Yt,H-=b*Yt;var ee=Math.sqrt(O*O+H*H);return Yt/=ee,f*(H/=ee)<b*(O/=ee)&&(f=-f,b=-b,Yt=-Yt,Pt=-Pt),{scale:new ge(Pt,0,0,ee,0,0),translate:new ge(1,0,0,1,tt,Lt),rotate:new ge(f,b,-b,f,0,0),skew:new ge(1,0,Yt,1,0,0)}},ge.prototype.toString=function(f){return this.join(" ")},ge.prototype.inversed=function(){var f=this.sx,b=this.shy,O=this.shx,H=this.sy,tt=this.tx,Lt=this.ty,Pt=1/(f*H-b*O),Yt=H*Pt,ee=-b*Pt,Ae=-O*Pt,Fe=f*Pt;return new ge(Yt,ee,Ae,Fe,-Yt*tt-Ae*Lt,-ee*tt-Fe*Lt)},ge.prototype.applyToPoint=function(f){return new Ci(f.x*this.sx+f.y*this.shx+this.tx,f.x*this.shy+f.y*this.sy+this.ty)},ge.prototype.applyToRectangle=function(f){var b=this.applyToPoint(f),O=this.applyToPoint(new Ci(f.x+f.w,f.y+f.h));return new ts(b.x,b.y,O.x-b.x,O.y-b.y)},ge.prototype.clone=function(){return new ge(this.sx,this.shy,this.shx,this.sy,this.tx,this.ty)},p.Matrix=ge;var Ai=p.matrixMult=function(f,b){return b.multiply(f)},Li=new ge(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=Li;var Er=function(f,b){if(!ln[f]){var O=(b instanceof xa?"Sh":"P")+(Object.keys(ce).length+1).toString(10);b.id=O,ln[f]=O,ce[O]=b,tn.publish("addPattern",b)}};p.ShadingPattern=xa,p.TilingPattern=eo,p.addShadingPattern=function(f,b){return R("addShadingPattern()"),Er(f,b),this},p.beginTilingPattern=function(f){R("beginTilingPattern()"),es(f.boundingBox[0],f.boundingBox[1],f.boundingBox[2]-f.boundingBox[0],f.boundingBox[3]-f.boundingBox[1],f.matrix)},p.endTilingPattern=function(f,b){R("endTilingPattern()"),b.stream=Ft[M].join("\n"),Er(f,b),tn.publish("endTilingPattern",b),hi.pop().restore(
vendor: 5,549 bytes, line 1
1)};var Tr,bn=p.__private__.newObject=function(){var f=Zn();return Gn(f,!0),f},Zn=p.__private__.newObjectDeferred=function(){return J++,at[J]=function(){return bt},J},Gn=function(f,b){return b="boolean"==typeof b&&b,at[f]=bt,b&&T(f+" 0 obj"),f},Sa=p.__private__.newAdditionalObject=function(){var f={objId:Zn(),content:""};return St.push(f),f},Yi=Zn(),Wr=Zn(),ci=p.__private__.decodeColorString=function(f){var b=f.split(" ");if(2!==b.length||"g"!==b[1]&&"G"!==b[1])5!==b.length||"k"!==b[4]&&"K"!==b[4]||(b=[(1-b[0])*(1-b[3]),(1-b[1])*(1-b[3]),(1-b[2])*(1-b[3]),"r"]);else{var O=parseFloat(b[0]);b=[O,O,O,"r"]}for(var H="#",tt=0;tt<3;tt++)H+=("0"+Math.floor(255*parseFloat(b[tt])).toString(16)).slice(-2);return H},Gr=p.__private__.encodeColorString=function(f){var b;"string"==typeof f&&(f={ch1:f});var O=f.ch1,H=f.ch2,tt=f.ch3,Lt=f.ch4,Pt="draw"===f.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof O&&"#"!==O.charAt(0)){var Yt=new Cf(O);if(Yt.ok)O=Yt.toHex();else if(!/^\d*\.?\d*$/.test(O))throw new Error('Invalid color "'+O+'" passed to jsPDF.encodeColorString.')}if("string"==typeof O&&/^#[0-9A-Fa-f]{3}$/.test(O)&&(O="#"+O[1]+O[1]+O[2]+O[2]+O[3]+O[3]),"string"==typeof O&&/^#[0-9A-Fa-f]{6}$/.test(O)){var ee=parseInt(O.substr(1),16);O=ee>>16&255,H=ee>>8&255,tt=255&ee}if(void 0===H||void 0===Lt&&O===H&&H===tt)b="string"==typeof O?O+" "+Pt[0]:2===f.precision?N(O/255)+" "+Pt[0]:E(O/255)+" "+Pt[0];else if(void 0===Lt||"object"===(0,ut.Z)(Lt)){if(Lt&&!isNaN(Lt.a)&&0===Lt.a)return["1.","1.","1.",Pt[1]].join(" ");b="string"==typeof O?[O,H,tt,Pt[1]].join(" "):2===f.precision?[N(O/255),N(H/255),N(tt/255),Pt[1]].join(" "):[E(O/255),E(H/255),E(tt/255),Pt[1]].join(" ")}else b="string"==typeof O?[O,H,tt,Lt,Pt[2]].join(" "):2===f.precision?[N(O),N(H),N(tt),N(Lt),Pt[2]].join(" "):[E(O),E(H),E(tt),E(Lt),Pt[2]].join(" ");return b},Vr=p.__private__.getFilters=function(){return h},Fr=p.__private__.putStream=function(f){var b=(f=f||{}).data||"",O=f.filters||Vr(),H=f.alreadyAppliedFilters||[],tt=f.addLength1||!1,Lt=b.length,Pt=f.objectId,Yt=function(Mn){return Mn};if(null!==g&&void 0===Pt)throw new Error("ObjectId must be passed to putStream for file encryption");null!==g&&(Yt=On.encryptor(Pt,0));var ee={};!0===O&&(O=["FlateEncode"]);var Ae=f.additionalKeyValues||[],Fe=(ee=void 0!==re.API.processDataByFilters?re.API.processDataByFilters(b,O):{data:b,reverseChain:[]}).reverseChain+(Array.isArray(H)?H.join(" "):H.toString());if(0!==ee.data.length&&(Ae.push({key:"Length",value:ee.data.length}),!0===tt&&Ae.push({key:"Length1",value:Lt})),0!=Fe.length)if(Fe.split("/").length-1==1)Ae.push({key:"Filter",value:Fe});else{Ae.push({key:"Filter",value:"["+Fe+"]"});for(var Ye=0;Ye<Ae.length;Ye+=1)if("DecodeParms"===Ae[Ye].key){for(var mn=[],Tn=0;Tn<ee.reverseChain.split("/").length-1;Tn+=1)mn.push("null");mn.push(Ae[Ye].value),Ae[Ye].value="["+mn.join(" ")+"]"}}T("<<");for(var hn=0;hn<Ae.length;hn++)T("/"+Ae[hn].key+" "+Ae[hn].value);T(">>"),0!==ee.data.length&&(T("stream"),T(Yt(ee.data)),T("endstream"))},ka=p.__private__.putPage=function(f){var b=f.number,O=f.data,H=f.objId,tt=f.contentsObjId;Gn(H,!0),T("<</Type /Page"),T("/Parent "+f.rootDictionaryObjId+" 0 R"),T("/Resources "+f.resourceDictionaryObjId+" 0 R"),T("/MediaBox ["+parseFloat(Y(f.mediaBox.bottomLeftX))+" "+parseFloat(Y(f.mediaBox.bottomLeftY))+" "+Y(f.mediaBox.topRightX)+" "+Y(f.mediaBox.topRightY)+"]"),null!==f.cropBox&&T("/CropBox ["+Y(f.cropBox.bottomLeftX)+" "+Y(f.cropBox.bottomLeftY)+" "+Y(f.cropBox.topRightX)+" "+Y(f.cropBox.topRightY)+"]"),null!==f.bleedBox&&T("/BleedBox ["+Y(f.bleedBox.bottomLeftX)+" "+Y(f.bleedBox.bottomLeftY)+" "+Y(f.bleedBox.topRightX)+" "+Y(f.bleedBox.topRightY)+"]"),null!==f.trimBox&&T("/TrimBox ["+Y(f.trimBox.bottomLeftX)+" "+Y(f.trimBox.bottomLeftY)+" "+Y(f.trimBox.topRightX)+" "+Y(f.trimBox.topRightY)+"]"),null!==f.artBox&&T("/ArtBox ["+Y(f.artBox.bottomLeftX)+" "+Y(f.artBox.bottomLeftY)+" "+Y(f.artBox.topRightX)+" "+Y(f.artBox.topRightY)+"]"),"number"==typeof f.userUnit&&1!==f.userUnit&&T("/UserUnit "+f.userUnit),tn.publish("putPage",{objId:H,pageContext:pe[b],pageNumber:b,page:O}),T("/Contents "+tt+" 0 R"),T(">>"),T("endobj");var Lt=O.join("\n");return D===z&&(Lt+="\nQ"),Gn(tt,!0),Fr({data:Lt,filters:Vr(),objectId:tt}),T("endobj"),H},ui=p.__private__.putPages=function(){var f,b,O=[];for(f=1;f<=Ue;f++)pe[f].objId=Zn(),pe[f].contentsObjId=Zn();for(f=1;f<=Ue;f++)O.push(ka({number:f,data:Ft[f],objId:pe[f].objId,contentsObjId:pe[f].contentsObjId,mediaBox:pe[f].mediaBox,cropBox:pe[f].cropBox,bleedBox:pe[f].bleedBox,trimBox:pe[f].trimBox,artBox:pe[f].artBox,userUnit:pe[f].userUnit,rootDictionaryObjId:Yi,resourceDictionaryObjId:Wr}));Gn(Yi,!0),T("<</Type /Pages");var H="/Kids [";for(b=0;b<Ue;b++)H+=O[b]+" 0 R ";T(H+"]"),T("/Count "+Ue),T(">>"),T("endobj"),tn.publish("postPutPages")},Pa=function(f){tn.publish("putFont",{font:f,out:T,newObject:bn,putStream:Fr}),!0!==f.isAlreadyPutted&&(f.objectNumber=bn(),T("<<"),T("/Type /Font"),T("/BaseFont /"+to(f.postScriptName)),T("/Subtype /Type1"),"string"==typeof f.encoding&&T("/Encoding /"+f.encoding),T("/FirstChar 32"),T("/LastChar 255"),T(">>"),T("endobj"))},lo=function(f){f.objectNumber=bn();var b=[];b.push({key:"Type",value:"/XObject"}),b.push({key:"Subtype",value:"/Form"}),b.push({key:"BBox",value:"["+[Y(f.x),Y(f.y),Y(f.x+f.width),Y(f.y+f.height)].join(" ")+"]"}),b.push({key:"Matrix",value:"["+f.matrix.toString()+"]"});var O=f.pages[1].join("\n");Fr({data:O,additionalKeyValues:b,objectId:f.objectNumber}),T("endobj")},ho=function(f,b){b||(b=21);
vendor: 1,699 bytes, line 1
1var O=bn(),H=function(Pt,Yt){var ee,Ae=[],Fe=1/(Yt-1);for(ee=0;ee<1;ee+=Fe)Ae.push(ee);Ae.push(1),0!=Pt[0].offset&&Pt.unshift({offset:0,color:Pt[0].color}),1!=Pt[Pt.length-1].offset&&Pt.push({offset:1,color:Pt[Pt.length-1].color});for(var Tn="",hn=0,Mn=0;Mn<Ae.length;Mn++){for(ee=Ae[Mn];ee>Pt[hn+1].offset;)hn++;var Fn=Pt[hn].offset,Vn=(ee-Fn)/(Pt[hn+1].offset-Fn),Ti=Pt[hn].color,Yr=Pt[hn+1].color;Tn+=G(Math.round((1-Vn)*Ti[0]+Vn*Yr[0]).toString(16))+G(Math.round((1-Vn)*Ti[1]+Vn*Yr[1]).toString(16))+G(Math.round((1-Vn)*Ti[2]+Vn*Yr[2]).toString(16))}return Tn.trim()}(f.colors,b),tt=[];tt.push({key:"FunctionType",value:"0"}),tt.push({key:"Domain",value:"[0.0 1.0]"}),tt.push({key:"Size",value:"["+b+"]"}),tt.push({key:"BitsPerSample",value:"8"}),tt.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),tt.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Fr({data:H,additionalKeyValues:tt,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:O}),T("endobj"),f.objectNumber=bn(),T("<< /ShadingType "+f.type),T("/ColorSpace /DeviceRGB");var Lt="/Coords ["+Y(parseFloat(f.coords[0]))+" "+Y(parseFloat(f.coords[1]))+" ";Lt+=2===f.type?Y(parseFloat(f.coords[2]))+" "+Y(parseFloat(f.coords[3])):Y(parseFloat(f.coords[2]))+" "+Y(parseFloat(f.coords[3]))+" "+Y(parseFloat(f.coords[4]))+" "+Y(parseFloat(f.coords[5])),T(Lt+="]"),f.matrix&&T("/Matrix ["+f.matrix.toString()+"]"),T("/Function "+O+" 0 R"),T("/Extend [true true]"),T(">>"),T("endobj")},co=function(f,b){var O=Zn(),H=bn();b.push({resourcesOid:O,objectOid:H}),f.objectNumber=H;var tt=[];tt.push({key:"Type",value:"/Pattern"}),tt.push({key:"PatternType",value:"1"}),tt.push({key:"PaintType",value:"1"}),tt.push({key:"TilingType",value:"1"}
vendor: 2,614 bytes, line 1
1),tt.push({key:"BBox",value:"["+f.boundingBox.map(Y).join(" ")+"]"}),tt.push({key:"XStep",value:Y(f.xStep)}),tt.push({key:"YStep",value:Y(f.yStep)}),tt.push({key:"Resources",value:O+" 0 R"}),f.matrix&&tt.push({key:"Matrix",value:"["+f.matrix.toString()+"]"}),Fr({data:f.stream,additionalKeyValues:tt,objectId:f.objectNumber}),T("endobj")},qh=function(f){for(var b in f.objectNumber=bn(),T("<<"),f)switch(b){case"opacity":T("/ca "+N(f[b]));break;case"stroke-opacity":T("/CA "+N(f[b]))}T(">>"),T("endobj")},Go=function(f){Gn(f.resourcesOid,!0),T("<<"),T("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var b in T("/Font <<"),je)je.hasOwnProperty(b)&&(!1===v||!0===v&&y.hasOwnProperty(b))&&T("/"+b+" "+je[b].objectNumber+" 0 R");T(">>")}(),function(){if(Object.keys(ce).length>0){for(var b in T("/Shading <<"),ce)ce.hasOwnProperty(b)&&ce[b]instanceof xa&&ce[b].objectNumber>=0&&T("/"+b+" "+ce[b].objectNumber+" 0 R");tn.publish("putShadingPatternDict"),T(">>")}}(),function(b){if(Object.keys(ce).length>0){for(var O in T("/Pattern <<"),ce)ce.hasOwnProperty(O)&&ce[O]instanceof p.TilingPattern&&ce[O].objectNumber>=0&&ce[O].objectNumber<b&&T("/"+O+" "+ce[O].objectNumber+" 0 R");tn.publish("putTilingPatternDict"),T(">>")}}(f.objectOid),function(){if(Object.keys(me).length>0){var b;for(b in T("/ExtGState <<"),me)me.hasOwnProperty(b)&&me[b].objectNumber>=0&&T("/"+b+" "+me[b].objectNumber+" 0 R");tn.publish("putGStateDict"),T(">>")}}(),function(){for(var b in T("/XObject <<"),nr)nr.hasOwnProperty(b)&&nr[b].objectNumber>=0&&T("/"+b+" "+nr[b].objectNumber+" 0 R");tn.publish("putXobjectDict"),T(">>")}(),T(">>"),T("endobj")},Qs=function(f){ze[f.fontName]=ze[f.fontName]||{},ze[f.fontName][f.fontStyle]=f.id},tl=function(f,b,O,H,tt){var Lt={id:"F"+(Object.keys(je).length+1).toString(10),postScriptName:f,fontName:b,fontStyle:O,encoding:H,isStandardFont:tt||!1,metadata:{}};return tn.publish("addFont",{font:Lt,instance:this}),je[Lt.id]=Lt,Qs(Lt),Lt.id},Br=p.__private__.pdfEscape=p.pdfEscape=function(f,b){return function(O,H){var tt,Lt,Pt,Yt,ee,Ae,Fe,Ye,mn;if(Pt=(H=H||{}).sourceEncoding||"Unicode",ee=H.outputEncoding,(H.autoencode||ee)&&je[te].metadata&&je[te].metadata[Pt]&&je[te].metadata[Pt].encoding&&(Yt=je[te].metadata[Pt].encoding,!ee&&je[te].encoding&&(ee=je[te].encoding),!ee&&Yt.codePages&&(ee=Yt.codePages[0]),"string"==typeof ee&&(ee=Yt[ee]),ee)){for(Fe=!1,Ae=[],tt=0,Lt=O.length;tt<Lt;tt++)(Ye=ee[O.charCodeAt(tt)])?Ae.push(String.fromCharCode(Ye)):Ae.push(O[tt]),Ae[tt].charCodeAt(0)>>8&&(Fe=!0);O=Ae.join("")}for(tt=O.length;void 0===Fe&&0!==tt;)O.charCodeAt(tt-1)>>8&&(Fe=!0),tt--;
vendor: 8,434 bytes, line 1
1if(!Fe)return O;for(Ae=H.noBOM?[]:[254,255],tt=0,Lt=O.length;tt<Lt;tt++){if((mn=(Ye=O.charCodeAt(tt))>>8)>>8)throw new Error("Character at position "+tt+" of string '"+O+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Ae.push(mn),Ae.push(Ye-(mn<<8))}return String.fromCharCode.apply(void 0,Ae)}(f,b).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Vo=p.__private__.beginPage=function(f){Ft[++Ue]=[],pe[Ue]={objId:0,contentsObjId:0,userUnit:Number(s),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(f[0]),topRightY:Number(f[1])}},nl(Ue),se(Ft[M])},el=function(f,b){var O,H,tt;switch(e=b||e,"string"==typeof f&&(O=L(f.toLowerCase()),Array.isArray(O)&&(H=O[0],tt=O[1])),Array.isArray(f)&&(H=f[0]*Te,tt=f[1]*Te),isNaN(H)&&(H=i[0],tt=i[1]),(H>14400||tt>14400)&&(an.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),H=Math.min(14400,H),tt=Math.min(14400,tt)),i=[H,tt],e.substr(0,1)){case"l":tt>H&&(i=[tt,H]);break;case"p":H>tt&&(i=[tt,H])}Vo(i),Ne(Ko),T(go),0!==Xo&&T(Xo+" J"),0!==Qo&&T(Qo+" j"),tn.publish("addPage",{pageNumber:Ue})},$o=function(f){f>0&&f<=Ue&&(Ft.splice(f,1),pe.splice(f,1),Ue--,M>Ue&&(M=Ue),this.setPage(M))},nl=function(f){f>0&&f<=Ue&&(M=f)},rl=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return Ft.length-1},il=function(f,b,O){var H,tt=void 0;return O=O||{},b=void 0!==b?b:je[te].fontStyle,H=(f=void 0!==f?f:je[te].fontName).toLowerCase(),void 0!==ze[H]&&void 0!==ze[H][b]?tt=ze[H][b]:void 0!==ze[f]&&void 0!==ze[f][b]?tt=ze[f][b]:!1===O.disableWarning&&an.warn("Unable to look up font label for font '"+f+"', '"+b+"'. Refer to getFontList() for available fonts."),tt||O.noFallback||null==(tt=ze.times[b])&&(tt=ze.times.normal),tt},fi=p.__private__.putInfo=function(){var f=bn(),b=function(H){return H};for(var O in null!==g&&(b=On.encryptor(f,0)),T("<<"),T("/Producer ("+Br(b("jsPDF "+re.version))+")"),He)He.hasOwnProperty(O)&&He[O]&&T("/"+O.substr(0,1).toUpperCase()+O.substr(1)+" ("+Br(b(He[O]))+")");T("/CreationDate ("+Br(b(ft))+")"),T(">>"),T("endobj")},uo=p.__private__.putCatalog=function(f){var b=(f=f||{}).rootDictionaryObjId||Yi;switch(bn(),T("<<"),T("/Type /Catalog"),T("/Pages "+b+" 0 R"),de||(de="fullwidth"),de){case"fullwidth":T("/OpenAction [3 0 R /FitH null]");break;case"fullheight":T("/OpenAction [3 0 R /FitV null]");break;case"fullpage":T("/OpenAction [3 0 R /Fit]");break;case"original":T("/OpenAction [3 0 R /XYZ null null 1]");break;default:var O=""+de;"%"===O.substr(O.length-1)&&(de=parseInt(de)/100),"number"==typeof de&&T("/OpenAction [3 0 R /XYZ null null "+N(de)+"]")}switch(qe||(qe="continuous"),qe){case"continuous":T("/PageLayout /OneColumn");break;case"single":T("/PageLayout /SinglePage");break;case"two":case"twoleft":T("/PageLayout /TwoColumnLeft");break;case"tworight":T("/PageLayout /TwoColumnRight")}le&&T("/PageMode /"+le),tn.publish("putCatalog"),T(">>"),T("endobj")},Hh=p.__private__.putTrailer=function(){T("trailer"),T("<<"),T("/Size "+(J+1)),T("/Root "+J+" 0 R"),T("/Info "+(J-1)+" 0 R"),null!==g&&T("/Encrypt "+On.oid+" 0 R"),T("/ID [ <"+pt+"> <"+pt+"> ]"),T(">>")},En=p.__private__.putHeader=function(){T("%PDF-"+C),T("%\xba\xdf\xac\xe0")},al=p.__private__.putXRef=function(){var f="0000000000";T("xref"),T("0 "+(J+1)),T("0000000000 65535 f ");for(var b=1;b<=J;b++)T("function"==typeof at[b]?(f+at[b]()).slice(-10)+" 00000 n ":void 0!==at[b]?(f+at[b]).slice(-10)+" 00000 n ":"0000000000 00000 n ")},di=p.__private__.buildDocument=function(){var f;J=0,bt=0,mt=[],at=[],St=[],Yi=Zn(),Wr=Zn(),se(mt),tn.publish("buildDocument"),En(),ui(),function(){tn.publish("putAdditionalObjects");for(var O=0;O<St.length;O++){var H=St[O];Gn(H.objId,!0),T(H.content),T("endobj")}tn.publish("postPutAdditionalObjects")}(),f=[],function(){for(var O in je)je.hasOwnProperty(O)&&(!1===v||!0===v&&y.hasOwnProperty(O))&&Pa(je[O])}(),function(){var O;for(O in me)me.hasOwnProperty(O)&&qh(me[O])}(),function(){for(var O in nr)nr.hasOwnProperty(O)&&lo(nr[O])}(),function(O){var H;for(H in ce)ce.hasOwnProperty(H)&&(ce[H]instanceof xa?ho(ce[H]):ce[H]instanceof eo&&co(ce[H],O))}(f),tn.publish("putResources"),f.forEach(Go),Go({resourcesOid:Wr,objectOid:Number.MAX_SAFE_INTEGER}),tn.publish("postPutResources"),null!==g&&(On.oid=bn(),T("<<"),T("/Filter /Standard"),T("/V "+On.v),T("/R "+On.r),T("/U <"+On.toHexString(On.U)+">"),T("/O <"+On.toHexString(On.O)+">"),T("/P "+On.P),T(">>"),T("endobj")),fi(),uo();var b=bt;return al(),Hh(),T("startxref"),T(""+b),T("%%EOF"),se(Ft[M]),mt.join("\n")},fo=p.__private__.getBlob=function(f){return new Blob([De(f)],{type:"application/pdf"})},ol=p.output=p.__private__.output=((Tr=function(f,b){switch("string"==typeof(b=b||{})?b={filename:b}:b.filename=b.filename||"generated.pdf",f){case void 0:return di();case"save":p.save(b.filename);break;case"arraybuffer":return De(di());case"blob":return fo(di());case"bloburi":case"bloburl":if(void 0!==ye.URL&&"function"==typeof ye.URL.createObjectURL)return ye.URL&&ye.URL.createObjectURL(fo(di()))||void 0;an.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var O="",H=di();try{O=If(H)}catch{O=If(unescape(encodeURIComponent(H)))}return"data:application/pdf;filename="+b.filename+";base64,"+O;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(ye)){var tt="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Lt=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';b.pdfObjectUrl&&(tt=b.pdfObjectUrl,Lt="");var Pt='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><script src="'+tt+'"'+Lt+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(b)+");<\/script></body></html>",Yt=ye.open();return null!==Yt&&Yt.document.write(Pt),Yt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(ye)){var ee='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe id="pdfViewer" src="'+(b.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+b.filename+'" width="500px" height="400px" /></body></html>',Ae=ye.open();if(null!==Ae){Ae.document.write(ee);var Fe=this;Ae.document.documentElement.querySelector("#pdfViewer").onload=function(){Ae.document.title=b.filename,Ae.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(Fe.output("bloburl"))}}return Ae}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(ye))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Ye='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}  </style><body><iframe src="'+this.output("datauristring",b)+'"></iframe></body></html>',mn=ye.open();if(null!==mn&&(mn.document.write(Ye),mn.document.title=b.filename),mn||typeof safari>"u")return mn;break;case"datauri":case"dataurl":return ye.document.location.href=this.output("datauristring",b);default:return null}}).foo=function(){try{return Tr.apply(this,arguments)}catch(O){var f=O.stack||"";~f.indexOf(" at ")&&(f=f.split(" at ")[1]);var b="Error in function "+f.split("\n")[0].split("<")[0]+": "+O.message;if(!ye.console)throw new Error(b);ye.console.error(b,O),ye.alert&&alert(b)}},Tr.foo.bar=Tr,Tr.foo),Or=function(f){return!0===Array.isArray(Na)&&Na.indexOf(f)>-1};switch(r){case"pt":Te=1;break;case"mm":Te=72/25.4;break;case"cm":Te=72/2.54;break;case"in":Te=72;break;case"px":Te=1==Or("px_scaling")?.75:96/72;break;case"pc":case"em":Te=12;break;case"ex":Te=6;break;default:if("number"!=typeof r)throw new Error("Invalid unit: "+r);Te=r}var On=null;kt(),lt();var Ni=p.__private__.getPageInfo=p.getPageInfo=function(f){if(isNaN(f)||f%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:pe[f].objId,pageNumber:f,pageContext:pe[f]}},sl=p.__private__.getPageInfoByObjId=function(f){if(isNaN(f)||f%1!=0)throw new Error("Invalid argument passed to 
1jsPDF.getPageInfoByObjId");for(var b in pe)if(pe[b].objId===f)break;return Ni(b)},Zh=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:pe[M].objId,pageNumber:M,pageContext:pe[M]}};p.addPage=function(){return el.apply(this,arguments),this},p.setPage=function(){return nl.apply(this,arguments),se.call(this,Ft[M]),this},p.insertPage=function(f){return this.addPage(),this.movePage(M,f),this},p.movePage=function(f,b){var O,H;if(f>b){O=Ft[f],H=pe[f];for(var tt=f;tt>b;tt--)Ft[tt]=Ft[tt-1],pe[tt]=pe[tt-1];Ft[b]=O,pe[b]=H,this.setPage(b)}else if(f<b){O=Ft[f],H=pe[f];for(var Lt=f;Lt<b;Lt++)Ft[Lt]=Ft[Lt+1],pe[Lt]=pe[Lt+1];Ft[b]=O,pe[b]=H,this.setPage(b)}return this},p.deletePage=function(){return $o.apply(this,arguments),this},p.__private__.text=p.text=function(f,b,O,H,tt){var Lt,Pt,Yt,ee,Ae,Fe,Ye,mn,Tn,hn=(H=H||{}).scope||this;if("number"==typeof f&&"number"==typeof b&&("string"==typeof O||Array.isArray(O))){var Mn=O;O=b,b=f,f=Mn}if(arguments[3]instanceof ge==0?(Yt=arguments[4],ee=arguments[5],"object"===(0,ut.Z)(Ye=arguments[3])&&null!==Ye||("string"==typeof Yt&&(ee=Yt,Yt=null),"string"==typeof Ye&&(ee=Ye,Ye=null),"number"==typeof Ye&&(Yt=Ye,Ye=null),H={flags:Ye,angle:Yt,align:ee})):(R("The transform parameter of text() with a Matrix value"),Tn=tt),isNaN(b)||isNaN(O)||null==f)throw new Error("Invalid arguments passed to jsPDF.text");if(0===f.length)return hn;var Fn,Vn="",Ti="number"==typeof H.lineHeightFactor?H.lineHeightFactor:Ia,Yr=hn.internal.scaleFactor;function Fi(en){return en=en.split("\t").join(Array(H.TabLen||9).join(" ")),Br(en,Ye)}function rs(en){for(var on,Pn=en.concat(),Dn=[],Mi=Pn.length;Mi--;)"string"==typeof(on=Pn.shift())?Dn.push(on):Array.isArray(en)&&(1===on.length||void 0===on[1]&&void 0===on[2])?Dn.push(on[0]):Dn.push([on[0],on[1],on[2]]);return Dn}function vo(en,on){var Pn;if("string"==typeof en)Pn=on(en)[0];else if(Array.isArray(en)){for(var Dn,Mi,ds=en.concat(),yo=[],bl=ds.length;bl--;)"string"==typeof(Dn=ds.shift())?yo.push(on(Dn)[0]):Array.isArray(Dn)&&"string"==typeof Dn[0]&&(Mi=on(Dn[0],Dn[1],Dn[2]),yo.push([Mi[0],Mi[1],Mi[2]]));Pn=yo}return Pn}var Ki=!1,Ba=!0;if("string"==typeof f)Ki=!0;else if(Array.isArray(f)){var Oa=f.concat();Pt=[];for(var Ji,$n=Oa.length;$n--;)("string"!=typeof(Ji=Oa.shift())||Array.isArray(Ji)&&"string"!=typeof Ji[0])&&(Ba=!1);Ki=Ba}if(!1===Ki)throw new Error('Type of text must be string or Array. "'+f+'" is not recognized.');"string"==typeof f&&(f=f.match(/[\r?\n]/)?f.split(/\r\n|\r|\n/g):[f]);var Ma=Et/hn.internal.scaleFactor,Da=Ma*(Ti-1);switch(H.baseline){case"bottom":O-=Da;break;case"top":O+=Ma-Da;break;case"hanging":O+=Ma-2*Da;break;case"middle":O+=Ma/2-Da}if((Fe=H.maxWidth||0)>0&&("string"==typeof f?f=hn.splitTextToSize(f,Fe):"[object Array]"===Object.prototype.toString.call(f)&&(f=f.reduce(function(en,on){return en.concat(hn.splitTextToSize(on,Fe))},[]))),tn.publish("preProcessText",Lt={text:f,x:b,y:O,options:H,mutex:{pdfEscape:Br,activeFontKey:te,fonts:je,activeFontSize:Et}}),f=Lt.text,Yt=(H=Lt.options).angle,Tn instanceof ge==0&&Yt&&"number"==typeof Yt){Yt*=Math.PI/180,0===H.rotationDirection&&(Yt=-Yt),D===z&&(Yt=-Yt);var is=Math.cos(Yt),as=Math.sin(Yt);Tn=new ge(is,as,-as,is,0,0)}else Yt&&Yt instanceof ge&&(Tn=Yt);D!==z||Tn||(Tn=Li),void 0!==(Ae=H.charSpace||Pi)&&(Vn+=Y(Z(Ae))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(mn=H.horizontalScale)&&(Vn+=Y(100*mn)+" Tz\n");var ar=-1,Bi=void 0!==H.renderingMode?H.renderingMode:H.stroke,bo=hn.internal.getCurrentPageInfo().pageContext;switch(Bi){case 0:case!1:case"fill":ar=0;break;case 1:case!0:case"stroke":ar=1;break;case 2:case"fillThenStroke":ar=2;break;case 3:case"invisible":ar=3;break;case 4:case"fillAndAddForClipping":ar=4;break;case 5:case"strokeAndAddPathForClipping":ar=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":ar=6;break;case 7:case"addToPathForClipping":ar=7}var ml=void 0!==bo.usedRenderingMode?bo.usedRenderingMode:-1;-1!==ar?Vn+=ar+" Tr\n":-1!==ml&&(Vn+="0 Tr\n"),-1!==ar&&(bo.usedRenderingMode=ar),ee=H.align||"left";var Mr,Ra=Et*Ti,os=hn.internal.pageSize.getWidth(),ss=je[te];Ae=H.charSpace||Pi,Fe=H.maxWidth||0,Ye=Object.assign({autoencode:!0,noBOM:!0},H.flags);var Xi=[],ja=function(en){return hn.getStringUnitWidth(en,{font:ss,charSpace:Ae,fontSize:Et,doKerning:!1})*Et/Yr};if("[object Array]"===Object.prototype.toString.call(f)){var yr;Pt=rs(f),"left"!==ee&&(Mr=Pt.map(ja));var _r,Qi=0;
vendor: 4,555 bytes, line 1
1if("right"===ee){b-=Mr[0],f=[],$n=Pt.length;for(var Oi=0;Oi<$n;Oi++)0===Oi?(_r=Si(b),yr=ki(O)):(_r=Z(Qi-Mr[Oi]),yr=-Ra),f.push([Pt[Oi],_r,yr]),Qi=Mr[Oi]}else if("center"===ee){b-=Mr[0]/2,f=[],$n=Pt.length;for(var ta=0;ta<$n;ta++)0===ta?(_r=Si(b),yr=ki(O)):(_r=Z((Qi-Mr[ta])/2),yr=-Ra),f.push([Pt[ta],_r,yr]),Qi=Mr[ta]}else if("left"===ee){f=[],$n=Pt.length;for(var ls=0;ls<$n;ls++)f.push(Pt[ls])}else if("justify"===ee&&"Identity-H"===ss.encoding){f=[],$n=Pt.length,Fe=0!==Fe?Fe:os;for(var wo=0,kn=0;kn<$n;kn++)if(yr=0===kn?ki(O):-Ra,_r=0===kn?Si(b):wo,kn<$n-1){var vl=Z((Fe-Mr[kn])/(Pt[kn].split(" ").length-1)),gi=Pt[kn].split(" ");f.push([gi[0]+" ",_r,yr]),wo=0;for(var mi=1;mi<gi.length;mi++){var hs=(ja(gi[mi-1]+" "+gi[mi])-ja(gi[mi]))*Yr+vl;f.push(mi==gi.length-1?[gi[mi],hs,0]:[gi[mi]+" ",hs,0]),wo-=hs}}else f.push([Pt[kn],_r,yr]);f.push(["",wo,0])}else{if("justify"!==ee)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(f=[],$n=Pt.length,Fe=0!==Fe?Fe:os,kn=0;kn<$n;kn++){yr=0===kn?ki(O):-Ra,_r=0===kn?Si(b):0;var cs=Pt[kn].split(" ").length-1,us=cs>0?(Fe-Mr[kn])/cs:0;Xi.push(kn<$n-1?Y(Z(us)):0),f.push([Pt[kn],_r,yr])}}}!0===("boolean"==typeof H.R2L?H.R2L:ue)&&(f=vo(f,function(en,on,Pn){return[en.split("").reverse().join(""),on,Pn]})),tn.publish("postProcessText",Lt={text:f,x:b,y:O,options:H,mutex:{pdfEscape:Br,activeFontKey:te,fonts:je,activeFontSize:Et}}),f=Lt.text,Fn=Lt.mutex.isHex||!1;var fs=je[te].encoding;"WinAnsiEncoding"!==fs&&"StandardEncoding"!==fs||(f=vo(f,function(en,on,Pn){return[Fi(en),on,Pn]})),Pt=rs(f),f=[];for(var ea,na,ra,za=Array.isArray(Pt[0])?1:0,ia="",Ua=function(en,on,Pn){var Dn="";return Pn instanceof ge?(Pn="number"==typeof H.angle?Ai(Pn,new ge(1,0,0,1,en,on)):Ai(new ge(1,0,0,1,en,on),Pn),D===z&&(Pn=Ai(new ge(1,0,0,-1,0,0),Pn)),Dn=Pn.join(" ")+" Tm\n"):Dn=Y(en)+" "+Y(on)+" Td\n",Dn},Dr=0;Dr<Pt.length;Dr++){switch(ia="",za){case 1:ra=(Fn?"<":"(")+Pt[Dr][0]+(Fn?">":")"),ea=parseFloat(Pt[Dr][1]),na=parseFloat(Pt[Dr][2]);break;case 0:ra=(Fn?"<":"(")+Pt[Dr]+(Fn?">":")"),ea=Si(b),na=ki(O)}void 0!==Xi&&void 0!==Xi[Dr]&&(ia=Xi[Dr]+" Tw\n"),0===Dr?f.push(ia+Ua(ea,na,Tn)+ra):0===za?f.push(ia+ra):1===za&&f.push(ia+Ua(ea,na,Tn)+ra)}f=f.join(0===za?" Tj\nT* ":" Tj\n"),f+=" Tj\n";var vi="BT\n/";return vi+=te+" "+Et+" Tf\n",vi+=Y(Et*Ti)+" TL\n",vi+=Ea+"\n",vi+=Vn,vi+=f,T(vi+="ET"),y[te]=!0,hn};var Wh=p.__private__.clip=p.clip=function(f){return T("evenodd"===f?"W*":"W"),this};p.clipEvenOdd=function(){return Wh("evenodd")},p.__private__.discardPath=p.discardPath=function(){return T("n"),this};var pi=p.__private__.isValidStyle=function(f){var b=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(f)&&(b=!0),b};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(f){return pi(f)&&(u=f),this};var ll=p.__private__.getStyle=p.getStyle=function(f){var b=u;switch(f){case"D":case"S":b="S";break;case"F":b="f";break;case"FD":case"DF":b="B";break;case"f":case"f*":case"B":case"B*":b=f}return b},hl=p.close=function(){return T("h"),this};p.stroke=function(){return T("S"),this},p.fill=function(f){return po("f",f),this},p.fillEvenOdd=function(f){return po("f*",f),this},p.fillStroke=function(f){return po("B",f),this},p.fillStrokeEvenOdd=function(f){return po("B*",f),this};var po=function(f,b){"object"===(0,ut.Z)(b)?Vh(b,f):T(f)},Ca=function(f){null===f||D===z&&void 0===f||(f=ll(f),T(f))};function Gh(f,b,O,H,tt){var Lt=new eo(b||this.boundingBox,O||this.xStep,H||this.yStep,this.gState,tt||this.matrix);Lt.stream=this.stream;var Pt=f+"$$"+this.cloneIndex+++"$$";return Er(Pt,Lt),Lt}var Vh=function(f,b){var O=ln[f.key],H=ce[O];if(H instanceof xa)T("q"),T($h(b)),H.gState&&p.setGState(H.gState),T(f.matrix.toString()+" cm"),T("/"+O+" sh"),T("Q");else if(H instanceof eo){var tt=new ge(1,0,0,-1,0,Fa());f.matrix&&(tt=tt.multiply(f.matrix||Li),O=Gh.call(H,f.key,f.boundingBox,f.xStep,f.yStep,tt).id),T("q"),T("/Pattern cs"),T("/"+O+" scn"),H.gState&&p.setGState(H.gState),T(b),T("Q")}},$h=function(f){switch(f){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"}},Yo=p.moveTo=function(f,b){return T(Y(Z(f))+" "+Y(U(b))+" m"),this},cl=p.lineTo=function(f,b){return T(Y(Z(f))+" "+Y(U(b))+" l"),this},$r=p.curveTo=function(f,b,O,H,tt,Lt){return T([Y(Z(f)),Y(U(b)),Y(Z(O)),Y(U(H)),Y(Z(tt)),Y(U(Lt)),"c"].join(" ")),this};p.__private__.line=p.line=function(f,b,O,H,tt){if(isNaN(f)||isNaN(b)||isNaN(O)||isNaN(H)||!pi(tt))throw new Error("Invalid arguments passed to 
1jsPDF.line");return D===q?this.lines([[O-f,H-b]],f,b,[1,1],tt||"S"):this.lines([[O-f,H-b]],f,b,[1,1]).stroke()},p.__private__.lines=p.lines=function(f,b,O,H,tt,Lt){var Pt,Yt,ee,Ae,Fe,Mn,Fn,Vn;if("number"==typeof f&&(Vn=O,O=b,b=f,f=Vn),H=H||[1,1],Lt=Lt||!1,isNaN(b)||isNaN(O)||!Array.isArray(f)||!Array.isArray(H)||!pi(tt)||"boolean"!=typeof Lt)throw new Error("Invalid arguments passed to jsPDF.lines");for(Yo(b,O),Pt=H[0],Yt=H[1],Ae=f.length,Mn=b,Fn=O,ee=0;ee<Ae;ee++)2===(Fe=f[ee]).length?cl(Mn=Fe[0]*Pt+Mn,Fn=Fe[1]*Yt+Fn):$r(Fe[0]*Pt+Mn,Fe[1]*Yt+Fn,Fe[2]*Pt+Mn,Fe[3]*Yt+Fn,Mn=Fe[4]*Pt+Mn,Fn=Fe[5]*Yt+Fn);return Lt&&hl(),Ca(tt),this},p.path=function(f){for(var b=0;b<f.length;b++){var O=f[b],H=O.c;switch(O.op){case"m":Yo(H[0],H[1]);break;case"l":cl(H[0],H[1]);break;case"c":$r.apply(this,H);break;case"h":hl()}}return this},p.__private__.rect=p.rect=function(f,b,O,H,tt){if(isNaN(f)||isNaN(b)||isNaN(O)||isNaN(H)||!pi(tt))throw new Error("Invalid arguments passed to jsPDF.rect");return D===q&&(H=-H),T([Y(Z(f)),Y(U(b)),Y(Z(O)),Y(Z(H)),"re"].join(" ")),Ca(tt),this},p.__private__.triangle=p.triangle=function(f,b,O,H,tt,Lt,Pt){if(isNaN(f)||isNaN(b)||isNaN(O)||isNaN(H)||isNaN(tt)||isNaN(Lt)||!pi(Pt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[O-f,H-b],[tt-O,Lt-H],[f-tt,b-Lt]],f,b,[1,1],Pt,!0),this},p.__private__.roundedRect=p.roundedRect=function(f,b,O,H,tt,Lt,Pt){if(isNaN(f)||isNaN(b)||isNaN(O)||isNaN(H)||isNaN(tt)||isNaN(Lt)||!pi(Pt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Yt=4/3*(Math.SQRT2-1);return tt=Math.min(tt,.5*O),Lt=Math.min(Lt,.5*H),this.lines([[O-2*tt,0],[tt*Yt,0,tt,Lt-Lt*Yt,tt,Lt],[0,H-2*Lt],[0,Lt*Yt,-tt*Yt,Lt,-tt,Lt],[2*tt-O,0],[-tt*Yt,0,-tt,-Lt*Yt,-tt,-Lt],[0,2*Lt-H],[0,-Lt*Yt,tt*Yt,-Lt,tt,-Lt]],f+tt,b,[1,1],Pt,!0),this},p.__private__.ellipse=p.ellipse=function(f,b,O,H,tt){if(isNaN(f)||isNaN(b)||isNaN(O)||isNaN(H)||!pi(tt))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Lt=4/3*(Math.SQRT2-1)*O,Pt=4/3*(Math.SQRT2-1)*H;return Yo(f+O,b),$r(f+O,b-Pt,f+Lt,b-H,f,b-H),$r(f-Lt,b-H,f-O,b-Pt,f-O,b),$r(f-O,b+Pt,f-Lt,b+H,f,b+H),$r(f+Lt,b+H,f+O,b+Pt,f+O,b),Ca(tt),this},p.__private__.circle=p.circle=function(f,b,O,H){if(isNaN(f)||isNaN(b)||isNaN(O)||!pi(H))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(f,b,O,O,H)},p.setFont=function(f,b,O){return O&&(b=gt(b,O)),te=il(f,b,{disableWarning:!1}),this};var Yh=p.__private__.getFont=p.getFont=function(){return je[il.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var f,b,O={};for(f in ze)if(ze.hasOwnProperty(f))for(b in O[f]=[],ze[f])ze[f].hasOwnProperty(b)&&O[f].push(b);return O},p.addFont=function(f,b,O,H,tt){var Lt=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==Lt.indexOf(arguments[3])?tt=arguments[3]:arguments[3]&&-1==Lt.indexOf(arguments[3])&&(O=gt(O,H)),tl.call(this,f,b,O,tt=tt||"Identity-H")};var Ia,Ko=t.lineWidth||.200025,Kh=p.__private__.getLineWidth=p.getLineWidth=function(){return Ko},Ne=p.__private__.setLineWidth=p.setLineWidth=function(f){return Ko=f,T(Y(Z(f))+" w"),this};p.__private__.setLineDash=re.API.setLineDash=re.API.setLineDashPattern=function(f,b){if(f=f||[],b=b||0,isNaN(b)||!Array.isArray(f))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return f=f.map(function(O){return Y(Z(O))}).join(" "),b=Y(Z(b)),T("["+f+"] "+b+" d"),this};var Jh=p.__private__.getLineHeight=p.getLineHeight=function(){return Et*Ia};p.__private__.getLineHeight=p.getLineHeight=function(){return Et*Ia};var Xh=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(f){return"number"==typeof(f=f||1.15)&&(Ia=f),this},Qh=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return Ia};Xh(t.lineHeight);var Si=p.__private__.getHorizontalCoordinate=function(f){return Z(f)},ki=p.__private__.getVerticalCoordinate=function(f){return D===z?f:pe[M].mediaBox.topRightY-pe[M].mediaBox.bottomLeftY-Z(f)},tc=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(f){return Y(Si(f))},ec=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(f){return Y(ki(f))},go=t.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return ci(go)},p.__private__.setStrokeColor=p.setDrawColor=function(f,b,O,H){return go=Gr({ch1:f,ch2:b,ch3:O,ch4:H,pdfColorType:"draw",precision:2}),T(go),this};var Jo=t.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return ci(Jo)},p.__private__.setFillColor=p.setFillColor=function(f,b,O,H){return Jo=Gr({ch1:f,ch2:b,ch3:O,ch4:H,pdfColorType:"fill",precision:2}),T(Jo),this};var Ea=t.textColor||"0 g",nc=p.__private__.getTextColor=p.getTextColor=function(){return ci(Ea)};p.__private__.setTextColor=p.setTextColor=function(f,b,O,H){return Ea=Gr({ch1:f,ch2:b,ch3:O,ch4:H,pdfColorType:"text",precision:3}),this};var Pi=t.charSpace,rc=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(Pi||0)};p.__private__.setCharSpace=p.setCharSpace=function(f){if(isNaN(f))throw new Error("Invalid argument passed to 
1jsPDF.setCharSpace");return Pi=f,this};var Xo=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(f){var b=p.CapJoinStyles[f];if(void 0===b)throw new Error("Line cap style of '"+f+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xo=b,T(b+" J"),this};var Qo=0;p.__private__.setLineJoin=p.setLineJoin=function(f){var b=p.CapJoinStyles[f];if(void 0===b)throw new Error("Line join style of '"+f+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Qo=b,T(b+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(f){if(f=f||0,isNaN(f))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return T(Y(Z(f))+" M"),this},p.GState=Zs,p.setGState=function(f){(f="string"==typeof f?me[Ce[f]]:ul(null,f)).equals(gn)||(T("/"+f.id+" gs"),gn=f)};var ul=function(f,b){if(!f||!Ce[f]){var O=!1;for(var H in me)if(me.hasOwnProperty(H)&&me[H].equals(b)){O=!0;break}if(O)b=me[H];else{var tt="GS"+(Object.keys(me).length+1).toString(10);me[tt]=b,b.id=tt}return f&&(Ce[f]=b.id),tn.publish("addGState",b),b}};p.addGState=function(f,b){return ul(f,b),this},p.saveGraphicsState=function(){return T("q"),pn.push({key:te,size:Et,color:Ea}),this},p.restoreGraphicsState=function(){T("Q");var f=pn.pop();return te=f.key,Et=f.size,Ea=f.color,gn=null,this},p.setCurrentTransformationMatrix=function(f){return T(f.toString()+" cm"),this},p.comment=function(f){return T("#"+f),this};var Ci=function(f,b){var O=f||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return O},set:function(Lt){isNaN(Lt)||(O=parseFloat(Lt))}});var H=b||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return H},set:function(Lt){isNaN(Lt)||(H=parseFloat(Lt))}});var tt="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return tt},set:function(Lt){tt=Lt.toString()}}),this},ts=function(f,b,O,H){Ci.call(this,f,b),this.type="rect";var tt=O||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return tt},set:function(Pt){isNaN(Pt)||(tt=parseFloat(Pt))}});var Lt=H||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Lt},set:function(Pt){isNaN(Pt)||(Lt=parseFloat(Pt))}}),this},mo=function(){this.page=Ue,this.currentPage=M,this.pages=Ft.slice(0),this.pagesContext=pe.slice(0),this.x=ae,this.y=Sn,this.matrix=$e,this.width=ns(M),this.height=dl(M),this.outputDestination=jt,this.id="",this.objectNumber=-1};mo.prototype.restore=function(){Ue=this.page,pe=this.pagesContext,Ft=this.pages,ae=this.x,Sn=this.y,$e=this.matrix,fl(M=this.currentPage,this.width),Ii(M,this.height),jt=this.outputDestination};var es=function(f,b,O,H,tt){hi.push(new mo),Ue=M=0,Ft=[],ae=f,Sn=b,$e=tt,Vo([O,H])};for(var Ta in p.beginFormObject=function(f,b,O,H,tt){return es(f,b,O,H,tt),this},p.endFormObject=function(f){return function(b){if(xi[b])hi.pop().restore();else{var O=new mo,H="Xo"+(Object.keys(nr).length+1).toString(10);O.id=H,xi[b]=H,nr[H]=O,tn.publish("addFormObject",O),hi.pop().restore()}}(f),this},p.doFormObject=function(f,b){var O=nr[xi[f]];return T("q"),T(b.toString()+" cm"),T("/"+O.id+" Do"),T("Q"),this},p.getFormObject=function(f){var b=nr[xi[f]];return{x:b.x,y:b.y,width:b.width,height:b.height,matrix:b.matrix}},p.save=function(f,b){return f=f||"generated.pdf",(b=b||{}).returnPromise=b.returnPromise||!1,!1===b.returnPromise?(_a(fo(di()),f),"function"==typeof _a.unload&&ye.setTimeout&&setTimeout(_a.unload,911),this):new Promise(function(O,H){try{var tt=_a(fo(di()),f);"function"==typeof _a.unload&&ye.setTimeout&&setTimeout(_a.unload,911),O(tt)}catch(Lt){H(Lt.message)}})},re.API)re.API.hasOwnProperty(Ta)&&("events"===Ta&&re.API.events.length?function(f,b){var H,tt;for(tt=b.length-1;-1!==tt;tt--)f.subscribe.apply(f,[b[tt][0]].concat("function"==typeof(H=b[tt][1])?[H]:H))}(tn,re.API.events):p[Ta]=re.API[Ta]);function ns(f){return pe[f].mediaBox.topRightX-pe[f].mediaBox.bottomLeftX}function fl(f,b){pe[f].mediaBox.topRightX=b+pe[f].mediaBox.bottomLeftX}function dl(f){return pe[f].mediaBox.topRightY-pe[f].mediaBox.bottomLeftY}function Ii(f,b){pe[f].mediaBox.topRightY=b+pe[f].mediaBox.bottomLeftY}var Ei=p.getPageWidth=function(f){return ns(f=f||M)/Te},pl=p.setPageWidth=function(f,b){fl(f,b*Te)},Fa=p.getPageHeight=function(f){return dl(f=f||M)/Te},gl=p.setPageHeight=function(f,b){Ii(f,b*Te)};return p.internal={pdfEscape:Br,getStyle:ll,getFont:Yh,getFontSize:$t,getCharSpace:rc,getTextColor:nc,getLineHeight:Jh,getLineHeightFactor:Qh,getLineWidth:Kh,write:Ut,getHorizontalCoordinate:Si,getVerticalCoordinate:ki,getCoordinateString:tc,getVerticalCoordinateString:ec,collections:{},newObject:bn,newAdditionalObject:Sa,newObjectDeferred:Zn,newObjectDeferredBegin:Gn,getFilters:Vr,putStream:Fr,events:tn,scaleFactor:Te,pageSize:{getWidth:function(){return Ei(M)},setWidth:function(f){pl(M,f)},getHeight:function(){return Fa(M)},setHeight:function(f){gl(M,f)}},encryptionOptions:g,encryption:On,getEncryptor:function(f){return null!==g?On.encryptor(f,0):function(b){return b}},output:ol,getNumberOfPages:rl,get pages(){return Ft},out:T,f2:N,f3:E,getPageInfo:Ni,getPageInfoByObjId:sl,getCurrentPageInfo:Zh,getPDFVersion:k,Point:Ci,Rectangle:ts,Matrix:ge,hasHotfix:Or},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return Ei(M)},set:function(f){pl(M,f)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return Fa(M)},set:function(f){gl(M,f)},enumerable:!0,configurable:!0}),function(f){for(var b=0,O=fe.length;b<O;b++){var H=tl.call(this,f[b][0],f[b][1],f[b][2],fe[b][3],!0);!1===v&&(y[H]=!0);var tt=f[b][0].split("-");Qs({id:H,fontName:tt[0],fontStyle:tt[1]||""})}tn.publish("addFonts",{fonts:je,dictionary:ze})}.call(p,fe),te="F1",el(i,e),tn.publish("initialized"),p}Qa.prototype.lsbFirstWord=function(t){return String.fromCharCode(255&t,t>>8&255,t>>16&255,t>>24&255)},Qa.prototype.toHexString=function(t){return t.split("").map(function(n){return("0"+(255&n.charCo
vendor: 5,668 bytes, line 1
1deAt(0)).toString(16)).slice(-2)}).join("")},Qa.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("")},Qa.prototype.processOwnerPassword=function(t,n){return Fh(Th(n).substr(0,5),t)},Qa.prototype.encryptor=function(t,n){var e=Th(this.encryptionKey+String.fromCharCode(255&t,t>>8&255,t>>16&255,255&n,n>>8&255)).substr(0,10);return function(r){return Fh(e,r)}},Zs.prototype.equals=function(t){var n,e="id,objectNumber,equals";if(!t||(0,ut.Z)(t)!==(0,ut.Z)(this))return!1;var r=0;for(n in this)if(!(e.indexOf(n)>=0)){if(this.hasOwnProperty(n)&&!t.hasOwnProperty(n)||this[n]!==t[n])return!1;r++}for(n in t)t.hasOwnProperty(n)&&e.indexOf(n)<0&&r--;return 0===r},re.API={events:[]},re.version="3.0.4";var vn=re.API,Bh=1,Aa=function(t){return t.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},no=function(t){return t.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Se=function(t){return t.toFixed(2)},Vi=function(t){return t.toFixed(5)};vn.__acroform__={};var pr=function(t,n){t.prototype=Object.create(n.prototype),t.prototype.constructor=t},Mf=function(t){return t*Bh},oi=function(t){var n=new Rf,e=Vt.internal.getHeight(t)||0,r=Vt.internal.getWidth(t)||0;return n.BBox=[0,0,Number(Se(r)),Number(Se(e))],n},F5=vn.__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},B5=vn.__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)},O5=vn.__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=vn.__acroform__.getBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return O5(t,n-1)},Ln=vn.__acroform__.setBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return F5(t,n-1)},Nn=vn.__acroform__.clearBitForPdf=function(t,n){if(isNaN(t)||isNaN(n))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return B5(t,n-1)},M5=vn.__acroform__.calculateCoordinates=function(t,n){var e=n.internal.getHorizontalCoordinate,r=n.internal.getVerticalCoordinate,i=t[0],a=t[1],h=t[2],s=t[3],c={};return c.lowerLeft_X=e(i)||0,c.lowerLeft_Y=r(a+s)||0,c.upperRight_X=e(i+h)||0,c.upperRight_Y=r(a)||0,[Number(Se(c.lowerLeft_X)),Number(Se(c.lowerLeft_Y)),Number(Se(c.upperRight_X)),Number(Se(c.upperRight_Y))]},D5=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var n=[],r=Oh(t,t._V||t.DV),i=t.scope.internal.getFont(t.fontName,t.fontStyle).id;n.push("/Tx BMC"),n.push("q"),n.push("BT"),n.push(t.scope.__private__.encodeColorString(t.color)),n.push("/"+i+" "+Se(r.fontSize)+" Tf"),n.push("1 0 0 1 0 0 Tm"),n.push(r.text),n.push("ET"),n.push("Q"),n.push("EMC");var a=oi(t);return a.scope=t.scope,a.stream=n.join("\n"),a}},Oh=function(t,n){var e=0===t.fontSize?t.maxFontSize:t.fontSize,r={text:"",fontSize:""},i=(n=")"==(n="("==n.substr(0,1)?n.substr(1):n).substr(n.length-1)?n.substr(0,n.length-1):n).split(" ");i=i.map(t.multiline?function(N){return N.split("\n")}:function(N){return[N]});var a=e,h=Vt.internal.getHeight(t)||0;h=h<0?-h:h;var N,s=Vt.internal.getWidth(t)||0;s=s<0?-s:s,a++;t:for(;a>0;){n="",a--;var u,g,v=Ws("3",t,a).height,y=t.multiline?h-a:(h-v)/2,p=y+=2,C=0,k=0,I=0;if(a<=0){n="(...) Tj\n",n+="% Width of Text: "+Ws(n,t,a=12).width+", FieldWidth:"+s+"\n";break}for(var L="",q=0,z=0;z<i.length;z++)if(i.hasOwnProperty(z)){var D=!1;if(1!==i[z].length&&I!==i[z].length-1){if((v+2)*(q+2)+2>h)continue t;L+=i[z][I],D=!0,k=z,z--}else{L=" "==(L+=i[z][I]+" ").substr(L.length-1)?L.substr(0,L.length-1):L;var ct=parseInt(z),_t=(N=ct)+1<i.length&&Ws(L+" "+i[N+1][0],t,a).width<=s-4,gt=z>=i.length-1;if(_t&&!gt){L+=" ",I=0;continue}if(_t||gt){if(gt)k=ct;else if(t.multiline&&(v+2)*(q+2)+2>h)continue t}else{if(!t.multiline||(v+2)*(q+2)+2>h)continue t;k=ct}}for(var Y="",R=C;R<=k;R++){var et=i[R];if(t.multiline){if(R===k){Y+=et[I]+" ",I=(I+1)%et.length;continue}if(R===C){Y+=et[et.length-1]+" ";continue}}Y+=et[0]+" "}switch(Y=" "==Y.substr(Y.length-1)?Y.substr(0,Y.length-1):Y,g=Ws(Y,t,a).width,t.textAlign){case"right":u=s-g-2;break;case"center":u=(s-g)/2;break;default:u=2}n+=Se(u)+" "+Se(p)+" Td\n",n+="("+Aa(Y)+") Tj\n",n+=-Se(u)+" 0 Td\n",p=-(a+2),g=0,C=D?k:k+1,q++,L=""}break}return r.text=n,r.fontSize=a,r},Ws=function(t,n,e){var r=n.scope.internal.getFont(n.fontName,n.fontStyle),i=n.scope.getStringUnitWidth(t,{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:n.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:i}},R5={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},j5=function(t,n){var e={type:"reference",object:t};void 0===n.internal.getPageInfo(t.page).pageContext.annotations.find(function(r){return r.type===e.type&&r.object===e.object})&&n.internal.getPageInfo(t.page).pageContext.annotations.push(e)},Df=vn.__acroform__.arrayToPdfArray=function(t,n,e){var r=function(h){return h};if(Array.isArray(t)){for(var i="[",a=0;a<t.length;a++)switch(0!==a&&(i+=" "),(0,ut.Z)(t[a])){case"boolean":case"number":case"object":i+=t[a].toString();break;case"string":"/"!==t[a].substr(0,1)?(void 0!==n&&e&&(r=e.internal.getEncryptor(n)),i+="("+Aa(r(t[a].toString()))+")"):i+=t[a].toString()}return i+"]"}
vendor: 4,369 bytes, line 1
1throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Mh=function(t,n,e){var r=function(i){return i};return void 0!==n&&e&&(r=e.internal.getEncryptor(n)),(t=t||"").toString(),"("+Aa(r(t))+")"},si=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)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})};si.prototype.toString=function(){return this.objId+" 0 R"},si.prototype.putStream=function(){var t=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:t,objectId:this.objId}),this.scope.internal.out("endobj")},si.prototype.getKeyValueListForStream=function(){var t=[],n=Object.getOwnPropertyNames(this).filter(function(a){return"content"!=a&&"appearanceStreamContent"!=a&&"scope"!=a&&"objId"!=a&&"_"!=a.substring(0,1)});for(var e in n)if(!1===Object.getOwnPropertyDescriptor(this,n[e]).configurable){var r=n[e],i=this[r];i&&(Array.isArray(i)?t.push({key:r,value:Df(i,this.objId,this.scope)}):i instanceof si?(i.scope=this.scope,t.push({key:r,value:i.objId+" 0 R"})):"function"!=typeof i&&t.push({key:r,value:i}))}return t};var Rf=function(){si.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}})};pr(Rf,si);var jf=function(){si.call(this);var t,n=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return n.length>0?n:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return n}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(t){var e=function(r){return r};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+Aa(e(t))+")"}},set:function(e){t=e}})};pr(jf,si);var qr=function t(){si.call(this);var n=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return n},set:function(L){if(isNaN(L))throw new Error('Invalid value "'+L+'" for attribute F supplied.');n=L}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(n,3))},set:function(L){this.F=!0===Boolean(L)?Ln(n,3):Nn(n,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(L){if(isNaN(L))throw new Error('Invalid value "'+L+'" for attribute Ff supplied.');e=L}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(L){r=void 0!==L?L:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(L){r[0]=L}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(L){r[1]=L}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(L){r[2]=L}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(L){r[3]=L}});var i="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return i},set:function(L){switch(L){case"/Btn":case"/Tx":case"/Ch":case"/Sig":i=L;break;default:throw new Error('Invalid value "'+L+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof $s)return;a="FieldObject"+t.FieldNum++}var L=function(q){return q};return this.scope&&(L=this.scope.internal.getEncryptor(this.objId)),"("+Aa(L(a))+")"},set:function(L){a=L.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a}
vendor: 4,144 bytes, line 1
1,set:function(L){a=L}});var h="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return h},set:function(L){h=L}});var s="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return s},set:function(L){s=L}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(L){c=L}});var u=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===u?50/Bh:u},set:function(L){u=L}});var g="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return g},set:function(L){g=L}});var v="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!v||this instanceof $s||this instanceof La))return Mh(v,this.objId,this.scope)},set:function(L){L=L.toString(),v=L}});var y=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(y)return this instanceof Hn==0?Mh(y,this.objId,this.scope):y},set:function(L){L=L.toString(),y=this instanceof Hn==0?"("===L.substr(0,1)?no(L.substr(1,L.length-2)):no(L):L}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof Hn==1?no(y.substr(1,y.length-1)):y},set:function(L){L=L.toString(),y=this instanceof Hn==1?"/"+L:L}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(L){this.V=L}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof Hn==0?Mh(p,this.objId,this.scope):p},set:function(L){L=L.toString(),p=this instanceof Hn==0?"("===L.substr(0,1)?no(L.substr(1,L.length-2)):no(L):L}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof Hn==1?no(p.substr(1,p.length-1)):p},set:function(L){L=L.toString(),p=this instanceof Hn==1?"/"+L:L}}),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 C,k=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return k},set:function(L){L=Boolean(L),k=L}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(C)return C},set:function(L){C=L}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,1))},set:function(L){this.Ff=!0===Boolean(L)?Ln(this.Ff,1):Nn(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,2))},set:function(L){this.Ff=!0===Boolean(L)?Ln(this.Ff,2):Nn(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,3))},set:function(L){this.Ff=!0===Boolean(L)?Ln(this.Ff,3):Nn(this.Ff,3)}});var I=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==I)return I},set:function(L){if(-1===[0,1,2].indexOf(L))throw new Error('Invalid value "'+L+'" for attribute Q supplied.');I=L}}),Object.defineProperty(this,"textAlign",{get:function(){var L;switch(I){case 0:default:L="left";break;case 1:L="center";break;case 2:L="right"}return L},configurable:!0,enumerable:!0,set:function(L){switch(L){case"right":case 2:I=2;break;case"center":case 1:I=1;break;default:I=0}}})};pr(qr,si);var ro=function(){qr.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 Df(n,this.objId,this.scope)}
vendor: 4,484 bytes, line 1
1,set:function(e){var r,i;i=[],"string"==typeof(r=e)&&(i=function(a,h,s){s||(s=1);for(var c,u=[];c=h.exec(a);)u.push(c[s]);return u}(r,/\((.*?)\)/g)),n=i}}),this.getOptions=function(){return n},this.setOptions=function(e){n=e,this.sort&&n.sort()},this.addOption=function(e){e=(e=e||"").toString(),n.push(e),this.sort&&n.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();-1!==n.indexOf(e)&&(n.splice(n.indexOf(e),1),!1!==r););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,18))},set:function(e){this.Ff=!0===Boolean(e)?Ln(this.Ff,18):Nn(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,19))},set:function(e){!0===this.combo&&(this.Ff=!0===Boolean(e)?Ln(this.Ff,19):Nn(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,20))},set:function(e){!0===Boolean(e)?(this.Ff=Ln(this.Ff,20),n.sort()):this.Ff=Nn(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,22))},set:function(e){this.Ff=!0===Boolean(e)?Ln(this.Ff,22):Nn(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,23))},set:function(e){this.Ff=!0===Boolean(e)?Ln(this.Ff,23):Nn(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,27))},set:function(e){this.Ff=!0===Boolean(e)?Ln(this.Ff,27):Nn(this.Ff,27)}}),this.hasAppearanceStream=!1};pr(ro,qr);var io=function(){ro.call(this),this.fontName="helvetica",this.combo=!1};pr(io,ro);var ao=function(){io.call(this),this.combo=!0};pr(ao,io);var Gs=function(){ao.call(this),this.edit=!0};pr(Gs,ao);var Hn=function(){qr.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,15))},set:function(e){this.Ff=!0===Boolean(e)?Ln(this.Ff,15):Nn(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,16))},set:function(e){this.Ff=!0===Boolean(e)?Ln(this.Ff,16):Nn(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,17))},set:function(e){this.Ff=!0===Boolean(e)?Ln(this.Ff,17):Nn(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,26))},set:function(e){this.Ff=!0===Boolean(e)?Ln(this.Ff,26):Nn(this.Ff,26)}});var t,n={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(a){return a};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(n).length){var r,i=[];for(r in i.push("<<"),n)i.push("/"+r+" ("+Aa(e(n[r]))+")");return i.push(">>"),i.join("\n")}},set:function(e){"object"===(0,ut.Z)(e)&&(n=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return n.CA||""},set:function(e){"string"==typeof e&&(n.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(e){t="/"+e}})};pr(Hn,qr);var Vs=function(){Hn.call(this),this.pushButton=!0};pr(Vs,Hn);var oo=function(){Hn.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=void 0!==n?n:[]}})};pr(oo,Hn);var $s=function(){var t,n;qr.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return t},set:function(i){t=i}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return n},set:function(i){n=i}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var i=function(s){return s};this.scope&&(i=this.scope.internal.getEncryptor(this.objId));var a,h=[];for(a in h.push("<<"),r)h.push("/"+a+" ("+Aa(i(r[a]))+")");return h.push(">>"),h.join("\n")},set:function(i){"object"===(0,ut.Z)(i)&&(r=i)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(i){"string"==typeof i&&(r.CA=i)}}
vendor: 4,459 bytes, line 1
1),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(i){e=i}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(i){e="/"+i}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Vt.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};pr($s,qr),oo.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()}},oo.prototype.createOption=function(t){var n=new $s;return n.Parent=this,n.optionName=t,this.Kids.push(n),U5.call(this.scope,n),n};var Ys=function(){Hn.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Vt.CheckBox.createAppearanceStream()};pr(Ys,Hn);var La=function(){qr.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,13))},set:function(n){this.Ff=!0===Boolean(n)?Ln(this.Ff,13):Nn(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,21))},set:function(n){this.Ff=!0===Boolean(n)?Ln(this.Ff,21):Nn(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,23))},set:function(n){this.Ff=!0===Boolean(n)?Ln(this.Ff,23):Nn(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,24))},set:function(n){this.Ff=!0===Boolean(n)?Ln(this.Ff,24):Nn(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,25))},set:function(n){this.Ff=!0===Boolean(n)?Ln(this.Ff,25):Nn(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,26))},set:function(n){this.Ff=!0===Boolean(n)?Ln(this.Ff,26):Nn(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}})};pr(La,qr);var Ks=function(){La.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(An(this.Ff,14))},set:function(t){this.Ff=!0===Boolean(t)?Ln(this.Ff,14):Nn(this.Ff,14)}}),this.password=!0};pr(Ks,La);var Vt={CheckBox:{createAppearanceStream:function(){return{N:{On:Vt.CheckBox.YesNormal},D:{On:Vt.CheckBox.YesPushDown,Off:Vt.CheckBox.OffPushDown}}},YesPushDown:function(t){var n=oi(t);n.scope=t.scope;var e=[],r=t.scope.internal.getFont(t.fontName,t.fontStyle).id,i=t.scope.__private__.encodeColorString(t.color),a=Oh(t,t.caption);return e.push("0.749023 g"),e.push("0 0 "+Se(Vt.internal.getWidth(t))+" "+Se(Vt.internal.getHeight(t))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+r+" "+Se(a.fontSize)+" Tf "+i),e.push("BT"),e.push(a.text),e.push("ET"),e.push("Q"),e.push("EMC"),n.stream=e.join("\n"),n},YesNormal:function(t){var n=oi(t);n.scope=t.scope;var e=t.scope.internal.getFont(t.fontName,t.fontStyle).id,r=t.scope.__private__.encodeColorString(t.color),i=[],a=Vt.internal.getHeight(t),h=Vt.internal.getWidth(t),s=Oh(t,t.caption);return i.push("1 g"),i.push("0 0 "+Se(h)+" "+Se(a)+" re"),i.push("f"),i.push("q"),i.push("0 0 1 rg"),i.push("0 0 "+Se(h-1)+" "+Se(a-1)+" re"),i.push("W"),i.push("n"),i.push("0 g"),i.push("BT"),i.push("/"+e+" "+Se(s.fontSize)+" Tf "+r),i.push(s.text),i.push("ET"),i.push("Q"),n.stream=i.join("\n"),n},OffPushDown:function(t){var n=oi(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Se(Vt.internal.getWidth(t))+" "+Se(Vt.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join("\n"),n}},RadioButton:{Circle:{createAppearanceStream:function(t){var n={D:{Off:Vt.RadioButton.Circle.OffPushDown},N:{}}
vendor: 7,600 bytes, line 1
1;return n.N[t]=Vt.RadioButton.Circle.YesNormal,n.D[t]=Vt.RadioButton.Circle.YesPushDown,n},getCA:function(){return"l"},YesNormal:function(t){var n=oi(t);n.scope=t.scope;var e=[],r=Vt.internal.getWidth(t)<=Vt.internal.getHeight(t)?Vt.internal.getWidth(t)/4:Vt.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var a=Number((r*Vt.internal.Bezier_C).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+Vi(Vt.internal.getWidth(t)/2)+" "+Vi(Vt.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),e.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),e.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),e.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join("\n"),n},YesPushDown:function(t){var n=oi(t);n.scope=t.scope;var e=[],r=Vt.internal.getWidth(t)<=Vt.internal.getHeight(t)?Vt.internal.getWidth(t)/4:Vt.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),a=Number((i*Vt.internal.Bezier_C).toFixed(5)),h=Number((r*Vt.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+Vi(Vt.internal.getWidth(t)/2)+" "+Vi(Vt.internal.getHeight(t)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),e.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),e.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),e.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+Vi(Vt.internal.getWidth(t)/2)+" "+Vi(Vt.internal.getHeight(t)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+h+" "+h+" "+r+" 0 "+r+" c"),e.push("-"+h+" "+r+" -"+r+" "+h+" -"+r+" 0 c"),e.push("-"+r+" -"+h+" -"+h+" -"+r+" 0 -"+r+" c"),e.push(h+" -"+r+" "+r+" -"+h+" "+r+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join("\n"),n},OffPushDown:function(t){var n=oi(t);n.scope=t.scope;var e=[],r=Vt.internal.getWidth(t)<=Vt.internal.getHeight(t)?Vt.internal.getWidth(t)/4:Vt.internal.getHeight(t)/4;r=Number((.9*r).toFixed(5));var i=Number((2*r).toFixed(5)),a=Number((i*Vt.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+Vi(Vt.internal.getWidth(t)/2)+" "+Vi(Vt.internal.getHeight(t)/2)+" cm"),e.push(i+" 0 m"),e.push(i+" "+a+" "+a+" "+i+" 0 "+i+" c"),e.push("-"+a+" "+i+" -"+i+" "+a+" -"+i+" 0 c"),e.push("-"+i+" -"+a+" -"+a+" -"+i+" 0 -"+i+" c"),e.push(a+" -"+i+" "+i+" -"+a+" "+i+" 0 c"),e.push("f"),e.push("Q"),n.stream=e.join("\n"),n}},Cross:{createAppearanceStream:function(t){var n={D:{Off:Vt.RadioButton.Cross.OffPushDown},N:{}};return n.N[t]=Vt.RadioButton.Cross.YesNormal,n.D[t]=Vt.RadioButton.Cross.YesPushDown,n},getCA:function(){return"8"},YesNormal:function(t){var n=oi(t);n.scope=t.scope;var e=[],r=Vt.internal.calculateCross(t);return e.push("q"),e.push("1 1 "+Se(Vt.internal.getWidth(t)-2)+" "+Se(Vt.internal.getHeight(t)-2)+" re"),e.push("W"),e.push("n"),e.push(Se(r.x1.x)+" "+Se(r.x1.y)+" m"),e.push(Se(r.x2.x)+" "+Se(r.x2.y)+" l"),e.push(Se(r.x4.x)+" "+Se(r.x4.y)+" m"),e.push(Se(r.x3.x)+" "+Se(r.x3.y)+" l"),e.push("s"),e.push("Q"),n.stream=e.join("\n"),n},YesPushDown:function(t){var n=oi(t);n.scope=t.scope;var e=Vt.internal.calculateCross(t),r=[];return r.push("0.749023 g"),r.push("0 0 "+Se(Vt.internal.getWidth(t))+" "+Se(Vt.internal.getHeight(t))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Se(Vt.internal.getWidth(t)-2)+" "+Se(Vt.internal.getHeight(t)-2)+" re"),r.push("W"),r.push("n"),r.push(Se(e.x1.x)+" "+Se(e.x1.y)+" m"),r.push(Se(e.x2.x)+" "+Se(e.x2.y)+" l"),r.push(Se(e.x4.x)+" "+Se(e.x4.y)+" m"),r.push(Se(e.x3.x)+" "+Se(e.x3.y)+" l"),r.push("s"),r.push("Q"),n.stream=r.join("\n"),n},OffPushDown:function(t){var n=oi(t);n.scope=t.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Se(Vt.internal.getWidth(t))+" "+Se(Vt.internal.getHeight(t))+" re"),e.push("f"),n.stream=e.join("\n"),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}};Vt.internal={Bezier_C:.551915024494,calculateCross:function(t){var n=Vt.internal.getWidth(t),e=Vt.internal.getHeight(t),r=Math.min(n,e);return{x1:{x:(n-r)/2,y:(e-r)/2+r},x2:{x:(n-r)/2+r,y:(e-r)/2},x3:{x:(n-r)/2,y:(e-r)/2},x4:{x:(n-r)/2+r,y:(e-r)/2+r}}}},Vt.internal.getWidth=function(t){var n=0;return"object"===(0,ut.Z)(t)&&(n=Mf(t.Rect[2])),n},Vt.internal.getHeight=function(t){var n=0;return"object"===(0,ut.Z)(t)&&(n=Mf(t.Rect[3])),n};var t,n,U5=vn.addField=function(t){if(function(t,n){if(n.scope=t,void 0!==t.internal&&(void 0===t.internal.acroformPlugin||!1===t.internal.acroformPlugin.isInitialized)){if(qr.FieldNum=0,t.internal.acroformPlugin=JSON.parse(JSON.stringify(R5)),t.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Bh=t.internal.scaleFactor,t.internal.acroformPlugin.acroFormDictionaryRoot=new jf,t.internal.acroformPlugin.acroFormDictionaryRoot.scope=t,t.internal.acroformPlugin.acroFormDictionaryRoot._eventID=t.internal.events.subscribe("postPutResources",function(){var e;(e=t).internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0}),t.internal.events.subscribe("buildDocument",function(){!function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var i in r)if(r.hasOwnProperty(i)){var a=r[i];a.objId=void 0,a.hasAnnotation&&j5(a,e)}}(t)}),t.internal.events.subscribe("putCatalog",function(){!function(e){if(void 0===e.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(t)}),t.internal.events.subscribe("postPutPages",function(e){!function(r,i){var a=!r;for(var h in r||(i.internal.newObjectDeferredBegin(i.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),i.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||i.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(h)){var s=r[h],c=[],u=s.Rect;if(s.Rect&&(s.Rect=M5(s.Rect,i)),i.internal.newObjectDeferredBegin(s.objId,!0),s.DA=Vt.createDefaultAppearanceStream(s),"object"===(0,ut.Z)(s)&&"function"==typeof s.getKeyValueListForStream&&(c=s.getKeyValueListForStream()),s.Rect=u,s.hasAppearanceStream&&!s.appearanceStreamContent){var g=D5(s);c.push({key:"AP",value:"<</N "+g+">>"}),i.internal.acroformPlugin.xForms.push(g)}if(s.appearanceStreamContent){var v="";for(var y in s.appearanceStreamContent)if(s.appearanceStreamContent.hasOwnProperty(y)){var p=s.appearanceStreamContent[y];if(v+="/"+y+" ",v+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var h in p)if(p.hasOwnProperty(h)){var C=p[h];"function"==typeof C&&(C=C.call(i,s)),v+="/"+h+" "+C+" ",i.internal.acroformPlugin.xForms.indexOf(C)>=0||i.internal.acroformPlugin.xForms.push(C)}}else"function"==typeof(C=p)&&(C=C.call(i,s)),v+="/"+h+" "+C,i.internal.acroformPlugin.xForms.indexOf(C)>=0||i.internal.acroformPlugin.xForms.push(C);v+=">>"}c.push({key:"AP",value:"<<\n"+v+">>"})}i.internal.putStream({additionalKeyValues:c,objectId:s.objId}),i.internal.out("endobj")}a&&function(k,I){for(var L in k)if(k.hasOwnProperty(L)){var q=L,z=k[L];I.internal.newObjectDeferredBegin(z.objId,!0),"object"===(0,ut.Z)(z)&&"function"==typeof z.putStream&&z.putStream(),delete k[q]}}(i.internal.acroformPlugin.xForms,i)}(e,t)}),t.internal.acroformPlugin.isInitialized=!0}}(this,t),!(t instanceof qr))throw new Error("Invalid argument passed to 
1jsPDF.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};function zf(t){return t.reduce(function(n,e,r){return n[e]=r,n},{})}vn.AcroFormChoiceField=ro,vn.AcroFormListBox=io,vn.AcroFormComboBox=ao,vn.AcroFormEditBox=Gs,vn.AcroFormButton=Hn,vn.AcroFormPushButton=Vs,vn.AcroFormRadioButton=oo,vn.AcroFormCheckBox=Ys,vn.AcroFormTextField=La,vn.AcroFormPasswordField=Ks,vn.AcroFormAppearance=Vt,vn.AcroForm={ChoiceField:ro,ListBox:io,ComboBox:ao,EditBox:Gs,Button:Hn,PushButton:Vs,RadioButton:oo,CheckBox:Ys,TextField:La,PasswordField:Ks,Appearance:Vt},re.AcroForm={ChoiceField:ro,ListBox:io,ComboBox:ao,EditBox:Gs,Button:Hn,PushButton:Vs,RadioButton:oo,CheckBox:Ys,TextField:La,PasswordField:Ks,Appearance:Vt},function(t){var n="addImage_";t.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},i=t.__addimage__.getImageFileTypeByImageData=function(N,E){var Z,U,ft,pt,vt,lt=e;if("RGBA"===(E=E||e)||void 0!==N.data&&N.data instanceof Uint8ClampedArray&&"height"in N&&"width"in N)return"RGBA";if(_t(N))for(vt in r)for(ft=r[vt],Z=0;Z<ft.length;Z+=1){for(pt=!0,U=0;U<ft[Z].length;U+=1)if(void 0!==ft[Z][U]&&ft[Z][U]!==N[U]){pt=!1;break}if(!0===pt){lt=vt;break}}else for(vt in r)for(ft=r[vt],Z=0;Z<ft.length;Z+=1){for(pt=!0,U=0;U<ft[Z].length;U+=1)if(void 0!==ft[Z][U]&&ft[Z][U]!==N.charCodeAt(U)){pt=!1;break}if(!0===pt){lt=vt;break}}return lt===e&&E!==e&&(lt=E),lt},a=function N(E){for(var Z=this.internal.write,U=this.internal.putStream,ft=(0,this.internal.getFilters)();-1!==ft.indexOf("FlateEncode");)ft.splice(ft.indexOf("FlateEncode"),1);E.objectId=this.internal.newObject();var pt=[];if(pt.push({key:"Type",value:"/XObject"}),pt.push({key:"Subtype",value:"/Image"}),pt.push({key:"Width",value:E.width}),pt.push({key:"Height",value:E.height}
vendor: 8,341 bytes, line 1
1),E.colorSpace===L.INDEXED?pt.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(E.palette.length/3-1)+" "+("sMask"in E&&void 0!==E.sMask?E.objectId+2:E.objectId+1)+" 0 R]"}):(pt.push({key:"ColorSpace",value:"/"+E.colorSpace}),E.colorSpace===L.DEVICE_CMYK&&pt.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),pt.push({key:"BitsPerComponent",value:E.bitsPerComponent}),"decodeParameters"in E&&void 0!==E.decodeParameters&&pt.push({key:"DecodeParms",value:"<<"+E.decodeParameters+">>"}),"transparency"in E&&Array.isArray(E.transparency)&&E.transparency.length>0){for(var vt="",lt=0,wt=E.transparency.length;lt<wt;lt++)vt+=E.transparency[lt]+" "+E.transparency[lt]+" ";pt.push({key:"Mask",value:"["+vt+"]"})}if(void 0!==E.sMask&&pt.push({key:"SMask",value:E.objectId+1+" 0 R"}),U({data:E.data,additionalKeyValues:pt,alreadyAppliedFilters:void 0!==E.filter?["/"+E.filter]:void 0,objectId:E.objectId}),Z("endobj"),"sMask"in E&&void 0!==E.sMask){var kt,A=null!==(kt=E.sMaskBitsPerComponent)&&void 0!==kt?kt:E.bitsPerComponent,M={width:E.width,height:E.height,colorSpace:"DeviceGray",bitsPerComponent:A,data:E.sMask};"filter"in E&&(M.decodeParameters="/Predictor ".concat(E.predictor," /Colors 1 /BitsPerComponent ").concat(A," /Columns ").concat(E.width),M.filter=E.filter),N.call(this,M)}if(E.colorSpace===L.INDEXED){var j=this.internal.newObject();U({data:Y(new Uint8Array(E.palette)),objectId:j}),Z("endobj")}},h=function(){var N=this.internal.collections[n+"images"];for(var E in N)a.call(this,N[E])},s=function(){var N,E=this.internal.collections[n+"images"],Z=this.internal.write;for(var U in E)Z("/I"+(N=E[U]).index,N.objectId,"0","R")},c=function(){this.internal.collections[n+"images"]||(this.internal.collections[n+"images"]={},this.internal.events.subscribe("putResources",h),this.internal.events.subscribe("putXobjectDict",s))},u=function(){var N=this.internal.collections[n+"images"];return c.call(this),N},g=function(){return Object.keys(this.internal.collections[n+"images"]).length},v=function(N){return"function"==typeof t["process"+N.toUpperCase()]},y=function(N){return"object"===(0,ut.Z)(N)&&1===N.nodeType},p=function(N,E){if("IMG"===N.nodeName&&N.hasAttribute("src")){var Z=""+N.getAttribute("src");if(0===Z.indexOf("data:image/"))return qs(unescape(Z).split("base64,").pop());var U=t.loadFile(Z,!0);if(void 0!==U)return U}if("CANVAS"===N.nodeName){if(0===N.width||0===N.height)throw new Error("Given canvas must have data. Canvas width: "+N.width+", height: "+N.height);var ft;switch(E){case"PNG":ft="image/png";break;case"WEBP":ft="image/webp";break;default:ft="image/jpeg"}return qs(N.toDataURL(ft,1).split("base64,").pop())}},C=function(N){var E=this.internal.collections[n+"images"];if(E)for(var Z in E)if(N===E[Z].alias)return E[Z]},k=function(N,E,Z){return N||E||(N=-96,E=-96),N<0&&(N=-1*Z.width*72/N/this.internal.scaleFactor),E<0&&(E=-1*Z.height*72/E/this.internal.scaleFactor),0===N&&(N=E*Z.width/Z.height),0===E&&(E=N*Z.height/Z.width),[N,E]},I=function(N,E,Z,U,ft,pt){var vt=k.call(this,Z,U,ft),lt=this.internal.getCoordinateString,wt=this.internal.getVerticalCoordinateString,Ot=u.call(this);if(Z=vt[0],U=vt[1],Ot[ft.index]=ft,pt){pt*=Math.PI/180;var kt=Math.cos(pt),A=Math.sin(pt),M=function(G){return G.toFixed(4)},j=[M(kt),M(A),M(-1*A),M(kt),0,0,"cm"]}this.internal.write("q"),pt?(this.internal.write([1,"0","0",1,lt(N),wt(E+U),"cm"].join(" ")),this.internal.write(j.join(" ")),this.internal.write([lt(Z),"0","0",lt(U),"0","0","cm"].join(" "))):this.internal.write([lt(Z),"0","0",lt(U),lt(N),wt(E+U),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+ft.index+" Do"),this.internal.write("Q")},L=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 q=t.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},z=t.__addimage__.sHashCode=function(N){var E,Z,U=0;if("string"==typeof N)for(Z=N.length,E=0;E<Z;E++)U=(U<<5)-U+N.charCodeAt(E),U|=0;else if(_t(N))for(Z=N.byteLength/2,E=0;E<Z;E++)U=(U<<5)-U+N[E],U|=0;return U},D=t.__addimage__.validateStringAsBase64=function(N){(N=N||"").toString().trim();var E=!0;return 0===N.length&&(E=!1),N.length%4!=0&&(E=!1),!1===/^[A-Za-z0-9+/]+$/.test(N.substr(0,N.length-2))&&(E=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(N.substr(-2))&&(E=!1),E},ct=t.__addimage__.extractImageFromDataUrl=function(N){if(null==N||!(N=N.trim()).startsWith("data:"))return null;var E=N.indexOf(",");return E<0?null:N.substring(0,E).trim().endsWith("base64")?N.substring(E+1):null};t.__addimage__.isArrayBuffer=function(N){return N instanceof ArrayBuffer};var _t=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},gt=t.__addimage__.binaryStringToUint8Array=function(N){for(var E=N.length,Z=new Uint8Array(E),U=0;U<E;U++)Z[U]=N.charCodeAt(U);return Z},Y=t.__addimage__.arrayBufferToBinaryString=function(N){for(var E="",Z=_t(N)?N:new Uint8Array(N),U=0;U<Z.length;U+=8192)E+=String.fromCharCode.apply(null,Z.subarray(U,U+8192));return E};t.addImage=function(){var N,E,Z,U,ft,pt,vt,lt,wt;if("number"==typeof arguments[1]?(E=e,Z=arguments[1],U=arguments[2],ft=arguments[3],pt=arguments[4],vt=arguments[5],lt=arguments[6],wt=arguments[7]):(E=arguments[1],Z=arguments[2],U=arguments[3],ft=arguments[4],pt=arguments[5],vt=arguments[6],lt=arguments[7],wt=arguments[8]),"object"===(0,ut.Z)(N=arguments[0])&&!y(N)&&"imageData"in N){var Ot=N;N=Ot.imageData,E=Ot.format||E||e,Z=Ot.x||Z||0,U=Ot.y||U||0,ft=Ot.w||Ot.width||ft,pt=Ot.h||Ot.height||pt,vt=Ot.alias||vt,lt=Ot.compression||lt,wt=Ot.rotation||Ot.angle||wt}var kt=this.internal.getFilters();if(void 0===lt&&-1!==kt.indexOf("FlateEncode")&&(lt="SLOW"),isNaN(Z)||isNaN(U))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var A=R.call(this,N,E,vt,lt);return I.call(this,Z,U,ft,pt,A,wt),this};var R=function(N,E,Z,U){var ft,pt,vt,wt;if("string"==typeof N&&i(N)===e){N=unescape(N);var lt=et(N,!1);(""!==lt||void 0!==(lt=t.loadFile(N,!0)))&&(N=lt)}if(y(N)&&(N=p(N,E)),E=i(N,E),!v(E))throw new Error("addImage does not support files of type '"+E+"', please ensure that a plugin for '"+E+"' support is added.");if((null==(vt=Z)||0===vt.length)&&(Z="string"==typeof(wt=N)||_t(wt)?z(wt):_t(wt.data)?z(wt.data):null),(ft=C.call(this,Z))||(N instanceof Uint8Array||"RGBA"===E||(pt=N,N=gt(N)),ft=this["process"+E.toUpperCase()](N,g.call(this),Z,function(wt){return wt&&"string"==typeof wt&&(wt=wt.toUpperCase()),wt in t.image_compression?wt:q.NONE}(U),pt)),!ft)throw new Error("An unknown error occurred whilst processing the image.");return ft},et=t.__addimage__.convertBase64ToBinaryString=function(N,E){E="boolean"!=typeof E||E;var Z,U="";if("string"==typeof N){var ft;Z=null!==(ft=ct(N))&&void 0!==ft?ft:N;try{U=qs(Z)}catch(pt){if(E)throw D(Z)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+pt.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return U};t.getImageProperties=function(N){var E,Z,U="";if(y(N)&&(N=p(N)),"string"==typeof N&&i(N)===e&&(""===(U=et(N,!1))&&(U=t.loadFile(N)||""),N=U),Z=i(N),!v(Z))throw new Error("addImage does not support files of type '"+Z+"', please ensure that a plugin for '"+Z+"' support is added.");if(N instanceof Uint8Array||(N=gt(N)),!(E=this["process"+Z.toUpperCase()](N)))throw new Error("An unknown error occurred whilst processing the image");return E.fileType=Z,E}}(re.API),t=re.API,n=function(e){if(void 0!==e&&""!=e)return!0},re.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),t.events.push(["putPage",function(e){for(var r,i,a,h=this.internal.getCoordinateString,
vendor: 4,483 bytes, line 1
1s=this.internal.getVerticalCoordinateString,c=this.internal.getPageInfoByObjId(e.objId),u=e.pageContext.annotations,g=!1,v=0;v<u.length&&!g;v++)switch((r=u[v]).type){case"link":(n(r.options.url)||n(r.options.pageNumber))&&(g=!0);break;case"reference":case"text":case"freetext":g=!0}if(0!=g){this.internal.write("/Annots [");for(var y=0;y<u.length;y++){r=u[y];var p=this.internal.pdfEscape,C=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var k=this.internal.newAdditionalObject(),I=this.internal.newAdditionalObject(),L=this.internal.getEncryptor(k.objId),q=r.title||"Note";a="<</Type /Annot /Subtype /Text "+(i="/Rect ["+h(r.bounds.x)+" "+s(r.bounds.y+r.bounds.h)+" "+h(r.bounds.x+r.bounds.w)+" "+s(r.bounds.y)+"] ")+"/Contents ("+p(L(r.contents))+")",a+=" /Popup "+I.objId+" 0 R",a+=" /P "+c.objId+" 0 R",a+=" /T ("+p(L(q))+") >>",k.content=a;var z=k.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(i="/Rect ["+h(r.bounds.x+30)+" "+s(r.bounds.y+r.bounds.h)+" "+h(r.bounds.x+r.bounds.w+30)+" "+s(r.bounds.y)+"] ")+" /Parent "+z,r.open&&(a+=" /Open true"),I.content=a+=" >>",this.internal.write(k.objId,"0 R",I.objId,"0 R");break;case"freetext":i="/Rect ["+h(r.bounds.x)+" "+s(r.bounds.y)+" "+h(r.bounds.x+r.bounds.w)+" "+s(r.bounds.y+r.bounds.h)+"] ";var D=r.color||"#000000";a="<</Type /Annot /Subtype /FreeText "+i+"/Contents ("+p(C(r.contents))+")",a+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+D+")",a+=" /Border [0 0 0]",this.internal.write(a+=" >>");break;case"link":if(r.options.name){var ct=this.annotations._nameMap[r.options.name];r.options.pageNumber=ct.page,r.options.top=ct.y}else r.options.top||(r.options.top=0);if(i="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",a="",r.options.url)a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /A <</S /URI /URI ("+p(C(r.options.url))+") >>";else if(r.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+i+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,a+=" /FitV "+r.options.left+"]";break;default:var _t=s(r.options.top);r.options.left=r.options.left||0,void 0===r.options.zoom&&(r.options.zoom=0),a+=" /XYZ "+r.options.left+" "+_t+" "+r.options.zoom+"]"}""!=a&&this.internal.write(a+=" >>")}}this.internal.write("]")}}]),t.createAnnotation=function(e){var r=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":r.pageContext.annotations.push(e)}},t.link=function(e,r,i,a,h){var s=this.internal.getCurrentPageInfo(),c=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;s.pageContext.annotations.push({finalBounds:{x:c(e),y:u(r),w:c(e+i),h:u(r+a)},options:h,type:"link"})},t.textWithLink=function(e,r,i,a){var h,s,c=this.getTextWidth(e),u=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==a.maxWidth){var g=this.splitTextToSize(e,s=a.maxWidth).length;h=Math.ceil(u*g)}else s=c,h=u;return this.text(e,r,i,a),"center"===a.align&&(r-=c/2),"right"===a.align&&(r-=c),this.link(r,(i+=.2*u)-u,s,h,a),c},t.getTextWidth=function(e){var r=this.internal.getFontSize();return this.getStringUnitWidth(e)*r/this.internal.scaleFactor},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,652
vendor: 9,254 bytes, line 1
166,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,64377],1668:[64370,64371,64372,64373],1670:[64378,64379,64380,64381],1671:[64382,64383,64384,64385],1672:[64392,64393],1676:[64388,64389],1677:[64386,64387],1678:[64390,64391],1681:[64396,64397],1688:[64394,64395],1700:[64362,64363,64364,64365],1702:[64366,64367,64368,64369],1705:[64398,64399,64400,64401],1709:[64467,64468,64469,64470],1711:[64402,64403,64404,64405],1713:[64410,64411,64412,64413],1715:[64406,64407,64408,64409],1722:[64414,64415],1723:[64416,64417,64418,64419],1726:[64426,64427,64428,64429],1728:[64420,64421],1729:[64422,64423,64424,64425],1733:[64480,64481],1734:[64473,64474],1735:[64471,64472],1736:[64475,64476],1737:[64482,64483],1739:[64478,64479],1740:[64508,64509,64510,64511],1744:[64484,64485,64486,64487],1746:[64430,64431],1747:[64432,64433]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},i=[1570,1571,1573,1575];t.__arabicParser__={};var a=t.__arabicParser__.isInArabicSubstitutionA=function(k){return void 0!==n[k.charCodeAt(0)]},h=t.__arabicParser__.isArabicLetter=function(k){return"string"==typeof k&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(k)},s=t.__arabicParser__.isArabicEndLetter=function(k){return h(k)&&a(k)&&n[k.charCodeAt(0)].length<=2},c=t.__arabicParser__.isArabicAlfLetter=function(k){return h(k)&&i.indexOf(k.charCodeAt(0))>=0};t.__arabicParser__.arabicLetterHasIsolatedForm=function(k){return h(k)&&a(k)&&n[k.charCodeAt(0)].length>=1};var u=t.__arabicParser__.arabicLetterHasFinalForm=function(k){return h(k)&&a(k)&&n[k.charCodeAt(0)].length>=2};t.__arabicParser__.arabicLetterHasInitialForm=function(k){return h(k)&&a(k)&&n[k.charCodeAt(0)].length>=3};var g=t.__arabicParser__.arabicLetterHasMedialForm=function(k){return h(k)&&a(k)&&4==n[k.charCodeAt(0)].length},v=t.__arabicParser__.resolveLigatures=function(k){var I=0,L=e,q="",z=0;for(I=0;I<k.length;I+=1)void 0!==L[k.charCodeAt(I)]?(z++,"number"==typeof(L=L[k.charCodeAt(I)])&&(q+=String.fromCharCode(L),L=e,z=0),I===k.length-1&&(L=e,q+=k.charAt(I-(z-1)),I-=z-1,z=0)):(L=e,q+=k.charAt(I-z),I-=z,z=0);return q};t.__arabicParser__.isArabicDiacritic=function(k){return void 0!==k&&void 0!==r[k.charCodeAt(0)]};var y=t.__arabicParser__.getCorrectForm=function(k,I,L){return h(k)?!1===a(k)?-1:!u(k)||!h(I)&&!h(L)||!h(L)&&s(I)||s(k)&&!h(I)||s(k)&&c(I)||s(k)&&s(I)?0:g(k)&&h(I)&&!s(I)&&h(L)&&u(L)?3:s(k)||!h(L)?1:2:-1},p=function(k){var I=0,L=0,q=0,z="",D="",ct="",_t=(k=k||"").split("\\s+"),gt=[];for(I=0;I<_t.length;I+=1){for(gt.push(""),L=0;L<_t[I].length;L+=1)D=_t[I][L-1],ct=_t[I][L+1],h(z=_t[I][L])?(q=y(z,D,ct),gt[I]+=-1!==q?String.fromCharCode(n[z.charCodeAt(0)][q]):z):gt[I]+=z;gt[I]=v(gt[I])}return gt.join(" ")},C=t.__arabicParser__.processArabic=t.processArabic=function(){var k,I="string"==typeof arguments[0]?arguments[0]:arguments[0].text,L=[];if(Array.isArray(I)){var q=0;for(L=[],q=0;q<I.length;q+=1)Array.isArray(I[q])?L.push([p(I[q][0]),I[q][1],I[q][2]]):L.push([p(I[q])]);k=L}else k=p(I);return"string"==typeof arguments[0]?k:(arguments[0].text=k,arguments[0])};t.events.push(["preProcessText",C])}(re.API),re.API.autoPrint=function(t){var n;return(t=t||{}).variant=t.variant||"non-conform","javascript"===t.variant?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(s){e=s}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(s){r=isNaN(s)||!1===Number.isInteger(s)||s<0?150:s,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var i=300;Object.defineProperty(this,"height",{get:function(){return i},set:function(s){i=isNaN(s)||!1===Number.isInteger(s)||s<0?300:s,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=i+1)}});var a=[];Object.defineProperty(this,"childNodes",{get:function(){return a},set:function(s){a=s}});var h={};Object.defineProperty(this,"style",{get:function(){return h},set:function(s){h=s}}),Object.defineProperty(this,"parentNode",{})};n.prototype.getContext=function(e,r){var i;if("2d"!==(e=e||"2d"))return null;for(i in r)this.pdf.context2d.hasOwnProperty(i)&&(this.pdf.context2d[i]=r[i]);return this.pdf.context2d._canvas=this,this.pdf.context2d},n.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},t.events.push(["initialized",function(){this.canvas=new n,this.canvas.pdf=this}])}(re.API),function(t){var n={left:0,top:0,bottom:0,right:0},e=!1,r=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},n),this.internal.__cell__.margins.width=this.getPageWidth(),i.call(this))},i=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var c=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return c},set:function(k){c=k}});var u=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return u},set:function(k){u=k}});var g=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return g},set:function(k){g=k}});var v=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return v},set:function(k){v=k}});var y=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return y},set:function(k){y=k}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(k){p=k}});var C=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return C},set:function(k){C=k}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},t.setHeaderFunction=function(c){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof c?c:void 0,this},t.getTextDimensions=function(c,u){r.call(this);var g=(u=u||{}).fontSize||this.getFontSize(),v=u.font||this.getFont(),y=u.scaleFactor||this.internal.scaleFactor,p=0,C=0,k=0,I=this;if(!Array.isArray(c)&&"string"!=typeof c){if("number"!=typeof c)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");c=String(c)}var L=u.maxWidth;L>0?"string"==typeof c?c=this.splitTextToSize(c,L):"[object Array]"===Object.prototype.toString.call(c)&&(c=c.reduce(function(z,D){return z.concat(I.splitTextToSize(D,L))},[])):c=Array.isArray(c)?c:[c];for(var q=0;q<c.length;q++)p<(k=this.getStringUnitWidth(c[q],{font:v})*g)&&(p=k);return 0!==p&&(C=c.length),{w:p/=y,h:Math.max((C*g*this.getLineHeightFactor()-g*(this.getLineHeightFactor()-1))/y,0)}},t.cellAddPage=function(){r.call(this),this.addPage();var c=this.internal.__cell__.margins||n;return this.internal.__cell__.lastCell=new a(c.left,c.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var h=t.cell=function(){var c;c=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),r.call(this);var u=this.internal.__cell__.lastCell,g=this.internal.__cell__.padding,v=this.internal.__cell__.margins||n,y=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return void 0!==u.lineNumber&&(u.lineNumber===c.lineNumber?(c.x=(u.x||0)+(u.width||0),c.y=u.y||0):u.y+u.height+c.height+v.bottom>this.getPageHeight()?(this.cellAddPage(),c.y=v.top,p&&y&&(this.printHeaderRow(c.lineNumber,!0),c.y+=y[0].height)):c.y=u.y+u.height||c.y),void 0!==c.text[0]&&(this.rect(c.x,c.y,c.width,c.height,!0===e?"FD":void 0),"right"===c.align?this.text(c.text,c.x+c.width-g,c.y+g,{align:"right",baseline:"top"}):"center"===c.align?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,u,g,v,y){if(r.call(this),!g)throw new Error("No data for PDF table.");var p,C,k,I,L=[],q=[],z=[],D={},ct={},_t=[],gt=[],Y=(y=y||{}).autoSize||!1,R=!1!==y.printHeaders,et=y.css&&void 0!==y.css["font-size"]?16*y.css["font-size"]:y.fontSize||12,N=y.margins||Object.assign({width:this.getPageWidth()},n),E="number"==typeof y.padding?y.padding:3,Z=y.headerBackgroun
vendor: 1,567 bytes, line 1
1dColor||"#c8c8c8",U=y.headerTextColor||"#000";if(i.call(this),this.internal.__cell__.printHeaders=R,this.internal.__cell__.margins=N,this.internal.__cell__.table_font_size=et,this.internal.__cell__.padding=E,this.internal.__cell__.headerBackgroundColor=Z,this.internal.__cell__.headerTextColor=U,this.setFontSize(et),null==v)q=L=Object.keys(g[0]),z=L.map(function(){return"left"});else if(Array.isArray(v)&&"object"===(0,ut.Z)(v[0]))for(L=v.map(function(Ot){return Ot.name}),q=v.map(function(Ot){return Ot.prompt||Ot.name||""}),z=v.map(function(Ot){return Ot.align||"left"}),p=0;p<v.length;p+=1)ct[v[p].name]=.7499990551181103*v[p].width;else Array.isArray(v)&&"string"==typeof v[0]&&(q=L=v,z=L.map(function(){return"left"}));if(Y||Array.isArray(v)&&"string"==typeof v[0])for(p=0;p<L.length;p+=1){for(D[I=L[p]]=g.map(function(Ot){return Ot[I]}),this.setFont(void 0,"bold"),_t.push(this.getTextDimensions(q[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),C=D[I],this.setFont(void 0,"normal"),k=0;k<C.length;k+=1)_t.push(this.getTextDimensions(C[k],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);ct[I]=Math.max.apply(null,_t)+E+E,_t=[]}if(R){var ft={};for(p=0;p<L.length;p+=1)ft[L[p]]={},ft[L[p]].text=q[p],ft[L[p]].align=z[p];var pt=s.call(this,ft,ct);gt=L.map(function(Ot){return new a(c,u,ct[Ot],pt,ft[Ot].text,void 0,ft[Ot].align)}),this.setTableHeaderRow(gt),this.printHeaderRow(1,!1)}var vt=v.reduce(function(Ot,kt){return Ot[kt.name]=kt.align,Ot},{});for(p=0;p<g.length;
1p+=1){"rowStart"in y&&y.rowStart instanceof Function&&y.rowStart({row:p,data:g[p]},this);var lt=s.call(this,g[p],ct);for(k=0;k<L.length;k+=1){var wt=g[p][L[k]];"cellStart"in y&&y.cellStart instanceof Function&&y.cellStart({row:p,col:k,data:wt},this),h.call(this,new a(c,u,ct[L[k]],lt,wt,p+2,vt[L[k]]))}}return this.internal.__cell__.table_x=c,this.internal.__cell__.table_y=u,this};var s=function(c,u){var g=this.internal.__cell__.padding,v=this.internal.__cell__.table_font_size,y=this.internal.scaleFactor;return Object.keys(c).map(function(p){var C=c[p];return this.splitTextToSize(C.hasOwnProperty("text")?C.text:C,u[p]-g-g)},this).map(function(p){return this.getLineHeightFactor()*p.length*v/y+g+g},this).reduce(function(p,C){return Math.max(p,C)},0)};t.setTableHeaderRow=function(c){r.call(this),this.internal.__cell__.tableHeaderRow=c},t.printHeaderRow=function(c,u){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var g;if(e=!0,"function"==typeof this.internal.__cell__.headerFunction){var v=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(v[0],v[1],v[2],v[3],void 0,-1)}this.setFont(void 0,"bold");for(var y=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){g=this.internal.__cell__.tableHeaderRow[p].clone(),u&&(g.y=this.internal.__cell__.margins.top||0,y.push(g)),g.lineNumber=c;var C=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),h.call(this,g),this.setTextColor(C)}y.length>0&&this.setTableHeaderRow(y),this.setFont(void 0,"normal"),e=!1}}(re.API);var Uf={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},qf=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Dh=zf(qf),Hf=[100,200,300,400,500,600,700,800,900],q5=zf(Hf);function Rh(t){var a,n=t.family.replace(/"|'/g,"").toLowerCase(),e=Uf[a=(a=t.style)||"normal"]?a:"normal",r=function(a){return a?"number"==typeof a?a>=100&&a<=900&&a%100==0?a:400:/^\d00$/.test(a)?parseInt(a):"bold"===a?700:400:400}(t.weight),i=function(a){return"number"==typeof Dh[a=a||"normal"]?a:"normal"}(t.stretch);return{family:n,style:e,weight:r,stretch:i,src:t.src||[],ref:t.ref||{name:n,style:[i,e,r].join(" ")}}}function Zf(t,n,e,r){var i;for(i=e;i>=0&&i<n.length;i+=r)if(t[n[i]])return t[n[i]];for(i=e;i>=0&&i<n.length;i-=r)if(t[n[i]])return t[n[i]]}var H5={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Wf={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Gf(t){return[t.stretch,t.style,t.weight,t.family].join(" ")}function Vf(t){return t.trimLeft()}function Z5(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 W5(t){var n=t.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===n?null:[n[0],t.substring(n[0].length)]}var Js,$f,Yf,so,Xs,Kf,Jf,Xf,jh=["times"];function Qf(t,n,e,r,i){var a=4,h=e1;switch(i){case re.API.image_compression.FAST:a=1,h=t1;break;case re.API.image_compression.MEDIUM:a=6,h=n1;break;case re.API.image_compression.SLOW:a=9,h=r1}var s=No(t=function(c,u,g,v){for(var y,p=c.length/u,C=new Uint8Array(c.length+p),k=[G5,t1,e1,n1,r1],I=0;I<p;I+=1){var L=I*u,q=c.subarray(L,L+u);if(v)C.set(v(q,g,y),L+I);else{for(var z=k.length,D=[],ct=0;ct<z;ct+=1)D[ct]=k[ct](q,g,y);var _t=$5(D.concat());C.set(D[_t],L+I)}y=q}return C}(t,n,Math.ceil(e*r/8),h),{level:a});return re.API.__addimage__.arrayBufferToBinaryString(s)}function G5(t){var n=Array.apply([],t);return n.unshift(0),n}function t1(t,n){var e=t.length,r=[];r[0]=1;for(var i=0;i<e;i+=1)r[i+1]=t[i]-(t[i-n]||0)+256&255;return r}function e1(t,n,e){var r=t.length,i=[];i[0]=2;for(var a=0;a<r;a+=1)i[a+1]=t[a]-(e&&e[a]||0)+256&255;return i}function n1(t,n,e){var r=t.length,i=[];i[0]=3;for(var a=0;a<r;a+=1)i[a+1]=t[a]+256-((t[a-n]||0)+(e&&e[a]||0)>>>1)&255;return i}function r1(t,n,e){var r=t.length,i=[];
vendor: 13,281 bytes, line 1
1i[0]=4;for(var a=0;a<r;a+=1){var h=V5(t[a-n]||0,e&&e[a]||0,e&&e[a-n]||0);i[a+1]=t[a]-h+256&255}return i}function V5(t,n,e){if(t===n&&n===e)return t;var r=Math.abs(n-e),i=Math.abs(t-e),a=Math.abs(t+n-e-e);return r<=i&&r<=a?t:i<=a?n:e}function $5(t){var n=t.map(function(e){return e.reduce(function(r,i){return r+Math.abs(i)},0)});return n.indexOf(Math.min.apply(null,n))}function zh(t,n,e){var r=n*e,i=Math.floor(r/8),a=16-(r-8*i+e),h=(1<<e)-1;return a1(t,i)>>a&h}function i1(t,n,e,r){var u,g,v,i=e*r,a=Math.floor(i/8),h=16-(i-8*a+r),s=(1<<r)-1,c=(n&s)<<h;u=t,g=a,v=a1(t,a)&~(s<<h)&65535|c,g+1<u.byteLength?u.setUint16(g,v,!1):u.setUint8(g,v>>8&255)}function a1(t,n){return n+1<t.byteLength?t.getUint16(n,!1):t.getUint8(n)<<8}function Y5(t){var n=0;if(71!==t[n++]||73!==t[n++]||70!==t[n++]||56!==t[n++]||56!=(t[n++]+1&253)||97!==t[n++])throw new Error("Invalid GIF 87a/89a header.");var e=t[n++]|t[n++]<<8,r=t[n++]|t[n++]<<8,i=t[n++],h=1<<1+(7&i);n++,n++;var s=null,c=null;i>>7&&(s=n,c=h,n+=3*h);var u=!0,g=[],v=0,y=null,p=0,C=null;for(this.width=e,this.height=r;u&&n<t.length;)switch(t[n++]){case 33:switch(t[n++]){case 255:if(11!==t[n]||78==t[n+1]&&69==t[n+2]&&84==t[n+3]&&83==t[n+4]&&67==t[n+5]&&65==t[n+6]&&80==t[n+7]&&69==t[n+8]&&50==t[n+9]&&46==t[n+10]&&48==t[n+11]&&3==t[n+12]&&1==t[n+13]&&0==t[n+16])n+=14,C=t[n++]|t[n++]<<8,n++;else for(n+=12;;){if(!((N=t[n++])>=0))throw Error("Invalid block size");if(0===N)break;n+=N}break;case 249:if(4!==t[n++]||0!==t[n+4])throw new Error("Invalid graphics extension block.");var k=t[n++];v=t[n++]|t[n++]<<8,y=t[n++],1&k||(y=null),p=k>>2&7,n++;break;case 254:for(;;){if(!((N=t[n++])>=0))throw Error("Invalid block size");if(0===N)break;n+=N}break;default:throw new Error("Unknown graphic control label: 0x"+t[n-1].toString(16))}break;case 44:var I=t[n++]|t[n++]<<8,L=t[n++]|t[n++]<<8,q=t[n++]|t[n++]<<8,z=t[n++]|t[n++]<<8,D=t[n++],ct=D>>6&1,_t=1<<1+(7&D),gt=s,Y=c,R=!1;D>>7&&(R=!0,gt=n,Y=_t,n+=3*_t);var et=n;for(n++;;){var N;if(!((N=t[n++])>=0))throw Error("Invalid block size");if(0===N)break;n+=N}g.push({x:I,y:L,width:q,height:z,has_local_palette:R,palette_offset:gt,palette_size:Y,data_offset:et,data_length:n-et,transparent_index:y,interlaced:!!ct,delay:v,disposal:p});break;case 59:u=!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 C},this.frameInfo=function(E){if(E<0||E>=g.length)throw new Error("Frame index out of range.");return g[E]},this.decodeAndBlitFrameBGRA=function(E,Z){var U=this.frameInfo(E),ft=U.width*U.height,pt=new Uint8Array(ft);o1(t,U.data_offset,pt,ft);var vt=U.palette_offset,lt=U.transparent_index;null===lt&&(lt=256);var wt=U.width,Ot=e-wt,kt=wt,A=4*(U.y*e+U.x),M=4*((U.y+U.height)*e+U.x),j=A,G=4*Ot;!0===U.interlaced&&(G+=4*e*7);for(var J=8,at=0,mt=pt.length;at<mt;++at){var bt=pt[at];if(0===kt&&(kt=wt,(j+=G)>=M&&(G=4*Ot+4*e*(J-1),j=A+(wt+Ot)*(J<<1),J>>=1)),bt===lt)j+=4;else{var St=t[vt+3*bt],Ft=t[vt+3*bt+1];Z[j++]=t[vt+3*bt+2],Z[j++]=Ft,Z[j++]=St,Z[j++]=255}--kt}},this.decodeAndBlitFrameRGBA=function(E,Z){var U=this.frameInfo(E),ft=U.width*U.height,pt=new Uint8Array(ft);o1(t,U.data_offset,pt,ft);var vt=U.palette_offset,lt=U.transparent_index;null===lt&&(lt=256);var wt=U.width,Ot=e-wt,kt=wt,A=4*(U.y*e+U.x),M=4*((U.y+U.height)*e+U.x),j=A,G=4*Ot;!0===U.interlaced&&(G+=4*e*7);for(var J=8,at=0,mt=pt.length;at<mt;++at){var bt=pt[at];if(0===kt&&(kt=wt,(j+=G)>=M&&(G=4*Ot+4*e*(J-1),j=A+(wt+Ot)*(J<<1),J>>=1)),bt===lt)j+=4;else{var Ft=t[vt+3*bt+1],zt=t[vt+3*bt+2];Z[j++]=t[vt+3*bt],Z[j++]=Ft,Z[j++]=zt,Z[j++]=255}--kt}}}function o1(t,n,e,r){for(var i=t[n++],a=1<<i,h=a+1,s=h+1,c=i+1,u=(1<<c)-1,g=0,v=0,y=0,p=t[n++],C=new Int32Array(4096),k=null;;){for(;g<16&&0!==p;)v|=t[n++]<<g,g+=8,1===p?p=t[n++]:--p;if(g<c)break;var I=v&u;if(v>>=c,g-=c,I!==a){if(I===h)break;for(var L=I<s?I:k,q=0,z=L;z>a;)z=C[z]>>8,++q;var D=z;if(y+q+(L!==I?1:0)>r)return void an.log("Warning, gif stream longer than expected.");e[y++]=D;var ct=y+=q;for(L!==I&&(e[y++]=D),z=L;q--;)e[--ct]=255&(z=C[z]),z>>=8;null!==k&&s<4096&&(C[s++]=k<<8|D,s>=u+1&&c<12&&(++c,u=u<<1|1)),k=I}else s=h+1,u=(1<<(c=i+1))-1,k=null}return y!==r&&an.log("Warning, gif stream shorter than expected."),e}function Uh(t){var n,e,r,i,a,h=Math.floor,s=new Array(64),c=new Array(64),u=new Array(64),g=new Array(64),v=new Array(65535),y=new Array(65535),p=new Array(64),C=new Array(64),k=[],I=0,L=7,q=new Array(64),z=new Array(64),D=new Array(64),ct=new Array(256),_t=new Array(2048),gt=[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],Y=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],R=[0,1,2,3,4,5,6,7,8,9,10,11],et=[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],E=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],Z=[0,1,2,3,4,5,6,7,8,9,10,11],U=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],ft=[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 pt(A,M){for(var j=0,G=0,J=new Array,at=1;at<=16;at++){for(var mt=1;mt<=A[at];mt++)J[M[G]]=[],J[M[G]][0]=j,J[M[G]][1]=at,G++,j++;j*=2}return J}function vt(A){for(var M=A[0],j=A[1]-1;j>=0;)M&1<<j&&(I|=1<<L),j--,--L<0&&(255==I?(lt(255),lt(0)):lt(I),L=7,I=0)}function lt(A){k.push(A)}function wt(A){lt(A>>8&255),lt(255&A)}function Ot(A,M,j,G,J){for(var at,mt=J[0],bt=J[240],St=function(Et,de){var $t,ue,le,Qe,qe,Pe,We,He,te,Te,ae=0;for(te=0;te<8;++te){var Sn=($t=Et[ae])+(He=Et[ae+7]),$e=$t-He,je=(ue=Et[ae+1])+(We=Et[ae+6]),ze=ue-We,pn=(le=Et[ae+2])+(Pe=Et[ae+5]),ce=le-Pe,ln=(Qe=Et[ae+3])+(qe=Et[ae+4]),me=Qe-qe,Ce=Sn+ln,gn=Sn-ln,Ue=je+pn,pe=je-pn;Et[ae]=Ce+Ue,Et[ae+4]=Ce-Ue;var tn=.707106781*(pe+gn);Et[ae+2]=gn+tn,Et[ae+6]=gn-tn;var Na=.382683433*((Ce=me+ce)-(pe=ze+$e)),nr=.5411961*Ce+Na,xi=1.306562965*pe+Na,hi=.707106781*(Ue=ce+ze),ge=$e+hi,Ai=$e-hi;Et[ae+5]=Ai+nr,Et[ae+3]=Ai-nr,Et[ae+1]=ge+xi,Et[ae+7]=ge-xi,ae+=8}for(ae=0,te=0;te<8;++te){var Li=($t=Et[ae])+(He=Et[ae+56]),Er=$t-He,Tr=(ue=Et[ae+8])+(We=Et[ae+48]),bn=ue-We,Zn=(le=Et[ae+16])+(Pe=Et[ae+40]),Gn=le-Pe,Sa=(Qe=Et[ae+24])+(qe=Et[ae+32]),Yi=Qe-qe,Wr=Li+Sa,ci=Li-Sa,Gr=Tr+Zn,Vr=Tr-Zn;Et[ae]=Wr+Gr,Et[ae+32]=Wr-Gr;var Fr=.707106781*(Vr+ci);Et[ae+16]=ci+Fr,Et[ae+48]=ci-Fr;var ka=.382683433*((Wr=Yi+Gn)-(Vr=bn+Er)),ui=.5411961*Wr+ka,Pa=1.306562965*Vr+ka,lo=.707106781*(Gr=Gn+bn),ho=Er+lo,co=Er-lo;Et[ae+40]=co+ui,Et[ae+24]=co-ui,Et[ae+8]=ho+Pa,Et[ae+56]=ho-Pa,ae++}for(te=0;te<64;++te)p[te]=(Te=Et[te]*de[te])>0?Te+.5|0:Te-.5|0;return p}(A,M),Ft=0;Ft<64;++Ft)C[gt[Ft]]=St[Ft];var zt=C[0]-j;j=C[0],0==zt?vt(G[0]):(vt(G[y[at=32767+zt]]),vt(v[at]));for(var jt=63;jt>0&&0==C[jt];)jt--;if(0==jt)return vt(mt),j;for(var se,T=1;T<=jt;){for(var Ut=T;0==C[T]&&T<=jt;)++T;var De=T-Ut;if(De>=16){se=De>>4;for(var fe=1;fe<=se;++fe)vt(bt);De&=15}vt(J[(De<<4)+y[at=32767+C[T]]]),vt(v[at]),T++}return 63!=jt&&vt(mt),j}function kt(A){A=Math.min(Math.max(A,1),100),a!=A&&(function(M){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],G=0;G<64;G++){var J=h((j[G]*M+50)/100);J=Math.min(Math.max(J,1),255),s[gt[G]]=J}for(var at=[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],mt=0;mt<64;mt++){var bt=h((at[mt]*M+50)/100);bt=Math.min(Math.max(bt,1),255),c[gt[mt]]=bt}for(var St=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ft=0,zt=0;zt<8;zt++)for(var jt=0;jt<8;jt++)u[Ft]=1/(s[gt[Ft]]*St[zt]*St[jt]*8),g[Ft]=1/(c[gt[Ft]]*St[zt]*St[jt]*8),Ft++}(A<50?Math.floor(5e3/A):Math.floor(200-2*A)),a=A)}this.encode=function(A,M){var ue,le;M&&kt(M),k=new Array,I=0,L=7,wt(65496),wt(65504),wt(16),lt(74),lt(70),lt(73),lt(70),lt(0),lt(1),lt(1),lt(0),wt(1),wt(1),lt(0),lt(0),function(){wt(65499),wt(132),lt(0);for(var ue=0;ue<64;ue++)lt(s[ue]);lt(1);for(var le=0;le<64;le++)lt(c[le])}(),ue=A.width,le=A.height,wt(65472),wt(17),lt(8),wt(le),wt(ue),lt(3),lt(1),lt(17),lt(0),lt(2),lt(17),lt(1),lt(3),lt(17),lt(1),function(){wt(65476),wt(418),lt(0);for(var ue=0;ue<16;ue++)lt(Y[ue+1]);for(var le=0;le<=11;le++)lt(R[le]);lt(16);for(var Qe=0;Qe<16;Qe++)lt(et[Qe+1]);for(var qe=0;qe<=161;qe++)lt(N[qe]);lt(1);for(var Pe=0;Pe<16;Pe++)lt(E[Pe+1]);for(var We=0;We<=11;We++)lt(Z[We]);lt(17);for(var He=0;He<16;He++)lt(U[He+1]);for(var te=0;te<=161;te++)lt(ft[te])}(),wt(65498),wt(12),lt(3),lt(1),lt(0),lt(2),lt(17),lt(3),lt(17),lt(0),lt(63),lt(0);var j=0,G=0,J=0;I=0,L=7,this.encode.displayName="_encode_";for(var at,mt,bt,St,Ft,zt,jt,se,T,Ut=A.data,fe=A.height,Et=4*A.width,de=0;de<fe;){for(at=0;at<Et;){for(Ft=Et*de+at,jt=-1,se=0,T=0;T<64;T++)zt=Ft+(se=T>>3)*Et+(jt=4*(7&T)),de+se>=fe&&(zt-=Et*(de+1+se-fe)),at+jt>=Et&&(zt-=at+jt-Et+4),mt=Ut[zt++],bt=Ut[zt++],St=Ut[zt++],q[T]=(_t[mt]+_t[bt+256|0]+_t[St+512|0]>>16)-128,z[T]=(_t[mt+768|0]+_t[bt+1024|0]+_t[St+1280|0]>>16)-128,D[T]=(_t[mt+1280|0]+_t[bt+1536|0]+_t[St+1792|0]>>16)-128;j=Ot(q,u,j,n,r),G=Ot(z,g,G,e,i),J=Ot(D,g,J,e,i),at+=32}de+=8}if(L>=0){var $t=[];$t[1]=L+1,$t[0]=(1<<L+1)-1,vt($t)}return wt(65497),new Uint8Array(k)},t=t||50,function(){for(var A=String.fromCharCode,M=0;M<256;M++)ct[M]=A(M)}(),n=pt(Y,R),e=pt(E,Z),r=pt(et,N),i=pt(U,ft),function(){for(var A=1,M=2,j=1;j<=15;j++){for(var G=A;G<M;G++)y[32767+G]=j,v[32767+G]=[],v[32767+G][1]=j,v[32767+G][0]=G;for(var J=-(M-1);J<=-A;J++)y[32767+J]=j,v[32767+J]=[],v[32767+J][1]=j,v[32767+J][0]=M-1+J;A<<=1,M<<=1}}(),function(){for(var A=0;A<256;A++)_t[A]=19595*A,_t[A+256|0]=38470*A,_t[A+512|0]=7471*A+32768,_t[A+768|0]=-11059*A,_t[A+1024|0]=-21709*A,_t[A+1280|0]=32768*A+8421375,_t[A+1536|0]=-27439*A,_t[A+1792|0]=-5329*A}(),kt(t)}function Hr(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,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function s1(t){function n(R){if(!R)throw Error("assert :P")}function e(R,et,N){for(var E=0;4>E;E++)if(R[et+E]!=N.charCodeAt(E))return!0;return!1}function r(R,et,N,E,Z){for(var U=0;U<Z;U++)R[et+U]=N[E+U]}function i(R,et,N,E){for(var Z=0;Z<E;Z++)R[et+Z]=N}function a(R){return new Int32Array(R)}function h(R,et){for(var N=[],E=0;E<R;E++)N.push(new et);return N}function s(R,et){var N=[];return function E(Z,U,ft){for(var pt=ft[U],vt=0;vt<pt&&(Z.push(ft.length>U+1?[]:new et),!(ft.length<U+1));vt++)E(Z[vt],U+1,ft)}(N,0,R),N}var c=function(){var R=this;function et(o,l){for(var d=1<<l-1>>>0;o&d;)d>>>=1;return d?(o&d-1)+d:o}function N(o,l,d,m,w){n(!(m%d));do{o[l+(m-=d)]=w}while(0<m)}function E(o,l,d,m,w){if(n(2328>=w),512>=w)var _=a(512);else if(null==(_=a(w)))return 0;return function(x,S,P,F,V,ht){var B,K,nt=S,yt=1<<P,st=a(16),At=a(16);for(n(0!=V),n(null!=F),n(null!=x),n(0<P),K=0;K<V;++K){if(15<F[K])return 0;++st[F[K]]}if(st[0]==V)return 0;for(At[1]=0,B=1;15>B;++B){if(st[B]>1<<B)return 0;At[B+1]=At[B]+st[B]}for(K=0;K<V;++K)B=F[K],0<F[K]&&(ht[At[B]++]=K);if(1==At[15])return(F=new Z).g=0,F.value=ht[0],N(x,nt,1,yt,F),yt;var Nt,Tt=-1,Ct=yt-1,ie=0,Gt=1,Oe=1,Kt=1<<P;for(K=0,B=1,V=2;B<=P;++B,V<<=1){if(Gt+=Oe<<=1,0>(Oe-=st[B]))return 0;for(;0<st[B];--st[B])(F=new Z).g=B,F.value=ht[K++],N(x,nt+ie,V,Kt,F),ie=et(ie,B)}for(B=P+1,V=2;15>=B;++B,V<<=1){if(Gt+=Oe<<=1,0>(Oe-=st[B]))return 0;for(;0<st[B];--st[B]){if(F=new Z,(ie&Ct)!=Tt){for(nt+=Kt,Nt=1<<(Tt=B)-P;15>Tt&&!(0>=(Nt-=st[Tt]));)++Tt,Nt<<=1;yt+=Kt=1<<(Nt=Tt-P),x[S+(Tt=ie&Ct)].g=Nt+P,x[S+Tt].value=nt-S-Tt}F.g=B-P,F.value=ht[K++],N(x,nt+(ie>>P),V,Kt,F),ie=et(ie,B)}}return Gt!=2*At[15]-1?0:yt}(o,l,d,m,w,_)}function Z(){this.value=this.g=0}function U(){this.value=this.g=0}function ft(){this.G=h(5,Z),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=h(ja,U)}function pt(o,l,d,m){n(null!=o),n(null!=l),n(2147483648>m),o.Ca=254,o.I=0,o.b=-8,o.Ka=0,o.oa=l,o.pa=d,o.Jd=l,o.Yc=d+m,o.Zc=4<=m?d+m-4+1:d,mt(o)}function vt(o,l){for(var d=0;0<l--;)d|=St(o,128)<<l;return d}function lt(o,l){var d=vt(o,l);
vendor: 5,022 bytes, line 1
1return bt(o)?-d:d}function wt(o,l,d,m){var w,_=0;for(n(null!=o),n(null!=l),n(4294967288>m),o.Sb=m,o.Ra=0,o.u=0,o.h=0,4<m&&(m=4),w=0;w<m;++w)_+=l[d+w]<<8*w;o.Ra=_,o.bb=m,o.oa=l,o.pa=d}function Ot(o){for(;8<=o.u&&o.bb<o.Sb;)o.Ra>>>=8,o.Ra+=o.oa[o.pa+o.bb]<<Qi-8>>>0,++o.bb,o.u-=8;G(o)&&(o.h=1,o.u=0)}function kt(o,l){if(n(0<=l),!o.h&&l<=_r){var d=j(o)&yr[l];return o.u+=l,Ot(o),d}return o.h=1,o.u=0}function A(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function M(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function j(o){return o.Ra>>>(o.u&Qi-1)>>>0}function G(o){return n(o.bb<=o.Sb),o.h||o.bb==o.Sb&&o.u>Qi}function J(o,l){o.u=l,o.h=G(o)}function at(o){o.u>=Oi&&(n(o.u>=Oi),Ot(o))}function mt(o){n(null!=o&&null!=o.oa),o.pa<o.Zc?(o.I=(o.oa[o.pa++]|o.I<<8)>>>0,o.b+=8):(n(null!=o&&null!=o.oa),o.pa<o.Yc?(o.b+=8,o.I=o.oa[o.pa++]|o.I<<8):o.Ka?o.b=0:(o.I<<=8,o.b+=8,o.Ka=1))}function bt(o){return vt(o,1)}function St(o,l){var d=o.Ca;0>o.b&&mt(o);var m=o.b,w=d*l>>>8,_=(o.I>>>m>w)+0;for(_?(d-=w,o.I-=w+1<<m>>>0):d=w+1,m=d,w=0;256<=m;)w+=8,m>>=8;return o.b-=m=7^w+ta[m],o.Ca=(d<<m)-1,_}function Ft(o,l,d){o[l+0]=d>>24&255,o[l+1]=d>>16&255,o[l+2]=d>>8&255,o[l+3]=255&d}function zt(o,l){return o[l+0]|o[l+1]<<8}function jt(o,l){return zt(o,l)|o[l+2]<<16}function se(o,l){return zt(o,l)|zt(o,l+2)<<16}function T(o,l){var d=1<<l;return n(null!=o),n(0<l),o.X=a(d),null==o.X?0:(o.Mb=32-l,o.Xa=l,1)}function Ut(o,l){n(null!=o),n(null!=l),n(o.Xa==l.Xa),r(l.X,0,o.X,0,1<<l.Xa)}function De(){this.X=[],this.Xa=this.Mb=0}function fe(o,l,d,m){n(null!=d),n(null!=m);var w=d[0],_=m[0];return 0==w&&(w=(o*_+l/2)/l),0==_&&(_=(l*w+o/2)/o),0>=w||0>=_?0:(d[0]=w,m[0]=_,1)}function Et(o,l){return o+(1<<l)-1>>>l}function de(o,l){return((4278255360&o)+(4278255360&l)>>>0&4278255360)+((16711935&o)+(16711935&l)>>>0&16711935)>>>0}function $t(o,l){R[l]=function(d,m,w,_,x,S,P){var F;for(F=0;F<x;++F){var V=R[o](S[P+F-1],w,_+F);S[P+F]=de(d[m+F],V)}}}function ue(){this.ud=this.hd=this.jd=0}function le(o,l){return((4278124286&(o^l))>>>1)+(o&l)>>>0}function Qe(o){return 0<=o&&256>o?o:0>o?0:255<o?255:void 0}function qe(o,l){return Qe(o+(o-l+.5>>1))}function Pe(o,l,d){return Math.abs(l-d)-Math.abs(o-d)}function We(o,l,d,m,w,_,x){for(m=_[x-1],d=0;d<w;++d)_[x+d]=m=de(o[l+d],m)}function He(o,l,d,m,w){var _;for(_=0;_<d;++_){var x=o[l+_],S=x>>8&255,P=16711935&(P=(P=16711935&x)+((S<<16)+S));m[w+_]=(4278255360&x)+P>>>0}}function te(o,l){l.jd=255&o,l.hd=o>>8&255,l.ud=o>>16&255}function Te(o,l,d,m,w,_){var x;for(x=0;x<m;++x){var S=l[d+x],P=S>>>8,F=S,V=255&(V=(V=S>>>16)+((o.jd<<24>>24)*(P<<24>>24)>>>5));F=255&(F=(F+=(o.hd<<24>>24)*(P<<24>>24)>>>5)+((o.ud<<24>>24)*(V<<24>>24)>>>5)),w[_+x]=(4278255360&S)+(V<<16)+F}}function ae(o,l,d,m,w){R[l]=function(_,x,S,P,F,V,ht,B,K){for(P=ht;P<B;++P)for(ht=0;ht<K;++ht)F[V++]=w(S[m(_[x++])])},R[o]=function(_,x,S,P,F,V,ht){var B=8>>_.b,K=_.Ea,nt=_.K[0],yt=_.w;if(8>B)for(_=(1<<_.b)-1,yt=(1<<B)-1;x<S;++x){var st,At=0;for(st=0;st<K;++st)st&_||(At=m(P[F++])),V[ht++]=w(nt[At&yt]),At>>=B}else R["VP8LMapColor"+d](P,F,nt,yt,V,ht,x,S,K)}}function Sn(o,l,d,m,w){for(d=l+d;l<d;){var _=o[l++];m[w++]=_>>16&255,m[w++]=_>>8&255,m[w++]=255&_}}function $e(o,l,d,m,w){for(d=l+d;l<d;){var _=o[l++];m[w++]=_>>16&255,m[w++]=_>>8&255,m[w++]=255&_,m[w++]=_>>24&255}}function je(o,l,d,m,w){for(d=l+d;l<d;){var _=(x=o[l++])>>16&240|x>>12&15,x=240&x|x>>28&15;m[w++]=_,m[w++]=x}}function ze(o,l,d,m,w){for(d=l+d;l<d;){var _=(x=o[l++])>>16&248|x>>13&7,x=x>>5&224|x>>3&31;m[w++]=_,m[w++]=x}}function pn(o,l,d,m,w){for(d=l+d;l<d;){var _=o[l++];m[w++]=255&_,m[w++]=_>>8&255,m[w++]=_>>16&255}}function ce(o,l,d,m,w,_){if(0==_)for(d=l+d;l<d;)Ft(m,((_=o[l++])[0]>>24|_[1]>>8&65280|_[2]<<8&16711680|_[3]<<24)>>>0),w+=32;else r(m,w,o,l,d)}function ln(o,l){R[l][0]=R[o+"0"],R[l][1]=R[o+"1"],R[l][2]=R[o+"2"],R[l][3]=R[o+"3"],R[l][4]=R[o+"4"],R[l][5]=R[o+"5"],R[l][6]=R[o+"6"],R[l][7]=R[o+"7"],R[l][8]=R[o+"8"],R[l][9]=R[o+"9"],R[l][10]=R[o+"10"],R[l][11]=R[o+"11"],R[l][12]=R[o+"12"],R[l][13]=R[o+"13"],R[l][14]=R[o+"0"],R[l][15]=R[o+"0"]}function me(o){return o==oc||o==sc||o==Ll||o==lc}function Ce(){this.eb=[],this.size=this.A=this.fb=0}function gn(){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 Ue(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Ce,this.f.kb=new gn,this.sd=null}function pe(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function tn(){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 Na(o){return alert("todo:WebPSamplerProcessPlane"),o.T}function nr(o,l){var d=o.T,m=l.ba.f.RGBA,w=m.eb,_=m.fb+o.ka*m.A,x=jr[l.ba.S],S=o.y,P=o.O,F=o.f,V=o.N,ht=o.ea,B=o.W,K=l.cc,nt=l.dc,yt=l.Mc,st=l.Nc,At=o.ka,Nt=o.ka+o.T,Tt=o.U,Ct=Tt+1>>1;for(0==At?x(S,P,null,null,F,V,ht,B,F,V,ht,B,w,_,null,null,Tt):(x(l.ec,l.fc,S,P,K,nt,yt,st,F,V,ht,B,w,_-m.A,w,_,Tt),++d);At+2<Nt;
vendor: 37,937 bytes, line 1
1At+=2)x(S,(P+=2*o.fa)-o.fa,S,P,K=F,nt=V,yt=ht,st=B,F,V+=o.Rc,ht,B+=o.Rc,w,(_+=2*m.A)-m.A,w,_,Tt);return P+=o.fa,o.j+Nt<o.o?(r(l.ec,l.fc,S,P,Tt),r(l.cc,l.dc,F,V,Ct),r(l.Mc,l.Nc,ht,B,Ct),d--):1&Nt||x(S,P,null,null,F,V,ht,B,F,V,ht,B,w,_+m.A,null,null,Tt),d}function xi(o,l,d){var m=o.F,w=[o.J];if(null!=m){var _=o.U,x=l.ba.S,S=x==Al||x==Ll;l=l.ba.f.RGBA;var P=[0],F=o.ka;P[0]=o.T,o.Kb&&(0==F?--P[0]:(--F,w[0]-=o.width),o.j+o.ka+o.T==o.o&&(P[0]=o.o-o.j-F));var V=l.eb;o=y1(m,w[0],o.width,_,P,V,(F=l.fb+F*l.A)+(S?0:3),l.A),n(d==P),o&&me(x)&&ps(V,F,S,_,P,l.A)}return 0}function hi(o){var l=o.ma,d=l.ba.S,m=11>d,w=d==_l||d==xl||d==Al||d==ac||12==d||me(d);if(l.memory=null,l.Ib=null,l.Jb=null,l.Nd=null,!os(l.Oa,o,w?11:12))return 0;if(w&&me(d)&&rs(),o.da)alert("todo:use_scaling");else{if(m){if(l.Ib=Na,o.Kb){if(l.memory=a(o.U+2*(d=o.U+1>>1)),null==l.memory)return 0;l.ec=l.memory,l.fc=0,l.cc=l.ec,l.dc=l.fc+o.U,l.Mc=l.cc,l.Nc=l.dc+d,l.Ib=nr,rs()}}else alert("todo:EmitYUV");w&&(l.Jb=xi,m&&Yr())}if(m&&!D1){for(o=0;256>o;++o)Qp[o]=89858*(o-128)+Sl>>Nl,ng[o]=-22014*(o-128)+Sl,eg[o]=-45773*(o-128),tg[o]=113618*(o-128)+Sl>>Nl;for(o=ms;o<uc;++o)rg[o-ms]=fi(l=76283*(o-16)+Sl>>Nl,255),ig[o-ms]=fi(l+8>>4,15);D1=1}return 1}function ge(o){var l=o.ma,d=o.U,m=o.T;return n(!(1&o.ka)),0>=d||0>=m?0:(d=l.Ib(o,l),null!=l.Jb&&l.Jb(o,l,d),l.Dc+=d,1)}function Ai(o){o.ma.memory=null}function Li(o,l,d,m){return 47!=kt(o,8)?0:(l[0]=kt(o,14)+1,d[0]=kt(o,14)+1,m[0]=kt(o,1),0!=kt(o,3)?0:!o.h)}function Er(o,l){if(4>o)return o+1;var d=o-2>>1;return(2+(1&o)<<d)+kt(l,d)+1}function Tr(o,l){return 120<l?l-120:1<=(d=((d=jp[l-1])>>4)*o+(8-(15&d)))?d:1;var d}function bn(o,l,d){var m=j(d),w=o[l+=255&m].g-8;return 0<w&&(J(d,d.u+8),m=j(d),l+=o[l].value,l+=m&(1<<w)-1),J(d,d.u+o[l].g),o[l].value}function Zn(o,l,d){return d.g+=o.g,d.value+=o.value<<l>>>0,n(8>=d.g),o.g}function Gn(o,l,d){var m=o.xc;return n((l=0==m?0:o.vc[o.md*(d>>m)+(l>>m)])<o.Wb),o.Ya[l]}function Sa(o,l,d,m){var w=o.ab,_=o.c*l,x=o.C;l=x+l;var S=d,P=m;for(m=o.Ta,d=o.Ua;0<w--;){var F=o.gc[w],V=x,ht=l,B=S,K=P,nt=(P=m,S=d,F.Ea);switch(n(V<ht),n(ht<=F.nc),F.hc){case 2:kn(B,K,(ht-V)*nt,P,S);break;case 0:var yt=V,st=ht,At=P,Nt=S,Tt=(Kt=F).Ea;0==yt&&(ls(B,K,null,null,1,At,Nt),We(B,K+1,0,0,Tt-1,At,Nt+1),K+=Tt,Nt+=Tt,++yt);for(var Ct=1<<Kt.b,ie=Ct-1,Gt=Et(Tt,Kt.b),Oe=Kt.K,Kt=Kt.w+(yt>>Kt.b)*Gt;yt<st;){var Ge=Oe,Rn=Kt,Me=1;for(wo(B,K,At,Nt-Tt,1,At,Nt);Me<Tt;){var Jt=(Me&~ie)+Ct;Jt>Tt&&(Jt=Tt),(0,cs[Ge[Rn++]>>8&15])(B,K+ +Me,At,Nt+Me-Tt,Jt-Me,At,Nt+Me),Me=Jt}K+=Tt,Nt+=Tt,++yt&ie||(Kt+=Gt)}ht!=F.nc&&r(P,S-nt,P,S+(ht-V-1)*nt,nt);break;case 1:for(nt=B,st=K,Tt=(B=F.Ea)-(Nt=B&~(At=(K=1<<F.b)-1)),yt=Et(B,F.b),Ct=F.K,F=F.w+(V>>F.b)*yt;V<ht;){for(ie=Ct,Gt=F,Oe=new ue,Kt=st+Nt,Ge=st+B;st<Kt;)te(ie[Gt++],Oe),us(Oe,nt,st,K,P,S),st+=K,S+=K;st<Ge&&(te(ie[Gt++],Oe),us(Oe,nt,st,Tt,P,S),st+=Tt,S+=Tt),++V&At||(F+=yt)}break;case 3:if(B==P&&K==S&&0<F.b){for(st=P,B=nt=S+(ht-V)*nt-(Nt=(ht-V)*Et(F.Ea,F.b)),K=P,At=S,yt=[],Nt=(Tt=Nt)-1;0<=Nt;--Nt)yt[Nt]=K[At+Nt];for(Nt=Tt-1;0<=Nt;--Nt)st[B+Nt]=yt[Nt];vl(F,V,ht,P,nt,P,S)}else vl(F,V,ht,B,K,P,S)}S=m,P=d}P!=d&&r(m,d,S,P,_)}function Yi(o,l){var d=o.V,m=o.Ba+o.c*o.C,w=l-o.C;if(n(l<=o.l.o),n(16>=w),0<w){var _=o.l,x=o.Ta,S=o.Ua,P=_.width;if(Sa(o,w,d,m),w=S=[S],n((d=o.C)<(m=l)),n(_.v<_.va),m>_.o&&(m=_.o),d<_.j){var F=_.j-d;d=_.j,w[0]+=F*P}if(d>=m?d=0:(w[0]+=4*_.v,_.ka=d-_.j,_.U=_.va-_.v,_.T=m-d,d=1),d){if(S=S[0],11>(d=o.ca).S){var V=d.f.RGBA,ht=(m=d.S,w=_.U,_=_.T,F=V.eb,V.A),B=_;for(V=V.fb+o.Ma*V.A;0<B--;){var K=x,nt=S,yt=w,st=F,At=V;switch(m){case yl:fs(K,nt,yt,st,At);break;case _l:ea(K,nt,yt,st,At);break;case oc:ea(K,nt,yt,st,At),ps(st,At,0,yt,1,0);break;case k1:za(K,nt,yt,st,At);break;case xl:ce(K,nt,yt,st,At,1);break;case sc:ce(K,nt,yt,st,At,1),ps(st,At,0,yt,1,0);break;case Al:ce(K,nt,yt,st,At,0);break;case Ll:ce(K,nt,yt,st,At,0),ps(st,At,1,yt,1,0);break;case ac:na(K,nt,yt,st,At);break;case lc:na(K,nt,yt,st,At),w1(st,At,yt,1,0);break;case P1:ra(K,nt,yt,st,At);break;default:n(0)}S+=P,V+=ht}o.Ma+=_}else alert("todo:EmitRescaledRowsYUVA");n(o.Ma<=d.height)}}o.C=l,n(o.C<=o.i)}function Wr(o){var l;if(0<o.ua)return 0;for(l=0;l<o.Wb;++l){var d=o.Ya[l].G,m=o.Ya[l].H;if(0<d[1][m[1]+0].g||0<d[2][m[2]+0].g||0<d[3][m[3]+0].g)return 0}return 1}function ci(o,l,d,m,w,_){if(0!=o.Z){var x=o.qd,S=o.rd;for(n(null!=oa[o.Z]);l<d;++l)oa[o.Z](x,S,m,w,m,w,_),x=m,S=w,w+=_;o.qd=x,o.rd=S}}function Gr(o,l){var d=o.l.ma,m=0==d.Z||1==d.Z?o.l.j:o.C;if(m=o.C<m?m:o.C,n(l<=o.l.o),l>m){var w=o.l.width,_=d.ca,x=d.tb+w*m,S=o.V,P=o.Ba+o.c*m,F=o.gc;n(1==o.ab),n(3==F[0].hc),mi(F[0],m,l,S,P,_,x),ci(d,m,l,_,x,w)}o.C=o.Ma=l}function Vr(o,l,d,m,w,_,x){var S=o.$/m,P=o.$%m,F=o.m,V=o.s,ht=d+o.$,B=ht;w=d+m*w;var K=d+m*_,nt=280+V.ua,yt=o.Pb?S:16777216,st=0<V.ua?V.Wa:null,At=V.wc,Nt=ht<K?Gn(V,P,S):null;n(o.C<_),n(K<=w);var Tt=!1;t:for(;;){for(;Tt||ht<K;){var Ct=0;if(S>=yt){var ie=ht-d;n((yt=o).Pb),yt.wd=yt.m,yt.xd=ie,0<yt.s.ua&&Ut(yt.s.Wa,yt.s.vb),yt=S+Up}if(P&At||(Nt=Gn(V,P,S)),n(null!=Nt),Nt.Qb&&(l[ht]=Nt.qb,Tt=!0),!Tt)if(at(F),Nt.jc){ie=l;var Gt=ht,Oe=Nt.pd[j(Ct=F)&ja-1];n(Nt.jc),256>Oe.g?(J(Ct,Ct.u+Oe.g),ie[Gt]=Oe.value,Ct=0):(J(Ct,Ct.u+Oe.g-256),n(256<=Oe.value),Ct=Oe.value),0==Ct&&(Tt=!0)}else Ct=bn(Nt.G[0],Nt.H[0],F);if(F.h)break;if(Tt||256>Ct){if(!Tt)if(Nt.nd)l[ht]=(Nt.qb|Ct<<8)>>>0;else{if(at(F),Tt=bn(Nt.G[1],Nt.H[1],F),at(F),ie=bn(Nt.G[2],Nt.H[2],F),Gt=bn(Nt.G[3],Nt.H[3],F),F.h)break;l[ht]=(Gt<<24|Tt<<16|Ct<<8|ie)>>>0}if(Tt=!1,++ht,++P>=m&&(P=0,++S,null!=x&&S<=_&&!(S%16)&&x(o,S),null!=st))for(;B<ht;)Ct=l[B++],st.X[(506832829*Ct&4294967295)>>>st.Mb]=Ct}else if(280>Ct){if(Ct=Er(Ct-256,F),ie=bn(Nt.G[4],Nt.H[4],F),at(F),ie=Tr(m,ie=Er(ie,F)),F.h)break;if(ht-d<ie||w-ht<Ct)break t;for(Gt=0;Gt<Ct;++Gt)l[ht+Gt]=l[ht+Gt-ie];for(ht+=Ct,P+=Ct;P>=m;)P-=m,++S,null!=x&&S<=_&&!(S%16)&&x(o,S);if(n(ht<=w),P&At&&(Nt=Gn(V,P,S)),null!=st)for(;B<ht;)Ct=l[B++],st.X[(506832829*Ct&4294967295)>>>st.Mb]=Ct}else{if(!(Ct<nt))break t;for(Tt=Ct-280,n(null!=st);B<ht;)Ct=l[B++],st.X[(506832829*Ct&4294967295)>>>st.Mb]=Ct;Ct=ht,n(!(Tt>>>(ie=st).Xa)),l[Ct]=ie.X[Tt],Tt=!0}Tt||n(F.h==G(F))}if(o.Pb&&F.h&&ht<w)n(o.m.h),o.a=5,o.m=o.wd,o.$=o.xd,0<o.s.ua&&Ut(o.s.vb,o.s.Wa);else{if(F.h)break t;x?.(o,S>_?_:S),o.a=0,o.$=ht-d}return 1}return o.a=3,0}function Fr(o){n(null!=o),o.vc=null,o.yc=null,o.Ya=null;var l=o.Wa;null!=l&&(l.X=null),o.vb=null,n(null!=o)}function ka(){var o=new Ae;return null==o?null:(o.a=0,o.xb=E1,ln("Predictor","VP8LPredictors"),ln("Predictor","VP8LPredictors_C"),ln("PredictorAdd","VP8LPredictorsAdd"),ln("PredictorAdd","VP8LPredictorsAdd_C"),kn=He,us=Te,fs=Sn,ea=$e,na=je,ra=ze,za=pn,R.VP8LMapColor32b=gi,R.VP8LMapColor8b=hs,o)}function ui(o,l,d,m,w){var _=1,x=[o],S=[l],P=m.m,F=m.s,V=null,ht=0;t:for(;;){if(d)for(;_&&kt(P,1);){var B=x,K=S,nt=m,yt=1,st=nt.m,At=nt.gc[nt.ab],Nt=kt(st,2);if(nt.Oc&1<<Nt)_=0;else{switch(nt.Oc|=1<<Nt,At.hc=Nt,At.Ea=B[0],At.nc=K[0],At.K=[null],++nt.ab,n(4>=nt.ab),Nt){case 0:case 1:At.b=kt(st,3)+2,yt=ui(Et(At.Ea,At.b),Et(At.nc,At.b),0,nt,At.K),At.K=At.K[0];break;case 3:var Tt,Ct=kt(st,8)+1,ie=16<Ct?0:4<Ct?1:2<Ct?2:3;if(B[0]=Et(At.Ea,ie),At.b=ie,Tt=yt=ui(Ct,1,0,nt,At.K)){var Gt,Oe=Ct,Kt=At,Ge=1<<(8>>Kt.b),Rn=a(Ge);if(null==Rn)Tt=0;else{var Me=Kt.K[0],Jt=Kt.w;for(Rn[0]=Kt.K[0][0],Gt=1;Gt<1*Oe;++Gt)Rn[Gt]=de(Me[Jt+Gt],Rn[Gt-1]);for(;Gt<4*Ge;++Gt)Rn[Gt]=0;Kt.K[0]=null,Kt.K[0]=Rn,Tt=1}}yt=Tt;break;case 2:break;default:n(0)}_=yt}}if(x=x[0],S=S[0],_&&kt(P,1)&&!(_=1<=(ht=kt(P,4))&&11>=ht)){m.a=3;break t}var Rt;if(Rt=_)e:{var Cn,Ie,Ve,un=m,Yn=x,or=S,wn=ht,rr=d,sr=un.m,jn=un.s,Ke=[null],nn=1,yn=0,rn=zp[wn];n:for(;;){if(rr&&kt(sr,1)){var Kn=kt(sr,3)+2,Jr=Et(Yn,Kn),In=Et(or,Kn),gr=Jr*In;if(!ui(Jr,In,0,un,Ke))break n;for(Ke=Ke[0],jn.xc=Kn,Cn=0;Cn<gr;++Cn){var sn=Ke[Cn]>>8&65535;Ke[Cn]=sn,sn>=nn&&(nn=sn+1)}}if(sr.h)break n;for(Ie=0;5>Ie;++Ie){var zn=C1[Ie];!Ie&&0<wn&&(zn+=1<<wn),yn<zn&&(yn=zn)}var Ar=h(nn*rn,Z),lr=nn,Lr=h(lr,ft);if(null==Lr)var Nr=null;else n(65536>=lr),Nr=Lr;var mr=a(yn);if(null==Nr||null==mr||null==Ar){un.a=1;break n}var Sr=Ar;for(Cn=Ve=0;Cn<nn;++Cn){var cn=Nr[Cn],kr=cn.G,Xr=cn.H,qa=0,Ri=1,Jn=0;for(Ie=0;5>Ie;++Ie){zn=C1[Ie],kr[Ie]=Sr,Xr[Ie]=Ve,!Ie&&0<wn&&(zn+=1<<wn);i:{var Pl,fc=zn,Cl=un,vs=mr,sg=Sr,lg=Ve,dc=0,sa=Cl.m,hg=kt(sa,1);if(i(vs,0,0,fc),hg){var cg=kt(sa,1)+1,ug=kt(sa,1),z1=kt(sa,0==ug?1:8);vs[z1]=1,2==cg&&(vs[z1=kt(sa,8)]=1);var Il=1}else{var U1=a(19),q1=kt(sa,4)+4;if(19<q1){Cl.a=3;var El=0;break i}for(Pl=0;Pl<q1;++Pl)U1[Rp[Pl]]=kt(sa,3);var pc=void 0,bs=void 0,H1=Cl,fg=U1,Tl=fc,Z1=vs,gc=0,la=H1.m,W1=8,G1=h(128,Z);r:for(;E(G1,0,7,fg,19);){if(kt(la,1)){var dg=2+2*kt(la,3);if((pc=2+kt(la,dg))>Tl)break r}else pc=Tl;for(bs=0;bs<Tl&&pc--;){at(la);var V1=G1[0+(127&j(la))];J(la,la.u+V1.g);var _o=V1.value;if(16>_o)Z1[bs++]=_o,0!=_o&&(W1=_o);else{var pg=16==_o,$1=_o-16,gg=Mp[$1],Y1=kt(la,Op[$1])+gg;if(bs+Y1>Tl)break r;for(var mg=pg?W1:0;0<Y1--;)Z1[bs++]=mg}}gc=1;break r}gc||(H1.a=3),Il=gc}(Il=Il&&!sa.h)&&(dc=E(sg,lg,8,vs,fc)),Il&&0!=dc?El=dc:(Cl.a=3,El=0)}if(0==El)break n;if(Ri&&1==Dp[Ie]&&(Ri=0==Sr[Ve].g),qa+=Sr[Ve].g,Ve+=El,3>=Ie){var ws,mc=mr[0];for(ws=1;ws<zn;++ws)mr[ws]>mc&&(mc=mr[ws]);Jn+=mc}}if(cn.nd=Ri,cn.Qb=0,Ri&&(cn.qb=(kr[3][Xr[3]+0].value<<24|kr[1][Xr[1]+0].value<<16|kr[2][Xr[2]+0].value)>>>0,0==qa&&256>kr[0][Xr[0]+0].value&&(cn.Qb=1,cn.qb+=kr[0][Xr[0]+0].value<<8)),cn.jc=!cn.Qb&&6>Jn,cn.jc){var Fl,ji=cn;for(Fl=0;Fl<ja;++Fl){var ha=Fl,ca=ji.pd[ha],Bl=ji.G[0][ji.H[0]+ha];256<=Bl.value?(ca.g=Bl.g+256,ca.value=Bl.value):(ca.g=0,ca.value=0,ha>>=Zn(Bl,8,ca),ha>>=Zn(ji.G[1][ji.H[1]+ha],16,ca),ha>>=Zn(ji.G[2][ji.H[2]+ha],0,ca),Zn(ji.G[3][ji.H[3]+ha],24,ca))}}}jn.vc=Ke,jn.Wb=nn,jn.Ya=Nr,jn.yc=Ar,Rt=1;break e}Rt=0}if(!(_=Rt)){m.a=3;break t}if(0<ht){if(F.ua=1<<ht,!T(F.Wa,ht)){m.a=1,_=0;break t}}else F.ua=0;var vc=m,K1=x,vg=S,bc=vc.s,wc=bc.xc;if(vc.c=K1,vc.i=vg,bc.md=Et(K1,wc),bc.wc=0==wc?-1:(1<<wc)-1,d){m.xb=$p;break t}if(null==(V=a(x*S))){m.a=1,_=0;break t}_=(_=Vr(m,V,0,x,S,S,null))&&!P.h;break t}return _?(null!=w?w[0]=V:(n(null==V),n(d)),m.$=0,d||Fr(F)):Fr(F),_}function Pa(o,l){var d=o.c*o.i,m=d+l+16*l;return n(o.c<=l),o.V=a(m),null==o.V?(o.Ta=null,o.Ua=0,o.a=1,0):(o.Ta=o.V,o.Ua=o.Ba+d+l,1)}function lo(o,l){var d=o.C,m=l-d,w=o.V,_=o.Ba+o.c*d;for(n(l<=o.l.o);0<m;){var x=16<m?16:m,S=o.l.ma,P=o.l.width,F=P*x,V=S.ca,ht=S.tb+P*d,B=o.Ta,K=o.Ua;Sa(o,x,w,_),_1(B,K,V,ht,F),ci(S,d,d+x,V,ht,P),m-=x,w+=x*o.c,d+=x}n(d==l),o.C=o.Ma=l}function ho(){this.ub=this.yd=this.td=this.Rb=0}function co(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function qh(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function Go(){var o;this.Yb=(function l(d,m,w){for(var _=w[m],x=0;x<_&&(d.push(w.length>m+1?[]:0),!(w.length<m+1));x++)l(d[x],m+1,w)}(o=[],0,[3,11]),o)}function Qs(){this.jb=a(3),this.Wc=s([4,8],Go),this.Xc=s([4,17],Go)}function tl(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Br(){this.ld=this.La=this.dd=this.tc=0}function Vo(){this.Na=this.la=0}function el(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function $o(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function nl(){this.uc=this.M=this.Nb=0,this.wa=Array(new Br),this.Y=0,this.ya=Array(new $o),this.aa=0,this.l=new uo}function rl(){this.y=a(16),this.f=a(8),this.ea=a(8)}function il(){this.cb=this.a=0,this.sc="",this.m=new A,this.Od=new ho,this.Kc=new co,this.ed=new tl,this.Qa=new qh,this.Ic=this.$c=this.Aa=0,this.D=new nl,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=h(8,A),this.ia=0,this.pb=h(4,el),this.Pa=new Qs,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new rl),this.Hd=0,this.rb=Array(new Vo),this.sb=0,this.wa=Array(new Br),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 $o),this.L=this.aa=0,this.gd=s([4,2],Br),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 fi(o,l){return 0>o?0:o>l?l:o}function uo(){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 Hh(){var o=new il;return null!=o&&(o.a=0,o.sc="OK",o.cb=0,o.Xb=0,gs||(gs=fo)),o}function En(o,l,d){return 0==o.a&&(o.a=l,o.sc=d,o.cb=0),0}function al(o,l,d){return 3<=d&&157==o[l+0]&&1==o[l+1]&&42==o[l+2]}function di(o,l){if(null==o)return 0;if(o.a=0,o.sc="OK",null==l)return En(o,2,"null VP8Io passed to VP8GetHeaders()");var d=l.data,m=l.w,w=l.ha;if(4>w)return En(o,7,"Truncated header.");var _=d[m+0]|d[m+1]<<8|d[m+2]<<16,x=o.Od;if(x.Rb=!(1&_),x.td=_>>1&7,x.yd=_>>4&1,x.ub=_>>5,3<x.td)return En(o,3,"Incorrect keyframe parameters.");if(!x.yd)return En(o,4,"Frame not displayable.");m+=3,w-=3;var S=o.Kc;if(x.Rb){if(7>w)return En(o,7,"cannot parse picture header");if(!al(d,m,w))return En(o,3,"Bad code word");S.c=16383&(d[m+4]<<8|d[m+3]),S.Td=d[m+4]>>6,S.i=16383&(d[m+6]<<8|d[m+5]),S.Ud=d[m+6]>>6,m+=7,w-=7,o.za=S.c+15>>4,o.Ub=S.i+15>>4,l.width=S.c,l.height=S.i,l.Da=0,l.j=0,l.v=0,l.va=l.width,l.o=l.height,l.da=0,l.ib=l.width,l.hb=l.height,l.U=l.width,l.T=l.height,i((_=o.Pa).jb,0,255,_.jb.length),n(null!=(_=o.Qa)),_.Cb=0,_.Bb=0,_.Fb=1,i(_.Zb,0,0,_.Zb.length),i(_.Lb,0,0,_.Lb)}if(x.ub>w)return En(o,7,"bad partition length");pt(_=o.m,d,m,x.ub),m+=x.ub,w-=x.ub,x.Rb&&(S.Ld=bt(_),S.Kd=bt(_)),S=o.Qa;var P,F=o.Pa;if(n(null!=_),n(null!=S),S.Cb=bt(_),S.Cb){if(S.Bb=bt(_),bt(_)){for(S.Fb=bt(_),P=0;4>P;++P)S.Zb[P]=bt(_)?lt(_,7):0;for(P=0;4>P;++P)S.Lb[P]=bt(_)?lt(_,6):0}if(S.Bb)for(P=0;3>P;++P)F.jb[P]=bt(_)?vt(_,8):255}else S.Bb=0;if(_.Ka)return En(o,3,"cannot parse segment header");if((S=o.ed).zd=bt(_),S.Tb=vt(_,6),S.wb=vt(_,3),S.Pc=bt(_),S.Pc&&bt(_)){for(F=0;4>F;++F)bt(_)&&(S.vd[F]=lt(_,6));for(F=0;4>F;++F)bt(_)&&(S.od[F]=lt(_,6))}if(o.L=0==S.Tb?0:S.zd?1:2,_.Ka)return En(o,3,"cannot parse filter header");var V=w;if(w=P=m,m=P+V,S=V,o.Xb=(1<<vt(o.m,2))-1,V<3*(F=o.Xb))d=7;else{for(P+=3*F,S-=3*F,V=0;V<F;++V){var ht=d[w+0]|d[w+1]<<8|d[w+2]<<16;ht>S&&(ht=S),pt(o.Jc[+V],d,P,ht),P+=ht,S-=ht,w+=3}pt(o.Jc[+F],d,P,S),d=P<m?0:5}if(0!=d)return En(o,d,"cannot parse partitions");for(d=vt(P=o.m,7),w=bt(P)?lt(P,4):0,m=bt(P)?lt(P,4):0,S=bt(P)?lt(P,4):0,F=bt(P)?lt(P,4):0,P=bt(P)?lt(P,4):0,V=o.Qa,ht=0;4>ht;++ht){if(V.Cb){var B=V.Zb[ht];V.Fb||(B+=d)}else{if(0<ht){o.pb[ht]=o.pb[0];continue}B=d}var K=o.pb[ht];K.Sc[0]=hc[fi(B+w,127)],K.Sc[1]=cc[fi(B+0,127)],K.Eb[0]=2*hc[fi(B+m,127)],K.Eb[1]=101581*cc[fi(B+S,127)]>>16,8>K.Eb[1]&&(K.Eb[1]=8),K.Qc[0]=hc[fi(B+F,117)],K.Qc[1]=cc[fi(B+P,127)],K.lc=B+P}if(!x.Rb)return En(o,4,"Not a key frame.");for(bt(_),x=o.Pa,d=0;4>d;++d){for(w=0;8>w;++w)for(m=0;3>m;++m)for(S=0;11>S;++S)F=St(_,Gp[d][w][m][S])?vt(_,8):Zp[d][w][m][S],x.Wc[d][w].Yb[m][S]=F;for(w=0;17>w;++w)x.Xc[d][w]=x.Wc[d][Vp[w]]}return o.kc=bt(_),o.kc&&(o.Bd=vt(_,8)),o.cb=1}function fo(o,l,d,m,w,_,x){var S=l[w].Yb[d];for(d=0;16>w;++w){if(!St(o,S[d+0]))return w;for(;!St(o,S[d+1]);)if(S=l[++w].Yb[0],d=0,16==w)return 16;var P=l[w+1].Yb;if(St(o,S[d+2])){var F=o,V=0;if(St(F,(B=S)[(ht=d)+3]))if(St(F,B[ht+6])){for(S=0,ht=2*(V=St(F,B[ht+8]))+(B=St(F,B[ht+9+V])),V=0,B=qp[ht];B[S];++S)V+=V+St(F,B[S]);V+=3+(8<<ht)}else St(F,B[ht+7])?(V=7+2*St(F,165),V+=St(F,145)):V=5+St(F,159);else V=St(F,B[ht+4])?3+St(F,B[ht+5]):2;S=P[2]}else V=1,S=P[1];P=x+Hp[w],0>(F=o).b&&mt(F);var ht,B=F.b,K=(ht=F.Ca>>1)-(F.I>>B)>>31;--F.b,F.Ca+=K,F.Ca|=1,F.I-=(ht+1&K)<<B,_[P]=((V^K)-K)*m[(0<w)+0]}return 16}function ol(o){var l=o.rb[o.sb-1];l.la=0,l.Na=0,i(o.zc,0,0,o.zc.length),o.ja=0}function Or(o,l,d,m,w){o[l+d+32*m]=-256&(w=o[l+d+32*m]+(w>>3))?0>w?0:255:w}function On(o,l,d,m,w,_){Or(o,l,0,d,m+w),Or(o,l,1,d,m+_),Or(o,l,2,d,m-_),Or(o,l,3,d,m-w)}function Ni(o){return(20091*o>>16)+o}function sl(o,l,d,m){var w,_=0,x=a(16);for(w=0;4>w;++w){var S=o[l+0]+o[l+8],P=o[l+0]-o[l+8],F=(35468*o[l+4]>>16)-Ni(o[l+12]),V=Ni(o[l+4])+(35468*o[l+12]>>16);x[_+0]=S+V,x[_+1]=P+F,x[_+2]=P-F,x[_+3]=S-V,_+=4,l++}for(w=_=0;4>w;++w)S=(o=x[_+0]+4)+x[_+8],P=o-x[_+8],F=(35468*x[_+4]>>16)-Ni(x[_+12]),Or(d,m,0,0,S+(V=Ni(x[_+4])+(35468*x[_+12]>>16))),Or(d,m,1,0,P+F),Or(d,m,2,0,P-F),Or(d,m,3,0,S-V),_++,m+=32}function Zh(o,l,d,m){var w=o[l+0]+4,_=35468*o[l+4]>>16,x=Ni(o[l+4]),S=35468*o[l+1]>>16;On(d,m,0,w+x,o=Ni(o[l+1]),S),On(d,m,1,w+_,o,S),On(d,m,2,w-_,o,S),On(d,m,3,w-x,o,S)}function Wh(o,l,d,m,w){sl(o,l,d,m),w&&sl(o,l+16,d,m+4)}function pi(o,l,d,m){Ua(o,l+0,d,m,1),Ua(o,l+32,d,m+128,1)}function ll(o,l,d,m){var w;for(o=o[l+0]+4,w=0;4>w;++w)for(l=0;4>l;++l)Or(d,m,l,w,o)}function hl(o,l,d,m){o[l+0]&&en(o,l+0,d,m),o[l+16]&&en(o,l+16,d,m+4),o[l+32]&&en(o,l+32,d,m+128),o[l+48]&&en(o,l+48,d,m+128+4)}function po(o,l,d,m){var w,_=a(16);for(w=0;4>w;++w){var x=o[l+0+w]+o[l+12+w],S=o[l+4+w]+o[l+8+w],P=o[l+4+w]-o[l+8+w],F=o[l+0+w]-o[l+12+w];_[0+w]=x+S,_[8+w]=x-S,_[4+w]=F+P,_[12+w]=F-P}for(w=0;4>w;++w)x=(o=_[0+4*w]+3)+_[3+4*w],P=_[1+4*w]-_[2+4*w],F=o-_[3+4*w],d[m+0]=x+(S=_[1+4*w]+_[2+4*w])>>3,d[m+16]=F+P>>3,d[m+32]=x-S>>3,d[m+48]=F-P>>3,m+=64}function Ca(o,l,d){var m,w=l-32,_=xr,x=255-o[w-1];for(m=0;m<d;++m){var S,P=_,F=x+o[l-1];for(S=0;S<d;++S)o[l+S]=P[F+o[w+S]];l+=32}}function Gh(o,l){Ca(o,l,4)}function Vh(o,l){Ca(o,l,8)}function $h(o,l){Ca(o,l,16)}function Yo(o,l){var d;for(d=0;16>d;++d)r(o,l+32*d,o,l-32,16)}function cl(o,l){var d;for(d=16;0<d;--d)i(o,l,o[l-1],16),l+=32}function $r(o,l,d){var m;for(m=0;16>m;++m)i(l,d+32*m,o,16)}function Yh(o,l){var d,m=16;for(d=0;16>d;++d)m+=o[l-1+32*d]+o[l+d-32];$r(m>>5,o,l)}function Ia(o,l){var d,m=8;for(d=0;16>d;++d)m+=o[l-1+32*d];$r(m>>4,o,l)}function Ko(o,l){var d,m=8;for(d=0;16>d;++d)m+=o[l+d-32];$r(m>>4,o,l)}function Kh(o,l){$r(128,o,l)}function Ne(o,l,d){return o+2*l+d+2>>2}function Jh(o,l){var d,m=l-32;for(m=new Uint8Array([Ne(o[m-1],o[m+0],o[m+1]),Ne(o[m+0],o[m+1],o[m+2]),Ne(o[m+1],o[m+2],o[m+3]),Ne(o[m+2],o[m+3],o[m+4])]),d=0;4>d;++d)r(o,l+32*d,m,0,m.length)}function Xh(o,l){var d=o[l-1],m=o[l-1+32],w=o[l-1+64],_=o[l-1+96];Ft(o,l+0,16843009*Ne(o[l-1-32],d,m)),Ft(o,l+32,16843009*Ne(d,m,w)),Ft(o,l+64,16843009*Ne(m,w,_)),Ft(o,l+96,16843009*Ne(w,_,_))}function Qh(o,l){var d,m=4;for(d=0;4>d;++d)m+=o[l+d-32]+o[l-1+32*d];for(m>>=3,d=0;4>d;++d)i(o,l+32*d,m,4)}function Si(o,l){var d=o[l-1+0],m=o[l-1+32],w=o[l-1+64],_=o[l-1-32],x=o[l+0-32],S=o[l+1-32],P=o[l+2-32],F=o[l+3-32];o[l+0+96]=Ne(m,w,o[l-1+96]),o[l+1+96]=o[l+0+64]=Ne(d,m,w),o[l+2+96]=o[l+1+64]=o[l+0+32]=Ne(_,d,m),o[l+3+96]=o[l+2+64]=o[l+1+32]=o[l+0+0]=Ne(x,_,d),o[l+3+64]=o[l+2+32]=o[l+1+0]=Ne(S,x,_),o[l+3+32]=o[l+2+0]=Ne(P,S,x),o[l+3+0]=Ne(F,P,S)}function ki(o,l){var d=o[l+1-32],m=o[l+2-32],w=o[l+3-32],_=o[l+4-32],x=o[l+5-32],S=o[l+6-32],P=o[l+7-32];o[l+0+0]=Ne(o[l+0-32],d,m),o[l+1+0]=o[l+0+32]=Ne(d,m,w),o[l+2+0]=o[l+1+32]=o[l+0+64]=Ne(m,w,_),o[l+3+0]=o[l+2+32]=o[l+1+64]=o[l+0+96]=Ne(w,_,x),o[l+3+32]=o[l+2+64]=o[l+1+96]=Ne(_,x,S),o[l+3+64]=o[l+2+96]=Ne(x,S,P),o[l+3+96]=Ne(S,P,P)}function tc(o,l){var d=o[l-1+0],m=o[l-1+32],w=o[l-1+64],_=o[l-1-32],x=o[l+0-32],S=o[l+1-32],P=o[l+2-32],F=o[l+3-32];o[l+0+0]=o[l+1+64]=_+x+1>>1,o[l+1+0]=o[l+2+64]=x+S+1>>1,o[l+2+0]=o[l+3+64]=S+P+1>>1,o[l+3+0]=P+F+1>>1,o[l+0+96]=Ne(w,m,d),o[l+0+64]=Ne(m,d,_),o[l+0+32]=o[l+1+96]=Ne(d,_,x),o[l+1+32]=o[l+2+96]=Ne(_,x,S),o[l+2+32]=o[l+3+96]=Ne(x,S,P),o[l+3+32]=Ne(S,P,F)}function ec(o,l){var d=o[l+0-32],m=o[l+1-32],w=o[l+2-32],_=o[l+3-32],x=o[l+4-32],S=o[l+5-32],P=o[l+6-32],F=o[l+7-32];o[l+0+0]=d+m+1>>1,o[l+1+0]=o[l+0+64]=m+w+1>>1,o[l+2+0]=o[l+1+64]=w+_+1>>1,o[l+3+0]=o[l+2+64]=_+x+1>>1,o[l+0+32]=Ne(d,m,w),o[l+1+32]=o[l+0+96]=Ne(m,w,_),o[l+2+32]=o[l+1+96]=Ne(w,_,x),o[l+3+32]=o[l+2+96]=Ne(_,x,S),o[l+3+64]=Ne(x,S,P),o[l+3+96]=Ne(S,P,F)}function go(o,l){var d=o[l-1+0],m=o[l-1+32],w=o[l-1+64],_=o[l-1+96];o[l+0+0]=d+m+1>>1,o[l+2+0]=o[l+0+32]=m+w+1>>1,o[l+2+32]=o[l+0+64]=w+_+1>>1,o[l+1+0]=Ne(d,m,w),o[l+3+0]=o[l+1+32]=Ne(m,w,_),o[l+3+32]=o[l+1+64]=Ne(w,_,_),o[l+3+64]=o[l+2+64]=o[l+0+96]=o[l+1+96]=o[l+2+96]=o[l+3+96]=_}function Jo(o,l){var d=o[l-1+0],m=o[l-1+32],w=o[l-1+64],_=o[l-1+96],x=o[l-1-32],S=o[l+0-32],P=o[l+1-32],F=o[l+2-32];o[l+0+0]=o[l+2+32]=d+x+1>>1,o[l+0+32]=o[l+2+64]=m+d+1>>1,o[l+0+64]=o[l+2+96]=w+m+1>>1,o[l+0+96]=_+w+1>>1,o[l+3+0]=Ne(S,P,F),o[l+2+0]=Ne(x,S,P),o[l+1+0]=o[l+3+32]=Ne(d,x,S),o[l+1+32]=o[l+3+64]=Ne(m,d,x),o[l+1+64]=o[l+3+96]=Ne(w,m,d),o[l+1+96]=Ne(_,w,m)}function Ea(o,l){var d;for(d=0;8>d;++d)r(o,l+32*d,o,l-32,8)}function nc(o,l){var d;for(d=0;8>d;++d)i(o,l,o[l-1],8),l+=32}function Pi(o,l,d){var m;for(m=0;8>m;++m)i(l,d+32*m,o,8)}function rc(o,l){var d,m=8;for(d=0;8>d;++d)m+=o[l+d-32]+o[l-1+32*d];Pi(m>>4,o,l)}function Xo(o,l){var d,m=4;for(d=0;8>d;++d)m+=o[l+d-32];Pi(m>>3,o,l)}function Qo(o,l){var d,m=4;for(d=0;8>d;++d)m+=o[l-1+32*d];Pi(m>>3,o,l)}function ul(o,l){Pi(128,o,l)}function Ci(o,l,d){var m=o[l-d],w=o[l+0],_=3*(w-m)+ic[1020+o[l-2*d]-o[l+d]],x=wl[112+(_+4>>3)];o[l-d]=xr[255+m+wl[112+(_+3>>3)]],o[l+0]=xr[255+w-x]}function ts(o,l,d,m){return Rr[255+o[l-2*d]-o[l-d]]>m||Rr[255+o[l+d]-o[l+0]]>m}function mo(o,l,d,m){return 4*Rr[255+o[l-d]-o[l+0]]+Rr[255+o[l-2*d]-o[l+d]]<=m}function es(o,l,d,m,w){var _=o[l-3*d],x=o[l-2*d],S=o[l-d],P=o[l+0],F=o[l+d],V=o[l+2*d];return 4*Rr[255+S-P]+Rr[255+x-F]>m?0:Rr[255+o[l-4*d]-_]<=w&&Rr[255+_-x]<=w&&Rr[255+x-S]<=w&&Rr[255+o[l+3*d]-V]<=w&&Rr[255+V-F]<=w&&Rr[255+F-P]<=w}function Ta(o,l,d,m){var w=2*m+1;for(m=0;16>m;++m)mo(o,l+m,d,w)&&Ci(o,l+m,d)}function ns(o,l,d,m){var w=2*m+1;for(m=0;16>m;++m)mo(o,l+m*d,1,w)&&Ci(o,l+m*d,1)}function fl(o,l,d,m){var w;for(w=3;0<w;--w)Ta(o,l+=4*d,d,m)}function dl(o,l,d,m){var w;for(w=3;0<w;--w)ns(o,l+=4,d,m)}function Ii(o,l,d,m,w,_,x,S){for(_=2*_+1;0<w--;){if(es(o,l,d,_,x))if(ts(o,l,d,S))Ci(o,l,d);else{var P=o,F=l,V=d,ht=P[F-2*V],B=P[F-V],K=P[F+0],nt=P[F+V],yt=P[F+2*V],st=27*(Nt=ic[1020+3*(K-B)+ic[1020+ht-nt]])+63>>7,At=18*Nt+63>>7,Nt=9*Nt+63>>7;P[F-3*V]=xr[255+P[F-3*V]+Nt],P[F-2*V]=xr[255+ht+At],P[F-V]=xr[255+B+st],P[F+0]=xr[255+K-st],P[F+V]=xr[255+nt-At],P[F+2*V]=xr[255+yt-Nt]}l+=m}}function Ei(o,l,d,m,w,_,x,S){for(_=2*_+1;0<w--;){if(es(o,l,d,_,x))if(ts(o,l,d,S))Ci(o,l,d);else{var P=o,F=l,V=d,ht=P[F-V],B=P[F+0],K=P[F+V],nt=wl[112+(4+(yt=3*(B-ht))>>3)],yt=wl[112+(yt+3>>3)],st=nt+1>>1;P[F-2*V]=xr[255+P[F-2*V]+st],P[F-V]=xr[255+ht+yt],P[F+0]=xr[255+B-nt],P[F+V]=xr[255+K-st]}l+=m}}function pl(o,l,d,m,w,_){Ii(o,l,d,1,16,m,w,_)}function Fa(o,l,d,m,w,_){Ii(o,l,1,d,16,m,w,_)}function gl(o,l,d,m,w,_){var x;for(x=3;0<x;--x)Ei(o,l+=4*d,d,1,16,m,w,_)}function f(o,l,d,m,w,_){var x;for(x=3;0<x;--x)Ei(o,l+=4,1,d,16,m,w,_)}function b(o,l,d,m,w,_,x,S){Ii(o,l,w,1,8,_,x,S),Ii(d,m,w,1,8,_,x,S)}function O(o,l,d,m,w,_,x,S){Ii(o,l,1,w,8,_,x,S),Ii(d,m,1,w,8,_,x,S)}function H(o,l,d,m,w,_,x,S){Ei(o,l+4*w,w,1,8,_,x,S),Ei(d,m+4*w,w,1,8,_,x,S)}function tt(o,l,d,m,w,_,x,S){Ei(o,l+4,1,w,8,_,x,S),Ei(d,m+4,1,w,8,_,x,S)}function Lt(){this.ba=new Ue,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new tn,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function Pt(){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 Yt(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ee(){this.ua=0,this.Wa=new De,this.vb=new De,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new ft,this.yc=new Z}function Ae(){this.xb=this.a=0,this.l=new uo,this.ca=new Ue,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new M,this.Pb=0,this.wd=new M,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ee,this.ab=0,this.gc=h(4,Yt),this.Oc=0}function Fe(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new uo,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Ye(o,l,d,m,w,_,x){for(o=null==o?0:o[l+0],l=0;l<x;++l)w[_+l]=o+d[m+l]&255,o=w[_+l]}function mn(o,l,d,m,w,_,x){var S;if(null==o)Ye(null,null,d,m,w,_,x);else for(S=0;S<x;++S)w[_+S]=o[l+S]+d[m+S]&255}function Tn(o,l,d,m,w,_,x){if(null==o)Ye(null,null,d,m,w,_,x);else{var S,P=o[l+0],F=P,V=P;for(S=0;S<x;++S)F=V+(P=o[l+S])-F,V=d[m+S]+(-256&F?0>F?0:255:F)&255,F=P,w[_+S]=V}}function hn(o,l,d,m){var w=l.width,_=l.o;if(n(null!=o&&null!=l),0>d||0>=m||d+m>_)return null;if(!o.Cc){if(null==o.ga){var x;if(o.ga=new Fe,(x=null==o.ga)||(x=l.width*l.o,n(0==o.Gb.length),o.Gb=a(x),o.Uc=0,null==o.Gb?x=0:(o.mb=o.Gb,o.nb=o.Uc,o.rc=null,x=1),x=!x),!x){var S=o.Fa,P=o.P,F=o.qc,V=o.mb,ht=o.nb,B=P+1,K=F-1,nt=(x=o.ga).l;if(n(null!=S&&null!=V&&null!=l),oa[0]=null,oa[1]=Ye,oa[2]=mn,oa[3]=Tn,x.ca=V,x.tb=ht,x.c=l.width,x.i=l.height,n(0<x.c&&0<x.i),1>=F)l=0;else if(x.$a=3&S[P+0],x.Z=S[P+0]>>2&3,x.Lc=S[P+0]>>4&3,P=S[P+0]>>6&3,0>x.$a||1<x.$a||4<=x.Z||1<x.Lc||P)l=0;else if(nt.put=ge,nt.ac=hi,nt.bc=Ai,nt.ma=x,nt.width=l.width,nt.height=l.height,nt.Da=l.Da,nt.v=l.v,nt.va=l.va,nt.j=l.j,nt.o=l.o,x.$a)t:{n(1==x.$a),l=ka();e:for(;;){if(null==l){l=0;break t}if(n(null!=x),x.mc=l,l.c=x.c,l.i=x.i,l.l=x.l,l.l.ma=x,l.l.width=x.c,l.l.height=x.i,l.a=0,wt(l.m,S,B,K),!ui(x.c,x.i,1,l,null)||(1==l.ab&&3==l.gc[0].hc&&Wr(l.s)?(x.ic=1,S=l.c*l.i,l.Ta=null,l.Ua=0,l.V=a(S),l.Ba=0,null==l.V?(l.a=1,l=0):l=1):(x.ic=0,l=Pa(l,x.c)),!l))break e;l=1;break t}x.mc=null,l=0}else l=K>=x.c*x.i;x=!l}if(x)return null;1!=o.ga.Lc?o.Ga=0:m=_-d}n(null!=o.ga),n(d+m<=_);t:{if(l=(S=o.ga).c,_=S.l.o,0==S.$a){if(B=o.rc,K=o.Vc,nt=o.Fa,F=o.mb,V=o.nb+d*l,n((P=o.P+1+d*l)<=o.P+o.qc),0!=S.Z)for(n(null!=oa[S.Z]),x=0;x<m;++x)oa[S.Z](B,K,nt,P,F,V,l),B=F,K=V,V+=l,P+=l;else for(x=0;x<m;++x)r(F,V,nt,P,l),B=F,K=V,V+=l,P+=l;o.rc=B,o.Vc=K}else{if(n(null!=S.mc),l=d+m,n(null!=(x=S.mc)),n(l<=x.i),x.C>=l)l=1;else if(S.ic||Yr(),S.ic){S=x.V,B=x.Ba;var yt=x.i,st=(nt=1,P=x.$/(K=x.c),F=x.$%K,V=x.m,ht=x.s,x.$),At=K*yt,Nt=K*l,Tt=ht.wc,Ct=st<Nt?Gn(ht,F,P):null;n(st<=At),n(l<=yt),n(Wr(ht));e:for(;;){for(;!V.h&&st<Nt;){if(F&Tt||(Ct=Gn(ht,F,P)),n(null!=Ct),at(V),256>(yt=bn(Ct.G[0],Ct.H[0],V)))S[B+st]=yt,++st,++F>=K&&(F=0,++P<=l&&!(P%16)&&Gr(x,P));else{if(!(280>yt)){nt=0;break e}yt=Er(yt-256,V);var ie,Gt=bn(Ct.G[4],Ct.H[4],V);if(at(V),!(st>=(Gt=Tr(K,Gt=Er(Gt,V)))&&At-st>=yt)){nt=0;break e}for(ie=0;ie<yt;++ie)S[B+st+ie]=S[B+st+ie-Gt];for(st+=yt,F+=yt;F>=K;)F-=K,++P<=l&&!(P%16)&&Gr(x,P);st<Nt&&F&Tt&&(Ct=Gn(ht,F,P))}n(V.h==G(V))}Gr(x,P>l?l:P);break e}!nt||V.h&&st<At?(nt=0,x.a=V.h?5:3):x.$=st,l=nt}else l=Vr(x,x.V,x.Ba,x.c,x.i,l,lo);if(!l){m=0;break t}}d+m>=_&&(o.Cc=1),m=1}if(!m)return null;if(o.Cc&&(null!=(m=o.ga)&&(m.mc=null),o.ga=null,0<o.Ga))return alert("todo:WebPDequantizeLevels"),null}return o.nb+d*w}function Mn(o,l,d,m,w,_){for(;0<w--;){var x,S=o,P=l+(d?1:0),F=o,V=l+(d?0:3);for(x=0;x<m;++x){var ht=F[V+4*x];255!=ht&&(S[P+4*x+0]=S[P+4*x+0]*(ht*=32897)>>23,S[P+4*x+1]=S[P+4*x+1]*ht>>23,S[P+4*x+2]=S[P+4*x+2]*ht>>23)}l+=_}}function Fn(o,l,d,m,w){for(;0<m--;){var _;for(_=0;_<d;++_){var x=o[l+2*_+0],S=15&(F=o[l+2*_+1]),P=4369*S,F=(240&F|F>>4)*P>>16;o[l+2*_+0]=(240&x|x>>4)*P>>16&240|(15&x|x<<4)*P>>16>>4&15,o[l+2*_+1]=240&F|S}l+=w}}function Vn(o,l,d,m,w,_,x,S){var P,F,V=255;for(F=0;F<w;++F){for(P=0;P<m;++P){var ht=o[l+P];_[x+4*P]=ht,V&=ht}l+=d,x+=S}return 255!=V}function Ti(o,l,d,m,w){var _;for(_=0;_<w;++_)d[m+_]=o[l+_]>>8}function Yr(){ps=Mn,w1=Fn,y1=Vn,_1=Ti}function Fi(o,l,d){R[o]=function(m,w,_,x,S,P,F,V,ht,B,K,nt,yt,st,At,Nt,Tt){var Ct,ie=Tt-1>>1,Gt=S[P+0]|F[V+0]<<16,Oe=ht[B+0]|K[nt+0]<<16;n(null!=m);var Kt=3*Gt+Oe+131074>>2;for(l(m[w+0],255&Kt,Kt>>16,yt,st),null!=_&&l(_[x+0],255&(Kt=3*Oe+Gt+131074>>2),Kt>>16,At,Nt),Ct=1;Ct<=ie;++Ct){var Ge=S[P+Ct]|F[V+Ct]<<16,Rn=ht[B+Ct]|K[nt+Ct]<<16,Me=Gt+Ge+Oe+Rn+524296,Jt=Me+2*(Ge+Oe)>>3;Kt=Jt+Gt>>1,Gt=(Me=Me+2*(Gt+Rn)>>3)+Ge>>1,l(m[w+2*Ct-1],255&Kt,Kt>>16,yt,st+(2*Ct-1)*d),l(m[w+2*Ct-0],255&Gt,Gt>>16,yt,st+(2*Ct-0)*d),null!=_&&(Gt=Jt+Rn>>1,l(_[x+2*Ct-1],255&(Kt=Me+Oe>>1),Kt>>16,At,Nt+(2*Ct-1)*d),l(_[x+2*Ct+0],255&Gt,Gt>>16,At,Nt+(2*Ct+0)*d)),Gt=Ge,Oe=Rn}1&Tt||(l(m[w+Tt-1],255&(Kt=3*Gt+Oe+131074>>2),Kt>>16,yt,st+(Tt-1)*d),null!=_&&l(_[x+Tt-1],255&(Kt=3*Oe+Gt+131074>>2),Kt>>16,At,Nt+(Tt-1)*d))}}function rs(){jr[yl]=Yp,jr[_l]=T1,jr[k1]=Kp,jr[xl]=F1,jr[Al]=B1,jr[ac]=O1,jr[P1]=Jp,jr[oc]=T1,jr[sc]=F1,jr[Ll]=B1,jr[lc]=O1}function vo(o){return o&~Xp?0>o?0:255:o>>M1}function Ki(o,l){return vo((19077*o>>8)+(26149*l>>8)-14234)}function Ba(o,l,d){return vo((19077*o>>8)-(6419*l>>8)-(13320*d>>8)+8708)}function Oa(o,l){return vo((19077*o>>8)+(33050*l>>8)-17685)}function Ji(o,l,d,m,w){m[w+0]=Ki(o,d),m[w+1]=Ba(o,l,d),m[w+2]=Oa(o,l)}function $n(o,l,d,m,w){m[w+0]=Oa(o,l),m[w+1]=Ba(o,l,d),m[w+2]=Ki(o,d)}function Ma(o,l,d,m,w){var _=Ba(o,l,d);l=_<<3&224|Oa(o,l)>>3,m[w+0]=248&Ki(o,d)|_>>5,m[w+1]=l}function Da(o,l,d,m,w){var _=240&Oa(o,l)|15;m[w+0]=240&Ki(o,d)|Ba(o,l,d)>>4,m[w+1]=_}function is(o,l,d,m,w){m[w+0]=255,Ji(o,l,d,m,w+1)}function as(o,l,d,m,w){$n(o,l,d,m,w),m[w+3]=255}function ar(o,l,d,m,w){Ji(o,l,d,m,w),m[w+3]=255}function Bi(o,l,d){R[o]=function(m,w,_,x,S,P,F,V,ht){for(var B=V+(-2&ht)*d;V!=B;)l(m[w+0],_[x+0],S[P+0],F,V),l(m[w+1],_[x+0],S[P+0],F,V+d),w+=2,++x,++P,V+=2*d;1&ht&&l(m[w+0],_[x+0],S[P+0],F,V)}}function bo(o,l,d){return 0==d?0==o?0==l?6:5:0==l?4:0:d}function ml(o,l,d,m,w){switch(o>>>30){case 3:Ua(l,d,m,w,0);break;case 2:Dr(l,d,m,w);break;case 1:en(l,d,m,w)}}function Mr(o,l){var d,m,w=l.M,_=l.Nb,x=o.oc,S=o.pc+40,P=o.oc,F=o.pc+584,V=o.oc,ht=o.pc+600;for(d=0;16>d;++d)x[S+32*d-1]=129;for(d=0;8>d;++d)P[F+32*d-1]=129,V[ht+32*d-1]=129;for(0<w?x[S-1-32]=P[F-1-32]=V[ht-1-32]=129:(i(x,S-32-1,127,21),i(P,F-32-1,127,9),i(V,ht-32-1,127,9)),m=0;m<o.za;++m){var B=l.ya[l.aa+m];if(0<m){for(d=-1;16>d;++d)r(x,S+32*d-4,x,S+32*d+12,4);for(d=-1;8>d;++d)r(P,F+32*d-4,P,F+32*d+4,4),r(V,ht+32*d-4,V,ht+32*d+4,4)}var K=o.Gd,nt=o.Hd+m,yt=B.ad,st=B.Hc;if(0<w&&(r(x,S-32,K[nt].y,0,16),r(P,F-32,K[nt].f,0,8),r(V,ht-32,K[nt].ea,0,8)),B.Za){var At=x,Nt=S-32+16;for(0<w&&(m>=o.za-1?i(At,Nt,K[nt].y[15],4):r(At,Nt,K[nt+1].y,0,4)),d=0;4>d;d++)At[Nt+128+d]=At[Nt+256+d]=At[Nt+384+d]=At[Nt+0+d];for(d=0;16>d;++d,st<<=2)Kr[B.Ob[d]](At=x,Nt=S+R1[d]),ml(st,yt,16*+d,At,Nt)}else if(At=bo(m,w,B.Ob[0]),aa[At](x,S),0!=st)for(d=0;16>d;++d,st<<=2)ml(st,yt,16*+d,x,S+R1[d]);for(d=B.Gc,At=bo(m,w,B.Dd),Di[At](P,F),Di[At](V,ht),st=yt,At=P,Nt=F,255&(B=0|d)&&(170&B?vi(st,256,At,Nt):on(st,256,At,Nt)),B=V,st=ht,255&(d>>=8)&&(170&d?vi(yt,320,B,st):on(yt,320,B,st)),w<o.Ub-1&&(r(K[nt].y,0,x,S+480,16),r(K[nt].f,0,P,F+224,8),r(K[nt].ea,0,V,ht+224,8)),K=o.sa,nt=o.ta+16*m+16*_*o.R,yt=o.qa,B=o.ra+8*m+(d=8*_*o.B),st=o.Ha,At=o.Ia+8*m+d,d=0;16>d;++d)r(K,nt+d*o.R,x,S+32*d,16);for(d=0;8>d;++d)r(yt,B+d*o.B,P,F+32*d,8),r(st,At+d*o.B,V,ht+32*d,8)}}function Ra(o,l,d,m,w,_,x,S,P){var F=[0],V=[0],ht=0,B=null!=P?P.kd:0,K=P??new Pt;if(null==o||12>d)return 7;K.data=o,K.w=l,K.ha=d,l=[l],d=[d],K.gb=[K.gb];t:{var nt=l,yt=d,st=K.gb;if(n(null!=o),n(null!=yt),n(null!=st),st[0]=0,12<=yt[0]&&!e(o,nt[0],"RIFF")){if(e(o,nt[0]+8,"WEBP")){st=3;break t}var At=se(o,nt[0]+4);if(12>At||4294967286<At){st=3;break t}if(B&&At>yt[0]-8){st=7;break t}st[0]=At,nt[0]+=12,yt[0]-=12}st=0}if(0!=st)return st;for(At=0<K.gb[0],d=d[0];;){t:{var Nt=o;yt=l,st=d;var Tt=F,Ct=V,ie=nt=[0];if((Kt=ht=[ht])[0]=0,8>st[0])st=7;else{if(!e(Nt,yt[0],"VP8X")){if(10!=se(Nt,yt[0]+4)){st=3;break t}if(18>st[0]){st=7;break t}var Gt=se(Nt,yt[0]+8),Oe=1+jt(Nt,yt[0]+12);if(2147483648<=Oe*(Nt=1+jt(Nt,yt[0]+15))){st=3;break t}null!=ie&&(ie[0]=Gt),null!=Tt&&(Tt[0]=Oe),null!=Ct&&(Ct[0]=Nt),yt[0]+=18,st[0]-=18,Kt[0]=1}st=0}}if(ht=ht[0],0!=st)return st;if(yt=!!(2&(nt=nt[0])),!At&&ht)return 3;if(null!=_&&(_[0]=!!(16&nt)),null!=x&&(x[0]=yt),null!=S&&(S[0]=0),x=F[0],nt=V[0],ht&&yt&&null==P){st=0;break}if(4>d){st=7;break}if(At&&ht||!At&&!ht&&!e(o,l[0],"ALPH")){d=[d],K.na=[K.na],K.P=[K.P],K.Sa=[K.Sa];t:{st=l,At=d;var Kt=K.gb;Tt=K.na,Ct=K.P,ie=K.Sa,Oe=22,n(null!=(Gt=o)),n(null!=At),Nt=st[0];var Ge=At[0];for(n(null!=Tt),n(null!=ie),Tt[0]=null,Ct[0]=null,ie[0]=0;;){if(st[0]=Nt,At[0]=Ge,8>Ge){st=7;break t}var Rn=se(Gt,Nt+4);if(4294967286<Rn){st=3;break t}var Me=8+Rn+1&-2;if(Oe+=Me,0<Kt&&Oe>Kt){st=3;break t}if(!e(Gt,Nt,"VP8 ")||!e(Gt,Nt,"VP8L")){st=0;break t}if(Ge[0]<Me){st=7;break t}e(Gt,Nt,"ALPH")||(Tt[0]=Gt,Ct[0]=Nt+8,ie[0]=Rn),Nt+=Me,Ge-=Me}}if(d=d[0],K.na=K.na[0],K.P=K.P[0],K.Sa=K.Sa[0],0!=st)break}d=[d],K.Ja=[K.Ja],K.xa=[K.xa];t:if(Kt=o,st=l,At=d,Tt=K.gb[0],Ct=K.Ja,ie=K.xa,Gt=st[0],Nt=!e(Kt,Gt,"VP8 "),Oe=!e(Kt,Gt,"VP8L"),n(null!=Kt),n(null!=At),n(null!=Ct),n(null!=ie),8>At[0])st=7;else{if(Nt||Oe){if(Kt=se(Kt,Gt+4),12<=Tt&&Kt>Tt-12){st=3;break t}if(B&&Kt>At[0]-8){st=7;break t}Ct[0]=Kt,st[0]+=8,At[0]-=8,ie[0]=Oe}else ie[0]=5<=At[0]&&47==Kt[Gt+0]&&!(Kt[Gt+4]>>5),Ct[0]=At[0];st=0}if(d=d[0],K.Ja=K.Ja[0],K.xa=K.xa[0],l=l[0],0!=st)break;if(4294967286<K.Ja)return 3;if(null==S||yt||(S[0]=K.xa?2:1),x=[x],nt=[nt],K.xa){if(5>d){st=7;break}S=x,B=nt,yt=_,null==o||5>d?o=0:5<=d&&47==o[l+0]&&!(o[l+4]>>5)?(At=[0],Kt=[0],Tt=[0],wt(Ct=new M,o,l,d),Li(Ct,At,Kt,Tt)?(null!=S&&(S[0]=At[0]),null!=B&&(B[0]=Kt[0]),null!=yt&&(yt[0]=Tt[0]),o=1):o=0):o=0}else{if(10>d){st=7;break}S=nt,null==o||10>d||!al(o,l+3,d-3)?o=0:(B=o[l+0]|o[l+1]<<8|o[l+2]<<16,yt=16383&(o[l+7]<<8|o[l+6]),o=16383&(o[l+9]<<8|o[l+8]),1&B||3<(B>>1&7)||!(B>>4&1)||B>>5>=K.Ja||!yt||!o?o=0:(x&&(x[0]=yt),S&&(S[0]=o),o=1))}if(!o||(x=x[0],nt=nt[0],ht&&(F[0]!=x||V[0]!=nt)))return 3;null!=P&&(P[0]=K,P.offset=l-P.w,n(4294967286>l-P.w),n(P.offset==P.ha-d));break}return 0==st||7==st&&ht&&null==P?(null!=_&&(_[0]|=null!=K.na&&0<K.na.length),null!=m&&(m[0]=x),null!=w&&(w[0]=nt),0):st}function os(o,l,d){var m=l.width,w=l.height,_=0,x=0,S=m,P=w;if(l.Da=null!=o&&0<o.Da,l.Da&&(S=o.cd,P=o.bd,_=o.v,x=o.j,11>d||(_&=-2,x&=-2),0>_||0>x||0>=S||0>=P||_+S>m||x+P>w))return 0;if(l.v=_,l.j=x,l.va=_+S,l.o=x+P,l.U=S,l.T=P,l.da=null!=o&&0<o.da,l.da){if(!fe(S,P,d=[o.ib],_=[o.hb]))return 0;l.ib=d[0],l.hb=_[0]}return l.ob=null!=o&&o.ob,l.Kb=null==o||!o.Sd,l.da&&(l.ob=l.ib<3*m/4&&l.hb<3*w/4,l.Kb=0),1}function ss(o){if(null==o)return 2;if(11>o.S){var l=o.f.RGBA;l.fb+=(o.height-1)*l.A,l.A=-l.A}else(l=o.f.kb).O+=((o=o.height)-1)*l.fa,l.fa=-l.fa,l.N+=(o-1>>1)*l.Ab,l.Ab=-l.Ab,l.W+=(o-1>>1)*l.Db,l.Db=-l.Db,null!=l.F&&(l.J+=(o-1)*l.lb,l.lb=-l.lb);return 0}function Xi(o,l,d,m){if(null==m||0>=o||0>=l)return 2;if(null!=d){if(d.Da){var w=d.cd,_=d.bd,x=-2&d.v,S=-2&d.j;if(0>x||0>S||0>=w||0>=_||x+w>o||S+_>l)return 2;o=w,l=_}if(d.da){if(!fe(o,l,w=[d.ib],_=[d.hb]))return 2;o=w[0],l=_[0]}}m.width=o,m.height=l;t:{var P=m.width,F=m.height;if(o=m.S,0>=P||0>=F||!(o>=yl&&13>o))o=2;else{if(0>=m.Rd&&null==m.sd){x=_=w=l=0;var V=(S=P*j1[o])*F;if(11>o||(_=(F+1)/2*(l=(P+1)/2),12==o&&(x=(w=P)*F)),null==(F=a(V+2*_+x))){o=1;break t}m.sd=F,11>o?((P=m.f.RGBA).eb=F,P.fb=0,P.A=S,P.size=V):((P=m.f.kb).y=F,P.O=0,P.fa=S,P.Fd=V,P.f=F,P.N=0+V,P.Ab=l,P.Cd=_,P.ea=F,P.W=0+V+_,P.Db=l,P.Ed=_,12==o&&(P.F=F,P.J=0+V+2*_),P.Tc=x,P.lb=w)}if(l=1,_=m.width,x=m.height,(w=m.S)>=yl&&13>w)if(11>w)o=m.f.RGBA,l&=(S=Math.abs(o.A))*(x-1)+_<=o.size,l&=S>=_*j1[w],l&=null!=o.eb;else{o=m.f.kb,S=(_+1)/2,V=(x+1)/2,P=Math.abs(o.fa),F=Math.abs(o.Ab);var ht=Math.abs(o.Db),B=Math.abs(o.lb);l&=P*(x-1)+_<=o.Fd,l&=F*(V-1)+S<=o.Cd,l=(l&=ht*(V-1)+S<=o.Ed)&P>=_&F>=S&ht>=S,l&=null!=o.y,l&=null!=o.f,l&=null!=o.ea,12==w&&(l&=B>=_,l&=B*(x-1)+_<=o.Tc,l&=null!=o.F)}else l=0;o=l?0:2}}return 0!=o||null!=d&&d.fd&&(o=ss(m)),o}var ja=64,yr=[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],_r=24,Qi=32,Oi=8,ta=[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];$t("Predictor0","PredictorAdd0"),R.Predictor0=function(){return 4278190080},R.Predictor1=function(o){return o},R.Predictor2=function(o,l,d){return l[d+0]},R.Predictor3=function(o,l,d){return l[d+1]},R.Predictor4=function(o,l,d){return l[d-1]},R.Predictor5=function(o,l,d){return le(le(o,l[d+1]),l[d+0])},R.Predictor6=function(o,l,d){return le(o,l[d-1])},R.Predictor7=function(o,l,d){return le(o,l[d+0])},R.Predictor8=function(o,l,d){return le(l[d-1],l[d+0])},R.Predictor9=function(o,l,d){return le(l[d+0],l[d+1])},R.Predictor10=function(o,l,d){return le(le(o,l[d-1]),le(l[d+0],l[d+1]))},R.Predictor11=function(o,l,d){var m=l[d+0];return 0>=Pe(m>>24&255,o>>24&255,(l=l[d-1])>>24&255)+Pe(m>>16&255,o>>16&255,l>>16&255)+Pe(m>>8&255,o>>8&255,l>>8&255)+Pe(255&m,255&o,255&l)?m:o},R.Predictor12=function(o,l,d){var m=l[d+0];return(Qe((o>>24&255)+(m>>24&255)-((l=l[d-1])>>24&255))<<24|Qe((o>>16&255)+(m>>16&255)-(l>>16&255))<<16|Qe((o>>8&255)+(m>>8&255)-(l>>8&255))<<8|Qe((255&o)+(255&m)-(255&l)))>>>0},R.Predictor13=function(o,l,d){var m=l[d-1];return(qe((o=le(o,l[d+0]))>>24&255,m>>24&255)<<24|qe(o>>16&255,m>>16&255)<<16|qe(o>>8&255,m>>8&255)<<8|qe(255&o,255&m))>>>0};var ls=R.PredictorAdd0;R.PredictorAdd1=We,$t("Predictor2","PredictorAdd2"),$t("Predictor3","PredictorAdd3"),$t("Predictor4","PredictorAdd4"),$t("Predictor5","PredictorAdd5"),$t("Predictor6","PredictorAdd6"),$t("Predictor7","PredictorAdd7"),$t("Predictor8","PredictorAdd8"),$t("Predictor9","PredictorAdd9"),$t("Predictor10","PredictorAdd10"),$t("Predictor11","PredictorAdd11"),$t("Predictor12","PredictorAdd12"),$t("Predictor13","PredictorAdd13");var wo=R.PredictorAdd2;ae("ColorIndexInverseTransform","MapARGB","32b",function(o){return o>>8&255},function(o){return o}),ae("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(o){return o},function(o){return o>>8&255});var kn,vl=R.ColorIndexInverseTransform,gi=R.MapARGB,mi=R.VP8LColorIndexInverseTransformAlpha,hs=R.MapAlpha,cs=R.VP8LPredictorsAdd=[];cs.length=16,(R.VP8LPredictors=[]).length=16,(R.VP8LPredictorsAdd_C=[]).length=16,(R.VP8LPredictors_C=[]).length=16;var us,fs,ea,na,ra,za,ia,Ua,Dr,vi,en,on,Pn,Dn,Mi,ds,yo,bl,d1,p1,g1,m1,v1,b1,ps,w1,y1,_1,x1=a(511),A1=a(2041),L1=a(225),N1=a(76
vendor: 4,685 bytes, line 1
17),S1=0,ic=A1,wl=L1,xr=N1,Rr=x1,yl=0,_l=1,k1=2,xl=3,Al=4,ac=5,P1=6,oc=7,sc=8,Ll=9,lc=10,Op=[2,3,7],Mp=[3,3,11],C1=[280,256,256,256,40],Dp=[0,1,1,1,0],Rp=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],jp=[24,7,23,25,40,6,39,41,22,26,38,42,56,5,55,57,21,27,54,58,37,43,72,4,71,73,20,28,53,59,70,74,36,44,88,69,75,52,60,3,87,89,19,29,86,90,35,45,68,76,85,91,51,61,104,2,103,105,18,30,102,106,34,46,84,92,67,77,101,107,50,62,120,1,119,121,83,93,17,31,100,108,66,78,118,122,33,47,117,123,49,63,99,109,82,94,0,116,124,65,79,16,32,98,110,48,115,125,81,95,64,114,126,97,111,80,113,127,96,112],zp=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Up=8,hc=[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],cc=[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],gs=null,qp=[[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]],Hp=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],I1=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Zp=[[[[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
15,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]]]],Wp=[[[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,
11,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]]],Gp=[[[[255,255,255,255,255,255,255,255,255,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: 22,929 bytes, line 1
15,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]]]],Vp=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],aa=[],Kr=[],Di=[],$p=1,E1=2,oa=[],jr=[];Fi("UpsampleRgbLinePair",Ji,3),Fi("UpsampleBgrLinePair",$n,3),Fi("UpsampleRgbaLinePair",ar,4),Fi("UpsampleBgraLinePair",as,4),Fi("UpsampleArgbLinePair",is,4),Fi("UpsampleRgba4444LinePair",Da,2),Fi("UpsampleRgb565LinePair",Ma,2);var Yp=R.UpsampleRgbLinePair,Kp=R.UpsampleBgrLinePair,T1=R.UpsampleRgbaLinePair,F1=R.UpsampleBgraLinePair,B1=R.UpsampleArgbLinePair,O1=R.UpsampleRgba4444LinePair,Jp=R.UpsampleRgb565LinePair,Nl=16,Sl=1<<Nl-1,ms=-227,uc=482,M1=6,Xp=(256<<M1)-1,D1=0,Qp=a(256),tg=a(256),eg=a(256),ng=a(256),rg=a(uc-ms),ig=a(uc-ms);Bi("YuvToRgbRow",Ji,3),Bi("YuvToBgrRow",$n,3),Bi("YuvToRgbaRow",ar,4),Bi("YuvToBgraRow",as,4),Bi("YuvToArgbRow",is,4),Bi("YuvToRgba4444Row",Da,2),Bi("YuvToRgb565Row",Ma,2);var R1=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],kl=[0,2,8],ag=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(o,l,d,m,w){var _=_l,x=new Lt,S=new Ue;x.ba=S,S.S=_,S.width=[S.width],S.height=[S.height];var P=S.width,F=S.height,V=new pe;if(null==V||null==o)var ht=2;else n(null!=V),ht=Ra(o,l,d,V.width,V.height,V.Pd,V.Qd,V.format,null);if(0!=ht?P=0:(null!=P&&(P[0]=V.width[0]),null!=F&&(F[0]=V.height[0]),P=1),P){S.width=S.width[0],S.height=S.height[0],null!=m&&(m[0]=S.width),null!=w&&(w[0]=S.height);t:{if(m=new uo,(w=new Pt).data=o,w.w=l,w.ha=d,w.kd=1,l=[0],n(null!=w),(0==(o=Ra(w.data,w.w,w.ha,null,null,null,l,null,w))||7==o)&&l[0]&&(o=4),0==(l=o)){if(n(null!=x),m.data=w.data,m.w=w.w+w.offset,m.ha=w.ha-w.offset,m.put=ge,m.ac=hi,m.bc=Ai,m.ma=x,w.xa){if(null==(o=ka())){x=1;break t}if(function(B,K){var nt=[0],yt=[0],st=[0];e:for(;;){if(null==B)return 0;if(null==K)return B.a=2,0;if(B.l=K,B.a=0,wt(B.m,K.data,K.w,K.ha),!Li(B.m,nt,yt,st)){B.a=3;break e}if(B.xb=E1,K.width=nt[0],K.height=yt[0],!ui(nt[0],yt[0],1,B,null))break e;return 1}return n(0!=B.a),0}(o,m)){if(m=0==(l=Xi(m.width,m.height,x.Oa,x.ba))){e:{m=o;n:for(;;){if(null==m){m=0;break e}if(n(null!=m.s.yc),n(null!=m.s.Ya),n(0<m.s.Wb),n(null!=(d=m.l)),n(null!=(w=d.ma)),0!=m.xb){if(m.ca=w.ba,m.tb=w.tb,n(null!=m.ca),!os(w.Oa,d,xl)){m.a=2;break n}if(!Pa(m,d.width)||d.da)break n;if((d.da||me(m.ca.S))&&Yr(),11>m.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=m.ca.f.kb.F&&Yr()),m.Pb&&0<m.s.ua&&null==m.s.vb.X&&!T(m.s.vb,m.s.Wa.Xa)){m.a=1;break n}m.xb=0}if(!Vr(m,m.V,m.Ba,m.c,m.i,d.o,Yi))break n;w.Dc=m.Ma,m=1;break e}n(0!=m.a),m=0}m=!m}m&&(l=o.a)}else l=o.a}else{if(null==(o=new Hh)){x=1;break t}if(o.Fa=w.na,o.P=w.P,o.qc=w.Sa,di(o,m)){if(0==(l=Xi(m.width,m.height,x.Oa,x.ba))){if(o.Aa=0,d=x.Oa,n(null!=(w=o)),null!=d){if(0<(P=0>(P=d.Md)?0:100<P?255:255*P/100)){for(F=V=0;4>F;++F)12>(ht=w.pb[F]).lc&&(ht.ia=P*ag[0>ht.lc?0:ht.lc]>>3),V|=ht.ia;V&&(alert("todo:VP8InitRandom"),w.ia=1)}w.Ga=d.Id,100<w.Ga?w.Ga=100:0>w.Ga&&(w.Ga=0)}(function(B,K){if(null==B)return 0;if(null==K)return En(B,2,"NULL VP8Io parameter in VP8Decode().");if(!B.cb&&!di(B,K))return 0;if(n(B.cb),null==K.ac||K.ac(K)){K.ob&&(B.L=0);var nt=kl[B.L];if(2==B.L?(B.yb=0,B.zb=0):(B.yb=K.v-nt>>4,B.zb=K.j-nt>>4,0>B.yb&&(B.yb=0),0>B.zb&&(B.zb=0)),B.Va=K.o+15+nt>>4,B.Hb=K.va+15+nt>>4,B.Hb>B.za&&(B.Hb=B.za),B.Va>B.Ub&&(B.Va=B.Ub),0<B.L){var yt=B.ed;for(nt=0;4>nt;++nt){var st;if(B.Qa.Cb){var At=B.Qa.Lb[nt];B.Qa.Fb||(At+=yt.Tb)}else At=yt.Tb;for(st=0;1>=st;++st){var Nt=B.gd[nt][st],Tt=At;if(yt.Pc&&(Tt+=yt.vd[0],st&&(Tt+=yt.od[0])),0<(Tt=0>Tt?0:63<Tt?63:Tt)){var Ct=Tt;0<yt.wb&&(Ct=4<yt.wb?Ct>>2:Ct>>1)>9-yt.wb&&(Ct=9-yt.wb),1>Ct&&(Ct=1),Nt.dd=Ct,Nt.tc=2*Tt+Ct,Nt.ld=40<=Tt?2:15<=Tt?1:0}else Nt.tc=0;Nt.La=st}}}nt=0}else En(B,6,"Frame setup failed"),nt=B.a;if(nt=0==nt){if(nt){B.$c=0,0<B.Aa||(B.Ic=1);e:{yt=4*(Ct=B.za);var ie=32*Ct,Gt=Ct+1,Oe=0<B.L?Ct*(0<B.Aa?2:1):0,Kt=(2==B.Aa?2:1)*Ct;if((Nt=yt+832+(st=3*(16*(nt=B.Ic)+kl[B.L])/2*ie)+(At=null!=B.Fa&&0<B.Fa.length?B.Kc.c*B.Kc.i:0))!=Nt)nt=0;else{if(Nt>B.Vb){if(B.Vb=0,B.Ec=a(Nt),B.Fc=0,null==B.Ec){nt=En(B,1,"no memory during frame initialization.");break e}B.Vb=Nt}Tt=B.Fc,B.Ac=Nt=B.Ec,B.Bc=Tt,Tt+=yt,B.Gd=h(ie,rl),B.Hd=0,B.rb=h(Gt+1,Vo),B.sb=1,B.wa=Oe?h(Oe,Br):null,B.Y=0,B.D.Nb=0,B.D.wa=B.wa,B.D.Y=B.Y,0<B.Aa&&(B.D.Y+=Ct),n(!0),B.oc=Nt,B.pc=Tt,Tt+=832,B.ya=h(Kt,$o),B.aa=0,B.D.ya=B.ya,B.D.aa=B.aa,2==B.Aa&&(B.D.aa+=Ct),B.R=16*Ct,B.B=8*Ct,Ct=(ie=kl[B.L])*B.R,ie=ie/2*B.B,B.sa=Nt,B.ta=Tt+Ct,B.qa=B.sa,B.ra=B.ta+16*nt*B.R+ie,B.Ha=B.qa,B.Ia=B.ra+8*nt*B.B+ie,B.$c=0,Tt+=st,B.mb=At?Nt:null,B.nb=At?Tt:null,n(Tt+At<=B.Fc+B.Vb),ol(B),i(B.Ac,B.Bc,0,yt),nt=1}}if(nt){if(K.ka=0,K.y=B.sa,K.O=B.ta,K.f=B.qa,K.N=B.ra,K.ea=B.Ha,K.Vd=B.Ia,K.fa=B.R,K.Rc=B.B,K.F=null,K.J=0,!S1){for(nt=-255;255>=nt;++nt)x1[255+nt]=0>nt?-nt:nt;for(nt=-1020;1020>=nt;++nt)A1[1020+nt]=-128>nt?-128:127<nt?127:nt;for(nt=-112;112>=nt;++nt)L1[112+nt]=-16>nt?-16:15<nt?15:nt;for(nt=-255;510>=nt;++nt)N1[255+nt]=0>nt?0:255<nt?255:nt;S1=1}ia=po,Ua=Wh,vi=pi,en=ll,on=hl,Dr=Zh,Pn=pl,Dn=Fa,Mi=b,ds=O,yo=gl,bl=f,d1=H,p1=tt,g1=Ta,m1=ns,v1=fl,b1=dl,Kr[0]=Qh,Kr[1]=Gh,Kr[2]=Jh,Kr[3]=Xh,Kr[4]=Si,Kr[5]=tc,Kr[6]=ki,Kr[7]=ec,Kr[8]=Jo,Kr[9]=go,aa[0]=Yh,aa[1]=$h,aa[2]=Yo,aa[3]=cl,aa[4]=Ia,aa[5]=Ko,aa[6]=Kh,Di[0]=rc,Di[1]=Vh,Di[2]=Ea,Di[3]=nc,Di[4]=Qo,Di[5]=Xo,Di[6]=ul,nt=1}else nt=0}nt&&(nt=function(Ge,Rn){for(Ge.M=0;Ge.M<Ge.Va;++Ge.M){var Me,Jt=Ge.Jc[Ge.M&Ge.Xb],Rt=Ge.m,Cn=Ge;for(Me=0;Me<Cn.za;++Me){var Ie=Rt,Ve=Cn,un=Ve.Ac,Yn=Ve.Bc+4*Me,or=Ve.zc,wn=Ve.ya[Ve.aa+Me];if(wn.$b=Ve.Qa.Bb?St(Ie,Ve.Pa.jb[0])?2+St(Ie,Ve.Pa.jb[2]):St(Ie,Ve.Pa.jb[1]):0,Ve.kc&&(wn.Ad=St(Ie,Ve.Bd)),wn.Za=!St(Ie,145)+0,wn.Za){var rr=wn.Ob,sr=0;for(Ve=0;4>Ve;++Ve){var jn,Ke=or[0+Ve];for(jn=0;4>jn;++jn){for(var nn=I1[St(Ie,(Ke=Wp[un[Yn+jn]][Ke])[0])];0<nn;)nn=I1[2*nn+St(Ie,Ke[nn])];un[Yn+jn]=Ke=-nn}r(rr,sr,un,Yn,4),sr+=4,or[0+Ve]=Ke}}else Ke=St(Ie,156)?St(Ie,128)?1:3:St(Ie,163)?2:0,wn.Ob[0]=Ke,i(un,Yn,Ke,4),i(or,0,Ke,4);wn.Dd=St(Ie,142)?St(Ie,114)?St(Ie,183)?1:3:2:0}if(Cn.m.Ka)return En(Ge,7,"Premature end-of-partition0 encountered.");for(;Ge.ja<Ge.za;++Ge.ja){if(Cn=Jt,Ie=(Rt=Ge).rb[Rt.sb-1],un=Rt.rb[Rt.sb+Rt.ja],Me=Rt.ya[Rt.aa+Rt.ja],Yn=Rt.kc?Me.Ad:0)Ie.la=un.la=0,Me.Za||(Ie.Na=un.Na=0),Me.Hc=0,Me.Gc=0,Me.ia=0;else{var yn,rn;if(Ie=un,un=Cn,Yn=Rt.Pa.Xc,wn=Rt.pb[(or=Rt.ya[Rt.aa+Rt.ja]).$b],sr=Rt.rb[Rt.sb-1],Ke=jn=0,i(Ve=or.ad,rr=0,0,384),or.Za)var Kn=0,Jr=Yn[3];else{nn=a(16);var In=Ie.Na+sr.Na;if(In=gs(un,Yn[1],In,wn.Eb,0,nn,0),Ie.Na=sr.Na=(0<In)+0,1<In)ia(nn,0,Ve,rr);else{var gr=nn[0]+3>>3;for(nn=0;256>nn;nn+=16)Ve[rr+nn]=gr}Kn=1,Jr=Yn[0]}var sn=15&Ie.la,zn=15&sr.la;for(nn=0;4>nn;++nn){var Ar=1&zn;for(gr=rn=0;4>gr;++gr)sn=sn>>1|(Ar=(In=gs(un,Jr,In=Ar+(1&sn),wn.Sc,Kn,Ve,rr))>Kn)<<7,rn=rn<<2|(3<In?3:1<In?2:0!=Ve[rr+0]),rr+=16;sn>>=4,zn=zn>>1|Ar<<7,jn=(jn<<8|rn)>>>0}for(Jr=sn,Kn=zn>>4,yn=0;4>yn;yn+=2){for(rn=0,sn=Ie.la>>4+yn,zn=sr.la>>4+yn,nn=0;2>nn;++nn){for(Ar=1&zn,gr=0;2>gr;++gr)sn=sn>>1|(Ar=0<(In=gs(un,Yn[2],In=Ar+(1&sn),wn.Qc,0,Ve,rr)))<<3,rn=rn<<2|(3<In?3:1<In?2:0!=Ve[rr+0]),rr+=16;sn>>=2,zn=zn>>1|Ar<<5}Ke|=rn<<4*yn,Jr|=sn<<4<<yn,Kn|=(240&zn)<<yn}Ie.la=Jr,sr.la=Kn,or.Hc=jn,or.Gc=Ke,or.ia=43690&Ke?0:wn.ia,Yn=!(jn|Ke)}if(0<Rt.L&&(Rt.wa[Rt.Y+Rt.ja]=Rt.gd[Me.$b][Me.Za],Rt.wa[Rt.Y+Rt.ja].La|=!Yn),Cn.Ka)return En(Ge,7,"Premature end-of-file encountered.")}if(ol(Ge),Rt=Rn,Cn=1,Me=(Jt=Ge).D,Ie=0<Jt.L&&Jt.M>=Jt.zb&&Jt.M<=Jt.Va,0==Jt.Aa)e:{if(Me.M=Jt.M,Me.uc=Ie,Mr(Jt,Me),Cn=1,Me=(rn=Jt.D).Nb,Ie=(Ke=kl[Jt.L])*Jt.R,Yn=Jt.sa,or=Jt.ta-Ie+(nn=16*Me*Jt.R),wn=Jt.qa,Ve=Jt.ra-(un=Ke/2*Jt.B)+(gr=8*Me*Jt.B),rr=Jt.Ha,sr=Jt.Ia-un+gr,zn=0==(sn=rn.M),jn=sn>=Jt.Va-1,2==Jt.Aa&&Mr(Jt,rn),rn.uc)for(Ar=(In=Jt).D.M,n(In.D.uc),rn=In.yb;rn<In.Hb;++rn){Jr=Ar;var lr=(Lr=(Jn=In).D).Nb,Lr=Lr.wa[Lr.Y+(Kn=rn)],Nr=Jn.sa,mr=Jn.ta+16*lr*(yn=Jn.R)+16*Kn,Sr=Lr.dd,cn=Lr.tc;if(0!=cn)if(n(3<=cn),1==Jn.L)0<Kn&&m1(Nr,mr,yn,cn+4),Lr.La&&b1(Nr,mr,yn,cn),0<Jr&&g1(Nr,mr,yn,cn+4),Lr.La&&v1(Nr,mr,yn,cn);else{var kr=Jn.B,Xr=Jn.qa,qa=Jn.ra+8*lr*kr+8*Kn,Ri=Jn.Ha,Jn=Jn.Ia+8*lr*kr+8*Kn;lr=Lr.ld,0<Kn&&(Dn(Nr,mr,yn,cn+4,Sr,lr),ds(Xr,qa,Ri,Jn,kr,cn+4,Sr,lr)),Lr.La&&(bl(Nr,mr,yn,cn,Sr,lr),p1(Xr,qa,Ri,Jn,kr,cn,Sr,lr)),0<Jr&&(Pn(Nr,mr,yn,cn+4,Sr,lr),Mi(Xr,qa,Ri,Jn,kr,cn+4,Sr,lr)),Lr.La&&(yo(Nr,mr,yn,cn,Sr,lr),d1(Xr,qa,Ri,Jn,kr,cn,Sr,lr))}}if(Jt.ia&&alert("todo:DitherRow"),null!=Rt.put){if(rn=16*sn,sn=16*(sn+1),zn?(Rt.y=Jt.sa,Rt.O=Jt.ta+nn,Rt.f=Jt.qa,Rt.N=Jt.ra+gr,Rt.ea=Jt.Ha,Rt.W=Jt.Ia+gr):(rn-=Ke,Rt.y=Yn,Rt.O=or,Rt.f=wn,Rt.N=Ve,Rt.ea=rr,Rt.W=sr),jn||(sn-=Ke),sn>Rt.o&&(sn=Rt.o),Rt.F=null,Rt.J=null,null!=Jt.Fa&&0<Jt.Fa.length&&rn<sn&&(Rt.J=hn(Jt,Rt,rn,sn-rn),Rt.F=Jt.mb,null==Rt.F&&0==Rt.F.length)){Cn=En(Jt,3,"Could not decode alpha data.");break e}rn<Rt.j&&(Ke=Rt.j-rn,rn=Rt.j,n(!(1&Ke)),Rt.O+=Jt.R*Ke,Rt.N+=Jt.B*(Ke>>1),Rt.W+=Jt.B*(Ke>>1),null!=Rt.F&&(Rt.J+=Rt.width*Ke)),rn<sn&&(Rt.O+=Rt.v,Rt.N+=Rt.v>>1,Rt.W+=Rt.v>>1,null!=Rt.F&&(Rt.J+=Rt.v),Rt.ka=rn-Rt.j,Rt.U=Rt.va-Rt.v,Rt.T=sn-rn,Cn=Rt.put(Rt))}Me+1!=Jt.Ic||jn||(r(Jt.sa,Jt.ta-Ie,Yn,or+16*Jt.R,Ie),r(Jt.qa,Jt.ra-un,wn,Ve+8*Jt.B,un),r(Jt.Ha,Jt.Ia-un,rr,sr+8*Jt.B,un))}if(!Cn)return En(Ge,6,"Output aborted.")}return 1}(B,K)),null!=K.bc&&K.bc(K),nt&=1}return nt?(B.cb=0,nt):0})(o,m)||(l=o.a)}}else l=o.a}0==l&&null!=x.Oa&&x.Oa.fd&&(l=ss(x.ba))}x=l}_=0!=x?null:11>_?S.f.RGBA.eb:S.f.kb.y}else _=null;return _};var j1=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function u(R,et){for(var N="",E=0;E<4;E++)N+=String.fromCharCode(R[et++]);return N}function g(R,et){return R[et+0]|R[et+1]<<8}function v(R,et){return(R[et+0]|R[et+1]<<8|R[et+2]<<16)>>>0}function y(R,et){return(R[et+0]|R[et+1]<<8|R[et+2]<<16|R[et+3]<<24)>>>0}new c;var p=[0],C=[0],k=[],I=new c,L=t,q=function(R,et){var N={},E=0,Z=!1,U=0,ft=0;if(N.frames=[],!function(A,M){for(var j=0;j<4;j++)if(A[M+j]!="RIFF".charCodeAt(j))return!0;return!1}(R,et)){for(y(R,et+=4),et+=8;et<R.length;){var pt=u(R,et),vt=y(R,et+=4);et+=4;var lt=vt+(1&vt);switch(pt){case"VP8 ":case"VP8L":void 0===N.frames[E]&&(N.frames[E]={}),(kt=N.frames[E]).src_off=Z?ft:et-8,kt.src_size=U+vt+8,E++,Z&&(Z=!1,U=0,ft=0);break;case"VP8X":(kt=N.header={}).feature_flags=R[et];var wt=et+4;kt.canvas_width=1+v(R,wt),kt.canvas_height=1+v(R,wt+=3),wt+=3;break;case"ALPH":Z=!0,U=lt+8,ft=et-8;break;case"ANIM":(kt=N.header).bgcolor=y(R,et),kt.loop_count=g(R,wt=et+4),wt+=2;break;case"ANMF":var Ot,kt;(kt=N.frames[E]={}).offset_x=2*v(R,et),kt.offset_y=2*v(R,et+=3),kt.width=1+v(R,et+=3),kt.height=1+v(R,et+=3),kt.duration=v(R,et+=3),et+=3,Ot=R[et++],kt.dispose=1&Ot,kt.blend=Ot>>1&1}"ANMF"!=pt&&(et+=lt)}return N}}(L,0);q.response=L,q.rgbaoutput=!0,q.dataurl=!1;var z=q.header?q.header:null,D=q.frames?q.frames:null;if(z){z.loop_counter=z.loop_count,p=[z.canvas_height],C=[z.canvas_width];for(var ct=0;ct<D.length&&0!=D[ct].blend;ct++);}var _t=D[0],gt=I.WebPDecodeRGBA(L,_t.src_off,_t.src_size,C,p);_t.rgba=gt,_t.imgwidth=C[0],_t.imgheight=p[0];for(var Y=0;Y<C[0]*p[0]*4;Y++)k[Y]=gt[Y];return this.width=C,this.height=p,this.data=k,this}(function(t){var n,e,r,i,a,h,s,c,u,g=function(A){return this.isStrokeTransparent=(A=A||{}).isStrokeTransparent||!1,this.strokeOpacity=A.strokeOpacity||1,this.strokeStyle=A.strokeStyle||"#000000",this.fillStyle=A.fillStyle||"#000000",this.isFillTransparent=A.isFillTransparent||!1,this.fillOpacity=A.fillOpacity||1,this.font=A.font||"10px sans-serif",this.textBaseline=A.textBaseline||"alphabetic",this.textAlign=A.textAlign||"left",this.lineWidth=A.lineWidth||1,this.lineJoin=A.lineJoin||"miter",this.lineCap=A.lineCap||"butt",this.path=A.path||[],this.transform=void 0!==A.transform?A.transform.clone():new c,this.globalCompositeOperation=A.globalCompositeOperation||"normal",this.globalAlpha=A.globalAlpha||1,this.clip_path=A.clip_path||[],this.currentPoint=A.currentPoint||new h,this.miterLimit=A.miterLimit||10,this.lastPoint=A.lastPoint||new h,this.lineDashOffset=A.lineDashOffset||0,this.lineDash=A.lineDash||[],this.margin=A.margin||[0,0,0,0],this.prevPageLastElemOffset=A.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof A.ignoreClearRect||A.ignoreClearRect,this};t.events.push(["initialized",function(){this.context2d=new v(this),n=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,i=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,h=this.internal.Point,s=this.internal.Rectangle,c=this.internal.Matrix,u=new g}]);var v=function(A){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var M=A;Object.defineProperty(this,"pdf",{get:function(){return M}});var j=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return j},set:function(T){j=Boolean(T)}});var G=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return G},set:function(T){G=Boolean(T)}});var J=0;Object.defineProperty(this,"posX",{get:function(){return J},set:function(T){isNaN(T)||(J=T)}});var at=0;Object.defineProperty(this,"posY",{get:function(){return at},set:function(T){isNaN(T)||(at=T)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(T){var Ut;"number"==typeof T?Ut=[T,T,T,T]:((Ut=new Array(4))[0]=T[0],Ut[1]=T.length>=2?T[1]:Ut[0],Ut[2]=T.length>=3?T[2]:Ut[0],Ut[3]=T.length>=4?T[3]:Ut[1]),u.margin=Ut}});var mt=!1;Object.defineProperty(this,"autoPaging",{get:function(){return mt},set:function(T){mt=T}});var bt=0;Object.defineProperty(this,"lastBreak",{get:function(){return bt},set:function(T){bt=T}});var St=[];Object.defineProperty(this,"pageBreaks",{get:function(){return St},set:function(T){St=T}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(T){T instanceof g&&(u=T)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(T){u.path=T}});var Ft=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ft},set:function(T){Ft=T}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(T){var Ut;Ut=y(T),this.ctx.fillStyle=Ut.style,this.ctx.isFillTransparent=0===Ut.a,this.ctx.fillOpacity=Ut.a,this.pdf.setFillColor(Ut.r,Ut.g,Ut.b,{a:Ut.a}),this.pdf.setTextColor(Ut.r,Ut.g,Ut.b,{a:Ut.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(T){var Ut=y(T);this.ctx.strokeStyle=Ut.style,this.ctx.isStrokeTransparent=0===Ut.a,this.ctx.strokeOpacity=Ut.a,0===Ut.a?this.pdf.setDrawColor(255,255,255):this.pdf.setDrawColor(Ut.r,Ut.g,Ut.b)}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(T){-1!==["butt","round","square"].indexOf(T)&&(this.ctx.lineCap=T,this.pdf.setLineCap(T))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(T){isNaN(T)||(this.ctx.lineWidth=T,this.pdf.setLineWidth(T))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(T){-1!==["bevel","round","miter"].indexOf(T)&&(this.ctx.lineJoin=T,this.pdf.setLineJoin(T))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(T){isNaN(T)||(this.ctx.miterLimit=T,this.pdf.setMiterLimit(T))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(T){this.ctx.textBaseline=T}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(T){-1!==["right","end","center","left","start"].indexOf(T)&&(this.ctx.textAlign=T)}});var zt=null,jt=null,se=null;Object.defineProperty(this,"fontFaces",{get:function(){return se},set:function(T){zt=null,jt=null,se=T}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(T){var Ut;if(this.ctx.font=T,null!==(Ut=/^\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(T))){var De=Ut[1],fe=Ut[3],Et=Ut[4],de=Ut[6],$t=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Et)[2];Et=Math.floor("px"===$t?parseFloat(Et)*this.pdf.internal.scaleFactor:"em"===$t?parseFloat(Et)*this.pdf.getFontSize():parseFloat(Et)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Et);var ue=function(ae){var Sn,$e,je=[],ze=ae.trim();if(""===ze)return jh;if(ze in Wf)return[Wf[ze]];for(;""!==ze;){switch($e=null,Sn=(ze=Vf(ze)).charAt(0)){case'"':case"'":$e=Z5(ze.substring(1),Sn);break;default:$e=W5(ze)}if(null===$e||(je.push($e[0]),""!==(ze=Vf($e[1]))&&","!==ze.charAt(0)))return jh;ze=ze.replace(/^,/,"")}return je}(de);if(this.fontFaces){var qe=function(ae,Sn,$e){for(var je=($e=$e||{}).defaultFontFamily||"times",ze=Object.assign({},H5,$e.genericFontFamilies||{}),pn=null,ce=null,ln=0;ln<Sn.length;++ln)if(ze[(pn=Rh(Sn[ln])).family]&&(pn.family=ze[pn.family]),ae.hasOwnProperty(pn.family)){ce=ae[pn.family];break}if(!(ce=ce||ae[je]))throw new Error("Could not find a font-family for the rule '"+Gf(pn)+"' and default family '"+je+"'.");if(ce=function(me,Ce){if(Ce[me])return Ce[me];var gn=Dh[me],pe=Zf(Ce,qf,gn,gn<=Dh.normal?-1:1);if(!pe)throw new Error("Could not find a matching font-stretch value for "+me);return pe}(pn.stretch,ce),ce=function(me,Ce){if(Ce[me])return Ce[me];for(var gn=Uf[me],Ue=0;Ue<gn.length;++Ue)if(Ce[gn[Ue]])return Ce[gn[Ue]];throw new Error("Could not find a matching font-style for "+me)}(pn.style,ce),!(ce=function(me,Ce){if(Ce[me])return Ce[me];if(400===me&&Ce[500])return Ce[500];if(500===me&&Ce[400])return Ce[400];var Ue=Zf(Ce,Hf,q5[me],me<400?-1:1);if(!Ue)throw new Error("Could not find a matching font-weight for value "+me);return Ue}(pn.weight,ce)))throw new Error("Failed to resolve a font for the rule '"+Gf(pn)+"'.");return ce}(function(ae,Sn){var pn,ce,$e=ae.getFontList(),je=JSON.stringify($e);if(null===zt||jt!==je){var ze=(pn=$e,ce=[],Object.keys(pn).forEach(function(ln){pn[ln].forEach(function(me){var Ce=null;switch(me){case"bold":Ce={family:ln,weight:"bold"};break;case"italic":Ce={family:ln,style:"italic"};break;case"bolditalic":Ce={family:ln,weight:"bold",style:"italic"};break;case"":case"normal":Ce={family:ln}}null!==Ce&&(Ce.ref={name:ln,style:me},ce.push(Ce))})}),ce);zt=function(pn){for(var ce={},ln=0;ln<pn.length;++ln){var me=Rh(pn[ln]),Ce=me.family,gn=me.stretch,Ue=me.style,pe=me.weight;ce[Ce]=ce[Ce]||{},ce[Ce][gn]=ce[Ce][gn]||{},ce[Ce][gn][Ue]=ce[Ce][gn][Ue]||{},ce[Ce][gn][Ue][pe]=me}return ce}(ze.concat(Sn)),jt=je}return zt}(this.pdf,this.fontFaces),ue.map(function(ae){return{family:ae,stretch:"normal",weight:fe,style:De}}));this.pdf.setFont(qe.ref.name,qe.ref.style)}else{var Pe="";("bold"===fe||parseInt(fe,10)>=700||"bold"===De)&&(Pe="bold"),"italic"===De&&(Pe+="italic"),0===Pe.length&&(Pe="normal");for(var We="",He={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"},te=0;te<ue.length;te++){if(void 0!==this.pdf.internal.getFont(ue[te],Pe,{noFallback:!0,disableWarning:!0})){We=ue[te];break}if("bolditalic"===Pe&&void 0!==this.pdf.internal.getFont(ue[te],"bold",{noFallback:!0,disableWarning:!0}))We=ue[te],Pe="bold";else if(void 0!==this.pdf.internal.getFont(ue[te],"normal",{noFallback:!0,disableWarning:!0})){We=ue[te],Pe="normal";break}}if(""===We)for(var Te=0;Te<ue.length;Te++)if(He[ue[Te]]){We=He[ue[Te]];break}this.pdf.setFont(We=""===We?"Times":We,Pe)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(T){this.ctx.globalCompositeOperation=T}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(T){this.ctx.globalAlpha=T}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(T){this.ctx.lineDashOffset=T,kt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(T){this.ctx.lineDash=T,kt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(T){this.ctx.ignoreClearRect=Boolean(T)}})};v.prototype.setLineDash=function(A){this.lineDash=A},v.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},v.prototype.fill=function(){D.call(this,"fill",!1)},v.prototype.stroke=function(){D.call(this,"stroke",!1)},v.prototype.beginPath=function(){this.path=[{type:"begin"}]},v.prototype.moveTo=function(A,M){if(isNaN(A)||isNaN(M))throw an.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var j=this.ctx.transform.applyToPoint(new h(A,M));this.path.push({type:"mt",x:j.x,y:j.y}),this.ctx.lastPoint=new h(A,M)},v.prototype.closePath=function(){var A=new h(0,0),M=0;for(M=this.path.length-1;-1!==M;M--)if("begin"===this.path[M].type&&"object"===(0,ut.Z)(this.path[M+1])&&"number"==typeof this.path[M+1].x){A=new h(this.path[M+1].x,this.path[M+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new h(A.x,A.y)},v.prototype.lineTo=function(A,M){if(isNaN(A)||isNaN(M))throw an.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var j=this.ctx.transform.applyToPoint(new h(A,M));this.path.push({type:"lt",x:j.x,y:j.y}),this.ctx.lastPoint=new h(j.x,j.y)},v.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),D.call(this,null,!0)},v.prototype.quadraticCurveTo=function(A,M,j,G){if(isNaN(j)||isNaN(G)||isNaN(A)||isNaN(M))throw an.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var J=this.ctx.transform.applyToPoint(new h(j,G)),at=this.ctx.transform.applyToPoint(new h(A,M));this.path.push({type:"qct",x1:at.x,y1:at.y,x:J.x,y:J.y}),this.ctx.lastPoint=new h(J.x,J.y)},v.prototype.bezierCurveTo=function(A,M,j,G,J,at){if(isNaN(J)||isNaN(at)||isNaN(A)||isNaN(M)||isNaN(j)||isNaN(G))throw an.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to 
1jsPDF.context2d.bezierCurveTo");var mt=this.ctx.transform.applyToPoint(new h(J,at)),bt=this.ctx.transform.applyToPoint(new h(A,M)),St=this.ctx.transform.applyToPoint(new h(j,G));this.path.push({type:"bct",x1:bt.x,y1:bt.y,x2:St.x,y2:St.y,x:mt.x,y:mt.y}),this.ctx.lastPoint=new h(mt.x,mt.y)},v.prototype.arc=function(A,M,j,G,J,at){if(isNaN(A)||isNaN(M)||isNaN(j)||isNaN(G)||isNaN(J))throw an.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(at=Boolean(at),!this.ctx.transform.isIdentity){var mt=this.ctx.transform.applyToPoint(new h(A,M));A=mt.x,M=mt.y;var bt=this.ctx.transform.applyToPoint(new h(0,j)),St=this.ctx.transform.applyToPoint(new h(0,0));j=Math.sqrt(Math.pow(bt.x-St.x,2)+Math.pow(bt.y-St.y,2))}Math.abs(J-G)>=2*Math.PI&&(G=0,J=2*Math.PI),this.path.push({type:"arc",x:A,y:M,radius:j,startAngle:G,endAngle:J,counterclockwise:at})},v.prototype.arcTo=function(A,M,j,G,J){throw new Error("arcTo not implemented.")},v.prototype.rect=function(A,M,j,G){if(isNaN(A)||isNaN(M)||isNaN(j)||isNaN(G))throw an.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(A,M),this.lineTo(A+j,M),this.lineTo(A+j,M+G),this.lineTo(A,M+G),this.lineTo(A,M),this.lineTo(A+j,M),this.lineTo(A,M)},v.prototype.fillRect=function(A,M,j,G){if(isNaN(A)||isNaN(M)||isNaN(j)||isNaN(G))throw an.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var J={};"butt"!==this.lineCap&&(J.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(J.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(A,M,j,G),this.fill(),J.hasOwnProperty("lineCap")&&(this.lineCap=J.lineCap),J.hasOwnProperty("lineJoin")&&(this.lineJoin=J.lineJoin)}},v.prototype.strokeRect=function(A,M,j,G){if(isNaN(A)||isNaN(M)||isNaN(j)||isNaN(G))throw an.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");C.call(this)||(this.beginPath(),this.rect(A,M,j,G),this.stroke())},v.prototype.clearRect=function(A,M,j,G){if(isNaN(A)||isNaN(M)||isNaN(j)||isNaN(G))throw an.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(A,M,j,G))},v.prototype.save=function(A){A="boolean"!=typeof A||A;for(var M=this.pdf.internal.getCurrentPageInfo().pageNumber,j=0;j<this.pdf.internal.getNumberOfPages();j++)this.pdf.setPage(j+1),this.pdf.internal.out("q");if(this.pdf.setPage(M),A){this.ctx.fontSize=this.pdf.internal.getFontSize();var G=new g(this.ctx);this.ctxStack.push(this.ctx),this.ctx=G}},v.prototype.restore=function(A){A="boolean"!=typeof A||A;for(var M=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(M),A&&0!==this.ctxStack.length&&(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)},v.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var y=function(A){var M,j,G,J;if(!0===A.isCanvasGradient&&(A=A.getColor()),!A)return{r:0,g:0,b:0,a:0,style:A};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(A))M=0,j=0,G=0,J=0;else{var at=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(A);if(null!==at)M=parseInt(at[1]),j=parseInt(at[2]),G=parseInt(at[3]),J=1;else if(null!==(at=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(A)))M=parseInt(at[1]),j=parseInt(at[2]),G=parseInt(at[3]),J=parseFloat(at[4]);else{if(J=1,"string"==typeof A&&"#"!==A.charAt(0)){var mt=new Cf(A);A=mt.ok?mt.toHex():"#000000"}4===A.length?(M=A.substring(1,2),M+=M,j=A.substring(2,3),j+=j,G=A.substring(3,4),G+=G):(M=A.substring(1,3),j=A.substring(3,5),G=A.substring(5,7)),M=parseInt(M,16),j=parseInt(j,16),G=parseInt(G,16)}}return{r:M,g:j,b:G,a:J,style:A}},p=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},C=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};v.prototype.fillText=function(A,M,j,G){if(isNaN(M)||isNaN(j)||"string"!=typeof A)throw an.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to 
1jsPDF.context2d.fillText");if(G=isNaN(G)?void 0:G,!p.call(this)){var J=lt(this.ctx.transform.rotation),at=this.ctx.transform.scaleX;E.call(this,{text:A,x:M,y:j,scale:at,angle:J,align:this.textAlign,maxWidth:G})}},v.prototype.strokeText=function(A,M,j,G){if(isNaN(M)||isNaN(j)||"string"!=typeof A)throw an.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!C.call(this)){G=isNaN(G)?void 0:G;var J=lt(this.ctx.transform.rotation),at=this.ctx.transform.scaleX;E.call(this,{text:A,x:M,y:j,scale:at,renderingMode:"stroke",angle:J,align:this.textAlign,maxWidth:G})}},v.prototype.measureText=function(A){if("string"!=typeof A)throw an.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var M=this.pdf,j=this.pdf.internal.scaleFactor,G=M.internal.getFontSize(),J=M.getStringUnitWidth(A)*G/M.internal.scaleFactor;return new function(at){var mt=(at=at||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return mt}}),this}({width:J*=Math.round(96*j/72*1e4)/1e4})},v.prototype.scale=function(A,M){if(isNaN(A)||isNaN(M))throw an.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var j=new c(A,0,0,M,0,0);this.ctx.transform=this.ctx.transform.multiply(j)},v.prototype.rotate=function(A){if(isNaN(A))throw an.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var M=new c(Math.cos(A),Math.sin(A),-Math.sin(A),Math.cos(A),0,0);this.ctx.transform=this.ctx.transform.multiply(M)},v.prototype.translate=function(A,M){if(isNaN(A)||isNaN(M))throw an.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var j=new c(1,0,0,1,A,M);this.ctx.transform=this.ctx.transform.multiply(j)},v.prototype.transform=function(A,M,j,G,J,at){if(isNaN(A)||isNaN(M)||isNaN(j)||isNaN(G)||isNaN(J)||isNaN(at))throw an.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var mt=new c(A,M,j,G,J,at);this.ctx.transform=this.ctx.transform.multiply(mt)},v.prototype.setTransform=function(A,M,j,G,J,at){A=isNaN(A)?1:A,M=isNaN(M)?0:M,j=isNaN(j)?0:j,G=isNaN(G)?1:G,J=isNaN(J)?0:J,at=isNaN(at)?0:at,this.ctx.transform=new c(A,M,j,G,J,at)};var k=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};v.prototype.drawImage=function(A,M,j,G,J,at,mt,bt,St){var Ft=this.pdf.getImageProperties(A),zt=1,jt=1,se=1,T=1;void 0!==G&&void 0!==bt&&(se=bt/G,T=St/J,zt=Ft.width/G*bt/G,jt=Ft.height/J*St/J),void 0===at&&(at=M,mt=j,M=0,j=0),void 0!==G&&void 0===bt&&(bt=G,St=J),void 0===G&&void 0===bt&&(bt=Ft.width,St=Ft.height);var Ut=this.ctx.transform.decompose(),De=lt(Ut.rotate.shx),fe=new c,Et=(fe=(fe=(fe=fe.multiply(Ut.translate)).multiply(Ut.skew)).multiply(Ut.scale)).applyToRectangle(new s(at-M*se,mt-j*T,G*zt,J*jt));if(this.autoPaging){for(var de,$t=I.call(this,Et),ue=[],le=0;le<$t.length;le+=1)-1===ue.indexOf($t[le])&&ue.push($t[le]);z(ue);for(var Qe=ue[0],qe=ue[ue.length-1],Pe=Qe;Pe<qe+1;Pe++){this.pdf.setPage(Pe);var We=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],He=1===Pe?this.posY+this.margin[0]:this.margin[0],Te=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],ae=1===Pe?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(Pe-2)*Te;if(0!==this.ctx.clip_path.length){var Sn=this.path;de=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=q(de,this.posX+this.margin[3],-ae+He+this.ctx.prevPageLastElemOffset),ct.call(this,"fill",!0),this.path=Sn}var $e=JSON.parse(JSON.stringify(Et));$e=q([$e],this.posX+this.margin[3],-ae+He+this.ctx.prevPageLastElemOffset)[0];var je=(Pe>Qe||Pe<qe)&&k.call(this);je&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],We,Te,null).clip().discardPath()),this.pdf.addImage(A,"JPEG",$e.x,$e.y,$e.w,$e.h,null,
vendor: 18,588 bytes, line 1
1null,De),je&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(A,"JPEG",Et.x,Et.y,Et.w,Et.h,null,null,De)};var I=function(A,M,j){var G=[];M=M||this.pdf.internal.pageSize.width,j=j||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var J=this.posY+this.ctx.prevPageLastElemOffset;switch(A.type){default:case"mt":case"lt":G.push(Math.floor((A.y+J)/j)+1);break;case"arc":G.push(Math.floor((A.y+J-A.radius)/j)+1),G.push(Math.floor((A.y+J+A.radius)/j)+1);break;case"qct":var at=wt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,A.x1,A.y1,A.x,A.y);G.push(Math.floor((at.y+J)/j)+1),G.push(Math.floor((at.y+at.h+J)/j)+1);break;case"bct":var mt=Ot(this.ctx.lastPoint.x,this.ctx.lastPoint.y,A.x1,A.y1,A.x2,A.y2,A.x,A.y);G.push(Math.floor((mt.y+J)/j)+1),G.push(Math.floor((mt.y+mt.h+J)/j)+1);break;case"rect":G.push(Math.floor((A.y+J)/j)+1),G.push(Math.floor((A.y+A.h+J)/j)+1)}for(var bt=0;bt<G.length;bt+=1)for(;this.pdf.internal.getNumberOfPages()<G[bt];)L.call(this);return G},L=function(){var A=this.fillStyle,M=this.strokeStyle,j=this.font,G=this.lineCap,J=this.lineWidth,at=this.lineJoin;this.pdf.addPage(),this.fillStyle=A,this.strokeStyle=M,this.font=j,this.lineCap=G,this.lineWidth=J,this.lineJoin=at},q=function(A,M,j){for(var G=0;G<A.length;G++)switch(A[G].type){case"bct":A[G].x2+=M,A[G].y2+=j;case"qct":A[G].x1+=M,A[G].y1+=j;default:A[G].x+=M,A[G].y+=j}return A},z=function(A){return A.sort(function(M,j){return M-j})},D=function(A,M){var j=this.fillStyle,G=this.strokeStyle,J=this.lineCap,at=this.lineWidth,mt=Math.abs(at*this.ctx.transform.scaleX),bt=this.lineJoin;if(this.autoPaging){for(var St,Ft,zt=JSON.parse(JSON.stringify(this.path)),jt=JSON.parse(JSON.stringify(this.path)),se=[],T=0;T<jt.length;T++)if(void 0!==jt[T].x)for(var Ut=I.call(this,jt[T]),De=0;De<Ut.length;De+=1)-1===se.indexOf(Ut[De])&&se.push(Ut[De]);for(var fe=0;fe<se.length;fe++)for(;this.pdf.internal.getNumberOfPages()<se[fe];)L.call(this);z(se);for(var Et=se[0],de=se[se.length-1],$t=Et;$t<de+1;$t++){this.pdf.setPage($t),this.fillStyle=j,this.strokeStyle=G,this.lineCap=J,this.lineWidth=mt,this.lineJoin=bt;var ue=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],le=1===$t?this.posY+this.margin[0]:this.margin[0],qe=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Pe=1===$t?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+($t-2)*qe;if(0!==this.ctx.clip_path.length){var We=this.path;St=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=q(St,this.posX+this.margin[3],-Pe+le+this.ctx.prevPageLastElemOffset),ct.call(this,A,!0),this.path=We}if(Ft=JSON.parse(JSON.stringify(zt)),this.path=q(Ft,this.posX+this.margin[3],-Pe+le+this.ctx.prevPageLastElemOffset),!1===M||0===$t){var He=($t>Et||$t<de)&&k.call(this);He&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],ue,qe,null).clip().discardPath()),ct.call(this,A,M),He&&this.pdf.restoreGraphicsState()}this.lineWidth=at}this.path=zt}else this.lineWidth=mt,ct.call(this,A,M),this.lineWidth=at},ct=function(A,M){if(("stroke"!==A||M||!C.call(this))&&("stroke"===A||M||!p.call(this))){for(var j,G,J=[],at=this.path,mt=0;mt<at.length;mt++){var bt=at[mt];switch(bt.type){case"begin":J.push({begin:!0});break;case"close":J.push({close:!0});break;case"mt":J.push({start:bt,deltas:[],abs:[]});break;case"lt":var St=J.length;if(at[mt-1]&&!isNaN(at[mt-1].x)&&(j=[bt.x-at[mt-1].x,bt.y-at[mt-1].y],St>0))for(;St>=0;St--)if(!0!==J[St-1].close&&!0!==J[St-1].begin){J[St-1].deltas.push(j),J[St-1].abs.push(bt);break}break;case"bct":J[J.length-1].deltas.push(j=[bt.x1-at[mt-1].x,bt.y1-at[mt-1].y,bt.x2-at[mt-1].x,bt.y2-at[mt-1].y,bt.x-at[mt-1].x,bt.y-at[mt-1].y]);break;case"qct":J[J.length-1].deltas.push(j=[at[mt-1].x+2/3*(bt.x1-at[mt-1].x)-at[mt-1].x,at[mt-1].y+2/3*(bt.y1-at[mt-1].y)-at[mt-1].y,bt.x+2/3*(bt.x1-bt.x)-at[mt-1].x,bt.y+2/3*(bt.y1-bt.y)-at[mt-1].y,bt.x-at[mt-1].x,bt.y-at[mt-1].y]);break;case"arc":J.push({deltas:[],abs:[],arc:!0}),Array.isArray(J[J.length-1].abs)&&J[J.length-1].abs.push(bt)}}G=M?null:"stroke"===A?"stroke":"fill";for(var De=!1,fe=0;fe<J.length;fe++)if(J[fe].arc)for(var Et=J[fe].abs,de=0;de<Et.length;de++){var $t=Et[de];"arc"===$t.type?Y.call(this,$t.x,$t.y,$t.radius,$t.startAngle,$t.endAngle,$t.counterclockwise,void 0,M,!De):Z.call(this,$t.x,$t.y),De=!0}else!0===J[fe].close?(this.pdf.internal.out("h"),De=!1):!0!==J[fe].begin&&(U.call(this,J[fe].deltas,J[fe].start.x,J[fe].start.y),De=!0);G&&R.call(this,G),M&&et.call(this)}},_t=function(A){var M=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,j=M*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return A-j;case"top":return A+M-j;case"hanging":return A+M-2*j;case"middle":return A+M/2-j;default:return A}},gt=function(A){return A+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};v.prototype.createLinearGradient=function(){var A=function(){};return A.colorStops=[],A.addColorStop=function(M,j){this.colorStops.push([M,j])},A.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},A.isCanvasGradient=!0,A},v.prototype.createPattern=function(){return this.createLinearGradient()},v.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Y=function(A,M,j,G,J,at,mt,bt,St){for(var Ft=pt.call(this,j,G,J,at),zt=0;zt<Ft.length;zt++){var jt=Ft[zt];0===zt&&(St?N.call(this,jt.x1+A,jt.y1+M):Z.call(this,jt.x1+A,jt.y1+M)),ft.call(this,A,M,jt.x2,jt.y2,jt.x3,jt.y3,jt.x4,jt.y4)}bt?et.call(this):R.call(this,mt)},R=function(A){switch(A){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},et=function(){this.pdf.clip(),this.pdf.discardPath()},N=function(A,M){this.pdf.internal.out(e(A)+" "+r(M)+" m")},E=function(A){var M;switch(A.align){case"right":case"end":M="right";break;case"center":M="center";break;default:M="left"}var j,G,J,at=this.pdf.getTextDimensions(A.text),mt=_t.call(this,A.y),bt=gt.call(this,mt)-at.h,St=this.ctx.transform.applyToPoint(new h(A.x,mt));if(this.autoPaging){var Ft=this.ctx.transform.decompose(),zt=new c;zt=(zt=(zt=zt.multiply(Ft.translate)).multiply(Ft.skew)).multiply(Ft.scale);for(var jt=this.ctx.transform.applyToRectangle(new s(A.x,mt,at.w,at.h)),se=zt.applyToRectangle(new s(A.x,bt,at.w,at.h)),T=I.call(this,se),Ut=[],De=0;De<T.length;De+=1)-1===Ut.indexOf(T[De])&&Ut.push(T[De]);z(Ut);for(var fe=Ut[0],Et=Ut[Ut.length-1],de=fe;de<Et+1;de++){this.pdf.setPage(de);var $t=1===de?this.posY+this.margin[0]:this.margin[0],le=this.pdf.internal.pageSize.height-this.margin[2],Qe=le-this.margin[0],qe=this.pdf.internal.pageSize.width-this.margin[1],Pe=qe-this.margin[3],We=1===de?0:this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2]+(de-2)*Qe;if(0!==this.ctx.clip_path.length){var He=this.path;j=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=q(j,this.posX+this.margin[3],-1*We+$t),ct.call(this,"fill",!0),this.path=He}var te=q([JSON.parse(JSON.stringify(se))],this.posX+this.margin[3],-We+$t+this.ctx.prevPageLastElemOffset)[0];A.scale>=.01&&(G=this.pdf.internal.getFontSize(),this.pdf.setFontSize(G*A.scale),this.lineWidth=(J=this.lineWidth)*A.scale);var Te="text"!==this.autoPaging;if(Te||te.y+te.h<=le){if(Te||te.y>=$t&&te.x<=qe){var ae=Te?A.text:this.pdf.splitTextToSize(A.text,A.maxWidth||qe-te.x)[0],Sn=q([JSON.parse(JSON.stringify(jt))],this.posX+this.margin[3],-We+$t+this.ctx.prevPageLastElemOffset)[0],$e=Te&&(de>fe||de<Et)&&k.call(this);$e&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Pe,Qe,null).clip().discardPath()),this.pdf.text(ae,Sn.x,Sn.y,{angle:A.angle,align:M,renderingMode:A.renderingMode}),$e&&this.pdf.restoreGraphicsState()}}else te.y<le&&(this.ctx.prevPageLastElemOffset+=le-te.y);A.scale>=.01&&(this.pdf.setFontSize(G),this.lineWidth=J)}}else A.scale>=.01&&(G=this.pdf.internal.getFontSize(),this.pdf.setFontSize(G*A.scale),this.lineWidth=(J=this.lineWidth)*A.scale),this.pdf.text(A.text,St.x+this.posX,St.y+this.posY,{angle:A.angle,align:M,renderingMode:A.renderingMode,maxWidth:A.maxWidth}),A.scale>=.01&&(this.pdf.setFontSize(G),this.lineWidth=J)},Z=function(A,M,j,G){G=G||0,this.pdf.internal.out(e(A+(j=j||0))+" "+r(M+G)+" l")},U=function(A,M,j){return this.pdf.lines(A,M,j,null,null)},ft=function(A,M,j,G,J,at,mt,bt){this.pdf.internal.out([n(i(j+A)),n(a(G+M)),n(i(J+A)),n(a(at+M)),n(i(mt+A)),n(a(bt+M)),"c"].join(" "))},pt=function(A,M,j,G){for(var J=2*Math.PI,at=Math.PI/2;M>j;)M-=J;var mt=Math.abs(j-M);mt<J&&G&&(mt=J-mt);for(var bt=[],St=G?-1:1,Ft=M;mt>1e-5;){var zt=Ft+St*Math.min(mt,at);bt.push(vt.call(this,A,Ft,zt)),mt-=Math.abs(zt-Ft),Ft=zt}return bt},vt=function(A,M,j){var G=(j-M)/2,J=A*Math.cos(G),at=A*Math.sin(G),mt=J,bt=-at,St=mt*mt+bt*bt,Ft=St+mt*J+bt*at,zt=4/3*(Math.sqrt(2*St*Ft)-Ft)/(mt*at-bt*J),jt=mt-zt*bt,se=bt+zt*mt,T=jt,Ut=-se,De=G+M,fe=Math.cos(De),Et=Math.sin(De);return{x1:A*Math.cos(M),y1:A*Math.sin(M),x2:jt*fe-se*Et,y2:jt*Et+se*fe,x3:T*fe-Ut*Et,y3:T*Et+Ut*fe,x4:A*Math.cos(j),y4:A*Math.sin(j)}},lt=function(A){return 180*A/Math.PI},wt=function(A,M,j,G,J,at){var mt=A+.5*(j-A),bt=M+.5*(G-M),St=J+.5*(j-J),Ft=at+.5*(G-at),zt=Math.min(A,J,mt,St),jt=Math.max(A,J,mt,St),se=Math.min(M,at,bt,Ft),T=Math.max(M,at,bt,Ft);return new s(zt,se,jt-zt,T-se)},Ot=function(A,M,j,G,J,at,mt,bt){var St,Ft,zt,jt,se,T,Ut,De,fe,Et,de,$t,ue,le,Qe=j-A,qe=G-M,Pe=J-j,We=at-G,He=mt-J,te=bt-at;for(Ft=0;Ft<41;Ft++)fe=(Ut=(zt=A+(St=Ft/40)*Qe)+St*((se=j+St*Pe)-zt))+St*(se+St*(J+St*He-se)-Ut),Et=(De=(jt=M+St*qe)+St*((T=G+St*We)-jt))+St*(T+St*(at+St*te-T)-De),0==Ft?(de=fe,$t=Et,ue=fe,le=Et):(de=Math.min(de,fe),$t=Math.min($t,Et),ue=Math.max(ue,fe),le=Math.max(le,Et));return new s(Math.round(de),Math.round($t),Math.round(ue-de),Math.round(le-$t))},kt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var j=JSON.stringify({lineDash:this.ctx.lineDash,lineDashOffset:this.ctx.lineDashOffset});this.prevLineDash!==j&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=j)}}})(re.API),function(t){var n=function(h){var s,c,u,g,v,y,p,C,k,I;for(/[^\x00-\xFF]/.test(h),c=[],u=0,g=(h+=s="\0\0\0\0".slice(h.length%4||4)).length;g>u;u+=4)0!==(v=(h.charCodeAt(u)<<24)+(h.charCodeAt(u+1)<<16)+(h.charCodeAt(u+2)<<8)+h.charCodeAt(u+3))?(y=(v=((v=((v=((v=(v-(I=v%85))/85)-(k=v%85))/85)-(C=v%85))/85)-(p=v%85))/85)%85,c.push(y+33,p+33,C+33,k+33,I+33)):c.push(122);return function(L,q){for(var z=q;z>0;z--)L.pop()}(c,s.length),String.fromCharCode.apply(String,c)+"~>"},e=function(h){var s,c,u,g,v,y=String,p="length",C=255,k="charCodeAt",I="slice",L="replace";for(h[I](-2),h=h[I](0,-2)[L](/\s/g,"")[L]("z","!!!!!"),u=[],g=0,v=(h+=s="uuuuu"[I](h[p]%5||5))[p];v>g;g+=5)c=52200625*(h[k](g)-33)+614125*(h[k](g+1)-33)+7225*(h[k](g+2)-33)+85*(h[k](g+3)-33)+(h[k](g+4)-33),u.push(C&c>>24,C&c>>16,C&c>>8,C&c);return function(q,z){for(var D=z;D>0;D--)q.pop()}(u,s[p]),y.fromCharCode.apply(y,u)},r=function(h){return h.split("").map(function(s){return("0"+s.charCodeAt().toString(16)).slice(-2)}).join("")+">"},i=function(h){var s=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(h=h.replace(/\s/g,"")).indexOf(">")&&(h=h.substr(0,h.indexOf(">"))),h.length%2&&(h+="0"),!1===s.test(h))return"";for(var c="",u=0;u<h.length;u+=2)c+=String.fromCharCode("0x"+(h[u]+h[u+1]));return c},a=function(h){for(var s=new Uint8Array(h.length),c=h.length;c--;)s[c]=h.charCodeAt(c);return(s=No(s)).reduce(function(u,g){return u+String.fromCharCode(g)},"")};t.processDataByFilters=function(h,s){var c=0,u=h||"",g=[];for("string"==typeof(s=s||[])&&(s=[s]),c=0;c<s.length;c+=1)switch(s[c]){case"ASCII85Decode":case"/ASCII85Decode":u=e(u),g.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":u=n(u),g.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":u=i(u),g.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":u=r(u),g.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":u=a(u),g.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[c]+'" is not implemented')}return{data:u,reverseChain:g.reverse().join(" ")}}}(re.API),function(t){t.loadFile=function(n,e,r){return function(i,a,h){a=!1!==a,h="function"==typeof h?h:function(){};var s=void 0;try{s=function(c,u,g){var v=new XMLHttpRequest,y=0,p=function(C){var k=C.length,I=[],L=String.fromCharCode;for(y=0;y<k;y+=1)I.push(L(255&C.charCodeAt(y)));return I.join("")};if(v.open("GET",c,!u),v.overrideMimeType("text/plain; charset=x-user-defined"),!1===u&&(v.onload=function(){g(200===v.status?p(this.responseText):void 0)}),v.send(null),u&&200===v.status)return p(v.responseText)}(i,a,h)}catch{}return s}(n,e,r)},t.loadImageFile=t.loadFile}(re.API),function(t){function n(){return(ye.html2canvas?Promise.resolve(ye.html2canvas):Q.e("node_modules_html2canvas_dist_html2canvas_js").then(Q.t.bind(Q,9266,23))).catch(function(s){return Promise.reject(new Error("Could not load html2canvas: "+s))}).then(function(s){return s.default?s.default:s})}function e(){return(ye.DOMPurify?Promise.resolve(ye.DOMPurify):Q.e("node_modules_dompurify_dist_purify_es_mjs").then(Q.bind(Q,52600))).catch(function(s){return Promise.reject(new Error("Could not load dompurify: "+s))}).then(function(s){return s.default?s.default:s})}var r=function(s){var c=(0,ut.Z)(s);return"undefined"===c?"undefined":"string"===c||s instanceof String?"string":"number"===c||s instanceof Number?"number":"function"===c||s instanceof Function?"function":s&&s.constructor===Array?"array":s&&1===s.nodeType?"element":"object"===c?"object":"unknown"},i=function(s,c){var u=document.createElement(s);for(var g in c.className&&(u.className=c.className),c.innerHTML&&c.dompurify&&(u.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)u.style[g]=c.style[g];return u},a=function s(c,u){for(var g=3===c.nodeType?document.createTextNode(c.nodeValue):c.cloneNode(!1),v=c.firstChild;v;v=v.nextSibling)!0!==u&&1===v.nodeType&&"SCRIPT"===v.nodeName||g.appendChild(s(v,u));return 1===c.nodeType&&("CANVAS"===c.nodeName?(g.width=c.width,g.height=c.height,g.getContext("2d").drawImage(c,0,0)):"TEXTAREA"!==c.nodeName&&"SELECT"!==c.nodeName||(g.value=c.value),g.addEventListener("load",function(){g.scrollTop=c.scrollTop,g.scrollLeft=c.scrollLeft},!0)),g},h=function s(c){var u=Object.assign(s.convert(Promise.resolve()),JSON.parse(JSON.stringify(s.template))),g=s.convert(Promise.resolve(),u);return(g=g.setProgress(1,s,1,[s])).set(c)};(h.prototype=Object.create(Promise.prototype)).constructor=h,h.convert=function(s,c){return s.__proto__=c||h.prototype,s},h.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"}},h.prototype.from=function(s,c){return this.then(function(){switch(c=c||function(u){switch(r(u)){case"string":return"string";case"element":return"canvas"===u.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(s)){case"string":return this.then(e).then(function(u){return this.set({src:i("div",{innerHTML:s,dompurify:u})})});case"element":return this.set({src:s});case"canvas":return this.set({canvas:s});case"img":return this.set({img:s});default:return this.error("Unknown source type.")}})},h.prototype.to=function(s){switch(s){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.")}},h.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 s={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||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=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===c.tagName&&(s.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=i("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=i("div",{className:"html2pdf__container",style:s}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(i("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},h.prototype.toCanvas=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(n).then(function(c){var u=Object.assign({},this.opt.html2canvas);return delete u.onrendered,c(this.prop.container,u)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},h.prototype.toContext2d=function(){return this.thenList([function(){return document.body.contains(this.prop.container)||this.toContainer()}]).then(n).then(function(c){var u=this.opt.jsPDF,g=this.opt.fontFaces,v="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,y=Object.assign({async:!0,allowTaint:!0,scale:v,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 y.onrendered,u.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,u.context2d.posX=this.opt.x,u.context2d.posY=this.opt.y,u.context2d.margin=this.opt.margin,u.context2d.fontFaces=g,g)for(var p=0;p<g.length;++p){var C=g[p],k=C.src.find(function(I){return"truetype"===I.format});k&&u.addFont(k.url,C.ref.name,C.ref.style)}
vendor: 4,256 bytes, line 1
1return y.windowHeight=y.windowHeight||0,y.windowHeight=0==y.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):y.windowHeight,u.context2d.save(!0),c(this.prop.container,y)}).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)})},h.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var s=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=s})},h.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},h.prototype.output=function(s,c,u){return"img"===(u=u||"pdf").toLowerCase()||"image"===u.toLowerCase()?this.outputImg(s,c):this.outputPdf(s,c)},h.prototype.outputPdf=function(s,c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(s,c)})},h.prototype.outputImg=function(s){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(s){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 "'+s+'" is not supported.'}})},h.prototype.save=function(s){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(s?{filename:s}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},h.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},h.prototype.set=function(s){if("object"!==r(s))return this;var c=Object.keys(s||{}).map(function(u){if(u in h.template.prop)return function(){this.prop[u]=s[u]};switch(u){case"margin":return this.setMargin.bind(this,s.margin);case"jsPDF":return function(){return this.opt.jsPDF=s.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,s.pageSize);default:return function(){this.opt[u]=s[u]}}},this);return this.then(function(){return this.thenList(c)})},h.prototype.get=function(s,c){return this.then(function(){var u=s in h.template.prop?this.prop[s]:this.opt[s];return c?c(u):u})},h.prototype.setMargin=function(s){return this.then(function(){switch(r(s)){case"number":s=[s,s,s,s];case"array":if(2===s.length&&(s=[s[0],s[1],s[0],s[1]]),4===s.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=s}).then(this.setPageSize)},h.prototype.setPageSize=function(s){function c(u,g){return Math.floor(u*g/72*96)}return this.then(function(){(s=s||re.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(s.inner={width:s.width-this.opt.margin[1]-this.opt.margin[3],height:s.height-this.opt.margin[0]-this.opt.margin[2]},s.inner.px={width:c(s.inner.width,s.k),height:c(s.inner.height,s.k)},s.inner.ratio=s.inner.height/s.inner.width),this.prop.pageSize=s})},h.prototype.setProgress=function(s,c,u,g){return null!=s&&(this.progress.val=s),null!=c&&(this.progress.state=c),null!=u&&(this.progress.n=u),null!=g&&(this.progress.stack=g),this.progress.ratio=this.progress.val/this.progress.state,this},h.prototype.updateProgress=function(s,c,u,g){return this.setProgress(s?this.progress.val+s:null,c||null,u?this.progress.n+u:null,g?this.progress.stack.concat(g):null)},h.prototype.then=function(s,c){var u=this;return this.thenCore(s,c,function(g,v){return u.updateProgress(null,null,1,[g]),Promise.prototype.then.call(this,function(y){return u.updateProgress(null,g),y}).then(g,v).then(function(y){return u.updateProgress(1),y})})},h.prototype.thenCore=function(s,c,u){u=u||Promise.prototype.then;var g=this;s&&(s=s.bind(g)),c&&(c=c.bind(g));var v=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?g:h.convert(Object.assign({},g),Promise.prototype),y=u.call(v,s,c);return h.convert(y,g.__proto__)},h.prototype.thenExternal=function(s,c){return Promise.prototype.then.call(this,s,c)},h.prototype.thenList=function(s){var c=this;
vendor: 9,171 bytes, line 1
1return s.forEach(function(u){c=c.thenCore(u)}),c},h.prototype.catch=function(s){s&&(s=s.bind(this));var c=Promise.prototype.catch.call(this,s);return h.convert(c,this)},h.prototype.catchExternal=function(s){return Promise.prototype.catch.call(this,s)},h.prototype.error=function(s){return this.then(function(){throw new Error(s)})},h.prototype.using=h.prototype.set,h.prototype.saveAs=h.prototype.save,h.prototype.export=h.prototype.output,h.prototype.run=h.prototype.then,re.getPageSize=function(s,c,u){if("object"===(0,ut.Z)(s)){var g=s;s=g.orientation,c=g.unit||c,u=g.format||u}c=c||"mm",u=u||"a4",s=(""+(s||"P")).toLowerCase();var v,y=(""+u).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":v=1;break;case"mm":v=72/25.4;break;case"cm":v=72/2.54;break;case"in":v=72;break;case"px":v=.75;break;case"pc":case"em":v=12;break;case"ex":v=6;break;default:throw"Invalid unit: "+c}var C,k=0,I=0;if(p.hasOwnProperty(y))k=p[y][1]/v,I=p[y][0]/v;else try{k=u[1],I=u[0]}catch{throw new Error("Invalid format: "+u)}if("p"===s||"portrait"===s)s="p",I>k&&(C=I,I=k,k=C);else{if("l"!==s&&"landscape"!==s)throw"Invalid orientation: "+s;s="l",k>I&&(C=I,I=k,k=C)}return{width:I,height:k,unit:c,k:v,orientation:s}},t.html=function(s,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(Rh):null;var u=new h(c);return c.worker?u:u.from(s).doCallback()}}(re.API),re.API.addJS=function(t){return Yf=t,this.internal.events.subscribe("postPutResources",function(){Js=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Js+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),$f=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Yf+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==Js&&void 0!==$f&&this.internal.out("/Names <</JavaScript "+Js+" 0 R>>")}),this},function(t){var n;t.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var i=e.outline.render().split(/\r\n/),a=0;a<i.length;a++){var h=i[a],s=r.exec(h);null!=s&&e.internal.newObjectDeferredBegin(s[1],!1),e.internal.write(h)}if(this.outline.createNamedDestinations){var u=this.internal.pages.length,g=[];for(a=0;a<u;a++){var v=e.internal.newObject();g.push(v);var y=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+y.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<g.length;a++)e.internal.write("(page_"+(a+1)+")"+g[a]+" 0 R");e.internal.write(" ] >>","endobj"),n=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+n+" 0 R"))}]),t.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,i,a){var h={title:i,options:a,children:[]};return null==r&&(r=this.root),r.children.push(h),h},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var i=0;i<r.children.length;i++)this.genIds_r(r.children[i])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var i=this.ctx.pdf.internal.getVerticalCoordinateString,a=0;a<r.children.length;a++){var h=r.children[a];this.objStart(h),this.line("/Title "+this.makeString(h.title)),this.line("/Parent "+this.makeRef(r)),a>0&&this.line("/Prev "+this.makeRef(r.children[a-1])),a<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[a+1])),h.children.length>0&&(this.line("/First "+this.makeRef(h.children[0])),this.line("/Last "+this.makeRef(h.children[h.children.length-1])));var s=this.count=this.count_r({count:0},h);if(s>0&&this.line("/Count "+s),h.options&&h.options.pageNumber){var c=e.internal.getPageInfo(h.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+i(0)+" 0]")}this.objEnd()}for(var u=0;u<r.children.length;u++)this.renderItems(r.children[u])},e.outline.line=function(r){this.ctx.val+=r+"\r\n"},e.outline.makeRef=function(r){return r.id+" 0 R"},e.outline.makeString=function(r){return"("+e.internal.pdfEscape(r)+")"},e.outline.objStart=function(r){this.ctx.val+="\r\n"+r.id+" 0 obj\r\n<<\r\n"},e.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},e.outline.count_r=function(r,i){for(var a=0;a<i.children.length;a++)r.count++,this.count_r(r,i.children[a]);return r.count}}])}(re.API),function(t){var n=[192,193,194,195,196,197,198,199];t.processJPEG=function(e,r,i,a,h,s){var c,u=this.decode.DCT_DECODE,g=null;if("string"==typeof e||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=this.__addimage__.isArrayBuffer(e=h||e)?new Uint8Array(e):e,(c=function(v){for(var y,p=256*v.charCodeAt(4)+v.charCodeAt(5),C=v.length,k={width:0,height:0,numcomponents:1},I=4;I<C;I+=2){if(-1!==n.indexOf(v.charCodeAt((I+=p)+1))){y=256*v.charCodeAt(I+5)+v.charCodeAt(I+6),k={width:256*v.charCodeAt(I+7)+v.charCodeAt(I+8),height:y,numcomponents:v.charCodeAt(I+9)};break}p=256*v.charCodeAt(I+2)+v.charCodeAt(I+3)}return k}(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e)).numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}g={data:e,width:c.width,height:c.height,colorSpace:s,bitsPerComponent:8,filter:u,index:r,alias:i}}return g}}(re.API),re.API.processPNG=function(t,n,e,r){if(this.__addimage__.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.__addimage__.isArrayBufferView(t)){var i,v,y,p,a=function P5(t,n){return new _5(t,n).decode()}(t,{checkCrc:!0}),h=a.width,s=a.height,c=a.channels,g=a.depth,k=(i=a.palette&&1===c?function(Y){for(var R=Y.width,et=Y.height,N=Y.data,E=Y.palette,Z=Y.depth,U=!1,ft=[],pt=[],vt=void 0,lt=!1,wt=0,Ot=0;Ot<E.length;Ot++){var kt=Rc(E[Ot],4),G=kt[3];ft.push(kt[0],kt[1],kt[2]),null!=G&&(0===G?(wt++,pt.length<1&&pt.push(Ot)):G<255&&(lt=!0))}if(lt||wt>1){U=!0,pt=void 0;var J=R*et;vt=new Uint8Array(J);for(var at=new DataView(N.buffer),mt=0;mt<J;mt++){var St=Rc(E[zh(at,mt,Z)],4)[3];vt[mt]=St}}else 0===wt&&(pt=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:U?8:void 0,colorBytes:N,alphaBytes:vt,needSMask:U,palette:ft,mask:pt}}(a):2===c||4===c?function(Y){for(var R=Y.data,E=Y.channels,Z=Y.depth,U=2===E?"DeviceGray":"DeviceRGB",ft=E-1,pt=Y.width*Y.height,vt=ft,wt=1*pt,Ot=Math.ceil(pt*vt*Z/8),kt=Math.ceil(wt*Z/8),A=new Uint8Array(Ot),M=new Uint8Array(kt),j=new DataView(R.buffer),G=new DataView(A.buffer),J=new DataView(M.buffer),at=!1,mt=0;mt<pt;mt++){for(var bt=mt*E,St=0;St<vt;St++)i1(G,zh(j,bt+St,Z),mt*vt+St,Z);var Ft=zh(j,bt+vt,Z);Ft<(1<<Z)-1&&(at=!0),i1(J,Ft,1*mt,Z)}return{colorSpace:U,colorsPerPixel:ft,sMaskBitsPerComponent:at?Z:void 0,colorBytes:A,alphaBytes:M,needSMask:at}}(a):{colorSpace:et=1===(Y=a).channels?"DeviceGray":"DeviceRGB",colorsPerPixel:"DeviceGray"===et?1:3,colorBytes:(R=Y.data)instanceof Uint16Array?function(N){for(var E=N.length,Z=new Uint8Array(2*E),U=new DataView(Z.buffer,Z.byteOffset,Z.byteLength),ft=0;ft<E;ft++)U.setUint16(2*ft,N[ft],!1);return Z}(R):R,needSMask:!1}).colorSpace,I=i.colorsPerPixel,L=i.sMaskBitsPerComponent,q=i.colorBytes,z=i.alphaBytes,D=i.needSMask,ct=i.palette,_t=i.mask,gt=null;return r!==re.API.image_compression.NONE?(gt=function(Y){var R;switch(Y){case re.API.image_compression.FAST:R=11;break;case re.API.image_compression.MEDIUM:R=13;break;case re.API.image_compression.SLOW:R=14;break;default:R=12}return R}(r),v=this.decode.FLATE_DECODE,y="/Predictor ".concat(gt," /Colors ").concat(I," /BitsPerComponent ").
vendor: 10,541 bytes, line 1
1concat(g," /Columns ").concat(h),t=Qf(q,Math.ceil(h*I*g/8),I,g,r),D&&(p=Qf(z,Math.ceil(h*L/8),1,L,r))):(v=void 0,y=void 0,t=q,D&&(p=z)),(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:v,decodeParameters:y,transparency:_t,palette:ct,sMask:p,predictor:gt,width:h,height:s,bitsPerComponent:g,sMaskBitsPerComponent:L,colorSpace:k}}var Y,R,et},function(t){t.processGIF89A=function(n,e,r,i){var a=new Y5(n),h=a.width,s=a.height,c=[];a.decodeAndBlitFrameRGBA(0,c);var u={data:c,width:h,height:s},g=new Uh(100).encode(u,100);return t.processJPEG.call(this,g,e,r,i)},t.processGIF87A=t.processGIF89A}(re.API),Hr.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,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var t=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(t);for(var n=0;n<t;n++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[n]={red:i,green:r,blue:e,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},Hr.prototype.parseBGR=function(){this.pos=this.offset;try{var t="bit"+this.bitPP;this.data=new Uint8Array(this.width*this.height*4),this[t]()}catch(e){an.log("bit decode error:"+e)}},Hr.prototype.bit1=function(){var t,n=Math.ceil(this.width/8),e=n%4;for(t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,i=0;i<n;i++)for(var a=this.datav.getUint8(this.pos++,!0),h=r*this.width*4+8*i*4,s=0;s<8&&8*i+s<this.width;s++){var c=this.palette[a>>7-s&1];this.data[h+4*s]=c.blue,this.data[h+4*s+1]=c.green,this.data[h+4*s+2]=c.red,this.data[h+4*s+3]=255}0!==e&&(this.pos+=4-e)}},Hr.prototype.bit4=function(){for(var t=Math.ceil(this.width/2),n=t%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<t;i++){var a=this.datav.getUint8(this.pos++,!0),h=r*this.width*4+2*i*4,c=15&a,u=this.palette[a>>4];if(this.data[h]=u.blue,this.data[h+1]=u.green,this.data[h+2]=u.red,this.data[h+3]=255,2*i+1>=this.width)break;this.data[h+4]=(u=this.palette[c]).blue,this.data[h+4+1]=u.green,this.data[h+4+2]=u.red,this.data[h+4+3]=255}0!==n&&(this.pos+=4-n)}},Hr.prototype.bit8=function(){for(var t=this.width%4,n=this.height-1;n>=0;n--){for(var e=this.bottom_up?n:this.height-1-n,r=0;r<this.width;r++){var i=this.datav.getUint8(this.pos++,!0),a=e*this.width*4+4*r;if(i<this.palette.length){var h=this.palette[i];this.data[a]=h.red,this.data[a+1]=h.green,this.data[a+2]=h.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}0!==t&&(this.pos+=4-t)}},Hr.prototype.bit15=function(){for(var t=this.width%3,n=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,i=0;i<this.width;i++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var h=(a&n)/n*255|0,s=(a>>5&n)/n*255|0,u=a>>15?255:0,g=r*this.width*4+4*i;this.data[g]=(a>>10&n)/n*255|0,this.data[g+1]=s,this.data[g+2]=h,this.data[g+3]=u}this.pos+=t}},Hr.prototype.bit16=function(){for(var t=this.width%3,n=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var i=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var h=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(h&n)/n*255|0,c=(h>>5&e)/e*255|0,g=i*this.width*4+4*a;this.data[g]=(h>>11)/n*255|0,this.data[g+1]=c,this.data[g+2]=s,this.data[g+3]=255}this.pos+=t}},Hr.prototype.bit24=function(){for(var t=this.height-1;t>=0;t--){for(var n=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),h=n*this.width*4+4*e;this.data[h]=a,this.data[h+1]=i,this.data[h+2]=r,this.data[h+3]=255}this.pos+=this.width%4}},Hr.prototype.bit32=function(){for(var t=this.height-1;t>=0;t--)for(var n=this.bottom_up?t:this.height-1-t,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),h=this.datav.getUint8(this.pos++,!0),s=n*this.width*4+4*e;this.data[s]=a,this.data[s+1]=i,this.data[s+2]=r,this.data[s+3]=h}},Hr.prototype.getData=function(){return this.data},function(t){t.processBMP=function(n,e,r,i){var a=new Hr(n,!1),h=a.width,s=a.height,c={data:a.getData(),width:h,height:s},u=new Uh(100).encode(c,100);return t.processJPEG.call(this,u,e,r,i)}}(re.API),s1.prototype.getData=function(){return this.data},function(t){t.processWEBP=function(n,e,r,i){var a=new s1(n),h=a.width,s=a.height,c={data:a.getData(),width:h,height:s},u=new Uh(100).encode(c,100);return t.processJPEG.call(this,u,e,r,i)}}(re.API),re.API.processRGBA=function(t,n,e){for(var r=t.data,i=r.length,a=new Uint8Array(i/4*3),h=new Uint8Array(i/4),s=0,c=0,u=0;u<i;u+=4){var v=r[u+1],y=r[u+2],p=r[u+3];a[s++]=r[u],a[s++]=v,a[s++]=y,h[c++]=p}var C=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(h),data:C,index:n,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:t.width,height:t.height}},re.API.setLanguage=function(t){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[t]&&(this.internal.languageSettings.languageCode=t,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},Xs=(so=re.API).getCharWidthsArray=function(t,n){var e,r,i=(n=n||{}).font||this.internal.getFont(),a=n.fontSize||this.internal.getFontSize(),h=n.charSpace||this.internal.getCharSpace(),s=n.widths?
vendor: 4,197 bytes, line 1
1n.widths:i.metadata.Unicode.widths,c=s.fof?s.fof:1,u=n.kerning?n.kerning:i.metadata.Unicode.kerning,g=u.fof?u.fof:1,v=!1!==n.doKerning,y=0,p=t.length,C=0,k=s[0]||c,I=[];for(e=0;e<p;e++)r=t.charCodeAt(e),"function"==typeof i.metadata.widthOfString?I.push((i.metadata.widthOfGlyph(i.metadata.characterToGlyph(r))+h*(1e3/a)||0)/1e3):(y=v&&"object"===(0,ut.Z)(u[r])&&!isNaN(parseInt(u[r][C],10))?u[r][C]/g:0,I.push((s[r]||k)/c+y)),C=r;return I},Kf=so.getStringUnitWidth=function(t,n){var e=(n=n||{}).fontSize||this.internal.getFontSize(),r=n.font||this.internal.getFont(),i=n.charSpace||this.internal.getCharSpace();return so.processArabic&&(t=so.processArabic(t)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(t,e,i)/e:Xs.apply(this,arguments).reduce(function(a,h){return a+h},0)},Jf=function(t,n,e,r){for(var i=[],a=0,h=t.length,s=0;a!==h&&s+n[a]<e;)s+=n[a],a++;i.push(t.slice(0,a));var c=a;for(s=0;a!==h;)s+n[a]>r&&(i.push(t.slice(c,a)),s=0,c=a),s+=n[a],a++;return c!==a&&i.push(t.slice(c,a)),i},Xf=function(t,n,e){e||(e={});var r,i,a,h,s,c,g=[],v=[g],y=e.textIndent||0,p=0,C=0,k=t.split(" "),I=Xs.apply(this,[" ",e])[0];if(c=-1===e.lineIndent?k[0].length+2:e.lineIndent||0){var L=Array(c).join(" "),q=[];k.map(function(D){(D=D.split(/\s*\n/)).length>1?q=q.concat(D.map(function(ct,_t){return(_t&&ct.length?"\n":"")+ct})):q.push(D[0])}),k=q,c=Kf.apply(this,[L,e])}for(a=0,h=k.length;a<h;a++){var z=0;if(r=k[a],c&&"\n"==r[0]&&(r=r.substr(1),z=1),y+p+(C=(i=Xs.apply(this,[r,e])).reduce(function(D,ct){return D+ct},0))>n||z){if(C>n){for(s=Jf.apply(this,[r,i,n-(y+p),n]),g.push(s.shift()),g=[s.pop()];s.length;)v.push([s.shift()]);C=i.slice(r.length-(g[0]?g[0].length:0)).reduce(function(D,ct){return D+ct},0)}else g=[r];v.push(g),y=C+c,p=I}else g.push(r),y+=p+C,p=I}return v.map(c?function(D,ct){return(ct?L:"")+D.join(" ")}:function(D){return D.join(" ")})},so.splitTextToSize=function(t,n,e){var r,i=(e=e||{}).fontSize||this.internal.getFontSize(),a=function(g){if(g.widths&&g.kerning)return{widths:g.widths,kerning:g.kerning};var v=this.internal.getFont(g.fontName,g.fontStyle),y="Unicode";return v.metadata[y]?{widths:v.metadata[y].widths||{0:1},kerning:v.metadata[y].kerning||{}}:{font:v.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,e);r=Array.isArray(t)?t:String(t).split(/\r?\n/);var h=1*this.internal.scaleFactor*n/i;a.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=e.lineIndent;var s,c,u=[];for(s=0,c=r.length;s<c;s++)u=u.concat(Xf.apply(this,[r[s],h,a]));return u},function(t){t.__fontmetrics__=t.__fontmetrics__||{};for(var n="0123456789abcdef",e="klmnopqrstuvwxyz",r={},i={},a=0;a<16;a++)r[e[a]]=n[a],i[n[a]]=e[a];var h=function(y){return"0x"+parseInt(y,10).toString(16)},s=t.__fontmetrics__.compress=function(y){var p,C,k,I,L=["{"];for(var q in y){if(p=y[q],isNaN(parseInt(q,10))?C="'"+q+"'":(q=parseInt(q,10),C=(C=h(q).slice(2)).slice(0,-1)+i[C.slice(-1)]),"number"==typeof p)p<0?(k=h(p).slice(3),I="-"):(k=h(p).slice(2),I=""),k=I+k.slice(0,-1)+i[k.slice(-1)];else{if("object"!==(0,ut.Z)(p))throw new Error("Don't know what to do with value type "+(0,ut.Z)(p)+".");k=s(p)}L.push(C+k)}return L.push("}"),L.join("")},c=t.__fontmetrics__.uncompress=function(y){if("string"!=typeof y)throw new Error("Invalid argument passed to uncompress.");for(var p,C,k,I,L={},q=1,z=L,D=[],ct="",_t="",gt=y.length-1,Y=1;Y<gt;Y+=1)"'"==(I=y[Y])?p?(k=p.join(""),p=void 0):p=[]:p?p.push(I):"{"==I?(D.push([z,k]),z={},k=void 0):"}"==I?((C=D.pop())[0][C[1]]=z,k=void 0,z=C[0]):"-"==I?q=-1:void 0===k?r.hasOwnProperty(I)?(ct+=r[I],k=parseInt(ct,16)*q,q=1,ct=""):ct+=I:r.hasOwnProperty(I)?(_t+=r[I],z[k]=parseInt(_t,16)*q,q=1,k=void 0,_t=""):_t+=I;return L},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},g={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},v
vendor: 14,693 bytes, line 1
1={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: 46,095 bytes, line 1
1t.events.push(["addFont",function(y){var p=y.font,C=v.Unicode[p.postScriptName];C&&(p.metadata.Unicode={},p.metadata.Unicode.widths=C.widths,p.metadata.Unicode.kerning=C.kerning);var k=g.Unicode[p.postScriptName];k&&(p.metadata.Unicode.encoding=k,p.encoding=k.codePages[0])}])}(re.API),function(t){var n=function(e){for(var r=e.length,i=new Uint8Array(r),a=0;a<r;a++)i[a]=e.charCodeAt(a);return i};t.API.events.push(["addFont",function(e){var h,s,r=void 0,i=e.font,a=e.instance;if(!i.isStandardFont){if(void 0===a)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");if("string"!=typeof(r=!1===a.existsFileInVFS(i.postScriptName)?a.loadFile(i.postScriptName):a.getFileFromVFS(i.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+i.postScriptName+"').");h=i,s=/^\x00\x01\x00\x00/.test(s=r)?n(s):n(qs(s)),h.metadata=t.API.TTFFont.open(s),h.metadata.Unicode=h.metadata.Unicode||{encoding:{},kerning:{},widths:[]},h.metadata.glyIdsUsed=[0]}}])}(re),re.API.addSvgAsImage=function(t,n,e,r,i,a,h,s){if(isNaN(n)||isNaN(e))throw an.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(i))throw an.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=r,c.height=i;var u=c.getContext("2d");u.fillStyle="#fff",u.fillRect(0,0,c.width,c.height);var g={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},v=this;return(ye.canvg?Promise.resolve(ye.canvg):Promise.all([Q.e("common"),Q.e("node_modules_canvg_lib_index_es_js")]).then(Q.bind(Q,48710))).catch(function(y){return Promise.reject(new Error("Could not load canvg: "+y))}).then(function(y){return y.default?y.default:y}).then(function(y){return y.fromString(u,t,g)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(y){return y.render(g)}).then(function(){v.addImage(c.toDataURL("image/jpeg",1),n,e,r,i,h,s)})},re.API.putTotalPages=function(t){var n,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(n=new RegExp(t,"g"),e=this.internal.getNumberOfPages()):(n=new RegExp(this.pdfEscape16(t,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var i=0;i<this.internal.pages[r].length;i++)this.internal.pages[r][i]=this.internal.pages[r][i].replace(n,e);return this},re.API.viewerPreferences=function(t,n){var e;t=t||{},n=n||!1;var r,i,a,h={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}},s=Object.keys(h),c=[],u=0,g=0,v=0;function y(C,k){var I,L=!1;for(I=0;I<C.length;I+=1)C[I]===k&&(L=!0);return L}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(h)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,"reset"===t||!0===n){var p=s.length;for(v=0;v<p;v+=1)e[s[v]].value=e[s[v]].defaultValue,e[s[v]].explicitSet=!1}if("object"===(0,ut.Z)(t))for(i in t)if(a=t[i],y(s,i)&&void 0!==a){if("boolean"===e[i].type&&"boolean"==typeof a)e[i].value=a;else if("name"===e[i].type&&y(e[i].valueSet,a))e[i].value=a;else if("integer"===e[i].type&&Number.isInteger(a))e[i].value=a;else if("array"===e[i].type){for(u=0;u<a.length;u+=1)if(r=!0,1===a[u].length&&"number"==typeof a[u][0])c.push(String(a[u]-1));else if(a[u].length>1){for(g=0;g<a[u].length;g+=1)"number"!=typeof a[u][g]&&(r=!1);!0===r&&c.push([a[u][0]-1,a[u][1]-1].join(" "))}e[i].value="["+c.join(" ")+"]"}else e[i].value=e[i].defaultValue;e[i].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",function(){var C,k=[];for(C in e)!0===e[C].explicitSet&&k.push("name"===e[C].type?"/"+C+" /"+e[C].value:"/"+C+" "+e[C].value);0!==k.length&&this.internal.write("/ViewerPreferences\n<<\n"+k.join("\n")+"\n>>")}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},function(t){var n=function(){var r='<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceuri+'"><jspdf:metadata>',i=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),a=unescape(encodeURIComponent(r)),h=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),s=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),c=unescape(encodeURIComponent("</x:xmpmeta>")),u=a.length+h.length+s.length+i.length+c.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+u+" >>"),this.internal.write("stream"),this.internal.write(i+a+h+s+c),this.internal.write("endstream"),this.internal.write("endobj")},e=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};t.addMetadata=function(r,i){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:r,namespaceuri:i||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",e),this.internal.events.subscribe("postPutResources",n)),this}}(re.API),function(t){var n=t.API,e=n.pdfEscape16=function(a,h){for(var s,c=h.metadata.Unicode.widths,u=["","0","00","000","0000"],g=[""],v=0,y=a.length;v<y;++v){if(s=h.metadata.characterToGlyph(a.charCodeAt(v)),h.metadata.glyIdsUsed.push(s),h.metadata.toUnicode[s]=a.charCodeAt(v),-1==c.indexOf(s)&&(c.push(s),c.push([parseInt(h.metadata.widthOfGlyph(s),10)])),"0"==s)return g.join("");s=s.toString(16),g.push(u[4-s.length],s)}return g.join("")},r=function(a){var h,s,c,u,g,v,y;for(g="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n  /Registry (Adobe)\n  /Ordering (UCS)\n  /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",c=[],v=0,y=(s=Object.keys(a).sort(function(p,C){return p-C})).length;v<y;v++)h=s[v],c.length>=100&&(g+="\n"+c.length+" beginbfchar\n"+c.join("\n")+"\nendbfchar",c=[]),null!=a[h]&&"function"==typeof a[h].toString&&(u=("0000"+a[h].toString(16)).slice(-4),h=("0000"+(+h).toString(16)).slice(-4),c.push("<"+h+"><"+u+">"));return c.length&&(g+="\n"+c.length+" beginbfchar\n"+c.join("\n")+"\nendbfchar\n"),g+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};n.events.push(["putFont",function(a){!function(h){var s=h.font,c=h.out,u=h.newObject,g=h.putStream;if(s.metadata instanceof t.API.TTFFont&&"Identity-H"===s.encoding){for(var v=s.metadata.Unicode.widths,y=s.metadata.subset.encode(s.metadata.glyIdsUsed,1),p="",C=0;C<y.length;C++)p+=String.fromCharCode(y[C]);var k=u();g({data:p,addLength1:!0,objectId:k}),c("endobj");var I=u();g({data:r(s.metadata.toUnicode),addLength1:!0,objectId:I}),c("endobj");var L=u();c("<<"),c("/Type /FontDescriptor"),c("/FontName /"+to(s.fontName)),c("/FontFile2 "+k+" 0 R"),c("/FontBBox "+t.API.PDFObject.convert(s.metadata.bbox)),c("/Flags "+s.metadata.flags),c("/StemV "+s.metadata.stemV),c("/ItalicAngle "+s.metadata.italicAngle),c("/Ascent "+s.metadata.ascender),c("/Descent "+s.metadata.decender),c("/CapHeight "+s.metadata.capHeight),c(">>"),c("endobj");var q=u();c("<<"),c("/Type /Font"),c("/BaseFont /"+to(s.fontName)),c("/FontDescriptor "+L+" 0 R"),c("/W "+t.API.PDFObject.convert(v)),c("/CIDToGIDMap /Identity"),c("/DW 1000"),c("/Subtype /CIDFontType2"),c("/CIDSystemInfo"),c("<<"),c("/Supplement 0"),c("/Registry (Adobe)"),c("/Ordering ("+s.encoding+")"),c(">>"),c(">>"),c("endobj"),s.objectNumber=u(),c("<<"),c("/Type /Font"),c("/Subtype /Type0"),c("/ToUnicode "+I+" 0 R"),c("/BaseFont /"+to(s.fontName)),c("/Encoding /"+s.encoding),c("/DescendantFonts ["+q+" 0 R]"),c(">>"),c("endobj"),s.isAlreadyPutted=!0}}(a)}]),n.events.push(["putFont",function(a){!function(h){var s=h.font,c=h.out,u=h.newObject,g=h.putStream;if(s.metadata instanceof t.API.TTFFont&&"WinAnsiEncoding"===s.encoding){for(var v=s.metadata.rawData,y="",p=0;p<v.length;p++)y+=String.fromCharCode(v[p]);var C=u();g({data:y,addLength1:!0,objectId:C}),c("endobj");var k=u();g({data:r(s.metadata.toUnicode),addLength1:!0,objectId:k}),c("endobj");var I=u();c("<<"),c("/Descent "+s.metadata.decender),c("/CapHeight "+s.metadata.capHeight),c("/StemV "+s.metadata.stemV),c("/Type /FontDescriptor"),c("/FontFile2 "+C+" 0 R"),c("/Flags 96"),c("/FontBBox "+t.API.PDFObject.convert(s.metadata.bbox)),c("/FontName /"+to(s.fontName)),c("/ItalicAngle "+s.metadata.italicAngle),c("/Ascent "+s.metadata.ascender),c(">>"),c("endobj"),s.objectNumber=u();for(var L=0;L<s.metadata.hmtx.widths.length;L++)s.metadata.hmtx.widths[L]=parseInt(s.metadata.hmtx.widths[L]*(1e3/s.metadata.head.unitsPerEm));c("<</Subtype/TrueType/Type/Font/ToUnicode "+k+" 0 R/BaseFont/"+to(s.fontName)+"/FontDescriptor "+I+" 0 R/Encoding/"+s.encoding+" /FirstChar 29 /LastChar 255 /Widths "+t.API.PDFObject.convert(s.metadata.hmtx.widths)+">>"),c("endobj"),s.isAlreadyPutted=!0}}(a)}]);var i=function(a){var h,s=a.text||"",c=a.x,u=a.y,g=a.options||{},v=a.mutex||{},y=v.pdfEscape,p=v.activeFontKey,C=v.fonts,k=p,I="",L=0,q="",z=C[k].encoding;if("Identity-H"!==C[k].encoding)return{text:s,x:c,y:u,options:g,mutex:v};for(q=s,k=p,Array.isArray(s)&&(q=s[0]),L=0;L<q.length;L+=1)C[k].metadata.hasOwnProperty("cmap")&&(h=C[k].metadata.cmap.unicode.codeMap[q[L].charCodeAt(0)]),h||q[L].charCodeAt(0)<256&&C[k].metadata.hasOwnProperty("Unicode")?I+=q[L]:I+="";var D="";return parseInt(k.slice(1))<14||"WinAnsiEncoding"===z?D=y(I,k).split("").map(function(ct){return ct.charCodeAt(0).toString(16)}).join(""):"Identity-H"===z&&(D=e(I,C[k])),v.isHex=!0,{text:D,x:c,y:u,options:g,mutex:v}};n.events.push(["postProcessText",function(a){var h=a.text||"",s=[],c={text:h,x:a.x,y:a.y,options:a.options,mutex:a.mutex};if(Array.isArray(h)){var u=0;for(u=0;u<h.length;u+=1)Array.isArray(h[u])&&3===h[u].length?s.push([i(Object.assign({},c,{text:h[u][0]})).text,h[u][1],h[u][2]]):s.push(i(Object.assign({},c,{text:h[u]})).text);a.text=s}else a.text=i(Object.assign({},c,{text:h})).text}])}(re),function(t){var n=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};t.existsFileInVFS=function(e){return n.call(this),void 0!==this.internal.vFS[e]},t.addFileToVFS=function(e,r){return n.call(this),this.internal.vFS[e]=r,this},t.getFileFromVFS=function(e){return n.call(this),void 0!==this.internal.vFS[e]?this.internal.vFS[e]:null}}(re.API),function(t){t.__bidiEngine__=t.prototype.__bidiEngine__=function(r){var i,a,h,s,c,u,g,v=n,y=[[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]],C={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},k={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},I=["(",")","(","<",">","<","[","]","[","{","}","{","\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"],L=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)$/),q=!1,z=0;this.__bidiEngine__={};var D=function(N){var E=N.charCodeAt(),Z=E>>8,U=k[Z];return void 0!==U?v[256*U+(255&E)]:252===Z||253===Z?"AL":L.test(Z)?"L":8===Z?"R":"N"},ct=function(N){for(var E,Z=0;Z<N.length;Z++){if("L"===(E=D(N.charAt(Z))))return!1;if("R"===E)return!0}return!1},_t=function(N,E,Z,U){var ft,pt,vt,lt,wt=E[U];switch(wt){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":q=!1;break;case"N":case"AN":break;case"EN":q&&(wt="AN");break;case"AL":q=!0,wt="R";break;case"WS":case"BN":wt="N";break;case"CS":U<1||U+1>=E.length||"EN"!==(ft=Z[U-1])&&"AN"!==ft||"EN"!==(pt=E[U+1])&&"AN"!==pt?wt="N":q&&(pt="AN"),wt=pt===ft?pt:"N";break;case"ES":wt="EN"===(ft=U>0?Z[U-1]:"B")&&U+1<E.length&&"EN"===E[U+1]?"EN":"N";break;case"ET":if(U>0&&"EN"===Z[U-1]){wt="EN";break}if(q){wt="N";break}for(vt=U+1,lt=E.length;vt<lt&&"ET"===E[vt];)vt++;wt=vt<lt&&"EN"===E[vt]?"EN":"N";break;case"NSM":if(h&&!s){for(lt=E.length,vt=U+1;vt<lt&&"NSM"===E[vt];)vt++;if(vt<lt){var Ot=N[U];if(ft=E[vt],(Ot>=1425&&Ot<=2303||64286===Ot)&&("R"===ft||"AL"===ft)){wt="R";break}}}wt=U<1||"B"===(ft=E[U-1])?"N":Z[U-1];break;case"B":q=!1,i=!0,wt=z;break;case"S":a=!0,wt="N"}return wt},gt=function(N,E,Z){var U=N.split("");return Z&&Y(U,Z,{hiLevel:z}),U.reverse(),E&&E.reverse(),U.join("")},Y=function(N,E,Z){var U,ft,pt,vt,lt,wt=-1,Ot=N.length,kt=0,A=[],M=z?p:y,j=[];for(q=!1,i=!1,a=!1,ft=0;ft<Ot;ft++)j[ft]=D(N[ft]);for(pt=0;pt<Ot;pt++){if(lt=kt,A[pt]=_t(N,j,A,pt),U=240&(kt=M[lt][C[A[pt]]]),E[pt]=vt=M[kt&=15][5],U>0)if(16===U){for(ft=wt;ft<pt;ft++)E[ft]=1;wt=-1}else wt=-1;if(M[kt][6])-1===wt&&(wt=pt);else if(wt>-1){for(ft=wt;ft<pt;ft++)E[ft]=vt;wt=-1}"B"===j[pt]&&(E[pt]=0),Z.hiLevel|=vt}a&&function(G,J,at){for(var mt=0;mt<at;mt++)if("S"===G[mt]){J[mt]=z;for(var bt=mt-1;bt>=0&&"WS"===G[bt];bt--)J[bt]=z}}(j,E,Ot)},R=function(N,E,Z,U,ft){if(!(ft.hiLevel<N)){if(1===N&&1===z&&!i)return E.reverse(),void(Z&&Z.reverse());for(var pt,vt,lt,wt,Ot=E.length,kt=0;kt<Ot;){if(U[kt]>=N){for(lt=kt+1;lt<Ot&&U[lt]>=N;)lt++;for(wt=kt,vt=lt-1;wt<vt;wt++,vt--)pt=E[wt],E[wt]=E[vt],E[vt]=pt,Z&&(pt=Z[wt],Z[wt]=Z[vt],Z[vt]=pt);kt=lt}kt++}}},et=function(N,E,Z){var U=N.split(""),ft={hiLevel:z};return Z||(Z=[]),Y(U,Z,ft),function(pt,vt,lt){if(0!==lt.hiLevel&&g)for(var wt,Ot=0;Ot<pt.length;Ot++)1===vt[Ot]&&(wt=I.indexOf(pt[Ot]))>=0&&(pt[Ot]=I[wt+1])}(U,Z,ft),R(2,U,E,Z,ft),R(1,U,E,Z,ft),U.join("")};return this.__bidiEngine__.doBidiReorder=function(N,E,Z){if(function(ft,pt){if(pt)for(var vt=0;vt<ft.length;vt++)pt[vt]=vt;void 0===s&&(s=ct(ft)),void 0===u&&(u=ct(ft))}(N,E),h||!c||u)if(h&&c&&s^u)z=s?1:0,N=gt(N,E,Z);else if(!h&&c&&u)z=s?1:0,N=et(N,E,Z),N=gt(N,E);else if(!h||s||c||u){if(h&&!c&&s^u)N=gt(N,E),s?(z=0,N=et(N,E,Z)):(z=1,N=et(N,E,Z),N=gt(N,E));else if(h&&s&&!c&&u)z=1,N=et(N,E,Z),N=gt(N,E);else if(!h&&!c&&s^u){var U=g;s?(z=1,N=et(N,E,Z),z=0,g=!1,N=et(N,E,Z),g=U):(z=0,N=et(N,E,Z),N=gt(N,E),z=1,g=!1,N=et(N,E,Z),g=U,N=gt(N,E))}}else z=0,N=et(N,E,Z);else z=s?1:0,N=et(N,E,Z);return N},this.__bidiEngine__.setOptions=function(N){N&&(h=N.isInputVisual,c=N.isOutputVisual,s=N.isInputRtl,u=N.isOutputRtl,g=N.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var n=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],e=new t.__bidiEngine__({isInputVisual:!0});t.API.events.push(["postProcessText",function(r){var i=r.text,a=r.options||{},h=[];if(a.isInputVisual="boolean"!=typeof a.isInputVisual||a.isInputVisual,e.setOptions(a),"[object Array]"===Object.prototype.toString.call(i)){var s=0;for(h=[],s=0;s<i.length;s+=1)"[object Array]"===Object.prototype.toString.call(i[s])?h.push([e.doBidiReorder(i[s][0]),i[s][1],i[s][2]]):h.push([e.doBidiReorder(i[s])]);r.text=h}else r.text=e.doBidiReorder(i);e.setOptions({isInputVisual:!0})}])}(re),re.API.TTFFont=function(){function t(n){var e;if(this.rawData=n,e=this.contents=new $i(n),this.contents.pos=4,"ttcf"===e.readString(4))throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new cp(this),this.registerTTF()}return t.open=function(n){return new t(n)},t.prototype.parse=function(){return this.directory=new K5(this.contents),this.head=new X5(this),this.name=new rp(this),this.cmap=new h1(this),this.toUnicode={},this.hhea=new Q5(this),this.maxp=new ip(this),this.hmtx=new ap(this),this.post=new ep(this),this.os2=new tp(this),this.loca=new hp(this),this.glyf=new op(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 e,r,i,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var h,s,c,u;for(u=[],h=0,s=(c=this.bbox).length;h<s;h++)u.push(Math.round(c[h]*this.scaleFactor));return u}.call(this),this.stemV=0,this.post.exists?(r=255&(i=this.post.italic_angle),32768&(e=i>>16)&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(a=this.familyClass)||2===a||3===a||4===a||5===a||7===a,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(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(null!=(e=this.cmap.unicode)?e.codeMap[n]:void 0)||0},t.prototype.widthOfGlyph=function(n){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(n).advance*e},t.prototype.widthOfString=function(n,e,r){var i,a,h,s;for(h=0,a=0,s=(n=""+n).length;0<=s?a<s:a>s;a=0<=s?++a:--a)i=n.charCodeAt(a),h+=this.widthOfGlyph(this.characterToGlyph(i))+r*(1e3/e)||0;return h*(e/1e3)},t.prototype.lineHeight=function(n,e){return null==e&&(e=!1),(this.ascender+(e?this.lineGap:0)-this.decender)/1e3*n},t}();var Zr,$i=function(){function t(n){this.data=n??[],this.pos=0,this.length=this.data.length}return t.prototype.readByte=function(){return this.data[this.pos++]},t.prototype.writeByte=function(n){return this.data[this.pos++]=n},t.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},t.prototype.writeUInt32=function(n){return this.writeByte(n>>>24&255),this.writeByte(n>>16&255),this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt32=function(){var n;return(n=this.readUInt32())>=2147483648?n-4294967296:n},t.prototype.writeInt32=function(n){return n<0&&(n+=4294967296),this.writeUInt32(n)},t.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},t.prototype.writeUInt16=function(n){return this.writeByte(n>>8&255),this.writeByte(255&n)},t.prototype.readInt16=function(){var n;return(n=this.readUInt16())>=32768?n-65536:n},t.prototype.writeInt16=function(n){return n<0&&(n+=65536),this.writeUInt16(n)},t.prototype.readString=function(n){var e,r;for(r=[],e=0;0<=n?e<n:e>n;e=0<=n?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},t.prototype.writeString=function(n){var e,r,i;for(i=[],e=0,r=n.length;0<=r?e<r:e>r;e=0<=r?++e:--e)i.push(this.writeByte(n.charCodeAt(e)));return i},t.prototype.readShort=function(){return this.readInt16()},t.prototype.writeShort=function(n){return this.writeInt16(n)},t.prototype.readLongLong=function(){var n,e,r,i,a,h,s,c;return n=this.readByte(),e=this.readByte(),r=this.readByte(),i=this.readByte(),a=this.readByte(),h=this.readByte(),s=this.readByte(),c=this.readByte(),128&n?-1*(72057594037927940*(255^n)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^i)+16777216*(255^a)+65536*(255^h)+256*(255^s)+(255^c)+1):72057594037927940*n+281474976710656*e+1099511627776*r+4294967296*i+16777216*a+65536*h+256*s+c},t.prototype.writeLongLong=function(n){var e,r;return e=Math.floor(n/4294967296),r=4294967295&n,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},t.prototype.readInt=function(){return this.readInt32()},t.prototype.writeInt=function(n){return this.writeInt32(n)},t.prototype.read=function(n){var e,r;for(e=[],r=0;0<=n?r<n:r>n;r=0<=n?++r:--r)e.push(this.readByte());return e},t.prototype.write=function(n){var r,i,a;for(a=[],r=0,i=n.length;r<i;r++)a.push(this.writeByte(n[r]));return a},t}(),K5=function(){var t;function n(e){var r,i,a;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},i=0,a=this.tableCount;0<=a?i<a:i>a;i=0<=a?++i:--i)r={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[r.tag]=r}return n.prototype.encode=function(e){var r,i,h,s,c,u,g,v,y,p,C,k;for(k in p=Object.keys(e).length,c=Math.log(2),v=16*Math.floor(Math.log(p)/c),h=Math.floor(v/c),g=16*p-v,(i=new $i).writeInt(this.scalarType),i.writeShort(p),i.writeShort(v),i.writeShort(h),i.writeShort(g),u=i.pos+16*p,s=null,C=[],e)for(y=e[k],i.writeString(k),i.writeInt(t(y)),i.writeInt(u),i.writeInt(y.length),C=C.concat(y),"head"===k&&(s=u),u+=y.length;u%4;)C.push(0),u++;return i.write(C),r=2981146554-t(i.data),i.pos=s+8,i.writeUInt32(r),i.data},t=function(e){var r,i,a,h;for(e=c1.call(e);e.length%4;)e.push(0);for(a=new $i(e),i=0,r=0,h=e.length;r<h;r=r+=4)i+=a.readUInt32();return 4294967295&i},n}(),J5={}.hasOwnProperty,li=function(t,n){for(var e in n)J5.call(n,e)&&(t[e]=n[e]);function r(){this.constructor=t}return r.prototype=n.prototype,t.prototype=new r,t.__super__=n.prototype,t};Zr=function(){function t(n){var e;this.file=n,this.exists=!!(e=this.file.directory.tables[this.tag]),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 X5=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return li(t,Zr),t.prototype.tag="head",t.prototype.parse=function(n){return n.pos=this.offset,this.version=n.readInt(),this.revision=n.readInt(),this.checkSumAdjustment=n.readInt(),this.magicNumber=n.readInt(),this.flags=n.readShort(),this.unitsPerEm=n.readShort(),this.created=n.readLongLong(),this.modified=n.readLongLong(),this.xMin=n.readShort(),this.yMin=n.readShort(),this.xMax=n.readShort(),this.yMax=n.readShort(),this.macStyle=n.readShort(),this.lowestRecPPEM=n.readShort(),this.fontDirectionHint=n.readShort(),this.indexToLocFormat=n.readShort(),this.glyphDataFormat=n.readShort()},t.prototype.encode=function(n){var e;return(e=new $i).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(n),e.writeShort(this.glyphDataFormat),e.data},t}(),l1=function(){function t(n,e){var r,i,a,h,s,c,u,g,v,y,p,C,k,I,L,q,z;switch(this.platformID=n.readUInt16(),this.encodingID=n.readShort(),this.offset=e+n.readInt(),v=n.pos,n.pos=this.offset,this.format=n.readUInt16(),this.length=n.readUInt16(),this.language=n.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(c=0;c<256;++c)this.codeMap[c]=n.readByte();break;case 4:for(p=n.readUInt16(),y=p/2,n.pos+=6,a=function(){var D,ct;for(ct=[],c=D=0;0<=y?D<y:D>y;c=0<=y?++D:--D)ct.push(n.readUInt16());return ct}(),n.pos+=2,k=function(){var D,ct;for(ct=[],c=D=0;0<=y?D<y:D>y;c=0<=y?++D:--D)ct.push(n.readUInt16());return ct}(),u=function(){var D,ct;for(ct=[],c=D=0;0<=y?D<y:D>y;c=0<=y?++D:--D)ct.push(n.readUInt16());return ct}(),g=function(){var D,ct;for(ct=[],c=D=0;0<=y?D<y:D>y;c=0<=y?++D:--D)ct.push(n.readUInt16());return ct}(),i=(this.length-n.pos+this.offset)/2,s=function(){var D,ct;for(ct=[],c=D=0;0<=i?D<i:D>i;c=0<=i?++D:--D)ct.push(n.readUInt16());return ct}(),c=L=0,z=a.length;L<z;c=++L)for(I=a[c],r=q=C=k[c];C<=I?q<=I:q>=I;r=C<=I?++q:--q)0===g[c]?h=r+u[c]:0!==(h=s[g[c]/2+(r-C)-(y-c)]||0)&&(h+=u[c]),this.codeMap[r]=65535&h}n.pos=v}return t.encode=function(n,e){var r,i,a,h,s,c,u,g,v,y,p,C,k,I,L,q,z,ct,_t,gt,Y,R,et,N,E,Z,U,ft,pt,vt,lt,wt,Ot,kt,A,M,j,G,J,at,mt,bt,St,Ft,zt;switch(U=new $i,h=Object.keys(n).sort(function(jt,se){return jt-se}),e){case"macroman":for(k=0,I=function(){var jt=[];for(C=0;C<256;++C)jt.push(0);return jt}(),q={0:0},a={},ft=0,wt=h.length;ft<wt;ft++)null==q[bt=n[i=h[ft]]]&&(q[bt]=++k),a[i]={old:n[i],new:q[n[i]]},I[i]=q[n[i]];return U.writeUInt16(1),U.writeUInt16(0),U.writeUInt32(12),U.writeUInt16(0),U.writeUInt16(262),U.writeUInt16(0),U.write(I),{charMap:a,subtable:U.data,maxGlyphID:k+1};case"unicode":for(E=[],v=[],z=0,q={},r={},L=u=null,pt=0,Ot=h.length;pt<Ot;pt++)null==q[ct=n[i=h[pt]]]&&(q[ct]=++z),r[i]={old:ct,new:q[ct]},s=q[ct]-i,null!=L&&s===u||(L&&v.push(L),E.push(i),u=s),L=i;for(L&&v.push(L),v.push(65535),E.push(65535),et=2*(R=E.length),Y=2*Math.pow(Math.log(R)/Math.LN2,2),y=Math.log(Y/2)/Math.LN2,gt=2*R-Y,c=[],_t=[],p=[],C=vt=0,kt=E.length;vt<kt;C=++vt){if(g=v[C],65535===(N=E[C])){c.push(0),_t.push(0);break}if(N-(Z=r[N].new)>=32768)for(c.push(0),_t.push(2*(p.length+R-C)),i=lt=N;N<=g?lt<=g:lt>=g;i=N<=g?++lt:--lt)p.push(r[i].new);else c.push(Z-N),_t.push(0)}for(U.writeUInt16(3),U.writeUInt16(1),U.writeUInt32(12),U.writeUInt16(4),U.writeUInt16(16+8*R+2*p.length),U.writeUInt16(0),U.writeUInt16(et),U.writeUInt16(Y),U.writeUInt16(y),U.writeUInt16(gt),at=0,A=v.length;at<A;at++)U.writeUInt16(i=v[at]);for(U.writeUInt16(0),mt=0,M=E.length;mt<M;mt++)U.writeUInt16(i=E[mt]);for(St=0,j=c.length;St<j;St++)U.writeUInt16(s=c[St]);for(Ft=0,G=_t.length;Ft<G;Ft++)U.writeUInt16(_t[Ft]);for(zt=0,J=p.length;zt<J;zt++)U.writeUInt16(k=p[zt]);return{charMap:r,subtable:U.data,maxGlyphID:z+1}}},t}(),h1=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return li(t,Zr),t.prototype.tag="cmap",t.prototype.parse=function(n){var e,r,i;for(n.pos=this.offset,this.version=n.readUInt16(),i=n.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=i?r<i:r>i;r=0<=i?++r:--r)e=new l1(n,this.offset),this.tables.push(e),e.isUnicode&&null==this.unicode&&(this.unicode=e);return!0},t.encode=function(n,e){var r,i;return null==e&&(e="macroman"),r=l1.encode(n,e),(i=new $i).writeUInt16(0),i.writeUInt16(1),r.table=i.data.concat(r.subtable),r},t}(),Q5=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return li(t,Zr),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}(),tp=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return li(t,Zr),t.prototype.tag="OS/2",t.prototype.parse=function(n){if(n.pos=this.offset,this.version=n.readUInt16(),this.averageCharWidth=n.readShort(),this.weightClass=n.readUInt16(),this.widthClass=n.readUInt16(),this.type=n.readShort(),this.ySubscriptXSize=n.readShort(),this.ySubscriptYSize=n.readShort(),this.ySubscriptXOffset=n.readShort(),this.ySubscriptYOffset=n.readShort(),this.ySuperscriptXSize=n.readShort(),this.ySuperscriptYSize=n.readShort(),this.ySuperscriptXOffset=n.readShort(),this.ySuperscriptYOffset=n.readShort(),this.yStrikeoutSize=n.readShort(),this.yStrikeoutPosition=n.readShort(),this.familyClass=n.readShort(),this.panose=function(){var e,r;for(r=[],e=0;e<10;++e)r.push(n.readByte());return r}(),this.charRange=function(){var e,r;for(r=[],e=0;e<4;++e)r.push(n.readInt());return r}(),this.vendorID=n.readString(4),this.selection=n.readShort(),this.firstCharIndex=n.readShort(),this.lastCharIndex=n.readShort(),this.version>0&&(this.ascent=n.readShort(),this.descent=n.readShort(),this.lineGap=n.readShort(),this.winAscent=n.readShort(),this.winDescent=n.readShort(),this.codePageRange=function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(n.readInt());return r}(),this.version>1))return this.xHeight=n.readShort(),this.capHeight=n.readShort(),this.defaultChar=n.readShort(),this.breakChar=n.readShort(),this.maxContext=n.readShort()},t}(),ep=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return li(t,Zr),t.prototype.tag="post",t.prototype.parse=function(n){var e,r,i;switch(n.pos=this.offset,this.format=n.readInt(),this.italicAngle=n.readInt(),this.underlinePosition=n.readShort(),this.underlineThickness=n.readShort(),this.isFixedPitch=n.readInt(),this.minMemType42=n.readInt(),this.maxMemType42=n.readInt(),this.minMemType1=n.readInt(),this.maxMemType1=n.readInt(),this.format){case 65536:case 196608:break;case 131072:var a;for(r=n.readUInt16(),this.glyphNameIndex=[],a=0;0<=r?a<r:a>r;a=0<=r?++a:--a)this.glyphNameIndex.push(n.readUInt16());for(this.names=[],i=[];n.pos<this.offset+this.length;)e=n.readByte(),i.push(this.names.push(n.readString(e)));return i;case 151552:return r=n.readUInt16(),this.offsets=n.read(r);case 262144:return this.map=function(){var h,s,c;for(c=[],a=h=0,s=this.file.maxp.numGlyphs;0<=s?h<s:h>s;a=0<=s?++h:--h)c.push(n.readUInt32());return c}.call(this)}},t}(),np=function(t,n){this.raw=t,this.length=t.length,this.platformID=n.platformID,this.encodingID=n.encodingID,this.languageID=n.languageID},rp=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return li(t,Zr),t.prototype.tag="name",t.prototype.parse=function(n){var e,r,i,a,h,s,c,u,g,v,y;for(n.pos=this.offset,n.readShort(),e=n.readShort(),s=n.readShort(),r=[],a=0;0<=e?a<e:a>e;a=0<=e?++a:--a)r.push({platformID:n.readShort(),encodingID:n.readShort(),languageID:n.readShort(),nameID:n.readShort(),length:n.readShort(),offset:this.offset+s+n.readShort()});for(c={},a=g=0,v=r.length;g<v;a=++g)n.pos=(i=r[a]).offset,u=n.readString(i.length),h=new np(u,i),null==c[y=i.nameID]&&(c[y]=[]),c[i.nameID].push(h);this.strings=c,this.copyright=c[0],this.fontFamily=c[1],this.fontSubfamily=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}(),ip=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return li(t,Zr),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}(),ap=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return li(t,Zr),t.prototype.tag="hmtx",t.prototype.parse=function(n){var e,r,i,h,s,c;for(n.pos=this.offset,this.metrics=[],e=0,s=this.file.hhea.numberOfMetrics;0<=s?e<s:e>s;e=0<=s?++e:--e)this.metrics.push({advance:n.readUInt16(),lsb:n.readInt16()});for(i=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var u,g;for(g=[],e=u=0;0<=i?u<i:u>i;e=0<=i?++u:--u)g.push(n.readInt16());return g}(),this.widths=function(){var u,g,v,y;for(y=[],u=0,g=(v=this.metrics).length;u<g;u++)y.push(v[u].advance);return y}.call(this),r=this.widths[this.widths.length-1],c=[],e=h=0;0<=i?h<i:h>i;e=0<=i?++h:--h)c.push(this.widths.push(r));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}(),c1=[].slice,op=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return li(t,Zr),t.prototype.tag="glyf",t.prototype.parse=function(){return this.cache={}},t.prototype.glyphFor=function(n){var e,r,i,a,h,s,c,u,g,v;return n in this.cache?this.cache[n]:(e=this.file.contents,r=(a=this.file.loca).indexOf(n),0===(i=a.lengthOf(n))?this.cache[n]=null:(e.pos=this.offset+r,h=(s=new $i(e.read(i))).readShort(),u=s.readShort(),v=s.readShort(),c=s.readShort(),g=s.readShort(),this.cache[n]=-1===h?new lp(s,u,v,c,g):new sp(s,h,u,v,c,g),this.cache[n]))},t.prototype.encode=function(n,e,r){var i,a,h,s,c;for(h=[],a=[],s=0,c=e.length;s<c;s++)i=n[e[s]],a.push(h.length),i&&(h=h.concat(i.encode(r)));return a.push(h.length),{table:h,offsets:a}},t}(),sp=function(){function t(n,e,r,i,a,h){this.raw=n,this.numberOfContours=e,this.xMin=r,this.yMin=i,this.xMax=a,this.yMax=h,this.compound=!1}return t.prototype.encode=function(){return this.raw.data},t}(),lp=function(){function t(n,e,r,i,a){var h,s;for(this.raw=n,this.xMin=e,this.yMin=r,this.xMax=i,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],h=this.raw;s=h.readShort(),this.glyphOffsets.push(h.pos),this.glyphIDs.push(h.readUInt16()),32&s;)h.pos+=1&s?4:2,128&s?h.pos+=8:64&s?h.pos+=4:8&s&&(h.pos+=2)}return t.prototype.encode=function(){var n,e,r;for(e=new $i(c1.call(this.raw.data)),n=0,r=this.glyphIDs.length;n<r;++n)e.pos=this.glyphOffsets[n];return e.data},t}(),hp=function(){function t(){return t.__super__.constructor.apply(this,arguments)}return li(t,Zr),t.prototype.tag="loca",t.prototype.parse=function(n){var r;return n.pos=this.offset,this.offsets=0===this.file.head.indexToLocFormat?function(){var i,a;for(a=[],r=0,i=this.length;r<i;r+=2)a.push(2*n.readUInt16());return a}.call(this):function(){var i,a;for(a=[],r=0,i=this.length;r<i;r+=4)a.push(n.readUInt32());return a}.call(this)},t.prototype.indexOf=function(n){return this.offsets[n]},t.prototype.lengthOf=function(n){return this.offsets[n+1]-this.offsets[n]}
1,t.prototype.encode=function(n,e){for(var r=new Uint32Array(this.offsets.length),i=0,a=0,h=0;h<r.length;++h)if(r[h]=i,a<e.length&&e[a]==h){++a,r[h]=i;var c=this.offsets[h+1]-this.offsets[h];c>0&&(i+=c)}for(var u=new Array(4*r.length),g=0;g<r.length;++g)u[4*g+3]=255&r[g],u[4*g+2]=(65280&r[g])>>8,u[4*g+1]=(16711680&r[g])>>16,u[4*g]=(4278190080&r[g])>>24;return u},t}(),cp=function(){function t(n){this.font=n,this.subset={},this.unicodes={},this.next=33}return t.prototype.generateCmap=function(){var n,e,i,a;for(e in i=this.font.cmap.tables[0].codeMap,n={},a=this.subset)n[e]=i[a[e]];return n},t.prototype.glyphsFor=function(n){var e,r,i,a,h,s,c;for(i={},h=0,s=n.length;h<s;h++)i[a=n[h]]=this.font.glyf.glyphFor(a);for(a in e=[],i)null!=(r=i[a])&&r.compound&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(a in c=this.glyphsFor(e))i[a]=r=c[a];return i},t.prototype.encode=function(n,e){var r,i,a,h,c,u,g,v,y,p,C,k,I,L;for(i in r=h1.encode(this.generateCmap(),"unicode"),h=this.glyphsFor(n),p={0:0},L=r.charMap)p[(c=L[i]).old]=c.new;for(C in y=r.maxGlyphID,h)C in p||(p[C]=y++);return g=function(q){var z,D;for(z in D={},q)D[q[z]]=z;return D}(p),v=Object.keys(g).sort(function(q,z){return q-z}),k=function(){var q,z,D;for(D=[],q=0,z=v.length;q<z;q++)D.push(g[v[q]]);return D}(),a=this.font.glyf.encode(h,k,p),u=this.font.loca.encode(a.offsets,k),I={cmap:this.font.cmap.raw(),glyf:a.table,loca:u,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&&(I["OS/2"]=this.font.os2.raw()),this.font.directory.encode(I)},t}();re.API.PDFObject=function(){var t;function n(){}return t=function(e,r){return(Array(r+1).join("0")+e).slice(-r)},n.convert=function(e){var i,a;if(Array.isArray(e))return"["+function(){var s,c,u;for(u=[],s=0,c=e.length;s<c;s++)u.push(n.convert(e[s]));return u}().join(" ")+"]";if("string"==typeof e)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("[object Object]"==={}.toString.call(e)){for(i in a=["<<"],e)a.push("/"+i+" "+n.convert(e[i]));return a.push(">>"),a.join("\n")}return""+e},n}();var Bt=Q(22560);class u1 extends Error{constructor(n,e){super(`PDF block height (${n}) exceeds page content height (${e}).`),this.requiredHeight=n,this.contentHeight=e,this.name="PdfLayoutOverflowError"}}class up{constructor(n){this.doc=new re({orientation:n.orientation,unit:"mm",format:n.format}),this.fileName=n.fileName,this.margin=n.margin,this.pageWidth=this.doc.internal.pageSize.getWidth(),this.pageHeight=this.doc.internal.pageSize.getHeight(),this.contentWidth=this.pageWidth-2*this.margin,this.contentHeight=this.pageHeight-2*this.margin,this.cursorY=this.margin}getCursorY(){return this.cursorY}
1setCursorY(n){return this.cursorY=n,this}addVerticalSpace(n){return this.cursorY+=n,this}addPage(n=!0){return this.doc.addPage(),n&&(this.cursorY=this.margin),this}ensureSpace(n){return this.assertBlockFitsOnPage(n),this.cursorY+n>this.pageHeight-this.margin&&this.addPage(!0),this}drawImage(n){return this.doc.addImage(n.dataUrl,n.format??"PNG",n.x,n.y,n.width,n.height),this}measureWrappedTextHeight(n,e,r=10,i=5){return this.doc.setFontSize(r),this.doc.splitTextToSize(n,e).length*i}drawWrappedText(n){const r=n.lineHeight??5;this.doc.setFontSize(n.fontSize??10);const i=this.doc.splitTextToSize(n.text,n.maxWidth);return i.forEach((a,h)=>{const s=n.y+h*r;"left"!==(n.align??"left")?this.doc.text(a,n.x,s,{align:n.align??"left"}):this.doc.text(a,n.x,s)}),i}save(){this.doc.save(this.fileName)}assertBlockFitsOnPage(n){if(n>this.contentHeight)throw new u1(n,this.contentHeight)}}let fp=(()=>{class t{create(e){return new up({fileName:e.fileName,orientation:e.orientation??"portrait",format:e.format??"a4",margin:e.margin??12})}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Bt.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var dp=Q(20591),pp=Q(50635),gp=Q(53158),mp=Q(32313),f1=Q(35646),vp=Q(72957),bp=Q(91640);let wp=(()=>{class t{getMatrix(e,r={}){const i=f1.Ue(e,{errorCorrectionLevel:r.errorCorrectionLevel??"M"});return{size:i.modules.size,data:Array.from(i.modules.data).map(a=>Boolean(a))}}getMatrixSize(e,r={}){return this.getMatrix(e,r).size}generateDataUrl(e,r={}){return(0,vp.D)(f1.hz(e,{width:r.width??256,margin:r.margin??1,errorCorrectionLevel:r.errorCorrectionLevel??"M"}))}generateDataUrls(e,r={}){return(0,bp.D)(e.map(i=>this.generateDataUrl(i,r)))}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Bt.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();class yp{constructor(){this.labels=[],this.currentCommands=[]}startLabel(n){return this.currentCommands=["^XA",`^PW${n.width}`,`^LL${n.height}`,"^LH0,0",`^CI${n.internationalFontCode??28}`],this}addGraphic(n){return this.currentCommands.push(`^FO${n.x},${n.y}^GFA,${n.totalBytes},${n.totalBytes},${n.bytesPerRow},${n.data}`),this}addTextBlock(n){return this.currentCommands.push(`^FO${n.x},${n.y}^A0N,${n.fontHeight},${n.fontWidth}^FB${n.blockWidth},${n.maxLines},${n.lineSpacing},${n.alignment??"L"},0^FH_^FD${this.encodeText(n.text)}\\&^FS`),this}endLabel(){return this.currentCommands.push("^XZ"),this.labels.push(this.currentCommands.join("\n")),this.currentCommands=[],this}build(){return this.labels.join("\n")}download(n){const e=new Blob([this.build()],{type:"text/plain;charset=utf-8"}),r=window.URL.createObjectURL(e),i=document.createElement("a");i.href=r,i.download=n,i.click(),window.URL.revokeObjectURL(r)}encodeText(n){return n.normalize("NFKD").replace(/[\u0300-\u036f]/g,"").replace(/_/g,"_5F").replace(/\^/g,"_5E").replace(/~/g,"_7E").replace(/\n/g,"_0A")}}let _p=(()=>{class t{create(){return new yp}buildQrGraphic(e,r){const i=r.quietZoneModules??4,h=e.size+2*i,s=Math.max(r.minModuleScale??2,Math.floor(r.maxDots/h)),c=h*s,u=Math.ceil(c/8),g=u*c,v=[];for(let y=0;y<c;y++){let p=0,C=0,k="";for(let I=0;I<c;I++){const L=Math.floor(I/s)-i,q=Math.floor(y/s)-i;p=p<<1|(L>=0&&q>=0&&L<e.size&&q<e.size&&e.data[q*e.size+L]?1:0),C++,8===C&&(k+=p.toString(16).padStart(2,"0").toUpperCase(),p=0,C=0)}C>0&&(p<<=8-C,k+=p.toString(16).padStart(2,"0").toUpperCase()),v.push(k)}return{size:c,bytesPerRow:u,totalBytes:g,data:v.join("")}}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275prov=Bt.Yz7({token:t,factory:t.\u0275fac,providedIn:"root"}),t})();var xp=Q(10944),Ap=Q(47793),Lp=Q(49894),Np=Q(91711);function Sp(t,n){1&t&&(Bt.TgZ(0,"div",10)(1,"h3"),Bt._uU(2),Bt.ALo(3,"translate"),Bt.qZA(),Bt.TgZ(4,"p"),Bt._uU(5),Bt.ALo(6,"translate"),Bt.qZA()()),2&t&&(Bt.xp6(2),Bt.Oqu(Bt.lcZ(3,2,"TOOLBOX.emptyState.title")),Bt.xp6(3),Bt.Oqu(Bt.lcZ(6,4,"TOOLBOX.emptyState.subtitle")))}
1function kp(t,n){if(1&t&&(Bt.TgZ(0,"article",13),Bt._UZ(1,"img",14),Bt.TgZ(2,"div",15),Bt._UZ(3,"p",16),Bt.qZA()()),2&t){const e=n.$implicit,r=Bt.oxw(2);Bt.xp6(1),Bt.Q6J("src",e.imageDataUrl,Bt.LSH)("alt",e.qrValue),Bt.xp6(2),Bt.Q6J("innerText",r.getPreviewValue(e))}}function Pp(t,n){if(1&t&&(Bt.TgZ(0,"div",11),Bt.YNc(1,kp,4,3,"article",12),Bt.qZA()),2&t){const e=Bt.oxw();Bt.xp6(1),Bt.Q6J("ngForOf",e.generatedCodes)("ngForTrackBy",e.trackById)}}let Cp=(()=>{class t{constructor(e,r,i,a,h,s){this.fb=e,this.translateService=r,this.qrCodeService=i,this.pdfBuilderService=a,this.zplBuilderService=h,this.notificationService=s,this.qrCodeConfig={width:256,margin:1,errorCorrectionLevel:"M"},this.maxInformationLength=30,this.maxNotesLength=100,this.qrValueSectionLabels={id:"Id",information:"Information",notes:"Notes"},this.maxQrCodesCount=100,this.generatedCodes=[],this.isGenerating=!1,this.isDownloading=!1,this.formGroup=this.fb.group({count:[1,[X.kI.required,X.kI.min(1),X.kI.max(this.maxQrCodesCount),X.kI.pattern(/^[1-9]\d*$/)]],information:["",[X.kI.maxLength(this.maxInformationLength)]],notes:["",[X.kI.maxLength(this.maxNotesLength)]]}),this.countControl=this.formGroup.controls.count,this.informationControl=this.formGroup.controls.information,this.notesControl=this.formGroup.controls.notes}onGenerate(){if(this.formGroup.invalid)return this.formGroup.updateValueAndValidity(),void this.formGroup.markAllAsTouched();this.isGenerating=!0;const{count:e,information:r,notes:i}=this.formGroup.getRawValue(),a=r.trim(),h=i.trim(),s=Array.from({length:e},(u,g)=>this.buildQrCodeDraft(g,a,h)),c=s.map(u=>u.qrValue);this.qrCodeService.generateDataUrls(c,this.qrCodeConfig).pipe((0,pp.U)(u=>s.map((g,v)=>({...g,imageDataUrl:u[v]}))),(0,gp.K)(u=>(console.error("QR generation failed",u),this.notificationService.error(u,"TOOLBOX.errors.qrGenerationFailed"),dp.E)),(0,mp.x)(()=>{this.isGenerating=!1})).subscribe(u=>{this.generatedCodes=u})}downloadPdf(){if(this.generatedCodes.length&&!this.isDownloading){this.isDownloading=!0;try{const e=this.pdfBuilderService.create({fileName:"toolbox-qr-codes.pdf",margin:12});this.renderQrCodesPdf(e),e.save()}catch(e){if(e instanceof u1)return console.error("PDF generation failed",e),void this.notificationService.error(null,"TOOLBOX.errors.pdfGenerationFailed");throw e}finally{this.isDownloading=!1}}}downloadZebraZpl(){if(this.generatedCodes.length&&!this.isDownloading){this.isDownloading=!0;try{this.buildZebraZplDocument().download("toolbox-qr-codes-zebra-70x50.zpl")}finally{this.isDownloading=!1}}}trackById(e,r){return r.id}getPreviewValue(e){return this.buildPreviewValue(e.codeId,e.information)}buildQrCodeDraft(e,r,i){const a=`${Math.floor(1000001*Math.random())}`;return{id:`${Date.now()}-${e}-${a}`,codeId:a,information:r,notes:i,qrValue:this.buildQrValue(a,r,i)}}buildQrValue(e,r,i){return[`${this.qrValueSectionLabels.id}: ${e}`,`${this.qrValueSectionLabels.information}: ${r||"-"}`,`${this.qrValueSectionLabels.notes}: ${i||"-"}`].join("\n")}buildPreviewValue(e,r){const i=r||"-";return[`${this.translateService.instant("TOOLBOX.labels.id")}: ${e}`,`${this.translateService.instant("TOOLBOX.labels.information")}: ${i}`].join("\n")}renderQrCodesPdf(e){const v=(e.contentWidth-8)/2;for(let y=0;y<this.generatedCodes.length;y+=2){const p=this.generatedCodes.slice(y,y+2),C=Math.max(...p.map(k=>{const I=this.buildPreviewValue(k.codeId,k.information);return 65+e.measureWrappedTextHeight(I,v-12,10,5)+8}));e.ensureSpace(C),p.forEach((k,I)=>{const L=e.margin+I*(v+8),q=L+(v-55)/2,z=e.getCursorY()+6,D=z+55+4;e.drawImage({dataUrl:k.imageDataUrl,format:"PNG",x:q,y:z,width:55,height:55}),e.drawWrappedText({text:this.buildPreviewValue(k.codeId,k.information),maxWidth:v-12,x:L+v/2,y:D,align:"center",fontSize:10,lineHeight:5})}),e.addVerticalSpace(C)}}buildZebraZplDocument(){const e=this.zplBuilderService.create();return this.generatedCodes.forEach(r=>{this.buildZebraLabelZpl(e,r)}),e}buildZebraLabelZpl(e,r){const i=`${this.translateService.instant("TOOLBOX.labels.id")}: ${r.codeId}`,a=`${this.translateService.instant("TOOLBOX.labels.information")}: ${r.information||"-"}`,h=this.qrCodeService.getMatrix(r.qrValue,this.qrCodeConfig),s=this.zplBuilderService.buildQrGraphic(h,{maxDots:250,minModuleScale:2,quietZoneModules:4}),c=this.buildZebraLabelLayout(s.size);e.startLabel({width:560,height:400,internationalFontCode:28}).addGraphic({x:c.qrX,y:c.qrY,bytesPerRow:s.bytesPerRow,totalBytes:s.totalBytes,data:s.data}).addTextBlock({x:c.textBlockX,y:c.idY,blockWidth:c.textBlockWidth,fontHeight:20,fontWidth:20,maxLines:1,lineSpacing:6,alignment:"C",text:i}).addTextBlock({x:c.textBlockX,y:c.informationY,blockWidth:c.textBlockWidth,fontHeight:20,fontWidth:20,maxLines:3,lineSpacing:4,alignment:"C",text:a}).endLabel()}buildZebraLabelLayout(e){const a=Math.round(100),u=18+e+16;return{qrX:Math.round(a+180-e/2),qrY:18,qrSize:e,idY:u,informationY:u+30,textBlockX:a,textBlockWidth:360}}}return t.\u0275fac=function(e){return new(e||t)(Bt.Y36(X.j3),Bt.Y36(it.sK),Bt.Y36(wp),Bt.Y36(fp),Bt.Y36(_p),Bt.Y36(xp.gq))},t.\u0275cmp=Bt.Xpm({type:t,selectors:[["app-qr-generator-tab"]],decls:17,vars:22,consts:[[1,"row",3,"formGroup","ngSubmit"],[1,"col-12","col-md-4",3,"inputControl","labelTranslateKey","onlyPositives","max","allowDecimals"],[1,"col-12"],[1,"col-12","col-md-4",3,"inputControl","labelTranslateKey"],[1,"col-12","col-md-4",3,"inputControl","labelTranslateKey","rows"],[1,"col-12","toolbox-actions"],["type","submit",1,"btn","btn-raised","btn-primary",3,"disabled"],["type","button",1,"btn","btn-primary-outline",3,"disabled","click"],["class","toolbox-empty-state",4,"ngIf"],["class","toolbox-grid",4,"ngIf"],[1,"toolbox-empty-state"],[1,"toolbox-grid"],["class","toolbox-card",4,"ngFor","ngForOf","ngForTrackBy"],[1,"toolbox-card"],[1,"toolbox-card__image",3,"src","alt"],[1,"toolbox-card__details"],[1,"toolbox-card__value",3,"innerText"]],template:function(e,r){1&e&&(Bt.TgZ(0,"form",0),Bt.NdJ("ngSubmit",function(){return r.onGenerate()}),Bt._UZ(1,"app-input-number",1)(2,"div",2)(3,"app-input-text",3)(4,"div",2)(5,"app-input-textarea",4),Bt.TgZ(6,"div",5)(7,"button",6),Bt._uU(8),Bt.ALo(9,"translate"),Bt.qZA(),Bt.TgZ(10,"button",7),Bt.NdJ("click",function(){return r.downloadPdf()}),Bt._uU(11),Bt.ALo(12,"translate"),Bt.qZA(),Bt.TgZ(13,"button",7),Bt.NdJ("click",function(){return r.downloadZebraZpl()}),Bt._uU(14," ZPL Zebra 70mmx50mm "),Bt.qZA()()(),Bt.YNc(15,Sp,7,6,"div",8),Bt.YNc(16,Pp,2,2,"div",9)),2&e&&(Bt.Q6J("formGroup",r.formGroup),Bt.xp6(1),Bt.Q6J("inputControl",r.countControl)("labelTranslateKey","TOOLBOX.form.count")("onlyPositives",!0)("max",r.maxQrCodesCount)("allowDecimals",!1),Bt.xp6(2),Bt.Q6J("inputControl",r.informationControl)("labelTranslateKey","TOOLBOX.form.information"),Bt.xp6(2),Bt.Q6J("inputControl",r.notesControl)("labelTranslateKey","TOOLBOX.form.notes")("rows",5),Bt.xp6(2),Bt.Q6J("disabled",r.isGenerating),Bt.xp6(1),Bt.hij(" ",Bt.lcZ(9,18,"TOOLBOX.actions.generate")," "),Bt.xp6(2),Bt.Q6J("disabled",!r.generatedCodes.length||r.isDownloading),Bt.xp6(1),Bt.hij(" ",Bt.lcZ(12,20,"TOOLBOX.actions.downloadPdf")," "),Bt.xp6(2),Bt.Q6J("disabled",!r.generatedCodes.length||r.isDownloading),Bt.xp6(2),Bt.Q6J("ngIf",!r.generatedCodes.length),Bt.xp6(1),Bt.Q6J("ngIf",r.generatedCodes.length))},dependencies:[W.sg,W.O5,X._Y,X.JL,X.sg,Ap.l,Lp.m,Np.Q,it.X$],styles:[".toolbox-actions[_ngcontent-%COMP%]{display:flex;gap:.75rem;justify-content:flex-end;margin-top:.5rem}.toolbox-empty-state[_ngcontent-%COMP%]{margin-top:2rem;padding:2rem 1.5rem;text-align:center;border:1px dashed #c8d3df;border-radius:1rem;background:#f8fbfd}.toolbox-grid[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));grid-gap:1rem;gap:1rem;margin-top:2rem}.toolbox-card[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:1.25rem 1rem;border:1px solid #dde6ee;border-radius:1rem;background:#ffffff;box-shadow:0 8px 24px #18274b0f}.toolbox-card__image[_ngcontent-%COMP%]{width:180px;max-width:100%;height:auto}.toolbox-card__details[_ngcontent-%COMP%]{width:100%;margin-top:1rem}.toolbox-card__value[_ngcontent-%COMP%]{margin:0;text-align:center;word-break:break-word;font-weight:600;color:#35516f}.toolbox-card__value[_ngcontent-%COMP%] + .toolbox-card__value[_ngcontent-%COMP%]{margin-top:.5rem}@media (max-width: 576px){.toolbox-actions[_ngcontent-%COMP%]{flex-direction:column;align-items:stretch}}"],changeDetection:0}),t})();var Ip=Q(11176),Ep=Q(57163);const Tp=[{path:"",component:(()=>{class t{constructor(){this.tabs=[{titleTranslationKey:"TOOLBOX.tabs.qrGenerator",routingPath:"qr-generator"}]}}return t.\u0275fac=function(e){return new(e||t)},t.\u0275cmp=Bt.Xpm({type:t,selectors:[["app-toolbox"]],decls:2,vars:1,consts:[["headerTranslationKey","TOOLBOX.title"],["rout
1ingBasePath","toolbox",3,"pages"]],template:function(e,r){1&e&&Bt._UZ(0,"lib-title",0)(1,"lib-tabular-page",1),2&e&&(Bt.xp6(1),Bt.Q6J("pages",r.tabs))},dependencies:[Ip.r,Ep.o],encapsulation:2,changeDetection:0}),t})(),children:[{path:"qr-generator",component:Cp},{path:"",pathMatch:"full",redirectTo:"qr-generator"}]}];let Fp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Bt.oAB({type:t}),t.\u0275inj=Bt.cJS({imports:[dt.Bz.forChild(Tp),dt.Bz]}),t})(),Bp=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=Bt.oAB({type:t}),t.\u0275inj=Bt.cJS({imports:[W.ez,Fp,rt.x,it.aw,X.UX,$.T]}),t})()},57163:(Le,ot,Q)=>{"use strict";Q.d(ot,{o:()=>Mt});var W=Q(22560),X=Q(83539),$=Q(60116),rt=Q(94666),it=Q(18777),dt=Q(64344);const ut=["tabsContainer"];function xt(Wt,qt){if(1&Wt&&(W.TgZ(0,"li",8)(1,"a",9),W._uU(2),W.ALo(3,"translate"),W.qZA()()),2&Wt){const It=W.oxw().$implicit;W.s9C("id",It.routingPath),W.Q6J("ngbNavItem",It.routingPath)("disabled",It.disabled||!1),W.xp6(2),W.hij(" ",W.lcZ(3,4,It.titleTranslationKey)," ")}}function Dt(Wt,qt){if(1&Wt&&(W.ynx(0),W.YNc(1,xt,4,6,"li",7),W.BQk()),2&Wt){const It=qt.$implicit;W.xp6(1),W.Q6J("ngIf",void 0===It.hasAccess||It.hasAccess)}}let Mt=(()=>{class Wt{constructor(It,Xt){this.router=It,this.cdRef=Xt,this.activeIdChange=new W.vpe,this.visibleTabs=[],this._pages=[]}set pages(It){this._pages=It,this.visibleTabs=this.getAccessiblePages(),this.updateVisibleTabs()}get pages(){return this._pages}ngAfterViewInit(){this.updateActiveTab(),this.routerEventsSubscription=this.router.events.pipe((0,$.h)(It=>It instanceof X.m2)).subscribe(()=>{this.updateVisibleTabs()})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe()}ngOnChanges(It){It.routingBasePath&&this.updateVisibleTabs(),It.pages&&this.updateVisibleTabs()}navigate(It){if(null===It.nextId)return It.preventDefault();this.router.navigateByUrl(`${this.routingBasePath}/${It.nextId}`)}isFirstTabSelected(){const It=this.getAccessiblePages()[0];return!!It&&It.routingPath===this.getTabIdFromRouting()}onResize(){this.updateVisibleTabs()}updateActiveTab(){const It=this.getTabIdFromRouting();this.activeId=this.clearTabIdActions(It),this.activeIdChange.emit(this.activeId),this.cdRef.detectChanges()}updateVisibleTabs(){this.visibleTabs=this.getAccessiblePages(),this.updateActiveTab(),this.cdRef.detectChanges()}getTabIdFromRouting(){return this.router.url.replace(`/${this.routingBasePath}/`,"")}clearTabIdActions(It){return It.replace(/\/(edit|add)/,"")}getAccessiblePages(){return this._pages.filter(It=>void 0===It.hasAccess||It.hasAccess)}}return Wt.\u0275fac=function(It){return new(It||Wt)(W.Y36(X.F0),W.Y36(W.sBO))},Wt.\u0275cmp=W.Xpm({type:Wt,selectors:[["lib-tabular-page"]],viewQuery:function(It,Xt){if(1&It&&W.Gf(ut,7),2&It){let _e;W.iGM(_e=W.CRH())&&(Xt.tabsContainer=_e.first)}},hostBindings:function(It,Xt){1&It&&W.NdJ("resize",function(){return Xt.onResize()},!1,W.Jf7)},inputs:{routingBasePath:"routingBasePath",pages:"pages"},outputs:{activeIdChange:"activeIdChange"},features:[W.TTD],decls:8,vars:4,consts:[[1,"tabs-container"],["tabsContainer",""],["ngbNav","",1,"nav","nav-tabs","tabular-page__nav",3,"activeId","navChange"],[4,"ngFor","ngForOf"],[1,"card","mt-0"],[1,"card-content"],[1,"card-body"],[3,"ngbNavItem","disabled","id",4,"ngIf"],[3,"ngbNavItem","disabled","id"],["ngbNavLink","",1,"tabular-page__nav-link"]],template:function(It,Xt){1&It&&(W.TgZ(0,"div",0,1)(2,"ul",2),W.NdJ("navChange",function(_n){return Xt.navigate(_n)}),W.YNc(3,Dt,2,1,"ng-container",3),W.qZA()(),W.TgZ(4,"div",4)(5,"div",5)(6,"div",6),W._UZ(7,"router-outlet"),W.qZA()()()),2&It&&(W.xp6(2),W.Q6J("activeId",Xt.activeId),W.xp6(1),W.Q6J("ngForOf",Xt.visibleTabs),W.xp6(1),W.ekj("no-border-top-left-radius",Xt.isFirstTabSelected()))},dependencies:[rt.sg,rt.O5,X.lC,it.Pz,it.nv,it.Vx,dt.X$],styles:[".tab-dropdown[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;gap:6px}[_nghost-%COMP%]{display:block}[_nghost-%COMP%]     .tabs-container{overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;scrollbar-width:thin}[_nghost-%COMP%]     .tabular-page__nav{display:flex;flex-direction:row!important;justify-content:flex-start;align-items:flex-end;flex-wrap:nowrap;width:-moz-max-content;width:max-content;min-width:100%}[_nghost-%COMP%]     .tabular-page__nav>.nav-item{flex:0 0 auto}[_nghost-%COMP%]     .tabular-page__nav .nav-link, [_nghost-%COMP%]     .tabular-page__nav [ngbNavLink].nav-link, [_nghost-%COMP%]     .tabular-page__nav .tabular-page__nav-link{text-decoration:none!important;cursor:pointer}"]}),Wt})()},11176:(Le,ot,Q)=>{"use strict";Q.d(ot,{r:()=>dt});var W=Q(22560),X=Q(94666),$=Q(64344);function rt(ut,xt){if(1&ut&&(W.TgZ(0,"span"),W._uU(1),W.qZA()),2&ut){const Dt=W.oxw();W.xp6(1),W.hij(" - ",Dt.subtitle," ")}}const it=["*"];let dt=(()=>{class ut{}return ut.\u0275fac=function(Dt){return new(Dt||ut)},ut.\u0275cmp=W.Xpm({type:ut,selectors:[["lib-title"]],inputs:{headerTranslationKey:"headerTranslationKey",subtitle:"subtitle"},ngContentSelectors:it,decls:7,vars:4,consts:[[1,"btn-title-container"],[1,"page-title"],[4,"ngIf"],[1,"d-flex","align-items-center"]],template:function(Dt,Mt){1&Dt&&(W.F$t(),W.TgZ(0,"div",0)(1,"h2",1),W._uU(2),W.ALo(3,"translate"),W.YNc(4,rt,2,1,"span",2),W.qZA(),W.TgZ(5,"div",3),W.Hsn(6),W.qZA()()),2&Dt&&(W.xp6(2),W.hij(" ",W.lcZ(3,2,Mt.headerTranslationKey)," "),W.xp6(2),W.Q6J("ngIf",Mt.subtitle))},dependencies:[X.O5,$.X$],encapsulation:2}),ut})()},26348:Le=>{"use strict";var ot={single_source_shortest_paths:function(Q,W,X){var $={},rt={};rt[W]=0;var dt,ut,xt,Dt,Mt,qt,it=ot.PriorityQueue.make();for(it.push(W,0);!it.empty();)for(xt in Dt=(dt=it.pop()).cost,Mt=Q[ut=dt.value]||{})Mt.hasOwnProperty(xt)&&(qt=Dt+Mt[xt],(typeof rt[xt]>"u"||rt[xt]>qt)&&(rt[xt]=qt,it.push(xt,qt),$[xt]=ut));if(typeof X<"u"&&typeof rt[X]>"u"){var _e=["Could not find a path from ",W," to ",X,"."].join("");throw new Error(_e)}return $},extract_shortest_path_from_predecessor_list:function(Q,W){for(var X=[],$=W;$;)X.push($),$=Q[$];return X.reverse(),X},find_path:function(Q,W,X){var $=ot.single_source_shortest_paths(Q,W,X);return ot.extract_shortest_path_from_predecessor_list($,X)},PriorityQueue:{make:function(Q){var $,W=ot.PriorityQueue,X={};for($ in Q=Q||{},W)W.hasOwnProperty($)&&(X[$]=W[$]);return X.queue=[],X.sorter=Q.sorter||W.default_sorter,X},default_sorter:function(Q,W){return Q.cost-W.cost},push:function(Q,W){this.queue.push({value:Q,cost:W}),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};Le.exports=ot},35646:(Le,ot,Q)=>{const X=Q(25704),$=Q(99102),rt=Q(99326),it=Q(50226);
vendor: 5,583 bytes, line 1
1function dt(ut,xt,Dt,Mt,Wt){const qt=[].slice.call(arguments,1),It=qt.length,Xt="function"==typeof qt[It-1];if(!Xt&&!X())throw new Error("Callback required as last argument");if(!Xt){if(It<1)throw new Error("Too few arguments provided");return 1===It?(Dt=xt,xt=Mt=void 0):2===It&&!xt.getContext&&(Mt=Dt,Dt=xt,xt=void 0),new Promise(function(_e,_n){try{const xe=$.create(Dt,Mt);_e(ut(xe,xt,Mt))}catch(xe){_n(xe)}})}if(It<2)throw new Error("Too few arguments provided");2===It?(Wt=Dt,Dt=xt,xt=Mt=void 0):3===It&&(xt.getContext&&typeof Wt>"u"?(Wt=Mt,Mt=void 0):(Wt=Mt,Mt=Dt,Dt=xt,xt=void 0));try{const _e=$.create(Dt,Mt);Wt(null,ut(_e,xt,Mt))}catch(_e){Wt(_e)}}ot.Ue=$.create,dt.bind(null,rt.render),ot.hz=dt.bind(null,rt.renderToDataURL),dt.bind(null,function(ut,xt,Dt){return it.render(ut,Dt)})},25704:Le=>{Le.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},18298:(Le,ot,Q)=>{const W=Q(62230).getSymbolSize;ot.getRowColCoords=function($){if(1===$)return[];const rt=Math.floor($/7)+2,it=W($),dt=145===it?26:2*Math.ceil((it-13)/(2*rt-2)),ut=[it-7];for(let xt=1;xt<rt-1;xt++)ut[xt]=ut[xt-1]-dt;return ut.push(6),ut.reverse()},ot.getPositions=function($){const rt=[],it=ot.getRowColCoords($),dt=it.length;for(let ut=0;ut<dt;ut++)for(let xt=0;xt<dt;xt++)0===ut&&0===xt||0===ut&&xt===dt-1||ut===dt-1&&0===xt||rt.push([it[ut],it[xt]]);return rt}},69321:(Le,ot,Q)=>{const W=Q(84059),X=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function $(rt){this.mode=W.ALPHANUMERIC,this.data=rt}$.getBitsLength=function(it){return 11*Math.floor(it/2)+it%2*6},$.prototype.getLength=function(){return this.data.length},$.prototype.getBitsLength=function(){return $.getBitsLength(this.data.length)},$.prototype.write=function(it){let dt;for(dt=0;dt+2<=this.data.length;dt+=2){let ut=45*X.indexOf(this.data[dt]);ut+=X.indexOf(this.data[dt+1]),it.put(ut,11)}this.data.length%2&&it.put(X.indexOf(this.data[dt]),6)},Le.exports=$},34915:Le=>{function ot(){this.buffer=[],this.length=0}ot.prototype={get:function(Q){const W=Math.floor(Q/8);return 1==(this.buffer[W]>>>7-Q%8&1)},put:function(Q,W){for(let X=0;X<W;X++)this.putBit(1==(Q>>>W-X-1&1))},getLengthInBits:function(){return this.length},putBit:function(Q){const W=Math.floor(this.length/8);this.buffer.length<=W&&this.buffer.push(0),Q&&(this.buffer[W]|=128>>>this.length%8),this.length++}},Le.exports=ot},79088:Le=>{function ot(Q){if(!Q||Q<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=Q,this.data=new Uint8Array(Q*Q),this.reservedBit=new Uint8Array(Q*Q)}ot.prototype.set=function(Q,W,X,$){const rt=Q*this.size+W;this.data[rt]=X,$&&(this.reservedBit[rt]=!0)},ot.prototype.get=function(Q,W){return this.data[Q*this.size+W]},ot.prototype.xor=function(Q,W,X){this.data[Q*this.size+W]^=X},ot.prototype.isReserved=function(Q,W){return this.reservedBit[Q*this.size+W]},Le.exports=ot},16323:(Le,ot,Q)=>{const W=Q(84059);function X($){this.mode=W.BYTE,this.data="string"==typeof $?(new TextEncoder).encode($):new Uint8Array($)}X.getBitsLength=function(rt){return 8*rt},X.prototype.getLength=function(){return this.data.length},X.prototype.getBitsLength=function(){return X.getBitsLength(this.data.length)},X.prototype.write=function($){for(let rt=0,it=this.data.length;rt<it;rt++)$.put(this.data[rt],8)},Le.exports=X},91690:(Le,ot,Q)=>{const W=Q(65448),X=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],$=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];ot.getBlocksCount=function(it,dt){switch(dt){case W.L:return X[4*(it-1)+0];case W.M:return X[4*(it-1)+1];case W.Q:return X[4*(it-1)+2];case W.H:return X[4*(it-1)+3];default:return}},ot.getTotalCodewordsCount=function(it,dt){switch(dt){case W.L:return $[4*(it-1)+0];case W.M:return $[4*(it-1)+1];case W.Q:return $[4*(it-1)+2];case W.H:return $[4*(it-1)+3];default:return}}},65448:(Le,ot)=>{ot.L={bit:1},ot.M={bit:0},ot.Q={bit:3},ot.H={bit:2},ot.isValid=function(X){return X&&typeof X.bit<"u"&&X.bit>=0&&X.bit<4},ot.from=function(X,$){if(ot.isValid(X))return X;try{return function Q(W){if("string"!=typeof W)throw new Error("Param is not a string");switch(W.toLowerCase()){case"l":case"low":return ot.L;case"m":case"medium":return ot.M;case"q":case"quartile":return ot.Q;case"h":case"high":return ot.H;default:throw new Error("Unknown EC Level: "+W)}}(X)}catch{return $}}},62903:(Le,ot,Q)=>{const W=Q(62230).getSymbolSize;ot.getPositions=function(rt){const it=W(rt);return[[0,0],[it-7,0],[0,it-7]]}},26327:(Le,ot,Q)=>
1{const W=Q(62230),rt=W.getBCHDigit(1335);ot.getEncodedBits=function(dt,ut){const xt=dt.bit<<3|ut;let Dt=xt<<10;for(;W.getBCHDigit(Dt)-rt>=0;)Dt^=1335<<W.getBCHDigit(Dt)-rt;return 21522^(xt<<10|Dt)}},39240:(Le,ot)=>{const Q=new Uint8Array(512),W=new Uint8Array(256);(function(){let $=1;for(let rt=0;rt<255;rt++)Q[rt]=$,W[$]=rt,$<<=1,256&$&&($^=285);for(let rt=255;rt<512;rt++)Q[rt]=Q[rt-255]})(),ot.log=function($){if($<1)throw new Error("log("+$+")");return W[$]},ot.exp=function($){return Q[$]},ot.mul=function($,rt){return 0===$||0===rt?0:Q[W[$]+W[rt]]}},75134:(Le,ot,Q)=>{const W=Q(84059),X=Q(62230);function $(rt){this.mode=W.KANJI,this.data=rt}$.getBitsLength=function(it){return 13*it},$.prototype.getLength=function(){return this.data.length},$.prototype.getBitsLength=function(){return $.getBitsLength(this.data.length)},$.prototype.write=function(rt){let it;for(it=0;it<this.data.length;it++){let dt=X.toSJIS(this.data[it]);if(dt>=33088&&dt<=40956)dt-=33088;else{if(!(dt>=57408&&dt<=60351))throw new Error("Invalid SJIS character: "+this.data[it]+"\nMake sure your charset is UTF-8");dt-=49472}dt=192*(dt>>>8&255)+(255&dt),rt.put(dt,13)}}
vendor: 3,798 bytes, line 1
1,Le.exports=$},56485:(Le,ot)=>{ot.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};function W(X,$,rt){switch(X){case ot.Patterns.PATTERN000:return($+rt)%2==0;case ot.Patterns.PATTERN001:return $%2==0;case ot.Patterns.PATTERN010:return rt%3==0;case ot.Patterns.PATTERN011:return($+rt)%3==0;case ot.Patterns.PATTERN100:return(Math.floor($/2)+Math.floor(rt/3))%2==0;case ot.Patterns.PATTERN101:return $*rt%2+$*rt%3==0;case ot.Patterns.PATTERN110:return($*rt%2+$*rt%3)%2==0;case ot.Patterns.PATTERN111:return($*rt%3+($+rt)%2)%2==0;default:throw new Error("bad maskPattern:"+X)}}ot.isValid=function($){return null!=$&&""!==$&&!isNaN($)&&$>=0&&$<=7},ot.from=function($){return ot.isValid($)?parseInt($,10):void 0},ot.getPenaltyN1=function($){const rt=$.size;let it=0,dt=0,ut=0,xt=null,Dt=null;for(let Mt=0;Mt<rt;Mt++){dt=ut=0,xt=Dt=null;for(let Wt=0;Wt<rt;Wt++){let qt=$.get(Mt,Wt);qt===xt?dt++:(dt>=5&&(it+=dt-5+3),xt=qt,dt=1),qt=$.get(Wt,Mt),qt===Dt?ut++:(ut>=5&&(it+=ut-5+3),Dt=qt,ut=1)}dt>=5&&(it+=dt-5+3),ut>=5&&(it+=ut-5+3)}return it},ot.getPenaltyN2=function($){const rt=$.size;let it=0;for(let dt=0;dt<rt-1;dt++)for(let ut=0;ut<rt-1;ut++){const xt=$.get(dt,ut)+$.get(dt,ut+1)+$.get(dt+1,ut)+$.get(dt+1,ut+1);(4===xt||0===xt)&&it++}return 3*it},ot.getPenaltyN3=function($){const rt=$.size;let it=0,dt=0,ut=0;for(let xt=0;xt<rt;xt++){dt=ut=0;for(let Dt=0;Dt<rt;Dt++)dt=dt<<1&2047|$.get(xt,Dt),Dt>=10&&(1488===dt||93===dt)&&it++,ut=ut<<1&2047|$.get(Dt,xt),Dt>=10&&(1488===ut||93===ut)&&it++}return 40*it},ot.getPenaltyN4=function($){let rt=0;const it=$.data.length;for(let ut=0;ut<it;ut++)rt+=$.data[ut];return 10*Math.abs(Math.ceil(100*rt/it/5)-10)},ot.applyMask=function($,rt){const it=rt.size;for(let dt=0;dt<it;dt++)for(let ut=0;ut<it;ut++)rt.isReserved(ut,dt)||rt.xor(ut,dt,W($,ut,dt))},ot.getBestMask=function($,rt){const it=Object.keys(ot.Patterns).length;let dt=0,ut=1/0;for(let xt=0;xt<it;xt++){rt(xt),ot.applyMask(xt,$);const Dt=ot.getPenaltyN1($)+ot.getPenaltyN2($)+ot.getPenaltyN3($)+ot.getPenaltyN4($);ot.applyMask(xt,$),Dt<ut&&(ut=Dt,dt=xt)}return dt}},84059:(Le,ot,Q)=>{const W=Q(76859),X=Q(7526);ot.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},ot.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},ot.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},ot.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},ot.MIXED={bit:-1},ot.getCharCountIndicator=function(it,dt){if(!it.ccBits)throw new Error("Invalid mode: "+it);if(!W.isValid(dt))throw new Error("Invalid version: "+dt);return dt>=1&&dt<10?it.ccBits[0]:dt<27?it.ccBits[1]:it.ccBits[2]},ot.getBestModeForData=function(it){return X.testNumeric(it)?ot.NUMERIC:X.testAlphanumeric(it)?ot.ALPHANUMERIC:X.testKanji(it)?ot.KANJI:ot.BYTE},ot.toString=function(it){if(it&&it.id)return it.id;throw new Error("Invalid mode")},ot.isValid=function(it){return it&&it.bit&&it.ccBits},ot.from=function(it,dt){if(ot.isValid(it))return it;try{return function $(rt){if("string"!=typeof rt)throw new Error("Param is not a string");switch(rt.toLowerCase()){case"numeric":return ot.NUMERIC;case"alphanumeric":return ot.ALPHANUMERIC;case"kanji":return ot.KANJI;case"byte":return ot.BYTE;default:throw new Error("Unknown mode: "+rt)}}(it)}catch{return dt}}},79782:(Le,ot,Q)=>{const W=Q(84059);function X($){this.mode=W.NUMERIC,this.data=$.toString()}X.getBitsLength=function(rt){return 10*Math.floor(rt/3)+(rt%3?rt%3*3+1:0)},X.prototype.getLength=function(){return this.data.length},X.prototype.getBitsLength=function(){return X.getBitsLength(this.data.length)},X.prototype.write=function(rt){let it,dt,ut;for(it=0;it+3<=this.data.length;it+=3)dt=this.data.substr(it,3),ut=parseInt(dt,10),rt.put(ut,10);const xt=this.data.length-it;xt>0&&(dt=this.data.substr(it),ut=parseInt(dt,10),rt.put(ut,3*xt+1))}
1,Le.exports=X},91845:(Le,ot,Q)=>{const W=Q(39240);ot.mul=function($,rt){const it=new Uint8Array($.length+rt.length-1);for(let dt=0;dt<$.length;dt++)for(let ut=0;ut<rt.length;ut++)it[dt+ut]^=W.mul($[dt],rt[ut]);return it},ot.mod=function($,rt){let it=new Uint8Array($);for(;it.length-rt.length>=0;){const dt=it[0];for(let xt=0;xt<rt.length;xt++)it[xt]^=W.mul(rt[xt],dt);let ut=0;for(;ut<it.length&&0===it[ut];)ut++;it=it.slice(ut)}return it},ot.generateECPolynomial=function($){let rt=new Uint8Array([1]);for(let it=0;it<$;it++)rt=ot.mul(rt,new Uint8Array([1,W.exp(it)]));return rt}},99102:(Le,ot,Q)=>{const W=Q(62230),X=Q(65448),$=Q(34915),rt=Q(79088),it=Q(18298),dt=Q(62903),ut=Q(56485),xt=Q(91690),Dt=Q(23035),Mt=Q(18421),Wt=Q(26327),qt=Q(84059),It=Q(12149);function Be(Qt,Ht,ne){const Zt=Qt.size,ve=Wt.getEncodedBits(Ht,ne);let he,oe;for(he=0;he<15;he++)oe=1==(ve>>he&1),Qt.set(he<6?he:he<8?he+1:Zt-15+he,8,oe,!0),Qt.set(8,he<8?Zt-he-1:he<9?15-he-1+1:15-he-1,oe,!0);Qt.set(Zt-8,8,1,!0)}function Un(Qt,Ht,ne,Zt){let ve;if(Array.isArray(Qt))ve=It.fromArray(Qt);else{if("string"!=typeof Qt)throw new Error("Invalid data");{let zr=Ht;if(!zr){const Qr=It.rawSplit(Qt);zr=Mt.getBestVersionForData(Qr,ne)}ve=It.fromString(Qt,zr||40)}}const he=Mt.getBestVersionForData(ve,ne);if(!he)throw new Error("The amount of data is too big to be stored in a QR Code");if(Ht){if(Ht<he)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+he+".\n")}else Ht=he;const oe=function we(Qt,Ht,ne){const Zt=new $;ne.forEach(function(ke){Zt.put(ke.mode.bit,4),Zt.put(ke.getLength(),qt.getCharCountIndicator(ke.mode,Qt)),ke.write(Zt)});const oe=8*(W.getSymbolTotalCodewords(Qt)-xt.getTotalCodewordsCount(Qt,Ht));for(Zt.getLengthInBits()+4<=oe&&Zt.put(0,4);Zt.getLengthInBits()%8!=0;)Zt.putBit(0);const Ee=(oe-Zt.getLengthInBits())/8;for(let ke=0;ke<Ee;ke++)Zt.put(ke%2?17:236,8);return function xn(Qt,Ht,ne){const Zt=W.getSymbolTotalCodewords(Ht),he=Zt-xt.getTotalCodewordsCount(Ht,ne),oe=xt.getBlocksCount(Ht,ne),ke=oe-Zt%oe,zr=Math.floor(Zt/oe),Qr=Math.floor(he/oe),hr=Qr+1,ua=zr-Qr,fa=new Dt(ua);let Pr=0;const xo=new Array(oe),Ao=new Array(oe);let Re=0;const Ha=new Uint8Array(Qt.buffer);for(let ti=0;ti<oe;ti++){const ei=ti<ke?Qr:hr;xo[ti]=Ha.slice(Pr,Pr+ei),Ao[ti]=fa.encode(xo[ti]),Pr+=ei,Re=Math.max(Re,ei)}const cr=new Uint8Array(Zt);let ur,fr,bi=0;for(ur=0;ur<Re;ur++)for(fr=0;fr<oe;fr++)ur<xo[fr].length&&(cr[bi++]=xo[fr][ur]);for(ur=0;ur<ua;ur++)for(fr=0;fr<oe;fr++)cr[bi++]=Ao[fr][ur];return cr}(Zt,Qt,Ht)}(Ht,ne,ve),Ee=W.getSymbolSize(Ht),ke=new rt(Ee);return function Xt(Qt,Ht){const ne=Qt.size,Zt=dt.getPositions(Ht);for(let ve=0;ve<Zt.length;ve++){const he=Zt[ve][0],oe=Zt[ve][1];for(let Ee=-1;Ee<=7;Ee++)if(!(he+Ee<=-1||ne<=he+Ee))for(let ke=-1;ke<=7;ke++)oe+ke<=-1||ne<=oe+ke||Qt.set(he+Ee,oe+ke,Ee>=0&&Ee<=6&&(0===ke||6===ke)||ke>=0&&ke<=6&&(0===Ee||6===Ee)||Ee>=2&&Ee<=4&&ke>=2&&ke<=4,!0)}}(ke,Ht),function _e(Qt){const Ht=Qt.size;for(let ne=8;ne<Ht-8;ne++){const Zt=ne%2==0;Qt.set(ne,6,Zt,!0),Qt.set(6,ne,Zt,!0)}}(ke),function _n(Qt,Ht){const ne=it.getPositions(Ht);for(let Zt=0;Zt<ne.length;Zt++){const ve=ne[Zt][0],he=ne[Zt][1];for(let oe=-2;oe<=2;oe++)for(let Ee=-2;Ee<=2;Ee++)Qt.set(ve+oe,he+Ee,-2===oe||2===oe||-2===Ee||2===Ee||0===oe&&0===Ee,!0)}}(ke,Ht),Be(ke,ne,0),Ht>=7&&function xe(Qt,Ht){const ne=Qt.size,Zt=Mt.getEncodedBits(Ht);let ve,he,oe;for(let Ee=0;Ee<18;Ee++)ve=Math.floor(Ee/3),he=Ee%3+ne-8-3,oe=1==(Zt>>Ee&1),Qt.set(ve,he,oe,!0),Qt.set(he,ve,oe,!0)}(ke,Ht),function be(Qt,Ht){const ne=Qt.size;let Zt=-1,ve=ne-1,he=7,oe=0;for(let Ee=ne-1;Ee>0;Ee-=2)for(6===Ee&&Ee--;;){for(let ke=0;ke<2;ke++)if(!Qt.isReserved(ve,Ee-ke)){let zr=!1;oe<Ht.length&&(zr=1==(Ht[oe]>>>he&1)),Qt.set(ve,Ee-ke,zr),he--,-1===he&&(oe++,he=7)}if(ve+=Zt,ve<0||ne<=ve){ve-=Zt,Zt=-Zt;break}}}(ke,oe),isNaN(Zt)&&(Zt=ut.getBestMask(ke,Be.bind(null,ke,ne))),ut.applyMask(Zt,ke),Be(ke,ne,Zt),{modules:ke,version:Ht,errorCorrectionLevel:ne,maskPattern:Zt,segments:ve}}ot.create=function(Ht,ne){if(typeof Ht>"u"||""===Ht)throw new Error("No input text");let ve,he,Zt=X.M;return typeof ne<"u"&&(Zt=X.from(ne.errorCorrectionLevel,X.M),ve=Mt.from(ne.version),he=ut.from(ne.maskPattern),ne.toSJISFunc&&W.setToSJISFunction(ne.toSJISFunc)),Un(Ht,ve,Zt,he)}},23035:(Le,ot,Q)=>{const W=Q(91845);function X($){this.genPoly=void 0,this.degree=$,this.degree&&this.initialize(this.degree)}X.prototype.initialize=function(rt){this.degree=rt,this.genPoly=W.generateECPolynomial(this.degree)},X.prototype.encode=function(rt){if(!this.genPoly)throw new Error("Encoder not initialized");const it=new Uint8Array(rt.length+this.degree);it.set(rt);const dt=W.mod(it,this.genPoly),ut=this.degree-dt.length;if(ut>0){const xt=new Uint8Array(this.degree);return xt.set(dt,ut),xt}return dt},Le.exports=X},7526:(Le,ot)=>{const Q="[0-9]+";let X="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";X=X.replace(/u/g,"\\u");const $="(?:(?![A-Z0-9 $%*+\\-./:]|"+X+")(?:.|[\r\n]))+";ot.KANJI=new RegExp(X,"g"),ot.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),ot.BYTE=new RegExp($,"g"),ot.NUMERIC=new RegExp(Q,"g"),ot.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");
vendor: 4,143 bytes, line 1
1const rt=new RegExp("^"+X+"$"),it=new RegExp("^"+Q+"$"),dt=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");ot.testKanji=function(xt){return rt.test(xt)},ot.testNumeric=function(xt){return it.test(xt)},ot.testAlphanumeric=function(xt){return dt.test(xt)}},12149:(Le,ot,Q)=>{const W=Q(84059),X=Q(79782),$=Q(69321),rt=Q(16323),it=Q(75134),dt=Q(7526),ut=Q(62230),xt=Q(26348);function Dt(xe){return unescape(encodeURIComponent(xe)).length}function Mt(xe,Be,be){const we=[];let xn;for(;null!==(xn=xe.exec(be));)we.push({data:xn[0],index:xn.index,mode:Be,length:xn[0].length});return we}function Wt(xe){const Be=Mt(dt.NUMERIC,W.NUMERIC,xe),be=Mt(dt.ALPHANUMERIC,W.ALPHANUMERIC,xe);let we,xn;return ut.isKanjiModeEnabled()?(we=Mt(dt.BYTE,W.BYTE,xe),xn=Mt(dt.KANJI,W.KANJI,xe)):(we=Mt(dt.BYTE_KANJI,W.BYTE,xe),xn=[]),Be.concat(be,we,xn).sort(function(Qt,Ht){return Qt.index-Ht.index}).map(function(Qt){return{data:Qt.data,mode:Qt.mode,length:Qt.length}})}function qt(xe,Be){switch(Be){case W.NUMERIC:return X.getBitsLength(xe);case W.ALPHANUMERIC:return $.getBitsLength(xe);case W.KANJI:return it.getBitsLength(xe);case W.BYTE:return rt.getBitsLength(xe)}}function _n(xe,Be){let be;const we=W.getBestModeForData(xe);if(be=W.from(Be,we),be!==W.BYTE&&be.bit<we.bit)throw new Error('"'+xe+'" cannot be encoded with mode '+W.toString(be)+".\n Suggested mode is: "+W.toString(we));switch(be===W.KANJI&&!ut.isKanjiModeEnabled()&&(be=W.BYTE),be){case W.NUMERIC:return new X(xe);case W.ALPHANUMERIC:return new $(xe);case W.KANJI:return new it(xe);case W.BYTE:return new rt(xe)}}ot.fromArray=function(Be){return Be.reduce(function(be,we){return"string"==typeof we?be.push(_n(we,null)):we.data&&be.push(_n(we.data,we.mode)),be},[])},ot.fromString=function(Be,be){const xn=function Xt(xe){const Be=[];for(let be=0;be<xe.length;be++){const we=xe[be];switch(we.mode){case W.NUMERIC:Be.push([we,{data:we.data,mode:W.ALPHANUMERIC,length:we.length},{data:we.data,mode:W.BYTE,length:we.length}]);break;case W.ALPHANUMERIC:Be.push([we,{data:we.data,mode:W.BYTE,length:we.length}]);break;case W.KANJI:Be.push([we,{data:we.data,mode:W.BYTE,length:Dt(we.data)}]);break;case W.BYTE:Be.push([{data:we.data,mode:W.BYTE,length:Dt(we.data)}])}}return Be}(Wt(Be,ut.isKanjiModeEnabled())),Un=function _e(xe,Be){const be={},we={start:{}};let xn=["start"];for(let Un=0;Un<xe.length;Un++){const Qt=xe[Un],Ht=[];for(let ne=0;ne<Qt.length;ne++){const Zt=Qt[ne],ve=""+Un+ne;Ht.push(ve),be[ve]={node:Zt,lastCount:0},we[ve]={};for(let he=0;he<xn.length;he++){const oe=xn[he];be[oe]&&be[oe].node.mode===Zt.mode?(we[oe][ve]=qt(be[oe].lastCount+Zt.length,Zt.mode)-qt(be[oe].lastCount,Zt.mode),be[oe].lastCount+=Zt.length):(be[oe]&&(be[oe].lastCount=Zt.length),we[oe][ve]=qt(Zt.length,Zt.mode)+4+W.getCharCountIndicator(Zt.mode,Be))}}xn=Ht}for(let Un=0;Un<xn.length;Un++)we[xn[Un]].end=0;return{map:we,table:be}}(xn,be),Qt=xt.find_path(Un.map,"start","end"),Ht=[];for(let ne=1;ne<Qt.length-1;ne++)Ht.push(Un.table[Qt[ne]].node);return ot.fromArray(function It(xe){return xe.reduce(function(Be,be){const we=Be.length-1>=0?Be[Be.length-1]:null;return we&&we.mode===be.mode?(Be[Be.length-1].data+=be.data,Be):(Be.push(be),Be)},[])}(Ht))},ot.rawSplit=function(Be){return ot.fromArray(Wt(Be,ut.isKanjiModeEnabled()))}},62230:(Le,ot)=>{let Q;const W=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];ot.getSymbolSize=function($){if(!$)throw new Error('"version" cannot be null or undefined');if($<1||$>40)throw new Error('"version" should be in range from 1 to 40');return 4*$+17},ot.getSymbolTotalCodewords=function($){return W[$]},ot.getBCHDigit=function(X){let $=0;for(;0!==X;)$++,X>>>=1;return $},ot.setToSJISFunction=function($){if("function"!=typeof $)throw new Error('"toSJISFunc" is not a valid function.');Q=$},ot.isKanjiModeEnabled=function(){return typeof Q<"u"},ot.toSJIS=function($){return Q($)}},76859:(Le,ot)=>{ot.isValid=function(W){return!isNaN(W)&&W>=1&&W<=40}},18421:(Le,ot,Q)=>{const W=Q(62230),X=Q(91690),$=Q(65448),rt=Q(84059),it=Q(76859),ut=W.getBCHDigit
1(7973);function Dt(qt,It){return rt.getCharCountIndicator(qt,It)+4}function Mt(qt,It){let Xt=0;return qt.forEach(function(_e){Xt+=Dt(_e.mode,It)+_e.getBitsLength()}),Xt}ot.from=function(It,Xt){return it.isValid(It)?parseInt(It,10):Xt},ot.getCapacity=function(It,Xt,_e){if(!it.isValid(It))throw new Error("Invalid QR Code version");typeof _e>"u"&&(_e=rt.BYTE);const Be=8*(W.getSymbolTotalCodewords(It)-X.getTotalCodewordsCount(It,Xt));if(_e===rt.MIXED)return Be;const be=Be-Dt(_e,It);switch(_e){case rt.NUMERIC:return Math.floor(be/10*3);case rt.ALPHANUMERIC:return Math.floor(be/11*2);case rt.KANJI:return Math.floor(be/13);default:return Math.floor(be/8)}},ot.getBestVersionForData=function(It,Xt){let _e;const _n=$.from(Xt,$.M);if(Array.isArray(It)){if(It.length>1)return function Wt(qt,It){for(let Xt=1;Xt<=40;Xt++)if(Mt(qt,Xt)<=ot.getCapacity(Xt,It,rt.MIXED))return Xt}(It,_n);if(0===It.length)return 1;_e=It[0]}else _e=It;return function xt(qt,It,Xt){for(let _e=1;_e<=40;_e++)if(It<=ot.getCapacity(_e,Xt,qt))return _e}(_e.mode,_e.getLength(),_n)},ot.getEncodedBits=function(It){if(!it.isValid(It)||It<7)throw new Error("Invalid QR Code version");let Xt=It<<12;for(;W.getBCHDigit(Xt)-ut>=0;)Xt^=7973<<W.getBCHDigit(Xt)-ut;return It<<12|Xt}},99326:(Le,ot,Q)=>{const W=Q(83239);ot.render=function(it,dt,ut){let xt=ut,Dt=dt;typeof xt>"u"&&(!dt||!dt.getContext)&&(xt=dt,dt=void 0),dt||(Dt=function $(){try{return document.createElement("canvas")}catch{throw new Error("You need to specify a canvas element")}}()),xt=W.getOptions(xt);const Mt=W.getImageWidth(it.modules.size,xt),Wt=Dt.getContext("2d"),qt=Wt.createImageData(Mt,Mt);return W.qrToImageData(qt.data,it,xt),function X(rt,it,dt){rt.clearRect(0,0,it.width,it.height),it.style||(it.style={}),it.height=dt,it.width=dt,it.style.height=dt+"px",it.style.width=dt+"px"}(Wt,Dt,Mt),Wt.putImageData(qt,0,0),Dt},ot.renderToDataURL=function(it,dt,ut){let xt=ut;return typeof xt>"u"&&(!dt||!dt.getContext)&&(xt=dt,dt=void 0),xt||(xt={}),ot.render(it,dt,xt).toDataURL(xt.type||"image/png",(xt.rendererOpts||{}).quality)}},50226:(Le,ot,Q)=>{const W=Q(83239);function X(it,dt){const ut=it.a/255,xt=dt+'="'+it.hex+'"';return ut<1?xt+" "+dt+'-opacity="'+ut.toFixed(2).slice(1)+'"':xt}function $(it,dt,ut){let xt=it+dt;return typeof ut<"u"&&(xt+=" "+ut),xt}ot.render=function(dt,ut,xt){const Dt=W.getOptions(ut),Mt=dt.modules.size,Wt=dt.modules.data,qt=Mt+2*Dt.margin,It=Dt.color.light.a?"<path "+X(Dt.color.light,"fill")+' d="M0 0h'+qt+"v"+qt+'H0z"/>':"",Xt="<path "+X(Dt.color.dark,"stroke")+' d="'+function rt(it,dt,ut){let xt="",Dt=0,Mt=!1,Wt=0;for(let qt=0;qt<it.length;qt++){const It=Math.floor(qt%dt),Xt=Math.floor(qt/dt);!It&&!Mt&&(Mt=!0),it[qt]?(Wt++,qt>0&&It>0&&it[qt-1]||(xt+=Mt?$("M",It+ut,.5+Xt+ut):$("m",Dt,0),Dt=0,Mt=!1),It+1<dt&&it[qt+1]||(xt+=$("h",Wt),Wt=0)):Dt++}return xt}(Wt,Mt,Dt.margin)+'"/>',xe='<svg xmlns="http://www.w3.org/2000/svg" '+(Dt.width?'width="'+Dt.width+'" height="'+Dt.width+'" ':"")+'viewBox="0 0 '+qt+" "+qt+'" shape-rendering="crispEdges">'+It+Xt+"</svg>\n";return"function"==typeof xt&&xt(null,xe),xe}},83239:(Le,ot)=>{function Q(W){if("number"==typeof W&&(W=W.toString()),"string"!=typeof W)throw new Error("Color should be defined as hex string");let X=W.slice().replace("#","").split("");if(X.length<3||5===X.length||X.length>8)throw new Error("Invalid hex color: "+W);(3===X.length||4===X.length)&&(X=Array.prototype.concat.apply([],X.map(function(rt){return[rt,rt]}))),6===X.length&&X.push("F","F");const $=parseInt(X.join(""),16);return{r:$>>24&255,g:$>>16&255,b:$>>8&255,a:255&$,hex:"#"+X.slice(0,6).join("")}}ot.getOptions=function(X){X||(X={}),X.color||(X.color={});const rt=X.width&&X.width>=21?X.width:void 0;return{width:rt,scale:rt?4:X.scale||4,margin:typeof X.margin>"u"||null===X.margin||X.margin<0?4:X.margin,color:{dark:Q(X.color.dark||"#000000ff"),light:Q(X.color.light||"#ffffffff")},type:X.type,rendererOpts:X.rendererOpts||{}}},ot.getScale=function(X,$){return $.width&&$.width>=X+2*$.margin?$.width/(X+2*$.margin):$.scale},ot.getImageWidth=function(X,$){const rt=ot.getScale(X,$);return Math.floor((X+2*$.margin)*rt)},ot.qrToImageData=function(X,$,rt){const it=$.modules.size,dt=$.modules.data,ut=ot.getScale(it,rt),xt=Math.floor((it+2*rt.margin)*ut),Dt=rt.margin*ut,Mt=[rt.color.light,rt.color.dark];for(let Wt=0;Wt<xt;Wt++)for(let qt=0;qt<xt;qt++){let It=4*(Wt*xt+qt),Xt=rt.color.light;Wt>=Dt&&qt>=Dt&&Wt<xt-Dt&&qt<xt-Dt&&(Xt=Mt[dt[Math.floor((Wt-Dt)/ut)*it+Math.floor((qt-Dt)/ut)]?1:0]),X[It++]=Xt.r,X[It++]=Xt.g,X[It++]=Xt.b,X[It]=Xt.a}}}}]);
2//# sourceMappingURL=projects_farm-portal_src_app_modules_toolbox_toolbox_module_ts.05b7a9b804165d82.js.map

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.