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.

20 lines
617 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=36)}([function(e,t,r){"use strict";(function(e){function a(e){ie=e}function i(){return ie}function n(e){ie>=te.infos&&console.log("Info: "+e)}function s(e){ie>=te.warnings&&console.log("Warning: "+e)}function o(e){console.log("Deprecated API usage: "+e)}function c(e){if(ie>=te.errors){console.log("Error: "+e);console.log(l())}throw new Error(e)}function l(){try{throw new Error}catch(e){return e.stack?e.stack.split("\n").slice(2).join("\n"):""}}function h(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 f(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function d(e,t){if(!e)return null;try{var r=t?new URL(e,t):new URL(e);if(f(r))return r}catch(e){}return null}function g(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1});return r}function p(e){var t;return function(){if(e){t=Object.create(null);e(t);e=null}return t}}function m(e){if("string"!=typeof e){s("The argument for removeNullCharacters must be a string.");return e}return e.replace(pe,"")}function b(e){h(null!==e&&"object"===(void 0===e?"undefined":H(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 v(e){h("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 y(e){if(void 0!==e.length)return e.length;h(void 0!==e.byteLength);return e.byteLength}function k(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=y(r);i+=a}var s=0,o=new Uint8Array(i);for(t=0;t<n;t++){r=e[t];r instanceof Uint8Array||(r="string"==typeof r?v(r):new Uint8Array(r));a=r.byteLength;o.set(r,s);s+=a}return o}function w(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}function S(e){for(var t=1,r=0;e>t;){t<<=1;r++}return r}function C(e,t){return e[t]<<24>>24}function x(e,t){return e[t]<<8|e[t+1]}function A(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}function I(){var e=new Uint8Array(4);e[0]=1;return 1===new Uint32Array(e.buffer,0,1)[0]}function O(){try{new Function("");return!0}catch(e){return!1}}function P(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=ye[e.charCodeAt(t)];a.push(i?String.fromCharCode(i):e.charAt(t))}return a.join("")}function T(e){return decodeURIComponent(escape(e))}function B(e){return unescape(encodeURIComponent(e))}function R(e){for(var t in e)return!1;return!0}function F(e){return"boolean"==typeof e}function E(e){return"number"==typeof e&&(0|e)===e}function M(e){return"number"==typeof e}function D(e){return"string"==typeof e}function L(e){return e instanceof Array}function U(e){return"object"===(void 0===e?"undefined":H(e))&&null!==e&&void 0!==e.byteLength}function N(e){return 32===e||9===e||13===e||10===e}function q(){return"undefined"==typeof __pdfjsdev_
for(var x=this.getBits(v)+y;x-- >0;)S[f++]=k}h=this.generateHuffmanTable(S.subarray(0,d));u=this.generateHuffmanTable(S.subarray(d,w))}else(0,a.error)("Unknown block type in flate stream");e=this.buffer;for(var A=e?e.length:0,I=this.bufferLength;;){var O=this.getCode(h);if(O<256){if(I+1>=A){e=this.ensureBuffer(I+1);A=e.length}e[I++]=O}else{if(256===O){this.bufferLength=I;return}O-=257;O=r[O];var P=O>>16;P>0&&(P=this.getBits(P));o=(65535&O)+P;O=this.getCode(u);O=i[O];P=O>>16;P>0&&(P=this.getBits(P));var T=(65535&O)+P;if(I+o>=A){e=this.ensureBuffer(I+o);A=e.length}for(var B=0;B<o;++B,++I)e[I]=e[I-T]}}}else{var R;-1===(R=c.getByte())&&(0,a.error)("Bad block header in flate stream");var F=R;-1===(R=c.getByte())&&(0,a.error)("Bad block header in flate stream");F|=R<<8;-1===(R=c.getByte())&&(0,a.error)("Bad block header in flate stream");var E=R;-1===(R=c.getByte())&&(0,a.error)("Bad block header in flate stream");E|=R<<8;E===(65535&~F)||0===F&&0===E||(0,a.error)("Bad uncompressed block length in flate stream");this.codeBuf=0;this.codeSize=0;var M=this.bufferLength;e=this.ensureBuffer(M+F);var D=M+F;this.bufferLength=D;if(0===F)-1===c.peekByte()&&(this.eof=!0);else for(var L=M;L<D;++L){if(-1===(R=c.getByte())){this.eof=!0;break}e[L]=R}}};return e}(),d=function(){function e(e,t,r){if(!(0,i.isDict)(r))return e;var n=this.predictor=r.get("Predictor")||1;if(n<=1)return e;2!==n&&(n<10||n>15)&&(0,a.error)("Unsupported predictor: "+n);this.readBlock=2===n?this.readBlockTiff:this.readBlockPng;this.str=e;this.dict=e.dict;var s=this.colors=r.get("Colors")||1,o=this.bits=r.get("BitsPerComponent")||8,c=this.columns=r.get("Columns")||1;this.pixBytes=s*o+7>>3;this.rowBytes=c*s*o+7>>3;h.call(this,t);return this}e.prototype=Object.create(h.prototype);e.prototype.readBlockTiff=function(){var e=this.rowBytes,t=this.bufferLength,r=this.ensureBuffer(t+e),a=this.bits,i=this.colors,n=this.str.getBytes(e);this.eof=!n.length;if(!this.eof){var s,o=0,c=0,l=0,h=0,u=t;if(1===a&&1===i)for(s=0;s<e;++s){var f=n[s]^o;f^=f>>1;f^=f>>2;f^=f>>4;o=(1&f)<<7;r[u++]=f}else if(8===a){for(s=0;s<i;++s)r[u++]=n[s];for(;s<e;++s){r[u]=r[u-i]+n[s];u++}}else{var d=new Uint8Array(i+1),g=(1<<a)-1,p=0,m=t,b=this.columns;for(s=0;s<b;++s)for(var v=0;v<i;++v){if(l<a){o=o<<8|255&n[p++];l+=8}d[v]=d[v]+(o>>l-a)&g;l-=a;c=c<<a|d[v];h+=a;if(h>=8){r[m++]=c>>h-8&255;h-=8}}h>0&&(r[m++]=(c<<8-h)+(o&(1<<8-h)-1))}this.bufferLength+=e}};e.prototype.readBlockPng=function(){var e=this.rowBytes,t=this.pixBytes,r=this.str.getByte(),i=this.str.getBytes(e);this.eof=!i.length;if(!this.eof){var n=this.bufferLength,s=this.ensureBuffer(n+e),o=s.subarray(n-e,n);0===o.length&&(o=new Uint8Array(e));var c,l,h,u=n;switch(r){case 0:for(c=0;c<e;++c)s[u++]=i[c];break;case 1:for(c=0;c<t;++c)s[u++]=i[c];for(;c<e;++c){s[u]=s[u-t]+i[c]&255;u++}break;case 2:for(c=0;c<e;++c)s[u++]=o[c]+i[c]&255;break;case 3:for(c=0;c<t;++c)s[u++]=(o[c]>>1)+i[c];for(;c<e;++c){s[u]=(o[c]+s[u-t]>>1)+i[c]&255;u++}break;case 4:for(c=0;c<t;++c){l=o[c];h=i[c];s[u++]=l+h}for(;c<e;++c){l=o[c];var f=o[c-t],d=s[u-t],g=d+l-f,p=g-d;p<0&&(p=-p);var m=g-l;m<0&&(m=-m);var b=g-f;b<0&&(b=-b);h=i[c];s[u++]=p<=m&&p<=b?d+h:m<=b?l+h:f+h}break;default:(0,a.error)("Unsupported predictor: "+r)}this.bufferLength+=e}};return e}(),g=function(){function e(e,t,r,a){for(var i;-1!==(i=e.getByte());)if(255===i){e.skip(-1);break}this.stream=e;this.maybeLength=t;this.dict=r;this.params=a;h.call(this,t)}e.prototype=Object.create(h.prototype);Object.defineProperty(e.prototype,"bytes",{get:function(){return(0,a.shadow)(this,"bytes",this.stream.getBytes(this.maybeLength))},configurable:!0});e.prototype.ensureBuffer=function(e){if(!this.bufferLength){var t=new s.JpegImage,r=this.dict.getArray("Decode","D");if(this.forceRGB&&(0,a.isArray)(r)){for(var n=this.dict.get("BitsPerComponent")||8,o=r.length,c=new Int32Array(o),l=!1,h=(1<<n)-1,u=0;u<o;u+=2){c[u]=256*(r[u+1]-r[u])|0;c[u+1]=r[u]*h|0;256===c[u]&&0===c[u+1]||(l=!0)}l&&(t.decodeTransform=c)}if((0,i.isDict)(this.params)){var f=this.params.get("ColorTransform");(0,a.isInt)(f)&&(t.colorTransform=f)}t.parse(this.bytes);var
return 8===e},fillRgb:s.prototype.fillRgb,isDefaultDecode:function(e){return s.isDefaultDecode(e,this.numComps)},usesZeroToOneRange:!0};return e}(),f=function(){function e(e,t,r,a,i){var n=e[t+0]*r,s=e[t+1]*r,o=e[t+2]*r,c=e[t+3]*r,l=n*(-4.387332384609988*n+54.48615194189176*s+18.82290502165302*o+212.25662451639585*c-285.2331026137004)+s*(1.7149763477362134*s-5.6096736904047315*o+-17.873870861415444*c-5.497006427196366)+o*(-2.5217340131683033*o-21.248923337353073*c+17.5119270841813)+c*(-21.86122147463605*c-189.48180835922747)+255|0,h=n*(8.841041422036149*n+60.118027045597366*s+6.871425592049007*o+31.159100130055922*c-79.2970844816548)+s*(-15.310361306967817*s+17.575251261109482*o+131.35250912493976*c-190.9453302588951)+o*(4.444339102852739*o+9.8632861493405*c-24.86741582555878)+c*(-20.737325471181034*c-187.80453709719578)+255|0,u=n*(.8842522430003296*n+8.078677503112928*s+30.89978309703729*o-.23883238689178934*c-14.183576799673286)+s*(10.49593273432072*s+63.02378494754052*o+50.606957656360734*c-112.23884253719248)+o*(.03296041114873217*o+115.60384449646641*c-193.58209356861505)+c*(-22.33816807309886*c-180.12613974708367)+255|0;a[i]=l>255?255:l<0?0:l;a[i+1]=h>255?255:h<0?0:h;a[i+2]=u>255?255:u<0?0:u}function t(){this.name="DeviceCMYK";this.numComps=4;this.defaultColor=new Float32Array(this.numComps);this.defaultColor[3]=1}t.prototype={getRgb:s.prototype.getRgb,getRgbItem:function(t,r,a,i){e(t,r,1,a,i)},getRgbBuffer:function(t,r,a,i,n,s,o){for(var c=1/((1<<s)-1),l=0;l<a;l++){e(t,r,c,i,n);r+=4;n+=3+o}},getOutputLength:function(e,t){return e/4*(3+t)|0},isPassthrough:s.prototype.isPassthrough,fillRgb:s.prototype.fillRgb,isDefaultDecode:function(e){return s.isDefaultDecode(e,this.numComps)},usesZeroToOneRange:!0};return t}(),d=function(){function e(e,t,r){this.name="CalGray";this.numComps=1;this.defaultColor=new Float32Array(this.numComps);e||(0,a.error)("WhitePoint missing - required for color space CalGray");t=t||[0,0,0];r=r||1;this.XW=e[0];this.YW=e[1];this.ZW=e[2];this.XB=t[0];this.YB=t[1];this.ZB=t[2];this.G=r;(this.XW<0||this.ZW<0||1!==this.YW)&&(0,a.error)("Invalid WhitePoint components for "+this.name+", no fallback available");if(this.XB<0||this.YB<0||this.ZB<0){(0,a.info)("Invalid BlackPoint for "+this.name+", falling back to default");this.XB=this.YB=this.ZB=0}0===this.XB&&0===this.YB&&0===this.ZB||(0,a.warn)(this.name+", BlackPoint: XB: "+this.XB+", YB: "+this.YB+", ZB: "+this.ZB+", only default values are supported.");if(this.G<1){(0,a.info)("Invalid Gamma: "+this.G+" for "+this.name+", falling back to default");this.G=1}}function t(e,t,r,a,i,n){var s=t[r]*n,o=Math.pow(s,e.G),c=e.YW*o,l=0|Math.max(295.8*Math.pow(c,.3333333333333333)-40.8,0);a[i]=l;a[i+1]=l;a[i+2]=l}e.prototype={getRgb:s.prototype.getRgb,getRgbItem:function(e,r,a,i){t(this,e,r,a,i,1)},getRgbBuffer:function(e,r,a,i,n,s,o){for(var c=1/((1<<s)-1),l=0;l<a;++l){t(this,e,r,i,n,c);r+=1;n+=3+o}},getOutputLength:function(e,t){return e*(3+t)},isPassthrough:s.prototype.isPassthrough,fillRgb:s.prototype.fillRgb,isDefaultDecode:function(e){return s.isDefaultDecode(e,this.numComps)},usesZeroToOneRange:!0};return e}(),g=function(){function e(e,t,r,i){this.name="CalRGB";this.numComps=3;this.defaultColor=new Float32Array(this.numComps);e||(0,a.error)("WhitePoint missing - required for color space CalRGB");t=t||new Float32Array(3);r=r||new Float32Array([1,1,1]);i=i||new Float32Array([1,0,0,0,1,0,0,0,1]);var n=e[0],s=e[1],o=e[2];this.whitePoint=e;var c=t[0],l=t[1],h=t[2];this.blackPoint=t;this.GR=r[0];this.GG=r[1];this.GB=r[2];this.MXA=i[0];this.MYA=i[1];this.MZA=i[2];this.MXB=i[3];this.MYB=i[4];this.MZB=i[5];this.MXC=i[6];this.MYC=i[7];this.MZC=i[8];(n<0||o<0||1!==s)&&(0,a.error)("Invalid WhitePoint components for "+this.name+", no fallback available");if(c<0||l<0||h<0){(0,a.info)("Invalid BlackPoint for "+this.name+" ["+c+", "+l+", "+h+"], falling back to default");this.blackPoint=new Float32Array(3)}if(this.GR<0||this.GG<0||this.GB<0){(0,a.info)("Invalid Gamma ["+this.GR+", "+this.GG+", "+this.GB+"] for "+this.name+", falling back to default");this.GR=this.GG=this
i.warn)("Badly formatted number");else{if(69!==e&&101!==e)break;e=this.peekChar();if(43===e||45===e){o=45===e?-1:1;this.nextChar()}else if(e<48||e>57)break;t=!0}0!==r&&(n/=r);t&&(n*=Math.pow(10,o*s));return a*n},getString:function(){var e=1,t=!1,r=this.strBuf;r.length=0;for(var a=this.nextChar();;){var n=!1;switch(0|a){case-1:(0,i.warn)("Unterminated string");t=!0;break;case 40:++e;r.push("(");break;case 41:if(0==--e){this.nextChar();t=!0}else r.push(")");break;case 92:a=this.nextChar();switch(a){case-1:(0,i.warn)("Unterminated string");t=!0;break;case 110:r.push("\n");break;case 114:r.push("\r");break;case 116:r.push("\t");break;case 98:r.push("\b");break;case 102:r.push("\f");break;case 92:case 40:case 41:r.push(String.fromCharCode(a));break;case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:var s=15&a;a=this.nextChar();n=!0;if(a>=48&&a<=55){s=(s<<3)+(15&a);a=this.nextChar();if(a>=48&&a<=55){n=!1;s=(s<<3)+(15&a)}}r.push(String.fromCharCode(s));break;case 13:10===this.peekChar()&&this.nextChar();break;case 10:break;default:r.push(String.fromCharCode(a))}break;default:r.push(String.fromCharCode(a))}if(t)break;n||(a=this.nextChar())}return r.join("")},getName:function(){var e,a,s=this.strBuf;s.length=0;for(;(e=this.nextChar())>=0&&!r[e];)if(35===e){e=this.nextChar();if(r[e]){(0,i.warn)("Lexer_getName: NUMBER SIGN (#) should be followed by a hexadecimal number.");s.push("#");break}var o=t(e);if(-1!==o){a=e;e=this.nextChar();var c=t(e);if(-1===c){(0,i.warn)("Lexer_getName: Illegal digit ("+String.fromCharCode(e)+") in hexadecimal number.");s.push("#",String.fromCharCode(a));if(r[e])break;s.push(String.fromCharCode(e));continue}s.push(String.fromCharCode(o<<4|c))}else s.push("#",String.fromCharCode(e))}else s.push(String.fromCharCode(e));s.length>127&&(0,i.warn)("name token is longer than allowed by the spec: "+s.length);return n.Name.get(s.join(""))},getHexString:function(){var e=this.strBuf;e.length=0;for(var a,n,s=this.currentChar,o=!0;;){if(s<0){(0,i.warn)("Unterminated hex string");break}if(62===s){this.nextChar();break}if(1!==r[s]){if(o){a=t(s);if(-1===a){(0,i.warn)('Ignoring invalid character "'+s+'" in hex string');s=this.nextChar();continue}}else{n=t(s);if(-1===n){(0,i.warn)('Ignoring invalid character "'+s+'" in hex string');s=this.nextChar();continue}e.push(String.fromCharCode(a<<4|n))}o=!o;s=this.nextChar()}else s=this.nextChar()}return e.join("")},getObj:function(){for(var e=!1,t=this.currentChar;;){if(t<0)return n.EOF;if(e)10!==t&&13!==t||(e=!1);else if(37===t)e=!0;else if(1!==r[t])break;t=this.nextChar()}switch(0|t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:case 43:case 45:case 46:return this.getNumber();case 40:return this.getString();case 47:return this.getName();case 91:this.nextChar();return n.Cmd.get("[");case 93:this.nextChar();return n.Cmd.get("]");case 60:t=this.nextChar();if(60===t){this.nextChar();return n.Cmd.get("<<")}return this.getHexString();case 62:t=this.nextChar();if(62===t){this.nextChar();return n.Cmd.get(">>")}return n.Cmd.get(">");case 123:this.nextChar();return n.Cmd.get("{");case 125:this.nextChar();return n.Cmd.get("}");case 41:this.nextChar();(0,i.error)("Illegal character: "+t)}for(var a=String.fromCharCode(t),s=this.knownCommands,o=s&&void 0!==s[a];(t=this.nextChar())>=0&&!r[t];){var c=a+String.fromCharCode(t);if(o&&void 0===s[c])break;128===a.length&&(0,i.error)("Command token too long: "+a.length);a=c;o=s&&void 0!==s[a]}return"true"===a||"false"!==a&&("null"===a?null:n.Cmd.get(a))},skipToNextLine:function(){for(var e=this.currentChar;e>=0;){if(13===e){e=this.nextChar();10===e&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}};return e}(),c={create:function(e){function t(e,t){var r=f.get(e);if((0,i.isInt)(r)&&(t?r>=0:r>0))return r;throw new Error('The "'+e+'" parameter in the linearization dictionary is invalid.')}var r,a,c=new s(new o(e),!1,null),l=c.getObj(),h=c.getObj(),u=c.getObj(),f=c.getObj();if(!((0,i.isInt)(l)&&(0,i.isInt)(h)&&(0,n.isCmd)(u,"obj")&&(0,n.isDict)(f)&&(0,i.isNum)(r=f.get("Linearized"
;e.afii10061=1036;e.afii10062=1038;e.afii10063=63172;e.afii10064=63173;e.afii10065=1072;e.afii10066=1073;e.afii10067=1074;e.afii10068=1075;e.afii10069=1076;e.afii10070=1077;e.afii10071=1105;e.afii10072=1078;e.afii10073=1079;e.afii10074=1080;e.afii10075=1081;e.afii10076=1082;e.afii10077=1083;e.afii10078=1084;e.afii10079=1085;e.afii10080=1086;e.afii10081=1087;e.afii10082=1088;e.afii10083=1089;e.afii10084=1090;e.afii10085=1091;e.afii10086=1092;e.afii10087=1093;e.afii10088=1094;e.afii10089=1095;e.afii10090=1096;e.afii10091=1097;e.afii10092=1098;e.afii10093=1099;e.afii10094=1100;e.afii10095=1101;e.afii10096=1102;e.afii10097=1103;e.afii10098=1169;e.afii10099=1106;e.afii10100=1107;e.afii10101=1108;e.afii10102=1109;e.afii10103=1110;e.afii10104=1111;e.afii10105=1112;e.afii10106=1113;e.afii10107=1114;e.afii10108=1115;e.afii10109=1116;e.afii10110=1118;e.afii10145=1039;e.afii10146=1122;e.afii10147=1138;e.afii10148=1140;e.afii10192=63174;e.afii10193=1119;e.afii10194=1123;e.afii10195=1139;e.afii10196=1141;e.afii10831=63175;e.afii10832=63176;e.afii10846=1241;e.afii299=8206;e.afii300=8207;e.afii301=8205;e.afii57381=1642;e.afii57388=1548;e.afii57392=1632;e.afii57393=1633;e.afii57394=1634;e.afii57395=1635;e.afii57396=1636;e.afii57397=1637;e.afii57398=1638;e.afii57399=1639;e.afii57400=1640;e.afii57401=1641;e.afii57403=1563;e.afii57407=1567;e.afii57409=1569;e.afii57410=1570;e.afii57411=1571;e.afii57412=1572;e.afii57413=1573;e.afii57414=1574;e.afii57415=1575;e.afii57416=1576;e.afii57417=1577;e.afii57418=1578;e.afii57419=1579;e.afii57420=1580;e.afii57421=1581;e.afii57422=1582;e.afii57423=1583;e.afii57424=1584;e.afii57425=1585;e.afii57426=1586;e.afii57427=1587;e.afii57428=1588;e.afii57429=1589;e.afii57430=1590;e.afii57431=1591;e.afii57432=1592;e.afii57433=1593;e.afii57434=1594;e.afii57440=1600;e.afii57441=1601;e.afii57442=1602;e.afii57443=1603;e.afii57444=1604;e.afii57445=1605;e.afii57446=1606;e.afii57448=1608;e.afii57449=1609;e.afii57450=1610;e.afii57451=1611;e.afii57452=1612;e.afii57453=1613;e.afii57454=1614;e.afii57455=1615;e.afii57456=1616;e.afii57457=1617;e.afii57458=1618;e.afii57470=1607;e.afii57505=1700;e.afii57506=1662;e.afii57507=1670;e.afii57508=1688;e.afii57509=1711;e.afii57511=1657;e.afii57512=1672;e.afii57513=1681;e.afii57514=1722;e.afii57519=1746;e.afii57534=1749;e.afii57636=8362;e.afii57645=1470;e.afii57658=1475;e.afii57664=1488;e.afii57665=1489;e.afii57666=1490;e.afii57667=1491;e.afii57668=1492;e.afii57669=1493;e.afii57670=1494;e.afii57671=1495;e.afii57672=1496;e.afii57673=1497;e.afii57674=1498;e.afii57675=1499;e.afii57676=1500;e.afii57677=1501;e.afii57678=1502;e.afii57679=1503;e.afii57680=1504;e.afii57681=1505;e.afii57682=1506;e.afii57683=1507;e.afii57684=1508;e.afii57685=1509;e.afii57686=1510;e.afii57687=1511;e.afii57688=1512;e.afii57689=1513;e.afii57690=1514;e.afii57694=64298;e.afii57695=64299;e.afii57700=64331;e.afii57705=64287;e.afii57716=1520;e.afii57717=1521;e.afii57718=1522;e.afii57723=64309;e.afii57793=1460;e.afii57794=1461;e.afii57795=1462;e.afii57796=1467;e.afii57797=1464;e.afii57798=1463;e.afii57799=1456;e.afii57800=1458;e.afii57801=1457;e.afii57802=1459;e.afii57803=1474;e.afii57804=1473;e.afii57806=1465;e.afii57807=1468;e.afii57839=1469;e.afii57841=1471;e.afii57842=1472;e.afii57929=700;e.afii61248=8453;e.afii61289=8467;e.afii61352=8470;e.afii61573=8236;e.afii61574=8237;e.afii61575=8238;e.afii61664=8204;e.afii63167=1645;e.afii64937=701;e.agrave=224;e.agujarati=2693;e.agurmukhi=2565;e.ahiragana=12354;e.ahookabove=7843;e.aibengali=2448;e.aibopomofo=12574;e.aideva=2320;e.aiecyrillic=1237;e.aigujarati=2704;e.aigurmukhi=2576;e.aimatragurmukhi=2632;e.ainarabic=1593;e.ainfinalarabic=65226;e.aininitialarabic=65227;e.ainmedialarabic=65228;e.ainvertedbreve=515;e.aivowelsignbengali=2504;e.aivowelsigndeva=2376;e.aivowelsigngujarati=2760;e.akatakana=12450;e.akatakanahalfwidth=65393;e.akorean=12623;e.alef=1488;e.alefarabic=1575;e.alefdageshhebrew=64304;e.aleffinalarabic=65166;e.alefhamzaabovearabic=1571;e.alefhamzaabovefinalarabic=65156;e.alefhamzabelowarabic=1573;e.alefhamzabelowfinalarabic=65160;e.alefhebrew=1488;e.aleflamedhe
;e.lamalefhamzabelowfinalarabic=65274;e.lamalefhamzabelowisolatedarabic=65273;e.lamalefisolatedarabic=65275;e.lamalefmaddaabovefinalarabic=65270;e.lamalefmaddaaboveisolatedarabic=65269;e.lamarabic=1604;e.lambda=955;e.lambdastroke=411;e.lamed=1500;e.lameddagesh=64316;e.lameddageshhebrew=64316;e.lamedhebrew=1500;e.lamfinalarabic=65246;e.lamhahinitialarabic=64714;e.laminitialarabic=65247;e.lamjeeminitialarabic=64713;e.lamkhahinitialarabic=64715;e.lamlamhehisolatedarabic=65010;e.lammedialarabic=65248;e.lammeemhahinitialarabic=64904;e.lammeeminitialarabic=64716;e.largecircle=9711;e.lbar=410;e.lbelt=620;e.lbopomofo=12556;e.lcaron=318;e.lcedilla=316;e.lcircle=9435;e.lcircumflexbelow=7741;e.lcommaaccent=316;e.ldot=320;e.ldotaccent=320;e.ldotbelow=7735;e.ldotbelowmacron=7737;e.leftangleabovecmb=794;e.lefttackbelowcmb=792;e.less=60;e.lessequal=8804;e.lessequalorgreater=8922;e.lessmonospace=65308;e.lessorequivalent=8818;e.lessorgreater=8822;e.lessoverequal=8806;e.lesssmall=65124;e.lezh=622;e.lfblock=9612;e.lhookretroflex=621;e.lira=8356;e.liwnarmenian=1388;e.lj=457;e.ljecyrillic=1113;e.ll=63168;e.lladeva=2355;e.llagujarati=2739;e.llinebelow=7739;e.llladeva=2356;e.llvocalicbengali=2529;e.llvocalicdeva=2401;e.llvocalicvowelsignbengali=2531;e.llvocalicvowelsigndeva=2403;e.lmiddletilde=619;e.lmonospace=65356;e.lmsquare=13264;e.lochulathai=3628;e.logicaland=8743;e.logicalnot=172;e.logicalnotreversed=8976;e.logicalor=8744;e.lolingthai=3621;e.longs=383;e.lowlinecenterline=65102;e.lowlinecmb=818;e.lowlinedashed=65101;e.lozenge=9674;e.lparen=9383;e.lslash=322;e.lsquare=8467;e.lsuperior=63214;e.ltshade=9617;e.luthai=3622;e.lvocalicbengali=2444;e.lvocalicdeva=2316;e.lvocalicvowelsignbengali=2530;e.lvocalicvowelsigndeva=2402;e.lxsquare=13267;e.m=109;e.mabengali=2478;e.macron=175;e.macronbelowcmb=817;e.macroncmb=772;e.macronlowmod=717;e.macronmonospace=65507;e.macute=7743;e.madeva=2350;e.magujarati=2734;e.magurmukhi=2606;e.mahapakhhebrew=1444;e.mahapakhlefthebrew=1444;e.mahiragana=12414;e.maichattawalowleftthai=63637;e.maichattawalowrightthai=63636;e.maichattawathai=3659;e.maichattawaupperleftthai=63635;e.maieklowleftthai=63628;e.maieklowrightthai=63627;e.maiekthai=3656;e.maiekupperleftthai=63626;e.maihanakatleftthai=63620;e.maihanakatthai=3633;e.maitaikhuleftthai=63625;e.maitaikhuthai=3655;e.maitholowleftthai=63631;e.maitholowrightthai=63630;e.maithothai=3657;e.maithoupperleftthai=63629;e.maitrilowleftthai=63634;e.maitrilowrightthai=63633;e.maitrithai=3658;e.maitriupperleftthai=63632;e.maiyamokthai=3654;e.makatakana=12510;e.makatakanahalfwidth=65423;e.male=9794;e.mansyonsquare=13127;e.maqafhebrew=1470;e.mars=9794;e.masoracirclehebrew=1455;e.masquare=13187;e.mbopomofo=12551;e.mbsquare=13268;e.mcircle=9436;e.mcubedsquare=13221;e.mdotaccent=7745;e.mdotbelow=7747;e.meemarabic=1605;e.meemfinalarabic=65250;e.meeminitialarabic=65251;e.meemmedialarabic=65252;e.meemmeeminitialarabic=64721;e.meemmeemisolatedarabic=64584;e.meetorusquare=13133;e.mehiragana=12417;e.meizierasquare=13182;e.mekatakana=12513;e.mekatakanahalfwidth=65426;e.mem=1502;e.memdagesh=64318;e.memdageshhebrew=64318;e.memhebrew=1502;e.menarmenian=1396;e.merkhahebrew=1445;e.merkhakefulahebrew=1446;e.merkhakefulalefthebrew=1446;e.merkhalefthebrew=1445;e.mhook=625;e.mhzsquare=13202;e.middledotkatakanahalfwidth=65381;e.middot=183;e.mieumacirclekorean=12914;e.mieumaparenkorean=12818;e.mieumcirclekorean=12900;e.mieumkorean=12609;e.mieumpansioskorean=12656;e.mieumparenkorean=12804;e.mieumpieupkorean=12654;e.mieumsioskorean=12655;e.mihiragana=12415;e.mikatakana=12511;e.mikatakanahalfwidth=65424;e.minus=8722;e.minusbelowcmb=800;e.minuscircle=8854;e.minusmod=727;e.minusplus=8723;e.minute=8242;e.miribaarusquare=13130;e.mirisquare=13129;e.mlonglegturned=624;e.mlsquare=13206;e.mmcubedsquare=13219;e.mmonospace=65357;e.mmsquaredsquare=13215;e.mohiragana=12418;e.mohmsquare=13249;e.mokatakana=12514;e.mokatakanahalfwidth=65427;e.molsquare=13270;e.momathai=3617;e.moverssquare=13223;e.moverssquaredsquare=13224;e.mparen=9384;e.mpasquare=13227;e.mssquare=13235;e.msuperior=63215;e.mturned=623;e.mu=181;e.mu1=18
;e.whiteleftpointingsmalltriangle=9667;e.whiteleftpointingtriangle=9665;e.whitelenticularbracketleft=12310;e.whitelenticularbracketright=12311;e.whiterightpointingsmalltriangle=9657;e.whiterightpointingtriangle=9655;e.whitesmallsquare=9643;e.whitesmilingface=9786;e.whitesquare=9633;e.whitestar=9734;e.whitetelephone=9743;e.whitetortoiseshellbracketleft=12312;e.whitetortoiseshellbracketright=12313;e.whiteuppointingsmalltriangle=9653;e.whiteuppointingtriangle=9651;e.wihiragana=12432;e.wikatakana=12528;e.wikorean=12639;e.wmonospace=65367;e.wohiragana=12434;e.wokatakana=12530;e.wokatakanahalfwidth=65382;e.won=8361;e.wonmonospace=65510;e.wowaenthai=3623;e.wparen=9394;e.wring=7832;e.wsuperior=695;e.wturned=653;e.wynn=447;e.x=120;e.xabovecmb=829;e.xbopomofo=12562;e.xcircle=9447;e.xdieresis=7821;e.xdotaccent=7819;e.xeharmenian=1389;e.xi=958;e.xmonospace=65368;e.xparen=9395;e.xsuperior=739;e.y=121;e.yaadosquare=13134;e.yabengali=2479;e.yacute=253;e.yadeva=2351;e.yaekorean=12626;e.yagujarati=2735;e.yagurmukhi=2607;e.yahiragana=12420;e.yakatakana=12516;e.yakatakanahalfwidth=65428;e.yakorean=12625;e.yamakkanthai=3662;e.yasmallhiragana=12419;e.yasmallkatakana=12515;e.yasmallkatakanahalfwidth=65388;e.yatcyrillic=1123;e.ycircle=9448;e.ycircumflex=375;e.ydieresis=255;e.ydotaccent=7823;e.ydotbelow=7925;e.yeharabic=1610;e.yehbarreearabic=1746;e.yehbarreefinalarabic=64431;e.yehfinalarabic=65266;e.yehhamzaabovearabic=1574;e.yehhamzaabovefinalarabic=65162;e.yehhamzaaboveinitialarabic=65163;e.yehhamzaabovemedialarabic=65164;e.yehinitialarabic=65267;e.yehmedialarabic=65268;e.yehmeeminitialarabic=64733;e.yehmeemisolatedarabic=64600;e.yehnoonfinalarabic=64660;e.yehthreedotsbelowarabic=1745;e.yekorean=12630;e.yen=165;e.yenmonospace=65509;e.yeokorean=12629;e.yeorinhieuhkorean=12678;e.yerahbenyomohebrew=1450;e.yerahbenyomolefthebrew=1450;e.yericyrillic=1099;e.yerudieresiscyrillic=1273;e.yesieungkorean=12673;e.yesieungpansioskorean=12675;e.yesieungsioskorean=12674;e.yetivhebrew=1434;e.ygrave=7923;e.yhook=436;e.yhookabove=7927;e.yiarmenian=1397;e.yicyrillic=1111;e.yikorean=12642;e.yinyang=9775;e.yiwnarmenian=1410;e.ymonospace=65369;e.yod=1497;e.yoddagesh=64313;e.yoddageshhebrew=64313;e.yodhebrew=1497;e.yodyodhebrew=1522;e.yodyodpatahhebrew=64287;e.yohiragana=12424;e.yoikorean=12681;e.yokatakana=12520;e.yokatakanahalfwidth=65430;e.yokorean=12635;e.yosmallhiragana=12423;e.yosmallkatakana=12519;e.yosmallkatakanahalfwidth=65390;e.yotgreek=1011;e.yoyaekorean=12680;e.yoyakorean=12679;e.yoyakthai=3618;e.yoyingthai=3597;e.yparen=9396;e.ypogegrammeni=890;e.ypogegrammenigreekcmb=837;e.yr=422;e.yring=7833;e.ysuperior=696;e.ytilde=7929;e.yturned=654;e.yuhiragana=12422;e.yuikorean=12684;e.yukatakana=12518;e.yukatakanahalfwidth=65429;e.yukorean=12640;e.yusbigcyrillic=1131;e.yusbigiotifiedcyrillic=1133;e.yuslittlecyrillic=1127;e.yuslittleiotifiedcyrillic=1129;e.yusmallhiragana=12421;e.yusmallkatakana=12517;e.yusmallkatakanahalfwidth=65389;e.yuyekorean=12683;e.yuyeokorean=12682;e.yyabengali=2527;e.yyadeva=2399;e.z=122;e.zaarmenian=1382;e.zacute=378;e.zadeva=2395;e.zagurmukhi=2651;e.zaharabic=1592;e.zahfinalarabic=65222;e.zahinitialarabic=65223;e.zahiragana=12374;e.zahmedialarabic=65224;e.zainarabic=1586;e.zainfinalarabic=65200;e.zakatakana=12470;e.zaqefgadolhebrew=1429;e.zaqefqatanhebrew=1428;e.zarqahebrew=1432;e.zayin=1494;e.zayindagesh=64310;e.zayindageshhebrew=64310;e.zayinhebrew=1494;e.zbopomofo=12567;e.zcaron=382;e.zcircle=9449;e.zcircumflex=7825;e.zcurl=657;e.zdot=380;e.zdotaccent=380;e.zdotbelow=7827;e.zecyrillic=1079;e.zedescendercyrillic=1177;e.zedieresiscyrillic=1247;e.zehiragana=12380;e.zekatakana=12476;e.zero=48;e.zeroarabic=1632;e.zerobengali=2534;e.zerodeva=2406;e.zerogujarati=2790;e.zerogurmukhi=2662;e.zerohackarabic=1632;e.zeroinferior=8320;e.zeromonospace=65296;e.zerooldstyle=63280;e.zeropersian=1776;e.zerosuperior=8304;e.zerothai=3664;e.zerowidthjoiner=65279;e.zerowidthnonjoiner=8204;e.zerowidthspace=8203;e.zeta=950;e.zhbopomofo=12563;e.zhearmenian=1386;e.zhebrevecyrillic=1218;e.zhecyrillic=1078;e.zhedescendercyrillic=1175;e.zhedieresiscyrillic=124
var n=e[r++],s=n>>4,o=15&n;if(15===s)break;t+=a[s];if(15===o)break;t+=a[o]}return parseFloat(t)}var r=0,i=[],n=[];r=0;for(var s=e.length;r<s;){var o=e[r];if(o<=21){12===o&&(o=o<<8|e[++r]);n.push([o,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 u,i=this.bytes,n=i[e++]<<8|i[e++],s=[],o=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 h=0,f=0;f<c;++f){h<<=8;h+=i[e++]}s.push(l+h)}o=s[n]}for(t=0,r=s.length-1;t<r;++t){var d=s[t],g=s[t+1];a.add(i.subarray(d,g))}return{obj:a,endPos:o}},parseNameIndex:function(e){for(var t=[],r=0,i=e.count;r<i;++r){for(var n=e.get(r),s=Math.min(n.length,127),o=[],c=0;c<s;++c){var l=n[c];0!==c||0!==l?o[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:o[c]=l}t.push((0,a.bytesToString)(o))}return t},parseStringIndex:function(e){for(var t=new h,r=0,i=e.count;r<i;++r){var n=e.get(r);t.add((0,a.bytesToString)(n))}return t},createDict:function(e,t,r){for(var a=new e(r),i=0,n=t.length;i<n;++i){var s=t[i],o=s[0],c=s[1];a.setByKey(o,c)}return a},parseCharString:function(e,i,n,s){if(!i||e.callDepth>10)return!1;for(var o=e.stackSize,c=e.stack,l=i.length,h=0;h<l;){var u=i[h++],f=null;if(12===u){var d=i[h++];if(0===d){i[h-2]=139;i[h-1]=22;o=0}else f=r[d]}else if(28===u){c[o]=(i[h]<<24|i[h+1]<<16)>>16;h+=2;o++}else if(14===u){if(o>=4){o-=4;if(this.seacAnalysisEnabled){e.seac=c.slice(o,o+4);return!1}}f=t[u]}else if(u>=32&&u<=246){c[o]=u-139;o++}else if(u>=247&&u<=254){c[o]=u<251?(u-247<<8)+i[h]+108:-(u-251<<8)-i[h]-108;h++;o++}else if(255===u){c[o]=(i[h]<<24|i[h+1]<<16|i[h+2]<<8|i[h+3])/65536;h+=4;o++}else if(19===u||20===u){e.hints+=o>>1;h+=e.hints+7>>3;o%=2;f=t[u]}else{if(10===u||29===u){var g;g=10===u?n:s;if(!g){f=t[u];(0,a.warn)("Missing subrsIndex for "+f.id);return!1}var p=32768;g.count<1240?p=107:g.count<33900&&(p=1131);var m=c[--o]+p;if(m<0||m>=g.count||isNaN(m)){f=t[u];(0,a.warn)("Out of bounds subrIndex for "+f.id);return!1}e.stackSize=o;e.callDepth++;var b=this.parseCharString(e,g.get(m),n,s);if(!b)return!1;e.callDepth--;o=e.stackSize;continue}if(11===u){e.stackSize=o;return!0}f=t[u]}if(f){f.stem&&(e.hints+=o>>1);if("min"in f&&!e.undefStack&&o<f.min){(0,a.warn)("Not enough parameters for "+f.id+"; actual: "+o+", expected: "+f.min);return!1}if(e.firstStackClearing&&f.stackClearing){e.firstStackClearing=!1;o-=f.min;o>=2&&f.stem?o%=2:o>1&&(0,a.warn)("Found too many parameters for stack-clearing command");o>0&&c[o-1]>=0&&(e.width=c[o-1])}if("stackDelta"in f){"stackFn"in f&&f.stackFn(c,o);o+=f.stackDelta}else if(f.stackClearing)o=0;else if(f.resetStack){o=0;e.undefStack=!1}else if(f.undefStack){o=0;e.undefStack=!0;e.firstStackClearing=!1}}}e.stackSize=o;return!0},parseCharStrings:function(e,t,r,i,n){for(var s=[],o=[],c=e.count,l=0;l<c;l++){var h=e.get(l),u={callDepth:0,stackSize:0,stack:[],undefStack:!0,hints:0,firstStackClearing:!0,seac:null,width:null},f=!0,d=null;if(i&&n.length){var g=i.getFDIndex(l);if(-1===g){(0,a.warn)("Glyph index is not in fd select.");f=!1}if(g>=n.length){(0,a.warn)("Invalid fd index for glyph index.");f=!1}f&&(d=n[g].privateDict.subrsIndex)}else t&&(d=t);f&&(f=this.parseCharString(u,h,d,r));null!==u.width&&(o[l]=u.width);null!==u.seac&&(s[l]=u.seac);f||e.set(l,new Uint8Array([14]))}return{charStrings:e,seacs:s,widths:o}},emptyPrivateDictionary:function(e){var t=this.createDict(g,[],e.strings);e.setByKey(18,[0,0]);e.privateDict=t},parsePrivateDict:function(e){if(e.hasName("Private")){var t=e.getByName("Private");if((0,a.isArray)(t)&&2===t.length){var r=t[0],i=t[1];if(0===r||i>=this.bytes.length)this.emptyPrivateDictionary(e);else{var n=i+r,s=this.bytes.subarray(i,n),o=this.parseDict(s),c=this.createDict(
;P.assign(d);T.assign(g);B.assign(p);R.assign(m);F.assign(b);E.assign(v);M.assign(y);for(w=0;w<80;++w){D.assign(M);a(U,R,N);D.add(U);e(U,R,F,E,N);D.add(U);D.add(o[w]);D.add(A[w]);r(L,O,N);t(U,O,P,T,N);L.add(U);I=M;M=E;E=F;F=R;B.add(D);R=B;B=T;T=P;P=O;I.assign(D);I.add(L);O=I}f.add(O);d.add(P);g.add(T);p.add(B);m.add(R);b.add(F);v.add(E);y.add(M)}var q;if(u){q=new Uint8Array(48);f.copyTo(q,0);d.copyTo(q,8);g.copyTo(q,16);p.copyTo(q,24);m.copyTo(q,32);b.copyTo(q,40)}else{q=new Uint8Array(64);f.copyTo(q,0);d.copyTo(q,8);g.copyTo(q,16);p.copyTo(q,24);m.copyTo(q,32);b.copyTo(q,40);v.copyTo(q,48);y.copyTo(q,56)}return q}var o=[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,1323610764),new c(1426881987,3590304994),new c(1925078388,4068182383),new c(2162078206,991336113),new c(2614888103,633803317),new c(3248222580,3479774868),new c(3835390401,2666613458),new c(4022224774,944711139),new c(264347078,2341262773),new c(604807628,2007800933),new c(770255983,1495990901),new c(1249150122,1856431235),new c(1555081692,3175218132),new c(1996064986,2198950837),new c(2554220882,3999719339),new c(2821834349,766784016),new c(2952996808,2566594879),new c(3210313671,3203337956),new c(3336571891,1034457026),new c(3584528711,2466948901),new c(113926993,3758326383),new c(338241895,168717936),new c(666307205,1188179964),new c(773529912,1546045734),new c(1294757372,1522805485),new c(1396182291,2643833823),new c(1695183700,2343527390),new c(1986661051,1014477480),new c(2177026350,1206759142),new c(2456956037,344077627),new c(2730485921,1290863460),new c(2820302411,3158454273),new c(3259730800,3505952657),new c(3345764771,106217008),new c(3516065817,3606008344),new c(3600352804,1432725776),new c(4094571909,1467031594),new c(275423344,851169720),new c(430227734,3100823752),new c(506948616,1363258195),new c(659060556,3750685593),new c(883997877,3785050280),new c(958139571,3318307427),new c(1322822218,3812723403),new c(1537002063,2003034995),new c(1747873779,3602036899),new c(1955562222,1575990012),new c(2024104815,1125592928),new c(2227730452,2716904306),new c(2361852424,442776044),new c(2428436474,593698344),new c(2756734187,3733110249),new c(3204031479,2999351573),new c(3329325298,3815920427),new c(3391569614,3928383900),new c(3515267271,566280711),new c(3940187606,3454069534),new c(4118630271,4000239992),new c(116418474,1914138554),new c(174292421,2731055270),new c(289380356,3203993006),new c(460393269,320620315),new c(685471733,587496836),new c(852142971,1086792851),new c(1017036298,365543100),new c(1126000580,2618297676),new c(1288033470,3409855158),new c(1501505948,4234509866),new c(1607167915,987167468),new c(1816402316,1246189591)];return s}(),u=function(){function e(e,t,r){return h(e,t,r,!0)}return e}(),f=function(){function e(){}e.prototype={decryptBlock:function(e){return e}};return e}(),d=function(){function e(e){var t=new Uint8Array(176);t.set(e);for(var r=16,a=1;r<176;++a){var i=t[r-3],o=t[r-2],c=t[r-1],l=t[r-4];i=s[i];o=s[o];c=s[c];l=s[l];i^=n[a];for(var h=0;h<4;++h){t[r]=i^=t[r-16];r++;t[r]=o^=t[r-16];r++;t[r]=c^=t[r-16];r++;t[r]=l^=t[r-16];r++}}return t}function t(e,t){var r=new Uint8Array(16);r.set(e);var a,i,n,s,c,l;for(i=0,n=160;i<16;++i,++n)r[i]^=t[n];for(a=9;a>=1;--a){s=r[13];r[13]=r[9];r[9]=r[5];r[5]=r[1];r[1]=s;s=r[14];c=r[10];r[14]=r[6];r[10]=r[2];r[6]=s;r[2]=c;s=r[15];c=r[11];l=r[7];r[15]=r[3];r[11]=s;r[7]=c;r[3]=l;for(i=0;i<16;++i)r[i]=o[r[i]];for(i=0,n=16*a;i<16;++i,++n)r[i]^=t[n];for(i=0;i<16;i+=4){var u=h[r[i]],f=h[r[i+1]],d=h[r[i+2]],g=h[r[i+3]];s=u^f>>>8^f<<24^d>>>16^d<<16^g>>>24^g<<8;r[i]=s>>>24&255;r[i+1]=s>>16&255;r[i+2]=s>>8&255;r[i+3]=255&s}}s=r[13];r[13]=r[9];r[9]=r[5];r[5]=r[1];r[1]=s;s=r[14];c=r[10];r[14]=r[6];r[10]=r[2];r[6]=s;r[2]=c;s=r[15];c=r[11];l=r[7];r[15]=r[3];r[11]=s;r[7]=c;r[3]=l;for(i=0;i<16;++i){r[i]=o[r[i]];r[i]^=t[i]}return r}function r(e,t){var r
;this.handler.send("obj",[O,this.pageIndex,"JpegStream",r.getIR(this.options.forceDataSchema)]);o&&(c[o]={fn:a.OPS.paintJpegXObject,args:p})}else{var P=null;I===a.NativeImageDecoding.DECODE&&(r instanceof n.JpegStream||A instanceof n.JpegStream||x instanceof n.JpegStream)&&(P=new e(this.xref,t,this.handler,this.options.forceDataSchema));y.PDFImage.buildImage(this.handler,this.xref,t,r,i,P).then(function(e){var t=e.createImageData(!1);l.handler.send("obj",[O,l.pageIndex,"Image",t],[t.data.buffer])}).catch(function(e){(0,a.warn)("Unable to decode image: "+e);l.handler.send("obj",[O,l.pageIndex,"Image",null])});s.addOp(a.OPS.paintImageXObject,p);o&&(c[o]={fn:a.OPS.paintImageXObject,args:p})}}else{g=new y.PDFImage(this.xref,t,r,i,null,null).createImageData(!0);s.addOp(a.OPS.paintInlineImageXObject,[g])}}}}else(0,a.warn)("Image dimensions are missing, or not numbers.")},handleSMask:function(e,t,r,a,i){var n=e.get("G"),s={subtype:e.get("S").name,backdrop:e.get("BC")},o=e.get("TR");if((0,f.isPDFFunction)(o)){for(var c=f.PDFFunction.parse(this.xref,o),l=new Uint8Array(256),h=new Float32Array(1),u=0;u<256;u++){h[0]=u/255;c(h,0,h,0);l[u]=255*h[0]|0}s.transferMap=l}return this.buildFormXObject(t,n,s,r,a,i.state.clone())},handleTilingType:function(e,t,r,a,i,n,o){var c=new S,l=[i.get("Resources"),r],h=s.Dict.merge(this.xref,l);return this.getOperatorList({stream:a,task:o,resources:h,operatorList:c}).then(function(){n.addDependencies(c.dependencies);n.addOp(e,(0,u.getTilingPatternIR)({fnArray:c.fnArray,argsArray:c.argsArray},i,t))})},handleSetFont:function(e,t,r,i,n,s){var c,l=this;if(t){t=t.slice();c=t[0].name}return this.loadFont(c,r,e).then(function(t){return t.font.isType3Font?t.loadType3Data(l,e,i,n).then(function(){return t}).catch(function(e){l.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.font});return new w("g_font_error",new o.ErrorFont("Type3 font load error: "+e),t.font)}):t}).then(function(e){s.font=e.font;e.send(l.handler);return e.loadedName})},handleText:function(e,t){var r=this,i=t.font,n=i.charsToGlyphs(e),s=!!(t.textRenderingMode&a.TextRenderingMode.ADD_TO_PATH_FLAG);if(i.data&&(s||this.options.disableFontFace))for(var o=function(e){if(!i.renderer.hasBuiltPath(e)){var t=i.renderer.getPathJs(e);r.handler.send("commonobj",[i.loadedName+"_path_"+e,"FontPath",t])}},c=0,l=n.length;c<l;c++){var h=n[c];o(h.fontChar);var u=h.accent;u&&u.fontChar&&o(u.fontChar)}return n},setGState:function(e,t,r,i,n){for(var o=this,c=[],l=t.getKeys(),h=Promise.resolve(),u=0,f=l.length;u<f;u++)!function(){var f=l[u],g=t.get(f);switch(f){case"Type":break;case"LW":case"LC":case"LJ":case"ML":case"D":case"RI":case"FL":case"CA":case"ca":c.push([f,g]);break;case"Font":h=h.then(function(){return o.handleSetFont(e,null,g[0],r,i,n.state).then(function(e){r.addDependency(e);c.push([f,[e,g[1]]])})});break;case"BM":c.push([f,d(g)]);break;case"SMask":if((0,s.isName)(g,"None")){c.push([f,!1]);break}if((0,s.isDict)(g)){h=h.then(function(){return o.handleSMask(g,e,r,i,n)});c.push([f,!0])}else(0,a.warn)("Unsupported SMask type");break;case"OP":case"op":case"OPM":case"BG":case"BG2":case"UCR":case"UCR2":case"TR":case"TR2":case"HT":case"SM":case"SA":case"AIS":case"TK":(0,a.info)("graphic state operator "+f);break;default:(0,a.info)("Unknown graphic state operator "+f)}}();return h.then(function(){c.length>0&&r.addOp(a.OPS.setGState,[c])})},loadFont:function(e,t,r){function i(){return Promise.resolve(new w("g_font_error",new o.ErrorFont("Font "+e+" is not available"),t))}var n,c=this,l=this.xref;if(t){(0,a.assert)((0,s.isRef)(t));n=t}else{var h=r.get("Font");if(!h){(0,a.warn)("fontRes not available");return i()}n=h.getRaw(e)}if(!n){(0,a.warn)("fontRef not available");return i()}if(this.fontCache.has(n))return this.fontCache.get(n);t=l.fetchIfRef(n);if(!(0,s.isDict)(t))return i();if(t.translated)return t.translated;var u,f=(0,a.createPromiseCapability)(),d=this.preEvaluateFont(t),g=d.descriptor,p=(0,s.isRef)(n);p&&(u=n.toString());if((0,s.isDict)(g)){g.fontAliases||(g.fontAliases=Object.create(null));var m=g.fontAliases,b=d.hash;if(m[b]){var
variableArgs:!1};e.gs={id:a.OPS.setGState,numArgs:1,variableArgs:!1};e.q={id:a.OPS.save,numArgs:0,variableArgs:!1};e.Q={id:a.OPS.restore,numArgs:0,variableArgs:!1};e.cm={id:a.OPS.transform,numArgs:6,variableArgs:!1};e.m={id:a.OPS.moveTo,numArgs:2,variableArgs:!1};e.l={id:a.OPS.lineTo,numArgs:2,variableArgs:!1};e.c={id:a.OPS.curveTo,numArgs:6,variableArgs:!1};e.v={id:a.OPS.curveTo2,numArgs:4,variableArgs:!1};e.y={id:a.OPS.curveTo3,numArgs:4,variableArgs:!1};e.h={id:a.OPS.closePath,numArgs:0,variableArgs:!1};e.re={id:a.OPS.rectangle,numArgs:4,variableArgs:!1};e.S={id:a.OPS.stroke,numArgs:0,variableArgs:!1};e.s={id:a.OPS.closeStroke,numArgs:0,variableArgs:!1};e.f={id:a.OPS.fill,numArgs:0,variableArgs:!1};e.F={id:a.OPS.fill,numArgs:0,variableArgs:!1};e["f*"]={id:a.OPS.eoFill,numArgs:0,variableArgs:!1};e.B={id:a.OPS.fillStroke,numArgs:0,variableArgs:!1};e["B*"]={id:a.OPS.eoFillStroke,numArgs:0,variableArgs:!1};e.b={id:a.OPS.closeFillStroke,numArgs:0,variableArgs:!1};e["b*"]={id:a.OPS.closeEOFillStroke,numArgs:0,variableArgs:!1};e.n={id:a.OPS.endPath,numArgs:0,variableArgs:!1};e.W={id:a.OPS.clip,numArgs:0,variableArgs:!1};e["W*"]={id:a.OPS.eoClip,numArgs:0,variableArgs:!1};e.BT={id:a.OPS.beginText,numArgs:0,variableArgs:!1};e.ET={id:a.OPS.endText,numArgs:0,variableArgs:!1};e.Tc={id:a.OPS.setCharSpacing,numArgs:1,variableArgs:!1};e.Tw={id:a.OPS.setWordSpacing,numArgs:1,variableArgs:!1};e.Tz={id:a.OPS.setHScale,numArgs:1,variableArgs:!1};e.TL={id:a.OPS.setLeading,numArgs:1,variableArgs:!1};e.Tf={id:a.OPS.setFont,numArgs:2,variableArgs:!1};e.Tr={id:a.OPS.setTextRenderingMode,numArgs:1,variableArgs:!1};e.Ts={id:a.OPS.setTextRise,numArgs:1,variableArgs:!1};e.Td={id:a.OPS.moveText,numArgs:2,variableArgs:!1};e.TD={id:a.OPS.setLeadingMoveText,numArgs:2,variableArgs:!1};e.Tm={id:a.OPS.setTextMatrix,numArgs:6,variableArgs:!1};e["T*"]={id:a.OPS.nextLine,numArgs:0,variableArgs:!1};e.Tj={id:a.OPS.showText,numArgs:1,variableArgs:!1};e.TJ={id:a.OPS.showSpacedText,numArgs:1,variableArgs:!1};e["'"]={id:a.OPS.nextLineShowText,numArgs:1,variableArgs:!1};e['"']={id:a.OPS.nextLineSetSpacingShowText,numArgs:3,variableArgs:!1};e.d0={id:a.OPS.setCharWidth,numArgs:2,variableArgs:!1};e.d1={id:a.OPS.setCharWidthAndBounds,numArgs:6,variableArgs:!1};e.CS={id:a.OPS.setStrokeColorSpace,numArgs:1,variableArgs:!1};e.cs={id:a.OPS.setFillColorSpace,numArgs:1,variableArgs:!1};e.SC={id:a.OPS.setStrokeColor,numArgs:4,variableArgs:!0};e.SCN={id:a.OPS.setStrokeColorN,numArgs:33,variableArgs:!0};e.sc={id:a.OPS.setFillColor,numArgs:4,variableArgs:!0};e.scn={id:a.OPS.setFillColorN,numArgs:33,variableArgs:!0};e.G={id:a.OPS.setStrokeGray,numArgs:1,variableArgs:!1};e.g={id:a.OPS.setFillGray,numArgs:1,variableArgs:!1};e.RG={id:a.OPS.setStrokeRGBColor,numArgs:3,variableArgs:!1};e.rg={id:a.OPS.setFillRGBColor,numArgs:3,variableArgs:!1};e.K={id:a.OPS.setStrokeCMYKColor,numArgs:4,variableArgs:!1};e.k={id:a.OPS.setFillCMYKColor,numArgs:4,variableArgs:!1};e.sh={id:a.OPS.shadingFill,numArgs:1,variableArgs:!1};e.BI={id:a.OPS.beginInlineImage,numArgs:0,variableArgs:!1};e.ID={id:a.OPS.beginImageData,numArgs:0,variableArgs:!1};e.EI={id:a.OPS.endInlineImage,numArgs:1,variableArgs:!1};e.Do={id:a.OPS.paintXObject,numArgs:1,variableArgs:!1};e.MP={id:a.OPS.markPoint,numArgs:1,variableArgs:!1};e.DP={id:a.OPS.markPointProps,numArgs:2,variableArgs:!1};e.BMC={id:a.OPS.beginMarkedContent,numArgs:1,variableArgs:!1};e.BDC={id:a.OPS.beginMarkedContentProps,numArgs:2,variableArgs:!1};e.EMC={id:a.OPS.endMarkedContent,numArgs:0,variableArgs:!1};e.BX={id:a.OPS.beginCompat,numArgs:0,variableArgs:!1};e.EX={id:a.OPS.endCompat,numArgs:0,variableArgs:!1};e.BM=null;e.BD=null;e.true=null;e.fa=null;e.fal=null;e.fals=null;e.false=null;e.nu=null;e.nul=null;e.null=null});e.prototype={get savedStatesDepth(){return this.stateManager.stateStack.length},read:function(e){for(var t=e.args;;){var r=this.parser.getObj();if((0,s.isCmd)(r)){var i=r.cmd,n=this.opMap[i];if(!n){(0,a.warn)('Unknown command "'+i+'"');continue}var o=n.id,c=n.numArgs,l=null!==t?t.length:0;if(n.variableArgs)l>c&&(0,a.info)("Command "+o+": expec
for(C=g+w;C<e;C++,S+=r)if(!n[S]&&0==(1&h[S])){var A=c[i[S]],I=t.readBit(o,A);if(1===I){v=this.decodeSignBit(C,b,S);s[S]=v;n[S]=1;this.setNeighborsSignificance(C,b,S);h[S]|=2}l[S]++}}}},checkSegmentationSymbol:function(){var e=this.decoder,t=this.contexts;10!=(e.readBit(t,17)<<3|e.readBit(t,17)<<2|e.readBit(t,17)<<1|e.readBit(t,17))&&(0,a.error)("JPX Error: Invalid segmentation symbol")}};return e}(),I=function(){function e(){}e.prototype.calculate=function(e,t,r){for(var a=e[0],i=1,n=e.length;i<n;i++)a=this.iterate(a,e[i],t,r);return a};e.prototype.extend=function(e,t,r){var a=t-1,i=t+1,n=t+r-2,s=t+r;e[a--]=e[i++];e[s++]=e[n--];e[a--]=e[i++];e[s++]=e[n--];e[a--]=e[i++];e[s++]=e[n--];e[a]=e[i];e[s]=e[n]};e.prototype.iterate=function(e,t,r,a){var i,n,s,o,c,l,h=e.width,u=e.height,f=e.items,d=t.width,g=t.height,p=t.items;for(s=0,i=0;i<u;i++){o=2*i*d;for(n=0;n<h;n++,s++,o+=2)p[o]=f[s]}f=e.items=null;var m=new Float32Array(d+8);if(1===d){if(0!=(1&r))for(l=0,s=0;l<g;l++,s+=d)p[s]*=.5}else for(l=0,s=0;l<g;l++,s+=d){m.set(p.subarray(s,s+d),4);this.extend(m,4,d);this.filter(m,4,d);p.set(m.subarray(4,4+d),s)}var b=16,v=[];for(i=0;i<b;i++)v.push(new Float32Array(g+8));var y,k=0;e=4+g;if(1===g){if(0!=(1&a))for(c=0;c<d;c++)p[c]*=.5}else for(c=0;c<d;c++){if(0===k){b=Math.min(d-c,b);for(s=c,o=4;o<e;s+=d,o++)for(y=0;y<b;y++)v[y][o]=p[s+y];k=b}k--;var w=v[k];this.extend(w,4,g);this.filter(w,4,g);if(0===k){s=c-b+1;for(o=4;o<e;s+=d,o++)for(y=0;y<b;y++)p[s+y]=v[y][o]}}return{width:d,height:g,items:p}};return e}(),O=function(){function e(){I.call(this)}e.prototype=Object.create(I.prototype);e.prototype.filter=function(e,t,r){var a=r>>1;t|=0;var i,n,s,o,c=-1.586134342059924,l=-.052980118572961,h=.882911075530934,u=.443506852043971,f=1.230174104914001;i=t-3;for(n=a+4;n--;i+=2)e[i]*=.8128930661159609;i=t-2;s=u*e[i-1];for(n=a+3;n--;i+=2){o=u*e[i+1];e[i]=f*e[i]-s-o;if(!n--)break;i+=2;s=u*e[i+1];e[i]=f*e[i]-s-o}i=t-1;s=h*e[i-1];for(n=a+2;n--;i+=2){o=h*e[i+1];e[i]-=s+o;if(!n--)break;i+=2;s=h*e[i+1];e[i]-=s+o}i=t;s=l*e[i-1];for(n=a+1;n--;i+=2){o=l*e[i+1];e[i]-=s+o;if(!n--)break;i+=2;s=l*e[i+1];e[i]-=s+o}if(0!==a){i=t+1;s=c*e[i-1];for(n=a;n--;i+=2){o=c*e[i+1];e[i]-=s+o;if(!n--)break;i+=2;s=c*e[i+1];e[i]-=s+o}}};return e}(),P=function(){function e(){I.call(this)}e.prototype=Object.create(I.prototype);e.prototype.filter=function(e,t,r){var a=r>>1;t|=0;var i,n;for(i=t,n=a+1;n--;i+=2)e[i]-=e[i-1]+e[i+1]+2>>2;for(i=t+1,n=a;n--;i+=2)e[i]+=e[i-1]+e[i+1]>>1};return e}();return e}();t.JpxImage=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FileSpec=t.XRef=t.ObjectLoader=t.Catalog=void 0;var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(){function e(e,t){var r=[],a=!0,i=!1,n=void 0;try{for(var s,o=e[Symbol.iterator]();!(a=(s=o.next()).done);a=!0){r.push(s.value);if(t&&r.length===t)break}}catch(e){i=!0;n=e}finally{try{!a&&o.return&&o.return()}finally{if(i)throw n}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),n=r(0),s=r(1),o=r(5),c=r(12),l=r(13),h=r(3),u=function(){function e(e,t,r){this.pdfManager=e;this.xref=t;this.catDict=t.getCatalogObj();(0,n.assert)((0,s.isDict)(this.catDict),"catalog object is not a dictionary");this.fontCache=new s.RefSetCache;this.builtInCMapCache=Object.create(null);this.pageKidsCountCache=new s.RefSetCache;this.pageFactory=r;this.pagePromises=[]}e.prototype={get metadata(){var e=this.catDict.getRaw("Metadata");if(!(0,s.isRef)(e))return(0,n.shadow)(this,"metadata",null);var t,r=!!this.xref.encrypt&&this.xref.encrypt.encryptMetadata,a=this.xref.fetch(e,!r);if(a&&(0,s.isDict)(a.dict)){var i=a.dict.get("Type"),o=a.dict.get("Subtype");if((0,s.isName)(i,"Metadata")&&(0,s.isName)(o,"XML"))try{t=(0,n.stringToUTF8String)((0,n.bytesToString)(a.getBytes()))}catch(e){if(e instanceof n.MissingDataException)th
;e[103]=214;e[104]=220;e[105]=225;e[106]=224;e[107]=226;e[108]=228;e[109]=227;e[110]=229;e[111]=231;e[112]=233;e[113]=232;e[114]=234;e[115]=235;e[116]=237;e[117]=236;e[118]=238;e[119]=239;e[120]=241;e[121]=243;e[122]=242;e[123]=244;e[124]=246;e[125]=245;e[126]=250;e[127]=249;e[128]=251;e[129]=252;e[130]=8224;e[131]=176;e[132]=162;e[133]=163;e[134]=167;e[135]=8226;e[136]=182;e[137]=223;e[138]=174;e[139]=169;e[140]=8482;e[141]=180;e[142]=168;e[143]=8800;e[144]=198;e[145]=216;e[146]=8734;e[147]=177;e[148]=8804;e[149]=8805;e[150]=165;e[151]=181;e[152]=8706;e[153]=8721;e[154]=8719;e[156]=8747;e[157]=170;e[158]=186;e[159]=8486;e[160]=230;e[161]=248;e[162]=191;e[163]=161;e[164]=172;e[165]=8730;e[166]=402;e[167]=8776;e[168]=8710;e[169]=171;e[170]=187;e[171]=8230;e[210]=218;e[223]=711;e[224]=321;e[225]=322;e[227]=353;e[229]=382;e[234]=253;e[252]=263;e[253]=268;e[254]=269;e[258]=258;e[260]=260;e[261]=261;e[265]=280;e[266]=281;e[268]=283;e[269]=313;e[275]=323;e[276]=324;e[278]=328;e[284]=345;e[285]=346;e[286]=347;e[292]=367;e[295]=377;e[296]=378;e[298]=380;e[305]=963;e[306]=964;e[307]=966;e[308]=8215;e[309]=8252;e[310]=8319;e[311]=8359;e[312]=8592;e[313]=8593;e[337]=9552;e[493]=1039;e[494]=1040;e[705]=1524;e[706]=8362;e[710]=64288;e[711]=64298;e[759]=1617;e[761]=1776;e[763]=1778;e[775]=1652;e[777]=1764;e[778]=1780;e[779]=1781;e[780]=1782;e[782]=771;e[783]=64726;e[786]=8363;e[788]=8532;e[790]=768;e[791]=769;e[792]=768;e[795]=803;e[797]=64336;e[798]=64337;e[799]=64342;e[800]=64343;e[801]=64344;e[802]=64345;e[803]=64362;e[804]=64363;e[805]=64364;e[2424]=7821;e[2425]=7822;e[2426]=7823;e[2427]=7824;e[2428]=7825;e[2429]=7826;e[2430]=7827;e[2433]=7682;e[2678]=8045;e[2679]=8046;e[2830]=1552;e[2838]=686;e[2840]=751;e[2842]=753;e[2843]=754;e[2844]=755;e[2846]=757;e[2856]=767;e[2857]=848;e[2858]=849;e[2862]=853;e[2863]=854;e[2864]=855;e[2865]=861;e[2866]=862;e[2906]=7460;e[2908]=7462;e[2909]=7463;e[2910]=7464;e[2912]=7466;e[2913]=7467;e[2914]=7468;e[2916]=7470;e[2917]=7471;e[2918]=7472;e[2920]=7474;e[2921]=7475;e[2922]=7476;e[2924]=7478;e[2925]=7479;e[2926]=7480;e[2928]=7482;e[2929]=7483;e[2930]=7484;e[2932]=7486;e[2933]=7487;e[2934]=7488;e[2936]=7490;e[2937]=7491;e[2938]=7492;e[2940]=7494;e[2941]=7495;e[2942]=7496;e[2944]=7498;e[2946]=7500;e[2948]=7502;e[2950]=7504;e[2951]=7505;e[2952]=7506;e[2954]=7508;e[2955]=7509;e[2956]=7510;e[2958]=7512;e[2959]=7513;e[2960]=7514;e[2962]=7516;e[2963]=7517;e[2964]=7518;e[2966]=7520;e[2967]=7521;e[2968]=7522;e[2970]=7524;e[2971]=7525;e[2972]=7526;e[2974]=7528;e[2975]=7529;e[2976]=7530;e[2978]=1537;e[2979]=1538;e[2980]=1539;e[2982]=1549;e[2983]=1551;e[2984]=1552;e[2986]=1554;e[2987]=1555;e[2988]=1556;e[2990]=1623;e[2991]=1624;e[2995]=1775;e[2999]=1791;e[3002]=64290;e[3003]=64291;e[3004]=64292;e[3006]=64294;e[3007]=64295;e[3008]=64296;e[3011]=1900;e[3014]=8223;e[3015]=8244;e[3017]=7532;e[3018]=7533;e[3019]=7534;e[3075]=7590;e[3076]=7591;e[3079]=7594;e[3080]=7595;e[3083]=7598;e[3084]=7599;e[3087]=7602;e[3088]=7603;e[3091]=7606;e[3092]=7607;e[3095]=7610;e[3096]=7611;e[3099]=7614;e[3100]=7615;e[3103]=7618;e[3104]=7619;e[3107]=8337;e[3108]=8338;e[3116]=1884;e[3119]=1885;e[3120]=1885;e[3123]=1886;e[3124]=1886;e[3127]=1887;e[3128]=1887;e[3131]=1888;e[3132]=1888;e[3135]=1889;e[3136]=1889;e[3139]=1890;e[3140]=1890;e[3143]=1891;e[3144]=1891;e[3147]=1892;e[3148]=1892;e[3153]=580;e[3154]=581;e[3157]=584;e[3158]=585;e[3161]=588;e[3162]=589;e[3165]=891;e[3166]=892;e[3169]=1274;e[3170]=1275;e[3173]=1278;e[3174]=1279;e[3181]=7622;e[3182]=7623;e[3282]=11799;e[3316]=578;e[3379]=42785;e[3393]=1159;e[3416]=8377}),l=(0,a.getLookupTableFactory)(function(e){e[227]=322;e[264]=261;e[291]=346});t.getStdFontMap=i;t.getNonStdFontMap=n;t.getSerifFonts=s;t.getSymbolsFonts=o;t.getGlyphMapForStandardFonts=c;t.getSupplementalGlyphMapForArialBlack=l},function(e,t,r){"use strict";function a(e){return e>=65520&&e<=65535?0:e>=62976&&e<=63743?l()[e]||e:e}function i(e,t){var r=t[e];if(void 0!==r)return r;if(!e)return-1;if("u"===e[0]){var a,i=e.length;if(7===i&&"n"===e[1]&&"i"===e[2])a=e.substr(3);else{if(!(i>=5&&i<=7))return-1;a=e.substr(1)}if(
if(null!==this._queuedChunk){var e=this._queuedChunk;this._queuedChunk=null;return Promise.resolve({value:e,done:!1})}if(this._done)return Promise.resolve({value:void 0,done:!0});var t=(0,c.createPromiseCapability)();this._requests.push(t);return t.promise},cancel:function(e){this._done=!0;this._requests.forEach(function(e){e.resolve({value:void 0,done:!0})});this._requests=[];this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId);this._close()}};(0,l.setPDFNetworkStreamClass)(n);t.PDFNetworkStream=n;t.NetworkManager=a},function(e,t,r){"use strict";function a(){}Object.defineProperty(t,"__esModule",{value:!0});t.AnnotationFactory=t.AnnotationBorderStyle=t.Annotation=void 0;var i=r(0),n=r(16),s=r(1),o=r(3),c=r(14),l=r(2);a.prototype={create:function(e,t,r,a){var n=e.fetchIfRef(t);if((0,s.isDict)(n)){var o=(0,s.isRef)(t)?t.toString():"annot_"+a.createObjId(),c=n.get("Subtype");c=(0,s.isName)(c)?c.name:null;var l={xref:e,dict:n,ref:(0,s.isRef)(t)?t:null,subtype:c,id:o,pdfManager:r};switch(c){case"Link":return new b(l);case"Text":return new m(l);case"Widget":var u=i.Util.getInheritableProperty(n,"FT");u=(0,s.isName)(u)?u.name:null;switch(u){case"Tx":return new d(l);case"Btn":return new g(l);case"Ch":return new p(l)}(0,i.warn)('Unimplemented widget field type "'+u+'", falling back to base field type.');return new f(l);case"Popup":return new v(l);case"Line":return new y(l);case"Highlight":return new k(l);case"Underline":return new w(l);case"Squiggly":return new S(l);case"StrikeOut":return new C(l);case"FileAttachment":return new x(l);default:c?(0,i.warn)('Unimplemented annotation type "'+c+'", falling back to base annotation.'):(0,i.warn)("Annotation is missing the required /Subtype.");return new h(l)}}}};var h=function(){function e(e,t,r){var a=i.Util.getAxialAlignedBoundingBox(t,r),n=a[0],s=a[1],o=a[2],c=a[3];if(n===o||s===c)return[1,0,0,1,e[0],e[1]];var l=(e[2]-e[0])/(o-n),h=(e[3]-e[1])/(c-s);return[l,0,0,h,e[0]-n*l,e[1]-s*h]}function t(e){var t=e.dict;this.setFlags(t.get("F"));this.setRectangle(t.getArray("Rect"));this.setColor(t.getArray("C"));this.setBorderStyle(t);this.setAppearance(t);this.data={};this.data.id=e.id;this.data.subtype=e.subtype;this.data.annotationFlags=this.flags;this.data.rect=this.rectangle;this.data.color=this.color;this.data.borderStyle=this.borderStyle;this.data.hasAppearance=!!this.appearance}t.prototype={_hasFlag:function(e,t){return!!(e&t)},_isViewable:function(e){return!this._hasFlag(e,i.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,i.AnnotationFlag.HIDDEN)&&!this._hasFlag(e,i.AnnotationFlag.NOVIEW)},_isPrintable:function(e){return this._hasFlag(e,i.AnnotationFlag.PRINT)&&!this._hasFlag(e,i.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,i.AnnotationFlag.HIDDEN)},get viewable(){return 0===this.flags||this._isViewable(this.flags)},get printable(){return 0!==this.flags&&this._isPrintable(this.flags)},setFlags:function(e){this.flags=(0,i.isInt)(e)&&e>0?e:0},hasFlag:function(e){return this._hasFlag(this.flags,e)},setRectangle:function(e){(0,i.isArray)(e)&&4===e.length?this.rectangle=i.Util.normalizeRect(e):this.rectangle=[0,0,0,0]},setColor:function(e){var t=new Uint8Array(3);if((0,i.isArray)(e))switch(e.length){case 0:this.color=null;break;case 1:o.ColorSpace.singletons.gray.getRgbItem(e,0,t,0);this.color=t;break;case 3:o.ColorSpace.singletons.rgb.getRgbItem(e,0,t,0);this.color=t;break;case 4:o.ColorSpace.singletons.cmyk.getRgbItem(e,0,t,0);this.color=t;break;default:this.color=t}else this.color=t},setBorderStyle:function(e){this.borderStyle=new u;if((0,s.isDict)(e))if(e.has("BS")){var t=e.get("BS"),r=t.get("Type");if(!r||(0,s.isName)(r,"Border")){this.borderStyle.setWidth(t.get("W"));this.borderStyle.setStyle(t.get("S"));this.borderStyle.setDashArray(t.getArray("D"))}}else if(e.has("Border")){var a=e.getArray("Border");if((0,i.isArray)(a)&&a.length>=3){this.borderStyle.setHorizontalCornerRadius(a[0]);this.borderStyle.setVerticalCornerRadius(a[1]);this.borderStyle.setWidth(a[2]);4===a.length&&this.borderStyle.setDashArray(a[3])}}else this.borderStyle.setWidth(0)},s
;if((0,i.isCmd)(s,"endcidchar"))return;t(s);var o=e(s);s=n.getObj();r(s);var c=s;a.mapOne(o,c)}}function g(a,n){for(;;){var s=n.getObj();if((0,i.isEOF)(s))break;if((0,i.isCmd)(s,"endcidrange"))return;t(s);var o=e(s);s=n.getObj();t(s);var c=e(s);s=n.getObj();r(s);var l=s;a.mapCidRange(o,c,l)}}function p(t,r){for(;;){var n=r.getObj();if((0,i.isEOF)(n))break;if((0,i.isCmd)(n,"endcodespacerange"))return;if(!(0,a.isString)(n))break;var s=e(n);n=r.getObj();if(!(0,a.isString)(n))break;var o=e(n);t.addCodespaceRange(n.length,s,o)}(0,a.error)("Invalid codespace range.")}function m(e,t){var r=t.getObj();(0,a.isInt)(r)&&(e.vertical=!!r)}function b(e,t){var r=t.getObj();(0,i.isName)(r)&&(0,a.isString)(r.name)&&(e.name=r.name)}function v(e,t,r,n){var s,o;e:for(;;)try{var c=t.getObj();if((0,i.isEOF)(c))break;if((0,i.isName)(c)){"WMode"===c.name?m(e,t):"CMapName"===c.name&&b(e,t);s=c}else if((0,i.isCmd)(c))switch(c.cmd){case"endcmap":break e;case"usecmap":(0,i.isName)(s)&&(o=s.name);break;case"begincodespacerange":p(e,t);break;case"beginbfchar":u(e,t);break;case"begincidchar":d(e,t);break;case"beginbfrange":f(e,t);break;case"begincidrange":g(e,t)}}catch(e){if(e instanceof a.MissingDataException)throw e;(0,a.warn)("Invalid cMap data: "+e);continue}!n&&o&&(n=o);return n?y(e,r,n):Promise.resolve(e)}function y(e,t,r){return k(r,t).then(function(t){e.useCMap=t;if(0===e.numCodespaceRanges){for(var r=e.useCMap.codespaceRanges,a=0;a<r.length;a++)e.codespaceRanges[a]=r[a].slice();e.numCodespaceRanges=e.useCMap.numCodespaceRanges}e.useCMap.forEach(function(t,r){e.contains(t)||e.mapOne(t,e.useCMap.lookup(t))});return e})}function k(e,t){if("Identity-H"===e)return Promise.resolve(new l(!1,2));if("Identity-V"===e)return Promise.resolve(new l(!0,2));if(-1===o.indexOf(e))return Promise.reject(new Error("Unknown CMap name: "+e));(0,a.assert)(t,"Built-in CMap parameters are not provided.");return t(e).then(function(e){var r=e.cMapData,i=e.compressionType,o=new c(!0);if(i===a.CMapCompressionType.BINARY)return(new h).process(r,o,function(e){return y(o,t,e)});(0,a.assert)(i===a.CMapCompressionType.NONE,"TODO: Only BINARY/NONE CMap compression is currently supported.");var l=new n.Lexer(new s.Stream(r));return v(o,l,t,null)})}return{create:function(e){var t=e.encoding,r=e.fetchBuiltInCMap,a=e.useCMap;if((0,i.isName)(t))return k(t.name,r);if((0,i.isStream)(t)){return v(new c,new n.Lexer(t),r,a).then(function(e){return e.isIdentityCMap?k(e.name,r):e})}return Promise.reject(new Error("Encoding required."))}}}();t.CMap=c;t.IdentityCMap=l;t.CMapFactory=u},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.PDFDocument=t.Page=void 0;var a=function(){function e(e,t){var r=[],a=!0,i=!1,n=void 0;try{for(var s,o=e[Symbol.iterator]();!(a=(s=o.next()).done);a=!0){r.push(s.value);if(t&&r.length===t)break}}catch(e){i=!0;n=e}finally{try{!a&&o.return&&o.return()}finally{if(i)throw n}}return r}return function(t,r){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,r);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),i=r(0),n=r(16),s=r(1),o=r(2),c=r(14),l=r(20),h=r(13),u=r(5),f=function(){function e(e,t){return"display"===t&&e.viewable||"print"===t&&e.printable}function t(e,t,r,a,i,n,s){this.pdfManager=e;this.pageIndex=r;this.pageDict=a;this.xref=t;this.ref=i;this.fontCache=n;this.builtInCMapCache=s;this.evaluatorOptions=e.evaluatorOptions;this.resourcesPromise=null;var o="p"+this.pageIndex+"_",c={obj:0};this.idFactory={createObjId:function(){return o+ ++c.obj}}}var r=[0,0,612,792];t.prototype={getPageProp:function(e){return this.pageDict.get(e)},getInheritedPageProp:function(e,t){var r=this.pageDict,a=null,n=0;t=t||!1;for(;r;){var o=t?r.getArray(e):r.get(e);if(void 0!==o){a||(a=[]);a.push(o)}if(++n>100){(0,i.warn)("getInheritedPageProp: maximum loop count exceeded for "+e);return a?a[0]:void 0}r=r.get("Parent")}if(a)return 1!==a.length&&(0,s.isDict)(a[0])?s.Dict.merge(this.xref,a):a[0]},get content(){return this.getPageProp("Contents")},get resources(){return(0,i.shadow)(this,"resources",this.g
u=c++;if(y&&61440===u){u=61472;c=u+1}}while(void 0!==o[u]&&c<=v);n[u]=h;s[l]=u;o[u]=!0}return{toFontChar:s,charCodeToGlyphId:n,nextAvailableFontCharCode:c}}function N(e,t){var r=[];for(var a in e)e[a]>=t||r.push({fontCharCode:0|a,glyphId:e[a]});r.sort(function(e,t){return e.fontCharCode-t.fontCharCode});for(var i=[],n=r.length,s=0;s<n;){var o=r[s].fontCharCode,c=[r[s].glyphId];++s;for(var l=o;s<n&&l+1===r[s].fontCharCode;){c.push(r[s].glyphId);++l;++s;if(65535===l)break}i.push([o,l,c])}return i}function q(e,t){var r,a,i,n,s=N(e,t),o=s[s.length-1][1]>65535?2:1,l="\0\0"+m(o)+"\0\0"+(0,c.string32)(4+8*o);for(r=s.length-1;r>=0&&!(s[r][0]<=65535);--r);var h=r+1;s[r][0]<65535&&65535===s[r][1]&&(s[r][1]=65534);var u,f,d,g,p=s[r][1]<65535?1:0,b=h+p,v=O.getSearchParams(b,2),y="",k="",w="",S="",C="",x=0;for(r=0,a=h;r<a;r++){u=s[r];f=u[0];d=u[1];y+=m(f);k+=m(d);g=u[2];var A=!0;for(i=1,n=g.length;i<n;++i)if(g[i]!==g[i-1]+1){A=!1;break}if(A){w+=m(g[0]-f&65535);S+=m(0)}else{var I=2*(b-r)+2*x;x+=d-f+1;w+=m(0);S+=m(I);for(i=0,n=g.length;i<n;++i)C+=m(g[i])}}if(p>0){k+="ÿÿ";y+="ÿÿ";w+="\0";S+="\0\0"}var P="\0\0"+m(2*b)+m(v.range)+m(v.entry)+m(v.rangeShift)+k+"\0\0"+y+w+S+C,T="",B="";if(o>1){l+="\0\0\n"+(0,c.string32)(4+8*o+4+P.length);T="";for(r=0,a=s.length;r<a;r++){u=s[r];f=u[0];g=u[2];var R=g[0];for(i=1,n=g.length;i<n;++i)if(g[i]!==g[i-1]+1){d=u[0]+i-1;T+=(0,c.string32)(f)+(0,c.string32)(d)+(0,c.string32)(R);f=d+1;R=g[i]}T+=(0,c.string32)(f)+(0,c.string32)(u[1])+(0,c.string32)(R)}B="\0\f\0\0"+(0,c.string32)(T.length+16)+"\0\0\0\0"+(0,c.string32)(T.length/12)}return l+"\0"+m(P.length+4)+P+B+T}function j(e){var t=new p.Stream(e.data),r=t.getUint16();t.getBytes(60);var a=t.getUint16();if(r<4&&768&a)return!1;if(t.getUint16()>t.getUint16())return!1;t.getBytes(6);if(0===t.getUint16())return!1;e.data[8]=e.data[9]=0;return!0}function _(e,t,r){r=r||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};var a=0,i=0,n=0,s=0,o=null,l=0;if(t)for(var h in t){h|=0;(o>h||!o)&&(o=h);l<h&&(l=h);var u=(0,d.getUnicodeRangeFor)(h);u<32?a|=1<<u:u<64?i|=1<<u-32:u<96?n|=1<<u-64:u<123?s|=1<<u-96:(0,c.error)("Unicode ranges Bits > 123 are reserved for internal usage")}else{o=0;l=255}var f=e.bbox||[0,0,0,0],g=r.unitsPerEm||1/(e.fontMatrix||c.FONT_IDENTITY_MATRIX)[0],p=e.ascentScaled?1:g/k,b=r.ascent||Math.round(p*(e.ascent||f[3])),v=r.descent||Math.round(p*(e.descent||f[1]));v>0&&e.descent>0&&f[1]<0&&(v=-v);var y=r.yMax||b,w=-r.yMin||-v;return"\0$ô\0\0\0Š»\0\0\0ŒŠ»\0\0ß\x001\0\0\0\0"+String.fromCharCode(e.fixedPitch?9:0)+"\0\0\0\0\0\0"+(0,c.string32)(a)+(0,c.string32)(i)+(0,c.string32)(n)+(0,c.string32)(s)+"*21*"+m(e.italicAngle?1:0)+m(o||e.firstChar)+m(l||e.lastChar)+m(b)+m(v)+"\0d"+m(y)+m(w)+"\0\0\0\0\0\0\0\0"+m(e.xHeight)+m(e.capHeight)+m(0)+m(o||e.firstChar)+"\0"}function z(e){var t=Math.floor(e.italicAngle*Math.pow(2,16));return"\0\0\0"+(0,c.string32)(t)+"\0\0\0\0"+(0,c.string32)(e.fixedPitch)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}function H(e,t){t||(t=[[],[]]);var r,a,i,n,s,o=[t[0][0]||"Original licence",t[0][1]||e,t[0][2]||"Unknown",t[0][3]||"uniqueID",t[0][4]||e,t[0][5]||"Version 0.11",t[0][6]||"",t[0][7]||"Unknown",t[0][8]||"Unknown",t[0][9]||"Unknown"],c=[];for(r=0,a=o.length;r<a;r++){s=t[1][r]||o[r];var l=[];for(i=0,n=s.length;i<n;i++)l.push(m(s.charCodeAt(i)));c.push(l.join(""))}var h=[o,c],u=["\0","\0"],f=["\0\0","\0"],d=["\0\0","\t"],g=o.length*u.length,p="\0\0"+m(g)+m(12*g+6),b=0;for(r=0,a=u.length;r<a;r++){var v=h[r];for(i=0,n=v.length;i<n;i++){s=v[i];p+=u[r]+f[r]+d[r]+m(i)+m(s.length)+m(b);b+=s.length}}p+=o.join("")+c.join("");return p}e.getFontID=function(){var e=1;return function(){return String(e++)}}();e.prototype={name:null,font:null,mimetype:null,encoding:null,get renderer(){var e=g.FontRendererFactory.create(this,w);return(0,c.shadow)(this,"renderer",e)},exportData:function(){var e={};for(var t in this)this.hasOwnProperty(t)&&(e[t]=this[t]);return e},checkAndRepair:function(e,i,n){function f(e,t,r,a,i,n){if(r-t<=12)return 0;var s=e.subarray(t,r),o=s[0]<<8|s[1];if(32768&o){a.set(s,i);return s.length}var c,l=10,h=0;
;var r,i,n=this.width,s=this.height,o=this.bpc,c=n*t*o+7>>3,l=this.getImageBytes(s*c),h=this.getComponents(l);if(1!==o){this.needsDecode&&this.decodeBuffer(h);i=n*s;var u=255/((1<<o)-1);for(r=0;r<i;++r)e[r]=u*h[r]|0}else{i=n*s;if(this.needsDecode)for(r=0;r<i;++r)e[r]=h[r]-1&255;else for(r=0;r<i;++r)e[r]=255&-h[r]}},getImageBytes:function(e,t,r,a){this.image.reset();this.image.drawWidth=t||this.width;this.image.drawHeight=r||this.height;this.image.forceRGB=!!a;return this.image.getBytes(e)}};return c}();t.PDFImage=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Jbig2Image=void 0;var a=r(0),i=r(10),n=function(){function e(){}function t(e,t,r){this.data=e;this.start=t;this.end=r}function r(e,t,r){function a(e){for(var t=0,a=0;a<e;a++){var s=r.readBit(i,n);n=n<256?n<<1|s:511&(n<<1|s)|256;t=t<<1|s}return t>>>0}var i=e.getContexts(t),n=1,s=a(1),o=a(1)?a(1)?a(1)?a(1)?a(1)?a(32)+4436:a(12)+340:a(8)+84:a(6)+20:a(4)+4:a(2);return 0===s?o:o>0?-o:null}function n(e,t,r){for(var a=e.getContexts("IAID"),i=1,n=0;n<r;n++){i=i<<1|t.readBit(a,i)}return r<31?i&(1<<r)-1:2147483647&i}function s(e,t,r){var a,i,n,s,o,c,l,h=r.decoder,u=r.contextCache.getContexts("GB"),f=[];for(i=0;i<t;i++){o=f[i]=new Uint8Array(e);c=i<1?o:f[i-1];l=i<2?o:f[i-2];a=l[0]<<13|l[1]<<12|l[2]<<11|c[0]<<7|c[1]<<6|c[2]<<5|c[3]<<4;for(n=0;n<e;n++){o[n]=s=h.readBit(u,a);a=(31735&a)<<1|(n+3<e?l[n+3]<<11:0)|(n+4<e?c[n+4]<<4:0)|s}}return f}function o(e,t,r,i,n,o,c,l){e&&(0,a.error)("JBIG2 error: MMR encoding is not supported");if(0===i&&!o&&!n&&4===c.length&&3===c[0].x&&-1===c[0].y&&-3===c[1].x&&-1===c[1].y&&2===c[2].x&&-2===c[2].y&&-2===c[3].x&&-2===c[3].y)return s(t,r,l);var h=!!o,u=k[i].concat(c);u.sort(function(e,t){return e.y-t.y||e.x-t.x});var f,d,g=u.length,p=new Int8Array(g),m=new Int8Array(g),b=[],v=0,y=0,w=0,C=0;for(d=0;d<g;d++){p[d]=u[d].x;m[d]=u[d].y;y=Math.min(y,u[d].x);w=Math.max(w,u[d].x);C=Math.min(C,u[d].y);d<g-1&&u[d].y===u[d+1].y&&u[d].x===u[d+1].x-1?v|=1<<g-1-d:b.push(d)}var x=b.length,A=new Int8Array(x),I=new Int8Array(x),O=new Uint16Array(x);for(f=0;f<x;f++){d=b[f];A[f]=u[d].x;I[f]=u[d].y;O[f]=1<<g-1-d}for(var P,T,B,R,F,E=-y,M=-C,D=t-w,L=S[i],U=new Uint8Array(t),N=[],q=l.decoder,j=l.contextCache.getContexts("GB"),_=0,z=0,H=0;H<r;H++){if(n){_^=q.readBit(j,L);if(_){N.push(U);continue}}U=new Uint8Array(U);N.push(U);for(P=0;P<t;P++)if(h&&o[H][P])U[P]=0;else{if(P>=E&&P<D&&H>=M){z=z<<1&v;for(d=0;d<x;d++){T=H+I[d];B=P+A[d];R=N[T][B];if(R){R=O[d];z|=R}}}else{z=0;F=g-1;for(d=0;d<g;d++,F--){B=P+p[d];if(B>=0&&B<t){T=H+m[d];if(T>=0){R=N[T][B];R&&(z|=R<<F)}}}}var G=q.readBit(j,z);U[P]=G}}return N}function c(e,t,r,i,n,s,o,c,l){var h=w[r].coding;0===r&&(h=h.concat([c[0]]));var u,f=h.length,d=new Int32Array(f),g=new Int32Array(f);for(u=0;u<f;u++){d[u]=h[u].x;g[u]=h[u].y}var p=w[r].reference;0===r&&(p=p.concat([c[1]]));var m=p.length,b=new Int32Array(m),v=new Int32Array(m);for(u=0;u<m;u++){b[u]=p[u].x;v[u]=p[u].y}for(var y=i[0].length,k=i.length,S=C[r],x=[],A=l.decoder,I=l.contextCache.getContexts("GR"),O=0,P=0;P<t;P++){if(o){O^=A.readBit(I,S);O&&(0,a.error)("JBIG2 error: prediction is not supported")}var T=new Uint8Array(e);x.push(T);for(var B=0;B<e;B++){var R,F,E=0;for(u=0;u<f;u++){R=P+g[u];F=B+d[u];R<0||F<0||F>=e?E<<=1:E=E<<1|x[R][F]}for(u=0;u<m;u++){R=P+v[u]-s;F=B+b[u]-n;R<0||R>=k||F<0||F>=y?E<<=1:E=E<<1|i[R][F]}var M=A.readBit(I,E);T[B]=M}}return x}function l(e,t,i,s,l,u,f,d,g,p,m){e&&(0,a.error)("JBIG2 error: huffman is not supported");for(var b=[],v=0,y=(0,a.log2)(i.length+s),k=m.decoder,w=m.contextCache;b.length<s;){v+=r(w,"IADH",k);for(var S=0;;){var C=r(w,"IADW",k);if(null===C)break;S+=C;var x;if(t){var A=r(w,"IAAI",k);if(A>1)x=h(e,t,S,v,0,A,1,i.concat(b),y,0,0,1,0,u,g,p,m);else{var I=n(w,k,y),O=r(w,"IARDX",k),P=r(w,"IARDY",k);x=c(S,v,g,I<i.length?i[I]:b[I-i.length],O,P,!1,p,m)}}else x=o(!1,S,v,f,!1,null,d,m);b.push(x)}}for(var T=[],B=[],R=!1,F=i.length+s;B.length<F;){for(var E=r(w,"IAEX",k);E--;)B.push(R);R=!R}for(var M=0,D=i.length;M<D;M++)B[M]&&T.push(i[M]);for(var L=0;L<s;M++,L++)B[M]&&T.push(b[L]);return T}function h(e,t,
;e.quotedblbase=500;e.quotedblright=500;e.guillemotright=556;e.ellipsis=1e3;e.perthousand=1e3;e.questiondown=611;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=370;e.Lslash=611;e.Oslash=778;e.OE=1e3;e.ordmasculine=365;e.ae=889;e.dotlessi=278;e.lslash=278;e.oslash=611;e.oe=944;e.germandbls=611;e.Idieresis=278;e.eacute=556;e.abreve=556;e.uhungarumlaut=611;e.ecaron=556;e.Ydieresis=667;e.divide=584;e.Yacute=667;e.Acircumflex=722;e.aacute=556;e.Ucircumflex=722;e.yacute=556;e.scommaaccent=556;e.ecircumflex=556;e.Uring=722;e.Udieresis=722;e.aogonek=556;e.Uacute=722;e.uogonek=611;e.Edieresis=667;e.Dcroat=722;e.commaaccent=250;e.copyright=737;e.Emacron=667;e.ccaron=556;e.aring=556;e.Ncommaaccent=722;e.lacute=278;e.agrave=556;e.Tcommaaccent=611;e.Cacute=722;e.atilde=556;e.Edotaccent=667;e.scaron=556;e.scedilla=556;e.iacute=278;e.lozenge=494;e.Rcaron=722;e.Gcommaaccent=778;e.ucircumflex=611;e.acircumflex=556;e.Amacron=722;e.rcaron=389;e.ccedilla=556;e.Zdotaccent=611;e.Thorn=667;e.Omacron=778;e.Racute=722;e.Sacute=667;e.dcaron=743;e.Umacron=722;e.uring=611;e.threesuperior=333;e.Ograve=778;e.Agrave=722;e.Abreve=722;e.multiply=584;e.uacute=611;e.Tcaron=611;e.partialdiff=494;e.ydieresis=556;e.Nacute=722;e.icircumflex=278;e.Ecircumflex=667;e.adieresis=556;e.edieresis=556;e.cacute=556;e.nacute=611;e.umacron=611;e.Ncaron=722;e.Iacute=278;e.plusminus=584;e.brokenbar=280;e.registered=737;e.Gbreve=778;e.Idotaccent=278;e.summation=600;e.Egrave=667;e.racute=389;e.omacron=611;e.Zacute=611;e.Zcaron=611;e.greaterequal=549;e.Eth=722;e.Ccedilla=722;e.lcommaaccent=278;e.tcaron=389;e.eogonek=556;e.Uogonek=722;e.Aacute=722;e.Adieresis=722;e.egrave=556;e.zacute=500;e.iogonek=278;e.Oacute=778;e.oacute=611;e.amacron=556;e.sacute=556;e.idieresis=278;e.Ocircumflex=778;e.Ugrave=722;e.Delta=612;e.thorn=611;e.twosuperior=333;e.Odieresis=778;e.mu=611;e.igrave=278;e.ohungarumlaut=611;e.Eogonek=667;e.dcroat=611;e.threequarters=834;e.Scedilla=667;e.lcaron=400;e.Kcommaaccent=722;e.Lacute=611;e.trademark=1e3;e.edotaccent=556;e.Igrave=278;e.Imacron=278;e.Lcaron=611;e.onehalf=834;e.lessequal=549;e.ocircumflex=611;e.ntilde=611;e.Uhungarumlaut=722;e.Eacute=667;e.emacron=556;e.gbreve=611;e.onequarter=834;e.Scaron=667;e.Scommaaccent=667;e.Ohungarumlaut=778;e.degree=400;e.ograve=611;e.Ccaron=722;e.ugrave=611;e.radical=549;e.Dcaron=722;e.rcommaaccent=389;e.Ntilde=722;e.otilde=611;e.Rcommaaccent=722;e.Lcommaaccent=611;e.Atilde=722;e.Aogonek=722;e.Aring=722;e.Otilde=778;e.zdotaccent=500;e.Ecaron=667;e.Iogonek=278;e.kcommaaccent=556;e.minus=584;e.Icircumflex=278;e.ncaron=611;e.tcommaaccent=333;e.logicalnot=584;e.odieresis=611;e.udieresis=611;e.notequal=549;e.gcommaaccent=611;e.eth=611;e.zcaron=500;e.ncommaaccent=611;e.onesuperior=333;e.imacron=278;e.Euro=556});e["Helvetica-BoldOblique"]=(0,a.getLookupTableFactory)(function(e){e.space=278;e.exclam=333;e.quotedbl=474;e.numbersign=556;e.dollar=556;e.percent=889;e.ampersand=722;e.quoteright=278;e.parenleft=333;e.parenright=333;e.asterisk=389;e.plus=584;e.comma=278;e.hyphen=333;e.period=278;e.slash=278;e.zero=556;e.one=556;e.two=556;e.three=556;e.four=556;e.five=556;e.six=556;e.seven=556;e.eight=556;e.nine=556;e.colon=333;e.semicolon=333;e.less=584;e.equal=584;e.greater=584;e.question=611;e.at=975;e.A=722;e.B=722;e.C=722;e.D=722;e.E=667;e.F=611;e.G=778;e.H=722;e.I=278;e.J=556;e.K=722;e.L=611;e.M=833;e.N=722;e.O=778;e.P=667;e.Q=778;e.R=722;e.S=667;e.T=611;e.U=722;e.V=667;e.W=944;e.X=667;e.Y=667;e.Z=611;e.bracketleft=333;e.backslash=278;e.bracketright=333;e.asciicircum=584;e.underscore=556;e.quoteleft=278;e.a=556;e.b=611;e.c=556;e.d=611;e.e=556;e.f=333;e.g=611;e.h=611;e.i=278;e.j=278;e.k=556;e.l=278;e.m=889;e.n=611;e.o=611;e.p=611;e.q=611;e.r=389;e.s=556;e.t=333;e.u=611;e.v=556;e.w=778;e.x=556;e.y=556;e.z=500;e.braceleft=389;e.bar=280;e.braceright=389;e.asciitilde=584;e.exclamdown=333;e.cent=556;e.sterling=556;e.fraction=167;e.yen=556;e.florin=556;e.section=556;e.curr
;e.a23=571;e.a24=677;e.a25=763;e.a26=760;e.a27=759;e.a28=754;e.a6=494;e.a7=552;e.a8=537;e.a9=577;e.a10=692;e.a29=786;e.a30=788;e.a31=788;e.a32=790;e.a33=793;e.a34=794;e.a35=816;e.a36=823;e.a37=789;e.a38=841;e.a39=823;e.a40=833;e.a41=816;e.a42=831;e.a43=923;e.a44=744;e.a45=723;e.a46=749;e.a47=790;e.a48=792;e.a49=695;e.a50=776;e.a51=768;e.a52=792;e.a53=759;e.a54=707;e.a55=708;e.a56=682;e.a57=701;e.a58=826;e.a59=815;e.a60=789;e.a61=789;e.a62=707;e.a63=687;e.a64=696;e.a65=689;e.a66=786;e.a67=787;e.a68=713;e.a69=791;e.a70=785;e.a71=791;e.a72=873;e.a73=761;e.a74=762;e.a203=762;e.a75=759;e.a204=759;e.a76=892;e.a77=892;e.a78=788;e.a79=784;e.a81=438;e.a82=138;e.a83=277;e.a84=415;e.a97=392;e.a98=392;e.a99=668;e.a100=668;e.a89=390;e.a90=390;e.a93=317;e.a94=317;e.a91=276;e.a92=276;e.a205=509;e.a85=509;e.a206=410;e.a86=410;e.a87=234;e.a88=234;e.a95=334;e.a96=334;e.a101=732;e.a102=544;e.a103=544;e.a104=910;e.a106=667;e.a107=760;e.a108=760;e.a112=776;e.a111=595;e.a110=694;e.a109=626;e.a120=788;e.a121=788;e.a122=788;e.a123=788;e.a124=788;e.a125=788;e.a126=788;e.a127=788;e.a128=788;e.a129=788;e.a130=788;e.a131=788;e.a132=788;e.a133=788;e.a134=788;e.a135=788;e.a136=788;e.a137=788;e.a138=788;e.a139=788;e.a140=788;e.a141=788;e.a142=788;e.a143=788;e.a144=788;e.a145=788;e.a146=788;e.a147=788;e.a148=788;e.a149=788;e.a150=788;e.a151=788;e.a152=788;e.a153=788;e.a154=788;e.a155=788;e.a156=788;e.a157=788;e.a158=788;e.a159=788;e.a160=894;e.a161=838;e.a163=1016;e.a164=458;e.a196=748;e.a165=924;e.a192=748;e.a166=918;e.a167=927;e.a168=928;e.a169=928;e.a170=834;e.a171=873;e.a172=828;e.a173=924;e.a162=924;e.a174=917;e.a175=930;e.a176=931;e.a177=463;e.a178=883;e.a179=836;e.a193=836;e.a180=867;e.a199=867;e.a181=696;e.a200=696;e.a182=874;e.a201=874;e.a183=760;e.a184=946;e.a197=771;e.a185=865;e.a194=771;e.a198=888;e.a186=967;e.a195=888;e.a187=831;e.a188=873;e.a189=927;e.a190=970;e.a191=918})});t.getMetrics=i},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},i=function(e){function t(e){this.h1=e?4294967295&e:3285377520;this.h2=e?4294967295&e:3285377520}t.prototype={update:function(e){var t;if("string"==typeof e){var r=new Uint8Array(2*e.length),i=0;for(t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<=255)r[i++]=n;else{r[i++]=n>>>8;r[i++]=255&n}}}else{if(!("object"===(void 0===e?"undefined":a(e))&&"byteLength"in e))throw new Error("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");r=e;i=r.byteLength}var s=i>>2,o=i-4*s,c=new Uint32Array(r.buffer,0,s),l=0,h=0,u=this.h1,f=this.h2,d=3432918353,g=461845907;for(t=0;t<s;t++)if(1&t){l=c[t];l=l*d&4294901760|11601*l&65535;l=l<<15|l>>>17;l=l*g&4294901760|13715*l&65535;u^=l;u=u<<13|u>>>19;u=5*u+3864292196}else{h=c[t];h=h*d&4294901760|11601*h&65535;h=h<<15|h>>>17;h=h*g&4294901760|13715*h&65535;f^=h;f=f<<13|f>>>19;f=5*f+3864292196}l=0;switch(o){case 3:l^=r[4*s+2]<<16;case 2:l^=r[4*s+1]<<8;case 1:l^=r[4*s];l=l*d&4294901760|11601*l&65535;l=l<<15|l>>>17;l=l*g&4294901760|13715*l&65535;1&s?u^=l:f^=l}this.h1=u;this.h2=f;return this},hexdigest:function(){var e=this.h1,t=this.h2;e^=t>>>1;e=3981806797*e&4294901760|36045*e&65535;t=4283543511*t&4294901760|(2950163797*(t<<16|e>>>16)&4294901760)>>>16;e^=t>>>1;e=444984403*e&4294901760|60499*e&65535;t=3301882366*t&4294901760|(3120437893*(t<<16|e>>>16)&4294901760)>>>16;e^=t>>>1;for(var r=0,a=[e,t],i="";r<a.length;r++){for(var n=(a[r]>>>0).toString(16);n.length<8;)n="0"+n;i+=n}return i}};return t}();t.MurmurHash3_64=i},function(e,t,r){"use strict";function a(e,t,r){return["TilingPattern",r,e,t.getArray("Matrix"),t.getArray("BBox"),t.get("XStep"),t.get("YStep"),t.get("PaintType"),t.get("TilingType")]}Object.defineProperty(t,"__esModule",{value:!0});t.getTilingPatternIR=t.Pattern=void 0;var i=r(0),n=r(3),s=r(1),o=r(6),c={FUNCTION_BASED:1,AXIAL:2,RADIAL:3,FREE_FORM_MESH:4,LATTICE_FORM_MESH:5,COONS_PATCH_MESH:6,TENSOR_PATCH_MESH:7},
})}catch(t){e=!1}if(e)return}Object.defineProperty=function(e,t,r){delete e[t];"get"in r&&e.__defineGetter__(t,r.get);"set"in r&&e.__defineSetter__(t,r.set);if("value"in r){e.__defineSetter__(t,function(e){this.__defineGetter__(t,function(){return e});return e});e[t]=r.value}}}();!function(){if("undefined"!=typeof XMLHttpRequest){var e=XMLHttpRequest.prototype,t=new XMLHttpRequest;"overrideMimeType"in t||Object.defineProperty(e,"overrideMimeType",{value:function(e){}});if(!("responseType"in t)){Object.defineProperty(e,"responseType",{get:function(){return this._responseType||"text"},set:function(e){if("text"===e||"arraybuffer"===e){this._responseType=e;"arraybuffer"===e&&"function"==typeof this.overrideMimeType&&this.overrideMimeType("text/plain; charset=x-user-defined")}}});"undefined"==typeof VBArray?Object.defineProperty(e,"response",{get:function(){if("arraybuffer"!==this.responseType)return this.responseText;var e,t=this.responseText,r=t.length,a=new Uint8Array(r);for(e=0;e<r;++e)a[e]=255&t.charCodeAt(e);return a.buffer}}):Object.defineProperty(e,"response",{get:function(){return"arraybuffer"===this.responseType?new Uint8Array(new VBArray(this.responseBody).toArray()):this.responseText}})}}}();!function(){if(!("btoa"in r)){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.btoa=function(t){var r,a,i="";for(r=0,a=t.length;r<a;r+=3){var n=255&t.charCodeAt(r),s=255&t.charCodeAt(r+1),o=255&t.charCodeAt(r+2),c=n>>2,l=(3&n)<<4|s>>4,h=r+1<a?(15&s)<<2|o>>6:64,u=r+2<a?63&o:64;i+=e.charAt(c)+e.charAt(l)+e.charAt(h)+e.charAt(u)}return i}}}();!function(){if(!("atob"in r)){r.atob=function(e){e=e.replace(/=+$/,"");if(e.length%4==1)throw new Error("bad atob input");for(var t,r,a=0,i=0,n="";r=e.charAt(i++);~r&&(t=a%4?64*t+r:r,a++%4)?n+=String.fromCharCode(255&t>>(-2*a&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);return n}}}();!function(){void 0===Function.prototype.bind&&(Function.prototype.bind=function(e){var t=this,r=Array.prototype.slice.call(arguments,1);return function(){var a=r.concat(Array.prototype.slice.call(arguments));return t.apply(e,a)}})}();!function(){if(g){"dataset"in document.createElement("div")||Object.defineProperty(HTMLElement.prototype,"dataset",{get:function(){if(this._dataset)return this._dataset;for(var e={},t=0,r=this.attributes.length;t<r;t++){var a=this.attributes[t];if("data-"===a.name.substring(0,5)){e[a.name.substring(5).replace(/\-([a-z])/g,function(e,t){return t.toUpperCase()})]=a.value}}Object.defineProperty(this,"_dataset",{value:e,writable:!1,enumerable:!1});return e},enumerable:!0})}}();!function(){function e(e,t,r,a){var i=e.className||"",n=i.split(/\s+/g);""===n[0]&&n.shift();var s=n.indexOf(t);s<0&&r&&n.push(t);s>=0&&a&&n.splice(s,1);e.className=n.join(" ");return s>=0}if(g){if(!("classList"in document.createElement("div"))){var t={add:function(t){e(this.element,t,!0,!1)},contains:function(t){return e(this.element,t,!1,!1)},remove:function(t){e(this.element,t,!1,!0)},toggle:function(t){e(this.element,t,!0,!0)}};Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){if(this._classList)return this._classList;var e=Object.create(t,{element:{value:this,writable:!1,enumerable:!0}});Object.defineProperty(this,"_classList",{value:e,writable:!1,enumerable:!1});return e},enumerable:!0})}}}();!function(){if(!("undefined"==typeof importScripts||"console"in r)){var e={},t={log:function(){var e=Array.prototype.slice.call(arguments);r.postMessage({targetName:"main",action:"console_log",data:e})},error:function(){var e=Array.prototype.slice.call(arguments);r.postMessage({targetName:"main",action:"console_error",data:e})},time:function(t){e[t]=Date.now()},timeEnd:function(t){var r=e[t];if(!r)throw new Error("Unknown timer name "+t);this.log("Timer:",t,Date.now()-r)}};r.console=t}}();!function(){if(g)if("console"in window)if("bind"in console.log);else{console.log=function(e){return function(t){return e(t)}}(console.log);console.error=function(e){return function(t){return e(t)}}(console.error);console.warn=function(e){return