!function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define("pdfjs-dist/build/pdf.worker",[],t):"object"==typeofexports?exports["pdfjs-dist/build/pdf.worker"]=t():e["pdfjs-dist/build/pdf.worker"]=e.pdfjsDistBuildPdfWorker=t()}(this,function(){returnfunction(e){functiont(a){if(r[a])returnr[a].exports;vari=r[a]={i:a,l:!1,exports:{}};e[a].call(i.exports,i,i.exports,t);i.l=!0;returni.exports}varr={};t.m=e;t.c=r;t.i=function(e){returne};t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:a})};t.n=function(e){varr=e&&e.__esModule?function(){returne.default}:function(){returne};t.d(r,"a",r);returnr};t.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)};t.p="";returnt(t.s=37)}([function(e,t,r){"use strict";(function(e){functiona(e){ce=e}functioni(){returnce}functionn(e){ce>=ne.infos&&console.log("Info: "+e)}functiono(e){ce>=ne.warnings&&console.log("Warning: "+e)}functions(e){console.log("Deprecated API usage: "+e)}functionc(e){if(ce>=ne.errors){console.log("Error: "+e);console.log(l())}thrownewError(e)}functionl(){try{thrownewError}catch(e){returne.stack?e.stack.split("\n").slice(2).join("\n"):""}}functionu(e,t){e||c(t)}functionh(e,t){try{varr=newURL(e);if(!r.origin||"null"===r.origin)return!1}catch(e){return!1}vara=newURL(t,r);returnr.origin===a.origin}functionf(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}functiond(e,t){if(!e)returnnull;try{varr=t?newURL(e,t):newURL(e);if(f(r))returnr}catch(e){}returnnull}functiong(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1});returnr}functionm(e){vart;returnfunction(){if(e){t=Object.create(null);e(t);e=null}returnt}}functionp(e){if("string"!=typeofe){o("The argument for removeNullCharacters must be a string.");returne}returne.replace(ye,"")}functionb(e){u(null!==e&&"object"===(void0===e?"undefined":X(e))&&void0!==e.length,"Invalid argument for bytesToString");vart=e.length;if(t<8192)returnString.fromCharCode.apply(null,e);for(varr=[],a=0;a<t;a+=8192){vari=Math.min(a+8192,t),n=e.subarray(a,i);r.push(String.fromCharCode.apply(null,n))}returnr.join("")}functionv(e){u("string"==typeofe,"Invalid argument for stringToBytes");for(vart=e.length,r=newUint8Array(t),a=0;a<t;++a)r[a]=255&e.charCodeAt(a);returnr}functiony(e){if(void0!==e.length)returne.length;u(void0!==e.byteLength);returne.byteLength}functionw(e){if(1===e.length&&e[0]instanceofUint8Array)returne[0];vart,r,a,i=0,n=e.length;for(t=0;t<n;t++){r=e[t];a=y(r);i+=a}varo=0,s=newUint8Array(i);for(t=0;t<n;t++){r=e[t];rinstanceofUint8Array||(r="string"==typeofr?v(r):newUint8Array(r));a=r.byteLength;s.set(r,o);o+=a}returns}functionk(e){returnString.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}functionS(e){for(vart=1,r=0;e>t;){t<<=1;r++}returnr}functionC(e,t){returne[t]<<24>>24}functionx(e,t){returne[t]<<8|e[t+1]}functionA(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}functionP(){vare=newUint8Array(4);e[0]=1;return1===newUint32Array(e.buffer,0,1)[0]}function_(){try{newFunction("");return!0}catch(e){return!1}}functionI(e){vart,r=e.length,a=[];if("þ"===e[0]&&"ÿ"===e[1])for(t=2;t<r;t+=2)a.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)));elsefor(t=0;t<r;++t){vari=Ce[e.charCodeAt(t)];a.push(i?String.fromCharCode(i):e.charAt(t))}returna.join("")}functionO(e){returndecodeURIComponent(escape(e))}functionT(e){returnunescape(encodeURIComponent(e))}functionR(e){for(vartine)return!1;return!0}functionE(e){return"boolean"==typeofe}functionB(e){return"number"==typeofe&&(0|e)===e}functionF(e){return"number"==typeofe}functionM(e){return"string"==typeofe}functionD(e){returneinstanceofArray}functionq(e){return"object"===(void0===e?"undefined":X(e))&&null!==e&&void0!==e.byteLength}functionL(e){return32===e||9===e||13===e||10===e}functionN(){return"undefined"==typeof__pdfjsdev_
;t.parseToIR=function(e,r,o){if((0,i.isName)(e)){vars=o.get("ColorSpace");if((0,i.isDict)(s)){varc=s.get(e.name);c&&(e=c)}}e=r.fetchIfRef(e);if((0,i.isName)(e))switch(e.name){case"DeviceGray":case"G":return"DeviceGrayCS";case"DeviceRGB":case"RGB":return"DeviceRgbCS";case"DeviceCMYK":case"CMYK":return"DeviceCmykCS";case"Pattern":return["PatternCS",null];default:(0,a.error)("unrecognized colorspace "+e.name)}elseif((0,a.isArray)(e)){varl,u,h,f,d,g,m=r.fetchIfRef(e[0]).name;switch(m){case"DeviceGray":case"G":return"DeviceGrayCS";case"DeviceRGB":case"RGB":return"DeviceRgbCS";case"DeviceCMYK":case"CMYK":return"DeviceCmykCS";case"CalGray":u=r.fetchIfRef(e[1]);f=u.getArray("WhitePoint");d=u.getArray("BlackPoint");g=u.get("Gamma");return["CalGrayCS",f,d,g];case"CalRGB":u=r.fetchIfRef(e[1]);f=u.getArray("WhitePoint");d=u.getArray("BlackPoint");g=u.getArray("Gamma");varp=u.getArray("Matrix");return["CalRGBCS",f,d,g,p];case"ICCBased":varb=r.fetchIfRef(e[1]),v=b.dict;l=v.get("N");h=v.get("Alternate");if(h){vary=t.parseToIR(h,r,o),w=t.fromIR(y);if(w.numComps===l)returny;(0,a.warn)("ICCBased color space: Ignoring incorrect /Alternate entry.")}if(1===l)return"DeviceGrayCS";if(3===l)return"DeviceRgbCS";if(4===l)return"DeviceCmykCS";break;case"Pattern":vark=e[1]||null;k&&(k=t.parseToIR(k,r,o));return["PatternCS",k];case"Indexed":case"I":varS=t.parseToIR(e[1],r,o),C=r.fetchIfRef(e[2])+1,x=r.fetchIfRef(e[3]);(0,i.isStream)(x)&&(x=x.getBytes());return["IndexedCS",S,C,x];case"Separation":case"DeviceN":varA=r.fetchIfRef(e[1]);l=(0,a.isArray)(A)?A.length:1;h=t.parseToIR(e[2],r,o);varP=n.PDFFunction.getIR(r,r.fetchIfRef(e[3]));return["AlternateCS",l,h,P];case"Lab":u=r.fetchIfRef(e[1]);f=u.getArray("WhitePoint");d=u.getArray("BlackPoint");var_=u.getArray("Range");return["LabCS",f,d,_];default:(0,a.error)('unimplemented color space object "'+m+'"')}}else(0,a.error)('unrecognized color space object: "'+e+'"');returnnull};t.isDefaultDecode=function(e,t){if(!(0,a.isArray)(e))return!0;if(2*t!==e.length){(0,a.warn)("The decode map is not the correct length");return!0}for(varr=0,i=e.length;r<i;r+=2)if(0!==e[r]||1!==e[r+1])return!1;return!0};t.singletons={getgray(){return(0,a.shadow)(this,"gray",newu)},getrgb(){return(0,a.shadow)(this,"rgb",newh)},getcmyk(){return(0,a.shadow)(this,"cmyk",newf)}};returnt}(),s=function(){functione(e,t,r){this.name="Alternate";this.numComps=e;this.defaultColor=newFloat32Array(e);for(vara=0;a<e;++a)this.defaultColor[a]=1;this.base=t;this.tintFn=r;this.tmpBuf=newFloat32Array(t.numComps)}e.prototype={getRgb:o.prototype.getRgb,getRgbItem:function(e,t,r,a){vari=this.tmpBuf;this.tintFn(e,t,i,0);this.base.getRgbItem(i,0,r,a)},getRgbBuffer:function(e,t,r,a,i,n,o){vars,c,l=this.tintFn,u=this.base,h=1/((1<<n)-1),f=u.numComps,d=u.usesZeroToOneRange,g=(u.isPassthrough(8)||!d)&&0===o,m=g?i:0,p=g?a:newUint8Array(f*r),b=this.numComps,v=newFloat32Array(b),y=newFloat32Array(f);for(s=0;s<r;s++){for(c=0;c<b;c++)v[c]=e[t++]*h;l(v,0,y,0);if(d)for(c=0;c<f;c++)p[m++]=255*y[c];else{u.getRgbItem(y,0,p,m);m+=f}}g||u.getRgbBuffer(p,0,r,a,i,8,o)},getOutputLength:function(e,t){returnthis.base.getOutputLength(e*this.base.numComps/this.numComps,t)},isPassthrough:o.prototype.isPassthrough,fillRgb:o.prototype.fillRgb,isDefaultDecode:function(e){returno.isDefaultDecode(e,this.numComps)},usesZeroToOneRange:!0};returne}(),c=function(){functione(e){this.name="Pattern";this.base=e}e.prototype={};returne}(),l=function(){functione(e,t,r){this.name="Indexed";this.numComps=1;this.defaultColor=newUint8Array(this.numComps);this.base=e;this.highVal=t;varn=e.numComps,o=n*t;if((0,i.isStream)(r)){this.lookup=newUint8Array(o);vars=r.getBytes(o);this.lookup.set(s)}elseif((0,a.isString)(r)){this.lookup=newUint8Array(o);for(varc=0;c<o;++c)this.lookup[c]=r.charCodeAt(c)}elserinstanceofUint8Array||rinstanceofArray?this.lookup=r:(0,a.error)("Unrecognized lookup table: "+r)}e.prototype={getRgb:o.prototype.getRgb,getRgbItem:function(e,t,r,a){vari=this.base.numComps,n=e[t]*i;this.base.getRgbItem(this.lookup,n,r,a)},getRgbBuffer:f
for(vart,r,a=e.pos;-1!==(t=e.getByte());)if(126===t&&62===e.peekByte()){e.skip();break}r=e.pos-a;if(-1===t){(0,i.warn)("Inline ASCII85Decode image stream: EOD marker not found, searching for /EI/ instead.");e.skip(-r);returnthis.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);returnr},findASCIIHexDecodeInlineStreamEnd:function(e){for(vart,r,a=e.pos;-1!==(t=e.getByte())&&62!==t;);r=e.pos-a;if(-1===t){(0,i.warn)("Inline ASCIIHexDecode image stream: EOD marker not found, searching for /EI/ instead.");e.skip(-r);returnthis.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);returnr},inlineStreamSkipEI:function(e){for(vart,r=0;-1!==(t=e.getByte());)if(0===r)r=69===t?1:0;elseif(1===r)r=73===t?2:0;elseif(2===r)break},makeInlineImage:function(e){for(vart=this.lexer,r=t.stream,a=newn.Dict(this.xref);!(0,n.isCmd)(this.buf1,"ID")&&!(0,n.isEOF)(this.buf1);){(0,n.isName)(this.buf1)||(0,i.error)("Dictionary key must be a name object");varo=this.buf1.name;this.shift();if((0,n.isEOF)(this.buf1))break;a.set(o,this.getObj(e))}vars,c=a.get("Filter","F");if((0,n.isName)(c))s=c.name;elseif((0,i.isArray)(c)){varl=this.xref.fetchIfRef(c[0]);(0,n.isName)(l)&&(s=l.name)}varu,h,f,d=r.pos;u="DCTDecode"===s||"DCT"===s?this.findDCTDecodeInlineStreamEnd(r):"ASCII85Decide"===s||"A85"===s?this.findASCII85DecodeInlineStreamEnd(r):"ASCIIHexDecode"===s||"AHx"===s?this.findASCIIHexDecodeInlineStreamEnd(r):this.findDefaultInlineStreamEnd(r);varg,m=r.makeSubStream(d,u,a);if(u<1e3){varp=m.getBytes();m.reset();varb=1,v=0;for(h=0,f=p.length;h<f;++h){b+=255&p[h];v+=b}g=v%65521<<16|b%65521;if(this.imageCache.adler32===g){this.buf2=n.Cmd.get("EI");this.shift();this.imageCache[g].reset();returnthis.imageCache[g]}}e&&(m=e.createStream(m,u));m=this.filter(m,a,u);m.dict=a;if(void0!==g){m.cacheKey="inline_"+u+"_"+g;this.imageCache[g]=m}this.buf2=n.Cmd.get("EI");this.shift();returnm},makeStream:function(e,t){varr=this.lexer,a=r.stream;r.skipToNextLine();varo=a.pos-1,s=e.get("Length");if(!(0,i.isInt)(s)){(0,i.info)("Bad "+s+" attribute in stream");s=0}a.pos=o+s;r.nextChar();if(this.tryShift()&&(0,n.isCmd)(this.buf2,"endstream"))this.shift();else{a.pos=o;for(varc,l,u=[101,110,100,115,116,114,101,97,109],h=0,f=!1;a.pos<a.end;){vard=a.peekBytes(2048),g=d.length-9;if(g<=0)break;f=!1;c=0;for(;c<g;){l=0;for(;l<9&&d[c+l]===u[l];)l++;if(l>=9){f=!0;break}c++}if(f){h+=c;a.pos+=c;break}h+=g;a.pos+=g}f||(0,i.error)("Missing endstream");s=h;r.nextChar();this.shift();this.shift()}this.shift();a=a.makeSubStream(o,s,e);t&&(a=t.createStream(a,s));a=this.filter(a,e,s);a.dict=e;returna},filter:function(e,t,r){vara=t.get("Filter","F"),o=t.get("DecodeParms","DP");if((0,n.isName)(a)){(0,i.isArray)(o)&&(o=this.xref.fetchIfRef(o[0]));returnthis.makeFilter(e,a.name,r,o)}vars=r;if((0,i.isArray)(a))for(varc=a,l=o,u=0,h=c.length;u<h;++u){a=this.xref.fetchIfRef(c[u]);(0,n.isName)(a)||(0,i.error)("Bad filter name: "+a);o=null;(0,i.isArray)(l)&&uinl&&(o=this.xref.fetchIfRef(l[u]));e=this.makeFilter(e,a.name,s,o);s=null}returne},makeFilter:function(e,t,r,n){if(0===r){(0,i.warn)('Empty "'+t+'" stream.');returnnewa.NullStream(e)}try{varo=this.xref.stats.streamTypes;if("FlateDecode"===t||"Fl"===t){o[i.StreamType.FLATE]=!0;returnn?newa.PredictorStream(newa.FlateStream(e,r),r,n):newa.FlateStream(e,r)}if("LZWDecode"===t||"LZW"===t){o[i.StreamType.LZW]=!0;vars=1;if(n){n.has("EarlyChange")&&(s=n.get("EarlyChange"));returnnewa.PredictorStream(newa.LZWStream(e,r,s),r,n)}returnnewa.LZWStream(e,r,s)}if("DCTDecode"===t||"DCT"===t){o[i.StreamType.DCT]=!0;returnnewa.JpegStream(e,r,e.dict,n)}if("JPXDecode"===t||"JPX"===t){o[i.StreamType.JPX]=!0;returnnewa.JpxStream(e,r,e.dict,n)}if("ASCII85Decode"===t||"A85"===t){o[i.StreamType.A85]=!0;returnnewa.Ascii85Stream(e,r)}if("ASCIIHexDecode"===t||"AHx"===t){o[i.StreamType.AHX]=!0;returnnewa.AsciiHexStream(e,r)}if("CCITTFaxDecode"===t||"CCF"===t){o[i.StreamType.CCF]=!0;returnnewa.CCITTFaxStream(e,r,n)}if("RunLengthDecode"===t||"RL"===t){o[i.StreamType.RL]=!0;returnnewa.RunLengthStream(e,r)}if("JBIG2Deco
onError:function(e){this._loadedStreamCapability.reject(e)},getBeginChunk:function(e){returnMath.floor(e/this.chunkSize)},getEndChunk:function(e){returnMath.floor((e-1)/this.chunkSize)+1},abort:function(){this.aborted=!0;this.pdfNetworkStream&&this.pdfNetworkStream.cancelAllRequests("abort");for(vareinthis.promisesByRequest){this.promisesByRequest[e].reject(newError("Request was aborted"))}}};returne}();t.ChunkedStream=i;t.ChunkedStreamManager=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.calculateSHA512=t.calculateSHA384=t.calculateSHA256=t.calculateMD5=t.PDF20=t.PDF17=t.CipherTransformFactory=t.ARCFourCipher=t.AES256Cipher=t.AES128Cipher=void0;vara=r(0),i=r(1),n=r(2),o=function(){functione(e){this.a=0;this.b=0;vart,r,a=newUint8Array(256),i=0,n=e.length;for(t=0;t<256;++t)a[t]=t;for(t=0;t<256;++t){r=a[t];i=i+r+e[t%n]&255;a[t]=a[i];a[i]=r}this.s=a}e.prototype={encryptBlock:function(e){vart,r,a,i=e.length,n=this.a,o=this.b,s=this.s,c=newUint8Array(i);for(t=0;t<i;++t){n=n+1&255;r=s[n];o=o+r&255;a=s[o];s[n]=a;s[o]=r;c[t]=e[t]^s[r+a&255]}this.a=n;this.b=o;returnc}};e.prototype.decryptBlock=e.prototype.encryptBlock;returne}(),s=function(){functione(e,a,i){varn,o,s,c=1732584193,l=-271733879,u=-1732584194,h=271733878,f=i+72&-64,d=newUint8Array(f);for(n=0;n<i;++n)d[n]=e[a++];d[n++]=128;s=f-8;for(;n<s;)d[n++]=0;d[n++]=i<<3&255;d[n++]=i>>5&255;d[n++]=i>>13&255;d[n++]=i>>21&255;d[n++]=i>>>29&255;d[n++]=0;d[n++]=0;d[n++]=0;varg=newInt32Array(16);for(n=0;n<f;){for(o=0;o<16;++o,n+=4)g[o]=d[n]|d[n+1]<<8|d[n+2]<<16|d[n+3]<<24;varm,p,b=c,v=l,y=u,w=h;for(o=0;o<64;++o){if(o<16){m=v&y|~v&w;p=o}elseif(o<32){m=w&v|~w&y;p=5*o+1&15}elseif(o<48){m=v^y^w;p=3*o+5&15}else{m=y^(v|~w);p=7*o&15}vark=w,S=b+m+r[o]+g[p]|0,C=t[o];w=y;y=v;v=v+(S<<C|S>>>32-C)|0;b=k}c=c+b|0;l=l+v|0;u=u+y|0;h=h+w|0}returnnewUint8Array([255&c,c>>8&255,c>>16&255,c>>>24&255,255&l,l>>8&255,l>>16&255,l>>>24&255,255&u,u>>8&255,u>>16&255,u>>>24&255,255&h,h>>8&255,h>>16&255,h>>>24&255])}vart=newUint8Array([7,12,17,22,7,12,17,22,7,12,17,22,7,12,17,22,5,9,14,20,5,9,14,20,5,9,14,20,5,9,14,20,4,11,16,23,4,11,16,23,4,11,16,23,4,11,16,23,6,10,15,21,6,10,15,21,6,10,15,21,6,10,15,21]),r=newInt32Array([-680876936,-389564586,606105819,-1044525330,-176418897,1200080426,-1473231341,-45705983,1770035416,-1958414417,-42063,-1990404162,1804603682,-40341101,-1502002290,1236535329,-165796510,-1069501632,643717713,-373897302,-701558691,38016083,-660478335,-405537848,568446438,-1019803690,-187363961,1163531501,-1444681467,-51403784,1735328473,-1926607734,-378558,-2022574463,1839030562,-35309556,-1530992060,1272893353,-155497632,-1094730640,681279174,-358537222,-722521979,76029189,-640364487,-421815835,530742520,-995338651,-198630844,1126891415,-1416354905,-57434055,1700485571,-1894986606,-1051523,-2054922799,1873313359,-30611744,-1560198380,1309151649,-145523070,-1120210379,718787259,-343485551]);returne}(),c=function(){functione(e,t){this.high=0|e;this.low=0|t}e.prototype={and:function(e){this.high&=e.high;this.low&=e.low},xor:function(e){this.high^=e.high;this.low^=e.low},or:function(e){this.high|=e.high;this.low|=e.low},shiftRight:function(e){if(e>=32){this.low=this.high>>>e-32|0;this.high=0}else{this.low=this.low>>>e|this.high<<32-e;this.high=this.high>>>e|0}},shiftLeft:function(e){if(e>=32){this.high=this.low<<e-32;this.low=0}else{this.high=this.high<<e|this.low>>>32-e;this.low=this.low<<e}},rotateRight:function(e){vart,r;if(32&e){r=this.low;t=this.high}else{t=this.low;r=this.high}e&=31;this.low=t>>>e|r<<32-e;this.high=r>>>e|t<<32-e},not:function(){this.high=~this.high;this.low=~this.low},add:function(e){vart=(this.low>>>0)+(e.low>>>0),r=(this.high>>>0)+(e.high>>>0);t>4294967295&&(r+=1);this.low=0|t;this.high=0|r},copyTo:function(e,t){e[t]=this.high>>>24&255;e[t+1]=this.high>>16&255;e[t+2]=this.high>>8&255;e[t+3]=255&this.high;e[t+4]=this.low>>>24&255;e[t+5]=this.low>>16&255;e[t+6]=this.low>>8&255;e[t+7]=255&this.low},assign:function(e){this.high=e.high;this.low=e.low}};returne}(),l=function(){functione(e,t){returne>>>t|e<<3
o.isDict)(u))for(varh=u.getKeys(),f=0,d=h.length;f<d;f++){varg=u.getRaw(h[f]);if((0,o.isName)(g))l.update(g.name);elseif((0,o.isRef)(g))l.update(g.toString());elseif((0,a.isArray)(g)){for(varm=g.length,p=newArray(m),b=0;b<m;b++){vary=g[b];(0,o.isName)(y)?p[b]=y.name:((0,a.isNum)(y)||(0,o.isRef)(y))&&(p[b]=y.toString())}l.update(p.join())}}varw=e.get("ToUnicode")||t.get("ToUnicode");if((0,o.isStream)(w)){vark=w.str||w;i=k.buffer?newUint8Array(k.buffer.buffer,0,k.bufferLength):newUint8Array(k.bytes.buffer,k.start,k.end-k.start);l.update(i)}else(0,o.isName)(w)&&l.update(w.name);varS=e.get("Widths")||t.get("Widths");if(S){i=newUint8Array(newUint32Array(S).buffer);l.update(i)}}return{descriptor:c,dict:e,baseDict:t,composite:n,type:r.name,hash:l?l.hexdigest():""}},translateFont:function(e){vart,r=this,n=e.baseDict,c=e.dict,l=e.composite,h=e.descriptor,f=e.type,d=l?65535:255;if(!h){if("Type3"!==f){varg=c.get("BaseFont");(0,a.assert)((0,o.isName)(g),"Base font is not specified");g=g.name.replace(/[,_]/g,"-");varm=this.getBaseFontMetrics(g),p=g.split("-")[0],b=(this.isSerifFont(p)?s.FontFlags.Serif:0)|(m.monospace?s.FontFlags.FixedPitch:0)|((0,u.getSymbolsFonts)()[p]?s.FontFlags.Symbolic:s.FontFlags.Nonsymbolic);t={type:f,name:g,widths:m.widths,defaultWidth:m.defaultWidth,flags:b,firstChar:0,lastChar:d};returnthis.extractDataStructures(c,c,t).then(function(e){e.widths=r.buildCharCodeToWidth(m.widths,e);returnnews.Font(g,null,e)})}h=newo.Dict(null);h.set("FontName",o.Name.get(f));h.set("FontBBox",c.getArray("FontBBox"))}varv=c.get("FirstChar")||0,y=c.get("LastChar")||d,w=h.get("FontName"),k=c.get("BaseFont");(0,a.isString)(w)&&(w=o.Name.get(w));(0,a.isString)(k)&&(k=o.Name.get(k));if("Type3"!==f){varS=w&&w.name,C=k&&k.name;if(S!==C){(0,a.info)("The FontDescriptor's FontName is \""+S+'" but should be the same as the Font\'s BaseFont "'+C+'"');S&&C&&0===C.indexOf(S)&&(w=k)}}w=w||k;(0,a.assert)((0,o.isName)(w),"invalid font name");varx=h.get("FontFile","FontFile2","FontFile3");if(x&&x.dict){varA=x.dict.get("Subtype");A&&(A=A.name);varP=x.dict.get("Length1"),_=x.dict.get("Length2"),I=x.dict.get("Length3")}t={type:f,name:w.name,subtype:A,file:x,length1:P,length2:_,length3:I,loadedName:n.loadedName,composite:l,wideChars:l,fixedPitch:!1,fontMatrix:c.getArray("FontMatrix")||a.FONT_IDENTITY_MATRIX,firstChar:v||0,lastChar:y||d,bbox:h.getArray("FontBBox"),ascent:h.get("Ascent"),descent:h.get("Descent"),xHeight:h.get("XHeight"),capHeight:h.get("CapHeight"),flags:h.get("Flags"),italicAngle:h.get("ItalicAngle"),coded:!1};varO;if(l){varT=n.get("Encoding");(0,o.isName)(T)&&(t.cidEncoding=T.name);O=i.CMapFactory.create({encoding:T,fetchBuiltInCMap:this.fetchBuiltInCMap,useCMap:null}).then(function(e){t.cMap=e;t.vertical=t.cMap.vertical})}elseO=Promise.resolve(void0);returnO.then(function(){returnr.extractDataStructures(c,n,t)}).then(function(e){r.extractWidths(c,h,e);"Type3"===f&&(e.isType3Font=!0);returnnews.Font(w.name,x,e)})}};returnt}(),k=function(){functione(e,t,r){this.loadedName=e;this.font=t;this.dict=r;this.type3Loaded=null;this.sent=!1}e.prototype={send:function(e){if(!this.sent){vart=this.font.exportData();e.send("commonobj",[this.loadedName,"Font",t]);this.sent=!0}},loadType3Data:function(e,t,r,i){(0,a.assert)(this.font.isType3Font);if(this.type3Loaded)returnthis.type3Loaded;varn=Object.create(e.options);n.ignoreErrors=!1;for(varo=e.clone(n),s=this.font,c=Promise.resolve(),l=this.dict.get("CharProcs"),u=this.dict.get("Resources")||t,h=l.getKeys(),f=Object.create(null),d=0,g=h.length;d<g;++d)!function(){vare=h[d];c=c.then(function(){vart=l.get(e),n=newS;returno.getOperatorList({stream:t,task:i,resources:u,operatorList:n}).then(function(){f[e]=n.getIR();r.addDependencies(n.dependencies)}).catch(function(t){(0,a.warn)('Type3 font resource "'+e+'" is not available.');varr=newS;f[e]=r.getIR()})})}();this.type3Loaded=c.then(function(){s.charProcOperatorList=f});returnthis.type3Loaded}};returne}(),S=function(){functione(e){for(vart=[],r=e.fnArray,i=e.argsArray,n=0,o=e.length;n<o;n++)switch(r[
isSigned:!!(128&e[u]),XRsiz:e[u+1],YRsiz:e[u+1]};t(A,y);C.push(A)}o.SIZ=y;o.components=C;r(o,C);o.QCC=[];o.COC=[];break;case65372:v=(0,a.readUint16)(e,c);varP={};u=c+2;h=e[u++];switch(31&h){case0:d=8;g=!0;break;case1:d=16;g=!1;break;case2:d=16;g=!0;break;default:thrownewError("Invalid SQcd value "+h)}P.noQuantization=8===d;P.scalarExpounded=g;P.guardBits=h>>5;f=[];for(;u<v+c;){var_={};if(8===d){_.epsilon=e[u++]>>3;_.mu=0}else{_.epsilon=e[u]>>3;_.mu=(7&e[u])<<8|e[u+1];u+=2}f.push(_)}P.SPqcds=f;if(o.mainHeader)o.QCD=P;else{o.currentTile.QCD=P;o.currentTile.QCC=[]}break;case65373:v=(0,a.readUint16)(e,c);varI={};u=c+2;varO;if(o.SIZ.Csiz<257)O=e[u++];else{O=(0,a.readUint16)(e,u);u+=2}h=e[u++];switch(31&h){case0:d=8;g=!0;break;case1:d=16;g=!1;break;case2:d=16;g=!0;break;default:thrownewError("Invalid SQcd value "+h)}I.noQuantization=8===d;I.scalarExpounded=g;I.guardBits=h>>5;f=[];for(;u<v+c;){_={};if(8===d){_.epsilon=e[u++]>>3;_.mu=0}else{_.epsilon=e[u]>>3;_.mu=(7&e[u])<<8|e[u+1];u+=2}f.push(_)}I.SPqcds=f;o.mainHeader?o.QCC[O]=I:o.currentTile.QCC[O]=I;break;case65362:v=(0,a.readUint16)(e,c);varT={};u=c+2;varR=e[u++];T.entropyCoderWithCustomPrecincts=!!(1&R);T.sopMarkerUsed=!!(2&R);T.ephMarkerUsed=!!(4&R);T.progressionOrder=e[u++];T.layersCount=(0,a.readUint16)(e,u);u+=2;T.multipleComponentTransform=e[u++];T.decompositionLevelsCount=e[u++];T.xcb=2+(15&e[u++]);T.ycb=2+(15&e[u++]);varE=e[u++];T.selectiveArithmeticCodingBypass=!!(1&E);T.resetContextProbabilities=!!(2&E);T.terminationOnEachCodingPass=!!(4&E);T.verticalyStripe=!!(8&E);T.predictableTermination=!!(16&E);T.segmentationSymbolUsed=!!(32&E);T.reversibleTransformation=e[u++];if(T.entropyCoderWithCustomPrecincts){for(varB=[];u<v+c;){varF=e[u++];B.push({PPx:15&F,PPy:F>>4})}T.precinctsSizes=B}varM=[];T.selectiveArithmeticCodingBypass&&M.push("selectiveArithmeticCodingBypass");T.resetContextProbabilities&&M.push("resetContextProbabilities");T.terminationOnEachCodingPass&&M.push("terminationOnEachCodingPass");T.verticalyStripe&&M.push("verticalyStripe");T.predictableTermination&&M.push("predictableTermination");if(M.length>0){s=!0;thrownewError("Unsupported COD options ("+M.join(", ")+")")}if(o.mainHeader)o.COD=T;else{o.currentTile.COD=T;o.currentTile.COC=[]}break;case65424:v=(0,a.readUint16)(e,c);m={};m.index=(0,a.readUint16)(e,c+2);m.length=(0,a.readUint32)(e,c+4);m.dataEnd=m.length+c-2;m.partIndex=e[c+8];m.partsCount=e[c+9];o.mainHeader=!1;if(0===m.partIndex){m.COD=o.COD;m.COC=o.COC.slice(0);m.QCD=o.QCD;m.QCC=o.QCC.slice(0)}o.currentTile=m;break;case65427:m=o.currentTile;if(0===m.partIndex){k(o,m.index);p(o)}v=m.dataEnd-c;b(o,e,c,v);break;case65365:case65367:case65368:case65380:v=(0,a.readUint16)(e,c);break;case65363:thrownewError("Codestream code 0xFF53 (COC) is not implemented");default:thrownewError("Unknown codestream code: "+l.toString(16))}c+=v}}catch(e){s||this.failOnCorruptedImage?(0,a.error)("JPX Error: "+e.message):(0,a.warn)("JPX: Trying to recover from: "+e.message)}this.tiles=w(o);this.width=o.SIZ.Xsiz-o.SIZ.XOsiz;this.height=o.SIZ.Ysiz-o.SIZ.YOsiz;this.componentsCount=o.SIZ.Csiz}};varC=function(){functione(e,t){varr=(0,a.log2)(Math.max(e,t))+1;this.levels=[];for(vari=0;i<r;i++){varn={width:e,height:t,items:[]};this.levels.push(n);e=Math.ceil(e/2);t=Math.ceil(t/2)}}e.prototype={reset:function(e,t){for(varr,a=0,i=0;a<this.levels.length;){r=this.levels[a];varn=e+t*r.width;if(void0!==r.items[n]){i=r.items[n];break}r.index=n;e>>=1;t>>=1;a++}a--;r=this.levels[a];r.items[r.index]=i;this.currentLevel=a;deletethis.value},incrementValue:function(){vare=this.levels[this.currentLevel];e.items[e.index]++},nextLevel:function(){vare=this.currentLevel,t=this.levels[e],r=t.items[t.index];e--;if(e<0){this.value=r;return!1}this.currentLevel=e;t=this.levels[e];t.items[t.index]=r;return!0}};returne}(),x=function(){functione(e,t,r){vari=(0,a.log2)(Math.max(e,t))+1;this.levels=[];for(varn=0;n<i;n++){for(varo=newUint8Array(e*t),s=0,c=o.length;s<c;s++)o[s]=r;varl={width:e,height:t,items:o};this.levels.push(l);e=Math.ceil(e/2);t=Mat
a=i[s];e(a)&&r.push(a)}}elseif((0,n.isArray)(t))for(varc=0,l=t.length;c<l;c++){a=t[c];e(a)&&r.push(a)}}functionr(e,t,r){this.obj=e;this.keys=t;this.xref=r;this.refSet=null;this.capability=null}r.prototype={load:function(){vare=this.keys;this.capability=(0,n.createPromiseCapability)();if(!(this.xref.streaminstanceofc.ChunkedStream)||0===this.xref.stream.getMissingChunks().length){this.capability.resolve();returnthis.capability.promise}this.refSet=newo.RefSet;for(vart=[],r=0;r<e.length;r++)t.push(this.obj[e[r]]);this._walk(t);returnthis.capability.promise},_walk:function(e){for(varr=this,a=[],i=[];e.length;){vars=e.pop();if((0,o.isRef)(s)){if(this.refSet.has(s))continue;try{varc=s;this.refSet.put(c);s=this.xref.fetch(s)}catch(e){if(!(einstanceofn.MissingDataException))throwe;a.push(s);i.push({begin:e.begin,end:e.end})}}if(s&&s.getBaseStreams){for(varl=s.getBaseStreams(),u=!1,h=0;h<l.length;h++){varf=l[h];if(f.getMissingChunks&&f.getMissingChunks().length){u=!0;i.push({begin:f.start,end:f.end})}}u&&a.push(s)}t(s,e)}if(i.length)this.xref.stream.manager.requestRanges(i).then(function(){e=a;for(vart=0;t<a.length;t++){vari=a[t];(0,o.isRef)(i)&&r.refSet.remove(i)}r._walk(e)},this.capability.reject);else{this.refSet=null;this.capability.resolve()}}};returnr}();t.Catalog=h;t.ObjectLoader=b;t.XRef=f;t.FileSpec=p},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.getSupplementalGlyphMapForArialBlack=t.getGlyphMapForStandardFonts=t.getSymbolsFonts=t.getSerifFonts=t.getNonStdFontMap=t.getStdFontMap=void0;vara=r(0),i=(0,a.getLookupTableFactory)(function(e){e.ArialNarrow="Helvetica";e["ArialNarrow-Bold"]="Helvetica-Bold";e["ArialNarrow-BoldItalic"]="Helvetica-BoldOblique";e["ArialNarrow-Italic"]="Helvetica-Oblique";e.ArialBlack="Helvetica";e["ArialBlack-Bold"]="Helvetica-Bold";e["ArialBlack-BoldItalic"]="Helvetica-BoldOblique";e["ArialBlack-Italic"]="Helvetica-Oblique";e["Arial-Black"]="Helvetica";e["Arial-Black-Bold"]="Helvetica-Bold";e["Arial-Black-BoldItalic"]="Helvetica-BoldOblique";e["Arial-Black-Italic"]="Helvetica-Oblique";e.Arial="Helvetica";e["Arial-Bold"]="Helvetica-Bold";e["Arial-BoldItalic"]="Helvetica-BoldOblique";e["Arial-Italic"]="Helvetica-Oblique";e["Arial-BoldItalicMT"]="Helvetica-BoldOblique";e["Arial-BoldMT"]="Helvetica-Bold";e["Arial-ItalicMT"]="Helvetica-Oblique";e.ArialMT="Helvetica";e["Courier-Bold"]="Courier-Bold";e["Courier-BoldItalic"]="Courier-BoldOblique";e["Courier-Italic"]="Courier-Oblique";e.CourierNew="Courier";e["CourierNew-Bold"]="Courier-Bold";e["CourierNew-BoldItalic"]="Courier-BoldOblique";e["CourierNew-Italic"]="Courier-Oblique";e["CourierNewPS-BoldItalicMT"]="Courier-BoldOblique";e["CourierNewPS-BoldMT"]="Courier-Bold";e["CourierNewPS-ItalicMT"]="Courier-Oblique";e.CourierNewPSMT="Courier";e.Helvetica="Helvetica";e["Helvetica-Bold"]="Helvetica-Bold";e["Helvetica-BoldItalic"]="Helvetica-BoldOblique";e["Helvetica-BoldOblique"]="Helvetica-BoldOblique";e["Helvetica-Italic"]="Helvetica-Oblique";e["Helvetica-Oblique"]="Helvetica-Oblique";e["Symbol-Bold"]="Symbol";e["Symbol-BoldItalic"]="Symbol";e["Symbol-Italic"]="Symbol";e.TimesNewRoman="Times-Roman";e["TimesNewRoman-Bold"]="Times-Bold";e["TimesNewRoman-BoldItalic"]="Times-BoldItalic";e["TimesNewRoman-Italic"]="Times-Italic";e.TimesNewRomanPS="Times-Roman";e["TimesNewRomanPS-Bold"]="Times-Bold";e["TimesNewRomanPS-BoldItalic"]="Times-BoldItalic";e["TimesNewRomanPS-BoldItalicMT"]="Times-BoldItalic";e["TimesNewRomanPS-BoldMT"]="Times-Bold";e["TimesNewRomanPS-Italic"]="Times-Italic";e["TimesNewRomanPS-ItalicMT"]="Times-Italic";e.TimesNewRomanPSMT="Times-Roman";e["TimesNewRomanPSMT-Bold"]="Times-Bold";e["TimesNewRomanPSMT-BoldItalic"]="Times-BoldItalic";e["TimesNewRomanPSMT-Italic"]="Times-Italic"}),n=(0,a.getLookupTableFactory)(function(e){e.CenturyGothic="Helvetica";e["CenturyGothic-Bold"]="Helvetica-Bold";e["CenturyGothic-BoldItalic"]="Helvetica-BoldOblique";e["CenturyGothic-Italic"]="Helvetica-Oblique";e.ComicSansMS="Comic Sans MS";e["ComicSansMS-Bold"]="Comic Sans MS-Bold";e["ComicSansMS-BoldItalic"
Le(!0===o(e),"stream must be ReadableStream");Le("readable"===e._state,"state must be readable");e._state="errored";e._storedError=t;varr=e._reader;if(void0!==r){if(!0===A(r)){for(vara=0;a<r._readRequests.length;a++){r._readRequests[a]._reject(t)}r._readRequests=[]}else{Le(x(r),"reader must be ReadableStreamBYOBReader");for(vari=0;i<r._readIntoRequests.length;i++){r._readIntoRequests[i]._reject(t)}r._readIntoRequests=[]}me(r,t);r._closedPromise.catch(function(){})}}functionv(e,t,r){vara=e._reader;Le(a._readIntoRequests.length>0);a._readIntoRequests.shift()._resolve(Pe(t,r))}functiony(e,t,r){vara=e._reader;Le(a._readRequests.length>0);a._readRequests.shift()._resolve(Pe(t,r))}functionw(e){returne._reader._readIntoRequests.length}functionk(e){returne._reader._readRequests.length}functionS(e){vart=e._reader;returnvoid0!==t&&!1!==x(t)}functionC(e){vart=e._reader;returnvoid0!==t&&!1!==A(t)}functionx(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readIntoRequests")}functionA(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_readRequests")}functionP(e,t){e._ownerReadableStream=t;t._reader=e;if("readable"===t._state)fe(e);elseif("closed"===t._state)ge(e);else{Le("errored"===t._state,"state must be errored");de(e,t._storedError);e._closedPromise.catch(function(){})}}function_(e,t){varr=e._ownerReadableStream;Le(void0!==r);returnm(r,t)}functionI(e){Le(void0!==e._ownerReadableStream);Le(e._ownerReadableStream._reader===e);"readable"===e._ownerReadableStream._state?me(e,newTypeError("Reader was released and can no longer be used to monitor the stream's closedness")):pe(e,newTypeError("Reader was released and can no longer be used to monitor the stream's closedness"));e._closedPromise.catch(function(){});e._ownerReadableStream._reader=void0;e._ownerReadableStream=void0}functionO(e,t){varr=e._ownerReadableStream;Le(void0!==r);r._disturbed=!0;return"errored"===r._state?Promise.reject(r._storedError):Z(r._readableStreamController,t)}functionT(e){vart=e._ownerReadableStream;Le(void0!==t);t._disturbed=!0;if("closed"===t._state)returnPromise.resolve(Pe(void0,!0));if("errored"===t._state)returnPromise.reject(t._storedError);Le("readable"===t._state);returnt._readableStreamController.__pullSteps()}functionR(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingSource")}functionE(e){if(!1!==B(e))if(!0!==e._pulling){Le(!1===e._pullAgain);e._pulling=!0;vart=Oe(e._underlyingSource,"pull",[e]);t.then(function(){e._pulling=!1;if(!0===e._pullAgain){e._pullAgain=!1;returnE(e)}},function(t){q(e,t)}).catch(Ne)}elsee._pullAgain=!0}functionB(e){vart=e._controlledReadableStream;return"closed"!==t._state&&"errored"!==t._state&&(!0!==e._closeRequested&&(!1!==e._started&&(!0===c(t)&&k(t)>0||L(e)>0)))}functionF(e){vart=e._controlledReadableStream;Le(!1===e._closeRequested);Le("readable"===t._state);e._closeRequested=!0;0===e._queue.length&&p(t)}functionM(e,t){varr=e._controlledReadableStream;Le(!1===e._closeRequested);Le("readable"===r._state);if(!0===c(r)&&k(r)>0)y(r,t,!1);else{vara=1;if(void0!==e._strategySize){vari=e._strategySize;try{a=i(t)}catch(t){q(e,t);throwt}}try{ze(e,t,a)}catch(t){q(e,t);throwt}}E(e)}functionD(e,t){varr=e._controlledReadableStream;Le("readable"===r._state);He(e);b(r,t)}functionq(e,t){"readable"===e._controlledReadableStream._state&&D(e,t)}functionL(e){vart=e._controlledReadableStream,r=t._state;return"errored"===r?null:"closed"===r?0:e._strategyHWM-e._queueTotalSize}functionN(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingByteSource")}functionU(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}functionj(e){if(!1!==re(e))if(!0!==e._pulling){Le(!1===e._pullAgain);e._pulling=!0;vart=Oe(e._underlyingByteSource,"pull",[e]);t.then(function(){e._pulling=!1;if(!0===e._pullAgain){e._pullAgain=!1;j(e)}},function(t){"readable"===e._controlledReadableStream._state&&ne(e,t)}).catch(Ne)}elsee._pullAgain=!0}functionz(e){K(e);e._pendingPullIntos=[]}functionH(e
varh=i.Util.getInheritableProperty(n,"FT");h=(0,o.isName)(h)?h.name:null;switch(h){case"Tx":returnnewd(l);case"Btn":returnnewg(l);case"Ch":returnnewm(l)}(0,i.warn)('Unimplemented widget field type "'+h+'", falling back to base field type.');returnnewf(l);case"Popup":returnnewv(l);case"Line":returnnewy(l);case"Highlight":returnneww(l);case"Underline":returnnewk(l);case"Squiggly":returnnewS(l);case"StrikeOut":returnnewC(l);case"FileAttachment":returnnewx(l);default:c?(0,i.warn)('Unimplemented annotation type "'+c+'", falling back to base annotation.'):(0,i.warn)("Annotation is missing the required /Subtype.");returnnewu(l)}}}};varu=function(){functione(e,t,r){vara=i.Util.getAxialAlignedBoundingBox(t,r),n=a[0],o=a[1],s=a[2],c=a[3];if(n===s||o===c)return[1,0,0,1,e[0],e[1]];varl=(e[2]-e[0])/(s-n),u=(e[3]-e[1])/(c-o);return[l,0,0,u,e[0]-n*l,e[1]-o*u]}functiont(e){vart=e.dict;this.setFlags(t.get("F"));this.setRectangle(t.getArray("Rect"));this.setColor(t.getArray("C"));this.setBorderStyle(t);this.setAppearance(t);this.data={};this.data.id=e.id;this.data.subtype=e.subtype;this.data.annotationFlags=this.flags;this.data.rect=this.rectangle;this.data.color=this.color;this.data.borderStyle=this.borderStyle;this.data.hasAppearance=!!this.appearance}t.prototype={_hasFlag:function(e,t){return!!(e&t)},_isViewable:function(e){return!this._hasFlag(e,i.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,i.AnnotationFlag.HIDDEN)&&!this._hasFlag(e,i.AnnotationFlag.NOVIEW)},_isPrintable:function(e){returnthis._hasFlag(e,i.AnnotationFlag.PRINT)&&!this._hasFlag(e,i.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,i.AnnotationFlag.HIDDEN)},getviewable(){return0===this.flags||this._isViewable(this.flags)},getprintable(){return0!==this.flags&&this._isPrintable(this.flags)},setFlags:function(e){this.flags=(0,i.isInt)(e)&&e>0?e:0},hasFlag:function(e){returnthis._hasFlag(this.flags,e)},setRectangle:function(e){(0,i.isArray)(e)&&4===e.length?this.rectangle=i.Util.normalizeRect(e):this.rectangle=[0,0,0,0]},setColor:function(e){vart=newUint8Array(3);if((0,i.isArray)(e))switch(e.length){case0:this.color=null;break;case1:s.ColorSpace.singletons.gray.getRgbItem(e,0,t,0);this.color=t;break;case3:s.ColorSpace.singletons.rgb.getRgbItem(e,0,t,0);this.color=t;break;case4:s.ColorSpace.singletons.cmyk.getRgbItem(e,0,t,0);this.color=t;break;default:this.color=t}elsethis.color=t},setBorderStyle:function(e){this.borderStyle=newh;if((0,o.isDict)(e))if(e.has("BS")){vart=e.get("BS"),r=t.get("Type");if(!r||(0,o.isName)(r,"Border")){this.borderStyle.setWidth(t.get("W"));this.borderStyle.setStyle(t.get("S"));this.borderStyle.setDashArray(t.getArray("D"))}}elseif(e.has("Border")){vara=e.getArray("Border");if((0,i.isArray)(a)&&a.length>=3){this.borderStyle.setHorizontalCornerRadius(a[0]);this.borderStyle.setVerticalCornerRadius(a[1]);this.borderStyle.setWidth(a[2]);4===a.length&&this.borderStyle.setDashArray(a[3])}}elsethis.borderStyle.setWidth(0)},setAppearance:function(e){this.appearance=null;vart=e.get("AP");if((0,o.isDict)(t)){varr=t.get("N");if((0,o.isStream)(r))this.appearance=r;elseif((0,o.isDict)(r)){vara=e.get("AS");(0,o.isName)(a)&&r.has(a.name)&&(this.appearance=r.get(a.name))}}},_preparePopup:function(e){e.has("C")||(this.data.color=null);this.data.hasPopup=e.has("Popup");this.data.title=(0,i.stringToPDFString)(e.get("T")||"");this.data.contents=(0,i.stringToPDFString)(e.get("Contents")||"")},loadResources:function(e){returnthis.appearance.dict.getAsync("Resources").then(function(t){if(t){returnnewn.ObjectLoader(t.map,e,t.xref).load().then(function(){returnt})}})},getOperatorList:function(t,r,a){varn=this;if(!this.appearance)returnPromise.resolve(newc.OperatorList);varo=this.data,s=this.appearance.dict,l=this.loadResources(["ExtGState","ColorSpace","Pattern","Shading","XObject","Font"]),u=s.getArray("BBox")||[0,0,1,1],h=s.getArray("Matrix")||[1,0,0,1,0,0],f=e(o.rect,u,h);returnl.then(function(e){vara=newc.OperatorList;a.addOp(i.OPS.beginAnnotation,[o.rect,f,h]);returnt.getOperatorList({stream:n.appearance,task
f(e,t);break;case"begincidrange":g(e,t)}}catch(e){if(einstanceofa.MissingDataException)throwe;(0,a.warn)("Invalid cMap data: "+e);continue}!n&&s&&(n=s);returnn?y(e,r,n):Promise.resolve(e)}functiony(e,t,r){returnw(r,t).then(function(t){e.useCMap=t;if(0===e.numCodespaceRanges){for(varr=e.useCMap.codespaceRanges,a=0;a<r.length;a++)e.codespaceRanges[a]=r[a].slice();e.numCodespaceRanges=e.useCMap.numCodespaceRanges}e.useCMap.forEach(function(t,r){e.contains(t)||e.mapOne(t,e.useCMap.lookup(t))});returne})}functionw(e,t){if("Identity-H"===e)returnPromise.resolve(newl(!1,2));if("Identity-V"===e)returnPromise.resolve(newl(!0,2));if(-1===s.indexOf(e))returnPromise.reject(newError("Unknown CMap name: "+e));(0,a.assert)(t,"Built-in CMap parameters are not provided.");returnt(e).then(function(e){varr=e.cMapData,i=e.compressionType,s=newc(!0);if(i===a.CMapCompressionType.BINARY)return(newu).process(r,s,function(e){returny(s,t,e)});(0,a.assert)(i===a.CMapCompressionType.NONE,"TODO: Only BINARY/NONE CMap compression is currently supported.");varl=newn.Lexer(newo.Stream(r));returnv(s,l,t,null)})}return{create:function(e){vart=e.encoding,r=e.fetchBuiltInCMap,a=e.useCMap;if((0,i.isName)(t))returnw(t.name,r);if((0,i.isStream)(t)){returnv(newc,newn.Lexer(t),r,a).then(function(e){returne.isIdentityCMap?w(e.name,r):e})}returnPromise.reject(newError("Encoding required."))}}}();t.CMap=c;t.IdentityCMap=l;t.CMapFactory=h},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.PDFDocument=t.Page=void0;vara=function(){functione(e,t){varr=[],a=!0,i=!1,n=void0;try{for(varo,s=e[Symbol.iterator]();!(a=(o=s.next()).done);a=!0){r.push(o.value);if(t&&r.length===t)break}}catch(e){i=!0;n=e}finally{try{!a&&s.return&&s.return()}finally{if(i)thrown}}returnr}returnfunction(t,r){if(Array.isArray(t))returnt;if(Symbol.iteratorinObject(t))returne(t,r);thrownewTypeError("Invalid attempt to destructure non-iterable instance")}}(),i=r(0),n=r(16),o=r(1),s=r(2),c=r(14),l=r(21),u=r(13),h=r(5),f=function(){functione(e,t){return"display"===t&&e.viewable||"print"===t&&e.printable}functiont(e,t,r,a,i,n,o){this.pdfManager=e;this.pageIndex=r;this.pageDict=a;this.xref=t;this.ref=i;this.fontCache=n;this.builtInCMapCache=o;this.evaluatorOptions=e.evaluatorOptions;this.resourcesPromise=null;vars="p"+this.pageIndex+"_",c={obj:0};this.idFactory={createObjId:function(){returns+++c.obj}}}varr=[0,0,612,792];t.prototype={getPageProp:function(e){returnthis.pageDict.get(e)},getInheritedPageProp:function(e,t){varr=this.pageDict,a=null,n=0;t=t||!1;for(;r;){vars=t?r.getArray(e):r.get(e);if(void0!==s){a||(a=[]);a.push(s)}if(++n>100){(0,i.warn)("getInheritedPageProp: maximum loop count exceeded for "+e);returna?a[0]:void0}r=r.get("Parent")}if(a)return1!==a.length&&(0,o.isDict)(a[0])?o.Dict.merge(this.xref,a):a[0]},getcontent(){returnthis.getPageProp("Contents")},getresources(){return(0,i.shadow)(this,"resources",this.getInheritedPageProp("Resources")||o.Dict.empty)},getmediaBox(){vare=this.getInheritedPageProp("MediaBox",!0);return(0,i.isArray)(e)&&4===e.length?(0,i.shadow)(this,"mediaBox",e):(0,i.shadow)(this,"mediaBox",r)},getcropBox(){vare=this.getInheritedPageProp("CropBox",!0);return(0,i.isArray)(e)&&4===e.length?(0,i.shadow)(this,"cropBox",e):(0,i.shadow)(this,"cropBox",this.mediaBox)},getuserUnit(){vare=this.getPageProp("UserUnit");(!(0,i.isNum)(e)||e<=0)&&(e=1);return(0,i.shadow)(this,"userUnit",e)},getview(){vare=this.mediaBox,t=this.cropBox;if(e===t)return(0,i.shadow)(this,"view",e);varr=i.Util.intersect(t,e);return(0,i.shadow)(this,"view",r||e)},getrotate(){vare=this.getInheritedPageProp("Rotate")||0;e%90!=0?e=0:e>=360?e%=360:e<0&&(e=(e%360+360)%360);return(0,i.shadow)(this,"rotate",e)},getContentStream:function(){vare,t=this.content;if((0,i.isArray)(t)){varr,a=this.xref,n=t.length,c=[];for(r=0;r<n;++r)c.push(a.fetchIfRef(t[r]));e=news.StreamsSequenceStream(c)}elsee=(0,o.isStream)(t)?t:news.NullStream;returne},loadResources:function(e){vart=this;this.resourcesPromise||(this.reso
varI="\0\0"+p(2*b)+p(v.range)+p(v.entry)+p(v.rangeShift)+w+"\0\0"+y+k+S+C,O="",T="";if(s>1){l+="\0\0\n"+(0,c.string32)(4+8*s+4+I.length);O="";for(r=0,a=o.length;r<a;r++){h=o[r];f=h[0];g=h[2];varR=g[0];for(i=1,n=g.length;i<n;++i)if(g[i]!==g[i-1]+1){d=h[0]+i-1;O+=(0,c.string32)(f)+(0,c.string32)(d)+(0,c.string32)(R);f=d+1;R=g[i]}O+=(0,c.string32)(f)+(0,c.string32)(h[1])+(0,c.string32)(R)}T="\0\f\0\0"+(0,c.string32)(O.length+16)+"\0\0\0\0"+(0,c.string32)(O.length/12)}returnl+"\0"+p(I.length+4)+I+T+O}functionU(e){vart=newm.Stream(e.data),r=t.getUint16();t.getBytes(60);vara=t.getUint16();if(r<4&&768&a)return!1;if(t.getUint16()>t.getUint16())return!1;t.getBytes(6);if(0===t.getUint16())return!1;e.data[8]=e.data[9]=0;return!0}functionj(e,t,r){r=r||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};vara=0,i=0,n=0,o=0,s=null,l=0;if(t)for(varuint){u|=0;(s>u||!s)&&(s=u);l<u&&(l=u);varh=(0,d.getUnicodeRangeFor)(u);h<32?a|=1<<h:h<64?i|=1<<h-32:h<96?n|=1<<h-64:h<123?o|=1<<h-96:(0,c.error)("Unicode ranges Bits > 123 are reserved for internal usage")}else{s=0;l=255}varf=e.bbox||[0,0,0,0],g=r.unitsPerEm||1/(e.fontMatrix||c.FONT_IDENTITY_MATRIX)[0],m=e.ascentScaled?1:g/w,b=r.ascent||Math.round(m*(e.ascent||f[3])),v=r.descent||Math.round(m*(e.descent||f[1]));v>0&&e.descent>0&&f[1]<0&&(v=-v);vary=r.yMax||b,k=-r.yMin||-v;return"\0$ô\0\0\0»\0\0\0»\0\0ß\x001\0\0\0\0"+String.fromCharCode(e.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,c.string32)(a)+(0,c.string32)(i)+(0,c.string32)(n)+(0,c.string32)(o)+"*21*"+p(e.italicAngle?1:0)+p(s||e.firstChar)+p(l||e.lastChar)+p(b)+p(v)+"\0d"+p(y)+p(k)+"\0\0\0\0\0\0\0\0"+p(e.xHeight)+p(e.capHeight)+p(0)+p(s||e.firstChar)+"\0"}functionz(e){vart=Math.floor(e.italicAngle*Math.pow(2,16));return"\0\0\0"+(0,c.string32)(t)+"\0\0\0\0"+(0,c.string32)(e.fixedPitch)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}functionH(e,t){t||(t=[[],[]]);varr,a,i,n,o,s=[t[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||"",t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],c=[];for(r=0,a=s.length;r<a;r++){o=t[1][r]||s[r];varl=[];for(i=0,n=o.length;i<n;i++)l.push(p(o.charCodeAt(i)));c.push(l.join(""))}varu=[s,c],h=["\0","\0"],f=["\0\0","\0"],d=["\0\0","\t"],g=s.length*h.length,m="\0\0"+p(g)+p(12*g+6),b=0;for(r=0,a=h.length;r<a;r++){varv=u[r];for(i=0,n=v.length;i<n;i++){o=v[i];m+=h[r]+f[r]+d[r]+p(i)+p(o.length)+p(b);b+=o.length}}m+=s.join("")+c.join("");returnm}e.getFontID=function(){vare=1;returnfunction(){returnString(e++)}}();e.prototype={name:null,font:null,mimetype:null,encoding:null,getrenderer(){vare=g.FontRendererFactory.create(this,k);return(0,c.shadow)(this,"renderer",e)},exportData:function(){vare={};for(vartinthis)this.hasOwnProperty(t)&&(e[t]=this[t]);returne},checkAndRepair:function(e,i,n){functionf(e,t,r,a,i,n){if(r-t<=12)return0;varo=e.subarray(t,r),s=o[0]<<8|o[1];if(32768&s){a.set(o,i);returno.length}varc,l=10,u=0;for(c=0;c<s;c++){u=(o[l]<<8|o[l+1])+1;l+=2}varh=l,f=o[l]<<8|o[l+1];l+=2+f;vard=l,g=0;for(c=0;c<u;c++){varm=o[l++];192&m&&(o[l-1]=63&m);varp=(2&m?1:16&m?0:2)+(4&m?1:32&m?0:2);g+=p;if(8&m){varb=o[l++];c+=b;g+=b*p}}if(0===g)return0;varv=l+g;if(v>o.length)return0;if(!n&&f>0){a.set(o.subarray(0,h),i);a.set([0,0],i+h);a.set(o.subarray(d,v),i+h+2);v-=f;o.length-v>3&&(v=v+3&-4);returnv}if(o.length-v>3){v=v+3&-4;a.set(o.subarray(0,v),i);returnv}a.set(o,i);returno.length}functiond(e,t){for(varr,a,i,n,o,s=e.data,l=0,u=0,h=0,f=[],d=[],g=[],m=t.tooComplexToFollowFunctions,b=!1,y=0,w=0,k=s.length;l<k;){varS=s[l++];if(64===S){a=s[l++];if(b||w)l+=a;elsefor(r=0;r<a;r++)f.push(s[l++])}elseif(65===S){a=s[l++];if(b||w)l+=2*a;elsefor(r=0;r<a;r++){i=s[l++];f.push(i<<8|s[l++])}}elseif(176==(248&S)){a=S-176+1;if(b||w)l+=a;elsefor(r=0;r<a;r++)f.push(s[l++])}elseif(184==(248&S)){a=S-184+1;if(b||w)l+=2*a;elsefor(r=0;r<a;r++){i=s[l++];f.push(i<<8|s[l++])}}elseif(43!==S||m)if(44!==S||m){if(45===S)if(b){b=!1;u=l}else{o=d.pop();if(!o){(0,c.warn)("TT: ENDF bad stack");t.hintsValid=!1;return}n=g.pop(
;for(i=0;i<t;i++){s=f[i]=newUint8Array(e);c=i<1?s:f[i-1];l=i<2?s:f[i-2];a=l[0]<<13|l[1]<<12|l[2]<<11|c[0]<<7|c[1]<<6|c[2]<<5|c[3]<<4;for(n=0;n<e;n++){s[n]=o=u.readBit(h,a);a=(31735&a)<<1|(n+3<e?l[n+3]<<11:0)|(n+4<e?c[n+4]<<4:0)|o}}returnf}functions(e,t,r,i,n,s,c,l){e&&(0,a.error)("JBIG2 error: MMR encoding is not supported");if(0===i&&!s&&!n&&4===c.length&&3===c[0].x&&-1===c[0].y&&-3===c[1].x&&-1===c[1].y&&2===c[2].x&&-2===c[2].y&&-2===c[3].x&&-2===c[3].y)returno(t,r,l);varu=!!s,h=w[i].concat(c);h.sort(function(e,t){returne.y-t.y||e.x-t.x});varf,d,g=h.length,m=newInt8Array(g),p=newInt8Array(g),b=[],v=0,y=0,k=0,C=0;for(d=0;d<g;d++){m[d]=h[d].x;p[d]=h[d].y;y=Math.min(y,h[d].x);k=Math.max(k,h[d].x);C=Math.min(C,h[d].y);d<g-1&&h[d].y===h[d+1].y&&h[d].x===h[d+1].x-1?v|=1<<g-1-d:b.push(d)}varx=b.length,A=newInt8Array(x),P=newInt8Array(x),_=newUint16Array(x);for(f=0;f<x;f++){d=b[f];A[f]=h[d].x;P[f]=h[d].y;_[f]=1<<g-1-d}for(varI,O,T,R,E,B=-y,F=-C,M=t-k,D=S[i],q=newUint8Array(t),L=[],N=l.decoder,U=l.contextCache.getContexts("GB"),j=0,z=0,H=0;H<r;H++){if(n){j^=N.readBit(U,D);if(j){L.push(q);continue}}q=newUint8Array(q);L.push(q);for(I=0;I<t;I++)if(u&&s[H][I])q[I]=0;else{if(I>=B&&I<M&&H>=F){z=z<<1&v;for(d=0;d<x;d++){O=H+P[d];T=I+A[d];R=L[O][T];if(R){R=_[d];z|=R}}}else{z=0;E=g-1;for(d=0;d<g;d++,E--){T=I+m[d];if(T>=0&&T<t){O=H+p[d];if(O>=0){R=L[O][T];R&&(z|=R<<E)}}}}varG=N.readBit(U,z);q[I]=G}}returnL}functionc(e,t,r,i,n,o,s,c,l){varu=k[r].coding;0===r&&(u=u.concat([c[0]]));varh,f=u.length,d=newInt32Array(f),g=newInt32Array(f);for(h=0;h<f;h++){d[h]=u[h].x;g[h]=u[h].y}varm=k[r].reference;0===r&&(m=m.concat([c[1]]));varp=m.length,b=newInt32Array(p),v=newInt32Array(p);for(h=0;h<p;h++){b[h]=m[h].x;v[h]=m[h].y}for(vary=i[0].length,w=i.length,S=C[r],x=[],A=l.decoder,P=l.contextCache.getContexts("GR"),_=0,I=0;I<t;I++){if(s){_^=A.readBit(P,S);_&&(0,a.error)("JBIG2 error: prediction is not supported")}varO=newUint8Array(e);x.push(O);for(varT=0;T<e;T++){varR,E,B=0;for(h=0;h<f;h++){R=I+g[h];E=T+d[h];R<0||E<0||E>=e?B<<=1:B=B<<1|x[R][E]}for(h=0;h<p;h++){R=I+v[h]-o;E=T+b[h]-n;R<0||R>=w||E<0||E>=y?B<<=1:B=B<<1|i[R][E]}varF=A.readBit(P,B);O[T]=F}}returnx}functionl(e,t,i,o,l,h,f,d,g,m,p){e&&(0,a.error)("JBIG2 error: huffman is not supported");for(varb=[],v=0,y=(0,a.log2)(i.length+o),w=p.decoder,k=p.contextCache;b.length<o;){v+=r(k,"IADH",w);for(varS=0;;){varC=r(k,"IADW",w);if(null===C)break;S+=C;varx;if(t){varA=r(k,"IAAI",w);if(A>1)x=u(e,t,S,v,0,A,1,i.concat(b),y,0,0,1,0,h,g,m,p);else{varP=n(k,w,y),_=r(k,"IARDX",w),I=r(k,"IARDY",w);x=c(S,v,g,P<i.length?i[P]:b[P-i.length],_,I,!1,m,p)}}elsex=s(!1,S,v,f,!1,null,d,p);b.push(x)}}for(varO=[],T=[],R=!1,E=i.length+o;T.length<E;){for(varB=r(k,"IAEX",w);B--;)T.push(R);R=!R}for(varF=0,M=i.length;F<M;F++)T[F]&&O.push(i[F]);for(varD=0;D<o;F++,D++)T[F]&&O.push(b[D]);returnO}functionu(e,t,i,o,s,l,u,h,f,d,g,m,p,b,v,y,w){e&&(0,a.error)("JBIG2 error: huffman is not supported");vark,S,C=[];for(k=0;k<o;k++){S=newUint8Array(i);if(s)for(varx=0;x<i;x++)S[x]=s;C.push(S)}varA=w.decoder,P=w.contextCache,_=-r(P,"IADT",A),I=0;k=0;for(;k<l;){_+=r(P,"IADT",A);I+=r(P,"IAFS",A);for(varO=I;;){varT=1===u?0:r(P,"IAIT",A),R=u*_+T,E=n(P,A,f),B=t&&r(P,"IARI",A),F=h[E],M=F[0].length,D=F.length;if(B){varq=r(P,"IARDW",A),L=r(P,"IARDH",A),N=r(P,"IARDX",A),U=r(P,"IARDY",A);M+=q;D+=L;F=c(M,D,v,F,(q>>1)+N,(L>>1)+U,!1,y,w)}varj,z,H,G=R-(1&m?0:D),W=O-(2&m?M:0);if(d){for(j=0;j<D;j++){S=C[W+j];if(S){H=F[j];varX=Math.min(i-G,M);switch(p){case0:for(z=0;z<X;z++)S[G+z]|=H[z];break;case2:for(z=0;z<X;z++)S[G+z]^=H[z];break;default:(0,a.error)("JBIG2 error: operator "+p+" is not supported")}}}O+=D-1}else{for(z=0;z<D;z++){S=C[G+z];if(S){H=F[z];switch(p){case0:for(j=0;j<M;j++)S[W+j]|=H[j];break;case2:for(j=0;j<M;j++)S[W+j]^=H[j];break;default:(0,a.error)("JBIG2 error: operator "+p+" is not supported")}}}O+=M-1}k++;varV=r(P,"IADS",A);if(null===V)break;O+=V+g}}returnC}functionh(e,t){varr={};r.number=(0,a.readUint32)(e,t);vari=e[t+4],n=63&i;y[n]||(0,a.error)("JBIG2error:invalidsegmenttype:
;e.a140=788;e.a141=788;e.a142=788;e.a143=788;e.a144=788;e.a145=788;e.a146=788;e.a147=788;e.a148=788;e.a149=788;e.a150=788;e.a151=788;e.a152=788;e.a153=788;e.a154=788;e.a155=788;e.a156=788;e.a157=788;e.a158=788;e.a159=788;e.a160=894;e.a161=838;e.a163=1016;e.a164=458;e.a196=748;e.a165=924;e.a192=748;e.a166=918;e.a167=927;e.a168=928;e.a169=928;e.a170=834;e.a171=873;e.a172=828;e.a173=924;e.a162=924;e.a174=917;e.a175=930;e.a176=931;e.a177=463;e.a178=883;e.a179=836;e.a193=836;e.a180=867;e.a199=867;e.a181=696;e.a200=696;e.a182=874;e.a201=874;e.a183=760;e.a184=946;e.a197=771;e.a185=865;e.a194=771;e.a198=888;e.a186=967;e.a195=888;e.a187=831;e.a188=873;e.a189=927;e.a190=970;e.a191=918})});t.getMetrics=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});vara="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},i=function(e){functiont(e){this.h1=e?4294967295&e:3285377520;this.h2=e?4294967295&e:3285377520}t.prototype={update:function(e){vart;if("string"==typeofe){varr=newUint8Array(2*e.length),i=0;for(t=0;t<e.length;t++){varn=e.charCodeAt(t);if(n<=255)r[i++]=n;else{r[i++]=n>>>8;r[i++]=255&n}}}else{if(!("object"===(void0===e?"undefined":a(e))&&"byteLength"ine))thrownewError("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");r=e;i=r.byteLength}varo=i>>2,s=i-4*o,c=newUint32Array(r.buffer,0,o),l=0,u=0,h=this.h1,f=this.h2,d=3432918353,g=461845907;for(t=0;t<o;t++)if(1&t){l=c[t];l=l*d&4294901760|11601*l&65535;l=l<<15|l>>>17;l=l*g&4294901760|13715*l&65535;h^=l;h=h<<13|h>>>19;h=5*h+3864292196}else{u=c[t];u=u*d&4294901760|11601*u&65535;u=u<<15|u>>>17;u=u*g&4294901760|13715*u&65535;f^=u;f=f<<13|f>>>19;f=5*f+3864292196}l=0;switch(s){case3:l^=r[4*o+2]<<16;case2:l^=r[4*o+1]<<8;case1:l^=r[4*o];l=l*d&4294901760|11601*l&65535;l=l<<15|l>>>17;l=l*g&4294901760|13715*l&65535;1&o?h^=l:f^=l}this.h1=h;this.h2=f;returnthis},hexdigest:function(){vare=this.h1,t=this.h2;e^=t>>>1;e=3981806797*e&4294901760|36045*e&65535;t=4283543511*t&4294901760|(2950163797*(t<<16|e>>>16)&4294901760)>>>16;e^=t>>>1;e=444984403*e&4294901760|60499*e&65535;t=3301882366*t&4294901760|(3120437893*(t<<16|e>>>16)&4294901760)>>>16;e^=t>>>1;for(varr=0,a=[e,t],i="";r<a.length;r++){for(varn=(a[r]>>>0).toString(16);n.length<8;)n="0"+n;i+=n}returni}};returnt}();t.MurmurHash3_64=i},function(e,t,r){"use strict";functiona(e,t,r){vara=t.getArray("Matrix"),n=i.Util.normalizeRect(t.getArray("BBox")),o=t.get("XStep"),s=t.get("YStep"),c=t.get("PaintType"),l=t.get("TilingType");if(n[2]-n[0]==0||n[3]-n[1]==0)thrownewError("getTilingPatternIR - invalid /BBox array: ["+n+"].");return["TilingPattern",r,e,a,n,o,s,c,l]}Object.defineProperty(t,"__esModule",{value:!0});t.getTilingPatternIR=t.Pattern=void0;vari=r(0),n=r(3),o=r(1),s=r(6),c={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7},l=function(){functione(){(0,i.error)("should not call Pattern constructor")}e.prototype={getPattern:function(e){(0,i.error)("Should not call Pattern.getStyle: "+e)}};e.parseShading=function(e,t,r,a,n){vars=(0,o.isStream)(e)?e.dict:e,l=s.get("ShadingType");try{switch(l){casec.AXIAL:casec.RADIAL:returnnewu.RadialAxial(s,t,r,a);casec.FREE_FORM_MESH:casec.LATTICE_FORM_MESH:casec.COONS_PATCH_MESH:casec.TENSOR_PATCH_MESH:returnnewu.Mesh(e,t,r,a);default:thrownewError("Unsupported ShadingType: "+l)}}catch(e){if(einstanceofi.MissingDataException)throwe;n.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.shadingPattern});(0,i.warn)(e);returnnewu.Dummy}};returne}(),u={};u.SMALL_NUMBER=1e-6;u.RadialAxial=function(){functione(e,t,r,a){this.matrix=t;this.coordsArr=e.getArray("Coords");this.shadingType=e.get("ShadingType");this.type="Pattern";varo=e.get("ColorSpace","CS");o=n.ColorSpace.parse(o,r,a);this.cs=o;varl=0,h=1;if(e.has("Domain")){varf=e.getArray("Domain");l=f[0];h=f[1]}vard=!1,g=!1;if(e.has("Extend")){var
;for(e=0;e<r;++e)a[e]=255&t.charCodeAt(e);returna.buffer}}):Object.defineProperty(e,"response",{get:function(){return"arraybuffer"===this.responseType?newUint8Array(newVBArray(this.responseBody).toArray()):this.responseText}})}}}();!function(){if(!("btoa"inr)){vare="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.btoa=function(t){varr,a,i="";for(r=0,a=t.length;r<a;r+=3){varn=255&t.charCodeAt(r),o=255&t.charCodeAt(r+1),s=255&t.charCodeAt(r+2),c=n>>2,l=(3&n)<<4|o>>4,u=r+1<a?(15&o)<<2|s>>6:64,h=r+2<a?63&s:64;i+=e.charAt(c)+e.charAt(l)+e.charAt(u)+e.charAt(h)}returni}}}();!function(){if(!("atob"inr)){r.atob=function(e){e=e.replace(/=+$/,"");if(e.length%4==1)thrownewError("bad atob input");for(vart,r,a=0,i=0,n="";r=e.charAt(i++);~r&&(t=a%4?64*t+r:r,a++%4)?n+=String.fromCharCode(255&t>>(-2*a&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);returnn}}}();!function(){void0===Function.prototype.bind&&(Function.prototype.bind=function(e){vart=this,r=Array.prototype.slice.call(arguments,1);returnfunction(){vara=r.concat(Array.prototype.slice.call(arguments));returnt.apply(e,a)}})}();!function(){if(g){"dataset"indocument.createElement("div")||Object.defineProperty(HTMLElement.prototype,"dataset",{get:function(){if(this._dataset)returnthis._dataset;for(vare={},t=0,r=this.attributes.length;t<r;t++){vara=this.attributes[t];if("data-"===a.name.substring(0,5)){e[a.name.substring(5).replace(/\-([a-z])/g,function(e,t){returnt.toUpperCase()})]=a.value}}Object.defineProperty(this,"_dataset",{value:e,writable:!1,enumerable:!1});returne},enumerable:!0})}}();!function(){functione(e,t,r,a){vari=e.className||"",n=i.split(/\s+/g);""===n[0]&&n.shift();varo=n.indexOf(t);o<0&&r&&n.push(t);o>=0&&a&&n.splice(o,1);e.className=n.join(" ");returno>=0}if(g){if(!("classList"indocument.createElement("div"))){vart={add:function(t){e(this.element,t,!0,!1)},contains:function(t){returne(this.element,t,!1,!1)},remove:function(t){e(this.element,t,!1,!0)},toggle:function(t){e(this.element,t,!0,!0)}};Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){if(this._classList)returnthis._classList;vare=Object.create(t,{element:{value:this,writable:!1,enumerable:!0}});Object.defineProperty(this,"_classList",{value:e,writable:!1,enumerable:!1});returne},enumerable:!0})}}}();!function(){if(!("undefined"==typeofimportScripts||"console"inr)){vare={},t={log:function(){vare=Array.prototype.slice.call(arguments);r.postMessage({targetName:"main",action:"console_log",data:e})},error:function(){vare=Array.prototype.slice.call(arguments);r.postMessage({targetName:"main",action:"console_error",data:e})},time:function(t){e[t]=Date.now()},timeEnd:function(t){varr=e[t];if(!r)thrownewError("Unknown timer name "+t);this.log("Timer:",t,Date.now()-r)}};r.console=t}}();!function(){if(g)if("console"inwindow)if("bind"inconsole.log);else{console.log=function(e){returnfunction(t){returne(t)}}(console.log);console.error=function(e){returnfunction(t){returne(t)}}(console.error);console.warn=function(e){returnfunction(t){returne(t)}}(console.warn)}elsewindow.console={log:function(){},error:function(){},warn:function(){}}}();!function(){functione(e){t(e.target)&&e.stopPropagation()}functiont(e){returne.disabled||e.parentNode&&t(e.parentNode)}f&&document.addEventListener("click",e,!0)}();!function(){(u||l)&&(PDFJS.disableCreateObjectURL=!0)}();!function(){"undefined"!=typeofnavigator&&("language"innavigator||(PDFJS.locale=navigator.userLanguage||"en-US"))}();!function(){if(d||n||c||h){PDFJS.disableRange=!0;PDFJS.disableStream=!0}}();!function(){g&&(history.pushState&&!n||(PDFJS.disableHistory=!0))}();!function(){if(g)if(window.CanvasPixelArray)"function"!=typeofwindow.CanvasPixelArray.prototype.set&&(window.CanvasPixelArray.prototype.set=function(e){for(vart=0,r=this.length;t<r;t++)this[t]=e[t]});else{vare,t=!1;if(s){e=a.match(/Chrom(e|ium)\/([0-9]+)\./);t=e&&parseInt(e[2])<21}elseif(i)t=o;elseif(d){e=a.match(/Version\/([0-9]+)\.([0-9]+)\.([0-9]+) Safari\//);t=e&&