!function(e,t){"object"==typeofexports&&"object"==typeofmodule?module.exports=t():"function"==typeofdefine&&define.amd?define("pdfjs-dist/build/pdf.worker",[],t):"object"==typeofexports?exports["pdfjs-dist/build/pdf.worker"]=t():e["pdfjs-dist/build/pdf.worker"]=e.pdfjsDistBuildPdfWorker=t()}(this,function(){returnfunction(e){functiont(a){if(r[a])returnr[a].exports;vari=r[a]={i:a,l:!1,exports:{}};e[a].call(i.exports,i,i.exports,t);i.l=!0;returni.exports}varr={};t.m=e;t.c=r;t.i=function(e){returne};t.d=function(e,r,a){t.o(e,r)||Object.defineProperty(e,r,{configurable:!1,enumerable:!0,get:a})};t.n=function(e){varr=e&&e.__esModule?function(){returne.default}:function(){returne};t.d(r,"a",r);returnr};t.o=function(e,t){returnObject.prototype.hasOwnProperty.call(e,t)};t.p="";returnt(t.s=36)}([function(e,t,r){"use strict";(function(e){functiona(e){ie=e}functioni(){returnie}functionn(e){ie>=te.infos&&console.log("Info: "+e)}functions(e){ie>=te.warnings&&console.log("Warning: "+e)}functiono(e){console.log("Deprecated API usage: "+e)}functionc(e){if(ie>=te.errors){console.log("Error: "+e);console.log(l())}thrownewError(e)}functionl(){try{thrownewError}catch(e){returne.stack?e.stack.split("\n").slice(2).join("\n"):""}}functionh(e,t){e||c(t)}functionu(e,t){try{varr=newURL(e);if(!r.origin||"null"===r.origin)return!1}catch(e){return!1}vara=newURL(t,r);returnr.origin===a.origin}functionf(e){if(!e)return!1;switch(e.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}functiond(e,t){if(!e)returnnull;try{varr=t?newURL(e,t):newURL(e);if(f(r))returnr}catch(e){}returnnull}functiong(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!1});returnr}functionp(e){vart;returnfunction(){if(e){t=Object.create(null);e(t);e=null}returnt}}functionm(e){if("string"!=typeofe){s("The argument for removeNullCharacters must be a string.");returne}returne.replace(pe,"")}functionb(e){h(null!==e&&"object"===(void0===e?"undefined":H(e))&&void0!==e.length,"Invalid argument for bytesToString");vart=e.length;if(t<8192)returnString.fromCharCode.apply(null,e);for(varr=[],a=0;a<t;a+=8192){vari=Math.min(a+8192,t),n=e.subarray(a,i);r.push(String.fromCharCode.apply(null,n))}returnr.join("")}functionv(e){h("string"==typeofe,"Invalid argument for stringToBytes");for(vart=e.length,r=newUint8Array(t),a=0;a<t;++a)r[a]=255&e.charCodeAt(a);returnr}functiony(e){if(void0!==e.length)returne.length;h(void0!==e.byteLength);returne.byteLength}functionk(e){if(1===e.length&&e[0]instanceofUint8Array)returne[0];vart,r,a,i=0,n=e.length;for(t=0;t<n;t++){r=e[t];a=y(r);i+=a}vars=0,o=newUint8Array(i);for(t=0;t<n;t++){r=e[t];rinstanceofUint8Array||(r="string"==typeofr?v(r):newUint8Array(r));a=r.byteLength;o.set(r,s);s+=a}returno}functionw(e){returnString.fromCharCode(e>>24&255,e>>16&255,e>>8&255,255&e)}functionS(e){for(vart=1,r=0;e>t;){t<<=1;r++}returnr}functionC(e,t){returne[t]<<24>>24}functionx(e,t){returne[t]<<8|e[t+1]}functionA(e,t){return(e[t]<<24|e[t+1]<<16|e[t+2]<<8|e[t+3])>>>0}functionI(){vare=newUint8Array(4);e[0]=1;return1===newUint32Array(e.buffer,0,1)[0]}functionO(){try{newFunction("");return!0}catch(e){return!1}}functionP(e){vart,r=e.length,a=[];if("þ"===e[0]&&"ÿ"===e[1])for(t=2;t<r;t+=2)a.push(String.fromCharCode(e.charCodeAt(t)<<8|e.charCodeAt(t+1)));elsefor(t=0;t<r;++t){vari=ye[e.charCodeAt(t)];a.push(i?String.fromCharCode(i):e.charAt(t))}returna.join("")}functionT(e){returndecodeURIComponent(escape(e))}functionB(e){returnunescape(encodeURIComponent(e))}functionR(e){for(vartine)return!1;return!0}functionF(e){return"boolean"==typeofe}functionE(e){return"number"==typeofe&&(0|e)===e}functionM(e){return"number"==typeofe}functionD(e){return"string"==typeofe}functionL(e){returneinstanceofArray}functionU(e){return"object"===(void0===e?"undefined":H(e))&&null!==e&&void0!==e.byteLength}functionN(e){return32===e||9===e||13===e||10===e}functionq(){return"undefined"==typeof__pdfjsdev_
for(varx=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(varA=e?e.length:0,I=this.bufferLength;;){varO=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];varP=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));varT=(65535&O)+P;if(I+o>=A){e=this.ensureBuffer(I+o);A=e.length}for(varB=0;B<o;++B,++I)e[I]=e[I-T]}}}else{varR;-1===(R=c.getByte())&&(0,a.error)("Bad block header in flate stream");varF=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");varE=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;varM=this.bufferLength;e=this.ensureBuffer(M+F);varD=M+F;this.bufferLength=D;if(0===F)-1===c.peekByte()&&(this.eof=!0);elsefor(varL=M;L<D;++L){if(-1===(R=c.getByte())){this.eof=!0;break}e[L]=R}}};returne}(),d=function(){functione(e,t,r){if(!(0,i.isDict)(r))returne;varn=this.predictor=r.get("Predictor")||1;if(n<=1)returne;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;vars=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);returnthis}e.prototype=Object.create(h.prototype);e.prototype.readBlockTiff=function(){vare=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){vars,o=0,c=0,l=0,h=0,u=t;if(1===a&&1===i)for(s=0;s<e;++s){varf=n[s]^o;f^=f>>1;f^=f>>2;f^=f>>4;o=(1&f)<<7;r[u++]=f}elseif(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{vard=newUint8Array(i+1),g=(1<<a)-1,p=0,m=t,b=this.columns;for(s=0;s<b;++s)for(varv=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(){vare=this.rowBytes,t=this.pixBytes,r=this.str.getByte(),i=this.str.getBytes(e);this.eof=!i.length;if(!this.eof){varn=this.bufferLength,s=this.ensureBuffer(n+e),o=s.subarray(n-e,n);0===o.length&&(o=newUint8Array(e));varc,l,h,u=n;switch(r){case0:for(c=0;c<e;++c)s[u++]=i[c];break;case1:for(c=0;c<t;++c)s[u++]=i[c];for(;c<e;++c){s[u]=s[u-t]+i[c]&255;u++}break;case2:for(c=0;c<e;++c)s[u++]=o[c]+i[c]&255;break;case3: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;case4:for(c=0;c<t;++c){l=o[c];h=i[c];s[u++]=l+h}for(;c<e;++c){l=o[c];varf=o[c-t],d=s[u-t],g=d+l-f,p=g-d;p<0&&(p=-p);varm=g-l;m<0&&(m=-m);varb=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}};returne}(),g=function(){functione(e,t,r,a){for(vari;-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){vart=news.JpegImage,r=this.dict.getArray("Decode","D");if(this.forceRGB&&(0,a.isArray)(r)){for(varn=this.dict.get("BitsPerComponent")||8,o=r.length,c=newInt32Array(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)){varf=this.params.get("ColorTransform");(0,a.isInt)(f)&&(t.colorTransform=f)}t.parse(this.bytes);var
return8===e},fillRgb:s.prototype.fillRgb,isDefaultDecode:function(e){returns.isDefaultDecode(e,this.numComps)},usesZeroToOneRange:!0};returne}(),f=function(){functione(e,t,r,a,i){varn=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}functiont(){this.name="DeviceCMYK";this.numComps=4;this.defaultColor=newFloat32Array(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(varc=1/((1<<s)-1),l=0;l<a;l++){e(t,r,c,i,n);r+=4;n+=3+o}},getOutputLength:function(e,t){returne/4*(3+t)|0},isPassthrough:s.prototype.isPassthrough,fillRgb:s.prototype.fillRgb,isDefaultDecode:function(e){returns.isDefaultDecode(e,this.numComps)},usesZeroToOneRange:!0};returnt}(),d=function(){functione(e,t,r){this.name="CalGray";this.numComps=1;this.defaultColor=newFloat32Array(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}}functiont(e,t,r,a,i,n){vars=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(varc=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){returne*(3+t)},isPassthrough:s.prototype.isPassthrough,fillRgb:s.prototype.fillRgb,isDefaultDecode:function(e){returns.isDefaultDecode(e,this.numComps)},usesZeroToOneRange:!0};returne}(),g=function(){functione(e,t,r,i){this.name="CalRGB";this.numComps=3;this.defaultColor=newFloat32Array(this.numComps);e||(0,a.error)("WhitePoint missing - required for color space CalRGB");t=t||newFloat32Array(3);r=r||newFloat32Array([1,1,1]);i=i||newFloat32Array([1,0,0,0,1,0,0,0,1]);varn=e[0],s=e[1],o=e[2];this.whitePoint=e;varc=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=newFloat32Array(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()}elseif(e<48||e>57)break;t=!0}0!==r&&(n/=r);t&&(n*=Math.pow(10,o*s));returna*n},getString:function(){vare=1,t=!1,r=this.strBuf;r.length=0;for(vara=this.nextChar();;){varn=!1;switch(0|a){case-1:(0,i.warn)("Unterminated string");t=!0;break;case40:++e;r.push("(");break;case41:if(0==--e){this.nextChar();t=!0}elser.push(")");break;case92:a=this.nextChar();switch(a){case-1:(0,i.warn)("Unterminated string");t=!0;break;case110:r.push("\n");break;case114:r.push("\r");break;case116:r.push("\t");break;case98:r.push("\b");break;case102:r.push("\f");break;case92:case40:case41:r.push(String.fromCharCode(a));break;case48:case49:case50:case51:case52:case53:case54:case55:vars=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;case13:10===this.peekChar()&&this.nextChar();break;case10:break;default:r.push(String.fromCharCode(a))}break;default:r.push(String.fromCharCode(a))}if(t)break;n||(a=this.nextChar())}returnr.join("")},getName:function(){vare,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}varo=t(e);if(-1!==o){a=e;e=this.nextChar();varc=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))}elses.push("#",String.fromCharCode(e))}elses.push(String.fromCharCode(e));s.length>127&&(0,i.warn)("name token is longer than allowed by the spec: "+s.length);returnn.Name.get(s.join(""))},getHexString:function(){vare=this.strBuf;e.length=0;for(vara,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()}elses=this.nextChar()}returne.join("")},getObj:function(){for(vare=!1,t=this.currentChar;;){if(t<0)returnn.EOF;if(e)10!==t&&13!==t||(e=!1);elseif(37===t)e=!0;elseif(1!==r[t])break;t=this.nextChar()}switch(0|t){case48:case49:case50:case51:case52:case53:case54:case55:case56:case57:case43:case45:case46:returnthis.getNumber();case40:returnthis.getString();case47:returnthis.getName();case91:this.nextChar();returnn.Cmd.get("[");case93:this.nextChar();returnn.Cmd.get("]");case60:t=this.nextChar();if(60===t){this.nextChar();returnn.Cmd.get("<<")}returnthis.getHexString();case62:t=this.nextChar();if(62===t){this.nextChar();returnn.Cmd.get(">>")}returnn.Cmd.get(">");case123:this.nextChar();returnn.Cmd.get("{");case125:this.nextChar();returnn.Cmd.get("}");case41:this.nextChar();(0,i.error)("Illegal character: "+t)}for(vara=String.fromCharCode(t),s=this.knownCommands,o=s&&void0!==s[a];(t=this.nextChar())>=0&&!r[t];){varc=a+String.fromCharCode(t);if(o&&void0===s[c])break;128===a.length&&(0,i.error)("Command token too long: "+a.length);a=c;o=s&&void0!==s[a]}return"true"===a||"false"!==a&&("null"===a?null:n.Cmd.get(a))},skipToNextLine:function(){for(vare=this.currentChar;e>=0;){if(13===e){e=this.nextChar();10===e&&this.nextChar();break}if(10===e){this.nextChar();break}e=this.nextChar()}}};returne}(),c={create:function(e){functiont(e,t){varr=f.get(e);if((0,i.isInt)(r)&&(t?r>=0:r>0))returnr;thrownewError('The "'+e+'" parameter in the linearization dictionary is invalid.')}varr,a,c=news(newo(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"
varn=e[r++],s=n>>4,o=15&n;if(15===s)break;t+=a[s];if(15===o)break;t+=a[o]}returnparseFloat(t)}varr=0,i=[],n=[];r=0;for(vars=e.length;r<s;){varo=e[r];if(o<=21){12===o&&(o=o<<8|e[++r]);n.push([o,i]);i=[];++r}elsei.push(function(){vari=e[r++];if(30===i)returnt();if(28===i){i=e[r++];i=(i<<24|e[r++]<<16)>>16;returni}if(29===i){i=e[r++];i=i<<8|e[r++];i=i<<8|e[r++];i=i<<8|e[r++];returni}if(i>=32&&i<=246)returni-139;if(i>=247&&i<=250)return256*(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.');returnNaN}())}returnn},parseIndex:function(e){vart,r,a=newu,i=this.bytes,n=i[e++]<<8|i[e++],s=[],o=e;if(0!==n){varc=i[e++],l=e+(n+1)*c-1;for(t=0,r=n+1;t<r;++t){for(varh=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){vard=s[t],g=s[t+1];a.add(i.subarray(d,g))}return{obj:a,endPos:o}},parseNameIndex:function(e){for(vart=[],r=0,i=e.count;r<i;++r){for(varn=e.get(r),s=Math.min(n.length,127),o=[],c=0;c<s;++c){varl=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))}returnt},parseStringIndex:function(e){for(vart=newh,r=0,i=e.count;r<i;++r){varn=e.get(r);t.add((0,a.bytesToString)(n))}returnt},createDict:function(e,t,r){for(vara=newe(r),i=0,n=t.length;i<n;++i){vars=t[i],o=s[0],c=s[1];a.setByKey(o,c)}returna},parseCharString:function(e,i,n,s){if(!i||e.callDepth>10)return!1;for(varo=e.stackSize,c=e.stack,l=i.length,h=0;h<l;){varu=i[h++],f=null;if(12===u){vard=i[h++];if(0===d){i[h-2]=139;i[h-1]=22;o=0}elsef=r[d]}elseif(28===u){c[o]=(i[h]<<24|i[h+1]<<16)>>16;h+=2;o++}elseif(14===u){if(o>=4){o-=4;if(this.seacAnalysisEnabled){e.seac=c.slice(o,o+4);return!1}}f=t[u]}elseif(u>=32&&u<=246){c[o]=u-139;o++}elseif(u>=247&&u<=254){c[o]=u<251?(u-247<<8)+i[h]+108:-(u-251<<8)-i[h]-108;h++;o++}elseif(255===u){c[o]=(i[h]<<24|i[h+1]<<16|i[h+2]<<8|i[h+3])/65536;h+=4;o++}elseif(19===u||20===u){e.hints+=o>>1;h+=e.hints+7>>3;o%=2;f=t[u]}else{if(10===u||29===u){varg;g=10===u?n:s;if(!g){f=t[u];(0,a.warn)("Missing subrsIndex for "+f.id);return!1}varp=32768;g.count<1240?p=107:g.count<33900&&(p=1131);varm=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++;varb=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"inf&&!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"inf){"stackFn"inf&&f.stackFn(c,o);o+=f.stackDelta}elseif(f.stackClearing)o=0;elseif(f.resetStack){o=0;e.undefStack=!1}elseif(f.undefStack){o=0;e.undefStack=!0;e.firstStackClearing=!1}}}e.stackSize=o;return!0},parseCharStrings:function(e,t,r,i,n){for(vars=[],o=[],c=e.count,l=0;l<c;l++){varh=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){varg=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)}elset&&(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,newUint8Array([14]))}return{charStrings:e,seacs:s,widths:o}},emptyPrivateDictionary:function(e){vart=this.createDict(g,[],e.strings);e.setByKey(18,[0,0]);e.privateDict=t},parsePrivateDict:function(e){if(e.hasName("Private")){vart=e.getByName("Private");if((0,a.isArray)(t)&&2===t.length){varr=t[0],i=t[1];if(0===r||i>=this.bytes.length)this.emptyPrivateDictionary(e);else{varn=i+r,s=this.bytes.subarray(i,n),o=this.parseDict(s),c=this.createDict(
;this.handler.send("obj",[O,this.pageIndex,"JpegStream",r.getIR(this.options.forceDataSchema)]);o&&(c[o]={fn:a.OPS.paintJpegXObject,args:p})}else{varP=null;I===a.NativeImageDecoding.DECODE&&(rinstanceofn.JpegStream||Ainstanceofn.JpegStream||xinstanceofn.JpegStream)&&(P=newe(this.xref,t,this.handler,this.options.forceDataSchema));y.PDFImage.buildImage(this.handler,this.xref,t,r,i,P).then(function(e){vart=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=newy.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){varn=e.get("G"),s={subtype:e.get("S").name,backdrop:e.get("BC")},o=e.get("TR");if((0,f.isPDFFunction)(o)){for(varc=f.PDFFunction.parse(this.xref,o),l=newUint8Array(256),h=newFloat32Array(1),u=0;u<256;u++){h[0]=u/255;c(h,0,h,0);l[u]=255*h[0]|0}s.transferMap=l}returnthis.buildFormXObject(t,n,s,r,a,i.state.clone())},handleTilingType:function(e,t,r,a,i,n,o){varc=newS,l=[i.get("Resources"),r],h=s.Dict.merge(this.xref,l);returnthis.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){varc,l=this;if(t){t=t.slice();c=t[0].name}returnthis.loadFont(c,r,e).then(function(t){returnt.font.isType3Font?t.loadType3Data(l,e,i,n).then(function(){returnt}).catch(function(e){l.handler.send("UnsupportedFeature",{featureId:a.UNSUPPORTED_FEATURES.font});returnneww("g_font_error",newo.ErrorFont("Type3 font load error: "+e),t.font)}):t}).then(function(e){s.font=e.font;e.send(l.handler);returne.loadedName})},handleText:function(e,t){varr=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(varo=function(e){if(!i.renderer.hasBuiltPath(e)){vart=i.renderer.getPathJs(e);r.handler.send("commonobj",[i.loadedName+"_path_"+e,"FontPath",t])}},c=0,l=n.length;c<l;c++){varh=n[c];o(h.fontChar);varu=h.accent;u&&u.fontChar&&o(u.fontChar)}returnn},setGState:function(e,t,r,i,n){for(varo=this,c=[],l=t.getKeys(),h=Promise.resolve(),u=0,f=l.length;u<f;u++)!function(){varf=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(){returno.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(){returno.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)}}();returnh.then(function(){c.length>0&&r.addOp(a.OPS.setGState,[c])})},loadFont:function(e,t,r){functioni(){returnPromise.resolve(neww("g_font_error",newo.ErrorFont("Font "+e+" is not available"),t))}varn,c=this,l=this.xref;if(t){(0,a.assert)((0,s.isRef)(t));n=t}else{varh=r.get("Font");if(!h){(0,a.warn)("fontRes not available");returni()}n=h.getRaw(e)}if(!n){(0,a.warn)("fontRef not available");returni()}if(this.fontCache.has(n))returnthis.fontCache.get(n);t=l.fetchIfRef(n);if(!(0,s.isDict)(t))returni();if(t.translated)returnt.translated;varu,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));varm=g.fontAliases,b=d.hash;if(m[b]){var
for(C=g+w;C<e;C++,S+=r)if(!n[S]&&0==(1&h[S])){varA=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(){vare=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")}};returne}(),I=function(){functione(){}e.prototype.calculate=function(e,t,r){for(vara=e[0],i=1,n=e.length;i<n;i++)a=this.iterate(a,e[i],t,r);returna};e.prototype.extend=function(e,t,r){vara=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){vari,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;varm=newFloat32Array(d+8);if(1===d){if(0!=(1&r))for(l=0,s=0;l<g;l++,s+=d)p[s]*=.5}elsefor(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)}varb=16,v=[];for(i=0;i<b;i++)v.push(newFloat32Array(g+8));vary,k=0;e=4+g;if(1===g){if(0!=(1&a))for(c=0;c<d;c++)p[c]*=.5}elsefor(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--;varw=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}};returne}(),O=function(){functione(){I.call(this)}e.prototype=Object.create(I.prototype);e.prototype.filter=function(e,t,r){vara=r>>1;t|=0;vari,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}}};returne}(),P=function(){functione(){I.call(this)}e.prototype=Object.create(I.prototype);e.prototype.filter=function(e,t,r){vara=r>>1;t|=0;vari,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};returne}();returne}();t.JpxImage=n},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.FileSpec=t.XRef=t.ObjectLoader=t.Catalog=void0;vara="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},i=function(){functione(e,t){varr=[],a=!0,i=!1,n=void0;try{for(vars,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)thrown}}returnr}returnfunction(t,r){if(Array.isArray(t))returnt;if(Symbol.iteratorinObject(t))returne(t,r);thrownewTypeError("Invalid attempt to destructure non-iterable instance")}}(),n=r(0),s=r(1),o=r(5),c=r(12),l=r(13),h=r(3),u=function(){functione(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=news.RefSetCache;this.builtInCMapCache=Object.create(null);this.pageKidsCountCache=news.RefSetCache;this.pageFactory=r;this.pagePromises=[]}e.prototype={getmetadata(){vare=this.catDict.getRaw("Metadata");if(!(0,s.isRef)(e))return(0,n.shadow)(this,"metadata",null);vart,r=!!this.xref.encrypt&&this.xref.encrypt.encryptMetadata,a=this.xref.fetch(e,!r);if(a&&(0,s.isDict)(a.dict)){vari=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(einstanceofn.MissingDataException)th
if(null!==this._queuedChunk){vare=this._queuedChunk;this._queuedChunk=null;returnPromise.resolve({value:e,done:!1})}if(this._done)returnPromise.resolve({value:void0,done:!0});vart=(0,c.createPromiseCapability)();this._requests.push(t);returnt.promise},cancel:function(e){this._done=!0;this._requests.forEach(function(e){e.resolve({value:void0,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";functiona(){}Object.defineProperty(t,"__esModule",{value:!0});t.AnnotationFactory=t.AnnotationBorderStyle=t.Annotation=void0;vari=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){varn=e.fetchIfRef(t);if((0,s.isDict)(n)){varo=(0,s.isRef)(t)?t.toString():"annot_"+a.createObjId(),c=n.get("Subtype");c=(0,s.isName)(c)?c.name:null;varl={xref:e,dict:n,ref:(0,s.isRef)(t)?t:null,subtype:c,id:o,pdfManager:r};switch(c){case"Link":returnnewb(l);case"Text":returnnewm(l);case"Widget":varu=i.Util.getInheritableProperty(n,"FT");u=(0,s.isName)(u)?u.name:null;switch(u){case"Tx":returnnewd(l);case"Btn":returnnewg(l);case"Ch":returnnewp(l)}(0,i.warn)('Unimplemented widget field type "'+u+'", falling back to base field type.');returnnewf(l);case"Popup":returnnewv(l);case"Line":returnnewy(l);case"Highlight":returnnewk(l);case"Underline":returnneww(l);case"Squiggly":returnnewS(l);case"StrikeOut":returnnewC(l);case"FileAttachment":returnnewx(l);default:c?(0,i.warn)('Unimplemented annotation type "'+c+'", falling back to base annotation.'):(0,i.warn)("Annotation is missing the required /Subtype.");returnnewh(l)}}}};varh=function(){functione(e,t,r){vara=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]];varl=(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]}functiont(e){vart=e.dict;this.setFlags(t.get("F"));this.setRectangle(t.getArray("Rect"));this.setColor(t.getArray("C"));this.setBorderStyle(t);this.setAppearance(t);this.data={};this.data.id=e.id;this.data.subtype=e.subtype;this.data.annotationFlags=this.flags;this.data.rect=this.rectangle;this.data.color=this.color;this.data.borderStyle=this.borderStyle;this.data.hasAppearance=!!this.appearance}t.prototype={_hasFlag:function(e,t){return!!(e&t)},_isViewable:function(e){return!this._hasFlag(e,i.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,i.AnnotationFlag.HIDDEN)&&!this._hasFlag(e,i.AnnotationFlag.NOVIEW)},_isPrintable:function(e){returnthis._hasFlag(e,i.AnnotationFlag.PRINT)&&!this._hasFlag(e,i.AnnotationFlag.INVISIBLE)&&!this._hasFlag(e,i.AnnotationFlag.HIDDEN)},getviewable(){return0===this.flags||this._isViewable(this.flags)},getprintable(){return0!==this.flags&&this._isPrintable(this.flags)},setFlags:function(e){this.flags=(0,i.isInt)(e)&&e>0?e:0},hasFlag:function(e){returnthis._hasFlag(this.flags,e)},setRectangle:function(e){(0,i.isArray)(e)&&4===e.length?this.rectangle=i.Util.normalizeRect(e):this.rectangle=[0,0,0,0]},setColor:function(e){vart=newUint8Array(3);if((0,i.isArray)(e))switch(e.length){case0:this.color=null;break;case1:o.ColorSpace.singletons.gray.getRgbItem(e,0,t,0);this.color=t;break;case3:o.ColorSpace.singletons.rgb.getRgbItem(e,0,t,0);this.color=t;break;case4:o.ColorSpace.singletons.cmyk.getRgbItem(e,0,t,0);this.color=t;break;default:this.color=t}elsethis.color=t},setBorderStyle:function(e){this.borderStyle=newu;if((0,s.isDict)(e))if(e.has("BS")){vart=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"))}}elseif(e.has("Border")){vara=e.getArray("Border");if((0,i.isArray)(a)&&a.length>=3){this.borderStyle.setHorizontalCornerRadius(a[0]);this.borderStyle.setVerticalCornerRadius(a[1]);this.borderStyle.setWidth(a[2]);4===a.length&&this.borderStyle.setDashArray(a[3])}}elsethis.borderStyle.setWidth(0)},s
;if((0,i.isCmd)(s,"endcidchar"))return;t(s);varo=e(s);s=n.getObj();r(s);varc=s;a.mapOne(o,c)}}functiong(a,n){for(;;){vars=n.getObj();if((0,i.isEOF)(s))break;if((0,i.isCmd)(s,"endcidrange"))return;t(s);varo=e(s);s=n.getObj();t(s);varc=e(s);s=n.getObj();r(s);varl=s;a.mapCidRange(o,c,l)}}functionp(t,r){for(;;){varn=r.getObj();if((0,i.isEOF)(n))break;if((0,i.isCmd)(n,"endcodespacerange"))return;if(!(0,a.isString)(n))break;vars=e(n);n=r.getObj();if(!(0,a.isString)(n))break;varo=e(n);t.addCodespaceRange(n.length,s,o)}(0,a.error)("Invalid codespace range.")}functionm(e,t){varr=t.getObj();(0,a.isInt)(r)&&(e.vertical=!!r)}functionb(e,t){varr=t.getObj();(0,i.isName)(r)&&(0,a.isString)(r.name)&&(e.name=r.name)}functionv(e,t,r,n){vars,o;e:for(;;)try{varc=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}elseif((0,i.isCmd)(c))switch(c.cmd){case"endcmap":breake;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(einstanceofa.MissingDataException)throwe;(0,a.warn)("Invalid cMap data: "+e);continue}!n&&o&&(n=o);returnn?y(e,r,n):Promise.resolve(e)}functiony(e,t,r){returnk(r,t).then(function(t){e.useCMap=t;if(0===e.numCodespaceRanges){for(varr=e.useCMap.codespaceRanges,a=0;a<r.length;a++)e.codespaceRanges[a]=r[a].slice();e.numCodespaceRanges=e.useCMap.numCodespaceRanges}e.useCMap.forEach(function(t,r){e.contains(t)||e.mapOne(t,e.useCMap.lookup(t))});returne})}functionk(e,t){if("Identity-H"===e)returnPromise.resolve(newl(!1,2));if("Identity-V"===e)returnPromise.resolve(newl(!0,2));if(-1===o.indexOf(e))returnPromise.reject(newError("Unknown CMap name: "+e));(0,a.assert)(t,"Built-in CMap parameters are not provided.");returnt(e).then(function(e){varr=e.cMapData,i=e.compressionType,o=newc(!0);if(i===a.CMapCompressionType.BINARY)return(newh).process(r,o,function(e){returny(o,t,e)});(0,a.assert)(i===a.CMapCompressionType.NONE,"TODO: Only BINARY/NONE CMap compression is currently supported.");varl=newn.Lexer(news.Stream(r));returnv(o,l,t,null)})}return{create:function(e){vart=e.encoding,r=e.fetchBuiltInCMap,a=e.useCMap;if((0,i.isName)(t))returnk(t.name,r);if((0,i.isStream)(t)){returnv(newc,newn.Lexer(t),r,a).then(function(e){returne.isIdentityCMap?k(e.name,r):e})}returnPromise.reject(newError("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=void0;vara=function(){functione(e,t){varr=[],a=!0,i=!1,n=void0;try{for(vars,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)thrown}}returnr}returnfunction(t,r){if(Array.isArray(t))returnt;if(Symbol.iteratorinObject(t))returne(t,r);thrownewTypeError("Invalid attempt to destructure non-iterable instance")}}(),i=r(0),n=r(16),s=r(1),o=r(2),c=r(14),l=r(20),h=r(13),u=r(5),f=function(){functione(e,t){return"display"===t&&e.viewable||"print"===t&&e.printable}functiont(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;varo="p"+this.pageIndex+"_",c={obj:0};this.idFactory={createObjId:function(){returno+++c.obj}}}varr=[0,0,612,792];t.prototype={getPageProp:function(e){returnthis.pageDict.get(e)},getInheritedPageProp:function(e,t){varr=this.pageDict,a=null,n=0;t=t||!1;for(;r;){varo=t?r.getArray(e):r.get(e);if(void0!==o){a||(a=[]);a.push(o)}if(++n>100){(0,i.warn)("getInheritedPageProp: maximum loop count exceeded for "+e);returna?a[0]:void0}r=r.get("Parent")}if(a)return1!==a.length&&(0,s.isDict)(a[0])?s.Dict.merge(this.xref,a):a[0]},getcontent(){returnthis.getPageProp("Contents")},getresources(){return(0,i.shadow)(this,"resources",this.g
u=c++;if(y&&61440===u){u=61472;c=u+1}}while(void0!==o[u]&&c<=v);n[u]=h;s[l]=u;o[u]=!0}return{toFontChar:s,charCodeToGlyphId:n,nextAvailableFontCharCode:c}}functionN(e,t){varr=[];for(varaine)e[a]>=t||r.push({fontCharCode:0|a,glyphId:e[a]});r.sort(function(e,t){returne.fontCharCode-t.fontCharCode});for(vari=[],n=r.length,s=0;s<n;){varo=r[s].fontCharCode,c=[r[s].glyphId];++s;for(varl=o;s<n&&l+1===r[s].fontCharCode;){c.push(r[s].glyphId);++l;++s;if(65535===l)break}i.push([o,l,c])}returni}functionq(e,t){varr,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);varh=r+1;s[r][0]<65535&&65535===s[r][1]&&(s[r][1]=65534);varu,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];varA=!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{varI=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"}varP="\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];varR=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)}returnl+"\0"+m(P.length+4)+P+B+T}functionj(e){vart=newp.Stream(e.data),r=t.getUint16();t.getBytes(60);vara=t.getUint16();if(r<4&&768&a)return!1;if(t.getUint16()>t.getUint16())return!1;t.getBytes(6);if(0===t.getUint16())return!1;e.data[8]=e.data[9]=0;return!0}function_(e,t,r){r=r||{unitsPerEm:0,yMax:0,yMin:0,ascent:0,descent:0};vara=0,i=0,n=0,s=0,o=null,l=0;if(t)for(varhint){h|=0;(o>h||!o)&&(o=h);l<h&&(l=h);varu=(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}varf=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);vary=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"}functionz(e){vart=Math.floor(e.italicAngle*Math.pow(2,16));return"\0\0\0"+(0,c.string32)(t)+"\0\0\0\0"+(0,c.string32)(e.fixedPitch)+"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0"}functionH(e,t){t||(t=[[],[]]);varr,a,i,n,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];varl=[];for(i=0,n=s.length;i<n;i++)l.push(m(s.charCodeAt(i)));c.push(l.join(""))}varh=[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++){varv=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("");returnp}e.getFontID=function(){vare=1;returnfunction(){returnString(e++)}}();e.prototype={name:null,font:null,mimetype:null,encoding:null,getrenderer(){vare=g.FontRendererFactory.create(this,w);return(0,c.shadow)(this,"renderer",e)},exportData:function(){vare={};for(vartinthis)this.hasOwnProperty(t)&&(e[t]=this[t]);returne},checkAndRepair:function(e,i,n){functionf(e,t,r,a,i,n){if(r-t<=12)return0;vars=e.subarray(t,r),o=s[0]<<8|s[1];if(32768&o){a.set(s,i);returns.length}varc,l=10,h=0;
;varr,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;varu=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;elsefor(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;returnthis.image.getBytes(e)}};returnc}();t.PDFImage=c},function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.Jbig2Image=void0;vara=r(0),i=r(10),n=function(){functione(){}functiont(e,t,r){this.data=e;this.start=t;this.end=r}functionr(e,t,r){functiona(e){for(vart=0,a=0;a<e;a++){vars=r.readBit(i,n);n=n<256?n<<1|s:511&(n<<1|s)|256;t=t<<1|s}returnt>>>0}vari=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);return0===s?o:o>0?-o:null}functionn(e,t,r){for(vara=e.getContexts("IAID"),i=1,n=0;n<r;n++){i=i<<1|t.readBit(a,i)}returnr<31?i&(1<<r)-1:2147483647&i}functions(e,t,r){vara,i,n,s,o,c,l,h=r.decoder,u=r.contextCache.getContexts("GB"),f=[];for(i=0;i<t;i++){o=f[i]=newUint8Array(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}}returnf}functiono(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)returns(t,r,l);varh=!!o,u=k[i].concat(c);u.sort(function(e,t){returne.y-t.y||e.x-t.x});varf,d,g=u.length,p=newInt8Array(g),m=newInt8Array(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)}varx=b.length,A=newInt8Array(x),I=newInt8Array(x),O=newUint16Array(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(varP,T,B,R,F,E=-y,M=-C,D=t-w,L=S[i],U=newUint8Array(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=newUint8Array(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)}}}}varG=q.readBit(j,z);U[P]=G}}returnN}functionc(e,t,r,i,n,s,o,c,l){varh=w[r].coding;0===r&&(h=h.concat([c[0]]));varu,f=h.length,d=newInt32Array(f),g=newInt32Array(f);for(u=0;u<f;u++){d[u]=h[u].x;g[u]=h[u].y}varp=w[r].reference;0===r&&(p=p.concat([c[1]]));varm=p.length,b=newInt32Array(m),v=newInt32Array(m);for(u=0;u<m;u++){b[u]=p[u].x;v[u]=p[u].y}for(vary=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")}varT=newUint8Array(e);x.push(T);for(varB=0;B<e;B++){varR,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]}varM=A.readBit(I,E);T[B]=M}}returnx}functionl(e,t,i,s,l,u,f,d,g,p,m){e&&(0,a.error)("JBIG2 error: huffman is not supported");for(varb=[],v=0,y=(0,a.log2)(i.length+s),k=m.decoder,w=m.contextCache;b.length<s;){v+=r(w,"IADH",k);for(varS=0;;){varC=r(w,"IADW",k);if(null===C)break;S+=C;varx;if(t){varA=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{varI=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)}}elsex=o(!1,S,v,f,!1,null,d,m);b.push(x)}}for(varT=[],B=[],R=!1,F=i.length+s;B.length<F;){for(varE=r(w,"IAEX",k);E--;)B.push(R);R=!R}for(varM=0,D=i.length;M<D;M++)B[M]&&T.push(i[M]);for(varL=0;L<s;M++,L++)B[M]&&T.push(b[L]);returnT}functionh(e,t,
;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});vara="function"==typeofSymbol&&"symbol"==typeofSymbol.iterator?function(e){returntypeofe}:function(e){returne&&"function"==typeofSymbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeofe},i=function(e){functiont(e){this.h1=e?4294967295&e:3285377520;this.h2=e?4294967295&e:3285377520}t.prototype={update:function(e){vart;if("string"==typeofe){varr=newUint8Array(2*e.length),i=0;for(t=0;t<e.length;t++){varn=e.charCodeAt(t);if(n<=255)r[i++]=n;else{r[i++]=n>>>8;r[i++]=255&n}}}else{if(!("object"===(void0===e?"undefined":a(e))&&"byteLength"ine))thrownewError("Wrong data format in MurmurHash3_64_update. Input must be a string or array.");r=e;i=r.byteLength}vars=i>>2,o=i-4*s,c=newUint32Array(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){case3:l^=r[4*s+2]<<16;case2:l^=r[4*s+1]<<8;case1: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;returnthis},hexdigest:function(){vare=this.h1,t=this.h2;e^=t>>>1;e=3981806797*e&4294901760|36045*e&65535;t=4283543511*t&4294901760|(2950163797*(t<<16|e>>>16)&4294901760)>>>16;e^=t>>>1;e=444984403*e&4294901760|60499*e&65535;t=3301882366*t&4294901760|(3120437893*(t<<16|e>>>16)&4294901760)>>>16;e^=t>>>1;for(varr=0,a=[e,t],i="";r<a.length;r++){for(varn=(a[r]>>>0).toString(16);n.length<8;)n="0"+n;i+=n}returni}};returnt}();t.MurmurHash3_64=i},function(e,t,r){"use strict";functiona(e,t,r){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=void0;vari=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){deletee[t];"get"inr&&e.__defineGetter__(t,r.get);"set"inr&&e.__defineSetter__(t,r.set);if("value"inr){e.__defineSetter__(t,function(e){this.__defineGetter__(t,function(){returne});returne});e[t]=r.value}}}();!function(){if("undefined"!=typeofXMLHttpRequest){vare=XMLHttpRequest.prototype,t=newXMLHttpRequest;"overrideMimeType"int||Object.defineProperty(e,"overrideMimeType",{value:function(e){}});if(!("responseType"int)){Object.defineProperty(e,"responseType",{get:function(){returnthis._responseType||"text"},set:function(e){if("text"===e||"arraybuffer"===e){this._responseType=e;"arraybuffer"===e&&"function"==typeofthis.overrideMimeType&&this.overrideMimeType("text/plain; charset=x-user-defined")}}});"undefined"==typeofVBArray?Object.defineProperty(e,"response",{get:function(){if("arraybuffer"!==this.responseType)returnthis.responseText;vare,t=this.responseText,r=t.length,a=newUint8Array(r);for(e=0;e<r;++e)a[e]=255&t.charCodeAt(e);returna.buffer}}):Object.defineProperty(e,"response",{get:function(){return"arraybuffer"===this.responseType?newUint8Array(newVBArray(this.responseBody).toArray()):this.responseText}})}}}();!function(){if(!("btoa"inr)){vare="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";r.btoa=function(t){varr,a,i="";for(r=0,a=t.length;r<a;r+=3){varn=255&t.charCodeAt(r),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)}returni}}}();!function(){if(!("atob"inr)){r.atob=function(e){e=e.replace(/=+$/,"");if(e.length%4==1)thrownewError("bad atob input");for(vart,r,a=0,i=0,n="";r=e.charAt(i++);~r&&(t=a%4?64*t+r:r,a++%4)?n+=String.fromCharCode(255&t>>(-2*a&6)):0)r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=".indexOf(r);returnn}}}();!function(){void0===Function.prototype.bind&&(Function.prototype.bind=function(e){vart=this,r=Array.prototype.slice.call(arguments,1);returnfunction(){vara=r.concat(Array.prototype.slice.call(arguments));returnt.apply(e,a)}})}();!function(){if(g){"dataset"indocument.createElement("div")||Object.defineProperty(HTMLElement.prototype,"dataset",{get:function(){if(this._dataset)returnthis._dataset;for(vare={},t=0,r=this.attributes.length;t<r;t++){vara=this.attributes[t];if("data-"===a.name.substring(0,5)){e[a.name.substring(5).replace(/\-([a-z])/g,function(e,t){returnt.toUpperCase()})]=a.value}}Object.defineProperty(this,"_dataset",{value:e,writable:!1,enumerable:!1});returne},enumerable:!0})}}();!function(){functione(e,t,r,a){vari=e.className||"",n=i.split(/\s+/g);""===n[0]&&n.shift();vars=n.indexOf(t);s<0&&r&&n.push(t);s>=0&&a&&n.splice(s,1);e.className=n.join(" ");returns>=0}if(g){if(!("classList"indocument.createElement("div"))){vart={add:function(t){e(this.element,t,!0,!1)},contains:function(t){returne(this.element,t,!1,!1)},remove:function(t){e(this.element,t,!1,!0)},toggle:function(t){e(this.element,t,!0,!0)}};Object.defineProperty(HTMLElement.prototype,"classList",{get:function(){if(this._classList)returnthis._classList;vare=Object.create(t,{element:{value:this,writable:!1,enumerable:!0}});Object.defineProperty(this,"_classList",{value:e,writable:!1,enumerable:!1});returne},enumerable:!0})}}}();!function(){if(!("undefined"==typeofimportScripts||"console"inr)){vare={},t={log:function(){vare=Array.prototype.slice.call(arguments);r.postMessage({targetName:"main",action:"console_log",data:e})},error:function(){vare=Array.prototype.slice.call(arguments);r.postMessage({targetName:"main",action:"console_error",data:e})},time:function(t){e[t]=Date.now()},timeEnd:function(t){varr=e[t];if(!r)thrownewError("Unknown timer name "+t);this.log("Timer:",t,Date.now()-r)}};r.console=t}}();!function(){if(g)if("console"inwindow)if("bind"inconsole.log);else{console.log=function(e){returnfunction(t){returne(t)}}(console.log);console.error=function(e){returnfunction(t){returne(t)}}(console.error);console.warn=function(e){return