PageSourceSearch

https://www.pirate-portal.com/assets/jspdf-D30lQ_ys.js

js pirate-portal.com collected 2026-10-04 18:17:02 UTC 397,572 bytes, 79 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/index.es-Cw1d6C4X.js","assets/toPropertyKey-DuWdZnfU.js","assets/ag-grid-react-Cvi7zz2g.js","assets/ag-grid-community-DgkugROF.js"])))=>i.map(i=>d[i]);
2const ch="modulepreload",fh=function(n){return"/"+n},cu={},Mo=function(t,e,r){let s=Promise.resolve();if(e&&e.length>0){let c=function(d){return Promise.all(d.map(g=>Promise.resolve(g).then(w=>({status:"fulfilled",value:w}),w=>({status:"rejected",reason:w}))))};document.getElementsByTagName("link");const f=document.querySelector("meta[property=csp-nonce]"),l=f?.nonce||f?.getAttribute("nonce");s=c(e.map(d=>{if(d=fh(d),d in cu)return;cu[d]=!0;const g=d.endsWith(".css"),w=g?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${d}"]${w}`))return;const x=document.createElement("link");if(x.rel=g?"stylesheet":ch,g||(x.as="script"),x.crossOrigin="",x.href=d,l&&x.setAttribute("nonce",l),document.head.appendChild(x),g)return new Promise((p,B)=>{x.addEventListener("load",p),x.addEventListener("error",()=>B(new Error(`Unable to preload CSS for ${d}`)))})}))}function a(f){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=f,window.dispatchEvent(l),!l.defaultPrevented)throw f}return s.then(f=>{for(const l of f||[])l.status==="rejected"&&a(l.reason);return t().catch(a)})};function _e(n){"@babel/helpers - typeof";return _e=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},_e(n)}var fu={},hh=(function(n,t,e,r,s){var a=new Worker(fu[t]||(fu[t]=URL.createObjectURL(new Blob([n+';addEventListener("error",function(e){e=e.error;postMessage({$e$:[e.message,e.code,e.stack]})})'],{type:"text/javascript"}))));return a.onmessage=function(f){var l=f.data,c=l.$e$;if(c){var d=new Error(c[0]);d.code=c[1],d.stack=c[2],s(d,null)}else s(null,l)},a.postMessage(e,r),a}),Re=Uint8Array,kn=Uint16Array,$a=Int32Array,pa=new Re([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]),ga=new Re([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]),Va=new Re([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),kc=function(n,t){for(var e=new kn(31),r=0;r<31;++r)e[r]=t+=1<<n[r-1];for(var s=new $a(e[30]),r=1;r<30;++r)for(var a=e[r];a<e[r+1];++a)s[a]=a-e[r]<<5|r;return{b:e,r:s}},Pc=kc(pa,2),ml=Pc.b,Ys=Pc.r;ml[28]=258,Ys[258]=28;var Ic=kc(ga,0),Cc=Ic.b,il=Ic.r,Ga=new kn(32768);for(var Fe=0;Fe<32768;++Fe){var ei=(Fe&43690)>>1|(Fe&21845)<<1;ei=(ei&52428)>>2|(ei&13107)<<2,ei=(ei&61680)>>4|(ei&3855)<<4,Ga[Fe]=((ei&65280)>>8|(ei&255)<<8)>>1}var $n=(function(n,t,e){for(var r=n.length,s=0,a=new kn(t);s<r;++s)n[s]&&++a[n[s]-1];var f=new kn(t);for(s=1;s<t;++s)f[s]=f[s-1]+a[s-1]<<1;var l;if(e){l=new kn(1<<t);var c=15-t;for(s=0;s<r;++s)if(n[s])for(var d=s<<4|n[s],g=t-n[s],w=f[n[s]-1]++<<g,x=w|(1<<g)-1;w<=x;++w)l[Ga[w]>>c]=d}else for(l=new kn(r),s=0;s<r;++s)n[s]&&(l[s]=Ga[f[n[s]-1]++]>>15-n[s]);return l}),Dr=new Re(288);for(var Fe=0;Fe<144;++Fe)Dr[Fe]=8;for(var Fe=144;Fe<256;++Fe)Dr[Fe]=9;for(var Fe=256;Fe<280;++Fe)Dr[Fe]=7;for(var Fe=280;Fe<288;++Fe)Dr[Fe]=8;var da=new Re(32);for(var Fe=0;Fe<32;++Fe)da[Fe]=5;var Ec=$n(Dr,9,0),Fc=$n(Dr,9,1),Oc=$n(da,5,0),jc=$n(da,5,1),zs=function(n){for(var t=n[0],e=1;e<n.length;++e)n[e]>t&&(t=n[e]);return t},Yn=function(n,t,e){var r=t/8|0;return(n[r]|n[r+1]<<8)>>(t&7)&e},Hs=function(n,t){var e=t/8|0;return(n[e]|n[e+1]<<8|n[e+2]<<16)>>(t&7)},Ka=function(n){return(n+7)/8|0},ji=function(n,t,e){return(t==null||t<0)&&(t=0),(e==null||e>n.length)&&(e=n.length),new Re(n.subarray(t,e))}
vendor: 9,119 bytes, line 2
2,Bc=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],Me=function(n,t,e){var r=new Error(t||Bc[n]);if(r.code=n,Error.captureStackTrace&&Error.captureStackTrace(r,Me),!e)throw r;return r},bl=function(n,t,e,r){var s=n.length,a=r?r.length:0;if(!s||t.f&&!t.l)return e||new Re(0);var f=!e,l=f||t.i!=2,c=t.i;f&&(e=new Re(s*3));var d=function(At){var St=e.length;if(At>St){var Lt=new Re(Math.max(St*2,At));Lt.set(e),e=Lt}},g=t.f||0,w=t.p||0,x=t.b||0,p=t.l,B=t.d,P=t.m,j=t.n,S=s*8;do{if(!p){g=Yn(n,w,1);var V=Yn(n,w+1,3);if(w+=3,V)if(V==1)p=Fc,B=jc,P=9,j=5;else if(V==2){var gt=Yn(n,w,31)+257,ut=Yn(n,w+10,15)+4,Y=gt+Yn(n,w+5,31)+1;w+=14;for(var R=new Re(Y),X=new Re(19),N=0;N<ut;++N)X[Va[N]]=Yn(n,w+N*3,7);w+=ut*3;for(var C=zs(X),H=(1<<C)-1,q=$n(X,C,1),N=0;N<Y;){var it=q[Yn(n,w,H)];w+=it&15;var z=it>>4;if(z<16)R[N++]=z;else{var at=0,ot=0;for(z==16?(ot=3+Yn(n,w,3),w+=2,at=R[N-1]):z==17?(ot=3+Yn(n,w,7),w+=3):z==18&&(ot=11+Yn(n,w,127),w+=7);ot--;)R[N++]=at}}var et=R.subarray(0,gt),ct=R.subarray(gt);P=zs(et),j=zs(ct),p=$n(et,P,1),B=$n(ct,j,1)}else Me(1);else{var z=Ka(w)+4,T=n[z-4]|n[z-3]<<8,rt=z+T;if(rt>s){c&&Me(0);break}l&&d(x+T),e.set(n.subarray(z,rt),x),t.b=x+=T,t.p=w=rt*8,t.f=g;continue}if(w>S){c&&Me(0);break}}l&&d(x+131072);for(var xt=(1<<P)-1,bt=(1<<j)-1,A=w;;A=w){var at=p[Hs(n,w)&xt],M=at>>4;if(w+=at&15,w>S){c&&Me(0);break}if(at||Me(2),M<256)e[x++]=M;else if(M==256){A=w,p=null;break}else{var D=M-254;if(M>264){var N=M-257,W=pa[N];D=Yn(n,w,(1<<W)-1)+ml[N],w+=W}var $=B[Hs(n,w)&bt],Q=$>>4;$||Me(3),w+=$&15;var ct=Cc[Q];if(Q>3){var W=ga[Q];ct+=Hs(n,w)&(1<<W)-1,w+=W}if(w>S){c&&Me(0);break}l&&d(x+131072);var st=x+D;if(x<ct){var lt=a-ct,vt=Math.min(ct,st);for(lt+x<0&&Me(3);x<vt;++x)e[x]=r[lt+x]}for(;x<st;++x)e[x]=e[x-ct]}}t.l=p,t.p=A,t.b=x,t.f=g,p&&(g=1,t.m=P,t.d=B,t.n=j)}while(!g);return x!=e.length&&f?ji(e,0,x):e.subarray(0,x)},br=function(n,t,e){e<<=t&7;var r=t/8|0;n[r]|=e,n[r+1]|=e>>8},la=function(n,t,e){e<<=t&7;var r=t/8|0;n[r]|=e,n[r+1]|=e>>8,n[r+2]|=e>>16},Ws=function(n,t){for(var e=[],r=0;r<n.length;++r)n[r]&&e.push({s:r,f:n[r]});var s=e.length,a=e.slice();if(!s)return{t:yl,l:0};if(s==1){var f=new Re(e[0].s+1);return f[e[0].s]=1,{t:f,l:1}}e.sort(function(rt,gt){return rt.f-gt.f}),e.push({s:-1,f:25001});var l=e[0],c=e[1],d=0,g=1,w=2;for(e[0]={s:-1,f:l.f+c.f,l,r:c};g!=s-1;)l=e[e[d].f<e[w].f?d++:w++],c=e[d!=g&&e[d].f<e[w].f?d++:w++],e[g++]={s:-1,f:l.f+c.f,l,r:c};for(var x=a[0].s,r=1;r<s;++r)a[r].s>x&&(x=a[r].s);var p=new kn(x+1),B=Js(e[g-1],p,0);if(B>t){var r=0,P=0,j=B-t,S=1<<j;for(a.sort(function(gt,ut){return p[ut.s]-p[gt.s]||gt.f-ut.f});r<s;++r){var V=a[r].s;if(p[V]>t)P+=S-(1<<B-p[V]),p[V]=t;else break}for(P>>=j;P>0;){var z=a[r].s;p[z]<t?P-=1<<t-p[z]++-1:++r}for(;r>=0&&P;--r){var T=a[r].s;p[T]==t&&(--p[T],++P)}B=t}return{t:new Re(p),l:B}},Js=function(n,t,e){return n.s==-1?Math.max(Js(n.l,t,e+1),Js(n.r,t,e+1)):t[n.s]=e},al=function(n){for(var t=n.length;t&&!n[--t];);for(var e=new kn(++t),r=0,s=n[0],a=1,f=function(c){e[r++]=c},l=1;l<=t;++l)if(n[l]==s&&l!=t)++a;else{if(!s&&a>2){for(;a>138;a-=138)f(32754);a>2&&(f(a>10?a-11<<5|28690:a-3<<5|12305),a=0)}else if(a>3){for(f(s),--a;a>6;a-=6)f(8304);a>2&&(f(a-3<<5|8208),a=0)}for(;a--;)f(s);a=1,s=n[l]}return{c:e.subarray(0,r),n:t}},ua=function(n,t){for(var e=0,r=0;r<t.length;++r)e+=n[r]*t[r];return e},wl=function(n,t,e){var r=e.length,s=Ka(t+2);n[s]=r&255,n[s+1]=r>>8,n[s+2]=n[s]^255,n[s+3]=n[s+1]^255;for(var a=0;a<r;++a)n[s+a+4]=e[a];return(s+4+r)*8},sl=function(n,t,e,r,s,a,f,l,c,d,g){br(t,g++,e),++s[256];for(var w=Ws(s,15),x=w.t,p=w.l,B=Ws(a,15),P=B.t,j=B.l,S=al(x),V=S.c,z=S.n,T=al(P),rt=T.c,gt=T.n,ut=new kn(19),Y=0;Y<V.length;++Y)++ut[V[Y]&31];for(var Y=0;Y<rt.length;++Y)++ut[rt[Y]&31];for(var R=Ws(ut,7),X=R.t,N=R.l,C=19;C>4&&!X[Va[C-1]];--C);var H=d+5<<3,q=ua(s,Dr)+ua(a,da)+f,it=ua(s,x)+ua(a,P)+f+14+3*C+ua(ut,X)+2*ut[16]+3*ut[17]+7*ut[18];if(c>=0&&H<=q&&H<=it)return wl(t,g,n.subarray(c,c+d));var at,ot,et,ct;if(br(t,g,1+(it<q)),g+=2,it<q){at=$n(x,p,0),ot=x,et=$n(P,j,0),ct=P;var xt=$n(X,N,0);br(t,g,z-257),br(t,g+5,gt-1),br(t,g+10,C-4),g+=14;for(var Y=0;Y<C;++Y)br(t,g+3*Y,X[Va[Y]]);g+=3*C;for(var bt=[V,rt],A=0;A<2;++A)for(var M=bt[A],Y=0;Y<M.length;++Y){var D=M[Y]&31;br(t,g,xt[D]),g+=X[D],D>15&&(br(t,g,M[Y]>>5&127),g+=M[Y]>>12)}}else at=Ec,ot=Dr,et=Oc,ct=da;for(var Y=0;Y<l;++Y){var W=r[Y];if(W>255){var D=W>>18&31;la(t,g,at[D+257]),g+=ot[D+257],D>7&&(br(t,g,W>>23&31),g+=pa[D]);var $=W&31;la(t,g,et[$]),g+=ct[$],$>3&&(la(t,g,W>>5&8191),g+=ga[$])}else la(t,g,at[W]),g+=ot[W]}return la(t,g,at[256]),g+ot[256]},Mc=new $a([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),yl=new Re(0),Rc=function(n,t,e,r,s,a){var f=a.z||n.length,l=new Re(r+f+5*(1+Math.ceil(f/7e3))+s),c=l.subarray(r,l.length-s),d=a.l,g=(a.r||0)&7;if(t){g&&(c[0]=a.r>>3);for(var w=Mc[t-1],x=w>>13,p=w&8191,B=(1<<e)-1,P=a.p||new kn(32768),j=a.h||new kn(B+1),S=Math.ceil(e/3),V=2*S,z=function(Dt){return(n[Dt]^n[Dt+1]<<S^n[Dt+2]<<V)&B},T=new $a(25e3),rt=new kn(288),gt=new kn(32),ut=0,Y=0,R=a.i||0,X=0,N=a.w||0,C=0;R+2<f;++R){var H=z(R),q=R&32767,it=j[H];if(P[q]=it,j[H]=q,N<=R){var at=f-R;if((ut>7e3||X>24576)&&(at>423||!d)){g=sl(n,c,0,T,rt,gt,Y,X,C,R-C,g),X=ut=Y=0,C=R;for(var ot=0;ot<286;++ot)rt[ot]=0;for(var ot=0;ot<30;++ot)gt[ot]=0}var et=2,ct=0,xt=p,bt=q-it&32767;if(at>2&&H==z(R-bt))for(var A=Math.min(x,at)-1,M=Math.min(32767,R),D=Math.min(258,at);bt<=M&&--xt&&q!=it;){if(n[R+et]==n[R+et-bt]){for(var W=0;W<D&&n[R+W]==n[R+W-bt];++W);if(W>et){if(et=W,ct=bt,W>A)break;for(var $=Math.min(bt,W-2),Q=0,ot=0;ot<$;++ot){var st=R-bt+ot&32767,lt=P[st],vt=st-lt&32767;vt>Q&&(Q=vt,it=st)}}}q=it,it=P[q],bt+=q-it&32767}if(ct){T[X++]=268435456|Ys[et]<<18|il[ct];var At=Ys[et]&31,St=il[ct]&31;Y+=pa[At]+ga[St],++rt[257+At],++gt[St],N=R+et,++ut}else T[X++]=n[R],++rt[n[R]]}}for(R=Math.max(R,N);R<f;++R)T[X++]=n[R],++rt[n[R]];g=sl(n,c,d,T,rt,gt,Y,X,C,R-C,g),d||(a.r=g&7|c[g/8|0]<<3,g-=7,a.h=j,a.p=P,a.i=R,a.w=N)}else{for(var R=a.w||0;R<f+d;R+=65535){var Lt=R+65535;Lt>=f&&(c[g/8|0]=d,Lt=f),g=wl(c,g+1,n.subarray(R,Lt))}a.i=f}return ji(l,0,r+Ka(g)+s)},dh=(function(){for(var n=new Int32Array(256),t=0;t<256;++t){for(var e=t,r=9;--r;)e=(e&1&&-306674912)^e>>>1;n[t]=e}return n})(),ph=function(){var n=-1;return{p:function(t){for(var e=n,r=0;r<t.length;++r)e=dh[e&255^t[r]]^e>>>8;n=e},d:function(){return~n}}},Tc=function(){var n=1,t=0;return{p:function(e){for(var r=n,s=t,a=e.length|0,f=0;f!=a;){for(var l=Math.min(f+2655,a);f<l;++f)s+=r+=e[f];r=(r&65535)+15*(r>>16),s=(s&65535)+15*(s>>16)}n=r,t=s},d:function(){return n%=65521,t%=65521,(n&255)<<24|(n&65280)<<8|(t&255)<<8|t>>8}}},_l=function(n,t,e,r,s){if(!s&&(s={l:1},t.dictionary)){var a=t.dictionary.subarray(-32768),f=new Re(a.length+n.length);f.set(a),f.set(n,a.length),n=f,s.w=a.length}return Rc(n,t.level==null?6:t.level,t.mem==null?s.l?Math.ceil(Math.max(8,Math.min(13,Math.log(n.length)))*1.5):20:12+t.mem,e,r,s)},Al=function(n,t){var e={};for(var r in n)e[r]=n[r];for(var r in t)e[r]=t[r];return e},hu=function(n,t,e){for(var r=n(),s=n.toString(),a=s.slice(s.indexOf("[")+1,s.lastIndexOf("]")).replace(/\s+/g,"").split(","),f=0;f<r.length;++f){var l=r[f],c=a[f];if(typeof l=="function"){t+=";"+c+"=";var d=l.toString();if(l.prototype)if(d.indexOf("[native code]")!=-1){var g=d.indexOf(" ",8)+1;t+=d.slice(g,d.indexOf("(",g))}else{t+=d;for(var w in l.prototype)t+=";"+c+".prototype."+w+"="+l.prototype[w].toString()}else t+=d}else e[c]=l}return t},Os=[],gh=function(n){var t=[];for(var e in n)n[e].buffer&&t.push((n[e]=new n[e].constructor(n[e])).buffer);return t},vh=function(n,t,e,r){if(!Os[e]){for(var s="",a={},f=n.length-1,l=0;l<f;++l)s=hu(n[l],s,a);Os[e]={c:hu(n[f],s,a),e:a}}var c=Al({},Os[e].e);return hh(Os[e].c+";onmessage=function(e){for(var k in e.data)self[k]=e.data[k];onmessage="+t.toString()+"}",e,c,gh(c),r)},Dc=function(){return[Re,kn,$a,pa,ga,Va,ml,Cc,Fc,jc,Ga,Bc,$n,zs,Yn,Hs,Ka,ji,Me,bl,Sl,Xa,xl]},mh=function(){return[Re,kn,$a,pa,ga,Va,Ys,il,Ec,Dr,Oc,da,Ga,Mc,yl,$n,br,la,Ws,Js,al,ua,wl,sl,Ka,ji,Rc,_l,Ll,Xa]},bh=function(){return[qc]},Xa=function(n){return postMessage(n,[n.buffer])},xl=function(n){return n&&{out:n.size&&new Re(n.size),dictionary:n.dictionary}},Nl=function(n,t,e,r,s,a){var f=vh(e,r,s,function(l,c){f.terminate(),a(l,c)});return f.postMessage([n,t],t.consume?[n.buffer]:[]),function(){f.terminate()}},_r=function(n,t){return n[t]|n[t+1]<<8},Jn=function(n,t){return(n[t]|n[t+1]<<8|n[t+2]<<16|n[t+3]<<24)>>>0},Ro=function(n,t){return Jn(n,t)+Jn(n,t+4)*4294967296},an=function(n,t,e){for(;e;++t)n[t]=e,e>>>=8},wh=function(n,t){var e=t.level,r=e==0?0:e<6?1:e==9?3:2;if(n[0]=120,n[1]=r<<6|(t.dictionary&&32),n[1]|=31-(n[0]<<8|n[1])%31,t.dictionary){var s=Tc();s.p(t.dictionary),an(n,2,s.d())}},qc=function(n,t){return((n[0]&15)!=8||n[0]>>4>7||(n[0]<<8|n[1])%31)&&Me(6,"invalid zlib data"),(n[1]>>5&1)==+!t&&Me(6,"invalid zlib data: "+(n[1]&32?"need":"unexpected")+" dictionary"),(n[1]>>3&4)+2};function yh(n,t,e){return e||(e=t,t={}
2),typeof e!="function"&&Me(7),Nl(n,t,[mh],function(r){return Xa(Ll(r.data[0],r.data[1]))},0,e)}function Ll(n,t){return _l(n,t||{},0,0)}function _h(n,t,e){return e||(e=t,t={}),typeof e!="function"&&Me(7),Nl(n,t,[Dc],function(r){return Xa(Sl(r.data[0],xl(r.data[1])))},1,e)}function Sl(n,t){return bl(n,{i:2},t&&t.out,t&&t.dictionary)}function ol(n,t){t||(t={});var e=Tc();e.p(n);var r=_l(n,t,t.dictionary?6:2,4);return wh(r,t),an(r,r.length-4,e.d()),r}function u0(n,t,e){return e||(e=t,t={}),typeof e!="function"&&Me(7),Nl(n,t,[Dc,bh,function(){return[du]}],function(r){return Xa(du(r.data[0],xl(r.data[1])))},5,e)}function du(n,t){return bl(n.subarray(qc(n,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var Uc=function(n,t,e,r){for(var s in n){var a=n[s],f=t+s,l=r;Array.isArray(a)&&(l=Al(r,a[1]),a=a[0]),ArrayBuffer.isView(a)?e[f]=[a,l]:(e[f+="/"]=[new Re(0),l],Uc(a,f,e,r))}},pu=typeof TextEncoder<"u"&&new TextEncoder,ll=typeof TextDecoder<"u"&&new TextDecoder,Ah=0;try{ll.decode(yl,{stream:!0}),Ah=1}catch{}var xh=function(n){for(var t="",e=0;;){var r=n[e++],s=(r>127)+(r>223)+(r>239);if(e+s>n.length)return{s:t,r:ji(n,e-1)};s?s==3?(r=((r&15)<<18|(n[e++]&63)<<12|(n[e++]&63)<<6|n[e++]&63)-65536,t+=String.fromCharCode(55296|r>>10,56320|r&1023)):s&1?t+=String.fromCharCode((r&31)<<6|n[e++]&63):t+=String.fromCharCode((r&15)<<12|(n[e++]&63)<<6|n[e++]&63):t+=String.fromCharCode(r)}};function gu(n,t){var e;if(pu)return pu.encode(n);for(var r=n.length,s=new Re(n.length+(n.length>>1)),a=0,f=function(d){s[a++]=d},e=0;e<r;++e){if(a+5>s.length){var l=new Re(a+8+(r-e<<1));l.set(s),s=l}var c=n.charCodeAt(e);c<128||t?f(c):c<2048?(f(192|c>>6),f(128|c&63)):c>55295&&c<57344?(c=65536+(c&1047552)|n.charCodeAt(++e)&1023,f(240|c>>18),f(128|c>>12&63),f(128|c>>6&63),f(128|c&63)):(f(224|c>>12),f(128|c>>6&63),f(128|c&63))}return ji(s,0,a)}function Nh(n,t){if(t){for(var e="",r=0;r<n.length;r+=16384)e+=String.fromCharCode.apply(null,n.subarray(r,r+16384));return e}else{if(ll)return ll.decode(n);var s=xh(n),a=s.s,e=s.r;return e.length&&Me(8),a}}var Lh=function(n,t){return t+30+_r(n,t+26)+_r(n,t+28)},Sh=function(n,t,e){var r=_r(n,t+28),s=_r(n,t+30),a=Nh(n.subarray(t+46,t+46+r),!(_r(n,t+8)&2048)),f=t+46+r,l=kh(n,f,s,e,Jn(n,t+20),Jn(n,t+24),Jn(n,t+42)),c=l[0],d=l[1],g=l[2];return[_r(n,t+10),c,d,a,f+s+_r(n,t+32),g]},kh=function(n,t,e,r,s,a,f){var l=s==4294967295,c=a==4294967295,d=f==4294967295,g=t+e,w=l+c+d;if(r&&w){for(;t+4<g;t+=4+_r(n,t+2))if(_r(n,t)==1)return[l?Ro(n,t+4+8*c):s,c?Ro(n,t+4):a,d?Ro(n,t+4+8*(c+l)):f,1];r<2&&Me(13)}return[s,a,f,0]},ul=function(n){var t=0;if(n)for(var e in n){var r=n[e].length;r>65535&&Me(9),t+=r+4}return t},vu=function(n,t,e,r,s,a,f,l){var c=r.length,d=e.extra,g=l&&l.length,w=ul(d);an(n,t,f!=null?33639248:67324752),t+=4,f!=null&&(n[t++]=20,n[t++]=e.os),n[t]=20,t+=2,n[t++]=e.flag<<1|(a<0&&8),n[t++]=s&&8,n[t++]=e.compression&255,n[t++]=e.compression>>8;var x=new Date(e.mtime==null?Date.now():e.mtime),p=x.getFullYear()-1980;if((p<0||p>119)&&Me(10),an(n,t,p<<25|x.getMonth()+1<<21|x.getDate()<<16|x.getHours()<<11|x.getMinutes()<<5|x.getSeconds()>>1),t+=4,a!=-1&&(an(n,t,e.crc),an(n,t+4,a<0?-a-2:a),an(n,t+8,e.size)),an(n,t+12,c),an(n,t+14,w),t+=16,f!=null&&(an(n,t,g),an(n,t+6,e.attrs),an(n,t+10,f),t+=14),n.set(r,t),t+=c,w)for(var B in d){var P=d[B],j=P.length;an(n,t,+B),an(n,t+2,j),n.set(P,t+4),t+=4+j}return g&&(n.set(l,t),t+=g),t},Ph=function(n,t,e,r,s){an(n,t,101010256),an(n,t+8,e),an(n,t+10,e),an(n,t+12,r),an(n,t+16,s)};function c0(n,t,e){e||(e=t,t={}),typeof e!="function"&&Me(7);var r={};Uc(n,"",r,t);var s=Object.keys(r),a=s.length,f=0,l=0,c=a,d=new Array(a),g=[],w=function(){for(var j=0;j<g.length;++j)g[j]()},x=function(j,S){$s(function(){e(j,S)})};
vendor: 1,131 bytes, line 2
2$s(function(){x=e});var p=function(){var j=new Re(l+22),S=f,V=l-f;l=0;for(var z=0;z<c;++z){var T=d[z];try{var rt=T.c.length;vu(j,l,T,T.f,T.u,rt);var gt=30+T.f.length+ul(T.extra),ut=l+gt;j.set(T.c,ut),vu(j,f,T,T.f,T.u,rt,l,T.m),f+=16+gt+(T.m?T.m.length:0),l=ut+rt}catch(Y){return x(Y,null)}}Ph(j,f,d.length,V,S),x(null,j)};a||p();for(var B=function(j){var S=s[j],V=r[S],z=V[0],T=V[1],rt=ph(),gt=z.length;rt.p(z);var ut=gu(S),Y=ut.length,R=T.comment,X=R&&gu(R),N=X&&X.length,C=ul(T.extra),H=T.level==0?0:8,q=function(it,at){if(it)w(),x(it,null);else{var ot=at.length;d[j]=Al(T,{size:gt,crc:rt.d(),c:at,f:ut,m:X,u:Y!=S.length||X&&R.length!=N,compression:H}),f+=30+Y+C+ot,l+=76+2*(Y+C)+(N||0)+ot,--a||p()}};if(Y>65535&&q(Me(11,0,1),null),!H)q(null,z);else if(gt<16e4)try{q(null,Ll(z,T))}catch(it){q(it,null)}else g.push(yh(z,T,q))},P=0;P<c;++P)B(P);return w}var $s=typeof queueMicrotask=="function"?queueMicrotask:typeof setTimeout=="function"?setTimeout:function(n){n()};function f0(n,t,e){e||(e=t,t={}),typeof e!="function"&&Me(7);var r=[],s=function(){for(var j=0;j<r.length;++j)r[j]()},a={},f=function(j,S){$s(function(){e(j,S)})};
2$s(function(){f=e});for(var l=n.length-22;Jn(n,l)!=101010256;--l)if(!l||n.length-l>65558)return f(Me(13,0,1),null),s;var c=_r(n,l+8);if(c){var d=c,g=Jn(n,l+16),w=Jn(n,l-20)==117853008;if(w){var x=Jn(n,l-12);w=Jn(n,x)==101075792,w&&(d=c=Jn(n,x+32),g=Jn(n,x+48))}for(var p=t&&t.filter,B=function(j){var S=Sh(n,g,w),V=S[0],z=S[1],T=S[2],rt=S[3],gt=S[4],ut=S[5],Y=Lh(n,ut);g=gt;var R=function(N,C){N?(s(),f(N,null)):(C&&(a[rt]=C),--c||f(null,a))};if(!p||p({name:rt,size:z,originalSize:T,compression:V}))if(!V)R(null,ji(n,Y,Y+z));else if(V==8){var X=n.subarray(Y,Y+z);if(T<524288||z>.8*T)try{R(null,Sl(X,{out:new Re(T)}))}catch(N){R(N,null)}else r.push(_h(X,{size:T},R))}else R(Me(14,"unknown compression type "+V,1),null);else R(null,null)},P=0;P<d;++P)B(P)}else f(null,{});return s}function Ih(n){if(Array.isArray(n))return n}function Ch(n,t){var e=n==null?null:typeof Symbol<"u"&&n[Symbol.iterator]||n["@@iterator"];if(e!=null){var r,s,a,f,l=[],c=!0,d=!1;try{if(a=(e=e.call(n)).next,t!==0)for(;!(c=(r=a.call(e)).done)&&(l.push(r.value),l.length!==t);c=!0);}catch(g){d=!0,s=g}finally{try{if(!c&&e.return!=null&&(f=e.return(),Object(f)!==f))return}finally{if(d)throw s}}return l}}function mu(n,t){(t==null||t>n.length)&&(t=n.length);for(var e=0,r=Array(t);e<t;e++)r[e]=n[e];return r}function Eh(n,t){if(n){if(typeof n=="string")return mu(n,t);var e={}.toString.call(n).slice(8,-1);return e==="Object"&&n.constructor&&(e=n.constructor.name),e==="Map"||e==="Set"?Array.from(n):e==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(e)?mu(n,t):void 0}}function Fh(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
3In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function bu(n,t){return Ih(n)||Ch(n,t)||Eh(n,t)||Fh()}function wu(n,t="utf8"){return new TextDecoder(t).decode(n)}const Oh=new TextEncoder;function jh(n){return Oh.encode(n)}const Bh=1024*8,Mh=(()=>{const n=new Uint8Array(4),t=new Uint32Array(n.buffer);return!((t[0]=1)&n[0])})(),To={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 kl{buffer;byteLength;byteOffset;length;offset;lastWrittenByte;littleEndian;_data;_mark;_marks;constructor(t=Bh,e={}){let r=!1;typeof t=="number"?t=new ArrayBuffer(t):(r=!0,this.lastWrittenByte=t.byteLength);const s=e.offset?e.offset>>>0:0,a=t.byteLength-s;let f=s;(ArrayBuffer.isView(t)||t instanceof kl)&&(t.byteLength!==t.buffer.byteLength&&(f=t.byteOffset+s),t=t.buffer),r?this.lastWrittenByte=a:this.lastWrittenByte=0,this.buffer=t,this.length=a,this.byteLength=a,this.byteOffset=f,this.offset=0,this.littleEndian=!0,this._data=new DataView(this.buffer,f,a),this._mark=0,this._marks=[]}available(t=1){return this.offset+t<=this.length}isLittleEndian(){return this.littleEndian}setLittleEndian(){return this.littleEndian=!0,this}isBigEndian(){return!this.littleEndian}setBigEndian(){return this.littleEndian=!1,this}skip(t=1){return this.offset+=t,this}back(t=1){return this.offset-=t,this}seek(t){return this.offset=t,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 t=this._marks.pop();if(t===void 0)throw new Error("Mark stack empty");return this.seek(t),this}rewind(){return this.offset=0,this}ensureAvailable(t=1){if(!this.available(t)){const r=(this.offset+t)*2,s=new Uint8Array(r);s.set(new Uint8Array(this.buffer)),this.buffer=s.buffer,this.length=r,this.byteLength=r,this._data=new DataView(this.buffer)}return this}readBoolean(){return this.readUint8()!==0}readInt8(){return this._data.getInt8(this.offset++)}readUint8(){return this._data.getUint8(this.offset++)}readByte(){return this.readUint8()}readBytes(t=1){return this.readArray(t,"uint8")}readArray(t,e){const r=To[e].BYTES_PER_ELEMENT*t,s=this.byteOffset+this.offset,a=this.buffer.slice(s,s+r);if(this.littleEndian===Mh&&e!=="uint8"&&e!=="int8"){const l=new Uint8Array(this.buffer.slice(s,s+r));l.reverse();const c=new To[e](l.buffer);return this.offset+=r,c.reverse(),c}const f=new To[e](a);return this.offset+=r,f}readInt16(){const t=this._data.getInt16(this.offset,this.littleEndian);return this.offset+=2,t}readUint16(){const t=this._data.getUint16(this.offset,this.littleEndian);return this.offset+=2,t}readInt32(){const t=this._data.getInt32(this.offset,this.littleEndian);return this.offset+=4,t}readUint32(){const t=this._data.getUint32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat32(){const t=this._data.getFloat32(this.offset,this.littleEndian);return this.offset+=4,t}readFloat64(){const t=this._data.getFloat64(this.offset,this.littleEndian);return this.offset+=8,t}readBigInt64(){const t=this._data.getBigInt64(this.offset,this.littleEndian);return this.offset+=8,t}readBigUint64(){const t=this._data.getBigUint64(this.offset,this.littleEndian);return this.offset+=8,t}readChar(){return String.fromCharCode(this.readInt8())}readChars(t=1){let e="";for(let r=0;r<t;r++)e+=this.readChar();return e}readUtf8(t=1){return wu(this.readBytes(t))}decodeText(t=1,e="utf8"){return wu(this.readBytes(t),e)}writeBoolean(t){return this.writeUint8(t?255:0),this}writeInt8(t){return this.ensureAvailable(1),this._data.setInt8(this.offset++,t),this._updateLastWrittenByte(),this}writeUint8(t){return this.ensureAvailable(1),this._data.setUint8(this.offset++,t),this._updateLastWrittenByte(),this}writeByte(t){return this.writeUint8(t)}writeBytes(t){this.ensureAvailable(t.length);for(let e=0;e<t.length;e++)this._data.setUint8(this.offset++,t[e]);return this._updateLastWrittenByte(),this}writeInt16(t){return this.ensureAvailable(2),this._data.setInt16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeUint16(t){return this.ensureAvailable(2),this._data.setUint16(this.offset,t,this.littleEndian),this.offset+=2,this._updateLastWrittenByte(),this}writeInt32(t){return this.ensureAvailable(4),this._data.setInt32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeUint32(t){return this.ensureAvailable(4),this._data.setUint32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat32(t){return this.ensureAvailable(4),this._data.setFloat32(this.offset,t,this.littleEndian),this.offset+=4,this._updateLastWrittenByte(),this}writeFloat64(t){return this.ensureAvailable(8),this._data.setFloat64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigInt64(t){return this.ensureAvailable(8),this._data.setBigInt64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeBigUint64(t){return this.ensureAvailable(8),this._data.setBigUint64(this.offset,t,this.littleEndian),this.offset+=8,this._updateLastWrittenByte(),this}writeChar(t){return this.writeUint8(t.charCodeAt(0))}writeChars(t){for(let e=0;e<t.length;e++)this.writeUint8(t.charCodeAt(e));return this}writeUtf8(t){return this.writeBytes(jh(t))}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 va(n){let t=n.length;for(;--t>=0;)n[t]=0}const Rh=3,Th=258,zc=29,Dh=256,qh=Dh+1+zc,Hc=30,Uh=512,zh=new Array((qh+2)*2);va(zh);const Hh=new Array(Hc*2);va(Hh);const Wh=new Array(Uh);va(Wh);const Vh=new Array(Th-Rh+1);va(Vh);const Gh=new Array(zc);va(Gh);const Yh=new Array(Hc);va(Yh);const Jh=(n,t,e,r)=>{let s=n&65535|0,a=n>>>16&65535|0,f=0;for(;e!==0;){f=e>2e3?2e3:e,e-=f;do s=s+t[r++]|0,a=a+s|0;while(--f);
vendor: 13,005 bytes, line 3
3s%=65521,a%=65521}return s|a<<16|0};var cl=Jh;const $h=()=>{let n,t=[];for(var e=0;e<256;e++){n=e;for(var r=0;r<8;r++)n=n&1?3988292384^n>>>1:n>>>1;t[e]=n}return t},Kh=new Uint32Array($h()),Xh=(n,t,e,r)=>{const s=Kh,a=r+e;n^=-1;for(let f=r;f<a;f++)n=n>>>8^s[(n^t[f])&255];return n^-1};var mr=Xh,fl={2:"need dictionary",1:"stream end",0:"","-1":"file error","-2":"stream error","-3":"data error","-4":"insufficient memory","-5":"buffer error","-6":"incompatible version"},Wc={Z_NO_FLUSH:0,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_MEM_ERROR:-4,Z_BUF_ERROR:-5,Z_DEFLATED:8};const Zh=(n,t)=>Object.prototype.hasOwnProperty.call(n,t);var Qh=function(n){const t=Array.prototype.slice.call(arguments,1);for(;t.length;){const e=t.shift();if(e){if(typeof e!="object")throw new TypeError(e+"must be non-object");for(const r in e)Zh(e,r)&&(n[r]=e[r])}}return n},t1=n=>{let t=0;for(let r=0,s=n.length;r<s;r++)t+=n[r].length;const e=new Uint8Array(t);for(let r=0,s=0,a=n.length;r<a;r++){let f=n[r];e.set(f,s),s+=f.length}return e},Vc={assign:Qh,flattenChunks:t1};let Gc=!0;try{String.fromCharCode.apply(null,new Uint8Array(1))}catch{Gc=!1}const Ya=new Uint8Array(256);for(let n=0;n<256;n++)Ya[n]=n>=252?6:n>=248?5:n>=240?4:n>=224?3:n>=192?2:1;Ya[254]=Ya[255]=1;var e1=n=>{if(typeof TextEncoder=="function"&&TextEncoder.prototype.encode)return new TextEncoder().encode(n);let t,e,r,s,a,f=n.length,l=0;for(s=0;s<f;s++)e=n.charCodeAt(s),(e&64512)===55296&&s+1<f&&(r=n.charCodeAt(s+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),s++)),l+=e<128?1:e<2048?2:e<65536?3:4;for(t=new Uint8Array(l),a=0,s=0;a<l;s++)e=n.charCodeAt(s),(e&64512)===55296&&s+1<f&&(r=n.charCodeAt(s+1),(r&64512)===56320&&(e=65536+(e-55296<<10)+(r-56320),s++)),e<128?t[a++]=e:e<2048?(t[a++]=192|e>>>6,t[a++]=128|e&63):e<65536?(t[a++]=224|e>>>12,t[a++]=128|e>>>6&63,t[a++]=128|e&63):(t[a++]=240|e>>>18,t[a++]=128|e>>>12&63,t[a++]=128|e>>>6&63,t[a++]=128|e&63);return t};const n1=(n,t)=>{if(t<65534&&n.subarray&&Gc)return String.fromCharCode.apply(null,n.length===t?n:n.subarray(0,t));let e="";for(let r=0;r<t;r++)e+=String.fromCharCode(n[r]);return e};var r1=(n,t)=>{const e=t||n.length;if(typeof TextDecoder=="function"&&TextDecoder.prototype.decode)return new TextDecoder().decode(n.subarray(0,t));let r,s;const a=new Array(e*2);for(s=0,r=0;r<e;){let f=n[r++];if(f<128){a[s++]=f;continue}let l=Ya[f];if(l>4){a[s++]=65533,r+=l-1;continue}for(f&=l===2?31:l===3?15:7;l>1&&r<e;)f=f<<6|n[r++]&63,l--;if(l>1){a[s++]=65533;continue}f<65536?a[s++]=f:(f-=65536,a[s++]=55296|f>>10&1023,a[s++]=56320|f&1023)}return n1(a,s)},i1=(n,t)=>{t=t||n.length,t>n.length&&(t=n.length);let e=t-1;for(;e>=0&&(n[e]&192)===128;)e--;return e<0||e===0?t:e+Ya[n[e]]>t?e:t},hl={string2buf:e1,buf2string:r1,utf8border:i1};function a1(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg="",this.state=null,this.data_type=2,this.adler=0}var s1=a1;const js=16209,o1=16191;var l1=function(t,e){let r,s,a,f,l,c,d,g,w,x,p,B,P,j,S,V,z,T,rt,gt,ut,Y,R,X;const N=t.state;r=t.next_in,R=t.input,s=r+(t.avail_in-5),a=t.next_out,X=t.output,f=a-(e-t.avail_out),l=a+(t.avail_out-257),c=N.dmax,d=N.wsize,g=N.whave,w=N.wnext,x=N.window,p=N.hold,B=N.bits,P=N.lencode,j=N.distcode,S=(1<<N.lenbits)-1,V=(1<<N.distbits)-1;t:do{B<15&&(p+=R[r++]<<B,B+=8,p+=R[r++]<<B,B+=8),z=P[p&S];e:for(;;){if(T=z>>>24,p>>>=T,B-=T,T=z>>>16&255,T===0)X[a++]=z&65535;else if(T&16){rt=z&65535,T&=15,T&&(B<T&&(p+=R[r++]<<B,B+=8),rt+=p&(1<<T)-1,p>>>=T,B-=T),B<15&&(p+=R[r++]<<B,B+=8,p+=R[r++]<<B,B+=8),z=j[p&V];n:for(;;){if(T=z>>>24,p>>>=T,B-=T,T=z>>>16&255,T&16){if(gt=z&65535,T&=15,B<T&&(p+=R[r++]<<B,B+=8,B<T&&(p+=R[r++]<<B,B+=8)),gt+=p&(1<<T)-1,gt>c){t.msg="invalid distance too far back",N.mode=js;break t}if(p>>>=T,B-=T,T=a-f,gt>T){if(T=gt-T,T>g&&N.sane){t.msg="invalid distance too far back",N.mode=js;break t}if(ut=0,Y=x,w===0){if(ut+=d-T,T<rt){rt-=T;do X[a++]=x[ut++];while(--T);ut=a-gt,Y=X}}else if(w<T){if(ut+=d+w-T,T-=w,T<rt){rt-=T;do X[a++]=x[ut++];while(--T);if(ut=0,w<rt){T=w,rt-=T;do X[a++]=x[ut++];while(--T);ut=a-gt,Y=X}}}else if(ut+=w-T,T<rt){rt-=T;do X[a++]=x[ut++];while(--T);ut=a-gt,Y=X}for(;rt>2;)X[a++]=Y[ut++],X[a++]=Y[ut++],X[a++]=Y[ut++],rt-=3;rt&&(X[a++]=Y[ut++],rt>1&&(X[a++]=Y[ut++]))}else{ut=a-gt;do X[a++]=X[ut++],X[a++]=X[ut++],X[a++]=X[ut++],rt-=3;while(rt>2);rt&&(X[a++]=X[ut++],rt>1&&(X[a++]=X[ut++]))}}else if((T&64)===0){z=j[(z&65535)+(p&(1<<T)-1)];continue n}else{t.msg="invalid distance code",N.mode=js;break t}break}}else if((T&64)===0){z=P[(z&65535)+(p&(1<<T)-1)];continue e}else if(T&32){N.mode=o1;break t}else{t.msg="invalid literal/length code",N.mode=js;break t}break}}while(r<s&&a<l);rt=B>>3,r-=rt,B-=rt<<3,p&=(1<<B)-1,t.next_in=r,t.next_out=a,t.avail_in=r<s?5+(s-r):5-(r-s),t.avail_out=a<l?257+(l-a):257-(a-l),N.hold=p,N.bits=B};const aa=15,yu=852,_u=592,Au=0,Do=1,xu=2,u1=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]),c1=new Uint8Array([16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,199,75]),f1=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]),h1=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]),d1=(n,t,e,r,s,a,f,l)=>{const c=l.bits;let d=0,g=0,w=0,x=0,p=0,B=0,P=0,j=0,S=0,V=0,z,T,rt,gt,ut,Y=null,R;const X=new Uint16Array(aa+1),N=new Uint16Array(aa+1);let C=null,H,q,it;for(d=0;d<=aa;d++)X[d]=0;for(g=0;g<r;g++)X[t[e+g]]++;for(p=c,x=aa;x>=1&&X[x]===0;x--);if(p>x&&(p=x),x===0)return s[a++]=1<<24|64<<16|0,s[a++]=1<<24|64<<16|0,l.bits=1,0;for(w=1;w<x&&X[w]===0;w++);for(p<w&&(p=w),j=1,d=1;d<=aa;d++)if(j<<=1,j-=X[d],j<0)return-1;if(j>0&&(n===Au||x!==1))return-1;for(N[1]=0,d=1;d<aa;d++)N[d+1]=N[d]+X[d];for(g=0;g<r;g++)t[e+g]!==0&&(f[N[t[e+g]]++]=g);if(n===Au?(Y=C=f,R=20):n===Do?(Y=u1,C=c1,R=257):(Y=f1,C=h1,R=0),V=0,g=0,d=w,ut=a,B=p,P=0,rt=-1,S=1<<p,gt=S-1,n===Do&&S>yu||n===xu&&S>_u)return 1;for(;;){H=d-P,f[g]+1<R?(q=0,it=f[g]):f[g]>=R?(q=C[f[g]-R],it=Y[f[g]-R]):(q=96,it=0),z=1<<d-P,T=1<<B,w=T;do T-=z,s[ut+(V>>P)+T]=H<<24|q<<16|it|0;while(T!==0);for(z=1<<d-1;V&z;)z>>=1;if(z!==0?(V&=z-1,V+=z):V=0,g++,--X[d]===0){if(d===x)break;d=t[e+f[g]]}if(d>p&&(V&gt)!==rt){for(P===0&&(P=p),ut+=w,B=d-P,j=1<<B;B+P<x&&(j-=X[B+P],!(j<=0));)B++,j<<=1;if(S+=1<<B,n===Do&&S>yu||n===xu&&S>_u)return 1;rt=V&gt,s[rt]=p<<24|B<<16|ut-a|0}}return V!==0&&(s[ut+V]=d-P<<24|64<<16|0),l.bits=p,0};var qa=d1;const p1=0,Yc=1,Jc=2,{Z_FINISH:Nu,Z_BLOCK:g1,Z_TREES:Bs,Z_OK:Fi,Z_STREAM_END:v1,Z_NEED_DICT:m1,Z_STREAM_ERROR:Kn,Z_DATA_ERROR:$c,Z_MEM_ERROR:Kc,Z_BUF_ERROR:b1,Z_DEFLATED:Lu}=Wc,Zs=16180,Su=16181,ku=16182,Pu=16183,Iu=16184,Cu=16185,Eu=16186,Fu=16187,Ou=16188,ju=16189,Ks=16190,Tr=16191,qo=16192,Bu=16193,Uo=16194,Mu=16195,Ru=16196,Tu=16197,Du=16198,Ms=16199,Rs=16200,qu=16201,Uu=16202,zu=16203,Hu=16204,Wu=16205,zo=16206,Vu=16207,Gu=16208,Be=16209,Xc=16210,Zc=16211,w1=852,y1=592,_1=15,A1=_1,Yu=n=>(n>>>24&255)+(n>>>8&65280)+((n&65280)<<8)+((n&255)<<24);function x1(){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 Bi=n=>{if(!n)return 1;const t=n.state;return!t||t.strm!==n||t.mode<Zs||t.mode>Zc?1:0},Qc=n=>{if(Bi(n))return Kn;const t=n.state;return n.total_in=n.total_out=t.total=0,n.msg="",t.wrap&&(n.adler=t.wrap&1),t.mode=Zs,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(w1),t.distcode=t.distdyn=new Int32Array(y1),t.sane=1,t.back=-1,Fi},tf=n=>{if(Bi(n))return Kn;const t=n.state;return t.wsize=0,t.whave=0,t.wnext=0,Qc(n)},ef=(n,t)=>{let e;if(Bi(n))return Kn;const r=n.state;return t<0?(e=0,t=-t):(e=(t>>4)+5,t<48&&(t&=15)),t&&(t<8||t>15)?Kn:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=e,r.wbits=t,tf(n))},nf=(n,t)=>{if(!n)return Kn;const e=new x1;n.state=e,e.strm=n,e.window=null,e.mode=Zs;const r=ef(n,t);return r!==Fi&&(n.state=null),r},N1=n=>nf(n,A1);let Ju=!0,Ho,Wo;const L1=n=>{if(Ju){Ho=new Int32Array(512),Wo=new Int32Array(32);let t=0;for(;t<144;)n.lens[t++]=8;for(;t<256;)n.lens[t++]=9;for(;t<280;)n.lens[t++]=7;for(;t<288;)n.lens[t++]=8;for(qa(Yc,n.lens,0,288,Ho,0,n.work,{bits:9}),t=0;t<32;)n.lens[t++]=5;qa(Jc,n.lens,0,32,Wo,0,n.work,{bits:5}),Ju=!1}n.lencode=Ho,n.lenbits=9,n.distcode=Wo,n.distbits=5},rf=(n,t,e,r)=>{let s;const a=n.state;return a.window===null&&(a.window=new Uint8Array(1<<a.wbits)),a.wsize===0&&(a.wsize=1<<a.wbits,a.wnext=0,a.whave=0),r>=a.wsize?(a.window.set(t.subarray(e-a.wsize,e),0),a.wnext=0,a.whave=a.wsize):(s=a.wsize-a.wnext,s>r&&(s=r),a.window.set(t.subarray(e-r,e-r+s),a.wnext),r-=s,r?(a.window.set(t.subarray(e-r,e),0),a.wnext=r,a.whave=a.wsize):(a.wnext+=s,a.wnext===a.wsize&&(a.wnext=0),a.whave<a.wsize&&(a.whave+=s))),0},S1=(n,t)=>{let e,r,s,a,f,l,c,d,g,w,x,p,B,P,j=0,S,V,z,T,rt,gt,ut,Y;const R=new Uint8Array(4);let X,N;const C=new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]);if(Bi(n)||!n.output||!n.input&&n.avail_in!==0)return Kn;e=n.state,e.mode===Tr&&(e.mode=qo),f=n.next_out,s=n.output,c=n.avail_out,a=n.next_in,r=n.input,l=n.avail_in,d=e.hold,g=e.bits,w=l,x=c,Y=Fi;t:for(;;)switch(e.mode){case Zs:if(e.wrap===0){e.mode=qo;break}for(;g<16;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}if(e.wrap&2&&d===35615){e.wbits===0&&(e.wbits=15),e.check=0,R[0]=d&255,R[1]=d>>>8&255,e.check=mr(e.check,R,2,0),d=0,g=0,e.mode=Su;break}if(e.head&&(e.head.done=!1),!(e.wrap&1)||(((d&255)<<8)+(d>>8))%31){n.msg="incorrect header check",e.mode=Be;break}if((d&15)!==Lu){n.msg="unknown compression method",e.mode=Be;break}if(d>>>=4,g-=4,ut=(d&15)+8,e.wbits===0&&(e.wbits=ut),ut>15||ut>e.wbits){n.msg="invalid window size",e.mode=Be;break}e.dmax=1<<e.wbits,e.flags=0,n.adler=e.check=1,e.mode=d&512?ju:Tr,d=0,g=0;break;case Su:for(;g<16;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}if(e.flags=d,(e.flags&255)!==Lu){n.msg="unknown compression method",e.mode=Be;break}if(e.flags&57344){n.msg="unknown header flags set",e.mode=Be;break}e.head&&(e.head.text=d>>8&1),e.flags&512&&e.wrap&4&&(R[0]=d&255,R[1]=d>>>8&255,e.check=mr(e.check,R,2,0)),d=0,g=0,e.mode=ku;case ku:for(;g<32;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}e.head&&(e.head.time=d),e.flags&512&&e.wrap&4&&(R[0]=d&255,R[1]=d>>>8&255,R[2]=d>>>16&255,R[3]=d>>>24&255,e.check=mr(e.check,R,4,0)),d=0,g=0,e.mode=Pu;case Pu:for(;g<16;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}e.head&&(e.head.xflags=d&255,e.head.os=d>>8),e.flags&512&&e.wrap&4&&(R[0]=d&255,R[1]=d>>>8&255,e.check=mr(e.check,R,2,0)),d=0,g=0,e.mode=Iu;case Iu:if(e.flags&1024){for(;g<16;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}e.length=d,e.head&&(e.head.extra_len=d),e.flags&512&&e.wrap&4&&(R[0]=d&255,R[1]=d>>>8&255,e.check=mr(e.check,R,2,0)),d=0,g=0}else e.head&&(e.head.extra=null);e.mode=Cu;case Cu:if(e.flags&1024&&(p=e.length,p>l&&(p=l),p&&(e.head&&(ut=e.head.extra_len-e.length,e.head.extra||(e.head.extra=new Uint8Array(e.head.extra_len)),e.head.extra.set(r.subarray(a,a+p),ut)),e.flags&512&&e.wrap&4&&(e.check=mr(e.check,r,p,a)),l-=p,a+=p,e.length-=p),e.length))break t;e.length=0,e.mode=Eu;case Eu:if(e.flags&2048){if(l===0)break t;p=0;do ut=r[a+p++],e.head&&ut&&e.length<65536&&(e.head.name+=String.fromCharCode(ut));while(ut&&p<l);if(e.flags&512&&e.wrap&4&&(e.check=mr(e.check,r,p,a)),l-=p,a+=p,ut)break t}else e.head&&(e.head.name=null);e.length=0,e.mode=Fu;case Fu:if(e.flags&4096){if(l===0)break t;p=0;do ut=r[a+p++],e.head&&ut&&e.length<65536&&(e.head.comment+=String.fromCharCode(ut));while(ut&&p<l);if(e.flags&512&&e.wrap&4&&(e.check=mr(e.check,r,p,a)),l-=p,a+=p,ut)break t}else e.head&&(e.head.comment=null);e.mode=Ou;case Ou:if(e.flags&512){for(;g<16;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}if(e.wrap&4&&d!==(e.check&65535)){n.msg="header crc mismatch",e.mode=Be;break}d=0,g=0}e.head&&(e.head.hcrc=e.flags>>9&1,e.head.done=!0),n.adler=e.check=0,e.mode=Tr;break;case ju:for(;g<32;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}n.adler=e.check=Yu(d),d=0,g=0,e.mode=Ks;case Ks:if(e.havedict===0)return n.next_out=f,n.avail_out=c,n.next_in=a,n.avail_in=l,e.hold=d,e.bits=g,m1;n.adler=e.check=1,e.mode=Tr;case Tr:if(t===g1||t===Bs)break t;case qo:if(e.last){d>>>=g&7,g-=g&7,e.mode=zo;break}for(;g<3;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}switch(e.last=d&1,d>>>=1,g-=1,d&3){case 0:e.mode=Bu;break;case 1:if(L1(e),e.mode=Ms,t===Bs){d>>>=2,g-=2;break t}break;case 2:e.mode=Ru;break;case 3:n.msg="invalid block type",e.mode=Be}d>>>=2,g-=2;break;
vendor: 5,018 bytes, line 3
3case Bu:for(d>>>=g&7,g-=g&7;g<32;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}if((d&65535)!==(d>>>16^65535)){n.msg="invalid stored block lengths",e.mode=Be;break}if(e.length=d&65535,d=0,g=0,e.mode=Uo,t===Bs)break t;case Uo:e.mode=Mu;case Mu:if(p=e.length,p){if(p>l&&(p=l),p>c&&(p=c),p===0)break t;s.set(r.subarray(a,a+p),f),l-=p,a+=p,c-=p,f+=p,e.length-=p;break}e.mode=Tr;break;case Ru:for(;g<14;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}if(e.nlen=(d&31)+257,d>>>=5,g-=5,e.ndist=(d&31)+1,d>>>=5,g-=5,e.ncode=(d&15)+4,d>>>=4,g-=4,e.nlen>286||e.ndist>30){n.msg="too many length or distance symbols",e.mode=Be;break}e.have=0,e.mode=Tu;case Tu:for(;e.have<e.ncode;){for(;g<3;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}e.lens[C[e.have++]]=d&7,d>>>=3,g-=3}for(;e.have<19;)e.lens[C[e.have++]]=0;if(e.lencode=e.lendyn,e.lenbits=7,X={bits:e.lenbits},Y=qa(p1,e.lens,0,19,e.lencode,0,e.work,X),e.lenbits=X.bits,Y){n.msg="invalid code lengths set",e.mode=Be;break}e.have=0,e.mode=Du;case Du:for(;e.have<e.nlen+e.ndist;){for(;j=e.lencode[d&(1<<e.lenbits)-1],S=j>>>24,V=j>>>16&255,z=j&65535,!(S<=g);){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}if(z<16)d>>>=S,g-=S,e.lens[e.have++]=z;else{if(z===16){for(N=S+2;g<N;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}if(d>>>=S,g-=S,e.have===0){n.msg="invalid bit length repeat",e.mode=Be;break}ut=e.lens[e.have-1],p=3+(d&3),d>>>=2,g-=2}else if(z===17){for(N=S+3;g<N;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}d>>>=S,g-=S,ut=0,p=3+(d&7),d>>>=3,g-=3}else{for(N=S+7;g<N;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}d>>>=S,g-=S,ut=0,p=11+(d&127),d>>>=7,g-=7}if(e.have+p>e.nlen+e.ndist){n.msg="invalid bit length repeat",e.mode=Be;break}for(;p--;)e.lens[e.have++]=ut}}if(e.mode===Be)break;if(e.lens[256]===0){n.msg="invalid code -- missing end-of-block",e.mode=Be;break}if(e.lenbits=9,X={bits:e.lenbits},Y=qa(Yc,e.lens,0,e.nlen,e.lencode,0,e.work,X),e.lenbits=X.bits,Y){n.msg="invalid literal/lengths set",e.mode=Be;break}if(e.distbits=6,e.distcode=e.distdyn,X={bits:e.distbits},Y=qa(Jc,e.lens,e.nlen,e.ndist,e.distcode,0,e.work,X),e.distbits=X.bits,Y){n.msg="invalid distances set",e.mode=Be;break}if(e.mode=Ms,t===Bs)break t;case Ms:e.mode=Rs;case Rs:if(l>=6&&c>=258){n.next_out=f,n.avail_out=c,n.next_in=a,n.avail_in=l,e.hold=d,e.bits=g,l1(n,x),f=n.next_out,s=n.output,c=n.avail_out,a=n.next_in,r=n.input,l=n.avail_in,d=e.hold,g=e.bits,e.mode===Tr&&(e.back=-1);break}for(e.back=0;j=e.lencode[d&(1<<e.lenbits)-1],S=j>>>24,V=j>>>16&255,z=j&65535,!(S<=g);){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}if(V&&(V&240)===0){for(T=S,rt=V,gt=z;j=e.lencode[gt+((d&(1<<T+rt)-1)>>T)],S=j>>>24,V=j>>>16&255,z=j&65535,!(T+S<=g);){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}d>>>=T,g-=T,e.back+=T}if(d>>>=S,g-=S,e.back+=S,e.length=z,V===0){e.mode=Wu;break}if(V&32){e.back=-1,e.mode=Tr;break}if(V&64){n.msg="invalid literal/length code",e.mode=Be;break}e.extra=V&15,e.mode=qu;case qu:if(e.extra){for(N=e.extra;g<N;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}e.length+=d&(1<<e.extra)-1,d>>>=e.extra,g-=e.extra,e.back+=e.extra}e.was=e.length,e.mode=Uu;case Uu:for(;j=e.distcode[d&(1<<e.distbits)-1],S=j>>>24,V=j>>>16&255,z=j&65535,!(S<=g);){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}if((V&240)===0){for(T=S,rt=V,gt=z;j=e.distcode[gt+((d&(1<<T+rt)-1)>>T)],S=j>>>24,V=j>>>16&255,z=j&65535,!(T+S<=g);){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}d>>>=T,g-=T,e.back+=T}if(d>>>=S,g-=S,e.back+=S,V&64){n.msg="invalid distance code",e.mode=Be;break}e.offset=z,e.extra=V&15,e.mode=zu;case zu:if(e.extra){for(N=e.extra;g<N;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}e.offset+=d&(1<<e.extra)-1,d>>>=e.extra,g-=e.extra,e.back+=e.extra}if(e.offset>e.dmax){n.msg="invalid distance too far back",e.mode=Be;break}e.mode=Hu;case Hu:if(c===0)break t;if(p=x-c,e.offset>p){if(p=e.offset-p,p>e.whave&&e.sane){n.msg="invalid distance too far back",e.mode=Be;break}p>e.wnext?(p-=e.wnext,B=e.wsize-p):B=e.wnext-p,p>e.length&&(p=e.length),P=e.window}else P=s,B=f-e.offset,p=e.length;p>c&&(p=c),c-=p,e.length-=p;do s[f++]=P[B++];while(--p);e.length===0&&(e.mode=Rs);break;case Wu:if(c===0)break t;s[f++]=e.length,c--,e.mode=Rs;break;case zo:if(e.wrap){for(;g<32;){if(l===0)break t;l--,d|=r[a++]<<g,g+=8}if(x-=c,n.total_out+=x,e.total+=x,e.wrap&4&&x&&(n.adler=e.check=e.flags?mr(e.check,s,x,f-x):cl(e.check,s,x,f-x)),x=c,e.wrap&4&&(e.flags?d:Yu(d))!==e.check){n.msg="incorrect data check",e.mode=Be;break}d=0,g=0}e.mode=Vu;case Vu:if(e.wrap&&e.flags){for(;g<32;){if(l===0)break t;l--,d+=r[a++]<<g,g+=8}if(e.wrap&4&&d!==(e.total&4294967295)){n.msg="incorrect length check",e.mode=Be;break}d=0,g=0}e.mode=Gu;case Gu:Y=v1;break t;case Be:Y=$c;break t;case Xc:return Kc;case Zc:default:return Kn}return n.next_out=f,n.avail_out=c,n.next_in=a,n.avail_in=l,e.hold=d,e.bits=g,(e.wsize||x!==n.avail_out&&e.mode<Be&&(e.mode<zo||t!==Nu))&&rf(n,n.output,n.next_out,x-n.avail_out),w-=n.avail_in,x-=n.avail_out,n.total_in+=w,n.total_out+=x,e.total+=x,e.wrap&4&&x&&(n.adler=e.check=e.flags?mr(e.check,s,x,n.next_out-x):cl(e.check,s,x,n.next_out-x)),n.data_type=e.bits+(e.last?64:0)+(e.mode===Tr?
3128:0)+(e.mode===Ms||e.mode===Uo?256:0),(w===0&&x===0||t===Nu)&&Y===Fi&&(Y=b1),Y},k1=n=>{if(Bi(n))return Kn;let t=n.state;return t.window&&(t.window=null),n.state=null,Fi},P1=(n,t)=>{if(Bi(n))return Kn;const e=n.state;return(e.wrap&2)===0?Kn:(e.head=t,t.done=!1,Fi)},I1=(n,t)=>{const e=t.length;let r,s,a;return Bi(n)||(r=n.state,r.wrap!==0&&r.mode!==Ks)?Kn:r.mode===Ks&&(s=1,s=cl(s,t,e,0),s!==r.check)?$c:(a=rf(n,t,e,e),a?(r.mode=Xc,Kc):(r.havedict=1,Fi))};var C1=tf,E1=ef,F1=Qc,O1=N1,j1=nf,B1=S1,M1=k1,R1=P1,T1=I1,D1="pako inflate (from Nodeca project)",yr={inflateReset:C1,inflateReset2:E1,inflateResetKeep:F1,inflateInit:O1,inflateInit2:j1,inflate:B1,inflateEnd:M1,inflateGetHeader:R1,inflateSetDictionary:T1,inflateInfo:D1};function q1(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name="",this.comment="",this.hcrc=0,this.done=!1}var U1=q1;const af=Object.prototype.toString,{Z_NO_FLUSH:z1,Z_FINISH:$u,Z_OK:ha,Z_STREAM_END:Vo,Z_NEED_DICT:Go,Z_STREAM_ERROR:H1,Z_DATA_ERROR:Ku,Z_MEM_ERROR:W1,Z_BUF_ERROR:Xu}=Wc,V1={chunkSize:1024*64,windowBits:15,to:""};function Za(n){this.options=Vc.assign({},V1,n||{});const t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,t.windowBits===0&&(t.windowBits=-15)),t.windowBits>=0&&t.windowBits<16&&!(n&&n.windowBits)&&(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&(t.windowBits&15)===0&&(t.windowBits|=15),this.err=0,this.msg="",this.ended=!1,this.chunks=[],this.strm=new s1,this.strm.avail_out=0;let e=yr.inflateInit2(this.strm,t.windowBits);if(e!==ha)throw new Error(fl[e]);if(this.header=new U1,yr.inflateGetHeader(this.strm,this.header),t.dictionary&&(typeof t.dictionary=="string"?t.dictionary=hl.string2buf(t.dictionary):af.call(t.dictionary)==="[object ArrayBuffer]"&&(t.dictionary=new Uint8Array(t.dictionary)),t.raw&&(e=yr.inflateSetDictionary(this.strm,t.dictionary),e!==ha)))throw new Error(fl[e])}Za.prototype.push=function(n,t){const e=this.strm,r=this.options.chunkSize,s=this.options.dictionary;let a,f,l;if(this.ended)return!1;for(t===~~t?f=t:f=t===!0?$u:z1,af.call(n)==="[object ArrayBuffer]"?e.input=new Uint8Array(n):e.input=n,e.next_in=0,e.avail_in=e.input.length;;){for(e.avail_out===0&&(e.output=new Uint8Array(r),e.next_out=0,e.avail_out=r),a=yr.inflate(e,f),a===Go&&s&&(a=yr.inflateSetDictionary(e,s),a===ha?a=yr.inflate(e,f):a===Ku&&(a=Go));e.avail_in>0&&a===Vo&&e.state.wrap&2&&e.state.flags!==0&&e.input[e.next_in]!==0;)yr.inflateReset(e),a=yr.inflate(e,f);switch(a){case H1:case Ku:case Go:case W1:return this.onEnd(a),this.ended=!0,!1}if(l=e.avail_out,e.next_out&&(e.avail_out===0||a===Vo||f>0))if(this.options.to==="string"){let c=hl.utf8border(e.output,e.next_out),d=e.next_out-c,g=hl.buf2string(e.output,c);e.next_out=d,e.avail_out=r-d,d&&e.output.set(e.output.subarray(c,c+d),0),this.onData(g)}else this.onData(e.output.length===e.next_out?e.output:e.output.subarray(0,e.next_out)),e.avail_out=0,e.next_out=0;if(!((a===ha||a===Xu)&&l===0)){if(a===Vo)return a=yr.inflateEnd(this.strm),this.onEnd(a),this.ended=!0,!0;if(e.avail_in===0){if(f===$u)return a=yr.inflateEnd(this.strm),this.onEnd(a===ha?Xu:a),this.ended=!0,!1;break}}}return!0};Za.prototype.onData=function(n){this.chunks.push(n)};Za.prototype.onEnd=function(n){n===ha&&(this.options.to==="string"?this.result=this.chunks.join(""):this.result=Vc.flattenChunks(this.chunks)),this.chunks=[],this.err=n,this.msg=this.strm.msg};function G1(n,t){const e=new Za(t);if(e.push(n,!0),e.err)throw e.msg||fl[e.err];return e.result}var Y1=Za,J1=G1,$1={Inflate:Y1,inflate:J1};const{Inflate:K1,inflate:X1}=$1;var Zu=K1,Z1=X1;const sf=[];for(let n=0;n<256;n++){let t=n;for(let e=0;e<8;e++)t&1?t=3988292384^t>>>1:t=t>>>1;sf[n]=t}const Qu=4294967295;function Q1(n,t,e){let r=n;for(let s=0;s<e;s++)r=sf[(r^t[s])&255]^r>>>8;return r}function t2(n,t){return(Q1(Qu,n,t)^Qu)>>>0}function tc(n,t,e){const r=n.readUint32(),s=t2(new Uint8Array(n.buffer,n.byteOffset+n.offset-t-4,t),t);if(s!==r)throw new Error(`CRC mismatch for chunk ${e}. Expected ${r}, found ${s}`)}function of(n,t,e){for(let r=0;r<e;r++)t[r]=n[r]}function lf(n,t,e,r){let s=0;for(;s<r;s++)t[s]=n[s];for(;s<e;s++)t[s]=n[s]+t[s-r]&255}function uf(n,t,e,r){let s=0;if(e.length===0)for(;s<r;s++)t[s]=n[s];else for(;s<r;s++)t[s]=n[s]+e[s]&255}function cf(n,t,e,r,s){let a=0;if(e.length===0){for(;a<s;a++)t[a]=n[a];for(;a<r;a++)t[a]=n[a]+(t[a-s]>>1)&255}else{for(;a<s;a++)t[a]=n[a]+(e[a]>>1)&255;for(;a<r;a++)t[a]=n[a]+(t[a-s]+e[a]>>1)&255}}function ff(n,t,e,r,s){let a=0;if(e.length===0){for(;a<s;a++)t[a]=n[a];for(;a<r;a++)t[a]=n[a]+t[a-s]&255}else{for(;a<s;a++)t[a]=n[a]+e[a]&255;for(;a<r;a++)t[a]=n[a]+e2(t[a-s],e[a],e[a-s])&255}}function e2(n,t,e){const r=n+t-e,s=Math.abs(r-n),a=Math.abs(r-t),f=Math.abs(r-e);return s<=a&&s<=f?n:a<=f?t:e}function n2(n,t,e,r,s,a){switch(n){case 0:of(t,e,s);break;case 1:lf(t,e,s,a);break;case 2:uf(t,e,r,s);break;case 3:cf(t,e,r,s,a);break;case 4:ff(t,e,r,s,a);break;default:throw new Error(`Unsupported filter: ${n}`)}}const r2=new Uint16Array([255]),i2=new Uint8Array(r2.buffer),a2=i2[0]===255;function s2(n){const{data:t,width:e,height:r,channels:s,depth:a}=n,f=[{x:0,y:0,xStep:8,yStep:8},{x:4,y:0,xStep:8,yStep:8},{x:0,y:4,xStep:4,yStep:8},{x:2,y:0,xStep:4,yStep:4},{x:0,y:2,xStep:2,yStep:4},{x:1,y:0,xStep:2,yStep:2},{x:0,y:1,xStep:1,yStep:2}],l=Math.ceil(a/8)*s,c=new Uint8Array(r*e*l);let d=0;for(let g=0;g<7;g++){const w=f[g],x=Math.ceil((e-w.x)/w.xStep),p=Math.ceil((r-w.y)/w.yStep);if(x<=0||p<=0)continue;
vendor: 6,554 bytes, line 3
3const B=x*l,P=new Uint8Array(B);for(let j=0;j<p;j++){const S=t[d++],V=t.subarray(d,d+B);d+=B;const z=new Uint8Array(B);n2(S,V,z,P,B,l),P.set(z);for(let T=0;T<x;T++){const rt=w.x+T*w.xStep,gt=w.y+j*w.yStep;if(!(rt>=e||gt>=r))for(let ut=0;ut<l;ut++)c[(gt*e+rt)*l+ut]=z[T*l+ut]}}}if(a===16){const g=new Uint16Array(c.buffer);if(a2)for(let w=0;w<g.length;w++)g[w]=o2(g[w]);return g}else return c}function o2(n){return(n&255)<<8|n>>8&255}const l2=new Uint16Array([255]),u2=new Uint8Array(l2.buffer),c2=u2[0]===255,f2=new Uint8Array(0);function ec(n){const{data:t,width:e,height:r,channels:s,depth:a}=n,f=Math.ceil(a/8)*s,l=Math.ceil(a/8*s*e),c=new Uint8Array(r*l);let d=f2,g=0,w,x;for(let p=0;p<r;p++){switch(w=t.subarray(g+1,g+1+l),x=c.subarray(p*l,(p+1)*l),t[g]){case 0:of(w,x,l);break;case 1:lf(w,x,l,f);break;case 2:uf(w,x,d,l);break;case 3:cf(w,x,d,l,f);break;case 4:ff(w,x,d,l,f);break;default:throw new Error(`Unsupported filter: ${t[g]}`)}d=x,g+=l+1}if(a===16){const p=new Uint16Array(c.buffer);if(c2)for(let B=0;B<p.length;B++)p[B]=h2(p[B]);return p}else return c}function h2(n){return(n&255)<<8|n>>8&255}const Vs=Uint8Array.of(137,80,78,71,13,10,26,10);function nc(n){if(!d2(n.readBytes(Vs.length)))throw new Error("wrong PNG signature")}function d2(n){if(n.length<Vs.length)return!1;for(let t=0;t<Vs.length;t++)if(n[t]!==Vs[t])return!1;return!0}const p2="tEXt",g2=0,hf=new TextDecoder("latin1");function v2(n){if(b2(n),n.length===0||n.length>79)throw new Error("keyword length must be between 1 and 79")}const m2=/^[\u0000-\u00FF]*$/;function b2(n){if(!m2.test(n))throw new Error("invalid latin1 text")}function w2(n,t,e){const r=df(t);n[r]=y2(t,e-r.length-1)}function df(n){for(n.mark();n.readByte()!==g2;);const t=n.offset;n.reset();const e=hf.decode(n.readBytes(t-n.offset-1));return n.skip(1),v2(e),e}function y2(n,t){return hf.decode(n.readBytes(t))}const Dn={UNKNOWN:-1,GREYSCALE:0,TRUECOLOUR:2,INDEXED_COLOUR:3,GREYSCALE_ALPHA:4,TRUECOLOUR_ALPHA:6},Yo={UNKNOWN:-1,DEFLATE:0},rc={UNKNOWN:-1,ADAPTIVE:0},Jo={UNKNOWN:-1,NO_INTERLACE:0,ADAM7:1},Ts={NONE:0,BACKGROUND:1,PREVIOUS:2},$o={SOURCE:0,OVER:1};class _2 extends kl{_checkCrc;_inflator;_png;_apng;_end;_hasPalette;_palette;_hasTransparency;_transparency;_compressionMethod;_filterMethod;_interlaceMethod;_colorType;_isAnimated;_numberOfFrames;_numberOfPlays;_frames;_writingDataChunks;constructor(t,e={}){super(t);const{checkCrc:r=!1}=e;this._checkCrc=r,this._inflator=new Zu,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=Yo.UNKNOWN,this._filterMethod=rc.UNKNOWN,this._interlaceMethod=Jo.UNKNOWN,this._colorType=Dn.UNKNOWN,this._isAnimated=!1,this._numberOfFrames=1,this._numberOfPlays=0,this._frames=[],this._writingDataChunks=!1,this.setBigEndian()}decode(){for(nc(this);!this._end;){const t=this.readUint32(),e=this.readChars(4);this.decodeChunk(t,e)}return this.decodeImage(),this._png}decodeApng(){for(nc(this);!this._end;){const t=this.readUint32(),e=this.readChars(4);this.decodeApngChunk(t,e)}return this.decodeApngImage(),this._apng}decodeChunk(t,e){const r=this.offset;switch(e){case"IHDR":this.decodeIHDR();break;case"PLTE":this.decodePLTE(t);break;case"IDAT":this.decodeIDAT(t);break;case"IEND":this._end=!0;break;case"tRNS":this.decodetRNS(t);break;case"iCCP":this.decodeiCCP(t);break;case p2:w2(this._png.text,this,t);break;case"pHYs":this.decodepHYs();break;default:this.skip(t);break}if(this.offset-r!==t)throw new Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?tc(this,t+4,e):this.skip(4)}decodeApngChunk(t,e){const r=this.offset;switch(e!=="fdAT"&&e!=="IDAT"&&this._writingDataChunks&&this.pushDataToFrame(),e){case"acTL":this.decodeACTL();break;case"fcTL":this.decodeFCTL();break;case"fdAT":this.decodeFDAT(t);break;default:this.decodeChunk(t,e),this.offset=r+t;break}if(this.offset-r!==t)throw new Error(`Length mismatch while decoding chunk ${e}`);this._checkCrc?tc(this,t+4,e):this.skip(4)}decodeIHDR(){const t=this._png;t.width=this.readUint32(),t.height=this.readUint32(),t.depth=A2(this.readUint8());const e=this.readUint8();this._colorType=e;let r;switch(e){case Dn.GREYSCALE:r=1;break;case Dn.TRUECOLOUR:r=3;break;case Dn.INDEXED_COLOUR:r=1;break;case Dn.GREYSCALE_ALPHA:r=2;break;case Dn.TRUECOLOUR_ALPHA:r=4;break;case Dn.UNKNOWN:default:throw new Error(`Unknown color type: ${e}`)}if(this._png.channels=r,this._compressionMethod=this.readUint8(),this._compressionMethod!==Yo.DEFLATE)throw new Error(`Unsupported compression method: ${this._compressionMethod}`);this._filterMethod=this.readUint8(),this._interlaceMethod=this.readUint8()}decodeACTL(){this._numberOfFrames=this.readUint32(),this._numberOfPlays=this.readUint32(),this._isAnimated=!0}decodeFCTL(){const t={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(t)}decodePLTE(t){if(t%3!==0)throw new RangeError(`PLTE field length must be a multiple of 3. Got ${t}`);const e=t/3;this._hasPalette=!0;const r=[];this._palette=r;for(let s=0;s<e;s++)r.push([this.readUint8(),this.readUint8(),this.readUint8()])}decodeIDAT(t){this._writingDataChunks=!0;const e=t,r=this.offset+this.byteOffset;if(this._inflator.push(new Uint8Array(this.buffer,r,e)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodeFDAT(t){this._writingDataChunks=!0;let e=t,r=this.offset+this.byteOffset;if(r+=4,e-=4,this._inflator.push(new Uint8Array(this.buffer,r,e)),this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);this.skip(t)}decodetRNS(t){switch(this._colorType){case Dn.GREYSCALE:case Dn.TRUECOLOUR:{if(t%2!==0)throw new RangeError(`tRNS chunk length must be a multiple of 2. Got ${t}`);if(t/2>this._png.width*this._png.height)throw new Error(`tRNS chunk contains more alpha values than there are pixels (${t/2} vs ${this._png.width*this._png.height})`);this._hasTransparency=!0,this._transparency=new Uint16Array(t/2);for(let e=0;e<t/2;e++)this._transparency[e]=this.readUint16();break}case Dn.INDEXED_COLOUR:{if(t>this._palette.length)throw new Error(`tRNS chunk contains more alph
3a values than there are palette colors (${t} vs ${this._palette.length})`);let e=0;for(;e<t;e++){const r=this.readByte();this._palette[e].push(r)}for(;e<this._palette.length;e++)this._palette[e].push(255);break}case Dn.UNKNOWN:case Dn.GREYSCALE_ALPHA:case Dn.TRUECOLOUR_ALPHA:default:throw new Error(`tRNS chunk is not supported for color type ${this._colorType}`)}}decodeiCCP(t){const e=df(this),r=this.readUint8();if(r!==Yo.DEFLATE)throw new Error(`Unsupported iCCP compression method: ${r}`);const s=this.readBytes(t-e.length-2);this._png.iccEmbeddedProfile={name:e,profile:Z1(s)}}decodepHYs(){const t=this.readUint32(),e=this.readUint32(),r=this.readByte();this._png.resolution={x:t,y:e,unit:r}}decodeApngImage(){this._apng.width=this._png.width,this._apng.height=this._png.height,this._apng.channels=this._png.channels,this._apng.depth=this._png.depth,this._apng.numberOfFrames=this._numberOfFrames,this._apng.numberOfPlays=this._numberOfPlays,this._apng.text=this._png.text,this._apng.resolution=this._png.resolution;for(let t=0;t<this._numberOfFrames;t++){const e={sequenceNumber:this._frames[t].sequenceNumber,delayNumber:this._frames[t].delayNumber,delayDenominator:this._frames[t].delayDenominator,data:this._apng.depth===8?new Uint8Array(this._apng.width*this._apng.height*this._apng.channels):new Uint16Array(this._apng.width*this._apng.height*this._apng.channels)},r=this._frames.at(t);if(r){if(r.data=ec({data:r.data,width:r.width,height:r.height,channels:this._apng.channels,depth:this._apng.depth}),this._hasPalette&&(this._apng.palette=this._palette),this._hasTransparency&&(this._apng.transparency=this._transparency),t===0||r.xOffset===0&&r.yOffset===0&&r.width===this._png.width&&r.height===this._png.height)e.data=r.data;else{const s=this._apng.frames.at(t-1);this.disposeFrame(r,s,e),this.addFrameDataToCanvas(e,r)}this._apng.frames.push(e)}}return this._apng}disposeFrame(t,e,r){switch(t.disposeOp){case Ts.NONE:break;case Ts.BACKGROUND:for(let s=0;s<this._png.height;s++)for(let a=0;a<this._png.width;a++){const f=(s*t.width+a)*this._png.channels;for(let l=0;l<this._png.channels;l++)r.data[f+l]=0}break;case Ts.PREVIOUS:r.data.set(e.data);break;default:throw new Error("Unknown disposeOp")}}addFrameDataToCanvas(t,e){const r=1<<this._png.depth,s=(a,f)=>{const l=((a+e.yOffset)*this._png.width+e.xOffset+f)*this._png.channels,c=(a*e.width+f)*this._png.channels;return{index:l,frameIndex:c}};switch(e.blendOp){case $o.SOURCE:for(let a=0;a<e.height;a++)for(let f=0;f<e.width;f++){const{index:l,frameIndex:c}=s(a,f);for(let d=0;d<this._png.channels;d++)t.data[l+d]=e.data[c+d]}break;case $o.OVER:for(let a=0;a<e.height;a++)for(let f=0;f<e.width;f++){const{index:l,frameIndex:c}=s(a,f);for(let d=0;d<this._png.channels;d++){const g=e.data[c+this._png.channels-1]/r,w=d%(this._png.channels-1)===0?1:e.data[c+d],x=Math.floor(g*w+(1-g)*t.data[l+d]);t.data[l+d]+=x}}break;default:throw new Error("Unknown blendOp")}}decodeImage(){if(this._inflator.err)throw new Error(`Error while decompressing the data: ${this._inflator.err}`);const t=this._isAnimated?(this._frames?.at(0)).data:this._inflator.result;if(this._filterMethod!==rc.ADAPTIVE)throw new Error(`Filter method ${this._filterMethod} not supported`);if(this._interlaceMethod===Jo.NO_INTERLACE)this._png.data=ec({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else if(this._interlaceMethod===Jo.ADAM7)this._png.data=s2({data:t,width:this._png.width,height:this._png.height,channels:this._png.channels,depth:this._png.depth});else throw new Error(`Interlace method ${this._interlaceMethod} not supported`);this._hasPalette&&(this._png.palette=this._palette),this._hasTransparency&&(this._png.transparency=this._transparency)}pushDataToFrame(){const t=this._inflator.result,e=this._frames.at(-1);e?e.data=t:this._frames.push({sequenceNumber:0,width:this._png.width,height:this._png.height,xOffset:0,yOffset:0,delayNumber:0,delayDenominator:0,disposeOp:Ts.NONE,blendOp:$o.SOURCE,data:t}),this._inflator=new Zu,this._writingDataChunks=!1}}function A2(n){if(n!==1&&n!==2&&n!==4&&n!==8&&n!==16)throw new Error(`invalid bit depth: ${n}`);return n}var ic;(function(n){n[n.UNKNOWN=0]="UNKNOWN",n[n.METRE=1]="METRE"})(ic||(ic={}));function x2(n,t){return new _2(n,t).decode()}var $t=(function(){return typeof window<"u"?window:typeof globalThis<"u"?globalThis:typeof self<"u"?self:this})();function Ko(){$t.console&&typeof $t.console.log=="function"&&$t.console.log.apply($t.console,arguments)}var Le={log:Ko,warn:function(n){$t.console&&(typeof $t.console.warn=="function"?$t.console.warn.apply($t.console,arguments):Ko.call(null,arguments))},error:function(n){$t.console&&(typeof $t.console.error=="function"?$t.console.error.apply($t.console,arguments):Ko(n))}};function Xo(n,t,e){var r=new XMLHttpRequest;r.open("GET",n),r.responseType="blob",r.onload=function(){Si(r.response,t,e)},r.onerror=function(){Le.error("could not download file")},r.send()}function ac(n){var t=new XMLHttpRequest;t.open("HEAD",n,!1);try{t.send()}catch{}return t.status>=200&&t.status<=299}function Ds(n){try{n.dispatchEvent(new MouseEvent("click"))}catch{var t=document.createEvent("MouseEvents");
vendor: 3,223 bytes, line 3
3t.initMouseEvent("click",!0,!0,window,0,0,0,80,20,!1,!1,!1,!1,0,null),n.dispatchEvent(t)}}var Si=$t.saveAs||((typeof window>"u"?"undefined":_e(window))!=="object"||window!==$t?function(){}:typeof HTMLAnchorElement<"u"&&"download"in HTMLAnchorElement.prototype?function(n,t,e){var r=$t.URL||$t.webkitURL,s=document.createElement("a");t=t||n.name||"download",s.download=t,s.rel="noopener",typeof n=="string"?(s.href=n,s.origin!==location.origin?ac(s.href)?Xo(n,t,e):Ds(s,s.target="_blank"):Ds(s)):(s.href=r.createObjectURL(n),setTimeout(function(){r.revokeObjectURL(s.href)},4e4),setTimeout(function(){Ds(s)},0))}:"msSaveOrOpenBlob"in navigator?function(n,t,e){if(t=t||n.name||"download",typeof n=="string")if(ac(n))Xo(n,t,e);else{var r=document.createElement("a");r.href=n,r.target="_blank",setTimeout(function(){Ds(r)})}else navigator.msSaveOrOpenBlob((function(s,a){return a===void 0?a={autoBom:!1}:_e(a)!=="object"&&(Le.warn("Deprecated: Expected third argument to be a object"),a={autoBom:!a}),a.autoBom&&/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(s.type)?new Blob(["\uFEFF",s],{type:s.type}):s})(n,e),t)}:function(n,t,e,r){if((r=r||open("","_blank"))&&(r.document.title=r.document.body.innerText="downloading..."),typeof n=="string")return Xo(n,t,e);var s=n.type==="application/octet-stream",a=/constructor/i.test($t.HTMLElement)||$t.safari,f=/CriOS\/[\d]+/.test(navigator.userAgent);if((f||s&&a)&&(typeof FileReader>"u"?"undefined":_e(FileReader))==="object"){var l=new FileReader;l.onloadend=function(){var g=l.result;g=f?g:g.replace(/^data:[^;]*;/,"data:attachment/file;"),r?r.location.href=g:location=g,r=null},l.readAsDataURL(n)}else{var c=$t.URL||$t.webkitURL,d=c.createObjectURL(n);r?r.location=d:location.href=d,r=null,setTimeout(function(){c.revokeObjectURL(d)},4e4)}});function pf(n){var t;n=n||"",this.ok=!1,n.charAt(0)=="#"&&(n=n.substr(1,6)),n={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee9
30",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"}[n=(n=n.replace(/ /g,"")).toLowerCase()]||n;for(var e=[{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(l){return[parseInt(l[1]),parseInt(l[2]),parseInt(l[3])]}},{re:/^(\w{2})(\w{2})(\w{2})$/,example:["#00ff00","336699"],process:function(l){return[parseInt(l[1],16),parseInt(l[2],16),parseInt(l[3],16)]}},{re:/^(\w{1})(\w{1})(\w{1})$/,example:["#fb0","f0f"],process:function(l){return[parseInt(l[1]+l[1],16),parseInt(l[2]+l[2],16),parseInt(l[3]+l[3],16)]}}],r=0;r<e.length;r++){var s=e[r].re,a=e[r].process,f=s.exec(n);f&&(t=a(f),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 l=this.r.toString(16),c=this.g.toString(16),d=this.b.toString(16);return l.length==1&&(l="0"+l),c.length==1&&(c="0"+c),d.length==1&&(d="0"+d),"#"+l+c+d}}var Gs=$t.atob.bind($t),sc=$t.btoa.bind($t);function Zo(n,t){var e=n[0],r=n[1],s=n[2],a=n[3];e=bn(e,r,s,a,t[0],7,-680876936),a=bn(a,e,r,s,t[1],12,-389564586),s=bn(s,a,e,r,t[2],17,606105819),r=bn(r,s,a,e,t[3],22,-1044525330),e=bn(e,r,s,a,t[4],7,-176418897),a=bn(a,e,r,s,t[5],12,1200080426),s=bn(s,a,e,r,t[6],17,-1473231341),r=bn(r,s,a,e,t[7],22,-45705983),e=bn(e,r,s,a,t[8],7,1770035416),a=bn(a,e,r,s,t[9],12,-1958414417),s=bn(s,a,e,r,t[10],17,-42063),r=bn(r,s,a,e,t[11],22,-1990404162),e=bn(e,r,s,a,t[12],7,1804603682),a=bn(a,e,r,s,t[13],12,-40341101),s=bn(s,a,e,r,t[14],17,-1502002290),e=wn(e,r=bn(r,s,a,e,t[15],22,1236535329),s,a,t[1],5,-165796510),a=wn(a,e,r,s,t[6],9,-1069501632),s=wn(s,a,e,r,t[11],14,643717713),r=wn(r,s,a,e,t[0],20,-373897302),e=wn(e,r,s,a,t[5],5,-701558691),a=wn(a,e,r,s,t[10],9,38016083),s=wn(s,a,e,r,t[15],14,-660478335),r=wn(r,s,a,e,t[4],20,-405537848),e=wn(e,r,s,a,t[9],5,568446438),a=wn(a,e,r,s,t[14],9,-1019803690),s=wn(s,a,e,r,t[3],14,-187363961),r=wn(r,s,a,e,t[8],20,1163531501),e=wn(e,r,s,a,t[13],5,-1444681467),a=wn(a,e,r,s,t[2],9,-51403784),s=wn(s,a,e,r,t[7],14,1735328473),e=yn(e,r=wn(r,s,a,e,t[12],20,-1926607734),s,a,t[5],4,-378558),a=yn(a,e,r,s,t[8],11,-2022574463),s=yn(s,a,e,r,t[11],16,1839030562),r=yn(r,s,a,e,t[14],23,-35309556),e=yn(e,r,s,a,t[1],4,-1530992060),a=yn(a,e,r,s,t[4],11,1272893353),s=yn(s,a,e,r,t[7],16,-155497632),r=yn(r,s,a,e,t[10],23,-1094730640),e=yn(e,r,s,a,t[13],4,681279174),a=yn(a,e,r,s,t[0],11,-358537222),s=yn(s,a,e,r,t[3],16,-722521979),r=yn(r,s,a,e,t[6],23,76029189),e=yn(e,r,s,a,t[9],4,-640364487),a=yn(a,e,r,s,t[12],11,-421815835),s=yn(s,a,e,r,t[15],16,530742520),e=_n(e,r=yn(r,s,a,e,t[2],23,-995338651),s,a,t[0],6,-198630844),a=_n(a,e,r,s,t[7],10,1126891415),s=_n(s,a,e,r,t[14],15,-1416354905),r=_n(r,s,a,e,t[5],21,-57434055),e=_n(e,r,s,a,t[12],6,1700485571),a=_n(a,e,r,s,t[3],10,-1894986606),s=_n(s,a,e,r,t[10],15,-1051523),r=_n(r,s,a,e,t[1],21,-2054922799),e=_n(e,r,s,a,t[8],6,1873313359),a=_n(a,e,r,s,t[15],10,-30611744),s=_n(s,a,e,r,t[6],15,-1560198380),r=_n(r,s,a,e,t[13],21,1309151649),e=_n(e,r,s,a,t[4],6,-145523070),a=_n(a,e,r,s,t[11],10,-1120210379),s=_n(s,a,e,r,t[2],15,718787259),r=_n(r,s,a,e,t[9],21,-343485551),n[0]=ii(e,n[0]),n[1]=ii(r,n[1]),n[2]=ii(s,n[2]),n[3]=ii(a,n[3])}function Qs(n,t,e,r,s,a){return t=ii(ii(t,n),ii(r,a)),ii(t<<s|t>>>32-s,e)}function bn(n,t,e,r,s,a,f){return Qs(t&e|~t&r,n,t,s,a,f)}function wn(n,t,e,r,s,a,f){return Qs(t&r|e&~r,n,t,s,a,f)}function yn(n,t,e,r,s,a,f){return Qs(t^e^r,n,t,s,a,f)}function _n(n,t,e,r,s,a,f){return Qs(e^(t|~r),n,t,s,a,f)}function gf(n){var t,e=n.length,r=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=n.length;t+=64)Zo(r,N2(n.substring(t-64,t)));n=n.substring(t-64);var s=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<n.length;t++)s[t>>2]|=n.charCodeAt(t)<<(t%4<<3);if(s[t>>2]|=128<<(t%4<<3),t>55)for(Zo(r,s),t=0;t<16;t++)s[t]=0;return s[14]=8*e,Zo(r,s),r}function N2(n){var t,e=[];for(t=0;t<64;t+=4)e[t>>2]=n.charCodeAt(t)+(n.charCodeAt(t+1)<<8)+(n.charCodeAt(t+2)<<16)+(n.charCodeAt(t+3)<<24);return e}var oc="0123456789abcdef".split("");function L2(n){for(var t="",e=0;e<4;e++)t+=oc[n>>8*e+4&15]+oc[n>>8*e&15];return t}function S2(n){return String.fromCharCode(255&n,(65280&n)>>8,(16711680&n)>>16,(4278190080&n)>>24)}function dl(n){return gf(n).map(S2).join("")}var k2=(function(n){for(var t=0;t<n.length;t++)n[t]=L2(n[t]);return n.join("")})(gf("hello"))!="5d41402abc4b2a76b9719d911017c592";function ii(n,t){if(k2){var e=(65535&n)+(65535&t);return(n>>16)+(t>>16)+(e>>16)<<16|65535&e}return n+t&4294967295}function pl(n,t){var e,r,s,a;if(n!==e){for(var f=(s=n,a=1+(256/n.length|0),new Array(a+1).join(s)),l=[],c=0;c<256;c++)l[c]=c;var d=0;for(c=0;c<256;c++){var g=l[c];d=(d+g+f.charCodeAt(c))%256,l[c]=l[d],l[d]=g}e=n,r=l}else l=r;var w=t.length,x=0,p=0,B="";for(c=0;c<w;c++)p=(p+(g=l[x=(x+1)%256]))%256,l[x]=l[p],l[p]=g,f=l[(l[x]+l[p])%256],B+=String.fromCharCode(t.charCodeAt(c)^f);return B}var lc={print:4,modify:8,copy:16,"annot-forms":32};function ca(n,t,e,r){this.v=1,this.r=2;var s=192;
vendor: 5,079 bytes, line 3
3n.forEach(function(l){if(lc.perm!==void 0)throw new Error("Invalid permission: "+l);s+=lc[l]}),this.padding="(¿N^NuŠAd\0NVÿú�\b..\0¶Ðh>€/\f©þdSiz";var a=(t+this.padding).substr(0,32),f=(e+this.padding).substr(0,32);this.O=this.processOwnerPassword(a,f),this.P=-(1+(255^s)),this.encryptionKey=dl(a+this.O+this.lsbFirstWord(this.P)+this.hexToBytes(r)).substr(0,5),this.U=pl(this.encryptionKey,this.padding)}function fa(n){if(/[^\u0000-\u00ff]/.test(n))throw new Error("Invalid PDF Name Object: "+n+", Only accept ASCII characters.");for(var t="",e=n.length,r=0;r<e;r++){var s=n.charCodeAt(r);t+=s<33||s===35||s===37||s===40||s===41||s===47||s===60||s===62||s===91||s===93||s===123||s===125||s>126?"#"+("0"+s.toString(16)).slice(-2):n[r]}return t}function uc(n){if(_e(n)!=="object")throw new Error("Invalid Context passed to initialize PubSub (jsPDF-module)");var t={};this.subscribe=function(e,r,s){if(s=s||!1,typeof e!="string"||typeof r!="function"||typeof s!="boolean")throw new Error("Invalid arguments passed to PubSub.subscribe (jsPDF-module)");t.hasOwnProperty(e)||(t[e]={});var a=Math.random().toString(35);return t[e][a]=[r,!!s],a},this.unsubscribe=function(e){for(var r in t)if(t[r][e])return delete t[r][e],Object.keys(t[r]).length===0&&delete t[r],!0;return!1},this.publish=function(e){if(t.hasOwnProperty(e)){var r=Array.prototype.slice.call(arguments,1),s=[];for(var a in t[e]){var f=t[e][a];try{f[0].apply(n,r)}catch(l){$t.console&&Le.error("jsPDF PubSub Error",l.message,l)}f[1]&&s.push(a)}s.length&&s.forEach(this.unsubscribe)}},this.getTopics=function(){return t}}function Ja(n){if(!(this instanceof Ja))return new Ja(n);var t="opacity,stroke-opacity".split(",");for(var e in n)n.hasOwnProperty(e)&&t.indexOf(e)>=0&&(this[e]=n[e]);this.id="",this.objectNumber=-1}function vf(n,t){this.gState=n,this.matrix=t,this.id="",this.objectNumber=-1}function ri(n,t,e,r,s){if(!(this instanceof ri))return new ri(n,t,e,r,s);this.type=n==="axial"?2:3,this.coords=t,this.colors=e,vf.call(this,r,s)}function ki(n,t,e,r,s){if(!(this instanceof ki))return new ki(n,t,e,r,s);this.boundingBox=n,this.xStep=t,this.yStep=e,this.stream="",this.cloneIndex=0,vf.call(this,r,s)}function Mt(n){var t,e=typeof arguments[0]=="string"?arguments[0]:"p",r=arguments[1],s=arguments[2],a=arguments[3],f=[],l=1,c=16,d="S",g=null;_e(n=n||{})==="object"&&(e=n.orientation,r=n.unit||r,s=n.format||s,a=n.compress||n.compressPdf||a,(g=n.encryption||null)!==null&&(g.userPassword=g.userPassword||"",g.ownerPassword=g.ownerPassword||"",g.userPermissions=g.userPermissions||[]),l=typeof n.userUnit=="number"?Math.abs(n.userUnit):1,n.precision!==void 0&&(t=n.precision),n.floatPrecision!==void 0&&(c=n.floatPrecision),d=n.defaultPathOperation||"S"),f=n.filters||(a===!0?["FlateEncode"]:f),r=r||"mm",e=(""+(e||"P")).toLowerCase();var w=n.putOnlyUsedFonts||!1,x={},p={internal:{},__private__:{}};p.__private__.PubSub=uc;var B="1.3",P=p.__private__.getPdfVersion=function(){return B};p.__private__.setPdfVersion=function(u){B=u};var j={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};p.__private__.getPageFormats=function(){return j};var S=p.__private__.getPageFormat=function(u){return j[u]};s=s||"a4";var V="compat",z="advanced",T=V;function rt(){this.saveGraphicsState(),I(new Gt(ne,0,0,-ne,0,di()*ne).toString()+" cm"),this.setFontSize(this.getFontSize()/ne),d="n",T=z}function gt(){this.restoreGraphicsState(),d="S",T=V}var ut=p.__private__.combineFontStyleAndFontWeight=function(u,m){if(u=="bold"&&m=="normal"||u=="bold"&&m==400||u=="normal"&&m=="italic"||u=="bold"&&m=="italic")throw new Error("Invalid Combination of fontweight and fontstyle");return m&&(u=m==400||m==="normal"?u==="italic"?"italic":"normal":m!=700&&m!=="bold"||u!=="normal"?(m==700?"bold":m)+""+u:"bold"),u};p.advancedAPI=function(u){var m=T===V;return m&&rt.call(this),typeof u!="function"||(u(this),m&&gt.call(this)),this},p.compatAPI=function(u){var m=T===z;return m&&gt.call(this),typeof u!="function"||(u(this),m&&rt.call(this)),this},p.isAdvancedAPI=function(){return T===z};var Y,R=function(u){if(T!==z)throw new Error(u+" is only available in 'advanced' API mode. You need to call advancedAPI() first.")},X=p.roundToPrecision=p.__private__.roundToPrecision=function(u,m){var E=t||m;if(isNaN(u)||isNaN(E))throw new Error("Invalid argument passed to 
3jsPDF.roundToPrecision");return u.toFixed(E).replace(/0+$/,"")};Y=p.hpf=p.__private__.hpf=typeof c=="number"?function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return X(u,c)}:c==="smart"?function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return X(u,u>-1&&u<1?16:5)}:function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.hpf");return X(u,16)};var N=p.f2=p.__private__.f2=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.f2");return X(u,2)},C=p.__private__.f3=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.f3");return X(u,3)},H=p.scale=p.__private__.scale=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.scale");return T===V?u*ne:T===z?u:void 0},q=function(u){return H((function(m){return T===V?di()-m:T===z?m:void 0})(u))};p.__private__.setPrecision=p.setPrecision=function(u){typeof parseInt(u,10)=="number"&&(t=parseInt(u,10))};var it,at="00000000000000000000000000000000",ot=p.__private__.getFileId=function(){return at},et=p.__private__.setFileId=function(u){return at=u!==void 0&&/^[a-fA-F0-9]{32}$/.test(u)?u.toUpperCase():at.split("").map(function(){return"ABCDEF0123456789".charAt(Math.floor(16*Math.random()))}).join(""),g!==null&&(un=new ca(g.userPermissions,g.userPassword,g.ownerPassword,at)),at};p.setFileId=function(u){return et(u),this},p.getFileId=function(){return ot()};var ct=p.__private__.convertDateToPDFDate=function(u){var m=u.getTimezoneOffset(),E=m<0?"+":"-",U=Math.floor(Math.abs(m/60)),K=Math.abs(m%60),ft=[E,D(U),"'",D(K),"'"].join("");return["D:",u.getFullYear(),D(u.getMonth()+1),D(u.getDate()),D(u.getHours()),D(u.getMinutes()),D(u.getSeconds()),ft].join("")},xt=p.__private__.convertPDFDateToDate=function(u){var m=parseInt(u.substr(2,4),10),E=parseInt(u.substr(6,2),10)-1,U=parseInt(u.substr(8,2),10),K=parseInt(u.substr(10,2),10),ft=parseInt(u.substr(12,2),10),mt=parseInt(u.substr(14,2),10);return new Date(m,E,U,K,ft,mt,0)},bt=p.__private__.setCreationDate=function(u){var m;if(u===void 0&&(u=new Date),u instanceof Date)m=ct(u);else{if(!/^D:(20[0-2][0-9]|203[0-7]|19[7-9][0-9])(0[0-9]|1[0-2])([0-2][0-9]|3[0-1])(0[0-9]|1[0-9]|2[0-3])(0[0-9]|[1-5][0-9])(0[0-9]|[1-5][0-9])(\+0[0-9]|\+1[0-4]|-0[0-9]|-1[0-1])'(0[0-9]|[1-5][0-9])'?$/.test(u))throw new Error("Invalid argument passed to jsPDF.setCreationDate");m=u}return it=m},A=p.__private__.getCreationDate=function(u){var m=it;return u==="jsDate"&&(m=xt(it)),m};p.setCreationDate=function(u){return bt(u),this},p.getCreationDate=function(u){return A(u)};var M,D=p.__private__.padd2=function(u){return("0"+parseInt(u)).slice(-2)},W=p.__private__.padd2Hex=function(u){return("00"+(u=u.toString())).substr(u.length)},$=0,Q=[],st=[],lt=0,vt=[],At=[],St=!1,Lt=st;p.__private__.setCustomOutputDestination=function(u){St=!0,Lt=u};var Dt=function(u){St||(Lt=u)};p.__private__.resetCustomOutputDestination=function(){St=!1,Lt=st};var I=p.__private__.out=function(u){return u=u.toString(),lt+=u.length+1,Lt.push(u),Lt},kt=p.__private__.write=function(u){return I(arguments.length===1?u.toString():Array.prototype.join.call(arguments," "))},ae=p.__private__.getArrayBuffer=function(u){for(var m=u.length,E=new ArrayBuffer(m),U=new Uint8Array(E);m--;)U[m]=u.charCodeAt(m);return E},Ht=[["Helvetica","helvetica","normal","WinAnsiEncoding"],["Helvetica-Bold","helvetica","bold","WinAnsiEncoding"],["Helvetica-Oblique","helvetica","italic","WinAnsiEncoding"],["Helvetica-BoldOblique","helvetica","bolditalic","WinAnsiEncoding"],["Courier","courier","normal","WinAnsiEncoding"],["Courier-Bold","courier","bold","WinAnsiEncoding"],["Courier-Oblique","courier","italic","WinAnsiEncoding"],["Courier-BoldOblique","courier","bolditalic","WinAnsiEncoding"],["Times-Roman","times","normal","WinAnsiEncoding"],["Times-Bold","times","bold","WinAnsiEncoding"],["Times-Italic","times","italic","WinAnsiEncoding"],["Times-BoldItalic","times","bolditalic","WinAnsiEncoding"],["ZapfDingbats","zapfdingbats","normal",null],["Symbol","symbol","normal",null]];p.__private__.getStandardFonts=function(){return Ht};var yt=n.fontSize||16;p.__private__.setFontSize=p.setFontSize=function(u){return yt=T===z?u/ne:u,this};var Wt,Ct=p.__private__.getFontSize=p.getFontSize=function(){return T===V?yt:yt*ne},zt=n.R2L||!1;p.__private__.setR2L=p.setR2L=function(u){return zt=u,this},p.__private__.getR2L=p.getR2L=function(){return zt};var qt,me=p.__private__.setZoomMode=function(u){if(/^(?:\d+\.\d*|\d*\.\d+|\d+)%$/.test(u))Wt=u;else if(isNaN(u)){if([void 0,null,"fullwidth","fullheight","fullpage","original"].indexOf(u)===-1)throw new Error('zoom must be Integer (e.g. 2), a percentage Value (e.g. 300%) or fullwidth, fullheight, fullpage, original. "'+u+'" is not recognized.');Wt=u}else Wt=parseInt(u,10)};p.__private__.getZoomMode=function(){return Wt};var ue,Zt=p.__private__.setPageMode=function(u){if([void 0,null,"UseNone","UseOutlines","UseThumbs","FullScreen"].indexOf(u)==-1)throw new Error('Page mode must be one of UseNone, UseOutlines, UseThumbs, or FullScreen. "'+u+'" is not recognized.');qt=u};p.__private__.getPageMode=function(){return qt};var fe=p.__private__.setLayoutMode=function(u){if([void 0,null,"continuous","single","twoleft","tworight","two"].indexOf(u)==-1)throw new Error('Layout mode must be one of continuous, single, twoleft, tworight. "'+u+'" is not recognized.');ue=u};p.__private__.getLayoutMode=function(){return ue},p.__private__.setDisplayMode=p.setDisplayMode=function(u,m,E){return me(u),fe(m),Zt(E),this};var ce={title:"",subject:"",author:"",keywords:"",creator:""};p.__private__.getDocumentProperty=function(u){if(Object.keys(ce).indexOf(u)===-1)throw new Error("Invalid argument passed to 
3jsPDF.getDocumentProperty");return ce[u]},p.__private__.getDocumentProperties=function(){return ce},p.__private__.setDocumentProperties=p.setProperties=p.setDocumentProperties=function(u){for(var m in ce)ce.hasOwnProperty(m)&&u[m]&&(ce[m]=u[m]);return this},p.__private__.setDocumentProperty=function(u,m){if(Object.keys(ce).indexOf(u)===-1)throw new Error("Invalid arguments passed to jsPDF.setDocumentProperty");return ce[u]=m};var Bt,ne,Tt,We,ge,se={},oe={},Oe=[],Ut={},Se={},Yt={},Qt={},je=null,le=0,Vt=[],be=new uc(p),oi=n.hotfixes||[],dn={},Nr={},or=[],Gt=function u(m,E,U,K,ft,mt){if(!(this instanceof u))return new u(m,E,U,K,ft,mt);isNaN(m)&&(m=1),isNaN(E)&&(E=0),isNaN(U)&&(U=0),isNaN(K)&&(K=1),isNaN(ft)&&(ft=0),isNaN(mt)&&(mt=0),this._matrix=[m,E,U,K,ft,mt]};Object.defineProperty(Gt.prototype,"sx",{get:function(){return this._matrix[0]},set:function(u){this._matrix[0]=u}}),Object.defineProperty(Gt.prototype,"shy",{get:function(){return this._matrix[1]},set:function(u){this._matrix[1]=u}}),Object.defineProperty(Gt.prototype,"shx",{get:function(){return this._matrix[2]},set:function(u){this._matrix[2]=u}}),Object.defineProperty(Gt.prototype,"sy",{get:function(){return this._matrix[3]},set:function(u){this._matrix[3]=u}}),Object.defineProperty(Gt.prototype,"tx",{get:function(){return this._matrix[4]},set:function(u){this._matrix[4]=u}}),Object.defineProperty(Gt.prototype,"ty",{get:function(){return this._matrix[5]},set:function(u){this._matrix[5]=u}}),Object.defineProperty(Gt.prototype,"a",{get:function(){return this._matrix[0]},set:function(u){this._matrix[0]=u}}),Object.defineProperty(Gt.prototype,"b",{get:function(){return this._matrix[1]},set:function(u){this._matrix[1]=u}}),Object.defineProperty(Gt.prototype,"c",{get:function(){return this._matrix[2]},set:function(u){this._matrix[2]=u}}),Object.defineProperty(Gt.prototype,"d",{get:function(){return this._matrix[3]},set:function(u){this._matrix[3]=u}}),Object.defineProperty(Gt.prototype,"e",{get:function(){return this._matrix[4]},set:function(u){this._matrix[4]=u}}),Object.defineProperty(Gt.prototype,"f",{get:function(){return this._matrix[5]},set:function(u){this._matrix[5]=u}}),Object.defineProperty(Gt.prototype,"rotation",{get:function(){return Math.atan2(this.shx,this.sx)}}),Object.defineProperty(Gt.prototype,"scaleX",{get:function(){return this.decompose().scale.sx}}),Object.defineProperty(Gt.prototype,"scaleY",{get:function(){return this.decompose().scale.sy}}),Object.defineProperty(Gt.prototype,"isIdentity",{get:function(){return this.sx===1&&this.shy===0&&this.shx===0&&this.sy===1&&this.tx===0&&this.ty===0}}),Gt.prototype.join=function(u){return[this.sx,this.shy,this.shx,this.sy,this.tx,this.ty].map(Y).join(u)},Gt.prototype.multiply=function(u){var m=u.sx*this.sx+u.shy*this.shx,E=u.sx*this.shy+u.shy*this.sy,U=u.shx*this.sx+u.sy*this.shx,K=u.shx*this.shy+u.sy*this.sy,ft=u.tx*this.sx+u.ty*this.shx+this.tx,mt=u.tx*this.shy+u.ty*this.sy+this.ty;return new Gt(m,E,U,K,ft,mt)},Gt.prototype.decompose=function(){var u=this.sx,m=this.shy,E=this.shx,U=this.sy,K=this.tx,ft=this.ty,mt=Math.sqrt(u*u+m*m),Ft=(u/=mt)*E+(m/=mt)*U;E-=u*Ft,U-=m*Ft;var Et=Math.sqrt(E*E+U*U);return Ft/=Et,u*(U/=Et)<m*(E/=Et)&&(u=-u,m=-m,Ft=-Ft,mt=-mt),{scale:new Gt(mt,0,0,Et,0,0),translate:new Gt(1,0,0,1,K,ft),rotate:new Gt(u,m,-m,u,0,0),skew:new Gt(1,0,Ft,1,0,0)}},Gt.prototype.toString=function(u){return this.join(" ")},Gt.prototype.inversed=function(){var u=this.sx,m=this.shy,E=this.shx,U=this.sy,K=this.tx,ft=this.ty,mt=1/(u*U-m*E),Ft=U*mt,Et=-m*mt,Kt=-E*mt,te=u*mt;return new Gt(Ft,Et,Kt,te,-Ft*K-Kt*ft,-Et*K-te*ft)},Gt.prototype.applyToPoint=function(u){var m=u.x*this.sx+u.y*this.shx+this.tx,E=u.x*this.shy+u.y*this.sy+this.ty;return new hi(m,E)},Gt.prototype.applyToRectangle=function(u){var m=this.applyToPoint(u),E=this.applyToPoint(new hi(u.x+u.w,u.y+u.h));return new La(m.x,m.y,E.x-m.x,E.y-m.y)},Gt.prototype.clone=function(){var u=this.sx,m=this.shy,E=this.shx,U=this.sy,K=this.tx,ft=this.ty;return new Gt(u,m,E,U,K,ft)},p.Matrix=Gt;var Lr=p.matrixMult=function(u,m){return m.multiply(u)},Sr=new Gt(1,0,0,1,0,0);p.unitMatrix=p.identityMatrix=Sr;var qn=function(u,m){if(!Se[u]){var E=(m instanceof ri?"Sh":"P")+(Object.keys(Ut).length+1).toString(10);m.id=E,Se[u]=E,Ut[E]=m,be.publish("addPattern",m)}};p.ShadingPattern=ri,p.TilingPattern=ki,p.addShadingPattern=function(u,m){return R("addShadingPattern()"),qn(u,m),this},p.beginTilingPattern=function(u){R("beginTilingPattern()"),Sa(u.boundingBox[0],u.boundingBox[1],u.boundingBox[2]-u.boundingBox[0],u.boundingBox[3]-u.boundingBox[1],u.matrix)},p.endTilingPattern=function(u,m){R("endTilingPattern()"),m.stream=At[M].join(`
4`),qn(u,m),be.publish("endTilingPattern",m),or.pop().restore()};var Un,qe=p.__private__.newObject=function(){var u=on();return ln(u,!0),u},on=p.__private__.newObjectDeferred=function(){return $++,Q[$]=function(){return lt},$},ln=function(u,m){return m=typeof m=="boolean"&&m,Q[u]=lt,m&&I(u+" 0 obj"),u},li=p.__private__.newAdditionalObject=function(){var u={objId:on(),content:""};return vt.push(u),u},qr=on(),Xn=on(),lr=p.__private__.decodeColorString=function(u){var m=u.split(" ");if(m.length!==2||m[1]!=="g"&&m[1]!=="G")m.length!==5||m[4]!=="k"&&m[4]!=="K"||(m=[(1-m[0])*(1-m[3]),(1-m[1])*(1-m[3]),(1-m[2])*(1-m[3]),"r"]);else{var E=parseFloat(m[0]);m=[E,E,E,"r"]}for(var U="#",K=0;K<3;K++)U+=("0"+Math.floor(255*parseFloat(m[K])).toString(16)).slice(-2);return U},Zn=p.__private__.encodeColorString=function(u){var m;typeof u=="string"&&(u={ch1:u});var E=u.ch1,U=u.ch2,K=u.ch3,ft=u.ch4,mt=u.pdfColorType==="draw"?["G","RG","K"]:["g","rg","k"];if(typeof E=="string"&&E.charAt(0)!=="#"){var Ft=new pf(E);if(Ft.ok)E=Ft.toHex();else if(!/^\d*\.?\d*$/.test(E))throw new Error('Invalid color "'+E+'" passed to jsPDF.encodeColorString.')}if(typeof E=="string"&&/^#[0-9A-Fa-f]{3}$/.test(E)&&(E="#"+E[1]+E[1]+E[2]+E[2]+E[3]+E[3]),typeof E=="string"&&/^#[0-9A-Fa-f]{6}$/.test(E)){var Et=parseInt(E.substr(1),16);E=Et>>16&255,U=Et>>8&255,K=255&Et}if(U===void 0||ft===void 0&&E===U&&U===K)m=typeof E=="string"?E+" "+mt[0]:u.precision===2?N(E/255)+" "+mt[0]:C(E/255)+" "+mt[0];else if(ft===void 0||_e(ft)==="object"){if(ft&&!isNaN(ft.a)&&ft.a===0)return["1.","1.","1.",mt[1]].join(" ");m=typeof E=="string"?[E,U,K,mt[1]].join(" "):u.precision===2?[N(E/255),N(U/255),N(K/255
vendor: 9,934 bytes, lines 4-7
4),mt[1]].join(" "):[C(E/255),C(U/255),C(K/255),mt[1]].join(" ")}else m=typeof E=="string"?[E,U,K,ft,mt[2]].join(" "):u.precision===2?[N(E),N(U),N(K),N(ft),mt[2]].join(" "):[C(E),C(U),C(K),C(ft),mt[2]].join(" ");return m},Qn=p.__private__.getFilters=function(){return f},zn=p.__private__.putStream=function(u){var m=(u=u||{}).data||"",E=u.filters||Qn(),U=u.alreadyAppliedFilters||[],K=u.addLength1||!1,ft=m.length,mt=u.objectId,Ft=function(Ce){return Ce};if(g!==null&&mt===void 0)throw new Error("ObjectId must be passed to putStream for file encryption");g!==null&&(Ft=un.encryptor(mt,0));var Et={};E===!0&&(E=["FlateEncode"]);var Kt=u.additionalKeyValues||[],te=(Et=Mt.API.processDataByFilters!==void 0?Mt.API.processDataByFilters(m,E):{data:m,reverseChain:[]}).reverseChain+(Array.isArray(U)?U.join(" "):U.toString());if(Et.data.length!==0&&(Kt.push({key:"Length",value:Et.data.length}),K===!0&&Kt.push({key:"Length1",value:ft})),te.length!=0)if(te.split("/").length-1==1)Kt.push({key:"Filter",value:te});else{Kt.push({key:"Filter",value:"["+te+"]"});for(var de=0;de<Kt.length;de+=1)if(Kt[de].key==="DecodeParms"){for(var Ze=[],xe=0;xe<Et.reverseChain.split("/").length-1;xe+=1)Ze.push("null");Ze.push(Kt[de].value),Kt[de].value="["+Ze.join(" ")+"]"}}I("<<");for(var Ae=0;Ae<Kt.length;Ae++)I("/"+Kt[Ae].key+" "+Kt[Ae].value);I(">>"),Et.data.length!==0&&(I("stream"),I(Ft(Et.data)),I("endstream"))},ui=p.__private__.putPage=function(u){var m=u.number,E=u.data,U=u.objId,K=u.contentsObjId;ln(U,!0),I("<</Type /Page"),I("/Parent "+u.rootDictionaryObjId+" 0 R"),I("/Resources "+u.resourceDictionaryObjId+" 0 R"),I("/MediaBox ["+parseFloat(Y(u.mediaBox.bottomLeftX))+" "+parseFloat(Y(u.mediaBox.bottomLeftY))+" "+Y(u.mediaBox.topRightX)+" "+Y(u.mediaBox.topRightY)+"]"),u.cropBox!==null&&I("/CropBox ["+Y(u.cropBox.bottomLeftX)+" "+Y(u.cropBox.bottomLeftY)+" "+Y(u.cropBox.topRightX)+" "+Y(u.cropBox.topRightY)+"]"),u.bleedBox!==null&&I("/BleedBox ["+Y(u.bleedBox.bottomLeftX)+" "+Y(u.bleedBox.bottomLeftY)+" "+Y(u.bleedBox.topRightX)+" "+Y(u.bleedBox.topRightY)+"]"),u.trimBox!==null&&I("/TrimBox ["+Y(u.trimBox.bottomLeftX)+" "+Y(u.trimBox.bottomLeftY)+" "+Y(u.trimBox.topRightX)+" "+Y(u.trimBox.topRightY)+"]"),u.artBox!==null&&I("/ArtBox ["+Y(u.artBox.bottomLeftX)+" "+Y(u.artBox.bottomLeftY)+" "+Y(u.artBox.topRightX)+" "+Y(u.artBox.topRightY)+"]"),typeof u.userUnit=="number"&&u.userUnit!==1&&I("/UserUnit "+u.userUnit),be.publish("putPage",{objId:U,pageContext:Vt[m],pageNumber:m,page:E}),I("/Contents "+K+" 0 R"),I(">>"),I("endobj");var ft=E.join(`
5`);return T===z&&(ft+=`
6Q`),ln(K,!0),zn({data:ft,filters:Qn(),objectId:K}),I("endobj"),U},ur=p.__private__.putPages=function(){var u,m,E=[];for(u=1;u<=le;u++)Vt[u].objId=on(),Vt[u].contentsObjId=on();for(u=1;u<=le;u++)E.push(ui({number:u,data:At[u],objId:Vt[u].objId,contentsObjId:Vt[u].contentsObjId,mediaBox:Vt[u].mediaBox,cropBox:Vt[u].cropBox,bleedBox:Vt[u].bleedBox,trimBox:Vt[u].trimBox,artBox:Vt[u].artBox,userUnit:Vt[u].userUnit,rootDictionaryObjId:qr,resourceDictionaryObjId:Xn}));ln(qr,!0),I("<</Type /Pages");var U="/Kids [";for(m=0;m<le;m++)U+=E[m]+" 0 R ";I(U+"]"),I("/Count "+le),I(">>"),I("endobj"),be.publish("postPutPages")},ci=function(u){be.publish("putFont",{font:u,out:I,newObject:qe,putStream:zn}),u.isAlreadyPutted!==!0&&(u.objectNumber=qe(),I("<<"),I("/Type /Font"),I("/BaseFont /"+fa(u.postScriptName)),I("/Subtype /Type1"),typeof u.encoding=="string"&&I("/Encoding /"+u.encoding),I("/FirstChar 32"),I("/LastChar 255"),I(">>"),I("endobj"))},Ri=function(u){u.objectNumber=qe();var m=[];m.push({key:"Type",value:"/XObject"}),m.push({key:"Subtype",value:"/Form"}),m.push({key:"BBox",value:"["+[Y(u.x),Y(u.y),Y(u.x+u.width),Y(u.y+u.height)].join(" ")+"]"}),m.push({key:"Matrix",value:"["+u.matrix.toString()+"]"});var E=u.pages[1].join(`
7`);zn({data:E,additionalKeyValues:m,objectId:u.objectNumber}),I("endobj")},Ti=function(u,m){m||(m=21);var E=qe(),U=(function(mt,Ft){var Et,Kt=[],te=1/(Ft-1);for(Et=0;Et<1;Et+=te)Kt.push(Et);if(Kt.push(1),mt[0].offset!=0){var de={offset:0,color:mt[0].color};mt.unshift(de)}if(mt[mt.length-1].offset!=1){var Ze={offset:1,color:mt[mt.length-1].color};mt.push(Ze)}for(var xe="",Ae=0,Ce=0;Ce<Kt.length;Ce++){for(Et=Kt[Ce];Et>mt[Ae+1].offset;)Ae++;var Te=mt[Ae].offset,De=(Et-Te)/(mt[Ae+1].offset-Te),pn=mt[Ae].color,Fr=mt[Ae+1].color;xe+=W(Math.round((1-De)*pn[0]+De*Fr[0]).toString(16))+W(Math.round((1-De)*pn[1]+De*Fr[1]).toString(16))+W(Math.round((1-De)*pn[2]+De*Fr[2]).toString(16))}return xe.trim()})(u.colors,m),K=[];K.push({key:"FunctionType",value:"0"}),K.push({key:"Domain",value:"[0.0 1.0]"}),K.push({key:"Size",value:"["+m+"]"}),K.push({key:"BitsPerSample",value:"8"}),K.push({key:"Range",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),K.push({key:"Decode",value:"[0.0 1.0 0.0 1.0 0.0 1.0]"}),zn({data:U,additionalKeyValues:K,alreadyAppliedFilters:["/ASCIIHexDecode"],objectId:E}),I("endobj"),u.objectNumber=qe(),I("<< /ShadingType "+u.type),I("/ColorSpace /DeviceRGB");var ft="/Coords ["+Y(parseFloat(u.coords[0]))+" "+Y(parseFloat(u.coords[1]))+" ";u.type===2?ft+=Y(parseFloat(u.coords[2]))+" "+Y(parseFloat(u.coords[3])):ft+=Y(parseFloat(u.coords[2]))+" "+Y(parseFloat(u.coords[3]))+" "+Y(parseFloat(u.coords[4]))+" "+Y(parseFloat(u.coords[5])),I(ft+="]"),u.matrix&&I("/Matrix ["+u.matrix.toString()+"]"),I("/Function "+E+" 0 R"),I("/Extend [true true]"),I(">>"),I("endobj")},Di=function(u,m){var E=on(),U=qe();m.push({resourcesOid:E,objectOid:U}),u.objectNumber=U;var K=[];K.push({key:"Type",value:"/Pattern"}),K.push({key:"PatternType",value:"1"}),K.push({key:"PaintType",value:"1"}),K.push({key:"TilingType",value:"1"}),K.push({key:"BBox",value:"["+u.boundingBox.map(Y).join(" ")+"]"}),K.push({key:"XStep",value:Y(u.xStep)}),K.push({key:"YStep",value:Y(u.yStep)}),K.push({key:"Resources",value:E+" 0 R"}),u.matrix&&K.push({key:"Matrix",value:"["+u.matrix.toString()+"]"}),zn({data:u.stream,additionalKeyValues:K,objectId:u.objectNumber}),I("endobj")},to=function(u){for(var m in u.objectNumber=qe(),I("<<"),u)switch(m){case"opacity":I("/ca "+N(u[m]));break;case"stroke-opacity":I("/CA "+N(u[m]))}I(">>"),I("endobj")},ma=function(u){ln(u.resourcesOid,!0),I("<<"),I("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),(function(){for(var m in I("/Font <<"),se)se.hasOwnProperty(m)&&(w===!1||w===!0&&x.hasOwnProperty(m))&&I("/"+m+" "+se[m].objectNumber+" 0 R");I(">>")})(),(function(){if(Object.keys(Ut).length>0){for(var m in I("/Shading <<"),Ut)Ut.hasOwnProperty(m)&&Ut[m]instanceof ri&&Ut[m].objectNumber>=0&&I("/"+m+" "+Ut[m].objectNumber+" 0 R");be.publish("putShadingPatternDict"),I(">>")}})(),(function(m){if(Object.keys(Ut).length>0){for(var E in I("/Pattern <<"),Ut)Ut.hasOwnProperty(E)&&Ut[E]instanceof p.TilingPattern&&Ut[E].objectNumber>=0&&Ut[E].objectNumber<m&&I("/"+E+" "+Ut[E].objectNumber+" 0 R");be.publish("putTilingPatternDict"),I(">>")}})(u.objectOid),(function(){if(Object.keys(Yt).length>0){var m;for(m in I("/ExtGState <<"),Yt)Yt.hasOwnProperty(m)&&Yt[m].objectNumber>=0&&I("/"+m+" "+Yt[m].objectNumber+" 0 R");be.publish("putGStateDict"),I(">>")}})(),(function(){for(var m in I("/XObject <<"),dn)dn.hasOwnProperty(m)&&dn[m].objectNumber>=0&&I("/"+m+" "+dn[m].objectNumber+" 0 R");be.publish("putXobjectDict"),I(">>")})(),I(">>"),I("endobj")},Qa=function(u){oe[u.fontName]=oe[u.fontName]||{},oe[u.fontName][u.fontStyle]=u.id},ts=function(u,m,E,U,K){var ft={id:"F"+(Object.keys(se).length+1).toString(10),postScriptName:u,fontName:m,fontStyle:E,encoding:U,isStandardFont:K||!1,metadata:{}};return be.publish("addFont",{font:ft,instance:this}),se[ft.id]=ft,Qa(ft),ft.id},Hn=p.__private__.pdfEscape=p.pdfEscape=function(u,m){return(function(E,U){var K,ft,mt,Ft,Et,Kt,te,de,Ze;if(mt=(U=U||{}).sourceEncoding||"Unicode",Et=U.outputEncoding,(U.autoencode||Et)&&se[Bt].metadata&&se[Bt].metadata[mt]&&se[Bt].metadata[mt].encoding&&(Ft=se[Bt].metadata[mt].encoding,!Et&&se[Bt].encoding&&(Et=se[Bt].encoding),!Et&&Ft.codePages&&(Et=Ft.codePages[0]),typeof Et=="string"&&(Et=Ft[Et]),Et)){for(te=!1,Kt=[],K=0,ft=E.length;K<ft;K++)(de=Et[E.charCodeAt(K)])?Kt.push(String.fromCharCode(de)):Kt.push(E[K]),Kt[K].charCodeAt(0)>>8&&(te=!0);E=Kt.join("")}for(K=E.length;te===void 0&&K!==0;)E.charCodeAt(K-1)>>8&&(te=!0),K--;if(!te)return E;for(Kt=U.noBOM?[]:[254,255],K=0,ft=E.length;K<ft;K++){if((Ze=(de=E.charCodeAt(K))>>8)>>8)throw new Error("Character at position "+K+" of string '"+E+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");Kt.push(Ze),Kt.push(de-(Ze<<8))}return String.fromCharCode.apply(void 0,Kt)})(u,m).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},ba=p.__private__.beginPage=function(u){At[++le]=[],Vt[le]={objId:0,contentsObjId:0,userUnit:Number(l),artBox:null,bleedBox:null,cropBox:null,trimBox:null,mediaBox:{bottomLeftX:0,bottomLeftY:0,topRightX:Number(u[0]),topRightY:Number(u[1])}},ns(le),Dt(At[M])},es=function(u,m){var E,U,K;switch(e=m||e,typeof u=="string"&&(E=S(u.toLowerCase()),Array.isArray(E)&&(U=E[0],K=E[1])),Array.isArray(u)&&(U=u[0]*ne,K=u[1]*ne),isNaN(U)&&(U=s[0],K=s[1]),(U>14400||K>14400)&&(Le.warn("A page in a PDF can not be wider or taller than 14400 userUnit. jsPDF limits the width/height to 14400"),U=Math.min(14400,U),K=Math.min(14400,K)),s=[U,K],e.substr(0,1)){case"l":K>U&&(s=[K,U]);break;case"p":U>K&&(s=[K,U])}ba(s),co(Jt),I(Vi),xa!==0&&I(xa+" J"),Hr!==0&&I(Hr+" j"),be.publish("addPage",{pageNumber:le})},wa=function(u){u>0&&u<=le&&(At.splice(u,1),Vt.splice(u,1),le--,M>le&&(M=le),this.setPage(M))},ns=function(u){u>0&&u<=le&&(M=u)},rs=p.__private__.getNumberOfPages=p.getNumberOfPages=function(){return At.length-1},is=function(u,m,E){var U,K=void 0;return E=E||{},u=u!==void 0?u:se[Bt].fontName,m=m!==void 0?m:se[Bt].fontStyle,U=u.toLowerCase(),oe[U]!==void 0&&oe[U][m]!==void 0?K=oe[U][m]:oe[u]!==void 0&&oe[u][m]!==void 0?K=oe[u][m]:E.disableWarning===!1&&Le.warn("Unable to look up font label for font '"+u+"', '"+m+"'. Refer to getFontList(
7) for available fonts."),K||E.noFallback||(K=oe.times[m])==null&&(K=oe.times.normal),K},cr=p.__private__.putInfo=function(){var u=qe(),m=function(U){return U};for(var E in g!==null&&(m=un.encryptor(u,0)),I("<<"),I("/Producer ("+Hn(m("jsPDF "+Mt.version))+")"),ce)ce.hasOwnProperty(E)&&ce[E]&&I("/"+E.substr(0,1).toUpperCase()+E.substr(1)+" ("+Hn(m(ce[E]))+")");I("/CreationDate ("+Hn(m(it))+")"),I(">>"),I("endobj")},qi=p.__private__.putCatalog=function(u){var m=(u=u||{}).rootDictionaryObjId||qr;switch(qe(),I("<<"),I("/Type /Catalog"),I("/Pages "+m+" 0 R"),Wt||(Wt="fullwidth"),Wt){case"fullwidth":I("/OpenAction [3 0 R /FitH null]");break;case"fullheight":I("/OpenAction [3 0 R /FitV null]");break;case"fullpage":I("/OpenAction [3 0 R /Fit]");break;case"original":I("/OpenAction [3 0 R /XYZ null null 1]");break;default:var E=""+Wt;E.substr(E.length-1)==="%"&&(Wt=parseInt(Wt)/100),typeof Wt=="number"&&I("/OpenAction [3 0 R /XYZ null null "+N(Wt)+"]")}switch(ue||(ue="continuous"),ue){case"continuous":I("/PageLayout /OneColumn");break;case"single":I("/PageLayout /SinglePage");break;case"two":case"twoleft":I("/PageLayout /TwoColumnLeft");break;case"tworight":I("/PageLayout /TwoColumnRight")}qt&&I("/PageMode /"+qt),be.publish("putCatalog"),I(">>"),I("endobj")},eo=p.__private__.putTrailer=function(){I("trailer"),I("<<"),I("/Size "+($+1)),I("/Root "+$+" 0 R"),I("/Info "+($-1)+" 0 R"),g!==null&&I("/Encrypt "+un.oid+" 0 R"),I("/ID [ <"+at+"> <"+at+"> ]"),I(">>")},Xe=p.__private__.putHeader=function(){I("%PDF-"+B),I("%ºß¬à")},as=p.__private__.putXRef=function(){var u="0000000000";I("xref"),I("0 "+($+1)),I("0000000000 65535 f ");for(var m=1;m<=$;m++)typeof Q[m]=="function"?I((u+Q[m]()).slice(-10)+" 00000 n "):Q[m]!==void 0?I((u+Q[m]).slice(-10)+" 00000 n "):I("0000000000 00000 n ")},fr=p.__private__.buildDocument=function(){var u;$=0,lt=0,st=[],Q=[],vt=[],qr=on(),Xn=on(),Dt(st),be.publish("buildDocument"),Xe(),ur(),(function(){be.publish("putAdditionalObjects");for(var E=0;E<vt.length;E++){var U=vt[E];ln(U.objId,!0),I(U.content),I("endobj")}be.publish("postPutAdditionalObjects")})(),u=[],(function(){for(var E in se)se.hasOwnProperty(E)&&(w===!1||w===!0&&x.hasOwnProperty(E))&&ci(se[E])})(),(function(){var E;for(E in Yt)Yt.hasOwnProperty(E)&&to(Yt[E])})(),(function(){for(var E in dn)dn.hasOwnProperty(E)&&Ri(dn[E])})(),(function(E){var U;for(U in Ut)Ut.hasOwnProperty(U)&&(Ut[U]instanceof ri?Ti(Ut[U]):Ut[U]instanceof ki&&Di(Ut[U],E))})(u),be.publish("putResources"),u.forEach(ma),ma({resourcesOid:Xn,objectOid:Number.MAX_SAFE_INTEGER}),be.publish("postPutResources"),g!==null&&(un.oid=qe(),I("<<"),I("/Filter /Standard"),I("/V "+un.v),I("/R "+un.r),I("/U <"+un.toHexString(un.U)+">"),I("/O <"+un.toHexString(un.O)+">"),I("/P "+un.P),I(">>"),I("endobj")),cr(),qi();var m=lt;return as(),eo(),I("startxref"),I(""+m),I("%%EOF"),Dt(At[M]),st.join(`
8`)},Ui=p.__private__.getBlob=function(u){return new Blob([ae(u)],{type:"application/pdf"})},ya=function(u){for(;u.firstChild;)u.removeChild(u.firstChild)},Fn=function(u){var m,E=u.document,U=E.documentElement,K=E.head,ft=E.body;return K||(K=E.createElement("head"),U.appendChild(K)),ft||(ft=E.createElement("body"),U.appendChild(ft)),ya(K),ya(ft),(m=E.createElement("style")).appendChild(E.createTextNode("html, body { padding: 0; margin: 0; } iframe { width: 100%; height: 100%; border: 0;}")),K.appendChild(m),{document:E,body:ft}},zi=p.output=p.__private__.output=(Un=function(u,m){switch(typeof(m=m||{})=="string"?m={filename:m}:m.filename=m.filename||"generated.pdf",u){case void 0:return fr();case"save":p.save(m.filename);break;case"arraybuffer":return ae(fr());case"blob":return Ui(fr());case"bloburi":case"bloburl":if($t.URL!==void 0&&typeof $t.URL.createObjectURL=="function")return $t.URL&&$t.URL.createObjectURL(Ui(fr()))||void 0;Le.warn("bloburl is not supported by your system, because URL.createObjectURL is not supported by your browser.");break;case"datauristring":case"dataurlstring":var E="",U=fr();try{E=sc(U)}catch{E=sc(unescape(encodeURIComponent(U)))}return"data:application/pdf;filename="+encodeURIComponent(m.filename)+";base64,"+E;case"pdfobjectnewwindow":if(Object.prototype.toString.call($t)==="[object Window]"){var K="https://cdnjs.cloudflare.com/ajax/libs/pdfobject/2.1.1/pdfobject.min.js",ft=!m.pdfObjectUrl;ft||(K=m.pdfObjectUrl);var mt=$t.open();if(mt!==null){var Ft=Fn(mt),Et=Ft.document.createElement("script"),Kt=this;Et.src=K,ft&&(Et.integrity="sha512-4ze/a9/4jqu+tX9dfOqJYSvyYd5M6qum/3HpCLr+/Jqf0whc37VUbkpNGHR7/8pSnCFw47T1fmIpwBV7UySh3g==",Et.crossOrigin="anonymous"),Et.onload=function(){mt.PDFObject.embed(Kt.output("dataurlstring"),m)},Ft.body.appendChild(Et)}return mt}throw new Error("The option pdfobjectnewwindow just works in a browser-environment.");case"pdfjsnewwindow":if(Object.prototype.toString.call($t)==="[object Window]"){var te=m.pdfJsUrl||"examples/PDF.js/web/viewer.html",de=$t.open();if(de!==null){var Ze=Fn(de),xe=Ze.document.createElement("iframe"),Ae=te.indexOf("?")===-1?"?":"&";Kt=this,xe.id="pdfViewer",xe.width="500px",xe.height="400px",xe.src=te
vendor: 14,080 bytes, lines 8-23
8+Ae+"file=&downloadName="+encodeURIComponent(m.filename),xe.onload=function(){de.document.title=m.filename,xe.contentWindow.PDFViewerApplication.open(Kt.output("bloburl"))},Ze.body.appendChild(xe)}return de}throw new Error("The option pdfjsnewwindow just works in a browser-environment.");case"dataurlnewwindow":if(Object.prototype.toString.call($t)!=="[object Window]")throw new Error("The option dataurlnewwindow just works in a browser-environment.");var Ce=$t.open();if(Ce!==null){var Te=Fn(Ce),De=Te.document.createElement("iframe");De.src=this.output("datauristring",m),Te.body.appendChild(De),Ce.document.title=m.filename}if(Ce||typeof safari>"u")return Ce;break;case"datauri":case"dataurl":return $t.document.location.href=this.output("datauristring",m);default:return null}},Un.foo=function(){try{return Un.apply(this,arguments)}catch(E){var u=E.stack||"";~u.indexOf(" at ")&&(u=u.split(" at ")[1]);var m="Error in function "+u.split(`
9`)[0].split("<")[0]+": "+E.message;if(!$t.console)throw new Error(m);$t.console.error(m,E),$t.alert&&alert(m)}},Un.foo.bar=Un,Un.foo),kr=function(u){return Array.isArray(oi)===!0&&oi.indexOf(u)>-1};switch(r){case"pt":ne=1;break;case"mm":ne=72/25.4;break;case"cm":ne=72/2.54;break;case"in":ne=72;break;case"px":ne=kr("px_scaling")==1?.75:96/72;break;case"pc":case"em":ne=12;break;case"ex":ne=6;break;default:if(typeof r!="number")throw new Error("Invalid unit: "+r);ne=r}var un=null;bt(),et();var ss=p.__private__.getPageInfo=p.getPageInfo=function(u){if(isNaN(u)||u%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfo");return{objId:Vt[u].objId,pageNumber:u,pageContext:Vt[u]}},no=p.__private__.getPageInfoByObjId=function(u){if(isNaN(u)||u%1!=0)throw new Error("Invalid argument passed to jsPDF.getPageInfoByObjId");for(var m in Vt)if(Vt[m].objId===u)break;return ss(m)},ro=p.__private__.getCurrentPageInfo=p.getCurrentPageInfo=function(){return{objId:Vt[M].objId,pageNumber:M,pageContext:Vt[M]}};p.addPage=function(){return es.apply(this,arguments),this},p.setPage=function(){return ns.apply(this,arguments),Dt.call(this,At[M]),this},p.insertPage=function(u){return this.addPage(),this.movePage(M,u),this},p.movePage=function(u,m){var E,U;if(u>m){E=At[u],U=Vt[u];for(var K=u;K>m;K--)At[K]=At[K-1],Vt[K]=Vt[K-1];At[m]=E,Vt[m]=U,this.setPage(m)}else if(u<m){E=At[u],U=Vt[u];for(var ft=u;ft<m;ft++)At[ft]=At[ft+1],Vt[ft]=Vt[ft+1];At[m]=E,Vt[m]=U,this.setPage(m)}return this},p.deletePage=function(){return wa.apply(this,arguments),this},p.__private__.text=p.text=function(u,m,E,U,K){var ft,mt,Ft,Et,Kt,te,de,Ze,xe,Ae=(U=U||{}).scope||this;if(typeof u=="number"&&typeof m=="number"&&(typeof E=="string"||Array.isArray(E))){var Ce=E;E=m,m=u,u=Ce}if(arguments[3]instanceof Gt==0?(Ft=arguments[4],Et=arguments[5],_e(de=arguments[3])==="object"&&de!==null||(typeof Ft=="string"&&(Et=Ft,Ft=null),typeof de=="string"&&(Et=de,de=null),typeof de=="number"&&(Ft=de,de=null),U={flags:de,angle:Ft,align:Et})):(R("The transform parameter of text() with a Matrix value"),xe=K),isNaN(m)||isNaN(E)||u==null)throw new Error("Invalid arguments passed to jsPDF.text");if(u.length===0)return Ae;var Te,De="",pn=typeof U.lineHeightFactor=="number"?U.lineHeightFactor:fi,Fr=Ae.internal.scaleFactor;function ka(ke){return ke=ke.split("	").join(Array(U.TabLen||9).join(" ")),Hn(ke,de)}function pi(ke){for(var Pe,Ve=ke.concat(),tn=[],jr=Ve.length;jr--;)typeof(Pe=Ve.shift())=="string"?tn.push(Pe):Array.isArray(ke)&&(Pe.length===1||Pe[1]===void 0&&Pe[2]===void 0)?tn.push(Pe[0]):tn.push([Pe[0],Pe[1],Pe[2]]);return tn}function gi(ke,Pe){var Ve;if(typeof ke=="string")Ve=Pe(ke)[0];else if(Array.isArray(ke)){for(var tn,jr,Oa=ke.concat(),ra=[],vs=Oa.length;vs--;)typeof(tn=Oa.shift())=="string"?ra.push(Pe(tn)[0]):Array.isArray(tn)&&typeof tn[0]=="string"&&(jr=Pe(tn[0],tn[1],tn[2]),ra.push([jr[0],jr[1],jr[2]]));Ve=ra}return Ve}var Wr=!1,vi=!0;if(typeof u=="string")Wr=!0;else if(Array.isArray(u)){var $i=u.concat();mt=[];for(var Ki,gn=$i.length;gn--;)(typeof(Ki=$i.shift())!="string"||Array.isArray(Ki)&&typeof Ki[0]!="string")&&(vi=!1);Wr=vi}if(Wr===!1)throw new Error('Type of text must be string or Array. "'+u+'" is not recognized.');typeof u=="string"&&(u=u.match(/[\r?\n]/)?u.split(/\r\n|\r|\n/g):[u]);var mi=yt/Ae.internal.scaleFactor,bi=mi*(pn-1);switch(U.baseline){case"bottom":E-=bi;break;case"top":E+=mi-bi;break;case"hanging":E+=mi-2*bi;break;case"middle":E+=mi/2-bi}if((te=U.maxWidth||0)>0&&(typeof u=="string"?u=Ae.splitTextToSize(u,te):Object.prototype.toString.call(u)==="[object Array]"&&(u=u.reduce(function(ke,Pe){return ke.concat(Ae.splitTextToSize(Pe,te))},[]))),ft={text:u,x:m,y:E,options:U,mutex:{pdfEscape:Hn,activeFontKey:Bt,fonts:se,activeFontSize:yt}},be.publish("preProcessText",ft),u=ft.text,Ft=(U=ft.options).angle,xe instanceof Gt==0&&Ft&&typeof Ft=="number"){Ft*=Math.PI/180,U.rotationDirection===0&&(Ft=-Ft),T===z&&(Ft=-Ft);var Pa=Math.cos(Ft),pr=Math.sin(Ft);xe=new Gt(Pa,pr,-pr,Pa,0,0)}else Ft&&Ft instanceof Gt&&(xe=Ft);T!==z||xe||(xe=Sr),(Kt=U.charSpace||Gi)!==void 0&&(De+=Y(H(Kt))+` Tc
10`,this.setCharSpace(this.getCharSpace()||0)),(Ze=U.horizontalScale)!==void 0&&(De+=Y(100*Ze)+` Tz
11`),U.lang;var An=-1,ps=U.renderingMode!==void 0?U.renderingMode:U.stroke,Xi=Ae.internal.getCurrentPageInfo().pageContext;switch(ps){case 0:case!1:case"fill":An=0;break;case 1:case!0:case"stroke":An=1;break;case 2:case"fillThenStroke":An=2;break;case 3:case"invisible":An=3;break;case 4:case"fillAndAddForClipping":An=4;break;case 5:case"strokeAndAddPathForClipping":An=5;break;case 6:case"fillThenStrokeAndAddToPathForClipping":An=6;break;case 7:case"addToPathForClipping":An=7}var gs=Xi.usedRenderingMode!==void 0?Xi.usedRenderingMode:-1;An!==-1?De+=An+` Tr
12`:gs!==-1&&(De+=`0 Tr
13`),An!==-1&&(Xi.usedRenderingMode=An),Et=U.align||"left";var Wn,wi=yt*pn,Ia=Ae.internal.pageSize.getWidth(),Zi=se[Bt];Kt=U.charSpace||Gi,te=U.maxWidth||0,de=Object.assign({autoencode:!0,noBOM:!0},U.flags);var yi=[],Ca=function(ke){return Ae.getStringUnitWidth(ke,{font:Zi,charSpace:Kt,fontSize:yt,doKerning:!1})*yt/Fr};if(Object.prototype.toString.call(u)==="[object Array]"){var xn;mt=pi(u),Et!=="left"&&(Wn=mt.map(Ca));var Pn,Qi=0;if(Et==="right"){m-=Wn[0],u=[],gn=mt.length;for(var Vr=0;Vr<gn;Vr++)Vr===0?(Pn=Pr(m),xn=Ir(E)):(Pn=H(Qi-Wn[Vr]),xn=-wi),u.push([mt[Vr],Pn,xn]),Qi=Wn[Vr]}else if(Et==="center"){m-=Wn[0]/2,u=[],gn=mt.length;for(var Gr=0;Gr<gn;Gr++)Gr===0?(Pn=Pr(m),xn=Ir(E)):(Pn=H((Qi-Wn[Gr])/2),xn=-wi),u.push([mt[Gr],Pn,xn]),Qi=Wn[Gr]}else if(Et==="left"){u=[],gn=mt.length;for(var ta=0;ta<gn;ta++)u.push(mt[ta])}else if(Et==="justify"&&Zi.encoding==="Identity-H"){u=[],gn=mt.length,te=te!==0?te:Ia;for(var _i=0,Qe=0;Qe<gn;Qe++)if(xn=Qe===0?Ir(E):-wi,Pn=Qe===0?Pr(m):_i,Qe<gn-1){var wo=H((te-Wn[Qe])/(mt[Qe].split(" ").length-1)),gr=mt[Qe].split(" ");u.push([gr[0]+" ",Pn,xn]),_i=0;for(var tr=1;tr<gr.length;tr++){var Ai=(Ca(gr[tr-1]+" "+gr[tr])-Ca(gr[tr]))*Fr+wo;tr==gr.length-1?u.push([gr[tr],Ai,0]):u.push([gr[tr]+" ",Ai,0]),_i-=Ai}}else u.push([mt[Qe],Pn,xn]);u.push(["",_i,0])}else{if(Et!=="justify")throw new Error('Unrecognized alignment option, use "left", "center", "right" or "justify".');for(u=[],gn=mt.length,te=te!==0?te:Ia,Qe=0;Qe<gn;Qe++){xn=Qe===0?Ir(E):-wi,Pn=Qe===0?Pr(m):0;var Ea=mt[Qe].split(" ").length-1,Fa=Ea>0?(te-Wn[Qe])/Ea:0;Qe<gn-1?yi.push(Y(H(Fa))):yi.push(0),u.push([mt[Qe],Pn,xn])}}}(typeof U.R2L=="boolean"?U.R2L:zt)===!0&&(u=gi(u,function(ke,Pe,Ve){return[ke.split("").reverse().join(""),Pe,Ve]})),ft={text:u,x:m,y:E,options:U,mutex:{pdfEscape:Hn,activeFontKey:Bt,fonts:se,activeFontSize:yt}},be.publish("postProcessText",ft),u=ft.text,Te=ft.mutex.isHex||!1;var ea=se[Bt].encoding;ea!=="WinAnsiEncoding"&&ea!=="StandardEncoding"||(u=gi(u,function(ke,Pe,Ve){return[ka(ke),Pe,Ve]})),mt=pi(u),u=[];for(var xi,Ni,Yr,Or=Array.isArray(mt[0])?1:0,Jr="",na=function(ke,Pe,Ve){var tn="";return Ve instanceof Gt?(Ve=typeof U.angle=="number"?Lr(Ve,new Gt(1,0,0,1,ke,Pe)):Lr(new Gt(1,0,0,1,ke,Pe),Ve),T===z&&(Ve=Lr(new Gt(1,0,0,-1,0,0),Ve)),tn=Ve.join(" ")+` Tm
14`):tn=Y(ke)+" "+Y(Pe)+` Td
15`,tn},vn=0;vn<mt.length;vn++){switch(Jr="",Or){case 1:Yr=(Te?"<":"(")+mt[vn][0]+(Te?">":")"),xi=parseFloat(mt[vn][1]),Ni=parseFloat(mt[vn][2]);break;case 0:Yr=(Te?"<":"(")+mt[vn]+(Te?">":")"),xi=Pr(m),Ni=Ir(E)}yi!==void 0&&yi[vn]!==void 0&&(Jr=yi[vn]+` Tw
16`),vn===0?u.push(Jr+na(xi,Ni,xe)+Yr):Or===0?u.push(Jr+Yr):Or===1&&u.push(Jr+na(xi,Ni,xe)+Yr)}u=Or===0?u.join(` Tj
17T* `):u.join(` Tj
18`),u+=` Tj
19`;var vr=`BT
20/`;return vr+=Bt+" "+yt+` Tf
21`,vr+=Y(yt*pn)+` TL
22`,vr+=dr+`
23`,vr+=De,vr+=u,I(vr+="ET"),x[Bt]=!0,Ae};var io=p.__private__.clip=p.clip=function(u){return I(u==="evenodd"?"W*":"W"),this};p.clipEvenOdd=function(){return io("evenodd")},p.__private__.discardPath=p.discardPath=function(){return I("n"),this};var hr=p.__private__.isValidStyle=function(u){var m=!1;return[void 0,null,"S","D","F","DF","FD","f","f*","B","B*","n"].indexOf(u)!==-1&&(m=!0),m};p.__private__.setDefaultPathOperation=p.setDefaultPathOperation=function(u){return hr(u)&&(d=u),this};var os=p.__private__.getStyle=p.getStyle=function(u){var m=d;switch(u){case"D":case"S":m="S";break;case"F":m="f";break;case"FD":case"DF":m="B";break;case"f":case"f*":case"B":case"B*":m=u}return m},Hi=p.close=function(){return I("h"),this};p.stroke=function(){return I("S"),this},p.fill=function(u){return Wi("f",u),this},p.fillEvenOdd=function(u){return Wi("f*",u),this},p.fillStroke=function(u){return Wi("B",u),this},p.fillStrokeEvenOdd=function(u){return Wi("B*",u),this};var Wi=function(u,m){_e(m)==="object"?so(m,u):I(u)},_a=function(u){u===null||T===z&&u===void 0||(u=os(u),I(u))};function ao(u,m,E,U,K){var ft=new ki(m||this.boundingBox,E||this.xStep,U||this.yStep,this.gState,K||this.matrix);ft.stream=this.stream;var mt=u+"$$"+this.cloneIndex+++"$$";return qn(mt,ft),ft}var so=function(u,m){var E=Se[u.key],U=Ut[E];if(U instanceof ri)I("q"),I(oo(m)),U.gState&&p.setGState(U.gState),I(u.matrix.toString()+" cm"),I("/"+E+" sh"),I("Q");else if(U instanceof ki){var K=new Gt(1,0,0,-1,0,di());u.matrix&&(K=K.multiply(u.matrix||Sr),E=ao.call(U,u.key,u.boundingBox,u.xStep,u.yStep,K).id),I("q"),I("/Pattern cs"),I("/"+E+" scn"),U.gState&&p.setGState(U.gState),I(m),I("Q")}},oo=function(u){switch(u){case"f":case"F":case"n":return"W n";case"f*":return"W* n";case"B":case"S":return"W S";case"B*":return"W* S"}},Ur=p.moveTo=function(u,m){return I(Y(H(u))+" "+Y(q(m))+" m"),this},ls=p.lineTo=function(u,m){return I(Y(H(u))+" "+Y(q(m))+" l"),this},zr=p.curveTo=function(u,m,E,U,K,ft){return I([Y(H(u)),Y(q(m)),Y(H(E)),Y(q(U)),Y(H(K)),Y(q(ft)),"c"].join(" ")),this};p.__private__.line=p.line=function(u,m,E,U,K){if(isNaN(u)||isNaN(m)||isNaN(E)||isNaN(U)||!hr(K))throw new Error("Invalid arguments passed to jsPDF.line");return T===V?this.lines([[E-u,U-m]],u,m,[1,1],K||"S"):this.lines([[E-u,U-m]],u,m,[1,1]).stroke()},p.__private__.lines=p.lines=function(u,m,E,U,K,ft){var mt,Ft,Et,Kt,te,de,Ze,xe,Ae,Ce,Te,De;if(typeof u=="number"&&(De=E,E=m,m=u,u=De),U=U||[1,1],ft=ft||!1,isNaN(m)||isNaN(E)||!Array.isArray(u)||!Array.isArray(U)||!hr(K)||typeof ft!="boolean")throw new Error("Invalid arguments passed to jsPDF.lines");for(Ur(m,E),mt=U[0],Ft=U[1],Kt=u.length,Ce=m,Te=E,Et=0;Et<Kt;Et++)(te=u[Et]).length===2?(Ce=te[0]*mt+Ce,Te=te[1]*Ft+Te,ls(Ce,Te)):(de=te[0]*mt+Ce,Ze=te[1]*Ft+Te,xe=te[2]*mt+Ce,Ae=te[3]*Ft+Te,Ce=te[4]*mt+Ce,Te=te[5]*Ft+Te,zr(de,Ze,xe,Ae,Ce,Te));return ft&&Hi(),_a(K),this},p.path=function(u){for(var m=0;m<u.length;m++){var E=u[m],U=E.c;switch(E.op){case"m":Ur(U[0],U[1]);break;case"l":ls(U[0],U[1]);break;case"c":zr.apply(this,U);break;case"h":Hi()}}return this},p.__private__.rect=p.rect=function(u,m,E,U,K){if(isNaN(u)||isNaN(m)||isNaN(E)||isNaN(U)||!hr(K))throw new Error("Invalid arguments passed to jsPDF.rect");return T===V&&(U=-U),I([Y(H(u)),Y(q(m)),Y(H(E)),Y(H(U)),"re"].join(" ")),_a(K),this},p.__private__.triangle=p.triangle=function(u,m,E,U,K,ft,mt){if(isNaN(u)||isNaN(m)||isNaN(E)||isNaN(U)||isNaN(K)||isNaN(ft)||!hr(mt))throw new Error("Invalid arguments passed to jsPDF.triangle");return this.lines([[E-u,U-m],[K-E,ft-U],[u-K,m-ft]],u,m,[1,1],mt,!0),this},p.__private__.roundedRect=p.roundedRect=function(u,m,E,U,K,ft,mt){if(isNaN(u)||isNaN(m)||isNaN(E)||isNaN(U)||isNaN(K)||isNaN(ft)||!hr(mt))throw new Error("Invalid arguments passed to jsPDF.roundedRect");var Ft=4/3*(Math.SQRT2-1);return K=Math.min(K,.5*E),ft=Math.min(ft,.5*U),this.lines([[E-2*K,0],[K*Ft,0,K,ft-ft*Ft,K,ft],[0,U-2*ft],[0,ft*Ft,-K*Ft,ft,-K,ft],[2*K-E,0],[-K*Ft,0,-K,-ft*Ft,-K,-ft],[0,2*ft-U],[0,-ft*Ft,K*Ft,-ft,K,-ft]],u+K,m,[1,1],mt,!0),this},p.__private__.ellipse=p.ellipse=function(u,m,E,U,K){if(isNaN(u)||isNaN(m)||isNaN(E)||isNaN(U)||!hr(K))throw new Error("Invalid arguments passed to jsPDF.ellipse");var ft=4/3*(Math.SQRT2-1)*E,mt=4/3*(Math.SQRT2-1)*U;return Ur(u+E,m),zr(u+E,m-mt,u+ft,m-U,u,m-U),zr(u-ft,m-U,u-E,m-mt,u-E,m),zr(u-E,m+mt,u-ft,m+U,u,m+U),zr(u+ft,m+U,u+E,m+mt,u+E,m),_a(K),this},p.__private__.circle=p.circle=function(u,m,E,U){if(isNaN(u)||isNaN(m)||isNaN(E)||!hr(U))throw new Error("Invalid arguments passed to jsPDF.circle");return this.ellipse(u,m,E,E,U)},p.setFont=function(u,m,E){return E&&(m=ut(m,E)),Bt=is(u,m,{disableWarning:!1}),this};var lo=p.__private__.getFont=p.getFont=function(){return se[is.apply(p,arguments)]};p.__private__.getFontList=p.getFontList=function(){var u,m,E={};for(u in oe)if(oe.hasOwnProperty(u))for(m in E[u]=[],oe[u])oe[u].hasOwnProperty(m)&&E[u].push(m);return E},p.addFont=function(u,m,E,U,K){var ft=["StandardEncoding","MacRomanEncoding","Identity-H","WinAnsiEncoding"];return arguments[3]&&ft.indexOf(arguments[3])!==-1?K=arguments[3]:arguments[3]&&ft.indexOf(arguments[3])==-1&&(E=ut(E,U)),ts.call(this,u,m,E,K=K||"Identity-H")};var fi,Jt=n.lineWidth||.200025,uo=p.__private__.getLineWidth=p.getLineWidth=function(){return Jt},co=p.__private__.setLineWidth=p.setLineWidth=function(u){return Jt=u,I(Y(H(u))+" w"),this};p.__private__.setLineDash=Mt.API.setLineDash=Mt.API.setLineDashPattern=function(u,m){if(u=u||[],m=m||0,isNaN(m)||!Array.isArray(u))throw new Error("Invalid arguments passed to 
23jsPDF.setLineDash");return u=u.map(function(E){return Y(H(E))}).join(" "),m=Y(H(m)),I("["+u+"] "+m+" d"),this};var fo=p.__private__.getLineHeight=p.getLineHeight=function(){return yt*fi};p.__private__.getLineHeight=p.getLineHeight=function(){return yt*fi};var ho=p.__private__.setLineHeightFactor=p.setLineHeightFactor=function(u){return typeof(u=u||1.15)=="number"&&(fi=u),this},po=p.__private__.getLineHeightFactor=p.getLineHeightFactor=function(){return fi};ho(n.lineHeight);var Pr=p.__private__.getHorizontalCoordinate=function(u){return H(u)},Ir=p.__private__.getVerticalCoordinate=function(u){return T===z?u:Vt[M].mediaBox.topRightY-Vt[M].mediaBox.bottomLeftY-H(u)},go=p.__private__.getHorizontalCoordinateString=p.getHorizontalCoordinateString=function(u){return Y(Pr(u))},vo=p.__private__.getVerticalCoordinateString=p.getVerticalCoordinateString=function(u){return Y(Ir(u))},Vi=n.strokeColor||"0 G";p.__private__.getStrokeColor=p.getDrawColor=function(){return lr(Vi)},p.__private__.setStrokeColor=p.setDrawColor=function(u,m,E,U){return Vi=Zn({ch1:u,ch2:m,ch3:E,ch4:U,pdfColorType:"draw",precision:2}),I(Vi),this};var Aa=n.fillColor||"0 g";p.__private__.getFillColor=p.getFillColor=function(){return lr(Aa)},p.__private__.setFillColor=p.setFillColor=function(u,m,E,U){return Aa=Zn({ch1:u,ch2:m,ch3:E,ch4:U,pdfColorType:"fill",precision:2}),I(Aa),this};var dr=n.textColor||"0 g",mo=p.__private__.getTextColor=p.getTextColor=function(){return lr(dr)};p.__private__.setTextColor=p.setTextColor=function(u,m,E,U){return dr=Zn({ch1:u,ch2:m,ch3:E,ch4:U,pdfColorType:"text",precision:3}),this};var Gi=n.charSpace,bo=p.__private__.getCharSpace=p.getCharSpace=function(){return parseFloat(Gi||0)};p.__private__.setCharSpace=p.setCharSpace=function(u){if(isNaN(u))throw new Error("Invalid argument passed to jsPDF.setCharSpace");return Gi=u,this};var xa=0;p.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},p.__private__.setLineCap=p.setLineCap=function(u){var m=p.CapJoinStyles[u];if(m===void 0)throw new Error("Line cap style of '"+u+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return xa=m,I(m+" J"),this};var Hr=0;p.__private__.setLineJoin=p.setLineJoin=function(u){var m=p.CapJoinStyles[u];if(m===void 0)throw new Error("Line join style of '"+u+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return Hr=m,I(m+" j"),this},p.__private__.setLineMiterLimit=p.__private__.setMiterLimit=p.setLineMiterLimit=p.setMiterLimit=function(u){if(u=u||0,isNaN(u))throw new Error("Invalid argument passed to jsPDF.setLineMiterLimit");return I(Y(H(u))+" M"),this},p.GState=Ja,p.setGState=function(u){(u=typeof u=="string"?Yt[Qt[u]]:Na(null,u)).equals(je)||(I("/"+u.id+" gs"),je=u)};var Na=function(u,m){if(!u||!Qt[u]){var E=!1;for(var U in Yt)if(Yt.hasOwnProperty(U)&&Yt[U].equals(m)){E=!0;break}if(E)m=Yt[U];else{var K="GS"+(Object.keys(Yt).length+1).toString(10);Yt[K]=m,m.id=K}return u&&(Qt[u]=m.id),be.publish("addGState",m),m}};p.addGState=function(u,m){return Na(u,m),this},p.saveGraphicsState=function(){return I("q"),Oe.push({key:Bt,size:yt,color:dr}),this},p.restoreGraphicsState=function(){I("Q");var u=Oe.pop();return Bt=u.key,yt=u.size,dr=u.color,je=null,this},p.setCurrentTransformationMatrix=function(u){return I(u.toString()+" cm"),this},p.comment=function(u){return I("#"+u),this};var hi=function(u,m){var E=u||0;Object.defineProperty(this,"x",{enumerable:!0,get:function(){return E},set:function(ft){isNaN(ft)||(E=parseFloat(ft))}});var U=m||0;Object.defineProperty(this,"y",{enumerable:!0,get:function(){return U},set:function(ft){isNaN(ft)||(U=parseFloat(ft))}});var K="pt";return Object.defineProperty(this,"type",{enumerable:!0,get:function(){return K},set:function(ft){K=ft.toString()}}),this},La=function(u,m,E,U){hi.call(this,u,m),this.type="rect";var K=E||0;Object.defineProperty(this,"w",{enumerable:!0,get:function(){return K},set:function(mt){isNaN(mt)||(K=parseFloat(mt))}});var ft=U||0;return Object.defineProperty(this,"h",{enumerable:!0,get:function(){return ft},set:function(mt){isNaN(mt)||(ft=parseFloat(mt))}}),this},Yi=function(){this.page=le,this.currentPage=M,this.pages=At.slice(0),this.pagesContext=Vt.slice(0),this.x=Tt,this.y=We,this.matrix=ge,this.width=us(M),this.height=Er(M),this.outputDestination=Lt,this.id="",this.objectNumber=-1};Yi.prototype.restore=function(){le=this.page,M=this.currentPage,Vt=this.pagesContext,At=this.pages,Tt=this.x,We=this.y,ge=this.matrix,Cr(M,this.width),cs(M,this.height),Lt=this.outputDestination};var Sa=function(u,m,E,U,K){or.push(new Yi),le=M=0,At=[],Tt=u,We=m,ge=K,ba([E,U])};for(var Ji in p.beginFormObject=function(u,m,E,U,K){return Sa(u,m,E,U,K),this},p.endFormObject=function(u){return(function(m){if(Nr[m])or.pop().restore(
vendor: 4,718 bytes, line 23
23);else{var E=new Yi,U="Xo"+(Object.keys(dn).length+1).toString(10);E.id=U,Nr[m]=U,dn[U]=E,be.publish("addFormObject",E),or.pop().restore()}})(u),this},p.doFormObject=function(u,m){var E=dn[Nr[u]];return I("q"),I(m.toString()+" cm"),I("/"+E.id+" Do"),I("Q"),this},p.getFormObject=function(u){var m=dn[Nr[u]];return{x:m.x,y:m.y,width:m.width,height:m.height,matrix:m.matrix}},p.save=function(u,m){return u=u||"generated.pdf",(m=m||{}).returnPromise=m.returnPromise||!1,m.returnPromise===!1?(Si(Ui(fr()),u),typeof Si.unload=="function"&&$t.setTimeout&&setTimeout(Si.unload,911),this):new Promise(function(E,U){try{var K=Si(Ui(fr()),u);typeof Si.unload=="function"&&$t.setTimeout&&setTimeout(Si.unload,911),E(K)}catch(ft){U(ft.message)}})},Mt.API)Mt.API.hasOwnProperty(Ji)&&(Ji==="events"&&Mt.API.events.length?(function(u,m){var E,U,K;for(K=m.length-1;K!==-1;K--)E=m[K][0],U=m[K][1],u.subscribe.apply(u,[E].concat(typeof U=="function"?[U]:U))})(be,Mt.API.events):p[Ji]=Mt.API[Ji]);function us(u){return Vt[u].mediaBox.topRightX-Vt[u].mediaBox.bottomLeftX}function Cr(u,m){Vt[u].mediaBox.topRightX=m+Vt[u].mediaBox.bottomLeftX}function Er(u){return Vt[u].mediaBox.topRightY-Vt[u].mediaBox.bottomLeftY}function cs(u,m){Vt[u].mediaBox.topRightY=m+Vt[u].mediaBox.bottomLeftY}var fs=p.getPageWidth=function(u){return us(u=u||M)/ne},hs=p.setPageWidth=function(u,m){Cr(u,m*ne)},di=p.getPageHeight=function(u){return Er(u=u||M)/ne},ds=p.setPageHeight=function(u,m){cs(u,m*ne)};return p.internal={pdfEscape:Hn,getStyle:os,getFont:lo,getFontSize:Ct,getCharSpace:bo,getTextColor:mo,getLineHeight:fo,getLineHeightFactor:po,getLineWidth:uo,write:kt,getHorizontalCoordinate:Pr,getVerticalCoordinate:Ir,getCoordinateString:go,getVerticalCoordinateString:vo,collections:{},newObject:qe,newAdditionalObject:li,newObjectDeferred:on,newObjectDeferredBegin:ln,getFilters:Qn,putStream:zn,events:be,scaleFactor:ne,pageSize:{getWidth:function(){return fs(M)},setWidth:function(u){hs(M,u)},getHeight:function(){return di(M)},setHeight:function(u){ds(M,u)}},encryptionOptions:g,encryption:un,getEncryptor:function(u){return g!==null?un.encryptor(u,0):function(m){return m}},output:zi,getNumberOfPages:rs,get pages(){return At},out:I,f2:N,f3:C,getPageInfo:ss,getPageInfoByObjId:no,getCurrentPageInfo:ro,getPDFVersion:P,Point:hi,Rectangle:La,Matrix:Gt,hasHotfix:kr},Object.defineProperty(p.internal.pageSize,"width",{get:function(){return fs(M)},set:function(u){hs(M,u)},enumerable:!0,configurable:!0}),Object.defineProperty(p.internal.pageSize,"height",{get:function(){return di(M)},set:function(u){ds(M,u)},enumerable:!0,configurable:!0}),(function(u){for(var m=0,E=Ht.length;m<E;m++){var U=ts.call(this,u[m][0],u[m][1],u[m][2],Ht[m][3],!0);w===!1&&(x[U]=!0);var K=u[m][0].split("-");Qa({id:U,fontName:K[0],fontStyle:K[1]||""})}be.publish("addFonts",{fonts:se,dictionary:oe})}).call(p,Ht),Bt="F1",es(s,e),be.publish("initialized"),p}ca.prototype.lsbFirstWord=function(n){return String.fromCharCode(255&n,n>>8&255,n>>16&255,n>>24&255)},ca.prototype.toHexString=function(n){return n.split("").map(function(t){return("0"+(255&t.charCodeAt(0)).toString(16)).slice(-2)}).join("")},ca.prototype.hexToBytes=function(n){for(var t=[],e=0;e<n.length;e+=2)t.push(String.fromCharCode(parseInt(n.substr(e,2),16)));return t.join("")},ca.prototype.processOwnerPassword=function(n,t){return pl(dl(t).substr(0,5),n)},ca.prototype.encryptor=function(n,t){var e=dl(this.encryptionKey+String.fromCharCode(255&n,n>>8&255,n>>16&255,255&t,t>>8&255)).substr(0,10);return function(r){return pl(e,r)}},Ja.prototype.equals=function(n){var t,e="id,objectNumber,equals";if(!n||_e(n)!==_e(this))return!1;var r=0;for(t in this)if(!(e.indexOf(t)>=0)){if(this.hasOwnProperty(t)&&!n.hasOwnProperty(t)||this[t]!==n[t])return!1;r++}for(t in n)n.hasOwnProperty(t)&&e.indexOf(t)<0&&r--;return r===0},Mt.API={events:[]},Mt.version="4.2.1";var He=Mt.API,Pl=1,Mi=function(n){return n.replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},sa=function(n){return n.replace(/\\\\/g,"\\").replace(/\\\(/g,"(").replace(/\\\)/g,")")},Oi=function(n){return n.toString().replace(/#/g,"#23").replace(/[\s\n\r()<>[\]{}\/%]/g,function(t){var e=t.charCodeAt(0).toString(16).toUpperCase();return"#"+(e.length===1?"0"+e:e)})},Xt=function(n){return n.toFixed(2)},ni=function(n){return n.toFixed(5)};He.__acroform__={};var En=function(n,t){n.prototype=Object.create(t.prototype),n.prototype.constructor=n},cc=function(n){return n*Pl},wr=function(n){var t=new bf,e=It.internal.getHeight(n)||0,r=It.internal.getWidth(n)||0;return t.BBox=[0,0,Number(Xt(r)),Number(Xt(e))],t},P2=He.__acroform__.setBit=function(n,t){if(n=n||0,t=t||0,isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to 
23jsPDF.API.__acroform__.setBit");return n|1<<t},I2=He.__acroform__.clearBit=function(n,t){if(n=n||0,t=t||0,isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBit");return n&~(1<<t)},C2=He.__acroform__.getBit=function(n,t){if(isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBit");return n&1<<t?1:0},Je=He.__acroform__.getBitForPdf=function(n,t){if(isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.getBitForPdf");return C2(n,t-1)},$e=He.__acroform__.setBitForPdf=function(n,t){if(isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.setBitForPdf");return P2(n,t-1)},Ke=He.__acroform__.clearBitForPdf=function(n,t){if(isNaN(n)||isNaN(t))throw new Error("Invalid arguments passed to jsPDF.API.__acroform__.clearBitForPdf");return I2(n,t-1)},E2=He.__acroform__.calculateCoordinates=function(n,t){var e=t.internal.getHorizontalCoordinate,r=t.internal.getVerticalCoordinate,s=n[0],a=n[1],f=n[2],l=n[3],c={};return c.lowerLeft_X=e(s)||0,c.lowerLeft_Y=r(a+l)||0,c.upperRight_X=e(s+f)||0,c.upperRight_Y=r(a)||0,[Number(Xt(c.lowerLeft_X)),Number(Xt(c.lowerLeft_Y)),Number(Xt(c.upperRight_X)),Number(Xt(c.upperRight_Y))]},F2=function(n){if(n.appearanceStreamContent)return n.appearanceStreamContent;if(n.V||n.DV){var t=[],e=n._V||n.DV,r=gl(n,e),s=n.scope.internal.getFont(n.fontName,n.fontStyle).id;t.push("/Tx BMC"),t.push("q"),t.push("BT"),t.push(n.scope.__private__.encodeColorString(n.color)),t.push("/"+s+" "+Xt(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 a=wr(n);return a.scope=n.scope,a.stream=t.join(`
24`),a}},gl=function(n,t){var e=n.fontSize===0?n.maxFontSize:n.fontSize,r={text:"",fontSize:""},s=(t=(t=t.substr(0,1)=="("?t.substr(1):t).substr(t.length-1)==")"?t.substr(0,t.length-1):t).split(" ");s=n.multiline?s.map(function(N){return N.split(`
25`)}):s.map(function(N){return[N]});var a=e,f=It.internal.getHeight(n)||0;f=f<0?-f:f;var l=It.internal.getWidth(n)||0;l=l<0?-l:l;var c=function(N,C,H){if(N+1<s.length){var q=C+" "+s[N+1][0];return qs(q,n,H).width<=l-4}return!1};a++;t:for(;a>0;){t="",a--;var d,g,w=qs("3",n,a).height,x=n.multiline?f-a:(f-w)/2,p=x+=2,B=0,P=0,j=0;if(a<=0){t=`(...) Tj
26`,t+="% Width of Text: "+qs(t,n,a=12).width+", FieldWidth:"+l+`
27`;break}for(var S="",V=0,z=0;z<s.length;z++)if(s.hasOwnProperty(z)){var T=!1;if(s[z].length!==1&&j!==s[z].length-1){if((w+2)*(V+2)+2>f)continue t;S+=s[z][j],T=!0,P=z,z--}else{S=(S+=s[z][j]+" ").substr(S.length-1)==" "?S.substr(0,S.length-1):S;var rt=parseInt(z),gt=c(rt,S,a),ut=z>=s.length-1;if(gt&&!ut){S+=" ",j=0;continue}if(gt||ut){if(ut)P=rt;else if(n.multiline&&(w+2)*(V+2)+2>f)continue t}else{if(!n.multiline||(w+2)*(V+2)+2>f)continue t;P=rt}}for(var Y="",R=B;R<=P;R++){var X=s[R];
vendor: 12,966 bytes, lines 27-31
27if(n.multiline){if(R===P){Y+=X[j]+" ",j=(j+1)%X.length;continue}if(R===B){Y+=X[X.length-1]+" ";continue}}Y+=X[0]+" "}switch(Y=Y.substr(Y.length-1)==" "?Y.substr(0,Y.length-1):Y,g=qs(Y,n,a).width,n.textAlign){case"right":d=l-g-2;break;case"center":d=(l-g)/2;break;default:d=2}t+=Xt(d)+" "+Xt(p)+` Td
28`,t+="("+Mi(Y)+`) Tj
29`,t+=-Xt(d)+` 0 Td
30`,p=-(a+2),g=0,B=T?P:P+1,V++,S=""}break}return r.text=t,r.fontSize=a,r},qs=function(n,t,e){var r=t.scope.internal.getFont(t.fontName,t.fontStyle),s=t.scope.getStringUnitWidth(n,{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:s}},O2={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null,isInitialized:!1},j2=function(n,t){var e={type:"reference",object:n};t.internal.getPageInfo(n.page).pageContext.annotations.find(function(r){return r.type===e.type&&r.object===e.object})===void 0&&t.internal.getPageInfo(n.page).pageContext.annotations.push(e)},B2=function(n,t){if(t.scope=n,n.internal!==void 0&&(n.internal.acroformPlugin===void 0||n.internal.acroformPlugin.isInitialized===!1)){if(ar.FieldNum=0,n.internal.acroformPlugin=JSON.parse(JSON.stringify(O2)),n.internal.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");Pl=n.internal.scaleFactor,n.internal.acroformPlugin.acroFormDictionaryRoot=new wf,n.internal.acroformPlugin.acroFormDictionaryRoot.scope=n,n.internal.acroformPlugin.acroFormDictionaryRoot._eventID=n.internal.events.subscribe("postPutResources",function(){(function(e){e.internal.events.unsubscribe(e.internal.acroformPlugin.acroFormDictionaryRoot._eventID),delete e.internal.acroformPlugin.acroFormDictionaryRoot._eventID,e.internal.acroformPlugin.printedOut=!0})(n)}),n.internal.events.subscribe("buildDocument",function(){(function(e){e.internal.acroformPlugin.acroFormDictionaryRoot.objId=void 0;var r=e.internal.acroformPlugin.acroFormDictionaryRoot.Fields;for(var s in r)if(r.hasOwnProperty(s)){var a=r[s];a.objId=void 0,a.hasAnnotation&&j2(a,e)}})(n)}),n.internal.events.subscribe("putCatalog",function(){(function(e){if(e.internal.acroformPlugin.acroFormDictionaryRoot===void 0)throw new Error("putCatalogCallback: Root missing.");e.internal.write("/AcroForm "+e.internal.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R")})(n)}),n.internal.events.subscribe("postPutPages",function(e){(function(r,s){var a=!r;for(var f in r||(s.internal.newObjectDeferredBegin(s.internal.acroformPlugin.acroFormDictionaryRoot.objId,!0),s.internal.acroformPlugin.acroFormDictionaryRoot.putStream()),r=r||s.internal.acroformPlugin.acroFormDictionaryRoot.Kids)if(r.hasOwnProperty(f)){var l=r[f],c=[],d=l.Rect;if(l.Rect&&(l.Rect=E2(l.Rect,s)),s.internal.newObjectDeferredBegin(l.objId,!0),l.DA=It.createDefaultAppearanceStream(l),_e(l)==="object"&&typeof l.getKeyValueListForStream=="function"&&(c=l.getKeyValueListForStream()),l.Rect=d,l.hasAppearanceStream&&!l.appearanceStreamContent){var g=F2(l);c.push({key:"AP",value:"<</N "+g+">>"}),s.internal.acroformPlugin.xForms.push(g)}if(l.appearanceStreamContent){var w="";for(var x in l.appearanceStreamContent)if(l.appearanceStreamContent.hasOwnProperty(x)){var p=l.appearanceStreamContent[x];if(w+="/"+x+" ",w+="<<",Object.keys(p).length>=1||Array.isArray(p)){for(var f in p)if(p.hasOwnProperty(f)){var B=p[f];typeof B=="function"&&(B=B.call(s,l)),w+="/"+f+" "+B+" ",s.internal.acroformPlugin.xForms.indexOf(B)>=0||s.internal.acroformPlugin.xForms.push(B)}}else typeof(B=p)=="function"&&(B=B.call(s,l)),w+="/"+f+" "+B,s.internal.acroformPlugin.xForms.indexOf(B)>=0||s.internal.acroformPlugin.xForms.push(B);w+=">>"}c.push({key:"AP",value:`<<
31`+w+">>"})}s.internal.putStream({additionalKeyValues:c,objectId:l.objId}),s.internal.out("endobj")}a&&(function(P,j){for(var S in P)if(P.hasOwnProperty(S)){var V=S,z=P[S];j.internal.newObjectDeferredBegin(z.objId,!0),_e(z)==="object"&&typeof z.putStream=="function"&&z.putStream(),delete P[V]}})(s.internal.acroformPlugin.xForms,s)})(e,n)}),n.internal.acroformPlugin.isInitialized=!0}},mf=He.__acroform__.arrayToPdfArray=function(n,t,e){var r=function(f){return f};if(Array.isArray(n)){for(var s="[",a=0;a<n.length;a++)switch(a!==0&&(s+=" "),_e(n[a])){case"boolean":case"number":case"object":s+=n[a].toString();break;case"string":n[a].substr(0,1)==="/"?s+="/"+Oi(n[a].substr(1)):(t!==void 0&&e&&(r=e.internal.getEncryptor(t)),s+="("+Mi(r(n[a].toString()))+")")}return s+"]"}throw new Error("Invalid argument passed to jsPDF.__acroform__.arrayToPdfArray")},Qo=function(n,t,e){var r=function(s){return s};return t!==void 0&&e&&(r=e.internal.getEncryptor(t)),(n=n||"").toString(),"("+Mi(r(n))+")"},Ar=function(){this._objId=void 0,this._scope=void 0,Object.defineProperty(this,"objId",{get:function(){if(this._objId===void 0){if(this.scope===void 0)return;this._objId=this.scope.internal.newObjectDeferred()}return this._objId},set:function(n){this._objId=n}}),Object.defineProperty(this,"scope",{value:this._scope,writable:!0})};Ar.prototype.toString=function(){return this.objId+" 0 R"},Ar.prototype.putStream=function(){var n=this.getKeyValueListForStream();this.scope.internal.putStream({data:this.stream,additionalKeyValues:n,objectId:this.objId}),this.scope.internal.out("endobj")},Ar.prototype.getKeyValueListForStream=function(){var n=[],t=Object.getOwnPropertyNames(this).filter(function(a){return a!="content"&&a!="appearanceStreamContent"&&a!="scope"&&a!="objId"&&a.substring(0,1)!="_"});for(var e in t)if(Object.getOwnPropertyDescriptor(this,t[e]).configurable===!1){var r=t[e],s=this[r];s&&(Array.isArray(s)?n.push({key:r,value:mf(s,this.objId,this.scope)}):s instanceof Ar?(s.scope=this.scope,n.push({key:r,value:s.objId+" 0 R"})):typeof s!="function"&&n.push({key:r,value:s}))}return n};var bf=function(){Ar.call(this),Object.defineProperty(this,"Type",{value:"/XObject",configurable:!1,writable:!0}),Object.defineProperty(this,"Subtype",{value:"/Form",configurable:!1,writable:!0}),Object.defineProperty(this,"FormType",{value:1,configurable:!1,writable:!0});var n,t=[];Object.defineProperty(this,"BBox",{configurable:!1,get:function(){return t},set:function(e){t=e}}),Object.defineProperty(this,"Resources",{value:"2 0 R",configurable:!1,writable:!0}),Object.defineProperty(this,"stream",{enumerable:!1,configurable:!0,set:function(e){n=e.trim()},get:function(){return n||null}})};En(bf,Ar);var wf=function(){Ar.call(this);var n,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(n){var e=function(r){return r};return this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),"("+Mi(e(n))+")"}},set:function(e){n=e}})};En(wf,Ar);var ar=function n(){Ar.call(this);var t=4;Object.defineProperty(this,"F",{enumerable:!1,configurable:!1,get:function(){return t},set:function(S){if(isNaN(S))throw new Error('Invalid value "'+S+'" for attribute F supplied.');t=S}}),Object.defineProperty(this,"showWhenPrinted",{enumerable:!0,configurable:!0,get:function(){return!!Je(t,3)},set:function(S){S?this.F=$e(t,3):this.F=Ke(t,3)}});var e=0;Object.defineProperty(this,"Ff",{enumerable:!1,configurable:!1,get:function(){return e},set:function(S){if(isNaN(S))throw new Error('Invalid value "'+S+'" for attribute Ff supplied.');e=S}});var r=[];Object.defineProperty(this,"Rect",{enumerable:!1,configurable:!1,get:function(){if(r.length!==0)return r},set:function(S){r=S!==void 0?S:[]}}),Object.defineProperty(this,"x",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[0])?0:r[0]},set:function(S){r[0]=S}}),Object.defineProperty(this,"y",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[1])?0:r[1]},set:function(S){r[1]=S}}),Object.defineProperty(this,"width",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[2])?0:r[2]},set:function(S){r[2]=S}}),Object.defineProperty(this,"height",{enumerable:!0,configurable:!0,get:function(){return!r||isNaN(r[3])?0:r[3]},set:function(S){r[3]=S}});var s="";Object.defineProperty(this,"FT",{enumerable:!0,configurable:!1,get:function(){return s},set:function(S){switch(S){case"/Btn":case"/Tx":case"/Ch":case"/Sig":s=S;break;default:throw new Error('Invalid value "'+S+'" for attribute FT supplied.')}}});var a=null;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,get:function(){if(!a||a.length<1){if(this instanceof Xs)return;a="FieldObject"+n.FieldNum++}var S=function(V){return V};return this.scope&&(S=this.scope.internal.getEncryptor(this.objId)),"("+Mi(S(a))+")"},set:function(S){a=S.toString()}}),Object.defineProperty(this,"fieldName",{configurable:!0,enumerable:!0,get:function(){return a},set:function(S){a=S}});var f="helvetica";Object.defineProperty(this,"fontName",{enumerable:!0,configurable:!0,get:function(){return f},set:function(S){f=S}});var l="normal";Object.defineProperty(this,"fontStyle",{enumerable:!0,configurable:!0,get:function(){return l},set:function(S){l=S}});var c=0;Object.defineProperty(this,"fontSize",{enumerable:!0,configurable:!0,get:function(){return c},set:function(S){c=S}});var d=void 0;Object.defineProperty(this,"maxFontSize",{enumerable:!0,configurable:!0,get:function(){return d===void 0?50/Pl:d},set:function(S){d=S}});var g="black";Object.defineProperty(this,"color",{enumerable:!0,configurable:!0,get:function(){return g},set:function(S){g=S}});var w="/F1 0 Tf 0 g";Object.defineProperty(this,"DA",{enumerable:!0,configurable:!1,get:function(){if(!(!w||this instanceof Xs||this instanceof ai))return Qo(w,this.objId,this.scope)},set:function(S){S=S.toString(),w=S}});var x=null;Object.defineProperty(this,"DV",{enumerable:!1,configurable:!1,get:function(){if(x)return this instanceof sn==0?Qo(x,this.objId,this.scope):x},set:function(S){S=S.toString(),x=this instanceof sn==0?S.substr(0,1)==="("?sa(S.substr(1,S.length-2)):sa(S):S}}),Object.defineProperty(this,"defaultValue",{enumerable:!0,configurable:!0,get:function(){return this instanceof sn==1?sa(x.substr(1,x.length-1)):x},set:function(S){S=S.toString(),x=this instanceof sn==1?"/"+Oi(S):S}});var p=null;Object.defineProperty(this,"_V",{enumerable:!1,configurable:!1,get:function(){if(p)return p},set:function(S){this.V=S}}),Object.defineProperty(this,"V",{enumerable:!1,configurable:!1,get:function(){if(p)return this instanceof sn==0?Qo(p,this.objId,this.scope):p},set:function(S){S=S.toString(),p=this instanceof sn==0?S.substr(0,1)==="("?sa(S.substr(1,S.length-2)):sa(S):S}}),Object.defineProperty(this,"value",{enumerable:!0,configurable:!0,get:function(){return this instanceof sn==1?sa(p.substr(1,p.length-1)):p},set:function(S){S=S.toString(),p=this instanceof sn==1?"/"+Oi(S):S}}),Object.defineProperty(this,"hasAnnotation",{enumerable:!0,configurable:!0,get:function(){return this.Rect}}),Object.defineProperty(this,"Type",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,configurable:!1,get:function(){return this.hasAnnotation?"/Widget":null}});var B,P=!1;Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return P},set:function(S){S=!!S,P=S}}),Object.defineProperty(this,"page",{enumerable:!0,configurable:!0,get:function(){if(B)return B},set:function(S){B=S}}),Object.defineProperty(this,"readOnly",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,1)},set:function(S){S?this.Ff=$e(this.Ff,1):this.Ff=Ke(this.Ff,1)}}),Object.defineProperty(this,"required",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,2)},set:function(S){S?this.Ff=$e(this.Ff,2):this.Ff=Ke(this.Ff,2)}}),Object.defineProperty(this,"noExport",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,3)},set:function(S){S?this.Ff=$e(this.Ff,3):this.Ff=Ke(this.Ff,3)}});var j=null;Object.defineProperty(this,"Q",{enumerable:!0,configurable:!1,get:function(){if(j!==null)return j},set:function(S){if([0,1,2].indexOf(S)===-1)throw new Error('Invalid value "'+S+'" for attribute Q supplied.');j=S}}),Object.defineProperty(this,"textAlign",{get:function(){var S;switch(j){case 0:default:S="left";break;case 1:S="center";break;case 2:S="right"}return S},configurable:!0,enumerable:!0,set:function(S){switch(S){case"right":case 2:j=2;break;case"center":case 1:j=1;break;default:j=0}}})};En(ar,Ar);var Pi=function(){ar.call(this),this.FT="/Ch",this.V="()",this.fontName="zapfdingbats";var n=0;Object.defineProperty(this,"TI",{enumerable:!0,configurable:!1,get:function(){return n},set:function(e){n=e}}),Object.defineProperty(this,"topIndex",{enumerable:!0,configurable:!0,get:function(){return n},set:function(e){n=e}});var t=[];Object.defineProperty(this,"Opt",{enumerable:!0,configurable:!1,get:function(){return mf(t,this.objId,this.scope)}
31,set:function(e){var r,s;s=[],typeof(r=e)=="string"&&(s=(function(a,f,l){l||(l=1);for(var c,d=[];c=f.exec(a);)d.push(c[l]);return d})(r,/\((.*?)\)/g)),t=s}}),this.getOptions=function(){return t},this.setOptions=function(e){t=e,this.sort&&t.sort()},this.addOption=function(e){e=(e=e||"").toString(),t.push(e),this.sort&&t.sort()},this.removeOption=function(e,r){for(r=r||!1,e=(e=e||"").toString();t.indexOf(e)!==-1&&(t.splice(t.indexOf(e),1),r!==!1););},Object.defineProperty(this,"combo",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,18)},set:function(e){e?this.Ff=$e(this.Ff,18):this.Ff=Ke(this.Ff,18)}}),Object.defineProperty(this,"edit",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,19)},set:function(e){this.combo===!0&&(e?this.Ff=$e(this.Ff,19):this.Ff=Ke(this.Ff,19))}}),Object.defineProperty(this,"sort",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,20)},set:function(e){e?(this.Ff=$e(this.Ff,20),t.sort()):this.Ff=Ke(this.Ff,20)}}),Object.defineProperty(this,"multiSelect",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,22)},set:function(e){e?this.Ff=$e(this.Ff,22):this.Ff=Ke(this.Ff,22)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,23)},set:function(e){e?this.Ff=$e(this.Ff,23):this.Ff=Ke(this.Ff,23)}}),Object.defineProperty(this,"commitOnSelChange",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,27)},set:function(e){e?this.Ff=$e(this.Ff,27):this.Ff=Ke(this.Ff,27)}}),this.hasAppearanceStream=!1};En(Pi,ar);var Ii=function(){Pi.call(this),this.fontName="helvetica",this.combo=!1};En(Ii,Pi);var Ci=function(){Ii.call(this),this.combo=!0};En(Ci,Ii);var Ua=function(){Ci.call(this),this.edit=!0};En(Ua,Ci);var sn=function(){ar.call(this),this.FT="/Btn",Object.defineProperty(this,"noToggleToOff",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,15)},set:function(e){e?this.Ff=$e(this.Ff,15):this.Ff=Ke(this.Ff,15)}}),Object.defineProperty(this,"radio",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,16)},set:function(e){e?this.Ff=$e(this.Ff,16):this.Ff=Ke(this.Ff,16)}}),Object.defineProperty(this,"pushButton",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,17)},set:function(e){e?this.Ff=$e(this.Ff,17):this.Ff=Ke(this.Ff,17)}}),Object.defineProperty(this,"radioIsUnison",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,26)},set:function(e){e?this.Ff=$e(this.Ff,26):this.Ff=Ke(this.Ff,26)}});var n,t={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var e=function(a){return a};if(this.scope&&(e=this.scope.internal.getEncryptor(this.objId)),Object.keys(t).length!==0){var r,s=[];for(r in s.push("<<"),t)s.push("/"+r+" ("+Mi(e(t[r]))+")");return s.push(">>"),s.join(`
32`)}},set:function(e){_e(e)==="object"&&(t=e)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return t.CA||""},set:function(e){typeof e=="string"&&(t.CA=e)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return n},set:function(e){var r=e==null?"":e.toString();r.substr(0,1)==="/"&&(r=r.substr(1)),n="/"+Oi(r)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return n.substr(1,n.length-1)},set:function(e){n="/"+Oi(e)}})};En(sn,ar);var za=function(){sn.call(this),this.pushButton=!0};En(za,sn);var Ei=function(){sn.call(this),this.radio=!0,this.pushButton=!1;var n=[];Object.defineProperty(this,"Kids",{enumerable:!0,configurable:!1,get:function(){return n},set:function(t){n=t!==void 0?t:[]}})};En(Ei,sn);var Xs=function(){var n,t;ar.call(this),Object.defineProperty(this,"Parent",{enumerable:!1,configurable:!1,get:function(){return n},set:function(s){n=s}}),Object.defineProperty(this,"optionName",{enumerable:!1,configurable:!0,get:function(){return t},set:function(s){t=s}});var e,r={};Object.defineProperty(this,"MK",{enumerable:!1,configurable:!1,get:function(){var s=function(l){return l};this.scope&&(s=this.scope.internal.getEncryptor(this.objId));var a,f=[];for(a in f.push("<<"),r)f.push("/"+a+" ("+Mi(s(r[a]))+")");return f.push(">>"),f.join(`
33`)}
vendor: 4,694 bytes, lines 33-36
33,set:function(s){_e(s)==="object"&&(r=s)}}),Object.defineProperty(this,"caption",{enumerable:!0,configurable:!0,get:function(){return r.CA||""},set:function(s){typeof s=="string"&&(r.CA=s)}}),Object.defineProperty(this,"AS",{enumerable:!1,configurable:!1,get:function(){return e},set:function(s){var a=s==null?"":s.toString();a.substr(0,1)==="/"&&(a=a.substr(1)),e="/"+Oi(a)}}),Object.defineProperty(this,"appearanceState",{enumerable:!0,configurable:!0,get:function(){return e.substr(1,e.length-1)},set:function(s){var a=s==null?"":s.toString();a.substr(0,1)==="/"&&(a=a.substr(1)),e="/"+Oi(a)}}),this.caption="l",this.appearanceState="Off",this._AppearanceType=It.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(this.optionName)};En(Xs,ar),Ei.prototype.setAppearance=function(n){if(!("createAppearanceStream"in n)||!("getCA"in n))throw new Error("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var t in this.Kids)if(this.Kids.hasOwnProperty(t)){var e=this.Kids[t];e.appearanceStreamContent=n.createAppearanceStream(e.optionName),e.caption=n.getCA()}},Ei.prototype.createOption=function(n){var t=new Xs;return t.Parent=this,t.optionName=n,this.Kids.push(t),M2.call(this.scope,t),t};var Ha=function(){sn.call(this),this.fontName="zapfdingbats",this.caption="3",this.appearanceState="On",this.value="On",this.textAlign="center",this.appearanceStreamContent=It.CheckBox.createAppearanceStream()};En(Ha,sn);var ai=function(){ar.call(this),this.FT="/Tx",Object.defineProperty(this,"multiline",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,13)},set:function(t){t?this.Ff=$e(this.Ff,13):this.Ff=Ke(this.Ff,13)}}),Object.defineProperty(this,"fileSelect",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,21)},set:function(t){t?this.Ff=$e(this.Ff,21):this.Ff=Ke(this.Ff,21)}}),Object.defineProperty(this,"doNotSpellCheck",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,23)},set:function(t){t?this.Ff=$e(this.Ff,23):this.Ff=Ke(this.Ff,23)}}),Object.defineProperty(this,"doNotScroll",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,24)},set:function(t){t?this.Ff=$e(this.Ff,24):this.Ff=Ke(this.Ff,24)}}),Object.defineProperty(this,"comb",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,25)},set:function(t){t?this.Ff=$e(this.Ff,25):this.Ff=Ke(this.Ff,25)}}),Object.defineProperty(this,"richText",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,26)},set:function(t){t?this.Ff=$e(this.Ff,26):this.Ff=Ke(this.Ff,26)}});var n=null;Object.defineProperty(this,"MaxLen",{enumerable:!0,configurable:!1,get:function(){return n},set:function(t){n=t}}),Object.defineProperty(this,"maxLength",{enumerable:!0,configurable:!0,get:function(){return n},set:function(t){Number.isInteger(t)&&(n=t)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!0,configurable:!0,get:function(){return this.V||this.DV}})};En(ai,ar);var Wa=function(){ai.call(this),Object.defineProperty(this,"password",{enumerable:!0,configurable:!0,get:function(){return!!Je(this.Ff,14)},set:function(n){n?this.Ff=$e(this.Ff,14):this.Ff=Ke(this.Ff,14)}}),this.password=!0};En(Wa,ai);var It={CheckBox:{createAppearanceStream:function(){return{N:{On:It.CheckBox.YesNormal},D:{On:It.CheckBox.YesPushDown,Off:It.CheckBox.OffPushDown}}},YesPushDown:function(n){var t=wr(n);t.scope=n.scope;var e=[],r=n.scope.internal.getFont(n.fontName,n.fontStyle).id,s=n.scope.__private__.encodeColorString(n.color),a=gl(n,n.caption);return e.push("0.749023 g"),e.push("0 0 "+Xt(It.internal.getWidth(n))+" "+Xt(It.internal.getHeight(n))+" re"),e.push("f"),e.push("BMC"),e.push("q"),e.push("0 0 1 rg"),e.push("/"+r+" "+Xt(a.fontSize)+" Tf "+s),e.push("BT"),e.push(a.text),e.push("ET"),e.push("Q"),e.push("EMC"),t.stream=e.join(`
34`),t},YesNormal:function(n){var t=wr(n);t.scope=n.scope;var e=n.scope.internal.getFont(n.fontName,n.fontStyle).id,r=n.scope.__private__.encodeColorString(n.color),s=[],a=It.internal.getHeight(n),f=It.internal.getWidth(n),l=gl(n,n.caption);return s.push("1 g"),s.push("0 0 "+Xt(f)+" "+Xt(a)+" re"),s.push("f"),s.push("q"),s.push("0 0 1 rg"),s.push("0 0 "+Xt(f-1)+" "+Xt(a-1)+" re"),s.push("W"),s.push("n"),s.push("0 g"),s.push("BT"),s.push("/"+e+" "+Xt(l.fontSize)+" Tf "+r),s.push(l.text),s.push("ET"),s.push("Q"),t.stream=s.join(`
35`),t},OffPushDown:function(n){var t=wr(n);t.scope=n.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Xt(It.internal.getWidth(n))+" "+Xt(It.internal.getHeight(n))+" re"),e.push("f"),t.stream=e.join(`
36`),t}},RadioButton:{Circle:{createAppearanceStream:function(n){var t={D:{Off:It.RadioButton.Circle.OffPushDown},N:{}}
vendor: 3,477 bytes, lines 36-40
36;return t.N[n]=It.RadioButton.Circle.YesNormal,t.D[n]=It.RadioButton.Circle.YesPushDown,t},getCA:function(){return"l"},YesNormal:function(n){var t=wr(n);t.scope=n.scope;var e=[],r=It.internal.getWidth(n)<=It.internal.getHeight(n)?It.internal.getWidth(n)/4:It.internal.getHeight(n)/4;r=Number((.9*r).toFixed(5));var s=It.internal.Bezier_C,a=Number((r*s).toFixed(5));return e.push("q"),e.push("1 0 0 1 "+ni(It.internal.getWidth(n)/2)+" "+ni(It.internal.getHeight(n)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+a+" "+a+" "+r+" 0 "+r+" c"),e.push("-"+a+" "+r+" -"+r+" "+a+" -"+r+" 0 c"),e.push("-"+r+" -"+a+" -"+a+" -"+r+" 0 -"+r+" c"),e.push(a+" -"+r+" "+r+" -"+a+" "+r+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join(`
37`),t},YesPushDown:function(n){var t=wr(n);t.scope=n.scope;var e=[],r=It.internal.getWidth(n)<=It.internal.getHeight(n)?It.internal.getWidth(n)/4:It.internal.getHeight(n)/4;r=Number((.9*r).toFixed(5));var s=Number((2*r).toFixed(5)),a=Number((s*It.internal.Bezier_C).toFixed(5)),f=Number((r*It.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+ni(It.internal.getWidth(n)/2)+" "+ni(It.internal.getHeight(n)/2)+" cm"),e.push(s+" 0 m"),e.push(s+" "+a+" "+a+" "+s+" 0 "+s+" c"),e.push("-"+a+" "+s+" -"+s+" "+a+" -"+s+" 0 c"),e.push("-"+s+" -"+a+" -"+a+" -"+s+" 0 -"+s+" c"),e.push(a+" -"+s+" "+s+" -"+a+" "+s+" 0 c"),e.push("f"),e.push("Q"),e.push("0 g"),e.push("q"),e.push("1 0 0 1 "+ni(It.internal.getWidth(n)/2)+" "+ni(It.internal.getHeight(n)/2)+" cm"),e.push(r+" 0 m"),e.push(r+" "+f+" "+f+" "+r+" 0 "+r+" c"),e.push("-"+f+" "+r+" -"+r+" "+f+" -"+r+" 0 c"),e.push("-"+r+" -"+f+" -"+f+" -"+r+" 0 -"+r+" c"),e.push(f+" -"+r+" "+r+" -"+f+" "+r+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join(`
38`),t},OffPushDown:function(n){var t=wr(n);t.scope=n.scope;var e=[],r=It.internal.getWidth(n)<=It.internal.getHeight(n)?It.internal.getWidth(n)/4:It.internal.getHeight(n)/4;r=Number((.9*r).toFixed(5));var s=Number((2*r).toFixed(5)),a=Number((s*It.internal.Bezier_C).toFixed(5));return e.push("0.749023 g"),e.push("q"),e.push("1 0 0 1 "+ni(It.internal.getWidth(n)/2)+" "+ni(It.internal.getHeight(n)/2)+" cm"),e.push(s+" 0 m"),e.push(s+" "+a+" "+a+" "+s+" 0 "+s+" c"),e.push("-"+a+" "+s+" -"+s+" "+a+" -"+s+" 0 c"),e.push("-"+s+" -"+a+" -"+a+" -"+s+" 0 -"+s+" c"),e.push(a+" -"+s+" "+s+" -"+a+" "+s+" 0 c"),e.push("f"),e.push("Q"),t.stream=e.join(`
39`),t}},Cross:{createAppearanceStream:function(n){var t={D:{Off:It.RadioButton.Cross.OffPushDown},N:{}};return t.N[n]=It.RadioButton.Cross.YesNormal,t.D[n]=It.RadioButton.Cross.YesPushDown,t},getCA:function(){return"8"},YesNormal:function(n){var t=wr(n);t.scope=n.scope;var e=[],r=It.internal.calculateCross(n);return e.push("q"),e.push("1 1 "+Xt(It.internal.getWidth(n)-2)+" "+Xt(It.internal.getHeight(n)-2)+" re"),e.push("W"),e.push("n"),e.push(Xt(r.x1.x)+" "+Xt(r.x1.y)+" m"),e.push(Xt(r.x2.x)+" "+Xt(r.x2.y)+" l"),e.push(Xt(r.x4.x)+" "+Xt(r.x4.y)+" m"),e.push(Xt(r.x3.x)+" "+Xt(r.x3.y)+" l"),e.push("s"),e.push("Q"),t.stream=e.join(`
40`),t},YesPushDown:function(n){var t=wr(n);t.scope=n.scope;var e=It.internal.calculateCross(n),r=[];return r.push("0.749023 g"),r.push("0 0 "+Xt(It.internal.getWidth(n))+" "+Xt(It.internal.getHeight(n))+" re"),r.push("f"),r.push("q"),r.push("1 1 "+Xt(It.internal.getWidth(n)-2)+" "+Xt(It.internal.getHeight(n)-2)+" re"),r.push("W"),r.push("n"),r.push(Xt(e.x1.x)+" "+Xt(e.x1.y)+" m"),r.push(Xt(e.x2.x)+" "+Xt(e.x2.y)+" l"),r.push(Xt(e.x4.x)+" "+Xt(e.x4.y
vendor: 38,085 bytes, lines 40-42
40)+" m"),r.push(Xt(e.x3.x)+" "+Xt(e.x3.y)+" l"),r.push("s"),r.push("Q"),t.stream=r.join(`
41`),t},OffPushDown:function(n){var t=wr(n);t.scope=n.scope;var e=[];return e.push("0.749023 g"),e.push("0 0 "+Xt(It.internal.getWidth(n))+" "+Xt(It.internal.getHeight(n))+" re"),e.push("f"),t.stream=e.join(`
42`),t}}},createDefaultAppearanceStream:function(n){var t=n.scope.internal.getFont(n.fontName,n.fontStyle).id,e=n.scope.__private__.encodeColorString(n.color);return"/"+t+" "+n.fontSize+" Tf "+e}};It.internal={Bezier_C:.551915024494,calculateCross:function(n){var t=It.internal.getWidth(n),e=It.internal.getHeight(n),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}}}},It.internal.getWidth=function(n){var t=0;return _e(n)==="object"&&(t=cc(n.Rect[2])),t},It.internal.getHeight=function(n){var t=0;return _e(n)==="object"&&(t=cc(n.Rect[3])),t};var M2=He.addField=function(n){if(B2(this,n),!(n instanceof ar))throw new Error("Invalid argument passed to jsPDF.addField.");var t;return(t=n).scope.internal.acroformPlugin.printedOut&&(t.scope.internal.acroformPlugin.printedOut=!1,t.scope.internal.acroformPlugin.acroFormDictionaryRoot=null),t.scope.internal.acroformPlugin.acroFormDictionaryRoot.Fields.push(t),n.page=n.scope.internal.getCurrentPageInfo().pageNumber,this};He.AcroFormChoiceField=Pi,He.AcroFormListBox=Ii,He.AcroFormComboBox=Ci,He.AcroFormEditBox=Ua,He.AcroFormButton=sn,He.AcroFormPushButton=za,He.AcroFormRadioButton=Ei,He.AcroFormCheckBox=Ha,He.AcroFormTextField=ai,He.AcroFormPasswordField=Wa,He.AcroFormAppearance=It,He.AcroForm={ChoiceField:Pi,ListBox:Ii,ComboBox:Ci,EditBox:Ua,Button:sn,PushButton:za,RadioButton:Ei,CheckBox:Ha,TextField:ai,PasswordField:Wa,Appearance:It},Mt.AcroForm={ChoiceField:Pi,ListBox:Ii,ComboBox:Ci,EditBox:Ua,Button:sn,PushButton:za,RadioButton:Ei,CheckBox:Ha,TextField:ai,PasswordField:Wa,Appearance:It};var R2=Mt.AcroForm;function yf(n){return n.reduce(function(t,e,r){return t[e]=r,t},{})}(function(n){var t="addImage_";n.__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]]},s=n.__addimage__.getImageFileTypeByImageData=function(N,C){var H,q,it,at,ot,et=e;if((C=C||e)==="RGBA"||N.data!==void 0&&N.data instanceof Uint8ClampedArray&&"height"in N&&"width"in N)return"RGBA";if(gt(N))for(ot in r)for(it=r[ot],H=0;H<it.length;H+=1){for(at=!0,q=0;q<it[H].length;q+=1)if(it[H][q]!==void 0&&it[H][q]!==N[q]){at=!1;break}if(at===!0){et=ot;break}}else for(ot in r)for(it=r[ot],H=0;H<it.length;H+=1){for(at=!0,q=0;q<it[H].length;q+=1)if(it[H][q]!==void 0&&it[H][q]!==N.charCodeAt(q)){at=!1;break}if(at===!0){et=ot;break}}return et===e&&C!==e&&(et=C),et},a=function N(C){for(var H=this.internal.write,q=this.internal.putStream,it=(0,this.internal.getFilters)();it.indexOf("FlateEncode")!==-1;)it.splice(it.indexOf("FlateEncode"),1);C.objectId=this.internal.newObject();var at=[];if(at.push({key:"Type",value:"/XObject"}),at.push({key:"Subtype",value:"/Image"}),at.push({key:"Width",value:C.width}),at.push({key:"Height",value:C.height}),C.colorSpace===S.INDEXED?at.push({key:"ColorSpace",value:"[/Indexed /DeviceRGB "+(C.palette.length/3-1)+" "+("sMask"in C&&C.sMask!==void 0?C.objectId+2:C.objectId+1)+" 0 R]"}):(at.push({key:"ColorSpace",value:"/"+C.colorSpace}),C.colorSpace===S.DEVICE_CMYK&&at.push({key:"Decode",value:"[1 0 1 0 1 0 1 0]"})),at.push({key:"BitsPerComponent",value:C.bitsPerComponent}),"decodeParameters"in C&&C.decodeParameters!==void 0&&at.push({key:"DecodeParms",value:"<<"+C.decodeParameters+">>"}),"transparency"in C&&Array.isArray(C.transparency)&&C.transparency.length>0){for(var ot="",et=0,ct=C.transparency.length;et<ct;et++)ot+=C.transparency[et]+" "+C.transparency[et]+" ";at.push({key:"Mask",value:"["+ot+"]"})}C.sMask!==void 0&&at.push({key:"SMask",value:C.objectId+1+" 0 R"});var xt=C.filter!==void 0?["/"+C.filter]:void 0;if(q({data:C.data,additionalKeyValues:at,alreadyAppliedFilters:xt,objectId:C.objectId}),H("endobj"),"sMask"in C&&C.sMask!==void 0){var bt,A=(bt=C.sMaskBitsPerComponent)!==null&&bt!==void 0?bt:C.bitsPerComponent,M={width:C.width,height:C.height,colorSpace:"DeviceGray",bitsPerComponent:A,data:C.sMask};"filter"in C&&(M.decodeParameters="/Predictor ".concat(C.predictor," /Colors 1 /BitsPerComponent ").concat(A," /Columns ").concat(C.width),M.filter=C.filter),N.call(this,M)}if(C.colorSpace===S.INDEXED){var D=this.internal.newObject();q({data:Y(new Uint8Array(C.palette)),objectId:D}),H("endobj")}},f=function(){var N=this.internal.collections[t+"images"];for(var C in N)a.call(this,N[C])},l=function(){var N,C=this.internal.collections[t+"images"],H=this.internal.write;for(var q in C)H("/I"+(N=C[q]).index,N.objectId,"0","R")},c=function(){this.internal.collections[t+"images"]||(this.internal.collections[t+"images"]={},this.internal.events.subscribe("putResources",f),this.internal.events.subscribe("putXobjectDict",l))},d=function(){var N=this.internal.collections[t+"images"];return c.call(this),N},g=function(){return Object.keys(this.internal.collections[t+"images"]).length},w=function(N){return typeof n["process"+N.toUpperCase()]=="function"},x=function(N){return _e(N)==="object"&&N.nodeType===1},p=function(N,C){if(N.nodeName==="IMG"&&N.hasAttribute("src")){var H=""+N.getAttribute("src");if(H.indexOf("data:image/")===0)return Gs(unescape(H).split("base64,").pop());var q=n.loadFile(H,!0);if(q!==void 0)return q}if(N.nodeName==="CANVAS"){if(N.width===0||N.height===0)throw new Error("Given canvas must have data. Canvas width: "+N.width+", height: "+N.height);var it;switch(C){case"PNG":it="image/png";break;case"WEBP":it="image/webp";break;default:it="image/jpeg"}return Gs(N.toDataURL(it,1).split("base64,").pop())}},B=function(N){var C=this.internal.collections[t+"images"];if(C){for(var H in C)if(N===C[H].alias)return C[H]}},P=function(N,C,H){return N||C||(N=-96,C=-96),N<0&&(N=-1*H.width*72/N/this.internal.scaleFactor),C<0&&(C=-1*H.height*72/C/this.internal.scaleFactor),N===0&&(N=C*H.width/H.height),C===0&&(C=N*H.height/H.width),[N,C]},j=function(N,C,H,q,it,at){var ot=P.call(this,H,q,it),et=this.internal.getCoordinateString,ct=this.internal.getVerticalCoordinateString,xt=d.call(this);if(H=ot[0],q=ot[1],xt[it.index]=it,at){at*=Math.PI/180;var bt=Math.cos(at),A=Math.sin(at),M=function(W){return W.toFixed(4)},D=[M(bt),M(A),M(-1*A),M(bt),0,0,"cm"]}this.internal.write("q"),at?(this.internal.write([1,"0","0",1,et(N),ct(C+q),"cm"].join(" ")),this.internal.write(D.join(" ")),this.internal.write([et(H),"0","0",et(q),"0","0","cm"].join(" "))):this.internal.write([et(H),"0","0",et(q),et(N),ct(C+q),"cm"].join(" ")),this.isAdvancedAPI()&&this.internal.write([1,0,0,-1,0,0,"cm"].join(" ")),this.internal.write("/I"+it.index+" Do"),this.internal.write("Q")},S=n.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPARATION:"Separation",DEVICE_N:"DeviceN"};n.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"};var V=n.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},z=n.__addimage__.sHashCode=function(N){var C,H,q=0;if(typeof N=="string")for(H=N.length,C=0;C<H;C++)q=(q<<5)-q+N.charCodeAt(C),q|=0;else if(gt(N))for(H=N.byteLength/2,C=0;C<H;C++)q=(q<<5)-q+N[C],q|=0;return q},T=n.__addimage__.validateStringAsBase64=function(N){(N=N||"").toString().trim();var C=!0;return N.length===0&&(C=!1),N.length%4!=0&&(C=!1),/^[A-Za-z0-9+/]+$/.test(N.substr(0,N.length-2))===!1&&(C=!1),/^[A-Za-z0-9/][A-Za-z0-9+/]|[A-Za-z0-9+/]=|==$/.test(N.substr(-2))===!1&&(C=!1),C},rt=n.__addimage__.extractImageFromDataUrl=function(N){if(N==null||!(N=N.trim()).startsWith("data:"))return null;var C=N.indexOf(",");return C<0?null:N.substring(0,C).trim().endsWith("base64")?N.substring(C+1):null};n.__addimage__.isArrayBuffer=function(N){return N instanceof ArrayBuffer};var gt=n.__addimage__.isArrayBufferView=function(N){return N instanceof Int8Array||N instanceof Uint8Array||N instanceof Uint8ClampedArray||N instanceof Int16Array||N instanceof Uint16Array||N instanceof Int32Array||N instanceof Uint32Array||N instanceof Float32Array||N instanceof Float64Array},ut=n.__addimage__.binaryStringToUint8Array=function(N){for(var C=N.length,H=new Uint8Array(C),q=0;q<C;q++)H[q]=N.charCodeAt(q);return H},Y=n.__addimage__.arrayBufferToBinaryString=function(N){for(var C="",H=gt(N)?N:new Uint8Array(N),q=0;q<H.length;q+=8192)C+=String.fromCharCode.apply(null,H.subarray(q,q+8192));return C};n.addImage=function(){var N,C,H,q,it,at,ot,et,ct;if(typeof arguments[1]=="number"?(C=e,H=arguments[1],q=arguments[2],it=arguments[3],at=arguments[4],ot=arguments[5],et=arguments[6],ct=arguments[7]):(C=arguments[1],H=arguments[2],q=arguments[3],it=arguments[4],at=arguments[5],ot=arguments[6],et=arguments[7],ct=arguments[8]),_e(N=arguments[0])==="object"&&!x(N)&&"imageData"in N){var xt=N;N=xt.imageData,C=xt.format||C||e,H=xt.x||H||0,q=xt.y||q||0,it=xt.w||xt.width||it,at=xt.h||xt.height||at,ot=xt.alias||ot,et=xt.compression||et,ct=xt.rotation||xt.angle||ct}var bt=this.internal.getFilters();if(et===void 0&&bt.indexOf("FlateEncode")!==-1&&(et="SLOW"),isNaN(H)||isNaN(q))throw new Error("Invalid coordinates passed to jsPDF.addImage");c.call(this);var A=R.call(this,N,C,ot,et);return j.call(this,H,q,it,at,A,ct),this};var R=function(N,C,H,q){var it,at,ot;if(typeof N=="string"&&s(N)===e){N=unescape(N);var et=X(N,!1);(et!==""||(et=n.loadFile(N,!0))!==void 0)&&(N=et)}if(x(N)&&(N=p(N,C)),C=s(N,C),!w(C))throw new Error("addImage does not support files of type '"+C+"', please ensure that a plugin for '"+C+"' support is added.");if(((ot=H)==null||ot.length===0)&&(H=(function(ct){return typeof ct=="string"||gt(ct)?z(ct):gt(ct.data)?z(ct.data):null})(N)),(it=B.call(this,H))||(N instanceof Uint8Array||C==="RGBA"||(at=N,N=ut(N)),it=this["process"+C.toUpperCase()](N,g.call(this),H,(function(ct){return ct&&typeof ct=="string"&&(ct=ct.toUpperCase()),ct in n.image_compression?ct:V.NONE})(q),at)),!it)throw new Error("An unknown error occurred whilst processing the image.");return it},X=n.__addimage__.convertBase64ToBinaryString=function(N,C){C=typeof C!="boolean"||C;var H,q="";if(typeof N=="string"){var it;H=(it=rt(N))!==null&&it!==void 0?it:N;try{q=Gs(H)}catch(at){if(C)throw T(H)?new Error("atob-Error in jsPDF.convertBase64ToBinaryString "+at.message):new Error("Supplied Data is not a valid base64-String jsPDF.convertBase64ToBinaryString ")}}return q};n.getImageProperties=function(N){var C,H,q="";if(x(N)&&(N=p(N)),typeof N=="string"&&s(N)===e&&((q=X(N,!1))===""&&(q=n.loadFile(N)||""),N=q),H=s(N),!w(H))throw new Error("addImage does not support files of type '"+H+"', please ensure that a plugin for '"+H+"' support is added.");if(N instanceof Uint8Array||(N=ut(N)),!(C=this["process"+H.toUpperCase()](N)))throw new Error("An unknown error occurred whilst processing the image");return C.fileType=H,C}})(Mt.API),(function(n){var t=function(e){if(e!==void 0&&e!="")return!0};Mt.API.events.push(["addPage",function(e){this.internal.getPageInfo(e.pageNumber).pageContext.annotations=[]}]),n.events.push(["putPage",function(e){for(var r,s,a,f=this.internal.getCoordinateString,l=this.internal.getVerticalCoordinateString,c=this.internal.getPageInfoByObjId(e.objId),d=e.pageContext.annotations,g=!1,w=0;w<d.length&&!g;w++)switch((r=d[w]).type){case"link":(t(r.options.url)||t(r.options.pageNumber))&&(g=!0);break;case"reference":case"text":case"freetext":g=!0}if(g!=0){this.internal.write("/Annots [");for(var x=0;x<d.length;x++){r=d[x];var p=this.internal.pdfEscape,B=this.internal.getEncryptor(e.objId);switch(r.type){case"reference":this.internal.write(" "+r.object.objId+" 0 R ");break;case"text":var P=this.internal.newAdditionalObject(),j=this.internal.newAdditionalObject(),S=this.internal.getEncryptor(P.objId),V=r.title||"Note";a="<</Type /Annot /Subtype /Text "+(s="/Rect ["+f(r.bounds.x)+" "+l(r.bounds.y+r.bounds.h)+" "+f(r.bounds.x+r.bounds.w)+" "+l(r.bounds.y)+"] ")+"/Contents ("+p(S(r.contents))+")",a+=" /Popup "+j.objId+" 0 R",a+=" /P "+c.objId+" 0 R",a+=" /T ("+p(S(V))+") >>",P.content=a;var z=P.objId+" 0 R";a="<</Type /Annot /Subtype /Popup "+(s="/Rect ["+f(r.bounds.x+30)+" "+l(r.bounds.y+r.bounds.h)+" "+f(r.bounds.x+r.bounds.w+30)+" "+l(r.bounds.y)+"] ")+" /Parent "+z,r.open&&(a+=" /Open true"),a+=" >>",j.content=a,this.internal.write(P.objId,"0 R",j.objId,"0 R");break;case"freetext":s="/Rect ["+f(r.bounds.x)+" "+l(r.bounds.y)+" "+f(r.bounds.x+r.bounds.w)+" "+l(r.bounds.y+r.bounds.h)+"] ";var T="font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+(r.color||"#000000");a="<</Type /Annot /Subtype /FreeText "+s+"/Contents ("+p(B(r.contents))+")",a+=" /DS("+p(B(T))+")",a+=" /Border [0 0 0]",a+=" >>",this.internal.write(a);break;case"link":if(r.options.name){var rt=this.annotations._nameMap[r.options.name];r.options.pageNumber=rt.page,r.options.top=rt.y}else r.options.top||(r.options.top=0);if(s="/Rect ["+r.finalBounds.x+" "+r.finalBounds.y+" "+r.finalBounds.w+" "+r.finalBounds.h+"] ",a="",r.options.url)a="<</Type /Annot /Subtype /Link "+s+"/Border [0 0 0] /A <</S /URI /URI ("+p(B(r.options.url))+") >>";else if(r.options.pageNumber)switch(a="<</Type /Annot /Subtype /Link "+s+"/Border [0 0 0] /Dest ["+this.internal.getPageInfo(r.options.pageNumber).objId+" 0 R",r.options.magFactor=r.options.magFactor||"XYZ",r.options.magFactor){case"Fit":a+=" /Fit]";break;case"FitH":a+=" /FitH "+r.options.top+"]";break;case"FitV":r.options.left=r.options.left||0,a+=" /FitV "+r.options.left+"]";break;default:var gt=l(r.options.top);r.options.left=r.options.left||0,r.options.zoom===void 0&&(r.options.zoom=0),a+=" /XYZ "+r.options.left+" "+gt+" "+r.options.zoom+"]"}a!=""&&(a+=" >>",this.internal.write(a))}}this.internal.write("]")}}]),n.createAnnotation=function(e){var r=this.internal.getCurrentPageInfo();switch(e.type){case"link":this.link(e.bounds.x,e.bounds.y,e.bounds.w,e.bounds.h,e);break;case"text":case"freetext":r.pageContext.annotations.push(e)}},n.link=function(e,r,s,a,f){var l=this.internal.getCurrentPageInfo(),c=this.internal.getCoordinateString,d=this.internal.getVerticalCoordinateString;l.pageContext.annotations.push({finalBounds:{x:c(e),y:d(r),w:c(e+s),h:d(r+a)},options:f,type:"link"})},n.textWithLink=function(e,r,s,a){var f,l,c=this.getTextWidth(e),d=this.internal.getLineHeight()/this.internal.scaleFactor;if(a.maxWidth!==void 0){l=a.maxWidth;var g=this.splitTextToSize(e,l).length;f=Math.ceil(d*g)}else l=c,f=d;return this.text(e,r,s,a),s+=.2*d,a.align==="center"&&(r-=c/2),a.align==="right"&&(r-=c),this.link(r,s-d,l,f,a),c},n.getTextWidth=function(e){var r=this.internal.getFontSize();return this.getStringUnitWidth(e)*r/this.internal.scaleFactor}})(Mt.API),(function(n){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},s=[1570,1571,1573,1575];n.__arabicParser__={};var a=n.__arabicParser__.isInArabicSubstitutionA=function(P){return t[P.charCodeAt(0)]!==void 0},f=n.__arabicParser__.isArabicLetter=function(P){return typeof P=="string"&&/^[\u0600-\u06FF\u0750-\u077F\u08A0-\u08FF\uFB50-\uFDFF\uFE70-\uFEFF]+$/.test(P)},l=n.__arabicParser__.isArabicEndLetter=function(P){return f(P)&&a(P)&&t[P.charCodeAt(0)].length<=2},c=n.__arabicParser__.isArabicAlfLetter=function(P){return f(P)&&s.indexOf(P.charCodeAt(0))>=0};n.__arabicParser__.arabicLetterHasIsolatedForm=function(P){return f(P)&&a(P)&&t[P.charCodeAt(0)].length>=1};var d=n.__arabicParser__.arabicLetterHasFinalForm=function(P){return f(P)&&a(P)&&t[P.charCodeAt(0)].length>=2};n.__arabicParser__.arabicLetterHasInitialForm=function(P){return f(P)&&a(P)&&t[P.charCodeAt(0)].length>=3};var g=n.__arabicParser__.arabicLetterHasMedialForm=function(P){return f(P)&&a(P)&&t[P.charCodeAt(0)].length==4},w=n.__arabicParser__.resolveLigatures=function(P){var j=0,S=e,V="",z=0;for(j=0;j<P.length;j+=1)S[P.charCodeAt(j)]!==void 0?(z++,typeof(S=S[P.charCodeAt(j)])=="number"&&(V+=String.fromCharCode(S),S=e,z=0),j===P.length-1&&(S=e,V+=P.charAt(j-(z-1)),j-=z-1,z=0)):(S=e,V+=P.charAt(j-z),j-=z,z=0);return V};n.__arabicParser__.isArabicDiacritic=function(P){return P!==void 0&&r[P.charCodeAt(0)]!==void 0};var x=n.__arabicParser__.getCorrectForm=function(P,j,S){return f(P)?a(P)===!1?-1:!d(P)||!f(j)&&!f(S)||!f(S)&&l(j)||l(P)&&!f(j)||l(P)&&c(j)||l(P)&&l(j)?0:g(P)&&f(j)&&!l(j)&&f(S)&&d(S)?3:l(P)||!f(S)?1:2:-1},p=function(P){var j=0,S=0,V=0,z="",T="",rt="",gt=(P=P||"").split("\\s+"),ut=[];for(j=0;j<gt.length;j+=1){for(ut.push(""),S=0;S<gt[j].length;S+=1)z=gt[j][S],T=gt[j][S-1],rt=gt[j][S+1],f(z)?(V=x(z,T,rt),ut[j]+=V!==-1?String.fromCharCode(t[z.charCodeAt(0)][V]):z):ut[j]+=z;ut[j]=w(ut[j])}return ut.join(" ")},B=n.__arabicParser__.processArabic=n.processArabic=function(){var P,j=typeof arguments[0]=="string"?arguments[0]:arguments[0].text,S=[];if(Array.isArray(j)){var V=0;for(S=[],V=0;V<j.length;V+=1)Array.isArray(j[V])?S.push([p(j[V][0]),j[V][1],j[V][2]]):S.push([p(j[V])]);P=S}else P=p(j);return typeof arguments[0]=="string"?P:(arguments[0].text=P,arguments[0])};n.events.push(["preProcessText",B])})(Mt.API),Mt.API.autoPrint=function(n){var t;return(n=n||{}).variant=n.variant||"non-conform",n.variant==="javascript"?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},(function(n){var t=function(){var e=void 0;Object.defineProperty(this,"pdf",{get:function(){return e},set:function(l){e=l}});var r=150;Object.defineProperty(this,"width",{get:function(){return r},set:function(l){r=isNaN(l)||Number.isInteger(l)===!1||l<0?150:l,this.getContext("2d").pageWrapXEnabled&&(this.getContext("2d").pageWrapX=r+1)}});var s=300;Object.defineProperty(this,"height",{get:function(){return s},set:function(l){s=isNaN(l)||Number.isInteger(l)===!1||l<0?300:l,this.getContext("2d").pageWrapYEnabled&&(this.getContext("2d").pageWrapY=s+1)}});var a=[];Object.defineProperty(this,"childNodes",{get:function(){return a},set:function(l){a=l}});var f={};Object.defineProperty(this,"style",{get:function(){return f},set:function(l){f=l}}),Object.defineProperty(this,"parentNode",{})};t.prototype.getContext=function(e,r){var s;if((e=e||"2d")!=="2d")return null;for(s in r)this.pdf.context2d.hasOwnProperty(s)&&(this.pdf.context2d[s]=r[s]);return this.pdf.context2d._canvas=this,this.pdf.context2d},t.prototype.toDataURL=function(){throw new Error("toDataURL is not implemented.")},n.events.push(["initialized",function(){this.canvas=new t,this.canvas.pdf=this}])})(Mt.API),(function(n){var t={left:0,top:0,bottom:0,right:0},e=!1,r=function(){this.internal.__cell__===void 0&&(this.internal.__cell__={},this.internal.__cell__.padding=3,this.internal.__cell__.headerFunction=void 0,this.internal.__cell__.margins=Object.assign({},t),this.internal.__cell__.margins.width=this.getPageWidth(),s.call(this))},s=function(){this.internal.__cell__.lastCell=new a,this.internal.__cell__.pages=1},a=function(){var c=arguments[0];Object.defineProperty(this,"x",{enumerable:!0,get:function(){return c},set:function(P){c=P}});var d=arguments[1];Object.defineProperty(this,"y",{enumerable:!0,get:function(){return d},set:function(P){d=P}});var g=arguments[2];Object.defineProperty(this,"width",{enumerable:!0,get:function(){return g},set:function(P){g=P}});var w=arguments[3];Object.defineProperty(this,"height",{enumerable:!0,get:function(){return w},set:function(P){w=P}});var x=arguments[4];Object.defineProperty(this,"text",{enumerable:!0,get:function(){return x},set:function(P){x=P}});var p=arguments[5];Object.defineProperty(this,"lineNumber",{enumerable:!0,get:function(){return p},set:function(P){p=P}});var B=arguments[6];return Object.defineProperty(this,"align",{enumerable:!0,get:function(){return B},set:function(P){B=P}}),this};a.prototype.clone=function(){return new a(this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align)},a.prototype.toArray=function(){return[this.x,this.y,this.width,this.height,this.text,this.lineNumber,this.align]},n.setHeaderFunction=function(c){return r.call(this),this.internal.__cell__.headerFunction=typeof c=="function"?c:void 0,this},n.getTextDimensions=function(c,d){r.call(this);var g=(d=d||{}).fontSize||this.getFontSize(),w=d.font||this.getFont(),x=d.scaleFactor||this.internal.scaleFactor,p=0,B=0,P=0,j=this;if(!Array.isArray(c)&&typeof c!="string"){if(typeof c!="number")throw new Error("getTextDimensions expects text-parameter to be of type String or type Number or an Array of Strings.");c=String(c)}var S=d.maxWidth;S>0?typeof c=="string"?c=this.splitTextToSize(c,S):Object.prototype.toString.call(c)==="[object Array]"&&(c=c.reduce(function(z,T){return z.concat(j.splitTextToSize(T,S))},[])):c=Array.isArray(c)?c:[c];for(var V=0;V<c.length;V++)p<(P=this.getStringUnitWidth(c[V],{font:w})*g)&&(p=P);return p!==0&&(B=c.length),{w:p/=x,h:Math.max((B*g*this.getLineHeightFactor()-g*(this.getLineHeightFactor()-1))/x,0)}},n.cellAddPage=function(){r.call(this),this.addPage();var c=this.internal.__cell__.margins||t;return this.internal.__cell__.lastCell=new a(c.left,c.top,void 0,void 0),this.internal.__cell__.pages+=1,this};var f=n.cell=function(){var c;c=arguments[0]instanceof a?arguments[0]:new a(arguments[0],arguments[1],arguments[2],arguments[3],arguments[4],arguments[5],arguments[6]),r.call(this);var d=this.internal.__cell__.lastCell,g=this.internal.__cell__.padding,w=this.internal.__cell__.margins||t,x=this.internal.__cell__.tableHeaderRow,p=this.internal.__cell__.printHeaders;return d.lineNumber!==void 0&&(d.lineNumber===c.lineNumber?(c.x=(d.x||0)+(d.width||0),c.y=d.y||0):d.y+d.height+c.height+w.bottom>this.getPageHeight()?(this.cellAddPage(),c.y=w.top,p&&x&&(this.printHeaderRow(c.lineNumber,!0),c.y+=x[0].height)):c.y=d.y+d.height||c.y),c.text[0]!==void 0&&(this.rect(c.x,c.y,c.width,c.height,e===!0?"FD":void 0),c.align==="right"?this.text(c.text,c.x+c.width-g,c.y+g,{align:"right",baseline:"top"}):c.align==="center"?this.text(c.text,c.x+c.width/2,c.y+g,{align:"center",baseline:"top",maxWidth:c.width-g-g}):this.text(c.text,c.x+g,c.y+g,{align:"left",baseline:"top",maxWidth:c.width-g-g})),this.internal.__cell__.lastCell=c,this};n.table=function(c,d,g,w,x){if(r.call(this),!g)throw new Error("No data for PDF table.");var p,B,P,j,S=[],V=[],z=[],T={},rt={},gt=[],ut=[],Y=(x=x||{}).autoSize||!1,R=x.printHeaders!==!1,X=x.css&&x.css["font-size"]!==void 0?16*x.css["font-size"]:x.fontSize||12,N=x.margins||Object.assign({width:this.getPageWidth()},t),C=typeof x.padding=="number"?x.padding:3,H=x.headerBackgroundColor||"#c8c8c8",q=x.headerTextColor||"#000";if(s.call(this),this.internal.__cell__.printHeaders=R,this.internal.__cell__.margins=N,this.internal.__cell__.table_font_size=X,this.internal.__cell__.padding=C,this.internal.__cell__.headerBackgroundColor=H,this.internal.__cell__.headerTextColor=q,this.setFontSize(X),w==null)V=S=Object.keys(g[0]),z=S.map(function(){return"left"});else if(Array.isArray(w)&&_e(w[0])==="object")for(S=w.map(function(xt){return xt.name}),V=w.map(function(xt){return xt.prompt||xt.name||""}),z=w.map(function(xt){return xt.align||"left"}),p=0;p<w.length;p+=1)rt[w[p].name]=.7499990551181103*w[p].width;else Array.isArray(w)&&typeof w[0]=="string"&&(V=S=w,z=S.map(function(){return"left"}));if(Y||Array.isArray(w)&&typeof w[0]=="string")for(p=0;p<S.length;p+=1){for(T[j=S[p]]=g.map(function(xt){return xt[j]}),this.setFont(void 0,"bold"),gt.push(this.getTextDimensions(V[p],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w),B=T[j],this.setFont(void 0,"normal"),P=0;P<B.length;P+=1)gt.push(this.getTextDimensions(B[P],{fontSize:this.internal.__cell__.table_font_size,scaleFactor:this.internal.scaleFactor}).w);rt[j]=Math.max.apply(null,gt)+C+C,gt=[]}if(R){var it={};for(p=0;p<S.length;p+=1)it[S[p]]={},it[S[p]].text=V[p],it[S[p]].align=z[p];var at=l.call(this,it,rt);ut=S.map(function(xt){return new a(c,d,rt[xt],at,it[xt].text,void 0,it[xt].align)}),this.setTableHeaderRow(ut),this.printHeaderRow(1,!1)}var ot=w.reduce(function(xt,bt){return xt[bt.name]=bt.align,xt},{});for(p=0;p<g.length;p+=1){"rowStart"in x&&x.rowStart instanceof Function&&x.rowStart({row:p,data:g[p]},this);var et=l.call(this,g[p],rt);for(P=0;P<S.length;P+=1){var ct=g[p][S[P]];"cellStart"in x&&x.cellStart instanceof Function&&x.cellStart({row:p,col:P,data:ct},this),f.call(this,new a(c,d,rt[S[P]],et,ct,p+2,ot[S[P]]))}}return this.internal.__cell__.table_x=c,this.internal.__cell__.table_y=d,this};var l=function(c,d){var g=this.internal.__cell__.padding,w=this.internal.__cell__.table_font_size,x=this.internal.scaleFactor;return Object.keys(c).map(function(p){var B=c[p];return this.splitTextToSize(B.hasOwnProperty("text")?B.text:B,d[p]-g-g)},this).map(function(p){return this.getLineHeightFactor()*p.length*w/x+g+g},this).reduce(function(p,B){return Math.max(p,B)},0)};n.setTableHeaderRow=function(c){r.call(this),this.internal.__cell__.tableHeaderRow=c},n.printHeaderRow=function(c,d){if(r.call(this),!this.internal.__cell__.tableHeaderRow)throw new Error("Property tableHeaderRow does not exist.");var g;if(e=!0,typeof this.internal.__cell__.headerFunction=="function"){var w=this.internal.__cell__.headerFunction(this,this.internal.__cell__.pages);this.internal.__cell__.lastCell=new a(w[0],w[1],w[2],w[3],void 0,-1)}this.setFont(void 0,"bold");for(var x=[],p=0;p<this.internal.__cell__.tableHeaderRow.length;p+=1){g=this.internal.__cell__.tableHeaderRow[p].clone(),d&&(g.y=this.internal.__cell__.margins.top||0,x.push(g)),g.lineNumber=c;var B=this.getTextColor();this.setTextColor(this.internal.__cell__.headerTextColor),this.setFillColor(this.internal.__cell__.headerBackgroundColor),f.call(this,g),this.setTextColor(B)}x.length>0&&this.setTableHeaderRow(x),this.setFont(void 0,"normal"),e=!1}})(Mt.API);var _f={italic:["italic","oblique","normal"],oblique:["oblique","italic","normal"],normal:["normal","oblique","italic"]},Af=["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded"],vl=yf(Af),xf=[100,200,300,400,500,600,700,800,900],T2=yf(xf);function tl(n){var t=n.family.replace(/"|'/g,"").toLowerCase(),e=(function(a){return _f[a=a||"normal"]?a:"normal"})(n.style),r=(function(a){return a?typeof a=="number"?a>=100&&a<=900&&a%100==0?a:400:/^\d00$/.test(a)?parseInt(a):a==="bold"?700:400:400})(n.weight),s=(function(a){return typeof vl[a=a||"normal"]=="number"?a:"normal"})(n.stretch);return{family:t,style:e,weight:r,stretch:s,src:n.src||[],ref:n.ref||{name:t,style:[s,e,r].join(" ")}}}function fc(n,t,e,r){var s;for(s=e;s>=0&&s<t.length;s+=r)if(n[t[s]])return n[t[s]];for(s=e;s>=0&&s<t.length;s-=r)if(n[t[s]])return n[t[s]]}var D2={"sans-serif":"helvetica",fixed:"courier",monospace:"courier",terminal:"courier",cursive:"times",fantasy:"times",serif:"times"},hc={caption:"times",icon:"times",menu:"times","message-box":"times","small-caption":"times","status-bar":"times"};function dc(n){return[n.stretch,n.style,n.weight,n.family].join(" ")}function pc(n){return n.trimLeft()}function q2(n,t){for(var e=0;e<n.length;){if(n.charAt(e)===t)return[n.substring(0,e),n.substring(e+1)];e+=1}return null}function U2(n){var t=n.match(/^(-[a-z_]|[a-z_])[a-z0-9_-]*/i);return t===null?null:[t[0],n.substring(t[0].length)]}var oa,Us,gc,vc,mc,el=["times"];function bc(n,t,e,r,s){var a=4,f=yc;switch(s){case Mt.API.image_compression.FAST:a=1,f=wc;break;case Mt.API.image_compression.MEDIUM:a=6,f=_c;break;case Mt.API.image_compression.SLOW:a=9,f=Ac}n=(function(c,d,g,w){for(var x,p=c.length/d,B=new Uint8Array(c.length+p),P=[z2,wc,yc,_c,Ac],j=0;j<p;j+=1){var S=j*d,V=c.subarray(S,S+d);if(w)B.set(w(V,g,x),S+j);else{for(var z=P.length,T=[],rt=0;rt<z;rt+=1)T[rt]=P[rt](V,g,x);var gt=W2(T.concat());B.set(T[gt],S+j)}x=V}return B})(n,t,Math.ceil(e*r/8),f);var l=ol(n,{level:a});return Mt.API.__addimage__.arrayBufferToBinaryString(l)}function z2(n){var t=Array.apply([],n);return t.unshift(0),t}function wc(n,t){var e=n.length,r=[];r[0]=1;for(var s=0;s<e;s+=1){var a=n[s-t]||0;r[s+1]=n[s]-a+256&255}return r}function yc(n,t,e){var r=n.length,s=[];s[0]=2;for(var a=0;a<r;a+=1){var f=e&&e[a]||0;s[a+1]=n[a]-f+256&255}return s}function _c(n,t,e){var r=n.length,s=[];s[0]=3;for(var a=0;a<r;a+=1){var f=n[a-t]||0,l=e&&e[a]||0;s[a+1]=n[a]+256-(f+l>>>1)&255}return s}function Ac(n,t,e){var r=n.length,s=[];s[0]=4;for(var a=0;a<r;a+=1){var f=H2(n[a-t]||0,e&&e[a]||0,e&&e[a-t]||0);s[a+1]=n[a]-f+256&255}return s}function H2(n,t,e){if(n===t&&t===e)return n;var r=Math.abs(t-e),s=Math.abs(n-e),a=Math.abs(n+t-e-e);return r<=s&&r<=a?n:s<=a?t:e}function W2(n){var t=n.map(function(e){return e.reduce(function(r,s){return r+Math.abs(s)},0)});return t.indexOf(Math.min.apply(null,t))}function nl(n,t,e){var r=t*e,s=Math.floor(r/8),a=16-(r-8*s+e),f=(1<<e)-1;return Nf(n,s)>>a&f}function xc(n,t,e,r){var s=e*r,a=Math.floor(s/8),f=16-(s-8*a+r),l=(1<<r)-1,c=(t&l)<<f;(function(d,g,w){if(g+1<d.byteLength)d.setUint16(g,w,!1);else{var x=w>>8&255;d.setUint8(g,x)}})(n,a,Nf(n,a)&~(l<<f)&65535|c)}function Nf(n,t){return t+1<n.byteLength?n.getUint16(t,!1):n.getUint8(t)<<8}function V2(n){var t=0;if(n[t++]!==71||n[t++]!==73||n[t++]!==70||n[t++]!==56||(n[t++]+1&253)!=56||n[t++]!==97)throw new Error("Invalid GIF 87a/89a header.");var e=n[t++]|n[t++]<<8,r=n[t++]|n[t++]<<8,s=n[t++],a=s>>7,f=1<<1+(7&s);n[t++],n[t++];var l=null,c=null;a&&(l=t,c=f,t+=3*f);var d=!0,g=[],w=0,x=null,p=0,B=null;for(this.width=e,this.height=r;d&&t<n.length;)switch(n[t++]){case 33:switch(n[t++]){case 255:if(n[t]!==11||n[t+1]==78&&n[t+2]==69&&n[t+3]==84&&n[t+4]==83&&n[t+5]==67&&n[t+6]==65&&n[t+7]==80&&n[t+8]==69&&n[t+9]==50&&n[t+10]==46&&n[t+11]==48&&n[t+12]==3&&n[t+13]==1&&n[t+16]==0)t+=14,B=n[t++]|n[t++]<<8,t++;else for(t+=12;;){if(!((N=n[t++])>=0))throw Error("Invalid block size");if(N===0)break;t+=N}break;case 249:if(n[t++]!==4||n[t+4]!==0)throw new Error("Invalid graphics extension block.");var P=n[t++];w=n[t++]|n[t++]<<8,x=n[t++],1&P||(x=null),p=P>>2&7,t++;break;case 254:for(;;){if(!((N=n[t++])>=0))throw Error("Invalid block size");if(N===0)break;t+=N}break;default:throw new Error("Unknown graphic control label: 0x"+n[t-1].toString(16))}break;case 44:var j=n[t++]|n[t++]<<8,S=n[t++]|n[t++]<<8,V=n[t++]|n[t++]<<8,z=n[t++]|n[t++]<<8,T=n[t++],rt=T>>6&1,gt=1<<1+(7&T),ut=l,Y=c,R=!1;T>>7&&(R=!0,ut=t,Y=gt,t+=3*gt);var X=t;for(t++;;){var N;if(!((N=n[t++])>=0))throw Error("Invalid block size");if(N===0)break;t+=N}g.push({x:j,y:S,width:V,height:z,has_local_palette:R,palette_offset:ut,palette_size:Y,data_offset:X,data_length:t-X,transparent_index:x,interlaced:!!rt,delay:w,disposal:p});break;case 59:d=!1;break;default:throw new Error("Unknown gif block: 0x"+n[t-1].toString(16))}this.numFrames=function(){return g.length},this.loopCount=function(){return B},this.frameInfo=function(C){if(C<0||C>=g.length)throw new Error("Frame index out of range.");return g[C]},this.decodeAndBlitFrameBGRA=function(C,H){var q=this.frameInfo(C),it=q.width*q.height;if(it>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var at=new Uint8Array(it);Nc(n,q.data_offset,at,it);var ot=q.palette_offset,et=q.transparent_index;et===null&&(et=256);var ct=q.width,xt=e-ct,bt=ct,A=4*(q.y*e+q.x),M=4*((q.y+q.height)*e+q.x),D=A,W=4*xt;q.interlaced===!0&&(W+=4*e*7);for(var $=8,Q=0,st=at.length;Q<st;++Q){var lt=at[Q];if(bt===0&&(bt=ct,(D+=W)>=M&&(W=4*xt+4*e*($-1),D=A+(ct+xt)*($<<1),$>>=1)),lt===et)D+=4;else{var vt=n[ot+3*lt],At=n[ot+3*lt+1],St=n[ot+3*lt+2];H[D++]=St,H[D++]=At,H[D++]=vt,H[D++]=255}--bt}},this.decodeAndBlitFrameRGBA=function(C,H){var q=this.frameInfo(C),it=q.width*q.height;if(it>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");var at=new Uint8Array(it);Nc(n,q.data_offset,at,it);var ot=q.palette_offset,et=q.transparent_index;et===null&&(et=256);var ct=q.width,xt=e-ct,bt=ct,A=4*(q.y*e+q.x),M=4*((q.y+q.height)*e+q.x),D=A,W=4*xt;q.interlaced===!0&&(W+=4*e*7);for(var $=8,Q=0,st=at.length;Q<st;++Q){var lt=at[Q];if(bt===0&&(bt=ct,(D+=W)>=M&&(W=4*xt+4*e*($-1),D=A+(ct+xt)*($<<1),$>>=1)),lt===et)D+=4;else{var vt=n[ot+3*lt],At=n[ot+3*lt+1],St=n[ot+3*lt+2];H[D++]=vt,H[D++]=At,H[D++]=St,H[D++]=255}--bt}}}function Nc(n,t,e,r){for(var s=n[t++],a=1<<s,f=a+1,l=f+1,c=s+1,d=(1<<c)-1,g=0,w=0,x=0,p=n[t++],B=new Int32Array(4096),P=null;;){for(;g<16&&p!==0;)w|=n[t++]<<g,g+=8,p===1?p=n[t++]:--p;if(g<c)break;var j=w&d;if(w>>=c,g-=c,j!==a){if(j===f)break;for(var S=j<l?j:P,V=0,z=S;z>a;)z=B[z]>>8,++V;var T=z;if(x+V+(S!==j?1:0)>r)return void Le.log("Warning, gif stream longer than expected.");e[x++]=T;var rt=x+=V;for(S!==j&&(e[x++]=T),z=S;V--;)z=B[z],e[--rt]=255&z,z>>=8;P!==null&&l<4096&&(B[l++]=P<<8|T,l>=d+1&&c<12&&(++c,d=d<<1|1)),P=j}else l=f+1,d=(1<<(c=s+1))-1,P=null}return x!==r&&Le.log("Warning, gif stream shorter than expected."),e}function rl(n){var t,e,r,s,a,f=Math.floor,l=new Array(64),c=new Array(64),d=new Array(64),g=new Array(64),w=new Array(65535),x=new Array(65535),p=new Array(64),B=new Array(64),P=[],j=0,S=7,V=new Array(64),z=new Array(64),T=new Array(64),rt=new Array(256),gt=new Array(2048),ut=[0,1,5,6,14,15,27,28,2,4,7,13,16,26,29,42,3,8,12,17,25,30,41,43,9,11,18,24,31,40,44,53,10,19,23,32,39,45,52,54,20,22,33,38,46,51,55,60,21,34,37,47,50,56,59,61,35,36,48,49,57,58,62,63],Y=[0,0,1,5,1,1,1,1,1,1,0,0,0,0,0,0,0],R=[0,1,2,3,4,5,6,7,8,9,10,11],X=[0,0,2,1,3,3,2,4,3,5,5,4,4,0,0,1,125],N=[1,2,3,0,4,17,5,18,33,49,65,6,19,81,97,7,34,113,20,50,129,145,161,8,35,66,177,193,21,82,209,240,36,51,98,114,130,9,10,22,23,24,25,26,37,38,39,40,41,42,52,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,225,226,227,228,229,230,231,232,233,234,241,242,243,244,245,246,247,248,249,250],C=[0,0,3,1,1,1,1,1,1,1,1,1,0,0,0,0,0],H=[0,1,2,3,4,5,6,7,8,9,10,11],q=[0,0,2,1,2,4,4,3,4,7,5,4,4,0,1,2,119],it=[0,1,2,3,17,4,5,33,49,6,18,65,81,7,97,113,19,34,50,129,8,20,66,145,161,177,193,9,35,51,82,240,21,98,114,209,10,22,36,52,225,37,241,23,24,25,26,38,39,40,41,42,53,54,55,56,57,58,67,68,69,70,71,72,73,74,83,84,85,86,87,88,89,90,99,100,101,102,103,104,105,106,115,116,117,118,119,120,121,122,130,131,132,133,134,135,136,137,138,146,147,148,149,150,151,152,153,154,162,163,164,165,166,167,168,169,170,178,179,180,181,182,183,184,185,186,194,195,196,197,198,199,200,201,202,210,211,212,213,214,215,216,217,218,226,227,228,229,230,231,232,233,234,242,243,244,245,246,247,248,249,250];function at(A,M){for(var D=0,W=0,$=new Array,Q=1;Q<=16;Q++){for(var st=1;st<=A[Q];st++)$[M[W]]=[],$[M[W]][0]=D,$[M[W]][1]=Q,W++,D++;D*=2}return $}function ot(A){for(var M=A[0],D=A[1]-1;D>=0;)M&1<<D&&(j|=1<<S),D--,--S<0&&(j==255?(et(255),et(0)):et(j),S=7,j=0)}function et(A){P.push(A)}function ct(A){et(A>>8&255),et(255&A)}function xt(A,M,D,W,$){for(var Q,st=$[0],lt=$[240],vt=(function(yt,Wt){var 
42Ct,zt,qt,me,ue,Zt,fe,ce,Bt,ne,Tt=0;for(Bt=0;Bt<8;++Bt){Ct=yt[Tt],zt=yt[Tt+1],qt=yt[Tt+2],me=yt[Tt+3],ue=yt[Tt+4],Zt=yt[Tt+5],fe=yt[Tt+6];var We=Ct+(ce=yt[Tt+7]),ge=Ct-ce,se=zt+fe,oe=zt-fe,Oe=qt+Zt,Ut=qt-Zt,Se=me+ue,Yt=me-ue,Qt=We+Se,je=We-Se,le=se+Oe,Vt=se-Oe;yt[Tt]=Qt+le,yt[Tt+4]=Qt-le;var be=.707106781*(Vt+je);yt[Tt+2]=je+be,yt[Tt+6]=je-be;var oi=.382683433*((Qt=Yt+Ut)-(Vt=oe+ge)),dn=.5411961*Qt+oi,Nr=1.306562965*Vt+oi,or=.707106781*(le=Ut+oe),Gt=ge+or,Lr=ge-or;yt[Tt+5]=Lr+dn,yt[Tt+3]=Lr-dn,yt[Tt+1]=Gt+Nr,yt[Tt+7]=Gt-Nr,Tt+=8}for(Tt=0,Bt=0;Bt<8;++Bt){Ct=yt[Tt],zt=yt[Tt+8],qt=yt[Tt+16],me=yt[Tt+24],ue=yt[Tt+32],Zt=yt[Tt+40],fe=yt[Tt+48];var Sr=Ct+(ce=yt[Tt+56]),qn=Ct-ce,Un=zt+fe,qe=zt-fe,on=qt+Zt,ln=qt-Zt,li=me+ue,qr=me-ue,Xn=Sr+li,lr=Sr-li,Zn=Un+on,Qn=Un-on;yt[Tt]=Xn+Zn,yt[Tt+32]=Xn-Zn;var zn=.707106781*(Qn+lr);yt[Tt+16]=lr+zn,yt[Tt+48]=lr-zn;var ui=.382683433*((Xn=qr+ln)-(Qn=qe+qn)),ur=.5411961*Xn+ui,ci=1.306562965*Qn+ui,Ri=.707106781*(Zn=ln+qe),Ti=qn+Ri,Di=qn-Ri;yt[Tt+40]=Di+ur,yt[Tt+24]=Di-ur,yt[Tt+8]=Ti+ci,yt[Tt+56]=Ti-ci,Tt++}for(Bt=0;Bt<64;++Bt)ne=yt[Bt]*Wt[Bt],p[Bt]=ne>0?ne+.5|0:ne-.5|0;return p})(A,M),At=0;At<64;++At)B[ut[At]]=vt[At];var St=B[0]-D;D=B[0],St==0?ot(W[0]):(ot(W[x[Q=32767+St]]),ot(w[Q]));for(var Lt=63;Lt>0&&B[Lt]==0;)Lt--;if(Lt==0)return ot(st),D;for(var Dt,I=1;I<=Lt;){for(var kt=I;B[I]==0&&I<=Lt;)++I;var ae=I-kt;if(ae>=16){Dt=ae>>4;for(var Ht=1;Ht<=Dt;++Ht)ot(lt);ae&=15}Q=32767+B[I],ot($[(ae<<4)+x[Q]]),ot(w[Q]),I++}return Lt!=63&&ot(st),D}function bt(A){A=Math.min(Math.max(A,1),100),a!=A&&((function(M){for(var D=[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],W=0;W<64;W++){var $=f((D[W]*M+50)/100);$=Math.min(Math.max($,1),255),l[ut[W]]=$}for(var Q=[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],st=0;st<64;st++){var lt=f((Q[st]*M+50)/100);lt=Math.min(Math.max(lt,1),255),c[ut[st]]=lt}for(var vt=[1,1.387039845,1.306562965,1.175875602,1,.785694958,.5411961,.275899379],At=0,St=0;St<8;St++)for(var Lt=0;Lt<8;Lt++)d[At]=1/(l[ut[At]]*vt[St]*vt[Lt]*8),g[At]=1/(c[ut[At]]*vt[St]*vt[Lt]*8),At++})(A<50?Math.floor(5e3/A):Math.floor(200-2*A)),a=A)}this.encode=function(A,M){M&&bt(M),P=new Array,j=0,S=7,ct(65496),ct(65504),ct(16),et(74),et(70),et(73),et(70),et(0),et(1),et(1),et(0),ct(1),ct(1),et(0),et(0),(function(){ct(65499),ct(132),et(0);for(var zt=0;zt<64;zt++)et(l[zt]);et(1);for(var qt=0;qt<64;qt++)et(c[qt])})(),(function(zt,qt){ct(65472),ct(17),et(8),ct(qt),ct(zt),et(3),et(1),et(17),et(0),et(2),et(17),et(1),et(3),et(17),et(1)})(A.width,A.height),(function(){ct(65476),ct(418),et(0);for(var zt=0;zt<16;zt++)et(Y[zt+1]);for(var qt=0;qt<=11;qt++)et(R[qt]);et(16);for(var me=0;me<16;me++)et(X[me+1]);for(var ue=0;ue<=161;ue++)et(N[ue]);et(1);for(var Zt=0;Zt<16;Zt++)et(C[Zt+1]);for(var fe=0;fe<=11;fe++)et(H[fe]);et(17);for(var ce=0;ce<16;ce++)et(q[ce+1]);for(var Bt=0;Bt<=161;Bt++)et(it[Bt])})(),ct(65498),ct(12),et(3),et(1),et(0),et(2),et(17),et(3),et(17),et(0),et(63),et(0);var D=0,W=0,$=0;j=0,S=7,this.encode.displayName="_encode_";for(var Q,st,lt,vt,At,St,Lt,Dt,I,kt=A.data,ae=A.width,Ht=A.height,yt=4*ae,Wt=0;Wt<Ht;){for(Q=0;Q<yt;){for(At=yt*Wt+Q,Lt=-1,Dt=0,I=0;I<64;I++)St=At+(Dt=I>>3)*yt+(Lt=4*(7&I)),Wt+Dt>=Ht&&(St-=yt*(Wt+1+Dt-Ht)),Q+Lt>=yt&&(St-=Q+Lt-yt+4),st=kt[St++],lt=kt[St++],vt=kt[St++],V[I]=(gt[st]+gt[lt+256|0]+gt[vt+512|0]>>16)-128,z[I]=(gt[st+768|0]+gt[lt+1024|0]+gt[vt+1280|0]>>16)-128,T[I]=(gt[st+1280|0]+gt[lt+1536|0]+gt[vt+1792|0]>>16)-128;D=xt(V,d,D,t,r),W=xt(z,g,W,e,s),$=xt(T,g,$,e,s),Q+=32}Wt+=8}if(S>=0){var Ct=[];Ct[1]=S+1,Ct[0]=(1<<S+1)-1,ot(Ct)}return ct(65497),new Uint8Array(P)},n=n||50,(function(){for(var A=String.fromCharCode,M=0;M<256;M++)rt[M]=A(M)})(),t=at(Y,R),e=at(C,H),r=at(X,N),s=at(q,it),(function(){for(var A=1,M=2,D=1;D<=15;D++){for(var W=A;W<M;W++)x[32767+W]=D,w[32767+W]=[],w[32767+W][1]=D,w[32767+W][0]=W;for(var $=-(M-1);$<=-A;$++)x[32767+$]=D,w[32767+$]=[],w[32767+$][1]=D,w[32767+$][0]=M-1+$;A<<=1,M<<=1}})(),(function(){for(var A=0;A<256;A++)gt[A]=19595*A,gt[A+256|0]=38470*A,gt[A+512|0]=7471*A+32768,gt[A+768|0]=-11059*A,gt[A+1024|0]=-21709*A,gt[A+1280|0]=32768*A+8421375,gt[A+1536|0]=-27439*A,gt[A+1792|0]=-5329*A})(),bt(n)}function ir(n,t){if(this.pos=0,this.buffer=n,this.datav=new DataView(n.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,["BM","BA","CI","CP","IC","PT"].indexOf(this.flag)===-1)throw new Error("Invalid BMP File");this.parseHeader(),this.parseBGR()}function Lc(n){function t(R){if(!R)throw Error("assert :P")}function e(R,X,N){for(var C=0;4>C;
vendor: 47,032 bytes, line 42
42C++)if(R[X+C]!=N.charCodeAt(C))return!0;return!1}function r(R,X,N,C,H){for(var q=0;q<H;q++)R[X+q]=N[C+q]}function s(R,X,N,C){for(var H=0;H<C;H++)R[X+H]=N}function a(R){return new Int32Array(R)}function f(R,X){for(var N=[],C=0;C<R;C++)N.push(new X);return N}function l(R,X){var N=[];return(function C(H,q,it){for(var at=it[q],ot=0;ot<at&&(H.push(it.length>q+1?[]:new X),!(it.length<q+1));ot++)C(H[ot],q+1,it)})(N,0,R),N}var c=function(){var R=this;function X(i,o){for(var h=1<<o-1>>>0;i&h;)h>>>=1;return h?(i&h-1)+h:i}function N(i,o,h,v,b){t(!(v%h));do i[o+(v-=h)]=b;while(0<v)}function C(i,o,h,v,b){if(t(2328>=b),512>=b)var y=a(512);else if((y=a(b))==null)return 0;return(function(_,L,k,F,G,nt){var O,J,Z=L,ht=1<<k,tt=a(16),dt=a(16);for(t(G!=0),t(F!=null),t(_!=null),t(0<k),J=0;J<G;++J){if(15<F[J])return 0;++tt[F[J]]}if(tt[0]==G)return 0;for(dt[1]=0,O=1;15>O;++O){if(tt[O]>1<<O)return 0;dt[O+1]=dt[O]+tt[O]}for(J=0;J<G;++J)O=F[J],0<F[J]&&(nt[dt[O]++]=J);if(dt[15]==1)return(F=new H).g=0,F.value=nt[0],N(_,Z,1,ht,F),ht;var pt,_t=-1,wt=ht-1,Rt=0,Pt=1,re=1,Ot=1<<k;for(J=0,O=1,G=2;O<=k;++O,G<<=1){if(Pt+=re<<=1,0>(re-=tt[O]))return 0;for(;0<tt[O];--tt[O])(F=new H).g=O,F.value=nt[J++],N(_,Z+Rt,G,Ot,F),Rt=X(Rt,O)}for(O=k+1,G=2;15>=O;++O,G<<=1){if(Pt+=re<<=1,0>(re-=tt[O]))return 0;for(;0<tt[O];--tt[O]){if(F=new H,(Rt&wt)!=_t){for(Z+=Ot,pt=1<<(_t=O)-k;15>_t&&!(0>=(pt-=tt[_t]));)++_t,pt<<=1;ht+=Ot=1<<(pt=_t-k),_[L+(_t=Rt&wt)].g=pt+k,_[L+_t].value=Z-L-_t}F.g=O-k,F.value=nt[J++],N(_,Z+(Rt>>k),G,Ot,F),Rt=X(Rt,O)}}return Pt!=2*dt[15]-1?0:ht})(i,o,h,v,b,y)}function H(){this.value=this.g=0}function q(){this.value=this.g=0}function it(){this.G=f(5,H),this.H=a(5),this.jc=this.Qb=this.qb=this.nd=0,this.pd=f(Zi,q)}function at(i,o,h,v){t(i!=null),t(o!=null),t(2147483648>v),i.Ca=254,i.I=0,i.b=-8,i.Ka=0,i.oa=o,i.pa=h,i.Jd=o,i.Yc=h+v,i.Zc=4<=v?h+v-4+1:h,st(i)}function ot(i,o){for(var h=0;0<o--;)h|=vt(i,128)<<o;return h}function et(i,o){var h=ot(i,o);return lt(i)?-h:h}function ct(i,o,h,v){var b,y=0;for(t(i!=null),t(o!=null),t(4294967288>v),i.Sb=v,i.Ra=0,i.u=0,i.h=0,4<v&&(v=4),b=0;b<v;++b)y+=o[h+b]<<8*b;i.Ra=y,i.bb=v,i.oa=o,i.pa=h}function xt(i){for(;8<=i.u&&i.bb<i.Sb;)i.Ra>>>=8,i.Ra+=i.oa[i.pa+i.bb]<<xn-8>>>0,++i.bb,i.u-=8;W(i)&&(i.h=1,i.u=0)}function bt(i,o){if(t(0<=o),!i.h&&o<=Ca){var h=D(i)&yi[o];return i.u+=o,xt(i),h}return i.h=1,i.u=0}function A(){this.b=this.Ca=this.I=0,this.oa=[],this.pa=0,this.Jd=[],this.Yc=0,this.Zc=[],this.Ka=0}function M(){this.Ra=0,this.oa=[],this.h=this.u=this.bb=this.Sb=this.pa=0}function D(i){return i.Ra>>>(i.u&xn-1)>>>0}function W(i){return t(i.bb<=i.Sb),i.h||i.bb==i.Sb&&i.u>xn}function $(i,o){i.u=o,i.h=W(i)}function Q(i){i.u>=Pn&&(t(i.u>=Pn),xt(i))}function st(i){t(i!=null&&i.oa!=null),i.pa<i.Zc?(i.I=(i.oa[i.pa++]|i.I<<8)>>>0,i.b+=8):(t(i!=null&&i.oa!=null),i.pa<i.Yc?(i.b+=8,i.I=i.oa[i.pa++]|i.I<<8):i.Ka?i.b=0:(i.I<<=8,i.b+=8,i.Ka=1))}function lt(i){return ot(i,1)}function vt(i,o){var h=i.Ca;0>i.b&&st(i);var v=i.b,b=h*o>>>8,y=(i.I>>>v>b)+0;for(y?(h-=b,i.I-=b+1<<v>>>0):h=b+1,v=h,b=0;256<=v;)b+=8,v>>=8;return v=7^b+Qi[v],i.b-=v,i.Ca=(h<<v)-1,y}function At(i,o,h){i[o+0]=h>>24&255,i[o+1]=h>>16&255,i[o+2]=h>>8&255,i[o+3]=255&h}function St(i,o){return i[o+0]|i[o+1]<<8}function Lt(i,o){return St(i,o)|i[o+2]<<16}function Dt(i,o){return St(i,o)|St(i,o+2)<<16}function I(i,o){var h=1<<o;return t(i!=null),t(0<o),i.X=a(h),i.X==null?0:(i.Mb=32-o,i.Xa=o,1)}function kt(i,o){t(i!=null),t(o!=null),t(i.Xa==o.Xa),r(o.X,0,i.X,0,1<<o.Xa)}function ae(){this.X=[],this.Xa=this.Mb=0}function Ht(i,o,h,v){t(h!=null),t(v!=null);var b=h[0],y=v[0];return b==0&&(b=(i*y+o/2)/o),y==0&&(y=(o*b+i/2)/i),0>=b||0>=y?0:(h[0]=b,v[0]=y,1)}function yt(i,o){return i+(1<<o)-1>>>o}function Wt(i,o){return((4278255360&i)+(4278255360&o)>>>0&4278255360)+((16711935&i)+(16711935&o)>>>0&16711935)>>>0}function Ct(i,o){R[o]=function(h,v,b,y,_,L,k){var F;for(F=0;F<_;++F){var G=R[i](L[k+F-1],b,y+F);L[k+F]=Wt(h[v+F],G)}}}function zt(){this.ud=this.hd=this.jd=0}function qt(i,o){return((4278124286&(i^o))>>>1)+(i&o)>>>0}function me(i){return 0<=i&&256>i?i:0>i?0:255<i?255:void 0}function ue(i,o){return me(i+(i-o+.5>>1))}function Zt(i,o,h){return Math.abs(o-h)-Math.abs(i-h)}function fe(i,o,h,v,b,y,_){for(v=y[_-1],h=0;h<b;++h)y[_+h]=v=Wt(i[o+h],v)}function ce(i,o,h,v,b){var y;for(y=0;y<h;++y){var _=i[o+y],L=_>>8&255,k=16711935&(k=(k=16711935&_)+((L<<16)+L));v[b+y]=(4278255360&_)+k>>>0}}function Bt(i,o){o.jd=255&i,o.hd=i>>8&255,o.ud=i>>16&255}function ne(i,o,h,v,b,y){var _;for(_=0;_<v;++_){var L=o[h+_],k=L>>>8,F=L,G=255&(G=(G=L>>>16)+((i.jd<<24>>24)*(k<<24>>24)>>>5));F=255&(F=(F+=(i.hd<<24>>24)*(k<<24>>24)>>>5)+((i.ud<<24>>24)*(G<<24>>24)>>>5)),b[y+_]=(4278255360&L)+(G<<16)+F}}function Tt(i,o,h,v,b){R[o]=function(y,_,L,k,F,G,nt,O,J){for(k=nt;k<O;++k)for(nt=0;nt<J;++nt)F[G++]=b(L[v(y[_++])])},R[i]=function(y,_,L,k,F,G,nt){var O=8>>y.b,J=y.Ea,Z=y.K[0],ht=y.w;if(8>O)for(y=(1<<y.b)-1,ht=(1<<O)-1;_<L;++_){var tt,dt=0;for(tt=0;tt<J;++tt)tt&y||(dt=v(k[F++])),G[nt++]=b(Z[dt&ht]),dt>>=O}else R["VP8LMapColor"+h](k,F,Z,ht,G,nt,_,L,J)}}function We(i,o,h,v,b){for(h=o+h;o<h;){var y=i[o++];v[b++]=y>>16&255,v[b++]=y>>8&255,v[b++]=255&y}}function ge(i,o,h,v,b){for(h=o+h;o<h;){var y=i[o++];v[b++]=y>>16&255,v[b++]=y>>8&255,v[b++]=255&y,v[b++]=y>>24&255}}function se(i,o,h,v,b){for(h=o+h;o<h;){var y=(_=i[o++])>>16&240|_>>12&15,_=240&_|_>>28&15;v[b++]=y,v[b++]=_}}function oe(i,o,h,v,b){for(h=o+h;o<h;){var y=(_=i[o++])>>16&248|_>>13&7,_=_>>5&224|_>>3&31;v[b++]=y,v[b++]=_}}function Oe(i,o,h,v,b){for(h=o+h;o<h;){var y=i[o++];v[b++]=255&y,v[b++]=y>>8&255,v[b++]=y>>16&255}}function Ut(i,o,h,v,b,y){if(y==0)for(h=o+h;o<h;)At(v,((y=i[o++])[0]>>24|y[1]>>8&65280|y[2]<<8&16711680|y[3]<<24)>>>0),b+=32;else r(v,b,i,o,h)}function Se(i,o){R[o][0]=R[i+"0"],R[o][1]=R[i+"1"],R[o][2]=R[i+"2"],R[o][3]=R[i+"3"],R[o][4]=R[i+"4"],R[o][5]=R[i+"5"],R[o][6]=R[i+"6"],R[o][7]=R[i+"7"],R[o][8]=R[i+"8"],R[o][9]=R[i+"9"],R[o][10]=R[i+"10"],R[o][11]=R[i+"11"],R[o][12]=R[i+"12"],R[o][13]=R[i+"13"],R[o][14]=R[i+"0"],R[o][15]=R[i+"0"]}function Yt(i){return i==Ao||i==xo||i==As||i==No}function Qt(){this.eb=[],this.size=this.A=this.fb=0}function je(){this.y=[],this.f=[],this.ea=[],this.F=[],this.Tc=this.Ed=this.Cd=this.Fd=this.lb=this.Db=this.Ab=this.fa=this.J=this.W=this.N=this.O=0}function le(){this.Rd=this.height=this.width=this.S=0,this.f={},this.f.RGBA=new Qt,this.f.kb=new je,this.sd=null}function Vt(){this.width=[0],this.height=[0],this.Pd=[0],this.Qd=[0],this.format=[0]}function be(){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 oi(i){return alert("todo:WebPSamplerProcessPlane"),i.T}function dn(i,o){var h=i.T,v=o.ba.f.RGBA,b=v.eb,y=v.fb+i.ka*v.A,_=Gn[o.ba.S],L=i.y,k=i.O,F=i.f,G=i.N,nt=i.ea,O=i.W,J=o.cc,Z=o.dc,ht=o.Mc,tt=o.Nc,dt=i.ka,pt=i.ka+i.T,_t=i.U,wt=_t+1>>1;for(dt==0?_(L,k,null,null,F,G,nt,O,F,G,nt,O,b,y,null,null,_t):(_(o.ec,o.fc,L,k,J,Z,ht,tt,F,G,nt,O,b,y-v.A,b,y,_t),++h);dt+2<pt;dt+=2)J=F,Z=G,ht=nt,tt=O,G+=i.Rc,O+=i.Rc,y+=2*v.A,_(L,(k+=2*i.fa)-i.fa,L,k,J,Z,ht,tt,F,G,nt,O,b,y-v.A,b,y,_t);return k+=i.fa,i.j+pt<i.o?(r(o.ec,o.fc,L,k,_t),r(o.cc,o.dc,F,G,wt),r(o.Mc,o.Nc,nt,O,wt),h--):1&pt||_(L,k,null,null,F,G,nt,O,F,G,nt,O,b,y+v.A,null,null,_t),h}function Nr(i,o,h){var v=i.F,b=[i.J];if(v!=null){var y=i.U,_=o.ba.S,L=_==_s||_==As;o=o.ba.f.RGBA;var k=[0],F=i.ka;k[0]=i.T,i.Kb&&(F==0?--k[0]:(--F,b[0]-=i.width),i.j+i.ka+i.T==i.o&&(k[0]=i.o-i.j-F));var G=o.eb;F=o.fb+F*o.A,i=jl(v,b[0],i.width,y,k,G,F+(L?0:3),o.A),t(h==k),i&&Yt(_)&&ja(G,F,L,y,k,o.A)}return 0}function or(i){var o=i.ma,h=o.ba.S,v=11>h,b=h==ws||h==ys||h==_s||h==_o||h==12||Yt(h);if(o.memory=null,o.Ib=null,o.Jb=null,o.Nd=null,!Wn(o.Oa,i,b?11:12))return 0;if(b&&Yt(h)&&Fr(),i.da)alert("todo:use_scaling");else{if(v){if(o.Ib=oi,i.Kb){if(h=i.U+1>>1,o.memory=a(i.U+2*h),o.memory==null)return 0;o.ec=o.memory,o.fc=0,o.cc=o.ec,o.dc=o.fc+i.U,o.Mc=o.cc,o.Nc=o.dc+h,o.Ib=dn,Fr()}}else alert("todo:EmitYUV");b&&(o.Jb=Nr,v&&De())}if(v&&!Kl){for(i=0;256>i;++i)Vf[i]=89858*(i-128)+Ns>>xs,Jf[i]=-22014*(i-128)+Ns,Yf[i]=-45773*(i-128),Gf[i]=113618*(i-128)+Ns>>xs;for(i=Ma;i<ko;++i)o=76283*(i-16)+Ns>>xs,$f[i-Ma]=cr(o,255),Kf[i-Ma]=cr(o+8>>4,15);Kl=1}return 1}function Gt(i){var o=i.ma,h=i.U,v=i.T;return t(!(1&i.ka)),0>=h||0>=v?0:(h=o.Ib(i,o),o.Jb!=null&&o.Jb(i,o,h),o.Dc+=h,1)}function Lr(i){i.ma.memory=null}function Sr(i,o,h,v){return bt(i,8)!=47?0:(o[0]=bt(i,14)+1,h[0]=bt(i,14)+1,v[0]=bt(i,1),bt(i,3)!=0?0:!i.h)}function qn(i,o){if(4>i)return i+1;var h=i-2>>1;return(2+(1&i)<<h)+bt(o,h)+1}function Un(i,o){return 120<o?o-120:1<=(h=((h=Ef[o-1])>>4)*i+(8-(15&h)))?h:1;var h}function qe(i,o,h){var v=D(h),b=i[o+=255&v].g-8;return 0<b&&($(h,h.u+8),v=D(h),o+=i[o].value,o+=v&(1<<b)-1),$(h,h.u+i[o].g),i[o].value}function on(i,o,h){return h.g+=i.g,h.value+=i.value<<o>>>0,t(8>=h.g),i.g}function ln(i,o,h){var v=i.xc;return t((o=v==0?0:i.vc[i.md*(h>>v)+(o>>v)])<i.Wb),i.Ya[o]}function li(i,o,h,v){var b=i.ab,y=i.c*o,_=i.C;o=_+o;var L=h,k=v;for(v=i.Ta,h=i.Ua;0<b--;){var F=i.gc[b],G=_,nt=o,O=L,J=k,Z=(k=v,L=h,F.Ea);switch(t(G<nt),t(nt<=F.nc),F.hc){case 2:ta(O,J,(nt-G)*Z,k,L);break;case 0:var ht=G,tt=nt,dt=k,pt=L,_t=(Ot=F).Ea;ht==0&&(Vr(O,J,null,null,1,dt,pt),fe(O,J+1,0,0,_t-1,dt,pt+1),J+=_t,pt+=_t,++ht);for(var wt=1<<Ot.b,Rt=wt-1,Pt=yt(_t,Ot.b),re=Ot.K,Ot=Ot.w+(ht>>Ot.b)*Pt;ht<tt;){var he=re,en=Ot,ie=1;for(Gr(O,J,dt,pt-_t,1,dt,pt);ie<_t;){var jt=(ie&~Rt)+wt;jt>_t&&(jt=_t),(0,tr[he[en++]>>8&15])(O,J+ +ie,dt,pt+ie-_t,jt-ie,dt,pt+ie),ie=jt}J+=_t,pt+=_t,++ht&Rt||(Ot+=Pt)}nt!=F.nc&&r(k,L-Z,k,L+(nt-G-1)*Z,Z);break;case 1:for(Z=O,tt=J,_t=(O=F.Ea)-(pt=O&~(dt=(J=1<<F.b)-1)),ht=yt(O,F.b),wt=F.K,F=F.w+(G>>F.b)*ht;G<nt;){for(Rt=wt,Pt=F,re=new zt,Ot=tt+pt,he=tt+O;tt<Ot;)Bt(Rt[Pt++],re),Ai(re,Z,tt,J,k,L),tt+=J,L+=J;tt<he&&(Bt(Rt[Pt++],re),Ai(re,Z,tt,_t,k,L),tt+=_t,L+=_t),++G&dt||(F+=ht)}break;case 3:if(O==k&&J==L&&0<F.b){for(tt=k,O=Z=L+(nt-G)*Z-(pt=(nt-G)*yt(F.Ea,F.b)),J=k,dt=L,ht=[],pt=(_t=pt)-1;0<=pt;--pt)ht[pt]=J[dt+pt];for(pt=_t-1;0<=pt;--pt)tt[O+pt]=ht[pt];_i(F,G,nt,k,Z,k,L)}else _i(F,G,nt,O,J,k,L)}L=v,k=h}k!=h&&r(v,h,L,k,y)}function qr(i,o){var h=i.V,v=i.Ba+i.c*i.C,b=o-i.C;if(t(o<=i.l.o),t(16>=b),0<b){var y=i.l,_=i.Ta,L=i.Ua,k=y.width;if(li(i,b,h,v),b=L=[L],t((h=i.C)<(v=o)),t(y.v<y.va),v>y.o&&(v=y.o),h<y.j){var F=y.j-h;h=y.j,b[0]+=F*k}if(h>=v?h=0:(b[0]+=4*y.v,y.ka=h-y.j,y.U=y.va-y.v,y.T=v-h,h=1),h){if(L=L[0],11>(h=i.ca).S){var G=h.f.RGBA,nt=(v=h.S,b=y.U,y=y.T,F=G.eb,G.A),O=y;for(G=G.fb+i.Ma*G.A;0<O--;){var J=_,Z=L,ht=b,tt=F,dt=G;switch(v){case bs:Ea(J,Z,ht,tt,dt);break;case ws:Fa(J,Z,ht,tt,dt);break;case Ao:Fa(J,Z,ht,tt,dt),ja(tt,dt,0,ht,1,0);break;case Ul:Ni(J,Z,ht,tt,dt);break;case ys:Ut(J,Z,ht,tt,dt,1);break;case xo:Ut(J,Z,ht,tt,dt,1),ja(tt,dt,0,ht,1,0);break;case _s:Ut(J,Z,ht,tt,dt,0);break;case As:Ut(J,Z,ht,tt,dt,0),ja(tt,dt,1,ht,1,0);break;case _o:ea(J,Z,ht,tt,dt);break;case No:ea(J,Z,ht,tt,dt),Ol(tt,dt,ht,1,0);break;case zl:xi(J,Z,ht,tt,dt);break;default:t(0)}L+=k,G+=nt}i.Ma+=y}else alert("todo:EmitRescaledRowsYUVA");t(i.Ma<=h.height)}}i.C=o,t(i.C<=i.i)}function Xn(i){var o;if(0<i.ua)return 0;for(o=0;o<i.Wb;++o){var h=i.Ya[o].G,v=i.Ya[o].H;if(0<h[1][v[1]+0].g||0<h[2][v[2]+0].g||0<h[3][v[3]+0].g)return 0}return 1}function lr(i,o,h,v,b,y){if(i.Z!=0){var _=i.qd,L=i.rd;for(t(Kr[i.Z]!=null);o<h;++o)Kr[i.Z](_,L,v,b,v,b,y),_=v,L=b,b+=y;i.qd=_,i.rd=L}}function Zn(i,o){var h=i.l.ma,v=h.Z==0||h.Z==1?i.l.j:i.C;if(v=i.C<v?v:i.C,t(o<=i.l.o),o>v){var b=i.l.width,y=h.ca,_=h.tb+b*v,L=i.V,k=i.Ba+i.c*v,F=i.gc;t(i.ab==1),t(F[0].hc==3),wo(F[0],v,o,L,k,y,_),lr(h,v,o,y,_,b)}i.C=i.Ma=o}function Qn(i,o,h,v,b,y,_){var L=i.$/v,k=i.$%v,F=i.m,G=i.s,nt=h+i.$,O=nt;b=h+v*b;var J=h+v*y,Z=280+G.ua,ht=i.Pb?L:16777216,tt=0<G.ua?G.Wa:null,dt=G.wc,pt=nt<J?ln(G,k,L):null;t(i.C<y),t(J<=b);var _t=!1;t:for(;;){for(;_t||nt<J;){var wt=0;if(L>=ht){var Rt=nt-h;t((ht=i).Pb),ht.wd=ht.m,ht.xd=Rt,0<ht.s.ua&&kt(ht.s.Wa,ht.s.vb),ht=L+Of}if(k&dt||(pt=ln(G,k,L)),t(pt!=null),pt.Qb&&(o[nt]=pt.qb,_t=!0),!_t)if(Q(F),pt.jc){wt=F,Rt=o;var Pt=nt,re=pt.pd[D(wt)&Zi-1];t(pt.jc),256>re.g?($(wt,wt.u+re.g),Rt[Pt]=re.value,wt=0):($(wt,wt.u+re.g-256),t(256<=re.value),wt=re.value),wt==0&&(_t=!0)}else wt=qe(pt.G[0],pt.H[0],F);if(F.h)break;if(_t||256>wt){if(!_t)if(pt.nd)o[nt]=(pt.qb|wt<<8)>>>0;else{if(Q(F),_t=qe(pt.G[1],pt.H[1],F),Q(F),Rt=qe(pt.G[2],pt.H[2],F),Pt=qe(pt.G[3],pt.H[3],F),F.h)break;o[nt]=(Pt<<24|_t<<16|wt<<8|Rt)>>>0}if(_t=!1,++nt,++k>=v&&(k=0,++L,_!=null&&L<=y&&!(L%16)&&_(i,L),tt!=null))for(;O<nt;)wt=o[O++],tt.X[(506832829*wt&4294967295)>>>tt.Mb]=wt}else if(280>wt){if(wt=qn(wt-256,F),Rt=qe(pt.G[4],pt.H[4],F),Q(F),Rt=Un(v,Rt=qn(Rt,F)),F.h)break;if(nt-h<Rt||b-nt<wt)break t;for(Pt=0;Pt<wt;++Pt)o[nt+Pt]=o[nt+Pt-Rt];for(nt+=wt,k+=wt;k>=v;)k-=v,++L,_!=null&&L<=y&&!(L%16)&&_(i,L);if(t(nt<=b),k&dt&&(pt=ln(G,k,L)),tt!=null)for(;O<nt;)wt=o[O++],tt.X[(506832829*wt&4294967295)>>>tt.Mb]=wt}else{if(!(wt<Z))break t;for(_t=wt-280,t(tt!=null);O<nt;)wt=o[O++],tt.X[(506832829*wt&4294967295)>>>tt.Mb]=wt;wt=nt,t(!(_t>>>(Rt=tt).Xa)),o[wt]=Rt.X[_t],_t=!0}_t||t(F.h==W(F))}if(i.Pb&&F.h&&nt<b)t(i.m.h),i.a=5,i.m=i.wd,i.$=i.xd,0<i.s.ua&&kt(i.s.vb,i.s.Wa);else{if(F.h)break t;_?.(i,L>y?y:L),i.a=0,i.$=nt-h}return 1}return i.a=3,0}function zn(i){t(i!=null),i.vc=null,i.yc=null,i.Ya=null;var o=i.Wa;o!=null&&(o.X=null),i.vb=null,t(i!=null)}function ui(){var i=new Ft;return i==null?null:(i.a=0,i.xb=Vl,Se("Predictor","VP8LPredictors"),Se("Predictor","VP8LPredictors_C"),Se("PredictorAdd","VP8LPredictorsAdd"),Se("PredictorAdd","VP8LPredictorsAdd_C"),ta=ce,Ai=ne,Ea=We,Fa=ge,ea=se,xi=oe,Ni=Oe,R.VP8LMapColor32b=Qe,R.VP8LMapColor8b=gr,i)}function ur(i,o,h,v,b){var y=1,_=[i],L=[o],k=v.m,F=v.s,G=null,nt=0;t:for(;;){if(h)for(;y&&bt(k,1);){var O=_,J=L,Z=v,ht=1,tt=Z.m,dt=Z.gc[Z.ab],pt=bt(tt,2);if(Z.Oc&1<<pt)y=0;else{switch(Z.Oc|=1<<pt,dt.hc=pt,dt.Ea=O[0],dt.nc=J[0],dt.K=[null],++Z.ab,t(4>=Z.ab),pt){case 0:case 1:dt.b=bt(tt,3)+2,ht=ur(yt(dt.Ea,dt.b),yt(dt.nc,dt.b),0,Z,dt.K),dt.K=dt.K[0];break;case 3:var _t,wt=bt(tt,8)+1,Rt=16<wt?0:4<wt?1:2<wt?2:3;if(O[0]=yt(dt.Ea,Rt),dt.b=Rt,_t=ht=ur(wt,1,0,Z,dt.K)){var Pt,re=wt,Ot=dt,he=1<<(8>>Ot.b),en=a(he);if(en==null)_t=0;else{var ie=Ot.K[0],jt=Ot.w;for(en[0]=Ot.K[0][0],Pt=1;Pt<1*re;++Pt)en[Pt]=Wt(ie[jt+Pt],en[Pt-1]);for(;Pt<4*he;++Pt)en[Pt]=0;Ot.K[0]=null,Ot.K[0]=en,_t=1}}ht=_t;break;case 2:break;default:t(0)}y=ht}}if(_=_[0],L=L[0],y&&bt(k,1)&&!(y=1<=(nt=bt(k,4))&&11>=nt)){v.a=3;break t}var Nt;if(Nt=y)e:{var Ge,ee,pe,Ee=v,cn=_,Nn=L,Ue=nt,mn=h,Ln=Ee.m,nn=Ee.s,ve=[null],we=1,ze=0,ye=Ff[Ue];n:for(;;){if(mn&&bt(Ln,1)){var fn=bt(Ln,3)+2,nr=yt(cn,fn),Ye=yt(Nn,fn),In=nr*Ye;if(!ur(nr,Ye,0,Ee,ve))break n;for(ve=ve[0],nn.xc=fn,Ge=0;Ge<In;++Ge){var Ne=ve[Ge]>>8&65535;ve[Ge]=Ne,Ne>=we&&(we=Ne+1)}}if(Ln.h)break n;for(ee=0;5>ee;++ee){var rn=Hl[ee];!ee&&0<Ue&&(rn+=1<<Ue),ze<rn&&(ze=rn)}var jn=f(we*ye,H),Sn=we,Bn=f(Sn,it);if(Bn==null)var Mn=null;else t(65536>=Sn),Mn=Bn;var Cn=a(ze);if(Mn==null||Cn==null||jn==null){Ee.a=1;break n}var Rn=jn;for(Ge=pe=0;Ge<we;++Ge){var Ie=Mn[Ge],Tn=Ie.G,rr=Ie.H,Li=0,Mr=1,hn=0;for(ee=0;5>ee;++ee){rn=Hl[ee],Tn[ee]=Rn,rr[ee]=pe,!ee&&0<Ue&&(rn+=1<<Ue);i:{var Ss,Po=rn,ks=Ee,Ra=Cn,Qf=Rn,th=pe,Io=0,Xr=ks.m,eh=bt(Xr,1);if(s(Ra,0,0,Po),eh){var nh=bt(Xr,1)+1,rh=bt(Xr,1),Ql=bt(Xr,rh==0?1:8);Ra[Ql]=1,nh==2&&(Ra[Ql=bt(Xr,8)]=1);var Ps=1}else{var tu=a(19),eu=bt(Xr,4)+4;if(19<eu){ks.a=3;var Is=0;break i}for(Ss=0;Ss<eu;++Ss)tu[Cf[Ss]]=bt(Xr,3);var Co=void 0,Ta=void 0,nu=ks,ih=tu,Cs=Po,ru=Ra,Eo=0,Zr=nu.m,iu=8,au=f(128,H);r:for(;C(au,0,7,ih,19);){if(bt(Zr,1)){var ah=2+2*bt(Zr,3);if((Co=2+bt(Zr,ah))>Cs)break r}else Co=Cs;for(Ta=0;Ta<Cs&&Co--;){Q(Zr);var su=au[0+(127&D(Zr))];$(Zr,Zr.u+su.g);var ia=su.value;if(16>ia)ru[Ta++]=ia,ia!=0&&(iu=ia);else{var sh=ia==16,ou=ia-16,oh=Pf[ou],lu=bt(Zr,kf[ou])+oh;if(Ta+lu>Cs)break r;for(var lh=sh?iu:0;0<lu--;)ru[Ta++]=lh}}Eo=1;break r}Eo||(nu.a=3),Ps=Eo}(Ps=Ps&&!Xr.h)&&(Io=C(Qf,th,8,Ra,Po)),Ps&&Io!=0?Is=Io:(ks.a=3,Is=0)}if(Is==0)break n;if(Mr&&If[ee]==1&&(Mr=Rn[pe].g==0),Li+=Rn[pe].g,pe+=Is,3>=ee){var Da,Fo=Cn[0];for(Da=1;Da<rn;++Da)Cn[Da]>Fo&&(Fo=Cn[Da]);hn+=Fo}}if(Ie.nd=Mr,Ie.Qb=0,Mr&&(Ie.qb=(Tn[3][rr[3]+0].value<<24|Tn[1][rr[1]+0].value<<16|Tn[2][rr[2]+0].value)>>>0,Li==0&&256>Tn[0][rr[0]+0].value&&(Ie.Qb=1,Ie.qb+=Tn[0][rr[0]+0].value<<8)),Ie.jc=!Ie.Qb&&6>hn,Ie.jc){var Es,Rr=Ie;for(Es=0;Es<Zi;++Es){var Qr=Es,ti=Rr.pd[Qr],Fs=Rr.G[0][Rr.H[0]+Qr];256<=Fs.value?(ti.g=Fs.g+256,ti.value=Fs.value):(ti.g=0,ti.value=0,Qr>>=on(Fs,8,ti),Qr>>=on(Rr.G[1][Rr.H[1]+Qr],16,ti),Qr>>=on(Rr.G[2][Rr.H[2]+Qr],0,ti),on(Rr.G[3][Rr.H[3]+Qr],24,ti))}}}nn.vc=ve,nn.Wb=we,nn.Ya=Mn,nn.yc=jn,Nt=1;break e}Nt=0}if(!(y=Nt)){v.a=3;break t}if(0<nt){if(F.ua=1<<nt,!I(F.Wa,nt)){v.a=1,y=0;break t}}else F.ua=0;var Oo=v,uu=_,uh=L,jo=Oo.s,Bo=jo.xc;if(Oo.c=uu,Oo.i=uh,jo.md=yt(uu,Bo),jo.wc=Bo==0?-1:(1<<Bo)-1,h){v.xb=qf;break t}if((G=a(_*L))==null){v.a=1,y=0;break t}y=(y=Qn(v,G,0,_,L,L,null))&&!k.h;break t}return y?(b!=null?b[0]=G:(t(G==null),t(h)),v.$=0,h||zn(F)):zn(F),y}function ci(i,o){var h=i.c*i.i,v=h+o+16*o;return t(i.c<=o),i.V=a(v),i.V==null?(i.Ta=null,i.Ua=0,i.a=1,0):(i.Ta=i.V,i.Ua=i.Ba+h+o,1)}function Ri(i,o){var h=i.C,v=o-h,b=i.V,y=i.Ba+i.c*h;for(t(o<=i.l.o);0<v;){var _=16<v?16:v,L=i.l.ma,k=i.l.width,F=k*_,G=L.ca,nt=L.tb+k*h,O=i.Ta,J=i.Ua;li(i,_,b,y),Bl(O,J,G,nt,F),lr(L,h,h+_,G,nt,k),v-=_,b+=_*i.c,h+=_}t(h==o),i.C=i.Ma=o}function Ti(){this.ub=this.yd=this.td=this.Rb=0}function Di(){this.Kd=this.Ld=this.Ud=this.Td=this.i=this.c=0}function to(){this.Fb=this.Bb=this.Cb=0,this.Zb=a(4),this.Lb=a(4)}function ma(){this.Yb=(function(){var i=[];return(function o(h,v,b){for(var y=b[v],_=0;_<y&&(h.push(b.length>v+1?[]:0),!(b.length<v+1));_++)o(h[_],v+1,b)})(i,0,[3,11]),i})()}function Qa(){this.jb=a(3),this.Wc=l([4,8],ma),this.Xc=l([4,17],ma)}function ts(){this.Pc=this.wb=this.Tb=this.zd=0,this.vd=new a(4),this.od=new a(4)}function Hn(){this.ld=this.La=this.dd=this.tc=0}function ba(){this.Na=this.la=0}function es(){this.Sc=[0,0],this.Eb=[0,0],this.Qc=[0,0],this.ia=this.lc=0}function wa(){this.ad=a(384),this.Za=0,this.Ob=a(16),this.$b=this.Ad=this.ia=this.Gc=this.Hc=this.Dd=0}function ns(){this.uc=this.M=this.Nb=0,this.wa=Array(new Hn),this.Y=0,this.ya=Array(new wa),this.aa=0,this.l=new qi}function rs(){this.y=a(16),this.f=a(8),this.ea=a(8)}function is(){this.cb=this.a=0,this.sc="",this.m=new A,this.Od=new Ti,this.Kc=new Di,this.ed=new ts,this.Qa=new to,this.Ic=this.$c=this.Aa=0,this.D=new ns,this.Xb=this.Va=this.Hb=this.zb=this.yb=this.Ub=this.za=0,this.Jc=f(8,A),this.ia=0,this.pb=f(4,es),this.Pa=new Qa,this.Bd=this.kc=0,this.Ac=[],this.Bc=0,this.zc=[0,0,0,0],this.Gd=Array(new rs),this.Hd=0,this.rb=Array(new ba),this.sb=0,this.wa=Array(new Hn),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 wa),this.L=this.aa=0,this.gd=l([4,2],Hn),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 cr(i,o){return 0>i?0:i>o?o:i}function qi(){this.T=this.U=this.ka=this.height=this.width=0,this.y=[],this.f=[],this.ea=[],this.Rc=this.fa=this.W=this.N=this.O=0,this.ma="void",this.put="VP8IoPutHook",this.ac="VP8IoSetupHook",this.bc="VP8IoTeardownHook",this.ha=this.Kb=0,this.data=[],this.hb=this.ib=this.da=this.o=this.j=this.va=this.v=this.Da=this.ob=this.w=0,this.F=[],this.J=0}function eo(){var i=new is;return i!=null&&(i.a=0,i.sc="OK",i.cb=0,i.Xb=0,Ba||(Ba=Ui)),i}function Xe(i,o,h){return i.a==0&&(i.a=o,i.sc=h,i.cb=0),0}function as(i,o,h){return 3<=h&&i[o+0]==157&&i[o+1]==1&&i[o+2]==42}function fr(i,o){if(i==null)return 0;if(i.a=0,i.sc="OK",o==null)return Xe(i,2,"null VP8Io passed to VP8GetHeaders()");var h=o.data,v=o.w,b=o.ha;if(4>b)return Xe(i,7,"Truncated header.");var y=h[v+0]|h[v+1]<<8|h[v+2]<<16,_=i.Od;if(_.Rb=!(1&y),_.td=y>>1&7,_.yd=y>>4&1,_.ub=y>>5,3<_.td)return Xe(i,3,"Incorrect keyframe parameters.");if(!_.yd)return Xe(i,4,"Frame not displayable.");v+=3,b-=3;var L=i.Kc;if(_.Rb){if(7>b)return Xe(i,7,"cannot parse picture header");if(!as(h,v,b))return Xe(i,3,"Bad code word");L.c=16383&(h[v+4]<<8|h[v+3]),L.Td=h[v+4]>>6,L.i=16383&(h[v+6]<<8|h[v+5]),L.Ud=h[v+6]>>6,v+=7,b-=7,i.za=L.c+15>>4,i.Ub=L.i+15>>4,o.width=L.c,o.height=L.i,o.Da=0,o.j=0,o.v=0,o.va=o.width,o.o=o.height,o.da=0,o.ib=o.width,o.hb=o.height,o.U=o.width,o.T=o.height,s((y=i.Pa).jb,0,255,y.jb.length),t((y=i.Qa)!=null),y.Cb=0,y.Bb=0,y.Fb=1,s(y.Zb,0,0,y.Zb.length),s(y.Lb,0,0,y.Lb)}if(_.ub>b)return Xe(i,7,"bad partition length");at(y=i.m,h,v,_.ub),v+=_.ub,b-=_.ub,_.Rb&&(L.Ld=lt(y),L.Kd=lt(y)),L=i.Qa;var k,F=i.Pa;if(t(y!=null),t(L!=null),L.Cb=lt(y),L.Cb){if(L.Bb=lt(y),lt(y)){for(L.Fb=lt(y),k=0;4>k;++k)L.Zb[k]=lt(y)?et(y,7):0;for(k=0;4>k;++k)L.Lb[k]=lt(y)?et(y,6):0}if(L.Bb)for(k=0;3>k;++k)F.jb[k]=lt(y)?ot(y,8):255}else L.Bb=0;if(y.Ka)return Xe(i,3,"cannot parse segment header");if((L=i.ed).zd=lt(y),L.Tb=ot(y,6),L.wb=ot(y,3),L.Pc=lt(y),L.Pc&&lt(y)){for(F=0;4>F;++F)lt(y)&&(L.vd[F]=et(y,6));for(F=0;4>F;++F)lt(y)&&(L.od[F]=et(y,6))}if(i.L=L.Tb==0?0:L.zd?1:2,y.Ka)return Xe(i,3,"cannot parse filter header");var G=b;if(b=k=v,v=k+G,L=G,i.Xb=(1<<ot(i.m,2))-1,G<3*(F=i.Xb))h=7;else{for(k+=3*F,L-=3*F,G=0;G<F;++G){var nt=h[b+0]|h[b+1]<<8|h[b+2]<<16;nt>L&&(nt=L),at(i.Jc[+G],h,k,nt),k+=nt,L-=nt,b+=3}at(i.Jc[+F],h,k,L),h=k<v?0:5}if(h!=0)return Xe(i,h,"cannot parse partitions");for(h=ot(k=i.m,7),b=lt(k)?et(k,4):0,v=lt(k)?et(k,4):0,L=lt(k)?et(k,4):0,F=lt(k)?et(k,4):0,k=lt(k)?et(k,4):0,G=i.Qa,nt=0;4>nt;++nt){if(G.Cb){var O=G.Zb[nt];G.Fb||(O+=h)}else{if(0<nt){i.pb[nt]=i.pb[0];continue}O=h}var J=i.pb[nt];J.Sc[0]=Lo[cr(O+b,127)],J.Sc[1]=So[cr(O+0,127)],J.Eb[0]=2*Lo[cr(O+v,127)],J.Eb[1]=101581*So[cr(O+L,127)]>>16,8>J.Eb[1]&&(J.Eb[1]=8),J.Qc[0]=Lo[cr(O+F,117)],J.Qc[1]=So[cr(O+k,127)],J.lc=O+k}if(!_.Rb)return Xe(i,4,"Not a key frame.");for(lt(y),_=i.Pa,h=0;4>h;++h){for(b=0;8>b;++b)for(v=0;3>v;++v)for(L=0;11>L;++L)F=vt(y,Tf[h][b][v][L])?ot(y,8):Mf[h][b][v][L],_.Wc[h][b].Yb[v][L]=F;for(b=0;17>b;++b)_.Xc[h][b]=_.Wc[h][Df[b]]}return i.kc=lt(y),i.kc&&(i.Bd=ot(y,8)),i.cb=1}function Ui(i,o,h,v,b,y,_){var L=o[b].Yb[h];for(h=0;16>b;++b){if(!vt(i,L[h+0]))return b;for(;!vt(i,L[h+1]);)if(L=o[++b].Yb[0],h=0,b==16)return 16;var k=o[b+1].Yb;if(vt(i,L[h+2])){var F=i,G=0;if(vt(F,(O=L)[(nt=h)+3]))if(vt(F,O[nt+6])){for(L=0,nt=2*(G=vt(F,O[nt+8]))+(O=vt(F,O[nt+9+G])),G=0,O=jf[nt];O[L];++L)G+=G+vt(F,O[L]);G+=3+(8<<nt)}else vt(F,O[nt+7])?(G=7+2*vt(F,165),G+=vt(F,145)):G=5+vt(F,159);else G=vt(F,O[nt+4])?3+vt(F,O[nt+5]):2;L=k[2]}else G=1,L=k[1];k=_+Bf[b],0>(F=i).b&&st(F);var nt,O=F.b,J=(nt=F.Ca>>1)-(F.I>>O)>>31;--F.b,F.Ca+=J,F.Ca|=1,F.I-=(nt+1&J)<<O,y[k]=((G^J)-J)*v[(0<b)+0]}return 16}function ya(i){var o=i.rb[i.sb-1];o.la=0,o.Na=0,s(i.zc,0,0,i.zc.length),i.ja=0}function Fn(i,o,h,v,b){b=i[o+h+32*v]+(b>>3),i[o+h+32*v]=-256&b?0>b?0:255:b}function zi(i,o,h,v,b,y){Fn(i,o,0,h,v+b),Fn(i,o,1,h,v+y),Fn(i,o,2,h,v-y),Fn(i,o,3,h,v-b)}function kr(i){return(20091*i>>16)+i}function un(i,o,h,v){var b,y=0,_=a(16);for(b=0;4>b;++b){var L=i[o+0]+i[o+8],k=i[o+0]-i[o+8],F=(35468*i[o+4]>>16)-kr(i[o+12]),G=kr(i[o+4])+(35468*i[o+12]>>16);_[y+0]=L+G,_[y+1]=k+F,_[y+2]=k-F,_[y+3]=L-G,y+=4,o++}for(b=y=0;4>b;++b)L=(i=_[y+0]+4)+_[y+8],k=i-_[y+8],F=(35468*_[y+4]>>16)-kr(_[y+12]),Fn(h,v,0,0,L+(G=kr(_[y+4])+(35468*_[y+12]>>16))),Fn(h,v,1,0,k+F),Fn(h,v,2,0,k-F),Fn(h,v,3,0,L-G),y++,v+=32}function ss(i,o,h,v){var b=i[o+0]+4,y=35468*i[o+4]>>16,_=kr(i[o+4]),L=35468*i[o+1]>>16;zi(h,v,0,b+_,i=kr(i[o+1]),L),zi(h,v,1,b+y,i,L),zi(h,v,2,b-y,i,L),zi(h,v,3,b-_,i,L)}function no(i,o,h,v,b){un(i,o,h,v),b&&un(i,o+16,h,v+4)}function ro(i,o,h,v){Or(i,o+0,h,v,1),Or(i,o+32,h,v+128,1)}function io(i,o,h,v){var b;for(i=i[o+0]+4,b=0;4>b;++b)for(o=0;4>o;++o)Fn(h,v,o,b,i)}function hr(i,o,h,v){i[o+0]&&vn(i,o+0,h,v),i[o+16]&&vn(i,o+16,h,v+4),i[o+32]&&vn(i,o+32,h,v+128),i[o+48]&&vn(i,o+48,h,v+128+4)}function os(i,o,h,v){var b,y=a(16);for(b=0;4>b;++b){var _=i[o+0+b]+i[o+12+b],L=i[o+4+b]+i[o+8+b],k=i[o+4+b]-i[o+8+b],F=i[o+0+b]-i[o+12+b];y[0+b]=_+L,y[8+b]=_-L,y[4+b]=F+k,y[12+b]=F-k}for(b=0;4>b;++b)_=(i=y[0+4*b]+3)+y[3+4*b],L=y[1+4*b]+y[2+4*b],k=y[1+4*b]-y[2+4*b],F=i-y[3+4*b],h[v+0]=_+L>>3,h[v+16]=F+k>>3,h[v+32]=_-L>>3,h[v+48]=F-k>>3,v+=64}function Hi(i,o,h){var v,b=o-32,y=On,_=255-i[b-1];for(v=0;v<h;++v){var L,k=y,F=_+i[o-1];for(L=0;L<h;++L)i[o+L]=k[F+i[b+L]];o+=32}}function Wi(i,o){Hi(i,o,4)}function _a(i,o){Hi(i,o,8)}function ao(i,o){Hi(i,o,16)}function so(i,o){var h;for(h=0;16>h;++h)r(i,o+32*h,i,o-32,16)}function oo(i,o){var h;for(h=16;0<h;--h)s(i,o,i[o-1],16),o+=32}function Ur(i,o,h){var v;for(v=0;16>v;++v)s(o,h+32*v,i,16)}function ls(i,o){var h,v=16;for(h=0;16>h;++h)v+=i[o-1+32*h]+i[o+h-32];Ur(v>>5,i,o)}function zr(i,o){var h,v=8;for(h=0;16>h;++h)v+=i[o-1+32*h];Ur(v>>4,i,o)}function lo(i,o){var h,v=8;for(h=0;16>h;++h)v+=i[o+h-32];Ur(v>>4,i,o)}function fi(i,o){Ur(128,i,o)}function Jt(i,o,h){return i+2*o+h+2>>2}function uo(i,o){var h,v=o-32;for(v=new Uint8Array([Jt(i[v-1],i[v+0],i[v+1]),Jt(i[v+0],i[v+1],i[v+2]),Jt(i[v+1],i[v+2],i[v+3]),Jt(i[v+2],i[v+3],i[v+4])]),h=0;4>h;++h)r(i,o+32*h,v,0,v.length)}function co(i,o){var h=i[o-1],v=i[o-1+32],b=i[o-1+64],y=i[o-1+96];At(i,o+0,16843009*Jt(i[o-1-32],h,v)),At(i,o+32,16843009*Jt(h,v,b)),At(i,o+64,16843009*Jt(v,b,y)),At(i,o+96,16843009*Jt(b,y,y))}function fo(i,o){var h,v=4;for(h=0;4>h;++h)v+=i[o+h-32]+i[o-1+32*h];for(v>>=3,h=0;4>h;++h)s(i,o+32*h,v,4)}function ho(i,o){var h=i[o-1+0],v=i[o-1+32],b=i[o-1+64],y=i[o-1-32],_=i[o+0-32],L=i[o+1-32],k=i[o+2-32],F=i[o+3-32];i[o+0+96]=Jt(v,b,i[o-1+96]),i[o+1+96]=i[o+0+64]=Jt(h,v,b),i[o+2+96]=i[o+1+64]=i[o+0+32]=Jt(y,h,v),i[o+3+96]=i[o+2+64]=i[o+1+32]=i[o+0+0]=Jt(_,y,h),i[o+3+64]=i[o+2+32]=i[o+1+0]=Jt(L,_,y),i[o+3+32]=i[o+2+0]=Jt(k,L,_),i[o+3+0]=Jt(F,k,L)}function po(i,o){var h=i[o+1-32],v=i[o+2-32],b=i[o+3-32],y=i[o+4-32],_=i[o+5-32],L=i[o+6-32],k=i[o+7-32];i[o+0+0]=Jt(i[o+0-32],h,v),i[o+1+0]=i[o+0+32]=Jt(h,v,b),i[o+2+0]=i[o+1+32]=i[o+0+64]=Jt(v,b,y),i[o+3+0]=i[o+2+32]=i[o+1+64]=i[o+0+96]=Jt(b,y,_),i[o+3+32]=i[o+2+64]=i[o+1+96]=Jt(y,_,L),i[o+3+64]=i[o+2+96]=Jt(_,L,k),i[o+3+96]=Jt(L,k,k)}function Pr(i,o){var h=i[o-1+0],v=i[o-1+32],b=i[o-1+64],y=i[o-1-32],_=i[o+0-32],L=i[o+1-32],k=i[o+2-32],F=i[o+3-32];i[o+0+0]=i[o+1+64]=y+_+1>>1,i[o+1+0]=i[o+2+64]=_+L+1>>1,i[o+2+0]=i[o+3+64]=L+k+1>>1,i[o+3+0]=k+F+1>>1,i[o+0+96]=Jt(b,v,h),i[o+0+64]=Jt(v,h,y),i[o+0+32]=i[o+1+96]=Jt(h,y,_),i[o+1+32]=i[o+2+96]=Jt(y,_,L),i[o+2+32]=i[o+3+96]=Jt(_,L,k),i[o+3+32]=Jt(L,k,F)}function Ir(i,o){var h=i[o+0-32],v=i[o+1-32],b=i[o+2-32],y=i[o+3-32],_=i[o+4-32],L=i[o+5-32],k=i[o+6-32],F=i[o+7-32];i[o+0+0]=h+v+1>>1,i[o+1+0]=i[o+0+64]=v+b+1>>1,i[o+2+0]=i[o+1+64]=b+y+1>>1,i[o+3+0]=i[o+2+64]=y+_+1>>1,i[o+0+32]=Jt(h,v,b),i[o+1+32]=i[o+0+96]=Jt(v,b,y),i[o+2+32]=i[o+1+96]=Jt(b,y,_),i[o+3+32]=i[o+2+96]=Jt(y,_,L),i[o+3+64]=Jt(_,L,k),i[o+3+96]=Jt(L,k,F)}function go(i,o){var h=i[o-1+0],v=i[o-1+32],b=i[o-1+64],y=i[o-1+96];i[o+0+0]=h+v+1>>1,i[o+2+0]=i[o+0+32]=v+b+1>>1,i[o+2+32]=i[o+0+64]=b+y+1>>1,i[o+1+0]=Jt(h,v,b),i[o+3+0]=i[o+1+32]=Jt(v,b,y),i[o+3+32]=i[o+1+64]=Jt(b,y,y),i[o+3+64]=i[o+2+64]=i[o+0+96]=i[o+1+96]=i[o+2+96]=i[o+3+96]=y}function vo(i,o){var h=i[o-1+0],v=i[o-1+32],b=i[o-1+64],y=i[o-1+96],_=i[o-1-32],L=i[o+0-32],k=i[o+1-32],F=i[o+2-32];i[o+0+0]=i[o+2+32]=h+_+1>>1,i[o+0+32]=i[o+2+64]=v+h+1>>1,i[o+0+64]=i[o+2+96]=b+v+1>>1,i[o+0+96]=y+b+1>>1,i[o+3+0]=Jt(L,k,F),i[o+2+0]=Jt(_,L,k),i[o+1+0]=i[o+3+32]=Jt(h,_,L),i[o+1+32]=i[o+3+64]=Jt(v,h,_),i[o+1+64]=i[o+3+96]=Jt(b,v,h),i[o+1+96]=Jt(y,b,v)}function Vi(i,o){var h;for(h=0;8>h;++h)r(i,o+32*h,i,o-32,8)}function Aa(i,o){var h;for(h=0;8>h;++h)s(i,o,i[o-1],8),o+=32}function dr(i,o,h){var v;for(v=0;8>v;++v)s(o,h+32*v,i,8)}function mo(i,o){var h,v=8;for(h=0;8>h;++h)v+=i[o+h-32]+i[o-1+32*h];dr(v>>4,i,o)}function Gi(i,o){var h,v=4;for(h=0;8>h;++h)v+=i[o+h-32];dr(v>>3,i,o)}function bo(i,o){var h,v=4;for(h=0;8>h;++h)v+=i[o-1+32*h];dr(v>>3,i,o)}function xa(i,o){dr(128,i,o)}function Hr(i,o,h){var v=i[o-h],b=i[o+0],y=3*(b-v)+yo[1020+i[o-2*h]-i[o+h]],_=ms[112+(y+4>>3)];i[o-h]=On[255+v+ms[112+(y+3>>3)]],i[o+0]=On[255+b-_]}function Na(i,o,h,v){var b=i[o+0],y=i[o+h];return Vn[255+i[o-2*h]-i[o-h]]>v||Vn[255+y-b]>v}function hi(i,o,h,v){return 4*Vn[255+i[o-h]-i[o+0]]+Vn[255+i[o-2*h]-i[o+h]]<=v}function La(i,o,h,v,b){var y=i[o-3*h],_=i[o-2*h],L=i[o-h],k=i[o+0],F=i[o+h],G=i[o+2*h],nt=i[o+3*h];return 4*Vn[255+L-k]+Vn[255+_-F]>v?0:Vn[255+i[o-4*h]-y]<=b&&Vn[255+y-_]<=b&&Vn[255+_-L]<=b&&Vn[255+nt-G]<=b&&Vn[255+G-F]<=b&&Vn[255+F-k]<=b}function Yi(i,o,h,v){var b=2*v+1;for(v=0;16>v;++v)hi(i,o+v,h,b)&&Hr(i,o+v,h)}function Sa(i,o,h,v){var b=2*v+1;for(v=0;16>v;++v)hi(i,o+v*h,1,b)&&Hr(i,o+v*h,1)}function Ji(i,o,h,v){var b;for(b=3;0<b;--b)Yi(i,o+=4*h,h,v)}function us(i,o,h,v){var b;for(b=3;0<b;--b)Sa(i,o+=4,h,v)}function Cr(i,o,h,v,b,y,_,L){for(y=2*y+1;0<b--;){if(La(i,o,h,y,_))if(Na(i,o,h,L))Hr(i,o,h);else{var k=i,F=o,G=h,nt=k[F-2*G],O=k[F-G],J=k[F+0],Z=k[F+G],ht=k[F+2*G],tt=27*(pt=yo[1020+3*(J-O)+yo[1020+nt-Z]])+63>>7,dt=18*pt+63>>7,pt=9*pt+63>>7;k[F-3*G]=On[255+k[F-3*G]+pt],k[F-2*G]=On[255+nt+dt],k[F-G]=On[255+O+tt],k[F+0]=On[255+J-tt],k[F+G]=On[255+Z-dt],k[F+2*G]=On[255+ht-pt]}o+=v}}function Er(i,o,h,v,b,y,_,L){for(y=2*y+1;0<b--;){if(La(i,o,h,y,_))if(Na(i,o,h,L))Hr(i,o,h);else{var k=i,F=o,G=h,nt=k[F-G],O=k[F+0],J=k[F+G],Z=ms[112+(4+(ht=3*(O-nt))>>3)],ht=ms[112+(ht+3>>3)],tt=Z+1>>1;k[F-2*G]=On[255+k[F-2*G]+tt],k[F-G]=On[255+nt+ht],k[F+0]=On[255+O-Z],k[F+G]=On[255+J-tt]}o+=v}}function cs(i,o,h,v,b,y){Cr(i,o,h,1,16,v,b,y)}function fs(i,o,h,v,b,y){Cr(i,o,1,h,16,v,b,y)}function hs(i,o,h,v,b,y){var _;for(_=3;0<_;--_)Er(i,o+=4*h,h,1,16,v,b,y)}function di(i,o,h,v,b,y){var _;for(_=3;0<_;--_)Er(i,o+=4,1,h,16,v,b,y)}function ds(i,o,h,v,b,y,_,L){Cr(i,o,b,1,8,y,_,L),Cr(h,v,b,1,8,y,_,L)}function u(i,o,h,v,b,y,_,L){Cr(i,o,1,b,8,y,_,L),Cr(h,v,1,b,8,y,_,L)}function m(i,o,h,v,b,y,_,L){Er(i,o+4*b,b,1,8,y,_,L),Er(h,v+4*b,b,1,8,y,_,L)}function E(i,o,h,v,b,y,_,L){Er(i,o+4,1,b,8,y,_,L),Er(h,v+4,1,b,8,y,_,L)}function U(){this.ba=new le,this.ec=[],this.cc=[],this.Mc=[],this.Dc=this.Nc=this.dc=this.fc=0,this.Oa=new be,this.memory=0,this.Ib="OutputFunc",this.Jb="OutputAlphaFunc",this.Nd="OutputRowFunc"}function K(){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 ft(){this.nc=this.Ea=this.b=this.hc=0,this.K=[],this.w=0}function mt(){this.ua=0,this.Wa=new ae,this.vb=new ae,this.md=this.xc=this.wc=0,this.vc=[],this.Wb=0,this.Ya=new it,this.yc=new H}function Ft(){this.xb=this.a=0,this.l=new qi,this.ca=new le,this.V=[],this.Ba=0,this.Ta=[],this.Ua=0,this.m=new M,this.Pb=0,this.wd=new M,this.Ma=this.$=this.C=this.i=this.c=this.xd=0,this.s=new mt,this.ab=0,this.gc=f(4,ft),this.Oc=0}function Et(){this.Lc=this.Z=this.$a=this.i=this.c=0,this.l=new qi,this.ic=0,this.ca=[],this.tb=0,this.qd=null,this.rd=0}function Kt(i,o,h,v,b,y,_){for(i=i==null?0:i[o+0],o=0;o<_;++o)b[y+o]=i+h[v+o]&255,i=b[y+o]}function te(i,o,h,v,b,y,_){var L;if(i==null)Kt(null,null,h,v,b,y,_);else for(L=0;L<_;++L)b[y+L]=i[o+L]+h[v+L]&255}function de(i,o,h,v,b,y,_){if(i==null)Kt(null,null,h,v,b,y,_);else{var L,k=i[o+0],F=k,G=k;for(L=0;L<_;++L)F=G+(k=i[o+L])-F,G=h[v+L]+(-256&F?0>F?0:255:F)&255,F=k,b[y+L]=G}}function Ze(i,o,h,v){var b=o.width,y=o.o;if(t(i!=null&&o!=null),0>h||0>=v||h+v>y)return null;if(!i.Cc){if(i.ga==null){var _;if(i.ga=new Et,(_=i.ga==null)||(_=o.width*o.o,t(i.Gb.length==0),i.Gb=a(_),i.Uc=0,i.Gb==null?_=0:(i.mb=i.Gb,i.nb=i.Uc,i.rc=null,_=1),_=!_),!_){_=i.ga;var L=i.Fa,k=i.P,F=i.qc,G=i.mb,nt=i.nb,O=k+1,J=F-1,Z=_.l;if(t(L!=null&&G!=null&&o!=null),Kr[0]=null,Kr[1]=Kt,Kr[2]=te,Kr[3]=de,_.ca=G,_.tb=nt,_.c=o.width,_.i=o.height,t(0<_.c&&0<_.i),1>=F)o=0;else if(_.$a=3&L[k+0],_.Z=L[k+0]>>2&3,_.Lc=L[k+0]>>4&3,k=L[k+0]>>6&3,0>_.$a||1<_.$a||4<=_.Z||1<_.Lc||k)o=0;else if(Z.put=Gt,Z.ac=or,Z.bc=Lr,Z.ma=_,Z.width=o.width,Z.height=o.height,Z.Da=o.Da,Z.v=o.v,Z.va=o.va,Z.j=o.j,Z.o=o.o,_.$a)t:{t(_.$a==1),o=ui();e:for(;;){if(o==null){o=0;break t}if(t(_!=null),_.mc=o,o.c=_.c,o.i=_.i,o.l=_.l,o.l.ma=_,o.l.width=_.c,o.l.height=_.i,o.a=0,ct(o.m,L,O,J),!ur(_.c,_.i,1,o,null)||(o.ab==1&&o.gc[0].hc==3&&Xn(o.s)?(_.ic=1,L=o.c*o.i,o.Ta=null,o.Ua=0,o.V=a(L),o.Ba=0,o.V==null?(o.a=1,o=0):o=1):(_.ic=0,o=ci(o,_.c)),!o))break e;o=1;break t}_.mc=null,o=0}else o=J>=_.c*_.i;_=!o}if(_)return null;i.ga.Lc!=1?i.Ga=0:v=y-h}t(i.ga!=null),t(h+v<=y);t:{if(o=(L=i.ga).c,y=L.l.o,L.$a==0){if(O=i.rc,J=i.Vc,Z=i.Fa,k=i.P+1+h*o,F=i.mb,G=i.nb+h*o,t(k<=i.P+i.qc),L.Z!=0)for(t(Kr[L.Z]!=null),_=0;_<v;++_)Kr[L.Z](O,J,Z,k,F,G,o),O=F,J=G,G+=o,k+=o;else for(_=0;_<v;++_)r(F,G,Z,k,o),O=F,J=G,G+=o,k+=o;i.rc=O,i.Vc=J}else{if(t(L.mc!=null),o=h+v,t((_=L.mc)!=null),t(o<=_.i),_.C>=o)o=1;else if(L.ic||De(),L.ic){L=_.V,O=_.Ba,J=_.c;var ht=_.i,tt=(Z=1,k=_.$/J,F=_.$%J,G=_.m,nt=_.s,_.$),dt=J*ht,pt=J*o,_t=nt.wc,wt=tt<pt?ln(nt,F,k):null;t(tt<=dt),t(o<=ht),t(Xn(nt));e:for(;;){for(;!G.h&&tt<pt;){if(F&_t||(wt=ln(nt,F,k)),t(wt!=null),Q(G),256>(ht=qe(wt.G[0],wt.H[0],G)))L[O+tt]=ht,++tt,++F>=J&&(F=0,++k<=o&&!(k%16)&&Zn(_,k));else{if(!(280>ht)){Z=0;break e}ht=qn(ht-256,G);var Rt,Pt=qe(wt.G[4],wt.H[4],G);if(Q(G),!(tt>=(Pt=Un(J,Pt=qn(Pt,G)))&&dt-tt>=ht)){Z=0;break e}for(Rt=0;Rt<ht;++Rt)L[O+tt+Rt]=L[O+tt+Rt-Pt];for(tt+=ht,F+=ht;F>=J;)F-=J,++k<=o&&!(k%16)&&Zn(_,k);tt<pt&&F&_t&&(wt=ln(nt,F,k))}t(G.h==W(G))}Zn(_,k>o?o:k);break e}!Z||G.h&&tt<dt?(Z=0,_.a=G.h?5:3):_.$=tt,o=Z}else o=Qn(_,_.V,_.Ba,_.c,_.i,o,Ri);if(!o){v=0;break t}}h+v>=y&&(i.Cc=1),v=1}if(!v)return null;if(i.Cc&&((v=i.ga)!=null&&(v.mc=null),i.ga=null,0<i.Ga))return alert("todo:WebPDequantizeLevels"),null}return i.nb+h*b}function xe(i,o,h,v,b,y){for(;0<b--;){var _,L=i,k=o+(h?1:0),F=i,G=o+(h?0:3);for(_=0;_<v;++_){var nt=F[G+4*_];nt!=255&&(nt*=32897,L[k+4*_+0]=L[k+4*_+0]*nt>>23,L[k+4*_+1]=L[k+4*_+1]*nt>>23,L[k+4*_+2]=L[k+4*_+2]*nt>>23)}o+=y}}function Ae(i,o,h,v,b){for(;0<v--;){var y;for(y=0;y<h;++y){var _=i[o+2*y+0],L=15&(F=i[o+2*y+1]),k=4369*L,F=(240&F|F>>4)*k>>16;i[o+2*y+0]=(240&_|_>>4)*k>>16&240|(15&_|_<<4)*k>>16>>4&15,i[o+2*y+1]=240&F|L}o+=b}}function Ce(i,o,h,v,b,y,_,L){var k,F,G=255;for(F=0;F<b;++F){for(k=0;k<v;++k){var nt=i[o+k];y[_+4*k]=nt,G&=nt}o+=h,_+=L}return G!=255}function Te(i,o,h,v,b){var y;for(y=0;y<b;++y)h[v+y]=i[o+y]>>8}function De(){ja=xe,Ol=Ae,jl=Ce,Bl=Te}function pn(i,o,h){R[i]=function(v,b,y,_,L,k,F,G,nt,O,J,Z,ht,tt,dt,pt,_t){var wt,Rt=_t-1>>1,Pt=L[k+0]|F[G+0]<<16,re=nt[O+0]|J[Z+0]<<16;t(v!=null);var Ot=3*Pt+re+131074>>2;for(o(v[b+0],255&Ot,Ot>>16,ht,tt),y!=null&&(Ot=3*re+Pt+131074>>2,o(y[_+0],255&Ot,Ot>>16,dt,pt)),wt=1;wt<=Rt;++wt){var he=L[k+wt]|F[G+wt]<<16,en=nt[O+wt]|J[Z+wt]<<16,ie=Pt+he+re+en+524296,jt=ie+2*(he+re)>>3;Ot=jt+Pt>>1,Pt=(ie=ie+2*(Pt+en)>>3)+he>>1,o(v[b+2*wt-1],255&Ot,Ot>>16,ht,tt+(2*wt-1)*h),o(v[b+2*wt-0],255&Pt,Pt>>16,ht,tt+(2*wt-0)*h),y!=null&&(Ot=ie+re>>1,Pt=jt+en>>1,o(y[_+2*wt-1],255&Ot,Ot>>16,dt,pt+(2*wt-1)*h),o(y[_+2*wt+0],255&Pt,Pt>>16,dt,pt+(2*wt+0)*h)),Pt=he,re=en}1&_t||(Ot=3*Pt+re+131074>>2,o(v[b+_t-1],255&Ot,Ot>>16,ht,tt+(_t-1)*h),y!=null&&(Ot=3*re+Pt+131074>>2,o(y[_+_t-1],255&Ot,Ot>>16,dt,pt+(_t-1)*h)))}}function Fr(){Gn[bs]=Uf,Gn[ws]=Gl,Gn[Ul]=zf,Gn[ys]=Yl,Gn[_s]=Jl,Gn[_o]=$l,Gn[zl]=Hf,Gn[Ao]=Gl,Gn[xo]=Yl,Gn[As]=Jl,Gn[No]=$l}function ka(i){return i&-16384?0>i?0:255:i>>Wf}function pi(i,o){return ka((19077*i>>8)+(26149*o>>8)-14234)}function gi(i,o,h){return ka((19077*i>>8)-(6419*o>>8)-(13320*h>>8)+8708)}function Wr(i,o){return ka((19077*i>>8)+(33050*o>>8)-17685)}function vi(i,o,h,v,b){v[b+0]=pi(i,h),v[b+1]=gi(i,o,h),v[b+2]=Wr(i,o)}function $i(i,o,h,v,b){v[b+0]=Wr(i,o),v[b+1]=gi(i,o,h),v[b+2]=pi(i,h)}function Ki(i,o,h,v,b){var y=gi(i,o,h);o=y<<3&224|Wr(i,o)>>3,v[b+0]=248&pi(i,h)|y>>5,v[b+1]=o}function gn(i,o,h,v,b){var y=240&Wr(i,o)|15;v[b+0]=240&pi(i,h)|gi(i,o,h)>>4,v[b+1]=y}function mi(i,o,h,v,b){v[b+0]=255,vi(i,o,h,v,b+1)}function bi(i,o,h,v,b){$i(i,o,h,v,b),v[b+3]=255}function Pa(i,o,h,v,b){vi(i,o,h,v,b),v[b+3]=255}function pr(i,o,h){R[i]=function(v,b,y,_,L,k,F,G,nt){for(var O=G+(-2&nt)*h;G!=O;)o(v[b+0],y[_+0],L[k+0],F,G),o(v[b+1],y[_+0],L[k+0],F,G+h),b+=2,++_,++k,G+=2*h;1&nt&&o(v[b+0],y[_+0],L[k+0],F,G)}}function An(i,o,h){return h==0?i==0?o==0?6:5:o==0?4:0:h}function ps(i,o,h,v,b){switch(i>>>30){case 3:Or(o,h,v,b,0);break;case 2:Jr(o,h,v,b);break;case 1:vn(o,h,v,b)}}function Xi(i,o){var h,v,b=o.M,y=o.Nb,_=i.oc,L=i.pc+40,k=i.oc,F=i.pc+584,G=i.oc,nt=i.pc+600;for(h=0;16>h;++h)_[L+32*h-1]=129;for(h=0;8>h;++h)k[F+32*h-1]=129,G[nt+32*h-1]=129;for(0<b?_[L-1-32]=k[F-1-32]=G[nt-1-32]=129:(s(_,L-32-1,127,21),s(k,F-32-1,127,9),s(G,nt-32-1,127,9)),v=0;v<i.za;++v){var O=o.ya[o.aa+v];if(0<v){for(h=-1;16>h;++h)r(_,L+32*h-4,_,L+32*h+12,4);for(h=-1;8>h;++h)r(k,F+32*h-4,k,F+32*h+4,4),r(G,nt+32*h-4,G,nt+32*h+4,4)}var J=i.Gd,Z=i.Hd+v,ht=O.ad,tt=O.Hc;if(0<b&&(r(_,L-32,J[Z].y,0,16),r(k,F-32,J[Z].f,0,8),r(G,nt-32,J[Z].ea,0,8)),O.Za){var dt=_,pt=L-32+16;for(0<b&&(v>=i.za-1?s(dt,pt,J[Z].y[15],4):r(dt,pt,J[Z+1].y,0,4)),h=0;4>h;h++)dt[pt+128+h]=dt[pt+256+h]=dt[pt+384+h]=dt[pt+0+h];for(h=0;16>h;++h,tt<<=2)dt=_,pt=L+Xl[h],er[O.Ob[h]](dt,pt),ps(tt,ht,16*+h,dt,pt)}else if(dt=An(v,b,O.Ob[0]),$r[dt](_,L),tt!=0)for(h=0;16>h;++h,tt<<=2)ps(tt,ht,16*+h,_,L+Xl[h]);for(h=O.Gc,dt=An(v,b,O.Dd),Br[dt](k,F),Br[dt](G,nt),tt=ht,dt=k,pt=F,255&(O=0|h)&&(170&O?na(tt,256,dt,pt):vr(tt,256,dt,pt)),O=G,tt=nt,255&(h>>=8)&&(170&h?na(ht,320,O,tt):vr(ht,320,O,tt)),b<i.Ub-1&&(r(J[Z].y,0,_,L+480,16),r(J[Z].f,0,k,F+224,8),r(J[Z].ea,0,G,nt+224,8)),h=8*y*i.B,J=i.sa,Z=i.ta+16*v+16*y*i.R,ht=i.qa,O=i.ra+8*v+h,tt=i.Ha,dt=i.Ia+8*v+h,h=0;16>h;++h)r(J,Z+h*i.R,_,L+32*h,16);for(h=0;8>h;++h)r(ht,O+h*i.B,k,F+32*h,8),r(tt,dt+h*i.B,G,nt+32*h,8)}}function gs(i,o,h,v,b,y,_,L,k){var F=[0],G=[0],nt=0,O=k!=null?k.kd:0,J=k??new K;if(i==null||12>h)return 7;J.data=i,J.w=o,J.ha=h,o=[o],h=[h],J.gb=[J.gb];t:{var Z=o,ht=h,tt=J.gb;if(t(i!=null),t(ht!=null),t(tt!=null),tt[0]=0,12<=ht[0]&&!e(i,Z[0],"RIFF")){if(e(i,Z[0]+8,"WEBP")){tt=3;break t}var dt=Dt(i,Z[0]+4);if(12>dt||4294967286<dt){tt=3;break t}if(O&&dt>ht[0]-8){tt=7;break t}tt[0]=dt,Z[0]+=12,ht[0]-=12}tt=0}if(tt!=0)return tt;for(dt=0<J.gb[0],h=h[0];;){t:{var pt=i;ht=o,tt=h;var _t=F,wt=G,Rt=Z=[0];if((Ot=nt=[nt])[0]=0,8>tt[0])tt=7;else{if(!e(pt,ht[0],"VP8X")){if(Dt(pt,ht[0]+4)!=10){tt=3;break t}if(18>tt[0]){tt=7;break t}var Pt=Dt(pt,ht[0]+8),re=1+Lt(pt,ht[0]+12);if(2147483648<=re*(pt=1+Lt(pt,ht[0]+15))){tt=3;break t}Rt!=null&&(Rt[0]=Pt),_t!=null&&(_t[0]=re),wt!=null&&(wt[0]=pt),ht[0]+=18,tt[0]-=18,Ot[0]=1}tt=0}}if(nt=nt[0],Z=Z[0],tt!=0)return tt;if(ht=!!(2&Z),!dt&&nt)return 3;if(y!=null&&(y[0]=!!(16&Z)),_!=null&&(_[0]=ht),L!=null&&(L[0]=0),_=F[0],Z=G[0],nt&&ht&&k==null){tt=0;break}if(4>h){tt=7;break}if(dt&&nt||!dt&&!nt&&!e(i,o[0],"ALPH")){h=[h],J.na=[J.na],J.P=[J.P],J.Sa=[J.Sa];t:{Pt=i,tt=o,dt=h;var Ot=J.gb;_t=J.na,wt=J.P,Rt=J.Sa,re=22,t(Pt!=null),t(dt!=null),pt=tt[0];var he=dt[0];for(t(_t!=null),t(Rt!=null),_t[0]=null,wt[0]=null,Rt[0]=0;;){if(tt[0]=pt,dt[0]=he,8>he){tt=7;break t}var en=Dt(Pt,pt+4);if(4294967286<en){tt=3;break t}var ie=8+en+1&-2;if(re+=ie,0<Ot&&re>Ot){tt=3;break t}if(!e(Pt,pt,"VP8 ")||!e(Pt,pt,"VP8L")){tt=0;break t}if(he[0]<ie){tt=7;break t}e(Pt,pt,"ALPH")||(_t[0]=Pt,wt[0]=pt+8,Rt[0]=en),pt+=ie,he-=ie}}if(h=h[0],J.na=J.na[0],J.P=J.P[0],J.Sa=J.Sa[0],tt!=0)break}h=[h],J.Ja=[J.Ja],J.xa=[J.xa];t:if(Ot=i,tt=o,dt=h,_t=J.gb[0],wt=J.Ja,Rt=J.xa,Pt=tt[0],pt=!e(Ot,Pt,"VP8 "),re=!e(Ot,Pt,"VP8L"),t(Ot!=null),t(dt!=null),t(wt!=null),t(Rt!=null),8>dt[0])tt=7;else{if(pt||re){if(Ot=Dt(Ot,Pt+4),12<=_t&&Ot>_t-12){tt=3;break t}if(O&&Ot>dt[0]-8){tt=7;break t}wt[0]=Ot,tt[0]+=8,dt[0]-=8,Rt[0]=re}else Rt[0]=5<=dt[0]&&Ot[Pt+0]==47&&!(Ot[Pt+4]>>5),wt[0]=dt[0];tt=0}if(h=h[0],J.Ja=J.Ja[0],J.xa=J.xa[0],o=o[0],tt!=0)break;if(4294967286<J.Ja)return 3;if(L==null||ht||(L[0]=J.xa?2:1),_=[_],Z=[Z],J.xa){if(5>h){tt=7;break}L=_,O=Z,ht=y,i==null||5>h?i=0:5<=h&&i[o+0]==47&&!(i[o+4]>>5)?(dt=[0],Ot=[0],_t=[0],ct(wt=new M,i,o,h),Sr(wt,dt,Ot,_t)?(L!=null&&(L[0]=dt[0]),O!=null&&(O[0]=Ot[0]),ht!=null&&(ht[0]=_t[0]),i=1):i=0):i=0}else{if(10>h){tt=7;break}L=Z,i==null||10>h||!as(i,o+3,h-3)?i=0:(O=i[o+0]|i[o+1]<<8|i[o+2]<<16,ht=16383&(i[o+7]<<8|i[o+6]),i=16383&(i[o+9]<<8|i[o+8]),1&O||3<(O>>1&7)||!(O>>4&1)||O>>5>=J.Ja||!ht||!i?i=0:(_&&(_[0]=ht),L&&(L[0]=i),i=1))}if(!i||(_=_[0],Z=Z[0],nt&&(F[0]!=_||G[0]!=Z)))return 3;k!=null&&(k[0]=J,k.offset=o-k.w,t(4294967286>o-k.w),t(k.offset==k.ha-h));break}return tt==0||tt==7&&nt&&k==null?(y!=null&&(y[0]|=J.na!=null&&0<J.na.length),v!=null&&(v[0]=_),b!=null&&(b[0]=Z),0):tt}function Wn(i,o,h){var v=o.width,b=o.height,y=0,_=0,L=v,k=b;if(o.Da=i!=null&&0<i.Da,o.Da&&(L=i.cd,k=i.bd,y=i.v,_=i.j,11>h||(y&=-2,_&=-2),0>y||0>_||0>=L||0>=k||y+L>v||_+k>b))return 0;if(o.v=y,o.j=_,o.va=y+L,o.o=_+k,o.U=L,o.T=k,o.da=i!=null&&0<i.da,o.da){if(!Ht(L,k,h=[i.ib],y=[i.hb]))return 0;o.ib=h[0],o.hb=y[0]}return o.ob=i!=null&&i.ob,o.Kb=i==null||!i.Sd,o.da&&(o.ob=o.ib<3*v/4&&o.hb<3*b/4,o.Kb=0),1}function wi(i){if(i==null)return 2;if(11>i.S){var o=i.f.RGBA;o.fb+=(i.height-1)*o.A,o.A=-o.A}else o=i.f.kb,i=i.height,o.O+=(i-1)*o.fa,o.fa=-o.fa,o.N+=(i-1>>1)*o.Ab,o.Ab=-o.Ab,o.W+=(i-1>>1)*o.Db,o.Db=-o.Db,o.F!=null&&(o.J+=(i-1)*o.lb,o.lb=-o.lb);return 0}function Ia(i,o,h,v){if(v==null||0>=i||0>=o)return 2;if(h!=null){if(h.Da){var b=h.cd,y=h.bd,_=-2&h.v,L=-2&h.j;if(0>_||0>L||0>=b||0>=y||_+b>i||L+y>o)return 2;i=b,o=y}if(h.da){if(!Ht(i,o,b=[h.ib],y=[h.hb]))return 2;i=b[0],o=y[0]}}v.width=i,v.height=o;t:{var k=v.width,F=v.height;if(i=v.S,0>=k||0>=F||!(i>=bs&&13>i))i=2;else{if(0>=v.Rd&&v.sd==null){_=y=b=o=0;var G=(L=k*Zl[i])*F;if(11>i||(y=(F+1)/2*(o=(k+1)/2),i==12&&(_=(b=k)*F)),(F=a(G+2*y+_))==null){i=1;break t}v.sd=F,11>i?((k=v.f.RGBA).eb=F,k.fb=0,k.A=L,k.size=G):((k=v.f.kb).y=F,k.O=0,k.fa=L,k.Fd=G,k.f=F,k.N=0+G,k.Ab=o,k.Cd=y,k.ea=F,k.W=0+G+y,k.Db=o,k.Ed=y,i==12&&(k.F=F,k.J=0+G+2*y),k.Tc=_,k.lb=b)}if(o=1,b=v.S,y=v.width,_=v.height,b>=bs&&13>b)if(11>b)i=v.f.RGBA,o&=(L=Math.abs(i.A))*(_-1)+y<=i.size,o&=L>=y*Zl[b],o&=i.eb!=null;else{i=v.f.kb,L=(y+1)/2,G=(_+1)/2,k=Math.abs(i.fa),F=Math.abs(i.Ab);var nt=Math.abs(i.Db),O=Math.abs(i.lb),J=O*(_-1)+y;o&=k*(_-1)+y<=i.Fd,o&=F*(G-1)+L<=i.Cd,o=(o&=nt*(G-1)+L<=i.Ed)&k>=y&F>=L&nt>=L,o&=i.y!=null,o&=i.f!=null,o&=i.ea!=null,b==12&&(o&=O>=y,o&=J<=i.Tc,o&=i.F!=null)}else o=0;i=o?0:2}}return i!=0||h!=null&&h.fd&&(i=wi(v)),i}var Zi=64,yi=[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],Ca=24,xn=32,Pn=8,Qi=[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];Ct("Predictor0","PredictorAdd0"),R.Predictor0=function(){return 4278190080},R.Predictor1=function(i){return i},R.Predictor2=function(i,o,h){return o[h+0]},R.Predictor3=function(i,o,h){return o[h+1]},R.Predictor4=function(i,o,h){return o[h-1]},R.Predictor5=function(i,o,h){return qt(qt(i,o[h+1]),o[h+0])},R.Predictor6=function(i,o,h){return qt(i,o[h-1])},R.Predictor7=function(i,o,h){return qt(i,o[h+0])},R.Predictor8=function(i,o,h){return qt(o[h-1],o[h+0])},R.Predictor9=function(i,o,h){return qt(o[h+0],o[h+1])},R.Predictor10=function(i,o,h){return qt(qt(i,o[h-1]),qt(o[h+0],o[h+1]))},R.Predictor11=function(i,o,h){var v=o[h+0];return 0>=Zt(v>>24&255,i>>24&255,(o=o[h-1])>>24&255)+Zt(v>>16&255,i>>16&255,o>>16&255)+Zt(v>>8&255,i>>8&255,o>>8&255)+Zt(255&v,255&i,255&o)?v:i},R.Predictor12=function(i,o,h){var v=o[h+0];return(me((i>>24&255)+(v>>24&255)-((o=o[h-1])>>24&255))<<24|me((i>>16&255)+(v>>16&255)-(o>>16&255))<<16|me((i>>8&255)+(v>>8&255)-(o>>8&255))<<8|me((255&i)+(255&v)-(255&o)))>>>0},R.Predictor13=function(i,o,h){var v=o[h-1];return(ue((i=qt(i,o[h+0]))>>24&255,v>>24&255)<<24|ue(i>>16&255,v>>16&255)<<16|ue(i>>8&255,v>>8&255)<<8|ue(255&i,255&v))>>>0};var Vr=R.PredictorAdd0;R.PredictorAdd1=fe,Ct("Predictor2","PredictorAdd2"),Ct("Predictor3","PredictorAdd3"),Ct("Predictor4","PredictorAdd4"),Ct("Predictor5","PredictorAdd5"),Ct("Predictor6","PredictorAdd6"),Ct("Predictor7","PredictorAdd7"),Ct("Predictor8","PredictorAdd8"),Ct("Predictor9","PredictorAdd9"),Ct("Predictor10","PredictorAdd10"),Ct("Predictor11","PredictorAdd11"),Ct("Predictor12","PredictorAdd12"),Ct("Predictor13","PredictorAdd13");var Gr=R.PredictorAdd2;Tt("ColorIndexInverseTransform","MapARGB","32b",function(i){return i>>8&255},function(i){return i}),Tt("VP8LColorIndexInverseTransformAlpha","MapAlpha","8b",function(i){return i},function(i){return i>>8&255});var ta,_i=R.ColorIndexInverseTransform,Qe=R.MapARGB,wo=R.VP8LColorIndexInverseTransformAlpha,gr=R.MapAlpha,tr=R.VP8LPredictorsAdd=[];tr.length=16,(R.VP8LPredictors=[]).length=16,(R.VP8LPredictorsAdd_C=[]).length=16,(R.VP8LPredictors_C=[]).length=16;var Ai,Ea,Fa,ea,xi,Ni,Yr,Or,Jr,na,vn,vr,ke,Pe,Ve,tn,jr,Oa,ra,vs,Il,Cl,El,Fl,ja,Ol,jl,Bl,Ml=a(511),Rl=a(2041),Tl=a(225),Dl=a(767),ql=0,yo=Rl,ms=Tl,On=Dl,Vn=Ml,bs=0,ws=1,Ul=2,ys=3,_s=4,_o=5,zl=6,Ao=7,xo=8,As=9,No=10,kf=[2,3,7],Pf=[3,3,11],Hl=[280,256,256,256,40],If=[0,1,1,1,0],Cf=[17,18,0,1,2,3,4,5,16,6,7,8,9,10,11,12,13,14,15],Ef=[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],Ff=[2954,2956,2958,2962,2970,2986,3018,3082,3212,3468,3980,5004],Of=8,Lo=[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],So=[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],Ba=null,jf=[[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]],Bf=[0,1,4,8,5,2,3,6,9,12,13,10,7,11,14,15],Wl=[-0,1,-1,2,-2,3,4,6,-3,5,-4,-5,-6,7,-7,8,-8,-9],Mf=[[[[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128],[128,128,128,128,128,128,128,128,128,128,128]],[[253,136,254,255,228,219,128,128,128,128,128],[189,129,242,255,227,213,255,219,128,128,128],[106,126,227,252,214,209,255,255,128,128,128]],[[1,98,248,255,236,226,255,255,128,128,128],[181,133,238,254,221,234,255,154,128,128,128],[78,134,202,247,198,180,255,219,128,128,128]],[[1,185,249,25
425,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]]]],Rf=[[[231,120,48,89,115,113,120,152,112],[152,179,64,126,170,118,46,70,95],[175,69,143,80,85,82,72,155,103],[56,58,10,171,218,189,17,13,152],[114,26,17,163,44,195,21,10,173],[121,24,80,195,26,62,44,64,85],[144,71,10,38,171,213,144,34,26],[170,46,55,19,136,160,33,206,71],[63,20,8,114,114,208,12,9,226],[81,40,11,96,182,84,29,16,36]],[[134,183,89,137,98,101,106,165,148],[72,187,100,130,157,111,32,75,80],[66,102,167,99,74,62,40,234,128],[41,53,9,178,241,141,26,8,107],[74,43,26,146,73,166,49,23,157],[65,38,105,160,51,52,31,115,128],[104,79,12,27,217,255,87,17,7],[87,68,71,44,114,51,15,186,23],[47,41,14,110,182,183,21,17,194],[66,45,25,102,197,189,23,18,22]],[[88,88,147,150,42,46,45,196,205],[43,97,183,117,85,38,35,179,61],[39,53,200,87,26,21,43,232,171],[56,34,51,104,114,102,29,93,77],[39,28,85,171,58,165,90,98,64],[34,22,116,206,23,34,43,166,73],[107,54,32,26,51,1,81,43,31],[68,25,106,22,64,171,36,225,114],[34,19,21,102,132,188,16,76,124],[62,18,78,95,85,57,50,48,51]],[[193,101,35,159,215,111,89,46,111],[60,148,31,172,219,228,21,18,111],[112,113,77,85,179,255,38,120,114],[40,42,1,196,245,209,10,25,109],[88,43,29,140,166,213,37,43,154],[61,63,30,155,67,45,68,1,209],[100,80,8,43,154,1,51,26,71],[142,78,78,16,255,128,34,197,171],[41,40,5,102,211,183,4,1,221],[51,50,17,168,209,192,23,25,82]],[[138,31,36,171,27,166,38,44,229],[67,87,58,169,82,115,26,59,179],[63,59,90,180,59,166,93,73,154],[40,40,21,116,143,209,34,39,175],[47,15,16,183,34,223,49,45,183],[46,17,33,183,6,98,15,32,183],[57,46,22,24,128,1,54,17,37],[65,32,73,115,28,128,23,128,205],[40,3,9,115,51,192,18,6,223],[87,37,9,115,59,77,64,21,47]],[[104,55,44,218,9,54,53,130,226],[64,90,70,205,40,41,23,26,57],[54,57,112,184,5,41,38,166,213],[30,34,26,133,152,116,10,32,134],[39,19,53,221,26,114,32,73,255],[31,9,65,234,2,15,1,118,73],[75,32,12,51,192,255,160,43,51],[88,31,35,67,102,85,55,186,85],[56,21,23,111,59,205,45,37,192],[55,38,70,124,73,102,1,34,98]],[[125,98,42,88,104,85,117,175,82],[95,84,53,89,128,100,113,101,45],[75,79,123,47,51,128,81,171,1],[57,17,5,71,102,57,53,41,49],[38,33,13,121,57,73,26,1,85],[41,10,67,138,77,110,90,47,114],[115,21,2,10,102,255,166,23,6],[101,29,16,10,85,128,101,196,26],[57,18,10,102,102,213,34,20,43],[117,20,15,36,163,128,68,1,26]],[[102,61,71,37,34,53,31,243,192],[69,60,71,38,73,119,28,222,37],[68,45,128,34,1,47,11,245,171],[62,17,19,70,146,85,55,62,70],[37,43,37,154,100,163,85,160,1],[63,9,92,136,28,64,32,201,85],[75,15,9,9,64,255,184,119,16],[86,6,28,5,64,25
425,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]]],Tf=[[[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[176,246,255,255,255,255,255,255,255,255,255],[223,241,252,255,255,255,255,255,255,255,255],[249,253,253,255,255,255,255,255,255,255,255]],[[255,244,252,255,255,255,255,255,255,255,255],[234,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255]],[[255,246,254,255,255,255,255,255,255,255,255],[239,253,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[251,255,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[251,254,254,255,255,255,255,255,255,255,255],[254,255,254,255,255,255,255,255,255,255,255]],[[255,254,253,255,254,255,255,255,255,255,255],[250,255,254,255,254,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[217,255,255,255,255,255,255,255,255,255,255],[225,252,241,253,255,255,254,255,255,255,255],[234,250,241,250,253,255,253,254,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[223,254,254,255,255,255,255,255,255,255,255],[238,253,254,254,255,255,255,255,255,255,255]],[[255,248,254,255,255,255,255,255,255,255,255],[249,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,255,255,255,255,255,255,255,255,255],[247,254,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[252,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[253,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,253,255,255,255,255,255,255,255,255],[250,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[186,251,250,255,255,255,255,255,255,255,255],[234,251,244,254,255,255,255,255,255,255,255],[251,251,243,253,254,255,254,255,255,255,255]],[[255,253,254,255,255,255,255,255,255,255,255],[236,253,254,255,255,255,255,255,255,255,255],[251,253,253,254,254,255,255,255,255,255,255]],[[255,254,254,255,255,255,255,255,255,255,255],[254,254,254,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,254,255,255,255,255,255,255,255,255,255],[254,254,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[254,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]],[[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255],[255,255,255,255,255,255,255,255,255,255,255]]],[[[248,255,255,255,255,255,255,255,255,255,255],[250,254,252,254,255,255,255,255,255,255,255],[248,254,249,253,255,255,255,255,255,255,255]],[[255,253,253,255,255,255,255,255,255,255,255],[246,253,253,255,255,255,255,255,255,255,255],[252,254,251,254,254,255,255,255,255,255,255]],[[255,254,252,25
vendor: 9,256 bytes, line 42
425,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]]]],Df=[0,1,2,3,6,4,5,6,6,6,6,6,6,6,6,7,0],$r=[],er=[],Br=[],qf=1,Vl=2,Kr=[],Gn=[];pn("UpsampleRgbLinePair",vi,3),pn("UpsampleBgrLinePair",$i,3),pn("UpsampleRgbaLinePair",Pa,4),pn("UpsampleBgraLinePair",bi,4),pn("UpsampleArgbLinePair",mi,4),pn("UpsampleRgba4444LinePair",gn,2),pn("UpsampleRgb565LinePair",Ki,2);var Uf=R.UpsampleRgbLinePair,zf=R.UpsampleBgrLinePair,Gl=R.UpsampleRgbaLinePair,Yl=R.UpsampleBgraLinePair,Jl=R.UpsampleArgbLinePair,$l=R.UpsampleRgba4444LinePair,Hf=R.UpsampleRgb565LinePair,xs=16,Ns=1<<xs-1,Ma=-227,ko=482,Wf=6,Kl=0,Vf=a(256),Gf=a(256),Yf=a(256),Jf=a(256),$f=a(ko-Ma),Kf=a(ko-Ma);pr("YuvToRgbRow",vi,3),pr("YuvToBgrRow",$i,3),pr("YuvToRgbaRow",Pa,4),pr("YuvToBgraRow",bi,4),pr("YuvToArgbRow",mi,4),pr("YuvToRgba4444Row",gn,2),pr("YuvToRgb565Row",Ki,2);var Xl=[0,4,8,12,128,132,136,140,256,260,264,268,384,388,392,396],Ls=[0,2,8],Xf=[8,7,6,4,4,2,2,2,1,1,1,1],Zf=1;this.WebPDecodeRGBA=function(i,o,h,v,b){var y=ws,_=new U,L=new le;_.ba=L,L.S=y,L.width=[L.width],L.height=[L.height];var k=L.width,F=L.height,G=new Vt;if(G==null||i==null)var nt=2;else t(G!=null),nt=gs(i,o,h,G.width,G.height,G.Pd,G.Qd,G.format,null);if(nt!=0?k=0:(k!=null&&(k[0]=G.width[0]),F!=null&&(F[0]=G.height[0]),k=1),k){L.width=L.width[0],L.height=L.height[0],v!=null&&(v[0]=L.width),b!=null&&(b[0]=L.height);t:{if(v=new qi,(b=new K).data=i,b.w=o,b.ha=h,b.kd=1,o=[0],t(b!=null),((i=gs(b.data,b.w,b.ha,null,null,null,o,null,b))==0||i==7)&&o[0]&&(i=4),(o=i)==0){if(t(_!=null),v.data=b.data,v.w=b.w+b.offset,v.ha=b.ha-b.offset,v.put=Gt,v.ac=or,v.bc=Lr,v.ma=_,b.xa){if((i=ui())==null){_=1;break t}if((function(O,J){var Z=[0],ht=[0],tt=[0];e:for(;;){if(O==null)return 0;if(J==null)return O.a=2,0;if(O.l=J,O.a=0,ct(O.m,J.data,J.w,J.ha),!Sr(O.m,Z,ht,tt)){O.a=3;break e}if(O.xb=Vl,J.width=Z[0],J.height=ht[0],!ur(Z[0],ht[0],1,O,null))break e;return 1}return t(O.a!=0),0})(i,v)){if(v=(o=Ia(v.width,v.height,_.Oa,_.ba))==0){e:{v=i;n:for(;;){if(v==null){v=0;break e}if(t(v.s.yc!=null),t(v.s.Ya!=null),t(0<v.s.Wb),t((h=v.l)!=null),t((b=h.ma)!=null),v.xb!=0){if(v.ca=b.ba,v.tb=b.tb,t(v.ca!=null),!Wn(b.Oa,h,ys)){v.a=2;break n}if(!ci(v,h.width)||h.da)break n;if((h.da||Yt(v.ca.S))&&De(),11>v.ca.S||(alert("todo:WebPInitConvertARGBToYUV"),v.ca.f.kb.F!=null&&De()),v.Pb&&0<v.s.ua&&v.s.vb.X==null&&!I(v.s.vb,v.s.Wa.Xa)){v.a=1;break n}v.xb=0}if(!Qn(v,v.V,v.Ba,v.c,v.i,h.o,qr))break n;b.Dc=v.Ma,v=1;break e}t(v.a!=0),v=0}v=!v}v&&(o=i.a)}else o=i.a}else{if((i=new eo)==null){_=1;break t}if(i.Fa=b.na,i.P=b.P,i.qc=b.Sa,fr(i,v)){if((o=Ia(v.width,v.height,_.Oa,_.ba))==0){if(i.Aa=0,h=_.Oa,t((b=i)!=null),h!=null){if(0<(k=0>(k=h.Md)?0:100<k?255:255*k/100)){for(F=G=0;4>F;++F)12>(nt=b.pb[F]).lc&&(nt.ia=k*Xf[0>nt.lc?0:nt.lc]>>3),G|=nt.ia;G&&(alert("todo:VP8InitRandom"),b.ia=1)}b.Ga=h.Id,100<b.Ga?b.Ga=100:0>b.Ga&&(b.Ga=0)}(function(O,J){if(O==null)return 0;if(J==null)return Xe(O,2,"NULL VP8Io parameter in VP8Decode().");if(!O.cb&&!fr(O,J))return 0;if(t(O.cb),J.ac==null||J.ac(J)){J.ob&&(O.L=0);var Z=Ls[O.L];if(O.L==2?(O.yb=0,O.zb=0):(O.yb=J.v-Z>>4,O.zb=J.j-Z>>4,0>O.yb&&(O.yb=0),0>O.zb&&(O.zb=0)),O.Va=J.o+15+Z>>4,O.Hb=J.va+15+Z>>4,O.Hb>O.za&&(O.Hb=O.za),O.Va>O.Ub&&(O.Va=O.Ub),0<O.L){var ht=O.ed;for(Z=0;4>Z;++Z){var tt;if(O.Qa.Cb){var dt=O.Qa.Lb[Z];O.Qa.Fb||(dt+=ht.Tb)}else dt=ht.Tb;for(tt=0;1>=tt;++tt){var pt=O.gd[Z][tt],_t=dt;if(ht.Pc&&(_t+=ht.vd[0],tt&&(_t+=ht.od[0])),0<(_t=0>_t?0:63<_t?63:_t)){var wt=_t;0<ht.wb&&(wt=4<ht.wb?wt>>2:wt>>1)>9-ht.wb&&(wt=9-ht.wb),1>wt&&(wt=1),pt.dd=wt,pt.tc=2*_t+wt,pt.ld=40<=_t?2:15<=_t?1:0}else pt.tc=0;pt.La=tt}}}Z=0}else Xe(O,6,"Frame setup failed"),Z=O.a;if(Z=Z==0){if(Z){O.$c=0,0<O.Aa||(O.Ic=Zf);e:{Z=O.Ic,ht=4*(wt=O.za);var Rt=32*wt,Pt=wt+1,re=0<O.L?wt*(0<O.Aa?2:1):0,Ot=(O.Aa==2?2:1)*wt;if((pt=ht+832+(tt=3*(16*Z+Ls[O.L])/2*Rt)+(dt=O.Fa!=null&&0<O.Fa.length?O.Kc.c*O.Kc.i:0))!=pt)Z=0;else{if(pt>O.Vb){if(O.Vb=0,O.Ec=a(pt),O.Fc=0,O.Ec==null){Z=Xe(O,1,"no memory during frame initialization.");break e}O.Vb=pt}pt=O.Ec,_t=O.Fc,O.Ac=pt,O.Bc=_t,_t+=ht,O.Gd=f(Rt,rs),O.Hd=0,O.rb=f(Pt+1,ba),O.sb=1,O.wa=re?f(re,Hn):null,O.Y=0,O.D.Nb=0,O.D.wa=O.wa,O.D.Y=O.Y,0<O.Aa&&(O.D.Y+=wt),t(!0),O.oc=pt,O.pc=_t,_t+=832,O.ya=f(Ot,wa),O.aa=0,O.D.ya=O.ya,O.D.aa=O.aa,O.Aa==2&&(O.D.aa+=wt),O.R=16*wt,O.B=8*wt,wt=(Rt=Ls[O.L])*O.R,Rt=Rt/2*O.B,O.sa=pt,O.ta=_t+wt,O.qa=O.sa,O.ra=O.ta+16*Z*O.R+Rt,O.Ha=O.qa,O.Ia=O.ra+8*Z*O.B+Rt,O.$c=0,_t+=tt,O.mb=dt?pt:null,O.nb=dt?_t:null,t(_t+dt<=O.Fc+O.Vb),ya(O),s(O.Ac,O.Bc,0,ht),Z=1}}if(Z){if(J.ka=0,J.y=O.sa,J.O=O.ta,J.f=O.qa,J.N=O.ra,J.ea=O.Ha,J.Vd=O.Ia,J.fa=O.R,J.Rc=O.B,J.F=null,J.J=0,!ql){for(Z=-255;255>=Z;++Z)Ml[255+Z]=0>Z?-Z:Z;for(Z=-1020;1020>=Z;++Z)Rl[1020+Z]=-128>Z?-128:127<Z?127:Z;for(Z=-112;112>=Z;++Z)Tl[112+Z]=-16>Z?-16:15<Z?15:Z;for(Z=-255;510>=Z;++Z)Dl[255+Z]=0>Z?0:255<Z?255:Z;ql=1}Yr=os,Or=no,na=ro,vn=io,vr=hr,Jr=ss,ke=cs,Pe=fs,Ve=ds,tn=u,jr=hs,Oa=di,ra=m,vs=E,Il=Yi,Cl=Sa,El=Ji,Fl=us,er[0]=fo,er[1]=Wi,er[2]=uo,er[3]=co,er[4]=ho,er[5]=Pr,er[6]=po,er[7]=Ir,er[8]=vo,er[9]=go,$r[0]=ls,$r[1]=ao,$r[2]=so,$r[3]=oo,$r[4]=zr,$r[5]=lo,$r[6]=fi,Br[0]=mo,Br[1]=_a,Br[2]=Vi,Br[3]=Aa,Br[4]=bo,Br[5]=Gi,Br[6]=xa,Z=1}else Z=0}Z&&(Z=(function(he,en){for(he.M=0;he.M<he.Va;++he.M){var ie,jt=he.Jc[he.M&he.Xb],Nt=he.m,Ge=he;for(ie=0;ie<Ge.za;++ie){var ee=Nt,pe=Ge,Ee=pe.Ac,cn=pe.Bc+4*ie,Nn=pe.zc,Ue=pe.ya[pe.aa+ie];if(pe.Qa.Bb?Ue.$b=vt(ee,pe.Pa.jb[0])?2+vt(ee,pe.Pa.jb[2]):vt(ee,pe.Pa.jb[1]):Ue.$b=0,pe.kc&&(Ue.Ad=vt(ee,pe.Bd)),Ue.Za=!vt(ee,145)+0,Ue.Za){var mn=Ue.Ob,Ln=0;for(pe=0;4>pe;++pe){var nn,ve=Nn[0+pe];for(nn=0;4>nn;++nn){ve=Rf[Ee[cn+nn]][ve];for(var we=Wl[vt(ee,ve[0])];0<we;)we=Wl[2*we+vt(ee,ve[we])];ve=-we,Ee[cn+nn]=ve}r(mn,Ln,Ee,cn,4),Ln+=4,Nn[0+pe]=ve}}else ve=vt(ee,156)?vt(ee,128)?1:3:vt(ee,163)?2:0,Ue.Ob[0]=ve,s(Ee,cn,ve,4),s(Nn,0,ve,4);Ue.Dd=vt(ee,142)?vt(ee,114)?vt(ee,183)?1:3:2:0}if(Ge.m.Ka)return Xe(he,7,"Premature end-of-partition0 encountered.");for(;he.ja<he.za;++he.ja){if(Ge=jt,ee=(Nt=he).rb[Nt.sb-1],Ee=Nt.rb[Nt.sb+Nt.ja],ie=Nt.ya[Nt.aa+Nt.ja],cn=Nt.kc?ie.Ad:0)ee.la=Ee.la=0,ie.Za||(ee.Na=Ee.Na=0),ie.Hc=0,ie.Gc=0,ie.ia=0;else{var ze,ye;if(ee=Ee,Ee=Ge,cn=Nt.Pa.Xc,Nn=Nt.ya[Nt.aa+Nt.ja],Ue=Nt.pb[Nn.$b],pe=Nn.ad,mn=0,Ln=Nt.rb[Nt.sb-1],ve=nn=0,s(pe,mn,0,384),Nn.Za)var fn=0,nr=cn[3];else{we=a(16);var Ye=ee.Na+Ln.Na;if(Ye=Ba(Ee,cn[1],Ye,Ue.Eb,0,we,0),ee.Na=Ln.Na=(0<Ye)+0,1<Ye)Yr(we,0,pe,mn);else{var In=we[0]+3>>3;for(we=0;256>we;we+=16)pe[mn+we]=In}fn=1,nr=cn[0]}var Ne=15&ee.la,rn=15&Ln.la;for(we=0;4>we;++we){var jn=1&rn;for(In=ye=0;4>In;++In)Ne=Ne>>1|(jn=(Ye=Ba(Ee,nr,Ye=jn+(1&Ne),Ue.Sc,fn,pe,mn))>fn)<<7,ye=ye<<2|(3<Ye?3:1<Ye?2:pe[mn+0]!=0),mn+=16;Ne>>=4,rn=rn>>1|jn<<7,nn=(nn<<8|ye)>>>0}for(nr=Ne,fn=rn>>4,ze=0;4>ze;ze+=2){for(ye=0,Ne=ee.la>>4+ze,rn=Ln.la>>4+ze,we=0;2>we;++we){for(jn=1&rn,In=0;2>In;++In)Ye=jn+(1&Ne),Ne=Ne>>1|(jn=0<(Ye=Ba(Ee,cn[2],Ye,Ue.Qc,0,pe,mn)))<<3,ye=ye<<2|(3<Ye?3:1<Ye?2:pe[mn+0]!=0),mn+=16;Ne>>=2,rn=rn>>1|jn<<5}ve|=ye<<4*ze,nr|=Ne<<4<<ze,fn|=(240&rn)<<ze}ee.la=nr,Ln.la=fn,Nn.Hc=nn,Nn.Gc=ve,Nn.ia=43690&ve?0:Ue.ia,cn=!(nn|ve)}if(0<Nt.L&&(Nt.wa[Nt.Y+Nt.ja]=Nt.gd[ie.$b][ie.Za],Nt.wa[Nt.Y+Nt.ja].La|=!cn),Ge.Ka)return Xe(he,7,"Premature end-of-file encountered.")}if(ya(he),Nt=en,Ge=1,ie=(jt=he).D,ee=0<jt.L&&jt.M>=jt.zb&&jt.M<=jt.Va,jt.Aa==0)e:{if(ie.M=jt.M,ie.uc=ee,Xi(jt,ie),Ge=1,ie=(ye=jt.D).Nb,ee=(ve=Ls[jt.L])*jt.R,Ee=ve/2*jt.B,we=16*ie*jt.R,In=8*ie*jt.B,cn=jt.sa,Nn=jt.ta-ee+we,Ue=jt.qa,pe=jt.ra-Ee+In,mn=jt.Ha,Ln=jt.Ia-Ee+In,rn=(Ne=ye.M)==0,nn=Ne>=jt.Va-1,jt.Aa==2&&Xi(jt,ye),ye.uc)for(jn=(Ye=jt).D.M,t(Ye.D.uc),ye=Ye.yb;ye<Ye.Hb;++ye){fn=ye,nr=jn;var Sn=(Bn=(hn=Ye).D).Nb;ze=hn.R;var Bn=Bn.wa[Bn.Y+fn],Mn=hn.sa,Cn=hn.ta+16*Sn*ze+16*fn,Rn=Bn.dd,Ie=Bn.tc;if(Ie!=0)if(t(3<=Ie),hn.L==1)0<fn&&Cl(Mn,Cn,ze,Ie+4),Bn.La&&Fl(Mn,Cn,ze,Ie),0<nr&&Il(Mn,Cn,ze,Ie+4),Bn.La&&El(Mn,Cn,ze,Ie);else{var Tn=hn.B,rr=hn.qa,Li=hn.ra+8*Sn*Tn+8*fn,Mr=hn.Ha,hn=hn.Ia+8*Sn*Tn+8*fn;Sn=Bn.ld,0<fn&&(Pe(Mn,Cn,ze,Ie+4,Rn,Sn),tn(rr,Li,Mr,hn,Tn,Ie+4,Rn,Sn)),Bn.La&&(Oa(Mn,Cn,ze,Ie,Rn,Sn),vs(rr,Li,Mr,hn,Tn,Ie,Rn,Sn)),0<nr&&(ke(Mn,Cn,ze,Ie+4,Rn,Sn),Ve(rr,Li,Mr,hn,Tn,Ie+4,Rn,Sn)),Bn.La&&(jr(Mn,Cn,ze,Ie,Rn,Sn),ra(rr,Li,Mr,hn,Tn,Ie,Rn,Sn))}}if(jt.ia&&alert("todo:DitherRow"),Nt.put!=null){if(ye=16*Ne,Ne=16*(Ne+1),rn?(Nt.y=jt.sa,Nt.O=jt.ta+we,Nt.f=jt.qa,Nt.N=jt.ra+In,Nt.ea=jt.Ha,Nt.W=jt.Ia+In):(ye-=ve,Nt.y=cn,Nt.O=Nn,Nt.f=Ue,Nt.N=pe,Nt.ea=mn,Nt.W=Ln),nn||(Ne-=ve),Ne>Nt.o&&(Ne=Nt.o),Nt.F=null,Nt.J=null,jt.Fa!=null&&0<jt.Fa.length&&ye<Ne&&(Nt.J=Ze(jt,Nt,ye,Ne-ye),Nt.F=jt.mb,Nt.F==null&&Nt.F.length==0)){Ge=Xe(jt,3,"Could not decode alpha data.");break e}
42ye<Nt.j&&(ve=Nt.j-ye,ye=Nt.j,t(!(1&ve)),Nt.O+=jt.R*ve,Nt.N+=jt.B*(ve>>1),Nt.W+=jt.B*(ve>>1),Nt.F!=null&&(Nt.J+=Nt.width*ve)),ye<Ne&&(Nt.O+=Nt.v,Nt.N+=Nt.v>>1,Nt.W+=Nt.v>>1,Nt.F!=null&&(Nt.J+=Nt.v),Nt.ka=ye-Nt.j,Nt.U=Nt.va-Nt.v,Nt.T=Ne-ye,Ge=Nt.put(Nt))}ie+1!=jt.Ic||nn||(r(jt.sa,jt.ta-ee,cn,Nn+16*jt.R,ee),r(jt.qa,jt.ra-Ee,Ue,pe+8*jt.B,Ee),r(jt.Ha,jt.Ia-Ee,mn,Ln+8*jt.B,Ee))}if(!Ge)return Xe(he,6,"Output aborted.")}return 1})(O,J)),J.bc!=null&&J.bc(J),Z&=1}return Z?(O.cb=0,Z):0})(i,v)||(o=i.a)}}else o=i.a}o==0&&_.Oa!=null&&_.Oa.fd&&(o=wi(_.ba))}_=o}y=_!=0?null:11>y?L.f.RGBA.eb:L.f.kb.y}else y=null;return y};var Zl=[3,4,3,4,4,2,2,4,4,4,2,1,1]};function d(R,X){for(var N="",C=0;C<4;C++)N+=String.fromCharCode(R[X++]);return N}function g(R,X){return R[X+0]|R[X+1]<<8}function w(R,X){return(R[X+0]|R[X+1]<<8|R[X+2]<<16)>>>0}function x(R,X){return(R[X+0]|R[X+1]<<8|R[X+2]<<16|R[X+3]<<24)>>>0}new c;var p=[0],B=[0],P=[],j=new c,S=n,V=(function(R,X){var N={},C=0,H=!1,q=0,it=0;if(N.frames=[],!(function(A,M){for(var D=0;D<4;D++)if(A[M+D]!="RIFF".charCodeAt(D))return!0;return!1})(R,X)){for(x(R,X+=4),X+=8;X<R.length;){var at=d(R,X),ot=x(R,X+=4);X+=4;var et=ot+(1&ot);switch(at){case"VP8 ":case"VP8L":N.frames[C]===void 0&&(N.frames[C]={}),(bt=N.frames[C]).src_off=H?it:X-8,bt.src_size=q+ot+8,C++,H&&(H=!1,q=0,it=0);break;case"VP8X":(bt=N.header={}).feature_flags=R[X];var ct=X+4;bt.canvas_width=1+w(R,ct),ct+=3,bt.canvas_height=1+w(R,ct),ct+=3;break;case"ALPH":H=!0,q=et+8,it=X-8;break;case"ANIM":(bt=N.header).bgcolor=x(R,X),ct=X+4,bt.loop_count=g(R,ct),ct+=2;break;case"ANMF":var xt,bt;(bt=N.frames[C]={}).offset_x=2*w(R,X),X+=3,bt.offset_y=2*w(R,X),X+=3,bt.width=1+w(R,X),X+=3,bt.height=1+w(R,X),X+=3,bt.duration=w(R,X),X+=3,xt=R[X++],bt.dispose=1&xt,bt.blend=xt>>1&1}at!="ANMF"&&(X+=et)}return N}})(S,0);V.response=S,V.rgbaoutput=!0,V.dataurl=!1;var z=V.header?V.header:null,T=V.frames?V.frames:null;if(z){z.loop_counter=z.loop_count,p=[z.canvas_height],B=[z.canvas_width];for(var rt=0;rt<T.length&&T[rt].blend!=0;rt++);}var gt=T[0],ut=j.WebPDecodeRGBA(S,gt.src_off,gt.src_size,B,p);gt.rgba=ut,gt.imgwidth=B[0],gt.imgheight=p[0];for(var Y=0;Y<B[0]*p[0]*4;Y++)P[Y]=ut[Y];return this.width=B,this.height=p,this.data=P,this}function G2(){var n,t=this.internal.__metadata__.metadata,e=unescape(encodeURIComponent(t));n=this.internal.__metadata__.rawXml?e:'<x:xmpmeta xmlns:x="adobe:ns:meta/"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><rdf:Description rdf:about="" xmlns:jspdf="'+this.internal.__metadata__.namespaceUri+'"><jspdf:metadata>'+e.replace(/&/g,"&amp;").replace(/</g,"&lt;").replace(/>/g,"&gt;").replace(/"/g,"&quot;").replace(/'/g,"&apos;")+"</jspdf:metadata></rdf:Description></rdf:RDF></x:xmpmeta>",this.internal.__metadata__.metadataObjectNumber=this.internal.newObject(),this.internal.write("<< /Type /Metadata /Subtype /XML /Length "+n.length+" >>"),this.internal.write("stream"),this.internal.write(n),this.internal.write("endstream"),this.internal.write("endobj")}function Y2(){this.internal.__metadata__.metadataObjectNumber&&this.internal.write("/Metadata "+this.internal.__metadata__.metadataObjectNumber+" 0 R")}(function(n){var t,e,r,s,a,f,l,c,d,g=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=A.transform!==void 0?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 f,this.miterLimit=A.miterLimit||10,this.lastPoint=A.lastPoint||new f,this.lineDashOffset=A.lineDashOffset||0,this.lineDash=A.lineDash||[],this.margin=A.margin||[0,0,0,0],this.prevPageLastElemOffset=A.prevPageLastElemOffset||0,this.ignoreClearRect=typeof A.ignoreClearRect!="boolean"||A.ignoreClearRect,this};n.events.push(["initialized",function(){this.context2d=new w(this),t=this.internal.f2,e=this.internal.getCoordinateString,r=this.internal.getVerticalCoordinateString,
vendor: 4,462 bytes, line 42
42s=this.internal.getHorizontalCoordinate,a=this.internal.getVerticalCoordinate,f=this.internal.Point,l=this.internal.Rectangle,c=this.internal.Matrix,d=new g}]);var w=function(A){Object.defineProperty(this,"canvas",{get:function(){return{parentNode:!1,style:!1}}});var M=A;Object.defineProperty(this,"pdf",{get:function(){return M}});var D=!1;Object.defineProperty(this,"pageWrapXEnabled",{get:function(){return D},set:function(I){D=!!I}});var W=!1;Object.defineProperty(this,"pageWrapYEnabled",{get:function(){return W},set:function(I){W=!!I}});var $=0;Object.defineProperty(this,"posX",{get:function(){return $},set:function(I){isNaN(I)||($=I)}});var Q=0;Object.defineProperty(this,"posY",{get:function(){return Q},set:function(I){isNaN(I)||(Q=I)}}),Object.defineProperty(this,"margin",{get:function(){return d.margin},set:function(I){var kt;typeof I=="number"?kt=[I,I,I,I]:((kt=new Array(4))[0]=I[0],kt[1]=I.length>=2?I[1]:kt[0],kt[2]=I.length>=3?I[2]:kt[0],kt[3]=I.length>=4?I[3]:kt[1]),d.margin=kt}});var st=!1;Object.defineProperty(this,"autoPaging",{get:function(){return st},set:function(I){st=I}});var lt=0;Object.defineProperty(this,"lastBreak",{get:function(){return lt},set:function(I){lt=I}});var vt=[];Object.defineProperty(this,"pageBreaks",{get:function(){return vt},set:function(I){vt=I}}),Object.defineProperty(this,"ctx",{get:function(){return d},set:function(I){I instanceof g&&(d=I)}}),Object.defineProperty(this,"path",{get:function(){return d.path},set:function(I){d.path=I}});var At=[];Object.defineProperty(this,"ctxStack",{get:function(){return At},set:function(I){At=I}}),Object.defineProperty(this,"fillStyle",{get:function(){return this.ctx.fillStyle},set:function(I){var kt;kt=x(I),this.ctx.fillStyle=kt.style,this.ctx.isFillTransparent=kt.a===0,this.ctx.fillOpacity=kt.a,this.pdf.setFillColor(kt.r,kt.g,kt.b,{a:kt.a}),this.pdf.setTextColor(kt.r,kt.g,kt.b,{a:kt.a})}}),Object.defineProperty(this,"strokeStyle",{get:function(){return this.ctx.strokeStyle},set:function(I){var kt=x(I);this.ctx.strokeStyle=kt.style,this.ctx.isStrokeTransparent=kt.a===0,this.ctx.strokeOpacity=kt.a,kt.a===0?this.pdf.setDrawColor(255,255,255):(kt.a,this.pdf.setDrawColor(kt.r,kt.g,kt.b))}}),Object.defineProperty(this,"lineCap",{get:function(){return this.ctx.lineCap},set:function(I){["butt","round","square"].indexOf(I)!==-1&&(this.ctx.lineCap=I,this.pdf.setLineCap(I))}}),Object.defineProperty(this,"lineWidth",{get:function(){return this.ctx.lineWidth},set:function(I){isNaN(I)||(this.ctx.lineWidth=I,this.pdf.setLineWidth(I))}}),Object.defineProperty(this,"lineJoin",{get:function(){return this.ctx.lineJoin},set:function(I){["bevel","round","miter"].indexOf(I)!==-1&&(this.ctx.lineJoin=I,this.pdf.setLineJoin(I))}}),Object.defineProperty(this,"miterLimit",{get:function(){return this.ctx.miterLimit},set:function(I){isNaN(I)||(this.ctx.miterLimit=I,this.pdf.setMiterLimit(I))}}),Object.defineProperty(this,"textBaseline",{get:function(){return this.ctx.textBaseline},set:function(I){this.ctx.textBaseline=I}}),Object.defineProperty(this,"textAlign",{get:function(){return this.ctx.textAlign},set:function(I){["right","end","center","left","start"].indexOf(I)!==-1&&(this.ctx.textAlign=I)}});var St=null,Lt=null,Dt=null;Object.defineProperty(this,"fontFaces",{get:function(){return Dt},set:function(I){St=null,Lt=null,Dt=I}}),Object.defineProperty(this,"font",{get:function(){return this.ctx.font},set:function(I){var kt;if(this.ctx.font=I,(kt=/^\s*(?=(?:(?:[-a-z]+\s*){0,2}(italic|oblique))?)(?=(?:(?:[-a-z]+\s*){0,2}(small-caps))?)(?=(?:(?:[-a-z]+\s*){0,2}(bold(?:er)?|lighter|[1-9]00))?)(?:(?:normal|\1|\2|\3)\s*){0,3}((?:xx?-)?(?:small|large)|medium|smaller|larger|[.\d]+(?:\%|in|[cem]m|ex|p[ctx]))(?:\s*\/\s*(normal|[.\d]+(?:\%|in|[cem]m|ex|p[ctx])))?\s*([-_,\"\'\sa-z0-9]+?)\s*$/i.exec(I))!==null){var ae=kt[1];kt[2];var Ht=kt[3],yt=kt[4];kt[5];var Wt=kt[6],Ct=/^([.\d]+)((?:%|in|[cem]m|ex|p[ctx]))$/i.exec(yt)[2];yt=Math.floor(Ct==="px"?parseFloat(yt)*this.pdf.internal.scaleFactor:Ct==="em"?parseFloat(yt)*this.pdf.getFontSize():parseFloat(yt)*this.pdf.internal.scaleFactor),this.pdf.setFontSize(yt);var zt=(function(Tt){var We,ge,se=[],oe=Tt.trim();if(oe==="")return el;if(oe in hc)return[hc[oe]];for(;oe!=="";){switch(ge=null,We=(oe=pc(oe)).charAt(0)){case'"':case"'":ge=q2(oe.substring(1),We);break;default:ge=U2(oe)}if(ge===null||(se.push(ge[0]),(oe=pc(ge[1]))!==""&&oe.charAt(0)!==","))return el;oe=oe.replace(/^,/,"")}return se})(Wt);
42if(this.fontFaces){var qt=(function(Tt,We){var ge=Tt.getFontList(),se=JSON.stringify(ge);if(St===null||Lt!==se){var oe=(function(Oe){var Ut=[];return Object.keys(Oe).forEach(function(Se){Oe[Se].forEach(function(Yt){var Qt=null;switch(Yt){case"bold":Qt={family:Se,weight:"bold"};break;case"italic":Qt={family:Se,style:"italic"};break;case"bolditalic":Qt={family:Se,weight:"bold",style:"italic"};break;case"":case"normal":Qt={family:Se}}Qt!==null&&(Qt.ref={name:Se,style:Yt},Ut.push(Qt))})}),Ut})(ge);St=(function(Oe){for(var Ut={},Se=0;Se<Oe.length;++Se){var Yt=tl(Oe[Se]),Qt=Yt.family,je=Yt.stretch,le=Yt.style,Vt=Yt.weight;Ut[Qt]=Ut[Qt]||{},Ut[Qt][je]=Ut[Qt][je]||{},Ut[Qt][je][le]=Ut[Qt][je][le]||{},Ut[Qt][je][le][Vt]=Yt}return Ut})(oe.concat(We)),Lt=se}return St})(this.pdf,this.fontFaces),me=zt.map(function(Tt){return{family:Tt,stretch:"normal",weight:Ht,style:ae}}),ue=(function(Tt,We,ge){for(var se=(ge=ge||{}).defaultFontFamily||"times",oe=Object.assign({},D2,ge.genericFontFamilies||{}),Oe=null,Ut=null,Se=0;Se<We.length;++Se)if(oe[(Oe=tl(We[Se])).family]&&(Oe.family=oe[Oe.family]),Tt.hasOwnProperty(Oe.family)){Ut=Tt[Oe.family];break}if(!(Ut=Ut||Tt[se]))throw new Error("Could not find a font-family for the rule '"+dc(Oe)+"' and default family '"+se+"'.");if(Ut=(function(Yt,Qt){if(Qt[Yt])return Qt[Yt];var je=vl[Yt],le=je<=vl.normal?-1:1,Vt=fc(Qt,Af,je,le);if(!Vt)throw new Error("Could not find a matching font-stretch value for "+Yt);return Vt})(Oe.stretch,Ut),Ut=(function(Yt,Qt){if(Qt[Yt])return Qt[Yt];for(var je=_f[Yt],le=0;le<je.length;++le)if(Qt[je[le]])return Qt[je[le]];throw new Error("Could not find a matching font-style for "+Yt)})(Oe.style,Ut),!(Ut=(function(Yt,Qt){if(Qt[Yt])return Qt[Yt];if(Yt===400&&Qt[500])return Qt[500];if(Yt===500&&Qt[400])return Qt[400];var je=T2[Yt],le=fc(Qt,xf,je,Yt<400?-1:1);if(!le)throw new Error("Could not find a matching font-weight for value "+Yt);return le})(Oe.weight,Ut)))throw new Error("Failed to resolve a font for the rule '"+dc(Oe)+"'.");return Ut})(qt,me);this.pdf.setFont(ue.ref.name,ue.ref.style)}else{var Zt="";(Ht==="bold"||parseInt(Ht,10)>=700||ae==="bold")&&(Zt="bold"),ae==="italic"&&(Zt+="italic"),Zt.length===0&&(Zt="normal");for(var fe="",ce={arial:"Helvetica",Arial:"Helvetica",verdana:"Helvetica",Verdana:"Helvetica",helvetica:"Helvetica",Helvetica:"Helvetica","sans-serif":"Helvetica",fixed:"Courier",monospace:"Courier",terminal:"Courier",cursive:"Times",fantasy:"Times",serif:"Times"},Bt=0;Bt<zt.length;Bt++){if(this.pdf.internal.getFont(zt[Bt],Zt,{noFallback:!0,disableWarning:!0})!==void 0){fe=zt[Bt];break}if(Zt==="bolditalic"&&this.pdf.internal.getFont(zt[Bt],"bold",{noFallback:!0,disableWarning:!0})!==void 0)fe=zt[Bt],Zt="bold";else if(this.pdf.internal.getFont(zt[Bt],"normal",{noFallback:!0,disableWarning:!0})!==void 0){fe=zt[Bt],Zt="normal";break}}if(fe===""){for(var ne=0;ne<zt.length;ne++)if(ce[zt[ne]]){fe=ce[zt[ne]];break}}fe=fe===""?"Times":fe,this.pdf.setFont(fe,Zt)}}}}),Object.defineProperty(this,"globalCompositeOperation",{get:function(){return this.ctx.globalCompositeOperation},set:function(I){this.ctx.globalCompositeOperation=I}}),Object.defineProperty(this,"globalAlpha",{get:function(){return this.ctx.globalAlpha},set:function(I){this.ctx.globalAlpha=I}}),Object.defineProperty(this,"lineDashOffset",{get:function(){return this.ctx.lineDashOffset},set:function(I){this.ctx.lineDashOffset=I,bt.call(this)}}),Object.defineProperty(this,"lineDash",{get:function(){return this.ctx.lineDash},set:function(I){this.ctx.lineDash=I,bt.call(this)}}),Object.defineProperty(this,"ignoreClearRect",{get:function(){return this.ctx.ignoreClearRect},set:function(I){this.ctx.ignoreClearRect=!!I}})};w.prototype.setLineDash=function(A){this.lineDash=A},w.prototype.getLineDash=function(){return this.lineDash.length%2?this.lineDash.concat(this.lineDash):this.lineDash.slice()},w.prototype.fill=function(){T.call(this,"fill",!1)},w.prototype.stroke=function(){T.call(this,"stroke",!1)},w.prototype.beginPath=function(){this.path=[{type:"begin"}]},w.prototype.moveTo=function(A,M){if(isNaN(A)||isNaN(M))throw Le.error("jsPDF.context2d.moveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to 
42jsPDF.context2d.moveTo");var D=this.ctx.transform.applyToPoint(new f(A,M));this.path.push({type:"mt",x:D.x,y:D.y}),this.ctx.lastPoint=new f(A,M)},w.prototype.closePath=function(){var A=new f(0,0),M=0;for(M=this.path.length-1;M!==-1;M--)if(this.path[M].type==="begin"&&_e(this.path[M+1])==="object"&&typeof this.path[M+1].x=="number"){A=new f(this.path[M+1].x,this.path[M+1].y);break}this.path.push({type:"close"}),this.ctx.lastPoint=new f(A.x,A.y)},w.prototype.lineTo=function(A,M){if(isNaN(A)||isNaN(M))throw Le.error("jsPDF.context2d.lineTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.lineTo");var D=this.ctx.transform.applyToPoint(new f(A,M));this.path.push({type:"lt",x:D.x,y:D.y}),this.ctx.lastPoint=new f(D.x,D.y)},w.prototype.clip=function(){this.ctx.clip_path=JSON.parse(JSON.stringify(this.path)),T.call(this,null,!0)},w.prototype.quadraticCurveTo=function(A,M,D,W){if(isNaN(D)||isNaN(W)||isNaN(A)||isNaN(M))throw Le.error("jsPDF.context2d.quadraticCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.quadraticCurveTo");var $=this.ctx.transform.applyToPoint(new f(D,W)),Q=this.ctx.transform.applyToPoint(new f(A,M));this.path.push({type:"qct",x1:Q.x,y1:Q.y,x:$.x,y:$.y}),this.ctx.lastPoint=new f($.x,$.y)},w.prototype.bezierCurveTo=function(A,M,D,W,$,Q){if(isNaN($)||isNaN(Q)||isNaN(A)||isNaN(M)||isNaN(D)||isNaN(W))throw Le.error("jsPDF.context2d.bezierCurveTo: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.bezierCurveTo");var st=this.ctx.transform.applyToPoint(new f($,Q)),lt=this.ctx.transform.applyToPoint(new f(A,M)),vt=this.ctx.transform.applyToPoint(new f(D,W));this.path.push({type:"bct",x1:lt.x,y1:lt.y,x2:vt.x,y2:vt.y,x:st.x,y:st.y}),this.ctx.lastPoint=new f(st.x,st.y)},w.prototype.arc=function(A,M,D,W,$,Q){if(isNaN(A)||isNaN(M)||isNaN(D)||isNaN(W)||isNaN($))throw Le.error("jsPDF.context2d.arc: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.arc");if(Q=!!Q,!this.ctx.transform.isIdentity){var st=this.ctx.transform.applyToPoint(new f(A,M));A=st.x,M=st.y;var lt=this.ctx.transform.applyToPoint(new f(0,D)),vt=this.ctx.transform.applyToPoint(new f(0,0));D=Math.sqrt(Math.pow(lt.x-vt.x,2)+Math.pow(lt.y-vt.y,2))}Math.abs($-W)>=2*Math.PI&&(W=0,$=2*Math.PI),this.path.push({type:"arc",x:A,y:M,radius:D,startAngle:W,endAngle:$,counterclockwise:Q})},w.prototype.arcTo=function(A,M,D,W,$){throw new Error("arcTo not implemented.")},w.prototype.rect=function(A,M,D,W){if(isNaN(A)||isNaN(M)||isNaN(D)||isNaN(W))throw Le.error("jsPDF.context2d.rect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rect");this.moveTo(A,M),this.lineTo(A+D,M),this.lineTo(A+D,M+W),this.lineTo(A,M+W),this.lineTo(A,M),this.lineTo(A+D,M),this.lineTo(A,M)},w.prototype.fillRect=function(A,M,D,W){if(isNaN(A)||isNaN(M)||isNaN(D)||isNaN(W))throw Le.error("jsPDF.context2d.fillRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillRect");if(!p.call(this)){var $={};this.lineCap!=="butt"&&($.lineCap=this.lineCap,this.lineCap="butt"),this.lineJoin!=="miter"&&($.lineJoin=this.lineJoin,this.lineJoin="miter"),this.beginPath(),this.rect(A,M,D,W),this.fill(),$.hasOwnProperty("lineCap")&&(this.lineCap=$.lineCap),$.hasOwnProperty("lineJoin")&&(this.lineJoin=$.lineJoin)}},w.prototype.strokeRect=function(A,M,D,W){if(isNaN(A)||isNaN(M)||isNaN(D)||isNaN(W))throw Le.error("jsPDF.context2d.strokeRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeRect");B.call(this)||(this.beginPath(),this.rect(A,M,D,W),this.stroke())},w.prototype.clearRect=function(A,M,D,W){if(isNaN(A)||isNaN(M)||isNaN(D)||isNaN(W))throw Le.error("jsPDF.context2d.clearRect: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.clearRect");this.ignoreClearRect||(this.fillStyle="#ffffff",this.fillRect(A,M,D,W))},w.prototype.save=function(A){A=typeof A!="boolean"||A;for(var M=this.pdf.internal.getCurrentPageInfo().pageNumber,D=0;D<this.pdf.internal.getNumberOfPages();D++)this.pdf.setPage(D+1),this.pdf.internal.out("q");
vendor: 4,132 bytes, line 42
42if(this.pdf.setPage(M),A){this.ctx.fontSize=this.pdf.internal.getFontSize();var W=new g(this.ctx);this.ctxStack.push(this.ctx),this.ctx=W}},w.prototype.restore=function(A){A=typeof A!="boolean"||A;for(var M=this.pdf.internal.getCurrentPageInfo().pageNumber,D=0;D<this.pdf.internal.getNumberOfPages();D++)this.pdf.setPage(D+1),this.pdf.internal.out("Q");this.pdf.setPage(M),A&&this.ctxStack.length!==0&&(this.ctx=this.ctxStack.pop(),this.fillStyle=this.ctx.fillStyle,this.strokeStyle=this.ctx.strokeStyle,this.font=this.ctx.font,this.lineCap=this.ctx.lineCap,this.lineWidth=this.ctx.lineWidth,this.lineJoin=this.ctx.lineJoin,this.lineDash=this.ctx.lineDash,this.lineDashOffset=this.ctx.lineDashOffset)},w.prototype.toDataURL=function(){throw new Error("toDataUrl not implemented.")};var x=function(A){var M,D,W,$;if(A.isCanvasGradient===!0&&(A=A.getColor()),!A)return{r:0,g:0,b:0,a:0,style:A};if(/transparent|rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*0+\s*\)/.test(A))M=0,D=0,W=0,$=0;else{var Q=/rgb\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\)/.exec(A);if(Q!==null)M=parseInt(Q[1]),D=parseInt(Q[2]),W=parseInt(Q[3]),$=1;else if((Q=/rgba\s*\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*,\s*([\d.]+)\s*\)/.exec(A))!==null)M=parseInt(Q[1]),D=parseInt(Q[2]),W=parseInt(Q[3]),$=parseFloat(Q[4]);else{if($=1,typeof A=="string"&&A.charAt(0)!=="#"){var st=new pf(A);A=st.ok?st.toHex():"#000000"}A.length===4?(M=A.substring(1,2),M+=M,D=A.substring(2,3),D+=D,W=A.substring(3,4),W+=W):(M=A.substring(1,3),D=A.substring(3,5),W=A.substring(5,7)),M=parseInt(M,16),D=parseInt(D,16),W=parseInt(W,16)}}return{r:M,g:D,b:W,a:$,style:A}},p=function(){return this.ctx.isFillTransparent||this.globalAlpha==0},B=function(){return!!(this.ctx.isStrokeTransparent||this.globalAlpha==0)};w.prototype.fillText=function(A,M,D,W){if(isNaN(M)||isNaN(D)||typeof A!="string")throw Le.error("jsPDF.context2d.fillText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.fillText");if(W=isNaN(W)?void 0:W,!p.call(this)){var $=et(this.ctx.transform.rotation),Q=this.ctx.transform.scaleX;C.call(this,{text:A,x:M,y:D,scale:Q,angle:$,align:this.textAlign,maxWidth:W})}},w.prototype.strokeText=function(A,M,D,W){if(isNaN(M)||isNaN(D)||typeof A!="string")throw Le.error("jsPDF.context2d.strokeText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.strokeText");if(!B.call(this)){W=isNaN(W)?void 0:W;var $=et(this.ctx.transform.rotation),Q=this.ctx.transform.scaleX;C.call(this,{text:A,x:M,y:D,scale:Q,renderingMode:"stroke",angle:$,align:this.textAlign,maxWidth:W})}},w.prototype.measureText=function(A){if(typeof A!="string")throw Le.error("jsPDF.context2d.measureText: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.measureText");var M=this.pdf,D=this.pdf.internal.scaleFactor,W=M.internal.getFontSize(),$=M.getStringUnitWidth(A)*W/M.internal.scaleFactor;return new function(Q){var st=(Q=Q||{}).width||0;return Object.defineProperty(this,"width",{get:function(){return st}}),this}({width:$*=Math.round(96*D/72*1e4)/1e4})},w.prototype.scale=function(A,M){if(isNaN(A)||isNaN(M))throw Le.error("jsPDF.context2d.scale: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.scale");var D=new c(A,0,0,M,0,0);this.ctx.transform=this.ctx.transform.multiply(D)},w.prototype.rotate=function(A){if(isNaN(A))throw Le.error("jsPDF.context2d.rotate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.rotate");var M=new c(Math.cos(A),Math.sin(A),-Math.sin(A),Math.cos(A),0,0);this.ctx.transform=this.ctx.transform.multiply(M)},w.prototype.translate=function(A,M){if(isNaN(A)||isNaN(M))throw Le.error("jsPDF.context2d.translate: Invalid arguments",arguments),new Error("Invalid arguments passed to jsPDF.context2d.translate");var D=new c(1,0,0,1,A,M);this.ctx.transform=this.ctx.transform.multiply(D)},w.prototype.transform=function(A,M,D,W,$,Q){if(isNaN(A)||isNaN(M)||isNaN(D)||isNaN(W)||isNaN($)||isNaN(Q))throw Le.error("jsPDF.context2d.transform: Invalid arguments",arguments),new Error("Invalid arguments passed to 
42jsPDF.context2d.transform");var st=new c(A,M,D,W,$,Q);this.ctx.transform=this.ctx.transform.multiply(st)},w.prototype.setTransform=function(A,M,D,W,$,Q){A=isNaN(A)?1:A,M=isNaN(M)?0:M,D=isNaN(D)?0:D,W=isNaN(W)?1:W,$=isNaN($)?0:$,Q=isNaN(Q)?0:Q,this.ctx.transform=new c(A,M,D,W,$,Q)};var P=function(){return this.margin[0]>0||this.margin[1]>0||this.margin[2]>0||this.margin[3]>0};w.prototype.drawImage=function(A,M,D,W,$,Q,st,lt,vt){var At=this.pdf.getImageProperties(A),St=1,Lt=1,Dt=1,I=1;W!==void 0&&lt!==void 0&&(Dt=lt/W,I=vt/$,St=At.width/W*lt/W,Lt=At.height/$*vt/$),Q===void 0&&(Q=M,st=D,M=0,D=0),W!==void 0&&lt===void 0&&(lt=W,vt=$),W===void 0&&lt===void 0&&(lt=At.width,vt=At.height);var kt=this.ctx.transform.decompose(),ae=et(kt.rotate.shx),Ht=new c,yt=(Ht=(Ht=(Ht=Ht.multiply(kt.translate)).multiply(kt.skew)).multiply(kt.scale)).applyToRectangle(new l(Q-M*Dt,st-D*I,W*St,$*Lt));if(this.autoPaging){for(var Wt,Ct=j.call(this,yt),zt=[],qt=0;qt<Ct.length;qt+=1)zt.indexOf(Ct[qt])===-1&&zt.push(Ct[qt]);z(zt);for(var me=zt[0],ue=zt[zt.length-1],Zt=me;Zt<ue+1;Zt++){this.pdf.setPage(Zt);var fe=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],ce=Zt===1?this.posY+this.margin[0]:this.margin[0],Bt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ne=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Tt=Zt===1?0:Bt+(Zt-2)*ne;if(this.ctx.clip_path.length!==0){var We=this.path;Wt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=V(Wt,this.posX+this.margin[3],-Tt+ce+this.ctx.prevPageLastElemOffset),rt.call(this,"fill",!0),this.path=We}var ge=JSON.parse(JSON.stringify(yt));ge=V([ge],this.posX+this.margin[3],-Tt+ce+this.ctx.prevPageLastElemOffset)[0];var se=(Zt>me||Zt<ue)&&P.call(this);se&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],fe,ne,null).clip().discardPath()),this.pdf.addImage(A,"JPEG",ge.x,ge.y,ge.w,ge.h,null,null,ae),se&&this.pdf.restoreGraphicsState()}}else this.pdf.addImage(A,"JPEG",yt.x,yt.y,yt.w,yt.h,null,null,ae)};var j=function(A,M,D){var W=[];M=M||this.pdf.internal.pageSize.width,D=D||this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2];var $=this.posY+this.ctx.prevPageLastElemOffset;switch(A.type){default:case"mt":case"lt":W.push(Math.floor((A.y+$)/D)+1);break;case"arc":W.push(Math.floor((A.y+$-A.radius)/D)+1),W.push(Math.floor((A.y+$+A.radius)/D)+1);break;case"qct":var Q=ct(this.ctx.lastPoint.x,this.ctx.lastPoint.y,A.x1,A.y1,A.x,A.y);W.push(Math.floor((Q.y+$)/D)+1),W.push(Math.floor((Q.y+Q.h+$)/D)+1);break;case"bct":var st=xt(this.ctx.lastPoint.x,this.ctx.lastPoint.y,A.x1,A.y1,A.x2,A.y2,A.x,A.y);W.push(Math.floor((st.y+$)/D)+1),W.push(Math.floor((st.y+st.h+$)/D)+1);break;case"rect":W.push(Math.floor((A.y+$)/D)+1),W.push(Math.floor((A.y+A.h+$)/D)+1)}for(var lt=0;lt<W.length;lt+=1)for(;this.pdf.internal.getNumberOfPages()<W[lt];)S.call(this);return W},S=function(){var A=this.fillStyle,M=this.strokeStyle,D=this.font,W=this.lineCap,$=this.lineWidth,Q=this.lineJoin;this.pdf.addPage(),this.fillStyle=A,this.strokeStyle=M,this.font=D,this.lineCap=W,this.lineWidth=$,this.lineJoin=Q},V=function(A,M,D){for(var W=0;W<A.length;W++)switch(A[W].type){case"bct":A[W].x2+=M,A[W].y2+=D;case"qct":A[W].x1+=M,A[W].y1+=D;default:A[W].x+=M,A[W].y+=D}return A},z=function(A){return A.sort(function(M,D){return M-D})},T=function(A,M){var D=this.fillStyle,W=this.strokeStyle,$=this.lineCap,Q=this.lineWidth,st=Math.abs(Q*this.ctx.transform.scaleX),lt=this.lineJoin;if(this.autoPaging){for(var vt,At,St=JSON.parse(JSON.stringify(this.path)),Lt=JSON.parse(JSON.stringify(this.path)),Dt=[],I=0;I<Lt.length;I++)if(Lt[I].x!==void 0)for(var kt=j.call(this,Lt[I]),ae=0;ae<kt.length;ae+=1)Dt.indexOf(kt[ae])===-1&&Dt.push(kt[ae]);for(var Ht=0;Ht<Dt.length;Ht++)for(;this.pdf.internal.getNumberOfPages()<Dt[Ht];)S.call(this);z(Dt);for(var yt=Dt[0],Wt=Dt[Dt.length-1],Ct=yt;Ct<Wt+1;Ct++){this.pdf.setPage(Ct),this.fillStyle=D,this.strokeStyle=W,this.lineCap=$,this.lineWidth=st,this.lineJoin=lt;var zt=this.pdf.internal.pageSize.width-this.margin[3]-this.margin[1],qt=Ct===1?this.posY+this.margin[0]:this.margin[0],me=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],ue=this.pdf.internal.pageSize.height-this.margin[0]-this.margin[2],Zt=Ct===1?0:me+(Ct-2)*ue;if(this.ctx.clip_path.length!==0){var fe=this.path;vt=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=V(vt,this.posX+this.margin[3],-Zt+qt+this.ctx.prevPageLastElemOffset),rt.call(this,A,!0),this.path=fe}if(At=JSON.parse(JSON.stringify(St)),this.path=V(At,this.posX+this.margin[3],-Zt+qt+this.ctx.prevPageLastElemOffset),M===!1||Ct===0){var ce=(Ct>yt||Ct<Wt)&&P.call(this);ce&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],zt,ue,null).clip().discardPath()),rt.call(this,A,M),ce&&this.pdf.restoreGraphicsState()}this.lineWidth=Q}this.path=St}else this.lineWidth=st,rt.call(this,A,M),this.lineWidth=Q},rt=function(A,M){if((A!=="stroke"||M||!B.call(this))&&(A==="stroke"||M||!p.call(this))){for(var D,W,$=[],Q=this.path,st=0;st<Q.length;st++){var lt=Q[st];switch(lt.type){case"begin":$.push({begin:!0}
vendor: 9,298 bytes, line 42
42);break;case"close":$.push({close:!0});break;case"mt":$.push({start:lt,deltas:[],abs:[]});break;case"lt":var vt=$.length;if(Q[st-1]&&!isNaN(Q[st-1].x)&&(D=[lt.x-Q[st-1].x,lt.y-Q[st-1].y],vt>0)){for(;vt>=0;vt--)if($[vt-1].close!==!0&&$[vt-1].begin!==!0){$[vt-1].deltas.push(D),$[vt-1].abs.push(lt);break}}break;case"bct":D=[lt.x1-Q[st-1].x,lt.y1-Q[st-1].y,lt.x2-Q[st-1].x,lt.y2-Q[st-1].y,lt.x-Q[st-1].x,lt.y-Q[st-1].y],$[$.length-1].deltas.push(D);break;case"qct":var At=Q[st-1].x+2/3*(lt.x1-Q[st-1].x),St=Q[st-1].y+2/3*(lt.y1-Q[st-1].y),Lt=lt.x+2/3*(lt.x1-lt.x),Dt=lt.y+2/3*(lt.y1-lt.y),I=lt.x,kt=lt.y;D=[At-Q[st-1].x,St-Q[st-1].y,Lt-Q[st-1].x,Dt-Q[st-1].y,I-Q[st-1].x,kt-Q[st-1].y],$[$.length-1].deltas.push(D);break;case"arc":$.push({deltas:[],abs:[],arc:!0}),Array.isArray($[$.length-1].abs)&&$[$.length-1].abs.push(lt)}}W=M?null:A==="stroke"?"stroke":"fill";for(var ae=!1,Ht=0;Ht<$.length;Ht++)if($[Ht].arc)for(var yt=$[Ht].abs,Wt=0;Wt<yt.length;Wt++){var Ct=yt[Wt];Ct.type==="arc"?Y.call(this,Ct.x,Ct.y,Ct.radius,Ct.startAngle,Ct.endAngle,Ct.counterclockwise,void 0,M,!ae):H.call(this,Ct.x,Ct.y),ae=!0}else if($[Ht].close===!0)this.pdf.internal.out("h"),ae=!1;else if($[Ht].begin!==!0){var zt=$[Ht].start.x,qt=$[Ht].start.y;q.call(this,$[Ht].deltas,zt,qt),ae=!0}W&&R.call(this,W),M&&X.call(this)}},gt=function(A){var M=this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor,D=M*(this.pdf.internal.getLineHeightFactor()-1);switch(this.ctx.textBaseline){case"bottom":return A-D;case"top":return A+M-D;case"hanging":return A+M-2*D;case"middle":return A+M/2-D;default:return A}},ut=function(A){return A+this.pdf.internal.getFontSize()/this.pdf.internal.scaleFactor*(this.pdf.internal.getLineHeightFactor()-1)};w.prototype.createLinearGradient=function(){var A=function(){};return A.colorStops=[],A.addColorStop=function(M,D){this.colorStops.push([M,D])},A.getColor=function(){return this.colorStops.length===0?"#000000":this.colorStops[0][1]},A.isCanvasGradient=!0,A},w.prototype.createPattern=function(){return this.createLinearGradient()},w.prototype.createRadialGradient=function(){return this.createLinearGradient()};var Y=function(A,M,D,W,$,Q,st,lt,vt){for(var At=at.call(this,D,W,$,Q),St=0;St<At.length;St++){var Lt=At[St];St===0&&(vt?N.call(this,Lt.x1+A,Lt.y1+M):H.call(this,Lt.x1+A,Lt.y1+M)),it.call(this,A,M,Lt.x2,Lt.y2,Lt.x3,Lt.y3,Lt.x4,Lt.y4)}lt?X.call(this):R.call(this,st)},R=function(A){switch(A){case"stroke":this.pdf.internal.out("S");break;case"fill":this.pdf.internal.out("f")}},X=function(){this.pdf.clip(),this.pdf.discardPath()},N=function(A,M){this.pdf.internal.out(e(A)+" "+r(M)+" m")},C=function(A){var M;switch(A.align){case"right":case"end":M="right";break;case"center":M="center";break;default:M="left"}var D,W,$,Q=this.pdf.getTextDimensions(A.text),st=gt.call(this,A.y),lt=ut.call(this,st)-Q.h,vt=this.ctx.transform.applyToPoint(new f(A.x,st));if(this.autoPaging){var At=this.ctx.transform.decompose(),St=new c;St=(St=(St=St.multiply(At.translate)).multiply(At.skew)).multiply(At.scale);for(var Lt=this.ctx.transform.applyToRectangle(new l(A.x,st,Q.w,Q.h)),Dt=St.applyToRectangle(new l(A.x,lt,Q.w,Q.h)),I=j.call(this,Dt),kt=[],ae=0;ae<I.length;ae+=1)kt.indexOf(I[ae])===-1&&kt.push(I[ae]);z(kt);for(var Ht=kt[0],yt=kt[kt.length-1],Wt=Ht;Wt<yt+1;Wt++){this.pdf.setPage(Wt);var Ct=Wt===1?this.posY+this.margin[0]:this.margin[0],zt=this.pdf.internal.pageSize.height-this.posY-this.margin[0]-this.margin[2],qt=this.pdf.internal.pageSize.height-this.margin[2],me=qt-this.margin[0],ue=this.pdf.internal.pageSize.width-this.margin[1],Zt=ue-this.margin[3],fe=Wt===1?0:zt+(Wt-2)*me;if(this.ctx.clip_path.length!==0){var ce=this.path;D=JSON.parse(JSON.stringify(this.ctx.clip_path)),this.path=V(D,this.posX+this.margin[3],-1*fe+Ct),rt.call(this,"fill",!0),this.path=ce}var Bt=V([JSON.parse(JSON.stringify(Dt))],this.posX+this.margin[3],-fe+Ct+this.ctx.prevPageLastElemOffset)[0];A.scale>=.01&&(W=this.pdf.internal.getFontSize(),this.pdf.setFontSize(W*A.scale),$=this.lineWidth,this.lineWidth=$*A.scale);var ne=this.autoPaging!=="text";if(ne||Bt.y+Bt.h<=qt){if(ne||Bt.y>=Ct&&Bt.x<=ue){var Tt=ne?A.text:this.pdf.splitTextToSize(A.text,A.maxWidth||ue-Bt.x)[0],We=V([JSON.parse(JSON.stringify(Lt))],this.posX+this.margin[3],-fe+Ct+this.ctx.prevPageLastElemOffset)[0],ge=ne&&(Wt>Ht||Wt<yt)&&P.call(this);ge&&(this.pdf.saveGraphicsState(),this.pdf.rect(this.margin[3],this.margin[0],Zt,me,null).clip().discardPath()),this.pdf.text(Tt,We.x,We.y,{angle:A.angle,align:M,renderingMode:A.renderingMode}),ge&&this.pdf.restoreGraphicsState()}}else Bt.y<qt&&(this.ctx.prevPageLastElemOffset+=qt-Bt.y);A.scale>=.01&&(this.pdf.setFontSize(W),this.lineWidth=$)}}else A.scale>=.01&&(W=this.pdf.internal.getFontSize(),this.pdf.setFontSize(W*A.scale),$=this.lineWidth,this.lineWidth=$*A.scale),this.pdf.text(A.text,vt.x+this.posX,vt.y+this.posY,{angle:A.angle,align:M,renderingMode:A.renderingMode,maxWidth:A.maxWidth}),A.scale>=.01&&(this.pdf.setFontSize(W),this.lineWidth=$)},H=function(A,M,D,W){D=D||0,W=W||0,this.pdf.internal.out(e(A+D)+" "+r(M+W)+" l")},q=function(A,M,D){return this.pdf.lines(A,M,D,null,null)},it=function(A,M,D,W,$,Q,st,lt){this.pdf.internal.out([t(s(D+A)),t(a(W+M)),t(s($+A)),t(a(Q+M)),t(s(st+A)),t(a(lt+M)),"c"].join(" "))},at=function(A,M,D,W){for(var $=2*Math.PI,Q=Math.PI/2;M>D;)M-=$;var st=Math.abs(D-M);st<$&&W&&(st=$-st);for(var lt=[],vt=W?-1:1,At=M;st>1e-5;){var St=At+vt*Math.min(st,Q);lt.push(ot.call(this,A,At,St)),st-=Math.abs(St-At),At=St}return lt},ot=function(A,M,D){var W=(D-M)/2,$=A*Math.cos(W),Q=A*Math.sin(W),st=$,lt=-Q,vt=st*st+lt*lt,At=vt+st*$+lt*Q,St=4/3*(Math.sqrt(2*vt*At)-At)/(st*Q-lt*$),Lt=st-St*lt,Dt=lt+St*st,I=Lt,kt=-Dt,ae=W+M,Ht=Math.cos(ae),yt=Math.sin(ae);return{x1:A*Math.cos(M),y1:A*Math.sin(M),x2:Lt*Ht-Dt*yt,y2:Lt*yt+Dt*Ht,x3:I*Ht-kt*yt,y3:I*yt+kt*Ht,x4:A*Math.cos(D),y4:A*Math.sin(D)}},et=function(A){return 180*A/Math.PI},ct=function(A,M,D,W,$,Q){var st=A+.5*(D-A),lt=M+.5*(W-M),vt=$+.5*(D-$),At=Q+.5*(W-Q),St=Math.min(A,$,st,vt),Lt=Math.max(A,$,st,vt),Dt=Math.min(M,Q,lt,At),I=Math.max(M,Q,lt,At);return new l(St,Dt,Lt-St,I-Dt)},xt=function(A,M,D,W,$,Q,st,lt){var vt,At,St,Lt,Dt,I,kt,ae,Ht,yt,Wt,Ct,zt,qt,me=D-A,ue=W-M,Zt=$-D,fe=Q-W,ce=st-$,Bt=lt-Q;for(At=0;At<41;At++)Ht=(kt=(St=A+(vt=At/40)*me)+vt*((Dt=D+vt*Zt)-St))+vt*(Dt+vt*($+vt*ce-Dt)-kt),yt=(ae=(Lt=M+vt*ue)+vt*((I=W+vt*fe)-Lt))+vt*(I+vt*(Q+vt*Bt-I)-ae),At==0?(Wt=Ht,Ct=yt,zt=Ht,qt=yt):(Wt=Math.min(Wt,Ht),Ct=Math.min(Ct,yt),zt=Math.max(zt,Ht),qt=Math.max(qt,yt));return new l(Math.round(Wt),Math.round(Ct),Math.round(zt-Wt),Math.round(qt-Ct))},bt=function(){if(this.prevLineDash||this.ctx.lineDash.length||this.ctx.lineDashOffset){var A,M,D=(A=this.ctx.lineDash,M=this.ctx.lineDashOffset,JSON.stringify({lineDash:A,lineDashOffset:M}));this.prevLineDash!==D&&(this.pdf.setLineDash(this.ctx.lineDash,this.ctx.lineDashOffset),this.prevLineDash=D)}}})(Mt.API),(function(n){var t=function(f){var l,c,d,g,w,x,p,B,P,j;for(c=[],d=0,g=(f+=l="\0\0\0\0".slice(f.length%4||4)).length;g>d;d+=4)(w=(f.charCodeAt(d)<<24)+(f.charCodeAt(d+1)<<16)+(f.charCodeAt(d+2)<<8)+f.charCodeAt(d+3))!==0?(x=(w=((w=((w=((w=(w-(j=w%85))/85)-(P=w%85))/85)-(B=w%85))/85)-(p=w%85))/85)%85,c.push(x+33,p+33,B+33,P+33,j+33)):c.push(122);return(function(S,V){for(var z=V;z>0;z--)S.pop()})(c,l.length),String.fromCharCode.apply(String,c)+"~>"},e=function(f){var l,c,d,g,w,x=String,p="length",B=255,P="charCodeAt",j="slice",S="replace";for(f[j](-2),f=f[j](0,-2)[S](/\s/g,"")[S]("z","!!!!!"),d=[],g=0,w=(f+=l="uuuuu"[j](f[p]%5||5))[p];w>g;g+=5)c=52200625*(f[P](g)-33)+614125*(f[P](g+1)-33)+7225*(f[P](g+2)-33)+85*(f[P](g+3)-33)+(f[P](g+4)-33),d.push(B&c>>24,B&c>>16,B&c>>8,B&c);return(function(V,z){for(var T=z;T>0;T--)V.pop()})(d,l[p]),x.fromCharCode.apply(x,d)},r=function(f){return f.split("").map(function(l){return("0"+l.charCodeAt().toString(16)).slice(-2)}).join("")+">"},s=function(f){var l=new RegExp(/^([0-9A-Fa-f]{2})+$/);if((f=f.replace(/\s/g,"")).indexOf(">")!==-1&&(f=f.substr(0,f.indexOf(">"))),f.length%2&&(f+="0"),l.test(f)===!1)return"";for(var c="",d=0;d<f.length;d+=2)c+=String.fromCharCode("0x"+(f[d]+f[d+1]));return c},a=function(f){for(var l=new Uint8Array(f.length),c=f.length;c--;)l[c]=f.charCodeAt(c);return(l=ol(l)).reduce(function(d,g){return d+String.fromCharCode(g)},"")};n.processDataByFilters=function(f,l){var c=0,d=f||"",g=[];for(typeof(l=l||[])=="string"&&(l=[l]),c=0;c<l.length;c+=1)switch(l[c]){case"ASCII85Decode":case"/ASCII85Decode":d=e(d),g.push("/ASCII85Encode");break;case"ASCII85Encode":case"/ASCII85Encode":d=t(d),g.push("/ASCII85Decode");break;case"ASCIIHexDecode":case"/ASCIIHexDecode":d=s(d),g.push("/ASCIIHexEncode");break;case"ASCIIHexEncode":case"/ASCIIHexEncode":d=r(d),g.push("/ASCIIHexDecode");break;case"FlateEncode":case"/FlateEncode":d=a(d),g.push("/FlateDecode");break;default:throw new Error('The filter: "'+l[c]+'" is not implemented')}return{data:d,reverseChain:g.reverse().join(" ")}}})(Mt.API),(function(n){n.loadFile=function(t,e,r){return(function(s,a,f){a=a!==!1,f=typeof f=="function"?f:function(){};var l=void 0;try{l=(function(c,d,g){var w=new XMLHttpRequest,x=0,p=function(B){var P=B.length,j=[],S=String.fromCharCode;for(x=0;x<P;x+=1)j.push(S(255&B.charCodeAt(x)));return j.join("")};if(w.open("GET",c,!d),w.overrideMimeType("text/plain;
42 charset=x-user-defined"),d===!1&&(w.onload=function(){w.status===200?g(p(this.responseText)):g(void 0)}),w.send(null),d&&w.status===200)return p(w.responseText)})(s,a,f)}catch{}return l})(t,e,r)},n.allowFsRead=void 0,n.loadImageFile=n.loadFile})(Mt.API),(function(n){function t(){return($t.html2canvas?Promise.resolve($t.html2canvas):Mo(()=>import("./html2canvas.esm-3ybT_T2r.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load html2canvas: "+l))}).then(function(l){return l.default?l.default:l})}function e(){return($t.DOMPurify?Promise.resolve($t.DOMPurify):Mo(()=>import("./purify.es-Cz4mVeUR.js"),[])).catch(function(l){return Promise.reject(new Error("Could not load dompurify: "+l))}).then(function(l){return l.default?l.default:l})}var r=function(l){var c=_e(l);return c==="undefined"?"undefined":c==="string"||l instanceof String?"string":c==="number"||l instanceof Number?"number":c==="function"||l instanceof Function?"function":l&&l.constructor===Array?"array":l&&l.nodeType===1?"element":c==="object"?"object":"unknown"},s=function(l,c){var d=document.createElement(l);for(var g in c.className&&(d.className=c.className),c.innerHTML&&c.dompurify&&(d.innerHTML=c.dompurify.sanitize(c.innerHTML)),c.style)d.style[g]=c.style[g];return d},a=function l(c,d){for(var g=c.nodeType===3?document.createTextNode(c.nodeValue):c.cloneNode(!1),w=c.firstChild;w;w=w.nextSibling)d!==!0&&w.nodeType===1&&w.nodeName==="SCRIPT"||g.appendChild(l(w,d));return c.nodeType===1&&(c.nodeName==="CANVAS"?(g.width=c.width,g.height=c.height,g.getContext("2d").drawImage(c,0,0)):c.nodeName!=="TEXTAREA"&&c.nodeName!=="SELECT"||(g.value=c.value),g.addEventListener("load",function(){g.scrollTop=c.scrollTop,g.scrollLeft=c.scrollLeft},!0)),g},f=function l(c){var d=Object.assign(l.convert(Promise.resolve()),JSON.parse(JSON.stringify(l.template))),g=l.convert(Promise.resolve(),d);return(g=g.setProgress(1,l,1,[l])).set(c)};(f.prototype=Object.create(Promise.prototype)).constructor=f,f.convert=function(l,c){return l.__proto__=c||f.prototype,l},f.template={prop:{src:null,container:null,overlay:null,canvas:null,img:null,pdf:null,pageSize:null,callback:function(){}},progress:{val:0,state:null,n:0,stack:[]},opt:{filename:"file.pdf",margin:[0,0,0,0],enableLinks:!0,x:0,y:0,html2canvas:{},jsPDF:{},backgroundColor:"transparent"}},f.prototype.from=function(l,c){return this.then(function(){switch(c=c||(function(d){switch(r(d)){case"string":return"string";case"element":return d.nodeName.toLowerCase()==="canvas"?"canvas":"element";default:return"unknown"}})(l),c){case"string":return this.then(e).then(function(d){return this.set({src:s("div",{innerHTML:l,dompurify:d})})});case"element":return this.set({src:l});case"canvas":return this.set({canvas:l});case"img":return this.set({img:l});default:return this.error("Unknown source type.")}})},f.prototype.to=function(l){switch(l){case"container":return this.toContainer();case"canvas":return this.toCanvas();case"img":return this.toImg();case"pdf":return this.toPdf();default:return this.error("Invalid target.")}},f.prototype.toContainer=function(){return this.thenList([function(){return this.prop.src||this.error("Cannot duplicate - no source HTML.")},function(){return this.prop.pageSize||this.setPageSize()}]).then(function(){var l={position:"relative",display:"inline-block",width:(typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?Math.max(this.prop.src.clientWidth,this.prop.src.scrollWidth,this.prop.src.offsetWidth):this.opt.windowWidth)+"px",left:0,right:0,top:0,margin:"auto",backgroundColor:this.opt.backgroundColor},c=a(this.prop.src,this.opt.html2canvas.javascriptEnabled);c.tagName==="BODY"&&(l.height=Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)+"px"),this.prop.overlay=s("div",{className:"html2pdf__overlay",style:{position:"fixed",overflow:"hidden",zIndex:1e3,left:"-100000px",right:0,bottom:0,top:0}}),this.prop.container=s("div",{className:"html2pdf__container",style:l}),this.prop.container.appendChild(c),this.prop.container.firstChild.appendChild(s("div",{style:{clear:"both",border:"0 none transparent",margin:0,padding:0,height:0}})),this.prop.container.style.float="none",this.prop.overlay.appendChild(this.prop.container),document.body.appendChild(this.prop.overlay),this.prop.container.firstChild.style.position="relative",this.prop.container.height=Math.max(this.prop.container.firstChild.clientHeight,this.prop.container.firstChild.scrollHeight,this.prop.container.firstChild.offsetHeight)+"px"})},f.prototype.toCanvas=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(t).then(function(c){var d=Object.assign({},this.opt.html2canvas);return delete d.onrendered,c(this.prop.container,d)}).then(function(c){(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},f.prototype.toContext2d=function(){var l=[function(){return document.body.contains(this.prop.container)||this.toContainer()}];return this.thenList(l).then(t).then(function(c){var d=this.opt.jsPDF,g=this.opt.fontFaces,w=typeof this.opt.width!="number"||isNaN(this.opt.width)||typeof this.opt.windowWidth!="number"||isNaN(this.opt.windowWidth)?1:this.opt.width/this.opt.windowWidth,x=Object.assign({async:!0,allowTaint:!0,scale:w,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 x.onrendered,d.context2d.autoPaging=this.opt.autoPaging===void 0||this.opt.autoPaging,d.context2d.posX=this.opt.x,d.context2d.posY=this.opt.y,d.context2d.margin=this.opt.margin,d.context2d.fontFaces=g,g)for(var p=0;p<g.length;++p){var B=g[p],P=B.src.find(function(j){return j.format==="truetype"});P&&d.addFont(P.url,B.ref.name,B.ref.style)}
vendor: 23,387 bytes, lines 42-48
42return x.windowHeight=x.windowHeight||0,x.windowHeight=x.windowHeight==0?Math.max(this.prop.container.clientHeight,this.prop.container.scrollHeight,this.prop.container.offsetHeight):x.windowHeight,d.context2d.save(!0),c(this.prop.container,x)}).then(function(c){this.opt.jsPDF.context2d.restore(!0),(this.opt.html2canvas.onrendered||function(){})(c),this.prop.canvas=c,document.body.removeChild(this.prop.overlay)})},f.prototype.toImg=function(){return this.thenList([function(){return this.prop.canvas||this.toCanvas()}]).then(function(){var l=this.prop.canvas.toDataURL("image/"+this.opt.image.type,this.opt.image.quality);this.prop.img=document.createElement("img"),this.prop.img.src=l})},f.prototype.toPdf=function(){return this.thenList([function(){return this.toContext2d()}]).then(function(){this.prop.pdf=this.prop.pdf||this.opt.jsPDF})},f.prototype.output=function(l,c,d){return(d=d||"pdf").toLowerCase()==="img"||d.toLowerCase()==="image"?this.outputImg(l,c):this.outputPdf(l,c)},f.prototype.outputPdf=function(l,c){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){return this.prop.pdf.output(l,c)})},f.prototype.outputImg=function(l){return this.thenList([function(){return this.prop.img||this.toImg()}]).then(function(){switch(l){case void 0:case"img":return this.prop.img;case"datauristring":case"dataurlstring":return this.prop.img.src;case"datauri":case"dataurl":return document.location.href=this.prop.img.src;default:throw'Image output type "'+l+'" is not supported.'}})},f.prototype.save=function(l){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).set(l?{filename:l}:null).then(function(){this.prop.pdf.save(this.opt.filename)})},f.prototype.doCallback=function(){return this.thenList([function(){return this.prop.pdf||this.toPdf()}]).then(function(){this.prop.callback(this.prop.pdf)})},f.prototype.set=function(l){if(r(l)!=="object")return this;var c=Object.keys(l||{}).map(function(d){if(d in f.template.prop)return function(){this.prop[d]=l[d]};switch(d){case"margin":return this.setMargin.bind(this,l.margin);case"jsPDF":return function(){return this.opt.jsPDF=l.jsPDF,this.setPageSize()};case"pageSize":return this.setPageSize.bind(this,l.pageSize);default:return function(){this.opt[d]=l[d]}}},this);return this.then(function(){return this.thenList(c)})},f.prototype.get=function(l,c){return this.then(function(){var d=l in f.template.prop?this.prop[l]:this.opt[l];return c?c(d):d})},f.prototype.setMargin=function(l){return this.then(function(){switch(r(l)){case"number":l=[l,l,l,l];case"array":if(l.length===2&&(l=[l[0],l[1],l[0],l[1]]),l.length===4)break;default:return this.error("Invalid margin array.")}this.opt.margin=l}).then(this.setPageSize)},f.prototype.setPageSize=function(l){function c(d,g){return Math.floor(d*g/72*96)}return this.then(function(){(l=l||Mt.getPageSize(this.opt.jsPDF)).hasOwnProperty("inner")||(l.inner={width:l.width-this.opt.margin[1]-this.opt.margin[3],height:l.height-this.opt.margin[0]-this.opt.margin[2]},l.inner.px={width:c(l.inner.width,l.k),height:c(l.inner.height,l.k)},l.inner.ratio=l.inner.height/l.inner.width),this.prop.pageSize=l})},f.prototype.setProgress=function(l,c,d,g){return l!=null&&(this.progress.val=l),c!=null&&(this.progress.state=c),d!=null&&(this.progress.n=d),g!=null&&(this.progress.stack=g),this.progress.ratio=this.progress.val/this.progress.state,this},f.prototype.updateProgress=function(l,c,d,g){return this.setProgress(l?this.progress.val+l:null,c||null,d?this.progress.n+d:null,g?this.progress.stack.concat(g):null)},f.prototype.then=function(l,c){var d=this;return this.thenCore(l,c,function(g,w){return d.updateProgress(null,null,1,[g]),Promise.prototype.then.call(this,function(x){return d.updateProgress(null,g),x}).then(g,w).then(function(x){return d.updateProgress(1),x})})},f.prototype.thenCore=function(l,c,d){d=d||Promise.prototype.then;var g=this;l&&(l=l.bind(g)),c&&(c=c.bind(g));var w=Promise.toString().indexOf("[native code]")!==-1&&Promise.name==="Promise"?g:f.convert(Object.assign({},g),Promise.prototype),x=d.call(w,l,c);return f.convert(x,g.__proto__)},f.prototype.thenExternal=function(l,c){return Promise.prototype.then.call(this,l,c)},f.prototype.thenList=function(l){var c=this;return l.forEach(function(d){c=c.thenCore(d)}),c},f.prototype.catch=function(l){l&&(l=l.bind(this));var c=Promise.prototype.catch.call(this,l);return f.convert(c,this)},f.prototype.catchExternal=function(l){return Promise.prototype.catch.call(this,l)},f.prototype.error=function(l){return this.then(function(){throw new Error(l)})},f.prototype.using=f.prototype.set,f.prototype.saveAs=f.prototype.save,f.prototype.export=f.prototype.output,f.prototype.run=f.prototype.then,Mt.getPageSize=function(l,c,d){if(_e(l)==="object"){var g=l;l=g.orientation,c=g.unit||c,d=g.format||d}c=c||"mm",d=d||"a4",l=(""+(l||"P")).toLowerCase();var w,x=(""+d).toLowerCase(),p={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};switch(c){case"pt":w=1;break;case"mm":w=72/25.4;break;case"cm":w=72/2.54;break;case"in":w=72;break;case"px":w=.75;break;case"pc":case"em":w=12;break;case"ex":w=6;break;default:throw"Invalid unit: "+c}var B,P=0,j=0;if(p.hasOwnProperty(x))P=p[x][1]/w,j=p[x][0]/w;else try{P=d[1],j=d[0]}catch{throw new Error("Invalid format: "+d)}if(l==="p"||l==="portrait")l="p",j>P&&(B=j,j=P,P=B);else{if(l!=="l"&&l!=="landscape")throw"Invalid orientation: "+l;l="l",P>j&&(B=j,j=P,P=B)}return{width:j,height:P,unit:c,k:w,orientation:l}},n.html=function(l,c){(c=c||{}).callback=c.callback||function(){},c.html2canvas=c.html2canvas||{},c.html2canvas.canvas=c.html2canvas.canvas||this.canvas,c.jsPDF=c.jsPDF||this,c.fontFaces=c.fontFaces?c.fontFaces.map(tl):null;var d=new f(c);return c.worker?d:d.from(l).doCallback()}})(Mt.API),Mt.API.addJS=function(n){var t,e,r=(function(s){for(var a="",f=0;f<s.length;f++){var l=s[f];if(l==="("||l===")"){for(var c=0,d=f-1;d>=0&&s[d]==="\\";d--)c++;a+=c%2==0?"\\"+l:l}else a+=l}return a})(n);return this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/Names [(EmbeddedJS) "+(t+1)+" 0 R]"),this.internal.out(">>"),this.internal.out("endobj"),e=this.internal.newObject(),this.internal.out("<<"),this.internal.out("/S /JavaScript"),this.internal.out("/JS ("+r+")"),this.internal.out(">>"),this.internal.out("endobj")}),this.internal.events.subscribe("putCatalog",function(){t!==void 0&&e!==void 0&&this.internal.out("/Names <</JavaScript "+t+" 0 R>>")}),this},(function(n){var t;n.events.push(["postPutResources",function(){var e=this,r=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var s=e.outline.render().split(/\r\n/),a=0;a<s.length;a++){var f=s[a],l=r.exec(f);if(l!=null){var c=l[1];e.internal.newObjectDeferredBegin(c,!1)}e.internal.write(f)}if(this.outline.createNamedDestinations){var d=this.internal.pages.length,g=[];for(a=0;a<d;a++){var w=e.internal.newObject();g.push(w);var x=e.internal.getPageInfo(a+1);e.internal.write("<< /D["+x.objId+" 0 R /XYZ null null null]>> endobj")}var p=e.internal.newObject();for(e.internal.write("<< /Names [ "),a=0;a<g.length;a++)e.internal.write("(page_"+(a+1)+")"+g[a]+" 0 R");e.internal.write(" ] >>","endobj"),t=e.internal.newObject(),e.internal.write("<< /Dests "+p+" 0 R"),e.internal.write(">>","endobj")}}]),n.events.push(["putCatalog",function(){var e=this;e.outline.root.children.length>0&&(e.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&e.internal.write("/Names "+t+" 0 R"))}]),n.events.push(["initialized",function(){var e=this;e.outline={createNamedDestinations:!1,root:{children:[]}},e.outline.add=function(r,s,a){var f={title:s,options:a,children:[]};return r==null&&(r=this.root),r.children.push(f),f},e.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=e,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},e.outline.genIds_r=function(r){r.id=e.internal.newObjectDeferred();for(var s=0;s<r.children.length;s++)this.genIds_r(r.children[s])},e.outline.renderRoot=function(r){this.objStart(r),this.line("/Type /Outlines"),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1]))),this.line("/Count "+this.count_r({count:0},r)),this.objEnd()},e.outline.renderItems=function(r){for(var s=this.ctx.pdf.internal.getVerticalCoordinateString,a=0;a<r.children.length;a++){var f=r.children[a];this.objStart(f),this.line("/Title "+this.makeString(f.title)),this.line("/Parent "+this.makeRef(r)),a>0&&this.line("/Prev "+this.makeRef(r.children[a-1])),a<r.children.length-1&&this.line("/Next "+this.makeRef(r.children[a+1])),f.children.length>0&&(this.line("/First "+this.makeRef(f.children[0])),this.line("/Last "+this.makeRef(f.children[f.children.length-1])));var l=this.count=this.count_r({count:0},f);if(l>0&&this.line("/Count "+l),f.options&&f.options.pageNumber){var c=e.internal.getPageInfo(f.options.pageNumber);this.line("/Dest ["+c.objId+" 0 R /XYZ 0 "+s(0)+" 0]")}this.objEnd()}for(var d=0;d<r.children.length;d++)this.renderItems(r.children[d])},e.outline.line=function(r){this.ctx.val+=r+`\r
43`},e.outline.makeRef=function(r){return r.id+" 0 R"},e.outline.makeString=function(r){return"("+e.internal.pdfEscape(r)+")"},e.outline.objStart=function(r){this.ctx.val+=`\r
44`+r.id+` 0 obj\r
45<<\r
46`},e.outline.objEnd=function(){this.ctx.val+=`>> \r
47endobj\r
48`},e.outline.count_r=function(r,s){for(var a=0;a<s.children.length;a++)r.count++,this.count_r(r,s.children[a]);return r.count}}])})(Mt.API),(function(n){var t=[192,193,194,195,196,197,198,199];n.processJPEG=function(e,r,s,a,f,l){var c,d=this.decode.DCT_DECODE,g=null;if(typeof e=="string"||this.__addimage__.isArrayBuffer(e)||this.__addimage__.isArrayBufferView(e)){switch(e=f||e,e=this.__addimage__.isArrayBuffer(e)?new Uint8Array(e):e,c=(function(w){for(var x,p=256*w.charCodeAt(4)+w.charCodeAt(5),B=w.length,P={width:0,height:0,numcomponents:1},j=4;j<B;j+=2){if(j+=p,t.indexOf(w.charCodeAt(j+1))!==-1){x=256*w.charCodeAt(j+5)+w.charCodeAt(j+6),P={width:256*w.charCodeAt(j+7)+w.charCodeAt(j+8),height:x,numcomponents:w.charCodeAt(j+9)};break}p=256*w.charCodeAt(j+2)+w.charCodeAt(j+3)}return P})(e=this.__addimage__.isArrayBufferView(e)?this.__addimage__.arrayBufferToBinaryString(e):e),c.numcomponents){case 1:l=this.color_spaces.DEVICE_GRAY;break;case 4:l=this.color_spaces.DEVICE_CMYK;break;case 3:l=this.color_spaces.DEVICE_RGB}g={data:e,width:c.width,height:c.height,colorSpace:l,bitsPerComponent:8,filter:d,index:r,alias:s}}return g}})(Mt.API),Mt.API.processPNG=function(n,t,e,r){if(this.__addimage__.isArrayBuffer(n)&&(n=new Uint8Array(n)),this.__addimage__.isArrayBufferView(n)){var s,a=x2(n,{checkCrc:!0}),f=a.width,l=a.height,c=a.channels,d=a.palette,g=a.depth;s=d&&c===1?(function(Y){for(var R=Y.width,X=Y.height,N=Y.data,C=Y.palette,H=Y.depth,q=!1,it=[],at=[],ot=void 0,et=!1,ct=0,xt=0;xt<C.length;xt++){var bt=bu(C[xt],4),A=bt[0],M=bt[1],D=bt[2],W=bt[3];it.push(A,M,D),W!=null&&(W===0?(ct++,at.length<1&&at.push(xt)):W<255&&(et=!0))}if(et||ct>1){q=!0,at=void 0;var $=R*X;ot=new Uint8Array($);for(var Q=new DataView(N.buffer),st=0;st<$;st++){var lt=nl(Q,st,H),vt=bu(C[lt],4)[3];ot[st]=vt}}else ct===0&&(at=void 0);return{colorSpace:"Indexed",colorsPerPixel:1,sMaskBitsPerComponent:q?8:void 0,colorBytes:N,alphaBytes:ot,needSMask:q,palette:it,mask:at}})(a):c===2||c===4?(function(Y){for(var R=Y.data,X=Y.width,N=Y.height,C=Y.channels,H=Y.depth,q=C===2?"DeviceGray":"DeviceRGB",it=C-1,at=X*N,ot=it,et=at*ot,ct=1*at,xt=Math.ceil(et*H/8),bt=Math.ceil(ct*H/8),A=new Uint8Array(xt),M=new Uint8Array(bt),D=new DataView(R.buffer),W=new DataView(A.buffer),$=new DataView(M.buffer),Q=!1,st=0;st<at;st++){for(var lt=st*C,vt=0;vt<ot;vt++)xc(W,nl(D,lt+vt,H),st*ot+vt,H);var At=nl(D,lt+ot,H);At<(1<<H)-1&&(Q=!0),xc($,At,1*st,H)}return{colorSpace:q,colorsPerPixel:it,sMaskBitsPerComponent:Q?H:void 0,colorBytes:A,alphaBytes:M,needSMask:Q}})(a):(function(Y){var R=Y.data,X=Y.channels===1?"DeviceGray":"DeviceRGB";return{colorSpace:X,colorsPerPixel:X==="DeviceGray"?1:3,colorBytes:R instanceof Uint16Array?(function(N){for(var C=N.length,H=new Uint8Array(2*C),q=new DataView(H.buffer,H.byteOffset,H.byteLength),it=0;it<C;it++)q.setUint16(2*it,N[it],!1);return H})(R):R,needSMask:!1}})(a);var w,x,p,B=s,P=B.colorSpace,j=B.colorsPerPixel,S=B.sMaskBitsPerComponent,V=B.colorBytes,z=B.alphaBytes,T=B.needSMask,rt=B.palette,gt=B.mask,ut=null;return r!==Mt.API.image_compression.NONE&&typeof ol=="function"?(ut=(function(Y){var R;switch(Y){case Mt.API.image_compression.FAST:R=11;break;case Mt.API.image_compression.MEDIUM:R=13;break;case Mt.API.image_compression.SLOW:R=14;break;default:R=12}return R})(r),w=this.decode.FLATE_DECODE,x="/Predictor ".concat(ut," /Colors ").concat(j," /BitsPerComponent ").concat(g," /Columns ").concat(f),n=bc(V,Math.ceil(f*j*g/8),j,g,r),T&&(p=bc(z,Math.ceil(f*S/8),1,S,r))):(w=void 0,x=void 0,n=V,T&&(p=z)),(this.__addimage__.isArrayBuffer(n)||this.__addimage__.isArrayBufferView(n))&&(n=this.__addimage__.arrayBufferToBinaryString(n)),(p&&this.__addimage__.isArrayBuffer(p)||this.__addimage__.isArrayBufferView(p))&&(p=this.__addimage__.arrayBufferToBinaryString(p)),{alias:e,data:n,index:t,filter:w,decodeParameters:x,transparency:gt,palette:rt,sMask:p,predictor:ut,width:f,height:l,bitsPerComponent:g,sMaskBitsPerComponent:S,colorSpace:P}}},(function(n){n.processGIF89A=function(t,e,r,s){var a=new V2(t),f=a.width,l=a.height,c=[];a.decodeAndBlitFrameRGBA(0,c);var d={data:c,width:f,height:l},g=new rl(100).encode(d,100);return n.processJPEG.call(this,g,e,r,s)},n.processGIF87A=n.processGIF89A})(Mt.API),ir.prototype.parseHeader=function(){if(this.fileSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.reserved=this.datav.getUint32(this.pos,!0),this.pos+=4,this.offset=this.datav.getUint32(this.pos,!0),this.pos+=4,this.headerSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.width=this.datav.getUint32(this.pos,!0),this.pos+=4,this.height=this.datav.getInt32(this.pos,!0),this.pos+=4,this.planes=this.datav.getUint16(this.pos,!0),this.pos+=2,this.bitPP=this.datav.getUint16(this.pos,!0),this.pos+=2,this.compress=this.datav.getUint32(this.pos,!0),this.pos+=4,this.rawSize=this.datav.getUint32(this.pos,!0),this.pos+=4,this.hr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.vr=this.datav.getUint32(this.pos,!0),this.pos+=4,this.colors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.importantColors=this.datav.getUint32(this.pos,!0),this.pos+=4,this.bitPP===16&&this.is_with_alpha&&(this.bitPP=15),this.bitPP<15){var n=this.colors===0?1<<this.bitPP:this.colors;this.palette=new Array(n);for(var t=0;t<n;t++){var e=this.datav.getUint8(this.pos++,!0),r=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0);this.palette[t]={red:s,green:r,blue:e,quad:a}}}this.height<0&&(this.height*=-1,this.bottom_up=!1)},ir.prototype.parseBGR=function(){this.pos=this.offset;var n="bit"+this.bitPP,t=this.width*this.height*4;if(t>536870912)throw new Error("Image dimensions exceed 512MB, which is too large.");this.data=new Uint8Array(t);try{this[n]()}catch(e){Le.log("bit decode error:"+e)}},ir.prototype.bit1=function(){var n,t=Math.ceil(this.width/8),e=t%4;for(n=this.height-1;n>=0;n--){for(var r=this.bottom_up?n:this.height-1-n,s=0;s<t;s++)for(var a=this.datav.getUint8(this.pos++,!0),f=r*this.width*4+8*s*4,l=0;l<8&&8*s+l<this.width;l++){var c=this.palette[a>>7-l&1];this.data[f+4*l]=c.blue,this.data[f+4*l+1]=c.green,this.data[f+4*l+2]=c.red,this.data[f+4*l+3]=255}e!==0&&(this.pos+=4-e)}},ir.prototype.bit4=function(){for(var n=Math.ceil(this.width/2),t=n%4,e=this.height-1;e>=0;e--){for(var r=this.bottom_up?e:this.height-1-e,s=0;s<n;s++){var a=this.datav.getUint8(this.pos++,!0),f=r*this.width*4+2*s*4,l=a>>4,c=15&a,d=this.palette[l];if(this.data[f]=d.blue,this.data[f+1]=d.green,this.data[f+2]=d.red,this.data[f+3]=255,2*s+1>=this.width)break;d=this.palette[c],this.data[f+4]=d.blue,this.data[f+4+1]=d.green,this.data[f+4+2]=d.red,this.data[f+4+3]=255}t!==0&&(this.pos+=4-t)}},ir.prototype.bit8=function(){for(var n=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 s=this.datav.getUint8(this.pos++,!0),a=e*this.width*4+4*r;if(s<this.palette.length){var f=this.palette[s];this.data[a]=f.red,this.data[a+1]=f.green,this.data[a+2]=f.blue,this.data[a+3]=255}else this.data[a]=255,this.data[a+1]=255,this.data[a+2]=255,this.data[a+3]=255}n!==0&&(this.pos+=4-n)}},ir.prototype.bit15=function(){for(var n=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,s=0;s<this.width;s++){var a=this.datav.getUint16(this.pos,!0);this.pos+=2;var f=(a&t)/t*255|0,l=(a>>5&t)/t*255|0,c=(a>>10&t)/t*255|0,d=a>>15?255:0,g=r*this.width*4+4*s;this.data[g]=c,this.data[g+1]=l,this.data[g+2]=f,this.data[g+3]=d}this.pos+=n}},ir.prototype.bit16=function(){for(var n=this.width%3,t=parseInt("11111",2),e=parseInt("111111",2),r=this.height-1;r>=0;r--){for(var s=this.bottom_up?r:this.height-1-r,a=0;a<this.width;a++){var f=this.datav.getUint16(this.pos,!0);this.pos+=2;var l=(f&t)/t*255|0,c=(f>>5&e)/e*255|0,d=(f>>11)/t*255|0,g=s*this.width*4+4*a;this.data[g]=d,this.data[g+1]=c,this.data[g+2]=l,this.data[g+3]=255}this.pos+=n}},ir.prototype.bit24=function(){for(var n=this.height-1;n>=0;n--){for(var t=this.bottom_up?n:this.height-1-n,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),f=t*this.width*4+4*e;this.data[f]=a,this.data[f+1]=s,this.data[f+2]=r,this.data[f+3]=255}this.pos+=this.width%4}},ir.prototype.bit32=function(){for(var n=this.height-1;n>=0;n--)for(var t=this.bottom_up?n:this.height-1-n,e=0;e<this.width;e++){var r=this.datav.getUint8(this.pos++,!0),s=this.datav.getUint8(this.pos++,!0),a=this.datav.getUint8(this.pos++,!0),f=this.datav.getUint8(this.pos++,!0),l=t*this.width*4+4*e;this.data[l]=a,this.data[l+1]=s,this.data[l+2]=r,this.data[l+3]=f}},ir.prototype.getData=function(){return this.data},(function(n){n.processBMP=function(t,e,r,s){var a=new ir(t,!1),f=a.width,l=a.height,c={data:a.getData(),width:f,height:l},d=new rl(100).encode(c,100);return n.processJPEG.call(this,d,e,r,s)}})(Mt.API),Lc.prototype.getData=function(){return this.data},(function(n){n.processWEBP=function(t,e,r,s){var a=new Lc(t),f=a.width,l=a.height,c={data:a.getData(),width:f,height:l},d=new rl(100).encode(c,100);return n.processJPEG.call(this,d,e,r,s)}})(Mt.API),Mt.API.processRGBA=function(n,t,e){for(var r=n.data,s=r.length,a=new Uint8Array(s/4*3),f=new Uint8Array(s/4),l=0,c=0,d=0;d<s;d+=4){var g=r[d],w=r[d+1],x=r[d+2],p=r[d+3];a[l++]=g,a[l++]=w,a[l++]=x,f[c++]=p}var B=this.__addimage__.arrayBufferToBinaryString(a);return{alpha:this.__addimage__.arrayBufferToBinaryString(f),data:B,index:t,alias:e,colorSpace:"DeviceRGB",bitsPerComponent:8,width:n.width,height:n.height}},Mt.API.setLanguage=function(n){return this.internal.languageSettings===void 0&&(this.internal.languageSettings={},this.internal.languageSettings.isSubscribed=!1),{af:"Afrikaans",sq:"Albanian",ar:"Arabic (Standard)","ar-DZ":"Arabic (Algeria)","ar-BH":"Arabic (Bahrain)","ar-EG":"Arabic (Egypt)","ar-IQ":"Arabic (Iraq)","ar-JO":"Arabic (Jordan)","ar-KW":"Arabic (Kuwait)","ar-LB":"Arabic (Lebanon)","ar-LY":"Arabic (Libya)","ar-MA":"Arabic (Morocco)","ar-OM":"Arabic (Oman)","ar-QA":"Arabic (Qatar)","ar-SA":"Arabic (Saudi Arabia)","ar-SY":"Arabic (Syria)","ar-TN":"Arabic (Tunisia)","ar-AE":"Arabic (U.A.E.)","ar-YE":"Arabic (Yemen)",an:"Aragonese",hy:"Armenian",as:"Assamese",ast:"Asturian",az:"Azerbaijani",eu:"Basque",be:"Belarusian",bn:"Bengali",bs:"Bosnian",br:"Breton",bg:"Bulgarian",my:"Burmese",ca:"Catalan",ch:"Chamorro",ce:"Chechen",zh:"Chinese","zh-HK":"Chinese (Hong Kong)","zh-CN":"Chinese (PRC)","zh-SG":"Chinese (Singapore)","zh-TW":"Chinese (Taiwan)",cv:"Chuvash",co:"Corsican",cr:"Cree",hr:"Croatian",cs:"Czech",da:"Danish",nl:"Dutch (Standard)","nl-BE":"Dutch (Belgian)",en:"English","en-AU":"English (Australia)","en-BZ":"English (Belize)","en-CA":"English (Canada)","en-IE":"English (Ireland)","en-JM":"English (Jamaica)","en-NZ":"English (New Zealand)","en-PH":"English (Philippines)","en-ZA":"English (South Africa)","en-TT":"English (Trinidad & Tobago)","en-GB":"English (United Kingdom)","en-US":"English (United States)","en-ZW":"English (Zimbabwe)",eo:"Esperanto",et:"Estonian",fo:"Faeroese",fj:"Fijian",fi:"Finnish",fr:"French (Standard)","fr-BE":"French (Belgium)","fr-CA":"French (Canada)","fr-FR":"French (France)","fr-LU":"French (Luxembourg)","fr-MC":"French (Monaco)","fr-CH":"French (Switzerland)",fy:"Frisian",fur:"Friulian",gd:"Gaelic (Scots)","gd-IE":"Gaelic (Irish)",gl:"Galacian",ka:"Georgian",de:"German (Standard)","de-AT":"German (Austria)","de-DE":"German (Germany)","de-LI":"German (Liechtenstein)","de-LU":"German (Luxembourg)","de-CH":"German (Switzerland)",el:"Greek",gu:"Gujurati",ht:"Haitian",he:"Hebrew",hi:"Hindi",hu:"Hungarian",is:"Icelandic",id:"Indonesian",iu:"Inuktitut",ga:"Irish",it:"Italian (Standard)","it-CH":"Italian (Switzerland)",ja:"Japanese",kn:"Kannada",ks:"Kashmiri",kk:"Kazakh",km:"Khmer",ky:"Kirghiz",tlh:"Klingon",ko:"Korean","ko-KP":"Korean (North Korea)","ko-KR":"Korean (South Korea)",la:"Latin",lv:"Latvian",lt:"Lithuanian",lb:"Luxembourgish",mk:"North Macedonia",ms:"Malay",ml:"Malayalam",mt:"Maltese",mi:"Maori",mr:"Marathi",mo:"Moldavian",nv:"Navajo",ng:"Ndonga",ne:"Nepali",no:"Norwegian",nb:"Norwegian (Bokmal)",nn:"Norwegian (Nynorsk)",oc:"Occitan",or:"Oriya",om:"Oromo",fa:"Persian","fa-IR":"Persian/Iran",pl:"Polish",pt:"Portuguese","pt-BR":"Portuguese (Brazil)",pa:"Punjabi","pa-IN":"Punjabi (India)","pa-PK":"Punjabi (Pakistan)",qu:"Quechua",rm:"Rhaeto-Romanic",ro:"Romanian","ro-MO":"Romanian (Moldavia)",ru:"Russian","ru-MO":"Russian (Moldavia)",sz:"Sami (Lappish)",sg:"Sango",sa:"Sanskrit",sc:"Sardinian",sd:"Sindhi",si:"Singhalese",sr:"Serbian",sk:"Slovak",sl:"Slovenian",so:"Somani",sb:"Sorbian",es:"Spanish","es-AR":"Spanish (Argentina)","es-BO":"Spanish (Bolivia)","es-CL":"Spanish (Chile)","es-CO":"Spanish (Colombia)","es-CR":"Spanish (Costa Rica)","es-DO":"Spanish (Dominican Republic)","es-EC":"Spanish (Ecuador)","es-SV":"Spanish (El Salvador)","es-GT":"Spanish (Guatemala)","es-HN":"Spanish (Honduras)","es-MX":"Spanish (Mexico)","es-NI":"Spanish (Nicaragua)","es-PA":"Spanish (Panama)","es-PY":"Spanish (Paraguay)","es-PE":"Spanish (Peru)","es-PR":"Spanish (Puerto Rico)","es-ES":"Spanish (Sp
48ain)","es-UY":"Spanish (Uruguay)","es-VE":"Spanish (Venezuela)",sx:"Sutu",sw:"Swahili",sv:"Swedish","sv-FI":"Swedish (Finland)","sv-SV":"Swedish (Sweden)",ta:"Tamil",tt:"Tatar",te:"Teluga",th:"Thai",tig:"Tigre",ts:"Tsonga",tn:"Tswana",tr:"Turkish",tk:"Turkmen",uk:"Ukrainian",hsb:"Upper Sorbian",ur:"Urdu",ve:"Venda",vi:"Vietnamese",vo:"Volapuk",wa:"Walloon",cy:"Welsh",xh:"Xhosa",ji:"Yiddish",zu:"Zulu"}[n]!==void 0&&(this.internal.languageSettings.languageCode=n,this.internal.languageSettings.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){this.internal.write("/Lang ("+this.internal.languageSettings.languageCode+")")}),this.internal.languageSettings.isSubscribed=!0)),this},oa=Mt.API,Us=oa.getCharWidthsArray=function(n,t){var e,r,s=(t=t||{}).font||this.internal.getFont(),a=t.fontSize||this.internal.getFontSize(),f=t.charSpace||this.internal.getCharSpace(),l=t.widths?t.widths:s.metadata.Unicode.widths,c=l.fof?l.fof:1,d=t.kerning?t.kerning:s.metadata.Unicode.kerning,g=d.fof?d.fof:1,w=t.doKerning!==!1,x=0,p=n.length,B=0,P=l[0]||c,j=[];for(e=0;e<p;e++)r=n.charCodeAt(e),typeof s.metadata.widthOfString=="function"?j.push((s.metadata.widthOfGlyph(s.metadata.characterToGlyph(r))+f*(1e3/a)||0)/1e3):(x=w&&_e(d[r])==="object"&&!isNaN(parseInt(d[r][B],10))?d[r][B]/g:0,j.push((l[r]||P)/c+x)),B=r;return j},gc=oa.getStringUnitWidth=function(n,t){var e=(t=t||{}).fontSize||this.internal.getFontSize(),r=t.font||this.internal.getFont(),s=t.charSpace||this.internal.getCharSpace();return oa.processArabic&&(n=oa.processArabic(n)),typeof r.metadata.widthOfString=="function"?r.metadata.widthOfString(n,e,s)/e:Us.apply(this,arguments).reduce(function(a,f){return a+f},0)},vc=function(n,t,e,r){for(var s=[],a=0,f=n.length,l=0;a!==f&&l+t[a]<e;)l+=t[a],a++;s.push(n.slice(0,a));var c=a;for(l=0;a!==f;)l+t[a]>r&&(s.push(n.slice(c,a)),l=0,c=a),l+=t[a],a++;return c!==a&&s.push(n.slice(c,a)),s},mc=function(n,t,e){e||(e={});var r,s,a,f,l,c,d,g=[],w=[g],x=e.textIndent||0,p=0,B=0,P=n.split(" "),j=Us.apply(this,[" ",e])[0];if(c=e.lineIndent===-1?P[0].length+2:e.lineIndent||0){var S=Array(c).join(" "),V=[];P.map(function(T){(T=T.split(/\s*\n/)).length>1?V=V.concat(T.map(function(rt,gt){return(gt&&rt.length?`
49`:"")+rt})):V.push(T[0])}),P=V,c=gc.apply(this,[S,e])}for(a=0,f=P.length;a<f;a++){var z=0;if(r=P[a],c&&r[0]==`
50`&&(r=r.substr(1),z=1),x+p+(B=(s=Us.apply(this,[r,e])).reduce(function(T,rt){return T+rt},0))>t||z){if(B>t){for(l=vc.apply(this,[r,s,t-(x+p),t]),g.push(l.shift()),g=[l.pop()];l.length;)w.push([l.shift()]);B=s.slice(r.length-(g[0]?g[0].length:0)).reduce(function(T,rt){return T+rt},0)}else g=[r];w.push(g),x=B+c,p=j}else g.push(r),x+=p+B,p=j}return d=c?function(T,rt){return(rt?S:"")+T.join(" ")}:function(T){return T.join(" ")},w.map(d)},oa.splitTextToSize=function(n,t,e){var r,s=(e=e||{}).fontSize||this.internal.getFontSize(),a=(function(g){if(g.widths&&g.kerning)return{widths:g.widths,kerning:g.kerning};var w=this.internal.getFont(g.fontName,g.fontStyle),x="Unicode";return w.metadata[x]?{widths:w.metadata[x].widths||{0:1},kerning:w.metadata[x].kerning||{}}:{font:w.metadata,fontSize:this.internal.getFontSize(),charSpace:this.internal.getCharSpace()}}).call(this,e);r=Array.isArray(n)?n:String(n).split(/\r?\n/);var f=1*this.internal.scaleFactor*t/s;a.textIndent=e.textIndent?1*e.textIndent*this.internal.scaleFactor/s:0,a.lineIndent=e.lineIndent;var l,c,d=[];for(l=0,c=r.length;l<c;l++)d=d.concat(mc.apply(this,[r[l],f,a]));return d},(function(n){n.__fontmetrics__=n.__fontmetrics__||{};for(var t="0123456789abcdef",e="klmnopqrstuvwxyz",r={},s={},a=0;a<16;a++)r[e[a]]=t[a],s[t[a]]=e[a];var f=function(x){return"0x"+parseInt(x,10).toString(16)},l=n.__fontmetrics__.compress=function(x){var p,B,P,j,S=["{"];for(var V in x){if(p=x[V],isNaN(parseInt(V,10))?B="'"+V+"'":(V=parseInt(V,10),B=(B=f(V).slice(2)).slice(0,-1)+s[B.slice(-1)]),typeof p=="number")p<0?(P=f(p).slice(3),j="-"):(P=f(p).slice(2),j=""),P=j+P.slice(0,-1)+s[P.slice(-1)];else{if(_e(p)!=="object")throw new Error("Don't know what to do with value type "+_e(p)+".");P=l(p)}S.push(B+P)}return S.push("}"),S.join("")},c=n.__fontmetrics__.uncompress=function(x){if(typeof x!="string")throw new Error("Invalid argument passed to uncompress.");for(var p,B,P,j,S={},V=1,z=S,T=[],rt="",gt="",ut=x.length-1,Y=1;Y<ut;Y+=1)(j=x[Y])=="'"?p?(P=p.join(""),p=void 0):p=[]:p?p.push(j):j=="{"?(T.pu
vendor: 696 bytes, line 50
50sh([z,P]),z={},P=void 0):j=="}"?((B=T.pop())[0][B[1]]=z,P=void 0,z=B[0]):j=="-"?V=-1:P===void 0?r.hasOwnProperty(j)?(rt+=r[j],P=parseInt(rt,16)*V,V=1,rt=""):rt+=j:r.hasOwnProperty(j)?(gt+=r[j],z[P]=parseInt(gt,16)*V,V=1,P=void 0,gt=""):gt+=j;return S},d={codePages:["WinAnsiEncoding"],WinAnsiEncoding:c("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},g={Unicode:{Courier:d,"Courier-Bold":d,"Courier-BoldOblique":d,"Courier-Oblique":d,Helvetica:d,"Helvetica-Bold":d,"Helvetica-BoldOblique":d,"Helvetica-Oblique":d,"Times-Roman":d,"Times-Bold":d,"Times-BoldItalic":d,"Times-Italic":d}},w
vendor: 14,693 bytes, line 50
50={Unicode:{"Courier-Oblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":c("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":c("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Symbol:c("{'widths'{k3uaw4r19m3m2k1t2l2l202m2y2n3m2p5n202q6o3k3m2s2l2t2l2v3r2w1t3m3m2y1t2z1wbk2sbl3r'fof'6o3n3m3o3m3p3m3q3m3r3m3s3m3t3m3u1w3v1w3w3r3x3r3y3r3z2wbp3t3l3m5v2l5x2l5z3m2q4yfr3r7v3k7w1o7x3k}'kerning'{'fof'-6o}}"),Helvetica:c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":c("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),ZapfDingbats:c("{'widths'{k4u2k1w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-Bold":c("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":c("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":c("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":c("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};
vendor: 33,448 bytes, lines 50-78
50n.events.push(["addFont",function(x){var p=x.font,B=w.Unicode[p.postScriptName];B&&(p.metadata.Unicode={},p.metadata.Unicode.widths=B.widths,p.metadata.Unicode.kerning=B.kerning);var P=g.Unicode[p.postScriptName];P&&(p.metadata.Unicode.encoding=P,p.encoding=P.codePages[0])}])})(Mt.API),(function(n){var t=function(e){for(var r=e.length,s=new Uint8Array(r),a=0;a<r;a++)s[a]=e.charCodeAt(a);return s};n.API.events.push(["addFont",function(e){var r=void 0,s=e.font,a=e.instance;if(!s.isStandardFont){if(a===void 0)throw new Error("Font does not exist in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");if(typeof(r=a.existsFileInVFS(s.postScriptName)===!1?a.loadFile(s.postScriptName):a.getFileFromVFS(s.postScriptName))!="string")throw new Error("Font is not stored as string-data in vFS, import fonts or remove declaration doc.addFont('"+s.postScriptName+"').");(function(f,l){l=/^\x00\x01\x00\x00/.test(l)?t(l):t(Gs(l)),f.metadata=n.API.TTFFont.open(l),f.metadata.Unicode=f.metadata.Unicode||{encoding:{},kerning:{},widths:[]},f.metadata.glyIdsUsed=[0]})(s,r)}}])})(Mt),Mt.API.addSvgAsImage=function(n,t,e,r,s,a,f,l){if(isNaN(t)||isNaN(e))throw Le.error("jsPDF.addSvgAsImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addSvgAsImage");if(isNaN(r)||isNaN(s))throw Le.error("jsPDF.addSvgAsImage: Invalid measurements",arguments),new Error("Invalid measurements (width and/or height) passed to jsPDF.addSvgAsImage");var c=document.createElement("canvas");c.width=r,c.height=s;var d=c.getContext("2d");d.fillStyle="#fff",d.fillRect(0,0,c.width,c.height);var g={ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0},w=this;return($t.canvg?Promise.resolve($t.canvg):Mo(()=>import("./index.es-Cw1d6C4X.js"),__vite__mapDeps([0,1,2,3]))).catch(function(x){return Promise.reject(new Error("Could not load canvg: "+x))}).then(function(x){return x.default?x.default:x}).then(function(x){return x.fromString(d,n,g)},function(){return Promise.reject(new Error("Could not load canvg."))}).then(function(x){return x.render(g)}).then(function(){w.addImage(c.toDataURL("image/jpeg",1),t,e,r,s,f,l)})},Mt.API.putTotalPages=function(n){var t,e=0;parseInt(this.internal.getFont().id.substr(1),10)<15?(t=new RegExp(n,"g"),e=this.internal.getNumberOfPages()):(t=new RegExp(this.pdfEscape16(n,this.internal.getFont()),"g"),e=this.pdfEscape16(this.internal.getNumberOfPages()+"",this.internal.getFont()));for(var r=1;r<=this.internal.getNumberOfPages();r++)for(var s=0;s<this.internal.pages[r].length;s++)this.internal.pages[r][s]=this.internal.pages[r][s].replace(t,e);return this},Mt.API.viewerPreferences=function(n,t){var e;n=n||{},t=t||!1;var r,s,a,f={HideToolbar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideMenubar:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},HideWindowUI:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},FitWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},CenterWindow:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.3},DisplayDocTitle:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.4},NonFullScreenPageMode:{defaultValue:"UseNone",value:"UseNone",type:"name",explicitSet:!1,valueSet:["UseNone","UseOutlines","UseThumbs","UseOC"],pdfVersion:1.3},Direction:{defaultValue:"L2R",value:"L2R",type:"name",explicitSet:!1,valueSet:["L2R","R2L"],pdfVersion:1.3},ViewArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},ViewClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintArea:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintClip:{defaultValue:"CropBox",value:"CropBox",type:"name",explicitSet:!1,valueSet:["MediaBox","CropBox","TrimBox","BleedBox","ArtBox"],pdfVersion:1.4},PrintScaling:{defaultValue:"AppDefault",value:"AppDefault",type:"name",explicitSet:!1,valueSet:["AppDefault","None"],pdfVersion:1.6},Duplex:{defaultValue:"",value:"none",type:"name",explicitSet:!1,valueSet:["Simplex","DuplexFlipShortEdge","DuplexFlipLongEdge","none"],pdfVersion:1.7},PickTrayByPDFSize:{defaultValue:!1,value:!1,type:"boolean",explicitSet:!1,valueSet:[!0,!1],pdfVersion:1.7},PrintPageRange:{defaultValue:"",value:"",type:"array",explicitSet:!1,valueSet:null,pdfVersion:1.7},NumCopies:{defaultValue:1,value:1,type:"integer",explicitSet:!1,valueSet:null,pdfVersion:1.7}},l=Object.keys(f),c=[],d=0,g=0,w=0;function x(B,P){var j,S=!1;for(j=0;j<B.length;j+=1)B[j]===P&&(S=!0);return S}if(this.internal.viewerpreferences===void 0&&(this.internal.viewerpreferences={},this.internal.viewerpreferences.configuration=JSON.parse(JSON.stringify(f)),this.internal.viewerpreferences.isSubscribed=!1),e=this.internal.viewerpreferences.configuration,n==="reset"||t===!0){var p=l.length;for(w=0;w<p;w+=1)e[l[w]].value=e[l[w]].defaultValue,e[l[w]].explicitSet=!1}if(_e(n)==="object"){for(s in n)if(a=n[s],x(l,s)&&a!==void 0){if(e[s].type==="boolean"&&typeof a=="boolean")e[s].value=a;else if(e[s].type==="name"&&x(e[s].valueSet,a))e[s].value=a;else if(e[s].type==="integer"&&Number.isInteger(a))e[s].value=a;else if(e[s].type==="array"){for(d=0;d<a.length;d+=1)if(r=!0,a[d].length===1&&typeof a[d][0]=="number")c.push(String(a[d]-1));else if(a[d].length>1){for(g=0;g<a[d].length;g+=1)typeof a[d][g]!="number"&&(r=!1);r===!0&&c.push([a[d][0]-1,a[d][1]-1].join(" "))}e[s].value="["+c.join(" ")+"]"}else e[s].value=e[s].defaultValue;e[s].explicitSet=!0}}return this.internal.viewerpreferences.isSubscribed===!1&&(this.internal.events.subscribe("putCatalog",function(){var B,P=[];for(B in e)e[B].explicitSet===!0&&(e[B].type==="name"?P.push("/"+B+" /"+e[B].value):P.push("/"+B+" "+e[B].value));P.length!==0&&this.internal.write(`/ViewerPreferences
51<<
52`+P.join(`
53`)+`
54>>`)}),this.internal.viewerpreferences.isSubscribed=!0),this.internal.viewerpreferences.configuration=e,this},Mt.API.addMetadata=function(n,t){return this.internal.__metadata__===void 0&&(this.internal.__metadata__={metadata:n,namespaceUri:t??"http://jspdf.default.namespaceuri/",rawXml:typeof t=="boolean"&&t},this.internal.events.subscribe("putCatalog",Y2),this.internal.events.subscribe("postPutResources",G2)),this},(function(n){var t=n.API,e=t.pdfEscape16=function(a,f){for(var l,c=f.metadata.Unicode.widths,d=["","0","00","000","0000"],g=[""],w=0,x=a.length;w<x;++w){if(l=f.metadata.characterToGlyph(a.charCodeAt(w)),f.metadata.glyIdsUsed.push(l),f.metadata.toUnicode[l]=a.charCodeAt(w),c.indexOf(l)==-1&&(c.push(l),c.push([parseInt(f.metadata.widthOfGlyph(l),10)])),l=="0")return g.join("");l=l.toString(16),g.push(d[4-l.length],l)}return g.join("")},r=function(a){var f,l,c,d,g,w,x;for(g=`/CIDInit /ProcSet findresource begin
5512 dict begin
56begincmap
57/CIDSystemInfo <<
58  /Registry (Adobe)
59  /Ordering (UCS)
60  /Supplement 0
61>> def
62/CMapName /Adobe-Identity-UCS def
63/CMapType 2 def
641 begincodespacerange
65<0000><ffff>
66endcodespacerange`,c=[],w=0,x=(l=Object.keys(a).sort(function(p,B){return p-B})).length;w<x;w++)f=l[w],c.length>=100&&(g+=`
67`+c.length+` beginbfchar
68`+c.join(`
69`)+`
70endbfchar`,c=[]),a[f]!==void 0&&a[f]!==null&&typeof a[f].toString=="function"&&(d=("0000"+a[f].toString(16)).slice(-4),f=("0000"+(+f).toString(16)).slice(-4),c.push("<"+f+"><"+d+">"));return c.length&&(g+=`
71`+c.length+` beginbfchar
72`+c.join(`
73`)+`
74endbfchar
75`),g+`endcmap
76CMapName currentdict /CMap defineresource pop
77end
78end`};t.events.push(["putFont",function(a){(function(f){var l=f.font,c=f.out,d=f.newObject,g=f.putStream;if(l.metadata instanceof n.API.TTFFont&&l.encoding==="Identity-H"){for(var w=l.metadata.Unicode.widths,x=l.metadata.subset.encode(l.metadata.glyIdsUsed,1),p="",B=0;B<x.length;B++)p+=String.fromCharCode(x[B]);var P=d();g({data:p,addLength1:!0,objectId:P}),c("endobj");var j=d();g({data:r(l.metadata.toUnicode),addLength1:!0,objectId:j}),c("endobj");var S=d();c("<<"),c("/Type /FontDescriptor"),c("/FontName /"+fa(l.fontName)),c("/FontFile2 "+P+" 0 R"),c("/FontBBox "+n.API.PDFObject.convert(l.metadata.bbox)),c("/Flags "+l.metadata.flags),c("/StemV "+l.metadata.stemV),c("/ItalicAngle "+l.metadata.italicAngle),c("/Ascent "+l.metadata.ascender),c("/Descent "+l.metadata.decender),c("/CapHeight "+l.metadata.capHeight),c(">>"),c("endobj");var V=d();c("<<"),c("/Type /Font"),c("/BaseFont /"+fa(l.fontName)),c("/FontDescriptor "+S+" 0 R"),c("/W "+n.API.PDFObject.convert(w)),c("/CIDToGIDMap /Identity"),c("/DW 1000"),c("/Subtype /CIDFontType2"),c("/CIDSystemInfo"),c("<<"),c("/Supplement 0"),c("/Registry (Adobe)"),c("/Ordering ("+l.encoding+")"),c(">>"),c(">>"),c("endobj"),l.objectNumber=d(),c("<<"),c("/Type /Font"),c("/Subtype /Type0"),c("/ToUnicode "+j+" 0 R"),c("/BaseFont /"+fa(l.fontName)),c("/Encoding /"+l.encoding),c("/DescendantFonts ["+V+" 0 R]"),c(">>"),c("endobj"),l.isAlreadyPutted=!0}})(a)}]),t.events.push(["putFont",function(a){(function(f){var l=f.font,c=f.out,d=f.newObject,g=f.putStream;if(l.metadata instanceof n.API.TTFFont&&l.encoding==="WinAnsiEncoding"){for(var w=l.metadata.rawData,x="",p=0;p<w.length;p++)x+=String.fromCharCode(w[p]);var B=d();g({data:x,addLength1:!0,objectId:B}),c("endobj");var P=d();g({data:r(l.metadata.toUnicode),addLength1:!0,objectId:P}),c("endobj");var j=d();c("<<"),c("/Descent "+l.metadata.decender),c("/CapHeight "+l.metadata.capHeight),c("/StemV "+l.metadata.stemV),c("/Type /FontDescriptor"),c("/FontFile2 "+B+" 0 R"),c("/Flags 96"),c("/FontBBox "+n.API.PDFObject.convert(l.metadata.bbox)),c("/FontName /"+fa(l.fontName)),c("/ItalicAngle "+l.metadata.italicAngle),c("/Ascent "+l.metadata.ascender),c(">>"),c("endobj"),l.objectNumber=d();for(var S=0;S<l.metadata.hmtx.widths.length;S++)l.metadata.hmtx.widths[S]=parseInt(l.metadata.hmtx.widths[S]*(1e3/l.metadata.head.unitsPerEm));c("<</Subtype/TrueType/Type/Font/ToUnicode "+P+" 0 R/BaseFont/"+fa(l.fontName)+"/FontDescriptor "+j+" 0 R/Encoding/"+l.encoding+" /FirstChar 29 /LastChar 255 /Widths "+n.API.PDFObject.convert(l.metadata.hmtx.widths)+">>"),c("endobj"),l.isAlreadyPutted=!0}})(a)}]);var s=function(a){var f,l=a.text||"",c=a.x,d=a.y,g=a.options||{},w=a.mutex||{},x=w.pdfEscape,p=w.activeFontKey,B=w.fonts,P=p,j="",S=0,V="",z=B[P].encoding;if(B[P].encoding!=="Identity-H")return{text:l,x:c,y:d,options:g,mutex:w};for(V=l,P=p,Array.isArray(l)&&(V=l[0]),S=0;S<V.length;S+=1)B[P].metadata.hasOwnProperty("cmap")&&(f=B[P].metadata.cmap.unicode.codeMap[V[S].charCodeAt(0)]),f||V[S].charCodeAt(0)<256&&B[P].metadata.hasOwnProperty("Unicode")?j+=V[S]:j+="";var T="";return parseInt(P.slice(1))<14||z==="WinAnsiEncoding"?T=x(j,P).split("").map(function(rt){return rt.charCodeAt(0).toString(16)}).join(""):z==="Identity-H"&&(T=e(j,B[P])),w.isHex=!0,{text:T,x:c,y:d,options:g,mutex:w}};t.events.push(["postProcessText",function(a){var f=a.text||"",l=[],c={text:f,x:a.x,y:a.y,options:a.options,mutex:a.mutex};if(Array.isArray(f)){var d=0;for(d=0;d<f.length;d+=1)Array.isArray(f[d])&&f[d].length===3?l.push([s(Object.assign({},c,{text:f[d][0]})).text,f[d][1],f[d][2]]):l.push(s(Object.assign({},c,{text:f[d]})).text);a.text=l}else a.text=s(Object.assign({},c,{text:f})).text}])})(Mt),(function(n){var t=function(){return this.internal.vFS===void 0&&(this.internal.vFS={}),!0};n.existsFileInVFS=function(e){return t.call(this),this.internal.vFS[e]!==void 0},n.addFileToVFS=function(e,r){return t.call(this),this.internal.vFS[e]=r,this},n.getFileFromVFS=function(e){return t.call(this),this.internal.vFS[e]!==void 0?this.internal.vFS[e]:null}})(Mt.API),(function(n){n.__bidiEngine__=n.prototype.__bidiEngine__=function(r){var s,a,f,l,c,d,g,w=t,x=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],p=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],B={L:0,R:1,EN:2,AN:3,N:4,B:5,S:6},P={0:0,5:1,6:2,7:3,32:4,251:5,254:6,255:7},j=["(",")","(","<",">","<","[","]","[","{","}","{","«","»","«","‹","›","‹","⁅","⁆","⁅","⁽","⁾","⁽","₍","₎","₍","≤","≥","≤","〈","〉","〈","﹙","﹚","﹙","﹛","﹜","﹛","﹝","﹞","﹝","﹤","﹥","﹤"],S=new RegExp(/^([1-4|9]|1[0-9]|2[0-9]|3[0168]|4[04589]|5[012]|7[78]|159|16[0-9]|17[0-2]|21[569]|22[03489]|250)$/),V=!1,z=0;this.__bidiEngine__={};var T=function(N){var C=N.charCodeAt(),H=C>>8,q=P[H];return q!==void 0?w[256*q+(255&C)]:H===252||H===253?"AL":S.test(H)?"L":H===8?"R":"N"},rt=function(N){for(var C,H=0;H<N.length;H++){if((C=T(N.charAt(H)))==="L")return!1;if(C==="R")return!0}return!1},gt=function(N,C,H,q){var it,at,ot,et,ct=C[q];switch(ct){case"L":case"R":case"LRE":case"RLE":case"LRO":case"RLO":case"PDF":V=!1;break;case"N":case"AN":break;case"EN":V&&(ct="AN");break;case"AL":V=!0,ct="R";break;case"WS":case"BN":ct="N";break;case"CS":q<1||q+1>=C.length||(it=H[q-1])!=="EN"&&it!=="AN"||(at=C[q+1])!=="EN"&&at!=="AN"?ct="N":V&&(at="AN"),ct=at===it?at:"N";break;case"ES":ct=(it=q>0?H[q-1]:"B")==="EN"&&q+1<C.length&&C[q+1]==="EN"?"EN":"N";break;case"ET":if(q>0&&H[q-1]==="EN"){ct="EN";break}if(V){ct="N";break}for(ot=q+1,et=C.length;ot<et&&C[ot]==="ET";)ot++;ct=ot<et&&C[ot]==="EN"?"EN":"N";break;case"NSM":if(f&&!l){for(et=C.length,ot=q+1;ot<et&&C[ot]==="NSM";)ot++;if(ot<et){var xt=N[q],bt=xt>=1425&&xt<=2303||xt===64286;if(it=C[ot],bt&&(it==="R"||it==="AL")){ct="R";break}}}ct=q<1||(it=C[q-1])==="B"?"N":H[q-1];break;case"B":V=!1,s=!0,ct=z;break;case"S":a=!0,ct="N"}return ct},ut=function(N,C,H){var q=N.split("");return H&&Y(q,H,{hiLevel:z}),q.reverse(),C&&C.reverse(),q.join("")},Y=function(N,C,H){var q,it,at,ot,et,ct=-1,xt=N.length,bt=0,A=[],M=z?p:x,D=[];for(V=!1,s=!1,a=!1,it=0;it<xt;it++)D[it]=T(N[it]);for(at=0;at<xt;at++){if(et=bt,A[at]=gt(N,D,A,at),q=240&(bt=M[et][B[A[at]]]),bt&=15,C[at]=ot=M[bt][5],q>0)if(q===16){for(it=ct;it<at;it++)C[it]=1;ct=-1}else ct=-1;if(M[bt][6])ct===-1&&(ct=at);else if(ct>-1){for(it=ct;it<at;it++)C[it]=ot;ct=-1}D[at]==="B"&&(C[at]=0),H.hiLevel|=ot}a&&(function(W,$,Q){for(var st=0;st<Q;st++)if(W[st]==="S"){$[st]=z;for(var lt=st-1;lt>=0&&W[lt]==="WS";lt--)$[lt]=z}})(D,C,xt)},R=function(N,C,H,q,it){if(!(it.hiLevel<N)){if(N===1&&z===1&&!s)return C.reverse(),void(H&&H.reverse());for(var at,ot,et,ct,xt=C.length,bt=0;bt<xt;){if(q[bt]>=N){for(et=bt+1;et<xt&&q[et]>=N;)et++;for(ct=bt,ot=et-1;ct<ot;ct++,ot--)at=C[ct],C[ct]=C[ot],C[ot]=at,H&&(at=H[ct],H[ct]=H[ot],H[ot]=at);bt=et}bt++}}},X=function(N,C,H){var q=N.split(""),it={hiLevel:z};return H||(H=[]),Y(q,H,it),(function(at,ot,et){if(et.hiLevel!==0&&g)for(var ct,xt=0;xt<at.length;xt++)ot[xt]===1&&(ct=j.indexOf(at[xt]))>=0&&(at[xt]=j[ct+1])})(q,H,it),R(2,q,C,H,it),R(1,q,C,H,it),q.join("")};return this.__bidiEngine__.doBidiReorder=function(N,C,H){if((function(it,at){if(at)for(var ot=0;ot<it.length;ot++)at[ot]=ot;l===void 0&&(l=rt(it)),d===void 0&&(d=rt(it))})(N,C),f||!c||d)if(f&&c&&l^d)z=l?1:0,N=ut(N,C,H);else if(!f&&c&&d)z=l?1:0,N=X(N,C,H),N=ut(N,C);else if(!f||l||c||d){if(f&&!c&&l^d)N=ut(N,C),l?(z=0,N=X(N,C,H)):(z=1,N=X(N,C,H),N=ut(N,C));else if(f&&l&&!c&&d)z=1,N=X(N,C,H),N=ut(N,C);else if(!f&&!c&&l^d){var q=g;l?(z=1,N=X(N,C,H),z=0,g=!1,N=X(N,C,H),g=q):(z=0,N=X(N,C,H),N=ut(N,C),z=1,g=!1,N=X(N,C,H),g=q,N=ut(N,C))}}else z=0,N=X(N,C,H);else z=l?1:0,N=X(N,C,H);return N},this.__bidiEngine__.setOptions=function(N){N&&(f=N.isInputVisual,c=N.isOutputVisual,l=N.isInputRtl,d=N.isOutputRtl,g=N.isSymmetricSwapping)},this.__bidiEngine__.setOptions(r),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 n.__bidiEngine__({isInputVisual:!0});n.API.events.push(["postProcessText",function(r){var s=r.text;r.x,r.y;var a=r.options||{};r.mutex,a.lang;var f=[];if(a.isInputVisual=typeof a.isInputVisual!="boolean"||a.isInputVisual,e.setOptions(a),Object.prototype.toString.call(s)==="[object Array]"){var l=0;for(f=[],l=0;l<s.length;l+=1)Object.prototype.toString.call(s[l])==="[object Array]"?f.push([e.doBidiReorder(s[l][0]),s[l][1],s[l][2]]):f.push([e.doBidiReorder(s[l])]);r.text=f}else r.text=e.doBidiReorder(s);e.setOptions({isInputVisual:!0})}])})(Mt),Mt.API.TTFFont=(function(){function n(t){var e;if(this.rawData=t,e=this.contents=new si(t),this.contents.pos=4,e.readString(4)==="ttcf")throw new Error("TTCF not supported.");e.pos=0,this.parse(),this.subset=new l0(this),this.registerTTF()}return n.open=function(t){return new n(t)},n.prototype.parse=function(){return this.directory=new J2(this.contents),this.head=new K2(this),this.name=new e0(this),this.cmap=new Lf(this),this.toUnicode={},this.hhea=new X2(this),this.maxp=new n0(this),this.hmtx=new r0(this),this.post=new Q2(this),this.os2=new Z2(this),this.loca=new o0(this),this.glyf=new i0(this),this.ascender=this.os2.exists&&this.os2.ascender||this.hhea.ascender,this.decender=this.os2.exists&&this.os2.decender||this.hhea.decender,this.lineGap=this.os2.exists&&this.os2.lineGap||this.hhea.lineGap,this.bbox=[this.head.xMin,this.head.yMin,this.head.xMax,this.head.yMax]},n.prototype.registerTTF=function(){var t,e,r,s,a;if(this.scaleFactor=1e3/this.head.unitsPerEm,this.bbox=(function(){var f,l,c,d;for(d=[],f=0,l=(c=this.bbox).length;f<l;f++)t=c[f],d.push(Math.round(t*this.scaleFactor));return d}).call(this),this.stemV=0,this.post.exists?(r=255&(s=this.post.italic_angle),32768&(e=s>>16)&&(e=-(1+(65535^e))),this.italicAngle=+(e+"."+r)):this.italicAngle=0,this.ascender=Math.round(this.ascender*this.scaleFactor),this.decender=Math.round(this.decender*this.scaleFactor),this.lineGap=Math.round(this.lineGap*this.scaleFactor),this.capHeight=this.os2.exists&&this.os2.capHeight||this.ascender,this.xHeight=this.os2.exists&&this.os2.xHeight||0,this.familyClass=(this.os2.exists&&this.os2.familyClass||0)>>8,this.isSerif=(a=this.familyClass)===1||a===2||a===3||a===4||a===5||a===7,this.isScript=this.familyClass===10,this.flags=0,this.post.isFixedPitch&&(this.flags|=1),this.isSerif&&(this.flags|=2),this.isScript&&(this.flags|=8),this.italicAngle!==0&&(this.flags|=64),this.flags|=32,!this.cmap.unicode)throw new Error("No unicode cmap for font")},n.prototype.characterToGlyph=function(t){var e;return((e=this.cmap.unicode)!=null?e.codeMap[t]:void 0)||0},n.prototype.widthOfGlyph=function(t){var e;return e=1e3/this.head.unitsPerEm,this.hmtx.forGlyph(t).advance*e},n.prototype.widthOfString=function(t,e,r){var s,a,f,l;for(f=0,a=0,l=(t=""+t).length;0<=l?a<l:a>l;a=0<=l?++a:--a)s=t.charCodeAt(a),f+=this.widthOfGlyph(this.characterToGlyph(s))+r*(1e3/e)||0;return f*(e/1e3)},n.prototype.lineHeight=function(t,e){var r;return e==null&&(e=!1),r=e?this.lineGap:0,(this.ascender+r-this.decender)/1e3*t},n})();var sr,si=(function(){function n(t){this.data=t??[],this.pos=0,this.length=this.data.length}return n.prototype.readByte=function(){return this.data[this.pos++]},n.prototype.writeByte=function(t){return this.data[this.pos++]=t},n.prototype.readUInt32=function(){return 16777216*this.readByte()+(this.readByte()<<16)+(this.readByte()<<8)+this.readByte()},n.prototype.writeUInt32=function(t){return this.writeByte(t>>>24&255),this.writeByte(t>>16&255),this.writeByte(t>>8&255),this.writeByte(255&t)},n.prototype.readInt32=function(){var t;return(t=this.readUInt32())>=2147483648?t-4294967296:t},n.prototype.writeInt32=function(t){return t<0&&(t+=4294967296),this.writeUInt32(t)},n.prototype.readUInt16=function(){return this.readByte()<<8|this.readByte()},n.prototype.writeUInt16=function(t){return this.writeByte(t>>8&255),this.writeByte(255&t)},n.prototype.readInt16=function(){var t;return(t=this.readUInt16())>=32768?t-65536:t},n.prototype.writeInt16=function(t){return t<0&&(t+=65536),this.writeUInt16(t)},n.prototype.readString=function(t){var e,r;for(r=[],e=0;0<=t?e<t:e>t;e=0<=t?++e:--e)r[e]=String.fromCharCode(this.readByte());return r.join("")},n.prototype.writeString=function(t){var e,r,s;for(s=[],e=0,r=t.length;0<=r?e<r:e>r;e=0<=r?++e:--e)s.push(this.writeByte(t.charCodeAt(e)));return s},n.prototype.readShort=function(){return this.readInt16()},n.prototype.writeShort=function(t){return this.writeInt16(t)},n.prototype.readLongLong=function(){var t,e,r,s,a,f,l,c;return t=this.readByte(),e=this.readByte(),r=this.readByte(),s=this.readByte(),a=this.readByte(),f=this.readByte(),l=this.readByte(),c=this.readByte(),128&t?-1*(72057594037927940*(255^t)+281474976710656*(255^e)+1099511627776*(255^r)+4294967296*(255^s)+16777216*(255^a)+65536*(255^f)+256*(255^l)+(255^c)+1):72057594037927940*t+281474976710656*e+1099511627776*r+4294967296*s+16777216*a+65536*f+256*l+c},n.prototype.writeLongLong=function(t){var e,r;return e=Math.floor(t/4294967296),r=4294967295&t,this.writeByte(e>>24&255),this.writeByte(e>>16&255),this.writeByte(e>>8&255),this.writeByte(255&e),this.writeByte(r>>24&255),this.writeByte(r>>16&255),this.writeByte(r>>8&255),this.writeByte(255&r)},n.prototype.readInt=function(){return this.readInt32()},n.prototype.writeInt=function(t){return this.writeInt32(t)},n.prototype.read=function(t){var e,r;for(e=[],r=0;0<=t?r<t:r>t;r=0<=t?++r:--r)e.push(this.readByte());return e},n.prototype.write=function(t){var e,r,s,a;for(a=[],r=0,s=t.length;r<s;r++)e=t[r],a.push(this.writeByte(e));return a},n})(),J2=(function(){var n;function t(e){var r,s,a;for(this.scalarType=e.readInt(),this.tableCount=e.readShort(),this.searchRange=e.readShort(),this.entrySelector=e.readShort(),this.rangeShift=e.readShort(),this.tables={},s=0,a=this.tableCount;0<=a?s<a:s>a;s=0<=a?++s:--s)r={tag:e.readString(4),checksum:e.readInt(),offset:e.readInt(),length:e.readInt()},this.tables[r.tag]=r}return t.prototype.encode=function(e){var r,s,a,f,l,c,d,g,w,x,p,B,P;for(P in p=Object.keys(e).length,c=Math.log(2),w=16*Math.floor(Math.log(p)/c),f=Math.floor(w/c),g=16*p-w,(s=new si).writeInt(this.scalarType),s.writeShort(p),s.writeShort(w),s.writeShort(f),s.writeShort(g),a=16*p,d=s.pos+a,l=null,B=[],e)for(x=e[P],s.writeString(P),s.writeInt(n(x)),s.writeInt(d),s.writeInt(x.length),B=B.concat(x),P==="head"&&(l=d),d+=x.length;d%4;)B.push(0),d++;return s.write(B),r=2981146554-n(s.data),s.pos=l+8,s.writeUInt32(r),s.data},n=function(e){var r,s,a,f;for(e=Sf.call(e);e.length%4;)e.push(0);for(a=new si(e),s=0,r=0,f=e.length;r<f;r=r+=4)s+=a.readUInt32();return 4294967295&s},t})(),$2={}.hasOwnProperty,xr=function(n,t){for(var e in t)$2.call(t,e)&&(n[e]=t[e]);function r(){this.constructor=n}return r.prototype=t.prototype,n.prototype=new r,n.__super__=t.prototype,n};sr=(function(){function n(t){var e;this.file=t,e=this.file.directory.tables[this.tag],this.exists=!!e,e&&(this.offset=e.offset,this.length=e.length,this.parse(this.file.contents))}return n.prototype.parse=function(){},n.prototype.encode=function(){},n.prototype.raw=function(){return this.exists?(this.file.contents.pos=this.offset,this.file.contents.read(this.length)):null},n})();var K2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return xr(n,sr),n.prototype.tag="head",n.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.revision=t.readInt(),this.checkSumAdjustment=t.readInt(),this.magicNumber=t.readInt(),this.flags=t.readShort(),this.unitsPerEm=t.readShort(),this.created=t.readLongLong(),this.modified=t.readLongLong(),this.xMin=t.readShort(),this.yMin=t.readShort(),this.xMax=t.readShort(),this.yMax=t.readShort(),this.macStyle=t.readShort(),this.lowestRecPPEM=t.readShort(),this.fontDirectionHint=t.readShort(),this.indexToLocFormat=t.readShort(),this.glyphDataFormat=t.readShort()},n.prototype.encode=function(t){var e;return(e=new si).writeInt(this.version),e.writeInt(this.revision),e.writeInt(this.checkSumAdjustment),e.writeInt(this.magicNumber),e.writeShort(this.flags),e.writeShort(this.unitsPerEm),e.writeLongLong(this.created),e.writeLongLong(this.modified),e.writeShort(this.xMin),e.writeShort(this.yMin),e.writeShort(this.xMax),e.writeShort(this.yMax
78),e.writeShort(this.macStyle),e.writeShort(this.lowestRecPPEM),e.writeShort(this.fontDirectionHint),e.writeShort(t),e.writeShort(this.glyphDataFormat),e.data},n})(),Sc=(function(){function n(t,e){var r,s,a,f,l,c,d,g,w,x,p,B,P,j,S,V,z;switch(this.platformID=t.readUInt16(),this.encodingID=t.readShort(),this.offset=e+t.readInt(),w=t.pos,t.pos=this.offset,this.format=t.readUInt16(),this.length=t.readUInt16(),this.language=t.readUInt16(),this.isUnicode=this.platformID===3&&this.encodingID===1&&this.format===4||this.platformID===0&&this.format===4,this.codeMap={},this.format){case 0:for(c=0;c<256;++c)this.codeMap[c]=t.readByte();break;case 4:for(p=t.readUInt16(),x=p/2,t.pos+=6,a=(function(){var T,rt;for(rt=[],c=T=0;0<=x?T<x:T>x;c=0<=x?++T:--T)rt.push(t.readUInt16());return rt})(),t.pos+=2,P=(function(){var T,rt;for(rt=[],c=T=0;0<=x?T<x:T>x;c=0<=x?++T:--T)rt.push(t.readUInt16());return rt})(),d=(function(){var T,rt;for(rt=[],c=T=0;0<=x?T<x:T>x;c=0<=x?++T:--T)rt.push(t.readUInt16());return rt})(),g=(function(){var T,rt;for(rt=[],c=T=0;0<=x?T<x:T>x;c=0<=x?++T:--T)rt.push(t.readUInt16());return rt})(),s=(this.length-t.pos+this.offset)/2,l=(function(){var T,rt;for(rt=[],c=T=0;0<=s?T<s:T>s;c=0<=s?++T:--T)rt.push(t.readUInt16());return rt})(),c=S=0,z=a.length;S<z;c=++S)for(j=a[c],r=V=B=P[c];B<=j?V<=j:V>=j;r=B<=j?++V:--V)g[c]===0?f=r+d[c]:(f=l[g[c]/2+(r-B)-(x-c)]||0)!==0&&(f+=d[c]),this.codeMap[r]=65535&f}t.pos=w}return n.encode=function(t,e){var r,s,a,f,l,c,d,g,w,x,p,B,P,j,S,V,z,T,rt,gt,ut,Y,R,X,N,C,H,q,it,at,ot,et,ct,xt,bt,A,M,D,W,$,Q,st,lt,vt,At,St;switch(q=new si,f=Object.keys(t).sort(function(Lt,Dt){return Lt-Dt}),e){case"macroman":for(P=0,j=(function(){var Lt=[];for(B=0;B<256;++B)Lt.push(0);return Lt})(),V={0:0},a={},it=0,ct=f.length;it<ct;it++)V[lt=t[s=f[it]]]==null&&(V[lt]=++P),a[s]={old:t[s],new:V[t[s]]},j[s]=V[t[s]];return q.writeUInt16(1),q.writeUInt16(0),q.writeUInt32(12),q.writeUInt16(0),q.writeUInt16(262),q.writeUInt16(0),q.write(j),{charMap:a,subtable:q.data,maxGlyphID:P+1};case"unicode":for(C=[],w=[],z=0,V={},r={},S=d=null,at=0,xt=f.length;at<xt;at++)V[rt=t[s=f[at]]]==null&&(V[rt]=++z),r[s]={old:rt,new:V[rt]},l=V[rt]-s,S!=null&&l===d||(S&&w.push(S),C.push(s),d=l),S=s;for(S&&w.push(S),w.push(65535),C.push(65535),X=2*(R=C.length),Y=2*Math.pow(Math.log(R)/Math.LN2,2),x=Math.log(Y/2)/Math.LN2,ut=2*R-Y,c=[],gt=[],p=[],B=ot=0,bt=C.length;ot<bt;B=++ot){if(N=C[B],g=w[B],N===65535){c.push(0),gt.push(0);break}if(N-(H=r[N].new)>=32768)for(c.push(0),gt.push(2*(p.length+R-B)),s=et=N;N<=g?et<=g:et>=g;
78s=N<=g?++et:--et)p.push(r[s].new);else c.push(H-N),gt.push(0)}for(q.writeUInt16(3),q.writeUInt16(1),q.writeUInt32(12),q.writeUInt16(4),q.writeUInt16(16+8*R+2*p.length),q.writeUInt16(0),q.writeUInt16(X),q.writeUInt16(Y),q.writeUInt16(x),q.writeUInt16(ut),Q=0,A=w.length;Q<A;Q++)s=w[Q],q.writeUInt16(s);for(q.writeUInt16(0),st=0,M=C.length;st<M;st++)s=C[st],q.writeUInt16(s);for(vt=0,D=c.length;vt<D;vt++)l=c[vt],q.writeUInt16(l);for(At=0,W=gt.length;At<W;At++)T=gt[At],q.writeUInt16(T);for(St=0,$=p.length;St<$;St++)P=p[St],q.writeUInt16(P);return{charMap:r,subtable:q.data,maxGlyphID:z+1}}},n})(),Lf=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return xr(n,sr),n.prototype.tag="cmap",n.prototype.parse=function(t){var e,r,s;for(t.pos=this.offset,this.version=t.readUInt16(),s=t.readUInt16(),this.tables=[],this.unicode=null,r=0;0<=s?r<s:r>s;r=0<=s?++r:--r)e=new Sc(t,this.offset),this.tables.push(e),e.isUnicode&&this.unicode==null&&(this.unicode=e);return!0},n.encode=function(t,e){var r,s;return e==null&&(e="macroman"),r=Sc.encode(t,e),(s=new si).writeUInt16(0),s.writeUInt16(1),r.table=s.data.concat(r.subtable),r},n})(),X2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return xr(n,sr),n.prototype.tag="hhea",n.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.ascender=t.readShort(),this.decender=t.readShort(),this.lineGap=t.readShort(),this.advanceWidthMax=t.readShort(),this.minLeftSideBearing=t.readShort(),this.minRightSideBearing=t.readShort(),this.xMaxExtent=t.readShort(),this.caretSlopeRise=t.readShort(),this.caretSlopeRun=t.readShort(),this.caretOffset=t.readShort(),t.pos+=8,this.metricDataFormat=t.readShort(),this.numberOfMetrics=t.readUInt16()},n})(),Z2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return xr(n,sr),n.prototype.tag="OS/2",n.prototype.parse=function(t){if(t.pos=this.offset,this.version=t.readUInt16(),this.averageCharWidth=t.readShort(),this.weightClass=t.readUInt16(),this.widthClass=t.readUInt16(),this.type=t.readShort(),this.ySubscriptXSize=t.readShort(),this.ySubscriptYSize=t.readShort(),this.ySubscriptXOffset=t.readShort(),this.ySubscriptYOffset=t.readShort(),this.ySuperscriptXSize=t.readShort(),this.ySuperscriptYSize=t.readShort(),this.ySuperscriptXOffset=t.readShort(),this.ySuperscriptYOffset=t.readShort(),this.yStrikeoutSize=t.readShort(),this.yStrikeoutPosition=t.readShort(),this.familyClass=t.readShort(),this.panose=(function(){var e,r;for(r=[],e=0;e<10;++e)r.push(t.readByte());return r})(),this.charRange=(function(){var e,r;for(r=[],e=0;e<4;++e)r.push(t.readInt());return r})(),this.vendorID=t.readString(4),this.selection=t.readShort(),this.firstCharIndex=t.readShort(),this.lastCharIndex=t.readShort(),this.version>0&&(this.ascent=t.readShort(),this.descent=t.readShort(),this.lineGap=t.readShort(),this.winAscent=t.readShort(),this.winDescent=t.readShort(),this.codePageRange=(function(){var e,r;for(r=[],e=0;e<2;e=++e)r.push(t.readInt());return r})(),this.version>1))return this.xHeight=t.readShort(),this.capHeight=t.readShort(),this.defaultChar=t.readShort(),this.breakChar=t.readShort(),this.maxContext=t.readShort()},n})(),Q2=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return xr(n,sr),n.prototype.tag="post",n.prototype.parse=function(t){var e,r,s;switch(t.pos=this.offset,this.format=t.readInt(),this.italicAngle=t.readInt(),this.underlinePosition=t.readShort(),this.underlineThickness=t.readShort(),this.isFixedPitch=t.readInt(),this.minMemType42=t.readInt(),this.maxMemType42=t.readInt(),this.minMemType1=t.readInt(),this.maxMemType1=t.readInt(),this.format){case 65536:case 196608:break;case 131072:var a;for(r=t.readUInt16(),this.glyphNameIndex=[],a=0;0<=r?a<r:a>r;a=0<=r?++a:--a)this.glyphNameIndex.push(t.readUInt16());for(this.names=[],s=[];t.pos<this.offset+this.length;)e=t.readByte(),s.push(this.names.push(t.readString(e)));return s;case 151552:return r=t.readUInt16(),this.offsets=t.read(r);case 262144:return this.map=(function(){var f,l,c;for(c=[],a=f=0,l=this.file.maxp.numGlyphs;0<=l?f<l:f>l;a=0<=l?++f:--f)c.push(t.readUInt32());return c}).call(this)}},n})(),t0=function(n,t){this.raw=n,this.length=n.length,this.platformID=t.platformID,this.encodingID=t.encodingID,this.languageID=t.languageID},e0=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return xr(n,sr),n.prototype.tag="name",n.prototype.parse=function(t){var e,r,s,a,f,l,c,d,g,w,x;for(t.pos=this.offset,t.readShort(),e=t.readShort(),l=t.readShort(),r=[],a=0;0<=e?a<e:a>e;a=0<=e?++a:--a)r.push({platformID:t.readShort(),encodingID:t.readShort(),languageID:t.readShort(),nameID:t.readShort(),length:t.readShort(),offset:this.offset+l+t.readShort()});for(c={},a=g=0,w=r.length;g<w;a=++g)s=r[a],t.pos=s.offset,d=t.readString(s.length),f=new t0(d,s),c[x=s.nameID]==null&&(c[x]=[]),c[s.nameID].push(f);this.strings=c,this.copyright=c[0],this.fontFamily=c[1],this.fontSubfam
78ily=c[2],this.uniqueSubfamily=c[3],this.fontName=c[4],this.version=c[5];try{this.postscriptName=c[6][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}catch{this.postscriptName=c[4][0].raw.replace(/[\x00-\x19\x80-\xff]/g,"")}return this.trademark=c[7],this.manufacturer=c[8],this.designer=c[9],this.description=c[10],this.vendorUrl=c[11],this.designerUrl=c[12],this.license=c[13],this.licenseUrl=c[14],this.preferredFamily=c[15],this.preferredSubfamily=c[17],this.compatibleFull=c[18],this.sampleText=c[19]},n})(),n0=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return xr(n,sr),n.prototype.tag="maxp",n.prototype.parse=function(t){return t.pos=this.offset,this.version=t.readInt(),this.numGlyphs=t.readUInt16(),this.maxPoints=t.readUInt16(),this.maxContours=t.readUInt16(),this.maxCompositePoints=t.readUInt16(),this.maxComponentContours=t.readUInt16(),this.maxZones=t.readUInt16(),this.maxTwilightPoints=t.readUInt16(),this.maxStorage=t.readUInt16(),this.maxFunctionDefs=t.readUInt16(),this.maxInstructionDefs=t.readUInt16(),this.maxStackElements=t.readUInt16(),this.maxSizeOfInstructions=t.readUInt16(),this.maxComponentElements=t.readUInt16(),this.maxComponentDepth=t.readUInt16()},n})(),r0=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return xr(n,sr),n.prototype.tag="hmtx",n.prototype.parse=function(t){var e,r,s,a,f,l,c;for(t.pos=this.offset,this.metrics=[],e=0,l=this.file.hhea.numberOfMetrics;0<=l?e<l:e>l;e=0<=l?++e:--e)this.metrics.push({advance:t.readUInt16(),lsb:t.readInt16()});for(s=this.file.maxp.numGlyphs-this.file.hhea.numberOfMetrics,this.leftSideBearings=(function(){var d,g;for(g=[],e=d=0;0<=s?d<s:d>s;e=0<=s?++d:--d)g.push(t.readInt16());return g})(),this.widths=(function(){var d,g,w,x;for(x=[],d=0,g=(w=this.metrics).length;d<g;d++)a=w[d],x.push(a.advance);return x}).call(this),r=this.widths[this.widths.length-1],c=[],e=f=0;0<=s?f<s:f>s;e=0<=s?++f:--f)c.push(this.widths.push(r));return c},n.prototype.forGlyph=function(t){return t in this.metrics?this.metrics[t]:{advance:this.metrics[this.metrics.length-1].advance,lsb:this.leftSideBearings[t-this.metrics.length]}},n})(),Sf=[].slice,i0=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return xr(n,sr),n.prototype.tag="glyf",n.prototype.parse=function(){return this.cache={}},n.prototype.glyphFor=function(t){var e,r,s,a,f,l,c,d,g,w;return t in this.cache?this.cache[t]:(a=this.file.loca,e=this.file.contents,r=a.indexOf(t),(s=a.lengthOf(t))===0?this.cache[t]=null:(e.pos=this.offset+r,f=(l=new si(e.read(s))).readShort(),d=l.readShort(),w=l.readShort(),c=l.readShort(),g=l.readShort(),this.cache[t]=f===-1?new s0(l,d,w,c,g):new a0(l,f,d,w,c,g),this.cache[t]))},n.prototype.encode=function(t,e,r){var s,a,f,l,c;for(f=[],a=[],l=0,c=e.length;l<c;l++)s=t[e[l]],a.push(f.length),s&&(f=f.concat(s.encode(r)));return a.push(f.length),{table:f,offsets:a}},n})(),a0=(function(){function n(t,e,r,s,a,f){this.raw=t,this.numberOfContours=e,this.xMin=r,this.yMin=s,this.xMax=a,this.yMax=f,this.compound=!1}return n.prototype.encode=function(){return this.raw.data},n})(),s0=(function(){function n(t,e,r,s,a){var f,l;for(this.raw=t,this.xMin=e,this.yMin=r,this.xMax=s,this.yMax=a,this.compound=!0,this.glyphIDs=[],this.glyphOffsets=[],f=this.raw;l=f.readShort(),this.glyphOffsets.push(f.pos),this.glyphIDs.push(f.readUInt16()),32&l;)f.pos+=1&l?4:2,128&l?f.pos+=8:64&l?f.pos+=4:8&l&&(f.pos+=2)}return n.prototype.encode=function(){var t,e,r;for(e=new si(Sf.call(this.raw.data)),t=0,r=this.glyphIDs.length;t<r;++t)e.pos=this.glyphOffsets[t];return e.data},n})(),o0=(function(){function n(){return n.__super__.constructor.apply(this,arguments)}return xr(n,sr),n.prototype.tag="loca",n.prototype.parse=function(t){var e,r;return t.pos=this.offset,e=this.file.head.indexToLocFormat,this.offsets=e===0?(function(){var s,a;for(a=[],r=0,s=this.length;r<s;r+=2)a.push(2*t.readUInt16());return a}).call(this):(function(){var s,a;for(a=[],r=0,s=this.length;r<s;r+=4)a.push(t.readUInt32());return a}).call(this)},n.prototype.indexOf=function(t){return this.offsets[t]},n.prototype.lengthOf=function(t){return this.offsets[t+1]-this.offsets[t]}
78,n.prototype.encode=function(t,e){for(var r=new Uint32Array(this.offsets.length),s=0,a=0,f=0;f<r.length;++f)if(r[f]=s,a<e.length&&e[a]==f){++a,r[f]=s;var l=this.offsets[f],c=this.offsets[f+1]-l;c>0&&(s+=c)}for(var d=new Array(4*r.length),g=0;g<r.length;++g)d[4*g+3]=255&r[g],d[4*g+2]=(65280&r[g])>>8,d[4*g+1]=(16711680&r[g])>>16,d[4*g]=(4278190080&r[g])>>24;return d},n})(),l0=(function(){function n(t){this.font=t,this.subset={},this.unicodes={},this.next=33}return n.prototype.generateCmap=function(){var t,e,r,s,a;for(e in s=this.font.cmap.tables[0].codeMap,t={},a=this.subset)r=a[e],t[e]=s[r];return t},n.prototype.glyphsFor=function(t){var e,r,s,a,f,l,c;for(s={},f=0,l=t.length;f<l;f++)s[a=t[f]]=this.font.glyf.glyphFor(a);for(a in e=[],s)(r=s[a])!=null&&r.compound&&e.push.apply(e,r.glyphIDs);if(e.length>0)for(a in c=this.glyphsFor(e))r=c[a],s[a]=r;return s},n.prototype.encode=function(t,e){var r,s,a,f,l,c,d,g,w,x,p,B,P,j,S;for(s in r=Lf.encode(this.generateCmap(),"unicode"),f=this.glyphsFor(t),p={0:0},S=r.charMap)p[(c=S[s]).old]=c.new;for(B in x=r.maxGlyphID,f)B in p||(p[B]=x++);return g=(function(V){var z,T;for(z in T={},V)T[V[z]]=z;return T})(p),w=Object.keys(g).sort(function(V,z){return V-z}),P=(function(){var V,z,T;for(T=[],V=0,z=w.length;V<z;V++)l=w[V],T.push(g[l]);return T})(),a=this.font.glyf.encode(f,P,p),d=this.font.loca.encode(a.offsets,P),j={cmap:this.font.cmap.raw(),glyf:a.table,loca:d,hmtx:this.font.hmtx.raw(),hhea:this.font.hhea.raw(),maxp:this.font.maxp.raw(),post:this.font.post.raw(),name:this.font.name.raw(),head:this.font.head.encode(e)},this.font.os2.exists&&(j["OS/2"]=this.font.os2.raw()),this.font.directory.encode(j)},n})();Mt.API.PDFObject=(function(){var n;function t(){}return n=function(e,r){return(Array(r+1).join("0")+e).slice(-r)},t.convert=function(e){var r,s,a,f;if(Array.isArray(e))return"["+(function(){var l,c,d;for(d=[],l=0,c=e.length;l<c;l++)r=e[l],d.push(t.convert(r));return d})().join(" ")+"]";if(typeof e=="string")return"/"+e;if(e?.isString)return"("+e+")";if(e instanceof Date)return"(D:"+n(e.getUTCFullYear(),4)+n(e.getUTCMonth(),2)+n(e.getUTCDate(),2)+n(e.getUTCHours(),2)+n(e.getUTCMinutes(),2)+n(e.getUTCSeconds(),2)+"Z)";if({}.toString.call(e)==="[object Object]"){for(s in a=["<<"],e)f=e[s],a.push("/"+s+" "+t.convert(f));return a.push(">>"),a.join(`
79`)}return""+e},t})();const h0=Object.freeze(Object.defineProperty({__proto__:null,AcroForm:R2,AcroFormAppearance:It,AcroFormButton:sn,AcroFormCheckBox:Ha,AcroFormChoiceField:Pi,AcroFormComboBox:Ci,AcroFormEditBox:Ua,AcroFormListBox:Ii,AcroFormPasswordField:Wa,AcroFormPushButton:za,AcroFormRadioButton:Ei,AcroFormTextField:ai,GState:Ja,ShadingPattern:ri,TilingPattern:ki,default:Mt,jsPDF:Mt},Symbol.toStringTag,{value:"Module"}));export{Mo as _,_e as a,f0 as b,Nh as c,h0 as j,gu as s,u0 as u,c0 as z};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.