=0){M=U[T][O];M&&(z|=M<=e?L<<=1:L=L<<1|x[P][E]}for(u=0;u
=k||E<0||E>=y?L<<=1:L=L<<1|r[P][E]}var D=C.readBit(S,L);O[M]=D}}return x}function g(e,t,i,o,c,l,h,u,g,p,b){e&&n("JBIG2 error: huffman is not supported");for(var v=[],y=0,k=s(i.length+o),w=b.decoder,x=b.contextCache;v.length1)I=m(e,t,S,y,0,B,1,i.concat(v),k,0,0,1,0,l,g,p,b);else{var R=r(x,w,k),T=a(x,"IARDX",w),O=a(x,"IARDY",w),M=R>1)+_,(j>>1)+z,!1,y,k)}var H,G,X,V=E-(1&m?0:U),W=M-(2&m?q:0);if(f){for(H=0;H>5&7,u=[31&o],f=t+6;if(7===o){h=536870911&l(e,f-1);f+=3;var d=h+7>>3;u[0]=e[f++];for(;--d>0;)u.push(e[f++])}else 5!==o&&6!==o||n("JBIG2 error: invalid referred-to flags");a.retainBits=u;var g,m,p=a.number<=256?1:a.number<=65536?2:4,b=[];for(g=0;g>>24&255;A[3]=k.height>>16&255;A[4]=k.height>>8&255;A[5]=255&k.height;for(g=f,m=e.length;g>2&3;g.huffmanDWSelector=m>>4&3;g.bitmapSizeSelector=m>>6&1;g.aggregationInstancesSelector=m>>7&1;g.bitmapCodingContextUsed=!!(256&m);g.bitmapCodingContextRetained=!!(512&m);g.template=m>>10&3;g.refinementTemplate=m>>12&1;f+=2;if(!g.huffman){s=0===g.template?4:1;r=[];for(i=0;i>2&3);p.referenceCorner=b>>4&3;p.transposed=!!(64&b);p.combinationOperator=b>>7&3;p.defaultPixelValue=b>>9&1;p.dsOffset=b<<17>>27;p.refinementTemplate=b>>15&1;if(p.huffman){var y=c(u,f);f+=2;p.huffmanFS=3&y;p.huffmanDS=y>>2&3;p.huffmanDT=y>>4&3;p.huffmanRefinementDW=y>>6&3;p.huffmanRefinementDH=y>>8&3;p.huffmanRefinementDX=y>>10&3;p.huffmanRefinementDY=y>>12&3;p.huffmanRefinementSizeSelector=!!(14&y)}if(p.refinement&&!p.refinementTemplate){r=[];for(i=0;i<2;i++){r.push({x:o(u,f),y:o(u,f+1)});f+=2}p.refinementAt=r}p.numberOfSymbolInstances=l(u,f);f+=4;p.huffman&&n("JBIG2 error: huffman is not supported");a=[p,h.referredTo,u,f,d];break;case 38:case 39:var k={};k.info=v(u,f);f+=T;var w=u[f++];k.mmr=!!(1&w);k.template=w>>1&3;k.prediction=!!(8&w);if(!k.mmr){s=0===k.template?4:1;r=[];for(i=0;i>2&1;x.combinationOperator=C>>3&3;x.requiresBuffer=!!(32&C);x.combinationOperatorOverride=!!(64&C);a=[x];break;case 49:break;case 50:break;case 51:break;case 62:break;default:n("JBIG2 error: segment type "+h.typeName+"("+h.type+") is not implemented")}var S="on"+h.typeName;S in t&&t[S].apply(t,a)}function k(e,t){for(var a=0,r=e.length;a>3,a=new Uint8Array(t*e.height);if(e.defaultPixelValue)for(var r=0,i=a.length;r>3,u=o.combinationOperatorOverride?e.combinationOperator:o.combinationOperator,f=this.buffer,d=128>>(7&e.x),g=e.y*h+(e.x>>3);switch(u){case 0:for(a=0;a>=1;if(!i){i=128;s++}}g+=h}break;case 2:for(a=0;a>=1;if(!i){i=128;s++}}g+=h}break;default:n("JBIG2 error: operator "+u+" is not supported")}},onImmediateGenericRegion:function(e,a,r,i){var n=e.info,s=new t(a,r,i),o=f(e.mmr,n.width,n.height,e.template,e.prediction,null,e.at,s);this.drawBitmap(n,o)},onImmediateLosslessGenericRegion:function(){this.onImmediateGenericRegion.apply(this,arguments)},onSymbolDictionary:function(e,a,r,i,s,o){var c;e.huffman&&n("JBIG2 error: huffman is not supported");var l=this.symbols;l||(this.symbols=l={});for(var h=[],u=0,f=r.length;u0&&!e[s-1];)s--;n.push({children:[],index:0});var o,c=n[0];for(a=0;a0;)c=n.pop();c.index++;n.push(c);for(;n.length<=a;){n.push(o={children:[],index:0});c.children[c.index]=o.children;c=o}i++}if(a+10){L--;return E>>L&1}E=e[t++];if(255===E){var a=e[t++];a&&i("JPEG error: unexpected marker "+(E<<8|a).toString(16))}L=7;return E>>>7}function d(e){for(var t=e;;){t=t[f()];if("number"==typeof t)return t;"object"!=typeof t&&i("JPEG error: invalid huffman sequence")}}function g(e){for(var t=0;e>0;){t=t<<1|f();e--}return t}function m(e){if(1===e)return 1===f()?1:-1;var t=g(e);return t>=1<>4;if(0!==s){i+=o;var l=c[i];e.blockData[t+l]=m(s);i++}else{if(o<15)break;i+=16}}}function b(e,t){var a=d(e.huffmanTableDC),r=0===a?0:m(a)<0)D--;else for(var a=o,r=l;a<=r;){var i=d(e.huffmanTableAC),n=15&i,s=i>>4;if(0!==n){a+=s;var h=c[a];e.blockData[t+h]=m(n)*(1<>4;if(0===a)if(h<15){D=g(h)+(1<=65488&&U<=65495))break;t+=2}return t-P}function n(e,t,a){var r,n,s,o,c,b,v,y,k,w,x,C,S,A,I,B,R,T=e.quantizationTable,O=e.blockData;T||i("JPEG error: missing required Quantization Table.");for(var M=0;M<64;M+=8){k=O[t+M];w=O[t+M+1];x=O[t+M+2];C=O[t+M+3];S=O[t+M+4];A=O[t+M+5];I=O[t+M+6];B=O[t+M+7];k*=T[M];if(0!==(w|x|C|S|A|I|B)){w*=T[M+1];x*=T[M+2];C*=T[M+3];S*=T[M+4];A*=T[M+5];I*=T[M+6];B*=T[M+7];r=m*k+128>>8;n=m*S+128>>8;s=x;o=I;c=p*(w-B)+128>>8;y=p*(w+B)+128>>8;b=C<<4;v=A<<4;r=r+n+1>>1;n=r-n;R=s*g+o*d+128>>8;s=s*d-o*g+128>>8;o=R;c=c+v+1>>1;v=c-v;y=y+b+1>>1;b=y-b;r=r+o+1>>1;o=r-o;n=n+s+1>>1;s=n-s;R=c*f+y*u+2048>>12;c=c*u-y*f+2048>>12;y=R;R=b*h+v*l+2048>>12;b=b*l-v*h+2048>>12;v=R;a[M]=r+y;a[M+7]=r-y;a[M+1]=n+v;a[M+6]=n-v;a[M+2]=s+b;a[M+5]=s-b;a[M+3]=o+c;a[M+4]=o-c}else{R=m*k+512>>10;a[M]=R;a[M+1]=R;a[M+2]=R;a[M+3]=R;a[M+4]=R;a[M+5]=R;a[M+6]=R;a[M+7]=R}}for(var P=0;P<8;++P){k=a[P];w=a[P+8];x=a[P+16];C=a[P+24];S=a[P+32];A=a[P+40];I=a[P+48];B=a[P+56];if(0!==(w|x|C|S|A|I|B)){r=m*k+2048>>12;n=m*S+2048>>12;s=x;o=I;c=p*(w-B)+2048>>12;y=p*(w+B)+2048>>12;b=C;v=A;r=(r+n+1>>1)+4112;n=r-n;R=s*g+o*d+2048>>12;s=s*d-o*g+2048>>12;o=R;c=c+v+1>>1;v=c-v;y=y+b+1>>1;b=y-b;r=r+o+1>>1;o=r-o;n=n+s+1>>1;s=n-s;R=c*f+y*u+2048>>12;c=c*u-y*f+2048>>12;y=R;R=b*h+v*l+2048>>12;b=b*l-v*h+2048>>12;v=R;k=r+y;B=r-y;w=n+v;I=n-v;x=s+b;A=s-b;C=o+c;S=o-c;k=k<16?0:k>=4080?255:k>>4;w=w<16?0:w>=4080?255:w>>4;x=x<16?0:x>=4080?255:x>>4;C=C<16?0:C>=4080?255:C>>4;S=S<16?0:S>=4080?255:S>>4;A=A<16?0:A>=4080?255:A>>4;I=I<16?0:I>=4080?255:I>>4;B=B<16?0:B>=4080?255:B>>4;O[t+P]=k;O[t+P+8]=w;O[t+P+16]=x;O[t+P+24]=C;O[t+P+32]=S;O[t+P+40]=A;O[t+P+48]=I;O[t+P+56]=B}else{R=m*k+8192>>14;R=R<-2040?0:R>=2024?255:R+2056>>4;O[t+P]=R;O[t+P+8]=R;O[t+P+16]=R;O[t+P+24]=R;O[t+P+32]=R;O[t+P+40]=R;O[t+P+48]=R;O[t+P+56]=R}}}function s(e,t){for(var r=t.blocksPerLine,i=t.blocksPerColumn,s=new Int16Array(64),o=0;o=255?255:e}var c=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),l=4017,h=799,u=3406,f=2276,d=1567,g=3784,m=5793,p=2896;e.prototype={parse:function(e){function a(){var t=e[u]<<8|e[u+1];u+=2;return t}function n(){var t=a(),r=e.subarray(u,u+t-2);u+=r.length;return r}function o(e){for(var t=Math.ceil(e.samplesPerLine/8/e.maxH),a=Math.ceil(e.scanLines/8/e.maxV),r=0;r>4===0)for(y=0;y<64;y++){x=c[y];I[x]=e[u++]}else if(A>>4===1)for(y=0;y<64;y++){x=c[y];I[x]=a()}else i("JPEG error: DQT - invalid table spec");g[15&A]=I}break;case 65472:case 65473:case 65474:l&&i("JPEG error: Only single frame JPEGs supported");a();l={};l.extended=65473===b;l.progressive=65474===b;l.precision=e[u++];l.scanLines=a();l.samplesPerLine=a();l.components=[];l.componentIds={};var B,R=e[u++],T=0,O=0;for(v=0;v>4,P=15&e[u+1];T>4===0?p:m)[15&D]=t(F,U)}break;case 65501:a();h=a();break;case 65498:a();var N,j=e[u++],_=[];for(v=0;v>4];N.huffmanTableAC=m[15&H];_.push(N)}var G=e[u++],X=e[u++],V=e[u++],W=r(e,u,l,_,h,G,X,V>>4,15&V);u+=W;break;case 65535:255!==e[u]&&u--;break;default:if(255===e[u-3]&&e[u-2]>=192&&e[u-2]<=254){u-=3;break}i("JPEG error: unknown marker "+b.toString(16))}b=a()}this.width=l.samplesPerLine;this.height=l.scanLines;this.jfif=f;this.adobe=d;this.components=[];for(v=0;v>8)+w[h+1];return v},_isColorConversionNeeded:function(){return!(!this.adobe||!this.adobe.transformCode)||(3===this.numComponents?!(!this.adobe&&0===this.colorTransform):!this.adobe&&1===this.colorTransform)},_convertYccToRgb:function(e){for(var t,a,r,i=0,n=e.length;i=0?255:h<=s?0:255+h*o|0;e[n++]=u>=0?255:u<=s?0:255+u*o|0;e[n++]=f>=0?255:f<=s?0:255+f*o|0}return e},getData:function(e,t,a){this.numComponents>4&&i("JPEG error: Unsupported color mode");var r=this._getLinearizedBlockData(e,t);if(1===this.numComponents&&a){for(var n=r.length,s=new Uint8Array(3*n),o=0,c=0;c>>8;o[c++]=255&l}}}else if(e instanceof Uint8Array){o=e;c=o.length}else{if(!("object"==typeof e&&"length"in e))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");o=e;c=o.length;s=!0}var h=c>>2,u=c-4*h,f=s?new i(o,h):new Uint32Array(o.buffer,0,h),d=0,g=0,m=this.h1,p=this.h2,b=3432918353,v=461845907,y=b&r,k=v&r;for(t=0;t>>17;d=d*v&a|d*k&r;m^=d;m=m<<13|m>>>19;m=5*m+3864292196}else{g=f[t];g=g*b&a|g*y&r;g=g<<15|g>>>17;g=g*v&a|g*k&r;p^=g;p=p<<13|p>>>19;p=5*p+3864292196}d=0;switch(u){case 3:d^=o[4*h+2]<<16;case 2:d^=o[4*h+1]<<8;case 1:d^=o[4*h];d=d*b&a|d*y&r;d=d<<15|d>>>17;d=d*v&a|d*k&r;1&h?m^=d:p^=d}this.h1=m;this.h2=p;return this},hexdigest:function(){var e=this.h1,t=this.h2;e^=t>>>1;e=3981806797*e&a|36045*e&r;t=4283543511*t&a|(2950163797*(t<<16|e>>>16)&a)>>>16;e^=t>>>1;e=444984403*e&a|60499*e&r;t=3301882366*t&a|(3120437893*(t<<16|e>>>16)&a)>>>16;e^=t>>>1;for(var i=0,n=[e,t],s="";i>>0).toString(16);o.length<8;)o="0"+o;s+=o}return s}};return t}();t.MurmurHash3_64=n},function(e,t,a){"use strict";function r(e,t,a){var r=t.getArray("Matrix"),i=t.getArray("BBox"),n=t.get("XStep"),s=t.get("YStep"),o=t.get("PaintType"),c=t.get("TilingType");return["TilingPattern",a,e,r,i,n,s,o,c]}var i=a(0),n=a(1),s=a(6),o=a(3),c=i.UNSUPPORTED_FEATURES,l=i.MissingDataException,h=i.Util,u=i.assert,f=i.error,d=i.info,g=i.warn,m=n.isStream,p=s.PDFFunction,b=o.ColorSpace,v={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7},y=function(){function e(){f("should not call Pattern constructor")}e.prototype={getPattern:function(e){f("Should not call Pattern.getStyle: "+e)}};e.parseShading=function(e,t,a,r,i){var n=m(e)?e.dict:e,s=n.get("ShadingType");try{switch(s){case v.AXIAL:case v.RADIAL:return new k.RadialAxial(n,t,a,r);case v.FREE_FORM_MESH:case v.LATTICE_FORM_MESH:case v.COONS_PATCH_MESH:case v.TENSOR_PATCH_MESH:return new k.Mesh(e,t,a,r);default:throw new Error("Unsupported ShadingType: "+s)}}catch(e){if(e instanceof l)throw e;i.send("UnsupportedFeature",{featureId:c.shadingPattern});g(e);return new k.Dummy}};return e}(),k={};k.SMALL_NUMBER=1e-6;k.RadialAxial=function(){function e(e,t,a,r){this.matrix=t;this.coordsArr=e.getArray("Coords");this.shadingType=e.get("ShadingType");this.type="Pattern";var i=e.get("ColorSpace","CS");i=b.parse(i,a,r);this.cs=i;var n=0,s=1;if(e.has("Domain")){var o=e.getArray("Domain");n=o[0];s=o[1]}var c=!1,l=!1;if(e.has("Extend")){var u=e.getArray("Extend");c=u[0];l=u[1]}if(!(this.shadingType!==v.RADIAL||c&&l)){var f=this.coordsArr[0],m=this.coordsArr[1],y=this.coordsArr[2],w=this.coordsArr[3],x=this.coordsArr[4],C=this.coordsArr[5],S=Math.sqrt((f-w)*(f-w)+(m-x)*(m-x));y<=C+S&&C<=y+S&&g("Unsupported radial gradient.")}this.extendStart=c;this.extendEnd=l;var A=e.get("Function"),I=p.parseArray(a,A),B=s-n,R=B/10,T=this.colorStops=[];if(n>=s||R<=0)d("Bad shading domain.");else{for(var O,M=new Float32Array(i.numComps),P=new Float32Array(1),E=n;E<=s;E+=R){P[0]=E;I(P,0,M,0);O=i.getRgb(M,0);var L=h.makeCssRgb(O[0],O[1],O[2]);T.push([(E-n)/B,L])}var D="transparent";if(e.has("Background")){O=i.getRgb(e.get("Background"),0);D=h.makeCssRgb(O[0],O[1],O[2])}if(!c){T.unshift([0,D]);T[1][0]+=k.SMALL_NUMBER}if(!l){T[T.length-1][0]-=k.SMALL_NUMBER;T.push([1,D])}this.colorStops=T}}e.prototype={getIR:function(){var e,t,a,r,i,n=this.coordsArr,s=this.shadingType;if(s===v.AXIAL){t=[n[0],n[1]];a=[n[2],n[3]];r=null;i=null;e="axial"}else if(s===v.RADIAL){t=[n[0],n[1]];a=[n[3],n[4]];r=n[2];i=n[5];e="radial"}else f("getPattern type unknown: "+s);var o=this.matrix;if(o){t=h.applyTransform(t,o);a=h.applyTransform(a,o);if(s===v.RADIAL){var c=h.singularValueDecompose2dScale(o);r*=c[0];i*=c[1]}}return["RadialAxial",e,this.colorStops,t,a,r,i]}};return e}();k.Mesh=function(){function e(e,t){this.stream=e;this.context=t;this.buffer=0;this.bufferLength=0;var a=t.numComps;this.tmpCompsBuf=new Float32Array(a);var r=t.colorSpace.numComps;this.tmpCsCompsBuf=t.colorFn?new Float32Array(r):this.tmpCompsBuf}function t(e,t){for(var a=e.coords,r=e.colors,i=[],n=[],s=0;t.hasData;){var o=t.readFlag(),c=t.readCoordinate(),l=t.readComponents();if(0===s){u(0<=o&&o<=2,"Unknown type4 flag");switch(o){case 0:s=3;break;case 1:n.push(n[n.length-2],n[n.length-1]);s=1;break;case 2:n.push(n[n.length-3],n[n.length-1]);s=1}i.push(o)}n.push(a.length);a.push(c);r.push(l);s--;t.align()}e.figures.push({type:"triangles",coords:new Int32Array(n),colors:new Int32Array(n)})}function a(e,t,a){for(var r=e.coords,i=e.colors,n=[];t.hasData;){var s=t.readCoordinate(),o=t.readComponents();n.push(r.length);r.push(s);i.push(o)}e.figures.push({type:"lattice",coords:new Int32Array(n),colors:new Int32Array(n),verticesPerRow:a})}function r(e,t){var a=e.figures[t];u("patch"===a.type,"Unexpected patch mesh figure");var r=e.coords,i=e.colors,n=a.coords,s=a.colors,o=Math.min(r[n[0]][0],r[n[3]][0],r[n[12]][0],r[n[15]][0]),c=Math.min(r[n[0]][1],r[n[3]][1],r[n[12]][1],r[n[15]][1]),f=Math.max(r[n[0]][0],r[n[3]][0],r[n[12]][0],r[n[15]][0]),m=Math.max(r[n[0]][1],r[n[3]][1],r[n[12]][1],r[n[15]][1]),p=Math.ceil((f-o)*d/(e.bounds[2]-e.bounds[0]));p=Math.max(l,Math.min(h,p));var b=Math.ceil((m-c)*d/(e.bounds[3]-e.bounds[1]));b=Math.max(l,Math.min(h,b));for(var v=p+1,y=new Int32Array((b+1)*v),k=new Int32Array((b+1)*v),w=0,x=new Uint8Array(3),C=new Uint8Array(3),S=i[s[0]],A=i[s[1]],I=i[s[2]],B=i[s[3]],R=g(b),T=g(p),O=0;O<=b;O++){x[0]=(S[0]*(b-O)+I[0]*O)/b|0;x[1]=(S[1]*(b-O)+I[1]*O)/b|0;x[2]=(S[2]*(b-O)+I[2]*O)/b|0;C[0]=(A[0]*(b-O)+B[0]*O)/b|0;C[1]=(A[1]*(b-O)+B[1]*O)/b|0;C[2]=(A[2]*(b-O)+B[2]*O)/b|0;for(var M=0;M<=p;M++,w++)if(0!==O&&O!==b||0!==M&&M!==p){for(var P=0,E=0,L=0,D=0;D<=3;D++)for(var F=0;F<=3;F++,L++){var q=R[O][D]*T[M][F];P+=r[n[L]][0]*q;E+=r[n[L]][1]*q}y[w]=r.length;r.push([P,E]);k[w]=i.length;var U=new Uint8Array(3);U[0]=(x[0]*(p-M)+C[0]*M)/p|0;U[1]=(x[1]*(p-M)+C[1]*M)/p|0;U[2]=(x[2]*(p-M)+C[2]*M)/p|0;i.push(U)}}y[0]=n[0];k[0]=s[0];y[p]=n[3];k[p]=s[1];y[v*b]=n[12];k[v*b]=s[2];y[v*b+p]=n[15];k[v*b+p]=s[3];e.figures[t]={type:"lattice",coords:y,colors:k,verticesPerRow:v}}function i(e,t){for(var a=e.coords,r=e.colors,i=new Int32Array(16),n=new Int32Array(4);t.hasData;){var s=t.readFlag();u(0<=s&&s<=3,"Unknown type6 flag");var o,c,l=a.length;for(o=0,c=0!==s?8:12;oo?o:t;a=a>c?c:a;r=r=2,"Invalid VerticesPerRow");a(this,C,A);break;case v.COONS_PATCH_MESH:i(this,C);S=!0;break;case v.TENSOR_PATCH_MESH:n(this,C);S=!0;break;default:f("Unsupported mesh type.")}if(S){s(this);for(var I=0,B=this.figures.length;I0)return!0;var e=this.stream.getByte();if(e<0)return!1;this.buffer=e;this.bufferLength=8;return!0},readBits:function(e){var t=this.buffer,a=this.bufferLength;if(32===e){if(0===a)return(this.stream.getByte()<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte())>>>0;t=t<<24|this.stream.getByte()<<16|this.stream.getByte()<<8|this.stream.getByte();var r=this.stream.getByte();this.buffer=r&(1<>a)>>>0}if(8===e&&0===a)return this.stream.getByte();for(;a>a},align:function(){this.buffer=0;this.bufferLength=0},readFlag:function(){return this.readBits(this.context.bitsPerFlag)},readCoordinate:function(){var e=this.context.bitsPerCoordinate,t=this.readBits(e),a=this.readBits(e),r=this.context.decode,i=e<32?1/((1<=0&&(t>=65&&t<=90||t>=97&&t<=122);)a.push(String.fromCharCode(t));var r=a.join("");switch(r.toLowerCase()){case"if":return h.IF;case"ifelse":return h.IFELSE;default:return h.getOperator(r)}},getNumber:function(){var e=this.currentChar,t=this.strBuf;t.length=0;t[0]=String.fromCharCode(e);for(;(e=this.nextChar())>=0&&(e>=48&&e<=57||45===e||46===e);)t.push(String.fromCharCode(e));var a=parseFloat(t.join(""));isNaN(a)&&n("Invalid floating point number: "+a);return a}};return e}();t.PostScriptLexer=u;t.PostScriptParser=c},function(e,t,a){"use strict";var r=a(0),i=a(2),n=a(4),s=r.warn,o=r.isSpace,c=i.Stream,l=n.getEncoding,h=!1,u=function(){function e(){this.width=0;this.lsb=0;this.flexing=!1;this.output=[];this.stack=[]}var t={hstem:[1],vstem:[3],vmoveto:[4],rlineto:[5],hlineto:[6],vlineto:[7],rrcurveto:[8],callsubr:[10],flex:[12,35],drop:[12,18],endchar:[14],rmoveto:[21],hmoveto:[22],vhcurveto:[30],hvcurveto:[31]};e.prototype={convert:function(e,a,r){for(var i,n,o,c=e.length,l=!1,u=0;ur)return!0;for(var i=r-e,n=i;n>8&255,255&s);else{s=65536*s|0;this.output.push(255,s>>24&255,s>>16&255,s>>8&255,255&s)}}this.output.push.apply(this.output,t);a?this.stack.splice(i,e):this.stack.length=0;return!1}};return e}(),f=function(){function e(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function t(e,t,a){if(a>=e.length)return new Uint8Array(0);var r,i,n=0|t,s=52845,o=22719;for(r=0;r>8;n=(h+n)*s+o&65535}return l}function a(t,a,r){var i,n,s=0|a,o=52845,c=22719,l=t.length,h=l>>>1,u=new Uint8Array(h);for(i=0,n=0;i