PageSourceSearch

https://energyexpo.ro/app/assets/mapPdfExport-Cr9Q8v-q.js

js energyexpo.ro collected 2026-10-08 22:38:18 UTC 469,619 bytes, 196 lines download raw bytes

vendor: 5,413 bytes, lines 1-2
1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.es-6Hnj75Ay.js","assets/index-D9XLjKlN.js","assets/index-zJo9VcIK.css","assets/ExhibitorMapPage-C19hq5i0.js","assets/ExhibitorMapPage-Bb9zVhLo.css"])))=>i.map(i=>d[i]);
2import{_ as $o,Y as lc,r as Uf,t as zf}from"./index-D9XLjKlN.js";import{M as Ss,S as jo,a as Hf,b as Wf,c as Vf,f as zl,n as Hl,L as Gf,A as $f,m as Yf,p as Jf}from"./ExhibitorMapPage-C19hq5i0.js";function Kt(n){"@babel/helpers - typeof";return Kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Kt(n)}var pi=Uint8Array,Ur=Uint16Array,nl=Int32Array,rl=new pi([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]),il=new pi([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]),Wl=new pi([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),uc=function(n,e){for(var t=new Ur(31),r=0;r<31;++r)t[r]=e+=1<<n[r-1];for(var a=new nl(t[30]),r=1;r<30;++r)for(var o=t[r];o<t[r+1];++o)a[o]=o-t[r]<<5|r;return{b:t,r:a}},cc=uc(rl,2),Xf=cc.b,Vs=cc.r;Xf[28]=258,Vs[258]=28;var Kf=uc(il,0),Vl=Kf.r,Gs=new Ur(32768);for(var dn=0;dn<32768;++dn){var ha=(dn&43690)>>1|(dn&21845)<<1;ha=(ha&52428)>>2|(ha&13107)<<2,ha=(ha&61680)>>4|(ha&3855)<<4,Gs[dn]=((ha&65280)>>8|(ha&255)<<8)>>1}var mo=(function(n,e,t){for(var r=n.length,a=0,o=new Ur(e);a<r;++a)n[a]&&++o[n[a]-1];var d=new Ur(e);for(a=1;a<e;++a)d[a]=d[a-1]+o[a-1]<<1;var l;if(t){l=new Ur(1<<e);var c=15-e;for(a=0;a<r;++a)if(n[a])for(var f=a<<4|n[a],w=e-n[a],A=d[n[a]-1]++<<w,F=A|(1<<w)-1;A<=F;++A)l[Gs[A]>>c]=f}else for(l=new Ur(r),a=0;a<r;++a)n[a]&&(l[a]=Gs[d[n[a]-1]++]>>15-n[a]);return l}),Pa=new pi(288);for(var dn=0;dn<144;++dn)Pa[dn]=8;for(var dn=144;dn<256;++dn)Pa[dn]=9;for(var dn=256;dn<280;++dn)Pa[dn]=7;for(var dn=280;dn<288;++dn)Pa[dn]=8;var es=new pi(32);for(var dn=0;dn<32;++dn)es[dn]=5;var Zf=mo(Pa,9,0),Qf=mo(es,5,0),fc=function(n){return(n+7)/8|0},eh=function(n,e,t){return(t==null||t>n.length)&&(t=n.length),new pi(n.subarray(e,t))},Wi=function(n,e,t){t<<=e&7;var r=e/8|0;n[r]|=t,n[r+1]|=t>>8},po=function(n,e,t){t<<=e&7;var r=e/8|0;n[r]|=t,n[r+1]|=t>>8,n[r+2]|=t>>16},As=function(n,e){for(var t=[],r=0;r<n.length;++r)n[r]&&t.push({s:r,f:n[r]});var a=t.length,o=t.slice();if(!a)return{t:dc,l:0};if(a==1){var d=new pi(t[0].s+1);return d[t[0].s]=1,{t:d,l:1}}t.sort(function(be,ke){return be.f-ke.f}),t.push({s:-1,f:25001});var l=t[0],c=t[1],f=0,w=1,A=2;for(t[0]={s:-1,f:l.f+c.f,l,r:c};w!=a-1;)l=t[t[f].f<t[A].f?f++:A++],c=t[f!=w&&t[f].f<t[A].f?f++:A++],t[w++]={s:-1,f:l.f+c.f,l,r:c};for(var F=o[0].s,r=1;r<a;++r)o[r].s>F&&(F=o[r].s);var m=new Ur(F+1),B=$s(t[w-1],m,0);if(B>e){var r=0,D=0,W=B-e,E=1<<W;for(o.sort(function(ke,we){return m[we.s]-m[ke.s]||ke.f-we.f});r<a;++r){var Z=o[r].s;if(m[Z]>e)D+=E-(1<<B-m[Z]),m[Z]=e;else break}for(D>>=W;D>0;){var ee=o[r].s;m[ee]<e?D-=1<<e-m[ee]++-1:++r}for(;r>=0&&D;--r){var Y=o[r].s;m[Y]==e&&(--m[Y],++D)}B=e}return{t:new pi(m),l:B}},$s=function(n,e,t){return n.s==-1?Math.max($s(n.l,e,t+1),$s(n.r,e,t+1)):e[n.s]=t},Gl=function(n){for(var e=n.length;e&&!n[--e];);for(var t=new Ur(++e),r=0,a=n[0],o=1,d=function(c){t[r++]=c},l=1;l<=e;++l)if(n[l]==a&&l!=e)++o;else{if(!a&&o>2){for(;o>138;o-=138)d(32754);o>2&&(d(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(d(a),--o;o>6;o-=6)d(8304);o>2&&(d(o-3<<5|8208),o=0)}for(;o--;)d(a);o=1,a=n[l]}return{c:t.subarray(0,r),n:e}},go=function(n,e){for(var t=0,r=0;r<e.length;++r)t+=n[r]*e[r];return t},hc=function(n,e,t){var r=t.length,a=fc(e+2);n[a]=r&255,n[a+1]=r>>8,n[a+2]=n[a]^255,n[a+3]=n[a+1]^255;for(var o=0;o<r;++o)n[a+o+4]=t[o];return(a+4+r)*8},$l=function(n,e,t,r,a,o,d,l,c,f,w){Wi(e,w++,t),++a[256];for(var A=As(a,15),F=A.t,m=A.l,B=As(o,15),D=B.t,W=B.l,E=Gl(F),Z=E.c,ee=E.n,Y=Gl(D),be=Y.c,ke=Y.n,we=new Ur(19),ie=0;ie<Z.length;++ie)++we[Z[ie]&31];for(var ie=0;ie<be.length;++ie)++we[be[ie]&31];for(var V=As(we,7),se=V.t,I=V.l,R=19;R>4&&!se[Wl[R-1]];--R);var X=f+5<<3,$=go(a,Pa)+go(o,es)+d,me=go(a,F)+go(o,D)+d+14+3*R+go(we,se)+2*we[16]+3*we[17]+7*we[18];if(c>=0&&X<=$&&X<=me)return hc(e,w,n.subarray(c,c+f));var Se,_e,fe,xe;if(Wi(e,w,1+(me<$)),w+=2,me<$){Se=mo(F,m,0),_e=F,fe=mo(D,W,0),xe=D;var De=mo(se,I,0);Wi(e,w,ee-257),Wi(e,w+5,ke-1),Wi(e,w+10,R-4),w+=14;for(var ie=0;ie<R;++ie)Wi(e,w+3*ie,se[Wl[ie]]);w+=3*R;for(var Fe=[Z,be],N=0;N<2;++N)for(var H=Fe[N],ie=0;ie<H.length;++ie){var G=H[ie]&31;Wi(e,w,De[G]),w+=se[G],G>15&&(Wi(e,w,H[ie]>>5&127),w+=H[ie]>>12)}}else Se=Zf,_e=Pa,fe=Qf,xe=es;for(var ie=0;ie<l;++ie){var K=r[ie];if(K>255){var G=K>>18&31;po(e,w,Se[G+257]),w+=_e[G+257],G>7&&(Wi(e,w,K>>23&31),w+=rl[G]);var te=K&31;po(e,w,fe[te]),w+=xe[te],te>3&&(po(e,w,K>>5&8191),w+=il[te])}else po(e,w,Se[K]),w+=_e[K]}return po(e,w,Se[256]),w+_e[256]},th=new nl([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),dc=new pi(0),nh=function(n,e,t,r,a,o){var d=o.z||n.length,l=new pi(r+d+5*(1+Math.ceil(d/7e3))+a),c=l.subarray(r,l.length-a),f=o.l,w=(o.r||0)&7;if(e){w&&(c[0]=o.r>>3);for(var A=th[e-1],F=A>>13,m=A&8191,B=(1<<t)-1,D=o.p||new Ur(32768),W=o.h||new Ur(B+1),E=Math.ceil(t/3),Z=2*E,ee=function(We){return(n[We]^n[We+1]<<E^n[We+2]<<Z)&B},Y=new nl(25e3),be=new Ur(288),ke=new Ur(32),we=0,ie=0,V=o.i||0,se=0,I=o.w||0,R=0;V+2<d;++V){var X=ee(V),$=V&32767,me=W[X];if(D[$]=me,W[X]=$,I<=V){var Se=d-V;if((we>7e3||se>24576)&&(Se>
vendor: 9,125 bytes, lines 2-3
2423||!f)){w=$l(n,c,0,Y,be,ke,ie,se,R,V-R,w),se=we=ie=0,R=V;for(var _e=0;_e<286;++_e)be[_e]=0;for(var _e=0;_e<30;++_e)ke[_e]=0}var fe=2,xe=0,De=m,Fe=$-me&32767;if(Se>2&&X==ee(V-Fe))for(var N=Math.min(F,Se)-1,H=Math.min(32767,V),G=Math.min(258,Se);Fe<=H&&--De&&$!=me;){if(n[V+fe]==n[V+fe-Fe]){for(var K=0;K<G&&n[V+K]==n[V+K-Fe];++K);if(K>fe){if(fe=K,xe=Fe,K>N)break;for(var te=Math.min(Fe,K-2),ue=0,_e=0;_e<te;++_e){var ye=V-Fe+_e&32767,le=D[ye],ve=ye-le&32767;ve>ue&&(ue=ve,me=ye)}}}$=me,me=D[$],Fe+=$-me&32767}if(xe){Y[se++]=268435456|Vs[fe]<<18|Vl[xe];var Ce=Vs[fe]&31,qe=Vl[xe]&31;ie+=rl[Ce]+il[qe],++be[257+Ce],++ke[qe],I=V+fe,++we}else Y[se++]=n[V],++be[n[V]]}}for(V=Math.max(V,I);V<d;++V)Y[se++]=n[V],++be[n[V]];w=$l(n,c,f,Y,be,ke,ie,se,R,V-R,w),f||(o.r=w&7|c[w/8|0]<<3,w-=7,o.h=W,o.p=D,o.i=V,o.w=I)}else{for(var V=o.w||0;V<d+f;V+=65535){var Me=V+65535;Me>=d&&(c[w/8|0]=f,Me=d),w=hc(c,w+1,n.subarray(V,Me))}o.i=d}return eh(l,0,r+fc(w)+a)},pc=function(){var n=1,e=0;return{p:function(t){for(var r=n,a=e,o=t.length|0,d=0;d!=o;){for(var l=Math.min(d+2655,o);d<l;++d)a+=r+=t[d];r=(r&65535)+15*(r>>16),a=(a&65535)+15*(a>>16)}n=r,e=a},d:function(){return n%=65521,e%=65521,(n&255)<<24|(n&65280)<<8|(e&255)<<8|e>>8}}},rh=function(n,e,t,r,a){if(!a&&(a={l:1},e.dictionary)){var o=e.dictionary.subarray(-32768),d=new pi(o.length+n.length);d.set(o),d.set(n,o.length),n=d,a.w=o.length}return nh(n,e.level==null?6:e.level,e.mem==null?a.l?Math.ceil(Math.max(8,Math.min(13,Math.log(n.length)))*1.5):20:12+e.mem,t,r,a)},gc=function(n,e,t){for(;t;++e)n[e]=t,t>>>=8},ih=function(n,e){var t=e.level,r=t==0?0:t<6?1:t==9?3:2;if(n[0]=120,n[1]=r<<6|(e.dictionary&&32),n[1]|=31-(n[0]<<8|n[1])%31,e.dictionary){var a=pc();a.p(e.dictionary),gc(n,2,a.d())}};function Ys(n,e){e||(e={});var t=pc();t.p(n);var r=rh(n,e,e.dictionary?6:2,4);return ih(r,e),gc(r,r.length-4,t.d()),r}var ah=typeof TextDecoder<"u"&&new TextDecoder,oh=0;try{ah.decode(dc,{stream:!0}),oh=1}catch{}function sh(n){if(Array.isArray(n))return n}function lh(n,e){var t=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(t!=null){var r,a,o,d,l=[],c=!0,f=!1;try{if(o=(t=t.call(n)).next,e!==0)for(;!(c=(r=o.call(t)).done)&&(l.push(r.value),l.length!==e);c=!0);}catch(w){f=!0,a=w}finally{try{if(!c&&t.return!=null&&(d=t.return(),Object(d)!==d))return}finally{if(f)throw a}}return l}}function Yl(n,e){(e==null||e>n.length)&&(e=n.length);for(var t=0,r=Array(e);t<e;t++)r[t]=n[t];return r}function uh(n,e){if(n){if(typeof n=="string")return Yl(n,e);var t={}.toString.call(n).slice(8,-1);return t==="Object"&&n.constructor&&(t=n.constructor.name),t==="Map"||t==="Set"?Array.from(n):t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t)?Yl(n,e):void 0}}function ch(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Jl(n,e){return sh(n)||lh(n,e)||uh(n,e)||ch()}function Xl(n,e="utf8"){return new TextDecoder(e).decode(n)}const fh=new TextEncoder;function hh(n){return fh.encode(n)}const dh=1024*8,ph=(()=>{const n=new Uint8Array(4),e=new Uint32Array(n.buffer);return!((e[0]=1)&n[0])})(),Ns={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 al{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(e=dh,t={}){let r=!1;typeof e=="number"?e=new ArrayBuffer(e):(r=!0,this.lastWrittenByte=e.byteLength);const a=t.offset?t.offset>>>0:0,o=e.byteLength-a;let d=a;(ArrayBuffer.isView(e)||e instanceof al)&&(e.byteLength!==e.buffer.byteLength&&(d=e.byteOffset+a),e=e.buffer),r?this.lastWrittenByte=o:this.lastWrittenByte=0,this.buffer=e,this.length=o,this.byteLength=o,this.byteOffset=d,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,d,o),this._mark=0,this._marks=[]}available(e=1){return this.offset+e<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(e=1){return this.offset+=e,this}back(e=1){return this.offset-=e,this}seek(e){return this.offset=e,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 e=this._marks.pop();if(e===void 0)throw new Error("Mark stack empty");return this.seek(e),this}rewind(){return this.offset=0,this}ensureAvailable(e=1){if(!this.available(e)){const r=(this.offset+e)*2,a=new Uint8Array(r);a.set(new Uint8Array(this.buffer)),this.buffer=a.buffer,this.length=r,this.byteLength=r,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(e=1){return this.readArray(e,"uint8")}readArray(e,t){const r=Ns[t].BYTES_PER_ELEMENT*e,a=this.byteOffset+this.offset,o=this.buffer.slice(a,a+r);if(this.littleEndian===ph&&t!=="uint8"&&t!=="int8"){const l=new Uint8Array(this.buffer.slice(a,a+r));l.reverse();const c=new Ns[t](l.buffer);return this.offset+=r,c.reverse(),c}const d=new Ns[t](o);return this.offset+=r,d}readInt16(){const e=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,e}readUint16(){const e=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,e}readInt32(){const e=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,e}readUint32(){const e=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat32(){const e=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,e}readFloat64(){const e=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,e}readBigInt64(){const e=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,e}readBigUint64(){const e=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,e}readChar(){return String.fromCharCode(this.readInt8())}readChars(e=1){let t="";for(let r=0;r<e;r++)t+=this.readChar();return t}readUtf8(e=1){return Xl(this.readBytes(e))}decodeText(e=1,t="utf8"){return Xl(this.readBytes(e),t)}writeBoolean(e){return this.writeUint8(e?255:0),this}writeInt8(e){return this.ensureAvailable(1),this._data.setInt8(this.offset++,e),this._updateLastWrittenByte(),this}writeUint8(e){return this.ensureAvailable(1),this._data.setUint8(this.offset++,e),this._updateLastWrittenByte(),this}writeByte(e){return this.writeUint8(e)}writeBytes(e){this.ensureAvailable(e.length);for(let t=0;t<e.length;t++)this._data.setUint8(this.offset++,e[t]);return this._updateLastWrittenByte(),this}writeInt16(e){return this.ensureAvailable(2),this._data.setInt16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(e){return this.ensureAvailable(2),this._data.setUint16(this.offset,e,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(e){return this.ensureAvailable(4),this._data.setInt32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(e){return this.ensureAvailable(4),this._data.setUint32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(e){return this.ensureAvailable(4),this._data.setFloat32(this.offset,e,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(e){return this.ensureAvailable(8),this._data.setFloat64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(e){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(e){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,e,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(e){return this.writeUint8(e.charCodeAt(0))}writeChars(e){for(let t=0;t<e.length;t++)this.writeUint8(e.charCodeAt(t));return this}writeUtf8(e){return this.writeBytes(hh(e))}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 Ka(n){let e=n.length;for(;--e>=0;)n[e]=0}const gh=3,mh=258,mc=29,vh=256,wh=vh+1+mc,vc=30,yh=512,bh=new Array((wh+2)*2);Ka(bh);const xh=new Array(vc*2);Ka(xh);const _h=new Array(yh);Ka(_h);const Sh=new Array(mh-gh+1);Ka(Sh);const Ah=new Array(mc);Ka(Ah);const Nh=new Array(vc);Ka(Nh);const Lh=(n,e,t,r)=>{let a=n&65535|0,o=n>>>16&65535|0,d=0;for(;t!==0;){d=t>2e3?2e3:t,t-=d;do a=a+e[r++]|0,o=o+a|0;while(--d);a%=65521,o%=65521}return a|o<<16|0};var Js=Lh;const kh=()=>{let n,e=[];for(var t=0;t<256;t++){n=t;
vendor: 12,328 bytes, line 3
3for(var r=0;r<8;r++)n=n&1?3988292384^n>>>1:n>>>1;e[t]=n}return e},Ph=new Uint32Array(kh()),Eh=(n,e,t,r)=>{const a=Ph,o=r+t;n^=-1;for(let d=r;d<o;d++)n=n>>>8^a[(n^e[d])&255];return n^-1};var Ni=Eh,Xs={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"},wc={Z_NO_FLUSH:0,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_DEFLATED:8};const Ch=(n,e)=>Object.prototype.hasOwnProperty.call(n,e);var Ih=function(n){const e=Array.prototype.slice.call(arguments,1);for(;e.length;){const t=e.shift();if(t){if(typeof t!="object")throw new TypeError(t+"must be non-object");for(const r in t)Ch(t,r)&&(n[r]=t[r])}}return n},Fh=n=>{let e=0;for(let r=0,a=n.length;r<a;r++)e+=n[r].length;const t=new Uint8Array(e);for(let r=0,a=0,o=n.length;r<o;r++){let d=n[r];t.set(d,a),a+=d.length}return t},yc={assign:Ih,flattenChunks:Fh};let bc=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{bc=!1}const wo=new Uint8Array(256);for(let n=0;n<256;n++)wo[n]=n>=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;wo[254]=wo[255]=1;var Oh=n=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(n);let e,t,r,a,o,d=n.length,l=0;for(a=0;a<d;a++)t=n.charCodeAt(a),(t&64512)===55296&&a+1<d&&(r=n.charCodeAt(a+1),(r&64512)===56320&&(t=65536+(t-55296<<10)+(r-56320),a++)),l+=t<128?1:t<2048?2:t<65536?3:4;for(e=new Uint8Array(l),o=0,a=0;o<l;a++)t=n.charCodeAt(a),(t&64512)===55296&&a+1<d&&(r=n.charCodeAt(a+1),(r&64512)===56320&&(t=65536+(t-55296<<10)+(r-56320),a++)),t<128?e[o++]=t:t<2048?(e[o++]=192|t>>>6,e[o++]=128|t&63):t<65536?(e[o++]=224|t>>>12,e[o++]=128|t>>>6&63,e[o++]=128|t&63):(e[o++]=240|t>>>18,e[o++]=128|t>>>12&63,e[o++]=128|t>>>6&63,e[o++]=128|t&63);return e};const Th=(n,e)=>{if(e<65534&&n.subarray&&bc)return String.fromCharCode.apply(null,n.length===e?n:n.subarray(0,e));let t="";for(let r=0;r<e;r++)t+=String.fromCharCode(n[r]);return t};var Rh=(n,e)=>{const t=e||n.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(n.subarray(0,e));let r,a;const o=new Array(t*2);for(a=0,r=0;r<t;){let d=n[r++];if(d<128){o[a++]=d;continue}let l=wo[d];if(l>4){o[a++]=65533,r+=l-1;continue}for(d&=l===2?31:l===3?15:7;l>1&&r<t;)d=d<<6|n[r++]&63,l--;if(l>1){o[a++]=65533;continue}d<65536?o[a++]=d:(d-=65536,o[a++]=55296|d>>10&1023,o[a++]=56320|d&1023)}return Th(o,a)},Mh=(n,e)=>{e=e||n.length,e>n.length&&(e=n.length);let t=e-1;for(;t>=0&&(n[t]&192)===128;)t--;return t<0||t===0?e:t+wo[n[t]]>e?t:e},Ks={string2buf:Oh,buf2string:Rh,utf8border:Mh};function jh(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var Bh=jh;const Bo=16209,Dh=16191;var qh=function(e,t){let r,a,o,d,l,c,f,w,A,F,m,B,D,W,E,Z,ee,Y,be,ke,we,ie,V,se;const I=e.state;r=e.next_in,V=e.input,a=r+(e.avail_in-5),o=e.next_out,se=e.output,d=o-(t-e.avail_out),l=o+(e.avail_out-257),c=I.dmax,f=I.wsize,w=I.whave,A=I.wnext,F=I.window,m=I.hold,B=I.bits,D=I.lencode,W=I.distcode,E=(1<<I.lenbits)-1,Z=(1<<I.distbits)-1;e:do{B<15&&(m+=V[r++]<<B,B+=8,m+=V[r++]<<B,B+=8),ee=D[m&E];t:for(;;){if(Y=ee>>>24,m>>>=Y,B-=Y,Y=ee>>>16&255,Y===0)se[o++]=ee&65535;else if(Y&16){be=ee&65535,Y&=15,Y&&(B<Y&&(m+=V[r++]<<B,B+=8),be+=m&(1<<Y)-1,m>>>=Y,B-=Y),B<15&&(m+=V[r++]<<B,B+=8,m+=V[r++]<<B,B+=8),ee=W[m&Z];n:for(;;){if(Y=ee>>>24,m>>>=Y,B-=Y,Y=ee>>>16&255,Y&16){if(ke=ee&65535,Y&=15,B<Y&&(m+=V[r++]<<B,B+=8,B<Y&&(m+=V[r++]<<B,B+=8)),ke+=m&(1<<Y)-1,ke>c){e.msg="invalid distance too far back",I.mode=Bo;break e}if(m>>>=Y,B-=Y,Y=o-d,ke>Y){if(Y=ke-Y,Y>w&&I.sane){e.msg="invalid distance too far back",I.mode=Bo;break e}if(we=0,ie=F,A===0){if(we+=f-Y,Y<be){be-=Y;do se[o++]=F[we++];while(--Y);we=o-ke,ie=se}}else if(A<Y){if(we+=f+A-Y,Y-=A,Y<be){be-=Y;do se[o++]=F[we++];while(--Y);if(we=0,A<be){Y=A,be-=Y;do se[o++]=F[we++];while(--Y);we=o-ke,ie=se}}}else if(we+=A-Y,Y<be){be-=Y;do se[o++]=F[we++];while(--Y);we=o-ke,ie=se}for(;be>2;)se[o++]=ie[we++],se[o++]=ie[we++],se[o++]=ie[we++],be-=3;be&&(se[o++]=ie[we++],be>1&&(se[o++]=ie[we++]))}else{we=o-ke;do se[o++]=se[we++],se[o++]=se[we++],se[o++]=se[we++],be-=3;while(be>2);be&&(se[o++]=se[we++],be>1&&(se[o++]=se[we++]))}}else if((Y&64)===0){ee=W[(ee&65535)+(m&(1<<Y)-1)];continue n}else{e.msg="invalid distance code",I.mode=Bo;break e}break}}else if((Y&64)===0){ee=D[(ee&65535)+(m&(1<<Y)-1)];continue t}else if(Y&32){I.mode=Dh;break e}else{e.msg="invalid literal/length code",I.mode=Bo;break e}break}}while(r<a&&o<l);be=B>>3,r-=be,B-=be<<3,m&=(1<<B)-1,e.next_in=r,e.next_out=o,e.avail_in=r<a?5+(a-r):5-(r-a),e.avail_out=o<l?257+(l-o):257-(o-l),I.hold=m,I.bits=B};const qa=15,Kl=852,Zl=592,Ql=0,Ls=1,eu=2,Uh=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]),zh=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,199,75]),Hh=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]),Wh=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]),Vh=(n,e,t,r,a,o,d,l)=>{const c=l.bits;let f=0,w=0,A=0,F=0,m=0,B=0,D=0,W=0,E=0,Z=0,ee,Y,be,ke,we,ie=null,V;const se=new Uint16Array(qa+1),I=new Uint16Array(qa+1);let R=null,X,$,me;for(f=0;f<=qa;f++)se[f]=0;for(w=0;w<r;w++)se[e[t+w]]++;for(m=c,F=qa;F>=1&&se[F]===0;F--);if(m>F&&(m=F),F===0)return a[o++]=1<<24|64<<16|0,a[o++]=1<<24|64<<16|0,l.bits=1,0;for(A=1;A<F&&se[A]===0;A++);for(m<A&&(m=A),W=1,f=1;f<=qa;f++)if(W<<=1,W-=se[f],W<0)return-1;if(W>0&&(n===Ql||F!==1))return-1;for(I[1]=0,f=1;f<qa;f++)I[f+1]=I[f]+se[f];for(w=0;w<r;w++)e[t+w]!==0&&(d[I[e[t+w]]++]=w);if(n===Ql?(ie=R=d,V=20):n===Ls?(ie=Uh,R=zh,V=257):(ie=Hh,R=Wh,V=0),Z=0,w=0,f=A,we=o,B=m,D=0,be=-1,E=1<<m,ke=E-1,n===Ls&&E>Kl||n===eu&&E>Zl)return 1;for(;;){X=f-D,d[w]+1<V?($=0,me=d[w]):d[w]>=V?($=R[d[w]-V],me=ie[d[w]-V]):($=96,me=0),ee=1<<f-D,Y=1<<B,A=Y;do Y-=ee,a[we+(Z>>D)+Y]=X<<24|$<<16|me|0;while(Y!==0);for(ee=1<<f-1;Z&ee;)ee>>=1;if(ee!==0?(Z&=ee-1,Z+=ee):Z=0,w++,--se[f]===0){if(f===F)break;f=e[t+d[w]]}if(f>m&&(Z&ke)!==be){for(D===0&&(D=m),we+=A,B=f-D,W=1<<B;B+D<F&&(W-=se[B+D],!(W<=0));)B++,W<<=1;if(E+=1<<B,n===Ls&&E>Kl||n===eu&&E>Zl)return 1;be=Z&ke,a[be]=m<<24|B<<16|we-o|0}}return Z!==0&&(a[we+Z]=f-D<<24|64<<16|0),l.bits=m,0};var vo=Vh;const Gh=0,xc=1,_c=2,{Z_FINISH:tu,Z_BLOCK:$h,Z_TREES:Do,Z_OK:Ea,Z_STREAM_END:Yh,Z_NEED_DICT:Jh,Z_STREAM_ERROR:Zr,Z_DATA_ERROR:Sc,Z_MEM_ERROR:Ac,Z_BUF_ERROR:Xh,Z_DEFLATED:nu}=wc,is=16180,ru=16181,iu=16182,au=16183,ou=16184,su=16185,lu=16186,uu=16187,cu=16188,fu=16189,ts=16190,Vi=16191,ks=16192,hu=16193,Ps=16194,du=16195,pu=16196,gu=16197,mu=16198,qo=16199,Uo=16200,vu=16201,wu=16202,yu=16203,bu=16204,xu=16205,Es=16206,_u=16207,Su=16208,gn=16209,Nc=16210,Lc=16211,Kh=852,Zh=592,Qh=15,e1=Qh,Au=n=>(n>>>24&255)+(n>>>8&65280)+((n&65280)<<8)+((n&255)<<24);function t1(){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 Ia=n=>{if(!n)return 1;const e=n.state;return!e||e.strm!==n||e.mode<is||e.mode>Lc?1:0},kc=n=>{if(Ia(n))return Zr;const e=n.state;return n.total_in=n.total_out=e.total=0,n.msg="",e.wrap&&(n.adler=e.wrap&1),e.mode=is,e.last=0,e.havedict=0,e.flags=-1,e.dmax=32768,e.head=null,e.hold=0,e.bits=0,e.lencode=e.lendyn=new Int32Array(Kh),e.distcode=e.distdyn=new Int32Array(Zh),e.sane=1,e.back=-1,Ea},Pc=n=>{if(Ia(n))return Zr;const e=n.state;return e.wsize=0,e.whave=0,e.wnext=0,kc(n)},Ec=(n,e)=>{let t;if(Ia(n))return Zr;const r=n.state;return e<0?(t=0,e=-e):(t=(e>>4)+5,e<48&&(e&=15)),e&&(e<8||e>15)?Zr:(r.window!==null&&r.wbits!==e&&(r.window=null),r.wrap=t,r.wbits=e,Pc(n))},Cc=(n,e)=>{if(!n)return Zr;const t=new t1;n.state=t,t.strm=n,t.window=null,t.mode=is;const r=Ec(n,e);return r!==Ea&&(n.state=null),r},n1=n=>Cc(n,e1);let Nu=!0,Cs,Is;const r1=n=>{if(Nu){Cs=new Int32Array(512),Is=new Int32Array(32);let e=0;for(;e<144;)n.lens[e++]=8;for(;e<256;)n.lens[e++]=9;for(;e<280;)n.lens[e++]=7;for(;e<288;)n.lens[e++]=8;for(vo(xc,n.lens,0,288,Cs,0,n.work,{bits:9}),e=0;e<32;)n.lens[e++]=5;vo(_c,n.lens,0,32,Is,0,n.work,{bits:5}),Nu=!1}n.lencode=Cs,n.lenbits=9,n.distcode=Is,n.distbits=5},Ic=(n,e,t,r)=>{let a;const o=n.state;return o.window===null&&(o.window=new Uint8Array(1<<o.wbits)),o.wsize===0&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0),r>=o.wsize?(o.window.set(e.subarray(t-o.wsize,t),0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>r&&(a=r),o.window.set(e.subarray(t-r,t-r+a),o.wnext),r-=a,r?(o.window.set(e.subarray(t-r,t),0),o.wnext=r,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0},i1=(n,e)=>{let t,r,a,o,d,l,c,f,w,A,F,m,B,D,W=0,E,Z,ee,Y,be,ke,we,ie;const V=new Uint8Array(4);let se,I;const R=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Ia(n)||!n.output||!n.input&&n.avail_in!==0)return Zr;t=n.state,t.mode===Vi&&(t.mode=ks),d=n.next_out,a=n.output,c=n.avail_out,o=n.next_in,r=n.input,l=n.avail_in,f=t.hold,w=t.bits,A=l,F=c,ie=Ea;e:for(;;)switch(t.mode){case is:if(t.wrap===0){t.mode=ks;break}for(;w<16;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}if(t.wrap&2&&f===35615){t.wbits===0&&(t.wbits=15),t.check=0,V[0]=f&255,V[1]=f>>>8&255,t.check=Ni(t.check,V,2,0),f=0,w=0,t.mode=ru;break}if(t.head&&(t.head.done=!1),!(t.wrap&1)||(((f&255)<<8)+(f>>8))%31){n.msg="incorrect header check",t.mode=gn;break}if((f&15)!==nu){n.msg="unknown compression method",t.mode=gn;break}if(f>>>=4,w-=4,we=(f&15)+8,t.wbits===0&&(t.wbits=we),we>15||we>t.wbits){n.msg="invalid window size",t.mode=gn;break}t.dmax=1<<t.wbits,t.flags=0,n.adler=t.check=1,t.mode=f&512?fu:Vi,f=0,w=0;break;case ru:for(;w<16;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}if(t.flags=f,(t.flags&255)!==nu){n.msg="unknown compression method",t.mode=gn;break}if(t.flags&57344){n.msg="unknown header flags set",t.mode=gn;break}t.head&&(t.head.text=f>>8&1),t.flags&512&&t.wrap&4&&(V[0]=f&255,V[1]=f>>>8&255,t.check=Ni(t.check,V,2,0)),f=0,w=0,t.mode=iu;case iu:for(;w<32;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}t.head&&(t.head.time=f),t.flags&512&&t.wrap&4&&(V[0]=f&255,V[1]=f>>>8&255,V[2]=f>>>16&255,V[3]=f>>>24&255,t.check=Ni(t.check,V,4,0)),f=0,w=0,t.mode=au;case au:for(;w<16;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}t.head&&(t.head.xflags=f&255,t.head.os=f>>8),t.flags&512&&t.wrap&4&&(V[0]=f&255,V[1]=f>>>8&255,t.check=Ni(t.check,V,2,0)),f=0,w=0,t.mode=ou;case ou:if(t.flags&1024){for(;w<16;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}t.length=f,t.head&&(t.head.extra_len=f),t.flags&512&&t.wrap&4&&(V[0]=f&255,V[1]=f>>>8&255,t.check=Ni(t.check,V,2,0)),f=0,w=0}else t.head&&(t.head.extra=null);t.mode=su;case su:if(t.flags&1024&&(m=t.length,m>l&&(m=l),m&&(t.head&&(we=t.head.extra_len-t.length,t.head.extra||(t.head.extra=new Uint8Array(t.head.extra_len)),t.head.extra.set(r.subarray(o,o+m),we)),t.flags&512&&t.wrap&4&&(t.check=Ni(t.check,r,m,o)),l-=m,o+=m,t.length-=m),t.length))break e;t.length=0,t.mode=lu;case lu:if(t.flags&2048){if(l===0)break e;m=0;do we=r[o+m++],t.head&&we&&t.length<65536&&(t.head.name+=String.fromCharCode(we));while(we&&m<l);if(t.flags&512&&t.wrap&4&&(t.check=Ni(t.check,r,m,o)),l-=m,o+=m,we)break e}else t.head&&(t.head.name=null);t.length=0,t.mode=uu;case uu:if(t.flags&4096){if(l===0)break e;m=0;do we=r[o+m++],t.head&&we&&t.length<65536&&(t.head.comment+=String.fromCharCode(we));while(we&&m<l);if(t.flags&512&&t.wrap&4&&(t.check=Ni(t.check,r,m,o)),l-=m,o+=m,we)break e}else t.head&&(t.head.comment=null);t.mode=cu;case cu:if(t.flags&512){for(;w<16;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}if(t.wrap&4&&f!==(t.check&65535)){n.msg="header crc mismatch",t.mode=gn;break}f=0,w=0}
vendor: 4,354 bytes, line 3
3t.head&&(t.head.hcrc=t.flags>>9&1,t.head.done=!0),n.adler=t.check=0,t.mode=Vi;break;case fu:for(;w<32;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}n.adler=t.check=Au(f),f=0,w=0,t.mode=ts;case ts:if(t.havedict===0)return n.next_out=d,n.avail_out=c,n.next_in=o,n.avail_in=l,t.hold=f,t.bits=w,Jh;n.adler=t.check=1,t.mode=Vi;case Vi:if(e===$h||e===Do)break e;case ks:if(t.last){f>>>=w&7,w-=w&7,t.mode=Es;break}for(;w<3;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}switch(t.last=f&1,f>>>=1,w-=1,f&3){case 0:t.mode=hu;break;case 1:if(r1(t),t.mode=qo,e===Do){f>>>=2,w-=2;break e}break;case 2:t.mode=pu;break;case 3:n.msg="invalid block type",t.mode=gn}f>>>=2,w-=2;break;case hu:for(f>>>=w&7,w-=w&7;w<32;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}if((f&65535)!==(f>>>16^65535)){n.msg="invalid stored block lengths",t.mode=gn;break}if(t.length=f&65535,f=0,w=0,t.mode=Ps,e===Do)break e;case Ps:t.mode=du;case du:if(m=t.length,m){if(m>l&&(m=l),m>c&&(m=c),m===0)break e;a.set(r.subarray(o,o+m),d),l-=m,o+=m,c-=m,d+=m,t.length-=m;break}t.mode=Vi;break;case pu:for(;w<14;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}if(t.nlen=(f&31)+257,f>>>=5,w-=5,t.ndist=(f&31)+1,f>>>=5,w-=5,t.ncode=(f&15)+4,f>>>=4,w-=4,t.nlen>286||t.ndist>30){n.msg="too many length or distance symbols",t.mode=gn;break}t.have=0,t.mode=gu;case gu:for(;t.have<t.ncode;){for(;w<3;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}t.lens[R[t.have++]]=f&7,f>>>=3,w-=3}for(;t.have<19;)t.lens[R[t.have++]]=0;if(t.lencode=t.lendyn,t.lenbits=7,se={bits:t.lenbits},ie=vo(Gh,t.lens,0,19,t.lencode,0,t.work,se),t.lenbits=se.bits,ie){n.msg="invalid code lengths set",t.mode=gn;break}t.have=0,t.mode=mu;case mu:for(;t.have<t.nlen+t.ndist;){for(;W=t.lencode[f&(1<<t.lenbits)-1],E=W>>>24,Z=W>>>16&255,ee=W&65535,!(E<=w);){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}if(ee<16)f>>>=E,w-=E,t.lens[t.have++]=ee;else{if(ee===16){for(I=E+2;w<I;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}if(f>>>=E,w-=E,t.have===0){n.msg="invalid bit length repeat",t.mode=gn;break}we=t.lens[t.have-1],m=3+(f&3),f>>>=2,w-=2}else if(ee===17){for(I=E+3;w<I;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}f>>>=E,w-=E,we=0,m=3+(f&7),f>>>=3,w-=3}else{for(I=E+7;w<I;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}f>>>=E,w-=E,we=0,m=11+(f&127),f>>>=7,w-=7}if(t.have+m>t.nlen+t.ndist){n.msg="invalid bit length repeat",t.mode=gn;break}for(;m--;)t.lens[t.have++]=we}}if(t.mode===gn)break;if(t.lens[256]===0){n.msg="invalid code -- missing end-of-block",t.mode=gn;break}if(t.lenbits=9,se={bits:t.lenbits},ie=vo(xc,t.lens,0,t.nlen,t.lencode,0,t.work,se),t.lenbits=se.bits,ie){n.msg="invalid literal/lengths set",t.mode=gn;break}if(t.distbits=6,t.distcode=t.distdyn,se={bits:t.distbits},ie=vo(_c,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,se),t.distbits=se.bits,ie){n.msg="invalid distances set",t.mode=gn;break}if(t.mode=qo,e===Do)break e;case qo:t.mode=Uo;case Uo:if(l>=6&&c>=258){n.next_out=d,n.avail_out=c,n.next_in=o,n.avail_in=l,t.hold=f,t.bits=w,qh(n,F),d=n.next_out,a=n.output,c=n.avail_out,o=n.next_in,r=n.input,l=n.avail_in,f=t.hold,w=t.bits,t.mode===Vi&&(t.back=-1);break}for(t.back=0;W=t.lencode[f&(1<<t.lenbits)-1],E=W>>>24,Z=W>>>16&255,ee=W&65535,!(E<=w);){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}if(Z&&(Z&240)===0){for(Y=E,be=Z,ke=ee;W=t.lencode[ke+((f&(1<<Y+be)-1)>>Y)],E=W>>>24,Z=W>>>16&255,ee=W&65535,!(Y+E<=w);){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}f>>>=Y,w-=Y,t.back+=Y}if(f>>>=E,w-=E,t.back+=E,t.length=ee,Z===0){t.mode=xu;break}if(Z&32){t.back=-1,t.mode=Vi;break}if(Z&64){n.msg="invalid literal/length code",t.mode=gn;break}t.extra=Z&15,t.mode=vu;case vu:if(t.extra){for(I=t.extra;w<I;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}t.length+=f&(1<<t.extra)-1,f>>>=t.extra,w-=t.extra,t.back+=t.extra}t.was=t.length,t.mode=wu;case wu:for(;W=t.distcode[f&(1<<t.distbits)-1],E=W>>>24,Z=W>>>16&255,ee=W&65535,!(E<=w);){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}if((Z&240)===0){for(Y=E,be=Z,ke=ee;W=t.distcode[ke+((f&(1<<Y+be)-1)>>Y)],E=W>>>24,Z=W>>>16&255,ee=W&65535,!(Y+E<=w);){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}f>>>=Y,w-=Y,t.back+=Y}if(f>>>=E,w-=E,t.back+=E,Z&64){n.msg="invalid distance code",t.mode=gn;break}t.offset=ee,t.extra=Z&15,t.mode=yu;case yu:if(t.extra){for(I=t.extra;w<I;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}t.offset+=f&(1<<t.extra)-1,f>>>=t.extra,w-=t.extra,t.back+=t.extra}if(t.offset>t.dmax){n.msg="invalid distance too far back",t.mode=gn;break}t.mode=bu;
vendor: 13,417 bytes, line 3
3case bu:if(c===0)break e;if(m=F-c,t.offset>m){if(m=t.offset-m,m>t.whave&&t.sane){n.msg="invalid distance too far back",t.mode=gn;break}m>t.wnext?(m-=t.wnext,B=t.wsize-m):B=t.wnext-m,m>t.length&&(m=t.length),D=t.window}else D=a,B=d-t.offset,m=t.length;m>c&&(m=c),c-=m,t.length-=m;do a[d++]=D[B++];while(--m);t.length===0&&(t.mode=Uo);break;case xu:if(c===0)break e;a[d++]=t.length,c--,t.mode=Uo;break;case Es:if(t.wrap){for(;w<32;){if(l===0)break e;l--,f|=r[o++]<<w,w+=8}if(F-=c,n.total_out+=F,t.total+=F,t.wrap&4&&F&&(n.adler=t.check=t.flags?Ni(t.check,a,F,d-F):Js(t.check,a,F,d-F)),F=c,t.wrap&4&&(t.flags?f:Au(f))!==t.check){n.msg="incorrect data check",t.mode=gn;break}f=0,w=0}t.mode=_u;case _u:if(t.wrap&&t.flags){for(;w<32;){if(l===0)break e;l--,f+=r[o++]<<w,w+=8}if(t.wrap&4&&f!==(t.total&4294967295)){n.msg="incorrect length check",t.mode=gn;break}f=0,w=0}t.mode=Su;case Su:ie=Yh;break e;case gn:ie=Sc;break e;case Nc:return Ac;case Lc:default:return Zr}return n.next_out=d,n.avail_out=c,n.next_in=o,n.avail_in=l,t.hold=f,t.bits=w,(t.wsize||F!==n.avail_out&&t.mode<gn&&(t.mode<Es||e!==tu))&&Ic(n,n.output,n.next_out,F-n.avail_out),A-=n.avail_in,F-=n.avail_out,n.total_in+=A,n.total_out+=F,t.total+=F,t.wrap&4&&F&&(n.adler=t.check=t.flags?Ni(t.check,a,F,n.next_out-F):Js(t.check,a,F,n.next_out-F)),n.data_type=t.bits+(t.last?64:0)+(t.mode===Vi?128:0)+(t.mode===qo||t.mode===Ps?256:0),(A===0&&F===0||e===tu)&&ie===Ea&&(ie=Xh),ie},a1=n=>{if(Ia(n))return Zr;let e=n.state;return e.window&&(e.window=null),n.state=null,Ea},o1=(n,e)=>{if(Ia(n))return Zr;const t=n.state;return(t.wrap&2)===0?Zr:(t.head=e,e.done=!1,Ea)},s1=(n,e)=>{const t=e.length;let r,a,o;return Ia(n)||(r=n.state,r.wrap!==0&&r.mode!==ts)?Zr:r.mode===ts&&(a=1,a=Js(a,e,t,0),a!==r.check)?Sc:(o=Ic(n,e,t,t),o?(r.mode=Nc,Ac):(r.havedict=1,Ea))};var l1=Pc,u1=Ec,c1=kc,f1=n1,h1=Cc,d1=i1,p1=a1,g1=o1,m1=s1,v1="pako inflate (from Nodeca project)",ki={inflateReset:l1,inflateReset2:u1,inflateResetKeep:c1,inflateInit:f1,inflateInit2:h1,inflate:d1,inflateEnd:p1,inflateGetHeader:g1,inflateSetDictionary:m1,inflateInfo:v1};function w1(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var y1=w1;const Fc=Object.prototype.toString,{Z_NO_FLUSH:b1,Z_FINISH:Lu,Z_OK:Ga,Z_STREAM_END:Fs,Z_NEED_DICT:Os,Z_STREAM_ERROR:x1,Z_DATA_ERROR:ku,Z_MEM_ERROR:_1,Z_BUF_ERROR:Pu}=wc,S1={chunkSize:1024*64,windowBits:15,to:""};function yo(n){this.options=yc.assign({},S1,n||{});const e=this.options;e.raw&&e.windowBits>=0&&e.windowBits<16&&(e.windowBits=-e.windowBits,e.windowBits===0&&(e.windowBits=-15)),e.windowBits>=0&&e.windowBits<16&&!(n&&n.windowBits)&&(e.windowBits+=32),e.windowBits>15&&e.windowBits<48&&(e.windowBits&15)===0&&(e.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new Bh,this.strm.avail_out=0;let t=ki.inflateInit2(this.strm,e.windowBits);if(t!==Ga)throw new Error(Xs[t]);if(this.header=new y1,ki.inflateGetHeader(this.strm,this.header),e.dictionary&&(typeof e.dictionary=="string"?e.dictionary=Ks.string2buf(e.dictionary):Fc.call(e.dictionary)==="[object ArrayBuffer]"&&(e.dictionary=new Uint8Array(e.dictionary)),e.raw&&(t=ki.inflateSetDictionary(this.strm,e.dictionary),t!==Ga)))throw new Error(Xs[t])}yo.prototype.push=function(n,e){const t=this.strm,r=this.options.chunkSize,a=this.options.dictionary;let o,d,l;if(this.ended)return!1;for(e===~~e?d=e:d=e===!0?Lu:b1,Fc.call(n)==="[object ArrayBuffer]"?t.input=new Uint8Array(n):t.input=n,t.next_in=0,t.avail_in=t.input.length;;){for(t.avail_out===0&&(t.output=new Uint8Array(r),t.next_out=0,t.avail_out=r),o=ki.inflate(t,d),o===Os&&a&&(o=ki.inflateSetDictionary(t,a),o===Ga?o=ki.inflate(t,d):o===ku&&(o=Os));t.avail_in>0&&o===Fs&&t.state.wrap&2&&t.state.flags!==0&&t.input[t.next_in]!==0;)ki.inflateReset(t),o=ki.inflate(t,d);switch(o){case x1:case ku:case Os:case _1:return this.onEnd(o),this.ended=!0,!1}if(l=t.avail_out,t.next_out&&(t.avail_out===0||o===Fs||d>0))if(this.options.to==="string"){let c=Ks.utf8border(t.output,t.next_out),f=t.next_out-c,w=Ks.buf2string(t.output,c);t.next_out=f,t.avail_out=r-f,f&&t.output.set(t.output.subarray(c,c+f),0),this.onData(w)}else this.onData(t.output.length===t.next_out?t.output:t.output.subarray(0,t.next_out)),t.avail_out=0,t.next_out=0;if(!((o===Ga||o===Pu)&&l===0)){if(o===Fs)return o=ki.inflateEnd(this.strm),this.onEnd(o),this.ended=!0,!0;if(t.avail_in===0){if(d===Lu)return o=ki.inflateEnd(this.strm),this.onEnd(o===Ga?Pu:o),this.ended=!0,!1;break}}}return!0};yo.prototype.onData=function(n){this.chunks.push(n)};yo.prototype.onEnd=function(n){n===Ga&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=yc.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function A1(n,e){const t=new yo(e);if(t.push(n,!0),t.err)throw t.msg||Xs[t.err];return t.result}var N1=yo,L1=A1,k1={Inflate:N1,inflate:L1};const{Inflate:P1,inflate:E1}=k1;var Eu=P1,C1=E1;const Oc=[];for(let n=0;n<256;n++){let e=n;for(let t=0;t<8;t++)e&1?e=3988292384^e>>>1:e=e>>>1;Oc[n]=e}const Cu=4294967295;function I1(n,e,t){let r=n;for(let a=0;a<t;a++)r=Oc[(r^e[a])&255]^r>>>8;return r}function F1(n,e){return(I1(Cu,n,e)^Cu)>>>0}function Iu(n,e,t){const r=n.readUint32(),a=F1(new Uint8Array(n.buffer,n.byteOffset+n.offset-e-4,e),e);if(a!==r)throw new Error(`CRC mismatch for chunk ${t}. Expected ${r}, found ${a}`)}function Tc(n,e,t){for(let r=0;r<t;r++)e[r]=n[r]}function Rc(n,e,t,r){let a=0;for(;a<r;a++)e[a]=n[a];for(;a<t;a++)e[a]=n[a]+e[a-r]&255}function Mc(n,e,t,r){let a=0;if(t.length===0)for(;a<r;a++)e[a]=n[a];else for(;a<r;a++)e[a]=n[a]+t[a]&255}function jc(n,e,t,r,a){let o=0;if(t.length===0){for(;o<a;o++)e[o]=n[o];for(;o<r;o++)e[o]=n[o]+(e[o-a]>>1)&255}else{for(;o<a;o++)e[o]=n[o]+(t[o]>>1)&255;for(;o<r;o++)e[o]=n[o]+(e[o-a]+t[o]>>1)&255}}function Bc(n,e,t,r,a){let o=0;if(t.length===0){for(;o<a;o++)e[o]=n[o];for(;o<r;o++)e[o]=n[o]+e[o-a]&255}else{for(;o<a;o++)e[o]=n[o]+t[o]&255;for(;o<r;o++)e[o]=n[o]+O1(e[o-a],t[o],t[o-a])&255}}function O1(n,e,t){const r=n+e-t,a=Math.abs(r-n),o=Math.abs(r-e),d=Math.abs(r-t);return a<=o&&a<=d?n:o<=d?e:t}function T1(n,e,t,r,a,o){switch(n){case 0:Tc(e,t,a);break;case 1:Rc(e,t,a,o);break;case 2:Mc(e,t,r,a);break;case 3:jc(e,t,r,a,o);break;case 4:Bc(e,t,r,a,o);break;default:throw new Error(`Unsupported filter: ${n}`)}}const R1=new Uint16Array([255]),M1=new Uint8Array(R1.buffer),j1=M1[0]===255;function B1(n){const{data:e,width:t,height:r,channels:a,depth:o}=n,d=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],l=Math.ceil(o/8)*a,c=new Uint8Array(r*t*l);let f=0;for(let w=0;w<7;w++){const A=d[w],F=Math.ceil((t-A.x)/A.xStep),m=Math.ceil((r-A.y)/A.yStep);if(F<=0||m<=0)continue;const B=F*l,D=new Uint8Array(B);for(let W=0;W<m;W++){const E=e[f++],Z=e.subarray(f,f+B);f+=B;const ee=new Uint8Array(B);T1(E,Z,ee,D,B,l),D.set(ee);for(let Y=0;Y<F;Y++){const be=A.x+Y*A.xStep,ke=A.y+W*A.yStep;if(!(be>=t||ke>=r))for(let we=0;we<l;we++)c[(ke*t+be)*l+we]=ee[Y*l+we]}}}if(o===16){const w=new Uint16Array(c.buffer);if(j1)for(let A=0;A<w.length;A++)w[A]=D1(w[A]);return w}else return c}function D1(n){return(n&255)<<8|n>>8&255}const q1=new Uint16Array([255]),U1=new Uint8Array(q1.buffer),z1=U1[0]===255,H1=new Uint8Array(0);function Fu(n){const{data:e,width:t,height:r,channels:a,depth:o}=n,d=Math.ceil(o/8)*a,l=Math.ceil(o/8*a*t),c=new Uint8Array(r*l);let f=H1,w=0,A,F;for(let m=0;m<r;m++){switch(A=e.subarray(w+1,w+1+l),F=c.subarray(m*l,(m+1)*l),e[w]){case 0:Tc(A,F,l);break;case 1:Rc(A,F,l,d);break;case 2:Mc(A,F,f,l);break;case 3:jc(A,F,f,l,d);break;case 4:Bc(A,F,f,l,d);break;default:throw new Error(`Unsupported filter: ${e[w]}`)}f=F,w+=l+1}if(o===16){const m=new Uint16Array(c.buffer);if(z1)for(let B=0;B<m.length;B++)m[B]=W1(m[B]);return m}else return c}function W1(n){return(n&255)<<8|n>>8&255}const Yo=Uint8Array.of(137,80,78,71,13,10,26,10);function Ou(n){if(!V1(n.readBytes(Yo.length)))throw new Error("wrong PNG signature")}function V1(n){if(n.length<Yo.length)return!1;for(let e=0;e<Yo.length;e++)if(n[e]!==Yo[e])return!1;return!0}const G1="tEXt",$1=0,Dc=new TextDecoder("latin1");function Y1(n){if(X1(n),n.length===0||n.length>79)throw new Error("keyword length must be between 1 and 79")}const J1=/^[\u0000-\u00FF]*$/;function X1(n){if(!J1.test(n))throw new Error("invalid latin1 text")}function K1(n,e,t){const r=qc(e);n[r]=Z1(e,t-r.length-1)}function qc(n){for(n.mark();n.readByte()!==$1;);const e=n.offset;n.reset();const t=Dc.decode(n.readBytes(e-n.offset-1));return n.skip(1),Y1(t),t}function Z1(n,e){return Dc.decode(n.readBytes(e))}const Dr={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Ts={UNKNOWN:-1,DEFLATE:0},Tu={UNKNOWN:-1,ADAPTIVE:0},Rs={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},zo={NONE:0,BACKGROUND:1,PREVIOUS:2},Ms={SOURCE:0,OVER:1};class Q1 extends al{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(e,t={}){super(e);const{checkCrc:r=!1}=t;this._checkCrc=r,this._inflator=new Eu,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=Ts.UNKNOWN,this._filterMethod=Tu.UNKNOWN,this._interlaceMethod=Rs.UNKNOWN,this._colorType=Dr.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Ou(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeChunk(e,t)}return this.decodeImage(),this._png}decodeApng(){for(Ou(this);!this._end;){const e=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(e,t)}return this.decodeApngImage(),this._apng}decodeChunk(e,t){const r=this.offset;switch(t){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 G1:K1(this._png.text,this,e);break;case"pHYs":this.decodepHYs();break;default:this.skip(e);break}if(this.offset-r!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?Iu(this,e+4,t):this.skip(4)}decodeApngChunk(e,t){const r=this.offset;switch(t!=="fdAT"&&t!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(e);break;default:this.decodeChunk(e,t),this.offset=r+e;break}if(this.offset-r!==e)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?Iu(this,e+4,t):this.skip(4)}decodeIHDR(){const e=this._png;e.width=this.readUint32(),e.height=this.readUint32(),e.depth=e2(this.readUint8());const t=this.readUint8();this._colorType=t;let r;switch(t){case Dr.GREYSCALE:r=1;break;case Dr.TRUECOLOUR:r=3;break;case Dr.INDEXED_COLOUR:r=1;break;case Dr.GREYSCALE_ALPHA:r=2;break;case Dr.TRUECOLOUR_ALPHA:r=4;break;case Dr.UNKNOWN:default:throw new Error(`Unknown color type: ${t}`)}if(this._png.channels=r,this._compressionMethod=this.readUint8(),this._compressionMethod!==Ts.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const e={sequenceNumber:this.readUint32(),width:this.readUint32(),height:this.readUint32(),xOffset:this.readUint32(),yOffset:this.readUint32(),delayNumber:this.readUint16(),delayDenominator:this.readUint16(),disposeOp:this.readUint8(),blendOp:this.readUint8(),data:new Uint8Array(0)};this._frames.push(e)}decodePLTE(e){if(e%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${e}`);const t=e/3;this._hasPalette=!0;const r=[];this._palette=r;for(let a=0;a<t;a++)r.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(e){this._writingDataChunks=!0;const t=e,r=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,r,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodeFDAT(e){this._writingDataChunks=!0;let t=e,r=this.offset+this.byteOffset;if(r+=4,t-=4,this._inflator.push(new Uint8Array(this.buffer,r,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(e)}decodetRNS(e){switch(this._colorType){case Dr.GREYSCALE:case Dr.TRUECOLOUR:{if(e%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${e}`);if(e/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${e/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(e/2);for(let t=0;t<e/2;t++)this._transparency[t]=this.readUint16();break}case Dr.INDEXED_COLOUR:{if(e>this._palette.length)throw new Error(`tRNS chunk contains more alph
3a values than there are palette colors (${e} vs ${this._palette.length})`);let t=0;for(;t<e;t++){const r=this.readByte();this._palette[t].push(r)}for(;t<this._palette.length;t++)this._palette[t].push(255);break}case Dr.UNKNOWN:case Dr.GREYSCALE_ALPHA:case Dr.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(e){const t=qc(this),r=this.readUint8();if(r!==Ts.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${r}`);const a=this.readBytes(e-t.length-2);this._png.iccEmbeddedProfile={name:t,profile:C1(a)}}decodepHYs(){const e=this.readUint32(),t=this.readUint32(),r=this.readByte();this._png.resolution={x:e,y:t,unit:r}}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 t={sequenceNumber:this._frames[e].sequenceNumber,delayNumber:this._frames[e].delayNumber,delayDenominator:this._frames[e].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},r=this._frames.at(e);if(r){if(r.data=Fu({data:r.data,width:r.width,height:r.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),e===0||r.xOffset===0&&r.yOffset===0&&r.width===this._png.width&&r.height===this._png.height)t.data=r.data;else{const a=this._apng.frames.at(e-1);this.disposeFrame(r,a,t),this.addFrameDataToCanvas(t,r)}this._apng.frames.push(t)}}return this._apng}disposeFrame(e,t,r){switch(e.disposeOp){case zo.NONE:break;case zo.BACKGROUND:for(let a=0;a<this._png.height;a++)for(let o=0;o<this._png.width;o++){const d=(a*e.width+o)*this._png.channels;for(let l=0;l<this._png.channels;l++)r.data[d+l]=0}break;case zo.PREVIOUS:r.data.set(t.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(e,t){const r=1<<this._png.depth,a=(o,d)=>{const l=((o+t.yOffset)*this._png.width+t.xOffset+d)*this._png.channels,c=(o*t.width+d)*this._png.channels;return{index:l,frameIndex:c}};switch(t.blendOp){case Ms.SOURCE:for(let o=0;o<t.height;o++)for(let d=0;d<t.width;d++){const{index:l,frameIndex:c}=a(o,d);for(let f=0;f<this._png.channels;f++)e.data[l+f]=t.data[c+f]}break;case Ms.OVER:for(let o=0;o<t.height;o++)for(let d=0;d<t.width;d++){const{index:l,frameIndex:c}=a(o,d);for(let f=0;f<this._png.channels;f++){const w=t.data[c+this._png.channels-1]/r,A=f%(this._png.channels-1)===0?1:t.data[c+f],F=Math.floor(w*A+(1-w)*e.data[l+f]);e.data[l+f]+=F}}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(this._filterMethod!==Tu.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Rs.NO_INTERLACE)this._png.data=Fu({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===Rs.ADAM7)this._png.data=B1({data:e,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const e=this._inflator.result,t=this._frames.at(-1);t?t.data=e:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:zo.NONE,blendOp:Ms.SOURCE,data:e}),this._inflator=new Eu,this._writingDataChunks=!1}}function e2(n){if(n!==1&&n!==2&&n!==4&&n!==8&&n!==16)throw new Error(`invalid bit depth: ${n}`);return n}var Ru;(function(n){n[n.UNKNOWN=0]="UNKNOWN",n[n.METRE=1]="METRE"})(Ru||(Ru={}));function t2(n,e){return new Q1(n,e).decode()}var St=(function(){return typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:this})();function js(){St.console&&typeof St.console.log=="function"&&St.console.log.apply(St.console,arguments)}var an={log:js,warn:function(n){St.console&&(typeof St.console.warn=="function"?St.console.warn.apply(St.console,arguments):js.call(null,arguments))},error:function(n){St.console&&(typeof St.console.error=="function"?St.console.error.apply(St.console,arguments):js(n))}};function Bs(n,e,t){var r=new XMLHttpRequest;r.open("GET",n),r.responseType="blob",r.onload=function(){Na(r.response,e,t)},r.onerror=function(){an.error("could not download file")},r.send()}function Mu(n){var e=new XMLHttpRequest;e.open("HEAD",n,!1);try{e.send()}catch{}return e.status>=200&&e.status<=299}function Ho(n){try{n.dispatchEvent(new MouseEvent("click"))}catch{var e=document.createEvent("MouseEvents");
vendor: 3,409 bytes, lines 3-8
3e.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),n.dispatchEvent(e)}}var Na=St.saveAs||((typeof window>"u"?"undefined":Kt(window))!=="object"||window!==St?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(n,e,t){var r=St.URL||St.webkitURL,a=document.createElement("a");e=e||n.name||"download",a.download=e,a.rel="noopener",typeof n=="string"?(a.href=n,a.origin!==location.origin?Mu(a.href)?Bs(n,e,t):Ho(a,a.target="_blank"):Ho(a)):(a.href=r.createObjectURL(n),setTimeout(function(){r.revokeObjectURL(a.href)},4e4),setTimeout(function(){Ho(a)},0))}:"msSaveOrOpenBlob"in navigator?function(n,e,t){if(e=e||n.name||"download",typeof n=="string")if(Mu(n))Bs(n,e,t);else{var r=document.createElement("a");r.href=n,r.target="_blank",setTimeout(function(){Ho(r)})}else navigator.msSaveOrOpenBlob((function(a,o){return o===void 0?o={autoBom:!1}:Kt(o)!=="object"&&(an.warn("Deprecated: Expected third argument to be a object"),o={autoBom:!o}),o.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(a.type)?new Blob(["\uFEFF",a],{type:a.type}):a})(n,t),e)}:function(n,e,t,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof n=="string")return Bs(n,e,t);var a=n.type==="application/octet-stream",o=/constructor/i.test(St.HTMLElement)||St.safari,d=/CriOS\/[\d]+/.test(navigator.userAgent);if((d||a&&o)&&(typeof FileReader>"u"?"undefined":Kt(FileReader))==="object"){var l=new FileReader;l.onloadend=function(){var w=l.result;w=d?w:w.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=w:location=w,r=null},l.readAsDataURL(n)}else{var c=St.URL||St.webkitURL,f=c.createObjectURL(n);r?r.location=f:location.href=f,r=null,setTimeout(function(){c.revokeObjectURL(f)},4e4)}});/**
4 * A class to parse color values
5 * @author Stoyan Stefanov <[email protected]>
6 * {@link   http://www.phpied.com/rgb-color-parser-in-javascript/}
7 * @license Use it if you like it
8 */function Uc(n){var e;n=n||"",this.ok=!1,n.charAt(0)=="#"&&(n=n.substr(1,6)),n={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
80",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"}[n=(n=n.replace(/ /g,"")).toLowerCase()]||n;for(var t=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(l){return[parseInt(l[1]),parseInt(l[2]),parseInt(l[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(l){return[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(l){return[parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16),parseInt(l[3]+l[3],16)]}}],r=0;r<t.length;r++){var a=t[r].re,o=t[r].process,d=a.exec(n);d&&(e=o(d),this.r=e[0],this.g=e[1],this.b=e[2],this.ok=!0)}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toHex=function(){var l=this.r.toString(16),c=this.g.toString(16),f=this.b.toString(16);return l.length==1&&(l="0"+l),c.length==1&&(c="0"+c),f.length==1&&(f="0"+f),"#"+l+c+f}}var Jo=St.atob.bind(St),ju=St.btoa.bind(St);/**
9 * @license
10 * Joseph Myers does not specify a particular license for his work.
11 *
12 * Author: Joseph Myers
13 * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
14 *
15 * Modified by: Owen Leong
16 */function Ds(n,e){var t=n[0],r=n[1],a=n[2],o=n[3];t=or(t,r,a,o,e[0],7,-680876936),o=or(o,t,r,a,e[1],12,-389564586),a=or(a,o,t,r,e[2],17,606105819),r=or(r,a,o,t,e[3],22,-1044525330),t=or(t,r,a,o,e[4],7,-176418897),o=or(o,t,r,a,e[5],12,1200080426),a=or(a,o,t,r,e[6],17,-1473231341),r=or(r,a,o,t,e[7],22,-45705983),t=or(t,r,a,o,e[8],7,1770035416),o=or(o,t,r,a,e[9],12,-1958414417),a=or(a,o,t,r,e[10],17,-42063),r=or(r,a,o,t,e[11],22,-1990404162),t=or(t,r,a,o,e[12],7,1804603682),o=or(o,t,r,a,e[13],12,-40341101),a=or(a,o,t,r,e[14],17,-1502002290),t=sr(t,r=or(r,a,o,t,e[15],22,1236535329),a,o,e[1],5,-165796510),o=sr(o,t,r,a,e[6],9,-1069501632),a=sr(a,o,t,r,e[11],14,643717713),r=sr(r,a,o,t,e[0],20,-373897302),t=sr(t,r,a,o,e[5],5,-701558691),o=sr(o,t,r,a,e[10],9,38016083),a=sr(a,o,t,r,e[15],14,-660478335),r=sr(r,a,o,t,e[4],20,-405537848),t=sr(t,r,a,o,e[9],5,568446438),o=sr(o,t,r,a,e[14],9,-1019803690),a=sr(a,o,t,r,e[3],14,-187363961),r=sr(r,a,o,t,e[8],20,1163531501),t=sr(t,r,a,o,e[13],5,-1444681467),o=sr(o,t,r,a,e[2],9,-51403784),a=sr(a,o,t,r,e[7],14,1735328473),t=lr(t,r=sr(r,a,o,t,e[12],20,-1926607734),a,o,e[5],4,-378558),o=lr(o,t,r,a,e[8],11,-2022574463),a=lr(a,o,t,r,e[11],16,1839030562),r=lr(r,a,o,t,e[14],23,-35309556),t=lr(t,r,a,o,e[1],4,-1530992060),o=lr(o,t,r,a,e[4],11,1272893353),a=lr(a,o,t,r,e[7],16,-155497632),r=lr(r,a,o,t,e[10],23,-1094730640),t=lr(t,r,a,o,e[13],4,681279174),o=lr(o,t,r,a,e[0],11,-358537222),a=lr(a,o,t,r,e[3],16,-722521979),r=lr(r,a,o,t,e[6],23,76029189),t=lr(t,r,a,o,e[9],4,
vendor: 1,104 bytes, line 16
16-640364487),o=lr(o,t,r,a,e[12],11,-421815835),a=lr(a,o,t,r,e[15],16,530742520),t=ur(t,r=lr(r,a,o,t,e[2],23,-995338651),a,o,e[0],6,-198630844),o=ur(o,t,r,a,e[7],10,1126891415),a=ur(a,o,t,r,e[14],15,-1416354905),r=ur(r,a,o,t,e[5],21,-57434055),t=ur(t,r,a,o,e[12],6,1700485571),o=ur(o,t,r,a,e[3],10,-1894986606),a=ur(a,o,t,r,e[10],15,-1051523),r=ur(r,a,o,t,e[1],21,-2054922799),t=ur(t,r,a,o,e[8],6,1873313359),o=ur(o,t,r,a,e[15],10,-30611744),a=ur(a,o,t,r,e[6],15,-1560198380),r=ur(r,a,o,t,e[13],21,1309151649),t=ur(t,r,a,o,e[4],6,-145523070),o=ur(o,t,r,a,e[11],10,-1120210379),a=ur(a,o,t,r,e[2],15,718787259),r=ur(r,a,o,t,e[9],21,-343485551),n[0]=ga(t,n[0]),n[1]=ga(r,n[1]),n[2]=ga(a,n[2]),n[3]=ga(o,n[3])}function as(n,e,t,r,a,o){return e=ga(ga(e,n),ga(r,o)),ga(e<<a|e>>>32-a,t)}function or(n,e,t,r,a,o,d){return as(e&t|~e&r,n,e,a,o,d)}function sr(n,e,t,r,a,o,d){return as(e&r|t&~r,n,e,a,o,d)}function lr(n,e,t,r,a,o,d){return as(e^t^r,n,e,a,o,d)}function ur(n,e,t,r,a,o,d){return as(t^(e|~r),n,e,a,o,d)}function zc(n){var e,t=n.length,r=[1732584193,-271733879,-1732584194,271733878];for(e=64;e<=n.length;
vendor: 9,474 bytes, lines 16-33
16e+=64)Ds(r,n2(n.substring(e-64,e)));n=n.substring(e-64);var a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(e=0;e<n.length;e++)a[e>>2]|=n.charCodeAt(e)<<(e%4<<3);if(a[e>>2]|=128<<(e%4<<3),e>55)for(Ds(r,a),e=0;e<16;e++)a[e]=0;return a[14]=8*t,Ds(r,a),r}function n2(n){var e,t=[];for(e=0;e<64;e+=4)t[e>>2]=n.charCodeAt(e)+(n.charCodeAt(e+1)<<8)+(n.charCodeAt(e+2)<<16)+(n.charCodeAt(e+3)<<24);return t}var Bu="0123456789abcdef".split("");function r2(n){for(var e="",t=0;t<4;t++)e+=Bu[n>>8*t+4&15]+Bu[n>>8*t&15];return e}function i2(n){return String.fromCharCode(255&n,(65280&n)>>8,(16711680&n)>>16,(4278190080&n)>>24)}function Zs(n){return zc(n).map(i2).join("")}var a2=(function(n){for(var e=0;e<n.length;e++)n[e]=r2(n[e]);return n.join("")})(zc("hello"))!="5d41402abc4b2a76b9719d911017c592";function ga(n,e){if(a2){var t=(65535&n)+(65535&e);return(n>>16)+(e>>16)+(t>>16)<<16|65535&t}return n+e&4294967295}/**
17 * @license
18 * FPDF is released under a permissive license: there is no usage restriction.
19 * You may embed it freely in your application (commercial or not), with or
20 * without modifications.
21 *
22 * Reference: http://www.fpdf.org/en/script/script37.php
23 */function Qs(n,e){var t,r,a,o;if(n!==t){for(var d=(a=n,o=1+(256/n.length|0),new Array(o+1).join(a)),l=[],c=0;c<256;c++)l[c]=c;var f=0;for(c=0;c<256;c++){var w=l[c];f=(f+w+d.charCodeAt(c))%256,l[c]=l[f],l[f]=w}t=n,r=l}else l=r;var A=e.length,F=0,m=0,B="";for(c=0;c<A;c++)m=(m+(w=l[F=(F+1)%256]))%256,l[F]=l[m],l[m]=w,d=l[(l[F]+l[m])%256],B+=String.fromCharCode(e.charCodeAt(c)^d);return B}/**
24 * @license
25 * Licensed under the MIT License.
26 * http://opensource.org/licenses/mit-license
27 * Author: Owen Leong (@owenl131)
28 * Date: 15 Oct 2020
29 * References:
30 * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
31 * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
32 * http://www.fpdf.org/en/script/script37.php
33 */var Du={print:4,modify:8,copy:16,"annot-forms":32};function Ha(n,e,t,r){this.v=1,this.r=2;var a=192;n.forEach(function(l){if(Du.perm!==void 0)throw new Error("Invalid permission: "+l);a+=Du[l]}),this.padding="(¿N^NuŠAd\0NVÿú�\b..\0¶Ðh>€/\f©þdSiz";var o=(e+this.padding).substr(0,32),d=(t+this.padding).substr(0,32);this.O=this.processOwnerPassword(o,d),this.P=-(1+(255^a)),this.encryptionKey=Zs(o+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=Qs(this.encryptionKey,this.padding)}function Wa(n){if(/[^\u0000-\u00ff]/.test(n))throw new Error("Invalid PDF Name Object: "+n+", Only accept ASCII characters.");for(var e="",t=n.length,r=0;r<t;r++){var a=n.charCodeAt(r);e+=a<33||a===35||a===37||a===40||a===41||a===47||a===60||a===62||a===91||a===93||a===123||a===125||a>126?"#"+("0"+a.toString(16)).slice(-2):n[r]}return e}function qu(n){if(Kt(n)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var e={};this.subscribe=function(t,r,a){if(a=a||!1,typeof t!="string"||typeof r!="function"||typeof a!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");e.hasOwnProperty(t)||(e[t]={});var o=Math.random().toString(35);return e[t][o]=[r,!!a],o},this.unsubscribe=function(t){for(var r in e)if(e[r][t])return delete e[r][t],Object.keys(e[r]).length===0&&delete e[r],!0;return!1},this.publish=function(t){if(e.hasOwnProperty(t)){var r=Array.prototype.slice.call(arguments,1),a=[];for(var o in e[t]){var d=e[t][o];try{d[0].apply(n,r)}catch(l){St.console&&an.error("jsPDF PubSub Error",l.message,l)}d[1]&&a.push(o)}a.length&&a.forEach(this.unsubscribe)}},this.getTopics=function(){return e}}function ns(n){if(!(this instanceof ns))return new ns(n);var e="opacity,stroke-opacity".split(",");for(var t in n)n.hasOwnProperty(t)&&e.indexOf(t)>=0&&(this[t]=n[t]);this.id="",this.objectNumber=-1}function Hc(n,e){this.gState=n,this.matrix=e,this.id="",this.objectNumber=-1}function La(n,e,t,r,a){if(!(this instanceof La))return new La(n,e,t,r,a);this.type=n==="axial"?2:3,this.coords=e,this.colors=t,Hc.call(this,r,a)}function Va(n,e,t,r,a){if(!(this instanceof Va))return new Va(n,e,t,r,a);this.boundingBox=n,this.xStep=e,this.yStep=t,this.stream="",this.cloneIndex=0,Hc.call(this,r,a)}function ut(n){var e,t=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],a=arguments[2],o=arguments[3],d=[],l=1,c=16,f="S",w=null;Kt(n=n||{})==="object"&&(t=n.orientation,r=n.unit||r,a=n.format||a,o=n.compress||n.compressPdf||o,(w=n.encryption||null)!==null&&(w.userPassword=w.userPassword||"",w.ownerPassword=w.ownerPassword||"",w.userPermissions=w.userPermissions||[]),l=typeof n.userUnit=="number"?Math.abs(n.userUnit):1,n.precision!==void 0&&(e=n.precision),n.floatPrecision!==void 0&&(c=n.floatPrecision),f=n.defaultPathOperation||"S"),d=n.filters||(o===!0?["FlateEncode"]:d),r=r||"mm",t=(""+(t||"P")).toLowerCase();var A=n.putOnlyUsedFonts||!1,F={},m={internal:{},__private__:{}};m.__private__.PubSub=qu;var B="1.3",D=m.__private__.getPdfVersion=function(){return B};m.__private__.setPdfVersion=function(u){B=u};var W={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]};m.__private__.getPageFormats=function(){return W};var E=m.__private__.getPageFormat=function(u){return W[u]};a=a||"a4";var Z="compat",ee="advanced",Y=Z;function be(){this.saveGraphicsState(),T(new ht(_t,0,0,-_t,0,ji()*_t).toString()+" cm"),this.setFontSize(this.getFontSize()/_t),f="n",Y=ee}function ke(){this.restoreGraphicsState(),f="S",Y=Z}var we=m.__private__.combineFontStyleAndFontWeight=function(u,x){if(u=="bold"&&x=="normal"||u=="bold"&&x==400||u=="normal"&&x=="italic"||u=="bold"&&x=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return x&&(u=x==400||x==="normal"?u==="italic"?"italic":"normal":x!=700&&x!=="bold"||u!=="normal"?(x==700?"bold":x)+""+u:"bold"),u};m.advancedAPI=function(u){var x=Y===Z;return x&&be.call(this),typeof u!="function"||(u(this),x&&ke.call(this)),this},m.compatAPI=function(u){var x=Y===ee;return x&&ke.call(this),typeof u!="function"||(u(this),x&&be.call(this)),this},m.isAdvancedAPI=function(){return Y===ee};var ie,V=function(u){if(Y!==ee)throw new Error(u+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},se=m.roundToPrecision=m.__private__.roundToPrecision=function(u,x){var M=e||x;if(isNaN(u)||isNaN(M))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return u.toFixed(M).replace(/0+$/,"")};ie=m.hpf=m.__private__.hpf=typeof c=="number"?function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return se(u,c)}:c==="smart"?function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return se(u,u>-1&&u<1?16:5)}:function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return se(u,16)};var I=m.f2=m.__private__.f2=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.f2");return se(u,2)},R=m.__private__.f3=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.f3");return se(u,3)},X=m.scale=m.__private__.scale=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.scale");return Y===Z?u*_t:Y===ee?u:void 0},$=function(u){return X((function(x){return Y===Z?ji()-x:Y===ee?x:void 0})(u))};m.__private__.setPrecision=m.setPrecision=function(u){typeof parseInt(u,10)=="number"&&(e=parseInt(u,10))};var me,Se="00000000000000000000000000000000",_e=m.__private__.getFileId=function(){return Se},fe=m.__private__.setFileId=function(u){return Se=u!==void 0&&/^[a-fA-F0-9]{32}$/.test(u)?u.toUpperCase():Se.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),w!==null&&(j=new Ha(w.userPermissions,w.userPassword,w.ownerPassword,Se)),Se};m.setFileId=function(u){return fe(u),this},m.getFileId=function(){return _e()};var xe=m.__private__.convertDateToPDFDate=function(u){var x=u.getTimezoneOffset(),M=x<0?"+":"-",J=Math.floor(Math.abs(x/60)),re=Math.abs(x%60),Ae=[M,G(J),"'",G(re),"'"].join("");return["D:",u.getFullYear(),G(u.getMonth()+1),G(u.getDate()),G(u.getHours()),G(u.getMinutes()),G(u.getSeconds()),Ae].join("")},De=m.__private__.convertPDFDateToDate=function(u){var x=parseInt(u.substr(2,4),10),M=parseInt(u.substr(6,2),10)-1,J=parseInt(u.substr(8,2),10),re=parseInt(u.substr(10,2),10),Ae=parseInt(u.substr(12,2),10),Te=parseInt(u.substr(14,2),10);return new Date(x,M,J,re,Ae,Te,0)},Fe=m.__private__.setCreationDate=function(u){var x;if(u===void 0&&(u=new Date),u instanceof Date)x=xe(u);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(u))throw new Error("Invalid argument passed to 
33jsPDF.setCreationDate");x=u}return me=x},N=m.__private__.getCreationDate=function(u){var x=me;return u==="jsDate"&&(x=De(me)),x};m.setCreationDate=function(u){return Fe(u),this},m.getCreationDate=function(u){return N(u)};var H,G=m.__private__.padd2=function(u){return("0"+parseInt(u)).slice(-2)},K=m.__private__.padd2Hex=function(u){return("00"+(u=u.toString())).substr(u.length)},te=0,ue=[],ye=[],le=0,ve=[],Ce=[],qe=!1,Me=ye;m.__private__.setCustomOutputDestination=function(u){qe=!0,Me=u};var We=function(u){qe||(Me=u)};m.__private__.resetCustomOutputDestination=function(){qe=!1,Me=ye};var T=m.__private__.out=function(u){return u=u.toString(),le+=u.length+1,Me.push(u),Me},ze=m.__private__.write=function(u){return T(arguments.length===1?u.toString():Array.prototype.join.call(arguments," "))},mt=m.__private__.getArrayBuffer=function(u){for(var x=u.length,M=new ArrayBuffer(x),J=new Uint8Array(M);x--;)J[x]=u.charCodeAt(x);return M},Qe=[["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]];m.__private__.getStandardFonts=function(){return Qe};var Oe=n.fontSize||16;m.__private__.setFontSize=m.setFontSize=function(u){return Oe=Y===ee?u/_t:u,this};var ot,Ge=m.__private__.getFontSize=m.getFontSize=function(){return Y===Z?Oe:Oe*_t},et=n.R2L||!1;m.__private__.setR2L=m.setR2L=function(u){return et=u,this},m.__private__.getR2L=m.getR2L=function(){return et};var $e,jt=m.__private__.setZoomMode=function(u){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(u))ot=u;else if(isNaN(u)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(u)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+u+'" is not recognized.');ot=u}else ot=parseInt(u,10)};m.__private__.getZoomMode=function(){return ot};var Ct,xt=m.__private__.setPageMode=function(u){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(u)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+u+'" is not recognized.');$e=u};m.__private__.getPageMode=function(){return $e};var Ot=m.__private__.setLayoutMode=function(u){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(u)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+u+'" is not recognized.');Ct=u};m.__private__.getLayoutMode=function(){return Ct},m.__private__.setDisplayMode=m.setDisplayMode=function(u,x,M){return jt(u),Ot(x),xt(M),this};var Lt={title:"",subject:"",author:"",keywords:"",creator:""};m.__private__.getDocumentProperty=function(u){if(Object.keys(Lt).indexOf(u)===-1)throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return Lt[u]},m.__private__.getDocumentProperties=function(){return Lt},m.__private__.setDocumentProperties=m.setProperties=m.setDocumentProperties=function(u){for(var x in Lt)Lt.hasOwnProperty(x)&&u[x]&&(Lt[x]=u[x]);return this},m.__private__.setDocumentProperty=function(u,x){if(Object.keys(Lt).indexOf(u)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return Lt[u]=x};var Ke,_t,nt,en,Tt,kt={},Pt={},Zt=[],ct={},Wt={},tt={},wt={},Ut=null,Ye=0,st=[],Rt=new qu(m),cr=n.hotfixes||[],tn={},Kn={},kn=[],ht=function u(x,M,J,re,Ae,Te){if(!(this instanceof u))return new u(x,M,J,re,Ae,Te);isNaN(x)&&(x=1),isNaN(M)&&(M=0),isNaN(J)&&(J=0),isNaN(re)&&(re=1),isNaN(Ae)&&(Ae=0),isNaN(Te)&&(Te=0),this._matrix=[x,M,J,re,Ae,Te]};Object.defineProperty(ht.prototype,"sx",{get:function(){return this._matrix[0]},set:function(u){this._matrix[0]=u}}),Object.defineProperty(ht.prototype,"shy",{get:function(){return this._matrix[
vendor: 17,717 bytes, lines 33-37
331]},set:function(u){this._matrix[1]=u}}),Object.defineProperty(ht.prototype,"shx",{get:function(){return this._matrix[2]},set:function(u){this._matrix[2]=u}}),Object.defineProperty(ht.prototype,"sy",{get:function(){return this._matrix[3]},set:function(u){this._matrix[3]=u}}),Object.defineProperty(ht.prototype,"tx",{get:function(){return this._matrix[4]},set:function(u){this._matrix[4]=u}}),Object.defineProperty(ht.prototype,"ty",{get:function(){return this._matrix[5]},set:function(u){this._matrix[5]=u}}),Object.defineProperty(ht.prototype,"a",{get:function(){return this._matrix[0]},set:function(u){this._matrix[0]=u}}),Object.defineProperty(ht.prototype,"b",{get:function(){return this._matrix[1]},set:function(u){this._matrix[1]=u}}),Object.defineProperty(ht.prototype,"c",{get:function(){return this._matrix[2]},set:function(u){this._matrix[2]=u}}),Object.defineProperty(ht.prototype,"d",{get:function(){return this._matrix[3]},set:function(u){this._matrix[3]=u}}),Object.defineProperty(ht.prototype,"e",{get:function(){return this._matrix[4]},set:function(u){this._matrix[4]=u}}),Object.defineProperty(ht.prototype,"f",{get:function(){return this._matrix[5]},set:function(u){this._matrix[5]=u}}),Object.defineProperty(ht.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(ht.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(ht.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(ht.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),ht.prototype.join=function(u){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(ie).join(u)},ht.prototype.multiply=function(u){var x=u.sx*this.sx+u.shy*this.shx,M=u.sx*this.shy+u.shy*this.sy,J=u.shx*this.sx+u.sy*this.shx,re=u.shx*this.shy+u.sy*this.sy,Ae=u.tx*this.sx+u.ty*this.shx+this.tx,Te=u.tx*this.shy+u.ty*this.sy+this.ty;return new ht(x,M,J,re,Ae,Te)},ht.prototype.decompose=function(){var u=this.sx,x=this.shy,M=this.shx,J=this.sy,re=this.tx,Ae=this.ty,Te=Math.sqrt(u*u+x*x),Ve=(u/=Te)*M+(x/=Te)*J;M-=u*Ve,J-=x*Ve;var Je=Math.sqrt(M*M+J*J);return Ve/=Je,u*(J/=Je)<x*(M/=Je)&&(u=-u,x=-x,Ve=-Ve,Te=-Te),{scale:new ht(Te,0,0,Je,0,0),translate:new ht(1,0,0,1,re,Ae),rotate:new ht(u,x,-x,u,0,0),skew:new ht(1,0,Ve,1,0,0)}},ht.prototype.toString=function(u){return this.join(" ")},ht.prototype.inversed=function(){var u=this.sx,x=this.shy,M=this.shx,J=this.sy,re=this.tx,Ae=this.ty,Te=1/(u*J-x*M),Ve=J*Te,Je=-x*Te,bt=-M*Te,At=u*Te;return new ht(Ve,Je,bt,At,-Ve*re-bt*Ae,-Je*re-At*Ae)},ht.prototype.applyToPoint=function(u){var x=u.x*this.sx+u.y*this.shx+this.tx,M=u.x*this.shy+u.y*this.sy+this.ty;return new yi(x,M)},ht.prototype.applyToRectangle=function(u){var x=this.applyToPoint(u),M=this.applyToPoint(new yi(u.x+u.w,u.y+u.h));return new Ki(x.x,x.y,M.x-x.x,M.y-x.y)},ht.prototype.clone=function(){var u=this.sx,x=this.shy,M=this.shx,J=this.sy,re=this.tx,Ae=this.ty;return new ht(u,x,M,J,re,Ae)},m.Matrix=ht;var fr=m.matrixMult=function(u,x){return x.multiply(u)},hr=new ht(1,0,0,1,0,0);m.unitMatrix=m.identityMatrix=hr;var Hn=function(u,x){if(!Wt[u]){var M=(x instanceof La?"Sh":"P")+(Object.keys(ct).length+1).toString(10);x.id=M,Wt[u]=M,ct[M]=x,Rt.publish("addPattern",x)}};m.ShadingPattern=La,m.TilingPattern=Va,m.addShadingPattern=function(u,x){return V("addShadingPattern()"),Hn(u,x),this},m.beginTilingPattern=function(u){V("beginTilingPattern()"),va(u.boundingBox[0],u.boundingBox[1],u.boundingBox[2]-u.boundingBox[0],u.boundingBox[3]-u.boundingBox[1],u.matrix)},m.endTilingPattern=function(u,x){V("endTilingPattern()"),x.stream=Ce[H].join(`
34`),Hn(u,x),Rt.publish("endTilingPattern",x),kn.pop().restore()};var Wn,nn=m.__private__.newObject=function(){var u=mn();return bn(u,!0),u},mn=m.__private__.newObjectDeferred=function(){return te++,ue[te]=function(){return le},te},bn=function(u,x){return x=typeof x=="boolean"&&x,ue[u]=le,x&&T(u+" 0 obj"),u},xr=m.__private__.newAdditionalObject=function(){var u={objId:mn(),content:""};return ve.push(u),u},Pr=mn(),Bn=mn(),Zn=m.__private__.decodeColorString=function(u){var x=u.split(" ");if(x.length!==2||x[1]!=="g"&&x[1]!=="G")x.length!==5||x[4]!=="k"&&x[4]!=="K"||(x=[(1-x[0])*(1-x[3]),(1-x[1])*(1-x[3]),(1-x[2])*(1-x[3]),"r"]);else{var M=parseFloat(x[0]);x=[M,M,M,"r"]}for(var J="#",re=0;re<3;re++)J+=("0"+Math.floor(255*parseFloat(x[re])).toString(16)).slice(-2);return J},dr=m.__private__.encodeColorString=function(u){var x;typeof u=="string"&&(u={ch1:u});var M=u.ch1,J=u.ch2,re=u.ch3,Ae=u.ch4,Te=u.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof M=="string"&&M.charAt(0)!=="#"){var Ve=new Uc(M);if(Ve.ok)M=Ve.toHex();else if(!/^\d*\.?\d*$/.test(M))throw new Error('Invalid color "'+M+'" passed to jsPDF.encodeColorString.')}if(typeof M=="string"&&/^#[0-9A-Fa-f]{3}$/.test(M)&&(M="#"+M[1]+M[1]+M[2]+M[2]+M[3]+M[3]),typeof M=="string"&&/^#[0-9A-Fa-f]{6}$/.test(M)){var Je=parseInt(M.substr(1),16);M=Je>>16&255,J=Je>>8&255,re=255&Je}if(J===void 0||Ae===void 0&&M===J&&J===re)x=typeof M=="string"?M+" "+Te[0]:u.precision===2?I(M/255)+" "+Te[0]:R(M/255)+" "+Te[0];else if(Ae===void 0||Kt(Ae)==="object"){if(Ae&&!isNaN(Ae.a)&&Ae.a===0)return["1.","1.","1.",Te[1]].join(" ");x=typeof M=="string"?[M,J,re,Te[1]].join(" "):u.precision===2?[I(M/255),I(J/255),I(re/255),Te[1]].join(" "):[R(M/255),R(J/255),R(re/255),Te[1]].join(" ")}else x=typeof M=="string"?[M,J,re,Ae,Te[2]].join(" "):u.precision===2?[I(M),I(J),I(re),I(Ae),Te[2]].join(" "):[R(M),R(J),R(re),R(Ae),Te[2]].join(" ");return x},In=m.__private__.getFilters=function(){return d},Qn=m.__private__.putStream=function(u){var x=(u=u||{}).data||"",M=u.filters||In(),J=u.alreadyAppliedFilters||[],re=u.addLength1||!1,Ae=x.length,Te=u.objectId,Ve=function($t){return $t};if(w!==null&&Te===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");w!==null&&(Ve=j.encryptor(Te,0));var Je={};M===!0&&(M=["FlateEncode"]);var bt=u.additionalKeyValues||[],At=(Je=ut.API.processDataByFilters!==void 0?ut.API.processDataByFilters(x,M):{data:x,reverseChain:[]}).reverseChain+(Array.isArray(J)?J.join(" "):J.toString());if(Je.data.length!==0&&(bt.push({key:"Length",value:Je.data.length}),re===!0&&bt.push({key:"Length1",value:Ae})),At.length!=0)if(At.split("/").length-1==1)bt.push({key:"Filter",value:At});else{bt.push({key:"Filter",value:"["+At+"]"});for(var Mt=0;Mt<bt.length;Mt+=1)if(bt[Mt].key==="DecodeParms"){for(var fn=[],Gt=0;Gt<Je.reverseChain.split("/").length-1;Gt+=1)fn.push("null");fn.push(bt[Mt].value),bt[Mt].value="["+fn.join(" ")+"]"}}T("<<");for(var Ht=0;Ht<bt.length;Ht++)T("/"+bt[Ht].key+" "+bt[Ht].value);T(">>"),Je.data.length!==0&&(T("stream"),T(Ve(Je.data)),T("endstream"))},Er=m.__private__.putPage=function(u){var x=u.number,M=u.data,J=u.objId,re=u.contentsObjId;bn(J,!0),T("<</Type /Page"),T("/Parent "+u.rootDictionaryObjId+" 0 R"),T("/Resources "+u.resourceDictionaryObjId+" 0 R"),T("/MediaBox ["+parseFloat(ie(u.mediaBox.bottomLeftX))+" "+parseFloat(ie(u.mediaBox.bottomLeftY))+" "+ie(u.mediaBox.topRightX)+" "+ie(u.mediaBox.topRightY)+"]"),u.cropBox!==null&&T("/CropBox ["+ie(u.cropBox.bottomLeftX)+" "+ie(u.cropBox.bottomLeftY)+" "+ie(u.cropBox.topRightX)+" "+ie(u.cropBox.topRightY)+"]"),u.bleedBox!==null&&T("/BleedBox ["+ie(u.bleedBox.bottomLeftX)+" "+ie(u.bleedBox.bottomLeftY)+" "+ie(u.bleedBox.topRightX)+" "+ie(u.bleedBox.topRightY)+"]"),u.trimBox!==null&&T("/TrimBox ["+ie(u.trimBox.bottomLeftX)+" "+ie(u.trimBox.bottomLeftY)+" "+ie(u.trimBox.topRightX)+" "+ie(u.trimBox.topRightY)+"]"),u.artBox!==null&&T("/ArtBox ["+ie(u.artBox.bottomLeftX)+" "+ie(u.artBox.bottomLeftY)+" "+ie(u.artBox.topRightX)+" "+ie(u.artBox.topRightY)+"]"),typeof u.userUnit=="number"&&u.userUnit!==1&&T("/UserUnit "+u.userUnit),Rt.publish("putPage",{objId:J,pageContext:st[x],pageNumber:x,page:M}),T("/Contents "+re+" 0 R"),T(">>"),T("endobj");var Ae=M.join(`
35`);return Y===ee&&(Ae+=`
36Q`),bn(re,!0),Qn({data:Ae,filters:In(),objectId:re}),T("endobj"),J},Vn=m.__private__.putPages=function(){var u,x,M=[];for(u=1;u<=Ye;u++)st[u].objId=mn(),st[u].contentsObjId=mn();for(u=1;u<=Ye;u++)M.push(Er({number:u,data:Ce[u],objId:st[u].objId,contentsObjId:st[u].contentsObjId,mediaBox:st[u].mediaBox,cropBox:st[u].cropBox,bleedBox:st[u].bleedBox,trimBox:st[u].trimBox,artBox:st[u].artBox,userUnit:st[u].userUnit,rootDictionaryObjId:Pr,resourceDictionaryObjId:Bn}));bn(Pr,!0),T("<</Type /Pages");var J="/Kids [";for(x=0;x<Ye;x++)J+=M[x]+" 0 R ";T(J+"]"),T("/Count "+Ye),T(">>"),T("endobj"),Rt.publish("postPutPages")},pr=function(u){Rt.publish("putFont",{font:u,out:T,newObject:nn,putStream:Qn}),u.isAlreadyPutted!==!0&&(u.objectNumber=nn(),T("<<"),T("/Type /Font"),T("/BaseFont /"+Wa(u.postScriptName)),T("/Subtype /Type1"),typeof u.encoding=="string"&&T("/Encoding /"+u.encoding),T("/FirstChar 32"),T("/LastChar 255"),T(">>"),T("endobj"))},Cr=function(u){u.objectNumber=nn();var x=[];x.push({key:"Type",value:"/XObject"}),x.push({key:"Subtype",value:"/Form"}),x.push({key:"BBox",value:"["+[ie(u.x),ie(u.y),ie(u.x+u.width),ie(u.y+u.height)].join(" ")+"]"}),x.push({key:"Matrix",value:"["+u.matrix.toString()+"]"});var M=u.pages[1].join(`
37`);Qn({data:M,additionalKeyValues:x,objectId:u.objectNumber}),T("endobj")},Qr=function(u,x){x||(x=21);var M=nn(),J=(function(Te,Ve){var Je,bt=[],At=1/(Ve-1);for(Je=0;Je<1;Je+=At)bt.push(Je);if(bt.push(1),Te[0].offset!=0){var Mt={offset:0,color:Te[0].color};Te.unshift(Mt)}if(Te[Te.length-1].offset!=1){var fn={offset:1,color:Te[Te.length-1].color};Te.push(fn)}for(var Gt="",Ht=0,$t=0;$t<bt.length;$t++){for(Je=bt[$t];Je>Te[Ht+1].offset;)Ht++;var Qt=Te[Ht].offset,sn=(Je-Qt)/(Te[Ht+1].offset-Qt),On=Te[Ht].color,Yr=Te[Ht+1].color;Gt+=K(Math.round((1-sn)*On[0]+sn*Yr[0]).toString(16))+K(Math.round((1-sn)*On[1]+sn*Yr[1]).toString(16))+K(Math.round((1-sn)*On[2]+sn*Yr[2]).toString(16))}return Gt.trim()})(u.colors,x),re=[];re.push({key:"FunctionType",value:"0"}),re.push({key:"Domain",value:"[0.0 1.0]"}),re.push({key:"Size",value:"["+x+"]"}),re.push({key:"BitsPerSample",value:"8"}),re.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),re.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),Qn({data:J,additionalKeyValues:re,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:M}),T("endobj"),u.objectNumber=nn(),T("<< /ShadingType "+u.type),T("/ColorSpace /DeviceRGB");var Ae="/Coords ["+ie(parseFloat(u.coords[0]))+" "+ie(parseFloat(u.coords[1]))+" ";u.type===2?Ae+=ie(parseFloat(u.coords[2]))+" "+ie(parseFloat(u.coords[3])):Ae+=ie(parseFloat(u.coords[2]))+" "+ie(parseFloat(u.coords[3]))+" "+ie(parseFloat(u.coords[4]))+" "+ie(parseFloat(u.coords[5])),T(Ae+="]"),u.matrix&&T("/Matrix ["+u.matrix.toString()+"]"),T("/Function "+M+" 0 R"),T("/Extend [true true]"),T(">>"),T("endobj")},ei=function(u,x){var M=mn(),J=nn();x.push({resourcesOid:M,objectOid:J}),u.objectNumber=J;var re=[];re.push({key:"Type",value:"/Pattern"}),re.push({key:"PatternType",value:"1"}),re.push({key:"PaintType",value:"1"}),re.push({key:"TilingType",value:"1"}),re.push({key:"BBox",value:"["+u.boundingBox.map(ie).join(" ")+"]"}),re.push({key:"XStep",value:ie(u.xStep)}),re.push({key:"YStep",value:ie(u.yStep)}),re.push({key:"Resources",value:M+" 0 R"}),u.matrix&&re.push({key:"Matrix",value:"["+u.matrix.toString()+"]"}),Qn({data:u.stream,additionalKeyValues:re,objectId:u.objectNumber}),T("endobj")},$i=function(u){for(var x in u.objectNumber=nn(),T("<<"),u)switch(x){case"opacity":T("/ca "+I(u[x]));break;case"stroke-opacity":T("/CA "+I(u[x]))}T(">>"),T("endobj")},ti=function(u){bn(u.resourcesOid,!0),T("<<"),T("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),(function(){for(var x in T("/Font <<"),kt)kt.hasOwnProperty(x)&&(A===!1||A===!0&&F.hasOwnProperty(x))&&T("/"+x+" "+kt[x].objectNumber+" 0 R");T(">>")})(),(function(){if(Object.keys(ct).length>0){for(var x in T("/Shading <<"),ct)ct.hasOwnProperty(x)&&ct[x]instanceof La&&ct[x].objectNumber>=0&&T("/"+x+" "+ct[x].objectNumber+" 0 R");Rt.publish("putShadingPatternDict"),T(">>")}})(),(function(x){if(Object.keys(ct).length>0){for(var M in T("/Pattern <<"),ct)ct.hasOwnProperty(M)&&ct[M]instanceof m.TilingPattern&&ct[M].objectNumber>=0&&ct[M].objectNumber<x&&T("/"+M+" "+ct[M].objectNumber+" 0 R");Rt.publish("putTilingPatternDict"),T(">>")}})(u.objectOid),(function(){if(Object.keys(tt).length>0){var x;for(x in T("/ExtGState <<"),tt)tt.hasOwnProperty(x)&&tt[x].objectNumber>=0&&T("/"+x+" "+tt[x].objectNumber+" 0 R");Rt.publish("putGStateDict"),T(">>")}})(),(function(){for(var x in T("/XObject <<"),tn)tn.hasOwnProperty(x)&&tn[x].objectNumber>=0&&T("/"+x+" "+tn[x].objectNumber+" 0 R");Rt.publish("putXobjectDict"),T(">>")})(),T(">>"),T("endobj")},Pn=function(u){Pt[u.fontName]=Pt[u.fontName]||{},Pt[u.fontName][u.fontStyle]=u.id},Ci=function(u,x,M,J,re){var Ae={id:"F"+(Object.keys(kt).length+1).toString(10),postScriptName:u,fontName:x,fontStyle:M,encoding:J,isStandardFont:re||!1,metadata:{}};return Rt.publish("addFont",{font:Ae,instance:this}),kt[Ae.id]=Ae,Pn(Ae),Ae.id},Dn=m.__private__.pdfEscape=m.pdfEscape=function(u,x){return(function(M,J){var re,Ae,Te,Ve,Je,bt,At,Mt,fn;if(Te=(J=J||{}).sourceEncoding||"Unicode",Je=J.outputEncoding,(J.autoencode||Je)&&kt[Ke].metadata&&kt[Ke].metadata[Te]&&kt[Ke].metadata[Te].encoding&&(Ve=kt[Ke].metadata[Te].encoding,!Je&&kt[Ke].encoding&&(Je=kt[Ke].encoding),!Je&&Ve.codePages&&(Je=Ve.codePages[0]),typeof Je=="string"&&(Je=Ve[Je]),Je)){for(At=!1,bt=[],re=0,Ae=M.length;re<Ae;re++)(Mt=Je[M.charCodeAt(re)])?bt.push(String.fromCharCode(Mt)):bt.push(M[re]),bt[re].charCodeAt(0)>>8&&(At=!0);M=bt.join("")}for(re=M.length;At===void 0&&re!==0;)M.charCodeAt(re-1)>>8&&(At=!0),re--;if(!At)return M;for(bt=J.noBOM?[]:[254,255],re=0,Ae=M.length;re<Ae;re++){if((fn=(Mt=M.charCodeAt(re))>>8)>>8)throw new Error("Character at position "+re+" of string '"+M+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");bt.push(fn),bt.push(Mt-(fn<<8))}return String.fromCharCode.apply(void 0,bt)})(u,x).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ni=m.__private__.beginPage=function(u){Ce[++Ye]=[],st[Ye]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(u[0]),topRightY:Number(u[1])}},Ir(Ye),We(Ce[H])},Ii=function(u,x){var M,J,re;switch(t=x||t,typeof u=="string"&&(M=E(u.toLowerCase()),Array.isArray(M)&&(J=M[0],re=M[1])),Array.isArray(u)&&(J=u[0]*_t,re=u[1]*_t),isNaN(J)&&(J=a[0],re=a[1]),(J>14400||re>14400)&&(an.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),J=Math.min(14400,J),re=Math.min(14400,re)),a=[J,re],t.substr(0,1)){case"l":re>J&&(a=[re,J]);break;case"p":J>re&&(a=[re,J])}ni(a),Qa(gt),T(Wr),Xi!==0&&T(Xi+" J"),Gr!==0&&T(Gr+" j"),Rt.publish("addPage",{pageNumber:Ye})},_r=function(u){u>0&&u<=Ye&&(Ce.splice(u,1),st.splice(u,1),Ye--,H>Ye&&(H=Ye),this.setPage(H))},Ir=function(u){u>0&&u<=Ye&&(H=u)},Fi=m.__private__.getNumberOfPages=m.getNumberOfPages=function(){return Ce.length-1},zr=function(u,x,M){var J,re=void 0;return M=M||{},u=u!==void 0?u:kt[Ke].fontName,x=x!==void 0?x:kt[Ke].fontStyle,J=u.toLowerCase(),Pt[J]!==void 0&&Pt[J][x]!==void 0?re=Pt[J][x]:Pt[u]!==void 0&&Pt[u][x]!==void 0?re=Pt[u][x]:M.disableWarning===!1&&an.warn("Unable to look up font label for font '"+u+"', '"+x+"'. Refer to getFontList() for available fonts."),re||M.noFallback||(re=Pt.times[x])==null&&(re=Pt.times.normal),re},qn=m.__private__.putInfo=function(){var u=nn(),x=function(J){return J};for(var M in w!==null&&(x=j.encryptor(u,0)),T("<<"),T("/Producer ("+Dn(x("jsPDF "+ut.version))+")"),Lt)Lt.hasOwnProperty(M)&&Lt[M]&&T("/"+M.substr(0,1).toUpperCase()+M.substr(1)+" ("+Dn(x(Lt[M]))+")");T("/CreationDate ("+Dn(x(me))+")"),T(">>"),T("endobj")},Hr=m.__private__.putCatalog=function(u){var x=(u=u||{}).rootDictionaryObjId||Pr;switch(nn(),T("<<"),T("/Type /Catalog"),T("/Pages "+x+" 0 R"),ot||(ot="fullwidth"),ot){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 M=""+ot;M.substr(M.length-1)==="%"&&(ot=parseInt(ot)/100),typeof ot=="number"&&T("/OpenAction [3 0 R /XYZ null null "+I(ot)+"]")}switch(Ct||(Ct="continuous"),Ct){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")}$e&&T("/PageMode /"+$e),Rt.publish("putCatalog"),T(">>"),T("endobj")},Oi=m.__private__.putTrailer=function(){T("trailer"),T("<<"),T("/Size "+(te+1)),T("/Root "+te+" 0 R"),T("/Info "+(te-1)+" 0 R"),w!==null&&T("/Encrypt "+j.oid+" 0 R"),T("/ID [ <"+Se+"> <"+Se+"> ]"),T(">>")},on=m.__private__.putHeader=function(){T("%PDF-"+B),T("%ºß¬à")},ri=m.__private__.putXRef=function(){var u="0000000000";T("xref"),T("0 "+(te+1)),T("0000000000 65535 f ");for(var x=1;x<=te;x++)typeof ue[x]=="function"?T((u+ue[x]()).slice(-10)+" 00000 n "):ue[x]!==void 0?T((u+ue[x]).slice(-10)+" 00000 n "):T("0000000000 00000 n ")},gr=m.__private__.buildDocument=function(){var u;te=0,le=0,ye=[],ue=[],ve=[],Pr=mn(),Bn=mn(),We(ye),Rt.publish("buildDocument"),on(),Vn(),(function(){Rt.publish("putAdditionalObjects");for(var M=0;M<ve.length;M++){var J=ve[M];bn(J.objId,!0),T(J.content),T("endobj")}Rt.publish("postPutAdditionalObjects")})(),u=[],(function(){for(var M in kt)kt.hasOwnProperty(M)&&(A===!1||A===!0&&F.hasOwnProperty(M))&&pr(kt[M])})(),(function(){var M;for(M in tt)tt.hasOwnProperty(M)&&$i(tt[M])}
37)(),(function(){for(var M in tn)tn.hasOwnProperty(M)&&Cr(tn[M])})(),(function(M){var J;for(J in ct)ct.hasOwnProperty(J)&&(ct[J]instanceof La?Qr(ct[J]):ct[J]instanceof Va&&ei(ct[J],M))})(u),Rt.publish("putResources"),u.forEach(ti),ti({resourcesOid:Bn,objectOid:Number.MAX_SAFE_INTEGER}),Rt.publish("postPutResources"),w!==null&&(j.oid=nn(),T("<<"),T("/Filter /Standard"),T("/V "+j.v),T("/R "+j.r),T("/U <"+j.toHexString(j.U)+">"),T("/O <"+j.toHexString(j.O)+">"),T("/P "+j.P),T(">>"),T("endobj")),qn(),Hr();var x=le;return ri(),Oi(),T("startxref"),T(""+x),T("%%EOF"),We(Ce[H]),ye.join(`
38`)},ii=m.__private__.getBlob=function(u){return new Blob([mt(u)],{type:"application/pdf"})},ai=function(u){for(;u.firstChild;)u.removeChild(u.firstChild)},p=function(u){var x,M=u.document,J=M.documentElement,re=M.head,Ae=M.body;return re||(re=M.createElement("head"),J.appendChild(re)),Ae||(Ae=M.createElement("body"),J.appendChild(Ae)),ai(re),ai(Ae),(x=M.createElement("style")).appendChild(M.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),re.appendChild(x),{document:M,body:Ae}},b=m.output=m.__private__.output=(Wn=function(u,x){switch(typeof(x=x||{})=="string"?x={filename:x}:x.filename=x.filename||"generated.pdf",u){case void 0:return gr();case"save":m.save(x.filename);break;case"arraybuffer":return mt(gr());case"blob":return ii(gr());case"bloburi":case"bloburl":if(St.URL!==void 0&&typeof St.URL.createObjectURL=="function")return St.URL&&St.URL.createObjectURL(ii(gr()))||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 M="",J=gr();try{M=ju(J)}catch{M=ju(unescape(encodeURIComponent(J)))}return"data:application/pdf;filename="+encodeURIComponent(x.filename)+";base64,"+M;case"pdfobjectnewwindow":if(Object.prototype.toString.call(St)==="[object Window]"){var re="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",Ae=!x.pdfObjectUrl;Ae||(re=x.pdfObjectUrl);var Te=St.open();if(Te!==null){var Ve=p(Te),Je=Ve.document.createElement("script"),bt=this;Je.src=re,Ae&&(Je.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",Je.crossOrigin="anonymous"),Je.onload=function(){Te.PDFObject.embed(bt.output("dataurlstring"),x)},Ve.body.appendChild(Je)}return Te}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call(St)==="[object Window]"){var At=x.pdfJsUrl||"examples/PDF.js/web/viewer.html",Mt=St.open();if(Mt!==null){var fn=p(Mt),Gt=fn.document.createElement("iframe"),Ht=At.indexOf("?")===-1?"?":"&";bt=this,Gt.id="pdfViewer",Gt.width="500px",Gt.height="400px",Gt.src=At+Ht+"file=&downloadName="+encodeURIComponent(x.filename),Gt.onload=function(){Mt.document.title=x.filename,Gt.contentWindow.PDFViewerApplication.open(bt.output("bloburl"))},fn.body.appendChild(Gt)}return Mt}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call(St)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var $t=St.open();if($t!==null){var Qt=p($t),sn=Qt.document.createElement("iframe");sn.src=this.output("datauristring",x),Qt.body.appendChild(sn),$t.document.title=x.filename}if($t||typeof safari>"u")return $t;break;case"datauri":case"dataurl":return St.document.location.href=this.output("datauristring",x);default:return null}},Wn.foo=function(){try{return Wn.apply(this,arguments)}catch(M){var u=M.stack||"";~u.indexOf(" at ")&&(u=u.split(" at ")[1]);var x="Error in function "+u.split(`
39`)[0].split("<")[0]+": "+M.message;if(!St.console)throw new Error(x);St.console.error(x,M),St.alert&&alert(x)}},Wn.foo.bar=Wn,Wn.foo),P=function(u){return Array.isArray(cr)===!0&&cr.indexOf(u)>-1};switch(r){case"pt":_t=1;break;case"mm":_t=72/25.4;break;case"cm":_t=72/2.54;break;case"in":_t=72;break;case"px":_t=P("px_scaling")==1?.75:96/72;break;case"pc":case"em":_t=12;break;case"ex":_t=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);_t=r}var j=null;Fe(),fe();var pe=m.__private__.getPageInfo=m.getPageInfo=function(u){if(isNaN(u)||u%1!=0)throw new Error("Invalid argument passed to 
39jsPDF.getPageInfo");return{objId:st[u].objId,pageNumber:u,pageContext:st[u]}},ce=m.__private__.getPageInfoByObjId=function(u){if(isNaN(u)||u%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var x in st)if(st[x].objId===u)break;return pe(x)},Pe=m.__private__.getCurrentPageInfo=m.getCurrentPageInfo=function(){return{objId:st[H].objId,pageNumber:H,pageContext:st[H]}};m.addPage=function(){return Ii.apply(this,arguments),this},m.setPage=function(){return Ir.apply(this,arguments),We.call(this,Ce[H]),this},m.insertPage=function(u){return this.addPage(),this.movePage(H,u),this},m.movePage=function(u,x){var M,J;if(u>x){M=Ce[u],J=st[u];for(var re=u;re>x;re--)Ce[re]=Ce[re-1],st[re]=st[re-1];Ce[x]=M,st[x]=J,this.setPage(x)}else if(u<x){M=Ce[u],J=st[u];for(var Ae=u;Ae<x;Ae++)Ce[Ae]=Ce[Ae+1],st[Ae]=st[Ae+1];Ce[x]=M,st[x]=J,this.setPage(x)}return this},m.deletePage=function(){return _r.apply(this,arguments),this},m.__private__.text=m.text=function(u,x,M,J,re){var Ae,Te,Ve,Je,bt,At,Mt,fn,Gt,Ht=(J=J||{}).scope||this;if(typeof u=="number"&&typeof x=="number"&&(typeof M=="string"||Array.isArray(M))){var $t=M;M=x,x=u,u=$t}if(arguments[3]instanceof ht==0?(Ve=arguments[4],Je=arguments[5],Kt(Mt=arguments[3])==="object"&&Mt!==null||(typeof Ve=="string"&&(Je=Ve,Ve=null),typeof Mt=="string"&&(Je=Mt,Mt=null),typeof Mt=="number"&&(Ve=Mt,Mt=null),J={flags:Mt,angle:Ve,align:Je})):(V("The transform parameter of text() with a Matrix value"),Gt=re),isNaN(x)||isNaN(M)||u==null)throw new Error("Invalid arguments passed to jsPDF.text");if(u.length===0)return Ht;var Qt,sn="",On=typeof J.lineHeightFactor=="number"?J.lineHeightFactor:tr,Yr=Ht.internal.scaleFactor;function Bi(ln){return ln=ln.split("	").join(Array(J.TabLen||9).join(" ")),Dn(ln,Mt)}function xi(ln){for(var un,xn=ln.concat(),Tn=[],qi=xn.length;qi--;)typeof(un=xn.shift())=="string"?Tn.push(un):Array.isArray(ln)&&(un.length===1||un[1]===void 0&&un[2]===void 0)?Tn.push(un[0]):Tn.push([un[0],un[1],un[2]]);return Tn}function g(ln,un){var xn;if(typeof ln=="string")xn=un(ln)[0];else if(Array.isArray(ln)){for(var Tn,qi,oo=ln.concat(),Ba=[],bo=oo.length;bo--;)typeof(Tn=oo.shift())=="string"?Ba.push(un(Tn)[0]):Array.isArray(Tn)&&typeof Tn[0]=="string"&&(qi=un(Tn[0],Tn[1],Tn[2]),Ba.push([qi[0],qi[1],qi[2]]));xn=Ba}return xn}var y=!1,k=!0;if(typeof u=="string")y=!0;else if(Array.isArray(u)){var q=u.concat();Te=[];for(var he,ae=q.length;ae--;)(typeof(he=q.shift())!="string"||Array.isArray(he)&&typeof he[0]!="string")&&(k=!1);y=k}if(y===!1)throw new Error('Type of text must be string or Array. "'+u+'" is not recognized.');typeof u=="string"&&(u=u.match(/[\r?\n]/)?u.split(/\r\n|\r|\n/g):[u]);var Ne=Oe/Ht.internal.scaleFactor,je=Ne*(On-1);switch(J.baseline){case"bottom":M-=je;break;case"top":M+=Ne-je;break;case"hanging":M+=Ne-2*je;break;case"middle":M+=Ne/2-je}if((At=J.maxWidth||0)>0&&(typeof u=="string"?u=Ht.splitTextToSize(u,At):Object.prototype.toString.call(u)==="[object Array]"&&(u=u.reduce(function(ln,un){return ln.concat(Ht.splitTextToSize(un,At))},[]))),Ae={text:u,x,y:M,options:J,mutex:{pdfEscape:Dn,activeFontKey:Ke,fonts:kt,activeFontSize:Oe}},Rt.publish("preProcessText",Ae),u=Ae.text,Ve=(J=Ae.options).angle,Gt instanceof ht==0&&Ve&&typeof Ve=="number"){Ve*=Math.PI/180,J.rotationDirection===0&&(Ve=-Ve),Y===ee&&(Ve=-Ve);var dt=Math.cos(Ve),vt=Math.sin(Ve);Gt=new ht(dt,vt,-vt,dt,0,0)}else Ve&&Ve instanceof ht&&(Gt=Ve);Y!==ee||Gt||(Gt=hr),(bt=J.charSpace||si)!==void 0&&(sn+=ie(X(bt))+` Tc
40`,this.setCharSpace(this.getCharSpace()||0)),(fn=J.horizontalScale)!==void 0&&(sn+=ie(100*fn)+` Tz
41`),J.lang;var ft=-1,Yt=J.renderingMode!==void 0?J.renderingMode:J.stroke,En=Ht.internal.getCurrentPageInfo().pageContext;switch(Yt){case 0:case!1:case"fill":ft=0;break;case 1:case!0:case"stroke":ft=1;break;case 2:case"fillThenStroke":ft=2;break;case 3:case"invisible":ft=3;break;case 4:case"fillAndAddForClipping":ft=4;break;case 5:case"strokeAndAddPathForClipping":ft=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":ft=6;break;case 7:case"addToPathForClipping":ft=7}var rr=En.usedRenderingMode!==void 0?En.usedRenderingMode:-1;ft!==-1?sn+=ft+` Tr
42`:rr!==-1&&(sn+=`0 Tr
43`),ft!==-1&&(En.usedRenderingMode=ft),Je=J.align||"left";var pn,Jr=Oe*On,ta=Ht.internal.pageSize.getWidth(),_i=kt[Ke];bt=J.charSpace||si,At=J.maxWidth||0,Mt=Object.assign({autoencode:!0,noBOM:!0},J.flags);var wa=[],ro=function(ln){return Ht.getStringUnitWidth(ln,{font:_i,charSpace:bt,fontSize:Oe,doKerning:!1})*Oe/Yr};if(Object.prototype.toString.call(u)==="[object Array]"){var vr;Te=xi(u),Je!=="left"&&(pn=Te.map(ro));var Ar,Ta=0;if(Je==="right"){x-=pn[0],u=[],ae=Te.length;for(var na=0;na<ae;na++)na===0?(Ar=Fn(x),vr=Fr(M)):(Ar=X(Ta-pn[na]),vr=-Jr),u.push([Te[na],Ar,vr]),Ta=pn[na]}else if(Je==="center"){x-=pn[0]/2,u=[],ae=Te.length;for(var ra=0;ra<ae;ra++)ra===0?(Ar=Fn(x),vr=Fr(M)):(Ar=X((Ta-pn[ra])/2),vr=-Jr),u.push([Te[ra],Ar,vr]),Ta=pn[ra]}else if(Je==="left"){u=[],ae=Te.length;for(var Ra=0;Ra<ae;Ra++)u.push(Te[Ra])}else if(Je==="justify"&&_i.encoding==="Identity-H"){u=[],ae=Te.length,At=At!==0?At:ta;for(var ya=0,Cn=0;Cn<ae;Cn++)if(vr=Cn===0?Fr(M):-Jr,Ar=Cn===0?Fn(x):ya,Cn<ae-1){var os=X((At-pn[Cn])/(Te[Cn].split(" ").length-1)),Si=Te[Cn].split(" ");u.push([Si[0]+" ",Ar,vr]),ya=0;for(var ui=1;ui<Si.length;ui++){var ba=(ro(Si[ui-1]+" "+Si[ui])-ro(Si[ui]))*Yr+os;ui==Si.length-1?u.push([Si[ui],ba,0]):u.push([Si[ui]+" ",ba,0]),ya-=ba}}else u.push([Te[Cn],Ar,vr]);u.push(["",ya,0])}else{if(Je!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(u=[],ae=Te.length,At=At!==0?At:ta,Cn=0;Cn<ae;Cn++){vr=Cn===0?Fr(M):-Jr,Ar=Cn===0?Fn(x):0;var io=Te[Cn].split(" ").length-1,ao=io>0?(At-pn[Cn])/io:0;Cn<ae-1?wa.push(ie(X(ao))):wa.push(0),u.push([Te[Cn],Ar,vr])}}}(typeof J.R2L=="boolean"?J.R2L:et)===!0&&(u=g(u,function(ln,un,xn){return[ln.split("").reverse().join(""),un,xn]})),Ae={text:u,x,y:M,options:J,mutex:{pdfEscape:Dn,activeFontKey:Ke,fonts:kt,activeFontSize:Oe}},Rt.publish("postProcessText",Ae),u=Ae.text,Qt=Ae.mutex.isHex||!1;var Ma=kt[Ke].encoding;Ma!=="WinAnsiEncoding"&&Ma!=="StandardEncoding"||(u=g(u,function(ln,un,xn){return[Bi(ln),un,xn]})),Te=xi(u),u=[];for(var xa,_a,ia,Di=Array.isArray(Te[0])?1:0,aa="",ja=function(ln,un,xn){var Tn="";return xn instanceof ht?(xn=typeof J.angle=="number"?fr(xn,new ht(1,0,0,1,ln,un)):fr(new ht(1,0,0,1,ln,un),xn),Y===ee&&(xn=fr(new ht(1,0,0,-1,0,0),xn)),Tn=xn.join(" ")+` Tm
44`):Tn=ie(ln)+" "+ie(un)+` Td
45`,Tn},ir=0;ir<Te.length;ir++){switch(aa="",Di){case 1:ia=(Qt?"<":"(")+Te[ir][0]+(Qt?">":")"),xa=parseFloat(Te[ir][1]),_a=parseFloat(Te[ir][2]);break;case 0:ia=(Qt?"<":"(")+Te[ir]+(Qt?">":")"),xa=Fn(x),_a=Fr(M)}wa!==void 0&&wa[ir]!==void 0&&(aa=wa[ir]+` Tw
46`),ir===0?u.push(aa+ja(xa,_a,Gt)+ia):Di===0?u.push(aa+ia):Di===1&&u.push(aa+ja(xa,_a,Gt)+ia)}u=Di===0?u.join(` Tj
47T* `):u.join(` Tj
48`),u+=` Tj
49`;var Ai=`BT
50/`;return Ai+=Ke+" "+Oe+` Tf
51`,Ai+=ie(Oe*On)+` TL
52`,Ai+=nr+`
53`,Ai+=sn,Ai+=u,T(Ai+="ET"),F[Ke]=!0,Ht};var Ue=m.__private__.clip=m.clip=function(u){return T(u==="evenodd"?"W*":"W"),this};m.clipEvenOdd=function(){return Ue("evenodd")},m.__private__.discardPath=m.discardPath=function(){return T("n"),this};var at=m.__private__.isValidStyle=function(u){var x=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(u)!==-1&&(x=!0),x};m.__private__.setDefaultPathOperation=m.setDefaultPathOperation=function(u){return at(u)&&(f=u),this};var pt=m.__private__.getStyle=m.getStyle=function(u){var x=f;switch(u){case"D":case"S":x="S";break;case"F":x="f";break;case"FD":case"DF":x="B";break;case"f":case"f*":case"B":case"B*":x=u}return x},yt=m.close=function(){return T("h"),this};m.stroke=function(){return T("S"),this},m.fill=function(u){return zt("f",u),this},m.fillEvenOdd=function(u){return zt("f*",u),this},m.fillStroke=function(u){return zt("B",u),this},m.fillStrokeEvenOdd=function(u){return zt("B*",u),this};var zt=function(u,x){Kt(x)==="object"?$n(x,u):T(u)},Gn=function(u){u===null||Y===ee&&u===void 0||(u=pt(u),T(u))};function mr(u,x,M,J,re){var Ae=new Va(x||this.boundingBox,M||this.xStep,J||this.yStep,this.gState,re||this.matrix
vendor: 4,415 bytes, line 53
53);Ae.stream=this.stream;var Te=u+"$$"+this.cloneIndex+++"$$";return Hn(Te,Ae),Ae}var $n=function(u,x){var M=Wt[u.key],J=ct[M];if(J instanceof La)T("q"),T(oi(x)),J.gState&&m.setGState(J.gState),T(u.matrix.toString()+" cm"),T("/"+M+" sh"),T("Q");else if(J instanceof Va){var re=new ht(1,0,0,-1,0,ji());u.matrix&&(re=re.multiply(u.matrix||hr),M=mr.call(J,u.key,u.boundingBox,u.xStep,u.yStep,re).id),T("q"),T("/Pattern cs"),T("/"+M+" scn"),J.gState&&m.setGState(J.gState),T(x),T("Q")}},oi=function(u){switch(u){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"}},Un=m.moveTo=function(u,x){return T(ie(X(u))+" "+ie($(x))+" m"),this},vi=m.lineTo=function(u,x){return T(ie(X(u))+" "+ie($(x))+" l"),this},er=m.curveTo=function(u,x,M,J,re,Ae){return T([ie(X(u)),ie($(x)),ie(X(M)),ie($(J)),ie(X(re)),ie($(Ae)),"c"].join(" ")),this};m.__private__.line=m.line=function(u,x,M,J,re){if(isNaN(u)||isNaN(x)||isNaN(M)||isNaN(J)||!at(re))throw new Error("Invalid arguments passed to jsPDF.line");return Y===Z?this.lines([[M-u,J-x]],u,x,[1,1],re||"S"):this.lines([[M-u,J-x]],u,x,[1,1]).stroke()},m.__private__.lines=m.lines=function(u,x,M,J,re,Ae){var Te,Ve,Je,bt,At,Mt,fn,Gt,Ht,$t,Qt,sn;if(typeof u=="number"&&(sn=M,M=x,x=u,u=sn),J=J||[1,1],Ae=Ae||!1,isNaN(x)||isNaN(M)||!Array.isArray(u)||!Array.isArray(J)||!at(re)||typeof Ae!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Un(x,M),Te=J[0],Ve=J[1],bt=u.length,$t=x,Qt=M,Je=0;Je<bt;Je++)(At=u[Je]).length===2?($t=At[0]*Te+$t,Qt=At[1]*Ve+Qt,vi($t,Qt)):(Mt=At[0]*Te+$t,fn=At[1]*Ve+Qt,Gt=At[2]*Te+$t,Ht=At[3]*Ve+Qt,$t=At[4]*Te+$t,Qt=At[5]*Ve+Qt,er(Mt,fn,Gt,Ht,$t,Qt));return Ae&&yt(),Gn(re),this},m.path=function(u){for(var x=0;x<u.length;x++){var M=u[x],J=M.c;switch(M.op){case"m":Un(J[0],J[1]);break;case"l":vi(J[0],J[1]);break;case"c":er.apply(this,J);break;case"h":yt()}}return this},m.__private__.rect=m.rect=function(u,x,M,J,re){if(isNaN(u)||isNaN(x)||isNaN(M)||isNaN(J)||!at(re))throw new Error("Invalid arguments passed to jsPDF.rect");return Y===Z&&(J=-J),T([ie(X(u)),ie($(x)),ie(X(M)),ie(X(J)),"re"].join(" ")),Gn(re),this},m.__private__.triangle=m.triangle=function(u,x,M,J,re,Ae,Te){if(isNaN(u)||isNaN(x)||isNaN(M)||isNaN(J)||isNaN(re)||isNaN(Ae)||!at(Te))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[M-u,J-x],[re-M,Ae-J],[u-re,x-Ae]],u,x,[1,1],Te,!0),this},m.__private__.roundedRect=m.roundedRect=function(u,x,M,J,re,Ae,Te){if(isNaN(u)||isNaN(x)||isNaN(M)||isNaN(J)||isNaN(re)||isNaN(Ae)||!at(Te))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Ve=4/3*(Math.SQRT2-1);return re=Math.min(re,.5*M),Ae=Math.min(Ae,.5*J),this.lines([[M-2*re,0],[re*Ve,0,re,Ae-Ae*Ve,re,Ae],[0,J-2*Ae],[0,Ae*Ve,-re*Ve,Ae,-re,Ae],[2*re-M,0],[-re*Ve,0,-re,-Ae*Ve,-re,-Ae],[0,2*Ae-J],[0,-Ae*Ve,re*Ve,-Ae,re,-Ae]],u+re,x,[1,1],Te,!0),this},m.__private__.ellipse=m.ellipse=function(u,x,M,J,re){if(isNaN(u)||isNaN(x)||isNaN(M)||isNaN(J)||!at(re))throw new Error("Invalid arguments passed to jsPDF.ellipse");var Ae=4/3*(Math.SQRT2-1)*M,Te=4/3*(Math.SQRT2-1)*J;return Un(u+M,x),er(u+M,x-Te,u+Ae,x-J,u,x-J),er(u-Ae,x-J,u-M,x-Te,u-M,x),er(u-M,x+Te,u-Ae,x+J,u,x+J),er(u+Ae,x+J,u+M,x+Te,u+M,x),Gn(re),this},m.__private__.circle=m.circle=function(u,x,M,J){if(isNaN(u)||isNaN(x)||isNaN(M)||!at(J))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(u,x,M,M,J)},m.setFont=function(u,x,M){return M&&(x=we(x,M)),Ke=zr(u,x,{disableWarning:!1}),this};var Yi=m.__private__.getFont=m.getFont=function(){return kt[zr.apply(m,arguments)]};m.__private__.getFontList=m.getFontList=function(){var u,x,M={};for(u in Pt)if(Pt.hasOwnProperty(u))for(x in M[u]=[],Pt[u])Pt[u].hasOwnProperty(x)&&M[u].push(x);return M},m.addFont=function(u,x,M,J,re){var Ae=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&Ae.indexOf(arguments[3])!==-1?re=arguments[3]:arguments[3]&&Ae.indexOf(arguments[3])==-1&&(M=we(M,J)),Ci.call(this,u,x,M,re=re||"Identity-H")};var tr,gt=n.lineWidth||.200025,Za=m.__private__.getLineWidth=m.getLineWidth=function(){return gt},Qa=m.__private__.setLineWidth=m.setLineWidth=function(u){return gt=u,T(ie(X(u))+" w"),this};m.__private__.setLineDash=ut.API.setLineDash=ut.API.setLineDashPattern=function(u,x){if(u=u||[],x=x||0,isNaN(x)||!Array.isArray(u))throw new Error("Invalid arguments passed to 
53jsPDF.setLineDash");return u=u.map(function(M){return ie(X(M))}).join(" "),x=ie(X(x)),T("["+u+"] "+x+" d"),this};var eo=m.__private__.getLineHeight=m.getLineHeight=function(){return Oe*tr};m.__private__.getLineHeight=m.getLineHeight=function(){return Oe*tr};var to=m.__private__.setLineHeightFactor=m.setLineHeightFactor=function(u){return typeof(u=u||1.15)=="number"&&(tr=u),this},no=m.__private__.getLineHeightFactor=m.getLineHeightFactor=function(){return tr};to(n.lineHeight);var Fn=m.__private__.getHorizontalCoordinate=function(u){return X(u)},Fr=m.__private__.getVerticalCoordinate=function(u){return Y===ee?u:st[H].mediaBox.topRightY-st[H].mediaBox.bottomLeftY-X(u)},Ji=m.__private__.getHorizontalCoordinateString=m.getHorizontalCoordinateString=function(u){return ie(Fn(u))},Vt=m.__private__.getVerticalCoordinateString=m.getVerticalCoordinateString=function(u){return ie(Fr(u))},Wr=n.strokeColor||"0 G";m.__private__.getStrokeColor=m.getDrawColor=function(){return Zn(Wr)},m.__private__.setStrokeColor=m.setDrawColor=function(u,x,M,J){return Wr=dr({ch1:u,ch2:x,ch3:M,ch4:J,pdfColorType:"draw",precision:2}),T(Wr),this};var wi=n.fillColor||"0 g";m.__private__.getFillColor=m.getFillColor=function(){return Zn(wi)},m.__private__.setFillColor=m.setFillColor=function(u,x,M,J){return wi=dr({ch1:u,ch2:x,ch3:M,ch4:J,pdfColorType:"fill",precision:2}),T(wi),this};var nr=n.textColor||"0 g",Vr=m.__private__.getTextColor=m.getTextColor=function(){return Zn(nr)};m.__private__.setTextColor=m.setTextColor=function(u,x,M,J){return nr=dr({ch1:u,ch2:x,ch3:M,ch4:J,pdfColorType:"text",precision:3}),this};var si=n.charSpace,li=m.__private__.getCharSpace=m.getCharSpace=function(){return parseFloat(si||0)};m.__private__.setCharSpace=m.setCharSpace=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return si=u,this};var Xi=0;m.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},m.__private__.setLineCap=m.setLineCap=function(u){var x=m.CapJoinStyles[u];if(x===void 0)throw new Error("Line cap style of '"+u+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Xi=x,T(x+" J"),this};var Gr=0;m.__private__.setLineJoin=m.setLineJoin=function(u){var x=m.CapJoinStyles[u];if(x===void 0)throw new Error("Line join style of '"+u+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Gr=x,T(x+" j"),this},m.__private__.setLineMiterLimit=m.__private__.setMiterLimit=m.setLineMiterLimit=m.setMiterLimit=function(u){if(u=u||0,isNaN(u))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return T(ie(X(u))+" M"),this},m.GState=ns,m.setGState=function(u){(u=typeof u=="string"?tt[wt[u]]:Ti(null,u)).equals(Ut)||(T("/"+u.id+" gs"),Ut=u)};var Ti=function(u,x){if(!u||!wt[u]){var M=!1;for(var J in tt)if(tt.hasOwnProperty(J)&&tt[J].equals(x)){M=!0;break}if(M)x=tt[J];else{var re="GS"+(Object.keys(tt).length+1).toString(10);tt[re]=x,x.id=re}return u&&(wt[u]=x.id),Rt.publish("addGState",x),x}};m.addGState=function(u,x){return Ti(u,x),this},m.saveGraphicsState=function(){return T("q"),Zt.push({key:Ke,size:Oe,color:nr}),this},m.restoreGraphicsState=function(){T("Q");var u=Zt.pop();return Ke=u.key,Oe=u.size,nr=u.color,Ut=null,this},m.setCurrentTransformationMatrix=function(u){return T(u.toString()+" cm"),this},m.comment=function(u){return T("#"+u),this};var yi=function(u,x){var M=u||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return M},set:function(Ae){isNaN(Ae)||(M=parseFloat(Ae))}});var J=x||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return J},set:function(Ae){isNaN(Ae)||(J=parseFloat(Ae))}});var re="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return re},set:function(Ae){re=Ae.toString()}}),this},Ki=function(u,x,M,J){yi.call(this,u,x),this.type="rect";var re=M||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return re},set:function(Te){isNaN(Te)||(re=parseFloat(Te))}});var Ae=J||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return Ae},set:function(Te){isNaN(Te)||(Ae=parseFloat(Te))}}),this},Ri=function(){this.page=Ye,this.currentPage=H,this.pages=Ce.slice(0),this.pagesContext=st.slice(0),this.x=nt,this.y=en,this.matrix=Tt,this.width=Mi(H),this.height=Sr(H),this.outputDestination=Me,this.id="",this.objectNumber=-1};Ri.prototype.restore=function(){Ye=this.page,H=this.currentPage,st=this.pagesContext,Ce=this.pages,nt=this.x,en=this.y,Tt=this.matrix,$r(H,this.width),Qi(H,this.height),Me=this.outputDestination};var va=function(u,x,M,J,re){kn.push(new Ri),Ye=H=0,Ce=[],nt=u,en=x,Tt=re,ni([M,J])};for(var Zi in m.beginFormObject=function(u,x,M,J,re){return va(u,x,M,J,re),this},m.endFormObject=function(u){return(function(x){if(Kn[x])kn.pop().restore(
vendor: 4,723 bytes, line 53
53);else{var M=new Ri,J="Xo"+(Object.keys(tn).length+1).toString(10);M.id=J,Kn[x]=J,tn[J]=M,Rt.publish("addFormObject",M),kn.pop().restore()}})(u),this},m.doFormObject=function(u,x){var M=tn[Kn[u]];return T("q"),T(x.toString()+" cm"),T("/"+M.id+" Do"),T("Q"),this},m.getFormObject=function(u){var x=tn[Kn[u]];return{x:x.x,y:x.y,width:x.width,height:x.height,matrix:x.matrix}},m.save=function(u,x){return u=u||"generated.pdf",(x=x||{}).returnPromise=x.returnPromise||!1,x.returnPromise===!1?(Na(ii(gr()),u),typeof Na.unload=="function"&&St.setTimeout&&setTimeout(Na.unload,911),this):new Promise(function(M,J){try{var re=Na(ii(gr()),u);typeof Na.unload=="function"&&St.setTimeout&&setTimeout(Na.unload,911),M(re)}catch(Ae){J(Ae.message)}})},ut.API)ut.API.hasOwnProperty(Zi)&&(Zi==="events"&&ut.API.events.length?(function(u,x){var M,J,re;for(re=x.length-1;re!==-1;re--)M=x[re][0],J=x[re][1],u.subscribe.apply(u,[M].concat(typeof J=="function"?[J]:J))})(Rt,ut.API.events):m[Zi]=ut.API[Zi]);function Mi(u){return st[u].mediaBox.topRightX-st[u].mediaBox.bottomLeftX}function $r(u,x){st[u].mediaBox.topRightX=x+st[u].mediaBox.bottomLeftX}function Sr(u){return st[u].mediaBox.topRightY-st[u].mediaBox.bottomLeftY}function Qi(u,x){st[u].mediaBox.topRightY=x+st[u].mediaBox.bottomLeftY}var Oa=m.getPageWidth=function(u){return Mi(u=u||H)/_t},bi=m.setPageWidth=function(u,x){$r(u,x*_t)},ji=m.getPageHeight=function(u){return Sr(u=u||H)/_t},ea=m.setPageHeight=function(u,x){Qi(u,x*_t)};return m.internal={pdfEscape:Dn,getStyle:pt,getFont:Yi,getFontSize:Ge,getCharSpace:li,getTextColor:Vr,getLineHeight:eo,getLineHeightFactor:no,getLineWidth:Za,write:ze,getHorizontalCoordinate:Fn,getVerticalCoordinate:Fr,getCoordinateString:Ji,getVerticalCoordinateString:Vt,collections:{},newObject:nn,newAdditionalObject:xr,newObjectDeferred:mn,newObjectDeferredBegin:bn,getFilters:In,putStream:Qn,events:Rt,scaleFactor:_t,pageSize:{getWidth:function(){return Oa(H)},setWidth:function(u){bi(H,u)},getHeight:function(){return ji(H)},setHeight:function(u){ea(H,u)}},encryptionOptions:w,encryption:j,getEncryptor:function(u){return w!==null?j.encryptor(u,0):function(x){return x}},output:b,getNumberOfPages:Fi,get pages(){return Ce},out:T,f2:I,f3:R,getPageInfo:pe,getPageInfoByObjId:ce,getCurrentPageInfo:Pe,getPDFVersion:D,Point:yi,Rectangle:Ki,Matrix:ht,hasHotfix:P},Object.defineProperty(m.internal.pageSize,"width",{get:function(){return Oa(H)},set:function(u){bi(H,u)},enumerable:!0,configurable:!0}),Object.defineProperty(m.internal.pageSize,"height",{get:function(){return ji(H)},set:function(u){ea(H,u)},enumerable:!0,configurable:!0}),function(u){for(var x=0,M=Qe.length;x<M;x++){var J=Ci.call(this,u[x][0],u[x][1],u[x][2],Qe[x][3],!0);A===!1&&(F[J]=!0);var re=u[x][0].split("-");Pn({id:J,fontName:re[0],fontStyle:re[1]||""})}Rt.publish("addFonts",{fonts:kt,dictionary:Pt})}.call(m,Qe),Ke="F1",Ii(a,t),Rt.publish("initialized"),m}Ha.prototype.lsbFirstWord=function(n){return String.fromCharCode(255&n,n>>8&255,n>>16&255,n>>24&255)},Ha.prototype.toHexString=function(n){return n.split("").map(function(e){return("0"+(255&e.charCodeAt(0)).toString(16)).slice(-2)}).join("")},Ha.prototype.hexToBytes=function(n){for(var e=[],t=0;t<n.length;t+=2)e.push(String.fromCharCode(parseInt(n.substr(t,2),16)));return e.join("")},Ha.prototype.processOwnerPassword=function(n,e){return Qs(Zs(e).substr(0,5),n)},Ha.prototype.encryptor=function(n,e){var t=Zs(this.encryptionKey+String.fromCharCode(255&n,n>>8&255,n>>16&255,255&e,e>>8&255)).substr(0,10);return function(r){return Qs(t,r)}},ns.prototype.equals=function(n){var e,t="id,objectNumber,equals";if(!n||Kt(n)!==Kt(this))return!1;var r=0;for(e in this)if(!(t.indexOf(e)>=0)){if(this.hasOwnProperty(e)&&!n.hasOwnProperty(e)||this[e]!==n[e])return!1;r++}for(e in n)n.hasOwnProperty(e)&&t.indexOf(e)<0&&r--;return r===0},ut.API={events:[]},ut.version="4.2.1";var yn=ut.API,ol=1,Fa=function(n){return n.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ua=function(n){return n.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Ca=function(n){return n.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(e){var t=e.charCodeAt(0).toString(16).toUpperCase();return"#"+(t.length===1?"0"+t:t)})},Nt=function(n){return n.toFixed(2)},da=function(n){return n.toFixed(5)};yn.__acroform__={};var kr=function(n,e){n.prototype=Object.create(e.prototype),n.prototype.constructor=n},Uu=function(n){return n*ol},Li=function(n){var e=new Vc,t=Ze.internal.getHeight(n)||0,r=Ze.internal.getWidth(n)||0;return e.BBox=[0,0,Number(Nt(r)),Number(Nt(t))],e},o2=yn.__acroform__.setBit=function(n,e){if(n=n||0,e=e||0,isNaN(n)||isNaN(e))throw new Error("Invalid arguments passed to 
53jsPDF.API.__acroform__.setBit");return n|1<<e},s2=yn.__acroform__.clearBit=function(n,e){if(n=n||0,e=e||0,isNaN(n)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return n&~(1<<e)},l2=yn.__acroform__.getBit=function(n,e){if(isNaN(n)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return n&1<<e?1:0},An=yn.__acroform__.getBitForPdf=function(n,e){if(isNaN(n)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return l2(n,e-1)},Nn=yn.__acroform__.setBitForPdf=function(n,e){if(isNaN(n)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return o2(n,e-1)},Ln=yn.__acroform__.clearBitForPdf=function(n,e){if(isNaN(n)||isNaN(e))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return s2(n,e-1)},u2=yn.__acroform__.calculateCoordinates=function(n,e){var t=e.internal.getHorizontalCoordinate,r=e.internal.getVerticalCoordinate,a=n[0],o=n[1],d=n[2],l=n[3],c={};return c.lowerLeft_X=t(a)||0,c.lowerLeft_Y=r(o+l)||0,c.upperRight_X=t(a+d)||0,c.upperRight_Y=r(o)||0,[Number(Nt(c.lowerLeft_X)),Number(Nt(c.lowerLeft_Y)),Number(Nt(c.upperRight_X)),Number(Nt(c.upperRight_Y))]},c2=function(n){if(n.appearanceStreamContent)return n.appearanceStreamContent;if(n.V||n.DV){var e=[],t=n._V||n.DV,r=el(n,t),a=n.scope.internal.getFont(n.fontName,n.fontStyle).id;e.push("/Tx BMC"),e.push("q"),e.push("BT"),e.push(n.scope.__private__.encodeColorString(n.color)),e.push("/"+a+" "+Nt(r.fontSize)+" Tf"),e.push("1 0 0 1 0 0 Tm"),e.push(r.text),e.push("ET"),e.push("Q"),e.push("EMC");var o=Li(n);return o.scope=n.scope,o.stream=e.join(`
54`),o}},el=function(n,e){var t=n.fontSize===0?n.maxFontSize:n.fontSize,r={text:"",fontSize:""},a=(e=(e=e.substr(0,1)=="("?e.substr(1):e).substr(e.length-1)==")"?e.substr(0,e.length-1):e).split(" ");a=n.multiline?a.map(function(I){return I.split(`
55`)}):a.map(function(I){return[I]});var o=t,d=Ze.internal.getHeight(n)||0;d=d<0?-d:d;var l=Ze.internal.getWidth(n)||0;l=l<0?-l:l;var c=function(I,R,X){if(I+1<a.length){var $=R+" "+a[I+1][0];return Wo($,n,X).width<=l-4}return!1};o++;e:for(;o>0;){e="",o--;var f,w,A=Wo("3",n,o).height,F=n.multiline?d-o:(d-A)/2,m=F+=2,B=0,D=0,W=0;if(o<=0){e=`(...) Tj
56`,e+="% Width of Text: "+Wo(e,n,o=12).width+", FieldWidth:"+l+`
57`;break}for(var E="",Z=0,ee=0;ee<a.length;ee++)if(a.hasOwnProperty(ee)){var Y=!1;if(a[ee].length!==1&&W!==a[ee].length-1){if((A+2)*(Z+2)+2>d)continue e;E+=a[ee][W],Y=!0,D=ee,ee--}else{E=(E+=a[ee][W]+" ").substr(E.length-1)==" "?E.substr(0,E.length-1):E;var be=parseInt(ee),ke=c(be,E,o),we=ee>=a.length-1;if(ke&&!we){E+=" ",W=0;continue}if(ke||we){if(we)D=be;else if(n.multiline&&(A+2)*(Z+2)+2>d)continue e}else{if(!n.multiline||(A+2)*(Z+2)+2>d)continue e;D=be}}for(var ie="",V=B;V<=D;V++){var se=a[V];if(n.multiline){if(V===D){ie+=se[W]+" ",W=(W+1)%se.length;continue}if(V===B){ie+=se[se.length-1]+" ";continue}}ie+=se[0]+" "}switch(ie=ie.substr(ie.length-1)==" "?ie.substr(0,ie.length-1):ie,w=Wo(ie,n,o).width,n.textAlign){case"right":f=l-w-2;break;case"center":f=(l-w)/2;break;default:f=2}e+=Nt(f)+" "+Nt(m)+` Td
58`,e+="("+Fa(ie)+`) Tj
59`,e+=-Nt(f)+` 0 Td
60`,m=-(o+2),w=0,B=Y?D:D+1,Z++,E=""}break}return r.text=e,r.fontSize=o,r},Wo=function(n,e,t){var r=e.scope.internal.getFont(e.fontName,e.fontStyle),a=e.scope.getStringUnitWidth(n,{font:r,fontSize:parseFloat(t),charSpace:0})*parseFloat(t);return{height:e.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(t),charSpace:0})*parseFloat(t)*1.5,width:a}},f2={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},h2=function(n,e){var t={type:"reference",object:n};e.internal.getPageInfo(n.page).pageContext.annotations.find(function(r){return r.type===t.type&&r.object===t.object})===void 0&&e.internal.getPageInfo(n.page).pageContext.annotations.push(t)},d2=function(n,e){if(e.scope=n,n.internal!==void 0&&(n.internal.acroformPlugin===void 0||n.internal.acroformPlugin.isInitialized===!1)){if(gi.FieldNum=0,n.internal.acroformPlugin=JSON.parse(JSON.stringify(f2)),n.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");ol=n.internal.scaleFactor,n.internal.acroformPlugin.acroFormDictionaryRoot=new Gc,n.internal.acroformPlugin.acroFormDictionaryRoot.scope=n,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe("postPutResources",function(){(function(t){t.internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0})(n)}),n.internal.events.subscribe("buildDocument",function(){(function(t){t.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=t.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var a in r)if(r.hasOwnProperty(a)){var o=r[a];o.objId=void 0,o.hasAnnotation&&h2(o,t)}})(n)}),n.internal.events.subscribe("putCatalog",function(){(function(t){if(t.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");t.internal.write("/AcroForm "+t.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(n)}),n.internal.events.subscribe("postPutPages",function(t){(function(r,a){var o=!r;for(var d in r||(a.internal.newObjectDeferredBegin(a.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),a.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||a.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(d)){var l=r[d],c=[],f=l.Rect;if(l.Rect&&(l.Rect=u2(l.Rect,a)),a.internal.newObjectDeferredBegin(l.objId,!0),l.DA=Ze.createDefaultAppearanceStream(l),Kt
vendor: 23,509 bytes, lines 60-72
60(l)==="object"&&typeof l.getKeyValueListForStream=="function"&&(c=l.getKeyValueListForStream()),l.Rect=f,l.hasAppearanceStream&&!l.appearanceStreamContent){var w=c2(l);c.push({key:"AP",value:"<</N "+w+">>"}),a.internal.acroformPlugin.xForms.push(w)}if(l.appearanceStreamContent){var A="";for(var F in l.appearanceStreamContent)if(l.appearanceStreamContent.hasOwnProperty(F)){var m=l.appearanceStreamContent[F];if(A+="/"+F+" ",A+="<<",Object.keys(m).length>=1||Array.isArray(m)){for(var d in m)if(m.hasOwnProperty(d)){var B=m[d];typeof B=="function"&&(B=B.call(a,l)),A+="/"+d+" "+B+" ",a.internal.acroformPlugin.xForms.indexOf(B)>=0||a.internal.acroformPlugin.xForms.push(B)}}else typeof(B=m)=="function"&&(B=B.call(a,l)),A+="/"+d+" "+B,a.internal.acroformPlugin.xForms.indexOf(B)>=0||a.internal.acroformPlugin.xForms.push(B);A+=">>"}c.push({key:"AP",value:`<<
61`+A+">>"})}a.internal.putStream({additionalKeyValues:c,objectId:l.objId}),a.internal.out("endobj")}o&&(function(D,W){for(var E in D)if(D.hasOwnProperty(E)){var Z=E,ee=D[E];W.internal.newObjectDeferredBegin(ee.objId,!0),Kt(ee)==="object"&&typeof ee.putStream=="function"&&ee.putStream(),delete D[Z]}})(a.internal.acroformPlugin.xForms,a)})(t,n)}),n.internal.acroformPlugin.isInitialized=!0}},Wc=yn.__acroform__.arrayToPdfArray=function(n,e,t){var r=function(d){return d};if(Array.isArray(n)){for(var a="[",o=0;o<n.length;o++)switch(o!==0&&(a+=" "),Kt(n[o])){case"boolean":case"number":case"object":a+=n[o].toString();break;case"string":n[o].substr(0,1)==="/"?a+="/"+Ca(n[o].substr(1)):(e!==void 0&&t&&(r=t.internal.getEncryptor(e)),a+="("+Fa(r(n[o].toString()))+")")}return a+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},qs=function(n,e,t){var r=function(a){return a};return e!==void 0&&t&&(r=t.internal.getEncryptor(e)),(n=n||"").toString(),"("+Fa(r(n))+")"},Pi=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(n){this._objId=n}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Pi.prototype.toString=function(){return this.objId+" 0 R"},Pi.prototype.putStream=function(){var n=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:n,objectId:this.objId}),this.scope.internal.out("endobj")},Pi.prototype.getKeyValueListForStream=function(){var n=[],e=Object.getOwnPropertyNames(this).filter(function(o){return o!="content"&&o!="appearanceStreamContent"&&o!="scope"&&o!="objId"&&o.substring(0,1)!="_"});for(var t in e)if(Object.getOwnPropertyDescriptor(this,e[t]).configurable===!1){var r=e[t],a=this[r];a&&(Array.isArray(a)?n.push({key:r,value:Wc(a,this.objId,this.scope)}):a instanceof Pi?(a.scope=this.scope,n.push({key:r,value:a.objId+" 0 R"})):typeof a!="function"&&n.push({key:r,value:a}))}return n};var Vc=function(){Pi.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 n,e=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return e},set:function(t){e=t}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){n=t.trim()},get:function(){return n||null}})};kr(Vc,Pi);var Gc=function(){Pi.call(this);var n,e=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return e.length>0?e:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return e}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(n){var t=function(r){return r};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Fa(t(n))+")"}},set:function(t){n=t}})};kr(Gc,Pi);var gi=function n(){Pi.call(this);var e=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return e},set:function(E){if(isNaN(E))throw new Error('Invalid value "'+E+'" for attribute F supplied.');e=E}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!An(e,3)},set:function(E){E?this.F=Nn(e,3):this.F=Ln(e,3)}});var t=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return t},set:function(E){if(isNaN(E))throw new Error('Invalid value "'+E+'" for attribute Ff supplied.');t=E}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(E){r=E!==void 0?E:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(E){r[0]=E}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(E){r[1]=E}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(E){r[2]=E}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(E){r[3]=E}});var a="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return a},set:function(E){switch(E){case"/Btn":case"/Tx":case"/Ch":case"/Sig":a=E;break;default:throw new Error('Invalid value "'+E+'" for attribute FT supplied.')}}});var o=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!o||o.length<1){if(this instanceof rs)return;o="FieldObject"+n.FieldNum++}var E=function(Z){return Z};return this.scope&&(E=this.scope.internal.getEncryptor(this.objId)),"("+Fa(E(o))+")"},set:function(E){o=E.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return o},set:function(E){o=E}});var d="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return d},set:function(E){d=E}});var l="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return l},set:function(E){l=E}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(E){c=E}});var f=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return f===void 0?50/ol:f},set:function(E){f=E}});var w="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return w},set:function(E){w=E}});var A="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!A||this instanceof rs||this instanceof ka))return qs(A,this.objId,this.scope)},set:function(E){E=E.toString(),A=E}});var F=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(F)return this instanceof zn==0?qs(F,this.objId,this.scope):F},set:function(E){E=E.toString(),F=this instanceof zn==0?E.substr(0,1)==="("?Ua(E.substr(1,E.length-2)):Ua(E):E}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof zn==1?Ua(F.substr(1,F.length-1)):F},set:function(E){E=E.toString(),F=this instanceof zn==1?"/"+Ca(E):E}});var m=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(m)return m},set:function(E){this.V=E}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(m)return this instanceof zn==0?qs(m,this.objId,this.scope):m},set:function(E){E=E.toString(),m=this instanceof zn==0?E.substr(0,1)==="("?Ua(E.substr(1,E.length-2)):Ua(E):E}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof zn==1?Ua(m.substr(1,m.length-1)):m},set:function(E){E=E.toString(),m=this instanceof zn==1?"/"+Ca(E):E}}),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 B,D=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return D},set:function(E){E=!!E,D=E}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(B)return B},set:function(E){B=E}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,1)},set:function(E){E?this.Ff=Nn(this.Ff,1):this.Ff=Ln(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,2)},set:function(E){E?this.Ff=Nn(this.Ff,2):this.Ff=Ln(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,3)},set:function(E){E?this.Ff=Nn(this.Ff,3):this.Ff=Ln(this.Ff,3)}});var W=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(W!==null)return W},set:function(E){if([0,1,2].indexOf(E)===-1)throw new Error('Invalid value "'+E+'" for attribute Q supplied.');W=E}}),Object.defineProperty(this,"textAlign",{get:function(){var E;switch(W){case 0:default:E="left";break;case 1:E="center";break;case 2:E="right"}return E},configurable:!0,enumerable:!0,set:function(E){switch(E){case"right":case 2:W=2;break;case"center":case 1:W=1;break;default:W=0}}})};kr(gi,Pi);var $a=function(){gi.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var n=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return n},set:function(t){n=t}});var e=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return Wc(e,this.objId,this.scope)},set:function(t){var r,a;a=[],typeof(r=t)=="string"&&(a=(function(o,d,l){l||(l=1);for(var c,f=[];c=d.exec(o);)f.push(c[l]);return f})(r,/\((.*?)\)/g)),e=a}}),this.getOptions=function(){return e},this.setOptions=function(t){e=t,this.sort&&e.sort()},this.addOption=function(t){t=(t=t||"").toString(),e.push(t),this.sort&&e.sort()},this.removeOption=function(t,r){for(r=r||!1,t=(t=t||"").toString();e.indexOf(t)!==-1&&(e.splice(e.indexOf(t),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,18)},set:function(t){t?this.Ff=Nn(this.Ff,18):this.Ff=Ln(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,19)},set:function(t){this.combo===!0&&(t?this.Ff=Nn(this.Ff,19):this.Ff=Ln(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,20)},set:function(t){t?(this.Ff=Nn(this.Ff,20),e.sort()):this.Ff=Ln(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,22)},set:function(t){t?this.Ff=Nn(this.Ff,22):this.Ff=Ln(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,23)},set:function(t){t?this.Ff=Nn(this.Ff,23):this.Ff=Ln(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,27)},set:function(t){t?this.Ff=Nn(this.Ff,27):this.Ff=Ln(this.Ff,27)}}),this.hasAppearanceStream=!1};kr($a,gi);var Ya=function(){$a.call(this),this.fontName="helvetica",this.combo=!1};kr(Ya,$a);var Ja=function(){Ya.call(this),this.combo=!0};kr(Ja,Ya);var Xo=function(){Ja.call(this),this.edit=!0};kr(Xo,Ja);var zn=function(){gi.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,15)},set:function(t){t?this.Ff=Nn(this.Ff,15):this.Ff=Ln(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,16)},set:function(t){t?this.Ff=Nn(this.Ff,16):this.Ff=Ln(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,17)},set:function(t){t?this.Ff=Nn(this.Ff,17):this.Ff=Ln(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,26)},set:function(t){t?this.Ff=Nn(this.Ff,26):this.Ff=Ln(this.Ff,26)}});var n,e={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var t=function(o){return o};if(this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),Object.keys(e).length!==0){var r,a=[];for(r in a.push("<<"),e)a.push("/"+r+" ("+Fa(t(e[r]))+")");return a.push(">>"),a.join(`
62`)}},set:function(t){Kt(t)==="object"&&(e=t)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return e.CA||""},set:function(t){typeof t=="string"&&(e.CA=t)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(t){var r=t==null?"":t.toString();r.substr(0,1)==="/"&&(r=r.substr(1)),n="/"+Ca(r)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(t){n="/"+Ca(t)}})};kr(zn,gi);var Ko=function(){zn.call(this),this.pushButton=!0};kr(Ko,zn);var Xa=function(){zn.call(this),this.radio=!0,this.pushButton=!1;var n=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return n},set:function(e){n=e!==void 0?e:[]}})};kr(Xa,zn);var rs=function(){var n,e;gi.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return n},set:function(a){n=a}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return e},set:function(a){e=a}});var t,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var a=function(l){return l};this.scope&&(a=this.scope.internal.getEncryptor(this.objId));var o,d=[];for(o in d.push("<<"),r)d.push("/"+o+" ("+Fa(a(r[o]))+")");return d.push(">>"),d.join(`
63`)},set:function(a){Kt(a)==="object"&&(r=a)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(a){typeof a=="string"&&(r.CA=a)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return t},set:function(a){var o=a==null?"":a.toString();o.substr(0,1)==="/"&&(o=o.substr(1)),t="/"+Ca(o)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return t.substr(1,t.length-1)},set:function(a){var o=a==null?"":a.toString();o.substr(0,1)==="/"&&(o=o.substr(1)),t="/"+Ca(o)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Ze.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};kr(rs,gi),Xa.prototype.setAppearance=function(n){if(!("createAppearanceStream"in n)||!("getCA"in n))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.Kids)if(this.Kids.hasOwnProperty(e)){var t=this.Kids[e];t.appearanceStreamContent=n.createAppearanceStream(t.optionName),t.caption=n.getCA()}},Xa.prototype.createOption=function(n){var e=new rs;return e.Parent=this,e.optionName=n,this.Kids.push(e),p2.call(this.scope,e),e};var Zo=function(){zn.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Ze.CheckBox.createAppearanceStream()};kr(Zo,zn);var ka=function(){gi.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,13)},set:function(e){e?this.Ff=Nn(this.Ff,13):this.Ff=Ln(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,21)},set:function(e){e?this.Ff=Nn(this.Ff,21):this.Ff=Ln(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,23)},set:function(e){e?this.Ff=Nn(this.Ff,23):this.Ff=Ln(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,24)},set:function(e){e?this.Ff=Nn(this.Ff,24):this.Ff=Ln(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,25)},set:function(e){e?this.Ff=Nn(this.Ff,25):this.Ff=Ln(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,26)},set:function(e){e?this.Ff=Nn(this.Ff,26):this.Ff=Ln(this.Ff,26)}});var n=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return n},set:function(e){Number.isInteger(e)&&(n=e)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};kr(ka,gi);var Qo=function(){ka.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!An(this.Ff,14)},set:function(n){n?this.Ff=Nn(this.Ff,14):this.Ff=Ln(this.Ff,14)}}),this.password=!0};kr(Qo,ka);var Ze={CheckBox:{createAppearanceStream:function(){return{N:{On:Ze.CheckBox.YesNormal},D:{On:Ze.CheckBox.YesPushDown,Off:Ze.CheckBox.OffPushDown}}},YesPushDown:function(n){var e=Li(n);e.scope=n.scope;var t=[],r=n.scope.internal.getFont(n.fontName,n.fontStyle).id,a=n.scope.__private__.encodeColorString(n.color),o=el(n,n.caption);return t.push("0.749023 g"),t.push("0 0 "+Nt(Ze.internal.getWidth(n))+" "+Nt(Ze.internal.getHeight(n))+" re"),t.push("f"),t.push("BMC"),t.push("q"),t.push("0 0 1 rg"),t.push("/"+r+" "+Nt(o.fontSize)+" Tf "+a),t.push("BT"),t.push(o.text),t.push("ET"),t.push("Q"),t.push("EMC"),e.stream=t.join(`
64`),e},YesNormal:function(n){var e=Li(n);e.scope=n.scope;var t=n.scope.internal.getFont(n.fontName,n.fontStyle).id,r=n.scope.__private__.encodeColorString(n.color),a=[],o=Ze.internal.getHeight(n),d=Ze.internal.getWidth(n),l=el(n,n.caption);return a.push("1 g"),a.push("0 0 "+Nt(d)+" "+Nt(o)+" re"),a.push("f"),a.push("q"),a.push("0 0 1 rg"),a.push("0 0 "+Nt(d-1)+" "+Nt(o-1)+" re"),a.push("W"),a.push("n"),a.push("0 g"),a.push("BT"),a.push("/"+t+" "+Nt(l.fontSize)+" Tf "+r),a.push(l.text),a.push("ET"),a.push("Q"),e.stream=a.join(`
65`),e},OffPushDown:function(n){var e=Li(n);e.scope=n.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+Nt(Ze.internal.getWidth(n))+" "+Nt(Ze.internal.getHeight(n))+" re"),t.push("f"),e.stream=t.join(`
66`),e}},RadioButton:{Circle:{createAppearanceStream:function(n){var e={D:{Off:Ze.RadioButton.Circle.OffPushDown},N:{}};return e.N[n]=Ze.RadioButton.Circle.YesNormal,e.D[n]=Ze.RadioButton.Circle.YesPushDown,e},getCA:function(){return"l"},YesNormal:function(n){var e=Li(n);e.scope=n.scope;var t=[],r=Ze.internal.getWidth(n)<=Ze.internal.getHeight(n)?Ze.internal.getWidth(n)/4:Ze.internal.getHeight(n)/4;r=Number((.9*r).toFixed(5));var a=Ze.internal.Bezier_C,o=Number((r*a).toFixed(5));return t.push("q"),t.push("1 0 0 1 "+da(Ze.internal.getWidth(n)/2)+" "+da(Ze.internal.getHeight(n)/2)+" cm"),t.push(r+" 0 m"),t.push(r+" "+o+" "+o+" "+r+" 0 "+r+" c"),t.push("-"+o+" "+r+" -"+r+" "+o+" -"+r+" 0 c"),t.push("-"+r+" -"+o+" -"+o+" -"+r+" 0 -"+r+" c"),t.push(o+" -"+r+" "+r+" -"+o+" "+r+" 0 c"),t.push("f"),t.push("Q"),e.stream=t.join(`
67`),e},YesPushDown:function(n){var e=Li(n);e.scope=n.scope;var t=[],r=Ze.internal.getWidth(n)<=Ze.internal.getHeight(n)?Ze.internal.getWidth(n)/4:Ze.internal.getHeight(n)/4;r=Number((.9*r).toFixed(5));var a=Number((2*r).toFixed(5)),o=Number((a*Ze.internal.Bezier_C).toFixed(5)),d=Number((r*Ze.internal.Bezier_C).toFixed(5));return t.push("0.749023 g"),t.push("q"),t.push("1 0 0 1 "+da(Ze.internal.getWidth(n)/2)+" "+da(Ze.internal.getHeight(n)/2)+" cm"),t.push(a+" 0 m"),t.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),t.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),t.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),t.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),t.push("f"),t.push("Q"),t.push("0 g"),t.push("q"),t.push("1 0 0 1 "+da(Ze.internal.getWidth(n)/2)+" "+da(Ze.internal.getHeight(n)/2)+" cm"),t.push(r+" 0 m"),t.push(r+" "+d+" "+d+" "+r+" 0 "+r+" c"),t.push("-"+d+" "+r+" -"+r+" "+d+" -"+r+" 0 c"),t.push("-"+r+" -"+d+" -"+d+" -"+r+" 0 -"+r+" c"),t.push(d+" -"+r+" "+r+" -"+d+" "+r+" 0 c"),t.push("f"),t.push("Q"),e.stream=t.join(`
68`),e},OffPushDown:function(n){var e=Li(n);e.scope=n.scope;var t=[],r=Ze.internal.getWidth(n)<=Ze.internal.getHeight(n)?Ze.internal.getWidth(n)/4:Ze.internal.getHeight(n)/4;r=Number((.9*r).toFixed(5));var a=Number((2*r).toFixed(5)),o=Number((a*Ze.internal.Bezier_C).toFixed(5));return t.push("0.749023 g"),t.push("q"),t.push("1 0 0 1 "+da(Ze.internal.getWidth(n)/2)+" "+da(Ze.internal.getHeight(n)/2)+" cm"),t.push(a+" 0 m"),t.push(a+" "+o+" "+o+" "+a+" 0 "+a+" c"),t.push("-"+o+" "+a+" -"+a+" "+o+" -"+a+" 0 c"),t.push("-"+a+" -"+o+" -"+o+" -"+a+" 0 -"+a+" c"),t.push(o+" -"+a+" "+a+" -"+o+" "+a+" 0 c"),t.push("f"),t.push("Q"),e.stream=t.join(`
69`),e}},Cross:{createAppearanceStream:function(n){var e={D:{Off:Ze.RadioButton.Cross.OffPushDown},N:{}};return e.N[n]=Ze.RadioButton.Cross.YesNormal,e.D[n]=Ze.RadioButton.Cross.YesPushDown,e},getCA:function(){return"8"},YesNormal:function(n){var e=Li(n);e.scope=n.scope;var t=[],r=Ze.internal.calculateCross(n);return t.push("q"),t.push("1 1 "+Nt(Ze.internal.getWidth(n)-2)+" "+Nt(Ze.internal.getHeight(n)-2)+" re"),t.push("W"),t.push("n"),t.push(Nt(r.x1.x)+" "+Nt(r.x1.y)+" m"),t.push(Nt(r.x2.x)+" "+Nt(r.x2.y)+" l"),t.push(Nt(r.x4.x)+" "+Nt(r.x4.y)+" m"),t.push(Nt(r.x3.x)+" "+Nt(r.x3.y)+" l"),t.push("s"),t.push("Q"),e.stream=t.join(`
70`),e},YesPushDown:function(n){var e=Li(n);e.scope=n.scope;var t=Ze.internal.calculateCross(n),r=[];return r.push("0.749023 g"),r.push("0 0 "+Nt(Ze.internal.getWidth(n))+" "+Nt(Ze.internal.getHeight(n))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Nt(Ze.internal.getWidth(n)-2)+" "+Nt(Ze.internal.getHeight(n)-2)+" re"),r.push("W"),r.push("n"),r.push(Nt(t.x1.x)+" "+Nt(t.x1.y)+" m"),r.push(Nt(t.x2.x)+" "+Nt(t.x2.y)+" l"),r.push(Nt(t.x4.x)+" "+Nt(t.x4.y)+" m"),r.push(Nt(t.x3.x)+" "+Nt(t.x3.y)+" l"),r.push("s"),r.push("Q"),e.stream=r.join(`
71`),e},OffPushDown:function(n){var e=Li(n);e.scope=n.scope;var t=[];return t.push("0.749023 g"),t.push("0 0 "+Nt(Ze.internal.getWidth(n))+" "+Nt(Ze.internal.getHeight(n))+" re"),t.push("f"),e.stream=t.join(`
72`),e}}},createDefaultAppearanceStream:function(n){var e=n.scope.internal.getFont(n.fontName,n.fontStyle).id,t=n.scope.__private__.encodeColorString(n.color);return"/"+e+" "+n.fontSize+" Tf "+t}};Ze.internal={Bezier_C:.551915024494,calculateCross:function(n){var e=Ze.internal.getWidth(n),t=Ze.internal.getHeight(n),r=Math.min(e,t);return{x1:{x:(e-r)/2,y:(t-r)/2+r},x2:{x:(e-r)/2+r,y:(t-r)/2},x3:{x:(e-r)/2,y:(t-r)/2},x4:{x:(e-r)/2+r,y:(t-r)/2+r}}}},Ze.internal.getWidth=function(n){var e=0;return Kt(n)==="object"&&(e=Uu(n.Rect[2])),e},Ze.internal.getHeight=function(n){var e=0;return Kt(n)==="object"&&(e=Uu(n.Rect[3])),e};var p2=yn.addField=function(n){if(d2(this,n),!(n instanceof gi))throw new Error("Invalid argument passed to 
72jsPDF.addField.");var e;return(e=n).scope.internal.acroformPlugin.printedOut&&(e.scope.internal.acroformPlugin.printedOut=!1,e.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),e.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(e),n.page=n.scope.internal.getCurrentPageInfo().pageNumber,this};yn.AcroFormChoiceField=$a,yn.AcroFormListBox=Ya,yn.AcroFormComboBox=Ja,yn.AcroFormEditBox=Xo,yn.AcroFormButton=zn,yn.AcroFormPushButton=Ko,yn.AcroFormRadioButton=Xa,yn.AcroFormCheckBox=Zo,yn.AcroFormTextField=ka,yn.AcroFormPasswordField=Qo,yn.AcroFormAppearance=Ze,yn.AcroForm={ChoiceField:$a,ListBox:Ya,ComboBox:Ja,EditBox:Xo,Button:zn,PushButton:Ko,RadioButton:Xa,CheckBox:Zo,TextField:ka,PasswordField:Qo,Appearance:Ze},ut.AcroForm={ChoiceField:$a,ListBox:Ya,ComboBox:Ja,EditBox:Xo,Button:zn,PushButton:Ko,RadioButton:Xa,CheckBox:Zo,TextField:ka,PasswordField:Qo,Appearance:Ze};ut.AcroForm;function $c(n){return n.reduce(function(e,t,r){return e[t]=r,e},{})}(function(n){var e="addImage_";n.__addimage__={};var t="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]]},a=n.__addimage__.getImageFileTypeByImageData=function(I,R){var X,$,me,Se,_e,fe=t;if((R=R||t)==="RGBA"||I.data!==void 0&&I.data instanceof Uint8ClampedArray&&"height"in I&&"width"in I)return"RGBA";if(ke(I))for(_e in r)for(me=r[_e],X=0;X<me.length;X+=1){for(Se=!0,$=0;$<me[X].length;$+=1)if(me[X][$]!==void 0&&me[X][$]!==I[$]){Se=!1;break}if(Se===!0){fe=_e;break}}else for(_e in r)for(me=r[_e],X=0;X<me.length;X+=1){for(Se=!0,$=0;$<me[X].length;$+=1)if(me[X][$]!==void 0&&me[X][$]!==I.charCodeAt($)){Se=!1;break}if(Se===!0){fe=_e;break}}return fe===t&&R!==t&&(fe=R),fe},o=function I(R){for(var X=this.internal.write,$=this.internal.putStream,me=(0,this.internal.getFilters)();me.indexOf("FlateEncode")!==-1;)me.splice(me.indexOf("FlateEncode"),1);R.objectId=this.internal.newObject();var Se=[];if(Se.push({key:"Type",value:"/XObject"}),Se.push({key:"Subtype",value:"/Image"}),Se.push({key:"Width",value:R.width}),Se.push({key:"Height",value:R.height}),R.colorSpace===E.INDEXED?Se.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(R.palette.length/3-1)+" "+("sMask"in R&&R.sMask!==void 0?R.objectId+2:R.objectId+1)+" 0 R]"}):(Se.push({key:"ColorSpace",value:"/"+R.colorSpace}),R.colorSpace===E.DEVICE_CMYK&&Se.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),Se.push({key:"BitsPerComponent",value:R.bitsPerComponent}),"decodeParameters"in R&&R.decodeParameters!==void 0&&Se.push({key:"DecodeParms",value:"<<"+R.decodeParameters+">>"}),"transparency"in R&&Array.isArray(R.transparency)&&R.transparency.length>0){for(var _e="",fe=0,xe=R.transparency.length;fe<xe;fe++)_e+=R.transparency[fe]+" "+R.transparency[fe]+" ";Se.push({key:"Mask",value:"["+_e+"]"})}R.sMask!==void 0&&Se.push({key:"SMask",value:R.objectId+1+" 0 R"});var De=R.filter!==void 0?["/"+R.filter]:void 0;if($({data:R.data,additionalKeyValues:Se,alreadyAppliedFilters:De,objectId:R.objectId}),X("endobj"),"sMask"in R&&R.sMask!==void 0){var Fe,N=(Fe=R.sMaskBitsPerComponent)!==null&&Fe!==void 0?Fe:R.bitsPerComponent,H={width:R.width,height:R.height,colorSpace:"DeviceGray",bitsPerComponent:N,data:R.sMask};"filter"in R&&(H.decodeParameters="/Predictor ".concat(R.predictor," /Colors 1 /BitsPerComponent ").concat(N," /Columns ").concat(R.width),H.filter=R.filter),I.call(this,H)}
vendor: 13,121 bytes, line 72
72if(R.colorSpace===E.INDEXED){var G=this.internal.newObject();$({data:ie(new Uint8Array(R.palette)),objectId:G}),X("endobj")}},d=function(){var I=this.internal.collections[e+"images"];for(var R in I)o.call(this,I[R])},l=function(){var I,R=this.internal.collections[e+"images"],X=this.internal.write;for(var $ in R)X("/I"+(I=R[$]).index,I.objectId,"0","R")},c=function(){this.internal.collections[e+"images"]||(this.internal.collections[e+"images"]={},this.internal.events.subscribe("putResources",d),this.internal.events.subscribe("putXobjectDict",l))},f=function(){var I=this.internal.collections[e+"images"];return c.call(this),I},w=function(){return Object.keys(this.internal.collections[e+"images"]).length},A=function(I){return typeof n["process"+I.toUpperCase()]=="function"},F=function(I){return Kt(I)==="object"&&I.nodeType===1},m=function(I,R){if(I.nodeName==="IMG"&&I.hasAttribute("src")){var X=""+I.getAttribute("src");if(X.indexOf("data:image/")===0)return Jo(unescape(X).split("base64,").pop());var $=n.loadFile(X,!0);if($!==void 0)return $}if(I.nodeName==="CANVAS"){if(I.width===0||I.height===0)throw new Error("Given canvas must have data. Canvas width: "+I.width+", height: "+I.height);var me;switch(R){case"PNG":me="image/png";break;case"WEBP":me="image/webp";break;default:me="image/jpeg"}return Jo(I.toDataURL(me,1).split("base64,").pop())}},B=function(I){var R=this.internal.collections[e+"images"];if(R){for(var X in R)if(I===R[X].alias)return R[X]}},D=function(I,R,X){return I||R||(I=-96,R=-96),I<0&&(I=-1*X.width*72/I/this.internal.scaleFactor),R<0&&(R=-1*X.height*72/R/this.internal.scaleFactor),I===0&&(I=R*X.width/X.height),R===0&&(R=I*X.height/X.width),[I,R]},W=function(I,R,X,$,me,Se){var _e=D.call(this,X,$,me),fe=this.internal.getCoordinateString,xe=this.internal.getVerticalCoordinateString,De=f.call(this);if(X=_e[0],$=_e[1],De[me.index]=me,Se){Se*=Math.PI/180;var Fe=Math.cos(Se),N=Math.sin(Se),H=function(K){return K.toFixed(4)},G=[H(Fe),H(N),H(-1*N),H(Fe),0,0,"cm"]}this.internal.write("q"),Se?(this.internal.write([1,"0","0",1,fe(I),xe(R+$),"cm"].join(" ")),this.internal.write(G.join(" ")),this.internal.write([fe(X),"0","0",fe($),"0","0","cm"].join(" "))):this.internal.write([fe(X),"0","0",fe($),fe(I),xe(R+$),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+me.index+" Do"),this.internal.write("Q")},E=n.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"};n.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 Z=n.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},ee=n.__addimage__.sHashCode=function(I){var R,X,$=0;if(typeof I=="string")for(X=I.length,R=0;R<X;R++)$=($<<5)-$+I.charCodeAt(R),$|=0;else if(ke(I))for(X=I.byteLength/2,R=0;R<X;R++)$=($<<5)-$+I[R],$|=0;return $},Y=n.__addimage__.validateStringAsBase64=function(I){(I=I||"").toString().trim();var R=!0;return I.length===0&&(R=!1),I.length%4!=0&&(R=!1),/^[A-Za-z0-9+/]+$/.test(I.substr(0,I.length-2))===!1&&(R=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(I.substr(-2))===!1&&(R=!1),R},be=n.__addimage__.extractImageFromDataUrl=function(I){if(I==null||!(I=I.trim()).startsWith("data:"))return null;var R=I.indexOf(",");return R<0?null:I.substring(0,R).trim().endsWith("base64")?I.substring(R+1):null};n.__addimage__.isArrayBuffer=function(I){return I instanceof ArrayBuffer};var ke=n.__addimage__.isArrayBufferView=function(I){return I instanceof Int8Array||I instanceof Uint8Array||I instanceof Uint8ClampedArray||I instanceof Int16Array||I instanceof Uint16Array||I instanceof Int32Array||I instanceof Uint32Array||I instanceof Float32Array||I instanceof Float64Array},we=n.__addimage__.binaryStringToUint8Array=function(I){for(var R=I.length,X=new Uint8Array(R),$=0;$<R;$++)X[$]=I.charCodeAt($);return X},ie=n.__addimage__.arrayBufferToBinaryString=function(I){for(var R="",X=ke(I)?I:new Uint8Array(I),$=0;$<X.length;$+=8192)R+=String.fromCharCode.apply(null,X.subarray($,$+8192));return R};n.addImage=function(){var I,R,X,$,me,Se,_e,fe,xe;if(typeof arguments[1]=="number"?(R=t,X=arguments[1],$=arguments[2],me=arguments[3],Se=arguments[4],_e=arguments[5],fe=arguments[6],xe=arguments[7]):(R=arguments[1],X=arguments[2],$=arguments[3],me=arguments[4],Se=arguments[5],_e=arguments[6],fe=arguments[7],xe=arguments[8]),Kt(I=arguments[0])==="object"&&!F(I)&&"imageData"in I){var De=I;I=De.imageData,R=De.format||R||t,X=De.x||X||0,$=De.y||$||0,me=De.w||De.width||me,Se=De.h||De.height||Se,_e=De.alias||_e,fe=De.compression||fe,xe=De.rotation||De.angle||xe}var Fe=this.internal.getFilters();if(fe===void 0&&Fe.indexOf("FlateEncode")!==-1&&(fe="SLOW"),isNaN(X)||isNaN($))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var N=V.call(this,I,R,_e,fe);return W.call(this,X,$,me,Se,N,xe),this};var V=function(I,R,X,$){var me,Se,_e;if(typeof I=="string"&&a(I)===t){I=unescape(I);var fe=se(I,!1);(fe!==""||(fe=n.loadFile(I,!0))!==void 0)&&(I=fe)}if(F(I)&&(I=m(I,R)),R=a(I,R),!A(R))throw new Error("addImage does not support files of type '"+R+"', please ensure that a plugin for '"+R+"' support is added.");if(((_e=X)==null||_e.length===0)&&(X=(function(xe){return typeof xe=="string"||ke(xe)?ee(xe):ke(xe.data)?ee(xe.data):null})(I)),(me=B.call(this,X))||(I instanceof Uint8Array||R==="RGBA"||(Se=I,I=we(I)),me=this["process"+R.toUpperCase()](I,w.call(this),X,(function(xe){return xe&&typeof xe=="string"&&(xe=xe.toUpperCase()),xe in n.image_compression?xe:Z.NONE})($),Se)),!me)throw new Error("An unknown error occurred whilst processing the image.");return me},se=n.__addimage__.convertBase64ToBinaryString=function(I,R){R=typeof R!="boolean"||R;var X,$="";if(typeof I=="string"){var me;X=(me=be(I))!==null&&me!==void 0?me:I;try{$=Jo(X)}catch(Se){if(R)throw Y(X)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+Se.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return $};n.getImageProperties=function(I){var R,X,$="";if(F(I)&&(I=m(I)),typeof I=="string"&&a(I)===t&&(($=se(I,!1))===""&&($=n.loadFile(I)||""),I=$),X=a(I),!A(X))throw new Error("addImage does not support files of type '"+X+"', please ensure that a plugin for '"+X+"' support is added.");if(I instanceof Uint8Array||(I=we(I)),!(R=this["process"+X.toUpperCase()](I)))throw new Error("An unknown error occurred whilst processing the image");return R.fileType=X,R}})(ut.API),(function(n){var e=function(t){if(t!==void 0&&t!="")return!0};ut.API.events.push(["addPage",function(t){this.internal.getPageInfo(t.pageNumber).pageContext.annotations=[]}]),n.events.push(["putPage",function(t){for(var r,a,o,d=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,c=this.internal.getPageInfoByObjId(t.objId),f=t.pageContext.annotations,w=!1,A=0;A<f.length&&!w;A++)switch((r=f[A]).type){case"link":(e(r.options.url)||e(r.options.pageNumber))&&(w=!0);break;case"reference":case"text":case"freetext":w=!0}if(w!=0){this.internal.write("/Annots [");for(var F=0;F<f.length;F++){r=f[F];var m=this.internal.pdfEscape,B=this.internal.getEncryptor(t.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var D=this.internal.newAdditionalObject(),W=this.internal.newAdditionalObject(),E=this.internal.getEncryptor(D.objId),Z=r.title||"Note";o="<</Type /Annot /Subtype /Text "+(a="/Rect ["+d(r.bounds.x)+" "+l(r.bounds.y+r.bounds.h)+" "+d(r.bounds.x+r.bounds.w)+" "+l(r.bounds.y)+"] ")+"/Contents ("+m(E(r.contents))+")",o+=" /Popup "+W.objId+" 0 R",o+=" /P "+c.objId+" 0 R",o+=" /T ("+m(E(Z))+") >>",D.content=o;var ee=D.objId+" 0 R";o="<</Type /Annot /Subtype /Popup "+(a="/Rect ["+d(r.bounds.x+30)+" "+l(r.bounds.y+r.bounds.h)+" "+d(r.bounds.x+r.bounds.w+30)+" "+l(r.bounds.y)+"] ")+" /Parent "+ee,r.open&&(o+=" /Open true"),o+=" >>",W.content=o,this.internal.write(D.objId,"0 R",W.objId,"0 R");break;case"freetext":a="/Rect ["+d(r.bounds.x)+" "+l(r.bounds.y)+" "+d(r.bounds.x+r.bounds.w)+" "+l(r.bounds.y+r.bounds.h)+"] ";var Y="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(r.color||"#000000");o="<</Type /Annot /Subtype /FreeText "+a+"/Contents ("+m(B(r.contents))+")",o+=" /DS("+m(B(Y))+")",o+=" /Border [0 0 0]",o+=" >>",this.internal.write(o);break;case"link":if(r.options.name){var be=this.annotations._nameMap[r.options.name];r.options.pageNumber=be.page,r.options.top=be.y}else r.options.top||(r.options.top=0);if(a="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",o="",r.options.url)o="<</Type /Annot /Subtype /Link "+a+"/Border [0 0 0] /A <</S /URI /URI ("+m(B(r.options.url))+") >>";else if(r.options.pageNumber)switch(o="<</Type /Annot /Subtype /Link "+a+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":o+=" /Fit]";break;case"FitH":o+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,o+=" /FitV "+r.options.left+"]";break;default:var ke=l(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),o+=" /XYZ "+r.options.left+" "+ke+" "+r.options.zoom+"]"}o!=""&&(o+=" >>",this.internal.write(o))}}this.internal.write("]")}}]),n.createAnnotation=function(t){var r=this.internal.getCurrentPageInfo();switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":r.pageContext.annotations.push(t)}},n.link=function(t,r,a,o,d){var l=this.internal.getCurrentPageInfo(),c=this.internal.getCoordinateString,f=this.internal.getVerticalCoordinateString;l.pageContext.annotations.push({finalBounds:{x:c(t),y:f(r),w:c(t+a),h:f(r+o)},options:d,type:"link"})},n.textWithLink=function(t,r,a,o){var d,l,c=this.getTextWidth(t),f=this.internal.getLineHeight()/this.internal.scaleFactor;if(o.maxWidth!==void 0){l=o.maxWidth;var w=this.splitTextToSize(t,l).length;d=Math.ceil(f*w)}else l=c,d=f;return this.text(t,r,a,o),a+=.2*f,o.align==="center"&&(r-=c/2),o.align==="right"&&(r-=c),this.link(r,a-f,l,d,o),c},n.getTextWidth=function(t){var r=this.internal.getFontSize();return this.getStringUnitWidth(t)*r/this.internal.scaleFactor}})(ut.API),(function(n){var e={1569:[65152],1570:[65153,65154],1571:[65155,65156],1572:[65157,65158],1573:[65159,65160],1574:[65161,65162,65163,65164],1575:[65165,65166],1576:[65167,65168,65169,65170],1577:[65171,65172],1578:[65173,65174,65175,65176],1579:[65177,65178,65179,65180],1580:[65181,65182,65183,65184],1581:[65185,65186,65187,65188],1582:[65189,65190,65191,65192],1583:[65193,65194],1584:[65195,65196],1585:[65197,65198],1586:[65199,65200],1587:[65201,65202,65203,65204],1588:[65205,65206,65207,65208],1589:[65209,65210,65211,65212],1590:[65213,65214,65215,65216],1591:[65217,65218,65219,65220],1592:[65221,65222,65223,65224],1593:[65225,65226,65227,65228],1594:[65229,65230,65231,65232],1601:[65233,65234,65235,65236],1602:[65237,65238,65239,65240],1603:[65241,65242,65243,65244],1604:[65245,65246,65247,65248],1605:[65249,65250,65251,65252],1606:[65253,65254,65255,65256],1607:[65257,65258,65259,65260],1608:[65261,65262],1609:[65263,65264,64488,64489],1610:[65265,65266,65267,65268],1649:[64336,64337],1655:[64477],1657:[64358,64359,64360,64361],1658:[64350,64351,64352,64353],1659:[64338,64339,64340,64341],1662:[64342,64343,64344,64345],1663:[64354,64355,64356,64357],1664:[64346,64347,64348,64349],1667:[64374,64375,64376,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]},t={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},a=[1570,1571,1573,1575];n.__arabicParser__={};var o=n.__arabicParser__.isInArabicSubstitutionA=function(D){return e[D.charCodeAt(0)]!==void 0},d=n.__arabicParser__.isArabicLetter=function(D){return typeof D=="str
72ing"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(D)},l=n.__arabicParser__.isArabicEndLetter=function(D){return d(D)&&o(D)&&e[D.charCodeAt(0)].length<=2},c=n.__arabicParser__.isArabicAlfLetter=function(D){return d(D)&&a.indexOf(D.charCodeAt(0))>=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(D){return d(D)&&o(D)&&e[D.charCodeAt(0)].length>=1};var f=n.__arabicParser__.arabicLetterHasFinalForm=function(D){return d(D)&&o(D)&&e[D.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(D){return d(D)&&o(D)&&e[D.charCodeAt(0)].length>=3};var w=n.__arabicParser__.arabicLetterHasMedialForm=function(D){return d(D)&&o(D)&&e[D.charCodeAt(0)].length==4},A=n.__arabicParser__.resolveLigatures=function(D){var W=0,E=t,Z="",ee=0;for(W=0;W<D.length;W+=1)E[D.charCodeAt(W)]!==void 0?(ee++,typeof(E=E[D.charCodeAt(W)])=="number"&&(Z+=String.fromCharCode(E),E=t,ee=0),W===D.length-1&&(E=t,Z+=D.charAt(W-(ee-1)),W-=ee-1,ee=0)):(E=t,Z+=D.charAt(W-ee),W-=ee,ee=0);return Z};n.__arabicParser__.isArabicDiacritic=function(D){return D!==void 0&&r[D.charCodeAt(0)]!==void 0};var F=n.__arabicParser__.getCorrectForm=function(D,W,E){return d(D)?o(D)===!1?-1:!f(D)||!d(W)&&!d(E)||!d(E)&&l(W)||l(D)&&!d(W)||l(D)&&c(W)||l(D)&&l(W)?0:w(D)&&d(W)&&!l(W)&&d(E)&&f(E)?3:l(D)||!d(E)?1:2:-1},m=function(D){var W=0,E=0,Z=0,ee="",Y="",be="",ke=(D=D||"").split("\\s+"),we=[];for(W=0;W<ke.length;W+=1){for(we.push(""),E=0;E<ke[W].length;E+=1)ee=ke[W][E],Y=ke[W][E-1],be=ke[W][E+1],d(ee)?(Z=F(ee,Y,be),we[W]+=Z!==-1?String.fromCharCode(e[ee.charCodeAt(0)][Z]):ee):we[W]+=ee;we[W]=A(we[W])}return we.join(" ")},B=n.__arabicParser__.processArabic=n.processArabic=function(){var D,W=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,E=[];if(Array.isArray(W)){var Z=0;for(E=[],Z=0;Z<W.length;Z+=1)Array.isArray(W[Z])?E.push([m(W[Z][0]),W[Z][1],W[Z][2]]):E.push([m(W[Z])]);D=E}else D=m(W);return typeof arguments[0]=="string"?D:(arguments[0].text=D,arguments[0])};n.events.push(["preProcessText",B])})(ut.API),ut.API.autoPrint=function(n){var e;return(n=n||{}).variant=n.variant||"non-conform",n.variant==="javascript"?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",function(){e=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 "+e+" 0 R")})),this},(function(n){var e=function(){var t=void 0;Object.defineProperty(this,"pdf",{get:function(){return t},set:function(l){t=l}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(l){r=isNaN(l)||Number.isInteger(l)===!1||l<0?150:l,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var a=300;Object.defineProperty(this,"height",{get:function(){return a}
vendor: 48,571 bytes, lines 72-109
72,set:function(l){a=isNaN(l)||Number.isInteger(l)===!1||l<0?300:l,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=a+1)}});var o=[];Object.defineProperty(this,"childNodes",{get:function(){return o},set:function(l){o=l}});var d={};Object.defineProperty(this,"style",{get:function(){return d},set:function(l){d=l}}),Object.defineProperty(this,"parentNode",{})};e.prototype.getContext=function(t,r){var a;if((t=t||"2d")!=="2d")return null;for(a in r)this.pdf.context2d.hasOwnProperty(a)&&(this.pdf.context2d[a]=r[a]);return this.pdf.context2d._canvas=this,this.pdf.context2d},e.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new e,this.canvas.pdf=this}])})(ut.API),(function(n){var e={left:0,top:0,bottom:0,right:0},t=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},e),this.internal.__cell__.margins.width=this.getPageWidth(),a.call(this))},a=function(){this.internal.__cell__.lastCell=new o,this.internal.__cell__.pages=1},o=function(){var c=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return c},set:function(D){c=D}});var f=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return f},set:function(D){f=D}});var w=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return w},set:function(D){w=D}});var A=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return A},set:function(D){A=D}});var F=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return F},set:function(D){F=D}});var m=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return m},set:function(D){m=D}});var B=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return B},set:function(D){B=D}}),this};o.prototype.clone=function(){return new o(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},o.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(c){return r.call(this),this.internal.__cell__.headerFunction=typeof c=="function"?c:void 0,this},n.getTextDimensions=function(c,f){r.call(this);var w=(f=f||{}).fontSize||this.getFontSize(),A=f.font||this.getFont(),F=f.scaleFactor||this.internal.scaleFactor,m=0,B=0,D=0,W=this;if(!Array.isArray(c)&&typeof c!="string"){if(typeof c!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");c=String(c)}var E=f.maxWidth;E>0?typeof c=="string"?c=this.splitTextToSize(c,E):Object.prototype.toString.call(c)==="[object Array]"&&(c=c.reduce(function(ee,Y){return ee.concat(W.splitTextToSize(Y,E))},[])):c=Array.isArray(c)?c:[c];for(var Z=0;Z<c.length;Z++)m<(D=this.getStringUnitWidth(c[Z],{font:A})*w)&&(m=D);return m!==0&&(B=c.length),{w:m/=F,h:Math.max((B*w*this.getLineHeightFactor()-w*(this.getLineHeightFactor()-1))/F,0)}},n.cellAddPage=function(){r.call(this),this.addPage();var c=this.internal.__cell__.margins||e;return this.internal.__cell__.lastCell=new o(c.left,c.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var d=n.cell=function(){var c;c=arguments[0]instanceof o?arguments[0]:new o(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),r.call(this);var f=this.internal.__cell__.lastCell,w=this.internal.__cell__.padding,A=this.internal.__cell__.margins||e,F=this.internal.__cell__.tableHeaderRow,m=this.internal.__cell__.printHeaders;return f.lineNumber!==void 0&&(f.lineNumber===c.lineNumber?(c.x=(f.x||0)+(f.width||0),c.y=f.y||0):f.y+f.height+c.height+A.bottom>this.getPageHeight()?(this.cellAddPage(),c.y=A.top,m&&F&&(this.printHeaderRow(c.lineNumber,!0),c.y+=F[0].height)):c.y=f.y+f.height||c.y),c.text[0]!==void 0&&(this.rect(c.x,c.y,c.width,c.height,t===!0?"FD":void 0),c.align==="right"?this.text(c.text,c.x+c.width-w,c.y+w,{align:"right",baseline:"top"}):c.align==="center"?this.text(c.text,c.x+c.width/2,c.y+w,{align:"center",baseline:"top",maxWidth:c.width-w-w}):this.text(c.text,c.x+w,c.y+w,{align:"left",baseline:"top",maxWidth:c.width-w-w})),this.internal.__cell__.lastCell=c,this};n.table=function(c,f,w,A,F){if(r.call(this),!w)throw new Error("No data for PDF table.");var m,B,D,W,E=[],Z=[],ee=[],Y={},be={},ke=[],we=[],ie=(F=F||{}).autoSize||!1,V=F.printHeaders!==!1,se=F.css&&F.css["font-size"]!==void 0?16*F.css["font-size"]:F.fontSize||12,I=F.margins||Object.assign({width:this.getPageWidth()},e),R=typeof F.padding=="number"?F.padding:3,X=F.headerBackgroundColor||"#c8c8c8",$=F.headerTextColor||"#000";if(a.call(this),this.internal.__cell__.printHeaders=V,this.internal.__cell__.margins=I,this.internal.__cell__.table_font_size=se,this.internal.__cell__.padding=R,this.internal.__cell__.headerBackgroundColor=X,this.internal.__cell__.headerTextColor=$,this.setFontSize(se),A==null)Z=E=Object.keys(w[0]),ee=E.map(function(){return"left"});else if(Array.isArray(A)&&Kt(A[0])==="object")for(E=A.map(function(De){return De.name}),Z=A.map(function(De){return De.prompt||De.name||""}),ee=A.map(function(De){return De.align||"left"}),m=0;m<A.length;m+=1)be[A[m].name]=.7499990551181103*A[m].width;else Array.isArray(A)&&typeof A[0]=="string"&&(Z=E=A,ee=E.map(function(){return"left"}));if(ie||Array.isArray(A)&&typeof A[0]=="string")for(m=0;m<E.length;m+=1){for(Y[W=E[m]]=w.map(function(De){return De[W]}),this.setFont(void 0,"bold"),ke.push(this.getTextDimensions(Z[m],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),B=Y[W],this.setFont(void 0,"normal"),D=0;D<B.length;D+=1)ke.push(this.getTextDimensions(B[D],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);be[W]=Math.max.apply(null,ke)+R+R,ke=[]}if(V){var me={};for(m=0;m<E.length;m+=1)me[E[m]]={},me[E[m]].text=Z[m],me[E[m]].align=ee[m];var Se=l.call(this,me,be);we=E.map(function(De){return new o(c,f,be[De],Se,me[De].text,void 0,me[De].align)}),this.setTableHeaderRow(we),this.printHeaderRow(1,!1)}var _e=A.reduce(function(De,Fe){return De[Fe.name]=Fe.align,De},{});for(m=0;m<w.length;m+=1){"rowStart"in F&&F.rowStart instanceof Function&&F.rowStart({row:m,data:w[m]},this);var fe=l.call(this,w[m],be);for(D=0;D<E.length;D+=1){var xe=w[m][E[D]];"cellStart"in F&&F.cellStart instanceof Function&&F.cellStart({row:m,col:D,data:xe},this),d.call(this,new o(c,f,be[E[D]],fe,xe,m+2,_e[E[D]]))}}return this.internal.__cell__.table_x=c,this.internal.__cell__.table_y=f,this};var l=function(c,f){var w=this.internal.__cell__.padding,A=this.internal.__cell__.table_font_size,F=this.internal.scaleFactor;return Object.keys(c).map(function(m){var B=c[m];return this.splitTextToSize(B.hasOwnProperty("text")?B.text:B,f[m]-w-w)},this).map(function(m){return this.getLineHeightFactor()*m.length*A/F+w+w},this).reduce(function(m,B){return Math.max(m,B)},0)};n.setTableHeaderRow=function(c){r.call(this),this.internal.__cell__.tableHeaderRow=c},n.printHeaderRow=function(c,f){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var w;if(t=!0,typeof this.internal.__cell__.headerFunction=="function"){var A=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new o(A[0],A[1],A[2],A[3],void 0,-1)}this.setFont(void 0,"bold");for(var F=[],m=0;m<this.internal.__cell__.tableHeaderRow.length;m+=1){w=this.internal.__cell__.tableHeaderRow[m].clone(),f&&(w.y=this.internal.__cell__.margins.top||0,F.push(w)),w.lineNumber=c;var B=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),d.call(this,w),this.setTextColor(B)}F.length>0&&this.setTableHeaderRow(F),this.setFont(void 0,"normal"),t=!1}})(ut.API);var Yc={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Jc=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],tl=$c(Jc),Xc=[100,200,300,400,500,600,700,800,900],g2=$c(Xc);function Us(n){var e=n.family.replace(/"|'/g,"").toLowerCase(),t=(function(o){return Yc[o=o||"normal"]?o:"normal"})(n.style),r=(function(o){return o?typeof o=="number"?o>=100&&o<=900&&o%100==0?o:400:/^\d00$/.test(o)?parseInt(o):o==="bold"?700:400:400})(n.weight),a=(function(o){return typeof tl[o=o||"normal"]=="number"?o:"normal"})(n.stretch);return{family:e,style:t,weight:r,stretch:a,src:n.src||[],ref:n.ref||{name:e,style:[a,t,r].join(" ")}}}function zu(n,e,t,r){var a;for(a=t;a>=0&&a<e.length;a+=r)if(n[e[a]])return n[e[a]];for(a=t;a>=0&&a<e.length;a-=r)if(n[e[a]])return n[e[a]]}var m2={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},Hu={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Wu(n){return[n.stretch,n.style,n.weight,n.family].join(" ")}function Vu(n){return n.trimLeft()}function v2(n,e){for(var t=0;t<n.length;){if(n.charAt(t)===e)return[n.substring(0,t),n.substring(t+1)];t+=1}return null}function w2(n){var e=n.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return e===null?null:[e[0],n.substring(e[0].length)]}var za,Vo,Gu,$u,Yu,zs=["times"];function Ju(n,e,t,r,a){var o=4,d=Ku;switch(a){case ut.API.image_compression.FAST:o=1,d=Xu;break;case ut.API.image_compression.MEDIUM:o=6,d=Zu;break;case ut.API.image_compression.SLOW:o=9,d=Qu}n=(function(c,f,w,A){for(var F,m=c.length/f,B=new Uint8Array(c.length+m),D=[y2,Xu,Ku,Zu,Qu],W=0;W<m;W+=1){var E=W*f,Z=c.subarray(E,E+f);if(A)B.set(A(Z,w,F),E+W);else{for(var ee=D.length,Y=[],be=0;be<ee;be+=1)Y[be]=D[be](Z,w,F);var ke=x2(Y.concat());B.set(Y[ke],E+W)}F=Z}return B})(n,e,Math.ceil(t*r/8),d);var l=Ys(n,{level:o});return ut.API.__addimage__.arrayBufferToBinaryString(l)}function y2(n){var e=Array.apply([],n);return e.unshift(0),e}function Xu(n,e){var t=n.length,r=[];r[0]=1;for(var a=0;a<t;a+=1){var o=n[a-e]||0;r[a+1]=n[a]-o+256&255}return r}function Ku(n,e,t){var r=n.length,a=[];a[0]=2;for(var o=0;o<r;o+=1){var d=t&&t[o]||0;a[o+1]=n[o]-d+256&255}return a}function Zu(n,e,t){var r=n.length,a=[];a[0]=3;for(var o=0;o<r;o+=1){var d=n[o-e]||0,l=t&&t[o]||0;a[o+1]=n[o]+256-(d+l>>>1)&255}return a}function Qu(n,e,t){var r=n.length,a=[];a[0]=4;for(var o=0;o<r;o+=1){var d=b2(n[o-e]||0,t&&t[o]||0,t&&t[o-e]||0);a[o+1]=n[o]-d+256&255}return a}function b2(n,e,t){if(n===e&&e===t)return n;var r=Math.abs(e-t),a=Math.abs(n-t),o=Math.abs(n+e-t-t);return r<=a&&r<=o?n:a<=o?e:t}function x2(n){var e=n.map(function(t){return t.reduce(function(r,a){return r+Math.abs(a)},0)});return e.indexOf(Math.min.apply(null,e))}function Hs(n,e,t){var r=e*t,a=Math.floor(r/8),o=16-(r-8*a+t),d=(1<<t)-1;return Kc(n,a)>>o&d}function ec(n,e,t,r){var a=t*r,o=Math.floor(a/8),d=16-(a-8*o+r),l=(1<<r)-1,c=(e&l)<<d;(function(f,w,A){if(w+1<f.byteLength)f.setUint16(w,A,!1);else{var F=A>>8&255;f.setUint8(w,F)}})(n,o,Kc(n,o)&~(l<<d)&65535|c)}function Kc(n,e){return e+1<n.byteLength?n.getUint16(e,!1):n.getUint8(e)<<8}function _2(n){var e=0;if(n[e++]!==71||n[e++]!==73||n[e++]!==70||n[e++]!==56||(n[e++]+1&253)!=56||n[e++]!==97)throw new Error("Invalid GIF 87a/89a header.");var t=n[e++]|n[e++]<<8,r=n[e++]|n[e++]<<8,a=n[e++],o=a>>7,d=1<<1+(7&a);n[e++],n[e++];var l=null,c=null;o&&(l=e,c=d,e+=3*d);var f=!0,w=[],A=0,F=null,m=0,B=null;for(this.width=t,this.height=r;f&&e<n.length;)switch(n[e++]){case 33:switch(n[e++]){case 255:if(n[e]!==11||n[e+1]==78&&n[e+2]==69&&n[e+3]==84&&n[e+4]==83&&n[e+5]==67&&n[e+6]==65&&n[e+7]==80&&n[e+8]==69&&n[e+9]==50&&n[e+10]==46&&n[e+11]==48&&n[e+12]==3&&n[e+13]==1&&n[e+16]==0)e+=14,B=n[e++]|n[e++]<<8,e++;else for(e+=12;;){if(!((I=n[e++])>=0))throw Error("Invalid block size");if(I===0)break;e+=I}break;case 249:if(n[e++]!==4||n[e+4]!==0)throw new Error("Invalid graphics extension block.");var D=n[e++];A=n[e++]|n[e++]<<8,F=n[e++],1&D||(F=null),m=D>>2&7,e++;break;case 254:for(;;){if(!((I=n[e++])>=0))throw Error("Invalid block size");if(I===0)break;e+=I}break;default:throw new Error("Unknown graphic control label: 0x"+n[e-1].toString(16))}break;case 44:var W=n[e++]|n[e++]<<8,E=n[e++]|n[e++]<<8,Z=n[e++]|n[e++]<<8,ee=n[e++]|n[e++]<<8,Y=n[e++],be=Y>>6&1,ke=1<<1+(7&Y),we=l,ie=c,V=!1;Y>>7&&(V=!0,we=e,ie=ke,e+=3*ke);var se=e;for(e++;;){var I;if(!((I=n[e++])>=0))throw Error("Invalid block size");if(I===0)break;e+=I}w.push({x:W,y:E,width:Z,height:ee,has_local_palette:V,palette_offset:we,palette_size:ie,data_offset:se,data_length:e-se,transparent_index:F,interlaced:!!be,delay:A,disposal:m});break;case 59:f=!1;break;default:throw new Error("Unknown gif block: 0x"+n[e-1].toString(16))}this.numFrames=function(){return w.length},this.loopCount=function(){return B},this.frameInfo=function(R){if(R<0||R>=w.length)throw new Error("Frame index out of range.");return w[R]},this.decodeAndBlitFrameBGRA=function(R,X){var $=this.frameInfo(R),me=$.width*$.height;if(me>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var Se=new Uint8Array(me);tc(n,$.data_offset,Se,me);var _e=$.palette_offset,fe=$.transparent_index;fe===null&&(fe=256);var xe=$.width,De=t-xe,Fe=xe,N=4*($.y*t+$.x),H=4*(($.y+$.height)*t+$.x),G=N,K=4*De;$.interlaced===!0&&(K+=4*t*7);for(var te=8,ue=0,ye=Se.length;ue<ye;++ue){var le=Se[ue];if(Fe===0&&(Fe=xe,(G+=K)>=H&&(K=4*De+4*t*(te-1),G=N+(xe+De)*(te<<1),te>>=1)),le===fe)G+=4;else{var ve=n[_e+3*le],Ce=n[_e+3*le+1],qe=n[_e+3*le+2];X[G++]=qe,X[G++]=Ce,X[G++]=ve,X[G++]=255}--Fe}},this.decodeAndBlitFrameRGBA=function(R,X){var $=this.frameInfo(R),me=$.width*$.height;if(me>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var Se=new Uint8Array(me);tc(n,$.data_offset,Se,me);var _e=$.palette_offset,fe=$.transparent_index;fe===null&&(fe=256);var xe=$.width,De=t-xe,Fe=xe,N=4*($.y*t+$.x),H=4*(($.y+$.height)*t+$.x),G=N,K=4*De;$.interlaced===!0&&(K+=4*t*7);for(var te=8,ue=0,ye=Se.length;ue<ye;++ue){var le=Se[ue];if(Fe===0&&(Fe=xe,(G+=K)>=H&&(K=4*De+4*t*(te-1),G=N+(xe+De)*(te<<1),te>>=1)),le===fe)G+=4;else{var ve=n[_e+3*le],Ce=n[_e+3*le+1],qe=n[_e+3*le+2];X[G++]=ve,X[G++]=Ce,X[G++]=qe,X[G++]=255}--Fe}}}function tc(n,e,t,r){for(var a=n[e++],o=1<<a,d=o+1,l=d+1,c=a+1,f=(1<<c)-1,w=0,A=0,F=0,m=n[e++],B=new Int32Array(4096),D=null;;){for(;w<16&&m!==0;)A|=n[e++]<<w,w+=8,m===1?m=n[e++]:--m;if(w<c)break;var W=A&f;if(A>>=c,w-=c,W!==o){if(W===d)break;for(var E=W<l?W:D,Z=0,ee=E;ee>o;)ee=B[ee]>>8,++Z;var Y=ee;if(F+Z+(E!==W?1:0)>r)return void an.log("Warning, gif stream longer than expected.");t[F++]=Y;var be=F+=Z;for(E!==W&&(t[F++]=Y),ee=E;Z--;)ee=B[ee],t[--be]=255&ee,ee>>=8;D!==null&&l<4096&&(B[l++]=D<<8|Y,l>=f+1&&c<12&&(++c,f=f<<1|1)),D=W}else l=d+1,f=(1<<(c=a+1))-1,D=null}return F!==r&&an.log("Warning, gif stream shorter than expected."),t}/**
73 * @license
74  Copyright (c) 2008, Adobe Systems Incorporated
75  All rights reserved.
76
77  Redistribution and use in source and binary forms, with or without 
78  modification, are permitted provided that the following conditions are
79  met:
80
81  * Redistributions of source code must retain the above copyright notice, 
82    this list of conditions and the following disclaimer.
83  
84  * Redistributions in binary form must reproduce the above copyright
85    notice, this list of conditions and the following disclaimer in the 
86    documentation and/or other materials provided with the distribution.
87  
88  * Neither the name of Adobe Systems Incorporated nor the names of its 
89    contributors may be used to endorse or promote products derived from 
90    this software without specific prior written permission.
91
92  THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
93  IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
94  THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
95  PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR 
96  CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
97  EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
98  PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
99  PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
100  LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
101  NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
102  SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
103*/function Ws(n){var e,t,r,a,o,d=Math.floor,l=new Array(64),c=new Array(64),f=new Array(64),w=new Array(64),A=new Array(65535),F=new Array(65535),m=new Array(64),B=new Array(64),D=[],W=0,E=7,Z=new Array(64),ee=new Array(64),Y=new Array(64),be=new Array(256),ke=new Array(2048),we=[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],ie=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],V=[0,1,2,3,4,5,6,7,8,9,10,11],se=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],I=[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],R=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],X=[0,1,2,3,4,5,6,7,8,9,10,11],$=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],me=[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 Se(N,H){for(var G=0,K=0,te=new Array,ue=1;ue<=16;ue++){for(var ye=1;ye<=N[ue];ye++)te[H[K]]=[],te[H[K]][0]=G,te[H[K]][1]=ue,K++,G++;G*=2}return te}function _e(N){for(var H=N[0],G=N[1]-1;G>=0;)H&1<<G&&(W|=1<<E),G--,--E<0&&(W==255?(fe(255),fe(0)):fe(W),E=7,W=0)}function fe(N){D.push(N)}function xe(N){fe(N>>8&255),fe(255&N)}function De(N,H,G,K,te){for(var ue,ye=te[0],le=te[240],ve=(function(Oe,ot){var Ge,et,$e,jt,Ct,xt,Ot,Lt,Ke,_t,nt=0;for(Ke=0;Ke<8;++Ke){Ge=Oe[nt],et=Oe[nt+1],$e=Oe[nt+2],jt=Oe[nt+3],Ct=Oe[nt+4],xt=Oe[nt+5],Ot=Oe[nt+6];var en=Ge+(Lt=Oe[nt+7]),Tt=Ge-Lt,kt=et+Ot,Pt=et-Ot,Zt=$e+xt,ct=$e-xt,Wt=jt+Ct,tt=jt-Ct,wt=en+Wt,Ut=en-Wt,Ye=kt+Zt,st=kt-Zt;Oe[nt]=wt+Ye,Oe[nt+4]=wt-Ye;var Rt=.707106781*(st+Ut);Oe[nt+2]=Ut+Rt,Oe[nt+6]=Ut-Rt;var cr=.382683433*((wt=tt+ct)-(st=Pt+Tt)),tn=.5411961*wt+cr,Kn=1.306562965*st+cr,kn=.707106781*(Ye=ct+Pt),ht=Tt+kn,fr=Tt-kn;Oe[nt+5]=fr+tn,Oe[nt+3]=fr-tn,Oe[nt+1]=ht+Kn,Oe[nt+7]=ht-Kn,nt+=8}for(nt=0,Ke=0;Ke<8;++Ke){Ge=Oe[nt],et=Oe[nt+8],$e=Oe[nt+16],jt=Oe[nt+24],Ct=Oe[nt+32],xt=Oe[nt+40],Ot=Oe[nt+48];var hr=Ge+(Lt=Oe[nt+56]),Hn=Ge-Lt,Wn=et+Ot,nn=et-Ot,mn=$e+xt,bn=$e-xt,xr=jt+Ct,Pr=jt-Ct,Bn=hr+xr,Zn=hr-xr,dr=Wn+mn,In=Wn-mn;Oe[nt]=Bn+dr,Oe[nt+32]=Bn-dr;var Qn=.707106781*(In+Zn);Oe[nt+16]=Zn+Qn,Oe[nt+48]=Zn-Qn;var Er=.382683433*((Bn=Pr+bn)-(In=nn+Hn)),Vn=.5411961*Bn+Er,pr=1.306562965*In+Er,Cr=.707106781*(dr=bn+nn),Qr=Hn+Cr,ei=Hn-Cr;Oe[nt+40]=ei+Vn,Oe[nt+24]=ei-Vn,Oe[nt+8]=Qr+pr,Oe[nt+56]=Qr-pr,nt++}for(Ke=0;Ke<64;++Ke)_t=Oe[Ke]*ot[Ke],m[Ke]=_t>0?_t+.5|0:_t-.5|0;return m})(N,H),Ce=0;Ce<64;++Ce)B[we[Ce]]=ve[Ce];var qe=B[0]-G;G=B[0],qe==0?_e(K[0]):(_e(K[F[ue=32767+qe]]),_e(A[ue]));for(var Me=63;Me>0&&B[Me]==0;)Me--;if(Me==0)return _e(ye),G;for(var We,T=1;T<=Me;){for(var ze=T;B[T]==0&&T<=Me;)++T;var mt=T-ze;if(mt>=16){We=mt>>4;for(var Qe=1;Qe<=We;++Qe)_e(le);mt&=15}ue=32767+B[T],_e(te[(mt<<4)+F[ue]]),_e(A[ue]),T++}return Me!=63&&_e(ye),G}function Fe(N){N=Math.min(Math.max(N,1),100),o!=N&&((function(H){for(var G=[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],K=0;K<64;K++){var te=d((G[K]*H+50)/100);te=Math.min(Math.max(te,1),255),l[we[K]]=te}for(var ue=[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],ye=0;ye<64;ye++){var le=d((ue[ye]*H+50)/100);le=Math.min(Math.max(le,1),255),c[we[ye]]=le}for(var ve=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],Ce=0,qe=0;qe<8;qe++)for(var Me=0;Me<8;Me++)f[Ce]=1/(l[we[Ce]]*ve[qe]*ve[Me]*8),w[Ce]=1/(c[we[Ce]]*ve[qe]*ve[Me]*8),Ce++})(N<50?Math.floor(5e3/N):Math.floor(200-2*N)),o=N)}this.encode=function(N,H){H&&Fe(H),D=new Array,W=0,E=7,xe(65496),xe(65504),xe(16),fe(74),fe(70),fe(73),fe(70),fe(0),fe(1),fe(1),fe(0),xe(1),xe(1),fe(0),fe(0),(function(){xe(65499),xe(132),fe(0);for(var et=0;et<64;et++)fe(l[et]);fe(1);for(var $e=0;$e<64;$e++)fe(c[$e])})(),(function(et,$e){xe(65472),xe(17),fe(8),xe($e),xe(et),fe(3),fe(1),fe(17),fe(0),fe(2),fe(17),fe(1),fe(3),fe(17),fe(1)})(N.width,N.height),(function(){xe(65476),xe(418),fe(0);for(var et=0;et<16;et++)fe(ie[et+1]);for(var $e=0;$e<=11;$e++)fe(V[$e]);fe(16);for(var jt=0;jt<16;jt++)fe(se[jt+1]);for(var Ct=0;Ct<=161;Ct++)fe(I[Ct]);fe(1);for(var xt=0;xt<16;xt++)fe(R[xt+1]);for(var Ot=0;Ot<=11;Ot++)fe(X[Ot]);fe(17);for(var Lt=0;Lt<16;Lt++)fe($[Lt+1]);for(var Ke=0;Ke<=161;Ke++)fe(me[Ke])})(),xe(65498),xe(12),fe(3),fe(1),fe(0),fe(2),fe(17),fe(3),fe(17),fe(0),fe(63),fe(0);var G=0,K=0,te=0;W=0,E=7,this.encode.displayName="_encode_";for(var ue,ye,le,ve,Ce,qe,Me,We,T,ze=N.data,mt=N.width,Qe=N.height,Oe=4*mt,ot=0;ot<Qe;){for(ue=0;ue<Oe;){for(Ce=Oe*ot+ue,Me=-1,We=0,T=0;T<64;T++)qe=Ce+(We=T>>3)*Oe+(Me=4*(7&T)),ot+We>=Qe&&(qe-=Oe*(ot+1+We-Qe)),ue+Me>=Oe&&(qe-=ue+Me-Oe+4),ye=ze[qe++],le=ze[qe++],ve=ze[qe++],Z[T]=(ke[ye]+ke[le+256|0]+ke[ve+512|0]>>16)-128,ee[T]=(ke[ye+768|0]+ke[le+1024|0]+ke[ve+1280|0]>>16)-128,Y[T]=(ke[ye+1280|0]+ke[le+1536|0]+ke[ve+1792|0]>>16)-128;G=De(Z,f,G,e,r),K=De(ee,w,K,t,a),te=De(Y,w,te,t,a),ue+=32}ot+=8}if(E>=0){var Ge=[];Ge[1]=E+1,Ge[0]=(1<<E+1)-1,_e(Ge)}return xe(65497),new Uint8Array(D)},n=n||50,(function(){for(var N=String.fromCharCode,H=0;H<256;H++)be[H]=N(H)})(),e=Se(ie,V),t=Se(R,X),r=Se(se,I),a=Se($,me),(function(){for(var N=1,H=2,G=1;G<=15;G++){for(var K=N;K<H;K++)F[32767+K]=G,A[32767+K]=[],A[32767+K][1]=G,A[32767+K][0]=K;for(var te=-(H-1);te<=-N;te++)F[32767+te]=G,A[32767+te]=[],A[32767+te][1]=G,A[32767+te][0]=H-1+te;N<<=1,H<<=1}})(),(function(){for(var N=0;N<256;N++)ke[N]=19595*N,ke[N+256|0]=38470*N,ke[N+512|0]=7471*N+32768,ke[N+768|0]=-11059*N,ke[N+1024|0]=-21709*N,ke[N+1280|0]=32768*N+8421375,ke[N+1536|0]=-27439*N,ke[N+1792|0]=-5329*N})(),Fe(n)}/**
104 * @license
105 * Copyright (c) 2017 Aras Abbasi
106 *
107 * Licensed under the MIT License.
108 * http://opensource.org/licenses/mit-license
109 */function di(n,e){if(this.pos=0,this.buffer=n,this.datav=new DataView(n.buffer),this.is_with_alpha=!!e,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function nc(n){function e(V){if(!V)throw Error("assert :P")}function t(V,se,I){for(var R=0;4>R;R++)if(V[se+R]!=I.charCodeAt(R))return!0;return!1}function r(V,se,I,R,X){for(var $=0;$<X;$++)V[se+$]=I[R+$]}function a(V,se,I,R){for(var X=0;X<R;X++)V[se+X]=I}function o(V){return new Int32Array(V)}function d(V,se){for(var I=[],R=0;R<V;R++)I.push(new se);return I}function l(V,se){var I=[];return(function R(X,$,me){for(var Se=me[$],_e=0;_e<Se&&(X.push(me.length>$+1?[]:new se),!(me.length<$+1));_e++)R(X[_e],$+1,me)})(I,0,V),I}var c=function(){var V=this;function se(i,s){for(var h=1<<s-1>>>0;i&h;)h>>>=1;return h?(i&h-1)+h:i}function I(i,s,h,v,_){e(!(v%h));do i[s+(v-=h)]=_;while(0<v)}function R(i,s,h,v,_){if(e(2328>=_),512>=_)var S=o(512);else if((S=o(_))==null)return 0;return(function(L,C,O,U,Q,ge){var z,ne,oe=C,Le=1<<O,de=o(16),Ee=o(16);for(e(Q!=0),e(U!=null),e(L!=null),e(0<O),ne=0;ne<Q;++ne){if(15<U[ne])return 0;++de[U[ne]]}if(de[0]==Q)return 0;for(Ee[1]=0,z=1;15>z;++z){if(de[z]>1<<z)return 0;Ee[z+1]=Ee[z]+de[z]}for(ne=0;ne<Q;++ne)z=U[ne],0<U[ne]&&(ge[Ee[z]++]=ne);if(Ee[15]==1)return(U=new X).g=0,U.value=ge[0],I(L,oe,1,Le,U),Le;var Ie,Be=-1,Re=Le-1,lt=0,Xe=1,It=1,rt=1<<O;for(ne=0,z=1,Q=2;z<=O;++z,Q<<=1){if(Xe+=It<<=1,0>(It-=de[z]))return 0;for(;0<de[z];--de[z])(U=new X).g=z,U.value=ge[ne++],I(L,oe+lt,Q,rt,U),lt=se(lt,z)}for(z=O+1,Q=2;15>=z;++z,Q<<=1){if(Xe+=It<<=1,0>(It-=de[z]))return 0;for(;0<de[z];--de[z]){if(U=new X,(lt&Re)!=Be){for(oe+=rt,Ie=1<<(Be=z)-O;15>Be&&!(0>=(Ie-=de[Be]));)++Be,Ie<<=1;Le+=rt=1<<(Ie=Be-O),L[C+(Be=lt&Re)].g=Ie+O,L[C+Be].value=oe-C-Be}U.g=z-O,U.value=ge[ne++],I(L,oe+(lt>>O),Q,rt,U),lt=se(lt,z)}}return Xe!=2*Ee[15]-1?0:Le})(i,s,h,v,_,S)}function X(){this.value=this.g=0}function $(){this.value=this.g=0}function me(){this.G=d(5,X),this.H=o(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=d(_i,$)}function Se(i,s,h,v){e(i!=null),e(s!=null),e(2147483648>v),i.Ca=254,i.I=0,i.b=-8,i.Ka=0,i.oa=s,i.pa=h,i.Jd=s,i.Yc=h+v,i.Zc=4<=v?h+v-4+1:h,ye(i)}function _e(i,s){for(var h=0;0<s--;)h|=ve(i,128)<<s;return h}function fe(i,s){var h=_e(i,s);return le(i)?-h:h}function xe(i,s,h,v){var _,S=0;for(e(i!=null),e(s!=null),e(4294967288>v),i.Sb=v,i.Ra=0,i.u=0,i.h=0,4<v&&(v=4),_=0;_<v;++_)S+=s[h+_]<<8*_;i.Ra=S,i.bb=v,i.oa=s,i.pa=h}function De(i){for(;8<=i.u&&i.bb<i.Sb;)i.Ra>>>=8,i.Ra+=i.oa[i.pa+i.bb]<<vr-8>>>0,++i.bb,i.u-=8;K(i)&&(i.h=1,i.u=0)}function Fe(i,s){if(e(0<=s),!i.h&&s<=ro){var h=G(i)&wa[s];return i.u+=s,De(i),h}return i.h=1,i.u=0}function N(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function H(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function G(i){return i.Ra>>>(i.u&vr-1)>>>0}function K(i){return e(i.bb<=i.Sb),i.h||i.bb==i.Sb&&i.u>vr}function te(i,s){i.u=s,i.h=K(i)}function ue(i){i.u>=Ar&&(e(i.u>=Ar),De(i))}function ye(i){e(i!=null&&i.oa!=null),i.pa<i.Zc?(i.I=(i.oa[i.pa++]|i.I<<8)>>>0,i.b+=8):(e(i!=null&&i.oa!=null),i.pa<i.Yc?(i.b+=8,i.I=i.oa[i.pa++]|i.I<<8):i.Ka?i.b=0:(i.I<<=8,i.b+=8,i.Ka=1))}function le(i){return _e(i,1)}function ve(i,s){var h=i.Ca;0>i.b&&ye(i);var v=i.b,_=h*s>>>8,S=(i.I>>>v>_)+0;for(S?(h-=_,i.I-=_+1<<v>>>0):h=_+1,v=h,_=0;256<=v;)_+=8,v>>=8;return v=7^_+Ta[v],i.b-=v,i.Ca=(h<<v)-1,S}function Ce(i,s,h){i[s+0]=h>>24&255,i[s+1]=h>>16&255,i[s+2]=h>>8&255,i[s+3]=255&h}function qe(i,s){return i[s+0]|i[s+1]<<8}function Me(i,s){return qe(i,s)|i[s+2]<<16}function We(i,s){return qe(i,s)|qe(i,s+2)<<16}function T(i,s){var h=1<<s;return e(i!=null),e(0<s),i.X=o(h),i.X==null?0:(i.Mb=32-s,i.Xa=s,1)}function ze(i,s){e(i!=null),e(s!=null),e(i.Xa==s.Xa),r(s.X,0,i.X,0,1<<s.Xa)}function mt(){this.X=[],this.Xa=this.Mb=0}function Qe(i,s,h,v){e(h!=null),e(v!=null);var _=h[0],S=v[0];return _==0&&(_=(i*S+s/2)/s),S==0&&(S=(s*_+i/2)/i),0>=_||0>=S?0:(h[0]=_,v[0]=S,1)}function Oe(i,s){return i+(1<<s)-1>>>s}function ot(i,s){return((4278255360&i)+(4278255360&s)>>>0&4278255360)+((16711935&i)+(16711935&s)>>>0&16711935)>>>0}function Ge(i,s){V[s]=function(h,v,_,S,L,C,O){var U;for(U=0;U<L;++U){var Q=V[i](C[O+U-1],_,S+U);C[O+U]=ot(h[v+U],Q)}}}function et(){this.ud=this.hd=this.jd=0}function $e(i,s){return((4278124286&(i^s))>>>1)+(i&s)>>>0}function jt(i){return 0<=i&&256>i?i:0>i?0:255<i?255:void 0}function Ct(i,s){return jt(i+(i-s+.5>>1))}function xt(i,s,h){return Math.abs(s-h)-Math.abs(i-h)}function Ot(i,s,h,v,_,S,L){for(v=S[L-1],h=0;h<_;++h)S[L+h]=v=ot(i[s+h],v)}function Lt(i,s,h,v,_){var S;for(S=0;S<h;++S){var L=i[s+S],C=L>>8&255,O=16711935&(O=(O=16711935&L)+((C<<16)+C));v[_+S]=(4278255360&L)+O>>>0}}function Ke(i,s){s.jd=255&i,s.hd=i>>8&255,s.ud=i>>16&255}function _t(i,s,h,v,_,S){var L;for(L=0;L<v;++L){var C=s[h+L],O=C>>>8,U=C,Q=255&(Q=(Q=C>>>16)+((i.jd<<24>>24)*(O<<24>>24)>>>5));U=255&(U=(U+=(i.hd<<24>>24)*(O<<24>>24)>>>5)+((i.ud<<24>>24)*(Q<<24>>24)>>>5)),_[S+L]=(4278255360&C)+(Q<<16)+U}}function nt(i,s,h,v,_){V[s]=function(S,L,C,O,U,Q,ge,z,ne){for(O=ge;O<z;++O)for(ge=0;ge<ne;++ge)U[Q++]=_(C[v(S[L++])])},V[i]=function(S,L,C,O,U,Q,ge){var z=8>>S.b,ne=S.Ea,oe=S.K[0],Le=S.w;if(8>z)for(S=(1<<S.b)-1,Le=(1<<z)-1;L<C;++L){var de,Ee=0;for(de=0;de<ne;++de)de&S||(Ee=v(O[U++])),Q[ge++]=_(oe[Ee&Le]),Ee>>=z}else V["VP8LMapColor"+h](O,U,oe,Le,Q,ge,L,C,ne)}}function en(i,s,h,v,_){for(h=s+h;s<h;){var S=i[s++];v[_++]=S>>16&255,v[_++]=S>>8&255,v[_++]=255&S}}function Tt(i,s,h,v,_){for(h=s+h;s<h;){var S=i[s++];v[_++]=S>>16&255,v[_++]=S>>8&255,v[_++]=255&S,v[_++]=S>>24&255}}function kt(i,s,h,v,_){for(h=s+h;s<h;){var S=(L=i[s++])>>16&240|L>>12&15,L=240&L|L>>28&15;v[_++]=S,v[_++]=L}}function Pt(i,s,h,v,_){for(h=s+h;s<h;){var S=(L=i[s++])>>16&248|L>>13&7,L=L>>5&224|L>>3&31;v[_++]=S,v[_++]=L}}function Zt(i,s,h,v,_){for(h=s+h;s<h;){var S=i[s++];v[_++]=255&S,v[_++]=S>>8&255,v[_++]=S>>16&255}}function ct(i,s,h,v,_,S){if(S==0)for(h=s+h;s<h;)Ce(v,((S=i[s++])[0]>>24|S[1]>>8&65280|S[2]<<8&16711680|S[3]<<24)>>>0),_+=32;else r(v,_,i,s,h)}function Wt(i,s){V[s][0]=V[i+"0"],V[s][1]=V[i+"1"],V[s][2]=V[i+"2"],V[s][3]=V[i+"3"],V[s][4]=V[i+"4"],V[s][5]=V[i+"5"],V[s][6]=V[i+"6"],V[s][7]=V[i+"7"],V[s][8]=V[i+"8"],V[s][9]=V[i+"9"],V[s][10]=V[i+"10"],V[s][11]=V[i+"11"],V[s][12]=V[i+"12"],V[s][13]=V[i+"13"],V[s][14]=V[i+"0"],V[s][15]=V[i+"0"]}function tt(i){return i==us||i==cs||i==Lo||i==fs}function wt(){this.eb=[],this.size=this.A=this.fb=0}function Ut(){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 Ye(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new wt,this.f.kb=new Ut,this.sd=null}function st(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function Rt(){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 cr(i){return alert("todo:WebPSamplerProcessPlane"),i.T}function tn(i,s){var h=i.T,v=s.ba.f.RGBA,_=v.eb,S=v.fb+i.ka*v.A,L=Kr[s.ba.S],C=i.y,O=i.O,U=i.f,Q=i.N,ge=i.ea,z=i.W,ne=s.cc,oe=s.dc,Le=s.Mc,de=s.Nc,Ee=i.ka,Ie=i.ka+i.T,Be=i.U,Re=Be+1>>1;for(Ee==0?L(C,O,null,null,U,Q,ge,z,U,Q,ge,z,_,S,null,null,Be):(L(s.ec,s.fc,C,O,ne,oe,Le,de,U,Q,ge,z,_,S-v.A,_,S,Be),++h);Ee+2<Ie;Ee+=2)ne=U,oe=Q,Le=ge,de=z,Q+=i.Rc,z+=i.Rc,S+=2*v.A,L(C,(O+=2*i.fa)-i.fa,C,O,ne,oe,Le,de,U,Q,ge,z,_,S-v.A,_,S,Be);return O+=i.fa,i.j+Ie<i.o?(r(s.ec,s.fc,C,O,Be),r(s.cc,s.dc,U,Q,Re),r(s.Mc,s.Nc,ge,z,Re),h--):1&Ie||L(C,O,null,null,U,Q,ge,z,U,Q,ge,z,_,S+v.A,null,null,Be),h}function Kn(i,s,h){var v=i.F,_=[i.J];if(v!=null){var S=i.U,L=s.ba.S,C=L==No||L==Lo;s=s.ba.f.RGBA;var O=[0],U=i.ka;O[0]=i.T,i.Kb&&(U==0?--O[0]:(--U,_[0]-=i.width),i.j+i.ka+i.T==i.o&&(O[0]=i.o-i.j-U));var Q=s.eb;U=s.fb+U*s.A,i=hl(v,_[0],i.width,S,O,Q,U+(C?0:3),s.A),e(h==O),i&&tt(L)&&so(Q,U,C,S,O,s.A)}return 0}function kn(i){var s=i.ma,h=s.ba.S,v=11>h,_=h==So||h==Ao||h==No||h==ls||h==12||tt(h);if(s.memory=null,s.Ib=null,s.Jb=null,s.Nd=null,!pn(s.Oa,i,_?11:12))return 0;if(_&&tt(h)&&Yr(),i.da)alert("todo:use_scaling");else{if(v){if(s.Ib=cr,i.Kb){if(h=i.U+1>>1,s.memory=o(i.U+2*h),s.memory==null)return 0;s.ec=s.memory,s.fc=0,s.cc=s.ec,s.dc=s.fc+i.U,s.Mc=s.cc,s.Nc=s.dc+h,s.Ib=tn,Yr()}}else alert("todo:EmitYUV");_&&(s.Jb=Kn,v&&sn())}if(v&&!Pl){for(i=0;256>i;++i)_f[i]=89858*(i-128)+Po>>ko,Nf[i]=-22014*(i-128)+Po,Af[i]=-45773*(i-128),Sf[i]=113618*(i-128)+Po>>ko;for(i=uo;i<ps;++i)s=76283*(i-16)+Po>>ko,Lf[i-uo]=qn(s,255),kf[i-uo]=qn(s+8>>4,15);Pl=1}return 1}function ht(i){var s=i.ma,h=i.U,v=i.T;return e(!(1&i.ka)),0>=h||0>=v?0:(h=s.Ib(i,s),s.Jb!=null&&s.Jb(i,s,h),s.Dc+=h,1)}function fr(i){i.ma.memory=null}function hr(i,s,h,v){return Fe(i,8)!=47?0:(s[0]=Fe(i,14)+1,h[0]=Fe(i,14)+1,v[0]=Fe(i,1),Fe(i,3)!=0?0:!i.h)}function Hn(i,s){if(4>i)return i+1;var h=i-2>>1;return(2+(1&i)<<h)+Fe(s,h)+1}function Wn(i,s){return 120<s?s-120:1<=(h=((h=lf[s-1])>>4)*i+(8-(15&h)))?h:1;var h}function nn(i,s,h){var v=G(h),_=i[s+=255&v].g-8;return 0<_&&(te(h,h.u+8),v=G(h),s+=i[s].value,s+=v&(1<<_)-1),te(h,h.u+i[s].g),i[s].value}function mn(i,s,h){return h.g+=i.g,h.value+=i.value<<s>>>0,e(8>=h.g),i.g}function bn(i,s,h){var v=i.xc;return e((s=v==0?0:i.vc[i.md*(h>>v)+(s>>v)])<i.Wb),i.Ya[s]}function xr(i,s,h,v){var _=i.ab,S=i.c*s,L=i.C;s=L+s;var C=h,O=v;for(v=i.Ta,h=i.Ua;0<_--;){var U=i.gc[_],Q=L,ge=s,z=C,ne=O,oe=(O=v,C=h,U.Ea);switch(e(Q<ge),e(ge<=U.nc),U.hc){case 2:Ra(z,ne,(ge-Q)*oe,O,C);break;case 0:var Le=Q,de=ge,Ee=O,Ie=C,Be=(rt=U).Ea;Le==0&&(na(z,ne,null,null,1,Ee,Ie),Ot(z,ne+1,0,0,Be-1,Ee,Ie+1),ne+=Be,Ie+=Be,++Le);for(var Re=1<<rt.b,lt=Re-1,Xe=Oe(Be,rt.b),It=rt.K,rt=rt.w+(Le>>rt.b)*Xe;Le<de;){var Bt=It,Rn=rt,Ft=1;for(ra(z,ne,Ee,Ie-Be,1,Ee,Ie);Ft<Be;){var it=(Ft&~lt)+Re;it>Be&&(it=Be),(0,ui[Bt[Rn++]>>8&15])(z,ne+ +Ft,Ee,Ie+Ft-Be,it-Ft,Ee,Ie+Ft),Ft=it}ne+=Be,Ie+=Be,++Le&lt||(rt+=Xe)}ge!=U.nc&&r(O,C-oe,O,C+(ge-Q-1)*oe,oe);break;case 1:for(oe=z,de=ne,Be=(z=U.Ea)-(Ie=z&~(Ee=(ne=1<<U.b)-1)),Le=Oe(z,U.b),Re=U.K,U=U.w+(Q>>U.b)*Le;Q<ge;){for(lt=Re,Xe=U,It=new et,rt=de+Ie,Bt=de+z;de<rt;)Ke(lt[Xe++],It),ba(It,oe,de,ne,O,C),de+=ne,C+=ne;de<Bt&&(Ke(lt[Xe++],It),ba(It,oe,de,Be,O,C),de+=Be,C+=Be),++Q&Ee||(U+=Le)}break;case 3:if(z==O&&ne==C&&0<U.b){for(de=O,z=oe=C+(ge-Q)*oe-(Ie=(ge-Q)*Oe(U.Ea,U.b)),ne=O,Ee=C,Le=[],Ie=(Be=Ie)-1;0<=Ie;--Ie)Le[Ie]=ne[Ee+Ie];for(Ie=Be-1;0<=Ie;--Ie)de[z+Ie]=Le[Ie];ya(U,Q,ge,O,oe,O,C)}else ya(U,Q,ge,z,ne,O,C)}C=v,O=h}O!=h&&r(v,h,C,O,S)}function Pr(i,s){var h=i.V,v=i.Ba+i.c*i.C,_=s-i.C;if(e(s<=i.l.o),e(16>=_),0<_){var S=i.l,L=i.Ta,C=i.Ua,O=S.width;if(xr(i,_,h,v),_=C=[C],e((h=i.C)<(v=s)),e(S.v<S.va),v>S.o&&(v=S.o),h<S.j){var U=S.j-h;h=S.j,_[0]+=U*O}if(h>=v?h=0:(_[0]+=4*S.v,S.ka=h-S.j,S.U=S.va-S.v,S.T=v-h,h=1),h){if(C=C[0],11>(h=i.ca).S){var Q=h.f.RGBA,ge=(v=h.S,_=S.U,S=S.T,U=Q.eb,Q.A),z=S;for(Q=Q.fb+i.Ma*Q.A;0<z--;){var ne=L,oe=C,Le=_,de=U,Ee=Q;switch(v){case _o:io(ne,oe,Le,de,Ee);break;case So:ao(ne,oe,Le,de,Ee);break;case us:ao(ne,oe,Le,de,Ee),so(de,Ee,0,Le,1,0);break;case yl:_a(ne,oe,Le,de,Ee);break;case Ao:ct(ne,oe,Le,de,Ee,1);break;case cs:ct(ne,oe,Le,de,Ee,1),so(de,Ee,0,Le,1,0);break;case No:ct(ne,oe,Le,de,Ee,0);break;case Lo:ct(ne,oe,Le,de,Ee,0),so(de,Ee,1,Le,1,0);break;case ls:Ma(ne,oe,Le,de,Ee);break;case fs:Ma(ne,oe,Le,de,Ee),fl(de,Ee,Le,1,0);break;case bl:xa(ne,oe,Le,de,Ee);break;default:e(0)}C+=O,Q+=ge}i.Ma+=S}else alert("todo:EmitRescaledRowsYUVA");e(i.Ma<=h.height)}}i.C=s,e(i.C<=i.i)}function Bn(i){var s;if(0<i.ua)return 0;for(s=0;s<i.Wb;++s){var h=i.Ya[s].G,v=i.Ya[s].H;if(0<h[1][v[1]+0].g||0<h[2][v[2]+0].g||0<h[3][v[3]+0].g)return 0}return 1}function Zn(i,s,h,v,_,S){if(i.Z!=0){var L=i.qd,C=i.rd;for(e(sa[i.Z]!=null);s<h;++s)sa[i.Z](L,C,v,_,v,_,S),L=v,C=_,_+=S;i.qd=L,i.rd=C}}function dr(i,s){var h=i.l.ma,v=h.Z==0||h.Z==1?i.l.j:i.C;if(v=i.C<v?v:i.C,e(s<=i.l.o),s>v){var _=i.l.width,S=h.ca,L=h.tb+_*v,C=i.V,O=i.Ba+i.c*v,U=i.gc;e(i.ab==1),e(U[0].hc==3),os(U[0],v,s,C,O,S,L),Zn(h,v,s,S,L,_)}i.C=i.Ma=s}function In(i,s,h,v,_,S,L){var C=i.$/v,O=i.$%v,U=i.m,Q=i.s,ge=h+i.$,z=ge;_=h+v*_;var ne=h+v*S,oe=280+Q.ua,Le=i.Pb?C:16777216,de=0<Q.ua?Q.Wa:null,Ee=Q.wc,Ie=ge<ne?bn(Q,O,C):null;e(i.C<S),e(ne<=_);var Be=!1;e:for(;;){for(;Be||ge<ne;){var Re=0;if(C>=Le){var lt=ge-h;e((Le=i).Pb),Le.wd=Le.m,Le.xd=lt,0<Le.s.ua&&ze(Le.s.Wa,Le.s.vb),Le=C+cf}if(O&Ee||(Ie=bn(Q,O,C)),e(Ie!=null),Ie.Qb&&(s[ge]=Ie.qb,Be=!0),!Be)if(ue(U),Ie.jc){Re=U,lt=s;var Xe=ge,It=Ie.pd[G(Re)&_i-1];e(Ie.jc),256>It.g?(te(Re,Re.u+It.g),lt[Xe]=It.value,Re=0):(te(Re,Re.u+It.g-256),e(256<=It.value),Re=It.value),Re==0&&(Be=!0)}else Re=nn(Ie.G[0],Ie.H[0],U);if(U.h)break;if(Be||256>Re){if(!Be)if(Ie.nd)s[ge]=(Ie.qb|Re<<8)>>>0;else{if(ue(U),Be=nn(Ie.G[1],Ie.H[1],U),ue(U),lt=nn(Ie.G[2],Ie.H[2],U),Xe=nn(Ie.G[3],Ie.H[3],U),U.h)break;s[ge]=(Xe<<24|Be<<16|Re<<8|lt)>>>0}if(Be=!1,++ge,++O>=v&&(O=0,++C,L!=null&&C<=S&&!(C%16)&&L(i,C),de!=null))for(;z<ge;)Re=s[z++],de.X[(506832829*Re&4294967295)>>>de.Mb]=Re}else if(280>Re){if(Re=Hn(Re-256,U),lt=nn(Ie.G[4],Ie.H[4],U),ue(U),lt=Wn(v,lt=Hn(lt,U)),U.h)break;if(ge-h<lt||_-ge<Re)break e;for(Xe=0;Xe<Re;++Xe)s[ge+Xe]=s[ge+Xe-lt];for(ge+=Re,O+=Re;O>=v;)O-=v,++C,L!=null&&C<=S&&!(C%16)&&L(i,C);if(e(ge<=_),O&Ee&&(Ie=bn(Q,O,C)),de!=null)for(;z<ge;)Re=s[z++],de.X[(506832829*Re&4294967295)>>>de.Mb]=Re}else{if(!(Re<oe))break e;for(Be=Re-280,e(de!=null);z<ge;)Re=s[z++],de.X[(506832829*Re&4294967295)>>>de.Mb]=Re;Re=ge,e(!(Be>>>(lt=de).Xa)),s[Re]=lt.X[Be],Be=!0}Be||e(U.h==K(U))}if(i.Pb&&U.h&&ge<_)e(i.m.h),i.a=5,i.m=i.wd,i.$=i.xd,0<i.s.ua&&ze(i.s.vb,i.s.Wa);else{if(U.h)break e;L?.(i,C>S?S:C),i.a=0,i.$=ge-h}return 1}return i.a=3,0}function Qn(i){e(i!=null),i.vc=null,i.yc=null,i.Ya=null;var s=i.Wa;s!=null&&(s.X=null),i.vb=null,e(i!=null)}function Er(){var i=new Ve;return i==null?null:(i.a=0,i.xb=Sl,Wt("Predictor","VP8LPredictors"),Wt("Predictor","VP8LPredictors_C"),Wt("PredictorAdd","VP8LPredictorsAdd"),Wt("PredictorAdd","VP8LPredictorsAdd_C"),Ra=Lt,ba=_t,io=en,ao=Tt,Ma=kt,xa=Pt,_a=Zt,V.VP8LMapColor32b=Cn,V.VP8LMapColor8b=Si,i)}function Vn(i,s,h,v,_){var S=1,L=[i],C=[s],O=v.m,U=v.s,Q=null,ge=0;e:for(;;){if(h)for(;S&&Fe(O,1);){var z=L,ne=C,oe=v,Le=1,de=oe.m,Ee=oe.gc[oe.ab],Ie=Fe(de,2);if(oe.Oc&1<<Ie)S=0;else{switch(oe.Oc|=1<<Ie,Ee.hc=Ie,Ee.Ea=z[0],Ee.nc=ne[0],Ee.K=[null],++oe.ab,e(4>=oe.ab),Ie){case 0:case 1:Ee.b=Fe(de,3)+2,Le=Vn(Oe(Ee.Ea,Ee.b),Oe(Ee.nc,Ee.b),0,oe,Ee.K),Ee.K=Ee.K[0];break;case 3:var Be,Re=Fe(de,8)+1,lt=16<Re?0:4<Re?1:2<Re?2:3;if(z[0]=Oe(Ee.Ea,lt),Ee.b=lt,Be=Le=Vn(Re,1,0,oe,Ee.K)){var Xe,It=Re,rt=Ee,Bt=1<<(8>>rt.b),Rn=o(Bt);if(Rn==null)Be=0;else{var Ft=rt.K[0],it=rt.w;for(Rn[0]=rt.K[0][0],Xe=1;Xe<1*It;++Xe)Rn[Xe]=ot(Ft[it+Xe],Rn[Xe-1]);for(;Xe<4*Bt;++Xe)Rn[Xe]=0;rt.K[0]=null,rt.K[0]=Rn,Be=1}}Le=Be;break;case 2:break;default:e(0)}S=Le}}if(L=L[0],C=C[0],S&&Fe(O,1)&&!(S=1<=(ge=Fe(O,4))&&11>=ge)){v.a=3;break e}var He;if(He=S)t:{var _n,Et,Dt,hn=v,Yn=L,wr=C,vn=ge,ar=h,yr=hn.m,Mn=hn.s,qt=[null],Jt=1,wn=0,Xt=uf[vn];n:for(;;){if(ar&&Fe(yr,1)){var Jn=Fe(yr,3)+2,fi=Oe(Yn,Jn),Sn=Oe(wr,Jn),Nr=fi*Sn;if(!Vn(fi,Sn,0,hn,qt))break n;for(qt=qt[0],Mn.xc=Jn,_n=0;_n<Nr;++_n){var rn=qt[_n]>>8&65535;qt[_n]=rn,rn>=Jt&&(Jt=rn+1)}}if(yr.h)break n;for(Et=0;5>Et;++Et){var jn=xl[Et];!Et&&0<vn&&(jn+=1<<vn),wn<jn&&(wn=jn)}var Tr=d(Jt*Xt,X),br=Jt,Rr=d(br,me);if(Rr==null)var Mr=null;else e(65536>=br),Mr=Rr;var Lr=o(wn);if(Mr==null||Lr==null||Tr==null){hn.a=1;break n}var jr=Tr;for(_n=Dt=0;_n<Jt;++_n){var cn=Mr[_n],Br=cn.G,hi=cn.H,Sa=0,zi=1,Xn=0;for(Et=0;5>Et;++Et){jn=xl[Et],Br[Et]=jr,hi[Et]=Dt,!Et&&0<vn&&(jn+=1<<vn);i:{var Co,gs=jn,Io=hn,co=Lr,Cf=jr,If=Dt,ms=0,la=Io.m,Ff=Fe(la,1);if(a(co,0,0,gs),Ff){var Of=Fe(la,1)+1,Tf=Fe(la,1),Il=Fe(la,Tf==0?1:8);co[Il]=1,Of==2&&(co[Il=Fe(la,8)]=1);var Fo=1}else{var Fl=o(19),Ol=Fe(la,4)+4;if(19<Ol){Io.a=3;var Oo=0;break i}for(Co=0;Co<Ol;++Co)Fl[sf[Co]]=Fe(la,3);var vs=void 0,fo=void 0,Tl=Io,Rf=Fl,To=gs,Rl=co,ws=0,ua=Tl.m,Ml=8,jl=d(128,X);r:for(;R(jl,0,7,Rf,19);){if(Fe(ua,1)){var Mf=2+2*Fe(ua,3);if((vs=2+Fe(ua,Mf))>To)break r}else vs=To;for(fo=0;fo<To&&vs--;){ue(ua);var Bl=jl[0+(127&G(ua))];te(ua,ua.u+Bl.g);var Da=Bl.value;if(16>Da)Rl[fo++]=Da,Da!=0&&(Ml=Da);else{var jf=Da==16,Dl=Da-16,Bf=af[Dl],ql=Fe(ua,rf[Dl])+Bf;if(fo+ql>To)break r;for(var Df=jf?Ml:0;0<ql--;)Rl[fo++]=Df}}ws=1;break r}ws||(Tl.a=3),Fo=ws}(Fo=Fo&&!la.h)&&(ms=R(Cf,If,8,co,gs)),Fo&&ms!=0?Oo=ms:(Io.a=3,Oo=0)}if(Oo==0)break n;if(zi&&of[Et]==1&&(zi=jr[Dt].g==0),Sa+=jr[Dt].g,Dt+=Oo,3>=Et){var ho,ys=Lr[0];for(ho=1;ho<jn;++ho)Lr[ho]>ys&&(ys=Lr[ho]);Xn+=ys}}if(cn.nd=zi,cn.Qb=0,zi&&(cn.qb=(Br[3][hi[3]+0].value<<24|Br[1][hi[1]+0].value<<16|Br[2][hi[2]+0].value)>>>0,Sa==0&&256>Br[0][hi[0]+0].value&&(cn.Qb=1,cn.qb+=Br[0][hi[0]+0].value<<8)),cn.jc=!cn.Qb&&6>Xn,cn.jc){var Ro,Hi=cn;for(Ro=0;Ro<_i;++Ro){var ca=Ro,fa=Hi.pd[ca],Mo=Hi.G[0][Hi.H[0]+ca];256<=Mo.value?(fa.g=Mo.g+256,fa.value=Mo.value):(fa.g=0,fa.value=0,ca>>=mn(Mo,8,fa),ca>>=mn(Hi.G[1][Hi.H[1]+ca],16,fa),ca>>=mn(Hi.G[2][Hi.H[2]+ca],0,fa),mn(Hi.G[3][Hi.H[3]+ca],24,fa))}}}Mn.vc=qt,Mn.Wb=Jt,Mn.Ya=Mr,Mn.yc=Tr,He=1;break t}He=0}if(!(S=He)){v.a=3;break e}if(0<ge){if(U.ua=1<<ge,!T(U.Wa,ge)){v.a=1,S=0;break e}}else U.ua=0;var bs=v,Ul=L,qf=C,xs=bs.s,_s=xs.xc;if(bs.c=Ul,bs.i=qf,xs.md=Oe(Ul,_s),xs.wc=_s==0?-1:(1<<_s)-1,h){v.xb=vf;break e}if((Q=o(L*C))==null){v.a=1,S=0;break e}S=(S=In(v,Q,0,L,C,C,null))&&!O.h;break e}return S?(_!=null?_[0]=Q:(e(Q==null),e(h)),v.$=0,h||Qn(U)):Qn(U),S}function pr(i,s){var h=i.c*i.i,v=h+s+16*s;return e(i.c<=s),i.V=o(v),i.V==null?(i.Ta=null,i.Ua=0,i.a=1,0):(i.Ta=i.V,i.Ua=i.Ba+h+s,1)}function Cr(i,s){var h=i.C,v=s-h,_=i.V,S=i.Ba+i.c*h;for(e(s<=i.l.o);0<v;){var L=16<v?16:v,C=i.l.ma,O=i.l.width,U=O*L,Q=C.ca,ge=C.tb+O*h,z=i.Ta,ne=i.Ua;xr(i,L,_,S),dl(z,ne,Q,ge,U),Zn(C,h,h+L,Q,ge,O),v-=L,_+=L*i.c,h+=L}e(h==s),i.C=i.Ma=s}function Qr(){this.ub=this.yd=this.td=this.Rb=0}function ei(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function $i(){this.Fb=this.Bb=this.Cb=0,this.Zb=o(4),this.Lb=o(4)}function ti(){this.Yb=(function(){var i=[];return(function s(h,v,_){for(var S=_[v],L=0;L<S&&(h.push(_.length>v+1?[]:0),!(_.length<v+1));L++)s(h[L],v+1,_)})(i,0,[3,11]),i})()}function Pn(){this.jb=o(3),this.Wc=l([4,8],ti),this.Xc=l([4,17],ti)}function Ci(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new o(4),this.od=new o(4)}function Dn(){this.ld=this.La=this.dd=this.tc=0}function ni(){this.Na=this.la=0}function Ii(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function _r(){this.ad=o(384),this.Za=0,this.Ob=o(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function Ir(){this.uc=this.M=this.Nb=0,this.wa=Array(new Dn),this.Y=0,this.ya=Array(new _r),this.aa=0,this.l=new Hr}function Fi(){this.y=o(16),this.f=o(8),this.ea=o(8)}function zr(){this.cb=this.a=0,this.sc="",this.m=new N,this.Od=new Qr,this.Kc=new ei,this.ed=new Ci,this.Qa=new $i,this.Ic=this.$c=this.Aa=0,this.D=new Ir,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=d(8,N),this.ia=0,this.pb=d(4,Ii),this.Pa=new Pn,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new Fi),this.Hd=0,this.rb=Array(new ni),this.sb=0,this.wa=Array(new Dn),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 _r),this.L=this.aa=0,this.gd=l([4,2],Dn),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 qn(i,s){return 0>i?0:i>s?s:i}function Hr(){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 Oi(){var i=new zr;return i!=null&&(i.a=0,i.sc="OK",i.cb=0,i.Xb=0,lo||(lo=ii)),i}function on(i,s,h){return i.a==0&&(i.a=s,i.sc=h,i.cb=0),0}function ri(i,s,h){return 3<=h&&i[s+0]==157&&i[s+1]==1&&i[s+2]==42}function gr(i,s){if(i==null)return 0;if(i.a=0,i.sc="OK",s==null)return on(i,2,"null VP8Io passed to VP8GetHeaders()");var h=s.data,v=s.w,_=s.ha;if(4>_)return on(i,7,"Truncated header.");var S=h[v+0]|h[v+1]<<8|h[v+2]<<16,L=i.Od;if(L.Rb=!(1&S),L.td=S>>1&7,L.yd=S>>4&1,L.ub=S>>5,3<L.td)return on(i,3,"Incorrect keyframe parameters.");if(!L.yd)return on(i,4,"Frame not displayable.");v+=3,_-=3;var C=i.Kc;if(L.Rb){if(7>_)return on(i,7,"cannot parse picture header");if(!ri(h,v,_))return on(i,3,"Bad code word");C.c=16383&(h[v+4]<<8|h[v+3]),C.Td=h[v+4]>>6,C.i=16383&(h[v+6]<<8|h[v+5]),C.Ud=h[v+6]>>6,v+=7,_-=7,i.za=C.c+15>>4,i.Ub=C.i+15>>4,s.width=C.c,s.height=C.i,s.Da=0,s.j=0,s.v=0,s.va=s.width,s.o=s.height,s.da=0,s.ib=s.width,s.hb=s.height,s.U=s.width,s.T=s.height,a((S=i.Pa).jb,0,255,S.jb.length),e((S=i.Qa)!=null),S.Cb=0,S.Bb=0,S.Fb=1,a(S.Zb,0,0,S.Zb.length),a(S.Lb,0,0,S.Lb)}if(L.ub>_)return on(i,7,"bad partition length");Se(S=i.m,h,v,L.ub),v+=L.ub,_-=L.ub,L.Rb&&(C.Ld=le(S),C.Kd=le(S)),C=i.Qa;var O,U=i.Pa;if(e(S!=null),e(C!=null),C.Cb=le(S),C.Cb){if(C.Bb=le(S),le(S)){for(C.Fb=le(S),O=0;4>O;++O)C.Zb[O]=le(S)?fe(S,7):0;for(O=0;4>O;++O)C.Lb[O]=le(S)?fe(S,6):0}if(C.Bb)for(O=0;3>O;++O)U.jb[O]=le(S)?_e(S,8):255}else C.Bb=0;if(S.Ka)return on(i,3,"cannot parse segment header");if((C=i.ed).zd=le(S),C.Tb=_e(S,6),C.wb=_e(S,3),C.Pc=le(S),C.Pc&&le(S)){for(U=0;4>U;++U)le(S)&&(C.vd[U]=fe(S,6));for(U=0;4>U;++U)le(S)&&(C.od[U]=fe(S,6))}if(i.L=C.Tb==0?0:C.zd?1:2,S.Ka)return on(i,3,"cannot parse filter header");var Q=_;if(_=O=v,v=O+Q,C=Q,i.Xb=(1<<_e(i.m,2))-1,Q<3*(U=i.Xb))h=7;else{for(O+=3*U,C-=3*U,Q=0;Q<U;++Q){var ge=h[_+0]|h[_+1]<<8|h[_+2]<<16;ge>C&&(ge=C),Se(i.Jc[+Q],h,O,ge),O+=ge,C-=ge,_+=3}Se(i.Jc[+U],h,O,C),h=O<v?0:5}if(h!=0)return on(i,h,"cannot parse partitions");for(h=_e(O=i.m,7),_=le(O)?fe(O,4):0,v=le(O)?fe(O,4):0,C=le(O)?fe(O,4):0,U=le(O)?fe(O,4):0,O=le(O)?fe(O,4):0,Q=i.Qa,ge=0;4>ge;++ge){if(Q.Cb){var z=Q.Zb[ge];Q.Fb||(z+=h)}else{if(0<ge){i.pb[ge]=i.pb[0];continue}z=h}var ne=i.pb[ge];ne.Sc[0]=hs[qn(z+_,127)],ne.Sc[1]=ds[qn(z+0,127)],ne.Eb[0]=2*hs[qn(z+v,127)],ne.Eb[1]=101581*ds[qn(z+C,127)]>>16,8>ne.Eb[1]&&(ne.Eb[1]=8),ne.Qc[0]=hs[qn(z+U,117)],ne.Qc[1]=ds[qn(z+O,127)],ne.lc=z+O}if(!L.Rb)return on(i,4,"Not a key frame.");for(le(S),L=i.Pa,h=0;4>h;++h){for(_=0;8>_;++_)for(v=0;3>v;++v)for(C=0;11>C;++C)U=ve(S,gf[h][_][v][C])?_e(S,8):df[h][_][v][C],L.Wc[h][_].Yb[v][C]=U;for(_=0;17>_;++_)L.Xc[h][_]=L.Wc[h][mf[_]]}return i.kc=le(S),i.kc&&(i.Bd=_e(S,8)),i.cb=1}function ii(i,s,h,v,_,S,L){var C=s[_].Yb[h];for(h=0;16>_;++_){if(!ve(i,C[h+0]))return _;for(;!ve(i,C[h+1]);)if(C=s[++_].Yb[0],h=0,_==16)return 16;var O=s[_+1].Yb;if(ve(i,C[h+2])){var U=i,Q=0;if(ve(U,(z=C)[(ge=h)+3]))if(ve(U,z[ge+6])){for(C=0,ge=2*(Q=ve(U,z[ge+8]))+(z=ve(U,z[ge+9+Q])),Q=0,z=ff[ge];z[C];++C)Q+=Q+ve(U,z[C]);Q+=3+(8<<ge)}else ve(U,z[ge+7])?(Q=7+2*ve(U,165),Q+=ve(U,145)):Q=5+ve(U,159);else Q=ve(U,z[ge+4])?3+ve(U,z[ge+5]):2;C=O[2]}else Q=1,C=O[1];O=L+hf[_],0>(U=i).b&&ye(U);var ge,z=U.b,ne=(ge=U.Ca>>1)-(U.I>>z)>>31;--U.b,U.Ca+=ne,U.Ca|=1,U.I-=(ge+1&ne)<<z,S[O]=((Q^ne)-ne)*v[(0<_)+0]}return 16}function ai(i){var s=i.rb[i.sb-1];s.la=0,s.Na=0,a(i.zc,0,0,i.zc.length),i.ja=0}function p(i,s,h,v,_){_=i[s+h+32*v]+(_>>3),i[s+h+32*v]=-256&_?0>_?0:255:_}function b(i,s,h,v,_,S){p(i,s,0,h,v+_),p(i,s,1,h,v+S),p(i,s,2,h,v-S),p(i,s,3,h,v-_)}function P(i){return(20091*i>>16)+i}function j(i,s,h,v){var _,S=0,L=o(16);for(_=0;4>_;++_){var C=i[s+0]+i[s+8],O=i[s+0]-i[s+8],U=(35468*i[s+4]>>16)-P(i[s+12]),Q=P(i[s+4])+(35468*i[s+12]>>16);L[S+0]=C+Q,L[S+1]=O+U,L[S+2]=O-U,L[S+3]=C-Q,S+=4,s++}for(_=S=0;4>_;++_)C=(i=L[S+0]+4)+L[S+8],O=i-L[S+8],U=(35468*L[S+4]>>16)-P(L[S+12]),p(h,v,0,0,C+(Q=P(L[S+4])+(35468*L[S+12]>>16))),p(h,v,1,0,O+U),p(h,v,2,0,O-U),p(h,v,3,0,C-Q),S++,v+=32}function pe(i,s,h,v){var _=i[s+0]+4,S=35468*i[s+4]>>16,L=P(i[s+4]),C=35468*i[s+1]>>16;b(h,v,0,_+L,i=P(i[s+1]),C),b(h,v,1,_+S,i,C),b(h,v,2,_-S,i,C),b(h,v,3,_-L,i,C)}function ce(i,s,h,v,_){j(i,s,h,v),_&&j(i,s+16,h,v+4)}function Pe(i,s,h,v){Di(i,s+0,h,v,1),Di(i,s+32,h,v+128,1)}function Ue(i,s,h,v){var _;for(i=i[s+0]+4,_=0;4>_;++_)for(s=0;4>s;++s)p(h,v,s,_,i)}function at(i,s,h,v){i[s+0]&&ir(i,s+0,h,v),i[s+16]&&ir(i,s+16,h,v+4),i[s+32]&&ir(i,s+32,h,v+128),i[s+48]&&ir(i,s+48,h,v+128+4)}function pt(i,s,h,v){var _,S=o(16);for(_=0;4>_;++_){var L=i[s+0+_]+i[s+12+_],C=i[s+4+_]+i[s+8+_],O=i[s+4+_]-i[s+8+_],U=i[s+0+_]-i[s+12+_];S[0+_]=L+C,S[8+_]=L-C,S[4+_]=U+O,S[12+_]=U-O}for(_=0;4>_;++_)L=(i=S[0+4*_]+3)+S[3+4*_],C=S[1+4*_]+S[2+4*_],O=S[1+4*_]-S[2+4*_],U=i-S[3+4*_],h[v+0]=L+C>>3,h[v+16]=U+O>>3,h[v+32]=L-C>>3,h[v+48]=U-O>>3,v+=64}function yt(i,s,h){var v,_=s-32,S=Or,L=255-i[_-1];for(v=0;v<h;++v){var C,O=S,U=L+i[s-1];for(C=0;C<h;++C)i[s+C]=O[U+i[_+C]];s+=32}}function zt(i,s){yt(i,s,4)}function Gn(i,s){yt(i,s,8)}function mr(i,s){yt(i,s,16)}function $n(i,s){var h;for(h=0;16>h;++h)r(i,s+32*h,i,s-32,16)}function oi(i,s){var h;for(h=16;0<h;--h)a(i,s,i[s-1],16),s+=32}function Un(i,s,h){var v;
vendor: 4,124 bytes, line 109
109for(v=0;16>v;++v)a(s,h+32*v,i,16)}function vi(i,s){var h,v=16;for(h=0;16>h;++h)v+=i[s-1+32*h]+i[s+h-32];Un(v>>5,i,s)}function er(i,s){var h,v=8;for(h=0;16>h;++h)v+=i[s-1+32*h];Un(v>>4,i,s)}function Yi(i,s){var h,v=8;for(h=0;16>h;++h)v+=i[s+h-32];Un(v>>4,i,s)}function tr(i,s){Un(128,i,s)}function gt(i,s,h){return i+2*s+h+2>>2}function Za(i,s){var h,v=s-32;for(v=new Uint8Array([gt(i[v-1],i[v+0],i[v+1]),gt(i[v+0],i[v+1],i[v+2]),gt(i[v+1],i[v+2],i[v+3]),gt(i[v+2],i[v+3],i[v+4])]),h=0;4>h;++h)r(i,s+32*h,v,0,v.length)}function Qa(i,s){var h=i[s-1],v=i[s-1+32],_=i[s-1+64],S=i[s-1+96];Ce(i,s+0,16843009*gt(i[s-1-32],h,v)),Ce(i,s+32,16843009*gt(h,v,_)),Ce(i,s+64,16843009*gt(v,_,S)),Ce(i,s+96,16843009*gt(_,S,S))}function eo(i,s){var h,v=4;for(h=0;4>h;++h)v+=i[s+h-32]+i[s-1+32*h];for(v>>=3,h=0;4>h;++h)a(i,s+32*h,v,4)}function to(i,s){var h=i[s-1+0],v=i[s-1+32],_=i[s-1+64],S=i[s-1-32],L=i[s+0-32],C=i[s+1-32],O=i[s+2-32],U=i[s+3-32];i[s+0+96]=gt(v,_,i[s-1+96]),i[s+1+96]=i[s+0+64]=gt(h,v,_),i[s+2+96]=i[s+1+64]=i[s+0+32]=gt(S,h,v),i[s+3+96]=i[s+2+64]=i[s+1+32]=i[s+0+0]=gt(L,S,h),i[s+3+64]=i[s+2+32]=i[s+1+0]=gt(C,L,S),i[s+3+32]=i[s+2+0]=gt(O,C,L),i[s+3+0]=gt(U,O,C)}function no(i,s){var h=i[s+1-32],v=i[s+2-32],_=i[s+3-32],S=i[s+4-32],L=i[s+5-32],C=i[s+6-32],O=i[s+7-32];i[s+0+0]=gt(i[s+0-32],h,v),i[s+1+0]=i[s+0+32]=gt(h,v,_),i[s+2+0]=i[s+1+32]=i[s+0+64]=gt(v,_,S),i[s+3+0]=i[s+2+32]=i[s+1+64]=i[s+0+96]=gt(_,S,L),i[s+3+32]=i[s+2+64]=i[s+1+96]=gt(S,L,C),i[s+3+64]=i[s+2+96]=gt(L,C,O),i[s+3+96]=gt(C,O,O)}function Fn(i,s){var h=i[s-1+0],v=i[s-1+32],_=i[s-1+64],S=i[s-1-32],L=i[s+0-32],C=i[s+1-32],O=i[s+2-32],U=i[s+3-32];i[s+0+0]=i[s+1+64]=S+L+1>>1,i[s+1+0]=i[s+2+64]=L+C+1>>1,i[s+2+0]=i[s+3+64]=C+O+1>>1,i[s+3+0]=O+U+1>>1,i[s+0+96]=gt(_,v,h),i[s+0+64]=gt(v,h,S),i[s+0+32]=i[s+1+96]=gt(h,S,L),i[s+1+32]=i[s+2+96]=gt(S,L,C),i[s+2+32]=i[s+3+96]=gt(L,C,O),i[s+3+32]=gt(C,O,U)}function Fr(i,s){var h=i[s+0-32],v=i[s+1-32],_=i[s+2-32],S=i[s+3-32],L=i[s+4-32],C=i[s+5-32],O=i[s+6-32],U=i[s+7-32];i[s+0+0]=h+v+1>>1,i[s+1+0]=i[s+0+64]=v+_+1>>1,i[s+2+0]=i[s+1+64]=_+S+1>>1,i[s+3+0]=i[s+2+64]=S+L+1>>1,i[s+0+32]=gt(h,v,_),i[s+1+32]=i[s+0+96]=gt(v,_,S),i[s+2+32]=i[s+1+96]=gt(_,S,L),i[s+3+32]=i[s+2+96]=gt(S,L,C),i[s+3+64]=gt(L,C,O),i[s+3+96]=gt(C,O,U)}function Ji(i,s){var h=i[s-1+0],v=i[s-1+32],_=i[s-1+64],S=i[s-1+96];i[s+0+0]=h+v+1>>1,i[s+2+0]=i[s+0+32]=v+_+1>>1,i[s+2+32]=i[s+0+64]=_+S+1>>1,i[s+1+0]=gt(h,v,_),i[s+3+0]=i[s+1+32]=gt(v,_,S),i[s+3+32]=i[s+1+64]=gt(_,S,S),i[s+3+64]=i[s+2+64]=i[s+0+96]=i[s+1+96]=i[s+2+96]=i[s+3+96]=S}function Vt(i,s){var h=i[s-1+0],v=i[s-1+32],_=i[s-1+64],S=i[s-1+96],L=i[s-1-32],C=i[s+0-32],O=i[s+1-32],U=i[s+2-32];i[s+0+0]=i[s+2+32]=h+L+1>>1,i[s+0+32]=i[s+2+64]=v+h+1>>1,i[s+0+64]=i[s+2+96]=_+v+1>>1,i[s+0+96]=S+_+1>>1,i[s+3+0]=gt(C,O,U),i[s+2+0]=gt(L,C,O),i[s+1+0]=i[s+3+32]=gt(h,L,C),i[s+1+32]=i[s+3+64]=gt(v,h,L),i[s+1+64]=i[s+3+96]=gt(_,v,h),i[s+1+96]=gt(S,_,v)}function Wr(i,s){var h;for(h=0;8>h;++h)r(i,s+32*h,i,s-32,8)}function wi(i,s){var h;for(h=0;8>h;++h)a(i,s,i[s-1],8),s+=32}function nr(i,s,h){var v;for(v=0;8>v;++v)a(s,h+32*v,i,8)}function Vr(i,s){var h,v=8;for(h=0;8>h;++h)v+=i[s+h-32]+i[s-1+32*h];nr(v>>4,i,s)}function si(i,s){var h,v=4;for(h=0;8>h;++h)v+=i[s+h-32];nr(v>>3,i,s)}function li(i,s){var h,v=4;for(h=0;8>h;++h)v+=i[s-1+32*h];nr(v>>3,i,s)}function Xi(i,s){nr(128,i,s)}function Gr(i,s,h){var v=i[s-h],_=i[s+0],S=3*(_-v)+ss[1020+i[s-2*h]-i[s+h]],L=xo[112+(S+4>>3)];i[s-h]=Or[255+v+xo[112+(S+3>>3)]],i[s+0]=Or[255+_-L]}function Ti(i,s,h,v){var _=i[s+0],S=i[s+h];return Xr[255+i[s-2*h]-i[s-h]]>v||Xr[255+S-_]>v}function yi(i,s,h,v){return 4*Xr[255+i[s-h]-i[s+0]]+Xr[255+i[s-2*h]-i[s+h]]<=v}function Ki(i,s,h,v,_){var S=i[s-3*h],L=i[s-2*h],C=i[s-h],O=i[s+0],U=i[s+h],Q=i[s+2*h],ge=i[s+3*h];return 4*Xr[255+C-O]+Xr[255+L-U]>v?0:Xr[255+i[s-4*h]-S]<=_&&Xr[255+S-L]<=_&&Xr[255+L-C]<=_&&Xr[255+ge-Q]<=_&&Xr[255+Q-U]<=_&&Xr[255+U-O]<=_}function Ri(i,s,h,v){var _=2*v+1;for(v=0;16>v;++v)yi(i,s+v,h,_)&&Gr(i,s+v,h)}function va(i,s,h,v){var _=2*v+1;for(v=0;16>v;++v)yi(i,s+v*h,1,_)&&Gr(i,s+v*h,1)}function Zi(i,s,h,v){var _;for(_=3;0<_;--_)Ri(i,s+=4*h,h,v)}function Mi(i,s,h,v){var _;
vendor: 15,392 bytes, line 109
109for(_=3;0<_;--_)va(i,s+=4,h,v)}function $r(i,s,h,v,_,S,L,C){for(S=2*S+1;0<_--;){if(Ki(i,s,h,S,L))if(Ti(i,s,h,C))Gr(i,s,h);else{var O=i,U=s,Q=h,ge=O[U-2*Q],z=O[U-Q],ne=O[U+0],oe=O[U+Q],Le=O[U+2*Q],de=27*(Ie=ss[1020+3*(ne-z)+ss[1020+ge-oe]])+63>>7,Ee=18*Ie+63>>7,Ie=9*Ie+63>>7;O[U-3*Q]=Or[255+O[U-3*Q]+Ie],O[U-2*Q]=Or[255+ge+Ee],O[U-Q]=Or[255+z+de],O[U+0]=Or[255+ne-de],O[U+Q]=Or[255+oe-Ee],O[U+2*Q]=Or[255+Le-Ie]}s+=v}}function Sr(i,s,h,v,_,S,L,C){for(S=2*S+1;0<_--;){if(Ki(i,s,h,S,L))if(Ti(i,s,h,C))Gr(i,s,h);else{var O=i,U=s,Q=h,ge=O[U-Q],z=O[U+0],ne=O[U+Q],oe=xo[112+(4+(Le=3*(z-ge))>>3)],Le=xo[112+(Le+3>>3)],de=oe+1>>1;O[U-2*Q]=Or[255+O[U-2*Q]+de],O[U-Q]=Or[255+ge+Le],O[U+0]=Or[255+z-oe],O[U+Q]=Or[255+ne-de]}s+=v}}function Qi(i,s,h,v,_,S){$r(i,s,h,1,16,v,_,S)}function Oa(i,s,h,v,_,S){$r(i,s,1,h,16,v,_,S)}function bi(i,s,h,v,_,S){var L;for(L=3;0<L;--L)Sr(i,s+=4*h,h,1,16,v,_,S)}function ji(i,s,h,v,_,S){var L;for(L=3;0<L;--L)Sr(i,s+=4,1,h,16,v,_,S)}function ea(i,s,h,v,_,S,L,C){$r(i,s,_,1,8,S,L,C),$r(h,v,_,1,8,S,L,C)}function u(i,s,h,v,_,S,L,C){$r(i,s,1,_,8,S,L,C),$r(h,v,1,_,8,S,L,C)}function x(i,s,h,v,_,S,L,C){Sr(i,s+4*_,_,1,8,S,L,C),Sr(h,v+4*_,_,1,8,S,L,C)}function M(i,s,h,v,_,S,L,C){Sr(i,s+4,1,_,8,S,L,C),Sr(h,v+4,1,_,8,S,L,C)}function J(){this.ba=new Ye,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new Rt,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function re(){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 Ae(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function Te(){this.ua=0,this.Wa=new mt,this.vb=new mt,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new me,this.yc=new X}function Ve(){this.xb=this.a=0,this.l=new Hr,this.ca=new Ye,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new H,this.Pb=0,this.wd=new H,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new Te,this.ab=0,this.gc=d(4,Ae),this.Oc=0}function Je(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new Hr,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function bt(i,s,h,v,_,S,L){for(i=i==null?0:i[s+0],s=0;s<L;++s)_[S+s]=i+h[v+s]&255,i=_[S+s]}function At(i,s,h,v,_,S,L){var C;if(i==null)bt(null,null,h,v,_,S,L);else for(C=0;C<L;++C)_[S+C]=i[s+C]+h[v+C]&255}function Mt(i,s,h,v,_,S,L){if(i==null)bt(null,null,h,v,_,S,L);else{var C,O=i[s+0],U=O,Q=O;for(C=0;C<L;++C)U=Q+(O=i[s+C])-U,Q=h[v+C]+(-256&U?0>U?0:255:U)&255,U=O,_[S+C]=Q}}function fn(i,s,h,v){var _=s.width,S=s.o;if(e(i!=null&&s!=null),0>h||0>=v||h+v>S)return null;if(!i.Cc){if(i.ga==null){var L;if(i.ga=new Je,(L=i.ga==null)||(L=s.width*s.o,e(i.Gb.length==0),i.Gb=o(L),i.Uc=0,i.Gb==null?L=0:(i.mb=i.Gb,i.nb=i.Uc,i.rc=null,L=1),L=!L),!L){L=i.ga;var C=i.Fa,O=i.P,U=i.qc,Q=i.mb,ge=i.nb,z=O+1,ne=U-1,oe=L.l;if(e(C!=null&&Q!=null&&s!=null),sa[0]=null,sa[1]=bt,sa[2]=At,sa[3]=Mt,L.ca=Q,L.tb=ge,L.c=s.width,L.i=s.height,e(0<L.c&&0<L.i),1>=U)s=0;else if(L.$a=3&C[O+0],L.Z=C[O+0]>>2&3,L.Lc=C[O+0]>>4&3,O=C[O+0]>>6&3,0>L.$a||1<L.$a||4<=L.Z||1<L.Lc||O)s=0;else if(oe.put=ht,oe.ac=kn,oe.bc=fr,oe.ma=L,oe.width=s.width,oe.height=s.height,oe.Da=s.Da,oe.v=s.v,oe.va=s.va,oe.j=s.j,oe.o=s.o,L.$a)e:{e(L.$a==1),s=Er();t:for(;;){if(s==null){s=0;break e}if(e(L!=null),L.mc=s,s.c=L.c,s.i=L.i,s.l=L.l,s.l.ma=L,s.l.width=L.c,s.l.height=L.i,s.a=0,xe(s.m,C,z,ne),!Vn(L.c,L.i,1,s,null)||(s.ab==1&&s.gc[0].hc==3&&Bn(s.s)?(L.ic=1,C=s.c*s.i,s.Ta=null,s.Ua=0,s.V=o(C),s.Ba=0,s.V==null?(s.a=1,s=0):s=1):(L.ic=0,s=pr(s,L.c)),!s))break t;s=1;break e}L.mc=null,s=0}else s=ne>=L.c*L.i;L=!s}if(L)return null;i.ga.Lc!=1?i.Ga=0:v=S-h}e(i.ga!=null),e(h+v<=S);e:{if(s=(C=i.ga).c,S=C.l.o,C.$a==0){if(z=i.rc,ne=i.Vc,oe=i.Fa,O=i.P+1+h*s,U=i.mb,Q=i.nb+h*s,e(O<=i.P+i.qc),C.Z!=0)for(e(sa[C.Z]!=null),L=0;L<v;++L)sa[C.Z](z,ne,oe,O,U,Q,s),z=U,ne=Q,Q+=s,O+=s;else for(L=0;L<v;++L)r(U,Q,oe,O,s),z=U,ne=Q,Q+=s,O+=s;i.rc=z,i.Vc=ne}else{if(e(C.mc!=null),s=h+v,e((L=C.mc)!=null),e(s<=L.i),L.C>=s)s=1;else if(C.ic||sn(),C.ic){C=L.V,z=L.Ba,ne=L.c;var Le=L.i,de=(oe=1,O=L.$/ne,U=L.$%ne,Q=L.m,ge=L.s,L.$),Ee=ne*Le,Ie=ne*s,Be=ge.wc,Re=de<Ie?bn(ge,U,O):null;e(de<=Ee),e(s<=Le),e(Bn(ge));t:for(;;){for(;!Q.h&&de<Ie;){if(U&Be||(Re=bn(ge,U,O)),e(Re!=null),ue(Q),256>(Le=nn(Re.G[0],Re.H[0],Q)))C[z+de]=Le,++de,++U>=ne&&(U=0,++O<=s&&!(O%16)&&dr(L,O));else{if(!(280>Le)){oe=0;break t}Le=Hn(Le-256,Q);var lt,Xe=nn(Re.G[4],Re.H[4],Q);if(ue(Q),!(de>=(Xe=Wn(ne,Xe=Hn(Xe,Q)))&&Ee-de>=Le)){oe=0;break t}for(lt=0;lt<Le;++lt)C[z+de+lt]=C[z+de+lt-Xe];for(de+=Le,U+=Le;U>=ne;)U-=ne,++O<=s&&!(O%16)&&dr(L,O);de<Ie&&U&Be&&(Re=bn(ge,U,O))}e(Q.h==K(Q))}dr(L,O>s?s:O);break t}!oe||Q.h&&de<Ee?(oe=0,L.a=Q.h?5:3):L.$=de,s=oe}else s=In(L,L.V,L.Ba,L.c,L.i,s,Cr);if(!s){v=0;break e}}h+v>=S&&(i.Cc=1),v=1}if(!v)return null;if(i.Cc&&((v=i.ga)!=null&&(v.mc=null),i.ga=null,0<i.Ga))return alert("todo:WebPDequantizeLevels"),null}return i.nb+h*_}function Gt(i,s,h,v,_,S){for(;0<_--;){var L,C=i,O=s+(h?1:0),U=i,Q=s+(h?0:3);for(L=0;L<v;++L){var ge=U[Q+4*L];ge!=255&&(ge*=32897,C[O+4*L+0]=C[O+4*L+0]*ge>>23,C[O+4*L+1]=C[O+4*L+1]*ge>>23,C[O+4*L+2]=C[O+4*L+2]*ge>>23)}s+=S}}function Ht(i,s,h,v,_){for(;0<v--;){var S;for(S=0;S<h;++S){var L=i[s+2*S+0],C=15&(U=i[s+2*S+1]),O=4369*C,U=(240&U|U>>4)*O>>16;i[s+2*S+0]=(240&L|L>>4)*O>>16&240|(15&L|L<<4)*O>>16>>4&15,i[s+2*S+1]=240&U|C}s+=_}}function $t(i,s,h,v,_,S,L,C){var O,U,Q=255;for(U=0;U<_;++U){for(O=0;O<v;++O){var ge=i[s+O];S[L+4*O]=ge,Q&=ge}s+=h,L+=C}return Q!=255}function Qt(i,s,h,v,_){var S;for(S=0;S<_;++S)h[v+S]=i[s+S]>>8}function sn(){so=Gt,fl=Ht,hl=$t,dl=Qt}function On(i,s,h){V[i]=function(v,_,S,L,C,O,U,Q,ge,z,ne,oe,Le,de,Ee,Ie,Be){var Re,lt=Be-1>>1,Xe=C[O+0]|U[Q+0]<<16,It=ge[z+0]|ne[oe+0]<<16;e(v!=null);var rt=3*Xe+It+131074>>2;for(s(v[_+0],255&rt,rt>>16,Le,de),S!=null&&(rt=3*It+Xe+131074>>2,s(S[L+0],255&rt,rt>>16,Ee,Ie)),Re=1;Re<=lt;++Re){var Bt=C[O+Re]|U[Q+Re]<<16,Rn=ge[z+Re]|ne[oe+Re]<<16,Ft=Xe+Bt+It+Rn+524296,it=Ft+2*(Bt+It)>>3;rt=it+Xe>>1,Xe=(Ft=Ft+2*(Xe+Rn)>>3)+Bt>>1,s(v[_+2*Re-1],255&rt,rt>>16,Le,de+(2*Re-1)*h),s(v[_+2*Re-0],255&Xe,Xe>>16,Le,de+(2*Re-0)*h),S!=null&&(rt=Ft+It>>1,Xe=it+Rn>>1,s(S[L+2*Re-1],255&rt,rt>>16,Ee,Ie+(2*Re-1)*h),s(S[L+2*Re+0],255&Xe,Xe>>16,Ee,Ie+(2*Re+0)*h)),Xe=Bt,It=Rn}1&Be||(rt=3*Xe+It+131074>>2,s(v[_+Be-1],255&rt,rt>>16,Le,de+(Be-1)*h),S!=null&&(rt=3*It+Xe+131074>>2,s(S[L+Be-1],255&rt,rt>>16,Ee,Ie+(Be-1)*h)))}}function Yr(){Kr[_o]=wf,Kr[So]=Al,Kr[yl]=yf,Kr[Ao]=Nl,Kr[No]=Ll,Kr[ls]=kl,Kr[bl]=bf,Kr[us]=Al,Kr[cs]=Nl,Kr[Lo]=Ll,Kr[fs]=kl}function Bi(i){return i&-16384?0>i?0:255:i>>xf}function xi(i,s){return Bi((19077*i>>8)+(26149*s>>8)-14234)}function g(i,s,h){return Bi((19077*i>>8)-(6419*s>>8)-(13320*h>>8)+8708)}function y(i,s){return Bi((19077*i>>8)+(33050*s>>8)-17685)}function k(i,s,h,v,_){v[_+0]=xi(i,h),v[_+1]=g(i,s,h),v[_+2]=y(i,s)}function q(i,s,h,v,_){v[_+0]=y(i,s),v[_+1]=g(i,s,h),v[_+2]=xi(i,h)}function he(i,s,h,v,_){var S=g(i,s,h);s=S<<3&224|y(i,s)>>3,v[_+0]=248&xi(i,h)|S>>5,v[_+1]=s}function ae(i,s,h,v,_){var S=240&y(i,s)|15;v[_+0]=240&xi(i,h)|g(i,s,h)>>4,v[_+1]=S}function Ne(i,s,h,v,_){v[_+0]=255,k(i,s,h,v,_+1)}function je(i,s,h,v,_){q(i,s,h,v,_),v[_+3]=255}function dt(i,s,h,v,_){k(i,s,h,v,_),v[_+3]=255}function vt(i,s,h){V[i]=function(v,_,S,L,C,O,U,Q,ge){for(var z=Q+(-2&ge)*h;Q!=z;)s(v[_+0],S[L+0],C[O+0],U,Q),s(v[_+1],S[L+0],C[O+0],U,Q+h),_+=2,++L,++O,Q+=2*h;1&ge&&s(v[_+0],S[L+0],C[O+0],U,Q)}}function ft(i,s,h){return h==0?i==0?s==0?6:5:s==0?4:0:h}function Yt(i,s,h,v,_){switch(i>>>30){case 3:Di(s,h,v,_,0);break;case 2:aa(s,h,v,_);break;case 1:ir(s,h,v,_)}}function En(i,s){var h,v,_=s.M,S=s.Nb,L=i.oc,C=i.pc+40,O=i.oc,U=i.pc+584,Q=i.oc,ge=i.pc+600;for(h=0;16>h;++h)L[C+32*h-1]=129;for(h=0;8>h;++h)O[U+32*h-1]=129,Q[ge+32*h-1]=129;for(0<_?L[C-1-32]=O[U-1-32]=Q[ge-1-32]=129:(a(L,C-32-1,127,21),a(O,U-32-1,127,9),a(Q,ge-32-1,127,9)),v=0;v<i.za;++v){var z=s.ya[s.aa+v];if(0<v){for(h=-1;16>h;++h)r(L,C+32*h-4,L,C+32*h+12,4);for(h=-1;8>h;++h)r(O,U+32*h-4,O,U+32*h+4,4),r(Q,ge+32*h-4,Q,ge+32*h+4,4)}var ne=i.Gd,oe=i.Hd+v,Le=z.ad,de=z.Hc;if(0<_&&(r(L,C-32,ne[oe].y,0,16),r(O,U-32,ne[oe].f,0,8),r(Q,ge-32,ne[oe].ea,0,8)),z.Za){var Ee=L,Ie=C-32+16;for(0<_&&(v>=i.za-1?a(Ee,Ie,ne[oe].y[15],4):r(Ee,Ie,ne[oe+1].y,0,4)),h=0;4>h;h++)Ee[Ie+128+h]=Ee[Ie+256+h]=Ee[Ie+384+h]=Ee[Ie+0+h];for(h=0;16>h;++h,de<<=2)Ee=L,Ie=C+El[h],ci[z.Ob[h]](Ee,Ie),Yt(de,Le,16*+h,Ee,Ie)}else if(Ee=ft(v,_,z.Ob[0]),oa[Ee](L,C),de!=0)for(h=0;16>h;++h,de<<=2)Yt(de,Le,16*+h,L,C+El[h]);for(h=z.Gc,Ee=ft(v,_,z.Dd),Ui[Ee](O,U),Ui[Ee](Q,ge),de=Le,Ee=O,Ie=U,255&(z=0|h)&&(170&z?ja(de,256,Ee,Ie):Ai(de,256,Ee,Ie)),z=Q,de=ge,255&(h>>=8)&&(170&h?ja(Le,320,z,de):Ai(Le,320,z,de)),_<i.Ub-1&&(r(ne[oe].y,0,L,C+480,16),r(ne[oe].f,0,O,U+224,8),r(ne[oe].ea,0,Q,ge+224,8)),h=8*S*i.B,ne=i.sa,oe=i.ta+16*v+16*S*i.R,Le=i.qa,z=i.ra+8*v+h,de=i.Ha,Ee=i.Ia+8*v+h,h=0;16>h;++h)r(ne,oe+h*i.R,L,C+32*h,16);for(h=0;8>h;++h)r(Le,z+h*i.B,O,U+32*h,8),r(de,Ee+h*i.B,Q,ge+32*h,8)}}function rr(i,s,h,v,_,S,L,C,O){var U=[0],Q=[0],ge=0,z=O!=null?O.kd:0,ne=O??new re;if(i==null||12>h)return 7;ne.data=i,ne.w=s,ne.ha=h,s=[s],h=[h],ne.gb=[ne.gb];e:{var oe=s,Le=h,de=ne.gb;if(e(i!=null),e(Le!=null),e(de!=null),de[0]=0,12<=Le[0]&&!t(i,oe[0],"RIFF")){if(t(i,oe[0]+8,"WEBP")){de=3;break e}var Ee=We(i,oe[0]+4);if(12>Ee||4294967286<Ee){de=3;break e}if(z&&Ee>Le[0]-8){de=7;break e}de[0]=Ee,oe[0]+=12,Le[0]-=12}de=0}if(de!=0)return de;for(Ee=0<ne.gb[0],h=h[0];;){e:{var Ie=i;Le=s,de=h;var Be=U,Re=Q,lt=oe=[0];if((rt=ge=[ge])[0]=0,8>de[0])de=7;else{if(!t(Ie,Le[0],"VP8X")){if(We(Ie,Le[0]+4)!=10){de=3;break e}if(18>de[0]){de=7;break e}var Xe=We(Ie,Le[0]+8),It=1+Me(Ie,Le[0]+12);if(2147483648<=It*(Ie=1+Me(Ie,Le[0]+15))){de=3;break e}lt!=null&&(lt[0]=Xe),Be!=null&&(Be[0]=It),Re!=null&&(Re[0]=Ie),Le[0]+=18,de[0]-=18,rt[0]=1}de=0}}if(ge=ge[0],oe=oe[0],de!=0)return de;if(Le=!!(2&oe),!Ee&&ge)return 3;if(S!=null&&(S[0]=!!(16&oe)),L!=null&&(L[0]=Le),C!=null&&(C[0]=0),L=U[0],oe=Q[0],ge&&Le&&O==null){de=0;break}if(4>h){de=7;break}if(Ee&&ge||!Ee&&!ge&&!t(i,s[0],"ALPH")){h=[h],ne.na=[ne.na],ne.P=[ne.P],ne.Sa=[ne.Sa];e:{Xe=i,de=s,Ee=h;var rt=ne.gb;Be=ne.na,Re=ne.P,lt=ne.Sa,It=22,e(Xe!=null),e(Ee!=null),Ie=de[0];var Bt=Ee[0];for(e(Be!=null),e(lt!=null),Be[0]=null,Re[0]=null,lt[0]=0;;){if(de[0]=Ie,Ee[0]=Bt,8>Bt){de=7;break e}var Rn=We(Xe,Ie+4);if(4294967286<Rn){de=3;break e}var Ft=8+Rn+1&-2;if(It+=Ft,0<rt&&It>rt){de=3;break e}if(!t(Xe,Ie,"VP8 ")||!t(Xe,Ie,"VP8L")){de=0;break e}if(Bt[0]<Ft){de=7;break e}t(Xe,Ie,"ALPH")||(Be[0]=Xe,Re[0]=Ie+8,lt[0]=Rn),Ie+=Ft,Bt-=Ft}}if(h=h[0],ne.na=ne.na[0],ne.P=ne.P[0],ne.Sa=ne.Sa[0],de!=0)break}h=[h],ne.Ja=[ne.Ja],ne.xa=[ne.xa];e:if(rt=i,de=s,Ee=h,Be=ne.gb[0],Re=ne.Ja,lt=ne.xa,Xe=de[0],Ie=!t(rt,Xe,"VP8 "),It=!t(rt,Xe,"VP8L"),e(rt!=null),e(Ee!=null),e(Re!=null),e(lt!=null),8>Ee[0])de=7;else{if(Ie||It){if(rt=We(rt,Xe+4),12<=Be&&rt>Be-12){de=3;break e}if(z&&rt>Ee[0]-8){de=7;break e}Re[0]=rt,de[0]+=8,Ee[0]-=8,lt[0]=It}else lt[0]=5<=Ee[0]&&rt[Xe+0]==47&&!(rt[Xe+4]>>5),Re[0]=Ee[0];de=0}if(h=h[0],ne.Ja=ne.Ja[0],ne.xa=ne.xa[0],s=s[0],de!=0)break;if(4294967286<ne.Ja)return 3;if(C==null||Le||(C[0]=ne.xa?2:1),L=[L],oe=[oe],ne.xa){if(5>h){de=7;break}C=L,z=oe,Le=S,i==null||5>h?i=0:5<=h&&i[s+0]==47&&!(i[s+4]>>5)?(Ee=[0],rt=[0],Be=[0],xe(Re=new H,i,s,h),hr(Re,Ee,rt,Be)?(C!=null&&(C[0]=Ee[0]),z!=null&&(z[0]=rt[0]),Le!=null&&(Le[0]=Be[0]),i=1):i=0):i=0}else{if(10>h){de=7;break}C=oe,i==null||10>h||!ri(i,s+3,h-3)?i=0:(z=i[s+0]|i[s+1]<<8|i[s+2]<<16,Le=16383&(i[s+7]<<8|i[s+6]),i=16383&(i[s+9]<<8|i[s+8]),1&z||3<(z>>1&7)||!(z>>4&1)||z>>5>=ne.Ja||!Le||!i?i=0:(L&&(L[0]=Le),C&&(C[0]=i),i=1))}if(!i||(L=L[0],oe=oe[0],ge&&(U[0]!=L||Q[0]!=oe)))return 3;O!=null&&(O[0]=ne,O.offset=s-O.w,e(4294967286>s-O.w),e(O.offset==O.ha-h));break}return de==0||de==7&&ge&&O==null?(S!=null&&(S[0]|=ne.na!=null&&0<ne.na.length),v!=null&&(v[0]=L),_!=null&&(_[0]=oe),0):de}function pn(i,s,h){var v=s.width,_=s.height,S=0,L=0,C=v,O=_;if(s.Da=i!=null&&0<i.Da,s.Da&&(C=i.cd,O=i.bd,S=i.v,L=i.j,11>h||(S&=-2,L&=-2),0>S||0>L||0>=C||0>=O||S+C>v||L+O>_))return 0;if(s.v=S,s.j=L,s.va=S+C,s.o=L+O,s.U=C,s.T=O,s.da=i!=null&&0<i.da,s.da){if(!Qe(C,O,h=[i.ib],S=[i.hb]))return 0;s.ib=h[0],s.hb=S[0]}return s.ob=i!=null&&i.ob,s.Kb=i==null||!i.Sd,s.da&&(s.ob=s.ib<3*v/4&&s.hb<3*_/4,s.Kb=0),1}function Jr(i){if(i==null)return 2;if(11>i.S){var s=i.f.RGBA;s.fb+=(i.height-1)*s.A,s.A=-s.A}else s=i.f.kb,i=i.height,s.O+=(i-1)*s.fa,s.fa=-s.fa,s.N+=(i-1>>1)*s.Ab,s.Ab=-s.Ab,s.W+=(i-1>>1)*s.Db,s.Db=-s.Db,s.F!=null&&(s.J+=(i-1)*s.lb,s.lb=-s.lb);return 0}function ta(i,s,h,v){if(v==null||0>=i||0>=s)return 2;if(h!=null){if(h.Da){var _=h.cd,S=h.bd,L=-2&h.v,C=-2&h.j;if(0>L||0>C||0>=_||0>=S||L+_>i||C+S>s)return 2;i=_,s=S}if(h.da){if(!Qe(i,s,_=[h.ib],S=[h.hb]))return 2;i=_[0],s=S[0]}}v.width=i,v.height=s;e:{var O=v.width,U=v.height;if(i=v.S,0>=O||0>=U||!(i>=_o&&13>i))i=2;else{if(0>=v.Rd&&v.sd==null){L=S=_=s=0;var Q=(C=O*Cl[i])*U;if(11>i||(S=(U+1)/2*(s=(O+1)/2),i==12&&(L=(_=O)*U)),(U=o(Q+2*S+L))==null){i=1;break e}v.sd=U,11>i?((O=v.f.RGBA).eb=U,O.fb=0,O.A=C,O.size=Q):((O=v.f.kb).y=U,O.O=0,O.fa=C,O.Fd=Q,O.f=U,O.N=0+Q,O.Ab=s,O.Cd=S,O.ea=U,O.W=0+Q+S,O.Db=s,O.Ed=S,i==12&&(O.F=U,O.J=0+Q+2*S),O.Tc=L,O.lb=_)}if(s=1,_=v.S,S=v.width,L=v.height,_>=_o&&13>_)if(11>_)i=v.f.RGBA,s&=(C=Math.abs(i.A))*(L-1)+S<=i.size,s&=C>=S*Cl[_],s&=i.eb!=null;else{i=v.f.kb,C=(S+1)/2,Q=(L+1)/2,O=Math.abs(i.fa),U=Math.abs(i.Ab);var ge=Math.abs(i.Db),z=Math.abs(i.lb),ne=z*(L-1)+S;s&=O*(L-1)+S<=i.Fd,s&=U*(Q-1)+C<=i.Cd,s=(s&=ge*(Q-1)+C<=i.Ed)&O>=S&U>=C&ge>=C,s&=i.y!=null,s&=i.f!=null,s&=i.ea!=null,_==12&&(s&=z>=S,s&=ne<=i.Tc,s&=i.F!=null)}else s=0;i=s?0:2}}return i!=0||h!=null&&h.fd&&(i=Jr(v)),i}var _i=64,wa=[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],ro=24,vr=32,Ar=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];Ge("Predictor0","PredictorAdd0"),V.Predictor0=function(){return 4278190080},V.Predictor1=function(i){return i},V.Predictor2=function(i,s,h){return s[h+0]},V.Predictor3=function(i,s,h){return s[h+1]},V.Predictor4=function(i,s,h){return s[h-1]},V.Predictor5=function(i,s,h){return $e($e(i,s[h+1]),s[h+0])},V.Predictor6=function(i,s,h){return $e(i,s[h-1])},V.Predictor7=function(i,s,h){return $e(i,s[h+0])},V.Predictor8=function(i,s,h){return $e(s[h-1],s[h+0])},V.Predictor9=function(i,s,h){return $e(s[h+0],s[h+1])},V.Predictor10=function(i,s,h){return $e($e(i,s[h-1]),$e(s[h+0],s[h+1]))},V.Predictor11=function(i,s,h){var v=s[h+0];return 0>=xt(v>>24&255,i>>24&255,(s=s[h-1])>>24&255)+xt(v>>16&255,i>>16&255,s>>16&255)+xt(v>>8&255,i>>8&255,s>>8&255)+xt(255&v,255&i,255&s)?v:i},V.Predictor12=function(i,s,h){var v=s[h+0];return(jt((i>>24&255)+(v>>24&255)-((s=s[h-1])>>24&255))<<24|jt((i>>16&255)+(v>>16&255)-(s>>16&255))<<16|jt((i>>8&255)+(v>>8&255)-(s>>8&255))<<8|jt((255&i)+(255&v)-(255&s)))>>>0},V.Predictor13=function(i,s,h){var v=s[h-1];return(Ct((i=$e(i,s[h+0]))>>24&255,v>>24&255)<<24|Ct(i>>16&255,v>>16&255)<<16|Ct(i>>8&255,v>>8&255)<<8|Ct(255&i,255&v))>>>0};var na=V.PredictorAdd0;
vendor: 5,715 bytes, line 109
109V.PredictorAdd1=Ot,Ge("Predictor2","PredictorAdd2"),Ge("Predictor3","PredictorAdd3"),Ge("Predictor4","PredictorAdd4"),Ge("Predictor5","PredictorAdd5"),Ge("Predictor6","PredictorAdd6"),Ge("Predictor7","PredictorAdd7"),Ge("Predictor8","PredictorAdd8"),Ge("Predictor9","PredictorAdd9"),Ge("Predictor10","PredictorAdd10"),Ge("Predictor11","PredictorAdd11"),Ge("Predictor12","PredictorAdd12"),Ge("Predictor13","PredictorAdd13");var ra=V.PredictorAdd2;nt("ColorIndexInverseTransform","MapARGB","32b",function(i){return i>>8&255},function(i){return i}),nt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(i){return i},function(i){return i>>8&255});var Ra,ya=V.ColorIndexInverseTransform,Cn=V.MapARGB,os=V.VP8LColorIndexInverseTransformAlpha,Si=V.MapAlpha,ui=V.VP8LPredictorsAdd=[];ui.length=16,(V.VP8LPredictors=[]).length=16,(V.VP8LPredictorsAdd_C=[]).length=16,(V.VP8LPredictors_C=[]).length=16;var ba,io,ao,Ma,xa,_a,ia,Di,aa,ja,ir,Ai,ln,un,xn,Tn,qi,oo,Ba,bo,sl,ll,ul,cl,so,fl,hl,dl,pl=o(511),gl=o(2041),ml=o(225),vl=o(767),wl=0,ss=gl,xo=ml,Or=vl,Xr=pl,_o=0,So=1,yl=2,Ao=3,No=4,ls=5,bl=6,us=7,cs=8,Lo=9,fs=10,rf=[2,3,7],af=[3,3,11],xl=[280,256,256,256,40],of=[0,1,1,1,0],sf=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],lf=[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],uf=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],cf=8,hs=[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],ds=[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],lo=null,ff=[[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]],hf=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],_l=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],df=[[[[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
1095,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]]]],pf=[[[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,
1091,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]]],gf=[[[[255,255,255,255,255,255,255,255,255,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: 11,554 bytes, line 109
1095,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]]]],mf=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],oa=[],ci=[],Ui=[],vf=1,Sl=2,sa=[],Kr=[];On("UpsampleRgbLinePair",k,3),On("UpsampleBgrLinePair",q,3),On("UpsampleRgbaLinePair",dt,4),On("UpsampleBgraLinePair",je,4),On("UpsampleArgbLinePair",Ne,4),On("UpsampleRgba4444LinePair",ae,2),On("UpsampleRgb565LinePair",he,2);var wf=V.UpsampleRgbLinePair,yf=V.UpsampleBgrLinePair,Al=V.UpsampleRgbaLinePair,Nl=V.UpsampleBgraLinePair,Ll=V.UpsampleArgbLinePair,kl=V.UpsampleRgba4444LinePair,bf=V.UpsampleRgb565LinePair,ko=16,Po=1<<ko-1,uo=-227,ps=482,xf=6,Pl=0,_f=o(256),Sf=o(256),Af=o(256),Nf=o(256),Lf=o(ps-uo),kf=o(ps-uo);vt("YuvToRgbRow",k,3),vt("YuvToBgrRow",q,3),vt("YuvToRgbaRow",dt,4),vt("YuvToBgraRow",je,4),vt("YuvToArgbRow",Ne,4),vt("YuvToRgba4444Row",ae,2),vt("YuvToRgb565Row",he,2);var El=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Eo=[0,2,8],Pf=[8,7,6,4,4,2,2,2,1,1,1,1],Ef=1;this.WebPDecodeRGBA=function(i,s,h,v,_){var S=So,L=new J,C=new Ye;L.ba=C,C.S=S,C.width=[C.width],C.height=[C.height];var O=C.width,U=C.height,Q=new st;if(Q==null||i==null)var ge=2;else e(Q!=null),ge=rr(i,s,h,Q.width,Q.height,Q.Pd,Q.Qd,Q.format,null);if(ge!=0?O=0:(O!=null&&(O[0]=Q.width[0]),U!=null&&(U[0]=Q.height[0]),O=1),O){C.width=C.width[0],C.height=C.height[0],v!=null&&(v[0]=C.width),_!=null&&(_[0]=C.height);e:{if(v=new Hr,(_=new re).data=i,_.w=s,_.ha=h,_.kd=1,s=[0],e(_!=null),((i=rr(_.data,_.w,_.ha,null,null,null,s,null,_))==0||i==7)&&s[0]&&(i=4),(s=i)==0){if(e(L!=null),v.data=_.data,v.w=_.w+_.offset,v.ha=_.ha-_.offset,v.put=ht,v.ac=kn,v.bc=fr,v.ma=L,_.xa){if((i=Er())==null){L=1;break e}if((function(z,ne){var oe=[0],Le=[0],de=[0];t:for(;;){if(z==null)return 0;if(ne==null)return z.a=2,0;if(z.l=ne,z.a=0,xe(z.m,ne.data,ne.w,ne.ha),!hr(z.m,oe,Le,de)){z.a=3;break t}if(z.xb=Sl,ne.width=oe[0],ne.height=Le[0],!Vn(oe[0],Le[0],1,z,null))break t;return 1}return e(z.a!=0),0})(i,v)){if(v=(s=ta(v.width,v.height,L.Oa,L.ba))==0){t:{v=i;n:for(;;){if(v==null){v=0;break t}if(e(v.s.yc!=null),e(v.s.Ya!=null),e(0<v.s.Wb),e((h=v.l)!=null),e((_=h.ma)!=null),v.xb!=0){if(v.ca=_.ba,v.tb=_.tb,e(v.ca!=null),!pn(_.Oa,h,Ao)){v.a=2;break n}if(!pr(v,h.width)||h.da)break n;if((h.da||tt(v.ca.S))&&sn(),11>v.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),v.ca.f.kb.F!=null&&sn()),v.Pb&&0<v.s.ua&&v.s.vb.X==null&&!T(v.s.vb,v.s.Wa.Xa)){v.a=1;break n}v.xb=0}if(!In(v,v.V,v.Ba,v.c,v.i,h.o,Pr))break n;_.Dc=v.Ma,v=1;break t}e(v.a!=0),v=0}v=!v}v&&(s=i.a)}else s=i.a}else{if((i=new Oi)==null){L=1;break e}if(i.Fa=_.na,i.P=_.P,i.qc=_.Sa,gr(i,v)){if((s=ta(v.width,v.height,L.Oa,L.ba))==0){if(i.Aa=0,h=L.Oa,e((_=i)!=null),h!=null){if(0<(O=0>(O=h.Md)?0:100<O?255:255*O/100)){for(U=Q=0;4>U;++U)12>(ge=_.pb[U]).lc&&(ge.ia=O*Pf[0>ge.lc?0:ge.lc]>>3),Q|=ge.ia;Q&&(alert("todo:VP8InitRandom"),_.ia=1)}_.Ga=h.Id,100<_.Ga?_.Ga=100:0>_.Ga&&(_.Ga=0)}(function(z,ne){if(z==null)return 0;if(ne==null)return on(z,2,"NULL VP8Io parameter in VP8Decode().");if(!z.cb&&!gr(z,ne))return 0;if(e(z.cb),ne.ac==null||ne.ac(ne)){ne.ob&&(z.L=0);var oe=Eo[z.L];if(z.L==2?(z.yb=0,z.zb=0):(z.yb=ne.v-oe>>4,z.zb=ne.j-oe>>4,0>z.yb&&(z.yb=0),0>z.zb&&(z.zb=0)),z.Va=ne.o+15+oe>>4,z.Hb=ne.va+15+oe>>4,z.Hb>z.za&&(z.Hb=z.za),z.Va>z.Ub&&(z.Va=z.Ub),0<z.L){var Le=z.ed;for(oe=0;4>oe;++oe){var de;if(z.Qa.Cb){var Ee=z.Qa.Lb[oe];z.Qa.Fb||(Ee+=Le.Tb)}else Ee=Le.Tb;for(de=0;1>=de;++de){var Ie=z.gd[oe][de],Be=Ee;if(Le.Pc&&(Be+=Le.vd[0],de&&(Be+=Le.od[0])),0<(Be=0>Be?0:63<Be?63:Be)){var Re=Be;0<Le.wb&&(Re=4<Le.wb?Re>>2:Re>>1)>9-Le.wb&&(Re=9-Le.wb),1>Re&&(Re=1),Ie.dd=Re,Ie.tc=2*Be+Re,Ie.ld=40<=Be?2:15<=Be?1:0}else Ie.tc=0;Ie.La=de}}}oe=0}else on(z,6,"Frame setup failed"),oe=z.a;if(oe=oe==0){if(oe){z.$c=0,0<z.Aa||(z.Ic=Ef);t:{oe=z.Ic,Le=4*(Re=z.za);var lt=32*Re,Xe=Re+1,It=0<z.L?Re*(0<z.Aa?2:1):0,rt=(z.Aa==2?2:1)*Re;if((Ie=Le+832+(de=3*(16*oe+Eo[z.L])/2*lt)+(Ee=z.Fa!=null&&0<z.Fa.length?z.Kc.c*z.Kc.i:0))!=Ie)oe=0;else{if(Ie>z.Vb){if(z.Vb=0,z.Ec=o(Ie),z.Fc=0,z.Ec==null){oe=on(z,1,"no memory during frame initialization.");break t}z.Vb=Ie}Ie=z.Ec,Be=z.Fc,z.Ac=Ie,z.Bc=Be,Be+=Le,z.Gd=d(lt,Fi),z.Hd=0,z.rb=d(Xe+1,ni),z.sb=1,z.wa=It?d(It,Dn):null,z.Y=0,z.D.Nb=0,z.D.wa=z.wa,z.D.Y=z.Y,0<z.Aa&&(z.D.Y+=Re),e(!0),z.oc=Ie,z.pc=Be,Be+=832,z.ya=d(rt,_r),z.aa=0,z.D.ya=z.ya,z.D.aa=z.aa,z.Aa==2&&(z.D.aa+=Re),z.R=16*Re,z.B=8*Re,Re=(lt=Eo[z.L])*z.R,lt=lt/2*z.B,z.sa=Ie,z.ta=Be+Re,z.qa=z.sa,z.ra=z.ta+16*oe*z.R+lt,z.Ha=z.qa,z.Ia=z.ra+8*oe*z.B+lt,z.$c=0,Be+=de,z.mb=Ee?Ie:null,z.nb=Ee?Be:null,e(Be+Ee<=z.Fc+z.Vb),ai(z),a(z.Ac,z.Bc,0,Le),oe=1}}if(oe){if(ne.ka=0,ne.y=z.sa,ne.O=z.ta,ne.f=z.qa,ne.N=z.ra,ne.ea=z.Ha,ne.Vd=z.Ia,ne.fa=z.R,ne.Rc=z.B,ne.F=null,ne.J=0,!wl){for(oe=-255;255>=oe;++oe)pl[255+oe]=0>oe?-oe:oe;for(oe=-1020;1020>=oe;++oe)gl[1020+oe]=-128>oe?-128:127<oe?127:oe;for(oe=-112;112>=oe;++oe)ml[112+oe]=-16>oe?-16:15<oe?15:oe;for(oe=-255;510>=oe;++oe)vl[255+oe]=0>oe?0:255<oe?255:oe;wl=1}ia=pt,Di=ce,ja=Pe,ir=Ue,Ai=at,aa=pe,ln=Qi,un=Oa,xn=ea,Tn=u,qi=bi,oo=ji,Ba=x,bo=M,sl=Ri,ll=va,ul=Zi,cl=Mi,ci[0]=eo,ci[1]=zt,ci[2]=Za,ci[3]=Qa,ci[4]=to,ci[5]=Fn,ci[6]=no,ci[7]=Fr,ci[8]=Vt,ci[9]=Ji,oa[0]=vi,oa[1]=mr,oa[2]=$n,oa[3]=oi,oa[4]=er,oa[5]=Yi,oa[6]=tr,Ui[0]=Vr,Ui[1]=Gn,Ui[2]=Wr,Ui[3]=wi,Ui[4]=li,Ui[5]=si,Ui[6]=Xi,oe=1}else oe=0}oe&&(oe=(function(Bt,Rn){for(Bt.M=0;Bt.M<Bt.Va;++Bt.M){var Ft,it=Bt.Jc[Bt.M&Bt.Xb],He=Bt.m,_n=Bt;for(Ft=0;Ft<_n.za;++Ft){var Et=He,Dt=_n,hn=Dt.Ac,Yn=Dt.Bc+4*Ft,wr=Dt.zc,vn=Dt.ya[Dt.aa+Ft];if(Dt.Qa.Bb?vn.$b=ve(Et,Dt.Pa.jb[0])?2+ve(Et,Dt.Pa.jb[2]):ve(Et,Dt.Pa.jb[1]):vn.$b=0,Dt.kc&&(vn.Ad=ve(Et,Dt.Bd)),vn.Za=!ve(Et,145)+0,vn.Za){var ar=vn.Ob,yr=0;for(Dt=0;4>Dt;++Dt){var Mn,qt=wr[0+Dt];for(Mn=0;4>Mn;++Mn){qt=pf[hn[Yn+Mn]][qt];for(var Jt=_l[ve(Et,qt[0])];0<Jt;)Jt=_l[2*Jt+ve(Et,qt[Jt])];qt=-Jt,hn[Yn+Mn]=qt}r(ar,yr,hn,Yn,4),yr+=4,wr[0+Dt]=qt}}else qt=ve(Et,156)?ve(Et,128)?1:3:ve(Et,163)?2:0,vn.Ob[0]=qt,a(hn,Yn,qt,4),a(wr,0,qt,4);vn.Dd=ve(Et,142)?ve(Et,114)?ve(Et,183)?1:3:2:0}if(_n.m.Ka)return on(Bt,7,"Premature end-of-partition0 encountered.");for(;Bt.ja<Bt.za;++Bt.ja){if(_n=it,Et=(He=Bt).rb[He.sb-1],hn=He.rb[He.sb+He.ja],Ft=He.ya[He.aa+He.ja],Yn=He.kc?Ft.Ad:0)Et.la=hn.la=0,Ft.Za||(Et.Na=hn.Na=0),Ft.Hc=0,Ft.Gc=0,Ft.ia=0;else{var wn,Xt;if(Et=hn,hn=_n,Yn=He.Pa.Xc,wr=He.ya[He.aa+He.ja],vn=He.pb[wr.$b],Dt=wr.ad,ar=0,yr=He.rb[He.sb-1],qt=Mn=0,a(Dt,ar,0,384),wr.Za)var Jn=0,fi=Yn[3];else{Jt=o(16);var Sn=Et.Na+yr.Na;if(Sn=lo(hn,Yn[1],Sn,vn.Eb,0,Jt,0),Et.Na=yr.Na=(0<Sn)+0,1<Sn)ia(Jt,0,Dt,ar);else{var Nr=Jt[0]+3>>3;for(Jt=0;256>Jt;Jt+=16)Dt[ar+Jt]=Nr}Jn=1,fi=Yn[0]}var rn=15&Et.la,jn=15&yr.la;for(Jt=0;4>Jt;++Jt){var Tr=1&jn;for(Nr=Xt=0;4>Nr;++Nr)rn=rn>>1|(Tr=(Sn=lo(hn,fi,Sn=Tr+(1&rn),vn.Sc,Jn,Dt,ar))>Jn)<<7,Xt=Xt<<2|(3<Sn?3:1<Sn?2:Dt[ar+0]!=0),ar+=16;rn>>=4,jn=jn>>1|Tr<<7,Mn=(Mn<<8|Xt)>>>0}for(fi=rn,Jn=jn>>4,wn=0;4>wn;wn+=2){for(Xt=0,rn=Et.la>>4+wn,jn=yr.la>>4+wn,Jt=0;2>Jt;++Jt){for(Tr=1&jn,Nr=0;2>Nr;++Nr)Sn=Tr+(1&rn),rn=rn>>1|(Tr=0<(Sn=lo(hn,Yn[2],Sn,vn.Qc,0,Dt,ar)))<<3,Xt=Xt<<2|(3<Sn?3:1<Sn?2:Dt[ar+0]!=0),ar+=16;rn>>=2,jn=jn>>1|Tr<<5}qt|=Xt<<4*wn,fi|=rn<<4<<wn,Jn|=(240&jn)<<wn}Et.la=fi,yr.la=Jn,wr.Hc=Mn,wr.Gc=qt,wr.ia=43690&qt?0:vn.ia,Yn=!(Mn|qt)}if(0<He.L&&(He.wa[He.Y+He.ja]=He.gd[Ft.$b][Ft.Za],He.wa[He.Y+He.ja].La|=!Yn),_n.Ka)return on(Bt,7,"Premature end-of-file encountered.")}if(ai(Bt),He=Rn,_n=1,Ft=(it=Bt).D,Et=0<it.L&&it.M>=it.zb&&it.M<=it.Va,it.Aa==0)t:{if(Ft.M=it.M,Ft.uc=Et,En(it,Ft),_n=1,Ft=(Xt=it.D).Nb,Et=(qt=Eo[it.L])*it.R,hn=qt/2*it.B,Jt=16*Ft*it.R,Nr=8*Ft*it.B,Yn=it.sa,wr=it.ta-Et+Jt,vn=it.qa,Dt=it.ra-hn+Nr,ar=it.Ha,yr=it.Ia-hn+Nr,jn=(rn=Xt.M)==0,Mn=rn>=it.Va-1,it.Aa==2&&En(it,Xt),Xt.uc)for(Tr=(Sn=it).D.M,e(Sn.D.uc),Xt=Sn.yb;Xt<Sn.Hb;++Xt){Jn=Xt,fi=Tr;var br=(Rr=(Xn=Sn).D).Nb;wn=Xn.R;var Rr=Rr.wa[Rr.Y+Jn],Mr=Xn.sa,Lr=Xn.ta+16*br*wn+16*Jn,jr=Rr.dd,cn=Rr.tc;if(cn!=0)if(e(3<=cn),Xn.L==1)0<Jn&&ll(Mr,Lr,wn,cn+4),Rr.La&&cl(Mr,Lr,wn,cn),0<fi&&sl(Mr,Lr,wn,cn+4),Rr.La&&ul(Mr,Lr,wn,cn);else{var Br=Xn.B,hi=Xn.qa,Sa=Xn.ra+8*br*Br+8*Jn,zi=Xn.Ha,Xn=Xn.Ia+8*br*Br+8*Jn;br=Rr.ld,0<Jn&&(un(Mr,Lr,wn,cn+4,jr,br),Tn(hi,Sa,zi,Xn,Br,cn+4,jr,br)),Rr.La&&(oo(Mr,Lr,wn,cn,jr,br),bo(hi,Sa,zi,Xn,Br,cn,jr,br)),0<fi&&(ln(Mr,Lr,wn,cn+4,jr,br),xn(hi,Sa,zi,Xn,Br,cn+4,jr,br)),Rr.La&&(qi(Mr,Lr,wn,cn,jr,br),Ba(hi,Sa,zi,Xn,Br,cn,jr,br))}}if(it.ia&&alert("todo:DitherRow"),He.put!=null){if(Xt=16*rn,rn=16*(rn+1),jn?(He.y=it.sa,He.O=it.ta+Jt,He.f=it.qa,He.N=it.ra+Nr,He.ea=it.Ha,He.W=it.Ia+Nr):(Xt-=qt,He.y=Yn,He.O=wr,He.f=vn,He.N=Dt,He.ea=ar,He.W=yr),Mn||(rn-=qt),rn>He.o&&(rn=He.o),He.F=null,He.J=null,it.Fa!=null&&0<it.Fa.length&&Xt<rn&&(He.J=fn(it,He,Xt,rn-Xt),He.F=it.mb,He.F==null&&He.F.length==0)){_n=on(it,3,"Could not decode alpha data.");break t}Xt<He.j&&(qt=He.j-Xt,Xt=He.j,e(!(1&qt)),He.O+=it.R*qt,He.N+=it.B*(qt>>1),He.W+=it.B*(qt>>1),He.F!=null&&(He.J+=He.width*qt)),Xt<rn&&(He.O+=He.v,He.N+=He.v>>1,He.W+=He.v>>1,He.F!=null&&(He.J+=He.v),He.ka=Xt-He.j,He.U=He.va-He.v,He.T=rn-Xt,_n=He.put(He))}Ft+1!=it.Ic||Mn||(r(it.sa,it.ta-Et,Yn,wr+16*it.R,Et),r(it.qa,it.ra-hn,vn,Dt+8*it.B,hn),r(it.Ha,it.Ia-hn,ar,yr+8*it.B,hn))}if(!_n)return on(Bt,6,"Output aborted.")}return 1})(z,ne)),ne.bc!=null&&ne.bc(ne),oe&=1}return oe?(z.cb=0,oe):0})(i,v)||(s=i.a)}}else s=i.a}s==0&&L.Oa!=null&&L.Oa.fd&&(s=Jr(L.ba))}L=s}S=L!=0?null:11>S?C.f.RGBA.eb:C.f.kb.y}else S=null;return S};var Cl=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function f(V,se){for(var I="",R=0;R<4;R++)I+=String.fromCharCode(V[se++]);return I}function w(V,se){return V[se+0]|V[se+1]<<8}function A(V,se){return(V[se+0]|V[se+1]<<8|V[se+2]<<16)>>>0}function F(V,se){return(V[se+0]|V[se+1]<<8|V[se+2]<<16|V[se+3]<<24)>>>0}new c;var m=[0],B=[0],D=[],W=new c,E=n,Z=(function(V,se){var I={},R=0,X=!1,$=0,me=0;if(I.frames=[],!(function(N,H){for(var G=0;G<4;G++)if(N[H+G]!="RIFF".charCodeAt(G))return!0;return!1})(V,se)){for(F(V,se+=4),se+=8;se<V.length;){var Se=f(V,se),_e=F(V,se+=4);se+=4;var fe=_e+(1&_e);switch(Se){case"VP8 ":case"VP8L":I.frames[R]===void 0&&(I.frames[R]={}),(Fe=I.frames[R]).src_off=X?me:se-8,Fe.src_size=$+_e+8,R++,X&&(X=!1,$=0,me=0);break;case"VP8X":(Fe=I.header={}).feature_flags=V[se];var xe=se+4;Fe.canvas_width=1+A(V,xe),xe+=3,Fe.canvas_height=1+A(V,xe),xe+=3;break;case"ALPH":X=!0,$=fe+8,me=se-8;break;case"ANIM":(Fe=I.header).bgcolor=F(V,se),xe=se+4,Fe.loop_count=w(V,xe),xe+=2;break;case"ANMF":var De,Fe;(Fe=I.frames[R]={}).offset_x=2*A(V,se),se+=3,Fe.offset_y=2*A(V,se),se+=3,Fe.width=1+A(V,se),se+=3,Fe.height=1+A(V,se),se+=3,Fe.duration=A(V,se),se+=3,De=V[se++],Fe.dispose=1&De,Fe.blend=De>>1&1}Se!="ANMF"&&(se+=fe)}return I}})(E,0);Z.response=E,Z.rgbaoutput=!0,Z.dataurl=!1;var ee=Z.header?Z.header:null,Y=Z.frames?Z.frames:null;if(ee){ee.loop_counter=ee.loop_count,m=[ee.canvas_height],B=[ee.canvas_width];for(var be=0;be<Y.length&&Y[be].blend!=0;be++);}var ke=Y[0],we=W.WebPDecodeRGBA(E,ke.src_off,ke.src_size,B,m);ke.rgba=we,ke.imgwidth=B[0],ke.imgheight=m[0];for(var ie=0;ie<B[0]*m[0]*4;
vendor: 5,053 bytes, lines 109-133
109ie++)D[ie]=we[ie];return this.width=B,this.height=m,this.data=D,this}/** ====================================================================
110 * @license
111 * jsPDF XMP metadata plugin
112 * Copyright (c) 2016 Jussi Utunen, [email protected]
113 *
114 * Permission is hereby granted, free of charge, to any person obtaining
115 * a copy of this software and associated documentation files (the
116 * "Software"), to deal in the Software without restriction, including
117 * without limitation the rights to use, copy, modify, merge, publish,
118 * distribute, sublicense, and/or sell copies of the Software, and to
119 * permit persons to whom the Software is furnished to do so, subject to
120 * the following conditions:
121 *
122 * The above copyright notice and this permission notice shall be
123 * included in all copies or substantial portions of the Software.
124 *
125 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
126 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
127 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
128 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
129 * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
130 * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
131 * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
132 * ====================================================================
133 */function S2(){var n,e=this.internal.__metadata__.metadata,t=unescape(encodeURIComponent(e));n=this.internal.__metadata__.rawXml?t:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+t.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+n.length+" >>"),this.internal.write("stream"),this.internal.write(n),this.internal.write("endstream"),this.internal.write("endobj")}function A2(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(n){var e,t,r,a,o,d,l,c,f,w=function(N){return N=N||{},this.isStrokeTransparent=N.isStrokeTransparent||!1,this.strokeOpacity=N.strokeOpacity||1,this.strokeStyle=N.strokeStyle||"#000000",this.fillStyle=N.fillStyle||"#000000",this.isFillTransparent=N.isFillTransparent||!1,this.fillOpacity=N.fillOpacity||1,this.font=N.font||"10px sans-serif",this.textBaseline=N.textBaseline||"alphabetic",this.textAlign=N.textAlign||"left",this.lineWidth=N.lineWidth||1,this.lineJoin=N.lineJoin||"miter",this.lineCap=N.lineCap||"butt",this.path=N.path||[],this.transform=N.transform!==void 0?N.transform.clone():new c,this.globalCompositeOperation=N.globalCompositeOperation||"normal",this.globalAlpha=N.globalAlpha||1,this.clip_path=N.clip_path||[],this.currentPoint=N.currentPoint||new d,this.miterLimit=N.miterLimit||10,this.lastPoint=N.lastPoint||new d,this.lineDashOffset=N.lineDashOffset||0,this.lineDash=N.lineDash||[],this.margin=N.margin||[0,0,0,0],this.prevPageLastElemOffset=N.prevPageLastElemOffset||0,this.ignoreClearRect=typeof N.ignoreClearRect!="boolean"||N.ignoreClearRect,this};n.events.push(["initialized",function(){this.context2d=new A(this),e=this.internal.f2,t=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,a=this.internal.getHorizontalCoordinate,o=this.internal.getVerticalCoordinate,d=this.internal.Point,l=this.internal.Rectangle,c=this.internal.Matrix,f=new w}]);var A=function(N){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var H=N;Object.defineProperty(this,"pdf",{get:function(){return H}});var G=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return G},set:function(T){G=!!T}});var K=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return K},set:function(T){K=!!T}});var te=0;Object.defineProperty(this,"posX",{get:function(){return te},set:function(T){isNaN(T)||(te=T)}});var ue=0;Object.defineProperty(this,"posY",{get:function(){return ue},set:function(T){isNaN(T)||(ue=T)}}),Object.defineProperty(this,"margin",{get:function(){return f.margin},set:function(T){var ze;typeof T=="number"?ze=[T,T,T,T]:((ze=new Array(4))[0]=T[0],ze[1]=T.length>=2?T[1]:ze[0],ze[2]=T.length>=3?T[2]:ze[0],ze[3]=T.length>=4?T[3]:ze[1]),f.margin=ze}});var ye=!1;Object.defineProperty(this,"autoPaging",{get:function(){return ye},set:function(T){ye=T}});var le=0;Object.defineProperty(this,"lastBreak",{get:function(){return le},set:function(T){le=T}});var ve=[];Object.defineProperty(this,"pageBreaks",{get:function(){return ve},set:function(T){ve=T}}),Object.defineProperty(this,"ctx",{get:function(){return f},set:function(T){T instanceof w&&(f=T)}}),Object.defineProperty(this,"path",{get:function(){return f.path}
vendor: 8,737 bytes, line 133
133,set:function(T){f.path=T}});var Ce=[];Object.defineProperty(this,"ctxStack",{get:function(){return Ce},set:function(T){Ce=T}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(T){var ze;ze=F(T),this.ctx.fillStyle=ze.style,this.ctx.isFillTransparent=ze.a===0,this.ctx.fillOpacity=ze.a,this.pdf.setFillColor(ze.r,ze.g,ze.b,{a:ze.a}),this.pdf.setTextColor(ze.r,ze.g,ze.b,{a:ze.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(T){var ze=F(T);this.ctx.strokeStyle=ze.style,this.ctx.isStrokeTransparent=ze.a===0,this.ctx.strokeOpacity=ze.a,ze.a===0?this.pdf.setDrawColor(255,255,255):(ze.a,this.pdf.setDrawColor(ze.r,ze.g,ze.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(T){["butt","round","square"].indexOf(T)!==-1&&(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){["bevel","round","miter"].indexOf(T)!==-1&&(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){["right","end","center","left","start"].indexOf(T)!==-1&&(this.ctx.textAlign=T)}});var qe=null,Me=null,We=null;Object.defineProperty(this,"fontFaces",{get:function(){return We},set:function(T){qe=null,Me=null,We=T}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(T){var ze;if(this.ctx.font=T,(ze=/^\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))!==null){var mt=ze[1];ze[2];var Qe=ze[3],Oe=ze[4];ze[5];var ot=ze[6],Ge=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(Oe)[2];Oe=Math.floor(Ge==="px"?parseFloat(Oe)*this.pdf.internal.scaleFactor:Ge==="em"?parseFloat(Oe)*this.pdf.getFontSize():parseFloat(Oe)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(Oe);var et=(function(nt){var en,Tt,kt=[],Pt=nt.trim();if(Pt==="")return zs;if(Pt in Hu)return[Hu[Pt]];for(;Pt!=="";){switch(Tt=null,en=(Pt=Vu(Pt)).charAt(0)){case'"':case"'":Tt=v2(Pt.substring(1),en);break;default:Tt=w2(Pt)}if(Tt===null||(kt.push(Tt[0]),(Pt=Vu(Tt[1]))!==""&&Pt.charAt(0)!==","))return zs;Pt=Pt.replace(/^,/,"")}return kt})(ot);if(this.fontFaces){var $e=(function(nt,en){var Tt=nt.getFontList(),kt=JSON.stringify(Tt);if(qe===null||Me!==kt){var Pt=(function(Zt){var ct=[];return Object.keys(Zt).forEach(function(Wt){Zt[Wt].forEach(function(tt){var wt=null;switch(tt){case"bold":wt={family:Wt,weight:"bold"};break;case"italic":wt={family:Wt,style:"italic"};break;case"bolditalic":wt={family:Wt,weight:"bold",style:"italic"};break;case"":case"normal":wt={family:Wt}}wt!==null&&(wt.ref={name:Wt,style:tt},ct.push(wt))})}),ct})(Tt);qe=(function(Zt){for(var ct={},Wt=0;Wt<Zt.length;++Wt){var tt=Us(Zt[Wt]),wt=tt.family,Ut=tt.stretch,Ye=tt.style,st=tt.weight;ct[wt]=ct[wt]||{},ct[wt][Ut]=ct[wt][Ut]||{},ct[wt][Ut][Ye]=ct[wt][Ut][Ye]||{},ct[wt][Ut][Ye][st]=tt}return ct})(Pt.concat(en)),Me=kt}return qe})(this.pdf,this.fontFaces),jt=et.map(function(nt){return{family:nt,stretch:"normal",weight:Qe,style:mt}}),Ct=(function(nt,en,Tt){for(var kt=(Tt=Tt||{}).defaultFontFamily||"times",Pt=Object.assign({},m2,Tt.genericFontFamilies||{}),Zt=null,ct=null,Wt=0;Wt<en.length;++Wt)if(Pt[(Zt=Us(en[Wt])).family]&&(Zt.family=Pt[Zt.family]),nt.hasOwnProperty(Zt.family)){ct=nt[Zt.family];break}if(!(ct=ct||nt[kt]))throw new Error("Could not find a font-family for the rule '"+Wu(Zt)+"' and default family '"+kt+"'.");if(ct=(function(tt,wt){if(wt[tt])return wt[tt];var Ut=tl[tt],Ye=Ut<=tl.normal?-1:1,st=zu(wt,Jc,Ut,Ye);if(!st)throw new Error("Could not find a matching font-stretch value for "+tt);return st})(Zt.stretch,ct),ct=(function(tt,wt){if(wt[tt])return wt[tt];for(var Ut=Yc[tt],Ye=0;Ye<Ut.length;++Ye)if(wt[Ut[Ye]])return wt[Ut[Ye]];throw new Error("Could not find a matching font-style for "+tt)})(Zt.style,ct),!(ct=(function(tt,wt){if(wt[tt])return wt[tt];if(tt===400&&wt[500])return wt[500];if(tt===500&&wt[400])return wt[400];var Ut=g2[tt],Ye=zu(wt,Xc,Ut,tt<400?-1:1);if(!Ye)throw new Error("Could not find a matching font-weight for value "+tt);return Ye})(Zt.weight,ct)))throw new Error("Failed to resolve a font for the rule '"+Wu(Zt)+"'.");return ct})($e,jt);this.pdf.setFont(Ct.ref.name,Ct.ref.style)}else{var xt="";(Qe==="bold"||parseInt(Qe,10)>=700||mt==="bold")&&(xt="bold"),mt==="italic"&&(xt+="italic"),xt.length===0&&(xt="normal");for(var Ot="",Lt={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"},Ke=0;Ke<et.length;Ke++){if(this.pdf.internal.getFont(et[Ke],xt,{noFallback:!0,disableWarning:!0})!==void 0){Ot=et[Ke];break}if(xt==="bolditalic"&&this.pdf.internal.getFont(et[Ke],"bold",{noFallback:!0,disableWarning:!0})!==void 0)Ot=et[Ke],xt="bold";else if(this.pdf.internal.getFont(et[Ke],"normal",{noFallback:!0,disableWarning:!0})!==void 0){Ot=et[Ke],xt="normal";break}}if(Ot===""){for(var _t=0;_t<et.length;_t++)if(Lt[et[_t]]){Ot=Lt[et[_t]];break}}Ot=Ot===""?"Times":Ot,this.pdf.setFont(Ot,xt)}}}}),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,Fe.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(T){this.ctx.lineDash=T,Fe.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(T){this.ctx.ignoreClearRect=!!T}})};A.prototype.setLineDash=function(N){this.lineDash=N},A.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},A.prototype.fill=function(){Y.call(this,"fill",!1)},A.prototype.stroke=function(){Y.call(this,"stroke",!1)},A.prototype.beginPath=function(){this.path=[{type:"begin"}]},A.prototype.moveTo=function(N,H){if(isNaN(N)||isNaN(H))throw an.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var G=this.ctx.transform.applyToPoint(new d(N,H));this.path.push({type:"mt",x:G.x,y:G.y}),this.ctx.lastPoint=new d(N,H)},A.prototype.closePath=function(){var N=new d(0,0),H=0;for(H=this.path.length-1;H!==-1;H--)if(this.path[H].type==="begin"&&Kt(this.path[H+1])==="object"&&typeof this.path[H+1].x=="number"){N=new d(this.path[H+1].x,this.path[H+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new d(N.x,N.y)},A.prototype.lineTo=function(N,H){if(isNaN(N)||isNaN(H))throw an.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var G=this.ctx.transform.applyToPoint(new d(N,H));this.path.push({type:"lt",x:G.x,y:G.y}),this.ctx.lastPoint=new d(G.x,G.y)},A.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),Y.call(this,null,!0)},A.prototype.quadraticCurveTo=function(N,H,G,K){if(isNaN(G)||isNaN(K)||isNaN(N)||isNaN(H))throw an.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var te=this.ctx.transform.applyToPoint(new d(G,K)),ue=this.ctx.transform.applyToPoint(new d(N,H));this.path.push({type:"qct",x1:ue.x,y1:ue.y,x:te.x,y:te.y}),this.ctx.lastPoint=new d(te.x,te.y)},A.prototype.bezierCurveTo=function(N,H,G,K,te,ue){if(isNaN(te)||isNaN(ue)||isNaN(N)||isNaN(H)||isNaN(G)||isNaN(K))throw an.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to 
133jsPDF.context2d.bezierCurveTo");var ye=this.ctx.transform.applyToPoint(new d(te,ue)),le=this.ctx.transform.applyToPoint(new d(N,H)),ve=this.ctx.transform.applyToPoint(new d(G,K));this.path.push({type:"bct",x1:le.x,y1:le.y,x2:ve.x,y2:ve.y,x:ye.x,y:ye.y}),this.ctx.lastPoint=new d(ye.x,ye.y)},A.prototype.arc=function(N,H,G,K,te,ue){if(isNaN(N)||isNaN(H)||isNaN(G)||isNaN(K)||isNaN(te))throw an.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(ue=!!ue,!this.ctx.transform.isIdentity){var ye=this.ctx.transform.applyToPoint(new d(N,H));N=ye.x,H=ye.y;var le=this.ctx.transform.applyToPoint(new d(0,G)),ve=this.ctx.transform.applyToPoint(new d(0,0));G=Math.sqrt(Math.pow(le.x-ve.x,2)+Math.pow(le.y-ve.y,2))}Math.abs(te-K)>=2*Math.PI&&(K=0,te=2*Math.PI),this.path.push({type:"arc",x:N,y:H,radius:G,startAngle:K,endAngle:te,counterclockwise:ue})},A.prototype.arcTo=function(N,H,G,K,te){throw new Error("arcTo not implemented.")},A.prototype.rect=function(N,H,G,K){if(isNaN(N)||isNaN(H)||isNaN(G)||isNaN(K))throw an.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(N,H),this.lineTo(N+G,H),this.lineTo(N+G,H+K),this.lineTo(N,H+K),this.lineTo(N,H),this.lineTo(N+G,H),this.lineTo(N,H)},A.prototype.fillRect=function(N,H,G,K){if(isNaN(N)||isNaN(H)||isNaN(G)||isNaN(K))throw an.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!m.call(this)){var te={};this.lineCap!=="butt"&&(te.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&(te.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(N,H,G,K),this.fill(),te.hasOwnProperty("lineCap")&&(this.lineCap=te.lineCap),te.hasOwnProperty("lineJoin")&&(this.lineJoin=te.lineJoin)}},A.prototype.strokeRect=function(N,H,G,K){if(isNaN(N)||isNaN(H)||isNaN(G)||isNaN(K))throw an.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");B.call(this)||(this.beginPath(),this.rect(N,H,G,K),this.stroke())},A.prototype.clearRect=function(N,H,G,K){if(isNaN(N)||isNaN(H)||isNaN(G)||isNaN(K))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(N,H,G,K))},A.prototype.save=function(N){N=typeof N!="boolean"||N;for(var H=this.pdf.internal.getCurrentPageInfo().pageNumber,G=0;G<this.pdf.internal.getNumberOfPages();G++)this.pdf.setPage(G+1),this.pdf.internal.out("q");if(this.pdf.setPage(H),N){this.ctx.fontSize=this.pdf.internal.getFontSize();var K=new w(this.ctx);this.ctxStack.push(this.ctx),this.ctx=K}},A.prototype.restore=function(N){N=typeof N!="boolean"||N;for(var H=this.pdf.internal.getCurrentPageInfo().pageNumber,G=0;G<this.pdf.internal.getNumberOfPages();G++)this.pdf.setPage(G+1),this.pdf.internal.out("Q");this.pdf.setPage(H),N&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},A.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var F=function(N){var H,G,K,te;if(N.isCanvasGradient===!0&&(N=N.getColor()),!N)return{r:0,g:0,b:0,a:0,style:N};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(N))H=0,G=0,K=0,te=0;else{var ue=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(N);if(ue!==null)H=parseInt(ue[1]),G=parseInt(ue[2]),K=parseInt(ue[3]),te=1;else if((ue=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(N))!==null)H=parseInt(ue[1]),G=parseInt(ue[2]),K=parseInt(ue[3]),te=parseFloat(ue[4]);else{if(te=1,typeof N=="string"&&N.charAt(0)!=="#"){var ye=new Uc(N);N=ye.ok?ye.toHex():"#000000"}
vendor: 46,866 bytes, lines 133-139
133N.length===4?(H=N.substring(1,2),H+=H,G=N.substring(2,3),G+=G,K=N.substring(3,4),K+=K):(H=N.substring(1,3),G=N.substring(3,5),K=N.substring(5,7)),H=parseInt(H,16),G=parseInt(G,16),K=parseInt(K,16)}}return{r:H,g:G,b:K,a:te,style:N}},m=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},B=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};A.prototype.fillText=function(N,H,G,K){if(isNaN(H)||isNaN(G)||typeof N!="string")throw an.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(K=isNaN(K)?void 0:K,!m.call(this)){var te=fe(this.ctx.transform.rotation),ue=this.ctx.transform.scaleX;R.call(this,{text:N,x:H,y:G,scale:ue,angle:te,align:this.textAlign,maxWidth:K})}},A.prototype.strokeText=function(N,H,G,K){if(isNaN(H)||isNaN(G)||typeof N!="string")throw an.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!B.call(this)){K=isNaN(K)?void 0:K;var te=fe(this.ctx.transform.rotation),ue=this.ctx.transform.scaleX;R.call(this,{text:N,x:H,y:G,scale:ue,renderingMode:"stroke",angle:te,align:this.textAlign,maxWidth:K})}},A.prototype.measureText=function(N){if(typeof N!="string")throw an.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var H=this.pdf,G=this.pdf.internal.scaleFactor,K=H.internal.getFontSize(),te=H.getStringUnitWidth(N)*K/H.internal.scaleFactor;return new function(ue){var ye=(ue=ue||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return ye}}),this}({width:te*=Math.round(96*G/72*1e4)/1e4})},A.prototype.scale=function(N,H){if(isNaN(N)||isNaN(H))throw an.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var G=new c(N,0,0,H,0,0);this.ctx.transform=this.ctx.transform.multiply(G)},A.prototype.rotate=function(N){if(isNaN(N))throw an.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var H=new c(Math.cos(N),Math.sin(N),-Math.sin(N),Math.cos(N),0,0);this.ctx.transform=this.ctx.transform.multiply(H)},A.prototype.translate=function(N,H){if(isNaN(N)||isNaN(H))throw an.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var G=new c(1,0,0,1,N,H);this.ctx.transform=this.ctx.transform.multiply(G)},A.prototype.transform=function(N,H,G,K,te,ue){if(isNaN(N)||isNaN(H)||isNaN(G)||isNaN(K)||isNaN(te)||isNaN(ue))throw an.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var ye=new c(N,H,G,K,te,ue);this.ctx.transform=this.ctx.transform.multiply(ye)},A.prototype.setTransform=function(N,H,G,K,te,ue){N=isNaN(N)?1:N,H=isNaN(H)?0:H,G=isNaN(G)?0:G,K=isNaN(K)?1:K,te=isNaN(te)?0:te,ue=isNaN(ue)?0:ue,this.ctx.transform=new c(N,H,G,K,te,ue)};var D=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};A.prototype.drawImage=function(N,H,G,K,te,ue,ye,le,ve){var Ce=this.pdf.getImageProperties(N),qe=1,Me=1,We=1,T=1;K!==void 0&&le!==void 0&&(We=le/K,T=ve/te,qe=Ce.width/K*le/K,Me=Ce.height/te*ve/te),ue===void 0&&(ue=H,ye=G,H=0,G=0),K!==void 0&&le===void 0&&(le=K,ve=te),K===void 0&&le===void 0&&(le=Ce.width,ve=Ce.height);var ze=this.ctx.transform.decompose(),mt=fe(ze.rotate.shx),Qe=new c,Oe=(Qe=(Qe=(Qe=Qe.multiply(ze.translate)).multiply(ze.skew)).multiply(ze.scale)).applyToRectangle(new l(ue-H*We,ye-G*T,K*qe,te*Me));if(this.autoPaging){for(var ot,Ge=W.call(this,Oe),et=[],$e=0;$e<Ge.length;$e+=1)et.indexOf(Ge[$e])===-1&&et.push(Ge[$e]);ee(et);for(var jt=et[0],Ct=et[et.length-1],xt=jt;xt<Ct+1;xt++){this.pdf.setPage(xt);var Ot=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],Lt=xt===1?this.posY+this.margin[0]:this.margin[0],Ke=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],_t=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],nt=xt===1?0:Ke+(xt-2)*_t;if(this.ctx.clip_path.length!==0){var en=this.path;ot=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Z(ot,this.posX+this.margin[3],-nt+Lt+this.ctx.prevPageLastElemOffset),be.call(this,"fill",!0),this.path=en}var Tt=JSON.parse(JSON.stringify(Oe));Tt=Z([Tt],this.posX+this.margin[3],-nt+Lt+this.ctx.prevPageLastElemOffset)[0];var kt=(xt>jt||xt<Ct)&&D.call(this);kt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Ot,_t,null).clip().discardPath()),this.pdf.addImage(N,"JPEG",Tt.x,Tt.y,Tt.w,Tt.h,null,null,mt),kt&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(N,"JPEG",Oe.x,Oe.y,Oe.w,Oe.h,null,null,mt)};var W=function(N,H,G){var K=[];H=H||this.pdf.internal.pageSize.width,G=G||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var te=this.posY+this.ctx.prevPageLastElemOffset;switch(N.type){default:case"mt":case"lt":K.push(Math.floor((N.y+te)/G)+1);break;case"arc":K.push(Math.floor((N.y+te-N.radius)/G)+1),K.push(Math.floor((N.y+te+N.radius)/G)+1);break;case"qct":var ue=xe(this.ctx.lastPoint.x,this.ctx.lastPoint.y,N.x1,N.y1,N.x,N.y);K.push(Math.floor((ue.y+te)/G)+1),K.push(Math.floor((ue.y+ue.h+te)/G)+1);break;case"bct":var ye=De(this.ctx.lastPoint.x,this.ctx.lastPoint.y,N.x1,N.y1,N.x2,N.y2,N.x,N.y);K.push(Math.floor((ye.y+te)/G)+1),K.push(Math.floor((ye.y+ye.h+te)/G)+1);break;case"rect":K.push(Math.floor((N.y+te)/G)+1),K.push(Math.floor((N.y+N.h+te)/G)+1)}for(var le=0;le<K.length;le+=1)for(;this.pdf.internal.getNumberOfPages()<K[le];)E.call(this);return K},E=function(){var N=this.fillStyle,H=this.strokeStyle,G=this.font,K=this.lineCap,te=this.lineWidth,ue=this.lineJoin;this.pdf.addPage(),this.fillStyle=N,this.strokeStyle=H,this.font=G,this.lineCap=K,this.lineWidth=te,this.lineJoin=ue},Z=function(N,H,G){for(var K=0;K<N.length;K++)switch(N[K].type){case"bct":N[K].x2+=H,N[K].y2+=G;case"qct":N[K].x1+=H,N[K].y1+=G;default:N[K].x+=H,N[K].y+=G}return N},ee=function(N){return N.sort(function(H,G){return H-G})},Y=function(N,H){var G=this.fillStyle,K=this.strokeStyle,te=this.lineCap,ue=this.lineWidth,ye=Math.abs(ue*this.ctx.transform.scaleX),le=this.lineJoin;if(this.autoPaging){for(var ve,Ce,qe=JSON.parse(JSON.stringify(this.path)),Me=JSON.parse(JSON.stringify(this.path)),We=[],T=0;T<Me.length;T++)if(Me[T].x!==void 0)for(var ze=W.call(this,Me[T]),mt=0;mt<ze.length;mt+=1)We.indexOf(ze[mt])===-1&&We.push(ze[mt]);for(var Qe=0;Qe<We.length;Qe++)for(;this.pdf.internal.getNumberOfPages()<We[Qe];)E.call(this);ee(We);for(var Oe=We[0],ot=We[We.length-1],Ge=Oe;Ge<ot+1;Ge++){this.pdf.setPage(Ge),this.fillStyle=G,this.strokeStyle=K,this.lineCap=te,this.lineWidth=ye,this.lineJoin=le;var et=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],$e=Ge===1?this.posY+this.margin[0]:this.margin[0],jt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],Ct=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],xt=Ge===1?0:jt+(Ge-2)*Ct;if(this.ctx.clip_path.length!==0){var Ot=this.path;ve=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Z(ve,this.posX+this.margin[3],-xt+$e+this.ctx.prevPageLastElemOffset),be.call(this,N,!0),this.path=Ot}if(Ce=JSON.parse(JSON.stringify(qe)),this.path=Z(Ce,this.posX+this.margin[3],-xt+$e+this.ctx.prevPageLastElemOffset),H===!1||Ge===0){var Lt=(Ge>Oe||Ge<ot)&&D.call(this);Lt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],et,Ct,null).clip().discardPath()),be.call(this,N,H),Lt&&this.pdf.restoreGraphicsState()}this.lineWidth=ue}this.path=qe}else this.lineWidth=ye,be.call(this,N,H),this.lineWidth=ue},be=function(N,H){if((N!=="stroke"||H||!B.call(this))&&(N==="stroke"||H||!m.call(this))){for(var G,K,te=[],ue=this.path,ye=0;ye<ue.length;ye++){var le=ue[ye];switch(le.type){case"begin":te.push({begin:!0});break;case"close":te.push({close:!0});break;case"mt":te.push({start:le,deltas:[],abs:[]});break;case"lt":var ve=te.length;if(ue[ye-1]&&!isNaN(ue[ye-1].x)&&(G=[le.x-ue[ye-1].x,le.y-ue[ye-1].y],ve>0)){for(;ve>=0;ve--)if(te[ve-1].close!==!0&&te[ve-1].begin!==!0){te[ve-1].deltas.push(G),te[ve-1].abs.push(le);break}}break;case"bct":G=[le.x1-ue[ye-1].x,le.y1-ue[ye-1].y,le.x2-ue[ye-1].x,le.y2-ue[ye-1].y,le.x-ue[ye-1].x,le.y-ue[ye-1].y],te[te.length-1].deltas.push(G);break;case"qct":var Ce=ue[ye-1].x+2/3*(le.x1-ue[ye-1].x),qe=ue[ye-1].y+2/3*(le.y1-ue[ye-1].y),Me=le.x+2/3*(le.x1-le.x),We=le.y+2/3*(le.y1-le.y),T=le.x,ze=le.y;G=[Ce-ue[ye-1].x,qe-ue[ye-1].y,Me-ue[ye-1].x,We-ue[ye-1].y,T-ue[ye-1].x,ze-ue[ye-1].y],te[te.length-1].deltas.push(G);break;case"arc":te.push({deltas:[],abs:[],arc:!0}),Array.isArray(te[te.length-1].abs)&&te[te.length-1].abs.push(le)}}K=H?null:N==="stroke"?"stroke":"fill";for(var mt=!1,Qe=0;Qe<te.length;Qe++)if(te[Qe].arc)for(var Oe=te[Qe].abs,ot=0;ot<Oe.length;ot++){var Ge=Oe[ot];Ge.type==="arc"?ie.call(this,Ge.x,Ge.y,Ge.radius,Ge.startAngle,Ge.endAngle,Ge.counterclockwise,void 0,H,!mt):X.call(this,Ge.x,Ge.y),mt=!0}else if(te[Qe].close===!0)this.pdf.internal.out("h"),mt=!1;else if(te[Qe].begin!==!0){var et=te[Qe].start.x,$e=te[Qe].start.y;$.call(this,te[Qe].deltas,et,$e),mt=!0}K&&V.call(this,K),H&&se.call(this)}},ke=function(N){var H=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,G=H*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return N-G;case"top":return N+H-G;case"hanging":return N+H-2*G;case"middle":return N+H/2-G;default:return N}},we=function(N){return N+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};A.prototype.createLinearGradient=function(){var N=function(){};return N.colorStops=[],N.addColorStop=function(H,G){this.colorStops.push([H,G])},N.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},N.isCanvasGradient=!0,N},A.prototype.createPattern=function(){return this.createLinearGradient()},A.prototype.createRadialGradient=function(){return this.createLinearGradient()};var ie=function(N,H,G,K,te,ue,ye,le,ve){for(var Ce=Se.call(this,G,K,te,ue),qe=0;qe<Ce.length;qe++){var Me=Ce[qe];qe===0&&(ve?I.call(this,Me.x1+N,Me.y1+H):X.call(this,Me.x1+N,Me.y1+H)),me.call(this,N,H,Me.x2,Me.y2,Me.x3,Me.y3,Me.x4,Me.y4)}le?se.call(this):V.call(this,ye)},V=function(N){switch(N){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},se=function(){this.pdf.clip(),this.pdf.discardPath()},I=function(N,H){this.pdf.internal.out(t(N)+" "+r(H)+" m")},R=function(N){var H;switch(N.align){case"right":case"end":H="right";break;case"center":H="center";break;default:H="left"}var G,K,te,ue=this.pdf.getTextDimensions(N.text),ye=ke.call(this,N.y),le=we.call(this,ye)-ue.h,ve=this.ctx.transform.applyToPoint(new d(N.x,ye));if(this.autoPaging){var Ce=this.ctx.transform.decompose(),qe=new c;qe=(qe=(qe=qe.multiply(Ce.translate)).multiply(Ce.skew)).multiply(Ce.scale);for(var Me=this.ctx.transform.applyToRectangle(new l(N.x,ye,ue.w,ue.h)),We=qe.applyToRectangle(new l(N.x,le,ue.w,ue.h)),T=W.call(this,We),ze=[],mt=0;mt<T.length;mt+=1)ze.indexOf(T[mt])===-1&&ze.push(T[mt]);ee(ze);for(var Qe=ze[0],Oe=ze[ze.length-1],ot=Qe;ot<Oe+1;ot++){this.pdf.setPage(ot);var Ge=ot===1?this.posY+this.margin[0]:this.margin[0],et=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],$e=this.pdf.internal.pageSize.height-this.margin[2],jt=$e-this.margin[0],Ct=this.pdf.internal.pageSize.width-this.margin[1],xt=Ct-this.margin[3],Ot=ot===1?0:et+(ot-2)*jt;if(this.ctx.clip_path.length!==0){var Lt=this.path;G=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=Z(G,this.posX+this.margin[3],-1*Ot+Ge),be.call(this,"fill",!0),this.path=Lt}var Ke=Z([JSON.parse(JSON.stringify(We))],this.posX+this.margin[3],-Ot+Ge+this.ctx.prevPageLastElemOffset)[0];N.scale>=.01&&(K=this.pdf.internal.getFontSize(),this.pdf.setFontSize(K*N.scale),te=this.lineWidth,this.lineWidth=te*N.scale);var _t=this.autoPaging!=="text";if(_t||Ke.y+Ke.h<=$e){if(_t||Ke.y>=Ge&&Ke.x<=Ct){var nt=_t?N.text:this.pdf.splitTextToSize(N.text,N.maxWidth||Ct-Ke.x)[0],en=Z([JSON.parse(JSON.stringify(Me))],this.posX+this.margin[3],-Ot+Ge+this.ctx.prevPageLastElemOffset)[0],Tt=_t&&(ot>Qe||ot<Oe)&&D.call(this);Tt&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],xt,jt,null).clip().discardPath()),this.pdf.text(nt,en.x,en.y,{angle:N.angle,align:H,renderingMode:N.renderingMode}),Tt&&this.pdf.restoreGraphicsState()}}else Ke.y<$e&&(this.ctx.prevPageLastElemOffset+=$e-Ke.y);N.scale>=.01&&(this.pdf.setFontSize(K),this.lineWidth=te)}}else N.scale>=.01&&(K=this.pdf.internal.getFontSize(),this.pdf.setFontSize(K*N.scale),te=this.lineWidth,this.lineWidth=te*N.scale),this.pdf.text(N.text,ve.x+this.posX,ve.y+this.posY,{angle:N.angle,align:H,renderingMode:N.renderingMode,maxWidth:N.maxWidth}),N.scale>=.01&&(this.pdf.setFontSize(K),this.lineWidth=te)},X=function(N,H,G,K){G=G||0,K=K||0,this.pdf.internal.out(t(N+G)+" "+r(H+K)+" l")},$=function(N,H,G){return this.pdf.lines(N,H,G,null,null)},me=function(N,H,G,K,te,ue,ye,le){this.pdf.internal.out([e(a(G+N)),e(o(K+H)),e(a(te+N)),e(o(ue+H)),e(a(ye+N)),e(o(le+H)),"c"].join(" "))},Se=function(N,H,G,K){for(var te=2*Math.PI,ue=Math.PI/2;H>G;)H-=te;var ye=Math.abs(G-H);ye<te&&K&&(ye=te-ye);for(var le=[],ve=K?-1:1,Ce=H;ye>1e-5;){var qe=Ce+ve*Math.min(ye,ue);le.push(_e.call(this,N,Ce,qe)),ye-=Math.abs(qe-Ce),Ce=qe}return le},_e=function(N,H,G){var K=(G-H)/2,te=N*Math.cos(K),ue=N*Math.sin(K),ye=te,le=-ue,ve=ye*ye+le*le,Ce=ve+ye*te+le*ue,qe=4/3*(Math.sqrt(2*ve*Ce)-Ce)/(ye*ue-le*te),Me=ye-qe*le,We=le+qe*ye,T=Me,ze=-We,mt=K+H,Qe=Math.cos(mt),Oe=Math.sin(mt);return{x1:N*Math.cos(H),y1:N*Math.sin(H),x2:Me*Qe-We*Oe,y2:Me*Oe+We*Qe,x3:T*Qe-ze*Oe,y3:T*Oe+ze*Qe,x4:N*Math.cos(G),y4:N*Math.sin(G)}},fe=function(N){return 180*N/Math.PI},xe=function(N,H,G,K,te,ue){var ye=N+.5*(G-N),le=H+.5*(K-H),ve=te+.5*(G-te),Ce=ue+.5*(K-ue),qe=Math.min(N,te,ye,ve),Me=Math.max(N,te,ye,ve),We=Math.min(H,ue,le,Ce),T=Math.max(H,ue,le,Ce);return new l(qe,We,Me-qe,T-We)},De=function(N,H,G,K,te,ue,ye,le){var ve,Ce,qe,Me,We,T,ze,mt,Qe,Oe,ot,Ge,et,$e,jt=G-N,Ct=K-H,xt=te-G,Ot=ue-K,Lt=ye-te,Ke=le-ue;for(Ce=0;Ce<41;Ce++)Qe=(ze=(qe=N+(ve=Ce/40)*jt)+ve*((We=G+ve*xt)-qe))+ve*(We+ve*(te+ve*Lt-We)-ze),Oe=(mt=(Me=H+ve*Ct)+ve*((T=K+ve*Ot)-Me))+ve*(T+ve*(ue+ve*Ke-T)-mt),Ce==0?(ot=Qe,Ge=Oe,et=Qe,$e=Oe):(ot=Math.min(ot,Qe),Ge=Math.min(Ge,Oe),et=Math.max(et,Qe),$e=Math.max($e,Oe));return new l(Math.round(ot),Math.round(Ge),Math.round(et-ot),Math.round($e-Ge))},Fe=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var N,H,G=(N=this.ctx.lineDash,H=this.ctx.lineDashOffset,JSON.stringify({lineDash:N,lineDashOffset:H}));this.prevLineDash!==G&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=G)}}})(ut.API),(function(n){var e=function(d){var l,c,f,w,A,F,m,B,D,W;for(c=[],f=0,w=(d+=l="\0\0\0\0".slice(d.length%4||4)).length;w>f;f+=4)(A=(d.charCodeAt(f)<<24)+(d.charCodeAt(f+1)<<16)+(d.charCodeAt(f+2)<<8)+d.charCodeAt(f+3))!==0?(F=(A=((A=((A=((A=(A-(W=A%85))/85)-(D=A%85))/85)-(B=A%85))/85)-(m=A%85))/85)%85,c.push(F+33,m+33,B+33,D+33,W+33)):c.push(122);return(function(E,Z){for(var ee=Z;ee>0;ee--)E.pop()})(c,l.length),String.fromCharCode.apply(String,c)+"~>"},t=function(d){var l,c,f,w,A,F=String,m="length",B=255,D="charCodeAt",W="slice",E="replace";for(d[W](-2),d=d[W](0,-2)[E](/\s/g,"")[E]("z","!!!!!"),f=[],w=0,A=(d+=l="uuuuu"[W](d[m]%5||5))[m];A>w;w+=5)c=52200625*(d[D](w)-33)+614125*(d[D](w+1)-33)+7225*(d[D](w+2)-33)+85*(d[D](w+3)-33)+(d[D](w+4)-33),f.push(B&c>>24,B&c>>16,B&c>>8,B&c);return(function(Z,ee){for(var Y=ee;Y>0;Y--)Z.pop()})(f,l[m]),F.fromCharCode.apply(F,f)},r=function(d){return d.split("").map(function(l){return("0"+l.charCodeAt().toString(16)).slice(-2)}).join("")+">"},a=function(d){var l=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((d=d.replace(/\s/g,"")).indexOf(">")!==-1&&(d=d.substr(0,d.indexOf(">"))),d.length%2&&(d+="0"),l.test(d)===!1)return"";for(var c="",f=0;f<d.length;f+=2)c+=String.fromCharCode("0x"+(d[f]+d[f+1]));return c},o=function(d){for(var l=new Uint8Array(d.length),c=d.length;c--;)l[c]=d.charCodeAt(c);return(l=Ys(l)).reduce(function(f,w){return f+String.fromCharCode(w)},"")};n.processDataByFilters=function(d,l){var c=0,f=d||"",w=[];for(typeof(l=l||[])=="string"&&(l=[l]),c=0;c<l.length;c+=1)switch(l[c]){case"ASCII85Decode":case"/ASCII85Decode":f=t(f),w.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":f=e(f),w.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":f=a(f),w.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":f=r(f),w.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":f=o(f),w.push("/FlateDecode");break;default:throw new Error('The filter: "'+l[c]+'" is not implemented')}return{data:f,reverseChain:w.reverse().join(" ")}}})(ut.API),(function(n){n.loadFile=function(e,t,r){return(function(a,o,d){o=o!==!1,d=typeof d=="function"?d:function(){};var l=void 0;try{l=(function(c,f,w){var A=new XMLHttpRequest,F=0,m=function(B){var D=B.length,W=[],E=String.fromCharCode;for(F=0;F<D;F+=1)W.push(E(255&B.charCodeAt(F)));return W.join("")};if(A.open("GET",c,!f),A.overrideMimeType("text/plain; charset=x-user-defined"),f===!1&&(A.onload=function(){A.status===200?w(m(this.responseText)):w(void 0)}),A.send(null),f&&A.status===200)return m(A.responseText)})(a,o,d)}catch{}return l})(e,t,r)},n.allowFsRead=void 0,n.loadImageFile=n.loadFile})(ut.API),(function(n){function e(){return(St.html2canvas?Promise.resolve(St.html2canvas):$o(()=>import("./html2canvas.esm-B0tyYwQk.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load html2canvas: "+l))}).then(function(l){return l.default?l.default:l})}function t(){return(St.DOMPurify?Promise.resolve(St.DOMPurify):$o(()=>import("./purify.es-DBIK8olT.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load dompurify: "+l))}).then(function(l){return l.default?l.default:l})}var r=function(l){var c=Kt(l);return c==="undefined"?"undefined":c==="string"||l instanceof String?"string":c==="number"||l instanceof Number?"number":c==="function"||l instanceof Function?"function":l&&l.constructor===Array?"array":l&&l.nodeType===1?"element":c==="object"?"object":"unknown"},a=function(l,c){var f=document.createElement(l);for(var w in c.className&&(f.className=c.className),c.innerHTML&&c.dompurify&&(f.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)f.style[w]=c.style[w];return f},o=function l(c,f){for(var w=c.nodeType===3?document.createTextNode(c.nodeValue):c.cloneNode(!1),A=c.firstChild;A;A=A.nextSibling)f!==!0&&A.nodeType===1&&A.nodeName==="SCRIPT"||w.appendChild(l(A,f));return c.nodeType===1&&(c.nodeName==="CANVAS"?(w.width=c.width,w.height=c.height,w.getContext("2d").drawImage(c,0,0)):c.nodeName!=="TEXTAREA"&&c.nodeName!=="SELECT"||(w.value=c.value),w.addEventListener("load",function(){w.scrollTop=c.scrollTop,w.scrollLeft=c.scrollLeft},!0)),w},d=function l(c){var f=Object.assign(l.convert(Promise.resolve()),JSON.parse(JSON.stringify(l.template))),w=l.convert(Promise.resolve(),f);return(w=w.setProgress(1,l,1,[l])).set(c)};(d.prototype=Object.create(Promise.prototype)).constructor=d,d.convert=function(l,c){return l.__proto__=c||d.prototype,l},d.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"}},d.prototype.from=function(l,c){return this.then(function(){switch(c=c||(function(f){switch(r(f)){case"string":return"string";case"element":return f.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(l),c){case"string":return this.then(t).then(function(f){return this.set({src:a("div",{innerHTML:l,dompurify:f})})});case"element":return this.set({src:l});case"canvas":return this.set({canvas:l});case"img":return this.set({img:l});default:return this.error("Unknown source type.")}})},d.prototype.to=function(l){switch(l){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},d.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var l={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},c=o(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.tagName==="BODY"&&(l.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=a("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=a("div",{className:"html2pdf__container",style:l}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(a("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"})},d.prototype.toCanvas=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(e).then(function(c){var f=Object.assign({},this.opt.html2canvas);return delete f.onrendered,c(this.prop.container,f)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},d.prototype.toContext2d=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(e).then(function(c){var f=this.opt.jsPDF,w=this.opt.fontFaces,A=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,F=Object.assign({async:!0,allowTaint:!0,scale:A,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 F.onrendered,f.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,f.context2d.posX=this.opt.x,f.context2d.posY=this.opt.y,f.context2d.margin=this.opt.margin,f.context2d.fontFaces=w,w)for(var m=0;m<w.length;++m){var B=w[m],D=B.src.find(function(W){return W.format==="truetype"});D&&f.addFont(D.url,B.ref.name,B.ref.style)}return F.windowHeight=F.windowHeight||0,F.windowHeight=F.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):F.windowHeight,f.context2d.save(!0),c(this.prop.container,F)}).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)})},d.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var l=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=l})},d.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},d.prototype.output=function(l,c,f){return(f=f||"pdf").toLowerCase()==="img"||f.toLowerCase()==="image"?this.outputImg(l,c):this.outputPdf(l,c)},d.prototype.outputPdf=function(l,c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(l,c)})},d.prototype.outputImg=function(l){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(l){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+l+'" is not supported.'}})},d.prototype.save=function(l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(l?{filename:l}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},d.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},d.prototype.set=function(l){if(r(l)!=="object")return this;var c=Object.keys(l||{}).map(function(f){if(f in d.template.prop)return function(){this.prop[f]=l[f]};switch(f){case"margin":return this.setMargin.bind(this,l.margin);case"jsPDF":return function(){return this.opt.jsPDF=l.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,l.pageSize);default:return function(){this.opt[f]=l[f]}}},this);return this.then(function(){return this.thenList(c)})},d.prototype.get=function(l,c){return this.then(function(){var f=l in d.template.prop?this.prop[l]:this.opt[l];return c?c(f):f})},d.prototype.setMargin=function(l){return this.then(function(){switch(r(l)){case"number":l=[l,l,l,l];case"array":if(l.length===2&&(l=[l[0],l[1],l[0],l[1]]),l.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=l}).then(this.setPageSize)},d.prototype.setPageSize=function(l){function c(f,w){return Math.floor(f*w/72*96)}return this.then(function(){(l=l||ut.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(l.inner={width:l.width-this.opt.margin[1]-this.opt.margin[3],height:l.height-this.opt.margin[0]-this.opt.margin[2]},l.inner.px={width:c(l.inner.width,l.k),height:c(l.inner.height,l.k)},l.inner.ratio=l.inner.height/l.inner.width),this.prop.pageSize=l})},d.prototype.setProgress=function(l,c,f,w){return l!=null&&(this.progress.val=l),c!=null&&(this.progress.state=c),f!=null&&(this.progress.n=f),w!=null&&(this.progress.stack=w),this.progress.ratio=this.progress.val/this.progress.state,this},d.prototype.updateProgress=function(l,c,f,w){return this.setProgress(l?this.progress.val+l:null,c||null,f?this.progress.n+f:null,w?this.progress.stack.concat(w):null)},d.prototype.then=function(l,c){var f=this;return this.thenCore(l,c,function(w,A){return f.updateProgress(null,null,1,[w]),Promise.prototype.then.call(this,function(F){return f.updateProgress(null,w),F}).then(w,A).then(function(F){return f.updateProgress(1),F})})},d.prototype.thenCore=function(l,c,f){f=f||Promise.prototype.then;var w=this;l&&(l=l.bind(w)),c&&(c=c.bind(w));var A=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?w:d.convert(Object.assign({},w),Promise.prototype),F=f.call(A,l,c);return d.convert(F,w.__proto__)},d.prototype.thenExternal=function(l,c){return Promise.prototype.then.call(this,l,c)},d.prototype.thenList=function(l){var c=this;return l.forEach(function(f){c=c.thenCore(f)}),c},d.prototype.catch=function(l){l&&(l=l.bind(this));var c=Promise.prototype.catch.call(this,l);return d.convert(c,this)},d.prototype.catchExternal=function(l){return Promise.prototype.catch.call(this,l)},d.prototype.error=function(l){return this.then(function(){throw new Error(l)})},d.prototype.using=d.prototype.set,d.prototype.saveAs=d.prototype.save,d.prototype.export=d.prototype.output,d.prototype.run=d.prototype.then,ut.getPageSize=function(l,c,f){if(Kt(l)==="object"){var w=l;l=w.orientation,c=w.unit||c,f=w.format||f}c=c||"mm",f=f||"a4",l=(""+(l||"P")).toLowerCase();var A,F=(""+f).toLowerCase(),m={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":A=1;break;case"mm":A=72/25.4;break;case"cm":A=72/2.54;break;case"in":A=72;break;case"px":A=.75;break;case"pc":case"em":A=12;break;case"ex":A=6;break;default:throw"Invalid unit: "+c}var B,D=0,W=0;if(m.hasOwnProperty(F))D=m[F][1]/A,W=m[F][0]/A;else try{D=f[1],W=f[0]}catch{throw new Error("Invalid format: "+f)}if(l==="p"||l==="portrait")l="p",W>D&&(B=W,W=D,D=B);else{if(l!=="l"&&l!=="landscape")throw"Invalid orientation: "+l;l="l",D>W&&(B=W,W=D,D=B)}return{width:W,height:D,unit:c,k:A,orientation:l}},n.html=function(l,c){(c=c||{}).callback=c.callback||function(){},c.html2canvas=c.html2canvas||{},c.html2canvas.canvas=c.html2canvas.canvas||this.canvas,c.jsPDF=c.jsPDF||this,c.fontFaces=c.fontFaces?c.fontFaces.map(Us):null;var f=new d(c);return c.worker?f:f.from(l).doCallback()}})(ut.API),ut.API.addJS=function(n){var e,t,r=(function(a){for(var o="",d=0;d<a.length;d++){var l=a[d];if(l==="("||l===")"){for(var c=0,f=d-1;f>=0&&a[f]==="\\";f--)c++;o+=c%2==0?"\\"+l:l}else o+=l}return o})(n);return this.internal.events.subscribe("postPutResources",function(){e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(e+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+r+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){e!==void 0&&t!==void 0&&this.internal.out("/Names <</JavaScript "+e+" 0 R>>")}),this},(function(n){var e;n.events.push(["postPutResources",function(){var t=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var a=t.outline.render().split(/\r\n/),o=0;o<a.length;o++){var d=a[o],l=r.exec(d);if(l!=null){var c=l[1];t.internal.newObjectDeferredBegin(c,!1)}t.internal.write(d)}if(this.outline.createNamedDestinations){var f=this.internal.pages.length,w=[];for(o=0;o<f;o++){var A=t.internal.newObject();w.push(A);var F=t.internal.getPageInfo(o+1);t.internal.write("<< /D["+F.objId+" 0 R /XYZ null null null]>> endobj")}var m=t.internal.newObject();for(t.internal.write("<< /Names [ "),o=0;o<w.length;o++)t.internal.write("(page_"+(o+1)+")"+w[o]+" 0 R");t.internal.write(" ] >>","endobj"),e=t.internal.newObject(),t.internal.write("<< /Dests "+m+" 0 R"),t.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+e+" 0 R"))}]),n.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}},t.outline.add=function(r,a,o){var d={title:a,options:o,children:[]};return r==null&&(r=this.root),r.children.push(d),d},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(r){r.id=t.internal.newObjectDeferred();for(var a=0;a<r.children.length;a++)this.genIds_r(r.children[a])},t.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()},t.outline.renderItems=function(r){for(var a=this.ctx.pdf.internal.getVerticalCoordinateString,o=0;o<r.children.length;o++){var d=r.children[o];this.objStart(d),this.line("/Title "+this.makeString(d.title)),this.line("/Parent "+this.makeRef(r)),o>0&&this.line("/Prev "+this.makeRef(r.children[o-1])),o<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[o+1])),d.children.length>0&&(this.line("/First "+this.makeRef(d.children[0])),this.line("/Last "+this.makeRef(d.children[d.children.length-1])));var l=this.count=this.count_r({count:0},d);if(l>0&&this.line("/Count "+l),d.options&&d.options.pageNumber){var c=t.internal.getPageInfo(d.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+a(0)+" 0]")}this.objEnd()}for(var f=0;f<r.children.length;f++)this.renderItems(r.children[f])},t.outline.line=function(r){this.ctx.val+=r+`\r
134`},t.outline.makeRef=function(r){return r.id+" 0 R"},t.outline.makeString=function(r){return"("+t.internal.pdfEscape(r)+")"},t.outline.objStart=function(r){this.ctx.val+=`\r
135`+r.id+` 0 obj\r
136<<\r
137`},t.outline.objEnd=function(){this.ctx.val+=`>> \r
138endobj\r
139`},t.outline.count_r=function(r,a){for(var o=0;o<a.children.length;o++)r.count++,this.count_r(r,a.children[o]);return r.count}}])})(ut.API),(function(n){var e=[192,193,194,195,196,197,198,199];n.processJPEG=function(t,r,a,o,d,l){var c,f=this.decode.DCT_DECODE,w=null;if(typeof t=="string"||this.__addimage__.isArrayBuffer(t)||this.__addimage__.isArrayBufferView(t)){switch(t=d||t,t=this.__addimage__.isArrayBuffer(t)?new Uint8Array(t):t,c=(function(A){for(var F,m=256*A.charCodeAt(4)+A.charCodeAt(5),B=A.length,D={width:0,height:0,numcomponents:1},W=4;W<B;W+=2){if(W+=m,e.indexOf(A.charCodeAt(W+1))!==-1){F=256*A.charCodeAt(W+5)+A.charCodeAt(W+6),D={width:256*A.charCodeAt(W+7)+A.charCodeAt(W+8),height:F,numcomponents:A.charCodeAt(W+9)};break}m=256*A.charCodeAt(W+2)+A.charCodeAt(W+3)}return D})(t=this.__addimage__.isArrayBufferView(t)?this.__addimage__.arrayBufferToBinaryString(t):t),c.numcomponents){case 1:l=this.color_spaces.DEVICE_GRAY;break;case 4:l=this.color_spaces.DEVICE_CMYK;break;case 3:l=this.color_spaces.DEVICE_RGB}w={data:t,width:c.width,height:c.height,colorSpace:l,bitsPerComponent:8,filter:f,index:r,alias:a}}return w}})(ut.API),ut.API.processPNG=function(n,e,t,r){if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){var a,o=t2(n,{checkCrc:!0}),d=o.width,l=o.height,c=o.channels,f=o.palette,w=o.depth;a=f&&c===1?(function(ie){for(var V=ie.width,se=ie.height,I=ie.data,R=ie.palette,X=ie.depth,$=!1,me=[],Se=[],_e=void 0,fe=!1,xe=0,De=0;De<R.length;De++){var Fe=Jl(R[De],4),N=Fe[0],H=Fe[1],G=Fe[2],K=Fe[3];me.push(N,H,G),K!=null&&(K===0?(xe++,Se.length<1&&Se.push(De)):K<255&&(fe=!0))}if(fe||xe>1){$=!0,Se=void 0;var te=V*se;_e=new Uint8Array(te);for(var ue=new DataView(I.buffer),ye=0;ye<te;ye++){var le=Hs(ue,ye,X),ve=Jl(R[le],4)[3];_e[ye]=ve}}else xe===0&&(Se=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:$?8:void 0,colorBytes:I,alphaBytes:_e,needSMask:$,palette:me,mask:Se}})(o):c===2||c===4?(function(ie){for(var V=ie.data,se=ie.width,I=ie.height,R=ie.channels,X=ie.depth,$=R===2?"DeviceGray":"DeviceRGB",me=R-1,Se=se*I,_e=me,fe=Se*_e,xe=1*Se,De=Math.ceil(fe*X/8),Fe=Math.ceil(xe*X/8),N=new Uint8Array(De),H=new Uint8Array(Fe),G=new DataView(V.buffer),K=new DataView(N.buffer),te=new DataView(H.buffer),ue=!1,ye=0;ye<Se;ye++){for(var le=ye*R,ve=0;ve<_e;ve++)ec(K,Hs(G,le+ve,X),ye*_e+ve,X);var Ce=Hs(G,le+_e,X);Ce<(1<<X)-1&&(ue=!0),ec(te,Ce,1*ye,X)}return{colorSpace:$,colorsPerPixel:me,sMaskBitsPerComponent:ue?X:void 0,colorBytes:N,alphaBytes:H,needSMask:ue}})(o):(function(ie){var V=ie.data,se=ie.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:se,colorsPerPixel:se==="DeviceGray"?1:3,colorBytes:V instanceof Uint16Array?(function(I){for(var R=I.length,X=new Uint8Array(2*R),$=new DataView(X.buffer,X.byteOffset,X.byteLength),me=0;me<R;me++)$.setUint16(2*me,I[me],!1);return X})(V):V,needSMask:!1}})(o);var A,F,m,B=a,D=B.colorSpace,W=B.colorsPerPixel,E=B.sMaskBitsPerComponent,Z=B.colorBytes,ee=B.alphaBytes,Y=B.needSMask,be=B.palette,ke=B.mask,we=null;return r!==ut.API.image_compression.NONE&&typeof Ys=="function"?(we=(function(ie){var V;switch(ie){case ut.API.image_compression.FAST:V=11;break;case ut.API.image_compression.MEDIUM:V=13;break;case ut.API.image_compression.SLOW:V=14;break;default:V=12}return V})(r),A=this.decode.FLATE_DECODE,F="/Predictor ".concat(we," /Colors ").concat(W," /BitsPerComponent ").concat(w," /Columns ").concat(d),n=Ju(Z,Math.ceil(d*W*w/8),W,w,r),Y&&(m=Ju(ee,Math.ceil(d*E/8),1,E,r))):(A=void 0,F=void 0,n=Z,Y&&(m=ee)),(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(m&&this.__addimage__.isArrayBuffer(m)||this.__addimage__.isArrayBufferView(m))&&(m=this.__addimage__.arrayBufferToBinaryString(m)),{alias:t,data:n,index:e,filter:A,decodeParameters:F,transparency:ke,palette:be,sMask:m,predictor:we,width:d,height:l,bitsPerComponent:w,sMaskBitsPerComponent:E,colorSpace:D}}},(function(n){n.processGIF89A=function(e,t,r,a){var o=new _2(e),d=o.width,l=o.height,c=[];o.decodeAndBlitFrameRGBA(0,c);var f={data:c,width:d,height:l},w=new Ws(100).encode(f,100);return n.processJPEG.call(this,w,t,r,a)},n.processGIF87A=n.processGIF89A})(ut.API),di.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var n=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(n);for(var e=0;e<n;e++){var t=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0);this.palette[e]={red:a,green:r,blue:t,quad:o}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},di.prototype.parseBGR=function(){this.pos=this.offset;var n="bit"+this.bitPP,e=this.width*this.height*4;if(e>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(e);try{this[n]()}catch(t){an.log("bit decode error:"+t)}},di.prototype.bit1=function(){var n,e=Math.ceil(this.width/8),t=e%4;for(n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,a=0;a<e;a++)for(var o=this.datav.getUint8(this.pos++,!0),d=r*this.width*4+8*a*4,l=0;l<8&&8*a+l<this.width;l++){var c=this.palette[o>>7-l&1];this.data[d+4*l]=c.blue,this.data[d+4*l+1]=c.green,this.data[d+4*l+2]=c.red,this.data[d+4*l+3]=255}t!==0&&(this.pos+=4-t)}},di.prototype.bit4=function(){for(var n=Math.ceil(this.width/2),e=n%4,t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,a=0;a<n;a++){var o=this.datav.getUint8(this.pos++,!0),d=r*this.width*4+2*a*4,l=o>>4,c=15&o,f=this.palette[l];if(this.data[d]=f.blue,this.data[d+1]=f.green,this.data[d+2]=f.red,this.data[d+3]=255,2*a+1>=this.width)break;f=this.palette[c],this.data[d+4]=f.blue,this.data[d+4+1]=f.green,this.data[d+4+2]=f.red,this.data[d+4+3]=255}e!==0&&(this.pos+=4-e)}},di.prototype.bit8=function(){for(var n=this.width%4,e=this.height-1;e>=0;e--){for(var t=this.bottom_up?e:this.height-1-e,r=0;r<this.width;r++){var a=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*r;if(a<this.palette.length){var d=this.palette[a];this.data[o]=d.red,this.data[o+1]=d.green,this.data[o+2]=d.blue,this.data[o+3]=255}else this.data[o]=255,this.data[o+1]=255,this.data[o+2]=255,this.data[o+3]=255}n!==0&&(this.pos+=4-n)}},di.prototype.bit15=function(){for(var n=this.width%3,e=parseInt("11111",2),t=this.height-1;t>=0;t--){for(var r=this.bottom_up?t:this.height-1-t,a=0;a<this.width;a++){var o=this.datav.getUint16(this.pos,!0);this.pos+=2;var d=(o&e)/e*255|0,l=(o>>5&e)/e*255|0,c=(o>>10&e)/e*255|0,f=o>>15?255:0,w=r*this.width*4+4*a;this.data[w]=c,this.data[w+1]=l,this.data[w+2]=d,this.data[w+3]=f}this.pos+=n}},di.prototype.bit16=function(){for(var n=this.width%3,e=parseInt("11111",2),t=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var a=this.bottom_up?r:this.height-1-r,o=0;o<this.width;o++){var d=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(d&e)/e*255|0,c=(d>>5&t)/t*255|0,f=(d>>11)/e*255|0,w=a*this.width*4+4*o;this.data[w]=f,this.data[w+1]=c,this.data[w+2]=l,this.data[w+3]=255}this.pos+=n}},di.prototype.bit24=function(){for(var n=this.height-1;n>=0;n--){for(var e=this.bottom_up?n:this.height-1-n,t=0;t<this.width;t++){var r=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),d=e*this.width*4+4*t;this.data[d]=o,this.data[d+1]=a,this.data[d+2]=r,this.data[d+3]=255}this.pos+=this.width%4}},di.prototype.bit32=function(){for(var n=this.height-1;n>=0;n--)for(var e=this.bottom_up?n:this.height-1-n,t=0;t<this.width;t++){var r=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),o=this.datav.getUint8(this.pos++,!0),d=this.datav.getUint8(this.pos++,!0),l=e*this.width*4+4*t;this.data[l]=o,this.data[l+1]=a,this.data[l+2]=r,this.data[l+3]=d}},di.prototype.getData=function(){return this.data},(function(n){n.processBMP=function(e,t,r,a){var o=new di(e,!1),d=o.width,l=o.height,c={data:o.getData(),width:d,height:l},f=new Ws(100).encode(c,100);return n.processJPEG.call(this,f,t,r,a)}})(ut.API),nc.prototype.getData=function(){return this.data},(function(n){n.processWEBP=function(e,t,r,a){var o=new nc(e),d=o.width,l=o.height,c={data:o.getData(),width:d,height:l},f=new Ws(100).encode(c,100);return n.processJPEG.call(this,f,t,r,a)}})(ut.API),ut.API.processRGBA=function(n,e,t){for(var r=n.data,a=r.length,o=new Uint8Array(a/4*3),d=new Uint8Array(a/4),l=0,c=0,f=0;f<a;f+=4){var w=r[f],A=r[f+1],F=r[f+2],m=r[f+3];o[l++]=w,o[l++]=A,o[l++]=F,d[c++]=m}var B=this.__addimage__.arrayBufferToBinaryString(o);return{alpha:this.__addimage__.arrayBufferToBinaryString(d),data:B,index:e,alias:t,colorSpace:"DeviceRGB",bitsPerComponent:8,width:n.width,height:n.height}},ut.API.setLanguage=function(n){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Sp
139ain)","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"}[n]!==void 0&&(this.internal.languageSettings.languageCode=n,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},za=ut.API,Vo=za.getCharWidthsArray=function(n,e){var t,r,a=(e=e||{}).font||this.internal.getFont(),o=e.fontSize||this.internal.getFontSize(),d=e.charSpace||this.internal.getCharSpace(),l=e.widths?e.widths:a.metadata.Unicode.widths,c=l.fof?l.fof:1,f=e.kerning?e.kerning:a.metadata.Unicode.kerning,w=f.fof?f.fof:1,A=e.doKerning!==!1,F=0,m=n.length,B=0,D=l[0]||c,W=[];for(t=0;t<m;t++)r=n.charCodeAt(t),typeof a.metadata.widthOfString=="function"?W.push((a.metadata.widthOfGlyph(a.metadata.characterToGlyph(r))+d*(1e3/o)||0)/1e3):(F=A&&Kt(f[r])==="object"&&!isNaN(parseInt(f[r][B],10))?f[r][B]/w:0,W.push((l[r]||D)/c+F)),B=r;return W},Gu=za.getStringUnitWidth=function(n,e){var t=(e=e||{}).fontSize||this.internal.getFontSize(),r=e.font||this.internal.getFont(),a=e.charSpace||this.internal.getCharSpace();return za.processArabic&&(n=za.processArabic(n)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(n,t,a)/t:Vo.apply(this,arguments).reduce(function(o,d){return o+d},0)},$u=function(n,e,t,r){for(var a=[],o=0,d=n.length,l=0;o!==d&&l+e[o]<t;)l+=e[o],o++;a.push(n.slice(0,o));var c=o;for(l=0;o!==d;)l+e[o]>r&&(a.push(n.slice(c,o)),l=0,c=o),l+=e[o],o++;return c!==o&&a.push(n.slice(c,o)),a},Yu=function(n,e,t){t||(t={});var r,a,o,d,l,c,f,w=[],A=[w],F=t.textIndent||0,m=0,B=0,D=n.split(" "),W=Vo.apply(this,[" ",t])[0];if(c=t.lineIndent===-1?D[0].length+2:t.lineIndent||0){var E=Array(c).join(" "),Z=[];D.map(function(Y){(Y=Y.split(/\s*\n/)).length>1?Z=Z.concat(Y.map(function(be,ke){return(ke&&be.length?`
140`:"")+be})):Z.push(Y[0])}),D=Z,c=Gu.apply(this,[E,t])}for(o=0,d=D.length;o<d;o++){var ee=0;if(r=D[o],c&&r[0]==`
141`&&(r=r.substr(1),ee=1),F+m+(B=(a=Vo.apply(this,[r,t])).reduce(function(Y,be){return Y+be},0))>e||ee){if(B>e){for(l=$u.apply(this,[r,a,e-(F+m),e]),w.push(l.shift()),w=[l.pop()];l.length;)A.push([l.shift()]);B=a.slice(r.length-(w[0]?w[0].length:0)).reduce(function(Y,be){return Y+be},0)}else w=[r];A.push(w),F=B+c,m=W}else w.push(r),F+=m+B,m=W}return f=c?function(Y,be){return(be?E:"")+Y.join(" ")}:function(Y){return Y.join(" ")},A.map(f)},za.splitTextToSize=function(n,e,t){var r,a=(t=t||{}).fontSize||this.internal.getFontSize(),o=function(w){if(w.widths&&w.kerning)return{widths:w.widths,kerning:w.kerning};var A=this.internal.getFont(w.fontName,w.fontStyle),F="Unicode";return A.metadata[F]?{widths:A.metadata[F].widths||{0:1},kerning:A.metadata[F].kerning||{}}:{font:A.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,t);r=Array.isArray(n)?n:String(n).split(/\r?\n/);var d=1*this.internal.scaleFactor*e/a;o.textIndent=t.textIndent?1*t.textIndent*this.internal.scaleFactor/a:0,o.lineIndent=t.lineIndent;var l,c,f=[];for(l=0,c=r.length;l<c;l++)f=f.concat(Yu.apply(this,[r[l],d,o]));return f},(function(n){n.__fontmetrics__=n.__fontmetrics__||{};for(var e="0123456789abcdef",t="klmnopqrstuvwxyz",r={},a={},o=0;o<16;o++)r[t[o]]=e[o],a[e[o]]=t[o];var d=function(F){return"0x"+parseInt(F,10).toString(16)},l=n.__fontmetrics__.compress=function(F){var m,B,D,W,E=["{"];for(var Z in F){if(m=F[Z],isNaN(parseInt(Z,10))?B="'"+Z+"'":(Z=parseInt(Z,10),B=(B=d(Z).slice(2)).slice(0,-1)+a[B.slice(-1)]),typeof m=="number")m<0?(D=d(m).slice(3),W="-"):(D=d(m).slice(2),W=""),D=W+D.slice(0,-1)+a[D.slice(-1)];else{if(Kt(m)!=="object")throw new Error("Don't know what to do with value type "+Kt(m)+".");D=l(m)}E.push(B+D)}return E.push("}"),E.join("")},c=n.__fontmetrics__.uncompress=function(F){if(typeof F!="string")throw new Error("Invalid argument passed to uncompress.");for(var m,B,D,W,E={},Z=1,ee=E,Y=[],be="",ke="",we=F.length-1,ie=1;ie<we;ie+=1)(W=F[ie])=="'"?m?(D=m.join(""),m=void 0):m=[]:m?m.push(W):W=="{"?(Y.push([ee,D
vendor: 693 bytes, line 141
141]),ee={},D=void 0):W=="}"?((B=Y.pop())[0][B[1]]=ee,D=void 0,ee=B[0]):W=="-"?Z=-1:D===void 0?r.hasOwnProperty(W)?(be+=r[W],D=parseInt(be,16)*Z,Z=1,be=""):be+=W:r.hasOwnProperty(W)?(ke+=r[W],ee[D]=parseInt(ke,16)*Z,Z=1,D=void 0,ke=""):ke+=W;return E},f={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},w={Unicode:{Courier:f,"Courier-Bold":f,"Courier-BoldOblique":f,"Courier-Oblique":f,Helvetica:f,"Helvetica-Bold":f,"Helvetica-BoldOblique":f,"Helvetica-Oblique":f,"Times-Roman":f,"Times-Bold":f,"Times-BoldItalic":f,"Times-Italic":f}},A
vendor: 14,693 bytes, line 141
141={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: 45,230 bytes, lines 141-169
141n.events.push(["addFont",function(F){var m=F.font,B=A.Unicode[m.postScriptName];B&&(m.metadata.Unicode={},m.metadata.Unicode.widths=B.widths,m.metadata.Unicode.kerning=B.kerning);var D=w.Unicode[m.postScriptName];D&&(m.metadata.Unicode.encoding=D,m.encoding=D.codePages[0])}])})(ut.API),(function(n){var e=function(t){for(var r=t.length,a=new Uint8Array(r),o=0;o<r;o++)a[o]=t.charCodeAt(o);return a};n.API.events.push(["addFont",function(t){var r=void 0,a=t.font,o=t.instance;if(!a.isStandardFont){if(o===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+"').");if(typeof(r=o.existsFileInVFS(a.postScriptName)===!1?o.loadFile(a.postScriptName):o.getFileFromVFS(a.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+a.postScriptName+"').");(function(d,l){l=/^\x00\x01\x00\x00/.test(l)?e(l):e(Jo(l)),d.metadata=n.API.TTFFont.open(l),d.metadata.Unicode=d.metadata.Unicode||{encoding:{},kerning:{},widths:[]},d.metadata.glyIdsUsed=[0]})(a,r)}}])})(ut),ut.API.addSvgAsImage=function(n,e,t,r,a,o,d,l){if(isNaN(e)||isNaN(t))throw an.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(a))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=a;var f=c.getContext("2d");f.fillStyle="#fff",f.fillRect(0,0,c.width,c.height);var w={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},A=this;return(St.canvg?Promise.resolve(St.canvg):$o(()=>import("./index.es-6Hnj75Ay.js"),__vite__mapDeps([0,1,2,3,4]))).catch(function(F){return Promise.reject(new Error("Could not load canvg: "+F))}).then(function(F){return F.default?F.default:F}).then(function(F){return F.fromString(f,n,w)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(F){return F.render(w)}).then(function(){A.addImage(c.toDataURL("image/jpeg",1),e,t,r,a,d,l)})},ut.API.putTotalPages=function(n){var e,t=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(e=new RegExp(n,"g"),t=this.internal.getNumberOfPages()):(e=new RegExp(this.pdfEscape16(n,this.internal.getFont()),"g"),t=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var a=0;a<this.internal.pages[r].length;a++)this.internal.pages[r][a]=this.internal.pages[r][a].replace(e,t);return this},ut.API.viewerPreferences=function(n,e){var t;n=n||{},e=e||!1;var r,a,o,d={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(d),c=[],f=0,w=0,A=0;function F(B,D){var W,E=!1;for(W=0;W<B.length;W+=1)B[W]===D&&(E=!0);return E}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(d)),this.internal.viewerpreferences.isSubscribed=!1),t=this.internal.viewerpreferences.configuration,n==="reset"||e===!0){var m=l.length;for(A=0;A<m;A+=1)t[l[A]].value=t[l[A]].defaultValue,t[l[A]].explicitSet=!1}if(Kt(n)==="object"){for(a in n)if(o=n[a],F(l,a)&&o!==void 0){if(t[a].type==="boolean"&&typeof o=="boolean")t[a].value=o;else if(t[a].type==="name"&&F(t[a].valueSet,o))t[a].value=o;else if(t[a].type==="integer"&&Number.isInteger(o))t[a].value=o;else if(t[a].type==="array"){for(f=0;f<o.length;f+=1)if(r=!0,o[f].length===1&&typeof o[f][0]=="number")c.push(String(o[f]-1));else if(o[f].length>1){for(w=0;w<o[f].length;w+=1)typeof o[f][w]!="number"&&(r=!1);r===!0&&c.push([o[f][0]-1,o[f][1]-1].join(" "))}t[a].value="["+c.join(" ")+"]"}else t[a].value=t[a].defaultValue;t[a].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var B,D=[];for(B in t)t[B].explicitSet===!0&&(t[B].type==="name"?D.push("/"+B+" /"+t[B].value):D.push("/"+B+" "+t[B].value));D.length!==0&&this.internal.write(`/ViewerPreferences
142<<
143`+D.join(`
144`)+`
145>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=t,this},ut.API.addMetadata=function(n,e){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:n,namespaceUri:e??"http://jspdf.default.namespaceuri/",rawXml:typeof e=="boolean"&&e},this.internal.events.subscribe("putCatalog",A2),this.internal.events.subscribe("postPutResources",S2)),this},(function(n){var e=n.API,t=e.pdfEscape16=function(o,d){for(var l,c=d.metadata.Unicode.widths,f=["","0","00","000","0000"],w=[""],A=0,F=o.length;A<F;++A){if(l=d.metadata.characterToGlyph(o.charCodeAt(A)),d.metadata.glyIdsUsed.push(l),d.metadata.toUnicode[l]=o.charCodeAt(A),c.indexOf(l)==-1&&(c.push(l),c.push([parseInt(d.metadata.widthOfGlyph(l),10)])),l=="0")return w.join("");l=l.toString(16),w.push(f[4-l.length],l)}return w.join("")},r=function(o){var d,l,c,f,w,A,F;for(w=`/CIDInit /ProcSet findresource begin
14612 dict begin
147begincmap
148/CIDSystemInfo <<
149  /Registry (Adobe)
150  /Ordering (UCS)
151  /Supplement 0
152>> def
153/CMapName /Adobe-Identity-UCS def
154/CMapType 2 def
1551 begincodespacerange
156<0000><ffff>
157endcodespacerange`,c=[],A=0,F=(l=Object.keys(o).sort(function(m,B){return m-B})).length;A<F;A++)d=l[A],c.length>=100&&(w+=`
158`+c.length+` beginbfchar
159`+c.join(`
160`)+`
161endbfchar`,c=[]),o[d]!==void 0&&o[d]!==null&&typeof o[d].toString=="function"&&(f=("0000"+o[d].toString(16)).slice(-4),d=("0000"+(+d).toString(16)).slice(-4),c.push("<"+d+"><"+f+">"));return c.length&&(w+=`
162`+c.length+` beginbfchar
163`+c.join(`
164`)+`
165endbfchar
166`),w+`endcmap
167CMapName currentdict /CMap defineresource pop
168end
169end`};e.events.push(["putFont",function(o){(function(d){var l=d.font,c=d.out,f=d.newObject,w=d.putStream;if(l.metadata instanceof n.API.TTFFont&&l.encoding==="Identity-H"){for(var A=l.metadata.Unicode.widths,F=l.metadata.subset.encode(l.metadata.glyIdsUsed,1),m="",B=0;B<F.length;B++)m+=String.fromCharCode(F[B]);var D=f();w({data:m,addLength1:!0,objectId:D}),c("endobj");var W=f();w({data:r(l.metadata.toUnicode),addLength1:!0,objectId:W}),c("endobj");var E=f();c("<<"),c("/Type /FontDescriptor"),c("/FontName /"+Wa(l.fontName)),c("/FontFile2 "+D+" 0 R"),c("/FontBBox "+n.API.PDFObject.convert(l.metadata.bbox)),c("/Flags "+l.metadata.flags),c("/StemV "+l.metadata.stemV),c("/ItalicAngle "+l.metadata.italicAngle),c("/Ascent "+l.metadata.ascender),c("/Descent "+l.metadata.decender),c("/CapHeight "+l.metadata.capHeight),c(">>"),c("endobj");var Z=f();c("<<"),c("/Type /Font"),c("/BaseFont /"+Wa(l.fontName)),c("/FontDescriptor "+E+" 0 R"),c("/W "+n.API.PDFObject.convert(A)),c("/CIDToGIDMap /Identity"),c("/DW 1000"),c("/Subtype /CIDFontType2"),c("/CIDSystemInfo"),c("<<"),c("/Supplement 0"),c("/Registry (Adobe)"),c("/Ordering ("+l.encoding+")"),c(">>"),c(">>"),c("endobj"),l.objectNumber=f(),c("<<"),c("/Type /Font"),c("/Subtype /Type0"),c("/ToUnicode "+W+" 0 R"),c("/BaseFont /"+Wa(l.fontName)),c("/Encoding /"+l.encoding),c("/DescendantFonts ["+Z+" 0 R]"),c(">>"),c("endobj"),l.isAlreadyPutted=!0}})(o)}]),e.events.push(["putFont",function(o){(function(d){var l=d.font,c=d.out,f=d.newObject,w=d.putStream;if(l.metadata instanceof n.API.TTFFont&&l.encoding==="WinAnsiEncoding"){for(var A=l.metadata.rawData,F="",m=0;m<A.length;m++)F+=String.fromCharCode(A[m]);var B=f();w({data:F,addLength1:!0,objectId:B}),c("endobj");var D=f();w({data:r(l.metadata.toUnicode),addLength1:!0,objectId:D}),c("endobj");var W=f();c("<<"),c("/Descent "+l.metadata.decender),c("/CapHeight "+l.metadata.capHeight),c("/StemV "+l.metadata.stemV),c("/Type /FontDescriptor"),c("/FontFile2 "+B+" 0 R"),c("/Flags 96"),c("/FontBBox "+n.API.PDFObject.convert(l.metadata.bbox)),c("/FontName /"+Wa(l.fontName)),c("/ItalicAngle "+l.metadata.italicAngle),c("/Ascent "+l.metadata.ascender),c(">>"),c("endobj"),l.objectNumber=f();for(var E=0;E<l.metadata.hmtx.widths.length;E++)l.metadata.hmtx.widths[E]=parseInt(l.metadata.hmtx.widths[E]*(1e3/l.metadata.head.unitsPerEm));c("<</Subtype/TrueType/Type/Font/ToUnicode "+D+" 0 R/BaseFont/"+Wa(l.fontName)+"/FontDescriptor "+W+" 0 R/Encoding/"+l.encoding+" /FirstChar 29 /LastChar 255 /Widths "+n.API.PDFObject.convert(l.metadata.hmtx.widths)+">>"),c("endobj"),l.isAlreadyPutted=!0}})(o)}]);var a=function(o){var d,l=o.text||"",c=o.x,f=o.y,w=o.options||{},A=o.mutex||{},F=A.pdfEscape,m=A.activeFontKey,B=A.fonts,D=m,W="",E=0,Z="",ee=B[D].encoding;if(B[D].encoding!=="Identity-H")return{text:l,x:c,y:f,options:w,mutex:A};for(Z=l,D=m,Array.isArray(l)&&(Z=l[0]),E=0;E<Z.length;E+=1)B[D].metadata.hasOwnProperty("cmap")&&(d=B[D].metadata.cmap.unicode.codeMap[Z[E].charCodeAt(0)]),d||Z[E].charCodeAt(0)<256&&B[D].metadata.hasOwnProperty("Unicode")?W+=Z[E]:W+="";var Y="";return parseInt(D.slice(1))<14||ee==="WinAnsiEncoding"?Y=F(W,D).split("").map(function(be){return be.charCodeAt(0).toString(16)}).join(""):ee==="Identity-H"&&(Y=t(W,B[D])),A.isHex=!0,{text:Y,x:c,y:f,options:w,mutex:A}};e.events.push(["postProcessText",function(o){var d=o.text||"",l=[],c={text:d,x:o.x,y:o.y,options:o.options,mutex:o.mutex};if(Array.isArray(d)){var f=0;for(f=0;f<d.length;f+=1)Array.isArray(d[f])&&d[f].length===3?l.push([a(Object.assign({},c,{text:d[f][0]})).text,d[f][1],d[f][2]]):l.push(a(Object.assign({},c,{text:d[f]})).text);o.text=l}else o.text=a(Object.assign({},c,{text:d})).text}])})(ut),(function(n){var e=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};n.existsFileInVFS=function(t){return e.call(this),this.internal.vFS[t]!==void 0},n.addFileToVFS=function(t,r){return e.call(this),this.internal.vFS[t]=r,this},n.getFileFromVFS=function(t){return e.call(this),this.internal.vFS[t]!==void 0?this.internal.vFS[t]:null}})(ut.API),(function(n){n.__bidiEngine__=n.prototype.__bidiEngine__=function(r){var a,o,d,l,c,f,w,A=e,F=[[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]],m=[[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]],B={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},D={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},W=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],E=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)$/),Z=!1,ee=0;this.__bidiEngine__={};var Y=function(I){var R=I.charCodeAt(),X=R>>8,$=D[X];return $!==void 0?A[256*$+(255&R)]:X===252||X===253?"AL":E.test(X)?"L":X===8?"R":"N"},be=function(I){for(var R,X=0;X<I.length;X++){if((R=Y(I.charAt(X)))==="L")return!1;if(R==="R")return!0}return!1},ke=function(I,R,X,$){var me,Se,_e,fe,xe=R[$];switch(xe){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":Z=!1;break;case"N":case"AN":break;case"EN":Z&&(xe="AN");break;case"AL":Z=!0,xe="R";break;case"WS":case"BN":xe="N";break;case"CS":$<1||$+1>=R.length||(me=X[$-1])!=="EN"&&me!=="AN"||(Se=R[$+1])!=="EN"&&Se!=="AN"?xe="N":Z&&(Se="AN"),xe=Se===me?Se:"N";break;case"ES":xe=(me=$>0?X[$-1]:"B")==="EN"&&$+1<R.length&&R[$+1]==="EN"?"EN":"N";break;case"ET":if($>0&&X[$-1]==="EN"){xe="EN";break}if(Z){xe="N";break}for(_e=$+1,fe=R.length;_e<fe&&R[_e]==="ET";)_e++;xe=_e<fe&&R[_e]==="EN"?"EN":"N";break;case"NSM":if(d&&!l){for(fe=R.length,_e=$+1;_e<fe&&R[_e]==="NSM";)_e++;if(_e<fe){var De=I[$],Fe=De>=1425&&De<=2303||De===64286;if(me=R[_e],Fe&&(me==="R"||me==="AL")){xe="R";break}}}xe=$<1||(me=R[$-1])==="B"?"N":X[$-1];break;case"B":Z=!1,a=!0,xe=ee;break;case"S":o=!0,xe="N"}return xe},we=function(I,R,X){var $=I.split("");return X&&ie($,X,{hiLevel:ee}),$.reverse(),R&&R.reverse(),$.join("")},ie=function(I,R,X){var $,me,Se,_e,fe,xe=-1,De=I.length,Fe=0,N=[],H=ee?m:F,G=[];for(Z=!1,a=!1,o=!1,me=0;me<De;me++)G[me]=Y(I[me]);for(Se=0;Se<De;Se++){if(fe=Fe,N[Se]=ke(I,G,N,Se),$=240&(Fe=H[fe][B[N[Se]]]),Fe&=15,R[Se]=_e=H[Fe][5],$>0)if($===16){for(me=xe;me<Se;me++)R[me]=1;xe=-1}else xe=-1;if(H[Fe][6])xe===-1&&(xe=Se);else if(xe>-1){for(me=xe;me<Se;me++)R[me]=_e;xe=-1}G[Se]==="B"&&(R[Se]=0),X.hiLevel|=_e}o&&(function(K,te,ue){for(var ye=0;ye<ue;ye++)if(K[ye]==="S"){te[ye]=ee;for(var le=ye-1;le>=0&&K[le]==="WS";le--)te[le]=ee}})(G,R,De)},V=function(I,R,X,$,me){if(!(me.hiLevel<I)){if(I===1&&ee===1&&!a)return R.reverse(),void(X&&X.reverse());for(var Se,_e,fe,xe,De=R.length,Fe=0;Fe<De;){if($[Fe]>=I){for(fe=Fe+1;fe<De&&$[fe]>=I;)fe++;for(xe=Fe,_e=fe-1;xe<_e;xe++,_e--)Se=R[xe],R[xe]=R[_e],R[_e]=Se,X&&(Se=X[xe],X[xe]=X[_e],X[_e]=Se);Fe=fe}Fe++}}},se=function(I,R,X){var $=I.split(""),me={hiLevel:ee};return X||(X=[]),ie($,X,me),(function(Se,_e,fe){if(fe.hiLevel!==0&&w)for(var xe,De=0;De<Se.length;De++)_e[De]===1&&(xe=W.indexOf(Se[De]))>=0&&(Se[De]=W[xe+1])})($,X,me),V(2,$,R,X,me),V(1,$,R,X,me),$.join("")};return this.__bidiEngine__.doBidiReorder=function(I,R,X){if((function(me,Se){if(Se)for(var _e=0;_e<me.length;_e++)Se[_e]=_e;l===void 0&&(l=be(me)),f===void 0&&(f=be(me))})(I,R),d||!c||f)if(d&&c&&l^f)ee=l?1:0,I=we(I,R,X);else if(!d&&c&&f)ee=l?1:0,I=se(I,R,X),I=we(I,R);else if(!d||l||c||f){if(d&&!c&&l^f)I=we(I,R),l?(ee=0,I=se(I,R,X)):(ee=1,I=se(I,R,X),I=we(I,R));else if(d&&l&&!c&&f)ee=1,I=se(I,R,X),I=we(I,R);else if(!d&&!c&&l^f){var $=w;l?(ee=1,I=se(I,R,X),ee=0,w=!1,I=se(I,R,X),w=$):(ee=0,I=se(I,R,X),I=we(I,R),ee=1,w=!1,I=se(I,R,X),w=$,I=we(I,R))}}else ee=0,I=se(I,R,X);else ee=l?1:0,I=se(I,R,X);return I},this.__bidiEngine__.setOptions=function(I){I&&(d=I.isInputVisual,c=I.isOutputVisual,l=I.isInputRtl,f=I.isOutputRtl,w=I.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),this.__bidiEngine__};var e=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],t=new n.__bidiEngine__({isInputVisual:!0});n.API.events.push(["postProcessText",function(r){var a=r.text;r.x,r.y;var o=r.options||{};r.mutex,o.lang;var d=[];if(o.isInputVisual=typeof o.isInputVisual!="boolean"||o.isInputVisual,t.setOptions(o),Object.prototype.toString.call(a)==="[object Array]"){var l=0;for(d=[],l=0;l<a.length;l+=1)Object.prototype.toString.call(a[l])==="[object Array]"?d.push([t.doBidiReorder(a[l][0]),a[l][1],a[l][2]]):d.push([t.doBidiReorder(a[l])]);r.text=d}else r.text=t.doBidiReorder(a);t.setOptions({isInputVisual:!0})}])})(ut),ut.API.TTFFont=(function(){function n(e){var t;if(this.rawData=e,t=this.contents=new ma(e),this.contents.pos=4,t.readString(4)==="ttcf")throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new D2(this),this.registerTTF()}return n.open=function(e){return new n(e)},n.prototype.parse=function(){return this.directory=new N2(this.contents),this.head=new k2(this),this.name=new F2(this),this.cmap=new Zc(this),this.toUnicode={},this.hhea=new P2(this),this.maxp=new O2(this),this.hmtx=new T2(this),this.post=new C2(this),this.os2=new E2(this),this.loca=new B2(this),this.glyf=new R2(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]},n.prototype.registerTTF=function(){var e,t,r,a,o;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var d,l,c,f;for(f=[],d=0,l=(c=this.bbox).length;d<l;d++)e=c[d],f.push(Math.round(e*this.scaleFactor));return f}.call(this),this.stemV=0,this.post.exists?(r=255&(a=this.post.italic_angle),32768&(t=a>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(o=this.familyClass)===1||o===2||o===3||o===4||o===5||o===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},n.prototype.characterToGlyph=function(e){var t;return((t=this.cmap.unicode)!=null?t.codeMap[e]:void 0)||0},n.prototype.widthOfGlyph=function(e){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(e).advance*t},n.prototype.widthOfString=function(e,t,r){var a,o,d,l;for(d=0,o=0,l=(e=""+e).length;0<=l?o<l:o>l;o=0<=l?++o:--o)a=e.charCodeAt(o),d+=this.widthOfGlyph(this.characterToGlyph(a))+r*(1e3/t)||0;return d*(t/1e3)},n.prototype.lineHeight=function(e,t){var r;return t==null&&(t=!1),r=t?this.lineGap:0,(this.ascender+r-this.decender)/1e3*e},n})();var mi,ma=(function(){function n(e){this.data=e??[],this.pos=0,this.length=this.data.length}return n.prototype.readByte=function(){return this.data[this.pos++]},n.prototype.writeByte=function(e){return this.data[this.pos++]=e},n.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},n.prototype.writeUInt32=function(e){return this.writeByte(e>>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},n.prototype.readInt32=function(){var e;return(e=this.readUInt32())>=2147483648?e-4294967296:e},n.prototype.writeInt32=function(e){return e<0&&(e+=4294967296),this.writeUInt32(e)},n.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},n.prototype.writeUInt16=function(e){return this.writeByte(e>>8&255),this.writeByte(255&e)},n.prototype.readInt16=function(){var e;return(e=this.readUInt16())>=32768?e-65536:e},n.prototype.writeInt16=function(e){return e<0&&(e+=65536),this.writeUInt16(e)},n.prototype.readString=function(e){var t,r;for(r=[],t=0;0<=e?t<e:t>e;t=0<=e?++t:--t)r[t]=String.fromCharCode(this.readByte());return r.join("")},n.prototype.writeString=function(e){var t,r,a;for(a=[],t=0,r=e.length;0<=r?t<r:t>r;t=0<=r?++t:--t)a.push(this.writeByte(e.charCodeAt(t)));return a},n.prototype.readShort=function(){return this.readInt16()},n.prototype.writeShort=function(e){return this.writeInt16(e)},n.prototype.readLongLong=function(){var e,t,r,a,o,d,l,c;return e=this.readByte(),t=this.readByte(),r=this.readByte(),a=this.readByte(),o=this.readByte(),d=this.readByte(),l=this.readByte(),c=this.readByte(),128&e?-1*(72057594037927940*(255^e)+281474976710656*(255^t)+1099511627776*(255^r)+4294967296*(255^a)+16777216*(255^o)+65536*(255^d)+256*(255^l)+(255^c)+1):72057594037927940*e+281474976710656*t+1099511627776*r+4294967296*a+16777216*o+65536*d+256*l+c},n.prototype.writeLongLong=function(e){var t,r;return t=Math.floor(e/4294967296),r=4294967295&e,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},n.prototype.readInt=function(){return this.readInt32()},n.prototype.writeInt=function(e){return this.writeInt32(e)},n.prototype.read=function(e){var t,r;for(t=[],r=0;0<=e?r<e:r>e;r=0<=e?++r:--r)t.push(this.readByte());return t},n.prototype.write=function(e){var t,r,a,o;for(o=[],r=0,a=e.length;r<a;r++)t=e[r],o.push(this.writeByte(t));return o},n})(),N2=(function(){var n;function e(t){var r,a,o;for(this.scalarType=t.readInt(),this.tableCount=t.readShort(),this.searchRange=t.readShort(),this.entrySelector=t.readShort(),this.rangeShift=t.readShort(),this.tables={},a=0,o=this.tableCount;0<=o?a<o:a>o;a=0<=o?++a:--a)r={tag:t.readString(4),checksum:t.readInt(),offset:t.readInt(),length:t.readInt()},this.tables[r.tag]=r}return e.prototype.encode=function(t){var r,a,o,d,l,c,f,w,A,F,m,B,D;for(D in m=Object.keys(t).length,c=Math.log(2),A=16*Math.floor(Math.log(m)/c),d=Math.floor(A/c),w=16*m-A,(a=new ma).writeInt(this.scalarType),a.writeShort(m),a.writeShort(A),a.writeShort(d),a.writeShort(w),o=16*m,f=a.pos+o,l=null,B=[],t)for(F=t[D],a.writeString(D),a.writeInt(n(F)),a.writeInt(f),a.writeInt(F.length),B=B.concat(F),D==="head"&&(l=f),f+=F.length;f%4;)B.push(0),f++;return a.write(B),r=2981146554-n(a.data),a.pos=l+8,a.writeUInt32(r),a.data},n=function(t){var r,a,o,d;for(t=Qc.call(t);t.length%4;)t.push(0);for(o=new ma(t),a=0,r=0,d=t.length;r<d;r=r+=4)a+=o.readUInt32();return 4294967295&a},e})(),L2={}.hasOwnProperty,Ei=function(n,e){for(var t in e)L2.call(e,t)&&(n[t]=e[t]);function r(){this.constructor=n}return r.prototype=e.prototype,n.prototype=new r,n.__super__=e.prototype,n};mi=(function(){function n(e){var t;this.file=e,t=this.file.directory.tables[this.tag],this.exists=!!t,t&&(this.offset=t.offset,this.length=t.length,this.parse(this.file.contents))}return n.prototype.parse=function(){},n.prototype.encode=function(){},n.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},n})();var k2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return Ei(n,mi),n.prototype.tag="head",n.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.revision=e.readInt(),this.checkSumAdjustment=e.readInt(),this.magicNumber=e.readInt(),this.flags=e.readShort(),this.unitsPerEm=e.readShort(),this.created=e.readLongLong(),this.modified=e.readLongLong(),this.xMin=e.readShort(),this.yMin=e.readShort(),this.xMax=e.readShort(),this.yMax=e.readShort(),this.macStyle=e.readShort(),this.lowestRecPPEM=e.readShort(),this.fontDirectionHint=e.readShort(),this.indexToLocFormat=e.readShort(),this.glyphDataFormat=e.readShort()},n.prototype.encode=function(e){var t;return(t=new ma).writeInt(this.version),t.writeInt(this.revision),t.writeInt(this.checkSumAdjustment),t.writeInt(this.magicNumber),t.writeShort(this.flags),t.writeShort(this.unitsPerEm),t.writeLongLong(this.created),t.writeLongLong(this.modified),t.writeShort(this.xMin),t.writeShort(this.yMin),t.writeShort(this.xMax),t.writeShort(this.yMax),t.writeShort(this.macStyle),t.writeShort(this.lowestRecPPEM),t.writeShort(this.fontDirectionHint),t.writeShort(e),t.writeShort(this.glyphDataFormat),t.data},n})(),rc=(function(){function n(e,t){var r,a,o,d,l,c,f,w,A,F,m,B,D,W,E,Z,ee;switch(this.platformID=e.readUInt16(),this.encodingID=e.readShort(),this.offset=t+e.readInt(),A=e.pos,e.pos=this.offset,this.format=e.readUInt16(),this.length=e.readUInt16(),this.language=e.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(c=0;c<256;++c)this.codeMap[c]=e.readByte();break;case 4:for(m=e.readUInt16(),F=m/2,e.pos+=6,o=(function(){var Y,be;for(be=[],c=Y=0;0<=F?Y<F:Y>F;c=0<=F?++Y:--Y)be.push(e.readUInt16());return be})(),e.pos+=2,D=(function(){var Y,be;for(be=[],c=Y=0;0<=F?Y<F:Y>F;c=0<=F?++Y:--Y)be.push(e.readUInt16());return be})(),f=(function(){var Y,be;for(be=[],c=Y=0;0<=F?Y<F:Y>F;c=0<=F?++Y:--Y)be.push(e.readUInt16());return be})(),w=(function(){var Y,be;for(be=[],c=Y=0;0<=F?Y<F:Y>F;c=0<=F?++Y:--Y)be.push(e.readUInt16());return be})(),a=(this.length-e.pos+this.offset)/2,l=(function(){var Y,be;for(be=[],c=Y=0;0<=a?Y<a:Y>a;c=0<=a?++Y:--Y)be.push(e.readUInt16());return be})(),c=E=0,ee=o.length;E<ee;c=++E)for(W=o[c],r=Z=B=D[c];B<=W?Z<=W:Z>=W;r=B<=W?++Z:--Z)w[c]===0?d=r+f[c]:(d=l[w[c]/2+(r-B)-(F-c)]||0)!==0&&(d+=f[c]),this.codeMap[r]=65535&d}e.pos=A}return n.encode=function(e,t){var r,a,o,d,l,c,f,w,A,F,m,B,D,W,E,Z,ee,Y,be,ke,we,ie,V,se,I,R,X,$,me,Se,_e,fe,xe,De,Fe,N,H,G,K,te,ue,ye,le,ve,Ce,qe;switch($=new ma,d=Object.keys(e).sort(function(Me,We){return Me-We}),t){case"macroman":for(D=0,W=(function(){var Me=[];for(B=0;B<256;++B)Me.push(0);return Me})(),Z={0:0},o={},me=0,xe=d.length;me<xe;me++)Z[le=e[a=d[me]]]==null&&(Z[le]=++D),o[a]={old:e[a],new:Z[e[a]]},W[a]=Z[e[a]];return $.writeUInt16(1),$.writeUInt16(0),$.writeUInt32(12),$.writeUInt16(0),$.writeUInt16(262),$.writeUInt16(0),$.write(W),{charMap:o,subtable:$.data,maxGlyphID:D+1};case"unicode":for(R=[],A=[],ee=0,Z={},r={},E=f=null,Se=0,De=d.length;Se<De;Se++)Z[be=e[a=d[Se]]]==null&&(Z[be]=++ee),r[a]={old:be,new:Z[be]},l=Z[be]-a,E!=null&&l===f||(E&&A.push(E),R.push(a),f=l),E=a;for(E&&A.push(E),A.push(65535),R.push(65535),se=2*(V=R.length),ie=2*Math.pow(Math.log(V)/Math.LN2,2),F=Math.log(ie/2)/Math.LN2,we=2*V-ie,c=[],ke=[],m=[],B=_e=0,Fe=R.length;_e<Fe;B=++_e){if(I=R[B],w=A[B],I===65535){c.push(0),ke.push(0);break}if(I-(X=r[I].new)>=32768)for(c.push(0),ke.push(2*(m.length+V-B)),a=fe=I;I<=w?fe<=w:fe>=w;a=I<=w?++fe:--fe)m.push(r[a].new);else c.push(X-I),ke.push(0)}for($.writeUInt16(3),$.writeUInt16(1),$.writeUInt32(12),$.writeUInt16(4),$.writeUInt16(16+8*V+2*m.length),$.writeUInt16(0),$.writeUInt16(se),$.writeUInt16(ie),$.writeUInt16(F),$.writeUInt16(we),ue=0,N=A.length;ue<N;ue++)a=A[ue],$.writeUInt16(a);for($.writeUInt16(0),ye=0,H=R.length;ye<H;ye++)a=R[ye],$.writeUInt16(a);for(ve=0,G=c.length;ve<G;ve++)l=c[ve],$.writeUInt16(l);for(Ce=0,K=ke.length;Ce<K;Ce++)Y=ke[Ce],$.writeUInt16(Y);for(qe=0,te=m.length;qe<te;qe++)D=m[qe],$.writeUInt16(D);return{charMap:r,subtable:$.data,maxGlyphID:ee+1}}},n})(),Zc=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return Ei(n,mi),n.prototype.tag="cmap",n.prototype.parse=function(e){var t,r,a;for(e.pos=this.offset,this.version=e.readUInt16(),a=e.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=a?r<a:r>a;r=0<=a?++r:--r)t=new rc(e,this.offset),this.tables.push(t),t.isUnicode&&this.unicode==null&&(this.unicode=t);return!0},n.encode=function(e,t){var r,a;return t==null&&(t="macroman"),r=rc.encode(e,t),(a=new ma).writeUInt16(0),a.writeUInt16(1),r.table=a.data.concat(r.subtable),r},n})(),P2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return Ei(n,mi),n.prototype.tag="hhea",n.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.ascender=e.readShort(),this.decender=e.readShort(),this.lineGap=e.readShort(),this.advanceWidthMax=e.readShort(),this.minLeftSideBearing=e.readShort(),this.minRightSideBearing=e.readShort(),this.xMaxExtent=e.readShort(),this.caretSlopeRise=e.readShort(),this.caretSlopeRun=e.readShort(),this.caretOffset=e.readShort(),e.pos+=8,this.metricDataFormat=e.readShort(),this.numberOfMetrics=e.readUInt16()},n})(),E2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return Ei(n,mi),n.prototype.tag="OS/2",n.prototype.parse=function(e){if(e.pos=this.offset,this.version=e.readUInt16(),this.averageCharWidth=e.readShort(),this.weightClass=e.readUInt16(),this.widthClass=e.readUInt16(),this.type=e.readShort(),this.ySubscriptXSize=e.readShort(),this.ySubscriptYSize=e.readShort(),this.ySubscriptXOffset=e.readShort(),this.ySubscriptYOffset=e.readShort(),this.ySuperscriptXSize=e.readShort(),this.ySuperscriptYSize=e.readShort(),this.ySuperscriptXOffset=e.readShort(),this.ySuperscriptYOffset=e.readShort(),this.yStrikeoutSize=e.readShort(),this.yStrikeoutPosition=e.readShort(),this.familyClass=e.readShort(),this.panose=(function(){var t,r;for(r=[],t=0;t<10;++t)r.push(e.readByte());return r})(),this.charRange=(function(){var t,r;for(r=[],t=0;t<4;++t)r.push(e.readInt());return r})(),this.vendorID=e.readString(4),this.selection=e.readShort(),this.firstCharIndex=e.readShort(),this.lastCharIndex=e.readShort(),this.version>0&&(this.ascent=e.readShort(),this.descent=e.readShort(),this.lineGap=e.readShort(),this.winAscent=e.readShort(),this.winDescent=e.readShort(),this.codePageRange=(function(){var t,r;for(r=[],t=0;t<2;t=++t)r.push(e.readInt());return r})(),this.version>1))return this.xHeight=e.readShort(),this.capHeight=e.readShort(),this.defaultChar=e.readShort(),this.breakChar=e.readShort(),this.maxContext=e.readShort()},n})(),C2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return Ei(n,mi),n.prototype.tag="post",n.prototype.parse=function(e){var t,r,a;switch(e.pos=this.offset,this.format=e.readInt(),this.italicAngle=e.readInt(),this.underlinePosition=e.readShort(),this.underlineThickness=e.readShort(),this.isFixedPitch=e.readInt(),this.minMemType42=e.readInt(),this.maxMemType42=e.readInt(),this.minMemType1=e.readInt(),this.maxMemType1=e.readInt(),this.format){case 65536:case 196608:break;case 131072:var o;for(r=e.readUInt16(),this.glyphNameIndex=[],o=0;0<=r?o<r:o>r;o=0<=r?++o:--o)this.glyphNameIndex.push(e.readUInt16());for(this.names=[],a=[];e.pos<this.offset+this.length;)t=e.readByte(),a.push(this.names.push(e.readString(t)));return a;case 151552:return r=e.readUInt16(),this.offsets=e.read(r);case 262144:return this.map=function(){var d,l,c;for(c=[],o=d=0,l=this.file.maxp.numGlyphs;0<=l?d<l:d>l;o=0<=l?++d:--d)c.push(e.readUInt32());return c}.call(this)}},n})(),I2=function(n,e){this.raw=n,this.length=n.length,this.platformID=e.platformID,this.encodingID=e.encodingID,this.languageID=e.languageID},F2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return Ei(n,mi),n.prototype.tag="name",n.prototype.parse=function(e){var t,r,a,o,d,l,c,f,w,A,F;for(e.pos=this.offset,e.readShort(),t=e.readShort(),l=e.readShort(),r=[],o=0;0<=t?o<t:o>t;o=0<=t?++o:--o)r.push({platformID:e.readShort(),encodingID:e.readShort(),languageID:e.readShort(),nameID:e.readShort(),length:e.readShort(),offset:this.offset+l+e.readShort()});for(c={},o=w=0,A=r.length;w<A;o=++w)a=r[o],e.pos=a.offset,f=e.readString(a.length),d=new I2(f,a),c[F=a.nameID]==null&&(c[F]=[]),c[a.nameID].push(d);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]},n})(),O2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return Ei(n,mi),n.prototype.tag="maxp",n.prototype.parse=function(e){return e.pos=this.offset,this.version=e.readInt(),this.numGlyphs=e.readUInt16(),this.maxPoints=e.readUInt16(),this.maxContours=e.readUInt16(),this.maxCompositePoints=e.readUInt16(),this.maxComponentContours=e.readUInt16(),this.maxZones=e.readUInt16(),this.maxTwilightPoints=e.readUInt16(),this.maxStorage=e.readUInt16(),this.maxFunctionDefs=e.readUInt16(),this.maxInstructionDefs=e.readUInt16(),this.maxStackElements=e.readUInt16(),this.maxSizeOfInstructions=e.readUInt16(),this.maxComponentElements=e.readUInt16(),this.maxComponentDepth=e.readUInt16()},n})(),T2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return Ei(n,mi),n.prototype.tag="hmtx",n.prototype.parse=function(e){var t,r,a,o,d,l,c;for(e.pos=this.offset,this.metrics=[],t=0,l=this.file.hhea.numberOfMetrics;0<=l?t<l:t>l;t=0<=l?++t:--t)this.metrics.push({advance:e.readUInt16(),lsb:e.readInt16()});for(a=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=(function(){var f,w;for(w=[],t=f=0;0<=a?f<a:f>a;t=0<=a?++f:--f)w.push(e.readInt16());return w})(),this.widths=function(){var f,w,A,F;for(F=[],f=0,w=(A=this.metrics).length;f<w;f++)o=A[f],F.push(o.advance);return F}.call(this),r=this.widths[this.widths.length-1],c=[],t=d=0;0<=a?d<a:d>a;t=0<=a?++d:--d)c.push(this.widths.push(r));return c},n.prototype.forGlyph=function(e){return e in this.metrics?this.metrics[e]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[e-this.metrics.length]}},n})(),Qc=[].slice,R2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return Ei(n,mi),n.prototype.tag="glyf",n.prototype.parse=function(){return this.cache={}},n.prototype.glyphFor=function(e){var t,r,a,o,d,l,c,f,w,A;return e in this.cache?this.cache[e]:(o=this.file.loca,t=this.file.contents,r=o.indexOf(e),(a=o.lengthOf(e))===0?this.cache[e]=null:(t.pos=this.offset+r,d=(l=new ma(t.read(a))).readShort(),f=l.readShort(),A=l.readShort(),c=l.readShort(),w=l.readShort(),this.cache[e]=d===-1?new j2(l,f,A,c,w):new M2(l,d,f,A,c,w),this.cache[e]))},n.prototype.encode=function(e,t,r){var a,o,d,l,c;for(d=[],o=[],l=0,c=t.length;l<c;l++)a=e[t[l]],o.push(d.length),a&&(d=d.concat(a.encode(r)));return o.push(d.length),{table:d,offsets:o}},n})(),M2=(function(){function n(e,t,r,a,o,d){this.raw=e,this.numberOfContours=t,this.xMin=r,this.yMin=a,this.xMax=o,this.yMax=d,this.compound=!1}return n.prototype.encode=function(){return this.raw.data},n})(),j2=(function(){function n(e,t,r,a,o){var d,l;for(this.raw=e,this.xMin=t,this.yMin=r,this.xMax=a,this.yMax=o,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],d=this.raw;l=d.readShort(),this.glyphOffsets.push(d.pos),this.glyphIDs.push(d.readUInt16()),32&l;)d.pos+=1&l?4:2,128&l?d.pos+=8:64&l?d.pos+=4:8&l&&(d.pos+=2)}return n.prototype.encode=function(){var e,t,r;for(t=new ma(Qc.call(this.raw.data)),e=0,r=this.glyphIDs.length;e<r;++e)t.pos=this.glyphOffsets[e];return t.data},n})(),B2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return Ei(n,mi),n.prototype.tag="loca",n.prototype.parse=function(e){var t,r;return e.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=t===0?function(){var a,o;for(o=[],r=0,a=this.length;r<a;r+=2)o.push(2*e.readUInt16());return o}.call(this):function(){var a,o;for(o=[],r=0,a=this.length;r<a;r+=4)o.push(e.readUInt32());return o}.call(this)},n.prototype.indexOf=function(e){return this.offsets[e]},n.prototype.lengthOf=function(e){return this.offsets[e+1]-this.offsets[e]}
169,n.prototype.encode=function(e,t){for(var r=new Uint32Array(this.offsets.length),a=0,o=0,d=0;d<r.length;++d)if(r[d]=a,o<t.length&&t[o]==d){++o,r[d]=a;var l=this.offsets[d],c=this.offsets[d+1]-l;c>0&&(a+=c)}for(var f=new Array(4*r.length),w=0;w<r.length;++w)f[4*w+3]=255&r[w],f[4*w+2]=(65280&r[w])>>8,f[4*w+1]=(16711680&r[w])>>16,f[4*w]=(4278190080&r[w])>>24;return f},n})(),D2=(function(){function n(e){this.font=e,this.subset={},this.unicodes={},this.next=33}return n.prototype.generateCmap=function(){var e,t,r,a,o;for(t in a=this.font.cmap.tables[0].codeMap,e={},o=this.subset)r=o[t],e[t]=a[r];return e},n.prototype.glyphsFor=function(e){var t,r,a,o,d,l,c;for(a={},d=0,l=e.length;d<l;d++)a[o=e[d]]=this.font.glyf.glyphFor(o);for(o in t=[],a)(r=a[o])!=null&&r.compound&&t.push.apply(t,r.glyphIDs);if(t.length>0)for(o in c=this.glyphsFor(t))r=c[o],a[o]=r;return a},n.prototype.encode=function(e,t){var r,a,o,d,l,c,f,w,A,F,m,B,D,W,E;for(a in r=Zc.encode(this.generateCmap(),"unicode"),d=this.glyphsFor(e),m={0:0},E=r.charMap)m[(c=E[a]).old]=c.new;for(B in F=r.maxGlyphID,d)B in m||(m[B]=F++);return w=(function(Z){var ee,Y;for(ee in Y={},Z)Y[Z[ee]]=ee;return Y})(m),A=Object.keys(w).sort(function(Z,ee){return Z-ee}),D=(function(){var Z,ee,Y;for(Y=[],Z=0,ee=A.length;Z<ee;Z++)l=A[Z],Y.push(w[l]);return Y})(),o=this.font.glyf.encode(d,D,m),f=this.font.loca.encode(o.offsets,D),W={cmap:this.font.cmap.raw(),glyf:o.table,loca:f,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(t)},this.font.os2.exists&&(W["OS/2"]=this.font.os2.raw()),this.font.directory.encode(W)},n})();ut.API.PDFObject=(function(){var n;function e(){}return n=function(t,r){return(Array(r+1).join("0")+t).slice(-r)},e.convert=function(t){var r,a,o,d;if(Array.isArray(t))return"["+(function(){var l,c,f;for(f=[],l=0,c=t.length;l<c;l++)r=t[l],f.push(e.convert(r));return f})().join(" ")+"]";if(typeof t=="string")return"/"+t;if(t?.isString)return"("+t+")";if(t instanceof Date)return"(D:"+n(t.getUTCFullYear(),4)+n(t.getUTCMonth(),2)+n(t.getUTCDate(),2)+n(t.getUTCHours(),2)+n(t.getUTCMinutes(),2)+n(t.getUTCSeconds(),2)+"Z)";if({}.toString.call(t)==="[object Object]"){for(a in o=["<<"],t)d=t[a],o.push("/"+a+" "+e.convert(d));return o.push(">>"),o.join(`
170`)}return""+t},e})();var pa={},Aa={};/**
171 * @license React
172 * react-dom-server-legacy.browser.production.min.js
173 *
174 * Copyright (c) Facebook, Inc. and its affiliates.
175 *
176 * This source code is licensed under the MIT license found in the
177 * LICENSE file in the root directory of this source tree.
178 */var ic;function q2(){if(ic)return Aa;ic=1;var n=lc();function e(p){for(var b="https://reactjs.org/docs/error-decoder.html?invariant="+p,P=1;P<arguments.length;P++)b+="&args[]="+encodeURIComponent(arguments[P]);return"Minified React error #"+p+"; visit "+b+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=Object.prototype.hasOwnProperty,r=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,a={},o={};function d(p){return t.call(o,p)?!0:t.call(a,p)?!1:r.test(p)?o[p]=!0:(a[p]=!0,!1)}function l(p,b,P,j,pe,ce,Pe){this.acceptsBooleans=b===2||b===3||b===4,this.attributeName=j,this.attributeNamespace=pe,this.mustUseProperty=P,this.propertyName=p,this.type=b,this.sanitizeURL=ce,this.removeEmptyString=Pe}var c={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(p){c[p]=new l(p,0,!1,p,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(p){var b=p[0];c[b]=new l(b,1,!1,p[1],null,!1,!1)}
vendor: 70,653 bytes, lines 178-196
178),["contentEditable","draggable","spellCheck","value"].forEach(function(p){c[p]=new l(p,2,!1,p.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(p){c[p]=new l(p,2,!1,p,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(p){c[p]=new l(p,3,!1,p.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(p){c[p]=new l(p,3,!0,p,null,!1,!1)}),["capture","download"].forEach(function(p){c[p]=new l(p,4,!1,p,null,!1,!1)}),["cols","rows","size","span"].forEach(function(p){c[p]=new l(p,6,!1,p,null,!1,!1)}),["rowSpan","start"].forEach(function(p){c[p]=new l(p,5,!1,p.toLowerCase(),null,!1,!1)});var f=/[\-:]([a-z])/g;function w(p){return p[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(p){var b=p.replace(f,w);c[b]=new l(b,1,!1,p,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(p){var b=p.replace(f,w);c[b]=new l(b,1,!1,p,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(p){var b=p.replace(f,w);c[b]=new l(b,1,!1,p,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(p){c[p]=new l(p,1,!1,p.toLowerCase(),null,!1,!1)}),c.xlinkHref=new l("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(p){c[p]=new l(p,1,!1,p.toLowerCase(),null,!0,!0)});var A={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},F=["Webkit","ms","Moz","O"];Object.keys(A).forEach(function(p){F.forEach(function(b){b=b+p.charAt(0).toUpperCase()+p.substring(1),A[b]=A[p]})});var m=/["'&<>]/;function B(p){if(typeof p=="boolean"||typeof p=="number")return""+p;p=""+p;var b=m.exec(p);if(b){var P="",j,pe=0;for(j=b.index;j<p.length;j++){switch(p.charCodeAt(j)){case 34:b="&quot;";break;case 38:b="&amp;";break;case 39:b="&#x27;";break;case 60:b="&lt;";break;case 62:b="&gt;";break;default:continue}pe!==j&&(P+=p.substring(pe,j)),pe=j+1,P+=b}p=pe!==j?P+p.substring(pe,j):P}return p}var D=/([A-Z])/g,W=/^ms-/,E=Array.isArray;function Z(p,b){return{insertionMode:p,selectedValue:b}}function ee(p,b,P){switch(b){case"select":return Z(1,P.value!=null?P.value:P.defaultValue);case"svg":return Z(2,null);case"math":return Z(3,null);case"foreignObject":return Z(1,null);case"table":return Z(4,null);case"thead":case"tbody":case"tfoot":return Z(5,null);case"colgroup":return Z(7,null);case"tr":return Z(6,null)}return 4<=p.insertionMode||p.insertionMode===0?Z(1,null):p}var Y=new Map;function be(p,b,P){if(typeof P!="object")throw Error(e(62));b=!0;for(var j in P)if(t.call(P,j)){var pe=P[j];if(pe!=null&&typeof pe!="boolean"&&pe!==""){if(j.indexOf("--")===0){var ce=B(j);pe=B((""+pe).trim())}else{ce=j;var Pe=Y.get(ce);Pe!==void 0||(Pe=B(ce.replace(D,"-$1").toLowerCase().replace(W,"-ms-")),Y.set(ce,Pe)),ce=Pe,pe=typeof pe=="number"?pe===0||t.call(A,j)?""+pe:pe+"px":B((""+pe).trim())}b?(b=!1,p.push(' style="',ce,":",pe)):p.push(";",ce,":",pe)}}b||p.push('"')}function ke(p,b,P,j){switch(P){case"style":be(p,b,j);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<P.length)||P[0]!=="o"&&P[0]!=="O"||P[1]!=="n"&&P[1]!=="N"){if(b=c.hasOwnProperty(P)?c[P]:null,b!==null){switch(typeof j){case"function":case"symbol":return;case"boolean":if(!b.acceptsBooleans)return}switch(P=b.attributeName,b.type){case 3:j&&p.push(" ",P,'=""');break;case 4:j===!0?p.push(" ",P,'=""'):j!==!1&&p.push(" ",P,'="',B(j),'"');break;case 5:isNaN(j)||p.push(" ",P,'="',B(j),'"');break;case 6:!isNaN(j)&&1<=j&&p.push(" ",P,'="',B(j),'"');break;default:b.sanitizeURL&&(j=""+j),p.push(" ",P,'="',B(j),'"')}}else if(d(P)){switch(typeof j){case"function":case"symbol":return;case"boolean":if(b=P.toLowerCase().slice(0,5),b!=="data-"&&b!=="aria-")return}p.push(" ",P,'="',B(j),'"')}}}function we(p,b,P){if(b!=null){if(P!=null)throw Error(e(60));if(typeof b!="object"||!("__html"in b))throw Error(e(61));b=b.__html,b!=null&&p.push(""+b)}}function ie(p){var b="";return n.Children.forEach(p,function(P){P!=null&&(b+=P)}),b}function V(p,b,P,j){p.push(R(P));var pe=P=null,ce;for(ce in b)if(t.call(b,ce)){var Pe=b[ce];if(Pe!=null)switch(ce){case"children":P=Pe;break;case"dangerouslySetInnerHTML":pe=Pe;break;default:ke(p,j,ce,Pe)}}return p.push(">"),we(p,pe,P),typeof P=="string"?(p.push(B(P)),null):P}var se=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,I=new Map;function R(p){var b=I.get(p);if(b===void 0){if(!se.test(p))throw Error(e(65,p));b="<"+p,I.set(p,b)}return b}function X(p,b,P,j,pe){switch(b){case"select":p.push(R("select"));var ce=null,Pe=null;for(yt in P)if(t.call(P,yt)){var Ue=P[yt];if(Ue!=null)switch(yt){case"children":ce=Ue;break;case"dangerouslySetInnerHTML":Pe=Ue;break;case"defaultValue":case"value":break;default:ke(p,j,yt,Ue)}}return p.push(">"),we(p,Pe,ce),ce;case"option":Pe=pe.selectedValue,p.push(R("option"));var at=Ue=null,pt=null,yt=null;for(ce in P)if(t.call(P,ce)){var zt=P[ce];if(zt!=null)switch(ce){case"children":Ue=zt;break;case"selected":pt=zt;break;case"dangerouslySetInnerHTML":yt=zt;break;case"value":at=zt;default:ke(p,j,ce,zt)}}if(Pe!=null)if(P=at!==null?""+at:ie(Ue),E(Pe)){for(j=0;j<Pe.length;j++)if(""+Pe[j]===P){p.push(' selected=""');break}}else""+Pe===P&&p.push(' selected=""');else pt&&p.push(' selected=""');return p.push(">"),we(p,yt,Ue),Ue;case"textarea":p.push(R("textarea")),yt=Pe=ce=null;for(Ue in P)if(t.call(P,Ue)&&(at=P[Ue],at!=null))switch(Ue){case"children":yt=at;break;case"value":ce=at;break;case"defaultValue":Pe=at;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:ke(p,j,Ue,at)}if(ce===null&&Pe!==null&&(ce=Pe),p.push(">"),yt!=null){if(ce!=null)throw Error(e(92));if(E(yt)&&1<yt.length)throw Error(e(93));ce=""+yt}return typeof ce=="string"&&ce[0]===`
179`&&p.push(`
180`),ce!==null&&p.push(B(""+ce)),null;case"input":p.push(R("input")),at=yt=Ue=ce=null;for(Pe in P)if(t.call(P,Pe)&&(pt=P[Pe],pt!=null))switch(Pe){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":at=pt;break;case"defaultValue":Ue=pt;break;case"checked":yt=pt;break;case"value":ce=pt;break;default:ke(p,j,Pe,pt)}return yt!==null?ke(p,j,"checked",yt):at!==null&&ke(p,j,"checked",at),ce!==null?ke(p,j,"value",ce):Ue!==null&&ke(p,j,"value",Ue),p.push("/>"),null;case"menuitem":p.push(R("menuitem"));for(var Gn in P)if(t.call(P,Gn)&&(ce=P[Gn],ce!=null))switch(Gn){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:ke(p,j,Gn,ce)}return p.push(">"),null;case"title":p.push(R("title")),ce=null;for(zt in P)if(t.call(P,zt)&&(Pe=P[zt],Pe!=null))switch(zt){case"children":ce=Pe;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:ke(p,j,zt,Pe)}return p.push(">"),ce;case"listing":case"pre":p.push(R(b)),Pe=ce=null;for(at in P)if(t.call(P,at)&&(Ue=P[at],Ue!=null))switch(at){case"children":ce=Ue;break;case"dangerouslySetInnerHTML":Pe=Ue;break;default:ke(p,j,at,Ue)}if(p.push(">"),Pe!=null){if(ce!=null)throw Error(e(60));if(typeof Pe!="object"||!("__html"in Pe))throw Error(e(61));P=Pe.__html,P!=null&&(typeof P=="string"&&0<P.length&&P[0]===`
181`?p.push(`
182`,P):p.push(""+P))}return typeof ce=="string"&&ce[0]===`
183`&&p.push(`
184`),ce;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":p.push(R(b));for(var mr in P)if(t.call(P,mr)&&(ce=P[mr],ce!=null))switch(mr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,b));default:ke(p,j,mr,ce)}return p.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return V(p,P,b,j);case"html":return pe.insertionMode===0&&p.push("<!DOCTYPE html>"),V(p,P,b,j);default:if(b.indexOf("-")===-1&&typeof P.is!="string")return V(p,P,b,j);p.push(R(b)),Pe=ce=null;for(pt in P)if(t.call(P,pt)&&(Ue=P[pt],Ue!=null))switch(pt){case"children":ce=Ue;break;case"dangerouslySetInnerHTML":Pe=Ue;break;case"style":be(p,j,Ue);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:d(pt)&&typeof Ue!="function"&&typeof Ue!="symbol"&&p.push(" ",pt,'="',B(Ue),'"')}return p.push(">"),we(p,Pe,ce),ce}}function $(p,b,P){if(p.push('<!--$?--><template id="'),P===null)throw Error(e(395));return p.push(P),p.push('"></template>')}function me(p,b,P,j){switch(P.insertionMode){case 0:case 1:return p.push('<div hidden id="'),p.push(b.segmentPrefix),b=j.toString(16),p.push(b),p.push('">');case 2:return p.push('<svg aria-hidden="true" style="display:none" id="'),p.push(b.segmentPrefix),b=j.toString(16),p.push(b),p.push('">');case 3:return p.push('<math aria-hidden="true" style="display:none" id="'),p.push(b.segmentPrefix),b=j.toString(16),p.push(b),p.push('">');case 4:return p.push('<table hidden id="'),p.push(b.segmentPrefix),b=j.toString(16),p.push(b),p.push('">');case 5:return p.push('<table hidden><tbody id="'),p.push(b.segmentPrefix),b=j.toString(16),p.push(b),p.push('">');case 6:return p.push('<table hidden><tr id="'),p.push(b.segmentPrefix),b=j.toString(16),p.push(b),p.push('">');case 7:return p.push('<table hidden><colgroup id="'),p.push(b.segmentPrefix),b=j.toString(16),p.push(b),p.push('">');default:throw Error(e(397))}}function Se(p,b){switch(b.insertionMode){case 0:case 1:return p.push("</div>");case 2:return p.push("</svg>");case 3:return p.push("</math>");case 4:return p.push("</table>");case 5:return p.push("</tbody></table>");case 6:return p.push("</tr></table>");case 7:return p.push("</colgroup></table>");default:throw Error(e(397))}}var _e=/[<\u2028\u2029]/g;function fe(p){return JSON.stringify(p).replace(_e,function(b){switch(b){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}function xe(p,b){return b=b===void 0?"":b,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:b+"P:",segmentPrefix:b+"S:",boundaryPrefix:b+"B:",idPrefix:b,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:p}}function De(p,b,P,j){return P.generateStaticMarkup?(p.push(B(b)),!1):(b===""?p=j:(j&&p.push("<!-- -->"),p.push(B(b)),p=!0),p)}var Fe=Object.assign,N=Symbol.for("react.element"),H=Symbol.for("react.portal"),G=Symbol.for("react.fragment"),K=Symbol.for("react.strict_mode"),te=Symbol.for("react.profiler"),ue=Symbol.for("react.provider"),ye=Symbol.for("react.context"),le=Symbol.for("react.forward_ref"),ve=Symbol.for("react.suspense"),Ce=Symbol.for("react.suspense_list"),qe=Symbol.for("react.memo"),Me=Symbol.for("react.lazy"),We=Symbol.for("react.scope"),T=Symbol.for("react.debug_trace_mode"),ze=Symbol.for("react.legacy_hidden"),mt=Symbol.for("react.default_value"),Qe=Symbol.iterator;function Oe(p){if(p==null)return null;if(typeof p=="function")return p.displayName||p.name||null;if(typeof p=="string")return p;switch(p){case G:return"Fragment";case H:return"Portal";case te:return"Profiler";case K:return"StrictMode";case ve:return"Suspense";case Ce:return"SuspenseList"}if(typeof p=="object")switch(p.$$typeof){case ye:return(p.displayName||"Context")+".Consumer";case ue:return(p._context.displayName||"Context")+".Provider";case le:var b=p.render;return p=p.displayName,p||(p=b.displayName||b.name||"",p=p!==""?"ForwardRef("+p+")":"ForwardRef"),p;case qe:return b=p.displayName||null,b!==null?b:Oe(p.type)||"Memo";case Me:b=p._payload,p=p._init;try{return Oe(p(b))}catch{}}return null}var ot={};function Ge(p,b){if(p=p.contextTypes,!p)return ot;var P={},j;for(j in p)P[j]=b[j];return P}var et=null;function $e(p,b){if(p!==b){p.context._currentValue2=p.parentValue,p=p.parent;var P=b.parent;if(p===null){if(P!==null)throw Error(e(401))}else{if(P===null)throw Error(e(401));$e(p,P)}b.context._currentValue2=b.value}}function jt(p){p.context._currentValue2=p.parentValue,p=p.parent,p!==null&&jt(p)}function Ct(p){var b=p.parent;b!==null&&Ct(b),p.context._currentValue2=p.value}function xt(p,b){if(p.context._currentValue2=p.parentValue,p=p.parent,p===null)throw Error(e(402));p.depth===b.depth?$e(p,b):xt(p,b)}function Ot(p,b){var P=b.parent;if(P===null)throw Error(e(402));p.depth===P.depth?$e(p,P):Ot(p,P),b.context._currentValue2=b.value}function Lt(p){var b=et;b!==p&&(b===null?Ct(p):p===null?jt(b):b.depth===p.depth?$e(b,p):b.depth>p.depth?xt(b,p):Ot(b,p),et=p)}var Ke={isMounted:function(){return!1},enqueueSetState:function(p,b){p=p._reactInternals,p.queue!==null&&p.queue.push(b)},enqueueReplaceState:function(p,b){p=p._reactInternals,p.replace=!0,p.queue=[b]},enqueueForceUpdate:function(){}};function _t(p,b,P,j){var pe=p.state!==void 0?p.state:null;p.updater=Ke,p.props=P,p.state=pe;var ce={queue:[],replace:!1};p._reactInternals=ce;var Pe=b.contextType;if(p.context=typeof Pe=="object"&&Pe!==null?Pe._currentValue2:j,Pe=b.getDerivedStateFromProps,typeof Pe=="function"&&(Pe=Pe(P,pe),pe=Pe==null?pe:Fe({},pe,Pe),p.state=pe),typeof b.getDerivedStateFromProps!="function"&&typeof p.getSnapshotBeforeUpdate!="function"&&(typeof p.UNSAFE_componentWillMount=="function"||typeof p.componentWillMount=="function"))if(b=p.state,typeof p.componentWillMount=="function"&&p.componentWillMount(),typeof p.UNSAFE_componentWillMount=="function"&&p.UNSAFE_componentWillMount(),b!==p.state&&Ke.enqueueReplaceState(p,p.state,null),ce.queue!==null&&0<ce.queue.length)if(b=ce.queue,Pe=ce.replace,ce.queue=null,ce.replace=!1,Pe&&b.length===1)p.state=b[0];else{for(ce=Pe?b[0]:p.state,pe=!0,Pe=Pe?1:0;Pe<b.length;Pe++){var Ue=b[Pe];Ue=typeof Ue=="function"?Ue.call(p,ce,P,j):Ue,Ue!=null&&(pe?(pe=!1,ce=Fe({},ce,Ue)):Fe(ce,Ue))}p.state=ce}else ce.queue=null}var nt={id:1,overflow:""};function en(p,b,P){var j=p.id;p=p.overflow;var pe=32-Tt(j)-1;j&=~(1<<pe),P+=1;var ce=32-Tt(b)+pe;if(30<ce){var Pe=pe-pe%5;return ce=(j&(1<<Pe)-1).toString(32),j>>=Pe,pe-=Pe,{id:1<<32-Tt(b)+pe|P<<pe|j,overflow:ce+p}}return{id:1<<ce|P<<pe|j,overflow:p}}var Tt=Math.clz32?Math.clz32:Zt,kt=Math.log,Pt=Math.LN2;function Zt(p){return p>>>=0,p===0?32:31-(kt(p)/Pt|0)|0}function ct(p,b){return p===b&&(p!==0||1/p===1/b)||p!==p&&b!==b}var Wt=typeof Object.is=="function"?Object.is:ct,tt=null,wt=null,Ut=null,Ye=null,st=!1,Rt=!1,cr=0,tn=null,Kn=0;function kn(){if(tt===null)throw Error(e(321));return tt}function ht(){if(0<Kn)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function fr(){return Ye===null?Ut===null?(st=!1,Ut=Ye=ht()):(st=!0,Ye=Ut):Ye.next===null?(st=!1,Ye=Ye.next=ht()):(st=!0,Ye=Ye.next),Ye}function hr(){wt=tt=null,Rt=!1,Ut=null,Kn=0,Ye=tn=null}function Hn(p,b){return typeof b=="function"?b(p):b}function Wn(p,b,P){if(tt=kn(),Ye=fr(),st){var j=Ye.queue;if(b=j.dispatch,tn!==null&&(P=tn.get(j),P!==void 0)){tn.delete(j),j=Ye.memoizedState;do j=p(j,P.action),P=P.next;while(P!==null);return Ye.memoizedState=j,[j,b]}return[Ye.memoizedState,b]}return p=p===Hn?typeof b=="function"?b():b:P!==void 0?P(b):b,Ye.memoizedState=p,p=Ye.queue={last:null,dispatch:null},p=p.dispatch=mn.bind(null,tt,p),[Ye.memoizedState,p]}function nn(p,b){if(tt=kn(),Ye=fr(),b=b===void 0?null:b,Ye!==null){var P=Ye.memoizedState;if(P!==null&&b!==null){var j=P[1];e:if(j===null)j=!1;else{for(var pe=0;pe<j.length&&pe<b.length;pe++)if(!Wt(b[pe],j[pe])){j=!1;break e}j=!0}if(j)return P[0]}}return p=p(),Ye.memoizedState=[p,b],p}function mn(p,b,P){if(25<=Kn)throw Error(e(301));if(p===tt)if(Rt=!0,p={action:P,next:null},tn===null&&(tn=new Map),P=tn.get(b),P===void 0)tn.set(b,p);else{for(b=P;b.next!==null;)b=b.next;b.next=p}}function bn(){throw Error(e(394))}function xr(){}var Pr={readContext:function(p){return p._currentValue2},useContext:function(p){return kn(),p._currentValue2},useMemo:nn,useReducer:Wn,useRef:function(p){tt=kn(),Ye=fr();var b=Ye.memoizedState;return b===null?(p={current:p},Ye.memoizedState=p):b},useState:function(p){return Wn(Hn,p)},useInsertionEffect:xr,useLayoutEffect:function(){},useCallback:function(p,b){return nn(function(){return p},b)},useImperativeHandle:xr,useEffect:xr,useDebugValue:xr,useDeferredValue:function(p){return kn(),p},useTransition:function(){return kn(),[!1,bn]},useId:function(){var p=wt.treeContext,b=p.overflow;p=p.id,p=(p&~(1<<32-Tt(p)-1)).toString(32)+b;var P=Bn;if(P===null)throw Error(e(404));return b=cr++,p=":"+P.idPrefix+"R"+p,0<b&&(p+="H"+b.toString(32)),p+":"},useMutableSource:function(p,b){return kn(),b(p._source)},useSyncExternalStore:function(p,b,P){if(P===void 0)throw Error(e(407));return P()}},Bn=null,Zn=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function dr(p){return console.error(p),null}function In(){}function Qn(p,b,P,j,pe,ce,Pe,Ue,at){var pt=[],yt=new Set;return b={destination:null,responseState:b,progressiveChunkSize:j===void 0?12800:j,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:yt,pingedTasks:pt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:pe===void 0?dr:pe,onAllReady:In,onShellReady:Pe===void 0?In:Pe,onShellError:In,onFatalError:In},P=Vn(b,0,null,P,!1,!1),P.parentFlushed=!0,p=Er(b,p,null,P,yt,ot,null,nt),pt.push(p),b}function Er(p,b,P,j,pe,ce,Pe,Ue){p.allPendingTasks++,P===null?p.pendingRootTasks++:P.pendingTasks++;var at={node:b,ping:function(){var pt=p.pingedTasks;pt.push(at),pt.length===1&&Fi(p)},blockedBoundary:P,blockedSegment:j,abortSet:pe,legacyContext:ce,context:Pe,treeContext:Ue};return pe.add(at),at}function Vn(p,b,P,j,pe,ce){return{status:0,id:-1,index:b,parentFlushed:!1,chunks:[],children:[],formatContext:j,boundary:P,lastPushedText:pe,textEmbedded:ce}}function pr(p,b){if(p=p.onError(b),p!=null&&typeof p!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof p+'" instead');return p}function Cr(p,b){var P=p.onShellError;P(b),P=p.onFatalError,P(b),p.destination!==null?(p.status=2,p.destination.destroy(b)):(p.status=1,p.fatalError=b)}function Qr(p,b,P,j,pe){for(tt={},wt=b,cr=0,p=P(j,pe);Rt;)Rt=!1,cr=0,Kn+=1,Ye=null,p=P(j,pe);return hr(),p}function ei(p,b,P,j){var pe=P.render(),ce=j.childContextTypes;if(ce!=null){var Pe=b.legacyContext;if(typeof P.getChildContext!="function")j=Pe;else{P=P.getChildContext();for(var Ue in P)if(!(Ue in ce))throw Error(e(108,Oe(j)||"Unknown",Ue));j=Fe({},Pe,P)}b.legacyContext=j,Pn(p,b,pe),b.legacyContext=Pe}else Pn(p,b,pe)}function $i(p,b){if(p&&p.defaultProps){b=Fe({},b),p=p.defaultProps;for(var P in p)b[P]===void 0&&(b[P]=p[P]);return b}return b}function ti(p,b,P,j,pe){if(typeof P=="function")if(P.prototype&&P.prototype.isReactComponent){pe=Ge(P,b.legacyContext);var ce=P.contextType;ce=new P(j,typeof ce=="object"&&ce!==null?ce._currentValue2:pe),_t(ce,P,j,pe),ei(p,b,ce,P)}else{ce=Ge(P,b.legacyContext),pe=Qr(p,b,P,j,ce);var Pe=cr!==0;if(typeof pe=="object"&&pe!==null&&typeof pe.render=="function"&&pe.$$typeof===void 0)_t(pe,P,j,ce),ei(p,b,pe,P);else if(Pe){j=b.treeContext,b.treeContext=en(j,1,0);try{Pn(p,b,pe)}finally{b.treeContext=j}}else Pn(p,b,pe)}else if(typeof P=="string"){switch(pe=b.blockedSegment,ce=X(pe.chunks,P,j,p.responseState,pe.formatContext),pe.lastPushedText=!1,Pe=pe.formatContext,pe.formatContext=ee(Pe,P,j),Dn(p,b,ce),pe.formatContext=Pe,P){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:pe.chunks.push("</",P,">")}pe.lastPushedText=!1}else{switch(P){case ze:case T:case K:case te:case G:Pn(p,b,j.children);return;case Ce:Pn(p,b,j.children);return;case We:throw Error(e(343));case ve:e:{P=b.blockedBoundary,pe=b.blockedSegment,ce=j.fallback,j=j.children,Pe=new Set;var Ue={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Pe,errorDigest:null},at=Vn(p,pe.chunks.length,Ue,pe.formatContext,!1,!1);pe.children.push(at),pe.lastPushedText=!1;var pt=Vn(p,0,null,pe.formatContext,!1,!1);pt.parentFlushed=!0,b.blockedBoundary=Ue,b.blockedSegment=pt;try{if(Dn(p,b,j),p.responseState.generateStaticMarkup||pt.lastPushedText&&pt.textEmbedded&&pt.chunks.push("<!-- -->"),pt.status=1,_r(Ue,pt),Ue.pendingTasks===0)break e}catch(yt){pt.status=4,Ue.forceClientRender=!0,Ue.errorDigest=pr(p,yt)}finally{b.blockedBoundary=P,b.blockedSegment=pe}b=Er(p,ce,P,at,Pe,b.legacyContext,b.context,b.treeContext),p.pingedTasks.push(b)}return}if(typeof P=="object"&&P!==null)switch(P.$$typeof){case le:if(j=Qr(p,b,P.render,j,pe),cr!==0){P=b.treeContext,b.treeContext=en(P,1,0);try{Pn(p,b,j)}finally{b.treeContext=P}}else Pn(p,b,j);return;case qe:P=P.type,j=$i(P,j),ti(p,b,P,j,pe);return;case ue:if(pe=j.children,P=P._context,j=j.value,ce=P._currentValue2,P._currentValue2=j,Pe=et,et=j={parent:Pe,depth:Pe===null?0:Pe.depth+1,context:P,parentValue:ce,value:j},b.context=j,Pn(p,b,pe),p=et,p===null)throw Error(e(403));j=p.parentValue,p.context._currentValue2=j===mt?p.context._defaultValue:j,p=et=p.parent,b.context=p;return;case ye:j=j.children,j=j(P._currentValue2),Pn(p,b,j);return;case Me:pe=P._init,P=pe(P._payload),j=$i(P,j),ti(p,b,P,j,void 0);return}throw Error(e(130,P==null?P:typeof P,""))}}function Pn(p,b,P){if(b.node=P,typeof P=="object"&&P!==null){switch(P.$$typeof){case N:ti(p,b,P.type,P.props,P.ref);return;case H:throw Error(e(257));case Me:var j=P._init;P=j(P._payload),Pn(p,b,P);return}if(E(P)){Ci(p,b,P);return}if(P===null||typeof P!="object"?j=null:(j=Qe&&P[Qe]||P["@@iterator"],j=typeof j=="function"?j:null),j&&(j=j.call(P))){if(P=j.next(),!P.done){var pe=[];do pe.push(P.value),P=j.next();while(!P.done);Ci(p,b,pe)}return}throw p=Object.prototype.toString.call(P),Error(e(31,p==="[object Object]"?"object with keys {"+Object.keys(P).join(", ")+"}":p))}typeof P=="string"?(j=b.blockedSegment,j.lastPushedText=De(b.blockedSegment.chunks,P,p.responseState,j.lastPushedText)):typeof P=="number"&&(j=b.blockedSegment,j.lastPushedText=De(b.blockedSegment.chunks,""+P,p.responseState,j.lastPushedText))}function Ci(p,b,P){for(var j=P.length,pe=0;pe<j;pe++){var ce=b.treeContext;b.treeContext=en(ce,j,pe);try{Dn(p,b,P[pe])}finally{b.treeContext=ce}}}function Dn(p,b,P){var j=b.blockedSegment.formatContext,pe=b.legacyContext,ce=b.context;try{return Pn(p,b,P)}catch(at){if(hr(),typeof at=="object"&&at!==null&&typeof at.then=="function"){P=at;var Pe=b.blockedSegment,Ue=Vn(p,Pe.chunks.length,null,Pe.formatContext,Pe.lastPushedText,!0);Pe.children.push(Ue),Pe.lastPushedText=!1,p=Er(p,b.node,b.blockedBoundary,Ue,b.abortSet,b.legacyContext,b.context,b.treeContext).ping,P.then(p,p),b.blockedSegment.formatContext=j,b.legacyContext=pe,b.context=ce,Lt(ce)}else throw b.blockedSegment.formatContext=j,b.legacyContext=pe,b.context=ce,Lt(ce),at}}function ni(p){var b=p.blockedBoundary;p=p.blockedSegment,p.status=3,Ir(this,b,p)}function Ii(p,b,P){var j=p.blockedBoundary;p.blockedSegment.status=3,j===null?(b.allPendingTasks--,b.status!==2&&(b.status=2,b.destination!==null&&b.destination.push(null))):(j.pendingTasks--,j.forceClientRender||(j.forceClientRender=!0,p=P===void 0?Error(e(432)):P,j.errorDigest=b.onError(p),j.parentFlushed&&b.clientRenderedBoundaries.push(j)),j.fallbackAbortableTasks.forEach(function(pe){return Ii(pe,b,P)}),j.fallbackAbortableTasks.clear(),b.allPendingTasks--,b.allPendingTasks===0&&(j=b.onAllReady,j()))}function _r(p,b){if(b.chunks.length===0&&b.children.length===1&&b.children[0].boundary===null){var P=b.children[0];P.id=b.id,P.parentFlushed=!0,P.status===1&&_r(p,P)}else p.completedSegments.push(b)}function Ir(p,b,P){if(b===null){if(P.parentFlushed){if(p.completedRootSegment!==null)throw Error(e(389));p.completedRootSegment=P}p.pendingRootTasks--,p.pendingRootTasks===0&&(p.onShellError=In,b=p.onShellReady,b())}else b.pendingTasks--,b.forceClientRender||(b.pendingTasks===0?(P.parentFlushed&&P.status===1&&_r(b,P),b.parentFlushed&&p.completedBoundaries.push(b),b.fallbackAbortableTasks.forEach(ni,p),b.fallbackAbortableTasks.clear()):P.parentFlushed&&P.status===1&&(_r(b,P),b.completedSegments.length===1&&b.parentFlushed&&p.partialBoundaries.push(b)));p.allPendingTasks--,p.allPendingTasks===0&&(p=p.onAllReady,p())}function Fi(p){if(p.status!==2){var b=et,P=Zn.current;Zn.current=Pr;var j=Bn;Bn=p.responseState;try{var pe=p.pingedTasks,ce;for(ce=0;ce<pe.length;ce++){var Pe=pe[ce],Ue=p,at=Pe.blockedSegment;if(at.status===0){Lt(Pe.context);try{Pn(Ue,Pe,Pe.node),Ue.responseState.generateStaticMarkup||at.lastPushedText&&at.textEmbedded&&at.chunks.push("<!-- -->"),Pe.abortSet.delete(Pe),at.status=1,Ir(Ue,Pe.blockedBoundary,at)}catch($n){if(hr(),typeof $n=="object"&&$n!==null&&typeof $n.then=="function"){var pt=Pe.ping;$n.then(pt,pt)}else{Pe.abortSet.delete(Pe),at.status=4;var yt=Pe.blockedBoundary,zt=$n,Gn=pr(Ue,zt);if(yt===null?Cr(Ue,zt):(yt.pendingTasks--,yt.forceClientRender||(yt.forceClientRender=!0,yt.errorDigest=Gn,yt.parentFlushed&&Ue.clientRenderedBoundaries.push(yt))),Ue.allPendingTasks--,Ue.allPendingTasks===0){var mr=Ue.onAllReady;mr()}}}finally{}}}pe.splice(0,ce),p.destination!==null&&ri(p,p.destination)}catch($n){pr(p,$n),Cr(p,$n)}finally{Bn=j,Zn.current=P,P===Pr&&Lt(b)}}}function zr(p,b,P){switch(P.parentFlushed=!0,P.status){case 0:var j=P.id=p.nextSegmentId++;return P.lastPushedText=!1,P.textEmbedded=!1,p=p.responseState,b.push('<template id="'),b.push(p.placeholderPrefix),p=j.toString(16),b.push(p),b.push('"></template>');case 1:P.status=2;var pe=!0;j=P.chunks;var ce=0;P=P.children;for(var Pe=0;Pe<P.length;Pe++){for(pe=P[Pe];ce<pe.index;ce++)b.push(j[ce]);pe=qn(p,b,pe)}for(;ce<j.length-1;ce++)b.push(j[ce]);return ce<j.length&&(pe=b.push(j[ce])),pe;default:throw Error(e(390))}}function qn(p,b,P){var j=P.boundary;if(j===null)return zr(p,b,P);if(j.parentFlushed=!0,j.forceClientRender)return p.responseState.generateStaticMarkup||(j=j.errorDigest,b.push("<!--$!-->"),b.push("<template"),j&&(b.push(' data-dgst="'),j=B(j),b.push(j),b.push('"')),b.push("></template>")),zr(p,b,P),p=p.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),p;if(0<j.pendingTasks){j.rootSegmentID=p.nextSegmentId++,0<j.completedSegments.length&&p.partialBoundaries.push(j);var pe=p.responseState,ce=pe.nextSuspenseID++;return pe=pe.boundaryPrefix+ce.toString(16),j=j.id=pe,$(b,p.responseState,j),zr(p,b,P),b.push("<!--/$-->")}if(j.byteSize>p.progressiveChunkSize)return j.rootSegmentID=p.nextSegmentId++,p.completedBoundaries.push(j),$(b,p.responseState,j.id),zr(p,b,P),b.push("<!--/$-->");if(p.responseState.generateStaticMarkup||b.push("<!--$-->"),P=j.completedSegments,P.length!==1)throw Error(e(391));return qn(p,b,P[0]),p=p.responseState.generateStaticMarkup?!0:b.push("<!--/$-->"),p}function Hr(p,b,P){return me(b,p.responseState,P.formatContext,P.id),qn(p,b,P),Se(b,P.formatContext)}function Oi(p,b,P){for(var j=P.completedSegments,pe=0;pe<j.length;pe++)on(p,b,P,j[pe]);if(j.length=0,p=p.responseState,j=P.id,P=P.rootSegmentID,b.push(p.startInlineScript),p.sentCompleteBoundaryFunction?b.push('$RC("'):(p.sentCompleteBoundaryFunction=!0,b.push('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),j===null)throw Error(e(395));return P=P.toString(16),b.push(j),b.push('","'),b.push(p.segmentPrefix),b.push(P),b.push('")<\/script>')}function on(p,b,P,j){if(j.status===2)return!0;var pe=j.id;if(pe===-1){if((j.id=P.rootSegmentID)===-1)throw Error(e(392));return Hr(p,b,j)}return Hr(p,b,j),p=p.responseState,b.push(p.startInlineScript),p.sentCompleteSegmentFunction?b.push('$RS("'):(p.sentCompleteSegmentFunction=!0,b.push('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("')),b.push(p.segmentPrefix),pe=pe.toString(16),b.push(pe),b.push('","'),b.push(p.placeholderPrefix),b.push(pe),b.push('")<\/script>')}function ri(p,b){try{var P=p.completedRootSegment;if(P!==null&&p.pendingRootTasks===0){qn(p,b,P),p.completedRootSegment=null;var j=p.responseState.bootstrapChunks;for(P=0;P<j.length-1;P++)b.push(j[P]);P<j.length&&b.push(j[P])}var pe=p.clientRenderedBoundaries,ce;for(ce=0;ce<pe.length;ce++){var Pe=pe[ce];j=b;var Ue=p.responseState,at=Pe.id,pt=Pe.errorDigest,yt=Pe.errorMessage,zt=Pe.errorComponentStack;if(j.push(Ue.startInlineScript),Ue.sentClientRenderFunction?j.push('$RX("'):(Ue.sentClientRenderFunction=!0,j.push('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("')),at===null)throw Error(e(395));if(j.push(at),j.push('"'),pt||yt||zt){j.push(",");var Gn=fe(pt||"");j.push(Gn)}if(yt||zt){j.push(",");var mr=fe(yt||"");j.push(mr)}if(zt){j.push(",");var $n=fe(zt);j.push($n)}if(!j.push(")<\/script>")){p.destination=null,ce++,pe.splice(0,ce);return}}pe.splice(0,ce);var oi=p.completedBoundaries;for(ce=0;ce<oi.length;ce++)if(!Oi(p,b,oi[ce])){p.destination=null,ce++,oi.splice(0,ce);return}oi.splice(0,ce);var Un=p.partialBoundaries;for(ce=0;ce<Un.length;ce++){var vi=Un[ce];e:{pe=p,Pe=b;var er=vi.completedSegments;for(Ue=0;Ue<er.length;Ue++)if(!on(pe,Pe,vi,er[Ue])){Ue++,er.splice(0,Ue);var Yi=!1;break e}er.splice(0,Ue),Yi=!0}if(!Yi){p.destination=null,ce++,Un.splice(0,ce);return}}Un.splice(0,ce);var tr=p.completedBoundaries;for(ce=0;ce<tr.length;ce++)if(!Oi(p,b,tr[ce])){p.destination=null,ce++,tr.splice(0,ce);return}tr.splice(0,ce)}finally{p.allPendingTasks===0&&p.pingedTasks.length===0&&p.clientRenderedBoundaries.length===0&&p.completedBoundaries.length===0&&b.push(null)}}function gr(p,b){try{var P=p.abortableTasks;P.forEach(function(j){return Ii(j,p,b)}),P.clear(),p.destination!==null&&ri(p,p.destination)}catch(j){pr(p,j),Cr(p,j)}}function ii(){}function ai(p,b,P,j){var pe=!1,ce=null,Pe="",Ue={push:function(pt){return pt!==null&&(Pe+=pt),!0},destroy:function(pt){pe=!0,ce=pt}},at=!1;if(p=Qn(p,xe(P,b?b.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,ii,void 0,function(){at=!0}),Fi(p),gr(p,j),p.status===1)p.status=2,Ue.destroy(p.fatalError);else if(p.status!==2&&p.destination===null){p.destination=Ue;try{ri(p,Ue)}catch(pt){pr(p,pt),Cr(p,pt)}}if(pe)throw ce;if(!at)throw Error(e(426));return Pe}return Aa.renderToNodeStream=function(){throw Error(e(207))},Aa.renderToStaticMarkup=function(p,b){return ai(p,b,!0,'The server used "renderToStaticMarkup" which does not support Suspense. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Aa.renderToStaticNodeStream=function(){throw Error(e(208))},Aa.renderToString=function(p,b){return ai(p,b,!1,'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server')},Aa.version="18.3.1",Aa}var Go={};/**
185 * @license React
186 * react-dom-server.browser.production.min.js
187 *
188 * Copyright (c) Facebook, Inc. and its affiliates.
189 *
190 * This source code is licensed under the MIT license found in the
191 * LICENSE file in the root directory of this source tree.
192 */var ac;function U2(){if(ac)return Go;ac=1;var n=lc();function e(g){for(var y="https://reactjs.org/docs/error-decoder.html?invariant="+g,k=1;k<arguments.length;k++)y+="&args[]="+encodeURIComponent(arguments[k]);return"Minified React error #"+g+"; visit "+y+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var t=null,r=0;function a(g,y){if(y.length!==0)if(512<y.length)0<r&&(g.enqueue(new Uint8Array(t.buffer,0,r)),t=new Uint8Array(512),r=0),g.enqueue(y);else{var k=t.length-r;k<y.length&&(k===0?g.enqueue(t):(t.set(y.subarray(0,k),r),g.enqueue(t),y=y.subarray(k)),t=new Uint8Array(512),r=0),t.set(y,r),r+=y.length}}function o(g,y){return a(g,y),!0}function d(g){t&&0<r&&(g.enqueue(new Uint8Array(t.buffer,0,r)),t=null,r=0)}var l=new TextEncoder;function c(g){return l.encode(g)}function f(g){return l.encode(g)}function w(g,y){typeof g.error=="function"?g.error(y):g.close()}var A=Object.prototype.hasOwnProperty,F=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,m={},B={};function D(g){return A.call(B,g)?!0:A.call(m,g)?!1:F.test(g)?B[g]=!0:(m[g]=!0,!1)}function W(g,y,k,q,he,ae,Ne){this.acceptsBooleans=y===2||y===3||y===4,this.attributeName=q,this.attributeNamespace=he,this.mustUseProperty=k,this.propertyName=g,this.type=y,this.sanitizeURL=ae,this.removeEmptyString=Ne}var E={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(g){E[g]=new W(g,0,!1,g,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(g){var y=g[0];E[y]=new W(y,1,!1,g[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(g){E[g]=new W(g,2,!1,g.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(g){E[g]=new W(g,2,!1,g,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(g){E[g]=new W(g,3,!1,g.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(g){E[g]=new W(g,3,!0,g,null,!1,!1)}),["capture","download"].forEach(function(g){E[g]=new W(g,4,!1,g,null,!1,!1)}),["cols","rows","size","span"].forEach(function(g){E[g]=new W(g,6,!1,g,null,!1,!1)}),["rowSpan","start"].forEach(function(g){E[g]=new W(g,5,!1,g.toLowerCase(),null,!1,!1)});var Z=/[\-:]([a-z])/g;function ee(g){return g[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(g){var y=g.replace(Z,ee);E[y]=new W(y,1,!1,g,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(g){var y=g.replace(Z,ee);E[y]=new W(y,1,!1,g,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(g){var y=g.replace(Z,ee);E[y]=new W(y,1,!1,g,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(g){E[g]=new W(g,1,!1,g.toLowerCase(),null,!1,!1)}),E.xlinkHref=new W("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(g){E[g]=new W(g,1,!1,g.toLowerCase(),null,!0,!0)});var Y={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},be=["Webkit","ms","Moz","O"];Object.keys(Y).forEach(function(g){be.forEach(function(y){y=y+g.charAt(0).toUpperCase()+g.substring(1),Y[y]=Y[g]})});var ke=/["'&<>]/;function we(g){if(typeof g=="boolean"||typeof g=="number")return""+g;g=""+g;var y=ke.exec(g);if(y){var k="",q,he=0;for(q=y.index;q<g.length;q++){switch(g.charCodeAt(q)){case 34:y="&quot;";break;case 38:y="&amp;";break;case 39:y="&#x27;";break;case 60:y="&lt;";break;case 62:y="&gt;";break;default:continue}he!==q&&(k+=g.substring(he,q)),he=q+1,k+=y}g=he!==q?k+g.substring(he,q):k}return g}var ie=/([A-Z])/g,V=/^ms-/,se=Array.isArray,I=f("<script>"),R=f("<\/script>"),X=f('<script src="'),$=f('<script type="module" src="'),me=f('" async=""><\/script>'),Se=/(<\/|<)(s)(cript)/gi;function _e(g,y,k,q){return""+y+(k==="s"?"\\u0073":"\\u0053")+q}function fe(g,y,k,q,he){g=g===void 0?"":g,y=y===void 0?I:f('<script nonce="'+we(y)+'">');var ae=[];if(k!==void 0&&ae.push(y,c((""+k).replace(Se,_e)),R),q!==void 0)for(k=0;k<q.length;k++)ae.push(X,c(we(q[k])),me);if(he!==void 0)for(q=0;q<he.length;q++)ae.push($,c(we(he[q])),me);return{bootstrapChunks:ae,startInlineScript:y,placeholderPrefix:f(g+"P:"),segmentPrefix:f(g+"S:"),boundaryPrefix:g+"B:",idPrefix:g,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function xe(g,y){return{insertionMode:g,selectedValue:y}}function De(g){return xe(g==="http://www.w3.org/2000/svg"?2:g==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function Fe(g,y,k){switch(y){case"select":return xe(1,k.value!=null?k.value:k.defaultValue);case"svg":return xe(2,null);case"math":return xe(3,null);case"foreignObject":return xe(1,null);case"table":return xe(4,null);case"thead":case"tbody":case"tfoot":return xe(5,null);case"colgroup":return xe(7,null);case"tr":return xe(6,null)}return 4<=g.insertionMode||g.insertionMode===0?xe(1,null):g}var N=f("<!-- -->");function H(g,y,k,q){return y===""?q:(q&&g.push(N),g.push(c(we(y))),!0)}var G=new Map,K=f(' style="'),te=f(":"),ue=f(";");function ye(g,y,k){if(typeof k!="object")throw Error(e(62));y=!0;for(var q in k)if(A.call(k,q)){var he=k[q];if(he!=null&&typeof he!="boolean"&&he!==""){if(q.indexOf("--")===0){var ae=c(we(q));he=c(we((""+he).trim()))}else{ae=q;var Ne=G.get(ae);Ne!==void 0||(Ne=f(we(ae.replace(ie,"-$1").toLowerCase().replace(V,"-ms-"))),G.set(ae,Ne)),ae=Ne,he=typeof he=="number"?he===0||A.call(Y,q)?c(""+he):c(he+"px"):c(we((""+he).trim()))}y?(y=!1,g.push(K,ae,te,he)):g.push(ue,ae,te,he)}}y||g.push(Ce)}var le=f(" "),ve=f('="'),Ce=f('"'),qe=f('=""');function Me(g,y,k,q){switch(k){case"style":ye(g,y,q);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<k.length)||k[0]!=="o"&&k[0]!=="O"||k[1]!=="n"&&k[1]!=="N"){if(y=E.hasOwnProperty(k)?E[k]:null,y!==null){switch(typeof q){case"function":case"symbol":return;case"boolean":if(!y.acceptsBooleans)return}switch(k=c(y.attributeName),y.type){case 3:q&&g.push(le,k,qe);break;case 4:q===!0?g.push(le,k,qe):q!==!1&&g.push(le,k,ve,c(we(q)),Ce);break;case 5:isNaN(q)||g.push(le,k,ve,c(we(q)),Ce);break;case 6:!isNaN(q)&&1<=q&&g.push(le,k,ve,c(we(q)),Ce);break;default:y.sanitizeURL&&(q=""+q),g.push(le,k,ve,c(we(q)),Ce)}}else if(D(k)){switch(typeof q){case"function":case"symbol":return;case"boolean":if(y=k.toLowerCase().slice(0,5),y!=="data-"&&y!=="aria-")return}g.push(le,c(k),ve,c(we(q)),Ce)}}}var We=f(">"),T=f("/>");function ze(g,y,k){if(y!=null){if(k!=null)throw Error(e(60));if(typeof y!="object"||!("__html"in y))throw Error(e(61));y=y.__html,y!=null&&g.push(c(""+y))}}function mt(g){var y="";return n.Children.forEach(g,function(k){k!=null&&(y+=k)}),y}var Qe=f(' selected=""');function Oe(g,y,k,q){g.push($e(k));var he=k=null,ae;for(ae in y)if(A.call(y,ae)){var Ne=y[ae];if(Ne!=null)switch(ae){case"children":k=Ne;break;case"dangerouslySetInnerHTML":he=Ne;break;default:Me(g,q,ae,Ne)}}return g.push(We),ze(g,he,k),typeof k=="string"?(g.push(c(we(k))),null):k}var ot=f(`
193`),Ge=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,et=new Map;function $e(g){var y=et.get(g);if(y===void 0){if(!Ge.test(g))throw Error(e(65,g));y=f("<"+g),et.set(g,y)}return y}var jt=f("<!DOCTYPE html>");function Ct(g,y,k,q,he){switch(y){case"select":g.push($e("select"));var ae=null,Ne=null;for(ft in k)if(A.call(k,ft)){var je=k[ft];if(je!=null)switch(ft){case"children":ae=je;break;case"dangerouslySetInnerHTML":Ne=je;break;case"defaultValue":case"value":break;default:Me(g,q,ft,je)}}return g.push(We),ze(g,Ne,ae),ae;case"option":Ne=he.selectedValue,g.push($e("option"));var dt=je=null,vt=null,ft=null;for(ae in k)if(A.call(k,ae)){var Yt=k[ae];if(Yt!=null)switch(ae){case"children":je=Yt;break;case"selected":vt=Yt;break;case"dangerouslySetInnerHTML":ft=Yt;break;case"value":dt=Yt;default:Me(g,q,ae,Yt)}}if(Ne!=null)if(k=dt!==null?""+dt:mt(je),se(Ne)){for(q=0;q<Ne.length;q++)if(""+Ne[q]===k){g.push(Qe);break}}else""+Ne===k&&g.push(Qe);else vt&&g.push(Qe);return g.push(We),ze(g,ft,je),je;case"textarea":g.push($e("textarea")),ft=Ne=ae=null;for(je in k)if(A.call(k,je)&&(dt=k[je],dt!=null))switch(je){case"children":ft=dt;break;case"value":ae=dt;break;case"defaultValue":Ne=dt;break;case"dangerouslySetInnerHTML":throw Error(e(91));default:Me(g,q,je,dt)}if(ae===null&&Ne!==null&&(ae=Ne),g.push(We),ft!=null){if(ae!=null)throw Error(e(92));if(se(ft)&&1<ft.length)throw Error(e(93));ae=""+ft}return typeof ae=="string"&&ae[0]===`
194`&&g.push(ot),ae!==null&&g.push(c(we(""+ae))),null;case"input":g.push($e("input")),dt=ft=je=ae=null;for(Ne in k)if(A.call(k,Ne)&&(vt=k[Ne],vt!=null))switch(Ne){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,"input"));case"defaultChecked":dt=vt;break;case"defaultValue":je=vt;break;case"checked":ft=vt;break;case"value":ae=vt;break;default:Me(g,q,Ne,vt)}return ft!==null?Me(g,q,"checked",ft):dt!==null&&Me(g,q,"checked",dt),ae!==null?Me(g,q,"value",ae):je!==null&&Me(g,q,"value",je),g.push(T),null;case"menuitem":g.push($e("menuitem"));for(var En in k)if(A.call(k,En)&&(ae=k[En],ae!=null))switch(En){case"children":case"dangerouslySetInnerHTML":throw Error(e(400));default:Me(g,q,En,ae)}return g.push(We),null;case"title":g.push($e("title")),ae=null;for(Yt in k)if(A.call(k,Yt)&&(Ne=k[Yt],Ne!=null))switch(Yt){case"children":ae=Ne;break;case"dangerouslySetInnerHTML":throw Error(e(434));default:Me(g,q,Yt,Ne)}return g.push(We),ae;case"listing":case"pre":g.push($e(y)),Ne=ae=null;for(dt in k)if(A.call(k,dt)&&(je=k[dt],je!=null))switch(dt){case"children":ae=je;break;case"dangerouslySetInnerHTML":Ne=je;break;default:Me(g,q,dt,je)}if(g.push(We),Ne!=null){if(ae!=null)throw Error(e(60));if(typeof Ne!="object"||!("__html"in Ne))throw Error(e(61));k=Ne.__html,k!=null&&(typeof k=="string"&&0<k.length&&k[0]===`
195`?g.push(ot,c(k)):g.push(c(""+k)))}return typeof ae=="string"&&ae[0]===`
196`&&g.push(ot),ae;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":g.push($e(y));for(var rr in k)if(A.call(k,rr)&&(ae=k[rr],ae!=null))switch(rr){case"children":case"dangerouslySetInnerHTML":throw Error(e(399,y));default:Me(g,q,rr,ae)}return g.push(T),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Oe(g,k,y,q);case"html":return he.insertionMode===0&&g.push(jt),Oe(g,k,y,q);default:if(y.indexOf("-")===-1&&typeof k.is!="string")return Oe(g,k,y,q);g.push($e(y)),Ne=ae=null;for(vt in k)if(A.call(k,vt)&&(je=k[vt],je!=null))switch(vt){case"children":ae=je;break;case"dangerouslySetInnerHTML":Ne=je;break;case"style":ye(g,q,je);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:D(vt)&&typeof je!="function"&&typeof je!="symbol"&&g.push(le,c(vt),ve,c(we(je)),Ce)}return g.push(We),ze(g,Ne,ae),ae}}var xt=f("</"),Ot=f(">"),Lt=f('<template id="'),Ke=f('"></template>'),_t=f("<!--$-->"),nt=f('<!--$?--><template id="'),en=f('"></template>'),Tt=f("<!--$!-->"),kt=f("<!--/$-->"),Pt=f("<template"),Zt=f('"'),ct=f(' data-dgst="');f(' data-msg="'),f(' data-stck="');var Wt=f("></template>");function tt(g,y,k){if(a(g,nt),k===null)throw Error(e(395));return a(g,k),o(g,en)}var wt=f('<div hidden id="'),Ut=f('">'),Ye=f("</div>"),st=f('<svg aria-hidden="true" style="display:none" id="'),Rt=f('">'),cr=f("</svg>"),tn=f('<math aria-hidden="true" style="display:none" id="'),Kn=f('">'),kn=f("</math>"),ht=f('<table hidden id="'),fr=f('">'),hr=f("</table>"),Hn=f('<table hidden><tbody id="'),Wn=f('">'),nn=f("</tbody></table>"),mn=f('<table hidden><tr id="'),bn=f('">'),xr=f("</tr></table>"),Pr=f('<table hidden><colgroup id="'),Bn=f('">'),Zn=f("</colgroup></table>");function dr(g,y,k,q){switch(k.insertionMode){case 0:case 1:return a(g,wt),a(g,y.segmentPrefix),a(g,c(q.toString(16))),o(g,Ut);case 2:return a(g,st),a(g,y.segmentPrefix),a(g,c(q.toString(16))),o(g,Rt);case 3:return a(g,tn),a(g,y.segmentPrefix),a(g,c(q.toString(16))),o(g,Kn);case 4:return a(g,ht),a(g,y.segmentPrefix),a(g,c(q.toString(16))),o(g,fr);case 5:return a(g,Hn),a(g,y.segmentPrefix),a(g,c(q.toString(16))),o(g,Wn);case 6:return a(g,mn),a(g,y.segmentPrefix),a(g,c(q.toString(16))),o(g,bn);case 7:return a(g,Pr),a(g,y.segmentPrefix),a(g,c(q.toString(16))),o(g,Bn);default:throw Error(e(397))}}function In(g,y){switch(y.insertionMode){case 0:case 1:return o(g,Ye);case 2:return o(g,cr);case 3:return o(g,kn);case 4:return o(g,hr);case 5:return o(g,nn);case 6:return o(g,xr);case 7:return o(g,Zn);default:throw Error(e(397))}}var Qn=f('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Er=f('$RS("'),Vn=f('","'),pr=f('")<\/script>'),Cr=f('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),Qr=f('$RC("'),ei=f('","'),$i=f('")<\/script>'),ti=f('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'),Pn=f('$RX("'),Ci=f('"'),Dn=f(")<\/script>"),ni=f(","),Ii=/[<\u2028\u2029]/g;function _r(g){return JSON.stringify(g).replace(Ii,function(y){switch(y){case"<":return"\\u003c";case"\u2028":return"\\u2028";case"\u2029":return"\\u2029";default:throw Error("escapeJSStringsForInstructionScripts encountered a match it does not know how to replace. this means the match regex and the replacement characters are no longer in sync. This is a bug in React")}})}var Ir=Object.assign,Fi=Symbol.for("react.element"),zr=Symbol.for("react.portal"),qn=Symbol.for("react.fragment"),Hr=Symbol.for("react.strict_mode"),Oi=Symbol.for("react.profiler"),on=Symbol.for("react.provider"),ri=Symbol.for("react.context"),gr=Symbol.for("react.forward_ref"),ii=Symbol.for("react.suspense"),ai=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),b=Symbol.for("react.lazy"),P=Symbol.for("react.scope"),j=Symbol.for("react.debug_trace_mode"),pe=Symbol.for("react.legacy_hidden"),ce=Symbol.for("react.default_value"),Pe=Symbol.iterator;function Ue(g){if(g==null)return null;if(typeof g=="function")return g.displayName||g.name||null;if(typeof g=="string")return g;switch(g){case qn:return"Fragment";case zr:return"Portal";case Oi:return"Profiler";case Hr:return"StrictMode";case ii:return"Suspense";case ai:return"SuspenseList"}if(typeof g=="object")switch(g.$$typeof){case ri:return(g.displayName||"Context")+".Consumer";case on:return(g._context.displayName||"Context")+".Provider";case gr:var y=g.render;return g=g.displayName,g||(g=y.displayName||y.name||"",g=g!==""?"ForwardRef("+g+")":"ForwardRef"),g;case p:return y=g.displayName||null,y!==null?y:Ue(g.type)||"Memo";case b:y=g._payload,g=g._init;try{return Ue(g(y))}catch{}}return null}var at={};function pt(g,y){if(g=g.contextTypes,!g)return at;var k={},q;for(q in g)k[q]=y[q];return k}var yt=null;function zt(g,y){if(g!==y){g.context._currentValue=g.parentValue,g=g.parent;var k=y.parent;if(g===null){if(k!==null)throw Error(e(401))}else{if(k===null)throw Error(e(401));zt(g,k)}y.context._currentValue=y.value}}function Gn(g){g.context._currentValue=g.parentValue,g=g.parent,g!==null&&Gn(g)}function mr(g){var y=g.parent;y!==null&&mr(y),g.context._currentValue=g.value}function $n(g,y){if(g.context._currentValue=g.parentValue,g=g.parent,g===null)throw Error(e(402));g.depth===y.depth?zt(g,y):$n(g,y)}function oi(g,y){var k=y.parent;if(k===null)throw Error(e(402));g.depth===k.depth?zt(g,k):oi(g,k),y.context._currentValue=y.value}function Un(g){var y=yt;y!==g&&(y===null?mr(g):g===null?Gn(y):y.depth===g.depth?zt(y,g):y.depth>g.depth?$n(y,g):oi(y,g),yt=g)}var vi={isMounted:function(){return!1},enqueueSetState:function(g,y){g=g._reactInternals,g.queue!==null&&g.queue.push(y)},enqueueReplaceState:function(g,y){g=g._reactInternals,g.replace=!0,g.queue=[y]},enqueueForceUpdate:function(){}};function er(g,y,k,q){var he=g.state!==void 0?g.state:null;g.updater=vi,g.props=k,g.state=he;var ae={queue:[],replace:!1};g._reactInternals=ae;var Ne=y.contextType;if(g.context=typeof Ne=="object"&&Ne!==null?Ne._currentValue:q,Ne=y.getDerivedStateFromProps,typeof Ne=="function"&&(Ne=Ne(k,he),he=Ne==null?he:Ir({},he,Ne),g.state=he),typeof y.getDerivedStateFromProps!="function"&&typeof g.getSnapshotBeforeUpdate!="function"&&(typeof g.UNSAFE_componentWillMount=="function"||typeof g.componentWillMount=="function"))if(y=g.state,typeof g.componentWillMount=="function"&&g.componentWillMount(),typeof g.UNSAFE_componentWillMount=="function"&&g.UNSAFE_componentWillMount(),y!==g.state&&vi.enqueueReplaceState(g,g.state,null),ae.queue!==null&&0<ae.queue.length)if(y=ae.queue,Ne=ae.replace,ae.queue=null,ae.replace=!1,Ne&&y.length===1)g.state=y[0];else{for(ae=Ne?y[0]:g.state,he=!0,Ne=Ne?1:0;Ne<y.length;Ne++){var je=y[Ne];je=typeof je=="function"?je.call(g,ae,k,q):je,je!=null&&(he?(he=!1,ae=Ir({},ae,je)):Ir(ae,je))}g.state=ae}else ae.queue=null}var Yi={id:1,overflow:""};function tr(g,y,k){var q=g.id;g=g.overflow;var he=32-gt(q)-1;q&=~(1<<he),k+=1;var ae=32-gt(y)+he;if(30<ae){var Ne=he-he%5;return ae=(q&(1<<Ne)-1).toString(32),q>>=Ne,he-=Ne,{id:1<<32-gt(y)+he|k<<he|q,overflow:ae+g}}return{id:1<<ae|k<<he|q,overflow:g}}var gt=Math.clz32?Math.clz32:eo,Za=Math.log,Qa=Math.LN2;function eo(g){return g>>>=0,g===0?32:31-(Za(g)/Qa|0)|0}function to(g,y){return g===y&&(g!==0||1/g===1/y)||g!==g&&y!==y}var no=typeof Object.is=="function"?Object.is:to,Fn=null,Fr=null,Ji=null,Vt=null,Wr=!1,wi=!1,nr=0,Vr=null,si=0;function li(){if(Fn===null)throw Error(e(321));return Fn}function Xi(){if(0<si)throw Error(e(312));return{memoizedState:null,queue:null,next:null}}function Gr(){return Vt===null?Ji===null?(Wr=!1,Ji=Vt=Xi()):(Wr=!0,Vt=Ji):Vt.next===null?(Wr=!1,Vt=Vt.next=Xi()):(Wr=!0,Vt=Vt.next),Vt}function Ti(){Fr=Fn=null,wi=!1,Ji=null,si=0,Vt=Vr=null}function yi(g,y){return typeof y=="function"?y(g):y}function Ki(g,y,k){if(Fn=li(),Vt=Gr(),Wr){var q=Vt.queue;if(y=q.dispatch,Vr!==null&&(k=Vr.get(q),k!==void 0)){Vr.delete(q),q=Vt.memoizedState;do q=g(q,k.action),k=k.next;while(k!==null);return Vt.memoizedState=q,[q,y]}return[Vt.memoizedState,y]}return g=g===yi?typeof y=="function"?y():y:k!==void 0?k(y):y,Vt.memoizedState=g,g=Vt.queue={last:null,dispatch:null},g=g.dispatch=va.bind(null,Fn,g),[Vt.memoizedState,g]}function Ri(g,y){if(Fn=li(),Vt=Gr(),y=y===void 0?null:y,Vt!==null){var k=Vt.memoizedState;if(k!==null&&y!==null){var q=k[1];e:if(q===null)q=!1;else{for(var he=0;he<q.length&&he<y.length;he++)if(!no(y[he],q[he])){q=!1;break e}q=!0}if(q)return k[0]}}return g=g(),Vt.memoizedState=[g,y],g}function va(g,y,k){if(25<=si)throw Error(e(301));if(g===Fn)if(wi=!0,g={action:k,next:null},Vr===null&&(Vr=new Map),k=Vr.get(y),k===void 0)Vr.set(y,g);else{for(y=k;y.next!==null;)y=y.next;y.next=g}}function Zi(){throw Error(e(394))}function Mi(){}var $r={readContext:function(g){return g._currentValue},useContext:function(g){return li(),g._currentValue},useMemo:Ri,useReducer:Ki,useRef:function(g){Fn=li(),Vt=Gr();var y=Vt.memoizedState;return y===null?(g={current:g},Vt.memoizedState=g):y},useState:function(g){return Ki(yi,g)},useInsertionEffect:Mi,useLayoutEffect:function(){},useCallback:function(g,y){return Ri(function(){return g},y)},useImperativeHandle:Mi,useEffect:Mi,useDebugValue:Mi,useDeferredValue:function(g){return li(),g},useTransition:function(){return li(),[!1,Zi]},useId:function(){var g=Fr.treeContext,y=g.overflow;g=g.id,g=(g&~(1<<32-gt(g)-1)).toString(32)+y;var k=Sr;if(k===null)throw Error(e(404));return y=nr++,g=":"+k.idPrefix+"R"+g,0<y&&(g+="H"+y.toString(32)),g+":"},useMutableSource:function(g,y){return li(),y(g._source)},useSyncExternalStore:function(g,y,k){if(k===void 0)throw Error(e(407));return k()}},Sr=null,Qi=n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Oa(g){return console.error(g),null}function bi(){}function ji(g,y,k,q,he,ae,Ne,je,dt){var vt=[],ft=new Set;return y={destination:null,responseState:y,progressiveChunkSize:q===void 0?12800:q,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:ft,pingedTasks:vt,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:he===void 0?Oa:he,onAllReady:ae===void 0?bi:ae,onShellReady:Ne===void 0?bi:Ne,onShellError:je===void 0?bi:je,onFatalError:dt===void 0?bi:dt},k=u(y,0,null,k,!1,!1),k.parentFlushed=!0,g=ea(y,g,null,k,ft,at,null,Yi),vt.push(g),y}function ea(g,y,k,q,he,ae,Ne,je){g.allPendingTasks++,k===null?g.pendingRootTasks++:k.pendingTasks++;var dt={node:y,ping:function(){var vt=g.pingedTasks;vt.push(dt),vt.length===1&&Ht(g)},blockedBoundary:k,blockedSegment:q,abortSet:he,legacyContext:ae,context:Ne,treeContext:je};return he.add(dt),dt}function u(g,y,k,q,he,ae){return{status:0,id:-1,index:y,parentFlushed:!1,chunks:[],children:[],formatContext:q,boundary:k,lastPushedText:he,textEmbedded:ae}}function x(g,y){if(g=g.onError(y),g!=null&&typeof g!="string")throw Error('onError returned something with a type other than "string". onError should return a string and may return null or undefined but must not return anything else. It received something of type "'+typeof g+'" instead');return g}function M(g,y){var k=g.onShellError;k(y),k=g.onFatalError,k(y),g.destination!==null?(g.status=2,w(g.destination,y)):(g.status=1,g.fatalError=y)}function J(g,y,k,q,he){for(Fn={},Fr=y,nr=0,g=k(q,he);wi;)wi=!1,nr=0,si+=1,Vt=null,g=k(q,he);return Ti(),g}function re(g,y,k,q){var he=k.render(),ae=q.childContextTypes;if(ae!=null){var Ne=y.legacyContext;if(typeof k.getChildContext!="function")q=Ne;else{k=k.getChildContext();for(var je in k)if(!(je in ae))throw Error(e(108,Ue(q)||"Unknown",je));q=Ir({},Ne,k)}y.legacyContext=q,Ve(g,y,he),y.legacyContext=Ne}else Ve(g,y,he)}function Ae(g,y){if(g&&g.defaultProps){y=Ir({},y),g=g.defaultProps;for(var k in g)y[k]===void 0&&(y[k]=g[k]);return y}return y}function Te(g,y,k,q,he){if(typeof k=="function")if(k.prototype&&k.prototype.isReactComponent){he=pt(k,y.legacyContext);var ae=k.contextType;ae=new k(q,typeof ae=="object"&&ae!==null?ae._currentValue:he),er(ae,k,q,he),re(g,y,ae,k)}else{ae=pt(k,y.legacyContext),he=J(g,y,k,q,ae);var Ne=nr!==0;if(typeof he=="object"&&he!==null&&typeof he.render=="function"&&he.$$typeof===void 0)er(he,k,q,ae),re(g,y,he,k);else if(Ne){q=y.treeContext,y.treeContext=tr(q,1,0);try{Ve(g,y,he)}finally{y.treeContext=q}}else Ve(g,y,he)}else if(typeof k=="string"){switch(he=y.blockedSegment,ae=Ct(he.chunks,k,q,g.responseState,he.formatContext),he.lastPushedText=!1,Ne=he.formatContext,he.formatContext=Fe(Ne,k,q),bt(g,y,ae),he.formatContext=Ne,k){case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"input":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":break;default:he.chunks.push(xt,c(k),Ot)}he.lastPushedText=!1}else{switch(k){case pe:case j:case Hr:case Oi:case qn:Ve(g,y,q.children);return;case ai:Ve(g,y,q.children);return;case P:throw Error(e(343));case ii:e:{k=y.blockedBoundary,he=y.blockedSegment,ae=q.fallback,q=q.children,Ne=new Set;var je={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ne,errorDigest:null},dt=u(g,he.chunks.length,je,he.formatContext,!1,!1);he.children.push(dt),he.lastPushedText=!1;var vt=u(g,0,null,he.formatContext,!1,!1);vt.parentFlushed=!0,y.blockedBoundary=je,y.blockedSegment=vt;try{if(bt(g,y,q),vt.lastPushedText&&vt.textEmbedded&&vt.chunks.push(N),vt.status=1,fn(je,vt),je.pendingTasks===0)break e}catch(ft){vt.status=4,je.forceClientRender=!0,je.errorDigest=x(g,ft)}finally{y.blockedBoundary=k,y.blockedSegment=he}y=ea(g,ae,k,dt,Ne,y.legacyContext,y.context,y.treeContext),g.pingedTasks.push(y)}return}if(typeof k=="object"&&k!==null)switch(k.$$typeof){case gr:if(q=J(g,y,k.render,q,he),nr!==0){k=y.treeContext,y.treeContext=tr(k,1,0);try{Ve(g,y,q)}finally{y.treeContext=k}}else Ve(g,y,q);return;case p:k=k.type,q=Ae(k,q),Te(g,y,k,q,he);return;case on:if(he=q.children,k=k._context,q=q.value,ae=k._currentValue,k._currentValue=q,Ne=yt,yt=q={parent:Ne,depth:Ne===null?0:Ne.depth+1,context:k,parentValue:ae,value:q},y.context=q,Ve(g,y,he),g=yt,g===null)throw Error(e(403));q=g.parentValue,g.context._currentValue=q===ce?g.context._defaultValue:q,g=yt=g.parent,y.context=g;return;case ri:q=q.children,q=q(k._currentValue),Ve(g,y,q);return;case b:he=k._init,k=he(k._payload),q=Ae(k,q),Te(g,y,k,q,void 0);return}throw Error(e(130,k==null?k:typeof k,""))}}function Ve(g,y,k){if(y.node=k,typeof k=="object"&&k!==null){switch(k.$$typeof){case Fi:Te(g,y,k.type,k.props,k.ref);return;case zr:throw Error(e(257));case b:var q=k._init;k=q(k._payload),Ve(g,y,k);return}if(se(k)){Je(g,y,k);return}if(k===null||typeof k!="object"?q=null:(q=Pe&&k[Pe]||k["@@iterator"],q=typeof q=="function"?q:null),q&&(q=q.call(k))){if(k=q.next(),!k.done){var he=[];do he.push(k.value),k=q.next();while(!k.done);Je(g,y,he)}return}throw g=Object.prototype.toString.call(k),Error(e(31,g==="[object Object]"?"object with keys {"+Object.keys(k).join(", ")+"}":g))}typeof k=="string"?(q=y.blockedSegment,q.lastPushedText=H(y.blockedSegment.chunks,k,g.responseState,q.lastPushedText)):typeof k=="number"&&(q=y.blockedSegment,q.lastPushedText=H(y.blockedSegment.chunks,""+k,g.responseState,q.lastPushedText))}function Je(g,y,k){for(var q=k.length,he=0;he<q;he++){var ae=y.treeContext;y.treeContext=tr(ae,q,he);try{bt(g,y,k[he])}finally{y.treeContext=ae}}}function bt(g,y,k){var q=y.blockedSegment.formatContext,he=y.legacyContext,ae=y.context;try{return Ve(g,y,k)}catch(dt){if(Ti(),typeof dt=="object"&&dt!==null&&typeof dt.then=="function"){k=dt;var Ne=y.blockedSegment,je=u(g,Ne.chunks.length,null,Ne.formatContext,Ne.lastPushedText,!0);Ne.children.push(je),Ne.lastPushedText=!1,g=ea(g,y.node,y.blockedBoundary,je,y.abortSet,y.legacyContext,y.context,y.treeContext).ping,k.then(g,g),y.blockedSegment.formatContext=q,y.legacyContext=he,y.context=ae,Un(ae)}else throw y.blockedSegment.formatContext=q,y.legacyContext=he,y.context=ae,Un(ae),dt}}function At(g){var y=g.blockedBoundary;g=g.blockedSegment,g.status=3,Gt(this,y,g)}function Mt(g,y,k){var q=g.blockedBoundary;g.blockedSegment.status=3,q===null?(y.allPendingTasks--,y.status!==2&&(y.status=2,y.destination!==null&&y.destination.close())):(q.pendingTasks--,q.forceClientRender||(q.forceClientRender=!0,g=k===void 0?Error(e(432)):k,q.errorDigest=y.onError(g),q.parentFlushed&&y.clientRenderedBoundaries.push(q)),q.fallbackAbortableTasks.forEach(function(he){return Mt(he,y,k)}),q.fallbackAbortableTasks.clear(),y.allPendingTasks--,y.allPendingTasks===0&&(q=y.onAllReady,q()))}function fn(g,y){if(y.chunks.length===0&&y.children.length===1&&y.children[0].boundary===null){var k=y.children[0];k.id=y.id,k.parentFlushed=!0,k.status===1&&fn(g,k)}else g.completedSegments.push(y)}function Gt(g,y,k){if(y===null){if(k.parentFlushed){if(g.completedRootSegment!==null)throw Error(e(389));g.completedRootSegment=k}g.pendingRootTasks--,g.pendingRootTasks===0&&(g.onShellError=bi,y=g.onShellReady,y())}else y.pendingTasks--,y.forceClientRender||(y.pendingTasks===0?(k.parentFlushed&&k.status===1&&fn(y,k),y.parentFlushed&&g.completedBoundaries.push(y),y.fallbackAbortableTasks.forEach(At,g),y.fallbackAbortableTasks.clear()):k.parentFlushed&&k.status===1&&(fn(y,k),y.completedSegments.length===1&&y.parentFlushed&&g.partialBoundaries.push(y)));g.allPendingTasks--,g.allPendingTasks===0&&(g=g.onAllReady,g())}function Ht(g){if(g.status!==2){var y=yt,k=Qi.current;Qi.current=$r;var q=Sr;Sr=g.responseState;try{var he=g.pingedTasks,ae;for(ae=0;ae<he.length;ae++){var Ne=he[ae],je=g,dt=Ne.blockedSegment;if(dt.status===0){Un(Ne.context);try{Ve(je,Ne,Ne.node),dt.lastPushedText&&dt.textEmbedded&&dt.chunks.push(N),Ne.abortSet.delete(Ne),dt.status=1,Gt(je,Ne.blockedBoundary,dt)}catch(pn){if(Ti(),typeof pn=="object"&&pn!==null&&typeof pn.then=="function"){var vt=Ne.ping;pn.then(vt,vt)}else{Ne.abortSet.delete(Ne),dt.status=4;var ft=Ne.blockedBoundary,Yt=pn,En=x(je,Yt);if(ft===null?M(je,Yt):(ft.pendingTasks--,ft.forceClientRender||(ft.forceClientRender=!0,ft.errorDigest=En,ft.parentFlushed&&je.clientRenderedBoundaries.push(ft))),je.allPendingTasks--,je.allPendingTasks===0){var rr=je.onAllReady;rr()}}}finally{}}}he.splice(0,ae),g.destination!==null&&Bi(g,g.destination)}catch(pn){x(g,pn),M(g,pn)}finally{Sr=q,Qi.current=k,k===$r&&Un(y)}}}function $t(g,y,k){switch(k.parentFlushed=!0,k.status){case 0:var q=k.id=g.nextSegmentId++;return k.lastPushedText=!1,k.textEmbedded=!1,g=g.responseState,a(y,Lt),a(y,g.placeholderPrefix),g=c(q.toString(16)),a(y,g),o(y,Ke);case 1:k.status=2;var he=!0;q=k.chunks;var ae=0;k=k.children;for(var Ne=0;Ne<k.length;Ne++){for(he=k[Ne];ae<he.index;ae++)a(y,q[ae]);he=Qt(g,y,he)}for(;ae<q.length-1;ae++)a(y,q[ae]);return ae<q.length&&(he=o(y,q[ae])),he;default:throw Error(e(390))}}function Qt(g,y,k){var q=k.boundary;if(q===null)return $t(g,y,k);if(q.parentFlushed=!0,q.forceClientRender)q=q.errorDigest,o(y,Tt),a(y,Pt),q&&(a(y,ct),a(y,c(we(q))),a(y,Zt)),o(y,Wt),$t(g,y,k);else if(0<q.pendingTasks){q.rootSegmentID=g.nextSegmentId++,0<q.completedSegments.length&&g.partialBoundaries.push(q);var he=g.responseState,ae=he.nextSuspenseID++;he=f(he.boundaryPrefix+ae.toString(16)),q=q.id=he,tt(y,g.responseState,q),$t(g,y,k)}else if(q.byteSize>g.progressiveChunkSize)q.rootSegmentID=g.nextSegmentId++,g.completedBoundaries.push(q),tt(y,g.responseState,q.id),$t(g,y,k);else{if(o(y,_t),k=q.completedSegments,k.length!==1)throw Error(e(391));Qt(g,y,k[0])}return o(y,kt)}function sn(g,y,k){return dr(y,g.responseState,k.formatContext,k.id),Qt(g,y,k),In(y,k.formatContext)}function On(g,y,k){for(var q=k.completedSegments,he=0;he<q.length;he++)Yr(g,y,k,q[he]);if(q.length=0,g=g.responseState,q=k.id,k=k.rootSegmentID,a(y,g.startInlineScript),g.sentCompleteBoundaryFunction?a(y,Qr):(g.sentCompleteBoundaryFunction=!0,a(y,Cr)),q===null)throw Error(e(395));return k=c(k.toString(16)),a(y,q),a(y,ei),a(y,g.segmentPrefix),a(y,k),o(y,$i)}function Yr(g,y,k,q){if(q.status===2)return!0;var he=q.id;if(he===-1){if((q.id=k.rootSegmentID)===-1)throw Error(e(392));return sn(g,y,q)}return sn(g,y,q),g=g.responseState,a(y,g.startInlineScript),g.sentCompleteSegmentFunction?a(y,Er):(g.sentCompleteSegmentFunction=!0,a(y,Qn)),a(y,g.segmentPrefix),he=c(he.toString(16)),a(y,he),a(y,Vn),a(y,g.placeholderPrefix),a(y,he),o(y,pr)}function Bi(g,y){t=new Uint8Array(512),r=0;try{var k=g.completedRootSegment;if(k!==null&&g.pendingRootTasks===0){Qt(g,y,k),g.completedRootSegment=null;var q=g.responseState.bootstrapChunks;for(k=0;k<q.length-1;k++)a(y,q[k]);k<q.length&&o(y,q[k])}var he=g.clientRenderedBoundaries,ae;for(ae=0;ae<he.length;ae++){var Ne=he[ae];q=y;var je=g.responseState,dt=Ne.id,vt=Ne.errorDigest,ft=Ne.errorMessage,Yt=Ne.errorComponentStack;if(a(q,je.startInlineScript),je.sentClientRenderFunction?a(q,Pn):(je.sentClientRenderFunction=!0,a(q,ti)),dt===null)throw Error(e(395));a(q,dt),a(q,Ci),(vt||ft||Yt)&&(a(q,ni),a(q,c(_r(vt||"")))),(ft||Yt)&&(a(q,ni),a(q,c(_r(ft||"")))),Yt&&(a(q,ni),a(q,c(_r(Yt)))),o(q,Dn)}he.splice(0,ae);var En=g.completedBoundaries;for(ae=0;ae<En.length;ae++)On(g,y,En[ae]);En.splice(0,ae),d(y),t=new Uint8Array(512),r=0;var rr=g.partialBoundaries;for(ae=0;ae<rr.length;ae++){var pn=rr[ae];e:{he=g,Ne=y;var Jr=pn.completedSegments;for(je=0;je<Jr.length;je++)if(!Yr(he,Ne,pn,Jr[je])){je++,Jr.splice(0,je);var ta=!1;break e}Jr.splice(0,je),ta=!0}if(!ta){g.destination=null,ae++,rr.splice(0,ae);return}}rr.splice(0,ae);var _i=g.completedBoundaries;for(ae=0;ae<_i.length;ae++)On(g,y,_i[ae]);_i.splice(0,ae)}finally{d(y),g.allPendingTasks===0&&g.pingedTasks.length===0&&g.clientRenderedBoundaries.length===0&&g.completedBoundaries.length===0&&y.close()}}function xi(g,y){try{var k=g.abortableTasks;k.forEach(function(q){return Mt(q,g,y)}),k.clear(),g.destination!==null&&Bi(g,g.destination)}catch(q){x(g,q),M(g,q)}}return Go.renderToReadableStream=function(g,y){return new Promise(function(k,q){var he,ae,Ne=new Promise(function(ft,Yt){ae=ft,he=Yt}),je=ji(g,fe(y?y.identifierPrefix:void 0,y?y.nonce:void 0,y?y.bootstrapScriptContent:void 0,y?y.bootstrapScripts:void 0,y?y.bootstrapModules:void 0),De(y?y.namespaceURI:void 0),y?y.progressiveChunkSize:void 0,y?y.onError:void 0,ae,function(){var ft=new ReadableStream({type:"bytes",pull:function(Yt){if(je.status===1)je.status=2,w(Yt,je.fatalError);else if(je.status!==2&&je.destination===null){je.destination=Yt;try{Bi(je,Yt)}catch(En){x(je,En),M(je,En)}}},cancel:function(){xi(je)}},{highWaterMark:0});ft.allReady=Ne,k(ft)},function(ft){Ne.catch(function(){}),q(ft)},he);if(y&&y.signal){var dt=y.signal,vt=function(){xi(je,dt.reason),dt.removeEventListener("abort",vt)};dt.addEventListener("abort",vt)}Ht(je)})},Go.version="18.3.1",Go}var oc;function z2(){if(oc)return pa;oc=1;var n,e;return n=q2(),e=U2(),pa.version=n.version,pa.renderToString=n.renderToString,pa.renderToStaticMarkup=n.renderToStaticMarkup,pa.renderToNodeStream=n.renderToNodeStream,pa.renderToStaticNodeStream=n.renderToStaticNodeStream,pa.renderToReadableStream=e.renderToReadableStream,pa}var H2=z2();const W2=1.2,V2=.94,G2={Ş:"S",ş:"s",Ș:"S",ș:"s",Ţ:"T",ţ:"t",Ț:"T",ț:"t",İ:"I",ı:"i",Ğ:"G",ğ:"g",Ă:"A",ă:"a",Ł:"L",ł:"l",Ż:"Z",ż:"z",Ź:"Z",ź:"z",Ć:"C",ć:"c",Ę:"E",ę:"e",Ą:"A",ą:"a",Ń:"N",ń:"n",Ś:"S",ś:"s"},Gi=6,sc=2,qr=160,$2="#e5e5e5",Y2=[229,224,244],J2=[232,230,225],X2=[35,0,163],ef=.92,K2=8e3,Z2=8;function Q2(n){return new Promise(e=>{const t=new Image;t.crossOrigin="anonymous";const r=o=>{window.clearTimeout(a),e(o)},a=window.setTimeout(()=>r(null),K2);t.onload=()=>r(t),t.onerror=()=>r(null),t.src=n})}function tf(n){const e=document.createElement("canvas");e.width=qr,e.height=qr;const t=e.getContext("2d");return t.fillStyle=n,t.fillRect(0,0,qr,qr),t}async function ed(n){const e=await Q2(n);
196if(!e?.naturalWidth||!e.naturalHeight)return null;const t=await Yf(n),r=tf($2),a=t?0:qr*.08,o=qr-a*2,d=Math.min(o/e.naturalWidth,o/e.naturalHeight),l=t?Jf(t):{scale:1,offX:0,offY:0},c=e.naturalWidth*d*l.scale,f=e.naturalHeight*d*l.scale,w=qr/2-l.offX*qr*l.scale,A=qr/2-l.offY*qr*l.scale;r.drawImage(e,w-c/2,A-f/2,c,f);try{return r.canvas.toDataURL("image/jpeg",ef)}catch(F){return console.warn("[mapPdfExport] logo could not be read back (CORS)",n,F),null}}function nf(n){const e=tf(`rgb(${J2.join(",")})`);e.font=`${Math.round(qr*.55)}px "Apple Color Emoji","Segoe UI Emoji","Noto Color Emoji",sans-serif`,e.textAlign="center",e.textBaseline="middle",e.fillText(n,qr/2,qr/2);try{return e.canvas.toDataURL("image/jpeg",ef)}catch{return null}}async function td(n){const e=n.filter(o=>o.logoUrl||o.icon),t=new Map;let r=0;const a=async()=>{for(;r<e.length;){const o=e[r++],d=(o.logoUrl?await ed(o.logoUrl):null)??(o.icon?nf(o.icon):null);d&&t.set(o.id,d)}};return await Promise.all(Array.from({length:Math.min(Z2,e.length)},a)),t}async function nd(n){try{const{INTER_REGULAR_TTF_BASE64:e,INTER_BOLD_TTF_BASE64:t}=await $o(async()=>{const{INTER_REGULAR_TTF_BASE64:r,INTER_BOLD_TTF_BASE64:a}=await import("./pdfFont-BF4rI9wl.js");return{INTER_REGULAR_TTF_BASE64:r,INTER_BOLD_TTF_BASE64:a}},[]);return n.addFileToVFS("Inter-Regular.ttf",e),n.addFont("Inter-Regular.ttf","Inter","normal"),n.addFileToVFS("Inter-Bold.ttf",t),n.addFont("Inter-Bold.ttf","Inter","bold"),{family:"Inter",text:r=>r}}catch(e){return console.warn("[mapPdfExport] Inter subset unavailable, falling back to Helvetica",e),{family:"helvetica",text:t=>t.replace(/[^ -\u00ff]/g,r=>G2[r]??r)}}}async function rd(n,e,t=new Map,r=!1){try{const a=new ut({orientation:"landscape",unit:"mm",format:"a3"}),o=await nd(a),d=a.internal.pageSize.getWidth(),l=a.internal.pageSize.getHeight(),c=15;a.setFillColor(11,25,76),a.rect(c,c,d-c*2,10,"F"),a.setTextColor(255,255,255),a.setFontSize(13),a.setFont(o.family,"bold"),a.text(o.text("ENERGY EXPO — Interactive Floor Map"),c+4,c+7);const f=new Date().toLocaleDateString("en-GB",{day:"2-digit",month:"long",year:"numeric"});a.setFontSize(8),a.setFont(o.family,"normal"),a.text(f,d-c-4,c+7,{align:"right"});const A=await(await fetch(e)).text(),F=4960,m=Math.round(F*Ss/jo),B=H2.renderToStaticMarkup(Uf.createElement(Hf,{boothStatusMap:t,salesClosed:r,scale:F/jo,boothStrokeWidth:W2})),D=A.replace(/<svg\b([^>]*)>/,(le,ve)=>`<svg${ve.replace(/\s(?:width|height|viewBox|preserveAspectRatio)="[^"]*"/gi,"")} width="${F}" height="${m}" viewBox="0 ${Wf} ${jo} ${Ss}" preserveAspectRatio="none">`).replace("</svg>",`${B}</svg>`),W=new Blob([D],{type:"image/svg+xml;charset=utf-8"}),E=URL.createObjectURL(W),Z=await new Promise((le,ve)=>{const Ce=new Image;Ce.onload=()=>{const qe=document.createElement("canvas");qe.width=F,qe.height=m;const Me=qe.getContext("2d");Me.fillStyle="#ffffff",Me.fillRect(0,0,F,m),Me.drawImage(Ce,0,0,F,m),URL.revokeObjectURL(E),le(qe.toDataURL("image/jpeg",V2))},Ce.onerror=qe=>{URL.revokeObjectURL(E),ve(qe)},Ce.src=E}),ee=d-c*2,Y=c+12,be=10,ke=Y+2,we=l-ke-c-be,ie=jo/Ss,V=Math.min(ee,we*ie),se=V/ie,I=c+(ee-V)/2,R=ke+(we-se)/2;a.addImage(Z,"JPEG",I,R,V,se);const X=4,$=8,me=ee/X,Se=2,_e=c+12,fe=l-_e-c,xe=Math.max(1,Math.floor(fe/$)),De=xe*X,Fe=7,N=4,H=le=>{a.setFontSize(7),a.setFont(o.family,"bold"),a.setTextColor(148,163,184),a.text(o.text(le),c,c+7),a.setDrawColor(226,232,240),a.setLineWidth(.3),a.line(c,c+9,c+ee,c+9),a.setLineWidth(.15)},G=(le,ve,Ce,qe)=>{qe&&(a.setFillColor(248,250,252),a.rect(ve,Ce,me,$,"F"));const Me=ve+Se,We=Ce+($-Gi)/2;le.badge?a.addImage(le.badge,"JPEG",Me,We,Gi,Gi):(a.setFillColor(...Y2),a.roundedRect(Me,We,Gi,Gi,.9,.9,"F"),a.setFont(o.family,"bold"),a.setFontSize(4.6),a.setTextColor(...X2),a.text(o.text(le.initials),Me+Gi/2,We+Gi/2,{align:"center",baseline:"middle"}));const T=Me+Gi+sc,ze=me-Se*2-Gi-sc;a.setFontSize(6.5),a.setFont(o.family,"bold"),a.setTextColor(30,41,59);const mt=o.text(le.title),Qe=a.splitTextToSize(mt,ze);let Oe=Qe[0]??mt;if(Qe.length>1){const Ge=ze-a.getTextWidth("...");Oe=`${(a.splitTextToSize(mt,Ge)[0]??Oe).trimEnd()}...`}a.text(Oe,T,Ce+3.5),a.setFont(o.family,"normal"),a.setFontSize(6),a.setTextColor(100,116,139),a.text(o.text(le.subtitle),T,Ce+7),a.setDrawColor(226,232,240),a.line(ve,Ce+$,ve+me,Ce+$)};if(n.length>0){const le=await td(n);a.addPage("a3","landscape"),H(`EXHIBITORS (${n.length}
196)`),n.forEach((ve,Ce)=>{const qe=Ce%De;Ce>0&&qe===0&&(a.addPage("a3","landscape"),H(`EXHIBITORS (continued · page ${Math.floor(Ce/De)+1})`));const Me=Math.floor(qe/xe),We=qe%xe;G({badge:le.get(ve.id)??null,initials:Hl(ve.name),title:ve.name,subtitle:`${Vf(ve.boothNumber)}${ve.hall?` · ${zl(ve.hall)}`:""}`},c+Me*me,_e+We*$,We%2===0)})}const K=le=>({badge:nf(le.icon),initials:Hl(le.label),title:le.label,subtitle:zl(le.hall)}),te=(le,ve)=>le.label.localeCompare(ve.label),ue=[{label:"LOUNGES",entries:[...Gf].sort(te).map(K)},{label:"AMENITIES",entries:[...$f].sort(te).map(K)}];a.addPage("a3","landscape"),H("LOUNGES & AMENITIES");let ye=_e;for(const le of ue){let ve=le.entries,Ce=!1;for(;ve.length>0;){Math.floor((l-c-ye-Fe)/$)<1&&(a.addPage("a3","landscape"),H("LOUNGES & AMENITIES (continued)"),ye=_e);const qe=Math.floor((l-c-ye-Fe)/$);a.setFontSize(7),a.setFont(o.family,"bold"),a.setTextColor(100,116,139),a.text(o.text(Ce?`${le.label} (continued)`:le.label),c,ye+4);const Me=ye+Fe,We=Math.min(qe,Math.ceil(ve.length/X)),T=ve.slice(0,We*X);T.forEach((ze,mt)=>{const Qe=Math.floor(mt/We),Oe=mt%We;G(ze,c+Qe*me,Me+Oe*$,Oe%2===0)}),ye=Me+We*$+N,ve=ve.slice(T.length),Ce=!0}}a.save("EnergyExpo_FloorMap.pdf")}catch(a){console.error("PDF generation failed",a),zf.error("Could not generate PDF. Please try again.")}}const od=Object.freeze(Object.defineProperty({__proto__:null,downloadMapPdf:rd},Symbol.toStringTag,{value:"Module"}));export{Kt as _,od as m};

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.