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.

23 lines
692 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=103)}([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(ke,"")}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=Ae[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 F(e){return"number"==typeof e&&(0|e)===e}function R(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 j(e,t){
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
;this.getRgbItem(e,t,r,0);return r},getRgbItem:function(e,t,r,a){throw new Error("Should not call ColorSpace.getRgbItem")},getRgbBuffer:function(e,t,r,a,i,n,o){throw new Error("Should not call ColorSpace.getRgbBuffer")},getOutputLength:function(e,t){throw new Error("Should not call ColorSpace.getOutputLength")},isPassthrough:function(e){return!1},fillRgb:function(t,r,a,i,n,o,s,c,l){var u,h,f=r*a,d=null,g=1<<s,m=a!==n||r!==i;if(this.isPassthrough(s))d=c;else if(1===this.numComps&&f>g&&"DeviceGray"!==this.name&&"DeviceRGB"!==this.name){var p,b=s<=8?new Uint8Array(g):new Uint16Array(g);for(u=0;u<g;u++)b[u]=u;var v=new Uint8Array(3*g);this.getRgbBuffer(b,0,g,v,0,s,0);var y,w;if(m){d=new Uint8Array(3*f);w=0;for(u=0;u<f;++u){p=3*c[u];d[w++]=v[p];d[w++]=v[p+1];d[w++]=v[p+2]}}else{y=0;for(u=0;u<f;++u){p=3*c[u];t[y++]=v[p];t[y++]=v[p+1];t[y++]=v[p+2];y+=l}}}else if(m){d=new Uint8Array(3*f);this.getRgbBuffer(c,0,f,d,0,s,0)}else this.getRgbBuffer(c,0,i*o,t,0,s,l);if(d)if(m)e(d,s,r,a,i,n,l,t);else{w=0;y=0;for(u=0,h=i*o;u<h;u++){t[y++]=d[w++];t[y++]=d[w++];t[y++]=d[w++];y+=l}}},usesZeroToOneRange:!0};t.parse=function(e,r,a){var i=t.parseToIR(e,r,a);return i instanceof s?i:t.fromIR(i)};t.fromIR=function(e){var r,i,o,u=(0,a.isArray)(e)?e[0]:e;switch(u){case"DeviceGrayCS":return this.singletons.gray;case"DeviceRgbCS":return this.singletons.rgb;case"DeviceCmykCS":return this.singletons.cmyk;case"CalGrayCS":r=e[1];i=e[2];o=e[3];return new d(r,i,o);case"CalRGBCS":r=e[1];i=e[2];o=e[3];var h=e[4];return new g(r,i,o,h);case"PatternCS":var f=e[1];f&&(f=t.fromIR(f));return new c(f);case"IndexedCS":var p=e[1],b=e[2],v=e[3];return new l(t.fromIR(p),b,v);case"AlternateCS":var y=e[1],w=e[2],k=e[3];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(){
;this.buf2=this.lexer.getObj()},shift:function(){if((0,n.isCmd)(this.buf2,"ID")){this.buf1=this.buf2;this.buf2=null}else{this.buf1=this.buf2;this.buf2=this.lexer.getObj()}},tryShift:function(){try{this.shift();return!0}catch(e){if(e instanceof i.MissingDataException)throw e;return!1}},getObj:function(e){var t=this.buf1;this.shift();if(t instanceof n.Cmd)switch(t.cmd){case"BI":return this.makeInlineImage(e);case"[":for(var r=[];!(0,n.isCmd)(this.buf1,"]")&&!(0,n.isEOF)(this.buf1);)r.push(this.getObj(e));if((0,n.isEOF)(this.buf1)){if(!this.recoveryMode)throw new i.FormatError("End of file inside array");return r}this.shift();return r;case"<<":for(var a=new n.Dict(this.xref);!(0,n.isCmd)(this.buf1,">>")&&!(0,n.isEOF)(this.buf1);)if((0,n.isName)(this.buf1)){var o=this.buf1.name;this.shift();if((0,n.isEOF)(this.buf1))break;a.set(o,this.getObj(e))}else{(0,i.info)("Malformed dictionary: key must be a name object");this.shift()}if((0,n.isEOF)(this.buf1)){if(!this.recoveryMode)throw new i.FormatError("End of file inside dictionary");return a}if((0,n.isCmd)(this.buf2,"stream"))return this.allowStreams?this.makeStream(a,e):a;this.shift();return a;default:return t}if((0,i.isInt)(t)){var s=t;if((0,i.isInt)(this.buf1)&&(0,n.isCmd)(this.buf2,"R")){var c=new n.Ref(s,this.buf1);this.shift();this.shift();return c}return s}if((0,i.isString)(t)){var l=t;e&&(l=e.decryptString(l));return l}return t},findDefaultInlineStreamEnd:function(e){for(var t,r,a,n,o=e.pos,s=0;-1!==(t=e.getByte());)if(0===s)s=69===t?1:0;else if(1===s)s=73===t?2:0;else{(0,i.assert)(2===s);if(32===t||10===t||13===t){a=5;n=e.peekBytes(a);for(r=0;r<a;r++){t=n[r];if(10!==t&&13!==t&&(t<32||t>127)){s=0;break}}if(2===s)break}else s=0}return e.pos-4-o},findDCTDecodeInlineStreamEnd:function(e){for(var t,r,a,n=e.pos,o=!1;-1!==(t=e.getByte());)if(255===t){switch(e.getByte()){case 0:break;case 255:e.skip(-1);break;case 217:o=!0;break;case 192:case 193:case 194:case 195:case 197:case 198:case 199:case 201:case 202:case 203:case 205:case 206:case 207:case 196:case 204:case 218:case 219:case 220:case 221:case 222:case 223:case 224:case 225:case 226:case 227:case 228:case 229:case 230:case 231:case 232:case 233:case 234:case 235:case 236:case 237:case 238:case 239:case 254:r=e.getUint16();r>2?e.skip(r-2):e.skip(-2)}if(o)break}a=e.pos-n;if(-1===t){(0,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();v
;e.Hmonospace=65320;e.Hoarmenian=1344;e.Horicoptic=1e3;e.Hsmall=63336;e.Hungarumlaut=63183;e.Hungarumlautsmall=63224;e.Hzsquare=13200;e.I=73;e.IAcyrillic=1071;e.IJ=306;e.IUcyrillic=1070;e.Iacute=205;e.Iacutesmall=63469;e.Ibreve=300;e.Icaron=463;e.Icircle=9406;e.Icircumflex=206;e.Icircumflexsmall=63470;e.Icyrillic=1030;e.Idblgrave=520;e.Idieresis=207;e.Idieresisacute=7726;e.Idieresiscyrillic=1252;e.Idieresissmall=63471;e.Idot=304;e.Idotaccent=304;e.Idotbelow=7882;e.Iebrevecyrillic=1238;e.Iecyrillic=1045;e.Ifraktur=8465;e.Igrave=204;e.Igravesmall=63468;e.Ihookabove=7880;e.Iicyrillic=1048;e.Iinvertedbreve=522;e.Iishortcyrillic=1049;e.Imacron=298;e.Imacroncyrillic=1250;e.Imonospace=65321;e.Iniarmenian=1339;e.Iocyrillic=1025;e.Iogonek=302;e.Iota=921;e.Iotaafrican=406;e.Iotadieresis=938;e.Iotatonos=906;e.Ismall=63337;e.Istroke=407;e.Itilde=296;e.Itildebelow=7724;e.Izhitsacyrillic=1140;e.Izhitsadblgravecyrillic=1142;e.J=74;e.Jaarmenian=1345;e.Jcircle=9407;e.Jcircumflex=308;e.Jecyrillic=1032;e.Jheharmenian=1355;e.Jmonospace=65322;e.Jsmall=63338;e.K=75;e.KBsquare=13189;e.KKsquare=13261;e.Kabashkircyrillic=1184;e.Kacute=7728;e.Kacyrillic=1050;e.Kadescendercyrillic=1178;e.Kahookcyrillic=1219;e.Kappa=922;e.Kastrokecyrillic=1182;e.Kaverticalstrokecyrillic=1180;e.Kcaron=488;e.Kcedilla=310;e.Kcircle=9408;e.Kcommaaccent=310;e.Kdotbelow=7730;e.Keharmenian=1364;e.Kenarmenian=1343;e.Khacyrillic=1061;e.Kheicoptic=998;e.Khook=408;e.Kjecyrillic=1036;e.Klinebelow=7732;e.Kmonospace=65323;e.Koppacyrillic=1152;e.Koppagreek=990;e.Ksicyrillic=1134;e.Ksmall=63339;e.L=76;e.LJ=455;e.LL=63167;e.Lacute=313;e.Lambda=923;e.Lcaron=317;e.Lcedilla=315;e.Lcircle=9409;e.Lcircumflexbelow=7740;e.Lcommaaccent=315;e.Ldot=319;e.Ldotaccent=319;e.Ldotbelow=7734;e.Ldotbelowmacron=7736;e.Liwnarmenian=1340;e.Lj=456;e.Ljecyrillic=1033;e.Llinebelow=7738;e.Lmonospace=65324;e.Lslash=321;e.Lslashsmall=63225;e.Lsmall=63340;e.M=77;e.MBsquare=13190;e.Macron=63184;e.Macronsmall=63407;e.Macute=7742;e.Mcircle=9410;e.Mdotaccent=7744;e.Mdotbelow=7746;e.Menarmenian=1348;e.Mmonospace=65325;e.Msmall=63341;e.Mturned=412;e.Mu=924;e.N=78;e.NJ=458;e.Nacute=323;e.Ncaron=327;e.Ncedilla=325;e.Ncircle=9411;e.Ncircumflexbelow=7754;e.Ncommaaccent=325;e.Ndotaccent=7748;e.Ndotbelow=7750;e.Nhookleft=413;e.Nineroman=8552;e.Nj=459;e.Njecyrillic=1034;e.Nlinebelow=7752;e.Nmonospace=65326;e.Nowarmenian=1350;e.Nsmall=63342;e.Ntilde=209;e.Ntildesmall=63473;e.Nu=925;e.O=79;e.OE=338;e.OEsmall=63226;e.Oacute=211;e.Oacutesmall=63475;e.Obarredcyrillic=1256;e.Obarreddieresiscyrillic=1258;e.Obreve=334;e.Ocaron=465;e.Ocenteredtilde=415;e.Ocircle=9412;e.Ocircumflex=212;e.Ocircumflexacute=7888;e.Ocircumflexdotbelow=7896;e.Ocircumflexgrave=7890;e.Ocircumflexhookabove=7892;e.Ocircumflexsmall=63476;e.Ocircumflextilde=7894;e.Ocyrillic=1054;e.Odblacute=336;e.Odblgrave=524;e.Odieresis=214;e.Odieresiscyrillic=1254;e.Odieresissmall=63478;e.Odotbelow=7884;e.Ogoneksmall=63227;e.Ograve=210;e.Ogravesmall=63474;e.Oharmenian=1365;e.Ohm=8486;e.Ohookabove=7886;e.Ohorn=416;e.Ohornacute=7898;e.Ohorndotbelow=7906;e.Ohorngrave=7900;e.Ohornhookabove=7902;e.Ohorntilde=7904;e.Ohungarumlaut=336;e.Oi=418;e.Oinvertedbreve=526;e.Omacron=332;e.Omacronacute=7762;e.Omacrongrave=7760;e.Omega=8486;e.Omegacyrillic=1120;e.Omegagreek=937;e.Omegaroundcyrillic=1146;e.Omegatitlocyrillic=1148;e.Omegatonos=911;e.Omicron=927;e.Omicrontonos=908;e.Omonospace=65327;e.Oneroman=8544;e.Oogonek=490;e.Oogonekmacron=492;e.Oopen=390;e.Oslash=216;e.Oslashacute=510;e.Oslashsmall=63480;e.Osmall=63343;e.Ostrokeacute=510;e.Otcyrillic=1150;e.Otilde=213;e.Otildeacute=7756;e.Otildedieresis=7758;e.Otildesmall=63477;e.P=80;e.Pacute=7764;e.Pcircle=9413;e.Pdotaccent=7766;e.Pecyrillic=1055;e.Peharmenian=1354;e.Pemiddlehookcyrillic=1190;e.Phi=934;e.Phook=420;e.Pi=928;e.Piwrarmenian=1363;e.Pmonospace=65328;e.Psi=936;e.Psicyrillic=1136;e.Psmall=63344;e.Q=81;e.Qcircle=9414;e.Qmonospace=65329;e.Qsmall=63345;e.R=82;e.Raarmenian=1356;e.Racute=340;e.Rcaron=344;e.Rcedilla=342;e.Rcircle=9415;e.Rcommaaccent=342;e.Rdblgrave=528;e.Rdotaccent=7768;e.Rdotbelow=7770;e.Rdotbelowmacron=7772;e.R
;e.glottalstopstroke=673;e.glottalstopstrokereversed=674;e.gmacron=7713;e.gmonospace=65351;e.gohiragana=12372;e.gokatakana=12468;e.gparen=9378;e.gpasquare=13228;e.gradient=8711;e.grave=96;e.gravebelowcmb=790;e.gravecmb=768;e.gravecomb=768;e.gravedeva=2387;e.gravelowmod=718;e.gravemonospace=65344;e.gravetonecmb=832;e.greater=62;e.greaterequal=8805;e.greaterequalorless=8923;e.greatermonospace=65310;e.greaterorequivalent=8819;e.greaterorless=8823;e.greateroverequal=8807;e.greatersmall=65125;e.gscript=609;e.gstroke=485;e.guhiragana=12368;e.guillemotleft=171;e.guillemotright=187;e.guilsinglleft=8249;e.guilsinglright=8250;e.gukatakana=12464;e.guramusquare=13080;e.gysquare=13257;e.h=104;e.haabkhasiancyrillic=1193;e.haaltonearabic=1729;e.habengali=2489;e.hadescendercyrillic=1203;e.hadeva=2361;e.hagujarati=2745;e.hagurmukhi=2617;e.haharabic=1581;e.hahfinalarabic=65186;e.hahinitialarabic=65187;e.hahiragana=12399;e.hahmedialarabic=65188;e.haitusquare=13098;e.hakatakana=12495;e.hakatakanahalfwidth=65418;e.halantgurmukhi=2637;e.hamzaarabic=1569;e.hamzalowarabic=1569;e.hangulfiller=12644;e.hardsigncyrillic=1098;e.harpoonleftbarbup=8636;e.harpoonrightbarbup=8640;e.hasquare=13258;e.hatafpatah=1458;e.hatafpatah16=1458;e.hatafpatah23=1458;e.hatafpatah2f=1458;e.hatafpatahhebrew=1458;e.hatafpatahnarrowhebrew=1458;e.hatafpatahquarterhebrew=1458;e.hatafpatahwidehebrew=1458;e.hatafqamats=1459;e.hatafqamats1b=1459;e.hatafqamats28=1459;e.hatafqamats34=1459;e.hatafqamatshebrew=1459;e.hatafqamatsnarrowhebrew=1459;e.hatafqamatsquarterhebrew=1459;e.hatafqamatswidehebrew=1459;e.hatafsegol=1457;e.hatafsegol17=1457;e.hatafsegol24=1457;e.hatafsegol30=1457;e.hatafsegolhebrew=1457;e.hatafsegolnarrowhebrew=1457;e.hatafsegolquarterhebrew=1457;e.hatafsegolwidehebrew=1457;e.hbar=295;e.hbopomofo=12559;e.hbrevebelow=7723;e.hcedilla=7721;e.hcircle=9431;e.hcircumflex=293;e.hdieresis=7719;e.hdotaccent=7715;e.hdotbelow=7717;e.he=1492;e.heart=9829;e.heartsuitblack=9829;e.heartsuitwhite=9825;e.hedagesh=64308;e.hedageshhebrew=64308;e.hehaltonearabic=1729;e.heharabic=1607;e.hehebrew=1492;e.hehfinalaltonearabic=64423;e.hehfinalalttwoarabic=65258;e.hehfinalarabic=65258;e.hehhamzaabovefinalarabic=64421;e.hehhamzaaboveisolatedarabic=64420;e.hehinitialaltonearabic=64424;e.hehinitialarabic=65259;e.hehiragana=12408;e.hehmedialaltonearabic=64425;e.hehmedialarabic=65260;e.heiseierasquare=13179;e.hekatakana=12504;e.hekatakanahalfwidth=65421;e.hekutaarusquare=13110;e.henghook=615;e.herutusquare=13113;e.het=1495;e.hethebrew=1495;e.hhook=614;e.hhooksuperior=689;e.hieuhacirclekorean=12923;e.hieuhaparenkorean=12827;e.hieuhcirclekorean=12909;e.hieuhkorean=12622;e.hieuhparenkorean=12813;e.hihiragana=12402;e.hikatakana=12498;e.hikatakanahalfwidth=65419;e.hiriq=1460;e.hiriq14=1460;e.hiriq21=1460;e.hiriq2d=1460;e.hiriqhebrew=1460;e.hiriqnarrowhebrew=1460;e.hiriqquarterhebrew=1460;e.hiriqwidehebrew=1460;e.hlinebelow=7830;e.hmonospace=65352;e.hoarmenian=1392;e.hohipthai=3627;e.hohiragana=12411;e.hokatakana=12507;e.hokatakanahalfwidth=65422;e.holam=1465;e.holam19=1465;e.holam26=1465;e.holam32=1465;e.holamhebrew=1465;e.holamnarrowhebrew=1465;e.holamquarterhebrew=1465;e.holamwidehebrew=1465;e.honokhukthai=3630;e.hookabovecomb=777;e.hookcmb=777;e.hookpalatalizedbelowcmb=801;e.hookretroflexbelowcmb=802;e.hoonsquare=13122;e.horicoptic=1001;e.horizontalbar=8213;e.horncmb=795;e.hotsprings=9832;e.house=8962;e.hparen=9379;e.hsuperior=688;e.hturned=613;e.huhiragana=12405;e.huiitosquare=13107;e.hukatakana=12501;e.hukatakanahalfwidth=65420;e.hungarumlaut=733;e.hungarumlautcmb=779;e.hv=405;e.hyphen=45;e.hypheninferior=63205;e.hyphenmonospace=65293;e.hyphensmall=65123;e.hyphensuperior=63206;e.hyphentwo=8208;e.i=105;e.iacute=237;e.iacyrillic=1103;e.ibengali=2439;e.ibopomofo=12583;e.ibreve=301;e.icaron=464;e.icircle=9432;e.icircumflex=238;e.icyrillic=1110;e.idblgrave=521;e.ideographearthcircle=12943;e.ideographfirecircle=12939;e.ideographicallianceparen=12863;e.ideographiccallparen=12858;e.ideographiccentrecircle=12965;e.ideographicclose=12294;e.ideographiccomma=12289;e.ideographiccommaleft=65380;e.ideogra
;e.squarecc=13252;e.squarecm=13213;e.squarediagonalcrosshatchfill=9641;e.squarehorizontalfill=9636;e.squarekg=13199;e.squarekm=13214;e.squarekmcapital=13262;e.squareln=13265;e.squarelog=13266;e.squaremg=13198;e.squaremil=13269;e.squaremm=13212;e.squaremsquared=13217;e.squareorthogonalcrosshatchfill=9638;e.squareupperlefttolowerrightfill=9639;e.squareupperrighttolowerleftfill=9640;e.squareverticalfill=9637;e.squarewhitewithsmallblack=9635;e.srsquare=13275;e.ssabengali=2487;e.ssadeva=2359;e.ssagujarati=2743;e.ssangcieuckorean=12617;e.ssanghieuhkorean=12677;e.ssangieungkorean=12672;e.ssangkiyeokkorean=12594;e.ssangnieunkorean=12645;e.ssangpieupkorean=12611;e.ssangsioskorean=12614;e.ssangtikeutkorean=12600;e.ssuperior=63218;e.sterling=163;e.sterlingmonospace=65505;e.strokelongoverlaycmb=822;e.strokeshortoverlaycmb=821;e.subset=8834;e.subsetnotequal=8842;e.subsetorequal=8838;e.succeeds=8827;e.suchthat=8715;e.suhiragana=12377;e.sukatakana=12473;e.sukatakanahalfwidth=65405;e.sukunarabic=1618;e.summation=8721;e.sun=9788;e.superset=8835;e.supersetnotequal=8843;e.supersetorequal=8839;e.svsquare=13276;e.syouwaerasquare=13180;e.t=116;e.tabengali=2468;e.tackdown=8868;e.tackleft=8867;e.tadeva=2340;e.tagujarati=2724;e.tagurmukhi=2596;e.taharabic=1591;e.tahfinalarabic=65218;e.tahinitialarabic=65219;e.tahiragana=12383;e.tahmedialarabic=65220;e.taisyouerasquare=13181;e.takatakana=12479;e.takatakanahalfwidth=65408;e.tatweelarabic=1600;e.tau=964;e.tav=1514;e.tavdages=64330;e.tavdagesh=64330;e.tavdageshhebrew=64330;e.tavhebrew=1514;e.tbar=359;e.tbopomofo=12554;e.tcaron=357;e.tccurl=680;e.tcedilla=355;e.tcheharabic=1670;e.tchehfinalarabic=64379;e.tchehinitialarabic=64380;e.tchehmedialarabic=64381;e.tcircle=9443;e.tcircumflexbelow=7793;e.tcommaaccent=355;e.tdieresis=7831;e.tdotaccent=7787;e.tdotbelow=7789;e.tecyrillic=1090;e.tedescendercyrillic=1197;e.teharabic=1578;e.tehfinalarabic=65174;e.tehhahinitialarabic=64674;e.tehhahisolatedarabic=64524;e.tehinitialarabic=65175;e.tehiragana=12390;e.tehjeeminitialarabic=64673;e.tehjeemisolatedarabic=64523;e.tehmarbutaarabic=1577;e.tehmarbutafinalarabic=65172;e.tehmedialarabic=65176;e.tehmeeminitialarabic=64676;e.tehmeemisolatedarabic=64526;e.tehnoonfinalarabic=64627;e.tekatakana=12486;e.tekatakanahalfwidth=65411;e.telephone=8481;e.telephoneblack=9742;e.telishagedolahebrew=1440;e.telishaqetanahebrew=1449;e.tencircle=9321;e.tenideographicparen=12841;e.tenparen=9341;e.tenperiod=9361;e.tenroman=8569;e.tesh=679;e.tet=1496;e.tetdagesh=64312;e.tetdageshhebrew=64312;e.tethebrew=1496;e.tetsecyrillic=1205;e.tevirhebrew=1435;e.tevirlefthebrew=1435;e.thabengali=2469;e.thadeva=2341;e.thagujarati=2725;e.thagurmukhi=2597;e.thalarabic=1584;e.thalfinalarabic=65196;e.thanthakhatlowleftthai=63640;e.thanthakhatlowrightthai=63639;e.thanthakhatthai=3660;e.thanthakhatupperleftthai=63638;e.theharabic=1579;e.thehfinalarabic=65178;e.thehinitialarabic=65179;e.thehmedialarabic=65180;e.thereexists=8707;e.therefore=8756;e.theta=952;e.theta1=977;e.thetasymbolgreek=977;e.thieuthacirclekorean=12921;e.thieuthaparenkorean=12825;e.thieuthcirclekorean=12907;e.thieuthkorean=12620;e.thieuthparenkorean=12811;e.thirteencircle=9324;e.thirteenparen=9344;e.thirteenperiod=9364;e.thonangmonthothai=3601;e.thook=429;e.thophuthaothai=3602;e.thorn=254;e.thothahanthai=3607;e.thothanthai=3600;e.thothongthai=3608;e.thothungthai=3606;e.thousandcyrillic=1154;e.thousandsseparatorarabic=1644;e.thousandsseparatorpersian=1644;e.three=51;e.threearabic=1635;e.threebengali=2537;e.threecircle=9314;e.threecircleinversesansserif=10124;e.threedeva=2409;e.threeeighths=8540;e.threegujarati=2793;e.threegurmukhi=2665;e.threehackarabic=1635;e.threehangzhou=12323;e.threeideographicparen=12834;e.threeinferior=8323;e.threemonospace=65299;e.threenumeratorbengali=2550;e.threeoldstyle=63283;e.threeparen=9334;e.threeperiod=9354;e.threepersian=1779;e.threequarters=190;e.threequartersemdash=63198;e.threeroman=8562;e.threesuperior=179;e.threethai=3667;e.thzsquare=13204;e.tihiragana=12385;e.tikatakana=12481;e.tikatakanahalfwidth=65409;e.tikeutacirclekorean=12912;e.tikeutaparenkorean
stackDelta:-1},{id:"not",min:1,stackDelta:0},null,null,null,{id:"abs",min:1,stackDelta:0},{id:"add",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]+e[t-1]}},{id:"sub",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]-e[t-1]}},{id:"div",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]/e[t-1]}},null,{id:"neg",min:1,stackDelta:0,stackFn:function(e,t){e[t-1]=-e[t-1]}},{id:"eq",min:2,stackDelta:-1},null,null,{id:"drop",min:1,stackDelta:-1},null,{id:"put",min:2,stackDelta:-2},{id:"get",min:1,stackDelta:0},{id:"ifelse",min:4,stackDelta:-3},{id:"random",min:0,stackDelta:1},{id:"mul",min:2,stackDelta:-1,stackFn:function(e,t){e[t-2]=e[t-2]*e[t-1]}},null,{id:"sqrt",min:1,stackDelta:0},{id:"dup",min:1,stackDelta:1},{id:"exch",min:2,stackDelta:0},{id:"index",min:2,stackDelta:0},{id:"roll",min:3,stackDelta:-2},null,null,null,{id:"hflex",min:7,resetStack:!0},{id:"flex",min:13,resetStack:!0},{id:"hflex1",min:9,resetStack:!0},{id:"flex1",min:11,resetStack:!0}];e.prototype={parse:function(){var e=this.properties,t=new c;this.cff=t;var r=this.parseHeader(),a=this.parseIndex(r.endPos),i=this.parseIndex(a.endPos),n=this.parseIndex(i.endPos),o=this.parseIndex(n.endPos),s=this.parseDict(i.obj.get(0)),l=this.createDict(d,s,t.strings);t.header=r.obj;t.names=this.parseNameIndex(a.obj);t.strings=this.parseStringIndex(n.obj);t.topDict=l;t.globalSubrIndex=o.obj;this.parsePrivateDict(t.topDict);t.isCIDFont=l.hasName("ROS");var u=l.getByName("CharStrings"),h=this.parseIndex(u).obj,f=l.getByName("FontMatrix");f&&(e.fontMatrix=f);var g=l.getByName("FontBBox");if(g){e.ascent=Math.max(g[3],g[1]);e.descent=Math.min(g[1],g[3]);e.ascentScaled=!0}var m,p;if(t.isCIDFont){for(var b=this.parseIndex(l.getByName("FDArray")).obj,v=0,y=b.count;v<y;++v){var w=b.get(v),k=this.createDict(d,this.parseDict(w),t.strings);this.parsePrivateDict(k);t.fdArray.push(k)}p=null;m=this.parseCharsets(l.getByName("charset"),h.count,t.strings,!0);t.fdSelect=this.parseFDSelect(l.getByName("FDSelect"),h.count)}else{m=this.parseCharsets(l.getByName("charset"),h.count,t.strings,!1);p=this.parseEncoding(l.getByName("Encoding"),e,t.strings,m.charset)}t.charset=m;t.encoding=p;var S=this.parseCharStrings({charStrings:h,localSubrIndex:l.privateDict.subrsIndex,globalSubrIndex:o.obj,fdSelect:t.fdSelect,fdArray:t.fdArray,privateDict:l.privateDict});t.charStrings=S.charStrings;t.seacs=S.seacs;t.widths=S.widths;return t},parseHeader:function(){for(var e=this.bytes,t=e.length,r=0;r<t&&1!==e[r];)++r;if(r>=t)throw new a.FormatError("Invalid CFF header");if(0!==r){(0,a.info)("cff data is shifted");e=e.subarray(r);this.bytes=e}var i=e[0],n=e[1],o=e[2],s=e[3];return{obj:new l(i,n,o,s),endPos:o}},parseDict:function(e){function t(){for(var t="",a=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"],i=e.length;r<i;){var n=e[r++],o=n>>4,s=15&n;if(15===o)break;t+=a[o];if(15===s)break;t+=a[s]}return parseFloat(t)}var r=0,i=[],n=[];r=0;for(var o=e.length;r<o;){var s=e[r];if(s<=21){12===s&&(s=s<<8|e[++r]);n.push([s,i]);i=[];++r}else i.push(function(){var i=e[r++];if(30===i)return t();if(28===i){i=e[r++];i=(i<<24|e[r++]<<16)>>16;return i}if(29===i){i=e[r++];i=i<<8|e[r++];i=i<<8|e[r++];i=i<<8|e[r++];return i}if(i>=32&&i<=246)return i-139;if(i>=247&&i<=250)return 256*(i-247)+e[r++]+108;if(i>=251&&i<=254)return-256*(i-251)-e[r++]-108;(0,a.warn)('CFFParser_parseDict: "'+i+'" is a reserved command.');return NaN}())}return n},parseIndex:function(e){var t,r,a=new h,i=this.bytes,n=i[e++]<<8|i[e++],o=[],s=e;if(0!==n){var c=i[e++],l=e+(n+1)*c-1;for(t=0,r=n+1;t<r;++t){for(var u=0,f=0;f<c;++f){u<<=8;u+=i[e++]}o.push(l+u)}s=o[n]}for(t=0,r=o.length-1;t<r;++t){var d=o[t],g=o[t+1];a.add(i.subarray(d,g))}return{obj:a,endPos:s}},parseNameIndex:function(e){for(var t=[],r=0,i=e.count;r<i;++r){for(var n=e.get(r),o=Math.min(n.length,127),s=[],c=0;c<o;++c){var l=n[c];0!==c||0!==l?s[c]=l<33||l>126||91===l||93===l||40===l||41===l||123===l||125===l||60===l||62===l||47===l||37===l||35===l?95:l:s[c]=l}t.push((0,a.bytesToString)(s))}return t},parseStringIndex:function(e){for(var t=new u,r=0,i=e.count;r<i;++r
x=R+i(T)+t(T,E,F)+c[h]+C[h];A=a(P)+r(P,I,_);R=F;F=E;E=T;T=O+x|0;O=_;_=I;I=P;P=x+A|0}d=d+P|0;g=g+I|0;m=m+_|0;p=p+O|0;b=b+T|0;v=v+E|0;y=y+F|0;w=w+R|0}return new Uint8Array([d>>24&255,d>>16&255,d>>8&255,255&d,g>>24&255,g>>16&255,g>>8&255,255&g,m>>24&255,m>>16&255,m>>8&255,255&m,p>>24&255,p>>16&255,p>>8&255,255&p,b>>24&255,b>>16&255,b>>8&255,255&b,v>>24&255,v>>16&255,v>>8&255,255&v,y>>24&255,y>>16&255,y>>8&255,255&y,w>>24&255,w>>16&255,w>>8&255,255&w])}var c=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];return s}(),u=function(){function e(e,t,r,a,i){e.assign(t);e.and(r);i.assign(t);i.not();i.and(a);e.xor(i)}function t(e,t,r,a,i){e.assign(t);e.and(r);i.assign(t);i.and(a);e.xor(i);i.assign(r);i.and(a);e.xor(i)}function r(e,t,r){e.assign(t);e.rotateRight(28);r.assign(t);r.rotateRight(34);e.xor(r);r.assign(t);r.rotateRight(39);e.xor(r)}function a(e,t,r){e.assign(t);e.rotateRight(14);r.assign(t);r.rotateRight(18);e.xor(r);r.assign(t);r.rotateRight(41);e.xor(r)}function i(e,t,r){e.assign(t);e.rotateRight(1);r.assign(t);r.rotateRight(8);e.xor(r);r.assign(t);r.shiftRight(7);e.xor(r)}function n(e,t,r){e.assign(t);e.rotateRight(19);r.assign(t);r.rotateRight(61);e.xor(r);r.assign(t);r.shiftRight(6);e.xor(r)}function o(o,l,u,h){h=!!h;var f,d,g,m,p,b,v,y;if(h){f=new c(3418070365,3238371032);d=new c(1654270250,914150663);g=new c(2438529370,812702999);m=new c(355462360,4144912697);p=new c(1731405415,4290775857);b=new c(2394180231,1750603025);v=new c(3675008525,1694076839);y=new c(1203062813,3204075428)}else{f=new c(1779033703,4089235720);d=new c(3144134277,2227873595);g=new c(1013904242,4271175723);m=new c(2773480762,1595750129);p=new c(1359893119,2917565137);b=new c(2600822924,725511199);v=new c(528734635,4215389547);y=new c(1541459225,327033209)}var w,k,S,C=128*Math.ceil((u+17)/128),x=new Uint8Array(C);for(w=0;w<u;++w)x[w]=o[l++];x[w++]=128;S=C-16;for(;w<S;)x[w++]=0;x[w++]=0;x[w++]=0;x[w++]=0;x[w++]=0;x[w++]=0;x[w++]=0;x[w++]=0;x[w++]=0;x[w++]=0;x[w++]=0;x[w++]=0;x[w++]=u>>>29&255;x[w++]=u>>21&255;x[w++]=u>>13&255;x[w++]=u>>5&255;x[w++]=u<<3&255;var A=new Array(80);for(w=0;w<80;w++)A[w]=new c(0,0);var P,I=new c(0,0),_=new c(0,0),O=new c(0,0),T=new c(0,0),E=new c(0,0),F=new c(0,0),R=new c(0,0),B=new c(0,0),M=new c(0,0),D=new c(0,0),L=new c(0,0),N=new c(0,0);for(w=0;w<C;){for(k=0;k<16;++k){A[k].high=x[w]<<24|x[w+1]<<16|x[w+2]<<8|x[w+3];A[k].low=x[w+4]<<24|x[w+5]<<16|x[w+6]<<8|x[w+7];w+=8}for(k=16;k<80;++k){P=A[k];n(P,A[k-2],N);P.add(A[k-7]);i(L,A[k-15],N);P.add(L);P.add(A[k-16])}I.assign(f);_.assign(d);O.assign(g);T.assign(m);E.assign(p);F.assign(b);R.assign(v);B.assign(y);for(k=0;k<80;++k){M.assign(B);a(L,E,N);M.add(L);e(L,E,F,R,N);M.add(L);M.add(s[k]);M.add(A[k]);r(D,I,N);t(L,I,_,O,N);D.add(L);P=B;B=R;R=F;F=E;T.add(M);E=T;T=O;O=_;_=I;P.assign(M);P.add(D);I=P}f.add(I);d.add(_);g.add(O);m.add(T);p.add(E);b.add(F);v.add(R);y.add(B)}var U;if(h){U=new Uint8Array(48);f.copyTo(U,0);d.copyTo(U,8);g.copyTo(U,16);m.copyTo(U,24);p.copyTo(U,32);b.copyTo(U,40)}else{U=new Uint8Array(64);f.copyTo(U,0);d.copyTo(U,8);g.copyTo(U,16);m.copyTo(U,24);p.copyTo(U,32);b.copyTo(U,40);v.copyTo(U,48);y.copyTo(U,56)}return U}var s=[new c(1116352408,3609767458),new c(1899447441,602891725),new c(3049323471,3964484399),new c(3921009573,2173295548),new c(961987163,4081628472),new c(1508970993,3053834265),new c(2453635748,2937671579),new c(2870763221,3664609560),new c(3624381080,2734883394),new c(310598401,1164996542),new c(607225278,132
var t=e.dict,r=t.get("ColorSpace","CS");r=p.ColorSpace.parse(r,this.xref,this.resources);var a=r.numComps;return this.handler.sendWithPromise("JpegDecode",[e.getIR(this.forceDataSchema),a]).then(function(t){var r=t.data;return new o.Stream(r,0,r.length,e.dict)})}};e.isSupported=function(e,t,r){var a=e.dict;if(a.has("DecodeParms")||a.has("DP"))return!1;var i=p.ColorSpace.parse(a.get("ColorSpace","CS"),t,r);return("DeviceGray"===i.name||"DeviceRGB"===i.name)&&i.isDefaultDecode(a.getArray("Decode","D"))};e.isDecodable=function(e,t,r){var a=e.dict;if(a.has("DecodeParms")||a.has("DP"))return!1;var i=p.ColorSpace.parse(a.get("ColorSpace","CS"),t,r);return(1===i.numComps||3===i.numComps)&&i.isDefaultDecode(a.getArray("Decode","D"))};r.prototype={check:function(){if(++this.checked<100)return!1;this.checked=0;return this.endTime<=Date.now()},reset:function(){this.endTime=Date.now()+20;this.checked=0}};var _=Promise.resolve();t.prototype={clone:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:k,t=Object.create(this);t.options=e;return t},hasBlendModes:function(e){if(!(0,s.isDict)(e))return!1;var t=Object.create(null);e.objId&&(t[e.objId]=!0);for(var r=[e],a=this.xref;r.length;){var i,n,o,c=r.shift(),l=c.get("ExtGState");if((0,s.isDict)(l)){var u=l.getKeys();for(n=0,o=u.length;n<o;n++){i=u[n];var h=l.get(i),f=h.get("BM");if((0,s.isName)(f)&&"Normal"!==f.name)return!0}}var d=c.get("XObject");if((0,s.isDict)(d)){var g=d.getKeys();for(n=0,o=g.length;n<o;n++){i=g[n];var m=d.getRaw(i);if((0,s.isRef)(m)){if(t[m.toString()])continue;m=a.fetch(m)}if((0,s.isStream)(m)){if(m.dict.objId){if(t[m.dict.objId])continue;t[m.dict.objId]=!0}var p=m.dict.get("Resources");if((0,s.isDict)(p)&&(!p.objId||!t[p.objId])){r.push(p);p.objId&&(t[p.objId]=!0)}}}}}return!1},buildFormXObject:function(e,t,r,a,n,o){var c=t.dict,l=c.getArray("Matrix"),u=c.getArray("BBox"),h=c.get("Group");if(h){var f,d={matrix:l,bbox:u,smask:r,isolated:!1,knockout:!1},g=h.get("S");if((0,s.isName)(g,"Transparency")){d.isolated=h.get("I")||!1;d.knockout=h.get("K")||!1;f=h.has("CS")?p.ColorSpace.parse(h.get("CS"),this.xref,e):null}if(r&&r.backdrop){f=f||p.ColorSpace.singletons.rgb;r.backdrop=f.getRgb(r.backdrop,0)}a.addOp(i.OPS.beginGroup,[d])}a.addOp(i.OPS.paintFormXObjectBegin,[l,u]);return this.getOperatorList({stream:t,task:n,resources:c.get("Resources")||e,operatorList:a,initialState:o}).then(function(){a.addOp(i.OPS.paintFormXObjectEnd,[]);h&&a.addOp(i.OPS.endGroup,[d])})},buildPaintImageXObject:function(t,r,a,n,s,c){var l=this,u=r.dict,h=u.get("Width","W"),f=u.get("Height","H");if(h&&(0,i.isNum)(h)&&f&&(0,i.isNum)(f)){var d=this.options.maxImageSize;if(-1!==d&&h*f>d)(0,i.warn)("Image exceeded maximum allowed size and was removed.");else{var g,m,p=u.get("ImageMask","IM")||!1;if(p){var b=u.get("Width","W"),v=u.get("Height","H"),y=b+7>>3,k=r.getBytes(y*v),S=u.getArray("Decode","D"),C=!!S&&S[0]>0;g=w.PDFImage.createMask(k,b,v,r instanceof o.DecodeStream,C);g.cached=!0;m=[g];n.addOp(i.OPS.paintImageMaskXObject,m);s&&(c[s]={fn:i.OPS.paintImageMaskXObject,args:m})}else{var x=u.get("SMask","SM")||!1,A=u.get("Mask")||!1;if(!a||x||A||r instanceof o.JpegStream||!(h+f<200)){var P=this.options.nativeImageDecoderSupport,I="img_"+this.idFactory.createObjId();n.addDependency(I);m=[I,h,f];if(P!==i.NativeImageDecoding.NONE&&!x&&!A&&r instanceof o.JpegStream&&e.isSupported(r,this.xref,t)){n.addOp(i.OPS.paintJpegXObject,m);this.handler.send("obj",[I,this.pageIndex,"JpegStream",r.getIR(this.options.forceDataSchema)]);s&&(c[s]={fn:i.OPS.paintJpegXObject,args:m})}else{var _=null;P===i.NativeImageDecoding.DECODE&&(r instanceof o.JpegStream||A instanceof o.JpegStream||x instanceof o.JpegStream)&&(_=new e(this.xref,t,this.handler,this.options.forceDataSchema));w.PDFImage.buildImage(this.handler,this.xref,t,r,a,_).then(function(e){var t=e.createImageData(!1);l.handler.send("obj",[I,l.pageIndex,"Image",t],[t.data.buffer])}).catch(function(e){(0,i.warn)("Unable to decode image: "+e);l.handler.send("obj",[I,l.pageIndex,"Image",null])});n.addOp(i.OPS.paintImageXObject,m);s&&(c[s]={fn:
}(),C=function(){function e(e){for(var t=[],r=e.fnArray,a=e.argsArray,n=0,o=e.length;n<o;n++)switch(r[n]){case i.OPS.paintInlineImageXObject:case i.OPS.paintInlineImageXObjectGroup:case i.OPS.paintImageMaskXObject:var s=a[n][0];s.cached||t.push(s.data.buffer)}return t}function t(e,t,r){this.messageHandler=t;this.fnArray=[];this.argsArray=[];this.dependencies=Object.create(null);this._totalLength=0;this.pageIndex=r;this.intent=e}t.prototype={get length(){return this.argsArray.length},get totalLength(){return this._totalLength+this.length},addOp:function(e,t){this.fnArray.push(e);this.argsArray.push(t);this.messageHandler&&(this.fnArray.length>=1e3?this.flush():this.fnArray.length>=995&&(e===i.OPS.restore||e===i.OPS.endText)&&this.flush())},addDependency:function(e){if(!(e in this.dependencies)){this.dependencies[e]=!0;this.addOp(i.OPS.dependency,[e])}},addDependencies:function(e){for(var t in e)this.addDependency(t)},addOpList:function(e){i.Util.extendObj(this.dependencies,e.dependencies);for(var t=0,r=e.length;t<r;t++)this.addOp(e.fnArray[t],e.argsArray[t])},getIR:function(){return{fnArray:this.fnArray,argsArray:this.argsArray,length:this.length}},flush:function(t){"oplist"!==this.intent&&(new _).optimize(this);var r=e(this),a=this.length;this._totalLength+=a;this.messageHandler.send("RenderPageChunk",{operatorList:{fnArray:this.fnArray,argsArray:this.argsArray,lastChunk:t,length:a},pageIndex:this.pageIndex,intent:this.intent},r);this.dependencies=Object.create(null);this.fnArray.length=0;this.argsArray.length=0}};return t}(),x=function(){function e(e){this.state=e;this.stateStack=[]}e.prototype={save:function(){var e=this.state;this.stateStack.push(this.state);this.state=e.clone()},restore:function(){var e=this.stateStack.pop();e&&(this.state=e)},transform:function(e){this.state.ctm=i.Util.transform(this.state.ctm,e)}};return e}(),A=function(){function e(){this.ctm=new Float32Array(i.IDENTITY_MATRIX);this.fontName=null;this.fontSize=0;this.font=null;this.fontMatrix=i.FONT_IDENTITY_MATRIX;this.textMatrix=i.IDENTITY_MATRIX.slice();this.textLineMatrix=i.IDENTITY_MATRIX.slice();this.charSpacing=0;this.wordSpacing=0;this.leading=0;this.textHScale=1;this.textRise=0}e.prototype={setTextMatrix:function(e,t,r,a,i,n){var o=this.textMatrix;o[0]=e;o[1]=t;o[2]=r;o[3]=a;o[4]=i;o[5]=n},setTextLineMatrix:function(e,t,r,a,i,n){var o=this.textLineMatrix;o[0]=e;o[1]=t;o[2]=r;o[3]=a;o[4]=i;o[5]=n},translateTextMatrix:function(e,t){var r=this.textMatrix;r[4]=r[0]*e+r[2]*t+r[4];r[5]=r[1]*e+r[3]*t+r[5]},translateTextLineMatrix:function(e,t){var r=this.textLineMatrix;r[4]=r[0]*e+r[2]*t+r[4];r[5]=r[1]*e+r[3]*t+r[5]},calcTextLineMatrixAdvance:function(e,t,r,a,i,n){var o=this.font;if(!o)return null;var s=this.textLineMatrix;if(e!==s[0]||t!==s[1]||r!==s[2]||a!==s[3])return null;var c=i-s[4],l=n-s[5];if(o.vertical&&0!==c||!o.vertical&&0!==l)return null;var u,h,f=e*a-t*r;if(o.vertical){u=-l*r/f;h=l*e/f}else{u=c*a/f;h=-c*t/f}return{width:u,height:h,value:o.vertical?h:u}},calcRenderMatrix:function(e){var t=[this.fontSize*this.textHScale,0,0,this.fontSize,0,this.textRise];return i.Util.transform(e,i.Util.transform(this.textMatrix,t))},carriageReturn:function(){this.translateTextLineMatrix(0,-this.leading);this.textMatrix=this.textLineMatrix.slice()},clone:function(){var e=Object.create(this);e.textMatrix=this.textMatrix.slice();e.textLineMatrix=this.textLineMatrix.slice();e.fontMatrix=this.fontMatrix.slice();return e}};return e}(),P=function(){function e(){this.ctm=new Float32Array(i.IDENTITY_MATRIX);this.font=null;this.textRenderingMode=i.TextRenderingMode.FILL;this.fillColorSpace=p.ColorSpace.singletons.gray;this.strokeColorSpace=p.ColorSpace.singletons.gray}e.prototype={clone:function(){return Object.create(this)}};return e}(),I=function(){function e(e,r,a){this.opMap=t();this.parser=new g.Parser(new g.Lexer(e,this.opMap),!1,r);this.stateManager=a;this.nonProcessedArgs=[]}var t=(0,i.getLookupTableFactory)(function(e){e.w={id:i.OPS.setLineWidth,numArgs:1,variableArgs:!1};e.J={id:i.OPS.setLineCap,numArgs:1,variableArgs:!1};e.j={id:i.OPS.setLineJoin,n
for(var a=0;a<this.levels.length;){var i=this.levels[a],n=e+t*i.width;i.index=n;var o=i.items[n];if(255===o)break;if(o>r){this.currentLevel=a;this.propagateValues();return!1}e>>=1;t>>=1;a++}this.currentLevel=a-1;return!0},incrementValue:function(e){var t=this.levels[this.currentLevel];t.items[t.index]=e+1;this.propagateValues()},propagateValues:function(){for(var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];--e>=0;){t=this.levels[e];t.items[t.index]=r}},nextLevel:function(){var e=this.currentLevel,t=this.levels[e],r=t.items[t.index];t.items[t.index]=255;e--;if(e<0)return!1;this.currentLevel=e;t=this.levels[e];t.items[t.index]=r;return!0}};return e}(),P=function(){function e(e,i,n,o,s){this.width=e;this.height=i;this.contextLabelTable="HH"===n?a:"HL"===n?r:t;var c=e*i;this.neighborsSignificance=new Uint8Array(c);this.coefficentsSign=new Uint8Array(c);this.coefficentsMagnitude=s>14?new Uint32Array(c):s>6?new Uint16Array(c):new Uint8Array(c);this.processingFlags=new Uint8Array(c);var l=new Uint8Array(c);if(0!==o)for(var u=0;u<c;u++)l[u]=o;this.bitsDecoded=l;this.reset()}var t=new Uint8Array([0,5,8,0,3,7,8,0,4,7,8,0,0,0,0,0,1,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8,0,0,0,0,0,2,6,8,0,3,7,8,0,4,7,8]),r=new Uint8Array([0,3,4,0,5,7,7,0,8,8,8,0,0,0,0,0,1,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8,0,0,0,0,0,2,3,4,0,6,7,7,0,8,8,8]),a=new Uint8Array([0,1,2,0,1,2,2,0,2,2,2,0,0,0,0,0,3,4,5,0,4,5,5,0,5,5,5,0,0,0,0,0,6,7,7,0,7,7,7,0,7,7,7,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8,0,0,0,0,0,8,8,8,0,8,8,8,0,8,8,8]);e.prototype={setDecoder:function(e){this.decoder=e},reset:function(){this.contexts=new Int8Array(19);this.contexts[0]=8;this.contexts[17]=92;this.contexts[18]=6},setNeighborsSignificance:function(e,t,r){var a,i=this.neighborsSignificance,n=this.width,o=this.height,s=t>0,c=t+1<n;if(e>0){a=r-n;s&&(i[a-1]+=16);c&&(i[a+1]+=16);i[a]+=4}if(e+1<o){a=r+n;s&&(i[a-1]+=16);c&&(i[a+1]+=16);i[a]+=4}s&&(i[r-1]+=1);c&&(i[r+1]+=1);i[r]|=128},runSignificancePropagationPass:function(){for(var e=this.decoder,t=this.width,r=this.height,a=this.coefficentsMagnitude,i=this.coefficentsSign,n=this.neighborsSignificance,o=this.processingFlags,s=this.contexts,c=this.contextLabelTable,l=this.bitsDecoded,u=0;u<r;u+=4)for(var h=0;h<t;h++)for(var f=u*t+h,d=0;d<4;d++,f+=t){var g=u+d;if(g>=r)break;o[f]&=-2;if(!a[f]&&n[f]){var m=c[n[f]],p=e.readBit(s,m);if(p){var b=this.decodeSignBit(g,h,f);i[f]=b;a[f]=1;this.setNeighborsSignificance(g,h,f);o[f]|=2}l[f]++;o[f]|=1}}},decodeSignBit:function(e,t,r){var a,i,n,o,s,c,l=this.width,u=this.height,h=this.coefficentsMagnitude,f=this.coefficentsSign;o=t>0&&0!==h[r-1];if(t+1<l&&0!==h[r+1]){n=f[r+1];if(o){i=f[r-1];a=1-n-i}else a=1-n-n}else if(o){i=f[r-1];a=1-i-i}else a=0;var d=3*a;o=e>0&&0!==h[r-l];if(e+1<u&&0!==h[r+l]){n=f[r+l];if(o){i=f[r-l];a=1-n-i+d}else a=1-n-n+d}else if(o){i=f[r-l];a=1-i-i+d}else a=d;if(a>=0){s=9+a;c=this.decoder.readBit(this.contexts,s)}else{s=9-a;c=1^this.decoder.readBit(this.contexts,s)}return c},runMagnitudeRefinementPass:function(){for(var e,t=this.decoder,r=this.width,a=this.height,i=this.coefficentsMagnitude,n=this.neighborsSignificance,o=this.contexts,s=this.bitsDecoded,c=this.processingFlags,l=r*a,u=4*r,h=0;h<l;h=e){e=Math.min(l,h+u);for(var f=0;f<r;f++)for(var d=h+f;d<e;d+=r)if(i[d]&&0==(1&c[d])){var g=16;if(0!=(2&c[d])){c[d]^=2;var m=127&n[d];g=0===m?15:14}var p=t.readBit(o,g);i[d]=i[d]<<1|p;s[d]++;c[d]|=1}}},runCleanupPass:function(){for(var e,t=this.decoder,r=this.width,a=this.height,i=this.neighborsSignificance,n=this.coefficentsMagnitude,o=this.coefficentsSign,s=this.contexts,c=this.contextLabelTable,l=this.bitsDecoded,u=this.processingFlags,h=r,f=2*r,d=3*r,g=0;g<a;g=e){e=Math.min(g+4,a);for(var m=g*r,p=g+3<a,b=0;b<r;b++){var v,y=m+b,w=p&&0===u[y]&&0===u[y+h]&&0===u[y+f]&&0===u[y+d]&&0===i[y]&&0===i[y+h]&&0===i[y+f]&&0===i[y+d],k=0,S=y,C=g;if(w){if(!t.readBit(s,18)){l[y]++;l[y+h]++;l[y+f]++;l[y+d]++;continue}k=t.readBit(s,17)<<1|t.readBit(s,17);if(0!==k){C=g+k;S+=k*r}v=this.decodeSignBit(C,b,S);o[S]=v;
;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"]="Comic Sans MS-BoldItalic";e["ComicSansMS-Italic"]="Comic Sans MS-Italic";e.LucidaConsole="Courier";e["LucidaConsole-Bold"]="Courier-Bold";e["LucidaConsole-BoldItalic"]="Courier-BoldOblique";e["LucidaConsole-Italic"]="Courier-Oblique";e["MS-Gothic"]="MS Gothic";e["MS-Gothic-Bold"]="MS Gothic-Bold";e["MS-Gothic-BoldItalic"]="MS Gothic-BoldItalic";e["MS-Gothic-Italic"]="MS Gothic-Italic";e["MS-Mincho"]="MS Mincho";e["MS-Mincho-Bold"]="MS Mincho-Bold";e["MS-Mincho-BoldItalic"]="MS Mincho-BoldItalic";e["MS-Mincho-Italic"]="MS Mincho-Italic";e["MS-PGothic"]="MS PGothic";e["MS-PGothic-Bold"]="MS PGothic-Bold";e["MS-PGothic-BoldItalic"]="MS PGothic-BoldItalic";e["MS-PGothic-Italic"]="MS PGothic-Italic";e["MS-PMincho"]="MS PMincho";e["MS-PMincho-Bold"]="MS PMincho-Bold";e["MS-PMincho-BoldItalic"]="MS PMincho-BoldItalic";e["MS-PMincho-Italic"]="MS PMincho-Italic";e.NuptialScript="Times-Italic";e.Wingdings="ZapfDingbats"}),o=(0,a.getLookupTableFactory)(function(e){e["Adobe Jenson"]=!0;e["Adobe Text"]=!0;e.Albertus=!0;e.Aldus=!0;e.Alexandria=!0;e.Algerian=!0;e["American Typewriter"]=!0;e.Antiqua=!0;e.Apex=!0;e.Arno=!0;e.Aster=!0;e.Aurora=!0;e.Baskerville=!0;e.Bell=!0;e.Bembo=!0;e["Bembo Schoolbook"]=!0;e.Benguiat=!0;e["Berkeley Old Style"]=!0;e["Bernhard Modern"]=!0;e["Berthold City"]=!0;e.Bodoni=!0;e["Bauer Bodoni"]=!0;e["Book Antiqua"]=!0;e.Bookman=!0;e["Bordeaux Roman"]=!0;e["Californian FB"]=!0;e.Calisto=!0;e.Calvert=!0;e.Capitals=!0;e.Cambria=!0;e.Cartier=!0;e.Caslon=!0;e.Catull=!0;e.Centaur=!0;e["Century Old Style"]=!0;e["Century Schoolbook"]=!0;e.Chaparral=!0;e["Charis SIL"]=!0;e.Cheltenham=!0;e["Cholla Slab"]=!0;e.Clarendon=!0;e.Clearface=!0;e.Cochin=!0;e.Colonna=!0;e["Computer Modern"]=!0;e["Concrete Roman"]=!0;e.Constantia=!0;e["Cooper Black"]=!0;e.Corona=!0;e.Ecotype=!0;e.Egyptienne=!0;e.Elephant=!0;e.Excelsior=!0;e.Fairfield=!0;e["FF Scala"]=!0;e.Folkard=!0;e.Footlight=!0;e.FreeSerif=!0;e["Friz Quadrata"]=!0;e.Garamond=!0;e.Gentium=!0;e.Georgia=!0;e.Gloucester=!0;e["Goudy Old Style"]=!0;e["Goudy Schoolbook"]=!0;e["Goudy Pro Font"]=!0;e.Granjon=!0;e["Guardian Egyptian"]=!0;e.Heather=!0;e.Hercules=!0;e["High Tower Text"]=!0;e.Hiroshige=!0;e["Hoefler Text"]=!0;e["Humana Serif"]=!0;e.Imprint=!0;e["Ionic No. 5"]=!0;e.Janson=!0;e.Joanna=!0;e.Korinna=!0;e.Lexicon=!0;e["Liberation Serif"]=!0;e["Linux Libertine"]=!0;e.Literaturnaya=!0;e.Lucida=!0;e["Lucida Bright"]=!0;e.Melior=!0;e.Memphis=!0;e.Miller=!0;e.Minion=!0;e.Modern=!0;e["Mona Lisa"]=!0;e["Mrs Eaves"]=!0;e["MS Serif"]=!0;e["Museo Slab"]=!0;e["New York"]=!0;e["Nimbus Roman"]=!0;e["NPS Rawlinson Roadway"]=!0;e.NuptialScript=!0;e.Palatino=!0;e.Perpetua=!0;e.Plantin=!0;e["Plantin Schoolbook"]=!0;e.Playbill=!0;e["Poor Richard"]=!0;e["Rawlinson Roadway"]=!0;e.Renault=!0;e.Requiem=!0;e.Rockwell=!0;e.Roman=!0;e["Rotis Serif"]=!0;e.Sabon=!0;e.Scala=!0;e.Seagull=!0;e.Sistina=!0;e.Souvenir=!0;e.STIX=!0;e["Stone Informal"]=!0;e["Stone Serif"]=!0;e.Sylfaen=!0;e.Times=!0;e.Trajan=!0;e["Trinité"]=!0;e["Trump Mediaeval"]=!0;e.Utopia=!0;e["Vale Type"]=!0;e["Bitstream Vera"]=!0;e["Vera Serif"]=!0;e.Versailles=!0;e.Wanted=!0;e.Weiss=!0;e["Wide Latin"]=!0;e.Windsor=!0;e.XITS=!0}),s=(0,a.getLookupTableFactory)(function(e){e
}else e.send("test","main",!1)}});e.on("configure",function(e){(0,i.setVerbosityLevel)(e.verbosity)});e.on("GetDocRequest",function(e){return l.createDocumentHandler(e,t)})},createDocumentHandler:function(e,t){function r(){if(m)throw new Error("Worker was terminated")}function l(e){b.push(e)}function u(e){e.finish();var t=b.indexOf(e);b.splice(t,1)}function h(e){var t=(0,i.createPromiseCapability)(),r=function(){var e=g.ensureDoc("numPages"),r=g.ensureDoc("fingerprint"),i=g.ensureXRef("encrypt");Promise.all([e,r,i]).then(function(e){var r={numPages:e[0],fingerprint:e[1],encrypted:!!e[2]};t.resolve(r)},a)},a=function(e){t.reject(e)};g.ensureDoc("checkHeader",[]).then(function(){g.ensureDoc("parseStartXRef",[]).then(function(){g.ensureDoc("parse",[e]).then(r,a)},a)},a);return t.promise}function f(e,t){var a,o=(0,i.createPromiseCapability)(),s=e.source;if(s.data){try{a=new n.LocalPdfManager(v,s.data,s.password,t,y);o.resolve(a)}catch(e){o.reject(e)}return o.promise}var l,u=[];try{l=new c(k)}catch(e){o.reject(e);return o.promise}var h=l.getFullReader();h.headersReady.then(function(){if(h.isRangeSupported){var e=s.disableAutoFetch||h.isStreamingSupported;a=new n.NetworkPdfManager(v,l,{msgHandler:k,url:s.url,password:s.password,length:h.contentLength,disableAutoFetch:e,rangeChunkSize:s.rangeChunkSize},t,y);for(var r=0;r<u.length;r++)a.sendProgressiveData(u[r]);u=[];o.resolve(a);p=null}}).catch(function(e){o.reject(e);p=null});var f=0,d=function(){var e=(0,i.arraysToBytes)(u);s.length&&e.length!==s.length&&(0,i.warn)("reported HTTP length is different from actual");try{a=new n.LocalPdfManager(v,e,s.password,t,y);o.resolve(a)}catch(e){o.reject(e)}u=[]};new Promise(function(e,t){var n=function e(n){try{r();if(n.done){a||d();p=null;return}var o=n.value;f+=(0,i.arrayByteLength)(o);h.isStreamingSupported||k.send("DocProgress",{loaded:f,total:Math.max(f,h.contentLength||0)});a?a.sendProgressiveData(o):u.push(o);h.read().then(e,t)}catch(e){t(e)}};h.read().then(n,t)}).catch(function(e){o.reject(e);p=null});p=function(){l.cancelAllRequests("abort")};return o.promise}function d(e){function t(e){r();k.send("GetDoc",{pdfInfo:e})}function a(e){r();if(e instanceof i.PasswordException){var t=new s("PasswordException: response "+e.code);l(t);k.sendWithPromise("PasswordRequest",e).then(function(e){u(t);g.updatePassword(e.password);n()}).catch(function(e){u(t);k.send("PasswordException",e)}.bind(null,e))}else e instanceof i.InvalidPDFException?k.send("InvalidPDF",e):e instanceof i.MissingPDFException?k.send("MissingPDF",e):e instanceof i.UnexpectedResponseException?k.send("UnexpectedResponse",e):k.send("UnknownError",new i.UnknownErrorException(e.message,e.toString()))}function n(){r();h(!1).then(t,function(e){r();if(e instanceof i.XRefParseException){g.requestLoadedStream();g.onLoadedStream().then(function(){r();h(!0).then(t,a)})}else a(e)},a)}r();f(e,{forceDataSchema:e.disableCreateObjectURL,maxImageSize:void 0===e.maxImageSize?-1:e.maxImageSize,disableFontFace:e.disableFontFace,nativeImageDecoderSupport:e.nativeImageDecoderSupport,ignoreErrors:e.ignoreErrors}).then(function(e){if(m){e.terminate();throw new Error("Worker was terminated")}g=e;k.send("PDFManagerReady",null);g.onLoadedStream().then(function(e){k.send("DataLoaded",{length:e.bytes.byteLength})})}).then(n,a)}var g,m=!1,p=null,b=[],v=e.docId,y=e.docBaseUrl,w=e.docId+"_worker",k=new i.MessageHandler(w,v,t);k.postMessageTransfers=e.postMessageTransfers;k.on("GetPage",function(e){return g.getPage(e.pageIndex).then(function(e){var t=g.ensure(e,"rotate"),r=g.ensure(e,"ref"),a=g.ensure(e,"userUnit"),i=g.ensure(e,"view");return Promise.all([t,r,a,i]).then(function(e){return{rotate:e[0],ref:e[1],userUnit:e[2],view:e[3]}})})});k.on("GetPageIndex",function(e){var t=new o.Ref(e.ref.num,e.ref.gen);return g.pdfDocument.catalog.getPageIndex(t)});k.on("GetDestinations",function(e){return g.ensureCatalog("destinations")});k.on("GetDestination",function(e){return g.ensureCatalog("getDestination",[e.id])});k.on("GetPageLabels",function(e){return g.ensureCatalog("pageLabels")});k.on("GetPageMode",func
;Ne("readable"===t._state);return t._readableStreamController.__pullSteps()}function E(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingSource")}function F(e){if(!1!==R(e))if(!0!==e._pulling){Ne(!1===e._pullAgain);e._pulling=!0;var t=Oe(e._underlyingSource,"pull",[e]);t.then(function(){e._pulling=!1;if(!0===e._pullAgain){e._pullAgain=!1;return F(e)}},function(t){L(e,t)}).catch(Ue)}else e._pullAgain=!0}function R(e){var t=e._controlledReadableStream;return"closed"!==t._state&&"errored"!==t._state&&(!0!==e._closeRequested&&(!1!==e._started&&(!0===c(t)&&k(t)>0||N(e)>0)))}function B(e){var t=e._controlledReadableStream;Ne(!1===e._closeRequested);Ne("readable"===t._state);e._closeRequested=!0;0===e._queue.length&&p(t)}function M(e,t){var r=e._controlledReadableStream;Ne(!1===e._closeRequested);Ne("readable"===r._state);if(!0===c(r)&&k(r)>0)y(r,t,!1);else{var a=1;if(void 0!==e._strategySize){var i=e._strategySize;try{a=i(t)}catch(t){L(e,t);throw t}}try{ze(e,t,a)}catch(t){L(e,t);throw t}}F(e)}function D(e,t){var r=e._controlledReadableStream;Ne("readable"===r._state);He(e);b(r,t)}function L(e,t){"readable"===e._controlledReadableStream._state&&D(e,t)}function N(e){var t=e._controlledReadableStream,r=t._state;return"errored"===r?null:"closed"===r?0:e._strategyHWM-e._queueTotalSize}function U(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_underlyingByteSource")}function j(e){return!!De(e)&&!!Object.prototype.hasOwnProperty.call(e,"_associatedReadableByteStreamController")}function q(e){if(!1!==re(e))if(!0!==e._pulling){Ne(!1===e._pullAgain);e._pulling=!0;var t=Oe(e._underlyingByteSource,"pull",[e]);t.then(function(){e._pulling=!1;if(!0===e._pullAgain){e._pullAgain=!1;q(e)}},function(t){"readable"===e._controlledReadableStream._state&&ne(e,t)}).catch(Ue)}else e._pullAgain=!0}function z(e){K(e);e._pendingPullIntos=[]}function H(e,t){Ne("errored"!==e._state,"state must not be errored");var r=!1;if("closed"===e._state){Ne(0===t.bytesFilled);r=!0}var a=G(t);if("default"===t.readerType)y(e,a,r);else{Ne("byob"===t.readerType);v(e,a,r)}}function G(e){var t=e.bytesFilled,r=e.elementSize;Ne(t<=e.byteLength);Ne(t%r==0);return new e.ctor(e.buffer,e.byteOffset,t/r)}function W(e,t,r,a){e._queue.push({buffer:t,byteOffset:r,byteLength:a});e._queueTotalSize+=a}function X(e,t){var r=t.elementSize,a=t.bytesFilled-t.bytesFilled%r,i=Math.min(e._queueTotalSize,t.byteLength-t.bytesFilled),n=t.bytesFilled+i,o=n-n%r,s=i,c=!1;if(o>a){s=o-t.bytesFilled;c=!0}for(var l=e._queue;s>0;){var u=l[0],h=Math.min(s,u.byteLength),f=t.byteOffset+t.bytesFilled;Ae(t.buffer,f,u.buffer,u.byteOffset,h);if(u.byteLength===h)l.shift();else{u.byteOffset+=h;u.byteLength-=h}e._queueTotalSize-=h;V(e,h,t);s-=h}if(!1===c){Ne(0===e._queueTotalSize,"queue must be empty");Ne(t.bytesFilled>0);Ne(t.bytesFilled<t.elementSize)}return c}function V(e,t,r){Ne(0===e._pendingPullIntos.length||e._pendingPullIntos[0]===r);K(e);r.bytesFilled+=t}function Y(e){Ne("readable"===e._controlledReadableStream._state);0===e._queueTotalSize&&!0===e._closeRequested?p(e._controlledReadableStream):q(e)}function K(e){if(void 0!==e._byobRequest){e._byobRequest._associatedReadableByteStreamController=void 0;e._byobRequest._view=void 0;e._byobRequest=void 0}}function J(e){Ne(!1===e._closeRequested);for(;e._pendingPullIntos.length>0;){if(0===e._queueTotalSize)return;var t=e._pendingPullIntos[0];if(!0===X(e,t)){te(e);H(e._controlledReadableStream,t)}}}function Z(e,t){var r=e._controlledReadableStream,a=1;t.constructor!==DataView&&(a=t.constructor.BYTES_PER_ELEMENT);var i=t.constructor,n={buffer:t.buffer,byteOffset:t.byteOffset,byteLength:t.byteLength,bytesFilled:0,elementSize:a,ctor:i,readerType:"byob"};if(e._pendingPullIntos.length>0){n.buffer=Te(n.buffer);e._pendingPullIntos.push(n);return d(r)}if("closed"===r._state){var o=new t.constructor(n.buffer,n.byteOffset,0);return Promise.resolve(Pe(o,!0))}if(e._queueTotalSize>0){if(!0===X(e,n)){var s=G(n);Y(e);return Promise.resolve(Pe(s,!1))}if(!0===e._closeRequested){var c=new TypeError("Insufficient bytes to fill elements in the g
var n=[7][a]();n.return=function(){i=!0};Array.from(n,function(){throw 2})}catch(e){}e.exports=function(e,t){if(!t&&!i)return!1;var r=!1;try{var n=[7],o=n[a]();o.next=function(){return{done:r=!0}};n[a]=function(){return o};e(n)}catch(e){}return r}},function(e,t,r){"use strict";e.exports=function(e,t){return{value:t,done:!!e}}},function(e,t,r){"use strict";var a=r(9),i=r(17),n=r(78);e.exports=r(5)?Object.defineProperties:function(e,t){i(e);for(var r,o=n(t),s=o.length,c=0;s>c;)a.f(e,r=o[c++],t[r]);return e}},function(e,t,r){"use strict";var a=r(79),i=r(20),n=r(22),o=r(31),s=r(7),c=r(42),l=Object.getOwnPropertyDescriptor;t.f=r(5)?l:function(e,t){e=n(e);t=o(t,!0);if(c)try{return l(e,t)}catch(e){}if(s(e,t))return i(!a.f.call(e,t),e[t])}},function(e,t,r){"use strict";var a=r(47),i=r(26);e.exports=Object.keys||function(e){return a(e,i)}},function(e,t,r){"use strict";t.f={}.propertyIsEnumerable},function(e,t,r){"use strict";var a=r(4),i=r(9),n=r(5),o=r(2)("species");e.exports=function(e){var t=a[e];n&&t&&!t[o]&&i.f(t,o,{configurable:!0,get:function(){return this}})}},function(e,t,r){"use strict";var a=r(17),i=r(34),n=r(2)("species");e.exports=function(e,t){var r,o=a(e).constructor;return void 0===o||void 0==(r=a(o)[n])?t:i(r)}},function(e,t,r){"use strict";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};if(r(5)){var i=r(27),n=r(4),o=r(19),s=r(41),c=r(51),l=r(83),u=r(25),h=r(35),f=r(20),d=r(6),g=r(48),m=r(12),p=r(8),b=r(50),v=r(21),y=r(31),w=r(7),k=r(38),S=r(10),C=r(13),x=r(70),A=r(44),P=r(46),I=r(45).f,_=r(84),O=r(14),T=r(2),E=r(66),F=r(37),R=r(81),B=r(85),M=r(11),D=r(74),L=r(80),N=r(36),U=r(65),j=r(9),q=r(77),z=j.f,H=q.f,G=n.RangeError,W=n.TypeError,X=n.Uint8Array,V=Array.prototype,Y=l.ArrayBuffer,K=l.DataView,J=E(0),Z=E(2),Q=E(3),$=E(4),ee=E(5),te=E(6),re=F(!0),ae=F(!1),ie=B.values,ne=B.keys,oe=B.entries,se=V.lastIndexOf,ce=V.reduce,le=V.reduceRight,ue=V.join,he=V.sort,fe=V.slice,de=V.toString,ge=V.toLocaleString,me=T("iterator"),pe=T("toStringTag"),be=O("typed_constructor"),ve=O("def_constructor"),ye=c.CONSTR,we=c.TYPED,ke=c.VIEW,Se=E(1,function(e,t){return Ie(R(e,e[ve]),t)}),Ce=o(function(){return 1===new X(new Uint16Array([1]).buffer)[0]}),xe=!!X&&!!X.prototype.set&&o(function(){new X(1).set({})}),Ae=function(e,t){var r=m(e);if(r<0||r%t)throw G("Wrong offset!");return r},Pe=function(e){if(S(e)&&we in e)return e;throw W(e+" is not a typed array!")},Ie=function(e,t){if(!(S(e)&&be in e))throw W("It is not a typed array constructor!");return new e(t)},_e=function(e,t){return Oe(R(e,e[ve]),t)},Oe=function(e,t){for(var r=0,a=t.length,i=Ie(e,a);a>r;)i[r]=t[r++];return i},Te=function(e,t,r){z(e,t,{get:function(){return this._d[r]}})},Ee=function(e){var t,r,a,i,n,o,s=C(e),c=arguments.length,l=c>1?arguments[1]:void 0,h=void 0!==l,f=_(s);if(void 0!=f&&!x(f)){for(o=f.call(s),a=[],t=0;!(n=o.next()).done;t++)a.push(n.value);s=a}h&&c>2&&(l=u(l,arguments[2],2));for(t=0,r=p(s.length),i=Ie(this,r);r>t;t++)i[t]=h?l(s[t],t):s[t];return i},Fe=function(){for(var e=0,t=arguments.length,r=Ie(this,t);t>e;)r[e]=arguments[e++];return r},Re=!!X&&o(function(){ge.call(new X(1))}),Be=function(){return ge.apply(Re?fe.call(Pe(this)):Pe(this),arguments)},Me={copyWithin:function(e,t){return U.call(Pe(this),e,t,arguments.length>2?arguments[2]:void 0)},every:function(e){return $(Pe(this),e,arguments.length>1?arguments[1]:void 0)},fill:function(e){return N.apply(Pe(this),arguments)},filter:function(e){return _e(this,Z(Pe(this),e,arguments.length>1?arguments[1]:void 0))},find:function(e){return ee(Pe(this),e,arguments.length>1?arguments[1]:void 0)},findIndex:function(e){return te(Pe(this),e,arguments.length>1?arguments[1]:void 0)},forEach:function(e){J(Pe(this),e,arguments.length>1?arguments[1]:void 0)},indexOf:function(e){return ae(Pe(this),e,arguments.length>1?arguments[1]:void 0)},includes:function(e){return re(Pe(this),e,arguments.length>1?arguments[1]:void 0)},join:function(e){return ue.apply(Pe(thi
;var a=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron"],i=[".notdef","space","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","fi","fl","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ograves
;y=v+l.shift();h=b;d=y+l.shift();s(p,v,b,y,h,d)}break;case 27:l.length%2&&(d+=l.shift());for(;l.length>0;){p=h+l.shift();v=d;b=p+l.shift();y=v+l.shift();h=b+l.shift();d=y;s(p,v,b,y,h,d)}break;case 28:l.push((e[m]<<24|e[m+1]<<16)>>16);m+=2;break;case 29:C=l.pop()+r.gsubrsBias;x=r.gsubrs[C];x&&c(x);break;case 30:for(;l.length>0;){p=h;v=d+l.shift();b=p+l.shift();y=v+l.shift();h=b+l.shift();d=y+(1===l.length?l.shift():0);s(p,v,b,y,h,d);if(0===l.length)break;p=h+l.shift();v=d;b=p+l.shift();y=v+l.shift();d=y+l.shift();h=b+(1===l.length?l.shift():0);s(p,v,b,y,h,d)}break;case 31:for(;l.length>0;){p=h+l.shift();v=d;b=p+l.shift();y=v+l.shift();d=y+l.shift();h=b+(1===l.length?l.shift():0);s(p,v,b,y,h,d);if(0===l.length)break;p=h;v=d+l.shift();b=p+l.shift();y=v+l.shift();h=b+l.shift();d=y+(1===l.length?l.shift():0);s(p,v,b,y,h,d)}break;default:if(P<32)throw new a.FormatError("unknown operator: "+P);if(P<247)l.push(P-139);else if(P<251)l.push(256*(P-247)+e[m++]+108);else if(P<255)l.push(256*-(P-251)-e[m++]-108);else{l.push((e[m]<<24|e[m+1]<<16|e[m+2]<<8|e[m+3])/65536);m+=4}}A&&(l.length=0)}}var l=[],h=0,d=0,g=0;c(e)}function d(e){this.compiledGlyphs=Object.create(null);this.compiledCharCodeToGlyphId=Object.create(null);this.fontMatrix=e}function g(e,t,r){r=r||[488e-6,0,0,488e-6,0,0];d.call(this,r);this.glyphs=e;this.cmap=t}function m(e,t,r,a){r=r||[.001,0,0,.001,0,0];d.call(this,r);this.glyphs=e.glyphs;this.gsubrs=e.gsubrs||[];this.subrs=e.subrs||[];this.cmap=t;this.glyphNameMap=a||(0,n.getGlyphsUnicode)();this.gsubrsBias=this.gsubrs.length<1240?107:this.gsubrs.length<33900?1131:32768;this.subrsBias=this.subrs.length<1240?107:this.subrs.length<33900?1131:32768}d.prototype={getPathJs:function(e){var t=u(this.cmap,e),r=this.compiledGlyphs[t.glyphId];if(!r){r=this.compileGlyph(this.glyphs[t.glyphId]);this.compiledGlyphs[t.glyphId]=r}void 0===this.compiledCharCodeToGlyphId[t.charCode]&&(this.compiledCharCodeToGlyphId[t.charCode]=t.glyphId);return r},compileGlyph:function(e){if(!e||0===e.length||14===e[0])return"";var t=[];t.push({cmd:"save"});t.push({cmd:"transform",args:this.fontMatrix.slice()});t.push({cmd:"scale",args:["size","-size"]});this.compileGlyphImpl(e,t);t.push({cmd:"restore"});return t},compileGlyphImpl:function(){throw new Error("Children classes should implement this.")},hasBuiltPath:function(e){var t=u(this.cmap,e);return void 0!==this.compiledGlyphs[t.glyphId]&&void 0!==this.compiledCharCodeToGlyphId[t.charCode]}};a.Util.inherit(g,d,{compileGlyphImpl:function(e,t){h(e,t,this)}});a.Util.inherit(m,d,{compileGlyphImpl:function(e,t){f(e,t,this)}});return{create:function(i,n){for(var o,s,u,h,f,d,p=new Uint8Array(i.data),b=t(p,4),v=0,y=12;v<b;v++,y+=16){var w=(0,a.bytesToString)(p.subarray(y,y+4)),k=e(p,y+8),S=e(p,y+12);switch(w){case"cmap":o=r(p,k,k+S);break;case"glyf":s=p.subarray(k,k+S);break;case"loca":u=p.subarray(k,k+S);break;case"head":d=t(p,k+18);f=t(p,k+50);break;case"CFF ":h=c(p,k,k+S,n)}}if(s){var C=d?[1/d,0,0,1/d,0,0]:i.fontMatrix;return new g(l(s,u,f),o,C)}return new m(h,o,i.fontMatrix,i.glyphNameMap)}}}();t.FontRendererFactory=c},function(e,t,r){"use strict";function a(e){if(e.fontMatrix&&e.fontMatrix[0]!==c.FONT_IDENTITY_MATRIX[0]){var t=.001/e.fontMatrix[0],r=e.widths;for(var a in r)r[a]*=t;e.defaultWidth*=t}}function i(e,t){if(!e.hasIncludedToUnicodeMap&&!(e.hasEncoding||t===e.defaultEncoding||e.toUnicode instanceof P)){var r=[],a=(0,u.getGlyphsUnicode)();for(var i in t){var n=t[i],o=(0,d.getUnicodeForGlyph)(n,a);-1!==o&&(r[i]=String.fromCharCode(o))}e.toUnicode.amend(r)}}function n(e,t){switch(e){case"Type1":return"Type1C"===t?c.FontType.TYPE1C:c.FontType.TYPE1;case"CIDFontType0":return"CIDFontType0C"===t?c.FontType.CIDFONTTYPE0C:c.FontType.CIDFONTTYPE0;case"OpenType":return c.FontType.OPENTYPE;case"TrueType":return c.FontType.TRUETYPE;case"CIDFontType2":return c.FontType.CIDFONTTYPE2;case"MMType1":return c.FontType.MMTYPE1;case"Type0":return c.FontType.TYPE0;default:return c.FontType.UNKNOWN}}function o(e,t){if(void 0!==t[e])return e;var r=(0,d.getUnicodeForGlyph)(e,t);if(-1!==r)for(var a in t)if(t[a]===r)r
return r}(P.name);P.name.data=H(e,ue)}else P.name={tag:"name",data:H(this.name)};var he=new I(x.version);for(var fe in P)he.addTable(fe,P[fe].data);return he.toArray()},convert:function(e,t,r){function a(e,t){for(var r in e)if(t===e[r])return 0|r;o.charCodeToGlyphId[o.nextAvailableFontCharCode]=t;return o.nextAvailableFontCharCode++}r.fixedPitch=!1;r.builtInEncoding&&i(r,r.builtInEncoding);var n=t.getGlyphMapping(r),o=L(n,r,Object.create(null));this.toFontChar=o.toFontChar;var s=t.numGlyphs,l=t.seacs;if(k&&l&&l.length){var u=r.fontMatrix||c.FONT_IDENTITY_MATRIX,f=t.getCharset(),d=Object.create(null);for(var g in l){g|=0;var m=l[g],b=h.StandardEncoding[m[2]],v=h.StandardEncoding[m[3]],y=f.indexOf(b),w=f.indexOf(v);if(!(y<0||w<0)){var S={x:m[0]*u[0]+m[1]*u[2]+u[4],y:m[0]*u[1]+m[1]*u[3]+u[5]},C=function(e,t){var r=null;for(var a in e)if(t===e[a]){r||(r=[]);r.push(0|a)}return r}(n,g);if(C)for(var x=0,A=C.length;x<A;x++){var P=C[x],_=o.charCodeToGlyphId,T=a(_,y),E=a(_,w);d[P]={baseFontCharCode:T,accentFontCharCode:E,accentOffset:S}}}}r.seacMap=d}var F=1/(r.fontMatrix||c.FONT_IDENTITY_MATRIX)[0],R=new I("OTTO");R.addTable("CFF ",t.data);R.addTable("OS/2",q(r,o.charCodeToGlyphId));R.addTable("cmap",U(o.charCodeToGlyphId,s));R.addTable("head","\0\0\0\0\0\0\0\0\0\0_<õ\0\0"+O(F)+"\0\0\0\0ž\v~'\0\0\0\0ž\v~'\0\0"+O(r.descent)+"ÿ"+O(r.ascent)+p(r.italicAngle?2:0)+"\0\0\0\0\0\0\0");R.addTable("hhea","\0\0\0"+O(r.ascent)+O(r.descent)+"\0\0ÿÿ\0\0\0\0\0\0"+O(r.capHeight)+O(Math.tan(r.italicAngle)*r.xHeight)+"\0\0\0\0\0\0\0\0\0\0\0\0"+p(s));R.addTable("hmtx",function(){for(var e=t.charstrings,r=t.cff?t.cff.widths:null,a="\0\0\0\0",i=1,n=s;i<n;i++){var o=0;if(e){var c=e[i-1];o="width"in c?c.width:0}else r&&(o=Math.ceil(r[i]||0));a+=p(o)+p(0)}return a}());R.addTable("maxp","\0\0P\0"+p(s));R.addTable("name",H(e));R.addTable("post",z(r));return R.toArray()},get spaceWidth(){if("_shadowWidth"in this)return this._shadowWidth;for(var e,t=["space","minus","one","i","I"],r=0,a=t.length;r<a;r++){var i=t[r];if(i in this.widths){e=this.widths[i];break}var n=(0,u.getGlyphsUnicode)(),o=n[i],s=0;this.composite&&this.cMap.contains(o)&&(s=this.cMap.lookup(o));!s&&this.toUnicode&&(s=this.toUnicode.charCodeOf(o));s<=0&&(s=o);e=this.widths[s];if(e)break}e=e||this.defaultWidth;this._shadowWidth=e;return e},charToGlyph:function(e,t){var r,a,i,n=e;this.cMap&&this.cMap.contains(e)&&(n=this.cMap.lookup(e));a=this.widths[n];a=(0,c.isNum)(a)?a:this.defaultWidth;var o=this.vmetrics&&this.vmetrics[n],s=this.toUnicode.get(e)||e;"number"==typeof s&&(s=String.fromCharCode(s));var l=e in this.toFontChar;r=this.toFontChar[e]||e;this.missingFile&&(r=(0,d.mapSpecialUnicodeValues)(r));this.isType3Font&&(i=r);var u=null;if(this.seacMap&&this.seacMap[e]){l=!0;var h=this.seacMap[e];r=h.baseFontCharCode;u={fontChar:String.fromCharCode(h.accentFontCharCode),offset:h.accentOffset}}var f=String.fromCharCode(r),g=this.glyphCache[e];if(!g||!g.matchesForCache(f,s,u,a,o,i,t,l)){g=new x(f,s,u,a,o,i,t,l);this.glyphCache[e]=g}return g},charsToGlyphs:function(e){var t,r,a,i=this.charsCache;if(i){t=i[e];if(t)return t}i||(i=this.charsCache=Object.create(null));t=[];var n,o=e,s=0;if(this.cMap)for(var c=Object.create(null);s<e.length;){this.cMap.readCharCode(e,s,c);a=c.charcode;var l=c.length;s+=l;var u=1===l&&32===e.charCodeAt(s-1);r=this.charToGlyph(a,u);t.push(r)}else for(s=0,n=e.length;s<n;++s){a=e.charCodeAt(s);r=this.charToGlyph(a,32===a);t.push(r)}return i[o]=t}};return e}(),T=function(){function e(e){this.error=e;this.loadedName="g_font_error";this.loading=!1}e.prototype={charsToGlyphs:function(){return[]},exportData:function(){return{error:this.error}}};return e}(),E=function(){function e(e,t,r){for(var a,i=e.length,n=t.length,o=i-n,s=r,l=!1;s<o;){a=0;for(;a<n&&e[s+a]===t[a];)a++;if(a>=n){s+=a;for(;s<i&&(0,c.isSpace)(e[s]);)s++;l=!0;break}s++}return{found:l,length:s}}function t(t,r){var a,i,n,o=[101,101,120,101,99],s=t.pos;try{a=t.getBytes(r);i=a.length}catch(e){if(e instanceof c.MissingDataException)throw e}if(i===r){n=e(a,o,r-2*o.length);if(n.found&&n.length===r)return{
;w*=O[E];if(0!=(k|S|C|x|A|P|I)){k*=O[E+1];S*=O[E+2];C*=O[E+3];x*=O[E+4];A*=O[E+5];P*=O[E+6];I*=O[E+7];a=b*w+128>>8;i=b*x+128>>8;o=S;s=P;c=v*(k-I)+128>>8;y=v*(k+I)+128>>8;l=C<<4;u=A<<4;a=a+i+1>>1;i=a-i;_=o*p+s*m+128>>8;o=o*m-s*p+128>>8;s=_;c=c+u+1>>1;u=c-u;y=y+l+1>>1;l=y-l;a=a+s+1>>1;s=a-s;i=i+o+1>>1;o=i-o;_=c*g+y*d+2048>>12;c=c*d-y*g+2048>>12;y=_;_=l*f+u*h+2048>>12;l=l*h-u*f+2048>>12;u=_;r[E]=a+y;r[E+7]=a-y;r[E+1]=i+u;r[E+6]=i-u;r[E+2]=o+l;r[E+5]=o-l;r[E+3]=s+c;r[E+4]=s-c}else{_=b*w+512>>10;r[E]=_;r[E+1]=_;r[E+2]=_;r[E+3]=_;r[E+4]=_;r[E+5]=_;r[E+6]=_;r[E+7]=_}}for(var F=0;F<8;++F){w=r[F];k=r[F+8];S=r[F+16];C=r[F+24];x=r[F+32];A=r[F+40];P=r[F+48];I=r[F+56];if(0!=(k|S|C|x|A|P|I)){a=b*w+2048>>12;i=b*x+2048>>12;o=S;s=P;c=v*(k-I)+2048>>12;y=v*(k+I)+2048>>12;l=C;u=A;a=4112+(a+i+1>>1);i=a-i;_=o*p+s*m+2048>>12;o=o*m-s*p+2048>>12;s=_;c=c+u+1>>1;u=c-u;y=y+l+1>>1;l=y-l;a=a+s+1>>1;s=a-s;i=i+o+1>>1;o=i-o;_=c*g+y*d+2048>>12;c=c*d-y*g+2048>>12;y=_;_=l*f+u*h+2048>>12;l=l*h-u*f+2048>>12;u=_;w=a+y;I=a-y;k=i+u;P=i-u;S=o+l;A=o-l;C=s+c;x=s-c;w=w<16?0:w>=4080?255:w>>4;k=k<16?0:k>=4080?255:k>>4;S=S<16?0:S>=4080?255:S>>4;C=C<16?0:C>=4080?255:C>>4;x=x<16?0:x>=4080?255:x>>4;A=A<16?0:A>=4080?255:A>>4;P=P<16?0:P>=4080?255:P>>4;I=I<16?0:I>=4080?255:I>>4;T[t+F]=w;T[t+F+8]=k;T[t+F+16]=S;T[t+F+24]=C;T[t+F+32]=x;T[t+F+40]=A;T[t+F+48]=P;T[t+F+56]=I}else{_=b*w+8192>>14;_=_<-2040?0:_>=2024?255:_+2056>>4;T[t+F]=_;T[t+F+8]=_;T[t+F+16]=_;T[t+F+24]=_;T[t+F+32]=_;T[t+F+40]=_;T[t+F+48]=_;T[t+F+56]=_}}}function c(e,t){for(var a=t.blocksPerLine,i=t.blocksPerColumn,n=new Int16Array(64),o=0;o<i;o++)for(var c=0;c<a;c++){var l=r(t,o,c);s(t,l,n)}return t.blockData}function l(e,t,r){function a(t){return e[t]<<8|e[t+1]}var i=e.length-1,n=r<t?r:t;if(t>=i)return null;var o=a(t);if(o>=65472&&o<=65534)return{invalid:null,marker:o,offset:t};for(var s=a(n);!(s>=65472&&s<=65534);){if(++n>=i)return null;s=a(n)}return{invalid:o.toString(16),marker:s,offset:n}}var u=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),h=4017,f=799,d=3406,g=2276,m=1567,p=3784,b=5793,v=2896;e.prototype={parse:function(e){function r(){var t=e[h]<<8|e[h+1];h+=2;return t}var a,s,h=0,f=null,d=null,g=[],m=[],p=[],b=r();if(65496!==b)throw new n("SOI not found");b=r();for(;65497!==b;){var v,y,w;switch(b){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var k=function(){var t=r(),a=h+t-2,n=l(e,a,h);if(n&&n.invalid){(0,i.warn)("readDataBlock - incorrect length, next marker is: "+n.invalid);a=n.offset}var o=e.subarray(h,a);h+=o.length;return o}();65504===b&&74===k[0]&&70===k[1]&&73===k[2]&&70===k[3]&&0===k[4]&&(f={version:{major:k[5],minor:k[6]},densityUnits:k[7],xDensity:k[8]<<8|k[9],yDensity:k[10]<<8|k[11],thumbWidth:k[12],thumbHeight:k[13],thumbData:k.subarray(14,14+3*k[12]*k[13])});65518===b&&65===k[0]&&100===k[1]&&111===k[2]&&98===k[3]&&101===k[4]&&(d={version:k[5]<<8|k[6],flags0:k[7]<<8|k[8],flags1:k[9]<<8|k[10],transformCode:k[11]});break;case 65499:for(var S,C=r(),x=C+h-2;h<x;){var A=e[h++],P=new Uint16Array(64);if(A>>4==0)for(y=0;y<64;y++){S=u[y];P[S]=e[h++]}else{if(A>>4!=1)throw new n("DQT - invalid table spec");for(y=0;y<64;y++){S=u[y];P[S]=r()}}g[15&A]=P}break;case 65472:case 65473:case 65474:if(a)throw new n("Only single frame JPEGs supported");r();a={};a.extended=65473===b;a.progressive=65474===b;a.precision=e[h++];a.scanLines=r();a.samplesPerLine=r();a.components=[];a.componentIds={};var I,_=e[h++],O=0,T=0;for(v=0;v<_;v++){I=e[h];var E=e[h+1]>>4,F=15&e[h+1];O<E&&(O=E);T<F&&(T=F);var R=e[h+2];w=a.components.push({h:E,v:F,quantizationId:R,quantizationTable:null});a.componentIds[I]=w-1;h+=3}a.maxH=O;a.maxV=T;!function(e){for(var t=Math.ceil(e.samplesPerLine/8/e.maxH),r=Math.ceil(e.scanLines/8/e.maxV),a=0;a<e.components.length;a++){U=e.components[a];var i=Math.ceil(Math.ceil(e.samplesPerLine/8)*U.h/e.maxH),n=Math.ceil
;e.Racute=667;e.Sacute=556;e.dcaron=588;e.Umacron=722;e.uring=500;e.threesuperior=300;e.Ograve=722;e.Agrave=722;e.Abreve=722;e.multiply=564;e.uacute=500;e.Tcaron=611;e.partialdiff=476;e.ydieresis=500;e.Nacute=722;e.icircumflex=278;e.Ecircumflex=611;e.adieresis=444;e.edieresis=444;e.cacute=444;e.nacute=500;e.umacron=500;e.Ncaron=722;e.Iacute=333;e.plusminus=564;e.brokenbar=200;e.registered=760;e.Gbreve=722;e.Idotaccent=333;e.summation=600;e.Egrave=611;e.racute=333;e.omacron=500;e.Zacute=611;e.Zcaron=611;e.greaterequal=549;e.Eth=722;e.Ccedilla=667;e.lcommaaccent=278;e.tcaron=326;e.eogonek=444;e.Uogonek=722;e.Aacute=722;e.Adieresis=722;e.egrave=444;e.zacute=444;e.iogonek=278;e.Oacute=722;e.oacute=500;e.amacron=444;e.sacute=389;e.idieresis=278;e.Ocircumflex=722;e.Ugrave=722;e.Delta=612;e.thorn=500;e.twosuperior=300;e.Odieresis=722;e.mu=500;e.igrave=278;e.ohungarumlaut=500;e.Eogonek=611;e.dcroat=500;e.threequarters=750;e.Scedilla=556;e.lcaron=344;e.Kcommaaccent=722;e.Lacute=611;e.trademark=980;e.edotaccent=444;e.Igrave=333;e.Imacron=333;e.Lcaron=611;e.onehalf=750;e.lessequal=549;e.ocircumflex=500;e.ntilde=500;e.Uhungarumlaut=722;e.Eacute=611;e.emacron=444;e.gbreve=500;e.onequarter=750;e.Scaron=556;e.Scommaaccent=556;e.Ohungarumlaut=722;e.degree=400;e.ograve=500;e.Ccaron=667;e.ugrave=500;e.radical=453;e.Dcaron=722;e.rcommaaccent=333;e.Ntilde=722;e.otilde=500;e.Rcommaaccent=667;e.Lcommaaccent=611;e.Atilde=722;e.Aogonek=722;e.Aring=722;e.Otilde=722;e.zdotaccent=444;e.Ecaron=611;e.Iogonek=333;e.kcommaaccent=500;e.minus=564;e.Icircumflex=333;e.ncaron=500;e.tcommaaccent=278;e.logicalnot=564;e.odieresis=500;e.udieresis=500;e.notequal=549;e.gcommaaccent=500;e.eth=500;e.zcaron=444;e.ncommaaccent=500;e.onesuperior=300;e.imacron=278;e.Euro=500});e["Times-Bold"]=(0,a.getLookupTableFactory)(function(e){e.space=250;e.exclam=333;e.quotedbl=555;e.numbersign=500;e.dollar=500;e.percent=1e3;e.ampersand=833;e.quoteright=333;e.parenleft=333;e.parenright=333;e.asterisk=500;e.plus=570;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=333;e.semicolon=333;e.less=570;e.equal=570;e.greater=570;e.question=500;e.at=930;e.A=722;e.B=667;e.C=722;e.D=722;e.E=667;e.F=611;e.G=778;e.H=778;e.I=389;e.J=500;e.K=778;e.L=667;e.M=944;e.N=722;e.O=778;e.P=611;e.Q=778;e.R=722;e.S=556;e.T=667;e.U=722;e.V=722;e.W=1e3;e.X=722;e.Y=722;e.Z=667;e.bracketleft=333;e.backslash=278;e.bracketright=333;e.asciicircum=581;e.underscore=500;e.quoteleft=333;e.a=500;e.b=556;e.c=444;e.d=556;e.e=444;e.f=333;e.g=500;e.h=556;e.i=278;e.j=333;e.k=556;e.l=278;e.m=833;e.n=556;e.o=500;e.p=556;e.q=556;e.r=444;e.s=389;e.t=333;e.u=556;e.v=500;e.w=722;e.x=500;e.y=500;e.z=444;e.braceleft=394;e.bar=220;e.braceright=394;e.asciitilde=520;e.exclamdown=333;e.cent=500;e.sterling=500;e.fraction=167;e.yen=500;e.florin=500;e.section=500;e.currency=500;e.quotesingle=278;e.quotedblleft=500;e.guillemotleft=500;e.guilsinglleft=333;e.guilsinglright=333;e.fi=556;e.fl=556;e.endash=500;e.dagger=500;e.daggerdbl=500;e.periodcentered=250;e.paragraph=540;e.bullet=350;e.quotesinglbase=333;e.quotedblbase=500;e.quotedblright=500;e.guillemotright=500;e.ellipsis=1e3;e.perthousand=1e3;e.questiondown=500;e.grave=333;e.acute=333;e.circumflex=333;e.tilde=333;e.macron=333;e.breve=333;e.dotaccent=333;e.dieresis=333;e.ring=333;e.cedilla=333;e.hungarumlaut=333;e.ogonek=333;e.caron=333;e.emdash=1e3;e.AE=1e3;e.ordfeminine=300;e.Lslash=667;e.Oslash=778;e.OE=1e3;e.ordmasculine=330;e.ae=722;e.dotlessi=278;e.lslash=278;e.oslash=500;e.oe=722;e.germandbls=556;e.Idieresis=389;e.eacute=444;e.abreve=500;e.uhungarumlaut=556;e.ecaron=444;e.Ydieresis=722;e.divide=570;e.Yacute=722;e.Acircumflex=722;e.aacute=500;e.Ucircumflex=722;e.yacute=500;e.scommaaccent=389;e.ecircumflex=444;e.Uring=722;e.Udieresis=722;e.aogonek=500;e.Uacute=722;e.uogonek=556;e.Edieresis=667;e.Dcroat=722;e.commaaccent=250;e.copyright=747;e.Emacron=667;e.ccaron=444;e.aring=500;e.Ncommaaccent=722;e.lacute=278;e.agrave=500;e.Tcommaaccent=667;e.Cacute=722;e.atilde=50
return this.pdfDocument.cleanup()},ensure:function(e,t,r){return new a.NotImplementedException},requestRange:function(e,t){return new a.NotImplementedException},requestLoadedStream:function(){return new a.NotImplementedException},sendProgressiveData:function(e){return new a.NotImplementedException},updatePassword:function(e){this._password=e},terminate:function(){return new a.NotImplementedException}};return e}(),c=function(){function e(e,t,r,i,s){this._docId=e;this._password=r;this._docBaseUrl=s;this.evaluatorOptions=i;var c=new o.Stream(t);this.pdfDocument=new n.PDFDocument(this,c);this._loadedStreamCapability=(0,a.createPromiseCapability)();this._loadedStreamCapability.resolve(c)}a.Util.inherit(e,s,{ensure:function(e,t,r){return new Promise(function(a,i){try{var n,o=e[t];n="function"==typeof o?o.apply(e,r):o;a(n)}catch(e){i(e)}})},requestRange:function(e,t){return Promise.resolve()},requestLoadedStream:function(){},onLoadedStream:function(){return this._loadedStreamCapability.promise},terminate:function(){}});return e}(),l=function(){function e(e,t,r,a,o){this._docId=e;this._password=r.password;this._docBaseUrl=o;this.msgHandler=r.msgHandler;this.evaluatorOptions=a;var s={msgHandler:r.msgHandler,url:r.url,length:r.length,disableAutoFetch:r.disableAutoFetch,rangeChunkSize:r.rangeChunkSize};this.streamManager=new i.ChunkedStreamManager(t,s);this.pdfDocument=new n.PDFDocument(this,this.streamManager.getStream())}a.Util.inherit(e,s,{ensure:function(e,t,r){var i=this;return new Promise(function(n,o){function s(){try{var c,l=e[t];c="function"==typeof l?l.apply(e,r):l;n(c)}catch(e){if(!(e instanceof a.MissingDataException)){o(e);return}i.streamManager.requestRange(e.begin,e.end).then(s,o)}}s()})},requestRange:function(e,t){return this.streamManager.requestRange(e,t)},requestLoadedStream:function(){this.streamManager.requestAllChunks()},sendProgressiveData:function(e){this.streamManager.onReceiveData({chunk:e})},onLoadedStream:function(){return this.streamManager.onLoadedStream()},terminate:function(){this.streamManager.abort()}});return e}();t.LocalPdfManager=c;t.NetworkPdfManager=l},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.PostScriptParser=t.PostScriptLexer=void 0;var a=r(0),i=r(1),n=function(){function e(e){this.lexer=e;this.operators=[];this.token=null;this.prev=null}e.prototype={nextToken:function(){this.prev=this.token;this.token=this.lexer.getToken()},accept:function(e){if(this.token.type===e){this.nextToken();return!0}return!1},expect:function(e){if(this.accept(e))return!0;throw new a.FormatError("Unexpected symbol: found "+this.token.type+" expected "+e+".")},parse:function(){this.nextToken();this.expect(o.LBRACE);this.parseBlock();this.expect(o.RBRACE);return this.operators},parseBlock:function(){for(;;)if(this.accept(o.NUMBER))this.operators.push(this.prev.value);else if(this.accept(o.OPERATOR))this.operators.push(this.prev.value);else{if(!this.accept(o.LBRACE))return;this.parseCondition()}},parseCondition:function(){var e=this.operators.length;this.operators.push(null,null);this.parseBlock();this.expect(o.RBRACE);if(this.accept(o.IF)){this.operators[e]=this.operators.length;this.operators[e+1]="jz"}else{if(!this.accept(o.LBRACE))throw new a.FormatError("PS Function: error parsing conditional.");var t=this.operators.length;this.operators.push(null,null);var r=this.operators.length;this.parseBlock();this.expect(o.RBRACE);this.expect(o.IFELSE);this.operators[t]=this.operators.length;this.operators[t+1]="j";this.operators[e]=r;this.operators[e+1]="jz"}}};return e}(),o={LBRACE:0,RBRACE:1,NUMBER:2,OPERATOR:3,IF:4,IFELSE:5},s=function(){function e(e,t){this.type=e;this.value=t}var t=Object.create(null);e.getOperator=function(r){var a=t[r];return a||(t[r]=new e(o.OPERATOR,r))};e.LBRACE=new e(o.LBRACE,"{");e.RBRACE=new e(o.RBRACE,"}");e.IF=new e(o.IF,"IF");e.IFELSE=new e(o.IFELSE,"IFELSE");return e}(),c=function(){function e(e){this.stream=e;this.nextChar();this.strBuf=[]}e.prototype={nextChar:function(){return this.currentChar=this.stream.getByte()},getToken:function(){for(var e=!1,
;this._fragment="";this._isInvalid=!1;this._isRelative=!1}function l(e,t){void 0===t||t instanceof l||(t=new l(String(t)));this._url=e;c.call(this);var r=e.replace(/^[ \t\r\n\f]+|[ \t\r\n\f]+$/g,"");s.call(this,r,null,t)}var u=!1;try{if("function"==typeof URL&&"object"===a(URL.prototype)&&"origin"in URL.prototype){var h=new URL("b","http://a");h.pathname="c%20d";u="http://a/c%20d"===h.href}}catch(e){}if(!u){var f=Object.create(null);f.ftp=21;f.file=0;f.gopher=70;f.http=80;f.https=443;f.ws=80;f.wss=443;var d=Object.create(null);d["%2e"]=".";d[".%2e"]="..";d["%2e."]="..";d["%2e%2e"]="..";var g,m=/[a-zA-Z]/,p=/[a-zA-Z0-9\+\-\.]/;l.prototype={toString:function(){return this.href},get href(){if(this._isInvalid)return this._url;var e="";""===this._username&&null===this._password||(e=this._username+(null!==this._password?":"+this._password:"")+"@");return this.protocol+(this._isRelative?"//"+e+this.host:"")+this.pathname+this._query+this._fragment},set href(e){c.call(this);s.call(this,e)},get protocol(){return this._scheme+":"},set protocol(e){this._isInvalid||s.call(this,e+":","scheme start")},get host(){return this._isInvalid?"":this._port?this._host+":"+this._port:this._host},set host(e){!this._isInvalid&&this._isRelative&&s.call(this,e,"host")},get hostname(){return this._host},set hostname(e){!this._isInvalid&&this._isRelative&&s.call(this,e,"hostname")},get port(){return this._port},set port(e){!this._isInvalid&&this._isRelative&&s.call(this,e,"port")},get pathname(){return this._isInvalid?"":this._isRelative?"/"+this._path.join("/"):this._schemeData},set pathname(e){if(!this._isInvalid&&this._isRelative){this._path=[];s.call(this,e,"relative path start")}},get search(){return this._isInvalid||!this._query||"?"===this._query?"":this._query},set search(e){if(!this._isInvalid&&this._isRelative){this._query="?";"?"===e[0]&&(e=e.slice(1));s.call(this,e,"query")}},get hash(){return this._isInvalid||!this._fragment||"#"===this._fragment?"":this._fragment},set hash(e){if(!this._isInvalid){this._fragment="#";"#"===e[0]&&(e=e.slice(1));s.call(this,e,"fragment")}},get origin(){var e;if(this._isInvalid||!this._scheme)return"";switch(this._scheme){case"data":case"file":case"javascript":case"mailto":return"null";case"blob":try{return new l(this._schemeData).origin||"null"}catch(e){}return"null"}e=this.host;return e?this._scheme+"://"+e:""}};var b=i.URL;if(b){l.createObjectURL=function(e){return b.createObjectURL.apply(b,arguments)};l.revokeObjectURL=function(e){b.revokeObjectURL(e)}}i.URL=l}}()}},function(e,t,r){"use strict";var a=!1;if("undefined"!=typeof ReadableStream)try{new ReadableStream({start:function(e){e.close()}});a=!0}catch(e){}t.ReadableStream=a?ReadableStream:r(62).ReadableStream}])});