@blockcerts/blockcerts-verifier 1.70.1 → 1.71.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/bundle-stats.html +13 -13
  2. package/dist/DataIntegrityProof-elCNKq16-DBDuaDNt.js +7 -0
  3. package/dist/EcdsaSd2023-B0XPAIp6-K61axvBA.js +30 -0
  4. package/dist/EcdsaSecp256k1Signature2019-BHgoxmKI-DT2qHZod.js +1 -0
  5. package/dist/Ed25519Signature2020-BQsESRnS-TKZI_1AX.js +34 -0
  6. package/dist/EddsaRdfc2022-DQKzWHK4-BILzDBp-.js +14 -0
  7. package/dist/{HashlinkVerifier-mEn5oMxx-0x0OtiE4.js → HashlinkVerifier-BsVlaml5-B4Niv2-b.js} +2 -2
  8. package/dist/{MerkleProof2017-Cgbk--lC-CKvOfXrT.js → MerkleProof2017-CYM8CJHB-FYpMvld0.js} +1 -1
  9. package/dist/MerkleProof2019-BLrywo8h-Bo9rH2Eq.js +13 -0
  10. package/dist/{checkCredentialSchemaConformity-CuuMYTl6-DqE6I7JD.js → checkCredentialSchemaConformity-CKNtOu_t-B9iaCRUE.js} +1 -1
  11. package/dist/{controlVerificationMethod-C87jwGUr-CpVyq-8H.js → controlVerificationMethod-B4TgLED0-BGpxLjMq.js} +1 -1
  12. package/dist/{did-key-common.esm-D1RQn0yL-kJBnihy7.js → did-key-common.esm-BIftA62j-hVrUMxjy.js} +3 -3
  13. package/dist/{did-key-ed25519.esm-0v03exJh-COIOTeQ5.js → did-key-ed25519.esm-Drn3Y7PF-CqD0ifNk.js} +1 -1
  14. package/dist/{did-key-secp256k1.esm-Cs0ZCHjg-B35GrJww.js → did-key-secp256k1.esm-DH-f3o5q-C66E7IxB.js} +1 -1
  15. package/dist/downloadPDF-D2qwT_DJ.js +297 -0
  16. package/dist/ed25519-key-pair.esm-DPOFpdJ2-BrwuS0Ia.js +25 -0
  17. package/dist/{elliptic-HXNc7riQ-DrFZxkx3.js → elliptic-4aZS_cwf-BpaNaVm0.js} +1 -1
  18. package/dist/elliptic-BYqApR8Y-CKp7atgR.js +1 -0
  19. package/dist/{index-BJkS6Wwm-C8oVP6LM.js → index-BgTFEYQ4-DMaz98iZ.js} +7 -7
  20. package/dist/index-lyuTDW_o-nyi7dklX.js +1 -0
  21. package/dist/{index.es-kH7iskh8.js → index.es-BIiEi3w5.js} +2 -2
  22. package/dist/{jsonld-CMQE_cGn-899pOqB6.js → jsonld-B_Q2jvnp-BJ5uVeOU.js} +1 -1
  23. package/dist/{jsonld-signatures-ZtLxJmqT-B0W14Jb0.js → jsonld-signatures-BbILf-Q7-DTp6__ud.js} +1 -1
  24. package/dist/keyUtils-ExMI0fmg-NVOmd8LH.js +1 -0
  25. package/dist/main.js +116 -116
  26. package/dist/{retrieveVerificationMethodPublicKey-nmb3CCVx-DA6ovQri.js → retrieveVerificationMethodPublicKey-C5Gafl1E-Lv4waRy7.js} +1 -1
  27. package/dist/verifyIssuerProfile-DCJyz3ho-BwuCK9F3.js +1 -0
  28. package/dist/{x25519-CbZcE2Ac-NSl6svWQ.js → x25519-Kp6t9B5a-Dh8L0KYb.js} +1 -1
  29. package/package.json +4 -4
  30. package/dist/EcdsaSd2023-BDSl7Ei2-BKyD2rP9.js +0 -35
  31. package/dist/EcdsaSecp256k1Signature2019-Bk8_LQ8c-BqdRm-Jv.js +0 -1
  32. package/dist/Ed25519Signature2020-fyWut63D-R9eZ2oN0.js +0 -58
  33. package/dist/MerkleProof2019-Dhsn349H-DFyc-5gT.js +0 -3
  34. package/dist/downloadPDF-CWa3ZYVl.js +0 -346
  35. package/dist/elliptic-CRAl7yyq-DbLzV4aB.js +0 -1
  36. package/dist/verifyIssuerProfile-CYqfuwV1-DeQqsjiM.js +0 -1
  37. /package/dist/{checkRevocationStatusList2021-UjTyRcl_-BEBD8TO8.js → checkRevocationStatusList2021-CMAVXAVE-BEBD8TO8.js} +0 -0
  38. /package/dist/{ensureNotRevoked-CdrYFvh7-DvMIgM4L.js → ensureNotRevoked-hGps0prO-DvMIgM4L.js} +0 -0
  39. /package/dist/{ensureValidIssuingKey-n3jD_OlE-BdV46XBb.js → ensureValidIssuingKey-BMVCi2T2-BdV46XBb.js} +0 -0
  40. /package/dist/{index-BcfLkJHS-Dgus2xdV.js → index-BS134367-Dgus2xdV.js} +0 -0
  41. /package/dist/{index-DYND9Svl-C0eXpZGn.js → index-CQYVZlSE-C0eXpZGn.js} +0 -0
  42. /package/dist/{sha256-CN3v2fAD-C1PUWFZm.js → sha256-u2xsd4MQ-C1PUWFZm.js} +0 -0
  43. /package/dist/{webcrypto.es-hNUMWa8--BnVhHKeM.js → webcrypto.es-DpqeDikX-BnVhHKeM.js} +0 -0
@@ -0,0 +1,297 @@
1
+ import{_ as A,K as t,L as e,M as r,N as n}from"./main.js";function i(A,t){return t.forEach((function(t){t&&"string"!=typeof t&&!Array.isArray(t)&&Object.keys(t).forEach((function(e){if("default"!==e&&!(e in A)){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(A,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}}))})),Object.freeze(A)}function s(A){const{offsetWidth:t,offsetHeight:e}=A;return{width:t,height:e}}function o(A){return o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(A){return typeof A}:function(A){return A&&"function"==typeof Symbol&&A.constructor===Symbol&&A!==Symbol.prototype?"symbol":typeof A},o(A)}var a=Uint8Array,c=Uint16Array,u=Int32Array,l=new a([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]),h=new a([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]),f=new a([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),d=function(A,t){for(var e=new c(31),r=0;r<31;++r)e[r]=t+=1<<A[r-1];var n=new u(e[30]);for(r=1;r<30;++r)for(var i=e[r];i<e[r+1];++i)n[i]=i-e[r]<<5|r;return{b:e,r:n}},g=d(l,2),B=g.b,p=g.r;B[28]=258,p[258]=28;for(var w=d(h,0).r,m=new c(32768),C=0;C<32768;++C){var y=(43690&C)>>1|(21845&C)<<1;y=(61680&(y=(52428&y)>>2|(13107&y)<<2))>>4|(3855&y)<<4,m[C]=((65280&y)>>8|(255&y)<<8)>>1}var Q=function(A,t,e){for(var r=A.length,n=0,i=new c(t);n<r;++n)A[n]&&++i[A[n]-1];var s,o=new c(t);for(n=1;n<t;++n)o[n]=o[n-1]+i[n-1]<<1;if(e){s=new c(1<<t);var a=15-t;for(n=0;n<r;++n)if(A[n])for(var u=n<<4|A[n],l=t-A[n],h=o[A[n]-1]++<<l,f=h|(1<<l)-1;h<=f;++h)s[m[h]>>a]=u}else for(s=new c(r),n=0;n<r;++n)A[n]&&(s[n]=m[o[A[n]-1]++]>>15-A[n]);return s},v=new a(288);for(C=0;C<144;++C)v[C]=8;for(C=144;C<256;++C)v[C]=9;for(C=256;C<280;++C)v[C]=7;for(C=280;C<288;++C)v[C]=8;var b=new a(32);for(C=0;C<32;++C)b[C]=5;var F=Q(v,9,0),U=Q(b,5,0),L=function(A){return(A+7)/8|0},E=function(A,t,e){e<<=7&t;var r=t/8|0;A[r]|=e,A[r+1]|=e>>8},I=function(A,t,e){e<<=7&t;var r=t/8|0;A[r]|=e,A[r+1]|=e>>8,A[r+2]|=e>>16},x=function(A,t){for(var e=[],r=0;r<A.length;++r)A[r]&&e.push({s:r,f:A[r]});var n=e.length,i=e.slice();if(!n)return{t:D,l:0};if(1==n){var s=new a(e[0].s+1);return s[e[0].s]=1,{t:s,l:1}}e.sort((function(A,t){return A.f-t.f})),e.push({s:-1,f:25001});var o=e[0],u=e[1],l=0,h=1,f=2;for(e[0]={s:-1,f:o.f+u.f,l:o,r:u};h!=n-1;)o=e[e[l].f<e[f].f?l++:f++],u=e[l!=h&&e[l].f<e[f].f?l++:f++],e[h++]={s:-1,f:o.f+u.f,l:o,r:u};var d=i[0].s;for(r=1;r<n;++r)i[r].s>d&&(d=i[r].s);var g=new c(d+1),B=H(e[h-1],g,0);if(B>t){r=0;var p=0,w=B-t,m=1<<w;for(i.sort((function(A,t){return g[t.s]-g[A.s]||A.f-t.f}));r<n;++r){var C=i[r].s;if(!(g[C]>t))break;p+=m-(1<<B-g[C]),g[C]=t}for(p>>=w;p>0;){var y=i[r].s;g[y]<t?p-=1<<t-g[y]++-1:++r}for(;r>=0&&p;--r){var Q=i[r].s;g[Q]==t&&(--g[Q],++p)}B=t}return{t:new a(g),l:B}},H=function(A,t,e){return-1==A.s?Math.max(H(A.l,t,e+1),H(A.r,t,e+1)):t[A.s]=e},N=function(A){for(var t=A.length;t&&!A[--t];);for(var e=new c(++t),r=0,n=A[0],i=1,s=function(A){e[r++]=A},o=1;o<=t;++o)if(A[o]==n&&o!=t)++i;else{if(!n&&i>2){for(;i>138;i-=138)s(32754);i>2&&(s(i>10?i-11<<5|28690:i-3<<5|12305),i=0)}else if(i>3){for(s(n),--i;i>6;i-=6)s(8304);i>2&&(s(i-3<<5|8208),i=0)}for(;i--;)s(n);i=1,n=A[o]}return{c:e.subarray(0,r),n:t}},S=function(A,t){for(var e=0,r=0;r<t.length;++r)e+=A[r]*t[r];return e},_=function(A,t,e){var r=e.length,n=L(t+2);A[n]=255&r,A[n+1]=r>>8,A[n+2]=255^A[n],A[n+3]=255^A[n+1];for(var i=0;i<r;++i)A[n+i+4]=e[i];return 8*(n+4+r)},k=function(A,t,e,r,n,i,s,o,a,u,d){E(t,d++,e),++n[256];for(var g=x(n,15),B=g.t,p=g.l,w=x(i,15),m=w.t,C=w.l,y=N(B),L=y.c,H=y.n,k=N(m),P=k.c,D=k.n,M=new c(19),O=0;O<L.length;++O)++M[31&L[O]];for(O=0;O<P.length;++O)++M[31&P[O]];for(var T=x(M,7),K=T.t,R=T.l,j=19;j>4&&!K[f[j-1]];--j);var G,V,q,W,X=u+5<<3,J=S(n,v)+S(i,b)+s,z=S(n,B)+S(i,m)+s+14+3*j+S(M,K)+2*M[16]+3*M[17]+7*M[18];if(a>=0&&X<=J&&X<=z)return _(t,d,A.subarray(a,a+u));if(E(t,d,1+(z<J)),d+=2,z<J){G=Q(B,p,0),V=B,q=Q(m,C,0),W=m;var Y=Q(K,R,0);E(t,d,H-257),E(t,d+5,D-1),E(t,d+10,j-4),d+=14;for(O=0;O<j;++O)E(t,d+3*O,K[f[O]]);d+=3*j;for(var Z=[L,P],$=0;$<2;++$){var AA=Z[$];for(O=0;O<AA.length;++O){var tA=31&AA[O];E(t,d,Y[tA]),d+=K[tA],tA>15&&(E(t,d,AA[O]>>5&127),d+=AA[O]>>12)}}}else G=F,V=v,q=U,W=b;for(O=0;O<o;++O){var eA=r[O];if(eA>255){I(t,d,G[(tA=eA>>18&31)+257]),d+=V[tA+257],tA>7&&(E(t,d,eA>>23&31),d+=l[tA]);var rA=31&eA;I(t,d,q[rA]),d+=W[rA],rA>3&&(I(t,d,eA>>5&8191),d+=h[rA])}else I(t,d,G[eA]),d+=V[eA]}return I(t,d,G[256]),d+V[256]},P=new u([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),D=new a(0),M=function(A,t,e,r,n,i){var s=i.z||A.length,o=new a(r+s+5*(1+Math.ceil(s/7e3))+n),f=o.subarray(r,o.length-n),d=i.l,g=7&(i.r||0);if(t){g&&(f[0]=i.r>>3);for(var B=P[t-1],m=B>>13,C=8191&B,y=(1<<e)-1,Q=i.p||new c(32768),v=i.h||new c(y+1),b=Math.ceil(e/3),F=2*b,U=function(t){return(A[t]^A[t+1]<<b^A[t+2]<<F)&y},E=new u(25e3),I=new c(288),x=new c(32),H=0,N=0,S=i.i||0,D=0,M=i.w||0,O=0;S+2<s;++S){var T=U(S),K=32767&S,R=v[T];if(Q[K]=R,v[T]=K,M<=S){var j=s-S;if((H>7e3||D>24576)&&(j>423||!d)){g=k(A,f,0,E,I,x,N,D,O,S-O,g),D=H=N=0,O=S;for(var G=0;G<286;++G)I[G]=0;for(G=0;G<30;++G)x[G]=0}var V=2,q=0,W=C,X=K-R&32767;if(j>2&&T==U(S-X))for(var J=Math.min(m,j)-1,z=Math.min(32767,S),Y=Math.min(258,j);X<=z&&--W&&K!=R;){if(A[S+V]==A[S+V-X]){for(var Z=0;Z<Y&&A[S+Z]==A[S+Z-X];++Z);if(Z>V){if(V=Z,q=X,Z>J)break;var $=Math.min(X,Z-2),AA=0;for(G=0;G<$;++G){var tA=S-X+G&32767,eA=tA-Q[tA]&32767;eA>AA&&(AA=eA,R=tA)}}}X+=(K=R)-(R=Q[K])&32767}if(q){E[D++]=268435456|p[V]<<18|w[q];var rA=31&p[V],nA=31&w[q];N+=l[rA]+h[nA],++I[257+rA],++x[nA],M=S+V,++H}else E[D++]=A[S],++I[A[S]]}}for(S=Math.max(S,M);S<s;++S)E[D++]=A[S],++I[A[S]];g=k(A,f,d,E,I,x,N,D,O,S-O,g),d||(i.r=7&g|f[g/8|0]<<3,g-=7,i.h=v,i.p=Q,i.i=S,i.w=M)}else{for(S=i.w||0;S<s+d;S+=65535){var iA=S+65535;iA>=s&&(f[g/8|0]=d,iA=s),g=_(f,g+1,A.subarray(S,iA))}i.i=s}return function(A,t,e){return(null==e||e>A.length)&&(e=A.length),new a(A.subarray(t,e))}(o,0,r+L(g)+n)},O=function(){var A=1,t=0;return{p:function(e){for(var r=A,n=t,i=0|e.length,s=0;s!=i;){for(var o=Math.min(s+2655,i);s<o;++s)n+=r+=e[s];r=(65535&r)+15*(r>>16),n=(65535&n)+15*(n>>16)}A=r,t=n},d:function(){return(255&(A%=65521))<<24|(65280&A)<<8|(255&(t%=65521))<<8|t>>8}}},T=function(A,t,e){for(;e;++t)A[t]=e,e>>>=8};function K(A,t){t||(t={});var e=O();e.p(A);var r=function(A,t,e,r,n){if(!n&&(n={l:1},t.dictionary)){var i=t.dictionary.subarray(-32768),s=new a(i.length+A.length);s.set(i),s.set(A,i.length),A=s,n.w=i.length}return M(A,null==t.level?6:t.level,null==t.mem?n.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(A.length)))):20:12+t.mem,e,r,n)}(A,t,t.dictionary?6:2,4);return function(A,t){var e=t.level,r=0==e?0:e<6?1:9==e?3:2;if(A[0]=120,A[1]=r<<6|(t.dictionary&&32),A[1]|=31-(A[0]<<8|A[1])%31,t.dictionary){var n=O();n.p(t.dictionary),T(A,2,n.d())}}(r,t),T(r,r.length-4,e.d()),r}var R="undefined"!=typeof TextDecoder&&new TextDecoder;try{R.decode(D,{stream:!0})}catch(br){}function j(A,t){(null==t||t>A.length)&&(t=A.length);for(var e=0,r=Array(t);e<t;e++)r[e]=A[e];return r}function G(A,t){return function(A){if(Array.isArray(A))return A}(A)||function(A,t){var e=null==A?null:"undefined"!=typeof Symbol&&A[Symbol.iterator]||A["@@iterator"];if(null!=e){var r,n,i,s,o=[],a=!0,c=!1;try{if(i=(e=e.call(A)).next,0===t);else for(;!(a=(r=i.call(e)).done)&&(o.push(r.value),o.length!==t);a=!0);}catch(A){c=!0,n=A}finally{try{if(!a&&null!=e.return&&(s=e.return(),Object(s)!==s))return}finally{if(c)throw n}}return o}}(A,t)||function(A,t){if(A){if("string"==typeof A)return j(A,t);var e={}.toString.call(A).slice(8,-1);return"Object"===e&&A.constructor&&(e=A.constructor.name),"Map"===e||"Set"===e?Array.from(A):"Arguments"===e||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?j(A,t):void 0}}(A,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(A,t="utf8"){return new TextDecoder(t).decode(A)}const q=new TextEncoder;const W=(()=>{const A=new Uint8Array(4);return!((new Uint32Array(A.buffer)[0]=1)&A[0])})(),X={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 J{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(A=8192,t={}){let e=!1;"number"==typeof A?A=new ArrayBuffer(A):(e=!0,this.lastWrittenByte=A.byteLength);const r=t.offset?t.offset>>>0:0,n=A.byteLength-r;let i=r;(ArrayBuffer.isView(A)||A instanceof J)&&(A.byteLength!==A.buffer.byteLength&&(i=A.byteOffset+r),A=A.buffer),this.lastWrittenByte=e?n:0,this.buffer=A,this.length=n,this.byteLength=n,this.byteOffset=i,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,i,n),this._mark=0,this._marks=[]}available(A=1){return this.offset+A<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(A=1){return this.offset+=A,this}back(A=1){return this.offset-=A,this}seek(A){return this.offset=A,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 A=this._marks.pop();if(void 0===A)throw new Error("Mark stack empty");return this.seek(A),this}rewind(){return this.offset=0,this}ensureAvailable(A=1){if(!this.available(A)){const t=2*(this.offset+A),e=new Uint8Array(t);e.set(new Uint8Array(this.buffer)),this.buffer=e.buffer,this.length=t,this.byteLength=t,this._data=new DataView(this.buffer)}return this}readBoolean(){return 0!==this.readUint8()}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(A=1){return this.readArray(A,"uint8")}readArray(A,t){const e=X[t].BYTES_PER_ELEMENT*A,r=this.byteOffset+this.offset,n=this.buffer.slice(r,r+e);if(this.littleEndian===W&&"uint8"!==t&&"int8"!==t){const A=new Uint8Array(this.buffer.slice(r,r+e));A.reverse();const n=new X[t](A.buffer);return this.offset+=e,n.reverse(),n}const i=new X[t](n);return this.offset+=e,i}readInt16(){const A=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,A}readUint16(){const A=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,A}readInt32(){const A=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,A}readUint32(){const A=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,A}readFloat32(){const A=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,A}readFloat64(){const A=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,A}readBigInt64(){const A=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,A}readBigUint64(){const A=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,A}readChar(){return String.fromCharCode(this.readInt8())}readChars(A=1){let t="";for(let e=0;e<A;e++)t+=this.readChar();return t}readUtf8(A=1){return V(this.readBytes(A))}decodeText(A=1,t="utf8"){return V(this.readBytes(A),t)}writeBoolean(A){return this.writeUint8(A?255:0),this}writeInt8(A){return this.ensureAvailable(1),this._data.setInt8(this.offset++,A),this._updateLastWrittenByte(),this}writeUint8(A){return this.ensureAvailable(1),this._data.setUint8(this.offset++,A),this._updateLastWrittenByte(),this}writeByte(A){return this.writeUint8(A)}writeBytes(A){this.ensureAvailable(A.length);for(let t=0;t<A.length;t++)this._data.setUint8(this.offset++,A[t]);return this._updateLastWrittenByte(),this}writeInt16(A){return this.ensureAvailable(2),this._data.setInt16(this.offset,A,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(A){return this.ensureAvailable(2),this._data.setUint16(this.offset,A,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(A){return this.ensureAvailable(4),this._data.setInt32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(A){return this.ensureAvailable(4),this._data.setUint32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(A){return this.ensureAvailable(4),this._data.setFloat32(this.offset,A,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(A){return this.ensureAvailable(8),this._data.setFloat64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(A){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(A){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,A,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(A){return this.writeUint8(A.charCodeAt(0))}writeChars(A){for(let t=0;t<A.length;t++)this.writeUint8(A.charCodeAt(t));return this}writeUtf8(A){return this.writeBytes(function(A){return q.encode(A)}(A))}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 z(A){let t=A.length;for(;--t>=0;)A[t]=0}z(new Array(576));z(new Array(60));z(new Array(512));z(new Array(256));z(new Array(29));z(new Array(30));var Y=(A,t,e,r)=>{let n=65535&A,i=A>>>16&65535,s=0;for(;0!==e;){s=e>2e3?2e3:e,e-=s;do{n=n+t[r++]|0,i=i+n|0}while(--s);n%=65521,i%=65521}return n|i<<16};const Z=new Uint32Array((()=>{let A,t=[];for(var e=0;e<256;e++){A=e;for(var r=0;r<8;r++)A=1&A?3988292384^A>>>1:A>>>1;t[e]=A}return t})());var $=(A,t,e,r)=>{const n=Z,i=r+e;A^=-1;for(let e=r;e<i;e++)A=A>>>8^n[255&(A^t[e])];return~A},AA={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"},tA={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 eA=(A,t)=>Object.prototype.hasOwnProperty.call(A,t);var rA=function(A){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const e=t.shift();if(e){if("object"!=typeof e)throw new TypeError(e+"must be non-object");for(const t in e)eA(e,t)&&(A[t]=e[t])}}return A},nA=A=>{let t=0;for(let e=0,r=A.length;e<r;e++)t+=A[e].length;const e=new Uint8Array(t);for(let t=0,r=0,n=A.length;t<n;t++){let n=A[t];e.set(n,r),r+=n.length}return e};let iA=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(A){iA=!1}const sA=new Uint8Array(256);for(let A=0;A<256;A++)sA[A]=A>=252?6:A>=248?5:A>=240?4:A>=224?3:A>=192?2:1;sA[254]=sA[254]=1;var oA=A=>{if("function"==typeof TextEncoder&&TextEncoder.prototype.encode)return(new TextEncoder).encode(A);let t,e,r,n,i,s=A.length,o=0;for(n=0;n<s;n++)e=A.charCodeAt(n),55296==(64512&e)&&n+1<s&&(r=A.charCodeAt(n+1),56320==(64512&r)&&(e=65536+(e-55296<<10)+(r-56320),n++)),o+=e<128?1:e<2048?2:e<65536?3:4;for(t=new Uint8Array(o),i=0,n=0;i<o;n++)e=A.charCodeAt(n),55296==(64512&e)&&n+1<s&&(r=A.charCodeAt(n+1),56320==(64512&r)&&(e=65536+(e-55296<<10)+(r-56320),n++)),e<128?t[i++]=e:e<2048?(t[i++]=192|e>>>6,t[i++]=128|63&e):e<65536?(t[i++]=224|e>>>12,t[i++]=128|e>>>6&63,t[i++]=128|63&e):(t[i++]=240|e>>>18,t[i++]=128|e>>>12&63,t[i++]=128|e>>>6&63,t[i++]=128|63&e);return t},aA=(A,t)=>{const e=t||A.length;if("function"==typeof TextDecoder&&TextDecoder.prototype.decode)return(new TextDecoder).decode(A.subarray(0,t));let r,n;const i=new Array(2*e);for(n=0,r=0;r<e;){let t=A[r++];if(t<128){i[n++]=t;continue}let s=sA[t];if(s>4)i[n++]=65533,r+=s-1;else{for(t&=2===s?31:3===s?15:7;s>1&&r<e;)t=t<<6|63&A[r++],s--;s>1?i[n++]=65533:t<65536?i[n++]=t:(t-=65536,i[n++]=55296|t>>10&1023,i[n++]=56320|1023&t)}}return((A,t)=>{if(t<65534&&A.subarray&&iA)return String.fromCharCode.apply(null,A.length===t?A:A.subarray(0,t));let e="";for(let r=0;r<t;r++)e+=String.fromCharCode(A[r]);return e})(i,n)},cA=(A,t)=>{(t=t||A.length)>A.length&&(t=A.length);let e=t-1;for(;e>=0&&128==(192&A[e]);)e--;return e<0||0===e?t:e+sA[A[e]]>t?e:t};var uA=function(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0};const lA=16209;var hA=function(A,t){let e,r,n,i,s,o,a,c,u,l,h,f,d,g,B,p,w,m,C,y,Q,v,b,F;const U=A.state;e=A.next_in,b=A.input,r=e+(A.avail_in-5),n=A.next_out,F=A.output,i=n-(t-A.avail_out),s=n+(A.avail_out-257),o=U.dmax,a=U.wsize,c=U.whave,u=U.wnext,l=U.window,h=U.hold,f=U.bits,d=U.lencode,g=U.distcode,B=(1<<U.lenbits)-1,p=(1<<U.distbits)-1;A:do{f<15&&(h+=b[e++]<<f,f+=8,h+=b[e++]<<f,f+=8),w=d[h&B];t:for(;;){if(m=w>>>24,h>>>=m,f-=m,m=w>>>16&255,0===m)F[n++]=65535&w;else{if(!(16&m)){if(64&m){if(32&m){U.mode=16191;break A}A.msg="invalid literal/length code",U.mode=lA;break A}w=d[(65535&w)+(h&(1<<m)-1)];continue t}for(C=65535&w,m&=15,m&&(f<m&&(h+=b[e++]<<f,f+=8),C+=h&(1<<m)-1,h>>>=m,f-=m),f<15&&(h+=b[e++]<<f,f+=8,h+=b[e++]<<f,f+=8),w=g[h&p];;){if(m=w>>>24,h>>>=m,f-=m,m=w>>>16&255,16&m){if(y=65535&w,m&=15,f<m&&(h+=b[e++]<<f,f+=8,f<m&&(h+=b[e++]<<f,f+=8)),y+=h&(1<<m)-1,y>o){A.msg="invalid distance too far back",U.mode=lA;break A}if(h>>>=m,f-=m,m=n-i,y>m){if(m=y-m,m>c&&U.sane){A.msg="invalid distance too far back",U.mode=lA;break A}if(Q=0,v=l,0===u){if(Q+=a-m,m<C){C-=m;do{F[n++]=l[Q++]}while(--m);Q=n-y,v=F}}else if(u<m){if(Q+=a+u-m,m-=u,m<C){C-=m;do{F[n++]=l[Q++]}while(--m);if(Q=0,u<C){m=u,C-=m;do{F[n++]=l[Q++]}while(--m);Q=n-y,v=F}}}else if(Q+=u-m,m<C){C-=m;do{F[n++]=l[Q++]}while(--m);Q=n-y,v=F}for(;C>2;)F[n++]=v[Q++],F[n++]=v[Q++],F[n++]=v[Q++],C-=3;C&&(F[n++]=v[Q++],C>1&&(F[n++]=v[Q++]))}else{Q=n-y;do{F[n++]=F[Q++],F[n++]=F[Q++],F[n++]=F[Q++],C-=3}while(C>2);C&&(F[n++]=F[Q++],C>1&&(F[n++]=F[Q++]))}break}if(64&m){A.msg="invalid distance code",U.mode=lA;break A}w=g[(65535&w)+(h&(1<<m)-1)]}}break}}while(e<r&&n<s);C=f>>3,e-=C,f-=C<<3,h&=(1<<f)-1,A.next_in=e,A.next_out=n,A.avail_in=e<r?r-e+5:5-(e-r),A.avail_out=n<s?s-n+257:257-(n-s),U.hold=h,U.bits=f};const fA=15,dA=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]),gA=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78]),BA=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]),pA=new Uint8Array([16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64]);var wA=(A,t,e,r,n,i,s,o)=>{const a=o.bits;let c,u,l,h,f,d,g=0,B=0,p=0,w=0,m=0,C=0,y=0,Q=0,v=0,b=0,F=null;const U=new Uint16Array(16),L=new Uint16Array(16);let E,I,x,H=null;for(g=0;g<=fA;g++)U[g]=0;for(B=0;B<r;B++)U[t[e+B]]++;for(m=a,w=fA;w>=1&&0===U[w];w--);if(m>w&&(m=w),0===w)return n[i++]=20971520,n[i++]=20971520,o.bits=1,0;for(p=1;p<w&&0===U[p];p++);for(m<p&&(m=p),Q=1,g=1;g<=fA;g++)if(Q<<=1,Q-=U[g],Q<0)return-1;if(Q>0&&(0===A||1!==w))return-1;for(L[1]=0,g=1;g<fA;g++)L[g+1]=L[g]+U[g];for(B=0;B<r;B++)0!==t[e+B]&&(s[L[t[e+B]]++]=B);if(0===A?(F=H=s,d=20):1===A?(F=dA,H=gA,d=257):(F=BA,H=pA,d=0),b=0,B=0,g=p,f=i,C=m,y=0,l=-1,v=1<<m,h=v-1,1===A&&v>852||2===A&&v>592)return 1;for(;;){E=g-y,s[B]+1<d?(I=0,x=s[B]):s[B]>=d?(I=H[s[B]-d],x=F[s[B]-d]):(I=96,x=0),c=1<<g-y,u=1<<C,p=u;do{u-=c,n[f+(b>>y)+u]=E<<24|I<<16|x}while(0!==u);for(c=1<<g-1;b&c;)c>>=1;if(0!==c?(b&=c-1,b+=c):b=0,B++,0==--U[g]){if(g===w)break;g=t[e+s[B]]}if(g>m&&(b&h)!==l){for(0===y&&(y=m),f+=p,C=g-y,Q=1<<C;C+y<w&&(Q-=U[C+y],!(Q<=0));)C++,Q<<=1;if(v+=1<<C,1===A&&v>852||2===A&&v>592)return 1;l=b&h,n[l]=m<<24|C<<16|f-i}}return 0!==b&&(n[f+b]=g-y<<24|64<<16),o.bits=m,0};const{Z_FINISH:mA,Z_BLOCK:CA,Z_TREES:yA,Z_OK:QA,Z_STREAM_END:vA,Z_NEED_DICT:bA,Z_STREAM_ERROR:FA,Z_DATA_ERROR:UA,Z_MEM_ERROR:LA,Z_BUF_ERROR:EA,Z_DEFLATED:IA}=tA,xA=16180,HA=16190,NA=16191,SA=16192,_A=16194,kA=16199,PA=16200,DA=16206,MA=16209,OA=A=>(A>>>24&255)+(A>>>8&65280)+((65280&A)<<8)+((255&A)<<24);function TA(){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 KA=A=>{if(!A)return 1;const t=A.state;return!t||t.strm!==A||t.mode<xA||t.mode>16211?1:0},RA=A=>{if(KA(A))return FA;const t=A.state;return A.total_in=A.total_out=t.total=0,A.msg="",t.wrap&&(A.adler=1&t.wrap),t.mode=xA,t.last=0,t.havedict=0,t.flags=-1,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new Int32Array(852),t.distcode=t.distdyn=new Int32Array(592),t.sane=1,t.back=-1,QA},jA=A=>{if(KA(A))return FA;const t=A.state;return t.wsize=0,t.whave=0,t.wnext=0,RA(A)},GA=(A,t)=>{let e;if(KA(A))return FA;const r=A.state;return t<0?(e=0,t=-t):(e=5+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?FA:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=e,r.wbits=t,jA(A))},VA=(A,t)=>{if(!A)return FA;const e=new TA;A.state=e,e.strm=A,e.window=null,e.mode=xA;const r=GA(A,t);return r!==QA&&(A.state=null),r};let qA,WA,XA=!0;const JA=A=>{if(XA){qA=new Int32Array(512),WA=new Int32Array(32);let t=0;for(;t<144;)A.lens[t++]=8;for(;t<256;)A.lens[t++]=9;for(;t<280;)A.lens[t++]=7;for(;t<288;)A.lens[t++]=8;for(wA(1,A.lens,0,288,qA,0,A.work,{bits:9}),t=0;t<32;)A.lens[t++]=5;wA(2,A.lens,0,32,WA,0,A.work,{bits:5}),XA=!1}A.lencode=qA,A.lenbits=9,A.distcode=WA,A.distbits=5},zA=(A,t,e,r)=>{let n;const i=A.state;return null===i.window&&(i.wsize=1<<i.wbits,i.wnext=0,i.whave=0,i.window=new Uint8Array(i.wsize)),r>=i.wsize?(i.window.set(t.subarray(e-i.wsize,e),0),i.wnext=0,i.whave=i.wsize):(n=i.wsize-i.wnext,n>r&&(n=r),i.window.set(t.subarray(e-r,e-r+n),i.wnext),(r-=n)?(i.window.set(t.subarray(e-r,e),0),i.wnext=r,i.whave=i.wsize):(i.wnext+=n,i.wnext===i.wsize&&(i.wnext=0),i.whave<i.wsize&&(i.whave+=n))),0};var YA={inflateReset:jA,inflateReset2:GA,inflateResetKeep:RA,inflateInit:A=>VA(A,15),inflateInit2:VA,inflate:(A,t)=>{let e,r,n,i,s,o,a,c,u,l,h,f,d,g,B,p,w,m,C,y,Q,v,b=0;const F=new Uint8Array(4);let U,L;const E=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(KA(A)||!A.output||!A.input&&0!==A.avail_in)return FA;e=A.state,e.mode===NA&&(e.mode=SA),s=A.next_out,n=A.output,a=A.avail_out,i=A.next_in,r=A.input,o=A.avail_in,c=e.hold,u=e.bits,l=o,h=a,v=QA;A:for(;;)switch(e.mode){case xA:if(0===e.wrap){e.mode=SA;break}for(;u<16;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}if(2&e.wrap&&35615===c){0===e.wbits&&(e.wbits=15),e.check=0,F[0]=255&c,F[1]=c>>>8&255,e.check=$(e.check,F,2,0),c=0,u=0,e.mode=16181;break}if(e.head&&(e.head.done=!1),!(1&e.wrap)||(((255&c)<<8)+(c>>8))%31){A.msg="incorrect header check",e.mode=MA;break}if((15&c)!==IA){A.msg="unknown compression method",e.mode=MA;break}if(c>>>=4,u-=4,Q=8+(15&c),0===e.wbits&&(e.wbits=Q),Q>15||Q>e.wbits){A.msg="invalid window size",e.mode=MA;break}e.dmax=1<<e.wbits,e.flags=0,A.adler=e.check=1,e.mode=512&c?16189:NA,c=0,u=0;break;case 16181:for(;u<16;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}if(e.flags=c,(255&e.flags)!==IA){A.msg="unknown compression method",e.mode=MA;break}if(57344&e.flags){A.msg="unknown header flags set",e.mode=MA;break}e.head&&(e.head.text=c>>8&1),512&e.flags&&4&e.wrap&&(F[0]=255&c,F[1]=c>>>8&255,e.check=$(e.check,F,2,0)),c=0,u=0,e.mode=16182;case 16182:for(;u<32;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}e.head&&(e.head.time=c),512&e.flags&&4&e.wrap&&(F[0]=255&c,F[1]=c>>>8&255,F[2]=c>>>16&255,F[3]=c>>>24&255,e.check=$(e.check,F,4,0)),c=0,u=0,e.mode=16183;case 16183:for(;u<16;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}e.head&&(e.head.xflags=255&c,e.head.os=c>>8),512&e.flags&&4&e.wrap&&(F[0]=255&c,F[1]=c>>>8&255,e.check=$(e.check,F,2,0)),c=0,u=0,e.mode=16184;case 16184:if(1024&e.flags){for(;u<16;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}e.length=c,e.head&&(e.head.extra_len=c),512&e.flags&&4&e.wrap&&(F[0]=255&c,F[1]=c>>>8&255,e.check=$(e.check,F,2,0)),c=0,u=0}else e.head&&(e.head.extra=null);e.mode=16185;case 16185:if(1024&e.flags&&(f=e.length,f>o&&(f=o),f&&(e.head&&(Q=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(r.subarray(i,i+f),Q)),512&e.flags&&4&e.wrap&&(e.check=$(e.check,r,f,i)),o-=f,i+=f,e.length-=f),e.length))break A;e.length=0,e.mode=16186;case 16186:if(2048&e.flags){if(0===o)break A;f=0;do{Q=r[i+f++],e.head&&Q&&e.length<65536&&(e.head.name+=String.fromCharCode(Q))}while(Q&&f<o);if(512&e.flags&&4&e.wrap&&(e.check=$(e.check,r,f,i)),o-=f,i+=f,Q)break A}else e.head&&(e.head.name=null);e.length=0,e.mode=16187;case 16187:if(4096&e.flags){if(0===o)break A;f=0;do{Q=r[i+f++],e.head&&Q&&e.length<65536&&(e.head.comment+=String.fromCharCode(Q))}while(Q&&f<o);if(512&e.flags&&4&e.wrap&&(e.check=$(e.check,r,f,i)),o-=f,i+=f,Q)break A}else e.head&&(e.head.comment=null);e.mode=16188;case 16188:if(512&e.flags){for(;u<16;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}if(4&e.wrap&&c!==(65535&e.check)){A.msg="header crc mismatch",e.mode=MA;break}c=0,u=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),A.adler=e.check=0,e.mode=NA;break;case 16189:for(;u<32;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}A.adler=e.check=OA(c),c=0,u=0,e.mode=HA;case HA:if(0===e.havedict)return A.next_out=s,A.avail_out=a,A.next_in=i,A.avail_in=o,e.hold=c,e.bits=u,bA;A.adler=e.check=1,e.mode=NA;case NA:if(t===CA||t===yA)break A;case SA:if(e.last){c>>>=7&u,u-=7&u,e.mode=DA;break}for(;u<3;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}switch(e.last=1&c,c>>>=1,u-=1,3&c){case 0:e.mode=16193;break;case 1:if(JA(e),e.mode=kA,t===yA){c>>>=2,u-=2;break A}break;case 2:e.mode=16196;break;case 3:A.msg="invalid block type",e.mode=MA}c>>>=2,u-=2;break;case 16193:for(c>>>=7&u,u-=7&u;u<32;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}if((65535&c)!=(c>>>16^65535)){A.msg="invalid stored block lengths",e.mode=MA;break}if(e.length=65535&c,c=0,u=0,e.mode=_A,t===yA)break A;case _A:e.mode=16195;case 16195:if(f=e.length,f){if(f>o&&(f=o),f>a&&(f=a),0===f)break A;n.set(r.subarray(i,i+f),s),o-=f,i+=f,a-=f,s+=f,e.length-=f;break}e.mode=NA;break;case 16196:for(;u<14;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}if(e.nlen=257+(31&c),c>>>=5,u-=5,e.ndist=1+(31&c),c>>>=5,u-=5,e.ncode=4+(15&c),c>>>=4,u-=4,e.nlen>286||e.ndist>30){A.msg="too many length or distance symbols",e.mode=MA;break}e.have=0,e.mode=16197;case 16197:for(;e.have<e.ncode;){for(;u<3;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}e.lens[E[e.have++]]=7&c,c>>>=3,u-=3}for(;e.have<19;)e.lens[E[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,U={bits:e.lenbits},v=wA(0,e.lens,0,19,e.lencode,0,e.work,U),e.lenbits=U.bits,v){A.msg="invalid code lengths set",e.mode=MA;break}e.have=0,e.mode=16198;case 16198:for(;e.have<e.nlen+e.ndist;){for(;b=e.lencode[c&(1<<e.lenbits)-1],B=b>>>24,p=b>>>16&255,w=65535&b,!(B<=u);){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}if(w<16)c>>>=B,u-=B,e.lens[e.have++]=w;else{if(16===w){for(L=B+2;u<L;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}if(c>>>=B,u-=B,0===e.have){A.msg="invalid bit length repeat",e.mode=MA;break}Q=e.lens[e.have-1],f=3+(3&c),c>>>=2,u-=2}else if(17===w){for(L=B+3;u<L;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}c>>>=B,u-=B,Q=0,f=3+(7&c),c>>>=3,u-=3}else{for(L=B+7;u<L;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}c>>>=B,u-=B,Q=0,f=11+(127&c),c>>>=7,u-=7}if(e.have+f>e.nlen+e.ndist){A.msg="invalid bit length repeat",e.mode=MA;break}for(;f--;)e.lens[e.have++]=Q}}if(e.mode===MA)break;if(0===e.lens[256]){A.msg="invalid code -- missing end-of-block",e.mode=MA;break}if(e.lenbits=9,U={bits:e.lenbits},v=wA(1,e.lens,0,e.nlen,e.lencode,0,e.work,U),e.lenbits=U.bits,v){A.msg="invalid literal/lengths set",e.mode=MA;break}if(e.distbits=6,e.distcode=e.distdyn,U={bits:e.distbits},v=wA(2,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,U),e.distbits=U.bits,v){A.msg="invalid distances set",e.mode=MA;break}if(e.mode=kA,t===yA)break A;case kA:e.mode=PA;case PA:if(o>=6&&a>=258){A.next_out=s,A.avail_out=a,A.next_in=i,A.avail_in=o,e.hold=c,e.bits=u,hA(A,h),s=A.next_out,n=A.output,a=A.avail_out,i=A.next_in,r=A.input,o=A.avail_in,c=e.hold,u=e.bits,e.mode===NA&&(e.back=-1);break}for(e.back=0;b=e.lencode[c&(1<<e.lenbits)-1],B=b>>>24,p=b>>>16&255,w=65535&b,!(B<=u);){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}if(p&&!(240&p)){for(m=B,C=p,y=w;b=e.lencode[y+((c&(1<<m+C)-1)>>m)],B=b>>>24,p=b>>>16&255,w=65535&b,!(m+B<=u);){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}c>>>=m,u-=m,e.back+=m}if(c>>>=B,u-=B,e.back+=B,e.length=w,0===p){e.mode=16205;break}if(32&p){e.back=-1,e.mode=NA;break}if(64&p){A.msg="invalid literal/length code",e.mode=MA;break}e.extra=15&p,e.mode=16201;case 16201:if(e.extra){for(L=e.extra;u<L;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}e.length+=c&(1<<e.extra)-1,c>>>=e.extra,u-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=16202;case 16202:for(;b=e.distcode[c&(1<<e.distbits)-1],B=b>>>24,p=b>>>16&255,w=65535&b,!(B<=u);){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}if(!(240&p)){for(m=B,C=p,y=w;b=e.distcode[y+((c&(1<<m+C)-1)>>m)],B=b>>>24,p=b>>>16&255,w=65535&b,!(m+B<=u);){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}c>>>=m,u-=m,e.back+=m}if(c>>>=B,u-=B,e.back+=B,64&p){A.msg="invalid distance code",e.mode=MA;break}e.offset=w,e.extra=15&p,e.mode=16203;case 16203:if(e.extra){for(L=e.extra;u<L;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}e.offset+=c&(1<<e.extra)-1,c>>>=e.extra,u-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){A.msg="invalid distance too far back",e.mode=MA;break}e.mode=16204;case 16204:if(0===a)break A;if(f=h-a,e.offset>f){if(f=e.offset-f,f>e.whave&&e.sane){A.msg="invalid distance too far back",e.mode=MA;break}f>e.wnext?(f-=e.wnext,d=e.wsize-f):d=e.wnext-f,f>e.length&&(f=e.length),g=e.window}else g=n,d=s-e.offset,f=e.length;f>a&&(f=a),a-=f,e.length-=f;do{n[s++]=g[d++]}while(--f);0===e.length&&(e.mode=PA);break;case 16205:if(0===a)break A;n[s++]=e.length,a--,e.mode=PA;break;case DA:if(e.wrap){for(;u<32;){if(0===o)break A;o--,c|=r[i++]<<u,u+=8}if(h-=a,A.total_out+=h,e.total+=h,4&e.wrap&&h&&(A.adler=e.check=e.flags?$(e.check,n,h,s-h):Y(e.check,n,h,s-h)),h=a,4&e.wrap&&(e.flags?c:OA(c))!==e.check){A.msg="incorrect data check",e.mode=MA;break}c=0,u=0}e.mode=16207;case 16207:if(e.wrap&&e.flags){for(;u<32;){if(0===o)break A;o--,c+=r[i++]<<u,u+=8}if(4&e.wrap&&c!==(4294967295&e.total)){A.msg="incorrect length check",e.mode=MA;break}c=0,u=0}e.mode=16208;case 16208:v=vA;break A;case MA:v=UA;break A;case 16210:return LA;default:return FA}return A.next_out=s,A.avail_out=a,A.next_in=i,A.avail_in=o,e.hold=c,e.bits=u,(e.wsize||h!==A.avail_out&&e.mode<MA&&(e.mode<DA||t!==mA))&&zA(A,A.output,A.next_out,h-A.avail_out),l-=A.avail_in,h-=A.avail_out,A.total_in+=l,A.total_out+=h,e.total+=h,4&e.wrap&&h&&(A.adler=e.check=e.flags?$(e.check,n,h,A.next_out-h):Y(e.check,n,h,A.next_out-h)),A.data_type=e.bits+(e.last?64:0)+(e.mode===NA?128:0)+(e.mode===kA||e.mode===_A?256:0),(0===l&&0===h||t===mA)&&v===QA&&(v=EA),v},inflateEnd:A=>{if(KA(A))return FA;let t=A.state;return t.window&&(t.window=null),A.state=null,QA},inflateGetHeader:(A,t)=>{if(KA(A))return FA;const e=A.state;return 2&e.wrap?(e.head=t,t.done=!1,QA):FA},inflateSetDictionary:(A,t)=>{const e=t.length;let r,n,i;return KA(A)?FA:(r=A.state,0!==r.wrap&&r.mode!==HA?FA:r.mode===HA&&(n=1,n=Y(n,t,e,0),n!==r.check)?UA:(i=zA(A,t,e,e),i?(r.mode=16210,LA):(r.havedict=1,QA)))},inflateInfo:"pako inflate (from Nodeca project)"};var ZA=function(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1};const $A=Object.prototype.toString,{Z_NO_FLUSH:At,Z_FINISH:tt,Z_OK:et,Z_STREAM_END:rt,Z_NEED_DICT:nt,Z_STREAM_ERROR:it,Z_DATA_ERROR:st,Z_MEM_ERROR:ot}=tA;function at(A){this.options=rA({chunkSize:65536,windowBits:15,to:""},A||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||A&&A.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(15&t.windowBits||(t.windowBits|=15)),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new uA,this.strm.avail_out=0;let e=YA.inflateInit2(this.strm,t.windowBits);if(e!==et)throw new Error(AA[e]);if(this.header=new ZA,YA.inflateGetHeader(this.strm,this.header),t.dictionary&&("string"==typeof t.dictionary?t.dictionary=oA(t.dictionary):"[object ArrayBuffer]"===$A.call(t.dictionary)&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(e=YA.inflateSetDictionary(this.strm,t.dictionary),e!==et)))throw new Error(AA[e])}at.prototype.push=function(A,t){const e=this.strm,r=this.options.chunkSize,n=this.options.dictionary;let i,s,o;if(this.ended)return!1;for(s=t===~~t?t:!0===t?tt:At,"[object ArrayBuffer]"===$A.call(A)?e.input=new Uint8Array(A):e.input=A,e.next_in=0,e.avail_in=e.input.length;;){for(0===e.avail_out&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),i=YA.inflate(e,s),i===nt&&n&&(i=YA.inflateSetDictionary(e,n),i===et?i=YA.inflate(e,s):i===st&&(i=nt));e.avail_in>0&&i===rt&&e.state.wrap>0&&0!==A[e.next_in];)YA.inflateReset(e),i=YA.inflate(e,s);switch(i){case it:case st:case nt:case ot:return this.onEnd(i),this.ended=!0,!1}if(o=e.avail_out,e.next_out&&(0===e.avail_out||i===rt))if("string"===this.options.to){let A=cA(e.output,e.next_out),t=e.next_out-A,n=aA(e.output,A);e.next_out=t,e.avail_out=r-t,t&&e.output.set(e.output.subarray(A,A+t),0),this.onData(n)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out));if(i!==et||0!==o){if(i===rt)return i=YA.inflateEnd(this.strm),this.onEnd(i),this.ended=!0,!0;if(0===e.avail_in)break}}return!0},at.prototype.onData=function(A){this.chunks.push(A)},at.prototype.onEnd=function(A){A===et&&("string"===this.options.to?this.result=this.chunks.join(""):this.result=nA(this.chunks)),this.chunks=[],this.err=A,this.msg=this.strm.msg};var ct={Inflate:at,inflate:function(A,t){const e=new at(t);if(e.push(A),e.err)throw e.msg||AA[e.err];return e.result}};const{Inflate:ut,inflate:lt}=ct;var ht=ut,ft=lt;const dt=[];for(let A=0;A<256;A++){let t=A;for(let A=0;A<8;A++)1&t?t=3988292384^t>>>1:t>>>=1;dt[A]=t}const gt=4294967295;function Bt(A,t){return(function(A,t,e){let r=A;for(let A=0;A<e;A++)r=dt[255&(r^t[A])]^r>>>8;return r}(gt,A,t)^gt)>>>0}function pt(A,t,e){const r=A.readUint32(),n=Bt(new Uint8Array(A.buffer,A.byteOffset+A.offset-t-4,t),t);if(n!==r)throw new Error(`CRC mismatch for chunk ${e}. Expected ${r}, found ${n}`)}function wt(A,t,e){for(let r=0;r<e;r++)t[r]=A[r]}function mt(A,t,e,r){let n=0;for(;n<r;n++)t[n]=A[n];for(;n<e;n++)t[n]=A[n]+t[n-r]&255}function Ct(A,t,e,r){let n=0;if(0===e.length)for(;n<r;n++)t[n]=A[n];else for(;n<r;n++)t[n]=A[n]+e[n]&255}function yt(A,t,e,r,n){let i=0;if(0===e.length){for(;i<n;i++)t[i]=A[i];for(;i<r;i++)t[i]=A[i]+(t[i-n]>>1)&255}else{for(;i<n;i++)t[i]=A[i]+(e[i]>>1)&255;for(;i<r;i++)t[i]=A[i]+(t[i-n]+e[i]>>1)&255}}function Qt(A,t,e,r,n){let i=0;if(0===e.length){for(;i<n;i++)t[i]=A[i];for(;i<r;i++)t[i]=A[i]+t[i-n]&255}else{for(;i<n;i++)t[i]=A[i]+e[i]&255;for(;i<r;i++)t[i]=A[i]+vt(t[i-n],e[i],e[i-n])&255}}function vt(A,t,e){const r=A+t-e,n=Math.abs(r-A),i=Math.abs(r-t),s=Math.abs(r-e);return n<=i&&n<=s?A:i<=s?t:e}function bt(A,t,e,r,n,i){switch(A){case 0:wt(t,e,n);break;case 1:mt(t,e,n,i);break;case 2:Ct(t,e,r,n);break;case 3:yt(t,e,r,n,i);break;case 4:Qt(t,e,r,n,i);break;default:throw new Error(`Unsupported filter: ${A}`)}}const Ft=new Uint16Array([255]),Ut=255===new Uint8Array(Ft.buffer)[0];const Lt=new Uint16Array([255]),Et=255===new Uint8Array(Lt.buffer)[0],It=new Uint8Array(0);function xt(A){const{data:t,width:e,height:r,channels:n,depth:i}=A,s=Math.ceil(i/8)*n,o=Math.ceil(i/8*n*e),a=new Uint8Array(r*o);let c,u,l=It,h=0;for(let A=0;A<r;A++){switch(c=t.subarray(h+1,h+1+o),u=a.subarray(A*o,(A+1)*o),t[h]){case 0:wt(c,u,o);break;case 1:mt(c,u,o,s);break;case 2:Ct(c,u,l,o);break;case 3:yt(c,u,l,o,s);break;case 4:Qt(c,u,l,o,s);break;default:throw new Error(`Unsupported filter: ${t[h]}`)}l=u,h+=o+1}if(16===i){const A=new Uint16Array(a.buffer);if(Et)for(let t=0;t<A.length;t++)A[t]=(255&(f=A[t]))<<8|f>>8&255;return A}return a;var f}const Ht=Uint8Array.of(137,80,78,71,13,10,26,10);function Nt(A){if(!function(A){if(A.length<Ht.length)return!1;for(let t=0;t<Ht.length;t++)if(A[t]!==Ht[t])return!1;return!0}(A.readBytes(Ht.length)))throw new Error("wrong PNG signature")}const St=new TextDecoder("latin1");function _t(A){if(function(A){if(!kt.test(A))throw new Error("invalid latin1 text")}(A),0===A.length||A.length>79)throw new Error("keyword length must be between 1 and 79")}const kt=/^[\u0000-\u00FF]*$/;function Pt(A,t,e){const r=Dt(t);A[r]=function(A,t){return St.decode(A.readBytes(t))}(t,e-r.length-1)}function Dt(A){for(A.mark();0!==A.readByte(););const t=A.offset;A.reset();const e=St.decode(A.readBytes(t-A.offset-1));return A.skip(1),_t(e),e}const Mt=-1,Ot=0,Tt=2,Kt=3,Rt=4,jt=6,Gt=-1,Vt=0,qt=-1,Wt=0,Xt=-1,Jt=0,zt=1,Yt=0,Zt=1,$t=2,Ae=0,te=1;class ee extends J{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(A,t={}){super(A);const{checkCrc:e=!1}=t;this._checkCrc=e,this._inflator=new ht,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=Gt,this._filterMethod=qt,this._interlaceMethod=Xt,this._colorType=Mt,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(Nt(this);!this._end;){const A=this.readUint32(),t=this.readChars(4);this.decodeChunk(A,t)}return this.decodeImage(),this._png}decodeApng(){for(Nt(this);!this._end;){const A=this.readUint32(),t=this.readChars(4);this.decodeApngChunk(A,t)}return this.decodeApngImage(),this._apng}decodeChunk(A,t){const e=this.offset;switch(t){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(A);break;case"IDAT":this.decodeIDAT(A);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(A);break;case"iCCP":this.decodeiCCP(A);break;case"tEXt":Pt(this._png.text,this,A);break;case"pHYs":this.decodepHYs();break;default:this.skip(A)}if(this.offset-e!==A)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?pt(this,A+4,t):this.skip(4)}decodeApngChunk(A,t){const e=this.offset;switch("fdAT"!==t&&"IDAT"!==t&&this._writingDataChunks&&this.pushDataToFrame(),t){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(A);break;default:this.decodeChunk(A,t),this.offset=e+A}if(this.offset-e!==A)throw new Error(`Length mismatch while decoding chunk ${t}`);this._checkCrc?pt(this,A+4,t):this.skip(4)}decodeIHDR(){const A=this._png;A.width=this.readUint32(),A.height=this.readUint32(),A.depth=function(A){if(1!==A&&2!==A&&4!==A&&8!==A&&16!==A)throw new Error(`invalid bit depth: ${A}`);return A}(this.readUint8());const t=this.readUint8();let e;switch(this._colorType=t,t){case Ot:e=1;break;case Tt:e=3;break;case Kt:e=1;break;case Rt:e=2;break;case jt:e=4;break;default:throw new Error(`Unknown color type: ${t}`)}if(this._png.channels=e,this._compressionMethod=this.readUint8(),this._compressionMethod!==Vt)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 A={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(A)}decodePLTE(A){if(A%3!=0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${A}`);const t=A/3;this._hasPalette=!0;const e=[];this._palette=e;for(let A=0;A<t;A++)e.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(A){this._writingDataChunks=!0;const t=A,e=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,e,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(A)}decodeFDAT(A){this._writingDataChunks=!0;let t=A,e=this.offset+this.byteOffset;if(e+=4,t-=4,this._inflator.push(new Uint8Array(this.buffer,e,t)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(A)}decodetRNS(A){switch(this._colorType){case Ot:case Tt:if(A%2!=0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${A}`);if(A/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${A/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(A/2);for(let t=0;t<A/2;t++)this._transparency[t]=this.readUint16();break;case Kt:{if(A>this._palette.length)throw new Error(`tRNS chunk contains more alpha values than there are palette colors (${A} vs ${this._palette.length})`);let t=0;for(;t<A;t++){const A=this.readByte();this._palette[t].push(A)}for(;t<this._palette.length;t++)this._palette[t].push(255);break}default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(A){const t=Dt(this),e=this.readUint8();if(e!==Vt)throw new Error(`Unsupported iCCP compression method: ${e}`);const r=this.readBytes(A-t.length-2);this._png.iccEmbeddedProfile={name:t,profile:ft(r)}}decodepHYs(){const A=this.readUint32(),t=this.readUint32(),e=this.readByte();this._png.resolution={x:A,y:t,unit:e}}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 A=0;A<this._numberOfFrames;A++){const t={sequenceNumber:this._frames[A].sequenceNumber,delayNumber:this._frames[A].delayNumber,delayDenominator:this._frames[A].delayDenominator,data:8===this._apng.depth?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},e=this._frames.at(A);if(e){if(e.data=xt({data:e.data,width:e.width,height:e.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),0===A||0===e.xOffset&&0===e.yOffset&&e.width===this._png.width&&e.height===this._png.height)t.data=e.data;else{const r=this._apng.frames.at(A-1);this.disposeFrame(e,r,t),this.addFrameDataToCanvas(t,e)}this._apng.frames.push(t)}}return this._apng}disposeFrame(A,t,e){switch(A.disposeOp){case Yt:break;case Zt:for(let t=0;t<this._png.height;t++)for(let r=0;r<this._png.width;r++){const n=(t*A.width+r)*this._png.channels;for(let A=0;A<this._png.channels;A++)e.data[n+A]=0}break;case $t:e.data.set(t.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(A,t){const e=1<<this._png.depth,r=(A,e)=>({index:((A+t.yOffset)*this._png.width+t.xOffset+e)*this._png.channels,frameIndex:(A*t.width+e)*this._png.channels});switch(t.blendOp){case Ae:for(let e=0;e<t.height;e++)for(let n=0;n<t.width;n++){const{index:i,frameIndex:s}=r(e,n);for(let e=0;e<this._png.channels;e++)A.data[i+e]=t.data[s+e]}break;case te:for(let n=0;n<t.height;n++)for(let i=0;i<t.width;i++){const{index:s,frameIndex:o}=r(n,i);for(let r=0;r<this._png.channels;r++){const n=t.data[o+this._png.channels-1]/e,i=r%(this._png.channels-1)==0?1:t.data[o+r],a=Math.floor(n*i+(1-n)*A.data[s+r]);A.data[s+r]+=a}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const A=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==Wt)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Jt)this._png.data=xt({data:A,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else{if(this._interlaceMethod!==zt)throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._png.data=function(A){const{data:t,width:e,height:r,channels:n,depth:i}=A,s=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],o=Math.ceil(i/8)*n,a=new Uint8Array(r*e*o);let c=0;for(let A=0;A<7;A++){const n=s[A],i=Math.ceil((e-n.x)/n.xStep),u=Math.ceil((r-n.y)/n.yStep);if(i<=0||u<=0)continue;const l=i*o,h=new Uint8Array(l);for(let A=0;A<u;A++){const s=t[c++],u=t.subarray(c,c+l);c+=l;const f=new Uint8Array(l);bt(s,u,f,h,l,o),h.set(f);for(let t=0;t<i;t++){const i=n.x+t*n.xStep,s=n.y+A*n.yStep;if(!(i>=e||s>=r))for(let A=0;A<o;A++)a[(s*e+i)*o+A]=f[t*o+A]}}}if(16===i){const A=new Uint16Array(a.buffer);if(Ut)for(let t=0;t<A.length;t++)A[t]=(255&(u=A[t]))<<8|u>>8&255;return A}return a;var u}({data:A,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth})}this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const A=this._inflator.result,t=this._frames.at(-1);t?t.data=A:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Yt,blendOp:Ae,data:A}),this._inflator=new ht,this._writingDataChunks=!1}}var re;!function(A){A[A.UNKNOWN=0]="UNKNOWN",A[A.METRE=1]="METRE"}(re||(re={}));
2
+ /** @license
3
+ *
4
+ * jsPDF - PDF Document creation from JavaScript
5
+ * Version 3.0.3 Built on 2025-09-18T08:03:54.261Z
6
+ * CommitID 00000000
7
+ *
8
+ * Copyright (c) 2010-2025 James Hall <james@parall.ax>, https://github.com/MrRio/jsPDF
9
+ * 2015-2025 yWorks GmbH, http://www.yworks.com
10
+ * 2015-2025 Lukas Holländer <lukas.hollaender@yworks.com>, https://github.com/HackbrettXXX
11
+ * 2016-2018 Aras Abbasi <aras.abbasi@gmail.com>
12
+ * 2010 Aaron Spike, https://github.com/acspike
13
+ * 2012 Willow Systems Corporation, https://github.com/willowsystems
14
+ * 2012 Pablo Hess, https://github.com/pablohess
15
+ * 2012 Florian Jenett, https://github.com/fjenett
16
+ * 2013 Warren Weckesser, https://github.com/warrenweckesser
17
+ * 2013 Youssef Beddad, https://github.com/lifof
18
+ * 2013 Lee Driscoll, https://github.com/lsdriscoll
19
+ * 2013 Stefan Slonevskiy, https://github.com/stefslon
20
+ * 2013 Jeremy Morel, https://github.com/jmorel
21
+ * 2013 Christoph Hartmann, https://github.com/chris-rock
22
+ * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
23
+ * 2014 James Makes, https://github.com/dollaruw
24
+ * 2014 Diego Casorran, https://github.com/diegocr
25
+ * 2014 Steven Spungin, https://github.com/Flamenco
26
+ * 2014 Kenneth Glassey, https://github.com/Gavvers
27
+ *
28
+ * Permission is hereby granted, free of charge, to any person obtaining
29
+ * a copy of this software and associated documentation files (the
30
+ * "Software"), to deal in the Software without restriction, including
31
+ * without limitation the rights to use, copy, modify, merge, publish,
32
+ * distribute, sublicense, and/or sell copies of the Software, and to
33
+ * permit persons to whom the Software is furnished to do so, subject to
34
+ * the following conditions:
35
+ *
36
+ * The above copyright notice and this permission notice shall be
37
+ * included in all copies or substantial portions of the Software.
38
+ *
39
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
40
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
41
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
42
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
43
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
44
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
45
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
46
+ *
47
+ * Contributor(s):
48
+ * siefkenj, ahwolf, rickygu, Midnith, saintclair, eaparango,
49
+ * kim3er, mfo, alnorth, Flamenco
50
+ */
51
+ var ne=function(){return"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this}();function ie(){ne.console&&"function"==typeof ne.console.log&&ne.console.log.apply(ne.console,arguments)}var se={log:ie,warn:function(A){ne.console&&("function"==typeof ne.console.warn?ne.console.warn.apply(ne.console,arguments):ie.call(null,arguments))},error:function(A){ne.console&&("function"==typeof ne.console.error?ne.console.error.apply(ne.console,arguments):ie(A))}};function oe(A,t,e){var r=new XMLHttpRequest;r.open("GET",A),r.responseType="blob",r.onload=function(){ue(r.response,t,e)},r.onerror=function(){se.error("could not download file")},r.send()}function ae(A){var t=new XMLHttpRequest;t.open("HEAD",A,!1);try{t.send()}catch(A){}return t.status>=200&&t.status<=299}function ce(A){try{A.dispatchEvent(new MouseEvent("click"))}catch(e){var t=document.createEvent("MouseEvents");t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),A.dispatchEvent(t)}}var ue=ne.saveAs||("object"!==("undefined"==typeof window?"undefined":o(window))||window!==ne?function(){}:"undefined"!=typeof HTMLAnchorElement&&"download"in HTMLAnchorElement.prototype?function(A,t,e){var r=ne.URL||ne.webkitURL,n=document.createElement("a");t=t||A.name||"download",n.download=t,n.rel="noopener","string"==typeof A?(n.href=A,n.origin!==location.origin?ae(n.href)?oe(A,t,e):ce(n,n.target="_blank"):ce(n)):(n.href=r.createObjectURL(A),setTimeout((function(){r.revokeObjectURL(n.href)}),4e4),setTimeout((function(){ce(n)}),0))}:"msSaveOrOpenBlob"in navigator?function(A,t,e){if(t=t||A.name||"download","string"==typeof A)if(ae(A))oe(A,t,e);else{var r=document.createElement("a");r.href=A,r.target="_blank",setTimeout((function(){ce(r)}))}else navigator.msSaveOrOpenBlob(function(A,t){return void 0===t?t={autoBom:!1}:"object"!==o(t)&&(se.warn("Deprecated: Expected third argument to be a object"),t={autoBom:!t}),t.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(A.type)?new Blob([String.fromCharCode(65279),A],{type:A.type}):A}(A,e),t)}:function(A,t,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),"string"==typeof A)return oe(A,t,e);var n="application/octet-stream"===A.type,i=/constructor/i.test(ne.HTMLElement)||ne.safari,s=/CriOS\/[\d]+/.test(navigator.userAgent);if((s||n&&i)&&"object"===("undefined"==typeof FileReader?"undefined":o(FileReader))){var a=new FileReader;a.onloadend=function(){var A=a.result;A=s?A:A.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=A:location=A,r=null},a.readAsDataURL(A)}else{var c=ne.URL||ne.webkitURL,u=c.createObjectURL(A);r?r.location=u:location.href=u,r=null,setTimeout((function(){c.revokeObjectURL(u)}),4e4)}});
52
+ /**
53
+ * A class to parse color values
54
+ * @author Stoyan Stefanov <sstoo@gmail.com>
55
+ * {@link http://www.phpied.com/rgb-color-parser-in-javascript/}
56
+ * @license Use it if you like it
57
+ */function le(A){var t;A=A||"",this.ok=!1,"#"==A.charAt(0)&&(A=A.substr(1,6)),A={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:"90ee90",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"}[A=(A=A.replace(/ /g,"")).toLowerCase()]||A;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(A){return[parseInt(A[1]),parseInt(A[2]),parseInt(A[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(A){return[parseInt(A[1],16),parseInt(A[2],16),parseInt(A[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(A){return[parseInt(A[1]+A[1],16),parseInt(A[2]+A[2],16),parseInt(A[3]+A[3],16)]}}],r=0;r<e.length;r++){var n=e[r].re,i=e[r].process,s=n.exec(A);s&&(t=i(s),this.r=t[0],this.g=t[1],this.b=t[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 A=this.r.toString(16),t=this.g.toString(16),e=this.b.toString(16);return 1==A.length&&(A="0"+A),1==t.length&&(t="0"+t),1==e.length&&(e="0"+e),"#"+A+t+e}}var he=ne.atob.bind(ne),fe=ne.btoa.bind(ne);
58
+ /**
59
+ * @license
60
+ * Joseph Myers does not specify a particular license for his work.
61
+ *
62
+ * Author: Joseph Myers
63
+ * Accessed from: http://www.myersdaily.org/joseph/javascript/md5.js
64
+ *
65
+ * Modified by: Owen Leong
66
+ */function de(A,t){var e=A[0],r=A[1],n=A[2],i=A[3];e=Be(e,r,n,i,t[0],7,-680876936),i=Be(i,e,r,n,t[1],12,-389564586),n=Be(n,i,e,r,t[2],17,606105819),r=Be(r,n,i,e,t[3],22,-1044525330),e=Be(e,r,n,i,t[4],7,-176418897),i=Be(i,e,r,n,t[5],12,1200080426),n=Be(n,i,e,r,t[6],17,-1473231341),r=Be(r,n,i,e,t[7],22,-45705983),e=Be(e,r,n,i,t[8],7,1770035416),i=Be(i,e,r,n,t[9],12,-1958414417),n=Be(n,i,e,r,t[10],17,-42063),r=Be(r,n,i,e,t[11],22,-1990404162),e=Be(e,r,n,i,t[12],7,1804603682),i=Be(i,e,r,n,t[13],12,-40341101),n=Be(n,i,e,r,t[14],17,-1502002290),e=pe(e,r=Be(r,n,i,e,t[15],22,1236535329),n,i,t[1],5,-165796510),i=pe(i,e,r,n,t[6],9,-1069501632),n=pe(n,i,e,r,t[11],14,643717713),r=pe(r,n,i,e,t[0],20,-373897302),e=pe(e,r,n,i,t[5],5,-701558691),i=pe(i,e,r,n,t[10],9,38016083),n=pe(n,i,e,r,t[15],14,-660478335),r=pe(r,n,i,e,t[4],20,-405537848),e=pe(e,r,n,i,t[9],5,568446438),i=pe(i,e,r,n,t[14],9,-1019803690),n=pe(n,i,e,r,t[3],14,-187363961),r=pe(r,n,i,e,t[8],20,1163531501),e=pe(e,r,n,i,t[13],5,-1444681467),i=pe(i,e,r,n,t[2],9,-51403784),n=pe(n,i,e,r,t[7],14,1735328473),e=we(e,r=pe(r,n,i,e,t[12],20,-1926607734),n,i,t[5],4,-378558),i=we(i,e,r,n,t[8],11,-2022574463),n=we(n,i,e,r,t[11],16,1839030562),r=we(r,n,i,e,t[14],23,-35309556),e=we(e,r,n,i,t[1],4,-1530992060),i=we(i,e,r,n,t[4],11,1272893353),n=we(n,i,e,r,t[7],16,-155497632),r=we(r,n,i,e,t[10],23,-1094730640),e=we(e,r,n,i,t[13],4,681279174),i=we(i,e,r,n,t[0],11,-358537222),n=we(n,i,e,r,t[3],16,-722521979),r=we(r,n,i,e,t[6],23,76029189),e=we(e,r,n,i,t[9],4,-640364487),i=we(i,e,r,n,t[12],11,-421815835),n=we(n,i,e,r,t[15],16,530742520),e=me(e,r=we(r,n,i,e,t[2],23,-995338651),n,i,t[0],6,-198630844),i=me(i,e,r,n,t[7],10,1126891415),n=me(n,i,e,r,t[14],15,-1416354905),r=me(r,n,i,e,t[5],21,-57434055),e=me(e,r,n,i,t[12],6,1700485571),i=me(i,e,r,n,t[3],10,-1894986606),n=me(n,i,e,r,t[10],15,-1051523),r=me(r,n,i,e,t[1],21,-2054922799),e=me(e,r,n,i,t[8],6,1873313359),i=me(i,e,r,n,t[15],10,-30611744),n=me(n,i,e,r,t[6],15,-1560198380),r=me(r,n,i,e,t[13],21,1309151649),e=me(e,r,n,i,t[4],6,-145523070),i=me(i,e,r,n,t[11],10,-1120210379),n=me(n,i,e,r,t[2],15,718787259),r=me(r,n,i,e,t[9],21,-343485551),A[0]=Le(e,A[0]),A[1]=Le(r,A[1]),A[2]=Le(n,A[2]),A[3]=Le(i,A[3])}function ge(A,t,e,r,n,i){return t=Le(Le(t,A),Le(r,i)),Le(t<<n|t>>>32-n,e)}function Be(A,t,e,r,n,i,s){return ge(t&e|~t&r,A,t,n,i,s)}function pe(A,t,e,r,n,i,s){return ge(t&r|e&~r,A,t,n,i,s)}function we(A,t,e,r,n,i,s){return ge(t^e^r,A,t,n,i,s)}function me(A,t,e,r,n,i,s){return ge(e^(t|~r),A,t,n,i,s)}function Ce(A){var t,e=A.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=A.length;t+=64)de(r,ye(A.substring(t-64,t)));A=A.substring(t-64);var n=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<A.length;t++)n[t>>2]|=A.charCodeAt(t)<<(t%4<<3);if(n[t>>2]|=128<<(t%4<<3),t>55)for(de(r,n),t=0;t<16;t++)n[t]=0;return n[14]=8*e,de(r,n),r}function ye(A){var t,e=[];for(t=0;t<64;t+=4)e[t>>2]=A.charCodeAt(t)+(A.charCodeAt(t+1)<<8)+(A.charCodeAt(t+2)<<16)+(A.charCodeAt(t+3)<<24);return e}var Qe="0123456789abcdef".split("");function ve(A){for(var t="",e=0;e<4;e++)t+=Qe[A>>8*e+4&15]+Qe[A>>8*e&15];return t}function be(A){return String.fromCharCode(255&A,(65280&A)>>8,(16711680&A)>>16,(4278190080&A)>>24)}function Fe(A){return Ce(A).map(be).join("")}var Ue="5d41402abc4b2a76b9719d911017c592"!=function(A){for(var t=0;t<A.length;t++)A[t]=ve(A[t]);return A.join("")}(Ce("hello"));function Le(A,t){if(Ue){var e=(65535&A)+(65535&t);return(A>>16)+(t>>16)+(e>>16)<<16|65535&e}return A+t&4294967295}
67
+ /**
68
+ * @license
69
+ * FPDF is released under a permissive license: there is no usage restriction.
70
+ * You may embed it freely in your application (commercial or not), with or
71
+ * without modifications.
72
+ *
73
+ * Reference: http://www.fpdf.org/en/script/script37.php
74
+ */function Ee(A,t){var e,r,n,i;if(A!==e){for(var s=(n=A,i=1+(256/A.length|0),new Array(i+1).join(n)),o=[],a=0;a<256;a++)o[a]=a;var c=0;for(a=0;a<256;a++){var u=o[a];c=(c+u+s.charCodeAt(a))%256,o[a]=o[c],o[c]=u}e=A,r=o}else o=r;var l=t.length,h=0,f=0,d="";for(a=0;a<l;a++)f=(f+(u=o[h=(h+1)%256]))%256,o[h]=o[f],o[f]=u,s=o[(o[h]+o[f])%256],d+=String.fromCharCode(t.charCodeAt(a)^s);return d}
75
+ /**
76
+ * @license
77
+ * Licensed under the MIT License.
78
+ * http://opensource.org/licenses/mit-license
79
+ * Author: Owen Leong (@owenl131)
80
+ * Date: 15 Oct 2020
81
+ * References:
82
+ * https://www.cs.cmu.edu/~dst/Adobe/Gallery/anon21jul01-pdf-encryption.txt
83
+ * https://github.com/foliojs/pdfkit/blob/master/lib/security.js
84
+ * http://www.fpdf.org/en/script/script37.php
85
+ */var Ie={print:4,modify:8,copy:16,"annot-forms":32};function xe(A,t,e,r){this.v=1,this.r=2;var n=192;A.forEach((function(A){if(void 0!==Ie.perm)throw new Error("Invalid permission: "+A);n+=Ie[A]})),this.padding="(¿N^NuŠAd\0NVÿú\b..\0¶Ðh>€/\f©þdSiz";var i=(t+this.padding).substr(0,32),s=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(i,s),this.P=-(1+(255^n)),this.encryptionKey=Fe(i+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=Ee(this.encryptionKey,this.padding)}function He(A){if(/[^\u0000-\u00ff]/.test(A))throw new Error("Invalid PDF Name Object: "+A+", Only accept ASCII characters.");for(var t="",e=A.length,r=0;r<e;r++){var n=A.charCodeAt(r);t+=n<33||35===n||37===n||40===n||41===n||47===n||60===n||62===n||91===n||93===n||123===n||125===n||n>126?"#"+("0"+n.toString(16)).slice(-2):A[r]}return t}function Ne(A){if("object"!==o(A))throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(A,e,r){if(r=r||!1,"string"!=typeof A||"function"!=typeof e||"boolean"!=typeof r)throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(A)||(t[A]={});var n=Math.random().toString(35);return t[A][n]=[e,!!r],n},this.unsubscribe=function(A){for(var e in t)if(t[e][A])return delete t[e][A],0===Object.keys(t[e]).length&&delete t[e],!0;return!1},this.publish=function(e){if(t.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),n=[];for(var i in t[e]){var s=t[e][i];try{s[0].apply(A,r)}catch(A){ne.console&&se.error("jsPDF PubSub Error",A.message,A)}s[1]&&n.push(i)}n.length&&n.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function Se(A){if(!(this instanceof Se))return new Se(A);var t="opacity,stroke-opacity".split(",");for(var e in A)A.hasOwnProperty(e)&&t.indexOf(e)>=0&&(this[e]=A[e]);this.id="",this.objectNumber=-1}function _e(A,t){this.gState=A,this.matrix=t,this.id="",this.objectNumber=-1}function ke(A,t,e,r,n){if(!(this instanceof ke))return new ke(A,t,e,r,n);this.type="axial"===A?2:3,this.coords=t,this.colors=e,_e.call(this,r,n)}function Pe(A,t,e,r,n){if(!(this instanceof Pe))return new Pe(A,t,e,r,n);this.boundingBox=A,this.xStep=t,this.yStep=e,this.stream="",this.cloneIndex=0,_e.call(this,r,n)}function De(A){var t,e="string"==typeof arguments[0]?arguments[0]:"p",r=arguments[1],n=arguments[2],i=arguments[3],s=[],a=1,c=16,u="S",l=null;"object"===o(A=A||{})&&(e=A.orientation,r=A.unit||r,n=A.format||n,i=A.compress||A.compressPdf||i,null!==(l=A.encryption||null)&&(l.userPassword=l.userPassword||"",l.ownerPassword=l.ownerPassword||"",l.userPermissions=l.userPermissions||[]),a="number"==typeof A.userUnit?Math.abs(A.userUnit):1,void 0!==A.precision&&(t=A.precision),void 0!==A.floatPrecision&&(c=A.floatPrecision),u=A.defaultPathOperation||"S"),s=A.filters||(!0===i?["FlateEncode"]:s),r=r||"mm",e=(""+(e||"P")).toLowerCase();var h=A.putOnlyUsedFonts||!1,f={},d={internal:{},__private__:{}};d.__private__.PubSub=Ne;var g="1.3",B=d.__private__.getPdfVersion=function(){return g};d.__private__.setPdfVersion=function(A){g=A};var p={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};d.__private__.getPageFormats=function(){return p};var w=d.__private__.getPageFormat=function(A){return p[A]};n=n||"a4";var m="compat",C="advanced",y=m;function Q(){this.saveGraphicsState(),Z(new NA(fA,0,0,-fA,0,we()*fA).toString()+" cm"),this.setFontSize(this.getFontSize()/fA),u="n",y=C}function v(){this.restoreGraphicsState(),u="S",y=m}var b=d.__private__.combineFontStyleAndFontWeight=function(A,t){if("bold"==A&&"normal"==t||"bold"==A&&400==t||"normal"==A&&"italic"==t||"bold"==A&&"italic"==t)throw new Error("Invalid Combination of fontweight and fontstyle");return t&&(A=400==t||"normal"===t?"italic"===A?"italic":"normal":700!=t&&"bold"!==t||"normal"!==A?(700==t?"bold":t)+""+A:"bold"),A};d.advancedAPI=function(A){var t=y===m;return t&&Q.call(this),"function"!=typeof A||(A(this),t&&v.call(this)),this},d.compatAPI=function(A){var t=y===C;return t&&v.call(this),"function"!=typeof A||(A(this),t&&Q.call(this)),this},d.isAdvancedAPI=function(){return y===C};var F,U=function(A){if(y!==C)throw new Error(A+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},L=d.roundToPrecision=d.__private__.roundToPrecision=function(A,e){var r=t||e;if(isNaN(A)||isNaN(r))throw new Error("Invalid argument passed to jsPDF.roundToPrecision");return A.toFixed(r).replace(/0+$/,"")};F=d.hpf=d.__private__.hpf="number"==typeof c?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return L(A,c)}:"smart"===c?function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return L(A,A>-1&&A<1?16:5)}:function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.hpf");return L(A,16)};var E=d.f2=d.__private__.f2=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f2");return L(A,2)},I=d.__private__.f3=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.f3");return L(A,3)},x=d.scale=d.__private__.scale=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.scale");return y===m?A*fA:y===C?A:void 0},H=function(A){return x(function(A){return y===m?we()-A:y===C?A:void 0}(A))};d.__private__.setPrecision=d.setPrecision=function(A){"number"==typeof parseInt(A,10)&&(t=parseInt(A,10))};var N,S="00000000000000000000000000000000",_=d.__private__.getFileId=function(){return S},k=d.__private__.setFileId=function(A){return S=void 0!==A&&/^[a-fA-F0-9]{32}$/.test(A)?A.toUpperCase():S.split("").map((function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))})).join(""),null!==l&&(mt=new xe(l.userPermissions,l.userPassword,l.ownerPassword,S)),S};d.setFileId=function(A){return k(A),this},d.getFileId=function(){return _()};var P=d.__private__.convertDateToPDFDate=function(A){var t=A.getTimezoneOffset(),e=t<0?"+":"-",r=Math.floor(Math.abs(t/60)),n=Math.abs(t%60),i=[e,K(r),"'",K(n),"'"].join("");return["D:",A.getFullYear(),K(A.getMonth()+1),K(A.getDate()),K(A.getHours()),K(A.getMinutes()),K(A.getSeconds()),i].join("")},D=d.__private__.convertPDFDateToDate=function(A){var t=parseInt(A.substr(2,4),10),e=parseInt(A.substr(6,2),10)-1,r=parseInt(A.substr(8,2),10),n=parseInt(A.substr(10,2),10),i=parseInt(A.substr(12,2),10),s=parseInt(A.substr(14,2),10);return new Date(t,e,r,n,i,s,0)},M=d.__private__.setCreationDate=function(A){var t;if(void 0===A&&(A=new Date),A instanceof Date)t=P(A);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(A))throw new Error("Invalid argument passed to jsPDF.setCreationDate");t=A}return N=t},O=d.__private__.getCreationDate=function(A){var t=N;return"jsDate"===A&&(t=D(N)),t};d.setCreationDate=function(A){return M(A),this},d.getCreationDate=function(A){return O(A)};var T,K=d.__private__.padd2=function(A){return("0"+parseInt(A)).slice(-2)},R=d.__private__.padd2Hex=function(A){return("00"+(A=A.toString())).substr(A.length)},j=0,G=[],V=[],q=0,W=[],X=[],J=!1,z=V;d.__private__.setCustomOutputDestination=function(A){J=!0,z=A};var Y=function(A){J||(z=A)};d.__private__.resetCustomOutputDestination=function(){J=!1,z=V};var Z=d.__private__.out=function(A){return A=A.toString(),q+=A.length+1,z.push(A),z},$=d.__private__.write=function(A){return Z(1===arguments.length?A.toString():Array.prototype.join.call(arguments," "))},AA=d.__private__.getArrayBuffer=function(A){for(var t=A.length,e=new ArrayBuffer(t),r=new Uint8Array(e);t--;)r[t]=A.charCodeAt(t);return e},tA=[["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]];d.__private__.getStandardFonts=function(){return tA};var eA=A.fontSize||16;d.__private__.setFontSize=d.setFontSize=function(A){return eA=y===C?A/fA:A,this};var rA,nA=d.__private__.getFontSize=d.getFontSize=function(){return y===m?eA:eA*fA},iA=A.R2L||!1;d.__private__.setR2L=d.setR2L=function(A){return iA=A,this},d.__private__.getR2L=d.getR2L=function(){return iA};var sA,oA=d.__private__.setZoomMode=function(A){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(A))rA=A;else if(isNaN(A)){if(-1===[void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(A))throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+A+'" is not recognized.');rA=A}else rA=parseInt(A,10)};d.__private__.getZoomMode=function(){return rA};var aA,cA=d.__private__.setPageMode=function(A){if(-1==[void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(A))throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+A+'" is not recognized.');sA=A};d.__private__.getPageMode=function(){return sA};var uA=d.__private__.setLayoutMode=function(A){if(-1==[void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(A))throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+A+'" is not recognized.');aA=A};d.__private__.getLayoutMode=function(){return aA},d.__private__.setDisplayMode=d.setDisplayMode=function(A,t,e){return oA(A),uA(t),cA(e),this};var lA={title:"",subject:"",author:"",keywords:"",creator:""};d.__private__.getDocumentProperty=function(A){if(-1===Object.keys(lA).indexOf(A))throw new Error("Invalid argument passed to jsPDF.getDocumentProperty");return lA[A]},d.__private__.getDocumentProperties=function(){return lA},d.__private__.setDocumentProperties=d.setProperties=d.setDocumentProperties=function(A){for(var t in lA)lA.hasOwnProperty(t)&&A[t]&&(lA[t]=A[t]);return this},d.__private__.setDocumentProperty=function(A,t){if(-1===Object.keys(lA).indexOf(A))throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return lA[A]=t};var hA,fA,dA,gA,BA,pA={},wA={},mA=[],CA={},yA={},QA={},vA={},bA=null,FA=0,UA=[],LA=new Ne(d),EA=A.hotfixes||[],IA={},xA={},HA=[],NA=function A(t,e,r,n,i,s){if(!(this instanceof A))return new A(t,e,r,n,i,s);isNaN(t)&&(t=1),isNaN(e)&&(e=0),isNaN(r)&&(r=0),isNaN(n)&&(n=1),isNaN(i)&&(i=0),isNaN(s)&&(s=0),this._matrix=[t,e,r,n,i,s]};Object.defineProperty(NA.prototype,"sx",{get:function(){return this._matrix[0]},set:function(A){this._matrix[0]=A}}),Object.defineProperty(NA.prototype,"shy",{get:function(){return this._matrix[1]},set:function(A){this._matrix[1]=A}}),Object.defineProperty(NA.prototype,"shx",{get:function(){return this._matrix[2]},set:function(A){this._matrix[2]=A}}),Object.defineProperty(NA.prototype,"sy",{get:function(){return this._matrix[3]},set:function(A){this._matrix[3]=A}}),Object.defineProperty(NA.prototype,"tx",{get:function(){return this._matrix[4]},set:function(A){this._matrix[4]=A}}),Object.defineProperty(NA.prototype,"ty",{get:function(){return this._matrix[5]},set:function(A){this._matrix[5]=A}}),Object.defineProperty(NA.prototype,"a",{get:function(){return this._matrix[0]},set:function(A){this._matrix[0]=A}}),Object.defineProperty(NA.prototype,"b",{get:function(){return this._matrix[1]},set:function(A){this._matrix[1]=A}}),Object.defineProperty(NA.prototype,"c",{get:function(){return this._matrix[2]},set:function(A){this._matrix[2]=A}}),Object.defineProperty(NA.prototype,"d",{get:function(){return this._matrix[3]},set:function(A){this._matrix[3]=A}}),Object.defineProperty(NA.prototype,"e",{get:function(){return this._matrix[4]},set:function(A){this._matrix[4]=A}}),Object.defineProperty(NA.prototype,"f",{get:function(){return this._matrix[5]},set:function(A){this._matrix[5]=A}}),Object.defineProperty(NA.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(NA.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(NA.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(NA.prototype,"isIdentity",{get:function(){return 1===this.sx&&0===this.shy&&0===this.shx&&1===this.sy&&0===this.tx&&0===this.ty}}),NA.prototype.join=function(A){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(F).join(A)},NA.prototype.multiply=function(A){var t=A.sx*this.sx+A.shy*this.shx,e=A.sx*this.shy+A.shy*this.sy,r=A.shx*this.sx+A.sy*this.shx,n=A.shx*this.shy+A.sy*this.sy,i=A.tx*this.sx+A.ty*this.shx+this.tx,s=A.tx*this.shy+A.ty*this.sy+this.ty;return new NA(t,e,r,n,i,s)},NA.prototype.decompose=function(){var A=this.sx,t=this.shy,e=this.shx,r=this.sy,n=this.tx,i=this.ty,s=Math.sqrt(A*A+t*t),o=(A/=s)*e+(t/=s)*r;e-=A*o,r-=t*o;var a=Math.sqrt(e*e+r*r);return o/=a,A*(r/=a)<t*(e/=a)&&(A=-A,t=-t,o=-o,s=-s),{scale:new NA(s,0,0,a,0,0),translate:new NA(1,0,0,1,n,i),rotate:new NA(A,t,-t,A,0,0),skew:new NA(1,0,o,1,0,0)}},NA.prototype.toString=function(A){return this.join(" ")},NA.prototype.inversed=function(){var A=this.sx,t=this.shy,e=this.shx,r=this.sy,n=this.tx,i=this.ty,s=1/(A*r-t*e),o=r*s,a=-t*s,c=-e*s,u=A*s;return new NA(o,a,c,u,-o*n-c*i,-a*n-u*i)},NA.prototype.applyToPoint=function(A){var t=A.x*this.sx+A.y*this.shx+this.tx,e=A.x*this.shy+A.y*this.sy+this.ty;return new ee(t,e)},NA.prototype.applyToRectangle=function(A){var t=this.applyToPoint(A),e=this.applyToPoint(new ee(A.x+A.w,A.y+A.h));return new re(t.x,t.y,e.x-t.x,e.y-t.y)},NA.prototype.clone=function(){var A=this.sx,t=this.shy,e=this.shx,r=this.sy,n=this.tx,i=this.ty;return new NA(A,t,e,r,n,i)},d.Matrix=NA;var SA=d.matrixMult=function(A,t){return t.multiply(A)},_A=new NA(1,0,0,1,0,0);d.unitMatrix=d.identityMatrix=_A;var kA=function(A,t){if(!yA[A]){var e=(t instanceof ke?"Sh":"P")+(Object.keys(CA).length+1).toString(10);t.id=e,yA[A]=e,CA[e]=t,LA.publish("addPattern",t)}};d.ShadingPattern=ke,d.TilingPattern=Pe,d.addShadingPattern=function(A,t){return U("addShadingPattern()"),kA(A,t),this},d.beginTilingPattern=function(A){U("beginTilingPattern()"),oe(A.boundingBox[0],A.boundingBox[1],A.boundingBox[2]-A.boundingBox[0],A.boundingBox[3]-A.boundingBox[1],A.matrix)},d.endTilingPattern=function(A,t){U("endTilingPattern()"),t.stream=X[T].join("\n"),kA(A,t),LA.publish("endTilingPattern",t),HA.pop().restore()};var PA,DA=d.__private__.newObject=function(){var A=MA();return OA(A,!0),A},MA=d.__private__.newObjectDeferred=function(){return j++,G[j]=function(){return q},j},OA=function(A,t){return t="boolean"==typeof t&&t,G[A]=q,t&&Z(A+" 0 obj"),A},TA=d.__private__.newAdditionalObject=function(){var A={objId:MA(),content:""};return W.push(A),A},KA=MA(),RA=MA(),jA=d.__private__.decodeColorString=function(A){var t=A.split(" ");if(2!==t.length||"g"!==t[1]&&"G"!==t[1])5!==t.length||"k"!==t[4]&&"K"!==t[4]||(t=[(1-t[0])*(1-t[3]),(1-t[1])*(1-t[3]),(1-t[2])*(1-t[3]),"r"]);else{var e=parseFloat(t[0]);t=[e,e,e,"r"]}for(var r="#",n=0;n<3;n++)r+=("0"+Math.floor(255*parseFloat(t[n])).toString(16)).slice(-2);return r},GA=d.__private__.encodeColorString=function(A){var t;"string"==typeof A&&(A={ch1:A});var e=A.ch1,r=A.ch2,n=A.ch3,i=A.ch4,s="draw"===A.pdfColorType?["G","RG","K"]:["g","rg","k"];if("string"==typeof e&&"#"!==e.charAt(0)){var a=new le(e);if(a.ok)e=a.toHex();else if(!/^\d*\.?\d*$/.test(e))throw new Error('Invalid color "'+e+'" passed to jsPDF.encodeColorString.')}if("string"==typeof e&&/^#[0-9A-Fa-f]{3}$/.test(e)&&(e="#"+e[1]+e[1]+e[2]+e[2]+e[3]+e[3]),"string"==typeof e&&/^#[0-9A-Fa-f]{6}$/.test(e)){var c=parseInt(e.substr(1),16);e=c>>16&255,r=c>>8&255,n=255&c}if(void 0===r||void 0===i&&e===r&&r===n)t="string"==typeof e?e+" "+s[0]:2===A.precision?E(e/255)+" "+s[0]:I(e/255)+" "+s[0];else if(void 0===i||"object"===o(i)){if(i&&!isNaN(i.a)&&0===i.a)return["1.","1.","1.",s[1]].join(" ");t="string"==typeof e?[e,r,n,s[1]].join(" "):2===A.precision?[E(e/255),E(r/255),E(n/255),s[1]].join(" "):[I(e/255),I(r/255),I(n/255),s[1]].join(" ")}else t="string"==typeof e?[e,r,n,i,s[2]].join(" "):2===A.precision?[E(e),E(r),E(n),E(i),s[2]].join(" "):[I(e),I(r),I(n),I(i),s[2]].join(" ");return t},VA=d.__private__.getFilters=function(){return s},qA=d.__private__.putStream=function(A){var t=(A=A||{}).data||"",e=A.filters||VA(),r=A.alreadyAppliedFilters||[],n=A.addLength1||!1,i=t.length,s=A.objectId,o=function(A){return A};if(null!==l&&void 0===s)throw new Error("ObjectId must be passed to putStream for file encryption");null!==l&&(o=mt.encryptor(s,0));var a={};!0===e&&(e=["FlateEncode"]);var c=A.additionalKeyValues||[],u=(a=void 0!==De.API.processDataByFilters?De.API.processDataByFilters(t,e):{data:t,reverseChain:[]}).reverseChain+(Array.isArray(r)?r.join(" "):r.toString());if(0!==a.data.length&&(c.push({key:"Length",value:a.data.length}),!0===n&&c.push({key:"Length1",value:i})),0!=u.length)if(u.split("/").length-1==1)c.push({key:"Filter",value:u});else{c.push({key:"Filter",value:"["+u+"]"});for(var h=0;h<c.length;h+=1)if("DecodeParms"===c[h].key){for(var f=[],d=0;d<a.reverseChain.split("/").length-1;d+=1)f.push("null");f.push(c[h].value),c[h].value="["+f.join(" ")+"]"}}Z("<<");for(var g=0;g<c.length;g++)Z("/"+c[g].key+" "+c[g].value);Z(">>"),0!==a.data.length&&(Z("stream"),Z(o(a.data)),Z("endstream"))},WA=d.__private__.putPage=function(A){var t=A.number,e=A.data,r=A.objId,n=A.contentsObjId;OA(r,!0),Z("<</Type /Page"),Z("/Parent "+A.rootDictionaryObjId+" 0 R"),Z("/Resources "+A.resourceDictionaryObjId+" 0 R"),Z("/MediaBox ["+parseFloat(F(A.mediaBox.bottomLeftX))+" "+parseFloat(F(A.mediaBox.bottomLeftY))+" "+F(A.mediaBox.topRightX)+" "+F(A.mediaBox.topRightY)+"]"),null!==A.cropBox&&Z("/CropBox ["+F(A.cropBox.bottomLeftX)+" "+F(A.cropBox.bottomLeftY)+" "+F(A.cropBox.topRightX)+" "+F(A.cropBox.topRightY)+"]"),null!==A.bleedBox&&Z("/BleedBox ["+F(A.bleedBox.bottomLeftX)+" "+F(A.bleedBox.bottomLeftY)+" "+F(A.bleedBox.topRightX)+" "+F(A.bleedBox.topRightY)+"]"),null!==A.trimBox&&Z("/TrimBox ["+F(A.trimBox.bottomLeftX)+" "+F(A.trimBox.bottomLeftY)+" "+F(A.trimBox.topRightX)+" "+F(A.trimBox.topRightY)+"]"),null!==A.artBox&&Z("/ArtBox ["+F(A.artBox.bottomLeftX)+" "+F(A.artBox.bottomLeftY)+" "+F(A.artBox.topRightX)+" "+F(A.artBox.topRightY)+"]"),"number"==typeof A.userUnit&&1!==A.userUnit&&Z("/UserUnit "+A.userUnit),LA.publish("putPage",{objId:r,pageContext:UA[t],pageNumber:t,page:e}),Z("/Contents "+n+" 0 R"),Z(">>"),Z("endobj");var i=e.join("\n");return y===C&&(i+="\nQ"),OA(n,!0),qA({data:i,filters:VA(),objectId:n}),Z("endobj"),r},XA=d.__private__.putPages=function(){var A,t,e=[];for(A=1;A<=FA;A++)UA[A].objId=MA(),UA[A].contentsObjId=MA();for(A=1;A<=FA;A++)e.push(WA({number:A,data:X[A],objId:UA[A].objId,contentsObjId:UA[A].contentsObjId,mediaBox:UA[A].mediaBox,cropBox:UA[A].cropBox,bleedBox:UA[A].bleedBox,trimBox:UA[A].trimBox,artBox:UA[A].artBox,userUnit:UA[A].userUnit,rootDictionaryObjId:KA,resourceDictionaryObjId:RA}));OA(KA,!0),Z("<</Type /Pages");var r="/Kids [";for(t=0;t<FA;t++)r+=e[t]+" 0 R ";Z(r+"]"),Z("/Count "+FA),Z(">>"),Z("endobj"),LA.publish("postPutPages")},JA=function(A){LA.publish("putFont",{font:A,out:Z,newObject:DA,putStream:qA}),!0!==A.isAlreadyPutted&&(A.objectNumber=DA(),Z("<<"),Z("/Type /Font"),Z("/BaseFont /"+He(A.postScriptName)),Z("/Subtype /Type1"),"string"==typeof A.encoding&&Z("/Encoding /"+A.encoding),Z("/FirstChar 32"),Z("/LastChar 255"),Z(">>"),Z("endobj"))},zA=function(A){A.objectNumber=DA();var t=[];t.push({key:"Type",value:"/XObject"}),t.push({key:"Subtype",value:"/Form"}),t.push({key:"BBox",value:"["+[F(A.x),F(A.y),F(A.x+A.width),F(A.y+A.height)].join(" ")+"]"}),t.push({key:"Matrix",value:"["+A.matrix.toString()+"]"});var e=A.pages[1].join("\n");qA({data:e,additionalKeyValues:t,objectId:A.objectNumber}),Z("endobj")},YA=function(A,t){t||(t=21);var e=DA(),r=function(A,t){var e,r=[],n=1/(t-1);for(e=0;e<1;e+=n)r.push(e);if(r.push(1),0!=A[0].offset){var i={offset:0,color:A[0].color};A.unshift(i)}if(1!=A[A.length-1].offset){var s={offset:1,color:A[A.length-1].color};A.push(s)}for(var o="",a=0,c=0;c<r.length;c++){for(e=r[c];e>A[a+1].offset;)a++;var u=A[a].offset,l=(e-u)/(A[a+1].offset-u),h=A[a].color,f=A[a+1].color;o+=R(Math.round((1-l)*h[0]+l*f[0]).toString(16))+R(Math.round((1-l)*h[1]+l*f[1]).toString(16))+R(Math.round((1-l)*h[2]+l*f[2]).toString(16))}return o.trim()}(A.colors,t),n=[];n.push({key:"FunctionType",value:"0"}),n.push({key:"Domain",value:"[0.0 1.0]"}),n.push({key:"Size",value:"["+t+"]"}),n.push({key:"BitsPerSample",value:"8"}),n.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),n.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),qA({data:r,additionalKeyValues:n,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:e}),Z("endobj"),A.objectNumber=DA(),Z("<< /ShadingType "+A.type),Z("/ColorSpace /DeviceRGB");var i="/Coords ["+F(parseFloat(A.coords[0]))+" "+F(parseFloat(A.coords[1]))+" ";2===A.type?i+=F(parseFloat(A.coords[2]))+" "+F(parseFloat(A.coords[3])):i+=F(parseFloat(A.coords[2]))+" "+F(parseFloat(A.coords[3]))+" "+F(parseFloat(A.coords[4]))+" "+F(parseFloat(A.coords[5])),Z(i+="]"),A.matrix&&Z("/Matrix ["+A.matrix.toString()+"]"),Z("/Function "+e+" 0 R"),Z("/Extend [true true]"),Z(">>"),Z("endobj")},ZA=function(A,t){var e=MA(),r=DA();t.push({resourcesOid:e,objectOid:r}),A.objectNumber=r;var n=[];n.push({key:"Type",value:"/Pattern"}),n.push({key:"PatternType",value:"1"}),n.push({key:"PaintType",value:"1"}),n.push({key:"TilingType",value:"1"}),n.push({key:"BBox",value:"["+A.boundingBox.map(F).join(" ")+"]"}),n.push({key:"XStep",value:F(A.xStep)}),n.push({key:"YStep",value:F(A.yStep)}),n.push({key:"Resources",value:e+" 0 R"}),A.matrix&&n.push({key:"Matrix",value:"["+A.matrix.toString()+"]"}),qA({data:A.stream,additionalKeyValues:n,objectId:A.objectNumber}),Z("endobj")},$A=function(A){for(var t in A.objectNumber=DA(),Z("<<"),A)switch(t){case"opacity":Z("/ca "+E(A[t]));break;case"stroke-opacity":Z("/CA "+E(A[t]))}Z(">>"),Z("endobj")},At=function(A){OA(A.resourcesOid,!0),Z("<<"),Z("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),function(){for(var A in Z("/Font <<"),pA)pA.hasOwnProperty(A)&&(!1===h||!0===h&&f.hasOwnProperty(A))&&Z("/"+A+" "+pA[A].objectNumber+" 0 R");Z(">>")}(),function(){if(Object.keys(CA).length>0){for(var A in Z("/Shading <<"),CA)CA.hasOwnProperty(A)&&CA[A]instanceof ke&&CA[A].objectNumber>=0&&Z("/"+A+" "+CA[A].objectNumber+" 0 R");LA.publish("putShadingPatternDict"),Z(">>")}}(),function(A){if(Object.keys(CA).length>0){for(var t in Z("/Pattern <<"),CA)CA.hasOwnProperty(t)&&CA[t]instanceof d.TilingPattern&&CA[t].objectNumber>=0&&CA[t].objectNumber<A&&Z("/"+t+" "+CA[t].objectNumber+" 0 R");LA.publish("putTilingPatternDict"),Z(">>")}}(A.objectOid),function(){if(Object.keys(QA).length>0){var A;for(A in Z("/ExtGState <<"),QA)QA.hasOwnProperty(A)&&QA[A].objectNumber>=0&&Z("/"+A+" "+QA[A].objectNumber+" 0 R");LA.publish("putGStateDict"),Z(">>")}}(),function(){for(var A in Z("/XObject <<"),IA)IA.hasOwnProperty(A)&&IA[A].objectNumber>=0&&Z("/"+A+" "+IA[A].objectNumber+" 0 R");LA.publish("putXobjectDict"),Z(">>")}(),Z(">>"),Z("endobj")},tt=function(A){wA[A.fontName]=wA[A.fontName]||{},wA[A.fontName][A.fontStyle]=A.id},et=function(A,t,e,r,n){var i={id:"F"+(Object.keys(pA).length+1).toString(10),postScriptName:A,fontName:t,fontStyle:e,encoding:r,isStandardFont:n||!1,metadata:{}};return LA.publish("addFont",{font:i,instance:this}),pA[i.id]=i,tt(i),i.id},rt=d.__private__.pdfEscape=d.pdfEscape=function(A,t){return function(A,t){var e,r,n,i,s,o,a,c,u;if(n=(t=t||{}).sourceEncoding||"Unicode",s=t.outputEncoding,(t.autoencode||s)&&pA[hA].metadata&&pA[hA].metadata[n]&&pA[hA].metadata[n].encoding&&(i=pA[hA].metadata[n].encoding,!s&&pA[hA].encoding&&(s=pA[hA].encoding),!s&&i.codePages&&(s=i.codePages[0]),"string"==typeof s&&(s=i[s]),s)){for(a=!1,o=[],e=0,r=A.length;e<r;e++)(c=s[A.charCodeAt(e)])?o.push(String.fromCharCode(c)):o.push(A[e]),o[e].charCodeAt(0)>>8&&(a=!0);A=o.join("")}for(e=A.length;void 0===a&&0!==e;)A.charCodeAt(e-1)>>8&&(a=!0),e--;if(!a)return A;for(o=t.noBOM?[]:[254,255],e=0,r=A.length;e<r;e++){if((u=(c=A.charCodeAt(e))>>8)>>8)throw new Error("Character at position "+e+" of string '"+A+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");o.push(u),o.push(c-(u<<8))}return String.fromCharCode.apply(void 0,o)}(A,t).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},nt=d.__private__.beginPage=function(A){X[++FA]=[],UA[FA]={objId:0,contentsObjId:0,userUnit:Number(a),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(A[0]),topRightY:Number(A[1])}},ot(FA),Y(X[T])},it=function(A,t){var r,i,s;switch(e=t||e,"string"==typeof A&&(r=w(A.toLowerCase()),Array.isArray(r)&&(i=r[0],s=r[1])),Array.isArray(A)&&(i=A[0]*fA,s=A[1]*fA),isNaN(i)&&(i=n[0],s=n[1]),(i>14400||s>14400)&&(se.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),i=Math.min(14400,i),s=Math.min(14400,s)),n=[i,s],e.substr(0,1)){case"l":s>i&&(n=[s,i]);break;case"p":i>s&&(n=[s,i])}nt(n),Ot(Dt),Z(Wt),0!==$t&&Z($t+" J"),0!==Ae&&Z(Ae+" j"),LA.publish("addPage",{pageNumber:FA})},st=function(A){A>0&&A<=FA&&(X.splice(A,1),UA.splice(A,1),FA--,T>FA&&(T=FA),this.setPage(T))},ot=function(A){A>0&&A<=FA&&(T=A)},at=d.__private__.getNumberOfPages=d.getNumberOfPages=function(){return X.length-1},ct=function(A,t,e){var r,n=void 0;return e=e||{},A=void 0!==A?A:pA[hA].fontName,t=void 0!==t?t:pA[hA].fontStyle,r=A.toLowerCase(),void 0!==wA[r]&&void 0!==wA[r][t]?n=wA[r][t]:void 0!==wA[A]&&void 0!==wA[A][t]?n=wA[A][t]:!1===e.disableWarning&&se.warn("Unable to look up font label for font '"+A+"', '"+t+"'. Refer to getFontList() for available fonts."),n||e.noFallback||null==(n=wA.times[t])&&(n=wA.times.normal),n},ut=d.__private__.putInfo=function(){var A=DA(),t=function(A){return A};for(var e in null!==l&&(t=mt.encryptor(A,0)),Z("<<"),Z("/Producer ("+rt(t("jsPDF "+De.version))+")"),lA)lA.hasOwnProperty(e)&&lA[e]&&Z("/"+e.substr(0,1).toUpperCase()+e.substr(1)+" ("+rt(t(lA[e]))+")");Z("/CreationDate ("+rt(t(N))+")"),Z(">>"),Z("endobj")},lt=d.__private__.putCatalog=function(A){var t=(A=A||{}).rootDictionaryObjId||KA;switch(DA(),Z("<<"),Z("/Type /Catalog"),Z("/Pages "+t+" 0 R"),rA||(rA="fullwidth"),rA){case"fullwidth":Z("/OpenAction [3 0 R /FitH null]");break;case"fullheight":Z("/OpenAction [3 0 R /FitV null]");break;case"fullpage":Z("/OpenAction [3 0 R /Fit]");break;case"original":Z("/OpenAction [3 0 R /XYZ null null 1]");break;default:var e=""+rA;"%"===e.substr(e.length-1)&&(rA=parseInt(rA)/100),"number"==typeof rA&&Z("/OpenAction [3 0 R /XYZ null null "+E(rA)+"]")}switch(aA||(aA="continuous"),aA){case"continuous":Z("/PageLayout /OneColumn");break;case"single":Z("/PageLayout /SinglePage");break;case"two":case"twoleft":Z("/PageLayout /TwoColumnLeft");break;case"tworight":Z("/PageLayout /TwoColumnRight")}sA&&Z("/PageMode /"+sA),LA.publish("putCatalog"),Z(">>"),Z("endobj")},ht=d.__private__.putTrailer=function(){Z("trailer"),Z("<<"),Z("/Size "+(j+1)),Z("/Root "+j+" 0 R"),Z("/Info "+(j-1)+" 0 R"),null!==l&&Z("/Encrypt "+mt.oid+" 0 R"),Z("/ID [ <"+S+"> <"+S+"> ]"),Z(">>")},ft=d.__private__.putHeader=function(){Z("%PDF-"+g),Z("%ºß¬à")},dt=d.__private__.putXRef=function(){var A="0000000000";Z("xref"),Z("0 "+(j+1)),Z("0000000000 65535 f ");for(var t=1;t<=j;t++)"function"==typeof G[t]?Z((A+G[t]()).slice(-10)+" 00000 n "):void 0!==G[t]?Z((A+G[t]).slice(-10)+" 00000 n "):Z("0000000000 00000 n ")},gt=d.__private__.buildDocument=function(){var A;j=0,q=0,V=[],G=[],W=[],KA=MA(),RA=MA(),Y(V),LA.publish("buildDocument"),ft(),XA(),function(){LA.publish("putAdditionalObjects");for(var A=0;A<W.length;A++){var t=W[A];OA(t.objId,!0),Z(t.content),Z("endobj")}LA.publish("postPutAdditionalObjects")}(),A=[],function(){for(var A in pA)pA.hasOwnProperty(A)&&(!1===h||!0===h&&f.hasOwnProperty(A))&&JA(pA[A])}(),function(){var A;for(A in QA)QA.hasOwnProperty(A)&&$A(QA[A])}(),function(){for(var A in IA)IA.hasOwnProperty(A)&&zA(IA[A])}(),function(A){var t;for(t in CA)CA.hasOwnProperty(t)&&(CA[t]instanceof ke?YA(CA[t]):CA[t]instanceof Pe&&ZA(CA[t],A))}(A),LA.publish("putResources"),A.forEach(At),At({resourcesOid:RA,objectOid:Number.MAX_SAFE_INTEGER}),LA.publish("postPutResources"),null!==l&&(mt.oid=DA(),Z("<<"),Z("/Filter /Standard"),Z("/V "+mt.v),Z("/R "+mt.r),Z("/U <"+mt.toHexString(mt.U)+">"),Z("/O <"+mt.toHexString(mt.O)+">"),Z("/P "+mt.P),Z(">>"),Z("endobj")),ut(),lt();var t=q;return dt(),ht(),Z("startxref"),Z(""+t),Z("%%EOF"),Y(X[T]),V.join("\n")},Bt=d.__private__.getBlob=function(A){return new Blob([AA(A)],{type:"application/pdf"})},pt=d.output=d.__private__.output=(PA=function(A,t){switch("string"==typeof(t=t||{})?t={filename:t}:t.filename=t.filename||"generated.pdf",A){case void 0:return gt();case"save":d.save(t.filename);break;case"arraybuffer":return AA(gt());case"blob":return Bt(gt());case"bloburi":case"bloburl":if(void 0!==ne.URL&&"function"==typeof ne.URL.createObjectURL)return ne.URL&&ne.URL.createObjectURL(Bt(gt()))||void 0;se.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var e="",r=gt();try{e=fe(r)}catch(A){e=fe(unescape(encodeURIComponent(r)))}return"data:application/pdf;filename="+t.filename+";base64,"+e;case"pdfobjectnewwindow":if("[object Window]"===Object.prototype.toString.call(ne)){var n="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",i=' integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==" crossorigin="anonymous"';t.pdfObjectUrl&&(n=t.pdfObjectUrl,i="");var s='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><script src="'+n+'"'+i+'><\/script><script >PDFObject.embed("'+this.output("dataurlstring")+'", '+JSON.stringify(t)+");<\/script></body></html>",o=ne.open();return null!==o&&o.document.write(s),o}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if("[object Window]"===Object.prototype.toString.call(ne)){var a='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe id="pdfViewer" src="'+(t.pdfJsUrl||"examples/PDF.js/web/viewer.html")+"?file=&downloadName="+t.filename+'" width="500px" height="400px" /></body></html>',c=ne.open();if(null!==c){c.document.write(a);var u=this;c.document.documentElement.querySelector("#pdfViewer").onload=function(){c.document.title=t.filename,c.document.documentElement.querySelector("#pdfViewer").contentWindow.PDFViewerApplication.open(u.output("bloburl"))}}return c}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if("[object Window]"!==Object.prototype.toString.call(ne))throw new Error("The option dataurlnewwindow just works in a browser-environment.");var l='<html><style>html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;} </style><body><iframe src="'+this.output("datauristring",t)+'"></iframe></body></html>',h=ne.open();if(null!==h&&(h.document.write(l),h.document.title=t.filename),h||"undefined"==typeof safari)return h;break;case"datauri":case"dataurl":return ne.document.location.href=this.output("datauristring",t);default:return null}},PA.foo=function(){try{return PA.apply(this,arguments)}catch(e){var A=e.stack||"";~A.indexOf(" at ")&&(A=A.split(" at ")[1]);var t="Error in function "+A.split("\n")[0].split("<")[0]+": "+e.message;if(!ne.console)throw new Error(t);ne.console.error(t,e),ne.alert&&alert(t)}},PA.foo.bar=PA,PA.foo),wt=function(A){return!0===Array.isArray(EA)&&EA.indexOf(A)>-1};switch(r){case"pt":fA=1;break;case"mm":fA=72/25.4;break;case"cm":fA=72/2.54;break;case"in":fA=72;break;case"px":fA=1==wt("px_scaling")?.75:96/72;break;case"pc":case"em":fA=12;break;case"ex":fA=6;break;default:if("number"!=typeof r)throw new Error("Invalid unit: "+r);fA=r}var mt=null;M(),k();var Ct=d.__private__.getPageInfo=d.getPageInfo=function(A){if(isNaN(A)||A%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:UA[A].objId,pageNumber:A,pageContext:UA[A]}},yt=d.__private__.getPageInfoByObjId=function(A){if(isNaN(A)||A%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var t in UA)if(UA[t].objId===A)break;return Ct(t)},Qt=d.__private__.getCurrentPageInfo=d.getCurrentPageInfo=function(){return{objId:UA[T].objId,pageNumber:T,pageContext:UA[T]}};d.addPage=function(){return it.apply(this,arguments),this},d.setPage=function(){return ot.apply(this,arguments),Y.call(this,X[T]),this},d.insertPage=function(A){return this.addPage(),this.movePage(T,A),this},d.movePage=function(A,t){var e,r;if(A>t){e=X[A],r=UA[A];for(var n=A;n>t;n--)X[n]=X[n-1],UA[n]=UA[n-1];X[t]=e,UA[t]=r,this.setPage(t)}else if(A<t){e=X[A],r=UA[A];for(var i=A;i<t;i++)X[i]=X[i+1],UA[i]=UA[i+1];X[t]=e,UA[t]=r,this.setPage(t)}return this},d.deletePage=function(){return st.apply(this,arguments),this},d.__private__.text=d.text=function(A,t,e,r,n){var i,s,a,c,u,l,h,d,g,B=(r=r||{}).scope||this;if("number"==typeof A&&"number"==typeof t&&("string"==typeof e||Array.isArray(e))){var p=e;e=t,t=A,A=p}if(arguments[3]instanceof NA==0?(a=arguments[4],c=arguments[5],"object"===o(h=arguments[3])&&null!==h||("string"==typeof a&&(c=a,a=null),"string"==typeof h&&(c=h,h=null),"number"==typeof h&&(a=h,h=null),r={flags:h,angle:a,align:c})):(U("The transform parameter of text() with a Matrix value"),g=n),isNaN(t)||isNaN(e)||null==A)throw new Error("Invalid arguments passed to jsPDF.text");if(0===A.length)return B;var w,m="",Q="number"==typeof r.lineHeightFactor?r.lineHeightFactor:Pt,v=B.internal.scaleFactor;function b(A){return A=A.split("\t").join(Array(r.TabLen||9).join(" ")),rt(A,h)}function L(A){for(var t,e=A.concat(),r=[],n=e.length;n--;)"string"==typeof(t=e.shift())?r.push(t):Array.isArray(A)&&(1===t.length||void 0===t[1]&&void 0===t[2])?r.push(t[0]):r.push([t[0],t[1],t[2]]);return r}function E(A,t){var e;if("string"==typeof A)e=t(A)[0];else if(Array.isArray(A)){for(var r,n,i=A.concat(),s=[],o=i.length;o--;)"string"==typeof(r=i.shift())?s.push(t(r)[0]):Array.isArray(r)&&"string"==typeof r[0]&&(n=t(r[0],r[1],r[2]),s.push([n[0],n[1],n[2]]));e=s}return e}var I=!1,H=!0;if("string"==typeof A)I=!0;else if(Array.isArray(A)){var N=A.concat();s=[];for(var S,_=N.length;_--;)("string"!=typeof(S=N.shift())||Array.isArray(S)&&"string"!=typeof S[0])&&(H=!1);I=H}if(!1===I)throw new Error('Type of text must be string or Array. "'+A+'" is not recognized.');"string"==typeof A&&(A=A.match(/[\r?\n]/)?A.split(/\r\n|\r|\n/g):[A]);var k=eA/B.internal.scaleFactor,P=k*(Q-1);switch(r.baseline){case"bottom":e-=P;break;case"top":e+=k-P;break;case"hanging":e+=k-2*P;break;case"middle":e+=k/2-P}if((l=r.maxWidth||0)>0&&("string"==typeof A?A=B.splitTextToSize(A,l):"[object Array]"===Object.prototype.toString.call(A)&&(A=A.reduce((function(A,t){return A.concat(B.splitTextToSize(t,l))}),[]))),i={text:A,x:t,y:e,options:r,mutex:{pdfEscape:rt,activeFontKey:hA,fonts:pA,activeFontSize:eA}},LA.publish("preProcessText",i),A=i.text,a=(r=i.options).angle,g instanceof NA==0&&a&&"number"==typeof a){a*=Math.PI/180,0===r.rotationDirection&&(a=-a),y===C&&(a=-a);var D=Math.cos(a),M=Math.sin(a);g=new NA(D,M,-M,D,0,0)}else a&&a instanceof NA&&(g=a);y!==C||g||(g=_A),void 0!==(u=r.charSpace||Yt)&&(m+=F(x(u))+" Tc\n",this.setCharSpace(this.getCharSpace()||0)),void 0!==(d=r.horizontalScale)&&(m+=F(100*d)+" Tz\n"),r.lang;var O=-1,T=void 0!==r.renderingMode?r.renderingMode:r.stroke,K=B.internal.getCurrentPageInfo().pageContext;switch(T){case 0:case!1:case"fill":O=0;break;case 1:case!0:case"stroke":O=1;break;case 2:case"fillThenStroke":O=2;break;case 3:case"invisible":O=3;break;case 4:case"fillAndAddForClipping":O=4;break;case 5:case"strokeAndAddPathForClipping":O=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":O=6;break;case 7:case"addToPathForClipping":O=7}var R=void 0!==K.usedRenderingMode?K.usedRenderingMode:-1;-1!==O?m+=O+" Tr\n":-1!==R&&(m+="0 Tr\n"),-1!==O&&(K.usedRenderingMode=O),c=r.align||"left";var j,G=eA*Q,V=B.internal.pageSize.getWidth(),q=pA[hA];u=r.charSpace||Yt,l=r.maxWidth||0,h=Object.assign({autoencode:!0,noBOM:!0},r.flags);var W=[],X=function(A){return B.getStringUnitWidth(A,{font:q,charSpace:u,fontSize:eA,doKerning:!1})*eA/v};if("[object Array]"===Object.prototype.toString.call(A)){var J;s=L(A),"left"!==c&&(j=s.map(X));var z,Y=0;if("right"===c){t-=j[0],A=[],_=s.length;for(var $=0;$<_;$++)0===$?(z=jt(t),J=Gt(e)):(z=x(Y-j[$]),J=-G),A.push([s[$],z,J]),Y=j[$]}else if("center"===c){t-=j[0]/2,A=[],_=s.length;for(var AA=0;AA<_;AA++)0===AA?(z=jt(t),J=Gt(e)):(z=x((Y-j[AA])/2),J=-G),A.push([s[AA],z,J]),Y=j[AA]}else if("left"===c){A=[],_=s.length;for(var tA=0;tA<_;tA++)A.push(s[tA])}else if("justify"===c&&"Identity-H"===q.encoding){A=[],_=s.length,l=0!==l?l:V;for(var rA=0,nA=0;nA<_;nA++)if(J=0===nA?Gt(e):-G,z=0===nA?jt(t):rA,nA<_-1){var sA=x((l-j[nA])/(s[nA].split(" ").length-1)),oA=s[nA].split(" ");A.push([oA[0]+" ",z,J]),rA=0;for(var aA=1;aA<oA.length;aA++){var cA=(X(oA[aA-1]+" "+oA[aA])-X(oA[aA]))*v+sA;aA==oA.length-1?A.push([oA[aA],cA,0]):A.push([oA[aA]+" ",cA,0]),rA-=cA}}else A.push([s[nA],z,J]);A.push(["",rA,0])}else{if("justify"!==c)throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(A=[],_=s.length,l=0!==l?l:V,nA=0;nA<_;nA++){J=0===nA?Gt(e):-G,z=0===nA?jt(t):0;var uA=s[nA].split(" ").length-1,lA=uA>0?(l-j[nA])/uA:0;nA<_-1?W.push(F(x(lA))):W.push(0),A.push([s[nA],z,J])}}}!0===("boolean"==typeof r.R2L?r.R2L:iA)&&(A=E(A,(function(A,t,e){return[A.split("").reverse().join(""),t,e]}))),i={text:A,x:t,y:e,options:r,mutex:{pdfEscape:rt,activeFontKey:hA,fonts:pA,activeFontSize:eA}},LA.publish("postProcessText",i),A=i.text,w=i.mutex.isHex||!1;var fA=pA[hA].encoding;"WinAnsiEncoding"!==fA&&"StandardEncoding"!==fA||(A=E(A,(function(A,t,e){return[b(A),t,e]}))),s=L(A),A=[];for(var dA,gA,BA,wA=Array.isArray(s[0])?1:0,mA="",CA=function(A,t,e){var n="";return e instanceof NA?(e="number"==typeof r.angle?SA(e,new NA(1,0,0,1,A,t)):SA(new NA(1,0,0,1,A,t),e),y===C&&(e=SA(new NA(1,0,0,-1,0,0),e)),n=e.join(" ")+" Tm\n"):n=F(A)+" "+F(t)+" Td\n",n},yA=0;yA<s.length;yA++){switch(mA="",wA){case 1:BA=(w?"<":"(")+s[yA][0]+(w?">":")"),dA=parseFloat(s[yA][1]),gA=parseFloat(s[yA][2]);break;case 0:BA=(w?"<":"(")+s[yA]+(w?">":")"),dA=jt(t),gA=Gt(e)}void 0!==W&&void 0!==W[yA]&&(mA=W[yA]+" Tw\n"),0===yA?A.push(mA+CA(dA,gA,g)+BA):0===wA?A.push(mA+BA):1===wA&&A.push(mA+CA(dA,gA,g)+BA)}A=0===wA?A.join(" Tj\nT* "):A.join(" Tj\n"),A+=" Tj\n";var QA="BT\n/";return QA+=hA+" "+eA+" Tf\n",QA+=F(eA*Q)+" TL\n",QA+=Jt+"\n",QA+=m,QA+=A,Z(QA+="ET"),f[hA]=!0,B};var vt=d.__private__.clip=d.clip=function(A){return Z("evenodd"===A?"W*":"W"),this};d.clipEvenOdd=function(){return vt("evenodd")},d.__private__.discardPath=d.discardPath=function(){return Z("n"),this};var bt=d.__private__.isValidStyle=function(A){var t=!1;return-1!==[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(A)&&(t=!0),t};d.__private__.setDefaultPathOperation=d.setDefaultPathOperation=function(A){return bt(A)&&(u=A),this};var Ft=d.__private__.getStyle=d.getStyle=function(A){var t=u;switch(A){case"D":case"S":t="S";break;case"F":t="f";break;case"FD":case"DF":t="B";break;case"f":case"f*":case"B":case"B*":t=A}return t},Ut=d.close=function(){return Z("h"),this};d.stroke=function(){return Z("S"),this},d.fill=function(A){return Lt("f",A),this},d.fillEvenOdd=function(A){return Lt("f*",A),this},d.fillStroke=function(A){return Lt("B",A),this},d.fillStrokeEvenOdd=function(A){return Lt("B*",A),this};var Lt=function(A,t){"object"===o(t)?xt(t,A):Z(A)},Et=function(A){null===A||y===C&&void 0===A||(A=Ft(A),Z(A))};function It(A,t,e,r,n){var i=new Pe(t||this.boundingBox,e||this.xStep,r||this.yStep,this.gState,n||this.matrix);i.stream=this.stream;var s=A+"$$"+this.cloneIndex+++"$$";return kA(s,i),i}var xt=function(A,t){var e=yA[A.key],r=CA[e];if(r instanceof ke)Z("q"),Z(Ht(t)),r.gState&&d.setGState(r.gState),Z(A.matrix.toString()+" cm"),Z("/"+e+" sh"),Z("Q");else if(r instanceof Pe){var n=new NA(1,0,0,-1,0,we());A.matrix&&(n=n.multiply(A.matrix||_A),e=It.call(r,A.key,A.boundingBox,A.xStep,A.yStep,n).id),Z("q"),Z("/Pattern cs"),Z("/"+e+" scn"),r.gState&&d.setGState(r.gState),Z(t),Z("Q")}},Ht=function(A){switch(A){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"}},Nt=d.moveTo=function(A,t){return Z(F(x(A))+" "+F(H(t))+" m"),this},St=d.lineTo=function(A,t){return Z(F(x(A))+" "+F(H(t))+" l"),this},_t=d.curveTo=function(A,t,e,r,n,i){return Z([F(x(A)),F(H(t)),F(x(e)),F(H(r)),F(x(n)),F(H(i)),"c"].join(" ")),this};d.__private__.line=d.line=function(A,t,e,r,n){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||!bt(n))throw new Error("Invalid arguments passed to jsPDF.line");return y===m?this.lines([[e-A,r-t]],A,t,[1,1],n||"S"):this.lines([[e-A,r-t]],A,t,[1,1]).stroke()},d.__private__.lines=d.lines=function(A,t,e,r,n,i){var s,o,a,c,u,l,h,f,d,g,B,p;if("number"==typeof A&&(p=e,e=t,t=A,A=p),r=r||[1,1],i=i||!1,isNaN(t)||isNaN(e)||!Array.isArray(A)||!Array.isArray(r)||!bt(n)||"boolean"!=typeof i)throw new Error("Invalid arguments passed to jsPDF.lines");for(Nt(t,e),s=r[0],o=r[1],c=A.length,g=t,B=e,a=0;a<c;a++)2===(u=A[a]).length?(g=u[0]*s+g,B=u[1]*o+B,St(g,B)):(l=u[0]*s+g,h=u[1]*o+B,f=u[2]*s+g,d=u[3]*o+B,g=u[4]*s+g,B=u[5]*o+B,_t(l,h,f,d,g,B));return i&&Ut(),Et(n),this},d.path=function(A){for(var t=0;t<A.length;t++){var e=A[t],r=e.c;switch(e.op){case"m":Nt(r[0],r[1]);break;case"l":St(r[0],r[1]);break;case"c":_t.apply(this,r);break;case"h":Ut()}}return this},d.__private__.rect=d.rect=function(A,t,e,r,n){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||!bt(n))throw new Error("Invalid arguments passed to jsPDF.rect");return y===m&&(r=-r),Z([F(x(A)),F(H(t)),F(x(e)),F(x(r)),"re"].join(" ")),Et(n),this},d.__private__.triangle=d.triangle=function(A,t,e,r,n,i,s){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||!bt(s))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[e-A,r-t],[n-e,i-r],[A-n,t-i]],A,t,[1,1],s,!0),this},d.__private__.roundedRect=d.roundedRect=function(A,t,e,r,n,i,s){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i)||!bt(s))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var o=4/3*(Math.SQRT2-1);return n=Math.min(n,.5*e),i=Math.min(i,.5*r),this.lines([[e-2*n,0],[n*o,0,n,i-i*o,n,i],[0,r-2*i],[0,i*o,-n*o,i,-n,i],[2*n-e,0],[-n*o,0,-n,-i*o,-n,-i],[0,2*i-r],[0,-i*o,n*o,-i,n,-i]],A+n,t,[1,1],s,!0),this},d.__private__.ellipse=d.ellipse=function(A,t,e,r,n){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||!bt(n))throw new Error("Invalid arguments passed to jsPDF.ellipse");var i=4/3*(Math.SQRT2-1)*e,s=4/3*(Math.SQRT2-1)*r;return Nt(A+e,t),_t(A+e,t-s,A+i,t-r,A,t-r),_t(A-i,t-r,A-e,t-s,A-e,t),_t(A-e,t+s,A-i,t+r,A,t+r),_t(A+i,t+r,A+e,t+s,A+e,t),Et(n),this},d.__private__.circle=d.circle=function(A,t,e,r){if(isNaN(A)||isNaN(t)||isNaN(e)||!bt(r))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(A,t,e,e,r)},d.setFont=function(A,t,e){return e&&(t=b(t,e)),hA=ct(A,t,{disableWarning:!1}),this};var kt=d.__private__.getFont=d.getFont=function(){return pA[ct.apply(d,arguments)]};d.__private__.getFontList=d.getFontList=function(){var A,t,e={};for(A in wA)if(wA.hasOwnProperty(A))for(t in e[A]=[],wA[A])wA[A].hasOwnProperty(t)&&e[A].push(t);return e},d.addFont=function(A,t,e,r,n){var i=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&-1!==i.indexOf(arguments[3])?n=arguments[3]:arguments[3]&&-1==i.indexOf(arguments[3])&&(e=b(e,r)),et.call(this,A,t,e,n=n||"Identity-H")};var Pt,Dt=A.lineWidth||.200025,Mt=d.__private__.getLineWidth=d.getLineWidth=function(){return Dt},Ot=d.__private__.setLineWidth=d.setLineWidth=function(A){return Dt=A,Z(F(x(A))+" w"),this};d.__private__.setLineDash=De.API.setLineDash=De.API.setLineDashPattern=function(A,t){if(A=A||[],t=t||0,isNaN(t)||!Array.isArray(A))throw new Error("Invalid arguments passed to jsPDF.setLineDash");return A=A.map((function(A){return F(x(A))})).join(" "),t=F(x(t)),Z("["+A+"] "+t+" d"),this};var Tt=d.__private__.getLineHeight=d.getLineHeight=function(){return eA*Pt};d.__private__.getLineHeight=d.getLineHeight=function(){return eA*Pt};var Kt=d.__private__.setLineHeightFactor=d.setLineHeightFactor=function(A){return"number"==typeof(A=A||1.15)&&(Pt=A),this},Rt=d.__private__.getLineHeightFactor=d.getLineHeightFactor=function(){return Pt};Kt(A.lineHeight);var jt=d.__private__.getHorizontalCoordinate=function(A){return x(A)},Gt=d.__private__.getVerticalCoordinate=function(A){return y===C?A:UA[T].mediaBox.topRightY-UA[T].mediaBox.bottomLeftY-x(A)},Vt=d.__private__.getHorizontalCoordinateString=d.getHorizontalCoordinateString=function(A){return F(jt(A))},qt=d.__private__.getVerticalCoordinateString=d.getVerticalCoordinateString=function(A){return F(Gt(A))},Wt=A.strokeColor||"0 G";d.__private__.getStrokeColor=d.getDrawColor=function(){return jA(Wt)},d.__private__.setStrokeColor=d.setDrawColor=function(A,t,e,r){return Wt=GA({ch1:A,ch2:t,ch3:e,ch4:r,pdfColorType:"draw",precision:2}),Z(Wt),this};var Xt=A.fillColor||"0 g";d.__private__.getFillColor=d.getFillColor=function(){return jA(Xt)},d.__private__.setFillColor=d.setFillColor=function(A,t,e,r){return Xt=GA({ch1:A,ch2:t,ch3:e,ch4:r,pdfColorType:"fill",precision:2}),Z(Xt),this};var Jt=A.textColor||"0 g",zt=d.__private__.getTextColor=d.getTextColor=function(){return jA(Jt)};d.__private__.setTextColor=d.setTextColor=function(A,t,e,r){return Jt=GA({ch1:A,ch2:t,ch3:e,ch4:r,pdfColorType:"text",precision:3}),this};var Yt=A.charSpace,Zt=d.__private__.getCharSpace=d.getCharSpace=function(){return parseFloat(Yt||0)};d.__private__.setCharSpace=d.setCharSpace=function(A){if(isNaN(A))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Yt=A,this};var $t=0;d.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},d.__private__.setLineCap=d.setLineCap=function(A){var t=d.CapJoinStyles[A];if(void 0===t)throw new Error("Line cap style of '"+A+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return $t=t,Z(t+" J"),this};var Ae=0;d.__private__.setLineJoin=d.setLineJoin=function(A){var t=d.CapJoinStyles[A];if(void 0===t)throw new Error("Line join style of '"+A+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Ae=t,Z(t+" j"),this},d.__private__.setLineMiterLimit=d.__private__.setMiterLimit=d.setLineMiterLimit=d.setMiterLimit=function(A){if(A=A||0,isNaN(A))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return Z(F(x(A))+" M"),this},d.GState=Se,d.setGState=function(A){(A="string"==typeof A?QA[vA[A]]:te(null,A)).equals(bA)||(Z("/"+A.id+" gs"),bA=A)};var te=function(A,t){if(!A||!vA[A]){var e=!1;for(var r in QA)if(QA.hasOwnProperty(r)&&QA[r].equals(t)){e=!0;break}if(e)t=QA[r];else{var n="GS"+(Object.keys(QA).length+1).toString(10);QA[n]=t,t.id=n}return A&&(vA[A]=t.id),LA.publish("addGState",t),t}};d.addGState=function(A,t){return te(A,t),this},d.saveGraphicsState=function(){return Z("q"),mA.push({key:hA,size:eA,color:Jt}),this},d.restoreGraphicsState=function(){Z("Q");var A=mA.pop();return hA=A.key,eA=A.size,Jt=A.color,bA=null,this},d.setCurrentTransformationMatrix=function(A){return Z(A.toString()+" cm"),this},d.comment=function(A){return Z("#"+A),this};var ee=function(A,t){var e=A||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return e},set:function(A){isNaN(A)||(e=parseFloat(A))}});var r=t||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return r},set:function(A){isNaN(A)||(r=parseFloat(A))}});var n="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return n},set:function(A){n=A.toString()}}),this},re=function(A,t,e,r){ee.call(this,A,t),this.type="rect";var n=e||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return n},set:function(A){isNaN(A)||(n=parseFloat(A))}});var i=r||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return i},set:function(A){isNaN(A)||(i=parseFloat(A))}}),this},ie=function(){this.page=FA,this.currentPage=T,this.pages=X.slice(0),this.pagesContext=UA.slice(0),this.x=dA,this.y=gA,this.matrix=BA,this.width=ce(T),this.height=de(T),this.outputDestination=z,this.id="",this.objectNumber=-1};ie.prototype.restore=function(){FA=this.page,T=this.currentPage,UA=this.pagesContext,X=this.pages,dA=this.x,gA=this.y,BA=this.matrix,he(T,this.width),ge(T,this.height),z=this.outputDestination};var oe=function(A,t,e,r,n){HA.push(new ie),FA=T=0,X=[],dA=A,gA=t,BA=n,nt([e,r])};for(var ae in d.beginFormObject=function(A,t,e,r,n){return oe(A,t,e,r,n),this},d.endFormObject=function(A){return function(A){if(xA[A])HA.pop().restore();else{var t=new ie,e="Xo"+(Object.keys(IA).length+1).toString(10);t.id=e,xA[A]=e,IA[e]=t,LA.publish("addFormObject",t),HA.pop().restore()}}(A),this},d.doFormObject=function(A,t){var e=IA[xA[A]];return Z("q"),Z(t.toString()+" cm"),Z("/"+e.id+" Do"),Z("Q"),this},d.getFormObject=function(A){var t=IA[xA[A]];return{x:t.x,y:t.y,width:t.width,height:t.height,matrix:t.matrix}},d.save=function(A,t){return A=A||"generated.pdf",(t=t||{}).returnPromise=t.returnPromise||!1,!1===t.returnPromise?(ue(Bt(gt()),A),"function"==typeof ue.unload&&ne.setTimeout&&setTimeout(ue.unload,911),this):new Promise((function(t,e){try{var r=ue(Bt(gt()),A);"function"==typeof ue.unload&&ne.setTimeout&&setTimeout(ue.unload,911),t(r)}catch(A){e(A.message)}}))},De.API)De.API.hasOwnProperty(ae)&&("events"===ae&&De.API.events.length?function(A,t){var e,r,n;for(n=t.length-1;-1!==n;n--)e=t[n][0],r=t[n][1],A.subscribe.apply(A,[e].concat("function"==typeof r?[r]:r))}(LA,De.API.events):d[ae]=De.API[ae]);function ce(A){return UA[A].mediaBox.topRightX-UA[A].mediaBox.bottomLeftX}function he(A,t){UA[A].mediaBox.topRightX=t+UA[A].mediaBox.bottomLeftX}function de(A){return UA[A].mediaBox.topRightY-UA[A].mediaBox.bottomLeftY}function ge(A,t){UA[A].mediaBox.topRightY=t+UA[A].mediaBox.bottomLeftY}var Be=d.getPageWidth=function(A){return ce(A=A||T)/fA},pe=d.setPageWidth=function(A,t){he(A,t*fA)},we=d.getPageHeight=function(A){return de(A=A||T)/fA},me=d.setPageHeight=function(A,t){ge(A,t*fA)};return d.internal={pdfEscape:rt,getStyle:Ft,getFont:kt,getFontSize:nA,getCharSpace:Zt,getTextColor:zt,getLineHeight:Tt,getLineHeightFactor:Rt,getLineWidth:Mt,write:$,getHorizontalCoordinate:jt,getVerticalCoordinate:Gt,getCoordinateString:Vt,getVerticalCoordinateString:qt,collections:{},newObject:DA,newAdditionalObject:TA,newObjectDeferred:MA,newObjectDeferredBegin:OA,getFilters:VA,putStream:qA,events:LA,scaleFactor:fA,pageSize:{getWidth:function(){return Be(T)},setWidth:function(A){pe(T,A)},getHeight:function(){return we(T)},setHeight:function(A){me(T,A)}},encryptionOptions:l,encryption:mt,getEncryptor:function(A){return null!==l?mt.encryptor(A,0):function(A){return A}},output:pt,getNumberOfPages:at,pages:X,out:Z,f2:E,f3:I,getPageInfo:Ct,getPageInfoByObjId:yt,getCurrentPageInfo:Qt,getPDFVersion:B,Point:ee,Rectangle:re,Matrix:NA,hasHotfix:wt},Object.defineProperty(d.internal.pageSize,"width",{get:function(){return Be(T)},set:function(A){pe(T,A)},enumerable:!0,configurable:!0}),Object.defineProperty(d.internal.pageSize,"height",{get:function(){return we(T)},set:function(A){me(T,A)},enumerable:!0,configurable:!0}),function(A){for(var t=0,e=tA.length;t<e;t++){var r=et.call(this,A[t][0],A[t][1],A[t][2],tA[t][3],!0);!1===h&&(f[r]=!0);var n=A[t][0].split("-");tt({id:r,fontName:n[0],fontStyle:n[1]||""})}LA.publish("addFonts",{fonts:pA,dictionary:wA})}.call(d,tA),hA="F1",it(n,e),LA.publish("initialized"),d}xe.prototype.lsbFirstWord=function(A){return String.fromCharCode(255&A,A>>8&255,A>>16&255,A>>24&255)},xe.prototype.toHexString=function(A){return A.split("").map((function(A){return("0"+(255&A.charCodeAt(0)).toString(16)).slice(-2)})).join("")},xe.prototype.hexToBytes=function(A){for(var t=[],e=0;e<A.length;e+=2)t.push(String.fromCharCode(parseInt(A.substr(e,2),16)));return t.join("")},xe.prototype.processOwnerPassword=function(A,t){return Ee(Fe(t).substr(0,5),A)},xe.prototype.encryptor=function(A,t){var e=Fe(this.encryptionKey+String.fromCharCode(255&A,A>>8&255,A>>16&255,255&t,t>>8&255)).substr(0,10);return function(A){return Ee(e,A)}},Se.prototype.equals=function(A){var t,e="id,objectNumber,equals";if(!A||o(A)!==o(this))return!1;var r=0;for(t in this)if(!(e.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!A.hasOwnProperty(t))return!1;if(this[t]!==A[t])return!1;r++}for(t in A)A.hasOwnProperty(t)&&e.indexOf(t)<0&&r--;return 0===r},De.API={events:[]},De.version="3.0.3";var Me=De.API,Oe=1,Te=function(A){return A.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},Ke=function(A){return A.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Re=function(A){return A.toFixed(2)},je=function(A){return A.toFixed(5)};Me.__acroform__={};var Ge=function(A,t){A.prototype=Object.create(t.prototype),A.prototype.constructor=A},Ve=function(A){return A*Oe},qe=function(A){var t=new ar,e=Qr.internal.getHeight(A)||0,r=Qr.internal.getWidth(A)||0;return t.BBox=[0,0,Number(Re(r)),Number(Re(e))],t},We=Me.__acroform__.setBit=function(A,t){if(A=A||0,t=t||0,isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBit");return A|1<<t},Xe=Me.__acroform__.clearBit=function(A,t){if(A=A||0,t=t||0,isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return A&~(1<<t)},Je=Me.__acroform__.getBit=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return A&1<<t?1:0},ze=Me.__acroform__.getBitForPdf=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return Je(A,t-1)},Ye=Me.__acroform__.setBitForPdf=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return We(A,t-1)},Ze=Me.__acroform__.clearBitForPdf=function(A,t){if(isNaN(A)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return Xe(A,t-1)},$e=Me.__acroform__.calculateCoordinates=function(A,t){var e=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,n=A[0],i=A[1],s=A[2],o=A[3],a={};return a.lowerLeft_X=e(n)||0,a.lowerLeft_Y=r(i+o)||0,a.upperRight_X=e(n+s)||0,a.upperRight_Y=r(i)||0,[Number(Re(a.lowerLeft_X)),Number(Re(a.lowerLeft_Y)),Number(Re(a.upperRight_X)),Number(Re(a.upperRight_Y))]},Ar=function(A){if(A.appearanceStreamContent)return A.appearanceStreamContent;if(A.V||A.DV){var t=[],e=A._V||A.DV,r=tr(A,e),n=A.scope.internal.getFont(A.fontName,A.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(A.scope.__private__.encodeColorString(A.color)),t.push("/"+n+" "+Re(r.fontSize)+" Tf"),t.push("1 0 0 1 0 0 Tm"),t.push(r.text),t.push("ET"),t.push("Q"),t.push("EMC");var i=qe(A);return i.scope=A.scope,i.stream=t.join("\n"),i}},tr=function(A,t){var e=0===A.fontSize?A.maxFontSize:A.fontSize,r={text:"",fontSize:""},n=(t=")"==(t="("==t.substr(0,1)?t.substr(1):t).substr(t.length-1)?t.substr(0,t.length-1):t).split(" ");n=A.multiline?n.map((function(A){return A.split("\n")})):n.map((function(A){return[A]}));var i=e,s=Qr.internal.getHeight(A)||0;s=s<0?-s:s;var o=Qr.internal.getWidth(A)||0;o=o<0?-o:o;var a=function(t,e,r){if(t+1<n.length){var i=e+" "+n[t+1][0];return er(i,A,r).width<=o-4}return!1};i++;A:for(;i>0;){t="",i--;var c,u,l=er("3",A,i).height,h=A.multiline?s-i:(s-l)/2,f=h+=2,d=0,g=0,B=0;if(i<=0){t="(...) Tj\n",t+="% Width of Text: "+er(t,A,i=12).width+", FieldWidth:"+o+"\n";break}for(var p="",w=0,m=0;m<n.length;m++)if(n.hasOwnProperty(m)){var C=!1;if(1!==n[m].length&&B!==n[m].length-1){if((l+2)*(w+2)+2>s)continue A;p+=n[m][B],C=!0,g=m,m--}else{p=" "==(p+=n[m][B]+" ").substr(p.length-1)?p.substr(0,p.length-1):p;var y=parseInt(m),Q=a(y,p,i),v=m>=n.length-1;if(Q&&!v){p+=" ",B=0;continue}if(Q||v){if(v)g=y;else if(A.multiline&&(l+2)*(w+2)+2>s)continue A}else{if(!A.multiline)continue A;if((l+2)*(w+2)+2>s)continue A;g=y}}for(var b="",F=d;F<=g;F++){var U=n[F];if(A.multiline){if(F===g){b+=U[B]+" ",B=(B+1)%U.length;continue}if(F===d){b+=U[U.length-1]+" ";continue}}b+=U[0]+" "}switch(b=" "==b.substr(b.length-1)?b.substr(0,b.length-1):b,u=er(b,A,i).width,A.textAlign){case"right":c=o-u-2;break;case"center":c=(o-u)/2;break;default:c=2}t+=Re(c)+" "+Re(f)+" Td\n",t+="("+Te(b)+") Tj\n",t+=-Re(c)+" 0 Td\n",f=-(i+2),u=0,d=C?g:g+1,w++,p=""}break}return r.text=t,r.fontSize=i,r},er=function(A,t,e){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),n=t.scope.getStringUnitWidth(A,{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e);return{height:t.scope.getStringUnitWidth("3",{font:r,fontSize:parseFloat(e),charSpace:0})*parseFloat(e)*1.5,width:n}},rr={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},nr=function(A,t){var e={type:"reference",object:A};void 0===t.internal.getPageInfo(A.page).pageContext.annotations.find((function(A){return A.type===e.type&&A.object===e.object}))&&t.internal.getPageInfo(A.page).pageContext.annotations.push(e)},ir=Me.__acroform__.arrayToPdfArray=function(A,t,e){var r=function(A){return A};if(Array.isArray(A)){for(var n="[",i=0;i<A.length;i++)switch(0!==i&&(n+=" "),o(A[i])){case"boolean":case"number":case"object":n+=A[i].toString();break;case"string":"/"!==A[i].substr(0,1)?(void 0!==t&&e&&(r=e.internal.getEncryptor(t)),n+="("+Te(r(A[i].toString()))+")"):n+=A[i].toString()}return n+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},sr=function(A,t,e){var r=function(A){return A};return void 0!==t&&e&&(r=e.internal.getEncryptor(t)),(A=A||"").toString(),"("+Te(r(A))+")"},or=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(void 0===this._objId){if(void 0===this.scope)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(A){this._objId=A}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};or.prototype.toString=function(){return this.objId+" 0 R"},or.prototype.putStream=function(){var A=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:A,objectId:this.objId}),this.scope.internal.out("endobj")},or.prototype.getKeyValueListForStream=function(){var A=[],t=Object.getOwnPropertyNames(this).filter((function(A){return"content"!=A&&"appearanceStreamContent"!=A&&"scope"!=A&&"objId"!=A&&"_"!=A.substring(0,1)}));for(var e in t)if(!1===Object.getOwnPropertyDescriptor(this,t[e]).configurable){var r=t[e],n=this[r];n&&(Array.isArray(n)?A.push({key:r,value:ir(n,this.objId,this.scope)}):n instanceof or?(n.scope=this.scope,A.push({key:r,value:n.objId+" 0 R"})):"function"!=typeof n&&A.push({key:r,value:n}))}return A};var ar=function(){or.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 A,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(A){t=A}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(t){A=t.trim()},get:function(){return A||null}})};Ge(ar,or);var cr=function(){or.call(this);var A,t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!1,configurable:!1,get:function(){return t}}),Object.defineProperty(this,"DA",{enumerable:!1,configurable:!1,get:function(){if(A){var t=function(A){return A};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Te(t(A))+")"}},set:function(t){A=t}})};Ge(cr,or);var ur=function A(){or.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(A){if(isNaN(A))throw new Error('Invalid value "'+A+'" for attribute F supplied.');t=A}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(t,3))},set:function(A){!0===Boolean(A)?this.F=Ye(t,3):this.F=Ze(t,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(A){if(isNaN(A))throw new Error('Invalid value "'+A+'" for attribute Ff supplied.');e=A}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(0!==r.length)return r},set:function(A){r=void 0!==A?A:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(A){r[0]=A}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(A){r[1]=A}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(A){r[2]=A}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(A){r[3]=A}});var n="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return n},set:function(A){switch(A){case"/Btn":case"/Tx":case"/Ch":case"/Sig":n=A;break;default:throw new Error('Invalid value "'+A+'" for attribute FT supplied.')}}});var i=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!i||i.length<1){if(this instanceof wr)return;i="FieldObject"+A.FieldNum++}var t=function(A){return A};return this.scope&&(t=this.scope.internal.getEncryptor(this.objId)),"("+Te(t(i))+")"},set:function(A){i=A.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return i},set:function(A){i=A}});var s="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return s},set:function(A){s=A}});var o="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return o},set:function(A){o=A}});var a=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return a},set:function(A){a=A}});var c=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return void 0===c?50/Oe:c},set:function(A){c=A}});var u="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return u},set:function(A){u=A}});var l="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!l||this instanceof wr||this instanceof Cr))return sr(l,this.objId,this.scope)},set:function(A){A=A.toString(),l=A}});var h=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(h)return this instanceof gr==0?sr(h,this.objId,this.scope):h},set:function(A){A=A.toString(),h=this instanceof gr==0?"("===A.substr(0,1)?Ke(A.substr(1,A.length-2)):Ke(A):A}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof gr==1?Ke(h.substr(1,h.length-1)):h},set:function(A){A=A.toString(),h=this instanceof gr==1?"/"+A:A}});var f=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(f)return f},set:function(A){this.V=A}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(f)return this instanceof gr==0?sr(f,this.objId,this.scope):f},set:function(A){A=A.toString(),f=this instanceof gr==0?"("===A.substr(0,1)?Ke(A.substr(1,A.length-2)):Ke(A):A}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof gr==1?Ke(f.substr(1,f.length-1)):f},set:function(A){A=A.toString(),f=this instanceof gr==1?"/"+A:A}}),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 d,g=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return g},set:function(A){A=Boolean(A),g=A}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(d)return d},set:function(A){d=A}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,1))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,1):this.Ff=Ze(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,2))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,2):this.Ff=Ze(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,3))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,3):this.Ff=Ze(this.Ff,3)}});var B=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(null!==B)return B},set:function(A){if(-1===[0,1,2].indexOf(A))throw new Error('Invalid value "'+A+'" for attribute Q supplied.');B=A}}),Object.defineProperty(this,"textAlign",{get:function(){var A;switch(B){case 0:default:A="left";break;case 1:A="center";break;case 2:A="right"}return A},configurable:!0,enumerable:!0,set:function(A){switch(A){case"right":case 2:B=2;break;case"center":case 1:B=1;break;default:B=0}}})};Ge(ur,or);var lr=function(){ur.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var A=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return A},set:function(t){A=t}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return ir(t,this.objId,this.scope)},set:function(A){var e,r;r=[],"string"==typeof(e=A)&&(r=function(A,t,e){e||(e=1);for(var r,n=[];r=t.exec(A);)n.push(r[e]);return n}(e,/\((.*?)\)/g)),t=r}}),this.getOptions=function(){return t},this.setOptions=function(A){t=A,this.sort&&t.sort()},this.addOption=function(A){A=(A=A||"").toString(),t.push(A),this.sort&&t.sort()},this.removeOption=function(A,e){for(e=e||!1,A=(A=A||"").toString();-1!==t.indexOf(A)&&(t.splice(t.indexOf(A),1),!1!==e););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,18))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,18):this.Ff=Ze(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,19))},set:function(A){!0===this.combo&&(!0===Boolean(A)?this.Ff=Ye(this.Ff,19):this.Ff=Ze(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,20))},set:function(A){!0===Boolean(A)?(this.Ff=Ye(this.Ff,20),t.sort()):this.Ff=Ze(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,22))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,22):this.Ff=Ze(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,23))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,23):this.Ff=Ze(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,27))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,27):this.Ff=Ze(this.Ff,27)}}),this.hasAppearanceStream=!1};Ge(lr,ur);var hr=function(){lr.call(this),this.fontName="helvetica",this.combo=!1};Ge(hr,lr);var fr=function(){hr.call(this),this.combo=!0};Ge(fr,hr);var dr=function(){fr.call(this),this.edit=!0};Ge(dr,fr);var gr=function(){ur.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,15))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,15):this.Ff=Ze(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,16))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,16):this.Ff=Ze(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,17))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,17):this.Ff=Ze(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,26))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,26):this.Ff=Ze(this.Ff,26)}});var A,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var A=function(A){return A};if(this.scope&&(A=this.scope.internal.getEncryptor(this.objId)),0!==Object.keys(t).length){var e,r=[];for(e in r.push("<<"),t)r.push("/"+e+" ("+Te(A(t[e]))+")");return r.push(">>"),r.join("\n")}},set:function(A){"object"===o(A)&&(t=A)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(A){"string"==typeof A&&(t.CA=A)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return A.substr(1,A.length-1)},set:function(t){A="/"+t}})};Ge(gr,ur);var Br=function(){gr.call(this),this.pushButton=!0};Ge(Br,gr);var pr=function(){gr.call(this),this.radio=!0,this.pushButton=!1;var A=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return A},set:function(t){A=void 0!==t?t:[]}})};Ge(pr,gr);var wr=function(){var A,t;ur.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(A){t=A}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var A=function(A){return A};this.scope&&(A=this.scope.internal.getEncryptor(this.objId));var t,e=[];for(t in e.push("<<"),r)e.push("/"+t+" ("+Te(A(r[t]))+")");return e.push(">>"),e.join("\n")},set:function(A){"object"===o(A)&&(r=A)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(A){"string"==typeof A&&(r.CA=A)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(A){e=A}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(A){e="/"+A}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=Qr.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};Ge(wr,ur),pr.prototype.setAppearance=function(A){if(!("createAppearanceStream"in A)||!("getCA"in A))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var e=this.Kids[t];e.appearanceStreamContent=A.createAppearanceStream(e.optionName),e.caption=A.getCA()}},pr.prototype.createOption=function(A){var t=new wr;return t.Parent=this,t.optionName=A,this.Kids.push(t),Fr.call(this.scope,t),t};var mr=function(){gr.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=Qr.CheckBox.createAppearanceStream()};Ge(mr,gr);var Cr=function(){ur.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,13))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,13):this.Ff=Ze(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,21))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,21):this.Ff=Ze(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,23))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,23):this.Ff=Ze(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,24))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,24):this.Ff=Ze(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,25))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,25):this.Ff=Ze(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,26))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,26):this.Ff=Ze(this.Ff,26)}});var A=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return A},set:function(t){A=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return A},set:function(t){Number.isInteger(t)&&(A=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};Ge(Cr,ur);var yr=function(){Cr.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return Boolean(ze(this.Ff,14))},set:function(A){!0===Boolean(A)?this.Ff=Ye(this.Ff,14):this.Ff=Ze(this.Ff,14)}}),this.password=!0};Ge(yr,Cr);var Qr={CheckBox:{createAppearanceStream:function(){return{N:{On:Qr.CheckBox.YesNormal},D:{On:Qr.CheckBox.YesPushDown,Off:Qr.CheckBox.OffPushDown}}},YesPushDown:function(A){var t=qe(A);t.scope=A.scope;var e=[],r=A.scope.internal.getFont(A.fontName,A.fontStyle).id,n=A.scope.__private__.encodeColorString(A.color),i=tr(A,A.caption);return e.push("0.749023 g"),e.push("0 0 "+Re(Qr.internal.getWidth(A))+" "+Re(Qr.internal.getHeight(A))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+r+" "+Re(i.fontSize)+" Tf "+n),e.push("BT"),e.push(i.text),e.push("ET"),e.push("Q"),e.push("EMC"),t.stream=e.join("\n"),t},YesNormal:function(A){var t=qe(A);t.scope=A.scope;var e=A.scope.internal.getFont(A.fontName,A.fontStyle).id,r=A.scope.__private__.encodeColorString(A.color),n=[],i=Qr.internal.getHeight(A),s=Qr.internal.getWidth(A),o=tr(A,A.caption);return n.push("1 g"),n.push("0 0 "+Re(s)+" "+Re(i)+" re"),n.push("f"),n.push("q"),n.push("0 0 1 rg"),n.push("0 0 "+Re(s-1)+" "+Re(i-1)+" re"),n.push("W"),n.push("n"),n.push("0 g"),n.push("BT"),n.push("/"+e+" "+Re(o.fontSize)+" Tf "+r),n.push(o.text),n.push("ET"),n.push("Q"),t.stream=n.join("\n"),t},OffPushDown:function(A){var t=qe(A);t.scope=A.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Re(Qr.internal.getWidth(A))+" "+Re(Qr.internal.getHeight(A))+" re"),e.push("f"),t.stream=e.join("\n"),t}},RadioButton:{Circle:{createAppearanceStream:function(A){var t={D:{Off:Qr.RadioButton.Circle.OffPushDown},N:{}};return t.N[A]=Qr.RadioButton.Circle.YesNormal,t.D[A]=Qr.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(A){var t=qe(A);t.scope=A.scope;var e=[],r=Qr.internal.getWidth(A)<=Qr.internal.getHeight(A)?Qr.internal.getWidth(A)/4:Qr.internal.getHeight(A)/4;r=Number((.9*r).toFixed(5));var n=Qr.internal.Bezier_C,i=Number((r*n).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+je(Qr.internal.getWidth(A)/2)+" "+je(Qr.internal.getHeight(A)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+i+" "+i+" "+r+" 0 "+r+" c"),e.push("-"+i+" "+r+" -"+r+" "+i+" -"+r+" 0 c"),e.push("-"+r+" -"+i+" -"+i+" -"+r+" 0 -"+r+" c"),e.push(i+" -"+r+" "+r+" -"+i+" "+r+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join("\n"),t},YesPushDown:function(A){var t=qe(A);t.scope=A.scope;var e=[],r=Qr.internal.getWidth(A)<=Qr.internal.getHeight(A)?Qr.internal.getWidth(A)/4:Qr.internal.getHeight(A)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*Qr.internal.Bezier_C).toFixed(5)),s=Number((r*Qr.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+je(Qr.internal.getWidth(A)/2)+" "+je(Qr.internal.getHeight(A)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+je(Qr.internal.getWidth(A)/2)+" "+je(Qr.internal.getHeight(A)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+s+" "+s+" "+r+" 0 "+r+" c"),e.push("-"+s+" "+r+" -"+r+" "+s+" -"+r+" 0 c"),e.push("-"+r+" -"+s+" -"+s+" -"+r+" 0 -"+r+" c"),e.push(s+" -"+r+" "+r+" -"+s+" "+r+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join("\n"),t},OffPushDown:function(A){var t=qe(A);t.scope=A.scope;var e=[],r=Qr.internal.getWidth(A)<=Qr.internal.getHeight(A)?Qr.internal.getWidth(A)/4:Qr.internal.getHeight(A)/4;r=Number((.9*r).toFixed(5));var n=Number((2*r).toFixed(5)),i=Number((n*Qr.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+je(Qr.internal.getWidth(A)/2)+" "+je(Qr.internal.getHeight(A)/2)+" cm"),e.push(n+" 0 m"),e.push(n+" "+i+" "+i+" "+n+" 0 "+n+" c"),e.push("-"+i+" "+n+" -"+n+" "+i+" -"+n+" 0 c"),e.push("-"+n+" -"+i+" -"+i+" -"+n+" 0 -"+n+" c"),e.push(i+" -"+n+" "+n+" -"+i+" "+n+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join("\n"),t}},Cross:{createAppearanceStream:function(A){var t={D:{Off:Qr.RadioButton.Cross.OffPushDown},N:{}};return t.N[A]=Qr.RadioButton.Cross.YesNormal,t.D[A]=Qr.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(A){var t=qe(A);t.scope=A.scope;var e=[],r=Qr.internal.calculateCross(A);return e.push("q"),e.push("1 1 "+Re(Qr.internal.getWidth(A)-2)+" "+Re(Qr.internal.getHeight(A)-2)+" re"),e.push("W"),e.push("n"),e.push(Re(r.x1.x)+" "+Re(r.x1.y)+" m"),e.push(Re(r.x2.x)+" "+Re(r.x2.y)+" l"),e.push(Re(r.x4.x)+" "+Re(r.x4.y)+" m"),e.push(Re(r.x3.x)+" "+Re(r.x3.y)+" l"),e.push("s"),e.push("Q"),t.stream=e.join("\n"),t},YesPushDown:function(A){var t=qe(A);t.scope=A.scope;var e=Qr.internal.calculateCross(A),r=[];return r.push("0.749023 g"),r.push("0 0 "+Re(Qr.internal.getWidth(A))+" "+Re(Qr.internal.getHeight(A))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Re(Qr.internal.getWidth(A)-2)+" "+Re(Qr.internal.getHeight(A)-2)+" re"),r.push("W"),r.push("n"),r.push(Re(e.x1.x)+" "+Re(e.x1.y)+" m"),r.push(Re(e.x2.x)+" "+Re(e.x2.y)+" l"),r.push(Re(e.x4.x)+" "+Re(e.x4.y)+" m"),r.push(Re(e.x3.x)+" "+Re(e.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join("\n"),t},OffPushDown:function(A){var t=qe(A);t.scope=A.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Re(Qr.internal.getWidth(A))+" "+Re(Qr.internal.getHeight(A))+" re"),e.push("f"),t.stream=e.join("\n"),t}}},createDefaultAppearanceStream:function(A){var t=A.scope.internal.getFont(A.fontName,A.fontStyle).id,e=A.scope.__private__.encodeColorString(A.color);return"/"+t+" "+A.fontSize+" Tf "+e}};Qr.internal={Bezier_C:.551915024494,calculateCross:function(A){var t=Qr.internal.getWidth(A),e=Qr.internal.getHeight(A),r=Math.min(t,e);return{x1:{x:(t-r)/2,y:(e-r)/2+r},x2:{x:(t-r)/2+r,y:(e-r)/2},x3:{x:(t-r)/2,y:(e-r)/2},x4:{x:(t-r)/2+r,y:(e-r)/2+r}}}},Qr.internal.getWidth=function(A){var t=0;return"object"===o(A)&&(t=Ve(A.Rect[2])),t},Qr.internal.getHeight=function(A){var t=0;return"object"===o(A)&&(t=Ve(A.Rect[3])),t};var vr,br,Fr=Me.addField=function(A){if(function(A,t){if(t.scope=A,void 0!==A.internal&&(void 0===A.internal.acroformPlugin||!1===A.internal.acroformPlugin.isInitialized)){if(ur.FieldNum=0,A.internal.acroformPlugin=JSON.parse(JSON.stringify(rr)),A.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Oe=A.internal.scaleFactor,A.internal.acroformPlugin.acroFormDictionaryRoot=new cr,A.internal.acroformPlugin.acroFormDictionaryRoot.scope=A,A.internal.acroformPlugin.acroFormDictionaryRoot._eventID=A.internal.events.subscribe("postPutResources",(function(){var t;(t=A).internal.events.unsubscribe(t.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete t.internal.acroformPlugin.acroFormDictionaryRoot._eventID,t.internal.acroformPlugin.printedOut=!0})),A.internal.events.subscribe("buildDocument",(function(){!function(A){A.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var t=A.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var e in t)if(t.hasOwnProperty(e)){var r=t[e];r.objId=void 0,r.hasAnnotation&&nr(r,A)}}(A)})),A.internal.events.subscribe("putCatalog",(function(){!function(A){if(void 0===A.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("putCatalogCallback: Root missing.");A.internal.write("/AcroForm "+A.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")}(A)})),A.internal.events.subscribe("postPutPages",(function(t){!function(A,t){var e=!A;for(var r in A||(t.internal.newObjectDeferredBegin(t.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),t.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),A=A||t.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(A.hasOwnProperty(r)){var n=A[r],i=[],s=n.Rect;if(n.Rect&&(n.Rect=$e(n.Rect,t)),t.internal.newObjectDeferredBegin(n.objId,!0),n.DA=Qr.createDefaultAppearanceStream(n),"object"===o(n)&&"function"==typeof n.getKeyValueListForStream&&(i=n.getKeyValueListForStream()),n.Rect=s,n.hasAppearanceStream&&!n.appearanceStreamContent){var a=Ar(n);i.push({key:"AP",value:"<</N "+a+">>"}),t.internal.acroformPlugin.xForms.push(a)}if(n.appearanceStreamContent){var c="";for(var u in n.appearanceStreamContent)if(n.appearanceStreamContent.hasOwnProperty(u)){var l=n.appearanceStreamContent[u];if(c+="/"+u+" ",c+="<<",Object.keys(l).length>=1||Array.isArray(l)){for(var r in l)if(l.hasOwnProperty(r)){var h=l[r];"function"==typeof h&&(h=h.call(t,n)),c+="/"+r+" "+h+" ",t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h)}}else"function"==typeof(h=l)&&(h=h.call(t,n)),c+="/"+r+" "+h,t.internal.acroformPlugin.xForms.indexOf(h)>=0||t.internal.acroformPlugin.xForms.push(h);c+=">>"}i.push({key:"AP",value:"<<\n"+c+">>"})}t.internal.putStream({additionalKeyValues:i,objectId:n.objId}),t.internal.out("endobj")}e&&function(A,t){for(var e in A)if(A.hasOwnProperty(e)){var r=e,n=A[e];t.internal.newObjectDeferredBegin(n.objId,!0),"object"===o(n)&&"function"==typeof n.putStream&&n.putStream(),delete A[r]}}(t.internal.acroformPlugin.xForms,t)}(t,A)})),A.internal.acroformPlugin.isInitialized=!0}}(this,A),!(A instanceof ur))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=A).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),A.page=A.scope.internal.getCurrentPageInfo().pageNumber,this};function Ur(A){return A.reduce((function(A,t,e){return A[t]=e,A}),{})}Me.AcroFormChoiceField=lr,Me.AcroFormListBox=hr,Me.AcroFormComboBox=fr,Me.AcroFormEditBox=dr,Me.AcroFormButton=gr,Me.AcroFormPushButton=Br,Me.AcroFormRadioButton=pr,Me.AcroFormCheckBox=mr,Me.AcroFormTextField=Cr,Me.AcroFormPasswordField=yr,Me.AcroFormAppearance=Qr,Me.AcroForm={ChoiceField:lr,ListBox:hr,ComboBox:fr,EditBox:dr,Button:gr,PushButton:Br,RadioButton:pr,CheckBox:mr,TextField:Cr,PasswordField:yr,Appearance:Qr},De.AcroForm={ChoiceField:lr,ListBox:hr,ComboBox:fr,EditBox:dr,Button:gr,PushButton:Br,RadioButton:pr,CheckBox:mr,TextField:Cr,PasswordField:yr,Appearance:Qr},De.AcroForm,function(A){var t="addImage_";A.__addimage__={};var e="UNKNOWN",r={PNG:[[137,80,78,71]],TIFF:[[77,77,0,42],[73,73,42,0]],JPEG:[[255,216,255,224,void 0,void 0,74,70,73,70,0],[255,216,255,225,void 0,void 0,69,120,105,102,0,0],[255,216,255,219],[255,216,255,238]],JPEG2000:[[0,0,0,12,106,80,32,32]],GIF87a:[[71,73,70,56,55,97]],GIF89a:[[71,73,70,56,57,97]],WEBP:[[82,73,70,70,void 0,void 0,void 0,void 0,87,69,66,80]],BMP:[[66,77],[66,65],[67,73],[67,80],[73,67],[80,84]]},n=A.__addimage__.getImageFileTypeByImageData=function(A,t){var n,i,s,o,a,c=e;if("RGBA"===(t=t||e)||void 0!==A.data&&A.data instanceof Uint8ClampedArray&&"height"in A&&"width"in A)return"RGBA";if(v(A))for(a in r)for(s=r[a],n=0;n<s.length;n+=1){for(o=!0,i=0;i<s[n].length;i+=1)if(void 0!==s[n][i]&&s[n][i]!==A[i]){o=!1;break}if(!0===o){c=a;break}}else for(a in r)for(s=r[a],n=0;n<s.length;n+=1){for(o=!0,i=0;i<s[n].length;i+=1)if(void 0!==s[n][i]&&s[n][i]!==A.charCodeAt(i)){o=!1;break}if(!0===o){c=a;break}}return c===e&&t!==e&&(c=t),c},i=function A(t){for(var e=this.internal.write,r=this.internal.putStream,n=(0,this.internal.getFilters)();-1!==n.indexOf("FlateEncode");)n.splice(n.indexOf("FlateEncode"),1);t.objectId=this.internal.newObject();var i=[];if(i.push({key:"Type",value:"/XObject"}),i.push({key:"Subtype",value:"/Image"}),i.push({key:"Width",value:t.width}),i.push({key:"Height",value:t.height}),t.colorSpace===w.INDEXED?i.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(t.palette.length/3-1)+" "+("sMask"in t&&void 0!==t.sMask?t.objectId+2:t.objectId+1)+" 0 R]"}):(i.push({key:"ColorSpace",value:"/"+t.colorSpace}),t.colorSpace===w.DEVICE_CMYK&&i.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),i.push({key:"BitsPerComponent",value:t.bitsPerComponent}),"decodeParameters"in t&&void 0!==t.decodeParameters&&i.push({key:"DecodeParms",value:"<<"+t.decodeParameters+">>"}),"transparency"in t&&Array.isArray(t.transparency)&&t.transparency.length>0){for(var s="",o=0,a=t.transparency.length;o<a;o++)s+=t.transparency[o]+" "+t.transparency[o]+" ";i.push({key:"Mask",value:"["+s+"]"})}void 0!==t.sMask&&i.push({key:"SMask",value:t.objectId+1+" 0 R"});var c=void 0!==t.filter?["/"+t.filter]:void 0;if(r({data:t.data,additionalKeyValues:i,alreadyAppliedFilters:c,objectId:t.objectId}),e("endobj"),"sMask"in t&&void 0!==t.sMask){var u,l=null!==(u=t.sMaskBitsPerComponent)&&void 0!==u?u:t.bitsPerComponent,h={width:t.width,height:t.height,colorSpace:"DeviceGray",bitsPerComponent:l,data:t.sMask};"filter"in t&&(h.decodeParameters="/Predictor ".concat(t.predictor," /Colors 1 /BitsPerComponent ").concat(l," /Columns ").concat(t.width),h.filter=t.filter),A.call(this,h)}if(t.colorSpace===w.INDEXED){var f=this.internal.newObject();r({data:F(new Uint8Array(t.palette)),objectId:f}),e("endobj")}},s=function(){var A=this.internal.collections[t+"images"];for(var e in A)i.call(this,A[e])},a=function(){var A,e=this.internal.collections[t+"images"],r=this.internal.write;for(var n in e)r("/I"+(A=e[n]).index,A.objectId,"0","R")},c=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",s),this.internal.events.subscribe("putXobjectDict",a))},u=function(){var A=this.internal.collections[t+"images"];return c.call(this),A},l=function(){return Object.keys(this.internal.collections[t+"images"]).length},h=function(t){return"function"==typeof A["process"+t.toUpperCase()]},f=function(A){return"object"===o(A)&&1===A.nodeType},d=function(t,e){if("IMG"===t.nodeName&&t.hasAttribute("src")){var r=""+t.getAttribute("src");if(0===r.indexOf("data:image/"))return he(unescape(r).split("base64,").pop());var n=A.loadFile(r,!0);if(void 0!==n)return n}if("CANVAS"===t.nodeName){if(0===t.width||0===t.height)throw new Error("Given canvas must have data. Canvas width: "+t.width+", height: "+t.height);var i;switch(e){case"PNG":i="image/png";break;case"WEBP":i="image/webp";break;default:i="image/jpeg"}return he(t.toDataURL(i,1).split("base64,").pop())}},g=function(A){var e=this.internal.collections[t+"images"];if(e)for(var r in e)if(A===e[r].alias)return e[r]},B=function(A,t,e){return A||t||(A=-96,t=-96),A<0&&(A=-1*e.width*72/A/this.internal.scaleFactor),t<0&&(t=-1*e.height*72/t/this.internal.scaleFactor),0===A&&(A=t*e.width/e.height),0===t&&(t=A*e.height/e.width),[A,t]},p=function(A,t,e,r,n,i){var s=B.call(this,e,r,n),o=this.internal.getCoordinateString,a=this.internal.getVerticalCoordinateString,c=u.call(this);if(e=s[0],r=s[1],c[n.index]=n,i){i*=Math.PI/180;var l=Math.cos(i),h=Math.sin(i),f=function(A){return A.toFixed(4)},d=[f(l),f(h),f(-1*h),f(l),0,0,"cm"]}this.internal.write("q"),i?(this.internal.write([1,"0","0",1,o(A),a(t+r),"cm"].join(" ")),this.internal.write(d.join(" ")),this.internal.write([o(e),"0","0",o(r),"0","0","cm"].join(" "))):this.internal.write([o(e),"0","0",o(r),o(A),a(t+r),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+n.index+" Do"),this.internal.write("Q")},w=A.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"};A.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 m=A.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},C=A.__addimage__.sHashCode=function(A){var t,e,r=0;if("string"==typeof A)for(e=A.length,t=0;t<e;t++)r=(r<<5)-r+A.charCodeAt(t),r|=0;else if(v(A))for(e=A.byteLength/2,t=0;t<e;t++)r=(r<<5)-r+A[t],r|=0;return r},y=A.__addimage__.validateStringAsBase64=function(A){(A=A||"").toString().trim();var t=!0;return 0===A.length&&(t=!1),A.length%4!=0&&(t=!1),!1===/^[A-Za-z0-9+/]+$/.test(A.substr(0,A.length-2))&&(t=!1),!1===/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(A.substr(-2))&&(t=!1),t},Q=A.__addimage__.extractImageFromDataUrl=function(A){if(null==A)return null;if(!(A=A.trim()).startsWith("data:"))return null;var t=A.indexOf(",");return t<0?null:A.substring(0,t).trim().endsWith("base64")?A.substring(t+1):null};A.__addimage__.isArrayBuffer=function(A){return A instanceof ArrayBuffer};var v=A.__addimage__.isArrayBufferView=function(A){return A instanceof Int8Array||A instanceof Uint8Array||A instanceof Uint8ClampedArray||A instanceof Int16Array||A instanceof Uint16Array||A instanceof Int32Array||A instanceof Uint32Array||A instanceof Float32Array||A instanceof Float64Array},b=A.__addimage__.binaryStringToUint8Array=function(A){for(var t=A.length,e=new Uint8Array(t),r=0;r<t;r++)e[r]=A.charCodeAt(r);return e},F=A.__addimage__.arrayBufferToBinaryString=function(A){for(var t="",e=v(A)?A:new Uint8Array(A),r=0;r<e.length;r+=8192)t+=String.fromCharCode.apply(null,e.subarray(r,r+8192));return t};A.addImage=function(){var A,t,r,n,i,s,a,u,l;if("number"==typeof arguments[1]?(t=e,r=arguments[1],n=arguments[2],i=arguments[3],s=arguments[4],a=arguments[5],u=arguments[6],l=arguments[7]):(t=arguments[1],r=arguments[2],n=arguments[3],i=arguments[4],s=arguments[5],a=arguments[6],u=arguments[7],l=arguments[8]),"object"===o(A=arguments[0])&&!f(A)&&"imageData"in A){var h=A;A=h.imageData,t=h.format||t||e,r=h.x||r||0,n=h.y||n||0,i=h.w||h.width||i,s=h.h||h.height||s,a=h.alias||a,u=h.compression||u,l=h.rotation||h.angle||l}var d=this.internal.getFilters();if(void 0===u&&-1!==d.indexOf("FlateEncode")&&(u="SLOW"),isNaN(r)||isNaN(n))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var g=U.call(this,A,t,a,u);return p.call(this,r,n,i,s,g,l),this};var U=function(t,r,i,s){var o,a,c;if("string"==typeof t&&n(t)===e){t=unescape(t);var u=L(t,!1);(""!==u||void 0!==(u=A.loadFile(t,!0)))&&(t=u)}if(f(t)&&(t=d(t,r)),r=n(t,r),!h(r))throw new Error("addImage does not support files of type '"+r+"', please ensure that a plugin for '"+r+"' support is added.");if((null==(c=i)||0===c.length)&&(i=function(A){return"string"==typeof A||v(A)?C(A):v(A.data)?C(A.data):null}(t)),(o=g.call(this,i))||(t instanceof Uint8Array||"RGBA"===r||(a=t,t=b(t)),o=this["process"+r.toUpperCase()](t,l.call(this),i,function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in A.image_compression?t:m.NONE}(s),a)),!o)throw new Error("An unknown error occurred whilst processing the image.");return o},L=A.__addimage__.convertBase64ToBinaryString=function(A,t){t="boolean"!=typeof t||t;var e,r="";if("string"==typeof A){var n;e=null!==(n=Q(A))&&void 0!==n?n:A;try{r=he(e)}catch(A){if(t)throw y(e)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+A.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return r};A.getImageProperties=function(t){var r,i,s="";if(f(t)&&(t=d(t)),"string"==typeof t&&n(t)===e&&(""===(s=L(t,!1))&&(s=A.loadFile(t)||""),t=s),i=n(t),!h(i))throw new Error("addImage does not support files of type '"+i+"', please ensure that a plugin for '"+i+"' support is added.");if(t instanceof Uint8Array||(t=b(t)),!(r=this["process"+i.toUpperCase()](t)))throw new Error("An unknown error occurred whilst processing the image");return r.fileType=i,r}}(De.API),
86
+ /**
87
+ * @license
88
+ * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
89
+ *
90
+ * Licensed under the MIT License.
91
+ * http://opensource.org/licenses/mit-license
92
+ */
93
+ vr=De.API,br=function(A){if(void 0!==A&&""!=A)return!0},De.API.events.push(["addPage",function(A){this.internal.getPageInfo(A.pageNumber).pageContext.annotations=[]}]),vr.events.push(["putPage",function(A){for(var t,e,r,n=this.internal.getCoordinateString,i=this.internal.getVerticalCoordinateString,s=this.internal.getPageInfoByObjId(A.objId),o=A.pageContext.annotations,a=!1,c=0;c<o.length&&!a;c++)switch((t=o[c]).type){case"link":(br(t.options.url)||br(t.options.pageNumber))&&(a=!0);break;case"reference":case"text":case"freetext":a=!0}if(0!=a){this.internal.write("/Annots [");for(var u=0;u<o.length;u++){t=o[u];var l=this.internal.pdfEscape,h=this.internal.getEncryptor(A.objId);switch(t.type){case"reference":this.internal.write(" "+t.object.objId+" 0 R ");break;case"text":var f=this.internal.newAdditionalObject(),d=this.internal.newAdditionalObject(),g=this.internal.getEncryptor(f.objId),B=t.title||"Note";r="<</Type /Annot /Subtype /Text "+(e="/Rect ["+n(t.bounds.x)+" "+i(t.bounds.y+t.bounds.h)+" "+n(t.bounds.x+t.bounds.w)+" "+i(t.bounds.y)+"] ")+"/Contents ("+l(g(t.contents))+")",r+=" /Popup "+d.objId+" 0 R",r+=" /P "+s.objId+" 0 R",r+=" /T ("+l(g(B))+") >>",f.content=r;var p=f.objId+" 0 R";r="<</Type /Annot /Subtype /Popup "+(e="/Rect ["+n(t.bounds.x+30)+" "+i(t.bounds.y+t.bounds.h)+" "+n(t.bounds.x+t.bounds.w+30)+" "+i(t.bounds.y)+"] ")+" /Parent "+p,t.open&&(r+=" /Open true"),r+=" >>",d.content=r,this.internal.write(f.objId,"0 R",d.objId,"0 R");break;case"freetext":e="/Rect ["+n(t.bounds.x)+" "+i(t.bounds.y)+" "+n(t.bounds.x+t.bounds.w)+" "+i(t.bounds.y+t.bounds.h)+"] ";var w=t.color||"#000000";r="<</Type /Annot /Subtype /FreeText "+e+"/Contents ("+l(h(t.contents))+")",r+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+w+")",r+=" /Border [0 0 0]",r+=" >>",this.internal.write(r);break;case"link":if(t.options.name){var m=this.annotations._nameMap[t.options.name];t.options.pageNumber=m.page,t.options.top=m.y}else t.options.top||(t.options.top=0);if(e="/Rect ["+t.finalBounds.x+" "+t.finalBounds.y+" "+t.finalBounds.w+" "+t.finalBounds.h+"] ",r="",t.options.url)r="<</Type /Annot /Subtype /Link "+e+"/Border [0 0 0] /A <</S /URI /URI ("+l(h(t.options.url))+") >>";else if(t.options.pageNumber)switch(r="<</Type /Annot /Subtype /Link "+e+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(t.options.pageNumber).objId+" 0 R",t.options.magFactor=t.options.magFactor||"XYZ",t.options.magFactor){case"Fit":r+=" /Fit]";break;case"FitH":r+=" /FitH "+t.options.top+"]";break;case"FitV":t.options.left=t.options.left||0,r+=" /FitV "+t.options.left+"]";break;default:var C=i(t.options.top);t.options.left=t.options.left||0,void 0===t.options.zoom&&(t.options.zoom=0),r+=" /XYZ "+t.options.left+" "+C+" "+t.options.zoom+"]"}""!=r&&(r+=" >>",this.internal.write(r))}}this.internal.write("]")}}]),vr.createAnnotation=function(A){var t=this.internal.getCurrentPageInfo();switch(A.type){case"link":this.link(A.bounds.x,A.bounds.y,A.bounds.w,A.bounds.h,A);break;case"text":case"freetext":t.pageContext.annotations.push(A)}},vr.link=function(A,t,e,r,n){var i=this.internal.getCurrentPageInfo(),s=this.internal.getCoordinateString,o=this.internal.getVerticalCoordinateString;i.pageContext.annotations.push({finalBounds:{x:s(A),y:o(t),w:s(A+e),h:o(t+r)},options:n,type:"link"})},vr.textWithLink=function(A,t,e,r){var n,i,s=this.getTextWidth(A),o=this.internal.getLineHeight()/this.internal.scaleFactor;if(void 0!==r.maxWidth){i=r.maxWidth;var a=this.splitTextToSize(A,i).length;n=Math.ceil(o*a)}else i=s,n=o;return this.text(A,t,e,r),e+=.2*o,"center"===r.align&&(t-=s/2),"right"===r.align&&(t-=s),this.link(t,e-o,i,n,r),s},vr.getTextWidth=function(A){var t=this.internal.getFontSize();return this.getStringUnitWidth(A)*t/this.internal.scaleFactor},
94
+ /**
95
+ * @license
96
+ * Copyright (c) 2017 Aras Abbasi
97
+ *
98
+ * Licensed under the MIT License.
99
+ * http://opensource.org/licenses/mit-license
100
+ */
101
+ function(A){var t={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]},e={65247:{65154:65269,65156:65271,65160:65273,65166:65275},65248:{65154:65270,65156:65272,65160:65274,65166:65276},65165:{65247:{65248:{65258:65010}}},1617:{1612:64606,1613:64607,1614:64608,1615:64609,1616:64610}},r={1612:64606,1613:64607,1614:64608,1615:64609,1616:64610},n=[1570,1571,1573,1575];A.__arabicParser__={};var i=A.__arabicParser__.isInArabicSubstitutionA=function(A){return void 0!==t[A.charCodeAt(0)]},s=A.__arabicParser__.isArabicLetter=function(A){return"string"==typeof A&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(A)},o=A.__arabicParser__.isArabicEndLetter=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length<=2},a=A.__arabicParser__.isArabicAlfLetter=function(A){return s(A)&&n.indexOf(A.charCodeAt(0))>=0};A.__arabicParser__.arabicLetterHasIsolatedForm=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length>=1};var c=A.__arabicParser__.arabicLetterHasFinalForm=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length>=2};A.__arabicParser__.arabicLetterHasInitialForm=function(A){return s(A)&&i(A)&&t[A.charCodeAt(0)].length>=3};var u=A.__arabicParser__.arabicLetterHasMedialForm=function(A){return s(A)&&i(A)&&4==t[A.charCodeAt(0)].length},l=A.__arabicParser__.resolveLigatures=function(A){var t=0,r=e,n="",i=0;for(t=0;t<A.length;t+=1)void 0!==r[A.charCodeAt(t)]?(i++,"number"==typeof(r=r[A.charCodeAt(t)])&&(n+=String.fromCharCode(r),r=e,i=0),t===A.length-1&&(r=e,n+=A.charAt(t-(i-1)),t-=i-1,i=0)):(r=e,n+=A.charAt(t-i),t-=i,i=0);return n};A.__arabicParser__.isArabicDiacritic=function(A){return void 0!==A&&void 0!==r[A.charCodeAt(0)]};var h=A.__arabicParser__.getCorrectForm=function(A,t,e){return s(A)?!1===i(A)?-1:!c(A)||!s(t)&&!s(e)||!s(e)&&o(t)||o(A)&&!s(t)||o(A)&&a(t)||o(A)&&o(t)?0:u(A)&&s(t)&&!o(t)&&s(e)&&c(e)?3:o(A)||!s(e)?1:2:-1},f=function(A){var e=0,r=0,n=0,i="",o="",a="",c=(A=A||"").split("\\s+"),u=[];for(e=0;e<c.length;e+=1){for(u.push(""),r=0;r<c[e].length;r+=1)i=c[e][r],o=c[e][r-1],a=c[e][r+1],s(i)?(n=h(i,o,a),u[e]+=-1!==n?String.fromCharCode(t[i.charCodeAt(0)][n]):i):u[e]+=i;u[e]=l(u[e])}return u.join(" ")},d=A.__arabicParser__.processArabic=A.processArabic=function(){var A,t="string"==typeof arguments[0]?arguments[0]:arguments[0].text,e=[];if(Array.isArray(t)){var r=0;for(e=[],r=0;r<t.length;r+=1)Array.isArray(t[r])?e.push([f(t[r][0]),t[r][1],t[r][2]]):e.push([f(t[r])]);A=e}else A=f(t);return"string"==typeof arguments[0]?A:(arguments[0].text=A,arguments[0])};A.events.push(["preProcessText",d])}(De.API),De.API.autoPrint=function(A){var t;return(A=A||{}).variant=A.variant||"non-conform","javascript"===A.variant?this.addJS("print({});"):(this.internal.events.subscribe("postPutResources",(function(){t=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 "+t+" 0 R")}))),this
102
+ /**
103
+ * @license
104
+ * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
105
+ *
106
+ * Licensed under the MIT License.
107
+ * http://opensource.org/licenses/mit-license
108
+ */},function(A){var t=function(){var A=void 0;Object.defineProperty(this,"pdf",{get:function(){return A},set:function(t){A=t}});var t=150;Object.defineProperty(this,"width",{get:function(){return t},set:function(A){t=isNaN(A)||!1===Number.isInteger(A)||A<0?150:A,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=t+1)}});var e=300;Object.defineProperty(this,"height",{get:function(){return e},set:function(A){e=isNaN(A)||!1===Number.isInteger(A)||A<0?300:A,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=e+1)}});var r=[];Object.defineProperty(this,"childNodes",{get:function(){return r},set:function(A){r=A}});var n={};Object.defineProperty(this,"style",{get:function(){return n},set:function(A){n=A}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(A,t){var e;if("2d"!==(A=A||"2d"))return null;for(e in t)this.pdf.context2d.hasOwnProperty(e)&&(this.pdf.context2d[e]=t[e]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},A.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])}(De.API),function(A){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){void 0===this.internal.__cell__&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),n.call(this))},n=function(){this.internal.__cell__.lastCell=new i,this.internal.__cell__.pages=1},i=function(){var A=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return A},set:function(t){A=t}});var t=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return t},set:function(A){t=A}});var e=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return e},set:function(A){e=A}});var r=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return r},set:function(A){r=A}});var n=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return n},set:function(A){n=A}});var i=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return i},set:function(A){i=A}});var s=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return s},set:function(A){s=A}}),this};i.prototype.clone=function(){return new i(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},i.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},A.setHeaderFunction=function(A){return r.call(this),this.internal.__cell__.headerFunction="function"==typeof A?A:void 0,this},A.getTextDimensions=function(A,t){r.call(this);var e=(t=t||{}).fontSize||this.getFontSize(),n=t.font||this.getFont(),i=t.scaleFactor||this.internal.scaleFactor,s=0,o=0,a=0,c=this;if(!Array.isArray(A)&&"string"!=typeof A){if("number"!=typeof A)throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");A=String(A)}var u=t.maxWidth;u>0?"string"==typeof A?A=this.splitTextToSize(A,u):"[object Array]"===Object.prototype.toString.call(A)&&(A=A.reduce((function(A,t){return A.concat(c.splitTextToSize(t,u))}),[])):A=Array.isArray(A)?A:[A];for(var l=0;l<A.length;l++)s<(a=this.getStringUnitWidth(A[l],{font:n})*e)&&(s=a);return 0!==s&&(o=A.length),{w:s/=i,h:Math.max((o*e*this.getLineHeightFactor()-e*(this.getLineHeightFactor()-1))/i,0)}},A.cellAddPage=function(){r.call(this),this.addPage();var A=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new i(A.left,A.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var s=A.cell=function(){var A;A=arguments[0]instanceof i?arguments[0]:new i(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5]),r.call(this);var n=this.internal.__cell__.lastCell,s=this.internal.__cell__.padding,o=this.internal.__cell__.margins||t,a=this.internal.__cell__.tableHeaderRow,c=this.internal.__cell__.printHeaders;return void 0!==n.lineNumber&&(n.lineNumber===A.lineNumber?(A.x=(n.x||0)+(n.width||0),A.y=n.y||0):n.y+n.height+A.height+o.bottom>this.getPageHeight()?(this.cellAddPage(),A.y=o.top,c&&a&&(this.printHeaderRow(A.lineNumber,!0),A.y+=a[0].height)):A.y=n.y+n.height||A.y),void 0!==A.text[0]&&(this.rect(A.x,A.y,A.width,A.height,!0===e?"FD":void 0),"right"===A.align?this.text(A.text,A.x+A.width-s,A.y+s,{align:"right",baseline:"top"}):"center"===A.align?this.text(A.text,A.x+A.width/2,A.y+s,{align:"center",baseline:"top",maxWidth:A.width-s-s}):this.text(A.text,A.x+s,A.y+s,{align:"left",baseline:"top",maxWidth:A.width-s-s})),this.internal.__cell__.lastCell=A,this};A.table=function(A,e,c,u,l){if(r.call(this),!c)throw new Error("No data for PDF table.");var h,f,d,g,B=[],p=[],w=[],m={},C={},y=[],Q=[],v=(l=l||{}).autoSize||!1,b=!1!==l.printHeaders,F=l.css&&void 0!==l.css["font-size"]?16*l.css["font-size"]:l.fontSize||12,U=l.margins||Object.assign({width:this.getPageWidth()},t),L="number"==typeof l.padding?l.padding:3,E=l.headerBackgroundColor||"#c8c8c8",I=l.headerTextColor||"#000";if(n.call(this),this.internal.__cell__.printHeaders=b,this.internal.__cell__.margins=U,this.internal.__cell__.table_font_size=F,this.internal.__cell__.padding=L,this.internal.__cell__.headerBackgroundColor=E,this.internal.__cell__.headerTextColor=I,this.setFontSize(F),null==u)p=B=Object.keys(c[0]),w=B.map((function(){return"left"}));else if(Array.isArray(u)&&"object"===o(u[0]))for(B=u.map((function(A){return A.name})),p=u.map((function(A){return A.prompt||A.name||""})),w=u.map((function(A){return A.align||"left"})),h=0;h<u.length;h+=1)C[u[h].name]=.7499990551181103*u[h].width;else Array.isArray(u)&&"string"==typeof u[0]&&(p=B=u,w=B.map((function(){return"left"})));if(v||Array.isArray(u)&&"string"==typeof u[0])for(h=0;h<B.length;h+=1){for(m[g=B[h]]=c.map((function(A){return A[g]})),this.setFont(void 0,"bold"),y.push(this.getTextDimensions(p[h],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),f=m[g],this.setFont(void 0,"normal"),d=0;d<f.length;d+=1)y.push(this.getTextDimensions(f[d],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);C[g]=Math.max.apply(null,y)+L+L,y=[]}if(b){var x={};for(h=0;h<B.length;h+=1)x[B[h]]={},x[B[h]].text=p[h],x[B[h]].align=w[h];var H=a.call(this,x,C);Q=B.map((function(t){return new i(A,e,C[t],H,x[t].text,void 0,x[t].align)})),this.setTableHeaderRow(Q),this.printHeaderRow(1,!1)}var N=u.reduce((function(A,t){return A[t.name]=t.align,A}),{});for(h=0;h<c.length;h+=1){"rowStart"in l&&l.rowStart instanceof Function&&l.rowStart({row:h,data:c[h]},this);var S=a.call(this,c[h],C);for(d=0;d<B.length;d+=1){var _=c[h][B[d]];"cellStart"in l&&l.cellStart instanceof Function&&l.cellStart({row:h,col:d,data:_},this),s.call(this,new i(A,e,C[B[d]],S,_,h+2,N[B[d]]))}}return this.internal.__cell__.table_x=A,this.internal.__cell__.table_y=e,this};var a=function(A,t){var e=this.internal.__cell__.padding,r=this.internal.__cell__.table_font_size,n=this.internal.scaleFactor;return Object.keys(A).map((function(r){var n=A[r];return this.splitTextToSize(n.hasOwnProperty("text")?n.text:n,t[r]-e-e)}),this).map((function(A){return this.getLineHeightFactor()*A.length*r/n+e+e}),this).reduce((function(A,t){return Math.max(A,t)}),0)};A.setTableHeaderRow=function(A){r.call(this),this.internal.__cell__.tableHeaderRow=A},A.printHeaderRow=function(A,t){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var n;if(e=!0,"function"==typeof this.internal.__cell__.headerFunction){var o=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new i(o[0],o[1],o[2],o[3],void 0,-1)}this.setFont(void 0,"bold");for(var a=[],c=0;c<this.internal.__cell__.tableHeaderRow.length;c+=1){n=this.internal.__cell__.tableHeaderRow[c].clone(),t&&(n.y=this.internal.__cell__.margins.top||0,a.push(n)),n.lineNumber=A;var u=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),s.call(this,n),this.setTextColor(u)}a.length>0&&this.setTableHeaderRow(a),this.setFont(void 0,"normal"),e=!1}}(De.API);var Lr={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Er=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],Ir=Ur(Er),xr=[100,200,300,400,500,600,700,800,900],Hr=Ur(xr);function Nr(A){var t=A.family.replace(/"|'/g,"").toLowerCase(),e=function(A){return Lr[A=A||"normal"]?A:"normal"}(A.style),r=function(A){return A?"number"==typeof A?A>=100&&A<=900&&A%100==0?A:400:/^\d00$/.test(A)?parseInt(A):"bold"===A?700:400:400}(A.weight),n=function(A){return"number"==typeof Ir[A=A||"normal"]?A:"normal"}(A.stretch);return{family:t,style:e,weight:r,stretch:n,src:A.src||[],ref:A.ref||{name:t,style:[n,e,r].join(" ")}}}function Sr(A,t,e,r){var n;for(n=e;n>=0&&n<t.length;n+=r)if(A[t[n]])return A[t[n]];for(n=e;n>=0&&n<t.length;n-=r)if(A[t[n]])return A[t[n]]}var _r={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},kr={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function Pr(A){return[A.stretch,A.style,A.weight,A.family].join(" ")}function Dr(A){return A.trimLeft()}function Mr(A,t){for(var e=0;e<A.length;){if(A.charAt(e)===t)return[A.substring(0,e),A.substring(e+1)];e+=1}return null}function Or(A){var t=A.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return null===t?null:[t[0],A.substring(t[0].length)]}var Tr,Kr,Rr,jr,Gr,Vr,qr,Wr,Xr=["times"];function Jr(A,t,e,r,n){var i=4,s=Zr;switch(n){case De.API.image_compression.FAST:i=1,s=Yr;break;case De.API.image_compression.MEDIUM:i=6,s=$r;break;case De.API.image_compression.SLOW:i=9,s=An}A=function(A,t,e,r){for(var n,i=A.length/t,s=new Uint8Array(A.length+i),o=[zr,Yr,Zr,$r,An],a=0;a<i;a+=1){var c=a*t,u=A.subarray(c,c+t);if(r)s.set(r(u,e,n),c+a);else{for(var l=o.length,h=[],f=0;f<l;f+=1)h[f]=o[f](u,e,n);var d=en(h.concat());s.set(h[d],c+a)}n=u}return s}(A,t,Math.ceil(e*r/8),s);var o=K(A,{level:i});return De.API.__addimage__.arrayBufferToBinaryString(o)}function zr(A){var t=Array.apply([],A);return t.unshift(0),t}function Yr(A,t){var e=A.length,r=[];r[0]=1;for(var n=0;n<e;n+=1){var i=A[n-t]||0;r[n+1]=A[n]-i+256&255}return r}function Zr(A,t,e){var r=A.length,n=[];n[0]=2;for(var i=0;i<r;i+=1){var s=e&&e[i]||0;n[i+1]=A[i]-s+256&255}return n}function $r(A,t,e){var r=A.length,n=[];n[0]=3;for(var i=0;i<r;i+=1){var s=A[i-t]||0,o=e&&e[i]||0;n[i+1]=A[i]+256-(s+o>>>1)&255}return n}function An(A,t,e){var r=A.length,n=[];n[0]=4;for(var i=0;i<r;i+=1){var s=tn(A[i-t]||0,e&&e[i]||0,e&&e[i-t]||0);n[i+1]=A[i]-s+256&255}return n}function tn(A,t,e){if(A===t&&t===e)return A;var r=Math.abs(t-e),n=Math.abs(A-e),i=Math.abs(A+t-e-e);return r<=n&&r<=i?A:n<=i?t:e}function en(A){var t=A.map((function(A){return A.reduce((function(A,t){return A+Math.abs(t)}),0)}));return t.indexOf(Math.min.apply(null,t))}function rn(A,t,e){var r=t*e,n=Math.floor(r/8),i=16-(r-8*n+e),s=(1<<e)-1;return sn(A,n)>>i&s}function nn(A,t,e,r){var n=e*r,i=Math.floor(n/8),s=16-(n-8*i+r),o=(1<<r)-1,a=(t&o)<<s;!function(A,t,e){if(t+1<A.byteLength)A.setUint16(t,e,!1);else{var r=e>>8&255;A.setUint8(t,r)}}
109
+ /**
110
+ * @license
111
+ * (c) Dean McNamee <dean@gmail.com>, 2013.
112
+ *
113
+ * https://github.com/deanm/omggif
114
+ *
115
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
116
+ * of this software and associated documentation files (the "Software"), to
117
+ * deal in the Software without restriction, including without limitation the
118
+ * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
119
+ * sell copies of the Software, and to permit persons to whom the Software is
120
+ * furnished to do so, subject to the following conditions:
121
+ *
122
+ * The above copyright notice and this permission notice shall be included in
123
+ * all copies or substantial portions of the Software.
124
+ *
125
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
126
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
127
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
128
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
129
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
130
+ * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
131
+ * IN THE SOFTWARE.
132
+ *
133
+ * omggif is a JavaScript implementation of a GIF 89a encoder and decoder,
134
+ * including animation and compression. It does not rely on any specific
135
+ * underlying system, so should run in the browser, Node, or Plask.
136
+ */(A,i,sn(A,i)&~(o<<s)&65535|a)}function sn(A,t){return t+1<A.byteLength?A.getUint16(t,!1):A.getUint8(t)<<8}function on(A){var t=0;if(71!==A[t++]||73!==A[t++]||70!==A[t++]||56!==A[t++]||56!=(A[t++]+1&253)||97!==A[t++])throw new Error("Invalid GIF 87a/89a header.");var e=A[t++]|A[t++]<<8,r=A[t++]|A[t++]<<8,n=A[t++],i=n>>7,s=1<<1+(7&n);A[t++],A[t++];var o=null,a=null;i&&(o=t,a=s,t+=3*s);var c=!0,u=[],l=0,h=null,f=0,d=null;for(this.width=e,this.height=r;c&&t<A.length;)switch(A[t++]){case 33:switch(A[t++]){case 255:if(11!==A[t]||78==A[t+1]&&69==A[t+2]&&84==A[t+3]&&83==A[t+4]&&67==A[t+5]&&65==A[t+6]&&80==A[t+7]&&69==A[t+8]&&50==A[t+9]&&46==A[t+10]&&48==A[t+11]&&3==A[t+12]&&1==A[t+13]&&0==A[t+16])t+=14,d=A[t++]|A[t++]<<8,t++;else for(t+=12;;){if(!((L=A[t++])>=0))throw Error("Invalid block size");if(0===L)break;t+=L}break;case 249:if(4!==A[t++]||0!==A[t+4])throw new Error("Invalid graphics extension block.");var g=A[t++];l=A[t++]|A[t++]<<8,h=A[t++],1&g||(h=null),f=g>>2&7,t++;break;case 254:for(;;){if(!((L=A[t++])>=0))throw Error("Invalid block size");if(0===L)break;t+=L}break;default:throw new Error("Unknown graphic control label: 0x"+A[t-1].toString(16))}break;case 44:var B=A[t++]|A[t++]<<8,p=A[t++]|A[t++]<<8,w=A[t++]|A[t++]<<8,m=A[t++]|A[t++]<<8,C=A[t++],y=C>>6&1,Q=1<<1+(7&C),v=o,b=a,F=!1;C>>7&&(F=!0,v=t,b=Q,t+=3*Q);var U=t;for(t++;;){var L;if(!((L=A[t++])>=0))throw Error("Invalid block size");if(0===L)break;t+=L}u.push({x:B,y:p,width:w,height:m,has_local_palette:F,palette_offset:v,palette_size:b,data_offset:U,data_length:t-U,transparent_index:h,interlaced:!!y,delay:l,disposal:f});break;case 59:c=!1;break;default:throw new Error("Unknown gif block: 0x"+A[t-1].toString(16))}this.numFrames=function(){return u.length},this.loopCount=function(){return d},this.frameInfo=function(A){if(A<0||A>=u.length)throw new Error("Frame index out of range.");return u[A]},this.decodeAndBlitFrameBGRA=function(t,r){var n=this.frameInfo(t),i=n.width*n.height,s=new Uint8Array(i);an(A,n.data_offset,s,i);var o=n.palette_offset,a=n.transparent_index;null===a&&(a=256);var c=n.width,u=e-c,l=c,h=4*(n.y*e+n.x),f=4*((n.y+n.height)*e+n.x),d=h,g=4*u;!0===n.interlaced&&(g+=4*e*7);for(var B=8,p=0,w=s.length;p<w;++p){var m=s[p];if(0===l&&(l=c,(d+=g)>=f&&(g=4*u+4*e*(B-1),d=h+(c+u)*(B<<1),B>>=1)),m===a)d+=4;else{var C=A[o+3*m],y=A[o+3*m+1],Q=A[o+3*m+2];r[d++]=Q,r[d++]=y,r[d++]=C,r[d++]=255}--l}},this.decodeAndBlitFrameRGBA=function(t,r){var n=this.frameInfo(t),i=n.width*n.height,s=new Uint8Array(i);an(A,n.data_offset,s,i);var o=n.palette_offset,a=n.transparent_index;null===a&&(a=256);var c=n.width,u=e-c,l=c,h=4*(n.y*e+n.x),f=4*((n.y+n.height)*e+n.x),d=h,g=4*u;!0===n.interlaced&&(g+=4*e*7);for(var B=8,p=0,w=s.length;p<w;++p){var m=s[p];if(0===l&&(l=c,(d+=g)>=f&&(g=4*u+4*e*(B-1),d=h+(c+u)*(B<<1),B>>=1)),m===a)d+=4;else{var C=A[o+3*m],y=A[o+3*m+1],Q=A[o+3*m+2];r[d++]=C,r[d++]=y,r[d++]=Q,r[d++]=255}--l}}}function an(A,t,e,r){for(var n=A[t++],i=1<<n,s=i+1,o=s+1,a=n+1,c=(1<<a)-1,u=0,l=0,h=0,f=A[t++],d=new Int32Array(4096),g=null;;){for(;u<16&&0!==f;)l|=A[t++]<<u,u+=8,1===f?f=A[t++]:--f;if(u<a)break;var B=l&c;if(l>>=a,u-=a,B!==i){if(B===s)break;for(var p=B<o?B:g,w=0,m=p;m>i;)m=d[m]>>8,++w;var C=m;if(h+w+(p!==B?1:0)>r)return void se.log("Warning, gif stream longer than expected.");e[h++]=C;var y=h+=w;for(p!==B&&(e[h++]=C),m=p;w--;)m=d[m],e[--y]=255&m,m>>=8;null!==g&&o<4096&&(d[o++]=g<<8|C,o>=c+1&&a<12&&(++a,c=c<<1|1)),g=B}else o=s+1,c=(1<<(a=n+1))-1,g=null}return h!==r&&se.log("Warning, gif stream shorter than expected."),e}
137
+ /**
138
+ * @license
139
+ Copyright (c) 2008, Adobe Systems Incorporated
140
+ All rights reserved.
141
+
142
+ Redistribution and use in source and binary forms, with or without
143
+ modification, are permitted provided that the following conditions are
144
+ met:
145
+
146
+ * Redistributions of source code must retain the above copyright notice,
147
+ this list of conditions and the following disclaimer.
148
+
149
+ * Redistributions in binary form must reproduce the above copyright
150
+ notice, this list of conditions and the following disclaimer in the
151
+ documentation and/or other materials provided with the distribution.
152
+
153
+ * Neither the name of Adobe Systems Incorporated nor the names of its
154
+ contributors may be used to endorse or promote products derived from
155
+ this software without specific prior written permission.
156
+
157
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
158
+ IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
159
+ THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
160
+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
161
+ CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
162
+ EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
163
+ PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
164
+ PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
165
+ LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
166
+ NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
167
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
168
+ */function cn(A){var t,e,r,n,i,s=Math.floor,o=new Array(64),a=new Array(64),c=new Array(64),u=new Array(64),l=new Array(65535),h=new Array(65535),f=new Array(64),d=new Array(64),g=[],B=0,p=7,w=new Array(64),m=new Array(64),C=new Array(64),y=new Array(256),Q=new Array(2048),v=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],b=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],F=[0,1,2,3,4,5,6,7,8,9,10,11],U=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],L=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],E=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],I=[0,1,2,3,4,5,6,7,8,9,10,11],x=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],H=[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 N(A,t){for(var e=0,r=0,n=new Array,i=1;i<=16;i++){for(var s=1;s<=A[i];s++)n[t[r]]=[],n[t[r]][0]=e,n[t[r]][1]=i,r++,e++;e*=2}return n}function S(A){for(var t=A[0],e=A[1]-1;e>=0;)t&1<<e&&(B|=1<<p),e--,--p<0&&(255==B?(_(255),_(0)):_(B),p=7,B=0)}function _(A){g.push(A)}function k(A){_(A>>8&255),_(255&A)}function P(A,t,e,r,n){for(var i,s=n[0],o=n[240],a=function(A,t){var e,r,n,i,s,o,a,c,u,l,h=0;for(u=0;u<8;++u){e=A[h],r=A[h+1],n=A[h+2],i=A[h+3],s=A[h+4],o=A[h+5],a=A[h+6];var d=e+(c=A[h+7]),g=e-c,B=r+a,p=r-a,w=n+o,m=n-o,C=i+s,y=i-s,Q=d+C,v=d-C,b=B+w,F=B-w;A[h]=Q+b,A[h+4]=Q-b;var U=.707106781*(F+v);A[h+2]=v+U,A[h+6]=v-U;var L=.382683433*((Q=y+m)-(F=p+g)),E=.5411961*Q+L,I=1.306562965*F+L,x=.707106781*(b=m+p),H=g+x,N=g-x;A[h+5]=N+E,A[h+3]=N-E,A[h+1]=H+I,A[h+7]=H-I,h+=8}for(h=0,u=0;u<8;++u){e=A[h],r=A[h+8],n=A[h+16],i=A[h+24],s=A[h+32],o=A[h+40],a=A[h+48];var S=e+(c=A[h+56]),_=e-c,k=r+a,P=r-a,D=n+o,M=n-o,O=i+s,T=i-s,K=S+O,R=S-O,j=k+D,G=k-D;A[h]=K+j,A[h+32]=K-j;var V=.707106781*(G+R);A[h+16]=R+V,A[h+48]=R-V;var q=.382683433*((K=T+M)-(G=P+_)),W=.5411961*K+q,X=1.306562965*G+q,J=.707106781*(j=M+P),z=_+J,Y=_-J;A[h+40]=Y+W,A[h+24]=Y-W,A[h+8]=z+X,A[h+56]=z-X,h++}for(u=0;u<64;++u)l=A[u]*t[u],f[u]=l>0?l+.5|0:l-.5|0;return f}(A,t),c=0;c<64;++c)d[v[c]]=a[c];var u=d[0]-e;e=d[0],0==u?S(r[0]):(S(r[h[i=32767+u]]),S(l[i]));for(var g=63;g>0&&0==d[g];)g--;if(0==g)return S(s),e;for(var B,p=1;p<=g;){for(var w=p;0==d[p]&&p<=g;)++p;var m=p-w;if(m>=16){B=m>>4;for(var C=1;C<=B;++C)S(o);m&=15}i=32767+d[p],S(n[(m<<4)+h[i]]),S(l[i]),p++}return 63!=g&&S(s),e}function D(A){A=Math.min(Math.max(A,1),100),i!=A&&(function(A){for(var t=[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],e=0;e<64;e++){var r=s((t[e]*A+50)/100);r=Math.min(Math.max(r,1),255),o[v[e]]=r}for(var n=[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],i=0;i<64;i++){var l=s((n[i]*A+50)/100);l=Math.min(Math.max(l,1),255),a[v[i]]=l}for(var h=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],f=0,d=0;d<8;d++)for(var g=0;g<8;g++)c[f]=1/(o[v[f]]*h[d]*h[g]*8),u[f]=1/(a[v[f]]*h[d]*h[g]*8),f++}(A<50?Math.floor(5e3/A):Math.floor(200-2*A)),i=A)}this.encode=function(A,i){i&&D(i),g=new Array,B=0,p=7,k(65496),k(65504),k(16),_(74),_(70),_(73),_(70),_(0),_(1),_(1),_(0),k(1),k(1),_(0),_(0),function(){k(65499),k(132),_(0);for(var A=0;A<64;A++)_(o[A]);_(1);for(var t=0;t<64;t++)_(a[t])}(),function(A,t){k(65472),k(17),_(8),k(t),k(A),_(3),_(1),_(17),_(0),_(2),_(17),_(1),_(3),_(17),_(1)}(A.width,A.height),function(){k(65476),k(418),_(0);for(var A=0;A<16;A++)_(b[A+1]);for(var t=0;t<=11;t++)_(F[t]);_(16);for(var e=0;e<16;e++)_(U[e+1]);for(var r=0;r<=161;r++)_(L[r]);_(1);for(var n=0;n<16;n++)_(E[n+1]);for(var i=0;i<=11;i++)_(I[i]);_(17);for(var s=0;s<16;s++)_(x[s+1]);for(var o=0;o<=161;o++)_(H[o])}(),k(65498),k(12),_(3),_(1),_(0),_(2),_(17),_(3),_(17),_(0),_(63),_(0);var s=0,l=0,h=0;B=0,p=7,this.encode.displayName="_encode_";for(var f,d,y,v,N,M,O,T,K,R=A.data,j=A.width,G=A.height,V=4*j,q=0;q<G;){for(f=0;f<V;){for(N=V*q+f,O=-1,T=0,K=0;K<64;K++)M=N+(T=K>>3)*V+(O=4*(7&K)),q+T>=G&&(M-=V*(q+1+T-G)),f+O>=V&&(M-=f+O-V+4),d=R[M++],y=R[M++],v=R[M++],w[K]=(Q[d]+Q[y+256|0]+Q[v+512|0]>>16)-128,m[K]=(Q[d+768|0]+Q[y+1024|0]+Q[v+1280|0]>>16)-128,C[K]=(Q[d+1280|0]+Q[y+1536|0]+Q[v+1792|0]>>16)-128;s=P(w,c,s,t,r),l=P(m,u,l,e,n),h=P(C,u,h,e,n),f+=32}q+=8}if(p>=0){var W=[];W[1]=p+1,W[0]=(1<<p+1)-1,S(W)}return k(65497),new Uint8Array(g)},A=A||50,function(){for(var A=String.fromCharCode,t=0;t<256;t++)y[t]=A(t)}(),t=N(b,F),e=N(E,I),r=N(U,L),n=N(x,H),function(){for(var A=1,t=2,e=1;e<=15;e++){for(var r=A;r<t;r++)h[32767+r]=e,l[32767+r]=[],l[32767+r][1]=e,l[32767+r][0]=r;for(var n=-(t-1);n<=-A;n++)h[32767+n]=e,l[32767+n]=[],l[32767+n][1]=e,l[32767+n][0]=t-1+n;A<<=1,t<<=1}}(),function(){for(var A=0;A<256;A++)Q[A]=19595*A,Q[A+256|0]=38470*A,Q[A+512|0]=7471*A+32768,Q[A+768|0]=-11059*A,Q[A+1024|0]=-21709*A,Q[A+1280|0]=32768*A+8421375,Q[A+1536|0]=-27439*A,Q[A+1792|0]=-5329*A}(),D(A)}
169
+ /**
170
+ * @license
171
+ * Copyright (c) 2017 Aras Abbasi
172
+ *
173
+ * Licensed under the MIT License.
174
+ * http://opensource.org/licenses/mit-license
175
+ */function un(A,t){if(this.pos=0,this.buffer=A,this.datav=new DataView(A.buffer),this.is_with_alpha=!!t,this.bottom_up=!0,this.flag=String.fromCharCode(this.buffer[0])+String.fromCharCode(this.buffer[1]),this.pos+=2,-1===["BM","BA","CI","CP","IC","PT"].indexOf(this.flag))throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function ln(A){function t(A){if(!A)throw Error("assert :P")}function e(A,t,e){for(var r=0;4>r;r++)if(A[t+r]!=e.charCodeAt(r))return!0;return!1}function r(A,t,e,r,n){for(var i=0;i<n;i++)A[t+i]=e[r+i]}function n(A,t,e,r){for(var n=0;n<r;n++)A[t+n]=e}function i(A){return new Int32Array(A)}function s(A,t){for(var e=[],r=0;r<A;r++)e.push(new t);return e}function o(A,t){var e=[];return function A(e,r,n){for(var i=n[r],s=0;s<i&&(e.push(n.length>r+1?[]:new t),!(n.length<r+1));s++)A(e[s],r+1,n)}(e,0,A),e}var a=function(){var A=this;function a(A,t){for(var e=1<<t-1>>>0;A&e;)e>>>=1;return e?(A&e-1)+e:A}function c(A,e,r,n,i){t(!(n%r));do{A[e+(n-=r)]=i}while(0<n)}function u(A,e,r,n,s){if(t(2328>=s),512>=s)var o=i(512);else if(null==(o=i(s)))return 0;return function(A,e,r,n,s,o){var u,h,f=e,d=1<<r,g=i(16),B=i(16);for(t(0!=s),t(null!=n),t(null!=A),t(0<r),h=0;h<s;++h){if(15<n[h])return 0;++g[n[h]]}if(g[0]==s)return 0;for(B[1]=0,u=1;15>u;++u){if(g[u]>1<<u)return 0;B[u+1]=B[u]+g[u]}for(h=0;h<s;++h)u=n[h],0<n[h]&&(o[B[u]++]=h);if(1==B[15])return(n=new l).g=0,n.value=o[0],c(A,f,1,d,n),d;var p,w=-1,m=d-1,C=0,y=1,Q=1,v=1<<r;for(h=0,u=1,s=2;u<=r;++u,s<<=1){if(y+=Q<<=1,0>(Q-=g[u]))return 0;for(;0<g[u];--g[u])(n=new l).g=u,n.value=o[h++],c(A,f+C,s,v,n),C=a(C,u)}for(u=r+1,s=2;15>=u;++u,s<<=1){if(y+=Q<<=1,0>(Q-=g[u]))return 0;for(;0<g[u];--g[u]){if(n=new l,(C&m)!=w){for(f+=v,p=1<<(w=u)-r;15>w&&!(0>=(p-=g[w]));)++w,p<<=1;d+=v=1<<(p=w-r),A[e+(w=C&m)].g=p+r,A[e+w].value=f-e-w}n.g=u-r,n.value=o[h++],c(A,f+(C>>r),s,v,n),C=a(C,u)}}return y!=2*B[15]-1?0:d}(A,e,r,n,s,o)}function l(){this.value=this.g=0}function h(){this.value=this.g=0}function f(){this.G=s(5,l),this.H=i(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=s(De,h)}function d(A,e,r,n){t(null!=A),t(null!=e),t(2147483648>n),A.Ca=254,A.I=0,A.b=-8,A.Ka=0,A.oa=e,A.pa=r,A.Jd=e,A.Yc=r+n,A.Zc=4<=n?r+n-4+1:r,U(A)}function g(A,t){for(var e=0;0<t--;)e|=E(A,128)<<t;return e}function B(A,t){var e=g(A,t);return L(A)?-e:e}function p(A,e,r,n){var i,s=0;for(t(null!=A),t(null!=e),t(4294967288>n),A.Sb=n,A.Ra=0,A.u=0,A.h=0,4<n&&(n=4),i=0;i<n;++i)s+=e[r+i]<<8*i;A.Ra=s,A.bb=n,A.oa=e,A.pa=r}function w(A){for(;8<=A.u&&A.bb<A.Sb;)A.Ra>>>=8,A.Ra+=A.oa[A.pa+A.bb]<<Te-8>>>0,++A.bb,A.u-=8;v(A)&&(A.h=1,A.u=0)}function m(A,e){if(t(0<=e),!A.h&&e<=Oe){var r=Q(A)&Me[e];return A.u+=e,w(A),r}return A.h=1,A.u=0}function C(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function y(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function Q(A){return A.Ra>>>(A.u&Te-1)>>>0}function v(A){return t(A.bb<=A.Sb),A.h||A.bb==A.Sb&&A.u>Te}function b(A,t){A.u=t,A.h=v(A)}function F(A){A.u>=Ke&&(t(A.u>=Ke),w(A))}function U(A){t(null!=A&&null!=A.oa),A.pa<A.Zc?(A.I=(A.oa[A.pa++]|A.I<<8)>>>0,A.b+=8):(t(null!=A&&null!=A.oa),A.pa<A.Yc?(A.b+=8,A.I=A.oa[A.pa++]|A.I<<8):A.Ka?A.b=0:(A.I<<=8,A.b+=8,A.Ka=1))}function L(A){return g(A,1)}function E(A,t){var e=A.Ca;0>A.b&&U(A);var r=A.b,n=e*t>>>8,i=(A.I>>>r>n)+0;for(i?(e-=n,A.I-=n+1<<r>>>0):e=n+1,r=e,n=0;256<=r;)n+=8,r>>=8;return r=7^n+Re[r],A.b-=r,A.Ca=(e<<r)-1,i}function I(A,t,e){A[t+0]=e>>24&255,A[t+1]=e>>16&255,A[t+2]=e>>8&255,A[t+3]=255&e}function x(A,t){return A[t+0]|A[t+1]<<8}function H(A,t){return x(A,t)|A[t+2]<<16}function N(A,t){return x(A,t)|x(A,t+2)<<16}function S(A,e){var r=1<<e;return t(null!=A),t(0<e),A.X=i(r),null==A.X?0:(A.Mb=32-e,A.Xa=e,1)}function _(A,e){t(null!=A),t(null!=e),t(A.Xa==e.Xa),r(e.X,0,A.X,0,1<<e.Xa)}function k(){this.X=[],this.Xa=this.Mb=0}function P(A,e,r,n){t(null!=r),t(null!=n);var i=r[0],s=n[0];return 0==i&&(i=(A*s+e/2)/e),0==s&&(s=(e*i+A/2)/A),0>=i||0>=s?0:(r[0]=i,n[0]=s,1)}function D(A,t){return A+(1<<t)-1>>>t}function M(A,t){return((4278255360&A)+(4278255360&t)>>>0&4278255360)+((16711935&A)+(16711935&t)>>>0&16711935)>>>0}function O(t,e){A[e]=function(e,r,n,i,s,o,a){var c;for(c=0;c<s;++c){var u=A[t](o[a+c-1],n,i+c);o[a+c]=M(e[r+c],u)}}}function T(){this.ud=this.hd=this.jd=0}function K(A,t){return((4278124286&(A^t))>>>1)+(A&t)>>>0}function R(A){return 0<=A&&256>A?A:0>A?0:255<A?255:void 0}function j(A,t){return R(A+(A-t+.5>>1))}function G(A,t,e){return Math.abs(t-e)-Math.abs(A-e)}function V(A,t,e,r,n,i,s){for(r=i[s-1],e=0;e<n;++e)i[s+e]=r=M(A[t+e],r)}function q(A,t,e,r,n){var i;for(i=0;i<e;++i){var s=A[t+i],o=s>>8&255,a=16711935&(a=(a=16711935&s)+((o<<16)+o));r[n+i]=(4278255360&s)+a>>>0}}function W(A,t){t.jd=255&A,t.hd=A>>8&255,t.ud=A>>16&255}function X(A,t,e,r,n,i){var s;for(s=0;s<r;++s){var o=t[e+s],a=o>>>8,c=o,u=255&(u=(u=o>>>16)+((A.jd<<24>>24)*(a<<24>>24)>>>5));c=255&(c=(c+=(A.hd<<24>>24)*(a<<24>>24)>>>5)+((A.ud<<24>>24)*(u<<24>>24)>>>5)),n[i+s]=(4278255360&o)+(u<<16)+c}}function J(t,e,r,n,i){A[e]=function(A,t,e,r,s,o,a,c,u){for(r=a;r<c;++r)for(a=0;a<u;++a)s[o++]=i(e[n(A[t++])])},A[t]=function(t,e,s,o,a,c,u){var l=8>>t.b,h=t.Ea,f=t.K[0],d=t.w;if(8>l)for(t=(1<<t.b)-1,d=(1<<l)-1;e<s;++e){var g,B=0;for(g=0;g<h;++g)g&t||(B=n(o[a++])),c[u++]=i(f[B&d]),B>>=l}else A["VP8LMapColor"+r](o,a,f,d,c,u,e,s,h)}}function z(A,t,e,r,n){for(e=t+e;t<e;){var i=A[t++];r[n++]=i>>16&255,r[n++]=i>>8&255,r[n++]=255&i}}function Y(A,t,e,r,n){for(e=t+e;t<e;){var i=A[t++];r[n++]=i>>16&255,r[n++]=i>>8&255,r[n++]=255&i,r[n++]=i>>24&255}}function Z(A,t,e,r,n){for(e=t+e;t<e;){var i=(s=A[t++])>>16&240|s>>12&15,s=240&s|s>>28&15;r[n++]=i,r[n++]=s}}function $(A,t,e,r,n){for(e=t+e;t<e;){var i=(s=A[t++])>>16&248|s>>13&7,s=s>>5&224|s>>3&31;r[n++]=i,r[n++]=s}}function AA(A,t,e,r,n){for(e=t+e;t<e;){var i=A[t++];r[n++]=255&i,r[n++]=i>>8&255,r[n++]=i>>16&255}}function tA(A,t,e,n,i,s){if(0==s)for(e=t+e;t<e;)I(n,((s=A[t++])[0]>>24|s[1]>>8&65280|s[2]<<8&16711680|s[3]<<24)>>>0),i+=32;else r(n,i,A,t,e)}function eA(t,e){A[e][0]=A[t+"0"],A[e][1]=A[t+"1"],A[e][2]=A[t+"2"],A[e][3]=A[t+"3"],A[e][4]=A[t+"4"],A[e][5]=A[t+"5"],A[e][6]=A[t+"6"],A[e][7]=A[t+"7"],A[e][8]=A[t+"8"],A[e][9]=A[t+"9"],A[e][10]=A[t+"10"],A[e][11]=A[t+"11"],A[e][12]=A[t+"12"],A[e][13]=A[t+"13"],A[e][14]=A[t+"0"],A[e][15]=A[t+"0"]}function rA(A){return A==Kr||A==Rr||A==jr||A==Gr}function nA(){this.eb=[],this.size=this.A=this.fb=0}function iA(){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 sA(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new nA,this.f.kb=new iA,this.sd=null}function oA(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function aA(){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 cA(A){return alert("todo:WebPSamplerProcessPlane"),A.T}function uA(A,t){var e=A.T,n=t.ba.f.RGBA,i=n.eb,s=n.fb+A.ka*n.A,o=Bn[t.ba.S],a=A.y,c=A.O,u=A.f,l=A.N,h=A.ea,f=A.W,d=t.cc,g=t.dc,B=t.Mc,p=t.Nc,w=A.ka,m=A.ka+A.T,C=A.U,y=C+1>>1;for(0==w?o(a,c,null,null,u,l,h,f,u,l,h,f,i,s,null,null,C):(o(t.ec,t.fc,a,c,d,g,B,p,u,l,h,f,i,s-n.A,i,s,C),++e);w+2<m;w+=2)d=u,g=l,B=h,p=f,l+=A.Rc,f+=A.Rc,s+=2*n.A,o(a,(c+=2*A.fa)-A.fa,a,c,d,g,B,p,u,l,h,f,i,s-n.A,i,s,C);return c+=A.fa,A.j+m<A.o?(r(t.ec,t.fc,a,c,C),r(t.cc,t.dc,u,l,y),r(t.Mc,t.Nc,h,f,y),e--):1&m||o(a,c,null,null,u,l,h,f,u,l,h,f,i,s+n.A,null,null,C),e}function lA(A,e,r){var n=A.F,i=[A.J];if(null!=n){var s=A.U,o=e.ba.S,a=o==Mr||o==jr;e=e.ba.f.RGBA;var c=[0],u=A.ka;c[0]=A.T,A.Kb&&(0==u?--c[0]:(--u,i[0]-=A.width),A.j+A.ka+A.T==A.o&&(c[0]=A.o-A.j-u));var l=e.eb;u=e.fb+u*e.A,A=vr(n,i[0],A.width,s,c,l,u+(a?0:3),e.A),t(r==c),A&&rA(o)&&yr(l,u,a,s,c,e.A)}return 0}function hA(A){var t=A.ma,e=t.ba.S,r=11>e,n=e==kr||e==Dr||e==Mr||e==Or||12==e||rA(e);if(t.memory=null,t.Ib=null,t.Jb=null,t.Nd=null,!_e(t.Oa,A,n?11:12))return 0;if(n&&rA(e)&&pe(),A.da)alert("todo:use_scaling");else{if(r){if(t.Ib=cA,A.Kb){if(e=A.U+1>>1,t.memory=i(A.U+2*e),null==t.memory)return 0;t.ec=t.memory,t.fc=0,t.cc=t.ec,t.dc=t.fc+A.U,t.Mc=t.cc,t.Nc=t.dc+e,t.Ib=uA,pe()}}else alert("todo:EmitYUV");n&&(t.Jb=lA,r&&ge())}if(r&&!In){for(A=0;256>A;++A)xn[A]=89858*(A-128)+Fn>>bn,Sn[A]=-22014*(A-128)+Fn,Nn[A]=-45773*(A-128),Hn[A]=113618*(A-128)+Fn>>bn;for(A=Un;A<Ln;++A)t=76283*(A-16)+Fn>>bn,_n[A-Un]=VA(t,255),kn[A-Un]=VA(t+8>>4,15);In=1}return 1}function fA(A){var e=A.ma,r=A.U,n=A.T;return t(!(1&A.ka)),0>=r||0>=n?0:(r=e.Ib(A,e),null!=e.Jb&&e.Jb(A,e,r),e.Dc+=r,1)}function dA(A){A.ma.memory=null}function gA(A,t,e,r){return 47!=m(A,8)?0:(t[0]=m(A,14)+1,e[0]=m(A,14)+1,r[0]=m(A,1),0!=m(A,3)?0:!A.h)}function BA(A,t){if(4>A)return A+1;var e=A-2>>1;return(2+(1&A)<<e)+m(t,e)+1}function pA(A,t){return 120<t?t-120:1<=(e=((e=zr[t-1])>>4)*A+(8-(15&e)))?e:1;var e}function wA(A,t,e){var r=Q(e),n=A[t+=255&r].g-8;return 0<n&&(b(e,e.u+8),r=Q(e),t+=A[t].value,t+=r&(1<<n)-1),b(e,e.u+A[t].g),A[t].value}function mA(A,e,r){return r.g+=A.g,r.value+=A.value<<e>>>0,t(8>=r.g),A.g}function CA(A,e,r){var n=A.xc;return t((e=0==n?0:A.vc[A.md*(r>>n)+(e>>n)])<A.Wb),A.Ya[e]}function yA(A,e,n,i){var s=A.ab,o=A.c*e,a=A.C;e=a+e;var c=n,u=i;for(i=A.Ta,n=A.Ua;0<s--;){var l=A.gc[s],h=a,f=e,d=c,g=u,B=(u=i,c=n,l.Ea);switch(t(h<f),t(f<=l.nc),l.hc){case 2:Ve(d,g,(f-h)*B,u,c);break;case 0:var p=h,w=f,m=u,C=c,y=(U=l).Ea;0==p&&(je(d,g,null,null,1,m,C),V(d,g+1,0,0,y-1,m,C+1),g+=y,C+=y,++p);for(var Q=1<<U.b,v=Q-1,b=D(y,U.b),F=U.K,U=U.w+(p>>U.b)*b;p<w;){var L=F,E=U,I=1;for(Ge(d,g,m,C-y,1,m,C);I<y;){var x=(I&~v)+Q;x>y&&(x=y),(0,ze[L[E++]>>8&15])(d,g+ +I,m,C+I-y,x-I,m,C+I),I=x}g+=y,C+=y,++p&v||(U+=b)}f!=l.nc&&r(u,c-B,u,c+(f-h-1)*B,B);break;case 1:for(B=d,w=g,y=(d=l.Ea)-(C=d&~(m=(g=1<<l.b)-1)),p=D(d,l.b),Q=l.K,l=l.w+(h>>l.b)*p;h<f;){for(v=Q,b=l,F=new T,U=w+C,L=w+d;w<U;)W(v[b++],F),Ye(F,B,w,g,u,c),w+=g,c+=g;w<L&&(W(v[b++],F),Ye(F,B,w,y,u,c),w+=y,c+=y),++h&m||(l+=p)}break;case 3:if(d==u&&g==c&&0<l.b){for(w=u,d=B=c+(f-h)*B-(C=(f-h)*D(l.Ea,l.b)),g=u,m=c,p=[],C=(y=C)-1;0<=C;--C)p[C]=g[m+C];for(C=y-1;0<=C;--C)w[d+C]=p[C];qe(l,h,f,u,B,u,c)}else qe(l,h,f,d,g,u,c)}c=i,u=n}u!=n&&r(i,n,c,u,o)}function QA(A,e){var r=A.V,n=A.Ba+A.c*A.C,i=e-A.C;if(t(e<=A.l.o),t(16>=i),0<i){var s=A.l,o=A.Ta,a=A.Ua,c=s.width;if(yA(A,i,r,n),i=a=[a],t((r=A.C)<(n=e)),t(s.v<s.va),n>s.o&&(n=s.o),r<s.j){var u=s.j-r;r=s.j,i[0]+=u*c}if(r>=n?r=0:(i[0]+=4*s.v,s.ka=r-s.j,s.U=s.va-s.v,s.T=n-r,r=1),r){if(a=a[0],11>(r=A.ca).S){var l=r.f.RGBA,h=(n=r.S,i=s.U,s=s.T,u=l.eb,l.A),f=s;for(l=l.fb+A.Ma*l.A;0<f--;){var d=o,g=a,B=i,p=u,w=l;switch(n){case _r:Ze(d,g,B,p,w);break;case kr:$e(d,g,B,p,w);break;case Kr:$e(d,g,B,p,w),yr(p,w,0,B,1,0);break;case Pr:er(d,g,B,p,w);break;case Dr:tA(d,g,B,p,w,1);break;case Rr:tA(d,g,B,p,w,1),yr(p,w,0,B,1,0);break;case Mr:tA(d,g,B,p,w,0);break;case jr:tA(d,g,B,p,w,0),yr(p,w,1,B,1,0);break;case Or:Ar(d,g,B,p,w);break;case Gr:Ar(d,g,B,p,w),Qr(p,w,B,1,0);break;case Tr:tr(d,g,B,p,w);break;default:t(0)}a+=c,l+=h}A.Ma+=s}else alert("todo:EmitRescaledRowsYUVA");t(A.Ma<=r.height)}}A.C=e,t(A.C<=A.i)}function vA(A){var t;if(0<A.ua)return 0;for(t=0;t<A.Wb;++t){var e=A.Ya[t].G,r=A.Ya[t].H;if(0<e[1][r[1]+0].g||0<e[2][r[2]+0].g||0<e[3][r[3]+0].g)return 0}return 1}function bA(A,e,r,n,i,s){if(0!=A.Z){var o=A.qd,a=A.rd;for(t(null!=gn[A.Z]);e<r;++e)gn[A.Z](o,a,n,i,n,i,s),o=n,a=i,i+=s;A.qd=o,A.rd=a}}function FA(A,e){var r=A.l.ma,n=0==r.Z||1==r.Z?A.l.j:A.C;if(n=A.C<n?n:A.C,t(e<=A.l.o),e>n){var i=A.l.width,s=r.ca,o=r.tb+i*n,a=A.V,c=A.Ba+A.c*n,u=A.gc;t(1==A.ab),t(3==u[0].hc),Xe(u[0],n,e,a,c,s,o),bA(r,n,e,s,o,i)}A.C=A.Ma=e}function UA(A,e,r,n,i,s,o){var a=A.$/n,c=A.$%n,u=A.m,l=A.s,h=r+A.$,f=h;i=r+n*i;var d=r+n*s,g=280+l.ua,B=A.Pb?a:16777216,p=0<l.ua?l.Wa:null,w=l.wc,m=h<d?CA(l,c,a):null;t(A.C<s),t(d<=i);var C=!1;A:for(;;){for(;C||h<d;){var y=0;if(a>=B){var U=h-r;t((B=A).Pb),B.wd=B.m,B.xd=U,0<B.s.ua&&_(B.s.Wa,B.s.vb),B=a+Zr}if(c&w||(m=CA(l,c,a)),t(null!=m),m.Qb&&(e[h]=m.qb,C=!0),!C)if(F(u),m.jc){y=u,U=e;var L=h,E=m.pd[Q(y)&De-1];t(m.jc),256>E.g?(b(y,y.u+E.g),U[L]=E.value,y=0):(b(y,y.u+E.g-256),t(256<=E.value),y=E.value),0==y&&(C=!0)}else y=wA(m.G[0],m.H[0],u);if(u.h)break;if(C||256>y){if(!C)if(m.nd)e[h]=(m.qb|y<<8)>>>0;else{if(F(u),C=wA(m.G[1],m.H[1],u),F(u),U=wA(m.G[2],m.H[2],u),L=wA(m.G[3],m.H[3],u),u.h)break;e[h]=(L<<24|C<<16|y<<8|U)>>>0}if(C=!1,++h,++c>=n&&(c=0,++a,null!=o&&a<=s&&!(a%16)&&o(A,a),null!=p))for(;f<h;)y=e[f++],p.X[(506832829*y&4294967295)>>>p.Mb]=y}else if(280>y){if(y=BA(y-256,u),U=wA(m.G[4],m.H[4],u),F(u),U=pA(n,U=BA(U,u)),u.h)break;if(h-r<U||i-h<y)break A;for(L=0;L<y;++L)e[h+L]=e[h+L-U];for(h+=y,c+=y;c>=n;)c-=n,++a,null!=o&&a<=s&&!(a%16)&&o(A,a);if(t(h<=i),c&w&&(m=CA(l,c,a)),null!=p)for(;f<h;)y=e[f++],p.X[(506832829*y&4294967295)>>>p.Mb]=y}else{if(!(y<g))break A;for(C=y-280,t(null!=p);f<h;)y=e[f++],p.X[(506832829*y&4294967295)>>>p.Mb]=y;y=h,t(!(C>>>(U=p).Xa)),e[y]=U.X[C],C=!0}C||t(u.h==v(u))}if(A.Pb&&u.h&&h<i)t(A.m.h),A.a=5,A.m=A.wd,A.$=A.xd,0<A.s.ua&&_(A.s.vb,A.s.Wa);else{if(u.h)break A;null!=o&&o(A,a>s?s:a),A.a=0,A.$=h-r}return 1}return A.a=3,0}function LA(A){t(null!=A),A.vc=null,A.yc=null,A.Ya=null;var e=A.Wa;null!=e&&(e.X=null),A.vb=null,t(null!=A)}function EA(){var t=new ie;return null==t?null:(t.a=0,t.xb=dn,eA("Predictor","VP8LPredictors"),eA("Predictor","VP8LPredictors_C"),eA("PredictorAdd","VP8LPredictorsAdd"),eA("PredictorAdd","VP8LPredictorsAdd_C"),Ve=q,Ye=X,Ze=z,$e=Y,Ar=Z,tr=$,er=AA,A.VP8LMapColor32b=We,A.VP8LMapColor8b=Je,t)}function IA(A,e,r,o,a){var c=1,h=[A],d=[e],g=o.m,B=o.s,p=null,w=0;A:for(;;){if(r)for(;c&&m(g,1);){var C=h,y=d,v=o,U=1,L=v.m,E=v.gc[v.ab],I=m(L,2);if(v.Oc&1<<I)c=0;else{switch(v.Oc|=1<<I,E.hc=I,E.Ea=C[0],E.nc=y[0],E.K=[null],++v.ab,t(4>=v.ab),I){case 0:case 1:E.b=m(L,3)+2,U=IA(D(E.Ea,E.b),D(E.nc,E.b),0,v,E.K),E.K=E.K[0];break;case 3:var x,H=m(L,8)+1,N=16<H?0:4<H?1:2<H?2:3;if(C[0]=D(E.Ea,N),E.b=N,x=U=IA(H,1,0,v,E.K)){var _,k=H,P=E,O=1<<(8>>P.b),T=i(O);if(null==T)x=0;else{var K=P.K[0],R=P.w;for(T[0]=P.K[0][0],_=1;_<1*k;++_)T[_]=M(K[R+_],T[_-1]);for(;_<4*O;++_)T[_]=0;P.K[0]=null,P.K[0]=T,x=1}}U=x;break;case 2:break;default:t(0)}c=U}}if(h=h[0],d=d[0],c&&m(g,1)&&!(c=1<=(w=m(g,4))&&11>=w)){o.a=3;break A}var j;if(j=c)t:{var G,V,q,W=o,X=h,J=d,z=w,Y=r,Z=W.m,$=W.s,AA=[null],tA=1,eA=0,rA=Yr[z];e:for(;;){if(Y&&m(Z,1)){var nA=m(Z,3)+2,iA=D(X,nA),sA=D(J,nA),oA=iA*sA;if(!IA(iA,sA,0,W,AA))break e;for(AA=AA[0],$.xc=nA,G=0;G<oA;++G){var aA=AA[G]>>8&65535;AA[G]=aA,aA>=tA&&(tA=aA+1)}}if(Z.h)break e;for(V=0;5>V;++V){var cA=Wr[V];!V&&0<z&&(cA+=1<<z),eA<cA&&(eA=cA)}var uA=s(tA*rA,l),lA=tA,hA=s(lA,f);if(null==hA)var fA=null;else t(65536>=lA),fA=hA;var dA=i(eA);if(null==fA||null==dA||null==uA){W.a=1;break e}var gA=uA;for(G=q=0;G<tA;++G){var BA=fA[G],pA=BA.G,wA=BA.H,CA=0,yA=1,QA=0;for(V=0;5>V;++V){cA=Wr[V],pA[V]=gA,wA[V]=q,!V&&0<z&&(cA+=1<<z);r:{var vA,bA=cA,FA=W,EA=dA,xA=gA,HA=q,NA=0,SA=FA.m,_A=m(SA,1);if(n(EA,0,0,bA),_A){var kA=m(SA,1)+1,PA=m(SA,1),DA=m(SA,0==PA?1:8);EA[DA]=1,2==kA&&(EA[DA=m(SA,8)]=1);var MA=1}else{var OA=i(19),TA=m(SA,4)+4;if(19<TA){FA.a=3;var KA=0;break r}for(vA=0;vA<TA;++vA)OA[Jr[vA]]=m(SA,3);var RA=void 0,jA=void 0,GA=FA,VA=OA,qA=bA,WA=EA,XA=0,JA=GA.m,zA=8,YA=s(128,l);n:for(;u(YA,0,7,VA,19);){if(m(JA,1)){var ZA=2+2*m(JA,3);if((RA=2+m(JA,ZA))>qA)break n}else RA=qA;for(jA=0;jA<qA&&RA--;){F(JA);var $A=YA[0+(127&Q(JA))];b(JA,JA.u+$A.g);var At=$A.value;if(16>At)WA[jA++]=At,0!=At&&(zA=At);else{var tt=16==At,et=At-16,rt=qr[et],nt=m(JA,Vr[et])+rt;if(jA+nt>qA)break n;for(var it=tt?zA:0;0<nt--;)WA[jA++]=it}}XA=1;break n}XA||(GA.a=3),MA=XA}(MA=MA&&!SA.h)&&(NA=u(xA,HA,8,EA,bA)),MA&&0!=NA?KA=NA:(FA.a=3,KA=0)}if(0==KA)break e;if(yA&&1==Xr[V]&&(yA=0==gA[q].g),CA+=gA[q].g,q+=KA,3>=V){var st,ot=dA[0];for(st=1;st<cA;++st)dA[st]>ot&&(ot=dA[st]);QA+=ot}}if(BA.nd=yA,BA.Qb=0,yA&&(BA.qb=(pA[3][wA[3]+0].value<<24|pA[1][wA[1]+0].value<<16|pA[2][wA[2]+0].value)>>>0,0==CA&&256>pA[0][wA[0]+0].value&&(BA.Qb=1,BA.qb+=pA[0][wA[0]+0].value<<8)),BA.jc=!BA.Qb&&6>QA,BA.jc){var at,ct=BA;for(at=0;at<De;++at){var ut=at,lt=ct.pd[ut],ht=ct.G[0][ct.H[0]+ut];256<=ht.value?(lt.g=ht.g+256,lt.value=ht.value):(lt.g=0,lt.value=0,ut>>=mA(ht,8,lt),ut>>=mA(ct.G[1][ct.H[1]+ut],16,lt),ut>>=mA(ct.G[2][ct.H[2]+ut],0,lt),mA(ct.G[3][ct.H[3]+ut],24,lt))}}}$.vc=AA,$.Wb=tA,$.Ya=fA,$.yc=uA,j=1;break t}j=0}if(!(c=j)){o.a=3;break A}if(0<w){if(B.ua=1<<w,!S(B.Wa,w)){o.a=1,c=0;break A}}else B.ua=0;var ft=o,dt=h,gt=d,Bt=ft.s,pt=Bt.xc;if(ft.c=dt,ft.i=gt,Bt.md=D(dt,pt),Bt.wc=0==pt?-1:(1<<pt)-1,r){o.xb=fn;break A}if(null==(p=i(h*d))){o.a=1,c=0;break A}c=(c=UA(o,p,0,h,d,d,null))&&!g.h;break A}return c?(null!=a?a[0]=p:(t(null==p),t(r)),o.$=0,r||LA(B)):LA(B),c}function xA(A,e){var r=A.c*A.i,n=r+e+16*e;return t(A.c<=e),A.V=i(n),null==A.V?(A.Ta=null,A.Ua=0,A.a=1,0):(A.Ta=A.V,A.Ua=A.Ba+r+e,1)}function HA(A,e){var r=A.C,n=e-r,i=A.V,s=A.Ba+A.c*r;for(t(e<=A.l.o);0<n;){var o=16<n?16:n,a=A.l.ma,c=A.l.width,u=c*o,l=a.ca,h=a.tb+c*r,f=A.Ta,d=A.Ua;yA(A,o,i,s),br(f,d,l,h,u),bA(a,r,r+o,l,h,c),n-=o,i+=o*A.c,r+=o}t(r==e),A.C=A.Ma=e}function NA(){this.ub=this.yd=this.td=this.Rb=0}function SA(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function _A(){this.Fb=this.Bb=this.Cb=0,this.Zb=i(4),this.Lb=i(4)}function kA(){this.Yb=function(){var A=[];return function A(t,e,r){for(var n=r[e],i=0;i<n&&(t.push(r.length>e+1?[]:0),!(r.length<e+1));i++)A(t[i],e+1,r)}(A,0,[3,11]),A}()}function PA(){this.jb=i(3),this.Wc=o([4,8],kA),this.Xc=o([4,17],kA)}function DA(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new i(4),this.od=new i(4)}function MA(){this.ld=this.La=this.dd=this.tc=0}function OA(){this.Na=this.la=0}function TA(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function KA(){this.ad=i(384),this.Za=0,this.Ob=i(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function RA(){this.uc=this.M=this.Nb=0,this.wa=Array(new MA),this.Y=0,this.ya=Array(new KA),this.aa=0,this.l=new qA}function jA(){this.y=i(16),this.f=i(8),this.ea=i(8)}function GA(){this.cb=this.a=0,this.sc="",this.m=new C,this.Od=new NA,this.Kc=new SA,this.ed=new DA,this.Qa=new _A,this.Ic=this.$c=this.Aa=0,this.D=new RA,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=s(8,C),this.ia=0,this.pb=s(4,TA),this.Pa=new PA,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new jA),this.Hd=0,this.rb=Array(new OA),this.sb=0,this.wa=Array(new MA),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 KA),this.L=this.aa=0,this.gd=o([4,2],MA),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 VA(A,t){return 0>A?0:A>t?t:A}function qA(){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 WA(){var A=new GA;return null!=A&&(A.a=0,A.sc="OK",A.cb=0,A.Xb=0,tn||(tn=YA)),A}function XA(A,t,e){return 0==A.a&&(A.a=t,A.sc=e,A.cb=0),0}function JA(A,t,e){return 3<=e&&157==A[t+0]&&1==A[t+1]&&42==A[t+2]}function zA(A,e){if(null==A)return 0;if(A.a=0,A.sc="OK",null==e)return XA(A,2,"null VP8Io passed to VP8GetHeaders()");var r=e.data,i=e.w,s=e.ha;if(4>s)return XA(A,7,"Truncated header.");var o=r[i+0]|r[i+1]<<8|r[i+2]<<16,a=A.Od;if(a.Rb=!(1&o),a.td=o>>1&7,a.yd=o>>4&1,a.ub=o>>5,3<a.td)return XA(A,3,"Incorrect keyframe parameters.");if(!a.yd)return XA(A,4,"Frame not displayable.");i+=3,s-=3;var c=A.Kc;if(a.Rb){if(7>s)return XA(A,7,"cannot parse picture header");if(!JA(r,i,s))return XA(A,3,"Bad code word");c.c=16383&(r[i+4]<<8|r[i+3]),c.Td=r[i+4]>>6,c.i=16383&(r[i+6]<<8|r[i+5]),c.Ud=r[i+6]>>6,i+=7,s-=7,A.za=c.c+15>>4,A.Ub=c.i+15>>4,e.width=c.c,e.height=c.i,e.Da=0,e.j=0,e.v=0,e.va=e.width,e.o=e.height,e.da=0,e.ib=e.width,e.hb=e.height,e.U=e.width,e.T=e.height,n((o=A.Pa).jb,0,255,o.jb.length),t(null!=(o=A.Qa)),o.Cb=0,o.Bb=0,o.Fb=1,n(o.Zb,0,0,o.Zb.length),n(o.Lb,0,0,o.Lb)}if(a.ub>s)return XA(A,7,"bad partition length");d(o=A.m,r,i,a.ub),i+=a.ub,s-=a.ub,a.Rb&&(c.Ld=L(o),c.Kd=L(o)),c=A.Qa;var u,l=A.Pa;if(t(null!=o),t(null!=c),c.Cb=L(o),c.Cb){if(c.Bb=L(o),L(o)){for(c.Fb=L(o),u=0;4>u;++u)c.Zb[u]=L(o)?B(o,7):0;for(u=0;4>u;++u)c.Lb[u]=L(o)?B(o,6):0}if(c.Bb)for(u=0;3>u;++u)l.jb[u]=L(o)?g(o,8):255}else c.Bb=0;if(o.Ka)return XA(A,3,"cannot parse segment header");if((c=A.ed).zd=L(o),c.Tb=g(o,6),c.wb=g(o,3),c.Pc=L(o),c.Pc&&L(o)){for(l=0;4>l;++l)L(o)&&(c.vd[l]=B(o,6));for(l=0;4>l;++l)L(o)&&(c.od[l]=B(o,6))}if(A.L=0==c.Tb?0:c.zd?1:2,o.Ka)return XA(A,3,"cannot parse filter header");var h=s;if(s=u=i,i=u+h,c=h,A.Xb=(1<<g(A.m,2))-1,h<3*(l=A.Xb))r=7;else{for(u+=3*l,c-=3*l,h=0;h<l;++h){var f=r[s+0]|r[s+1]<<8|r[s+2]<<16;f>c&&(f=c),d(A.Jc[+h],r,u,f),u+=f,c-=f,s+=3}d(A.Jc[+l],r,u,c),r=u<i?0:5}if(0!=r)return XA(A,r,"cannot parse partitions");for(r=g(u=A.m,7),s=L(u)?B(u,4):0,i=L(u)?B(u,4):0,c=L(u)?B(u,4):0,l=L(u)?B(u,4):0,u=L(u)?B(u,4):0,h=A.Qa,f=0;4>f;++f){if(h.Cb){var p=h.Zb[f];h.Fb||(p+=r)}else{if(0<f){A.pb[f]=A.pb[0];continue}p=r}var w=A.pb[f];w.Sc[0]=$r[VA(p+s,127)],w.Sc[1]=An[VA(p+0,127)],w.Eb[0]=2*$r[VA(p+i,127)],w.Eb[1]=101581*An[VA(p+c,127)]>>16,8>w.Eb[1]&&(w.Eb[1]=8),w.Qc[0]=$r[VA(p+l,117)],w.Qc[1]=An[VA(p+u,127)],w.lc=p+u}if(!a.Rb)return XA(A,4,"Not a key frame.");for(L(o),a=A.Pa,r=0;4>r;++r){for(s=0;8>s;++s)for(i=0;3>i;++i)for(c=0;11>c;++c)l=E(o,an[r][s][i][c])?g(o,8):sn[r][s][i][c],a.Wc[r][s].Yb[i][c]=l;for(s=0;17>s;++s)a.Xc[r][s]=a.Wc[r][cn[s]]}return A.kc=L(o),A.kc&&(A.Bd=g(o,8)),A.cb=1}function YA(A,t,e,r,n,i,s){var o=t[n].Yb[e];for(e=0;16>n;++n){if(!E(A,o[e+0]))return n;for(;!E(A,o[e+1]);)if(o=t[++n].Yb[0],e=0,16==n)return 16;var a=t[n+1].Yb;if(E(A,o[e+2])){var c=A,u=0;if(E(c,(h=o)[(l=e)+3]))if(E(c,h[l+6])){for(o=0,l=2*(u=E(c,h[l+8]))+(h=E(c,h[l+9+u])),u=0,h=en[l];h[o];++o)u+=u+E(c,h[o]);u+=3+(8<<l)}else E(c,h[l+7])?(u=7+2*E(c,165),u+=E(c,145)):u=5+E(c,159);else u=E(c,h[l+4])?3+E(c,h[l+5]):2;o=a[2]}else u=1,o=a[1];a=s+rn[n],0>(c=A).b&&U(c);var l,h=c.b,f=(l=c.Ca>>1)-(c.I>>h)>>31;--c.b,c.Ca+=f,c.Ca|=1,c.I-=(l+1&f)<<h,i[a]=((u^f)-f)*r[(0<n)+0]}return 16}function ZA(A){var t=A.rb[A.sb-1];t.la=0,t.Na=0,n(A.zc,0,0,A.zc.length),A.ja=0}function $A(A,t,e,r,n){n=A[t+e+32*r]+(n>>3),A[t+e+32*r]=-256&n?0>n?0:255:n}function At(A,t,e,r,n,i){$A(A,t,0,e,r+n),$A(A,t,1,e,r+i),$A(A,t,2,e,r-i),$A(A,t,3,e,r-n)}function tt(A){return(20091*A>>16)+A}function et(A,t,e,r){var n,s=0,o=i(16);for(n=0;4>n;++n){var a=A[t+0]+A[t+8],c=A[t+0]-A[t+8],u=(35468*A[t+4]>>16)-tt(A[t+12]),l=tt(A[t+4])+(35468*A[t+12]>>16);o[s+0]=a+l,o[s+1]=c+u,o[s+2]=c-u,o[s+3]=a-l,s+=4,t++}for(n=s=0;4>n;++n)a=(A=o[s+0]+4)+o[s+8],c=A-o[s+8],u=(35468*o[s+4]>>16)-tt(o[s+12]),$A(e,r,0,0,a+(l=tt(o[s+4])+(35468*o[s+12]>>16))),$A(e,r,1,0,c+u),$A(e,r,2,0,c-u),$A(e,r,3,0,a-l),s++,r+=32}function rt(A,t,e,r){var n=A[t+0]+4,i=35468*A[t+4]>>16,s=tt(A[t+4]),o=35468*A[t+1]>>16;At(e,r,0,n+s,A=tt(A[t+1]),o),At(e,r,1,n+i,A,o),At(e,r,2,n-i,A,o),At(e,r,3,n-s,A,o)}function nt(A,t,e,r,n){et(A,t,e,r),n&&et(A,t+16,e,r+4)}function it(A,t,e,r){nr(A,t+0,e,r,1),nr(A,t+32,e,r+128,1)}function st(A,t,e,r){var n;for(A=A[t+0]+4,n=0;4>n;++n)for(t=0;4>t;++t)$A(e,r,t,n,A)}function ot(A,t,e,r){A[t+0]&&or(A,t+0,e,r),A[t+16]&&or(A,t+16,e,r+4),A[t+32]&&or(A,t+32,e,r+128),A[t+48]&&or(A,t+48,e,r+128+4)}function at(A,t,e,r){var n,s=i(16);for(n=0;4>n;++n){var o=A[t+0+n]+A[t+12+n],a=A[t+4+n]+A[t+8+n],c=A[t+4+n]-A[t+8+n],u=A[t+0+n]-A[t+12+n];s[0+n]=o+a,s[8+n]=o-a,s[4+n]=u+c,s[12+n]=u-c}for(n=0;4>n;++n)o=(A=s[0+4*n]+3)+s[3+4*n],a=s[1+4*n]+s[2+4*n],c=s[1+4*n]-s[2+4*n],u=A-s[3+4*n],e[r+0]=o+a>>3,e[r+16]=u+c>>3,e[r+32]=o-a>>3,e[r+48]=u-c>>3,r+=64}function ct(A,t,e){var r,n=t-32,i=Nr,s=255-A[n-1];for(r=0;r<e;++r){var o,a=i,c=s+A[t-1];for(o=0;o<e;++o)A[t+o]=a[c+A[n+o]];t+=32}}function ut(A,t){ct(A,t,4)}function lt(A,t){ct(A,t,8)}function ht(A,t){ct(A,t,16)}function ft(A,t){var e;for(e=0;16>e;++e)r(A,t+32*e,A,t-32,16)}function dt(A,t){var e;for(e=16;0<e;--e)n(A,t,A[t-1],16),t+=32}function gt(A,t,e){var r;for(r=0;16>r;++r)n(t,e+32*r,A,16)}function Bt(A,t){var e,r=16;for(e=0;16>e;++e)r+=A[t-1+32*e]+A[t+e-32];gt(r>>5,A,t)}function pt(A,t){var e,r=8;for(e=0;16>e;++e)r+=A[t-1+32*e];gt(r>>4,A,t)}function wt(A,t){var e,r=8;for(e=0;16>e;++e)r+=A[t+e-32];gt(r>>4,A,t)}function mt(A,t){gt(128,A,t)}function Ct(A,t,e){return A+2*t+e+2>>2}function yt(A,t){var e,n=t-32;for(n=new Uint8Array([Ct(A[n-1],A[n+0],A[n+1]),Ct(A[n+0],A[n+1],A[n+2]),Ct(A[n+1],A[n+2],A[n+3]),Ct(A[n+2],A[n+3],A[n+4])]),e=0;4>e;++e)r(A,t+32*e,n,0,n.length)}function Qt(A,t){var e=A[t-1],r=A[t-1+32],n=A[t-1+64],i=A[t-1+96];I(A,t+0,16843009*Ct(A[t-1-32],e,r)),I(A,t+32,16843009*Ct(e,r,n)),I(A,t+64,16843009*Ct(r,n,i)),I(A,t+96,16843009*Ct(n,i,i))}function vt(A,t){var e,r=4;for(e=0;4>e;++e)r+=A[t+e-32]+A[t-1+32*e];for(r>>=3,e=0;4>e;++e)n(A,t+32*e,r,4)}function bt(A,t){var e=A[t-1+0],r=A[t-1+32],n=A[t-1+64],i=A[t-1-32],s=A[t+0-32],o=A[t+1-32],a=A[t+2-32],c=A[t+3-32];A[t+0+96]=Ct(r,n,A[t-1+96]),A[t+1+96]=A[t+0+64]=Ct(e,r,n),A[t+2+96]=A[t+1+64]=A[t+0+32]=Ct(i,e,r),A[t+3+96]=A[t+2+64]=A[t+1+32]=A[t+0+0]=Ct(s,i,e),A[t+3+64]=A[t+2+32]=A[t+1+0]=Ct(o,s,i),A[t+3+32]=A[t+2+0]=Ct(a,o,s),A[t+3+0]=Ct(c,a,o)}function Ft(A,t){var e=A[t+1-32],r=A[t+2-32],n=A[t+3-32],i=A[t+4-32],s=A[t+5-32],o=A[t+6-32],a=A[t+7-32];A[t+0+0]=Ct(A[t+0-32],e,r),A[t+1+0]=A[t+0+32]=Ct(e,r,n),A[t+2+0]=A[t+1+32]=A[t+0+64]=Ct(r,n,i),A[t+3+0]=A[t+2+32]=A[t+1+64]=A[t+0+96]=Ct(n,i,s),A[t+3+32]=A[t+2+64]=A[t+1+96]=Ct(i,s,o),A[t+3+64]=A[t+2+96]=Ct(s,o,a),A[t+3+96]=Ct(o,a,a)}function Ut(A,t){var e=A[t-1+0],r=A[t-1+32],n=A[t-1+64],i=A[t-1-32],s=A[t+0-32],o=A[t+1-32],a=A[t+2-32],c=A[t+3-32];A[t+0+0]=A[t+1+64]=i+s+1>>1,A[t+1+0]=A[t+2+64]=s+o+1>>1,A[t+2+0]=A[t+3+64]=o+a+1>>1,A[t+3+0]=a+c+1>>1,A[t+0+96]=Ct(n,r,e),A[t+0+64]=Ct(r,e,i),A[t+0+32]=A[t+1+96]=Ct(e,i,s),A[t+1+32]=A[t+2+96]=Ct(i,s,o),A[t+2+32]=A[t+3+96]=Ct(s,o,a),A[t+3+32]=Ct(o,a,c)}function Lt(A,t){var e=A[t+0-32],r=A[t+1-32],n=A[t+2-32],i=A[t+3-32],s=A[t+4-32],o=A[t+5-32],a=A[t+6-32],c=A[t+7-32];A[t+0+0]=e+r+1>>1,A[t+1+0]=A[t+0+64]=r+n+1>>1,A[t+2+0]=A[t+1+64]=n+i+1>>1,A[t+3+0]=A[t+2+64]=i+s+1>>1,A[t+0+32]=Ct(e,r,n),A[t+1+32]=A[t+0+96]=Ct(r,n,i),A[t+2+32]=A[t+1+96]=Ct(n,i,s),A[t+3+32]=A[t+2+96]=Ct(i,s,o),A[t+3+64]=Ct(s,o,a),A[t+3+96]=Ct(o,a,c)}function Et(A,t){var e=A[t-1+0],r=A[t-1+32],n=A[t-1+64],i=A[t-1+96];A[t+0+0]=e+r+1>>1,A[t+2+0]=A[t+0+32]=r+n+1>>1,A[t+2+32]=A[t+0+64]=n+i+1>>1,A[t+1+0]=Ct(e,r,n),A[t+3+0]=A[t+1+32]=Ct(r,n,i),A[t+3+32]=A[t+1+64]=Ct(n,i,i),A[t+3+64]=A[t+2+64]=A[t+0+96]=A[t+1+96]=A[t+2+96]=A[t+3+96]=i}function It(A,t){var e=A[t-1+0],r=A[t-1+32],n=A[t-1+64],i=A[t-1+96],s=A[t-1-32],o=A[t+0-32],a=A[t+1-32],c=A[t+2-32];A[t+0+0]=A[t+2+32]=e+s+1>>1,A[t+0+32]=A[t+2+64]=r+e+1>>1,A[t+0+64]=A[t+2+96]=n+r+1>>1,A[t+0+96]=i+n+1>>1,A[t+3+0]=Ct(o,a,c),A[t+2+0]=Ct(s,o,a),A[t+1+0]=A[t+3+32]=Ct(e,s,o),A[t+1+32]=A[t+3+64]=Ct(r,e,s),A[t+1+64]=A[t+3+96]=Ct(n,r,e),A[t+1+96]=Ct(i,n,r)}function xt(A,t){var e;for(e=0;8>e;++e)r(A,t+32*e,A,t-32,8)}function Ht(A,t){var e;for(e=0;8>e;++e)n(A,t,A[t-1],8),t+=32}function Nt(A,t,e){var r;for(r=0;8>r;++r)n(t,e+32*r,A,8)}function St(A,t){var e,r=8;for(e=0;8>e;++e)r+=A[t+e-32]+A[t-1+32*e];Nt(r>>4,A,t)}function _t(A,t){var e,r=4;for(e=0;8>e;++e)r+=A[t+e-32];Nt(r>>3,A,t)}function kt(A,t){var e,r=4;for(e=0;8>e;++e)r+=A[t-1+32*e];Nt(r>>3,A,t)}function Pt(A,t){Nt(128,A,t)}function Dt(A,t,e){var r=A[t-e],n=A[t+0],i=3*(n-r)+xr[1020+A[t-2*e]-A[t+e]],s=Hr[112+(i+4>>3)];A[t-e]=Nr[255+r+Hr[112+(i+3>>3)]],A[t+0]=Nr[255+n-s]}function Mt(A,t,e,r){var n=A[t+0],i=A[t+e];return Sr[255+A[t-2*e]-A[t-e]]>r||Sr[255+i-n]>r}function Ot(A,t,e,r){return 4*Sr[255+A[t-e]-A[t+0]]+Sr[255+A[t-2*e]-A[t+e]]<=r}function Tt(A,t,e,r,n){var i=A[t-3*e],s=A[t-2*e],o=A[t-e],a=A[t+0],c=A[t+e],u=A[t+2*e],l=A[t+3*e];return 4*Sr[255+o-a]+Sr[255+s-c]>r?0:Sr[255+A[t-4*e]-i]<=n&&Sr[255+i-s]<=n&&Sr[255+s-o]<=n&&Sr[255+l-u]<=n&&Sr[255+u-c]<=n&&Sr[255+c-a]<=n}function Kt(A,t,e,r){var n=2*r+1;for(r=0;16>r;++r)Ot(A,t+r,e,n)&&Dt(A,t+r,e)}function Rt(A,t,e,r){var n=2*r+1;for(r=0;16>r;++r)Ot(A,t+r*e,1,n)&&Dt(A,t+r*e,1)}function jt(A,t,e,r){var n;for(n=3;0<n;--n)Kt(A,t+=4*e,e,r)}function Gt(A,t,e,r){var n;for(n=3;0<n;--n)Rt(A,t+=4,e,r)}function Vt(A,t,e,r,n,i,s,o){for(i=2*i+1;0<n--;){if(Tt(A,t,e,i,s))if(Mt(A,t,e,o))Dt(A,t,e);else{var a=A,c=t,u=e,l=a[c-2*u],h=a[c-u],f=a[c+0],d=a[c+u],g=a[c+2*u],B=27*(w=xr[1020+3*(f-h)+xr[1020+l-d]])+63>>7,p=18*w+63>>7,w=9*w+63>>7;a[c-3*u]=Nr[255+a[c-3*u]+w],a[c-2*u]=Nr[255+l+p],a[c-u]=Nr[255+h+B],a[c+0]=Nr[255+f-B],a[c+u]=Nr[255+d-p],a[c+2*u]=Nr[255+g-w]}t+=r}}function qt(A,t,e,r,n,i,s,o){for(i=2*i+1;0<n--;){if(Tt(A,t,e,i,s))if(Mt(A,t,e,o))Dt(A,t,e);else{var a=A,c=t,u=e,l=a[c-u],h=a[c+0],f=a[c+u],d=Hr[112+(4+(g=3*(h-l))>>3)],g=Hr[112+(g+3>>3)],B=d+1>>1;a[c-2*u]=Nr[255+a[c-2*u]+B],a[c-u]=Nr[255+l+g],a[c+0]=Nr[255+h-d],a[c+u]=Nr[255+f-B]}t+=r}}function Wt(A,t,e,r,n,i){Vt(A,t,e,1,16,r,n,i)}function Xt(A,t,e,r,n,i){Vt(A,t,1,e,16,r,n,i)}function Jt(A,t,e,r,n,i){var s;for(s=3;0<s;--s)qt(A,t+=4*e,e,1,16,r,n,i)}function zt(A,t,e,r,n,i){var s;for(s=3;0<s;--s)qt(A,t+=4,1,e,16,r,n,i)}function Yt(A,t,e,r,n,i,s,o){Vt(A,t,n,1,8,i,s,o),Vt(e,r,n,1,8,i,s,o)}function Zt(A,t,e,r,n,i,s,o){Vt(A,t,1,n,8,i,s,o),Vt(e,r,1,n,8,i,s,o)}function $t(A,t,e,r,n,i,s,o){qt(A,t+4*n,n,1,8,i,s,o),qt(e,r+4*n,n,1,8,i,s,o)}function Ae(A,t,e,r,n,i,s,o){qt(A,t+4,1,n,8,i,s,o),qt(e,r+4,1,n,8,i,s,o)}function te(){this.ba=new sA,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new aA,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function ee(){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 re(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function ne(){this.ua=0,this.Wa=new k,this.vb=new k,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new f,this.yc=new l}function ie(){this.xb=this.a=0,this.l=new qA,this.ca=new sA,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new y,this.Pb=0,this.wd=new y,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new ne,this.ab=0,this.gc=s(4,re),this.Oc=0}function se(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new qA,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function oe(A,t,e,r,n,i,s){for(A=null==A?0:A[t+0],t=0;t<s;++t)n[i+t]=A+e[r+t]&255,A=n[i+t]}function ae(A,t,e,r,n,i,s){var o;if(null==A)oe(null,null,e,r,n,i,s);else for(o=0;o<s;++o)n[i+o]=A[t+o]+e[r+o]&255}function ce(A,t,e,r,n,i,s){if(null==A)oe(null,null,e,r,n,i,s);else{var o,a=A[t+0],c=a,u=a;for(o=0;o<s;++o)c=u+(a=A[t+o])-c,u=e[r+o]+(-256&c?0>c?0:255:c)&255,c=a,n[i+o]=u}}function ue(A,e,n,s){var o=e.width,a=e.o;if(t(null!=A&&null!=e),0>n||0>=s||n+s>a)return null;if(!A.Cc){if(null==A.ga){var c;if(A.ga=new se,(c=null==A.ga)||(c=e.width*e.o,t(0==A.Gb.length),A.Gb=i(c),A.Uc=0,null==A.Gb?c=0:(A.mb=A.Gb,A.nb=A.Uc,A.rc=null,c=1),c=!c),!c){c=A.ga;var u=A.Fa,l=A.P,h=A.qc,f=A.mb,d=A.nb,g=l+1,B=h-1,w=c.l;if(t(null!=u&&null!=f&&null!=e),gn[0]=null,gn[1]=oe,gn[2]=ae,gn[3]=ce,c.ca=f,c.tb=d,c.c=e.width,c.i=e.height,t(0<c.c&&0<c.i),1>=h)e=0;else if(c.$a=3&u[l+0],c.Z=u[l+0]>>2&3,c.Lc=u[l+0]>>4&3,l=u[l+0]>>6&3,0>c.$a||1<c.$a||4<=c.Z||1<c.Lc||l)e=0;else if(w.put=fA,w.ac=hA,w.bc=dA,w.ma=c,w.width=e.width,w.height=e.height,w.Da=e.Da,w.v=e.v,w.va=e.va,w.j=e.j,w.o=e.o,c.$a)A:{t(1==c.$a),e=EA();t:for(;;){if(null==e){e=0;break A}if(t(null!=c),c.mc=e,e.c=c.c,e.i=c.i,e.l=c.l,e.l.ma=c,e.l.width=c.c,e.l.height=c.i,e.a=0,p(e.m,u,g,B),!IA(c.c,c.i,1,e,null))break t;if(1==e.ab&&3==e.gc[0].hc&&vA(e.s)?(c.ic=1,u=e.c*e.i,e.Ta=null,e.Ua=0,e.V=i(u),e.Ba=0,null==e.V?(e.a=1,e=0):e=1):(c.ic=0,e=xA(e,c.c)),!e)break t;e=1;break A}c.mc=null,e=0}else e=B>=c.c*c.i;c=!e}if(c)return null;1!=A.ga.Lc?A.Ga=0:s=a-n}t(null!=A.ga),t(n+s<=a);A:{if(e=(u=A.ga).c,a=u.l.o,0==u.$a){if(g=A.rc,B=A.Vc,w=A.Fa,l=A.P+1+n*e,h=A.mb,f=A.nb+n*e,t(l<=A.P+A.qc),0!=u.Z)for(t(null!=gn[u.Z]),c=0;c<s;++c)gn[u.Z](g,B,w,l,h,f,e),g=h,B=f,f+=e,l+=e;else for(c=0;c<s;++c)r(h,f,w,l,e),g=h,B=f,f+=e,l+=e;A.rc=g,A.Vc=B}else{if(t(null!=u.mc),e=n+s,t(null!=(c=u.mc)),t(e<=c.i),c.C>=e)e=1;else if(u.ic||ge(),u.ic){u=c.V,g=c.Ba,B=c.c;var m=c.i,C=(w=1,l=c.$/B,h=c.$%B,f=c.m,d=c.s,c.$),y=B*m,Q=B*e,b=d.wc,U=C<Q?CA(d,h,l):null;t(C<=y),t(e<=m),t(vA(d));t:for(;;){for(;!f.h&&C<Q;){if(h&b||(U=CA(d,h,l)),t(null!=U),F(f),256>(m=wA(U.G[0],U.H[0],f)))u[g+C]=m,++C,++h>=B&&(h=0,++l<=e&&!(l%16)&&FA(c,l));else{if(!(280>m)){w=0;break t}m=BA(m-256,f);var L,E=wA(U.G[4],U.H[4],f);if(F(f),!(C>=(E=pA(B,E=BA(E,f)))&&y-C>=m)){w=0;break t}for(L=0;L<m;++L)u[g+C+L]=u[g+C+L-E];for(C+=m,h+=m;h>=B;)h-=B,++l<=e&&!(l%16)&&FA(c,l);C<Q&&h&b&&(U=CA(d,h,l))}t(f.h==v(f))}FA(c,l>e?e:l);break t}!w||f.h&&C<y?(w=0,c.a=f.h?5:3):c.$=C,e=w}else e=UA(c,c.V,c.Ba,c.c,c.i,e,HA);if(!e){s=0;break A}}n+s>=a&&(A.Cc=1),s=1}if(!s)return null;if(A.Cc&&(null!=(s=A.ga)&&(s.mc=null),A.ga=null,0<A.Ga))return alert("todo:WebPDequantizeLevels"),null}return A.nb+n*o}function le(A,t,e,r,n,i){for(;0<n--;){var s,o=A,a=t+(e?1:0),c=A,u=t+(e?0:3);for(s=0;s<r;++s){var l=c[u+4*s];255!=l&&(l*=32897,o[a+4*s+0]=o[a+4*s+0]*l>>23,o[a+4*s+1]=o[a+4*s+1]*l>>23,o[a+4*s+2]=o[a+4*s+2]*l>>23)}t+=i}}function he(A,t,e,r,n){for(;0<r--;){var i;for(i=0;i<e;++i){var s=A[t+2*i+0],o=15&(c=A[t+2*i+1]),a=4369*o,c=(240&c|c>>4)*a>>16;A[t+2*i+0]=(240&s|s>>4)*a>>16&240|(15&s|s<<4)*a>>16>>4&15,A[t+2*i+1]=240&c|o}t+=n}}function fe(A,t,e,r,n,i,s,o){var a,c,u=255;for(c=0;c<n;++c){for(a=0;a<r;++a){var l=A[t+a];i[s+4*a]=l,u&=l}t+=e,s+=o}return 255!=u}function de(A,t,e,r,n){var i;for(i=0;i<n;++i)e[r+i]=A[t+i]>>8}function ge(){yr=le,Qr=he,vr=fe,br=de}function Be(e,r,n){A[e]=function(A,e,i,s,o,a,c,u,l,h,f,d,g,B,p,w,m){var C,y=m-1>>1,Q=o[a+0]|c[u+0]<<16,v=l[h+0]|f[d+0]<<16;t(null!=A);var b=3*Q+v+131074>>2;for(r(A[e+0],255&b,b>>16,g,B),null!=i&&(b=3*v+Q+131074>>2,r(i[s+0],255&b,b>>16,p,w)),C=1;C<=y;++C){var F=o[a+C]|c[u+C]<<16,U=l[h+C]|f[d+C]<<16,L=Q+F+v+U+524296,E=L+2*(F+v)>>3;b=E+Q>>1,Q=(L=L+2*(Q+U)>>3)+F>>1,r(A[e+2*C-1],255&b,b>>16,g,B+(2*C-1)*n),r(A[e+2*C-0],255&Q,Q>>16,g,B+(2*C-0)*n),null!=i&&(b=L+v>>1,Q=E+U>>1,r(i[s+2*C-1],255&b,b>>16,p,w+(2*C-1)*n),r(i[s+2*C+0],255&Q,Q>>16,p,w+(2*C+0)*n)),Q=F,v=U}1&m||(b=3*Q+v+131074>>2,r(A[e+m-1],255&b,b>>16,g,B+(m-1)*n),null!=i&&(b=3*v+Q+131074>>2,r(i[s+m-1],255&b,b>>16,p,w+(m-1)*n)))}}function pe(){Bn[_r]=pn,Bn[kr]=mn,Bn[Pr]=wn,Bn[Dr]=Cn,Bn[Mr]=yn,Bn[Or]=Qn,Bn[Tr]=vn,Bn[Kr]=mn,Bn[Rr]=Cn,Bn[jr]=yn,Bn[Gr]=Qn}function we(A){return-16384&A?0>A?0:255:A>>En}function me(A,t){return we((19077*A>>8)+(26149*t>>8)-14234)}function Ce(A,t,e){return we((19077*A>>8)-(6419*t>>8)-(13320*e>>8)+8708)}function ye(A,t){return we((19077*A>>8)+(33050*t>>8)-17685)}function Qe(A,t,e,r,n){r[n+0]=me(A,e),r[n+1]=Ce(A,t,e),r[n+2]=ye(A,t)}function ve(A,t,e,r,n){r[n+0]=ye(A,t),r[n+1]=Ce(A,t,e),r[n+2]=me(A,e)}function be(A,t,e,r,n){var i=Ce(A,t,e);t=i<<3&224|ye(A,t)>>3,r[n+0]=248&me(A,e)|i>>5,r[n+1]=t}function Fe(A,t,e,r,n){var i=240&ye(A,t)|15;r[n+0]=240&me(A,e)|Ce(A,t,e)>>4,r[n+1]=i}function Ue(A,t,e,r,n){r[n+0]=255,Qe(A,t,e,r,n+1)}function Le(A,t,e,r,n){ve(A,t,e,r,n),r[n+3]=255}function Ee(A,t,e,r,n){Qe(A,t,e,r,n),r[n+3]=255}function VA(A,t){return 0>A?0:A>t?t:A}function Ie(t,e,r){A[t]=function(A,t,n,i,s,o,a,c,u){for(var l=c+(-2&u)*r;c!=l;)e(A[t+0],n[i+0],s[o+0],a,c),e(A[t+1],n[i+0],s[o+0],a,c+r),t+=2,++i,++o,c+=2*r;1&u&&e(A[t+0],n[i+0],s[o+0],a,c)}}function xe(A,t,e){return 0==e?0==A?0==t?6:5:0==t?4:0:e}function He(A,t,e,r,n){switch(A>>>30){case 3:nr(t,e,r,n,0);break;case 2:ir(t,e,r,n);break;case 1:or(t,e,r,n)}}function Ne(A,t){var e,i,s=t.M,o=t.Nb,a=A.oc,c=A.pc+40,u=A.oc,l=A.pc+584,h=A.oc,f=A.pc+600;for(e=0;16>e;++e)a[c+32*e-1]=129;for(e=0;8>e;++e)u[l+32*e-1]=129,h[f+32*e-1]=129;for(0<s?a[c-1-32]=u[l-1-32]=h[f-1-32]=129:(n(a,c-32-1,127,21),n(u,l-32-1,127,9),n(h,f-32-1,127,9)),i=0;i<A.za;++i){var d=t.ya[t.aa+i];if(0<i){for(e=-1;16>e;++e)r(a,c+32*e-4,a,c+32*e+12,4);for(e=-1;8>e;++e)r(u,l+32*e-4,u,l+32*e+4,4),r(h,f+32*e-4,h,f+32*e+4,4)}var g=A.Gd,B=A.Hd+i,p=d.ad,w=d.Hc;if(0<s&&(r(a,c-32,g[B].y,0,16),r(u,l-32,g[B].f,0,8),r(h,f-32,g[B].ea,0,8)),d.Za){var m=a,C=c-32+16;for(0<s&&(i>=A.za-1?n(m,C,g[B].y[15],4):r(m,C,g[B+1].y,0,4)),e=0;4>e;e++)m[C+128+e]=m[C+256+e]=m[C+384+e]=m[C+0+e];for(e=0;16>e;++e,w<<=2)m=a,C=c+Pn[e],ln[d.Ob[e]](m,C),He(w,p,16*+e,m,C)}else if(m=xe(i,s,d.Ob[0]),un[m](a,c),0!=w)for(e=0;16>e;++e,w<<=2)He(w,p,16*+e,a,c+Pn[e]);for(e=d.Gc,m=xe(i,s,d.Dd),hn[m](u,l),hn[m](h,f),w=p,m=u,C=l,255&(d=0|e)&&(170&d?sr(w,256,m,C):ar(w,256,m,C)),d=h,w=f,255&(e>>=8)&&(170&e?sr(p,320,d,w):ar(p,320,d,w)),s<A.Ub-1&&(r(g[B].y,0,a,c+480,16),r(g[B].f,0,u,l+224,8),r(g[B].ea,0,h,f+224,8)),e=8*o*A.B,g=A.sa,B=A.ta+16*i+16*o*A.R,p=A.qa,d=A.ra+8*i+e,w=A.Ha,m=A.Ia+8*i+e,e=0;16>e;++e)r(g,B+e*A.R,a,c+32*e,16);for(e=0;8>e;++e)r(p,d+e*A.B,u,l+32*e,8),r(w,m+e*A.B,h,f+32*e,8)}}function Se(A,r,n,i,s,o,a,c,u){var l=[0],h=[0],f=0,d=null!=u?u.kd:0,g=null!=u?u:new ee;if(null==A||12>n)return 7;g.data=A,g.w=r,g.ha=n,r=[r],n=[n],g.gb=[g.gb];A:{var B=r,w=n,m=g.gb;if(t(null!=A),t(null!=w),t(null!=m),m[0]=0,12<=w[0]&&!e(A,B[0],"RIFF")){if(e(A,B[0]+8,"WEBP")){m=3;break A}var C=N(A,B[0]+4);if(12>C||4294967286<C){m=3;break A}if(d&&C>w[0]-8){m=7;break A}m[0]=C,B[0]+=12,w[0]-=12}m=0}if(0!=m)return m;for(C=0<g.gb[0],n=n[0];;){A:{var Q=A;w=r,m=n;var v=l,b=h,F=B=[0];if((E=f=[f])[0]=0,8>m[0])m=7;else{if(!e(Q,w[0],"VP8X")){if(10!=N(Q,w[0]+4)){m=3;break A}if(18>m[0]){m=7;break A}var U=N(Q,w[0]+8),L=1+H(Q,w[0]+12);if(2147483648<=L*(Q=1+H(Q,w[0]+15))){m=3;break A}null!=F&&(F[0]=U),null!=v&&(v[0]=L),null!=b&&(b[0]=Q),w[0]+=18,m[0]-=18,E[0]=1}m=0}}if(f=f[0],B=B[0],0!=m)return m;if(w=!!(2&B),!C&&f)return 3;if(null!=o&&(o[0]=!!(16&B)),null!=a&&(a[0]=w),null!=c&&(c[0]=0),a=l[0],B=h[0],f&&w&&null==u){m=0;break}if(4>n){m=7;break}if(C&&f||!C&&!f&&!e(A,r[0],"ALPH")){n=[n],g.na=[g.na],g.P=[g.P],g.Sa=[g.Sa];A:{U=A,m=r,C=n;var E=g.gb;v=g.na,b=g.P,F=g.Sa,L=22,t(null!=U),t(null!=C),Q=m[0];var I=C[0];for(t(null!=v),t(null!=F),v[0]=null,b[0]=null,F[0]=0;;){if(m[0]=Q,C[0]=I,8>I){m=7;break A}var x=N(U,Q+4);if(4294967286<x){m=3;break A}var S=8+x+1&-2;if(L+=S,0<E&&L>E){m=3;break A}if(!e(U,Q,"VP8 ")||!e(U,Q,"VP8L")){m=0;break A}if(I[0]<S){m=7;break A}e(U,Q,"ALPH")||(v[0]=U,b[0]=Q+8,F[0]=x),Q+=S,I-=S}}if(n=n[0],g.na=g.na[0],g.P=g.P[0],g.Sa=g.Sa[0],0!=m)break}n=[n],g.Ja=[g.Ja],g.xa=[g.xa];A:if(E=A,m=r,C=n,v=g.gb[0],b=g.Ja,F=g.xa,U=m[0],Q=!e(E,U,"VP8 "),L=!e(E,U,"VP8L"),t(null!=E),t(null!=C),t(null!=b),t(null!=F),8>C[0])m=7;else{if(Q||L){if(E=N(E,U+4),12<=v&&E>v-12){m=3;break A}if(d&&E>C[0]-8){m=7;break A}b[0]=E,m[0]+=8,C[0]-=8,F[0]=L}else F[0]=5<=C[0]&&47==E[U+0]&&!(E[U+4]>>5),b[0]=C[0];m=0}if(n=n[0],g.Ja=g.Ja[0],g.xa=g.xa[0],r=r[0],0!=m)break;if(4294967286<g.Ja)return 3;if(null==c||w||(c[0]=g.xa?2:1),a=[a],B=[B],g.xa){if(5>n){m=7;break}c=a,d=B,w=o,null==A||5>n?A=0:5<=n&&47==A[r+0]&&!(A[r+4]>>5)?(C=[0],E=[0],v=[0],p(b=new y,A,r,n),gA(b,C,E,v)?(null!=c&&(c[0]=C[0]),null!=d&&(d[0]=E[0]),null!=w&&(w[0]=v[0]),A=1):A=0):A=0}else{if(10>n){m=7;break}c=B,null==A||10>n||!JA(A,r+3,n-3)?A=0:(d=A[r+0]|A[r+1]<<8|A[r+2]<<16,w=16383&(A[r+7]<<8|A[r+6]),A=16383&(A[r+9]<<8|A[r+8]),1&d||3<(d>>1&7)||!(d>>4&1)||d>>5>=g.Ja||!w||!A?A=0:(a&&(a[0]=w),c&&(c[0]=A),A=1))}if(!A)return 3;if(a=a[0],B=B[0],f&&(l[0]!=a||h[0]!=B))return 3;null!=u&&(u[0]=g,u.offset=r-u.w,t(4294967286>r-u.w),t(u.offset==u.ha-n));break}return 0==m||7==m&&f&&null==u?(null!=o&&(o[0]|=null!=g.na&&0<g.na.length),null!=i&&(i[0]=a),null!=s&&(s[0]=B),0):m}function _e(A,t,e){var r=t.width,n=t.height,i=0,s=0,o=r,a=n;if(t.Da=null!=A&&0<A.Da,t.Da&&(o=A.cd,a=A.bd,i=A.v,s=A.j,11>e||(i&=-2,s&=-2),0>i||0>s||0>=o||0>=a||i+o>r||s+a>n))return 0;if(t.v=i,t.j=s,t.va=i+o,t.o=s+a,t.U=o,t.T=a,t.da=null!=A&&0<A.da,t.da){if(!P(o,a,e=[A.ib],i=[A.hb]))return 0;t.ib=e[0],t.hb=i[0]}return t.ob=null!=A&&A.ob,t.Kb=null==A||!A.Sd,t.da&&(t.ob=t.ib<3*r/4&&t.hb<3*n/4,t.Kb=0),1}function ke(A){if(null==A)return 2;if(11>A.S){var t=A.f.RGBA;t.fb+=(A.height-1)*t.A,t.A=-t.A}else t=A.f.kb,A=A.height,t.O+=(A-1)*t.fa,t.fa=-t.fa,t.N+=(A-1>>1)*t.Ab,t.Ab=-t.Ab,t.W+=(A-1>>1)*t.Db,t.Db=-t.Db,null!=t.F&&(t.J+=(A-1)*t.lb,t.lb=-t.lb);return 0}function Pe(A,t,e,r){if(null==r||0>=A||0>=t)return 2;if(null!=e){if(e.Da){var n=e.cd,s=e.bd,o=-2&e.v,a=-2&e.j;if(0>o||0>a||0>=n||0>=s||o+n>A||a+s>t)return 2;A=n,t=s}if(e.da){if(!P(A,t,n=[e.ib],s=[e.hb]))return 2;A=n[0],t=s[0]}}r.width=A,r.height=t;A:{var c=r.width,u=r.height;if(A=r.S,0>=c||0>=u||!(A>=_r&&13>A))A=2;else{if(0>=r.Rd&&null==r.sd){o=s=n=t=0;var l=(a=c*On[A])*u;if(11>A||(s=(u+1)/2*(t=(c+1)/2),12==A&&(o=(n=c)*u)),null==(u=i(l+2*s+o))){A=1;break A}r.sd=u,11>A?((c=r.f.RGBA).eb=u,c.fb=0,c.A=a,c.size=l):((c=r.f.kb).y=u,c.O=0,c.fa=a,c.Fd=l,c.f=u,c.N=0+l,c.Ab=t,c.Cd=s,c.ea=u,c.W=0+l+s,c.Db=t,c.Ed=s,12==A&&(c.F=u,c.J=0+l+2*s),c.Tc=o,c.lb=n)}if(t=1,n=r.S,s=r.width,o=r.height,n>=_r&&13>n)if(11>n)A=r.f.RGBA,t&=(a=Math.abs(A.A))*(o-1)+s<=A.size,t&=a>=s*On[n],t&=null!=A.eb;else{A=r.f.kb,a=(s+1)/2,l=(o+1)/2,c=Math.abs(A.fa),u=Math.abs(A.Ab);var h=Math.abs(A.Db),f=Math.abs(A.lb),d=f*(o-1)+s;t&=c*(o-1)+s<=A.Fd,t&=u*(l-1)+a<=A.Cd,t=(t&=h*(l-1)+a<=A.Ed)&c>=s&u>=a&h>=a,t&=null!=A.y,t&=null!=A.f,t&=null!=A.ea,12==n&&(t&=f>=s,t&=d<=A.Tc,t&=null!=A.F)}else t=0;A=t?0:2}}return 0!=A||null!=e&&e.fd&&(A=ke(r)),A}var De=64,Me=[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],Oe=24,Te=32,Ke=8,Re=[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];O("Predictor0","PredictorAdd0"),A.Predictor0=function(){return 4278190080},A.Predictor1=function(A){return A},A.Predictor2=function(A,t,e){return t[e+0]},A.Predictor3=function(A,t,e){return t[e+1]},A.Predictor4=function(A,t,e){return t[e-1]},A.Predictor5=function(A,t,e){return K(K(A,t[e+1]),t[e+0])},A.Predictor6=function(A,t,e){return K(A,t[e-1])},A.Predictor7=function(A,t,e){return K(A,t[e+0])},A.Predictor8=function(A,t,e){return K(t[e-1],t[e+0])},A.Predictor9=function(A,t,e){return K(t[e+0],t[e+1])},A.Predictor10=function(A,t,e){return K(K(A,t[e-1]),K(t[e+0],t[e+1]))},A.Predictor11=function(A,t,e){var r=t[e+0];return 0>=G(r>>24&255,A>>24&255,(t=t[e-1])>>24&255)+G(r>>16&255,A>>16&255,t>>16&255)+G(r>>8&255,A>>8&255,t>>8&255)+G(255&r,255&A,255&t)?r:A},A.Predictor12=function(A,t,e){var r=t[e+0];return(R((A>>24&255)+(r>>24&255)-((t=t[e-1])>>24&255))<<24|R((A>>16&255)+(r>>16&255)-(t>>16&255))<<16|R((A>>8&255)+(r>>8&255)-(t>>8&255))<<8|R((255&A)+(255&r)-(255&t)))>>>0},A.Predictor13=function(A,t,e){var r=t[e-1];return(j((A=K(A,t[e+0]))>>24&255,r>>24&255)<<24|j(A>>16&255,r>>16&255)<<16|j(A>>8&255,r>>8&255)<<8|j(255&A,255&r))>>>0};var je=A.PredictorAdd0;A.PredictorAdd1=V,O("Predictor2","PredictorAdd2"),O("Predictor3","PredictorAdd3"),O("Predictor4","PredictorAdd4"),O("Predictor5","PredictorAdd5"),O("Predictor6","PredictorAdd6"),O("Predictor7","PredictorAdd7"),O("Predictor8","PredictorAdd8"),O("Predictor9","PredictorAdd9"),O("Predictor10","PredictorAdd10"),O("Predictor11","PredictorAdd11"),O("Predictor12","PredictorAdd12"),O("Predictor13","PredictorAdd13");var Ge=A.PredictorAdd2;J("ColorIndexInverseTransform","MapARGB","32b",(function(A){return A>>8&255}),(function(A){return A})),J("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",(function(A){return A}),(function(A){return A>>8&255}));var Ve,qe=A.ColorIndexInverseTransform,We=A.MapARGB,Xe=A.VP8LColorIndexInverseTransformAlpha,Je=A.MapAlpha,ze=A.VP8LPredictorsAdd=[];ze.length=16,(A.VP8LPredictors=[]).length=16,(A.VP8LPredictorsAdd_C=[]).length=16,(A.VP8LPredictors_C=[]).length=16;var Ye,Ze,$e,Ar,tr,er,rr,nr,ir,sr,or,ar,cr,ur,lr,hr,fr,dr,gr,Br,pr,wr,mr,Cr,yr,Qr,vr,br,Fr=i(511),Ur=i(2041),Lr=i(225),Er=i(767),Ir=0,xr=Ur,Hr=Lr,Nr=Er,Sr=Fr,_r=0,kr=1,Pr=2,Dr=3,Mr=4,Or=5,Tr=6,Kr=7,Rr=8,jr=9,Gr=10,Vr=[2,3,7],qr=[3,3,11],Wr=[280,256,256,256,40],Xr=[0,1,1,1,0],Jr=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],zr=[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],Yr=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Zr=8,$r=[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],An=[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],tn=null,en=[[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]],rn=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],nn=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],sn=[[[[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,255,128,128,128,128,128,128,128,128]],[[1,134,252,255,255,128,128,128,128,128,128],[213,62,250,255,255,128,128,128,128,128,128],[55,93,255,128,128,128,128,128,128,128,128]],[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]]],[[[202,24,213,235,186,191,220,160,240,175,255],[126,38,182,232,169,184,228,174,255,187,128],[61,46,138,219,151,178,240,170,255,216,128]],[[1,112,230,250,199,191,247,159,255,255,128],[166,109,228,252,211,215,255,174,128,128,128],[39,77,162,232,172,180,245,178,255,255,128]],[[1,52,220,246,198,199,249,220,255,255,128],[124,74,191,243,183,193,250,221,255,255,128],[24,71,130,219,154,170,243,182,255,255,128]],[[1,182,225,249,219,240,255,224,128,128,128],[149,150,226,252,216,205,255,171,128,128,128],[28,108,170,242,183,194,254,223,255,255,128]],[[1,81,230,252,204,203,255,192,128,128,128],[123,102,209,247,188,196,255,233,128,128,128],[20,95,153,243,164,173,255,203,128,128,128]],[[1,222,248,255,216,213,128,128,128,128,128],[168,175,246,252,235,205,255,255,128,128,128],[47,116,215,255,211,212,255,255,128,128,128]],[[1,121,236,253,212,214,255,255,128,128,128],[141,84,213,252,201,202,255,219,128,128,128],[42,80,160,240,162,185,255,205,128,128,128]],[[1,1,255,128,128,128,128,128,128,128,128],[244,1,255,128,128,128,128,128,128,128,128],[238,1,255,128,128,128,128,128,128,128,128]]]],on=[[[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,1,197],[56,21,39,155,60,138,23,102,213],[83,12,13,54,192,255,68,47,28],[85,26,85,85,128,128,32,146,171],[18,11,7,63,144,171,4,4,246],[35,27,10,146,174,171,12,26,128]],[[190,80,35,99,180,80,126,54,45],[85,126,47,87,176,51,41,20,32],[101,75,128,139,118,146,116,128,85],[56,41,15,176,236,85,37,9,62],[71,30,17,119,118,255,17,18,138],[101,38,60,138,55,70,43,26,142],[146,36,19,30,171,255,97,27,20],[138,45,61,62,219,1,81,188,64],[32,41,20,117,151,142,20,21,163],[112,19,12,61,195,128,48,4,24]]],an=[[[[255,255,255,255,255,255,255,255,255,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,255,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]]]],cn=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],un=[],ln=[],hn=[],fn=1,dn=2,gn=[],Bn=[];Be("UpsampleRgbLinePair",Qe,3),Be("UpsampleBgrLinePair",ve,3),Be("UpsampleRgbaLinePair",Ee,4),Be("UpsampleBgraLinePair",Le,4),Be("UpsampleArgbLinePair",Ue,4),Be("UpsampleRgba4444LinePair",Fe,2),Be("UpsampleRgb565LinePair",be,2);var pn=A.UpsampleRgbLinePair,wn=A.UpsampleBgrLinePair,mn=A.UpsampleRgbaLinePair,Cn=A.UpsampleBgraLinePair,yn=A.UpsampleArgbLinePair,Qn=A.UpsampleRgba4444LinePair,vn=A.UpsampleRgb565LinePair,bn=16,Fn=1<<bn-1,Un=-227,Ln=482,En=6,In=0,xn=i(256),Hn=i(256),Nn=i(256),Sn=i(256),_n=i(Ln-Un),kn=i(Ln-Un);Ie("YuvToRgbRow",Qe,3),Ie("YuvToBgrRow",ve,3),Ie("YuvToRgbaRow",Ee,4),Ie("YuvToBgraRow",Le,4),Ie("YuvToArgbRow",Ue,4),Ie("YuvToRgba4444Row",Fe,2),Ie("YuvToRgb565Row",be,2);var Pn=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Dn=[0,2,8],Mn=[8,7,6,4,4,2,2,2,1,1,1,1];this.WebPDecodeRGBA=function(A,e,o,a,c){var u=kr,l=new te,h=new sA;l.ba=h,h.S=u,h.width=[h.width],h.height=[h.height];var f=h.width,d=h.height,g=new oA;if(null==g||null==A)var B=2;else t(null!=g),B=Se(A,e,o,g.width,g.height,g.Pd,g.Qd,g.format,null);if(0!=B?f=0:(null!=f&&(f[0]=g.width[0]),null!=d&&(d[0]=g.height[0]),f=1),f){h.width=h.width[0],h.height=h.height[0],null!=a&&(a[0]=h.width),null!=c&&(c[0]=h.height);A:{if(a=new qA,(c=new ee).data=A,c.w=e,c.ha=o,c.kd=1,e=[0],t(null!=c),(0==(A=Se(c.data,c.w,c.ha,null,null,null,e,null,c))||7==A)&&e[0]&&(A=4),0==(e=A)){if(t(null!=l),a.data=c.data,a.w=c.w+c.offset,a.ha=c.ha-c.offset,a.put=fA,a.ac=hA,a.bc=dA,a.ma=l,c.xa){if(null==(A=EA())){l=1;break A}if(function(A,e){var r=[0],n=[0],i=[0];t:for(;;){if(null==A)return 0;if(null==e)return A.a=2,0;if(A.l=e,A.a=0,p(A.m,e.data,e.w,e.ha),!gA(A.m,r,n,i)){A.a=3;break t}if(A.xb=dn,e.width=r[0],e.height=n[0],!IA(r[0],n[0],1,A,null))break t;return 1}return t(0!=A.a),0}(A,a)){if(a=0==(e=Pe(a.width,a.height,l.Oa,l.ba))){t:{a=A;e:for(;;){if(null==a){a=0;break t}if(t(null!=a.s.yc),t(null!=a.s.Ya),t(0<a.s.Wb),t(null!=(o=a.l)),t(null!=(c=o.ma)),0!=a.xb){if(a.ca=c.ba,a.tb=c.tb,t(null!=a.ca),!_e(c.Oa,o,Dr)){a.a=2;break e}if(!xA(a,o.width))break e;if(o.da)break e;if((o.da||rA(a.ca.S))&&ge(),11>a.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),null!=a.ca.f.kb.F&&ge()),a.Pb&&0<a.s.ua&&null==a.s.vb.X&&!S(a.s.vb,a.s.Wa.Xa)){a.a=1;break e}a.xb=0}if(!UA(a,a.V,a.Ba,a.c,a.i,o.o,QA))break e;c.Dc=a.Ma,a=1;break t}t(0!=a.a),a=0}a=!a}a&&(e=A.a)}else e=A.a}else{if(null==(A=new WA)){l=1;break A}if(A.Fa=c.na,A.P=c.P,A.qc=c.Sa,zA(A,a)){if(0==(e=Pe(a.width,a.height,l.Oa,l.ba))){if(A.Aa=0,o=l.Oa,t(null!=(c=A)),null!=o){if(0<(f=0>(f=o.Md)?0:100<f?255:255*f/100)){for(d=g=0;4>d;++d)12>(B=c.pb[d]).lc&&(B.ia=f*Mn[0>B.lc?0:B.lc]>>3),g|=B.ia;g&&(alert("todo:VP8InitRandom"),c.ia=1)}c.Ga=o.Id,100<c.Ga?c.Ga=100:0>c.Ga&&(c.Ga=0)}(function(A,e){if(null==A)return 0;if(null==e)return XA(A,2,"NULL VP8Io parameter in VP8Decode().");if(!A.cb&&!zA(A,e))return 0;if(t(A.cb),null==e.ac||e.ac(e)){e.ob&&(A.L=0);var o=Dn[A.L];if(2==A.L?(A.yb=0,A.zb=0):(A.yb=e.v-o>>4,A.zb=e.j-o>>4,0>A.yb&&(A.yb=0),0>A.zb&&(A.zb=0)),A.Va=e.o+15+o>>4,A.Hb=e.va+15+o>>4,A.Hb>A.za&&(A.Hb=A.za),A.Va>A.Ub&&(A.Va=A.Ub),0<A.L){var a=A.ed;for(o=0;4>o;++o){var c;if(A.Qa.Cb){var u=A.Qa.Lb[o];A.Qa.Fb||(u+=a.Tb)}else u=a.Tb;for(c=0;1>=c;++c){var l=A.gd[o][c],h=u;if(a.Pc&&(h+=a.vd[0],c&&(h+=a.od[0])),0<(h=0>h?0:63<h?63:h)){var f=h;0<a.wb&&(f=4<a.wb?f>>2:f>>1)>9-a.wb&&(f=9-a.wb),1>f&&(f=1),l.dd=f,l.tc=2*h+f,l.ld=40<=h?2:15<=h?1:0}else l.tc=0;l.La=c}}}o=0}else XA(A,6,"Frame setup failed"),o=A.a;if(o=0==o){if(o){A.$c=0,0<A.Aa||(A.Ic=1);t:{o=A.Ic,a=4*(f=A.za);var d=32*f,g=f+1,B=0<A.L?f*(0<A.Aa?2:1):0,p=(2==A.Aa?2:1)*f;if((l=a+832+(c=3*(16*o+Dn[A.L])/2*d)+(u=null!=A.Fa&&0<A.Fa.length?A.Kc.c*A.Kc.i:0))!=l)o=0;else{if(l>A.Vb){if(A.Vb=0,A.Ec=i(l),A.Fc=0,null==A.Ec){o=XA(A,1,"no memory during frame initialization.");break t}A.Vb=l}l=A.Ec,h=A.Fc,A.Ac=l,A.Bc=h,h+=a,A.Gd=s(d,jA),A.Hd=0,A.rb=s(g+1,OA),A.sb=1,A.wa=B?s(B,MA):null,A.Y=0,A.D.Nb=0,A.D.wa=A.wa,A.D.Y=A.Y,0<A.Aa&&(A.D.Y+=f),t(!0),A.oc=l,A.pc=h,h+=832,A.ya=s(p,KA),A.aa=0,A.D.ya=A.ya,A.D.aa=A.aa,2==A.Aa&&(A.D.aa+=f),A.R=16*f,A.B=8*f,f=(d=Dn[A.L])*A.R,d=d/2*A.B,A.sa=l,A.ta=h+f,A.qa=A.sa,A.ra=A.ta+16*o*A.R+d,A.Ha=A.qa,A.Ia=A.ra+8*o*A.B+d,A.$c=0,h+=c,A.mb=u?l:null,A.nb=u?h:null,t(h+u<=A.Fc+A.Vb),ZA(A),n(A.Ac,A.Bc,0,a),o=1}}if(o){if(e.ka=0,e.y=A.sa,e.O=A.ta,e.f=A.qa,e.N=A.ra,e.ea=A.Ha,e.Vd=A.Ia,e.fa=A.R,e.Rc=A.B,e.F=null,e.J=0,!Ir){for(o=-255;255>=o;++o)Fr[255+o]=0>o?-o:o;for(o=-1020;1020>=o;++o)Ur[1020+o]=-128>o?-128:127<o?127:o;for(o=-112;112>=o;++o)Lr[112+o]=-16>o?-16:15<o?15:o;for(o=-255;510>=o;++o)Er[255+o]=0>o?0:255<o?255:o;Ir=1}rr=at,nr=nt,sr=it,or=st,ar=ot,ir=rt,cr=Wt,ur=Xt,lr=Yt,hr=Zt,fr=Jt,dr=zt,gr=$t,Br=Ae,pr=Kt,wr=Rt,mr=jt,Cr=Gt,ln[0]=vt,ln[1]=ut,ln[2]=yt,ln[3]=Qt,ln[4]=bt,ln[5]=Ut,ln[6]=Ft,ln[7]=Lt,ln[8]=It,ln[9]=Et,un[0]=Bt,un[1]=ht,un[2]=ft,un[3]=dt,un[4]=pt,un[5]=wt,un[6]=mt,hn[0]=St,hn[1]=lt,hn[2]=xt,hn[3]=Ht,hn[4]=kt,hn[5]=_t,hn[6]=Pt,o=1}else o=0}o&&(o=function(A,e){for(A.M=0;A.M<A.Va;++A.M){var s,o=A.Jc[A.M&A.Xb],a=A.m,c=A;for(s=0;s<c.za;++s){var u=a,l=c,h=l.Ac,f=l.Bc+4*s,d=l.zc,g=l.ya[l.aa+s];if(l.Qa.Bb?g.$b=E(u,l.Pa.jb[0])?2+E(u,l.Pa.jb[2]):E(u,l.Pa.jb[1]):g.$b=0,l.kc&&(g.Ad=E(u,l.Bd)),g.Za=!E(u,145)+0,g.Za){var B=g.Ob,p=0;for(l=0;4>l;++l){var w,m=d[0+l];for(w=0;4>w;++w){m=on[h[f+w]][m];for(var C=nn[E(u,m[0])];0<C;)C=nn[2*C+E(u,m[C])];m=-C,h[f+w]=m}r(B,p,h,f,4),p+=4,d[0+l]=m}}else m=E(u,156)?E(u,128)?1:3:E(u,163)?2:0,g.Ob[0]=m,n(h,f,m,4),n(d,0,m,4);g.Dd=E(u,142)?E(u,114)?E(u,183)?1:3:2:0}if(c.m.Ka)return XA(A,7,"Premature end-of-partition0 encountered.");for(;A.ja<A.za;++A.ja){if(c=o,u=(a=A).rb[a.sb-1],h=a.rb[a.sb+a.ja],s=a.ya[a.aa+a.ja],f=a.kc?s.Ad:0)u.la=h.la=0,s.Za||(u.Na=h.Na=0),s.Hc=0,s.Gc=0,s.ia=0;else{var y,Q;if(u=h,h=c,f=a.Pa.Xc,d=a.ya[a.aa+a.ja],g=a.pb[d.$b],l=d.ad,B=0,p=a.rb[a.sb-1],m=w=0,n(l,B,0,384),d.Za)var v=0,b=f[3];else{C=i(16);var F=u.Na+p.Na;if(F=tn(h,f[1],F,g.Eb,0,C,0),u.Na=p.Na=(0<F)+0,1<F)rr(C,0,l,B);else{var U=C[0]+3>>3;for(C=0;256>C;C+=16)l[B+C]=U}v=1,b=f[0]}var L=15&u.la,I=15&p.la;for(C=0;4>C;++C){var x=1&I;for(U=Q=0;4>U;++U)L=L>>1|(x=(F=tn(h,b,F=x+(1&L),g.Sc,v,l,B))>v)<<7,Q=Q<<2|(3<F?3:1<F?2:0!=l[B+0]),B+=16;L>>=4,I=I>>1|x<<7,w=(w<<8|Q)>>>0}for(b=L,v=I>>4,y=0;4>y;y+=2){for(Q=0,L=u.la>>4+y,I=p.la>>4+y,C=0;2>C;++C){for(x=1&I,U=0;2>U;++U)F=x+(1&L),L=L>>1|(x=0<(F=tn(h,f[2],F,g.Qc,0,l,B)))<<3,Q=Q<<2|(3<F?3:1<F?2:0!=l[B+0]),B+=16;L>>=2,I=I>>1|x<<5}m|=Q<<4*y,b|=L<<4<<y,v|=(240&I)<<y}u.la=b,p.la=v,d.Hc=w,d.Gc=m,d.ia=43690&m?0:g.ia,f=!(w|m)}if(0<a.L&&(a.wa[a.Y+a.ja]=a.gd[s.$b][s.Za],a.wa[a.Y+a.ja].La|=!f),c.Ka)return XA(A,7,"Premature end-of-file encountered.")}if(ZA(A),a=e,c=1,s=(o=A).D,u=0<o.L&&o.M>=o.zb&&o.M<=o.Va,0==o.Aa)t:{if(s.M=o.M,s.uc=u,Ne(o,s),c=1,s=(Q=o.D).Nb,u=(m=Dn[o.L])*o.R,h=m/2*o.B,C=16*s*o.R,U=8*s*o.B,f=o.sa,d=o.ta-u+C,g=o.qa,l=o.ra-h+U,B=o.Ha,p=o.Ia-h+U,I=0==(L=Q.M),w=L>=o.Va-1,2==o.Aa&&Ne(o,Q),Q.uc)for(x=(F=o).D.M,t(F.D.uc),Q=F.yb;Q<F.Hb;++Q){v=Q,b=x;var H=(N=(K=F).D).Nb;y=K.R;var N=N.wa[N.Y+v],S=K.sa,_=K.ta+16*H*y+16*v,k=N.dd,P=N.tc;if(0!=P)if(t(3<=P),1==K.L)0<v&&wr(S,_,y,P+4),N.La&&Cr(S,_,y,P),0<b&&pr(S,_,y,P+4),N.La&&mr(S,_,y,P);else{var D=K.B,M=K.qa,O=K.ra+8*H*D+8*v,T=K.Ha,K=K.Ia+8*H*D+8*v;H=N.ld,0<v&&(ur(S,_,y,P+4,k,H),hr(M,O,T,K,D,P+4,k,H)),N.La&&(dr(S,_,y,P,k,H),Br(M,O,T,K,D,P,k,H)),0<b&&(cr(S,_,y,P+4,k,H),lr(M,O,T,K,D,P+4,k,H)),N.La&&(fr(S,_,y,P,k,H),gr(M,O,T,K,D,P,k,H))}}if(o.ia&&alert("todo:DitherRow"),null!=a.put){if(Q=16*L,L=16*(L+1),I?(a.y=o.sa,a.O=o.ta+C,a.f=o.qa,a.N=o.ra+U,a.ea=o.Ha,a.W=o.Ia+U):(Q-=m,a.y=f,a.O=d,a.f=g,a.N=l,a.ea=B,a.W=p),w||(L-=m),L>a.o&&(L=a.o),a.F=null,a.J=null,null!=o.Fa&&0<o.Fa.length&&Q<L&&(a.J=ue(o,a,Q,L-Q),a.F=o.mb,null==a.F&&0==a.F.length)){c=XA(o,3,"Could not decode alpha data.");break t}Q<a.j&&(m=a.j-Q,Q=a.j,t(!(1&m)),a.O+=o.R*m,a.N+=o.B*(m>>1),a.W+=o.B*(m>>1),null!=a.F&&(a.J+=a.width*m)),Q<L&&(a.O+=a.v,a.N+=a.v>>1,a.W+=a.v>>1,null!=a.F&&(a.J+=a.v),a.ka=Q-a.j,a.U=a.va-a.v,a.T=L-Q,c=a.put(a))}s+1!=o.Ic||w||(r(o.sa,o.ta-u,f,d+16*o.R,u),r(o.qa,o.ra-h,g,l+8*o.B,h),r(o.Ha,o.Ia-h,B,p+8*o.B,h))}if(!c)return XA(A,6,"Output aborted.")}return 1}(A,e)),null!=e.bc&&e.bc(e),o&=1}return o?(A.cb=0,o):0})(A,a)||(e=A.a)}}else e=A.a}0==e&&null!=l.Oa&&l.Oa.fd&&(e=ke(l.ba))}l=e}u=0!=l?null:11>u?h.f.RGBA.eb:h.f.kb.y}else u=null;return u};var On=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function c(A,t){for(var e="",r=0;r<4;r++)e+=String.fromCharCode(A[t++]);return e}function u(A,t){return A[t+0]|A[t+1]<<8}function l(A,t){return(A[t+0]|A[t+1]<<8|A[t+2]<<16)>>>0}function h(A,t){return(A[t+0]|A[t+1]<<8|A[t+2]<<16|A[t+3]<<24)>>>0}new a;var f=[0],d=[0],g=[],B=new a,p=A,w=function(A,t){var e={},r=0,n=!1,i=0,s=0;if(e.frames=[],!
176
+ /** @license
177
+ * Copyright (c) 2017 Dominik Homberger
178
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
179
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
180
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
181
+ https://webpjs.appspot.com
182
+ WebPRiffParser dominikhlbg@gmail.com
183
+ */
184
+ function(A,t){for(var e=0;e<4;e++)if(A[t+e]!="RIFF".charCodeAt(e))return!0;return!1}(A,t)){for(h(A,t+=4),t+=8;t<A.length;){var o=c(A,t),a=h(A,t+=4);t+=4;var f=a+(1&a);switch(o){case"VP8 ":case"VP8L":void 0===e.frames[r]&&(e.frames[r]={}),(B=e.frames[r]).src_off=n?s:t-8,B.src_size=i+a+8,r++,n&&(n=!1,i=0,s=0);break;case"VP8X":(B=e.header={}).feature_flags=A[t];var d=t+4;B.canvas_width=1+l(A,d),d+=3,B.canvas_height=1+l(A,d),d+=3;break;case"ALPH":n=!0,i=f+8,s=t-8;break;case"ANIM":(B=e.header).bgcolor=h(A,t),d=t+4,B.loop_count=u(A,d),d+=2;break;case"ANMF":var g,B;(B=e.frames[r]={}).offset_x=2*l(A,t),t+=3,B.offset_y=2*l(A,t),t+=3,B.width=1+l(A,t),t+=3,B.height=1+l(A,t),t+=3,B.duration=l(A,t),t+=3,g=A[t++],B.dispose=1&g,B.blend=g>>1&1}"ANMF"!=o&&(t+=f)}return e}}(p,0);w.response=p,w.rgbaoutput=!0,w.dataurl=!1;var m=w.header?w.header:null,C=w.frames?w.frames:null;if(m){m.loop_counter=m.loop_count,f=[m.canvas_height],d=[m.canvas_width];for(var y=0;y<C.length&&0!=C[y].blend;y++);}var Q=C[0],v=B.WebPDecodeRGBA(p,Q.src_off,Q.src_size,d,f);Q.rgba=v,Q.imgwidth=d[0],Q.imgheight=f[0];for(var b=0;b<d[0]*f[0]*4;b++)g[b]=v[b];return this.width=d,this.height=f,this.data=g,this}!function(A){var t,e,r,n,i,s,a,c,u,l=function(A){return A=A||{},this.isStrokeTransparent=A.isStrokeTransparent||!1,this.strokeOpacity=A.strokeOpacity||1,this.strokeStyle=A.strokeStyle||"#000000",this.fillStyle=A.fillStyle||"#000000",this.isFillTransparent=A.isFillTransparent||!1,this.fillOpacity=A.fillOpacity||1,this.font=A.font||"10px sans-serif",this.textBaseline=A.textBaseline||"alphabetic",this.textAlign=A.textAlign||"left",this.lineWidth=A.lineWidth||1,this.lineJoin=A.lineJoin||"miter",this.lineCap=A.lineCap||"butt",this.path=A.path||[],this.transform=void 0!==A.transform?A.transform.clone():new c,this.globalCompositeOperation=A.globalCompositeOperation||"normal",this.globalAlpha=A.globalAlpha||1,this.clip_path=A.clip_path||[],this.currentPoint=A.currentPoint||new s,this.miterLimit=A.miterLimit||10,this.lastPoint=A.lastPoint||new s,this.lineDashOffset=A.lineDashOffset||0,this.lineDash=A.lineDash||[],this.margin=A.margin||[0,0,0,0],this.prevPageLastElemOffset=A.prevPageLastElemOffset||0,this.ignoreClearRect="boolean"!=typeof A.ignoreClearRect||A.ignoreClearRect,this};A.events.push(["initialized",function(){this.context2d=new h(this),t=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,n=this.internal.getHorizontalCoordinate,i=this.internal.getVerticalCoordinate,s=this.internal.Point,a=this.internal.Rectangle,c=this.internal.Matrix,u=new l}]);var h=function(A){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var t=A;Object.defineProperty(this,"pdf",{get:function(){return t}});var e=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return e},set:function(A){e=Boolean(A)}});var r=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return r},set:function(A){r=Boolean(A)}});var n=0;Object.defineProperty(this,"posX",{get:function(){return n},set:function(A){isNaN(A)||(n=A)}});var i=0;Object.defineProperty(this,"posY",{get:function(){return i},set:function(A){isNaN(A)||(i=A)}}),Object.defineProperty(this,"margin",{get:function(){return u.margin},set:function(A){var t;"number"==typeof A?t=[A,A,A,A]:((t=new Array(4))[0]=A[0],t[1]=A.length>=2?A[1]:t[0],t[2]=A.length>=3?A[2]:t[0],t[3]=A.length>=4?A[3]:t[1]),u.margin=t}});var s=!1;Object.defineProperty(this,"autoPaging",{get:function(){return s},set:function(A){s=A}});var o=0;Object.defineProperty(this,"lastBreak",{get:function(){return o},set:function(A){o=A}});var a=[];Object.defineProperty(this,"pageBreaks",{get:function(){return a},set:function(A){a=A}}),Object.defineProperty(this,"ctx",{get:function(){return u},set:function(A){A instanceof l&&(u=A)}}),Object.defineProperty(this,"path",{get:function(){return u.path},set:function(A){u.path=A}});var c=[];Object.defineProperty(this,"ctxStack",{get:function(){return c},set:function(A){c=A}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(A){var t;t=f(A),this.ctx.fillStyle=t.style,this.ctx.isFillTransparent=0===t.a,this.ctx.fillOpacity=t.a,this.pdf.setFillColor(t.r,t.g,t.b,{a:t.a}),this.pdf.setTextColor(t.r,t.g,t.b,{a:t.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(A){var t=f(A);this.ctx.strokeStyle=t.style,this.ctx.isStrokeTransparent=0===t.a,this.ctx.strokeOpacity=t.a,0===t.a?this.pdf.setDrawColor(255,255,255):(t.a,this.pdf.setDrawColor(t.r,t.g,t.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(A){-1!==["butt","round","square"].indexOf(A)&&(this.ctx.lineCap=A,this.pdf.setLineCap(A))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(A){isNaN(A)||(this.ctx.lineWidth=A,this.pdf.setLineWidth(A))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(A){-1!==["bevel","round","miter"].indexOf(A)&&(this.ctx.lineJoin=A,this.pdf.setLineJoin(A))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(A){isNaN(A)||(this.ctx.miterLimit=A,this.pdf.setMiterLimit(A))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(A){this.ctx.textBaseline=A}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(A){-1!==["right","end","center","left","start"].indexOf(A)&&(this.ctx.textAlign=A)}});var h=null,d=null;Object.defineProperty(this,"fontFaces",{get:function(){return d},set:function(A){h=null,d=A}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(A){var t;if(this.ctx.font=A,null!==(t=/^\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-z]+?)\s*$/i.exec(A))){var e=t[1];t[2];var r=t[3],n=t[4];t[5];var i=t[6],s=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(n)[2];n="px"===s?Math.floor(parseFloat(n)*this.pdf.internal.scaleFactor):"em"===s?Math.floor(parseFloat(n)*this.pdf.getFontSize()):Math.floor(parseFloat(n)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(n);var o=function(A){var t,e,r=[],n=A.trim();if(""===n)return Xr;if(n in kr)return[kr[n]];for(;""!==n;){switch(e=null,t=(n=Dr(n)).charAt(0)){case'"':case"'":e=Mr(n.substring(1),t);break;default:e=Or(n)}if(null===e)return Xr;if(r.push(e[0]),""!==(n=Dr(e[1]))&&","!==n.charAt(0))return Xr;n=n.replace(/^,/,"")}return r}(i);if(this.fontFaces){var a=function(A,t){if(null===h){var e=function(A){var t=[];return Object.keys(A).forEach((function(e){A[e].forEach((function(A){var r=null;switch(A){case"bold":r={family:e,weight:"bold"};break;case"italic":r={family:e,style:"italic"};break;case"bolditalic":r={family:e,weight:"bold",style:"italic"};break;case"":case"normal":r={family:e}}null!==r&&(r.ref={name:e,style:A},t.push(r))}))})),t}(A.getFontList());h=function(A){for(var t={},e=0;e<A.length;++e){var r=Nr(A[e]),n=r.family,i=r.stretch,s=r.style,o=r.weight;t[n]=t[n]||{},t[n][i]=t[n][i]||{},t[n][i][s]=t[n][i][s]||{},t[n][i][s][o]=r}return t}(e.concat(t))}return h}(this.pdf,this.fontFaces),c=o.map((function(A){return{family:A,stretch:"normal",weight:r,style:e}})),u=function(A,t,e){for(var r=(e=e||{}).defaultFontFamily||"times",n=Object.assign({},_r,e.genericFontFamilies||{}),i=null,s=null,o=0;o<t.length;++o)if(n[(i=Nr(t[o])).family]&&(i.family=n[i.family]),A.hasOwnProperty(i.family)){s=A[i.family];break}if(!(s=s||A[r]))throw new Error("Could not find a font-family for the rule '"+Pr(i)+"' and default family '"+r+"'.");if(s=function(A,t){if(t[A])return t[A];var e=Ir[A],r=e<=Ir.normal?-1:1,n=Sr(t,Er,e,r);if(!n)throw new Error("Could not find a matching font-stretch value for "+A);return n}(i.stretch,s),s=function(A,t){if(t[A])return t[A];for(var e=Lr[A],r=0;r<e.length;++r)if(t[e[r]])return t[e[r]];throw new Error("Could not find a matching font-style for "+A)}(i.style,s),!(s=function(A,t){if(t[A])return t[A];if(400===A&&t[500])return t[500];if(500===A&&t[400])return t[400];var e=Hr[A],r=Sr(t,xr,e,A<400?-1:1);if(!r)throw new Error("Could not find a matching font-weight for value "+A);return r}(i.weight,s)))throw new Error("Failed to resolve a font for the rule '"+Pr(i)+"'.");return s}(a,c);this.pdf.setFont(u.ref.name,u.ref.style)}else{var l="";("bold"===r||parseInt(r,10)>=700||"bold"===e)&&(l="bold"),"italic"===e&&(l+="italic"),0===l.length&&(l="normal");for(var f="",d={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"},g=0;g<o.length;g++){if(void 0!==this.pdf.internal.getFont(o[g],l,{noFallback:!0,disableWarning:!0})){f=o[g];break}if("bolditalic"===l&&void 0!==this.pdf.internal.getFont(o[g],"bold",{noFallback:!0,disableWarning:!0}))f=o[g],l="bold";else if(void 0!==this.pdf.internal.getFont(o[g],"normal",{noFallback:!0,disableWarning:!0})){f=o[g],l="normal";break}}if(""===f)for(var B=0;B<o.length;B++)if(d[o[B]]){f=d[o[B]];break}f=""===f?"Times":f,this.pdf.setFont(f,l)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(A){this.ctx.globalCompositeOperation=A}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(A){this.ctx.globalAlpha=A}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(A){this.ctx.lineDashOffset=A,M.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(A){this.ctx.lineDash=A,M.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(A){this.ctx.ignoreClearRect=Boolean(A)}})};h.prototype.setLineDash=function(A){this.lineDash=A},h.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},h.prototype.fill=function(){y.call(this,"fill",!1)},h.prototype.stroke=function(){y.call(this,"stroke",!1)},h.prototype.beginPath=function(){this.path=[{type:"begin"}]},h.prototype.moveTo=function(A,t){if(isNaN(A)||isNaN(t))throw se.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.moveTo");var e=this.ctx.transform.applyToPoint(new s(A,t));this.path.push({type:"mt",x:e.x,y:e.y}),this.ctx.lastPoint=new s(A,t)},h.prototype.closePath=function(){var A=new s(0,0),t=0;for(t=this.path.length-1;-1!==t;t--)if("begin"===this.path[t].type&&"object"===o(this.path[t+1])&&"number"==typeof this.path[t+1].x){A=new s(this.path[t+1].x,this.path[t+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new s(A.x,A.y)},h.prototype.lineTo=function(A,t){if(isNaN(A)||isNaN(t))throw se.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var e=this.ctx.transform.applyToPoint(new s(A,t));this.path.push({type:"lt",x:e.x,y:e.y}),this.ctx.lastPoint=new s(e.x,e.y)},h.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),y.call(this,null,!0)},h.prototype.quadraticCurveTo=function(A,t,e,r){if(isNaN(e)||isNaN(r)||isNaN(A)||isNaN(t))throw se.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var n=this.ctx.transform.applyToPoint(new s(e,r)),i=this.ctx.transform.applyToPoint(new s(A,t));this.path.push({type:"qct",x1:i.x,y1:i.y,x:n.x,y:n.y}),this.ctx.lastPoint=new s(n.x,n.y)},h.prototype.bezierCurveTo=function(A,t,e,r,n,i){if(isNaN(n)||isNaN(i)||isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r))throw se.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var o=this.ctx.transform.applyToPoint(new s(n,i)),a=this.ctx.transform.applyToPoint(new s(A,t)),c=this.ctx.transform.applyToPoint(new s(e,r));this.path.push({type:"bct",x1:a.x,y1:a.y,x2:c.x,y2:c.y,x:o.x,y:o.y}),this.ctx.lastPoint=new s(o.x,o.y)},h.prototype.arc=function(A,t,e,r,n,i){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n))throw se.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(i=Boolean(i),!this.ctx.transform.isIdentity){var o=this.ctx.transform.applyToPoint(new s(A,t));A=o.x,t=o.y;var a=this.ctx.transform.applyToPoint(new s(0,e)),c=this.ctx.transform.applyToPoint(new s(0,0));e=Math.sqrt(Math.pow(a.x-c.x,2)+Math.pow(a.y-c.y,2))}Math.abs(n-r)>=2*Math.PI&&(r=0,n=2*Math.PI),this.path.push({type:"arc",x:A,y:t,radius:e,startAngle:r,endAngle:n,counterclockwise:i})},h.prototype.arcTo=function(A,t,e,r,n){throw new Error("arcTo not implemented.")},h.prototype.rect=function(A,t,e,r){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r))throw se.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(A,t),this.lineTo(A+e,t),this.lineTo(A+e,t+r),this.lineTo(A,t+r),this.lineTo(A,t),this.lineTo(A+e,t),this.lineTo(A,t)},h.prototype.fillRect=function(A,t,e,r){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r))throw se.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!d.call(this)){var n={};"butt"!==this.lineCap&&(n.lineCap=this.lineCap,this.lineCap="butt"),"miter"!==this.lineJoin&&(n.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(A,t,e,r),this.fill(),n.hasOwnProperty("lineCap")&&(this.lineCap=n.lineCap),n.hasOwnProperty("lineJoin")&&(this.lineJoin=n.lineJoin)}},h.prototype.strokeRect=function(A,t,e,r){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r))throw se.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");g.call(this)||(this.beginPath(),this.rect(A,t,e,r),this.stroke())},h.prototype.clearRect=function(A,t,e,r){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r))throw se.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(A,t,e,r))},h.prototype.save=function(A){A="boolean"!=typeof A||A;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,e=0;e<this.pdf.internal.getNumberOfPages();e++)this.pdf.setPage(e+1),this.pdf.internal.out("q");if(this.pdf.setPage(t),A){this.ctx.fontSize=this.pdf.internal.getFontSize();var r=new l(this.ctx);this.ctxStack.push(this.ctx),this.ctx=r}},h.prototype.restore=function(A){A="boolean"!=typeof A||A;for(var t=this.pdf.internal.getCurrentPageInfo().pageNumber,e=0;e<this.pdf.internal.getNumberOfPages();e++)this.pdf.setPage(e+1),this.pdf.internal.out("Q");this.pdf.setPage(t),A&&0!==this.ctxStack.length&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},h.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var f=function(A){var t,e,r,n;if(!0===A.isCanvasGradient&&(A=A.getColor()),!A)return{r:0,g:0,b:0,a:0,style:A};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(A))t=0,e=0,r=0,n=0;else{var i=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(A);if(null!==i)t=parseInt(i[1]),e=parseInt(i[2]),r=parseInt(i[3]),n=1;else if(null!==(i=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(A)))t=parseInt(i[1]),e=parseInt(i[2]),r=parseInt(i[3]),n=parseFloat(i[4]);else{if(n=1,"string"==typeof A&&"#"!==A.charAt(0)){var s=new le(A);A=s.ok?s.toHex():"#000000"}4===A.length?(t=A.substring(1,2),t+=t,e=A.substring(2,3),e+=e,r=A.substring(3,4),r+=r):(t=A.substring(1,3),e=A.substring(3,5),r=A.substring(5,7)),t=parseInt(t,16),e=parseInt(e,16),r=parseInt(r,16)}}return{r:t,g:e,b:r,a:n,style:A}},d=function(){return this.ctx.isFillTransparent||0==this.globalAlpha},g=function(){return Boolean(this.ctx.isStrokeTransparent||0==this.globalAlpha)};h.prototype.fillText=function(A,t,e,r){if(isNaN(t)||isNaN(e)||"string"!=typeof A)throw se.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(r=isNaN(r)?void 0:r,!d.call(this)){var n=k(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;I.call(this,{text:A,x:t,y:e,scale:i,angle:n,align:this.textAlign,maxWidth:r})}},h.prototype.strokeText=function(A,t,e,r){if(isNaN(t)||isNaN(e)||"string"!=typeof A)throw se.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!g.call(this)){r=isNaN(r)?void 0:r;var n=k(this.ctx.transform.rotation),i=this.ctx.transform.scaleX;I.call(this,{text:A,x:t,y:e,scale:i,renderingMode:"stroke",angle:n,align:this.textAlign,maxWidth:r})}},h.prototype.measureText=function(A){if("string"!=typeof A)throw se.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var t=this.pdf,e=this.pdf.internal.scaleFactor,r=t.internal.getFontSize(),n=t.getStringUnitWidth(A)*r/t.internal.scaleFactor;return new function(A){var t=(A=A||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return t}}),this}({width:n*=Math.round(96*e/72*1e4)/1e4})},h.prototype.scale=function(A,t){if(isNaN(A)||isNaN(t))throw se.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var e=new c(A,0,0,t,0,0);this.ctx.transform=this.ctx.transform.multiply(e)},h.prototype.rotate=function(A){if(isNaN(A))throw se.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var t=new c(Math.cos(A),Math.sin(A),-Math.sin(A),Math.cos(A),0,0);this.ctx.transform=this.ctx.transform.multiply(t)},h.prototype.translate=function(A,t){if(isNaN(A)||isNaN(t))throw se.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var e=new c(1,0,0,1,A,t);this.ctx.transform=this.ctx.transform.multiply(e)},h.prototype.transform=function(A,t,e,r,n,i){if(isNaN(A)||isNaN(t)||isNaN(e)||isNaN(r)||isNaN(n)||isNaN(i))throw se.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.transform");var s=new c(A,t,e,r,n,i);this.ctx.transform=this.ctx.transform.multiply(s)},h.prototype.setTransform=function(A,t,e,r,n,i){A=isNaN(A)?1:A,t=isNaN(t)?0:t,e=isNaN(e)?0:e,r=isNaN(r)?1:r,n=isNaN(n)?0:n,i=isNaN(i)?0:i,this.ctx.transform=new c(A,t,e,r,n,i)};var B=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};h.prototype.drawImage=function(A,t,e,r,n,i,s,o,u){var l=this.pdf.getImageProperties(A),h=1,f=1,d=1,g=1;void 0!==r&&void 0!==o&&(d=o/r,g=u/n,h=l.width/r*o/r,f=l.height/n*u/n),void 0===i&&(i=t,s=e,t=0,e=0),void 0!==r&&void 0===o&&(o=r,u=n),void 0===r&&void 0===o&&(o=l.width,u=l.height);for(var w,y=this.ctx.transform.decompose(),v=k(y.rotate.shx),b=new c,F=(b=(b=(b=b.multiply(y.translate)).multiply(y.skew)).multiply(y.scale)).applyToRectangle(new a(i-t*d,s-e*g,r*h,n*f)),U=p.call(this,F),L=[],E=0;E<U.length;E+=1)-1===L.indexOf(U[E])&&L.push(U[E]);if(C(L),this.autoPaging)for(var I=L[0],x=L[L.length-1],H=I;H<x+1;H++){this.pdf.setPage(H);var N=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],S=1===H?this.posY+this.margin[0]:this.margin[0],_=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],P=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],D=1===H?0:_+(H-2)*P;if(0!==this.ctx.clip_path.length){var M=this.path;w=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=m(w,this.posX+this.margin[3],-D+S+this.ctx.prevPageLastElemOffset),Q.call(this,"fill",!0),this.path=M}var O=JSON.parse(JSON.stringify(F));O=m([O],this.posX+this.margin[3],-D+S+this.ctx.prevPageLastElemOffset)[0];var T=(H>I||H<x)&&B.call(this);T&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],N,P,null).clip().discardPath()),this.pdf.addImage(A,"JPEG",O.x,O.y,O.w,O.h,null,null,v),T&&this.pdf.restoreGraphicsState()}else this.pdf.addImage(A,"JPEG",F.x,F.y,F.w,F.h,null,null,v)};var p=function(A,t,e){var r=[];t=t||this.pdf.internal.pageSize.width,e=e||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var n=this.posY+this.ctx.prevPageLastElemOffset;switch(A.type){default:case"mt":case"lt":r.push(Math.floor((A.y+n)/e)+1);break;case"arc":r.push(Math.floor((A.y+n-A.radius)/e)+1),r.push(Math.floor((A.y+n+A.radius)/e)+1);break;case"qct":var i=P(this.ctx.lastPoint.x,this.ctx.lastPoint.y,A.x1,A.y1,A.x,A.y);r.push(Math.floor((i.y+n)/e)+1),r.push(Math.floor((i.y+i.h+n)/e)+1);break;case"bct":var s=D(this.ctx.lastPoint.x,this.ctx.lastPoint.y,A.x1,A.y1,A.x2,A.y2,A.x,A.y);r.push(Math.floor((s.y+n)/e)+1),r.push(Math.floor((s.y+s.h+n)/e)+1);break;case"rect":r.push(Math.floor((A.y+n)/e)+1),r.push(Math.floor((A.y+A.h+n)/e)+1)}for(var o=0;o<r.length;o+=1)for(;this.pdf.internal.getNumberOfPages()<r[o];)w.call(this);return r},w=function(){var A=this.fillStyle,t=this.strokeStyle,e=this.font,r=this.lineCap,n=this.lineWidth,i=this.lineJoin;this.pdf.addPage(),this.fillStyle=A,this.strokeStyle=t,this.font=e,this.lineCap=r,this.lineWidth=n,this.lineJoin=i},m=function(A,t,e){for(var r=0;r<A.length;r++)switch(A[r].type){case"bct":A[r].x2+=t,A[r].y2+=e;case"qct":A[r].x1+=t,A[r].y1+=e;default:A[r].x+=t,A[r].y+=e}return A},C=function(A){return A.sort((function(A,t){return A-t}))},y=function(A,t){for(var e,r,n=this.fillStyle,i=this.strokeStyle,s=this.lineCap,o=this.lineWidth,a=Math.abs(o*this.ctx.transform.scaleX),c=this.lineJoin,u=JSON.parse(JSON.stringify(this.path)),l=JSON.parse(JSON.stringify(this.path)),h=[],f=0;f<l.length;f++)if(void 0!==l[f].x)for(var d=p.call(this,l[f]),g=0;g<d.length;g+=1)-1===h.indexOf(d[g])&&h.push(d[g]);for(var y=0;y<h.length;y++)for(;this.pdf.internal.getNumberOfPages()<h[y];)w.call(this);if(C(h),this.autoPaging)for(var v=h[0],b=h[h.length-1],F=v;F<b+1;F++){this.pdf.setPage(F),this.fillStyle=n,this.strokeStyle=i,this.lineCap=s,this.lineWidth=a,this.lineJoin=c;var U=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],L=1===F?this.posY+this.margin[0]:this.margin[0],E=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],I=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],x=1===F?0:E+(F-2)*I;if(0!==this.ctx.clip_path.length){var H=this.path;e=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=m(e,this.posX+this.margin[3],-x+L+this.ctx.prevPageLastElemOffset),Q.call(this,A,!0),this.path=H}if(r=JSON.parse(JSON.stringify(u)),this.path=m(r,this.posX+this.margin[3],-x+L+this.ctx.prevPageLastElemOffset),!1===t||0===F){var N=(F>v||F<b)&&B.call(this);N&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],U,I,null).clip().discardPath()),Q.call(this,A,t),N&&this.pdf.restoreGraphicsState()}this.lineWidth=o}else this.lineWidth=a,Q.call(this,A,t),this.lineWidth=o;this.path=u},Q=function(A,t){if(("stroke"!==A||t||!g.call(this))&&("stroke"===A||t||!d.call(this))){for(var e,r,n=[],i=this.path,s=0;s<i.length;s++){var o=i[s];switch(o.type){case"begin":n.push({begin:!0});break;case"close":n.push({close:!0});break;case"mt":n.push({start:o,deltas:[],abs:[]});break;case"lt":var a=n.length;if(i[s-1]&&!isNaN(i[s-1].x)&&(e=[o.x-i[s-1].x,o.y-i[s-1].y],a>0))for(;a>=0;a--)if(!0!==n[a-1].close&&!0!==n[a-1].begin){n[a-1].deltas.push(e),n[a-1].abs.push(o);break}break;case"bct":e=[o.x1-i[s-1].x,o.y1-i[s-1].y,o.x2-i[s-1].x,o.y2-i[s-1].y,o.x-i[s-1].x,o.y-i[s-1].y],n[n.length-1].deltas.push(e);break;case"qct":var c=i[s-1].x+2/3*(o.x1-i[s-1].x),u=i[s-1].y+2/3*(o.y1-i[s-1].y),l=o.x+2/3*(o.x1-o.x),h=o.y+2/3*(o.y1-o.y),f=o.x,B=o.y;e=[c-i[s-1].x,u-i[s-1].y,l-i[s-1].x,h-i[s-1].y,f-i[s-1].x,B-i[s-1].y],n[n.length-1].deltas.push(e);break;case"arc":n.push({deltas:[],abs:[],arc:!0}),Array.isArray(n[n.length-1].abs)&&n[n.length-1].abs.push(o)}}r=t?null:"stroke"===A?"stroke":"fill";for(var p=!1,w=0;w<n.length;w++)if(n[w].arc)for(var m=n[w].abs,C=0;C<m.length;C++){var y=m[C];"arc"===y.type?F.call(this,y.x,y.y,y.radius,y.startAngle,y.endAngle,y.counterclockwise,void 0,t,!p):x.call(this,y.x,y.y),p=!0}else if(!0===n[w].close)this.pdf.internal.out("h"),p=!1;else if(!0!==n[w].begin){var Q=n[w].start.x,v=n[w].start.y;H.call(this,n[w].deltas,Q,v),p=!0}r&&U.call(this,r),t&&L.call(this)}},v=function(A){var t=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,e=t*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return A-e;case"top":return A+t-e;case"hanging":return A+t-2*e;case"middle":return A+t/2-e;default:return A}},b=function(A){return A+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};h.prototype.createLinearGradient=function(){var A=function(){};return A.colorStops=[],A.addColorStop=function(A,t){this.colorStops.push([A,t])},A.getColor=function(){return 0===this.colorStops.length?"#000000":this.colorStops[0][1]},A.isCanvasGradient=!0,A},h.prototype.createPattern=function(){return this.createLinearGradient()},h.prototype.createRadialGradient=function(){return this.createLinearGradient()};var F=function(A,t,e,r,n,i,s,o,a){for(var c=S.call(this,e,r,n,i),u=0;u<c.length;u++){var l=c[u];0===u&&(a?E.call(this,l.x1+A,l.y1+t):x.call(this,l.x1+A,l.y1+t)),N.call(this,A,t,l.x2,l.y2,l.x3,l.y3,l.x4,l.y4)}o?L.call(this):U.call(this,s)},U=function(A){switch(A){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},L=function(){this.pdf.clip(),this.pdf.discardPath()},E=function(A,t){this.pdf.internal.out(e(A)+" "+r(t)+" m")},I=function(A){var t;switch(A.align){case"right":case"end":t="right";break;case"center":t="center";break;default:t="left"}var e=this.pdf.getTextDimensions(A.text),r=v.call(this,A.y),n=b.call(this,r)-e.h,i=this.ctx.transform.applyToPoint(new s(A.x,r)),o=this.ctx.transform.decompose(),u=new c;u=(u=(u=u.multiply(o.translate)).multiply(o.skew)).multiply(o.scale);for(var l,h,f,d=this.ctx.transform.applyToRectangle(new a(A.x,r,e.w,e.h)),g=u.applyToRectangle(new a(A.x,n,e.w,e.h)),w=p.call(this,g),y=[],F=0;F<w.length;F+=1)-1===y.indexOf(w[F])&&y.push(w[F]);if(C(y),this.autoPaging)for(var U=y[0],L=y[y.length-1],E=U;E<L+1;E++){this.pdf.setPage(E);var I=1===E?this.posY+this.margin[0]:this.margin[0],x=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],H=this.pdf.internal.pageSize.height-this.margin[2],N=H-this.margin[0],S=this.pdf.internal.pageSize.width-this.margin[1],_=S-this.margin[3],k=1===E?0:x+(E-2)*N;if(0!==this.ctx.clip_path.length){var P=this.path;l=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=m(l,this.posX+this.margin[3],-1*k+I),Q.call(this,"fill",!0),this.path=P}var D=m([JSON.parse(JSON.stringify(g))],this.posX+this.margin[3],-k+I+this.ctx.prevPageLastElemOffset)[0];A.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*A.scale),f=this.lineWidth,this.lineWidth=f*A.scale);var M="text"!==this.autoPaging;if(M||D.y+D.h<=H){if(M||D.y>=I&&D.x<=S){var O=M?A.text:this.pdf.splitTextToSize(A.text,A.maxWidth||S-D.x)[0],T=m([JSON.parse(JSON.stringify(d))],this.posX+this.margin[3],-k+I+this.ctx.prevPageLastElemOffset)[0],K=M&&(E>U||E<L)&&B.call(this);K&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],_,N,null).clip().discardPath()),this.pdf.text(O,T.x,T.y,{angle:A.angle,align:t,renderingMode:A.renderingMode}),K&&this.pdf.restoreGraphicsState()}}else D.y<H&&(this.ctx.prevPageLastElemOffset+=H-D.y);A.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=f)}else A.scale>=.01&&(h=this.pdf.internal.getFontSize(),this.pdf.setFontSize(h*A.scale),f=this.lineWidth,this.lineWidth=f*A.scale),this.pdf.text(A.text,i.x+this.posX,i.y+this.posY,{angle:A.angle,align:t,renderingMode:A.renderingMode,maxWidth:A.maxWidth}),A.scale>=.01&&(this.pdf.setFontSize(h),this.lineWidth=f)},x=function(A,t,n,i){n=n||0,i=i||0,this.pdf.internal.out(e(A+n)+" "+r(t+i)+" l")},H=function(A,t,e){return this.pdf.lines(A,t,e,null,null)},N=function(A,e,r,s,o,a,c,u){this.pdf.internal.out([t(n(r+A)),t(i(s+e)),t(n(o+A)),t(i(a+e)),t(n(c+A)),t(i(u+e)),"c"].join(" "))},S=function(A,t,e,r){for(var n=2*Math.PI,i=Math.PI/2;t>e;)t-=n;var s=Math.abs(e-t);s<n&&r&&(s=n-s);for(var o=[],a=r?-1:1,c=t;s>1e-5;){var u=c+a*Math.min(s,i);o.push(_.call(this,A,c,u)),s-=Math.abs(u-c),c=u}return o},_=function(A,t,e){var r=(e-t)/2,n=A*Math.cos(r),i=A*Math.sin(r),s=n,o=-i,a=s*s+o*o,c=a+s*n+o*i,u=4/3*(Math.sqrt(2*a*c)-c)/(s*i-o*n),l=s-u*o,h=o+u*s,f=l,d=-h,g=r+t,B=Math.cos(g),p=Math.sin(g);return{x1:A*Math.cos(t),y1:A*Math.sin(t),x2:l*B-h*p,y2:l*p+h*B,x3:f*B-d*p,y3:f*p+d*B,x4:A*Math.cos(e),y4:A*Math.sin(e)}},k=function(A){return 180*A/Math.PI},P=function(A,t,e,r,n,i){var s=A+.5*(e-A),o=t+.5*(r-t),c=n+.5*(e-n),u=i+.5*(r-i),l=Math.min(A,n,s,c),h=Math.max(A,n,s,c),f=Math.min(t,i,o,u),d=Math.max(t,i,o,u);return new a(l,f,h-l,d-f)},D=function(A,t,e,r,n,i,s,o){var c,u,l,h,f,d,g,B,p,w,m,C,y,Q,v=e-A,b=r-t,F=n-e,U=i-r,L=s-n,E=o-i;for(u=0;u<41;u++)p=(g=(l=A+(c=u/40)*v)+c*((f=e+c*F)-l))+c*(f+c*(n+c*L-f)-g),w=(B=(h=t+c*b)+c*((d=r+c*U)-h))+c*(d+c*(i+c*E-d)-B),0==u?(m=p,C=w,y=p,Q=w):(m=Math.min(m,p),C=Math.min(C,w),y=Math.max(y,p),Q=Math.max(Q,w));return new a(Math.round(m),Math.round(C),Math.round(y-m),Math.round(Q-C))},M=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var A,t,e=(A=this.ctx.lineDash,t=this.ctx.lineDashOffset,JSON.stringify({lineDash:A,lineDashOffset:t}));this.prevLineDash!==e&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=e)}}}(De.API),
185
+ /**
186
+ * @license
187
+ * jsPDF filters PlugIn
188
+ * Copyright (c) 2014 Aras Abbasi
189
+ *
190
+ * Licensed under the MIT License.
191
+ * http://opensource.org/licenses/mit-license
192
+ */
193
+ function(A){var t=function(A){var t,e,r,n,i,s,o,a,c,u;for(e=[],r=0,n=(A+=t="\0\0\0\0".slice(A.length%4||4)).length;n>r;r+=4)0!==(i=(A.charCodeAt(r)<<24)+(A.charCodeAt(r+1)<<16)+(A.charCodeAt(r+2)<<8)+A.charCodeAt(r+3))?(s=(i=((i=((i=((i=(i-(u=i%85))/85)-(c=i%85))/85)-(a=i%85))/85)-(o=i%85))/85)%85,e.push(s+33,o+33,a+33,c+33,u+33)):e.push(122);return function(A,t){for(var e=t;e>0;e--)A.pop()}(e,t.length),String.fromCharCode.apply(String,e)+"~>"},e=function(A){var t,e,r,n,i,s=String,o="length",a=255,c="charCodeAt",u="slice",l="replace";for(A[u](-2),A=A[u](0,-2)[l](/\s/g,"")[l]("z","!!!!!"),r=[],n=0,i=(A+=t="uuuuu"[u](A[o]%5||5))[o];i>n;n+=5)e=52200625*(A[c](n)-33)+614125*(A[c](n+1)-33)+7225*(A[c](n+2)-33)+85*(A[c](n+3)-33)+(A[c](n+4)-33),r.push(a&e>>24,a&e>>16,a&e>>8,a&e);return function(A,t){for(var e=t;e>0;e--)A.pop()}(r,t[o]),s.fromCharCode.apply(s,r)},r=function(A){return A.split("").map((function(A){return("0"+A.charCodeAt().toString(16)).slice(-2)})).join("")+">"},n=function(A){var t=new RegExp(/^([0-9A-Fa-f]{2})+$/);if(-1!==(A=A.replace(/\s/g,"")).indexOf(">")&&(A=A.substr(0,A.indexOf(">"))),A.length%2&&(A+="0"),!1===t.test(A))return"";for(var e="",r=0;r<A.length;r+=2)e+=String.fromCharCode("0x"+(A[r]+A[r+1]));return e},i=function(A){for(var t=new Uint8Array(A.length),e=A.length;e--;)t[e]=A.charCodeAt(e);return(t=K(t)).reduce((function(A,t){return A+String.fromCharCode(t)}),"")};A.processDataByFilters=function(A,s){var o=0,a=A||"",c=[];for("string"==typeof(s=s||[])&&(s=[s]),o=0;o<s.length;o+=1)switch(s[o]){case"ASCII85Decode":case"/ASCII85Decode":a=e(a),c.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":a=t(a),c.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":a=n(a),c.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":a=r(a),c.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":a=i(a),c.push("/FlateDecode");break;default:throw new Error('The filter: "'+s[o]+'" is not implemented')}return{data:a,reverseChain:c.reverse().join(" ")}}}(De.API),
194
+ /**
195
+ * @license
196
+ * jsPDF fileloading PlugIn
197
+ * Copyright (c) 2018 Aras Abbasi (aras.abbasi@gmail.com)
198
+ *
199
+ * Licensed under the MIT License.
200
+ * http://opensource.org/licenses/mit-license
201
+ */
202
+ function(A){A.loadFile=function(A,t,e){return function(A,t,e){t=!1!==t,e="function"==typeof e?e:function(){};var r=void 0;try{r=function(A,t,e){var r=new XMLHttpRequest,n=0,i=function(A){var t=A.length,e=[],r=String.fromCharCode;for(n=0;n<t;n+=1)e.push(r(255&A.charCodeAt(n)));return e.join("")};if(r.open("GET",A,!t),r.overrideMimeType("text/plain; charset=x-user-defined"),!1===t&&(r.onload=function(){200===r.status?e(i(this.responseText)):e(void 0)}),r.send(null),t&&200===r.status)return i(r.responseText)}(A,t,e)}catch(A){}return r}(A,t,e)},A.loadImageFile=A.loadFile}(De.API),function(A){function t(){return(ne.html2canvas?Promise.resolve(ne.html2canvas):Promise.resolve().then((function(){return On}))).catch((function(A){return Promise.reject(new Error("Could not load html2canvas: "+A))})).then((function(A){return A.default?A.default:A}))}function e(){return(ne.DOMPurify?Promise.resolve(ne.DOMPurify):import("./purify.es-CkKsfeyH.js")).catch((function(A){return Promise.reject(new Error("Could not load dompurify: "+A))})).then((function(A){return A.default?A.default:A}))}var r=function(A){var t=o(A);return"undefined"===t?"undefined":"string"===t||A instanceof String?"string":"number"===t||A instanceof Number?"number":"function"===t||A instanceof Function?"function":A&&A.constructor===Array?"array":A&&1===A.nodeType?"element":"object"===t?"object":"unknown"},n=function(A,t){var e=document.createElement(A);for(var r in t.className&&(e.className=t.className),t.innerHTML&&t.dompurify&&(e.innerHTML=t.dompurify.sanitize(t.innerHTML)),t.style)e.style[r]=t.style[r];return e},i=function A(t,e){for(var r=3===t.nodeType?document.createTextNode(t.nodeValue):t.cloneNode(!1),n=t.firstChild;n;n=n.nextSibling)!0!==e&&1===n.nodeType&&"SCRIPT"===n.nodeName||r.appendChild(A(n,e));return 1===t.nodeType&&("CANVAS"===t.nodeName?(r.width=t.width,r.height=t.height,r.getContext("2d").drawImage(t,0,0)):"TEXTAREA"!==t.nodeName&&"SELECT"!==t.nodeName||(r.value=t.value),r.addEventListener("load",(function(){r.scrollTop=t.scrollTop,r.scrollLeft=t.scrollLeft}),!0)),r},s=function A(t){var e=Object.assign(A.convert(Promise.resolve()),JSON.parse(JSON.stringify(A.template))),r=A.convert(Promise.resolve(),e);return(r=r.setProgress(1,A,1,[A])).set(t)};(s.prototype=Object.create(Promise.prototype)).constructor=s,s.convert=function(A,t){return A.__proto__=t||s.prototype,A},s.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},s.prototype.from=function(A,t){return this.then((function(){switch(t=t||function(A){switch(r(A)){case"string":return"string";case"element":return"canvas"===A.nodeName.toLowerCase()?"canvas":"element";default:return"unknown"}}(A),t){case"string":return this.then(e).then((function(t){return this.set({src:n("div",{innerHTML:A,dompurify:t})})}));case"element":return this.set({src:A});case"canvas":return this.set({canvas:A});case"img":return this.set({img:A});default:return this.error("Unknown source type.")}}))},s.prototype.to=function(A){switch(A){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},s.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then((function(){var A={position:"relative",display:"inline-block",width:("number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},t=i(this.prop.src,this.opt.html2canvas.javascriptEnabled);"BODY"===t.tagName&&(A.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=n("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=n("div",{className:"html2pdf__container",style:A}),this.prop.container.appendChild(t),this.prop.container.firstChild.appendChild(n("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"}))},s.prototype.toCanvas=function(){var A=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(A).then(t).then((function(A){var t=Object.assign({},this.opt.html2canvas);return delete t.onrendered,A(this.prop.container,t)})).then((function(A){(this.opt.html2canvas.onrendered||function(){})(A),this.prop.canvas=A,document.body.removeChild(this.prop.overlay)}))},s.prototype.toContext2d=function(){var A=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(A).then(t).then((function(A){var t=this.opt.jsPDF,e=this.opt.fontFaces,r="number"!=typeof this.opt.width||isNaN(this.opt.width)||"number"!=typeof this.opt.windowWidth||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,n=Object.assign({async:!0,allowTaint:!0,scale:r,scrollX:this.opt.scrollX||0,scrollY:this.opt.scrollY||0,backgroundColor:"#ffffff",imageTimeout:15e3,logging:!0,proxy:null,removeContainer:!0,foreignObjectRendering:!1,useCORS:!1},this.opt.html2canvas);if(delete n.onrendered,t.context2d.autoPaging=void 0===this.opt.autoPaging||this.opt.autoPaging,t.context2d.posX=this.opt.x,t.context2d.posY=this.opt.y,t.context2d.margin=this.opt.margin,t.context2d.fontFaces=e,e)for(var i=0;i<e.length;++i){var s=e[i],o=s.src.find((function(A){return"truetype"===A.format}));o&&t.addFont(o.url,s.ref.name,s.ref.style)}return n.windowHeight=n.windowHeight||0,n.windowHeight=0==n.windowHeight?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):n.windowHeight,t.context2d.save(!0),A(this.prop.container,n)})).then((function(A){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(A),this.prop.canvas=A,document.body.removeChild(this.prop.overlay)}))},s.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then((function(){var A=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=A}))},s.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then((function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF}))},s.prototype.output=function(A,t,e){return"img"===(e=e||"pdf").toLowerCase()||"image"===e.toLowerCase()?this.outputImg(A,t):this.outputPdf(A,t)},s.prototype.outputPdf=function(A,t){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){return this.prop.pdf.output(A,t)}))},s.prototype.outputImg=function(A){return this.thenList([function(){return this.prop.img||this.toImg()}]).then((function(){switch(A){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 "'+A+'" is not supported.'}}))},s.prototype.save=function(A){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(A?{filename:A}:null).then((function(){this.prop.pdf.save(this.opt.filename)}))},s.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then((function(){this.prop.callback(this.prop.pdf)}))},s.prototype.set=function(A){if("object"!==r(A))return this;var t=Object.keys(A||{}).map((function(t){if(t in s.template.prop)return function(){this.prop[t]=A[t]};switch(t){case"margin":return this.setMargin.bind(this,A.margin);case"jsPDF":return function(){return this.opt.jsPDF=A.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,A.pageSize);default:return function(){this.opt[t]=A[t]}}}),this);return this.then((function(){return this.thenList(t)}))},s.prototype.get=function(A,t){return this.then((function(){var e=A in s.template.prop?this.prop[A]:this.opt[A];return t?t(e):e}))},s.prototype.setMargin=function(A){return this.then((function(){switch(r(A)){case"number":A=[A,A,A,A];case"array":if(2===A.length&&(A=[A[0],A[1],A[0],A[1]]),4===A.length)break;default:return this.error("Invalid margin array.")}this.opt.margin=A})).then(this.setPageSize)},s.prototype.setPageSize=function(A){function t(A,t){return Math.floor(A*t/72*96)}return this.then((function(){(A=A||De.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(A.inner={width:A.width-this.opt.margin[1]-this.opt.margin[3],height:A.height-this.opt.margin[0]-this.opt.margin[2]},A.inner.px={width:t(A.inner.width,A.k),height:t(A.inner.height,A.k)},A.inner.ratio=A.inner.height/A.inner.width),this.prop.pageSize=A}))},s.prototype.setProgress=function(A,t,e,r){return null!=A&&(this.progress.val=A),null!=t&&(this.progress.state=t),null!=e&&(this.progress.n=e),null!=r&&(this.progress.stack=r),this.progress.ratio=this.progress.val/this.progress.state,this},s.prototype.updateProgress=function(A,t,e,r){return this.setProgress(A?this.progress.val+A:null,t||null,e?this.progress.n+e:null,r?this.progress.stack.concat(r):null)},s.prototype.then=function(A,t){var e=this;return this.thenCore(A,t,(function(A,t){return e.updateProgress(null,null,1,[A]),Promise.prototype.then.call(this,(function(t){return e.updateProgress(null,A),t})).then(A,t).then((function(A){return e.updateProgress(1),A}))}))},s.prototype.thenCore=function(A,t,e){e=e||Promise.prototype.then;var r=this;A&&(A=A.bind(r)),t&&(t=t.bind(r));var n=-1!==Promise.toString().indexOf("[native code]")&&"Promise"===Promise.name?r:s.convert(Object.assign({},r),Promise.prototype),i=e.call(n,A,t);return s.convert(i,r.__proto__)},s.prototype.thenExternal=function(A,t){return Promise.prototype.then.call(this,A,t)},s.prototype.thenList=function(A){var t=this;return A.forEach((function(A){t=t.thenCore(A)})),t},s.prototype.catch=function(A){A&&(A=A.bind(this));var t=Promise.prototype.catch.call(this,A);return s.convert(t,this)},s.prototype.catchExternal=function(A){return Promise.prototype.catch.call(this,A)},s.prototype.error=function(A){return this.then((function(){throw new Error(A)}))},s.prototype.using=s.prototype.set,s.prototype.saveAs=s.prototype.save,s.prototype.export=s.prototype.output,s.prototype.run=s.prototype.then,De.getPageSize=function(A,t,e){if("object"===o(A)){var r=A;A=r.orientation,t=r.unit||t,e=r.format||e}t=t||"mm",e=e||"a4",A=(""+(A||"P")).toLowerCase();var n,i=(""+e).toLowerCase(),s={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(t){case"pt":n=1;break;case"mm":n=72/25.4;break;case"cm":n=72/2.54;break;case"in":n=72;break;case"px":n=.75;break;case"pc":case"em":n=12;break;case"ex":n=6;break;default:throw"Invalid unit: "+t}var a,c=0,u=0;if(s.hasOwnProperty(i))c=s[i][1]/n,u=s[i][0]/n;else try{c=e[1],u=e[0]}catch(A){throw new Error("Invalid format: "+e)}if("p"===A||"portrait"===A)A="p",u>c&&(a=u,u=c,c=a);else{if("l"!==A&&"landscape"!==A)throw"Invalid orientation: "+A;A="l",c>u&&(a=u,u=c,c=a)}return{width:u,height:c,unit:t,k:n,orientation:A}},A.html=function(A,t){(t=t||{}).callback=t.callback||function(){},t.html2canvas=t.html2canvas||{},t.html2canvas.canvas=t.html2canvas.canvas||this.canvas,t.jsPDF=t.jsPDF||this,t.fontFaces=t.fontFaces?t.fontFaces.map(Nr):null;var e=new s(t);return t.worker?e:e.from(A).doCallback()}}(De.API),De.API.addJS=function(A){return Rr=A,this.internal.events.subscribe("postPutResources",(function(){Tr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(Tr+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),Kr=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+Rr+")"),this.internal.out(">>"),this.internal.out("endobj")})),this.internal.events.subscribe("putCatalog",(function(){void 0!==Tr&&void 0!==Kr&&this.internal.out("/Names <</JavaScript "+Tr+" 0 R>>")})),this
203
+ /**
204
+ * @license
205
+ * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
206
+ *
207
+ * Licensed under the MIT License.
208
+ * http://opensource.org/licenses/mit-license
209
+ */},function(A){var t;A.events.push(["postPutResources",function(){var A=this,e=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var r=A.outline.render().split(/\r\n/),n=0;n<r.length;n++){var i=r[n],s=e.exec(i);if(null!=s){var o=s[1];A.internal.newObjectDeferredBegin(o,!1)}A.internal.write(i)}if(this.outline.createNamedDestinations){var a=this.internal.pages.length,c=[];for(n=0;n<a;n++){var u=A.internal.newObject();c.push(u);var l=A.internal.getPageInfo(n+1);A.internal.write("<< /D["+l.objId+" 0 R /XYZ null null null]>> endobj")}var h=A.internal.newObject();for(A.internal.write("<< /Names [ "),n=0;n<c.length;n++)A.internal.write("(page_"+(n+1)+")"+c[n]+" 0 R");A.internal.write(" ] >>","endobj"),t=A.internal.newObject(),A.internal.write("<< /Dests "+h+" 0 R"),A.internal.write(">>","endobj")}}]),A.events.push(["putCatalog",function(){var A=this;A.outline.root.children.length>0&&(A.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&A.internal.write("/Names "+t+" 0 R"))}]),A.events.push(["initialized",function(){var A=this;A.outline={createNamedDestinations:!1,root:{children:[]}},A.outline.add=function(A,t,e){var r={title:t,options:e,children:[]};return null==A&&(A=this.root),A.children.push(r),r},A.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=A,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},A.outline.genIds_r=function(t){t.id=A.internal.newObjectDeferred();for(var e=0;e<t.children.length;e++)this.genIds_r(t.children[e])},A.outline.renderRoot=function(A){this.objStart(A),this.line("/Type /Outlines"),A.children.length>0&&(this.line("/First "+this.makeRef(A.children[0])),this.line("/Last "+this.makeRef(A.children[A.children.length-1]))),this.line("/Count "+this.count_r({count:0},A)),this.objEnd()},A.outline.renderItems=function(t){for(var e=this.ctx.pdf.internal.getVerticalCoordinateString,r=0;r<t.children.length;r++){var n=t.children[r];this.objStart(n),this.line("/Title "+this.makeString(n.title)),this.line("/Parent "+this.makeRef(t)),r>0&&this.line("/Prev "+this.makeRef(t.children[r-1])),r<t.children.length-1&&this.line("/Next "+this.makeRef(t.children[r+1])),n.children.length>0&&(this.line("/First "+this.makeRef(n.children[0])),this.line("/Last "+this.makeRef(n.children[n.children.length-1])));var i=this.count=this.count_r({count:0},n);if(i>0&&this.line("/Count "+i),n.options&&n.options.pageNumber){var s=A.internal.getPageInfo(n.options.pageNumber);this.line("/Dest ["+s.objId+" 0 R /XYZ 0 "+e(0)+" 0]")}this.objEnd()}for(var o=0;o<t.children.length;o++)this.renderItems(t.children[o])},A.outline.line=function(A){this.ctx.val+=A+"\r\n"},A.outline.makeRef=function(A){return A.id+" 0 R"},A.outline.makeString=function(t){return"("+A.internal.pdfEscape(t)+")"},A.outline.objStart=function(A){this.ctx.val+="\r\n"+A.id+" 0 obj\r\n<<\r\n"},A.outline.objEnd=function(){this.ctx.val+=">> \r\nendobj\r\n"},A.outline.count_r=function(A,t){for(var e=0;e<t.children.length;e++)A.count++,this.count_r(A,t.children[e]);return A.count}}])}(De.API),
210
+ /**
211
+ * @license
212
+ *
213
+ * Licensed under the MIT License.
214
+ * http://opensource.org/licenses/mit-license
215
+ */
216
+ function(A){var t=[192,193,194,195,196,197,198,199];A.processJPEG=function(A,e,r,n,i,s){var o,a=this.decode.DCT_DECODE,c=null;if("string"==typeof A||this.__addimage__.isArrayBuffer(A)||this.__addimage__.isArrayBufferView(A)){switch(A=i||A,A=this.__addimage__.isArrayBuffer(A)?new Uint8Array(A):A,o=function(A){for(var e,r=256*A.charCodeAt(4)+A.charCodeAt(5),n=A.length,i={width:0,height:0,numcomponents:1},s=4;s<n;s+=2){if(s+=r,-1!==t.indexOf(A.charCodeAt(s+1))){e=256*A.charCodeAt(s+5)+A.charCodeAt(s+6),i={width:256*A.charCodeAt(s+7)+A.charCodeAt(s+8),height:e,numcomponents:A.charCodeAt(s+9)};break}r=256*A.charCodeAt(s+2)+A.charCodeAt(s+3)}return i}(A=this.__addimage__.isArrayBufferView(A)?this.__addimage__.arrayBufferToBinaryString(A):A),o.numcomponents){case 1:s=this.color_spaces.DEVICE_GRAY;break;case 4:s=this.color_spaces.DEVICE_CMYK;break;case 3:s=this.color_spaces.DEVICE_RGB}c={data:A,width:o.width,height:o.height,colorSpace:s,bitsPerComponent:8,filter:a,index:e,alias:r}}return c}}(De.API),De.API.processPNG=function(A,t,e,r){if(this.__addimage__.isArrayBuffer(A)&&(A=new Uint8Array(A)),this.__addimage__.isArrayBufferView(A)){var n,i=new ee(A,{checkCrc:!0}).decode(),s=i.width,o=i.height,a=i.channels,c=i.palette,u=i.depth;n=c&&1===a?function(A){for(var t=A.width,e=A.height,r=A.data,n=A.palette,i=A.depth,s=!1,o=[],a=[],c=void 0,u=!1,l=0,h=0;h<n.length;h++){var f=G(n[h],4),d=f[0],g=f[1],B=f[2],p=f[3];o.push(d,g,B),null!=p&&(0===p?(l++,a.length<1&&a.push(h)):p<255&&(u=!0))}if(u||l>1){s=!0,a=void 0;var w=t*e;c=new Uint8Array(w);for(var m=new DataView(r.buffer),C=0;C<w;C++){var y=G(n[rn(m,C,i)],4)[3];c[C]=y}}else 0===l&&(a=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:s?8:void 0,colorBytes:r,alphaBytes:c,needSMask:s,palette:o,mask:a}}(i):2===a||4===a?function(A){for(var t=A.data,e=A.width,r=A.height,n=A.channels,i=A.depth,s=2===n?"DeviceGray":"DeviceRGB",o=n-1,a=e*r,c=o,u=a*c,l=1*a,h=Math.ceil(u*i/8),f=Math.ceil(l*i/8),d=new Uint8Array(h),g=new Uint8Array(f),B=new DataView(t.buffer),p=new DataView(d.buffer),w=new DataView(g.buffer),m=!1,C=0;C<a;C++){for(var y=C*n,Q=0;Q<c;Q++)nn(p,rn(B,y+Q,i),C*c+Q,i);var v=rn(B,y+c,i);v<(1<<i)-1&&(m=!0),nn(w,v,1*C,i)}return{colorSpace:s,colorsPerPixel:o,sMaskBitsPerComponent:m?i:void 0,colorBytes:d,alphaBytes:g,needSMask:m}}(i):function(A){var t=A.data,e=1===A.channels?"DeviceGray":"DeviceRGB";return{colorSpace:e,colorsPerPixel:"DeviceGray"===e?1:3,colorBytes:t instanceof Uint16Array?function(A){for(var t=A.length,e=new Uint8Array(2*t),r=new DataView(e.buffer,e.byteOffset,e.byteLength),n=0;n<t;n++)r.setUint16(2*n,A[n],!1);return e}(t):t,needSMask:!1}}(i);var l,h,f,d=n,g=d.colorSpace,B=d.colorsPerPixel,p=d.sMaskBitsPerComponent,w=d.colorBytes,m=d.alphaBytes,C=d.needSMask,y=d.palette,Q=d.mask,v=null;return r!==De.API.image_compression.NONE?(v=function(A){var t;switch(A){case De.API.image_compression.FAST:t=11;break;case De.API.image_compression.MEDIUM:t=13;break;case De.API.image_compression.SLOW:t=14;break;default:t=12}return t}(r),l=this.decode.FLATE_DECODE,h="/Predictor ".concat(v," /Colors ").concat(B," /BitsPerComponent ").concat(u," /Columns ").concat(s),A=Jr(w,Math.ceil(s*B*u/8),B,u,r),C&&(f=Jr(m,Math.ceil(s*p/8),1,p,r))):(l=void 0,h=void 0,A=w,C&&(f=m)),(this.__addimage__.isArrayBuffer(A)||this.__addimage__.isArrayBufferView(A))&&(A=this.__addimage__.arrayBufferToBinaryString(A)),(f&&this.__addimage__.isArrayBuffer(f)||this.__addimage__.isArrayBufferView(f))&&(f=this.__addimage__.arrayBufferToBinaryString(f)),{alias:e,data:A,index:t,filter:l,decodeParameters:h,transparency:Q,palette:y,sMask:f,predictor:v,width:s,height:o,bitsPerComponent:u,sMaskBitsPerComponent:p,colorSpace:g}}},function(A){A.processGIF89A=function(t,e,r,n){var i=new on(t),s=i.width,o=i.height,a=[];i.decodeAndBlitFrameRGBA(0,a);var c={data:a,width:s,height:o},u=new cn(100).encode(c,100);return A.processJPEG.call(this,u,e,r,n)},A.processGIF87A=A.processGIF89A}(De.API),un.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,16===this.bitPP&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var A=0===this.colors?1<<this.bitPP:this.colors;this.palette=new Array(A);for(var t=0;t<A;t++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:n,green:r,blue:e,quad:i}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},un.prototype.parseBGR=function(){this.pos=this.offset;try{var A="bit"+this.bitPP,t=this.width*this.height*4;this.data=new Uint8Array(t),this[A]()}catch(A){se.log("bit decode error:"+A)}},un.prototype.bit1=function(){var A,t=Math.ceil(this.width/8),e=t%4;for(A=this.height-1;A>=0;A--){for(var r=this.bottom_up?A:this.height-1-A,n=0;n<t;n++)for(var i=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+8*n*4,o=0;o<8&&8*n+o<this.width;o++){var a=this.palette[i>>7-o&1];this.data[s+4*o]=a.blue,this.data[s+4*o+1]=a.green,this.data[s+4*o+2]=a.red,this.data[s+4*o+3]=255}0!==e&&(this.pos+=4-e)}},un.prototype.bit4=function(){for(var A=Math.ceil(this.width/2),t=A%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<A;n++){var i=this.datav.getUint8(this.pos++,!0),s=r*this.width*4+2*n*4,o=i>>4,a=15&i,c=this.palette[o];if(this.data[s]=c.blue,this.data[s+1]=c.green,this.data[s+2]=c.red,this.data[s+3]=255,2*n+1>=this.width)break;c=this.palette[a],this.data[s+4]=c.blue,this.data[s+4+1]=c.green,this.data[s+4+2]=c.red,this.data[s+4+3]=255}0!==t&&(this.pos+=4-t)}},un.prototype.bit8=function(){for(var A=this.width%4,t=this.height-1;t>=0;t--){for(var e=this.bottom_up?t:this.height-1-t,r=0;r<this.width;r++){var n=this.datav.getUint8(this.pos++,!0),i=e*this.width*4+4*r;if(n<this.palette.length){var s=this.palette[n];this.data[i]=s.red,this.data[i+1]=s.green,this.data[i+2]=s.blue,this.data[i+3]=255}else this.data[i]=255,this.data[i+1]=255,this.data[i+2]=255,this.data[i+3]=255}0!==A&&(this.pos+=4-A)}},un.prototype.bit15=function(){for(var A=this.width%3,t=parseInt("11111",2),e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,n=0;n<this.width;n++){var i=this.datav.getUint16(this.pos,!0);this.pos+=2;var s=(i&t)/t*255|0,o=(i>>5&t)/t*255|0,a=(i>>10&t)/t*255|0,c=i>>15?255:0,u=r*this.width*4+4*n;this.data[u]=a,this.data[u+1]=o,this.data[u+2]=s,this.data[u+3]=c}this.pos+=A}},un.prototype.bit16=function(){for(var A=this.width%3,t=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var n=this.bottom_up?r:this.height-1-r,i=0;i<this.width;i++){var s=this.datav.getUint16(this.pos,!0);this.pos+=2;var o=(s&t)/t*255|0,a=(s>>5&e)/e*255|0,c=(s>>11)/t*255|0,u=n*this.width*4+4*i;this.data[u]=c,this.data[u+1]=a,this.data[u+2]=o,this.data[u+3]=255}this.pos+=A}},un.prototype.bit24=function(){for(var A=this.height-1;A>=0;A--){for(var t=this.bottom_up?A:this.height-1-A,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=t*this.width*4+4*e;this.data[s]=i,this.data[s+1]=n,this.data[s+2]=r,this.data[s+3]=255}this.pos+=this.width%4}},un.prototype.bit32=function(){for(var A=this.height-1;A>=0;A--)for(var t=this.bottom_up?A:this.height-1-A,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),n=this.datav.getUint8(this.pos++,!0),i=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),o=t*this.width*4+4*e;this.data[o]=i,this.data[o+1]=n,this.data[o+2]=r,this.data[o+3]=s}},un.prototype.getData=function(){return this.data},
217
+ /**
218
+ * @license
219
+ * Copyright (c) 2018 Aras Abbasi
220
+ *
221
+ * Licensed under the MIT License.
222
+ * http://opensource.org/licenses/mit-license
223
+ */
224
+ function(A){A.processBMP=function(t,e,r,n){var i=new un(t,!1),s=i.width,o=i.height,a={data:i.getData(),width:s,height:o},c=new cn(100).encode(a,100);return A.processJPEG.call(this,c,e,r,n)}}(De.API),ln.prototype.getData=function(){return this.data},
225
+ /**
226
+ * @license
227
+ * Copyright (c) 2019 Aras Abbasi
228
+ *
229
+ * Licensed under the MIT License.
230
+ * http://opensource.org/licenses/mit-license
231
+ */
232
+ function(A){A.processWEBP=function(t,e,r,n){var i=new ln(t),s=i.width,o=i.height,a={data:i.getData(),width:s,height:o},c=new cn(100).encode(a,100);return A.processJPEG.call(this,c,e,r,n)}}(De.API),De.API.processRGBA=function(A,t,e){for(var r=A.data,n=r.length,i=new Uint8Array(n/4*3),s=new Uint8Array(n/4),o=0,a=0,c=0;c<n;c+=4){var u=r[c],l=r[c+1],h=r[c+2],f=r[c+3];i[o++]=u,i[o++]=l,i[o++]=h,s[a++]=f}var d=this.__addimage__.arrayBufferToBinaryString(i);return{alpha:this.__addimage__.arrayBufferToBinaryString(s),data:d,index:t,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:A.width,height:A.height}},De.API.setLanguage=function(A){return void 0===this.internal.languageSettings&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),void 0!=={af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Spain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[A]&&(this.internal.languageSettings.languageCode=A,!1===this.internal.languageSettings.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")})),this.internal.languageSettings.isSubscribed=!0)),this},jr=De.API,Gr=jr.getCharWidthsArray=function(A,t){var e,r,n=(t=t||{}).font||this.internal.getFont(),i=t.fontSize||this.internal.getFontSize(),s=t.charSpace||this.internal.getCharSpace(),a=t.widths?t.widths:n.metadata.Unicode.widths,c=a.fof?a.fof:1,u=t.kerning?t.kerning:n.metadata.Unicode.kerning,l=u.fof?u.fof:1,h=!1!==t.doKerning,f=0,d=A.length,g=0,B=a[0]||c,p=[];for(e=0;e<d;e++)r=A.charCodeAt(e),"function"==typeof n.metadata.widthOfString?p.push((n.metadata.widthOfGlyph(n.metadata.characterToGlyph(r))+s*(1e3/i)||0)/1e3):(f=h&&"object"===o(u[r])&&!isNaN(parseInt(u[r][g],10))?u[r][g]/l:0,p.push((a[r]||B)/c+f)),g=r;return p},Vr=jr.getStringUnitWidth=function(A,t){var e=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),n=t.charSpace||this.internal.getCharSpace();return jr.processArabic&&(A=jr.processArabic(A)),"function"==typeof r.metadata.widthOfString?r.metadata.widthOfString(A,e,n)/e:Gr.apply(this,arguments).reduce((function(A,t){return A+t}),0)},qr=function(A,t,e,r){for(var n=[],i=0,s=A.length,o=0;i!==s&&o+t[i]<e;)o+=t[i],i++;n.push(A.slice(0,i));var a=i;for(o=0;i!==s;)o+t[i]>r&&(n.push(A.slice(a,i)),o=0,a=i),o+=t[i],i++;return a!==i&&n.push(A.slice(a,i)),n},Wr=function(A,t,e){e||(e={});var r,n,i,s,o,a,c,u=[],l=[u],h=e.textIndent||0,f=0,d=0,g=A.split(" "),B=Gr.apply(this,[" ",e])[0];if(a=-1===e.lineIndent?g[0].length+2:e.lineIndent||0){var p=Array(a).join(" "),w=[];g.map((function(A){(A=A.split(/\s*\n/)).length>1?w=w.concat(A.map((function(A,t){return(t&&A.length?"\n":"")+A}))):w.push(A[0])})),g=w,a=Vr.apply(this,[p,e])}for(i=0,s=g.length;i<s;i++){var m=0;if(r=g[i],a&&"\n"==r[0]&&(r=r.substr(1),m=1),h+f+(d=(n=Gr.apply(this,[r,e])).reduce((function(A,t){return A+t}),0))>t||m){if(d>t){for(o=qr.apply(this,[r,n,t-(h+f),t]),u.push(o.shift()),u=[o.pop()];o.length;)l.push([o.shift()]);d=n.slice(r.length-(u[0]?u[0].length:0)).reduce((function(A,t){return A+t}),0)}else u=[r];l.push(u),h=d+a,f=B}else u.push(r),h+=f+d,f=B}return c=a?function(A,t){return(t?p:"")+A.join(" ")}:function(A){return A.join(" ")},l.map(c)},jr.splitTextToSize=function(A,t,e){var r,n=(e=e||{}).fontSize||this.internal.getFontSize(),i=function(A){if(A.widths&&A.kerning)return{widths:A.widths,kerning:A.kerning};var t=this.internal.getFont(A.fontName,A.fontStyle),e="Unicode";return t.metadata[e]?{widths:t.metadata[e].widths||{0:1},kerning:t.metadata[e].kerning||{}}:{font:t.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}.call(this,e);r=Array.isArray(A)?A:String(A).split(/\r?\n/);var s=1*this.internal.scaleFactor*t/n;i.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/n:0,i.lineIndent=e.lineIndent;var o,a,c=[];for(o=0,a=r.length;o<a;o++)c=c.concat(Wr.apply(this,[r[o],s,i]));return c},function(A){A.__fontmetrics__=A.__fontmetrics__||{};for(var t="0123456789abcdef",e="klmnopqrstuvwxyz",r={},n={},i=0;i<16;i++)r[e[i]]=t[i],n[t[i]]=e[i];var s=function(A){return"0x"+parseInt(A,10).toString(16)},a=A.__fontmetrics__.compress=function(A){var t,e,r,i,c=["{"];for(var u in A){if(t=A[u],isNaN(parseInt(u,10))?e="'"+u+"'":(u=parseInt(u,10),e=(e=s(u).slice(2)).slice(0,-1)+n[e.slice(-1)]),"number"==typeof t)t<0?(r=s(t).slice(3),i="-"):(r=s(t).slice(2),i=""),r=i+r.slice(0,-1)+n[r.slice(-1)];else{if("object"!==o(t))throw new Error("Don't know what to do with value type "+o(t)+".");r=a(t)}c.push(e+r)}return c.push("}"),c.join("")},c=A.__fontmetrics__.uncompress=function(A){if("string"!=typeof A)throw new Error("Invalid argument passed to uncompress.");for(var t,e,n,i,s={},o=1,a=s,c=[],u="",l="",h=A.length-1,f=1;f<h;f+=1)"'"==(i=A[f])?t?(n=t.join(""),t=void 0):t=[]:t?t.push(i):"{"==i?(c.push([a,n]),a={},n=void 0):"}"==i?((e=c.pop())[0][e[1]]=a,n=void 0,a=e[0]):"-"==i?o=-1:void 0===n?r.hasOwnProperty(i)?(u+=r[i],n=parseInt(u,16)*o,o=1,u=""):u+=i:r.hasOwnProperty(i)?(l+=r[i],a[n]=parseInt(l,16)*o,o=1,n=void 0,l=""):l+=i;return s},u={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},l={Unicode:{Courier:u,"Courier-Bold":u,"Courier-BoldOblique":u,"Courier-Oblique":u,Helvetica:u,"Helvetica-Bold":u,"Helvetica-BoldOblique":u,"Helvetica-Oblique":u,"Times-Roman":u,"Times-Bold":u,"Times-BoldItalic":u,"Times-Italic":u}},h={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}}}")}};A.events.push(["addFont",function(A){var t=A.font,e=h.Unicode[t.postScriptName];e&&(t.metadata.Unicode={},t.metadata.Unicode.widths=e.widths,t.metadata.Unicode.kerning=e.kerning);var r=l.Unicode[t.postScriptName];r&&(t.metadata.Unicode.encoding=r,t.encoding=r.codePages[0])}])}(De.API),
233
+ /**
234
+ * @license
235
+ * Licensed under the MIT License.
236
+ * http://opensource.org/licenses/mit-license
237
+ */
238
+ function(A){var t=function(A){for(var t=A.length,e=new Uint8Array(t),r=0;r<t;r++)e[r]=A.charCodeAt(r);return e};A.API.events.push(["addFont",function(e){var r=void 0,n=e.font,i=e.instance;if(!n.isStandardFont){if(void 0===i)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");if("string"!=typeof(r=!1===i.existsFileInVFS(n.postScriptName)?i.loadFile(n.postScriptName):i.getFileFromVFS(n.postScriptName)))throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+n.postScriptName+"').");!function(e,r){r=/^\x00\x01\x00\x00/.test(r)?t(r):t(he(r)),e.metadata=A.API.TTFFont.open(r),e.metadata.Unicode=e.metadata.Unicode||{encoding:{},kerning:{},widths:[]},e.metadata.glyIdsUsed=[0]}(n,r)}}])}(De),De.API.addSvgAsImage=function(A,t,e,r,n,i,s,o){if(isNaN(t)||isNaN(e))throw se.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(n))throw se.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var a=document.createElement("canvas");a.width=r,a.height=n;var c=a.getContext("2d");c.fillStyle="#fff",c.fillRect(0,0,a.width,a.height);var u={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},l=this;return(ne.canvg?Promise.resolve(ne.canvg):import("./index.es-BIiEi3w5.js")).catch((function(A){return Promise.reject(new Error("Could not load canvg: "+A))})).then((function(A){return A.default?A.default:A})).then((function(t){return t.fromString(c,A,u)}),(function(){return Promise.reject(new Error("Could not load canvg."))})).then((function(A){return A.render(u)})).then((function(){l.addImage(a.toDataURL("image/jpeg",1),t,e,r,n,s,o)}))},De.API.putTotalPages=function(A){var t,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(A,"g"),e=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(A,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var n=0;n<this.internal.pages[r].length;n++)this.internal.pages[r][n]=this.internal.pages[r][n].replace(t,e);return this},De.API.viewerPreferences=function(A,t){var e;A=A||{},t=t||!1;var r,n,i,s={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},a=Object.keys(s),c=[],u=0,l=0,h=0;function f(A,t){var e,r=!1;for(e=0;e<A.length;e+=1)A[e]===t&&(r=!0);return r}if(void 0===this.internal.viewerpreferences&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(s)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,"reset"===A||!0===t){var d=a.length;for(h=0;h<d;h+=1)e[a[h]].value=e[a[h]].defaultValue,e[a[h]].explicitSet=!1}if("object"===o(A))for(n in A)if(i=A[n],f(a,n)&&void 0!==i){if("boolean"===e[n].type&&"boolean"==typeof i)e[n].value=i;else if("name"===e[n].type&&f(e[n].valueSet,i))e[n].value=i;else if("integer"===e[n].type&&Number.isInteger(i))e[n].value=i;else if("array"===e[n].type){for(u=0;u<i.length;u+=1)if(r=!0,1===i[u].length&&"number"==typeof i[u][0])c.push(String(i[u]-1));else if(i[u].length>1){for(l=0;l<i[u].length;l+=1)"number"!=typeof i[u][l]&&(r=!1);!0===r&&c.push([i[u][0]-1,i[u][1]-1].join(" "))}e[n].value="["+c.join(" ")+"]"}else e[n].value=e[n].defaultValue;e[n].explicitSet=!0}return!1===this.internal.viewerpreferences.isSubscribed&&(this.internal.events.subscribe("putCatalog",(function(){var A,t=[];for(A in e)!0===e[A].explicitSet&&("name"===e[A].type?t.push("/"+A+" /"+e[A].value):t.push("/"+A+" "+e[A].value));0!==t.length&&this.internal.write("/ViewerPreferences\n<<\n"+t.join("\n")+"\n>>")})),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this
239
+ /** ====================================================================
240
+ * @license
241
+ * jsPDF XMP metadata plugin
242
+ * Copyright (c) 2016 Jussi Utunen, u-jussi@suomi24.fi
243
+ *
244
+ * Permission is hereby granted, free of charge, to any person obtaining
245
+ * a copy of this software and associated documentation files (the
246
+ * "Software"), to deal in the Software without restriction, including
247
+ * without limitation the rights to use, copy, modify, merge, publish,
248
+ * distribute, sublicense, and/or sell copies of the Software, and to
249
+ * permit persons to whom the Software is furnished to do so, subject to
250
+ * the following conditions:
251
+ *
252
+ * The above copyright notice and this permission notice shall be
253
+ * included in all copies or substantial portions of the Software.
254
+ *
255
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
256
+ * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
257
+ * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
258
+ * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
259
+ * LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
260
+ * OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
261
+ * WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
262
+ * ====================================================================
263
+ */},function(A){var t=function(){var A='<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=unescape(encodeURIComponent('<x:xmpmeta xmlns:x="adobe:ns:meta/">')),e=unescape(encodeURIComponent(A)),r=unescape(encodeURIComponent(this.internal.__metadata__.metadata)),n=unescape(encodeURIComponent("</jspdf:metadata></rdf:Description></rdf:RDF>")),i=unescape(encodeURIComponent("</x:xmpmeta>")),s=e.length+r.length+n.length+t.length+i.length;this.internal.__metadata__.metadata_object_number=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+s+" >>"),this.internal.write("stream"),this.internal.write(t+e+r+n+i),this.internal.write("endstream"),this.internal.write("endobj")},e=function(){this.internal.__metadata__.metadata_object_number&&this.internal.write("/Metadata "+this.internal.__metadata__.metadata_object_number+" 0 R")};A.addMetadata=function(A,r){return void 0===this.internal.__metadata__&&(this.internal.__metadata__={metadata:A,namespaceuri:r||"http://jspdf.default.namespaceuri/"},this.internal.events.subscribe("putCatalog",e),this.internal.events.subscribe("postPutResources",t)),this}}(De.API),function(A){var t=A.API,e=t.pdfEscape16=function(A,t){for(var e,r=t.metadata.Unicode.widths,n=["","0","00","000","0000"],i=[""],s=0,o=A.length;s<o;++s){if(e=t.metadata.characterToGlyph(A.charCodeAt(s)),t.metadata.glyIdsUsed.push(e),t.metadata.toUnicode[e]=A.charCodeAt(s),-1==r.indexOf(e)&&(r.push(e),r.push([parseInt(t.metadata.widthOfGlyph(e),10)])),"0"==e)return i.join("");e=e.toString(16),i.push(n[4-e.length],e)}return i.join("")},r=function(A){var t,e,r,n,i,s,o;for(i="/CIDInit /ProcSet findresource begin\n12 dict begin\nbegincmap\n/CIDSystemInfo <<\n /Registry (Adobe)\n /Ordering (UCS)\n /Supplement 0\n>> def\n/CMapName /Adobe-Identity-UCS def\n/CMapType 2 def\n1 begincodespacerange\n<0000><ffff>\nendcodespacerange",r=[],s=0,o=(e=Object.keys(A).sort((function(A,t){return A-t}))).length;s<o;s++)t=e[s],r.length>=100&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar",r=[]),void 0!==A[t]&&null!==A[t]&&"function"==typeof A[t].toString&&(n=("0000"+A[t].toString(16)).slice(-4),t=("0000"+(+t).toString(16)).slice(-4),r.push("<"+t+"><"+n+">"));return r.length&&(i+="\n"+r.length+" beginbfchar\n"+r.join("\n")+"\nendbfchar\n"),i+"endcmap\nCMapName currentdict /CMap defineresource pop\nend\nend"};t.events.push(["putFont",function(t){!function(t){var e=t.font,n=t.out,i=t.newObject,s=t.putStream;if(e.metadata instanceof A.API.TTFFont&&"Identity-H"===e.encoding){for(var o=e.metadata.Unicode.widths,a=e.metadata.subset.encode(e.metadata.glyIdsUsed,1),c="",u=0;u<a.length;u++)c+=String.fromCharCode(a[u]);var l=i();s({data:c,addLength1:!0,objectId:l}),n("endobj");var h=i();s({data:r(e.metadata.toUnicode),addLength1:!0,objectId:h}),n("endobj");var f=i();n("<<"),n("/Type /FontDescriptor"),n("/FontName /"+He(e.fontName)),n("/FontFile2 "+l+" 0 R"),n("/FontBBox "+A.API.PDFObject.convert(e.metadata.bbox)),n("/Flags "+e.metadata.flags),n("/StemV "+e.metadata.stemV),n("/ItalicAngle "+e.metadata.italicAngle),n("/Ascent "+e.metadata.ascender),n("/Descent "+e.metadata.decender),n("/CapHeight "+e.metadata.capHeight),n(">>"),n("endobj");var d=i();n("<<"),n("/Type /Font"),n("/BaseFont /"+He(e.fontName)),n("/FontDescriptor "+f+" 0 R"),n("/W "+A.API.PDFObject.convert(o)),n("/CIDToGIDMap /Identity"),n("/DW 1000"),n("/Subtype /CIDFontType2"),n("/CIDSystemInfo"),n("<<"),n("/Supplement 0"),n("/Registry (Adobe)"),n("/Ordering ("+e.encoding+")"),n(">>"),n(">>"),n("endobj"),e.objectNumber=i(),n("<<"),n("/Type /Font"),n("/Subtype /Type0"),n("/ToUnicode "+h+" 0 R"),n("/BaseFont /"+He(e.fontName)),n("/Encoding /"+e.encoding),n("/DescendantFonts ["+d+" 0 R]"),n(">>"),n("endobj"),e.isAlreadyPutted=!0}}(t)}]),t.events.push(["putFont",function(t){!function(t){var e=t.font,n=t.out,i=t.newObject,s=t.putStream;if(e.metadata instanceof A.API.TTFFont&&"WinAnsiEncoding"===e.encoding){for(var o=e.metadata.rawData,a="",c=0;c<o.length;c++)a+=String.fromCharCode(o[c]);var u=i();s({data:a,addLength1:!0,objectId:u}),n("endobj");var l=i();s({data:r(e.metadata.toUnicode),addLength1:!0,objectId:l}),n("endobj");var h=i();n("<<"),n("/Descent "+e.metadata.decender),n("/CapHeight "+e.metadata.capHeight),n("/StemV "+e.metadata.stemV),n("/Type /FontDescriptor"),n("/FontFile2 "+u+" 0 R"),n("/Flags 96"),n("/FontBBox "+A.API.PDFObject.convert(e.metadata.bbox)),n("/FontName /"+He(e.fontName)),n("/ItalicAngle "+e.metadata.italicAngle),n("/Ascent "+e.metadata.ascender),n(">>"),n("endobj"),e.objectNumber=i();for(var f=0;f<e.metadata.hmtx.widths.length;f++)e.metadata.hmtx.widths[f]=parseInt(e.metadata.hmtx.widths[f]*(1e3/e.metadata.head.unitsPerEm));n("<</Subtype/TrueType/Type/Font/ToUnicode "+l+" 0 R/BaseFont/"+He(e.fontName)+"/FontDescriptor "+h+" 0 R/Encoding/"+e.encoding+" /FirstChar 29 /LastChar 255 /Widths "+A.API.PDFObject.convert(e.metadata.hmtx.widths)+">>"),n("endobj"),e.isAlreadyPutted=!0}}(t)}]);var n=function(A){var t,r=A.text||"",n=A.x,i=A.y,s=A.options||{},o=A.mutex||{},a=o.pdfEscape,c=o.activeFontKey,u=o.fonts,l=c,h="",f=0,d="",g=u[l].encoding;if("Identity-H"!==u[l].encoding)return{text:r,x:n,y:i,options:s,mutex:o};for(d=r,l=c,Array.isArray(r)&&(d=r[0]),f=0;f<d.length;f+=1)u[l].metadata.hasOwnProperty("cmap")&&(t=u[l].metadata.cmap.unicode.codeMap[d[f].charCodeAt(0)]),t||d[f].charCodeAt(0)<256&&u[l].metadata.hasOwnProperty("Unicode")?h+=d[f]:h+="";var B="";return parseInt(l.slice(1))<14||"WinAnsiEncoding"===g?B=a(h,l).split("").map((function(A){return A.charCodeAt(0).toString(16)})).join(""):"Identity-H"===g&&(B=e(h,u[l])),o.isHex=!0,{text:B,x:n,y:i,options:s,mutex:o}};t.events.push(["postProcessText",function(A){var t=A.text||"",e=[],r={text:t,x:A.x,y:A.y,options:A.options,mutex:A.mutex};if(Array.isArray(t)){var i=0;for(i=0;i<t.length;i+=1)Array.isArray(t[i])&&3===t[i].length?e.push([n(Object.assign({},r,{text:t[i][0]})).text,t[i][1],t[i][2]]):e.push(n(Object.assign({},r,{text:t[i]})).text);A.text=e}else A.text=n(Object.assign({},r,{text:t})).text}])}(De),
264
+ /**
265
+ * @license
266
+ * jsPDF virtual FileSystem functionality
267
+ *
268
+ * Licensed under the MIT License.
269
+ * http://opensource.org/licenses/mit-license
270
+ */
271
+ function(A){var t=function(){return void 0===this.internal.vFS&&(this.internal.vFS={}),!0};A.existsFileInVFS=function(A){return t.call(this),void 0!==this.internal.vFS[A]},A.addFileToVFS=function(A,e){return t.call(this),this.internal.vFS[A]=e,this},A.getFileFromVFS=function(A){return t.call(this),void 0!==this.internal.vFS[A]?this.internal.vFS[A]:null}}(De.API),
272
+ /**
273
+ * @license
274
+ * Unicode Bidi Engine based on the work of Alex Shensis (@asthensis)
275
+ * MIT License
276
+ */
277
+ function(A){A.__bidiEngine__=A.prototype.__bidiEngine__=function(A){var e,r,n,i,s,o,a,c=t,u=[[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]],l=[[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]],h={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},f={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},d=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],g=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)$/),B=!1,p=0;this.__bidiEngine__={};var w=function(A){var t=A.charCodeAt(),e=t>>8,r=f[e];return void 0!==r?c[256*r+(255&t)]:252===e||253===e?"AL":g.test(e)?"L":8===e?"R":"N"},m=function(A){for(var t,e=0;e<A.length;e++){if("L"===(t=w(A.charAt(e))))return!1;if("R"===t)return!0}return!1},C=function(A,t,s,o){var a,c,u,l,h=t[o];switch(h){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":B=!1;break;case"N":case"AN":break;case"EN":B&&(h="AN");break;case"AL":B=!0,h="R";break;case"WS":case"BN":h="N";break;case"CS":o<1||o+1>=t.length||"EN"!==(a=s[o-1])&&"AN"!==a||"EN"!==(c=t[o+1])&&"AN"!==c?h="N":B&&(c="AN"),h=c===a?c:"N";break;case"ES":h="EN"===(a=o>0?s[o-1]:"B")&&o+1<t.length&&"EN"===t[o+1]?"EN":"N";break;case"ET":if(o>0&&"EN"===s[o-1]){h="EN";break}if(B){h="N";break}for(u=o+1,l=t.length;u<l&&"ET"===t[u];)u++;h=u<l&&"EN"===t[u]?"EN":"N";break;case"NSM":if(n&&!i){for(l=t.length,u=o+1;u<l&&"NSM"===t[u];)u++;if(u<l){var f=A[o],d=f>=1425&&f<=2303||64286===f;if(a=t[u],d&&("R"===a||"AL"===a)){h="R";break}}}h=o<1||"B"===(a=t[o-1])?"N":s[o-1];break;case"B":B=!1,e=!0,h=p;break;case"S":r=!0,h="N"}return h},y=function(A,t,e){var r=A.split("");return e&&Q(r,e,{hiLevel:p}),r.reverse(),t&&t.reverse(),r.join("")},Q=function(A,t,n){var i,s,o,a,c,f=-1,d=A.length,g=0,m=[],y=p?l:u,Q=[];for(B=!1,e=!1,r=!1,s=0;s<d;s++)Q[s]=w(A[s]);for(o=0;o<d;o++){if(c=g,m[o]=C(A,Q,m,o),i=240&(g=y[c][h[m[o]]]),g&=15,t[o]=a=y[g][5],i>0)if(16===i){for(s=f;s<o;s++)t[s]=1;f=-1}else f=-1;if(y[g][6])-1===f&&(f=o);else if(f>-1){for(s=f;s<o;s++)t[s]=a;f=-1}"B"===Q[o]&&(t[o]=0),n.hiLevel|=a}r&&function(A,t,e){for(var r=0;r<e;r++)if("S"===A[r]){t[r]=p;for(var n=r-1;n>=0&&"WS"===A[n];n--)t[n]=p}}(Q,t,d)},v=function(A,t,r,n,i){if(!(i.hiLevel<A)){if(1===A&&1===p&&!e)return t.reverse(),void(r&&r.reverse());for(var s,o,a,c,u=t.length,l=0;l<u;){if(n[l]>=A){for(a=l+1;a<u&&n[a]>=A;)a++;for(c=l,o=a-1;c<o;c++,o--)s=t[c],t[c]=t[o],t[o]=s,r&&(s=r[c],r[c]=r[o],r[o]=s);l=a}l++}}},b=function(A,t,e){var r=A.split(""),n={hiLevel:p};return e||(e=[]),Q(r,e,n),function(A,t,e){if(0!==e.hiLevel&&a)for(var r,n=0;n<A.length;n++)1===t[n]&&(r=d.indexOf(A[n]))>=0&&(A[n]=d[r+1])}(r,e,n),v(2,r,t,e,n),v(1,r,t,e,n),r.join("")};return this.__bidiEngine__.doBidiReorder=function(A,t,e){if(function(A,t){if(t)for(var e=0;e<A.length;e++)t[e]=e;void 0===i&&(i=m(A)),void 0===o&&(o=m(A))}(A,t),n||!s||o)if(n&&s&&i^o)p=i?1:0,A=y(A,t,e);else if(!n&&s&&o)p=i?1:0,A=b(A,t,e),A=y(A,t);else if(!n||i||s||o){if(n&&!s&&i^o)A=y(A,t),i?(p=0,A=b(A,t,e)):(p=1,A=b(A,t,e),A=y(A,t));else if(n&&i&&!s&&o)p=1,A=b(A,t,e),A=y(A,t);else if(!n&&!s&&i^o){var r=a;i?(p=1,A=b(A,t,e),p=0,a=!1,A=b(A,t,e),a=r):(p=0,A=b(A,t,e),A=y(A,t),p=1,a=!1,A=b(A,t,e),a=r,A=y(A,t))}}else p=0,A=b(A,t,e);else p=i?1:0,A=b(A,t,e);return A},this.__bidiEngine__.setOptions=function(A){A&&(n=A.isInputVisual,s=A.isOutputVisual,i=A.isInputRtl,o=A.isOutputRtl,a=A.isSymmetricSwapping)},this.__bidiEngine__.setOptions(A),this.__bidiEngine__};var t=["BN","BN","BN","BN","BN","BN","BN","BN","BN","S","B","S","WS","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","B","B","B","S","WS","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","BN","BN","BN","BN","BN","BN","B","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","BN","CS","N","ET","ET","ET","ET","N","N","N","N","L","N","N","BN","N","N","ET","ET","EN","EN","N","L","N","N","N","EN","L","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","L","L","L","L","L","L","L","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","L","N","N","N","N","N","ET","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","NSM","R","NSM","NSM","R","NSM","NSM","R","NSM","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","N","N","N","N","N","R","R","R","R","R","N","N","N","N","N","N","N","N","N","N","N","AN","AN","AN","AN","AN","AN","N","N","AL","ET","ET","AL","CS","AL","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","AN","AN","AN","AN","AN","AN","AN","AN","AN","ET","AN","AN","AL","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AN","N","NSM","NSM","NSM","NSM","NSM","NSM","AL","AL","NSM","NSM","N","NSM","NSM","NSM","NSM","AL","AL","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","AL","AL","NSM","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","R","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","R","R","N","N","N","N","R","N","N","N","N","N","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","WS","BN","BN","BN","L","R","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","B","LRE","RLE","PDF","LRO","RLO","CS","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","WS","BN","BN","BN","BN","BN","N","LRI","RLI","FSI","PDI","BN","BN","BN","BN","BN","BN","EN","L","N","N","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","L","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","ES","ES","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","N","N","N","N","N","R","NSM","R","R","R","R","R","R","R","R","R","R","ES","R","R","R","R","R","R","R","R","R","R","R","R","R","N","R","R","R","R","R","N","R","N","R","R","N","R","R","N","R","R","R","R","R","R","R","R","R","R","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","NSM","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","CS","N","CS","N","N","CS","N","N","N","N","N","N","N","N","N","ET","N","N","ES","ES","N","N","N","N","N","ET","ET","N","N","N","N","N","AL","AL","AL","AL","AL","N","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","AL","N","N","BN","N","N","N","ET","ET","ET","N","N","N","N","N","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","N","N","N","N","N","N","N","N","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","N","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","L","L","L","N","N","L","L","L","N","N","N","ET","ET","N","N","N","ET","ET","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N","N"],e=new A.__bidiEngine__({isInputVisual:!0});A.API.events.push(["postProcessText",function(A){var t=A.text;A.x,A.y;var r=A.options||{};A.mutex,r.lang;var n=[];if(r.isInputVisual="boolean"!=typeof r.isInputVisual||r.isInputVisual,e.setOptions(r),"[object Array]"===Object.prototype.toString.call(t)){var i=0;for(n=[],i=0;i<t.length;i+=1)"[object Array]"===Object.prototype.toString.call(t[i])?n.push([e.doBidiReorder(t[i][0]),t[i][1],t[i][2]]):n.push([e.doBidiReorder(t[i])]);A.text=n}else A.text=e.doBidiReorder(t);e.setOptions({isInputVisual:!0})}])}(De),De.API.TTFFont=function(){function A(A){var t;if(this.rawData=A,t=this.contents=new fn(A),this.contents.pos=4,"ttcf"===t.readString(4))throw new Error("TTCF not supported.");t.pos=0,this.parse(),this.subset=new Nn(this),this.registerTTF()}return A.open=function(t){return new A(t)},A.prototype.parse=function(){return this.directory=new dn(this.contents),this.head=new pn(this),this.name=new bn(this),this.cmap=new mn(this),this.toUnicode={},this.hhea=new Cn(this),this.maxp=new Fn(this),this.hmtx=new Un(this),this.post=new Qn(this),this.os2=new yn(this),this.loca=new Hn(this),this.glyf=new En(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]},A.prototype.registerTTF=function(){var A,t,e,r,n;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=function(){var t,e,r,n;for(n=[],t=0,e=(r=this.bbox).length;t<e;t++)A=r[t],n.push(Math.round(A*this.scaleFactor));return n}.call(this),this.stemV=0,this.post.exists?(e=255&(r=this.post.italic_angle),32768&(t=r>>16)&&(t=-(1+(65535^t))),this.italicAngle=+(t+"."+e)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=1===(n=this.familyClass)||2===n||3===n||4===n||5===n||7===n,this.isScript=10===this.familyClass,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),0!==this.italicAngle&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},A.prototype.characterToGlyph=function(A){var t;return(null!=(t=this.cmap.unicode)?t.codeMap[A]:void 0)||0},A.prototype.widthOfGlyph=function(A){var t;return t=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(A).advance*t},A.prototype.widthOfString=function(A,t,e){var r,n,i,s;for(i=0,n=0,s=(A=""+A).length;0<=s?n<s:n>s;n=0<=s?++n:--n)r=A.charCodeAt(n),i+=this.widthOfGlyph(this.characterToGlyph(r))+e*(1e3/t)||0;return i*(t/1e3)},A.prototype.lineHeight=function(A,t){var e;return null==t&&(t=!1),e=t?this.lineGap:0,(this.ascender+e-this.decender)/1e3*A},A}();var hn,fn=function(){function A(A){this.data=null!=A?A:[],this.pos=0,this.length=this.data.length}return A.prototype.readByte=function(){return this.data[this.pos++]},A.prototype.writeByte=function(A){return this.data[this.pos++]=A},A.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},A.prototype.writeUInt32=function(A){return this.writeByte(A>>>24&255),this.writeByte(A>>16&255),this.writeByte(A>>8&255),this.writeByte(255&A)},A.prototype.readInt32=function(){var A;return(A=this.readUInt32())>=2147483648?A-4294967296:A},A.prototype.writeInt32=function(A){return A<0&&(A+=4294967296),this.writeUInt32(A)},A.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},A.prototype.writeUInt16=function(A){return this.writeByte(A>>8&255),this.writeByte(255&A)},A.prototype.readInt16=function(){var A;return(A=this.readUInt16())>=32768?A-65536:A},A.prototype.writeInt16=function(A){return A<0&&(A+=65536),this.writeUInt16(A)},A.prototype.readString=function(A){var t,e;for(e=[],t=0;0<=A?t<A:t>A;t=0<=A?++t:--t)e[t]=String.fromCharCode(this.readByte());return e.join("")},A.prototype.writeString=function(A){var t,e,r;for(r=[],t=0,e=A.length;0<=e?t<e:t>e;t=0<=e?++t:--t)r.push(this.writeByte(A.charCodeAt(t)));return r},A.prototype.readShort=function(){return this.readInt16()},A.prototype.writeShort=function(A){return this.writeInt16(A)},A.prototype.readLongLong=function(){var A,t,e,r,n,i,s,o;return A=this.readByte(),t=this.readByte(),e=this.readByte(),r=this.readByte(),n=this.readByte(),i=this.readByte(),s=this.readByte(),o=this.readByte(),128&A?-1*(72057594037927940*(255^A)+281474976710656*(255^t)+1099511627776*(255^e)+4294967296*(255^r)+16777216*(255^n)+65536*(255^i)+256*(255^s)+(255^o)+1):72057594037927940*A+281474976710656*t+1099511627776*e+4294967296*r+16777216*n+65536*i+256*s+o},A.prototype.writeLongLong=function(A){var t,e;return t=Math.floor(A/4294967296),e=4294967295&A,this.writeByte(t>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t),this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e)},A.prototype.readInt=function(){return this.readInt32()},A.prototype.writeInt=function(A){return this.writeInt32(A)},A.prototype.read=function(A){var t,e;for(t=[],e=0;0<=A?e<A:e>A;e=0<=A?++e:--e)t.push(this.readByte());return t},A.prototype.write=function(A){var t,e,r,n;for(n=[],e=0,r=A.length;e<r;e++)t=A[e],n.push(this.writeByte(t));return n},A}(),dn=function(){var A;function t(A){var t,e,r;for(this.scalarType=A.readInt(),this.tableCount=A.readShort(),this.searchRange=A.readShort(),this.entrySelector=A.readShort(),this.rangeShift=A.readShort(),this.tables={},e=0,r=this.tableCount;0<=r?e<r:e>r;e=0<=r?++e:--e)t={tag:A.readString(4),checksum:A.readInt(),offset:A.readInt(),length:A.readInt()},this.tables[t.tag]=t}return t.prototype.encode=function(t){var e,r,n,i,s,o,a,c,u,l,h,f,d;for(d in h=Object.keys(t).length,o=Math.log(2),u=16*Math.floor(Math.log(h)/o),i=Math.floor(u/o),c=16*h-u,(r=new fn).writeInt(this.scalarType),r.writeShort(h),r.writeShort(u),r.writeShort(i),r.writeShort(c),n=16*h,a=r.pos+n,s=null,f=[],t)for(l=t[d],r.writeString(d),r.writeInt(A(l)),r.writeInt(a),r.writeInt(l.length),f=f.concat(l),"head"===d&&(s=a),a+=l.length;a%4;)f.push(0),a++;return r.write(f),e=2981146554-A(r.data),r.pos=s+8,r.writeUInt32(e),r.data},A=function(A){var t,e,r,n;for(A=Ln.call(A);A.length%4;)A.push(0);for(r=new fn(A),e=0,t=0,n=A.length;t<n;t=t+=4)e+=r.readUInt32();return 4294967295&e},t}(),gn={}.hasOwnProperty,Bn=function(A,t){for(var e in t)gn.call(t,e)&&(A[e]=t[e]);function r(){this.constructor=A}return r.prototype=t.prototype,A.prototype=new r,A.__super__=t.prototype,A};hn=function(){function A(A){var t;this.file=A,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 A.prototype.parse=function(){},A.prototype.encode=function(){},A.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},A}();var pn=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return Bn(A,hn),A.prototype.tag="head",A.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.revision=A.readInt(),this.checkSumAdjustment=A.readInt(),this.magicNumber=A.readInt(),this.flags=A.readShort(),this.unitsPerEm=A.readShort(),this.created=A.readLongLong(),this.modified=A.readLongLong(),this.xMin=A.readShort(),this.yMin=A.readShort(),this.xMax=A.readShort(),this.yMax=A.readShort(),this.macStyle=A.readShort(),this.lowestRecPPEM=A.readShort(),this.fontDirectionHint=A.readShort(),this.indexToLocFormat=A.readShort(),this.glyphDataFormat=A.readShort()},A.prototype.encode=function(A){var t;return(t=new fn).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(A),t.writeShort(this.glyphDataFormat),t.data},A}(),wn=function(){function A(A,t){var e,r,n,i,s,o,a,c,u,l,h,f,d,g,B,p,w;switch(this.platformID=A.readUInt16(),this.encodingID=A.readShort(),this.offset=t+A.readInt(),u=A.pos,A.pos=this.offset,this.format=A.readUInt16(),this.length=A.readUInt16(),this.language=A.readUInt16(),this.isUnicode=3===this.platformID&&1===this.encodingID&&4===this.format||0===this.platformID&&4===this.format,this.codeMap={},this.format){case 0:for(o=0;o<256;++o)this.codeMap[o]=A.readByte();break;case 4:for(h=A.readUInt16(),l=h/2,A.pos+=6,n=function(){var t,e;for(e=[],o=t=0;0<=l?t<l:t>l;o=0<=l?++t:--t)e.push(A.readUInt16());return e}(),A.pos+=2,d=function(){var t,e;for(e=[],o=t=0;0<=l?t<l:t>l;o=0<=l?++t:--t)e.push(A.readUInt16());return e}(),a=function(){var t,e;for(e=[],o=t=0;0<=l?t<l:t>l;o=0<=l?++t:--t)e.push(A.readUInt16());return e}(),c=function(){var t,e;for(e=[],o=t=0;0<=l?t<l:t>l;o=0<=l?++t:--t)e.push(A.readUInt16());return e}(),r=(this.length-A.pos+this.offset)/2,s=function(){var t,e;for(e=[],o=t=0;0<=r?t<r:t>r;o=0<=r?++t:--t)e.push(A.readUInt16());return e}(),o=B=0,w=n.length;B<w;o=++B)for(g=n[o],e=p=f=d[o];f<=g?p<=g:p>=g;e=f<=g?++p:--p)0===c[o]?i=e+a[o]:0!==(i=s[c[o]/2+(e-f)-(l-o)]||0)&&(i+=a[o]),this.codeMap[e]=65535&i}A.pos=u}return A.encode=function(A,t){var e,r,n,i,s,o,a,c,u,l,h,f,d,g,B,p,w,m,C,y,Q,v,b,F,U,L,E,I,x,H,N,S,_,k,P,D,M,O,T,K,R,j,G,V,q,W;switch(I=new fn,i=Object.keys(A).sort((function(A,t){return A-t})),t){case"macroman":for(d=0,g=function(){var A=[];for(f=0;f<256;++f)A.push(0);return A}(),p={0:0},n={},x=0,_=i.length;x<_;x++)null==p[G=A[r=i[x]]]&&(p[G]=++d),n[r]={old:A[r],new:p[A[r]]},g[r]=p[A[r]];return I.writeUInt16(1),I.writeUInt16(0),I.writeUInt32(12),I.writeUInt16(0),I.writeUInt16(262),I.writeUInt16(0),I.write(g),{charMap:n,subtable:I.data,maxGlyphID:d+1};case"unicode":for(L=[],u=[],w=0,p={},e={},B=a=null,H=0,k=i.length;H<k;H++)null==p[C=A[r=i[H]]]&&(p[C]=++w),e[r]={old:C,new:p[C]},s=p[C]-r,null!=B&&s===a||(B&&u.push(B),L.push(r),a=s),B=r;for(B&&u.push(B),u.push(65535),L.push(65535),F=2*(b=L.length),v=2*Math.pow(Math.log(b)/Math.LN2,2),l=Math.log(v/2)/Math.LN2,Q=2*b-v,o=[],y=[],h=[],f=N=0,P=L.length;N<P;f=++N){if(U=L[f],c=u[f],65535===U){o.push(0),y.push(0);break}if(U-(E=e[U].new)>=32768)for(o.push(0),y.push(2*(h.length+b-f)),r=S=U;U<=c?S<=c:S>=c;r=U<=c?++S:--S)h.push(e[r].new);else o.push(E-U),y.push(0)}for(I.writeUInt16(3),I.writeUInt16(1),I.writeUInt32(12),I.writeUInt16(4),I.writeUInt16(16+8*b+2*h.length),I.writeUInt16(0),I.writeUInt16(F),I.writeUInt16(v),I.writeUInt16(l),I.writeUInt16(Q),R=0,D=u.length;R<D;R++)r=u[R],I.writeUInt16(r);for(I.writeUInt16(0),j=0,M=L.length;j<M;j++)r=L[j],I.writeUInt16(r);for(V=0,O=o.length;V<O;V++)s=o[V],I.writeUInt16(s);for(q=0,T=y.length;q<T;q++)m=y[q],I.writeUInt16(m);for(W=0,K=h.length;W<K;W++)d=h[W],I.writeUInt16(d);return{charMap:e,subtable:I.data,maxGlyphID:w+1}}},A}(),mn=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return Bn(A,hn),A.prototype.tag="cmap",A.prototype.parse=function(A){var t,e,r;for(A.pos=this.offset,this.version=A.readUInt16(),r=A.readUInt16(),this.tables=[],this.unicode=null,e=0;0<=r?e<r:e>r;e=0<=r?++e:--e)t=new wn(A,this.offset),this.tables.push(t),t.isUnicode&&null==this.unicode&&(this.unicode=t);return!0},A.encode=function(A,t){var e,r;return null==t&&(t="macroman"),e=wn.encode(A,t),(r=new fn).writeUInt16(0),r.writeUInt16(1),e.table=r.data.concat(e.subtable),e},A}(),Cn=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return Bn(A,hn),A.prototype.tag="hhea",A.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.ascender=A.readShort(),this.decender=A.readShort(),this.lineGap=A.readShort(),this.advanceWidthMax=A.readShort(),this.minLeftSideBearing=A.readShort(),this.minRightSideBearing=A.readShort(),this.xMaxExtent=A.readShort(),this.caretSlopeRise=A.readShort(),this.caretSlopeRun=A.readShort(),this.caretOffset=A.readShort(),A.pos+=8,this.metricDataFormat=A.readShort(),this.numberOfMetrics=A.readUInt16()},A}(),yn=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return Bn(A,hn),A.prototype.tag="OS/2",A.prototype.parse=function(A){if(A.pos=this.offset,this.version=A.readUInt16(),this.averageCharWidth=A.readShort(),this.weightClass=A.readUInt16(),this.widthClass=A.readUInt16(),this.type=A.readShort(),this.ySubscriptXSize=A.readShort(),this.ySubscriptYSize=A.readShort(),this.ySubscriptXOffset=A.readShort(),this.ySubscriptYOffset=A.readShort(),this.ySuperscriptXSize=A.readShort(),this.ySuperscriptYSize=A.readShort(),this.ySuperscriptXOffset=A.readShort(),this.ySuperscriptYOffset=A.readShort(),this.yStrikeoutSize=A.readShort(),this.yStrikeoutPosition=A.readShort(),this.familyClass=A.readShort(),this.panose=function(){var t,e;for(e=[],t=0;t<10;++t)e.push(A.readByte());return e}(),this.charRange=function(){var t,e;for(e=[],t=0;t<4;++t)e.push(A.readInt());return e}(),this.vendorID=A.readString(4),this.selection=A.readShort(),this.firstCharIndex=A.readShort(),this.lastCharIndex=A.readShort(),this.version>0&&(this.ascent=A.readShort(),this.descent=A.readShort(),this.lineGap=A.readShort(),this.winAscent=A.readShort(),this.winDescent=A.readShort(),this.codePageRange=function(){var t,e;for(e=[],t=0;t<2;t=++t)e.push(A.readInt());return e}(),this.version>1))return this.xHeight=A.readShort(),this.capHeight=A.readShort(),this.defaultChar=A.readShort(),this.breakChar=A.readShort(),this.maxContext=A.readShort()},A}(),Qn=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return Bn(A,hn),A.prototype.tag="post",A.prototype.parse=function(A){var t,e,r;switch(A.pos=this.offset,this.format=A.readInt(),this.italicAngle=A.readInt(),this.underlinePosition=A.readShort(),this.underlineThickness=A.readShort(),this.isFixedPitch=A.readInt(),this.minMemType42=A.readInt(),this.maxMemType42=A.readInt(),this.minMemType1=A.readInt(),this.maxMemType1=A.readInt(),this.format){case 65536:case 196608:break;case 131072:var n;for(e=A.readUInt16(),this.glyphNameIndex=[],n=0;0<=e?n<e:n>e;n=0<=e?++n:--n)this.glyphNameIndex.push(A.readUInt16());for(this.names=[],r=[];A.pos<this.offset+this.length;)t=A.readByte(),r.push(this.names.push(A.readString(t)));return r;case 151552:return e=A.readUInt16(),this.offsets=A.read(e);case 262144:return this.map=function(){var t,e,r;for(r=[],n=t=0,e=this.file.maxp.numGlyphs;0<=e?t<e:t>e;n=0<=e?++t:--t)r.push(A.readUInt32());return r}.call(this)}},A}(),vn=function(A,t){this.raw=A,this.length=A.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},bn=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return Bn(A,hn),A.prototype.tag="name",A.prototype.parse=function(A){var t,e,r,n,i,s,o,a,c,u,l;for(A.pos=this.offset,A.readShort(),t=A.readShort(),s=A.readShort(),e=[],n=0;0<=t?n<t:n>t;n=0<=t?++n:--n)e.push({platformID:A.readShort(),encodingID:A.readShort(),languageID:A.readShort(),nameID:A.readShort(),length:A.readShort(),offset:this.offset+s+A.readShort()});for(o={},n=c=0,u=e.length;c<u;n=++c)r=e[n],A.pos=r.offset,a=A.readString(r.length),i=new vn(a,r),null==o[l=r.nameID]&&(o[l]=[]),o[r.nameID].push(i);this.strings=o,this.copyright=o[0],this.fontFamily=o[1],this.fontSubfamily=o[2],this.uniqueSubfamily=o[3],this.fontName=o[4],this.version=o[5];try{this.postscriptName=o[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch(A){this.postscriptName=o[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=o[7],this.manufacturer=o[8],this.designer=o[9],this.description=o[10],this.vendorUrl=o[11],this.designerUrl=o[12],this.license=o[13],this.licenseUrl=o[14],this.preferredFamily=o[15],this.preferredSubfamily=o[17],this.compatibleFull=o[18],this.sampleText=o[19]},A}(),Fn=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return Bn(A,hn),A.prototype.tag="maxp",A.prototype.parse=function(A){return A.pos=this.offset,this.version=A.readInt(),this.numGlyphs=A.readUInt16(),this.maxPoints=A.readUInt16(),this.maxContours=A.readUInt16(),this.maxCompositePoints=A.readUInt16(),this.maxComponentContours=A.readUInt16(),this.maxZones=A.readUInt16(),this.maxTwilightPoints=A.readUInt16(),this.maxStorage=A.readUInt16(),this.maxFunctionDefs=A.readUInt16(),this.maxInstructionDefs=A.readUInt16(),this.maxStackElements=A.readUInt16(),this.maxSizeOfInstructions=A.readUInt16(),this.maxComponentElements=A.readUInt16(),this.maxComponentDepth=A.readUInt16()},A}(),Un=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return Bn(A,hn),A.prototype.tag="hmtx",A.prototype.parse=function(A){var t,e,r,n,i,s,o;for(A.pos=this.offset,this.metrics=[],t=0,s=this.file.hhea.numberOfMetrics;0<=s?t<s:t>s;t=0<=s?++t:--t)this.metrics.push({advance:A.readUInt16(),lsb:A.readInt16()});for(r=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=function(){var e,n;for(n=[],t=e=0;0<=r?e<r:e>r;t=0<=r?++e:--e)n.push(A.readInt16());return n}(),this.widths=function(){var A,t,e,r;for(r=[],A=0,t=(e=this.metrics).length;A<t;A++)n=e[A],r.push(n.advance);return r}.call(this),e=this.widths[this.widths.length-1],o=[],t=i=0;0<=r?i<r:i>r;t=0<=r?++i:--i)o.push(this.widths.push(e));return o},A.prototype.forGlyph=function(A){return A in this.metrics?this.metrics[A]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[A-this.metrics.length]}},A}(),Ln=[].slice,En=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return Bn(A,hn),A.prototype.tag="glyf",A.prototype.parse=function(){return this.cache={}},A.prototype.glyphFor=function(A){var t,e,r,n,i,s,o,a,c,u;return A in this.cache?this.cache[A]:(n=this.file.loca,t=this.file.contents,e=n.indexOf(A),0===(r=n.lengthOf(A))?this.cache[A]=null:(t.pos=this.offset+e,i=(s=new fn(t.read(r))).readShort(),a=s.readShort(),u=s.readShort(),o=s.readShort(),c=s.readShort(),this.cache[A]=-1===i?new xn(s,a,u,o,c):new In(s,i,a,u,o,c),this.cache[A]))},A.prototype.encode=function(A,t,e){var r,n,i,s,o;for(i=[],n=[],s=0,o=t.length;s<o;s++)r=A[t[s]],n.push(i.length),r&&(i=i.concat(r.encode(e)));return n.push(i.length),{table:i,offsets:n}},A}(),In=function(){function A(A,t,e,r,n,i){this.raw=A,this.numberOfContours=t,this.xMin=e,this.yMin=r,this.xMax=n,this.yMax=i,this.compound=!1}return A.prototype.encode=function(){return this.raw.data},A}(),xn=function(){function A(A,t,e,r,n){var i,s;for(this.raw=A,this.xMin=t,this.yMin=e,this.xMax=r,this.yMax=n,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],i=this.raw;s=i.readShort(),this.glyphOffsets.push(i.pos),this.glyphIDs.push(i.readUInt16()),32&s;)i.pos+=1&s?4:2,128&s?i.pos+=8:64&s?i.pos+=4:8&s&&(i.pos+=2)}return A.prototype.encode=function(){var A,t,e;for(t=new fn(Ln.call(this.raw.data)),A=0,e=this.glyphIDs.length;A<e;++A)t.pos=this.glyphOffsets[A];return t.data},A}(),Hn=function(){function A(){return A.__super__.constructor.apply(this,arguments)}return Bn(A,hn),A.prototype.tag="loca",A.prototype.parse=function(A){var t,e;return A.pos=this.offset,t=this.file.head.indexToLocFormat,this.offsets=0===t?function(){var t,r;for(r=[],e=0,t=this.length;e<t;e+=2)r.push(2*A.readUInt16());return r}.call(this):function(){var t,r;for(r=[],e=0,t=this.length;e<t;e+=4)r.push(A.readUInt32());return r}.call(this)},A.prototype.indexOf=function(A){return this.offsets[A]},A.prototype.lengthOf=function(A){return this.offsets[A+1]-this.offsets[A]},A.prototype.encode=function(A,t){for(var e=new Uint32Array(this.offsets.length),r=0,n=0,i=0;i<e.length;++i)if(e[i]=r,n<t.length&&t[n]==i){++n,e[i]=r;var s=this.offsets[i],o=this.offsets[i+1]-s;o>0&&(r+=o)}for(var a=new Array(4*e.length),c=0;c<e.length;++c)a[4*c+3]=255&e[c],a[4*c+2]=(65280&e[c])>>8,a[4*c+1]=(16711680&e[c])>>16,a[4*c]=(4278190080&e[c])>>24;return a},A}(),Nn=function(){function A(A){this.font=A,this.subset={},this.unicodes={},this.next=33}return A.prototype.generateCmap=function(){var A,t,e,r,n;for(t in r=this.font.cmap.tables[0].codeMap,A={},n=this.subset)e=n[t],A[t]=r[e];return A},A.prototype.glyphsFor=function(A){var t,e,r,n,i,s,o;for(r={},i=0,s=A.length;i<s;i++)r[n=A[i]]=this.font.glyf.glyphFor(n);for(n in t=[],r)(null!=(e=r[n])?e.compound:void 0)&&t.push.apply(t,e.glyphIDs);if(t.length>0)for(n in o=this.glyphsFor(t))e=o[n],r[n]=e;return r},A.prototype.encode=function(A,t){var e,r,n,i,s,o,a,c,u,l,h,f,d,g,B;for(r in e=mn.encode(this.generateCmap(),"unicode"),i=this.glyphsFor(A),h={0:0},B=e.charMap)h[(o=B[r]).old]=o.new;for(f in l=e.maxGlyphID,i)f in h||(h[f]=l++);return c=function(A){var t,e;for(t in e={},A)e[A[t]]=t;return e}(h),u=Object.keys(c).sort((function(A,t){return A-t})),d=function(){var A,t,e;for(e=[],A=0,t=u.length;A<t;A++)s=u[A],e.push(c[s]);return e}(),n=this.font.glyf.encode(i,d,h),a=this.font.loca.encode(n.offsets,d),g={cmap:this.font.cmap.raw(),glyf:n.table,loca:a,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&&(g["OS/2"]=this.font.os2.raw()),this.font.directory.encode(g)},A}();De.API.PDFObject=function(){var A;function t(){}return A=function(A,t){return(Array(t+1).join("0")+A).slice(-t)},t.convert=function(e){var r,n,i,s;if(Array.isArray(e))return"["+function(){var A,n,i;for(i=[],A=0,n=e.length;A<n;A++)r=e[A],i.push(t.convert(r));return i}().join(" ")+"]";if("string"==typeof e)return"/"+e;if(null!=e?e.isString:void 0)return"("+e+")";if(e instanceof Date)return"(D:"+A(e.getUTCFullYear(),4)+A(e.getUTCMonth(),2)+A(e.getUTCDate(),2)+A(e.getUTCHours(),2)+A(e.getUTCMinutes(),2)+A(e.getUTCSeconds(),2)+"Z)";if("[object Object]"==={}.toString.call(e)){for(n in i=["<<"],e)s=e[n],i.push("/"+n+" "+t.convert(s));return i.push(">>"),i.join("\n")}return""+e},t}();var Sn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function _n(A){return A&&A.__esModule&&Object.prototype.hasOwnProperty.call(A,"default")?A.default:A}var kn,Pn={exports:{}};
278
+ /*!
279
+ * html2canvas 1.4.1 <https://html2canvas.hertzen.com>
280
+ * Copyright (c) 2022 Niklas von Hertzen <https://hertzen.com>
281
+ * Released under MIT License
282
+ */var Dn=(kn||(kn=1,Pn.exports=function(){
283
+ /*! *****************************************************************************
284
+ Copyright (c) Microsoft Corporation.
285
+
286
+ Permission to use, copy, modify, and/or distribute this software for any
287
+ purpose with or without fee is hereby granted.
288
+
289
+ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
290
+ REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
291
+ AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
292
+ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
293
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
294
+ OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
295
+ PERFORMANCE OF THIS SOFTWARE.
296
+ ***************************************************************************** */
297
+ var A=function(t,e){return A=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(A,t){A.__proto__=t}||function(A,t){for(var e in t)Object.prototype.hasOwnProperty.call(t,e)&&(A[e]=t[e])},A(t,e)};function t(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=t}A(t,e),t.prototype=null===e?Object.create(e):(r.prototype=e.prototype,new r)}var e=function(){return e=Object.assign||function(A){for(var t,e=1,r=arguments.length;e<r;e++)for(var n in t=arguments[e])Object.prototype.hasOwnProperty.call(t,n)&&(A[n]=t[n]);return A},e.apply(this,arguments)};function r(A,t,e,r){function n(A){return A instanceof e?A:new e((function(t){t(A)}))}return new(e||(e=Promise))((function(t,e){function i(A){try{o(r.next(A))}catch(A){e(A)}}function s(A){try{o(r.throw(A))}catch(A){e(A)}}function o(A){A.done?t(A.value):n(A.value).then(i,s)}o((r=r.apply(A,[])).next())}))}function n(A,t){var e,r,n,i,s={label:0,sent:function(){if(1&n[0])throw n[1];return n[1]},trys:[],ops:[]};return i={next:o(0),throw:o(1),return:o(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function o(A){return function(t){return a([A,t])}}function a(i){if(e)throw new TypeError("Generator is already executing.");for(;s;)try{if(e=1,r&&(n=2&i[0]?r.return:i[0]?r.throw||((n=r.return)&&n.call(r),0):r.next)&&!(n=n.call(r,i[1])).done)return n;switch(r=0,n&&(i=[2&i[0],n.value]),i[0]){case 0:case 1:n=i;break;case 4:return s.label++,{value:i[1],done:!1};case 5:s.label++,r=i[1],i=[0];continue;case 7:i=s.ops.pop(),s.trys.pop();continue;default:if(!((n=(n=s.trys).length>0&&n[n.length-1])||6!==i[0]&&2!==i[0])){s=0;continue}if(3===i[0]&&(!n||i[1]>n[0]&&i[1]<n[3])){s.label=i[1];break}if(6===i[0]&&s.label<n[1]){s.label=n[1],n=i;break}if(n&&s.label<n[2]){s.label=n[2],s.ops.push(i);break}n[2]&&s.ops.pop(),s.trys.pop();continue}i=t.call(A,s)}catch(A){i=[6,A],r=0}finally{e=n=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}}function i(A,t,e){if(2===arguments.length)for(var r,n=0,i=t.length;n<i;n++)!r&&n in t||(r||(r=Array.prototype.slice.call(t,0,n)),r[n]=t[n]);return A.concat(r||t)}for(var s=function(){function A(A,t,e,r){this.left=A,this.top=t,this.width=e,this.height=r}return A.prototype.add=function(t,e,r,n){return new A(this.left+t,this.top+e,this.width+r,this.height+n)},A.fromClientRect=function(t,e){return new A(e.left+t.windowBounds.left,e.top+t.windowBounds.top,e.width,e.height)},A.fromDOMRectList=function(t,e){var r=Array.from(e).find((function(A){return 0!==A.width}));return r?new A(r.left+t.windowBounds.left,r.top+t.windowBounds.top,r.width,r.height):A.EMPTY},A.EMPTY=new A(0,0,0,0),A}(),o=function(A,t){return s.fromClientRect(A,t.getBoundingClientRect())},a=function(A){var t=A.body,e=A.documentElement;if(!t||!e)throw new Error("Unable to get document size");var r=Math.max(Math.max(t.scrollWidth,e.scrollWidth),Math.max(t.offsetWidth,e.offsetWidth),Math.max(t.clientWidth,e.clientWidth)),n=Math.max(Math.max(t.scrollHeight,e.scrollHeight),Math.max(t.offsetHeight,e.offsetHeight),Math.max(t.clientHeight,e.clientHeight));return new s(0,0,r,n)},c=function(A){for(var t=[],e=0,r=A.length;e<r;){var n=A.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=A.charCodeAt(e++);56320==(64512&i)?t.push(((1023&n)<<10)+(1023&i)+65536):(t.push(n),e--)}else t.push(n)}return t},u=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var e=A.length;if(!e)return"";for(var r=[],n=-1,i="";++n<e;){var s=A[n];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},l="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",h="undefined"==typeof Uint8Array?[]:new Uint8Array(256),f=0;f<l.length;f++)h[l.charCodeAt(f)]=f;for(var d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",g="undefined"==typeof Uint8Array?[]:new Uint8Array(256),B=0;B<d.length;B++)g[d.charCodeAt(B)]=B;for(var p=function(A){var t,e,r,n,i,s=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(s--,"="===A[A.length-2]&&s--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<o;t+=4)e=g[A.charCodeAt(t)],r=g[A.charCodeAt(t+1)],n=g[A.charCodeAt(t+2)],i=g[A.charCodeAt(t+3)],u[a++]=e<<2|r>>4,u[a++]=(15&r)<<4|n>>2,u[a++]=(3&n)<<6|63&i;return c},w=function(A){for(var t=A.length,e=[],r=0;r<t;r+=2)e.push(A[r+1]<<8|A[r]);return e},m=function(A){for(var t=A.length,e=[],r=0;r<t;r+=4)e.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return e},C=5,y=11,Q=2,v=65536>>C,b=(1<<C)-1,F=v+(1024>>C)+32,U=65536>>y,L=(1<<y-C)-1,E=function(A,t,e){return A.slice?A.slice(t,e):new Uint16Array(Array.prototype.slice.call(A,t,e))},I=function(A,t,e){return A.slice?A.slice(t,e):new Uint32Array(Array.prototype.slice.call(A,t,e))},x=function(A,t){var e=p(A),r=Array.isArray(e)?m(e):new Uint32Array(e),n=Array.isArray(e)?w(e):new Uint16Array(e),i=24,s=E(n,i/2,r[4]/2),o=2===r[5]?E(n,(i+r[4])/2):I(r,Math.ceil((i+r[4])/4));return new H(r[0],r[1],r[2],r[3],s,o)},H=function(){function A(A,t,e,r,n,i){this.initialValue=A,this.errorValue=t,this.highStart=e,this.highValueIndex=r,this.index=n,this.data=i}return A.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return t=((t=this.index[A>>C])<<Q)+(A&b),this.data[t];if(A<=65535)return t=((t=this.index[v+(A-55296>>C)])<<Q)+(A&b),this.data[t];if(A<this.highStart)return t=F-U+(A>>y),t=this.index[t],t+=A>>C&L,t=((t=this.index[t])<<Q)+(A&b),this.data[t];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),N="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",S="undefined"==typeof Uint8Array?[]:new Uint8Array(256),_=0;_<N.length;_++)S[N.charCodeAt(_)]=_;var k=50,P=1,D=2,M=3,O=4,T=5,K=7,R=8,j=9,G=10,V=11,q=12,W=13,X=14,J=15,z=16,Y=17,Z=18,$=19,AA=20,tA=21,eA=22,rA=23,nA=24,iA=25,sA=26,oA=27,aA=28,cA=29,uA=30,lA=31,hA=32,fA=33,dA=34,gA=35,BA=36,pA=37,wA=38,mA=39,CA=40,yA=41,QA=42,vA=43,bA=[9001,65288],FA="!",UA="×",LA="÷",EA=x("KwAAAAAAAAAACA4AUD0AADAgAAACAAAAAAAIABAAGABAAEgAUABYAGAAaABgAGgAYgBqAF8AZwBgAGgAcQB5AHUAfQCFAI0AlQCdAKIAqgCyALoAYABoAGAAaABgAGgAwgDKAGAAaADGAM4A0wDbAOEA6QDxAPkAAQEJAQ8BFwF1AH0AHAEkASwBNAE6AUIBQQFJAVEBWQFhAWgBcAF4ATAAgAGGAY4BlQGXAZ8BpwGvAbUBvQHFAc0B0wHbAeMB6wHxAfkBAQIJAvEBEQIZAiECKQIxAjgCQAJGAk4CVgJeAmQCbAJ0AnwCgQKJApECmQKgAqgCsAK4ArwCxAIwAMwC0wLbAjAA4wLrAvMC+AIAAwcDDwMwABcDHQMlAy0DNQN1AD0DQQNJA0kDSQNRA1EDVwNZA1kDdQB1AGEDdQBpA20DdQN1AHsDdQCBA4kDkQN1AHUAmQOhA3UAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AKYDrgN1AHUAtgO+A8YDzgPWAxcD3gPjA+sD8wN1AHUA+wMDBAkEdQANBBUEHQQlBCoEFwMyBDgEYABABBcDSARQBFgEYARoBDAAcAQzAXgEgASIBJAEdQCXBHUAnwSnBK4EtgS6BMIEyAR1AHUAdQB1AHUAdQCVANAEYABgAGAAYABgAGAAYABgANgEYADcBOQEYADsBPQE/AQEBQwFFAUcBSQFLAU0BWQEPAVEBUsFUwVbBWAAYgVgAGoFcgV6BYIFigWRBWAAmQWfBaYFYABgAGAAYABgAKoFYACxBbAFuQW6BcEFwQXHBcEFwQXPBdMF2wXjBeoF8gX6BQIGCgYSBhoGIgYqBjIGOgZgAD4GRgZMBmAAUwZaBmAAYABgAGAAYABgAGAAYABgAGAAYABgAGIGYABpBnAGYABgAGAAYABgAGAAYABgAGAAYAB4Bn8GhQZgAGAAYAB1AHcDFQSLBmAAYABgAJMGdQA9A3UAmwajBqsGqwaVALMGuwbDBjAAywbSBtIG1QbSBtIG0gbSBtIG0gbdBuMG6wbzBvsGAwcLBxMHAwcbByMHJwcsBywHMQcsB9IGOAdAB0gHTgfSBkgHVgfSBtIG0gbSBtIG0gbSBtIG0gbSBiwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdgAGAALAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAdbB2MHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB2kH0gZwB64EdQB1AHUAdQB1AHUAdQB1AHUHfQdgAIUHjQd1AHUAlQedB2AAYAClB6sHYACzB7YHvgfGB3UAzgfWBzMB3gfmB1EB7gf1B/0HlQENAQUIDQh1ABUIHQglCBcDLQg1CD0IRQhNCEEDUwh1AHUAdQBbCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIaQhjCGQIZQhmCGcIaAhpCGMIZAhlCGYIZwhoCGkIYwhkCGUIZghnCGgIcAh3CHoIMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIgggwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAALAcsBywHLAcsBywHLAcsBywHLAcsB4oILAcsB44I0gaWCJ4Ipgh1AHUAqgiyCHUAdQB1AHUAdQB1AHUAdQB1AHUAtwh8AXUAvwh1AMUIyQjRCNkI4AjoCHUAdQB1AO4I9gj+CAYJDgkTCS0HGwkjCYIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiCCIIIggiAAIAAAAFAAYABgAGIAXwBgAHEAdQBFAJUAogCyAKAAYABgAEIA4ABGANMA4QDxAMEBDwE1AFwBLAE6AQEBUQF4QkhCmEKoQrhCgAHIQsAB0MLAAcABwAHAAeDC6ABoAHDCwMMAAcABwAHAAdDDGMMAAcAB6MM4wwjDWMNow3jDaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAGgAaABoAEjDqABWw6bDqABpg6gAaABoAHcDvwOPA+gAaABfA/8DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DvwO/A78DpcPAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcAB9cPKwkyCToJMAB1AHUAdQBCCUoJTQl1AFUJXAljCWcJawkwADAAMAAwAHMJdQB2CX4JdQCECYoJjgmWCXUAngkwAGAAYABxAHUApgn3A64JtAl1ALkJdQDACTAAMAAwADAAdQB1AHUAdQB1AHUAdQB1AHUAowYNBMUIMAAwADAAMADICcsJ0wnZCRUE4QkwAOkJ8An4CTAAMAB1AAAKvwh1AAgKDwoXCh8KdQAwACcKLgp1ADYKqAmICT4KRgowADAAdQB1AE4KMAB1AFYKdQBeCnUAZQowADAAMAAwADAAMAAwADAAMAAVBHUAbQowADAAdQC5CXUKMAAwAHwBxAijBogEMgF9CoQKiASMCpQKmgqIBKIKqgquCogEDQG2Cr4KxgrLCjAAMADTCtsKCgHjCusK8Qr5CgELMAAwADAAMAB1AIsECQsRC3UANAEZCzAAMAAwADAAMAB1ACELKQswAHUANAExCzkLdQBBC0kLMABRC1kLMAAwADAAMAAwADAAdQBhCzAAMAAwAGAAYABpC3ELdwt/CzAAMACHC4sLkwubC58Lpwt1AK4Ltgt1APsDMAAwADAAMAAwADAAMAAwAL4LwwvLC9IL1wvdCzAAMADlC+kL8Qv5C/8LSQswADAAMAAwADAAMAAwADAAMAAHDDAAMAAwADAAMAAODBYMHgx1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1ACYMMAAwADAAdQB1AHUALgx1AHUAdQB1AHUAdQA2DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AD4MdQBGDHUAdQB1AHUAdQB1AEkMdQB1AHUAdQB1AFAMMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQBYDHUAdQB1AF8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUA+wMVBGcMMAAwAHwBbwx1AHcMfwyHDI8MMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAYABgAJcMMAAwADAAdQB1AJ8MlQClDDAAMACtDCwHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsB7UMLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHdQB1AHUAdQB1AHUAdQB1AHUAdQB1AHUAdQB1AA0EMAC9DDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAsBywHLAcsBywHLAcsBywHLQcwAMEMyAwsBywHLAcsBywHLAcsBywHLAcsBywHzAwwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwAHUAdQB1ANQM2QzhDDAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMABgAGAAYABgAGAAYABgAOkMYADxDGAA+AwADQYNYABhCWAAYAAODTAAMAAwADAAFg1gAGAAHg37AzAAMAAwADAAYABgACYNYAAsDTQNPA1gAEMNPg1LDWAAYABgAGAAYABgAGAAYABgAGAAUg1aDYsGVglhDV0NcQBnDW0NdQ15DWAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAlQCBDZUAiA2PDZcNMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAnw2nDTAAMAAwADAAMAAwAHUArw23DTAAMAAwADAAMAAwADAAMAAwADAAMAB1AL8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAB1AHUAdQB1AHUAdQDHDTAAYABgAM8NMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA1w11ANwNMAAwAD0B5A0wADAAMAAwADAAMADsDfQN/A0EDgwOFA4wABsOMAAwADAAMAAwADAAMAAwANIG0gbSBtIG0gbSBtIG0gYjDigOwQUuDsEFMw7SBjoO0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGQg5KDlIOVg7SBtIGXg5lDm0OdQ7SBtIGfQ6EDooOjQ6UDtIGmg6hDtIG0gaoDqwO0ga0DrwO0gZgAGAAYADEDmAAYAAkBtIGzA5gANIOYADaDokO0gbSBt8O5w7SBu8O0gb1DvwO0gZgAGAAxA7SBtIG0gbSBtIGYABgAGAAYAAED2AAsAUMD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHJA8sBywHLAcsBywHLAccDywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywPLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAc0D9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAccD9IG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIGFA8sBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHLAcsBywHPA/SBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gbSBtIG0gYUD0QPlQCVAJUAMAAwADAAMACVAJUAlQCVAJUAlQCVAEwPMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAA//8EAAQABAAEAAQABAAEAAQABAANAAMAAQABAAIABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQACgATABcAHgAbABoAHgAXABYAEgAeABsAGAAPABgAHABLAEsASwBLAEsASwBLAEsASwBLABgAGAAeAB4AHgATAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABYAGwASAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWAA0AEQAeAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAFAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJABYAGgAbABsAGwAeAB0AHQAeAE8AFwAeAA0AHgAeABoAGwBPAE8ADgBQAB0AHQAdAE8ATwAXAE8ATwBPABYAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AHgAeAFAATwBAAE8ATwBPAEAATwBQAFAATwBQAB4AHgAeAB4AHgAeAB0AHQAdAB0AHgAdAB4ADgBQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgBQAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAJAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAkACQAJAAkACQAJAAkABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAFAAHgAeAB4AKwArAFAAUABQAFAAGABQACsAKwArACsAHgAeAFAAHgBQAFAAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUAAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAYAA0AKwArAB4AHgAbACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAB4ABAAEAB4ABAAEABMABAArACsAKwArACsAKwArACsAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAKwArACsAKwBWAFYAVgBWAB4AHgArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AGgAaABoAGAAYAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQAEwAEACsAEwATAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABLAEsASwBLAEsASwBLAEsASwBLABoAGQAZAB4AUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQABMAUAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABABQAFAABAAEAB4ABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUAAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAFAABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQAUABQAB4AHgAYABMAUAArACsABAAbABsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAFAABAAEAAQABAAEAFAABAAEAAQAUAAEAAQABAAEAAQAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArACsAHgArAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAUAAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEAA0ADQBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUAArACsAKwBQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABABQACsAKwArACsAKwArACsAKwAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUAAaABoAUABQAFAAUABQAEwAHgAbAFAAHgAEACsAKwAEAAQABAArAFAAUABQAFAAUABQACsAKwArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQACsAUABQACsAKwAEACsABAAEAAQABAAEACsAKwArACsABAAEACsAKwAEAAQABAArACsAKwAEACsAKwArACsAKwArACsAUABQAFAAUAArAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLAAQABABQAFAAUAAEAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsAKwAEAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAArACsAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AGwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAKwArACsAKwArAAQABAAEACsAKwArACsAUABQACsAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAAQAUAArAFAAUABQAFAAUABQACsAKwArAFAAUABQACsAUABQAFAAUAArACsAKwBQAFAAKwBQACsAUABQACsAKwArAFAAUAArACsAKwBQAFAAUAArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArAAQABAAEAAQABAArACsAKwAEAAQABAArAAQABAAEAAQAKwArAFAAKwArACsAKwArACsABAArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAHgAeAB4AHgAeAB4AGwAeACsAKwArACsAKwAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAUABQAFAAKwArACsAKwArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwAOAFAAUABQAFAAUABQAFAAHgBQAAQABAAEAA4AUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAKwArAAQAUAAEAAQABAAEAAQABAAEACsABAAEAAQAKwAEAAQABAAEACsAKwArACsAKwArACsABAAEACsAKwArACsAKwArACsAUAArAFAAUAAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAFAABAAEAAQABAAEAAQABAArAAQABAAEACsABAAEAAQABABQAB4AKwArACsAKwBQAFAAUAAEAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQABoAUABQAFAAUABQAFAAKwAEAAQABAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQACsAUAArACsAUABQAFAAUABQAFAAUAArACsAKwAEACsAKwArACsABAAEAAQABAAEAAQAKwAEACsABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArAAQABAAeACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAXAAqACoAKgAqACoAKgAqACsAKwArACsAGwBcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAeAEsASwBLAEsASwBLAEsASwBLAEsADQANACsAKwArACsAKwBcAFwAKwBcACsAXABcAFwAXABcACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAXAArAFwAXABcAFwAXABcAFwAXABcAFwAKgBcAFwAKgAqACoAKgAqACoAKgAqACoAXAArACsAXABcAFwAXABcACsAXAArACoAKgAqACoAKgAqACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwBcAFwAXABcAFAADgAOAA4ADgAeAA4ADgAJAA4ADgANAAkAEwATABMAEwATAAkAHgATAB4AHgAeAAQABAAeAB4AHgAeAB4AHgBLAEsASwBLAEsASwBLAEsASwBLAFAAUABQAFAAUABQAFAAUABQAFAADQAEAB4ABAAeAAQAFgARABYAEQAEAAQAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQADQAEAAQABAAEAAQADQAEAAQAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAA0ADQAeAB4AHgAeAB4AHgAEAB4AHgAeAB4AHgAeACsAHgAeAA4ADgANAA4AHgAeAB4AHgAeAAkACQArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgBcAEsASwBLAEsASwBLAEsASwBLAEsADQANAB4AHgAeAB4AXABcAFwAXABcAFwAKgAqACoAKgBcAFwAXABcACoAKgAqAFwAKgAqACoAXABcACoAKgAqACoAKgAqACoAXABcAFwAKgAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKgAqAFwAKgBLAEsASwBLAEsASwBLAEsASwBLACoAKgAqACoAKgAqAFAAUABQAFAAUABQACsAUAArACsAKwArACsAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAKwBQACsAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsABAAEAAQAHgANAB4AHgAeAB4AHgAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUAArACsADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAWABEAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQANAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAANAA0AKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUAArAAQABAArACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqAA0ADQAVAFwADQAeAA0AGwBcACoAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwAeAB4AEwATAA0ADQAOAB4AEwATAB4ABAAEAAQACQArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAHgArACsAKwATABMASwBLAEsASwBLAEsASwBLAEsASwBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAXABcAFwAXABcACsAKwArACsAKwArACsAKwArACsAKwBcAFwAXABcAFwAXABcAFwAXABcAFwAXAArACsAKwArAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAXAArACsAKwAqACoAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAArACsAHgAeAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcACoAKgAqACoAKgAqACoAKgAqACoAKwAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKwArAAQASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACoAKgAqACoAKgAqACoAXAAqACoAKgAqACoAKgArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABABQAFAAUABQAFAAUABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwANAA0AHgANAA0ADQANAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAEAAQABAAEAAQAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwAeAB4AHgAeAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArAA0ADQANAA0ADQBLAEsASwBLAEsASwBLAEsASwBLACsAKwArAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAA0ADQBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUAAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArAAQABAAEAB4ABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAAQAUABQAFAAUABQAFAABABQAFAABAAEAAQAUAArACsAKwArACsABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQACsAUAArAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAFAAUABQACsAHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQACsAKwAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQACsAHgAeAB4AHgAeAB4AHgAOAB4AKwANAA0ADQANAA0ADQANAAkADQANAA0ACAAEAAsABAAEAA0ACQANAA0ADAAdAB0AHgAXABcAFgAXABcAFwAWABcAHQAdAB4AHgAUABQAFAANAAEAAQAEAAQABAAEAAQACQAaABoAGgAaABoAGgAaABoAHgAXABcAHQAVABUAHgAeAB4AHgAeAB4AGAAWABEAFQAVABUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ADQAeAA0ADQANAA0AHgANAA0ADQAHAB4AHgAeAB4AKwAEAAQABAAEAAQABAAEAAQABAAEAFAAUAArACsATwBQAFAAUABQAFAAHgAeAB4AFgARAE8AUABPAE8ATwBPAFAAUABQAFAAUAAeAB4AHgAWABEAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArABsAGwAbABsAGwAbABsAGgAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGgAbABsAGwAbABoAGwAbABoAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbABsAGwAbAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAHgAeAFAAGgAeAB0AHgBQAB4AGgAeAB4AHgAeAB4AHgAeAB4AHgBPAB4AUAAbAB4AHgBQAFAAUABQAFAAHgAeAB4AHQAdAB4AUAAeAFAAHgBQAB4AUABPAFAAUAAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAHgBQAFAAUABQAE8ATwBQAFAAUABQAFAATwBQAFAATwBQAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAUABQAFAATwBPAE8ATwBPAE8ATwBPAE8ATwBQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABPAB4AHgArACsAKwArAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHQAdAB4AHgAeAB0AHQAeAB4AHQAeAB4AHgAdAB4AHQAbABsAHgAdAB4AHgAeAB4AHQAeAB4AHQAdAB0AHQAeAB4AHQAeAB0AHgAdAB0AHQAdAB0AHQAeAB0AHgAeAB4AHgAeAB0AHQAdAB0AHgAeAB4AHgAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB4AHgAeAB0AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAeAB0AHQAdAB0AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAdAB4AHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAWABEAHgAeAB4AHgAeAB4AHQAeAB4AHgAeAB4AHgAeACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAWABEAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAFAAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAeAB4AHQAdAB0AHQAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB0AHQAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB0AHQAeAB4AHQAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AHQAdAB0AHgAeAB0AHgAeAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlAB4AHQAdAB4AHgAdAB4AHgAeAB4AHQAdAB4AHgAeAB4AJQAlAB0AHQAlAB4AJQAlACUAIAAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAeAB4AHgAeAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHgAdAB0AHQAeAB0AJQAdAB0AHgAdAB0AHgAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHQAdAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAdAB0AHQAdACUAHgAlACUAJQAdACUAJQAdAB0AHQAlACUAHQAdACUAHQAdACUAJQAlAB4AHQAeAB4AHgAeAB0AHQAlAB0AHQAdAB0AHQAdACUAJQAlACUAJQAdACUAJQAgACUAHQAdACUAJQAlACUAJQAlACUAJQAeAB4AHgAlACUAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB0AHgAeAB4AFwAXABcAFwAXABcAHgATABMAJQAeAB4AHgAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARABYAEQAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAWABEAFgARABYAEQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAWABEAFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AFgARAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAdAB0AHQAdAB0AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAFAAUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAEAAQABAAeAB4AKwArACsAKwArABMADQANAA0AUAATAA0AUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUAANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAA0ADQANAA0ADQANAA0ADQAeAA0AFgANAB4AHgAXABcAHgAeABcAFwAWABEAFgARABYAEQAWABEADQANAA0ADQATAFAADQANAB4ADQANAB4AHgAeAB4AHgAMAAwADQANAA0AHgANAA0AFgANAA0ADQANAA0ADQANAA0AHgANAB4ADQANAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArACsAKwArACsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArAA0AEQARACUAJQBHAFcAVwAWABEAFgARABYAEQAWABEAFgARACUAJQAWABEAFgARABYAEQAWABEAFQAWABEAEQAlAFcAVwBXAFcAVwBXAFcAVwBXAAQABAAEAAQABAAEACUAVwBXAFcAVwA2ACUAJQBXAFcAVwBHAEcAJQAlACUAKwBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBRAFcAUQBXAFEAVwBXAFcAVwBXAFcAUQBXAFcAVwBXAFcAVwBRAFEAKwArAAQABAAVABUARwBHAFcAFQBRAFcAUQBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFEAVwBRAFcAUQBXAFcAVwBXAFcAVwBRAFcAVwBXAFcAVwBXAFEAUQBXAFcAVwBXABUAUQBHAEcAVwArACsAKwArACsAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwAlACUAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACsAKwArACsAKwArACsAKwArACsAKwArAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAUQBRAFEAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBPAE8ATwBPAE8ATwBPAE8AJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADQATAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABLAEsASwBLAEsASwBLAEsASwBLAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAABAAEAAQABAAeAAQABAAEAAQABAAEAAQABAAEAAQAHgBQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUABQAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAeAA0ADQANAA0ADQArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AUAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAB4AHgAeAB4AHgAeAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AUABQAFAAUABQAFAAUABQAFAAUABQAAQAUABQAFAABABQAFAAUABQAAQAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAeAB4AHgAeAAQAKwArACsAUABQAFAAUABQAFAAHgAeABoAHgArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAADgAOABMAEwArACsAKwArACsAKwArACsABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwANAA0ASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUAAeAB4AHgBQAA4AUABQAAQAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArAB4AWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYAFgAWABYACsAKwArAAQAHgAeAB4AHgAeAB4ADQANAA0AHgAeAB4AHgArAFAASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArAB4AHgBcAFwAXABcAFwAKgBcAFwAXABcAFwAXABcAFwAXABcAEsASwBLAEsASwBLAEsASwBLAEsAXABcAFwAXABcACsAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAFAAUABQAAQAUABQAFAAUABQAFAAUABQAAQABAArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAHgANAA0ADQBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKgAqACoAXAAqACoAKgBcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXAAqAFwAKgAqACoAXABcACoAKgBcAFwAXABcAFwAKgAqAFwAKgBcACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFwAXABcACoAKgBQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAA0ADQBQAFAAUAAEAAQAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQADQAEAAQAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAVABVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBUAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVAFUAVQBVACsAKwArACsAKwArACsAKwArACsAKwArAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAWQBZAFkAKwArACsAKwBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAWgBaAFoAKwArACsAKwAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYABgAGAAYAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAKwArACsAKwArAFYABABWAFYAVgBWAFYAVgBWAFYAVgBWAB4AVgBWAFYAVgBWAFYAVgBWAFYAVgBWAFYAVgArAFYAVgBWAFYAVgArAFYAKwBWAFYAKwBWAFYAKwBWAFYAVgBWAFYAVgBWAFYAVgBWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAEQAWAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAaAB4AKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAGAARABEAGAAYABMAEwAWABEAFAArACsAKwArACsAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACUAJQAlACUAJQAWABEAFgARABYAEQAWABEAFgARABYAEQAlACUAFgARACUAJQAlACUAJQAlACUAEQAlABEAKwAVABUAEwATACUAFgARABYAEQAWABEAJQAlACUAJQAlACUAJQAlACsAJQAbABoAJQArACsAKwArAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAcAKwATACUAJQAbABoAJQAlABYAEQAlACUAEQAlABEAJQBXAFcAVwBXAFcAVwBXAFcAVwBXABUAFQAlACUAJQATACUAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXABYAJQARACUAJQAlAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAWACUAEQAlABYAEQARABYAEQARABUAVwBRAFEAUQBRAFEAUQBRAFEAUQBRAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAEcARwArACsAVwBXAFcAVwBXAFcAKwArAFcAVwBXAFcAVwBXACsAKwBXAFcAVwBXAFcAVwArACsAVwBXAFcAKwArACsAGgAbACUAJQAlABsAGwArAB4AHgAeAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwAEAAQABAAQAB0AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsADQANAA0AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAA0AUABQAFAAUAArACsAKwArAFAAUABQAFAAUABQAFAAUAANAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwArAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwBQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwANAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAB4AUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAUABQAFAAUABQAAQABAAEACsABAAEACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAKwBQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAA0ADQANAA0ADQANAA0ADQAeACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAArACsAKwArAFAAUABQAFAAUAANAA0ADQANAA0ADQAUACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsADQANAA0ADQANAA0ADQBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAB4AHgAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArAAQABAANACsAKwBQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAB4AHgAeAB4AHgArACsAKwArACsAKwAEAAQABAAEAAQABAAEAA0ADQAeAB4AHgAeAB4AKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwAeACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEACsASwBLAEsASwBLAEsASwBLAEsASwANAA0ADQANAFAABAAEAFAAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAeAA4AUAArACsAKwArACsAKwArACsAKwAEAFAAUABQAFAADQANAB4ADQAEAAQABAAEAB4ABAAEAEsASwBLAEsASwBLAEsASwBLAEsAUAAOAFAADQANAA0AKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAANAA0AHgANAA0AHgAEACsAUABQAFAAUABQAFAAUAArAFAAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAA0AKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsABAAEAAQABAArAFAAUABQAFAAUABQAFAAUAArACsAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQACsABAAEAFAABAAEAAQABAAEAAQABAArACsABAAEACsAKwAEAAQABAArACsAUAArACsAKwArACsAKwAEACsAKwArACsAKwBQAFAAUABQAFAABAAEACsAKwAEAAQABAAEAAQABAAEACsAKwArAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsABAAEAAQABAAEAAQABABQAFAAUABQAA0ADQANAA0AHgBLAEsASwBLAEsASwBLAEsASwBLAA0ADQArAB4ABABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAFAAUAAeAFAAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABAAEAAQADgANAA0AEwATAB4AHgAeAA0ADQANAA0ADQANAA0ADQANAA0ADQANAA0ADQANAFAAUABQAFAABAAEACsAKwAEAA0ADQAeAFAAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAFAAKwArACsAKwArACsAKwBLAEsASwBLAEsASwBLAEsASwBLACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAXABcAFwAKwArACoAKgAqACoAKgAqACoAKgAqACoAKgAqACoAKgAqACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBcAFwADQANAA0AKgBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAKwArAFAAKwArAFAAUABQAFAAUABQAFAAUAArAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQAKwAEAAQAKwArAAQABAAEAAQAUAAEAFAABAAEAA0ADQANACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAArACsABAAEAAQABAAEAAQABABQAA4AUAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAABAAEAAQABAAEAAQABAAEAAQABABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAFAABAAEAAQABAAOAB4ADQANAA0ADQAOAB4ABAArACsAKwArACsAKwArACsAUAAEAAQABAAEAAQABAAEAAQABAAEAAQAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAA0ADQANAFAADgAOAA4ADQANACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAEAAQABAAEACsABAAEAAQABAAEAAQABAAEAFAADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAOABMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQACsAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAArACsAKwAEACsABAAEACsABAAEAAQABAAEAAQABABQAAQAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAUABQAFAAUABQAFAAKwBQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAUAArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAABAAEAAQABAAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAaABoAGgAaAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArAA0AUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsADQANAA0ADQANACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABIAEgAQwBDAEMAUABQAFAAUABDAFAAUABQAEgAQwBIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAASABDAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwAJAAkACQAJAAkACQAJABYAEQArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABIAEMAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwANAA0AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArAAQABAAEAAQABAANACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEAA0ADQANAB4AHgAeAB4AHgAeAFAAUABQAFAADQAeACsAKwArACsAKwArACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAANAA0AHgAeACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwAEAFAABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwAEAAQABAAEAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAARwBHABUARwAJACsAKwArACsAKwArACsAKwArACsAKwAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUQBRAFEAKwArACsAKwArACsAKwArACsAKwArACsAKwBRAFEAUQBRACsAKwArACsAKwArACsAKwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUAArACsAHgAEAAQADQAEAAQABAAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAAQABAAEAAQABAAeAB4AHgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAB4AHgAEAAQABAAEAAQABAAEAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4ABAAEAAQAHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwArACsAKwArACsAKwArACsAKwArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAKwArAFAAKwArAFAAUAArACsAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACsAUAArAFAAUABQAFAAUABQAFAAKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwBQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAHgAeAFAAUABQAFAAUAArAFAAKwArACsAUABQAFAAUABQAFAAUAArAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAB4AHgAeAB4AHgAeAB4AHgAeACsAKwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAEsASwBLAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAeAB4AHgAeAB4AHgAeAB4ABAAeAB4AHgAeAB4AHgAeAB4AHgAeAAQAHgAeAA0ADQANAA0AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQAKwAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArAAQABAAEAAQABAAEAAQAKwAEAAQAKwAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwAEAAQABAAEAAQABAAEAFAAUABQAFAAUABQAFAAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwBQAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArABsAUABQAFAAUABQACsAKwBQAFAAUABQAFAAUABQAFAAUAAEAAQABAAEAAQABAAEACsAKwArACsAKwArACsAKwArAB4AHgAeAB4ABAAEAAQABAAEAAQABABQACsAKwArACsASwBLAEsASwBLAEsASwBLAEsASwArACsAKwArABYAFgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAGgBQAFAAUAAaAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAeAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQACsAKwBQAFAAUABQACsAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUAArACsAKwArACsAKwBQACsAKwArACsAUAArAFAAKwBQACsAUABQAFAAKwBQAFAAKwBQACsAKwBQACsAUAArAFAAKwBQACsAUAArAFAAUAArAFAAKwArAFAAUABQAFAAKwBQAFAAUABQAFAAUABQACsAUABQAFAAUAArAFAAUABQAFAAKwBQACsAUABQAFAAUABQAFAAUABQAFAAUAArAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAArACsAKwArACsAUABQAFAAKwBQAFAAUABQAFAAKwBQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwAeAB4AKwArACsAKwArACsAKwArACsAKwArACsAKwArAE8ATwBPAE8ATwBPAE8ATwBPAE8ATwBPAE8AJQAlACUAHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHgAeAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB4AHgAeACUAJQAlAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAdAB0AHQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAKQApACkAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAlACUAJQAlACUAHgAlACUAJQAlACUAIAAgACAAJQAlACAAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACEAIQAhACEAIQAlACUAIAAgACUAJQAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlACUAIAAlACUAJQAlACAAIAAgACUAIAAgACAAJQAlACUAJQAlACUAJQAgACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAlAB4AJQAeACUAJQAlACUAJQAgACUAJQAlACUAHgAlAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAgACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACAAIAAgACAAIAAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeABcAFwAXABUAFQAVAB4AHgAeAB4AJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAgACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlACUAJQAeAB4AHgAeAB4AHgAeAB4AHgAeACUAJQAlACUAJQAlAB4AHgAeAB4AHgAeAB4AHgAlACUAJQAlACUAJQAlACUAHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAgACUAJQAgACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAJQAlACUAJQAlACUAIAAlACUAJQAlACUAJQAlACUAJQAgACAAIAAgACAAIAAgACAAIAAgACUAJQAgACAAIAAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACAAIAAlACAAIAAlACAAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAgACAAIAAlACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAJQAlAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AKwAeAB4AHgAeAB4AHgAeAB4AHgAeAB4AHgArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAEsASwBLAEsASwBLAEsASwBLAEsAKwArACsAKwArACsAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwArAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwAlACUAJQAlACUAJQAlACUAJQAlACUAVwBXACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQBXAFcAVwBXAFcAVwBXAFcAVwBXAFcAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAJQAlACUAKwAEACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArACsAKwArAA=="),IA=[uA,BA],xA=[P,D,M,T],HA=[G,R],NA=[oA,sA],SA=xA.concat(HA),_A=[wA,mA,CA,dA,gA],kA=[J,W],PA=function(A,t){void 0===t&&(t="strict");var e=[],r=[],n=[];return A.forEach((function(A,i){var s=EA.get(A);if(s>k?(n.push(!0),s-=k):n.push(!1),-1!==["normal","auto","loose"].indexOf(t)&&-1!==[8208,8211,12316,12448].indexOf(A))return r.push(i),e.push(z);if(s===O||s===V){if(0===i)return r.push(i),e.push(uA);var o=e[i-1];return-1===SA.indexOf(o)?(r.push(r[i-1]),e.push(o)):(r.push(i),e.push(uA))}return r.push(i),s===lA?e.push("strict"===t?tA:pA):s===QA||s===cA?e.push(uA):s===vA?A>=131072&&A<=196605||A>=196608&&A<=262141?e.push(pA):e.push(uA):void e.push(s)})),[r,e,n]},DA=function(A,t,e,r){var n=r[e];if(Array.isArray(A)?-1!==A.indexOf(n):A===n)for(var i=e;i<=r.length;){if((a=r[++i])===t)return!0;if(a!==G)break}if(n===G)for(i=e;i>0;){var s=r[--i];if(Array.isArray(A)?-1!==A.indexOf(s):A===s)for(var o=e;o<=r.length;){var a;if((a=r[++o])===t)return!0;if(a!==G)break}if(s!==G)break}return!1},MA=function(A,t){for(var e=A;e>=0;){var r=t[e];if(r!==G)return r;e--}return 0},OA=function(A,t,e,r,n){if(0===e[r])return UA;var i=r-1;if(Array.isArray(n)&&!0===n[i])return UA;var s=i-1,o=i+1,a=t[i],c=s>=0?t[s]:0,u=t[o];if(a===D&&u===M)return UA;if(-1!==xA.indexOf(a))return FA;if(-1!==xA.indexOf(u))return UA;if(-1!==HA.indexOf(u))return UA;if(MA(i,t)===R)return LA;if(EA.get(A[i])===V)return UA;if((a===hA||a===fA)&&EA.get(A[o])===V)return UA;if(a===K||u===K)return UA;if(a===j)return UA;if(-1===[G,W,J].indexOf(a)&&u===j)return UA;if(-1!==[Y,Z,$,nA,aA].indexOf(u))return UA;if(MA(i,t)===eA)return UA;if(DA(rA,eA,i,t))return UA;if(DA([Y,Z],tA,i,t))return UA;if(DA(q,q,i,t))return UA;if(a===G)return LA;if(a===rA||u===rA)return UA;if(u===z||a===z)return LA;if(-1!==[W,J,tA].indexOf(u)||a===X)return UA;if(c===BA&&-1!==kA.indexOf(a))return UA;if(a===aA&&u===BA)return UA;if(u===AA)return UA;if(-1!==IA.indexOf(u)&&a===iA||-1!==IA.indexOf(a)&&u===iA)return UA;if(a===oA&&-1!==[pA,hA,fA].indexOf(u)||-1!==[pA,hA,fA].indexOf(a)&&u===sA)return UA;if(-1!==IA.indexOf(a)&&-1!==NA.indexOf(u)||-1!==NA.indexOf(a)&&-1!==IA.indexOf(u))return UA;if(-1!==[oA,sA].indexOf(a)&&(u===iA||-1!==[eA,J].indexOf(u)&&t[o+1]===iA)||-1!==[eA,J].indexOf(a)&&u===iA||a===iA&&-1!==[iA,aA,nA].indexOf(u))return UA;if(-1!==[iA,aA,nA,Y,Z].indexOf(u))for(var l=i;l>=0;){if((h=t[l])===iA)return UA;if(-1===[aA,nA].indexOf(h))break;l--}if(-1!==[oA,sA].indexOf(u))for(l=-1!==[Y,Z].indexOf(a)?s:i;l>=0;){var h;if((h=t[l])===iA)return UA;if(-1===[aA,nA].indexOf(h))break;l--}if(wA===a&&-1!==[wA,mA,dA,gA].indexOf(u)||-1!==[mA,dA].indexOf(a)&&-1!==[mA,CA].indexOf(u)||-1!==[CA,gA].indexOf(a)&&u===CA)return UA;if(-1!==_A.indexOf(a)&&-1!==[AA,sA].indexOf(u)||-1!==_A.indexOf(u)&&a===oA)return UA;if(-1!==IA.indexOf(a)&&-1!==IA.indexOf(u))return UA;if(a===nA&&-1!==IA.indexOf(u))return UA;if(-1!==IA.concat(iA).indexOf(a)&&u===eA&&-1===bA.indexOf(A[o])||-1!==IA.concat(iA).indexOf(u)&&a===Z)return UA;if(a===yA&&u===yA){for(var f=e[i],d=1;f>0&&t[--f]===yA;)d++;if(d%2!=0)return UA}return a===hA&&u===fA?UA:LA},TA=function(A,t){t||(t={lineBreak:"normal",wordBreak:"normal"});var e=PA(A,t.lineBreak),r=e[0],n=e[1],i=e[2];"break-all"!==t.wordBreak&&"break-word"!==t.wordBreak||(n=n.map((function(A){return-1!==[iA,uA,QA].indexOf(A)?pA:A})));var s="keep-all"===t.wordBreak?i.map((function(t,e){return t&&A[e]>=19968&&A[e]<=40959})):void 0;return[r,n,s]},KA=function(){function A(A,t,e,r){this.codePoints=A,this.required=t===FA,this.start=e,this.end=r}return A.prototype.slice=function(){return u.apply(void 0,this.codePoints.slice(this.start,this.end))},A}(),RA=function(A,t){var e=c(A),r=TA(e,t),n=r[0],i=r[1],s=r[2],o=e.length,a=0,u=0;return{next:function(){if(u>=o)return{done:!0,value:null};for(var A=UA;u<o&&(A=OA(e,i,n,++u,s))===UA;);if(A!==UA||u===o){var t=new KA(e,A,a,u);return a=u,{value:t,done:!1}}return{done:!0,value:null}}}},jA=1,GA=2,VA=4,qA=8,WA=10,XA=47,JA=92,zA=9,YA=32,ZA=34,$A=61,At=35,tt=36,et=37,rt=39,nt=40,it=41,st=95,ot=45,at=33,ct=60,ut=62,lt=64,ht=91,ft=93,dt=61,gt=123,Bt=63,pt=125,wt=124,mt=126,Ct=128,yt=65533,Qt=42,vt=43,bt=44,Ft=58,Ut=59,Lt=46,Et=0,It=8,xt=11,Ht=14,Nt=31,St=127,_t=-1,kt=48,Pt=97,Dt=101,Mt=102,Ot=117,Tt=122,Kt=65,Rt=69,jt=70,Gt=85,Vt=90,qt=function(A){return A>=kt&&A<=57},Wt=function(A){return A>=55296&&A<=57343},Xt=function(A){return qt(A)||A>=Kt&&A<=jt||A>=Pt&&A<=Mt},Jt=function(A){return A>=Pt&&A<=Tt},zt=function(A){return A>=Kt&&A<=Vt},Yt=function(A){return Jt(A)||zt(A)},Zt=function(A){return A>=Ct},$t=function(A){return A===WA||A===zA||A===YA},Ae=function(A){return Yt(A)||Zt(A)||A===st},te=function(A){return Ae(A)||qt(A)||A===ot},ee=function(A){return A>=Et&&A<=It||A===xt||A>=Ht&&A<=Nt||A===St},re=function(A,t){return A===JA&&t!==WA},ne=function(A,t,e){return A===ot?Ae(t)||re(t,e):!!Ae(A)||!(A!==JA||!re(A,t))},ie=function(A,t,e){return A===vt||A===ot?!!qt(t)||t===Lt&&qt(e):qt(A===Lt?t:A)},se=function(A){var t=0,e=1;A[t]!==vt&&A[t]!==ot||(A[t]===ot&&(e=-1),t++);for(var r=[];qt(A[t]);)r.push(A[t++]);var n=r.length?parseInt(u.apply(void 0,r),10):0;A[t]===Lt&&t++;for(var i=[];qt(A[t]);)i.push(A[t++]);var s=i.length,o=s?parseInt(u.apply(void 0,i),10):0;A[t]!==Rt&&A[t]!==Dt||t++;var a=1;A[t]!==vt&&A[t]!==ot||(A[t]===ot&&(a=-1),t++);for(var c=[];qt(A[t]);)c.push(A[t++]);var l=c.length?parseInt(u.apply(void 0,c),10):0;return e*(n+o*Math.pow(10,-s))*Math.pow(10,a*l)},oe={type:2},ae={type:3},ce={type:4},ue={type:13},le={type:8},he={type:21},fe={type:9},de={type:10},ge={type:11},Be={type:12},pe={type:14},we={type:23},me={type:1},Ce={type:25},ye={type:24},Qe={type:26},ve={type:27},be={type:28},Fe={type:29},Ue={type:31},Le={type:32},Ee=function(){function A(){this._value=[]}return A.prototype.write=function(A){this._value=this._value.concat(c(A))},A.prototype.read=function(){for(var A=[],t=this.consumeToken();t!==Le;)A.push(t),t=this.consumeToken();return A},A.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case ZA:return this.consumeStringToken(ZA);case At:var t=this.peekCodePoint(0),e=this.peekCodePoint(1),r=this.peekCodePoint(2);if(te(t)||re(e,r)){var n=ne(t,e,r)?GA:jA;return{type:5,value:this.consumeName(),flags:n}}break;case tt:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),ue;break;case rt:return this.consumeStringToken(rt);case nt:return oe;case it:return ae;case Qt:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),pe;break;case vt:if(ie(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case bt:return ce;case ot:var i=A,s=this.peekCodePoint(0),o=this.peekCodePoint(1);if(ie(i,s,o))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(ne(i,s,o))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(s===ot&&o===ut)return this.consumeCodePoint(),this.consumeCodePoint(),ye;break;case Lt:if(ie(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case XA:if(this.peekCodePoint(0)===Qt)for(this.consumeCodePoint();;){var a=this.consumeCodePoint();if(a===Qt&&(a=this.consumeCodePoint())===XA)return this.consumeToken();if(a===_t)return this.consumeToken()}break;case Ft:return Qe;case Ut:return ve;case ct:if(this.peekCodePoint(0)===at&&this.peekCodePoint(1)===ot&&this.peekCodePoint(2)===ot)return this.consumeCodePoint(),this.consumeCodePoint(),Ce;break;case lt:var c=this.peekCodePoint(0),l=this.peekCodePoint(1),h=this.peekCodePoint(2);if(ne(c,l,h))return{type:7,value:this.consumeName()};break;case ht:return be;case JA:if(re(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case ft:return Fe;case dt:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),le;break;case gt:return ge;case pt:return Be;case Ot:case Gt:var f=this.peekCodePoint(0),d=this.peekCodePoint(1);return f!==vt||!Xt(d)&&d!==Bt||(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case wt:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),fe;if(this.peekCodePoint(0)===wt)return this.consumeCodePoint(),he;break;case mt:if(this.peekCodePoint(0)===$A)return this.consumeCodePoint(),de;break;case _t:return Le}return $t(A)?(this.consumeWhiteSpace(),Ue):qt(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):Ae(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:u(A)}},A.prototype.consumeCodePoint=function(){var A=this._value.shift();return void 0===A?-1:A},A.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},A.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},A.prototype.consumeUnicodeRangeToken=function(){for(var A=[],t=this.consumeCodePoint();Xt(t)&&A.length<6;)A.push(t),t=this.consumeCodePoint();for(var e=!1;t===Bt&&A.length<6;)A.push(t),t=this.consumeCodePoint(),e=!0;if(e)return{type:30,start:parseInt(u.apply(void 0,A.map((function(A){return A===Bt?kt:A}))),16),end:parseInt(u.apply(void 0,A.map((function(A){return A===Bt?jt:A}))),16)};var r=parseInt(u.apply(void 0,A),16);if(this.peekCodePoint(0)===ot&&Xt(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var n=[];Xt(t)&&n.length<6;)n.push(t),t=this.consumeCodePoint();return{type:30,start:r,end:parseInt(u.apply(void 0,n),16)}}return{type:30,start:r,end:r}},A.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return"url"===A.toLowerCase()&&this.peekCodePoint(0)===nt?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===nt?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},A.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===_t)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===rt||t===ZA){var e=this.consumeStringToken(this.consumeCodePoint());return 0===e.type&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===_t||this.peekCodePoint(0)===it)?(this.consumeCodePoint(),{type:22,value:e.value}):(this.consumeBadUrlRemnants(),we)}for(;;){var r=this.consumeCodePoint();if(r===_t||r===it)return{type:22,value:u.apply(void 0,A)};if($t(r))return this.consumeWhiteSpace(),this.peekCodePoint(0)===_t||this.peekCodePoint(0)===it?(this.consumeCodePoint(),{type:22,value:u.apply(void 0,A)}):(this.consumeBadUrlRemnants(),we);if(r===ZA||r===rt||r===nt||ee(r))return this.consumeBadUrlRemnants(),we;if(r===JA){if(!re(r,this.peekCodePoint(0)))return this.consumeBadUrlRemnants(),we;A.push(this.consumeEscapedCodePoint())}else A.push(r)}},A.prototype.consumeWhiteSpace=function(){for(;$t(this.peekCodePoint(0));)this.consumeCodePoint()},A.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===it||A===_t)return;re(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},A.prototype.consumeStringSlice=function(A){for(var t=5e4,e="";A>0;){var r=Math.min(t,A);e+=u.apply(void 0,this._value.splice(0,r)),A-=r}return this._value.shift(),e},A.prototype.consumeStringToken=function(A){for(var t="",e=0;;){var r=this._value[e];if(r===_t||void 0===r||r===A)return{type:0,value:t+=this.consumeStringSlice(e)};if(r===WA)return this._value.splice(0,e),me;if(r===JA){var n=this._value[e+1];n!==_t&&void 0!==n&&(n===WA?(t+=this.consumeStringSlice(e),e=-1,this._value.shift()):re(r,n)&&(t+=this.consumeStringSlice(e),t+=u(this.consumeEscapedCodePoint()),e=-1))}e++}},A.prototype.consumeNumber=function(){var A=[],t=VA,e=this.peekCodePoint(0);for(e!==vt&&e!==ot||A.push(this.consumeCodePoint());qt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());e=this.peekCodePoint(0);var r=this.peekCodePoint(1);if(e===Lt&&qt(r))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=qA;qt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());e=this.peekCodePoint(0),r=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((e===Rt||e===Dt)&&((r===vt||r===ot)&&qt(n)||qt(r)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=qA;qt(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[se(A),t]},A.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],e=A[1],r=this.peekCodePoint(0),n=this.peekCodePoint(1),i=this.peekCodePoint(2);return ne(r,n,i)?{type:15,number:t,flags:e,unit:this.consumeName()}:r===et?(this.consumeCodePoint(),{type:16,number:t,flags:e}):{type:17,number:t,flags:e}},A.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(Xt(A)){for(var t=u(A);Xt(this.peekCodePoint(0))&&t.length<6;)t+=u(this.consumeCodePoint());$t(this.peekCodePoint(0))&&this.consumeCodePoint();var e=parseInt(t,16);return 0===e||Wt(e)||e>1114111?yt:e}return A===_t?yt:A},A.prototype.consumeName=function(){for(var A="";;){var t=this.consumeCodePoint();if(te(t))A+=u(t);else{if(!re(t,this.peekCodePoint(0)))return this.reconsumeCodePoint(t),A;A+=u(this.consumeEscapedCodePoint())}}},A}(),Ie=function(){function A(A){this._tokens=A}return A.create=function(t){var e=new Ee;return e.write(t),new A(e.read())},A.parseValue=function(t){return A.create(t).parseComponentValue()},A.parseValues=function(t){return A.create(t).parseComponentValues()},A.prototype.parseComponentValue=function(){for(var A=this.consumeToken();31===A.type;)A=this.consumeToken();if(32===A.type)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do{A=this.consumeToken()}while(31===A.type);if(32===A.type)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},A.prototype.parseComponentValues=function(){for(var A=[];;){var t=this.consumeComponentValue();if(32===t.type)return A;A.push(t),A.push()}},A.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},A.prototype.consumeSimpleBlock=function(A){for(var t={type:A,values:[]},e=this.consumeToken();;){if(32===e.type||Me(e,A))return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue()),e=this.consumeToken()}},A.prototype.consumeFunction=function(A){for(var t={name:A.value,values:[],type:18};;){var e=this.consumeToken();if(32===e.type||3===e.type)return t;this.reconsumeToken(e),t.values.push(this.consumeComponentValue())}},A.prototype.consumeToken=function(){var A=this._tokens.shift();return void 0===A?Le:A},A.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},A}(),xe=function(A){return 15===A.type},He=function(A){return 17===A.type},Ne=function(A){return 20===A.type},Se=function(A){return 0===A.type},_e=function(A,t){return Ne(A)&&A.value===t},ke=function(A){return 31!==A.type},Pe=function(A){return 31!==A.type&&4!==A.type},De=function(A){var t=[],e=[];return A.forEach((function(A){if(4===A.type){if(0===e.length)throw new Error("Error parsing function args, zero tokens for arg");return t.push(e),void(e=[])}31!==A.type&&e.push(A)})),e.length&&t.push(e),t},Me=function(A,t){return 11===t&&12===A.type||28===t&&29===A.type||2===t&&3===A.type},Oe=function(A){return 17===A.type||15===A.type},Te=function(A){return 16===A.type||Oe(A)},Ke=function(A){return A.length>1?[A[0],A[1]]:[A[0]]},Re={type:17,number:0,flags:VA},je={type:16,number:50,flags:VA},Ge={type:16,number:100,flags:VA},Ve=function(A,t,e){var r=A[0],n=A[1];return[qe(r,t),qe(void 0!==n?n:r,e)]},qe=function(A,t){if(16===A.type)return A.number/100*t;if(xe(A))switch(A.unit){case"rem":case"em":return 16*A.number;default:return A.number}return A.number},We="deg",Xe="grad",Je="rad",ze="turn",Ye={name:"angle",parse:function(A,t){if(15===t.type)switch(t.unit){case We:return Math.PI*t.number/180;case Xe:return Math.PI/200*t.number;case Je:return t.number;case ze:return 2*Math.PI*t.number}throw new Error("Unsupported angle type")}},Ze=function(A){return 15===A.type&&(A.unit===We||A.unit===Xe||A.unit===Je||A.unit===ze)},$e=function(A){switch(A.filter(Ne).map((function(A){return A.value})).join(" ")){case"to bottom right":case"to right bottom":case"left top":case"top left":return[Re,Re];case"to top":case"bottom":return Ar(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[Re,Ge];case"to right":case"left":return Ar(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[Ge,Ge];case"to bottom":case"top":return Ar(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[Ge,Re];case"to left":case"right":return Ar(270)}return 0},Ar=function(A){return Math.PI*A/180},tr={name:"color",parse:function(A,t){if(18===t.type){var e=cr[t.name];if(void 0===e)throw new Error('Attempting to parse an unsupported color function "'+t.name+'"');return e(A,t.values)}if(5===t.type){if(3===t.value.length){var r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);return nr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),1)}if(4===t.value.length){r=t.value.substring(0,1),n=t.value.substring(1,2),i=t.value.substring(2,3);var s=t.value.substring(3,4);return nr(parseInt(r+r,16),parseInt(n+n,16),parseInt(i+i,16),parseInt(s+s,16)/255)}if(6===t.value.length)return r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),nr(parseInt(r,16),parseInt(n,16),parseInt(i,16),1);if(8===t.value.length)return r=t.value.substring(0,2),n=t.value.substring(2,4),i=t.value.substring(4,6),s=t.value.substring(6,8),nr(parseInt(r,16),parseInt(n,16),parseInt(i,16),parseInt(s,16)/255)}if(20===t.type){var o=lr[t.value.toUpperCase()];if(void 0!==o)return o}return lr.TRANSPARENT}},er=function(A){return!(255&A)},rr=function(A){var t=255&A,e=255&A>>8,r=255&A>>16,n=255&A>>24;return t<255?"rgba("+n+","+r+","+e+","+t/255+")":"rgb("+n+","+r+","+e+")"},nr=function(A,t,e,r){return(A<<24|t<<16|e<<8|Math.round(255*r))>>>0},ir=function(A,t){if(17===A.type)return A.number;if(16===A.type){var e=3===t?1:255;return 3===t?A.number/100*e:Math.round(A.number/100*e)}return 0},sr=function(A,t){var e=t.filter(Pe);if(3===e.length){var r=e.map(ir),n=r[0],i=r[1],s=r[2];return nr(n,i,s,1)}if(4===e.length){var o=e.map(ir),a=(n=o[0],i=o[1],s=o[2],o[3]);return nr(n,i,s,a)}return 0};function or(A,t,e){return e<0&&(e+=1),e>=1&&(e-=1),e<1/6?(t-A)*e*6+A:e<.5?t:e<2/3?6*(t-A)*(2/3-e)+A:A}var ar=function(A,t){var e=t.filter(Pe),r=e[0],n=e[1],i=e[2],s=e[3],o=(17===r.type?Ar(r.number):Ye.parse(A,r))/(2*Math.PI),a=Te(n)?n.number/100:0,c=Te(i)?i.number/100:0,u=void 0!==s&&Te(s)?qe(s,1):1;if(0===a)return nr(255*c,255*c,255*c,1);var l=c<=.5?c*(a+1):c+a-c*a,h=2*c-l,f=or(h,l,o+1/3),d=or(h,l,o),g=or(h,l,o-1/3);return nr(255*f,255*d,255*g,u)},cr={hsl:ar,hsla:ar,rgb:sr,rgba:sr},ur=function(A,t){return tr.parse(A,Ie.create(t).parseComponentValue())},lr={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},hr={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(A,t){return t.map((function(A){if(Ne(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},fr={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},dr=function(A,t){var e=tr.parse(A,t[0]),r=t[1];return r&&Te(r)?{color:e,stop:r}:{color:e,stop:null}},gr=function(A,t){var e=A[0],r=A[A.length-1];null===e.stop&&(e.stop=Re),null===r.stop&&(r.stop=Ge);for(var n=[],i=0,s=0;s<A.length;s++){var o=A[s].stop;if(null!==o){var a=qe(o,t);a>i?n.push(a):n.push(i),i=a}else n.push(null)}var c=null;for(s=0;s<n.length;s++){var u=n[s];if(null===u)null===c&&(c=s);else if(null!==c){for(var l=s-c,h=(u-n[c-1])/(l+1),f=1;f<=l;f++)n[c+f-1]=h*f;c=null}}return A.map((function(A,e){return{color:A.color,stop:Math.max(Math.min(1,n[e]/t),0)}}))},Br=function(A,t,e){var r=t/2,n=e/2,i=qe(A[0],t)-r,s=n-qe(A[1],e);return(Math.atan2(s,i)+2*Math.PI)%(2*Math.PI)},pr=function(A,t,e){var r="number"==typeof A?A:Br(A,t,e),n=Math.abs(t*Math.sin(r))+Math.abs(e*Math.cos(r)),i=t/2,s=e/2,o=n/2,a=Math.sin(r-Math.PI/2)*o,c=Math.cos(r-Math.PI/2)*o;return[n,i-c,i+c,s-a,s+a]},wr=function(A,t){return Math.sqrt(A*A+t*t)},mr=function(A,t,e,r,n){return[[0,0],[0,t],[A,0],[A,t]].reduce((function(A,t){var i=t[0],s=t[1],o=wr(e-i,r-s);return(n?o<A.optimumDistance:o>A.optimumDistance)?{optimumCorner:t,optimumDistance:o}:A}),{optimumDistance:n?1/0:-1/0,optimumCorner:null}).optimumCorner},Cr=function(A,t,e,r,n){var i=0,s=0;switch(A.size){case 0:0===A.shape?i=s=Math.min(Math.abs(t),Math.abs(t-r),Math.abs(e),Math.abs(e-n)):1===A.shape&&(i=Math.min(Math.abs(t),Math.abs(t-r)),s=Math.min(Math.abs(e),Math.abs(e-n)));break;case 2:if(0===A.shape)i=s=Math.min(wr(t,e),wr(t,e-n),wr(t-r,e),wr(t-r,e-n));else if(1===A.shape){var o=Math.min(Math.abs(e),Math.abs(e-n))/Math.min(Math.abs(t),Math.abs(t-r)),a=mr(r,n,t,e,!0),c=a[0],u=a[1];s=o*(i=wr(c-t,(u-e)/o))}break;case 1:0===A.shape?i=s=Math.max(Math.abs(t),Math.abs(t-r),Math.abs(e),Math.abs(e-n)):1===A.shape&&(i=Math.max(Math.abs(t),Math.abs(t-r)),s=Math.max(Math.abs(e),Math.abs(e-n)));break;case 3:if(0===A.shape)i=s=Math.max(wr(t,e),wr(t,e-n),wr(t-r,e),wr(t-r,e-n));else if(1===A.shape){o=Math.max(Math.abs(e),Math.abs(e-n))/Math.max(Math.abs(t),Math.abs(t-r));var l=mr(r,n,t,e,!1);c=l[0],u=l[1],s=o*(i=wr(c-t,(u-e)/o))}}return Array.isArray(A.size)&&(i=qe(A.size[0],r),s=2===A.size.length?qe(A.size[1],n):i),[i,s]},yr=function(A,t){var e=Ar(180),r=[];return De(t).forEach((function(t,n){if(0===n){var i=t[0];if(20===i.type&&"to"===i.value)return void(e=$e(t));if(Ze(i))return void(e=Ye.parse(A,i))}var s=dr(A,t);r.push(s)})),{angle:e,stops:r,type:1}},Qr=function(A,t){var e=Ar(180),r=[];return De(t).forEach((function(t,n){if(0===n){var i=t[0];if(20===i.type&&-1!==["top","left","right","bottom"].indexOf(i.value))return void(e=$e(t));if(Ze(i))return void(e=(Ye.parse(A,i)+Ar(270))%Ar(360))}var s=dr(A,t);r.push(s)})),{angle:e,stops:r,type:1}},vr=function(A,t){var e=Ar(180),r=[],n=1,i=0,s=3,o=[];return De(t).forEach((function(t,e){var i=t[0];if(0===e){if(Ne(i)&&"linear"===i.value)return void(n=1);if(Ne(i)&&"radial"===i.value)return void(n=2)}if(18===i.type)if("from"===i.name){var s=tr.parse(A,i.values[0]);r.push({stop:Re,color:s})}else if("to"===i.name)s=tr.parse(A,i.values[0]),r.push({stop:Ge,color:s});else if("color-stop"===i.name){var o=i.values.filter(Pe);if(2===o.length){s=tr.parse(A,o[1]);var a=o[0];He(a)&&r.push({stop:{type:16,number:100*a.number,flags:a.flags},color:s})}}})),1===n?{angle:(e+Ar(180))%Ar(360),stops:r,type:n}:{size:s,shape:i,stops:r,position:o,type:n}},br="closest-side",Fr="farthest-side",Ur="closest-corner",Lr="farthest-corner",Er="circle",Ir="ellipse",xr="cover",Hr="contain",Nr=function(A,t){var e=0,r=3,n=[],i=[];return De(t).forEach((function(t,s){var o=!0;if(0===s){var a=!1;o=t.reduce((function(A,t){if(a)if(Ne(t))switch(t.value){case"center":return i.push(je),A;case"top":case"left":return i.push(Re),A;case"right":case"bottom":return i.push(Ge),A}else(Te(t)||Oe(t))&&i.push(t);else if(Ne(t))switch(t.value){case Er:return e=0,!1;case Ir:return e=1,!1;case"at":return a=!0,!1;case br:return r=0,!1;case xr:case Fr:return r=1,!1;case Hr:case Ur:return r=2,!1;case Lr:return r=3,!1}else if(Oe(t)||Te(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return A}),o)}if(o){var c=dr(A,t);n.push(c)}})),{size:r,shape:e,stops:n,position:i,type:2}},Sr=function(A,t){var e=0,r=3,n=[],i=[];return De(t).forEach((function(t,s){var o=!0;if(0===s?o=t.reduce((function(A,t){if(Ne(t))switch(t.value){case"center":return i.push(je),!1;case"top":case"left":return i.push(Re),!1;case"right":case"bottom":return i.push(Ge),!1}else if(Te(t)||Oe(t))return i.push(t),!1;return A}),o):1===s&&(o=t.reduce((function(A,t){if(Ne(t))switch(t.value){case Er:return e=0,!1;case Ir:return e=1,!1;case Hr:case br:return r=0,!1;case Fr:return r=1,!1;case Ur:return r=2,!1;case xr:case Lr:return r=3,!1}else if(Oe(t)||Te(t))return Array.isArray(r)||(r=[]),r.push(t),!1;return A}),o)),o){var a=dr(A,t);n.push(a)}})),{size:r,shape:e,stops:n,position:i,type:2}},_r=function(A){return 1===A.type},kr=function(A){return 2===A.type},Pr={name:"image",parse:function(A,t){if(22===t.type){var e={url:t.value,type:0};return A.cache.addImage(t.value),e}if(18===t.type){var r=Or[t.name];if(void 0===r)throw new Error('Attempting to parse an unsupported image function "'+t.name+'"');return r(A,t.values)}throw new Error("Unsupported image type "+t.type)}};function Dr(A){return!(20===A.type&&"none"===A.value||18===A.type&&!Or[A.name])}var Mr,Or={"linear-gradient":yr,"-moz-linear-gradient":Qr,"-ms-linear-gradient":Qr,"-o-linear-gradient":Qr,"-webkit-linear-gradient":Qr,"radial-gradient":Nr,"-moz-radial-gradient":Sr,"-ms-radial-gradient":Sr,"-o-radial-gradient":Sr,"-webkit-radial-gradient":Sr,"-webkit-gradient":vr},Tr={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(A,t){if(0===t.length)return[];var e=t[0];return 20===e.type&&"none"===e.value?[]:t.filter((function(A){return Pe(A)&&Dr(A)})).map((function(t){return Pr.parse(A,t)}))}},Kr={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(A,t){return t.map((function(A){if(Ne(A))switch(A.value){case"padding-box":return 1;case"content-box":return 2}return 0}))}},Rr={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(A,t){return De(t).map((function(A){return A.filter(Te)})).map(Ke)}},jr={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(A,t){return De(t).map((function(A){return A.filter(Ne).map((function(A){return A.value})).join(" ")})).map(Gr)}},Gr=function(A){switch(A){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;default:return 0}};!function(A){A.AUTO="auto",A.CONTAIN="contain",A.COVER="cover"}(Mr||(Mr={}));var Vr,qr={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(A,t){return De(t).map((function(A){return A.filter(Wr)}))}},Wr=function(A){return Ne(A)||Te(A)},Xr=function(A){return{name:"border-"+A+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Jr=Xr("top"),zr=Xr("right"),Yr=Xr("bottom"),Zr=Xr("left"),$r=function(A){return{name:"border-radius-"+A,initialValue:"0 0",prefix:!1,type:1,parse:function(A,t){return Ke(t.filter(Te))}}},An=$r("top-left"),tn=$r("top-right"),en=$r("bottom-right"),rn=$r("bottom-left"),nn=function(A){return{name:"border-"+A+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},sn=nn("top"),on=nn("right"),an=nn("bottom"),cn=nn("left"),un=function(A){return{name:"border-"+A+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return xe(t)?t.number:0}}},ln=un("top"),hn=un("right"),fn=un("bottom"),dn=un("left"),gn={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Bn={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(A,t){return"rtl"===t?1:0}},pn={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(A,t){return t.filter(Ne).reduce((function(A,t){return A|wn(t.value)}),0)}},wn=function(A){switch(A){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},mn={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Cn={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(A,t){return 20===t.type&&"normal"===t.value?0:17===t.type||15===t.type?t.number:0}};!function(A){A.NORMAL="normal",A.STRICT="strict"}(Vr||(Vr={}));var yn,Qn={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){return"strict"===t?Vr.STRICT:Vr.NORMAL}},vn={name:"line-height",initialValue:"normal",prefix:!1,type:4},bn=function(A,t){return Ne(A)&&"normal"===A.value?1.2*t:17===A.type?t*A.number:Te(A)?qe(A,t):t},Fn={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(A,t){return 20===t.type&&"none"===t.value?null:Pr.parse(A,t)}},Un={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(A,t){return"inside"===t?0:1}},Ln={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;default:return-1}}},En=function(A){return{name:"margin-"+A,initialValue:"0",prefix:!1,type:4}},In=En("top"),xn=En("right"),Hn=En("bottom"),Nn=En("left"),Sn={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(A,t){return t.filter(Ne).map((function(A){switch(A.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;default:return 0}}))}},_n={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){return"break-word"===t?"break-word":"normal"}},kn=function(A){return{name:"padding-"+A,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},Pn=kn("top"),Dn=kn("right"),Mn=kn("bottom"),On=kn("left"),Tn={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(A,t){switch(t){case"right":return 2;case"center":case"justify":return 1;default:return 0}}},Kn={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(A,t){switch(t){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},Rn={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,t){return 1===t.length&&_e(t[0],"none")?[]:De(t).map((function(t){for(var e={color:lr.TRANSPARENT,offsetX:Re,offsetY:Re,blur:Re},r=0,n=0;n<t.length;n++){var i=t[n];Oe(i)?(0===r?e.offsetX=i:1===r?e.offsetY=i:e.blur=i,r++):e.color=tr.parse(A,i)}return e}))}},jn={name:"text-transform",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"uppercase":return 2;case"lowercase":return 1;case"capitalize":return 3}return 0}},Gn={name:"transform",initialValue:"none",prefix:!0,type:0,parse:function(A,t){if(20===t.type&&"none"===t.value)return null;if(18===t.type){var e=Vn[t.name];if(void 0===e)throw new Error('Attempting to parse an unsupported transform function "'+t.name+'"');return e(t.values)}return null}},Vn={matrix:function(A){var t=A.filter((function(A){return 17===A.type})).map((function(A){return A.number}));return 6===t.length?t:null},matrix3d:function(A){var t=A.filter((function(A){return 17===A.type})).map((function(A){return A.number})),e=t[0],r=t[1];t[2],t[3];var n=t[4],i=t[5];t[6],t[7],t[8],t[9],t[10],t[11];var s=t[12],o=t[13];return t[14],t[15],16===t.length?[e,r,n,i,s,o]:null}},qn={type:16,number:50,flags:VA},Wn=[qn,qn],Xn={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(A,t){var e=t.filter(Te);return 2!==e.length?Wn:[e[0],e[1]]}},Jn={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(A,t){switch(t){case"hidden":return 1;case"collapse":return 2;default:return 0}}};!function(A){A.NORMAL="normal",A.BREAK_ALL="break-all",A.KEEP_ALL="keep-all"}(yn||(yn={}));for(var zn={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"break-all":return yn.BREAK_ALL;case"keep-all":return yn.KEEP_ALL;default:return yn.NORMAL}}},Yn={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(A,t){if(20===t.type)return{auto:!0,order:0};if(He(t))return{auto:!1,order:t.number};throw new Error("Invalid z-index number parsed")}},Zn={name:"time",parse:function(A,t){if(15===t.type)switch(t.unit.toLowerCase()){case"s":return 1e3*t.number;case"ms":return t.number}throw new Error("Unsupported time type")}},$n={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(A,t){return He(t)?t.number:1}},Ai={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ti={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(A,t){return t.filter(Ne).map((function(A){switch(A.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0})).filter((function(A){return 0!==A}))}},ei={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(A,t){var e=[],r=[];return t.forEach((function(A){switch(A.type){case 20:case 0:e.push(A.value);break;case 17:e.push(A.number.toString());break;case 4:r.push(e.join(" ")),e.length=0}})),e.length&&r.push(e.join(" ")),r.map((function(A){return-1===A.indexOf(" ")?A:"'"+A+"'"}))}},ri={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},ni={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(A,t){return He(t)?t.number:Ne(t)&&"bold"===t.value?700:400}},ii={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(A,t){return t.filter(Ne).map((function(A){return A.value}))}},si={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(A,t){switch(t){case"oblique":return"oblique";case"italic":return"italic";default:return"normal"}}},oi=function(A,t){return!!(A&t)},ai={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(A,t){if(0===t.length)return[];var e=t[0];return 20===e.type&&"none"===e.value?[]:t}},ci={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(A,t){if(0===t.length)return null;var e=t[0];if(20===e.type&&"none"===e.value)return null;for(var r=[],n=t.filter(ke),i=0;i<n.length;i++){var s=n[i],o=n[i+1];if(20===s.type){var a=o&&He(o)?o.number:1;r.push({counter:s.value,increment:a})}}return r}},ui={name:"counter-reset",initialValue:"none",prefix:!0,type:1,parse:function(A,t){if(0===t.length)return[];for(var e=[],r=t.filter(ke),n=0;n<r.length;n++){var i=r[n],s=r[n+1];if(Ne(i)&&"none"!==i.value){var o=s&&He(s)?s.number:0;e.push({counter:i.value,reset:o})}}return e}},li={name:"duration",initialValue:"0s",prefix:!1,type:1,parse:function(A,t){return t.filter(xe).map((function(t){return Zn.parse(A,t)}))}},hi={name:"quotes",initialValue:"none",prefix:!0,type:1,parse:function(A,t){if(0===t.length)return null;var e=t[0];if(20===e.type&&"none"===e.value)return null;var r=[],n=t.filter(Se);if(n.length%2!=0)return null;for(var i=0;i<n.length;i+=2){var s=n[i].value,o=n[i+1].value;r.push({open:s,close:o})}return r}},fi=function(A,t,e){if(!A)return"";var r=A[Math.min(t,A.length-1)];return r?e?r.open:r.close:""},di={name:"box-shadow",initialValue:"none",type:1,prefix:!1,parse:function(A,t){return 1===t.length&&_e(t[0],"none")?[]:De(t).map((function(t){for(var e={color:255,offsetX:Re,offsetY:Re,blur:Re,spread:Re,inset:!1},r=0,n=0;n<t.length;n++){var i=t[n];_e(i,"inset")?e.inset=!0:Oe(i)?(0===r?e.offsetX=i:1===r?e.offsetY=i:2===r?e.blur=i:e.spread=i,r++):e.color=tr.parse(A,i)}return e}))}},gi={name:"paint-order",initialValue:"normal",prefix:!1,type:1,parse:function(A,t){var e=[0,1,2],r=[];return t.filter(Ne).forEach((function(A){switch(A.value){case"stroke":r.push(1);break;case"fill":r.push(0);break;case"markers":r.push(2)}})),e.forEach((function(A){-1===r.indexOf(A)&&r.push(A)})),r}},Bi={name:"-webkit-text-stroke-color",initialValue:"currentcolor",prefix:!1,type:3,format:"color"},pi={name:"-webkit-text-stroke-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return xe(t)?t.number:0}},wi=function(){function A(A,t){var e,r;this.animationDuration=yi(A,li,t.animationDuration),this.backgroundClip=yi(A,hr,t.backgroundClip),this.backgroundColor=yi(A,fr,t.backgroundColor),this.backgroundImage=yi(A,Tr,t.backgroundImage),this.backgroundOrigin=yi(A,Kr,t.backgroundOrigin),this.backgroundPosition=yi(A,Rr,t.backgroundPosition),this.backgroundRepeat=yi(A,jr,t.backgroundRepeat),this.backgroundSize=yi(A,qr,t.backgroundSize),this.borderTopColor=yi(A,Jr,t.borderTopColor),this.borderRightColor=yi(A,zr,t.borderRightColor),this.borderBottomColor=yi(A,Yr,t.borderBottomColor),this.borderLeftColor=yi(A,Zr,t.borderLeftColor),this.borderTopLeftRadius=yi(A,An,t.borderTopLeftRadius),this.borderTopRightRadius=yi(A,tn,t.borderTopRightRadius),this.borderBottomRightRadius=yi(A,en,t.borderBottomRightRadius),this.borderBottomLeftRadius=yi(A,rn,t.borderBottomLeftRadius),this.borderTopStyle=yi(A,sn,t.borderTopStyle),this.borderRightStyle=yi(A,on,t.borderRightStyle),this.borderBottomStyle=yi(A,an,t.borderBottomStyle),this.borderLeftStyle=yi(A,cn,t.borderLeftStyle),this.borderTopWidth=yi(A,ln,t.borderTopWidth),this.borderRightWidth=yi(A,hn,t.borderRightWidth),this.borderBottomWidth=yi(A,fn,t.borderBottomWidth),this.borderLeftWidth=yi(A,dn,t.borderLeftWidth),this.boxShadow=yi(A,di,t.boxShadow),this.color=yi(A,gn,t.color),this.direction=yi(A,Bn,t.direction),this.display=yi(A,pn,t.display),this.float=yi(A,mn,t.cssFloat),this.fontFamily=yi(A,ei,t.fontFamily),this.fontSize=yi(A,ri,t.fontSize),this.fontStyle=yi(A,si,t.fontStyle),this.fontVariant=yi(A,ii,t.fontVariant),this.fontWeight=yi(A,ni,t.fontWeight),this.letterSpacing=yi(A,Cn,t.letterSpacing),this.lineBreak=yi(A,Qn,t.lineBreak),this.lineHeight=yi(A,vn,t.lineHeight),this.listStyleImage=yi(A,Fn,t.listStyleImage),this.listStylePosition=yi(A,Un,t.listStylePosition),this.listStyleType=yi(A,Ln,t.listStyleType),this.marginTop=yi(A,In,t.marginTop),this.marginRight=yi(A,xn,t.marginRight),this.marginBottom=yi(A,Hn,t.marginBottom),this.marginLeft=yi(A,Nn,t.marginLeft),this.opacity=yi(A,$n,t.opacity);var n=yi(A,Sn,t.overflow);this.overflowX=n[0],this.overflowY=n[n.length>1?1:0],this.overflowWrap=yi(A,_n,t.overflowWrap),this.paddingTop=yi(A,Pn,t.paddingTop),this.paddingRight=yi(A,Dn,t.paddingRight),this.paddingBottom=yi(A,Mn,t.paddingBottom),this.paddingLeft=yi(A,On,t.paddingLeft),this.paintOrder=yi(A,gi,t.paintOrder),this.position=yi(A,Kn,t.position),this.textAlign=yi(A,Tn,t.textAlign),this.textDecorationColor=yi(A,Ai,null!==(e=t.textDecorationColor)&&void 0!==e?e:t.color),this.textDecorationLine=yi(A,ti,null!==(r=t.textDecorationLine)&&void 0!==r?r:t.textDecoration),this.textShadow=yi(A,Rn,t.textShadow),this.textTransform=yi(A,jn,t.textTransform),this.transform=yi(A,Gn,t.transform),this.transformOrigin=yi(A,Xn,t.transformOrigin),this.visibility=yi(A,Jn,t.visibility),this.webkitTextStrokeColor=yi(A,Bi,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=yi(A,pi,t.webkitTextStrokeWidth),this.wordBreak=yi(A,zn,t.wordBreak),this.zIndex=yi(A,Yn,t.zIndex)}return A.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&0===this.visibility},A.prototype.isTransparent=function(){return er(this.backgroundColor)},A.prototype.isTransformed=function(){return null!==this.transform},A.prototype.isPositioned=function(){return 0!==this.position},A.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},A.prototype.isFloating=function(){return 0!==this.float},A.prototype.isInlineLevel=function(){return oi(this.display,4)||oi(this.display,33554432)||oi(this.display,268435456)||oi(this.display,536870912)||oi(this.display,67108864)||oi(this.display,134217728)},A}(),mi=function(){function A(A,t){this.content=yi(A,ai,t.content),this.quotes=yi(A,hi,t.quotes)}return A}(),Ci=function(){function A(A,t){this.counterIncrement=yi(A,ci,t.counterIncrement),this.counterReset=yi(A,ui,t.counterReset)}return A}(),yi=function(A,t,e){var r=new Ee,n=null!=e?e.toString():t.initialValue;r.write(n);var i=new Ie(r.read());switch(t.type){case 2:var s=i.parseComponentValue();return t.parse(A,Ne(s)?s.value:t.initialValue);case 0:return t.parse(A,i.parseComponentValue());case 1:return t.parse(A,i.parseComponentValues());case 4:return i.parseComponentValue();case 3:switch(t.format){case"angle":return Ye.parse(A,i.parseComponentValue());case"color":return tr.parse(A,i.parseComponentValue());case"image":return Pr.parse(A,i.parseComponentValue());case"length":var o=i.parseComponentValue();return Oe(o)?o:Re;case"length-percentage":var a=i.parseComponentValue();return Te(a)?a:Re;case"time":return Zn.parse(A,i.parseComponentValue())}}},Qi="data-html2canvas-debug",vi=function(A){switch(A.getAttribute(Qi)){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},bi=function(A,t){var e=vi(A);return 1===e||t===e},Fi=function(){function A(A,t){this.context=A,this.textNodes=[],this.elements=[],this.flags=0,bi(t,3),this.styles=new wi(A,window.getComputedStyle(t,null)),ho(t)&&(this.styles.animationDuration.some((function(A){return A>0}))&&(t.style.animationDuration="0s"),null!==this.styles.transform&&(t.style.transform="none")),this.bounds=o(this.context,t),bi(t,4)&&(this.flags|=16)}return A}(),Ui="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",Li="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",Ei="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Ii=0;Ii<Li.length;Ii++)Ei[Li.charCodeAt(Ii)]=Ii;for(var xi=function(A){var t,e,r,n,i,s=.75*A.length,o=A.length,a=0;"="===A[A.length-1]&&(s--,"="===A[A.length-2]&&s--);var c="undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array&&void 0!==Uint8Array.prototype.slice?new ArrayBuffer(s):new Array(s),u=Array.isArray(c)?c:new Uint8Array(c);for(t=0;t<o;t+=4)e=Ei[A.charCodeAt(t)],r=Ei[A.charCodeAt(t+1)],n=Ei[A.charCodeAt(t+2)],i=Ei[A.charCodeAt(t+3)],u[a++]=e<<2|r>>4,u[a++]=(15&r)<<4|n>>2,u[a++]=(3&n)<<6|63&i;return c},Hi=function(A){for(var t=A.length,e=[],r=0;r<t;r+=2)e.push(A[r+1]<<8|A[r]);return e},Ni=function(A){for(var t=A.length,e=[],r=0;r<t;r+=4)e.push(A[r+3]<<24|A[r+2]<<16|A[r+1]<<8|A[r]);return e},Si=5,_i=11,ki=2,Pi=65536>>Si,Di=(1<<Si)-1,Mi=Pi+(1024>>Si)+32,Oi=65536>>_i,Ti=(1<<_i-Si)-1,Ki=function(A,t,e){return A.slice?A.slice(t,e):new Uint16Array(Array.prototype.slice.call(A,t,e))},Ri=function(A,t,e){return A.slice?A.slice(t,e):new Uint32Array(Array.prototype.slice.call(A,t,e))},ji=function(A,t){var e=xi(A),r=Array.isArray(e)?Ni(e):new Uint32Array(e),n=Array.isArray(e)?Hi(e):new Uint16Array(e),i=24,s=Ki(n,i/2,r[4]/2),o=2===r[5]?Ki(n,(i+r[4])/2):Ri(r,Math.ceil((i+r[4])/4));return new Gi(r[0],r[1],r[2],r[3],s,o)},Gi=function(){function A(A,t,e,r,n,i){this.initialValue=A,this.errorValue=t,this.highStart=e,this.highValueIndex=r,this.index=n,this.data=i}return A.prototype.get=function(A){var t;if(A>=0){if(A<55296||A>56319&&A<=65535)return t=((t=this.index[A>>Si])<<ki)+(A&Di),this.data[t];if(A<=65535)return t=((t=this.index[Pi+(A-55296>>Si)])<<ki)+(A&Di),this.data[t];if(A<this.highStart)return t=Mi-Oi+(A>>_i),t=this.index[t],t+=A>>Si&Ti,t=((t=this.index[t])<<ki)+(A&Di),this.data[t];if(A<=1114111)return this.data[this.highValueIndex]}return this.errorValue},A}(),Vi="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",qi="undefined"==typeof Uint8Array?[]:new Uint8Array(256),Wi=0;Wi<Vi.length;Wi++)qi[Vi.charCodeAt(Wi)]=Wi;var Xi,Ji=1,zi=2,Yi=3,Zi=4,$i=5,As=7,ts=8,es=9,rs=10,ns=11,is=12,ss=13,os=14,as=15,cs=function(A){for(var t=[],e=0,r=A.length;e<r;){var n=A.charCodeAt(e++);if(n>=55296&&n<=56319&&e<r){var i=A.charCodeAt(e++);56320==(64512&i)?t.push(((1023&n)<<10)+(1023&i)+65536):(t.push(n),e--)}else t.push(n)}return t},us=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];if(String.fromCodePoint)return String.fromCodePoint.apply(String,A);var e=A.length;if(!e)return"";for(var r=[],n=-1,i="";++n<e;){var s=A[n];s<=65535?r.push(s):(s-=65536,r.push(55296+(s>>10),s%1024+56320)),(n+1===e||r.length>16384)&&(i+=String.fromCharCode.apply(String,r),r.length=0)}return i},ls=ji(Ui),hs="×",fs="÷",ds=function(A){return ls.get(A)},gs=function(A,t,e){var r=e-2,n=t[r],i=t[e-1],s=t[e];if(i===zi&&s===Yi)return hs;if(i===zi||i===Yi||i===Zi)return fs;if(s===zi||s===Yi||s===Zi)return fs;if(i===ts&&-1!==[ts,es,ns,is].indexOf(s))return hs;if(!(i!==ns&&i!==es||s!==es&&s!==rs))return hs;if((i===is||i===rs)&&s===rs)return hs;if(s===ss||s===$i)return hs;if(s===As)return hs;if(i===Ji)return hs;if(i===ss&&s===os){for(;n===$i;)n=t[--r];if(n===os)return hs}if(i===as&&s===as){for(var o=0;n===as;)o++,n=t[--r];if(o%2==0)return hs}return fs},Bs=function(A){var t=cs(A),e=t.length,r=0,n=0,i=t.map(ds);return{next:function(){if(r>=e)return{done:!0,value:null};for(var A=hs;r<e&&(A=gs(t,i,++r))===hs;);if(A!==hs||r===e){var s=us.apply(null,t.slice(n,r));return n=r,{value:s,done:!1}}return{done:!0,value:null}}}},ps=function(A){for(var t,e=Bs(A),r=[];!(t=e.next()).done;)t.value&&r.push(t.value.slice());return r},ws=function(A){var t=123;if(A.createRange){var e=A.createRange();if(e.getBoundingClientRect){var r=A.createElement("boundtest");r.style.height=t+"px",r.style.display="block",A.body.appendChild(r),e.selectNode(r);var n=e.getBoundingClientRect(),i=Math.round(n.height);if(A.body.removeChild(r),i===t)return!0}}return!1},ms=function(A){var t=A.createElement("boundtest");t.style.width="50px",t.style.display="block",t.style.fontSize="12px",t.style.letterSpacing="0px",t.style.wordSpacing="0px",A.body.appendChild(t);var e=A.createRange();t.innerHTML="function"==typeof"".repeat?"&#128104;".repeat(10):"";var r=t.firstChild,n=c(r.data).map((function(A){return u(A)})),i=0,s={},o=n.every((function(A,t){e.setStart(r,i),e.setEnd(r,i+A.length);var n=e.getBoundingClientRect();i+=A.length;var o=n.x>s.x||n.y>s.y;return s=n,0===t||o}));return A.body.removeChild(t),o},Cs=function(){return void 0!==(new Image).crossOrigin},ys=function(){return"string"==typeof(new XMLHttpRequest).responseType},Qs=function(A){var t=new Image,e=A.createElement("canvas"),r=e.getContext("2d");if(!r)return!1;t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),e.toDataURL()}catch(A){return!1}return!0},vs=function(A){return 0===A[0]&&255===A[1]&&0===A[2]&&255===A[3]},bs=function(A){var t=A.createElement("canvas"),e=100;t.width=e,t.height=e;var r=t.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,e,e);var n=new Image,i=t.toDataURL();n.src=i;var s=Fs(e,e,0,0,n);return r.fillStyle="red",r.fillRect(0,0,e,e),Us(s).then((function(t){r.drawImage(t,0,0);var n=r.getImageData(0,0,e,e).data;r.fillStyle="red",r.fillRect(0,0,e,e);var s=A.createElement("div");return s.style.backgroundImage="url("+i+")",s.style.height=e+"px",vs(n)?Us(Fs(e,e,0,0,s)):Promise.reject(!1)})).then((function(A){return r.drawImage(A,0,0),vs(r.getImageData(0,0,e,e).data)})).catch((function(){return!1}))},Fs=function(A,t,e,r,n){var i="http://www.w3.org/2000/svg",s=document.createElementNS(i,"svg"),o=document.createElementNS(i,"foreignObject");return s.setAttributeNS(null,"width",A.toString()),s.setAttributeNS(null,"height",t.toString()),o.setAttributeNS(null,"width","100%"),o.setAttributeNS(null,"height","100%"),o.setAttributeNS(null,"x",e.toString()),o.setAttributeNS(null,"y",r.toString()),o.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(o),o.appendChild(n),s},Us=function(A){return new Promise((function(t,e){var r=new Image;r.onload=function(){return t(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Ls={get SUPPORT_RANGE_BOUNDS(){var A=ws(document);return Object.defineProperty(Ls,"SUPPORT_RANGE_BOUNDS",{value:A}),A},get SUPPORT_WORD_BREAKING(){var A=Ls.SUPPORT_RANGE_BOUNDS&&ms(document);return Object.defineProperty(Ls,"SUPPORT_WORD_BREAKING",{value:A}),A},get SUPPORT_SVG_DRAWING(){var A=Qs(document);return Object.defineProperty(Ls,"SUPPORT_SVG_DRAWING",{value:A}),A},get SUPPORT_FOREIGNOBJECT_DRAWING(){var A="function"==typeof Array.from&&"function"==typeof window.fetch?bs(document):Promise.resolve(!1);return Object.defineProperty(Ls,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:A}),A},get SUPPORT_CORS_IMAGES(){var A=Cs();return Object.defineProperty(Ls,"SUPPORT_CORS_IMAGES",{value:A}),A},get SUPPORT_RESPONSE_TYPE(){var A=ys();return Object.defineProperty(Ls,"SUPPORT_RESPONSE_TYPE",{value:A}),A},get SUPPORT_CORS_XHR(){var A="withCredentials"in new XMLHttpRequest;return Object.defineProperty(Ls,"SUPPORT_CORS_XHR",{value:A}),A},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var A=!("undefined"==typeof Intl||!Intl.Segmenter);return Object.defineProperty(Ls,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:A}),A}},Es=function(){function A(A,t){this.text=A,this.bounds=t}return A}(),Is=function(A,t,e,r){var n=_s(t,e),i=[],o=0;return n.forEach((function(t){if(e.textDecorationLine.length||t.trim().length>0)if(Ls.SUPPORT_RANGE_BOUNDS){var n=Hs(r,o,t.length).getClientRects();if(n.length>1){var a=Ns(t),c=0;a.forEach((function(t){i.push(new Es(t,s.fromDOMRectList(A,Hs(r,c+o,t.length).getClientRects()))),c+=t.length}))}else i.push(new Es(t,s.fromDOMRectList(A,n)))}else{var u=r.splitText(t.length);i.push(new Es(t,xs(A,r))),r=u}else Ls.SUPPORT_RANGE_BOUNDS||(r=r.splitText(t.length));o+=t.length})),i},xs=function(A,t){var e=t.ownerDocument;if(e){var r=e.createElement("html2canvaswrapper");r.appendChild(t.cloneNode(!0));var n=t.parentNode;if(n){n.replaceChild(r,t);var i=o(A,r);return r.firstChild&&n.replaceChild(r.firstChild,r),i}}return s.EMPTY},Hs=function(A,t,e){var r=A.ownerDocument;if(!r)throw new Error("Node has no owner document");var n=r.createRange();return n.setStart(A,t),n.setEnd(A,t+e),n},Ns=function(A){if(Ls.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(t.segment(A)).map((function(A){return A.segment}))}return ps(A)},Ss=function(A,t){if(Ls.SUPPORT_NATIVE_TEXT_SEGMENTATION){var e=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(e.segment(A)).map((function(A){return A.segment}))}return Ps(A,t)},_s=function(A,t){return 0!==t.letterSpacing?Ns(A):Ss(A,t)},ks=[32,160,4961,65792,65793,4153,4241],Ps=function(A,t){for(var e,r=RA(A,{lineBreak:t.lineBreak,wordBreak:"break-word"===t.overflowWrap?"break-word":t.wordBreak}),n=[],i=function(){if(e.value){var A=e.value.slice(),t=c(A),r="";t.forEach((function(A){-1===ks.indexOf(A)?r+=u(A):(r.length&&n.push(r),n.push(u(A)),r="")})),r.length&&n.push(r)}};!(e=r.next()).done;)i();return n},Ds=function(){function A(A,t,e){this.text=Ms(t.data,e.textTransform),this.textBounds=Is(A,this.text,e,t)}return A}(),Ms=function(A,t){switch(t){case 1:return A.toLowerCase();case 3:return A.replace(Os,Ts);case 2:return A.toUpperCase();default:return A}},Os=/(^|\s|:|-|\(|\))([a-z])/g,Ts=function(A,t,e){return A.length>0?t+e.toUpperCase():A},Ks=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.src=e.currentSrc||e.src,r.intrinsicWidth=e.naturalWidth,r.intrinsicHeight=e.naturalHeight,r.context.cache.addImage(r.src),r}return t(e,A),e}(Fi),Rs=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.canvas=e,r.intrinsicWidth=e.width,r.intrinsicHeight=e.height,r}return t(e,A),e}(Fi),js=function(A){function e(t,e){var r=A.call(this,t,e)||this,n=new XMLSerializer,i=o(t,e);return e.setAttribute("width",i.width+"px"),e.setAttribute("height",i.height+"px"),r.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(e)),r.intrinsicWidth=e.width.baseVal.value,r.intrinsicHeight=e.height.baseVal.value,r.context.cache.addImage(r.svg),r}return t(e,A),e}(Fi),Gs=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.value=e.value,r}return t(e,A),e}(Fi),Vs=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.start=e.start,r.reversed="boolean"==typeof e.reversed&&!0===e.reversed,r}return t(e,A),e}(Fi),qs=[{type:15,flags:0,unit:"px",number:3}],Ws=[{type:16,flags:0,number:50}],Xs=function(A){return A.width>A.height?new s(A.left+(A.width-A.height)/2,A.top,A.height,A.height):A.width<A.height?new s(A.left,A.top+(A.height-A.width)/2,A.width,A.width):A},Js=function(A){var t=A.type===Zs?new Array(A.value.length+1).join("•"):A.value;return 0===t.length?A.placeholder||"":t},zs="checkbox",Ys="radio",Zs="password",$s=707406591,Ao=function(A){function e(t,e){var r=A.call(this,t,e)||this;switch(r.type=e.type.toLowerCase(),r.checked=e.checked,r.value=Js(e),r.type!==zs&&r.type!==Ys||(r.styles.backgroundColor=3739148031,r.styles.borderTopColor=r.styles.borderRightColor=r.styles.borderBottomColor=r.styles.borderLeftColor=2779096575,r.styles.borderTopWidth=r.styles.borderRightWidth=r.styles.borderBottomWidth=r.styles.borderLeftWidth=1,r.styles.borderTopStyle=r.styles.borderRightStyle=r.styles.borderBottomStyle=r.styles.borderLeftStyle=1,r.styles.backgroundClip=[0],r.styles.backgroundOrigin=[0],r.bounds=Xs(r.bounds)),r.type){case zs:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=qs;break;case Ys:r.styles.borderTopRightRadius=r.styles.borderTopLeftRadius=r.styles.borderBottomRightRadius=r.styles.borderBottomLeftRadius=Ws}return r}return t(e,A),e}(Fi),to=function(A){function e(t,e){var r=A.call(this,t,e)||this,n=e.options[e.selectedIndex||0];return r.value=n&&n.text||"",r}return t(e,A),e}(Fi),eo=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.value=e.value,r}return t(e,A),e}(Fi),ro=function(A){function e(t,e){var r=A.call(this,t,e)||this;r.src=e.src,r.width=parseInt(e.width,10)||0,r.height=parseInt(e.height,10)||0,r.backgroundColor=r.styles.backgroundColor;try{if(e.contentWindow&&e.contentWindow.document&&e.contentWindow.document.documentElement){r.tree=oo(t,e.contentWindow.document.documentElement);var n=e.contentWindow.document.documentElement?ur(t,getComputedStyle(e.contentWindow.document.documentElement).backgroundColor):lr.TRANSPARENT,i=e.contentWindow.document.body?ur(t,getComputedStyle(e.contentWindow.document.body).backgroundColor):lr.TRANSPARENT;r.backgroundColor=er(n)?er(i)?r.styles.backgroundColor:i:n}}catch(A){}return r}return t(e,A),e}(Fi),no=["OL","UL","MENU"],io=function(A,t,e,r){for(var n=t.firstChild,i=void 0;n;n=i)if(i=n.nextSibling,uo(n)&&n.data.trim().length>0)e.textNodes.push(new Ds(A,n,e.styles));else if(lo(n))if(Io(n)&&n.assignedNodes)n.assignedNodes().forEach((function(t){return io(A,t,e,r)}));else{var s=so(A,n);s.styles.isVisible()&&(ao(n,s,r)?s.flags|=4:co(s.styles)&&(s.flags|=2),-1!==no.indexOf(n.tagName)&&(s.flags|=8),e.elements.push(s),n.slot,n.shadowRoot?io(A,n.shadowRoot,s,r):Lo(n)||mo(n)||Eo(n)||io(A,n,s,r))}},so=function(A,t){return vo(t)?new Ks(A,t):yo(t)?new Rs(A,t):mo(t)?new js(A,t):go(t)?new Gs(A,t):Bo(t)?new Vs(A,t):po(t)?new Ao(A,t):Eo(t)?new to(A,t):Lo(t)?new eo(A,t):bo(t)?new ro(A,t):new Fi(A,t)},oo=function(A,t){var e=so(A,t);return e.flags|=4,io(A,t,e,e),e},ao=function(A,t,e){return t.styles.isPositionedWithZIndex()||t.styles.opacity<1||t.styles.isTransformed()||Co(A)&&e.styles.isTransparent()},co=function(A){return A.isPositioned()||A.isFloating()},uo=function(A){return A.nodeType===Node.TEXT_NODE},lo=function(A){return A.nodeType===Node.ELEMENT_NODE},ho=function(A){return lo(A)&&void 0!==A.style&&!fo(A)},fo=function(A){return"object"==typeof A.className},go=function(A){return"LI"===A.tagName},Bo=function(A){return"OL"===A.tagName},po=function(A){return"INPUT"===A.tagName},wo=function(A){return"HTML"===A.tagName},mo=function(A){return"svg"===A.tagName},Co=function(A){return"BODY"===A.tagName},yo=function(A){return"CANVAS"===A.tagName},Qo=function(A){return"VIDEO"===A.tagName},vo=function(A){return"IMG"===A.tagName},bo=function(A){return"IFRAME"===A.tagName},Fo=function(A){return"STYLE"===A.tagName},Uo=function(A){return"SCRIPT"===A.tagName},Lo=function(A){return"TEXTAREA"===A.tagName},Eo=function(A){return"SELECT"===A.tagName},Io=function(A){return"SLOT"===A.tagName},xo=function(A){return A.tagName.indexOf("-")>0},Ho=function(){function A(){this.counters={}}return A.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},A.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},A.prototype.pop=function(A){var t=this;A.forEach((function(A){return t.counters[A].pop()}))},A.prototype.parse=function(A){var t=this,e=A.counterIncrement,r=A.counterReset,n=!0;null!==e&&e.forEach((function(A){var e=t.counters[A.counter];e&&0!==A.increment&&(n=!1,e.length||e.push(1),e[Math.max(0,e.length-1)]+=A.increment)}));var i=[];return n&&r.forEach((function(A){var e=t.counters[A.counter];i.push(A.counter),e||(e=t.counters[A.counter]=[]),e.push(A.reset)})),i},A}(),No={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},So={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["Ք","Փ","Ւ","Ց","Ր","Տ","Վ","Ս","Ռ","Ջ","Պ","Չ","Ո","Շ","Ն","Յ","Մ","Ճ","Ղ","Ձ","Հ","Կ","Ծ","Խ","Լ","Ի","Ժ","Թ","Ը","Է","Զ","Ե","Դ","Գ","Բ","Ա"]},_o={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["י׳","ט׳","ח׳","ז׳","ו׳","ה׳","ד׳","ג׳","ב׳","א׳","ת","ש","ר","ק","צ","פ","ע","ס","נ","מ","ל","כ","יט","יח","יז","טז","טו","י","ט","ח","ז","ו","ה","ד","ג","ב","א"]},ko={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["ჵ","ჰ","ჯ","ჴ","ხ","ჭ","წ","ძ","ც","ჩ","შ","ყ","ღ","ქ","ფ","ჳ","ტ","ს","რ","ჟ","პ","ო","ჲ","ნ","მ","ლ","კ","ი","თ","ჱ","ზ","ვ","ე","დ","გ","ბ","ა"]},Po=function(A,t,e,r,n,i){return A<t||A>e?Jo(A,n,i.length>0):r.integers.reduce((function(t,e,n){for(;A>=e;)A-=e,t+=r.values[n];return t}),"")+i},Do=function(A,t,e,r){var n="";do{e||A--,n=r(A)+n,A/=t}while(A*t>=t);return n},Mo=function(A,t,e,r,n){var i=e-t+1;return(A<0?"-":"")+(Do(Math.abs(A),i,r,(function(A){return u(Math.floor(A%i)+t)}))+n)},Oo=function(A,t,e){void 0===e&&(e=". ");var r=t.length;return Do(Math.abs(A),r,!1,(function(A){return t[Math.floor(A%r)]}))+e},To=1,Ko=2,Ro=4,jo=8,Go=function(A,t,e,r,n,i){if(A<-9999||A>9999)return Jo(A,4,n.length>0);var s=Math.abs(A),o=n;if(0===s)return t[0]+o;for(var a=0;s>0&&a<=4;a++){var c=s%10;0===c&&oi(i,To)&&""!==o?o=t[c]+o:c>1||1===c&&0===a||1===c&&1===a&&oi(i,Ko)||1===c&&1===a&&oi(i,Ro)&&A>100||1===c&&a>1&&oi(i,jo)?o=t[c]+(a>0?e[a-1]:"")+o:1===c&&a>0&&(o=e[a-1]+o),s=Math.floor(s/10)}return(A<0?r:"")+o},Vo="十百千萬",qo="拾佰仟萬",Wo="マイナス",Xo="마이너스",Jo=function(A,t,e){var r=e?". ":"",n=e?"、":"",i=e?", ":"",s=e?" ":"";switch(t){case 0:return"•"+s;case 1:return"◦"+s;case 2:return"◾"+s;case 5:var o=Mo(A,48,57,!0,r);return o.length<4?"0"+o:o;case 4:return Oo(A,"〇一二三四五六七八九",n);case 6:return Po(A,1,3999,No,3,r).toLowerCase();case 7:return Po(A,1,3999,No,3,r);case 8:return Mo(A,945,969,!1,r);case 9:return Mo(A,97,122,!1,r);case 10:return Mo(A,65,90,!1,r);case 11:return Mo(A,1632,1641,!0,r);case 12:case 49:return Po(A,1,9999,So,3,r);case 35:return Po(A,1,9999,So,3,r).toLowerCase();case 13:return Mo(A,2534,2543,!0,r);case 14:case 30:return Mo(A,6112,6121,!0,r);case 15:return Oo(A,"子丑寅卯辰巳午未申酉戌亥",n);case 16:return Oo(A,"甲乙丙丁戊己庚辛壬癸",n);case 17:case 48:return Go(A,"零一二三四五六七八九",Vo,"負",n,Ko|Ro|jo);case 47:return Go(A,"零壹貳參肆伍陸柒捌玖",qo,"負",n,To|Ko|Ro|jo);case 42:return Go(A,"零一二三四五六七八九",Vo,"负",n,Ko|Ro|jo);case 41:return Go(A,"零壹贰叁肆伍陆柒捌玖",qo,"负",n,To|Ko|Ro|jo);case 26:return Go(A,"〇一二三四五六七八九","十百千万",Wo,n,0);case 25:return Go(A,"零壱弐参四伍六七八九","拾百千万",Wo,n,To|Ko|Ro);case 31:return Go(A,"영일이삼사오육칠팔구","십백천만",Xo,i,To|Ko|Ro);case 33:return Go(A,"零一二三四五六七八九","十百千萬",Xo,i,0);case 32:return Go(A,"零壹貳參四五六七八九","拾百千",Xo,i,To|Ko|Ro);case 18:return Mo(A,2406,2415,!0,r);case 20:return Po(A,1,19999,ko,3,r);case 21:return Mo(A,2790,2799,!0,r);case 22:return Mo(A,2662,2671,!0,r);case 22:return Po(A,1,10999,_o,3,r);case 23:return Oo(A,"あいうえおかきくけこさしすせそたちつてとなにぬねのはひふへほまみむめもやゆよらりるれろわゐゑをん");case 24:return Oo(A,"いろはにほへとちりぬるをわかよたれそつねならむうゐのおくやまけふこえてあさきゆめみしゑひもせす");case 27:return Mo(A,3302,3311,!0,r);case 28:return Oo(A,"アイウエオカキクケコサシスセソタチツテトナニヌネノハヒフヘホマミムメモヤユヨラリルレロワヰヱヲン",n);case 29:return Oo(A,"イロハニホヘトチリヌルヲワカヨタレソツネナラムウヰノオクヤマケフコエテアサキユメミシヱヒモセス",n);case 34:return Mo(A,3792,3801,!0,r);case 37:return Mo(A,6160,6169,!0,r);case 38:return Mo(A,4160,4169,!0,r);case 39:return Mo(A,2918,2927,!0,r);case 40:return Mo(A,1776,1785,!0,r);case 43:return Mo(A,3046,3055,!0,r);case 44:return Mo(A,3174,3183,!0,r);case 45:return Mo(A,3664,3673,!0,r);case 46:return Mo(A,3872,3881,!0,r);default:return Mo(A,48,57,!0,r)}},zo="data-html2canvas-ignore",Yo=function(){function A(A,t,e){if(this.context=A,this.options=e,this.scrolledElements=[],this.referenceElement=t,this.counters=new Ho,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return A.prototype.toIFrame=function(A,t){var e=this,i=$o(A,t);if(!i.contentWindow)return Promise.reject("Unable to find iframe window");var s=A.defaultView.pageXOffset,o=A.defaultView.pageYOffset,a=i.contentWindow,c=a.document,u=ea(i).then((function(){return r(e,void 0,void 0,(function(){var A,e;return n(this,(function(r){switch(r.label){case 0:return this.scrolledElements.forEach(oa),a&&(a.scrollTo(t.left,t.top),!/(iPad|iPhone|iPod)/g.test(navigator.userAgent)||a.scrollY===t.top&&a.scrollX===t.left||(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(a.scrollX-t.left,a.scrollY-t.top,0,0))),A=this.options.onclone,void 0===(e=this.clonedReferenceElement)?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:c.fonts&&c.fonts.ready?[4,c.fonts.ready]:[3,2];case 1:r.sent(),r.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,ta(c)]:[3,4];case 3:r.sent(),r.label=4;case 4:return"function"==typeof A?[2,Promise.resolve().then((function(){return A(c,e)})).then((function(){return i}))]:[2,i]}}))}))}));return c.open(),c.write(ia(document.doctype)+"<html></html>"),sa(this.referenceElement.ownerDocument,s,o),c.replaceChild(c.adoptNode(this.documentElement),c.documentElement),c.close(),u},A.prototype.createElementClone=function(A){if(bi(A,2),yo(A))return this.createCanvasClone(A);if(Qo(A))return this.createVideoClone(A);if(Fo(A))return this.createStyleClone(A);var t=A.cloneNode(!1);return vo(t)&&(vo(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),"lazy"===t.loading&&(t.loading="eager")),xo(t)?this.createCustomElementClone(t):t},A.prototype.createCustomElementClone=function(A){var t=document.createElement("html2canvascustomelement");return na(A.style,t),t},A.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var e=[].slice.call(t.cssRules,0).reduce((function(A,t){return t&&"string"==typeof t.cssText?A+t.cssText:A}),""),r=A.cloneNode(!1);return r.textContent=e,r}}catch(A){if(this.context.logger.error("Unable to access cssRules property",A),"SecurityError"!==A.name)throw A}return A.cloneNode(!1)},A.prototype.createCanvasClone=function(A){var t;if(this.options.inlineImages&&A.ownerDocument){var e=A.ownerDocument.createElement("img");try{return e.src=A.toDataURL(),e}catch(t){this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var r=A.cloneNode(!1);try{r.width=A.width,r.height=A.height;var n=A.getContext("2d"),i=r.getContext("2d");if(i)if(!this.options.allowTaint&&n)i.putImageData(n.getImageData(0,0,A.width,A.height),0,0);else{var s=null!==(t=A.getContext("webgl2"))&&void 0!==t?t:A.getContext("webgl");if(s){var o=s.getContextAttributes();!1===(null==o?void 0:o.preserveDrawingBuffer)&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}i.drawImage(A,0,0)}return r}catch(t){this.context.logger.info("Unable to clone canvas as it is tainted",A)}return r},A.prototype.createVideoClone=function(A){var t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;var e=t.getContext("2d");try{return e&&(e.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||e.getImageData(0,0,t.width,t.height)),t}catch(t){this.context.logger.info("Unable to clone video as it is tainted",A)}var r=A.ownerDocument.createElement("canvas");return r.width=A.offsetWidth,r.height=A.offsetHeight,r},A.prototype.appendChildNode=function(A,t,e){lo(t)&&(Uo(t)||t.hasAttribute(zo)||"function"==typeof this.options.ignoreElements&&this.options.ignoreElements(t))||this.options.copyStyles&&lo(t)&&Fo(t)||A.appendChild(this.cloneNode(t,e))},A.prototype.cloneChildNodes=function(A,t,e){for(var r=this,n=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;n;n=n.nextSibling)if(lo(n)&&Io(n)&&"function"==typeof n.assignedNodes){var i=n.assignedNodes();i.length&&i.forEach((function(A){return r.appendChildNode(t,A,e)}))}else this.appendChildNode(t,n,e)},A.prototype.cloneNode=function(A,t){if(uo(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var e=A.ownerDocument.defaultView;if(e&&lo(A)&&(ho(A)||fo(A))){var r=this.createElementClone(A);r.style.transitionProperty="none";var n=e.getComputedStyle(A),i=e.getComputedStyle(A,":before"),s=e.getComputedStyle(A,":after");this.referenceElement===A&&ho(r)&&(this.clonedReferenceElement=r),Co(r)&&fa(r);var o=this.counters.parse(new Ci(this.context,n)),a=this.resolvePseudoContent(A,r,i,Xi.BEFORE);xo(A)&&(t=!0),Qo(A)||this.cloneChildNodes(A,r,t),a&&r.insertBefore(a,r.firstChild);var c=this.resolvePseudoContent(A,r,s,Xi.AFTER);return c&&r.appendChild(c),this.counters.pop(o),(n&&(this.options.copyStyles||fo(A))&&!bo(A)||t)&&na(n,r),0===A.scrollTop&&0===A.scrollLeft||this.scrolledElements.push([r,A.scrollLeft,A.scrollTop]),(Lo(A)||Eo(A))&&(Lo(r)||Eo(r))&&(r.value=A.value),r}return A.cloneNode(!1)},A.prototype.resolvePseudoContent=function(A,t,e,r){var n=this;if(e){var i=e.content,s=t.ownerDocument;if(s&&i&&"none"!==i&&"-moz-alt-content"!==i&&"none"!==e.display){this.counters.parse(new Ci(this.context,e));var o=new mi(this.context,e),a=s.createElement("html2canvaspseudoelement");na(e,a),o.content.forEach((function(t){if(0===t.type)a.appendChild(s.createTextNode(t.value));else if(22===t.type){var e=s.createElement("img");e.src=t.value,e.style.opacity="1",a.appendChild(e)}else if(18===t.type){if("attr"===t.name){var r=t.values.filter(Ne);r.length&&a.appendChild(s.createTextNode(A.getAttribute(r[0].value)||""))}else if("counter"===t.name){var i=t.values.filter(Pe),c=i[0],u=i[1];if(c&&Ne(c)){var l=n.counters.getCounterValue(c.value),h=u&&Ne(u)?Ln.parse(n.context,u.value):3;a.appendChild(s.createTextNode(Jo(l,h,!1)))}}else if("counters"===t.name){var f=t.values.filter(Pe),d=(c=f[0],f[1]);if(u=f[2],c&&Ne(c)){var g=n.counters.getCounterValues(c.value),B=u&&Ne(u)?Ln.parse(n.context,u.value):3,p=d&&0===d.type?d.value:"",w=g.map((function(A){return Jo(A,B,!1)})).join(p);a.appendChild(s.createTextNode(w))}}}else if(20===t.type)switch(t.value){case"open-quote":a.appendChild(s.createTextNode(fi(o.quotes,n.quoteDepth++,!0)));break;case"close-quote":a.appendChild(s.createTextNode(fi(o.quotes,--n.quoteDepth,!1)));break;default:a.appendChild(s.createTextNode(t.value))}})),a.className=ua+" "+la;var c=r===Xi.BEFORE?" "+ua:" "+la;return fo(t)?t.className.baseValue+=c:t.className+=c,a}}},A.destroy=function(A){return!!A.parentNode&&(A.parentNode.removeChild(A),!0)},A}();!function(A){A[A.BEFORE=0]="BEFORE",A[A.AFTER=1]="AFTER"}(Xi||(Xi={}));var Zo,$o=function(A,t){var e=A.createElement("iframe");return e.className="html2canvas-container",e.style.visibility="hidden",e.style.position="fixed",e.style.left="-10000px",e.style.top="0px",e.style.border="0",e.width=t.width.toString(),e.height=t.height.toString(),e.scrolling="no",e.setAttribute(zo,"true"),A.body.appendChild(e),e},Aa=function(A){return new Promise((function(t){A.complete?t():A.src?(A.onload=t,A.onerror=t):t()}))},ta=function(A){return Promise.all([].slice.call(A.images,0).map(Aa))},ea=function(A){return new Promise((function(t,e){var r=A.contentWindow;if(!r)return e("No window assigned for iframe");var n=r.document;r.onload=A.onload=function(){r.onload=A.onload=null;var e=setInterval((function(){n.body.childNodes.length>0&&"complete"===n.readyState&&(clearInterval(e),t(A))}),50)}}))},ra=["all","d","content"],na=function(A,t){for(var e=A.length-1;e>=0;e--){var r=A.item(e);-1===ra.indexOf(r)&&t.style.setProperty(r,A.getPropertyValue(r))}return t},ia=function(A){var t="";return A&&(t+="<!DOCTYPE ",A.name&&(t+=A.name),A.internalSubset&&(t+=A.internalSubset),A.publicId&&(t+='"'+A.publicId+'"'),A.systemId&&(t+='"'+A.systemId+'"'),t+=">"),t},sa=function(A,t,e){A&&A.defaultView&&(t!==A.defaultView.pageXOffset||e!==A.defaultView.pageYOffset)&&A.defaultView.scrollTo(t,e)},oa=function(A){var t=A[0],e=A[1],r=A[2];t.scrollLeft=e,t.scrollTop=r},aa=":before",ca=":after",ua="___html2canvas___pseudoelement_before",la="___html2canvas___pseudoelement_after",ha='{\n content: "" !important;\n display: none !important;\n}',fa=function(A){da(A,"."+ua+aa+ha+"\n ."+la+ca+ha)},da=function(A,t){var e=A.ownerDocument;if(e){var r=e.createElement("style");r.textContent=t,A.appendChild(r)}},ga=function(){function A(){}return A.getOrigin=function(t){var e=A._link;return e?(e.href=t,e.href=e.href,e.protocol+e.hostname+e.port):"about:blank"},A.isSameOrigin=function(t){return A.getOrigin(t)===A._origin},A.setContext=function(t){A._link=t.document.createElement("a"),A._origin=A.getOrigin(t.location.href)},A._origin="about:blank",A}(),Ba=function(){function A(A,t){this.context=A,this._options=t,this._cache={}}return A.prototype.addImage=function(A){var t=Promise.resolve();return this.has(A)?t:va(A)||Ca(A)?((this._cache[A]=this.loadImage(A)).catch((function(){})),t):t},A.prototype.match=function(A){return this._cache[A]},A.prototype.loadImage=function(A){return r(this,void 0,void 0,(function(){var t,e,r,i,s=this;return n(this,(function(n){switch(n.label){case 0:return t=ga.isSameOrigin(A),e=!ya(A)&&!0===this._options.useCORS&&Ls.SUPPORT_CORS_IMAGES&&!t,r=!ya(A)&&!t&&!va(A)&&"string"==typeof this._options.proxy&&Ls.SUPPORT_CORS_XHR&&!e,t||!1!==this._options.allowTaint||ya(A)||va(A)||r||e?(i=A,r?[4,this.proxy(i)]:[3,2]):[2];case 1:i=n.sent(),n.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise((function(A,t){var r=new Image;r.onload=function(){return A(r)},r.onerror=t,(Qa(i)||e)&&(r.crossOrigin="anonymous"),r.src=i,!0===r.complete&&setTimeout((function(){return A(r)}),500),s._options.imageTimeout>0&&setTimeout((function(){return t("Timed out ("+s._options.imageTimeout+"ms) loading image")}),s._options.imageTimeout)}))];case 3:return[2,n.sent()]}}))}))},A.prototype.has=function(A){return void 0!==this._cache[A]},A.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},A.prototype.proxy=function(A){var t=this,e=this._options.proxy;if(!e)throw new Error("No proxy defined");var r=A.substring(0,256);return new Promise((function(n,i){var s=Ls.SUPPORT_RESPONSE_TYPE?"blob":"text",o=new XMLHttpRequest;o.onload=function(){if(200===o.status)if("text"===s)n(o.response);else{var A=new FileReader;A.addEventListener("load",(function(){return n(A.result)}),!1),A.addEventListener("error",(function(A){return i(A)}),!1),A.readAsDataURL(o.response)}else i("Failed to proxy resource "+r+" with status code "+o.status)},o.onerror=i;var a=e.indexOf("?")>-1?"&":"?";if(o.open("GET",""+e+a+"url="+encodeURIComponent(A)+"&responseType="+s),"text"!==s&&o instanceof XMLHttpRequest&&(o.responseType=s),t._options.imageTimeout){var c=t._options.imageTimeout;o.timeout=c,o.ontimeout=function(){return i("Timed out ("+c+"ms) proxying "+r)}}o.send()}))},A}(),pa=/^data:image\/svg\+xml/i,wa=/^data:image\/.*;base64,/i,ma=/^data:image\/.*/i,Ca=function(A){return Ls.SUPPORT_SVG_DRAWING||!ba(A)},ya=function(A){return ma.test(A)},Qa=function(A){return wa.test(A)},va=function(A){return"blob"===A.substr(0,4)},ba=function(A){return"svg"===A.substr(-3).toLowerCase()||pa.test(A)},Fa=function(){function A(A,t){this.type=0,this.x=A,this.y=t}return A.prototype.add=function(t,e){return new A(this.x+t,this.y+e)},A}(),Ua=function(A,t,e){return new Fa(A.x+(t.x-A.x)*e,A.y+(t.y-A.y)*e)},La=function(){function A(A,t,e,r){this.type=1,this.start=A,this.startControl=t,this.endControl=e,this.end=r}return A.prototype.subdivide=function(t,e){var r=Ua(this.start,this.startControl,t),n=Ua(this.startControl,this.endControl,t),i=Ua(this.endControl,this.end,t),s=Ua(r,n,t),o=Ua(n,i,t),a=Ua(s,o,t);return e?new A(this.start,r,s,a):new A(a,o,i,this.end)},A.prototype.add=function(t,e){return new A(this.start.add(t,e),this.startControl.add(t,e),this.endControl.add(t,e),this.end.add(t,e))},A.prototype.reverse=function(){return new A(this.end,this.endControl,this.startControl,this.start)},A}(),Ea=function(A){return 1===A.type},Ia=function(){function A(A){var t=A.styles,e=A.bounds,r=Ve(t.borderTopLeftRadius,e.width,e.height),n=r[0],i=r[1],s=Ve(t.borderTopRightRadius,e.width,e.height),o=s[0],a=s[1],c=Ve(t.borderBottomRightRadius,e.width,e.height),u=c[0],l=c[1],h=Ve(t.borderBottomLeftRadius,e.width,e.height),f=h[0],d=h[1],g=[];g.push((n+o)/e.width),g.push((f+u)/e.width),g.push((i+d)/e.height),g.push((a+l)/e.height);var B=Math.max.apply(Math,g);B>1&&(n/=B,i/=B,o/=B,a/=B,u/=B,l/=B,f/=B,d/=B);var p=e.width-o,w=e.height-l,m=e.width-u,C=e.height-d,y=t.borderTopWidth,Q=t.borderRightWidth,v=t.borderBottomWidth,b=t.borderLeftWidth,F=qe(t.paddingTop,A.bounds.width),U=qe(t.paddingRight,A.bounds.width),L=qe(t.paddingBottom,A.bounds.width),E=qe(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||i>0?xa(e.left+b/3,e.top+y/3,n-b/3,i-y/3,Zo.TOP_LEFT):new Fa(e.left+b/3,e.top+y/3),this.topRightBorderDoubleOuterBox=n>0||i>0?xa(e.left+p,e.top+y/3,o-Q/3,a-y/3,Zo.TOP_RIGHT):new Fa(e.left+e.width-Q/3,e.top+y/3),this.bottomRightBorderDoubleOuterBox=u>0||l>0?xa(e.left+m,e.top+w,u-Q/3,l-v/3,Zo.BOTTOM_RIGHT):new Fa(e.left+e.width-Q/3,e.top+e.height-v/3),this.bottomLeftBorderDoubleOuterBox=f>0||d>0?xa(e.left+b/3,e.top+C,f-b/3,d-v/3,Zo.BOTTOM_LEFT):new Fa(e.left+b/3,e.top+e.height-v/3),this.topLeftBorderDoubleInnerBox=n>0||i>0?xa(e.left+2*b/3,e.top+2*y/3,n-2*b/3,i-2*y/3,Zo.TOP_LEFT):new Fa(e.left+2*b/3,e.top+2*y/3),this.topRightBorderDoubleInnerBox=n>0||i>0?xa(e.left+p,e.top+2*y/3,o-2*Q/3,a-2*y/3,Zo.TOP_RIGHT):new Fa(e.left+e.width-2*Q/3,e.top+2*y/3),this.bottomRightBorderDoubleInnerBox=u>0||l>0?xa(e.left+m,e.top+w,u-2*Q/3,l-2*v/3,Zo.BOTTOM_RIGHT):new Fa(e.left+e.width-2*Q/3,e.top+e.height-2*v/3),this.bottomLeftBorderDoubleInnerBox=f>0||d>0?xa(e.left+2*b/3,e.top+C,f-2*b/3,d-2*v/3,Zo.BOTTOM_LEFT):new Fa(e.left+2*b/3,e.top+e.height-2*v/3),this.topLeftBorderStroke=n>0||i>0?xa(e.left+b/2,e.top+y/2,n-b/2,i-y/2,Zo.TOP_LEFT):new Fa(e.left+b/2,e.top+y/2),this.topRightBorderStroke=n>0||i>0?xa(e.left+p,e.top+y/2,o-Q/2,a-y/2,Zo.TOP_RIGHT):new Fa(e.left+e.width-Q/2,e.top+y/2),this.bottomRightBorderStroke=u>0||l>0?xa(e.left+m,e.top+w,u-Q/2,l-v/2,Zo.BOTTOM_RIGHT):new Fa(e.left+e.width-Q/2,e.top+e.height-v/2),this.bottomLeftBorderStroke=f>0||d>0?xa(e.left+b/2,e.top+C,f-b/2,d-v/2,Zo.BOTTOM_LEFT):new Fa(e.left+b/2,e.top+e.height-v/2),this.topLeftBorderBox=n>0||i>0?xa(e.left,e.top,n,i,Zo.TOP_LEFT):new Fa(e.left,e.top),this.topRightBorderBox=o>0||a>0?xa(e.left+p,e.top,o,a,Zo.TOP_RIGHT):new Fa(e.left+e.width,e.top),this.bottomRightBorderBox=u>0||l>0?xa(e.left+m,e.top+w,u,l,Zo.BOTTOM_RIGHT):new Fa(e.left+e.width,e.top+e.height),this.bottomLeftBorderBox=f>0||d>0?xa(e.left,e.top+C,f,d,Zo.BOTTOM_LEFT):new Fa(e.left,e.top+e.height),this.topLeftPaddingBox=n>0||i>0?xa(e.left+b,e.top+y,Math.max(0,n-b),Math.max(0,i-y),Zo.TOP_LEFT):new Fa(e.left+b,e.top+y),this.topRightPaddingBox=o>0||a>0?xa(e.left+Math.min(p,e.width-Q),e.top+y,p>e.width+Q?0:Math.max(0,o-Q),Math.max(0,a-y),Zo.TOP_RIGHT):new Fa(e.left+e.width-Q,e.top+y),this.bottomRightPaddingBox=u>0||l>0?xa(e.left+Math.min(m,e.width-b),e.top+Math.min(w,e.height-v),Math.max(0,u-Q),Math.max(0,l-v),Zo.BOTTOM_RIGHT):new Fa(e.left+e.width-Q,e.top+e.height-v),this.bottomLeftPaddingBox=f>0||d>0?xa(e.left+b,e.top+Math.min(C,e.height-v),Math.max(0,f-b),Math.max(0,d-v),Zo.BOTTOM_LEFT):new Fa(e.left+b,e.top+e.height-v),this.topLeftContentBox=n>0||i>0?xa(e.left+b+E,e.top+y+F,Math.max(0,n-(b+E)),Math.max(0,i-(y+F)),Zo.TOP_LEFT):new Fa(e.left+b+E,e.top+y+F),this.topRightContentBox=o>0||a>0?xa(e.left+Math.min(p,e.width+b+E),e.top+y+F,p>e.width+b+E?0:o-b+E,a-(y+F),Zo.TOP_RIGHT):new Fa(e.left+e.width-(Q+U),e.top+y+F),this.bottomRightContentBox=u>0||l>0?xa(e.left+Math.min(m,e.width-(b+E)),e.top+Math.min(w,e.height+y+F),Math.max(0,u-(Q+U)),l-(v+L),Zo.BOTTOM_RIGHT):new Fa(e.left+e.width-(Q+U),e.top+e.height-(v+L)),this.bottomLeftContentBox=f>0||d>0?xa(e.left+b+E,e.top+C,Math.max(0,f-(b+E)),d-(v+L),Zo.BOTTOM_LEFT):new Fa(e.left+b+E,e.top+e.height-(v+L))}return A}();!function(A){A[A.TOP_LEFT=0]="TOP_LEFT",A[A.TOP_RIGHT=1]="TOP_RIGHT",A[A.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",A[A.BOTTOM_LEFT=3]="BOTTOM_LEFT"}(Zo||(Zo={}));var xa=function(A,t,e,r,n){var i=(Math.sqrt(2)-1)/3*4,s=e*i,o=r*i,a=A+e,c=t+r;switch(n){case Zo.TOP_LEFT:return new La(new Fa(A,c),new Fa(A,c-o),new Fa(a-s,t),new Fa(a,t));case Zo.TOP_RIGHT:return new La(new Fa(A,t),new Fa(A+s,t),new Fa(a,c-o),new Fa(a,c));case Zo.BOTTOM_RIGHT:return new La(new Fa(a,t),new Fa(a,t+o),new Fa(A+s,c),new Fa(A,c));case Zo.BOTTOM_LEFT:default:return new La(new Fa(a,c),new Fa(a-s,c),new Fa(A,t+o),new Fa(A,t))}},Ha=function(A){return[A.topLeftBorderBox,A.topRightBorderBox,A.bottomRightBorderBox,A.bottomLeftBorderBox]},Na=function(A){return[A.topLeftContentBox,A.topRightContentBox,A.bottomRightContentBox,A.bottomLeftContentBox]},Sa=function(A){return[A.topLeftPaddingBox,A.topRightPaddingBox,A.bottomRightPaddingBox,A.bottomLeftPaddingBox]},_a=function(){function A(A,t,e){this.offsetX=A,this.offsetY=t,this.matrix=e,this.type=0,this.target=6}return A}(),ka=function(){function A(A,t){this.path=A,this.target=t,this.type=1}return A}(),Pa=function(){function A(A){this.opacity=A,this.type=2,this.target=6}return A}(),Da=function(A){return 0===A.type},Ma=function(A){return 1===A.type},Oa=function(A){return 2===A.type},Ta=function(A,t){return A.length===t.length&&A.some((function(A,e){return A===t[e]}))},Ka=function(A,t,e,r,n){return A.map((function(A,i){switch(i){case 0:return A.add(t,e);case 1:return A.add(t+r,e);case 2:return A.add(t+r,e+n);case 3:return A.add(t,e+n)}return A}))},Ra=function(){function A(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return A}(),ja=function(){function A(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new Ia(this.container),this.container.styles.opacity<1&&this.effects.push(new Pa(this.container.styles.opacity)),null!==this.container.styles.transform){var e=this.container.bounds.left+this.container.styles.transformOrigin[0].number,r=this.container.bounds.top+this.container.styles.transformOrigin[1].number,n=this.container.styles.transform;this.effects.push(new _a(e,r,n))}if(0!==this.container.styles.overflowX){var i=Ha(this.curves),s=Sa(this.curves);Ta(i,s)?this.effects.push(new ka(i,6)):(this.effects.push(new ka(i,2)),this.effects.push(new ka(s,4)))}}return A.prototype.getEffects=function(A){for(var t=-1===[2,3].indexOf(this.container.styles.position),e=this.parent,r=this.effects.slice(0);e;){var n=e.effects.filter((function(A){return!Ma(A)}));if(t||0!==e.container.styles.position||!e.parent){if(r.unshift.apply(r,n),t=-1===[2,3].indexOf(e.container.styles.position),0!==e.container.styles.overflowX){var i=Ha(e.curves),s=Sa(e.curves);Ta(i,s)||r.unshift(new ka(s,6))}}else r.unshift.apply(r,n);e=e.parent}return r.filter((function(t){return oi(t.target,A)}))},A}(),Ga=function(A,t,e,r){A.container.elements.forEach((function(n){var i=oi(n.flags,4),s=oi(n.flags,2),o=new ja(n,A);oi(n.styles.display,2048)&&r.push(o);var a=oi(n.flags,8)?[]:r;if(i||s){var c=i||n.styles.isPositioned()?e:t,u=new Ra(o);if(n.styles.isPositioned()||n.styles.opacity<1||n.styles.isTransformed()){var l=n.styles.zIndex.order;if(l<0){var h=0;c.negativeZIndex.some((function(A,t){return l>A.element.container.styles.zIndex.order?(h=t,!1):h>0})),c.negativeZIndex.splice(h,0,u)}else if(l>0){var f=0;c.positiveZIndex.some((function(A,t){return l>=A.element.container.styles.zIndex.order?(f=t+1,!1):f>0})),c.positiveZIndex.splice(f,0,u)}else c.zeroOrAutoZIndexOrTransformedOrOpacity.push(u)}else n.styles.isFloating()?c.nonPositionedFloats.push(u):c.nonPositionedInlineLevel.push(u);Ga(o,u,i?u:e,a)}else n.styles.isInlineLevel()?t.inlineLevel.push(o):t.nonInlineLevel.push(o),Ga(o,t,e,a);oi(n.flags,8)&&Va(n,a)}))},Va=function(A,t){for(var e=A instanceof Vs?A.start:1,r=A instanceof Vs&&A.reversed,n=0;n<t.length;n++){var i=t[n];i.container instanceof Gs&&"number"==typeof i.container.value&&0!==i.container.value&&(e=i.container.value),i.listValue=Jo(e,i.container.styles.listStyleType,!0),e+=r?-1:1}},qa=function(A){var t=new ja(A,null),e=new Ra(t),r=[];return Ga(t,e,e,r),Va(t.container,r),e},Wa=function(A,t){switch(t){case 0:return Za(A.topLeftBorderBox,A.topLeftPaddingBox,A.topRightBorderBox,A.topRightPaddingBox);case 1:return Za(A.topRightBorderBox,A.topRightPaddingBox,A.bottomRightBorderBox,A.bottomRightPaddingBox);case 2:return Za(A.bottomRightBorderBox,A.bottomRightPaddingBox,A.bottomLeftBorderBox,A.bottomLeftPaddingBox);default:return Za(A.bottomLeftBorderBox,A.bottomLeftPaddingBox,A.topLeftBorderBox,A.topLeftPaddingBox)}},Xa=function(A,t){switch(t){case 0:return Za(A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox,A.topRightBorderBox,A.topRightBorderDoubleOuterBox);case 1:return Za(A.topRightBorderBox,A.topRightBorderDoubleOuterBox,A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox);case 2:return Za(A.bottomRightBorderBox,A.bottomRightBorderDoubleOuterBox,A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox);default:return Za(A.bottomLeftBorderBox,A.bottomLeftBorderDoubleOuterBox,A.topLeftBorderBox,A.topLeftBorderDoubleOuterBox)}},Ja=function(A,t){switch(t){case 0:return Za(A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox,A.topRightBorderDoubleInnerBox,A.topRightPaddingBox);case 1:return Za(A.topRightBorderDoubleInnerBox,A.topRightPaddingBox,A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox);case 2:return Za(A.bottomRightBorderDoubleInnerBox,A.bottomRightPaddingBox,A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox);default:return Za(A.bottomLeftBorderDoubleInnerBox,A.bottomLeftPaddingBox,A.topLeftBorderDoubleInnerBox,A.topLeftPaddingBox)}},za=function(A,t){switch(t){case 0:return Ya(A.topLeftBorderStroke,A.topRightBorderStroke);case 1:return Ya(A.topRightBorderStroke,A.bottomRightBorderStroke);case 2:return Ya(A.bottomRightBorderStroke,A.bottomLeftBorderStroke);default:return Ya(A.bottomLeftBorderStroke,A.topLeftBorderStroke)}},Ya=function(A,t){var e=[];return Ea(A)?e.push(A.subdivide(.5,!1)):e.push(A),Ea(t)?e.push(t.subdivide(.5,!0)):e.push(t),e},Za=function(A,t,e,r){var n=[];return Ea(A)?n.push(A.subdivide(.5,!1)):n.push(A),Ea(e)?n.push(e.subdivide(.5,!0)):n.push(e),Ea(r)?n.push(r.subdivide(.5,!0).reverse()):n.push(r),Ea(t)?n.push(t.subdivide(.5,!1).reverse()):n.push(t),n},$a=function(A){var t=A.bounds,e=A.styles;return t.add(e.borderLeftWidth,e.borderTopWidth,-(e.borderRightWidth+e.borderLeftWidth),-(e.borderTopWidth+e.borderBottomWidth))},Ac=function(A){var t=A.styles,e=A.bounds,r=qe(t.paddingLeft,e.width),n=qe(t.paddingRight,e.width),i=qe(t.paddingTop,e.width),s=qe(t.paddingBottom,e.width);return e.add(r+t.borderLeftWidth,i+t.borderTopWidth,-(t.borderRightWidth+t.borderLeftWidth+r+n),-(t.borderTopWidth+t.borderBottomWidth+i+s))},tc=function(A,t){return 0===A?t.bounds:2===A?Ac(t):$a(t)},ec=function(A,t){return 0===A?t.bounds:2===A?Ac(t):$a(t)},rc=function(A,t,e){var r=tc(oc(A.styles.backgroundOrigin,t),A),n=ec(oc(A.styles.backgroundClip,t),A),i=sc(oc(A.styles.backgroundSize,t),e,r),s=i[0],o=i[1],a=Ve(oc(A.styles.backgroundPosition,t),r.width-s,r.height-o);return[ac(oc(A.styles.backgroundRepeat,t),a,i,r,n),Math.round(r.left+a[0]),Math.round(r.top+a[1]),s,o]},nc=function(A){return Ne(A)&&A.value===Mr.AUTO},ic=function(A){return"number"==typeof A},sc=function(A,t,e){var r=t[0],n=t[1],i=t[2],s=A[0],o=A[1];if(!s)return[0,0];if(Te(s)&&o&&Te(o))return[qe(s,e.width),qe(o,e.height)];var a=ic(i);if(Ne(s)&&(s.value===Mr.CONTAIN||s.value===Mr.COVER))return ic(i)?e.width/e.height<i!=(s.value===Mr.COVER)?[e.width,e.width/i]:[e.height*i,e.height]:[e.width,e.height];var c=ic(r),u=ic(n),l=c||u;if(nc(s)&&(!o||nc(o)))return c&&u?[r,n]:a||l?l&&a?[c?r:n*i,u?n:r/i]:[c?r:e.width,u?n:e.height]:[e.width,e.height];if(a){var h=0,f=0;return Te(s)?h=qe(s,e.width):Te(o)&&(f=qe(o,e.height)),nc(s)?h=f*i:o&&!nc(o)||(f=h/i),[h,f]}var d=null,g=null;if(Te(s)?d=qe(s,e.width):o&&Te(o)&&(g=qe(o,e.height)),null===d||o&&!nc(o)||(g=c&&u?d/r*n:e.height),null!==g&&nc(s)&&(d=c&&u?g/n*r:e.width),null!==d&&null!==g)return[d,g];throw new Error("Unable to calculate background-size for element")},oc=function(A,t){var e=A[t];return void 0===e?A[0]:e},ac=function(A,t,e,r,n){var i=t[0],s=t[1],o=e[0],a=e[1];switch(A){case 2:return[new Fa(Math.round(r.left),Math.round(r.top+s)),new Fa(Math.round(r.left+r.width),Math.round(r.top+s)),new Fa(Math.round(r.left+r.width),Math.round(a+r.top+s)),new Fa(Math.round(r.left),Math.round(a+r.top+s))];case 3:return[new Fa(Math.round(r.left+i),Math.round(r.top)),new Fa(Math.round(r.left+i+o),Math.round(r.top)),new Fa(Math.round(r.left+i+o),Math.round(r.height+r.top)),new Fa(Math.round(r.left+i),Math.round(r.height+r.top))];case 1:return[new Fa(Math.round(r.left+i),Math.round(r.top+s)),new Fa(Math.round(r.left+i+o),Math.round(r.top+s)),new Fa(Math.round(r.left+i+o),Math.round(r.top+s+a)),new Fa(Math.round(r.left+i),Math.round(r.top+s+a))];default:return[new Fa(Math.round(n.left),Math.round(n.top)),new Fa(Math.round(n.left+n.width),Math.round(n.top)),new Fa(Math.round(n.left+n.width),Math.round(n.height+n.top)),new Fa(Math.round(n.left),Math.round(n.height+n.top))]}},cc="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",uc="Hidden Text",lc=function(){function A(A){this._data={},this._document=A}return A.prototype.parseMetrics=function(A,t){var e=this._document.createElement("div"),r=this._document.createElement("img"),n=this._document.createElement("span"),i=this._document.body;e.style.visibility="hidden",e.style.fontFamily=A,e.style.fontSize=t,e.style.margin="0",e.style.padding="0",e.style.whiteSpace="nowrap",i.appendChild(e),r.src=cc,r.width=1,r.height=1,r.style.margin="0",r.style.padding="0",r.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(uc)),e.appendChild(n),e.appendChild(r);var s=r.offsetTop-n.offsetTop+2;e.removeChild(n),e.appendChild(this._document.createTextNode(uc)),e.style.lineHeight="normal",r.style.verticalAlign="super";var o=r.offsetTop-e.offsetTop+2;return i.removeChild(e),{baseline:s,middle:o}},A.prototype.getMetrics=function(A,t){var e=A+" "+t;return void 0===this._data[e]&&(this._data[e]=this.parseMetrics(A,t)),this._data[e]},A}(),hc=function(){function A(A,t){this.context=A,this.options=t}return A}(),fc=1e4,dc=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r._activeEffects=[],r.canvas=e.canvas?e.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),e.canvas||(r.canvas.width=Math.floor(e.width*e.scale),r.canvas.height=Math.floor(e.height*e.scale),r.canvas.style.width=e.width+"px",r.canvas.style.height=e.height+"px"),r.fontMetrics=new lc(document),r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-e.x,-e.y),r.ctx.textBaseline="bottom",r._activeEffects=[],r.context.logger.debug("Canvas renderer initialized ("+e.width+"x"+e.height+") with scale "+e.scale),r}return t(e,A),e.prototype.applyEffects=function(A){for(var t=this;this._activeEffects.length;)this.popEffect();A.forEach((function(A){return t.applyEffect(A)}))},e.prototype.applyEffect=function(A){this.ctx.save(),Oa(A)&&(this.ctx.globalAlpha=A.opacity),Da(A)&&(this.ctx.translate(A.offsetX,A.offsetY),this.ctx.transform(A.matrix[0],A.matrix[1],A.matrix[2],A.matrix[3],A.matrix[4],A.matrix[5]),this.ctx.translate(-A.offsetX,-A.offsetY)),Ma(A)&&(this.path(A.path),this.ctx.clip()),this._activeEffects.push(A)},e.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},e.prototype.renderStack=function(A){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return A.element.container.styles.isVisible()?[4,this.renderStackContent(A)]:[3,2];case 1:t.sent(),t.label=2;case 2:return[2]}}))}))},e.prototype.renderNode=function(A){return r(this,void 0,void 0,(function(){return n(this,(function(t){switch(t.label){case 0:return oi(A.container.flags,16),A.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(A)]:[3,3];case 1:return t.sent(),[4,this.renderNodeContent(A)];case 2:t.sent(),t.label=3;case 3:return[2]}}))}))},e.prototype.renderTextWithLetterSpacing=function(A,t,e){var r=this;0===t?this.ctx.fillText(A.text,A.bounds.left,A.bounds.top+e):Ns(A.text).reduce((function(t,n){return r.ctx.fillText(n,t,A.bounds.top+e),t+r.ctx.measureText(n).width}),A.bounds.left)},e.prototype.createFontStyle=function(A){var t=A.fontVariant.filter((function(A){return"normal"===A||"small-caps"===A})).join(""),e=mc(A.fontFamily).join(", "),r=xe(A.fontSize)?""+A.fontSize.number+A.fontSize.unit:A.fontSize.number+"px";return[[A.fontStyle,t,A.fontWeight,r,e].join(" "),e,r]},e.prototype.renderTextNode=function(A,t){return r(this,void 0,void 0,(function(){var e,r,i,s,o,a,c,u,l=this;return n(this,(function(n){return e=this.createFontStyle(t),r=e[0],i=e[1],s=e[2],this.ctx.font=r,this.ctx.direction=1===t.direction?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",o=this.fontMetrics.getMetrics(i,s),a=o.baseline,c=o.middle,u=t.paintOrder,A.textBounds.forEach((function(A){u.forEach((function(e){switch(e){case 0:l.ctx.fillStyle=rr(t.color),l.renderTextWithLetterSpacing(A,t.letterSpacing,a);var r=t.textShadow;r.length&&A.text.trim().length&&(r.slice(0).reverse().forEach((function(e){l.ctx.shadowColor=rr(e.color),l.ctx.shadowOffsetX=e.offsetX.number*l.options.scale,l.ctx.shadowOffsetY=e.offsetY.number*l.options.scale,l.ctx.shadowBlur=e.blur.number,l.renderTextWithLetterSpacing(A,t.letterSpacing,a)})),l.ctx.shadowColor="",l.ctx.shadowOffsetX=0,l.ctx.shadowOffsetY=0,l.ctx.shadowBlur=0),t.textDecorationLine.length&&(l.ctx.fillStyle=rr(t.textDecorationColor||t.color),t.textDecorationLine.forEach((function(t){switch(t){case 1:l.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top+a),A.bounds.width,1);break;case 2:l.ctx.fillRect(A.bounds.left,Math.round(A.bounds.top),A.bounds.width,1);break;case 3:l.ctx.fillRect(A.bounds.left,Math.ceil(A.bounds.top+c),A.bounds.width,1)}})));break;case 1:t.webkitTextStrokeWidth&&A.text.trim().length&&(l.ctx.strokeStyle=rr(t.webkitTextStrokeColor),l.ctx.lineWidth=t.webkitTextStrokeWidth,l.ctx.lineJoin=window.chrome?"miter":"round",l.ctx.strokeText(A.text,A.bounds.left,A.bounds.top+a)),l.ctx.strokeStyle="",l.ctx.lineWidth=0,l.ctx.lineJoin="miter"}}))})),[2]}))}))},e.prototype.renderReplacedElement=function(A,t,e){if(e&&A.intrinsicWidth>0&&A.intrinsicHeight>0){var r=Ac(A),n=Sa(t);this.path(n),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(e,0,0,A.intrinsicWidth,A.intrinsicHeight,r.left,r.top,r.width,r.height),this.ctx.restore()}},e.prototype.renderNodeContent=function(A){return r(this,void 0,void 0,(function(){var t,r,i,o,a,c,u,l,h,f,d,g,B,p,w,m,C,y;return n(this,(function(n){switch(n.label){case 0:this.applyEffects(A.getEffects(4)),t=A.container,r=A.curves,i=t.styles,o=0,a=t.textNodes,n.label=1;case 1:return o<a.length?(c=a[o],[4,this.renderTextNode(c,i)]):[3,4];case 2:n.sent(),n.label=3;case 3:return o++,[3,1];case 4:if(!(t instanceof Ks))return[3,8];n.label=5;case 5:return n.trys.push([5,7,,8]),[4,this.context.cache.match(t.src)];case 6:return w=n.sent(),this.renderReplacedElement(t,r,w),[3,8];case 7:return n.sent(),this.context.logger.error("Error loading image "+t.src),[3,8];case 8:if(t instanceof Rs&&this.renderReplacedElement(t,r,t.canvas),!(t instanceof js))return[3,12];n.label=9;case 9:return n.trys.push([9,11,,12]),[4,this.context.cache.match(t.svg)];case 10:return w=n.sent(),this.renderReplacedElement(t,r,w),[3,12];case 11:return n.sent(),this.context.logger.error("Error loading svg "+t.svg.substring(0,255)),[3,12];case 12:return t instanceof ro&&t.tree?[4,new e(this.context,{scale:this.options.scale,backgroundColor:t.backgroundColor,x:0,y:0,width:t.width,height:t.height}).render(t.tree)]:[3,14];case 13:u=n.sent(),t.width&&t.height&&this.ctx.drawImage(u,0,0,t.width,t.height,t.bounds.left,t.bounds.top,t.bounds.width,t.bounds.height),n.label=14;case 14:if(t instanceof Ao&&(l=Math.min(t.bounds.width,t.bounds.height),t.type===zs?t.checked&&(this.ctx.save(),this.path([new Fa(t.bounds.left+.39363*l,t.bounds.top+.79*l),new Fa(t.bounds.left+.16*l,t.bounds.top+.5549*l),new Fa(t.bounds.left+.27347*l,t.bounds.top+.44071*l),new Fa(t.bounds.left+.39694*l,t.bounds.top+.5649*l),new Fa(t.bounds.left+.72983*l,t.bounds.top+.23*l),new Fa(t.bounds.left+.84*l,t.bounds.top+.34085*l),new Fa(t.bounds.left+.39363*l,t.bounds.top+.79*l)]),this.ctx.fillStyle=rr($s),this.ctx.fill(),this.ctx.restore()):t.type===Ys&&t.checked&&(this.ctx.save(),this.ctx.beginPath(),this.ctx.arc(t.bounds.left+l/2,t.bounds.top+l/2,l/4,0,2*Math.PI,!0),this.ctx.fillStyle=rr($s),this.ctx.fill(),this.ctx.restore())),gc(t)&&t.value.length){switch(h=this.createFontStyle(i),C=h[0],f=h[1],d=this.fontMetrics.getMetrics(C,f).baseline,this.ctx.font=C,this.ctx.fillStyle=rr(i.color),this.ctx.textBaseline="alphabetic",this.ctx.textAlign=pc(t.styles.textAlign),y=Ac(t),g=0,t.styles.textAlign){case 1:g+=y.width/2;break;case 2:g+=y.width}B=y.add(g,0,0,-y.height/2+1),this.ctx.save(),this.path([new Fa(y.left,y.top),new Fa(y.left+y.width,y.top),new Fa(y.left+y.width,y.top+y.height),new Fa(y.left,y.top+y.height)]),this.ctx.clip(),this.renderTextWithLetterSpacing(new Es(t.value,B),i.letterSpacing,d),this.ctx.restore(),this.ctx.textBaseline="alphabetic",this.ctx.textAlign="left"}if(!oi(t.styles.display,2048))return[3,20];if(null===t.styles.listStyleImage)return[3,19];if(0!==(p=t.styles.listStyleImage).type)return[3,18];w=void 0,m=p.url,n.label=15;case 15:return n.trys.push([15,17,,18]),[4,this.context.cache.match(m)];case 16:return w=n.sent(),this.ctx.drawImage(w,t.bounds.left-(w.width+10),t.bounds.top),[3,18];case 17:return n.sent(),this.context.logger.error("Error loading list-style-image "+m),[3,18];case 18:return[3,20];case 19:A.listValue&&-1!==t.styles.listStyleType&&(C=this.createFontStyle(i)[0],this.ctx.font=C,this.ctx.fillStyle=rr(i.color),this.ctx.textBaseline="middle",this.ctx.textAlign="right",y=new s(t.bounds.left,t.bounds.top+qe(t.styles.paddingTop,t.bounds.width),t.bounds.width,bn(i.lineHeight,i.fontSize.number)/2+1),this.renderTextWithLetterSpacing(new Es(A.listValue,y),i.letterSpacing,bn(i.lineHeight,i.fontSize.number)/2+2),this.ctx.textBaseline="bottom",this.ctx.textAlign="left"),n.label=20;case 20:return[2]}}))}))},e.prototype.renderStackContent=function(A){return r(this,void 0,void 0,(function(){var t,e,r,i,s,o,a,c,u,l,h,f,d,g,B;return n(this,(function(n){switch(n.label){case 0:return oi(A.element.container.flags,16),[4,this.renderNodeBackgroundAndBorders(A.element)];case 1:n.sent(),t=0,e=A.negativeZIndex,n.label=2;case 2:return t<e.length?(B=e[t],[4,this.renderStack(B)]):[3,5];case 3:n.sent(),n.label=4;case 4:return t++,[3,2];case 5:return[4,this.renderNodeContent(A.element)];case 6:n.sent(),r=0,i=A.nonInlineLevel,n.label=7;case 7:return r<i.length?(B=i[r],[4,this.renderNode(B)]):[3,10];case 8:n.sent(),n.label=9;case 9:return r++,[3,7];case 10:s=0,o=A.nonPositionedFloats,n.label=11;case 11:return s<o.length?(B=o[s],[4,this.renderStack(B)]):[3,14];case 12:n.sent(),n.label=13;case 13:return s++,[3,11];case 14:a=0,c=A.nonPositionedInlineLevel,n.label=15;case 15:return a<c.length?(B=c[a],[4,this.renderStack(B)]):[3,18];case 16:n.sent(),n.label=17;case 17:return a++,[3,15];case 18:u=0,l=A.inlineLevel,n.label=19;case 19:return u<l.length?(B=l[u],[4,this.renderNode(B)]):[3,22];case 20:n.sent(),n.label=21;case 21:return u++,[3,19];case 22:h=0,f=A.zeroOrAutoZIndexOrTransformedOrOpacity,n.label=23;case 23:return h<f.length?(B=f[h],[4,this.renderStack(B)]):[3,26];case 24:n.sent(),n.label=25;case 25:return h++,[3,23];case 26:d=0,g=A.positiveZIndex,n.label=27;case 27:return d<g.length?(B=g[d],[4,this.renderStack(B)]):[3,30];case 28:n.sent(),n.label=29;case 29:return d++,[3,27];case 30:return[2]}}))}))},e.prototype.mask=function(A){this.ctx.beginPath(),this.ctx.moveTo(0,0),this.ctx.lineTo(this.canvas.width,0),this.ctx.lineTo(this.canvas.width,this.canvas.height),this.ctx.lineTo(0,this.canvas.height),this.ctx.lineTo(0,0),this.formatPath(A.slice(0).reverse()),this.ctx.closePath()},e.prototype.path=function(A){this.ctx.beginPath(),this.formatPath(A),this.ctx.closePath()},e.prototype.formatPath=function(A){var t=this;A.forEach((function(A,e){var r=Ea(A)?A.start:A;0===e?t.ctx.moveTo(r.x,r.y):t.ctx.lineTo(r.x,r.y),Ea(A)&&t.ctx.bezierCurveTo(A.startControl.x,A.startControl.y,A.endControl.x,A.endControl.y,A.end.x,A.end.y)}))},e.prototype.renderRepeat=function(A,t,e,r){this.path(A),this.ctx.fillStyle=t,this.ctx.translate(e,r),this.ctx.fill(),this.ctx.translate(-e,-r)},e.prototype.resizeImage=function(A,t,e){var r;if(A.width===t&&A.height===e)return A;var n=(null!==(r=this.canvas.ownerDocument)&&void 0!==r?r:document).createElement("canvas");return n.width=Math.max(1,t),n.height=Math.max(1,e),n.getContext("2d").drawImage(A,0,0,A.width,A.height,0,0,t,e),n},e.prototype.renderBackgroundImage=function(A){return r(this,void 0,void 0,(function(){var t,e,r,i,s,o;return n(this,(function(a){switch(a.label){case 0:t=A.styles.backgroundImage.length-1,e=function(e){var i,s,o,a,c,u,l,h,f,d,g,B,p,w,m,C,y,Q,v,b,F,U,L,E,I,x,H,N,S,_,k;return n(this,(function(n){switch(n.label){case 0:if(0!==e.type)return[3,5];i=void 0,s=e.url,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,r.context.cache.match(s)];case 2:return i=n.sent(),[3,4];case 3:return n.sent(),r.context.logger.error("Error loading background-image "+s),[3,4];case 4:return i&&(o=rc(A,t,[i.width,i.height,i.width/i.height]),C=o[0],U=o[1],L=o[2],v=o[3],b=o[4],w=r.ctx.createPattern(r.resizeImage(i,v,b),"repeat"),r.renderRepeat(C,w,U,L)),[3,6];case 5:_r(e)?(a=rc(A,t,[null,null,null]),C=a[0],U=a[1],L=a[2],v=a[3],b=a[4],c=pr(e.angle,v,b),u=c[0],l=c[1],h=c[2],f=c[3],d=c[4],(g=document.createElement("canvas")).width=v,g.height=b,B=g.getContext("2d"),p=B.createLinearGradient(l,f,h,d),gr(e.stops,u).forEach((function(A){return p.addColorStop(A.stop,rr(A.color))})),B.fillStyle=p,B.fillRect(0,0,v,b),v>0&&b>0&&(w=r.ctx.createPattern(g,"repeat"),r.renderRepeat(C,w,U,L))):kr(e)&&(m=rc(A,t,[null,null,null]),C=m[0],y=m[1],Q=m[2],v=m[3],b=m[4],F=0===e.position.length?[je]:e.position,U=qe(F[0],v),L=qe(F[F.length-1],b),E=Cr(e,U,L,v,b),I=E[0],x=E[1],I>0&&x>0&&(H=r.ctx.createRadialGradient(y+U,Q+L,0,y+U,Q+L,I),gr(e.stops,2*I).forEach((function(A){return H.addColorStop(A.stop,rr(A.color))})),r.path(C),r.ctx.fillStyle=H,I!==x?(N=A.bounds.left+.5*A.bounds.width,S=A.bounds.top+.5*A.bounds.height,k=1/(_=x/I),r.ctx.save(),r.ctx.translate(N,S),r.ctx.transform(1,0,0,_,0,0),r.ctx.translate(-N,-S),r.ctx.fillRect(y,k*(Q-S)+S,v,b*k),r.ctx.restore()):r.ctx.fill())),n.label=6;case 6:return t--,[2]}}))},r=this,i=0,s=A.styles.backgroundImage.slice(0).reverse(),a.label=1;case 1:return i<s.length?(o=s[i],[5,e(o)]):[3,4];case 2:a.sent(),a.label=3;case 3:return i++,[3,1];case 4:return[2]}}))}))},e.prototype.renderSolidBorder=function(A,t,e){return r(this,void 0,void 0,(function(){return n(this,(function(r){return this.path(Wa(e,t)),this.ctx.fillStyle=rr(A),this.ctx.fill(),[2]}))}))},e.prototype.renderDoubleBorder=function(A,t,e,i){return r(this,void 0,void 0,(function(){var r,s;return n(this,(function(n){switch(n.label){case 0:return t<3?[4,this.renderSolidBorder(A,e,i)]:[3,2];case 1:return n.sent(),[2];case 2:return r=Xa(i,e),this.path(r),this.ctx.fillStyle=rr(A),this.ctx.fill(),s=Ja(i,e),this.path(s),this.ctx.fill(),[2]}}))}))},e.prototype.renderNodeBackgroundAndBorders=function(A){return r(this,void 0,void 0,(function(){var t,e,r,i,s,o,a,c,u=this;return n(this,(function(n){switch(n.label){case 0:return this.applyEffects(A.getEffects(2)),t=A.container.styles,e=!er(t.backgroundColor)||t.backgroundImage.length,r=[{style:t.borderTopStyle,color:t.borderTopColor,width:t.borderTopWidth},{style:t.borderRightStyle,color:t.borderRightColor,width:t.borderRightWidth},{style:t.borderBottomStyle,color:t.borderBottomColor,width:t.borderBottomWidth},{style:t.borderLeftStyle,color:t.borderLeftColor,width:t.borderLeftWidth}],i=Bc(oc(t.backgroundClip,0),A.curves),e||t.boxShadow.length?(this.ctx.save(),this.path(i),this.ctx.clip(),er(t.backgroundColor)||(this.ctx.fillStyle=rr(t.backgroundColor),this.ctx.fill()),[4,this.renderBackgroundImage(A.container)]):[3,2];case 1:n.sent(),this.ctx.restore(),t.boxShadow.slice(0).reverse().forEach((function(t){u.ctx.save();var e=Ha(A.curves),r=t.inset?0:fc,n=Ka(e,-r+(t.inset?1:-1)*t.spread.number,(t.inset?1:-1)*t.spread.number,t.spread.number*(t.inset?-2:2),t.spread.number*(t.inset?-2:2));t.inset?(u.path(e),u.ctx.clip(),u.mask(n)):(u.mask(e),u.ctx.clip(),u.path(n)),u.ctx.shadowOffsetX=t.offsetX.number+r,u.ctx.shadowOffsetY=t.offsetY.number,u.ctx.shadowColor=rr(t.color),u.ctx.shadowBlur=t.blur.number,u.ctx.fillStyle=t.inset?rr(t.color):"rgba(0,0,0,1)",u.ctx.fill(),u.ctx.restore()})),n.label=2;case 2:s=0,o=0,a=r,n.label=3;case 3:return o<a.length?0!==(c=a[o]).style&&!er(c.color)&&c.width>0?2!==c.style?[3,5]:[4,this.renderDashedDottedBorder(c.color,c.width,s,A.curves,2)]:[3,11]:[3,13];case 4:return n.sent(),[3,11];case 5:return 3!==c.style?[3,7]:[4,this.renderDashedDottedBorder(c.color,c.width,s,A.curves,3)];case 6:return n.sent(),[3,11];case 7:return 4!==c.style?[3,9]:[4,this.renderDoubleBorder(c.color,c.width,s,A.curves)];case 8:return n.sent(),[3,11];case 9:return[4,this.renderSolidBorder(c.color,s,A.curves)];case 10:n.sent(),n.label=11;case 11:s++,n.label=12;case 12:return o++,[3,3];case 13:return[2]}}))}))},e.prototype.renderDashedDottedBorder=function(A,t,e,i,s){return r(this,void 0,void 0,(function(){var r,o,a,c,u,l,h,f,d,g,B,p,w,m,C,y;return n(this,(function(n){return this.ctx.save(),r=za(i,e),o=Wa(i,e),2===s&&(this.path(o),this.ctx.clip()),Ea(o[0])?(a=o[0].start.x,c=o[0].start.y):(a=o[0].x,c=o[0].y),Ea(o[1])?(u=o[1].end.x,l=o[1].end.y):(u=o[1].x,l=o[1].y),h=0===e||2===e?Math.abs(a-u):Math.abs(c-l),this.ctx.beginPath(),3===s?this.formatPath(r):this.formatPath(o.slice(0,2)),f=t<3?3*t:2*t,d=t<3?2*t:t,3===s&&(f=t,d=t),g=!0,h<=2*f?g=!1:h<=2*f+d?(f*=B=h/(2*f+d),d*=B):(p=Math.floor((h+d)/(f+d)),w=(h-p*f)/(p-1),d=(m=(h-(p+1)*f)/p)<=0||Math.abs(d-w)<Math.abs(d-m)?w:m),g&&(3===s?this.ctx.setLineDash([0,f+d]):this.ctx.setLineDash([f,d])),3===s?(this.ctx.lineCap="round",this.ctx.lineWidth=t):this.ctx.lineWidth=2*t+1.1,this.ctx.strokeStyle=rr(A),this.ctx.stroke(),this.ctx.setLineDash([]),2===s&&(Ea(o[0])&&(C=o[3],y=o[0],this.ctx.beginPath(),this.formatPath([new Fa(C.end.x,C.end.y),new Fa(y.start.x,y.start.y)]),this.ctx.stroke()),Ea(o[1])&&(C=o[1],y=o[2],this.ctx.beginPath(),this.formatPath([new Fa(C.end.x,C.end.y),new Fa(y.start.x,y.start.y)]),this.ctx.stroke())),this.ctx.restore(),[2]}))}))},e.prototype.render=function(A){return r(this,void 0,void 0,(function(){var t;return n(this,(function(e){switch(e.label){case 0:return this.options.backgroundColor&&(this.ctx.fillStyle=rr(this.options.backgroundColor),this.ctx.fillRect(this.options.x,this.options.y,this.options.width,this.options.height)),t=qa(A),[4,this.renderStack(t)];case 1:return e.sent(),this.applyEffects([]),[2,this.canvas]}}))}))},e}(hc),gc=function(A){return A instanceof eo||A instanceof to||A instanceof Ao&&A.type!==Ys&&A.type!==zs},Bc=function(A,t){switch(A){case 0:return Ha(t);case 2:return Na(t);default:return Sa(t)}},pc=function(A){switch(A){case 1:return"center";case 2:return"right";default:return"left"}},wc=["-apple-system","system-ui"],mc=function(A){return/iPhone OS 15_(0|1)/.test(window.navigator.userAgent)?A.filter((function(A){return-1===wc.indexOf(A)})):A},Cc=function(A){function e(t,e){var r=A.call(this,t,e)||this;return r.canvas=e.canvas?e.canvas:document.createElement("canvas"),r.ctx=r.canvas.getContext("2d"),r.options=e,r.canvas.width=Math.floor(e.width*e.scale),r.canvas.height=Math.floor(e.height*e.scale),r.canvas.style.width=e.width+"px",r.canvas.style.height=e.height+"px",r.ctx.scale(r.options.scale,r.options.scale),r.ctx.translate(-e.x,-e.y),r.context.logger.debug("EXPERIMENTAL ForeignObject renderer initialized ("+e.width+"x"+e.height+" at "+e.x+","+e.y+") with scale "+e.scale),r}return t(e,A),e.prototype.render=function(A){return r(this,void 0,void 0,(function(){var t,e;return n(this,(function(r){switch(r.label){case 0:return t=Fs(this.options.width*this.options.scale,this.options.height*this.options.scale,this.options.scale,this.options.scale,A),[4,yc(t)];case 1:return e=r.sent(),this.options.backgroundColor&&(this.ctx.fillStyle=rr(this.options.backgroundColor),this.ctx.fillRect(0,0,this.options.width*this.options.scale,this.options.height*this.options.scale)),this.ctx.drawImage(e,-this.options.x*this.options.scale,-this.options.y*this.options.scale),[2,this.canvas]}}))}))},e}(hc),yc=function(A){return new Promise((function(t,e){var r=new Image;r.onload=function(){t(r)},r.onerror=e,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent((new XMLSerializer).serializeToString(A))}))},Qc=function(){function A(A){var t=A.id,e=A.enabled;this.id=t,this.enabled=e,this.start=Date.now()}return A.prototype.debug=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.debug?console.debug.apply(console,i([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.getTime=function(){return Date.now()-this.start},A.prototype.info=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&"undefined"!=typeof window&&window.console&&"function"==typeof console.info&&console.info.apply(console,i([this.id,this.getTime()+"ms"],A))},A.prototype.warn=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.warn?console.warn.apply(console,i([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.prototype.error=function(){for(var A=[],t=0;t<arguments.length;t++)A[t]=arguments[t];this.enabled&&("undefined"!=typeof window&&window.console&&"function"==typeof console.error?console.error.apply(console,i([this.id,this.getTime()+"ms"],A)):this.info.apply(this,A))},A.instances={},A}(),vc=function(){function A(t,e){var r;this.windowBounds=e,this.instanceName="#"+A.instanceCount++,this.logger=new Qc({id:this.instanceName,enabled:t.logging}),this.cache=null!==(r=t.cache)&&void 0!==r?r:new Ba(this,t)}return A.instanceCount=1,A}(),bc=function(A,t){return void 0===t&&(t={}),Fc(A,t)};"undefined"!=typeof window&&ga.setContext(window);var Fc=function(A,t){return r(void 0,void 0,void 0,(function(){var r,i,c,u,l,h,f,d,g,B,p,w,m,C,y,Q,v,b,F,U,L,E,I,x,H,N,S,_,k,P,D,M,O,T,K,R,j,G;return n(this,(function(n){switch(n.label){case 0:if(!A||"object"!=typeof A)return[2,Promise.reject("Invalid element provided as first argument")];if(!(r=A.ownerDocument))throw new Error("Element is not attached to a Document");if(!(i=r.defaultView))throw new Error("Document is not attached to a Window");return c={allowTaint:null!==(E=t.allowTaint)&&void 0!==E&&E,imageTimeout:null!==(I=t.imageTimeout)&&void 0!==I?I:15e3,proxy:t.proxy,useCORS:null!==(x=t.useCORS)&&void 0!==x&&x},u=e({logging:null===(H=t.logging)||void 0===H||H,cache:t.cache},c),l={windowWidth:null!==(N=t.windowWidth)&&void 0!==N?N:i.innerWidth,windowHeight:null!==(S=t.windowHeight)&&void 0!==S?S:i.innerHeight,scrollX:null!==(_=t.scrollX)&&void 0!==_?_:i.pageXOffset,scrollY:null!==(k=t.scrollY)&&void 0!==k?k:i.pageYOffset},h=new s(l.scrollX,l.scrollY,l.windowWidth,l.windowHeight),f=new vc(u,h),d=null!==(P=t.foreignObjectRendering)&&void 0!==P&&P,g={allowTaint:null!==(D=t.allowTaint)&&void 0!==D&&D,onclone:t.onclone,ignoreElements:t.ignoreElements,inlineImages:d,copyStyles:d},f.logger.debug("Starting document clone with size "+h.width+"x"+h.height+" scrolled to "+-h.left+","+-h.top),B=new Yo(f,A,g),(p=B.clonedReferenceElement)?[4,B.toIFrame(r,h)]:[2,Promise.reject("Unable to find element in cloned iframe")];case 1:return w=n.sent(),m=Co(p)||wo(p)?a(p.ownerDocument):o(f,p),C=m.width,y=m.height,Q=m.left,v=m.top,b=Uc(f,p,t.backgroundColor),F={canvas:t.canvas,backgroundColor:b,scale:null!==(O=null!==(M=t.scale)&&void 0!==M?M:i.devicePixelRatio)&&void 0!==O?O:1,x:(null!==(T=t.x)&&void 0!==T?T:0)+Q,y:(null!==(K=t.y)&&void 0!==K?K:0)+v,width:null!==(R=t.width)&&void 0!==R?R:Math.ceil(C),height:null!==(j=t.height)&&void 0!==j?j:Math.ceil(y)},d?(f.logger.debug("Document cloned, using foreign object rendering"),[4,new Cc(f,F).render(p)]):[3,3];case 2:return U=n.sent(),[3,5];case 3:return f.logger.debug("Document cloned, element located at "+Q+","+v+" with size "+C+"x"+y+" using computed rendering"),f.logger.debug("Starting DOM parsing"),L=oo(f,p),b===L.styles.backgroundColor&&(L.styles.backgroundColor=lr.TRANSPARENT),f.logger.debug("Starting renderer for element at "+F.x+","+F.y+" with size "+F.width+"x"+F.height),[4,new dc(f,F).render(L)];case 4:U=n.sent(),n.label=5;case 5:return(null===(G=t.removeContainer)||void 0===G||G)&&(Yo.destroy(w)||f.logger.error("Cannot detach cloned iframe as it is not in the DOM anymore")),f.logger.debug("Finished rendering"),[2,U]}}))}))},Uc=function(A,t,e){var r=t.ownerDocument,n=r.documentElement?ur(A,getComputedStyle(r.documentElement).backgroundColor):lr.TRANSPARENT,i=r.body?ur(A,getComputedStyle(r.body).backgroundColor):lr.TRANSPARENT,s="string"==typeof e?ur(A,e):null===e?lr.TRANSPARENT:4294967295;return t===r.documentElement?er(n)?er(i)?s:i:n:s};return bc}()),Pn.exports),Mn=_n(Dn),On=i({__proto__:null,default:Mn},[Dn]);const Tn="FAST";function Kn(A,t){return A>t?"landscape":"portrait"}function Rn(A,t,e,r,n,i,s){return A.addImage({imageData:t,format:"PNG",x:n,y:i,width:e,height:r,compression:s}),A}function jn(t){return A(this,arguments,void 0,(function*({pdf:A,pageHTMLElement:t,width:e,height:r,margin:n=0}){const i={width:e+2*n,height:r+2*n},s=(yield Mn(t,{scale:2})).toDataURL("image/png",1),o=Kn(e,r);return A?A.addPage([i.width,i.height],o):A=new De({unit:"px",hotfixes:["px_scaling"],format:[i.width,i.height],orientation:o}),A=Rn(A,s,e,r,10,10,Tn)}))}function Gn(t,e){return A(this,void 0,void 0,(function*(){const{width:r,height:n}=yield(i=e,A(void 0,void 0,void 0,(function*(){return yield new Promise((A=>{const t=new Image;t.onload=()=>{A({width:t.width,height:t.height})},t.src=i}))})));var i;const s=Kn(r,n);return t.addPage([r,n],s),Rn(t,e,r,n,0,0,Tn)}))}const Vn=({certificateTitle:A="",issueDate:r="",issuerName:n="",recipientName:i="",issuerPublicKey:s=[],issuerPublicDomain:o=[],issuerPublicUrl:a=[],issuerLogo:c="",qrCodeImage:u=""})=>{const l=[];(A||c)&&(l.push("<section>"),c&&l.push(`<div style="margin:0 auto;width:140px;height:140px;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url('${c}');"></div>`),A&&l.push(`<h2 style="margin:20px 0;font-size:18px;text-align:center">${A}</h2>`),l.push("</section>")),l.push('<section style="text-align:center">');const h=[{title:"Issue Date",value:r},{title:"Recipient",value:i},{title:"Issuer",value:n}];l.push(...h.map((A=>`<div style="margin:15px 0"><dt style="margin-bottom:5px;text-transform:uppercase;font-weight:600;font-size:12px">${A.title}</dt><dd style="margin:0;font-size:13px">${A.value}</dd></div>`)));const f=s.map(((A,t)=>({publicKey:A,url:a[t],domain:o[t]})));l.push(function(A){const t=A.length>1,r=['<div style="margin:15px 0">'];return r.push('<dt style="margin-bottom:5px;text-transform:uppercase;font-weight:600;font-size:12px">Issuer Information</dt>'),r.push('<dd style="margin:0;font-size:13px">'),r.push('<div style="display:flex;flex-direction:column;align-content:center;row-gap:4px;padding:0 20px;font-size:12px">'),r.push(...A.map(((A,r)=>{const n=['<div style="display:flex;flex-direction:column;row-gap:3px;justify-content:center;padding:5px 10px">'];return n.push("<div>"),t&&n.push(`<span style="font-weight:500;margin-right:10px">${e(r+1)}</span>`),n.push(`<span>Public Key: ${A.publicKey}</span>`),n.push("</div>"),A.url&&A.domain&&n.push(`<span><a href="${A.url}">${A.domain}</a></span>`),n.push("</div>"),n.join("")}))),r.push("<div/>"),r.push("<dd/>"),r.push("<div/>"),r.join("")}(f)),l.push("</section>"),u&&(l.push("<section>"),l.push('<span style="margin-bottom:15px;font-size:10px">Scan the QR code to verify the document.</span>'),l.push(`<div style="margin:0 auto;width:110px;height:110px;background-repeat:no-repeat;background-position:center;background-size:contain;background-image:url('data:image/svg+xml;base64,${u}');"></div>`),l.push("</section>")),l.push(`<div style="width:150px">${t().getHTML()}</div>`);const d=document.createElement("section");return d.setAttribute("style","width:595px;height:842px;padding:40px 20px;box-sizing:border-box;display:flex;flex-direction:column;justify-content:space-between;align-items:center;font-family:'Open Sans',-apple-system,BlinkMacSystemFont,sans-serif;color:rgb(0,0,0);"),d.innerHTML=l.join(""),d};var qn,Wn={exports:{}};var Xn=(qn||(qn=1,function(A){function t(A){this.mode=r.MODE_8BIT_BYTE,this.data=A,this.parsedData=[];for(var t=0,e=this.data.length;t<e;t++){var n=[],i=this.data.charCodeAt(t);i>65536?(n[0]=240|(1835008&i)>>>18,n[1]=128|(258048&i)>>>12,n[2]=128|(4032&i)>>>6,n[3]=128|63&i):i>2048?(n[0]=224|(61440&i)>>>12,n[1]=128|(4032&i)>>>6,n[2]=128|63&i):i>128?(n[0]=192|(1984&i)>>>6,n[1]=128|63&i):n[0]=i,this.parsedData.push(n)}this.parsedData=Array.prototype.concat.apply([],this.parsedData),this.parsedData.length!=this.data.length&&(this.parsedData.unshift(191),this.parsedData.unshift(187),this.parsedData.unshift(239))}function e(A,t){this.typeNumber=A,this.errorCorrectLevel=t,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=[]}t.prototype={getLength:function(A){return this.parsedData.length},write:function(A){for(var t=0,e=this.parsedData.length;t<e;t++)A.put(this.parsedData[t],8)}},e.prototype={addData:function(A){var e=new t(A);this.dataList.push(e),this.dataCache=null},isDark:function(A,t){if(A<0||this.moduleCount<=A||t<0||this.moduleCount<=t)throw new Error(A+","+t);return this.modules[A][t]},getModuleCount:function(){return this.moduleCount},make:function(){this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(A,t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var r=0;r<this.moduleCount;r++){this.modules[r]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[r][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(A,t),this.typeNumber>=7&&this.setupTypeNumber(A),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(A,t){for(var e=-1;e<=7;e++)if(!(A+e<=-1||this.moduleCount<=A+e))for(var r=-1;r<=7;r++)t+r<=-1||this.moduleCount<=t+r||(this.modules[A+e][t+r]=0<=e&&e<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==e||6==e)||2<=e&&e<=4&&2<=r&&r<=4)},getBestMaskPattern:function(){for(var A=0,t=0,e=0;e<8;e++){this.makeImpl(!0,e);var r=B.getLostPoint(this);(0==e||A>r)&&(A=r,t=e)}return t},createMovieClip:function(A,t,e){var r=A.createEmptyMovieClip(t,e);this.make();for(var n=0;n<this.modules.length;n++)for(var i=1*n,s=0;s<this.modules[n].length;s++){var o=1*s;this.modules[n][s]&&(r.beginFill(0,100),r.moveTo(o,i),r.lineTo(o+1,i),r.lineTo(o+1,i+1),r.lineTo(o,i+1),r.endFill())}return r},setupTimingPattern:function(){for(var A=8;A<this.moduleCount-8;A++)null==this.modules[A][6]&&(this.modules[A][6]=A%2==0);for(var t=8;t<this.moduleCount-8;t++)null==this.modules[6][t]&&(this.modules[6][t]=t%2==0)},setupPositionAdjustPattern:function(){for(var A=B.getPatternPosition(this.typeNumber),t=0;t<A.length;t++)for(var e=0;e<A.length;e++){var r=A[t],n=A[e];if(null==this.modules[r][n])for(var i=-2;i<=2;i++)for(var s=-2;s<=2;s++)this.modules[r+i][n+s]=-2==i||2==i||-2==s||2==s||0==i&&0==s}},setupTypeNumber:function(A){for(var t=B.getBCHTypeNumber(this.typeNumber),e=0;e<18;e++){var r=!A&&1==(t>>e&1);this.modules[Math.floor(e/3)][e%3+this.moduleCount-8-3]=r}for(e=0;e<18;e++)r=!A&&1==(t>>e&1),this.modules[e%3+this.moduleCount-8-3][Math.floor(e/3)]=r},setupTypeInfo:function(A,t){for(var e=this.errorCorrectLevel<<3|t,r=B.getBCHTypeInfo(e),n=0;n<15;n++){var i=!A&&1==(r>>n&1);n<6?this.modules[n][8]=i:n<8?this.modules[n+1][8]=i:this.modules[this.moduleCount-15+n][8]=i}for(n=0;n<15;n++)i=!A&&1==(r>>n&1),n<8?this.modules[8][this.moduleCount-n-1]=i:n<9?this.modules[8][15-n-1+1]=i:this.modules[8][15-n-1]=i;this.modules[this.moduleCount-8][8]=!A},mapData:function(A,t){for(var e=-1,r=this.moduleCount-1,n=7,i=0,s=this.moduleCount-1;s>0;s-=2)for(6==s&&s--;;){for(var o=0;o<2;o++)if(null==this.modules[r][s-o]){var a=!1;i<A.length&&(a=1==(A[i]>>>n&1)),B.getMask(t,r,s-o)&&(a=!a),this.modules[r][s-o]=a,-1==--n&&(i++,n=7)}if((r+=e)<0||this.moduleCount<=r){r-=e,e=-e;break}}}},e.PAD0=236,e.PAD1=17,e.createData=function(A,t,r){for(var n=C.getRSBlocks(A,t),i=new y,s=0;s<r.length;s++){var o=r[s];i.put(o.mode,4),i.put(o.getLength(),B.getLengthInBits(o.mode,A)),o.write(i)}var a=0;for(s=0;s<n.length;s++)a+=n[s].dataCount;if(i.getLengthInBits()>8*a)throw new Error("code length overflow. ("+i.getLengthInBits()+">"+8*a+")");for(i.getLengthInBits()+4<=8*a&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(!1);for(;!(i.getLengthInBits()>=8*a||(i.put(e.PAD0,8),i.getLengthInBits()>=8*a));)i.put(e.PAD1,8);return e.createBytes(i,n)},e.createBytes=function(A,t){for(var e=0,r=0,n=0,i=new Array(t.length),s=new Array(t.length),o=0;o<t.length;o++){var a=t[o].dataCount,c=t[o].totalCount-a;r=Math.max(r,a),n=Math.max(n,c),i[o]=new Array(a);for(var u=0;u<i[o].length;u++)i[o][u]=255&A.buffer[u+e];e+=a;var l=B.getErrorCorrectPolynomial(c),h=new m(i[o],l.getLength()-1).mod(l);for(s[o]=new Array(l.getLength()-1),u=0;u<s[o].length;u++){var f=u+h.getLength()-s[o].length;s[o][u]=f>=0?h.get(f):0}}var d=0;for(u=0;u<t.length;u++)d+=t[u].totalCount;var g=new Array(d),p=0;for(u=0;u<r;u++)for(o=0;o<t.length;o++)u<i[o].length&&(g[p++]=i[o][u]);for(u=0;u<n;u++)for(o=0;o<t.length;o++)u<s[o].length&&(g[p++]=s[o][u]);return g};for(var r={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},n=1,i=0,s=3,o=2,a=0,c=1,u=2,l=3,h=4,f=5,d=6,g=7,B={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(A){for(var t=A<<10;B.getBCHDigit(t)-B.getBCHDigit(B.G15)>=0;)t^=B.G15<<B.getBCHDigit(t)-B.getBCHDigit(B.G15);return(A<<10|t)^B.G15_MASK},getBCHTypeNumber:function(A){for(var t=A<<12;B.getBCHDigit(t)-B.getBCHDigit(B.G18)>=0;)t^=B.G18<<B.getBCHDigit(t)-B.getBCHDigit(B.G18);return A<<12|t},getBCHDigit:function(A){for(var t=0;0!=A;)t++,A>>>=1;return t},getPatternPosition:function(A){return B.PATTERN_POSITION_TABLE[A-1]},getMask:function(A,t,e){switch(A){case a:return(t+e)%2==0;case c:return t%2==0;case u:return e%3==0;case l:return(t+e)%3==0;case h:return(Math.floor(t/2)+Math.floor(e/3))%2==0;case f:return t*e%2+t*e%3==0;case d:return(t*e%2+t*e%3)%2==0;case g:return(t*e%3+(t+e)%2)%2==0;default:throw new Error("bad maskPattern:"+A)}},getErrorCorrectPolynomial:function(A){for(var t=new m([1],0),e=0;e<A;e++)t=t.multiply(new m([1,p.gexp(e)],0));return t},getLengthInBits:function(A,t){if(1<=t&&t<10)switch(A){case r.MODE_NUMBER:return 10;case r.MODE_ALPHA_NUM:return 9;case r.MODE_8BIT_BYTE:case r.MODE_KANJI:return 8;default:throw new Error("mode:"+A)}else if(t<27)switch(A){case r.MODE_NUMBER:return 12;case r.MODE_ALPHA_NUM:return 11;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 10;default:throw new Error("mode:"+A)}else{if(!(t<41))throw new Error("type:"+t);switch(A){case r.MODE_NUMBER:return 14;case r.MODE_ALPHA_NUM:return 13;case r.MODE_8BIT_BYTE:return 16;case r.MODE_KANJI:return 12;default:throw new Error("mode:"+A)}}},getLostPoint:function(A){for(var t=A.getModuleCount(),e=0,r=0;r<t;r++)for(var n=0;n<t;n++){for(var i=0,s=A.isDark(r,n),o=-1;o<=1;o++)if(!(r+o<0||t<=r+o))for(var a=-1;a<=1;a++)n+a<0||t<=n+a||0==o&&0==a||s==A.isDark(r+o,n+a)&&i++;i>5&&(e+=3+i-5)}for(r=0;r<t-1;r++)for(n=0;n<t-1;n++){var c=0;A.isDark(r,n)&&c++,A.isDark(r+1,n)&&c++,A.isDark(r,n+1)&&c++,A.isDark(r+1,n+1)&&c++,0!=c&&4!=c||(e+=3)}for(r=0;r<t;r++)for(n=0;n<t-6;n++)A.isDark(r,n)&&!A.isDark(r,n+1)&&A.isDark(r,n+2)&&A.isDark(r,n+3)&&A.isDark(r,n+4)&&!A.isDark(r,n+5)&&A.isDark(r,n+6)&&(e+=40);for(n=0;n<t;n++)for(r=0;r<t-6;r++)A.isDark(r,n)&&!A.isDark(r+1,n)&&A.isDark(r+2,n)&&A.isDark(r+3,n)&&A.isDark(r+4,n)&&!A.isDark(r+5,n)&&A.isDark(r+6,n)&&(e+=40);var u=0;for(n=0;n<t;n++)for(r=0;r<t;r++)A.isDark(r,n)&&u++;return e+=Math.abs(100*u/t/t-50)/5*10}},p={glog:function(A){if(A<1)throw new Error("glog("+A+")");return p.LOG_TABLE[A]},gexp:function(A){for(;A<0;)A+=255;for(;A>=256;)A-=255;return p.EXP_TABLE[A]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},w=0;w<8;w++)p.EXP_TABLE[w]=1<<w;for(w=8;w<256;w++)p.EXP_TABLE[w]=p.EXP_TABLE[w-4]^p.EXP_TABLE[w-5]^p.EXP_TABLE[w-6]^p.EXP_TABLE[w-8];for(w=0;w<255;w++)p.LOG_TABLE[p.EXP_TABLE[w]]=w;function m(A,t){if(null==A.length)throw new Error(A.length+"/"+t);for(var e=0;e<A.length&&0==A[e];)e++;this.num=new Array(A.length-e+t);for(var r=0;r<A.length-e;r++)this.num[r]=A[r+e]}function C(A,t){this.totalCount=A,this.dataCount=t}function y(){this.buffer=[],this.length=0}m.prototype={get:function(A){return this.num[A]},getLength:function(){return this.num.length},multiply:function(A){for(var t=new Array(this.getLength()+A.getLength()-1),e=0;e<this.getLength();e++)for(var r=0;r<A.getLength();r++)t[e+r]^=p.gexp(p.glog(this.get(e))+p.glog(A.get(r)));return new m(t,0)},mod:function(A){if(this.getLength()-A.getLength()<0)return this;for(var t=p.glog(this.get(0))-p.glog(A.get(0)),e=new Array(this.getLength()),r=0;r<this.getLength();r++)e[r]=this.get(r);for(r=0;r<A.getLength();r++)e[r]^=p.gexp(p.glog(A.get(r))+t);return new m(e,0).mod(A)}},C.RS_BLOCK_TABLE=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]],C.getRSBlocks=function(A,t){var e=C.getRsBlockTable(A,t);if(null==e)throw new Error("bad rs block @ typeNumber:"+A+"/errorCorrectLevel:"+t);for(var r=e.length/3,n=[],i=0;i<r;i++)for(var s=e[3*i+0],o=e[3*i+1],a=e[3*i+2],c=0;c<s;c++)n.push(new C(o,a));return n},C.getRsBlockTable=function(A,t){switch(t){case n:return C.RS_BLOCK_TABLE[4*(A-1)+0];case i:return C.RS_BLOCK_TABLE[4*(A-1)+1];case s:return C.RS_BLOCK_TABLE[4*(A-1)+2];case o:return C.RS_BLOCK_TABLE[4*(A-1)+3];default:return}},y.prototype={get:function(A){var t=Math.floor(A/8);return 1==(this.buffer[t]>>>7-A%8&1)},put:function(A,t){for(var e=0;e<t;e++)this.putBit(1==(A>>>t-e-1&1))},getLengthInBits:function(){return this.length},putBit:function(A){var t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),A&&(this.buffer[t]|=128>>>this.length%8),this.length++}};var Q=[[17,14,11,7],[32,26,20,14],[53,42,32,24],[78,62,46,34],[106,84,60,44],[134,106,74,58],[154,122,86,64],[192,152,108,84],[230,180,130,98],[271,213,151,119],[321,251,177,137],[367,287,203,155],[425,331,241,177],[458,362,258,194],[520,412,292,220],[586,450,322,250],[644,504,364,280],[718,560,394,310],[792,624,442,338],[858,666,482,382],[929,711,509,403],[1003,779,565,439],[1091,857,611,461],[1171,911,661,511],[1273,997,715,535],[1367,1059,751,593],[1465,1125,805,625],[1528,1190,868,658],[1628,1264,908,698],[1732,1370,982,742],[1840,1452,1030,790],[1952,1538,1112,842],[2068,1628,1168,898],[2188,1722,1228,958],[2303,1809,1283,983],[2431,1911,1351,1051],[2563,1989,1423,1093],[2699,2099,1499,1139],[2809,2213,1579,1219],[2953,2331,1663,1273]];function v(A){if(this.options={padding:4,width:256,height:256,typeNumber:4,color:"#000000",background:"#ffffff",ecl:"M"},"string"==typeof A&&(A={content:A}),A)for(var t in A)this.options[t]=A[t];if("string"!=typeof this.options.content)throw new Error("Expected 'content' as string!");if(0===this.options.content.length)throw new Error("Expected 'content' to be non-empty!");if(!(this.options.padding>=0))throw new Error("Expected 'padding' value to be non-negative!");if(!(this.options.width>0&&this.options.height>0))throw new Error("Expected 'width' or 'height' value to be higher than zero!");var r=this.options.content,a=function(A,t){for(var e=function(A){var t=encodeURI(A).toString().replace(/\%[0-9a-fA-F]{2}/g,"a");return t.length+(t.length!=A?3:0)}(A),r=1,n=0,i=0,s=Q.length;i<=s;i++){var o=Q[i];if(!o)throw new Error("Content too long: expected "+n+" but got "+e);switch(t){case"L":n=o[0];break;case"M":n=o[1];break;case"Q":n=o[2];break;case"H":n=o[3];break;default:throw new Error("Unknwon error correction level: "+t)}if(e<=n)break;r++}if(r>Q.length)throw new Error("Content too long");return r}(r,this.options.ecl),c=function(A){switch(A){case"L":return n;case"M":return i;case"Q":return s;case"H":return o;default:throw new Error("Unknwon error correction level: "+A)}}(this.options.ecl);this.qrcode=new e(a,c),this.qrcode.addData(r),this.qrcode.make()}v.prototype.svg=function(A){var t=this.options||{},e=this.qrcode.modules;void 0===A&&(A={container:t.container||"svg"});for(var r=void 0===t.pretty||!!t.pretty,n=r?" ":"",i=r?"\r\n":"",s=t.width,o=t.height,a=e.length,c=s/(a+2*t.padding),u=o/(a+2*t.padding),l=void 0!==t.join&&!!t.join,h=void 0!==t.swap&&!!t.swap,f=void 0===t.xmlDeclaration||!!t.xmlDeclaration,d=void 0!==t.predefined&&!!t.predefined,g=d?n+'<defs><path id="qrmodule" d="M0 0 h'+u+" v"+c+' H0 z" style="fill:'+t.color+';shape-rendering:crispEdges;" /></defs>'+i:"",B=n+'<rect x="0" y="0" width="'+s+'" height="'+o+'" style="fill:'+t.background+';shape-rendering:crispEdges;"/>'+i,p="",w="",m=0;m<a;m++)for(var C=0;C<a;C++)if(e[C][m]){var y=C*c+t.padding*c,Q=m*u+t.padding*u;if(h){var v=y;y=Q,Q=v}if(l){var b=c+y,F=u+Q;y=Number.isInteger(y)?Number(y):y.toFixed(2),Q=Number.isInteger(Q)?Number(Q):Q.toFixed(2),b=Number.isInteger(b)?Number(b):b.toFixed(2),w+="M"+y+","+Q+" V"+(F=Number.isInteger(F)?Number(F):F.toFixed(2))+" H"+b+" V"+Q+" H"+y+" Z "}else p+=d?n+'<use x="'+y.toString()+'" y="'+Q.toString()+'" href="#qrmodule" />'+i:n+'<rect x="'+y.toString()+'" y="'+Q.toString()+'" width="'+c+'" height="'+u+'" style="fill:'+t.color+';shape-rendering:crispEdges;"/>'+i}l&&(p=n+'<path x="0" y="0" style="fill:'+t.color+';shape-rendering:crispEdges;" d="'+w+'" />');var U="";switch(A.container){case"svg":f&&(U+='<?xml version="1.0" standalone="yes"?>'+i),U+='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="'+s+'" height="'+o+'">'+i,U+=g+B+p,U+="</svg>";break;case"svg-viewbox":f&&(U+='<?xml version="1.0" standalone="yes"?>'+i),U+='<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 '+s+" "+o+'">'+i,U+=g+B+p,U+="</svg>";break;case"g":U+='<g width="'+s+'" height="'+o+'">'+i,U+=g+B+p,U+="</g>";break;default:U+=(g+B+p).replace(/^\s+/,"")}return U},v.prototype.save=function(A,t){var e=this.svg();"function"!=typeof t&&(t=function(A,t){});try{require("fs").writeFile(A,e,t)}catch(A){t(A)}},A.exports=v}(Wn)),Wn.exports),Jn=_n(Xn);const zn=A=>A?(A=>window.btoa(A))(new Jn(A).svg()):null;const Yn={overflow:"hidden",left:"-1000px"},Zn={position:"absolute",padding:"20px","background-color":"#fff","font-family":"serif","text-align":"center",color:"#49555f","font-size":"12px","word-wrap":"break-word","min-height":"calc(100vh - 145px)","box-sizing":"border-box",margin:"0 auto","min-width":"600px","line-height":"initial",clipPath:"inset(0 100% 0 0)"},$n={"max-width":"460px"},Ai=(t,e)=>A(void 0,void 0,void 0,(function*(){const A=n(e),r=ti(Object.assign(Object.assign(Object.assign({},Zn),Yn),A?$n:{}));r.insertAdjacentHTML("beforeend",e);const i=((A,t)=>t?[A]:Array.from(A.querySelectorAll(":scope > div > div")))(r,A);for(const A of i){const e=s(A);t=yield jn({pdf:t,pageHTMLElement:A,width:e.width,height:e.height,margin:10})}return ei(r),t})),ti=A=>{const t=document.createElement("div");var e,r;return t.setAttribute("id","html2pdf-dom-container-identifier"),A&&(e=t,r=A,Object.keys(r).forEach((A=>{e.style[A]=r[A]}))),document.body.appendChild(t),t},ei=A=>{document.body.removeChild(A)},ri=t=>A(void 0,[t],void 0,(function*({contentType:t=null,contentEncoding:e="",content:n="",recipientName:i="",certificateTitle:s="",issueDate:o="",issuerName:a="",issuerLogo:c="",recordLink:u="",issuerPublicKey:l=[],issuerProfileUrl:h=[],issuerProfileDomain:f=[]}){const d=s;let g;const B=(A=>[r.IMAGE_GIF,r.IMAGE_BMP,r.IMAGE_PNG,r.IMAGE_JPEG].includes(A))(t),p=t===r.TEXT_HTML;if((p||B)&&(g=yield((t,e,r,n,i,s,o,a,c)=>A(void 0,void 0,void 0,(function*(){const A=ti(Yn),u=zn(s),l=Vn({certificateTitle:e,issueDate:r,issuerName:n,issuerLogo:i,issuerPublicKey:o,issuerPublicDomain:a,issuerPublicUrl:c,recipientName:t,qrCodeImage:u});A.appendChild(l);const h=yield jn({pageHTMLElement:l,width:595,height:842,margin:0});return ei(A),h})))(i,s,o,a,c,u,l,f,h)),p)g=yield Ai(g,n);else if(B)g=yield Gn(g,`data:${t};${e},${n}`);else{const A=function(A){return A===r.APPLICATION_PDF?"pdf":""}(r.APPLICATION_PDF);!function(A,t,e,r,n=""){const i=`data:${t};${e},${A}`,s=document.createElement("a"),o=[r];n&&o.push(n);const a=o.join(".");s.href=i,s.download=a,s.click()}(n,t,e,d,A)}!function(A,t){A.save(t)}(g,d)}));var ni=Object.freeze({__proto__:null,default:function(t){return A(this,void 0,void 0,(function*(){yield ri(t)}))}});export{o as _,Sn as c,ni as d,_n as g};