Generic build of PDF.js library.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
668 KiB

!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define("pdfjs-dist/build/pdf.worker",[],t):"object"==typeof exports?exports["pdfjs-dist/build/pdf.worker"]=t():e["pdfjs-dist/build/pdf.worker"]=e.pdfjsDistBuildPdfWorker=t()}(this,function(){return function(e){function t(a){if(r[a])return r[a].exports;var i=r[a]={i:a,l:!1,exports:{}};e[a].call(i.exports,i,i.exports,t);i.l=!0;return i.exports}var r={};t.m=e;t.c=r;t.i=function(e){return e};t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:a})};t.n=function(e){var r=e&&e.__esModule?function(){return e.default}:function(){return e};t.d(r,"a",r);return r};t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)};t.p="";return t(t.s=35)}([function(e,t,r){"use strict";function a(e){ce=e}function i(){return ce}function n(e){ce>=ne.infos&&console.log("Info: "+e)}function o(e){ce>=ne.warnings&&console.log("Warning: "+e)}function s(e){console.log("Deprecated API usage: "+e)}function c(e){throw new Error(e)}function l(e,t){e||c(t)}function u(e,t){try{var r=new URL(e);if(!r.origin||"null"===r.origin)return!1}catch(e){return!1}var a=new URL(t,r);return r.origin===a.origin}function h(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function f(e,t){if(!e)return null;try{var r=t?new URL(e,t):new URL(e);if(h(r))return r}catch(e){}return null}function d(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1});return r}function g(e){var t;return function(){if(e){t=Object.create(null);e(t);e=null}return t}}function m(e){if("string"!=typeof e){o("The argument for removeNullCharacters must be a string.");return e}return e.replace(we,"")}function p(e){l(null!==e&&"object"===(void 0===e?"undefined":X(e))&&void 0!==e.length,"Invalid argument for bytesToString");var t=e.length;if(t<8192)return String.fromCharCode.apply(null,e);for(var r=[],a=0;a<t;a+=8192){var i=Math.min(a+8192,t),n=e.subarray(a,i);r.push(String.fromCharCode.apply(null,n))}return r.join("")}function b(e){l("string"==typeof e,"Invalid argument for stringToBytes");for(var t=e.length,r=new Uint8Array(t),a=0;a<t;++a)r[a]=255&e.charCodeAt(a);return r}function v(e){if(void 0!==e.length)return e.length;l(void 0!==e.byteLength);return e.byteLength}function y(e){if(1===e.length&&e[0]instanceof Uint8Array)return e[0];var t,r,a,i=0,n=e.length;for(t=0;t<n;t++){r=e[t];a=v(r);i+=a}var o=0,s=new Uint8Array(i);for(t=0;t<n;t++){r=e[t];r instanceof Uint8Array||(r="string"==typeof r?b(r):new Uint8Array(r));a=r.byteLength;s.set(r,o);o+=a}return s}function w(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function k(e){for(var t=1,r=0;e>t;){t<<=1;r++}return r}function S(e,t){return e[t]<<24>>24}function C(e,t){return e[t]<<8|e[t+1]}function x(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function A(){var e=new Uint8Array(4);e[0]=1;return 1===new Uint32Array(e.buffer,0,1)[0]}function P(){try{new Function("");return!0}catch(e){return!1}}function I(e){var t,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)));else for(t=0;t<r;++t){var i=xe[e.charCodeAt(t)];a.push(i?String.fromCharCode(i):e.charAt(t))}return a.join("")}function _(e){return decodeURIComponent(escape(e))}function O(e){return unescape(encodeURIComponent(e))}function T(e){for(var t in e)return!1;return!0}function E(e){return"boolean"==typeof e}function R(e){return"number"==typeof e&&(0|e)===e}function F(e){return"number"==typeof e}function B(e){return"string"==typeof e}function M(e){return e instanceof Array}function D(e){return"object"===(void 0===e?"undefined":X(e))&&null!==e&&void 0!==e.byteLength}function L(e){return 32===e||9===e||13===e||10===e}function N(){return"object"===("undefined"==typeof process?"undefined":X(process))&&process+""=="[object process]"}function U(){var e={};e.promise=new Promise(function(t,r){e.resolve=t;e.reject=r});return e}function q(e,t){v
var t=new Int32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),r=new Int32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),i=new Int32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),n=[new Int32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],o=[new Int32Array([327680
;return new s(y,t.fromIR(w),n.PDFFunction.fromIR(k));case"LabCS":r=e[1];i=e[2];var S=e[3];return new m(r,i,S);default:throw new a.FormatError("Unknown colorspace name: "+u)}};t.parseToIR=function(e,r,o){if((0,i.isName)(e)){var s=o.get("ColorSpace");if((0,i.isDict)(s)){var c=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:throw new a.FormatError("unrecognized colorspace "+e.name)}if((0,a.isArray)(e)){var l,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");return["CalRGBCS",f,d,g,u.getArray("Matrix")];case"ICCBased":var p=r.fetchIfRef(e[1]),b=p.dict;l=b.get("N");h=b.get("Alternate");if(h){var v=t.parseToIR(h,r,o);if(t.fromIR(v).numComps===l)return v;(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":var y=e[1]||null;y&&(y=t.parseToIR(y,r,o));return["PatternCS",y];case"Indexed":case"I":var w=t.parseToIR(e[1],r,o),k=r.fetchIfRef(e[2])+1,S=r.fetchIfRef(e[3]);(0,i.isStream)(S)&&(S=S.getBytes());return["IndexedCS",w,k,S];case"Separation":case"DeviceN":var C=r.fetchIfRef(e[1]);l=(0,a.isArray)(C)?C.length:1;h=t.parseToIR(e[2],r,o);return["AlternateCS",l,h,n.PDFFunction.getIR(r,r.fetchIfRef(e[3]))];case"Lab":u=r.fetchIfRef(e[1]);f=u.getArray("WhitePoint");d=u.getArray("BlackPoint");return["LabCS",f,d,u.getArray("Range")];default:throw new a.FormatError('unimplemented color space object "'+m+'"')}}throw new a.FormatError('unrecognized color space object: "'+e+'"')};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(var r=0,i=e.length;r<i;r+=2)if(0!==e[r]||1!==e[r+1])return!1;return!0};t.singletons={get gray(){return(0,a.shadow)(this,"gray",new u)},get rgb(){return(0,a.shadow)(this,"rgb",new h)},get cmyk(){return(0,a.shadow)(this,"cmyk",new f)}};return t}(),s=function(){function e(e,t,r){this.name="Alternate";this.numComps=e;this.defaultColor=new Float32Array(e);for(var a=0;a<e;++a)this.defaultColor[a]=1;this.base=t;this.tintFn=r;this.tmpBuf=new Float32Array(t.numComps)}e.prototype={getRgb:o.prototype.getRgb,getRgbItem:function(e,t,r,a){var i=this.tmpBuf;this.tintFn(e,t,i,0);this.base.getRgbItem(i,0,r,a)},getRgbBuffer:function(e,t,r,a,i,n,o){var s,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:new Uint8Array(f*r),b=this.numComps,v=new Float32Array(b),y=new Float32Array(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){return this.base.getOutputLength(e*this.base.numComps/this.numComps,t)},isPassthrough:o.prototype.isPassthrough,fillRgb:o.prototype.fillRgb,isDefaultDecode:function(e){return o.isDefaultDecode(e,this.numComps)},usesZeroToOneRange:!0};return e}(),c=function(){function e(e){this.name="Pattern";this.base=e}e.prototype={};return e}(),l=function(){function e(e,t,r){this.name="Indexed";this.numComps=1;this.defaultColor=new Uint8Array(this.numComps);this.base=e;this.highVal=t;var n=e.numComps,o=n*t;if((0,i.isStream)(r)){this.lookup=new Uint8Array(o);var s=r.getBytes(o);this.lookup.set(s)}else if((0,a.isString)(r)){this.lookup=new Uint8Array(o);for(var c=0;c<o;++c)this.lookup[c]=r.charCodeAt(c)}else{if(!(r instanceof Uint8Array||r instanceof Array))throw new a.FormatError("Unrecognized lookup tabl
i.warn)("Inline DCTDecode image stream: EOI marker not found, searching for /EI/ instead.");e.skip(-a);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return a},findASCII85DecodeInlineStreamEnd:function(e){for(var t,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);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return r},findASCIIHexDecodeInlineStreamEnd:function(e){for(var t,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);return this.findDefaultInlineStreamEnd(e)}this.inlineStreamSkipEI(e);return r},inlineStreamSkipEI:function(e){for(var t,r=0;-1!==(t=e.getByte());)if(0===r)r=69===t?1:0;else if(1===r)r=73===t?2:0;else if(2===r)break},makeInlineImage:function(e){for(var t=this.lexer,r=t.stream,a=new n.Dict(this.xref);!(0,n.isCmd)(this.buf1,"ID")&&!(0,n.isEOF)(this.buf1);){if(!(0,n.isName)(this.buf1))throw new i.FormatError("Dictionary key must be a name object");var o=this.buf1.name;this.shift();if((0,n.isEOF)(this.buf1))break;a.set(o,this.getObj(e))}var s,c=a.get("Filter","F");if((0,n.isName)(c))s=c.name;else if((0,i.isArray)(c)){var l=this.xref.fetchIfRef(c[0]);(0,n.isName)(l)&&(s=l.name)}var u,h,f,d=r.pos;u="DCTDecode"===s||"DCT"===s?this.findDCTDecodeInlineStreamEnd(r):"ASCII85Decode"===s||"A85"===s?this.findASCII85DecodeInlineStreamEnd(r):"ASCIIHexDecode"===s||"AHx"===s?this.findASCIIHexDecodeInlineStreamEnd(r):this.findDefaultInlineStreamEnd(r);var g,m=r.makeSubStream(d,u,a);if(u<1e3){var p=m.getBytes();m.reset();var b=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();return this.imageCache[g]}}e&&(m=e.createStream(m,u));m=this.filter(m,a,u);m.dict=a;if(void 0!==g){m.cacheKey="inline_"+u+"_"+g;this.imageCache[g]=m}this.buf2=n.Cmd.get("EI");this.shift();return m},makeStream:function(e,t){var r=this.lexer,a=r.stream;r.skipToNextLine();var o=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(var c,l,u=[101,110,100,115,116,114,101,97,109],h=0,f=!1;a.pos<a.end;){var d=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}if(!f)throw new i.FormatError("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;return a},filter:function(e,t,r){var a=t.get("Filter","F"),o=t.get("DecodeParms","DP");if((0,n.isName)(a)){(0,i.isArray)(o)&&(o=this.xref.fetchIfRef(o[0]));return this.makeFilter(e,a.name,r,o)}var s=r;if((0,i.isArray)(a))for(var c=a,l=o,u=0,h=c.length;u<h;++u){a=this.xref.fetchIfRef(c[u]);if(!(0,n.isName)(a))throw new i.FormatError("Bad filter name: "+a);o=null;(0,i.isArray)(l)&&u in l&&(o=this.xref.fetchIfRef(l[u]));e=this.makeFilter(e,a.name,s,o);s=null}return e},makeFilter:function(e,t,r,n){if(0===r){(0,i.warn)('Empty "'+t+'" stream.');return new a.NullStream(e)}try{var o=this.xref.stats.streamTypes;if("FlateDecode"===t||"Fl"===t){o[i.StreamType.FLATE]=!0;return n?new a.PredictorStream(new a.FlateStream(e,r),r,n):new a.FlateStream(e,r)}if("LZWDecode"===t||"LZW"===t){o[i.StreamType.LZW]=!0;var s=1;if(n){n.has("EarlyChange")&&(s=n.get("EarlyChange"));return new a.PredictorStream(new a.LZWStream(e,r,s),r,n)}return new a.LZWStream(e,r,s)}if("DCTDecode"===t||"DCT"===t){o[i.StreamType.DCT]=!0;return new a.JpegStream(e,r,e.dict,n)}if("JPXDecode"===t||"JPX"===t){o[i.StreamType.JPX]=!0;return new a.JpxStream(e,r,e.dict,n)}if("ASCII85Decode"===t||"A85"===t){o[i.StreamType.A85]=!0;return new a.Ascii85Stream(e,r)}if("ASCIIHexDecode"
;e.Rcommaaccent=342;e.Rdblgrave=528;e.Rdotaccent=7768;e.Rdotbelow=7770;e.Rdotbelowmacron=7772;e.Reharmenian=1360;e.Rfraktur=8476;e.Rho=929;e.Ringsmall=63228;e.Rinvertedbreve=530;e.Rlinebelow=7774;e.Rmonospace=65330;e.Rsmall=63346;e.Rsmallinverted=641;e.Rsmallinvertedsuperior=694;e.S=83;e.SF010000=9484;e.SF020000=9492;e.SF030000=9488;e.SF040000=9496;e.SF050000=9532;e.SF060000=9516;e.SF070000=9524;e.SF080000=9500;e.SF090000=9508;e.SF100000=9472;e.SF110000=9474;e.SF190000=9569;e.SF200000=9570;e.SF210000=9558;e.SF220000=9557;e.SF230000=9571;e.SF240000=9553;e.SF250000=9559;e.SF260000=9565;e.SF270000=9564;e.SF280000=9563;e.SF360000=9566;e.SF370000=9567;e.SF380000=9562;e.SF390000=9556;e.SF400000=9577;e.SF410000=9574;e.SF420000=9568;e.SF430000=9552;e.SF440000=9580;e.SF450000=9575;e.SF460000=9576;e.SF470000=9572;e.SF480000=9573;e.SF490000=9561;e.SF500000=9560;e.SF510000=9554;e.SF520000=9555;e.SF530000=9579;e.SF540000=9578;e.Sacute=346;e.Sacutedotaccent=7780;e.Sampigreek=992;e.Scaron=352;e.Scarondotaccent=7782;e.Scaronsmall=63229;e.Scedilla=350;e.Schwa=399;e.Schwacyrillic=1240;e.Schwadieresiscyrillic=1242;e.Scircle=9416;e.Scircumflex=348;e.Scommaaccent=536;e.Sdotaccent=7776;e.Sdotbelow=7778;e.Sdotbelowdotaccent=7784;e.Seharmenian=1357;e.Sevenroman=8550;e.Shaarmenian=1351;e.Shacyrillic=1064;e.Shchacyrillic=1065;e.Sheicoptic=994;e.Shhacyrillic=1210;e.Shimacoptic=1004;e.Sigma=931;e.Sixroman=8549;e.Smonospace=65331;e.Softsigncyrillic=1068;e.Ssmall=63347;e.Stigmagreek=986;e.T=84;e.Tau=932;e.Tbar=358;e.Tcaron=356;e.Tcedilla=354;e.Tcircle=9417;e.Tcircumflexbelow=7792;e.Tcommaaccent=354;e.Tdotaccent=7786;e.Tdotbelow=7788;e.Tecyrillic=1058;e.Tedescendercyrillic=1196;e.Tenroman=8553;e.Tetsecyrillic=1204;e.Theta=920;e.Thook=428;e.Thorn=222;e.Thornsmall=63486;e.Threeroman=8546;e.Tildesmall=63230;e.Tiwnarmenian=1359;e.Tlinebelow=7790;e.Tmonospace=65332;e.Toarmenian=1337;e.Tonefive=444;e.Tonesix=388;e.Tonetwo=423;e.Tretroflexhook=430;e.Tsecyrillic=1062;e.Tshecyrillic=1035;e.Tsmall=63348;e.Twelveroman=8555;e.Tworoman=8545;e.U=85;e.Uacute=218;e.Uacutesmall=63482;e.Ubreve=364;e.Ucaron=467;e.Ucircle=9418;e.Ucircumflex=219;e.Ucircumflexbelow=7798;e.Ucircumflexsmall=63483;e.Ucyrillic=1059;e.Udblacute=368;e.Udblgrave=532;e.Udieresis=220;e.Udieresisacute=471;e.Udieresisbelow=7794;e.Udieresiscaron=473;e.Udieresiscyrillic=1264;e.Udieresisgrave=475;e.Udieresismacron=469;e.Udieresissmall=63484;e.Udotbelow=7908;e.Ugrave=217;e.Ugravesmall=63481;e.Uhookabove=7910;e.Uhorn=431;e.Uhornacute=7912;e.Uhorndotbelow=7920;e.Uhorngrave=7914;e.Uhornhookabove=7916;e.Uhorntilde=7918;e.Uhungarumlaut=368;e.Uhungarumlautcyrillic=1266;e.Uinvertedbreve=534;e.Ukcyrillic=1144;e.Umacron=362;e.Umacroncyrillic=1262;e.Umacrondieresis=7802;e.Umonospace=65333;e.Uogonek=370;e.Upsilon=933;e.Upsilon1=978;e.Upsilonacutehooksymbolgreek=979;e.Upsilonafrican=433;e.Upsilondieresis=939;e.Upsilondieresishooksymbolgreek=980;e.Upsilonhooksymbol=978;e.Upsilontonos=910;e.Uring=366;e.Ushortcyrillic=1038;e.Usmall=63349;e.Ustraightcyrillic=1198;e.Ustraightstrokecyrillic=1200;e.Utilde=360;e.Utildeacute=7800;e.Utildebelow=7796;e.V=86;e.Vcircle=9419;e.Vdotbelow=7806;e.Vecyrillic=1042;e.Vewarmenian=1358;e.Vhook=434;e.Vmonospace=65334;e.Voarmenian=1352;e.Vsmall=63350;e.Vtilde=7804;e.W=87;e.Wacute=7810;e.Wcircle=9420;e.Wcircumflex=372;e.Wdieresis=7812;e.Wdotaccent=7814;e.Wdotbelow=7816;e.Wgrave=7808;e.Wmonospace=65335;e.Wsmall=63351;e.X=88;e.Xcircle=9421;e.Xdieresis=7820;e.Xdotaccent=7818;e.Xeharmenian=1341;e.Xi=926;e.Xmonospace=65336;e.Xsmall=63352;e.Y=89;e.Yacute=221;e.Yacutesmall=63485;e.Yatcyrillic=1122;e.Ycircle=9422;e.Ycircumflex=374;e.Ydieresis=376;e.Ydieresissmall=63487;e.Ydotaccent=7822;e.Ydotbelow=7924;e.Yericyrillic=1067;e.Yerudieresiscyrillic=1272;e.Ygrave=7922;e.Yhook=435;e.Yhookabove=7926;e.Yiarmenian=1349;e.Yicyrillic=1031;e.Yiwnarmenian=1362;e.Ymonospace=65337;e.Ysmall=63353;e.Ytilde=7928;e.Yusbigcyrillic=1130;e.Yusbigiotifiedcyrillic=1132;e.Yuslittlecyrillic=1126;e.Yuslittleiotifiedcyrillic=1128;e.Z=90;e.Zaarmenian=1334;e.Zacute=377;e.Zcaron=381;e.Zcaronsmall=63231;e.Zcircle=9423;e.Zcircum
;e.ideographiccentrecircle=12965;e.ideographicclose=12294;e.ideographiccomma=12289;e.ideographiccommaleft=65380;e.ideographiccongratulationparen=12855;e.ideographiccorrectcircle=12963;e.ideographicearthparen=12847;e.ideographicenterpriseparen=12861;e.ideographicexcellentcircle=12957;e.ideographicfestivalparen=12864;e.ideographicfinancialcircle=12950;e.ideographicfinancialparen=12854;e.ideographicfireparen=12843;e.ideographichaveparen=12850;e.ideographichighcircle=12964;e.ideographiciterationmark=12293;e.ideographiclaborcircle=12952;e.ideographiclaborparen=12856;e.ideographicleftcircle=12967;e.ideographiclowcircle=12966;e.ideographicmedicinecircle=12969;e.ideographicmetalparen=12846;e.ideographicmoonparen=12842;e.ideographicnameparen=12852;e.ideographicperiod=12290;e.ideographicprintcircle=12958;e.ideographicreachparen=12867;e.ideographicrepresentparen=12857;e.ideographicresourceparen=12862;e.ideographicrightcircle=12968;e.ideographicsecretcircle=12953;e.ideographicselfparen=12866;e.ideographicsocietyparen=12851;e.ideographicspace=12288;e.ideographicspecialparen=12853;e.ideographicstockparen=12849;e.ideographicstudyparen=12859;e.ideographicsunparen=12848;e.ideographicsuperviseparen=12860;e.ideographicwaterparen=12844;e.ideographicwoodparen=12845;e.ideographiczero=12295;e.ideographmetalcircle=12942;e.ideographmooncircle=12938;e.ideographnamecircle=12948;e.ideographsuncircle=12944;e.ideographwatercircle=12940;e.ideographwoodcircle=12941;e.ideva=2311;e.idieresis=239;e.idieresisacute=7727;e.idieresiscyrillic=1253;e.idotbelow=7883;e.iebrevecyrillic=1239;e.iecyrillic=1077;e.ieungacirclekorean=12917;e.ieungaparenkorean=12821;e.ieungcirclekorean=12903;e.ieungkorean=12615;e.ieungparenkorean=12807;e.igrave=236;e.igujarati=2695;e.igurmukhi=2567;e.ihiragana=12356;e.ihookabove=7881;e.iibengali=2440;e.iicyrillic=1080;e.iideva=2312;e.iigujarati=2696;e.iigurmukhi=2568;e.iimatragurmukhi=2624;e.iinvertedbreve=523;e.iishortcyrillic=1081;e.iivowelsignbengali=2496;e.iivowelsigndeva=2368;e.iivowelsigngujarati=2752;e.ij=307;e.ikatakana=12452;e.ikatakanahalfwidth=65394;e.ikorean=12643;e.ilde=732;e.iluyhebrew=1452;e.imacron=299;e.imacroncyrillic=1251;e.imageorapproximatelyequal=8787;e.imatragurmukhi=2623;e.imonospace=65353;e.increment=8710;e.infinity=8734;e.iniarmenian=1387;e.integral=8747;e.integralbottom=8993;e.integralbt=8993;e.integralex=63733;e.integraltop=8992;e.integraltp=8992;e.intersection=8745;e.intisquare=13061;e.invbullet=9688;e.invcircle=9689;e.invsmileface=9787;e.iocyrillic=1105;e.iogonek=303;e.iota=953;e.iotadieresis=970;e.iotadieresistonos=912;e.iotalatin=617;e.iotatonos=943;e.iparen=9380;e.irigurmukhi=2674;e.ismallhiragana=12355;e.ismallkatakana=12451;e.ismallkatakanahalfwidth=65384;e.issharbengali=2554;e.istroke=616;e.isuperior=63213;e.iterationhiragana=12445;e.iterationkatakana=12541;e.itilde=297;e.itildebelow=7725;e.iubopomofo=12585;e.iucyrillic=1102;e.ivowelsignbengali=2495;e.ivowelsigndeva=2367;e.ivowelsigngujarati=2751;e.izhitsacyrillic=1141;e.izhitsadblgravecyrillic=1143;e.j=106;e.jaarmenian=1393;e.jabengali=2460;e.jadeva=2332;e.jagujarati=2716;e.jagurmukhi=2588;e.jbopomofo=12560;e.jcaron=496;e.jcircle=9433;e.jcircumflex=309;e.jcrossedtail=669;e.jdotlessstroke=607;e.jecyrillic=1112;e.jeemarabic=1580;e.jeemfinalarabic=65182;e.jeeminitialarabic=65183;e.jeemmedialarabic=65184;e.jeharabic=1688;e.jehfinalarabic=64395;e.jhabengali=2461;e.jhadeva=2333;e.jhagujarati=2717;e.jhagurmukhi=2589;e.jheharmenian=1403;e.jis=12292;e.jmonospace=65354;e.jparen=9381;e.jsuperior=690;e.k=107;e.kabashkircyrillic=1185;e.kabengali=2453;e.kacute=7729;e.kacyrillic=1082;e.kadescendercyrillic=1179;e.kadeva=2325;e.kaf=1499;e.kafarabic=1603;e.kafdagesh=64315;e.kafdageshhebrew=64315;e.kaffinalarabic=65242;e.kafhebrew=1499;e.kafinitialarabic=65243;e.kafmedialarabic=65244;e.kafrafehebrew=64333;e.kagujarati=2709;e.kagurmukhi=2581;e.kahiragana=12363;e.kahookcyrillic=1220;e.kakatakana=12459;e.kakatakanahalfwidth=65398;e.kappa=954;e.kappasymbolgreek=1008;e.kapyeounmieumkorean=12657;e.kapyeounphieuphkorean=12676;e.kapyeounpieupkorean=12664;e.kapyeounssangpieupk
;e.thzsquare=13204;e.tihiragana=12385;e.tikatakana=12481;e.tikatakanahalfwidth=65409;e.tikeutacirclekorean=12912;e.tikeutaparenkorean=12816;e.tikeutcirclekorean=12898;e.tikeutkorean=12599;e.tikeutparenkorean=12802;e.tilde=732;e.tildebelowcmb=816;e.tildecmb=771;e.tildecomb=771;e.tildedoublecmb=864;e.tildeoperator=8764;e.tildeoverlaycmb=820;e.tildeverticalcmb=830;e.timescircle=8855;e.tipehahebrew=1430;e.tipehalefthebrew=1430;e.tippigurmukhi=2672;e.titlocyrilliccmb=1155;e.tiwnarmenian=1407;e.tlinebelow=7791;e.tmonospace=65364;e.toarmenian=1385;e.tohiragana=12392;e.tokatakana=12488;e.tokatakanahalfwidth=65412;e.tonebarextrahighmod=741;e.tonebarextralowmod=745;e.tonebarhighmod=742;e.tonebarlowmod=744;e.tonebarmidmod=743;e.tonefive=445;e.tonesix=389;e.tonetwo=424;e.tonos=900;e.tonsquare=13095;e.topatakthai=3599;e.tortoiseshellbracketleft=12308;e.tortoiseshellbracketleftsmall=65117;e.tortoiseshellbracketleftvertical=65081;e.tortoiseshellbracketright=12309;e.tortoiseshellbracketrightsmall=65118;e.tortoiseshellbracketrightvertical=65082;e.totaothai=3605;e.tpalatalhook=427;e.tparen=9391;e.trademark=8482;e.trademarksans=63722;e.trademarkserif=63195;e.tretroflexhook=648;e.triagdn=9660;e.triaglf=9668;e.triagrt=9658;e.triagup=9650;e.ts=678;e.tsadi=1510;e.tsadidagesh=64326;e.tsadidageshhebrew=64326;e.tsadihebrew=1510;e.tsecyrillic=1094;e.tsere=1461;e.tsere12=1461;e.tsere1e=1461;e.tsere2b=1461;e.tserehebrew=1461;e.tserenarrowhebrew=1461;e.tserequarterhebrew=1461;e.tserewidehebrew=1461;e.tshecyrillic=1115;e.tsuperior=63219;e.ttabengali=2463;e.ttadeva=2335;e.ttagujarati=2719;e.ttagurmukhi=2591;e.tteharabic=1657;e.ttehfinalarabic=64359;e.ttehinitialarabic=64360;e.ttehmedialarabic=64361;e.tthabengali=2464;e.tthadeva=2336;e.tthagujarati=2720;e.tthagurmukhi=2592;e.tturned=647;e.tuhiragana=12388;e.tukatakana=12484;e.tukatakanahalfwidth=65410;e.tusmallhiragana=12387;e.tusmallkatakana=12483;e.tusmallkatakanahalfwidth=65391;e.twelvecircle=9323;e.twelveparen=9343;e.twelveperiod=9363;e.twelveroman=8571;e.twentycircle=9331;e.twentyhangzhou=21316;e.twentyparen=9351;e.twentyperiod=9371;e.two=50;e.twoarabic=1634;e.twobengali=2536;e.twocircle=9313;e.twocircleinversesansserif=10123;e.twodeva=2408;e.twodotenleader=8229;e.twodotleader=8229;e.twodotleadervertical=65072;e.twogujarati=2792;e.twogurmukhi=2664;e.twohackarabic=1634;e.twohangzhou=12322;e.twoideographicparen=12833;e.twoinferior=8322;e.twomonospace=65298;e.twonumeratorbengali=2549;e.twooldstyle=63282;e.twoparen=9333;e.twoperiod=9353;e.twopersian=1778;e.tworoman=8561;e.twostroke=443;e.twosuperior=178;e.twothai=3666;e.twothirds=8532;e.u=117;e.uacute=250;e.ubar=649;e.ubengali=2441;e.ubopomofo=12584;e.ubreve=365;e.ucaron=468;e.ucircle=9444;e.ucircumflex=251;e.ucircumflexbelow=7799;e.ucyrillic=1091;e.udattadeva=2385;e.udblacute=369;e.udblgrave=533;e.udeva=2313;e.udieresis=252;e.udieresisacute=472;e.udieresisbelow=7795;e.udieresiscaron=474;e.udieresiscyrillic=1265;e.udieresisgrave=476;e.udieresismacron=470;e.udotbelow=7909;e.ugrave=249;e.ugujarati=2697;e.ugurmukhi=2569;e.uhiragana=12358;e.uhookabove=7911;e.uhorn=432;e.uhornacute=7913;e.uhorndotbelow=7921;e.uhorngrave=7915;e.uhornhookabove=7917;e.uhorntilde=7919;e.uhungarumlaut=369;e.uhungarumlautcyrillic=1267;e.uinvertedbreve=535;e.ukatakana=12454;e.ukatakanahalfwidth=65395;e.ukcyrillic=1145;e.ukorean=12636;e.umacron=363;e.umacroncyrillic=1263;e.umacrondieresis=7803;e.umatragurmukhi=2625;e.umonospace=65365;e.underscore=95;e.underscoredbl=8215;e.underscoremonospace=65343;e.underscorevertical=65075;e.underscorewavy=65103;e.union=8746;e.universal=8704;e.uogonek=371;e.uparen=9392;e.upblock=9600;e.upperdothebrew=1476;e.upsilon=965;e.upsilondieresis=971;e.upsilondieresistonos=944;e.upsilonlatin=650;e.upsilontonos=973;e.uptackbelowcmb=797;e.uptackmod=724;e.uragurmukhi=2675;e.uring=367;e.ushortcyrillic=1118;e.usmallhiragana=12357;e.usmallkatakana=12453;e.usmallkatakanahalfwidth=65385;e.ustraightcyrillic=1199;e.ustraightstrokecyrillic=1201;e.utilde=361;e.utildeacute=7801;e.utildebelow=7797;e.uubengali=2442;e.uudeva=2314;e.uugujarati=2698;e.uugurmukhi=2570;e.uuma
;for(s=1;s<=p;s++)l[u[e++]]=s;break;case 1:var v=u[e++],y=1;for(s=0;s<v;s++)for(var w=u[e++],k=u[e++],S=w;S<=w+k;S++)l[S]=y++;break;default:throw new a.FormatError("Unknown encoding format: "+o+" in CFF")}var C=e;if(128&o){u[m]&=127;!function(){var t=u[e++];for(s=0;s<t;s++){var a=u[e++],n=(u[e++]<<8)+(255&u[e++]);l[a]=i.indexOf(r.get(n))}}()}f=u.subarray(m,C)}o&=127;return new b(h,o,l,f)},parseFDSelect:function(e,t){var r,i,n=e,o=this.bytes,s=o[e++],c=[],l=!1;switch(s){case 0:for(i=0;i<t;++i){var u=o[e++];c.push(u)}r=o.subarray(n,e);break;case 3:var h=o[e++]<<8|o[e++];for(i=0;i<h;++i){var f=o[e++]<<8|o[e++];if(0===i&&0!==f){(0,a.warn)("parseFDSelect: The first range must have a first GID of 0 -- trying to recover.");l=!0;f=0}for(var d=o[e++],g=o[e]<<8|o[e+1],m=f;m<g;++m)c.push(d)}e+=2;r=o.subarray(n,e);l&&(r[3]=r[4]=0);break;default:throw new a.FormatError('parseFDSelect: Unknown format "'+s+'".')}if(c.length!==t)throw new a.FormatError("parseFDSelect: Invalid font data.");return new v(c,r)}};return e}(),c=function(){function e(){this.header=null;this.names=[];this.topDict=null;this.strings=new u;this.globalSubrIndex=null;this.encoding=null;this.charset=null;this.charStrings=null;this.fdArray=[];this.fdSelect=null;this.isCIDFont=!1}return e}(),l=function(){function e(e,t,r,a){this.major=e;this.minor=t;this.hdrSize=r;this.offSize=a}return e}(),u=function(){function e(){this.strings=[]}e.prototype={get:function(e){return e>=0&&e<=390?o[e]:e-391<=this.strings.length?this.strings[e-391]:o[0]},add:function(e){this.strings.push(e)},get count(){return this.strings.length}};return e}(),h=function(){function e(){this.objects=[];this.length=0}e.prototype={add:function(e){this.length+=e.length;this.objects.push(e)},set:function(e,t){this.length+=t.length-this.objects[e].length;this.objects[e]=t},get:function(e){return this.objects[e]},get count(){return this.objects.length}};return e}(),f=function(){function e(e,t){this.keyToNameMap=e.keyToNameMap;this.nameToKeyMap=e.nameToKeyMap;this.defaults=e.defaults;this.types=e.types;this.opcodes=e.opcodes;this.order=e.order;this.strings=t;this.values=Object.create(null)}e.prototype={setByKey:function(e,t){if(!(e in this.keyToNameMap))return!1;var r=t.length;if(0===r)return!0;for(var i=0;i<r;i++)if(isNaN(t[i])){(0,a.warn)('Invalid CFFDict value: "'+t+'" for key "'+e+'".');return!0}var n=this.types[e];"num"!==n&&"sid"!==n&&"offset"!==n||(t=t[0]);this.values[e]=t;return!0},setByName:function(e,t){if(!(e in this.nameToKeyMap))throw new a.FormatError('Invalid dictionary name "'+e+'"');this.values[this.nameToKeyMap[e]]=t},hasName:function(e){return this.nameToKeyMap[e]in this.values},getByName:function(e){if(!(e in this.nameToKeyMap))throw new a.FormatError("Invalid dictionary name "+e+'"');var t=this.nameToKeyMap[e];return t in this.values?this.values[t]:this.defaults[t]},removeByName:function(e){delete this.values[this.nameToKeyMap[e]]}};e.createTables=function(e){for(var t={keyToNameMap:{},nameToKeyMap:{},defaults:{},types:{},opcodes:{},order:[]},r=0,i=e.length;r<i;++r){var n=e[r],o=(0,a.isArray)(n[0])?(n[0][0]<<8)+n[0][1]:n[0];t.keyToNameMap[o]=n[1];t.nameToKeyMap[n[1]]=o;t.types[o]=n[2];t.defaults[o]=n[3];t.opcodes[o]=(0,a.isArray)(n[0])?n[0]:[n[0]];t.order.push(o)}return t};return e}(),d=function(){function e(e){null===r&&(r=f.createTables(t));f.call(this,r,e);this.privateDict=null}var t=[[[12,30],"ROS",["sid","sid","num"],null],[[12,20],"SyntheticBase","num",null],[0,"version","sid",null],[1,"Notice","sid",null],[[12,0],"Copyright","sid",null],[2,"FullName","sid",null],[3,"FamilyName","sid",null],[4,"Weight","sid",null],[[12,1],"isFixedPitch","num",0],[[12,2],"ItalicAngle","num",0],[[12,3],"UnderlinePosition","num",-100],[[12,4],"UnderlineThickness","num",50],[[12,5],"PaintType","num",0],[[12,6],"CharstringType","num",2],[[12,7],"FontMatrix",["num","num","num","num","num","num"],[.001,0,0,.001,0,0]],[13,"UniqueID","num",null],[5,"FontBBox",["num","num","num","num"],[0,0,0,0]],[[12,8],"StrokeWidth","num",0],[14,"XUID","array",null],[15,"charset","offset",0],[16,"Encoding","offset",0],[17,"C
;var f=16*l.length;if(r){var d=l[l.length-1],g=d[15];if(g<=16){for(a=15,n=16-g;a>=n;--a)if(d[a]!==g){g=0;break}f-=g;l[l.length-1]=d.subarray(0,16-g)}}var m=new Uint8Array(f);for(a=0,i=0,n=l.length;a<n;++a,i+=16)m.set(l[a],i);return m}for(var n=new Uint8Array([141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141,1,2,4,8,16,32,64,128,27,54,108,216,171,77,154,47,94,188,99,198,151,53,106,212,179,125,250,239,197,145,57,114,228,211,189,97,194,159,37,74,148,51,102,204,131,29,58,116,232,203,141]),o=new Uint8Array([99,124,119,123,242,107,111,197,48,1,103,43,254,215,171,118,202,130,201,125,250,89,71,240,173,212,162,175,156,164,114,192,183,253,147,38,54,63,247,204,52,165,229,241,113,216,49,21,4,199,35,195,24,150,5,154,7,18,128,226,235,39,178,117,9,131,44,26,27,110,90,160,82,59,214,179,41,227,47,132,83,209,0,237,32,252,177,91,106,203,190,57,74,76,88,207,208,239,170,251,67,77,51,133,69,249,2,127,80,60,159,168,81,163,64,143,146,157,56,245,188,182,218,33,16,255,243,210,205,12,19,236,95,151,68,23,196,167,126,61,100,93,25,115,96,129,79,220,34,42,144,136,70,238,184,20,222,94,11,219,224,50,58,10,73,6,36,92,194,211,172,98,145,149,228,121,231,200,55,109,141,213,78,169,108,86,244,234,101,122,174,8,186,120,37,46,28,166,180,198,232,221,116,31,75,189,139,138,112,62,181,102,72,3,246,14,97,53,87,185,134,193,29,158,225,248,152,17,105,217,142,148,155,30,135,233,206,85,40,223,140,161,137,13,191,230,66,104,65,153,45,15,176,84,187,22]),s=new Uint8Array([82,9,106,213,48,54,165,56,191,64,163,158,129,243,215,251,124,227,57,130,155,47,255,135,52,142,67,68,196,222,233,203,84,123,148,50,166,194,35,61,238,76,149,11,66,250,195,78,8,46,161,102,40,217,36,178,118,91,162,73,109,139,209,37,114,248,246,100,134,104,152,22,212,164,92,204,93,101,182,146,108,112,72,80,253,237,185,218,94,21,70,87,167,141,157,132,144,216,171,0,140,188,211,10,247,228,88,5,184,179,69,6,208,44,30,143,202,63,15,2,193,175,189,3,1,19,138,107,58,145,17,65,79,103,220,234,151,242,207,206,240,180,230,115,150,172,116,34,231,173,53,133,226,249,55,232,28,117,223,110,71,241,26,113,29,41,197,137,111,183,98,14,170,24,190,27,252,86,62,75,198,210,121,32,154,219,192,254,120,205,90,244,31,221,168,51,136,7,199,49,177,18,16,89,39,128,236,95,96,81,127,169,25,181,74,13,45,229,122,159,147,201,156,239,160,224,59,77,174,42,245,176,200,235,187,60,131,83,153,97,23,43,4,126,186,119,214,38,225,105,20,99,85,33,12,125]),c=new Uint8Array(256),l=0;l<256;l++)c[l]=l<128?l<<1:l<<1^27;var u=new Uint32Array([0,235474187,470948374,303765277,941896748,908933415,607530554,708780849,1883793496,2118214995,1817866830,1649639237,1215061108,1181045119,1417561698,1517767529,3767586992,4003061179,4236429990,4069246893,3635733660,3602770327,3299278474,3400528769,2430122216,2664543715,2362090238,2193862645,2835123396,2801107407,3035535058,3135740889,3678124923,3576870512,3341394285,3374361702,3810496343,3977675356,4279080257,4043610186,2876494627,2776292904,3076639029,3110650942,2472011535,2640243204,2403728665,2169303058,1001089995,899835584,666464733,699432150,59727847,226906860,530400753,294930682,1273168787,1172967064,1475418501,1509430414,1942435775,2110667444,1876241833,1641816226,2910219766,2743034109,2976151520,3211623147,2505202138,2606453969,2302690252,2269728455,3711829422,3543599269,3240894392,3475313331,3843699074,3943906441,4178062228,4144047775,1306967366,1139781709,1374988112,1610459739,1975683434,2076935265,1775276924,1742315127,1034867998,866637845,566021896,80044083
l.stats.fontTypes[e.fontType]=!0}f.resolve(new S(t.loadedName,e,t))}).catch(function(e){o.handler.send("UnsupportedFeature",{featureId:i.UNSUPPORTED_FEATURES.font});try{var r=d.descriptor,a=r&&r.get("FontFile3"),n=a&&a.get("Subtype"),s=(0,c.getFontType)(d.type,n&&n.name);l.stats.fontTypes[s]=!0}catch(e){}f.resolve(new S(t.loadedName,new c.ErrorFont(e instanceof Error?e.message:e),t))});return f.promise},buildPath:function(e,t,r){var a=e.length-1;r||(r=[]);if(a<0||e.fnArray[a]!==i.OPS.constructPath)e.addOp(i.OPS.constructPath,[[t],r]);else{var n=e.argsArray[a];n[0].push(t);Array.prototype.push.apply(n[1],r)}},handleColorN:function(e,t,r,a,i,n,o){var c,l=r[r.length-1];if((0,s.isName)(l)&&(c=i.get(l.name))){var u=(0,s.isStream)(c)?c.dict:c,h=u.get("PatternType");if(1===h){var d=a.base?a.base.getRgb(r,0):null;return this.handleTilingType(t,d,n,c,u,e,o)}if(2===h){var g=u.get("Shading"),m=u.getArray("Matrix");c=f.Pattern.parseShading(g,m,this.xref,n,this.handler);e.addOp(t,c.getIR());return Promise.resolve()}return Promise.reject(new Error("Unknown PatternType: "+h))}e.addOp(t,r);return Promise.resolve()},getOperatorList:function(e){function t(e){for(var t=0,r=w.savedStatesDepth;t<r;t++)l.addOp(i.OPS.restore,[])}var a=this,n=e.stream,o=e.task,c=e.resources,l=e.operatorList,u=e.initialState,h=void 0===u?null:u;c=c||s.Dict.empty;h=h||new P;if(!l)throw new Error('getOperatorList: missing "operatorList" parameter');var d=this,g=this.xref,m=Object.create(null),b=c.get("XObject")||s.Dict.empty,v=c.get("Pattern")||s.Dict.empty,y=new x(h),w=new I(n,g,y),k=new r;return new Promise(function e(r,a){var n=function(t){t.then(function(){try{e(r,a)}catch(e){a(e)}},a)};o.ensureNotTerminated();k.reset();for(var u,h,S,C,x={};!(u=k.check());){x.args=null;if(!w.read(x))break;var A=x.args,P=x.fn;switch(0|P){case i.OPS.paintXObject:if(A[0].code)break;var I=A[0].name;if(!I){(0,i.warn)("XObject must be referred to by name.");continue}if(void 0!==m[I]){l.addOp(m[I].fn,m[I].args);A=null;continue}var O=b.get(I);if(O){if(!(0,s.isStream)(O))throw new i.FormatError("XObject should be a stream");var T=O.dict.get("Subtype");if(!(0,s.isName)(T))throw new i.FormatError("XObject should have a Name subtype");if("Form"===T.name){y.save();n(d.buildFormXObject(c,O,null,l,o,y.state.clone()).then(function(){y.restore()}));return}if("Image"===T.name){d.buildPaintImageXObject(c,O,!1,l,I,m);A=null;continue}if("PS"===T.name){(0,i.info)("Ignored XObject subtype PS");continue}throw new i.FormatError("Unhandled XObject subtype "+T.name)}break;case i.OPS.setFont:var E=A[1];n(d.handleSetFont(c,A,null,l,o,y.state).then(function(e){l.addDependency(e);l.addOp(i.OPS.setFont,[e,E])}));return;case i.OPS.endInlineImage:var R=A[0].cacheKey;if(R){var F=m[R];if(void 0!==F){l.addOp(F.fn,F.args);A=null;continue}}d.buildPaintImageXObject(c,A[0],!0,l,R,m);A=null;continue;case i.OPS.showText:A[0]=d.handleText(A[0],y.state);break;case i.OPS.showSpacedText:var B=A[0],M=[],D=B.length,L=y.state;for(h=0;h<D;++h){var N=B[h];(0,i.isString)(N)?Array.prototype.push.apply(M,d.handleText(N,L)):(0,i.isNum)(N)&&M.push(N)}A[0]=M;P=i.OPS.showText;break;case i.OPS.nextLineShowText:l.addOp(i.OPS.nextLine);A[0]=d.handleText(A[0],y.state);P=i.OPS.showText;break;case i.OPS.nextLineSetSpacingShowText:l.addOp(i.OPS.nextLine);l.addOp(i.OPS.setWordSpacing,[A.shift()]);l.addOp(i.OPS.setCharSpacing,[A.shift()]);A[0]=d.handleText(A[0],y.state);P=i.OPS.showText;break;case i.OPS.setTextRenderingMode:y.state.textRenderingMode=A[0];break;case i.OPS.setFillColorSpace:y.state.fillColorSpace=p.ColorSpace.parse(A[0],g,c);continue;case i.OPS.setStrokeColorSpace:y.state.strokeColorSpace=p.ColorSpace.parse(A[0],g,c);continue;case i.OPS.setFillColor:C=y.state.fillColorSpace;A=C.getRgb(A,0);P=i.OPS.setFillRGBColor;break;case i.OPS.setStrokeColor:C=y.state.strokeColorSpace;A=C.getRgb(A,0);P=i.OPS.setStrokeRGBColor;break;case i.OPS.setFillGray:y.state.fillColorSpace=p.ColorSpace.singletons.gray;A=p.ColorSpace.singletons.gray.getRgb(A,0);P=i.OPS.setFillRGBColor;break;case i.OPS.setStrokeGray:y.state.strokeColorSpace=p.ColorSpace.si
var o=n.id,c=n.numArgs,l=null!==t?t.length:0;if(n.variableArgs)l>c&&(0,i.info)("Command "+o+": expected [0,"+c+"] args, but received "+l+" args.");else{if(l!==c){for(var u=this.nonProcessedArgs;l>c;){u.push(t.shift());l--}for(;l<c&&0!==u.length;){null===t&&(t=[]);t.unshift(u.pop());l++}}if(l<c){(0,i.warn)("Skipping command "+o+": expected "+c+" args, but received "+l+" args.");null!==t&&(t.length=0);continue}}this.preprocessCommand(o,t);e.fn=o;e.args=t;return!0}if((0,s.isEOF)(r))return!1;if(null!==r){null===t&&(t=[]);t.push(r);if(t.length>33)throw new i.FormatError("Too many arguments")}}},preprocessCommand:function(e,t){switch(0|e){case i.OPS.save:this.stateManager.save();break;case i.OPS.restore:this.stateManager.restore();break;case i.OPS.transform:this.stateManager.transform(t)}}};return e}(),_=function(){function e(e,t,r){for(var a=e,i=0,n=t.length-1;i<n;i++){var o=t[i];a=a[o]||(a[o]=[])}a[t[t.length-1]]=r}function t(e,t,r,a){for(var n=e+2,o=0;o<t;o++){var s=a[n+4*o],c=1===s.length&&s[0];if(!c||1!==c.width||1!==c.height||c.data.length&&(1!==c.data.length||0!==c.data[0]))break;r[n+4*o]=i.OPS.paintSolidColorImageMask}return t-o}function r(){}var a=[];e(a,[i.OPS.save,i.OPS.transform,i.OPS.paintInlineImageXObject,i.OPS.restore],function(e){for(var t=e.fnArray,r=e.argsArray,a=e.iCurr,n=a-3,o=a-2,s=a-1,c=n+4,l=t.length;c+3<l&&t[c]===i.OPS.save&&t[c+1]===i.OPS.transform&&t[c+2]===i.OPS.paintInlineImageXObject&&t[c+3]===i.OPS.restore;)c+=4;var u=Math.min((c-n)/4,200);if(u<10)return c;var h,f=0,d=[],g=0,m=1,p=1;for(h=0;h<u;h++){var b=r[o+(h<<2)],v=r[s+(h<<2)][0];if(m+v.width>1e3){f=Math.max(f,m);p+=g+2;m=0;g=0}d.push({transform:b,x:m,y:p,w:v.width,h:v.height});m+=v.width+2;g=Math.max(g,v.height)}var y=Math.max(f,m)+1,w=p+g+1,k=new Uint8Array(y*w*4),S=y<<2;for(h=0;h<u;h++){var C=r[s+(h<<2)][0].data,x=d[h].w<<2,A=0,P=d[h].x+d[h].y*y<<2;k.set(C.subarray(0,x),P-S);for(var I=0,_=d[h].h;I<_;I++){k.set(C.subarray(A,A+x),P);A+=x;P+=S}k.set(C.subarray(A-x,A),P);for(;P>=0;){C[P-4]=C[P];C[P-3]=C[P+1];C[P-2]=C[P+2];C[P-1]=C[P+3];C[P+x]=C[P+x-4];C[P+x+1]=C[P+x-3];C[P+x+2]=C[P+x-2];C[P+x+3]=C[P+x-1];P-=S}}t.splice(n,4*u,i.OPS.paintInlineImageXObjectGroup);r.splice(n,4*u,[{width:y,height:w,kind:i.ImageKind.RGBA_32BPP,data:k},d]);return n+1});e(a,[i.OPS.save,i.OPS.transform,i.OPS.paintImageMaskXObject,i.OPS.restore],function(e){for(var r=e.fnArray,a=e.argsArray,n=e.iCurr,o=n-3,s=n-2,c=n-1,l=o+4,u=r.length;l+3<u&&r[l]===i.OPS.save&&r[l+1]===i.OPS.transform&&r[l+2]===i.OPS.paintImageMaskXObject&&r[l+3]===i.OPS.restore;)l+=4;var h=(l-o)/4;h=t(o,h,r,a);if(h<10)return l;var f,d,g,m=!1,p=a[c][0];if(0===a[s][1]&&0===a[s][2]){m=!0;var b=a[s][0],v=a[s][3];d=s+4;var y=c+4;for(f=1;f<h;f++,d+=4,y+=4){g=a[d];if(a[y][0]!==p||g[0]!==b||0!==g[1]||0!==g[2]||g[3]!==v){f<10?m=!1:h=f;break}}}if(m){h=Math.min(h,1e3);var w=new Float32Array(2*h);d=s;for(f=0;f<h;f++,d+=4){g=a[d];w[f<<1]=g[4];w[1+(f<<1)]=g[5]}r.splice(o,4*h,i.OPS.paintImageMaskXObjectRepeat);a.splice(o,4*h,[p,b,v,w])}else{h=Math.min(h,100);var k=[];for(f=0;f<h;f++){g=a[s+(f<<2)];var S=a[c+(f<<2)][0];k.push({data:S.data,width:S.width,height:S.height,transform:g})}r.splice(o,4*h,i.OPS.paintImageMaskXObjectGroup);a.splice(o,4*h,[k])}return o+1});e(a,[i.OPS.save,i.OPS.transform,i.OPS.paintImageXObject,i.OPS.restore],function(e){var t=e.fnArray,r=e.argsArray,a=e.iCurr,n=a-3,o=a-2,s=a-1,c=a;if(0!==r[o][1]||0!==r[o][2])return c+1;for(var l=r[s][0],u=r[o][0],h=r[o][3],f=n+4,d=t.length;f+3<d&&t[f]===i.OPS.save&&t[f+1]===i.OPS.transform&&t[f+2]===i.OPS.paintImageXObject&&t[f+3]===i.OPS.restore&&r[f+1][0]===u&&0===r[f+1][1]&&0===r[f+1][2]&&r[f+1][3]===h&&r[f+2][0]===l;)f+=4;var g=Math.min((f-n)/4,1e3);if(g<3)return f;for(var m=new Float32Array(2*g),p=o,b=0;b<g;b++,p+=4){var v=r[p];m[b<<1]=v[4];m[1+(b<<1)]=v[5]}var y=[l,u,h,m];t.splice(n,4*g,i.OPS.paintImageXObjectRepeat);r.splice(n,4*g,y);return n+1});e(a,[i.OPS.beginText,i.OPS.setFont,i.OPS.setTextMatrix,i.OPS.showText,i.OPS.endText],function(e){for(var t=e.fnArray,r=e.argsArray,a=e.iCurr,n=a-4,o=a-3,s=a-2,c=a-1,l=a,u=r[o][0],h=r[o][1],f=n+5,d=t.length;f+4<
o.isName)(i,"Metadata")&&(0,o.isName)(s,"XML"))try{t=(0,n.stringToUTF8String)((0,n.bytesToString)(a.getBytes()))}catch(e){if(e instanceof n.MissingDataException)throw e;(0,n.info)("Skipping invalid metadata.")}}return(0,n.shadow)(this,"metadata",t)},get toplevelPagesDict(){var e=this.catDict.get("Pages");if(!(0,o.isDict)(e))throw new n.FormatError("invalid top-level pages dictionary");return(0,n.shadow)(this,"toplevelPagesDict",e)},get documentOutline(){var e=null;try{e=this.readDocumentOutline()}catch(e){if(e instanceof n.MissingDataException)throw e;(0,n.warn)("Unable to read document outline")}return(0,n.shadow)(this,"documentOutline",e)},readDocumentOutline:function(){var t=this.catDict.get("Outlines");if(!(0,o.isDict)(t))return null;t=t.getRaw("First");if(!(0,o.isRef)(t))return null;var r={items:[]},a=[{obj:t,parent:r}],i=new o.RefSet;i.put(t);for(var s=this.xref,c=new Uint8Array(3);a.length>0;){var l=a.shift(),h=s.fetchIfRef(l.obj);if(null!==h){if(!h.has("Title"))throw new n.FormatError("Invalid outline item");var f={url:null,dest:null};e.parseDestDictionary({destDict:h,resultObj:f,docBaseUrl:this.pdfManager.docBaseUrl});var d=h.get("Title"),g=h.get("F")||0,m=h.getArray("C"),p=c;!(0,n.isArray)(m)||3!==m.length||0===m[0]&&0===m[1]&&0===m[2]||(p=u.ColorSpace.singletons.rgb.getRgb(m,0));var b={dest:f.dest,url:f.url,unsafeUrl:f.unsafeUrl,newWindow:f.newWindow,title:(0,n.stringToPDFString)(d),color:p,count:h.get("Count"),bold:!!(2&g),italic:!!(1&g),items:[]};l.parent.items.push(b);t=h.getRaw("First");if((0,o.isRef)(t)&&!i.has(t)){a.push({obj:t,parent:b});i.put(t)}t=h.getRaw("Next");if((0,o.isRef)(t)&&!i.has(t)){a.push({obj:t,parent:l.parent});i.put(t)}}}return r.items.length>0?r.items:null},get numPages(){var e=this.toplevelPagesDict.get("Count");if(!(0,n.isInt)(e))throw new n.FormatError("page count in top level pages object is not an integer");return(0,n.shadow)(this,"numPages",e)},get destinations(){function e(e){return(0,o.isDict)(e)?e.get("D"):e}var t,r,a=this.xref,i={},s=this.catDict.get("Names");s&&s.has("Dests")?t=s.getRaw("Dests"):this.catDict.has("Dests")&&(r=this.catDict.get("Dests"));if(r){s=r;s.forEach(function(t,r){r&&(i[t]=e(r))})}if(t){var c=new g(t,a),l=c.getAll();for(var u in l)i[u]=e(l[u])}return(0,n.shadow)(this,"destinations",i)},getDestination:function(e){function t(e){return(0,o.isDict)(e)?e.get("D"):e}var r,a,i=this.xref,n=null,s=this.catDict.get("Names");s&&s.has("Dests")?r=s.getRaw("Dests"):this.catDict.has("Dests")&&(a=this.catDict.get("Dests"));if(a){var c=a.get(e);c&&(n=t(c))}if(r){n=t(new g(r,i).get(e))}return n},get pageLabels(){var e=null;try{e=this.readPageLabels()}catch(e){if(e instanceof n.MissingDataException)throw e;(0,n.warn)("Unable to read page labels.")}return(0,n.shadow)(this,"pageLabels",e)},readPageLabels:function(){var e=this.catDict.getRaw("PageLabels");if(!e)return null;for(var t=new Array(this.numPages),r=null,a="",i=new m(e,this.xref),s=i.getAll(),c="",l=1,u=0,h=this.numPages;u<h;u++){if(u in s){var f=s[u];if(!(0,o.isDict)(f))throw new n.FormatError("The PageLabel is not a dictionary.");var d=f.get("Type");if(d&&!(0,o.isName)(d,"PageLabel"))throw new n.FormatError("Invalid type in PageLabel dictionary.");var g=f.get("S");if(g&&!(0,o.isName)(g))throw new n.FormatError("Invalid style in PageLabel dictionary.");r=g?g.name:null;var p=f.get("P");if(p&&!(0,n.isString)(p))throw new n.FormatError("Invalid prefix in PageLabel dictionary.");a=p?(0,n.stringToPDFString)(p):"";var b=f.get("St");if(b&&!((0,n.isInt)(b)&&b>=1))throw new n.FormatError("Invalid start in PageLabel dictionary.");l=b||1}switch(r){case"D":c=l;break;case"R":case"r":c=n.Util.toRoman(l,"r"===r);break;case"A":case"a":for(var v="a"===r?97:65,y=l-1,w=String.fromCharCode(v+y%26),k=[],S=0,C=y/26|0;S<=C;S++)k.push(w);c=k.join("");break;default:if(r)throw new n.FormatError('Invalid style "'+r+'" in PageLabel dictionary.')}t[u]=a+c;c="";l++}return t},get pageMode(){var e=this.catDict.get("PageMode"),t="UseNone";if((0,o.isName)(e))switch(e.name){case"UseNone":case"UseOutlines":case"UseThumbs":case"FullScreen":case"UseOC"
;e[3096]=7611;e[3099]=7614;e[3100]=7615;e[3103]=7618;e[3104]=7619;e[3107]=8337;e[3108]=8338;e[3116]=1884;e[3119]=1885;e[3120]=1885;e[3123]=1886;e[3124]=1886;e[3127]=1887;e[3128]=1887;e[3131]=1888;e[3132]=1888;e[3135]=1889;e[3136]=1889;e[3139]=1890;e[3140]=1890;e[3143]=1891;e[3144]=1891;e[3147]=1892;e[3148]=1892;e[3153]=580;e[3154]=581;e[3157]=584;e[3158]=585;e[3161]=588;e[3162]=589;e[3165]=891;e[3166]=892;e[3169]=1274;e[3170]=1275;e[3173]=1278;e[3174]=1279;e[3181]=7622;e[3182]=7623;e[3282]=11799;e[3316]=578;e[3379]=42785;e[3393]=1159;e[3416]=8377}),l=(0,a.getLookupTableFactory)(function(e){e[227]=322;e[264]=261;e[291]=346});t.getStdFontMap=i;t.getNonStdFontMap=n;t.getSerifFonts=o;t.getSymbolsFonts=s;t.getGlyphMapForStandardFonts=c;t.getSupplementalGlyphMapForArialBlack=l},function(e,t,r){"use strict";function a(e){return e>=65520&&e<=65535?0:e>=62976&&e<=63743?l()[e]||e:e}function i(e,t){var r=t[e];if(void 0!==r)return r;if(!e)return-1;if("u"===e[0]){var a,i=e.length;if(7===i&&"n"===e[1]&&"i"===e[2])a=e.substr(3);else{if(!(i>=5&&i<=7))return-1;a=e.substr(1)}if(a===a.toUpperCase()){r=parseInt(a,16);if(r>=0)return r}}return-1}function n(e){for(var t=0,r=u.length;t<r;t++){var a=u[t];if(e>=a.begin&&e<a.end)return t}return-1}function o(e){var t=u[13];if(e>=t.begin&&e<t.end)return!0;t=u[11];return e>=t.begin&&e<t.end}function s(e){var t=e.length;if(t<=1||!o(e.charCodeAt(0)))return e;for(var r="",a=t-1;a>=0;a--)r+=e[a];return r}var c=r(0).getLookupTableFactory,l=c(function(e){e[63721]=169;e[63193]=169;e[63720]=174;e[63194]=174;e[63722]=8482;e[63195]=8482;e[63729]=9127;e[63730]=9128;e[63731]=9129;e[63740]=9131;e[63741]=9132;e[63742]=9133;e[63726]=9121;e[63727]=9122;e[63728]=9123;e[63737]=9124;e[63738]=9125;e[63739]=9126;e[63723]=9115;e[63724]=9116;e[63725]=9117;e[63734]=9118;e[63735]=9119;e[63736]=9120}),u=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:199
;Object.defineProperty(e,r,{value:a,writable:!0,enumerable:!0,configurable:!0})};t.createArrayFromList=function(e){return e.slice()};t.ArrayBufferCopy=function(e,t,r,a,i){new Uint8Array(e).set(new Uint8Array(r,a,i),t)};t.CreateIterResultObject=function(e,t){c("boolean"==typeof t);var r={};Object.defineProperty(r,"value",{value:e,enumerable:!0,writable:!0,configurable:!0});Object.defineProperty(r,"done",{value:t,enumerable:!0,writable:!0,configurable:!0});return r};t.IsFiniteNonNegativeNumber=function(e){return!Number.isNaN(e)&&(e!==1/0&&!(e<0))};t.InvokeOrNoop=function(e,t,r){c(void 0!==e);c(i(t));c(Array.isArray(r));var a=e[t];if(void 0!==a)return n(a,e,r)};t.PromiseInvokeOrNoop=function(e,r,a){c(void 0!==e);c(i(r));c(Array.isArray(a));try{return Promise.resolve(t.InvokeOrNoop(e,r,a))}catch(e){return Promise.reject(e)}};t.PromiseInvokeOrPerformFallback=function(e,t,r,a,o){c(void 0!==e);c(i(t));c(Array.isArray(r));c(Array.isArray(o));var s=void 0;try{s=e[t]}catch(e){return Promise.reject(e)}if(void 0===s)return a.apply(null,o);try{return Promise.resolve(n(s,e,r))}catch(e){return Promise.reject(e)}};t.TransferArrayBuffer=function(e){return e.slice()};t.ValidateAndNormalizeHighWaterMark=function(e){e=Number(e);if(Number.isNaN(e)||e<0)throw new RangeError("highWaterMark property of a queuing strategy must be non-negative and non-NaN");return e};t.ValidateAndNormalizeQueuingStrategy=function(e,r){if(void 0!==e&&"function"!=typeof e)throw new TypeError("size property of a queuing strategy must be a function");r=t.ValidateAndNormalizeHighWaterMark(r);return{size:e,highWaterMark:r}}},function(e,t,r){function a(e){e&&e.constructor===i&&setTimeout(function(){throw e},0)}function i(e){this.name="AssertionError";this.message=e||"";this.stack=(new Error).stack}function n(e,t){if(!e)throw new i(t)}i.prototype=Object.create(Error.prototype);i.prototype.constructor=i;e.exports={rethrowAssertionErrorRejection:a,AssertionError:i,assert:n}},function(e,t,r){function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e){return new ye(e)}function n(e){return!!le(e)&&!!Object.prototype.hasOwnProperty.call(e,"_writableStreamController")}function o(e){he(!0===n(e),"IsWritableStreamLocked should only be used on known writable streams");return void 0!==e._writer}function s(e,t){var r=e._state;if("closed"===r)return Promise.resolve(void 0);if("errored"===r)return Promise.reject(e._storedError);var a=new TypeError("Requested to abort");if(void 0!==e._pendingAbortRequest)return Promise.reject(a);he("writable"===r||"erroring"===r,"state must be writable or erroring");var i=!1;if("erroring"===r){i=!0;t=void 0}var n=new Promise(function(r,a){e._pendingAbortRequest={_resolve:r,_reject:a,_reason:t,_wasAlreadyErroring:i}});!1===i&&u(e,a);return n}function c(e){he(!0===o(e));he("writable"===e._state);return new Promise(function(t,r){var a={_resolve:t,_reject:r};e._writeRequests.push(a)})}function l(e,t){var r=e._state;if("writable"!==r){he("erroring"===r);h(e)}else u(e,t)}function u(e,t){he(void 0===e._storedError,"stream._storedError === undefined");he("writable"===e._state,"state must be writable");var r=e._writableStreamController;he(void 0!==r,"controller must not be undefined");e._state="erroring";e._storedError=t;var a=e._writer;void 0!==a&&I(a,t);!1===b(e)&&!0===r._started&&h(e)}function h(e){he("erroring"===e._state,"stream._state === erroring");he(!1===b(e),"WritableStreamHasOperationMarkedInFlight(stream) === false");e._state="errored";e._writableStreamController.__errorSteps();for(var t=e._storedError,r=0;r<e._writeRequests.length;r++){e._writeRequests[r]._reject(t)}e._writeRequests=[];if(void 0!==e._pendingAbortRequest){var a=e._pendingAbortRequest;e._pendingAbortRequest=void 0;if(!0!==a._wasAlreadyErroring){e._writableStreamController.__abortSteps(a._reason).then(function(){a._resolve();w(e)},function(t){a._reject(t);w(e)})}else{a._reject(t);w(e)}}else w(e)}function f(e){he(void 0!==e._inFlightWriteRequest);e._inFlightWriteRequest._resolve(void 0);e._inFlightWriteRequest=void 0}function d(e,t){he(v
return new TypeError("ReadableStreamBYOBRequest.prototype."+e+" can only be used on a ReadableStreamBYOBRequest")}function ke(e){return new TypeError("ReadableByteStreamController.prototype."+e+" can only be used on a ReadableByteStreamController")}function Se(e){try{Promise.prototype.then.call(e,void 0,function(){})}catch(e){}}var Ce=function(){function e(e,t){for(var r=0;r<t.length;r++){var a=t[r];a.enumerable=a.enumerable||!1;a.configurable=!0;"value"in a&&(a.writable=!0);Object.defineProperty(e,a.key,a)}}return function(t,r,a){r&&e(t.prototype,r);a&&e(t,a);return t}}(),xe=r(0),Ae=xe.ArrayBufferCopy,Pe=xe.CreateIterResultObject,Ie=xe.IsFiniteNonNegativeNumber,_e=xe.InvokeOrNoop,Oe=xe.PromiseInvokeOrNoop,Te=xe.TransferArrayBuffer,Ee=xe.ValidateAndNormalizeQueuingStrategy,Re=xe.ValidateAndNormalizeHighWaterMark,Fe=r(0),Be=Fe.createArrayFromList,Me=Fe.createDataProperty,De=Fe.typeIsObject,Le=r(1),Ne=Le.assert,Ue=Le.rethrowAssertionErrorRejection,qe=r(3),je=qe.DequeueValue,ze=qe.EnqueueValueWithSize,He=qe.ResetQueue,Ge=r(2),We=Ge.AcquireWritableStreamDefaultWriter,Xe=Ge.IsWritableStream,Ve=Ge.IsWritableStreamLocked,Ye=Ge.WritableStreamAbort,Ke=Ge.WritableStreamDefaultWriterCloseWithErrorPropagation,Je=Ge.WritableStreamDefaultWriterRelease,Ze=Ge.WritableStreamDefaultWriterWrite,Qe=Ge.WritableStreamCloseQueuedOrInFlight,$e=function(){function e(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r.size,n=r.highWaterMark;a(this,e);this._state="readable";this._reader=void 0;this._storedError=void 0;this._disturbed=!1;this._readableStreamController=void 0;var o=t.type;if("bytes"===String(o)){void 0===n&&(n=0);this._readableStreamController=new it(this,t,n)}else{if(void 0!==o)throw new RangeError("Invalid type is specified");void 0===n&&(n=1);this._readableStreamController=new rt(this,t,i,n)}}Ce(e,[{key:"cancel",value:function(e){return!1===o(this)?Promise.reject(le("cancel")):!0===c(this)?Promise.reject(new TypeError("Cannot cancel a stream that already has a reader")):m(this,e)}},{key:"getReader",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.mode;if(!1===o(this))throw le("getReader");if(void 0===t)return n(this);t=String(t);if("byob"===t)return i(this);throw new RangeError("Invalid mode is specified")}},{key:"pipeThrough",value:function(e,t){var r=e.writable,a=e.readable;Se(this.pipeTo(r,t));return a}},{key:"pipeTo",value:function(e){var t=this,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.preventClose,i=r.preventAbort,s=r.preventCancel;if(!1===o(this))return Promise.reject(le("pipeTo"));if(!1===Xe(e))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo's first argument must be a WritableStream"));a=Boolean(a);i=Boolean(i);s=Boolean(s);if(!0===c(this))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked ReadableStream"));if(!0===Ve(e))return Promise.reject(new TypeError("ReadableStream.prototype.pipeTo cannot be used on a locked WritableStream"));var l=n(this),u=We(e),h=!1,f=Promise.resolve();return new Promise(function(r,n){function o(){f=Promise.resolve();return!0===h?Promise.resolve():u._readyPromise.then(function(){return T(l).then(function(e){var t=e.value;!0!==e.done&&(f=Ze(u,t).catch(function(){}))})}).then(o)}function c(){var e=f;return f.then(function(){return e!==f?c():void 0})}function d(e,t,r){"errored"===e._state?r(e._storedError):t.catch(r).catch(Ue)}function g(t,r,a){function i(){t().then(function(){return b(r,a)},function(e){return b(!0,e)}).catch(Ue)}if(!0!==h){h=!0;"writable"===e._state&&!1===Qe(e)?c().then(i):i()}}function p(t,r){if(!0!==h){h=!0;"writable"===e._state&&!1===Qe(e)?c().then(function(){return b(t,r)}).catch(Ue):b(t,r)}}function b(e,t){Je(u);_(l);e?n(t):r(void 0)}d(t,l._closedPromise,function(t){!1===i?g(function(){return Ye(e,t)},!0,t):p(!0,t)});d(e,u._closedPromise,function(e){!1===s?g(function(){return m(t,e)},!0,e):p(!0,e)});!function(e,t,r){"closed"===e._state?r():t.then(r).catch(Ue)}(t,l._closedPromi
;this._isViewable(n)&&this.setFlags(n)}}else(0,i.warn)("Popup annotation has a missing or invalid parent annotation.")}i.Util.inherit(e,u,{});return e}(),y=function(){function e(e){u.call(this,e);this.data.annotationType=i.AnnotationType.LINE;var t=e.dict;this.data.lineCoordinates=i.Util.normalizeRect(t.getArray("L"));this._preparePopup(t)}i.Util.inherit(e,u,{});return e}(),w=function(){function e(e){u.call(this,e);this.data.annotationType=i.AnnotationType.HIGHLIGHT;this._preparePopup(e.dict)}i.Util.inherit(e,u,{});return e}(),k=function(){function e(e){u.call(this,e);this.data.annotationType=i.AnnotationType.UNDERLINE;this._preparePopup(e.dict)}i.Util.inherit(e,u,{});return e}(),S=function(){function e(e){u.call(this,e);this.data.annotationType=i.AnnotationType.SQUIGGLY;this._preparePopup(e.dict)}i.Util.inherit(e,u,{});return e}(),C=function(){function e(e){u.call(this,e);this.data.annotationType=i.AnnotationType.STRIKEOUT;this._preparePopup(e.dict)}i.Util.inherit(e,u,{});return e}(),x=function(){function e(e){u.call(this,e);var t=new n.FileSpec(e.dict.get("FS"),e.xref);this.data.annotationType=i.AnnotationType.FILEATTACHMENT;this.data.file=t.serializable;this._preparePopup(e.dict)}i.Util.inherit(e,u,{});return e}();t.Annotation=u;t.AnnotationBorderStyle=h;t.AnnotationFactory=a},function(e,t,r){"use strict";function a(e){return 0!=(1&e)}function i(e){return 0==(1&e)}function n(e,t,r){for(var a=t,i=e.length;a<i;++a)if(e[a]!==r)return a;return a}function o(e,t,r,a){for(var i=t;i<r;++i)e[i]=a}function s(e,t,r){for(var a=t,i=r-1;a<i;++a,--i){var n=e[a];e[a]=e[i];e[i]=n}}function c(e,t,r){return{str:e,dir:r?"ttb":t?"ltr":"rtl"}}function l(e,t,r){var l=!0,m=e.length;if(0===m||r)return c(e,l,r);d.length=m;g.length=m;var p,b,v=0;for(p=0;p<m;++p){d[p]=e.charAt(p);var y=e.charCodeAt(p),w="L";if(y<=255)w=h[y];else if(1424<=y&&y<=1524)w="R";else if(1536<=y&&y<=1791){w=f[255&y];w||(0,u.warn)("Bidi: invalid Unicode character "+y.toString(16))}else 1792<=y&&y<=2220&&(w="AL");"R"!==w&&"AL"!==w&&"AN"!==w||v++;g[p]=w}if(0===v){l=!0;return c(e,l)}if(-1===t)if(v/m<.3){l=!0;t=0}else{l=!1;t=1}var k=[];for(p=0;p<m;++p)k[p]=t;var S=a(t)?"R":"L",C=S,x=C,A=C;for(p=0;p<m;++p)"NSM"===g[p]?g[p]=A:A=g[p];A=C;var P;for(p=0;p<m;++p){P=g[p];"EN"===P?g[p]="AL"===A?"AN":"EN":"R"!==P&&"L"!==P&&"AL"!==P||(A=P)}for(p=0;p<m;++p){P=g[p];"AL"===P&&(g[p]="R")}for(p=1;p<m-1;++p){"ES"===g[p]&&"EN"===g[p-1]&&"EN"===g[p+1]&&(g[p]="EN");"CS"!==g[p]||"EN"!==g[p-1]&&"AN"!==g[p-1]||g[p+1]!==g[p-1]||(g[p]=g[p-1])}for(p=0;p<m;++p)if("EN"===g[p]){var I;for(I=p-1;I>=0&&"ET"===g[I];--I)g[I]="EN";for(I=p+1;I<m&&"ET"===g[I];++I)g[I]="EN"}for(p=0;p<m;++p){P=g[p];"WS"!==P&&"ES"!==P&&"ET"!==P&&"CS"!==P||(g[p]="ON")}A=C;for(p=0;p<m;++p){P=g[p];"EN"===P?g[p]="L"===A?"L":"EN":"R"!==P&&"L"!==P||(A=P)}for(p=0;p<m;++p)if("ON"===g[p]){var _=n(g,p+1,"ON"),O=C;p>0&&(O=g[p-1]);var T=x;_+1<m&&(T=g[_+1]);"L"!==O&&(O="R");"L"!==T&&(T="R");O===T&&o(g,p,_,O);p=_-1}for(p=0;p<m;++p)"ON"===g[p]&&(g[p]=S);for(p=0;p<m;++p){P=g[p];i(k[p])?"R"===P?k[p]+=1:"AN"!==P&&"EN"!==P||(k[p]+=2):"L"!==P&&"AN"!==P&&"EN"!==P||(k[p]+=1)}var E,R=-1,F=99;for(p=0,b=k.length;p<b;++p){E=k[p];R<E&&(R=E);F>E&&a(E)&&(F=E)}for(E=R;E>=F;--E){var B=-1;for(p=0,b=k.length;p<b;++p)if(k[p]<E){if(B>=0){s(d,B,p);B=-1}}else B<0&&(B=p);B>=0&&s(d,B,k.length)}for(p=0,b=d.length;p<b;++p){var M=d[p];"<"!==M&&">"!==M||(d[p]="")}return c(d.join(""),l)}Object.defineProperty(t,"__esModule",{value:!0});t.bidi=void 0;var u=r(0),h=["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","ON","ON","ET","ET","ET","ON","ON","ON","ON","ON","ES","CS","ES","CS","CS","EN","EN","EN","EN","EN","EN","EN","EN","EN","EN","CS","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","ON","ON","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","L","ON","ON","ON","ON","BN","BN","BN","BN","BN","BN","B","BN","BN","BN
;t.PDFDocument=d},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FontRendererFactory=void 0;var a=r(0),i=r(9),n=r(7),o=r(4),s=r(2),c=function(){function e(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}function t(e,t){return e[t]<<8|e[t+1]}function r(r,i,n){var o,s,c,l=1===t(r,i+2)?e(r,i+8):e(r,i+16),u=t(r,i+l);if(4===u){t(r,i+l+2);var h=t(r,i+l+6)>>1;s=i+l+14;o=[];for(c=0;c<h;c++,s+=2)o[c]={end:t(r,s)};s+=2;for(c=0;c<h;c++,s+=2)o[c].start=t(r,s);for(c=0;c<h;c++,s+=2)o[c].idDelta=t(r,s);for(c=0;c<h;c++,s+=2){var f=t(r,s);if(0!==f){o[c].ids=[];for(var d=0,g=o[c].end-o[c].start+1;d<g;d++){o[c].ids[d]=t(r,s+f);f+=2}}}return o}if(12===u){e(r,i+l+4);var m=e(r,i+l+12);s=i+l+16;o=[];for(c=0;c<m;c++){o.push({start:e(r,s),end:e(r,s+4),idDelta:e(r,s+8)-e(r,s)});s+=12}return o}throw new a.FormatError("unsupported cmap: "+u)}function c(e,t,r,a){var n={},o=new i.CFFParser(new s.Stream(e,t,r-t),n,a),c=o.parse();return{glyphs:c.charStrings.objects,subrs:c.topDict.privateDict&&c.topDict.privateDict.subrsIndex&&c.topDict.privateDict.subrsIndex.objects,gsubrs:c.globalSubrIndex&&c.globalSubrIndex.objects}}function l(e,t,r){var a,i;if(r){a=4;i=function(e,t){return e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3]}}else{a=2;i=function(e,t){return e[t]<<9|e[t+1]<<1}}for(var n=[],o=i(t,0),s=a;s<t.length;s+=a){var c=i(t,s);n.push(e.subarray(o,c));o=c}return n}function u(e,t){for(var r=t.charCodeAt(0),a=0,i=0,n=e.length-1;i<n;){var o=i+n+1>>1;r<e[o].start?n=o-1:i=o}e[i].start<=r&&r<=e[i].end&&(a=e[i].idDelta+(e[i].ids?e[i].ids[r-e[i].start]:r)&65535);return{charCode:r,glyphId:a}}function h(e,t,r){function a(e,r,a,i){t.push({cmd:"quadraticCurveTo",args:[e,r,a,i]})}var i,n=0,o=(e[n]<<24|e[n+1]<<16)>>16,s=0,c=0;n+=10;if(o<0)do{i=e[n]<<8|e[n+1];var l=e[n+2]<<8|e[n+3];n+=4;var u,f;if(1&i){u=(e[n]<<24|e[n+1]<<16)>>16;f=(e[n+2]<<24|e[n+3]<<16)>>16;n+=4}else{u=e[n++];f=e[n++]}if(2&i){s=u;c=f}else{s=0;c=0}var d=1,g=1,m=0,p=0;if(8&i){d=g=(e[n]<<24|e[n+1]<<16)/1073741824;n+=2}else if(64&i){d=(e[n]<<24|e[n+1]<<16)/1073741824;g=(e[n+2]<<24|e[n+3]<<16)/1073741824;n+=4}else if(128&i){d=(e[n]<<24|e[n+1]<<16)/1073741824;m=(e[n+2]<<24|e[n+3]<<16)/1073741824;p=(e[n+4]<<24|e[n+5]<<16)/1073741824;g=(e[n+6]<<24|e[n+7]<<16)/1073741824;n+=8}var b=r.glyphs[l];if(b){t.push({cmd:"save"});t.push({cmd:"transform",args:[d,m,p,g,s,c]});h(b,t,r);t.push({cmd:"restore"})}}while(32&i);else{var v,y,w=[];for(v=0;v<o;v++){w.push(e[n]<<8|e[n+1]);n+=2}n+=2+(e[n]<<8|e[n+1]);for(var k=w[w.length-1]+1,S=[];S.length<k;){i=e[n++];var C=1;8&i&&(C+=e[n++]);for(;C-- >0;)S.push({flags:i})}for(v=0;v<k;v++){switch(18&S[v].flags){case 0:s+=(e[n]<<24|e[n+1]<<16)>>16;n+=2;break;case 2:s-=e[n++];break;case 18:s+=e[n++]}S[v].x=s}for(v=0;v<k;v++){switch(36&S[v].flags){case 0:c+=(e[n]<<24|e[n+1]<<16)>>16;n+=2;break;case 4:c-=e[n++];break;case 36:c+=e[n++]}S[v].y=c}var x=0;for(n=0;n<o;n++){var A=w[n],P=S.slice(x,A+1);if(1&P[0].flags)P.push(P[0]);else if(1&P[P.length-1].flags)P.unshift(P[P.length-1]);else{var I={flags:1,x:(P[0].x+P[P.length-1].x)/2,y:(P[0].y+P[P.length-1].y)/2};P.unshift(I);P.push(I)}!function(e,r){t.push({cmd:"moveTo",args:[e,r]})}(P[0].x,P[0].y);for(v=1,y=P.length;v<y;v++)if(1&P[v].flags)!function(e,r){t.push({cmd:"lineTo",args:[e,r]})}(P[v].x,P[v].y);else if(1&P[v+1].flags){a(P[v].x,P[v].y,P[v+1].x,P[v+1].y);v++}else a(P[v].x,P[v].y,(P[v].x+P[v+1].x)/2,(P[v].y+P[v+1].y)/2);x=A+1}}}function f(e,t,r){function i(e,r){t.push({cmd:"moveTo",args:[e,r]})}function n(e,r){t.push({cmd:"lineTo",args:[e,r]})}function s(e,r,a,i,n,o){t.push({cmd:"bezierCurveTo",args:[e,r,a,i,n,o]})}function c(e){for(var m=0;m<e.length;){var p,b,v,y,w,k,S,C,x,A=!1,P=e[m++];switch(P){case 1:case 3:g+=l.length>>1;A=!0;break;case 4:d+=l.pop();i(h,d);A=!0;break;case 5:for(;l.length>0;){h+=l.shift();d+=l.shift();n(h,d)}break;case 6:for(;l.length>0;){h+=l.shift();n(h,d);if(0===l.length)break;d+=l.shift();n(h,d)}break;case 7:for(;l.length>0;){d+=l.shift();n(h,d);if(0===l.length)break;h+=l.shift();n(h,d)}break;case 8:for(;l.length>0;){p=h+l.shift();v=d+l.shift();b=p+l.shift();y=v+l.shift();h=b+l.shift
;t.data=C;return b}if(n){var x=s(l,o);if(g.length>x+p)t.data=g.subarray(0,x+p);else{t.data=new Uint8Array(x+p);t.data.set(g.subarray(0,p))}t.data.set(g.subarray(0,x),p);c(e.data,l.length-o,p+x)}else t.data=g.subarray(0,p);return b}(P.loca,P.glyf,F,G,D,M)}if(!P.hhea)throw new c.FormatError('Required "hhea" table is not found');if(0===P.hhea.data[10]&&0===P.hhea.data[11]){P.hhea.data[10]=255;P.hhea.data[11]=255}var W={unitsPerEm:t(P.head.data[18],P.head.data[19]),yMax:t(P.head.data[42],P.head.data[43]),yMin:r(P.head.data[38],P.head.data[39]),ascent:t(P.hhea.data[4],P.hhea.data[5]),descent:r(P.hhea.data[6],P.hhea.data[7])};this.ascent=W.ascent/W.unitsPerEm;this.descent=W.descent/W.unitsPerEm;if(P.post){(function(e,t,r){var a=(i.start?i.start:0)+e.offset;i.pos=a;var n=e.length,o=a+n,s=i.getInt32();i.getBytes(28);var l,u,h=!0;switch(s){case 65536:l=C;break;case 131072:var f=i.getUint16();if(f!==r){h=!1;break}var d=[];for(u=0;u<f;++u){var g=i.getUint16();if(g>=32768){h=!1;break}d.push(g)}if(!h)break;for(var m=[],p=[];i.pos<o;){var b=i.getByte();p.length=b;for(u=0;u<b;++u)p[u]=String.fromCharCode(i.getByte());m.push(p.join(""))}l=[];for(u=0;u<f;++u){var v=d[u];v<258?l.push(C[v]):l.push(m[v-258])}break;case 196608:break;default:(0,c.warn)("Unknown/unsupported post table version "+s);h=!1;t.defaultEncoding&&(l=t.defaultEncoding)}t.glyphNames=l;return h})(P.post,n,F)||(P.post=null)}var X,V=[];if(n.composite){var Y=n.cidToGidMap||[],K=0===Y.length;n.cMap.forEach(function(e,t){if(t>65535)throw new c.FormatError("Max size of CID is 65,535");var r=-1;K?r=t:void 0!==Y[t]&&(r=Y[t]);r>=0&&r<F&&b(r)&&(V[e]=r)});!M||!K&&V[0]||(V[0]=F-1)}else{var J=function(e,t,r,a){if(!e){(0,c.warn)("No cmap table available.");return{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1}}var i,n=(t.start?t.start:0)+e.offset;t.pos=n;t.getUint16();for(var o,s=t.getUint16(),l=!1,u=0;u<s;u++){var h=t.getUint16(),f=t.getUint16(),d=t.getInt32()>>>0,g=!1;if(0===h&&0===f)g=!0;else if(1===h&&0===f)g=!0;else if(3!==h||1!==f||!a&&o){if(r&&3===h&&0===f){g=!0;l=!0}}else{g=!0;r||(l=!0)}g&&(o={platformId:h,encodingId:f,offset:d});if(l)break}o&&(t.pos=n+o.offset);if(!o||-1===t.peekByte()){(0,c.warn)("Could not find a preferred cmap table.");return{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1}}var m=t.getUint16();t.getUint16();t.getUint16();var p,b,v=!1,y=[];if(0===m){for(p=0;p<256;p++){var w=t.getByte();w&&y.push({charCode:p,glyphId:w})}v=!0}else if(4===m){var k=t.getUint16()>>1;t.getBytes(6);var S,C=[];for(S=0;S<k;S++)C.push({end:t.getUint16()});t.getUint16();for(S=0;S<k;S++)C[S].start=t.getUint16();for(S=0;S<k;S++)C[S].delta=t.getUint16();var x=0;for(S=0;S<k;S++){i=C[S];var A=t.getUint16();if(A){var P=(A>>1)-(k-S);i.offsetIndex=P;x=Math.max(x,P+i.end-i.start+1)}else i.offsetIndex=-1}var I=[];for(p=0;p<x;p++)I.push(t.getUint16());for(S=0;S<k;S++){i=C[S];n=i.start;var _=i.end,O=i.delta;P=i.offsetIndex;for(p=n;p<=_;p++)if(65535!==p){b=P<0?p:I[P+p-n];b=b+O&65535;y.push({charCode:p,glyphId:b})}}}else{if(6!==m){(0,c.warn)("cmap table has unsupported format: "+m);return{platformId:-1,encodingId:-1,mappings:[],hasShortCmap:!1}}var T=t.getUint16(),E=t.getUint16();for(p=0;p<E;p++){b=t.getUint16();var R=T+p;y.push({charCode:R,glyphId:b})}}y.sort(function(e,t){return e.charCode-t.charCode});for(u=1;u<y.length;u++)if(y[u-1].charCode===y[u].charCode){y.splice(u,1);u--}return{platformId:o.platformId,encodingId:o.encodingId,mappings:y,hasShortCmap:v}}(P.cmap,i,this.isSymbolicFont,n.hasEncoding),Z=J.platformId,Q=J.encodingId,$=J.mappings,ee=$.length;if(n.hasEncoding&&(3===Z&&1===Q||1===Z&&0===Q)||-1===Z&&-1===Q&&(0,h.getEncoding)(n.baseEncodingName)){var te=[];"MacRomanEncoding"!==n.baseEncodingName&&"WinAnsiEncoding"!==n.baseEncodingName||(te=(0,h.getEncoding)(n.baseEncodingName));var re=(0,u.getGlyphsUnicode)();for(X=0;X<256;X++){var ae,ie;ae=this.differences&&X in this.differences?this.differences[X]:X in te&&""!==te[X]?te[X]:h.StandardEncoding[X];if(ae){ie=o(ae,re);var ne;3===Z&&1===Q?ne=re[ie]:1===Z&&0===Q&&(ne=h.MacRomanEncoding.indexOf(ie));var oe=!1;for(O=0;O<ee;++
}],reference:[{x:0,y:-1},{x:-1,y:0},{x:0,y:0},{x:1,y:0},{x:0,y:1},{x:1,y:1}]}],C=[39717,1941,229,405],x=[32,8],A=17;v.prototype={onPageInformation:function(e){this.currentPageInfo=e;var t=e.width+7>>3,r=new Uint8Array(t*e.height);if(e.defaultPixelValue)for(var a=0,i=r.length;a<i;a++)r[a]=255;this.buffer=r},drawBitmap:function(e,t){var r,a,i,o,s=this.currentPageInfo,c=e.width,l=e.height,u=s.width+7>>3,h=s.combinationOperatorOverride?e.combinationOperator:s.combinationOperator,f=this.buffer,d=128>>(7&e.x),g=e.y*u+(e.x>>3);switch(h){case 0:for(r=0;r<l;r++){i=d;o=g;for(a=0;a<c;a++){t[r][a]&&(f[o]|=i);i>>=1;if(!i){i=128;o++}}g+=u}break;case 2:for(r=0;r<l;r++){i=d;o=g;for(a=0;a<c;a++){t[r][a]&&(f[o]^=i);i>>=1;if(!i){i=128;o++}}g+=u}break;default:throw new n("operator "+h+" is not supported")}},onImmediateGenericRegion:function(e,r,a,i){var n=e.info,o=new t(r,a,i),s=c(e.mmr,n.width,n.height,e.template,e.prediction,null,e.at,o);this.drawBitmap(n,s)},onImmediateLosslessGenericRegion:function(){this.onImmediateGenericRegion.apply(this,arguments)},onSymbolDictionary:function(e,r,a,i,o,s){if(e.huffman)throw new n("huffman is not supported");var c=this.symbols;c||(this.symbols=c={});for(var l=[],h=0,f=a.length;h<f;h++)l=l.concat(c[a[h]]);var d=new t(i,o,s);c[r]=u(e.huffman,e.refinement,l,e.numberOfNewSymbols,e.numberOfExportedSymbols,void 0,e.template,e.at,e.refinementTemplate,e.refinementAt,d)},onImmediateTextRegion:function(e,r,i,n,o){for(var s=e.info,c=this.symbols,l=[],u=0,f=r.length;u<f;u++)l=l.concat(c[r[u]]);var d=(0,a.log2)(l.length),g=new t(i,n,o),m=h(e.huffman,e.refinement,s.width,s.height,e.defaultPixelValue,e.numberOfSymbolInstances,e.stripSize,l,d,e.transposed,e.dsOffset,e.referenceCorner,e.combinationOperator,void 0,e.refinementTemplate,e.refinementAt,g);this.drawBitmap(s,m)},onImmediateLosslessTextRegion:function(){this.onImmediateTextRegion.apply(this,arguments)}};y.prototype={parseChunks:function(e){return b(e)}};return y}();t.Jbig2Image=o},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.JpegImage=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=r(0),n=function(){function e(e){this.message="JPEG error: "+e}e.prototype=new Error;e.prototype.name="JpegError";e.constructor=e;return e}(),o=function(){function e(){this.decodeTransform=null;this.colorTransform=-1}function t(e,t){for(var r,a,i=0,n=[],o=16;o>0&&!e[o-1];)o--;n.push({children:[],index:0});var s,c=n[0];for(r=0;r<o;r++){for(a=0;a<e[r];a++){c=n.pop();c.children[c.index]=t[i];for(;c.index>0;)c=n.pop();c.index++;n.push(c);for(;n.length<=r;){n.push(s={children:[],index:0});c.children[c.index]=s.children;c=s}i++}if(r+1<o){n.push(s={children:[],index:0});c.children[c.index]=s.children;c=s}}return n[0].children}function r(e,t,r){return 64*((e.blocksPerLine+1)*t+r)}function o(e,t,o,s,c,l,f,d,g){function m(){if(M>0){M--;return B>>M&1}B=e[t++];if(255===B){var r=e[t++];if(r)throw new n("unexpected marker "+(B<<8|r).toString(16))}M=7;return B>>>7}function p(e){for(var t=e;;){t=t[m()];if("number"==typeof t)return t;if("object"!==(void 0===t?"undefined":a(t)))throw new n("invalid huffman sequence")}}function b(e){for(var t=0;e>0;){t=t<<1|m();e--}return t}function v(e){if(1===e)return 1===m()?1:-1;var t=b(e);return t>=1<<e-1?t:t+(-1<<e)+1}function y(e,t){var r=p(e.huffmanTableDC),a=0===r?0:v(r);e.blockData[t]=e.pred+=a;for(var i=1;i<64;){var n=p(e.huffmanTableAC),o=15&n,s=n>>4;if(0!==o){i+=s;var c=h[i];e.blockData[t+c]=v(o);i++}else{if(s<15)break;i+=16}}}function w(e,t){var r=p(e.huffmanTableDC),a=0===r?0:v(r)<<g;e.blockData[t]=e.pred+=a}function k(e,t){e.blockData[t]|=m()<<g}function S(e,t){if(D>0)D--;else for(var r=l,a=f;r<=a;){var i=p(e.huffmanTableAC),n=15&i,o=i>>4;if(0!==n){r+=o;var s=h[r];e.blockData[t+s]=v(n)*(1<<g);r++}else{if(o<15){D=b(o)+(1<<o)-1;break}r+=16}}}function C(e,t){for(var r,a,i=l,o=f,s=0;i<=o;){var c=h[i];switch(L){case 0:a=p(e.huffmanTableAC);r=15&a;s=a>>4;
;e.otilde=556;e.Rcommaaccent=722;e.Lcommaaccent=556;e.Atilde=667;e.Aogonek=667;e.Aring=667;e.Otilde=778;e.zdotaccent=500;e.Ecaron=667;e.Iogonek=278;e.kcommaaccent=500;e.minus=584;e.Icircumflex=278;e.ncaron=556;e.tcommaaccent=278;e.logicalnot=584;e.odieresis=556;e.udieresis=556;e.notequal=549;e.gcommaaccent=556;e.eth=556;e.zcaron=500;e.ncommaaccent=556;e.onesuperior=333;e.imacron=278;e.Euro=556});e.Symbol=(0,a.getLookupTableFactory)(function(e){e.space=250;e.exclam=333;e.universal=713;e.numbersign=500;e.existential=549;e.percent=833;e.ampersand=778;e.suchthat=439;e.parenleft=333;e.parenright=333;e.asteriskmath=500;e.plus=549;e.comma=250;e.minus=549;e.period=250;e.slash=278;e.zero=500;e.one=500;e.two=500;e.three=500;e.four=500;e.five=500;e.six=500;e.seven=500;e.eight=500;e.nine=500;e.colon=278;e.semicolon=278;e.less=549;e.equal=549;e.greater=549;e.question=444;e.congruent=549;e.Alpha=722;e.Beta=667;e.Chi=722;e.Delta=612;e.Epsilon=611;e.Phi=763;e.Gamma=603;e.Eta=722;e.Iota=333;e.theta1=631;e.Kappa=722;e.Lambda=686;e.Mu=889;e.Nu=722;e.Omicron=722;e.Pi=768;e.Theta=741;e.Rho=556;e.Sigma=592;e.Tau=611;e.Upsilon=690;e.sigma1=439;e.Omega=768;e.Xi=645;e.Psi=795;e.Zeta=611;e.bracketleft=333;e.therefore=863;e.bracketright=333;e.perpendicular=658;e.underscore=500;e.radicalex=500;e.alpha=631;e.beta=549;e.chi=549;e.delta=494;e.epsilon=439;e.phi=521;e.gamma=411;e.eta=603;e.iota=329;e.phi1=603;e.kappa=549;e.lambda=549;e.mu=576;e.nu=521;e.omicron=549;e.pi=549;e.theta=521;e.rho=549;e.sigma=603;e.tau=439;e.upsilon=576;e.omega1=713;e.omega=686;e.xi=493;e.psi=686;e.zeta=494;e.braceleft=480;e.bar=200;e.braceright=480;e.similar=549;e.Euro=750;e.Upsilon1=620;e.minute=247;e.lessequal=549;e.fraction=167;e.infinity=713;e.florin=500;e.club=753;e.diamond=753;e.heart=753;e.spade=753;e.arrowboth=1042;e.arrowleft=987;e.arrowup=603;e.arrowright=987;e.arrowdown=603;e.degree=400;e.plusminus=549;e.second=411;e.greaterequal=549;e.multiply=549;e.proportional=713;e.partialdiff=494;e.bullet=460;e.divide=549;e.notequal=549;e.equivalence=549;e.approxequal=549;e.ellipsis=1e3;e.arrowvertex=603;e.arrowhorizex=1e3;e.carriagereturn=658;e.aleph=823;e.Ifraktur=686;e.Rfraktur=795;e.weierstrass=987;e.circlemultiply=768;e.circleplus=768;e.emptyset=823;e.intersection=768;e.union=768;e.propersuperset=713;e.reflexsuperset=713;e.notsubset=713;e.propersubset=713;e.reflexsubset=713;e.element=713;e.notelement=713;e.angle=768;e.gradient=713;e.registerserif=790;e.copyrightserif=790;e.trademarkserif=890;e.product=823;e.radical=549;e.dotmath=250;e.logicalnot=713;e.logicaland=603;e.logicalor=603;e.arrowdblboth=1042;e.arrowdblleft=987;e.arrowdblup=603;e.arrowdblright=987;e.arrowdbldown=603;e.lozenge=494;e.angleleft=329;e.registersans=790;e.copyrightsans=790;e.trademarksans=786;e.summation=713;e.parenlefttp=384;e.parenleftex=384;e.parenleftbt=384;e.bracketlefttp=384;e.bracketleftex=384;e.bracketleftbt=384;e.bracelefttp=494;e.braceleftmid=494;e.braceleftbt=494;e.braceex=494;e.angleright=329;e.integral=274;e.integraltp=686;e.integralex=686;e.integralbt=686;e.parenrighttp=384;e.parenrightex=384;e.parenrightbt=384;e.bracketrighttp=384;e.bracketrightex=384;e.bracketrightbt=384;e.bracerighttp=494;e.bracerightmid=494;e.bracerightbt=494;e.apple=790});e["Times-Roman"]=(0,a.getLookupTableFactory)(function(e){e.space=250;e.exclam=333;e.quotedbl=408;e.numbersign=500;e.dollar=500;e.percent=833;e.ampersand=778;e.quoteright=333;e.parenleft=333;e.parenright=333;e.asterisk=500;e.plus=564;e.comma=250;e.hyphen=333;e.period=250;e.slash=278;e.zero=500;e.one=500;e.two=500;e.three=500;e.four=500;e.five=500;e.six=500;e.seven=500;e.eight=500;e.nine=500;e.colon=278;e.semicolon=278;e.less=564;e.equal=564;e.greater=564;e.question=444;e.at=921;e.A=722;e.B=667;e.C=667;e.D=722;e.E=611;e.F=556;e.G=722;e.H=722;e.I=333;e.J=389;e.K=722;e.L=611;e.M=889;e.N=722;e.O=722;e.P=556;e.Q=722;e.R=667;e.S=556;e.T=611;e.U=722;e.V=722;e.W=944;e.X=722;e.Y=722;e.Z=611;e.bracketleft=333;e.backslash=278;e.bracketright=333;e.asciicircum=469;e.underscore=500;e.quoteleft=333;e.a=444;e.b=500;e.c=444;e.d=500;e.e=444;e.f=333;e.g=500;e.h=500;e
for(var r=e.coords,a=e.colors,n=new Int32Array(16),o=new Int32Array(4);t.hasData;){var s=t.readFlag();if(!(0<=s&&s<=3))throw new i.FormatError("Unknown type7 flag");var c,l,u=r.length;for(c=0,l=0!==s?12:16;c<l;c++)r.push(t.readCoordinate());var h=a.length;for(c=0,l=0!==s?2:4;c<l;c++)a.push(t.readComponents());var f,d,g,m;switch(s){case 0:n[12]=u+3;n[13]=u+4;n[14]=u+5;n[15]=u+6;n[8]=u+2;n[9]=u+13;n[10]=u+14;n[11]=u+7;n[4]=u+1;n[5]=u+12;n[6]=u+15;n[7]=u+8;n[0]=u;n[1]=u+11;n[2]=u+10;n[3]=u+9;o[2]=h+1;o[3]=h+2;o[0]=h;o[1]=h+3;break;case 1:f=n[12];d=n[13];g=n[14];m=n[15];n[12]=m;n[13]=u+0;n[14]=u+1;n[15]=u+2;n[8]=g;n[9]=u+9;n[10]=u+10;n[11]=u+3;n[4]=d;n[5]=u+8;n[6]=u+11;n[7]=u+4;n[0]=f;n[1]=u+7;n[2]=u+6;n[3]=u+5;f=o[2];d=o[3];o[2]=d;o[3]=h;o[0]=f;o[1]=h+1;break;case 2:f=n[15];d=n[11];n[12]=n[3];n[13]=u+0;n[14]=u+1;n[15]=u+2;n[8]=n[7];n[9]=u+9;n[10]=u+10;n[11]=u+3;n[4]=d;n[5]=u+8;n[6]=u+11;n[7]=u+4;n[0]=f;n[1]=u+7;n[2]=u+6;n[3]=u+5;f=o[3];o[2]=o[1];o[3]=h;o[0]=f;o[1]=h+1;break;case 3:n[12]=n[0];n[13]=u+0;n[14]=u+1;n[15]=u+2;n[8]=n[1];n[9]=u+9;n[10]=u+10;n[11]=u+3;n[4]=n[2];n[5]=u+8;n[6]=u+11;n[7]=u+4;n[0]=n[3];n[1]=u+7;n[2]=u+6;n[3]=u+5;o[2]=o[0];o[3]=h;o[0]=o[1];o[1]=h+1}e.figures.push({type:"patch",coords:new Int32Array(n),colors:new Int32Array(o)})}}function h(e){for(var t=e.coords[0][0],r=e.coords[0][1],a=t,i=r,n=1,o=e.coords.length;n<o;n++){var s=e.coords[n][0],c=e.coords[n][1];t=t>s?s:t;r=r>c?c:r;a=a<s?s:a;i=i<c?c:i}e.bounds=[t,r,a,i]}function f(e){var t,r,a,i,n=e.coords,o=new Float32Array(2*n.length);for(t=0,a=0,r=n.length;t<r;t++){var s=n[t];o[a++]=s[0];o[a++]=s[1]}e.coords=o;var c=e.colors,l=new Uint8Array(3*c.length);for(t=0,a=0,r=c.length;t<r;t++){var u=c[t];l[a++]=u[0];l[a++]=u[1];l[a++]=u[2]}e.colors=l;var h=e.figures;for(t=0,r=h.length;t<r;t++){var f=h[t],d=f.coords,g=f.colors;for(a=0,i=d.length;a<i;a++){d[a]*=2;g[a]*=3}}}function d(d,g,m,p){if(!(0,o.isStream)(d))throw new i.FormatError("Mesh data is not a stream");var b=d.dict;this.matrix=g;this.shadingType=b.get("ShadingType");this.type="Pattern";this.bbox=b.getArray("BBox");var v=b.get("ColorSpace","CS");v=n.ColorSpace.parse(v,m,p);this.cs=v;this.background=b.has("Background")?v.getRgb(b.get("Background"),0):null;var y=b.get("Function"),w=y?s.PDFFunction.parseArray(m,y):null;this.coords=[];this.colors=[];this.figures=[];var k={bitsPerCoordinate:b.get("BitsPerCoordinate"),bitsPerComponent:b.get("BitsPerComponent"),bitsPerFlag:b.get("BitsPerFlag"),decode:b.getArray("Decode"),colorFn:w,colorSpace:v,numComps:w?1:v.numComps},S=new e(d,k),C=!1;switch(this.shadingType){case c.FREE_FORM_MESH:t(this,S);break;case c.LATTICE_FORM_MESH:var x=0|b.get("VerticesPerRow");if(x<2)throw new i.FormatError("Invalid VerticesPerRow");r(this,S,x);break;case c.COONS_PATCH_MESH:l(this,S);C=!0;break;case c.TENSOR_PATCH_MESH:u(this,S);C=!0;break;default:(0,i.unreachable)("Unsupported mesh type.")}if(C){h(this);for(var A=0,P=this.figures.length;A<P;A++)a(this,A)}h(this);f(this)}e.prototype={get hasData(){if(this.stream.end)return this.stream.pos<this.stream.end;if(this.bufferLength>0)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,r=this.bufferLength;if(32===e){if(0===r)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 a=this.stream.getByte();this.buffer=a&(1<<r)-1;return(t<<8-r|(255&a)>>r)>>>0}if(8===e&&0===r)return this.stream.getByte();for(;r<e;){t=t<<8|this.stream.getByte();r+=8}r-=e;this.bufferLength=r;this.buffer=t&(1<<r)-1;return t>>r},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),r=this.readBits(e),a=this.context.decode,i=e<32?1/((1<<e)-1):2.3283064365386963e-10;return[t*i*(a[1]-a[0])+a[0],r*i*(a[3]-a[2])+a[2]]},readComponents:function(){for(var e=this.context.numComps,t=this.context.bitsPerCompon
return this.has(e)?e[this.id]:void 0},set:function(e,t){Object.defineProperty(e,this.id,{value:t,enumerable:!1,configurable:!0})},delete:function(e){delete e[this.id]}};i.WeakMap=e}}();!function(){function e(e){return void 0!==f[e]}function t(){c.call(this);this._isInvalid=!0}function r(e){""===e&&t.call(this);return e.toLowerCase()}function n(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,63,96].indexOf(t)?e:encodeURIComponent(e)}function o(e){var t=e.charCodeAt(0);return t>32&&t<127&&-1===[34,35,60,62,96].indexOf(t)?e:encodeURIComponent(e)}function s(a,i,s){function c(e){y.push(e)}var l=i||"scheme start",u=0,h="",b=!1,v=!1,y=[];e:for(;(a[u-1]!==g||0===u)&&!this._isInvalid;){var w=a[u];switch(l){case"scheme start":if(!w||!m.test(w)){if(i){c("Invalid scheme.");break e}h="";l="no scheme";continue}h+=w.toLowerCase();l="scheme";break;case"scheme":if(w&&p.test(w))h+=w.toLowerCase();else{if(":"!==w){if(i){if(w===g)break e;c("Code point not allowed in scheme: "+w);break e}h="";u=0;l="no scheme";continue}this._scheme=h;h="";if(i)break e;e(this._scheme)&&(this._isRelative=!0);l="file"===this._scheme?"relative":this._isRelative&&s&&s._scheme===this._scheme?"relative or authority":this._isRelative?"authority first slash":"scheme data"}break;case"scheme data":if("?"===w){this._query="?";l="query"}else if("#"===w){this._fragment="#";l="fragment"}else w!==g&&"\t"!==w&&"\n"!==w&&"\r"!==w&&(this._schemeData+=n(w));break;case"no scheme":if(s&&e(s._scheme)){l="relative";continue}c("Missing scheme.");t.call(this);break;case"relative or authority":if("/"!==w||"/"!==a[u+1]){c("Expected /, got: "+w);l="relative";continue}l="authority ignore slashes";break;case"relative":this._isRelative=!0;"file"!==this._scheme&&(this._scheme=s._scheme);if(w===g){this._host=s._host;this._port=s._port;this._path=s._path.slice();this._query=s._query;this._username=s._username;this._password=s._password;break e}if("/"===w||"\\"===w){"\\"===w&&c("\\ is an invalid code point.");l="relative slash"}else if("?"===w){this._host=s._host;this._port=s._port;this._path=s._path.slice();this._query="?";this._username=s._username;this._password=s._password;l="query"}else{if("#"!==w){var k=a[u+1],S=a[u+2];if("file"!==this._scheme||!m.test(w)||":"!==k&&"|"!==k||S!==g&&"/"!==S&&"\\"!==S&&"?"!==S&&"#"!==S){this._host=s._host;this._port=s._port;this._username=s._username;this._password=s._password;this._path=s._path.slice();this._path.pop()}l="relative path";continue}this._host=s._host;this._port=s._port;this._path=s._path.slice();this._query=s._query;this._fragment="#";this._username=s._username;this._password=s._password;l="fragment"}break;case"relative slash":if("/"!==w&&"\\"!==w){if("file"!==this._scheme){this._host=s._host;this._port=s._port;this._username=s._username;this._password=s._password}l="relative path";continue}"\\"===w&&c("\\ is an invalid code point.");l="file"===this._scheme?"file host":"authority ignore slashes";break;case"authority first slash":if("/"!==w){c("Expected '/', got: "+w);l="authority ignore slashes";continue}l="authority second slash";break;case"authority second slash":l="authority ignore slashes";if("/"!==w){c("Expected '/', got: "+w);continue}break;case"authority ignore slashes":if("/"!==w&&"\\"!==w){l="authority";continue}c("Expected authority, got: "+w);break;case"authority":if("@"===w){if(b){c("@ already seen.");h+="%40"}b=!0;for(var C=0;C<h.length;C++){var x=h[C];if("\t"!==x&&"\n"!==x&&"\r"!==x)if(":"!==x||null!==this._password){var A=n(x);null!==this._password?this._password+=A:this._username+=A}else this._password="";else c("Invalid whitespace in authority.")}h=""}else{if(w===g||"/"===w||"\\"===w||"?"===w||"#"===w){u-=h.length;h="";l="host";continue}h+=w}break;case"file host":if(w===g||"/"===w||"\\"===w||"?"===w||"#"===w){if(2!==h.length||!m.test(h[0])||":"!==h[1]&&"|"!==h[1])if(0===h.length)l="relative path start";else{this._host=r.call(this,h);h="";l="relative path start"}else l="relative path";continue}"\t"===w||"\n"===w||"\r"===w?c("Invalid whitespace in file host."):h+=w;break;case"host":case"hostname":if(":"!==w||v){